/* MOTION: by the owner's choice (2026-09-30) the site plays all its
   animations even when a visitor has "Reduce Motion" turned on. Every
   reduced-motion query was swapped: "reduce" became (max-width: 0px), which
   never matches, and "no-preference" became (min-width: 0px), which always
   matches. To respect the setting again, swap them back (each keeps a
   "was ..." note), and remove the matchMedia wrapper at the top of main.js. */
/* ===== Camel Design, tokens ===== */
:root {
  /* ----- Colour ----- */
  --white: #ffffff;
  --paper: #f5f4f1;
  --black: #0e0e0e;
  --yellow: #fff04f;
  --yellow-soft: #fff6a8;
  --yellow-pale: #fffcd6;
  --blue: #3b63c2;
  --blue-soft: #a8c7fa;
  --blue-pale: #d2e1fa;
  --terra: #ab5e3d;
  --tan: #deb295;
  --sand: #edd2c0;
  --grey: #d6d6d6;
  --text-soft: #5a5a5a; /* supporting text under headings, on light */
  --text-soft-dark: rgba(255, 255, 255, .6); /* supporting text on black */

  /* ----- Fonts (kept alongside the shorter legacy names below, same values) ----- */
  --font-display: "Hanken Grotesk", system-ui, sans-serif;
  --font-sans: "Hanken Grotesk", system-ui, sans-serif;
  --font-pixel: "Bitcount Grid Single", ui-monospace, monospace;
  --display: var(--font-display);
  --sans: var(--font-sans);

  /* ----- Type scale ----- */
  --text-h2: 2rem;
  --text-h3: 1.5rem;
  --text-h4: 1.25rem;
  --text-lead: 1.25rem;
  --divider-gap: clamp(64px, 8vw, 120px); /* space above and below section divider lines */
  --text-body: 1.125rem;
  --text-md: 1rem;
  --text-sm: 0.875rem;
  --text-xs: 0.75rem;
  --text-statement: clamp(28px, 3.1vw, 64px);
  --text-section-title: clamp(53px, 6.6vw, 106px);
  --text-item-title: clamp(18px, 1.6vw, 24px); /* list and card titles */
  --text-item-copy: clamp(16px, 1.3vw, 20px); /* text under those titles */
  --service-name-size: var(--text-section-title); /* same size as section titles */
  --service-text-gap: 24px;
  --service-scroll-length: 500vh;
  --service-sticky-height: 100vh;
  --service-group-h: 100vh;
  --service-group-gap: 30vh;

  /* ----- Weights ----- */
  --w-regular: 400;
  --w-medium: 500;
  --w-semibold: 600;
  --w-bold: 700;
  --w-black: 800;

  /* ----- Line-height ----- */
  --lh-tight: .95;
  --lh-heading: 1.1;
  --lh-heading-tight: 1.02;
  --lh-snug: 1.35;
  --lh-relaxed: 1.5; /* paragraphs: 150% line spacing (WCAG readability) */
  --lh-body: 1.6;

  /* ----- Letter-spacing ----- */
  --ls-tight: -.02em;
  --ls-normal: 0;
  --ls-wide: .08em;
  --ls-statement: -.035em;

  /* ----- Spacing scale ----- */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 16px;
  --space-4: 24px;
  --space-5: 32px;
  --space-6: 48px;
  --space-7: 64px;
  --space-8: 96px;
  --space-9: 128px;
  --space-10: 160px;

  /* ----- Layout ----- */
  --container: 1280px;
  --section-y: clamp(64px, 10vw, 160px);
  --gutter: clamp(20px, 4vw, 50px);
  --logo-max-h: 40px;
  --logo-max-w: 140px;

  /* ----- Proof strip (full-width, not container-bound) ----- */
  --proof-inset: 50px;
  --proof-pad-top: 96px;
  --proof-pad-bottom: 120px;
  --proof-indent: 17%;
  --proof-divider-gap: 96px;
  --proof-label-gap: 24px;
  --proof-col-gap: 32px;
  --proof-row-gap: 64px;
  --proof-links-gap: 80px;

  /* ----- Featured work (full-width, dark) ----- */
  --work-inset: 50px;

  /* ----- Services statement spacing ----- */
  --services-gap-top: 200px;
  --services-gap-top-mobile: 96px;
  --services-gap-bottom: 200px;
  --services-gap-bottom-mobile: 144px;


  /* ----- Radius ----- */
  --radius-pill: 999px;
  --radius-card: 16px;
  --radius-sm: 8px;

  /* ----- Motion ----- */
  --ease: cubic-bezier(.2, .7, .2, 1);
  --dur-fast: .2s;
  --dur: .3s;
  --dur-slow: .5s;

  /* ----- Page-level colours: swap between sections 2-4 via body.is-dark ----- */
  --page-bg: #ffffff;
  --page-fg: #0e0e0e;
  --page-muted: var(--text-soft);
  --page-line: #0e0e0e;

  color-scheme: light;
}

/* Phones: near the end of the page the page background turns black too,
   so the area under the browser's bottom bar matches the footer. Done as
   an image layer so it switches instantly (a fade would show grey). */
@media (max-width: 768px) {
  body.at-end { background-image: linear-gradient(var(--black), var(--black)); }
}
body.is-dark {
  --page-bg: #0e0e0e;
  --page-fg: #f5f4f1;
  --page-muted: #d6d6d6;
  --page-line: rgba(245, 244, 241, .2);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; background: var(--black); } /* black behind the page, so the bounce past the top (hero) or bottom (footer) on phones shows black, not white */
html.lenis { scroll-behavior: auto; } /* Lenis does the smoothing; native smooth scroll would fight it */
@media (max-width: 0px) /* was prefers-reduced-motion: reduce */ {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--text-body);
  background: var(--page-bg);
  color: var(--page-fg);
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
  transition: background-color 600ms ease, color 600ms ease;
}
@media (max-width: 0px) /* was prefers-reduced-motion: reduce */ {
  body { transition: none; }
}

/* Proof, Work, Services and Method track body's light/dark state via
   --page-*; every descendant fades together, same duration, so the whole
   page (including the Services -> Method boundary) reads as one smooth
   swap with no seam between sections mid-fade. */
.proof, .proof *,
.work, .work *,
.services, .services *,
.method, .method * {
  transition: background-color 600ms ease, color 600ms ease, border-color 600ms ease;
}
@media (max-width: 0px) /* was prefers-reduced-motion: reduce */ {
  .proof, .proof *,
  .work, .work *,
  .services, .services *,
  .method, .method * {
    transition: none;
  }
}

h1, h2, h3, h4 { font-family: var(--font-display); line-height: var(--lh-tight); letter-spacing: var(--ls-tight); margin: 0 0 .4em; }
h2, h3, h4 { line-height: var(--lh-heading); }
p { font-size: var(--text-body); margin: 0 0 1em; max-width: 60ch; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

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

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

.skip-link {
  position: absolute;
  left: 12px; top: -60px;
  background: var(--yellow);
  color: var(--black);
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  font-weight: var(--w-semibold);
  z-index: 200;
  transition: top .2s ease;
}
.skip-link:focus { top: 12px; }

/* Keyboard focus: black ring inside a yellow ring, so it shows on light and dark
   backgrounds alike (WCAG 2.4.7). Only appears for keyboard users. */
:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
  box-shadow: 0 0 0 3px var(--black);
}

/* Phones and touch screens (iPads too): small text links get an invisible
   44px tap area (Apple's minimum), without changing how they look or the
   spacing between them. */
@media (max-width: 768px), (pointer: coarse) {
  .ft-list a, .ft-legal a, .ft-legal button, .ft-big, .work-see-more, .location-link, .cta-write a, .tm-cta, .sv-cta, .sv-model-facts a, .ct-facts a { position: relative; } /* .logo is positioned in the header rules */
  .ft-list a::before, .ft-legal a::before, .ft-legal button::before, .ft-big::before, .work-see-more::before, .location-link::before, .cta-write a::before, .tm-cta::before, .sv-cta::before, .logo::before, .sv-model-facts a::before, .ct-facts a::before {
    content: "";
    position: absolute;
    inset: -12px -6px; /* 44px+ tall even for 21px links */
  }
  .location-link::before { inset: -14px -4px; } /* 18px-tall links need a little more */
}

/* Words that should always stay on the same line */
.keep-together { white-space: nowrap; }

/* Brand text selection */
::selection { background: var(--yellow); color: var(--black); }

/* No lonely single word on the last line of paragraphs */
p, li, summary { text-wrap: pretty; }

/* ===== Sections ===== */
.section { padding-block: var(--section-y); position: relative; }
.section-white { background: var(--white); color: var(--black); }
.section-black { background: var(--black); color: var(--white); }
.section-blue-pale { background: var(--blue-pale); color: var(--black); }
.section-sand { background: var(--sand); color: var(--black); }
.section-yellow { background: var(--yellow-soft); color: var(--black); }
.section-intro { font-size: var(--text-lead); opacity: .8; }

.kicker {
  font-family: var(--font-sans);
  font-weight: var(--w-medium);
  font-size: var(--text-xs);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  margin-bottom: .8em;
  display: inline-block;
}
.section-white .kicker { color: var(--terra); }
.section-blue-pale .kicker, .section-sand .kicker, .section-yellow .kicker { color: var(--black); }
.section-black .kicker { color: var(--grey); }

h2 { font-size: var(--text-h2); margin-bottom: .3em; }
h3 { font-size: var(--text-h3); }
h4 { font-size: var(--text-h4); }

.pixel-dot {
  display: inline-block;
  width: 8px; height: 8px;
  background: var(--yellow-soft);
  margin-right: 8px;
  vertical-align: middle;
}


/* ===== Type block (word/title on a solid colour rectangle) ===== */
.type-block {
  display: inline;
  padding: .05em .25em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.type-block-yellow { background: var(--yellow-soft); color: var(--black); }
.type-block-blue { background: var(--blue); color: var(--white); }
.type-block-terra { background: var(--terra); color: var(--white); }
.type-block-black { background: var(--black); color: var(--white); }
.section-yellow .type-block-black { color: var(--yellow); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-family: var(--font-sans); /* <button> elements don't inherit the page font */
  font-weight: var(--w-semibold);
  font-size: .95rem;
  line-height: 1.5;
  white-space: nowrap;
  flex-shrink: 0;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, color .15s ease, border-color .15s ease;
  min-height: 44px;
}
.btn:hover { transform: translateY(-1px); }
@media (max-width: 0px) /* was prefers-reduced-motion: reduce */ { .btn:hover { transform: none; } }

.btn-primary { background: var(--yellow); color: var(--black); }
.btn-primary:hover { background: var(--yellow-soft); }
.section-yellow .btn-primary { background: var(--black); color: var(--white); }
.section-yellow .btn-primary:hover { background: #262626; color: var(--yellow); }

.btn-ghost { background: transparent; }

.btn-lg { padding: 16px 34px; font-size: 1rem; }

/* ===== Pixel buttons =====
   Every button has notched pixel corners (one square cut from each corner,
   size --px). Outline buttons draw their line with ::before (--line, the
   old border colour) because a normal border can't follow the notches.
   The clip would also cut off the focus ring, so keyboard focus shows as a
   3px pixel frame inside the button instead (::after, in the text colour). */
.btn, .cta-submit, .hero-reel, .ft-top-icon { --px: 6px; position: relative; border-radius: 0; clip-path: polygon(var(--px) 0, calc(100% - var(--px)) 0, calc(100% - var(--px)) var(--px), 100% var(--px), 100% calc(100% - var(--px)), calc(100% - var(--px)) calc(100% - var(--px)), calc(100% - var(--px)) 100%, var(--px) 100%, var(--px) calc(100% - var(--px)), 0 calc(100% - var(--px)), 0 var(--px), var(--px) var(--px)); }
.hero-reel { position: absolute; }
.btn-lg, .cta-submit { --px: 8px; }
.btn-ghost { --line: currentColor; border-color: transparent; }
.btn-ghost::before, .btn:focus-visible::after, .cta-submit:focus-visible::after, .hero-reel:focus-visible::after, .method-sound:focus-visible::after {
  content: "";
  position: absolute;
  inset: 0;
  clip-path: polygon(var(--px) 0, calc(100% - var(--px)) 0, calc(100% - var(--px)) var(--px), 100% var(--px), 100% calc(100% - var(--px)), calc(100% - var(--px)) calc(100% - var(--px)), calc(100% - var(--px)) 100%, var(--px) 100%, var(--px) calc(100% - var(--px)), 0 calc(100% - var(--px)), 0 var(--px), var(--px) var(--px), var(--px) 0, calc(var(--px) + var(--b)) var(--b), calc(var(--px) + var(--b)) calc(var(--px) + var(--b)), var(--b) calc(var(--px) + var(--b)), var(--b) calc(100% - var(--px) - var(--b)), calc(var(--px) + var(--b)) calc(100% - var(--px) - var(--b)), calc(var(--px) + var(--b)) calc(100% - var(--b)), calc(100% - var(--px) - var(--b)) calc(100% - var(--b)), calc(100% - var(--px) - var(--b)) calc(100% - var(--px) - var(--b)), calc(100% - var(--b)) calc(100% - var(--px) - var(--b)), calc(100% - var(--b)) calc(var(--px) + var(--b)), calc(100% - var(--px) - var(--b)) calc(var(--px) + var(--b)), calc(100% - var(--px) - var(--b)) var(--b), calc(var(--px) + var(--b)) var(--b));
  pointer-events: none;
}
.btn-ghost::before { --b: 1px; background: var(--line); transition: background-color .15s ease; }
.btn:focus-visible, .cta-submit:focus-visible, .hero-reel:focus-visible, .method-sound:focus-visible { outline: none; box-shadow: none; }
.btn:focus-visible::after, .cta-submit:focus-visible::after, .hero-reel:focus-visible::after, .method-sound:focus-visible::after { --b: 3px; background: currentColor; }

/* ===== Header ===== */
.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 100;
  padding-top: env(safe-area-inset-top);
  transform: translateY(0);
  transition: background-color .25s ease, transform .35s ease;
}
.site-header.header-hidden { transform: translateY(-100%); }
@media (max-width: 0px) /* was prefers-reduced-motion: reduce */ {
  .site-header { transition: background-color .25s ease; }
}
.site-header.scrolled {
  background: #0e0e0e;
}
/* Pages whose top is white (Work): the header starts white with black
   logo, links and lines, then turns black as usual once scrolled (or when
   the phone menu is open). */
.site-header--light { transition: transform .35s ease; } /* colours switch instantly, so the text never goes dark on dark mid-fade */
.site-header--light:not(.scrolled):not(.menu-open) { background: var(--white); }
.site-header--light:not(.scrolled):not(.menu-open) .logo img { filter: brightness(0); }
.site-header--light:not(.scrolled):not(.menu-open) .main-nav a { color: var(--black); }
.site-header--light:not(.scrolled):not(.menu-open) .header-actions .btn-ghost { color: var(--black); --line: rgba(14, 14, 14, .6); }
.site-header--light:not(.scrolled):not(.menu-open) .header-actions .btn-ghost:hover { background: var(--black); color: var(--white); --line: transparent; }
.site-header--light:not(.scrolled):not(.menu-open) .header-actions .btn-primary:hover { background: var(--yellow-soft); color: var(--black); } /* same soft yellow hover as on the dark header */
.site-header--light:not(.scrolled):not(.menu-open) .header-divider { background: rgba(14, 14, 14, .15); }
.site-header--light:not(.scrolled):not(.menu-open) .hamburger span { background: var(--black); }
.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 14px;
  padding-inline: 32px;
}
.logo {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
.logo img { height: 38px; width: auto; filter: brightness(0) invert(1); } /* cream PNG shown as pure white */
.logo .logo-fallback-text {
  font-family: var(--display);
  font-weight: var(--w-bold);
  color: var(--white);
  font-size: 1.1rem;
  line-height: 1.5;
}

.main-nav ul { display: flex; gap: 32px; }
.main-nav a { font-weight: var(--w-medium); font-size: .95rem; line-height: 1.5; color: var(--white); white-space: nowrap; }
/* Hover: each letter rolls up and a copy (the text shadow) rolls in from below, one after another. */
a .roll { display: inline-block; overflow: hidden; height: 1.2em; line-height: 1.2em; vertical-align: middle; }
a .roll span {
  display: inline-block;
  white-space: pre;
  text-shadow: 0 1.2em currentColor;
  transition: transform .6s cubic-bezier(.625, .05, 0, 1);
}
a:hover .roll span, a:focus-visible .roll span { transform: translateY(-1.2em); } /* keyboard users get it too */

.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}
.header-actions { display: flex; align-items: center; gap: 12px; }
.header-actions .btn {
  transition: background-color .25s ease, color .25s ease, border-color .25s ease, transform .15s ease;
}
@media (max-width: 0px) /* was prefers-reduced-motion: reduce */ {
  .header-actions .btn { transition: none; }
}
.header-actions .btn-primary:hover,
.header-actions .btn-primary:focus-visible {
  background: var(--yellow-soft); /* same hover as the buttons on the dark CTA card */
  color: var(--black);
}
.header-actions .btn-ghost {
  color: var(--white);
  background: transparent;
  --line: rgba(255, 255, 255, .6);
}
.header-actions .btn-ghost:hover,
.header-actions .btn-ghost:focus-visible {
  background: var(--white);
  --line: transparent;
  color: var(--black);
}

.header-divider {
  position: absolute;
  left: 32px;
  right: 32px;
  bottom: 0;
  height: 1px;
  background: rgba(255, 255, 255, .15);
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  flex-shrink: 0;
  gap: 5px;
  width: 44px; height: 44px;
  background: transparent;
  border: none;
  cursor: pointer;
}
.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--white);
  margin-inline: auto;
  transition: transform .3s var(--ease), opacity .2s ease;
}
/* Open: the three lines turn into a close X */
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Phone menu: a black panel that drops in with a stepped pixel-curtain
   edge (same idea as the page curtains), big pixel-font links numbered
   01 to 04 (current page in yellow with a pixel square), then the
   Start a project button, contact lines and socials pinned to the bottom. */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: calc(104px + env(safe-area-inset-top)) 24px calc(32px + env(safe-area-inset-bottom)); /* same 24px margin as the header */
  background: var(--black);
  color: var(--white);
}
.mobile-menu[hidden] { display: none; }
.mm-links { margin: 0; padding: 0; list-style: none; }
.mm-links a {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 10px 0;
  color: var(--white);
  transition: transform .25s var(--ease), color .2s ease;
}
.mm-num { padding-top: .55em; font-size: 12px; font-weight: var(--w-semibold); letter-spacing: .14em; color: var(--text-soft-dark); }
.mm-word {
  position: relative;
  font-family: var(--font-pixel);
  font-weight: var(--w-regular);
  font-variation-settings: "ELSH" 50, "wght" 400;
  font-size: clamp(44px, 13vw, 64px);
  line-height: 1;
  letter-spacing: -0.03em;
}
/* Current page: yellow word with a pixel square after it */
.mm-links a[aria-current="page"] { color: var(--yellow); }
.mm-links a[aria-current="page"] .mm-word::after {
  content: "";
  display: inline-block;
  width: .2em;
  height: .2em;
  margin-left: .18em;
  background: var(--yellow-soft);
  vertical-align: baseline;
}
.mm-links a:active { transform: translateX(8px); color: var(--yellow); }
@media (hover: hover) { .mm-links a:hover { transform: translateX(8px); color: var(--yellow); } }
.mm-foot { position: relative; margin-top: auto; padding-top: var(--space-6); }
.mm-nav { position: relative; z-index: 1; }
/* Quiet pixel staircase in the space above the button (same dark grey as the
   Services hero pattern), stepping up to the right edge */
.mm-foot::before {
  content: "";
  position: absolute;
  right: -24px;
  bottom: calc(100% - var(--space-6));
  width: min(52vw, 260px);
  aspect-ratio: 1;
  background: #1d1d1d;
  clip-path: polygon(100% 0, 100% 100%, 0 100%, 0 80%, 20% 80%, 20% 60%, 40% 60%, 40% 40%, 60% 40%, 60% 20%, 80% 20%, 80% 0);
  pointer-events: none;
  z-index: -1;
}
.mm-foot > * { position: relative; }
.mobile-cta { width: 100%; justify-content: center; gap: 12px; }
.mobile-cta svg { width: 18px; height: 18px; }
.mm-contact { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; margin-top: var(--space-5); padding-top: var(--space-5); border-top: 1px solid rgba(255, 255, 255, .15); }
.mm-label { margin: 0 0 6px; font-size: 12px; font-weight: var(--w-semibold); letter-spacing: .14em; text-transform: uppercase; color: var(--text-soft-dark); }
.mm-contact a { display: inline-flex; align-items: center; min-height: 44px; font-size: var(--text-body); font-weight: var(--w-medium); color: var(--white); }
.mm-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; margin-top: var(--space-3); }
.mm-social { display: flex; flex-wrap: wrap; gap: 0 18px; margin: 0; padding: 0; list-style: none; }
.mm-social a { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; color: var(--text-soft-dark); }
.mm-place { margin: 0; font-size: 14px; color: var(--text-soft-dark); }
/* Open: the page behind stays put, the header turns solid */
.site-header.menu-open { background: var(--black); transform: none; }
.site-header.menu-open .header-actions { visibility: hidden; } /* the menu has its own big Start a project button */
@media (min-width: 0px) /* was prefers-reduced-motion: no-preference */ {
  .mobile-menu:not([hidden]) { animation: menu-curtain .5s steps(6, end) both; }
  .mobile-menu:not([hidden]) .mm-links li,
  .mobile-menu:not([hidden]) .mm-foot > * { animation: menu-item-in .55s var(--ease) both; }
  .mobile-menu:not([hidden]) .mm-links li:nth-child(1) { animation-delay: .28s; }
  .mobile-menu:not([hidden]) .mm-links li:nth-child(2) { animation-delay: .34s; }
  .mobile-menu:not([hidden]) .mm-links li:nth-child(3) { animation-delay: .40s; }
  .mobile-menu:not([hidden]) .mm-links li:nth-child(4) { animation-delay: .46s; }
  .mobile-menu:not([hidden]) .mm-foot > :nth-child(1) { animation-delay: .52s; }
  .mobile-menu:not([hidden]) .mm-foot > :nth-child(2) { animation-delay: .58s; }
  .mobile-menu:not([hidden]) .mm-foot > :nth-child(3) { animation-delay: .64s; }
}
@keyframes menu-curtain {
  0% { clip-path: polygon(0 0, 100% 0, 100.000% 0%, 83.333% 0%, 83.333% 0%, 66.667% 0%, 66.667% 0%, 50.000% 0%, 50.000% 0%, 33.333% 0%, 33.333% 0%, 16.667% 0%, 16.667% 0%, 0.000% 0%); }
  35% { clip-path: polygon(0 0, 100% 0, 100.000% 38%, 83.333% 38%, 83.333% 58%, 66.667% 58%, 66.667% 26%, 50.000% 26%, 50.000% 46%, 33.333% 46%, 33.333% 18%, 16.667% 18%, 16.667% 34%, 0.000% 34%); }
  70% { clip-path: polygon(0 0, 100% 0, 100.000% 80%, 83.333% 80%, 83.333% 96%, 66.667% 96%, 66.667% 64%, 50.000% 64%, 50.000% 88%, 33.333% 88%, 33.333% 56%, 16.667% 56%, 16.667% 72%, 0.000% 72%); }
  100% { clip-path: polygon(0 0, 100% 0, 100.000% 100%, 83.333% 100%, 83.333% 100%, 66.667% 100%, 66.667% 100%, 50.000% 100%, 50.000% 100%, 33.333% 100%, 33.333% 100%, 16.667% 100%, 16.667% 100%, 0.000% 100%); }
}
@keyframes menu-item-in { from { opacity: 0; transform: translateY(16px); } }

/* Page transition (main.js): a full-screen canvas of black pixel blocks
   (the Services curtain) rises to cover the screen before another page
   opens, then clears upward off the new page. html.pt-in keeps the new page
   black until main.js takes over (and gives up after 2s if it never does). */
.page-curtain { position: fixed; inset: 0; z-index: 9990; width: 100%; height: 100%; pointer-events: none; }
.page-curtain.is-covering { pointer-events: auto; }
@media (min-width: 0px) /* was prefers-reduced-motion: no-preference */ {
  html.pt-in::after { content: ""; position: fixed; inset: 0; z-index: 9990; background: var(--black); pointer-events: none; animation: pt-give-up 0s 2s forwards; }
}
@keyframes pt-give-up { to { visibility: hidden; } }

@media (max-width: 1080px) {
  .header-inner { padding-inline: 24px; }
  .logo { position: relative; left: auto; top: auto; transform: none; } /* relative, not static: its phone tap area (::before) must hug the logo, or it covers the whole header and swallows hamburger taps */
  .main-nav, .header-ghost { display: none; }
  .hamburger { display: flex; }
}

/* ===== Hero (scoped to the pre-reskin warm-dark look; these vars stay local to .hero) ===== */
.hero {
  --hero-ink: #1c0e0d;
  position: relative;
  z-index: 0;
  min-height: 100svh;
  overflow: hidden;
  background: var(--hero-ink);
  will-change: transform;
}
/* Pixel curtain into "Who we serve" (desktop, only while the
   HERO_CURTAIN_ON switch in main.js is true), same effect as the Method
   and Why Camel curtains: the hero pins for a short scroll (71vh) while
   white blocks rise over it (main.js). "Who we serve" is pulled up over
   that last screen with a see-through top. When the curtain is full its
   paragraph fades in a little above the middle of the screen, then glides
   up into its usual spot (main.js createHandover sets --handover-settle);
   the line and logos below fade in as it settles (--handover-rest). */
