:root {
  --ink: #16140f;
  --forest: #17352e;
  --forest-deep: #10241f;
  --gold: #c6a15a;
  --gold-soft: #e6d0a0;
  --cream: #f4efe6;
  --cream-2: #e8e0d2;
  --sand: #efe6d6;
  --clay: #8c3b2b;
  --text: #221e18;
  --muted: #5c564c;
  --line: rgba(22, 20, 15, 0.14);
  --line-light: rgba(244, 239, 230, 0.2);
  --whatsapp: #1f8f4e;
  --shadow: 0 18px 50px rgba(22, 20, 15, 0.12);
  --header: 76px;
  --serif: "Fraunces", "Iowan Old Style", Palatino, serif;
  --sans: "Outfit", "Avenir Next", "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-weight: 400;
  text-rendering: optimizeLegibility;
}

body.nav-open { overflow: hidden; }

img { display: block; max-width: 100%; height: auto; }

a { color: inherit; }

button, input, select, textarea { font: inherit; color: inherit; }

::selection { background: var(--gold); color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--ink);
  color: var(--cream);
  padding: 0.7rem 1rem;
  z-index: 100;
}

.skip:focus { top: 1rem; }

.wrap {
  width: min(1120px, calc(100% - 2.4rem));
  margin-inline: auto;
}

.wrap-wide {
  width: min(1240px, calc(100% - 2.4rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header);
  display: flex;
  align-items: center;
  background: rgba(244, 239, 230, 0.78);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(244, 239, 230, 0.94);
}

.header-inner {
  width: min(1240px, calc(100% - 2.4rem));
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  margin-right: auto;
}

.logo-mark {
  width: 38px;
  height: 38px;
  flex: none;
}

.logo-text { display: flex; flex-direction: column; line-height: 1.05; }
.logo-text strong {
  font-family: var(--serif);
  font-weight: 560;
  font-size: 1.25rem;
  letter-spacing: 0.04em;
}
.logo-text em {
  font-style: normal;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.site-nav { display: flex; align-items: center; gap: 1.15rem; }
.site-nav a {
  text-decoration: none;
  font-size: 0.95rem;
  color: var(--text);
  position: relative;
}
.site-nav > a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.2rem;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}
.site-nav > a:hover::after,
.site-nav > a[aria-current="page"]::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 999px;
  min-height: 44px;
  padding: 0 0.95rem;
  cursor: pointer;
}

.mobile-nav {
  display: none;
  position: fixed;
  inset: var(--header) 0 0 0;
  background: var(--cream);
  z-index: 39;
  padding: 1.5rem 1.2rem 2rem;
}

.mobile-nav.is-open { display: block; overflow: auto; }
.mobile-nav > a,
.mobile-nav summary {
  display: block;
  text-decoration: none;
  font-family: var(--serif);
  font-size: 2rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
}
.mobile-nav summary { list-style: none; }
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav .mobile-links { padding: 0.4rem 0 0.8rem; }
.mobile-nav .mobile-links a {
  display: block;
  text-decoration: none;
  font-size: 1rem;
  padding: 0.35rem 0 0.35rem 0.15rem;
  color: var(--text);
}
.mobile-nav .mega-label { margin: 0.85rem 0 0.15rem; }
.mobile-nav .btn { margin-top: 1.4rem; width: 100%; justify-content: center; font-family: var(--sans); font-size: 1rem; }

