/* =========================================================================
   Dutch Mike — portfolio
   Editorial monochrome system. Type does the heavy lifting.
   ========================================================================= */

@import url('https://fonts.googleapis.com/css2?family=Geist:wght@300;400;500;600;700&family=Geist+Mono:wght@400;500&display=swap');

:root {
  --bg:        #ffffff;
  --bg-alt:    #ffffff;
  --bg-deep:   #0a0a0a;
  --fg:        #0a0a0a;
  --fg-2:      #1f1f1d;
  --muted:     #6b6b66;
  --muted-2:   #97968f;
  --line:      #e8e6e0;
  --line-2:    #d0cec8;
  --ink:       #0a0a0a;

  --sans: 'Geist', ui-sans-serif, system-ui, -apple-system, 'Helvetica Neue', sans-serif;
  --display: 'Inter', 'Geist', ui-sans-serif, system-ui, -apple-system, 'Helvetica Neue', sans-serif;
  --mono: 'Geist Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-2: cubic-bezier(0.65, 0, 0.35, 1);

  --gutter: clamp(20px, 4vw, 56px);
  --maxw: 1440px;
  --rule: 1px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  font-feature-settings: 'ss01', 'cv11';
  text-rendering: optimizeLegibility;
}

img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

/* -------------------------------------------------------------------------
   Type
   ------------------------------------------------------------------------- */
.display {
  font-family: var(--sans); font-weight: 500;
  font-size: clamp(48px, 7.4vw, 132px);
  letter-spacing: -0.035em; line-height: 0.92;
}
h1, .h1 {
  font-weight: 500; font-size: clamp(36px, 4.6vw, 72px);
  letter-spacing: -0.028em; line-height: 0.98; margin: 0;
}
h2, .h2 {
  font-weight: 500; font-size: clamp(28px, 3.2vw, 48px);
  letter-spacing: -0.022em; line-height: 1.05; margin: 0;
}
h3, .h3 {
  font-weight: 500; font-size: clamp(20px, 1.6vw, 24px);
  letter-spacing: -0.012em; line-height: 1.25; margin: 0;
}
.serif {
  font-family: var(--sans); font-style: italic; font-weight: 300;
  letter-spacing: -0.005em; color: var(--muted);
}
.cta .serif, .cs-title .serif, .page-header__title .serif,
.case-hero__title .serif, .cta__title .serif { color: var(--muted-2); }
em {
  font-style: italic; font-weight: 300;
  letter-spacing: -0.005em; color: var(--muted);
}
.cta em, .page-header__title em, .hero__headline em,
.h1 em, .h2 em, .case-hero__title em, .cta__title em { font-weight: 400; }
.mono { font-family: var(--mono); font-feature-settings: 'ss02'; }
.eyebrow {
  font-family: var(--mono); font-size: 12px;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted); font-weight: 400;
  display: inline-flex; align-items: center;
}
.lede {
  font-size: clamp(18px, 1.6vw, 24px); line-height: 1.45;
  letter-spacing: -0.012em; color: var(--fg-2);
  text-wrap: pretty; max-width: 56ch;
}
p { margin: 0 0 1em; text-wrap: pretty; }

.text-muted, .muted { color: var(--muted); }
.text-center { text-align: center; }
.small { font-size: 13px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0;
  margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0;
}

/* -------------------------------------------------------------------------
   Layout primitives
   ------------------------------------------------------------------------- */
.container {
  max-width: var(--maxw); margin: 0 auto;
  padding: 0 var(--gutter);
}
.section { padding: clamp(72px, 10vw, 140px) 0; position: relative; }
.section--tight { padding: clamp(48px, 6vw, 88px) 0; }
.section--alt { background: var(--bg-alt); }
.hr, .divider { border: 0; border-top: 1px solid var(--line); margin: 0; }

.grid-12 {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(16px, 1.6vw, 28px);
}

/* -------------------------------------------------------------------------
   Nav
   ------------------------------------------------------------------------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  padding: 14px 0 0;
  background: transparent;
  transition: padding 280ms var(--ease);
}
.nav.is-scrolled { padding-top: 10px; }
.nav__pad {
  max-width: var(--maxw); margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 40px);
  transition: opacity 320ms var(--ease), transform 320ms var(--ease);
}
.nav.is-hidden .nav__pad {
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
}
.nav__shell {
  display: grid;
  grid-template-columns: auto auto auto;
  align-items: center;
  gap: clamp(18px, 2.4vw, 36px);
  width: fit-content;
  margin: 0 auto;
  background: transparent;
  color: #0E0E0E;
  border-radius: 999px;
  padding: 8px 8px 8px clamp(18px, 2vw, 26px);
  border: 1px solid rgba(14, 14, 14, 0.10);
  transition: background 280ms var(--ease),
              border-color 280ms var(--ease),
              box-shadow 280ms var(--ease),
              backdrop-filter 280ms var(--ease);
}
.nav.is-scrolled .nav__shell {
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(14, 14, 14, 0.10);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  box-shadow: 0 14px 40px -24px rgba(14, 14, 14, 0.22);
}
/* Keep the main nav visible at all scroll positions — disable the collapse-to-float behavior */
.nav.is-hidden .nav__pad {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.nav-float { display: none !important; }
.nav__brand {
  display: inline-flex; align-items: center;
  justify-self: start;
}
.nav__logo {
  display: block;
  width: auto;
  height: 22px;
  filter: brightness(0);
}
.nav__links {
  display: flex;
  gap: clamp(4px, 0.6vw, 10px);
  align-items: center;
  justify-self: center;
}
.nav__links > a,
.nav__menu-trigger {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--mono); font-size: 13px;
  letter-spacing: 0.02em; color: rgba(14, 14, 14, 0.70);
  padding: 8px 16px;
  border-radius: 999px;
  background: transparent;
  transition: color 220ms var(--ease), background 220ms var(--ease);
  white-space: nowrap;
}
.nav__links > a:hover,
.nav__menu-trigger:hover,
.nav__menu:hover .nav__menu-trigger,
.nav__menu:focus-within .nav__menu-trigger,
.nav__menu.is-open .nav__menu-trigger,
.nav__links > a:focus-visible,
.nav__menu-trigger:focus-visible {
  color: #0E0E0E;
  background: rgba(14, 14, 14, 0.08);
}
.nav__links > a[aria-current="page"],
.nav__menu-trigger[aria-current="page"] {
  color: #0E0E0E;
  background: rgba(14, 14, 14, 0.10);
}
.nav__menu-caret {
  transition: transform 240ms var(--ease);
  opacity: 0.7;
}
.nav__menu:hover .nav__menu-caret,
.nav__menu:focus-within .nav__menu-caret,
.nav__menu.is-open .nav__menu-caret {
  transform: rotate(180deg);
  opacity: 1;
}

/* Mega-menu dropdown — Granola-style */
.nav__menu { position: relative; }
.nav__menu::after {
  /* Invisible bridge so the cursor can travel from trigger → panel without closing */
  content: '';
  position: absolute;
  left: 50%; top: 100%;
  transform: translateX(-50%);
  width: 100%; min-width: 220px; height: 18px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms var(--ease);
}
.nav__menu:hover::after,
.nav__menu:focus-within::after,
.nav__menu.is-open::after {
  pointer-events: auto;
  opacity: 1;
}
.nav__menu-panel {
  position: absolute;
  top: calc(100% + 18px);
  left: 50%;
  width: min(720px, calc(100vw - 48px));
  background: #FFFFFF;
  color: #0E0E0E;
  border-radius: 28px;
  padding: 18px;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 18px;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(-6px);
  transition: opacity 220ms var(--ease), transform 280ms var(--ease);
  border: 1px solid rgba(14, 14, 14, 0.06);
  box-shadow: 0 28px 70px -28px rgba(14, 14, 14, 0.35),
              0 6px 18px -10px rgba(14, 14, 14, 0.14);
  z-index: 60;
}
.nav__menu:hover .nav__menu-panel,
.nav__menu:focus-within .nav__menu-panel,
.nav__menu.is-open .nav__menu-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav__menu-list {
  display: flex; flex-direction: column; gap: 4px;
  padding: 4px;
}
.nav__menu-item {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 14px;
  padding: 12px;
  border-radius: 18px;
  align-items: center;
  color: #0E0E0E;
  border-left: 2px solid transparent;
  transition: background 200ms var(--ease), border-color 200ms var(--ease);
}
.nav__menu-item:hover,
.nav__menu-item:focus-visible {
  background: rgba(14, 14, 14, 0.05);
  border-left-color: #B7C95C;
  outline: none;
}
.nav__menu-thumb {
  width: 64px; height: 64px;
  border-radius: 12px;
  display: grid; place-items: center;
}
.nav__menu-thumb--ai {
  background: #B7C95C;
  color: #0E0E0E;
}
.nav__menu-thumb--video {
  background: #0E0E0E;
  color: #F0EAD6;
}
.nav__menu-body {
  display: flex; flex-direction: column; gap: 4px;
  min-width: 0;
}
.nav__menu-title {
  font-family: "Inter Tight", "Inter", system-ui, sans-serif;
  font-size: 15px; font-weight: 600;
  color: #0E0E0E;
  letter-spacing: -0.005em;
  line-height: 1.2;
}
.nav__menu-desc {
  font-size: 12.5px; line-height: 1.4;
  color: rgba(14, 14, 14, 0.62);
  letter-spacing: 0;
}
.nav__menu-feature {
  display: flex; flex-direction: column;
  background: transparent;
  padding: 8px 4px;
  gap: 6px;
  color: #0E0E0E;
}
.nav__menu-feature:focus-visible { outline: none; }
.nav__menu-feature:hover .nav__menu-feature-cta { transform: translateX(2px); }
.nav__menu-feature-media {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(14, 14, 14, 0.08);
  margin-bottom: 6px;
}
.nav__menu-feature-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.nav__menu-feature-meta {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(14, 14, 14, 0.55);
}
.nav__menu-feature-title {
  font-family: "Inter Tight", "Inter", system-ui, sans-serif;
  font-size: 14.5px;
  font-weight: 600;
  color: #0E0E0E;
  line-height: 1.3;
  letter-spacing: -0.005em;
}
.nav__menu-feature-cta {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: #0E0E0E;
  margin-top: 4px;
  display: inline-block;
  transition: transform 220ms var(--ease);
}