.hero-curtain { display: none; }
@media (min-width: 769px) and (min-width: 0px) /* was prefers-reduced-motion: no-preference */ {
  .hero-curtain-on .hero-pin { height: 171vh; } /* pinned for 71vh of scroll while the curtain fills */
  .hero-curtain-on .hero { position: sticky; top: 0; height: 100vh; }
  .hero-curtain-on .hero-curtain {
    position: absolute;
    inset: 0;
    z-index: 5;
    display: block;
    width: 100%;
    height: 100%;
    pointer-events: none;
  }
  .hero-curtain-on .section.proof {
    margin-top: -100vh;
    background-color: transparent;
    background-image: linear-gradient(to bottom, transparent 0, transparent 100vh, var(--page-bg) 100vh);
  }
  /* Once the curtain is full the see-through top is no longer needed, so
     the section gets its normal solid background back. Otherwise, when the
     page turns dark at Our work, only the lower part would change colour
     and leave a black band. */
  .hero-curtain-on .section.proof.is-covered { background-image: none; background-color: var(--page-bg); }
}
@media (min-width: 0px) /* was prefers-reduced-motion: no-preference */ {
  /* Shared curtain handover (main.js createHandover), also used by Why
     Camel (desktop and phones): content hidden until .is-shown, the whole block shifted by
     --handover-settle (a short ease turns the curtain's block steps into a
     glide), the paragraph slides up a little as it appears, and what's
     below it fades in with --handover-rest. */
  .handover .handover-inner {
    opacity: 0;
    transition: opacity .8s var(--ease), transform .35s var(--ease);
    transform: translateY(var(--handover-settle, 0px));
  }
  .handover.is-shown .handover-inner { opacity: 1; }
  /* While still hidden it overlaps what's above (e.g. the hero's sound
     button), so let clicks pass through until it shows. */
  .handover:not(.is-shown) { pointer-events: none; }
  .handover .handover-inner .proof-statement {
    translate: 0 56px;
    transition: translate .9s var(--ease);
  }
  .handover.is-shown .handover-inner .proof-statement { translate: 0 0; }
  .handover [data-handover-rest] { opacity: var(--handover-rest, 1); }
}
.hero-media { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero-video, .hero-poster-fallback {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transform-origin: center center;
  will-change: transform;
}
.hero-poster-fallback { z-index: -1; }
/* "Reduce Motion" on: the hero shows its still poster instead of the video.
   This is a real prefers-reduced-motion query (the rest of the site ignores
   the setting by the owner's choice; the hero respects it, 2026-10-02). */
@media (prefers-reduced-motion: reduce) {
  .hero-video { display: none; }
  .hero-poster-fallback { z-index: 0; }
}
.hero-zoom-overlay {
  position: absolute;
  inset: 0;
  background: #000;
  opacity: 0;
}
/* Dark overlay between the hero video and the text, made 10% lighter on the
   owner's request (2026-10-02). On the brightest frames of the placeholder
   video, small texts dip under 4.5:1: the intro text (about 3.5:1 on
   laptops), the phone eyebrow (about 3.4:1), the menu links and the
   location list (about 4.2 to 4.4:1). The headline passes. Re-check if the
   video changes. */
.hero-grade {
  position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, rgba(14, 14, 14, .4) 0, rgba(14, 14, 14, 0) 220px), /* header over the sky */
    linear-gradient(to top, rgba(14, 14, 14, .75) 0%, rgba(14, 14, 14, .65) 50%, rgba(14, 14, 14, 0) 100%); /* headline and text */
}
.hero-grain {
  position: absolute; inset: 0;
  opacity: .06;
  mix-blend-mode: overlay;
  background-image: repeating-conic-gradient(rgba(255,255,255,.6) 0% 25%, transparent 0% 50%);
  background-size: 3px 3px;
}
.hero-content {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.hero-headline {
  position: absolute;
  left: 50px;
  bottom: 50px;
  transform-origin: left bottom;
  transform: scale(calc(1 - var(--hero-text-p, 0) * .08));
  opacity: calc(1 - var(--hero-text-p, 0) * .6);
  will-change: transform, opacity;
}
.hero .eyebrow {
  font-family: var(--font-sans);
  font-weight: var(--w-semibold);
  font-size: clamp(.75rem, 1vw, .9rem);
  line-height: 1.5;
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  color: #cccccc;
  max-width: none;
  margin-bottom: var(--space-4);
}
.hero h1 {
  font-family: var(--font-pixel);
  font-weight: var(--w-regular);
  font-variation-settings: "ELSH" 50, "wght" 400;
  font-size: clamp(3.4rem, 6.8vw, 8.5rem);
  line-height: 1.02; /* was .95: a little more air between the pixel lines (design review) */
  letter-spacing: -0.03em;
  word-spacing: -0.2em;
  color: var(--white);
  max-width: 16ch;
}
.hero-h1-accent { color: var(--yellow); }
.hero-sub-block {
  position: absolute;
  right: 50px;
  top: 50%;
  transform-origin: right bottom;
  transform: translateY(-50%) scale(calc(1 - var(--hero-text-p, 0) * .08));
  opacity: calc(1 - var(--hero-text-p, 0) * .6);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  max-width: 44ch;
  will-change: transform, opacity;
}
.hero-sub {
  font-size: clamp(.92rem, 1.41vw, 1.14rem);
  font-weight: var(--w-medium);
  line-height: 1.5;
  color: var(--white);
  text-align: right;
}
.hero-sub-divider {
  align-self: stretch;
  height: 1px;
  margin: 24px 0;
  background: rgba(255, 255, 255, .15);
}
.hero-locations {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}
.hero-locations li {
  font-family: var(--sans);
  font-size: .75rem;
  line-height: 1.5;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #cccccc;
}
.location-link {
  position: relative;
  display: inline-block;
  color: inherit;
  text-decoration: none;
  transition: color .3s ease;
}
.location-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}
.location-link:hover,
.location-link:focus-visible {
  color: var(--white);
}
.location-link:hover::after,
.location-link:focus-visible::after {
  transform: scaleX(1);
}
@media (max-width: 0px) /* was prefers-reduced-motion: reduce */ {
  .location-link, .location-link::after { transition: none; }
}

@media (max-width: 768px) {
  .hero-content {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    padding: 24px;
    gap: 16px;
  }
  .hero-headline { position: static; order: 1; } /* phones: eyebrow and headline first */
  .hero-sub-block {
    position: static;
    transform: scale(calc(1 - var(--hero-text-p, 0) * .08));
    transform-origin: left bottom; /* shrinks toward the left edge it's aligned to, so it doesn't drift right */
    order: 2; /* then the subtext, then the locations */
    align-items: flex-start;
    max-width: 40ch;
  }
  .hero-sub { text-align: left; }
  .hero-locations { align-items: flex-start; }
  .sub-break { display: none; }
}

@media (max-width: 0px) /* was prefers-reduced-motion: reduce */ {
  .hero-headline, .hero-sub-block { opacity: 1; }
  .hero-headline { transform: none; }
  .hero-sub-block { transform: translateY(-50%); }
}
@media (max-width: 0px) /* was prefers-reduced-motion: reduce */ and (max-width: 768px) {
  .hero-sub-block { transform: none; }
}

.sound-toggle {
  position: absolute;
  right: 40px;
  bottom: 40px;
  z-index: 3;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(14, 14, 14, .5);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color .2s ease;
}
.sound-toggle:hover, .sound-toggle:focus-visible { background: var(--black); }
.sound-toggle:focus { outline: none; }
.sound-toggle:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
.sound-toggle svg { width: 20px; height: 20px; }
.sound-toggle .icon-unmuted { display: none; }
.sound-toggle.is-unmuted .icon-muted { display: none; }
.sound-toggle.is-unmuted .icon-unmuted { display: block; }
/* Play showreel: a pill at the bottom right of the hero, dark glass style.
   Opens the showreel in the testimonial video lightbox (main.js). */
.hero-reel {
  position: absolute;
  right: 40px;
  bottom: 40px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 18px 0 14px;
  border: none;
  background: rgba(14, 14, 14, .5);
  color: var(--white);
  font: var(--w-semibold) 14px/1 var(--font-sans);
  cursor: pointer;
  transition: background-color .2s ease;
}
.hero-reel:hover, .hero-reel:focus-visible { background: var(--black); }
.hero-reel svg { width: 18px; height: 18px; }
@media (max-width: 768px) {
  .hero-reel { right: 24px; } /* phones: lines up with the right end of the divider above */
}

.pixel-edge {
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 26px;
  z-index: 2;
  background-image:
    linear-gradient(45deg, var(--white) 25%, transparent 25%),
    linear-gradient(-45deg, var(--white) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, var(--white) 75%),
    linear-gradient(-45deg, transparent 75%, var(--white) 75%);
  background-size: 26px 26px;
  background-position: 0 0, 0 13px, 13px -13px, -13px 0px;
}
.pixel-edge--bluepale {
  background-image:
    linear-gradient(45deg, var(--blue-pale) 25%, transparent 25%),
    linear-gradient(-45deg, var(--blue-pale) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, var(--blue-pale) 75%),
    linear-gradient(-45deg, transparent 75%, var(--blue-pale) 75%);
}

/* ===== Proof strip (full-bleed, not container-bound) ===== */
.proof {
  position: relative;
  z-index: 1;
  background-color: var(--page-bg);
  color: var(--page-fg);
  padding-block: calc(var(--proof-pad-top) * 1.25) var(--proof-pad-bottom); /* 120px above the paragraph */
}
.proof-inner { padding-inline: var(--proof-inset); }

.proof-statement {
  font-family: var(--font-sans);
  font-weight: var(--w-semibold);
  font-size: var(--text-statement);
  line-height: var(--lh-heading-tight);
  letter-spacing: var(--ls-statement);
  color: var(--page-fg);
  text-indent: var(--proof-indent);
  margin: 0;
  max-width: none;
}
#proof .proof-statement,
.why .proof-statement {
  text-indent: 0;
  margin-left: var(--proof-indent);
  font-size: calc(var(--text-statement) * 1.2); /* 20% bigger than other statements */
}
.services-statement .proof-statement {
  text-indent: 0;
  text-align: center;
  max-width: 34ch;
  margin-inline: auto;
  font-size: calc(var(--text-statement) * 1.2); /* 20% bigger than other statements */
  text-wrap: balance; /* evens out the lines, so the block gets narrower without adding a line */
}
@media (min-width: 769px) and (max-width: 840px) {
  /* --text-statement bottoms out at its 28px clamp floor here while the
     indented column is still narrow, wrapping to 4 lines; nudge down so it
     still fits 3. */
  #proof .proof-statement, .why .proof-statement { font-size: 31.2px; }
}
.proof-divider {
  margin-top: var(--proof-divider-gap);
  margin-left: var(--proof-indent);
  height: 1px;
  background: var(--page-line);
}

.proof-columns {
  display: grid;
  grid-template-columns: var(--proof-indent) 43% 7% 33%;
  margin-top: var(--space-6);
}
.proof-left { grid-column: 2; }
.proof-right { grid-column: 4; }

.proof-label {
  margin: 0 0 var(--proof-label-gap);
  font-family: var(--font-sans);
  font-size: var(--text-md);
  font-weight: var(--w-medium);
  color: var(--page-fg);
}

.logo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: var(--proof-col-gap);
  row-gap: var(--proof-row-gap);
}
.logo-cell {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
.logo-cell img {
  max-height: var(--logo-max-h);
  max-width: min(var(--logo-max-w), 100%); /* never wider than its grid cell */
  width: auto;
  height: auto;
}
/* Optical balance: each logo gets its own width (--lw x a base size), so heavy
   wide wordmarks sit smaller and light or compact ones sit bigger. */
.logo-cell img, .wk-logo-grid img, .ct-logos img { width: calc(var(--lw, 1) * var(--logo-base, 100px)); height: auto; }
.wk-logo-grid img, .ct-logos img { --logo-base: min(76px, 17vw); }
.wk-logo-grid img { --logo-base: clamp(76px, 5.6vw, 116px); } /* Work hero: grows on big screens */
/* When the page turns black, flip the grey logos to light so they stay readable. */
.logo-cell img { transition: filter 600ms ease; }
body.is-dark .logo-cell img { filter: invert(1); }
@media (max-width: 0px) /* was prefers-reduced-motion: reduce */ { .logo-cell img { transition: none; } }
img[src*="client-01"] { --lw: 1.24; } /* NCHS */
img[src*="client-02"] { --lw: 1.04; } /* Buildofy, heavy caps */
img[src*="client-03"] { --lw: 0.96; } /* StarAgile, tall mark */
img[src*="client-04"] { --lw: 1.14; } /* Auzmor, light and short */
img[src*="client-05"] { --lw: 1.22; } /* Xchangepe */
img[src*="client-06"] { --lw: 1.02; } /* Entrans, small text */
img[src*="client-07"] { --lw: 1.24; } /* Remitland, very wide and bold */
img[src*="client-08"] { --lw: 1.16; } /* Fairexpay, bold */
img[src*="client-09"] { --lw: 1.22; } /* Rooted In Love, fine script */
img[src*="client-10"] { --lw: 1.55; } /* Doggiliciouus (grey PNG made from the colour logo), wide with a mark */
.logo-cell .logo-fallback-text {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 40px;
  background: var(--grey);
  font-weight: var(--w-regular);
  font-size: var(--text-xs);
  color: var(--text-soft);
}

.proof-right-text {
  font-family: var(--font-sans);
  font-weight: var(--w-medium);
  font-size: var(--text-lead);
  line-height: var(--lh-relaxed);
  color: var(--page-fg);
  text-align: left;
  margin: 0;
  max-width: none;
}
.proof-link-rows { margin-top: var(--proof-links-gap); }
.proof-link-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-block: var(--space-4);
  border-top: 1px solid var(--page-line);
  font-family: var(--font-sans);
  font-weight: var(--w-medium);
  font-size: var(--text-lead);
  color: var(--page-fg);
}
.proof-link-text {
  display: inline-block;
}
.proof-link-arrow {
  display: inline-block;
  flex-shrink: 0;
  color: var(--page-fg);
  transition: transform .3s var(--ease), color 600ms ease;
}
.proof-link-row:hover .proof-link-arrow,
.proof-link-row:focus-visible .proof-link-arrow {
  transform: translateX(4px);
}

@media (max-width: 0px) /* was prefers-reduced-motion: reduce */ {
  .proof-link-arrow { transition: none; }
  .proof-link-row:hover .proof-link-arrow,
  .proof-link-row:focus-visible .proof-link-arrow {
    transform: none;
  }
}

@media (max-width: 768px) {
  :root { --proof-inset: 24px; --work-inset: 24px; } /* one 24px side margin on phones, same as the hero and header */
  .proof { padding-top: 56px; padding-bottom: 48px; } /* same 56px above the statement as below it; 48px + 48px to Our work */
  .proof-statement { text-indent: 0; }
  #proof .proof-statement { margin-left: 0; } /* full width on phones, no desktop indent */
  .proof-divider { margin-left: 0; margin-top: 56px; } /* tighter gap under the statement on phones */
  .proof-columns { grid-template-columns: 1fr; margin-top: 48px; } /* same 48px above "Who we serve" */
  .proof-left { grid-column: 1; }
  .proof-right { grid-column: 1; margin-top: 48px; } /* ...as below the logos */
  .proof-link-rows { margin-top: 48px; } /* ...and below the paragraph */
  .logo-grid { grid-template-columns: repeat(3, 1fr); column-gap: 20px; row-gap: 36px; } /* 3 across keeps the 9 logos to 3 tidy rows */
  .logo-cell .logo-fallback-text { width: 100%; }
  .logo-cell img { --logo-base: min(100px, 19vw); } /* same balance, scaled to the phone cells */
}

/* ===== Work (full-bleed, dark, matches the proof section's structure) ===== */
.work {
  position: relative;
  background-color: var(--page-bg);
  color: var(--page-fg);
  padding-top: var(--proof-pad-top);
  padding-bottom: 0;
}
.work-inner { padding-inline: var(--work-inset); }

.work-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: var(--space-4);
  flex-wrap: wrap;
}
.work-heading {
  font-family: var(--font-pixel);
  font-weight: var(--w-regular);
  font-variation-settings: "ELSH" 50, "wght" 400;
  letter-spacing: -0.03em;
  word-spacing: -0.2em;
  font-size: var(--text-section-title);
  line-height: .9;
  white-space: nowrap;
  color: var(--page-fg);
  margin: 0;
}
.work-see-more {
  font-family: var(--font-sans);
  font-size: var(--text-md);
  font-weight: var(--w-semibold);
  text-transform: uppercase;
  padding-bottom: 2px;
  border-bottom: 1px solid currentColor; /* underline that works with the rolling letters */
  color: var(--page-fg);
}

@media (max-width: 768px) {
  .work { padding-top: 48px; }
  .work-item--no-phone { display: none; } /* phones show 6 projects, not 9 */
  .services-statement .proof-statement { max-width: none; text-wrap: wrap; } /* phones: full width, same side margins as the work cards */
  .work-see-more { font-size: calc(var(--text-md) * .9); } /* 10% smaller on phones */
}

.work-rows {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 120px;
}
.work-row {
  display: grid;
  align-items: start;
  gap: 24px;
}
.work-row-1 { grid-template-columns: 28fr 20fr 49fr; }
.work-row-2 { grid-template-columns: 20fr 49fr 28fr; }
.work-row-3 { grid-template-columns: 49fr 28fr 20fr; }

.work-card { display: block; color: inherit; text-decoration: none; }
.work-card-image {
  position: relative;
  overflow: hidden;
  background: var(--black);
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.work-item-big .work-card-image { aspect-ratio: 5 / 4; }
.work-card-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms cubic-bezier(.22, 1, .36, 1);
}
.work-card:hover .work-card-image img,
.work-card:focus-visible .work-card-image img {
  transform: scale(1.03);
}
.work-card-grain {
  position: absolute;
  inset: 0;
  opacity: .06;
  mix-blend-mode: overlay;
  background-image: repeating-conic-gradient(rgba(255,255,255,.6) 0% 25%, transparent 0% 50%);
  background-size: 3px 3px;
  pointer-events: none;
}
.work-card-reveal {
  position: absolute;
  inset: 0;
  display: block;
  pointer-events: none;
  z-index: 2;
}

.work-block-label {
  font-family: var(--font-sans); /* Hanken, not pixel: repeated on every placeholder card (design review) */
  font-weight: var(--w-semibold);
  letter-spacing: .04em;
  font-size: var(--text-h3);
  text-transform: uppercase;
  text-align: center;
  padding-inline: var(--space-3);
}
.work-block-blue { background: var(--blue); }
.work-block-blue .work-block-label { color: var(--paper); }
.work-block-yellow { background: var(--yellow-soft); }
.work-block-yellow .work-block-label { color: var(--black); }
.work-block-terra { background: var(--terra); }
.work-block-terra .work-block-label { color: var(--paper); }
.work-block-sand { background: var(--sand); }
.work-block-sand .work-block-label { color: var(--black); }
.work-block-blue-soft { background: var(--blue-soft); }
.work-block-blue-soft .work-block-label { color: var(--black); }
.work-block-tan { background: var(--tan); }
.work-block-tan .work-block-label { color: var(--black); }

.work-card-meta { display: block; margin-top: var(--space-3); }
.work-card-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--space-3);
}
.work-card-name {
  font-family: var(--font-sans);
  font-size: var(--text-body);
  font-weight: var(--w-semibold);
  text-transform: uppercase;
  color: var(--page-fg);
  transition: color var(--dur-fast) var(--ease);
}
.work-card-year {
  font-family: var(--font-sans);
  font-size: var(--text-body);
  font-weight: var(--w-medium);
  color: var(--page-muted);
  flex-shrink: 0;
}
.work-card-desc {
  display: block;
  margin-top: var(--space-1);
  font-family: var(--font-sans);
  font-size: var(--text-body);
  font-weight: var(--w-medium);
  color: var(--page-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 860px) {
  .work-rows { gap: var(--space-6); }
  .work-row-1, .work-row-2, .work-row-3 { grid-template-columns: minmax(0, 1fr); } /* minmax: a long one-line description can never push the card past the screen */
}

@media (max-width: 0px) /* was prefers-reduced-motion: reduce */ {
  .work-card-image img, .work-card-name { transition: none; }
}

/* ===== Section CTA ===== */
.section-cta { margin-top: 40px; }

/* ===== Services ===== */
.services {
  position: relative;
  background-color: var(--page-bg);
  color: var(--page-fg);
  padding-block: 0;
}
.services-statement { position: relative; z-index: 2; padding-block: var(--services-gap-top) var(--services-gap-bottom); padding-inline: var(--proof-inset); }
@media (max-width: 768px) {
  .services-statement { padding-block: var(--services-gap-top-mobile) var(--services-gap-bottom-mobile); }
}

.tf-word {
  color: transparent;
  -webkit-text-fill-color: transparent;
  background-image: linear-gradient(90deg,
    var(--page-fg) 0%, var(--page-fg) 45%,
    color-mix(in srgb, var(--page-fg) 20%, transparent) 55%,
    color-mix(in srgb, var(--page-fg) 20%, transparent) 100%);
  background-size: 220% 100%;
  background-position: calc(100% - var(--t, 1) * 100%) 0;
  background-clip: text;
  -webkit-background-clip: text;
}

.service-stage-wrap { position: relative; height: var(--service-scroll-length); background: var(--page-bg); margin-top: -220px; }
.service-stage {
  position: sticky;
  top: 0;
  height: var(--service-sticky-height);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--page-bg);
}

.service-stage-text { position: relative; z-index: 2; width: 100%; height: 100%; }
.service-text-item {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--service-text-gap);
  text-align: center;
  opacity: 0;
  transition: opacity 180ms ease;
}
.service-text-item.is-active { opacity: 1; }
.service-panel-name {
  margin: 0;
  font-family: var(--font-pixel);
  font-weight: var(--w-regular);
  font-variation-settings: "ELSH" 50, "wght" 400;
  font-size: var(--service-name-size);
  line-height: .9;
  color: var(--page-fg);
  white-space: nowrap;
}
.service-label {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: var(--w-semibold);
  font-size: 26px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--page-fg);
  white-space: nowrap;
}

.service-stage-images {
  position: absolute;
  top: 0;
  left: var(--proof-inset);
  right: var(--proof-inset);
  height: calc(var(--service-group-h) * 3 + var(--service-group-gap) * 2);
  z-index: 0;
  will-change: transform;
}
.service-image-group { position: absolute; inset-inline: 0; height: var(--service-group-h); }
.service-image-group[data-service="websites"] { top: calc(var(--service-group-h) + var(--service-group-gap)); }
.service-image-group[data-service="product-design"] { top: calc((var(--service-group-h) + var(--service-group-gap)) * 2); }
.service-image-block {
  position: absolute;
  overflow: hidden;
  display: block;
  will-change: transform;
}
.service-image-block img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Same 5 slots reused for every service; only the colour/image per group differs. */
.service-block-a { top: 6%;  left: 8%;  width: 20vw;   height: 20vw; }
.service-block-b { top: 9%;  left: 63%; width: 11.5vw; height: 11.5vw; }
.service-block-c { top: 38%; left: 79%; width: 16vw;   height: 16vw; }
.service-block-d { top: 65%; left: 20%; width: 15.5vw; height: 15.5vw; }
.service-block-e { top: 83%; left: 61%; width: 13vw;   height: 13vw; }

/* Fly-through zoom (desktop and phones): every card sits at the centre of
   the stage and main.js moves, scales and fades it outward. The slot
   classes only give each card its base size here. */
@media (min-width: 0px) /* was prefers-reduced-motion: no-preference */ {
  .service-stage-images { inset: 0; height: auto; }
  .service-image-group { position: static; }
  .service-stage-images .service-image-block { top: 50%; left: 50%; visibility: hidden; }
}

/* Phones: same fly-through, with bigger cards, a shorter scroll and
   headings that wrap to fit the screen. */
@media (max-width: 860px) {
  :root { --service-scroll-length: 400vh; --service-sticky-height: 100svh; }
  .service-block-a { width: 38vw; height: 38vw; }
  .service-block-b { width: 22vw; height: 22vw; }
  .service-block-c { width: 30vw; height: 30vw; }
  .service-block-d { width: 28vw; height: 28vw; }
  .service-block-e { width: 24vw; height: 24vw; }
  .service-text-item { padding-inline: var(--proof-inset); }
  .service-panel-name { white-space: normal; font-size: clamp(44px, 13vw, 72px); }
  .service-label { white-space: normal; font-size: 13px; letter-spacing: .08em; } /* wraps instead of pushing past the screen edge */
}

/* Reduced motion: no fly-through, each service is a heading and a still
   mosaic of its cards. */
