/* ==========================================================================
   Sole Digital Media — design system
   --------------------------------------------------------------------------
   Palette is derived strictly from the approved brand marks:
     #FF971E orange  ·  #F03232 red  ·  #02A3AB teal
   Ink tones are desaturated extensions of the brand teal (not neutral black),
   so the dark surfaces stay inside the brand family. Paper is a cool,
   teal-tinted off-white for the same reason.
   ========================================================================== */

/* --------------------------------------------------------------- tokens */
:root {
  /* brand — do not alter */
  --orange: #ff971e;
  --red: #f03232;
  --teal: #02a3ab;

  /* derived brand tints & shades */
  --orange-soft: #ffb75c;
  --orange-deep: #e07c00;
  /* text-safe shades: the brand hues at full saturation fail 4.5:1 as small
     text on paper, so these darker steps are used for type only. Fills,
     buttons and graphics keep the exact brand values. */
  --orange-text: #a85a00;
  --red-text: #dd1010;
  --red-btn: #dd1010;
  --red-soft: #f56464;
  --teal-soft: #35c3ca;
  --teal-deep: #017a80;

  /* ink family (teal-based, never pure black) */
  --ink: #07181a;
  --ink-2: #0d2528;
  --ink-3: #143338;
  --ink-4: #1e474d;

  /* paper family (cool, teal-tinted) */
  --paper: #f1f5f5;
  --paper-2: #ffffff;
  --paper-3: #e3ebeb;

  /* text */
  --text-on-paper: #0b2124;
  --text-muted-paper: #56696b;
  --text-on-ink: #f4f8f8;
  --text-muted-ink: #97b0b3;

  --line-paper: rgba(11, 33, 36, 0.12);
  --line-ink: rgba(255, 255, 255, 0.14);

  /* type */
  --font-display: "Bricolage Grotesque", "Figtree", system-ui, sans-serif;
  --font-body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", monospace;

  /* fluid type scale — 1.28 ratio, clamped */
  --t-xs: 0.75rem;
  --t-sm: 0.875rem;
  --t-base: clamp(1rem, 0.97rem + 0.16vw, 1.075rem);
  --t-lg: clamp(1.15rem, 1.09rem + 0.3vw, 1.35rem);
  --t-xl: clamp(1.4rem, 1.28rem + 0.6vw, 1.75rem);
  --t-2xl: clamp(1.75rem, 1.5rem + 1.2vw, 2.5rem);
  --t-3xl: clamp(2.15rem, 1.7rem + 2.2vw, 3.6rem);
  --t-4xl: clamp(2.6rem, 1.85rem + 3.7vw, 5.4rem);
  --t-5xl: clamp(3rem, 1.9rem + 5.4vw, 7.2rem);

  /* space & rhythm */
  --gutter: clamp(1.25rem, 0.6rem + 2.6vw, 3rem);
  --shell: 1360px;
  --shell-narrow: 780px;
  --section-y: clamp(4.5rem, 3rem + 6vw, 8.5rem);
  --radius-s: 8px;
  --radius: 16px;
  --radius-l: 28px;
  --radius-pill: 999px;

  --shadow-soft: 0 2px 6px rgba(7, 24, 26, 0.05), 0 14px 40px rgba(7, 24, 26, 0.07);
  --shadow-lift: 0 6px 14px rgba(7, 24, 26, 0.08), 0 26px 70px rgba(7, 24, 26, 0.14);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);

  --header-h: 76px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--text-on-paper);
  font-family: var(--font-body);
  font-size: var(--t-base);
  line-height: 1.65;
  font-synthesis-weight: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  /* long unbroken strings (URLs, addresses) must not push the layout wide */
  overflow-wrap: break-word;
}

img, svg, video { display: block; max-width: 100%; }
img, video { height: auto; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.03;
  letter-spacing: -0.028em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}
h1 { font-size: var(--t-4xl); }
h2 { font-size: var(--t-3xl); }
h3 { font-size: var(--t-xl); letter-spacing: -0.02em; line-height: 1.15; }
h4 { font-size: var(--t-lg); letter-spacing: -0.015em; line-height: 1.25; }

p { margin: 0 0 1.1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

ul, ol { margin: 0 0 1.1em; padding-left: 1.15em; }
li { margin-bottom: 0.4em; }

strong { font-weight: 700; }

::selection { background: var(--orange); color: var(--ink); }

:root { --focus: var(--ink); }
.on-ink, .on-ink-2, .hero, .pagehead, .footer, .cta-band, .err, .mobilemenu, .lightbox {
  --focus: var(--orange);
}
body[data-surface="ink"] .header, body[data-menu="true"] .header { --focus: var(--orange); }

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

.skip-link {
  position: absolute;
  left: 12px; top: -100px;
  z-index: 999;
  background: var(--ink);
  color: var(--text-on-ink);
  padding: 12px 20px;
  border-radius: var(--radius-s);
  font-family: var(--font-mono);
  font-size: var(--t-sm);
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 12px; }

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

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

.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: clamp(3rem, 2rem + 3.5vw, 5rem); }
.section--flush-top { padding-top: 0; }
.section--flush-bottom { padding-bottom: 0; }

.on-ink {
  background: var(--ink);
  color: var(--text-on-ink);
}
.on-ink-2 { background: var(--ink-2); color: var(--text-on-ink); }
.on-paper-2 { background: var(--paper-2); }

.grid { display: grid; gap: clamp(1.25rem, 0.8rem + 1.6vw, 2rem); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid--split { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center; }
.grid--aside { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.3fr); gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: start; }

@media (max-width: 1024px) {
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--split, .grid--aside { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: minmax(0, 1fr); }
}

/* --------------------------------------------------- editorial elements */
.eyebrow {
  font-family: var(--font-mono);
  font-size: var(--t-xs);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal-deep);
  display: inline-flex;
  align-items: center;
  gap: 0.65em;
  margin: 0 0 1.35rem;
}
.eyebrow::before {
  content: "";
  width: 9px; height: 9px;
  border-radius: 50%;
  background: currentColor;
  flex: none;
}
.on-ink .eyebrow, .on-ink-2 .eyebrow { color: var(--teal-soft); }
.eyebrow--orange { color: var(--orange-text); }
.on-ink .eyebrow--orange { color: var(--orange); }
.eyebrow--red { color: var(--red-text); }
.on-ink .eyebrow--red, .on-ink-2 .eyebrow--red { color: var(--red); }

.lede {
  font-size: var(--t-lg);
  line-height: 1.55;
  color: var(--text-muted-paper);
  max-width: 62ch;
}
.on-ink .lede, .on-ink-2 .lede { color: var(--text-muted-ink); }

.section-head { max-width: 68ch; margin-bottom: clamp(2.25rem, 1.4rem + 3vw, 4rem); }
.section-head--wide { max-width: none; }

.rule {
  height: 1px;
  border: 0;
  background: var(--line-paper);
  margin: 0;
}
.on-ink .rule, .on-ink-2 .rule { background: var(--line-ink); }