.menu { position: relative; }
.menu::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 1.5rem;
}
.menu > button {
  appearance: none;
  background: none;
  border: 0;
  padding: 0.35rem 0;
  color: var(--ink);
  font: inherit;
  font-size: 0.98rem;
  cursor: pointer;
}
.menu > button[aria-current="true"] { color: var(--forest); }
.menu-panel { display: none; }
.menu.is-open > .menu-panel { display: block; }
.menu.is-open > .menu-mega { display: flex; flex-direction: column; }
.menu-panel-simple {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 45;
  min-width: 240px;
  padding: 0.45rem 0 0.35rem;
}
.menu-panel-simple a {
  display: block;
  padding: 0.55rem 0.9rem;
  text-decoration: none;
  background: var(--cream);
  border: 1px solid var(--line);
  border-bottom: 0;
}
.menu-panel-simple a:last-child { border-bottom: 1px solid var(--line); border-radius: 0 0 12px 12px; }
.menu-panel-simple a:first-child { border-radius: 12px 12px 0 0; }
.menu-panel-simple a:hover { background: var(--sand); }
.menu-mega {
  position: fixed;
  left: 0;
  right: 0;
  top: var(--header);
  z-index: 45;
  max-height: min(78vh, 720px);
  background: var(--cream);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 1.1rem 0 0.4rem;
}
.mega-grid {
  width: min(1240px, calc(100% - 2.4rem));
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem 1.4rem;
}
.mega-label {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--clay);
  font-weight: 600;
}
.mega-grid { min-height: 0; overflow: auto; }
.mega-grid a {
  display: block;
  text-decoration: none;
  font-size: 0.9rem;
  line-height: 1.25;
  padding: 0.1rem 0;
  color: var(--text);
}
.mega-grid a:hover { color: var(--forest); }
.mega-foot {
  width: min(1240px, calc(100% - 2.4rem));
  margin: 0.9rem auto 0;
  padding-top: 0.7rem;
  border-top: 1px solid var(--line);
}
.mega-foot a { font-weight: 600; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 0.8rem 1.2rem;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: transform 0.12s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.btn:hover .arrow { transform: translateX(3px); }
.btn:active { transform: scale(0.97); }
.btn .arrow { transition: transform 0.2s var(--ease); }

.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--gold-soft); }

.btn-clay { background: var(--clay); color: var(--cream); }
.btn-clay:hover { background: #732f22; }

.btn-ghost {
  background: transparent;
  color: var(--cream);
  border-color: rgba(244, 239, 230, 0.45);
}
.btn-ghost:hover { background: rgba(244, 239, 230, 0.1); }

.btn-line {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-line:hover { border-color: var(--ink); }

.header-book { flex: none; }

.hero {
  position: relative;
  min-height: calc(100svh - var(--header));
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: end;
  color: var(--cream);
  overflow: hidden;
  background: var(--forest-deep);
}

.hero-media,
.page-hero-media img,
.hero img.cover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-media {
  transform: scale(1.04);
  animation: drift 22s ease-in-out infinite alternate;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(12, 22, 19, 0.78) 0%, rgba(12, 22, 19, 0.42) 48%, rgba(12, 22, 19, 0.2) 100%),
    linear-gradient(180deg, rgba(12, 22, 19, 0.15) 0%, rgba(12, 22, 19, 0.72) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  box-sizing: border-box;
  width: min(1120px, calc(100% - 2.5rem));
  min-width: 0;
  margin: 0 auto;
  padding: 0 0 4.5rem;
}

.eyebrow, .kicker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.7rem;
  max-width: 100%;
  margin: 0 0 1rem;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-soft);
}

.kicker { color: var(--clay); }

.meters { display: inline-flex; align-items: end; gap: 3px; height: 14px; }
.meters i {
  display: block;
  width: 3px;
  background: var(--gold);
  height: 40%;
  animation: meter 1s ease-in-out infinite alternate;
}
.meters i:nth-child(2) { animation-delay: 0.15s; height: 70%; }
.meters i:nth-child(3) { animation-delay: 0.28s; height: 100%; }
.meters i:nth-child(4) { animation-delay: 0.08s; height: 55%; }

h1, h2, h3, .display {
  font-family: var(--serif);
  font-weight: 560;
  letter-spacing: -0.03em;
  line-height: 1.02;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.8rem, 6vw, 5.2rem);
  max-width: 14ch;
  color: #f7f3ea;
}

.hero h1 em, .display em, .page-hero h1 em {
  font-style: italic;
  font-weight: 500;
  color: var(--gold-soft);
}

.lede {
  max-width: 40rem;
  font-size: 1.15rem;
  line-height: 1.6;
  color: rgba(244, 239, 230, 0.88);
}

.hero .lede,
.page-hero .lede,
.hero-note {
  display: block;
  white-space: normal;
  overflow-wrap: break-word;
}

.hero-actions, .cluster { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.6rem; }

.hero-note {
  margin-top: 1.8rem;
  color: rgba(244, 239, 230, 0.72);
  font-size: 0.92rem;
}

.marquee {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  overflow: hidden;
  max-width: 100%;
  border-bottom: 1px solid var(--line);
  background: var(--sand);
}