@media (max-width: 0px) /* was prefers-reduced-motion: reduce */ {
  .service-stage-wrap { height: auto; margin-top: 0; }
  .service-stage {
    position: static;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    overflow: visible;
    padding-inline: var(--proof-inset);
  }
  .service-stage-text, .service-stage-images { position: static; display: contents; }
  .service-text-item {
    position: static;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    opacity: 1;
    padding-top: 48px;
  }
  .service-panel-name, .service-label { position: static; transform: none; }
  .service-image-group {
    position: static;
    opacity: 1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    width: 100%;
    padding-block: 32px 64px;
    height: auto; /* the desktop stage height would stretch the rows */
    align-content: start;
  }
  .service-image-block { position: relative; width: auto !important; height: auto !important; aspect-ratio: 1 / 1 !important; transform: none !important; inset: auto !important; }
  /* A pixel-style mosaic: the first card is big, the rest fill in around it */
  .service-image-block:first-child { grid-column: span 2; grid-row: span 2; }

  .service-text-item[data-service="branding"] { order: 1; padding-top: 0; }
  .service-image-group[data-service="branding"] { order: 2; }
  .service-text-item[data-service="websites"] { order: 3; }
  .service-image-group[data-service="websites"] { order: 4; }
  .service-text-item[data-service="product-design"] { order: 5; }
  .service-image-group[data-service="product-design"] { order: 6; }
}

/* ===== Why Camel pixel-fill transition ===== */
.why-transition-wrap {
  position: relative;
  height: 100vh;
  background: var(--page-bg);
}
.why-transition-stage {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  background: var(--page-bg);
}
.why-transition-canvas {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

@media (max-width: 0px) /* was prefers-reduced-motion: reduce */ {
  .why-transition-wrap { height: 100vh; background: var(--white); }
  .why-transition-stage { position: static; height: 100vh; background: var(--white); }
  .why-transition-canvas { display: none; }
}

/* ===== Method ===== */
.method {
  position: relative;
  z-index: 2;
  background-color: var(--page-bg);
  color: var(--page-fg);
  margin-top: -400px; /* pulls Method up under the end of Services */
  padding-bottom: 80px;
}
/* Scroll-driven expand: the stage pins for 300vh (see main.js timeline).
   The video starts tiny between the two heading lines, grows to a medium
   box pushing the lines apart, then grows to full screen; after a hold the
   pale blue pixel curtain (canvas) rises over it, and the stage unpins into
   the pale blue Why section. */
.method-expand { height: 400vh; }
.method-expand-stage {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
}
.method-title {
  margin: 0;
  font-family: var(--font-pixel);
  font-weight: var(--w-regular);
  font-variation-settings: "ELSH" 50, "wght" 400;
  font-size: var(--text-section-title);
  line-height: 1;
  letter-spacing: -0.03em;
  text-align: center;
}
.method-line { display: block; }
/* The heading is only meant to be seen on white. It is always black and
   simply hidden while the page is dark. It used to take its colour from the
   dark/white page switch, but iPhone Safari sometimes skipped repainting it
   inside this pinned stage, so it stayed light grey on the white page. */
.method-title, .method-line { transition: none; }
.method-title { color: var(--black); }
body.is-dark .method-title { opacity: 0; }
.method-video {
  position: absolute;
  z-index: 1;
  left: calc(50% - 4vw);
  top: calc(50% - 2.25vw);
  width: 8vw;
  height: 4.5vw;
  object-fit: cover;
  display: block;
  background: var(--grey);
}
/* Same look as the hero sound button, as a pill with a text label that
   swaps with the icon via .icon-muted / .icon-unmuted. Only shown while the
   video is full screen (main.js adds .is-visible). Sits above the video,
   under the curtain. */
.method-sound {
  z-index: 1;
  width: auto;
  padding-inline: 16px 20px;
  gap: 8px;
  --px: 6px;
  border-radius: 0;
  clip-path: polygon(var(--px) 0, calc(100% - var(--px)) 0, calc(100% - var(--px)) var(--px), 100% var(--px), 100% calc(100% - var(--px)), calc(100% - var(--px)) calc(100% - var(--px)), calc(100% - var(--px)) 100%, var(--px) 100%, var(--px) calc(100% - var(--px)), 0 calc(100% - var(--px)), 0 var(--px), var(--px) var(--px)); /* pixel button shape, like .btn */
  font-size: 15px;
  font-weight: var(--w-medium);
  right: auto;
  left: 50%;
  translate: -50% 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease, background-color .2s ease;
}
.method-sound.is-visible { opacity: 1; pointer-events: auto; }
.method-curtain {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
}

@media (min-width: 0px) /* was prefers-reduced-motion: no-preference */ {
  /* Heading lines sit above and below the video; main.js sets --gap (half
     the video height plus a margin) as it grows. Desktop and phones. */
  .method-line { position: absolute; left: 0; right: 0; }
  .method-line--top { bottom: calc(50% + var(--gap, 48px)); }
  .method-line--bottom { top: calc(50% + var(--gap, 48px)); }

  /* The curtain inside the Method stage replaces the standalone transition.
     Why keeps its -100vh overlap (transparent top), so its top lines up with
     the stage's last pinned screen; it sits above the stage and comes in
     with the shared curtain handover (see the hero curtain CSS). */
  .method { padding-bottom: 0; }
  .why-transition-wrap { display: none; }
  .section.why { z-index: 3; padding-top: clamp(88px, 11vh, 120px); }
}

/* Phones: the same pinned expand as desktop (the video grows between the
   heading lines to full screen, then the pixel curtain rises into Why),
   with a bigger starting video. */
@media (max-width: 768px) {
  /* Pull Method up by 60% of a screen: the empty bottom of the Services
     stage and the empty top half of the Method stage overlap instead of
     stacking. See-through, so it never covers the Services heading. */
  .method { margin-top: -60svh; background-color: transparent; }
  .method-sound { font-size: 14px; height: 44px; } /* 44px: minimum tap size */
}
@media (max-width: 768px) and (min-width: 0px) /* was prefers-reduced-motion: no-preference */ {
  .method-expand { height: 400vh; } /* same timeline as desktop: grow, full screen, curtain */
  .method-expand-stage { height: 100svh; padding-inline: var(--proof-inset); }
}

/* Reduced motion: heading, then a normal video below it. */
@media (max-width: 0px) /* was prefers-reduced-motion: reduce */ {
  .method-curtain { display: none; }
  .method-expand { height: auto; }
  .method-expand-stage { position: static; height: auto; padding: 96px var(--proof-inset) 0; }
  .method-inner { position: relative; }
  .method-video { position: static; width: 100%; height: auto; aspect-ratio: 16 / 9; margin-top: 32px; object-fit: cover; }
  .method-sound { bottom: 24px; opacity: 1; pointer-events: auto; }
}

/* ===== Why ===== */
.why {
  z-index: 1;
  margin-top: -100vh;
  padding-top: 200px;
  background: linear-gradient(to bottom, transparent 0, transparent 100vh, var(--white) 100vh, var(--white) 100%);
}
.why-inner {
  padding-inline: var(--proof-inset);
}
/* Once the curtain is full, the see-through top isn't needed: a solid
   background hides the Method stage behind it completely (on iPhones its
   edge could show as a thin line while scrolling). */
.why.is-covered { background: var(--white); }
/* Heading on top; below it a tall colour block (image placeholder) on the
   left and a numbered accordion on the right. One reason is open at a time
   (native <details name>); the block takes that reason's colour (main.js). */
.why .proof-statement { margin-left: 0; text-wrap: balance; } /* lines up with the colour block; lines evened out so it is narrower without adding a line */
.why-body {
  display: grid;
  grid-template-columns: 33% 1fr;
  gap: 16%;
  align-items: start;
  margin-top: clamp(64px, 10vh, 120px);
}
.why-media {
  aspect-ratio: 1 / 1;
  background: var(--terra);
  transition: background-color .5s var(--ease);
}
.why-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
/* Uneven pixel corner cut, top right (the Contact studio photo's cut,
   flipped up): square blocks of 6% (the photo is square, so 6% wide = 6% tall). */
.why-media { clip-path: polygon(0% 0%, 82% 0%, 82% 6%, 94% 6%, 94% 12%, 100% 12%, 100% 100%, 0% 100%); }
.why-media[data-colour="blue"] { background: var(--blue); }
.why-media[data-colour="yellow"] { background: var(--yellow-soft); }
.why-media[data-colour="black"] { background: var(--black); }
.why-item { border-top: 1px solid var(--black); }
.why-item-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-block: 30px 22px; /* a little more room above the title */
}
.why-item-title {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--text-item-title);
  font-weight: var(--w-semibold);
  line-height: 1.2;
}
/* Desktop: each reason's text area opens and closes with the scroll
   (main.js sets its height directly), clipping lines as it shrinks, like
   the reference. Phones and reduced motion show every reason open. */
.why-item-body { overflow: hidden; margin-top: -10px; } /* tucks the text closer to its title (14px gap) */
.why-item-copy {
  margin: 0;
  max-width: 34ch;
  padding: 2px 0 40px; /* with the title's 22px padding, same title-to-text gap as before */
  font-size: var(--text-item-copy);
  font-weight: var(--w-medium);
  line-height: var(--lh-relaxed);
  color: var(--text-soft);
}

@media (max-width: 768px) {
  .why-body { grid-template-columns: 1fr; gap: 32px; margin-top: 48px; } /* tighter gap under the heading on phones */
  .why-item:first-child { border-top: none; } /* no line right under the photo on phones */
  .why-item:last-child .why-item-copy { padding-bottom: 0; }
}

/* Scroll-driven reasons (desktop): the heading, image and list hold still
   together (sticky, at the same spot the section's top padding puts them)
   while you scroll through the empty space below; main.js scrubs each
   reason open and shut across that space. */
.why-scroll-space { display: none; }
@media (min-width: 769px) and (min-width: 0px) /* was prefers-reduced-motion: no-preference */ {
  .why-pin { position: sticky; top: clamp(88px, 11vh, 120px); }
  .why-body { margin-top: clamp(78px, 11.9vh, 154px); } /* roomy, but the whole pinned block still fits one screen */
  .why-scroll-space { display: block; height: 130vh; } /* scroll length for all four reasons */
  .why-item-body { height: 0; margin-top: 0; } /* main.js scales both with how open it is */
}

/* ===== Testimonials ===== */
/* Statement heading, then a slider of video case studies: two cards in
   view with the next one peeking in; drag/swipe (native scroll snap) or
   the arrows (main.js). Videos are colour placeholders for now. */
.tm-inner { padding-inline: var(--proof-inset); }
/* Divider above the section heading, across the content width */
.tm-inner::before {
  content: "";
  display: block;
  height: 1px;
  margin-bottom: var(--divider-gap);
  background: var(--black);
}
/* Same space above and below the divider: Why Camel's bottom padding and
   this section's top padding are dropped, and the gap is set here once. */
.section.testimonials { padding-top: var(--divider-gap); padding-bottom: 0; }
@media (max-width: 768px) {
  .section.testimonials { padding-top: 48px; } /* phones: 48px from the last Why reason to this divider */
}
.section.why { padding-bottom: 0; }
.testimonials .proof-statement {
  text-indent: 0;
  font-size: calc(var(--text-statement) * 1.2);
  text-wrap: balance;
}
.tm-controls { display: flex; justify-content: flex-end; gap: 12px; margin-top: 48px; }
.tm-arrow {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: none;
  background: transparent;
  color: var(--black);
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease, opacity .2s ease;
}
.tm-arrow svg { width: 24px; height: 24px; transition: transform .3s var(--ease); }
.tm-prev:hover:not(:disabled) svg { transform: translateX(-4px); }
.tm-next:hover:not(:disabled) svg { transform: translateX(4px); }
.tm-arrow:disabled { opacity: .3; cursor: default; }
/* The track runs edge to edge of the screen (cards slide off both edges
   instead of being cut at the page margins); the first card still lines
   up with the heading. */
.tm-track {
  display: flex;
  gap: 24px;
  margin: 24px calc(var(--proof-inset) * -1) 0;
  padding: 0 var(--proof-inset);
  scroll-padding-inline: var(--proof-inset);
  list-style: none;
  overflow-x: auto;
  overflow-y: hidden; /* sideways only: without this, a finger could drag the cards up and down */
  padding-bottom: 12px; /* room for the link tap areas and focus ring, which would otherwise be clipped */
  margin-bottom: -12px; /* ...without changing the layout */
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.tm-track::-webkit-scrollbar { display: none; }
@media (max-width: 768px) {
  .tm-controls { display: none; } /* phones swipe the cards with a thumb, no arrows */
  .tm-track { margin-top: 48px; } /* so the heading keeps the same 48px gap to the cards */
  .testimonials .proof-statement { text-wrap: pretty; } /* phones: lines run the full width (no single word left alone on the last line) */
}
.tm-card {
  flex: 0 0 calc((100% - 48px) * .41); /* two in view, the third half visible */
  scroll-snap-align: start;
  transition: flex-basis .6s var(--ease);
}
/* Hover (mouse only): the card grows wider to the right (the 16:9 video
   grows taller with it) and the cards after it slide over to make room. */
@media (hover: hover) {
  .tm-card:hover { flex-basis: calc((100% - 48px) * .5); }
  .tm-video { cursor: pointer; }
}
.tm-video {
  position: relative;
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.tm-video-el { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tm-play { position: relative; z-index: 1; }
.tm-video.is-playing .tm-play { opacity: 0; pointer-events: none; }
.tm-video--blue { background: var(--blue); }
.tm-video--yellow { background: var(--yellow-soft); }
.tm-video--terra { background: var(--terra); }
.tm-video--black { background: var(--black); }
.tm-video--tan { background: var(--tan); }
.tm-play {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border: none;
  border-radius: 50%;
  background: rgba(14, 14, 14, .6);
  color: var(--white);
  cursor: pointer;
  transition: background-color .2s ease, transform .2s ease;
}
.tm-play svg { width: 26px; height: 26px; margin-left: 3px; }
.tm-play:hover { background: var(--black); transform: scale(1.05); }
.tm-name {
  margin: 28px 0 0;
  font-family: var(--font-sans);
  font-size: var(--text-item-title);
  font-weight: var(--w-semibold);
  line-height: 1.2;
  color: var(--black);
}
.tm-desc {
  margin: 14px 0 0;
  min-height: calc(1.4em * 2); /* always two lines' room, so every card's link line matches */
  max-width: 40ch;
  font-size: var(--text-item-copy);
  font-weight: var(--w-medium);
  line-height: var(--lh-relaxed);
  color: var(--black);
}
/* Short divider (half the card) with the link on it and the arrow at its
   right end, like the reference. */
.tm-cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  width: 50%;
  margin-top: 24px;
  padding-top: 12px;
  border-top: 1px solid var(--black);
  font-size: 16px;
  font-weight: var(--w-semibold);
  color: var(--black);
}
.tm-cta svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.tm-cta:hover svg { transform: translateX(4px); }
@media (max-width: 768px) {
  .tm-card { flex-basis: 85%; }
}
/* Video lightbox: the frame animates from the card's box to a large
   centred 16:9 frame (main.js sets its position and size) over a darkening
   backdrop. */
.tm-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(14, 14, 14, 0);
  transition: background-color .6s ease;
}
.tm-lightbox.is-open { background: rgba(14, 14, 14, .96); }
.tm-lightbox-frame {
  position: fixed;
  overflow: hidden;
  transition: left .6s var(--ease), top .6s var(--ease), width .6s var(--ease), height .6s var(--ease);
}
.tm-lightbox .tm-video-el { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tm-lightbox-close {
  position: fixed;
  top: 24px;
  right: 32px;
  z-index: 1;
  padding: 8px 0;
  border: none;
  background: transparent;
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 22px;
  font-weight: var(--w-medium);
  cursor: pointer;
  opacity: 0;
  transition: opacity .3s ease .3s;
}
.tm-lightbox.is-open .tm-lightbox-close { opacity: 1; }
.tm-lightbox.is-open .tm-lightbox-close:hover { opacity: .7; }

/* ===== FAQ ===== */
/* Divider (same equal gaps as Testimonials), big pixel title, then a short
   intro on the left and the questions on the right (first one
   open; open/close slides, main.js). */
.section.faq { padding-top: var(--divider-gap); }
.faq-inner { padding-inline: var(--proof-inset); }
.faq-inner::before {
  content: "";
  display: block;
  height: 1px;
  margin-bottom: var(--divider-gap);
  background: var(--black);
}
.faq-title {
  margin: 0;
  font-family: var(--font-pixel);
  font-weight: var(--w-regular);
  font-variation-settings: "ELSH" 50, "wght" 400;
  font-size: var(--text-section-title);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--black);
}
.faq-body {
  display: grid;
  grid-template-columns: 34% 1fr;
  gap: 10%;
  align-items: start;
  margin-top: clamp(20px, 2.5vw, 40px);
}
.faq-intro { padding-top: 21px; } /* lines the intro's letter tops up with the first question's (measured) */
.faq-intro p {
  margin: 0;
  max-width: 22ch;
  font-size: clamp(22px, 2.2vw, 34px);
  font-weight: var(--w-medium);
  line-height: 1.25;
  color: var(--black);
}
.faq-item { border-bottom: 1px solid rgba(14, 14, 14, .4); } /* mid grey, darker than --grey */
.faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  padding: 22px 0;
  font-size: var(--text-item-title); /* same as the Why Camel reason titles */
  font-weight: var(--w-semibold);
  line-height: 1.4;
  color: var(--black);
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
/* Thin plus that turns into a cross when open */
.faq-item summary::after {
  content: "";
  flex: 0 0 16px;
  height: 16px;
  margin-top: 4px;
  background:
    linear-gradient(currentColor, currentColor) center / 100% 1.5px no-repeat,
    linear-gradient(currentColor, currentColor) center / 1.5px 100% no-repeat;
  transition: transform .3s var(--ease);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item.is-closing summary::after { transform: none; }
.faq-answer { overflow: hidden; }
/* Same size, weight and colour as the Why Camel reason text */
.faq-item p {
  margin: -6px 0 24px;
  max-width: 56ch;
  font-size: var(--text-item-copy);
  font-weight: var(--w-medium);
  line-height: var(--lh-relaxed);
  color: var(--text-soft);
}
@media (max-width: 768px) {
  .faq-body { grid-template-columns: 1fr; gap: 40px; margin-top: 16px; }
  .faq-intro { padding-top: 0; } /* phones: the intro sits right under the FAQ title, as one group */
  .faq-intro p { max-width: none; } /* phones: full width, same 24px side margins as the rest */
}

/* ===== Final CTA ===== */
/* "The finish line": the page ends in the desert it started in. The hero's
   desert video fills the section behind one compact black card: title, a
   direct email and a three-field form (name, email, one-line message). The section's top
   edge is cut into the curtains' pixel staircase and tucked up over the
   FAQ's empty bottom space, so the desert steps up into the white. */
.final-cta {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 100vh;
  margin-top: calc(-7.2vw + 104px); /* tucked up, with the tallest step about 64px clear of the last FAQ line */
  padding-block: calc(7.2vw + clamp(64px, 8vw, 120px)) clamp(64px, 8vw, 120px);
  padding-inline: var(--proof-inset);
  overflow: hidden;
  background: var(--page-bg); /* only shows in the top 3px, under the steps */
  color: var(--white);
}
/* The stepped top edge: white steps drawn over the video (the FAQ's
   white continuing down), rather than cutting the section itself. Cutting
   a playing video let Chrome show the dark tint as grey in the gaps. */
.final-cta::before {
  content: "";
  position: absolute;
  top: -1px; /* its soft top edge sits outside the section, so no grey hairline shows */
  left: 0;
  right: 0;
  z-index: 1;
  height: calc(7.2vw * 0.75 + 1px);
  background: var(--page-bg); /* the page colour above it: white, or black on the Work page once it turns dark */
  transition: background-color 600ms ease;
  clip-path: polygon(0.0000% calc(7.2vw * 0.50), 7.1429% calc(7.2vw * 0.50), 7.1429% calc(7.2vw * 0.25), 14.2857% calc(7.2vw * 0.25), 14.2857% calc(7.2vw * 0.25), 21.4286% calc(7.2vw * 0.25), 21.4286% calc(7.2vw * 0.00), 28.5714% calc(7.2vw * 0.00), 28.5714% calc(7.2vw * 0.00), 35.7143% calc(7.2vw * 0.00), 35.7143% calc(7.2vw * 0.25), 42.8571% calc(7.2vw * 0.25), 42.8571% calc(7.2vw * 0.50), 50.0000% calc(7.2vw * 0.50), 50.0000% calc(7.2vw * 0.50), 57.1429% calc(7.2vw * 0.50), 57.1429% calc(7.2vw * 0.75), 64.2857% calc(7.2vw * 0.75), 64.2857% calc(7.2vw * 0.75), 71.4286% calc(7.2vw * 0.75), 71.4286% calc(7.2vw * 0.50), 78.5714% calc(7.2vw * 0.50), 78.5714% calc(7.2vw * 0.25), 85.7143% calc(7.2vw * 0.25), 85.7143% calc(7.2vw * 0.25), 92.8571% calc(7.2vw * 0.25), 92.8571% calc(7.2vw * 0.50), 100.0000% calc(7.2vw * 0.50), 100% 0, 0% 0);
}
/* Video and tint start 3px below the section's top edge, and the section
   itself is white, so the half-pixel row at that edge is always white
   (no grey hairline above the steps). */
.cta-bg { position: absolute; inset: 3px 0 0; width: 100%; height: calc(100% - 3px); object-fit: cover; }
.cta-shade { position: absolute; inset: 3px 0 0; background: rgba(14, 14, 14, .25); }
.cta-card {
  position: relative;
  z-index: 2; /* in front of the white top steps */
  width: min(860px, 100%);
  padding: clamp(40px, 5.2vw, 80px);
  background: var(--black);
}
.cta-label {
  margin: 0;
  font-size: 12px;
  font-weight: var(--w-semibold);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-soft-dark);
}
.cta-title {
  margin: 24px 0 0;
  font-family: var(--font-pixel);
  font-weight: var(--w-regular);
  font-variation-settings: "ELSH" 50, "wght" 400;
  font-size: clamp(36px, 3.96vw, 62.4px); /* 20% up from clamp(30px, 3.3vw, 52px) */
  line-height: 1.1;
  letter-spacing: -0.03em;
  word-spacing: -0.2em;
  color: var(--white);
}
.cta-title .type-block { padding: 0 .12em; }
.cta-write { margin: 28px 0 0; font-size: 16px; color: var(--text-soft-dark); }
.cta-write a {
  margin-left: 8px;
  color: var(--white);
  font-weight: var(--w-medium);
  border-bottom: 1px solid rgba(255, 255, 255, .5);
}
.cta-write a:hover { border-bottom-color: var(--white); }
.cta-or { margin-left: 8px; }
.final-cta .contact-form { margin-top: clamp(40px, 4.5vw, 64px); row-gap: 36px; }

/* Form: underline fields, pill choices, black pill button */
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 32px; }
.field { display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 0; border: none; min-width: 0; }
.field-full { grid-column: 1 / -1; }
.field label {
  padding: 0;
  font-size: 12px;
  font-weight: var(--w-semibold);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--white);
}
.field input,
.field textarea,
.field select {
  padding: 8px 0 12px;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, .35);
  border-radius: 0;
  background: transparent;
  color: var(--white);
  font-family: var(--font-sans);
  font-size: clamp(18px, 1.5vw, 22px);
  font-weight: var(--w-medium);
  transition: border-color .2s ease;
}
.field textarea { resize: none; min-height: 0; field-sizing: content; max-height: 160px; } /* starts one line, grows as you type */
.field input::placeholder,
.field textarea::placeholder { color: rgba(255, 255, 255, .4); }
.field select { appearance: none; padding-right: 28px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M6 9l6 6 6-6' stroke='white' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right center / 20px; cursor: pointer; } /* dropdown styled like the other fields, with a white arrow */
.field select option { color: var(--black); }
.field input:focus,
.field textarea:focus,
.field select:focus { outline: none; border-bottom: 2px solid var(--white); padding-bottom: 11px; }
.cta-submit-row { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: 20px; } /* note left, button right */
.cta-submit {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 36px;
  border: none;
  background: var(--yellow);
  color: var(--black);
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: var(--w-semibold);
  cursor: pointer;
}
.cta-submit svg { width: 20px; height: 20px; transition: transform .3s var(--ease); }
.cta-submit { transition: background-color .25s ease; }
.cta-submit:hover, .cta-submit:focus-visible { background: var(--yellow-soft); } /* dark background: yellow button goes soft yellow */
.cta-submit:hover svg { transform: translateX(4px); }
.form-note { margin: 0; color: var(--text-soft-dark); font-size: 14px; }
#form-status:empty { display: none; }

@media (max-width: 768px) {
  .contact-form { grid-template-columns: 1fr; }
  .final-cta { padding-inline: var(--proof-inset); } /* 24px of video shows on each side of the black card */
  /* Phones: the top edge uses the same square blocks as the pixel curtain
     (9 across, each as tall as it is wide), stepping down up to 2 blocks. */
  .final-cta {
    margin-top: calc(-22.2222vw + 72px); /* the tallest block stays about 40px clear of the last FAQ line */
    padding-top: calc(22.2222vw + 64px);
  }
  .final-cta::before {
    height: calc(11.1111vw * 2 + 1px);
    clip-path: polygon(0.0000% calc(11.1111vw * 2), 11.1111% calc(11.1111vw * 2), 11.1111% calc(11.1111vw * 1), 22.2222% calc(11.1111vw * 1), 22.2222% calc(11.1111vw * 1), 33.3333% calc(11.1111vw * 1), 33.3333% calc(11.1111vw * 0), 44.4444% calc(11.1111vw * 0), 44.4444% calc(11.1111vw * 0), 55.5556% calc(11.1111vw * 0), 55.5556% calc(11.1111vw * 1), 66.6667% calc(11.1111vw * 1), 66.6667% calc(11.1111vw * 2), 77.7778% calc(11.1111vw * 2), 77.7778% calc(11.1111vw * 2), 88.8889% calc(11.1111vw * 2), 88.8889% calc(11.1111vw * 2), 100.0000% calc(11.1111vw * 2), 100% 0, 0% 0);
  }
  .cta-card { padding: 40px 24px; }
  .cta-title { font-size: var(--text-section-title); } /* same size as the FAQ and other section titles on phones */
  .cta-or { margin-left: 0; } /* "or WhatsApp us" starts its own line flush left */
  /* Phones: form first, then the full-width Send button, then the
     "Or just write" line underneath as the alternative. */
  .cta-card { display: flex; flex-direction: column; }
  .cta-write { order: 3; margin-top: 32px; }
  .cta-submit { width: 100%; justify-content: center; }
  .cta-submit-row .form-note { width: 100%; text-align: center; }
  .cta-write { text-align: center; } /* the lines above and below the button sit centred with it */
}

/* ===== Footer ===== */
/* Four link columns, then the big pixel "camel" wordmark (main.js fits it
   to the width and lifts it in on scroll), then the copyright row. */
.site-footer { position: relative; margin-top: -1px; background: var(--black); color: var(--white); padding-top: clamp(64px, 7vw, 104px); } /* -1px overlap: no hairline gap above the footer on iPhones */
.ft-inner { padding-inline: var(--proof-inset); }
.ft-cols { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr; gap: 32px; } /* Contact, Pages, Others, Social, Studios */
.ft-col { padding-top: 16px; }
.ft-head { margin: 0 0 28px; font-size: 16px; font-weight: var(--w-medium); color: var(--white); }
.ft-big {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: var(--w-medium);
  color: var(--white);
}
.ft-big svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.ft-big:hover svg { transform: translateX(4px); }
.ft-list { display: flex; flex-direction: column; gap: 6px; margin: 0; padding: 0; list-style: none; font-size: 16px; color: var(--white); }
.ft-col .ft-big + .ft-list { margin-top: 40px; }
.ft-list a { color: inherit; }
.ft-muted { color: var(--text-soft-dark); }
.ft-note { margin: 40px 0 0; max-width: 26ch; font-size: 14px; line-height: 1.5; }
.ft-careers { font-size: 16px; max-width: 28ch; } /* 15% bigger than the other footer notes */
.ft-note a { color: var(--white); font-weight: var(--w-semibold); text-decoration: none; transition: color .2s ease; } /* the careers email: white and bolder, so it stands out from the soft note */
.ft-note a:hover, .ft-note a:focus-visible { color: var(--yellow); }
.ft-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding: 24px var(--proof-inset) 28px;
  font-size: 14px;
  color: var(--text-soft-dark);
}
.ft-bottom p { margin: 0; }
.ft-legal { display: flex; flex-wrap: wrap; gap: 12px 20px; } /* wraps on small phones instead of running off the edge */
.ft-legal a:hover { color: var(--white); }
.pixel-sign { font-family: var(--font-pixel); font-variation-settings: "ELSH" 50; letter-spacing: var(--ls-wide); text-transform: uppercase; color: var(--yellow); }
/* Giant pixel wordmark, full width, with the small bottom bar below it.
   It rises into place as you reach the end (JS sets --ft-rise-px). */
