/* ───────────────────────── Tokens ───────────────────────── */
:root {
  color-scheme: dark;
  --ink: #070707;
  --ink-2: #0f0f10;
  --panel: #151517;
  --line: rgba(244, 241, 232, 0.12);
  --line-strong: rgba(244, 241, 232, 0.28);
  --paper: #f4f1e8;
  --muted: #a5a69c;
  --cyan: #00f0ff;
  --yellow: #f2ff00;
  --hot: #ff1f5a;

  --display: "Anton", Impact, "Arial Narrow", sans-serif;
  --body: "Space Grotesk", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;

  --max: 1280px;
  --pad: clamp(16px, 4vw, 56px);
  --header-h: 72px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

html {
  background: var(--ink);
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  margin: 0;
  color: var(--paper);
  background: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Film grain over everything */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3 { margin: 0; font-weight: 400; }
::selection { background: var(--yellow); color: var(--ink); }

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

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

.skip-link {
  position: fixed; left: 16px; top: 16px; z-index: 200;
  padding: 10px 14px; background: var(--yellow); color: var(--ink); font-weight: 700;
  transform: translateY(-160%);
}
.skip-link:focus { transform: none; }

/* ───────────────────────── Header ───────────────────────── */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  height: var(--header-h);
  padding: 0 var(--pad);
  transition: background 200ms ease, border-color 200ms ease;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(7, 7, 7, 0.82);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border-color: var(--line);
}

.wordmark { display: inline-flex; align-items: center; gap: 12px; }
.wordmark-text {
  font-family: var(--display);
  font-size: 22px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1;
}
.wordmark-text b { font-weight: 400; color: var(--cyan); margin-left: 0.18em; }

.pixel-mark {
  display: grid; grid-template-columns: repeat(4, 8px); gap: 2px;
  transform: skewX(-10deg);
}
.pixel-mark i { width: 8px; height: 8px; background: var(--cyan); }
.pixel-mark i:nth-child(2), .pixel-mark i:nth-child(7) { background: var(--yellow); }
.pixel-mark i:nth-child(4), .pixel-mark i:nth-child(5) { background: var(--hot); }
.wordmark:hover .pixel-mark i { animation: blink 600ms steps(2) 1; }
.wordmark:hover .pixel-mark i:nth-child(odd) { animation-delay: 120ms; }
@keyframes blink { 50% { opacity: 0.15; } }

.site-nav { display: flex; align-items: center; gap: clamp(14px, 2vw, 28px); }
.site-nav a {
  position: relative;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 160ms ease;
}
.site-nav a:hover { color: var(--paper); }
.site-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px;
  background: var(--cyan); transform: scaleX(0); transform-origin: left;
  transition: transform 220ms var(--ease);
}
.site-nav a:hover::after { transform: scaleX(1); }
.site-nav .nav-hot { color: var(--paper); }
.site-nav .nav-cta {
  color: var(--ink); background: var(--paper); padding: 10px 14px;
}
.site-nav .nav-cta::after { display: none; }
.site-nav .nav-cta:hover { background: var(--yellow); color: var(--ink); }