.marquee-track {
  display: flex;
  gap: 0;
  width: max-content;
  animation: ticker 36s linear infinite;
}

.marquee span {
  padding: 0.85rem 1.3rem;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.marquee span::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 1.3rem;
  border-radius: 50%;
  background: var(--gold);
  transform: translateY(-1px);
}

.section { padding: 5.5rem 0; }
.section-tight { padding: 3.5rem 0; }
.section-forest { background: var(--forest); color: var(--cream); }
.section-sand { background: var(--sand); }
.section-deep { background: var(--forest-deep); color: var(--cream); }

.section h2, .display {
  font-size: clamp(2.2rem, 4.4vw, 3.7rem);
  margin: 0 0 1rem;
}

.section-forest .kicker, .section-deep .kicker { color: var(--gold-soft); }

.intro-copy { font-size: 1.2rem; max-width: 40rem; }
.muted { color: var(--muted); }
.section-forest .muted, .section-deep .muted, .cta-band .muted { color: rgba(244, 239, 230, 0.75); }

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 3.5rem;
  align-items: center;
}

.split-reverse { grid-template-columns: 0.95fr 1.05fr; }

.frame {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background: var(--cream-2);
}

.frame img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center 28%;
  transition: transform 0.7s var(--ease);
}

.natural {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 18px;
}

.frame.ratio-4-5 { aspect-ratio: 4 / 5; }
.frame.ratio-3-2 { aspect-ratio: 3 / 2; }
.frame.ratio-16-9 { aspect-ratio: 16 / 9; }

a.frame:hover img, .service-card:hover img { transform: scale(1.04); }

.caption {
  margin-top: 0.6rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.service-grid, .room-grid, .guide-grid, .principle-grid {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.service-grid { grid-template-columns: repeat(3, 1fr); }
.room-grid, .principle-grid { grid-template-columns: repeat(3, 1fr); }
.guide-grid { grid-template-columns: repeat(2, 1fr); }

.service-card, .guide-card, .principle, .room-card {
  display: block;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.38);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  min-height: 100%;
  transition: transform 0.2s var(--ease), border-color 0.2s var(--ease);
}

.section-forest .service-card,
.section-forest .principle,
.section-deep .principle {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line-light);
}

.service-card:hover, .guide-card:hover, .room-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
}

.service-card .copy, .guide-card, .principle, .room-card .copy { padding: 1.15rem 1.15rem 1.25rem; }
.service-card h3, .guide-card h3, .room-card h3, .principle h3 {
  margin: 0 0 0.4rem;
  font-size: 1.55rem;
}
.service-card p, .guide-card p, .room-card p, .principle p { margin: 0; color: var(--muted); }
.section-forest .service-card p, .section-forest .principle p { color: rgba(244, 239, 230, 0.76); }

.service-card .index, .step-no {
  font-family: var(--serif);
  color: var(--gold);
  font-size: 0.95rem;
}

.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  margin-top: 2rem;
  counter-reset: step;
}

.step {
  border-top: 1px solid var(--line);
  padding-top: 1rem;
}

.section-forest .step, .section-deep .step { border-top-color: var(--line-light); }
.step h3 { margin: 0.35rem 0; font-size: 1.35rem; }
.step p { margin: 0; color: var(--muted); font-size: 0.98rem; }

.area-cloud { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.5rem; }
.area-cloud a {
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.55rem 0.9rem;
  background: white;
  transition: border-color 0.2s var(--ease), transform 0.12s var(--ease);
}
.area-cloud a:hover { border-color: var(--ink); }
.area-cloud a:active { transform: scale(0.98); }

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: end;
}
.section-head p { max-width: 36rem; margin: 0; }

.faq-list { display: grid; gap: 0.7rem; margin-top: 1.5rem; }
.faq-item {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.45);
  padding: 0.2rem 1rem;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 500;
  padding: 0.9rem 0;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-family: var(--serif); color: var(--gold); font-size: 1.4rem; }
.faq-item[open] summary::after { content: "–"; }
.faq-item p { margin: 0 0 1rem; color: var(--muted); max-width: 70ch; }

.cta-band {
  background:
    radial-gradient(800px 300px at 10% 0%, rgba(198, 161, 90, 0.18), transparent 60%),
    var(--forest-deep);
  color: var(--cream);
  padding: 5rem 0;
}
.cta-band h2 { font-size: clamp(2.4rem, 5vw, 4.4rem); max-width: 14ch; }

