/* ==========================================================================
   No Fault Design — site stylesheet

   Design system matched to the reference studio template:
   neutral grey ramp, Switzer for display type, Inter for UI and body copy,
   a monospace face for micro-labels, and a difference-blended hero.
   ========================================================================== */

/* --------------------------------------------------------------------------
   Fonts (self-hosted — no external CDN, so the CSP stays strict)
   -------------------------------------------------------------------------- */
@font-face {
  font-family: 'Switzer';
  src: url('/static/fonts/switzer-400.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Switzer';
  src: url('/static/fonts/switzer-500.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Switzer';
  src: url('/static/fonts/switzer-600.woff2') format('woff2');
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Switzer';
  src: url('/static/fonts/switzer-700.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('/static/fonts/inter-var.woff2') format('woff2');
  font-weight: 100 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'NF Mono';
  src: url('/static/fonts/mono-var.woff2') format('woff2');
  font-weight: 100 800; font-style: normal; font-display: swap;
}

/* --------------------------------------------------------------------------
   Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Neutral ramp, taken from the reference template */
  --n50:  #fafafa;
  --n100: #f5f5f5;
  --n200: #e5e5e5;
  --n300: #d4d4d4;
  --n400: #a3a3a3;
  --n500: #737373;
  --n600: #525252;
  --n700: #404040;
  --n800: #262626;
  --n900: #171717;
  --n950: #0a0a0a;

  /* Semantic aliases */
  --paper:        var(--n50);
  --paper-2:      var(--n100);
  --paper-3:      var(--n200);
  --line:         var(--n200);
  --line-strong:  var(--n300);
  --muted-3:      var(--n400);
  --muted-2:      var(--n500);
  --muted:        var(--n600);
  --ink:          var(--n900);
  --ink-deep:     var(--n950);
  --white:        #ffffff;

  /* On dark sections */
  --on-dark:      var(--n100);
  --on-dark-mut:  var(--n300);
  --on-dark-mut2: var(--n400);
  --on-dark-line: rgba(245, 245, 245, 0.12);

  /* Brand — from the No Fault Design mark */
  --brand:      #ff4d3d;
  --brand-2:    #ff2d68;
  --brand-soft: rgba(255, 77, 61, 0.1);
  --brand-grad: linear-gradient(135deg, #ff5f3a 0%, #ff2d68 100%);

  /* Type scale. The display size tracks the reference: 96px at 1440px wide. */
  --fs-display: clamp(2.75rem, 6.7vw, 6rem);
  --fs-h1:      clamp(2.25rem, 5vw, 4rem);
  --fs-h2:      clamp(2rem, 4.4vw, 3.5rem);
  --fs-h3:      clamp(1.375rem, 2.3vw, 1.75rem);
  --fs-h4:      clamp(1.0625rem, 1.5vw, 1.25rem);
  --fs-body:    0.9375rem;
  --fs-small:   0.875rem;
  --fs-micro:   0.6875rem;

  /* Display type metrics, matched to the reference */
  --display-ls: -0.03em;
  --display-lh: 1.042;
  --display-weight: 500;

  /* Rhythm */
  --gutter:     clamp(1.25rem, 4.44vw, 4rem);
  --section-y:  clamp(4.5rem, 10vw, 9rem);
  --maxw:       1440px;
  --maxw-text:  46rem;

  --radius:      12px;
  --radius-lg:   20px;
  --radius-pill: 999px;

  /* Easing curves taken from the reference's own animation definitions */
  --ease:        cubic-bezier(0.44, 0, 0.56, 1);    /* nav drop-in        */
  --ease-out:    cubic-bezier(0.68, 0.01, 0.27, 0.99); /* preloader, reveals */
  --ease-rise:   cubic-bezier(0.51, 0.01, 0.02, 1.01); /* hero content rise  */
  --ease-late:   cubic-bezier(0.67, 0, 0.26, 1);    /* delayed fades      */
  --ease-ticker: cubic-bezier(0.7, 0, 0.15, 1);     /* testimonial ticker */
  --ease-soft:   cubic-bezier(0.4, 0, 0.2, 1);

  /* Intro timings, in the reference's order */
  --intro-preloader: 1000ms;
  --intro-nav-delay: 3000ms;
  --intro-nav-dur:   800ms;
  --intro-hero-delay: 550ms;
  --intro-hero-dur:   600ms;

  --shadow-sm: 0 1px 2px rgba(10, 10, 10, 0.04);
  --shadow:    0 4px 24px rgba(10, 10, 10, 0.06);
  --shadow-lg: 0 18px 60px rgba(10, 10, 10, 0.1);
}

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

* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  font-feature-settings: 'ss01', 'cv01';
}

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

button, input, select, textarea { font: inherit; color: inherit; }

button { cursor: pointer; background: none; border: none; padding: 0; }

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

ul, ol { list-style: none; padding: 0; }

h1, h2, h3, h4, h5, h6 {
  font-family: 'Switzer', 'Inter', -apple-system, BlinkMacSystemFont, Helvetica, Arial, sans-serif;
  font-weight: var(--display-weight);
  line-height: var(--display-lh);
  letter-spacing: var(--display-ls);
  text-wrap: balance;
}

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

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

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

.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: clamp(3rem, 6vw, 5.5rem); }
.section--dark { background: var(--ink-deep); color: var(--paper); }
.section--paper2 { background: var(--paper-2); }

.section--dark .eyebrow { color: rgba(250, 249, 245, 0.45); }
.section--dark .lede { color: rgba(250, 249, 245, 0.62); }

/* Skip link */
.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--ink);
  color: var(--paper);
  padding: 0.75rem 1.25rem;
  border-radius: 0 0 var(--radius) 0;
}
.skip:focus { left: 0; }

/* --------------------------------------------------------------------------
   Typography helpers
   -------------------------------------------------------------------------- */
.eyebrow {
  font-family: 'NF Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: var(--fs-micro);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-2);
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
}
.eyebrow::before {
  content: '';
  width: 1.25rem;
  height: 1px;
  background: currentColor;
  opacity: 0.5;
}
.eyebrow--plain::before { display: none; }

.display {
  font-family: 'Switzer', 'Inter', sans-serif;
  font-size: var(--fs-display);
  font-weight: var(--display-weight);
  letter-spacing: var(--display-ls);
  line-height: var(--display-lh);
}

.h1 { font-size: var(--fs-h1); }
.h2 { font-size: var(--fs-h2); }
.h3 { font-size: var(--fs-h3); letter-spacing: -0.025em; }
.h4 { font-size: var(--fs-h4); letter-spacing: -0.02em; }

.lede {
  font-size: clamp(1rem, 1.25vw, 1.125rem);
  line-height: 1.6;
  color: var(--muted);
  max-width: 38rem;
}

.mono {
  font-family: 'NF Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: var(--fs-micro);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.muted { color: var(--muted-2); }
.center { text-align: center; }

/* Section header: eyebrow + big heading + optional side note */
.sec-head {
  display: grid;
  gap: clamp(1.25rem, 2.5vw, 2rem);
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}
@media (min-width: 900px) {
  .sec-head--split {
    grid-template-columns: 1fr minmax(0, 18rem);
    align-items: end;
    column-gap: clamp(2rem, 6vw, 6rem);
  }
  .sec-head--split .sec-head__aside { padding-bottom: 0.5rem; }
}
.sec-head__title { font-size: var(--fs-h2); max-width: 18ch; }
.sec-head__aside { font-size: var(--fs-small); color: var(--muted-2); line-height: 1.55; }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  padding: 0.9rem 1.5rem;
  border-radius: var(--radius-pill);
  font-size: var(--fs-small);
  font-weight: 600;
  letter-spacing: -0.01em;
  border: 1px solid transparent;
  transition: transform 0.35s var(--ease), background-color 0.25s, color 0.25s, border-color 0.25s, box-shadow 0.25s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--ink); color: var(--paper); }
.btn--primary:hover { background: var(--ink-deep); box-shadow: var(--shadow); }

.btn--brand { background: var(--brand-grad); color: var(--white); }
.btn--brand:hover { box-shadow: 0 10px 30px rgba(255, 61, 90, 0.3); }

.btn--ghost { border-color: var(--line-strong); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); background: var(--ink); color: var(--paper); }

.btn--light { background: var(--paper); color: var(--ink); }
.btn--light:hover { background: var(--white); }

.btn--outline-light { border-color: rgba(250, 249, 245, 0.25); color: var(--paper); }
.btn--outline-light:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }

.btn--lg { padding: 1.05rem 1.9rem; font-size: 0.9375rem; }
.btn--block { width: 100%; }

/* Arrow that slides on hover */
.btn__arrow { transition: transform 0.35s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(3px); }

/* Text link with an animated underline */
.tlink {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  font-weight: 500;
  position: relative;
  padding-bottom: 2px;
}
.tlink::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease);
}
.tlink:hover::after { transform: scaleX(1); transform-origin: left; }

/* --------------------------------------------------------------------------
   Header — floating pill nav
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: clamp(0.75rem, 1.6vw, 1.5rem);
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  width: auto;
  transition: transform 0.5s var(--ease-out), opacity 0.3s;
}
.site-header.is-hidden {
  transform: translateX(-50%) translateY(calc(-100% - 2rem));
  opacity: 0;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  padding: 0.4rem 0.4rem 0.4rem 1.1rem;
  background: rgba(250, 250, 250, 0.86);
  backdrop-filter: blur(18px) saturate(1.6);
  -webkit-backdrop-filter: blur(18px) saturate(1.6);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.35s, background-color 0.35s;
}
.site-header.is-stuck .nav { box-shadow: var(--shadow); }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  font-size: 0.9375rem;
}
.brand__mark { width: 26px; height: 26px; border-radius: 50%; flex: none; }
.brand__text sup { font-size: 0.55em; vertical-align: super; opacity: 0.6; }

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

.nav__link {
  position: relative;
  padding: 0.5rem 0.85rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted);
  border-radius: var(--radius-pill);
  transition: color 0.25s, background-color 0.25s;
}
.nav__link:hover { color: var(--ink); background: var(--paper-3); }
.nav__link.is-active { color: var(--ink); }
.nav__link.is-active::after {
  content: '';
  position: absolute;
  left: 50%; bottom: 0.2rem;
  width: 3px; height: 3px;
  border-radius: 50%;
  background: var(--brand);
  transform: translateX(-50%);
}

.nav__actions { display: flex; align-items: center; gap: 0.5rem; }

.nav__cta { display: none; }

/* Menu toggle */
.nav__toggle {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--n200);
  color: var(--ink);
  display: grid;
  place-items: center;
  flex: none;
  transition: background-color 0.3s, transform 0.4s var(--ease-out);
}
.nav__toggle:hover { background: var(--n300); transform: scale(1.06); }
.nav__toggle:active { transform: scale(0.94); }

.nav__toggle-grid {
  display: grid;
  grid-template-columns: repeat(2, 5px);
  gap: 3px;
}
.nav__toggle-grid span {
  width: 5px; height: 5px;
  background: currentColor;
  border-radius: 1px;
  transition: transform 0.35s var(--ease), opacity 0.25s;
}
.nav.is-open .nav__toggle-grid span:nth-child(1) { transform: translate(4px, 4px); }
.nav.is-open .nav__toggle-grid span:nth-child(2) { opacity: 0; }
.nav.is-open .nav__toggle-grid span:nth-child(3) { opacity: 0; }
.nav.is-open .nav__toggle-grid span:nth-child(4) { transform: translate(-4px, -4px); }