@media (max-width: 760px) {
  .nav__menu-panel {
    grid-template-columns: 1fr;
    width: min(420px, calc(100vw - 32px));
    left: 0;
  }
  .nav__menu-feature-media { aspect-ratio: 16 / 9; }
}

.nav__cta {
  display: inline-flex; align-items: center; gap: 10px;
  height: 44px; padding: 0 22px;
  border-radius: 999px;
  background: transparent; color: #0E0E0E;
  font-family: var(--mono); font-size: 12px;
  letter-spacing: 0.02em; white-space: nowrap;
  border: 1px solid rgba(14, 14, 14, 0.28);
  justify-self: end;
  transition: background 260ms var(--ease), color 260ms var(--ease),
              border-color 260ms var(--ease), transform 220ms var(--ease);
}
/* Filled-red state once the page is scrolled */
.nav.is-scrolled .nav__cta {
  background: #DC2626;
  color: #FFFFFF;
  border-color: #DC2626;
}
.nav.is-scrolled .nav__cta:hover,
.nav.is-scrolled .nav__cta:focus-visible {
  background: #B91C1C;
  border-color: #B91C1C;
  transform: translateY(-1px);
  outline: none;
}
/* At top (not scrolled) keep a subtle hover hint */
.nav__cta:hover,
.nav__cta:focus-visible {
  background: rgba(14, 14, 14, 0.06);
  outline: none;
}
.nav__cta svg { transition: transform 240ms var(--ease); }
.nav__cta:hover svg { transform: translateX(3px); }

@keyframes pulse {
  0% { transform: scale(0.6); opacity: 0.6; }
  100% { transform: scale(1.8); opacity: 0; }
}

@media (max-width: 960px) {
  .nav__shell { padding: 8px 8px 8px 20px; gap: 14px; }
  .nav__logo { height: 20px; }
  .nav__cta { height: 40px; padding: 0 16px; }
}
@media (max-width: 640px) {
  .nav { padding-top: 10px; }
  .nav__shell { padding: 8px 8px 8px 16px; gap: 8px; }
  .nav__links { gap: 4px; }
  .nav__links > a, .nav__menu-trigger { font-size: 12px; padding: 6px 12px; }
  .nav__logo { height: 18px; }
  .nav__cta { padding: 0 14px; font-size: 11px; gap: 6px; }
}


/* -------------------------------------------------------------------------
   Floating compact nav pill — appears on scroll
   ------------------------------------------------------------------------- */
.nav-float {
  position: fixed; top: 18px; left: 50%;
  transform: translateX(-50%) translateY(-18px);
  z-index: 60;
  display: flex; align-items: center; justify-content: space-between;
  gap: 28px;
  background: rgba(17, 17, 17, 0.96);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  color: #f6f5f1;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  height: 52px;
  padding: 0 8px 0 26px;
  min-width: min(420px, 90vw);
  box-shadow: 0 16px 40px -16px rgba(0, 0, 0, 0.45),
              0 2px 6px -2px rgba(0, 0, 0, 0.18);
  opacity: 0; pointer-events: none;
  transition: opacity 360ms var(--ease), transform 420ms cubic-bezier(0.16, 1, 0.3, 1);
}
.nav-float.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}
.nav-float__cta,
.nav-float__menu {
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: #f6f5f1;
  white-space: nowrap;
  transition: color 200ms var(--ease);
}
.nav-float__cta { padding: 6px 0; }
.nav-float__cta:hover { color: rgba(246, 245, 241, 0.7); }
.nav-float__logo {
  display: flex; align-items: center; justify-content: center;
}
.nav-float__logo img {
  height: 18px; width: auto; display: block;
  opacity: 0.92;
}
.nav-float__menu {
  display: inline-flex; align-items: center; gap: 10px;
  height: 38px; padding: 0 20px 0 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 999px;
  cursor: pointer;
  transition: background 200ms var(--ease), border-color 200ms var(--ease);
}
.nav-float__menu:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.20);
}
.nav-float__icon {
  display: inline-flex; flex-direction: column; gap: 4px;
}
.nav-float__icon span {
  display: block; width: 16px; height: 1px;
  background: currentColor;
  transition: transform 240ms var(--ease);
}

@media (max-width: 720px) {
  .nav-float {
    min-width: 0; left: 16px; right: 16px;
    width: auto; padding: 0 8px 0 18px;
    transform: translateY(-18px); top: 14px;
    gap: 12px;
  }
  .nav-float.is-visible { transform: translateY(0); }
  .nav-float__logo {
    position: absolute; left: 50%; top: 50%;
    transform: translate(-50%, -50%); pointer-events: auto;
  }
  .nav-float__cta { font-size: 10px; letter-spacing: 0.14em; }
  .nav-float__menu { padding: 0 12px; font-size: 10px; height: 36px; gap: 8px; }
}

