/* ═══════════════════════════════════════════════════════════════════════
   OFFROW — site stylesheet
   Extracted from inline <style> to enable strict CSP (no 'unsafe-inline')
   ═══════════════════════════════════════════════════════════════════════ */

/* ── TOKENS ── */
:root {
  --space-xs: 0.375rem;
  --space-sm: 0.75rem;
  --space-md: 1rem;
  --space-lg: 2rem;
  --space-xl: 4rem;
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-expo: cubic-bezier(0.87, 0, 0.13, 1);
  --duration: 0.35s;
  --color-ink: #0a0a0a;
  --color-paper: #fafaf9;
  --color-muted: rgba(10, 10, 10, 0.55);
  --color-rule: rgba(10, 10, 10, 0.07);
  --header-h: 62px;
  --footer-h: 48px;
  --pixel-size: 48px;
  --parallax-factor: 0.202;
  --grain-opacity: 0.027;
  --ticker-speed: 32s;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html, body { height: 100%; }

body {
  font-family: 'Josefin Sans', sans-serif;
  color: var(--color-ink);
  background: var(--color-paper);
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding-bottom: var(--footer-h);
  cursor: none;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; cursor: none; }
button { cursor: none; }

/* ── GTM noscript iframe (replaces inline style) ── */
.gtm-noscript {
  display: none;
  visibility: hidden;
}

/* ── GRAIN OVERLAY ── */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: var(--grain-opacity);
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 128px 128px;
  animation: grainShift 0.5s steps(1) infinite;
}
@keyframes grainShift {
  0%   { transform: translate(0, 0); }
  20%  { transform: translate(-3px, 2px); }
  40%  { transform: translate(3px, -1px); }
  60%  { transform: translate(-2px, -3px); }
  80%  { transform: translate(2px, 3px); }
  100% { transform: translate(0, 0); }
}

/* ── CUSTOM CURSOR ── */
#cursor-dot {
  position: fixed;
  width: 6px; height: 6px;
  background: var(--color-ink);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
  transition: transform 0.05s, background 0.3s, width 0.3s, height 0.3s;
  will-change: left, top;
}
#cursor-ring {
  position: fixed;
  width: 36px; height: 36px;
  border: 1px solid rgba(10, 10, 10, 0.35);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99998;
  transform: translate(-50%, -50%);
  transition: width 0.4s var(--ease-out), height 0.4s var(--ease-out), border-color 0.3s, background 0.3s;
  will-change: left, top;
}
body.cursor-hover #cursor-ring {
  width: 56px; height: 56px;
  border-color: rgba(10, 10, 10, 0.4);
  background: rgba(10, 10, 10, 0.04);
}
body.cursor-hover #cursor-dot {
  width: 4px; height: 4px;
}

/* ── PIXEL INTRO ── */
#pixel-intro {
  position: fixed;
  inset: 0;
  z-index: 9000;
  pointer-events: none;
  display: grid;
}
.px-cell {
  background: var(--color-ink);
  transform-origin: center;
  will-change: transform, opacity;
}

/* ── SKIP LINK ── */
.skip-link {
  position: absolute; top: -100%; left: var(--space-md);
  background: var(--color-ink); color: var(--color-paper);
  padding: var(--space-xs) var(--space-sm);
  font-size: 0.75rem; letter-spacing: 1px; text-transform: uppercase;
  z-index: 200; transition: top var(--duration) var(--ease);
}
.skip-link:focus { top: var(--space-sm); }

/* ── HEADER ── */
.header-wrapper {
  position: fixed; top: 0; width: 100%; height: var(--header-h);
  z-index: 100;
  background: rgba(250, 250, 249, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-rule);
  transition: box-shadow var(--duration) var(--ease);
  transform: translateY(-100%);
  animation: slideDown 0.8s var(--ease-out) 1.8s forwards;
}
.header-wrapper.scrolled { box-shadow: 0 2px 24px rgba(0, 0, 0, 0.06); }
@keyframes slideDown { to { transform: translateY(0); } }

.header-content {
  display: flex; justify-content: space-between; align-items: center;
  height: 100%; padding: 0 var(--space-lg);
  max-width: 1400px; margin: 0 auto;
}

.logo { flex-shrink: 0; }
.logo img { width: 160px; height: auto; }
body[data-palette="noir"] .logo img { content: url("../img/white.webp"); }
.logo-sub {
  font-size: 0.68rem; font-weight: 300;
  letter-spacing: 0.35px; color: var(--color-muted); margin-top: 2px;
}

/* ── NAV ── */
.nav-links { display: flex; list-style: none; gap: var(--space-lg); }
.nav-links a {
  font-size: 0.72rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 2px;
  position: relative; padding-bottom: 3px;
  transition: color var(--duration) var(--ease);
  white-space: nowrap;
}
.nav-links a:hover { color: #222; }
.nav-links a::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 0; height: 1px; background: var(--color-ink);
  transition: width 0.5s var(--ease-out);
}
.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after { width: 100%; }

/* ── MODE TOGGLE ── */
#modeToggle {
  width: 16px; height: 16px;
  border-radius: 50%;
  border: 1.5px solid var(--color-muted);
  background: transparent;
  cursor: none;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  transition: border-color 0.4s;
}
#modeToggle::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--color-ink);
  clip-path: inset(0 50% 0 0);
  transition: clip-path 0.4s var(--ease), background 0.4s;
}
body[data-palette="noir"] #modeToggle::after { clip-path: inset(0 0 0 50%); }
#modeToggle:hover { border-color: var(--color-ink); }

/* ── BURGER ── */
.burger-menu {
  display: none; flex-direction: column; justify-content: space-around;
  width: 28px; height: 22px; background: transparent;
  border: none; padding: 0; z-index: 110;
}
.burger-menu span {
  width: 100%; height: 1.5px; background: var(--color-ink);
  transition: transform var(--duration) var(--ease), opacity var(--duration) var(--ease);
  transform-origin: center;
}
.burger-menu[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger-menu[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.burger-menu[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.nav-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0, 0, 0, 0.25); z-index: 98;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--duration) var(--ease);
}
.nav-overlay.active {
  opacity: 1;
  pointer-events: auto;
}
/* ── HERO ── */
.hero-banner {
  margin-top: var(--header-h);
  width: 100%; overflow: hidden; line-height: 0;
  position: relative;
  opacity: 0;
  animation: heroReveal 1.2s var(--ease-out) 1.4s forwards;
}
@keyframes heroReveal {
  from { opacity: 0; transform: scale(1.04); }
  to   { opacity: 1; transform: scale(1); }
}
.hero-banner img {
  width: 100%; height: auto; object-fit: cover;
  transform-origin: center bottom;
  will-change: transform;
}