/* Mobile drawer */
.nav-drawer {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--paper);
  padding: 7rem var(--gutter) 3rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-1.5rem);
  transition: opacity 0.4s var(--ease), transform 0.5s var(--ease), visibility 0.4s;
}
.nav-drawer.is-open { opacity: 1; visibility: visible; transform: none; }


.nav-drawer__links { display: grid; gap: 0.25rem; }
.nav-drawer__link {
  font-size: clamp(2rem, 9vw, 2.75rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  padding-block: 0.35rem;
  opacity: 0;
  transform: translateY(0.75rem);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease), color 0.25s;
}
.nav-drawer.is-open .nav-drawer__link { opacity: 1; transform: none; }
.nav-drawer__link:hover { color: var(--brand); }
.nav-drawer__link.is-active { color: var(--muted-3); }

.nav-drawer__foot {
  display: grid;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}


/* --------------------------------------------------------------------------
   Preloader

   The reference holds a centred mark on screen while the page settles, then
   fades the whole layer out over 1s. The nav drops in at 3s, so the intro
   timeline below is built around that.
   -------------------------------------------------------------------------- */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  background: var(--paper);
  transition: opacity var(--intro-preloader) var(--ease-out);
}
.preloader.is-done {
  opacity: 0;
  pointer-events: none;
}
.preloader.is-gone { display: none; }

.preloader__mark {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: 'Switzer', sans-serif;
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.preloader__mark img { width: 30px; height: 30px; border-radius: 50%; }
.preloader__mark sup { font-size: 0.5em; vertical-align: super; opacity: 0.55; }

/* Thin determinate bar, matching the reference's restrained loading cue */
.preloader__bar {
  position: absolute;
  left: 50%;
  bottom: clamp(3rem, 8vh, 5rem);
  transform: translateX(-50%);
  width: clamp(120px, 18vw, 190px);
  height: 1px;
  background: var(--line-strong);
  overflow: hidden;
}
.preloader__bar::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  animation: preload-bar 2.6s var(--ease-out) forwards;
}
@keyframes preload-bar {
  to { transform: scaleX(1); }
}

/* --------------------------------------------------------------------------
   Intro timeline — elements hold their start state until .is-ready
   -------------------------------------------------------------------------- */
.site-header {
  opacity: 0;
  transform: translateX(-50%) translateY(-115px);
}
body.is-ready .site-header {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  transition:
    opacity var(--intro-nav-dur) var(--ease) var(--intro-nav-delay),
    transform var(--intro-nav-dur) var(--ease) var(--intro-nav-delay);
}
/* After the intro the header reverts to its scroll behaviour. */
body.is-ready .site-header.is-hidden {
  transform: translateX(-50%) translateY(calc(-100% - 2rem));
  opacity: 0;
  transition: transform 0.5s var(--ease-out), opacity 0.3s;
}

.hero__badge,
.hero__meta,
.hero__cue {
  opacity: 0;
  transform: translateY(50px);
}
body.is-ready .hero__badge {
  opacity: 1;
  transform: none;
  transition:
    opacity var(--intro-hero-dur) var(--ease-rise) var(--intro-hero-delay),
    transform var(--intro-hero-dur) var(--ease-rise) var(--intro-hero-delay);
}
body.is-ready .hero__meta {
  opacity: 1;
  transform: none;
  transition:
    opacity var(--intro-hero-dur) var(--ease-rise) calc(var(--intro-hero-delay) + 160ms),
    transform var(--intro-hero-dur) var(--ease-rise) calc(var(--intro-hero-delay) + 160ms);
}
body.is-ready .hero__cue {
  opacity: 1;
  transform: none;
  transition: opacity 600ms var(--ease-late) 3200ms, transform 600ms var(--ease-late) 3200ms;
}

/* The hero headline lines rise once the intro starts, not on scroll. */
.hero__title .reveal-lines__inner { transition-delay: var(--line-delay, 0ms); }

/* --------------------------------------------------------------------------
   Hero

   The reference builds this from three layers: a flat neutral ground, a soft
   grey "wave" field, and a grain pass on top. The headline sits above all of
   it in a difference-blended layer, so the type reads black over the light
   areas and white where it crosses the dark wave — one element, both colours.
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  padding-top: 7rem;
  padding-bottom: clamp(1.75rem, 3.6vw, 2.75rem);
  overflow: hidden;
  isolation: isolate;
  background: var(--paper);
}

/* The headline is centred in the remaining space and the meta row is pinned
   to the bottom, so the wave crest rises through the type rather than sitting
   underneath all of it. */
.hero__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero__foot { flex: none; }

/* The wave, reconstructed from the reference as a greyscale plate. */
.hero__field {
  position: absolute;
  inset: 0;
  z-index: -2;
  /* Static plate: the no-JS and reduced-motion fallback. */
  background-image: url('/static/img/hero-wave.png');
  background-size: cover;
  background-position: 50% 50%;
  background-repeat: no-repeat;
}
/* Once the animated canvas is in, the plate underneath is redundant. */
.hero__field.is-live { background-image: none; }

.hero__wave-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  /* The canvas renders small and is scaled up; the browser's smoothing is
     what produces the soft edge, so it must not be disabled. */
  image-rendering: auto;
}

/* Film grain. Drawn as an inline SVG turbulence so it costs no request. */
.hero__grain {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.085;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.95' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

/* Status pill */
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 0.9rem 0.45rem 0.65rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  background: rgba(250, 250, 250, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--muted);
  margin-bottom: clamp(1.5rem, 3.5vw, 2.25rem);
  align-self: flex-start;
}
.hero__dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--brand);
  position: relative;
  flex: none;
}
.hero__dot::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 1px solid var(--brand);
  opacity: 0.5;
  animation: pulse 2.4s var(--ease-soft) infinite;
}
@keyframes pulse {
  0%   { transform: scale(0.8); opacity: 0.6; }
  70%  { transform: scale(1.7); opacity: 0; }
  100% { transform: scale(1.7); opacity: 0; }
}

/* The difference-blended headline layer */
.hero > .wrap { width: 100%; }

/* Near-white type in difference mode reads black over the pale ground and
   turns light where it crosses the wave — one element, both treatments.
   Do not give this element, or any ancestor up to .hero, a z-index: that
   would isolate the blend and render the headline invisible. */
.hero__title {
  margin-bottom: clamp(2rem, 4.5vw, 3.25rem);
  mix-blend-mode: difference;
  color: var(--n100);
}
.hero__line { display: block; }
.hero__line--2 { padding-left: clamp(0rem, 10vw, 9.5rem); }

.hero__meta {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem 1rem;
  padding-top: clamp(1.25rem, 2.6vw, 1.75rem);
  border-top: 1px solid rgba(245, 245, 245, 0.22);
}
@media (min-width: 860px) {
  .hero__meta { grid-template-columns: repeat(4, 1fr); }
}
.hero__meta-label {
  font-size: var(--fs-small);
  font-weight: 500;
  color: var(--n100);
  margin-bottom: 0.25rem;
}
.hero__meta-value { font-size: var(--fs-small); color: var(--n300); }
.hero__meta-item--end { text-align: left; }
@media (min-width: 860px) { .hero__meta-item--end { text-align: right; } }

/* Scroll cue */
.hero__cue {
  position: absolute;
  right: var(--gutter);
  bottom: clamp(5.5rem, 12vw, 8rem);
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}
@media (min-width: 860px) { .hero__cue { display: flex; } }
.hero__cue-line {
  width: 1px; height: 3.5rem;
  background: rgba(245, 245, 245, 0.3);
  position: relative;
  overflow: hidden;
}
.hero__cue-line::after {
  content: '';
  position: absolute;
  top: -100%; left: 0;
  width: 1px; height: 100%;
  background: var(--n100);
  animation: cue 2.2s var(--ease-soft) infinite;
}
@keyframes cue {
  0%   { top: -100%; }
  60%  { top: 100%; }
  100% { top: 100%; }
}
.hero__cue-arrow { color: var(--n300); }

/* ==========================================================================
   Components — matched to the reference studio template
   ========================================================================== */

/* --------------------------------------------------------------------------
   Eyebrow: the reference marks every section with "// Label" in mono
   -------------------------------------------------------------------------- */
.eyebrow {
  font-family: 'NF Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--muted-3);
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
}
.eyebrow::before { content: '//'; opacity: 0.55; }
.eyebrow--plain::before { content: none; }
.section--dark .eyebrow { color: var(--n500); }

/* --------------------------------------------------------------------------
   Section heads
   -------------------------------------------------------------------------- */
.sec-head { display: grid; gap: 0.9rem; margin-bottom: clamp(2.25rem, 4.5vw, 3.5rem); }
.sec-head__title { font-size: var(--fs-h2); max-width: 17ch; }
.sec-head__aside {
  font-size: var(--fs-body);
  color: var(--muted-2);
  line-height: 1.55;
  max-width: 34ch;
}
@media (min-width: 900px) {
  .sec-head--split {
    grid-template-columns: 1fr minmax(0, 20rem);
    align-items: end;
    column-gap: clamp(2rem, 6vw, 6rem);
  }
}
.section--dark .sec-head__aside { color: var(--n400); }

/* --------------------------------------------------------------------------
   Rounded panel — the reference wraps whole sections in a large radius
   -------------------------------------------------------------------------- */
.panel {
  border-radius: clamp(20px, 3vw, 40px);
  overflow: hidden;
}
.panel--light { background: var(--paper); }
.panel--dark { background: var(--n900); color: var(--on-dark); }

/* --------------------------------------------------------------------------
   Client logo grid
   -------------------------------------------------------------------------- */
.logos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(0.65rem, 1.2vw, 1rem);
}
@media (min-width: 760px)  { .logos { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .logos { grid-template-columns: repeat(5, 1fr); } }

.logo-card {
  background: var(--paper-2);
  border-radius: var(--radius-lg);
  min-height: clamp(7rem, 11vw, 10rem);
  display: grid;
  place-items: center;
  padding: 1.25rem;
  transition: background-color 0.4s var(--ease-out), transform 0.5s var(--ease-out);
}
.logo-card:hover { background: var(--paper-3); transform: translateY(-3px); }
.logo-card__mark {
  font-family: 'Switzer', sans-serif;
  font-size: clamp(0.95rem, 1.5vw, 1.15rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--ink);
  text-align: center;
  opacity: 0.72;
}

/* --------------------------------------------------------------------------
   Work cards — full-bleed image, overlaid caption, corner action
   -------------------------------------------------------------------------- */
.work-grid { display: grid; gap: clamp(0.75rem, 1.4vw, 1.15rem); }
@media (min-width: 820px) { .work-grid { grid-template-columns: repeat(2, 1fr); } }

.work-card {
  position: relative;
  display: block;
  border-radius: clamp(16px, 2vw, 26px);
  overflow: hidden;
  background: var(--paper-3);
  aspect-ratio: 5 / 6;
  isolation: isolate;
}
@media (min-width: 820px) { .work-card--wide { grid-column: span 2; aspect-ratio: 16 / 9; } }

.work-card__media { position: absolute; inset: 0; }
.work-card__img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease-out);
}
.work-card:hover .work-card__img { transform: scale(1.04); }