/* the tri-dot brand motif, used as a quiet divider */
.dots { display: inline-flex; gap: 7px; align-items: center; }
.dots i { width: 9px; height: 9px; border-radius: 50%; display: block; }
.dots i:nth-child(1) { background: var(--orange); }
.dots i:nth-child(2) { background: var(--teal); }
.dots i:nth-child(3) { background: var(--red); }

/* -------------------------------------------------------------- buttons */
.btn {
  --btn-bg: var(--ink);
  --btn-fg: var(--paper-2);
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
  padding: 0.95em 1.6em;
  border: 0;
  border-radius: var(--radius-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-body);
  font-size: var(--t-sm);
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), color 0.3s var(--ease);
  will-change: transform;
}
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--orange);
  transform: translateY(101%);
  transition: transform 0.5s var(--ease);
}
.btn:hover, .btn:focus-visible { box-shadow: var(--shadow-lift); }
.btn:hover::after, .btn:focus-visible::after { transform: translateY(0); }
.btn:hover { color: var(--ink); }
.btn:active { transform: scale(0.98); }

.btn .arw { transition: transform 0.4s var(--ease); flex: none; }
.btn:hover .arw { transform: translateX(4px); }

.btn--orange { --btn-bg: var(--orange); --btn-fg: var(--ink); }
.btn--orange::after { background: var(--ink); }
.btn--orange:hover { color: var(--paper-2); }

.btn--red { --btn-bg: var(--red-btn); --btn-fg: #fff; }
.btn--red::after { background: var(--ink); }
.btn--red:hover { color: #fff; }

.btn--teal { --btn-bg: var(--teal-deep); --btn-fg: #fff; }
.btn--teal::after { background: var(--ink); }
.btn--teal:hover { color: #fff; }

.btn--light { --btn-bg: var(--paper-2); --btn-fg: var(--ink); }
.btn--light::after { background: var(--orange); }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: currentColor;
  box-shadow: inset 0 0 0 1.5px var(--line-paper);
}
.on-ink .btn--ghost, .on-ink-2 .btn--ghost { box-shadow: inset 0 0 0 1.5px var(--line-ink); }
.btn--ghost:hover { color: var(--ink); }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.85rem; align-items: center; }

/* text link with an animated underline */
.tlink {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-weight: 700;
  font-size: var(--t-sm);
  padding-bottom: 3px;
  background-image: linear-gradient(var(--orange), var(--orange));
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0% 2px;
  transition: background-size 0.45s var(--ease);
}
.tlink:hover, .tlink:focus-visible { background-size: 100% 2px; }
.tlink .arw { transition: transform 0.4s var(--ease); }
.tlink:hover .arw { transform: translate(3px, -3px); }

/* ------------------------------------------------------- signal rail    */
/* Signature element: a continuous stroke down the page whose nodes light  */
/* up as each section arrives — the logo's own geometry, used as a         */
/* wayfinding device rather than decoration.                              */
.rail {
  position: fixed;
  left: max(18px, calc((100vw - var(--shell)) / 2 - 34px));
  top: 0;
  bottom: 0;
  width: 26px;
  z-index: 40;
  pointer-events: none;
  display: none;
}
@media (min-width: 1440px) { .rail { display: block; } }

.rail__track {
  position: absolute;
  left: 12px;
  top: calc(var(--header-h) + 40px);
  bottom: 40px;
  width: 2px;
  background: var(--line-paper);
  border-radius: 2px;
  overflow: hidden;
}
.rail__fill {
  position: absolute;
  inset: 0 0 auto 0;
  height: 0;
  background: linear-gradient(180deg, var(--orange), var(--red) 46%, var(--teal));
  transform-origin: top;
}
.rail__nodes {
  position: absolute;
  left: 0; right: 0;
  top: calc(var(--header-h) + 40px);
  bottom: 40px;
  pointer-events: auto;
}
.rail__node {
  position: absolute;
  left: 6px;
  width: 14px; height: 14px;
  margin-top: -7px;
  border-radius: 50%;
  border: 2px solid var(--line-paper);
  background: var(--paper);
  transition: transform 0.5s var(--ease), background 0.4s var(--ease), border-color 0.4s var(--ease);
  cursor: pointer;
}
.rail__node[data-on="true"] {
  background: var(--orange);
  border-color: var(--orange);
  transform: scale(1.25);
}
/* Labels sit to the LEFT of the dot, right-aligned into the gutter, so they run
   away from the content rather than across it -- and only appear once the
   gutter is genuinely wide enough to hold them. */
.rail__node span {
  position: absolute;
  right: 24px; top: 50%;
  transform: translate(6px, -50%);
  text-align: right;
  white-space: nowrap;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--text-muted-paper);
  opacity: 0;
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
  pointer-events: none;
}
.rail__node:hover span, .rail__node[data-on="true"] span {
  opacity: 1;
  transform: translate(0, -50%);
}
@media (max-width: 1699px) { .rail__node span { display: none; } }
body[data-surface="ink"] .rail__track { background: var(--line-ink); }
body[data-surface="ink"] .rail__node { background: var(--ink); border-color: var(--line-ink); }
body[data-surface="ink"] .rail__node[data-on="true"] { background: var(--orange); border-color: var(--orange); }
body[data-surface="ink"] .rail__node span { color: var(--text-muted-ink); }

/* ------------------------------------------------------------- cursor   */
.cursor, .cursor-dot { display: none; }
@media (hover: hover) and (pointer: fine) {
  .cursor {
    position: fixed;
    top: 0; left: 0;
    width: 38px; height: 38px;
    border-radius: 50%;
    border: 1.5px solid var(--teal);
    display: block;
    pointer-events: none;
    z-index: 9998;
    transform: translate3d(-100px, -100px, 0);
    transition: width 0.35s var(--ease), height 0.35s var(--ease),
                background 0.35s var(--ease), border-color 0.35s var(--ease),
                opacity 0.3s var(--ease);
    mix-blend-mode: normal;
  }
  .cursor-dot {
    position: fixed;
    top: 0; left: 0;
    width: 5px; height: 5px;
    border-radius: 50%;
    background: var(--orange);
    display: block;
    pointer-events: none;
    z-index: 9999;
    transform: translate3d(-100px, -100px, 0);
  }
  .cursor[data-mode="link"] {
    width: 62px; height: 62px;
    background: rgba(2, 163, 171, 0.12);
    border-color: var(--teal);
  }
  .cursor[data-mode="media"] {
    width: 92px; height: 92px;
    background: var(--orange);
    border-color: var(--orange);
  }
  .cursor__label {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ink);
    opacity: 0;
    transition: opacity 0.25s var(--ease);
  }
  .cursor[data-mode="media"] .cursor__label { opacity: 1; }
  html.has-cursor, html.has-cursor * { cursor: none !important; }
}