/* ── PIXEL COUNTER OVERLAY (hero) ── */
.hero-pixel-grid {
  position: absolute; inset: 0;
  display: grid;
  pointer-events: none;
  z-index: 2;
  opacity: 0;
}
.hero-px {
  background: var(--color-paper);
  transition: opacity 0.4s var(--ease-out);
}

/* ── TICKER ── */
.ticker-wrap {
  overflow: hidden;
  border-bottom: 1px solid var(--color-rule);
  border-top: 1px solid var(--color-rule);
  padding: 0.6rem 0;
  opacity: 0;
  animation: fadeIn 0.6s ease 2.2s forwards;
}
.ticker-track {
  display: flex;
  gap: 3rem;
  white-space: nowrap;
  animation: tickerScroll var(--ticker-speed) linear infinite;
}
.ticker-track span {
  font-size: 0.6rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--color-muted);
  flex-shrink: 0;
}
@keyframes tickerScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes fadeIn { to { opacity: 1; } }

/* ── MAIN CONTENT ── */
.content-section {
  flex: 1;
  padding: 4rem var(--space-lg) 5rem;
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  position: relative;
}
.content-section::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 62%;
  transform: translate(-50%, -50%);
  width: min(720px, 30%);
  aspect-ratio: 4 / 3;
  background-image: url("../img/herofast.gif");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  pointer-events: none;
  z-index: -2;
  opacity: 0;
  animation: heroBlendIn 1.2s var(--ease-out) 2.5s forwards;
}
@keyframes heroBlendIn {
  to { opacity: 1; }
}

/* ── HEADLINE ── */
.headline {
  font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
  font-size: clamp(3.8rem, 8vw, 7rem);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--color-ink);
  overflow: hidden;
}
.headline-line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.22em;
  margin-bottom: -0.22em;
}
.headline-line-inner {
  display: block;
  transform: translateY(110%);
  opacity: 0;
}
.headline-line-inner.revealed {
  animation: lineReveal 1s var(--ease-expo) forwards; margin-bottom: 8px;
}
.headline-line-inner:nth-child(1) { animation-delay: 1.7s; }

/* Replaces inline style="animation-delay:1.9s" on the second headline line */
.headline-line:nth-of-type(2) .headline-line-inner.revealed {
  animation-delay: 1.9s;
}

@keyframes lineReveal {
  to { transform: translateY(0); opacity: 1; }
}

/* ── BODY TEXT ── */
.body-text {
  margin-top: 2.5rem;
  max-width: 600px;
  line-height: 1.8;
  color: #6b6b6b;
  font-size: 0.92rem;
  letter-spacing: 0.2px;
  opacity: 0;
  transform: translateY(16px);
}
.body-text.revealed {
  animation: fadeUp 0.9s var(--ease-out) forwards;
}

/* ── CLIENT STRIP ── */
.client-strip {
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-rule);
  opacity: 0;
}
.client-strip.revealed {
  animation: fadeUp 0.8s var(--ease-out) 0.1s forwards;
}
.client-strip-label {
  font-size: 0.62rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 2.5px;
  color: var(--color-muted); margin-bottom: 1.2rem;
}
.client-strip-names {
  display: flex; flex-wrap: wrap;
  gap: 0.4rem 2.5rem;
  font-size: 0.7rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 2px;
  color: var(--color-muted);
}
.client-name {
  position: relative;
  transition: color 0.3s var(--ease);
}
.client-name:hover { color: var(--color-ink); }

/* ── SERVICES ── */
.services-section {
  padding: 5rem var(--space-lg) 6rem;
  border-top: 1px solid var(--color-rule);
  max-width: 1400px; width: 100%; margin: 0 auto;
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
.services-section.revealed {
  opacity: 1;
  transform: translateY(0);
}
.services-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 3rem;
}
.services-eyebrow {
  font-size: 0.62rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 3px;
  color: var(--color-muted);
}
.services-count {
  font-size: 0.62rem; font-weight: 400;
  letter-spacing: 1px; color: var(--color-muted);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--color-rule);
  border: 1px solid var(--color-rule);
}
.service-card {
  background: var(--color-paper);
  padding: 2.5rem 2rem 3rem;
  display: flex; flex-direction: column; gap: 1.2rem;
  transition: background 0.4s var(--ease);
  cursor: none;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px);
}
.service-card.revealed {
  animation: fadeUp 0.7s var(--ease-out) forwards;
}
.service-card:hover { background: #f3f3f1ec; }

/* Replaces inline style="animation-delay:0.1s" / "0.2s" on service cards */
.service-card:nth-child(2).revealed { animation-delay: 0.1s; }
.service-card:nth-child(3).revealed { animation-delay: 0.2s; }

/* Pixel hover effect on cards */
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.025) 0px, rgba(0, 0, 0, 0.025) 1px, transparent 1px, transparent 12px),
    repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.025) 0px, rgba(0, 0, 0, 0.025) 1px, transparent 1px, transparent 12px);
  opacity: 0;
  transition: opacity 0.5s var(--ease);
  pointer-events: none;
}
.service-card:hover::before { opacity: 1; }

.service-card-number {
  font-size: 0.62rem; font-weight: 500;
  letter-spacing: 2.5px; color: var(--color-muted);
}
.service-card-title {
  font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
  font-size: clamp(1.4rem, 2.2vw, 1.9rem);
  font-weight: 400; line-height: 1;
  letter-spacing: -0.01em;
}
.service-card-desc {
  font-size: 0.76rem; line-height: 1.65; color: #555; flex: 1;
}
.service-card-tags {
  display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: auto;
}
.tag {
  font-size: 0.6rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 1.5px;
  border: 1px solid var(--color-rule);
  padding: 3px 9px; color: var(--color-muted);
  transition: border-color 0.3s, color 0.3s;
}
.service-card:hover .tag {
  border-color: rgba(10, 10, 10, 0.18);
  color: rgba(131, 130, 130, 0.6);
}

/* ── CONTENT GRID ── */
.content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.content-left { min-width: 0; }

/* ── VISUAL PANEL ── */
.visual-panel {
  position: relative;
  height: 520px;
  overflow: hidden;
}
.visual-panel canvas {
  display: block;
  width: 100%;
  height: 100%;
}