/* Phones: hide the full shell, keep the float pill visible at all scroll positions */
@media (max-width: 560px) {
  .nav__shell { display: none; }
  .nav-float {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
}

/* -------------------------------------------------------------------------
   Full-screen overlay menu
   ------------------------------------------------------------------------- */
.nav-overlay {
  position: fixed; inset: 0; z-index: 80;
  display: flex; flex-direction: column;
  background: rgba(10, 10, 10, 0.96);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  opacity: 0; pointer-events: none;
  transition: opacity 380ms var(--ease);
}
.nav-overlay.is-open { opacity: 1; pointer-events: auto; }
.nav-overlay__panel {
  position: relative;
  display: flex; flex-direction: column;
  height: 100%; color: #f6f5f1;
  padding: 0 clamp(28px, 6vw, 88px);
  transform: translateY(20px);
  transition: transform 480ms cubic-bezier(0.16, 1, 0.3, 1);
}
.nav-overlay.is-open .nav-overlay__panel { transform: translateY(0); }
.nav-overlay__head {
  position: absolute;
  top: 26px; left: clamp(28px, 6vw, 88px); right: clamp(28px, 6vw, 88px);
  display: flex; align-items: center; justify-content: space-between;
  z-index: 2;
}
.nav-overlay__head-cta {
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(246, 245, 241, 0.55);
  transition: color 240ms var(--ease);
}
.nav-overlay__head-cta:hover { color: #f6f5f1; }
.nav-overlay__head-logo { display: inline-flex; align-items: center; }
.nav-overlay__head-logo img { height: 22px; width: auto; opacity: 0.92; display: block; }
.nav-overlay__close {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: #f6f5f1;
  background: transparent;
  border: 1px solid rgba(246, 245, 241, 0.45);
  border-radius: 999px;
  padding: 10px 18px;
  cursor: pointer;
  transition: border-color 240ms var(--ease), background 240ms var(--ease);
}
.nav-overlay__close:hover {
  border-color: #f6f5f1;
  background: rgba(255, 255, 255, 0.06);
}
.nav-overlay__links {
  flex: 1;
  display: flex; flex-direction: column; justify-content: center;
  padding: 96px 0 60px;
}
.nav-overlay__links a {
  display: block;
  font-family: var(--sans, 'Geist', system-ui, sans-serif);
  font-size: clamp(40px, 7vw, 96px);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.05;
  color: #f6f5f1;
  padding: 18px 0;
  border-bottom: 1px solid rgba(246, 245, 241, 0.08);
  transition: padding-left 320ms var(--ease), color 240ms var(--ease);
}
.nav-overlay__links a:first-child { border-top: 1px solid rgba(246, 245, 241, 0.08); }
.nav-overlay__links a:hover {
  padding-left: 18px;
  color: rgba(246, 245, 241, 0.72);
}
.nav-overlay__foot {
  position: absolute; bottom: 36px;
  left: clamp(28px, 6vw, 88px); right: clamp(28px, 6vw, 88px);
  display: flex; flex-direction: column; gap: 12px;
}
.nav-overlay__label {
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.32em; text-transform: uppercase;
  color: rgba(246, 245, 241, 0.55);
}
.nav-overlay__socials {
  display: flex; flex-wrap: wrap; gap: 20px;
}
.nav-overlay__socials a {
  font-family: var(--mono); font-size: 12px;
  letter-spacing: 0.04em;
  color: rgba(246, 245, 241, 0.7);
  transition: color 200ms var(--ease);
}
.nav-overlay__socials a:hover { color: #f6f5f1; }

@media (max-width: 720px) {
  .nav-overlay__head-cta { display: none; }
  .nav-overlay__head { top: 22px; }
  .nav-overlay__close { padding: 9px 14px; font-size: 10px; gap: 8px; }
  .nav-overlay__links { padding: 88px 0 220px; }
  .nav-overlay__links a { font-size: clamp(36px, 9vw, 60px); padding: 14px 0; }
  .nav-overlay__foot { bottom: 28px; }
}

body.has-nav-overlay-open { overflow: hidden; }
body.has-nav-overlay-open .nav-float { opacity: 0; pointer-events: none; }

.pulse {
  display: inline-block; width: 8px; height: 8px;
  border-radius: 999px; background: var(--fg);
  position: relative; margin-right: 8px;
}
.pulse::after {
  content: ''; position: absolute; inset: -3px;
  border-radius: 999px; border: 1px solid var(--fg);
  opacity: 0.4; animation: pulse 2.6s var(--ease) infinite;
}

/* -------------------------------------------------------------------------
   Buttons / Links
   ------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 14px 22px;
  background: var(--fg); color: var(--bg);
  border: 1px solid var(--fg); border-radius: 999px;
  font-family: var(--mono); font-size: 13px; letter-spacing: 0.02em;
  cursor: pointer;
  transition: transform 400ms var(--ease), background 240ms var(--ease), color 240ms var(--ease);
  position: relative; overflow: hidden;
}
.btn:hover { transform: translateY(-1px); }
.btn .arrow {
  transition: transform 400ms var(--ease);
  display: inline-block; width: 14px; height: 14px;
}
.btn:hover .arrow { transform: translate(3px, -3px); }
.btn--ghost { background: transparent; color: var(--fg); }
.btn--ghost:hover { background: var(--fg); color: var(--bg); }
.btn--link {
  background: transparent; color: var(--fg);
  border: 0; border-bottom: 1px solid var(--fg);
  border-radius: 0; padding: 4px 0; gap: 8px;
}
.btn--link:hover { transform: none; gap: 12px; }

.link-arrow {
  display: inline-flex; align-items: baseline; gap: 8px;
  font-family: var(--mono); font-size: 13px;
  letter-spacing: 0.02em;
  border-bottom: 1px solid var(--fg);
  padding-bottom: 2px;
  transition: gap 400ms var(--ease);
}
.link-arrow:hover { gap: 14px; }
.link-arrow .arrow {
  transition: transform 400ms var(--ease);
  display: inline-block;
}
.link-arrow:hover .arrow { transform: translate(2px, -2px); }

/* -------------------------------------------------------------------------
   Reveal animations (JS-driven)
   ------------------------------------------------------------------------- */
html.js [data-reveal],
html.js .reveal,
html.js .mask-reveal > span,
html.js [data-reveal-stagger] > *,
html.js .stagger > * {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 800ms var(--ease), transform 900ms var(--ease);
  transition-delay: var(--delay, 0ms);
}
html.js [data-reveal].is-in,
html.js .reveal.is-in,
html.js .mask-reveal.is-in > span,
html.js [data-reveal-stagger].is-in > *,
html.js .stagger.is-in > * {
  opacity: 1; transform: none;
}
html.js .reveal[data-delay="1"] { transition-delay: 120ms; }
html.js .reveal[data-delay="2"] { transition-delay: 240ms; }
html.js .reveal[data-delay="3"] { transition-delay: 360ms; }
html.js [data-reveal-stagger].is-in > *:nth-child(1),
html.js .stagger.is-in > *:nth-child(1) { transition-delay: 80ms; }
html.js [data-reveal-stagger].is-in > *:nth-child(2),
html.js .stagger.is-in > *:nth-child(2) { transition-delay: 160ms; }
html.js [data-reveal-stagger].is-in > *:nth-child(3),
html.js .stagger.is-in > *:nth-child(3) { transition-delay: 240ms; }
html.js [data-reveal-stagger].is-in > *:nth-child(4),
html.js .stagger.is-in > *:nth-child(4) { transition-delay: 320ms; }
html.js [data-reveal-stagger].is-in > *:nth-child(5),
html.js .stagger.is-in > *:nth-child(5) { transition-delay: 400ms; }
html.js [data-reveal-stagger].is-in > *:nth-child(n+6),
html.js .stagger.is-in > *:nth-child(n+6) { transition-delay: 480ms; }
.mask-reveal { display: inline; }

/* -------------------------------------------------------------------------
   Hero — homepage
   ------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: calc(100vh - 72px);
  padding: clamp(24px, 4vh, 56px) 0;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: var(--bg);
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(180deg, rgba(246,245,241,0.82) 0%, rgba(246,245,241,0.94) 100%),
    url('https://picsum.photos/seed/dutchmike-portfolio/2400/1400?grayscale&blur=2');
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.hero__container {
  position: relative;
  z-index: 1;
  width: 100%;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  margin-top: clamp(20px, 3vh, 36px);
}

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; gap: 28px; align-items: start; }
  .hero { min-height: auto; padding: 80px 0 64px; }
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.hero__eyebrow .pulse {
  position: relative;
  width: 8px; height: 8px;
  background: var(--fg);
  border-radius: 50%;
}
.hero__eyebrow .pulse::after {
  content: "";
  position: absolute; inset: -6px;
  border-radius: 50%;
  border: 1px solid var(--fg);
  opacity: 0;
  animation: pulse 2.8s var(--ease) infinite;
}

.hero__title {
  font-family: var(--sans);
  font-size: clamp(28px, 3.6vw, 48px);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.08;
  margin: 0 0 20px;
  max-width: 18ch;
  color: var(--fg);
}

.hero__sub {
  font-size: clamp(15px, 1.15vw, 17px);
  color: var(--fg-2);
  max-width: 48ch;
  line-height: 1.5;
  margin: 0 0 28px;
}

.hero__meta {
  border-top: 1px solid var(--line);
  padding-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
}

.hero__meta dt {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: var(--mono);
  margin-bottom: 2px;
}
.hero__meta dd { margin: 0; color: var(--fg-2); font-size: 14px; }

/* Hero signature — terminal window */
.hero__signature {
  border: 1px solid var(--line);
  background: #ffffff;
  border-radius: 12px;
  font-family: var(--mono);
  font-size: 14px;
  line-height: 1.75;
  color: var(--fg-2);
  position: relative;
  overflow: hidden;
  box-shadow: 0 30px 60px -28px rgba(0,0,0,0.22),
              0 8px 20px -12px rgba(0,0,0,0.08);
  max-width: 540px;
  margin-left: auto;
}

@media (max-width: 900px) { .hero__signature { margin: 0; max-width: 100%; } }

.sig__chrome {
  height: 36px;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 14px;
}
.sig__chrome span {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--line-2);
}

.hero__signature .sig__body {
  padding: 20px 22px;
  min-height: 96px;
}

.sig__line { display: block; }
.sig__line .label { color: var(--muted-2); margin-right: 4px; }
.sig__cursor {
  display: inline-block;
  width: 8px; height: 1em;
  background: var(--fg);
  margin-left: 2px;
  vertical-align: -2px;
  animation: blink 1s steps(1) infinite;
}

@keyframes blink { 50% { opacity: 0; } }

/* -------------------------------------------------------------------------
   Marquee strip
   ------------------------------------------------------------------------- */
.marquee {
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  overflow: hidden; padding: 22px 0;
  font-family: var(--mono); font-size: 13px;
  letter-spacing: 0.04em; color: var(--muted);
  background: var(--bg);
}
.marquee__track {
  display: flex; gap: 64px; white-space: nowrap;
  animation: marquee 60s linear infinite;
}
.marquee__track > span {
  display: inline-flex; align-items: center; gap: 64px;
}
.marquee__track > span::after { content: '◦'; color: var(--line-2); }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* -------------------------------------------------------------------------
   Capability tiles
   ------------------------------------------------------------------------- */
.tiles, .cap-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 0; border-top: 1px solid var(--line);
}
@media (max-width: 720px) {
  .tiles, .cap-grid { grid-template-columns: 1fr; }
}
.tile, .cap {
  padding: clamp(28px, 3vw, 44px);
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  position: relative;
  transition: background 400ms var(--ease);
}
.tile:nth-child(2n), .cap:nth-child(2n) { border-right: none; }
@media (max-width: 720px) {
  .tile, .cap { border-right: none; }
}
.tile:hover, .cap:hover { background: var(--bg-alt); }
.tile__id, .cap__num {
  font-family: var(--mono); font-size: 12px;
  color: var(--muted); letter-spacing: 0.04em;
  margin-bottom: 24px; display: block;
}
.tile__title, .cap__title {
  font-size: clamp(22px, 2vw, 28px); font-weight: 500;
  letter-spacing: -0.018em; margin: 0 0 14px; line-height: 1.15;
}
.tile__desc, .cap__desc {
  color: var(--muted); font-size: 15px; line-height: 1.55;
  max-width: 44ch;
}
.tile__example, .cap__demo {
  margin-top: 24px; padding-top: 18px;
  border-top: 1px dashed var(--line);
  font-family: var(--mono); font-size: 12px;
  color: var(--fg-2); line-height: 1.55;
}
.tile__example .label, .cap__demo-label {
  color: var(--muted); display: block; margin-bottom: 6px;
  letter-spacing: 0.04em; text-transform: uppercase; font-size: 10px;
}

/* -------------------------------------------------------------------------
   Featured work — row list (homepage)
   ------------------------------------------------------------------------- */
.work-list { display: flex; flex-direction: column; }
.work-row {
  display: grid;
  grid-template-columns: 80px 1fr 1.3fr 180px 60px;
  align-items: center;
  gap: clamp(16px, 2vw, 32px);
  padding: 28px 0;
  border-top: 1px solid var(--line);
  position: relative;
  transition: padding 500ms var(--ease);
  cursor: pointer;
}
.work-row:last-child { border-bottom: 1px solid var(--line); }
.work-row:hover { padding-left: 16px; padding-right: 16px; }
.work-row__num { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.work-row__title {
  font-size: clamp(22px, 2.4vw, 34px); font-weight: 500;
  letter-spacing: -0.02em; line-height: 1.1;
}
.work-row__title .serif, .work-row__title em { font-weight: 400; }
.work-row__desc {
  color: var(--muted); font-size: 15px;
  line-height: 1.5; max-width: 52ch;
}
.work-row__tag {
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--fg-2); justify-self: start;
  padding: 4px 10px; border: 1px solid var(--line-2);
  border-radius: 999px;
}
.work-row__arrow {
  width: 44px; height: 44px; border-radius: 999px;
  border: 1px solid var(--line-2);
  display: flex; align-items: center; justify-content: center;
  transition: background 360ms var(--ease), color 360ms var(--ease),
              border-color 360ms var(--ease), transform 500ms var(--ease);
  justify-self: end;
}
.work-row:hover .work-row__arrow {
  background: var(--fg); color: var(--bg); border-color: var(--fg);
}
.work-row__arrow svg { transition: transform 500ms var(--ease); }
.work-row:hover .work-row__arrow svg { transform: translate(2px, -2px); }

.work-row__thumb {
  position: fixed; pointer-events: none;
  width: 280px; aspect-ratio: 4/3;
  border: 1px solid var(--line-2); border-radius: 8px; overflow: hidden;
  opacity: 0; transform: translate(-50%, -50%) scale(0.92);
  transition: opacity 400ms var(--ease), transform 600ms var(--ease);
  z-index: 30; background: var(--bg-alt);
}
.work-row__thumb.is-visible {
  opacity: 1; transform: translate(-50%, -50%) scale(1);
}
.work-row__thumb img,
.work-row__thumb svg {
  width: 100%; height: 100%; object-fit: cover;
}

@media (max-width: 880px) {
  .work-row { grid-template-columns: 1fr; gap: 8px; padding: 24px 0; }
  .work-row__arrow { display: none; }
  .work-row__tag { justify-self: start; }
}

/* -------------------------------------------------------------------------
   Featured work — staggered card grid (homepage, Cuberto-style)
   ------------------------------------------------------------------------- */
.work-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: clamp(32px, 5vw, 80px);
  row-gap: clamp(80px, 10vw, 160px);
  margin-top: 16px;
}
.work-grid > .work-card:nth-child(even) {
  margin-top: clamp(60px, 9vw, 140px);
}
.work-card {
  display: block;
  text-decoration: none;
  color: inherit;
}
.work-card__media {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  overflow: hidden;
  background: #f3f1ea;
}
.work-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 900ms var(--ease);
}
.work-card:hover .work-card__media img { transform: scale(1.04); }
.work-card__cta {
  position: absolute;
  top: var(--cy, 50%);
  left: var(--cx, 50%);
  width: 92px; height: 92px;
  border-radius: 999px;
  background: #ffffff;
  color: var(--fg);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.85);
  transition: opacity 320ms var(--ease),
              transform 520ms var(--ease),
              top 360ms cubic-bezier(0.2, 0.7, 0.2, 1),
              left 360ms cubic-bezier(0.2, 0.7, 0.2, 1);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
  pointer-events: none;
  will-change: top, left, opacity, transform;
}
.work-card:hover .work-card__cta {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}
.work-card__meta { margin-top: 22px; }
.work-card__num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-bottom: 10px;
}
.work-card__title {
  font-size: clamp(20px, 1.7vw, 26px);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.35;
  color: var(--fg);
  margin: 0;
}
.work-card__title strong { font-weight: 600; }