.nav-toggle {
  display: none; position: relative; width: 44px; height: 44px;
  background: none; border: 1px solid var(--line-strong);
}
.nav-toggle i {
  position: absolute; left: 11px; right: 11px; height: 2px; background: var(--paper);
  transition: transform 200ms var(--ease);
}
.nav-toggle i:first-of-type { top: 17px; }
.nav-toggle i:last-of-type { top: 25px; }
.nav-toggle[aria-expanded="true"] i:first-of-type { transform: translateY(4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] i:last-of-type { transform: translateY(-4px) rotate(-45deg); }

@media (max-width: 1180px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: fixed; inset: var(--header-h) 0 auto; flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px var(--pad) 24px; background: rgba(7, 7, 7, 0.97);
    border-bottom: 1px solid var(--line);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms;
  }
  .site-nav.is-open { opacity: 1; transform: none; visibility: visible; }
  .site-nav a { padding: 16px 0; font-size: 14px; border-bottom: 1px solid var(--line); }
  .site-nav a::after { display: none; }
  .site-nav .nav-cta { margin-top: 16px; text-align: center; border: 0; }
  .site-header { background: rgba(7, 7, 7, 0.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
}

/* ───────────────────────── Buttons / labels ───────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 52px; padding: 0 24px;
  font-family: var(--mono); font-size: 13px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  border: 2px solid var(--paper);
  transition: transform 160ms var(--ease), background 160ms ease, color 160ms ease, box-shadow 160ms ease;
}
.btn-primary { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }
.btn-primary:hover { transform: translate(-3px, -3px); box-shadow: 6px 6px 0 var(--hot); }
.btn-ghost:hover { background: var(--paper); color: var(--ink); }

.label {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px;
  font-family: var(--mono); font-size: 12px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--cyan);
}
.label::before { content: ""; width: 22px; height: 2px; background: currentColor; }

.text-link {
  font-family: var(--mono); font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  border-bottom: 2px solid var(--yellow); padding-bottom: 4px;
  transition: color 160ms ease;
}
.text-link:hover { color: var(--yellow); }

/* ───────────────────────── Hero ───────────────────────── */
.hero {
  position: relative; isolation: isolate;
  min-height: 100svh;
  display: grid; grid-template-rows: 1fr auto;
  overflow: hidden;
}
.hero-video {
  position: absolute; inset: 0; z-index: -3;
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(1.25) contrast(1.1);
}
.hero-shade {
  position: absolute; inset: 0; z-index: -2;
  background:
    linear-gradient(90deg, rgba(7,7,7,0.92) 0%, rgba(7,7,7,0.55) 45%, rgba(7,7,7,0.1) 100%),
    linear-gradient(0deg, var(--ink) 0%, transparent 35%);
}
.hero-scan {
  position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0.35;
  background: repeating-linear-gradient(0deg, rgba(0,0,0,0.5) 0 1px, transparent 1px 3px);
}

.hero-inner {
  align-self: end;
  width: 100%; max-width: var(--max); margin: 0 auto;
  padding: calc(var(--header-h) + 40px) var(--pad) 48px;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 20px;
  font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
}
.eyebrow .dot {
  width: 8px; height: 8px; background: var(--hot); border-radius: 50%;
  box-shadow: 0 0 0 0 var(--hot); animation: pulse 1.6s infinite;
}
@keyframes pulse { 70% { box-shadow: 0 0 0 10px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }

.hero-title {
  font-family: var(--display);
  font-size: clamp(88px, 19vw, 280px);
  line-height: 0.84;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}
.ht-line { display: block; }
.ht-outline {
  color: transparent;
  -webkit-text-stroke: 2px var(--paper);
  position: relative;
}
.ht-outline::after {
  content: "Modes";
  position: absolute; left: 0; top: 0;
  color: var(--cyan); -webkit-text-stroke: 0;
  clip-path: inset(0 100% 0 0);
  animation: wipe 3.6s var(--ease) 0.6s infinite;
}
@keyframes wipe {
  0% { clip-path: inset(0 100% 0 0); }
  30%, 60% { clip-path: inset(0 0 0 0); }
  90%, 100% { clip-path: inset(0 0 0 100%); }
}

.hero-copy {
  max-width: 34ch; margin: 28px 0 32px;
  font-size: clamp(18px, 2vw, 24px); line-height: 1.35; color: #e4e1d6;
}
.hero-copy em { font-style: normal; color: var(--yellow); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-strip {
  display: grid; grid-template-columns: repeat(5, 1fr);
  margin: 0; padding: 0; list-style: none;
  border-top: 1px solid var(--line-strong);
}
.hero-strip li {
  padding: 18px var(--pad);
  font-family: var(--display); font-size: clamp(18px, 2.2vw, 28px); text-transform: uppercase; letter-spacing: 0.02em;
  border-right: 1px solid var(--line);
  background: rgba(7,7,7,0.5);
  transition: background 200ms ease, color 200ms ease;
}
.hero-strip li:last-child { border-right: 0; }
.hero-strip li:hover { background: var(--paper); color: var(--ink); }
.hero-strip span {
  display: block; margin-bottom: 2px;
  font-family: var(--mono); font-size: 11px; color: var(--cyan); letter-spacing: 0.1em;
}
.hero-strip li:hover span { color: var(--hot); }

@media (max-width: 700px) {
  .hero-strip { grid-template-columns: repeat(3, 1fr); }
  .hero-strip li:nth-child(n+4) { display: none; }
  .hero-strip li:nth-child(3) { border-right: 0; }
  .hero-strip li { padding: 14px 16px; }
  .ht-outline { -webkit-text-stroke-width: 1.5px; }
  .hero-shade { background: linear-gradient(0deg, var(--ink) 0%, rgba(7,7,7,0.72) 40%, rgba(7,7,7,0.55) 100%); }
}

/* ───────────────────────── Marquee ───────────────────────── */
.marquee {
  overflow: hidden;
  background: var(--yellow); color: var(--ink);
  transform: rotate(-1.2deg) scale(1.02);
  margin: 10px 0;
  border-block: 2px solid var(--ink);
}
.marquee-track {
  display: flex; width: max-content;
  animation: scroll 38s linear infinite;
}
.marquee span {
  padding: 14px 0;
  font-family: var(--display); font-size: clamp(22px, 3vw, 36px); text-transform: uppercase; white-space: nowrap;
}
.marquee span::after { content: "✦"; margin: 0 28px; color: var(--hot); font-size: 0.7em; vertical-align: 0.15em; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ───────────────────────── Sections ───────────────────────── */
.section {
  max-width: var(--max); margin: 0 auto;
  padding: clamp(80px, 11vw, 140px) var(--pad) 0;
}
.section-head {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 28px 40px;
  margin-bottom: clamp(32px, 5vw, 56px);
}
.section h2 {
  font-family: var(--display);
  font-size: clamp(48px, 8vw, 104px);
  line-height: 0.92; text-transform: uppercase;
}
.section-note { max-width: 38ch; margin: 0; color: var(--muted); font-size: 18px; }

/* ───────────────────────── Tabs ───────────────────────── */
.tabs {
  display: flex; flex-wrap: wrap; gap: 4px;
  padding: 4px; border: 1px solid var(--line-strong);
}
.tabs button {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 0 18px;
  font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  background: transparent; border: 0; color: var(--muted);
  transition: background 160ms ease, color 160ms ease;
}
.tabs button:hover { color: var(--paper); background: rgba(255,255,255,0.06); }
.tabs button[aria-selected="true"] { background: var(--paper); color: var(--ink); }
.tabs .count {
  min-width: 22px; padding: 1px 6px; text-align: center;
  font-size: 10px; border: 1px solid currentColor; opacity: 0.7;
}
.tabs button[data-tab="websites"] .count:empty::before { content: "soon"; }

@media (max-width: 560px) {
  .tabs { width: 100%; display: grid; grid-template-columns: repeat(2, 1fr); }
  .tabs button { justify-content: center; padding: 0 8px; }
}

/* ───────────────────────── Work grid ───────────────────────── */
.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
  grid-auto-flow: dense;
  gap: clamp(12px, 1.6vw, 20px);
}

.card {
  position: relative; display: block; width: 100%; padding: 0; text-align: left;
  background: var(--panel); border: 1px solid var(--line);
  overflow: hidden;
  animation: card-in 500ms var(--ease) both;
  animation-delay: calc(var(--i, 0) * 40ms);
}
@keyframes card-in { from { opacity: 0; transform: translateY(18px); } }

.card-media { position: relative; display: block; overflow: hidden; background: #e9e6dc; }
.card-media img, .card-media video {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 600ms var(--ease), filter 300ms ease;
}

/* print pieces: crop the white page margin from the PDF renders */
.card--print .card-media { aspect-ratio: 1105 / 1430; }
.card--print .card-media img { transform: scale(1.1); }
.card--print:hover .card-media img { transform: scale(1.16); }

.card-meta {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 12px;
  padding: 14px 16px 16px;
  border-top: 1px solid var(--line);
}
.card-client {
  display: block; margin-bottom: 4px;
  font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--cyan);
}
.card-title { font-family: var(--display); font-size: 22px; line-height: 1.05; text-transform: uppercase; letter-spacing: 0.01em; }
.card-arrow {
  flex: none; display: grid; place-items: center; width: 34px; height: 34px;
  border: 1px solid var(--line-strong);
  transition: background 160ms ease, color 160ms ease, transform 200ms var(--ease);
}
.card:hover .card-arrow { background: var(--yellow); color: var(--ink); border-color: var(--yellow); transform: rotate(-45deg); }
.card:hover { border-color: var(--line-strong); }

.card-type {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  padding: 4px 8px;
  font-family: var(--mono); font-size: 10px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  background: var(--ink); color: var(--paper);
}

/* motion */
.card--motion { grid-column: span 2; }
.card--motion .card-media { aspect-ratio: 16 / 9; background: #000; }
.card--motion .card-type { background: var(--hot); }
.play {
  position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none;
}
.play::before {
  content: "▶"; display: grid; place-items: center;
  width: 64px; height: 64px; padding-left: 4px;
  font-size: 20px; color: var(--ink); background: var(--yellow);
  border-radius: 50%;
  transition: transform 200ms var(--ease), opacity 200ms ease;
}
.card--motion:hover .play::before { transform: scale(0.8); opacity: 0; }

/* websites */
.card--web { grid-column: span 2; background: var(--ink-2); }
.card--web .card-type { background: var(--cyan); color: var(--ink); }
.browser { display: block; margin: 12px 12px 0; border: 1px solid var(--line-strong); border-bottom: 0; background: #1c1c1f; }
.browser-bar {
  display: flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px;
  border-bottom: 1px solid var(--line);
}
.browser-bar i { width: 8px; height: 8px; border-radius: 50%; background: #3a3a3f; }
.browser-bar i:nth-child(1) { background: var(--hot); }
.browser-bar i:nth-child(2) { background: var(--yellow); }
.browser-bar i:nth-child(3) { background: var(--cyan); }
.browser-url {
  flex: 1; margin-left: 10px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
  font-family: var(--mono); font-size: 11px; color: var(--muted);
}
.card--web .card-media { aspect-ratio: 16 / 10; background: #111; }
.card--web .card-media img {
  object-position: 50% 0%;
  transition: object-position 5s ease-in-out, transform 600ms var(--ease);
}
.card--web:hover .card-media img { object-position: 50% 100%; }

/* "coming soon" panel for the websites tab */
.soon {
  grid-column: 1 / -1;
  display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 32px;
  padding: clamp(24px, 4vw, 48px);
  border: 1px dashed var(--line-strong);
  background:
    radial-gradient(circle at 85% 30%, rgba(0, 240, 255, 0.12), transparent 50%),
    var(--ink-2);
  animation: card-in 500ms var(--ease) both;
}
.soon h3 { font-family: var(--display); font-size: clamp(36px, 5vw, 64px); line-height: 0.95; text-transform: uppercase; }
.soon h3 span { color: var(--cyan); }
.soon p { color: var(--muted); max-width: 40ch; }
.soon-mock { display: grid; gap: 10px; }
.soon-mock .browser { margin: 0; border-bottom: 1px solid var(--line-strong); }
.soon-mock .skeleton { padding: 18px; display: grid; gap: 10px; }
.soon-mock .skeleton b {
  display: block; height: 12px;
  background: linear-gradient(90deg, #232327 0%, #34343a 50%, #232327 100%);
  background-size: 200% 100%;
  animation: shimmer 1.6s linear infinite;
}
.soon-mock .skeleton b:nth-child(1) { height: 70px; }
.soon-mock .skeleton b:nth-child(2) { width: 70%; }
.soon-mock .skeleton b:nth-child(3) { width: 45%; }
@keyframes shimmer { to { background-position: -200% 0; } }

@media (max-width: 720px) {
  .card--motion, .card--web { grid-column: auto; }
  .soon { grid-template-columns: 1fr; }
}

.work-foot { margin-top: 40px; }

/* link tile at the end of the Websites tab */
.card--showcase {
  grid-column: span 2;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 10px;
  min-height: 260px; padding: clamp(20px, 3vw, 36px);
  background: var(--cyan); color: var(--ink); border-color: var(--cyan);
  transition: background 200ms ease;
}
.card--showcase .label { color: var(--ink); margin: 0; }
.card--showcase:hover { background: var(--yellow); border-color: var(--yellow); }
.showcase-title { font-family: var(--display); font-size: clamp(32px, 4vw, 52px); line-height: 0.95; text-transform: uppercase; }
.showcase-note { max-width: 36ch; font-size: 16px; }
@media (max-width: 720px) { .card--showcase { grid-column: auto; } }

/* ───────────────────────── Services ───────────────────────── */
.service-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line-strong);
}
.service {
  position: relative;
  padding: 28px clamp(16px, 2vw, 28px) 32px;
  border-right: 1px solid var(--line);
  transition: background 220ms ease;
}
.service:last-child { border-right: 0; }
.service::before {
  content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 3px;
  background: var(--accent); transform: scaleX(0); transform-origin: left;
  transition: transform 400ms var(--ease);
}
.service:hover { background: rgba(255,255,255,0.03); }
.service:hover::before { transform: scaleX(1); }
.service-num { font-family: var(--mono); font-size: 12px; font-weight: 700; color: var(--accent); }
.service h3 {
  margin: 40px 0 12px;
  font-family: var(--display); font-size: clamp(28px, 2.6vw, 36px); line-height: 1; text-transform: uppercase;
}
.service p { margin: 0 0 20px; color: var(--muted); font-size: 16px; }
.service ul { margin: 0; padding: 0; list-style: none; }
.service li {
  padding: 8px 0; border-top: 1px solid var(--line);
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.04em;
}
.scale { display: flex; align-items: center; gap: 10px; margin-top: 22px; font-family: var(--mono); text-transform: uppercase; }
.scale-sm { font-size: 9px; }
.scale-lg { font-size: 15px; font-weight: 700; color: var(--yellow); }
.scale-bar { flex: 1; height: 10px; background: linear-gradient(90deg, var(--cyan), var(--yellow)); clip-path: polygon(0 45%, 100% 0, 100% 100%, 0 55%); }

@media (max-width: 1000px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .service:nth-child(2) { border-right: 0; }
  .service:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .service-grid { grid-template-columns: 1fr; }
  .service { border-right: 0; border-bottom: 1px solid var(--line); }
  .service h3 { margin-top: 20px; }
}

/* ───────────────────────── Clients ───────────────────────── */
.client-groups { display: grid; gap: 0; }
.client-group {
  display: grid; grid-template-columns: 220px 1fr; gap: 24px; align-items: baseline;
  padding: 28px 0; border-top: 1px solid var(--line);
}
.client-group:last-child { border-bottom: 1px solid var(--line); }
.client-group h3 {
  font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted);
}
.client-list {
  margin: 0;
  font-family: var(--display); font-size: clamp(28px, 4.4vw, 56px); line-height: 1.08; text-transform: uppercase;
}
.client-list i { font-style: normal; color: var(--hot); margin: 0 0.15em; }
@media (max-width: 700px) {
  .client-group { grid-template-columns: 1fr; gap: 10px; }
}

/* ───────────────────────── Contact ───────────────────────── */
.contact { padding-bottom: clamp(80px, 10vw, 140px); }
.contact-panel {
  position: relative; overflow: hidden;
  padding: clamp(32px, 6vw, 80px);
  background: var(--cyan); color: var(--ink);
}
.contact-panel::after {
  content: ""; position: absolute; right: -40px; bottom: -40px; width: 260px; height: 260px;
  background:
    linear-gradient(var(--ink) 0 0) 0 0 / 60px 60px no-repeat,
    linear-gradient(var(--hot) 0 0) 70px 70px / 60px 60px no-repeat,
    linear-gradient(var(--yellow) 0 0) 140px 0 / 60px 60px no-repeat,
    linear-gradient(var(--ink) 0 0) 140px 140px / 60px 60px no-repeat;
  opacity: 0.9;
}
.contact-panel .label { color: var(--ink); }
.contact-panel h2 { max-width: 15ch; font-size: clamp(40px, 6.4vw, 88px); }
.contact-mail {
  display: inline-flex; gap: 12px; margin-top: 36px; position: relative; z-index: 1;
  font-family: var(--mono); font-weight: 700; font-size: clamp(16px, 2.4vw, 28px);
  padding: 16px 22px; background: var(--ink); color: var(--paper);
  transition: transform 160ms var(--ease), box-shadow 160ms ease;
  word-break: break-all;
}
.contact-mail:hover { transform: translate(-4px, -4px); box-shadow: 8px 8px 0 var(--hot); }

/* ───────────────────────── Footer ───────────────────────── */
.site-footer {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px;
  max-width: var(--max); margin: 0 auto; padding: 32px var(--pad) 48px;
  border-top: 1px solid var(--line);
  color: var(--muted); font-size: 14px;
}
.site-footer p { margin: 0; }
.wordmark.small .wordmark-text { font-size: 18px; color: var(--paper); }
.footer-year { font-family: var(--mono); font-size: 12px; }

/* ───────────────────────── Lightbox ───────────────────────── */
.lightbox {
  width: 100%; max-width: none; height: 100%; max-height: none;
  margin: 0; padding: 0; border: 0;
  background: rgba(7, 7, 7, 0.94); color: var(--paper);
}
.lightbox::backdrop { background: rgba(0,0,0,0.6); }
.lightbox[open] { animation: fade 200ms ease; }
@keyframes fade { from { opacity: 0; } }
.lb-frame {
  display: grid; grid-template-columns: 56px minmax(0, 1fr) 56px; grid-template-rows: minmax(0, 1fr) auto;
  gap: 12px 16px; height: 100%; padding: 64px var(--pad) 24px;
}
.lb-media { grid-column: 2; display: grid; place-items: center; min-height: 0; }
.lb-media img, .lb-media video {
  max-width: 100%; max-height: calc(100svh - 230px); object-fit: contain;
  box-shadow: 0 30px 80px rgba(0,0,0,0.6);
}
.lb-media .lb-scroll {
  width: min(100%, 1100px); max-height: calc(100svh - 230px); overflow: auto;
  border: 1px solid var(--line-strong);
}
.lb-media .lb-scroll img { max-height: none; width: 100%; box-shadow: none; }
.lb-nav, .lb-close {
  display: grid; place-items: center; width: 52px; height: 52px; align-self: center;
  font-size: 20px; background: transparent; border: 1px solid var(--line-strong);
  transition: background 160ms ease, color 160ms ease;
}
.lb-nav:hover, .lb-close:hover { background: var(--yellow); color: var(--ink); border-color: var(--yellow); }
.lb-prev { grid-column: 1; grid-row: 1; }
.lb-next { grid-column: 3; grid-row: 1; }
.lb-close { position: absolute; top: 12px; right: var(--pad); width: 44px; height: 44px; font-size: 16px; }
.lb-info { grid-column: 2; text-align: center; }
.lb-client { margin: 0; font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--cyan); }
.lb-info h3 { margin: 4px 0; font-family: var(--display); font-size: clamp(24px, 3vw, 36px); text-transform: uppercase; }
.lb-blurb { margin: 0 auto; max-width: 60ch; color: var(--muted); font-size: 15px; }
.lb-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; margin-top: 10px; }
.lb-links:empty { display: none; }
@media (max-width: 700px) {
  .lb-frame { grid-template-columns: 1fr 1fr; grid-template-rows: minmax(0, 1fr) auto auto; padding-top: 64px; }
  .lb-media, .lb-info { grid-column: 1 / -1; }
  .lb-prev { grid-column: 1; grid-row: 3; justify-self: start; }
  .lb-next { grid-column: 2; grid-row: 3; justify-self: end; }
}

/* ───────────────────────── Reveal ───────────────────────── */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 700ms var(--ease), transform 700ms var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; }
  .ht-outline::after { display: none; }
}

/* ───────────────────────── Websites showcase page ───────────────────────── */
.web-hero {
  max-width: var(--max); margin: 0 auto;
  padding: calc(var(--header-h) + clamp(48px, 8vw, 110px)) var(--pad) clamp(40px, 6vw, 72px);
}
.web-title {
  font-family: var(--display);
  font-size: clamp(64px, 12vw, 176px);
  line-height: 0.86; text-transform: uppercase;
}
.web-title span { color: transparent; -webkit-text-stroke: 2px var(--cyan); }
.web-intro { max-width: 46ch; margin: 28px 0 40px; font-size: clamp(18px, 1.8vw, 22px); color: #dcd9ce; }

.case-index {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr));
  border-top: 1px solid var(--line-strong);
}
.case-index a {
  display: grid; gap: 4px; padding: 16px 16px 18px 0;
  font-family: var(--display); font-size: clamp(20px, 2vw, 26px); text-transform: uppercase; line-height: 1;
  border-bottom: 1px solid var(--line);
  transition: color 160ms ease;
}
.case-index a span {
  font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: 0.12em; color: var(--muted);
}
.case-index a:hover { color: var(--yellow); }

.cases { display: grid; }
.case {
  max-width: var(--max); width: 100%; margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); align-items: start;
  padding: clamp(56px, 8vw, 110px) var(--pad);
  border-top: 1px solid var(--line);
}
.case--flip .case-info { order: 2; }
.case-info { position: sticky; top: calc(var(--header-h) + 24px); min-width: 0; }
.case-title {
  font-family: var(--display); font-size: clamp(44px, 6vw, 84px); line-height: 0.92; text-transform: uppercase;
  text-wrap: balance;
}
.case-blurb { margin: 20px 0 28px; color: #dcd9ce; font-size: 18px; max-width: 46ch; }
.case-sub {
  margin-bottom: 8px;
  font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--yellow);
}
.case-list { margin: 0 0 22px; padding: 0; list-style: none; }
.case-list li {
  position: relative; padding: 10px 0 10px 22px; border-top: 1px solid var(--line); font-size: 15px;
}
.case-list li::before {
  content: ""; position: absolute; left: 0; top: 18px; width: 8px; height: 8px; background: var(--hot);
}
.case-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 28px; padding: 0; list-style: none; }
.case-tags li {
  padding: 5px 9px; border: 1px solid var(--line-strong);
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted);
}
.case-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.case-actions .btn { min-height: 48px; padding: 0 18px; font-size: 12px; }
.case-note {
  display: inline-flex; align-items: center; min-height: 48px; padding: 0 16px;
  font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  border: 1px dashed var(--line-strong); color: var(--muted);
}

