/* Kastana Tec — shared styles for every page */
*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth}
/* overflow-x:hidden on html/body breaks position:sticky —
   clip prevents sideways scroll without creating a scroll box */
html,body{width:100%;overflow-x:clip}
a{text-decoration:none;color:inherit}
ul{list-style:none}
[hidden]{display:none!important}

:root{
  --bg:    #ede4d8;
  --ink:   #2e1f0e;
  --ember: #c85a28;
  --stone: #7a6050;   /* muted text on the light beige ground */
  --sand:  #e8d8be;
  --line:  rgba(46,31,14,.09);
  --dark:  #120a05;
  --hair:  rgba(232,216,190,.12);
  --dim:   rgba(232,216,190,.64);
  --stone-d:#a88b76;  /* muted text on dark grounds (≥4.5:1) */
}

body{
  background:var(--bg);
  font-family:'Jost',sans-serif;
  font-weight:300;
}

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

/* ═══════════════════════════════
   PRELOADER
═══════════════════════════════ */
#pre{
  position:fixed;inset:0;z-index:1000;
  background:var(--bg);
  display:flex;align-items:center;justify-content:center;
  transition:opacity .7s ease;
}
html:not(.js) #pre{display:none}
.pre-ring{
  width:36px;height:36px;
  border:1.5px solid rgba(46,31,14,.15);
  border-top-color:var(--ink);
  border-radius:50%;
  animation:spin .9s linear infinite;
}
@keyframes spin{to{transform:rotate(360deg)}}

/* ═══════════════════════════════
   HEADER — SVG logomark + nav
═══════════════════════════════ */
#hdr{
  position:fixed;top:0;left:0;right:0;
  z-index:500;
  padding:1.6rem 2.8rem;
  display:flex;align-items:center;
  color:var(--ink);
  transition:color .45s ease;
}
#hdr.hdr-dark,#hdr.menu-open{color:var(--sand)}
.hdr-nav{display:flex;gap:0;align-items:center;width:100%}
.hdr-nav .logo-wrap{margin-right:auto}
.logo{
  display:flex;align-items:center;gap:.65rem;
  color:currentColor;
}
.logo svg{display:block;width:26px;height:26px}
.logo svg path{
  stroke:currentColor;fill:none;
  stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;
  stroke-dasharray:120;stroke-dashoffset:120;
  animation:logodraw 1.6s ease .3s forwards;
}
@keyframes logodraw{to{stroke-dashoffset:0}}
.logo-word{
  font-size:.72rem;font-weight:500;
  letter-spacing:.22em;text-transform:uppercase;
}
.nav-links{display:flex;gap:3.5rem;margin:0 auto}
.nav-links a,.stay{
  font-size:.72rem;font-weight:400;
  letter-spacing:.14em;text-transform:uppercase;
  color:currentColor;
  position:relative;cursor:pointer;
}
.nav-links .nav-contact{display:none}
.stay{margin-left:auto}
/* micro-animation: underline slides in on hover */
.nav-links a::after,.stay::after{
  content:'';position:absolute;left:0;bottom:-5px;
  width:100%;height:1px;background:currentColor;
  transform:scaleX(0);transform-origin:right;
  transition:transform .35s ease;
}
.nav-links a:hover::after,.stay:hover::after,
.nav-links a[aria-current="page"]::after{
  transform:scaleX(1);transform-origin:left;
}

/* mobile menu toggle — hidden on desktop */
.menu-btn{
  display:none;position:relative;
  width:34px;height:34px;margin-left:1rem;
  background:none;border:0;color:currentColor;cursor:pointer;
}
.menu-btn span{
  position:absolute;left:7px;right:7px;height:1px;
  background:currentColor;
  transition:transform .3s ease,top .3s ease;
}
.menu-btn span:nth-child(1){top:13px}
.menu-btn span:nth-child(2){top:20px}
#hdr.menu-open .menu-btn span:nth-child(1){top:17px;transform:rotate(45deg)}
#hdr.menu-open .menu-btn span:nth-child(2){top:17px;transform:rotate(-45deg)}

/* ═══════════════════════════════
   PINNED STAGE
   #sp is the scroll driver; #stage stays stuck for its
   length, then scrolls away to reveal the sections below.
═══════════════════════════════ */
#sp{height:450vh;position:relative}
#stage{
  position:sticky;top:0;
  height:100vh;
  overflow:hidden;
}

/* ── STATE 1 — hero ── */
#s1{
  position:absolute;inset:0;z-index:10;
  background:var(--bg);
  display:flex;flex-direction:column;
}
.grid-lines{
  position:absolute;inset:0;
  display:grid;
  grid-template-columns:1fr 1fr 1fr;
  pointer-events:none;
  z-index:0;
}
.grid-col{border-right:1px solid rgba(46,31,14,.07)}
.grid-col:last-child{border:none}
.s1-top{
  position:absolute;top:5.5rem;left:2.8rem;
  z-index:2;
}
.s1-tag{
  font-size:.62rem;letter-spacing:.22em;
  text-transform:uppercase;color:var(--stone);
  line-height:1.7;
}
.s1-scroll{
  position:absolute;
  right:2.8rem;
  top:50%;transform:translateY(-50%);
  z-index:2;
  writing-mode:vertical-rl;
  font-size:.62rem;letter-spacing:.22em;
  text-transform:uppercase;color:var(--stone);
  display:flex;align-items:center;gap:14px;
}
.s1-scroll::after{
  content:'';width:1px;height:50px;
  background:linear-gradient(to bottom,var(--stone),transparent);
  animation:scrollhint 2.2s ease-in-out infinite;
}
@keyframes scrollhint{
  0%,100%{transform:translateY(0);opacity:1}
  50%{transform:translateY(8px);opacity:.4}
}
/* main hero area — everything above the title line */
.s1-main{
  flex:1;min-height:0;
  position:relative;
  z-index:2;
}

/* chestnut — flush left, base resting on the title line
   (the photo extends 18% below the line because the
   chestnut's visible bottom sits at ~82% of the frame) */