.ft-word-wrap { overflow: hidden; margin-top: clamp(32px, 4vw, 64px); padding-inline: var(--proof-inset); }
.ft-word {
  width: max-content;
  margin: 0;
  font-family: var(--font-pixel);
  font-variation-settings: "ELSH" 50, "wght" 400;
  font-size: 30vw; /* JS fits it to the exact width */
  line-height: .8;
  white-space: nowrap;
  color: var(--paper);
  transform: translateY(var(--ft-rise-px, 0px));
  clip-path: inset(0 0 .16em 0); /* nothing is drawn below the letters' baseline (iPhones showed a stray hairline there) */
  user-select: none;
}
@media (max-width: 860px) {
  .ft-cols { grid-template-columns: 1fr 1fr; row-gap: 48px; }
  .ft-col:first-child { grid-column: 1 / -1; } /* contact links get the full width, so nothing is cut off */
  /* Phones: footer text a step bigger so it reads comfortably */
  .ft-head { font-size: 18px; }
  .ft-big { font-size: 21px; }
  .ft-list { font-size: 18px; }
  .ft-note { font-size: 16px; }
}

/* ===== Motion ===== */
.reveal { opacity: 1; transform: none; }
@media (min-width: 0px) /* was prefers-reduced-motion: no-preference */ {
  .reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .5s ease, transform .5s ease;
  }
  .reveal.in-view { opacity: 1; transform: none; }
}

/* ===== Custom cursor (fine pointer + hover-capable devices only) ===== */
.pixel-trail {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9998;
  display: none;
}
.pixel-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 11px;
  height: 11px;
  background: var(--yellow-soft);
  pointer-events: none;
  z-index: 9999;
  display: none;
  transition: opacity .15s ease;
}
.pixel-cursor.is-hidden { opacity: 0; }

/* Custom pixel cursor and trail: removed by the owner (2026-10-07); the normal
   mouse pointer shows everywhere. To bring them back, restore:
   @media (hover: hover) and (pointer: fine) { .pixel-trail, .pixel-cursor { display: block; } body { cursor: none; } } */
a, button, .btn, summary, select, [role="button"] { cursor: pointer; }

@media (max-width: 0px) /* was prefers-reduced-motion: reduce */ {
  .pixel-cursor { transition: none; }
  .pixel-trail { display: none; }
}

/* ===================================================================
   Services page (services.html). Built from DESIGN-SYSTEM.md: same
   gutters, type roles, 48px phone rhythm and components as the homepage.
   =================================================================== */
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.sv-inner { padding-inline: var(--proof-inset); }

/* Hero: black, pixel headline, sub, yellow button */
/* Hero fits one screen on desktop: text bottom-left, tiles on the right
   sized by the screen height. Background: black with a
   pixel shape that loads in block by block (same language as the curtain). */
.sv-hero {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 96px);
  align-items: end;
  min-height: 100svh;
  padding: 112px var(--proof-inset) 48px;
  overflow: hidden;
  background-color: var(--black);
  color: var(--white);
}
.sv-hero > * { position: relative; z-index: 1; }
.sv-hero > .sv-pixels { position: absolute; top: 0; left: 0; z-index: 0; width: auto; height: 26vh; pointer-events: none; } /* main.js fits it between the header line and the eyebrow (this height is the fallback) */
.sv-pixels rect { fill: #1d1d1d; }
@media (min-width: 0px) /* was prefers-reduced-motion: no-preference */ {
  .sv-pixels rect { animation: sv-px-in .01s steps(1, end) both; }
}
@keyframes sv-px-in { from { opacity: 0; } }
/* Hero tiles: one real project per service, 2 x 2, each jumps to its service */
.sv-tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 12px;
  justify-self: end;
  width: min(100%, calc(100svh - 160px)); /* square, as tall as the screen allows */
  aspect-ratio: 1 / 1;
}
.sv-tile {
  position: relative;
  display: block;
  overflow: hidden;
  background: #1c1c1c;
}
.sv-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.sv-tile:hover img, .sv-tile:focus-visible img { transform: scale(1.05); }
.sv-tile::after { content: ""; position: absolute; inset: 40% 0 0; background: linear-gradient(to bottom, transparent, rgba(14, 14, 14, .85)); pointer-events: none; }
.sv-tile-label {
  position: absolute;
  left: 18px;
  bottom: 16px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: var(--w-semibold);
  color: var(--white);
}
.sv-tile-num { color: rgba(255, 255, 255, .6); }
.sv-tile-label svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.sv-tile:hover .sv-tile-label svg, .sv-tile:focus-visible .sv-tile-label svg { transform: translateX(4px); }

.sv-eyebrow {
  margin: 0 0 var(--space-4);
  font-size: clamp(.75rem, 1vw, .9rem);
  font-weight: var(--w-semibold);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  color: #cccccc;
}
.sv-hero-title {
  max-width: 14ch;
  margin: 0;
  font-family: var(--font-pixel);
  font-weight: var(--w-regular);
  font-variation-settings: "ELSH" 50, "wght" 400;
  font-size: min(var(--text-section-title), 10vh); /* shrinks a little on short screens so the button always fits the first screen */
  line-height: 1.08; /* was 1: a little more air between the pixel lines (design review) */
  letter-spacing: -0.03em;
  word-spacing: -0.2em;
}
/* Same second-fold effect as the homepage: the hero slides up at half
   speed (main.js hero lag), the text and tiles shrink and fade a little
   (--hero-text-p), and the services list slides over it like a sheet. */
.sv-hero-inner { transform-origin: left bottom; }
.sv-tiles { transform-origin: right bottom; }
.sv-hero-inner, .sv-tiles {
  transform: scale(calc(1 - var(--hero-text-p, 0) * .08));
  opacity: calc(1 - var(--hero-text-p, 0) * .6);
  will-change: transform, opacity;
}
.sv-services { position: relative; z-index: 2; }
.sv-accent { color: var(--yellow); } /* same yellow highlight as "any market." on the homepage */
.sv-hero-sub {
  max-width: 44ch;
  margin: var(--space-5) 0 0;
  font-size: var(--text-item-copy);
  font-weight: var(--w-medium);
  line-height: 1.5;
  color: var(--text-soft-dark);
}
.sv-hero-btn { margin-top: var(--space-6); }

/* The four services: name, a square image that flips through projects,
   details. Stacked cards: each card sticks once it is fully on screen
   (main.js sets --sv-stick for cards taller than the screen) and the next
   card slides up over it. */
.sv-services { padding-block: 0 var(--divider-gap); } /* the first card brings its own 128px top space */
.sv-item {
  position: sticky;
  top: var(--sv-stick, 0px);
  display: grid;
  grid-template-columns: auto minmax(var(--sv-flip-size), 1fr) minmax(0, 56%); /* title, image centred in the space between, details */
  gap: clamp(24px, 3vw, 56px);
  padding-block: var(--space-9);
  border-top: 1px solid var(--black);
  background: var(--white);
  /* White also fills the side margins, so the pixel letters of the card
     underneath (they poke a pixel or two past the edge) never show. */
  box-shadow: calc(-1 * var(--proof-inset)) 0 0 var(--white), var(--proof-inset) 0 0 var(--white);
  --sv-flip-size: clamp(180px, 17vw, 300px);
}
.sv-item:first-child { border-top: none; }
.sv-flip { justify-self: center; width: var(--sv-flip-size); aspect-ratio: 1 / 1; overflow: hidden; background: var(--grey); }
@media (min-width: 769px) and (max-width: 1080px) {
  /* Tablets: three columns get too narrow, so the image goes under the
     name and the details take the right half. */
  .sv-item { grid-template-columns: 1fr 1.2fr; row-gap: var(--space-6); }
  .sv-flip { grid-column: 1; justify-self: start; }
  .sv-item-body { grid-column: 2; grid-row: 1 / span 2; }
}
.sv-flip img { width: 100%; height: 100%; object-fit: cover; }
/* Service names in Hanken, not pixel: four big pixel titles in a row felt
   heavy (design review feedback, 2026-10-02). */
.sv-name {
  margin: 0;
  max-width: 11ch;
  font-family: var(--font-sans);
  font-weight: var(--w-semibold);
  font-size: clamp(36px, 3.8vw, 60px);
  line-height: var(--lh-heading-tight);
  letter-spacing: var(--ls-statement);
}
.sv-promise {
  max-width: 36ch;
  margin: 0;
  font-size: clamp(20px, 1.8vw, 28px);
  font-weight: var(--w-medium);
  line-height: 1.3;
}
.sv-label {
  margin: var(--space-5) 0 12px;
  font-size: 12px;
  font-weight: var(--w-semibold);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-soft);
}
.sv-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.sv-tags li {
  --line: var(--black);
  padding: 8px 14px;
  border: 1px solid transparent; /* the outline is drawn by ::before so it follows the pixel corners */
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: var(--w-medium);
  line-height: 1.2;
}
.sv-best { max-width: 44ch; margin: 0; font-size: var(--text-item-copy); font-weight: var(--w-medium); line-height: var(--lh-relaxed); color: var(--text-soft); }
.sv-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: var(--space-5);
  padding-block: 10px;
  border-bottom: 1px solid var(--black);
  font-size: var(--text-md);
  font-weight: var(--w-semibold);
  color: var(--black);
}
.sv-cta svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.sv-cta:hover svg, .sv-cta:focus-visible svg { transform: translateX(4px); }

/* How we work: black, statement, three steps */
/* Pixel curtain into How we work: black blocks rise over the page as you
   scroll (main.js, same painter as the homepage). Reuses the Why
   transition stage and canvas styles. Reduced motion: straight cut. */
/* It is pulled up over the end of the services list (see-through, above
   the cards). Its canvas pins to the screen from the moment the last card
   stops, fills over one screen of scroll, then scrolls away into How we
   work (main.js, data-pin). */
/* --px-lead: how much earlier than the card stopping the curtain starts
   (desktop only; on phones the card fills the screen). */
.px-transition, .px-transition + .sv-method { --px-lead: 30vh; }
.px-transition { position: relative; z-index: 3; height: calc(200vh + var(--px-lead)); margin-top: calc(-200vh - var(--px-lead)); pointer-events: none; }
@media (max-width: 768px) { .px-transition, .px-transition + .sv-method { --px-lead: 0vh; } }
/* How we work comes in with the curtain (main.js createHandover, same as
   Why Camel on the homepage): it is pulled up so its top reaches the top of
   the screen the moment the curtain is full, sits above the curtain, and
   stays see-through until then so the blocks show. The heading appears
   10% of the screen below the curtain's top edge, fades in and fills in
   word by word; the steps and note fade in after it. */
@media (min-width: 0px) /* was prefers-reduced-motion: no-preference */ {
  .px-transition + .sv-method { z-index: 4; margin-top: calc(-100vh - var(--px-lead)); }
  .px-transition + .sv-method:not(.is-covered) { background: transparent; }
  /* How we work is pulled up, so the section after it starts while the
     pinned last service card is still there; keep it in front of that. */
  .px-transition + .sv-method + .section { position: relative; z-index: 3; } /* any section after How we work (Engagement models, the country FAQ) */
  .px-transition + .sv-method .handover-inner { transition: opacity .8s var(--ease); } /* follows the smooth edge directly, no catch-up glide */
}
.px-transition .why-transition-stage { background: transparent; }
@media (max-width: 0px) /* was prefers-reduced-motion: reduce */ { .px-transition { display: none; } }
/* Extra scroll after the last card so it stays pinned at the top: first the
   gap until it has fully stopped (--sv-pin-gap, set in main.js), then one
   screen while the curtain rises over it, then one more while the black
   curtain scrolls up into How we work. */
@media (min-width: 0px) /* was prefers-reduced-motion: no-preference */ {
  .section.sv-services { padding-bottom: 0; }
  .sv-services .sv-inner::after { content: ""; display: block; height: calc(var(--sv-pin-gap, 0px) + 100vh); }
}
.sv-method { --page-fg: var(--white); background: var(--black); color: var(--white); padding-block: var(--divider-gap); } /* --page-fg: the word fill reads it, so the heading fills in white here */
.sv-method .proof-statement, .sv-models .proof-statement { text-indent: 0; max-width: 20ch; }
.sv-method .proof-statement, .sv-models .proof-statement { max-width: 32ch; font-size: calc(var(--text-statement) * 1.2); } /* same size as the homepage "Who we serve" statement; wider so the longer headings sit on three lines */
/* Map, Cross, Arrive: one path. A thin line runs along the top of the three
   steps and fills yellow as you scroll (main.js sets --sv-line 0 to 1);
   each step's square turns yellow when the line reaches it (.is-reached).
   Phones: the line runs down the left side instead. */
.sv-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
  margin: var(--space-8) 0 0;
  padding: 0;
  list-style: none;
}
.sv-steps::before, .sv-steps::after { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: rgba(255, 255, 255, .35); }
.sv-steps::after { height: 2px; top: -.5px; background: var(--yellow-soft); transform: scaleX(var(--sv-line, 1)); transform-origin: left; }
.sv-step { position: relative; padding-top: var(--space-6); }
.sv-step::before { content: ""; position: absolute; top: -6px; left: 0; z-index: 1; width: 12px; height: 12px; background: #3a3a3a; transition: background .3s var(--ease); }
.sv-step.is-reached::before { background: var(--yellow-soft); }
.sv-step-time { display: block; margin-bottom: var(--space-4); font-size: 12px; font-weight: var(--w-semibold); letter-spacing: .14em; text-transform: uppercase; color: var(--text-soft-dark); }
.sv-step-video { display: block; width: min(100%, 360px); aspect-ratio: 1 / 1; margin-bottom: var(--space-5); object-fit: cover; background: #1c1c1c; }
.sv-step-name {
  display: block;
  font-family: var(--font-pixel);
  font-variation-settings: "ELSH" 50, "wght" 400;
  font-size: var(--text-section-title);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--yellow);
}
.sv-step p { margin: var(--space-5) 0 0; max-width: 30ch; font-size: var(--text-item-copy); font-weight: var(--w-medium); line-height: var(--lh-relaxed); color: var(--text-soft-dark); }
.sv-method .sv-tags { margin-top: var(--space-5); }
.sv-method .sv-tags li { --line: rgba(255, 255, 255, .35); color: var(--white); }
.sv-note { margin: var(--space-7) 0 0; font-size: var(--text-item-copy); font-weight: var(--w-medium); }
.sv-method .sv-note { margin-top: var(--space-9); font-size: var(--text-item-title); font-weight: var(--w-semibold); color: var(--white); }

/* Engagement models: two outlined cards */
.sv-models { --page-fg: var(--white); background: var(--black); color: var(--white); padding-block: var(--divider-gap); } /* black, like How we work above it */
/* Divider above the title: the line sits where the section starts, the
   usual divider gap below it. */
.section.sv-models { padding-top: 0; }
.sv-models .sv-inner::before { content: ""; display: block; height: 1px; margin-bottom: var(--divider-gap); background: rgba(255, 255, 255, .35); }
.sv-model-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-5); margin-top: var(--space-8); }
/* Heading with the hero's pixel pattern under it on the left, the two cards
   stacked on the right, starting a little lower than the heading. The
   pattern loads in block by block once it scrolls into view (.in-view). */
.sv-models-layout { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 96px); align-items: start; }
.sv-models-layout .sv-model-grid { margin-top: var(--space-9); }
/* Comparison cards: pixel icon, name, text, then the same four rows in
   both cards so they read side by side. */
.sv-model { display: flex; flex-direction: column; }
.sv-model-icon { width: 48px; height: 48px; margin-bottom: var(--space-6); fill: var(--yellow-soft); }
.sv-model-facts { margin: var(--space-6) 0 0; }
.sv-model-facts div { padding-block: 14px; border-top: 1px solid rgba(255, 255, 255, .2); }
.sv-model-facts .sv-label { margin: 0 0 4px; }
.sv-model-facts dd { margin: 0; font-size: var(--text-item-copy); font-weight: var(--w-medium); line-height: 1.4; color: var(--white); }
@media (max-width: 1080px) {
  /* Tablets: not enough room for heading and two cards side by side, so
     the cards go under the heading (still two across). */
  .sv-models-layout { grid-template-columns: 1fr; }
  .sv-models-layout .sv-model-grid { margin-top: var(--space-8); }
  .sv-models-pixels { display: none; }
}
.sv-models-pixels { display: block; width: min(100%, 560px); height: auto; margin-top: var(--space-7); }
.sv-models-pixels:not(.in-view) rect { animation-play-state: paused; }
.sv-model { padding: var(--space-6) var(--space-5); border: 1px solid rgba(255, 255, 255, .35); }
.sv-model-name { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin: 0; font-size: var(--text-item-title); font-weight: var(--w-semibold); line-height: 1.2; }
.sv-model-tag { padding: 4px 10px; background: var(--yellow-soft); color: var(--black); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.sv-model p { margin: var(--space-4) 0 0; font-size: var(--text-item-copy); font-weight: var(--w-medium); line-height: var(--lh-relaxed); color: var(--text-soft-dark); }
.sv-models .sv-label { color: var(--text-soft-dark); }

/* Why Camel strip: a thin yellow ticker. The list is repeated four times
   in a row and the row slides left to right by one copy (25%), then
   restarts, so it loops with no gap. Reduced motion: one still copy. */
.sv-trust { overflow: hidden; background: var(--yellow-soft); color: var(--black); padding-block: clamp(18px, 2vw, 28px); }
.sv-trust-track { display: flex; width: max-content; }
.sv-trust-list { display: flex; margin: 0; padding: 0; list-style: none; }
.sv-trust-list li {
  display: flex;
  align-items: center;
  gap: clamp(28px, 3vw, 56px);
  padding-left: clamp(28px, 3vw, 56px);
  font-size: clamp(20px, 2vw, 32px);
  font-weight: var(--w-semibold);
  line-height: 1.2;
  white-space: nowrap;
}
.sv-trust-list li::before { content: ""; width: 14px; height: 14px; flex-shrink: 0; background: var(--black); clip-path: polygon(33% 0, 67% 0, 67% 33%, 100% 33%, 100% 67%, 67% 67%, 67% 100%, 33% 100%, 33% 67%, 0 67%, 0 33%, 33% 33%); } /* pixel plus */
@media (min-width: 0px) /* was prefers-reduced-motion: no-preference */ {
  .sv-trust-track { animation: sv-ticker 50s linear 3; } /* 3 rounds, then still (WCAG 2.2.2) */
}
@media (max-width: 0px) /* was prefers-reduced-motion: reduce */ {
  .sv-trust-list[aria-hidden="true"] { display: none; }
  .sv-trust-track, .sv-trust-list { width: auto; flex-wrap: wrap; row-gap: 8px; }
}
@keyframes sv-ticker { from { transform: translateX(-25%); } to { transform: translateX(0); } }

/* FAQ on the Services page: no divider line above (the ticker already
   separates it). */
.sv-faq .faq-inner::before { display: none; }

/* Final CTA: same card as the homepage, with a sub line and two buttons */
/* Services contact has no form, so the card is short: the section fits
   around it (no full screen height), with the same space below the card
   as between the steps and the card. */
.sv-final-cta { min-height: 0; padding-bottom: clamp(64px, 8vw, 120px); }
.sv-cta-sub { max-width: 40ch; margin: 28px 0 0; font-size: var(--text-item-copy); font-weight: var(--w-medium); line-height: var(--lh-relaxed); color: var(--text-soft-dark); }
.sv-cta-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: var(--space-6); }
.sv-cta-ghost { color: var(--white); }
.sv-cta-ghost:hover { background: var(--white); color: var(--black); --line: transparent; }

@media (max-width: 768px) {
  .sv-hero { grid-template-columns: 1fr; gap: 48px; min-height: 0; padding: 140px var(--proof-inset) 96px; }
  .sv-hero > .sv-pixels { display: none; }
  .sv-tiles { width: 100%; }
  .sv-tile-label { left: 10px; bottom: 8px; gap: 4px; font-size: 13px; }
  .sv-tile-label svg { width: 14px; height: 14px; }
  .sv-hero-sub { margin-top: 24px; }
  .sv-hero-btn { margin-top: 32px; }
  .sv-services, .sv-method, .sv-models { padding-block: 64px; }
  .sv-services { padding-top: 16px; }
  .sv-item { grid-template-columns: 1fr; gap: 24px; padding-block: 48px; --sv-flip-size: 200px; }
  .sv-flip { justify-self: start; }
  .sv-name { max-width: none; font-size: clamp(34px, 9vw, 44px); }
  .sv-steps, .sv-model-grid { grid-template-columns: 1fr; }
  .sv-steps, .sv-model-grid { margin-top: 48px; gap: 32px; }
  .sv-models .sv-inner::before { margin-bottom: 64px; }
  .sv-models-layout { grid-template-columns: 1fr; gap: 0; }
  .sv-models-layout .sv-model-grid { margin-top: 48px; }
  .sv-models-pixels { display: none; }
  .sv-steps { gap: 48px; padding-left: 28px; }
  .sv-steps::before, .sv-steps::after { top: 0; bottom: 0; left: 0; right: auto; width: 1px; height: auto; }
  .sv-steps::after { width: 2px; left: -.5px; transform: scaleY(var(--sv-line, 1)); transform-origin: top; }
  .sv-step { padding-top: 0; }
  .sv-step::before { top: 2px; left: -34px; }
  .sv-method .sv-note { margin-top: 64px; }
  .sv-note { margin-top: 48px; }
  .sv-cta-actions .btn { width: 100%; }
}

/* ===== About page (about.html) =====
   Reuses the Services hero, steps (How we work), ticker, two-column
   heading + pixel pattern layout and contact section. New here: the story,
   the three "different" points, and the team cards. */
/* About hero, editorial layout (different from the Services hero): the
   headline runs wide across the top with the intro and button on the
   right, and the team photo is a wide banner underneath. Pixel pattern in
   the top-right corner. */
.ab-hero { grid-template-columns: 1fr minmax(280px, 30%); grid-template-rows: auto auto; column-gap: clamp(32px, 4vw, 64px); row-gap: clamp(40px, 5vw, 72px); min-height: 0; padding-top: clamp(120px, 12vw, 180px); padding-bottom: 0; } /* the photo runs to the bottom edge, no black gap below */
/* The photo's top edge steps up in the curtain's pixel staircase (black
   steps over the photo, the contact section's shape, shallower so the
   steps clear everyone's head).
   Phones: on the bottom edge instead (flipped), see the phone rules. */
