/* TSD Website — Design System
   Editorial-cinematic. Restrained. Expensive.
*/

:root {
  --ink: #0E0E12;
  --ink-soft: #1A1A22;
  --ink-60: rgba(14, 14, 18, 0.6);
  --ink-40: rgba(14, 14, 18, 0.4);
  --ink-12: rgba(14, 14, 18, 0.12);
  --ink-08: rgba(14, 14, 18, 0.08);
  --paper: #F2EFE8;
  --paper-warm: #EAE6DC;
  --paper-deep: #DCD7C8;
  --navy: #0F1B3D;
  --navy-deep: #070D24;
  --accent: #2347E8;
  --accent-glow: #5575FF;
  --paper-on-ink: rgba(242, 239, 232, 0.92);
  --paper-on-ink-60: rgba(242, 239, 232, 0.6);
  --paper-on-ink-30: rgba(242, 239, 232, 0.3);
  --paper-on-ink-12: rgba(242, 239, 232, 0.12);

  --font-serif: 'Newsreader', 'Charter', 'Iowan Old Style', 'Times New Roman', serif;
  --font-sans: 'Geist', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'Menlo', monospace;

  --max-w: 1440px;
  --gutter: clamp(20px, 4vw, 56px);

  --ease: cubic-bezier(0.65, 0, 0.05, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 18px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
img { max-width: 100%; display: block; }

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

/* Type scale */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-60);
}

/* Section title — sits above every major section so structure is unmistakable */
.section-title {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.section-title::before {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--ink);
  display: inline-block;
}
.section-title-light { color: var(--paper); }
.section-title-light::before { background: var(--paper); }

.eyebrow-light { color: var(--paper-on-ink-60); }

.display-xl {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(72px, 12vw, 200px);
  line-height: 0.94;
  letter-spacing: -0.035em;
  font-variation-settings: "opsz" 72;
}

.display-lg {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(56px, 7.5vw, 120px);
  line-height: 0.98;
  letter-spacing: -0.03em;
  font-variation-settings: "opsz" 60;
}

.display-md {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(40px, 5vw, 80px);
  line-height: 1.04;
  letter-spacing: -0.025em;
  font-variation-settings: "opsz" 36;
}

.display-sm {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(32px, 3.4vw, 54px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  font-variation-settings: "opsz" 28;
}

.body-lg {
  font-size: clamp(20px, 1.5vw, 24px);
  line-height: 1.55;
  letter-spacing: -0.005em;
}

.body { font-size: 18px; line-height: 1.6; }
.body-sm { font-size: 15px; line-height: 1.55; }

.italic { font-style: italic; }

/* ── Responsive display type ─────────────────────────────────────
   .display-xl base is clamp(72px, 12vw, 200px).
   Override the floor downward on small screens so the hero headline
   and "Let's win." CTA don't overflow a 375–768px viewport.
   ──────────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .display-xl { font-size: clamp(52px, 13vw, 72px); }
  .hero-title  { line-height: 1.05; }
}
@media (max-width: 480px) {
  .display-xl { font-size: clamp(40px, 11vw, 52px); }
}

/* HomeContact section — padding moved from inline style so mobile can override */
.home-contact { padding: 140px var(--gutter); }
@media (max-width: 768px) { .home-contact { padding: 80px var(--gutter); } }
@media (max-width: 480px) { .home-contact { padding: 60px var(--gutter); } }

/* Layout */
.shell {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.shell-wide {
  width: 100%;
  padding: 0 var(--gutter);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 28px;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.01em;
  border-radius: 999px;
  transition: all 0.4s var(--ease-soft);
  white-space: nowrap;
}

.btn-primary {
  background: var(--ink);
  color: var(--paper);
}
.btn-primary:hover { background: var(--accent); transform: translateY(-1px); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink-12);
}
.btn-ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }

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

.btn-arrow::after {
  content: '→';
  font-family: var(--font-serif);
  font-size: 16px;
  transition: transform 0.3s var(--ease-soft);
}
.btn-arrow:hover::after { transform: translateX(4px); }

/* Link styles */
.link-underline {
  position: relative;
  display: inline-block;
  padding-bottom: 2px;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 100% 1px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  transition: background-size 0.4s var(--ease);
}
.link-underline:hover { background-size: 0% 1px; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.01em;
}
.link-arrow::after {
  content: '→';
  transition: transform 0.3s var(--ease-soft);
}
.link-arrow:hover::after { transform: translateX(4px); }

/* Sections */
.section {
  padding: clamp(80px, 12vh, 160px) 0;
  position: relative;
}
.section-tight { padding: clamp(60px, 8vh, 100px) 0; }

.section-ink { background: var(--ink); color: var(--paper); }
.section-paper-warm { background: var(--paper-warm); }
.section-navy { background: var(--navy-deep); color: var(--paper); }

/* Hairlines */
.hr {
  height: 1px;
  background: var(--ink-12);
  border: none;
}
.hr-light { background: var(--paper-on-ink-12); }

/* Nav */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.4s var(--ease-soft);
  mix-blend-mode: normal;
}

.nav-scrolled {
  background: rgba(242, 239, 232, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--ink-08);
  padding: 14px var(--gutter);
}

.nav-dark {
  color: var(--paper);
}
.nav-dark.nav-scrolled {
  background: rgba(14, 14, 18, 0.85);
  border-bottom-color: var(--paper-on-ink-12);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 22px;
  letter-spacing: -0.02em;
}

.nav-logo-mark {
  font-weight: 600;
  letter-spacing: -0.04em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.005em;
}

.nav-link {
  position: relative;
  padding: 6px 0;
  cursor: pointer;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width 0.4s var(--ease-soft);
}
.nav-link:hover::after, .nav-link-active::after { width: 100%; }

.nav-cta {
  padding: 11px 20px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s var(--ease-soft);
}
.nav-dark .nav-cta {
  background: var(--paper);
  color: var(--ink);
}
.nav-cta:hover { background: var(--accent); color: var(--paper); }

/* Footer */
.footer {
  background: var(--ink);
  color: var(--paper);
  padding: 80px var(--gutter) 32px;
}

.footer-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 80px;
  border-bottom: 1px solid var(--paper-on-ink-12);
}

.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--paper-on-ink-60);
  margin-bottom: 24px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-col a { font-size: 16px; transition: color 0.2s; }
.footer-col a:hover { color: var(--accent-glow); }

