/* The landscape stays in separate planes so pointer and scroll motion have depth. */
:root{--hero-ivory:#fff9ec;--hero-peach:#ffdfbb;--hero-shadow:#2e2426}
.skip-link{position:fixed;top:12px;left:20px;z-index:2100;padding:12px 20px;border-radius:12px;background:var(--hero-ivory);color:var(--ink);transform:translateY(-150%)}
.skip-link:focus{transform:none}
/* ============ NAV ============ */
nav{
  position:fixed;top:18px;left:50%;transform:translateX(-50%);z-index:1000;
  width:min(1120px,calc(100% - 48px));
  display:flex;align-items:center;gap:6px;
  background:transparent;backdrop-filter:none;-webkit-backdrop-filter:none;
  border:1px solid transparent;
  padding:8px 10px 8px 16px;border-radius:20px;
  box-shadow:none;
  transition:width .6s var(--ease),border-radius .6s var(--ease),background .6s,border-color .6s,box-shadow .6s,color .4s,transform .55s var(--ease);
  color:var(--hero-ivory);
}
nav .brand{display:flex;align-items:center;gap:9px;margin-right:8px}
nav .brand img{width:26px;height:26px;border-radius:7px}
nav .brand span{font-family:var(--serif);font-style:italic;font-size:19px;letter-spacing:-.01em}
nav .links{display:flex;justify-content:center;gap:2px;margin-inline:auto}
nav .links a{
  font-size:13.5px;font-weight:500;color:inherit;padding:8px 13px;border-radius:99px;white-space:nowrap;
  transition:background .25s,color .25s;
}
nav .links a:hover{background:rgba(255,249,236,.14)}
nav:not(.scrolled) .brand,nav:not(.scrolled) .links{text-shadow:0 2px 12px #38273055}
nav.scrolled .links a:hover,html.menu-open nav .links a:hover{background:rgba(26,23,19,.06);color:var(--ink)}
nav .cta{
  font-size:13.5px;font-weight:600;color:var(--ink);background:var(--gold);
  padding:9px 18px;border-radius:99px;margin-left:6px;white-space:nowrap;
  transition:transform .3s var(--ease),box-shadow .3s,background .25s;
  box-shadow:0 2px 12px rgba(245,179,0,.35);
}
nav .cta:hover{background:var(--gold-fab);transform:scale(1.04);box-shadow:0 4px 20px rgba(245,179,0,.5)}
/* Separate links over the hero become one compact glass bar below it. */
nav.scrolled{width:min(640px,calc(100% - 48px));border-radius:99px;background:rgba(250,246,238,.94);border-color:rgba(26,23,19,.07);box-shadow:0 10px 36px rgba(26,23,19,.14);color:var(--ink);backdrop-filter:blur(20px) saturate(1.6);-webkit-backdrop-filter:blur(20px) saturate(1.6)}
html.menu-open nav{background:rgba(250,246,238,.96);color:var(--ink);text-shadow:none}
html.menu-open nav .brand{text-shadow:none}
@media(max-width:760px){
  /* Pin to both edges instead of centering with translateX(-50%):
     left:50% halves the available width for the fixed nav on narrow
     screens, squeezing the pill until the CTA overlaps the wordmark. */
  nav,nav.scrolled{left:14px;right:14px;width:auto;transform:none}
  /* brand takes the slack so the CTA + hamburger group tight on the right */
  nav .brand{margin-right:auto}
  nav .links{display:none}
  nav .cta{padding:9px 14px}
}
@media(max-width:350px){nav .brand span{display:none}}

/* ============ MOBILE MENU (Apple-style full-screen overlay) ============ */
.menu-toggle{
  color:inherit;
  display:none;flex-direction:column;align-items:center;justify-content:center;gap:5px;
  width:38px;height:38px;flex:0 0 auto;margin-left:2px;
  border:none;background:none;cursor:pointer;padding:0;
}
.menu-toggle span{
  display:block;width:17px;height:1.6px;background:currentColor;border-radius:2px;
  transition:transform .32s var(--ease),translate .32s var(--ease);
}
.menu-toggle.open span:first-child{translate:0 3.3px;transform:rotate(45deg)}
.menu-toggle.open span:last-child{translate:0 -3.3px;transform:rotate(-45deg)}
.mobile-menu{
  position:fixed;inset:0;z-index:900;display:none;
  background:rgba(250,246,238,.9);
  backdrop-filter:blur(26px) saturate(1.6);-webkit-backdrop-filter:blur(26px) saturate(1.6);
  opacity:0;visibility:hidden;transition:opacity .45s var(--ease),visibility .45s;
  padding:122px 36px 44px;
  overflow-y:auto;overscroll-behavior:contain;
}
.mobile-menu.open{opacity:1;visibility:visible}
.mobile-menu a{
  display:block;font-family:var(--serif);font-size:37px;line-height:1.5;
  color:var(--ink);letter-spacing:-.015em;
  opacity:0;translate:0 16px;
  transition:opacity .5s var(--ease),translate .5s var(--ease);
}
.mobile-menu a:active{color:var(--gold-dark)}
.mobile-menu.open a{opacity:1;translate:0 0}
.mobile-menu.open a:nth-child(1){transition-delay:.06s}
.mobile-menu.open a:nth-child(2){transition-delay:.12s}
.mobile-menu.open a:nth-child(3){transition-delay:.18s}
.mobile-menu.open a:nth-child(4){transition-delay:.24s}
.mobile-menu.open a:nth-child(5){transition-delay:.3s}
html.menu-open,html.menu-open body{overflow:hidden}
@media(max-width:760px){
  .menu-toggle{display:flex}
  .mobile-menu{display:block}
}

.hero{
  --scene-x:0px;--scene-y:0px;--front-x:0px;--front-y:0px;--copy-x:0px;--copy-y:0px;--tilt-x:0deg;--tilt-y:0deg;--scroll-y:0px;
  position:relative;isolation:isolate;display:grid;place-items:center;min-height:100vh;min-height:100svh;
  padding:clamp(112px,15svh,140px) 24px clamp(112px,16svh,148px);overflow:hidden;background:#8d6360;color:var(--hero-ivory);text-align:center;
}
.hero-scene,.hero-scene-depth,.hero-plane,.hero-shade,.hero-atmosphere{position:absolute;inset:0;pointer-events:none}
.hero-scene{z-index:-3;overflow:hidden}
.hero-scene-depth{inset:-3%;transform:translate3d(0,var(--scroll-y),0);will-change:transform}
.hero-plane{inset:-2%;transform:translate3d(var(--scene-x),var(--scene-y),0) scale(1.035);will-change:transform}
.hero-plane img{width:100%;height:100%;max-width:none;object-fit:cover;object-position:50% 54%;animation:landscape-breathe 26s ease-in-out infinite alternate}
.hero-plane-foreground{transform:translate3d(var(--front-x),var(--front-y),0) scale(1.035);-webkit-mask-image:linear-gradient(transparent 65%,#000 84%);mask-image:linear-gradient(transparent 65%,#000 84%)}
.hero-shade{z-index:-2;background:linear-gradient(180deg,#35292b35 0%,#36222c26 20%,#38273340 45%,#251d2a4f 68%,#191d26b0 100%),radial-gradient(ellipse at 50% 43%,#49303a38,transparent 65%)}
.hero-atmosphere{z-index:-1;overflow:hidden}
.hero-atmosphere i{position:absolute;left:var(--x);bottom:var(--y);width:3px;height:3px;background:#ffe6b7;border-radius:50%;box-shadow:0 0 9px #ffe6b780;opacity:0;animation:mote-rise var(--duration) var(--delay) linear infinite}
.hero-atmosphere i:nth-child(2n){width:2px;height:2px}
.hero-content{width:min(1100px,100%);position:relative;z-index:1}
.hero-eyebrow{display:flex;align-items:center;justify-content:center;gap:13px;margin-bottom:29px;font-size:12px;font-weight:500;letter-spacing:.2em;text-transform:uppercase;text-shadow:0 2px 12px #32232880;animation:hero-arrive 1s .08s both}
.hero-eyebrow::before,.hero-eyebrow::after{content:'';width:28px;height:1px;background:currentColor;opacity:.65}
.hero h1{font-family:var(--serif);font-weight:400;font-size:clamp(70px,9.65vw,148px);line-height:.94;letter-spacing:-.035em;text-wrap:balance;color:var(--hero-ivory);text-shadow:0 3px 2px #452d3517,0 12px 40px #34222c4a}
.hero h1 .line{display:block;animation:hero-arrive 1.4s .16s both}
.hero h1 .line:last-child{animation-delay:.29s}
.hero h1 em{font-weight:400;font-style:italic;color:var(--hero-peach)}
.hero-sub{max-width:47ch;margin:28px auto 0;font-size:clamp(16px,1.25vw,19px);line-height:1.7;font-weight:400;color:#fff8eee8;text-wrap:pretty;text-shadow:0 2px 14px #231824a6;animation:hero-arrive 1.2s .43s both}
.hero-ctas{display:flex;align-items:center;justify-content:center;gap:14px;margin-top:31px;animation:hero-arrive 1.2s .55s both}
.hero .btn-primary,.hero .btn-ghost{justify-content:center;gap:19px;font-size:14px;font-weight:600;padding:17px 25px;min-height:56px;border-radius:99px;transition:box-shadow .35s,background .35s,border-color .35s;transform:translateZ(0);backface-visibility:hidden}
.hero .btn-primary{background:var(--hero-ivory);color:#302629;border:1px solid #fffefa;box-shadow:0 2px 0 #d8c9b8,0 9px 24px #251c3333,inset 0 1px 0 #fff}
.hero .btn-primary:hover{transform:translateZ(0);box-shadow:0 2px 0 #d8c9b8,0 16px 32px #251c334d}
.hero .btn-primary:active{transform:translateZ(0) scale(.985);box-shadow:0 1px 0 #d8c9b8,0 4px 10px #251c3333}
.hero .btn-primary .shine{background:linear-gradient(105deg,transparent,#fff,transparent);pointer-events:none}
.hero .btn-primary svg{width:17px;height:17px;transition:transform .3s}
.hero .btn-primary:hover svg{transform:translateX(3px)}
.hero .btn-ghost{border:1px solid #fff9ec66;background:#382b3438;color:var(--hero-ivory);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);box-shadow:inset 0 1px 0 #fff9ec12}
.hero .btn-ghost:hover{background:#fff9ec20;border-color:#fff9ecb3;transform:translateY(-3px)}
.hero .btn-ghost .play{width:22px;height:22px;display:grid;place-items:center;background:transparent;border:1px solid #fff9ec99;color:inherit}
.hero .play svg{width:9px;height:9px;margin-left:1px}
.hero-footer{position:absolute;bottom:30px;left:48px;right:48px;display:grid;grid-template-columns:1fr auto 1fr;align-items:end;gap:22px;animation:hero-arrive 1.2s .85s both}
.hero-signature{display:flex;align-items:center;gap:12px;text-align:left;font-size:12px;letter-spacing:.035em;color:#fff9ecdb}
.hero-wave{display:flex;align-items:center;gap:3px;height:25px}
.hero-wave i{width:2px;height:9px;border-radius:3px;background:var(--hero-peach);animation:hero-wave 2.4s ease-in-out infinite alternate}
.hero-wave i:nth-child(2n){height:19px;animation-delay:-.8s}
.hero-wave i:nth-child(3n){height:25px;animation-delay:-1.6s}
.scroll-hint{display:flex;flex-direction:column;align-items:center;gap:12px;color:var(--hero-ivory);font-size:10px;letter-spacing:.21em;text-transform:uppercase;padding:8px 16px 0}
.scroll-hint svg{width:18px;height:22px;animation:scroll-invite 2.5s ease-in-out infinite}
.motion-toggle{justify-self:end;display:inline-flex;align-items:center;justify-content:center;gap:9px;color:#fff9ecdb;border:1px solid #fff9ec40;border-radius:99px;background:#34283124;padding:11px 15px;min-height:44px;min-width:44px;font-size:12px;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);transition:background .25s}
.motion-toggle:hover{background:#fff9ec1f}
.motion-toggle svg{width:12px;height:12px}
.motion-toggle[hidden]{display:none}
.motion-toggle .motion-play,.motion-toggle[aria-pressed="true"] .motion-pause{display:none}
.motion-toggle[aria-pressed="true"] .motion-play{display:block}
.hero.motion-paused *, .hero.scene-outside *{animation-play-state:paused!important}
.hero.motion-paused .hero-content,.hero.motion-paused .hero-plane,.hero.motion-paused .hero-scene-depth{transform:none}
.hero.motion-paused .hero-atmosphere{opacity:0}
.hero.motion-paused .hero-eyebrow,.hero.motion-paused h1 .line,.hero.motion-paused .hero-sub,.hero.motion-paused .hero-ctas,.hero.motion-paused .hero-footer{animation:none;opacity:1}
.marquee-band{margin:0;transform:none;padding:21px 0;border-top:1px solid #fff9ec14}
nav a:focus-visible,nav button:focus-visible,.mobile-menu a:focus-visible{outline:2px solid currentColor;outline-offset:3px}
.hero a:focus-visible,.hero button:focus-visible{outline:2px solid var(--hero-ivory);outline-offset:5px}
@keyframes hero-arrive{from{opacity:0;transform:translate3d(0,25px,0);filter:blur(5px)}to{opacity:1;transform:translate3d(0,0,0);filter:blur(0)}}
@keyframes landscape-breathe{from{transform:scale(1)}to{transform:scale(1.035)}}
@keyframes mote-rise{0%{opacity:0;transform:translate3d(0,0,0)}20%,70%{opacity:.45}100%{opacity:0;transform:translate3d(30px,-110px,0)}}
@keyframes hero-wave{to{transform:scaleY(.45);opacity:.55}}
@keyframes scroll-invite{0%,100%{transform:translateY(0);opacity:.65}50%{transform:translateY(5px);opacity:1}}
@media(min-width:1800px){.hero-plane img{object-position:50% 61%}}
@media(max-width:1100px){.hero-footer{left:28px;right:28px}}
@media(max-width:900px){.hero h1{font-size:clamp(60px,10.5vw,95px)}}
@media(max-width:600px){
  .hero{padding:130px 20px 158px}
  .hero-plane img{object-position:53% 50%}
  .hero-shade{background:linear-gradient(180deg,#36262e4d 0%,#35222d33 24%,#30212e61 58%,#191d26b3 100%)}
  .hero h1{font-size:clamp(44px,11.6vw,69px);line-height:1.01;letter-spacing:-.035em}
  .hero-eyebrow{font-size:10px;letter-spacing:.15em;gap:9px;margin-bottom:27px}
  .hero-eyebrow::before,.hero-eyebrow::after{width:18px}
  .hero-sub{font-size:16px;max-width:34ch;margin-top:23px;line-height:1.65}
  .hero-ctas{gap:10px;margin-top:27px;flex-wrap:wrap}
  .hero .btn-primary,.hero .btn-ghost{font-size:13px;gap:10px;padding:16px 19px;min-height:53px}
  .hero-footer{left:22px;right:22px;bottom:24px;gap:12px;grid-template-columns:1fr auto 1fr}
  .hero-signature{font-size:11px;max-width:90px;gap:8px;line-height:1.5}.hero-wave{gap:2px}.hero-wave i{width:2px}
  .scroll-hint{font-size:9px;letter-spacing:.15em;padding:8px 0 0}
  .motion-toggle{padding:11px 13px}.motion-toggle .motion-label{display:none}
  .hero-atmosphere i:nth-child(n+5){display:none}
}
@media(max-width:360px){.hero-eyebrow{letter-spacing:.1em}.hero-eyebrow::before,.hero-eyebrow::after{width:12px}.hero-ctas{gap:8px}.hero .btn-primary,.hero .btn-ghost{padding:15px;font-size:12px}}
@media(max-height:700px) and (min-width:601px){.hero{padding:125px 24px 120px}.hero h1{font-size:clamp(64px,8vw,110px)}.hero-eyebrow{margin-bottom:20px}.hero-sub{margin-top:20px}.hero-ctas{margin-top:22px}}
@media(prefers-reduced-motion:reduce){
  .hero *{animation:none!important;transition:none!important}
  .hero-content,.hero-plane,.hero-scene-depth{transform:none!important}
  .hero-atmosphere{display:none}
  .hero .hero-eyebrow,.hero h1 .line,.hero .hero-sub,.hero .hero-ctas,.hero-footer{opacity:1;filter:none}
}