.case-screen { min-width: 0; box-shadow: 0 40px 90px rgba(0, 0, 0, 0.55); }
.case-screen .browser { margin: 0; border-bottom: 0; }
.case-window {
  position: relative; display: block; width: 100%; padding: 0;
  aspect-ratio: 4 / 3.3; overflow: hidden;
  background: #111; border: 1px solid var(--line-strong); cursor: zoom-in;
}
.case-window img {
  width: 100%; height: auto; max-width: none;
  transform: translateY(0);
  transition: transform 1.2s var(--ease);
}
.case-window.is-scrolling img {
  transform: translateY(calc(-1 * var(--dist, 0px)));
  transition: transform var(--dur, 8s) linear;
}
.case-hint {
  position: absolute; right: 12px; bottom: 12px;
  padding: 6px 10px; background: var(--ink); color: var(--paper);
  font-family: var(--mono); font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  transition: opacity 200ms ease;
}
.case-window.is-scrolling .case-hint { opacity: 0; }

.page-websites .contact { padding-top: clamp(40px, 6vw, 80px); }
.lb-frame--single { grid-template-columns: minmax(0, 1fr); }
.lb-frame--single .lb-media, .lb-frame--single .lb-info { grid-column: 1; }

@media (max-width: 900px) {
  .case { grid-template-columns: 1fr; }
  .case--flip .case-info { order: 0; }
  .case-info { position: static; }
  .case-hint { display: none; }
  .web-title span { -webkit-text-stroke-width: 1.5px; }
}

