/* The Horizon v3 - sunset editorial (SEM-inspired pacing and scale).
   Theme: locked light golden-hour. Photography carries the dusk.
   Radius: images 14px, buttons pill. Accent: sunset ember, one gradient moment (reserve band).
   Motion lives in main.js (GSAP); everything is fully visible without JS. */

:root {
  --bg: #fdf3e6;
  --bg-raise: #f9e7cf;
  --bg-deep: #f6ddc2;
  --line: rgba(74, 44, 26, 0.16);
  --text: #3a2417;
  --text-dim: #7a5a44;
  --accent: #d0491f;
  --sky: linear-gradient(135deg, #f7b733 0%, #ef7b45 45%, #d9526b 100%);
  --radius: 14px;
  --font: "Outfit", system-ui, sans-serif;
  --script: "Yellowtail", cursive;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

h1, h2, h3 { font-weight: 700; line-height: 1.08; letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 4.6vw, 3.4rem); }
h3 { font-size: 1.2rem; font-weight: 600; }

a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }

.visually-hidden { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; white-space: nowrap; }

.skip-link {
  position: absolute; left: 1rem; top: -3rem; z-index: 100;
  background: var(--accent); color: #fff; padding: 0.5rem 1rem;
  border-radius: 999px; transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 1rem; }

/* word-reveal spans (built by JS) */
.w { display: inline-block; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.65rem 1.4rem; border-radius: 999px;
  font-family: var(--font); font-weight: 600; font-size: 0.95rem;
  text-decoration: none; white-space: nowrap;
  transition: transform 0.15s var(--ease), background 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.btn:active { transform: translateY(1px) scale(0.98); }
.btn--lg { padding: 0.85rem 1.9rem; font-size: 1.05rem; }
.btn--primary {
  background: var(--accent); color: #fff; border: 1px solid transparent;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 4px 14px rgba(208, 73, 31, 0.22);
}
.btn--primary:hover { background: #b93d17; }
.btn--ghost { background: transparent; color: var(--text); border: 1px solid rgba(74, 44, 26, 0.45); }
.btn--ghost:hover { border-color: var(--text); }
.btn--dark { background: #3a2417; color: #fff; border: 1px solid transparent; }
.btn--dark:hover { background: #271811; }
.btn--hero-ghost {
  color: #fff; border: 1px solid rgba(255, 255, 255, 0.65);
  background: rgba(30, 16, 10, 0.28); backdrop-filter: blur(6px);
}
.btn--hero-ghost:hover { border-color: #fff; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; gap: 2rem;
  height: 72px; padding: 0 clamp(1rem, 4vw, 3rem);
  color: #fff;
  transition: background 0.35s var(--ease), color 0.35s var(--ease), height 0.35s var(--ease);
}
.nav__brand {
  font-weight: 800; font-size: 1.2rem; letter-spacing: 0.04em;
  color: inherit; text-decoration: none; white-space: nowrap;
}
.nav__links { display: flex; gap: 1.6rem; margin-left: auto; }
.nav__links a {
  color: inherit; opacity: 0.85; text-decoration: none; font-size: 0.95rem; font-weight: 400;
  transition: opacity 0.2s var(--ease);
}
.nav__links a:hover { opacity: 1; }
.nav__toggle { display: none; }

/* solid state once scrolled past hero */
.nav.is-solid {
  background: rgba(253, 243, 230, 0.9); color: var(--text);
  backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); height: 64px;
}

.mobile-menu[hidden] { display: none; }
.mobile-menu {
  position: fixed; inset: 64px 0 auto 0; z-index: 49;
  display: flex; flex-direction: column; gap: 1.1rem;
  padding: 1.5rem clamp(1rem, 4vw, 3rem) 2rem;
  background: rgba(253, 243, 230, 0.98); border-bottom: 1px solid var(--line);
}
.mobile-menu a { color: var(--text); text-decoration: none; font-size: 1.1rem; }

@media (max-width: 820px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle {
    display: flex; flex-direction: column; gap: 6px; margin-left: auto;
    background: none; border: 0; padding: 0.6rem; cursor: pointer;
  }
  .nav__toggle span { width: 24px; height: 2px; background: currentColor; transition: transform 0.25s var(--ease); }
  .nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
}

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100dvh; display: flex; align-items: flex-end; overflow: hidden; }
.hero__media { position: absolute; inset: 0; }
.hero__img { width: 100%; height: 100%; object-fit: cover; transform-origin: center; }
.hero__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(40, 18, 8, 0.85) 0%, rgba(40, 18, 8, 0.28) 45%, rgba(255, 168, 92, 0.10) 100%),
    linear-gradient(100deg, rgba(40, 18, 8, 0.45) 0%, transparent 55%);
}
.hero__content {
  position: relative; z-index: 1; color: #fff;
  padding: 0 clamp(1rem, 5vw, 4rem) clamp(3rem, 8vh, 6rem);
  max-width: 900px;
}
.hero__script {
  font-family: var(--script); font-size: clamp(1.7rem, 3.8vw, 2.6rem);
  color: #ffc07a; transform: rotate(-3deg); transform-origin: left bottom;
  text-shadow: 0 2px 22px rgba(255, 140, 60, 0.55);
  margin-bottom: -0.15em; padding-bottom: 0.15em;
}
.hero__title {
  font-size: clamp(3rem, 11vw, 7.5rem); font-weight: 800;
  letter-spacing: -0.01em; line-height: 0.98; color: #fff;
}
.hero__line { display: inline-block; }
.hero__sub { margin: 1.2rem 0 1.8rem; font-size: clamp(1rem, 2vw, 1.25rem); max-width: 36rem; }
.hero__actions { display: flex; gap: 0.9rem; flex-wrap: wrap; }