@media (max-width: 760px) {
  .work-grid {
    grid-template-columns: 1fr;
    row-gap: 48px;
  }
  .work-grid > .work-card:nth-child(even) { margin-top: 0; }
  .work-card__media { aspect-ratio: 16 / 9; }
}

/* -------------------------------------------------------------------------
   About strip on home
   ------------------------------------------------------------------------- */
.about-strip {
  display: grid; grid-template-columns: 1fr 1.4fr;
  gap: clamp(40px, 6vw, 96px); align-items: start;
}
@media (max-width: 880px) {
  .about-strip { grid-template-columns: 1fr; }
}
.about-strip__quote {
  font-size: clamp(28px, 3.4vw, 48px);
  font-weight: 500; letter-spacing: -0.022em;
  line-height: 1.1; text-wrap: balance;
}
.about-strip__quote .serif, .about-strip__quote em { font-weight: 400; }
.about-strip__meta {
  font-family: var(--mono); font-size: 13px;
  color: var(--muted); letter-spacing: 0.04em;
}
.portrait {
  aspect-ratio: 4 / 5;
  background: var(--bg-alt);
  border-radius: 8px;
  overflow: hidden; position: relative;
  border: 1px solid var(--line);
}
.portrait__placeholder {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-size: 11px;
  color: var(--muted); letter-spacing: 0.06em;
  text-transform: uppercase;
}
.plate__caption {
  display: flex; justify-content: space-between; align-items: baseline;
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--muted); margin-top: 12px;
}
.plate__caption strong { color: var(--fg); font-weight: 500; }

/* -------------------------------------------------------------------------
   CTA blocks
   ------------------------------------------------------------------------- */
.cta {
  background: var(--bg-deep); color: var(--bg);
  padding: clamp(80px, 10vw, 140px) 0;
  position: relative; overflow: hidden;
}
.cta .eyebrow { color: var(--muted-2); }
.cta__title {
  font-size: clamp(40px, 6vw, 96px); font-weight: 500;
  letter-spacing: -0.03em; line-height: 0.98;
  max-width: 16ch; margin: 24px 0 40px;
}
.cta__title .serif, .cta__title em { color: var(--muted-2); font-weight: 400; }
.cta__row { display: flex; flex-wrap: wrap; gap: 16px; }
.cta .btn { background: var(--bg); color: var(--fg); border-color: var(--bg); }
.cta .btn--ghost { background: transparent; color: var(--bg); border-color: var(--bg); }
.cta .btn--ghost:hover { background: var(--bg); color: var(--fg); }

.cta-strip {
  display: grid; grid-template-columns: 1fr auto;
  gap: 32px; align-items: center;
  padding: clamp(32px, 4vw, 48px) 0;
  border-top: 1px solid var(--fg);
  border-bottom: 1px solid var(--fg);
}
@media (max-width: 720px) {
  .cta-strip { grid-template-columns: 1fr; }
}
.cta-strip__title {
  font-size: clamp(28px, 3.4vw, 44px); font-weight: 500;
  letter-spacing: -0.022em; line-height: 1.05; margin: 0;
}
.cta-strip__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* -------------------------------------------------------------------------
   Footer
   ------------------------------------------------------------------------- */
.footer {
  padding: clamp(48px, 6vw, 80px) 0 32px;
  border-top: 1px solid var(--line);
}
.footer__grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: clamp(24px, 3vw, 48px);
  margin-bottom: clamp(40px, 6vw, 80px);
}
@media (max-width: 720px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
.footer__brand {
  font-family: var(--mono); font-size: 13px;
  letter-spacing: 0.04em;
}
.footer__brand .display-mark {
  font-size: clamp(36px, 5vw, 64px);
  letter-spacing: -0.03em; font-weight: 500; line-height: 0.95;
  margin-bottom: 12px; font-family: var(--sans);
}
.footer__col h4 {
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted); font-weight: 400; margin: 0 0 16px;
}
.footer__col ul { list-style: none; padding: 0; margin: 0; }
.footer__col a {
  display: block; padding: 4px 0;
  transition: transform 400ms var(--ease);
  font-size: 15px;
}
.footer__col a:hover { transform: translateX(4px); }
.footer__bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px; border-top: 1px solid var(--line);
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.04em; color: var(--muted);
}

/* -------------------------------------------------------------------------
   Page header (non-home pages)
   ------------------------------------------------------------------------- */
.page-header { padding: clamp(80px, 9vw, 140px) 0 clamp(48px, 6vw, 88px); }
.page-header__meta {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: clamp(32px, 5vw, 72px);
  font-family: var(--mono); font-size: 12px;
  color: var(--muted); flex-wrap: wrap; gap: 12px;
}
.page-header__title {
  font-size: clamp(56px, 9vw, 144px);
  font-weight: 500; letter-spacing: -0.035em;
  line-height: 0.92; margin: 0;
}
.page-header__title .serif, .page-header__title em { font-weight: 400; }
.page-header__sub {
  margin-top: clamp(32px, 4vw, 56px);
  display: grid; grid-template-columns: 1fr 1.4fr;
  gap: clamp(24px, 4vw, 56px);
  padding-top: clamp(28px, 4vw, 40px);
  border-top: 1px solid var(--line);
}
@media (max-width: 880px) {
  .page-header__sub { grid-template-columns: 1fr; }
}

/* -------------------------------------------------------------------------
   Portfolio index — filter + grid
   ------------------------------------------------------------------------- */
.work-hero { padding: clamp(80px, 9vw, 140px) 0 clamp(40px, 6vw, 80px); }
.work-hero h1 {
  font-size: clamp(56px, 9vw, 144px);
  font-weight: 500; letter-spacing: -0.035em;
  line-height: 0.92; margin: 16px 0 32px;
}
.work-hero .lede { margin-bottom: 40px; max-width: 60ch; }

.filter-bar {
  display: flex; align-items: center; gap: 32px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: clamp(40px, 5vw, 64px);
  font-family: var(--mono); font-size: 12px;
  letter-spacing: 0.04em; flex-wrap: wrap;
}
.filter-bar__label, .filter-bar .label {
  color: var(--muted); text-transform: uppercase;
}
.filter-bar__group { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  padding: 8px 16px; border: 1px solid var(--line-2);
  border-radius: 999px;
  font-family: var(--mono); font-size: 12px;
  letter-spacing: 0.04em; cursor: pointer;
  transition: all 360ms var(--ease);
  background: transparent; color: var(--fg-2);
}
.chip:hover { border-color: var(--fg); }
.chip[aria-pressed="true"], .chip.is-active {
  background: var(--fg); color: var(--bg); border-color: var(--fg);
}
.chip__count, .chip .count { opacity: 0.55; margin-left: 6px; }

.portfolio-grid {
  display: grid; grid-template-columns: repeat(12, 1fr);
  gap: clamp(16px, 1.6vw, 28px);
}
.proj-card, .feature-card {
  position: relative;
  border: 1px solid var(--line); border-radius: 8px;
  overflow: hidden; background: var(--bg-alt);
  transition: transform 500ms var(--ease), border-color 360ms var(--ease);
  display: flex; flex-direction: column;
}
.proj-card:hover, .feature-card:hover {
  transform: translateY(-3px); border-color: var(--fg);
}
.proj-card__visual, .feature-thumb {
  aspect-ratio: 16 / 11; position: relative;
  overflow: hidden; background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.proj-card__visual > * { position: absolute; inset: 0; }
.proj-card__body, .feature-body { padding: 22px 24px 26px; }
.proj-card__row, .feature-meta-row {
  display: flex; justify-content: space-between; align-items: baseline;
  font-family: var(--mono); font-size: 11px; color: var(--muted);
  letter-spacing: 0.06em; text-transform: uppercase;
  margin-bottom: 14px;
}
.feature-meta-row {
  position: absolute; top: 16px; left: 16px; right: 16px;
  margin-bottom: 0; z-index: 2;
}
.feature-tag, .feature-year {
  padding: 4px 8px; background: var(--bg);
  border: 1px solid var(--line); border-radius: 999px;
}
.feature-client {
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--muted); display: block; margin-bottom: 10px;
}
.proj-card__title, .feature-title {
  font-size: clamp(20px, 1.6vw, 26px); font-weight: 500;
  letter-spacing: -0.018em; line-height: 1.18; margin: 0 0 8px;
}
.proj-card__title .serif, .proj-card__title em,
.feature-title .serif, .feature-title em { font-weight: 400; }
.proj-card__desc, .feature-summary {
  color: var(--muted); font-size: 14px; line-height: 1.5; margin: 0 0 20px;
}
.feature-footer {
  display: flex; justify-content: space-between; align-items: baseline;
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--muted); border-top: 1px solid var(--line);
  padding-top: 14px;
}
.feature-footer .arrow { transition: transform 360ms var(--ease); }
.feature-card:hover .feature-footer .arrow { transform: translate(3px, -3px); }
.thumb-placeholder {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
}
.thumb-placeholder svg { width: 100%; height: 100%; }