/* ── FOOTER ── */
.footer-wrapper {
  position: fixed; bottom: 0; left: 0;
  width: 100%; height: var(--footer-h);
  background: rgba(250, 250, 249, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--color-rule);
  z-index: 50;
  transform: translateY(100%);
  animation: slideUp 0.8s var(--ease-out) 2s forwards;
}
@keyframes slideUp { to { transform: translateY(0); } }
.footer-content {
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  align-items: center; height: 100%;
  max-width: 1400px; margin: 0 auto;
  padding: 0 var(--space-lg);
}
.footer-section {
  font-size: 0.7rem; font-weight: 400;
  letter-spacing: 0.8px; white-space: nowrap;
}
.footer-section:nth-child(1) { text-align: left; color: var(--color-muted); }
.footer-section:nth-child(2) { text-align: center; }
.footer-section:nth-child(3) { text-align: right; }
.footer-section a { transition: opacity var(--duration) var(--ease); }
.footer-section a:hover { opacity: 0.45; }

/* ── PROGRESS LINE ── */
#scroll-progress {
  position: fixed; top: var(--header-h); left: 0;
  height: 1px; background: var(--color-ink);
  width: 0%; z-index: 101;
  transition: width 0.05s linear;
  opacity: 0.35;
}

/* ── CONSENT BANNER (replaces all inline style="..." attributes) ── */
#consent-banner {
  display: none;
  position: fixed;
  bottom: calc(var(--footer-h) + 1rem);
  left: 1rem;
  right: 1rem;
  max-width: 560px;
  background: var(--color-paper);
  border: 1px solid var(--color-rule);
  padding: 1.25rem 1.5rem;
  z-index: 9998;
  font-family: 'Josefin Sans', sans-serif;
}
#consent-banner.visible { display: block; }
#consent-banner p {
  font-size: 0.72rem;
  line-height: 1.7;
  color: #6b6b6b;
  margin-bottom: 1rem;
}
#consent-banner p a {
  color: inherit;
  border-bottom: 1px solid currentColor;
}
.consent-btn {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 0.6rem 1.4rem;
  cursor: none;
  margin-right: 0.5rem;
}
.consent-btn--accept {
  background: var(--color-ink);
  color: var(--color-paper);
  border: 1px solid var(--color-ink);
}
.consent-btn--decline {
  background: transparent;
  color: var(--color-ink);
  border: 1px solid var(--color-rule);
}

/* ── SHARED ANIMATIONS ── */
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

/* ── ATMOSPHERIC GRADIENT ── */
#atmo {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background:
    radial-gradient(ellipse 70% 55% at 12% 18%, oklch(76% 0.045 232 / 0.055) 0%, transparent 68%),
    radial-gradient(ellipse 55% 45% at 88% 82%, oklch(70% 0.038 258 / 0.04) 0%, transparent 60%),
    radial-gradient(ellipse 40% 35% at 55% 48%, oklch(80% 0.028 215 / 0.025) 0%, transparent 55%);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
body[data-palette="noir"] #atmo {
  background:
    radial-gradient(ellipse 70% 55% at 12% 18%, oklch(32% 0.055 232 / 0.22) 0%, transparent 68%),
    radial-gradient(ellipse 55% 45% at 88% 82%, oklch(28% 0.042 258 / 0.18) 0%, transparent 60%);
}
body[data-palette="veil"] #atmo {
  background:
    radial-gradient(ellipse 70% 55% at 12% 18%, oklch(72% 0.06 232 / 0.18) 0%, transparent 68%),
    radial-gradient(ellipse 55% 45% at 88% 82%, oklch(66% 0.052 258 / 0.14) 0%, transparent 60%),
    radial-gradient(ellipse 40% 35% at 55% 48%, oklch(78% 0.038 215 / 0.09) 0%, transparent 55%);
}
body[data-palette="raw"] #atmo { opacity: 0; }

