:root {
  --sand: #efebe3;
  --sand-deep: #e4ded2;
  --stone: #2b2a27;
  --stone-soft: #5a574f;
  --moss: #5d6b4f;
  --mist: rgba(239, 235, 227, 0.92);
  --serif: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--sand);
  color: var(--stone);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
em { font-style: italic; font-weight: 300; }

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

/* ---------- type ---------- */
.whisper {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2rem, 5.2vw, 4.4rem);
  line-height: 1.12;
  letter-spacing: .005em;
  margin: 0;
}
.eyebrow {
  font-size: .72rem;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--stone-soft);
  margin: 0 0 1.4rem;
}
.quiet { color: var(--stone-soft); max-width: 30rem; font-size: 1.02rem; }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.4rem clamp(1rem, 4vw, 3rem);
  color: #fff;
  transition: background .8s var(--ease), color .8s var(--ease), padding .8s var(--ease);
}
.nav.solid {
  background: var(--mist);
  color: var(--stone);
  padding-top: .9rem; padding-bottom: .9rem;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.brand { display: flex; align-items: center; gap: .6rem; font-family: var(--serif); font-size: 1.5rem; letter-spacing: .06em; }
.swoosh-mark { width: 2.4rem; height: auto; aspect-ratio: 460 / 120; fill: currentColor; }
.swoosh-mark.big { width: 4.6rem; }
.nav nav { display: flex; gap: clamp(1rem, 2.6vw, 2.4rem); }
.nav nav a { font-size: .78rem; letter-spacing: .22em; text-transform: uppercase; opacity: .85; transition: opacity .4s; }
.nav nav a:hover { opacity: 1; }
@media (max-width: 640px) { .nav nav { display: none; } }

/* ---------- hero ---------- */
.hero {
  position: relative; height: 100vh; height: 100svh; min-height: 520px;
  overflow: hidden; color: #fff;
  display: grid; place-items: center;
}
.hero-img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.12);
  animation: drift 28s var(--ease) forwards;
}
@keyframes drift { to { transform: scale(1); } }
.hero-veil {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,22,18,.38) 0%, rgba(20,22,18,.12) 40%, rgba(20,22,18,.45) 100%);
}
.hero-inner { position: relative; text-align: center; padding: 0 1rem; }
.swoosh {
  display: block; width: clamp(150px, 20vw, 250px); height: auto; margin: 0 auto 2.2rem;
  filter: drop-shadow(0 2px 18px rgba(0,0,0,.18));
}
.swoosh-draw { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 2.8s .6s cubic-bezier(.45,.05,.25,1) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.hero .whisper {
  text-shadow: 0 2px 30px rgba(0,0,0,.25);
  opacity: 0; animation: rise 2.4s 1.6s var(--ease) forwards;
}
.hero .whisper em { display: inline-block; font-size: .62em; margin-top: .6rem; opacity: .92; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.scroll-cue {
  position: absolute; bottom: 2.2rem; left: 50%; transform: translateX(-50%);
  width: 1px; height: 64px; overflow: hidden;
  opacity: 0; animation: rise 2s 3.4s var(--ease) forwards;
}
.scroll-cue span {
  display: block; width: 1px; height: 100%; background: rgba(255,255,255,.85);
  animation: fall 2.8s 4s ease-in-out infinite; transform: translateY(-100%);
}
@keyframes fall { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }

/* ---------- breathe ---------- */
.breathe {
  min-height: 80vh; display: grid; place-items: center; align-content: center; gap: 3rem;
  padding: 6rem 1rem;
  background: radial-gradient(ellipse at center, #f5f2ec 0%, var(--sand) 70%);
}
.breath-circle {
  width: clamp(160px, 28vw, 260px); aspect-ratio: 1; border-radius: 50%;
  border: 1px solid rgba(43,42,39,.18);
  display: grid; place-items: center;
}
.breath-dot {
  width: 100%; height: 100%; border-radius: 50%;
  background: radial-gradient(circle, rgba(93,107,79,.22) 0%, rgba(93,107,79,.06) 60%, transparent 72%);
  transform: scale(.35);
  animation: breath 10s ease-in-out infinite;
}
@keyframes breath { 0% { transform: scale(.35); } 40% { transform: scale(1); } 100% { transform: scale(.35); } }
.breath-word {
  position: relative; height: 1.6em; width: 12rem; margin: 0; text-align: center;
  font-family: var(--serif); font-style: italic; font-size: 1.5rem; color: var(--stone-soft);
}
.breath-word span { position: absolute; inset: 0; opacity: 0; }
.breath-word .in { animation: wordIn 10s ease-in-out infinite; }
.breath-word .out { animation: wordOut 10s ease-in-out infinite; }
@keyframes wordIn { 0% { opacity: 0; } 8%, 32% { opacity: 1; } 40%, 100% { opacity: 0; } }
@keyframes wordOut { 0%, 40% { opacity: 0; } 48%, 90% { opacity: 1; } 100% { opacity: 0; } }

/* ---------- full-bleed images ---------- */
.bleed { position: relative; height: 92vh; min-height: 480px; overflow: hidden; display: grid; place-items: center; }
.bleed.tall { height: 110vh; }
.bleed img { position: absolute; inset: -8% 0; width: 100%; height: 116%; object-fit: cover; will-change: transform; }
.bleed-quote {
  position: relative; margin: 0; padding: 2.4rem clamp(1.2rem, 4vw, 3rem); text-align: center; max-width: 44rem;
  font-family: var(--serif); font-weight: 300; font-size: clamp(1.6rem, 3.6vw, 2.9rem); line-height: 1.25;
}
.bleed-quote.dark { color: var(--stone); background: rgba(239,235,227,.72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }

/* ---------- paths ---------- */
.paths { padding: clamp(5rem, 12vw, 9rem) clamp(1rem, 4vw, 3rem); text-align: center; }
.path-grid {
  display: grid; gap: clamp(.8rem, 1.6vw, 1.4rem);
  grid-template-columns: repeat(4, 1fr);
  max-width: 1500px; margin: 0 auto;
}
@media (max-width: 1000px) { .path-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .path-grid { grid-template-columns: 1fr; } }
.path {
  position: relative; display: block; overflow: hidden; aspect-ratio: 3 / 4.4;
  color: #fff; background: var(--stone);
}
@media (max-width: 560px) { .path { aspect-ratio: 4 / 4.6; } }
.path img { width: 100%; height: 100%; object-fit: cover; transition: transform 2.4s var(--ease), opacity 1.2s var(--ease); opacity: .9; }
.path::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(15,16,13,.62) 100%); }
.path:hover img, .path:focus-visible img { transform: scale(1.06); opacity: 1; }
.path-text { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; padding: 2rem 1.4rem; text-align: left; }
.path-name { display: block; font-family: var(--serif); font-size: clamp(1.9rem, 2.6vw, 2.5rem); line-height: 1.1; }
.path-line { display: block; margin-top: .4rem; font-size: .9rem; opacity: .85; max-width: 18rem; }
.path-line em { font-family: var(--serif); font-size: 1.15em; }

/* ---------- split ---------- */
.split { display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; min-height: 90vh; }
.split-img { height: 100%; min-height: 60vh; overflow: hidden; }
.split-img img { width: 100%; height: 100%; object-fit: cover; }
.split-text { padding: clamp(3rem, 8vw, 7rem); }
.split-text .whisper { margin-bottom: 1.6rem; }
@media (max-width: 800px) { .split { grid-template-columns: 1fr; } .split-text { text-align: center; } .split-text .quiet { margin: 0 auto; } }

/* ---------- round window / letter ---------- */
.window-section { position: relative; min-height: 100vh; display: grid; place-items: end center; overflow: hidden; color: #fff; }
.window-section > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }
.window-veil { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,12,9,.05) 0%, rgba(10,12,9,.1) 50%, rgba(10,12,9,.82) 100%); }
.letter { position: relative; text-align: center; padding: 2rem 1rem clamp(3rem, 9vh, 6rem); max-width: 40rem; }
.letter .whisper { font-size: clamp(1.8rem, 4vw, 3.2rem); }
.letter .whisper { text-shadow: 0 2px 24px rgba(0,0,0,.35); margin-bottom: 2.4rem; }
.letter-form { display: flex; justify-content: center; max-width: 26rem; margin: 0 auto; border-bottom: 1px solid rgba(255,255,255,.7); }
.letter-form input {
  flex: 1; min-width: 0; background: transparent; border: 0; color: #fff;
  font: inherit; font-size: 1.05rem; padding: .8rem .2rem; outline: none;
}
.letter-form input::placeholder { color: rgba(255,255,255,.7); }
.letter-form button {
  background: none; border: 0; color: #fff; cursor: pointer;
  font: inherit; font-size: .74rem; letter-spacing: .28em; text-transform: uppercase; padding: 0 .2rem 0 1rem;
}
.letter-form:focus-within { border-bottom-color: #fff; }
.letter-note { margin-top: 1.2rem; font-size: .85rem; opacity: .8; min-height: 1.4em; }

/* ---------- footer ---------- */
.footer { position: relative; min-height: 70vh; display: grid; place-items: center; overflow: hidden; color: #fff; text-align: center; }
.footer > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.footer-veil { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,15,12,.35), rgba(14,15,12,.7)); }
.footer-inner { position: relative; padding: 4rem 1rem; }
.footer-inner .swoosh-mark { margin: 0 auto 1rem; display: block; }
.footer-brand { font-family: var(--serif); font-size: 2.2rem; letter-spacing: .08em; margin: 0; }
.footer-line { font-family: var(--serif); font-style: italic; font-size: 1.25rem; opacity: .9; margin: .4rem 0 2.4rem; }
.footer nav { display: flex; gap: 1.6rem; justify-content: center; flex-wrap: wrap; }
.footer nav a { font-size: .74rem; letter-spacing: .24em; text-transform: uppercase; opacity: .85; }
.footer nav a:hover { opacity: 1; }
.footer-small { margin-top: 2.4rem; font-size: .75rem; opacity: .6; letter-spacing: .1em; }

