/* ═══════════════════════════════════════════════════════════
   Revel Exchange
   Dark cinematic hero → light commercial mode below.
   ═══════════════════════════════════════════════════════════ */

:root{
  /* Colour — sampled from the reference's computed styles.
     The key move is pure white cards on #f5f5f5, not beige on beige:
     that contrast is what makes the cards read as objects. */
  --frame:      #121212;   /* body behind everything */
  --ink:        #0a0a0a;   /* dark sections */
  --ink-2:      #141416;
  --paper:      #f5f5f5;   /* light section background */
  --card:       #ffffff;   /* cards sit ON paper */
  --grey:       #6b6b6b;
  --grey-dim:   rgba(245,245,245,.55);
  --line:       rgba(10,10,10,.10);
  --line-dark:  rgba(245,245,245,.13);
  --accent:     #d9531e;   /* used sparingly — ®, CTA, lead pillar flag */

  /* Shape */
  --radius:     18px;      /* the reference's dominant radius */
  --radius-sm:  14px;

  /* Type — matched to the reference: Inter 600, tracked very tight.
     Measured off the live site: -0.06em on display, -0.07em on numerals,
     -0.04em at mid sizes. That tracking is what makes it look designed. */
  --display: 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
  --body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --track-display: -.06em;
  --track-num:     -.07em;
  --track-mid:     -.04em;

  /* Layout — reference measures 36px gutters inside a 1520px container */
  --gutter: clamp(20px, 2.6vw, 36px);
  --maxw: 1520px;
  /* Height of the nav bar above the hero. The hero's min-height subtracts it
     so the two together still fill one viewport. */
  --navh: clamp(58px, 5.6vw, 78px);

  /* Motion */
  --ease: cubic-bezier(.22,.61,.36,1);
  --ease-out: cubic-bezier(.16,1,.3,1);
}

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

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

body{
  margin:0;
  background:var(--paper);
  color:var(--ink);
  font-family:var(--body);
  font-size:17px;
  line-height:1.55;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
  overflow-x:hidden;
}
/* `hidden` makes body a scroll container, which kills the sticky hero.
   `clip` does the same visual job without creating one. */
@supports (overflow-x:clip){
  body{ overflow-x:clip; }
}

img,video{ display:block; max-width:100%; }
ul{ margin:0; padding:0; list-style:none; }
a{ color:inherit; text-decoration:none; }
h1,h2,h3{ margin:0; font-weight:600; }
p{ margin:0; }

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

.skip{
  position:absolute; left:-9999px; top:0; z-index:200;
  background:var(--ink); color:var(--paper); padding:12px 18px; font-size:14px;
}
.skip:focus{ left:12px; top:12px; }

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

/* ═══════════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════════ */

/* Sticky, so the rest of the page slides up over it as you scroll. The hero
   never moves — main and the footer ride over the top of it.
   Inset rounded panel: the nav sits on paper above it, and the 6px side
   margins match the dark panels further down the page. */
.hero{
  position:sticky;
  top:0;
  z-index:0;
  margin:0 6px 6px;
  border-radius:25px;
  /* Fixed, not min-height: nav + hero has to equal exactly one viewport, or
     the panel's bottom corners fall below the fold once it pins. */
  height:calc(100svh - var(--navh) - 6px);
  min-height:520px;
  background:var(--ink);
  color:var(--paper);
  overflow:hidden;
  isolation:isolate;
  display:flex;
  flex-direction:column;
}

/* Layer 1 — CSS ink texture. Carries the hero on its own if the
   video file is missing, and sits under the video when it isn't. */
.hero__texture{
  position:absolute; inset:-10%;
  z-index:0;
  opacity:0;                               /* pure black until the intro says otherwise */
  transition:opacity var(--intro-texture,2200ms) var(--ease-out);
  background:
    radial-gradient(58% 46% at 50% 52%, rgba(126,126,132,.30) 0%, rgba(30,30,34,0) 68%),
    radial-gradient(40% 38% at 28% 32%, rgba(96,96,104,.22) 0%, rgba(20,20,24,0) 70%),
    radial-gradient(46% 40% at 74% 66%, rgba(84,84,92,.20) 0%, rgba(18,18,22,0) 72%),
    var(--ink);
  filter:blur(12px);
  animation:drift 34s var(--ease) infinite alternate;
}
@keyframes drift{
  0%   { transform:scale(1)    translate3d(0,0,0); }
  50%  { transform:scale(1.08) translate3d(-1.5%,1%,0); }
  100% { transform:scale(1.03) translate3d(1.5%,-1%,0); }
}

.hero.texture-in .hero__texture{ opacity:1; }

/* Grain and vignette join with the texture — before that, the frame is truly black */
.hero__grain, .hero__vignette{
  opacity:0;
  transition:opacity var(--intro-texture,2200ms) var(--ease-out);
}
.hero.texture-in .hero__grain{ opacity:.16; }
.hero.texture-in .hero__vignette{ opacity:1; }

/* Layer 2 — video, crossfaded between two elements to kill the loop seam */
.hero__video{ position:absolute; inset:0; z-index:1; }
.hero__clip{
  position:absolute; inset:0;
  width:100%; height:100%;
  object-fit:cover;
  opacity:0;
  transition:opacity .6s linear;
  will-change:opacity;
}
/* .is-visible is added by JS only once the video can actually play */
.hero__video.is-visible .hero__clip.is-active{ opacity:1; }

.hero__grain{
  position:absolute; inset:-50%;
  z-index:2; pointer-events:none;
  /* opacity is owned by the intro sequence above (.texture-in → .16) */
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)' opacity='.9'/%3E%3C/svg%3E");
  animation:grain 700ms steps(4) infinite;
}
@keyframes grain{
  0%{transform:translate(0,0)} 25%{transform:translate(-3%,2%)}
  50%{transform:translate(2%,-3%)} 75%{transform:translate(-2%,-2%)} 100%{transform:translate(3%,1%)}
}

.hero__vignette{
  position:absolute; inset:0; z-index:3; pointer-events:none;
  /* Restaurant frames run bright through the middle (plates, shirts, the
     window). A flat-ish scrim keeps the white type readable there; the
     edges go darker so the services and the positioning line hold too. */
  background:
    radial-gradient(125% 85% at 50% 46%, rgba(0,0,0,0) 40%, rgba(0,0,0,.5) 100%),
    linear-gradient(to bottom,
      rgba(0,0,0,.68) 0%,
      rgba(0,0,0,.55) 24%,
      rgba(0,0,0,.55) 72%,
      rgba(0,0,0,.7) 100%);
}
/* Reduced motion shows the poster on its own. The class is set by the hero
   script; the media query covers the first paint before that script runs. */
.hero.is-still .hero__clip.is-active,
.hero.is-still .hero__vignette{ opacity:1; }

/* ── Nav ── */
.nav{
  position:relative; z-index:10;
  display:flex; align-items:center; justify-content:space-between;
  gap:24px;
  padding:clamp(18px,2.4vw,30px) var(--gutter);
}
.nav__mark{
  font-family:var(--display);
  font-size:15px; font-weight:600;
  letter-spacing:var(--track-mid);
}
.nav__mark sup{ font-size:.52em; top:-.7em; }
.nav__links{
  display:flex;
  flex:1;
  justify-content:space-evenly;
  gap:clamp(18px,2.6vw,38px);
  font-size:14px;
}
.nav__links a{
  color:var(--grey-dim);
  transition:color .25s var(--ease);
  padding-block:4px;
}
.nav__links a:hover{ color:var(--paper); }

/* ── Hero grid ── */
.hero__grid{
  position:relative; z-index:10;
  flex:1;
  display:grid;
  grid-template-columns:1fr auto;
  grid-template-rows:auto 1fr auto;
  grid-template-areas:
    ".        services"
    "mark     mark"
    "position founder";
  align-items:start;
  gap:clamp(24px,4vh,56px) 32px;
  padding:clamp(6px,1.5vh,20px) var(--gutter) clamp(28px,5vh,56px);
}

.hero__services{
  grid-area:services;
  text-align:right;
  font-size:clamp(13px,1.05vw,15px);
  line-height:1.85;
  color:var(--grey-dim);
}
.hero__services li{ transition:color .3s var(--ease); }
.hero__services li:hover{ color:var(--paper); }

/* ── Hero headline ──
   Used to be the giant "revel / exchange®" wordmark lockup (a 1-2 word
   logotype, sized up to 19rem/21.5vw). Now a value-prop sentence, so the
   scale drops to something a sentence can wrap inside — still the biggest
   text on the page, just no longer logo-scale. max-width controls where it
   breaks instead of two hard-coded <span> lines. */
.wordmark{
  grid-area:mark;
  align-self:center;
  justify-self:center;
  font-family:var(--display);
  font-weight:600;
  /* Capped against viewport *height* as well as width — the hero is a fixed
     slot now, and on a short window the width-based size overflowed it. */
  font-size:max(2.1rem, min(6.4vw, 80px, 15svh));
  line-height:1.08;
  letter-spacing:var(--track-display);
  text-align:center;
  max-width:17ch;
  margin:0;
  will-change:transform,opacity;
  /* Without this the headline's min-content width sets the grid column
     and pushes the whole hero past the viewport on narrow screens. */
  min-width:0;
}
.wordmark__brand{ color:var(--accent); }
.wordmark sup{
  font-size:.5em;
  font-weight:500;
  vertical-align:super;
  top:-1.9em;
  letter-spacing:0;
}

/* ── Positioning ── */
.hero__positioning{ grid-area:position; max-width:34ch; }
.hero__line{
  font-family:var(--display);
  font-size:clamp(17px,1.55vw,22px);
  font-weight:600;
  letter-spacing:-.03em;
  margin-bottom:8px;
}
.hero__sub{
  font-size:clamp(13px,1.02vw,15px);
  line-height:1.6;
  color:var(--grey-dim);
}

/* ── Founder card ── */
.founder{
  grid-area:founder;
  justify-self:end;
  align-self:end;
  display:flex; align-items:center; gap:14px;
  background:var(--paper);
  color:var(--ink);
  border-radius:14px;
  padding:12px 12px 12px 14px;
  box-shadow:0 18px 50px rgba(0,0,0,.42);
  max-width:100%;
}
.founder img{
  width:44px; height:44px; border-radius:50%; object-fit:cover; flex:none;
  transition:transform .5s var(--ease-out);
}
.founder:hover img{ transform:scale(1.08); }
.founder__meta{ display:flex; flex-direction:column; line-height:1.3; margin-right:6px; }
.founder__role{ font-size:11px; text-transform:uppercase; letter-spacing:.1em; color:var(--grey); }
.founder__name{ font-size:14.5px; font-weight:600; letter-spacing:-.01em; white-space:nowrap; }

.pill{
  flex:none;
  background:var(--ink); color:var(--paper);
  font-size:13px; font-weight:500;
  padding:9px 16px; border-radius:999px;
  transition:background .25s var(--ease), transform .25s var(--ease);
}
.pill:hover{ background:var(--accent); transform:translateY(-1px); }

/* ── Scroll cue ── */
.hero__scroll{
  position:absolute; z-index:10;
  left:50%; bottom:18px; transform:translateX(-50%);
  display:flex; align-items:center; gap:9px;
  font-size:10.5px; letter-spacing:.16em; text-transform:uppercase;
  color:var(--grey-dim);
}
.hero__scroll span{
  width:1px; height:22px;
  background:linear-gradient(to bottom, transparent, var(--grey-dim));
  animation:cue 2.4s var(--ease) infinite;
}
@keyframes cue{ 0%,100%{opacity:.25; transform:scaleY(.6)} 50%{opacity:1; transform:scaleY(1)} }

/* ── Intro sequence ──
   Everything starts hidden; main.js adds .intro-done to reveal in sequence. */
.hero [data-reveal]{ opacity:0; }

.hero.intro-done [data-reveal]{
  opacity:1;
  transition:
    opacity   var(--intro-wordmark,1100ms) var(--ease-out) var(--d,0ms),
    transform var(--intro-wordmark,1100ms) var(--ease-out) var(--d,0ms);
}
.hero.intro-done [data-reveal="wordmark"]{ --d:0ms; }
.hero.intro-done [data-reveal="services"]{ --d:1000ms; }
.hero.intro-done [data-reveal="positioning"]{ --d:1100ms; }
.hero.intro-done [data-reveal="founder"]{ --d:1200ms; }

/* subtle rise on the corner content */
.hero [data-reveal="positioning"],
.hero [data-reveal="founder"],
.hero [data-reveal="services"]{ transform:translateY(14px); }
.hero.intro-done [data-reveal="positioning"],
.hero.intro-done [data-reveal="founder"],
.hero.intro-done [data-reveal="services"]{ transform:none; }

/* wordmark arrives with a touch of scale */
.hero [data-reveal="wordmark"]{ transform:scale(1.035); }
.hero.intro-done [data-reveal="wordmark"]{ transform:none; }

/* ═══════════════════════════════════════════════════════════
   COMMERCIAL MODE
   ═══════════════════════════════════════════════════════════ */

/* Both sit above the sticky hero so they cover it on the way up */
main{
  position:relative;
  z-index:1;
  background:var(--paper);
}
.bfoot{ position:relative; z-index:1; }
section{ position:relative; }

/* Section label with the filled ⊕ badge from the reference */
.eyebrow{
  display:flex; align-items:center; gap:9px;
  font-size:11.5px; text-transform:uppercase; letter-spacing:.16em;
  color:var(--grey); margin-bottom:18px;
}
.eyebrow__dot{
  position:relative; flex:none;
  width:17px; height:17px; border-radius:50%;
  background:var(--ink);
}
.eyebrow__dot::before,
.eyebrow__dot::after{
  content:''; position:absolute; inset:0; margin:auto;
  background:var(--paper);
}
.eyebrow__dot::before{ width:7px; height:1.5px; }
.eyebrow__dot::after{ width:1.5px; height:7px; }

.eyebrow--invert{ color:var(--grey-dim); }
.eyebrow--invert .eyebrow__dot{ background:var(--paper); }
.eyebrow--invert .eyebrow__dot::before,
.eyebrow--invert .eyebrow__dot::after{ background:var(--ink); }

/* ── The reference's core grid ──
   Everything snaps to 4 columns. Measured at 1440px: columns start at
   36 / 379 / 722 / 1065, i.e. 339px wide with a 4px gap. Section labels
   live in column 1 and the display heading spans columns 2–4. */
.sec-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:4px;
  align-items:start;
  margin-bottom:clamp(44px,5.5vw,88px);
}
.sec-grid > .eyebrow{ grid-column:1; margin:0; }
.sec-grid > .display{ grid-column:2 / -1; }

/* Oversized single-word heading, e.g. Services.⁽³⁾ */
.display{
  font-family:var(--display);
  font-weight:600;
  font-size:clamp(3.2rem, 10.5vw, 9rem);
  letter-spacing:var(--track-display);
  line-height:.92;
  display:flex; align-items:flex-start; gap:.06em;
}
.display--xl{ font-size:clamp(2.9rem, 10vw, 144px); }
.display__count{
  font-size:.17em;
  font-weight:500;
  letter-spacing:-.01em;
  color:var(--grey);
  margin-top:.6em;
}
/* grey-dim is a light-on-dark value — scope it to the dark panel, or the
   count goes invisible on paper (which is what Work.(2) was doing) */