/* ───────────────────────── Contact form (bottom of every page) ───────────────────────── */
.contact-panel {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(28px, 5vw, 72px); align-items: start;
}
.contact-panel::after { display: none; }
.contact-copy h2 { font-size: clamp(40px, 4.8vw, 72px); }
.contact-sub { margin: 20px 0 0; max-width: 32ch; font-size: 18px; }

.contact-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field--wide { grid-column: 1 / -1; }
.field label {
  font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
}
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px;
  font: inherit; font-size: 16px; color: var(--paper);
  background: var(--ink); border: 2px solid var(--ink); border-radius: 0;
  transition: box-shadow 160ms ease;
}
.field textarea { resize: vertical; min-height: 130px; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--cyan) 50%), linear-gradient(135deg, var(--cyan) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  outline: none; box-shadow: 5px 5px 0 var(--hot);
}
.field-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.btn-dark { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.btn-dark:hover { transform: translate(-3px, -3px); box-shadow: 6px 6px 0 var(--hot); }
.btn-dark:disabled { opacity: 0.6; transform: none; box-shadow: none; cursor: progress; }
.form-status { margin: 0; font-weight: 700; font-size: 15px; min-height: 1.4em; }
.form-status[data-kind="error"]::before { content: "■ "; color: var(--hot); }
.form-status[data-kind="ok"]::before { content: "✓ "; }

@media (max-width: 860px) {
  .contact-panel { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .contact-form { grid-template-columns: 1fr; }
}

/* ───────────────────────── Work headline note / more-print tile ───────────────────────── */
.work-note { max-width: 44ch; margin: 18px 0 0; color: var(--muted); font-size: 18px; }
.card--more { background: var(--yellow); border-color: var(--yellow); text-align: left; }
.card--more:hover { background: var(--paper); border-color: var(--paper); }
.case-credit {
  display: inline-block; margin: 14px 0 0; padding: 5px 10px;
  font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink); background: var(--yellow);
}

/* ───────────────────────── Clients: drifting name rows ───────────────────────── */
.clients .section-head { margin-bottom: clamp(24px, 4vw, 40px); }
.name-rows {
  display: grid; gap: 6px;
  margin-inline: calc(-1 * var(--pad));
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.name-row { overflow: hidden; border-top: 1px solid var(--line); padding: 10px 0; }
.name-row:last-child { border-bottom: 1px solid var(--line); }
.name-track {
  display: flex; width: max-content;
  animation: scroll var(--dur, 60s) linear infinite;
  animation-direction: var(--dir, normal);
}
.name-row:hover .name-track { animation-play-state: paused; }
.name-track span {
  font-family: var(--display); font-size: clamp(26px, 3.6vw, 46px); line-height: 1.1; text-transform: uppercase;
  white-space: nowrap; color: transparent; -webkit-text-stroke: 1px rgba(244, 241, 232, 0.38);
  transition: color 200ms ease, -webkit-text-stroke-color 200ms ease;
}
.name-track span:nth-child(3n+2) { color: rgba(244, 241, 232, 0.16); -webkit-text-stroke-color: transparent; }
.name-track span::after {
  content: ""; display: inline-block; width: 0.18em; height: 0.18em; margin: 0 0.8em; vertical-align: 0.32em;
  background: var(--hot); -webkit-text-stroke: 0;
}
.name-track span:hover { color: var(--paper); -webkit-text-stroke-color: transparent; }
@media (prefers-reduced-motion: reduce) {
  .name-track { flex-wrap: wrap; width: auto; animation: none; }
}

/* ───────────────────────── Icons (SVG files used as masks, tinted by currentColor) ───────────────────────── */
.ico {
  display: inline-block; flex: none; width: 1.25em; height: 1.25em; vertical-align: -0.25em;
  background: currentColor;
  -webkit-mask: var(--icon) center / contain no-repeat;
  mask: var(--icon) center / contain no-repeat;
}

/* ───────────────────────── Services dropdown ───────────────────────── */
.nav-drop { position: relative; }
.nav-drop-btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 0; background: none; border: 0;
  font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted); transition: color 160ms ease;
}
.nav-drop-btn:hover, .nav-drop-btn.is-current, .nav-drop.is-open .nav-drop-btn { color: var(--paper); }
.caret { width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform 200ms var(--ease); }
.nav-drop.is-open .caret { transform: translateY(1px) rotate(-135deg); }
.site-nav a[aria-current="page"] { color: var(--paper); }
.site-nav a[aria-current="page"]::after { transform: scaleX(1); }