/* ── PALETTE THEMES ── */
/* Noir */
body[data-palette="noir"] {
  --color-ink: #f0ede8;
  --color-paper: #0c0b0a;
  --color-muted: rgba(240, 237, 232, 0.38);
  --color-rule: rgba(240, 237, 232, 0.08);
}
body[data-palette="noir"] .header-wrapper,
body[data-palette="noir"] .footer-wrapper {
  background: rgba(12, 11, 10, 0.96);
}
body[data-palette="noir"] .nav-links { background: #0c0b0a; }
body[data-palette="noir"] .service-card { background: #0c0b0a; }
body[data-palette="noir"] .service-card:hover { background: #161411; }
body[data-palette="noir"] #cursor-dot { background: var(--color-ink); }
body[data-palette="noir"] #cursor-ring { border-color: rgba(240, 237, 232, 0.3); }
body[data-palette="noir"]::after { filter: invert(1); }
body[data-palette="noir"] .px-cell { background: var(--color-ink); }

/* Veil */
body[data-palette="veil"] {
  --color-ink: #1e2130;
  --color-paper: #eef0f5;
  --color-muted: rgba(30, 33, 48, 0.38);
  --color-rule: rgba(30, 33, 48, 0.07);
}
body[data-palette="veil"] .header-wrapper,
body[data-palette="veil"] .footer-wrapper {
  background: rgba(238, 240, 245, 0.96);
}
body[data-palette="veil"] .nav-links { background: #eef0f5; }
body[data-palette="veil"] .service-card { background: #eef0f5; }
body[data-palette="veil"] .service-card:hover { background: #e5e8f0; }
body[data-palette="veil"] #scroll-progress { background: oklch(58% 0.08 240); }
body[data-palette="veil"] .nav-links a::after { background: oklch(42% 0.06 240); }

/* Palette transitions */
body, .header-wrapper, .footer-wrapper, .service-card,
.nav-links, #cursor-dot, #cursor-ring {
  transition-property: background, color, border-color, box-shadow;
  transition-duration: 0.6s;
  transition-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ── MOBILE ── */
@media (max-width: 900px) {
  .content-grid { grid-template-columns: 1fr; gap: 3rem; }
  .visual-panel { height: 300px; }
}
@media (max-width: 768px) {
  :root { --header-h: 56px; }
  body, .field-input, .field-select, .field-textarea {
    cursor: auto;
  }
  a, button, .service-card, .chip-label, .consent-btn,
  #modeToggle, .burger-menu {
    cursor: pointer;
  }
  #cursor-dot, #cursor-ring { display: none; }
  .burger-menu { display: flex; }
  .nav-overlay { display: block; }
  .nav-links {
    position: fixed; top: 0; right: -100%;
    width: min(80vw, 320px); height: 100dvh;
    background: var(--color-paper);
    flex-direction: column; justify-content: center; align-items: center;
    gap: var(--space-xl);
    transition: right 0.5s var(--ease-out);
    z-index: 99; box-shadow: -4px 0 32px rgba(0, 0, 0, 0.07);
  }
  .nav-links.active { right: 0; }
  .nav-links a { font-size: 1.1rem; letter-spacing: 2.5px; }
  .header-content, .content-section, .services-section, .footer-content {
    padding-left: var(--space-md); padding-right: var(--space-md);
  }
  .services-grid { grid-template-columns: 1fr; }

  /* Reorder: visual panel + gif appear ABOVE the headline on mobile */
  .content-section {
    padding-top: 1rem;
  }
  .content-grid {
    display: flex;
    flex-direction: column;
  }
  .content-left {
    order: 2;
  }
  .visual-panel {
    order: 1;
    height: 380px;
    width: 380px;
    max-width: 100%;
    margin: 0 auto -2rem;
    z-index: 2;
    position: relative;
  }
  .visual-panel canvas {
    opacity: 0.65;
    filter: grayscale(0.6);
    transform: scale(0.65);
    transform-origin: center;
  }

  /* Homepage hero gif: positioned over the sculpture */
  .content-section::after {
    top: auto;
    bottom: 55%;
    left: 50%;
    transform: translateX(-50%);
    width: 70%;
    max-width: 380px;
    aspect-ratio: 4 / 3;
    z-index: 0;
    mix-blend-mode: normal;
  }
}
@media (max-width: 480px) {
 
  .footer-section:nth-child(1) { display: none; }
  .footer-content { grid-template-columns: 1fr 1fr; }
  .footer-section:nth-child(2) { text-align: left; }
}

/* ── REDUCED MOTION ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
  .headline-line-inner,
  .body-text,
  .client-strip,
  .service-card {
    opacity: 1 !important;
    transform: none !important;
  }
  #pixel-intro { display: none; }
  .header-wrapper, .footer-wrapper { transform: none; }
  .hero-banner { opacity: 1; }
  .content-section::after {
    animation: none;
    opacity: 1;
  }
}

/* ═══════════════════════════════════════════════════════════════════════
   CONTACT PAGE
   ═══════════════════════════════════════════════════════════════════════ */

/* Field background tokens for form inputs */
:root {
  --color-field-bg: rgba(10, 10, 10, 0.04);
  --color-error: #b83232;
}
body[data-palette="veil"] { --color-field-bg: rgba(30, 33, 48, 0.03); }
body[data-palette="noir"] { --color-field-bg: rgba(240, 237, 232, 0.04); }

/* ── PAGE LAYOUT: two-column ── */
.page-wrapper {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  padding-top: var(--header-h);
}

/* ── LEFT: intro copy (sticky) ── */
.contact-intro {
  padding: 4.5rem var(--space-lg) 4rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1px solid var(--color-rule);
  position: sticky;
  top: var(--header-h);
  height: calc(100vh - var(--header-h));
  overflow-y: auto;
}
.contact-eyebrow {
  font-size: 0.62rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--color-muted);
  margin-bottom: 2rem;
  opacity: 0;
  animation: fadeUp 0.6s var(--ease-out) 0.05s forwards;
}
.contact-headline {
  font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
  font-size: clamp(2.8rem, 4vw, 4.8rem);
  font-weight: 400;
  line-height: 0.88;
  letter-spacing: -0.02em;
  overflow: hidden;
  padding-bottom: 12px;
}

/* Contact-page headline animation timings (override the homepage 1.7s/1.9s delays
   because there's no pixel intro on this page — content reveals immediately) */
.contact-headline .headline-line:nth-of-type(1) .headline-line-inner { animation-delay: 0.1s; }
.contact-headline .headline-line:nth-of-type(2) .headline-line-inner { animation-delay: 0.25s; }
.contact-headline .headline-line:nth-of-type(3) .headline-line-inner { animation-delay: 0.4s; }
.contact-headline .headline-line-inner {
  animation: lineReveal 0.9s var(--ease-expo) forwards;
}

.contact-sub {
  margin-top: 2rem;
  font-size: 0.88rem;
  line-height: 1.8;
  color: #6b6b6b;
  max-width: 360px;
  opacity: 0;
  animation: fadeUp 0.7s var(--ease-out) 0.5s forwards;
}
.contact-response-note {
  margin-top: 1.5rem;
  font-size: 0.68rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-muted);
  opacity: 0;
  animation: fadeUp 0.7s var(--ease-out) 0.6s forwards;
}
.contact-response-note::before { content: '→ '; }

.contact-email-fallback {
  margin-top: auto;
  padding-top: 3rem;
  font-size: 0.78rem;
  line-height: 1.8;
  color: var(--color-muted);
  opacity: 0;
  animation: fadeUp 0.7s var(--ease-out) 0.7s forwards;
}
.contact-email-fallback strong {
  display: block;
  font-size: 0.6rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-muted);
  margin-bottom: 0.5rem;
}
.contact-email-fallback a {
  font-weight: 500;
  color: var(--color-ink);
  border-bottom: 1px solid var(--color-rule);
  transition: border-color var(--duration) var(--ease);
}
.contact-email-fallback a:hover { border-color: var(--color-ink); }

/* ── RIGHT: form column ── */
.contact-form-col { padding: 4.5rem var(--space-lg) 5rem; }

/* ── FORM ELEMENTS ── */
.contact-form { display: flex; flex-direction: column; gap: 2rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.field-group { display: flex; flex-direction: column; gap: 0.45rem; }
.field-label {
  font-size: 0.6rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--color-muted);
  transition: color var(--duration) var(--ease);
}
.field-group:focus-within .field-label { color: var(--color-ink); }
.field-label .req { color: var(--color-ink); margin-left: 2px; }
.field-label .opt {
  font-weight: 300;
  letter-spacing: 1px;
  text-transform: none;
  font-size: 0.58rem;
}

.field-input, .field-select, .field-textarea {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 0.84rem;
  font-weight: 400;
  color: var(--color-ink);
  background: var(--color-field-bg);
  border: 1px solid var(--color-rule);
  border-bottom-color: rgba(10, 10, 10, 0.18);
  padding: 0.75rem 0.9rem;
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  outline: none;
  transition: border-color var(--duration) var(--ease),
              background var(--duration) var(--ease),
              box-shadow var(--duration) var(--ease);
}
.field-input::placeholder,
.field-textarea::placeholder {
  color: rgba(10, 10, 10, 0.22);
  font-weight: 300;
}
.field-input:focus, .field-select:focus, .field-textarea:focus {
  background: rgba(10, 10, 10, 0.015);
  border-color: var(--color-ink);
  box-shadow: 0 0 0 2px rgba(10, 10, 10, 0.05);
}

.field-select-wrapper { position: relative; }
.field-select-wrapper::after {
  content: '';
  position: absolute;
  right: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  width: 7px;
  height: 4px;
  background: var(--color-ink);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  pointer-events: none;
}
.field-select { padding-right: 2.5rem; }
.field-select option {
  color: var(--color-ink);
  background: var(--color-paper);
}
body[data-palette="veil"] .field-select option { background: #eef0f5; }
body[data-palette="noir"] .field-select option { background: #0c0b0a; }

.field-textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.65;
}

/* ── CHIPS ── */
.chips-grid { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.chip-input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.chip-label {
  display: inline-block;
  font-size: 0.64rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  border: 1px solid var(--color-rule);
  padding: 5px 12px;
  user-select: none;
  color: var(--color-muted);
  transition: background var(--duration) var(--ease),
              border-color var(--duration) var(--ease),
              color var(--duration) var(--ease);
}
.chip-label:hover {
  border-color: rgba(10, 10, 10, 0.25);
  color: var(--color-ink);
}
.chip-input:checked + .chip-label {
  background: var(--color-ink);
  color: var(--color-paper);
  border-color: var(--color-ink);
}
.chip-input:focus-visible + .chip-label {
  outline: 2px solid var(--color-ink);
  outline-offset: 2px;
}

/* ── VALIDATION ── */
.field-error {
  font-size: 0.6rem;
  color: var(--color-error);
  display: none;
}
.field-group.has-error .field-error { display: block; }
.field-group.has-error .field-input,
.field-group.has-error .field-select,
.field-group.has-error .field-textarea {
  border-color: var(--color-error);
}
.form-divider {
  height: 1px;
  background: var(--color-rule);
}

/* ── HONEYPOT (replaces inline style="display:none") ── */
.honeypot { display: none; }

/* ── SUBMIT ── */
.form-submit-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.form-privacy-note {
  font-size: 0.6rem;
  color: var(--color-muted);
  line-height: 1.6;
  max-width: 300px;
}
.btn-submit {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--color-paper);
  background: var(--color-ink);
  border: 1px solid var(--color-ink);
  padding: 0.9rem 2.5rem;
  white-space: nowrap;
  appearance: none;
  -webkit-appearance: none;
  transition: background var(--duration) var(--ease),
              color var(--duration) var(--ease);
}
.btn-submit:hover {
  background: transparent;
  color: var(--color-ink);
}
.btn-submit:focus-visible {
  outline: 2px solid var(--color-ink);
  outline-offset: 3px;
}
.btn-submit:disabled { opacity: 0.4; }
.btn-submit .btn-loading { display: none; }
.btn-submit.loading .btn-text { display: none; }
.btn-submit.loading .btn-loading { display: inline; }

/* When the form is submitted successfully, hide it via class (not inline style) */
.contact-form.submitted { display: none; }

/* ── SUCCESS MESSAGE ── */
.form-success {
  display: none;
  padding: 3rem 0;
}
.form-success.visible { display: block; }
.form-success-eyebrow {
  font-size: 0.6rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--color-muted);
  margin-bottom: 1rem;
}
.form-success-headline {
  font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
  font-size: clamp(2.8rem, 4vw, 4.8rem);
  font-weight: 400;
  line-height: 0.88;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}
.form-success-body {
  font-size: 0.88rem;
  line-height: 1.75;
  color: #6b6b6b;
  max-width: 400px;
}

/* ── PALETTE TRANSITIONS for form fields ── */
.field-input, .field-select, .field-textarea {
  transition-property: background, color, border-color, box-shadow;
  transition-duration: 0.6s;
  transition-timing-function: var(--ease);
}

/* ── RESPONSIVE: Contact-specific ── */
@media (max-width: 960px) {
  .page-wrapper {
    grid-template-columns: 1fr;
    padding-top: var(--header-h);
  }
  .contact-intro {
    position: static;
    height: auto;
    border-right: none;
    border-bottom: 1px solid var(--color-rule);
    padding: 3.5rem var(--space-md) 2.5rem;
  }
  .contact-email-fallback { padding-top: 2rem; }
  .contact-form-col { padding: 3.5rem var(--space-md) 5rem; }

  /* Hide left intro when form is successfully submitted (mobile only) */
  body.form-submitted .contact-intro {
    display: none;
  }
}

@media (max-width: 768px) {
  .form-row {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .form-submit-row {
    flex-direction: column;
    align-items: flex-start;
  }
  .btn-submit {
    width: 100%;
    text-align: center;
  }
}

/* Reduced motion: instantly reveal Contact intro elements */
@media (prefers-reduced-motion: reduce) {
  .contact-eyebrow,
  .contact-sub,
  .contact-response-note,
  .contact-email-fallback {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ═══════════════════════════════════════════════════════════════════════
   SERVICES PAGE (also used by Work page for shared elements)
   ═══════════════════════════════════════════════════════════════════════ */

/* ── PAGE HEADER (shared across Services, Work, About) ── */
.page-header {
  padding: calc(var(--header-h) + 4rem) var(--space-lg) 3.5rem;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}
.page-eyebrow {
  font-size: 0.62rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--color-muted);
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp 0.7s var(--ease-out) 0.1s forwards;
}
.page-headline {
  font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
  font-size: clamp(3.2rem, 6.5vw, 6rem);
  font-weight: 400;
  line-height: 0.88;
  letter-spacing: -0.02em;
  overflow: hidden;
}
.page-headline .headline-line:nth-of-type(1) .headline-line-inner { animation-delay: 0.15s; }
.page-headline .headline-line:nth-of-type(2) .headline-line-inner { animation-delay: 0.3s; }
.page-headline .headline-line-inner {
  animation: lineReveal 0.9s var(--ease-expo) forwards;
}
.page-sub {
  margin-top: 2rem;
  font-size: 0.9rem;
  line-height: 1.8;
  color: #6b6b6b;
  max-width: 580px;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease-out) 0.45s forwards;
}

/* ── DISCIPLINE TABS (sticky scroll-spy) ── */
.discipline-nav {
  position: sticky;
  top: var(--header-h);
  z-index: 90;
  background: rgba(250, 250, 249, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-rule);
  border-top: 1px solid var(--color-rule);
}
body[data-palette="veil"] .discipline-nav { background: rgba(238, 240, 245, 0.97); }
body[data-palette="noir"] .discipline-nav { background: rgba(12, 11, 10, 0.97); }

.discipline-nav-inner {
  display: flex;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
  overflow-x: auto;
  scrollbar-width: none;
}
.discipline-nav-inner::-webkit-scrollbar { display: none; }

.discipline-tab {
  flex-shrink: 0;
  font-family: 'Josefin Sans', sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 1rem 0;
  margin-right: 2.5rem;
  color: var(--color-muted);
  border: none;
  background: transparent;
  position: relative;
  transition: color var(--duration) var(--ease);
}
.discipline-tab::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--color-ink);
  transition: width 0.4s var(--ease-out);
}
.discipline-tab:hover,
.discipline-tab.active { color: var(--color-ink); }
.discipline-tab.active::after,
.discipline-tab:hover::after { width: 100%; }

/* ── DISCIPLINE SECTIONS ── */
.disciplines-wrapper {
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}
.discipline-section {
  padding: 5rem var(--space-lg) 6rem;
  border-bottom: 1px solid var(--color-rule);
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.discipline-section:last-of-type { border-bottom: none; }
.discipline-section.revealed {
  opacity: 1;
  transform: translateY(0);
}
.discipline-header {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 2rem;
  align-items: start;
  margin-bottom: 4rem;
}
.discipline-number {
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 2.5px;
  color: var(--color-muted);
  padding-top: 0.7rem;
}
.discipline-title {
  font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
  font-size: clamp(2.4rem, 4.5vw, 4.2rem);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}
.discipline-desc {
  font-size: 0.88rem;
  line-height: 1.8;
  color: #6b6b6b;
  max-width: 560px;
  margin-bottom: 1.5rem;
}
.discipline-formats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.format-tag {
  font-size: 0.6rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  border: 1px solid var(--color-rule);
  padding: 3px 9px;
  color: var(--color-muted);
  transition: border-color 0.3s, color 0.3s;
}

/* ── PROOF GRID (case studies) ── */
.proof-label {
  font-size: 0.6rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--color-muted);
  margin-bottom: 1.5rem;
}
.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--color-rule);
  border: 1px solid var(--color-rule);
  margin-bottom: 3rem;
}
.proof-card {
  background: var(--color-paper);
  padding: 1.75rem 1.5rem 2.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  position: relative;
  overflow: hidden;
  transition: background 0.4s var(--ease);
}
body[data-palette="veil"] .proof-card { background: #eef0f5; }
body[data-palette="veil"] .proof-card:hover { background: #e5e8f0; }
body[data-palette="noir"] .proof-card { background: #0c0b0a; }
body[data-palette="noir"] .proof-card:hover { background: #161411; }

.proof-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.025) 0px, rgba(0, 0, 0, 0.025) 1px, transparent 1px, transparent 12px),
    repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.025) 0px, rgba(0, 0, 0, 0.025) 1px, transparent 1px, transparent 12px);
  opacity: 0;
  transition: opacity 0.5s var(--ease);
  pointer-events: none;
}
.proof-card:hover { background: #f3f3f1; }
.proof-card:hover::before { opacity: 1; }

.proof-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: rgba(10, 10, 10, 0.04);
}
.proof-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out);
}
.proof-card:hover .proof-img img { transform: scale(1.04); }

