/* Outfit — self-hosted (variable weight 100–900) so the page needs no external
   font request and the Content-Security-Policy can keep font-src at 'self'. */
@font-face{
  font-family:'Outfit';font-style:normal;font-weight:100 900;font-display:swap;
  src:url('/assets/fonts/outfit-latin.woff2') format('woff2');
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face{
  font-family:'Outfit';font-style:normal;font-weight:100 900;font-display:swap;
  src:url('/assets/fonts/outfit-latin-ext.woff2') format('woff2');
  unicode-range:U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20CF,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

/* ==========================================================================
   Golden Key Property & Construction — North London
   Archetype I: document / long-form dossier
   Palette: black · gold · graphite grey   Type: Outfit
   ========================================================================== */

:root{
  --ink:        #0A0A0B;
  --ink-1:      #0F0F11;
  --ink-2:      #15161A;
  --graphite:   #1B1C21;
  --graphite-2: #232429;
  --line:       #26272D;
  --line-2:     #35363E;

  --white:      #F4F3F0;
  --grey:       #9FA0A7;
  --grey-d:     #7E7F88;

  --gold:       #D6AC4A;
  --gold-hi:    #F4E3A6;
  --gold-dp:    #8E6F20;
  --gold-soft:  rgba(214,172,74,.16);
  --gold-line:  rgba(214,172,74,.30);

  --purple:     #8A5CD6;
  --purple-hi:  #B79BF0;
  --purple-dp:  #4A2E7A;
  --purple-soft:rgba(138,92,214,.15);
  --purple-line:rgba(138,92,214,.42);

  --metal: linear-gradient(112deg,#8E6F20 0%,#D6AC4A 20%,#F6E7B0 44%,#D6AC4A 66%,#8A6A1C 100%);
  --royal: linear-gradient(112deg,#4A2E7A 0%,#8A5CD6 42%,#B79BF0 60%,#7347BE 100%);

  --page: 1240px;
  --measure: 760px;
  --pad: clamp(20px, 5vw, 56px);

  --ease: cubic-bezier(.22,.61,.36,1);
}

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

html{ -webkit-text-size-adjust:100%; }

body{
  margin:0;
  background:var(--ink);
  color:var(--grey);
  font-family:'Outfit',system-ui,-apple-system,'Segoe UI',sans-serif;
  font-size:17px;
  font-weight:300;
  line-height:1.75;
  letter-spacing:.005em;
  overflow-x:clip;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}

/* subtle film grain — unifies the photography */
body::after{
  content:'';
  position:fixed; inset:0; z-index:9;
  pointer-events:none; opacity:.04;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E");
}

img{ max-width:100%; display:block; }
a{ color:inherit; }

::selection{ background:var(--gold); color:#0A0A0B; }

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

/* ---------- layout primitives ------------------------------------------- */

.wrap{
  width:100%;
  max-width:var(--page);
  margin-inline:auto;
  padding-inline:var(--pad);
}

/* the document column — left aligned so it sits under the nav wordmark */
.measure{ max-width:var(--measure); }

section{ position:relative; }

.band{ padding-block:clamp(72px,9vw,128px); }
.band--graphite{ background:var(--graphite); }
.band--ink1{ background:var(--ink-1); }

.rule{ height:1px; background:var(--line); border:0; margin:0; }
.rule--gold{ background:linear-gradient(90deg,var(--gold-line),transparent 62%); }

/* ---- purple accent lines (contrast against the gold) ------------------- */
/* graphite bands read as the "purple" sections, ink bands as the "gold" */
.band--graphite .eyebrow::before{
  background:linear-gradient(90deg,var(--purple-hi),transparent);
}
.band--graphite .eyebrow{ color:var(--purple-hi); }
.band--graphite .numeral{ -webkit-text-stroke:1px var(--purple-line); }
.band--graphite::before{
  content:''; position:absolute; top:0; left:0; right:0; height:2px;
  background:linear-gradient(90deg,var(--purple) 0%,var(--purple-line) 30%,transparent 70%);
}
.band{ position:relative; }

/* ---------- type -------------------------------------------------------- */

h1,h2,h3,h4{
  color:var(--white);
  font-weight:300;
  letter-spacing:-.028em;
  line-height:1.04;
  margin:0;
}

.display{
  font-size:clamp(2.55rem, 6.4vw, 5.1rem);
  font-weight:200;
  line-height:.98;
  letter-spacing:-.038em;
  max-width:15ch;
}

.h2{
  font-size:clamp(1.85rem, 3.6vw, 3rem);
  font-weight:250;
  letter-spacing:-.032em;
  max-width:18ch;
}

.h3{
  font-size:clamp(1.15rem,1.9vw,1.42rem);
  font-weight:500;
  letter-spacing:-.018em;
  line-height:1.25;
}

.eyebrow{
  display:flex; align-items:flex-start; gap:14px;
  font-size:.66rem; font-weight:600;
  letter-spacing:.34em; text-transform:uppercase;
  color:var(--gold);
  margin:0 0 22px;
}
.eyebrow::before{
  content:''; width:34px; height:1px; flex:none;
  margin-top:.62em;
  background:linear-gradient(90deg,var(--gold),transparent);
}

.lede{
  font-size:clamp(1.06rem,1.6vw,1.3rem);
  font-weight:300;
  line-height:1.66;
  color:#C8C9CE;
  max-width:54ch;
}

p{ margin:0 0 1.15em; }
p:last-child{ margin-bottom:0; }

.gold{ color:var(--gold); }

.metal{
  background:var(--metal);
  -webkit-background-clip:text; background-clip:text;
  color:transparent;
  -webkit-box-decoration-break:clone; box-decoration-break:clone;
}

.small{ font-size:.86rem; line-height:1.6; color:var(--grey-d); }

/* ---------- hero planning strap ----------------------------------------- */
.hero-planning{
  display:flex; align-items:center; gap:16px;
  margin:0 0 26px;
  font-weight:600; line-height:1.08;
  font-size:clamp(1.5rem, 3.4vw, 2.5rem);
  letter-spacing:-.012em;
}
.hpin{
  flex:none; width:clamp(42px,5vw,54px); height:clamp(42px,5vw,54px);
  display:grid; place-items:center; border-radius:50%;
  background:var(--gold-soft); border:1px solid var(--gold-line);
  box-shadow:0 0 0 0 rgba(214,172,74,.45);
  animation:pin-pulse 2.8s var(--ease) infinite;
}
.hpin svg{ width:52%; height:52%; stroke:var(--gold); stroke-width:1.5; fill:none; stroke-linecap:round; stroke-linejoin:round; }
.hpin-txt{
  background:var(--metal); background-size:220% auto;
  -webkit-background-clip:text; background-clip:text; color:transparent;
  -webkit-box-decoration-break:clone; box-decoration-break:clone;
  animation:planning-shine 6s linear infinite;
}
.hpin-txt b{ font-weight:800; }
@keyframes planning-shine{ to{ background-position:220% center; } }
@keyframes pin-pulse{
  0%{ box-shadow:0 0 0 0 rgba(214,172,74,.40); }
  70%{ box-shadow:0 0 0 14px rgba(214,172,74,0); }
  100%{ box-shadow:0 0 0 0 rgba(214,172,74,0); }
}

/* ---------- hero crest logo (client-supplied) --------------------------- */
.hero-logo{
  display:block; width:auto; height:auto;
  max-width:min(420px, 72vw);
  margin:0 0 clamp(26px, 4vw, 42px);
  filter:drop-shadow(0 10px 34px rgba(0,0,0,.55));
  animation:logo-float 6.5s var(--ease) infinite;
}
@keyframes logo-float{ 0%,100%{ transform:translateY(0); } 50%{ transform:translateY(-7px); } }

/* ---------- buttons ----------------------------------------------------- */

.btn{
  display:inline-flex; align-items:center; gap:11px;
  padding:15px 28px;
  font-family:inherit; font-size:.79rem; font-weight:600;
  letter-spacing:.17em; text-transform:uppercase;
  text-decoration:none; cursor:pointer;
  border:1px solid var(--line-2);
  color:var(--white); background:transparent;
  border-radius:2px;
  transition:border-color .35s var(--ease), color .35s var(--ease), background .35s var(--ease), transform .35s var(--ease);
}
.btn svg{ width:15px; height:15px; stroke:currentColor; stroke-width:1.6; fill:none; flex:none; }
.btn:hover{ border-color:var(--gold); color:var(--gold); transform:translateY(-2px); }

.btn--gold{
  background:var(--metal);
  border-color:transparent;
  color:#0A0A0B;
}
.btn--gold:hover{ color:#0A0A0B; filter:brightness(1.07); transform:translateY(-2px); }

.btn-row{ display:flex; flex-wrap:wrap; gap:14px; margin-top:38px; }

/* ---------- header ------------------------------------------------------ */

#progress{
  position:fixed; top:0; left:0; z-index:60;
  height:2px; width:0;
  background:var(--metal);
  pointer-events:none;
}

.site-head{
  position:sticky; top:0; z-index:50;
  background:rgba(10,10,11,.86);
  border-bottom:1px solid transparent;
  transition:background .4s var(--ease), border-color .4s var(--ease);
}
.site-head.is-stuck{
  background:rgba(10,10,11,.96);
  border-bottom-color:var(--line);
}
@supports (backdrop-filter:blur(8px)){
  .site-head{ backdrop-filter:blur(14px) saturate(140%); }
}

.head-in{
  display:flex; align-items:center; gap:20px;
  min-height:74px;
}

.brand{
  display:flex; align-items:center; gap:15px;
  text-decoration:none; background:none; border:0; padding:0;
  cursor:pointer; font-family:inherit;
  margin-right:auto;
}
.brand-logo{
  height:clamp(44px,5.2vw,56px); width:auto; display:block;
  filter:drop-shadow(0 2px 8px rgba(0,0,0,.45));
}

/* ---- dynamic logo mark ------------------------------------------------- */
.brand-mark{
  position:relative; flex:none;
  width:58px; height:58px;
  display:inline-flex; align-items:center; justify-content:center;
  border-radius:50%;
  isolation:isolate;
}
/* client emblem already carries its own holographic ring — only a soft glow pool */
.brand-mark::after{
  content:''; position:absolute; inset:-2px; z-index:-1;
  border-radius:50%;
  background:radial-gradient(circle at 50% 42%, var(--purple-soft), transparent 70%);
  animation:halo-breathe 3.6s var(--ease) infinite;
}
.brand-mark img{
  width:56px; height:auto; flex:none;
  position:relative;
  filter:drop-shadow(0 2px 7px rgba(138,92,214,.4));
  animation:mark-float 4.4s var(--ease) infinite;
}
.brand:hover .brand-mark img{ animation-play-state:paused; transform:scale(1.06) rotate(-3deg); transition:transform .4s var(--ease); }

@keyframes halo-spin{ to{ transform:rotate(360deg); } }
@keyframes halo-breathe{ 0%,100%{ opacity:.55; } 50%{ opacity:1; } }
@keyframes mark-float{ 0%,100%{ transform:translateY(0) rotate(0); } 50%{ transform:translateY(-2.5px) rotate(1.5deg); } }

@media (prefers-reduced-motion:reduce){
  .brand-mark::before,.brand-mark::after,.brand-mark img{ animation:none !important; }
}

.brand-text{ display:flex; flex-direction:column; line-height:1; text-align:left; }
.brand-name{
  font-size:1.14rem; font-weight:700; letter-spacing:.11em;
  text-transform:uppercase; color:var(--white);
  background:var(--metal);
  -webkit-background-clip:text; background-clip:text; color:transparent;
}
.brand-sub{
  font-size:.56rem; font-weight:600; letter-spacing:.26em;
  text-transform:uppercase; color:var(--purple-hi); margin-top:6px;
}

.nav{ display:flex; align-items:center; gap:clamp(18px,2vw,30px); }
.nav a{
  font-size:.74rem; font-weight:500; letter-spacing:.15em;
  text-transform:uppercase; text-decoration:none; color:var(--grey);
  position:relative; padding-block:6px; white-space:nowrap;
  transition:color .3s var(--ease);
}
.nav a::after{
  content:''; position:absolute; left:0; bottom:0;
  width:0; height:1px; background:var(--gold);
  transition:width .35s var(--ease);
}
.nav a:hover{ color:var(--white); }
.nav a:hover::after,
.nav a.is-current::after{ width:100%; }
.nav a.is-current{ color:var(--gold); }

.head-tel{
  display:inline-flex; align-items:center; gap:9px;
  padding:11px 20px; border:1px solid var(--gold-line); border-radius:2px;
  font-size:.78rem; font-weight:500; letter-spacing:.08em;
  color:var(--gold); text-decoration:none;
  transition:background .3s var(--ease), color .3s var(--ease);
}
.head-tel svg{ width:14px; height:14px; stroke:currentColor; stroke-width:1.6; fill:none; }
.head-tel:hover{ background:var(--gold-soft); }

/* section readout — dossier signature */
.readout{
  display:none; align-items:center; gap:9px;
  font-size:.64rem; font-weight:500; letter-spacing:.24em;
  text-transform:uppercase; color:var(--grey-d);
  padding-left:22px; border-left:1px solid var(--line);
  white-space:nowrap;
}
.readout b{ color:var(--gold); font-weight:600; }

.burger{
  display:none;
  width:44px; height:44px; padding:0;
  background:none; border:1px solid var(--line-2); border-radius:2px;
  cursor:pointer; color:var(--white);
  align-items:center; justify-content:center;
}
.burger span{
  display:block; width:18px; height:1px; background:currentColor;
  position:relative;
}
.burger span::before,.burger span::after{
  content:''; position:absolute; left:0; width:18px; height:1px; background:currentColor;
}
.burger span::before{ top:-6px; }
.burger span::after{ top:6px; }

/* ---------- full-screen menu (mobile) ----------------------------------- */

.menu{
  position:fixed; inset:0; z-index:70;
  background:#0A0A0B;
  display:flex; flex-direction:column;
  padding:22px var(--pad) 40px;
  overflow-y:auto;
}
.menu[hidden]{ display:none; }

.menu-top{ display:flex; align-items:center; justify-content:space-between; min-height:52px; }
.menu-close{
  width:44px; height:44px; background:none; border:1px solid var(--line-2);
  border-radius:2px; color:var(--white); cursor:pointer; font-size:1.3rem; line-height:1;
}
.menu-list{
  list-style:none; margin:auto 0; padding:0;
  display:flex; flex-direction:column; gap:2px;
}
.menu-list a{
  display:flex; align-items:baseline; gap:18px;
  padding:16px 0; text-decoration:none;
  border-bottom:1px solid var(--line);
  font-size:1.55rem; font-weight:250; letter-spacing:-.02em; color:var(--white);
}
.menu-list em{
  font-style:normal; font-size:.66rem; font-weight:600; letter-spacing:.2em;
  color:var(--gold); flex:none;
}
.menu-foot{ display:grid; gap:12px; margin-top:34px; }

/* ---------- hero -------------------------------------------------------- */

.hero{ padding-top:clamp(52px,8vw,96px); padding-bottom:0; }

.hero .display{ margin-bottom:28px; }
.hero .display .metal{ display:inline-block; }

/* centred hero (client request) */
.hero .measure{ margin-inline:auto; text-align:center; }
.hero .hero-logo{ margin-inline:auto; }
.hero .eyebrow{ justify-content:center; }
.hero .display{ margin-inline:auto; }
.hero .hero-planning{ justify-content:center; }
.hero .lede{ margin-inline:auto; }
.hero .btn-row{ justify-content:center; }
.hero .hero-meta{ margin-inline:auto; justify-content:center; text-align:center; }

/* compact hero so the intro fits the viewport */
.hero{ padding-top:clamp(18px,3.4vh,46px); }
.hero .hero-logo{ max-width:min(296px,52vw); margin-bottom:clamp(12px,1.9vh,24px); }
.hero .eyebrow{ margin-bottom:clamp(11px,1.5vh,18px); }
.hero .display{ font-size:clamp(2rem,4.4vw,3.8rem); margin-bottom:clamp(11px,1.5vh,20px); }
.hero .hero-planning{ font-size:clamp(1.12rem,2.3vw,1.72rem); margin-bottom:clamp(11px,1.5vh,20px); }
.hero .lede{ font-size:clamp(.98rem,1.2vw,1.12rem); line-height:1.58; }
.hero .btn-row{ margin-top:clamp(16px,2.2vh,28px); }
.hero .hero-meta{ margin-top:clamp(20px,2.8vh,38px); padding-top:20px; }

.hero-meta{
  display:flex; flex-wrap:wrap; gap:0 44px;
  margin-top:48px; padding-top:26px;
  border-top:1px solid var(--line);
  max-width:var(--measure);
}
.hero-meta > div{ padding-block:8px; }
.hero-meta dt{
  font-size:.6rem; font-weight:600; letter-spacing:.26em;
  text-transform:uppercase; color:var(--grey-d); margin:0 0 6px;
}
.hero-meta dd{ margin:0; color:var(--white); font-weight:300; font-size:1.02rem; }

/* full-bleed plate — margin-inline:0 is required, a UA <figure> carries 40px */
.plate{
  position:relative;
  margin:clamp(52px,7vw,84px) 0 0;
  overflow:hidden;
  height:clamp(280px,48vw,560px);
}
.plate--tall{ height:clamp(320px,58vw,660px); }
/* image is taller than its frame so it can slide (parallax) without ever
   exposing an edge — --py is driven by the scroll handler in site.js,
   --ps is the one-off zoom-settle on reveal; both compose on one transform */
.plate img{
  position:absolute; left:0; right:0; top:-14%;
  width:100%; height:128%; object-fit:cover;
  filter:saturate(.88) contrast(1.04) brightness(.9);
  transform:translate3d(0, var(--py,0px), 0) scale(var(--ps,1));
  transition:--ps 1.25s var(--ease), filter .9s var(--ease);
  will-change:transform;
}
.plate::after{
  content:''; position:absolute; inset:0; pointer-events:none;
  background:linear-gradient(180deg, rgba(10,10,11,.55) 0%, rgba(10,10,11,.05) 38%, rgba(10,10,11,.78) 100%);
}
.plate-cap{
  position:absolute; left:0; right:0; bottom:0; z-index:2;
  padding:0 var(--pad) clamp(18px,3vw,30px);
}
.plate-cap span{
  display:inline-flex; align-items:center; gap:12px;
  font-size:.63rem; font-weight:600; letter-spacing:.26em;
  text-transform:uppercase; color:var(--gold);
}
.plate-cap span::before{ content:''; width:26px; height:1px; background:var(--gold); }

/* ---------- capability rail --------------------------------------------- */

.rail{
  border-block:1px solid var(--line);
  background:var(--ink-1);
  overflow:hidden;
}
.rail-marquee{ display:flex; width:max-content; }
html.js .rail-marquee{ animation:rail-scroll 42s linear infinite; }
.rail:hover .rail-marquee{ animation-play-state:paused; }
.rail-track{
  display:flex; align-items:center; gap:0;
  padding-block:20px;
  list-style:none; margin:0;
  flex:none;
}
.rail-track li{
  display:flex; align-items:center; gap:22px; white-space:nowrap;
  font-size:.7rem; font-weight:500; letter-spacing:.22em;
  text-transform:uppercase; color:var(--grey);
  padding-right:22px;
}
.rail-track li::after{ content:''; width:4px; height:4px; border-radius:50%; background:var(--gold); opacity:.6; }
@keyframes rail-scroll{ from{ transform:translateX(0); } to{ transform:translateX(-50%); } }

/* ---------- services strip ---------------------------------------------- */
.svc-strip{ border-top:1px solid var(--line); background:var(--ink-1); }
.svc-grid{
  list-style:none; margin:0;
  padding-block:clamp(34px,5vw,54px);
  display:grid; grid-template-columns:repeat(4,1fr);
}
.svc-grid > li{ position:relative; padding:4px clamp(14px,2.4vw,34px); }
.svc-grid > li + li::before{
  content:''; position:absolute; left:0; top:14%; bottom:14%;
  width:1px; background:var(--line);
}
.svc{
  display:flex; flex-direction:column; align-items:center; text-align:center;
  gap:12px; text-decoration:none;
}
.svc-ic{
  width:50px; height:50px; display:grid; place-items:center;
  border-radius:50%; border:1px solid var(--gold-line); background:var(--gold-soft);
  transition:transform .32s var(--ease), border-color .32s var(--ease);
}
.svc-ic svg{ width:26px; height:26px; stroke:var(--gold); stroke-width:1.3; fill:none; stroke-linecap:round; stroke-linejoin:round; }
.svc h3{
  font-size:.82rem; font-weight:600; letter-spacing:.2em;
  text-transform:uppercase; color:var(--gold); transition:color .3s var(--ease);
}
.svc p{ font-size:.82rem; line-height:1.55; color:var(--grey-d); margin:0; max-width:24ch; }
.svc:hover .svc-ic{ transform:translateY(-5px); border-color:var(--gold); }
.svc:hover h3{ color:var(--gold-hi); }

/* staggered pop (matches the rest of the page) */
html.js .svc-grid.reveal{ opacity:1; transform:none; transition:none; }
html.js .svc-grid.reveal > li{
  opacity:0; transform:translateY(28px) scale(.965);
  transition:opacity .6s var(--ease), transform .6s var(--ease);
}
html.js .svc-grid.in > li{ opacity:1; transform:none; }
html.js .svc-grid.in > li:nth-child(2){ transition-delay:.09s; }
html.js .svc-grid.in > li:nth-child(3){ transition-delay:.18s; }
html.js .svc-grid.in > li:nth-child(4){ transition-delay:.27s; }

@media (max-width:760px){
  .svc-grid{ grid-template-columns:repeat(2,1fr); gap:30px 0; }
  .svc-grid > li + li::before{ display:none; }
}
@media (prefers-reduced-motion:reduce){
  html.js .svc-grid.reveal > li{ opacity:1 !important; transform:none !important; transition:none !important; }
}

/* ---------- contents (dossier signature) -------------------------------- */

.toc{ padding-block:clamp(56px,7vw,86px); }
.toc-list{ list-style:none; margin:26px 0 0; padding:0; max-width:880px; }
.toc-list li{ border-bottom:1px solid var(--line); }
.toc-list li:first-child{ border-top:1px solid var(--line); }
.toc-list a{
  display:flex; align-items:baseline; gap:clamp(16px,3vw,32px);
  padding:19px 0; text-decoration:none; color:var(--white);
  transition:color .3s var(--ease), padding-left .35s var(--ease);
}
.toc-num{
  font-size:.72rem; font-weight:600; letter-spacing:.2em;
  color:var(--gold); flex:none; width:2.6em;
}
.toc-title{ font-size:clamp(1.02rem,2vw,1.3rem); font-weight:300; letter-spacing:-.015em; }
.toc-dots{
  flex:1; height:1px; margin-bottom:.34em;
  background-image:radial-gradient(circle, var(--line-2) 1px, transparent 1px);
  background-size:6px 1px; background-repeat:repeat-x;
  min-width:20px;
}
.toc-go{ font-size:.63rem; font-weight:600; letter-spacing:.2em; text-transform:uppercase; color:var(--grey-d); flex:none; }
.toc-list a:hover{ color:var(--gold); padding-left:12px; }
.toc-list a:hover .toc-go{ color:var(--gold); }

/* ---------- section heads ----------------------------------------------- */

.sec-head{ max-width:var(--measure); }

.numeral{
  display:block;
  font-size:clamp(3.4rem,9vw,6.4rem);
  font-weight:200; line-height:.8; letter-spacing:-.05em;
  transform:translateY(var(--py,0px));
  will-change:transform;
  color:transparent;
  -webkit-text-stroke:1px var(--gold-line);
  margin-bottom:18px;
}

.sec-head .h2{ margin-bottom:22px; }

/* ---------- list of works ----------------------------------------------- */

.works{
  list-style:none; margin:40px 0 0; padding:0;
  display:grid; gap:0;
  max-width:var(--measure);
}
.works li{
  display:flex; align-items:flex-start; gap:18px;
  padding:17px 0;
  border-bottom:1px solid var(--line);
  color:var(--white); font-weight:300; font-size:1.02rem; line-height:1.4;
}
.works li:first-child{ border-top:1px solid var(--line); }
.works li i{
  font-style:normal; flex:none;
  font-size:.64rem; font-weight:600; letter-spacing:.14em;
  color:var(--gold); padding-top:.45em; width:2.2em;
}
.works li small{ display:block; font-size:.85rem; color:var(--grey-d); margin-top:4px; line-height:1.55; }

/* ---------- pull quote --------------------------------------------------- */

.pull{
  margin:clamp(42px,6vw,64px) 0 0;
  padding:clamp(28px,4vw,40px) 0 0;
  border-top:2px solid transparent;
  border-image:linear-gradient(90deg,var(--gold),var(--purple) 70%,transparent) 1;
  max-width:var(--measure);
}
.pull p{
  font-size:clamp(1.3rem,2.9vw,2rem);
  font-weight:250; line-height:1.3; letter-spacing:-.028em;
  color:var(--white);
  max-width:20ch;
}
.pull cite{
  display:block; margin-top:20px;
  font-style:normal; font-size:.66rem; font-weight:600;
  letter-spacing:.24em; text-transform:uppercase; color:var(--gold);
}

/* ---------- principal (named contact) ------------------------------------ */

.principal{
  display:grid;
  grid-template-columns:minmax(0,420px) minmax(0,1fr);
  gap:clamp(26px,4vw,52px);
  align-items:center;
  margin-top:clamp(44px,6vw,68px);
}
.principal-img{
  margin:0; position:relative; overflow:hidden;
  border:1px solid var(--gold-line);
  border-radius:3px;
}
.principal-img img{
  width:100%; height:auto; display:block;
  filter:saturate(.9) contrast(1.03);
}
.principal-copy .eyebrow{ margin-bottom:16px; }
.principal-copy .h3{ margin-bottom:8px; }
.principal-role{
  font-size:.66rem; font-weight:600; letter-spacing:.2em;
  text-transform:uppercase; color:var(--gold);
  margin-bottom:18px;
}
.principal-copy .btn-row{ margin-top:26px; }

/* ---------- image trio --------------------------------------------------- */

.trio{
  display:grid; grid-template-columns:repeat(3,1fr); gap:10px;
  margin-top:clamp(40px,5vw,60px);
}
.trio--2{ grid-template-columns:repeat(2,1fr); }
.trio--2 img{ height:clamp(190px,26vw,320px); }
.trio--4{ grid-template-columns:repeat(4,1fr); }
.trio--4 img{ height:clamp(150px,16vw,220px); }
.trio figure{ margin:0; position:relative; overflow:hidden; }
.trio img{
  width:100%; height:clamp(150px,20vw,260px); object-fit:cover;
  filter:saturate(.85) brightness(.88);
  transition:transform .9s var(--ease), filter .9s var(--ease);
}
.trio figure:hover img{ transform:scale(1.05); filter:saturate(1) brightness(1); }
.trio figcaption{
  position:absolute; left:14px; bottom:12px; z-index:2;
  font-size:.58rem; font-weight:600; letter-spacing:.2em;
  text-transform:uppercase; color:var(--white);
  text-shadow:0 1px 8px rgba(0,0,0,.9);
}

/* ---------- split note --------------------------------------------------- */

.note{
  display:grid; grid-template-columns:1fr 1fr; gap:clamp(28px,5vw,64px);
  align-items:start;
  margin-top:clamp(44px,6vw,68px);
}
.note-card{
  border:1px solid var(--line);
  background:var(--ink-2);
  padding:clamp(24px,3.4vw,36px);
  border-radius:3px;
}
.note-card .h3{ margin-bottom:12px; }
.note-card p{ font-size:.97rem; }
.note-card .badge{
  display:inline-flex; align-items:center; gap:9px;
  font-size:.6rem; font-weight:600; letter-spacing:.22em; text-transform:uppercase;
  color:var(--gold); margin-bottom:16px;
}
.note-card .badge svg{ width:15px; height:15px; stroke:currentColor; stroke-width:1.5; fill:none; }

/* ---------- free estimation callout -------------------------------------- */

.estimate{
  display:flex; align-items:center; gap:clamp(18px,3vw,30px);
  margin-top:clamp(36px,5vw,52px);
  padding:clamp(22px,3vw,30px) clamp(22px,3.4vw,38px);
  background:var(--ink-2);
  border:1px solid var(--line);
  border-left:3px solid var(--purple);
  border-radius:3px;
  flex-wrap:wrap;
}
.estimate-ic{
  flex:none; width:52px; height:52px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  background:var(--purple-soft); border:1px solid var(--purple-line);
}
.estimate-ic svg{ width:24px; height:24px; stroke:var(--purple-hi); stroke-width:1.5; fill:none; }
.estimate-copy{ flex:1 1 320px; }
.estimate-copy .h3{ margin-bottom:6px; }
.estimate-copy p{ font-size:.95rem; color:var(--grey); margin:0; }
.estimate .btn{ flex:none; }
@media (max-width:600px){
  .estimate .btn{ width:100%; justify-content:center; }
}

/* ---------- assurance / stars -------------------------------------------- */

.stars{ display:flex; gap:6px; margin-bottom:18px; }
.stars svg{ width:17px; height:17px; fill:var(--gold); stroke:none; }

.values{
  display:grid; grid-template-columns:repeat(4,1fr);
  gap:1px; background:var(--line);
  border:1px solid var(--line);
  margin-top:clamp(44px,6vw,64px);
}
.value{
  background:var(--ink);
  padding:clamp(24px,3vw,34px) clamp(18px,2.4vw,26px);
}
.value svg{ width:24px; height:24px; stroke:var(--gold); stroke-width:1.3; fill:none; margin-bottom:18px; }
.value h3{
  font-size:.68rem; font-weight:600; letter-spacing:.22em;
  text-transform:uppercase; color:var(--white); margin-bottom:9px;
}
.value p{ font-size:.88rem; line-height:1.6; color:var(--grey-d); }

/* ---------- enquiry form -------------------------------------------------- */

.form-grid{
  display:grid; grid-template-columns:1fr 1fr;
  gap:clamp(28px,5vw,72px);
  margin-top:clamp(36px,5vw,54px);
  align-items:start;
}

.contact-list{ list-style:none; margin:26px 0 0; padding:0; display:grid; gap:2px; }
.contact-list li{ border-bottom:1px solid var(--line); }
.contact-list li:first-child{ border-top:1px solid var(--line); }
.contact-list a,.contact-list span{
  display:flex; align-items:center; gap:16px;
  padding:16px 0; text-decoration:none; color:var(--white); font-size:1rem;
  transition:color .3s var(--ease);
}
.contact-list a:hover{ color:var(--gold); }
.contact-list svg{ width:17px; height:17px; stroke:var(--gold); stroke-width:1.5; fill:none; flex:none; }
.contact-list em{
  font-style:normal; margin-left:auto; flex:none;
  font-size:.58rem; font-weight:600; letter-spacing:.2em;
  text-transform:uppercase; color:var(--grey-d);
}

form{ display:grid; gap:16px; }

.field{ display:grid; gap:8px; }
.field label{
  font-size:.62rem; font-weight:600; letter-spacing:.22em;
  text-transform:uppercase; color:var(--grey-d);
}
.field input,.field select,.field textarea{
  width:100%;
  font-family:inherit; font-size:1rem; font-weight:300; color:var(--white);
  background:var(--ink-2);
  border:1px solid var(--line);
  border-radius:2px;
  padding:14px 16px;
  transition:border-color .3s var(--ease), background .3s var(--ease);
  appearance:none;
}
.field textarea{ min-height:132px; resize:vertical; line-height:1.6; }
.field select{
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23D6AC4A' stroke-width='1.4'/%3E%3C/svg%3E");
  background-repeat:no-repeat; background-position:right 16px center;
  padding-right:42px;
}
.field input::placeholder,.field textarea::placeholder{ color:#6C6D75; }
.field input:focus,.field select:focus,.field textarea:focus{
  border-color:var(--gold); background:#191A1E; outline:none;
}
.field-2{ display:grid; grid-template-columns:1fr 1fr; gap:16px; }

.consent{
  display:flex; align-items:flex-start; gap:12px;
  font-size:.84rem; line-height:1.55; color:var(--grey-d);
  margin-top:4px;
}
.consent input{
  width:17px; height:17px; flex:none; margin-top:3px;
  accent-color:var(--gold);
}
.consent a{ color:var(--gold); }

/* skip link */
.skip{
  position:absolute; left:-9999px; top:0; z-index:100;
  background:var(--gold); color:#0A0A0B;
  padding:12px 20px; border-radius:0 0 3px 0;
  font-size:.75rem; font-weight:600; letter-spacing:.14em;
  text-transform:uppercase; text-decoration:none;
}
.skip:focus{ left:0; }

/* honeypot */
.hp{
  position:absolute !important; left:-9999px !important;
  width:1px; height:1px; overflow:hidden;
}

.form-note{ font-size:.78rem; color:var(--grey-d); margin-top:2px; }

.form-msg{
  border:1px solid var(--gold-line);
  background:var(--gold-soft);
  color:var(--white);
  padding:18px 20px; border-radius:2px;
  font-size:.95rem; line-height:1.6;
}
.form-msg[hidden]{ display:none; }
.form-msg.is-error{ border-color:#7A3A32; background:rgba(160,70,58,.16); }

/* ---------- footer -------------------------------------------------------- */

.site-foot{
  background:var(--ink-1);
  border-top:1px solid var(--line);
  padding-top:clamp(52px,6vw,78px);
}
.foot-top{
  display:grid; grid-template-columns:1.4fr 1fr 1fr;
  gap:clamp(28px,4vw,56px);
  padding-bottom:clamp(40px,5vw,58px);
}
.foot-brand{ display:flex; align-items:center; gap:13px; margin-bottom:20px; }
.foot-brand img{ width:38px; }
.foot-h{
  font-size:.62rem; font-weight:600; letter-spacing:.24em;
  text-transform:uppercase; color:var(--gold); margin:0 0 18px;
}
.foot-links{ list-style:none; margin:0; padding:0; display:grid; gap:11px; }
.foot-links a{
  text-decoration:none; color:var(--grey); font-size:.95rem;
  transition:color .3s var(--ease);
}
.foot-links a:hover{ color:var(--gold); }

.socials{ display:flex; gap:10px; margin-top:20px; }
.socials a{
  width:42px; height:42px; border:1px solid var(--line-2); border-radius:2px;
  display:flex; align-items:center; justify-content:center;
  color:var(--grey);
  transition:border-color .3s var(--ease), color .3s var(--ease);
}
.socials svg{ width:17px; height:17px; stroke:currentColor; stroke-width:1.5; fill:none; }
.socials a:hover{ border-color:var(--gold); color:var(--gold); }

.foot-bottom{
  border-top:1px solid var(--line);
  padding-block:26px 30px;
  display:flex; flex-wrap:wrap; gap:14px 26px;
  align-items:center; justify-content:space-between;
  font-size:.82rem; color:var(--grey-d);
}
.foot-bottom a{ color:var(--grey-d); text-decoration:none; }
.foot-bottom a:hover{ color:var(--grey); }
.digisurf{ color:var(--gold) !important; text-decoration:none; font-weight:500; }
.digisurf:hover{ color:var(--gold-hi) !important; text-decoration:underline; }

.to-top{
  display:inline-flex; align-items:center; gap:9px;
  background:none; border:0; padding:0; cursor:pointer;
  font-family:inherit; font-size:.64rem; font-weight:600;
  letter-spacing:.22em; text-transform:uppercase; color:var(--grey-d);
  transition:color .3s var(--ease);
}
.to-top svg{ width:13px; height:13px; stroke:currentColor; stroke-width:1.6; fill:none; }
.to-top:hover{ color:var(--gold); }

/* ---------- reveal ------------------------------------------------------- */

/* registered so the zoom-settle (--ps) can animate while the scroll-driven
   parallax (--py) writes to the same transform without a transition on it */
@property --ps{ syntax:'<number>'; inherits:false; initial-value:1; }

html.js .reveal{
  opacity:0; transform:translateY(46px);
  transition:opacity .9s var(--ease), transform 1s var(--ease);
}
html.js .reveal.in{ opacity:1; transform:none; }
html.js .reveal[data-d="1"]{ transition-delay:.09s; }
html.js .reveal[data-d="2"]{ transition-delay:.18s; }
html.js .reveal[data-d="3"]{ transition-delay:.27s; }

/* directional slide-ins — body is overflow-x:clip so the X travel is safe */
html.js .reveal[data-rev="left"]{ transform:translateX(-64px); }
html.js .reveal[data-rev="right"]{ transform:translateX(64px); }
html.js .reveal[data-rev="zoom"]{ transform:scale(.9); }
html.js .reveal[data-rev="left"].in,
html.js .reveal[data-rev="right"].in,
html.js .reveal[data-rev="zoom"].in{ transform:none; }

/* on phones the sideways travel is pointless and can briefly reach past the
   edge — fall back to the vertical rise so nothing is pushed off-canvas */
@media (max-width:720px){
  html.js .reveal[data-rev="left"],
  html.js .reveal[data-rev="right"]{ transform:translateY(46px); }
}

/* ---------- lively staggered "pop" --------------------------------------
   Grid containers stay put; their children pop in one after another so a
   section shows a little action as you reach it, instead of landing flat. */
html.js .trio.reveal,
html.js .works.reveal,
html.js .note.reveal,
html.js .values.reveal{ opacity:1; transform:none; transition:none; }

html.js .trio.reveal figure,
html.js .works.reveal li,
html.js .note.reveal .note-card,
html.js .values.reveal .value{
  opacity:0; transform:translateY(30px) scale(.965);
  transition:opacity .62s var(--ease), transform .62s var(--ease),
             border-color .3s var(--ease), background .3s var(--ease);
  will-change:opacity, transform;
}
html.js .trio.in figure,
html.js .works.in li,
html.js .note.in .note-card,
html.js .values.in .value{ opacity:1; transform:none; }

html.js .trio.in figure:nth-child(2),
html.js .works.in li:nth-child(2),
html.js .note.in .note-card:nth-child(2),
html.js .values.in .value:nth-child(2){ transition-delay:.09s; }
html.js .trio.in figure:nth-child(3),
html.js .works.in li:nth-child(3),
html.js .values.in .value:nth-child(3){ transition-delay:.18s; }
html.js .trio.in figure:nth-child(4),
html.js .works.in li:nth-child(4),
html.js .values.in .value:nth-child(4){ transition-delay:.27s; }
html.js .works.in li:nth-child(5){ transition-delay:.36s; }
html.js .works.in li:nth-child(6){ transition-delay:.45s; }

/* cards lift on hover — a touch of life on pointer */
.note-card:hover,
.value:hover{ transform:translateY(-5px); border-color:var(--gold-line); }

/* plate images settle from a slow zoom as the plate reveals (--ps composes
   with the JS parallax --py, so the image can drift AND settle at once) */
html.js .plate.reveal img{ --ps:1.14; }
html.js .plate.reveal.in img{ --ps:1; }

@media (prefers-reduced-motion:reduce){
  html.js .reveal{ opacity:1 !important; transform:none !important; transition:none !important; }
  html.js .trio.reveal figure,
  html.js .works.reveal li,
  html.js .note.reveal .note-card,
  html.js .values.reveal .value{ opacity:1 !important; transform:none !important; transition:none !important; }
  html.js .plate img{ transform:none !important; }
  .numeral{ transform:none !important; }
  html.js .rail-marquee,
  .hpin,
  .hpin-txt{ animation:none !important; }
  *{ animation-duration:.01ms !important; transition-duration:.01ms !important; }
}

/* ---------- legal pages --------------------------------------------------- */

.legal{ padding-block:clamp(56px,8vw,110px); }
.legal .measure h2{
  font-size:clamp(1.1rem,2vw,1.35rem); font-weight:500;
  margin:44px 0 14px; color:var(--white);
}
.legal .measure h2:first-of-type{ margin-top:34px; }
.legal ul{ padding-left:20px; margin:0 0 1.2em; }
.legal li{ margin-bottom:8px; }

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (min-width:1260px){
  .readout{ display:flex; }
}

@media (max-width:1000px){
  .nav,.head-tel{ display:none; }
  .burger{ display:flex; }
  .note{ grid-template-columns:1fr; }
  .form-grid{ grid-template-columns:1fr; }
  .foot-top{ grid-template-columns:1fr 1fr; }
  .values{ grid-template-columns:1fr 1fr; }
  .trio--4{ grid-template-columns:repeat(2,1fr); }
  .trio--4 img{ height:clamp(170px,22vw,230px); }
  .principal{ grid-template-columns:minmax(0,320px) minmax(0,1fr); gap:32px; }
}

@media (max-width:760px){
  body{ font-size:16px; }
  .band{ padding-block:clamp(56px,11vw,78px); }
  .display{ max-width:none; }
  .values{ grid-template-columns:1fr 1fr; }
  .trio,.trio--4{ grid-template-columns:1fr; gap:8px; }
  .trio img,.trio--2 img,.trio--4 img{ height:clamp(190px,46vw,240px); }
  .principal{ grid-template-columns:1fr; gap:24px; max-width:var(--measure); }
  .principal-img{ max-width:360px; }
  .hero-meta{ gap:0 30px; }
  .toc-dots,.toc-go{ display:none; }
  .toc-list a{ gap:16px; }
  .foot-top{ grid-template-columns:1fr; gap:34px; }
  .foot-bottom{ flex-direction:column; align-items:flex-start; }
  .field-2{ grid-template-columns:1fr; }
  .btn{ width:100%; justify-content:center; }
  .btn-row{ gap:10px; }
  .plate-cap{ padding-bottom:16px; }
  .plate-cap span{ font-size:.58rem; letter-spacing:.2em; }
  .plate-cap span::before{ width:18px; }
  .menu-list a{ font-size:1.3rem; padding:14px 0; }
}

@media (max-width:420px){
  .brand-logo{ height:42px; width:auto; }
  .brand-name{ font-size:.86rem; letter-spacing:.1em; }
  .brand-sub{ font-size:.5rem; letter-spacing:.24em; }
  .values{ grid-template-columns:1fr; }
}