.nav-menu {
  position: absolute; top: calc(100% + 22px); left: 50%; z-index: 60;
  width: min(640px, 90vw); display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px; padding: 8px;
  background: rgba(10, 10, 11, 0.98); border: 1px solid var(--line-strong);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
  opacity: 0; visibility: hidden; transform: translate(-50%, -6px);
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms;
}
.nav-drop.is-open .nav-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.site-nav .nav-menu a {
  display: flex; align-items: center; gap: 14px; padding: 12px 14px;
  font-family: var(--body); font-size: 15px; letter-spacing: 0; text-transform: none; color: var(--paper);
}
.site-nav .nav-menu a::after { display: none; }
.nav-menu a .ico { width: 22px; height: 22px; color: var(--cyan); }
.nav-menu a b { display: block; font-weight: 700; }
.nav-menu a small { display: block; font-size: 12px; color: var(--muted); }
.nav-menu a:hover, .nav-menu a[aria-current="page"] { background: rgba(255, 255, 255, 0.06); }
.nav-menu a:hover .ico { color: var(--yellow); }

@media (max-width: 1180px) {
  .nav-drop { border-bottom: 1px solid var(--line); }
  .nav-drop-btn { width: 100%; justify-content: space-between; padding: 16px 0; font-size: 14px; }
  .nav-menu {
    position: static; width: auto; transform: none; grid-template-columns: 1fr;
    padding: 0 0 12px; background: none; border: 0; box-shadow: none;
    display: none; opacity: 1; visibility: visible;
  }
  .nav-drop.is-open .nav-menu { display: grid; transform: none; }
  .site-nav .nav-menu a { padding: 10px 0; border-bottom: 0; }
  .site-nav { max-height: calc(100svh - var(--header-h)); overflow-y: auto; }
}

/* ───────────────────────── Service tiles (home + service pages) ───────────────────────── */
.svc-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line-strong); border-left: 1px solid var(--line);
}
.svc-tile {
  position: relative; display: grid; align-content: start; gap: 8px; min-height: 210px;
  padding: 26px 22px 28px;
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  transition: background 200ms ease, color 200ms ease;
}
.svc-ico { width: 40px; height: 40px; margin-bottom: 18px; color: var(--cyan); transition: color 200ms ease, transform 300ms var(--ease); }
.svc-name { font-family: var(--display); font-size: clamp(24px, 2.2vw, 30px); line-height: 1; text-transform: uppercase; }
.svc-short { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.svc-go { position: absolute; top: 22px; right: 22px; font-size: 20px; opacity: 0; transform: translateX(-6px); transition: opacity 200ms ease, transform 200ms var(--ease); }
.svc-tile:hover { background: var(--paper); color: var(--ink); }
.svc-tile:hover .svc-ico { color: var(--hot); transform: scale(1.08); }
.svc-tile:hover .svc-short { color: var(--ink); }
.svc-tile:hover .svc-go { opacity: 1; transform: none; }
.svc-grid--compact .svc-tile { min-height: 160px; }
.svc-grid--compact .svc-ico { width: 30px; height: 30px; margin-bottom: 10px; }
@media (max-width: 1000px) { .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .svc-tile { min-height: 0; padding: 20px 16px; } .svc-ico { margin-bottom: 8px; } }

/* ───────────────────────── Footer ───────────────────────── */
.site-footer { display: grid; gap: 28px; }
.footer-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px; }
.footer-services { display: flex; flex-wrap: wrap; gap: 10px 26px; }
.footer-services a { display: inline-flex; align-items: center; gap: 8px; color: var(--paper); font-size: 15px; }
.footer-services a .ico { color: var(--cyan); }
.footer-services a:hover { color: var(--yellow); }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.footer-bottom a:hover { color: var(--paper); }
.footer-bottom .footer-year { margin-left: auto; }