.ab-hero-media .sv-tile::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  z-index: 2;
  height: calc(4.2vw * 0.75 + 1px);
  background: var(--black);
  clip-path: polygon(0.0000% calc(4.2vw * 0.50), 7.1429% calc(4.2vw * 0.50), 7.1429% calc(4.2vw * 0.25), 14.2857% calc(4.2vw * 0.25), 14.2857% calc(4.2vw * 0.25), 21.4286% calc(4.2vw * 0.25), 21.4286% calc(4.2vw * 0.00), 28.5714% calc(4.2vw * 0.00), 28.5714% calc(4.2vw * 0.00), 35.7143% calc(4.2vw * 0.00), 35.7143% calc(4.2vw * 0.25), 42.8571% calc(4.2vw * 0.25), 42.8571% calc(4.2vw * 0.50), 50.0000% calc(4.2vw * 0.50), 50.0000% calc(4.2vw * 0.50), 57.1429% calc(4.2vw * 0.50), 57.1429% calc(4.2vw * 0.75), 64.2857% calc(4.2vw * 0.75), 64.2857% calc(4.2vw * 0.75), 71.4286% calc(4.2vw * 0.75), 71.4286% calc(4.2vw * 0.50), 78.5714% calc(4.2vw * 0.50), 78.5714% calc(4.2vw * 0.25), 85.7143% calc(4.2vw * 0.25), 85.7143% calc(4.2vw * 0.25), 92.8571% calc(4.2vw * 0.25), 92.8571% calc(4.2vw * 0.50), 100.0000% calc(4.2vw * 0.50), 100% 0, 0% 0);
  pointer-events: none;
}
.ab-hero .sv-hero-title { max-width: 18ch; }
.ab-hero-side { justify-self: end; } /* intro (with the place label) on the right, level with the headline's bottom */
.ab-hero-side .sv-hero-sub { margin-top: 0; }
.ab-hero-media { grid-column: 1 / -1; grid-template-columns: 1fr; grid-template-rows: 1fr; justify-self: stretch; width: 100%; aspect-ratio: 16 / 9; } /* full width at the photo's own shape: taller, nothing cropped */
.ab-hero-media img { object-position: center top; } /* keep heads in view when the wide banner crops the photo */
.ab-hero-media .sv-tile:hover img { transform: none; } /* the team photo stays still on hover */
.ab-story { z-index: 2; padding-block: var(--divider-gap); } /* in front of the hero as it slides under (main.js, once the whole photo is seen) */
.ab-story-inner { display: grid; grid-template-columns: 30% 1fr; gap: clamp(32px, 5vw, 96px); align-items: start; }
.ab-title {
  margin: 0;
  font-family: var(--font-pixel);
  font-weight: var(--w-regular);
  font-variation-settings: "ELSH" 50, "wght" 400;
  font-size: var(--text-section-title);
  line-height: 1;
  letter-spacing: -0.03em;
  word-spacing: -0.2em;
}
.ab-story-text { text-indent: 0; font-size: calc(var(--text-statement) * 1.2); } /* same size as the homepage "Who we serve" statement */
/* Sections with a divider line above the heading */
.section.ab-divided { padding-top: 0; }
.ab-divided .sv-inner::before { content: ""; display: block; height: 1px; margin-bottom: var(--divider-gap); background: var(--black); }
.sv-trust + .ab-divided .sv-inner::before { background: transparent; } /* country pages: no line right under the yellow ticker (it clashed); the space stays */
.ab-diff, .ab-team { padding-bottom: var(--divider-gap); }
.ab-heading { text-indent: 0; max-width: 20ch; font-size: calc(var(--text-statement) * 1.2); text-wrap: balance; } /* same size as the other statements; even lines, no lonely last word */
.ab-intro { max-width: 40ch; margin: 0; font-size: var(--text-item-copy); font-weight: var(--w-medium); line-height: 1.5; color: var(--text-soft); }
/* What makes us different: three points, pixel icon on top (no lines) */
.ab-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-5); margin: var(--space-8) 0 0; padding: 0; list-style: none; }
.ab-icon { display: block; width: 48px; height: 48px; margin-bottom: var(--space-6); fill: var(--black); }
.ab-point-title, .ab-name { margin: 0; font-size: var(--text-item-title); font-weight: var(--w-semibold); line-height: 1.2; }
.ab-point p, .ab-bio { max-width: 34ch; margin: 12px 0 0; font-size: var(--text-item-copy); font-weight: var(--w-medium); line-height: var(--lh-relaxed); color: var(--text-soft); }
/* Team: heading and intro side by side, then three cards. Portraits are
   brand-colour placeholders with a pixel initial until photos arrive. */
.ab-team-head { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 96px); align-items: end; }
.ab-team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-5); margin: var(--space-8) 0 0; padding: 0; list-style: none; }
.ab-portrait { display: grid; place-items: center; aspect-ratio: 4 / 5; margin-bottom: var(--space-5); overflow: hidden; }
.ab-portrait span { font-family: var(--font-pixel); font-variation-settings: "ELSH" 50, "wght" 400; font-size: clamp(96px, 11vw, 200px); line-height: 1; }
.ab-portrait--yellow { background: var(--yellow-soft); }
.ab-portrait--blue { background: var(--blue-pale); }
.ab-portrait--sand { background: var(--sand); }
.ab-portrait--grey { background: var(--grey); }
.ab-portrait-icon { width: 30%; fill: var(--black); }
/* Engineering partners: a slim line under the four portraits */
.ab-partners { display: flex; align-items: center; gap: 16px; margin-top: var(--space-7); padding-top: var(--space-5); border-top: 1px solid rgba(14, 14, 14, .15); }
.ab-partners-icon { flex-shrink: 0; width: 32px; height: 32px; fill: var(--black); }
.ab-partners p { margin: 0; font-size: var(--text-item-copy); font-weight: var(--w-medium); line-height: var(--lh-relaxed); color: var(--text-soft); }
.ab-partners strong { font-weight: var(--w-semibold); color: var(--black); }
.ab-portrait { position: relative; }
img { -webkit-touch-callout: none; } /* no iPhone long-press menu (Save to Photos, Copy) on the site's images */
.ab-portrait .px-hover { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; } /* pixel lens over the team photos (main.js) */
.ab-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; } /* real photo: face stays in view when cropped */
.ab-role { margin: 6px 0 0; font-size: 12px; font-weight: var(--w-semibold); letter-spacing: .14em; text-transform: uppercase; color: var(--text-soft); }
/* Where we work from: white, heading + light pixel pattern left, text and
   four facts right (same layout as the Services engagement section). */
.ab-where { padding-block: var(--divider-gap); }
.ab-where .sv-pixels rect { fill: #efefef; }
.ab-where-body { margin-top: var(--space-9); }
.ab-where .sv-model-facts div { border-top-color: rgba(14, 14, 14, .15); }
.ab-where .sv-model-facts dd { color: var(--black); }

@media (max-width: 1080px) {
  .ab-where-body { margin-top: var(--space-8); }
  .ab-team-grid { grid-template-columns: repeat(2, 1fr); row-gap: var(--space-7); } /* tablets: two across */
}
@media (max-width: 768px) {
  .ab-hero { grid-template-columns: 1fr; row-gap: 32px; padding-top: 140px; padding-bottom: 0; }
  .ab-hero-side { justify-self: start; }
  .ab-hero-media { aspect-ratio: 4 / 3; }
  .ab-hero-media .sv-tile::before { top: auto; bottom: -1px; transform: scaleY(-1); height: calc(11.1111vw * 2 + 1px); clip-path: polygon(0.0000% calc(11.1111vw * 2), 11.1111% calc(11.1111vw * 2), 11.1111% calc(11.1111vw * 1), 22.2222% calc(11.1111vw * 1), 22.2222% calc(11.1111vw * 1), 33.3333% calc(11.1111vw * 1), 33.3333% calc(11.1111vw * 0), 44.4444% calc(11.1111vw * 0), 44.4444% calc(11.1111vw * 0), 55.5556% calc(11.1111vw * 0), 55.5556% calc(11.1111vw * 1), 66.6667% calc(11.1111vw * 1), 66.6667% calc(11.1111vw * 2), 77.7778% calc(11.1111vw * 2), 77.7778% calc(11.1111vw * 2), 88.8889% calc(11.1111vw * 2), 88.8889% calc(11.1111vw * 2), 100.0000% calc(11.1111vw * 2), 100% 0, 0% 0); } /* phones: the bigger square steps */
  .ab-story-inner, .ab-team-head { grid-template-columns: 1fr; gap: 24px; }
  .ab-story, .ab-where { padding-block: 64px; }
  .ab-diff, .ab-team { padding-bottom: 64px; }
  .ab-divided .sv-inner::before { margin-bottom: 64px; }
  .ab-points { grid-template-columns: 1fr; margin-top: 48px; gap: 48px; }
  .ab-team-grid { grid-template-columns: 1fr 1fr; margin-top: 48px; gap: 32px 16px; } /* phones: two across, name and role only */
  .ab-bio { display: none; }
  .ab-team .ab-portrait { margin-bottom: var(--space-3); }
  .ab-role { letter-spacing: .1em; line-height: 1.4; }
  .ab-where-body { margin-top: 48px; }
  .ab-icon { margin-bottom: 24px; }
  .ab-portrait { aspect-ratio: 4 / 5; } /* phones: tall portrait, so head and shoulders show */
  .ab-portrait span { font-size: 120px; }
}

/* ===== Work page (work.html) =====
   Hero like the Services hero (black, pixel pattern, text bottom-left, no
   button), then filters and a grid of project cards on white, a yellow
   proof card inside the grid, and the shared contact section. */
.wk-hero { grid-template-columns: 1fr; row-gap: 0; align-content: end; min-height: min(78svh, 820px); padding-top: 140px; padding-bottom: clamp(64px, 8vw, 96px); }
.wk-hero-side { max-width: 44ch; }
.wk-hero-side .sv-hero-sub { margin-top: var(--space-5); }
.wk-work { padding-block: clamp(48px, 6vw, 80px) var(--divider-gap); }
/* The grid follows the page colour: white at first, fading to black
   (body.is-dark, main.js) once the lead break reaches the middle of the
   screen, the way the homepage turns dark at Our work. */
.section.wk-work { background: var(--page-bg); color: var(--page-fg); transition: background-color 600ms ease, color 600ms ease; }
/* Filter pills: no border, a light tint of the text colour; hover and the
   active one fill with the text colour (black on white, white on black). */
.wk-work .wk-filter, .bl-list .wk-filter { border-color: transparent; background: color-mix(in srgb, var(--page-fg) 7%, transparent); color: var(--page-fg); }
.wk-work .wk-filter:hover, .wk-work .wk-filter[aria-pressed="true"], .bl-list .wk-filter:hover, .bl-list .wk-filter[aria-pressed="true"] { background: var(--page-fg); color: var(--page-bg); }
/* Filters: one row of pills; the active one is black */
.wk-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: var(--space-7); }
.wk-filter {
  min-width: 44px;
  min-height: 44px;
  padding: 10px 20px;
  border: 1px solid var(--black);
  border-radius: var(--radius-pill);
  background: transparent;
  font: inherit;
  font-size: 15px;
  font-weight: var(--w-semibold);
  color: var(--black);
  cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
.wk-filter[aria-pressed="true"] { background: var(--black); color: var(--white); }
/* Grid: the homepage work card style (square images, name + detail, one
   line below). First project full width at 21:9, then the homepage's
   staggered rows of three, with a yellow lead break between the rows.
   With a filter on, the rows flatten into an even three-column grid and
   the break steps aside. */
.wk-grid { display: flex; flex-direction: column; gap: clamp(72px, 8vw, 120px); }
.wk-feature-row { margin: 0; padding: 0; list-style: none; }
.wk-feature .work-card-image { aspect-ratio: 16 / 9; }
.wk-feature .work-card-image img { object-position: center 40%; } /* square photo: keep the laptop screen in frame */
.wk-grid .work-card-name { margin: 0; line-height: inherit; letter-spacing: normal; }
.wk-grid.is-filtered { display: grid; grid-template-columns: repeat(3, 1fr); gap: 72px 24px; align-items: start; }
.wk-grid.is-filtered .wk-feature-row, .wk-grid.is-filtered .work-row { display: contents; }
.wk-grid.is-filtered .wk-break { display: none; }
.wk-grid.is-filtered .work-card-image { aspect-ratio: 1 / 1; }
/* Lead break: team photo on the left, a direct ask on yellow on the right */
.wk-break { display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; }
.wk-break-media { position: relative; min-height: 360px; container-type: size; } /* lets the seam blocks size from the photo's height */
.wk-break-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.wk-break-media::after {
  /* The seam: yellow pixel blocks step into the photo in the curtain's
     rhythm instead of a straight edge (phones: along the bottom). */
  content: "";
  position: absolute;
  top: 0;
  right: -1px;
  bottom: 0;
  z-index: 1;
  width: calc((100cqh / 9) * 3 + 1px);
  background: var(--yellow-soft);
  clip-path: polygon(100% 0, calc(100% - (100cqh / 9) * 1) 0.0000%, calc(100% - (100cqh / 9) * 1) 11.1111%, calc(100% - (100cqh / 9) * 2) 11.1111%, calc(100% - (100cqh / 9) * 2) 22.2222%, calc(100% - (100cqh / 9) * 2) 22.2222%, calc(100% - (100cqh / 9) * 2) 33.3333%, calc(100% - (100cqh / 9) * 1) 33.3333%, calc(100% - (100cqh / 9) * 1) 44.4444%, 100% 44.4444%, 100% 55.5556%, calc(100% - (100cqh / 9) * 1) 55.5556%, calc(100% - (100cqh / 9) * 1) 66.6667%, calc(100% - (100cqh / 9) * 2) 66.6667%, calc(100% - (100cqh / 9) * 2) 77.7778%, calc(100% - (100cqh / 9) * 3) 77.7778%, calc(100% - (100cqh / 9) * 3) 88.8889%, calc(100% - (100cqh / 9) * 2) 88.8889%, calc(100% - (100cqh / 9) * 2) 100.0000%, 100% 100%);
}
.wk-break-body { display: flex; flex-direction: column; justify-content: center; padding: clamp(40px, 5vw, 80px); }
.wk-break-label { margin: 0 0 var(--space-4); font-size: 12px; font-weight: var(--w-semibold); letter-spacing: .14em; text-transform: uppercase; }
.wk-break-title { max-width: 16ch; margin: 0; font-family: var(--font-sans); font-weight: var(--w-semibold); font-size: clamp(30px, 2.8vw, 44px); line-height: var(--lh-heading); letter-spacing: var(--ls-statement); text-wrap: balance; } /* Hanken, like the Contact card titles: the page title and the CTA stay pixel (design review) */
.wk-break-text { max-width: 40ch; margin: var(--space-5) 0 0; font-size: var(--text-item-copy); font-weight: var(--w-medium); line-height: 1.5; }
.wk-break .btn-ghost { color: var(--black); }
.wk-break .btn-ghost:hover { background: var(--black); color: var(--yellow); --line: transparent; } /* filled on hover: no outline in the text colour */
/* Hero on white, short, so it reads as the top of the grid below:
   black text, "crossed." in a yellow block, client
   logos in soft grey (same as the homepage logos). */
.wk-hero { background: var(--white); color: var(--black); min-height: 0; padding-top: 160px; padding-bottom: 0; }
.wk-hero .sv-eyebrow, .wk-hero .sv-hero-sub { color: var(--text-soft); }
.wk-hero .sv-hero-title .type-block { padding: 0 .12em; }
.wk-work { padding-top: clamp(48px, 5vw, 72px); }
/* Hero: client logos in soft grey on the right, level with the intro */
.wk-hero { grid-template-columns: 1fr auto; column-gap: clamp(32px, 5vw, 96px); }
.wk-hero-head { grid-column: 1; grid-row: 1; }
.wk-hero-side { grid-column: 1; grid-row: 2; }
.wk-hero-logos { grid-column: 2; grid-row: 1 / span 2; align-self: end; }
.wk-logo-grid { display: grid; grid-template-columns: repeat(4, clamp(96px, 8.4vw, 170px)); gap: clamp(28px, 2.4vw, 44px) clamp(32px, 2.4vw, 48px); margin: 0; padding: 0; list-style: none; }
.wk-logo-grid li { display: flex; align-items: center; height: clamp(44px, 3.4vw, 64px); }
.wk-logo-grid img { max-width: 100%; max-height: clamp(36px, 2.8vw, 54px); }

@media (max-width: 768px) {
  .wk-hero { min-height: 0; padding-top: 140px; padding-bottom: 0; }
  .wk-work { padding-block: 48px 64px; }
  .wk-filters { flex-wrap: nowrap; gap: 6px; margin-bottom: 40px; } /* one row on phones */
  .wk-filter { padding: 8px 12px; font-size: 14px; }
  .wk-grid { gap: 48px; }
  .wk-grid.is-filtered { grid-template-columns: 1fr; gap: 48px; }
  .wk-feature .work-card-image { aspect-ratio: 1 / 1; }
  .wk-break { grid-template-columns: 1fr; }
  .wk-break-media { min-height: 0; aspect-ratio: 16 / 9; }
  .wk-break-body { padding: 40px 24px; }
  .wk-break-media::after { top: auto; left: 0; right: 0; bottom: -1px; width: auto; height: calc(5.5556vw * 2 + 1px); transform: scaleY(-1); clip-path: polygon(0.0000% calc(5.5556vw * 2), 5.5556% calc(5.5556vw * 2), 5.5556% calc(5.5556vw * 1), 11.1111% calc(5.5556vw * 1), 11.1111% calc(5.5556vw * 1), 16.6667% calc(5.5556vw * 1), 16.6667% calc(5.5556vw * 0), 22.2222% calc(5.5556vw * 0), 22.2222% calc(5.5556vw * 0), 27.7778% calc(5.5556vw * 0), 27.7778% calc(5.5556vw * 1), 33.3333% calc(5.5556vw * 1), 33.3333% calc(5.5556vw * 2), 38.8889% calc(5.5556vw * 2), 38.8889% calc(5.5556vw * 2), 44.4444% calc(5.5556vw * 2), 44.4444% calc(5.5556vw * 2), 50.0000% calc(5.5556vw * 2), 50.0000% calc(5.5556vw * 2), 55.5556% calc(5.5556vw * 2), 55.5556% calc(5.5556vw * 2), 61.1111% calc(5.5556vw * 2), 61.1111% calc(5.5556vw * 1), 66.6667% calc(5.5556vw * 1), 66.6667% calc(5.5556vw * 1), 72.2222% calc(5.5556vw * 1), 72.2222% calc(5.5556vw * 2), 77.7778% calc(5.5556vw * 2), 77.7778% calc(5.5556vw * 2), 83.3333% calc(5.5556vw * 2), 83.3333% calc(5.5556vw * 2), 88.8889% calc(5.5556vw * 2), 88.8889% calc(5.5556vw * 2), 94.4444% calc(5.5556vw * 2), 94.4444% calc(5.5556vw * 2), 100.0000% calc(5.5556vw * 2), 100% 0, 0% 0); } /* phones: smaller square blocks (18 across, up to 2 deep) along the photo's bottom */
  .wk-hero { grid-template-columns: 1fr; }
  .wk-hero-logos { grid-column: 1; grid-row: auto; margin-top: 48px; }
  .wk-logo-grid { grid-template-columns: repeat(3, 1fr); gap: 20px 24px; }
}

/* ===== Contact page (contact.html) =====
   Black hero (pixel pattern top-right, no button), then the two ways to
   reach us side by side: a yellow "Book a call" card with a WhatsApp card
   under it, and the form in a black card (same fields as the homepage
   form, plus Country and a "What do you need?" dropdown). Studio details
   below reuse the About page's "Madurai, working worldwide" layout. */
.ct-hero { grid-template-columns: 1fr; min-height: 0; padding-top: clamp(112px, 8vw, 140px); padding-bottom: clamp(24px, 3vw, 40px); } /* short, so the two cards show in the first screen */
.ct-hero > .sv-pixels { left: auto; right: 0; width: min(640px, 40vw); height: auto; }
/* White hero (like the Work page): all-black headline, no yellow
   block, light grey pixel pattern; the header starts white too. */
.ct-hero { background: var(--white); color: var(--black); }
.ct-hero .sv-eyebrow, .ct-hero .sv-hero-sub { color: var(--text-soft); }

.ct-hero .sv-pixels rect { fill: #f0f0f0; }
.ct-hero .sv-hero-title { max-width: 16ch; }
.ct-ways { z-index: 2; padding-block: clamp(24px, 3vw, 40px) var(--divider-gap); } /* in front of the hero as it slides under */
.ct-grid { display: grid; grid-template-columns: 5fr 7fr; gap: var(--space-5); align-items: stretch; }
.ct-card { padding: clamp(32px, 4vw, 64px); }
.ct-call { flex: 1; }
.ct-side { display: flex; flex-direction: column; gap: var(--space-5); }
.ct-wa { background: var(--paper); } /* soft fill, so all three cards are solid */
.ct-wa .btn-ghost { color: var(--black); }
.ct-wa .btn-ghost:hover { background: var(--black); color: var(--white); --line: transparent; }
.ct-title.ct-title--small { font-size: clamp(24px, 2vw, 30px); }
.ct-form-card { background: var(--black); color: var(--white); }
.ct-form-card .wk-break-label { color: var(--text-soft-dark); }
/* Card titles in Hanken, not pixel: only the page title is pixel, so the
   hierarchy reads clearly (design review feedback, 2026-10-02). */
.ct-title { max-width: 16ch; margin: 0; font-family: var(--font-sans); font-weight: var(--w-semibold); font-size: clamp(30px, 2.8vw, 44px); line-height: var(--lh-heading); letter-spacing: var(--ls-statement); text-wrap: balance; }
.ct-text { max-width: 36ch; margin: var(--space-4) 0 0; font-size: var(--text-item-copy); font-weight: var(--w-medium); line-height: 1.5; }
.ct-card .btn { margin-top: var(--space-6); }
.ct-form-card .contact-form { margin-top: clamp(32px, 4vw, 48px); row-gap: 32px; }
/* Book a call: who you'll meet (small square photo + name) */
.ct-host { display: flex; align-items: center; gap: 14px; margin-top: var(--space-6); }
.ct-host img { width: 56px; height: 56px; object-fit: cover; object-position: center 15%; }
.ct-host + .btn { margin-top: var(--space-5); }
.ct-host p { display: flex; flex-direction: column; margin: 0; font-size: 15px; line-height: 1.35; }
.ct-host strong { font-weight: var(--w-semibold); }
.ct-host span { opacity: .7; }
/* What happens next: three short steps under the form */
.ct-next { margin-top: 40px; padding-top: 32px; border-top: 1px solid rgba(255, 255, 255, .15); }
.ct-next-label { margin: 0 0 16px; font-size: 12px; font-weight: var(--w-semibold); letter-spacing: .14em; text-transform: uppercase; color: var(--text-soft-dark); }
.ct-next-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 0; padding: 0; list-style: none; }
.ct-next-steps li { font-size: 15px; line-height: 1.45; color: var(--white); }
.ct-next-steps span { display: block; margin-bottom: 6px; font-size: 15px; font-weight: var(--w-semibold); letter-spacing: .04em; color: var(--yellow); }
/* Trusted by: one row of client logos under the cards */
.ct-trust { margin-top: clamp(48px, 5vw, 72px); }
.ct-trust .sv-label { margin: 0 0 20px; }
.ct-logos { display: grid; grid-template-columns: repeat(8, 1fr); gap: 24px 40px; align-items: center; margin: 0; padding: 0; list-style: none; }
.ct-logos img { max-width: 100%; max-height: 36px; }
/* Studio details: heading, then the four details in one row */
.ct-studio { padding-bottom: var(--divider-gap); }
/* Team photo on the left, heading and the four details (2 x 2) on the right */
.ct-studio-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 96px); align-items: center; }
.ct-studio-media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--grey); }
/* One uneven pixel corner cut from the photo, bottom right: three blocks,
   then one above. Square blocks: 6% of the width = 8.000% of the 4:3 height. */