.proof-meta {
  font-size: 0.62rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.8px;
  color: var(--color-muted);
}
.proof-client {
  font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
  font-size: 1.15rem;
  font-weight: 400;
  line-height: 1.1;
}
.proof-brief {
  font-size: 0.74rem;
  line-height: 1.65;
  color: #6b6b6b;
  flex: 1;
}
.proof-contribution {
  font-size: 0.74rem;
  line-height: 1.65;
  color: #333;
  border-left: 1.5px solid var(--color-rule);
  padding-left: 0.8rem;
}

/* ── DISCIPLINE CTA ── */
.discipline-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 2rem;
  border: 1px solid var(--color-rule);
  flex-wrap: wrap;
}
.discipline-cta-copy {
  font-size: 0.86rem;
  line-height: 1.65;
  color: #6b6b6b;
  max-width: 480px;
}
.discipline-cta-copy strong {
  display: block;
  font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--color-ink);
  margin-bottom: 0.35rem;
}
.btn-cta {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--color-paper);
  background: var(--color-ink);
  border: 1px solid var(--color-ink);
  padding: 0.9rem 2.2rem;
  display: inline-block;
  white-space: nowrap;
  transition: background var(--duration) var(--ease),
              color var(--duration) var(--ease);
}
.btn-cta:hover {
  background: transparent;
  color: var(--color-ink);
}
.btn-cta:focus-visible {
  outline: 2px solid var(--color-ink);
  outline-offset: 3px;
}