/* ───────────────────────── Service pages ───────────────────────── */
.svc-hero {
  max-width: var(--max); margin: 0 auto;
  padding: calc(var(--header-h) + clamp(40px, 7vw, 96px)) var(--pad) clamp(24px, 4vw, 40px);
}
.crumbs { margin: 0 0 18px; font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.crumbs a { color: var(--cyan); }
.crumbs a:hover { color: var(--yellow); }
.svc-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(24px, 5vw, 80px); align-items: center; }
.svc-title { font-family: var(--display); font-size: clamp(56px, 10vw, 150px); line-height: 0.86; text-transform: uppercase; text-wrap: balance; }
.svc-headline { margin: 22px 0 12px; font-size: clamp(22px, 2.6vw, 32px); line-height: 1.2; font-weight: 700; color: var(--yellow); max-width: 26ch; }
.svc-lead { margin: 0 0 32px; max-width: 54ch; font-size: 18px; color: #dcd9ce; }
.svc-emblem {
  display: grid; place-items: center; width: clamp(160px, 22vw, 300px); aspect-ratio: 1;
  border: 1px solid var(--line-strong);
  background:
    repeating-linear-gradient(0deg, transparent 0 23px, var(--line) 23px 24px),
    repeating-linear-gradient(90deg, transparent 0 23px, var(--line) 23px 24px);
}
.svc-emblem-ico { width: 55%; height: 55%; color: var(--cyan); filter: drop-shadow(6px 6px 0 var(--hot)); }
.svc-section { padding-top: clamp(56px, 8vw, 100px); }
.svc-h2 { font-size: clamp(40px, 6vw, 80px) !important; }

.cap-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 20px); }
.cap { padding: 26px 24px 28px; background: var(--panel); border: 1px solid var(--line); transition: border-color 200ms ease, transform 200ms var(--ease); }
.cap:hover { border-color: var(--cyan); transform: translateY(-3px); }
.cap-ico { width: 34px; height: 34px; color: var(--cyan); }
.cap h3 { margin: 18px 0 8px; font-family: var(--display); font-size: 26px; line-height: 1; text-transform: uppercase; }
.cap p { margin: 0; color: var(--muted); font-size: 15px; }
@media (max-width: 900px) { .cap-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .svc-hero-grid { grid-template-columns: 1fr; } .svc-emblem { display: none; } }
@media (max-width: 560px) { .cap-grid { grid-template-columns: 1fr; } }

.tool-wall { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 170px), 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
.tool-wall li {
  display: flex; align-items: center; gap: 12px; min-width: 0; padding: 14px 16px;
  border: 1px solid var(--line); background: var(--ink-2);
  font-size: 14px; font-weight: 500;
  transition: border-color 160ms ease, background 160ms ease;
}
.tool-wall li .ico { width: 24px; height: 24px; color: var(--paper); }
.tool-wall li:hover { border-color: var(--line-strong); background: var(--panel); }
.tool-wall li:hover .ico { color: var(--yellow); }
.tool-wall li span { min-width: 0; overflow-wrap: anywhere; }

.rel-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: clamp(12px, 1.6vw, 20px); }
.rel-tile { display: block; margin: 0; background: var(--panel); border: 1px solid var(--line); overflow: hidden; transition: border-color 200ms ease; }
.rel-tile:hover { border-color: var(--line-strong); }
.rel-media { display: block; overflow: hidden; background: #e9e6dc; }
.rel-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease); }
.rel-tile:hover .rel-media img { transform: scale(1.04); }
.rel-tile--web .rel-media { aspect-ratio: 16 / 10; }
.rel-tile--web .rel-media img { object-position: 50% 0; }
.rel-tile--print .rel-media { aspect-ratio: 1105 / 1430; }
.rel-tile--print .rel-media img { transform: scale(1.1); }
.rel-tile--print:hover .rel-media img { transform: scale(1.15); }
.rel-tile--video { grid-column: span 2; }
.rel-tile--video video { display: block; width: 100%; aspect-ratio: 16 / 9; background: #000; }
@media (max-width: 720px) { .rel-tile--video { grid-column: auto; } }
.rel-meta { display: block; padding: 14px 16px 16px; font-family: var(--display); font-size: 22px; line-height: 1.05; text-transform: uppercase; border-top: 1px solid var(--line); }
.rel-meta small { display: block; margin-bottom: 4px; font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: 0.1em; color: var(--cyan); }

.page-service .contact, .page-about .contact { padding-top: clamp(56px, 8vw, 100px); }

/* ───────────────────────── About page ───────────────────────── */
.about-hero {
  max-width: var(--max); margin: 0 auto;
  padding: calc(var(--header-h) + clamp(48px, 8vw, 110px)) var(--pad) clamp(32px, 5vw, 56px);
}
.about-title { font-family: var(--display); font-size: clamp(60px, 11vw, 168px); line-height: 0.86; text-transform: uppercase; }
.about-title span { color: transparent; -webkit-text-stroke: 2px var(--yellow); }
.about-lead { max-width: 56ch; margin: 28px 0 0; font-size: clamp(18px, 1.8vw, 22px); color: #dcd9ce; }

.about-stats {
  max-width: var(--max); margin: 0 auto; padding: 0 var(--pad);
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
}
.about-stats div { display: grid; gap: 4px; padding: 24px 20px 26px 0; border-top: 2px solid var(--paper); }
.about-stats div + div { padding-left: 20px; border-left: 1px solid var(--line); }
.about-stats b { font-family: var(--display); font-weight: 400; font-size: clamp(44px, 6vw, 84px); line-height: 1; color: var(--cyan); font-variant-numeric: tabular-nums; }
.about-stats span { font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 760px) {
  .about-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-stats div:nth-child(3) { padding-left: 0; border-left: 0; }
}

.about-split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 5vw, 72px); align-items: start; }
.about-split h2 { font-size: clamp(40px, 5.6vw, 76px) !important; text-wrap: balance; }
.about-prose p { margin: 0 0 18px; font-size: 19px; color: #dcd9ce; max-width: 60ch; }
.about-prose p:last-child { margin-bottom: 0; }
@media (max-width: 860px) { .about-split { grid-template-columns: 1fr; } }

.exp-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line-strong); }
.exp { padding: 28px 24px 30px 0; }
.exp + .exp { padding-left: 24px; border-left: 1px solid var(--line); }
.exp-ico { width: 36px; height: 36px; color: var(--yellow); }
.exp h3 { margin: 18px 0 10px; font-family: var(--display); font-size: 30px; line-height: 1; text-transform: uppercase; }
.exp p { margin: 0; color: var(--muted); font-size: 15px; }
@media (max-width: 860px) {
  .exp-grid { grid-template-columns: 1fr; }
  .exp, .exp + .exp { padding: 24px 0; border-left: 0; border-bottom: 1px solid var(--line); }
}