.work-card__placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background:
    radial-gradient(75% 60% at 30% 25%, rgba(255, 95, 58, 0.18), transparent 62%),
    radial-gradient(70% 70% at 78% 82%, rgba(255, 45, 104, 0.16), transparent 64%),
    var(--n200);
}
.work-card__initial {
  font-family: 'Switzer', sans-serif;
  font-size: clamp(3rem, 7vw, 5rem);
  font-weight: 600;
  letter-spacing: -0.06em;
  color: var(--n50);
  opacity: 0.85;
}

/* Scrim so the overlaid caption stays readable on any image */
.work-card::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top, rgba(10, 10, 10, 0.72) 0%, rgba(10, 10, 10, 0.18) 34%, transparent 62%);
  pointer-events: none;
}

.work-card__meta {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 2;
  padding: clamp(1.1rem, 2.2vw, 1.75rem);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}
.work-card__title {
  font-size: clamp(1.1rem, 1.9vw, 1.5rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--n50);
  margin-bottom: 0.2rem;
}
.work-card__tag {
  font-size: var(--fs-small);
  color: rgba(250, 250, 250, 0.68);
}
.work-card__tag span { opacity: 0.55; padding-inline: 0.35em; }

.work-card__badge {
  flex: none;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(250, 250, 250, 0.94);
  color: var(--ink);
  display: grid;
  place-items: center;
  transition: transform 0.5s var(--ease-out), background-color 0.3s;
}
.work-card:hover .work-card__badge { transform: rotate(90deg); background: var(--white); }

/* --------------------------------------------------------------------------
   Bento — the "what we bring" measurement cards
   -------------------------------------------------------------------------- */
.bento {
  display: grid;
  gap: clamp(0.75rem, 1.4vw, 1.15rem);
  grid-template-columns: 1fr;
}
@media (min-width: 760px)  { .bento { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .bento { grid-template-columns: repeat(3, 1fr); } }

.bento__cell {
  background: var(--paper-2);
  border-radius: clamp(16px, 2vw, 24px);
  padding: clamp(1.35rem, 2.4vw, 2rem);
  display: flex;
  flex-direction: column;
  min-height: 11rem;
  transition: background-color 0.4s var(--ease-out);
}
.bento__cell:hover { background: var(--paper-3); }

/* The portrait cell spans two rows on wide screens */
.bento__cell--portrait {
  padding: 0;
  overflow: hidden;
  position: relative;
  min-height: 18rem;
  background: var(--n200);
}
@media (min-width: 1080px) { .bento__cell--portrait { grid-row: span 2; } }
.bento__portrait-img { position: absolute; inset: 0; }
.bento__portrait-img img { width: 100%; height: 100%; object-fit: cover; }
.bento__portrait-fallback {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(70% 55% at 35% 25%, rgba(255, 95, 58, 0.2), transparent 60%),
    radial-gradient(65% 65% at 75% 80%, rgba(255, 45, 104, 0.18), transparent 62%),
    var(--n200);
}
.bento__portrait-meta {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: clamp(1.1rem, 2vw, 1.6rem);
  background: linear-gradient(to top, rgba(10, 10, 10, 0.75), transparent);
  color: var(--n50);
}
.bento__portrait-name { font-size: 1.05rem; font-weight: 500; letter-spacing: -0.02em; }
.bento__portrait-role { font-size: var(--fs-small); color: rgba(250, 250, 250, 0.66); }

.bento__big {
  display: flex;
  align-items: baseline;
  font-family: 'Switzer', sans-serif;
  font-size: clamp(3rem, 6.4vw, 4.75rem);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 1;
}
.bento__unit { font-size: 0.42em; color: var(--muted-3); margin-left: 0.06em; }
.bento__label { font-size: var(--fs-body); margin-top: 0.4rem; }
.bento__note {
  margin-top: auto;
  padding-top: 1.5rem;
  font-size: var(--fs-small);
  color: var(--muted-2);
  text-align: right;
}

.bento__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  height: 100%;
}
.bento__row-label { font-size: var(--fs-body); font-weight: 500; }

/* Overlapping avatar stack */
.avatars { display: flex; }
.avatars__item {
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 2px solid var(--paper-2);
  margin-left: -10px;
  background: var(--brand-grad);
  color: var(--white);
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  font-weight: 600;
  object-fit: cover;
  transition: transform 0.4s var(--ease-out);
}
.avatars__item:first-child { margin-left: 0; }
.avatars:hover .avatars__item { transform: translateY(-3px); }

/* Tool tiles */
.tools { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.tool-tile {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--paper);
  display: grid;
  place-items: center;
  font-family: 'NF Mono', ui-monospace, monospace;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--muted);
  transition: transform 0.4s var(--ease-out);
}
.tool-tile:hover { transform: translateY(-3px); }

/* Digit roll. Every part is pinned to the same 1em box: if the strip cells
   and the mask disagree by even a fraction the reel stops between digits. */
.roll {
  display: inline-flex;
  height: 1em;
  line-height: 1;
  overflow: hidden;
  vertical-align: baseline;
}
.roll__col {
  display: block;
  height: 1em;
  line-height: 1;
  overflow: hidden;
}
.roll__strip {
  display: block;
  line-height: 1;
  will-change: transform;
  transition: transform 1.4s var(--ease-out);
  transition-delay: var(--roll-delay, 0ms);
}
.roll__strip span {
  display: block;
  height: 1em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

/* --------------------------------------------------------------------------
   Services — dark numbered rows with a thumbnail
   -------------------------------------------------------------------------- */
.services { display: grid; }

.service {
  display: grid;
  gap: 1rem;
  padding-block: clamp(1.75rem, 3.4vw, 2.75rem);
  border-top: 1px solid var(--on-dark-line);
  position: relative;
}
.service:last-child { border-bottom: 1px solid var(--on-dark-line); }
@media (min-width: 900px) {
  .service {
    grid-template-columns: 4rem minmax(0, 12rem) minmax(0, 1fr) minmax(0, 22rem);
    align-items: center;
    column-gap: clamp(1.5rem, 3vw, 3rem);
  }
}

.service__num {
  font-family: 'NF Mono', ui-monospace, monospace;
  font-size: 1.05rem;
  color: var(--n600);
  transition: color 0.4s;
}
.service:hover .service__num { color: var(--brand); }

.service__thumb {
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--n800);
  max-width: 12rem;
  opacity: 0.85;
  transition: opacity 0.4s var(--ease-out), transform 0.6s var(--ease-out);
}
.service:hover .service__thumb { opacity: 1; transform: scale(1.03); }
.service__thumb img { width: 100%; height: 100%; object-fit: cover; }
.service__thumb-fallback {
  width: 100%; height: 100%;
  background:
    radial-gradient(70% 60% at 30% 30%, rgba(255, 95, 58, 0.28), transparent 62%),
    radial-gradient(65% 65% at 75% 78%, rgba(255, 45, 104, 0.24), transparent 64%),
    var(--n800);
}

.service__title {
  font-size: clamp(1.35rem, 2.6vw, 2rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--on-dark);
}
.service__body {
  font-size: var(--fs-body);
  color: var(--n400);
  line-height: 1.55;
}

/* --------------------------------------------------------------------------
   Process cards
   -------------------------------------------------------------------------- */
.process { display: grid; gap: clamp(0.75rem, 1.4vw, 1.15rem); }
@media (min-width: 720px)  { .process { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .process { grid-template-columns: repeat(4, 1fr); } }

.process__step {
  background: var(--paper-2);
  border-radius: clamp(16px, 2vw, 24px);
  padding: clamp(1.35rem, 2.4vw, 1.9rem);
  min-height: clamp(14rem, 22vw, 19rem);
  display: flex;
  flex-direction: column;
  transition: background-color 0.4s var(--ease-out), transform 0.5s var(--ease-out);
}
.process__step:hover { background: var(--paper-3); transform: translateY(-4px); }

.process__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: auto;
}
.process__icon {
  width: 34px; height: 34px;
  color: var(--muted-3);
  transition: color 0.4s;
}
.process__step:hover .process__icon { color: var(--brand); }
.process__num {
  font-family: 'NF Mono', ui-monospace, monospace;
  font-size: 0.75rem;
  color: var(--muted-3);
}
.process__title {
  font-size: clamp(1.15rem, 1.9vw, 1.4rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  margin-top: 2rem;
  margin-bottom: 0.4rem;
}
.process__body { font-size: var(--fs-small); color: var(--muted-2); line-height: 1.55; }

.section--dark .process__step { background: var(--n800); }
.section--dark .process__step:hover { background: var(--n700); }
.section--dark .process__title { color: var(--on-dark); }
.section--dark .process__body { color: var(--n400); }

/* --------------------------------------------------------------------------
   Reasons block
   -------------------------------------------------------------------------- */
.reasons { display: grid; gap: clamp(0.75rem, 1.4vw, 1.15rem); }
@media (min-width: 860px) { .reasons { grid-template-columns: repeat(3, 1fr); } }

.reason {
  background: var(--paper-2);
  border-radius: clamp(16px, 2vw, 24px);
  padding: clamp(1.35rem, 2.4vw, 2rem);
  transition: background-color 0.4s var(--ease-out), transform 0.5s var(--ease-out);
}
.reason:hover { background: var(--paper-3); transform: translateY(-4px); }
.reason__num {
  font-family: 'NF Mono', ui-monospace, monospace;
  font-size: 0.75rem;
  color: var(--brand);
  margin-bottom: 2.5rem;
}
.reason__title { font-size: var(--fs-h4); margin-bottom: 0.5rem; }
.reason__body { font-size: var(--fs-small); color: var(--muted-2); line-height: 1.6; }

/* --------------------------------------------------------------------------
   Studio Editions
   -------------------------------------------------------------------------- */
.editions-grid { display: grid; gap: clamp(0.75rem, 1.4vw, 1.15rem); }
@media (min-width: 700px)  { .editions-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .editions-grid { grid-template-columns: repeat(3, 1fr); } }

.edition-card {
  display: flex;
  flex-direction: column;
  background: var(--paper-2);
  border-radius: clamp(16px, 2vw, 24px);
  padding: clamp(1.35rem, 2.4vw, 2rem);
  transition: background-color 0.4s var(--ease-out), transform 0.5s var(--ease-out);
}
.edition-card:hover { background: var(--paper-3); transform: translateY(-4px); }
.edition-card__sector {
  font-family: 'NF Mono', ui-monospace, monospace;
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 1.15rem;
}
.edition-card__title { font-size: var(--fs-h4); margin-bottom: 0.55rem; }
.edition-card__body { font-size: var(--fs-small); color: var(--muted-2); line-height: 1.6; margin-bottom: 1.15rem; flex: 1; }
.edition-card__features { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-bottom: 1.35rem; }
.chip {
  font-size: 0.75rem;
  padding: 0.28rem 0.65rem;
  border-radius: var(--radius-pill);
  background: var(--paper);
  color: var(--muted-2);
}
.edition-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

/* --------------------------------------------------------------------------
   Testimonials
   -------------------------------------------------------------------------- */
.quotes { display: grid; gap: clamp(0.75rem, 1.4vw, 1.15rem); }
@media (min-width: 900px) { .quotes { grid-template-columns: repeat(2, 1fr); } }

.quote {
  background: var(--n800);
  border-radius: clamp(16px, 2vw, 24px);
  padding: clamp(1.5rem, 2.8vw, 2.25rem);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  transition: background-color 0.4s var(--ease-out), transform 0.5s var(--ease-out);
}
.quote:hover { background: var(--n700); transform: translateY(-4px); }
.quote__stars { display: flex; gap: 0.18rem; color: var(--brand); }
.quote__text {
  font-size: clamp(1rem, 1.5vw, 1.1875rem);
  line-height: 1.55;
  letter-spacing: -0.015em;
  color: var(--on-dark);
  flex: 1;
}
.quote__who { display: flex; align-items: center; gap: 0.8rem; }
.quote__avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--brand-grad);
  color: var(--white);
  display: grid;
  place-items: center;
  font-size: 0.8125rem;
  font-weight: 600;
  flex: none;
  object-fit: cover;
}
.quote__name { font-size: var(--fs-small); font-weight: 500; color: var(--on-dark); }
.quote__role { font-size: 0.8125rem; color: var(--n400); }