.proj-card.size-lg, .feature-card.size-lg { grid-column: span 8; }
.proj-card.size-md, .feature-card { grid-column: span 6; }
.proj-card.size-sm, .feature-card.size-sm { grid-column: span 4; }
@media (max-width: 980px) {
  .proj-card.size-lg, .proj-card.size-md, .proj-card.size-sm,
  .feature-card, .feature-card.size-lg, .feature-card.size-sm {
    grid-column: span 12;
  }
}
@media (max-width: 640px) {
  .proj-card, .proj-card.size-lg, .proj-card.size-md, .proj-card.size-sm,
  .feature-card, .feature-card.size-lg, .feature-card.size-md, .feature-card.size-sm {
    grid-column: span 12;
  }
}
.proj-card[data-hidden], .feature-card[data-hidden] { display: none; }

.viz {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono); color: var(--muted-2);
  background: var(--bg-alt);
}
.viz--grid {
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 32px 32px;
}
.viz--dots {
  background-image: radial-gradient(var(--line-2) 1px, transparent 1.4px);
  background-size: 14px 14px;
}

/* -------------------------------------------------------------------------
   Case study pages
   ------------------------------------------------------------------------- */
.case-hero { padding: clamp(72px, 9vw, 132px) 0 clamp(40px, 5vw, 72px); }
.case-hero__crumb {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 12px;
  color: var(--muted); letter-spacing: 0.04em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--line); padding-bottom: 4px;
  margin-bottom: clamp(40px, 5vw, 72px);
  transition: border-color 240ms;
}
.case-hero__crumb:hover { border-color: var(--fg); }
.case-hero__title, .cs-title {
  font-size: clamp(48px, 8vw, 128px); font-weight: 500;
  letter-spacing: -0.035em; line-height: 0.9;
  margin: 0 0 clamp(28px, 4vw, 48px); max-width: 16ch;
}
.case-hero__lede {
  margin-top: clamp(24px, 3vw, 36px);
  font-size: clamp(20px, 1.8vw, 28px);
  line-height: 1.35; color: var(--fg-2);
  max-width: 56ch; text-wrap: balance;
}
.case-meta, .cs-meta {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 3vw, 40px);
  padding: clamp(28px, 4vw, 44px) 0;
  border-top: 1px solid var(--fg);
  border-bottom: 1px solid var(--line);
  margin-top: clamp(32px, 4vw, 48px);
}
@media (max-width: 720px) {
  .case-meta, .cs-meta { grid-template-columns: repeat(2, 1fr); }
}
.case-meta dt, .cs-meta dt {
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 8px;
}
.case-meta dd, .cs-meta dd { margin: 0; font-size: 15px; line-height: 1.5; }

.case-mockup { padding: clamp(40px, 5vw, 72px) 0; }
.mockup-hero, .cs-hero {
  margin: 0;
  border: 1px solid var(--line); border-radius: 10px;
  background: var(--bg-alt); position: relative; overflow: hidden;
}
.mockup-hero img, .cs-hero img {
  width: 100%; height: auto; display: block;
}

.case-block {
  display: grid; grid-template-columns: 0.6fr 1.4fr;
  gap: clamp(32px, 5vw, 64px);
  padding: clamp(48px, 6vw, 88px) 0;
  border-top: 1px solid var(--line);
  align-items: start;
}
@media (max-width: 880px) {
  .case-block { grid-template-columns: 1fr; gap: 20px; }
}
.case-block__label {
  font-family: var(--mono); font-size: 12px;
  letter-spacing: 0.06em; color: var(--muted);
  text-transform: uppercase;
}
.case-block__body h3 {
  font-size: clamp(28px, 3.4vw, 44px); font-weight: 500;
  letter-spacing: -0.022em; line-height: 1.04;
  margin: 0 0 20px; max-width: 22ch;
}
.case-block__body h4 {
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted); font-weight: 400;
  margin: 32px 0 14px;
}
.case-block__body p {
  font-size: 17px; line-height: 1.65;
  color: var(--fg-2); max-width: 64ch;
}
.case-block__body p + p { margin-top: 1em; }
.case-block__body strong { font-weight: 500; color: var(--fg); }
.case-block__body ul {
  list-style: none; padding: 0; margin: 12px 0;
}
.case-block__body ul li {
  padding: 10px 0 10px 22px;
  position: relative; font-size: 16px;
  line-height: 1.55; color: var(--fg-2);
  border-bottom: 1px solid var(--line);
}
.case-block__body ul li::before {
  content: '→'; position: absolute; left: 0;
  color: var(--muted); font-family: var(--mono);
}
.case-block__body code {
  font-family: var(--mono); font-size: 0.88em;
  background: var(--bg-alt); padding: 2px 6px;
  border-radius: 4px;
}

.visual {
  border: 1px solid var(--line); border-radius: 8px;
  margin: 20px 0; overflow: hidden;
}
.visual--diagram, .cs-architecture {
  font-family: var(--mono); font-size: 13px; line-height: 1.6;
  color: var(--fg-2); padding: clamp(24px, 3vw, 40px);
  background: var(--bg); border: 1px solid var(--fg);
  border-radius: 10px; white-space: pre; overflow-x: auto;
}

.stack {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-top: 16px;
}
.stack span {
  padding: 6px 12px;
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.04em;
  border: 1px solid var(--line-2); border-radius: 999px;
  color: var(--fg-2);
}

.stats, .metrics {
  display: grid; gap: 0;
  border-top: 1px solid var(--fg);
  margin: 24px 0;
}
.stats { grid-template-columns: repeat(3, 1fr); }
.metrics { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 720px) {
  .stats, .metrics { grid-template-columns: repeat(2, 1fr); }
}
.stat, .metric {
  padding: 28px 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stats .stat:last-child, .metrics .metric:last-child { border-right: none; }
@media (max-width: 720px) {
  .stat:nth-child(2n), .metric:nth-child(2n) { border-right: none; }
}
.stat__value, .metric__value {
  font-size: clamp(32px, 4.4vw, 56px); font-weight: 500;
  letter-spacing: -0.028em; line-height: 1; margin-bottom: 12px;
}
.stat__label, .metric__label {
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--muted);
}

.cs-visual {
  margin: clamp(32px, 4vw, 56px) 0;
  border: 1px solid var(--line); border-radius: 10px;
  background: var(--bg-alt); aspect-ratio: 16 / 9;
  position: relative; overflow: hidden;
}

.mockup-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: clamp(16px, 1.8vw, 28px);
  margin-top: clamp(20px, 2.4vw, 32px);
}
@media (max-width: 540px) {
  .mockup-grid { grid-template-columns: 1fr; }
}
.mockup {
  margin: 0; border: 1px solid var(--line); border-radius: 10px;
  overflow: hidden; background: var(--bg-alt);
  cursor: zoom-in;
  transition: transform 320ms var(--ease), box-shadow 320ms var(--ease), border-color 320ms var(--ease);
}
.mockup:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 60px -28px rgba(0,0,0,0.28), 0 6px 18px -10px rgba(0,0,0,0.10);
  border-color: var(--ink, currentColor);
}
.mockup img { display: block; width: 100%; height: auto; }
.mockup figcaption {
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--muted); padding: 12px 16px;
  border-top: 1px solid var(--line);
}
.mockup-hero, .cs-hero { cursor: zoom-in; }
.case-still img { cursor: zoom-in; }
.mockup--wide { grid-column: span 2; }
@media (max-width: 540px) { .mockup--wide { grid-column: span 1; } }

.cs-nav, .case-nav {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  border-top: 1px solid var(--fg);
  border-bottom: 1px solid var(--fg);
}
@media (max-width: 720px) {
  .cs-nav, .case-nav { grid-template-columns: 1fr; }
}
.cs-nav__item, .case-nav .prev, .case-nav .next {
  padding: clamp(32px, 4vw, 56px) clamp(24px, 4vw, 48px);
  border-right: 1px solid var(--line);
  display: flex; flex-direction: column;
  justify-content: space-between; gap: 12px;
  min-height: 180px;
  transition: background 400ms var(--ease);
}
.cs-nav__item:last-child, .case-nav .next { border-right: none; }
.cs-nav__item:hover, .case-nav .prev:hover, .case-nav .next:hover {
  background: var(--bg-alt);
}
.case-nav .label, .cs-nav__item .eyebrow {
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--muted);
}
.case-nav .title, .cs-nav__item .title {
  font-size: clamp(20px, 2vw, 28px); font-weight: 500;
  letter-spacing: -0.018em; line-height: 1.15;
}
.case-nav .next, .cs-nav__item.is-next {
  text-align: right; align-items: flex-end;
}

/* -------------------------------------------------------------------------
   About page — timeline + skills
   ------------------------------------------------------------------------- */