.panel--dark .display__count{ color:var(--grey-dim); }

.sec-lede{
  font-size:clamp(16px,1.5vw,19px);
  color:var(--grey);
  max-width:34ch;
  margin-top:20px;
}

/* ── Near-full-bleed dark panel ──
   Reference measures x=6px, width=viewport-12, radius 25px. */
/* margin, not padding — padding can't inset an element's own background */
.panel{ margin-inline:6px; }
.panel--dark{
  position:relative;
  background:var(--ink);
  color:var(--paper);
  border-radius:25px;
  overflow:hidden;
  isolation:isolate;
}
.panel--dark::before{
  content:''; position:absolute; inset:0; z-index:-1;
  pointer-events:none; opacity:.30;
  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)' opacity='.55'/%3E%3C/svg%3E");
}
.panel__inner{
  width:100%; max-width:var(--maxw); margin-inline:auto;
  padding:clamp(56px,7vw,110px) var(--gutter);
}

/* ── Our clients ──
   The first thing to cover the hero, so it stays quiet: a rule and a row of
   names. Sized so real logos can drop straight into the <li>s. */
.clients{
  background:var(--paper);
  padding-block:clamp(40px,5vw,72px) clamp(36px,4.5vw,60px);
}
/* White boxes on paper with the tight gutters used elsewhere. No rule above —
   the boxes are their own edge. */
.clients__row{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:clamp(10px,.9vw,14px);
}
.clients__box{
  background:var(--card);
  border-radius:var(--radius);
  aspect-ratio:16/10;
  overflow:hidden;
  /* flex, not grid+place-items — a grid item's width/height:100% doesn't
     reliably resolve against the grid area under non-stretch alignment, so
     a tall logo (e.g. Mídé Lagos) would render at its intrinsic size and
     overflow instead of being contained. Flex doesn't have that quirk. */
  display:flex; align-items:center; justify-content:center;
  padding:clamp(14px,1.6vw,24px);
}
/* Logos are contained, never cropped, whatever shape they arrive in, and
   shown as supplied — a client's logo isn't ours to recolour. */
.clients__box img{
  width:100%; height:100%;
  object-fit:contain;
  opacity:.78;
  transition:opacity .25s var(--ease);
}
.clients__box:hover img{ opacity:1; }
/* Opt-in, for logos supplied in a light colour for dark backgrounds. TCH's is
   cream (#F3F1E8) — 1.06:1 on a white card, i.e. invisible — so it gets
   flattened to ink. Only add this where a logo would otherwise disappear; if
   the client sends a dark version, drop the attribute instead. */
.clients__box img[data-flatten]{ filter:brightness(0); }

/* ── Why choose us ──
   Statement across cols 2–4, then a tall portrait beside two stat columns.
   Each stat column is a small card (number + index) over a tall one (label +
   note) — the same two-card stack the Experiences columns use. */
.why{
  background:var(--paper);
  padding-block:clamp(56px,7vw,100px) clamp(64px,8vw,120px);
}
.why__head{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:4px;
  align-items:start;
}
.why__head > .eyebrow{ grid-column:1; margin:0; }
.why__lede{
  grid-column:2 / -1;
  font-family:var(--display);
  font-size:clamp(26px,3.6vw,56px);
  font-weight:600;
  letter-spacing:var(--track-display);
  line-height:1.1;
  color:var(--grey);
  max-width:22ch;
}
.why__lede strong{ font-weight:600; color:var(--ink); }

.why__body{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,2fr);
  gap:clamp(20px,3vw,52px);
  align-items:stretch;
  margin-top:clamp(48px,6vw,96px);
}
.why__figure{
  position:relative;
  margin:0;
  border-radius:var(--radius);
  overflow:hidden;
  min-height:clamp(320px,40vw,620px);
  background:repeating-linear-gradient(45deg,#e9e9e9 0 14px,#e0e0e0 14px 28px);
}
/* ── Why-choose-us image + hover ──
   Slow zoom plus a single light sweep across the frame. Transform and opacity
   only, so it stays on the compositor; the figure already clips overflow. */
.why__img{
  position:absolute; inset:0;
  width:100%; height:100%;
  object-fit:cover;
  transform-origin:52% 58%;              /* hold the printer, not the empty backdrop */
  transition:transform 1s var(--ease-out), filter 1s var(--ease);
  will-change:transform;
}
.why__figure:hover .why__img{
  transform:scale(1.06);
  filter:saturate(1.07) brightness(1.02);
}
/* the sweep */
.why__figure::after{
  content:''; position:absolute; inset:-10% -40%;
  z-index:1; pointer-events:none;
  background:linear-gradient(102deg,
    rgba(255,255,255,0)   38%,
    rgba(255,255,255,.30) 50%,
    rgba(255,255,255,0)   62%);
  transform:translate3d(-115%,0,0);
  opacity:0;
}
.why__figure:hover::after{
  opacity:1;
  transform:translate3d(115%,0,0);
  transition:transform 1.05s var(--ease-out), opacity .25s var(--ease);
}
/* Light on dark: the image behind this is a night shot, so an --ink badge
   disappears into it. Flipped to paper with dark marks. */
.why__badge{
  position:absolute; top:16px; right:16px; z-index:2;
  width:34px; height:34px; border-radius:50%;
  background:var(--paper);
  box-shadow:0 2px 14px rgba(0,0,0,.35);
}
.why__badge::before,
.why__badge::after{
  content:''; position:absolute; inset:0; margin:auto;
  background:var(--ink);
}
.why__badge::before{ width:12px; height:1.5px; }
.why__badge::after{ width:1.5px; height:12px; }

.why__right{
  display:flex; flex-direction:column;
  gap:clamp(28px,3.5vw,56px);
}
/* Right-aligned, as in the reference — it points back at the portrait */
.why__intro{
  text-align:right;
  margin-left:auto;
  max-width:44ch;
  font-size:clamp(15px,1.35vw,20px);
  line-height:1.45;
  color:var(--grey);
}
.why__intro strong{ font-weight:600; color:var(--ink); }

.why__stats{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:clamp(10px,.9vw,14px);
  flex:1;
}
.wstat{
  display:flex; flex-direction:column;
  gap:clamp(10px,.9vw,14px);
}
.wstat__top,
.wstat__main{
  background:var(--card);
  border-radius:var(--radius);
  padding:clamp(20px,2.1vw,30px);
}
.wstat__top{
  flex:none;
  display:flex; align-items:flex-start; justify-content:space-between; gap:12px;
}
.wstat__num{
  font-family:var(--display);
  font-size:clamp(28px,3vw,48px);
  font-weight:600; letter-spacing:var(--track-num); line-height:1;
  font-variant-numeric:tabular-nums;
}
.wstat__idx{ font-size:12px; color:var(--grey); font-variant-numeric:tabular-nums; }
.wstat__main{
  flex:1;
  display:flex; flex-direction:column; justify-content:space-between;
  gap:32px;
  min-height:clamp(180px,20vw,300px);
}
.wstat__label{
  text-align:right;
  font-family:var(--display);
  font-size:clamp(16px,1.5vw,22px);
  font-weight:600; letter-spacing:var(--track-mid); line-height:1.25;
}
.wstat__note{ font-size:clamp(13.5px,1.1vw,16px); line-height:1.45; color:var(--grey); }

/* ── Stats row ──
   Plain oversized numerals on the grid — not cards. Only the 4-up variant is
   in use now (under Experiences); the 3-across base is kept for reuse. */
.stats{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:clamp(20px,3vw,40px);
  padding-bottom:clamp(36px,4.5vw,64px);
  border-bottom:1px solid var(--line);
}
/* 4-up variant (under Experiences). No rule beneath — it's closing a section
   rather than opening one, and the pricing panel follows it. */
.stats--4{
  grid-template-columns:repeat(4,minmax(0,1fr));
  border-bottom:0;
  padding-bottom:0;
  margin-top:clamp(48px,6vw,88px);
}
.stat__value{
  display:block;
  font-family:var(--display);
  font-size:clamp(44px,6vw,85px);
  font-weight:600;
  letter-spacing:var(--track-num);
  line-height:1;
  font-variant-numeric:tabular-nums;
}
.stat__label{
  display:block;
  font-size:14.5px;
  color:var(--grey);
  margin-top:18px;
  line-height:1.5;
}

/* ── About ──
   Story left, portrait right, beliefs on the 4-column grid underneath. Takes
   a hairline opener because Why choose us above it is also light and no
   longer ends in a rule (the old proof strip did). */
.about{
  background:var(--paper);
  padding-block:clamp(56px,7vw,100px) clamp(64px,8vw,120px);
}
.about__grid{
  display:grid;
  grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);
  gap:clamp(28px,4vw,64px);
  align-items:stretch;
}
/* Signature drops to the bottom of the column so it lines up with the
   foot of the portrait rather than leaving a hole under the copy */
.about__story{ display:flex; flex-direction:column; }

/* Grey body, ink emphasis — the footer lede's device, right way up */
.about__lede{
  font-family:var(--display);
  font-size:clamp(23px,2.9vw,40px);
  font-weight:600;
  line-height:1.18;
  letter-spacing:var(--track-mid);
  color:var(--grey);
  max-width:24ch;
}
.about__lede strong{ font-weight:600; color:var(--ink); }
.about__text{
  font-size:clamp(15px,1.25vw,17px);
  color:var(--grey);
  max-width:56ch;
  margin-top:clamp(20px,2vw,28px);
}

/* The last paragraph owns the minimum gap; margin-top:auto below only adds
   the leftover space, so the rule never butts up against the copy. */
.about__text:last-of-type{ margin-bottom:clamp(32px,3.5vw,48px); }
.about__sign{
  display:flex; flex-direction:column; gap:4px;
  margin-top:auto;
  padding-top:22px;
  border-top:1px solid var(--line);
}
.about__signName{
  font-family:var(--display);
  font-size:clamp(17px,1.5vw,21px);
  font-weight:600; letter-spacing:var(--track-mid);
}
.about__signRole{
  font-size:12px; text-transform:uppercase; letter-spacing:.14em; color:var(--grey);
}

.about__portrait{
  position:relative;
  margin:0;
  background:var(--card);
  border-radius:var(--radius);
  overflow:hidden;
}
.about__portrait img{
  width:100%; height:auto; aspect-ratio:4/5; object-fit:cover;
  object-position:center 20%;
  transform-origin:center 30%;
  transition:transform 1s var(--ease-out), filter 1s var(--ease);
  will-change:transform;
}
.about__portrait:hover img{
  transform:scale(1.06);
  filter:saturate(1.07) brightness(1.02);
}
/* the sweep — same device as .why__figure */
.about__portrait::after{
  content:''; position:absolute; inset:-10% -40%;
  z-index:1; pointer-events:none;
  background:linear-gradient(102deg,
    rgba(255,255,255,0)   38%,
    rgba(255,255,255,.30) 50%,
    rgba(255,255,255,0)   62%);
  transform:translate3d(-115%,0,0);
  opacity:0;
}
.about__portrait:hover::after{
  opacity:1;
  transform:translate3d(115%,0,0);
  transition:transform 1.05s var(--ease-out), opacity .25s var(--ease);
}
.about__cap{
  padding:clamp(18px,1.8vw,24px);
  font-size:14px; line-height:1.5; color:var(--grey);
}

/* Beliefs — index in column 1, line in columns 2–4, same signature as .sec-grid */
.beliefs{
  margin-top:clamp(44px,5.5vw,80px);
  border-top:1px solid var(--line);
}
.belief{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:4px;
  align-items:baseline;
  padding:clamp(20px,2.2vw,28px) 0;
  border-bottom:1px solid var(--line);
}
.belief__idx{
  grid-column:1;
  font-size:15px; color:var(--grey);
  font-variant-numeric:tabular-nums;
}
.belief__text{
  grid-column:2 / -1;
  font-family:var(--display);
  font-size:clamp(19px,2.1vw,29px);
  font-weight:600; letter-spacing:var(--track-mid); line-height:1.24;
  max-width:34ch;
}

/* ── Services accordion ──
   Row grid mirrors the reference: index col 1, title col 2, tags col 3–4,
   toggle pinned right. */
.acc{ border-bottom:1px solid var(--line-dark); }
.acc__row{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1.7fr) minmax(0,1.3fr) 54px;
  gap:4px;
  align-items:start;
  padding:26px 0;
  border-top:1px solid var(--line-dark);
}
.acc__idx{
  grid-column:1;
  font-size:15px;
  color:var(--grey-dim);
  font-variant-numeric:tabular-nums;
  padding-top:4px;
}
.acc__main{ grid-column:2; }
.acc__title{
  font-family:var(--display);
  font-size:clamp(21px,2.1vw,30px);
  font-weight:600;
  letter-spacing:var(--track-mid);
  display:flex; align-items:center; gap:12px; flex-wrap:wrap;
}
.acc__flag{
  font-size:10.5px; text-transform:uppercase; letter-spacing:.14em;
  background:var(--accent); color:var(--paper);
  padding:5px 10px; border-radius:999px;
  font-weight:500;
}
/* Open by default so the content is readable with JS off. main.js adds
   .has-acc to <html>, which is what switches on the collapsing. */
.acc__detail{
  display:grid;
  grid-template-rows:1fr;
  transition:grid-template-rows .45s var(--ease-out), opacity .35s var(--ease);
}
.acc__detail > *{ overflow:hidden; }
.has-acc .acc__detail{ grid-template-rows:0fr; opacity:0; }
.has-acc .acc__row.is-open .acc__detail{ grid-template-rows:1fr; opacity:1; }
.acc__text{
  font-size:15.5px; color:var(--grey-dim);
  max-width:42ch; padding-top:14px;
}

.acc__tags{
  grid-column:3;
  transition:opacity .35s var(--ease);
}
.has-acc .acc__tags{ opacity:0; pointer-events:none; }
.has-acc .acc__row.is-open .acc__tags{ opacity:1; pointer-events:auto; }
.acc__tagsLabel{
  font-size:11.5px; text-transform:uppercase; letter-spacing:.14em;
  color:var(--grey); margin-bottom:12px;
}
.acc__tags ul{ display:flex; flex-wrap:wrap; gap:8px; }
.acc__tags li{
  font-size:13px;
  background:var(--paper); color:var(--ink);
  padding:6px 13px; border-radius:999px;
}

.acc__btn{ display:none; }
.has-acc .acc__btn{
  display:block;
  grid-column:4;
  justify-self:end;
  position:relative;
  width:44px; height:44px;
  border-radius:50%;
  border:1px solid var(--line-dark);
  background:transparent;
  cursor:pointer;
  transition:background .25s var(--ease), border-color .25s var(--ease);
}
.acc__btn:hover{ background:rgba(255,255,255,.07); border-color:rgba(255,255,255,.3); }
.acc__btn::before,
.acc__btn::after{
  content:''; position:absolute; inset:0; margin:auto;
  background:var(--paper);
  transition:transform .35s var(--ease-out), opacity .35s var(--ease);
}
.acc__btn::before{ width:13px; height:1.5px; }
.acc__btn::after{ width:1.5px; height:13px; }
.acc__row.is-open .acc__btn::after{ transform:rotate(90deg); opacity:0; }