/* ------------------------------------------------------------- header   */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background 0.45s var(--ease), box-shadow 0.45s var(--ease),
              transform 0.45s var(--ease), height 0.35s var(--ease);
}
.header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(241, 245, 245, 0.86);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line-paper);
  opacity: 0;
  transition: opacity 0.45s var(--ease);
}
.header[data-stuck="true"]::before { opacity: 1; }
.header[data-hidden="true"] { transform: translateY(-102%); }

body[data-surface="ink"] .header::before {
  background: rgba(7, 24, 26, 0.82);
  border-bottom-color: var(--line-ink);
}

.header__inner {
  position: relative;
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex;
  align-items: center;
  gap: clamp(1rem, 0.4rem + 2vw, 2.4rem);
}

.brand { display: flex; align-items: center; gap: 11px; flex: none; }
.brand__mark { height: 30px; width: auto; }
.brand__word { height: 26px; width: auto; }
@media (max-width: 420px) { .brand__word { display: none; } }

.nav { display: flex; align-items: center; gap: clamp(0.5rem, 0.1rem + 1.2vw, 1.4rem); margin-left: auto; }
@media (max-width: 1080px) { .nav { display: none; } }

.nav__link {
  position: relative;
  font-size: var(--t-sm);
  font-weight: 600;
  padding: 0.5em 0.2em;
  color: inherit;
  white-space: nowrap;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0.1em;
  width: 100%; height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease);
}
.nav__link:hover::after, .nav__link:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.nav__link[aria-current="page"] { color: var(--teal-deep); }
body[data-surface="ink"] .nav__link[aria-current="page"] { color: var(--teal-soft); }
.nav__link[aria-current="page"]::after { transform: scaleX(1); background: var(--teal); }

.header__cta { display: flex; align-items: center; gap: 0.6rem; margin-left: auto; }
@media (min-width: 1081px) { .header__cta { margin-left: 0; } }
.header__cta .btn { padding: 0.7em 1.15em; font-size: var(--t-xs); }
@media (max-width: 780px) { .header__cta .btn--project { display: none; } }
@media (max-width: 520px) { .header__cta .btn--creator span.long { display: none; } }

.burger {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--line-paper);
  border-radius: 50%;
  background: transparent;
  color: inherit;
  cursor: pointer;
  position: relative;
  flex: none;
}
body[data-surface="ink"] .burger { border-color: var(--line-ink); }
@media (max-width: 1080px) { .burger { display: block; } }
.burger i {
  position: absolute;
  left: 13px;
  width: 18px; height: 1.8px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.4s var(--ease), opacity 0.25s var(--ease);
}
.burger i:nth-child(1) { top: 17px; }
.burger i:nth-child(2) { top: 22.5px; }
.burger i:nth-child(3) { top: 28px; }
.burger[aria-expanded="true"] i:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.burger[aria-expanded="true"] i:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] i:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

/* ---------------------------------------------------------- mobile menu */
.mobilemenu {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--ink);
  color: var(--text-on-ink);
  padding: calc(var(--header-h) + 2rem) var(--gutter) 2rem;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.6s var(--ease-io);
  visibility: hidden;
}
.mobilemenu[data-open="true"] { clip-path: inset(0 0 0 0); visibility: visible; }
.mobilemenu__list { list-style: none; margin: 0 0 2rem; padding: 0; }
.mobilemenu__list li { margin: 0; border-bottom: 1px solid var(--line-ink); }
.mobilemenu__list a {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.7em 0;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 1.2rem + 3vw, 2.9rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease), color 0.3s;
}
.mobilemenu[data-open="true"] .mobilemenu__list a { opacity: 1; transform: none; }
.mobilemenu__list a:hover { color: var(--orange); }
.mobilemenu__list a em {
  font-family: var(--font-mono);
  font-style: normal;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  color: var(--text-muted-ink);
}
.mobilemenu__foot { margin-top: auto; padding-top: 2rem; display: grid; gap: 1rem; }
.mobilemenu__foot .btn { justify-content: center; }

/* -------------------------------------------------------------- footer  */
.footer { background: var(--ink); color: var(--text-on-ink); padding-top: clamp(3.5rem, 2rem + 5vw, 6rem); }
.footer__top { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: clamp(2rem, 1rem + 3vw, 3.5rem); }
@media (max-width: 900px) { .footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .footer__top { grid-template-columns: minmax(0, 1fr); } }

.footer__brandcol { max-width: 40ch; }
.footer__logo { display: flex; align-items: center; gap: 12px; margin-bottom: 1.4rem; }
.footer__logo img.m { height: 38px; width: auto; }
.footer__logo img.w { height: 32px; width: auto; }
.footer__desc { color: var(--text-muted-ink); font-size: var(--t-sm); }

.footer .foot-h {
  font-family: var(--font-mono);
  font-size: var(--t-xs);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal-soft);
  margin: 0 0 1.2rem;
}
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: 0.55em; }
.footer li a {
  font-size: var(--t-sm);
  color: var(--text-muted-ink);
  transition: color 0.3s var(--ease), padding-left 0.3s var(--ease);
}
.footer li a:hover { color: var(--orange); padding-left: 5px; }

/* Presence strip. No street addresses are printed here by design -- the block
   states where the agency is and how to reach it, and links to the contact page
   for anything more specific. */
.footer__presence {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: clamp(1.5rem, 1rem + 2vw, 3rem);
  margin-top: clamp(2.5rem, 1.5rem + 3vw, 4rem);
  padding-top: clamp(1.8rem, 1rem + 2vw, 2.6rem);
  border-top: 1px solid var(--line-ink);
}
.footer__reach {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.55em;
  margin: 0;
  font-family: var(--font-mono);
  font-size: var(--t-xs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-on-ink);
}
.footer__reach span[aria-hidden] { color: var(--orange); opacity: 0.75; }
.footer__contacts { display: flex; flex-wrap: wrap; gap: 1.2rem 2.75rem; }
.office__label { font-family: var(--font-mono); font-size: var(--t-xs); letter-spacing: 0.14em; text-transform: uppercase; color: var(--orange); margin-bottom: 0.45rem; }
.office__lines { margin: 0; font-size: var(--t-sm); color: var(--text-muted-ink); line-height: 1.8; }
.office__lines a { color: inherit; transition: color 0.3s var(--ease); }
.office__lines a:hover { color: var(--orange); }
.footer__mapline {
  display: inline-flex; align-items: center; gap: 0.5em;
  font-family: var(--font-mono); font-size: var(--t-xs);
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--teal-soft);
  transition: color 0.3s var(--ease);
}
.footer__mapline:hover { color: var(--orange); }
.footer__mapline .arw { transition: transform 0.3s var(--ease); }
.footer__mapline:hover .arw { transform: translateX(4px); }
@media (max-width: 900px) {
  .footer__presence { flex-direction: column; align-items: flex-start; }
}