.bio-grid, .about-grid {
  display: grid; grid-template-columns: 0.6fr 1.4fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
@media (max-width: 880px) {
  .bio-grid, .about-grid { grid-template-columns: 1fr; }
}
.bio-grid p, .about-grid p {
  font-size: 17px; line-height: 1.65; color: var(--fg-2);
  max-width: 64ch;
}
.bio-grid p + p, .about-grid p + p { margin-top: 1.1em; }
.bio-grid strong, .about-grid strong { font-weight: 500; color: var(--fg); }

.s-head {
  display: grid; grid-template-columns: 0.6fr 1.4fr;
  gap: clamp(32px, 5vw, 64px);
  margin-bottom: clamp(40px, 5vw, 72px);
  align-items: baseline;
}
.s-head--split {
  display: flex; justify-content: space-between;
  align-items: end; flex-wrap: wrap; gap: 24px;
}
@media (max-width: 880px) {
  .s-head { grid-template-columns: 1fr; }
}
.s-head__title { margin: 0; font-size: clamp(28px, 3.2vw, 48px); }
.s-head__meta {
  font-family: var(--mono); font-size: 13px;
  color: var(--muted); line-height: 1.65;
  max-width: 64ch; letter-spacing: 0.02em;
}
.s-head__display { font-size: clamp(36px, 4.6vw, 72px); }

.timeline { list-style: none; padding: 0; margin: 0; }

.exp-row {
  display: grid; grid-template-columns: 220px 1fr;
  gap: clamp(20px, 3vw, 40px);
  padding: clamp(24px, 3vw, 36px) 0;
  border-bottom: 1px solid var(--line);
}
.exp-row:first-child { border-top: 1px solid var(--fg); }
@media (max-width: 720px) {
  .exp-row { grid-template-columns: 1fr; gap: 12px; }
}
.exp-row__date {
  display: flex; flex-direction: column; gap: 6px; padding-top: 4px;
}
.exp-row__date span {
  font-family: var(--mono); font-size: 12px;
  color: var(--muted); letter-spacing: 0.04em;
}
.exp-row__role {
  font-size: clamp(20px, 2vw, 26px); font-weight: 500;
  letter-spacing: -0.018em; line-height: 1.2;
  margin: 0 0 6px;
}
.exp-row__co {
  font-family: var(--mono); font-size: 13px;
  color: var(--muted); margin: 0 0 12px;
}
.exp-row__co strong { color: var(--fg); font-weight: 500; }
.exp-row__body p { max-width: 64ch; }
.exp-row__body ul {
  list-style: none; padding: 0; margin: 12px 0 0;
}
.exp-row__body ul li {
  padding: 8px 0 8px 22px;
  position: relative; font-size: 15px;
  line-height: 1.55; color: var(--fg-2);
}
.exp-row__body ul li::before {
  content: '→'; position: absolute; left: 0;
  color: var(--muted); font-family: var(--mono);
}

.skills-grid, .skill-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 0; border-top: 1px solid var(--fg);
}
@media (max-width: 880px) {
  .skills-grid, .skill-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .skills-grid, .skill-grid { grid-template-columns: 1fr; }
}
.skills-grid > div, .skill-grid > div {
  padding: 28px 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.skills-grid > div:nth-child(3n),
.skill-grid > div:nth-child(3n) { border-right: none; }
@media (max-width: 880px) {
  .skills-grid > div:nth-child(3n),
  .skill-grid > div:nth-child(3n) { border-right: 1px solid var(--line); }
  .skills-grid > div:nth-child(2n),
  .skill-grid > div:nth-child(2n) { border-right: none; }
}
@media (max-width: 540px) {
  .skills-grid > div, .skill-grid > div { border-right: none; }
}
.skills-grid h4, .skill-grid h4 {
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted); margin: 0 0 14px; font-weight: 400;
}
.skills-grid ul, .skill-grid ul {
  list-style: none; padding: 0; margin: 0;
}
.skills-grid li, .skill-grid li {
  font-size: 14px; line-height: 1.7; color: var(--fg-2);
}

/* -------------------------------------------------------------------------
   Contact page
   ------------------------------------------------------------------------- */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 96px); align-items: start;
}
@media (max-width: 720px) {
  .contact-grid { grid-template-columns: 1fr; }
}

.contact-list, .contact-channels {
  list-style: none; padding: 0; margin: 0;
  border-top: 1px solid var(--fg);
}
.contact-list li, .contact-channels li {
  display: grid; grid-template-columns: 100px 1fr auto;
  align-items: center; gap: 16px;
  padding: 22px 0; border-bottom: 1px solid var(--line);
  transition: padding 500ms var(--ease);
}
.contact-list li:hover, .contact-channels li:hover {
  padding-left: 12px; padding-right: 12px;
}
@media (max-width: 640px) {
  .contact-list li, .contact-channels li {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .contact-list .label, .contact-channels .key {
    display: block;
    margin-bottom: 2px;
  }
}
.contact-list .label, .contact-channels .key {
  font-family: var(--mono); font-size: 11px;
  color: var(--muted); letter-spacing: 0.06em;
  text-transform: uppercase;
}
.contact-list a, .contact-channels .value {
  font-size: clamp(18px, 1.6vw, 22px); font-weight: 500;
  letter-spacing: -0.012em;
}
.contact-channels .copy {
  font-family: var(--mono); font-size: 11px;
  color: var(--muted); letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 10px; border: 1px solid var(--line-2);
  border-radius: 999px; cursor: pointer;
  transition: all 240ms;
}
.contact-channels .copy:hover,
.contact-channels .copy.is-copied {
  background: var(--fg); color: var(--bg); border-color: var(--fg);
}

.form { display: flex; flex-direction: column; gap: 24px; }
.form label {
  display: flex; flex-direction: column; gap: 8px;
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--muted);
}
.form input, .form textarea, .form select {
  background: transparent;
  border: 0; border-bottom: 1px solid var(--line-2);
  font-family: var(--sans); font-size: 17px;
  padding: 10px 0; color: var(--fg);
  transition: border-color 360ms var(--ease);
  font-weight: 400; letter-spacing: 0;
  text-transform: none;
  min-height: 44px;
}
.form input::placeholder, .form textarea::placeholder { color: var(--muted-2); }
.form input:focus, .form textarea:focus, .form select:focus {
  outline: none; border-color: var(--fg);
}
.form textarea { resize: vertical; min-height: 120px; }
.form button { align-self: flex-start; margin-top: 12px; }
.form button:disabled { opacity: 0.6; cursor: not-allowed; }
.contact-form__status {
  margin: 0; font-size: 13px; line-height: 1.5;
  font-family: var(--mono); letter-spacing: 0.01em;
  min-height: 1.5em;
  color: var(--muted);
}
.contact-form__status[data-state="ok"] { color: var(--fg); }
.contact-form__status[data-state="error"] { color: #b03a2e; }

/* -------------------------------------------------------------------------
   Work With Me — services
   ------------------------------------------------------------------------- */
.wwm-tiers, .svc-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  border-top: 1px solid var(--fg);
}
@media (max-width: 720px) {
  .wwm-tiers, .svc-grid { grid-template-columns: 1fr; }
}
.wwm-tier, .svc {
  padding: clamp(32px, 4vw, 56px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.wwm-tier:nth-child(2n), .svc:nth-child(2n) { border-right: none; }
@media (max-width: 720px) {
  .wwm-tier, .svc { border-right: none; }
}
.wwm-tier .eyebrow, .svc__id {
  margin-bottom: 24px; display: inline-block;
}
.wwm-tier h3, .svc__title {
  font-size: clamp(28px, 3.2vw, 40px); font-weight: 500;
  letter-spacing: -0.022em; line-height: 1.05;
  margin: 0 0 16px;
}
.wwm-tier .muted, .wwm-tier > p, .svc__desc {
  color: var(--fg-2); font-size: 16px; line-height: 1.55;
  max-width: 52ch; margin: 0 0 1em;
}
.wwm-tier ul, .svc__list {
  list-style: none; padding: 0; margin: 24px 0 0;
}
.wwm-tier ul li, .svc__list li {
  padding: 12px 0 12px 22px;
  border-top: 1px solid var(--line);
  font-size: 14px; line-height: 1.55; color: var(--fg-2);
  position: relative;
}
.wwm-tier ul li::before, .svc__list li::before {
  content: '→'; position: absolute; left: 0; top: 12px;
  color: var(--muted); font-family: var(--mono); font-size: 12px;
}

/* -------------------------------------------------------------------------
   Selection + reduced motion
   ------------------------------------------------------------------------- */
::selection { background: var(--fg); color: var(--bg); }

/* =========================================================================
   Work index v2 — matches the "Twenty projects. Two disciplines." mockup
   ========================================================================= */

/* Work index header ------------------------------------------------------ */
.work-index-header {
  padding: clamp(72px, 8vw, 120px) 0 clamp(28px, 4vw, 56px);
}
.work-index-header__eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 12px;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted); margin-bottom: clamp(28px, 4vw, 48px);
}
.work-index-header__eyebrow .dot-sm {
  display: inline-block; width: 6px; height: 6px;
  background: var(--fg); border-radius: 999px;
}
.work-index-header__title {
  font-family: var(--sans); font-weight: 500;
  font-size: clamp(48px, 6.4vw, 96px);
  letter-spacing: -0.032em; line-height: 0.96;
  margin: 0 0 clamp(28px, 3.5vw, 44px);
  max-width: 16ch;
}
.work-index-header__sub {
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.55; color: var(--fg-2);
  max-width: 60ch;
  margin: 0 0 clamp(36px, 4vw, 56px);
}

/* Filter bar v2 — Tommaso Quinn-style inline display list -------------- */
.filter-bar--v2 {
  display: block;
  border: 0; padding: 0;
  margin: clamp(28px, 4vw, 56px) 0 0;
}
.filter-bar--v2 .filter-bar__label {
  /* Hidden but kept for a11y — the inline list speaks for itself */
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.filter-bar--v2 .filter-bar__group {
  display: block;
  gap: 0;
  font-family: var(--sans);
  font-weight: 500;
  font-size: clamp(32px, 5vw, 64px);
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--line-2);
}
.chip-v2 {
  padding: 0; border: 0; background: transparent; border-radius: 0;
  font: inherit;
  color: var(--line-2);
  cursor: pointer;
  display: inline;
  transition: color 240ms var(--ease);
}
.chip-v2:hover {
  color: var(--muted);
  border-color: transparent;
}
.chip-v2.is-active {
  background: transparent;
  color: var(--fg);
  font-weight: 600;
  border-color: transparent;
}
.chip-v2:not(:last-child)::after {
  content: ",\00a0";
  color: var(--line-2);
  font-weight: 500;
}
.chip-v2__count,
.chip-v2__chev { display: none; }

/* 3-up portfolio grid ---------------------------------------------------- */
.portfolio-grid-3up {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2vw, 36px);
  padding-top: clamp(40px, 5vw, 72px);
  padding-bottom: clamp(72px, 9vw, 120px);
}
@media (max-width: 980px) {
  .portfolio-grid-3up { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .portfolio-grid-3up { grid-template-columns: 1fr; }
}

.card-3up {
  display: flex; flex-direction: column;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px 18px 22px;
  transition: transform 400ms var(--ease), border-color 240ms var(--ease);
}
.card-3up:hover {
  transform: translateY(-3px);
  border-color: var(--fg);
}
.card-3up__visual {
  position: relative;
  aspect-ratio: 16 / 10;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 4px;
  margin-bottom: 18px;
  overflow: hidden;
}
.card-3up__visual svg,
.card-3up__visual .v3-fill {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
}
.card-3up__visual img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(0.05) contrast(1.02);
  transition: transform 700ms var(--ease);
}
.card-3up:hover .card-3up__visual img { transform: scale(1.03); }
.card-3up__visual--dark { background: var(--fg); }
.card-3up__year {
  position: absolute; top: 10px; right: 10px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px 9px;
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.04em; color: var(--muted);
  z-index: 2;
}
.card-3up__visual--dark .card-3up__year {
  background: var(--fg); color: var(--bg-alt);
  border-color: rgba(255,255,255,0.25);
}
.card-3up__meta {
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 10px;
}
.card-3up__title {
  font-family: var(--sans); font-weight: 500;
  font-size: 19px; line-height: 1.2;
  letter-spacing: -0.012em;
  margin: 0 0 10px;
  color: var(--fg);
}
.card-3up__desc {
  font-size: 13px; line-height: 1.5;
  color: var(--muted); margin: 0 0 18px;
  flex: 1;
}
.card-3up__cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--fg);
}
.card-3up__cta .arrow {
  display: inline-block;
  transition: transform 360ms var(--ease);
}
.card-3up:hover .card-3up__cta .arrow { transform: translate(2px, -2px); }

