/* Poppins, self-hosted. Geometric and open — the shapes in the reference —
   while IBM Plex Mono keeps the small labels and figures technical.
   Latin and Latin-Extended only, five weights, 65KB in total. */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/poppins-400-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/poppins-400-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/poppins-500-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/poppins-500-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/poppins-600-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/poppins-600-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/poppins-700-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/poppins-700-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Caveat, for the hand-written asides on the process track and nothing else.
   Every other face on this site is self-hosted, so this one is too — the
   latin and latin-ext subsets only, which is all the notes are ever set in.
   The unicode-range means a page with no note never fetches either file. */
@font-face {
  font-family: 'Caveat';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/caveat-500-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Caveat';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/caveat-500-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------------------------------------------------------------
   Webfonts and hero styles carried over from the previous site.
   The hero is kept exactly as approved; the scroll narrative below
   it is new. Global rules that assumed a white page (body, links,
   the generic section-reveal) were stripped so they do not fight
   the dark ground.
   --------------------------------------------------------------- */
/* cyrillic-ext */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/fe220bcd-f7b5-447f-b1da-8f31fcede27e.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/e1705171-54f6-4ef2-a096-7f477ebbb3b2.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* vietnamese */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/b698b782-232f-4eac-907d-550700eb07b6.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/2e119240-d02c-49c8-9939-e77c16d509b7.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/8836e357-7752-49f9-acce-ef1021fc4649.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/808ad22a-1ad1-45da-bd8a-f0b43e150e50.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/316761db-caae-41f4-86ed-a3d1d7de045e.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* vietnamese */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/2b8699b4-39c1-46d5-b958-a55037f3fd42.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/723250bc-fc31-47fd-add8-4fe33580d413.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/6bad3355-5a7e-4c99-816d-e958d9839f13.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */

/* vietnamese */

/* latin-ext */

/* latin */

/* cyrillic-ext */

/* vietnamese */

/* latin-ext */

/* latin */

/* cyrillic-ext */

/* vietnamese */

/* latin-ext */

/* latin */

/* cyrillic-ext */

/* vietnamese */

/* latin-ext */

/* latin */

/* cyrillic-ext */

/* vietnamese */

/* latin-ext */

/* latin */

/* cyrillic-ext */

/* vietnamese */

/* latin-ext */

/* latin */

  *, *::before, *::after { box-sizing: border-box; }
  @keyframes gfRise { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
  @keyframes gfTick { from { transform: translateX(0); } to { transform: translateX(-50%); } }
  a, button, [style*="border-radius"] { transition: background .28s cubic-bezier(.2,.7,.2,1), color .28s ease, border-color .28s ease, transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s ease, opacity .28s ease; }
  :focus-visible { outline: 2px solid #C0142A; outline-offset: 3px; }
  @keyframes gfReveal { from { opacity: .001; transform: translateY(20px); } to { opacity: 1; transform: none; } }
  @media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; } }

  /* The one word the whole page turns on, set as a stamp rather than a colour
     change: white plate, black type, upper case. Padding is asymmetric because
     the cap-height sits high in the box — even top and bottom padding left the
     word looking like it had slipped. Inline-block on a 1.08 line-height would
     grow the line box, so the vertical padding is carried by a negative margin
     of the same size and the two headline lines stay where they were. */
  .hero-mark { display:inline-block; padding:.06em .26em .1em; margin:-.06em -.02em -.1em;
               border-radius:.1em; background:#FFFFFF; color:#0A0304;
               text-transform:uppercase; letter-spacing:-.015em; }

  /* ---------- hero wall (class-driven so breakpoints can retune it) ---------- */
  /* Three rows of client logos drifting behind the headline, tilted off the
     horizontal so the wall reads as a surface rather than three strips. The
     scrim over it carries the red glow, which is why the rows can sit at full
     strength here and still leave the type clean. */
  .gf-wall { position:absolute; inset:-8% -6%; z-index:0; pointer-events:none;
             display:flex; flex-direction:column; justify-content:center; gap:var(--gf-gap);
             transform:rotate(-4deg); opacity:.72;
             --gf-w:clamp(74px,8.3vw,158px); --gf-h:clamp(54px,5.4vw,104px);
             --gf-gap:clamp(7px,.7vw,13px); --gf-r:14px; }
  /* One gap value drives both the spacing inside a set and the trailing gap
     after it, exactly as the marquee further down the page does: each set is
     its cards plus one trailing gap, so translating the row by half its width
     lands the second set where the first began. */
  .gf-wall__row { display:flex; width:max-content; }
  .gf-wall__set { display:flex; gap:var(--gf-gap); padding-right:var(--gf-gap); }
  .gf-card { width:var(--gf-w); height:var(--gf-h); border-radius:var(--gf-r); flex:none;
             background:#FFFFFF; overflow:hidden; display:grid; place-items:center;
             padding:calc(var(--gf-gap) * .6); box-shadow:0 16px 34px rgba(0,0,0,.3); }
  .gf-card img { max-width:100%; max-height:100%; object-fit:contain; display:block; }
  .gf-hero-sec { z-index:3; }
  .gf-wall__row--l { animation:gfWallL 34s linear infinite; }
  .gf-wall__row--r { animation:gfWallR 30s linear infinite; }
  .gf-wall__row--slow { animation-duration:46s; }
  .gf-wall__row--fast { animation-duration:26s; }
  @keyframes gfWallL { from { transform:translateX(0); } to { transform:translateX(-50%); } }
  @keyframes gfWallR { from { transform:translateX(-50%); } to { transform:translateX(0); } }
  /* The glow, now sitting over the wall rather than under it. Radii are
     percentages, not a fixed px radius, so it scales with the hero instead of
     rendering differently per screen size. */
  .gf-scrim { position:absolute; inset:0; z-index:1; pointer-events:none;
    background:radial-gradient(ellipse 78% 88% at 50% 50%,
      rgba(196,0,4,.93) 0%, rgba(150,3,10,.9) 32%, rgba(74,3,12,.86) 66%, rgba(28,2,7,.88) 92%); }

  /* ---------- breakpoints ---------- */
  @media (max-width: 1100px) {
    .gf-wall { --gf-w:clamp(68px,8.6vw,126px); --gf-h:clamp(48px,5.6vw,82px); --gf-r:12px; }
  }
  /* The wall needs no grid fallback the way the old staggered band did — a
     marquee is already one row of fixed cards at any width. It only wants to
     be smaller, and the hero drops its forced full-screen height so the
     leftover space stops collecting as dead area under the buttons. */
  @media (max-width: 820px) {
    /* The wall was dimmed to .5 here and then covered by a scrim that is ~90%
       opaque everywhere, which left the logos as faint rectangles with nothing
       readable inside them. On a phone the wall is the only thing saying "390
       clients" above the fold, so it comes back up — and the cards grow,
       because a 62px card holds a logo no one can identify. */
    /* Four rows of 60px cards are a 260px band through the middle of a 508px
       hero — which is exactly where the copy sits, so shrinking the cards had
       been hiding them behind the text rather than around it. Bigger cards make
       the band taller than the copy block, so logos read above and below it. */
    .gf-wall { --gf-w:124px; --gf-h:92px; --gf-r:14px; opacity:.74; inset:-16% -8%; }
    /* On desktop one near-solid scrim can cover the whole hero and the logos
       still read, because a 158px card survives a 90% veil. An 82px card does
       not. So the full-bleed scrim drops to roughly half strength — enough to
       hold the red — and the job of protecting the type moves to a plate that
       sits behind the copy alone. Logos read everywhere the text is not. */
    .gf-scrim { background:linear-gradient(180deg,
      rgba(34,2,8,.66) 0%,
      rgba(120,2,8,.58) 26%,
      rgba(140,2,8,.56) 50%,
      rgba(120,2,8,.58) 74%,
      rgba(34,2,8,.62) 100%); }
    .gf-hero-copy::before {
      content:""; position:absolute; z-index:-1; inset:-3% -7%; pointer-events:none;
      background:radial-gradient(ellipse 76% 72% at 50% 50%,
        rgba(122,0,7,.92) 0%, rgba(116,0,7,.86) 40%, rgba(102,0,6,.60) 70%, rgba(84,0,6,0) 100%); }
    .gf-hero-sec { padding:18px 18px 18px !important; }
    .gf-hero-frame { min-height:62vh !important; }
    .gf-hero-copy { padding:26px 0 !important; }
    .gf-stack, .gf-stack-sm { grid-template-columns:minmax(0,1fr) !important; }
    .gf-pad { padding-left:18px !important; padding-right:18px !important; }
  }
  @media (max-width: 380px) {
    .gf-wall { --gf-w:112px; --gf-h:82px; }
    .gf-hero-sec { padding:14px 14px 14px !important; }
    .gf-pad { padding-left:14px !important; padding-right:14px !important; }
  }

/* ---------- new scroll narrative ---------- */
:root {
  --red: #E00000;
  --ink: #050505;
  --paper: #FFFFFF;
  --muted: rgba(255,255,255,.62);
  --line: rgba(255,255,255,.16);
  --mono: 'IBM Plex Mono', ui-monospace, monospace;
  --sans: 'Poppins', system-ui, sans-serif;
  --hand: 'Caveat', 'Segoe Script', cursive;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}
.skip-link { position: fixed; left: 16px; top: 12px; z-index: 200; padding: 10px 14px;
  border-radius: 8px; background: var(--paper); color: var(--ink); font-weight: 700;
  text-decoration: none; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
/* ---------- site header ---------- */
/* The band's ghost cards hang above its own top edge on negative margins, so
   they ride up behind this header. They are 4.5% white and the header sits on
   its own stacking level, which keeps the lockup readable over them. */
.site-header { position: relative; z-index: 3; max-width: 1440px; margin: 0 auto; padding: 18px 40px 0; }
.site-header__inner { display: flex; align-items: center; gap: 24px; min-height: 46px; }
/* Ranged left and sized to sit in the corner rather than announce itself: the
   hero headline is the thing that should carry the page. The proportions of
   the printed lockup are kept — GROFAST in caps, the two companies centred
   under it — just at a smaller step. The logo carries its own white outline,
   so it needs no plate on the red hero. */
.site-brand { display: inline-flex; align-items: center; gap: 11px;
  color: var(--paper); text-decoration: none; }
.site-brand__mark { display: block; width: 38px; height: 38px; object-fit: contain; flex: none; }
.site-brand__words { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.site-brand__name { font-family: var(--sans); font-size: 20px; font-weight: 700;
  letter-spacing: .005em; line-height: 1; text-transform: uppercase; }
.site-brand__units { display: flex; justify-content: center; gap: 10px; width: 100%;
  font-family: var(--sans); font-size: 8px; font-weight: 600; letter-spacing: .07em;
  line-height: 1; text-transform: uppercase; color: rgba(255,255,255,.78); }
@media (max-width: 520px) {
  .site-brand__mark { width: 33px; height: 33px; }
  .site-brand__name { font-size: 17px; }
  .site-brand__units { font-size: 7.5px; gap: 8px; }
}

.hero-cta { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 15px 26px;
  border: 1px solid transparent; border-radius: 99px; font-size: 13px; font-weight: 700;
  letter-spacing: .06em; text-decoration: none; text-transform: uppercase; }
.hero-cta--primary { background: var(--paper); box-shadow: 0 10px 24px rgba(0,0,0,.28); color: #B00000; }
.hero-cta--primary:hover, .hero-cta--primary:focus-visible { background: #FFE9EC; color: #850000;
  box-shadow: 0 16px 32px rgba(0,0,0,.34); transform: translateY(-2px); }
.hero-cta--secondary { border-color: rgba(255,255,255,.4); color: var(--paper); }
.hero-cta--secondary:hover, .hero-cta--secondary:focus-visible { border-color: var(--paper); background: rgba(255,255,255,.1); }
h1, h2, h3, h4 { font-weight: 600; }

/* Matched to the header and the hero, which are both 1440 wide with 40px of
   padding. The sections were 1180 with 64px, so on a wide screen every heading
   and card sat 154px inside the logo above it — read as the page having been
   squeezed rather than as a margin. */
.act { padding: clamp(64px, 12vh, 140px) clamp(16px, 5vw, 40px); max-width: 1440px; margin: 0 auto; }
/* Case-study pages keep the narrower measure; their own header matches it. */
.brandpage .act { max-width: 1180px; }
.h2 { font-weight: 600; font-size: clamp(28px, 4vw, 52px); line-height: 1.05; letter-spacing: -.03em; margin: 0 0 24px; }
.note { color: var(--muted); max-width: 54ch; line-height: 1.6; }

/* Act 1 — tall container, sticky stage. Only kicks in once app.js has run
   (documentElement gets the .js class as its first statement); with no JS
   the act collapses to normal document flow so nothing scrolls past a
   frozen panel. */
.act--videos { position: relative; padding-top: 0; padding-bottom: 0; }
.js .act--videos { height: 420vh; }
.js .stage { position: sticky; top: 0; height: 100vh; }
.beat.is-on { opacity: 1; border-color: var(--red); }
.beats.is-live .beat { opacity: .28; }
.beats.is-live .beat.is-on { opacity: 1; }
/* Four items, so two columns. auto-fit gave three across and left the fourth
   stranded alone on a second row with a wide empty gap beside it — and it did
   so at every desktop width, because the act caps at 1180px and four 260px
   columns never fit inside it. */
@media (min-width: 760px) { .method { grid-template-columns: repeat(2, 1fr); } }
.cta { display: inline-block; margin-top: 28px; padding: 17px 28px; border-radius: 99px; background: var(--paper); color: var(--red);
  font-weight: 700; letter-spacing: .06em; text-transform: uppercase; font-size: 13px; text-decoration: none; }

@media (max-width: 640px) {
  .js .act--videos { height: 300vh; }
  .beats { gap: 7px; }
  .beat { padding: 6px 11px; font-size: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .act--videos, .js .act--videos { height: auto; }
  .stage, .js .stage { position: static; height: auto; }
  .beat { opacity: 1; }
  * { animation: none !important; transition: none !important; }
}

/* ---------- brand grid + brand pages ---------- */
.act--brands { padding-top: clamp(38px, 6vh, 74px); }

@media (max-width: 640px) {
  .brandgrid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
  .brandcard { padding: 12px; }
}

/* ---------- editorial brand wall ---------- */
.act--brands { padding-top: clamp(38px, 6vh, 74px); }
.kicker { font-family: var(--mono); font-size: 10px; letter-spacing: .26em;
  text-transform: uppercase; color: var(--red); margin: 0 0 14px; }

/* Hovering one tile recedes the others, so attention lands on a single brand. */
@media (hover: hover) {
  .brandcard__go { opacity: 0; transform: translateY(6px); }
  .brandgrid:hover .brandcard { opacity: .45; }
  .brandgrid .brandcard:hover, .brandgrid .brandcard:focus-visible { opacity: 1; }
  .brandcard:hover, .brandcard:focus-visible { border-color: var(--red); transform: translateY(-5px); }
  .brandcard:hover .brandcard__art { transform: scale(1.04); }
  .brandcard:hover .brandcard__go, .brandcard:focus-visible .brandcard__go { opacity: 1; transform: none; color: var(--paper); }
  .brandcard:hover .brandcard__go em { transform: translateX(5px); }
}
/* On a phone that reserved most of the first screen for a name and a logo,
   pushing the story — the reason anyone opened the page — below the fold with
   nothing but black in between. The hero keeps its presence at a third of the
   viewport and the padding does the rest. */
@media (max-width: 640px) {
  .brandhero { min-height: 34vh; }
  .brandhero .act, .act.brandhero { padding-top: clamp(40px, 7vh, 76px); }
}

/* Reveal: only hidden once the script is running, so no-JS shows everything. */
.js-reveal .reveal { opacity: 0; transform: translateY(18px); }
.js-reveal .reveal.is-in { opacity: 1; transform: none;
  transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); }

@media (max-width: 900px) {
  .brandcard-wrap { grid-column: span 4; }
  .brandcard-wrap--feature { grid-column: span 8; }
}
@media (max-width: 640px) {
  .brandgrid { gap: 10px; }
  .brandcard-wrap, .brandcard-wrap--feature { grid-column: span 6; }
  .brandcard { padding: 13px; border-radius: 14px; }
  .brandcard__art { padding: 9px; }
  .spine { width: 2px; }
}
@media (prefers-reduced-motion: reduce) {
  .js .reveal, .js-reveal .reveal.is-in { opacity: 1; transform: none; transition: none; }
  .spine__fill { transform: scaleY(1); }
}

/* ---------- ink / paper bands with torn seams ---------- */
/* Brand red #E00000 clears 3:1 against both grounds, so it is safe for large
   display text — but it fails 4.5:1 for the small mono labels (kickers, index
   numbers). Those get a ground-specific variant instead of dropping the brand
   colour: lifted on ink, deepened on paper. */
:root { --band-paper: #F4F1EC; --band-ink: #0A0304; --paper-muted: #6B6560;
        --paper-line: rgba(10,3,4,.14);
        --red-on-ink: #FF2D2D; --red-on-paper: #C40000; }

.band { position: relative; }

.band--paper .kicker { color: var(--red); }
.band--paper .note, .band--paper .brandcard__meta { color: var(--paper-muted); }
.band--paper .h2, .band--paper .story, .band--paper .pullquote { color: var(--band-ink); }
@media (hover: hover) {
  .band--paper .brandcard:hover .brandcard__go { color: var(--band-ink); }
}

/* ---------- accessible small red labels ---------- */
.kicker, .brandcard__no, .brandhero__no { color: var(--red-on-ink); }
.band--paper .kicker, .band--paper .brandcard__no { color: var(--red-on-paper); }

/* ---------- brand carousel ---------- */
.carousel { position: relative; margin-top: 40px; }
.carousel__track {
  list-style: none; margin: 0; padding: 4px 4px 18px;
  display: flex; gap: 18px;
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-behavior: smooth;
  scrollbar-width: none;
}
.carousel__track::-webkit-scrollbar { display: none; }
.bcard { flex: 0 0 auto; width: clamp(210px, 22vw, 268px); scroll-snap-align: start; }

.bcard__link {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  height: 100%; padding: 22px 18px 24px; text-align: center; text-decoration: none; color: inherit;
  background: #141414; border: 1px solid rgba(255,255,255,.08); border-radius: 18px;
  transition: transform .3s cubic-bezier(.2,.7,.2,1), border-color .3s ease, background .3s ease;
}
  text-transform: uppercase; color: var(--red-on-ink); }
/* Logos are drawn for white, so they keep a light chip inside the dark card. */
.bcard__art { display: grid; place-items: center; width: 100%; padding: 14px;
  background: #FFFFFF; border-radius: 12px; }
.bcard__art img { width: 100%; height: auto; aspect-ratio: 5/4; object-fit: contain; display: block; }
.bcard__name { font-weight: 600; font-size: 17px; letter-spacing: -.02em; margin-top: 4px; }
.bcard__desc { font-size: 13px; line-height: 1.5; color: var(--muted); }
/* Followers before and after. Set as figures rather than a sentence, because
   the jump between them is the whole point and a reader should get it without
   reading. The "now" figure takes the accent; the arrow does the rest. */
.growth { display: flex; align-items: flex-end; justify-content: center; gap: 12px;
  margin: 4px 0 2px; }
.growth__col { display: flex; flex-direction: column; align-items: center; gap: 3px; }
.growth__k { font-family: var(--mono); font-size: 8px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--muted); }
.growth__v { font-size: 19px; font-weight: 600; letter-spacing: -.02em;
  font-variant-numeric: tabular-nums; line-height: 1; }
.growth__v--now { color: var(--red-on-ink); }
.growth__arrow { color: var(--red-on-ink); font-size: 15px; line-height: 1.6; }
.growth__asof { display: block; font-family: var(--mono); font-size: 8px;
  letter-spacing: .16em; text-transform: uppercase; color: var(--muted);
  text-align: center; margin: -2px 0 2px; }
/* One row per account, for a client who runs more than one. Deliberately not
   the before-and-after treatment: these are current counts with no starting
   figure behind them, and borrowing the growth layout would imply one. */
.accounts { display: grid; gap: 5px; margin: 4px 0 2px; width: 100%; }
.accounts__row { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.accounts__at { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  font-family: var(--mono); font-size: 8px; letter-spacing: .08em; color: var(--muted); }
.accounts__n { flex: none; font-size: 15px; font-weight: 600; letter-spacing: -.02em;
  line-height: 1; color: var(--red-on-ink); font-variant-numeric: tabular-nums; }

.growth--none { display: block; font-family: var(--mono); font-size: 9px;
  letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
  line-height: 1.5; max-width: 22ch; margin-inline: auto; }

.bcard__cta { margin-top: auto; padding: 10px 18px; border-radius: 99px;
  background: var(--red); color: #FFFFFF; font-family: var(--mono);
  font-size: 10px; letter-spacing: .16em; text-transform: uppercase;
  transition: background .25s ease, transform .25s ease; }

@media (hover: hover) {
  .bcard__link:hover, .bcard__link:focus-visible {
    transform: translateY(-6px); border-color: rgba(255,255,255,.22); background: #191919; }
  .bcard__link:hover .bcard__cta { background: #FF2D2D; }
}

/* The brand cards are dark on the light band — they lift off the paper the way
   the reference does. No plate behind the mark: where a logo was too dark to
   read on black, sync-images has written a lightened copy and the generator
   points the card at that instead. Two of the eighteen needed one. */
.band--light .bcard__link {
  background: #101010; border-color: rgba(255,255,255,.10); color: var(--band-paper);
  box-shadow: 0 10px 26px rgba(10,3,4,.16);
}
/* A white square behind every mark. It is what lets a logo drawn for print sit
   on a black card at all — and squaring it means a wide logo and a tall one
   occupy the same block, so a row of cards reads as a row. */
.band--light .bcard__art { background: #FFFFFF; border-radius: 14px; padding: 16px;
  aspect-ratio: 1 / 1; }
.band--light .bcard__art img { height: 100%; aspect-ratio: auto; }
.band--light .bcard__desc { color: var(--muted); }
.band--light .monogram { color: var(--band-paper); }
@media (hover: hover) {
  .band--light .bcard__link:hover, .band--light .bcard__link:focus-visible {
    background: #171717; border-color: rgba(255,255,255,.26);
    box-shadow: 0 18px 34px rgba(10,3,4,.24);
  }
}

.carousel__nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 44px; height: 44px; display: grid; place-items: center;
  border-radius: 50%; cursor: pointer; color: var(--paper);
  background: rgba(20,20,20,.9); border: 1px solid rgba(255,255,255,.18);
  transition: background .25s ease, border-color .25s ease, opacity .25s ease;
}
.carousel__nav svg { width: 20px; height: 20px; }
.carousel__nav--prev { left: -8px; }
.carousel__nav--next { right: -8px; }
.carousel__nav:hover { background: var(--red); border-color: var(--red); }
.carousel__nav[disabled] { opacity: .3; cursor: default; }
.carousel__nav[disabled]:hover { background: rgba(20,20,20,.9); border-color: rgba(255,255,255,.18); }
/* Without the script the arrows cannot scroll anything, so they never appear —
   the track is still swipeable and keyboard-scrollable on its own. */
.carousel__nav { display: none; }
.js .carousel__nav { display: grid; }

@media (max-width: 640px) {
  .carousel__track { gap: 12px; }
  .bcard { width: 74vw; max-width: 260px; }
  .carousel__nav { display: none !important; }
}
@media (prefers-reduced-motion: reduce) {
  .carousel__track { scroll-behavior: auto; }
}

/* A client with no logo file on hand gets a monogram, never another brand's mark. */
.monogram { display: grid; place-items: center; width: 100%; aspect-ratio: 5/4;
  font-family: var(--mono); font-weight: 500; font-size: clamp(26px, 4vw, 40px);
  letter-spacing: .06em; color: #141414; }

/* ---------- our own channels ----------
   Grofast's own accounts, as opposed to the client logos everywhere else on
   the page. The pictures overlap into a single pile rather than sitting in a
   row: five separate audiences shown adding up to the one figure the headline
   claims. A row would have said "five accounts"; the pile says "400K+". */
.act--channels { padding-top: clamp(44px, 7vh, 84px); padding-bottom: clamp(44px, 7vh, 84px); }
.act--channels .channels { margin-top: clamp(18px, 2.6vw, 30px); }

.channels { display: grid; gap: clamp(26px, 4vw, 56px); align-items: center; }
/* Side by side only once the pile and the sentence both have room. Below that
   the pile sits above the words it is evidence for. */
@media (min-width: 900px) { .channels { grid-template-columns: auto minmax(0, 1fr); } }

/* One custom property drives the circle and the overlap together, so the pile
   keeps its proportions as it scales instead of the gap closing up. */
.chanpile { --av: clamp(62px, 8.6vw, 104px);
  list-style: none; margin: 0; padding: 0; display: flex; }
.chan { margin-left: calc(var(--av) * -0.25); }
.chan:first-child { margin-left: 0; }
.chan__art {
  display: grid; place-items: center; overflow: hidden;
  width: var(--av); aspect-ratio: 1; border-radius: 50%;
  background: #FFFFFF;
  /* The ring is the band's own paper, which is what separates one picture from
     the one it overlaps without drawing a line round either. */
  border: 4px solid var(--band-paper);
  box-shadow: 0 8px 20px rgba(10,3,4,.16);
}
.chan__art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.chan__letter { font-size: calc(var(--av) * .3); font-weight: 600; color: var(--paper-muted); }

.channels__big { margin: 0 0 14px; max-width: 18ch; text-wrap: balance;
  font-size: clamp(25px, 3.1vw, 42px); font-weight: 600; line-height: 1.16;
  letter-spacing: -.03em; color: var(--band-ink); }
.channels__big strong { font-weight: 600; color: var(--red-on-paper); }

.chanames { list-style: none; margin: 0 0 14px; padding: 0;
  display: flex; flex-wrap: wrap; gap: 6px 18px; }
.chanames__l { font-family: var(--mono); font-size: clamp(11px, 1vw, 12.5px);
  color: var(--paper-muted); text-decoration: none;
  border-bottom: 1px solid var(--paper-line); }
.chanames__l::before { content: "@"; }
.chanames__l:hover, .chanames__l:focus-visible {
  color: var(--red-on-paper); border-bottom-color: var(--red-on-paper); }

.channels__claim { margin: 0; max-width: 40ch;
  font-size: clamp(14px, 1.15vw, 16px); line-height: 1.6; color: var(--paper-muted); }

@media (hover: hover) {
  .chan__art { transition: transform .3s ease; }
  /* Lifting the picture out of the pile is the only way to see the one under
     it, so the hover is a way of reading the row rather than decoration. */
  .chan:hover .chan__art { transform: translateY(-8px); }
}

/* ---------- how we work: a hand-drawn process track ----------
   The line, the nodes and the copy all read off one 1200x1360 coordinate
   space. The SVG scales with the container at a fixed aspect ratio and the
   step list is laid over it at the same ratio, so a node's percentage position
   lands exactly on the point of the curve it belongs to. Move a node in the
   path and the same numbers move it in the markup — they cannot drift apart,
   and integrity.test.mjs fails if they do.

   The steps run in two columns, left and right, and the line snakes between
   them, looping twice where it doubles back. The pockets the loops leave are
   where the hand-written notes sit, which is why the note offsets are given in
   cqw: one cqw is a hundredth of the track, so a note keeps its place against
   the curve at every width instead of drifting as the track scales. */
.band--process {
  /* A warmer paper than the other light bands, with the weave of the stock it
     is imitating. Two hairline gratings at a 3px pitch, not an image: it costs
     nothing, never blurs, and there is no file to lose. */
  background-color: #F1EDE6;
  background-image:
    repeating-linear-gradient(0deg, rgba(10,3,4,.030) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(90deg, rgba(10,3,4,.030) 0 1px, transparent 1px 3px);
  color: var(--band-ink);
}
.band--process .h2, .band--process .pstep__title { color: var(--band-ink); }
.band--process .kicker { color: var(--red-on-paper); }
.band--process .note, .band--process .pstep__body { color: var(--paper-muted); }

.process__intro { max-width: 40ch; }
.process__intro .h2 { margin: 8px 0 16px; }
.process__intro .note { margin: 0 0 26px; }
.process__intro .cta { display: inline-flex; align-items: center; min-height: 44px;
  padding: 13px 26px; border-radius: 99px; background: var(--red); color: #FFFFFF;
  font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  text-decoration: none; transition: background .25s ease, transform .25s ease; }
.process__intro .cta:hover { background: #A80000; transform: translateY(-2px); }

.process__track { position: relative; container-type: inline-size;
  max-width: 1120px; margin: 46px auto 0; }
.process__curve { display: block; width: 100%; height: auto; overflow: visible; }
.process__steps { position: absolute; inset: 0; margin: 0; padding: 0; list-style: none;
  aspect-ratio: 1200 / 1360; }
/* Each cqw length is preceded by an equivalent a browser without container
   queries can still use. Without the pair, an unsupported unit takes the whole
   declaration with it — and a dropped clamp() does not fall back to its own
   minimum, it falls back to inherited, so the numerals would set at body size
   and the steps would collapse to shrink-to-fit. The width fallback is exact:
   .process__steps is inset:0 on the track, so 26% of it is 26cqw. */
.pstep { position: absolute; left: var(--x); top: var(--y); width: 26%; width: 26cqw; }

/* The line is painted by default and drawn by scroll only under .process--draw,
   which site.js adds after it has already written the offset for the current
   scroll position. That ordering is the whole point: an earlier version hid the
   section's centrepiece until an observer fired and a transition finished, so
   every automated capture — this repo's own `npm run shots` included —
   photographed the band with no line at all. Nothing here hides the path before
   a correct offset exists, and no-JS, reduced-motion and the sub-1000px rail
   never get the class. */
.process--draw .pstep { opacity: .26; transition: opacity .4s ease; }
.process--draw .pstep.is-on { opacity: 1; }
.process--draw .pstep__dot { transform: scale(.55); transition: transform .4s cubic-bezier(.2,.8,.2,1); }
.process--draw .pstep.is-on .pstep__dot { transform: scale(1); }

/* The node sits on the curve, the numeral beside it, the copy below both. */
.pstep__dot {
  position: absolute; left: -8px; top: -8px; width: 16px; height: 16px;
  display: block; border-radius: 50%; background: var(--red-on-paper);
}
.pstep__no {
  /* Above the node, not beside it: the line leaves every node horizontally,
     so a numeral level with the dot would be struck through by its own curve. */
  position: absolute; left: 8.4%; top: -62px;
  left: 2.2cqw; top: -5.6cqw;
  font-size: 40px; font-size: clamp(30px, 3.6cqw, 44px);
  font-weight: 500; line-height: 1;
  letter-spacing: -.02em; color: var(--red-on-paper); pointer-events: none;
}
.pstep__title { margin: 42px 0 8px; font-size: 16px; font-size: clamp(15px, 1.45cqw, 17px);
  font-weight: 600; letter-spacing: -.01em; line-height: 1.3; }
.pstep__body { margin: 0; font-size: 14px; font-size: clamp(13px, 1.25cqw, 14.5px); line-height: 1.6; }

/* Hand-written asides. Positioned off their own step so the reading order and
   the phone layout come out right, but offset in cqw so they land in the gaps
   the curve leaves rather than in the middle of it. */
.pnote {
  /* If the offsets drop, the note keeps its static position — just under its
     own step's body, which is where the phone layout puts it anyway. */
  position: absolute; width: 62%;
  left: var(--nx); top: var(--ny); width: var(--nw, 17cqw);
  margin: 0; font-family: var(--hand); font-weight: 500;
  font-size: 20px; font-size: clamp(16px, 1.9cqw, 22px); line-height: 1.25;
  color: var(--red-on-paper); transform: rotate(var(--nr, -1.5deg));
  transform-origin: left top; pointer-events: none;
}

@media (min-width: 1000px) {
  .process { position: relative; }
}

/* Below the point where a curve stops being readable it becomes a plain
   vertical list — a rail with the same nodes, in order, one per row, and each
   note back beside the step it belongs to. */
@media (max-width: 999px) {
  .process__curve { display: none; }
  .process__track { container-type: normal; max-width: none; margin-top: 34px; }
  .process__steps { position: static; aspect-ratio: auto; display: grid; gap: 32px;
    padding-left: 30px; border-left: 3px solid var(--red-on-paper); }
  .pstep { position: relative; left: auto; top: auto; width: auto; }
  .pstep__dot { left: -39px; top: 8px; }
  .pstep__no { position: static; display: block; left: auto; top: auto; font-size: 30px; }
  .pstep__title { margin: 4px 0 6px; font-size: 16px; }
  .pstep__body { font-size: 14px; }
  .pnote { position: static; width: auto; margin: 10px 0 0; font-size: 19px;
    transform: none; }
}

/* ---------- client videos ----------
   Vertical tiles, because a client filming on a phone shoots 9:16 and a reel
   dropped into a landscape frame is mostly letterbox. An empty tile reads as a
   slot — numbered, dimmed, dashed — never as a testimonial nobody gave. */
/* Red into black, lit from the top edge so the heading sits in the brightest
   part and the tiles fall away into the dark.
   The band's own kicker goes pale rather than red — the page-wide red kicker
   on a red ground is the same red-on-red that made the hero's accent word
   unreadable. With it pale, the top stop can be a real red instead of a dim
   maroon: #7A0006 is as far as it goes before the muted note text drops under
   4.5:1 against it. */
.band--videos { background: radial-gradient(ellipse 100% 78% at 50% 0%, #7A0006 0%, #2A0206 48%, var(--ink) 100%); }
.band--videos .kicker { color: #F4D7DA; }
.act--videos-wall { padding-top: clamp(48px, 8vh, 96px); padding-bottom: clamp(48px, 8vh, 96px); }
.act--videos-wall .note { margin-top: 4px; }
/* --vgrid-cols is set on the element by tools/build-videos.mjs, which picks a
   count that leaves no tile alone on the last row. The 4 is only the fallback
   for markup written by hand. */
.vgrid { list-style: none; margin: clamp(30px, 5vh, 52px) 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(var(--vgrid-cols, 4), minmax(0, 1fr));
  gap: clamp(14px, 1.8vw, 26px); }
.vcard { min-width: 0; }
.vcard__frame {
  position: relative; display: grid; place-items: center; overflow: hidden;
  aspect-ratio: 9 / 16; border-radius: 16px;
  background: linear-gradient(165deg, #171717, #0C0C0C);
  border: 1px solid var(--line);
}
.vcard__frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* A triangle drawn with borders — no icon file, and it inherits colour. */
.vcard__play {
  position: relative; z-index: 1; width: 0; height: 0;
  border-style: solid; border-width: 13px 0 13px 21px;
  border-color: transparent transparent transparent rgba(255,255,255,.82);
  filter: drop-shadow(0 2px 10px rgba(0,0,0,.5));
}
.vcard__slot {
  position: absolute; top: 12px; left: 14px; z-index: 1;
  font-family: var(--mono); font-size: 10px; letter-spacing: .22em; color: var(--red-on-ink);
}
.vcard__meta {
  display: block; margin: 12px 2px 0;
  font-family: var(--mono); font-size: 10px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--muted);
}
.vcard--empty .vcard__frame { border-style: dashed; border-color: rgba(255,255,255,.22); }
.vcard--empty .vcard__play { border-left-color: rgba(255,255,255,.30); }
@media (hover: hover) {
  .vcard__link:hover .vcard__frame, .vcard__link:focus-visible .vcard__frame {
    border-color: var(--red); transform: translateY(-4px);
  }
  .vcard__frame { transition: transform .3s cubic-bezier(.2,.7,.2,1), border-color .3s ease; }
  .vcard__link:hover .vcard__meta { color: var(--paper); }
}
@media (max-width: 900px) { .vgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .vgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } }

/* ---------- auto-scrolling client strip ---------- */
.marquee-sec { padding: clamp(30px, 5vh, 54px) 0 clamp(30px, 5vh, 52px); }
/* The gutter the rest of the page uses. Without it this line ran edge to edge
   on a phone — it wraps to two lines there and both touched the screen. */
.marquee__label { margin: 0 0 18px; padding: 0 clamp(16px, 5vw, 64px); text-align: center;
  font-family: var(--mono); font-size: 10px; letter-spacing: .26em;
  text-transform: uppercase; color: var(--muted); }
.marquee {
  /* One gap value drives both the spacing inside a set and the trailing gap
     after it. That is what makes the loop seamless: each set is exactly as
     wide as its logos plus one trailing gap, so translating the row by half
     its width lands the second set precisely where the first began, with the
     same spacing across the seam as everywhere else. */
  --gap: clamp(16px, 1.8vw, 30px);
  overflow: hidden;
  /* Fades the strip into the page edges so logos enter and leave rather than
     being chopped off at the viewport. */
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}
.marquee__row { display: flex; width: max-content; }
.marquee__set { display: flex; align-items: center; gap: var(--gap);
  list-style: none; margin: 0; padding: 0 var(--gap) 0 0; }
.marquee__item {
  flex: 0 0 auto;
  width: clamp(86px, 8.6vw, 124px); height: clamp(58px, 5.8vw, 82px);
}
/* object-fit does the letterboxing. max-width/max-height cannot: the width
   constraint alone decides the size, and a logo taller than it is wide then
   overflows its box and gets sliced off at the bottom by the strip's own
   overflow: hidden. Every logo was losing its lower edge that way. */
.marquee__item img {
  width: 100%; height: 100%; object-fit: contain; display: block;
}
/* The strip never stops. It used to pause on hover, which reads as a broken
   loop rather than a feature — you move the pointer over the logos to look at
   them, which is exactly when it froze. */
.marquee__row { animation: marquee-slide 52s linear infinite; }
@keyframes marquee-slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }

@media (max-width: 640px) {
  /* Smaller boxes on a phone. At the desktop size only three and a bit logos
     fit across 390px, which reads as a nearly empty strip rather than a busy
     one — the point of the strip is that there are a lot of them. */
  .marquee { --gap: 12px; }
  .marquee__item { width: 64px; height: 46px; }
  .marquee__row { animation-duration: 30s; }
}
@media (prefers-reduced-motion: reduce) {
  .marquee__row { animation: none; }
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee__set:nth-child(2) { display: none; }
  .marquee__set { flex-wrap: wrap; justify-content: center; gap: 20px; padding: 0; }
  .marquee { overflow: visible; }
}

/* ---------- light band ---------- */
/* A straight edge and nothing else. This carried a 3px red keyline across the
   top; it was removed on request. The change of ground from near-black to
   paper is already the strongest edge on the page, and the rule was drawing a
   second one on top of it. */
.band--light { position: relative; background: var(--band-paper); color: var(--band-ink); }
.band--light .act { position: relative; z-index: 2; }

.band--light .h2, .band--light .kicker { color: var(--band-ink); }
.band--light .kicker { color: var(--red-on-paper); }
.band--light .note { color: var(--paper-muted); }

/* Cards stay dark so they lift off the light ground, as in the reference. */
.band--light .carousel__nav { background: rgba(20,20,20,.92); color: #FFFFFF;
  border-color: rgba(0,0,0,.18); }

/* The wall is generated, so its cards are styled once above rather than with
   inline styles per card. Nothing is needed here any more — the old rules for
   the staggered columns and their ghost cards went with the zigzag. */

/* ---------- start a conversation ---------- */
/* Two columns: the ways to reach us on the left as tappable cards, one message
   box on the right. The card shape, the icon tile and the corner arrow are
   taken from the reference; the palette, the type and the red are the page's
   own. */
.act--ask { position: relative; isolation: isolate; overflow: hidden; }

/* One soft red bloom behind the section and an oversized ghost word under the
   heading — the section's only two flourishes, both from the reference. */
.act--ask::before {
  content: ""; position: absolute; z-index: -2; inset: -20% -10% auto -10%; height: 130%;
  background: radial-gradient(58% 52% at 50% 22%, rgba(224,0,0,.13) 0%, rgba(224,0,0,.04) 42%, transparent 72%);
  pointer-events: none;
}
/* Anchored to the heading it sits behind, not to the section, so it never
   drifts across the message box on a wide screen. */
.ghostword {
  position: absolute; z-index: -1; left: clamp(-14px, -1vw, 0px); top: clamp(8px, 4vw, 54px);
  font-weight: 700; font-size: clamp(78px, 13vw, 178px); line-height: .82;
  letter-spacing: -.05em; text-transform: uppercase; white-space: nowrap;
  color: rgba(255,255,255,.026); user-select: none; pointer-events: none;
}

.ask { display: grid; gap: clamp(24px, 3.2vw, 44px); grid-template-columns: 1fr; align-items: start; }
@media (min-width: 980px) { .ask { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: stretch; } }

.chip {
  display: inline-flex; align-items: center; gap: 9px; margin-bottom: 20px;
  padding: 9px 16px 9px 11px; border: 1px solid var(--line); border-radius: 99px;
  background: rgba(255,255,255,.045);
  font-family: var(--mono); font-size: 10px; letter-spacing: .2em; text-transform: uppercase;
}
.chip__i { display: grid; place-items: center; width: 20px; height: 20px; color: var(--red-on-ink); }
.chip__i svg { width: 100%; height: 100%; }
.act--ask .h2 { margin-bottom: 16px; }
.act--ask .note { margin: 0; }

/* ---- the ways to reach us ---- */
.ways { list-style: none; margin: clamp(26px, 3vw, 38px) 0 0; padding: 0; display: grid; gap: 10px; }
.way {
  display: flex; align-items: center; gap: 16px;
  padding: 15px 16px; border: 1px solid var(--line); border-radius: 16px;
  background: linear-gradient(180deg, rgba(255,255,255,.058) 0%, rgba(255,255,255,.018) 100%);
  color: inherit; text-decoration: none;
  transition: transform .24s cubic-bezier(.2,.7,.3,1), border-color .24s ease, background .24s ease;
}
a.way:hover, a.way:focus-visible {
  transform: translateY(-3px); border-color: rgba(255,45,45,.5);
  background: linear-gradient(180deg, rgba(255,45,45,.10) 0%, rgba(255,255,255,.02) 100%);
}
.way__ico {
  flex: none; display: grid; place-items: center; width: 52px; height: 52px;
  border: 1px solid var(--line); border-radius: 14px; background: rgba(0,0,0,.35);
  color: var(--paper); transition: color .24s ease, border-color .24s ease;
}
.way__ico svg { width: 23px; height: 23px; }
a.way:hover .way__ico, a.way:focus-visible .way__ico { color: var(--red-on-ink); border-color: rgba(255,45,45,.4); }

.way__txt { flex: 1 1 auto; min-width: 0; display: grid; gap: 3px; }
.way__lab { display: flex; align-items: baseline; flex-wrap: wrap; gap: 9px;
  font-size: 15px; font-weight: 600; letter-spacing: -.01em; }
.way__tag { font-family: var(--mono); font-style: normal; font-size: 8.5px;
  letter-spacing: .18em; text-transform: uppercase; color: var(--red-on-ink); }
.way__val { font-size: 13.5px; line-height: 1.45; color: var(--muted); }

.way__go {
  flex: none; display: grid; place-items: center; width: 38px; height: 38px;
  border: 1px solid var(--line); border-radius: 50%; font-size: 15px; color: var(--muted);
  transition: transform .24s cubic-bezier(.2,.7,.3,1), background .24s ease, color .24s ease, border-color .24s ease;
}
a.way:hover .way__go, a.way:focus-visible .way__go {
  background: var(--red); border-color: var(--red); color: #FFFFFF; transform: translate(2px, -2px);
}
/* The office has nothing to open and the call row holds two numbers, so
   neither row is itself a link; the arrow stays as a placeholder that holds
   them on the same grid rather than something that looks pressable. */
.way__go--off { opacity: .22; }
/* Both numbers on the call row are dialable. They were one <a> around the
   whole row before, which made the second number decoration on a phone. */
.way__val a { color: inherit; text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,.25);
  transition: color .2s ease, border-color .2s ease; }
.way__val a:hover, .way__val a:focus-visible { color: var(--red-on-ink); border-bottom-color: var(--red-on-ink); }
.way__val i { font-style: normal; color: rgba(255,255,255,.34); }

/* ---- the platforms ---- */
.soc__label { margin: clamp(26px, 3vw, 36px) 0 12px; font-family: var(--mono);
  font-size: 9.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.social { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.soc {
  display: grid; place-items: center; width: 54px; height: 54px;
  border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.035);
  transition: transform .22s cubic-bezier(.2,.7,.3,1), border-color .22s ease, background .22s ease;
}
.soc img { width: 30px; height: 30px; display: block; }
.soc:hover, .soc:focus-visible { transform: translateY(-3px); border-color: rgba(255,45,45,.45); background: rgba(255,45,45,.09); }

/* ---- the message box ---- */
/* A flex column so the message box takes whatever height the ways-to-reach-us
   column leaves, and the two sides finish level. */
.askform {
  display: flex; flex-direction: column; gap: 10px; padding: clamp(14px, 1.5vw, 18px);
  border: 1px solid var(--line); border-radius: 22px;
  background: linear-gradient(180deg, rgba(255,255,255,.05) 0%, rgba(255,255,255,.015) 100%);
}
.field {
  display: grid; gap: 5px; padding: 13px 17px;
  border: 1px solid var(--line); border-radius: 14px; background: rgba(0,0,0,.34);
  transition: border-color .22s ease, background .22s ease;
}
.field:focus-within { border-color: rgba(255,45,45,.55); background: rgba(0,0,0,.5); }
/* A real label rather than a placeholder doing double duty: the placeholder
   disappears the moment someone types, and then the field has no name. Scoped
   to the direct child so it does not also catch the Yes/No pills, which are
   labels too. */
.field > label, .field__q { font-family: var(--mono); font-size: 9px; letter-spacing: .2em;
  text-transform: uppercase; color: var(--muted); }
.field input, .field textarea {
  width: 100%; border: 0; padding: 0; background: transparent; color: var(--paper);
  font-family: var(--sans); font-size: 15px; line-height: 1.5; resize: none;
}
.field input:focus, .field textarea:focus { outline: none; }
.field input::placeholder, .field textarea::placeholder { color: rgba(255,255,255,.28); }
/* Two answers, so a pair of pills rather than a select: both options are
   visible without opening anything, which is one tap instead of three. The
   radio itself is hidden but still focusable — the pill is its label. */
.field--choice { gap: 9px; }
.choice { display: flex; gap: 8px; }
.choice input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.choice label {
  flex: 1 1 0; padding: 11px 12px; border: 1px solid var(--line); border-radius: 10px;
  background: rgba(255,255,255,.03); text-align: center; cursor: pointer;
  font-size: 14px; line-height: 1.2; color: var(--muted);
  transition: background .18s ease, border-color .18s ease, color .18s ease;
}
.choice label:hover { border-color: rgba(255,45,45,.4); color: var(--paper); }
.choice input:checked + label {
  background: var(--red); border-color: var(--red); color: #FFFFFF; font-weight: 600;
}
.choice input:focus-visible + label { outline: 2px solid var(--red-on-ink); outline-offset: 2px; }

/* With no message box to grow, this absorbs the slack so the button still sits
   at the foot of the panel and the two columns finish level. */
.askform__gap { flex: 1 1 auto; min-height: 6px; }

.askform__go {
  margin-top: 2px; padding: 17px 24px; border: 0; border-radius: 14px;
  background: var(--paper); color: var(--red);
  font-family: var(--sans); font-size: 13px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; cursor: pointer;
  transition: transform .2s ease, background .2s ease;
}
.askform__go:hover, .askform__go:focus-visible { transform: translateY(-2px); background: #FFFFFF; }
.askform__fine { margin: 2px 2px 0; font-size: 11.5px; line-height: 1.5; color: var(--muted); }

@media (max-width: 560px) {
  .way { gap: 13px; padding: 13px; }
  .way__ico { width: 46px; height: 46px; border-radius: 13px; }
  .way__go { width: 34px; height: 34px; }
  .way__val { font-size: 12.5px; }
  /* All seven fit one row at this size; six-plus-one reads like an accident. */
  .social { gap: 8px; }
  .soc { width: 42px; height: 42px; border-radius: 12px; }
  .soc img { width: 23px; height: 23px; }
}

@media (prefers-reduced-motion: reduce) {
  .way, .way__go, .way__ico, .soc, .askform__go { transition: none; }
}

/* ---------- hero credential pills ---------- */
/* One pill carrying both figures was set nowrap and ran the full width of a
   390px phone, losing its rounded ends and touching both edges. Two pills wrap
   instead of stretching, and each keeps its shape at every width. */
.hero-pills { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.hero-pill { display: inline-flex; align-items: center; gap: 9px; padding: 9px 18px;
  background: rgba(255,255,255,.08); backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.22); border-radius: 99px; white-space: nowrap;
  font-family: var(--mono); font-size: 10px; letter-spacing: .22em; color: #F4D7DA;
  box-shadow: 0 8px 20px rgba(0,0,0,.2); }
.hero-pill__dot { width: 6px; height: 6px; border-radius: 50%; background: #E00000; }
@media (max-width: 380px) { .hero-pill { letter-spacing: .16em; padding: 8px 14px; } }

/* ---------- service area ---------- */
/* This was a two-column list of twenty-one town names, which is the one shape
   that hides the only interesting thing about them: where they are. The
   district outlines are the real OpenStreetMap boundaries and every pin is the
   town's real coordinate, so the distances on the page are the distances we
   actually drive. Two consequences: the projection is fixed (see the aspect
   ratio on .map, which has to match the SVG viewBox), and a pin cannot be
   nudged to make a label fit — only the label moves. */
.act--areas { padding-top: clamp(48px, 8vh, 96px); padding-bottom: clamp(32px, 5vh, 56px); }
.areas { display: grid; gap: clamp(28px, 4vw, 56px); grid-template-columns: 1fr;
  align-items: center; }
/* The map wants to be roughly square — the towns run about 190km across and
   175km down — so it takes the wider column and the argument sits beside it
   rather than above it. */
@media (min-width: 1180px) {
  .areas { grid-template-columns: minmax(0, 0.66fr) minmax(0, 1fr); }
}
.areas__say .note { margin: 0; }

/* The legend is the only place the counts are stated, so it carries them. */
.legend { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 12px; }
.legend li { display: flex; align-items: center; gap: 12px;
  font-family: var(--mono); font-size: 10px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--muted); }
.legend b { font-weight: 400; color: var(--paper); }
.legend i { flex: none; width: 11px; height: 11px; border-radius: 50%; }
.legend .is-home { background: var(--red-on-ink); box-shadow: 0 0 0 4px rgba(255,45,45,.18); }
.legend .is-patch { background: var(--paper); }
.legend .is-travel { border: 1px solid rgba(255,255,255,.5); }

/* ---- the map ---- */
/* The box holds the viewBox aspect exactly, so the pins and labels — which are
   HTML, positioned in per cent — land on the same spot as the SVG geometry
   underneath them. Change the viewBox and this ratio changes with it. */
/* Labels are sized off the map's own width, not the viewport's, so the gap
   between two names stays the same fraction of the map at every size. Sized
   against the viewport they collided in the band just above the breakpoint,
   where the map is at its narrowest but the viewport is not. */
.map { position: relative; width: 100%; aspect-ratio: 1000 / 839;
  container-type: inline-size; font-size: clamp(9px, 1.1vw, 12px); }
@supports (font-size: 1cqw) {
  .map { font-size: clamp(8.5px, 1.55cqw, 12.5px); }
}
.map__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: hidden; }

.map__grat path { fill: none; stroke: rgba(255,255,255,.055); stroke-width: 1; }
/* Dashed, because it is a state line and not a district one: it is the reason
   Hosur, Thally and Denkanikottai sit where they do. */
.map__state { fill: none; stroke: rgba(255,255,255,.16); stroke-width: 1.4;
  stroke-dasharray: 7 6; stroke-linecap: round; }
.map__near path { fill: rgba(255,255,255,.022); stroke: rgba(255,255,255,.19);
  stroke-width: 1.4; stroke-linejoin: round; }
/* Filled and outlined in red: the one shape on the page that is ours. */
.map__home { fill: rgba(255,255,255,.07); stroke: var(--red-on-ink); stroke-width: 2;
  stroke-linejoin: round; }
/* The rays are the sentence "this is the map we drive", drawn. Kept faint on
   purpose: they are the reason the far districts are on the page at all, not a
   thing to look at. */
.map__rays path { fill: none; stroke: rgba(255,45,45,.30); stroke-width: 1.1;
  stroke-dasharray: 2 7; stroke-linecap: round; }
.map__leaders path { fill: none; stroke: rgba(255,255,255,.34); stroke-width: 1.3; }
.map__scale path { fill: none; stroke: rgba(255,255,255,.32); stroke-width: 1.4; }
.map__scale text { fill: rgba(255,255,255,.55); font-family: var(--mono);
  font-size: 20px; letter-spacing: .16em; }

.map__pin { position: absolute; left: var(--x); top: var(--y);
  width: 7px; height: 7px; margin: -3.5px 0 0 -3.5px; border-radius: 50%; }
.map__pin--patch { background: var(--paper); }
.map__pin--travel { background: var(--ink); border: 1px solid rgba(255,255,255,.55); }
.map__pin--home { width: 11px; height: 11px; margin: -5.5px 0 0 -5.5px;
  background: var(--red-on-ink); box-shadow: 0 0 0 5px rgba(255,45,45,.16); }

/* Labels are HTML rather than SVG <text> so they keep a readable size while the
   map scales, and so they stay selectable. */
.map__name { position: absolute; left: var(--x); top: var(--y);
  transform: translate(6px, -50%); white-space: nowrap;
  font-size: 1em; font-weight: 500; line-height: 1; letter-spacing: -.005em; }
.map__name--e { transform: translate(calc(-100% - 12px), -50%); }
.map__name--c { transform: translate(-50%, -50%); }
.map__name--patch { color: var(--paper); }
.map__name--travel { color: rgba(255,255,255,.58); font-weight: 400; }
.map__name--home { color: var(--red-on-ink); font-weight: 600;
  transform: translate(14px, -50%); }
.map__name--home b { margin-left: .5em; font-family: var(--mono); font-size: .78em;
  font-weight: 400; letter-spacing: .18em; text-transform: uppercase;
  color: rgba(255,255,255,.5); }

/* The written lists are the map's caption. They are the only form the towns
   take for a screen reader — the map itself is a single role="img" — so above
   the breakpoint they are taken out of the layout without being taken out of
   the page. */
.areas__lists { margin: 0; padding: 0; list-style: none; display: grid; gap: 16px; }
@media (min-width: 761px) {
  .areas__lists { position: absolute; width: 1px; height: 1px; overflow: hidden;
    clip-path: inset(50%); white-space: nowrap; }
}
.areas__group { padding: 20px 22px; border: 1px solid var(--line); border-radius: 18px;
  background: rgba(255,255,255,.03); }
.areas__title { display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px;
  margin: 0 0 10px; font-size: 16px; font-weight: 600; letter-spacing: -.02em; }
.areas__tag { font-family: var(--mono); font-size: 9px; letter-spacing: .2em;
  text-transform: uppercase; color: var(--red-on-ink); }
/* One town per chip rather than a middot-separated run. The run was set as a
   paragraph, so on a phone it wrapped wherever the width ran out: names split
   across lines and the eye had to re-find the separator to tell where one town
   ended and the next began. A chip is its own shape — the list is scanned
   instead of read, and each name stays whole. */
.areas__towns { display: flex; flex-wrap: wrap; gap: 7px;
  margin: 0; padding: 0; list-style: none; }
.areas__towns li { padding: 6px 11px; border: 1px solid var(--line); border-radius: 99px;
  background: rgba(255,255,255,.04); font-size: 12.5px; line-height: 1.2;
  color: var(--paper); white-space: nowrap; }

.map__cap { display: none; }

/* Below this, twenty-one labels cannot be set at a legible size in the width
   available, so the map keeps six of them — one per part of the frame, each
   already sitting against its own pin so no leader is needed to say which dot
   it names — and the lists carry the other fifteen. Everything else also comes
   up in contrast: at a third of the size, the strokes that read as a map on a
   desktop read as a smudge on a phone. */
@media (max-width: 760px) {
  .map__name, .map__leaders, .map__scale { display: none; }
  .map__name--key { display: block; font-size: 10.5px; }
  /* The base pin carries a 6px glow at this size, so the 14px desktop offset
     put the name on top of its own dot. */
  .map__name--home { transform: translate(22px, -50%); }
  .map__name--home b { display: none; }

  .map__grat path { stroke: rgba(255,255,255,.075); }
  .map__state { stroke: rgba(255,255,255,.24); stroke-width: 2; }
  .map__near path { fill: rgba(255,255,255,.05); stroke: rgba(255,255,255,.32); stroke-width: 2.4; }
  .map__home { fill: rgba(255,255,255,.115); stroke-width: 3.4; }
  .map__rays path { stroke: rgba(255,45,45,.4); stroke-width: 2; }

  .map__pin { width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; }
  .map__pin--travel { border-width: 1.5px; }
  .map__pin--home { width: 14px; height: 14px; margin: -7px 0 0 -7px;
    box-shadow: 0 0 0 6px rgba(255,45,45,.2); }

  .map__cap { display: block; margin: 14px 0 0; font-size: 12.5px;
    line-height: 1.5; color: var(--muted); }
  .areas__lists { margin-top: 20px; }
}

/* ---------- faq ---------- */
/* <details> rather than a JS accordion: the answers are the part search and
   answer engines lift, and they must be in the DOM whether or not the script
   ran. */
.act--faq { padding-top: clamp(32px, 5vh, 56px); padding-bottom: clamp(48px, 8vh, 96px); }
/* The heading and the ask card take a column of their own, so the band stops
   running out of content halfway across. The pairing is the point: the section
   that answers questions now also carries the route for the one it did not
   answer, which used to be a whole section further down the page. */
.faq-grid { display: grid; grid-template-columns: minmax(0,.82fr) minmax(0,1.18fr);
  gap: clamp(28px, 5vw, 64px); align-items: start; }
/* The rail is shorter than the list beside it, so it rides down rather than
   leaving the corner empty on the way past. */
.faq-rail { position: sticky; top: clamp(24px, 6vh, 56px); }
.faq-rail .h2 { margin-bottom: 0; }
.faq-ask { margin-top: 28px; padding: 20px 22px; border: 1px solid var(--line);
  border-radius: 16px; background: rgba(255,255,255,.03); }
.faq-ask__t { margin: 0; font-size: 16px; font-weight: 600; letter-spacing: -.01em; }
.faq-ask__d { margin: 9px 0 0; font-size: 14px; line-height: 1.55; color: var(--muted); }
.faq-ask__cta { display: inline-flex; align-items: center; margin-top: 16px;
  padding: 12px 22px; border-radius: 99px; background: var(--paper); color: var(--red);
  font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  text-decoration: none; }
.faq-ask__cta:hover, .faq-ask__cta:focus-visible { background: #F3E9E9; }
/* The measure is the column now, not a character count. */
.faq { list-style: none; margin: 0; padding: 0;
  border-top: 1px solid var(--line); }
@media (max-width: 900px) {
  .faq-grid { grid-template-columns: minmax(0,1fr); gap: 30px; }
  .faq-rail { position: static; }
  .faq-ask { margin-top: 22px; }
}
.faq > li { border-bottom: 1px solid var(--line); }
.faq__item { padding: 4px 0; }
.faq__q { display: flex; align-items: flex-start; gap: 14px; padding: 20px 2px;
  cursor: pointer; list-style: none; font-size: clamp(16px, 2vw, 19px);
  font-weight: 600; letter-spacing: -.02em; line-height: 1.4; }
.faq__q::-webkit-details-marker { display: none; }
/* The marker is drawn here rather than left to the browser, which renders a
   triangle that sits on the text baseline and moves as the question wraps. */
.faq__q::after { content: '+'; margin-left: auto; flex: none; width: 26px; height: 26px;
  display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%;
  font-family: var(--mono); font-size: 15px; font-weight: 400; line-height: 1;
  color: var(--red-on-ink); transition: transform .18s ease, border-color .18s ease; }
.faq__item[open] .faq__q::after { content: '\2212'; border-color: var(--red-on-ink); }
.faq__q:hover, .faq__q:focus-visible { color: #FFFFFF; }
.faq__q:hover::after { border-color: var(--red-on-ink); }
.faq__a { margin: 0 0 22px; padding-right: 34px;
  font-size: 15px; line-height: 1.7; color: var(--muted); }
@media (prefers-reduced-motion: reduce) { .faq__q::after { transition: none; } }

/* ---------- hosted client videos ---------- */
/* WITHOUT THIS RULE THE PAGE BREAKS. A <video> with no width renders at its
   intrinsic size — 720x1280 each — so five of them overflow the viewport and
   the page grows a horizontal scrollbar. That has shipped once already, when
   this block was lost in an edit. If you are pruning CSS, keep this. The test
   "every class the videos section emits is actually styled" now fails if it
   goes missing again. */
.vcard__video {
  display: block; width: 100%; aspect-ratio: 9 / 16; object-fit: cover;
  border-radius: 16px; border: 1px solid var(--line);
  background: linear-gradient(165deg, #171717, #0C0C0C);
}
@media (hover: hover) {
  .vcard__video { transition: transform .3s cubic-bezier(.2,.7,.2,1), border-color .3s ease; }
  .vcard:hover .vcard__video { border-color: var(--red); transform: translateY(-4px); }
  .vcard:hover .vcard__meta { color: var(--paper); }
}
/* Focus gets the same border the hover does, on top of the browser's own ring,
   so a keyboard user sees the affordance a mouse user sees. */
.vcard__video:focus-visible { border-color: var(--red); }

/* ---- one at a time, and full screen on a phone ---- */
/* The tiles are two-up on a phone and five-up on a desktop, so a 9:16 video
   lands about 165px wide either way — too small to watch a person talk. Tapping
   one promotes that same <video> to the viewport with position:fixed, rather
   than moving it into an overlay: re-parenting a media element pauses it and
   drops the buffer, so a move would stutter on every open. */
.vlight-back { position: fixed; inset: 0; z-index: 190; background: rgba(3,1,2,.95);
  opacity: 0; visibility: hidden; transition: opacity .22s ease, visibility .22s ease; }
.vlight-back.is-on { opacity: 1; visibility: visible; }

.vlight-close { position: fixed; z-index: 210; display: none; place-items: center;
  top: calc(12px + env(safe-area-inset-top, 0px)); right: calc(12px + env(safe-area-inset-right, 0px));
  width: 46px; height: 46px; padding: 0; cursor: pointer;
  border: 1px solid rgba(255,255,255,.3); border-radius: 50%;
  background: rgba(0,0,0,.6); color: #FFFFFF; font-size: 19px; line-height: 1; }
.vlight-close.is-on { display: grid; }
.vlight-close:hover, .vlight-close:focus-visible { background: var(--red); border-color: var(--red); }

.vcard .vcard__video.is-lit {
  position: fixed; inset: 0; z-index: 200; transform: none;
  width: 100vw; height: 100dvh; max-height: 100dvh;
  aspect-ratio: auto; object-fit: contain;
  border: 0; border-radius: 0; background: #000000;
}
/* The page behind must not scroll while a video owns the screen. */
body.vlight-open { overflow: hidden; }

/* p.vcard__meta sits under a hosted tile; the linked variant is a span inside
   the anchor and already picks up the shared rule above. */
p.vcard__meta { margin: 12px 2px 0; }
@media (prefers-reduced-motion: reduce) {
  .vcard__video { transition: none; }
  .vcard:hover .vcard__video { transform: none; }
}