.s1-shape{
  position:absolute;
  left:0;bottom:0;
  transform:translateY(18%);
  width:min(620px,46vw);
}
.s1-shape img{
  width:100%;height:auto;
  display:block;
  filter:sepia(.18) saturate(.82) brightness(1.04) contrast(.96);
  mix-blend-mode:multiply;
  will-change:transform;

  /* soft radial fade — the outer 22% of the image dissolves
     into the page so no rectangle edge is ever visible */
  -webkit-mask-image: radial-gradient(
    ellipse 72% 72% at 50% 46%,
    #000 0%,
    #000 58%,
    rgba(0,0,0,.85) 72%,
    rgba(0,0,0,.35) 86%,
    transparent 100%
  );
  mask-image: radial-gradient(
    ellipse 72% 72% at 50% 46%,
    #000 0%,
    #000 58%,
    rgba(0,0,0,.85) 72%,
    rgba(0,0,0,.35) 86%,
    transparent 100%
  );
}

/* ── entrance sequence — motion only, and only with JS ──
   hidden states apply solely when motion is allowed and the
   script is running; otherwise everything shows at its final
   state. #heroimg stays scale-only (.s1-shape owns translateY
   18%) so the scroll loop can take over without a jump. */
@media (prefers-reduced-motion: no-preference){
  .js #heroimg{
    opacity:0;
    transform:scale(.92);
    transition:opacity 1.4s cubic-bezier(.16,1,.3,1),
               transform 1.4s cubic-bezier(.16,1,.3,1);
  }
  body.site-ready #heroimg{
    opacity:1;
    transform:scale(1);
  }
  .js .s1-title h1{
    opacity:0;
    transform:translateY(20px);
    will-change:opacity,transform;
    transition:opacity 1s cubic-bezier(.16,1,.3,1) .3s,
               transform 1s cubic-bezier(.16,1,.3,1) .3s;
  }
  body.site-ready .s1-title h1{ opacity:1; transform:translateY(0); }
  .js .s1-desc p,.js .hero-cta{
    opacity:0;
    transform:translateY(16px);
    will-change:opacity,transform;
    transition:opacity .9s cubic-bezier(.16,1,.3,1) .5s,
               transform .9s cubic-bezier(.16,1,.3,1) .5s;
  }
  .js .hero-cta{transition-delay:.7s,.7s}
  body.site-ready .s1-desc p,
  body.site-ready .hero-cta{ opacity:1; transform:translateY(0); }
  .js .s1-tag{
    opacity:0;
    transition:opacity .8s ease .2s;
  }
  body.site-ready .s1-tag{ opacity:1; }
  .js .s1-scroll{
    opacity:0;
    transition:opacity .8s ease .9s;
  }
  body.site-ready .s1-scroll{ opacity:1; }
  /* release will-change once the entrance has played */
  body.entrance-complete .s1-title h1,
  body.entrance-complete .s1-desc p,
  body.entrance-complete .hero-cta{ will-change:auto; }
}
.s1-bottom{
  position:relative;
  z-index:2;
  display:grid;
  grid-template-columns:1fr 1fr;
  border-top:1px solid var(--line);
}
.s1-title{
  padding:2.5rem 2.8rem;
  border-right:1px solid var(--line);
}
.s1-title h1{
  font-family:'Jost',sans-serif;
  font-size:clamp(2.8rem,6.5vw,5.8rem);
  font-weight:400;line-height:1.0;
  letter-spacing:-.02em;color:var(--ink);
}
.s1-desc{
  padding:2.5rem 3rem;
  display:flex;flex-direction:column;
  justify-content:flex-end;align-items:flex-start;
}
.s1-desc p{
  font-size:clamp(1rem,2vw,1.55rem);
  font-weight:300;line-height:1.45;
  color:var(--ink);
  max-width:44ch;
}
.s1-desc p .ember{color:var(--ember)}
.hero-cta{
  display:inline-flex;align-items:center;gap:.6rem;
  margin-top:1.4rem;padding-bottom:.35rem;
  border-bottom:1px solid var(--ember);
  font-size:.7rem;font-weight:400;
  letter-spacing:.2em;text-transform:uppercase;
  color:var(--ink);
}
.hero-cta svg{width:12px;height:12px;transition:transform .3s ease}
.hero-cta:hover svg{transform:translateX(4px)}

/* ── CANVAS — frame scrubber ── */
#vc{
  position:absolute;inset:0;z-index:5;
  background:#0d0703;
  opacity:0;
  pointer-events:none;
}
#seq{width:100%;height:100%;display:block}

/* ── TEXT OVERLAYS ── */
#txts{
  position:absolute;inset:0;z-index:15;
  pointer-events:none;
}
/* opacity is driven by JS; the --pslide translate adds a
   subtle rise, composed onto each panel's centering transform
   so nothing fights the position. --pslide defaults to 0
   (reduced-motion path); the motion block below animates it. */
.panel{position:absolute;opacity:0}
.panel .head,.panel .body{text-shadow:0 1px 18px rgba(13,7,3,.5)}
@media (prefers-reduced-motion: no-preference){
  .panel{
    --pslide:18px;
    will-change:opacity,transform;
    transition:transform .6s cubic-bezier(.16,1,.3,1);
  }
  .panel.panel-visible{ --pslide:0px; }
}
#p2{top:50%;right:6%;transform:translateY(-50%) translateY(var(--pslide,0px));max-width:min(420px,40vw)}
#p2 .head{
  font-family:'Cormorant Garamond',serif;
  /* sized by the smaller of width and height so short,
     wide windows never overflow */
  font-size:clamp(1.4rem,min(2.8vw,5.2vh),2.4rem);
  text-wrap:balance;
  font-weight:300;line-height:1.35;
  color:var(--sand);margin-bottom:1.3rem;
}
#p2 .head em{color:var(--ember);font-style:normal}
#p2 .body{font-size:.85rem;line-height:1.9;color:rgba(232,216,190,.75)}
#p3{top:50%;left:6%;transform:translateY(-50%) translateY(var(--pslide,0px));max-width:min(380px,38vw)}
#p3 .head{
  font-family:'Cormorant Garamond',serif;
  font-size:clamp(1.3rem,min(2.6vw,5vh),2.3rem);
  text-wrap:balance;
  font-weight:300;line-height:1.35;
  color:var(--sand);margin-bottom:1.2rem;
}
#p3 .head em{color:#d4a03a;font-style:normal}
#p3 .body{font-size:.85rem;line-height:1.9;color:rgba(232,216,190,.75)}
#p4{
  top:50%;left:50%;transform:translate(-50%,-50%) translateY(var(--pslide,0px));
  text-align:center;width:min(900px,90vw);
}
/* dark scrim so the text stays readable over the bright
   tunnel core — fades with the panel itself */
