/* =========================================================
   Experiences - modular cabins
   Palette + type cues taken from the design inspiration:
   warm cream paper, near-black ink, amber window-light accent.
   ========================================================= */

:root{
  /* colour */
  --cream:      #F1EEE9;
  --cream-2:    #E9E5DD;
  --paper:      #FBFAF8;
  --ink:        #1A1A18;
  --ink-2:      #242420;
  --ink-3:      #2E2E29;
  --ink-4:      #3A3A34;
  --muted:      #6E6B64;
  --muted-2:    #8E8A81;
  --line:       rgba(26,26,24,.11);
  --line-2:     rgba(26,26,24,.06);
  --line-dark:  rgba(241,238,233,.14);
  --amber:      #C4883F;
  --amber-2:    #E0B274;

  /* geometry */
  --r-sm: 10px;
  --r:    16px;
  --r-lg: 22px;
  --r-xl: 30px;
  --pill: 999px;

  /* rhythm */
  --shell: 1320px;
  --gutter: clamp(18px, 4vw, 44px);
  --section-y: clamp(64px, 8vw, 118px);

  --ease: cubic-bezier(.22,.61,.36,1);
  --shadow-sm: 0 1px 2px rgba(26,26,24,.05), 0 6px 18px -10px rgba(26,26,24,.18);
  --shadow:    0 20px 48px -26px rgba(26,26,24,.42);
}

/* ---------- reset ---------- */
*,*::before,*::after{ box-sizing:border-box; }

/* The [hidden] attribute must beat any author `display` further down this
   file, or a hidden overlay keeps eating pointer events while invisible. */
[hidden]{ display:none !important; }
html{ -webkit-text-size-adjust:100%; scroll-behavior:smooth; }
@media (prefers-reduced-motion: reduce){ html{ scroll-behavior:auto; } }

body{
  margin:0;
  background:var(--cream);
  color:var(--ink);
  font-family:"Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size:16px;
  line-height:1.6;
  font-weight:400;
  letter-spacing:-.005em;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
  overflow-x:hidden;
}
body.is-locked{ overflow:hidden; }

img,svg{ display:block; max-width:100%; }
img{ height:auto; }
button{ font:inherit; color:inherit; }
a{ color:inherit; text-decoration:none; }
h1,h2,h3,h4,p,figure,dl,dd{ margin:0; }
ul,ol{ margin:0; padding:0; list-style:none; }

:focus-visible{
  outline:2px solid var(--amber);
  outline-offset:3px;
  border-radius:4px;
}

.skip-link{
  position:fixed; top:10px; left:10px; z-index:200;
  background:var(--ink); color:var(--cream);
  padding:10px 16px; border-radius:var(--pill);
  transform:translateY(-160%); transition:transform .2s var(--ease);
}
.skip-link:focus{ transform:none; }

/* ---------- layout ---------- */
.shell{
  width:100%;
  max-width:var(--shell);
  margin-inline:auto;
  padding-inline:var(--gutter);
}
.section{ padding-block:var(--section-y); }

/* ---------- type ---------- */
.h2{
  font-size:clamp(28px, 4.1vw, 52px);
  line-height:1.06;
  letter-spacing:-.033em;
  font-weight:600;
}
.eyebrow{
  font-size:11px;
  letter-spacing:.16em;
  text-transform:uppercase;
  color:var(--muted-2);
  font-weight:500;
  margin-bottom:18px;
}
.lede{ color:var(--muted); font-size:clamp(15px,1.15vw,17px); }

.section-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:28px;
  flex-wrap:wrap;
  margin-bottom:38px;
}
.section-note{
  color:var(--muted);
  max-width:34ch;
  font-size:14.5px;
  padding-bottom:6px;
}

/* ---------- buttons ---------- */
.btn{
  --bg:var(--ink); --fg:var(--cream);
  display:inline-flex; align-items:center; gap:14px;
  background:var(--bg); color:var(--fg);
  padding:9px 9px 9px 22px;
  border:1px solid transparent;
  border-radius:var(--pill);
  font-size:14px; font-weight:500; letter-spacing:-.01em;
  cursor:pointer;
  transition:background .28s var(--ease), color .28s var(--ease),
             border-color .28s var(--ease), transform .28s var(--ease);
  white-space:nowrap;
}
.btn .arrow{
  width:30px; height:30px; flex:none;
  display:grid; place-items:center;
  border-radius:50%;
  background:rgba(255,255,255,.14);
  transition:transform .35s var(--ease), background .28s var(--ease);
}
.btn .arrow svg{ width:15px; height:15px; }
.btn:hover .arrow{ transform:translateX(3px); }
.btn.lg{ padding:12px 12px 12px 26px; font-size:15px; }
.btn.lg .arrow{ width:34px; height:34px; }
.btn.full{ width:100%; justify-content:space-between; }

