:root {
  --bg: #fffaf7;
  --bg-soft: #f8eee8;
  --surface: rgba(255, 255, 255, 0.84);
  --surface-strong: #fffdfb;
  --surface-accent: #f3e6df;
  --text: #2c2420;
  --muted: #6d5e57;
  --line: rgba(126, 98, 79, 0.16);
  --gold: #b28d57;
  --gold-soft: rgba(178, 141, 87, 0.16);
  --rose: #e7c8c9;
  --rose-strong: #d9aeb2;
  --shadow: 0 24px 60px rgba(95, 72, 59, 0.14);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --max-width: 1180px;
  --ink: #171717;
  --ink-soft: #1a1a1a;
  --ink-line: rgba(23, 23, 23, 0.22);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  overflow-x: clip;
  background:
    radial-gradient(circle at top left, rgba(231, 200, 201, 0.35), transparent 26%),
    radial-gradient(circle at top right, rgba(178, 141, 87, 0.1), transparent 22%),
    linear-gradient(180deg, #fffdfb 0%, var(--bg) 28%, #fff7f2 100%);
}

body.panel-open {
  overflow: hidden;
}

a,
button,
input,
select,
textarea {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  border: 0;
  background: none;
  cursor: pointer;
}

img {
  max-width: 100%;
  display: block;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.page-shell {
  min-height: 100vh;
}

.section {
  width: min(var(--max-width), calc(100% - 2rem));
  margin: 0 auto;
  padding: 5rem 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(var(--max-width), calc(100% - 2rem));
  margin: 1rem auto 0;
  padding: 0.95rem 1.1rem;
  background: rgba(255, 250, 247, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 38px rgba(123, 101, 90, 0.1);
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  overflow: hidden;
  border-radius: 50%;
  background: linear-gradient(135deg, #fff, #f2ddd7);
  border: 1px solid rgba(178, 141, 87, 0.18);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.eyebrow {
  margin: 0 0 0.35rem;
  color: var(--gold);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.76rem;
  font-weight: 700;
}

.brand-name {
  display: inline-block;
  font-family: "DM Serif Display", serif;
  font-size: 1.5rem;
  font-weight: 700;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.96rem;
}

.menu-close {
  display: none;
}

.site-nav a,
.nav-inline-button {
  position: relative;
  color: inherit;
  transition: color 160ms ease;
}

.site-nav a::after,
.nav-inline-button::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.4rem;
  width: 100%;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.nav-inline-button:hover,
.nav-inline-button:focus-visible,
.site-nav a[aria-current="page"],
.nav-inline-button[aria-current="page"] {
  color: var(--ink);
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.nav-inline-button:hover::after,
.nav-inline-button:focus-visible::after,
.site-nav a[aria-current="page"]::after,
.nav-inline-button[aria-current="page"]::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.28rem;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.78);
}

.menu-toggle span:not(.sr-only) {
  display: block;
  width: 1.1rem;
  height: 2px;
  border-radius: 999px;
  background: var(--text);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: 2rem;
  align-items: center;
  padding-top: 4rem;
  grid-template-areas:
    "intro portrait"
    "support portrait";
}

.hero-intro {
  grid-area: intro;
}

.hero-support {
  grid-area: support;
}

.hero-portrait {
  position: relative;
  grid-area: portrait;
  align-self: start;
  justify-self: end;
  width: min(100%, 20rem);
  min-height: 0;
  overflow: visible;
  border-radius: 0;
  background: transparent;
  transform: rotate(-1.5deg);
  z-index: 1;
}

.hero-portrait img {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center top;
  display: block;
  filter: drop-shadow(0 16px 24px rgba(40, 25, 20, 0.16));
}

.hero-portrait::after {
  display: none;
}

.hero h1,
.section-heading h2,
.uv-copy h2,
.teaser-card h2,
.detail-panel h2 {
  margin: 0;
  font-family: "DM Serif Display", serif;
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.hero h1 {
  font-size: clamp(3rem, 5vw, 5.5rem);
  max-width: 11ch;
}

.lead,
.section-heading p,
.text-card p,
.teaser-card p,
.uv-copy p,
.panel-lead {
  color: var(--muted);
  line-height: 1.75;
}

.hero-support .lead {
  max-width: 58ch;
  font-size: 1.05rem;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0.8rem 1.35rem;
  border-radius: 999px;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease,
    color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  color: #fffdfb;
  background: var(--ink);
  border: 1px solid var(--ink);
  box-shadow: none;
}

.button-secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--ink-line);
}

.button-primary:hover,
.button-primary:focus-visible {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.9);
  border-color: var(--ink);
  box-shadow: none;
}

.button-secondary:hover,
.button-secondary:focus-visible {
  color: #fffdfb;
  background: var(--ink);
  border-color: var(--ink);
}

.hero-note,
.text-card,
.teaser-card,
.uv-card,
.service-card,
.booking-form,
.contact-card,
.education-card,
.rule-block,
.detail-panel,
.site-footer {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.hero-note {
  display: grid;
  grid-template-columns: auto auto;
  align-items: start;
  gap: 1rem;
  max-width: 36rem;
  margin-top: 1.5rem;
  padding: 1rem 1.1rem;
  border-radius: var(--radius-md);
}

.hero-note-toggle {
  min-height: 2.8rem;
  padding-inline: 1rem;
}

.hero-note-content {
  grid-column: 1 / -1;
  display: grid;
  gap: 0.8rem;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-0.3rem);
  transition:
    max-height 320ms ease,
    opacity 220ms ease,
    transform 220ms ease;
}

.hero-note.is-open .hero-note-content {
  max-height: 40rem;
  opacity: 1;
  transform: translateY(0);
}

.note-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  background: var(--gold-soft);
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-note-label {
  display: grid;
  gap: 0.4rem;
  align-content: start;
}

.hero-note-label p {
  margin: 0;
  color: var(--gold);
  font-size: 1.12rem;
  font-weight: 700;
  line-height: 1.35;
}

.hero-note p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.photo-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.95), rgba(244, 231, 224, 0.94)),
    linear-gradient(135deg, rgba(217, 174, 178, 0.2), rgba(178, 141, 87, 0.12));
  border: 1px solid rgba(178, 141, 87, 0.16);
}