#p4::before{
  content:'';position:absolute;
  inset:-30% -12%;
  background:radial-gradient(ellipse 62% 58% at 50% 50%,
    rgba(13,7,3,.8),
    rgba(13,7,3,.5) 55%,
    transparent 80%);
  z-index:-1;
}
#p4 .big{
  font-family:'Cormorant Garamond',serif;
  /* the smaller of width and height wins, so the four lines
     and the button always fit between header and screen edge */
  font-size:clamp(1.6rem,min(3.4vw,6.2vh),3.4rem);
  text-wrap:balance;
  font-weight:300;line-height:1.18;color:var(--sand);
  text-shadow:0 1px 26px rgba(13,7,3,.55),0 1px 6px rgba(13,7,3,.4);
}
#p4 .big em{color:#d4a03a;font-style:normal}
#p4 .cta{
  display:inline-flex;align-items:center;gap:.7rem;
  margin-top:clamp(1.2rem,4vh,2.5rem);
  padding:.75rem 2.5rem;
  border:1px solid rgba(232,216,190,.45);
  font-size:.63rem;letter-spacing:.28em;
  text-transform:uppercase;color:var(--sand);
  pointer-events:auto;transition:all .28s;cursor:pointer;
  background:rgba(13,7,3,.35);
  text-shadow:0 1px 8px rgba(13,7,3,.5);
}
#p4 .cta:hover{background:rgba(232,216,190,.12);border-color:rgba(232,216,190,.55)}
#p4 .cta svg{width:11px;height:11px;transition:transform .3s ease}
#p4 .cta:hover svg{transform:translateX(3px)}

/* ═══════════════════════════════
   SECTIONS — dark continuity with the tunnel
═══════════════════════════════ */
.sec{
  position:relative;
  background:var(--dark);
  padding:8rem 2.8rem;
}
.sec-head{
  display:flex;align-items:flex-end;justify-content:space-between;
  gap:2rem;margin-bottom:4.5rem;
  padding-bottom:2.2rem;
  border-bottom:1px solid var(--hair);
}
.sec-label{
  font-size:.62rem;letter-spacing:.22em;
  text-transform:uppercase;color:rgba(232,216,190,.62);
}
.sec-title{
  font-size:clamp(2rem,4.5vw,3.6rem);
  font-weight:400;line-height:1.05;
  letter-spacing:-.02em;color:var(--sand);
}
.sec-title .ember{color:var(--ember);font-style:normal}

/* reveal-on-scroll — hidden only when the script can reveal it */
.js .reveal{
  opacity:0;transform:translateY(26px);
  transition:opacity .8s ease,transform .8s ease;
}
.js .reveal.on{opacity:1;transform:none}

/* ══════════════════════════════════
   CONTACT
══════════════════════════════════ */
.sec-sub{
  font-size:.92rem;font-weight:300;line-height:1.8;
  color:var(--dim);max-width:36ch;
}

.connect-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:0;
  border:1px solid var(--hair);
}

/* ── Form side ── */
.connect-form-wrap{
  padding:4rem 3.5rem;
  border-right:1px solid var(--hair);
  min-width:0;
}
.type-toggle{
  display:flex;gap:0;
  margin-bottom:3rem;
  border:1px solid var(--hair);
  border-radius:2px;
  overflow:hidden;
  width:fit-content;
}
.toggle-btn{
  background:transparent;border:none;
  padding:.55rem 1.6rem;
  font-family:'Jost',sans-serif;
  font-size:.68rem;font-weight:400;
  letter-spacing:.18em;text-transform:uppercase;
  color:var(--dim);cursor:pointer;
  transition:background .25s,color .25s;
}
.toggle-btn[aria-pressed="true"]{background:var(--ember);color:var(--dark);font-weight:500}

.connect-form{display:flex;flex-direction:column;gap:2rem}
.field-wrap{display:flex;flex-direction:column;gap:.5rem}
.field-label{
  font-size:.62rem;font-weight:400;
  letter-spacing:.18em;text-transform:uppercase;
  color:var(--stone-d);
}
.field-optional{
  font-size:.58rem;color:rgba(168,139,118,.8);
  text-transform:none;letter-spacing:0;
}
.field-input{
  background:transparent;border:none;
  border-bottom:1px solid rgba(232,216,190,.22);
  border-radius:0;
  padding:.75rem 0;
  font-family:'Jost',sans-serif;
  font-size:.92rem;font-weight:300;
  color:var(--sand);outline:none;
  transition:border-color .25s;
  width:100%;resize:none;
}
.field-input::placeholder{color:rgba(232,216,190,.42)}
.field-input:focus{border-bottom-color:var(--ember)}
.field-input:focus-visible{box-shadow:0 1px 0 0 var(--ember)}
.field-textarea{min-height:100px;line-height:1.7}
.field-select{
  appearance:none;-webkit-appearance:none;
  cursor:pointer;padding-right:1.6rem;
  background:transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%23a88b76' stroke-width='1.3'%3E%3Cpath d='M2 4.5 6 8l4-3.5'/%3E%3C/svg%3E") no-repeat right center/12px;
}
.field-select option{background:var(--dark);color:var(--sand)}
.hp-field{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}