.footer-bottom {
  max-width: var(--max-w);
  margin: 0 auto;
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--paper-on-ink-60);
  font-family: var(--font-mono);
}

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ── Mobile nav hamburger ────────────────────────────────────────
   3-line icon that animates into an × when the drawer is open.
   Hidden on desktop (>900px), visible on mobile.
   ──────────────────────────────────────────────────────────────── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px 11px;
  background: none;
  border: none;
  cursor: pointer;
  position: relative;
  z-index: 101; /* stays on top of the drawer (z-index 90) */
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transition: transform 0.3s var(--ease), opacity 0.2s;
  transform-origin: center;
}
.nav-hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-hamburger { display: flex; }
}

/* ── Mobile nav drawer ───────────────────────────────────────────
   Full-viewport overlay. z-index 90 keeps the nav bar (z-index 100)
   visually on top so the hamburger/× is always tappable.
   ──────────────────────────────────────────────────────────────── */
.nav-drawer {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: var(--ink);
  color: var(--paper);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px clamp(24px, 6vw, 56px) 48px;
  animation: nav-drawer-in 0.3s var(--ease) forwards;
}
@keyframes nav-drawer-in {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.nav-drawer-links {
  display: flex;
  flex-direction: column;
  gap: 0;
  flex: 1;
  justify-content: center;
}
.nav-drawer-link {
  display: block;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(36px, 9vw, 56px);
  line-height: 1;
  letter-spacing: -0.025em;
  color: var(--paper);
  padding: 14px 0;
  border-bottom: 1px solid var(--paper-on-ink-12);
  text-decoration: none;
  transition: color 0.2s, padding-left 0.2s var(--ease);
}
.nav-drawer-link:first-child { border-top: 1px solid var(--paper-on-ink-12); }
.nav-drawer-link:hover,
.nav-drawer-link:focus-visible { color: var(--accent-glow); padding-left: 8px; }
.nav-drawer-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 40px;
  align-self: flex-start;
  padding: 14px 24px;
  background: var(--paper);
  color: var(--ink);
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.005em;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.nav-drawer-cta:hover { background: var(--accent); color: var(--paper); }

/* Hero homepage */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 120px var(--gutter) 60px;
  position: relative;
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.45;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max-w);
  width: 100%;
  margin: 0 auto;
}

.hero-meta {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-top: 80px;
  gap: 40px;
}

@media (max-width: 800px) {
  .hero-meta { flex-direction: column; align-items: flex-start; gap: 24px; }
}

/* Cards */
.work-card {
  position: relative;
  cursor: pointer;
  display: block;
}

.work-card-media {
  position: relative;
  overflow: hidden;
  background: var(--ink-08);
  aspect-ratio: 4/3;
}

.work-card-media-tall { aspect-ratio: 3/4; }
.work-card-media-wide { aspect-ratio: 16/9; }

.work-card-media img,
.work-card-media iframe,
.work-card-media .media-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.work-card:hover .work-card-media img,
.work-card:hover .work-card-media .media-placeholder {
  transform: scale(1.04);
}

.work-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-top: 16px;
  gap: 16px;
}

.work-card-title {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.work-card-num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--ink-60);
}

/* Placeholder for mail/imagery */
.media-placeholder {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--paper-on-ink-60);
  background:
    repeating-linear-gradient(
      45deg,
      rgba(255,255,255,0.02) 0,
      rgba(255,255,255,0.02) 14px,
      rgba(255,255,255,0.06) 14px,
      rgba(255,255,255,0.06) 15px
    ),
    var(--ink);
}

.media-placeholder.paper {
  background:
    repeating-linear-gradient(
      45deg,
      rgba(14,14,18,0.025) 0,
      rgba(14,14,18,0.025) 14px,
      rgba(14,14,18,0.05) 14px,
      rgba(14,14,18,0.05) 15px
    ),
    var(--paper-deep);
  color: var(--ink-60);
}

.media-placeholder-label {
  position: relative;
  z-index: 2;
  padding: 6px 10px;
  background: var(--paper);
  color: var(--ink);
  border-radius: 2px;
}

/* Page header */
.page-header {
  padding: 180px var(--gutter) 80px;
  background: var(--paper);
  position: relative;
}

.page-header-ink {
  background: var(--ink);
  color: var(--paper);
}

.page-header-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: end;
}

@media (max-width: 800px) {
  .page-header-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* Marquee */
.marquee {
  display: flex;
  gap: 60px;
  animation: marquee 60s linear infinite;
  white-space: nowrap;
  width: max-content;
  font-family: var(--font-serif);
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

.marquee-wrap {
  overflow: hidden;
  padding: 24px 0;
  border-top: 1px solid var(--paper-on-ink-12);
  border-bottom: 1px solid var(--paper-on-ink-12);
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 1s var(--ease-soft), transform 1s var(--ease-soft);
}
.reveal-in {
  opacity: 1;
  transform: translateY(0);
}

/* Tweaks panel hooks */
[data-tweak-fontmode="serif-heavy"] .display-xl,
[data-tweak-fontmode="serif-heavy"] .display-lg,
[data-tweak-fontmode="serif-heavy"] .display-md,
[data-tweak-fontmode="serif-heavy"] .display-sm {
  font-weight: 400;
}

[data-tweak-mode="grotesk"] .display-xl,
[data-tweak-mode="grotesk"] .display-lg,
[data-tweak-mode="grotesk"] .display-md,
[data-tweak-mode="grotesk"] .display-sm {
  font-family: var(--font-sans);
  font-weight: 500;
  letter-spacing: -0.04em;
}

[data-tweak-accent="electric"] { --accent: #2347E8; --accent-glow: #5575FF; }
[data-tweak-accent="amber"] { --accent: #C8651A; --accent-glow: #E8923E; }
[data-tweak-accent="forest"] { --accent: #1A5E3F; --accent-glow: #3E8B6A; }
[data-tweak-accent="violet"] { --accent: #5B2EA8; --accent-glow: #8A5FD4; }

/* Utility */
.flex { display: flex; }
.flex-col { display: flex; flex-direction: column; }
.gap-1 { gap: 8px; }
.gap-2 { gap: 16px; }
.gap-3 { gap: 24px; }
.gap-4 { gap: 32px; }
.gap-6 { gap: 48px; }
.items-center { align-items: center; }
.items-end { align-items: flex-end; }
.justify-between { justify-content: space-between; }
.text-center { text-align: center; }
.uppercase { text-transform: uppercase; }
.mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 32px; } .mt-6 { margin-top: 48px; } .mt-8 { margin-top: 64px; } .mt-10 { margin-top: 80px; }
.mb-1 { margin-bottom: 8px; } .mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 24px; } .mb-4 { margin-bottom: 32px; } .mb-6 { margin-bottom: 48px; } .mb-8 { margin-bottom: 64px; }
.opacity-60 { opacity: 0.6; }
.opacity-40 { opacity: 0.4; }

/* ---------- Section structure ----------
   The SECTION NAME is the dominant element (huge, sans, all-caps).
   Section numbers shrink to a tiny tag in the corner. */
.sec-intro {
  display: grid;
  grid-template-columns: 2.2fr 1fr;
  gap: 64px;
  align-items: end;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--ink-12);
  margin-bottom: 56px;
}
.sec-intro-light { border-bottom-color: var(--paper-on-ink-12); }

.sec-intro-main { position: relative; }

.sec-intro-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-40);
  display: inline-block;
  margin-bottom: 18px;
}
.sec-intro-tag-light { color: var(--paper-on-ink-30); }

/* The big headline — section name, set massive */
.sec-intro-headline {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: clamp(56px, 9vw, 148px);
  line-height: 0.92;
  letter-spacing: -0.045em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0;
}
.sec-intro-headline-light { color: var(--paper); }

/* Compact variant — smaller headline + tighter spacing for sections where the giant
   heading creates too much negative space (e.g. one-line kickers) */
.sec-intro-compact { padding-bottom: 20px; margin-bottom: 32px; grid-template-columns: auto 1fr; gap: 48px; }
.sec-intro-headline-compact {
  font-size: clamp(48px, 6.4vw, 96px);
  letter-spacing: -0.025em;
  line-height: 1;
  white-space: nowrap;
}

/* Optional tagline (italic serif), sits under the big headline */
.sec-intro-tagline {
  font-family: var(--font-serif);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(20px, 1.8vw, 28px);
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--ink-60);
  margin-top: 20px;
  max-width: 720px;
}
.sec-intro-tagline-light { color: var(--paper-on-ink-60); }