/* ── RESPONSIVE: Services-specific ── */
@media (max-width: 960px) {
  .proof-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .page-header {
    padding: calc(var(--header-h) + 2.5rem) var(--space-md) 2.5rem;
  }
  .discipline-nav-inner { padding: 0 var(--space-md); }
  .discipline-section { padding: 3.5rem var(--space-md) 4rem; }
  .discipline-header { grid-template-columns: 1fr; gap: 0.5rem; }
  .proof-grid { grid-template-columns: 1fr; }
  .discipline-cta { flex-direction: column; align-items: flex-start; }
  .btn-cta { width: 100%; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  .page-eyebrow,
  .page-sub {
    opacity: 1 !important;
    transform: none !important;
  }
  .discipline-section {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ═══════════════════════════════════════════════════════════════════════
   WORK PAGE
   ═══════════════════════════════════════════════════════════════════════ */

.work-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
  padding-top: 4rem;
}

.project-index {
  position: sticky;
  top: calc(var(--header-h) + 2rem);
  height: fit-content;
  padding: 0 var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.project-index-label {
  font-size: 0.58rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--color-muted);
  margin-bottom: 1rem;
}
.project-index-link {
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.8px;
  color: var(--color-muted);
  padding: 0.45rem 0;
  position: relative;
  transition: color var(--duration) var(--ease);
  border-left: 1.5px solid var(--color-rule);
  padding-left: 0.9rem;
}
.project-index-link::before {
  content: '';
  position: absolute;
  left: -1.5px;
  top: 0;
  bottom: 0;
  width: 1.5px;
  background: var(--color-ink);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.4s var(--ease-out);
}
.project-index-link:hover,
.project-index-link.active { color: var(--color-ink); }
.project-index-link.active::before { transform: scaleY(1); }

.projects-list {
  border-left: 1px solid var(--color-rule);
  padding-right: var(--space-lg);
}

.project-section {
  padding: 5rem var(--space-lg) 6rem;
  border-bottom: 1px solid var(--color-rule);
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.project-section:last-of-type { border-bottom: none; }
.project-section.revealed {
  opacity: 1;
  transform: translateY(0);
}

.project-header {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: start;
  margin-bottom: 3rem;
}
.project-counter {
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 2.5px;
  color: var(--color-muted);
  margin-bottom: 0.75rem;
}
.project-title {
  font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
  font-size: clamp(2.8rem, 5vw, 5rem);
  font-weight: 400;
  line-height: 0.88;
  letter-spacing: -0.02em;
}
.project-meta-stack {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: flex-end;
  padding-top: 0.5rem;
}
.project-tag {
  font-size: 0.6rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.8px;
  color: var(--color-muted);
  border: 1px solid var(--color-rule);
  padding: 3px 9px;
  white-space: nowrap;
}
.project-year {
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 2px;
  color: var(--color-muted);
}

.project-hero {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: rgba(10, 10, 10, 0.04);
  overflow: hidden;
  margin-bottom: 3rem;
  position: relative;
}
.project-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease-out);
}
.project-section:hover .project-hero img { transform: scale(1.02); }

.project-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-bottom: 3rem;
}
.project-brief-label,
.project-role-label {
  font-size: 0.58rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--color-muted);
  margin-bottom: 0.9rem;
}
.project-brief-text {
  font-size: 0.9rem;
  line-height: 1.85;
  color: #6b6b6b;
}
.project-role-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.project-role-list li {
  font-size: 0.8rem;
  line-height: 1.6;
  color: var(--color-ink);
  padding-left: 1rem;
  position: relative;
}
.project-role-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--color-muted);
}