.ct-studio-media { clip-path: polygon(0% 0.000%, 100% 0.000%, 100% 84.000%, 94% 84.000%, 94% 92.000%, 82% 92.000%, 82% 100.000%, 0% 100.000%); }
.ct-studio-media img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.ct-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: var(--space-7) 0 0; }
.ct-facts div { padding-top: 16px; border-top: 1px solid rgba(14, 14, 14, .15); }
.ct-facts .sv-label { margin: 0 0 6px; }
.ct-facts dd { margin: 0; font-size: var(--text-item-copy); font-weight: var(--w-medium); line-height: 1.4; }
.ct-facts a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 1080px) {
  .ct-grid { grid-template-columns: 1fr; }
  .ct-studio-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .ct-hero { padding-top: 140px; padding-bottom: 0; } /* the cards section's own 48px is the gap (phone rhythm) */
  .ct-ways { padding-block: 48px 64px; }
  .ct-card { padding: 32px 24px; }
  .ct-next-steps { grid-template-columns: 1fr; gap: 16px; }
  .ct-logos { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .ct-logos li:last-child:nth-child(3n+1), .wk-logo-grid li:last-child:nth-child(3n+1) { grid-column: 2; } /* a lone last logo sits in the middle, not at the left */
  .ct-studio { padding-bottom: 64px; }
  .ct-facts { grid-template-columns: 1fr; gap: 0; margin-top: 40px; }
  .ct-facts div { padding-block: 14px; }
}

/* ===== "Start a project" popup (every page except Contact; built in main.js) =====
   A native dialog: dark backdrop, the project form in a black card (same
   fields as the Contact page), close button top right. Phones: a full-width
   panel that scrolls. */
.pm { width: min(1040px, calc(100vw - 32px)); max-width: none; max-height: calc(100svh - 32px); margin: auto; padding: 0; border: 0; background: transparent; color: var(--white); overflow: visible; }
.pm::backdrop { background: rgba(14, 14, 14, .72); backdrop-filter: blur(4px); }
html.pm-open { overflow: hidden; }
.pm:focus { outline: none; } /* the dialog takes focus on open; keyboard users then Tab to the fields */
.pm, .pm-card { cursor: default; } /* the pixel cursor sits under the popup, so show the normal pointer here */
/* Two sides: yellow brand side (title, next steps, who you talk to) and the black form side */
.pm-card { position: relative; display: grid; grid-template-columns: 5fr 7fr; max-height: calc(100svh - 32px); overflow-y: auto; background: var(--black); }
.pm-side { position: relative; display: flex; flex-direction: column; padding: clamp(32px, 4vw, 56px); background: var(--yellow-soft); color: var(--black); }
/* Pixel steps where yellow meets black (same staircase idea as the page edges) */
.pm-side::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 100%;
  width: 36px;
  background: var(--yellow-soft);
  clip-path: polygon(0 0, 100% 0, 100% 12%, 66% 12%, 66% 34%, 33% 34%, 33% 62%, 0 62%);
  pointer-events: none;
  z-index: 1;
}
.pm-main { position: relative; display: flex; flex-direction: column; justify-content: center; padding: clamp(32px, 4vw, 56px); padding-left: calc(clamp(32px, 4vw, 56px) + 24px); }
.pm-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: var(--white);
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
  transition: transform .2s var(--ease);
}
.pm-close:hover { transform: rotate(90deg); }
.pm-label { margin: 0 0 var(--space-4); font-size: 12px; font-weight: var(--w-semibold); letter-spacing: .14em; text-transform: uppercase; opacity: .7; }
.pm-title { max-width: 12ch; margin: 0; font-family: var(--font-pixel); font-weight: var(--w-regular); font-variation-settings: "ELSH" 50, "wght" 400; font-size: clamp(32px, 3.2vw, 48px); line-height: 1.1; letter-spacing: -0.03em; word-spacing: -0.2em; }
.pm-sub { margin: var(--space-4) 0 0; font-size: var(--text-item-copy); font-weight: var(--w-medium); opacity: .75; }
.pm-steps { margin: var(--space-6) 0 0; padding: 0; list-style: none; }
.pm-steps li { display: flex; gap: 14px; padding: 12px 0; border-top: 1px solid rgba(14, 14, 14, .15); font-size: 15px; line-height: 1.4; }
.pm-steps span { font-family: var(--font-pixel); font-variation-settings: "ELSH" 50, "wght" 400; }
.pm-host { margin-top: auto; padding-top: var(--space-6); }
.pm .contact-form { margin-top: 0; column-gap: 48px; row-gap: 40px; }
.pm-wa { font-size: 15px; font-weight: var(--w-semibold); color: var(--white); text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .35); text-underline-offset: 4px; }
.pm-wa:hover { text-decoration-color: var(--yellow); }
.pm-status:empty { display: none; }
@media (min-width: 0px) /* was prefers-reduced-motion: no-preference */ {
  .pm[open] .pm-card { animation: pm-in .4s var(--ease) both; }
  .pm[open]::backdrop { animation: pm-fade .3s ease both; }
}
@keyframes pm-in { from { opacity: 0; transform: translateY(24px); } }
@keyframes pm-fade { from { opacity: 0; } }
@media (max-width: 768px) {
  /* Phones: a full-screen page that scrolls as one (dvh follows Safari's bars) */
  .pm { width: 100vw; height: 100svh; height: 100dvh; max-height: none; margin: 0; }
  .pm-card { grid-template-columns: 1fr; height: 100%; max-height: none; }
  .pm-close { position: fixed; top: calc(8px + env(safe-area-inset-top)); right: 8px; } /* always reachable while scrolling */
  .pm-side { padding: 40px 24px 24px; }
  .pm-title { max-width: none; font-size: 32px; }
  .pm-nowrap { white-space: nowrap; } /* "your project." stays on one line */
  .pm-side::after { top: calc(100% - 1px); bottom: auto; left: 0; right: 0; width: auto; height: 20px; clip-path: polygon(0 0, 100% 0, 100% 34%, 62% 34%, 62% 66%, 30% 66%, 30% 100%, 0 100%); }
  .pm-steps, .pm-sub { display: none; }
  .pm-host { padding-top: var(--space-5); }
  .pm-main { padding: 40px 24px calc(40px + env(safe-area-inset-bottom)); }
  .pm-close { background: var(--black); color: var(--white); } /* black square, so the X shows on the yellow and on the black form */
  .pm .contact-form { grid-template-columns: 1fr; }
  .pm .cta-submit { width: 100%; justify-content: center; }
  .pm-wa { order: 2; width: 100%; text-align: center; min-height: 44px; display: flex; align-items: center; justify-content: center; }
  .pm .cta-submit-row { gap: 4px; }
}

/* ===== Legal pages (privacy.html, terms.html) =====
   White Contact-style hero, then a two-column body: a sticky side column
   (last updated + "On this page" links) and the text in a readable column.
   Phones: one column, no link list. */
.lg-body { padding-block: var(--space-6) var(--divider-gap); }
.lg-grid { display: grid; grid-template-columns: minmax(200px, 3fr) 9fr; column-gap: clamp(32px, 6vw, 120px); align-items: start; }
.lg-grid::before { content: ""; grid-column: 1 / -1; height: 1px; margin-bottom: var(--space-7); background: rgba(14, 14, 14, .15); } /* divider at content width */
.lg-side { position: sticky; top: 120px; }
.lg-label { margin: 0; font-size: 12px; font-weight: var(--w-semibold); letter-spacing: .14em; text-transform: uppercase; color: var(--text-soft); }
.lg-updated { margin: 8px 0 var(--space-6); font-size: var(--text-md); font-weight: var(--w-semibold); color: var(--black); }
.lg-toc ol { display: grid; gap: 2px; margin: 12px 0 0; padding: 0; list-style: none; }
.lg-toc a { display: inline-flex; align-items: center; min-height: 32px; font-size: 15px; font-weight: var(--w-medium); color: var(--text-soft); transition: color .2s ease; }
.lg-toc a:hover { color: var(--black); }
@media (pointer: coarse) { .lg-toc a { min-height: 44px; } } /* iPads: full-size taps in "On this page" */
.lg-content { max-width: 720px; }
.lg-sec { scroll-margin-top: 120px; padding-bottom: var(--space-6); }
.lg-sec + .lg-sec { padding-top: var(--space-6); border-top: 1px solid rgba(14, 14, 14, .1); }
.lg-sec h2 { margin: 0 0 var(--space-4); font-family: var(--font-sans); font-size: var(--text-item-title); font-weight: var(--w-semibold); line-height: 1.2; letter-spacing: normal; color: var(--black); }
.lg-sec p, .lg-sec li { font-size: var(--text-item-copy); font-weight: var(--w-medium); line-height: 1.6; color: var(--text-soft); }
.lg-sec p { margin: 0 0 16px; }
.lg-sec ul { margin: 0 0 16px; padding-left: 1.2em; }
.lg-sec li { margin-bottom: 8px; }
.lg-sec li::marker { color: var(--black); }
.lg-sec strong { font-weight: var(--w-semibold); color: var(--black); }
.lg-sec a, .lg-inline-btn { color: var(--black); text-decoration: underline; text-underline-offset: 3px; }
.lg-inline-btn { padding: 0; border: 0; background: none; font: inherit; cursor: pointer; }
@media (max-width: 768px) {
  .lg-body { padding-block: var(--space-6) 64px; }
  .lg-grid { grid-template-columns: 1fr; }
  .lg-grid::before { margin-bottom: var(--space-6); }
  .lg-side { position: static; }
  .lg-toc { display: none; }
}

/* ===== 404 page =====
   Full-screen desert photo under a dark tint, a huge soft-yellow pixel
   "404" behind the text, headline bottom-left like the homepage hero. */
/* 404 first screen: text left, big 404 right, the game full width below.
   Phones: 404, then text, then game. */
.nf { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "inner code" "actions code" "game game"; align-content: end; column-gap: clamp(32px, 4vw, 64px); min-height: 100svh; overflow: hidden; padding: 140px var(--proof-inset) 24px; background: var(--black); color: var(--white); }
.nf-media { position: absolute; inset: 0; }
.nf-media img { width: 100%; height: 100%; object-fit: cover; }
.nf-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14, 14, 14, .55) 0%, rgba(14, 14, 14, .35) 40%, rgba(14, 14, 14, .9) 100%); }
.nf-code { position: relative; grid-area: code; align-self: end; z-index: 1; display: flex; justify-content: flex-end; white-space: nowrap; margin: 0; font-family: var(--font-pixel); font-weight: var(--w-regular); font-variation-settings: "ELSH" 50, "wght" 400; font-size: clamp(120px, 20vw, 340px); line-height: .8; letter-spacing: -0.04em; color: var(--yellow-soft); opacity: .9; pointer-events: none; }
.nf-inner { position: relative; grid-area: inner; align-self: end; z-index: 2; max-width: 900px; }
.nf-actions { position: relative; grid-area: actions; z-index: 2; }
@media (pointer: coarse) {
  .nf { touch-action: manipulation; -webkit-user-select: none; user-select: none; -webkit-tap-highlight-color: transparent; } /* taps on the scene jump the camel: no double-tap zoom or text selection */
  /* While the camel runs, the buttons fade out and can't be tapped by
     accident (a tap there just jumps); they return when the game ends. */
  .nf-actions { transition: opacity .3s ease, visibility .3s; }
  .nf.is-playing .nf-actions { opacity: 0; visibility: hidden; }
}
.nf-inner .sv-eyebrow { color: #ccc; }
.nf-title { margin: 16px 0 0; font-family: var(--font-pixel); font-weight: var(--w-regular); font-variation-settings: "ELSH" 50, "wght" 400; font-size: var(--text-section-title); line-height: 1.08; letter-spacing: -0.03em; word-spacing: -0.2em; }
.nf-sub { max-width: 40ch; margin: var(--space-5) 0 0; font-size: var(--text-item-copy); font-weight: var(--w-medium); line-height: 1.5; color: #ccc; }
.nf-ghost { color: var(--white); }
.nf-ghost:hover { background: var(--white); color: var(--black); }
/* Camel Run game under the 404 hero: a paper-coloured stage on black,
   pixel sprites drawn on a canvas that is scaled up with crisp pixels */
/* The game sits in the 404 first screen, under the buttons, drawn straight
   onto the desert photo (data-theme="dark" in camel-run.js). */
.nf-game-stage { position: relative; grid-area: game; z-index: 2; margin-top: clamp(24px, 2.5vw, 40px); background: #f5f4f1; cursor: pointer; touch-action: manipulation; user-select: none; -webkit-user-select: none; }
.nf-game-stage:focus-visible { outline: 3px solid var(--yellow); outline-offset: 4px; }
.nf-game-stage[data-theme="dark"] { background: transparent; }
.nf-game-stage canvas { display: block; width: 100%; height: auto; aspect-ratio: 600 / 160; /* camel-run.js sets the real ratio */ image-rendering: pixelated; image-rendering: crisp-edges; }
.nf-game-hud { position: absolute; top: 12px; right: 16px; display: flex; gap: 20px; font-family: var(--font-pixel); font-variation-settings: "ELSH" 50, "wght" 400; font-size: clamp(14px, 1.6vw, 22px); color: var(--black); pointer-events: none; }
.nf-game-hud [data-best] { color: #6b6b6b; } /* 4.9:1 on the paper background (WCAG AA) */
.nf-game-stage[data-theme="dark"] .nf-game-hud { color: var(--white); }
.nf-game-stage[data-theme="dark"] .nf-game-hud [data-best] { color: #bdbdbd; }
.nf-game-stage[data-theme="dark"] .nf-game-msg { color: var(--white); }
.nf-game-msg { position: absolute; left: 0; right: 0; max-width: none; top: 42%; margin: 0; text-align: center; font-size: clamp(14px, 1.4vw, 18px); font-weight: var(--w-semibold); color: var(--black); pointer-events: none; }
.nf-game-msg[hidden] { display: none; }
@media (max-width: 768px) {
  .nf-game-msg { top: 38%; padding-inline: 16px; font-size: 13px; }
  .nf-game-hud { top: 8px; right: 10px; gap: 12px; font-size: 12px; }
}
@media (max-width: 768px) {
  /* Phones: the game sits right under the text (mid-screen, clear of the
     browser toolbar) and the two buttons go below it, side by side. */
  .nf { grid-template-columns: minmax(0, 1fr); grid-template-areas: "code" "inner" "game" "actions"; }
  .nf-code { justify-self: start; justify-content: flex-start; margin-bottom: 16px; font-size: 28vw; }
  .nf .nf-actions { flex-wrap: nowrap; margin-top: 24px; }
  .nf .nf-actions .btn { flex: 1; justify-content: center; padding: 14px 12px; font-size: .95rem; }
}
/* Short screens: keep the game in the first screen. */
@media (max-height: 800px) {
  .nf { padding-top: 100px; }
}
@media (max-width: 768px) and (max-height: 700px) {
  .nf-code { display: none; } /* small phones (iPhone SE): the eyebrow already says "Page not found" */
}

/* ===== Cookie banner (main.js) =====
   Small black card, bottom-left (full width on phones), no outline.
   Slides up a moment after the page loads, only
   until the visitor chooses. "Cookie settings" in the footer reopens it. */
.ck { position: fixed; left: 24px; bottom: 24px; z-index: 150; width: min(400px, calc(100vw - 48px)); padding: 28px 24px 24px; background: var(--black); color: var(--white); box-shadow: 0 16px 40px rgba(0, 0, 0, .35); transform: translateY(calc(100% + 48px)); transition: transform .5s var(--ease); }
.ck[hidden] { display: none; }
.ck.is-in { transform: none; }
.ck-label { margin: 0 0 10px; font-size: 12px; font-weight: var(--w-semibold); letter-spacing: .14em; text-transform: uppercase; color: var(--text-soft-dark); }
.ck-text { margin: 0; font-size: 15px; font-weight: var(--w-medium); line-height: 1.5; color: rgba(255, 255, 255, .85); }
.ck-text a { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }
.ck-actions { display: flex; gap: 8px; margin-top: 20px; }
.ck-actions .btn { flex: 1; justify-content: center; }
.ck .btn-ghost { color: var(--white); --line: rgba(255, 255, 255, .6); }
.ck .btn-ghost:hover { background: var(--white); --line: transparent; color: var(--black); }
@media (max-width: 768px) {
  .ck { left: 16px; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); width: auto; }
}
@media (max-width: 0px) /* was prefers-reduced-motion: reduce */ { .ck { transition: none; } }

/* Footer "Cookie settings" looks like the legal links beside it */
.ft-legal button { padding: 0; border: 0; background: none; font: inherit; color: inherit; cursor: pointer; }
.ft-legal button:hover { color: var(--white); }
/* Back to top: top right corner of the footer, level with the column
   headings. Label + yellow pixel box; on hover the arrow flies up and comes
   back in from below. */
.ft-inner { position: relative; }
.ft-top {
  position: absolute;
  top: 4px; /* centres the 40px circle on the headings (column padding 16px) */
  right: var(--proof-inset);
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 0;
  border: 0;
  background: none;
  font: var(--w-medium) 16px/1 var(--font-sans);
  color: var(--white);
  cursor: pointer;
}
.ft-top-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  overflow: hidden;
  background: var(--yellow);
  color: var(--black);
  transition: background-color .2s ease;
}
.ft-top-icon svg { width: 18px; height: 18px; }
.ft-top:hover .ft-top-icon, .ft-top:focus-visible .ft-top-icon { background: var(--yellow-soft); }
.ft-top:hover .ft-top-icon svg, .ft-top:focus-visible .ft-top-icon svg { animation: ft-top-arrow .6s var(--ease); }
/* Tablets and small laptops: the four columns leave no room beside
   "Studios", so only the yellow box shows (the label stays for screen readers). */
@media (min-width: 769px) and (max-width: 1360px) { /* five footer columns since 2026-10-07: the label needs more room */
  .ft-top-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}
@keyframes ft-top-arrow {
  0% { transform: translateY(0); }
  45% { transform: translateY(-160%); }
  46% { transform: translateY(160%); }
  100% { transform: translateY(0); }
}

/* ===== Country pages (uk.html) =====
   Built from the Services and About components. New here: the hero's live
   clock card (London vs Madurai time), the proof strip with client
   wordmarks, 4-column points, and a two-card work row. */
.uk-hero-actions { margin-top: var(--space-6); }
/* Background video, like the homepage hero: tinted darker on the left and
   bottom, where the text and buttons sit */
.sv-hero > .uk-hero-media { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.uk-hero-media video { width: 100%; height: 100%; object-fit: cover; }
.uk-hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14, 14, 14, .75) 0%, rgba(14, 14, 14, .35) 60%, rgba(14, 14, 14, .2) 100%), linear-gradient(180deg, rgba(14, 14, 14, .35) 0%, rgba(14, 14, 14, 0) 35%, rgba(14, 14, 14, .7) 100%); }
.uk-hero .sv-eyebrow, .uk-hero .sv-hero-sub { color: #ccc; } /* same as the homepage hero text over video */
.uk-hero .sv-hero-title { max-width: 16ch; }
/* The headline takes 3 to 4 lines at most: on laptops the text column gets
   two thirds of the width (clock card one third; under the text up to 1200px); on phones the headline is a little
   smaller than the other page heroes, so "Canadian market." fits a line */
@media (min-width: 1201px) { .uk-hero { grid-template-columns: 2fr 1fr; } }
@media (min-width: 769px) and (max-width: 1200px) { .uk-hero { grid-template-columns: 1fr; } .uk-clock { justify-self: start; } } /* small laptops and tablets: clock under the text */
@media (max-width: 768px) { .uk-hero .sv-hero-title { font-size: min(8.6vw, 48px); } } /* about 15 letters a line: "A design studio" */
/* Live clock (main.js fills the times every 15s) */
.uk-clock { justify-self: end; align-self: end; width: min(100%, 440px); padding: clamp(24px, 3vw, 40px); background: rgba(14, 14, 14, .6); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); transform: scale(calc(1 - var(--hero-text-p, 0) * .08)); opacity: calc(1 - var(--hero-text-p, 0) * .6); transform-origin: right bottom; }
.uk-clock-label { margin: 0 0 var(--space-4); font-size: 12px; font-weight: var(--w-semibold); letter-spacing: .14em; text-transform: uppercase; color: var(--text-soft-dark); }
.uk-clock-row { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 16px 0; border-top: 1px solid rgba(255, 255, 255, .15); }
.uk-clock-city { font-size: var(--text-item-title); font-weight: var(--w-semibold); }
.uk-clock-time { font-family: var(--font-pixel); font-weight: var(--w-regular); font-variation-settings: "ELSH" 50, "wght" 400; font-size: clamp(40px, 4vw, 64px); line-height: 1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.uk-clock-row:first-of-type .uk-clock-time { color: var(--yellow); }
.uk-clock-note { margin: var(--space-4) 0 0; padding-top: var(--space-4); border-top: 1px solid rgba(255, 255, 255, .15); font-size: 15px; font-weight: var(--w-medium); line-height: 1.5; color: var(--text-soft-dark); }
/* Proof strip: one line of text, client wordmarks (placeholders until the logo files arrive) */
.uk-proof { padding-block: clamp(48px, 5vw, 72px); }
.uk-proof-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px; }
.uk-proof-text { margin: 0; max-width: 40ch; font-size: var(--text-item-copy); font-weight: var(--w-medium); line-height: var(--lh-relaxed); color: var(--text-soft); }
.uk-logos { display: flex; flex-wrap: wrap; gap: 16px 48px; margin: 0; padding: 0; list-style: none; }
.uk-logos li { font-size: clamp(22px, 2vw, 30px); font-weight: var(--w-bold); letter-spacing: -0.02em; color: var(--black); }
.uk-logo-img { display: block; width: auto; height: clamp(26px, 2.2vw, 34px); }
.work-card-image img.work-block-logo { position: relative; inset: auto; z-index: 1; width: min(46%, 300px); height: auto; object-fit: contain; } /* client logo in colour on a project card placeholder (not stretched like a photo) */ /* real client logo in the proof strip, same weight as the wordmarks */
/* Four points in a row (Why UK companies choose Camel); two across on tablets, one on phones */
.ab-points--4 { grid-template-columns: repeat(4, 1fr); }
/* FAQ: the section heading sits in the left column (same statement style as
   the other section headings), no pixel "FAQ" title */
.uk-faq .faq-body { margin-top: 0; }
.uk-faq .faq-intro { padding-top: 0; }
.uk-faq .faq-intro .ab-heading { max-width: 12ch; margin: 0; }
@media (max-width: 768px) {
  .uk-faq .faq-body { gap: 48px; } /* same 48px under every heading on phones */
  .uk-faq .faq-intro .ab-heading { max-width: 20ch; } /* full width like the other headings (the 12ch limit is for the laptop column) */
}
/* "What we do." heading above the Services card stack: no line under it
   (the first card's top border), the card's own top space is the gap */
.uk-sv .sv-item:first-of-type { border-top: 0; padding-top: var(--space-8); } /* 96px under the heading, like the other sections */
@media (max-width: 768px) { .uk-sv .sv-item:first-of-type { padding-top: var(--space-6); } }
/* Two project cards side by side, each with a case study link */
.uk-work-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-5); margin: var(--space-8) 0 0; padding: 0; list-style: none; }
.uk-work-grid .work-card-name { margin: 0; line-height: inherit; letter-spacing: normal; }
.uk-work-grid .sv-cta { margin-top: var(--space-4); }
.uk-work-grid .work-card-desc { white-space: normal; } /* full sentences here, so they wrap */
.uk-work-grid .work-card-row { flex-wrap: wrap; column-gap: 16px; } /* a long industry tag ("Cross-border payments fintech") drops under the name on small phones instead of pushing the page sideways */
/* One project (Canada): a single wide card, like the Work page feature card */
.uk-work-grid--single { grid-template-columns: minmax(0, 1fr); }
.uk-work-grid--single .work-card-image { aspect-ratio: 21 / 9; }
@media (max-width: 768px) { .uk-work-grid--single .work-card-image { aspect-ratio: 4 / 3; } }
@media (max-width: 1080px) {
  .ab-points--4 { grid-template-columns: repeat(2, 1fr); row-gap: var(--space-7); }
}
@media (max-width: 768px) {
  .uk-clock { justify-self: stretch; width: 100%; }
  .uk-hero-actions { margin-top: 32px; }
  .uk-hero-actions .btn { width: 100%; justify-content: center; }
  .ab-points--4 { grid-template-columns: 1fr; }
  .uk-work-grid { grid-template-columns: minmax(0, 1fr); margin-top: 48px; gap: 48px; }
  .uk-proof-inner { flex-direction: column; align-items: flex-start; }
}

/* ===== Case study template (case-study.html) =====
   White Contact-style hero with the result as the headline and a facts row,
   then snapshot numbers, challenge, approach with big images, a black result
   block with the client quote, delivered list, next case studies, CTA. */
.cs-hero .sv-hero-title { max-width: 20ch; font-family: var(--font-sans); font-weight: var(--w-semibold); font-variation-settings: normal; font-size: clamp(40px, 5.2vw, 96px); line-height: 1.12; letter-spacing: -0.035em; word-spacing: normal; text-wrap: balance; } /* Hanken; 1.12 so letters like g and y above never touch the yellow highlight box */
.cs-hero .sv-hero-title .type-block { display: inline-block; line-height: .92; padding: 0 .12em .08em; } /* a tight box: the plain inline block is taller than the line and covered the word above */
.cs-logo { display: block; width: auto; height: clamp(24px, 2.2vw, 34px); margin-bottom: var(--space-5); }
/* Quick facts: five label + value pairs, thin line above each */
.cs-facts { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--space-5); margin: var(--space-8) 0 0; }
.cs-facts div { padding-top: var(--space-4); border-top: 1px solid rgba(14, 14, 14, .15); }
.cs-facts dt, .cs-label { margin: 0; font-size: 12px; font-weight: var(--w-semibold); letter-spacing: .14em; text-transform: uppercase; color: var(--text-soft); }
.cs-facts dd { margin: 8px 0 0; font-size: var(--text-item-copy); font-weight: var(--w-medium); line-height: 1.4; }
/* Snapshot numbers: big pixel figure, short label under it */
.cs-snap { padding-top: var(--space-7); padding-bottom: 0; } /* the next section sets the gap under the cover image */
.cs-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-5); margin: var(--space-5) 0 0; padding: 0; list-style: none; }
.cs-stats li { padding-top: var(--space-5); border-top: 1px solid var(--page-line, var(--black)); }
.cs-stat-num { display: block; font-family: var(--font-sans); font-weight: var(--w-semibold); font-size: clamp(44px, 4.4vw, 76px); line-height: 1; letter-spacing: var(--ls-statement); } /* Hanken, not pixel: six big numbers in a row felt heavy (design review) */
.cs-stat-text { display: block; max-width: 22ch; margin-top: var(--space-4); font-size: var(--text-item-copy); font-weight: var(--w-medium); line-height: var(--lh-relaxed); color: var(--text-soft); }
/* Images: brand-colour block behind, photo cropped to fill */
.cs-shot { position: relative; display: grid; place-items: center; margin: 0; overflow: hidden; aspect-ratio: 4 / 3; }
.cs-shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cs-shot--cover { aspect-ratio: 16 / 9; margin-top: var(--space-8); }
.cs-shot--wide { aspect-ratio: 16 / 9; margin-block: var(--space-8); }
.cs-shot-label { padding: 0 24px; font-size: 16px; font-weight: var(--w-semibold); text-align: center; }
.cs-shot--more { margin-block: var(--space-5) 0; } /* extra images stack with the same gap as the pair */
.cs-pair.cs-pair--more { margin-top: var(--space-5); }
.cs-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-5); margin-top: var(--space-8); }
/* Heading on the left, text on the right (5 : 7, like Contact) */
.cs-section { padding-bottom: var(--divider-gap); }
.cs-split { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 96px); align-items: start; }
.cs-split .ab-heading { max-width: 12ch; }
.cs-text, .cs-intro { max-width: 60ch; font-size: var(--text-item-copy); font-weight: var(--w-medium); line-height: 1.5; color: var(--text-soft); }
.cs-text p { margin: 0 0 1em; }
.cs-text p:last-child, .cs-intro { margin: 0; }
/* Case study extras: the opening question, the challenge points and the
   breadcrumb above the hero title */