.form-submit{align-self:flex-start;margin-top:.5rem}
.form-submit:disabled{opacity:.6;cursor:default}
.form-confirm{
  font-size:.82rem;line-height:1.7;color:var(--ember);
  letter-spacing:.04em;margin-top:-.5rem;
}
.form-confirm.is-error{color:#ec9a78}
.form-confirm a{color:var(--sand);border-bottom:1px solid currentColor}

/* ── Social side ── */
.connect-social-wrap{
  padding:4rem 3.5rem;
  display:flex;flex-direction:column;gap:2.5rem;
  overflow:hidden;min-width:0;
}
.social-label{
  font-size:.62rem;font-weight:400;
  letter-spacing:.22em;text-transform:uppercase;
  color:var(--stone-d);
}
.social-list{display:flex;flex-direction:column;gap:0}
.social-item{
  display:flex;align-items:center;gap:1.6rem;
  padding:1.4rem 0;
  border-bottom:1px solid var(--hair);
  color:var(--sand);text-decoration:none;
  position:relative;overflow:hidden;
  transition-delay:calc(var(--i) * .08s);
}
.social-item::before{
  content:'';position:absolute;inset:0;
  background:rgba(200,90,40,.07);
  transform:translateX(-100%);
  transition:transform .4s cubic-bezier(.16,1,.3,1);
}
.social-item:hover::before{transform:translateX(0)}
.social-item:hover .social-name{color:var(--ember)}
.social-item:hover .social-arrow{transform:translate(4px,-4px);color:var(--ember)}
.social-icon-wrap{
  width:44px;height:44px;
  border:1px solid var(--hair);border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  flex-shrink:0;transition:border-color .3s;
  position:relative;
}
.social-item:hover .social-icon-wrap{border-color:var(--ember)}
.social-icon-wrap svg{width:18px;height:18px}
.social-info{flex:1;display:flex;flex-direction:column;gap:.2rem;min-width:0}
.social-name{
  font-size:.9rem;font-weight:400;
  letter-spacing:.06em;text-transform:uppercase;
  color:var(--sand);transition:color .3s;
}
.social-handle{
  font-size:.7rem;color:var(--stone-d);
  font-family:ui-monospace,'SF Mono',Menlo,monospace;
  letter-spacing:.06em;
  overflow-wrap:anywhere;
}
.social-arrow{
  width:18px;height:18px;color:var(--stone-d);
  flex-shrink:0;transition:transform .3s ease,color .3s;
  position:relative;
}
.social-arrow svg{width:100%;height:100%}

/* ── Scrolling ticker ── */
.social-ticker{
  margin-top:auto;overflow:hidden;
  border-top:1px solid var(--hair);
  padding-top:1.4rem;white-space:nowrap;
}
.ticker-inner{display:inline-flex;animation:ticker 26s linear infinite}
.ticker-inner span{
  font-size:.62rem;font-weight:400;
  letter-spacing:.18em;text-transform:uppercase;
  color:var(--stone-d);
}
@keyframes ticker{
  0%{transform:translateX(0)}
  100%{transform:translateX(-50%)}
}
.social-ticker:hover .ticker-inner{animation-play-state:paused}

/* ══════════════════════════════════
   LEGAL / PROSE PAGES
══════════════════════════════════ */
.prose{max-width:68ch}
.prose h2{
  font-size:1.2rem;font-weight:400;letter-spacing:.01em;
  color:var(--sand);margin:3rem 0 1rem;
}
.prose h2:first-child{margin-top:0}
.prose p,.prose li{font-size:.95rem;line-height:1.85;color:var(--dim)}
.prose p + p{margin-top:1rem}
.prose ul{list-style:disc;padding-left:1.2rem;display:grid;gap:.4rem}
.prose a{color:var(--ember);border-bottom:1px solid currentColor}
.prose .updated{margin-top:3rem;font-size:.75rem;letter-spacing:.14em;text-transform:uppercase;color:var(--stone-d)}

/* ══════════════════════════════════
   FOOTER
══════════════════════════════════ */
#footer{
  background:var(--dark);
  color:var(--sand);
  padding:10rem 2.8rem 0;
  overflow:hidden;
}
.foot-statement{margin-bottom:8rem;max-width:900px}
.foot-overline{
  font-size:.65rem;font-weight:400;
  letter-spacing:.28em;text-transform:uppercase;
  color:var(--stone-d);margin-bottom:2rem;
}
.foot-headline{
  font-family:'Cormorant Garamond',serif;
  font-size:clamp(3rem,8vw,7.5rem);
  font-weight:300;line-height:1.05;
  color:#efe3d3;letter-spacing:-.01em;
}
.foot-headline em{font-style:italic;color:var(--stone-d)}
.ember-dot{color:var(--ember);font-style:normal}

.foot-grid{
  display:grid;
  grid-template-columns:2fr 1fr 1fr 1fr;
  gap:0;
  border-top:1px solid var(--hair);
  padding-top:4rem;margin-bottom:4rem;
}
.foot-col{padding:0 2.8rem 3rem 0}
.foot-col:not(:last-child){
  border-right:1px solid var(--hair);
  margin-right:2.8rem;
}