.sec-intro-sub {
  font-size: clamp(15px, 1.05vw, 17px);
  line-height: 1.5;
  color: var(--ink-60);
  max-width: 360px;
  justify-self: end;
}
.sec-intro-sub-light { color: var(--paper-on-ink-60); }

@media (max-width: 900px) {
  .sec-intro { grid-template-columns: 1fr; gap: 24px; padding-bottom: 24px; margin-bottom: 40px; }
  .sec-intro-sub { justify-self: start; max-width: 520px; }
}

/* ── Responsive sec-intro headlines ──────────────────────────────
   Base is clamp(56px, 9vw, 148px); 118px inline was overriding it
   everywhere. Now CSS controls the size at all breakpoints.
   ──────────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .sec-intro-headline         { font-size: clamp(40px, 10vw, 60px); }
  .sec-intro-headline-compact { font-size: clamp(32px, 8vw, 44px); white-space: normal; }
}
@media (max-width: 480px) {
  .sec-intro-headline         { font-size: clamp(30px, 9vw, 42px); }
  .sec-intro-headline-compact { font-size: clamp(26px, 7.5vw, 34px); }
}

/* Scoped override — "WHAT WE DO" wrapped to two lines at the default
   148px cap because its 2.2fr column tops out around 870px on a 1440 shell.
   Drop the cap so it always fits on one desktop line; release nowrap on
   mobile so phones wrap naturally. Other section headlines untouched. */
#disciplines .sec-intro-headline {
  font-size: clamp(56px, 8vw, 120px);
  white-space: nowrap;
}
@media (max-width: 768px) {
  #disciplines .sec-intro-headline { white-space: normal; }
}


/* ═══════════════════════════════════════════════════════════════
   SINGLE-PAGE FLOW — proportions, sections, components
   ═══════════════════════════════════════════════════════════════ */

/* Hero — tighter & more proportioned */
.hero {
  min-height: 100vh;
  background: var(--ink);
  color: var(--paper);
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 120px var(--gutter) 72px;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; }
.hero-content { position: relative; width: 100%; max-width: var(--max-w); margin: 0 auto; }
.hero-meta {
  margin-top: 56px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: end;
}
.hero-stats {
  margin-top: 64px;
  padding-top: 28px;
  border-top: 1px solid var(--paper-on-ink-12);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.hero-stat-num {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(32px, 3.4vw, 56px);
  line-height: 1;
  letter-spacing: -0.025em;
  color: var(--paper);
}
@media (max-width: 800px) {
  .hero-meta { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}

/* 02 — Disciplines */
.disciplines-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  border-top: 1px solid var(--ink-12);
  border-bottom: 1px solid var(--ink-12);
}
.discipline-card {
  padding: 40px 28px 48px;
  border-right: 1px solid var(--ink-12);
  background: transparent;
  transition: background 0.4s var(--ease-soft);
  display: flex;
  flex-direction: column;
  gap: 0;
  min-height: 280px;
}
.discipline-card:last-child { border-right: none; }
.discipline-card:hover { background: var(--paper-warm); }
.discipline-num {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--ink-60);
  margin-bottom: 32px;
}
.discipline-title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(28px, 2.4vw, 40px);
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.discipline-body {
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink-60);
  margin-top: auto;
}
@media (max-width: 1100px) {
  .disciplines-grid { grid-template-columns: repeat(2, 1fr); }
  .discipline-card:nth-child(2n) { border-right: none; }
  .discipline-card:not(:nth-last-child(-n+2)) { border-bottom: 1px solid var(--ink-12); }
}
@media (max-width: 600px) {
  .disciplines-grid { grid-template-columns: 1fr; }
  .discipline-card { border-right: none; border-bottom: 1px solid var(--ink-12); min-height: 200px; }
  .discipline-card:last-child { border-bottom: none; }
}