.project-images {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--color-rule);
  border: 1px solid var(--color-rule);
  margin-bottom: 3rem;
}
.project-img-cell {
  aspect-ratio: 3 / 4;
  background: rgba(10, 10, 10, 0.04);
  overflow: hidden;
  position: relative;
}
.project-img-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out);
}
.project-img-cell:hover img { transform: scale(1.04); }

.project-credits {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-rule);
  margin-bottom: 3rem;
}
.credit-role {
  font-size: 0.58rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-muted);
  margin-bottom: 0.25rem;
}
.credit-name {
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--color-ink);
}

.project-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.75rem 2rem;
  border: 1px solid var(--color-rule);
  flex-wrap: wrap;
}
.project-cta-copy {
  font-size: 0.82rem;
  line-height: 1.65;
  color: #6b6b6b;
}
.project-cta-copy strong {
  display: block;
  font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--color-ink);
  margin-bottom: 0.2rem;
}

body[data-palette="noir"] .project-hero,
body[data-palette="noir"] .project-img-cell {
  background: rgba(240, 237, 232, 0.04);
}

@media (max-width: 1024px) {
  .work-layout { grid-template-columns: 1fr; }
  .project-index { display: none; }
  .projects-list { border-left: none; padding-right: 0; }
}
@media (max-width: 768px) {
  .project-section { padding: 3.5rem var(--space-md) 4.5rem; }
  .project-header { grid-template-columns: 1fr; }
  .project-meta-stack { align-items: flex-start; flex-direction: row; flex-wrap: wrap; }
  .project-content { grid-template-columns: 1fr; gap: 2.5rem; }
  .project-images { grid-template-columns: 1fr; }
  .project-cta { flex-direction: column; align-items: flex-start; }
  .project-cta .btn-cta { width: 100%; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  .project-section { opacity: 1 !important; transform: none !important; }
  .project-section:hover .project-hero img,
  .project-img-cell:hover img { transform: none; }
}

/* ═══════════════════════════════════════════════════════════════════════
   ABOUT PAGE
   (uses unique class names to avoid conflicts with homepage's .content-section)
   ═══════════════════════════════════════════════════════════════════════ */

.page-intro {
  padding: calc(var(--header-h) + 4.5rem) var(--space-lg) 4.5rem;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  border-bottom: 1px solid var(--color-rule);
}
.page-intro-right {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.intro-sculpture {
  width: 72%;
  max-width: 320px;
  mix-blend-mode: luminosity;
  filter: contrast(1.05) brightness(1.04);
  transition: filter 0.6s var(--ease-out);
  opacity: 0;
  animation: fadeUp 1s var(--ease-out) 0.6s forwards;
}
.page-intro-right:hover .intro-sculpture { filter: contrast(1.1) brightness(1.08); }

.intro-headline {
  font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
  font-size: clamp(2.4rem, 4.5vw, 4.2rem);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: -0.02em;
  margin-bottom: 2rem;
  overflow: hidden;
}
.intro-headline .headline-line:nth-of-type(1) .headline-line-inner { animation-delay: 0.1s; }
.intro-headline .headline-line:nth-of-type(2) .headline-line-inner { animation-delay: 0.25s; }
.intro-headline .headline-line:nth-of-type(3) .headline-line-inner { animation-delay: 0.4s; }
.intro-headline .headline-line-inner {
  animation: lineReveal 0.9s var(--ease-expo) forwards;
}

.intro-body {
  font-size: 0.9rem;
  line-height: 1.85;
  color: #6b6b6b;
  max-width: 640px;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease-out) 0.55s forwards;
}
.intro-body p + p { margin-top: 1.25rem; }

.about-section {
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
  padding: 5rem var(--space-lg);
  border-bottom: 1px solid var(--color-rule);
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.about-section:last-of-type { border-bottom: none; }
.about-section.revealed {
  opacity: 1;
  transform: translateY(0);
}

.section-eyebrow {
  font-size: 0.62rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--color-muted);
  margin-bottom: 2.5rem;
}

/* ── FOUNDERS ── */
.founders-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.founder-card {
  background: var(--color-paper);
  padding: 2.5rem 2rem;
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 2.5rem;
  align-items: start;
  position: relative;
  overflow: hidden;
  transition: background 0.4s var(--ease);
}
.founder-card + .founder-card { border-top: 1px solid var(--color-rule); }
.founder-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.025) 0px, rgba(0, 0, 0, 0.025) 1px, transparent 1px, transparent 12px),
    repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.025) 0px, rgba(0, 0, 0, 0.025) 1px, transparent 1px, transparent 12px);
  opacity: 0;
  transition: opacity 0.5s var(--ease);
  pointer-events: none;
}
.founder-card:hover::before { opacity: 1; }
body[data-palette="veil"] .founder-card { background: #eef0f5; }
body[data-palette="noir"] .founder-card { background: #0c0b0a; }

.founder-portrait {
  width: 200px;
  height: 260px;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 4px;
  background: rgba(10, 10, 10, 0.04);
}
.founder-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.6s var(--ease-out);
}
.founder-card:hover .founder-portrait img { transform: scale(1.04); }

.founder-text {
  display: flex;
  flex-direction: column;
}
.founder-name {
  font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
  font-size: clamp(1.6rem, 2.4vw, 2rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.01em;
  margin-bottom: 0.35rem;
}
.founder-title {
  font-size: 0.62rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-muted);
  margin-bottom: 1.25rem;
}
.founder-bio {
  font-size: 0.84rem;
  line-height: 1.8;
  color: #6b6b6b;
}
.founder-bio p + p { margin-top: 0.9rem; }

.credentials-block {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--color-rule);
}
.credentials-label {
  font-size: 0.55rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-muted);
  margin-bottom: 0.6rem;
}
.credentials-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 0.75rem;
  padding: 0;
}
.credentials-list li {
  list-style: none;
  font-size: 0.68rem;
  color: var(--color-muted);
}
.credentials-list li::before {
  content: '·';
  margin-right: 0.35rem;
  color: rgba(10, 10, 10, 0.2);
}