.site-footer {
  background: #0e1c19;
  color: rgba(244, 239, 230, 0.82);
  padding: 4rem 0 6.5rem;
  font-size: 0.96rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.1fr;
  gap: 2rem;
}
.site-footer .logo-text strong { color: white; }
.site-footer .logo-text em { color: rgba(244, 239, 230, 0.72); }
.site-footer a { color: inherit; text-decoration: none; }
.site-footer a:hover { color: var(--gold-soft); }
.site-footer h2, .site-footer h3 {
  font-family: var(--serif);
  font-size: 1.2rem;
  margin: 0 0 0.8rem;
  color: white;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 0.35rem 0; }
.site-footer .area-list { columns: 2; column-gap: 1.2rem; }
@media (min-width: 900px) {
  .site-footer .area-list { columns: 3; }
}
.site-footer .area-list li { break-inside: avoid; }
.footer-brand p { max-width: 28ch; }
.map-frame {
  margin-top: 0.8rem;
  border: 0;
  width: 100%;
  height: 180px;
  border-radius: 12px;
  filter: saturate(0.8);
  background: #d9d3c6;
}

.map-frame.tall { height: 420px; margin-top: 0; }
.legal {
  margin-top: 2.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(244, 239, 230, 0.12);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  color: rgba(244, 239, 230, 0.6);
  font-size: 0.88rem;
}

.wa-widget {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 50;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.6rem;
}

.wa-panel {
  width: min(320px, calc(100vw - 2rem));
  background: white;
  color: var(--text);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 1rem;
  border: 1px solid var(--line);
}
.wa-panel[hidden] { display: none; }
.wa-panel p { margin: 0 0 0.7rem; font-family: var(--serif); font-size: 1.35rem; }
.wa-panel a {
  display: block;
  text-decoration: none;
  padding: 0.7rem 0.2rem;
  border-top: 1px solid var(--line);
}
.wa-panel a:hover { color: var(--clay); }

.wa-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  border: 0;
  cursor: pointer;
  background: var(--whatsapp);
  color: white;
  border-radius: 999px;
  min-height: 56px;
  padding: 0 1.1rem 0 0.85rem;
  box-shadow: 0 10px 30px rgba(16, 80, 40, 0.28);
  transition: transform 0.12s var(--ease);
}
.wa-toggle:active { transform: scale(0.97); }
.wa-toggle svg { width: 26px; height: 26px; fill: white; }
.wa-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d8ffe8;
  box-shadow: 0 0 0 0 rgba(216, 255, 232, 0.7);
  animation: pulse 2.2s infinite;
}

.page-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  min-height: 68vh;
  background: var(--forest);
  color: var(--cream);
}

.page-hero-copy {
  box-sizing: border-box;
  padding: calc(var(--header) + 1.5rem) 1.4rem 3rem;
  width: min(680px, calc(100vw - 2.5rem));
  max-width: calc(100vw - 2.5rem);
  min-width: 0;
  margin-left: auto;
  display: flex;
  flex-direction: column;
  justify-content: end;
}

.page-hero h1 {
  margin: 0;
  font-size: clamp(2.7rem, 5vw, 4.6rem);
  max-width: 14ch;
}

.page-hero .lede { color: rgba(244, 239, 230, 0.86); }

.page-hero-media { position: relative; min-height: 320px; }

.breadcrumbs { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0 0 1.2rem; font-size: 0.88rem; }
.breadcrumbs a { color: var(--gold-soft); }
.breadcrumbs span[aria-hidden] { opacity: 0.6; }

.prose-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 300px);
  gap: 3rem;
  align-items: start;
}

.prose h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); margin: 2.2rem 0 0.7rem; }
.prose h3 { font-size: 1.35rem; margin: 1.4rem 0 0.4rem; }
.prose p, .prose li { max-width: 68ch; }
.prose ul, .prose ol { padding-left: 1.15rem; }
.prose li { margin: 0.35rem 0; }
.prose a { color: var(--clay); }

.pull {
  margin: 1.6rem 0;
  padding-left: 1rem;
  border-left: 2px solid var(--gold);
  font-family: var(--serif);
  font-size: 1.7rem;
  line-height: 1.25;
  color: var(--forest);
}