/* CTA under the services accordion. Grey copy with the emphasis in paper —
   the same device as the footer lede, so it reads as a closing line rather
   than a fourth pillar. */
.studio__cta{
  display:flex; align-items:center; justify-content:space-between;
  gap:clamp(20px,3vw,48px);
  flex-wrap:wrap;
  margin-top:clamp(32px,4vw,56px);
}
.studio__ctaText{
  font-family:var(--display);
  font-size:clamp(17px,1.7vw,24px);
  font-weight:600;
  letter-spacing:var(--track-mid);
  line-height:1.25;
  color:var(--grey-dim);
  max-width:36ch;
}
.studio__ctaText strong{ font-weight:600; color:var(--paper); }
.studio__cta .btn{ margin-top:0; flex:none; }

/* ── Projects ──
   Browser-window cards: a title strip sitting over a shot. Header runs
   count (col 1) · heading + © year (cols 2–3) · intro (col 4). */
.projects{
  background:var(--paper);
  padding-block:clamp(64px,8vw,120px);
}
.projects__head{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:4px;
  align-items:start;
  margin-bottom:clamp(44px,5.5vw,88px);
}
.projects__count{
  grid-column:1;
  font-size:15px; color:var(--grey);
  font-variant-numeric:tabular-nums;
}
.projects__title{ grid-column:2 / 4; }
.projects__year{
  font-family:var(--display);
  font-size:clamp(20px,2.6vw,40px);
  font-weight:600;
  letter-spacing:var(--track-mid);
  line-height:1;
  margin-top:clamp(8px,1vw,16px);
}
.projects__intro{
  grid-column:4;
  font-size:clamp(14.5px,1.15vw,17px);
  line-height:1.5;
  color:var(--grey);
  max-width:30ch;
}

.projects__grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:clamp(10px,.9vw,14px);
}
.proj__link{
  display:flex; flex-direction:column;
  gap:clamp(7px,.6vw,10px);
}

/* Title strip */
.proj__bar{
  display:flex; align-items:center; gap:10px;
  background:var(--card);
  border-radius:var(--radius);
  padding:16px clamp(18px,1.6vw,24px);
}
.proj__name{
  font-family:var(--display);
  font-size:clamp(16px,1.35vw,19px);
  font-weight:600; letter-spacing:var(--track-mid);
}
.proj__yr{ font-size:14px; color:var(--grey); }
/* Window dots. Grey at rest, traffic lights on hover — the reference's one
   bit of play, and the only place those colours appear. */