/* Rating strip above the quotes */
.rating-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem 2rem;
  padding-bottom: clamp(1.5rem, 3vw, 2.25rem);
}
.rating-strip__score {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  font-family: 'Switzer', sans-serif;
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--on-dark);
}
.rating-strip__score small { font-size: 0.6em; color: var(--n400); }
.rating-strip__label { font-size: var(--fs-small); color: var(--n400); }

/* --------------------------------------------------------------------------
   Pricing
   -------------------------------------------------------------------------- */
.plans { display: grid; gap: clamp(0.75rem, 1.4vw, 1.15rem); align-items: stretch; }
@media (min-width: 900px) { .plans { grid-template-columns: repeat(3, 1fr); } }

.plan {
  display: flex;
  flex-direction: column;
  background: var(--paper-2);
  border-radius: clamp(16px, 2vw, 24px);
  padding: clamp(1.5rem, 2.6vw, 2.15rem);
  position: relative;
  transition: background-color 0.4s var(--ease-out), transform 0.5s var(--ease-out);
}
.plan:hover { transform: translateY(-4px); }
.plan--featured { background: var(--n900); color: var(--on-dark); }
.plan--featured:hover { background: var(--n800); }

.plan__badge {
  align-self: flex-start;
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-pill);
  background: var(--paper);
  color: var(--muted);
  font-size: 0.8125rem;
  margin-bottom: 1.35rem;
}
.plan--featured .plan__badge { background: rgba(250, 250, 250, 0.12); color: var(--on-dark); }
.plan__badge--accent { background: var(--brand-grad); color: var(--white); }

.plan__price { display: flex; align-items: baseline; gap: 0.45rem; margin-bottom: 0.35rem; }
.plan__amount {
  font-family: 'Switzer', sans-serif;
  font-size: clamp(2.35rem, 4.6vw, 3.1rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1;
}
.plan__suffix { font-size: var(--fs-body); color: var(--muted-2); }
.plan--featured .plan__suffix { color: var(--n400); }

.plan__tagline {
  font-size: var(--fs-small);
  color: var(--muted-2);
  line-height: 1.55;
  margin-bottom: 1.5rem;
}
.plan--featured .plan__tagline { color: var(--n400); }

.plan__contains {
  font-size: var(--fs-small);
  font-weight: 500;
  margin-bottom: 0.9rem;
}

.plan__spec {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 0.7rem;
  padding-bottom: 1.15rem;
  margin-bottom: 1.15rem;
  border-bottom: 1px solid var(--line);
  font-family: 'NF Mono', ui-monospace, monospace;
  font-size: 0.6875rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted-3);
}
.plan--featured .plan__spec { border-color: var(--on-dark-line); color: var(--n500); }

.plan__features { display: grid; gap: 0.65rem; margin-bottom: 1.75rem; flex: 1; }
.plan__feature {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: var(--fs-small);
  line-height: 1.5;
  color: var(--muted);
}
.plan__feature svg { flex: none; margin-top: 0.32em; color: var(--muted-3); }
.plan--featured .plan__feature { color: var(--n300); }
.plan--featured .plan__feature svg { color: var(--n500); }

/* The reference's plan CTA is a full-width row with a trailing arrow */
.plan__cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--line);
  font-size: var(--fs-body);
  font-weight: 500;
  transition: color 0.3s;
}
.plan--featured .plan__cta { border-color: var(--on-dark-line); }
.plan__cta:hover { color: var(--brand); }
.plan__cta svg { transition: transform 0.4s var(--ease-out); }
.plan__cta:hover svg { transform: translateX(4px); }

.pricing-note {
  margin-top: clamp(1.5rem, 2.6vw, 2.25rem);
  font-size: var(--fs-small);
  color: var(--muted-2);
  text-align: center;
}

/* Add-ons */
.addon-group { margin-bottom: clamp(2.25rem, 4.5vw, 3.25rem); }
.addon-group__head {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--line-strong);
}
.addon-group__title { font-size: var(--fs-h4); font-weight: 500; letter-spacing: -0.025em; }
.addon-group__count {
  font-family: 'NF Mono', ui-monospace, monospace;
  font-size: 0.6875rem;
  color: var(--muted-3);
}

.addon {
  display: grid;
  gap: 0.3rem 1.5rem;
  padding-block: 1.1rem;
  border-bottom: 1px solid var(--line);
  align-items: center;
  transition: padding-left 0.45s var(--ease-out);
}
@media (min-width: 760px) {
  .addon { grid-template-columns: minmax(0, 15rem) 1fr auto; }
  .addon:hover { padding-left: 0.85rem; }
}
.addon__name {
  font-weight: 500;
  font-size: var(--fs-body);
  letter-spacing: -0.015em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.addon__pop {
  font-family: 'NF Mono', ui-monospace, monospace;
  font-size: 0.5625rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand);
  border: 1px solid currentColor;
  border-radius: var(--radius-pill);
  padding: 0.08rem 0.42rem;
}
.addon__body { font-size: var(--fs-small); color: var(--muted-2); line-height: 1.55; }
.addon__price { display: flex; align-items: baseline; gap: 0.3rem; font-weight: 500; white-space: nowrap; }
.addon__prefix, .addon__unit { font-size: 0.75rem; font-weight: 400; color: var(--muted-3); }
.addon__amount { font-size: 1.125rem; letter-spacing: -0.02em; }

/* --------------------------------------------------------------------------
   Comparison table
   -------------------------------------------------------------------------- */
.compare {
  overflow-x: auto;
  border-radius: clamp(16px, 2vw, 24px);
  background: var(--paper-2);
  -webkit-overflow-scrolling: touch;
}
.compare__table { width: 100%; min-width: 46rem; border-collapse: collapse; font-size: var(--fs-small); }
.compare__table th, .compare__table td {
  padding: 1rem 1.25rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}
.compare__table tbody tr:last-child th, .compare__table tbody tr:last-child td { border-bottom: 0; }
.compare__table thead th { background: var(--paper-3); border-bottom: 1px solid var(--line-strong); }
.compare__table tbody th {
  font-family: 'NF Mono', ui-monospace, monospace;
  font-size: 0.6875rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-3);
  white-space: nowrap;
  width: 12rem;
}
.compare__name { display: block; font-size: 1.0625rem; font-weight: 500; letter-spacing: -0.025em; color: var(--ink); }
.compare__price { display: block; margin-top: 0.15rem; font-family: 'NF Mono', ui-monospace, monospace; font-size: 0.6875rem; color: var(--brand); }
.compare__list { display: grid; gap: 0.4rem; }
.compare__list li { position: relative; padding-left: 0.9rem; line-height: 1.45; color: var(--muted-2); }
.compare__list li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.62em;
  width: 5px; height: 1px;
  background: var(--brand);
}

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: clamp(1.15rem, 2.2vw, 1.6rem);
  text-align: left;
  font-size: clamp(1rem, 1.7vw, 1.25rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  font-family: 'Switzer', sans-serif;
  transition: color 0.25s;
}
.faq__q:hover { color: var(--brand); }
.faq__icon { position: relative; width: 13px; height: 13px; flex: none; }
.faq__icon::before, .faq__icon::after {
  content: '';
  position: absolute;
  background: currentColor;
  transition: transform 0.45s var(--ease-out), opacity 0.3s;
}
.faq__icon::before { top: 50%; left: 0; width: 100%; height: 1.5px; transform: translateY(-50%); }
.faq__icon::after  { left: 50%; top: 0; height: 100%; width: 1.5px; transform: translateX(-50%); }
.faq__item.is-open .faq__icon::after { transform: translateX(-50%) rotate(90deg); opacity: 0; }

.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.45s var(--ease-out); }
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq__a-inner { overflow: hidden; }
.faq__a-text {
  padding-bottom: 1.5rem;
  max-width: 62ch;
  font-size: var(--fs-body);
  color: var(--muted-2);
  line-height: 1.65;
}

/* --------------------------------------------------------------------------
   Journal rows
   -------------------------------------------------------------------------- */