.footer__social { display: flex; gap: 0.6rem; margin-top: 1.6rem; }
.footer__social a {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border: 1px solid var(--line-ink);
  border-radius: 50%;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.footer__social a:hover { background: var(--orange); color: var(--ink); border-color: var(--orange); transform: translateY(-3px); }
.footer__social svg { width: 17px; height: 17px; }

.footer__bar {
  margin-top: clamp(2.5rem, 1.5rem + 3vw, 4rem);
  border-top: 1px solid var(--line-ink);
  padding-block: 1.5rem 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.6rem;
  align-items: center;
  justify-content: space-between;
  font-size: var(--t-xs);
  color: var(--text-muted-ink);
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
}
.footer__bar nav { display: flex; flex-wrap: wrap; gap: 1.2rem; }
.footer__bar a:hover { color: var(--orange); }

/* ---------------------------------------------------------------- hero  */
.hero {
  position: relative;
  min-height: min(94svh, 900px);
  display: flex;
  align-items: flex-end;
  padding-top: calc(var(--header-h) + clamp(3rem, 2rem + 5vw, 6rem));
  padding-bottom: clamp(2.5rem, 1.5rem + 4vw, 5rem);
  background: var(--ink);
  color: var(--text-on-ink);
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg svg { width: 100%; height: 100%; }
.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(70% 60% at 78% 22%, rgba(255, 151, 30, 0.16), transparent 65%),
    radial-gradient(60% 55% at 12% 82%, rgba(2, 163, 171, 0.18), transparent 62%);
}
.hero__inner { position: relative; z-index: 2; width: 100%; }

.hero__grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.85fr); gap: clamp(2rem, 1rem + 4vw, 4.5rem); align-items: end; }
@media (max-width: 980px) { .hero__grid { grid-template-columns: minmax(0, 1fr); } }

.hero h1 {
  font-size: var(--t-5xl);
  font-weight: 800;
  letter-spacing: -0.042em;
  line-height: 0.92;
  margin-bottom: 0.35em;
  max-width: 15ch;
}
.hero h1 .accent-o { color: var(--orange); }
.hero h1 .accent-t { color: var(--teal-soft); }

/* line-by-line reveal */
.reveal-line { display: block; overflow: hidden; }
.reveal-line > span { display: block; transform: translateY(105%); transition: transform 0.95s var(--ease); }
.is-ready .reveal-line > span { transform: translateY(0); }
.reveal-line:nth-child(2) > span { transition-delay: 0.09s; }
.reveal-line:nth-child(3) > span { transition-delay: 0.18s; }

.hero__lede { font-size: var(--t-lg); color: var(--text-muted-ink); max-width: 48ch; margin-bottom: 2rem; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 1.4rem 2.6rem; margin-top: clamp(2.5rem, 1.5rem + 3vw, 4rem); padding-top: 1.8rem; border-top: 1px solid var(--line-ink); }
.hero__meta div { min-width: 130px; }
.hero__meta dt { font-family: var(--font-mono); font-size: var(--t-xs); letter-spacing: 0.14em; text-transform: uppercase; color: var(--teal-soft); margin-bottom: 0.35rem; }
.hero__meta dd { margin: 0; font-size: var(--t-sm); font-weight: 600; }

.hero__fade { opacity: 0; transform: translateY(22px); transition: opacity 0.9s var(--ease) 0.35s, transform 0.9s var(--ease) 0.35s; }
.is-ready .hero__fade { opacity: 1; transform: none; }

/* showreel */
.reel {
  position: relative;
  border-radius: var(--radius-l);
  overflow: hidden;
  background: var(--ink-2);
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line-ink);
  cursor: pointer;
  width: 100%;
  padding: 0;
  color: inherit;
  text-align: left;
  display: block;
}
.reel img, .reel video { width: 100%; height: 100%; object-fit: cover; }
.reel__scrim { pointer-events: none; position: absolute; inset: 0; background: linear-gradient(200deg, rgba(7, 24, 26, 0.06), rgba(7, 24, 26, 0.34)); }
.reel__body { position: absolute; inset: auto 0 0 0; padding: clamp(1.2rem, 0.8rem + 1.5vw, 2rem); display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; }
.reel__body p { margin: 0; font-family: var(--font-mono); font-size: var(--t-xs); letter-spacing: 0.13em; text-transform: uppercase; color: var(--text-on-ink); }
.reel__play {
  width: 58px; height: 58px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--ink);
  display: grid; place-items: center;
  flex: none;
  transition: transform 0.45s var(--ease);
}
.reel:hover .reel__play { transform: scale(1.12); }
.reel__ring { pointer-events: none; position: absolute; inset: 0; border-radius: var(--radius-l); box-shadow: inset 0 0 0 0 var(--orange); transition: box-shadow 0.45s var(--ease); }
.reel:hover .reel__ring { box-shadow: inset 0 0 0 2px var(--orange); }

/* --- autoplaying hero showreel ------------------------------------------ */
.reel--live { cursor: default; margin: 0; background: var(--ink-2); }
.reel__poster {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: opacity 0.7s var(--ease);
}
[data-state="playing"] .reel__poster { opacity: 0; }

.reel__frame { position: absolute; inset: 0; overflow: hidden; }
/* The card matches the film's aspect ratio, so the player fills it exactly --
   the whole frame is visible, nothing cropped and nothing letterboxed. */
.reel__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  pointer-events: none;      /* the card's own controls drive playback */
  opacity: 0;
  transition: opacity 0.7s var(--ease);
}
[data-state="playing"] .reel__frame iframe { opacity: 1; }
/* stand-alone corner control -- opens the full player with sound */
.reel--live .reel__play {
  position: absolute;
  right: clamp(0.85rem, 0.5rem + 0.8vw, 1.25rem);
  bottom: clamp(0.85rem, 0.5rem + 0.8vw, 1.25rem);
  z-index: 3;
}
.reel__play {
  border: 0;
  cursor: pointer;
  padding: 0;
  transition: transform 0.45s var(--ease), background 0.3s var(--ease);
}
.reel__play:hover { transform: scale(1.12); }

/* portrait variant for vertical films (YouTube Shorts) */
.reel--vertical { aspect-ratio: 9 / 16; width: 100%; }
/* with no poster, the frame shows a brand-tinted rest state until the player
   paints rather than a flat dark rectangle */
.reel--live::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(70% 60% at 30% 25%, rgba(255,151,30,0.16), transparent 70%),
              radial-gradient(60% 60% at 75% 80%, rgba(2,163,171,0.16), transparent 70%);
  opacity: 1;
  transition: opacity 0.7s var(--ease);
}
[data-state="playing"] .reel--live::before, .reel--live[data-state="playing"]::before { opacity: 0; }

/* small "LIVE"-style pulse next to the caption, brand red */