/* Video card visual — white headline floats over solid black --------------- */
.card-3up__visual--dark .v3-caption {
  position: absolute; left: 14px; right: 14px; bottom: 12px;
  color: var(--bg);
  font-family: var(--sans); font-size: 12px; font-weight: 500;
  letter-spacing: -0.005em; line-height: 1.25;
}

.card-3up[data-hidden] { display: none; }

/* Dark "Want the depth" CTA --------------------------------------------- */
.depth-cta {
  padding: 0 0 clamp(80px, 10vw, 140px);
}
.depth-cta__inner {
  background: var(--fg);
  color: var(--bg);
  border-radius: 8px;
  padding: clamp(40px, 5vw, 64px);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
@media (max-width: 640px) {
  .depth-cta__inner { grid-template-columns: 1fr; }
}
.depth-cta__title {
  font-family: var(--sans); font-weight: 500;
  font-size: clamp(28px, 3.4vw, 44px);
  letter-spacing: -0.022em; line-height: 1.05;
  margin: 0 0 16px;
}
.depth-cta__sub {
  font-size: 14px; line-height: 1.55;
  color: rgba(246, 245, 241, 0.65);
  margin: 0; max-width: 40ch;
}
.depth-cta__cols {
  display: grid; grid-template-columns: 1fr; gap: 14px;
}
.depth-cta__col {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 16px;
  align-items: center;
  padding: 14px 18px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 6px;
  transition: background 240ms var(--ease), border-color 240ms var(--ease);
}
.depth-cta__col:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.2);
}
.depth-cta__col-label {
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(246, 245, 241, 0.55);
}
.depth-cta__col-val {
  display: inline-flex; justify-content: space-between; align-items: center;
  font-size: 14px; color: var(--bg);
  font-weight: 500; letter-spacing: -0.005em;
}
.depth-cta__col-val .arrow {
  font-family: var(--mono); font-size: 12px;
  color: rgba(246, 245, 241, 0.55);
  transition: transform 360ms var(--ease), color 240ms var(--ease);
}
.depth-cta__col:hover .arrow {
  transform: translate(3px, -3px); color: var(--bg);
}

/* Footer v2 ------------------------------------------------------------- */
.footer--v2 .footer__brand-name {
  font-family: var(--sans); font-size: 18px; font-weight: 500;
  letter-spacing: -0.012em; margin-bottom: 12px;
}
.footer--v2 .footer__col h4 {
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted); font-weight: 500;
  margin: 0 0 14px;
}
.footer--v2 .footer__col ul li { margin-bottom: 6px; }
.footer--v2 .footer__col a {
  font-family: var(--sans); font-size: 14px;
  color: var(--fg); letter-spacing: -0.005em;
  display: inline-flex; align-items: center; gap: 6px;
  transition: gap 240ms var(--ease);
}
.footer--v2 .footer__col a:hover {
  gap: 10px; transform: none;
}
.footer--v2 .footer__col a::after {
  content: '↗'; font-family: var(--mono);
  font-size: 10px; color: var(--muted);
}
.footer--v2 .footer__bottom {
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted);
}

/* =========================================================================
   Case-study video frames — make them feel cinematic, not postage-stamp
   ========================================================================= */
.case-video { padding: clamp(28px, 4vw, 56px) 0 clamp(40px, 5vw, 80px); }
.case-video .container {
  max-width: 1280px;  /* wider than default for hero video */
}
.video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--fg);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 24px 60px -24px rgba(10,10,10,0.35);
}
.video-frame iframe,
.video-frame video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0;
  display: block;
}

/* Secondary video grid (2-up on wide, stack on narrow) */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
  gap: clamp(20px, 2.4vw, 36px);
  margin-top: clamp(20px, 2vw, 32px);
}
.video-grid .video-frame {
  box-shadow: 0 16px 40px -20px rgba(10,10,10,0.3);
}

/* Each secondary video can have a small title + summary above it */
.video-block {
  display: flex; flex-direction: column;
  gap: 14px;
}
.video-block__head {
  display: flex; flex-direction: column; gap: 4px;
}
.video-block__label {
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted);
}
.video-block__title {
  font-family: var(--sans); font-size: clamp(18px, 1.4vw, 22px);
  font-weight: 500; letter-spacing: -0.012em; line-height: 1.25;
  margin: 0;
}
.video-block__desc {
  font-size: 14px; line-height: 1.55; color: var(--muted);
  margin: 0;
}

/* =========================================================================
   Photo gallery with lightbox (Bluecoat, Irvines, Boardroom, etc.)
   ========================================================================= */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(12px, 1.4vw, 20px);
  margin-top: clamp(24px, 3vw, 40px);
}
.gallery__item {
  display: block; position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 6px;
  background: var(--bg-alt);
  cursor: zoom-in;
}
.gallery__item img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 600ms var(--ease);
}
.gallery__item:hover img { transform: scale(1.05); }

/* Lightbox overlay */
.lightbox {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(10,10,10,0.94);
  display: none;
  align-items: center; justify-content: center;
  padding: clamp(16px, 4vw, 60px);
  cursor: zoom-out;
  opacity: 0;
  transition: opacity 240ms var(--ease);
}
.lightbox.is-open {
  display: flex;
  opacity: 1;
}
.lightbox__stage {
  position: relative;
  display: inline-block;
  max-width: 100%; max-height: 100%;
  line-height: 0;
  box-shadow: 0 24px 80px rgba(0,0,0,0.6);
}
.lightbox__stage .redact {
  /* inherit position/sizing from inline %s; lightbox positions match the figure */
  position: absolute;
}
.lightbox__img {
  max-width: 100%; max-height: 90vh;
  object-fit: contain;
  display: block;
}
.lightbox__close,
.lightbox__nav {
  position: absolute;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--bg);
  width: 44px; height: 44px;
  border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  font-family: var(--mono); font-size: 18px;
  transition: background 240ms var(--ease);
}
.lightbox__close:hover,
.lightbox__nav:hover { background: rgba(255,255,255,0.18); }
.lightbox__close { top: 20px; right: 20px; }
.lightbox__nav--prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox__nav--next { right: 20px; top: 50%; transform: translateY(-50%); }
.lightbox__caption {
  position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%);
  color: rgba(246,245,241,0.7);
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.06em;
  padding: 6px 14px;
  background: rgba(0,0,0,0.3);
  border-radius: 999px;
}

/* Clickable mockup screenshots (single-image popup, no gallery navigation) */
.mockup-zoom {
  display: block; cursor: zoom-in;
  position: relative;
}
.mockup-zoom img { display: block; width: 100%; }
.mockup-zoom::after {
  content: '⌗ click to enlarge';
  position: absolute; bottom: 8px; right: 8px;
  background: rgba(10,10,10,0.7); color: var(--bg);
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 4px 8px; border-radius: 999px;
  opacity: 0; transition: opacity 240ms var(--ease);
}
.mockup-zoom:hover::after { opacity: 1; }

/* PII / customer-data redaction overlays for case-study screenshots.
   Apply .has-redactions to the wrapper and absolutely-position .redact spans. */
.redact-wrap { position: relative; display: inline-block; }
.redact-wrap img { display: block; max-width: 100%; }
.redact {
  position: absolute;
  background: #0a0a0a;
  border-radius: 2px;
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html.js [data-reveal],
  html.js .reveal,
  html.js .mask-reveal > span,
  html.js [data-reveal-stagger] > *,
  html.js .stagger > * {
    opacity: 1 !important; transform: none !important;
  }
}

/* =========================================================================
   Page loader / inter-page transition
   Dark curtain covers screen on first paint; slides up after page is ready.
   On nav click, curtain slides back down before navigating, then up again.
   ========================================================================= */
.loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg);
  color: var(--fg);
  display: grid;
  place-items: center;
  pointer-events: none;
  transform: translate3d(0, 0, 0);
  will-change: transform;
  /* Default = slide-DOWN transition (used when curtain returns on nav-click). */
  transition: transform 0.55s cubic-bezier(0.76, 0, 0.24, 1);
}
.loader.is-out {
  transform: translate3d(0, -101%, 0);
  /* Long, decelerating glide-up using the site's expo-out --ease. */
  transition: transform 1.25s var(--ease);
}
/* Inner content (DUTCH MIKE / AI ENGINEER) is hidden — curtain is a pure wipe. */
.loader__inner { display: none; }
html.is-loading,
html.is-loading body {
  overflow: hidden;
}
@media (prefers-reduced-motion: reduce) {
  .loader,
  .loader.is-out {
    transition: opacity 0.2s linear;
  }
  .loader.is-out { opacity: 0; transform: none; pointer-events: none; }
}

/* =========================================================================
   Hyper Effekt-style sections (scoped he-*)
   Used by the Solutions list and the big-typography Footer.
   ========================================================================= */