.posts { display: grid; }
.post-row {
  display: grid;
  gap: 0.6rem 2rem;
  padding-block: clamp(1.5rem, 3vw, 2.25rem);
  border-top: 1px solid var(--line);
  transition: padding-left 0.45s var(--ease-out);
}
.posts .post-row:last-child { border-bottom: 1px solid var(--line); }
@media (min-width: 900px) {
  .post-row { grid-template-columns: minmax(0, 13rem) 1fr minmax(0, 6rem); align-items: baseline; }
  .post-row:hover { padding-left: 1rem; }
}
.post-row__meta {
  font-family: 'NF Mono', ui-monospace, monospace;
  font-size: 0.6875rem;
  letter-spacing: 0.05em;
  color: var(--muted-3);
}
.post-row__title {
  font-size: clamp(1.15rem, 2.1vw, 1.6rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  margin-bottom: 0.45rem;
  transition: color 0.3s;
}
.post-row:hover .post-row__title { color: var(--brand); }
.post-row__excerpt { font-size: var(--fs-small); color: var(--muted-2); line-height: 1.6; max-width: 58ch; }
.post-row__time {
  font-family: 'NF Mono', ui-monospace, monospace;
  font-size: 0.6875rem;
  color: var(--muted-3);
}
@media (min-width: 900px) { .post-row__time { text-align: right; } }

/* --------------------------------------------------------------------------
   Marquee
   -------------------------------------------------------------------------- */
.marquee {
  overflow: hidden;
  padding-block: 1.1rem;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track { display: flex; width: max-content; animation: marquee 44s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee__item {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  padding-inline: 1.5rem;
  font-family: 'NF Mono', ui-monospace, monospace;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: var(--muted-2);
  white-space: nowrap;
}
.marquee__item::after {
  content: '';
  width: 3px; height: 3px;
  border-radius: 50%;
  background: var(--brand);
  opacity: 0.6;
}

/* --------------------------------------------------------------------------
   Forms
   -------------------------------------------------------------------------- */
.field { display: grid; gap: 0.4rem; margin-bottom: 1.15rem; }

.field__label {
  font-family: 'NF Mono', ui-monospace, monospace;
  font-size: var(--fs-micro);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.field__label span { color: var(--brand); }

.input, .select, .textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  font-size: 0.9375rem;
  transition: border-color 0.25s, box-shadow 0.25s, background-color 0.25s;
}
.input:focus, .select:focus, .textarea:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(25, 24, 19, 0.06);
}
.input::placeholder, .textarea::placeholder { color: var(--muted-3); }
.textarea { resize: vertical; min-height: 8rem; line-height: 1.6; }

.select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2375736a' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.field__error { font-size: 0.8125rem; color: var(--brand); }

/* Honeypot — hidden from people, visible to bots */
.hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  opacity: 0;
  pointer-events: none;
}

.checks { display: grid; gap: 0.5rem; }
.check {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: var(--fs-small);
  cursor: pointer;
  transition: border-color 0.25s, background-color 0.25s;
}
.check:hover { border-color: var(--line-strong); background: var(--paper-2); }
.check input { accent-color: var(--brand); margin-top: 0.15em; flex: none; }
.check__price { margin-left: auto; font-weight: 600; white-space: nowrap; }

/* Flash messages */
.flash {
  padding: 0.95rem 1.2rem;
  border-radius: var(--radius);
  font-size: var(--fs-small);
  margin-bottom: 1.5rem;
  border: 1px solid;
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
}
.flash--success { background: rgba(34, 139, 94, 0.08); border-color: rgba(34, 139, 94, 0.3); color: #1d6b48; }
.flash--error   { background: rgba(255, 77, 61, 0.07); border-color: rgba(255, 77, 61, 0.3); color: #c2352a; }

/* --------------------------------------------------------------------------
   CTA band
   -------------------------------------------------------------------------- */
.cta {
  background: var(--ink-deep);
  color: var(--paper);
  border-radius: var(--radius-lg);
  padding: clamp(2.5rem, 6vw, 5rem);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.cta::before {
  content: '';
  position: absolute;
  inset: auto -10% -60% 30%;
  height: 120%;
  z-index: -1;
  background: radial-gradient(50% 50% at 50% 50%, rgba(255, 77, 61, 0.28), transparent 70%);
  filter: blur(40px);
}
.cta__title { font-size: var(--fs-h2); max-width: 16ch; margin-bottom: 1.25rem; }
.cta__body { color: rgba(250, 249, 245, 0.62); max-width: 40ch; margin-bottom: 2rem; font-size: var(--fs-body); }
.cta__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }
.cta__note { font-size: 0.8125rem; color: rgba(250, 249, 245, 0.4); margin-top: 1.5rem; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--paper-2);
  border-top: 1px solid var(--line);
  padding-top: clamp(3rem, 6vw, 5rem);
  overflow: hidden;
}

.footer-grid {
  display: grid;
  gap: 2.5rem;
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
}
@media (min-width: 760px)  { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 3rem; } }

.footer__blurb { font-size: var(--fs-small); color: var(--muted); line-height: 1.65; max-width: 30ch; margin-top: 1rem; }

.footer__title {
  font-family: 'NF Mono', ui-monospace, monospace;
  font-size: var(--fs-micro);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-3);
  margin-bottom: 1.15rem;
}
.footer__list { display: grid; gap: 0.6rem; }
.footer__link {
  font-size: var(--fs-small);
  color: var(--muted);
  transition: color 0.25s, transform 0.3s var(--ease);
  display: inline-block;
}
.footer__link:hover { color: var(--ink); transform: translateX(3px); }

.newsletter { display: flex; gap: 0.5rem; margin-top: 1rem; }
.newsletter .input { padding: 0.7rem 0.9rem; font-size: 0.875rem; }
.newsletter .btn { padding-inline: 1.1rem; }

/* Oversized wordmark */
.footer-word {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.06em;
  padding-block: clamp(1rem, 3vw, 2rem);
  font-size: clamp(3.5rem, 15.5vw, 15rem);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 0.85;
  color: var(--ink);
  user-select: none;
  white-space: nowrap;
}
.footer-word sup { font-size: 0.22em; vertical-align: super; opacity: 0.45; }

.footer-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.5rem;
  border-top: 1px solid var(--line);
  font-size: 0.8125rem;
  color: var(--muted-2);
}
.footer-bar__links { display: flex; gap: 1.25rem; flex-wrap: wrap; }

/* --------------------------------------------------------------------------
   Article / rich text
   -------------------------------------------------------------------------- */
.prose { max-width: var(--maxw-text); font-size: 1.0625rem; line-height: 1.75; color: var(--muted); }
.prose > * + * { margin-top: 1.35em; }
.prose h2 { font-size: var(--fs-h3); color: var(--ink); margin-top: 2.25em; }
.prose h3 { font-size: var(--fs-h4); color: var(--ink); margin-top: 1.9em; }
.prose h4 { font-size: 1.0625rem; color: var(--ink); margin-top: 1.7em; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose ul, .prose ol { display: grid; gap: 0.6em; padding-left: 1.2em; }
.prose ul li { list-style: none; position: relative; }
.prose ul li::before {
  content: '';
  position: absolute;
  left: -1.1em; top: 0.72em;
  width: 5px; height: 1px;
  background: var(--brand);
}
.prose ol { list-style: decimal; }
.prose ol li::marker { color: var(--muted-3); font-size: 0.9em; }
.prose a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-strong); }
.prose a:hover { text-decoration-color: var(--brand); }
.prose code {
  font-family: 'NF Mono', ui-monospace, monospace;
  font-size: 0.875em;
  background: var(--paper-2);
  padding: 0.15em 0.4em;
  border-radius: 4px;
}

/* --------------------------------------------------------------------------
   Detail page header
   -------------------------------------------------------------------------- */
.crumbs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'NF Mono', ui-monospace, monospace;
  font-size: var(--fs-micro);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-3);
  margin-bottom: 2rem;
  flex-wrap: wrap;
}
.crumbs a:hover { color: var(--ink); }

.detail-head { padding-top: clamp(7rem, 12vw, 9.5rem); }
.detail-head__title { font-size: var(--fs-h1); max-width: 16ch; margin-bottom: 1.25rem; }
.detail-head__lede { font-size: clamp(1rem, 1.4vw, 1.1875rem); color: var(--muted); max-width: 42rem; line-height: 1.6; }

.meta-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  padding-block: clamp(1.5rem, 3vw, 2.25rem);
  margin-top: clamp(2rem, 4vw, 3rem);
  border-block: 1px solid var(--line);
}
@media (min-width: 760px) { .meta-row { grid-template-columns: repeat(4, 1fr); } }
.meta-row__label {
  font-family: 'NF Mono', ui-monospace, monospace;
  font-size: var(--fs-micro);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-3);
  margin-bottom: 0.4rem;
}
.meta-row__value { font-size: var(--fs-small); font-weight: 500; }

.hero-media {
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--paper-3);
  position: relative;
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; }

/* --------------------------------------------------------------------------
   Journal cards
   -------------------------------------------------------------------------- */
.posts { display: grid; gap: 1px; background: var(--line); border-block: 1px solid var(--line); }

.post-row {
  background: var(--paper);
  display: grid;
  gap: 0.75rem 2rem;
  padding-block: clamp(1.5rem, 3vw, 2.25rem);
  transition: background-color 0.4s var(--ease), padding-left 0.4s var(--ease);
}
@media (min-width: 900px) {
  .post-row { grid-template-columns: minmax(0, 12rem) 1fr minmax(0, 6rem); align-items: baseline; }
  .post-row:hover { padding-left: 1.25rem; }
}
.post-row:hover { background: var(--paper-2); }

.post-row__meta {
  font-family: 'NF Mono', ui-monospace, monospace;
  font-size: var(--fs-micro);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-3);
}
.post-row__title { font-size: clamp(1.15rem, 2vw, 1.5rem); margin-bottom: 0.5rem; transition: color 0.3s; }
.post-row:hover .post-row__title { color: var(--brand); }
.post-row__excerpt { font-size: var(--fs-small); color: var(--muted); line-height: 1.6; max-width: 55ch; }
.post-row__time {
  font-family: 'NF Mono', ui-monospace, monospace;
  font-size: var(--fs-micro);
  color: var(--muted-3);
  text-align: left;
}
@media (min-width: 900px) { .post-row__time { text-align: right; } }

/* --------------------------------------------------------------------------
   Scroll-reveal animation
   -------------------------------------------------------------------------- */
/* Block reveal: fade up with a slight blur, matching the reference feel. */
[data-reveal] {
  opacity: 0;
  transform: translateY(1.25rem);
  filter: blur(6px);
  transition:
    opacity 0.6s var(--ease-out),
    transform 0.8s var(--ease-out),
    filter 0.6s var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform, filter;
}
[data-reveal].is-in {
  opacity: 1;
  transform: none;
  filter: blur(0);
}
[data-reveal].is-in.reveal-done { will-change: auto; }

/* Line-by-line headline reveal.

   Each line sits in its own overflow-hidden mask and rises into place from
   below with the blur clearing as it lands — the reference animates all three
   properties together, which is what gives the type its weight on entry. */
.reveal-lines { display: block; }
.reveal-lines__line {
  display: block;
  overflow: hidden;
  /* Descenders would otherwise be clipped by the mask. */
  margin-bottom: -0.15em;
  padding-bottom: 0.15em;
}
.reveal-lines__inner {
  display: block;
  transform: translateY(105%);
  filter: blur(10px);
  opacity: 0;
  transition:
    transform 1s var(--ease-out),
    filter 0.8s var(--ease-out),
    opacity 0.55s var(--ease-out);
  transition-delay: var(--line-delay, 0ms);
  will-change: transform, filter, opacity;
}
.is-in .reveal-lines__inner,
.reveal-lines.is-in .reveal-lines__inner {
  transform: none;
  filter: blur(0);
  opacity: 1;
}

/* --------------------------------------------------------------------------
   Utilities
   -------------------------------------------------------------------------- */
.stack { display: grid; }
.stack-sm { gap: 0.75rem; }
.stack-md { gap: 1.25rem; }
.stack-lg { gap: 2rem; }

.row { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }
.row--between { justify-content: space-between; }

.mt-sm { margin-top: 1rem; }
.mt-md { margin-top: 2rem; }
.mt-lg { margin-top: clamp(2.5rem, 5vw, 4rem); }

.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;
}

.divider { height: 1px; background: var(--line); border: 0; }

/* Empty state */
.empty {
  text-align: center;
  padding: clamp(3rem, 8vw, 5rem) 1.5rem;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-lg);
  color: var(--muted-2);
}

/* --------------------------------------------------------------------------
   Error pages
   -------------------------------------------------------------------------- */