.cs-question { font-size: clamp(22px, 2vw, 30px); font-weight: var(--w-semibold); line-height: 1.25; letter-spacing: var(--ls-statement); color: var(--black); }
.cs-points { margin: 0 0 1em; padding: 0; list-style: none; }
.cs-points li { position: relative; margin: 0 0 .75em; padding-left: 24px; }
.cs-points li::before { content: ""; position: absolute; left: 0; top: .6em; width: 8px; height: 8px; background: var(--black); } /* small black pixel square */
.cs-points strong { color: var(--black); font-weight: var(--w-semibold); }
.cs-crumbs { margin-bottom: var(--space-5); }
.cs-client { align-items: center; gap: 16px; } /* the client under the case study headline: photo, client, role and a link to her story */
.cs-client img { width: 87px; height: 87px; flex-shrink: 0; } /* exactly the text block: 22 + 22 + 10 + 1 + 10 + 22 */
.cs-client-text p { display: block; margin: 0; font-size: 15px; line-height: 22px; }
.cs-client-label { color: var(--text-soft); }
.cs-client-cta { display: flex; width: fit-content; align-items: center; gap: 6px; font-size: 15px; line-height: 22px; font-weight: var(--w-semibold); color: var(--black); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.cs-client-rule { display: block; height: 1px; margin: 10px 0; background: rgba(14, 14, 14, .15); } /* small divider between the details and the link */
.cs-client-cta svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.cs-client-cta:hover svg, .cs-client-cta:focus-visible svg { transform: translateX(3px); }
/* Before/after style pair in the result (used when there is no client quote) */
.cs-compare { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-5); align-items: start; margin-top: var(--space-8); }
.cs-compare figure { margin: 0; }
.cs-compare figcaption { margin-bottom: var(--space-4); color: var(--text-soft-dark); }
.cs-compare img { display: block; width: 100%; height: auto; } /* full-page screenshots, cropped to the same height */
@media (max-width: 768px) { .cs-compare { grid-template-columns: minmax(0, 1fr); gap: var(--space-6); } }
.cs-hero .cs-status { grid-column: 1 / -1; margin-top: var(--space-5); color: var(--text-soft); }
.cs-source { margin: var(--space-4) 0 0; font-size: 13px; color: var(--text-soft-dark); } /* where a number comes from, small under the result */
.cs-quote-soon { max-width: 22ch; margin: 0; font-size: calc(var(--text-statement) * 1.2); font-weight: var(--w-semibold); line-height: var(--lh-heading-tight); letter-spacing: var(--ls-statement); } /* stands in for the quote until Manssi's words are in (no quote marks: not her words) */
.cs-quote-video { position: relative; }
.cs-video-soon { position: absolute; left: 50%; bottom: 24px; translate: -50% 0; padding: 6px 12px; background: var(--black); color: var(--white); font-size: 12px; font-weight: var(--w-semibold); letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; }
p.cs-text { margin: 0; }
/* Approach: numbered decisions */
.cs-steps { margin: var(--space-8) 0 0; padding: 0; list-style: none; }
.cs-steps li { padding-block: var(--space-6); border-top: 1px solid rgba(14, 14, 14, .15); }
.cs-steps li:last-child { padding-bottom: 0; }
.cs-step-title { margin: 0; font-size: var(--text-item-title); font-weight: var(--w-semibold); line-height: 1.2; letter-spacing: normal; }
.cs-step-num { display: block; margin-bottom: 12px; font-size: 12px; font-weight: var(--w-semibold); letter-spacing: .14em; color: var(--text-soft); }
/* Result: black block */
.cs-result { --page-fg: var(--white); --page-line: rgba(245, 244, 241, .2); padding-block: var(--divider-gap); }
.cs-result .cs-stats { margin-top: 0; }
.cs-stats--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cs-result .cs-stat-text, .cs-result .cs-text { color: var(--text-soft-dark); }
.cs-result .cs-stat-num { color: var(--yellow); font-family: var(--font-pixel); font-weight: var(--w-regular); font-variation-settings: "ELSH" 50, "wght" 400; letter-spacing: -0.03em; word-spacing: -0.2em; } /* the result numbers stay pixel (yellow on black); the snapshot numbers are Hanken */
.cs-result-text { margin-top: var(--space-6) !important; }
.cs-quote { margin: var(--space-8) 0 0; padding-top: var(--space-6); border-top: 1px solid rgba(245, 244, 241, .2); }
.cs-quote { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 96px); align-items: center; }
.cs-quote-text, .cs-quote blockquote { margin: 0; }
.cs-quote-video { display: grid; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--yellow-soft); } /* testimonial video, 16:9 like the homepage ones */
.cs-quote p { max-width: 30ch; margin: 0; font-size: calc(var(--text-statement) * 1.2); font-weight: var(--w-semibold); line-height: var(--lh-heading-tight); letter-spacing: var(--ls-statement); text-wrap: pretty; }
.cs-quote figcaption { display: flex; flex-direction: column; gap: 4px; margin-top: var(--space-6); }
.cs-quote-name { font-size: var(--text-item-title); font-weight: var(--w-semibold); }
.cs-quote-role { font-size: 12px; font-weight: var(--w-semibold); letter-spacing: .14em; text-transform: uppercase; color: var(--text-soft-dark); }
/* Delivered: a plain list, thin line above each item, two across */
.cs-delivered { padding-top: var(--divider-gap); }
.cs-plain { padding-block: var(--space-7); } /* close to the cover image above */
.cs-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--space-5); margin: 0; padding: 0; list-style: none; }
.cs-list li { padding-block: var(--space-4); border-top: 1px solid rgba(14, 14, 14, .15); font-size: var(--text-item-title); font-weight: var(--w-semibold); line-height: 1.2; }
@media (max-width: 1080px) {
  .cs-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cs-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: var(--space-7); }
}
@media (max-width: 768px) {
  .cs-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 48px; gap: 24px 16px; }
  .cs-delivered, .cs-result { padding-top: 96px; }
  .cs-snap { padding-top: 48px; }
  .cs-section, .cs-result { padding-bottom: 96px; }
  .cs-plain { padding-block: 48px; }
  .cs-split { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .cs-split .ab-heading { max-width: 20ch; }
  .cs-steps li.cs-split { gap: 16px; }
  .cs-shot--cover, .cs-shot--wide { aspect-ratio: 4 / 3; margin-block: 48px; }
  .cs-shot--cover { margin-bottom: 0; }
  .cs-pair { grid-template-columns: minmax(0, 1fr); gap: 16px; margin-top: 48px; }
  .cs-steps { margin-top: 48px; }
  .cs-shot--more { margin-block: 16px 0; }
  .cs-pair.cs-pair--more { margin-top: 16px; }
  .cs-quote { margin-top: 96px; grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .cs-list { grid-template-columns: minmax(0, 1fr); }
}
/* Hero: headline left, the flipping square right (level with the headline's bottom), facts across the full width */
.cs-hero { grid-template-columns: minmax(0, 1fr) auto; row-gap: 0; align-items: start; } /* the image lines up with the top of the title */
.cs-hero .cs-crumbs { grid-column: 1 / -1; } /* breadcrumb on its own row above the title and image */
.cs-hero--long .sv-hero-title { max-width: 26ch; } /* long titles (Narayana) stay at three lines */
.cs-hero-flip { --sv-flip-size: clamp(220px, 22vw, 400px); justify-self: end; }
.cs-hero .cs-facts { grid-column: 1 / -1; align-self: end; }
@media (max-width: 768px) {
  .cs-hero { grid-template-columns: minmax(0, 1fr); }
  .cs-hero-flip { justify-self: stretch; width: 100%; margin-top: 48px; }
}

/* ===== Blog (blog.html, blog-post.html) =====
   Listing: white hero, featured card, topic filters (the Work pills), a
   three-across grid of post cards, a yellow newsletter strip, the CTA.
   Article: white header with byline, cover image, the legal page's side
   column (author, "On this page") beside the text, an "In short" box,
   author bio, related posts, CTA. Post images are brand-colour blocks until
   real images exist. */
.bl-tag { display: block; margin-bottom: 12px; font-size: 12px; font-weight: var(--w-semibold); letter-spacing: .14em; text-transform: uppercase; color: var(--text-soft); }
.bl-title { margin: 0; font-size: var(--text-item-title); font-weight: var(--w-semibold); line-height: 1.25; letter-spacing: normal; color: var(--black); text-decoration-thickness: 2px; text-underline-offset: .15em; }
.bl-summary { display: block; margin-top: 8px; font-size: var(--text-item-copy); font-weight: var(--w-medium); line-height: 1.45; color: var(--text-soft); }
.bl-meta { display: block; margin-top: var(--space-4); font-size: 14px; font-weight: var(--w-medium); color: var(--text-soft); }
.bl-card, .bl-featured { display: block; color: inherit; text-decoration: none; }
.bl-card:hover .bl-title, .bl-card:focus-visible .bl-title, .bl-featured:hover .bl-featured-title, .bl-featured:focus-visible .bl-featured-title { text-decoration-line: underline; }
.bl-card-image { aspect-ratio: 100 / 63; margin-bottom: var(--space-4); } /* every card the same: the 2000 x 1260 thumbnail shape, nothing cropped */
/* Featured: big image left, text right */
.bl-featured-wrap { padding-block: var(--space-5) 0; } /* close under the hero subtext */
.bl-hero > .sv-pixels { width: min(820px, 46vw); } /* bigger than the Contact pattern: the blog hero has more empty space on the right */
.bl-featured { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 5vw, 96px); align-items: center; }
.bl-featured-image { aspect-ratio: 16 / 10; }
/* Branded post thumbnails (2400 x 1260, with text on them): always shown whole, never cropped */
.cs-shot--thumb { aspect-ratio: 100 / 63 !important; } /* post cover: the same 2000 x 1260 shape as the cards */
.bl-featured-image--thumb { aspect-ratio: 100 / 63 !important; } /* same shape as the grid cards */
.bl-featured-title { margin: 0; font-size: var(--text-statement); font-weight: var(--w-semibold); line-height: var(--lh-heading-tight); letter-spacing: var(--ls-statement); text-wrap: balance; text-decoration-thickness: 3px; text-underline-offset: .12em; }
.bl-featured .bl-summary { margin-top: var(--space-4); max-width: 44ch; }
.bl-featured .bl-read { margin-top: var(--space-5); }
/* Grid */
.bl-list { padding-block: var(--divider-gap); }
.bl-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-8) var(--space-5); margin: 0; padding: 0; list-style: none; }
/* Pixel pattern in the empty part of the last row (main.js sets how many columns it spans) */
.bl-filler { display: flex; align-items: flex-start; justify-content: center; }
.bl-filler[hidden] { display: none; }
.bl-filler-pixels { display: block; width: min(100%, 560px); height: auto; aspect-ratio: 672 / 480; }
.bl-filler-pixels rect { fill: #f0f0f0; shape-rendering: crispEdges; }
.bl-filler-pixels .sv-px-accent { fill: var(--yellow-soft); }
.bl-empty { margin: 0; font-size: var(--text-item-copy); color: var(--text-soft); }
/* Newsletter: a yellow card inside the white page. Pixel envelope, heading
   and line on the left; the email field and black button sit on the right,
   level with the bottom of the text */
.bl-news-wrap { padding-block: 0 var(--divider-gap); }
.bl-news { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 96px); align-items: end; padding: clamp(32px, 5vw, 80px); background: var(--yellow-soft); }
.bl-news-icon { margin-bottom: var(--space-6); }
.bl-news .ab-heading { max-width: 14ch; }
.bl-news-sub { margin: var(--space-4) 0 0; font-size: var(--text-item-copy); font-weight: var(--w-medium); line-height: 1.5; color: rgba(14, 14, 14, .7); }
.bl-news-label { display: block; margin-bottom: 4px; font-size: 12px; font-weight: var(--w-semibold); letter-spacing: .14em; text-transform: uppercase; }
.bl-news-row { display: flex; gap: 16px; align-items: flex-end; }
.bl-news-row input { flex: 1; min-width: 0; min-height: 56px; padding: 0; border: 0; border-bottom: 1px solid var(--black); border-radius: 0; background: transparent; font: inherit; font-size: clamp(18px, 1.5vw, 22px); font-weight: var(--w-medium); color: var(--black); }
.bl-news-row input::placeholder { color: rgba(14, 14, 14, .4); }
.bl-news-row input:focus { outline: none; border-bottom: 2px solid var(--black); }
.bl-news .btn-primary { background: var(--black); color: var(--white); } /* yellow background: black button, text turns yellow on hover */
.bl-news .btn-primary:hover { background: var(--black); color: var(--yellow); }
.bl-news-wrap + .final-cta, .bl-related-wrap + .final-cta, .bl-post-body + .final-cta { margin-top: 0 !important; } /* the CTA normally tucks up under the FAQ; here it keeps the same gap below the card as above it */
.bl-honey { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.bl-news-status { min-height: 1.5em; margin: 12px 0 0; font-size: 15px; font-weight: var(--w-medium); }
/* Breadcrumbs (article header): Home / Blog / topic */
.bl-crumbs ol { display: flex; flex-wrap: wrap; align-items: center; margin: 0 0 var(--space-4); padding: 0; list-style: none; font-size: 14px; font-weight: var(--w-medium); color: var(--text-soft); }
.bl-crumbs li + li::before { content: "/"; margin: 0 10px; color: rgba(14, 14, 14, .3); }
.bl-crumbs a { display: inline-flex; align-items: center; min-height: 44px; color: var(--black); text-decoration: underline; text-decoration-color: rgba(14, 14, 14, .25); text-underline-offset: 4px; transition: text-decoration-color .2s ease; }
.bl-crumbs a:hover { text-decoration-color: currentColor; }
.bl-crumbs li:first-child a { padding-inline: 4px; margin-inline: -4px; } /* "Home" is short: 44px wide to tap */
/* Article header: long titles, so Hanken instead of the pixel font */
.bl-post-hero .sv-hero-title { max-width: 22ch; font-family: var(--font-sans); font-weight: var(--w-semibold); font-variation-settings: normal; font-size: clamp(36px, 4.4vw, 80px); line-height: 1.04; letter-spacing: -0.035em; word-spacing: normal; text-wrap: balance; }
.bl-byline { display: flex; align-items: center; gap: 12px; margin: var(--space-6) 0 0; font-size: 15px; font-weight: var(--w-medium); color: var(--text-soft); }
.bl-byline img, .bl-author img { width: 48px; height: 48px; object-fit: cover; object-position: center 20%; flex-shrink: 0; }
.bl-byline strong, .bl-author strong { font-weight: var(--w-semibold); color: var(--black); }
.bl-post-cover { padding-block: var(--space-7) 0; }
.bl-post-cover .cs-shot--cover { margin-top: 0; }
.bl-post-body { padding-top: var(--space-7); }
/* Article text: bigger subheadings than the legal pages */
.bl-article .lg-sec h2 { font-size: clamp(24px, 2.2vw, 34px); letter-spacing: -0.02em; }
.bl-takeaways { margin-bottom: var(--space-7); padding: clamp(24px, 3vw, 40px); background: var(--yellow-soft); }
.bl-takeaways-title { margin: 0 0 var(--space-4); font-size: var(--text-item-title); font-weight: var(--w-semibold); letter-spacing: normal; }
.bl-takeaways ul { margin: 0; padding-left: 1.2em; }
.bl-takeaways li { margin-bottom: 8px; font-size: var(--text-item-copy); font-weight: var(--w-medium); line-height: 1.5; }
.bl-takeaways li:last-child { margin-bottom: 0; }
.bl-quote { margin: var(--space-6) 0; padding-left: var(--space-5); border-left: 3px solid var(--black); }
.bl-quote p { margin: 0; font-size: clamp(22px, 2vw, 30px) !important; font-weight: var(--w-semibold) !important; line-height: 1.25 !important; letter-spacing: -0.02em; color: var(--black) !important; }
.bl-figure { margin: var(--space-6) 0; }
.bl-figure figcaption { margin-top: 12px; font-size: 14px; color: var(--text-soft); }
.bl-author { display: flex; align-items: center; gap: 16px; margin-top: var(--space-5); padding-top: var(--space-6); border-top: 1px solid rgba(14, 14, 14, .15); }
.bl-author img { width: 64px; height: 64px; }
.bl-author p { margin: 0; font-size: var(--text-item-copy); font-weight: var(--w-medium); line-height: 1.5; color: var(--text-soft); }
.bl-related { margin-top: var(--space-8); }
@media (max-width: 1080px) {
  .bl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bl-related li:nth-child(3) { display: none; } /* two related posts on tablets, so the row stays even */
}
@media (max-width: 768px) {
  .bl-featured-wrap { padding-top: 48px; }
  .bl-featured, .bl-news { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .bl-featured-image { aspect-ratio: 4 / 3; }
  .bl-filters { flex-wrap: wrap; } /* five topics: wrap to a second row on small phones instead of running off the edge */
  .bl-list { padding-block: 96px; }
  .bl-news-wrap { padding-block: 0 96px; }
  .bl-news-icon { margin-bottom: 32px; }
  .bl-grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .bl-related li:nth-child(3) { display: block; }
  .bl-related { margin-top: 48px; }
  .bl-news { gap: 48px; }
  .bl-news-row { flex-direction: column; align-items: stretch; }
  .bl-news-row .btn { width: 100%; justify-content: center; }
  .bl-post-cover { padding-top: 48px; }
  .bl-post-body { padding-top: 48px; }
  .bl-post-body .lg-side { display: none; } /* the byline and author bio already say who wrote it */
  .bl-post-hero .sv-hero-title { font-size: min(9vw, 40px); }
}

/* ===== Services: Human-led, AI-accelerated =====
   Black like How we work around it (the .sv-models background and top
   divider). Heading left, intro right, then three points with yellow pixel
   icons and a closing line. */
.sv-ai-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 96px); align-items: end; }
.sv-ai-head .ab-heading { max-width: 14ch; }
.sv-ai-intro { max-width: 40ch; margin: 0; font-size: var(--text-item-copy); font-weight: var(--w-medium); line-height: 1.5; color: var(--text-soft-dark); }
.sv-ai-points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-5); margin: var(--space-8) 0 0; padding: 0; list-style: none; }
.sv-ai-points li { padding-top: var(--space-6); border-top: 1px solid rgba(255, 255, 255, .2); }
.sv-ai-points p { max-width: 34ch; margin: var(--space-4) 0 0; font-size: var(--text-item-copy); font-weight: var(--w-medium); line-height: var(--lh-relaxed); color: var(--text-soft-dark); }
@media (max-width: 1080px) { .sv-ai-points { grid-template-columns: minmax(0, 1fr); gap: var(--space-7); } }
@media (max-width: 768px) {
  .sv-ai-head { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .sv-ai-points { margin-top: 48px; gap: 48px; }
}

/* ===== About: founder bio dialog =====
   "Read full bio" (or the photo) opens a white card: photo left, name in
   the pixel font, role, the fuller bio. Closes with the x, Esc or a click
   outside. Phones: a full-screen page that scrolls as one. */
.ab-bio-btn { padding: 0; border: 0; background: none; font: inherit; font-size: 15px; font-weight: var(--w-semibold); color: var(--black); cursor: pointer; }
.ab-member[data-bio] .ab-portrait { cursor: pointer; }
.bio { width: min(1180px, calc(100vw - 32px)); max-width: none; max-height: calc(100svh - 32px); margin: auto; padding: 0; border: 0; background: transparent; color: var(--black); overflow: visible; }
.bio::backdrop { background: rgba(14, 14, 14, .72); backdrop-filter: blur(4px); }
.bio:focus { outline: none; }
.bio, .bio-card { cursor: default; }
.bio-card { position: relative; display: grid; grid-template-columns: 5fr 7fr; max-height: calc(100svh - 32px); overflow-y: auto; background: var(--white); }
.bio-photo { min-height: 100%; background: var(--grey); }
.bio-photo img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 20%; } /* fills the column; the text sets the popup's height, so tall photos don't leave blank space */
.bio-photo { position: relative; }
/* White pixel steps bite into the photo's right edge (the curtain's staircase) */
.bio-photo::after { content: ""; position: absolute; top: 0; right: -1px; bottom: 0; width: 49px; background: var(--white); clip-path: polygon(100% 0, 100% 100%, 0 100%, 0 78%, 33% 78%, 33% 52%, 66% 52%, 66% 30%, 100% 30%); pointer-events: none; }
.bio-body { padding: clamp(32px, 3.4vw, 48px); padding-left: clamp(24px, 3vw, 40px); }
.bio-label { margin: 0 0 var(--space-4); font-size: 12px; font-weight: var(--w-semibold); letter-spacing: .14em; text-transform: uppercase; color: var(--text-soft); }
.bio-name { margin: 0; font-family: var(--font-pixel); font-weight: var(--w-regular); font-variation-settings: "ELSH" 50, "wght" 400; font-size: clamp(40px, 4vw, 64px); line-height: 1; letter-spacing: -0.03em; }
.bio .ab-role { margin-top: 12px; }
/* The founding belief, as a soft yellow pull quote */
.bio-quote { margin: var(--space-5) 0 0; padding: clamp(18px, 1.6vw, 24px); background: var(--yellow-soft); }
.bio-quote p { margin: 0; font-size: clamp(20px, 1.6vw, 26px); font-weight: var(--w-semibold); line-height: 1.2; letter-spacing: -0.02em; text-wrap: balance; }
.bio-quote p::before { content: "\201C"; }
.bio-quote p::after { content: "\201D"; }
.bio-text { margin-top: var(--space-5); }
.bio-text p { margin: 0 0 .8em; font-size: clamp(15px, 1.1vw, 17px); font-weight: var(--w-medium); line-height: 1.55; color: var(--text-soft); }
.bio-text p:last-child { margin-bottom: 0; }
/* Quick facts: three label + value rows */
.bio-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-4); margin: var(--space-5) 0 0; }
.bio-facts div { padding-top: 12px; border-top: 1px solid rgba(14, 14, 14, .15); }
.bio-facts dt { font-size: 12px; font-weight: var(--w-semibold); letter-spacing: .14em; text-transform: uppercase; color: var(--text-soft); }
.bio-facts dd { margin: 6px 0 0; font-size: 15px; font-weight: var(--w-semibold); line-height: 1.35; }
.bio-cta { margin-top: var(--space-5); }
.bio-cta:hover { background: var(--black); color: var(--white); } /* light background: hovers go black */
.bio-close { position: absolute; top: 12px; right: 12px; z-index: 2; width: 44px; height: 44px; border: 0; background: var(--white); color: var(--black); font-size: 32px; line-height: 1; cursor: pointer; transition: transform .2s var(--ease); }
.bio-close:hover { transform: rotate(90deg); }
@media (min-width: 0px) /* was prefers-reduced-motion: no-preference */ {
  .bio[open] .bio-card { animation: bio-in .35s var(--ease); }
  @keyframes bio-in { from { opacity: 0; transform: translateY(16px); } }
}
@media (max-width: 768px) {
  .bio { width: 100vw; height: 100svh; max-height: none; margin: 0; }
  .bio-card { display: block; height: 100svh; max-height: none; }
  .bio-photo { aspect-ratio: 4 / 3; min-height: 0; }
  .bio-body { padding: 32px 24px 48px; }
  .bio-photo::after { top: auto; left: 0; right: 0; bottom: -1px; width: auto; height: 33px; clip-path: polygon(0 100%, 100% 100%, 100% 0, 70% 0, 70% 34%, 36% 34%, 36% 67%, 0 67%); } /* phones: the steps run along the photo's bottom */
  .bio-facts { grid-template-columns: minmax(0, 1fr); }
  .bio-cta { width: 100%; justify-content: center; }
  .bio-close { position: fixed; top: 12px; right: 12px; }
}

/* ===== Pixel shapes for the remaining round pieces =====
   Same notched corners as the buttons (see "Pixel buttons"): testimonial
   play buttons, Work/Blog filters, Services tags and the skip link.
   Outlined tags draw their line with ::before; keyboard focus is the 3px
   pixel frame inside (the clip would cut off a normal outline). */