.proj__dots{ display:flex; align-items:center; gap:5px; margin-left:auto; }
.proj__dots i{
  width:9px; height:9px; border-radius:50%;
  background:#d6d6d6;
  transition:background .25s var(--ease);
}
.proj:hover .proj__dots i:nth-child(1){ background:#ff5f57; }
.proj:hover .proj__dots i:nth-child(2){ background:#febc2e; }
.proj:hover .proj__dots i:nth-child(3){ background:#28c840; }

/* Shot */
/* Placeholder runs dark, unlike the light stand-ins elsewhere, because the
   brand lockup sits on top of it in white. */
.proj__shot{
  position:relative;
  display:block;
  aspect-ratio:4/3;
  border-radius:var(--radius);
  overflow:hidden;                 /* keeps the hover zoom inside the corner radius */
  background:repeating-linear-gradient(45deg,#33343a 0 14px,#2b2c31 14px 28px);
}
.proj__ph,
.proj__img{
  position:absolute; inset:0;
  width:100%; height:100%;
  object-fit:cover;
  transition:transform .7s var(--ease-out);
}
.proj:hover .proj__img{ transform:scale(1.045); }
/* Scrim so the lockup stays legible over a bright photo too */
.proj__shot::after{
  content:''; position:absolute; inset:0; z-index:1;
  pointer-events:none;
  background:linear-gradient(180deg, rgba(0,0,0,.16), rgba(0,0,0,.34));
}

/* Brand lockup, centred over the shot */
.proj__brand{
  position:absolute; inset:0; z-index:2;
  display:flex; align-items:center; justify-content:center; gap:14px;
  font-family:var(--display);
  font-size:clamp(18px,1.8vw,28px);
  font-weight:600; letter-spacing:var(--track-mid);
  color:var(--paper);
  text-shadow:0 2px 18px rgba(0,0,0,.35);
}
.proj__mark{
  flex:none;
  width:clamp(34px,2.9vw,44px); aspect-ratio:1;
  border-radius:12px;
  display:grid; place-items:center;
  background:var(--paper); color:var(--ink);
  font-size:.62em; text-shadow:none;
}

/* ── Project caption ──
   Only cards with something true to say carry one, so it has to sit happily
   next to cards that don't. Reuses .chip from the case study block rather
   than introducing a second pill style. */
.proj__status{
  position:absolute; z-index:2;
  top:12px; left:12px;
  font-size:11px; font-weight:500;
  letter-spacing:.1em; text-transform:uppercase;
  color:var(--paper);
  background:rgba(10,10,10,.55);
  border:1px solid rgba(245,245,245,.28);
  backdrop-filter:blur(6px);
  padding:6px 11px; border-radius:999px;
}
/* min-width:0 — this is a grid item. The default min-width:auto lets the
   Regulars carousel's min-content width (~2000px) stretch the card, and
   aspect-ratio then makes the shot ~1500px tall. On a phone that card
   fills the screen but is still under the scroll-reveal threshold, so it
   stays opacity 0. See .projects__grid in the mobile breakpoint too. */
.proj{ display:flex; flex-direction:column; gap:clamp(7px,.6vw,10px); min-width:0; }
.proj__facts{ list-style:none; margin:0; padding:0; }
.proj__desc, .proj__stack{ margin:0; }
.proj__meta{
  display:flex; flex-direction:column;
  gap:12px;
  min-width:0;
  background:var(--card);
  border-radius:var(--radius);
  padding:clamp(18px,1.6vw,24px);
}
.proj__desc{
  font-size:clamp(14px,1.1vw,15.5px);
  line-height:1.55;
  color:var(--grey);
}
.proj__facts{ display:flex; flex-wrap:wrap; gap:7px; }
.proj__stack{
  font-size:12.5px;
  line-height:1.5;
  color:var(--grey);
  opacity:.85;
}
.proj__video{
  border-radius:14px;
  overflow:hidden;
  aspect-ratio:16/9;
  background:var(--ink);
}
.proj__video video{ width:100%; height:100%; object-fit:cover; display:block; }
.proj__live{
  display:inline-flex; align-items:center; gap:6px;
  width:fit-content;
  font-size:13px; font-weight:500;
  color:var(--ink);
  border-bottom:1px solid var(--line);
  padding-bottom:2px;
  transition:border-color .25s var(--ease), color .25s var(--ease);
}
.proj__live:hover{ color:var(--accent); border-bottom-color:var(--accent); }

/* ── Project detail modal ──
   The caption is inline until main.js moves it into a <dialog>; .has-modal
   is what hides the inline copy, so with JS off the text is still on the page. */
.has-modal .proj__meta{ display:none; }
.has-modal dialog .proj__meta{ display:flex; padding:0; background:none; }

/* The trigger card is a <button>, so it needs the browser defaults stripped */
button.proj__link{
  border:0; background:none; padding:0;
  font:inherit; color:inherit; text-align:left;
  width:100%; cursor:pointer;
}
.proj__more{
  position:absolute; z-index:2;
  right:12px; bottom:12px;
  font-size:12px; font-weight:500;
  color:var(--ink);
  background:var(--paper);
  padding:8px 14px; border-radius:999px;
  opacity:0; transform:translateY(6px);
  transition:opacity .3s var(--ease), transform .3s var(--ease);
}
.proj:hover .proj__more,
button.proj__link:focus-visible .proj__more{ opacity:1; transform:none; }
/* Touch devices never :hover, so the "View details" pill — the only cue
   that these cards open a modal — was permanently invisible there. */
@media (hover:none){
  .proj__more{ opacity:1; transform:none; }
}

.modal{
  width:min(640px, calc(100vw - 32px));
  max-height:min(80vh, 640px);
  padding:clamp(22px,2.4vw,32px);
  border:0;
  border-radius:var(--radius);
  background:var(--card);
  color:var(--ink);
  overflow:auto;
  overscroll-behavior:contain;
}
/* Opt-in via data-modal-wide on the panel (see initProjectModal in main.js) —
   for modal content that needs real width, like the Regulars System carousel. */
.modal--wide{
  width:min(980px, calc(100vw - 32px));
  max-height:min(86vh, 720px);
}
.modal::backdrop{
  background:rgba(10,10,10,.62);
  backdrop-filter:blur(3px);
}
.modal__head{
  display:flex; align-items:center; justify-content:space-between;
  gap:16px; margin-bottom:16px;
}
.modal__title{
  font-family:var(--display);
  font-size:clamp(22px,2.2vw,30px);
  font-weight:600; letter-spacing:var(--track-mid);
}
.modal__close{
  flex:none;
  position:relative;
  width:38px; height:38px;
  border-radius:50%;
  border:1px solid var(--line);
  background:none; cursor:pointer;
  transition:background .25s var(--ease);
}
.modal__close:hover{ background:var(--fill,#ededed); }
.modal__close::before,
.modal__close::after{
  content:''; position:absolute; inset:0; margin:auto;
  width:14px; height:1.5px; background:var(--ink);
}
.modal__close::before{ transform:rotate(45deg); }
.modal__close::after{ transform:rotate(-45deg); }

/* ── Regulars System carousel (inside the "modal--wide" dialog) ──
   A horizontal, centre-focus card rail: whichever card sits in the middle
   scales up to full size/opacity, its neighbours shrink and dim toward the
   edges. JS (initRegularsCarousel in main.js) reads each card's distance
   from the rail's centre on scroll and writes it to --rs-focus; everything
   else here is pure CSS reacting to that one variable. */
.rs{ display:flex; flex-direction:column; gap:14px; min-width:0; }
.rs-carousel{
  --rs-card-w: min(260px, 72vw);
  min-width:0; /* flex item: don't inherit the track's min-content width */
  overflow-x:auto;
  overflow-y:hidden;
  scroll-snap-type:x mandatory;
  -webkit-overflow-scrolling:touch;
  scrollbar-width:none;
  outline:none;
  /* generous so a focused card isn't clipped by the dialog's own padding */
  margin-inline:-24px;
  padding-block:6px;
}
.rs-carousel::-webkit-scrollbar{ display:none; }
.rs-track{
  display:flex;
  align-items:stretch;
  gap:14px;
  /* lets the first and last cards still reach dead centre */
  padding-inline:calc(50% - var(--rs-card-w) / 2);
}
.rs-card{
  position:relative;
  flex:none;
  width:var(--rs-card-w);
  min-height:280px;
  border-radius:var(--radius);
  overflow:hidden;                    /* clips the background image to the radius */
  scroll-snap-align:center;
  /* --rs-focus is 1 at dead centre, 0 at the rail's edge — JS keeps it live */
  transform:scale(calc(0.86 + 0.14 * var(--rs-focus, 0.4)));
  opacity:calc(0.42 + 0.58 * var(--rs-focus, 0.4));
  filter:saturate(calc(0.7 + 0.3 * var(--rs-focus, 0.4)));
  transition:transform .25s var(--ease), opacity .25s var(--ease), filter .25s var(--ease);
}
.rs-card--ink{ background:var(--ink); color:var(--paper); }
.rs-card--paper{ background:var(--fill,#ededed); color:var(--ink); }
.rs-card--accent{ background:var(--accent); color:var(--paper); }

/* Faint, on-theme texture behind each card's own flat colour — not a real
   photo of anything, so always decorative-only (aria-hidden) and always
   this quiet. Luminosity blend lets each card's own background colour
   show through the image rather than fighting it. */
.rs-card__img{
  position:absolute; inset:0; z-index:0;
  width:100%; height:100%;
  object-fit:cover;
  opacity:.22;
  filter:grayscale(1) contrast(1.05);
  mix-blend-mode:luminosity;
  pointer-events:none;
}
.rs-card__inner{
  position:relative; z-index:1;
  height:100%;
  display:flex; flex-direction:column;
  padding:clamp(18px,2vw,26px);
}

.rs-card__eyebrow{
  font-size:12px; letter-spacing:.08em; text-transform:uppercase;
  opacity:.65; margin-bottom:14px;
}
.rs-card__body{
  font-size:clamp(14.5px,1.2vw,16.5px);
  line-height:1.5;
}
.rs-card__body--lg{
  font-family:var(--display);
  font-size:clamp(19px,2vw,25px);
  font-weight:600; letter-spacing:var(--track-mid); line-height:1.25;
  margin-top:auto; margin-bottom:auto;
}
.rs-card__quote{
  margin:0 0 14px;
  font-family:var(--display);
  font-size:clamp(16px,1.6vw,19px);
  font-weight:600; letter-spacing:var(--track-mid); line-height:1.3;
}
.rs-card__list,
.rs-card__steps{
  display:flex; flex-direction:column; gap:12px;
  list-style:none; margin:0; padding:0;
  counter-reset:rs;
}
.rs-card__list li,
.rs-card__steps li{ font-size:clamp(13.5px,1.1vw,15px); line-height:1.5; }
.rs-card__steps li{ padding-left:22px; position:relative; counter-increment:rs; }
.rs-card__steps li::before{
  content:counter(rs);
  position:absolute; left:0; top:0;
  font-family:var(--display); font-weight:600; font-size:12.5px;
  opacity:.55;
}
.rs-card__ph{
  margin-top:auto;
  font-size:11.5px; letter-spacing:.1em; text-transform:uppercase;
  opacity:.55;
}
.rs-card__cta{
  display:inline-flex; align-items:center; justify-content:center;
  margin-top:auto;
  background:var(--paper); color:var(--ink);
  font-size:14.5px; font-weight:600;
  padding:13px 22px; border-radius:999px;
  transition:transform .25s var(--ease);
}
.rs-card__cta:hover{ transform:translateY(-2px); }
.rs-card__ctaAlt{
  display:inline-flex; align-items:center;
  margin-top:12px;
  font-size:13px;
  border-bottom:1px solid rgba(245,245,245,.4);
  padding-bottom:2px; width:fit-content;
}

.rs-nav{ display:flex; justify-content:flex-end; gap:8px; }
.rs-navBtn{
  width:34px; height:34px; border-radius:50%;
  border:1px solid var(--line);
  background:none; cursor:pointer;
  font-size:18px; line-height:1; color:var(--ink);
  transition:background .25s var(--ease);
}
.rs-navBtn:hover{ background:var(--fill,#ededed); }

@media (max-width:560px){
  .rs-carousel{ margin-inline:-18px; }
}

@media (prefers-reduced-motion:reduce){
  .rs-carousel{ scroll-behavior:auto; }
  .rs-card{ transition:none; }
  .why__figure:hover .why__img{ transform:none; filter:none; }
  .why__figure::after, .why__figure:hover::after{ display:none; }
  .about__portrait:hover img{ transform:none; filter:none; }
  .about__portrait::after, .about__portrait:hover::after{ display:none; }
  .proj__more{ opacity:1; transform:none; }
}

.work__note{
  margin-top:clamp(32px,4vw,48px);
  font-size:15px; color:var(--grey); max-width:52ch;
}

/* ── Pricing ──
   Dark panel. Cards sit a touch lighter than the panel with a hairline edge,
   which is what separates them from the background at this value range —
   a white card would blow the section apart. */
.pricing{
  --pcard:rgba(255,255,255,.045);
  --pedge:rgba(255,255,255,.075);
}
.pricing__body{ margin-top:clamp(-24px,-2vw,0px); }

/* Segmented billing switch. Hidden until main.js adds .has-pricing, so it's
   never a dead control — same approach as the services accordion. */
.seg{ display:none; }
.has-pricing .seg{
  display:inline-flex;
  flex-wrap:wrap;
  gap:4px;
  padding:5px;
  border-radius:999px;
  background:var(--pcard);
  border:1px solid var(--pedge);
  margin-bottom:clamp(20px,2.4vw,34px);
}
.seg__btn{
  border:0; cursor:pointer;
  font-family:var(--body); font-size:14.5px; font-weight:500;
  letter-spacing:-.01em;
  padding:10px 22px;
  border-radius:999px;
  background:transparent; color:var(--grey-dim);
  transition:background .25s var(--ease), color .25s var(--ease);
}
.seg__btn:hover{ color:var(--paper); }
.seg__btn.is-on{ background:var(--paper); color:var(--ink); }
/* Convert is the only accented pillar — same rule as the accordion, where it
   carries the one orange flag. Attract and Automate stay white when selected. */
.seg__btn[data-pillar="convert"].is-on{ background:var(--accent); color:var(--paper); }

.pricing__grid{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,3fr);
  gap:clamp(10px,.9vw,14px);
  align-items:stretch;
}
.pcard{
  background:var(--pcard);
  border:1px solid var(--pedge);
  border-radius:var(--radius);
  padding:clamp(22px,2.4vw,34px);
  min-height:clamp(280px,27vw,414px);
  display:flex; flex-direction:column; justify-content:space-between;
  gap:32px;
}

/* Add-on card */
.pcard__title{
  font-family:var(--display);
  font-size:clamp(16px,1.35vw,19px);
  font-weight:600; letter-spacing:var(--track-mid);
}
.pcard__text{
  margin-top:10px;
  font-size:clamp(14px,1.15vw,17px);
  line-height:1.45;
  color:var(--grey-dim);
}
/* Entry card foot: the audit price and its own way in. The reference has a
   toggle here, but nothing in these rates is optional in that way — the
   monthly figures are part of the offer, not an add-on — so a real CTA
   earns the slot instead. */
.entry__foot{ display:flex; align-items:center; justify-content:space-between; gap:16px; flex-wrap:wrap; }
.entry__price{
  font-family:var(--display);
  font-size:clamp(22px,2.1vw,30px);
  font-weight:600; letter-spacing:var(--track-num);
}
.pcard__pill{
  flex:none;
  background:var(--paper); color:var(--ink);
  font-size:13.5px; font-weight:600; letter-spacing:-.01em;
  padding:11px 20px; border-radius:999px;
  transition:background .25s var(--ease), color .25s var(--ease), transform .25s var(--ease);
}
.pcard__pill:hover{ background:var(--accent); color:var(--paper); transform:translateY(-1px); }

/* Main plan card */
.pcard--main{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:clamp(24px,3vw,56px);
}
.pcard__left,
.pcard__right{ display:flex; flex-direction:column; justify-content:space-between; gap:32px; }

.price{ display:flex; align-items:baseline; gap:8px; flex-wrap:wrap; }
.price__amount{
  font-family:var(--display);
  font-size:clamp(38px,4.4vw,68px);
  font-weight:600; letter-spacing:var(--track-num); line-height:1;
  font-variant-numeric:tabular-nums;
}
.price__suffix{ font-size:clamp(14px,1.4vw,22px); color:var(--grey-dim); }

.pcard__meta{
  display:flex; align-items:baseline; justify-content:space-between;
  gap:16px;
  padding-bottom:16px;
  border-bottom:1px solid var(--line-dark);
  font-size:clamp(13.5px,1.1vw,16px);
  color:var(--grey-dim);
}
.pcard__metaValue{ color:var(--paper); }

/* Each row is a rung of the ladder: name left, price right, so the column
   reads as a price list rather than a feature list. */
.feats{ display:flex; flex-direction:column; gap:clamp(16px,1.8vw,26px); }
.feats li{
  display:flex; align-items:flex-start; gap:14px;
  font-size:clamp(14.5px,1.25vw,19px);
  letter-spacing:-.01em;
  line-height:1.3;
  flex-wrap:wrap;
}
.feats__name{ flex:1 1 auto; min-width:0; }
.feats__detail{
  flex:none;
  margin-left:auto;
  color:var(--grey-dim);
  font-variant-numeric:tabular-nums;
}
.feats__plus{
  position:relative; flex:none;
  width:22px; height:22px; border-radius:7px;
  background:rgba(255,255,255,.09);
  margin-top:1px;
}
.feats__plus::before,
.feats__plus::after{
  content:''; position:absolute; inset:0; margin:auto;
  background:var(--paper);
}
.feats__plus::before{ width:9px; height:1.5px; }
.feats__plus::after{ width:1.5px; height:9px; }

.pricing__cta{
  margin-top:0;
  width:100%;
  text-align:center;
  padding:18px 28px;
}

/* Small footnote under the grid — the one place VAT status is stated,
   rather than repeating "+VAT" on every figure. */
.pricing__vat{
  margin-top:14px;
  font-size:13px;
  color:var(--grey);
}

/* Closing note — label in column 1, statement across 2–4, same as .sec-grid */
.pricing__more{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:4px;
  margin-top:clamp(48px,6vw,96px);
}
.pricing__moreLabel{
  grid-column:1;
  font-size:clamp(13.5px,1.1vw,16px);
  color:var(--grey);
}
.pricing__moreBody{ grid-column:2 / -1; }
.pricing__lede{
  font-family:var(--display);
  font-size:clamp(20px,2.4vw,36px);
  font-weight:600;
  letter-spacing:var(--track-mid);
  line-height:1.14;
  color:var(--grey-dim);
  /* the reference indents the opening line rather than left-aligning it flat */
  text-indent:clamp(0px,10vw,155px);
}
.pricing__lede strong{ font-weight:600; color:var(--paper); }

.pricing__by{
  display:flex; align-items:center; gap:12px;
  margin-top:clamp(26px,3vw,44px);
}
.pricing__avatar{
  flex:none;
  width:44px; height:44px; border-radius:50%;
  object-fit:cover;
  background:rgba(255,255,255,.1);
  transition:transform .5s var(--ease-out);
}
.pricing__by:hover .pricing__avatar{ transform:scale(1.08); }
.pricing__who{ display:flex; flex-direction:column; line-height:1.35; }
.pricing__name{ font-size:clamp(15px,1.25vw,18px); font-weight:600; letter-spacing:-.01em; }
.pricing__role{ font-size:clamp(13px,1.1vw,16px); color:var(--grey); }

/* ── Featured case study ──
   Three columns at 2:1:1 — dark hero, metrics, then a stacked score and
   traffic column. Sizes measured off the reference at a 1545px viewport. */
.study{
  background:var(--paper);
  padding-block:clamp(56px,7vw,96px) clamp(56px,7vw,100px);
  --fill:#ededed;                            /* the charts' light grey */
}
.study__grid{
  display:grid;
  grid-template-columns:minmax(0,2fr) minmax(0,1fr) minmax(0,1fr);
  gap:clamp(10px,.9vw,14px);
  align-items:stretch;
}

/* ── Dark hero card ── */
.study__hero{
  position:relative;
  overflow:hidden;
  isolation:isolate;
  background:var(--ink);
  color:var(--paper);
  border-radius:var(--radius);
  min-height:clamp(380px,38vw,592px);
  display:flex;
}
/* Image occupies the right of the card; the scrim fades it into black so the
   wordmark stays legible over whatever photo lands here. */
.study__photo,
.study__img{
  position:absolute; inset:0 0 0 26%;
  z-index:0;
}
.study__img{ width:100%; height:100%; object-fit:cover; }
.study__photo{
  background:repeating-linear-gradient(45deg,#1b1b1e 0 16px,#141417 16px 32px);
  /* Label parks top-right, clear of the wordmark. It goes away with a real
     photo, so it only has to stay out of the way until then. */
  display:grid; place-items:start end;
  padding:74px 24px 0 0;
}
.study__photo span{
  font-size:11.5px; letter-spacing:.14em; text-transform:uppercase;
  color:var(--grey-dim); background:rgba(255,255,255,.06);
  padding:7px 12px; border-radius:999px;
}
.study__scrim{
  position:absolute; inset:0; z-index:1;
  background:linear-gradient(90deg,
    #0a0a0a 0%, #0a0a0a 26%, rgba(10,10,10,.62) 54%, rgba(10,10,10,.12) 100%);
}
.study__heroInner{
  position:relative; z-index:2;
  flex:1;
  display:flex; flex-direction:column; justify-content:space-between;
  gap:32px;
  padding:clamp(22px,2.4vw,36px);
}
.study__top{ display:flex; align-items:flex-start; justify-content:space-between; gap:20px; }
.study__kicker{
  font-family:var(--display);
  font-size:clamp(15px,1.25vw,18.5px);
  font-weight:600; letter-spacing:var(--track-mid);
}
.study__sub{ font-size:clamp(13px,1.05vw,15px); color:var(--grey-dim); margin-top:5px; }

.study__mark{
  font-family:var(--display);
  font-size:clamp(38px,5.6vw,86px);
  font-weight:600;
  letter-spacing:var(--track-display);
  line-height:.9;
  margin-block:auto;                         /* parks it in the middle band */
}
.study__mark sup{ font-size:.42em; top:-.85em; letter-spacing:0; }

.study__bottom{
  display:flex; align-items:flex-end; justify-content:space-between;
  gap:24px; flex-wrap:wrap;
}
.study__live{
  display:inline-flex; align-items:center; gap:8px;
  font-size:clamp(13px,1.05vw,15px);
  border-bottom:1px solid rgba(245,245,245,.25);
  padding-bottom:3px;
  transition:border-color .25s var(--ease), color .25s var(--ease);
}
.study__live:hover{ color:var(--accent); border-bottom-color:var(--accent); }
.study__tag{
  font-family:var(--display);
  font-size:clamp(16px,1.7vw,26px);
  font-weight:600; letter-spacing:var(--track-mid); line-height:1.2;
  text-align:right;
  max-width:18ch; margin-left:auto;
}
.study__tagDim{ color:var(--grey-dim); }

/* ── Metrics card ── */
.study__metrics{
  position:relative;
  overflow:hidden;
  background:var(--card);
  border-radius:var(--radius);
  padding:clamp(22px,2.4vw,36px);
  display:flex; flex-direction:column; justify-content:space-between;
  gap:36px;
}
/* Concentric hairline rings bleeding off the left edge, as in the reference */
.study__rings{
  position:absolute; inset:0; z-index:0;
  background:repeating-radial-gradient(circle at 4% 34%,
    rgba(10,10,10,0) 0 74px, rgba(10,10,10,.055) 74px 75px);
}
.study__metricList,
.study__quote{ position:relative; z-index:1; }
.study__metricList{ display:flex; flex-direction:column; gap:clamp(22px,2.2vw,34px); }
.metric__label{ font-size:clamp(13px,1.05vw,15px); color:var(--grey); }
.metric__value{
  font-family:var(--display);
  font-size:clamp(19px,2.2vw,34px);
  font-weight:600; letter-spacing:var(--track-mid); line-height:1.16;
  margin-top:10px;
}

.study__quote{ margin:0; }
.study__quoteText{
  margin:12px 0 0;
  font-size:clamp(14.5px,1.15vw,17px);
  line-height:1.45;
  color:var(--grey);
  max-width:32ch;
}
/* Placeholder until a real client quote lands — deliberately quiet so it
   reads as pending rather than as a testimonial. */
.study__quoteText--empty{
  color:var(--grey);
  font-style:normal;
  opacity:.7;
}
.study__by{
  display:flex; align-items:center; gap:10px;
  margin-top:18px;
  font-size:clamp(14px,1.1vw,16px);
  font-weight:600; letter-spacing:-.01em;
}
.study__avatar{
  flex:none;
  width:30px; height:30px; border-radius:50%;
  display:grid; place-items:center;
  background:var(--ink); color:var(--paper);
  font-family:var(--display); font-size:11px; font-weight:600; letter-spacing:.02em;
}

/* ── Right column ── */
.study__side{
  display:flex; flex-direction:column;
  gap:clamp(10px,.9vw,14px);
}
.study__score,
.study__traffic{
  background:var(--card);
  border-radius:var(--radius);
  padding:clamp(22px,2.4vw,32px);
}
.study__score{
  flex:none;
  display:flex; flex-direction:column; align-items:center; text-align:center;
}
/* A plain bordered circle is exactly the reference's full ring */
.ring{
  width:clamp(88px,7.6vw,118px);
  aspect-ratio:1;
  border-radius:50%;
  border:14px solid var(--fill);
  display:grid; place-items:center;
  margin-bottom:clamp(16px,1.6vw,24px);
}
.ring__num{
  font-family:var(--display);
  font-size:clamp(19px,1.8vw,26px);
  font-weight:600; letter-spacing:var(--track-num);
}
.study__scoreTitle{
  font-family:var(--display);
  font-size:clamp(15px,1.3vw,18px);
  font-weight:600; letter-spacing:var(--track-mid);
}
.study__scoreText{
  margin-top:10px;
  font-size:clamp(13.5px,1.1vw,16px);
  line-height:1.45; color:var(--grey);
}

.study__traffic{ flex:1; display:flex; flex-direction:column; }
.study__traffic .proj__live{ margin-top:16px; }
/* Chip row inside the repurposed .study__score box — "What we built" */
.study__chips{ display:flex; flex-wrap:wrap; gap:7px; justify-content:center; margin-top:4px; }
.study__big{
  display:flex; align-items:center; gap:10px;
  font-family:var(--display);
  font-size:clamp(28px,2.8vw,42px);
  font-weight:600; letter-spacing:var(--track-num); line-height:1;
}
.chip{
  font-family:var(--body);
  font-size:12px; font-weight:500; letter-spacing:0;
  /* --fill is scoped to .study, so the fallback is what makes .chip reusable
     outside it (the project captions) rather than rendering transparent. */
  background:var(--fill,#ededed); color:var(--ink);
  padding:5px 10px; border-radius:999px;
}
.study__label{ margin-top:8px; font-size:clamp(13px,1.05vw,15px); color:var(--grey); }

/* Bars and month labels share a 6-column grid so they stay in step */
.bars,
.months{
  display:grid;
  grid-template-columns:repeat(6,minmax(0,1fr));
  gap:clamp(6px,.8vw,12px);
}
.bars{
  align-items:stretch;                       /* each li fills the row... */
  height:clamp(120px,13vw,196px);
  margin-top:auto;
  padding-top:20px;
}
/* ...so --h has a resolved height to be a percentage of. Without the
   stretched li, the percentage falls back to content height and every bar
   collapses to its label. */
.bars li{ display:flex; align-items:flex-end; }
.bar{
  display:grid; place-items:center;
  width:100%;
  height:var(--h);
  min-height:34px;
  border-radius:10px;
  background:var(--fill);
}
.bar--now{ background:var(--ink); color:var(--paper); }
/* Bottom-to-top label, sitting inside its bar */
.bar__v{
  writing-mode:vertical-rl;
  transform:rotate(180deg);
  font-size:12px; font-weight:600; letter-spacing:-.01em;
  padding-block:8px;
}
.months{
  margin-top:10px;
  font-size:12.5px; color:var(--grey); text-align:center;
}

/* ── Experiences ──
   Four columns of white cards, tight 12px gutters. Each testimonial is one
   column: a person card plus a quote card. The middle column flips so its
   quote sits on top — that alternation is the whole rhythm of the row.
   Sizes measured off the reference at a 1568px viewport. */
.exp{
  background:var(--paper);
  padding-block:clamp(64px,8vw,110px) clamp(64px,8vw,120px);
}

/* Heading stacks the © year under the display word */
.sec-grid--stacked > .exp__head{ grid-column:2 / -1; }
.exp__year{
  font-family:var(--display);
  font-size:clamp(20px,2.6vw,40px);
  font-weight:600;
  letter-spacing:var(--track-mid);
  line-height:1;
  margin-top:clamp(8px,1vw,16px);
}

.exp__grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:clamp(10px,.9vw,14px);
  align-items:stretch;
}
.exp__col{
  display:flex; flex-direction:column;
  gap:clamp(10px,.9vw,14px);
  margin:0;                                 /* <figure> */
  min-height:clamp(380px,42vw,660px);
}

/* Shared card shell */
.exp__summary,
.exp__person,
.exp__quote{
  background:var(--card);
  border-radius:var(--radius);
  padding:clamp(20px,2.1vw,32px);
  margin:0;
}

/* ── Column 1: the summary ── */
.exp__summary{
  flex:1;
  display:flex; flex-direction:column; justify-content:space-between;
  gap:32px;
}
.exp__rating{
  display:flex; align-items:flex-start;
  gap:clamp(14px,1.4vw,22px);
}
.exp__score{
  flex:none;
  font-family:var(--display);
  font-size:clamp(42px,4vw,64px);
  font-weight:600;
  letter-spacing:var(--track-num);
  line-height:.9;
  font-variant-numeric:tabular-nums;
}
.exp__outof{
  font-size:.34em;
  letter-spacing:var(--track-mid);
  color:var(--grey);
  vertical-align:baseline;
}
.exp__blurb{
  font-size:clamp(14.5px,1.15vw,17px);
  line-height:1.45;
  color:var(--grey);
  max-width:22ch;
}
.exp__blurb strong{ font-weight:600; color:var(--ink); }

.exp__foot{ display:flex; flex-direction:column; }
.exp__mark{
  font-family:var(--display);
  font-size:clamp(17px,1.5vw,22px);
  font-weight:600;
  letter-spacing:var(--track-mid);
}
.exp__mark sup{ font-size:.5em; top:-.75em; }

/* Faces left, stars and caption beside them. nowrap keeps that relationship
   at every width — the caption wraps to two lines rather than dropping below
   the avatars. */
.exp__trust{
  display:flex; align-items:center; flex-wrap:nowrap;
  gap:12px;
  margin-top:clamp(16px,1.6vw,24px);
}
/* Overlapping avatar stack, each ringed in card white so they read as a row */
.faces{ display:flex; align-items:center; flex:none; }
.faces li{
  width:32px; height:32px; border-radius:50%;
  display:grid; place-items:center;
  font-size:10px; font-weight:600; letter-spacing:.02em;
  border:2px solid var(--card);
  background:#e6e6e6; color:var(--grey);
}
.faces li + li{ margin-left:-11px; }
.faces__more{
  border-radius:11px !important;
  width:auto !important; padding:0 9px;
  background:var(--ink) !important; color:var(--paper) !important;
  font-size:11px;
}
.exp__trustMeta{ display:flex; flex-direction:column; gap:3px; min-width:0; }
.exp__trustText{ font-size:13px; line-height:1.35; color:var(--grey); }
.exp__trustText strong{ font-weight:600; color:var(--ink); }

/* Orange stars are the reference's one flash of colour here, so they get
   --accent. It's the only place accent appears outside the ®, the Convert
   flag and CTA hovers — deliberate, and worth keeping rare. */
.stars{
  display:inline-block;
  color:var(--accent);
  font-size:12px;
  letter-spacing:2px;
  line-height:1;
}

.exp__cta{
  margin-top:clamp(20px,2vw,30px);
  width:100%;
  text-align:center;
}
/* Doubled class: .btn is declared further down (the CTA block) and would
   otherwise win on source order and paint this pale-on-white. */
.btn.btn--dark{
  background:var(--ink); color:var(--paper);
  padding:19px 28px;
}
.btn.btn--dark:hover{ background:var(--accent); color:var(--paper); }

/* ── Person card ── */
.exp__person{
  flex:none;
  display:flex; align-items:center; gap:14px;
}
.exp__avatar{
  flex:none;
  width:49px; height:49px; border-radius:12px;
  display:grid; place-items:center;
  background:var(--ink); color:var(--paper);
  font-family:var(--display); font-weight:600; font-size:15px; letter-spacing:.02em;
}
.exp__person img{ width:49px; height:49px; border-radius:12px; object-fit:cover; flex:none; }
.exp__who{ display:flex; flex-direction:column; gap:2px; min-width:0; }
.exp__name{
  font-family:var(--display);
  font-size:clamp(16px,1.3vw,19px);
  font-weight:600; letter-spacing:var(--track-mid);
}
.exp__role{ font-size:13.5px; color:var(--grey); }

/* ── Quote card ── */
.exp__quote{
  flex:1;
  display:flex; flex-direction:column; justify-content:space-between;
  gap:40px;
}
/* Flipped column: quote on top, stars drop to the foot of the card */
.exp__quote--flip{ flex-direction:column-reverse; }
.exp__quoteMeta{
  display:flex; align-items:center; justify-content:space-between;
  gap:16px;
}
/* Thin grey cross, same motif as the accordion toggle.
   display:block matters — as a bare inline <span> (which is how the FAQ
   marks use it) width and height would be ignored. */
.exp__plus{
  display:block;
  position:relative; flex:none;
  width:19px; height:19px;
}
.exp__plus::before,
.exp__plus::after{
  content:''; position:absolute; inset:0; margin:auto;
  background:var(--plus,#c9c9c9);
}
.exp__plus--light{ --plus:var(--paper); }
.exp__plus::before{ width:19px; height:1.5px; }
.exp__plus::after{ width:1.5px; height:19px; }

.exp__text{
  font-family:var(--display);
  font-size:clamp(19px,1.7vw,27px);
  font-weight:600;
  letter-spacing:var(--track-mid);
  line-height:1.16;
}
/* Pending state for a real, named person with no quote yet — quiet rather
   than bold, same device as .study__quoteText--empty. */
.exp__text--empty{
  font-weight:500;
  color:var(--grey);
  opacity:.75;
}

/* ── FAQ ──
   Heading and lede left, a stack of white cards right. Answers are open until
   .has-faq lands, so the content is readable with JS off. */
.faq{
  background:var(--paper);
  padding-block:clamp(64px,8vw,110px) clamp(64px,8vw,120px);
}
.faq__grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:clamp(28px,4vw,64px);
  align-items:start;
}
.faq__lede{
  margin-top:clamp(20px,2.4vw,34px);
  font-size:clamp(15px,1.25vw,17px);
  line-height:1.5;
  color:var(--grey);
  max-width:34ch;
}
.faq__list{
  display:flex; flex-direction:column;
  gap:clamp(8px,.7vw,12px);
}
.faq__item{
  background:var(--card);
  border-radius:var(--radius);
  padding:clamp(20px,2vw,28px) clamp(22px,2.2vw,30px);
}
.faq__q{ margin:0; font-weight:600; }
.faq__btn{
  width:100%;
  display:flex; align-items:center; justify-content:space-between; gap:20px;
  border:0; background:transparent; cursor:pointer;
  padding:0; text-align:left;
  font-family:var(--display);
  font-size:clamp(16px,1.4vw,21px);
  font-weight:600; letter-spacing:var(--track-mid); line-height:1.3;
  color:var(--ink);
}
/* Dark circular toggle; the vertical bar goes when the row opens */
.faq__plus{
  position:relative; flex:none;
  width:24px; height:24px; border-radius:50%;
  background:var(--ink);
  transition:background .25s var(--ease);
}
.faq__btn:hover .faq__plus{ background:var(--accent); }
.faq__plus::before,
.faq__plus::after{
  content:''; position:absolute; inset:0; margin:auto;
  background:var(--paper);
  transition:transform .35s var(--ease-out), opacity .35s var(--ease);
}
.faq__plus::before{ width:10px; height:1.5px; }
.faq__plus::after{ width:1.5px; height:10px; }
.faq__item.is-open .faq__plus::after{ transform:rotate(90deg); opacity:0; }

.faq__a{
  display:grid;
  grid-template-rows:1fr;
  transition:grid-template-rows .45s var(--ease-out), opacity .35s var(--ease);
}
.faq__a > *{ overflow:hidden; }
.faq__a a{ text-decoration:underline; text-underline-offset:2px; }
.faq__a a:hover{ color:var(--accent); }
.faq__a p{
  padding-top:14px;
  font-size:clamp(14.5px,1.15vw,17px);
  line-height:1.5;
  color:var(--grey);
  max-width:62ch;
}
.has-faq .faq__a{ grid-template-rows:0fr; opacity:0; }
.has-faq .faq__item.is-open .faq__a{ grid-template-rows:1fr; opacity:1; }

/* ── Blog ──
   Two light sections now run back to back, so this one opens with a hairline
   at content width — same trick as the rule under the proof stats. The lead
   post takes the image and the room; the other two are compact rows, which
   keeps this from reading as a second Work grid. */
.journal{
  background:var(--paper);
  padding-block:clamp(64px,8vw,110px) clamp(64px,8vw,120px);
}
/* Only light-on-light joins get a hairline. In the current section order that
   means Projects, Why choose us, Experiences, Case study and Blog. About and
   FAQ each follow a dark panel, which separates them on its own — re-check
   this list if the sections are ever reordered again. */
.projects::before,
.why::before,
.exp::before,
.study::before,
.journal::before{
  content:''; position:absolute; top:0; left:50%;
  transform:translateX(-50%);
  width:min(100% - var(--gutter) * 2, var(--maxw) - var(--gutter) * 2);
  height:1px; background:var(--line);
}

/* Full-width two-tone sentence instead of the one-word display heading */
.journal__head{ margin-bottom:clamp(44px,5.5vw,88px); }
.journal__title{
  margin-top:clamp(20px,2.4vw,36px);
  font-family:var(--display);
  font-size:clamp(30px,6vw,94px);
  font-weight:600;
  letter-spacing:var(--track-display);
  line-height:1.06;
  color:var(--grey);
  /* Holds the break after "and", as in the reference, instead of orphaning
     "team." on line two. In ch so it tracks the clamped font size. */
  max-width:16ch;
}
.journal__title strong{ font-weight:600; color:var(--ink); }

.posts{
  display:grid;
  grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);
  gap:clamp(20px,2.4vw,36px);
  align-items:stretch;
}
/* Two rows sharing the lead card's height, so the block squares off */
.post-stack{
  display:grid;
  grid-template-rows:1fr 1fr;
  gap:clamp(20px,2.4vw,36px);
  min-height:0;
}

.post{
  background:var(--card);
  border-radius:var(--radius);
  overflow:hidden;
  transition:transform .35s var(--ease), box-shadow .35s var(--ease);
}
.post:hover{ transform:translateY(-3px); box-shadow:0 18px 44px rgba(10,10,10,.07); }
.post__link{ display:flex; flex-direction:column; height:100%; }

.post__media{
  position:relative;
  overflow:hidden;                 /* keeps the hover zoom inside the corner radius */
  background:
    repeating-linear-gradient(45deg, #efefef 0 14px, #e6e6e6 14px 28px);
  display:grid; place-items:center;
  flex:none;
}
.post--lead .post__media{ aspect-ratio:16/10; }
.post__media img{
  position:absolute; inset:0;
  width:100%; height:100%;
  object-fit:cover;
  transition:transform .7s var(--ease-out);
}
.post:hover .post__media img{ transform:scale(1.045); }
.post__media span{
  font-size:11.5px; letter-spacing:.14em; text-transform:uppercase;
  color:var(--grey); background:var(--card); padding:7px 12px; border-radius:999px;
}

/* Compact rows read thumbnail-left; the thumb stretches to the card height */
.post--row .post__link{ flex-direction:row; }
.post--row .post__media{ width:36%; max-width:230px; }
.post--row .post__media span{ display:none; }   /* the label doesn't fit a thumb */

.post__body{
  padding:clamp(22px,2.2vw,32px);
  display:flex; flex-direction:column; flex:1;
  min-width:0;
}

.post__meta{
  display:flex; align-items:center; flex-wrap:wrap; gap:10px;
  font-size:12px; letter-spacing:.1em; text-transform:uppercase;
  color:var(--grey);
}
.post__cat{
  background:rgba(10,10,10,.06); color:var(--ink);
  padding:5px 11px; border-radius:999px; letter-spacing:.12em;
}
/* Separator between the date and the read time only */
.post__meta time + span::before{ content:'·'; margin-right:10px; }

.post__title{
  font-family:var(--display);
  font-weight:600; letter-spacing:var(--track-mid); line-height:1.18;
  margin-top:14px;
}
.post--lead .post__title{ font-size:clamp(22px,2.1vw,30px); }
.post--row  .post__title{ font-size:clamp(18px,1.5vw,21px); }
.post__text{ font-size:15px; color:var(--grey); margin-top:12px; max-width:46ch; }

/* Pushed to the bottom so the rows line up however long the copy runs */
.post__more{
  display:inline-flex; align-items:center; gap:8px;
  margin-top:auto; padding-top:22px;
  font-size:14px; font-weight:600; letter-spacing:-.01em;
  transition:color .25s var(--ease);
}
.post__arrow{ transition:transform .3s var(--ease-out); }
.post:hover .post__more{ color:var(--accent); }
.post:hover .post__arrow{ transform:translate(2px,-2px); }

.journal__note{
  margin-top:clamp(32px,4vw,48px);
  font-size:15px; color:var(--grey); max-width:52ch;
}

/* Shared pill button. Lives here because the old CTA panel introduced it;
   still used by the services CTA, the pricing card and the entry card. */
.btn{
  margin-top:34px;
  background:var(--paper); color:var(--ink);
  font-size:15.5px; font-weight:600;
  padding:16px 32px; border-radius:999px;
  transition:background .25s var(--ease), color .25s var(--ease), transform .25s var(--ease);
}
.btn:hover{ background:var(--accent); color:var(--paper); transform:translateY(-2px); }

/* ── Contact ──
   Dark panel: white form card left, the pitch and the person right, hero
   video behind. */

/* Video sits under everything; the scrim over it keeps the white card and
   white type readable however bright a frame gets. */
.contact__video{
  position:absolute; inset:0; z-index:0;
}
.contact__clip{
  position:absolute; inset:0;
  width:100%; height:100%;
  object-fit:cover;
  opacity:0;
  filter:grayscale(1) contrast(1.12) brightness(.58);
  transition:opacity .6s linear;
  will-change:opacity;
}
/* .is-visible lands only once the clip can actually play */
.contact__video.is-visible .contact__clip.is-active{ opacity:1; }
/* Lighter than it looks it should be: the form card is opaque, so the scrim
   only has to protect the type on the right. */
.contact__scrim{
  position:absolute; inset:0; z-index:1;
  pointer-events:none;
  background:
    radial-gradient(120% 90% at 50% 50%, rgba(10,10,10,.12) 0%, rgba(10,10,10,.72) 100%),
    linear-gradient(to bottom, rgba(10,10,10,.55) 0%, rgba(10,10,10,.28) 45%, rgba(10,10,10,.66) 100%);
}
.contact .panel__inner{ position:relative; z-index:2; }

.contact__grid{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1.35fr);
  gap:clamp(32px,6vw,110px);
  align-items:start;
}

/* Form card */
.cform{
  background:var(--card);
  color:var(--ink);
  border-radius:24px;
  padding:clamp(24px,2.6vw,40px);
}
.cform__mark{
  font-family:var(--display);
  font-size:clamp(15px,1.3vw,19px);
  font-weight:600; letter-spacing:var(--track-mid);
}
.cform__mark sup{ font-size:.55em; top:-.7em; }
.cform__title{
  margin-top:8px;
  font-family:var(--display);
  font-size:clamp(22px,2.4vw,34px);
  font-weight:600; letter-spacing:var(--track-mid); line-height:1.15;
  color:var(--grey);
}
.cform__title strong{ font-weight:600; color:var(--ink); }

.cform__form{
  display:flex; flex-direction:column;
  gap:clamp(16px,1.6vw,22px);
  margin-top:clamp(22px,2.4vw,34px);
}
.cfield{ display:flex; flex-direction:column; gap:8px; margin:0; }
.cfield label{ font-size:13.5px; font-weight:500; }
.cfield input,
.cfield textarea{
  width:100%;
  font:inherit; font-size:16px;
  color:var(--ink);
  background:#f2f2f2;
  border:1px solid transparent;
  border-radius:12px;
  padding:15px 18px;
  transition:border-color .2s var(--ease), background .2s var(--ease);
}
.cfield textarea{ resize:vertical; min-height:104px; }
.cfield input::placeholder,
.cfield textarea::placeholder{ color:#9a9a9a; }
.cfield input:focus,
.cfield textarea:focus{
  outline:none;
  background:var(--card);
  border-color:var(--ink);
}
.cform__send{
  width:100%;
  border:0; cursor:pointer;
  font-family:var(--body); font-size:17px; font-weight:600; letter-spacing:-.01em;
  background:var(--ink); color:var(--paper);
  padding:19px 28px;
  border-radius:999px;
  transition:background .25s var(--ease);
}
.cform__send:hover{ background:var(--accent); }
.cform__fine{
  margin-top:clamp(18px,2vw,26px);
  font-size:13.5px; color:var(--grey);
}
.cform__fine a{ color:var(--ink); font-weight:500; }
.cform__fine a:hover{ color:var(--accent); }

/* Dynamic submit feedback — appended by initForms() in main.js once a form
   actually has somewhere to send to. Reused by both .cform__form and every
   .news__form, so it's kept generic rather than scoped to either. */
.form__status{
  margin-top:12px;
  font-size:13.5px;
}
.form__status--error{ color:#c0392b; }
.form__status--success{ color:var(--accent); }

/* Right side */
.contact__title{
  font-family:var(--display);
  font-size:clamp(44px,7vw,110px);
  font-weight:600; letter-spacing:var(--track-display); line-height:.95;
}
.contact__sub{
  margin-top:clamp(20px,2.4vw,34px);
  padding-bottom:clamp(28px,3.4vw,48px);
  border-bottom:1px solid var(--line-dark);
  font-size:clamp(16px,1.7vw,26px);
  line-height:1.3;
  letter-spacing:-.02em;
  color:var(--grey-dim);
  max-width:30ch;
}

.contact__points{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:clamp(20px,3vw,48px);
  margin-top:clamp(28px,3.4vw,48px);
}
.cpoint__h{
  display:flex; align-items:center; gap:12px;
  font-family:var(--display);
  font-size:clamp(15px,1.35vw,19px);
  font-weight:600; letter-spacing:var(--track-mid);
}
.cpoint__h svg{ width:22px; height:22px; flex:none; }
.cpoint__t{
  margin-top:14px;
  font-size:clamp(14px,1.15vw,16px);
  line-height:1.5;
  color:var(--grey-dim);
  max-width:30ch;
}

/* Person card */
.person{
  display:flex; align-items:stretch;
  gap:0;
  margin-top:clamp(40px,5vw,80px);
  background:var(--card);
  color:var(--ink);
  border-radius:20px;
  padding:6px;
  width:fit-content;
  max-width:100%;
}
.person__photo{
  flex:none;
  width:clamp(88px,8vw,116px); aspect-ratio:1;
  border-radius:15px;
  object-fit:cover;
  background:var(--ink);
  transition:transform .5s var(--ease-out);
}
.person:hover .person__photo{ transform:scale(1.06); }
.person__body{ padding:14px clamp(18px,1.8vw,26px); min-width:0; }
.person__role{ font-size:14.5px; font-weight:600; letter-spacing:-.01em; }
.person__at{ font-size:13.5px; color:var(--grey); margin-top:1px; }
.person__name{
  font-family:var(--display);
  font-size:clamp(17px,1.6vw,23px);
  font-weight:600; letter-spacing:var(--track-mid);
  margin-top:6px;
}
.person__cta{
  display:inline-flex; align-items:center; gap:12px;
  margin-top:12px;
  background:var(--ink); color:var(--paper);
  font-size:13.5px; font-weight:500;
  padding:9px 10px 9px 18px;
  border-radius:999px;
  transition:background .25s var(--ease);
}
.person__cta:hover{ background:var(--accent); }
.person__dot{ width:13px; height:13px; border-radius:50%; background:var(--paper); }

/* The dark footer was replaced by the light .bfoot (newsletter + columns +
   oversized sign-off), shared by both pages. Its rules lived here. */

/* ── Scroll reveal ──
   Hidden until main.js adds .in. No-JS (and browsers that report it) stay
   readable: the hide is an enhancement, not the only way to see the page. */
[data-io]{
  opacity:0;
  transform:translateY(22px);
  transition:opacity .8s var(--ease-out), transform .8s var(--ease-out);
}
[data-io].in{ opacity:1; transform:none; }
@media (scripting: none){
  [data-io]{ opacity:1; transform:none; transition:none; }
}

/* ═══════════════════════════════════════════════════════════
   BLOG PAGE (blog.html)
   ═══════════════════════════════════════════════════════════ */

.page{ background:var(--paper); color:var(--ink); }

/* Light nav bar. Sits on paper above the hero panel on the homepage, and at
   the top of the blog page. Links are ink and semibold, per the reference —
   the greyed-back treatment belonged to the old dark-on-video nav. */
.topbar{
  background:var(--paper);
  min-height:var(--navh);
  display:flex; align-items:center;
}
.topbar .nav{ width:100%; padding-block:0; }
.nav--light .nav__mark{ color:var(--ink); }
.nav--light .nav__links{ font-size:clamp(14px,1.1vw,16px); }
.nav--light .nav__links a{ color:var(--ink); font-weight:600; letter-spacing:-.01em; }
.nav--light .nav__links a:hover{ color:var(--accent); }
.nav--light .nav__links a[aria-current="page"]{ color:var(--accent); }
@media (max-width:760px){
  .topbar .nav{ flex-wrap:wrap; row-gap:8px; }
  .topbar .nav__links{
    flex:1 1 100%;
    flex-wrap:wrap;
    justify-content:flex-start;
    gap:8px 16px;
  }
}

.blogpage{
  background:var(--paper);
  padding-block:clamp(40px,5vw,80px) clamp(64px,8vw,120px);
}

/* Four columns; the featured card takes two of them */
.bgrid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:clamp(10px,.9vw,14px);
  align-items:stretch;
}
.bcard{
  background:var(--card);
  border-radius:var(--radius);
  overflow:hidden;
  transition:transform .35s var(--ease), box-shadow .35s var(--ease);
}
.bcard:hover{ transform:translateY(-3px); box-shadow:0 18px 44px rgba(10,10,10,.07); }
.bcard__link{
  display:flex; flex-direction:column;
  height:100%;
  padding:clamp(18px,1.8vw,26px);
}
.bcard__title{
  font-family:var(--display);
  font-size:clamp(17px,1.5vw,23px);
  font-weight:600; letter-spacing:var(--track-mid); line-height:1.2;
}
.bcard__text{
  margin-top:12px;
  font-size:clamp(14px,1.15vw,15.5px);
  line-height:1.45;
  color:var(--grey);
}

/* Row 1 — featured, spanning two columns, type over a dark shot */
.bcard--feature{
  grid-column:span 2;
  position:relative;
  background:var(--ink);
  color:var(--paper);
  min-height:clamp(220px,22vw,320px);
}
.bcard__shot{
  position:absolute; inset:0; z-index:0;
  background:repeating-linear-gradient(45deg,#25262b 0 16px,#1c1d21 16px 32px);
}
.bcard__shotImg{
  position:absolute; inset:0; z-index:0;
  width:100%; height:100%;
  object-fit:cover;
  transition:transform .7s var(--ease-out);
}
.bcard:hover .bcard__shotImg{ transform:scale(1.045); }
.bcard__scrim{
  position:absolute; inset:0; z-index:1;
  background:linear-gradient(180deg, rgba(10,10,10,.25) 0%, rgba(10,10,10,.82) 100%);
}
.bcard--feature .bcard__link{ position:relative; z-index:2; justify-content:flex-end; }
/* Lift the copy above the scrim, which is positioned and would otherwise
   paint over it */
.bcard--feature .bcard__body{ position:relative; z-index:2; }
.bcard--feature .bcard__title{ font-size:clamp(20px,2.2vw,34px); max-width:20ch; }
.bcard--feature .bcard__text{ color:var(--grey-dim); max-width:44ch; }

/* Row 1 — text-only cards, type at the top */
.bcard--text .bcard__link{ justify-content:flex-start; }

/* Row 2 — thumbnail top-left, plus top-right, meta pinned to the bottom */
.bcard--thumb{ min-height:clamp(300px,32vw,480px); }
.bcard--thumb .bcard__link{ justify-content:space-between; gap:32px; }
.bcard__head{ display:flex; align-items:flex-start; justify-content:space-between; gap:16px; }
.bcard__thumb,
.bcard__thumbImg{
  flex:none;
  width:clamp(78px,7vw,108px); aspect-ratio:1;
  border-radius:12px;
  object-fit:cover;
  background:repeating-linear-gradient(45deg,#e9e9e9 0 12px,#e0e0e0 12px 24px);
}
.bcard__thumbImg{ transition:transform .7s var(--ease-out); }
.bcard:hover .bcard__thumbImg{ transform:scale(1.08); }
.bcard__plus{
  position:relative; flex:none;
  width:26px; height:26px; border-radius:50%;
  background:var(--ink);
}
.bcard__plus::before,
.bcard__plus::after{
  content:''; position:absolute; inset:0; margin:auto;
  background:var(--paper);
}
.bcard__plus::before{ width:10px; height:1.5px; }
.bcard__plus::after{ width:1.5px; height:10px; }
.bcard__date{
  display:block;
  font-size:13.5px; color:var(--grey);
  margin-bottom:14px;
}

/* ── Newsletter block ── */
.bfoot{
  background:var(--paper);
  color:var(--ink);
  padding-block:clamp(48px,6vw,88px) 32px;
}
.news{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:clamp(32px,5vw,80px);
  align-items:start;
  padding-bottom:clamp(56px,7vw,110px);
}
.news__lede{
  font-family:var(--display);
  font-size:clamp(21px,2.4vw,36px);
  font-weight:600;
  letter-spacing:var(--track-mid);
  line-height:1.2;
  color:var(--grey);
  /* the reference indents the opening line rather than sitting it flush */
  text-indent:clamp(0px,9vw,150px);
}
.news__lede strong{ font-weight:600; color:var(--ink); }
.news__by{ display:flex; align-items:center; gap:12px; margin-top:clamp(24px,3vw,40px); }
.news__avatar{
  flex:none;
  width:40px; height:40px; border-radius:50%;
  object-fit:cover;
  background:var(--ink);
  transition:transform .5s var(--ease-out);
}
.news__by:hover .news__avatar{ transform:scale(1.08); }
.news__who{ display:flex; flex-direction:column; line-height:1.35; }
.news__name{ font-size:clamp(15px,1.25vw,18px); font-weight:600; letter-spacing:-.01em; }
.news__role{ font-size:clamp(13px,1.1vw,15px); color:var(--grey); }

.news__title{
  font-family:var(--display);
  font-size:clamp(24px,2.6vw,36px);
  font-weight:600; letter-spacing:var(--track-mid);
  margin-bottom:clamp(24px,3vw,40px);
}
.news__form{ display:flex; flex-direction:column; gap:clamp(18px,2vw,28px); }

/* Underlined fields. The label sits in place of a placeholder and lifts on
   focus or once the field has content — a real <label>, not placeholder-only,
   so it survives autofill and screen readers. */
.field{ position:relative; }
.field__label{
  position:absolute; left:0; top:10px;
  font-size:clamp(15px,1.3vw,18px);
  color:var(--grey);
  pointer-events:none;
  transition:transform .22s var(--ease), font-size .22s var(--ease), color .22s var(--ease);
  transform-origin:left top;
}
.field__input{
  width:100%;
  font:inherit;
  font-size:clamp(15px,1.3vw,18px);
  color:var(--ink);
  background:transparent;
  border:0; border-bottom:1px solid var(--line);
  border-radius:0;
  padding:10px 0 12px;
  transition:border-color .25s var(--ease);
}
.field__input:focus{ outline:none; border-bottom-color:var(--ink); }
/* The input is written before the label in the markup so this sibling
   selector can reach it; the label is positioned over the field either way. */
.field__input:focus + .field__label,
.field__input:not(:placeholder-shown) + .field__label{
  transform:translateY(-20px);
  font-size:12px;
  color:var(--grey);
}

.subscribe{
  align-self:flex-start;
  display:inline-flex; align-items:center; gap:14px;
  border:0; cursor:pointer;
  font-family:var(--body); font-size:14.5px; font-weight:500;
  background:var(--ink); color:var(--paper);
  padding:13px 14px 13px 24px;
  border-radius:999px;
  transition:background .25s var(--ease);
}
.subscribe:hover{ background:var(--accent); }
.subscribe__dot{ width:14px; height:14px; border-radius:50%; background:var(--paper); }
.news__note{
  margin-top:clamp(24px,3vw,40px);
  font-size:clamp(14px,1.15vw,16px);
  line-height:1.5;
  color:var(--grey);
  max-width:34ch;
}

/* ── Footer columns ── */
.bfoot__cols{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr)) minmax(0,1fr);
  gap:clamp(24px,4vw,48px);
  /* the + markers used to hold this gap open */
  padding-top:clamp(48px,6vw,96px);
  padding-bottom:clamp(40px,5vw,64px);
}
.bfoot__col--contact{ grid-column:1; }
.bfoot__phone{ font-size:clamp(15px,1.3vw,18px); }
.bfoot__email{
  display:inline-flex; align-items:center; gap:10px;
  margin-top:10px;
  font-family:var(--display);
  font-size:clamp(20px,2.4vw,34px);
  font-weight:600; letter-spacing:var(--track-mid);
  border-bottom:2px solid var(--ink);
  padding-bottom:4px;
  transition:color .25s var(--ease), border-color .25s var(--ease);
}
.bfoot__email:hover{ color:var(--accent); border-bottom-color:var(--accent); }
.bfoot__label{ font-size:clamp(13px,1.1vw,15px); color:var(--grey); margin-bottom:18px; }
.bfoot__col li + li{ margin-top:10px; }
.bfoot__col ul a{
  font-family:var(--display);
  font-size:clamp(17px,1.5vw,22px);
  font-weight:600; letter-spacing:var(--track-mid);
  transition:color .25s var(--ease);
}
.bfoot__col ul a:hover{ color:var(--accent); }

/* Sign-off. Copyright fills the empty left third; the lockup takes the same
   two columns as Navigation and Social, set two lines like the hero. */
.bfoot__signoff{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,2fr);
  gap:clamp(24px,4vw,48px);
  align-items:end;
  padding-top:clamp(24px,3vw,40px);
}
.bfoot__copy{ font-size:13px; color:var(--grey); }
.bfoot__mark{
  font-family:var(--display);
  font-size:clamp(38px,9.4vw,148px);
  font-weight:600;
  letter-spacing:var(--track-display);
  line-height:.86;
  color:var(--ink);
}
.bfoot__mark span{ display:block; }
.bfoot__mark sup{ font-size:.18em; top:-2.1em; letter-spacing:0; }

/* ── Case study page (case-study-mide-lagos.html) ──
   Long-form read, not a card grid: a headline, then stacked prose
   sections sharing one narrow measure so lines stay readable. */
.cspage{
  background:var(--paper);
  padding-block:clamp(40px,5vw,80px) clamp(64px,8vw,120px);
}
.cs__head{ max-width:62ch; margin-bottom:clamp(40px,5vw,72px); }
.cs__title{
  margin-top:clamp(18px,2vw,28px);
  font-family:var(--display);
  font-size:clamp(28px,4.4vw,58px);
  font-weight:600;
  letter-spacing:var(--track-display);
  line-height:1.08;
}
.cs__sub{
  margin-top:clamp(14px,1.6vw,20px);
  font-size:clamp(16px,1.3vw,19px);
  color:var(--grey);
  max-width:46ch;
}
.cs__meta{
  display:flex; align-items:center; gap:18px; flex-wrap:wrap;
  margin-top:clamp(20px,2.2vw,28px);
  font-size:14px; color:var(--grey);
}

.cs__block{
  max-width:62ch;
  padding-block:clamp(26px,3vw,40px);
  border-top:1px solid var(--line);
}
.cs__block:first-of-type{ border-top:1px solid var(--line); }
.cs__h2{
  font-family:var(--display);
  font-size:clamp(20px,1.8vw,26px);
  font-weight:600; letter-spacing:var(--track-mid);
  margin-bottom:clamp(14px,1.6vw,20px);
}
.cs__block p{
  font-size:clamp(15px,1.15vw,17px);
  line-height:1.6;
  color:var(--ink);
}
.cs__block p + p{ margin-top:14px; }

.cs__steps,
.cs__built{ display:flex; flex-direction:column; gap:14px; counter-reset:cs; list-style:none; margin:0; padding:0; }
.cs__steps li,
.cs__built li{
  font-size:clamp(15px,1.15vw,17px);
  line-height:1.6;
  color:var(--ink);
  padding-left:30px;
  position:relative;
}
.cs__steps li{ counter-increment:cs; }
.cs__steps li::before{
  content:counter(cs);
  position:absolute; left:0; top:1px;
  font-family:var(--display); font-weight:600; font-size:14px;
  color:var(--grey);
}
.cs__built li::before{
  content:''; position:absolute; left:0; top:9px;
  width:6px; height:6px; border-radius:50%;
  background:var(--accent);
}

.cs__table{
  width:100%; margin-top:18px;
  border-collapse:collapse;
  font-size:clamp(13.5px,1.05vw,15px);
}
.cs__table th,
.cs__table td{
  text-align:left;
  padding:10px 12px;
  border-bottom:1px solid var(--line);
}
.cs__table th{ color:var(--grey); font-weight:500; }
.cs__table td:not(:first-child),
.cs__table th:not(:first-child){ color:var(--grey); }

/* ── Case study app showcase ──
   3 phones, each independently looping through the same 5 real
   screenshots with a left-to-right wipe transition between them —
   same idea as the Savee/"Morrow" reference the client linked:
   https://savee.com/i/ebKg7v2/. Pure CSS (clip-path keyframes with
   per-slide animation-delay, including negative delays so every
   phone already shows a different screen on first paint rather than
   starting blank) — no video asset, no JS. */
.cs__showcase{ margin-top:clamp(40px,5vw,64px); padding-block:clamp(48px,6vw,88px); }
.showcase__eyebrow{
  text-align:center; font-size:13px; color:var(--grey-dim);
  letter-spacing:.04em; margin-bottom:clamp(28px,3.6vw,44px);
}
.mockups{
  display:flex; justify-content:center; align-items:flex-start;
  gap:clamp(14px,2.4vw,32px);
}
.mockup{ width:100%; max-width:230px; flex:1 1 0; min-width:0; }
.mockup__frame{
  position:relative; aspect-ratio:1320/2868;
  border-radius:clamp(18px,3vw,30px);
  overflow:hidden; background:#000; isolation:isolate;
  box-shadow:0 30px 60px -20px rgba(0,0,0,.6), inset 0 0 0 6px #000;
}
.mockup__slide{
  position:absolute; inset:0; display:block;
  clip-path:inset(0 100% 0 0);
  animation:mide-wipe 12s linear infinite;
}
.mockup__slide img{ width:100%; height:100%; object-fit:cover; display:block; }
@keyframes mide-wipe{
  0%,3%{ clip-path:inset(0 100% 0 0); }
  7%,100%{ clip-path:inset(0 0 0 0); }
}
@media (prefers-reduced-motion:reduce){
  .mockup__slide{ animation:none; clip-path:inset(0 0 0 0); }
}
@media (max-width:640px){
  .mockup{ max-width:140px; }
}

.cs__quote{
  margin:0;
  font-family:var(--display);
  font-size:clamp(17px,1.5vw,21px);
  font-weight:600; letter-spacing:var(--track-mid); line-height:1.3;
}
.cs__quote--empty{ color:var(--grey); font-weight:500; opacity:.75; }

.cs__cta{
  max-width:62ch;
  padding-top:clamp(26px,3vw,40px);
  border-top:1px solid var(--line);
}
.cs__ctaQuestion{
  font-family:var(--display);
  font-size:clamp(19px,2vw,28px);
  font-weight:600; letter-spacing:var(--track-mid); line-height:1.25;
  max-width:28ch;
}
.cs__ctaRow{
  display:flex; align-items:center; gap:22px; flex-wrap:wrap;
  margin-top:clamp(20px,2.2vw,28px);
}
.cs__ctaRow .btn{ margin-top:0; }

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════ */

@media (max-width:1080px){
  /* Blog page: 2 across, featured spans both */
  .bgrid{ grid-template-columns:repeat(2,minmax(0,1fr)); }
  .bcard--thumb{ min-height:clamp(280px,34vw,380px); }
  .news{ grid-template-columns:1fr; }
  .news__lede{ text-indent:0; }
  .bfoot__cols{ grid-template-columns:repeat(2,minmax(0,1fr)); row-gap:40px; }
  .bfoot__col--contact{ grid-column:1 / -1; }
  .bfoot__signoff{ grid-template-columns:1fr; gap:28px; }
  .bfoot__copy{ order:2; }

  /* Five boxes get too narrow to hold a logo — 3, then 2 below 560 */
  .clients__row{ grid-template-columns:repeat(3,minmax(0,1fr)); }

  /* Portrait goes full width above the stats rather than shrinking to a sliver */
  .why__body{ grid-template-columns:1fr; }
  .why__figure{ min-height:0; aspect-ratio:16/9; }

  /* Projects header stacks the intro under the heading */
  .projects__head{ grid-template-columns:repeat(2,minmax(0,1fr)); }
  .projects__title{ grid-column:1 / -1; grid-row:2; }
  .projects__count{ grid-row:1; }
  .projects__intro{ grid-column:1 / -1; grid-row:3; max-width:44ch; margin-top:20px; }

  /* Lead post over the two rows, which no longer need to share a height */
  .posts{ grid-template-columns:1fr; }
  .post-stack{ grid-template-rows:auto auto; }

  /* Four testimonial columns won't hold their type below this — go 2×2.
     The flip is dropped so every quote card reads stars-then-words. */
  .exp__grid{ grid-template-columns:repeat(2,minmax(0,1fr)); }
  .exp__col{ min-height:clamp(340px,46vw,480px); }
  .exp__quote--flip{ flex-direction:column; }
  /* Off the 4-up rhythm the flip has nothing to play against, so every
     column reads the same way: person, then quote. */
  .exp__col > .exp__person{ order:-1; }

  /* Pricing: add-on card sits above the plan */
  .pricing__grid{ grid-template-columns:1fr; }
  .pcard{ min-height:0; }
  .pcard--addon{ gap:44px; }

  /* Case study: hero goes full width, metrics and the side column pair up */
  .study__grid{ grid-template-columns:repeat(2,minmax(0,1fr)); }
  .study__hero{ grid-column:1 / -1; min-height:clamp(340px,44vw,460px); }
  .study__photo,
  .study__img{ inset:0 0 0 34%; }
}

@media (max-width:820px){
  body{ font-size:16px; }

  /* Stacked hero needs to grow — a fixed slot would clip the founder card */
  .hero{ height:auto; min-height:calc(100svh - var(--navh) - 6px); }

  .hero__grid{
    grid-template-columns:1fr;
    grid-template-rows:auto 1fr auto auto;
    grid-template-areas:
      "services"
      "mark"
      "position"
      "founder";
    gap:clamp(20px,3.5vh,32px);
    padding-bottom:clamp(24px,4vh,40px);
  }
  .hero__services{
    text-align:left;
    display:flex; gap:18px;
    line-height:1.4;
  }
  /* No wordmark override needed below — it's a sentence now, not a 1-2
     word logotype, so the base rule's min(6.4vw, 80px, 15svh) already
     scales it down sensibly on its own. */
  .hero__positioning{ max-width:38ch; }

  /* founder card goes full-width at the end of the fold */
  .founder{
    justify-self:stretch;
    width:100%;
    justify-content:flex-start;
  }
  .founder__meta{ margin-right:auto; }

  .hero__scroll{ display:none; }

  /* One project per row; the shot gets a little wider than it is tall.
     minmax(0, 1fr), not bare 1fr: 1fr is minmax(auto, 1fr), and that auto
     minimum is the Regulars carousel's min-content width. On a phone the
     card then grows to ~2000px wide and, via aspect-ratio, just as tall,
     which is what kept it under the scroll-reveal threshold. */
  .projects__grid{ grid-template-columns:minmax(0,1fr); }
  .proj__shot{ aspect-ratio:3/2; }

  /* Why: label above statement, stats stack, right-aligned text goes left */
  .why__head{ grid-template-columns:1fr; gap:16px; }
  .why__lede{ grid-column:1; max-width:none; }
  .why__intro{ text-align:left; margin-left:0; max-width:none; }
  .why__stats{ grid-template-columns:1fr; }
  .wstat__label{ text-align:left; }
  .wstat__main{ min-height:0; gap:24px; }

  /* Narrow enough already — the measure cap would strand it in a column */
  .journal__title{ max-width:none; }

  /* Contact stacks: the pitch reads first, then the form */
  .contact__grid{ grid-template-columns:1fr; }
  .contact__side{ order:-1; }
  .contact__sub{ max-width:none; }
  .contact__points{ grid-template-columns:1fr; gap:26px; }
  .person{ width:100%; }

  /* FAQ stacks — two columns squeezes the questions to three lines each */
  .faq__grid{ grid-template-columns:1fr; }
  .faq__lede{ max-width:none; margin-bottom:clamp(28px,4vw,44px); }

  /* Blog page goes single file */
  .bgrid{ grid-template-columns:1fr; }
  .bcard--feature{ grid-column:span 1; }
  .bcard--thumb{ min-height:0; }
  .bcard--thumb .bcard__link{ gap:44px; }
  .bfoot__cols{ grid-template-columns:1fr; }

  /* Section header stacks: label above heading */
  .sec-grid{ grid-template-columns:1fr; gap:16px; }
  .sec-grid > .display{ grid-column:1; }
  .sec-grid--stacked > .exp__head{ grid-column:1; }

  /* Testimonials go single file; the columns stop sharing a height */
  .exp__grid{ grid-template-columns:1fr; }
  .exp__col{ min-height:0; }
  .exp__quote{ gap:28px; }

  /* Pricing: price above the feature list, note label above the statement */
  .pcard--main{ grid-template-columns:1fr; gap:36px; }
  .pricing__more{ grid-template-columns:1fr; gap:14px; }
  .pricing__moreBody{ grid-column:1; }
  .pricing__lede{ text-indent:0; }
  .seg__btn{ padding:10px 18px; }

  /* Case study stacks. The photo drops behind the whole card rather than
     sitting to one side — there isn't the width for a side-by-side any more. */
  .study__grid{ grid-template-columns:1fr; }
  .study__photo,
  .study__img{ inset:0; }
  .study__scrim{
    background:linear-gradient(180deg,
      rgba(10,10,10,.92) 0%, rgba(10,10,10,.72) 46%, rgba(10,10,10,.9) 100%);
  }
  .study__tag{ text-align:left; margin-left:0; }
  .study__bottom{ gap:16px; }

  /* About stacks; the portrait stops being a full-height column */
  .about__grid{ grid-template-columns:1fr; }
  .about__lede{ max-width:none; }
  .about__portrait img{ aspect-ratio:3/2; }
  .belief{ grid-template-columns:auto minmax(0,1fr); column-gap:14px; }
  .belief__idx{ grid-column:1; }
  .belief__text{ grid-column:2; max-width:none; }


  .stats{ grid-template-columns:1fr; gap:28px; }
  /* Four stacked would run too long — 2×2 holds its shape down to 320px */
  .stats--4{ grid-template-columns:repeat(2,minmax(0,1fr)); gap:32px 20px; }
  /* The <br> stays. Hiding it ran the two halves together — "Clientsatisfaction
     rate" — because there's no whitespace either side of it in the markup. */

  /* Accordion collapses to index+title over tags, toggle stays right */
  .acc__row{
    grid-template-columns:auto minmax(0,1fr) 44px;
    column-gap:14px; row-gap:0;
    padding:22px 0;
  }
  .acc__idx{ grid-column:1; grid-row:1; padding-top:6px; }
  .acc__main{ grid-column:2; grid-row:1; }
  .acc__btn{ grid-column:3; grid-row:1; width:38px; height:38px; }
  .acc__tags{ grid-column:2; grid-row:2; }
  .acc__row.is-open .acc__tags{ margin-top:18px; }
  .acc__row:not(.is-open) .acc__tags{ display:none; }

  /* Services CTA stacks; the button sits under its line */
  .studio__cta{ flex-direction:column; align-items:flex-start; gap:24px; }
  .studio__ctaText{ max-width:none; }

  .foot__top{ grid-template-columns:1fr; }
  .foot__lede{ max-width:none; }
  .foot__cols{ grid-template-columns:1fr 1fr; row-gap:32px; }
  .foot__bar{ flex-direction:column; }
}

/* Below this the row thumbnail is too narrow to read as an image */
@media (max-width:560px){
  .clients__row{ grid-template-columns:repeat(2,minmax(0,1fr)); }

  .post--row .post__link{ flex-direction:column; }
  .post--row .post__media{ width:100%; max-width:none; aspect-ratio:16/9; }
  .post--row .post__media span{ display:block; }
}

@media (max-width:420px){
  .founder{ gap:11px; padding:11px; }
  .founder__name{ font-size:13.5px; }
  .pill{ padding:9px 14px; font-size:12.5px; }
}

/* Short landscape screens — the base rule's 15svh cap already keeps the
   headline clear of the fold here, so no override needed. */

/* ═══════════════════════════════════════════════════════════
   ACCESSIBILITY
   ═══════════════════════════════════════════════════════════ */

@media (prefers-reduced-motion:reduce){
  html{ scroll-behavior:auto; }
  *,*::before,*::after{
    animation-duration:.001ms !important;
    animation-iteration-count:1 !important;
    transition-duration:.001ms !important;
  }
  .hero [data-reveal]{ opacity:1; transform:none; }
  [data-io]{ opacity:1; transform:none; }
  .hero__grain, .hero__scroll{ display:none; }
  .hero__clip.is-active,
  .hero__vignette{ opacity:1; }
}

@media print{
  .hero{ min-height:auto; background:#fff; color:#000; }
  .hero__texture,.hero__video,.hero__grain,.hero__vignette,.hero__scroll{ display:none; }
}

/* ── Blog post teaser pages (blog/*.html) ── */
.article{ background:var(--paper); padding-block:clamp(40px,5vw,80px) clamp(64px,8vw,120px); }
.article__wrap{ max-width:860px; }
.article__back{ display:inline-block; font-size:14px; font-weight:600; color:var(--grey); margin-bottom:28px; }
.article__back:hover{ color:var(--accent); }
.article__title{ font-family:var(--display); font-weight:600; letter-spacing:var(--track-display,-.06em); line-height:1.04; font-size:clamp(34px,5vw,64px); margin-top:18px; color:var(--ink); }
.article__lede{ font-size:clamp(17px,1.5vw,20px); color:var(--grey); margin-top:22px; max-width:56ch; }
.article__ppn{ display:grid; gap:12px; margin-top:clamp(32px,4vw,48px); }
.ppn{ background:var(--card); border:1px solid var(--line); border-radius:var(--radius); padding:22px 24px; }
.ppn__label{ font-size:11.5px; letter-spacing:.16em; text-transform:uppercase; color:var(--accent); font-weight:600; }
.ppn__text{ margin-top:8px; font-size:17px; line-height:1.5; color:var(--ink); letter-spacing:-.01em; }
.article__soon{ margin-top:clamp(28px,3vw,40px); background:var(--ink); color:var(--paper); border-radius:var(--radius); padding:clamp(24px,3vw,40px); }
.article__soonTag{ font-family:var(--display); font-weight:600; letter-spacing:var(--track-mid,-.04em); font-size:clamp(24px,2.6vw,34px); }
.article__soonText{ margin-top:8px; color:rgba(245,245,245,.7); font-size:15.5px; }
.btn.btn--accent{ background:var(--accent); color:var(--paper); display:inline-block; margin-top:22px; }
.btn.btn--accent:hover{ background:var(--paper); color:var(--ink); }
.journal__head--sub{ margin-top:clamp(56px,7vw,96px); }
.bcard--text .bcard__date{ display:block; margin-bottom:10px; }
.article__body{ margin-top:clamp(32px,4vw,48px); max-width:68ch; font-size:17px; line-height:1.65; color:var(--ink); }
.article__body h2{ font-family:var(--display); font-weight:600; letter-spacing:var(--track-mid); line-height:1.15; font-size:clamp(24px,2.4vw,32px); margin-top:1.9em; }
.article__body h3{ font-family:var(--display); font-weight:600; letter-spacing:-.02em; font-size:20px; margin-top:1.6em; }
.article__body p, .article__body ul, .article__body ol{ margin-top:1em; }
.article__body ul, .article__body ol{ padding-left:1.3em; }
.article__body ul{ list-style:disc; } .article__body ol{ list-style:decimal; }
.article__body li{ margin-top:.45em; } .article__body li::marker{ color:var(--accent); }
.article__body strong{ font-weight:600; }
.article__body code{ font-size:.9em; background:rgba(10,10,10,.06); padding:2px 6px; border-radius:6px; }
.article__body table{ width:100%; margin-top:1.2em; border-collapse:collapse; font-size:15px; }
.article__body th, .article__body td{ text-align:left; vertical-align:top; padding:10px 12px; border-bottom:1px solid rgba(10,10,10,.12); }
.article__body thead th{ font-weight:600; border-bottom-width:2px; }
.article__body tbody th{ font-weight:600; }
.journal__note a{ color:var(--ink); font-weight:600; }
.journal__note a:hover{ color:var(--accent); }

/* Blog images (Higgsfield) */
.bcard__pic{ display:block; margin:calc(-1 * clamp(18px,1.8vw,26px)); margin-bottom:clamp(14px,1.4vw,20px); aspect-ratio:3/2; overflow:hidden; background:var(--ink); }
.bcard__pic img{ width:100%; height:100%; object-fit:cover; transition:transform .7s var(--ease-out); }
.bcard:hover .bcard__pic img{ transform:scale(1.045); }
.article__hero{ margin:clamp(24px,3vw,40px) 0 0; border-radius:var(--radius); overflow:hidden; aspect-ratio:3/2; background:var(--ink); }
.article__hero img{ width:100%; height:100%; object-fit:cover; }

/* ═══════════════════════════════════════════════════════════
   STOP COOKING CASH — /stop-cooking-cash/
   Sign-up page only. No offer, no prices.
   ═══════════════════════════════════════════════════════════ */

.scc-hero{
  padding-block:clamp(28px,3vw,48px) clamp(48px,6vw,88px);
}
.scc-hero__grid{
  display:grid;
  grid-template-columns:minmax(0,432px) minmax(0,1fr);
  gap:clamp(28px,4vw,72px);
  align-items:center;
}
.scc-cover{
  margin:0;
  /* Full 432px on a tall screen. On a short laptop, shrink with the
     viewport so the rounded cover, including its shadow, stays in view. */
  width:min(100%, 432px, calc((100svh - 210px) * 432 / 768));
  justify-self:start;
}
.scc-cover picture{ display:block; }
.scc-cover img{
  display:block;
  width:100%;
  height:auto;
  aspect-ratio:432 / 768;
  border-radius:var(--radius);
  box-shadow:0 18px 44px rgba(10,10,10,.10);
}
.scc-hero__copy{
  min-width:0;
  max-width:640px;
}
.scc-title{
  font-family:var(--display);
  font-weight:600;
  letter-spacing:var(--track-display);
  line-height:.98;
  font-size:clamp(44px,6.4vw,92px);
  max-width:11ch;
}
.scc-lede{
  margin-top:clamp(18px,2vw,28px);
  max-width:36ch;
  font-size:clamp(18px,1.6vw,22px);
  line-height:1.4;
  letter-spacing:-.02em;
}
.scc-note{
  margin-top:14px;
  max-width:36ch;
  color:var(--grey);
  font-size:clamp(15px,1.2vw,17px);
}
.scc-card{
  margin-top:clamp(22px,3vw,36px);
  background:var(--card);
  border-radius:var(--radius);
  padding:clamp(22px,2.4vw,36px);
  box-shadow:0 18px 44px rgba(10,10,10,.06);
}
.scc-label{
  display:block;
  font-size:14px;
  font-weight:600;
  letter-spacing:-.01em;
  margin-bottom:8px;
}
.scc-input{
  width:100%;
  font:inherit;
  font-size:16px;
  color:var(--ink);
  background:transparent;
  border:0;
  border-bottom:1px solid var(--line);
  border-radius:0;
  padding:10px 0 12px;
}
.scc-input:focus{ outline:none; border-bottom-color:var(--ink); }
.scc-input::placeholder{ color:#9a9a9a; }
.scc-check{
  display:flex;
  align-items:flex-start;
  gap:12px;
  margin-top:22px;
  font-size:15px;
  line-height:1.45;
  cursor:pointer;
}
.scc-check input{
  flex:none;
  width:20px;
  height:20px;
  margin-top:2px;
  accent-color:var(--accent);
}
.scc-optional{ color:var(--grey); }
.scc-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:100%;
  margin-top:22px;
  border:0;
  cursor:pointer;
  text-align:center;
  font-family:var(--body);
  font-size:15.5px;
  font-weight:600;
  letter-spacing:-.01em;
  background:var(--ink);
  color:var(--paper);
  padding:16px 22px;
  border-radius:999px;
  transition:background .25s var(--ease), color .25s var(--ease), transform .25s var(--ease);
}
.scc-btn:hover{ background:var(--accent); color:var(--paper); transform:translateY(-1px); }
.scc-btn--paper{
  width:auto;
  background:var(--paper);
  color:var(--ink);
}
.scc-btn--paper:hover{ background:var(--accent); color:var(--paper); }
.scc-fine{
  margin-top:14px;
  font-size:13.5px;
  line-height:1.5;
  color:var(--grey);
}
.scc-fine a{ text-decoration:underline; text-underline-offset:2px; }
.scc-fine a:hover{ color:var(--accent); }
.scc-msg{
  min-height:1.4em;
  margin-top:10px;
  font-size:14px;
  font-weight:600;
  color:var(--accent);
}
.scc-msg:empty{ margin-top:0; }
.scc-warn{
  margin-bottom:16px;
  padding:12px 14px;
  border-radius:12px;
  background:#fff4e8;
  color:var(--ink);
  font-size:14px;
  line-height:1.45;
}
.scc-done__title{
  font-family:var(--display);
  font-weight:600;
  letter-spacing:var(--track-mid);
  font-size:clamp(26px,2.4vw,34px);
  line-height:1.15;
}
.scc-done__note{
  margin-top:12px;
  color:var(--grey);
}
#guide-form[hidden],
#guide-done[hidden],
#preview-warn[hidden]{ display:none !important; }

.scc-band{
  margin:6px;
  border-radius:25px;
  background:var(--ink);
  color:var(--paper);
  padding:clamp(48px,7vw,104px) 0;
}
.scc-band__title{
  font-family:var(--display);
  font-weight:600;
  letter-spacing:var(--track-display);
  line-height:1.05;
  font-size:clamp(32px,4.6vw,64px);
  max-width:12em;
}
.scc-band__text{
  margin-top:clamp(16px,2vw,24px);
  max-width:42ch;
  font-size:clamp(16px,1.4vw,19px);
  line-height:1.5;
  color:rgba(245,245,245,.78);
}
.scc-section{ padding-block:clamp(48px,6vw,88px); }
.scc-section--tight{ padding-top:0; }
.scc-measure{ max-width:820px; }
.scc-h{
  font-family:var(--display);
  font-weight:600;
  letter-spacing:var(--track-display);
  line-height:1.05;
  font-size:clamp(32px,4vw,56px);
}
.scc-kicker{
  margin-top:10px;
  color:var(--grey);
  font-size:15px;
  font-weight:600;
  letter-spacing:-.01em;
}
.scc-chapters{
  list-style:none;
  margin-top:clamp(22px,2.6vw,32px);
  display:flex;
  flex-direction:column;
  gap:0;
  background:var(--card);
  border-radius:var(--radius);
  padding:8px clamp(18px,2vw,28px);
}
.scc-chapters li{
  display:grid;
  grid-template-columns:2rem minmax(0,1fr);
  gap:12px;
  align-items:baseline;
  padding:16px 0;
  border-top:1px solid var(--line);
  font-size:clamp(15.5px,1.2vw,17px);
  line-height:1.45;
}
.scc-chapters li:first-child{ border-top:0; }
.scc-chapters li::before{
  content:counter(chapter);
  counter-increment:chapter;
  font-family:var(--display);
  font-weight:600;
  letter-spacing:-.04em;
  color:var(--accent);
}
.scc-chapters{ counter-reset:chapter; }
.scc-prose{
  margin-top:clamp(16px,2vw,22px);
  max-width:52ch;
  font-size:clamp(17px,1.4vw,19px);
  line-height:1.5;
}
.scc-aside{
  margin-top:18px;
  max-width:52ch;
  padding:clamp(16px,2vw,22px);
  background:var(--card);
  border-radius:var(--radius);
  font-size:clamp(16px,1.3vw,18px);
  line-height:1.5;
}
.scc-close{ text-align:center; }
.scc-close .wrap{ display:flex; flex-direction:column; align-items:center; }
.scc-close__text{
  font-family:var(--display);
  font-weight:600;
  letter-spacing:var(--track-mid);
  line-height:1.15;
  font-size:clamp(28px,3.6vw,48px);
  max-width:16em;
}
.scc-close .scc-btn{ margin-top:clamp(22px,2.6vw,32px); }

@media (max-width:720px){
  .nav{ flex-wrap:wrap; row-gap:10px; }
  .nav__links{ flex-wrap:wrap; justify-content:flex-start; gap:10px 16px; }
}
@media (max-width:860px){
  .scc-hero__grid{ grid-template-columns:1fr; }
  .scc-cover{ width:60%; margin-inline:auto; justify-self:center; }
  .scc-hero__copy{ max-width:none; }
  .scc-title{ max-width:none; }
  .scc-card{ box-shadow:none; }
}