.built-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 20px); margin: 0; padding: 0; list-style: none; }
.built-grid li { display: grid; gap: 6px; padding: 24px; background: var(--panel); border: 1px solid var(--line); }
.built-grid .ico { width: 30px; height: 30px; margin-bottom: 10px; color: var(--hot); }
.built-grid b { font-family: var(--display); font-weight: 400; font-size: 24px; line-height: 1.05; text-transform: uppercase; }
.built-grid span { color: var(--muted); font-size: 15px; }
@media (max-width: 900px) { .built-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .built-grid { grid-template-columns: 1fr; } }

.press-line { max-width: 40ch; margin: 0; font-family: var(--display); font-size: clamp(28px, 3.6vw, 48px); line-height: 1.12; text-transform: uppercase; color: var(--muted); }
.press-line b { font-weight: 400; color: var(--paper); }

.tool-group + .tool-group { margin-top: 32px; }
.tool-group h3 { margin-bottom: 12px; font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--yellow); }

/* hero strip: six linked disciplines */
.hero-strip { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.hero-strip li { padding: 0; }
.hero-strip li a { display: flex; align-items: center; gap: 12px; padding: 18px clamp(14px, 2vw, 28px); }
.hero-strip li .ico { width: 22px; height: 22px; color: var(--cyan); }
.hero-strip li:hover .ico { color: var(--hot); }
@media (max-width: 900px) {
  .hero-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero-strip li:nth-child(n+4) { display: block; }
  .hero-strip li:nth-child(3) { border-right: 0; }
  .hero-strip li:nth-child(-n+3) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 480px) {
  .hero-strip li a { padding: 12px; gap: 8px; font-size: 16px; }
  .hero-strip li .ico { width: 16px; height: 16px; }
}
.press-sub { max-width: 62ch; margin: 22px 0 0; font-size: 19px; color: #dcd9ce; }
.press-sub b { color: var(--yellow); font-weight: 700; }

/* ───────────────────────── Selected work: smaller cards, grouped All view ───────────────────────── */
.work-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); }
.card-title { font-size: 19px; }
.card-meta { padding: 12px 14px 14px; }
.card-arrow { width: 30px; height: 30px; }

.work-grid.is-grouped { display: grid; grid-template-columns: 1fr; gap: clamp(36px, 5vw, 56px); }
.work-group { display: grid; gap: 16px; animation: none; }
.work-group-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding-bottom: 10px; border-bottom: 1px solid var(--line-strong); }
.work-group-head h3 { font-family: var(--display); font-size: clamp(26px, 3vw, 36px); line-height: 1; text-transform: uppercase; }
.work-group-head .text-link { background: none; border-width: 0 0 2px; cursor: pointer; color: var(--paper); }
.work-group-head .text-link:hover { color: var(--yellow); }
.work-group-grid { display: grid; gap: clamp(12px, 1.6vw, 18px); max-width: 85%; }
.work-group-grid .card { grid-column: auto; }
.work-group--websites .work-group-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.work-group--motion .work-group-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 68%; }
.work-group--print .work-group-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 900px) {
  .work-group-grid { max-width: none; }
  .work-group--motion .work-group-grid { max-width: none; }
  .work-group--websites .work-group-grid, .work-group--print .work-group-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .work-group--websites .work-group-grid, .work-group--motion .work-group-grid { grid-template-columns: 1fr; }
}

/* related work: even rows */
.rel-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.rel-grid:has(> :nth-child(2):last-child), .rel-grid:has(> :nth-child(4):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.rel-grid:has(.rel-tile--print) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.rel-grid:has(.rel-tile--print):has(.rel-tile--web) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.rel-grid .rel-tile--web { grid-column: span 1; }
.rel-grid:has(.rel-tile--print) .rel-tile--web { grid-column: span 2; }
.rel-grid .rel-tile--video { grid-column: auto; }
@media (max-width: 900px) {
  .rel-grid, .rel-grid:has(.rel-tile--print) { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .rel-grid:has(.rel-tile--print) .rel-tile--web { grid-column: span 2; }
}
@media (max-width: 560px) {
  .rel-grid, .rel-grid:has(.rel-tile--print) { grid-template-columns: 1fr !important; }
  .rel-grid .rel-tile--web, .rel-grid:has(.rel-tile--print) .rel-tile--web { grid-column: auto; }
}

/* Websites service page: full case studies */
.svc-cases { padding-top: clamp(56px, 8vw, 100px); }
.svc-cases-head { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.svc-cases-head .case-index { margin-top: 28px; }
.svc-cases .case:first-child { border-top: 0; }

/* ───────────────────────── Top menu: every service listed ───────────────────────── */
.site-nav { gap: clamp(12px, 1.4vw, 22px); }
.site-nav .nav-svc { display: inline-flex; align-items: center; gap: 8px; }
.site-nav .nav-svc .ico { display: none; width: 18px; height: 18px; color: var(--cyan); }
.site-nav .nav-svc[aria-current="page"] .ico { color: var(--yellow); }
@media (max-width: 1180px) {
  .site-nav .nav-svc .ico { display: inline-block; }
  .site-nav .nav-svc { padding: 14px 0; }
}
@media (max-width: 1180px) {
  .site-nav { background: var(--ink); min-height: calc(100svh - var(--header-h)); }
}

/* ───────────────────────── Honest line, More bar, Featured strip ───────────────────────── */
.work-honest { margin: 10px 0 0; font-family: var(--mono); font-size: 13px; letter-spacing: 0.04em; color: var(--yellow); }

.more-bar {
  display: flex; align-items: center; justify-content: center; gap: 14px; width: 100%;
  min-height: 72px; margin-top: 8px;
  font-family: var(--display); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; letter-spacing: 0.02em;
  color: var(--ink); background: var(--cyan); border: 0;
  transition: background 180ms ease;
}
.more-bar span { transition: transform 200ms var(--ease); }
.more-bar:hover { background: var(--yellow); }
.more-bar:hover span { transform: translateX(6px); }
.more-bar[aria-expanded="true"]:hover span { transform: translateY(-4px); }

.feat-controls { display: flex; align-items: center; gap: 12px; }
.feat-controls button {
  display: grid; place-items: center; width: 48px; height: 48px; font-size: 18px;
  background: transparent; border: 1px solid var(--line-strong);
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}
.feat-controls button:hover { background: var(--yellow); color: var(--ink); border-color: var(--yellow); }
.feat-count { min-width: 52px; text-align: center; font-family: var(--mono); font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }

.feat-slide { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 56px); align-items: center; animation: card-in 500ms var(--ease) both; }
.feat-shot { display: block; box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5); }
.feat-shot .browser { margin: 0; border-bottom: 0; }
.feat-media { display: block; aspect-ratio: 16 / 10; overflow: hidden; border: 1px solid var(--line-strong); background: #111; }
.feat-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; transition: object-position 6s ease-in-out; }
.feat-shot:hover .feat-media img { object-position: 50% 100%; }
.feat-info { min-width: 0; }
.feat-info .label { margin-bottom: 10px; }
.feat-info h3 { font-family: var(--display); font-size: clamp(40px, 5vw, 68px); line-height: 0.92; text-transform: uppercase; }
.feat-info dl { margin: 22px 0 28px; display: grid; gap: 6px; }
.feat-info dt { font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--yellow); }
.feat-info dd { margin: 0 0 12px; font-size: 17px; color: #dcd9ce; max-width: 44ch; }
@media (max-width: 860px) {
  .feat-slide { grid-template-columns: 1fr; }
}
.feat-slide[hidden] { display: none; }
html, body { overflow-x: clip; }

/* partner names: look like text until hovered */
a.quiet-link { color: inherit; text-decoration: none; transition: color 160ms ease; }
a.quiet-link:hover, a.quiet-link:focus-visible { text-decoration: underline; text-underline-offset: 3px; }
.case-blurb a.quiet-link:hover, .feat-info a.quiet-link:hover, .lb-blurb a.quiet-link:hover { color: var(--yellow); }

/* ───────────────────────── Work page ───────────────────────── */
.work-hero {
  max-width: var(--max); margin: 0 auto;
  padding: calc(var(--header-h) + clamp(48px, 8vw, 110px)) var(--pad) clamp(16px, 3vw, 32px);
}
.work-title { font-family: var(--display); font-size: clamp(56px, 10vw, 150px); line-height: 0.88; text-transform: uppercase; text-wrap: balance; }
.work-title span { color: transparent; -webkit-text-stroke: 2px var(--cyan); }
.work-hero .work-note { margin-top: 24px; font-size: clamp(17px, 1.6vw, 20px); }
.work-jump {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  margin-top: 36px; border-top: 1px solid var(--line-strong);
}
.work-jump a {
  display: grid; gap: 4px; padding: 16px 16px 18px 0;
  font-family: var(--display); font-size: clamp(22px, 2.2vw, 30px); line-height: 1; text-transform: uppercase;
  border-bottom: 1px solid var(--line); transition: color 160ms ease;
}
.work-jump a span { font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: 0.12em; color: var(--muted); }
.work-jump a:hover { color: var(--yellow); }

.work-sec { padding-top: clamp(64px, 9vw, 120px); scroll-margin-top: var(--header-h); }
.work-sec-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  max-width: var(--max); margin: 0 auto; padding: 0 var(--pad) 12px;
}
.work-sec-head h2 {
  font-family: var(--display); font-size: clamp(40px, 6vw, 84px); line-height: 0.95; text-transform: uppercase;
}
.work-sec-count { font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.work-sec-body {
  max-width: var(--max); margin: 0 auto; padding: 20px var(--pad) 0;
  border-top: 1px solid var(--line-strong);
  background-clip: content-box;
}
.work-sec--websites .work-sec-body { padding-bottom: 0; }
.work-sec--websites .case:first-child { border-top: 0; }
.print-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 18px); }
.motion-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 18px); }
.motion-grid .card--motion { grid-column: auto; }
@media (max-width: 900px) { .print-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .motion-grid { grid-template-columns: 1fr; } }
.page-work .contact { padding-top: clamp(64px, 9vw, 120px); }