.skip-link, .tm-play, .wk-filter, .sv-tags li {
  --px: 6px;
  border-radius: 0;
  clip-path: polygon(var(--px) 0, calc(100% - var(--px)) 0, calc(100% - var(--px)) var(--px), 100% var(--px), 100% calc(100% - var(--px)), calc(100% - var(--px)) calc(100% - var(--px)), calc(100% - var(--px)) 100%, var(--px) 100%, var(--px) calc(100% - var(--px)), 0 calc(100% - var(--px)), 0 var(--px), var(--px) var(--px));
}
.tm-play { --px: 8px; }
.wk-filter, .sv-tags li { position: relative; }
.sv-tags li::before, .skip-link:focus-visible::after, .tm-play:focus-visible::after, .wk-filter:focus-visible::after {
  content: "";
  position: absolute;
  inset: 0;
  clip-path: polygon(var(--px) 0, calc(100% - var(--px)) 0, calc(100% - var(--px)) var(--px), 100% var(--px), 100% calc(100% - var(--px)), calc(100% - var(--px)) calc(100% - var(--px)), calc(100% - var(--px)) 100%, var(--px) 100%, var(--px) calc(100% - var(--px)), 0 calc(100% - var(--px)), 0 var(--px), var(--px) var(--px), var(--px) 0, calc(var(--px) + var(--b)) var(--b), calc(var(--px) + var(--b)) calc(var(--px) + var(--b)), var(--b) calc(var(--px) + var(--b)), var(--b) calc(100% - var(--px) - var(--b)), calc(var(--px) + var(--b)) calc(100% - var(--px) - var(--b)), calc(var(--px) + var(--b)) calc(100% - var(--b)), calc(100% - var(--px) - var(--b)) calc(100% - var(--b)), calc(100% - var(--px) - var(--b)) calc(100% - var(--px) - var(--b)), calc(100% - var(--b)) calc(100% - var(--px) - var(--b)), calc(100% - var(--b)) calc(var(--px) + var(--b)), calc(100% - var(--px) - var(--b)) calc(var(--px) + var(--b)), calc(100% - var(--px) - var(--b)) var(--b), calc(var(--px) + var(--b)) var(--b));
  pointer-events: none;
}
.sv-tags li::before { --b: 1px; background: var(--line); }
.skip-link:focus-visible, .tm-play:focus-visible, .wk-filter:focus-visible { outline: none; box-shadow: none; }
.skip-link:focus-visible::after, .tm-play:focus-visible::after, .wk-filter:focus-visible::after { --b: 3px; background: currentColor; }

/* Case study screens shown whole: the portfolio images are full layouts
   (white margin, rounded panels), so no fixed shape, no cropping and no
   colour block behind them. Pairs stack, so wide layouts stay readable. */
.cs-shot.cs-shot--natural { display: block; aspect-ratio: auto; margin-block: var(--space-8); background: none; }
.cs-shot--natural img { position: static; display: block; width: 100%; height: auto; object-fit: contain; }
.cs-pair.cs-stack { grid-template-columns: minmax(0, 1fr); gap: var(--space-5); }
.cs-pair.cs-stack .cs-shot--natural { margin: 0; }
.cs-shot--framed { border-radius: clamp(12px, 1.6vw, 24px); } /* screens without their own rounded panel (a crop, or a plain screenshot) */
.cs-shot--outlined { border: 1px solid rgba(14, 14, 14, .12); }


/* ===== Free website audit (audit.html) =====
   Built like a tool, not a page: a black first screen with one search-style
   bar (website, email, Run audit) and the report in an app window below it.
   The window shows a sample until the visitor runs an audit; then it plays
   the scanning steps and shows the report. Pixel ideas: the overall score is
   a 10 x 10 grid of squares, each area score is a 20-block bar. */
.au-tool { position: relative; padding: clamp(128px, 12vw, 176px) var(--gutter) clamp(64px, 8vw, 120px); background: var(--black); color: var(--white);
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 48px 48px; background-position: center top; } /* faint pixel grid, like a work surface */
.au-tool-inner { max-width: 1040px; margin: 0 auto; text-align: center; }
.au-num, .au-title { font-family: var(--font-pixel); font-weight: var(--w-regular); font-variation-settings: "ELSH" 50, "wght" 400; letter-spacing: -0.03em; word-spacing: -0.2em; }
.au-kicker { display: inline-flex; align-items: center; gap: 10px; margin: 0; padding: 8px 14px; border: 1px solid rgba(255,255,255,.2); font-size: 12px; font-weight: var(--w-semibold); letter-spacing: .14em; text-transform: uppercase; }
.au-live { width: 8px; height: 8px; background: var(--yellow); animation: au-blink 1.2s steps(2, jump-none) infinite; }
@keyframes au-blink { 50% { opacity: .2; } }
.au-title { max-width: none; margin: 28px auto 0; font-size: var(--text-section-title); line-height: 1.08; text-wrap: balance; }
.au-nowrap { white-space: nowrap; } /* keeps "in 60 seconds." together, so the title breaks into two lines */
.au-sub { max-width: 46ch; margin: 20px auto 0; font-size: var(--text-item-copy); font-weight: var(--w-medium); line-height: 1.5; color: var(--text-soft-dark); }

/* The bar: two fields and the button in one white strip */
.au-bar { display: grid; grid-template-columns: 1.15fr 1fr auto; align-items: stretch; margin: clamp(32px, 4vw, 48px) auto 0; padding: 6px; background: var(--white); color: var(--black); text-align: left; box-shadow: 8px 8px 0 var(--yellow); }
.au-field { display: flex; flex-direction: column; justify-content: center; gap: 4px; min-width: 0; padding: 10px 20px; }
.au-field + .au-field { border-left: 1px solid var(--grey); }
.au-field label { font-size: 11px; font-weight: var(--w-semibold); letter-spacing: .14em; text-transform: uppercase; color: var(--text-soft); }
.au-field input { width: 100%; padding: 4px 0; border: 0; background: none; font: var(--w-medium) 18px/1.3 var(--font-sans); color: var(--black); }
.au-field input::placeholder { color: #9a9a9a; }
.au-field input:focus { outline: none; }
.au-field:focus-within { box-shadow: inset 0 -3px 0 var(--black); }
.au-run { align-self: stretch; }
.au-run:disabled { opacity: .6; cursor: progress; }
.au-status { min-height: 1.5em; margin: 20px 0 0; font-size: 15px; color: var(--yellow-soft); }
.au-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 8px 0 0; padding: 0; list-style: none; }
.au-chips li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border: 1px solid rgba(255,255,255,.18); font-size: 14px; font-weight: var(--w-medium); color: rgba(255,255,255,.85); }
.au-chip-icon { width: 14px; height: 14px; fill: var(--yellow); }

/* The app window */
.au-window { max-width: 1200px; margin: clamp(56px, 7vw, 96px) auto 0; background: var(--white); color: var(--black); scroll-margin-top: 96px; box-shadow: 12px 12px 0 rgba(255,240,79,.9); }
.au-win-bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; padding: 12px 16px; border-bottom: 1px solid var(--grey); background: var(--paper); }
.au-win-dots { display: flex; gap: 6px; }
.au-win-dots i { width: 10px; height: 10px; background: var(--grey); }
.au-win-url { display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 6px 16px; min-width: min(360px, 40vw); justify-content: center; background: var(--white); font-size: 14px; font-weight: var(--w-medium); }
.au-win-url svg { width: 10px; height: 10px; fill: var(--text-soft); }
.au-win-tag { justify-self: end; margin: 0; padding: 4px 10px; background: var(--yellow-pale); font-size: 11px; font-weight: var(--w-semibold); letter-spacing: .14em; text-transform: uppercase; }
.au-eyebrow { margin: 0; font-size: 12px; font-weight: var(--w-semibold); letter-spacing: .14em; text-transform: uppercase; color: var(--text-soft); }

/* Overview: the big score on the left, the six areas on the right */
.au-overview { display: grid; grid-template-columns: 5fr 7fr; border-bottom: 1px solid var(--grey); }
.au-overall { display: flex; flex-direction: column; gap: 28px; padding: clamp(24px, 3.5vw, 48px); border-right: 1px solid var(--grey); }
.au-grid { display: grid; grid-template-columns: repeat(10, 1fr); gap: 4px; width: min(100%, 280px); }
.au-grid i { aspect-ratio: 1; background: #ececec; }
.au-grid i.on { background: var(--black); }
.au-big { display: flex; align-items: baseline; gap: 6px; margin: 8px 0 0; }
.au-big .au-num { font-size: clamp(72px, 7vw, 112px); line-height: .9; }
.au-of { font-size: 18px; font-weight: var(--w-semibold); color: var(--text-soft); }
.au-verdict { max-width: 28ch; margin: 12px 0 0; font-size: var(--text-item-copy); font-weight: var(--w-medium); line-height: 1.45; }
.au-cats { margin: 0; padding: 0; list-style: none; }
.au-cat { display: grid; grid-template-columns: 170px 1fr auto; grid-template-areas: "name bar score" "name note score"; column-gap: 24px; row-gap: 6px; align-items: center; padding: 18px clamp(20px, 3vw, 40px); }
.au-cat + .au-cat { border-top: 1px solid var(--grey); }
.au-cat p { margin: 0; }
.au-cat-name { grid-area: name; display: flex; align-items: center; gap: 10px; font-weight: var(--w-semibold); }
.au-cat-icon { width: 16px; height: 16px; flex-shrink: 0; fill: var(--black); }
.au-seg { grid-area: bar; display: grid; grid-template-columns: repeat(20, 1fr); gap: 3px; }
.au-seg i { height: 12px; background: #ececec; }
.au-cat--good { --c: #2f8f5b; }
.au-cat--warn { --c: #e8c900; }
.au-cat--poor { --c: var(--terra); }
.au-cat .au-seg i.on { background: var(--c); }
.au-cat-note { grid-area: note; font-size: 14px; line-height: 1.4; color: var(--text-soft); }
.au-cat-score { grid-area: score; display: flex; flex-direction: column; align-items: flex-end; gap: 2px; min-width: 88px; }
.au-cat-score .au-num { font-size: 36px; line-height: 1; }
.au-cat-band { font-size: 11px; font-weight: var(--w-semibold); letter-spacing: .1em; text-transform: uppercase; color: var(--c); }
.au-cat--warn .au-cat-band { color: #8a7600; } /* the yellow is too light for small text */

/* Fixes: a short task list */
.au-fixes { padding: clamp(24px, 3.5vw, 48px); }
.au-fix-list { margin: 16px 0 0; padding: 0; list-style: none; }
.au-fix { display: grid; grid-template-columns: 48px 1fr auto; gap: 20px; align-items: center; padding: 18px 0; border-top: 1px solid var(--grey); }
.au-fix p { margin: 0; }
.au-fix-num { font-size: 24px; }
.au-fix-title { font-size: 18px; font-weight: var(--w-semibold); }
.au-fix-why { margin-top: 4px !important; font-size: 15px; line-height: 1.45; color: var(--text-soft); }
.au-fix-tags { display: flex; gap: 8px; justify-content: flex-end; flex-wrap: wrap; }
.au-tag { padding: 4px 10px; background: var(--paper); font-size: 11px; font-weight: var(--w-semibold); letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.au-tag--high { background: var(--yellow); }
.au-win-cta { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: clamp(24px, 3vw, 40px) clamp(24px, 3.5vw, 48px); background: var(--black); color: var(--white); }
.au-win-cta p { max-width: 46ch; margin: 0; font-size: var(--text-item-copy); line-height: 1.5; }
.au-win-cta .btn { flex-shrink: 0; }

/* Scanning state */
.au-scan { padding: clamp(40px, 6vw, 96px) clamp(24px, 3.5vw, 48px); text-align: center; }
.au-scan[hidden], .au-result[hidden] { display: none; }
.au-scan-title { margin: 0; font-size: clamp(22px, 2vw, 30px); font-weight: var(--w-semibold); }
.au-scan-bar { max-width: 520px; margin: 28px auto 0; }
.au-scan-bar i { height: 16px; }
.au-scan-bar i.on { background: var(--black); }
.au-scan-steps { display: inline-flex; flex-direction: column; gap: 12px; margin: 36px 0 0; padding: 0; list-style: none; text-align: left; color: #9a9a9a; }
.au-scan-steps li { display: flex; align-items: center; gap: 12px; font-weight: var(--w-medium); }
.au-step-dot { width: 10px; height: 10px; background: #e2e2e2; }
.au-scan-steps .is-on { color: var(--black); }
.au-scan-steps .is-on .au-step-dot { background: var(--yellow); outline: 2px solid var(--black); animation: au-blink .6s steps(2, jump-none) infinite; }
.au-scan-steps .is-done { color: var(--black); }
.au-scan-steps .is-done .au-step-dot { background: var(--black); }

/* Result reveal: the score squares fill in one by one */
@media (prefers-reduced-motion: no-preference) {
  .au-result.is-in .au-grid i.on { animation: au-pop .3s both; animation-delay: calc(var(--i) * 12ms); }
  .au-result.is-in .au-cat .au-seg i.on { animation: au-pop .3s both; animation-delay: .4s; }
}
@keyframes au-pop { from { background: #ececec; } }

@media (max-width: 900px) {
  .au-bar { grid-template-columns: 1fr; }
  .au-field + .au-field { border-left: 0; border-top: 1px solid var(--grey); }
  .au-run { margin-top: 6px; justify-content: center; }
  .au-overview { grid-template-columns: 1fr; }
  .au-overall { flex-direction: row; align-items: center; border-right: 0; border-bottom: 1px solid var(--grey); }
  .au-grid { width: 160px; flex-shrink: 0; gap: 3px; }
  .au-fix { grid-template-columns: 36px 1fr; }
  .au-fix-tags { grid-column: 2; justify-content: flex-start; }
  .au-win-cta { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 600px) {
  .au-tool { padding-inline: 16px; }
  .au-win-bar { grid-template-columns: 1fr auto; }
  .au-win-dots { display: none; }
  .au-win-url { min-width: 0; justify-content: flex-start; }
  .au-overall { flex-direction: column; align-items: flex-start; }
  .au-cat { grid-template-columns: 1fr auto; grid-template-areas: "name score" "bar bar" "note note"; }
  .au-window { box-shadow: 6px 6px 0 rgba(255,240,79,.9); }
}
/* How it works: three cards, each with a tiny picture of that step
   (the bar, the scan, the score), so the section reads at a glance. */
.au-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-5); margin: var(--space-8) 0 0; padding: 0; list-style: none; counter-reset: none; }
.au-step { display: flex; flex-direction: column; padding: clamp(24px, 2.5vw, 36px); background: var(--paper); }
.au-step--dark { background: var(--black); color: var(--white); }
.au-step-art { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 14px; height: 200px; margin-bottom: var(--space-6); background: var(--white); }
.au-step--dark .au-step-art { flex-direction: row; gap: 24px; background: #1c1c1c; }
.au-step-num { font-size: 28px; line-height: 1; }
.au-step h3 { margin: 16px 0 8px; font-size: var(--text-item-title); font-weight: var(--w-semibold); }
.au-step p { margin: 0; font-size: var(--text-item-copy); line-height: 1.5; color: var(--text-soft); }
.au-step--dark p { color: var(--text-soft-dark); }
.au-mini-bar { display: flex; align-items: stretch; width: 80%; padding: 4px; border: 1px solid var(--grey); box-shadow: 5px 5px 0 var(--yellow); background: var(--white); font-size: 14px; }
.au-mini-bar span { flex: 1; display: flex; align-items: center; padding: 8px 10px; color: var(--text-soft); }
.au-mini-bar b { padding: 8px 14px; background: var(--yellow); font-weight: var(--w-semibold); }
.au-caret { width: 2px; height: 16px; margin-left: 2px; background: var(--black); animation: au-blink 1s steps(2, jump-none) infinite; }
.au-mini-seg { width: 70%; }
.au-mini-seg i.on { background: var(--black); }
.au-mini-label { font-size: 13px; font-weight: var(--w-semibold); letter-spacing: .1em; text-transform: uppercase; color: var(--text-soft); }
.au-mini-grid { width: 110px; gap: 3px; }
.au-step--dark .au-mini-grid i { background: #333; }
.au-step--dark .au-mini-grid i.on { background: var(--yellow); }
.au-mini-score { font-size: 64px; line-height: 1; }
@media (max-width: 900px) {
  .au-steps { grid-template-columns: 1fr; }
  .au-step-art { height: 160px; }
}
.au-how + .faq { padding-top: 0; } /* FAQ gets the same divider line as the sections above it */
.au-how + .faq .faq-inner::before { content: ""; display: block; height: 1px; margin-bottom: var(--divider-gap); background: var(--black); }
@media (max-width: 768px) { .au-how + .faq .faq-inner::before { margin-bottom: 64px; } }
/* Header: "Free audit" link with a small yellow "New" tag (all pages) */
.nav-audit { display: inline-flex; align-items: center; gap: 8px; }
.nav-badge { padding: 2px 6px; background: var(--yellow); color: var(--black); font-family: var(--font-pixel); font-variation-settings: "ELSH" 50, "wght" 400; font-size: 11px; line-height: 1.2; letter-spacing: .04em; text-transform: uppercase; }
/* "New" tag blinks like a pixel cursor, a few times then stays on
   (stopping keeps it within WCAG's 5-second rule for blinking). */
.nav-audit .nav-badge { animation: nav-badge-blink 1.6s steps(1, end) .8s 3; }
@keyframes nav-badge-blink {
  0%, 50% { background: var(--yellow); color: var(--black); }
  25%, 75% { background: transparent; color: var(--yellow); box-shadow: inset 0 0 0 1px var(--yellow); }
}
/* Free audit stands apart from the menu: a thin line before it, then an
   outlined box with a pixel magnifier, so it reads as a tool, not a page. */
.nav-audit-item { display: flex; align-items: center; gap: 32px; }
.nav-audit-item::before { content: ""; width: 1px; height: 20px; background: currentColor; opacity: .3; }
.main-nav .nav-audit { padding: 4px 6px 4px 10px; border: 1px solid rgba(255,255,255,.35); transition: border-color .2s ease, background-color .2s ease; }
.main-nav .nav-audit:hover { border-color: var(--yellow); }
.site-header--light:not(.scrolled):not(.menu-open) .nav-audit { border-color: rgba(14,14,14,.3); }
.nav-audit-icon { width: 12px; height: 12px; fill: var(--yellow); }
.site-header--light:not(.scrolled):not(.menu-open) .nav-audit-icon { fill: var(--black); }
/* Phone menu: a small card under the links */
.mm-audit { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px; margin-top: var(--space-5); padding: 16px; border: 1px solid rgba(255,255,255,.2); background: #1a1a1a; color: var(--white); }
.mm-audit-grid { display: grid; grid-template-columns: repeat(4, 8px); gap: 2px; }
.mm-audit-grid i { width: 8px; height: 8px; background: #3a3a3a; }
.mm-audit-grid i.on { background: var(--yellow); }
.mm-audit-text { display: flex; flex-direction: column; gap: 4px; }
.mm-audit-title { display: flex; align-items: center; gap: 8px; font-weight: var(--w-semibold); font-size: 17px; }
.mm-audit-sub { font-size: 14px; line-height: 1.4; color: var(--text-soft-dark); }
.mm-audit > svg { width: 22px; height: 22px; }
.mm-audit[aria-current="page"] { border-color: var(--yellow); }
@media (max-width: 1280px) {
  .main-nav ul, .nav-audit-item { gap: 18px; } /* tighter on small laptops, so the menu clears the logo */
}
/* Free audit on the blog: a black bar in each post (after "In short")
   and on the listing (above the newsletter), plus a small card in the
   post side column. The website typed here opens the audit page with
   it filled in. Reuses the phone-menu pixel grid (.mm-audit-grid). */
.audit-promo { display: grid; grid-template-columns: auto minmax(0, 1fr) minmax(0, 1.3fr); align-items: center; gap: clamp(16px, 2.5vw, 32px); margin-bottom: var(--space-7); padding: clamp(20px, 2.5vw, 32px); background: var(--black); color: var(--white); }
.audit-promo p { margin: 0; }
.audit-promo-title { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: var(--w-semibold); line-height: 1.3; }
.audit-promo-sub { margin-top: 4px !important; font-size: 15px; line-height: 1.45; color: var(--text-soft-dark); }
.audit-promo-form { display: flex; align-items: stretch; padding: 4px; background: var(--white); }
.audit-promo-form input { flex: 1; min-width: 0; padding: 0 14px; border: 0; background: none; font: var(--w-medium) 16px/1.3 var(--font-sans); color: var(--black); }
.audit-promo-form input::placeholder { color: #9a9a9a; }
.audit-promo-form input:focus { outline: none; }
.audit-promo-form:focus-within { box-shadow: 0 0 0 2px var(--yellow); }
.audit-promo-form .btn { flex-shrink: 0; }
.bl-news-wrap .audit-promo { margin-bottom: var(--space-5); padding: clamp(24px, 3vw, 40px) clamp(32px, 5vw, 80px); } /* listing: lines up with the newsletter card under it */
.audit-side { display: flex; flex-direction: column; gap: 8px; margin-top: var(--space-6); padding: 20px; background: var(--black); color: var(--white); }
.audit-side .mm-audit-grid { margin-bottom: 8px; }
.audit-side-title { font-size: 17px; font-weight: var(--w-semibold); }
.audit-side-sub { font-size: 14px; line-height: 1.4; color: var(--text-soft-dark); }
.audit-side-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 4px; font-size: 15px; font-weight: var(--w-semibold); color: var(--yellow); }
.audit-side-link svg { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.audit-side:hover .audit-side-link svg { transform: translateX(4px); }
@media (max-width: 1080px) {
  .audit-promo { grid-template-columns: auto minmax(0, 1fr); }
  .audit-promo-form { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .audit-promo-form { flex-direction: column; gap: 4px; }
  .audit-promo-form input { min-height: 48px; }
  .audit-promo-form .btn { justify-content: center; }
}
/* Case study: a text-only block before the numbered decisions (Buildofy
   research), styled like a step without a number */
.cs-research { margin-top: var(--space-8); padding-top: var(--space-6); border-top: 1px solid rgba(14, 14, 14, .15); }
/* More case studies: three cards in a row */
.uk-work-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1080px) { .uk-work-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 768px) {
  .cs-research { margin-top: 48px; gap: 16px; }
  .uk-work-grid--3 { grid-template-columns: minmax(0, 1fr); }
}
/* Case study: a muted showcase video shown like an image (Xchangepe) */
.cs-video video { display: block; width: 100%; height: auto; }
/* Case study: a text testimonial with the client's photo (no video) */
.cs-quote-photo { display: block; width: 100%; max-width: 440px; height: auto; justify-self: end; }
@media (max-width: 768px) { .cs-quote-photo { justify-self: start; max-width: 320px; } }
.cs-nowrap { white-space: nowrap; } /* keeps a comma on the same line as the yellow word before it */
/* Case study: a gallery of extra images after the decisions (Sugar Play) */
.cs-gallery-label { margin: var(--space-8) 0 0; padding-top: var(--space-6); border-top: 1px solid rgba(14, 14, 14, .15); }
.cs-pair.cs-gallery { margin-top: var(--space-5); }
.cs-gallery .cs-shot--natural, .cs-gallery + .cs-shot--natural { margin-block: 0; }
.cs-gallery + .cs-shot--natural { margin-top: var(--space-5); }
@media (max-width: 768px) { .cs-gallery-label { margin-top: 48px; } .cs-pair.cs-gallery { margin-top: 16px; } .cs-gallery + .cs-shot--natural { margin-top: 16px; } }
.cs-shapes .cs-shot--natural { margin-block: 0; }
.cs-shapes + .cs-video { margin-top: var(--space-5); }
@media (max-width: 768px) { .cs-shapes + .cs-video { margin-top: 16px; } }
.cs-shot.cs-gallery-lead { margin-block: var(--space-5) 0; }
.cs-gallery-lead + .cs-pair.cs-gallery { margin-top: var(--space-5); }
@media (max-width: 768px) { .cs-shot.cs-gallery-lead { margin-top: 16px; } .cs-gallery-lead + .cs-pair.cs-gallery { margin-top: 16px; } }
.cs-quote p.cs-quote-long { max-width: 46ch; font-size: calc(var(--text-statement) * .8); line-height: 1.35; } /* a longer, word-for-word quote */
/* Work card entrance (main.js adds .work-enter): the image rises 53px and fades in, once (was 48px, +10%) */
.work-card-image.work-enter, .ab-portrait.work-enter { opacity: 0; transform: translateY(53px); transition: opacity .8s ease var(--enter-delay, 0ms), transform 1s cubic-bezier(.22, 1, .36, 1) var(--enter-delay, 0ms); }
.work-card-image.work-enter.in-view, .ab-portrait.work-enter.in-view { opacity: 1; transform: none; }
/* About team photos: the same gentle zoom as the work cards on hover */
.ab-portrait img { transition: transform 600ms cubic-bezier(.22, 1, .36, 1); }
.ab-member:hover .ab-portrait img { transform: scale(1.03); }
/* Services tags read as labels, not buttons (owner, 2026-10-07): no outline,
   no notched corners, a soft tint and a small pixel square before the word. */
.sv-tags li { clip-path: none; padding: 6px 10px; border: 0; background: rgba(14, 14, 14, .06); font-size: 14px; display: inline-flex; align-items: center; gap: 8px; }
.sv-tags li::before { content: ""; position: static; inset: auto; width: 5px; height: 5px; clip-path: none; background: currentColor; opacity: .5; }
.sv-method .sv-tags li { background: rgba(255, 255, 255, .08); }