/* ---------- inner pages ---------- */
.page-hero { position: relative; min-height: 100vh; min-height: 100svh; display: grid; place-items: center; overflow: hidden; color: #fff; text-align: center; }
.page-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); animation: drift 24s var(--ease) forwards; }
.page-hero .hero-veil { background: linear-gradient(180deg, rgba(20,22,18,.45), rgba(20,22,18,.35) 50%, rgba(20,22,18,.6)); }
.page-inner { position: relative; padding: 0 1rem; max-width: 40rem; }
.page-inner .eyebrow { color: rgba(255,255,255,.8); }
.page-inner .whisper { opacity: 0; animation: rise 2.2s .4s var(--ease) forwards; }
.page-inner p.soon { margin-top: 2rem; font-size: .78rem; letter-spacing: .3em; text-transform: uppercase; opacity: 0; animation: rise 2s 1.4s var(--ease) forwards; }
.page-inner .back { display: inline-block; margin-top: 2.6rem; font-family: var(--serif); font-style: italic; font-size: 1.15rem; border-bottom: 1px solid rgba(255,255,255,.5); opacity: 0; animation: rise 2s 2s var(--ease) forwards; }

/* ---------- reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 1.8s var(--ease), transform 1.8s var(--ease); }
.js .reveal.seen { opacity: 1; transform: none; }
.js .path-grid .path:nth-child(2) { transition-delay: .15s; }
.js .path-grid .path:nth-child(3) { transition-delay: .3s; }
.js .path-grid .path:nth-child(4) { transition-delay: .45s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .breath-dot { transform: scale(.7); }
  .swoosh-draw { stroke-dashoffset: 0; }
  .breath-word .in { opacity: 1; }
  .js .reveal { opacity: 1; transform: none; }
}