/* ---------- Statements ---------- */
.statement {
  max-width: 1100px; margin: 0 auto; text-align: left;
  padding: clamp(6rem, 16vh, 11rem) clamp(1rem, 5vw, 3rem);
}
.statement--tight { padding-bottom: clamp(3rem, 8vh, 5rem); }
.statement__text {
  font-size: clamp(2.1rem, 5.4vw, 4.2rem); font-weight: 700;
  line-height: 1.12; letter-spacing: -0.025em; max-width: 20ch;
}
.statement__text .w { opacity: 0.18; }
html.no-motion .statement__text .w { opacity: 1; }
.statement__sub { margin-top: 1.6rem; color: var(--text-dim); font-size: clamp(1rem, 2vw, 1.2rem); max-width: 44ch; }

/* ---------- Full-bleed breaks ---------- */
.bleed { overflow: hidden; }
.bleed__media { height: clamp(420px, 78vh, 760px); overflow: hidden; }
.bleed__media img { width: 100%; height: 115%; object-fit: cover; }
.bleed--duo { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; padding: 0 clamp(1rem, 4vw, 3rem); max-width: 1300px; margin: 0 auto; }
.bleed--duo .bleed__media { height: clamp(300px, 56vh, 560px); border-radius: var(--radius); }

/* ---------- Kitchen ---------- */
.kitchen { max-width: 1300px; margin: 0 auto; padding: clamp(5rem, 13vh, 9rem) clamp(1rem, 4vw, 3rem); }
.kitchen__intro { max-width: 640px; margin-bottom: clamp(2.5rem, 6vh, 4rem); }
.kitchen__intro p { color: var(--text-dim); margin: 1rem 0 1.4rem; font-size: clamp(1rem, 2vw, 1.15rem); }
.kitchen__cta { display: flex; gap: 0.9rem; flex-wrap: wrap; }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2.5vw, 2rem); align-items: start; }
.pillar:nth-child(2) { margin-top: clamp(1.5rem, 5vh, 3.5rem); }
.pillar:nth-child(3) { margin-top: clamp(3rem, 10vh, 7rem); }
.pillar__media { border-radius: var(--radius); overflow: hidden; }
.pillar__media img { width: 100%; aspect-ratio: 3 / 3.6; object-fit: cover; transition: transform 0.7s var(--ease); }
.pillar:hover .pillar__media img { transform: scale(1.045); }
.pillar figcaption { padding-top: 1rem; }
.pillar h3 { max-width: 18ch; }
.pillar p { color: var(--text-dim); margin-top: 0.5rem; max-width: 34ch; }
.kitchen__note { margin-top: clamp(2.5rem, 6vh, 4rem); color: var(--text-dim); font-size: 0.92rem; }

/* ---------- Wings: the one night moment on the page.
   Sunset page, but the wings are neon; neon needs the dark. Deliberate single
   color-block (dusk falls, then the page returns to sunlight). ---------- */