/* 03 — Showcase carousels */
.showcase {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.showcase-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
}
.showcase-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(28px, 2.6vw, 44px);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-top: 12px;
}
.showcase-controls {
  display: flex;
  align-items: center;
  gap: 16px;
}
.showcase-counter {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.14em;
  color: var(--ink-60);
}
.showcase-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--ink-12);
  background: transparent;
  color: var(--ink);
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}
.showcase-btn:hover:not(:disabled) { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.showcase-btn:disabled { opacity: 0.25; cursor: not-allowed; }

.showcase-viewport {
  overflow: hidden;
  width: 100%;
}
.showcase-track {
  display: flex;
  gap: 24px;
  transition: transform 0.6s var(--ease);
}
.showcase-slide-video {
  flex: 0 0 calc(66.66% - 8px);
}
.showcase-slide-mail {
  flex: 0 0 calc(33.33% - 16px);
}
.showcase-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--ink);
  overflow: hidden;
}
.showcase-media-mail {
  /* Fixed ratio so every mail piece's image area is the same height —
     keeps the caption block below it on a consistent baseline. cover-fit
     crops; paper-deep fills any letterboxed edge so no paper bleed shows. */
  aspect-ratio: 4 / 5;
  background: var(--paper-deep);
}
.showcase-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.92;
  transition: opacity 0.3s, transform 0.6s var(--ease);
}
.showcase-slide:hover .showcase-media img { transform: scale(1.03); opacity: 1; }
.showcase-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(14,14,18,0.55) 100%);
  pointer-events: none;
}
.showcase-play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 64px; height: 64px;
  border-radius: 50%;
  border: 1px solid rgba(242,239,232,0.5);
  background: rgba(14,14,18,0.4);
  color: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
  transition: all 0.3s;
}
.showcase-slide:hover .showcase-play { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.showcase-meta-bottom {
  position: absolute;
  bottom: 16px; left: 16px; right: 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--paper);
  opacity: 0.85;
  text-transform: uppercase;
  display: flex;
  justify-content: space-between;
}
.showcase-caption {
  /* Reserved text block — min-height holds room for up to 2 lines of name
     + 2 lines of subtitle so a long entry (e.g. NYSUT) never makes its card
     taller than the rest. Text is top-aligned for a consistent baseline. */
  margin-top: 16px;
  min-height: 90px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}
.showcase-caption-client {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.showcase-caption-race {
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.4;
  letter-spacing: 0.12em;
  color: var(--ink-60);
  text-transform: uppercase;
  text-align: left;
}
@media (max-width: 900px) {
  .showcase-slide-video { flex: 0 0 100%; }
  .showcase-slide-mail { flex: 0 0 calc(50% - 12px); }
}

/* 04 — Compact map */
.map-wrap {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 40px;
  align-items: start;
}
.map-board {
  background: var(--paper);
  border: 1px solid var(--ink-12);
  padding: 28px;
}
.map-board-head {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
}
.map-grid {
  display: grid;
  gap: 4px;
}
.map-cell {
  aspect-ratio: 1 / 1;
  border: none;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: default;
  transition: transform 0.15s, outline 0.15s;
}
.map-cell-empty { background: transparent; }
.map-cell-off { background: oklch(94% 0.005 80); color: var(--ink-40); }
.map-cell-on {
  background-color: var(--map-tile, oklch(47% 0.085 258));
  /* Faint 45° diagonal lines in the same blue ink family — texture only,
     must never compete with the state-abbrev text. */
  background-image: repeating-linear-gradient(
    45deg,
    oklch(20% 0.09 258 / 0.12) 0,
    oklch(20% 0.09 258 / 0.12) 0.9px,
    transparent 0.9px,
    transparent 6px
  );
  color: var(--ink);
  cursor: pointer;
  position: relative;
}
.map-cell-shade-L { --map-tile: oklch(63% 0.062 253); }
.map-cell-shade-M { --map-tile: oklch(47% 0.085 258); }
.map-cell-shade-D { --map-tile: oklch(40% 0.09 260); }
.map-cell-on:hover { transform: scale(1.12); outline: 2px solid var(--accent); z-index: 5; }
.map-cell-active {
  background-color: var(--ink) !important;
  background-image: none !important;
  color: var(--paper) !important;
  outline: 2px solid var(--accent) !important;
}
.map-legend {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--ink-12);
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-60);
  flex-wrap: wrap;
}
.map-legend-hint { margin-left: auto; }

.map-detail {
  position: sticky;
  top: 100px;
  padding: 32px 28px;
  background: var(--paper-warm);
  border: 1px solid var(--ink-12);
  min-height: 480px;
  display: flex;
  flex-direction: column;
}
.map-detail-code {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 88px;
  line-height: 0.9;
  letter-spacing: -0.04em;
  margin-top: 8px;
}
.map-detail-stat {
  margin-top: 24px;
  padding: 16px 0;
  border-top: 1px solid var(--ink-12);
  border-bottom: 1px solid var(--ink-12);
  display: flex;
  align-items: baseline;
  gap: 16px;
}
.map-detail-stat-num {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 40px;
  line-height: 1;
  letter-spacing: -0.02em;
}
.map-detail-stat-num-sm { font-size: 28px; }
.map-detail-list {
  margin-top: 20px;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-family: var(--font-serif);
  font-size: 16px;
  letter-spacing: -0.005em;
}
.map-detail-list li { padding: 6px 0; border-bottom: 1px solid var(--ink-08); }
.map-detail-empty {
  margin-top: 16px;
  font-family: var(--font-serif);
  font-size: 22px;
  font-style: italic;
  color: var(--ink-60);
  flex-grow: 1;
}
.map-detail-stats {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--ink-12);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 1000px) {
  .map-wrap { grid-template-columns: 1fr; }
  .map-detail { position: static; min-height: 0; }
}
@media (max-width: 768px) {
  .map-detail-stats { grid-template-columns: 1fr; gap: 8px; }
}

/* Contact page — mailto display + copy link */
.contact-mailto-display {
  display: inline-block;
  margin-top: 24px;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(28px, 4vw, 56px);
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--ink-12);
  padding-bottom: 6px;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
  word-break: break-word;
}
.contact-mailto-display:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}
.contact-copy-link {
  display: inline-block;
  margin-top: 32px;
  padding: 0;
  background: none;
  border: 0;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-60);
  cursor: pointer;
  transition: color 0.2s var(--ease);
}
.contact-copy-link:hover { color: var(--ink); }

/* 06 — Testimonials + Awards */
.quote-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}
.quote-card {
  padding: 36px 32px;
  background: rgba(242,239,232,0.04);
  border: 1px solid var(--paper-on-ink-12);
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-height: 280px;
}
.quote-mark {
  font-family: var(--font-serif);
  font-size: 64px;
  line-height: 0.6;
  font-weight: 300;
  color: var(--accent-glow);
  height: 32px;
}
.quote-text {
  flex: 1;
  font-family: var(--font-serif);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(22px, 1.7vw, 30px);
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: var(--paper);
}
.quote-attr {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--paper-on-ink-60);
}
@media (max-width: 800px) { .quote-grid { grid-template-columns: 1fr; } }

.awards-divider {
  height: 1px;
  background: var(--paper-on-ink-12);
  margin: 80px 0 56px;
}
.awards-head { margin-bottom: 24px; }
.awards-list { display: flex; flex-direction: column; }
.award-row {
  display: grid;
  grid-template-columns: 100px 280px 1fr;
  gap: 32px;
  align-items: baseline;
  padding: 22px 0;
  border-bottom: 1px solid var(--paper-on-ink-12);
}
.award-row:first-child { border-top: 1px solid var(--paper-on-ink-12); }
.award-year {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 28px;
  letter-spacing: -0.02em;
  color: var(--paper);
}
.award-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 22px;
  font-style: italic;
  letter-spacing: -0.01em;
  color: var(--paper);
}
.award-sub {
  font-size: 16px;
  color: var(--paper-on-ink-60);
  text-align: left;
}
@media (max-width: 800px) {
  .award-row { grid-template-columns: 80px 1fr; row-gap: 6px; }
  .award-sub { grid-column: 1 / -1; }
}