/* WCAG 2.2.2 -- moving content needs a pause control */
.reel__toggle {
  position: absolute;
  top: clamp(0.85rem, 0.5rem + 0.8vw, 1.25rem);
  right: clamp(0.85rem, 0.5rem + 0.8vw, 1.25rem);
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(244, 248, 248, 0.28);
  background: rgba(7, 24, 26, 0.55);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
  color: var(--text-on-ink);
  cursor: pointer;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.reel__toggle:hover { background: var(--orange); border-color: var(--orange); color: var(--ink); transform: scale(1.06); }
.reel__toggle-i { display: none; line-height: 0; }
[data-state="playing"] .reel__toggle-i--pause { display: block; }
[data-state="paused"]  .reel__toggle-i--play  { display: block; }
[data-state="idle"]    .reel__toggle-i--play  { display: block; }
/* no media file present yet: the poster carries the frame, controls step aside */
[data-state="missing"] .reel__toggle { display: none; }

/* --- creator network split page head ------------------------------------ */
.pagehead--split .pagehead__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(2.5rem, 1rem + 5vw, 5.5rem);
}
.pagehead--split h1 { max-width: 16ch; }
.pagehead__visual { margin: 0; position: relative; }
.cn-frame { position: relative; border-radius: var(--radius-l); }
.cn-frame--video { width: min(100%, 340px); margin-inline: auto; }
.cn-frame--video .reel { position: relative; z-index: 2; border-color: rgba(244, 248, 248, 0.16); box-shadow: 0 30px 70px -30px rgba(0, 0, 0, 0.75); }
.cn-frame picture, .cn-frame img {
  display: block;
  width: 100%; height: auto;
  border-radius: var(--radius-l);
}
.cn-frame img {
  position: relative; z-index: 2;
  border: 1px solid rgba(244, 248, 248, 0.14);
  box-shadow: 0 30px 70px -30px rgba(0, 0, 0, 0.75);
}
/* brand glow behind the frame -- orange to red, the creator-side accent pair */
.cn-frame__glow {
  position: absolute; inset: -14% -12% -10%;
  z-index: 1;
  border-radius: 50%;
  background: radial-gradient(45% 45% at 32% 28%, rgba(255, 151, 30, 0.42), transparent 70%),
              radial-gradient(45% 50% at 72% 72%, rgba(240, 50, 50, 0.34), transparent 70%);
  filter: blur(46px);
  pointer-events: none;
}
/* offset brand rule, echoing the signal-path geometry */
.cn-frame::after {
  content: "";
  position: absolute;
  z-index: 0;
  left: -14px; top: 22px; bottom: 22px;
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--orange), var(--red) 55%, transparent);
  opacity: 0.85;
}

@media (max-width: 560px) {
  .cn-frame--video { width: min(100%, 268px); }
}
@media (max-width: 900px) {
  .pagehead--split .pagehead__inner { grid-template-columns: minmax(0, 1fr); gap: 2.75rem; }
  .pagehead--split h1 { max-width: 20ch; }
  .pagehead__visual { max-width: 420px; }
  .cn-frame::after { left: -10px; }
}

/* home page creator band visual */
.cn-shot { margin: 0; position: relative; }
.cn-shot picture, .cn-shot img { display: block; width: 100%; height: auto; border-radius: var(--radius-l); }
.cn-shot img { border: 1px solid var(--line-ink); box-shadow: 0 24px 56px -28px rgba(0, 0, 0, 0.7); }

/* video lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(7, 24, 26, 0.94);
  backdrop-filter: blur(8px);
  display: grid;
  place-items: center;
  padding: var(--gutter);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease), visibility 0.4s;
}
.lightbox[data-open="true"] { opacity: 1; visibility: visible; }
.lightbox__frame { width: min(1100px, 100%); aspect-ratio: 16/9; background: #000; border-radius: var(--radius); overflow: hidden; position: relative; }
.lightbox__frame[data-ratio="portrait"] {
  width: auto;
  height: min(84vh, 880px);
  aspect-ratio: 9 / 16;
}
.lightbox__yt { position: absolute; inset: 0; }
.lightbox__yt iframe { width: 100%; height: 100%; border: 0; display: block; }
.lightbox__frame video, .lightbox__frame iframe { width: 100%; height: 100%; border: 0; }
.lightbox__placeholder { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 2rem; color: var(--text-muted-ink); font-family: var(--font-mono); font-size: var(--t-sm); line-height: 2; }
.lightbox__close {
  position: absolute; top: max(18px, var(--gutter)); right: max(18px, var(--gutter));
  width: 48px; height: 48px; border-radius: 50%;
  background: transparent; border: 1px solid var(--line-ink);
  color: var(--text-on-ink); cursor: pointer; display: grid; place-items: center;
  transition: background 0.3s, color 0.3s;
}
.lightbox__close:hover { background: var(--orange); color: var(--ink); border-color: var(--orange); }

/* ------------------------------------------------------------ marquee   */
.marquee { position: relative; overflow: hidden; padding-block: clamp(2rem, 1.2rem + 2vw, 3rem); border-block: 1px solid var(--line-ink); }
.marquee__track { display: flex; gap: 3.5rem; width: max-content; animation: slide 42s linear infinite; align-items: center; }
.marquee:hover .marquee__track,
.marquee:focus-within .marquee__track,
.marquee[data-paused="true"] .marquee__track { animation-play-state: paused; }
.marquee__item {
  display: inline-flex; align-items: center; gap: 1.1rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 1rem + 1.4vw, 2.1rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text-muted-ink);
  white-space: nowrap;
}
.marquee__item i { width: 10px; height: 10px; border-radius: 50%; background: var(--orange); flex: none; }
.marquee__item:nth-child(even) i { background: var(--teal); }
.marquee__item:nth-child(3n) i { background: var(--red); }
@keyframes slide { to { transform: translateX(-50%); } }

/* -------------------------------------------------------- client logos  */
/* One continuously sliding row. The track is duplicated in JS, so the loop is
   seamless; the animation covers exactly half its width. */
.clientrail {
  position: relative;
  overflow: hidden;
  background: var(--paper-2);
  border: 1px solid var(--line-paper);
  border-radius: var(--radius);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.clientrail__track {
  display: flex;
  width: max-content;
  animation: slide 46s linear infinite;
}
.clientrail:hover .clientrail__track,
.clientrail:focus-within .clientrail__track,
.clientrail[data-paused="true"] .clientrail__track { animation-play-state: paused; }

.client {
  flex: none;
  width: clamp(190px, 16vw, 240px);
  background: var(--paper-2);
  border-right: 1px solid var(--line-paper);
  padding: clamp(1.6rem, 1rem + 2vw, 2.4rem) 1.4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  min-height: 178px;
  text-align: center;
  transition: background 0.4s var(--ease);
}
.client:hover { background: var(--paper); }
.client img {
  max-height: 46px;
  width: auto;
  max-width: 82%;
  object-fit: contain;
  filter: saturate(0.15) opacity(0.7);
  transition: filter 0.5s var(--ease), transform 0.5s var(--ease);
}
.client:hover img { filter: none; transform: scale(1.04); }
/* stacked lockups (mark above wordmark) carry more information vertically, so
   they get more height rather than being shrunk to match the wide marks */
.client--stacked img { max-height: 80px; max-width: 74%; }

/* WCAG 2.2.2 -- automatic motion lasting more than five seconds needs a
   mechanism to stop it that does not depend on hovering. */
.clientrail__toggle {
  position: absolute;
  right: 10px; bottom: 10px;
  z-index: 3;
  width: 30px; height: 30px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line-paper);
  background: var(--paper-2);
  color: var(--text-muted-paper);
  cursor: pointer;
  opacity: 0.45;
  transition: opacity 0.3s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease);
}
.clientrail:hover .clientrail__toggle,
.clientrail__toggle:hover,
.clientrail__toggle:focus-visible { opacity: 1; }
.clientrail__toggle:hover { background: var(--orange); border-color: var(--orange); color: var(--ink); }
.clientrail__toggle--ink {
  border-color: var(--line-ink);
  background: var(--ink-2);
  color: var(--text-muted-ink);
}
.marquee:hover .clientrail__toggle--ink,
.clientrail__toggle--ink:focus-visible { opacity: 1; }
.mq-i { display: none; line-height: 0; }
[data-paused="true"] .mq-i--play { display: block; }
.mq-i--pause { display: block; }
[data-paused="true"] .mq-i--pause { display: none; }