.foot-mark{
  display:flex;align-items:center;gap:.9rem;
  margin-bottom:1.5rem;color:#efe3d3;
}
.foot-mark svg{color:#efe3d3;flex:none}
.foot-brand-name{
  font-family:'Jost',sans-serif;
  font-size:1rem;font-weight:500;
  letter-spacing:.12em;text-transform:uppercase;
  color:#efe3d3;
}
.foot-brand-name em{
  font-style:italic;color:var(--ember);
  font-family:'Cormorant Garamond',serif;
  font-weight:300;font-size:1.2em;
}
.foot-brand-desc{
  font-family:ui-monospace,'SF Mono',Menlo,monospace;
  font-size:.75rem;line-height:1.9;
  color:var(--dim);max-width:30ch;margin-bottom:1.5rem;
}
.foot-family{
  font-size:.65rem;letter-spacing:.14em;line-height:2;
  text-transform:uppercase;color:var(--stone-d);
}
.foot-family a{color:var(--ember);text-decoration:none;transition:opacity .25s}
.foot-family a:hover{opacity:.7}

.foot-col-label{
  font-size:.62rem;font-weight:400;
  letter-spacing:.22em;text-transform:uppercase;
  color:var(--stone-d);margin-bottom:1.6rem;
}
.foot-links{
  list-style:none;display:flex;flex-direction:column;gap:.9rem;
}
.foot-links a{
  font-size:.82rem;font-weight:300;
  color:var(--dim);text-decoration:none;
  letter-spacing:.04em;transition:color .25s;
  position:relative;
}
.foot-links a::after{
  content:'';position:absolute;left:0;bottom:-2px;
  width:0;height:1px;background:var(--ember);
  transition:width .3s ease;
}
.foot-links a:hover{color:var(--sand)}
.foot-links a:hover::after{width:100%}

.foot-contact-link{display:flex;align-items:center;gap:.7rem}
.contact-dot{
  width:5px;height:5px;border-radius:50%;
  background:var(--ember);flex-shrink:0;
  transition:transform .25s;
}
.foot-contact-link:hover .contact-dot{transform:scale(1.6)}

.foot-bottom{
  display:flex;justify-content:space-between;align-items:center;
  flex-wrap:wrap;gap:1.2rem 2.5rem;
  padding:2.2rem 0;
  border-top:1px solid var(--hair);
  font-size:.62rem;font-weight:400;
  letter-spacing:.16em;text-transform:uppercase;
  color:rgba(232,216,190,.58);
}
.foot-bottom nav{display:flex;gap:2.4rem}
.foot-bottom a{color:inherit;text-decoration:none;transition:color .25s}
.foot-bottom a:hover{color:var(--sand)}
.foot-credit .ember{color:var(--ember)}

/* visible keyboard focus everywhere */
a:focus-visible,button:focus-visible,select:focus-visible{
  outline:1px solid var(--ember);outline-offset:4px;
}

/* ═══════════════════════════════
   HEADER — solid once content scrolls underneath
═══════════════════════════════ */
#hdr{
  border-bottom:1px solid transparent;
  transition:color .45s ease,background-color .35s ease,
             padding .35s ease,border-color .35s ease;
}
#hdr.hdr-solid{
  color:var(--sand);
  background:rgba(18,10,5,.88);
  -webkit-backdrop-filter:blur(14px);
  backdrop-filter:blur(14px);
  border-bottom-color:var(--hair);
  padding-block:1.1rem;
}
/* backdrop-filter would trap the fixed mobile menu inside the bar */
#hdr.menu-open{
  background:transparent;
  -webkit-backdrop-filter:none;
  backdrop-filter:none;
  border-bottom-color:transparent;
}

/* ═══════════════════════════════
   BUTTONS
═══════════════════════════════ */
.btn{
  position:relative;display:inline-flex;align-items:center;justify-content:center;
  overflow:hidden;isolation:isolate;
  border-radius:999px;border:1px solid transparent;
  padding:.95rem 2.1rem;
  font-family:'Jost',sans-serif;
  font-size:.68rem;font-weight:400;
  letter-spacing:.2em;text-transform:uppercase;
  cursor:pointer;
}
/* resting label slides out to the right … */
.btn-label{
  position:relative;z-index:2;display:inline-block;
  transition:transform .35s cubic-bezier(.16,1,.3,1),opacity .3s ease;
}
/* … while this one slides in from the right, with the arrow */
.btn-hover-label{
  position:absolute;inset:0;z-index:2;
  display:flex;align-items:center;justify-content:center;gap:.6rem;
  transform:translateX(2.6rem);opacity:0;
  transition:transform .35s cubic-bezier(.16,1,.3,1),opacity .3s ease;
}
.btn-hover-label svg{width:13px;height:13px;flex:none}
/* the dot grows into the full button background */
/* sits in the left padding, clear of the label */
.btn-dot{
  position:absolute;left:1rem;top:50%;z-index:1;
  width:9px;height:9px;margin-top:-4.5px;border-radius:50%;
  transition:all .4s cubic-bezier(.16,1,.3,1);
}
.btn:hover .btn-label,.btn:focus-visible .btn-label{transform:translateX(2.6rem);opacity:0}
.btn:hover .btn-hover-label,.btn:focus-visible .btn-hover-label{transform:translateX(0);opacity:1}
.btn:hover .btn-dot,.btn:focus-visible .btn-dot{
  left:0;top:0;width:100%;height:100%;border-radius:999px;transform:scale(1.02);
}
.btn-ghost{background:transparent;border-color:rgba(232,216,190,.3);color:var(--sand)}
.btn-ghost .btn-dot{background:var(--ember)}
.btn-ghost .btn-hover-label{color:var(--dark);font-weight:500}
.btn-primary{background:var(--ember);color:var(--dark);font-weight:500}
.btn-primary .btn-dot{background:var(--sand)}
.btn-primary .btn-hover-label{color:var(--dark)}

/* ═══════════════════════════════
   SERVICES — homepage columns + service-page hero visual
═══════════════════════════════ */
.svc-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:3.5rem;
  align-items:start;
}
.svc-grid .svc-card:nth-child(2){margin-top:7rem;transition-delay:.1s}
.svc-grid .svc-card:nth-child(3){margin-top:3.5rem;transition-delay:.2s}
.svc-card{scroll-margin-top:7rem}

.svc-visual{
  position:relative;display:block;
  aspect-ratio:4/5;
  margin-bottom:2.4rem;
  will-change:transform;
}
/*每 card sits at its own height and angle; hovering the group
   shrinks every card and pushes it outwards (--hx/--hy) */
.cl{
  position:absolute;
  display:flex;flex-direction:column;
  border-radius:10px;overflow:hidden;
  background:#1b120b;
  box-shadow:0 22px 60px rgba(0,0,0,.55);
  transform:rotate(var(--r,0deg));
  transition:transform .65s cubic-bezier(.16,1,.3,1),box-shadow .5s ease;
}
.cl img,.cl video{flex:1;min-height:0;width:100%;object-fit:cover;display:block}
.svc-visual:hover .cl{
  transform:translate(var(--hx,0),var(--hy,0)) scale(.9) rotate(var(--r,0deg));
  box-shadow:0 30px 70px rgba(0,0,0,.65);
}
.cl-chip{
  align-items:center;justify-content:center;
  background:rgba(20,12,6,.92);
  border:1px solid rgba(232,216,190,.16);
}
.cl-chip svg{width:38%;max-width:42px;color:var(--sand);opacity:.85}

/* window chrome bar */
.bar{
  display:flex;align-items:center;gap:4px;flex:none;
  padding:7px 10px;
  border-bottom:1px solid var(--hair);
  background:#23180f;
}
.bar span{width:7px;height:7px;border-radius:50%;background:rgba(232,216,190,.22)}
.bar b{
  margin-left:auto;
  font-family:ui-monospace,'SF Mono',Menlo,monospace;
  font-size:.52rem;font-weight:400;letter-spacing:.06em;
  color:var(--stone-d);
}