/* 07 — Team grid (uniform) */
.team-grid-home {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  row-gap: 48px;
}
.team-card a { display: block; color: inherit; }
.team-card-button {
  display: block;
  width: 100%;
  padding: 0;
  margin: 0;
  background: none;
  border: none;
  color: inherit;
  text-align: left;
  font: inherit;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.team-card-button:focus-visible {
  outline: 2px solid var(--accent, var(--ink));
  outline-offset: 4px;
}
.team-card:has(.team-card-button:hover) .team-card-photo img,
.team-card-button:hover .team-card-photo img { transform: scale(1.03); filter: grayscale(0); }
.team-card-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--paper-warm);
  overflow: hidden;
}
.team-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
  filter: grayscale(0.15);
}
.team-card:hover .team-card-photo img { transform: scale(1.03); filter: grayscale(0); }
.team-card-info {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.team-card-name {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 20px;
  letter-spacing: -0.01em;
}
.team-card-title {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-60);
}
@media (max-width: 1000px) { .team-grid-home { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px)  { .team-grid-home { grid-template-columns: repeat(2, 1fr); } }

/* Section padding consistency — proportional vertical rhythm.
   Tightened to condense the overall page. */
.section { padding: clamp(72px, 8vh, 110px) 0; }

/* ═══════════════════════════════════════════════════════════════
   HERO — animated kinetic typography + popups
   ═══════════════════════════════════════════════════════════════ */
.hero-eyebrow-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}
.hero-tag-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent-glow);
  box-shadow: 0 0 12px var(--accent-glow);
  animation: hero-pulse 2s ease-in-out infinite;
}
@keyframes hero-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.7); }
}
.hero-status { margin-left: auto; color: var(--paper-on-ink-60); }
@media (max-width: 720px) { .hero-status { display: none; } }

.hero-title { overflow: hidden; padding-top: 0.15em; }
/* Tighter cap than display-xl so "not a coincidence." stays on one line
   at standard desktop widths (1280-1600px). Mobile keeps its own clamp. */
@media (min-width: 769px) {
  .hero-title { font-size: clamp(72px, 10vw, 144px); }
}
.hero-line {
  display: block;
  opacity: 0;
  transform: translateY(40px);
  animation: hero-rise 1s var(--ease) forwards;
}
.hero-line-nowrap { white-space: nowrap; }
@media (max-width: 768px) {
  .hero-line-nowrap { white-space: normal; }
}
.hero-line:nth-child(1) { animation-delay: 0.05s; }
.hero-line:nth-child(2) { animation-delay: 0.18s; }
.hero-line:nth-child(3) { animation-delay: 0.32s; }
@keyframes hero-rise {
  to { opacity: 1; transform: translateY(0); }
}

.hero-rotator {
  font-style: italic;
  font-weight: 300;
  color: var(--accent-glow);
  display: inline-block;
  animation: hero-rotator-in 0.55s var(--ease);
  position: relative;
}
.hero-rotator::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0.06em;
  height: 0.04em;
  background: var(--accent-glow);
  transform-origin: left;
  animation: hero-underline 0.6s 0.1s var(--ease) both;
}
@keyframes hero-rotator-in {
  from { opacity: 0; transform: translateY(0.3em) skewX(-8deg); filter: blur(6px); }
  to   { opacity: 1; transform: translateY(0) skewX(0); filter: blur(0); }
}
@keyframes hero-underline {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

/* Orbital animation */
.hero-orbits { animation: hero-orbit-slow 80s linear infinite; }
.hero-ticks  { animation: hero-orbit-mid 90s linear infinite reverse; }
.hero-ticks-outer { animation: hero-orbit-mid 140s linear infinite; }
@keyframes hero-orbit-slow { to { transform: rotate(360deg); } }
@keyframes hero-orbit-mid  { to { transform: rotate(360deg); } }

.hero-spark {
  animation: hero-spark 4s ease-in-out infinite;
  transform-origin: center;
}
@keyframes hero-spark {
  0%, 100% { opacity: 0.2; }
  50% { opacity: 0.9; }
}

.hero-stat {
  opacity: 0;
  animation: hero-rise 0.8s var(--ease) forwards;
}

/* Hero popups */
.hero-popups {
  position: absolute;
  top: 22%; right: 5%;
  z-index: 3;
  width: 280px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  pointer-events: none;
}
@media (max-width: 1100px) { .hero-popups { display: none; } }
.hero-popup {
  background: rgba(14, 14, 18, 0.7);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border: 1px solid var(--paper-on-ink-12);
  border-left: 2px solid var(--accent-glow);
  padding: 14px 16px;
  opacity: 0;
  transform: translateX(40px);
  animation: hero-popup-in 0.7s var(--ease) forwards, hero-popup-out 0.7s var(--ease) forwards;
  animation-delay: var(--d, 0s), calc(var(--d, 0s) + 6s);
}
.hero-popup {
  animation: hero-popup-cycle 9s var(--ease) infinite;
}
@keyframes hero-popup-cycle {
  0%        { opacity: 0; transform: translateX(40px); }
  6%, 70%   { opacity: 1; transform: translateX(0); }
  78%, 100% { opacity: 0; transform: translateX(-12px); }
}
.hero-popup-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-glow);
  margin-bottom: 4px;
}
.hero-popup-text {
  font-family: var(--font-serif);
  font-size: 15px;
  color: var(--paper);
  letter-spacing: -0.01em;
  line-height: 1.3;
}

/* ═══════════════════════════════════════════════════════════════
   02 — DISCIPLINES (BOLD ROWS)
   ═══════════════════════════════════════════════════════════════ */