.page-error main { min-height: 70svh; display: grid; place-items: center; }
.error-code {
  font-size: clamp(5rem, 20vw, 12rem);
  font-weight: 700;
  letter-spacing: -0.06em;
  line-height: 0.85;
  background: var(--brand-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* --------------------------------------------------------------------------
   Motion and contrast preferences
   -------------------------------------------------------------------------- */
@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;
  }
  .preloader { display: none !important; }
  .site-header,
  .hero__badge, .hero__meta, .hero__cue { opacity: 1 !important; transform: translateX(-50%) !important; }
  .hero__badge, .hero__meta, .hero__cue { transform: none !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; filter: none !important; }
  .reveal-lines__inner { transform: none !important; filter: none !important; opacity: 1 !important; }
  .hero__field, .hero__grain { animation: none !important; }
  .marquee__track { animation: none; }
  .hero__field { animation: none; }
}

@media print {
  .site-header, .nav-drawer, .cta, .site-footer, .hero__cue { display: none !important; }
  body { background: #fff; color: #000; }
  .section { padding-block: 1.5rem; }
}

/* --------------------------------------------------------------------------
   Pricing comparison table
   -------------------------------------------------------------------------- */
.compare {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--paper);
  -webkit-overflow-scrolling: touch;
}

.compare__table {
  width: 100%;
  min-width: 46rem;
  border-collapse: collapse;
  font-size: var(--fs-small);
}

.compare__table th,
.compare__table td {
  padding: 1.1rem 1.25rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}
.compare__table tbody tr:last-child th,
.compare__table tbody tr:last-child td { border-bottom: 0; }

.compare__table thead th {
  position: sticky;
  top: 0;
  background: var(--paper-2);
  border-bottom: 1px solid var(--line-strong);
  z-index: 1;
}

.compare__table tbody th {
  font-family: 'NF Mono', ui-monospace, monospace;
  font-size: var(--fs-micro);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-2);
  white-space: nowrap;
  width: 12rem;
  background: var(--paper-2);
}

.compare__name {
  display: block;
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.compare__price {
  display: block;
  margin-top: 0.15rem;
  font-family: 'NF Mono', ui-monospace, monospace;
  font-size: var(--fs-micro);
  letter-spacing: 0.08em;
  color: var(--brand);
}

.compare__list { display: grid; gap: 0.45rem; }
.compare__list li {
  position: relative;
  padding-left: 0.95rem;
  line-height: 1.45;
  color: var(--muted);
}
.compare__list li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.62em;
  width: 5px; height: 1px;
  background: var(--brand);
}

/* Tablets: the full table fits without sideways scrolling. */
@media (min-width: 810px) and (max-width: 1100px) {
  .compare__table { min-width: 0; }
  .compare__table th,
  .compare__table td { padding: 0.95rem 0.9rem; }
  .compare__table tbody th { white-space: normal; width: 8.5rem; }
}

/* Phones and tablets: small uppercase labels at a readable 12px. */
@media (max-width: 1439.98px) {
  .meta-row__label,
  .plan__spec { font-size: 0.75rem; }
}

/* Phones: the package cards above already carry each package's features and
   button, so the comparison becomes a compact spec grid — package names
   across the top, each row's label above its three values. */
@media (max-width: 809.98px) {
  .compare { overflow: visible; }
  .compare__table,
  .compare__table thead,
  .compare__table tbody { display: block; min-width: 0; }
  .compare__table tr {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-bottom: 1px solid var(--line);
  }
  .compare__table tbody tr:last-of-type { border-bottom: 0; }
  .compare__table th,
  .compare__table td { padding: 0.85rem 0.9rem; border-bottom: 0; }
  .compare__table thead th { position: static; }
  .compare__table thead th:first-child { display: none; }
  .compare__table tbody th {
    grid-column: 1 / -1;
    width: auto;
    padding-bottom: 0.2rem;
    background: transparent;
    font-size: 0.75rem;
  }
  .compare__table tbody td { padding-top: 0.25rem; color: var(--ink); }
  .compare__row--list,
  .compare__row--cta { display: none !important; }
}

/* --------------------------------------------------------------------------
   Detail page body (main column + sticky aside)
   -------------------------------------------------------------------------- */
.detail-body { display: grid; gap: clamp(2rem, 5vw, 4rem); }
@media (min-width: 960px) {
  .detail-body {
    grid-template-columns: minmax(0, 1fr) minmax(0, 17rem);
    align-items: start;
  }
  .detail-body__aside { position: sticky; top: 7rem; }
}
.detail-body__aside .footer__list li { margin: 0; }
.detail-body__aside .footer__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

/* ==========================================================================
   Tools, service detail and footer corrections
   ========================================================================== */

/* --------------------------------------------------------------------------
   Tools — real brand marks rather than text tiles
   -------------------------------------------------------------------------- */
.bento__cell--tools { justify-content: space-between; }

.tools {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.5rem;
  margin-top: 1.1rem;
}
@media (max-width: 480px) { .tools { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.tool-tile {
  aspect-ratio: 1;
  border-radius: 12px;
  background: var(--paper);
  display: grid;
  place-items: center;
  transition: transform 0.4s var(--ease-out), background-color 0.3s;
}
.tool-tile:hover { transform: translateY(-3px); background: var(--white); }
.tool-tile img {
  width: 55%;
  height: 55%;
  object-fit: contain;
  /* The marks ship as single-colour SVGs; keep them calm until hovered. */
  opacity: 0.66;
  transition: opacity 0.3s;
}
.tool-tile:hover img { opacity: 1; }

/* --------------------------------------------------------------------------
   Service detail — the inner points each service covers
   -------------------------------------------------------------------------- */
@media (min-width: 900px) {
  .service {
    grid-template-columns: 3.5rem minmax(0, 1fr) minmax(0, 17rem);
    align-items: start;
  }
  .service__thumb { display: none; }
}

.service__main { min-width: 0; }

.service__points {
  display: grid;
  gap: 0.45rem;
  align-content: start;
}
.service__points li {
  position: relative;
  padding-left: 0.95rem;
  font-size: var(--fs-small);
  line-height: 1.5;
  color: var(--n400);
}
.service__points li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 5px;
  height: 1px;
  background: var(--brand);
}

/* --------------------------------------------------------------------------
   Footer — the wordmark was clipping and the columns collapsed on mobile
   -------------------------------------------------------------------------- */
.footer-grid {
  display: grid;
  gap: 2rem 1.5rem;
  padding-bottom: clamp(2rem, 4vw, 3.5rem);
  grid-template-columns: 1fr;
}
@media (min-width: 560px)  { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1.4fr; gap: 3rem; } }

.footer__brand-mark {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: 'Switzer', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.footer__brand-mark img { width: 30px; height: 30px; border-radius: 50%; flex: none; }

/* The oversized wordmark is set from the viewport so it always fits the
   line exactly, instead of overflowing and clipping to "No Faul". */
.footer-word {
  display: block;
  width: 100%;
  padding-block: clamp(0.75rem, 2vw, 1.75rem);
  text-align: center;
  line-height: 1;
  overflow: hidden;
}
.footer-word svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}
.footer-word text {
  font-family: 'Switzer', 'Inter', sans-serif;
  font-weight: 700;
  letter-spacing: -0.045em;
  fill: var(--ink);
}

.footer-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  padding-block: 1.25rem;
  border-top: 1px solid var(--line);
  font-size: 0.8125rem;
  color: var(--muted-2);
}
@media (max-width: 559px) {
  .footer-bar { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
  .footer-bar__links { gap: 1rem; }
}

/* ==========================================================================
   Quote builder
   ========================================================================== */
.builder { display: grid; gap: clamp(1.5rem, 3vw, 2.5rem); align-items: start; }
@media (min-width: 1020px) {
  .builder { grid-template-columns: minmax(0, 1fr) minmax(0, 21rem); }
}

.builder__main { display: grid; gap: clamp(2rem, 4vw, 3rem); min-width: 0; }

.builder__step { border: 0; padding: 0; margin: 0; min-width: 0; }

.builder__legend {
  display: flex;
  align-items: baseline;
  gap: 0.7rem;
  font-family: 'Switzer', sans-serif;
  font-size: var(--fs-h4);
  font-weight: 500;
  letter-spacing: -0.025em;
  margin-bottom: 0.65rem;
  padding: 0;
}
.builder__num {
  font-family: 'NF Mono', ui-monospace, monospace;
  font-size: 0.6875rem;
  color: var(--brand);
}
.builder__hint {
  font-size: var(--fs-small);
  color: var(--muted-2);
  line-height: 1.55;
  margin-bottom: 1.25rem;
  max-width: 54ch;
}

/* ---------------- Package picker ---------------- */
.picker { display: grid; gap: 0.75rem; }
@media (min-width: 760px) { .picker { grid-template-columns: repeat(3, 1fr); } }

.picker__option { position: relative; cursor: pointer; display: block; }
.picker__option input {
  position: absolute;
  opacity: 0;
  width: 1px; height: 1px;
}

.picker__body {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: clamp(1.1rem, 2vw, 1.5rem);
  border-radius: clamp(14px, 1.6vw, 20px);
  background: var(--paper-2);
  border: 1.5px solid transparent;
  transition: border-color 0.25s, background-color 0.3s, transform 0.4s var(--ease-out);
}
.picker__option:hover .picker__body { background: var(--paper-3); transform: translateY(-2px); }
.picker__option input:checked + .picker__body {
  border-color: var(--brand);
  background: var(--paper);
}
.picker__option input:focus-visible + .picker__body {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

.picker__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.3rem;
}
.picker__name { font-size: 1.0625rem; font-weight: 600; letter-spacing: -0.02em; }
.picker__price {
  font-family: 'Switzer', sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}
.picker__tagline {
  display: block;
  font-size: var(--fs-small);
  color: var(--muted-2);
  line-height: 1.5;
  margin-bottom: 0.85rem;
}
.picker__spec {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.6rem;
  padding-bottom: 0.85rem;
  margin-bottom: 0.85rem;
  border-bottom: 1px solid var(--line);
  font-family: 'NF Mono', ui-monospace, monospace;
  font-size: 0.625rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted-3);
}
.picker__features { display: grid; gap: 0.4rem; }
.picker__feature {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--muted);
}
.picker__feature svg { flex: none; margin-top: 0.34em; color: var(--brand); }

/* ---------------- Add-on options ---------------- */
.builder__group { margin-bottom: 1.75rem; }
.builder__group-title {
  display: flex;
  align-items: baseline;
  gap: 0.7rem;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  padding-bottom: 0.6rem;
  margin-bottom: 0.5rem;
  border-bottom: 1px solid var(--line);
}
.builder__group-count {
  font-family: 'NF Mono', ui-monospace, monospace;
  font-size: 0.625rem;
  color: var(--muted-3);
}

.addon-picker__list { display: grid; gap: 0.35rem; }

.addon-opt {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.7rem 0.85rem;
  border-radius: 10px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s;
}
.addon-opt:hover { background: var(--paper-2); }
.addon-opt:has(input:checked) { background: var(--paper-2); border-color: var(--line-strong); }
.addon-opt input { accent-color: var(--brand); margin-top: 0.22em; flex: none; }