.wings {
  background:
    radial-gradient(ellipse 70% 55% at 50% 62%, rgba(224, 122, 60, 0.16) 0%, transparent 70%),
    linear-gradient(to bottom, #332014 0%, #21130c 45%, #170d08 100%);
  color: #fdf3e6; overflow: hidden;
}
/* neon-on-black photo poster melts into the dark section */
.wings .wings__poster {
  mix-blend-mode: screen;
  object-fit: contain; width: min(70vw, 520px); height: auto; margin: 0 auto;
}
.wings__inner {
  max-width: 900px; margin: 0 auto; text-align: center;
  padding: clamp(5rem, 12vh, 8rem) clamp(1rem, 4vw, 3rem) clamp(4rem, 10vh, 7rem);
}
.wings__script {
  font-family: var(--script); font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  color: #ffe2b0; transform: rotate(-3deg); padding-bottom: 0.15em;
}
.wings h2 { color: #fff; }
.wings model-viewer { width: 100%; height: min(58vh, 500px); background: transparent; }
.wings__script { color: #ffc07a; text-shadow: 0 0 22px rgba(255, 140, 60, 0.5); }

/* glow that "ignites" (JS animates --glow from 0 to 1; defaults to lit for static) */
.wings { position: relative; --glow: 1; }
.wings::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 55% 42% at 50% 58%, rgba(244, 178, 100, 0.20) 0%, transparent 70%);
  opacity: var(--glow);
}
.wings__inner { position: relative; z-index: 1; }

/* text beats: stacked copy when static, crossfading captions when live */
.wings__beats { margin-top: 1.2rem; }
.wings__beat { color: rgba(253, 236, 214, 0.85); max-width: 46ch; margin: 0.4rem auto; }
.wings__cta { margin-top: 1.4rem; }
.wings--live .wings__inner {
  min-height: 100dvh; display: flex; flex-direction: column; justify-content: center;
  padding-top: 5.5rem; padding-bottom: 2.5rem;
}
.wings--live .wings__beats { position: relative; min-height: 4.6em; }
.wings--live .wings__beat {
  position: absolute; left: 0; right: 0; top: 0; margin: 0 auto; opacity: 0;
  font-size: clamp(1.05rem, 2.2vw, 1.3rem);
}
.wings--live .wings__cta { opacity: 0; position: relative; align-self: center; margin-top: 3.2em; }

/* ---------- Gallery (horizontal pan) ---------- */
.gallery { overflow: hidden; }
.gallery__pin { padding: clamp(4rem, 10vh, 7rem) 0; }
.gallery__head { max-width: 1300px; margin: 0 auto 2rem; padding: 0 clamp(1rem, 4vw, 3rem); }
.gallery__track {
  display: flex; gap: 1.2rem; padding: 0 clamp(1rem, 4vw, 3rem);
  width: max-content;
}
.gallery__track figure {
  flex: 0 0 auto; width: clamp(240px, 30vw, 420px);
  border-radius: var(--radius); overflow: hidden;
}
.gallery__track figure:nth-child(even) { margin-top: 2.5rem; }
.gallery__track img { width: 100%; height: clamp(320px, 52vh, 520px); object-fit: cover; }
/* fallback when motion is off: native horizontal scroll */
html.no-motion .gallery__track { width: auto; overflow-x: auto; scroll-snap-type: x mandatory; }
html.no-motion .gallery__track figure { scroll-snap-align: start; }

/* ---------- Events / Family splits ---------- */
.events, .family {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem);
  align-items: center; max-width: 1300px; margin: 0 auto;
  padding: clamp(5rem, 13vh, 9rem) clamp(1rem, 4vw, 3rem);
}
.events__media, .family__media { border-radius: var(--radius); overflow: hidden; height: clamp(380px, 64vh, 620px); }
.events__media img, .family__media img { width: 100%; height: 112%; object-fit: cover; }
.events__text p, .family__text p { margin: 1.1rem 0 1.5rem; color: var(--text-dim); max-width: 46ch; font-size: clamp(1rem, 2vw, 1.15rem); }

/* ---------- Proof ---------- */
.proof {
  text-align: center; padding: clamp(4rem, 10vh, 7rem) clamp(1rem, 4vw, 3rem);
  background: var(--bg-raise); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.proof__num { font-size: clamp(4rem, 10vw, 7rem); font-weight: 800; color: var(--accent); line-height: 1; }
.proof__rating { font-size: clamp(1.1rem, 2.4vw, 1.5rem); margin-top: 0.4rem; }
.proof__link { display: inline-block; margin-top: 1rem; color: var(--text-dim); font-size: 0.95rem; }

/* ---------- Visit: photo + info split ---------- */
.visit {
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 6vw, 5rem);
  align-items: center; max-width: 1300px; margin: 0 auto;
  padding: clamp(5rem, 12vh, 8rem) clamp(1rem, 4vw, 3rem);
}
.visit__media { border-radius: var(--radius); overflow: hidden; height: clamp(360px, 60vh, 580px); }
.visit__media img { width: 100%; height: 112%; object-fit: cover; }
.visit h2 { margin-bottom: 2.2rem; }
.visit__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem 2rem; }
.visit__block { border-top: 1px solid var(--line); padding-top: 1.4rem; }
.visit__block h3 { margin-bottom: 0.7rem; }
.visit__block p { color: var(--text-dim); margin-bottom: 1rem; }
.visit__block a { color: var(--text); }