/* ── APPROACH ── */
.approach-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3.5rem;
  margin-top: 3rem;
}
.approach-number {
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 2.5px;
  color: var(--color-muted);
  margin-bottom: 0.75rem;
}
.approach-title {
  font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
  font-size: clamp(1.1rem, 1.6vw, 1.4rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 1rem;
}
.approach-body {
  font-size: 0.8rem;
  line-height: 1.8;
  color: #6b6b6b;
}

/* ── ABOUT CTA ── */
.about-cta {
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
  padding: 0 var(--space-lg) 5rem;
}
.about-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 2rem;
  border: 1px solid var(--color-rule);
  flex-wrap: wrap;
}
.about-cta-copy {
  font-size: 0.88rem;
  line-height: 1.65;
  color: #6b6b6b;
}
.about-cta-copy strong {
  display: block;
  font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--color-ink);
  margin-bottom: 0.25rem;
}

/* ── ABOUT TYPE THEMES ── */
/* ── ABOUT RESPONSIVE ── */
@media (max-width: 1024px) {
  .page-intro {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .page-intro-right { display: none; }
  .approach-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 768px) {
  .page-intro {
    padding: calc(var(--header-h) + 2.5rem) var(--space-md) 3rem;
  }
  .about-section { padding: 3.5rem var(--space-md); }
  .about-cta { padding: 0 var(--space-md) 4rem; }
  .founder-card { grid-template-columns: 1fr; }
  .founder-portrait {
  width: 160px;
  height: 220px;
  margin: 0 auto;
}
  .approach-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-cta-inner { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  .intro-body,
  .intro-sculpture { opacity: 1 !important; transform: none !important; }
  .about-section { opacity: 1 !important; transform: none !important; }
}

/* ═══════════════════════════════════════════════════════════════════════
   PRIVACY PAGE
   ═══════════════════════════════════════════════════════════════════════ */

.privacy-content {
  max-width: 760px;
  margin: 0 auto;
  width: 100%;
  padding: calc(var(--header-h) + 4rem) var(--space-lg) 5rem;
}
.privacy-content .page-eyebrow { margin-bottom: 1.5rem; }
.page-title {
  font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}
.page-date {
  font-size: 0.68rem;
  color: var(--color-muted);
  margin-bottom: 3.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--color-rule);
}
.policy-section { margin-bottom: 2.5rem; }
.policy-section h2 {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-ink);
  margin-bottom: 0.9rem;
}
.policy-section p {
  font-size: 0.88rem;
  line-height: 1.85;
  color: #6b6b6b;
}
.policy-section p + p { margin-top: 0.9rem; }
.policy-section a {
  color: var(--color-ink);
  border-bottom: 1px solid var(--color-rule);
  transition: border-color var(--duration) var(--ease);
}
.policy-section a:hover { border-color: var(--color-ink); }
.policy-divider {
  height: 1px;
  background: var(--color-rule);
  margin: 2.5rem 0;
}
.back-link {
  font-size: 0.68rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-muted);
  transition: color var(--duration) var(--ease);
}
.back-link:hover { color: var(--color-ink); }
.back-link::before { content: '← '; }

@media (max-width: 768px) {
  .privacy-content {
    padding-left: var(--space-md);
    padding-right: var(--space-md);
  }
}
/* ═══════════════════════════════════════════════════════════════════════
   FOCUS-VISIBLE — keyboard navigation rings
   ═══════════════════════════════════════════════════════════════════════ */

/* Universal default for interactive elements that don't set their own */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--color-ink);
  outline-offset: 3px;
  border-radius: 1px;
}

/* Mode toggle (the round dot in header) */
#modeToggle:focus-visible {
  outline: 2px solid var(--color-ink);
  outline-offset: 4px;
}

/* Burger menu */
.burger-menu:focus-visible {
  outline: 2px solid var(--color-ink);
  outline-offset: 4px;
}

/* Form fields */
.field-input:focus-visible,
.field-select:focus-visible,
.field-textarea:focus-visible {
  outline: 2px solid var(--color-ink);
  outline-offset: 1px;
}

/* Discipline tabs (Services) */
.discipline-tab:focus-visible {
  outline: 2px solid var(--color-ink);
  outline-offset: 4px;
}

/* Project index links (Work) */
.project-index-link:focus-visible {
  outline: 2px solid var(--color-ink);
  outline-offset: 4px;
  color: var(--color-ink);
}

/* Project sections (Work) — when interactive via tab */
.project-section:focus-visible {
  outline: 2px solid var(--color-ink);
  outline-offset: -4px;
}

/* Proof cards (Services case studies) */
.proof-card:focus-visible,
.proof-card:focus-within {
  outline: 2px solid var(--color-ink);
  outline-offset: -4px;
}

/* Founder cards (About) */
.founder-card:focus-visible,
.founder-card:focus-within {
  outline: 2px solid var(--color-ink);
  outline-offset: -4px;
}

/* CTA buttons */
.btn-cta:focus-visible {
  outline: 2px solid var(--color-ink);
  outline-offset: 3px;
}

/* Skip link is already visible on focus, but reinforce */
.skip-link:focus-visible {
  outline: 2px solid var(--color-paper);
  outline-offset: 2px;
}

/* Consent banner buttons */
.consent-btn:focus-visible {
  outline: 2px solid var(--color-ink);
  outline-offset: 3px;
}

/* Project image cells (clickable thumbnails) */
.project-img-cell:focus-visible,
.proof-img:focus-visible {
  outline: 2px solid var(--color-ink);
  outline-offset: -2px;
}

/* Remove default focus ring only when we provide focus-visible alternative */
a:focus:not(:focus-visible),
button:focus:not(:focus-visible),
input:focus:not(:focus-visible),
select:focus:not(:focus-visible),
textarea:focus:not(:focus-visible) {
  outline: none;
}

.h-captcha {
  margin-top: 1rem;
  margin-bottom: 1rem;
}
.h-captcha.hcaptcha-error {
  outline: 2px solid var(--color-error);
  outline-offset: 4px;
  border-radius: 2px;
}

/* ── FORCED-COLORS (Windows High Contrast) ── */
@media (forced-colors: active) {
  #cursor-dot, #cursor-ring { display: none; }
  body { cursor: auto; }
  a, button { cursor: auto; }
}