.addon-opt__body { flex: 1; min-width: 0; }
.addon-opt__name {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.addon-opt__desc {
  display: block;
  font-size: 0.8125rem;
  color: var(--muted-2);
  line-height: 1.45;
  margin-top: 0.15rem;
}
.addon-opt__price {
  flex: none;
  font-size: 0.9375rem;
  font-weight: 600;
  white-space: nowrap;
  padding-top: 0.1rem;
}

/* ---------------- Running total ---------------- */
@media (min-width: 1020px) {
  .builder__summary { position: sticky; top: 6.5rem; }
}

.summary {
  background: var(--n900);
  color: var(--on-dark);
  border-radius: clamp(16px, 2vw, 22px);
  padding: clamp(1.25rem, 2.4vw, 1.75rem);
}
.summary__label {
  font-family: 'NF Mono', ui-monospace, monospace;
  font-size: 0.625rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--n500);
}
.summary__total {
  font-family: 'Switzer', sans-serif;
  font-size: clamp(2.25rem, 4.5vw, 2.85rem);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.05;
  margin-top: 0.3rem;
}
.summary__recurring {
  font-size: var(--fs-small);
  color: var(--brand);
  min-height: 1.3em;
}
.summary .divider { background: var(--on-dark-line); margin: 1.1rem 0; }

.summary__lines { display: grid; gap: 0.5rem; max-height: 17rem; overflow-y: auto; }
.summary__lines li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.8125rem;
  color: var(--n300);
}
.summary__lines li span:last-child { color: var(--on-dark); white-space: nowrap; }
.summary__lines .summary__empty { color: var(--n500); }
.summary__lines .summary__line--pkg { font-weight: 600; color: var(--on-dark); }

.summary__note { font-size: 0.75rem; color: var(--n500); line-height: 1.5; }

.field-row { display: grid; gap: 0 1rem; }
@media (min-width: 620px) { .field-row { grid-template-columns: repeat(2, 1fr); } }

/* --------------------------------------------------------------------------
   Bento — explicit placement on wide screens so no cell is left orphaned
   portrait | years     | projects
   portrait | countries | tools
   portrait | reply     | tools
   -------------------------------------------------------------------------- */
@media (min-width: 1080px) {
  .bento {
    grid-template-areas:
      "portrait s0 s1"
      "portrait s2 tools"
      "portrait s3 tools";
  }
  .bento__cell--portrait { grid-area: portrait; }
  .bento__cell--s0 { grid-area: s0; }
  .bento__cell--s1 { grid-area: s1; }
  .bento__cell--s2 { grid-area: s2; }
  .bento__cell--s3 { grid-area: s3; }
  .bento__cell--tools { grid-area: tools; }
}

/* Without a photo the card carries the studio mark instead of a blank field */
.bento__portrait-fallback {
  display: grid;
  place-items: center;
  background:
    radial-gradient(60% 50% at 50% 42%, rgba(255, 77, 61, 0.28), transparent 70%),
    var(--n950, #0a0a0a);
}
.bento__portrait-fallback img {
  width: min(46%, 11rem);
  height: auto;
  margin-bottom: 3rem;
  transition: transform 0.9s cubic-bezier(0.51, 0.01, 0.02, 1.01);
}
.bento__cell--portrait:hover .bento__portrait-fallback img { transform: rotate(-8deg) scale(1.04); }
.bento__cell--portrait .bento__portrait-img img { transition: transform 0.9s cubic-bezier(0.51, 0.01, 0.02, 1.01); }
.bento__cell--portrait:hover .bento__portrait-img img { transform: scale(1.03); }

/* Two-letter initials need a little more room inside the overlap */
.avatars__item { margin-left: -8px; font-size: 0.68rem; letter-spacing: -0.03em; }
.avatars__item:first-child { margin-left: 0; }

/* ==========================================================================
   Animated page header (views/partials/page-hero.ejs, public/js/page-hero.js)
   Phone first; tablet from 810px, desktop from 1440px — the template's
   breakpoints.
   ========================================================================== */
.ph {
  --ph-ink: #0b0b0a;
  --ph-muted: #737373;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: #f5f5f5;
  padding: 124px 20px 0;
  display: flex;
  flex-direction: column;
}
.ph--compact { padding-bottom: 8px; }

/* ---- Work fan: three photos of the studio's work and a spinning badge.
   Phones: below the intro, full width. Tablet and desktop: the right-hand
   column. Cards deal out from a stack, float, lean towards the pointer and
   spread when hovered. Sizes are percentages of .ph__art, so one set of
   positions serves every breakpoint. ---- */
.ph__visual {
  --cw: 40%;            /* card width */
  position: relative;
  z-index: 0;
  width: 100%;
  max-width: 560px;
  margin: 32px auto 8px;
}
.ph__art { position: relative; width: 100%; aspect-ratio: 6 / 5; }
.ph__glow {
  position: absolute;
  inset: 8% 6% 4% 10%;
  border-radius: 50%;
  background:
    radial-gradient(closest-side at 35% 40%, rgba(255, 95, 58, 0.55), transparent),
    radial-gradient(closest-side at 68% 62%, rgba(255, 45, 104, 0.5), transparent);
  filter: blur(36px);
  opacity: 0;
  transform: translate3d(calc(var(--px, 0) * -18px), calc(var(--py, 0) * -14px), 0) scale(0.8);
  transition: opacity 1.4s ease, transform 1.6s cubic-bezier(.16,1,.3,1);
}
.ph.is-in .ph__glow { opacity: 1; transform: translate3d(calc(var(--px, 0) * -18px), calc(var(--py, 0) * -14px), 0); animation: ph-glow 9s ease-in-out 1.6s infinite alternate; }
@keyframes ph-glow { to { transform: translate3d(calc(var(--px, 0) * -18px), calc(var(--py, 0) * -14px), 0) scale(1.12) rotate(24deg); } }

.ph__card {
  --r: 0deg; --fx: 0%; --sx: 0px; --sy: 0px; --z: 12;
  position: absolute;
  width: var(--cw);
  aspect-ratio: 4 / 5;
  margin: 0;
  transform: translate3d(calc(var(--px, 0) * var(--z) * 1px), calc(var(--py, 0) * var(--z) * 1px), 0);
}
.ph__card--1 { --r: -9deg;  --fx: 62%;  --z: 10; left: 1%;  top: 12%; z-index: 1; }
.ph__card--2 { --r: 3deg;   --fx: 0%;   --z: 18; left: calc(50% - var(--cw) / 2); top: 0; z-index: 2; }
.ph__card--3 { --r: 11deg;  --fx: -62%; --z: 28; right: 1%; top: 30%; z-index: 3; }

.ph__card-deal {
  width: 100%;
  height: 100%;
  opacity: 0;
  transform: translate(var(--fx), 18%) rotate(0deg) scale(0.86);
  transition: opacity .6s ease, transform 1.3s cubic-bezier(.16,1,.3,1);
  transition-delay: calc(.35s + var(--k, 0) * .12s);
}
.ph__card--2 .ph__card-deal { --k: 0; }
.ph__card--1 .ph__card-deal { --k: 1; }
.ph__card--3 .ph__card-deal { --k: 2; }
.ph.is-in .ph__card-deal { opacity: 1; transform: translate(var(--sx), var(--sy)) rotate(var(--r)); }
.ph.is-settled .ph__card-deal { transition: transform .8s cubic-bezier(.16,1,.3,1); transition-delay: 0s; }

.ph__card-float {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 14px;
  background: #e5e5e5;
  box-shadow: 0 1px 0 rgba(255,255,255,.6) inset, 0 24px 48px -16px rgba(11, 11, 10, 0.35), 0 4px 12px rgba(11, 11, 10, 0.08);
  animation: ph-float 6s ease-in-out infinite alternate;
  animation-delay: calc(var(--k, 0) * -2s);
}
@keyframes ph-float { from { transform: translateY(-5px); } to { transform: translateY(7px); } }
.ph__card-float img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  transition: transform 1.2s cubic-bezier(.16,1,.3,1);
}
.ph__card figcaption {
  position: absolute;
  left: 8px; right: 8px; bottom: 8px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.82);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  font: 500 11px/1.2 "Inter", sans-serif;
  color: var(--ph-ink);
  white-space: nowrap;
  overflow: hidden;
}
.ph__card figcaption span { overflow: hidden; text-overflow: ellipsis; }
.ph__card figcaption small { display: none; flex: none; font-weight: 400; color: var(--ph-muted); }

/* Hover (mouse): the fan opens up and the photos ease in. */
.ph__visual:hover .ph__card--1 { --sx: -14%; --sy: 2%; --r: -14deg; }
.ph__visual:hover .ph__card--2 { --sy: -5%; --r: 1deg; }
.ph__visual:hover .ph__card--3 { --sx: 14%; --sy: 3%; --r: 16deg; }
.ph__visual:hover .ph__card-float img { transform: scale(1); }