.photo-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.45), transparent 55%),
    repeating-linear-gradient(
      135deg,
      transparent 0,
      transparent 12px,
      rgba(178, 141, 87, 0.04) 12px,
      rgba(178, 141, 87, 0.04) 24px
    );
}

.placeholder-content {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  min-height: 100%;
  padding: 1.2rem;
  text-align: center;
}

.placeholder-content span {
  display: block;
  color: var(--gold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.76rem;
  font-weight: 700;
}

.placeholder-content strong {
  display: block;
  max-width: 16ch;
  margin-top: 0.45rem;
  font-family: "DM Serif Display", serif;
  font-size: 1.7rem;
  font-weight: 600;
  line-height: 1.12;
}

.large-frame {
  min-height: 38rem;
}

.section-heading {
  max-width: 45rem;
  margin-bottom: 2.2rem;
}

#about .section-heading::after,
#services .section-heading::after,
#booking .section-heading::after {
  content: "";
  display: block;
  height: 2px;
  margin-top: 0.65rem;
  background: var(--ink);
  border-radius: 999px;
}

#about .section-heading::after {
  width: clamp(3.2rem, 16vw, 4.4rem);
}

#services .section-heading::after {
  width: clamp(4rem, 18vw, 5.2rem);
}

#booking .section-heading::after {
  width: clamp(3.6rem, 14vw, 4.7rem);
}

.section-heading h2,
.uv-copy h2,
.teaser-card h2,
.detail-panel h2 {
  font-size: clamp(2.2rem, 3vw, 3.5rem);
}

.about-layout,
.booking-layout,
.uv-card {
  display: grid;
  gap: 1.5rem;
}

.about-layout {
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.9fr);
  align-items: stretch;
}

.text-card {
  padding: 2rem;
  border-radius: var(--radius-xl);
}

.text-card p {
  margin: 0 0 1rem;
}

.text-card p:last-child {
  margin-bottom: 0;
}

.portrait-frame {
  min-height: 27rem;
}

.portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.35rem;
}

.service-card {
  display: grid;
  gap: 1rem;
  padding: 1rem;
  border-radius: var(--radius-xl);
  border-top: 2px solid var(--ink);
}

.service-frame {
  min-height: 18rem;
}