/* ───────────────────────── Home: featured link, What we do, Marketing ───────────────────────── */
.all-work {
  display: inline-flex; gap: 10px; margin-top: 36px;
  font-family: var(--mono); font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  border-bottom: 2px solid var(--yellow); padding-bottom: 4px; transition: color 160ms ease;
}
.all-work:hover { color: var(--yellow); }

.wwd-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line-strong); border-left: 1px solid var(--line); }
.wwd {
  display: flex; flex-direction: column; gap: 12px; min-width: 0;
  padding: 24px 20px 22px;
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  scroll-margin-top: calc(var(--header-h) + 24px);
  transition: background 200ms ease;
}
.wwd:hover, .wwd:target { background: rgba(255, 255, 255, 0.03); }
.wwd:target { box-shadow: inset 0 3px 0 var(--yellow); }
.wwd-top { display: flex; align-items: center; gap: 12px; }
.wwd-ico { width: 30px; height: 30px; color: var(--cyan); }
.wwd h3 { font-family: var(--display); font-size: clamp(22px, 2vw, 27px); line-height: 1; text-transform: uppercase; }
.wwd-pitch { margin: 0; font-size: 15px; color: #dcd9ce; }
.wwd-skills { display: flex; flex-wrap: wrap; gap: 4px 0; margin: 0; padding: 0; list-style: none; }
.wwd-skills li { font-family: var(--mono); font-size: 11px; color: var(--muted); }
.wwd-skills li:not(:last-child)::after { content: "·"; margin: 0 7px; color: var(--hot); }
.wwd-tools { display: flex; flex-wrap: wrap; gap: 10px; margin: auto 0 0; padding: 12px 0 0; list-style: none; border-top: 1px solid var(--line); }
.wwd-tools .ico { width: 18px; height: 18px; color: var(--muted); transition: color 160ms ease; }
.wwd:hover .wwd-tools .ico { color: var(--paper); }
@media (max-width: 1000px) { .wwd-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .wwd-grid { grid-template-columns: 1fr; } }

.brings-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 5vw, 72px); align-items: start; }
.brings h2 { font-size: clamp(44px, 6.4vw, 92px) !important; }
.brings h2 span { color: transparent; -webkit-text-stroke: 2px var(--yellow); }
.brings-copy p { margin: 0 0 18px; font-size: 19px; color: #dcd9ce; max-width: 60ch; }
.brings-points {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0;
  margin: clamp(32px, 5vw, 56px) 0 0; padding: 0; list-style: none; border-top: 2px solid var(--paper);
}
.brings-points li { display: grid; gap: 6px; padding: 22px 20px 0 0; }
.brings-points li + li { padding-left: 20px; border-left: 1px solid var(--line); }
.brings-points .ico { width: 26px; height: 26px; margin-bottom: 6px; color: var(--hot); }
.brings-points b { font-family: var(--display); font-weight: 400; font-size: 24px; line-height: 1.05; text-transform: uppercase; }
.brings-points span { font-size: 15px; color: var(--muted); }
@media (max-width: 900px) {
  .brings-grid { grid-template-columns: 1fr; }
  .brings-points { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 24px; }
  .brings-points li:nth-child(3) { padding-left: 0; border-left: 0; }
}
@media (max-width: 480px) {
  .brings-points { grid-template-columns: 1fr; }
  .brings-points li, .brings-points li + li { padding-left: 0; border-left: 0; }
}

/* Work page: More per section */
.work-sec-more { max-width: var(--max); margin: 0 auto; padding: 20px var(--pad) 0; }
.work-sec .case[hidden], .work-sec .card[hidden] { display: none; }
.work-sec--websites .work-sec-more { padding-top: 0; }
.work-jump a { padding-top: 18px; }

/* Work page jump links: centered, site blue, yellow on hover */
.work-jump { display: flex; flex-wrap: wrap; justify-content: center; gap: 0; }
.work-jump a {
  flex: 1 1 0; min-width: 0; justify-items: center; text-align: center;
  padding: 18px 16px; color: var(--cyan);
}
.work-jump a + a { border-left: 1px solid var(--line); }
.work-jump a:hover, .work-jump a:focus-visible { color: var(--yellow); }
@media (max-width: 560px) {
  .work-jump a { flex-basis: 100%; }
  .work-jump a + a { border-left: 0; }
}

/* Hero tagline: one line under PIXEL MODES, letter-spaced by script.js to match the width of MODES */
.hero-tagline {
  display: inline-block; margin: 14px 0 0;
  font-family: var(--mono); font-weight: 700; font-size: clamp(12px, 1.5vw, 20px);
  text-transform: uppercase; white-space: nowrap; line-height: 1; color: var(--paper);
}
.hero-tagline + .hero-copy { margin-top: 26px; }