/* picture placeholder — swap for a real <img>/<video> */
.ph{
  flex:1;min-height:0;
  display:flex;align-items:center;justify-content:center;
  text-align:center;padding:1rem;
  background:
    repeating-linear-gradient(135deg,rgba(232,216,190,.035) 0 10px,transparent 10px 20px),
    #1b120b;
  outline:1px dashed rgba(232,216,190,.26);outline-offset:-8px;
}
.ph span{
  font-family:ui-monospace,'SF Mono',Menlo,monospace;
  font-size:.58rem;line-height:1.8;letter-spacing:.1em;
  text-transform:uppercase;color:var(--stone-d);
}

.svc-num{
  font-size:.62rem;letter-spacing:.22em;
  text-transform:uppercase;color:var(--stone-d);
  margin-bottom:1rem;
}
.svc-body h3{
  font-size:clamp(1.35rem,1.9vw,1.7rem);
  font-weight:400;line-height:1.2;
  color:var(--sand);margin-bottom:.9rem;
  text-wrap:balance;
}
.svc-body p{font-size:.92rem;line-height:1.75;color:var(--dim);max-width:38ch}
.svc-link{
  display:inline-flex;align-items:center;gap:.6rem;
  margin-top:1.6rem;padding-bottom:.35rem;
  border-bottom:1px solid var(--ember);
  font-size:.68rem;font-weight:400;
  letter-spacing:.2em;text-transform:uppercase;
  color:var(--sand);
}
.svc-link svg{width:12px;height:12px;transition:transform .3s ease}
.svc-link:hover svg{transform:translateX(4px)}

/* ═══════════════════════════════
   HOW IT WORKS — compact steps
═══════════════════════════════ */
.sec-compact{padding-block:6rem}

/* ── hover stack: overlapping cards that fan apart ──
   each card sits at --i * --ov; hovering one straightens and
   lifts it while earlier cards slide left and later ones right.
   (:has selects the earlier cards; browsers without it simply
   skip that half of the motion) */