.service-copy {
  padding: 0.6rem 0.25rem 0.3rem;
}

.service-copy h3,
.education-card h3,
.contact-card h3,
.gallery-category-card h3,
.gallery-detail-header h3,
.rule-block h3 {
  margin: 0 0 0.85rem;
  font-family: "DM Serif Display", serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--ink);
}

.price-line,
.service-note,
.contact-card p,
.gallery-detail-header p,
.rule-block p {
  margin: 0 0 0.6rem;
  color: var(--muted);
  line-height: 1.65;
}

.service-book {
  margin-top: 1rem;
  color: #fffdfb;
  background: var(--ink);
  box-shadow: none;
  border: 1px solid var(--ink);
}

.uv-card {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.88fr);
  align-items: center;
  padding: 1.2rem;
  border-radius: calc(var(--radius-xl) + 6px);
}

.uv-copy {
  padding: 1rem;
}

.uv-frame {
  min-height: 24rem;
}

.teaser-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 2rem;
  border-radius: calc(var(--radius-xl) + 4px);
}

.inline-education-section {
  padding-top: 0;
}

.education-inline-card {
  display: grid;
  gap: 1rem;
  align-items: start;
  justify-items: stretch;
  padding: 2rem;
}

.education-toggle {
  justify-self: start;
}

.education-inline-badge-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.education-inline-content {
  display: grid;
  gap: 1rem;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-0.35rem);
  transition:
    max-height 320ms ease,
    opacity 220ms ease,
    transform 220ms ease;
}

.education-inline-card.is-open .education-inline-content {
  max-height: 160rem;
  opacity: 1;
  transform: translateY(0);
}

.education-inline-header {
  max-width: 40rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(23, 23, 23, 0.12);
}

.education-inline-body {
  max-width: 100%;
}

.education-inline-body p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.education-story {
  margin: 0 0 1.35rem;
}

.education-inline-body .button {
  margin-top: 0.25rem;
}

.rules-teaser {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(247, 238, 233, 0.9)),
    var(--surface);
}

.booking-layout {
  grid-template-columns: minmax(0, 1.12fr) minmax(280px, 0.88fr);
  align-items: start;
}

.booking-form,
.contact-card {
  padding: 2rem;
  border-radius: var(--radius-xl);
}

.booking-form {
  display: grid;
  gap: 1rem;
}

.booking-form label {
  display: grid;
  gap: 0.55rem;
  color: var(--text);
  font-weight: 600;
}

.form-hint {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.5;
}

.booking-form input,
.booking-form select,
.booking-form textarea {
  width: 100%;
  padding: 0.95rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.82);
  color: var(--text);
}

.booking-form textarea {
  resize: vertical;
}

.booking-form input:focus,
.booking-form select:focus,
.booking-form textarea:focus {
  outline: 2px solid rgba(23, 23, 23, 0.08);
  border-color: var(--ink);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.contact-card {
  position: sticky;
  top: 6.5rem;
}

.contact-line {
  display: block;
  margin-bottom: 0.9rem;
  color: var(--text);
  font-weight: 600;
}

.hours-card {
  margin: 1.6rem 0;
  padding: 1.2rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(178, 141, 87, 0.12);
}

.hours-card h4 {
  margin: 0 0 0.75rem;
  font-family: "DM Serif Display", serif;
  font-size: 1.7rem;
}

.hours-note {
  margin-top: 0.8rem;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem 1.5rem;
  width: min(var(--max-width), calc(100% - 2rem));
  margin: 0 auto 2rem;
  padding: 1.25rem 1.5rem;
  border-radius: 999px;
  color: var(--muted);
  border-top: 1px solid var(--ink-line);
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--ink);
}

.site-footer a[href*="instagram"]::before,
.site-footer a[href^="tel:"]::before {
  display: inline-block;
  margin-right: 0.4rem;
  color: var(--ink-soft);
  font-size: 0.95em;
}

.site-footer a[href*="instagram"]::before {
  content: "◎";
}

.site-footer a[href^="tel:"]::before {
  content: "☎";
}