.sidecard {
  position: sticky;
  top: calc(var(--header) + 1rem);
  background: white;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.15rem;
}
.sidecard h2 { font-size: 1.6rem; margin: 0 0 0.4rem; }
.sidecard ol, .sidecard ul { margin: 0.6rem 0 1rem; padding-left: 1.1rem; }
.sidecard li { margin: 0.35rem 0; }
.sidecard .btn { width: 100%; }

.related { display: grid; gap: 0.45rem; margin-top: 0.4rem; }
.related a { color: var(--clay); }

.filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1rem 0 1.2rem; }
.filters button[aria-pressed="true"] { background: var(--ink); color: var(--cream); border-color: var(--ink); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
}
.gallery-grid button {
  padding: 0;
  border: 0;
  background: var(--cream-2);
  border-radius: 14px;
  overflow: hidden;
  cursor: zoom-in;
  aspect-ratio: 4 / 3;
}
.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.gallery-grid button:hover img { transform: scale(1.04); }
.gallery-grid button.is-hidden { display: none; }

dialog.lightbox {
  width: min(1100px, calc(100vw - 2rem));
  border: 0;
  padding: 0;
  background: transparent;
  color: white;
}
dialog.lightbox::backdrop { background: rgba(10, 14, 12, 0.88); }
.lightbox img { width: 100%; max-height: 78vh; object-fit: contain; background: #0e1c19; border-radius: 12px; }
.lightbox figcaption { padding: 0.7rem 0.2rem 0; }
.lightbox-bar { display: flex; justify-content: space-between; gap: 0.5rem; margin-bottom: 0.5rem; }
.lightbox-bar button {
  background: rgba(255,255,255,0.12);
  color: white;
  border: 0;
  border-radius: 999px;
  min-height: 40px;
  padding: 0 0.9rem;
  cursor: pointer;
}

.form {
  display: grid;
  gap: 0.8rem;
  margin-top: 1rem;
}
.form label { display: grid; gap: 0.35rem; font-size: 0.92rem; }
.form input, .form select, .form textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: white;
  border-radius: 12px;
  padding: 0.8rem 0.85rem;
  min-height: 48px;
}
.form textarea { min-height: 140px; resize: vertical; }
.form-note { color: var(--muted); font-size: 0.92rem; }

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
  align-items: start;
}

.check { list-style: none; padding: 0; margin: 1rem 0 0; }
.check li {
  padding: 0.75rem 0;
  border-top: 1px solid var(--line);
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  animation: none;
}
.reveal.is-in {
  animation: rise 0.8s var(--ease) forwards;
}

@keyframes rise {
  to { opacity: 1; transform: none; }
}
@keyframes ticker {
  to { transform: translateX(-50%); }
}
@keyframes drift {
  to { transform: scale(1.1) translate3d(-1.5%, -1%, 0); }
}
@keyframes meter {
  to { transform: scaleY(0.45); }
}
@keyframes pulse {
  70% { box-shadow: 0 0 0 8px rgba(216, 255, 232, 0); }
}

@media (max-width: 1100px) {
  .mega-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 980px) {
  .site-nav, .header-book { display: none; }
  .nav-toggle { display: inline-flex; }
  .split, .split-reverse, .service-grid, .room-grid, .principle-grid, .steps, .prose-grid, .page-hero, .footer-grid, .contact-grid, .guide-grid {
    grid-template-columns: 1fr;
  }
  .steps { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .page-hero-copy { margin-left: 0; margin-right: auto; padding: 2rem 1.25rem 2.4rem; }
  .page-hero-media { min-height: 46vw; }
  .section-head { flex-direction: column; align-items: start; }
  .sidecard { position: static; }
}

@media (max-width: 640px) {
  .steps, .gallery-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: clamp(2.4rem, 10vw, 3.05rem); }
  .hero-content { padding-bottom: 2.4rem; }
  .hero .lede, .page-hero .lede, .hero-note {
    width: 100%;
    max-width: 100%;
  }
  .lede { font-size: 1.05rem; }
  .section { padding: 3.6rem 0; }
  .wa-toggle span.label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .wa-toggle { width: 56px; padding: 0; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  .hero-media, .marquee-track, .meters i, .wa-dot { animation: none; }
  .frame img, .service-card, .btn, .gallery-grid img { transition: none; }
}