.stack{
  --cw:300px;--ch:380px;--ov:190px;--push:120px;--lift:30px;
  position:relative;margin:0 auto;
  width:calc(var(--ov) * 2 + var(--cw));
  height:calc(var(--ch) + var(--lift) + 24px);
}
.stack-card{
  position:absolute;top:var(--lift);left:0;
  width:var(--cw);height:var(--ch);
  display:flex;flex-direction:column;justify-content:space-between;
  padding:1.8rem;
  border-radius:18px;
  border:1px solid rgba(18,10,5,.14);
  background:var(--card-bg);color:var(--dark);
  box-shadow:0 18px 50px rgba(0,0,0,.45);
  --x:calc(var(--i) * var(--ov));--dx:0px;--dy:0px;--sc:1;--rn:var(--rot,0deg);
  transform:translate3d(calc(var(--x) + var(--dx)),var(--dy),0) rotate(var(--rn)) scale(var(--sc));
  transition:transform .5s cubic-bezier(.22,1,.36,1),box-shadow .5s ease;
  z-index:calc(var(--i) + 1);
  will-change:transform;
}
.stack-card:nth-child(1){--card-bg:#e8d8be}
.stack-card:nth-child(2){--card-bg:#d9a273}
.stack-card:nth-child(3){--card-bg:#c85a28}
.stack-card:hover,.stack-card:focus-within{
  --dy:calc(-1 * var(--lift));--rn:0deg;--sc:1.035;
  z-index:99;
  box-shadow:0 30px 70px rgba(0,0,0,.6);
  transition:transform .5s cubic-bezier(.22,1.6,.32,1),box-shadow .6s ease;
}
.stack-card:hover ~ .stack-card,
.stack-card:focus-within ~ .stack-card{--dx:var(--push);--dy:14px}
.stack-card:has(~ .stack-card:hover),
.stack-card:has(~ .stack-card:focus-within){--dx:calc(-1 * var(--push));--dy:-14px}

.stack-mid{flex:1;display:flex;flex-direction:column;justify-content:center}
.stack-title{
  font-size:1.45rem;font-weight:400;line-height:1.15;
  letter-spacing:-.01em;text-wrap:balance;
}
.stack-text{
  margin-top:.9rem;
  font-size:.9rem;line-height:1.6;
  color:rgba(18,10,5,.78);
}
.stack-foot{
  display:flex;align-items:center;gap:.7rem;
  padding-top:1rem;
  border-top:1px solid rgba(18,10,5,.18);
}
.stack-mark{
  display:flex;align-items:center;justify-content:center;flex:none;
  width:34px;height:34px;border-radius:50%;
  background:var(--dark);color:var(--sand);
  box-shadow:0 4px 12px rgba(0,0,0,.18);
}
.stack-mark svg{width:14px;height:14px}
.stack-label{
  font-size:.65rem;font-weight:500;
  letter-spacing:.18em;text-transform:uppercase;
}
.stack-num{
  margin-left:auto;
  font-size:.68rem;letter-spacing:.16em;
  font-variant-numeric:tabular-nums;opacity:.6;
}
/* phones and touch screens: plain stacked cards, no fanning */
@media(max-width:900px),(pointer:coarse){
  .stack{width:100%;height:auto;display:grid;gap:1.4rem}
  .stack-card{
    position:static;width:100%;height:auto;min-height:250px;
    transform:none;
  }
  .stack-card:hover,.stack-card:focus-within,
  .stack-card:hover ~ .stack-card,
  .stack-card:has(~ .stack-card:hover){transform:none}
}
.steps-cta{margin-top:3.5rem}

/* ═══════════════════════════════
   SERVICE PAGES
═══════════════════════════════ */
.sec-tight{padding-block:4.5rem}
.svc-hero{
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:5rem;align-items:center;
  padding-top:10rem;padding-bottom:5rem;
}
.svc-hero .svc-visual{margin:0}
.crumb{
  font-size:.62rem;letter-spacing:.22em;
  text-transform:uppercase;color:var(--stone-d);
}
.crumb a:hover{color:var(--sand)}
.svc-hero h1{
  font-size:clamp(2.4rem,5vw,4.4rem);
  font-weight:400;line-height:1.05;letter-spacing:-.02em;
  color:var(--sand);margin:1.2rem 0 1.6rem;
  text-wrap:balance;
}
.svc-hero h1 .ember{color:var(--ember)}
.lead{
  font-size:clamp(1rem,1.4vw,1.2rem);
  line-height:1.7;color:var(--dim);max-width:46ch;
}
.hero-actions{display:flex;flex-wrap:wrap;gap:1rem;margin-top:2.4rem}

.feature-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  border-top:1px solid var(--hair);
  border-left:1px solid var(--hair);
}
.feature{
  padding:2.2rem;
  border-right:1px solid var(--hair);
  border-bottom:1px solid var(--hair);
}
.feature h3{
  font-size:1.1rem;font-weight:400;
  color:var(--sand);margin:.9rem 0 .6rem;
}
.feature p{font-size:.88rem;line-height:1.75;color:var(--dim)}

.examples{
  display:grid;
  grid-template-columns:repeat(var(--cols,3),1fr);
  gap:1.4rem;
}
.ex{
  display:flex;flex-direction:column;
  min-height:220px;
  border-radius:10px;overflow:hidden;
  background:#1b120b;
}
.ex-span2{grid-column:span 2;aspect-ratio:16/10}
.ex-reel{aspect-ratio:9/16;min-height:0}
.ex img,.ex video{flex:1;min-height:0;width:100%;object-fit:cover;display:block}

.packages{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:1.4rem;
}
.pkg{
  display:flex;flex-direction:column;
  padding:2.4rem 2rem;
  border:1px solid var(--hair);
}
.pkg.featured{border-color:rgba(200,90,40,.55);background:rgba(200,90,40,.05)}
.pkg h3{
  font-size:1.4rem;font-weight:400;
  color:var(--sand);margin:.8rem 0 .6rem;
}
.pkg > p{font-size:.88rem;line-height:1.7;color:var(--dim)}
.pkg ul{margin-top:1.6rem;display:grid;gap:.7rem}
.pkg li{
  position:relative;padding-left:1.3rem;
  font-size:.88rem;line-height:1.6;color:var(--sand);
}
.pkg li::before{
  content:'';position:absolute;left:0;top:.72em;
  width:.6rem;height:1px;background:var(--ember);
}
.pkg-foot{
  margin-top:auto;padding-top:2.2rem;
  display:flex;align-items:flex-end;justify-content:space-between;
  gap:1rem 1.2rem;flex-wrap:wrap;
}
.pkg-cost{flex:1 1 auto;min-width:0}
.pkg-price{
  display:block;font-size:1.55rem;line-height:1.1;
  color:var(--sand);letter-spacing:-.005em;
}
.pkg-from{
  display:block;margin-bottom:.45rem;
  font-size:.66rem;letter-spacing:.16em;text-transform:uppercase;color:var(--stone-d);
}
.pkg-per{font-size:.82rem;color:var(--dim);letter-spacing:.02em}
.pkg-note{
  display:block;margin-top:.55rem;
  font-size:.73rem;line-height:1.5;color:var(--stone-d);
}
@media (max-width:560px){
  .pkg-price{font-size:1.4rem}
}

.faq{border-top:1px solid var(--hair);max-width:880px}
.faq details{border-bottom:1px solid var(--hair)}
.faq summary{
  list-style:none;cursor:pointer;position:relative;
  padding:1.6rem 2.5rem 1.6rem 0;
  font-size:1.05rem;font-weight:400;color:var(--sand);
}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{
  content:'+';position:absolute;right:0;top:50%;
  transform:translateY(-50%);
  font-size:1.4rem;font-weight:300;color:var(--ember);
  transition:transform .3s ease;
}
.faq details[open] summary::after{transform:translateY(-50%) rotate(45deg)}
.faq details p{
  padding:0 0 1.6rem;max-width:68ch;
  font-size:.92rem;line-height:1.8;color:var(--dim);
}

.cta-band{
  display:flex;align-items:center;justify-content:space-between;
  gap:2rem;flex-wrap:wrap;
  padding:3.5rem;
  border:1px solid var(--hair);
  background:radial-gradient(ellipse 60% 120% at 100% 50%,rgba(200,90,40,.12),transparent 70%);
}
.cta-band h2{
  font-size:clamp(1.8rem,3.4vw,2.8rem);
  font-weight:400;line-height:1.1;letter-spacing:-.01em;
  color:var(--sand);
}
.cta-band p{margin-top:.8rem;font-size:.92rem;color:var(--dim)}

.also{
  display:grid;grid-template-columns:1fr 1fr;
  border-top:1px solid var(--hair);
}
.also a{
  display:flex;align-items:center;justify-content:space-between;gap:1rem;
  padding:2.2rem 0;
  border-bottom:1px solid var(--hair);
  transition:color .3s;
}
.also a + a{padding-left:2.4rem;border-left:1px solid var(--hair)}
.also a:first-child{padding-right:2.4rem}
.also .svc-num{margin:0 0 .5rem}
.also strong{display:block;font-size:1.2rem;font-weight:400;color:var(--sand)}
.also svg{width:16px;height:16px;flex:none;color:var(--ember);transition:transform .3s ease}
.also a:hover svg{transform:translateX(5px)}

@media(max-width:1100px){
  .svc-grid{gap:2.2rem}
  .svc-hero{gap:3rem}
  .feature-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:900px){
  .svc-grid{grid-template-columns:1fr;gap:5rem}
  .svc-grid .svc-card:nth-child(n){margin-top:0}
  .svc-card{display:grid;grid-template-columns:1fr 1fr;gap:2.5rem;align-items:center}
  .svc-card .svc-visual{margin-bottom:0}
  .svc-hero{grid-template-columns:1fr;padding-top:8rem}
  .svc-hero .svc-visual{max-width:520px;width:100%}
  .examples{--cols:2}
  .packages{grid-template-columns:1fr}
}
@media(max-width:768px){
  .sec-compact,.sec-tight{padding-block:4rem}
  .cta-band{padding:2.4rem 1.6rem}
  .also{grid-template-columns:1fr}
  .also a + a,.also a:first-child{padding-left:0;padding-right:0;border-left:none}
}
@media(max-width:600px){
  .svc-card{grid-template-columns:1fr;gap:2rem}
  .feature-grid{grid-template-columns:1fr}
  .examples{--cols:1}
  .examples.examples--reels{--cols:2}
  .ex-span2{grid-column:auto}
}

/* ═══════════════════════════════
   RESPONSIVE
═══════════════════════════════ */
@media(max-width:1100px){
}
@media(max-width:768px){
  #hdr{padding:1.2rem 1.6rem}
  .stay{display:none}
  .menu-btn{display:block;margin-left:auto}
  .hdr-nav .nav-links{
    position:fixed;inset:0;z-index:-1;
    flex-direction:column;justify-content:center;align-items:flex-start;
    gap:2.2rem;margin:0;padding:0 1.6rem;
    background:var(--dark);
    opacity:0;visibility:hidden;
    transition:opacity .3s ease,visibility .3s ease;
  }
  #hdr.menu-open .nav-links{opacity:1;visibility:visible}
  .hdr-nav .nav-links a{font-size:1.5rem;letter-spacing:.08em}
  .nav-links .nav-contact{display:inline}

  .s1-top{left:1.6rem}
  .s1-scroll{display:none}
  /* centre via auto margins (not translateX) so the JS skew
     transform — translateY(18%) skewY(..) — stays correct */
  .s1-shape{width:78vw;left:0;right:0;margin-inline:auto;bottom:0;transform:translateY(18%)}
  .s1-bottom{grid-template-columns:1fr}
  .s1-title{border-right:none;border-bottom:1px solid var(--line);padding:2rem 1.6rem}
  .s1-desc{padding:2rem 1.6rem}
  #p2,#p3{top:auto;left:50%;right:auto;transform:translateX(-50%) translateY(var(--pslide,0px));bottom:9%;max-width:88vw;width:88vw;text-align:center}
  #p4{width:92vw}
  /* phones: bigger lines and a heavier scrim — the bright
     chestnut core fills the whole screen behind the text */
  #p4 .big{font-size:clamp(1.6rem,7vw,2.4rem)}
  #p4::before{
    inset:-45% -10%;
    background:radial-gradient(ellipse 70% 60% at 50% 50%,
      rgba(13,7,3,.88),
      rgba(13,7,3,.6) 55%,
      transparent 82%);
  }
  .sec{padding:6rem 1.6rem 5rem}
  .sec-head{flex-direction:column;align-items:flex-start;gap:1rem}
  /* Contact */
  .connect-grid{grid-template-columns:1fr}
  .connect-form-wrap{border-right:none;border-bottom:1px solid var(--hair);padding:3rem 1.6rem}
  .connect-social-wrap{padding:3rem 1.6rem}
  /* Footer */
  #footer{padding:6rem 1.6rem 0}
  .foot-statement{margin-bottom:5rem}
  .foot-grid{grid-template-columns:1fr 1fr;gap:3rem}
  .foot-col{padding:0 0 1rem 0}
  .foot-col:not(:last-child){border-right:none;margin-right:0}
  .foot-col-brand{grid-column:1 / -1}
  .foot-bottom{flex-direction:column;align-items:flex-start;gap:1rem}
}

/* ═══════════════════════════════
   REDUCED MOTION
═══════════════════════════════ */
@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto}
  .js .reveal{opacity:1;transform:none;transition:none}
  .logo svg path{animation:none;stroke-dashoffset:0}
  .s1-scroll::after{animation:none}
  .ticker-inner{animation:none}
  .pre-ring{animation-duration:2.4s}
  .cl{transition:none}
  .stack-card{transition:none}
  .stack-card:hover,.stack-card:focus-within{--dy:0px;--sc:1;--rn:var(--rot,0deg)}
  .stack-card:hover ~ .stack-card,.stack-card:has(~ .stack-card:hover){--dx:0px;--dy:0px}
  .btn-label,.btn-hover-label,.btn-dot{transition:none}
  .svc-visual:hover .cl{transform:rotate(var(--r,0deg))}
}