/* ---------- Reserve ---------- */
.reserve {
  text-align: center; color: #fff;
  padding: clamp(5rem, 14vh, 10rem) clamp(1rem, 4vw, 3rem);
  background: linear-gradient(to top, rgba(58, 22, 30, 0.35), transparent 55%), var(--sky);
}
.reserve__script {
  font-family: var(--script); font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: #fff3d6; transform: rotate(-3deg);
  text-shadow: 0 2px 18px rgba(120, 40, 20, 0.45); padding-bottom: 0.15em;
}
.reserve__title {
  font-size: clamp(3rem, 9vw, 6.5rem); font-weight: 800;
  letter-spacing: -0.01em; line-height: 1; margin-bottom: 1.8rem; color: #fff;
  text-shadow: 0 2px 24px rgba(120, 40, 20, 0.35);
}
.reserve__actions { display: flex; gap: 0.9rem; justify-content: center; flex-wrap: wrap; }
.reserve__alt { margin-top: 1.6rem; color: #fff3d6; font-size: 0.95rem; }
.reserve__alt a { color: #fff; }

/* ---------- Footer ---------- */
.footer {
  padding: 2rem clamp(1rem, 4vw, 3rem); border-top: 1px solid var(--line);
  color: var(--text-dim); font-size: 0.9rem; text-align: center;
}
.footer a { color: var(--text-dim); }

/* ---------- Mobile collapse ---------- */
@media (max-width: 900px) {
  .events, .family { grid-template-columns: 1fr; }
  .family { grid-template-columns: 1fr; }
  .family__media { order: -1; }
  .pillars { grid-template-columns: 1fr; }
  .pillar:nth-child(2), .pillar:nth-child(3) { margin-top: 0; }
  .pillar__media img { aspect-ratio: 4 / 3; }
  .bleed--duo { grid-template-columns: 1fr; }
  .visit { grid-template-columns: 1fr; }
  .visit__media { order: 1; height: clamp(280px, 40vh, 420px); }
  .visit__grid { grid-template-columns: 1fr; }
  .gallery__track figure { width: min(72vw, 340px); }
  .events__media, .family__media { height: clamp(300px, 44vh, 460px); }
}

/* ---------- Story teaser (home): quiet text band ---------- */
.teaser--band {
  max-width: 1100px; margin: 0 auto; text-align: center;
  padding: clamp(4rem, 10vh, 7rem) clamp(1rem, 4vw, 3rem);
  border-top: 1px solid var(--line);
}
.teaser__text p { color: var(--text-dim); margin: 1rem auto 1.4rem; max-width: 44ch; }

/* ---------- Instagram (home) ---------- */
.insta { max-width: 1300px; margin: 0 auto; padding: clamp(4rem, 10vh, 7rem) clamp(1rem, 4vw, 3rem); text-align: center; }
.insta__head p { color: var(--text-dim); margin: 0.8rem auto 2rem; max-width: 48ch; }
.insta__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.insta__grid a { display: block; border-radius: var(--radius); overflow: hidden; }
.insta__grid img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; transition: transform 0.6s var(--ease); }
.insta__grid a:hover img { transform: scale(1.05); }
.insta__cta { margin-top: 2rem; }

/* ---------- Story page opener ---------- */
.story-hero { max-width: 1100px; margin: 0 auto; padding: clamp(8rem, 18vh, 12rem) clamp(1rem, 5vw, 3rem) clamp(4rem, 10vh, 7rem); }
.story-hero__eyebrow { color: var(--accent); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.85rem; margin-bottom: 1rem; }
.story-hero h1 { font-size: clamp(2.1rem, 5.4vw, 4.2rem); font-weight: 700; line-height: 1.12; letter-spacing: -0.025em; max-width: 22ch; }
.page-story .nav { background: rgba(253, 243, 230, 0.9); color: var(--text); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.nav__links a[aria-current="page"] { color: var(--accent); opacity: 1; }

@media (max-width: 900px) {
  .