/* Badge: ring text turns slowly; the core is the scroll link's arrow. */
.ph__badge {
  --bs: 96px;
  position: absolute;
  z-index: 4;
  left: 0;
  bottom: -2%;
  width: var(--bs);
  height: var(--bs);
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  color: var(--ph-ink);
  box-shadow: 0 18px 40px -12px rgba(11, 11, 10, 0.3);
  opacity: 0;
  transform: scale(0.4) rotate(-40deg);
  transition: opacity .6s ease .9s, transform 1.1s cubic-bezier(.34,1.56,.64,1) .9s;
}
.ph.is-in .ph__badge { opacity: 1; transform: none; }
.ph.is-settled .ph__badge { transition: transform .5s cubic-bezier(.34,1.56,.64,1); }
.ph__badge:hover { transform: scale(1.06); }
.ph__badge:focus-visible { outline: 2px solid var(--ph-ink); outline-offset: 4px; }
.ph__badge-ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  animation: ph-spin 16s linear infinite;
}
.ph__badge-ring text { font: 600 9.6px "Inter", sans-serif; letter-spacing: 0.08em; fill: currentColor; }
.ph__badge-core {
  position: relative;
  display: grid;
  place-items: center;
  width: 44%;
  height: 44%;
  border-radius: 50%;
  color: #fff;
  background: var(--brand-grad, linear-gradient(135deg, #ff5f3a, #ff2d68));
  overflow: hidden;
}
.ph__badge-core svg { animation: ph-nudge 2.2s cubic-bezier(.65,0,.35,1) infinite; }
@keyframes ph-spin { to { transform: rotate(360deg); } }
@keyframes ph-nudge { 0%, 20% { transform: translateY(-140%); } 55%, 70% { transform: none; } 100% { transform: translateY(140%); } }

/* Compact (tool pages): a shorter, wider strip on phones. */
.ph--compact .ph__visual { --cw: 30%; max-width: 640px; margin-top: 24px; }
.ph--compact .ph__art { aspect-ratio: 2 / 1; }
.ph--compact .ph__card--3 { top: 22%; }
.ph--compact .ph__badge { --bs: 80px; }

.ph__inner {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 1384px;
  margin: 0 auto;
}

.ph__eyebrow {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 0 0 20px;
  font: 400 12px/16px "Inter", sans-serif;
  color: var(--ph-ink);
}
.ph__slashes { display: inline-flex; letter-spacing: -0.06em; color: var(--ph-muted); }

.ph__title {
  margin: 0;
  font-family: "Switzer", "Inter", sans-serif;
  font-weight: 500;
  font-size: 44px;
  line-height: 1.04;
  letter-spacing: -0.035em;
  color: var(--ph-ink);
}
.ph__line { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.ph__line-inner {
  display: inline-block;
  transform: translateY(105%);
  transition: transform 1s cubic-bezier(.16,1,.3,1);
  transition-delay: calc(var(--d, 0) * 1s);
}
.ph.is-in .ph__line-inner { transform: none; }

.ph__foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-top: 24px;
}
.ph__lede {
  margin: 0;
  max-width: 34ch;
  font: 400 15px/1.55 "Inter", sans-serif;
  color: #525252;
}

[data-ph-fade] {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .8s cubic-bezier(.16,1,.3,1), transform .8s cubic-bezier(.16,1,.3,1);
  transition-delay: calc(var(--d, 0) * 1s);
}
.ph.is-in [data-ph-fade] { opacity: 1; transform: none; }

/* Scroll cue: a line that keeps drawing downwards. */
.ph__cue { position: relative; flex: none; width: 24px; height: 72px; display: block; }
.ph__cue-line { position: absolute; left: 50%; top: 0; bottom: 8px; width: 1px; background: rgba(11, 11, 10, .18); overflow: hidden; }
.ph__cue-line::after {
  content: "";
  position: absolute; left: 0; top: 0; width: 1px; height: 45%;
  background: var(--ph-ink);
  animation: ph-cue 1.8s cubic-bezier(.65,0,.35,1) infinite;
}
.ph__cue::after {
  content: "";
  position: absolute; left: 50%; bottom: 6px; width: 9px; height: 9px;
  border-right: 1px solid var(--ph-ink); border-bottom: 1px solid var(--ph-ink);
  transform: translateX(-50%) rotate(45deg);
}
@keyframes ph-cue { 0% { transform: translateY(-100%); } 100% { transform: translateY(230%); } }

/* Stats: a hairline draws in, then the number counts up. */
.ph__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 16px;
  margin: 40px 0 0;
}
.ph__stat { position: relative; padding: 18px 0 20px; }
.ph__stat::before {
  content: "";
  position: absolute; left: 0; right: 0; top: 0; height: 1px;
  background: rgba(11, 11, 10, .14);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.1s cubic-bezier(.65,0,.35,1);
  transition-delay: calc(.35s + var(--i) * .1s);
}
.ph.is-in .ph__stat::before { transform: none; }
.ph__stat-label {
  margin: 0 0 8px;
  font: 400 12px/16px "Inter", sans-serif;
  color: var(--ph-muted);
}
.ph__stat-value {
  margin: 0;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px;
  font-family: "Switzer", "Inter", sans-serif;
  font-weight: 500;
  font-size: 30px;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--ph-ink);
  font-variant-numeric: tabular-nums;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .7s cubic-bezier(.16,1,.3,1), transform .7s cubic-bezier(.16,1,.3,1);
  transition-delay: calc(.45s + var(--i) * .1s);
}
.ph.is-in .ph__stat-value { opacity: 1; transform: none; }
.ph__stat-value small { font: 400 12px/1.3 "Inter", sans-serif; letter-spacing: 0; color: var(--ph-muted); }

/* Keyword strip: slow, endless, pauses under the pointer. */
.ph__marquee {
  position: relative;
  z-index: 1;
  margin: 8px -20px 0;
  border-top: 1px solid rgba(11, 11, 10, .1);
  overflow: hidden;
  -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.ph__track { display: flex; width: max-content; animation: ph-marquee 32s linear infinite; }
.ph__marquee:hover .ph__track { animation-play-state: paused; }
.ph__group { display: flex; align-items: center; flex: none; padding: 18px 0; }
.ph__group span {
  font-family: "Switzer", "Inter", sans-serif;
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: var(--ph-ink);
  white-space: nowrap;
}
.ph__group i {
  flex: none;
  width: 10px; height: 10px;
  margin: 0 22px;
  border-radius: 50%;
  background: var(--brand-grad);
}
@keyframes ph-marquee { to { transform: translateX(-50%); } }

/* Tablet */
@media (min-width: 810px) {
  .ph { padding: 150px 40px 0; min-height: 0; }
  .ph__inner { min-height: 520px; }
  .ph--compact .ph__inner { min-height: 400px; }
  .ph__visual, .ph--compact .ph__visual { --cw: 46%; position: absolute; top: -12px; right: 0; width: 38%; max-width: none; margin: 0; }
  .ph--compact .ph__visual { width: 32%; }
  .ph__art, .ph--compact .ph__art { aspect-ratio: 1; }
  .ph--compact .ph__card--3 { top: 30%; }
  .ph__badge { --bs: 104px; left: -10%; }
  .ph--compact .ph__badge { --bs: 88px; }
  .ph__eyebrow, .ph__title, .ph__foot, .ph__stats { max-width: 58%; }
  .ph--plain .ph__eyebrow, .ph--plain .ph__title, .ph--plain .ph__foot, .ph--plain .ph__stats { max-width: none; }
  .ph__title { font-size: 48px; }
  .ph__lede { font-size: 16px; }
  .ph__stats { gap: 0 24px; margin-top: 48px; }
  .ph__stat-value { font-size: 32px; }
  .ph__marquee { margin: 40px -40px 0; }
  .ph__group span { font-size: 28px; }
  .ph__group i { margin: 0 32px; }
  .ph__card figcaption { font-size: 10px; padding: 6px 8px; }
}

/* Desktop */
@media (min-width: 1440px) {
  .ph { padding: 168px 64px 0; }
  .ph__inner { min-height: 600px; }
  .ph--compact .ph__inner { min-height: 470px; }
  .ph__visual, .ph--compact .ph__visual { top: -24px; width: min(38%, 560px); }
  .ph--compact .ph__visual { width: min(30%, 440px); }
  .ph__badge { --bs: 132px; left: -8%; }
  .ph--compact .ph__badge { --bs: 112px; }
  .ph__badge-ring text { font-size: 9.2px; }
  .ph__eyebrow, .ph__title, .ph__foot, .ph__stats { max-width: 58%; }
  .ph__title { font-size: 84px; }
  .ph__line-inner--indent { padding-left: 1.1em; }
  .ph__lede { font-size: 17px; max-width: 38ch; }
  .ph__stats { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 56px; }
  .ph__stat-value { font-size: 36px; }
  .ph__marquee { margin: 48px -64px 0; }
  .ph__group span { font-size: 34px; }
  .ph__group i { margin: 0 40px; }
  .ph__card figcaption { font-size: 12px; padding: 8px 12px; left: 10px; right: 10px; bottom: 10px; }
  .ph__card figcaption small { display: inline; font-size: 11px; }
}

@media (prefers-reduced-motion: reduce) {
  .ph__card-deal, .ph__glow, .ph__badge { transition: none !important; opacity: 1 !important; }
  .ph__card-deal { transform: rotate(var(--r)) !important; }
  .ph__badge { transform: none !important; }
  .ph__card-float, .ph__glow, .ph__badge-ring, .ph__badge-core svg { animation: none !important; }
}

@media (prefers-reduced-motion: reduce) {
  .ph__line-inner, [data-ph-fade], .ph__stat::before, .ph__stat-value { transition: none !important; transform: none !important; opacity: 1 !important; }
  .ph__track, .ph__cue-line::after { animation: none !important; }
}

/* ==========================================================================
   Service pages (views/site/services.ejs, service.ejs)
   ========================================================================== */
.svc-index__row { color: inherit; text-decoration: none; }
.svc-index__row .service__title { transition: color .3s; }
.svc-index__row:hover .service__title { color: var(--brand); }
.svc-index__more {
  margin-top: 0.75rem;
  font-size: var(--fs-small);
  color: var(--n400);
  transition: color .3s, transform .4s var(--ease-out);
}
.svc-index__row:hover .svc-index__more { color: var(--on-dark); transform: translateX(4px); }
/* The overview keeps the thumbnail the homepage-era list hides. */
.svc-index .service__thumb { display: block; }
@media (min-width: 900px) {
  .svc-index__row {
    grid-template-columns: 3.5rem minmax(0, 11rem) minmax(0, 1fr) minmax(0, 16rem);
    align-items: start;
  }
}
/* Process cards on a grey section need a lighter card. */
.section--paper2 .process__step { background: var(--paper); }
.section--paper2 .process__step:hover { background: var(--white, #fff); }

/* Long-form copy beside a sticky card */
.svc-prose h2:first-child { margin-top: 0; }
.svc-prose a { color: var(--ink); text-decoration: underline; text-decoration-color: rgba(255, 77, 61, .5); text-underline-offset: 3px; }
.svc-prose a:hover { text-decoration-color: var(--brand); }
.svc-card {
  display: grid;
  gap: 1rem;
  padding: clamp(1.25rem, 2.2vw, 1.6rem);
  border-radius: var(--radius-lg);
  background: var(--paper-2);
}
.svc-card__list { display: grid; gap: 0.55rem; }
.svc-card__list li {
  position: relative;
  padding-left: 1.5rem;
  font-size: var(--fs-small);
  line-height: 1.45;
  color: var(--ink);
}
.svc-card__list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.2em;
  width: 1rem; height: 1rem;
  border-radius: 50%;
  background: var(--brand-grad);
}
.svc-card__list li::after {
  content: "";
  position: absolute;
  left: 0.33rem; top: 0.42em;
  width: 0.3rem; height: 0.5rem;
  border: solid #fff;
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
}
.svc-card__actions { display: grid; gap: 0.5rem; }
.svc-card__note { font-size: 0.8125rem; color: var(--muted-2); line-height: 1.45; }

.svc-work { grid-template-columns: 1fr; }
@media (min-width: 640px) { .svc-work { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .svc-work { grid-template-columns: repeat(3, 1fr); } }

/* Other services */
.svc-links { display: grid; gap: clamp(0.6rem, 1.2vw, 0.9rem); }
@media (min-width: 720px) { .svc-links { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .svc-links { grid-template-columns: repeat(3, 1fr); } }
.svc-link {
  position: relative;
  display: grid;
  gap: 0.4rem;
  padding: 1.25rem 3.25rem 1.3rem 1.3rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  color: inherit;
  text-decoration: none;
  transition: border-color .3s, background-color .3s, transform .4s var(--ease-out);
}
.svc-link:hover { border-color: var(--ink); background: var(--paper-2); transform: translateY(-2px); }
.svc-link__title { font-size: 1.125rem; font-weight: 500; letter-spacing: -0.02em; color: var(--ink); }
.svc-link__body { font-size: var(--fs-small); color: var(--muted-2); line-height: 1.5; }
.svc-link__arrow {
  position: absolute;
  right: 1.2rem; top: 1.2rem;
  color: var(--muted-3);
  transition: color .3s, transform .4s var(--ease-out);
}
.svc-link:hover .svc-link__arrow { color: var(--brand); transform: translateX(3px); }

/* Header image trail (public/js/hero-trail.js) — also defined for the
   template pages in home.css. */
.nf-trail { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.nf-trail__img {
  position: absolute;
  width: 150px; height: 188px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
  opacity: 0;
  will-change: transform, opacity;
}
@media (max-width: 1439.98px) { .nf-trail__img { width: 120px; height: 150px; } }