.disciplines-bold {
  /* No top border — the .sec-intro above already provides the dividing rule. */
}
.discipline-bold-row {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 32px;
  align-items: baseline;
  /* Horizontal padding kept at 0 so the row's left edge ("01", "02"…) is
     flush with the shell — same x-coordinate as the section headline above. */
  padding: 28px 0;
  border-bottom: 1px solid var(--ink-12);
  cursor: default;
  position: relative;
  transition: padding 0.4s var(--ease-soft), background 0.4s var(--ease-soft);
}
.discipline-bold-row::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--ink);
  transform: scaleY(0);
  transform-origin: bottom;
  /* Fast + symmetric: the transition lives on the base state, so the fill
     animates in on enter and out on leave at the same speed. Kept short
     (~180ms) so rapid row-to-row movement reads as responsive, not stuttery. */
  transition: transform 0.18s var(--ease-soft);
  z-index: 0;
}
.discipline-bold-row:hover::before { transform: scaleY(1); }
.discipline-bold-row:hover { color: var(--paper); }
.discipline-bold-row:hover .discipline-bold-num,
.discipline-bold-row:hover .discipline-bold-body { color: var(--paper-on-ink-60); }
.discipline-bold-row > * { position: relative; z-index: 1; }

.discipline-bold-num {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--ink-40);
  transition: color 0.3s;
}
.discipline-bold-title {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: clamp(40px, 6.5vw, 96px);
  line-height: 0.95;
  letter-spacing: -0.045em;
  text-transform: uppercase;
  color: inherit;
}
.discipline-bold-body {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(18px, 1.4vw, 22px);
  line-height: 1.3;
  color: var(--ink-60);
  transition: color 0.3s;
}
@media (max-width: 800px) {
  .discipline-bold-row {
    grid-template-columns: 1fr;
    gap: 8px;
    /* Keep flush with the shell's left edge at tablet/mobile too. */
    padding: 20px 0;
  }
}

/* ═══════════════════════════════════════════════════════════════
   05 — CASE STUDIES — PHOTO TILE GRID + DETAIL TEMPLATE
   ═══════════════════════════════════════════════════════════════ */

/* ── Tile grid (homepage + work index) ──────────────────────── */
.case-grid-photo {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.case-tile-photo { display: block; }
.case-tile-photo a { display: block; color: inherit; }
.case-tile-photo-media {
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--ink);
  overflow: hidden;
}
.case-tile-photo-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.case-tile-photo:hover .case-tile-photo-media img { transform: scale(1.05); }

.case-tile-photo-caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 18px 22px;
  background: linear-gradient(180deg, transparent 0%, rgba(14,14,18,0.85) 65%);
  color: var(--paper);
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: background 0.35s var(--ease);
}
.case-tile-photo:hover .case-tile-photo-caption {
  background: linear-gradient(180deg, rgba(14,14,18,0.2) 0%, rgba(14,14,18,0.95) 60%);
}
.case-tile-photo-name {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(18px, 1.6vw, 22px);
  letter-spacing: -0.015em;
  line-height: 1.15;
  color: var(--paper);
}
.case-tile-photo-role {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--paper);
  opacity: 0.72;
}
.case-tile-photo-arrow {
  position: absolute;
  right: 22px;
  bottom: 18px;
  font-family: var(--font-mono);
  font-size: 18px;
  color: var(--paper);
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.case-tile-photo:hover .case-tile-photo-arrow {
  opacity: 1;
  transform: translateX(0);
}
@media (hover: none) {
  .case-tile-photo-arrow { display: none; }
  .case-tile-photo-caption,
  .case-tile-photo:hover .case-tile-photo-caption {
    background: linear-gradient(180deg, transparent 0%, rgba(14,14,18,0.88) 60%);
  }
}
@media (max-width: 1000px) { .case-grid-photo { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .case-grid-photo { grid-template-columns: 1fr; gap: 16px; } }

/* ── Detail page — Header (paper-warm) ──────────────────────── */
.case-detail-header {
  background: var(--paper-warm);
  padding: 98px var(--gutter) 80px;
}
.case-detail-back-link {
  display: inline-block;
  margin-top: 24px;
  margin-bottom: 48px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-60);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}
.case-detail-back-link:hover { color: var(--ink); }
.case-detail-back-arrow {
  display: inline-block;
  margin-right: 6px;
  transition: transform 0.2s var(--ease);
}
.case-detail-back-link:hover .case-detail-back-arrow { transform: translateX(-2px); }
.case-detail-header-grid {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) 1.4fr;
  gap: 64px;
  align-items: center;
}
.case-detail-portrait-wrap {
  display: flex;
  justify-content: center;
}
.case-detail-portrait {
  width: 100%;
  max-width: 400px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  overflow: hidden;
  background: var(--ink-12);
}
.case-detail-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.case-detail-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-60);
}
.case-detail-name {
  margin-top: 16px;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(44px, 6vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--accent);
}
.case-detail-role {
  margin-top: 16px;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(18px, 1.8vw, 24px);
  line-height: 1.25;
  color: var(--ink);
}
.case-detail-toplines {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px 40px;
  border-top: 1px solid var(--ink-12);
  padding-top: 32px;
}
.case-detail-topline-label {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-60);
}
.case-detail-topline-value {
  margin-top: 10px;
  font-family: var(--font-serif);
  font-size: 17px;
  line-height: 1.35;
  letter-spacing: -0.005em;
  color: var(--ink);
}
@media (max-width: 900px) {
  .case-detail-header { padding: 84px var(--gutter) 64px; }
  .case-detail-back-link { margin-top: 16px; margin-bottom: 32px; }
  .case-detail-header-grid { grid-template-columns: 1fr; gap: 40px; }
  .case-detail-portrait { max-width: 280px; }
  .case-detail-portrait-wrap { justify-content: flex-start; }
}
@media (max-width: 600px) {
  .case-detail-toplines { grid-template-columns: 1fr; gap: 24px; }
}

/* ── Detail page — Narrative (dark navy band) ───────────────── */
.case-detail-narrative {
  background: var(--ink);
  color: var(--paper);
  padding: 96px var(--gutter);
}
.case-detail-narrative-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}
.case-detail-narrative-headline {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--paper);
  margin: 0 0 24px;
}
.case-detail-narrative-text {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.55;
  color: var(--paper);
  opacity: 0.78;
  margin: 0 0 18px;
}
.case-detail-pull-quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(22px, 2.2vw, 28px);
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--paper);
  margin: 0 0 24px;
}
@media (max-width: 900px) {
  .case-detail-narrative { padding: 72px var(--gutter); }
  .case-detail-narrative-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* ── Detail page — Artifacts (paper) ────────────────────────── */
.case-detail-artifacts {
  background: var(--paper);
  padding: 96px var(--gutter);
}
.case-detail-artifact-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  row-gap: 56px;
}
.case-artifact {
  display: block;
  width: 100%;
  padding: 0;
  margin: 0;
  background: none;
  border: 0;
  text-align: left;
  cursor: pointer;
  color: inherit;
  font: inherit;
}
.case-artifact-media {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  background: var(--ink-12);
  overflow: hidden;
}
.case-artifact-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.case-artifact:hover .case-artifact-media img { transform: scale(1.04); }
.case-artifact-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14,14,18,0.1) 0%, rgba(14,14,18,0.45) 100%);
  pointer-events: none;
}
.case-artifact-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid rgba(242,239,232,0.7);
  background: rgba(14,14,18,0.5);
  color: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(6px);
  transition: transform 0.3s var(--ease), background 0.3s var(--ease);
}
.case-artifact:hover .case-artifact-play {
  transform: translate(-50%, -50%) scale(1.08);
  background: rgba(14,14,18,0.7);
}
.case-artifact-image .case-artifact-media {
  background: var(--paper-warm);
}
.case-artifact-image .case-artifact-media img {
  object-fit: contain;
  padding: 12px;
}
.case-artifact-caption {
  margin-top: 14px;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 14px;
  line-height: 1.4;
  color: var(--ink-60);
}
@media (max-width: 1000px) { .case-detail-artifact-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .case-detail-artifact-grid { grid-template-columns: 1fr; } }