/* No animation preference: the row simply becomes a scrollable strip, so every
   logo is still reachable. */
/* No hover on touch, so the pause controls can't hide behind it */
@media (hover: none) {
  .clientrail__toggle { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .clientrail { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .clientrail__track { animation: none; }
  .clientrail__toggle { display: none; }
}
.client__sector { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-muted-paper); }

/* ---------------------------------------------------------------- cards */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--paper-2);
  border: 1px solid var(--line-paper);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.55s var(--ease), box-shadow 0.55s var(--ease), border-color 0.4s var(--ease);
  height: 100%;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); border-color: transparent; }
.card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--ink-2); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.card:hover .card__media img { transform: scale(1.06); }
.card__body { padding: clamp(1.25rem, 0.9rem + 1.1vw, 1.9rem); display: flex; flex-direction: column; gap: 0.7rem; flex: 1; }
.card__body h3 { margin: 0; }
.card__body p { color: var(--text-muted-paper); font-size: var(--t-sm); margin: 0; }
.card__foot { margin-top: auto; padding-top: 1rem; }
.card__tag {
  position: absolute; top: 14px; left: 14px;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.13em; text-transform: uppercase;
  background: var(--paper-2); color: var(--ink);
  padding: 6px 11px; border-radius: var(--radius-pill);
}
.card__num {
  font-family: var(--font-mono); font-size: var(--t-xs); letter-spacing: 0.14em;
  color: var(--teal-deep);
}
.card--link::after { content: ""; position: absolute; inset: 0; }

.on-ink .card, .on-ink-2 .card { background: var(--ink-2); border-color: var(--line-ink); }
.on-ink .card__body p, .on-ink-2 .card__body p { color: var(--text-muted-ink); }
.on-ink .card:hover, .on-ink-2 .card:hover { border-color: var(--line-ink); box-shadow: 0 30px 70px rgba(0, 0, 0, 0.4); }

/* service list — an index rather than a card grid */
.svc-index { border-top: 1px solid var(--line-paper); }
.svc-row {
  position: relative;
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr) minmax(0, 1.25fr) 46px;
  gap: clamp(0.8rem, 0.4rem + 1.4vw, 2rem);
  align-items: center;
  padding-block: clamp(1.2rem, 0.9rem + 1vw, 1.9rem);
  border-bottom: 1px solid var(--line-paper);
  transition: padding-left 0.5s var(--ease), color 0.35s var(--ease);
}
.svc-row:hover { padding-left: 14px; }
.svc-row::before {
  content: "";
  position: absolute;
  left: 0; bottom: -1px;
  width: 0; height: 2px;
  background: var(--orange);
  transition: width 0.6s var(--ease);
}
.svc-row:hover::before { width: 100%; }
.svc-row__n { font-family: var(--font-mono); font-size: var(--t-xs); color: var(--text-muted-paper); letter-spacing: 0.1em; }
.svc-row h2, .svc-row h3 { margin: 0; font-size: var(--t-xl); letter-spacing: -0.02em; line-height: 1.15; }
.svc-row p { margin: 0; color: var(--text-muted-paper); font-size: var(--t-sm); }
.svc-row__go { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-paper); display: grid; place-items: center; transition: background 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s var(--ease); justify-self: end; }
.svc-row:hover .svc-row__go { background: var(--orange); border-color: var(--orange); color: var(--ink); }
@media (max-width: 860px) {
  .svc-row { grid-template-columns: 40px minmax(0, 1fr) 42px; }
  .svc-row p { display: none; }
}

/* ------------------------------------------------------------- feature  */
.feature { position: relative; border-radius: var(--radius-l); overflow: hidden; }
.feature img { width: 100%; height: 100%; object-fit: cover; }
.feature--office { aspect-ratio: 3 / 2; }
@media (max-width: 700px) { .feature--office { aspect-ratio: 4 / 5; } }

.parallax-wrap { overflow: hidden; border-radius: var(--radius-l); }
.parallax-wrap img { will-change: transform; transform: scale(1.14); }

.stat-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1px; background: var(--line-ink); border: 1px solid var(--line-ink); border-radius: var(--radius); overflow: hidden; }
.stat { background: var(--ink); padding: clamp(1.3rem, 1rem + 1vw, 2rem); }
.stat dt { font-family: var(--font-mono); font-size: var(--t-xs); letter-spacing: 0.13em; text-transform: uppercase; color: var(--teal-soft); margin-bottom: 0.6rem; }
.stat dd { margin: 0; font-family: var(--font-display); font-size: var(--t-xl); font-weight: 700; letter-spacing: -0.025em; line-height: 1.15; }

/* --------------------------------------------------------------- steps  */
.steps { counter-reset: step; display: grid; gap: 1px; background: var(--line-paper); border-block: 1px solid var(--line-paper); }
.step { background: var(--paper); padding: clamp(1.5rem, 1rem + 2vw, 2.6rem) 0; display: grid; grid-template-columns: 90px minmax(0, 1fr) minmax(0, 1.4fr); gap: clamp(1rem, 0.5rem + 2vw, 2.5rem); align-items: start; }
@media (max-width: 820px) { .step { grid-template-columns: 60px minmax(0, 1fr); } .step p { grid-column: 2; } }
.step__n { counter-increment: step; font-family: var(--font-mono); font-size: var(--t-xs); letter-spacing: 0.13em; color: var(--red-text); }
.on-ink .step__n, .on-ink-2 .step__n { color: var(--red); }
.step__n::before { content: counter(step, decimal-leading-zero); }
.step h3 { margin: 0; }
.step p { margin: 0; color: var(--text-muted-paper); }
.on-ink .steps, .on-ink-2 .steps { background: var(--line-ink); border-color: var(--line-ink); }
.on-ink .step { background: var(--ink); }
.on-ink-2 .step { background: var(--ink-2); }
.on-ink .step p, .on-ink-2 .step p { color: var(--text-muted-ink); }