.btn-light{ --bg:var(--cream); --fg:var(--ink); }
.btn-light .arrow{ background:rgba(26,26,24,.09); }
.btn-light:hover{ background:#fff; }

.btn-dark{ --bg:var(--ink); --fg:var(--cream); }
.btn-dark:hover{ background:var(--ink-3); }

.btn-outline{
  --bg:transparent; --fg:var(--ink);
  border-color:var(--line);
}
.btn-outline .arrow{ background:rgba(26,26,24,.07); }
.btn-outline:hover{ background:var(--ink); color:var(--cream); border-color:var(--ink); }
.btn-outline:hover .arrow{ background:rgba(255,255,255,.14); }

.btn-ghost{
  --bg:rgba(255,255,255,.07); --fg:#fff;
  border-color:rgba(255,255,255,.28);
  padding:12px 26px;
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
}
.btn-ghost:hover{ background:rgba(255,255,255,.16); }

.icon-btn{
  width:38px; height:38px; flex:none;
  display:grid; place-items:center;
  border-radius:50%;
  border:1px solid var(--line);
  background:transparent;
  cursor:pointer;
  transition:background .25s var(--ease), color .25s var(--ease),
             border-color .25s var(--ease), transform .25s var(--ease);
}
.icon-btn svg{ width:15px; height:15px; }
.icon-btn:hover{ background:var(--ink); color:var(--cream); border-color:var(--ink); transform:translateX(2px); }


/* =========================================================
   HEADER
   ========================================================= */
.site-header{
  position:fixed; inset:0 0 auto 0; z-index:90;
  padding-block:16px;
  transition:padding .35s var(--ease), background .35s var(--ease),
             box-shadow .35s var(--ease), backdrop-filter .35s var(--ease);
}
.site-header.is-stuck{
  padding-block:9px;
  background:rgba(20,20,18,.72);
  backdrop-filter:blur(16px) saturate(1.3);
  -webkit-backdrop-filter:blur(16px) saturate(1.3);
  box-shadow:0 1px 0 rgba(255,255,255,.07);
}
.header-inner{
  display:flex; align-items:center; gap:20px;
  justify-content:space-between;
  color:#fff;
}
.brand{ display:inline-flex; align-items:center; gap:10px; flex:none; }
.brand-mark{
  width:32px; height:32px; flex:none;
  display:grid; place-items:center;
  border-radius:9px;
  border:1px solid rgba(255,255,255,.24);
  background:rgba(255,255,255,.09);
}
.brand-mark svg{ width:18px; height:18px; }
.brand-word{
  font-size:17px; font-weight:600; letter-spacing:-.035em;
}
.brand-word .dot{ color:var(--amber-2); }

.nav-pill{
  display:flex; align-items:center; gap:4px;
  padding:5px;
  border-radius:var(--pill);
  border:1px solid rgba(255,255,255,.16);
  background:rgba(255,255,255,.08);
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
}
.nav-pill a{
  padding:8px 15px;
  border-radius:var(--pill);
  font-size:13.5px; font-weight:450;
  color:rgba(255,255,255,.82);
  transition:background .25s var(--ease), color .25s var(--ease);
}
.nav-pill a:hover{ color:#fff; background:rgba(255,255,255,.13); }
.nav-pill a.is-current{ color:var(--ink); background:var(--cream); }

.header-actions{ display:flex; align-items:center; gap:16px; flex:none; }
.header-phone{
  font-size:13.5px; font-weight:500; letter-spacing:-.01em;
  color:rgba(255,255,255,.9);
  transition:color .2s var(--ease);
}
.header-phone:hover{ color:var(--amber-2); }

.burger{
  display:none;
  width:42px; height:42px;
  border-radius:var(--pill);
  border:1px solid rgba(255,255,255,.2);
  background:rgba(255,255,255,.08);
  cursor:pointer;
  padding:0;
  place-items:center;
  align-content:center;
  gap:4px;
}
.burger span{
  display:block; width:16px; height:1.5px; background:#fff; border-radius:2px;
  transition:transform .3s var(--ease), opacity .2s var(--ease);
}
.burger[aria-expanded="true"] span:nth-child(1){ transform:translateY(5.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2){ opacity:0; }
.burger[aria-expanded="true"] span:nth-child(3){ transform:translateY(-5.5px) rotate(-45deg); }

/* drawer */
.drawer{
  position:fixed; top:0; right:0; z-index:95;
  width:min(340px, 86vw); height:100dvh;
  background:var(--ink);
  color:var(--cream);
  padding:88px 26px 26px;
  display:flex; flex-direction:column; justify-content:space-between;
  transform:translateX(105%);
  transition:transform .42s var(--ease);
  border-left:1px solid var(--line-dark);
}
.drawer.is-open{ transform:none; }
.drawer-nav{ display:flex; flex-direction:column; }
.drawer-nav a{
  padding:15px 0;
  font-size:20px; letter-spacing:-.03em; font-weight:500;
  border-bottom:1px solid var(--line-dark);
  transition:color .2s var(--ease), padding-left .25s var(--ease);
}
.drawer-nav a:hover{ color:var(--amber-2); padding-left:6px; }
.drawer-foot{ display:grid; gap:16px; }
.drawer-phone{ font-size:15px; color:rgba(241,238,233,.65); text-align:center; }

.scrim{
  position:fixed; inset:0; z-index:94;
  background:rgba(12,12,10,.55);
  backdrop-filter:blur(3px);
  -webkit-backdrop-filter:blur(3px);
  opacity:0; transition:opacity .35s var(--ease);
}
.scrim.is-on{ opacity:1; }

/* =========================================================
   HERO - scroll-driven frame sequence

   .hero is a tall, empty scroll track; .hero-stage sticks to the viewport
   for its whole length. Scrolling the track therefore advances the canvas
   through the cabin frames without the page appearing to move.
   --scrub is the scroll distance the sequence is spread over.
   ========================================================= */
.hero{
  --scrub: 240vh;
  position:relative;
  height:calc(100svh + var(--scrub));
  color:#fff;
  background:#0B0D11;          /* matches frame 0's sky, so no flash on load */
}
.hero-stage{
  position:sticky; top:0;
  height:100svh;
  min-height:560px;
  display:flex; flex-direction:column;
  overflow:hidden;
  isolation:isolate;
  padding-top:clamp(86px, 11vh, 138px);
}
.hero-media{ position:absolute; inset:0; z-index:-2; }
.hero-poster{
  position:absolute; inset:0;
  width:100%; height:100%;
  object-fit:cover; object-position:center 50%;
}
/* The canvas sits on top of the poster and fades in once frame 0 has
   decoded, so there is never a blank or half-painted stage. Its backing
   store is sized to the stage in device pixels and the cover-fit is done
   in the 2d context, so no object-fit is wanted here. */
.hero-canvas{
  position:absolute; inset:0;
  display:block;
  width:100%; height:100%;
  opacity:0;
  transition:opacity .5s var(--ease);
}
.hero-canvas.is-ready{ opacity:1; }

.hero-veil{
  position:absolute; inset:0;
  background:
    linear-gradient(180deg, rgba(10,12,16,.62) 0%, rgba(10,12,16,.18) 34%, rgba(10,10,9,.30) 62%, rgba(10,10,9,.86) 100%),
    radial-gradient(120% 70% at 50% 0%, rgba(10,12,16,.5), transparent 60%);
}

.hero-body{
  margin-top:auto;            /* pin the copy to the bottom of the stage */
  display:flex; align-items:flex-end; justify-content:space-between;
  gap:36px; flex-wrap:wrap;
  padding-bottom:clamp(64px, 9vh, 104px);
}
/* Copy recedes as the camera pushes in - driven from JS via --hero-copy-fade
   (1 = fully visible). Kept on a compositor-only pair of properties. */
.hero-body{
  opacity:var(--hero-copy-fade, 1);
  transform:translate3d(0, calc((1 - var(--hero-copy-fade, 1)) * -26px), 0);
  will-change:opacity, transform;
}
/* Once it has faded out it must not stay clickable or keyboard-reachable. */
.hero-body.is-gone{ visibility:hidden; }

.hero-copy{ max-width:min(560px, 100%); }
.hero-title{
  font-size:clamp(30px, 4.4vw, 55px);
  line-height:1.04;
  letter-spacing:-.037em;
  font-weight:600;
  margin-bottom:16px;
  text-shadow:0 2px 26px rgba(0,0,0,.3);
}
.hero-sub{
  font-size:clamp(14.5px, 1.15vw, 16.5px);
  color:rgba(255,255,255,.8);
  max-width:46ch;
  margin-bottom:28px;
}
.hero-cta{ display:flex; gap:12px; flex-wrap:wrap; }

.hero-note{
  display:flex; align-items:center; gap:12px;
  font-size:13px; line-height:1.35;
  color:rgba(255,255,255,.82);
  padding-bottom:6px;
}
.hero-note-icon{
  width:44px; height:44px; flex:none;
  display:grid; place-items:center;
  border-radius:50%;
  border:1px solid rgba(255,255,255,.3);
  background:rgba(255,255,255,.09);
  backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);
}
.hero-note-icon svg{ width:20px; height:20px; }

/* ---------- scroll cue + scrub progress ---------- */
.hero-cue{
  position:absolute; left:50%; bottom:26px;
  transform:translateX(-50%);
  display:flex; flex-direction:column; align-items:center; gap:9px;
  pointer-events:none;
  opacity:var(--hero-cue-fade, 1);   /* driven per-frame from JS; no transition */
}
.hero-cue-label{
  font-size:10.5px; letter-spacing:.19em; text-transform:uppercase;
  color:rgba(255,255,255,.6);
}
.hero-cue-rail{
  position:relative;
  width:1px; height:42px;
  background:rgba(255,255,255,.22);
  overflow:hidden;
}
.hero-cue-rail i{
  position:absolute; inset:0;
  background:linear-gradient(180deg, transparent, var(--amber-2), transparent);
  animation:cue-run 2.1s var(--ease) infinite;
}
@keyframes cue-run{
  0%   { transform:translateY(-100%); }
  100% { transform:translateY(100%); }
}

/* Hairline along the foot of the stage that fills with scrub progress. */
.hero-progress{
  position:absolute; left:0; right:0; bottom:0;
  height:2px;
  background:rgba(255,255,255,.12);
}
.hero-progress i{
  display:block; height:100%;
  width:100%;
  background:linear-gradient(90deg, var(--amber), var(--amber-2));
  transform:scaleX(var(--hero-progress, 0));
  transform-origin:left center;
}

/* =========================================================
   APPROACH - the four process cards, on ink
   ========================================================= */
.approach{
  background:var(--ink);
  color:#fff;
  padding-block:clamp(44px, 6vw, 78px);
}
.hero-cards{
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:12px;
}
.hcard{
  position:relative;
  padding:20px 20px 22px;
  border-radius:var(--r);
  border:1px solid rgba(255,255,255,.14);
  background:rgba(22,22,20,.52);
  backdrop-filter:blur(18px) saturate(1.2);
  -webkit-backdrop-filter:blur(18px) saturate(1.2);
  transition:background .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.hcard:hover{ background:rgba(30,30,26,.72); border-color:rgba(255,255,255,.26); transform:translateY(-3px); }
.hcard-ico{ display:block; width:26px; height:26px; margin-bottom:26px; color:rgba(255,255,255,.9); }
.hcard-ico svg{ width:100%; height:100%; }
.hcard h3{ font-size:15.5px; font-weight:550; letter-spacing:-.02em; margin-bottom:7px; }
.hcard p{ font-size:12.8px; line-height:1.5; color:rgba(255,255,255,.62); max-width:30ch; }
.hcard-arrow{
  position:absolute; right:16px; bottom:16px;
  width:28px; height:28px;
  display:grid; place-items:center;
  border-radius:50%;
  background:rgba(255,255,255,.13);
  transition:background .25s var(--ease), transform .3s var(--ease);
}
.hcard-arrow svg{ width:14px; height:14px; }
.hcard:hover .hcard-arrow{ background:var(--cream); color:var(--ink); transform:translateX(2px); }

/* =========================================================
   ABOUT
   ========================================================= */
.about{ background:var(--cream); }
.about-grid{
  display:grid;
  grid-template-columns:minmax(0,.92fr) minmax(0,1.28fr) minmax(0,.9fr);
  gap:clamp(14px, 1.6vw, 22px);
  align-items:start;
}
.about-copy .h2{ margin-bottom:16px; }
.about-copy .lede{ margin-bottom:24px; max-width:40ch; }
.ticks{ display:grid; gap:11px; margin-bottom:30px; }
.ticks li{
  position:relative;
  padding-left:26px;
  font-size:14.5px;
  color:var(--ink-2);
}
.ticks li::before{
  content:"";
  position:absolute; left:0; top:.52em;
  width:13px; height:8px;
  border-left:1.6px solid var(--amber);
  border-bottom:1.6px solid var(--amber);
  transform:rotate(-45deg);
  border-radius:1px;
}
.about-figure{
  border-radius:var(--r-lg);
  overflow:hidden;
  aspect-ratio:4/3.05;
  background:var(--cream-2);
}
.about-figure img{
  width:100%; height:100%; object-fit:cover;
  transition:transform 1.1s var(--ease);
}
.about-figure:hover img{ transform:scale(1.04); }

.about-features{ display:grid; gap:12px; }
.about-features li{
  display:flex; gap:14px;
  padding:20px;
  border-radius:var(--r);
  background:var(--paper);
  border:1px solid var(--line-2);
  transition:border-color .28s var(--ease), transform .28s var(--ease), box-shadow .28s var(--ease);
}
.about-features li:hover{ border-color:var(--line); transform:translateY(-2px); box-shadow:var(--shadow-sm); }
.feat-ico{ width:24px; height:24px; flex:none; color:var(--ink); }
.feat-ico svg{ width:100%; height:100%; }
.about-features h3{ font-size:15px; font-weight:550; letter-spacing:-.02em; margin-bottom:5px; }
.about-features p{ font-size:13px; line-height:1.5; color:var(--muted); }

/* =========================================================
   DISPLAYS
   ========================================================= */
.displays{ background:var(--cream); padding-top:0; }

.chips{ display:flex; gap:8px; flex-wrap:wrap; margin-bottom:26px; }
.chip{
  padding:9px 18px;
  border-radius:var(--pill);
  border:1px solid var(--line);
  background:transparent;
  font-size:13.5px; font-weight:450;
  color:var(--muted);
  cursor:pointer;
  transition:background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.chip:hover{ color:var(--ink); border-color:rgba(26,26,24,.28); }
.chip.is-active{ background:var(--ink); color:var(--cream); border-color:var(--ink); }

.display-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:clamp(14px, 1.6vw, 22px);
}
.display-card{
  display:flex; flex-direction:column;
  border-radius:var(--r-lg);
  background:var(--paper);
  border:1px solid var(--line-2);
  overflow:hidden;
  transition:transform .34s var(--ease), box-shadow .34s var(--ease),
             border-color .34s var(--ease), opacity .3s var(--ease);
}
.display-card:hover{ transform:translateY(-4px); box-shadow:var(--shadow); border-color:var(--line); }
.display-card.is-hidden{ display:none; }

.display-media{ position:relative; aspect-ratio:16/10.4; overflow:hidden; background:var(--cream-2); }
.display-media img{
  width:100%; height:100%; object-fit:cover;
  transition:transform 1s var(--ease);
}
.display-card:hover .display-media img{ transform:scale(1.05); }
.badge{
  position:absolute; top:12px; left:12px;
  padding:6px 12px;
  border-radius:var(--pill);
  background:rgba(20,20,18,.62);
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
  color:#fff;
  font-size:11px; letter-spacing:.04em; font-weight:450;
}

.display-body{ padding:20px; display:flex; flex-direction:column; gap:16px; flex:1; }
.display-title{ display:flex; align-items:baseline; justify-content:space-between; gap:12px; }
.display-title h3{ font-size:19px; font-weight:600; letter-spacing:-.028em; }
.display-title sup{ font-size:10px; font-weight:450; color:var(--muted-2); margin-left:3px; top:-.55em; }
.display-tag{
  font-size:11px; letter-spacing:.08em; text-transform:uppercase;
  color:var(--muted-2);
}

.specs{
  display:grid; grid-template-columns:repeat(3, 1fr);
  border-top:1px solid var(--line-2);
  border-bottom:1px solid var(--line-2);
  padding-block:13px;
  gap:8px;
}
.specs div + div{ border-left:1px solid var(--line-2); padding-left:12px; }
.specs dt{ font-size:11px; color:var(--muted-2); letter-spacing:.02em; margin-bottom:3px; }
.specs dd{ font-size:14px; font-weight:500; letter-spacing:-.015em; }

.display-foot{
  display:flex; align-items:center; justify-content:space-between;
  gap:12px; margin-top:auto;
}
.price{ font-size:18px; font-weight:600; letter-spacing:-.03em; }
.price span{ font-size:12px; font-weight:400; color:var(--muted-2); margin-right:5px; letter-spacing:0; }

/* Sixth tile: there are five photographed homes, so the last slot invites a
   custom brief rather than repeating a photograph. */
.display-cta{
  background:var(--ink);
  border-color:var(--ink);
  color:var(--cream);
}
.display-cta .display-body{ justify-content:center; gap:14px; padding:26px; }
.display-cta .cta-ico{ width:28px; height:28px; color:var(--amber-2); }
.display-cta .cta-ico svg{ width:100%; height:100%; }
.display-cta h3{
  font-size:clamp(21px, 2.1vw, 27px);
  font-weight:600; letter-spacing:-.032em; line-height:1.1;
}
.display-cta p{ font-size:13.4px; line-height:1.55; color:rgba(241,238,233,.6); }
.display-cta .btn{ align-self:flex-start; margin-top:4px; }
.display-cta:hover{ background:var(--ink-2); border-color:var(--ink-2); }

.empty-note{ color:var(--muted); text-align:center; padding-top:28px; font-size:14.5px; }

/* =========================================================
   STATS
   ========================================================= */
.stats-section{ background:var(--cream); padding-block:0 var(--section-y); }
.stats{
  display:grid; grid-template-columns:repeat(4, 1fr);
  background:var(--ink);
  color:var(--cream);
  border-radius:var(--r-xl);
  padding:clamp(24px, 3vw, 40px) clamp(18px, 2.4vw, 34px);
  gap:clamp(16px, 2vw, 30px);
}
.stats li{ display:flex; gap:14px; align-items:flex-start; }
.stats li + li{ border-left:1px solid var(--line-dark); padding-left:clamp(16px, 2vw, 30px); }
.stat-ico{ width:26px; height:26px; flex:none; color:rgba(241,238,233,.72); margin-top:4px; }
.stat-ico svg{ width:100%; height:100%; }
.stat-num{
  font-size:clamp(24px, 2.9vw, 36px);
  font-weight:600; letter-spacing:-.04em; line-height:1.1;
  font-variant-numeric:tabular-nums;
}
.stat-label{ font-size:12.5px; color:rgba(241,238,233,.55); line-height:1.35; max-width:16ch; }

/* =========================================================
   PROCESS
   ========================================================= */
.process{ background:var(--cream); padding-top:0; }
.process .h2{ margin-bottom:34px; }
.steps{
  display:grid;
  grid-template-columns:repeat(6, 1fr);
  gap:10px;
  counter-reset:step;
}
.step{
  position:relative;
  padding:20px 18px 22px;
  border-radius:var(--r);
  background:var(--paper);
  border:1px solid var(--line-2);
  transition:background .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.step:hover{ border-color:var(--line); transform:translateY(-3px); }
.step + .step::before{
  content:"";
  position:absolute; left:-9px; top:50%;
  width:8px; height:1px;
  background:rgba(26,26,24,.2);
}
.step-no{
  display:block;
  font-size:11px; letter-spacing:.1em;
  color:var(--amber);
  font-weight:500;
  margin-bottom:24px;
}
.step h3{ font-size:14.5px; font-weight:550; letter-spacing:-.02em; margin-bottom:7px; }
.step p{ font-size:12.6px; line-height:1.5; color:var(--muted); }

/* =========================================================
   GALLERIES
   ========================================================= */
.galleries{ background:var(--cream); padding-top:0; }
.gallery-grid{
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  grid-auto-rows:minmax(0, 220px);
  gap:clamp(10px, 1.2vw, 16px);
}
.gtile{
  position:relative;
  border:0; padding:0; margin:0;
  border-radius:var(--r-lg);
  overflow:hidden;
  cursor:pointer;
  background:var(--cream-2);
  display:block;
}
.gtile-lg{ grid-column:span 2; grid-row:span 2; }
.gtile img{
  width:100%; height:100%; object-fit:cover;
  transition:transform 1.1s var(--ease), filter .4s var(--ease);
}
.gtile::after{
  content:"";
  position:absolute; inset:0;
  background:linear-gradient(180deg, transparent 42%, rgba(12,12,10,.72) 100%);
  opacity:.85;
  transition:opacity .35s var(--ease);
}
.gtile:hover img{ transform:scale(1.055); }
.gtile:hover::after{ opacity:1; }
.gtile-meta{
  position:absolute; left:0; right:0; bottom:0; z-index:2;
  display:flex; flex-direction:column; gap:2px;
  padding:18px;
  text-align:left; color:#fff;
  transform:translateY(4px);
  transition:transform .35s var(--ease);
}
.gtile:hover .gtile-meta{ transform:none; }
.gtile-meta b{ font-size:15px; font-weight:550; letter-spacing:-.022em; }
.gtile-meta em{ font-style:normal; font-size:12px; color:rgba(255,255,255,.66); }

/* =========================================================
   TESTIMONIALS
   ========================================================= */
.testimonials{
  background:var(--ink);
  color:var(--cream);
}
.testimonials .h2{ color:var(--cream); }

/* Centred header, then three columns that scroll on their own behind a
   mask so cards fade in and out at the top and bottom of the band. */
.t-head{
  display:flex; flex-direction:column; align-items:center; gap:14px;
  max-width:36rem; margin-inline:auto; text-align:center;
  margin-bottom:clamp(30px, 4vw, 52px);
}
.t-badge{
  padding:6px 15px;
  border-radius:var(--r-sm);
  border:1px solid var(--line-dark);
  font-size:11px; letter-spacing:.16em; text-transform:uppercase;
  color:rgba(241,238,233,.66);
}
.t-sub{ font-size:14.5px; color:rgba(241,238,233,.55); }

.t-marquee{
  display:flex; justify-content:center;
  gap:20px;
  height:min(620px, 76vh);
  overflow:hidden;
  -webkit-mask-image:linear-gradient(to bottom, transparent, #000 18%, #000 82%, transparent);
          mask-image:linear-gradient(to bottom, transparent, #000 18%, #000 82%, transparent);
}
.t-col{ flex:1 1 0; min-width:0; max-width:352px; overflow:hidden; }
.t-col-inner{
  display:flex; flex-direction:column; gap:20px;
  animation:t-scroll var(--dur, 46s) linear infinite;
  will-change:transform;
}
/* The card list is cloned once by script.js, so travelling half the stack
   plus half a gap lands exactly on the copy and the loop is seamless. */
@keyframes t-scroll{
  from{ transform:translateY(0); }
  to  { transform:translateY(calc(-50% - 10px)); }
}
.t-col:hover .t-col-inner{ animation-play-state:paused; }

.t-card{
  display:flex; flex-direction:column;
  gap:18px;
  padding:26px 26px 24px;
  border-radius:var(--r-lg);
  background:var(--ink-2);
  border:1px solid var(--line-dark);
  box-shadow:0 18px 40px -30px rgba(0,0,0,.9);
  transition:background .3s var(--ease), border-color .3s var(--ease);
}
.t-card:hover{ background:var(--ink-3); border-color:rgba(241,238,233,.22); }
.t-card p{
  font-size:14.5px; line-height:1.62;
  color:rgba(241,238,233,.86);
}
.t-card footer{
  display:flex; align-items:center; gap:12px;
  padding-top:18px;
  border-top:1px solid var(--line-dark);
  margin-top:auto;
}
.t-avatar{
  width:40px; height:40px; flex:none;
  display:grid; place-items:center;
  border-radius:50%;
  background:rgba(241,238,233,.1);
  border:1px solid var(--line-dark);
  font-size:12.5px; font-weight:600; letter-spacing:.02em;
  color:rgba(241,238,233,.85);
}
.t-card footer b{ display:block; font-size:14px; font-weight:550; letter-spacing:-.02em; }
.t-card footer em{ font-style:normal; font-size:12.3px; color:rgba(241,238,233,.5); }

/* Without motion the band becomes a plain scrollable list of all nine. */
@media (prefers-reduced-motion: reduce){
  .t-marquee{ height:auto; max-height:none; -webkit-mask-image:none; mask-image:none; }
  .t-col-inner{ animation:none; }
  .t-col{ overflow:visible; }
}

/* =========================================================
   CONTACT
   ========================================================= */
.contact{ background:var(--cream); }
.contact-panel{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1.15fr) minmax(0,.62fr);
  gap:clamp(22px, 3vw, 44px);
  align-items:center;
  background:var(--ink);
  color:var(--cream);
  border-radius:var(--r-xl);
  padding:clamp(24px, 3vw, 44px);
}
.contact-copy .h2{
  color:var(--cream);
  font-size:clamp(26px, 2.9vw, 41px);
  margin-bottom:14px;
}
.contact-copy p{ font-size:14.5px; color:rgba(241,238,233,.6); max-width:34ch; margin-bottom:22px; }
.contact-list{ display:grid; gap:9px; font-size:14px; }
.contact-list li{ color:rgba(241,238,233,.75); }
.contact-list a:hover{ color:var(--amber-2); }

.contact-form{ display:grid; gap:12px; }
.field-row{ display:grid; grid-template-columns:repeat(3, 1fr); gap:12px; }
.field{ display:block; }
.field > span{
  display:block;
  font-size:11px; letter-spacing:.08em; text-transform:uppercase;
  color:rgba(241,238,233,.42);
  margin-bottom:7px;
}
.field input, .field textarea{
  width:100%;
  padding:13px 16px;
  border-radius:var(--r-sm);
  border:1px solid var(--line-dark);
  background:rgba(241,238,233,.05);
  color:var(--cream);
  font:inherit; font-size:14px;
  transition:border-color .25s var(--ease), background .25s var(--ease);
  resize:vertical;
}
.field input::placeholder, .field textarea::placeholder{ color:rgba(241,238,233,.32); }
.field input:focus, .field textarea:focus{
  outline:none;
  border-color:rgba(241,238,233,.4);
  background:rgba(241,238,233,.09);
}
.field.has-error input, .field.has-error textarea{ border-color:#C8604A; }

.form-foot{ display:flex; align-items:center; gap:16px; flex-wrap:wrap; margin-top:4px; }
.form-note{ font-size:11.5px; color:rgba(241,238,233,.38); max-width:26ch; line-height:1.45; }
.form-status{ font-size:13px; color:var(--amber-2); min-height:1.2em; }

.contact-figure{
  border-radius:var(--r-lg);
  overflow:hidden;
  aspect-ratio:3/4;
  background:var(--ink-3);
}
.contact-figure img{ width:100%; height:100%; object-fit:cover; }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer{
  background:var(--ink);
  color:var(--cream);
  padding-block:clamp(40px, 5vw, 64px) 26px;
  border-top:1px solid var(--line-dark);
}
.footer-grid{
  display:grid;
  grid-template-columns:minmax(0,1.5fr) repeat(3, minmax(0,1fr));
  gap:clamp(24px, 3vw, 48px);
  padding-bottom:clamp(32px, 4vw, 52px);
}
.footer-brand .brand{ margin-bottom:16px; color:var(--cream); }
.footer-brand .brand-mark{ border-color:var(--line-dark); background:rgba(241,238,233,.07); }
.footer-brand p{ font-size:13.5px; color:rgba(241,238,233,.5); max-width:32ch; line-height:1.6; }
.footer-col{ display:flex; flex-direction:column; gap:10px; }
.footer-col h4{
  font-size:11px; letter-spacing:.14em; text-transform:uppercase;
  color:rgba(241,238,233,.4); font-weight:500;
  margin-bottom:4px;
}
.footer-col a, .footer-col span{ font-size:13.6px; color:rgba(241,238,233,.72); }
.footer-col a{ transition:color .2s var(--ease); width:fit-content; }
.footer-col a:hover{ color:var(--amber-2); }

.footer-bar{
  display:flex; align-items:center; justify-content:space-between;
  gap:18px; flex-wrap:wrap;
  padding-top:22px;
  border-top:1px solid var(--line-dark);
  font-size:12.5px; color:rgba(241,238,233,.42);
}
.footer-social{ display:flex; gap:8px; }
.footer-social a{
  width:34px; height:34px;
  display:grid; place-items:center;
  border-radius:50%;
  border:1px solid var(--line-dark);
  color:rgba(241,238,233,.7);
  transition:background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.footer-social svg{ width:16px; height:16px; }
.footer-social a:hover{ background:var(--cream); color:var(--ink); border-color:var(--cream); }
.footer-legal{ display:flex; gap:16px; }
.footer-legal a:hover{ color:var(--cream); }

/* =========================================================
   LIGHTBOX
   ========================================================= */
.lightbox{
  position:fixed; inset:0; z-index:120;
  display:grid;
  grid-template-columns:auto 1fr auto;
  align-items:center;
  gap:clamp(8px, 2vw, 26px);
  padding:clamp(16px, 4vw, 48px);
  background:rgba(10,10,9,.94);
  backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);
  opacity:0;
  transition:opacity .3s var(--ease);
}
.lightbox.is-open{ opacity:1; }
.lb-stage{
  display:grid; gap:14px; justify-items:center;
  min-width:0;
}
.lb-stage img{
  max-width:100%;
  max-height:calc(100dvh - 190px);
  width:auto;
  border-radius:var(--r);
  object-fit:contain;
}
.lb-stage figcaption{
  color:rgba(255,255,255,.72);
  font-size:13.5px; text-align:center;
}
.lb-nav, .lb-close{
  width:46px; height:46px;
  display:grid; place-items:center;
  border-radius:50%;
  border:1px solid rgba(255,255,255,.22);
  background:rgba(255,255,255,.07);
  color:#fff; cursor:pointer;
  transition:background .25s var(--ease), color .25s var(--ease);
}
.lb-nav svg, .lb-close svg{ width:17px; height:17px; }
.lb-nav:hover, .lb-close:hover{ background:#fff; color:var(--ink); }
.lb-close{ position:absolute; top:clamp(14px,3vw,26px); right:clamp(14px,3vw,26px); z-index:2; }

/* =========================================================
   REVEAL
   ========================================================= */
.reveal{
  opacity:0;
  transform:translateY(20px);
  transition:opacity .8s var(--ease), transform .8s var(--ease);
  will-change:opacity, transform;
}
.reveal.is-in{ opacity:1; transform:none; }
@media (prefers-reduced-motion: reduce){
  .reveal{ opacity:1; transform:none; transition:none; }
  *,*::before,*::after{ animation-duration:.01ms !important; transition-duration:.01ms !important; }

  /* No scrub: collapse the track to a single screen and hold frame 0.
     script.js also skips downloading the frame set entirely in this mode. */
  .hero{ height:auto; }
  .hero-stage{ position:relative; height:auto; min-height:100svh; }
  .hero-body{ opacity:1; transform:none; }
  .hero-cue,
  .hero-progress{ display:none; }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1180px){
  .nav-pill a{ padding:8px 12px; font-size:13px; }
  .header-phone{ display:none; }
  .about-grid{ grid-template-columns:1fr 1fr; }
  .about-features{ grid-column:1 / -1; grid-template-columns:repeat(3,1fr); display:grid; }
  .steps{ grid-template-columns:repeat(3, 1fr); gap:12px; }
  .step + .step::before{ display:none; }
  .contact-figure{ display:none; }
  .contact-panel{ grid-template-columns:minmax(0,.9fr) minmax(0,1.3fr); }
  /* Not enough room beside the hero copy - the note would sit on the edge. */
  .hero-note{ display:none; }
}

@media (max-width: 980px){
  .nav-pill{ display:none; }
  .burger{ display:grid; }
  .hero-cards{ grid-template-columns:repeat(2, 1fr); }
  .display-grid{ grid-template-columns:repeat(2, 1fr); }
  .stats{ grid-template-columns:repeat(2, 1fr); row-gap:26px; }
  .stats li:nth-child(odd){ border-left:0; padding-left:0; }
  .stats li:nth-child(3), .stats li:nth-child(4){
    padding-top:26px; border-top:1px solid var(--line-dark);
  }
  .t-col-lg{ display:none; }
  .gallery-grid{ grid-auto-rows:minmax(0, 190px); }
  .footer-grid{ grid-template-columns:1fr 1fr; }
}

@media (max-width: 760px){
  :root{ --r-xl:22px; --r-lg:18px; }
  /* Shorter track: a phone needs far less travel to read the same motion,
     and the frame set served here is the small one. */
  .hero{ --scrub:150vh; }
  .hero-stage{ padding-top:96px; min-height:520px; }
  /* Match the canvas's starting crop bias, so the fade-in doesn't jump. */
  .hero-poster{ object-position:62% 50%; }
  .hero-body{ padding-bottom:56px; }
  .hero-cue{ display:none; }
  .hero-cards{ grid-template-columns:1fr; }
  .hcard{ display:grid; grid-template-columns:auto 1fr; column-gap:16px; padding:16px 54px 16px 16px; }
  .hcard-ico{ margin-bottom:0; grid-row:span 2; align-self:center; }
  .hcard h3{ margin-bottom:3px; }
  .hcard p{ max-width:none; }
  .hcard-arrow{ top:50%; bottom:auto; transform:translateY(-50%); }
  .hcard:hover .hcard-arrow{ transform:translateY(-50%) translateX(2px); }

  .about-grid{ grid-template-columns:1fr; }
  .about-features{ grid-template-columns:1fr; }
  .about-figure{ aspect-ratio:16/10; }

  .display-grid{ grid-template-columns:1fr; }
  .steps{ grid-template-columns:1fr 1fr; }
  .section-head{ gap:18px; }

  .gallery-grid{
    grid-template-columns:1fr 1fr;
    grid-auto-rows:minmax(0, 160px);
  }
  .gtile-lg{ grid-column:span 2; grid-row:span 2; }
  
  .t-col-md{ display:none; }
  .t-marquee{ height:min(560px, 82vh); }

  .contact-panel{ grid-template-columns:1fr; }
  .field-row{ grid-template-columns:1fr; }
  .footer-grid{ grid-template-columns:1fr; gap:28px; }
  .footer-bar{ justify-content:flex-start; }
  .lightbox{ grid-template-columns:1fr; grid-template-rows:1fr auto; }
  .lb-nav{ position:static; }
  .lb-prev{ grid-column:1; grid-row:2; justify-self:start; }
  .lb-next{ grid-column:1; grid-row:2; justify-self:end; }
  .lb-stage{ grid-column:1; grid-row:1; }
  .lb-stage img{ max-height:calc(100dvh - 220px); }
}

@media (max-width: 620px){
  /* The CTA lives in the drawer at this size - keep the bar to brand + burger. */
  .header-actions .btn{ display:none; }
  .header-actions{ gap:0; }
}

@media (max-width: 460px){
  .steps{ grid-template-columns:1fr; }
  .specs div + div{ padding-left:10px; }
  .brand-word{ font-size:16px; }
  .btn.lg{ width:100%; justify-content:space-between; }
  .hero-cta{ width:100%; }
  .btn-ghost{ width:100%; justify-content:center; }
}