/* ── Detail page — Next case study ──────────────────────────── */
.case-detail-next {
  background: var(--paper-warm);
  border-top: 1px solid var(--ink-12);
}
.case-detail-next-link {
  display: block;
  padding: 56px var(--gutter);
  color: inherit;
  transition: background 0.3s var(--ease);
}
.case-detail-next-link:hover { background: rgba(14,14,18,0.04); }
.case-detail-next-name {
  margin-top: 12px;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(28px, 3.4vw, 44px);
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--ink);
}
.case-detail-next-arrow {
  display: inline-block;
  margin-left: 12px;
  font-family: var(--font-mono);
  font-weight: 400;
  transition: transform 0.3s var(--ease);
}
.case-detail-next-link:hover .case-detail-next-arrow { transform: translateX(8px); }
.case-detail-next-role {
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-60);
}

/* ═══════════════════════════════════════════════════════════════
   06 — AWARDS TICKER (slow horizontal marquee)
   ═══════════════════════════════════════════════════════════════ */
.awards-ticker {
  position: relative;
  margin-top: 8px;
  padding: 36px 0;
  border-top: 1px solid var(--paper-on-ink-12);
  border-bottom: 1px solid var(--paper-on-ink-12);
  overflow: hidden;
  outline: none;
  /* fade masks on left/right edges */
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0,
    #000 80px,
    #000 calc(100% - 80px),
    transparent 100%
  );
          mask-image: linear-gradient(
    to right,
    transparent 0,
    #000 80px,
    #000 calc(100% - 80px),
    transparent 100%
  );
}

.awards-ticker-track {
  display: flex;
  width: max-content;
  animation: awards-ticker-scroll 60s linear infinite;
  will-change: transform;
}
.awards-ticker:hover .awards-ticker-track,
.awards-ticker:focus-within .awards-ticker-track {
  animation-play-state: paused;
}

@keyframes awards-ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.awards-ticker-row {
  list-style: none;
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
  flex-shrink: 0;
}

.awards-ticker-item {
  display: inline-flex;
  align-items: baseline;
  gap: 22px;
  padding: 0 50px;
  white-space: nowrap;
}

.awards-ticker-sep {
  color: var(--paper-on-ink-30);
  font-size: 18px;
  line-height: 1;
  user-select: none;
}

.awards-ticker-year {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.18em;
  color: var(--paper-on-ink-30);
  text-transform: uppercase;
}

.awards-ticker-body {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--paper-on-ink-60);
}

.awards-ticker-category {
  font-family: var(--font-serif);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(22px, 2.2vw, 32px);
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--paper);
}

.awards-ticker-candidate {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--paper-on-ink-60);
}

/* Screen-reader-only static list */
.awards-ticker-sr.visually-hidden,
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 700px) {
  .awards-ticker { padding: 28px 0; }
  .awards-ticker-item { gap: 16px; padding: 0 36px; }
}

@media (prefers-reduced-motion: reduce) {
  .awards-ticker {
    overflow-x: auto;
    -webkit-mask-image: none;
            mask-image: none;
  }
  .awards-ticker-track {
    animation: none;
    transform: none;
  }
  /* Hide the duplicate row so screen-display matches the SR list. */
  .awards-ticker-track > .awards-ticker-row + .awards-ticker-row {
    display: none;
  }
}

/* Tighten quote card padding for condensed feel */
.quote-card { padding: 28px 28px; min-height: 220px; }
.awards-divider { margin: 56px 0 40px; }

/* ═══════════════════════════════════════════════════════════════
   SHOWCASE — cards are buttons (open the video modal)
   ═══════════════════════════════════════════════════════════════ */
.showcase-slide-button {
  appearance: none;
  background: transparent;
  border: 0;
  padding: 0;
  text-align: left;
  color: inherit;
  font: inherit;
  cursor: pointer;
  display: block;
}
.showcase-slide-button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

/* 3-up digital video carousel slide (year-filtered) */
.showcase-slide-video-3 {
  flex: 0 0 calc(33.33% - 10.66px);
  display: flex;
  flex-direction: column;
  gap: 14px;
  appearance: none;
  background: transparent;
  border: 0;
  padding: 0;
  text-align: left;
  color: inherit;
  font: inherit;
  cursor: pointer;
  animation: vgrid-card-in 0.5s var(--ease) both;
}
.showcase-slide-video-3:focus-visible { outline: none; }
.showcase-slide-video-3:focus-visible .showcase-media {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
@media (max-width: 1023px) {
  .showcase-slide-video-3 { flex: 0 0 calc(50% - 8px); }
  .showcase-track { gap: 16px; }
}
@media (max-width: 639px) {
  .showcase-slide-video-3 { flex: 0 0 100%; }
}

/* Tighten the carousel gap to match the slide flex calc */
.vgrid + .showcase-viewport .showcase-track,
.showcase-viewport .showcase-track:has(.showcase-slide-video-3) {
  gap: 16px;
}

/* ═══════════════════════════════════════════════════════════════
   DIGITAL VIDEO GRID — filter pills + responsive 4/2/1 grid
   ═══════════════════════════════════════════════════════════════ */
.vgrid-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 4px 0 28px;
  flex-wrap: wrap;
}
.vgrid-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.vgrid-pill {
  appearance: none;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid var(--ink-12);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: background 0.25s var(--ease-soft), color 0.25s var(--ease-soft), border-color 0.25s var(--ease-soft), transform 0.25s var(--ease-soft);
}
.vgrid-pill:hover { background: var(--paper); border-color: var(--ink-40); }
.vgrid-pill.is-active {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.vgrid-pill:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.vgrid-count {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-60);
}

.vgrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.vgrid-card {
  appearance: none;
  background: transparent;
  border: 0;
  padding: 0;
  text-align: left;
  color: inherit;
  font: inherit;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 14px;
  opacity: 0;
  transform: translateY(6px) scale(0.985);
  animation: vgrid-card-in 0.45s var(--ease) forwards;
}
.vgrid-card:focus-visible { outline: none; }
.vgrid-card:focus-visible .vgrid-media {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
@keyframes vgrid-card-in {
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.vgrid-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--ink);
  overflow: hidden;
  border-radius: 4px;
}
.vgrid-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.92;
  transition: transform 0.6s var(--ease), opacity 0.3s;
}
.vgrid-card:hover .vgrid-media img { transform: scale(1.03); opacity: 1; }
.vgrid-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(14,14,18,0.4) 100%);
  opacity: 0;
  transition: opacity 0.3s var(--ease-soft);
  pointer-events: none;
}
.vgrid-card:hover .vgrid-overlay { opacity: 1; }
.vgrid-play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  width: 52px; height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(242,239,232,0.5);
  background: rgba(14,14,18,0.4);
  color: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.3s var(--ease-soft), transform 0.35s var(--ease);
}
.vgrid-card:hover .vgrid-play {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
}
.vgrid-caption {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.vgrid-title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(17px, 1.3vw, 20px);
  letter-spacing: -0.01em;
  line-height: 1.2;
  color: var(--ink);
}
.vgrid-sub {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-60);
  line-height: 1.45;
}

/* Mobile: play icon always visible at low opacity */
@media (hover: none), (max-width: 768px) {
  .vgrid-play { opacity: 0.7; transform: translate(-50%, -50%) scale(1); }
  .vgrid-overlay { opacity: 1; background: linear-gradient(180deg, transparent 60%, rgba(14,14,18,0.35) 100%); }
}

@media (max-width: 1023px) {
  .vgrid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 639px) {
  .vgrid { grid-template-columns: 1fr; gap: 16px; }
  .vgrid-controls { margin-bottom: 20px; }
}
.vmodal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(14, 14, 18, 0.7);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  animation: vmodal-fade 200ms var(--ease-soft);
}
@keyframes vmodal-fade {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.vmodal {
  position: relative;
  width: 100%;
  max-width: 960px;
  max-height: 90vh;
  overflow-y: auto;
  background: var(--paper);
  color: var(--ink);
  border-radius: 12px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(0,0,0,0.04);
  padding: 28px 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: vmodal-pop 280ms var(--ease);
}
@keyframes vmodal-pop {
  from { opacity: 0; transform: translateY(16px) scale(0.985); }
  to   { opacity: 1; transform: translateY(0)   scale(1); }
}

.vmodal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid var(--ink-12);
  background: var(--paper);
  color: var(--ink);
  font-size: 26px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.2s;
  z-index: 2;
}
.vmodal-close:hover { background: var(--ink); color: var(--paper); transform: rotate(90deg); }
.vmodal-close:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.vmodal-head {
  padding-right: 56px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.vmodal-title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0;
}
.vmodal-sub {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-60);
}

.vmodal-player {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 65vh;
  background: var(--ink);
  overflow: hidden;
  border-radius: 6px;
}
.vmodal-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
  z-index: 0;
}
.vmodal-player iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  z-index: 1;
}

/* Mail-piece variant of the modal: shows an image instead of a video iframe. */
.vmodal-image-wrap {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  border-radius: 6px;
  overflow: hidden;
  min-height: 0;
}
.vmodal-image {
  display: block;
  width: 100%;
  height: auto;
  max-height: 75vh;
  object-fit: contain;
}

@media (max-width: 768px) {
  .vmodal-backdrop { padding: 0; }
  .vmodal {
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: 100vh;   /* override 90vh desktop cap — full viewport on mobile */
    border-radius: 0;
    padding: 20px 16px;
    justify-content: flex-start;
    overflow-y: auto;    /* internal scroll stays on */
  }
  /* Close button: minimum 44×44px touch target, always in thumb reach */
  .vmodal-close {
    position: fixed;
    top: 12px;
    right: 12px;
    width: 44px;
    height: 44px;
    z-index: 10;
  }
  .vmodal-head { padding-right: 60px; }
  .vmodal-player { max-height: 50vh; }  /* cap video on short phones */
  .vmodal-image  { max-height: 65vh; }  /* cap mail image similarly */
}

/* ═══════════════════════════════════════════════════════════════
   TEAM MODAL — full bio popup, reuses .vmodal-backdrop + animations
   ═══════════════════════════════════════════════════════════════ */
.vmodal.team-modal {
  max-width: 1040px;
  padding: 0;
  background: var(--paper);
  color: var(--ink);
  overflow: hidden;
  gap: 0;
}
.team-modal-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  max-height: calc(100vh - 80px);
}
.team-modal-photo {
  background: var(--paper-deep);
  overflow: hidden;
  position: relative;
  min-height: 100%;
}
.team-modal-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.team-modal-body {
  padding: 56px 56px 56px 48px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}
.team-modal-name {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 56px;
  line-height: 1.02;
  letter-spacing: -0.015em;
  margin: 16px 0 0;
}
.team-modal-title {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-60);
  margin-top: 16px;
}
.team-modal-placeholder {
  margin-top: 24px;
  padding: 10px 14px;
  background: var(--paper-warm, var(--paper-deep));
  font-size: 11px;
  font-family: var(--font-mono);
  display: inline-block;
  align-self: flex-start;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-60);
}
.team-modal-bio {
  margin-top: 32px;
}
.team-modal-bio p {
  margin-bottom: 20px;
}
.team-modal-bio p:last-child { margin-bottom: 0; }
.team-modal-email {
  margin-top: 40px;
  align-self: flex-start;
}

/* Make the close button visible against paper bg */
.team-modal .vmodal-close {
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--ink-12, rgba(0,0,0,0.12));
  z-index: 3;
}
.team-modal .vmodal-close:hover {
  background: var(--ink);
  color: var(--paper);
}

@media (max-width: 860px) {
  .team-modal-grid {
    grid-template-columns: 1fr;
    max-height: none;
  }
  .team-modal-photo {
    aspect-ratio: 4 / 3;
    min-height: 0;
  }
  .team-modal-body {
    padding: 40px 28px;
  }
  .team-modal-name {
    font-size: 38px;
  }
}
@media (max-width: 768px) {
  .vmodal.team-modal {
    border-radius: 0;
    height: 100%;
    max-width: none;
  }
  .team-modal-grid {
    height: 100%;
    overflow-y: auto;
    display: block;
  }
}