/* ----------------------------------------------------------- accordion  */
.acc { border-top: 1px solid var(--line-paper); }
.acc__item { border-bottom: 1px solid var(--line-paper); }
.acc__btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: clamp(1.1rem, 0.9rem + 0.7vw, 1.6rem) 0;
  background: none;
  border: 0;
  color: inherit;
  font-family: var(--font-display);
  font-size: var(--t-lg);
  font-weight: 600;
  letter-spacing: -0.018em;
  text-align: left;
  cursor: pointer;
  line-height: 1.3;
}
.acc__ico { flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-paper); display: grid; place-items: center; position: relative; transition: background 0.35s var(--ease), border-color 0.35s, transform 0.45s var(--ease); }
.acc__ico::before, .acc__ico::after { content: ""; position: absolute; background: currentColor; border-radius: 2px; }
.acc__ico::before { width: 13px; height: 1.8px; }
.acc__ico::after { width: 1.8px; height: 13px; transition: transform 0.45s var(--ease); }
.acc__btn[aria-expanded="true"] .acc__ico { background: var(--orange); border-color: var(--orange); color: var(--ink); }
.acc__btn[aria-expanded="true"] .acc__ico::after { transform: scaleY(0); }
.acc__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.5s var(--ease); }
.acc__panel[data-open="true"] { grid-template-rows: 1fr; }
.acc__panel > div { overflow: hidden; }
.acc__panel p { color: var(--text-muted-paper); max-width: 78ch; padding-bottom: 1.4rem; }
.on-ink .acc, .on-ink .acc__item, .on-ink .acc__ico { border-color: var(--line-ink); }
.on-ink .acc__panel p { color: var(--text-muted-ink); }

/* --------------------------------------------------------------- forms  */
.form { display: grid; gap: 1.15rem; }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.15rem; }
@media (max-width: 640px) { .form__row { grid-template-columns: minmax(0, 1fr); } }

.field { display: grid; gap: 0.45rem; }
.field > label {
  font-family: var(--font-mono);
  font-size: var(--t-xs);
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--text-muted-paper);
}
.field .req { color: var(--red-text); }
.field input, .field select, .field textarea {
  font-family: var(--font-body);
  font-size: var(--t-base);
  color: var(--text-on-paper);
  background: var(--paper-2);
  border: 1px solid var(--line-paper);
  border-radius: var(--radius-s);
  padding: 0.85em 1em;
  width: 100%;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.field textarea { min-height: 140px; resize: vertical; }
.field select { max-width: 100%; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%2356696b' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1em center; padding-right: 2.6em; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(2, 163, 171, 0.16);
}
.field input[aria-invalid="true"], .field select[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--red-text); }
.field__error { font-size: var(--t-xs); color: var(--red-text); min-height: 1.1em; font-family: var(--font-mono); }
.field__hint { font-size: var(--t-xs); color: var(--text-muted-paper); font-family: var(--font-mono); letter-spacing: 0.03em; }

/* dialling code sits flush against the number, reading as one control */
.phone { display: flex; align-items: stretch; }
.phone__dial {
  display: grid; place-items: center;
  flex: none;
  min-width: 4.6rem;
  padding-inline: 0.9rem;
  font-family: var(--font-mono);
  font-size: var(--t-sm);
  letter-spacing: 0.04em;
  color: var(--text-on-paper);
  background: var(--paper);
  border: 1px solid var(--line-paper);
  border-right: 0;
  border-radius: var(--radius-s) 0 0 var(--radius-s);
}
.phone input { border-radius: 0 var(--radius-s) var(--radius-s) 0; min-width: 0; }
.phone:focus-within .phone__dial { border-color: var(--teal-deep); }

/* honeypot -- present for bots, gone for everyone else */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.consent { display: flex; gap: 0.75rem; align-items: flex-start; font-size: var(--t-sm); color: var(--text-muted-paper); }
.consent input { margin-top: 0.35em; width: 18px; height: 18px; accent-color: var(--teal); flex: none; }
.consent a { text-decoration: underline; text-underline-offset: 3px; }

.form__status { border-radius: var(--radius); padding: 1.1rem 1.3rem; font-size: var(--t-sm); display: none; }
.form__status[data-show="true"] { display: block; }
.form__status[data-kind="ok"] { background: rgba(2, 163, 171, 0.1); border: 1px solid rgba(2, 163, 171, 0.4); color: var(--teal-deep); }
.form__status[data-kind="error"] { background: rgba(240, 50, 50, 0.08); border: 1px solid rgba(240, 50, 50, 0.35); color: #b81f1f; }

/* ------------------------------------------------------------ pagehead  */
.pagehead {
  position: relative;
  background: var(--ink);
  color: var(--text-on-ink);
  padding-top: calc(var(--header-h) + clamp(3.5rem, 2rem + 6vw, 7rem));
  padding-bottom: clamp(3rem, 2rem + 4vw, 5.5rem);
  overflow: hidden;
}
.pagehead__bg { position: absolute; inset: 0; opacity: 0.5; }
.pagehead__bg img { width: 100%; height: 100%; object-fit: cover; }
.pagehead::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,24,26,0.55), var(--ink)); }
.pagehead__inner { position: relative; z-index: 2; }
.pagehead h1 { max-width: 20ch; margin-bottom: 0.4em; }
.pagehead .lede { color: var(--text-muted-ink); }

.crumbs { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; font-family: var(--font-mono); font-size: var(--t-xs); letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted-ink); margin-bottom: 1.6rem; list-style: none; padding: 0; }
.crumbs li { margin: 0; display: flex; align-items: center; gap: 0.5rem; }
.crumbs li + li::before { content: "/"; color: var(--ink-4); }
.crumbs a:hover { color: var(--orange); }
.crumbs [aria-current] { color: var(--teal-soft); }

/* ---------------------------------------------------------------- prose */
.prose { max-width: 72ch; }
.prose h2 { font-size: var(--t-2xl); margin-top: 2.2em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.9em; }
.prose ul { padding-left: 1.2em; }
.prose li::marker { color: var(--teal); }
.prose blockquote {
  margin: 2em 0;
  padding: 0.2em 0 0.2em 1.6em;
  border-left: 3px solid var(--orange);
  font-family: var(--font-display);
  font-size: var(--t-lg);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.35;
}
.prose a:not(.btn) { color: var(--teal-deep); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.prose a:not(.btn):hover { color: var(--orange-deep); }

.checks { list-style: none; padding: 0; display: grid; gap: 0.75rem; }
.checks li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 0.8rem; align-items: start; margin: 0; }
.checks li::before {
  content: "";
  width: 20px; height: 20px;
  margin-top: 0.28em;
  border-radius: 50%;
  background: var(--teal);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='10' cy='10' r='9' fill='black'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='10' cy='10' r='9' fill='black'/%3E%3C/svg%3E") center/contain no-repeat;
  box-shadow: inset 0 0 0 20px var(--teal);
}
.checks--orange li::before { background: var(--orange); box-shadow: inset 0 0 0 20px var(--orange); }