.back-to-top {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 32;
  display: inline-grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  color: #fff;
  background: rgba(59, 43, 38, 0.9);
  box-shadow: 0 16px 32px rgba(59, 43, 38, 0.18);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.panel-shell {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 1rem;
  visibility: hidden;
  opacity: 0;
  transition: opacity 180ms ease, visibility 180ms ease;
}

.panel-shell.is-open {
  visibility: visible;
  opacity: 1;
}

.panel-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(35, 24, 18, 0.48);
  backdrop-filter: blur(6px);
}

.detail-panel,
.lightbox-panel {
  position: relative;
  z-index: 1;
  width: min(1040px, 100%);
  max-height: min(90vh, 960px);
  overflow: auto;
  padding: 1.5rem;
  border-radius: 32px;
}

.panel-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(178, 141, 87, 0.16);
}

.panel-close {
  min-height: 2.8rem;
  padding: 0.6rem 1rem;
  border-radius: 999px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(178, 141, 87, 0.15);
}

.panel-body {
  padding-top: 1.3rem;
}

.gallery-intro > p {
  margin: 0 0 1.4rem;
  color: var(--muted);
  line-height: 1.7;
}

.gallery-category-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.gallery-category-card,
.gallery-photo-card,
.education-card {
  position: relative;
  padding: 1.1rem;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(178, 141, 87, 0.14);
}

.gallery-category-card {
  display: grid;
  gap: 1rem;
  text-align: left;
}

.gallery-category-card p,
.education-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.fan-stack {
  position: relative;
  min-height: 14rem;
}

.fan-card {
  position: absolute;
  top: 0;
  left: 50%;
  width: min(12rem, 58%);
  aspect-ratio: 4 / 5;
  padding: 1rem;
  border-radius: 1.4rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 236, 231, 0.94)),
    #fff;
  border: 1px solid rgba(178, 141, 87, 0.15);
  box-shadow: 0 18px 34px rgba(120, 92, 77, 0.12);
  transform-origin: bottom center;
  transition: transform 220ms ease;
}

.fan-card.has-image {
  padding: 0;
  overflow: hidden;
}

.fan-card.has-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fan-card span {
  display: block;
  color: var(--gold);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.fan-card strong {
  display: block;
  margin-top: 0.6rem;
  font-family: "DM Serif Display", serif;
  font-size: 1.5rem;
  line-height: 1.08;
}

.fan-stack .fan-card:nth-child(1) {
  transform: translateX(-62%) rotate(-11deg);
}

.fan-stack .fan-card:nth-child(2) {
  transform: translateX(-50%) rotate(0deg);
}

.fan-stack .fan-card:nth-child(3) {
  transform: translateX(-38%) rotate(11deg);
}

.gallery-category-card:hover .fan-stack .fan-card:nth-child(1),
.gallery-category-card:focus-visible .fan-stack .fan-card:nth-child(1) {
  transform: translateX(-70%) rotate(-14deg) translateY(-4px);
}

.gallery-category-card:hover .fan-stack .fan-card:nth-child(2),
.gallery-category-card:focus-visible .fan-stack .fan-card:nth-child(2) {
  transform: translateX(-50%) rotate(0deg) translateY(-6px);
}

.gallery-category-card:hover .fan-stack .fan-card:nth-child(3),
.gallery-category-card:focus-visible .fan-stack .fan-card:nth-child(3) {
  transform: translateX(-30%) rotate(14deg) translateY(-4px);
}

.gallery-detail.hidden,
.hidden {
  display: none;
}

.gallery-detail-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.4rem;
}

.gallery-grid,
.education-grid,
.rules-layout {
  display: grid;
  gap: 1rem;
}

.gallery-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gallery-photo-card {
  padding: 0.85rem;
}

.gallery-photo-card .photo-frame {
  min-height: 16rem;
  border-radius: 1.3rem;
}

.gallery-empty-card .photo-frame {
  min-height: 18rem;
}

.gallery-photo-card .placeholder-content strong {
  font-size: 1.5rem;
}

.gallery-photo-card p {
  margin: 0.85rem 0 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.photo-frame.has-image::before,
.lightbox-frame::before {
  display: none;
}

.gallery-photo-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.education-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 1.5rem 0;
}

.education-note {
  margin: 0 0 1.5rem;
  color: var(--muted);
  line-height: 1.7;
}