/* ========== Services card grid ========================================== */
.svc-section {
  padding: clamp(80px, 10vw, 140px) 0;
  background: var(--bg);
}
.svc-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  gap: clamp(24px, 4vw, 64px);
  margin-bottom: clamp(48px, 6vw, 80px);
}
.svc-head__left { display: flex; flex-direction: column; }
.svc-head__eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 20px;
}
.svc-head__title {
  font-family: var(--sans);
  font-size: clamp(32px, 4.5vw, 58px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--fg);
  margin: 0;
}
.svc-head__desc {
  font-size: clamp(14px, 1.3vw, 16px);
  line-height: 1.65;
  color: var(--muted);
  max-width: 38ch;
  margin: 0;
  align-self: end;
  padding-bottom: 4px;
}
.svc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.svc-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 260px;
  padding: 18px 20px 22px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  transition: border-color 200ms var(--ease), transform 360ms var(--ease);
}
.svc-card:hover {
  border-color: var(--line-2);
  transform: translateY(-3px);
}
.svc-card__cross {
  position: absolute;
  top: 16px;
  left: 16px;
  color: var(--line-2);
}
.svc-card__title {
  font-family: var(--sans);
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.018em;
  color: var(--fg);
  margin: auto 0 0;
  padding-top: 48px;
}
.svc-card__desc {
  font-size: 13px;
  line-height: 1.55;
  color: var(--muted);
  margin: 10px 0 0;
}
.svc-card--featured {
  background: linear-gradient(145deg, #3b5a54 0%, #5c7a72 100%);
  border-color: transparent;
}
.svc-card--featured:hover { border-color: transparent; }
.svc-card--featured .svc-card__cross { color: rgba(255,255,255,0.35); }
.svc-card--featured .svc-card__title { color: #fff; }
.svc-card--featured .svc-card__desc { color: rgba(255,255,255,0.72); }
@media (max-width: 720px) {
  .svc-head { grid-template-columns: 1fr; }
  .svc-head__desc { max-width: 100%; padding-bottom: 0; }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .svc-grid { grid-template-columns: 1fr; }
  .svc-card { min-height: auto; }
}

/* ===== svc-grid--3 : 3-col responsive variant ===== */
.svc-grid--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 720px) { .svc-grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .svc-grid--3 { grid-template-columns: 1fr; } }

/* ===== svc-section--alt : subtle tint for second discipline ===== */
.svc-section--alt { background: var(--surface, #f3f2ee); }

/* ===== svc-card--v2 : icon-first card layout ===== */
.svc-card--v2 {
  justify-content: flex-start;
  gap: 0;
  padding: 28px 24px 24px;
}
.svc-card--v2 .svc-card__icon {
  color: var(--fg);
  opacity: 0.6;
  margin-bottom: 20px;
  line-height: 0;
}
.svc-card--v2 .svc-card__title {
  font-size: clamp(16px, 1.4vw, 19px);
  font-weight: 500;
  margin: 0 0 8px;
  padding-top: 0;
}
.svc-card--v2 .svc-card__desc {
  font-size: 13.5px;
  line-height: 1.6;
  margin: 0;
}
.svc-card--v2.svc-card--featured .svc-card__icon { opacity: 0.5; }
.svc-card--v2.svc-card--featured .svc-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 20px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.3);
  padding-bottom: 2px;
  transition: border-color 180ms;
}
.svc-card--v2.svc-card--featured .svc-card__cta:hover { border-color: rgba(255,255,255,0.8); }

/* ========== (legacy — he-section kept for reference) ==================== */
.he-section {
  background: #ffffff;
  color: var(--fg);
  padding: clamp(80px, 11vw, 160px) 0 clamp(40px, 6vw, 80px);
}
.he-section__head { margin-bottom: clamp(64px, 9vw, 140px); }
.he-eyebrow {
  display: inline-block;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 24px;
}
.he-display {
  font-family: var(--display);
  font-variation-settings: 'opsz' 32;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.02;
  font-size: clamp(34px, 4.2vw, 60px);
  margin: 0 0 24px;
  max-width: 22ch;
  color: var(--fg);
}
.he-sub {
  font-family: var(--sans);
  color: var(--muted);
  font-size: clamp(15px, 1.1vw, 18px);
  line-height: 1.55;
  max-width: 60ch;
  margin: 0;
}

.he-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  padding: clamp(40px, 5vw, 72px) 0;
  border-top: 1px solid var(--line);
  align-items: start;
}
.he-row__left {
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 3vw, 36px);
}
.he-row__num {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.he-row__title {
  font-family: var(--display);
  font-variation-settings: 'opsz' 32;
  font-weight: 500;
  font-size: clamp(40px, 5vw, 72px);
  line-height: 1;
  letter-spacing: -0.035em;
  margin: 0;
  color: var(--fg);
}
.he-row__desc {
  font-family: var(--sans);
  font-size: clamp(15px, 1.1vw, 18px);
  line-height: 1.55;
  color: var(--muted);
  margin: 0 0 28px;
  max-width: 50ch;
}
.he-row__items {
  list-style: none;
  padding: 0;
  margin: 0;
  font-family: var(--sans);
  font-size: clamp(16px, 1.15vw, 19px);
  line-height: 1.7;
  color: var(--fg);
}
@media (max-width: 720px) {
  .he-row { grid-template-columns: 1fr; gap: 24px; align-items: start; }
  .he-row__left { gap: 24px; }
}

/* Hyper Effekt-style footer ----------------------------------------- */
.he-footer {
  position: relative;
  background: #0a0a0a;
  color: #ffffff;
  padding: clamp(80px, 11vw, 160px) 0 32px;
  overflow: hidden;
  isolation: isolate;
}
.he-footer .container { position: relative; z-index: 2; }
.he-footer__top {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 60px;
  margin-bottom: clamp(64px, 9vw, 140px);
}
.he-footer__headline {
  font-family: var(--display);
  font-variation-settings: 'opsz' 32;
  font-weight: 500;
  font-size: clamp(44px, 6.4vw, 104px);
  line-height: 1;
  letter-spacing: -0.035em;
  margin: 0;
}
.he-footer__headline a {
  color: inherit;
  text-decoration: none;
  display: inline-flex;
  gap: 0.25em;
  align-items: baseline;
}
.he-footer__headline a::after {
  content: '↗';
  font-size: 0.72em;
  color: inherit;
  display: inline-block;
  transform: translateY(-0.1em);
}
.he-footer__contact {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding-top: 8px;
}
.he-footer__contact-block { display: flex; flex-direction: column; gap: 4px; }
.he-footer__label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}
.he-footer__contact a,
.he-footer__contact span {
  color: #ffffff;
  text-decoration: none;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.4;
}
.he-footer__contact a:hover { opacity: 0.7; }

.he-footer__mid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  margin-bottom: 28px;
  align-items: start;
}
.he-footer__address {
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255,255,255,0.75);
  max-width: 36ch;
}
.he-footer__address-name { color: #ffffff; margin-bottom: 4px; display: block; }
.he-footer__sitemap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.he-footer__sitemap-col h4 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  font-weight: 500;
  margin: 0 0 14px;
}
.he-footer__sitemap-col ul { list-style: none; padding: 0; margin: 0; }
.he-footer__sitemap-col li { margin-bottom: 8px; }
.he-footer__sitemap-col a {
  color: #ffffff;
  text-decoration: none;
  font-family: var(--sans);
  font-size: 14px;
}
.he-footer__sitemap-col a:hover { opacity: 0.7; }

.he-footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}

/* Massive faded wordmark watermark behind the footer content */
.he-footer__watermark {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.25em;
  pointer-events: none;
  user-select: none;
  font-family: var(--display);
  font-variation-settings: 'opsz' 32;
  font-weight: 600;
  font-size: 28vw;
  line-height: 0.82;
  letter-spacing: -0.045em;
  color: rgba(255,255,255,0.045);
  text-align: center;
  white-space: nowrap;
  z-index: 1;
}

@media (max-width: 900px) {
  .he-footer__top,
  .he-footer__mid { grid-template-columns: 1fr; gap: 36px; }
  .he-footer__sitemap { grid-template-columns: 1fr 1fr; }
  .he-footer__bottom { flex-direction: column; gap: 12px; align-items: flex-start; }
  .he-footer__watermark { font-size: 40vw; }
}
@media (max-width: 480px) {
  .he-footer__sitemap { grid-template-columns: 1fr; }
}

/* About-page specific Hyper Effekt-style elements --------------------- */
.he-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 3vw, 56px);
  padding-top: clamp(40px, 5vw, 72px);
  border-top: 1px solid var(--line);
}
.he-stat { display: flex; flex-direction: column; gap: 10px; }
.he-stat__num {
  font-family: var(--display);
  font-variation-settings: 'opsz' 32;
  font-weight: 500;
  font-size: clamp(36px, 4vw, 60px);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--fg);
}
.he-stat__label {
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
  max-width: 26ch;
}
@media (max-width: 720px) {
  .he-stats { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}
@media (max-width: 540px) {
  .he-stats { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}

.he-clients {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: clamp(14px, 1.6vw, 24px);
  border-top: 1px solid var(--line);
  padding-top: clamp(36px, 4vw, 56px);
}
.he-clients li {
  font-family: var(--display);
  font-variation-settings: 'opsz' 32;
  font-weight: 500;
  font-size: clamp(18px, 1.5vw, 24px);
  letter-spacing: -0.02em;
  color: var(--fg);
  line-height: 1.2;
}

.he-exp { display: flex; flex-direction: column; }
.he-exp__row {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: clamp(24px, 4vw, 56px);
  padding: clamp(32px, 4vw, 56px) 0;
  border-top: 1px solid var(--line);
  align-items: start;
}
.he-exp__date {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.he-exp__role {
  font-family: var(--display);
  font-variation-settings: 'opsz' 16;
  font-weight: 500;
  font-size: clamp(22px, 2vw, 30px);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0 0 6px;
  color: var(--fg);
}
.he-exp__co {
  font-family: var(--sans);
  font-size: 15px;
  color: var(--muted);
  margin: 0 0 14px;
}
.he-exp__co strong { color: var(--fg); font-weight: 500; }
.he-exp__body p {
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.55;
  color: var(--fg);
  margin: 0 0 12px;
}
.he-exp__body ul {
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0 0 12px;
  padding-left: 18px;
}
.he-exp__body ul li { margin-bottom: 4px; }
.he-exp__tools {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--muted);
  margin-top: 12px;
}
@media (max-width: 720px) {
  .he-exp__row { grid-template-columns: 1fr; gap: 14px; }
}

.he-bio {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: clamp(24px, 4vw, 56px);
  padding-top: clamp(32px, 4vw, 56px);
  border-top: 1px solid var(--line);
  align-items: start;
}
.he-bio__label h3 {
  font-family: var(--display);
  font-variation-settings: 'opsz' 16;
  font-weight: 500;
  font-size: clamp(22px, 2vw, 28px);
  letter-spacing: -0.02em;
  margin: 0 0 8px;
  color: var(--fg);
}
.he-bio__label .arc {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.he-bio__body p {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--fg);
  margin: 0 0 16px;
}
.he-bio__body p:last-child { margin-bottom: 0; }
@media (max-width: 720px) {
  .he-bio { grid-template-columns: 1fr; gap: 14px; }
}