/* --------------------------------------------------------------- pills  */
.pills { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; padding: 0; margin: 0; }
.pills li { margin: 0; }
.pills li, .pill {
  font-family: var(--font-mono);
  font-size: var(--t-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.5em 0.95em;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line-paper);
  color: var(--text-muted-paper);
}
.on-ink .pills li, .on-ink .pill { border-color: var(--line-ink); color: var(--text-muted-ink); }

/* ------------------------------------------------------------ CTA band  */
.cta-band { position: relative; overflow: hidden; background: var(--ink-2); color: var(--text-on-ink); }
.cta-band::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(55% 70% at 85% 15%, rgba(240, 50, 50, 0.2), transparent 60%),
    radial-gradient(60% 70% at 10% 90%, rgba(255, 151, 30, 0.2), transparent 62%);
}
.cta-band__inner { position: relative; z-index: 2; }
.cta-band h2 { font-size: var(--t-4xl); max-width: 16ch; letter-spacing: -0.04em; }

/* --------------------------------------------------------------- blog   */
.post-meta { display: flex; flex-wrap: wrap; gap: 0.5rem 1.2rem; align-items: center; font-family: var(--font-mono); font-size: var(--t-xs); letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted-paper); }
.on-ink .post-meta { color: var(--text-muted-ink); }
.post-meta .sep { width: 4px; height: 4px; border-radius: 50%; background: var(--orange); }

.share { display: flex; gap: 0.5rem; align-items: center; }
.share a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line-paper); display: grid; place-items: center; transition: background 0.3s, color 0.3s, border-color 0.3s; }
.share a:hover { background: var(--teal-deep); border-color: var(--teal-deep); color: #fff; }
.share svg { width: 16px; height: 16px; }

/* ---------------------------------------------------------------- 404   */
.err {
  min-height: 100svh;
  display: grid;
  place-items: center;
  text-align: center;
  background: var(--ink);
  color: var(--text-on-ink);
  padding: calc(var(--header-h) + 3rem) var(--gutter) 4rem;
  position: relative;
  overflow: hidden;
}
.err__code {
  font-family: var(--font-display);
  font-size: clamp(6rem, 3rem + 18vw, 16rem);
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 0.8;
  margin: 0 0 0.15em;
  background: linear-gradient(120deg, var(--orange), var(--red) 48%, var(--teal));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ------------------------------------------------------------- reveals  */
[data-anim] { opacity: 0; transform: translateY(26px); }

/* If JavaScript never runs, nothing should be invisible. The inline script in
   <head> strips .no-js immediately, so this only ever applies when JS is off. */
.no-js [data-anim],
.no-js .reveal-line > span,
.no-js .hero__fade { opacity: 1 !important; transform: none !important; }
.no-js .mobilemenu { display: none; }
.no-js .rail { display: none; }
[data-anim="fade"] { transform: none; }
.is-in[data-anim] {
  opacity: 1;
  transform: none;
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
}
[data-anim-delay="1"] { transition-delay: 0.08s; }
[data-anim-delay="2"] { transition-delay: 0.16s; }
[data-anim-delay="3"] { transition-delay: 0.24s; }
[data-anim-delay="4"] { transition-delay: 0.32s; }
[data-anim-delay="5"] { transition-delay: 0.4s; }

/* --------------------------------------------------- reduced motion     */
@media (prefers-reduced-motion: reduce) {

  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  [data-anim], .reveal-line > span, .hero__fade { opacity: 1 !important; transform: none !important; }
  .marquee__track { animation: none; flex-wrap: wrap; width: auto; }
  .cursor, .cursor-dot { display: none !important; }
  html.has-cursor, html.has-cursor * { cursor: auto !important; }
  .parallax-wrap img { transform: none; }
}

/* ------------------------------------------------------------- print    */
@media print {
  .header, .rail, .cursor, .cursor-dot, .mobilemenu, .lightbox, .marquee { display: none !important; }
  body { background: #fff; color: #000; }
  .on-ink, .on-ink-2, .footer, .hero, .pagehead, .cta-band { background: #fff !important; color: #000 !important; }
}

/* ==========================================================================
   Surface-aware corrections
   The site alternates ink and paper sections, so anything that sits *across*
   a boundary (the fixed header) or gets reused on both (cards, service rows,
   stat blocks) needs its colours resolved explicitly rather than inherited.
   ========================================================================== */

/* --- header text must invert with the surface beneath it ---------------- */
.header { color: var(--text-on-paper); transition-property: background, box-shadow, transform, height, color; }
body[data-surface="ink"] .header { color: var(--text-on-ink); }

/* while the mobile menu is open the surface is always ink */
body[data-menu="true"] .header { color: var(--text-on-ink); }
body[data-menu="true"] .header::before { opacity: 0; }
body[data-menu="true"] .burger { border-color: var(--line-ink); }

/* --- service index on dark surfaces ------------------------------------- */
.on-ink .svc-index, .on-ink-2 .svc-index { border-top-color: var(--line-ink); }
.on-ink .svc-row, .on-ink-2 .svc-row { border-bottom-color: var(--line-ink); }
.on-ink .svc-row__n, .on-ink-2 .svc-row__n,
.on-ink .svc-row p, .on-ink-2 .svc-row p { color: var(--text-muted-ink); }
.on-ink .svc-row__go, .on-ink-2 .svc-row__go { border-color: var(--line-ink); }

/* --- eyebrow numerals and card meta on dark ----------------------------- */
.on-ink .card__num, .on-ink-2 .card__num, .footer .card__num { color: var(--teal-soft); }

/* --- stat strip reused on a paper surface ------------------------------- */
.stat-strip--light { background: var(--line-paper); border-color: var(--line-paper); }
.stat-strip--light .stat { background: var(--paper-2); }
.stat-strip--light .stat dt { color: var(--teal-deep); }
.stat-strip--light .stat dd { color: var(--text-on-paper); }

/* --- accordion on the ink-2 surface ------------------------------------- */
.on-ink-2 .acc, .on-ink-2 .acc__item, .on-ink-2 .acc__ico { border-color: var(--line-ink); }
.on-ink-2 .acc__panel p { color: var(--text-muted-ink); }

/* --- pills used as links ------------------------------------------------ */
.pills li a { display: block; margin: -0.5em -0.95em; padding: 0.5em 0.95em; border-radius: var(--radius-pill); transition: color 0.3s var(--ease); }
.pills li a:hover { color: var(--orange); }

/* --- lede inside a light card ------------------------------------------- */
.on-ink .checks li, .on-ink-2 .checks li { color: var(--text-on-ink); }

/* --- prose links on ink ------------------------------------------------- */
.on-ink .prose a:not(.btn), .on-ink-2 .prose a:not(.btn) { color: var(--teal-soft); }
.on-ink .prose a:not(.btn):hover { color: var(--orange); }