.rules-layout {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.rule-block {
  padding: 1.35rem;
  border-radius: var(--radius-lg);
}

.rules-thanks {
  grid-column: 1 / -1;
  margin: 0.4rem 0 0;
  text-align: center;
  font-family: "DM Serif Display", serif;
  font-size: 2rem;
}

.lightbox-panel {
  width: min(980px, 100%);
  padding: 1.25rem;
}

.lightbox-content {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  margin-top: 1rem;
}

.lightbox-nav {
  display: inline-grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  color: var(--text);
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(178, 141, 87, 0.16);
}

.lightbox-frame {
  min-height: min(70vh, 40rem);
}

.lightbox-meta {
  margin-top: 0.9rem;
  text-align: center;
}

.lightbox-meta p {
  margin: 0.2rem 0;
  color: var(--muted);
}

#lightbox-category {
  font-family: "DM Serif Display", serif;
  font-size: 1.8rem;
  color: var(--text);
}

@media (max-width: 980px) {
  .about-layout,
  .booking-layout,
  .uv-card,
  .service-grid,
  .gallery-category-grid,
  .education-grid,
  .rules-layout,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(8.75rem, 38vw);
    grid-template-areas:
      "intro portrait"
      "support support";
    align-items: start;
  }

  .hero-portrait {
    width: min(100%, 13.75rem);
    max-width: 13.75rem;
  }

  .hero-portrait::after {
    display: none;
  }

  .teaser-card {
    align-items: start;
    flex-direction: column;
  }

  .contact-card {
    position: static;
  }
}

@media (max-width: 840px) {
  .site-header {
    border-radius: 1.5rem;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: fixed;
    top: 1rem;
    right: 1rem;
    left: auto;
    display: grid;
    gap: 0.5rem;
    width: min(22rem, calc(100vw - 2rem));
    padding: 5rem 1.2rem 1.2rem;
    background: rgba(255, 250, 247, 0.97);
    border: 1px solid rgba(178, 141, 87, 0.14);
    border-radius: 2rem;
    box-shadow: 0 24px 55px rgba(91, 69, 58, 0.18);
    transform: translateX(108%);
    transition: transform 220ms ease;
  }

  .menu-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    justify-self: end;
    min-height: 2.8rem;
    padding: 0.6rem 1rem;
    border-radius: 999px;
    color: var(--text);
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(178, 141, 87, 0.15);
  }

  .site-nav.is-open {
    transform: translateX(0);
  }

  .site-nav a,
  .nav-inline-button {
    padding: 0.9rem 0.5rem;
    border-bottom: 1px solid rgba(178, 141, 87, 0.08);
  }

  .site-nav a:last-child,
  .nav-inline-button:last-child {
    border-bottom: 0;
  }

  .site-nav a::after,
  .nav-inline-button::after {
    display: none;
  }

  .site-nav a[aria-current="page"],
  .nav-inline-button[aria-current="page"] {
    text-decoration: underline;
    text-decoration-color: var(--ink);
    text-decoration-thickness: 1px;
    text-underline-offset: 0.45rem;
  }

  .hero {
    padding-top: 2rem;
  }

  .section {
    width: min(var(--max-width), calc(100% - 1.25rem));
    padding: 4rem 0;
  }
}

@media (max-width: 640px) {
  .site-header {
    margin-top: 0.75rem;
    padding: 0.8rem 0.95rem;
  }

  .brand-name {
    font-size: 1.3rem;
  }

  .hero h1 {
    max-width: none;
  }

  .hero-portrait {
    width: min(100%, 12.5rem);
    max-width: 12.5rem;
    transform: rotate(-1deg);
  }

  .form-row,
  .lightbox-content {
    grid-template-columns: 1fr;
  }

  .lightbox-content {
    gap: 0.75rem;
  }

  .lightbox-nav {
    width: 100%;
    border-radius: 999px;
  }

  .detail-panel,
  .lightbox-panel {
    max-height: 94vh;
    padding: 1rem;
    border-radius: 24px;
  }

  .panel-header {
    align-items: start;
    flex-direction: column;
  }

  .service-card,
  .booking-form,
  .contact-card,
  .teaser-card,
  .text-card,
  .uv-card,
  .site-footer {
    border-radius: 22px;
  }

  .gallery-photo-card .photo-frame,
  .service-frame {
    min-height: 14rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