/* ── consent banner ─────────────────────────────────────── */
.consent{
  position:fixed;left:50%;bottom:0;z-index:9000;
  width:min(680px,calc(100% - 32px));
  transform:translate(-50%,calc(100% + 24px));
  opacity:0;transition:transform .42s cubic-bezier(.22,1,.36,1),opacity .3s ease;
  display:flex;align-items:center;gap:22px;flex-wrap:wrap;
  margin-bottom:16px;padding:16px 20px;border-radius:14px;
  background:rgba(18,10,5,.93);
  border:1px solid var(--hair);
  box-shadow:0 26px 60px -22px rgba(0,0,0,.9);
  backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)
}
.consent.is-in{transform:translate(-50%,0);opacity:1}
.consent-text{
  flex:1 1 300px;margin:0;font-size:.82rem;line-height:1.62;color:var(--dim)
}
.consent-text a{color:var(--sand);text-underline-offset:3px}
.consent-acts{display:flex;gap:9px;flex:0 0 auto;margin-left:auto}
.consent-btn{
  font:inherit;font-size:.72rem;letter-spacing:.08em;text-transform:uppercase;
  padding:10px 20px;border-radius:999px;cursor:pointer;
  transition:background .2s ease,border-color .2s ease,color .2s ease
}
.consent-no{
  background:transparent;border:1px solid var(--hair);color:var(--dim)
}
.consent-no:hover{border-color:var(--stone-d);color:var(--sand)}
.consent-yes{
  background:var(--ember);border:1px solid var(--ember);color:#fff
}
.consent-yes:hover{background:#b04d20;border-color:#b04d20}
.consent-btn:focus-visible{outline:2px solid var(--sand);outline-offset:2px}
@media (max-width:560px){
  .consent{gap:14px;padding:15px 17px}
  .consent-acts{margin-left:0;width:100%}
  .consent-btn{flex:1}
}
@media (prefers-reduced-motion:reduce){
  .consent{transition:opacity .2s ease}
  .consent.is-in{transform:translate(-50%,0)}
}
