/* ============================================================
   Mark Henry Phillips — design system
   ============================================================ */

:root {
  --bg: oklch(0.975 0.006 80);
  --bg-soft: oklch(0.955 0.008 80);
  --bg-card: oklch(0.99 0.004 80);
  --ink: oklch(0.20 0.012 80);
  --ink-soft: oklch(0.42 0.012 80);
  --ink-mute: oklch(0.62 0.010 80);
  --rule: oklch(0.88 0.008 80);
  --rule-soft: oklch(0.92 0.006 80);
  --accent: oklch(0.58 0.14 45);
  --accent-ink: oklch(0.99 0 0);

  --serif: "Source Serif 4", "Iowan Old Style", Georgia, serif;
  --sans: "Inter Tight", "Inter", -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --maxw: 1280px;
  --pad: clamp(20px, 4vw, 56px);

  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 14px;
}

[data-theme="dark"] {
  --bg: oklch(0.16 0.008 80);
  --bg-soft: oklch(0.20 0.010 80);
  --bg-card: oklch(0.22 0.010 80);
  --ink: oklch(0.96 0.006 80);
  --ink-soft: oklch(0.78 0.010 80);
  --ink-mute: oklch(0.58 0.012 80);
  --rule: oklch(0.32 0.010 80);
  --rule-soft: oklch(0.26 0.010 80);
  --accent: oklch(0.72 0.15 45);
  --accent-ink: oklch(0.16 0.008 80);
}

* { box-sizing: border-box; }

html, body {
  margin: 0; padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body[data-pairing="modern"] { --serif: "Inter Tight", -apple-system, sans-serif; }
body[data-pairing="classic"] { --serif: "Source Serif 4", Georgia, serif; --sans: "Inter Tight", sans-serif; }
body[data-pairing="mono"] { --serif: "JetBrains Mono", ui-monospace, monospace; --sans: "Inter Tight", sans-serif; }

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

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

.display {
  font-family: var(--serif);
  font-weight: 380;
  letter-spacing: -0.025em;
  line-height: 0.98;
  font-size: clamp(48px, 9vw, 152px);
  margin: 0;
}
.display em { font-style: italic; font-weight: 380; color: var(--accent); }

h2.section-title {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.02em;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.02;
  margin: 0;
}

h3 {
  font-family: var(--serif);
  font-weight: 420;
  letter-spacing: -0.015em;
  font-size: 22px;
  line-height: 1.15;
  margin: 0 0 6px;
}

p { margin: 0 0 1em; }
.lede {
  font-family: var(--serif);
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.45;
  font-weight: 380;
  color: var(--ink);
  letter-spacing: -0.005em;
  max-width: 38ch;
}

.mono { font-family: var(--mono); }

/* ---------- layout ---------- */
.shell { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); }

section {
  padding: clamp(60px, 8vw, 110px) 0;
  border-top: 1px solid var(--rule);
}
section:first-of-type { border-top: none; }

.section-head {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: clamp(20px, 4vw, 60px);
  margin-bottom: clamp(40px, 5vw, 64px);
  align-items: end;
}
.section-head .label {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.section-head .label .num { display: block; margin-bottom: 6px; color: var(--ink); }

@media (max-width: 720px) {
  .section-head { grid-template-columns: 1fr; gap: 16px; }
}

/* ---------- nav ---------- */
.topnav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in oklab, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rule-soft);
}
.topnav .row {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 14px var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--serif); font-size: 21px;
  letter-spacing: -0.015em; font-weight: 420;
}
.brand .mark {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--ink);
  position: relative;
  flex: 0 0 auto;
}
.brand .mark::after { content: ""; position: absolute; inset: 6px; border-radius: 50%; background: var(--bg); }
.brand .mark::before { content: ""; position: absolute; inset: 11px; border-radius: 50%; background: var(--accent); }

.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a {
  font-size: 13px;
  color: var(--ink-soft);
  letter-spacing: 0.01em;
  transition: color 120ms ease;
  position: relative;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a.active { color: var(--ink); }
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: -6px;
  height: 1px;
  background: var(--accent);
}

.nav-utility { display: flex; gap: 18px; align-items: center; }
.nav-links-sm { gap: 18px; }
.nav-links-sm a { font-size: 12px; color: var(--ink-mute); }
.nav-links-sm a:hover { color: var(--ink); }
.nav-links-sm a.active { color: var(--ink); }

@media (max-width: 720px) {
  .nav-utility .nav-links-sm { display: none; }
}

/* ---------- mobile nav safety (≤560px) ---------- */
@media (max-width: 560px) {
  .topnav .row { gap: 12px; padding-left: 16px; padding-right: 16px; }
}

/* ---------- hamburger + mobile drawer ---------- */
.nav-hamburger {
  display: none;
  background: transparent;
  border: none;
  padding: 8px;
  cursor: pointer;
  color: var(--ink);
  margin-left: auto;
}
.hamburger-icon {
  display: block;
  position: relative;
  width: 22px;
  height: 16px;
}
.hamburger-icon span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.15s ease, top 0.2s ease;
}
.hamburger-icon span:nth-child(1) { top: 0; }
.hamburger-icon span:nth-child(2) { top: 7px; }
.hamburger-icon span:nth-child(3) { top: 14px; }
.hamburger-icon.open span:nth-child(1) { top: 7px; transform: rotate(45deg); }
.hamburger-icon.open span:nth-child(2) { opacity: 0; }
.hamburger-icon.open span:nth-child(3) { top: 7px; transform: rotate(-45deg); }

.mobile-drawer {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100;
  background: color-mix(in oklab, var(--bg) 30%, transparent);
  backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.mobile-drawer.open {
  opacity: 1;
  pointer-events: auto;
}
.mobile-drawer-inner {
  position: absolute;
  top: 0; right: 0;
  width: min(86vw, 360px);
  height: 100vh;
  background: var(--bg);
  border-left: 1px solid var(--rule);
  padding: 80px 32px 32px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  transform: translateX(100%);
  transition: transform 0.25s ease;
  box-sizing: border-box;
}
.mobile-drawer.open .mobile-drawer-inner { transform: translateX(0); }
.mobile-drawer-links {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.mobile-drawer-links a {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.01em;
}
.mobile-drawer-links a.sm {
  font-size: 16px;
  color: var(--ink-soft);
}
.mobile-drawer-links a.active { color: var(--accent); }
.mobile-drawer-rule {
  height: 1px;
  background: var(--rule);
  margin: 4px 0;
}
.mobile-drawer-theme {
  align-self: flex-start;
  background: transparent;
  border: 1px solid var(--rule);
  color: var(--ink);
  padding: 10px 18px;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
}

@media (max-width: 720px) {
  .topnav .row .nav-links,
  .topnav .row .nav-utility { display: none; }
  .nav-hamburger { display: flex; align-items: center; justify-content: center; }
  .mobile-drawer { display: block; }
}

.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-size: 13px;
  background: transparent;
  transition: background 150ms ease, color 150ms ease;
}
.nav-cta:hover { background: var(--ink); color: var(--bg); }
.nav-cta .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

.windhill-cta {
  border-color: var(--rule);
  color: var(--ink-soft);
}
.windhill-cta:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }

@media (max-width: 980px) {
  .windhill-cta { display: none; }
}

body[data-nav="centered"] .topnav .row { justify-content: center; flex-wrap: wrap; }
body[data-nav="centered"] .brand { display: none; }
body[data-nav="serif"] .nav-links a { font-family: var(--serif); font-size: 16px; font-weight: 400; }

/* ---------- HOMEPAGE (v3 — contact sheet + services + Light Box feature) ---------- */
.home { padding-top: clamp(28px, 3vw, 48px); padding-bottom: 0; }
.home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(36px, 5vw, 88px);
  align-items: stretch;
  padding-bottom: clamp(56px, 7vw, 96px);
}
@media (max-width: 960px) {
  .home-hero { grid-template-columns: 1fr; gap: 48px; }
}

/* contact sheet — NYT-style: pure grayscale plate, hairline gaps, single composition */
.cs-wrap {
  position: relative;
  align-self: start;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  min-width: 0;
  padding-top: clamp(20px, 2.4vw, 36px);
}
.cs-grid {
  aspect-ratio: 1;
  width: 100%;
  max-width: clamp(300px, 32vw, 440px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 1fr);
  gap: 1px;
  padding: 0;
  background: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 0;
  box-shadow: 0 24px 48px -28px rgba(0,0,0,0.35);
}
@media (max-width: 960px) {
  .cs-wrap { justify-content: center; padding-top: 0; }
  .cs-grid { max-width: 420px; }
}
.cs-cell {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  min-width: 0;
  min-height: 0;
}
.cs-cell img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  filter: grayscale(1) contrast(1.04);
}
/* dark mode tweaks the plate so the grayscale still feels considered */
[data-theme="dark"] .cs-cell img { filter: grayscale(1) contrast(1.02) brightness(0.95); }
/* legacy hover/caption rules removed — the sheet is a static design element */

/* MHP wax-seal mark removed per design feedback. */

/* SERVICES on the right */
.home-hero .home-services {
  display: flex;
  flex-direction: column;
  align-self: stretch;
  padding-top: 4px;
}
.home-hero .home-services .services-overline {
  display: block;
  font-family: var(--serif);
  font-size: clamp(14px, 1.1vw, 16px);
  font-weight: 380;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent);
  text-align: left;
  margin: 0 0 clamp(14px, 1.4vw, 20px);
  padding: 0;
  align-self: flex-start;
  width: 100%;
  line-height: 1;
}
.home-hero .svc-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto auto;
  align-items: baseline;
  column-gap: 16px;
  row-gap: 6px;
  padding: clamp(18px, 2.2vw, 28px) 0;
  border-top: 1px solid var(--rule-soft);
  text-decoration: none;
  color: var(--ink);
  transition: color 200ms ease;
}
.home-hero .svc-row:first-of-type { border-top: 1px solid var(--rule); }
.home-hero .svc-row:last-child { border-bottom: 1px solid var(--rule); }
.home-hero .svc-row:hover { color: var(--accent); }
.home-hero .svc-row:hover .svc-arrow { transform: translate(4px, -4px); color: var(--accent); }

/* ---------- Light Box feature (option B: contained editorial feature) ---------- */
.lb-feature {
  display: grid;
  grid-template-columns: minmax(0, 360px) minmax(0, 1fr);
  column-gap: clamp(48px, 6vw, 96px);
  align-items: center;
  padding: clamp(80px, 9vw, 128px) 0;
  border-top: 1px solid var(--rule);
}
@media (max-width: 880px) {
  .lb-feature {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: clamp(56px, 10vw, 88px) 0;
  }
}
.lb-feature .lb-cover {
  aspect-ratio: 1;
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--rule-soft);
  box-shadow: 0 30px 60px -30px rgba(0,0,0,0.3);
  width: 100%;
  max-width: 360px;
  justify-self: start;
  align-self: center;
}
@media (max-width: 880px) {
  .lb-feature .lb-cover { max-width: 320px; justify-self: start; }
}
.lb-feature .lb-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lb-feature .lb-info {
  display: flex; flex-direction: column;
  gap: clamp(18px, 1.8vw, 26px);
  max-width: 560px;
}
.lb-feature .lb-flag {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent);
  align-self: flex-start;
}
.lb-feature .lb-flag .pulse {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 var(--accent);
  animation: lb-pulse 2.2s ease-out infinite;
}
.lb-feature .lb-title {
  font-family: var(--serif);
  font-size: clamp(52px, 6.4vw, 84px);
  line-height: 0.94;
  letter-spacing: -0.03em;
  font-weight: 380;
  margin: 0;
}
.lb-feature .lb-title em { font-style: italic; color: var(--accent); font-weight: 380; }
.lb-feature .lb-sub {
  font-family: var(--serif);
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0;
  max-width: 46ch;
}
/* CTA row -> stacked column. Player on its own row, Subscribe below. */
.lb-feature .lb-cta-row {
  display: flex; flex-direction: column; align-items: flex-start;
  gap: 16px;
  margin-top: 8px;
  width: 100%;
}
.lb-feature .lb-cta-player {
  width: 100%;
  max-width: 460px;
  display: flex;
}
.lb-feature .lb-cta-player .lb-player { width: 100%; margin: 0; flex: 1; }
.lb-feature .lb-btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 24px; border-radius: 999px;
  background: var(--accent); color: var(--accent-ink);
  border: 1px solid var(--accent);
  font-family: var(--mono); font-size: 12px;
  letter-spacing: 0.18em; text-transform: uppercase;
  transition: transform 200ms ease, box-shadow 200ms ease;
  box-shadow: 0 8px 22px -10px color-mix(in oklab, var(--accent) 60%, transparent);
}
.lb-feature .lb-btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 26px -10px color-mix(in oklab, var(--accent) 80%, transparent);
}
.lb-feature .lb-btn-primary span { font-size: 14px; letter-spacing: 0; }

/* ---------- LEGACY HOMEPAGE (kept hidden — superseded by v3) ---------- */
.home {
  min-height: calc(100vh - 56px);
  display: flex;
}
.home section { border-top: none; padding: 0; }
.home main, .home {
  /* dummy */
  flex-direction: column;
}

/* HOME: split-screen layout */
.home-split {
  display: grid !important;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  grid-template-rows: auto auto;
  gap: clamp(36px, 5vw, 88px);
  padding-top: clamp(28px, 3vw, 44px);
  padding-bottom: clamp(36px, 4vw, 64px);
  align-items: start !important;
}
.home-split > .home-feature { grid-column: 1; grid-row: 1; }
.home-split > .home-services { grid-column: 2; grid-row: 1; }
.home-split > .home-foot { grid-column: 1 / -1; grid-row: 2; }
@media (max-width: 960px) {
  .home-split { grid-template-columns: 1fr; gap: 44px; align-items: stretch; }
}
.home-feature { display: flex; flex-direction: column; gap: clamp(18px, 1.8vw, 24px); padding-top: 38px !important; }
.home-feature .lb-flag {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent);
  align-self: flex-start;
}
.home-feature .lb-flag .pulse {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 var(--accent);
  animation: lb-pulse 2.2s ease-out infinite;
}
@keyframes lb-pulse {
  0%   { box-shadow: 0 0 0 0 color-mix(in oklab, var(--accent) 60%, transparent); }
  70%  { box-shadow: 0 0 0 10px color-mix(in oklab, var(--accent) 0%, transparent); }
  100% { box-shadow: 0 0 0 0 color-mix(in oklab, var(--accent) 0%, transparent); }
}
.home-feature .lb-art, .hg-feature .lb-art {
  width: 100%;
  max-width: 460px;
  aspect-ratio: 1;
  border-radius: var(--r-md);
  position: relative; overflow: hidden;
  border: 1px solid var(--rule-soft);
  box-shadow: 0 30px 60px -30px rgba(0,0,0,0.3);
}
.hg-feature .lb-sub {
  font-family: var(--serif);
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 6px 0 4px;
  max-width: 460px;
}
.hg-feature .lb-cta-row {
  display: flex !important;
  align-items: stretch;
  gap: 14px;
  flex-wrap: nowrap !important;
  margin-top: 10px;
  max-width: 640px;
}
.hg-feature .lb-cta-player {
  flex: 0 1 460px;
  min-width: 0;
  display: flex;
}
.hg-feature .lb-cta-player .lb-player {
  width: 100%;
  margin: 0;
  flex: 1 1 auto;
  min-width: 0;
}
.hg-feature .lb-cta-row .lb-btn-primary {
  flex: 0 0 auto;
  align-self: stretch;
  display: inline-flex;
  align-items: center;
}
/* right column: first svc-row should NOT double-up the rule (whatido cell already has it) */
.hg-services .svc-row:first-child { border-top: none; }
.hg-services .svc-row:last-child { border-bottom: 1px solid var(--rule); }
/* services overline sits inside its own grid cell now */
.home-grid .services-overline {
  display: block;
  font-family: var(--serif);
  font-size: clamp(14px, 1.1vw, 16px);
  font-weight: 380;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0;
  padding: 0;
  line-height: 1;
}
.home-feature .lb-meta {
  display: flex; flex-direction: column; gap: clamp(14px, 1.4vw, 18px);
  max-width: 480px;
}
.home-feature .lb-sub {
  font-family: var(--serif);
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 4px 0 0;
  max-width: 460px;
  padding-left: 0;
}
.home-feature .lb-cta-row {
  display: flex !important;
  align-items: center;
  gap: 12px;
  flex-wrap: nowrap !important;
  margin-top: 10px;
  max-width: 640px;
  width: 100%;
}
.home-feature .lb-cta-row .lb-player {
  flex: 0 0 460px !important;
  width: 460px !important;
  max-width: 460px;
  min-width: 0 !important;
  margin: 0;
}
.home-feature .lb-cta-row .lb-btn-primary {
  flex: 0 0 auto;
  align-self: center;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  font-size: 11px;
  letter-spacing: 0.14em;
  margin-left: auto;
}
.home-feature .lb-cta-row .lb-btn-primary span { font-size: 12px; }
.home-feature .lb-cta-row .lb-btn { flex: 0 0 auto; }
/* duplicate block below intentionally neutralized */
.home-feature .lb-cta-row.__legacy { flex-wrap: wrap; }
.home-feature .lb-btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 22px; border-radius: 999px;
  background: var(--accent); color: var(--accent-ink);
  border: 1px solid var(--accent);
  font-family: var(--mono); font-size: 12px;
  letter-spacing: 0.16em; text-transform: uppercase;
  text-decoration: none;
  transition: transform 200ms ease, box-shadow 200ms ease;
  box-shadow: 0 8px 22px -10px color-mix(in oklab, var(--accent) 60%, transparent);
}
.home-feature .lb-btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 26px -10px color-mix(in oklab, var(--accent) 80%, transparent);
}
.home-feature .lb-btn-primary span { font-size: 14px; letter-spacing: 0; }
.home-services { display: flex; flex-direction: column; }
.home-services .services-overline {
  display: block;
  font-family: var(--serif);
  font-size: clamp(14px, 1.1vw, 16px);
  font-weight: 380;
  letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--accent);
  text-align: right;
  margin-bottom: clamp(14px, 1.4vw, 20px);
  padding: 0;
}
.svc-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto auto;
  align-items: baseline;
  column-gap: 16px;
  row-gap: 6px;
  padding: clamp(16px, 1.8vw, 24px) 0;
  border-top: 1px solid var(--rule-soft);
  text-decoration: none;
  color: var(--ink);
  transition: color 200ms ease;
}
.svc-row:first-child { border-top: 1px solid var(--rule); }
.svc-row:last-child { border-bottom: 1px solid var(--rule); }
.svc-row:hover { color: var(--accent); }
.svc-row:hover .svc-arrow { transform: translate(4px, -4px); color: var(--accent); }
.svc-name {
  font-family: var(--serif);
  font-weight: 380;
  font-size: clamp(26px, 2.9vw, 42px);
  text-transform: uppercase;
  letter-spacing: -0.005em;
  line-height: 1.02;
  grid-column: 1; grid-row: 1;
}
.svc-arrow {
  grid-column: 2; grid-row: 1;
  font-family: var(--serif);
  font-size: clamp(20px, 2vw, 28px);
  color: var(--ink-mute);
  transition: transform 220ms ease, color 200ms ease;
}
.svc-credits {
  grid-column: 1 / -1; grid-row: 2;
  font-family: var(--mono); font-size: 10.5px;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-mute);
  line-height: 1.5;
}

/* legacy services block (hidden — superseded) */
.services { display: none; }
.services-overline { display: none; }
.services-overline .rule { display: none; }
.service-row {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr) auto;
  align-items: center;
  gap: clamp(24px, 3vw, 56px);
  padding: clamp(20px, 2.4vw, 32px) clamp(4px, 0.8vw, 12px);
  border-top: 1px solid var(--rule-soft);
  text-decoration: none;
  color: var(--ink);
  transition: background 200ms ease, color 200ms ease;
  position: relative;
}
.service-row:first-of-type { border-top: 1px solid var(--rule); }
.service-row:last-child { border-bottom: 1px solid var(--rule); }
.service-row::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0;
  width: 3px; background: var(--accent);
  transform: scaleY(0); transform-origin: center;
  transition: transform 220ms ease;
}
.service-row:hover::before { transform: scaleY(1); }
.service-row:hover { background: var(--bg-soft); }
.service-row:hover .s-name { color: var(--accent); }
.service-row .s-name {
  font-family: var(--serif);
  font-weight: 380;
  font-size: clamp(28px, 3.6vw, 52px);
  letter-spacing: -0.005em;
  text-transform: uppercase;
  line-height: 1;
  transition: color 200ms ease;
}
.service-row .s-credits {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
  line-height: 1.7;
}
.service-row .s-arrow {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  border: 1px solid var(--rule);
  border-radius: 50%;
  color: var(--ink);
  transition: background 200ms ease, color 200ms ease, border-color 200ms ease, transform 220ms ease;
  flex: 0 0 auto;
}
.service-row .s-arrow svg { width: 18px; height: 18px; }
.service-row:hover .s-arrow {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
  transform: translateX(6px);
}
@media (max-width: 760px) {
  .service-row {
    grid-template-columns: 1fr auto;
    gap: 8px 16px;
    padding: 22px 0;
  }
  .service-row .s-name { grid-column: 1; grid-row: 1; }
  .service-row .s-arrow { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
  .service-row .s-credits { grid-column: 1; grid-row: 2; }
}

/* legacy byline (kept hidden — reachable via tweak themes that may target it) */
.home-byline {
  display: none;
  gap: 20px; flex-wrap: wrap;
}
.home-byline .name {
  font-family: var(--serif);
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 400;
  letter-spacing: -0.015em;
  margin: 0;
}
.home-byline .tag {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin: 0;
}

/* ---------- Light Box hero ---------- */
.lightbox-hero {
  border-bottom: 1px solid var(--rule);
  padding: clamp(24px, 3vw, 40px) 0 clamp(28px, 3.4vw, 44px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.55fr);
  gap: clamp(32px, 4.5vw, 72px);
  align-items: center;
}
.lightbox-hero .lb-art { width: 100%; max-width: 380px; justify-self: end; align-self: center; }
.lightbox-hero .lb-art-image { aspect-ratio: 1; overflow: hidden; border-radius: var(--r-md); border: 1px solid var(--rule-soft); position: relative; box-shadow: 0 30px 60px -30px rgba(0,0,0,0.25); }
.lightbox-hero .lb-art-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 880px) {
  .lightbox-hero .lb-art { max-width: 100%; justify-self: stretch; }
}
@media (max-width: 880px) {
  .lightbox-hero { grid-template-columns: 1fr; gap: 32px; }
}
.lightbox-hero .lb-meta {
  display: flex; flex-direction: column; gap: clamp(14px, 1.8vw, 22px);
}
.lightbox-hero .lb-cta-row {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  margin-top: 4px;
}
.lightbox-hero .lb-cta-row .lb-player { flex: 1 1 360px; min-width: 260px; margin-top: 0; }
.lightbox-hero .lb-cta-row .lb-btn { flex: 0 0 auto; }
.lightbox-hero .lb-flag {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent);
  align-self: flex-start;
}
.lightbox-hero .lb-flag .pulse {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 currentColor;
  animation: lbpulse 2s ease-out infinite;
}
@keyframes lbpulse {
  0%   { box-shadow: 0 0 0 0 color-mix(in oklab, var(--accent) 50%, transparent); }
  70%  { box-shadow: 0 0 0 10px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}
.lightbox-hero h1 {
  font-family: var(--serif);
  font-size: clamp(42px, 6.4vw, 88px);
  line-height: 0.92;
  letter-spacing: -0.035em;
  font-weight: 380;
  margin: 0;
}
.lightbox-hero h1 em { font-style: italic; color: var(--accent); font-weight: 380; }
.lightbox-hero .lb-sub {
  font-family: var(--serif);
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.45;
  color: var(--ink-soft);
  font-weight: 380;
  max-width: 38ch;
  margin: 0;
}
.lightbox-hero .lb-credits {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-mute);
  line-height: 1.7;
}
.lightbox-hero .lb-credits strong { color: var(--ink); font-weight: 500; }
.lightbox-hero .lb-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.lightbox-hero .lb-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 20px; border-radius: 999px;
  background: var(--ink); color: var(--bg);
  border: 1px solid var(--ink);
  font-size: 13px; font-weight: 500;
  transition: background 150ms ease, color 150ms ease, border-color 150ms ease;
}
.lightbox-hero .lb-btn:hover { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.lightbox-hero .lb-btn.alt { background: transparent; color: var(--ink); }
.lightbox-hero .lb-btn.alt:hover { background: var(--ink); color: var(--bg); }
.lightbox-hero .lb-btn svg { width: 12px; height: 12px; flex: 0 0 auto; }

.lightbox-hero .lb-art {
  aspect-ratio: 1;
  border-radius: var(--r-md);
  overflow: hidden;
  position: relative;
  background: oklch(0.18 0.02 50);
  border: 1px solid var(--rule-soft);
}
.lb-art { background: oklch(0.18 0.02 50); }
.lb-art .lb-art-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 30% 25%, oklch(0.78 0.18 55 / 0.85), transparent 55%),
    radial-gradient(ellipse at 75% 70%, oklch(0.55 0.20 30 / 0.8), transparent 60%),
    linear-gradient(150deg, oklch(0.22 0.04 40), oklch(0.14 0.02 280));
}
.lb-art .lb-art-grain {
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.07) 1px, transparent 1.2px);
  background-size: 4px 4px;
  mix-blend-mode: overlay;
}
.lb-art .lb-art-title {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: clamp(20px, 3vw, 36px);
  color: oklch(0.97 0.01 80);
}
.lb-art .lb-art-title .top {
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.18em; text-transform: uppercase;
  opacity: 0.7;
  display: flex; justify-content: space-between;
}
.lb-art .lb-art-title .bot {
  font-family: var(--serif);
  font-size: clamp(34px, 4.9vw, 64px);
  line-height: 0.92;
  letter-spacing: -0.025em;
  font-weight: 380;
}
.lb-art .lb-art-title .bot em { font-style: italic; color: oklch(0.85 0.14 55); font-weight: 380; }
.lb-art .lb-art-title .ep {
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.14em; text-transform: uppercase;
  opacity: 0.7; margin-top: 8px;
}

.lightbox-hero .lb-player {
  margin-top: 14px;
}

/* hero variants — legacy hooks, byline already hidden */
body[data-hero="image"] .home-byline,
body[data-hero="reel"] .home-byline { display: none; }

/* discipline directory — the CORE of the home page */
.directory {
  flex: 1 1 auto;
  border-top: 1px solid var(--rule);
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
}
.directory .dir-card {
  border-right: 1px solid var(--rule);
  padding: clamp(28px, 4vw, 48px) clamp(24px, 3vw, 36px);
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 320px;
  position: relative;
  transition: background 200ms ease;
  cursor: pointer;
}
.directory .dir-card:last-child { border-right: none; }
.directory .dir-card:hover { background: var(--bg-soft); }
.directory .dir-card .num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--ink-mute);
}
.directory .dir-card h3 {
  font-family: var(--serif);
  font-size: clamp(28px, 3.5vw, 44px);
  line-height: 1.0;
  letter-spacing: -0.02em;
  font-weight: 380;
  margin: 0;
  max-width: 12ch;
}
.directory .dir-card .desc {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.55;
  max-width: 38ch;
  margin: 0;
}
.directory .dir-card .arrow {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  align-self: flex-start;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 3px;
  transition: color 150ms ease, border-color 150ms ease, gap 150ms ease;
}
.directory .dir-card:hover .arrow { color: var(--accent); border-color: var(--accent); gap: 14px; }
.directory .dir-card .credits {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--ink-mute);
  line-height: 1.7;
  text-transform: uppercase;
  margin-top: 2px;
}

@media (max-width: 820px) {
  .directory { grid-template-columns: 1fr; }
  .directory .dir-card { border-right: none; border-bottom: 1px solid var(--rule); min-height: 0; }
  .directory .dir-card:last-child { border-bottom: none; }
}

.home-foot {
  border-top: 1px solid var(--rule);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-mute);
  flex-wrap: wrap;
  gap: 12px;
}
.home-foot a { color: var(--ink); border-bottom: 1px solid var(--rule); padding-bottom: 2px; }
.home-foot a:hover { color: var(--accent); border-color: var(--accent); }

/* ---------- discipline page header ---------- */
.page-head {
  padding-top: clamp(48px, 6vw, 96px);
  padding-bottom: clamp(40px, 4.5vw, 72px);
}
.page-head .kicker {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin: 0 0 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.page-head .kicker .dot {
  display: inline-block; width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
}

.page-head h1 {
  font-family: var(--serif);
  font-weight: 380;
  letter-spacing: -0.02em;
  line-height: 1.04;
  font-size: clamp(38px, 5.2vw, 76px);
  margin: 0 0 clamp(22px, 2.2vw, 32px);
  max-width: none;
  text-wrap: balance;
}
.page-head h1 em { font-style: normal; color: var(--accent); font-weight: 380; }
.page-head h1 em i { font-style: italic; }
.page-head .lede {
  max-width: none;
  font-size: clamp(20px, 1.7vw, 26px);
  line-height: 1.45;
}
.page-head .lede a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.page-head .lede a:hover { opacity: 0.8; }

/* ---------- soundcloud wrapper ---------- */
.sc-wrap {
  margin-top: 14px;
  border: 1px solid var(--rule);
  border-radius: 14px;
  overflow: hidden;
  background: var(--bg);
}
.sc-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-mute);
  padding: 10px 14px;
  border-bottom: 1px solid var(--rule);
}
.sc-frame { background: var(--bg); padding: 4px; }
.sc-frame iframe { display: block; width: 100%; }
/* SoundCloud's embed has its own dark styling via inverse=false param swap; we leave the iframe alone so album art renders correctly. */

/* ---------- audio player ---------- */
.player {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border: 1px solid var(--rule);
  border-radius: var(--r-md);
  background: var(--bg-card);
  width: 100%;
}
.player .pp {
  flex: 0 0 auto;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--bg);
  border: none;
  display: grid;
  place-items: center;
  transition: background 150ms ease, transform 100ms ease;
}
.player .pp:hover { background: var(--accent); }
.player .pp:active { transform: scale(0.95); }
.player .pp svg { width: 14px; height: 14px; }
.player .meta { flex: 0 0 auto; min-width: 0; max-width: 38%; }
.player .title {
  font-size: 13px; font-weight: 500; color: var(--ink);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.player .role {
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink-mute);
}
.player .wave {
  flex: 1 1 auto;
  height: 38px;
  display: flex;
  align-items: center;
  gap: 1.5px;
  cursor: pointer;
  position: relative;
}
.player .wave .bar {
  flex: 1 1 0;
  background: var(--ink-mute);
  opacity: 0.35;
  border-radius: 1px;
  transition: opacity 100ms ease, background 100ms ease;
}
.player .wave .bar.on { background: var(--accent); opacity: 1; }
.player .time {
  font-family: var(--mono); font-size: 11px;
  color: var(--ink-mute); flex: 0 0 auto;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

body[data-player="bar"] .player .wave {
  height: 4px; background: var(--rule);
  border-radius: 999px; overflow: hidden;
  display: block;
}
body[data-player="bar"] .player .wave .bar { display: none; }
body[data-player="bar"] .player .wave .progress {
  position: absolute; inset: 0; background: var(--accent);
  width: var(--p, 0%);
}
body[data-player="minimal"] .player {
  border: none; border-top: 1px solid var(--rule);
  border-radius: 0; padding: 12px 0; background: transparent;
}

/* ---------- project list (used on each discipline page) ---------- */
.project-list {
  display: flex;
  flex-direction: column;
  max-width: calc(var(--maxw) - clamp(40px, 8vw, 160px));
  /* Side col (200) + gap (48) = 248px removed; split that as +124px padding each side
     so the cover+text block keeps its old width and centers in the row. */
  padding-left: calc(var(--pad) + clamp(20px, 4vw, 80px) + (200px + clamp(20px, 3vw, 48px)) / 2 - 40px);
  padding-right: calc(var(--pad) + clamp(20px, 4vw, 80px) + (200px + clamp(20px, 3vw, 48px)) / 2 - 40px);
}
@media (max-width: 820px) {
  .project-list {
    padding-left: var(--pad);
    padding-right: var(--pad);
  }
}
.project {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: clamp(20px, 3vw, 48px);
  padding: clamp(28px, 4vw, 44px) 0;
  border-bottom: 1px solid var(--rule);
  align-items: start;
}
.project:first-child { border-top: 1px solid var(--rule); }
@media (max-width: 820px) {
  .project { grid-template-columns: 1fr; gap: 20px; }
}

.project .cover {
  aspect-ratio: 1;
  background: var(--bg-soft);
  border-radius: var(--r-sm);
  overflow: hidden;
  position: relative;
  border: 1px solid var(--rule-soft);
}
.project .cover .placeholder {
  position: absolute; inset: 0;
  display: grid; place-items: center;
}
.project .cover .cover-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.project .cover .placeholder span {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--bg);
  padding: 6px 10px;
  border-radius: 3px;
  border: 1px solid var(--rule);
}

.project .body { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.project .body .titleline {
  display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap;
}
.project .body h3 {
  font-family: var(--serif);
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.05;
  font-weight: 400;
  letter-spacing: -0.015em;
  margin: 0;
}
.project .body .sub {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.project .body .roles {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  text-transform: uppercase;
  line-height: 1.6;
}
.project .body .desc {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.55;
  max-width: 60ch;
  margin: 0;
}

.project .side { display: flex; flex-direction: column; gap: 8px; }
.project .side .yr {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-mute);
  letter-spacing: 0.05em;
}
.project .side .links {
  display: flex; flex-direction: column; gap: 6px;
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.05em; text-transform: uppercase;
}
.project .side .links a {
  color: var(--ink-soft);
  transition: color 150ms ease;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 3px;
  display: inline-flex; gap: 6px; align-items: center;
}
.project .side .links a:hover { color: var(--accent); border-color: var(--accent); }

/* density variants for project list */
body[data-density="dense"] .project { padding: clamp(18px, 2.5vw, 28px) 0; grid-template-columns: 120px 1fr; }
body[data-density="dense"] .project .cover { aspect-ratio: 1; }
body[data-density="dense"] .project .body h3 { font-size: 20px; }
body[data-density="airy"] .project { padding: clamp(40px, 5vw, 64px) 0; grid-template-columns: 320px 1fr; }

@media (max-width: 820px) {
  body[data-density="dense"] .project,
  body[data-density="airy"] .project { grid-template-columns: 1fr; }
}

/* ---------- clients ---------- */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border-top: 1px solid var(--rule);
}
.client {
  border-bottom: 1px solid var(--rule);
  border-right: 1px solid var(--rule);
  padding: clamp(18px, 2.5vw, 28px);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
  min-height: 80px;
  display: grid;
  place-items: center;
  text-align: center;
  transition: background 200ms ease, color 200ms ease;
}
.client:hover { background: var(--bg-soft); color: var(--ink); }
.client:nth-child(6n) { border-right: none; }
@media (max-width: 720px) {
  .clients-grid { grid-template-columns: repeat(3, 1fr); }
  .client { border-right: 1px solid var(--rule); }
  .client:nth-child(6n) { border-right: 1px solid var(--rule); }
  .client:nth-child(3n) { border-right: none; }
}

/* ---------- about ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
@media (max-width: 820px) { .about-grid { grid-template-columns: 1fr; } }
.about-text p {
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.55;
  color: var(--ink);
  margin-bottom: 1em;
  max-width: 56ch;
}
.about-text p:last-child { margin-bottom: 0; }
.portrait {
  aspect-ratio: 4/5;
  max-width: 360px;
  background: var(--bg-soft);
  border-radius: var(--r-md);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--rule-soft);
  align-self: start;
}
.portrait .ph {
  position: absolute; inset: 0;
  background: linear-gradient(160deg, oklch(0.40 0.03 60), oklch(0.20 0.015 60));  display: grid; place-items: center;
  color: rgba(255,255,255,0.5);
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em;
}
.portrait .portrait-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
/* contact-img: deprecated — email/phone now use plain text */

/* ---------- contact ---------- */
.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: start;
}
@media (max-width: 820px) { .contact { grid-template-columns: 1fr; } }
.contact h2 {
  font-family: var(--serif); font-size: clamp(40px, 5vw, 80px);
  line-height: 0.98; font-weight: 400; letter-spacing: -0.025em; margin: 0;
}
.contact h2 em { font-style: italic; color: var(--accent); }

.contact-list { display: flex; flex-direction: column; }
.contact-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 22px 0; border-bottom: 1px solid var(--rule); gap: 20px;
}
.contact-row:first-child { border-top: 1px solid var(--rule); }
.contact-row .k {
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-mute);
}
.contact-row .v { font-size: 16px; color: var(--ink); }
.contact-row a.v { transition: color 150ms ease; }
.contact-row a.v:hover { color: var(--accent); }

/* ---------- scoring page (image-led, narrow player on right) ---------- */
.scoring-list {
  display: flex; flex-direction: column;
  border-top: 1px solid var(--rule);
}
.scoring-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
  gap: clamp(28px, 4vw, 56px);
  padding: clamp(28px, 3.5vw, 44px) 0;
  border-bottom: 1px solid var(--rule);
  align-items: start;
}
@media (max-width: 900px) {
  .scoring-row { grid-template-columns: 1fr; gap: 20px; }
}
.scoring-info { display: flex; flex-direction: column; gap: 12px; min-width: 0; }

.vimeo-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  overflow: hidden;
}
.vimeo-wrap iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0;
}
.scoring-title {
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.1; font-weight: 400; letter-spacing: -0.015em;
  margin: 0;
}
.scoring-sub {
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-mute);
}
.scoring-image {
  position: relative;
  aspect-ratio: 1 / 1;
  width: 280px;
  max-width: 100%;
  background: var(--bg-soft);
  border: 1px solid var(--rule-soft);
  display: grid; place-items: center;
  overflow: hidden;
  margin-top: 0;
}
.scoring-image-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
  padding: 6px 12px;
  border: 1px solid var(--rule);
  background: color-mix(in oklab, var(--bg) 70%, transparent);
}
.scoring-desc {
  font-size: 15px; color: var(--ink-soft); line-height: 1.6; margin: 0;
}
.scoring-right { min-width: 0; }
.scoring-right .sc-wrap { margin: 0; }
.scoring-no-audio {
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-mute);
  padding: 24px; border: 1px dashed var(--rule);
  text-align: center;
}

/* ---------- video gallery (commercial) ---------- */
.vid-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.5vw, 36px);
  border-top: 1px solid var(--rule);
  padding-top: clamp(28px, 4vw, 44px);
}
@media (max-width: 920px) { .vid-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .vid-grid { grid-template-columns: 1fr; } }

body[data-density="dense"] .vid-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; }
body[data-density="airy"] .vid-grid { grid-template-columns: repeat(2, 1fr); gap: clamp(28px, 3.5vw, 56px); }
@media (max-width: 920px) {
  body[data-density="dense"] .vid-grid { grid-template-columns: repeat(2, 1fr); }
  body[data-density="airy"] .vid-grid { grid-template-columns: 1fr; }
}

.vid-tile {
  appearance: none;
  background: transparent;
  border: 0;
  padding: 0;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 12px;
  cursor: pointer;
  font: inherit;
  color: inherit;
}
.vid-tile:hover .vid-thumb-bg,
.vid-tile:hover .vid-thumb-img { transform: scale(1.02); }

.vid-thumb-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 300ms ease;
}
.vid-tile:hover .vid-play { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); transform: translate(-50%, -50%) scale(1.06); }

.vid-thumb {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  border-radius: var(--r-md);
  border: 1px solid var(--rule-soft);
  background: var(--bg-soft);
}
.vid-thumb-bg {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  transition: transform 300ms ease;
}
.vid-thumb-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  background: rgba(0,0,0,0.35);
  padding: 5px 10px;
  border-radius: 3px;
}
.vid-play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(255,255,255,0.92);
  color: oklch(0.18 0.01 80);
  border: 1px solid rgba(255,255,255,0.5);
  display: grid;
  place-items: center;
  transition: background 200ms ease, color 200ms ease, border-color 200ms ease, transform 200ms ease;
}
.vid-play svg { width: 14px; height: 14px; }

.vid-meta { display: flex; flex-direction: column; gap: 4px; }
.vid-titleline { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.vid-title {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 420;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.vid-yr {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-mute);
  flex: 0 0 auto;
}
.vid-roles {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* modal */
.vid-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: color-mix(in oklab, var(--ink) 75%, transparent);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: grid;
  place-items: center;
  padding: clamp(20px, 4vw, 48px);
  animation: vidfade 200ms ease-out;
}
@keyframes vidfade { from { opacity: 0; } to { opacity: 1; } }
.vid-modal-inner {
  width: 100%;
  max-width: 1100px;
  background: var(--bg);
  border-radius: var(--r-md);
  overflow: hidden;
  position: relative;
  border: 1px solid var(--rule);
}
.vid-modal-close {
  position: absolute;
  top: 14px; right: 14px;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--rule);
  background: var(--bg);
  color: var(--ink);
  display: grid;
  place-items: center;
  z-index: 2;
  transition: background 150ms ease, color 150ms ease;
}
.vid-modal-close:hover { background: var(--ink); color: var(--bg); }
.vid-modal-frame {
  aspect-ratio: 16/9;
  background: oklch(0.10 0.005 80);
}
.vid-modal-bg {
  width: 100%; height: 100%;
  display: grid; place-items: center;
  color: rgba(255,255,255,0.5);
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em;
}
.vid-modal-meta {
  padding: clamp(24px, 3vw, 36px);
  display: flex; flex-direction: column; gap: 10px;
}
.vid-modal-meta h3 {
  font-family: var(--serif);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 400;
  letter-spacing: -0.015em;
  margin: 0;
}
.vid-modal-sub {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.vid-modal-roles {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.vid-modal-desc {
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink);
  max-width: 60ch;
  margin: 8px 0 0;
}
.foot {
  border-top: 1px solid var(--rule);
  padding: 28px 0 36px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-mute);
  flex-wrap: wrap;
  gap: 12px;
}
.foot a { color: var(--ink); border-bottom: 1px solid var(--rule); padding-bottom: 2px; }
.foot a:hover { color: var(--accent); border-color: var(--accent); }

/* ---------- HOMEPAGE v4 (editorial credit-line) ---------- */
main.home2 {
  display: block;
  padding: 0;
}
main.home2 section { border-top: none; padding: 0; }

.home2-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 0.55fr);
  column-gap: clamp(40px, 6vw, 96px);
  align-items: center;
  padding-top: clamp(60px, 8vw, 112px);
  padding-bottom: clamp(60px, 8vw, 112px);
  min-height: calc(100vh - 56px - 140px);
  box-sizing: border-box;
}
@media (max-width: 880px) {
  .home2-intro {
    grid-template-columns: 1fr;
    row-gap: 40px;
    min-height: 0;
    padding-top: clamp(48px, 8vw, 96px);
    padding-bottom: clamp(48px, 8vw, 96px);
  }
}
.home2-intro-text {
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 2.4vw, 36px);
  min-width: 0;
}
.home2-name {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(40px, 5.4vw, 78px);
  line-height: 1.02;
  letter-spacing: -0.022em;
  color: var(--ink);
  margin: 0;
  text-wrap: balance;
}
.home2-roles {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--rule);
  margin: 0;
  padding: 0;
  list-style: none;
}
.home2-role-cell {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  padding: 14px 12px 14px 0;
  border-left: 1px solid var(--rule);
  display: flex;
  align-items: center;
  min-width: 0;
}
.home2-role-cell:first-child {
  border-left: none;
  padding-left: 0;
}
.home2-role-cell:not(:first-child) {
  padding-left: 14px;
}
@media (max-width: 720px) {
  .home2-roles { grid-template-columns: repeat(2, 1fr); }
  .home2-role-cell:nth-child(3) { border-left: none; padding-left: 0; }
  .home2-role-cell:nth-child(3), .home2-role-cell:nth-child(4) {
    border-top: 1px solid var(--rule);
  }
}
.home2-portrait {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  max-width: 340px;
  justify-self: end;
  overflow: hidden;
  border-radius: 2px;
  background: var(--bg-soft);
}
.home2-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(0.4) contrast(1.05);
}
@media (max-width: 880px) {
  .home2-portrait { justify-self: start; max-width: 280px; }
}
/* tablet only: center + enlarge portrait (no effect on desktop or phone) */
@media (min-width: 721px) and (max-width: 880px) {
  .home2-portrait { justify-self: center; max-width: 380px; margin-top: 8px; }
}

.home2-overline {
  padding-bottom: clamp(18px, 2vw, 28px);
}
.home2-overline span {
  display: inline-block;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(14px, 1.1vw, 16px);
  font-weight: 380;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent);
  line-height: 1;
}

.home2-services {
  padding-bottom: clamp(64px, 8vw, 120px);
  border-top: 1px solid var(--rule);
}
.svc2 {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  column-gap: clamp(20px, 3vw, 48px);
  row-gap: 14px;
  align-items: baseline;
  padding: clamp(36px, 4.4vw, 64px) 0;
  border-bottom: 1px solid var(--rule);
  color: var(--ink);
  text-decoration: none;
  transition: color 200ms ease;
}
.svc2:hover { color: var(--accent); }
.svc2:hover .svc2-arrow { transform: translate(6px, -6px); color: var(--accent); }
.svc2:hover .svc2-credits li { color: var(--ink-soft); }

.svc2-head {
  grid-column: 1 / 4;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  column-gap: clamp(20px, 3vw, 48px);
  align-items: baseline;
}
.svc2-num {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--ink-mute);
}
.svc2-name {
  font-family: var(--serif);
  font-weight: 380;
  font-size: clamp(36px, 4.6vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.018em;
}
.svc2-arrow {
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 40px);
  color: var(--ink-mute);
  transition: transform 220ms ease, color 200ms ease;
  display: inline-block;
}
.svc2-blurb {
  grid-column: 2 / 3;
  font-family: var(--serif);
  font-size: clamp(17px, 1.4vw, 21px);
  line-height: 1.45;
  color: var(--ink-soft);
  margin: 0;
  max-width: 56ch;
  text-wrap: pretty;
}
.svc2-credits {
  grid-column: 2 / 4;
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px clamp(14px, 1.6vw, 22px);
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-mute);
  transition: color 200ms ease;
}
.svc2-credits li { display: inline-flex; align-items: baseline; }
.svc2-credit-sep {
  display: inline-block;
  margin-left: clamp(14px, 1.6vw, 22px);
  color: var(--ink-mute);
  opacity: 0.6;
}

@media (max-width: 720px) {
  .svc2 { grid-template-columns: 44px minmax(0, 1fr) auto; }
  .svc2-head { grid-template-columns: 44px minmax(0, 1fr) auto; column-gap: 16px; }
  .svc2-blurb, .svc2-credits { grid-column: 1 / 4; }
}

.home2-foot {
  border-top: 1px solid var(--rule);
  padding: 28px 0 64px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-mute);
  flex-wrap: wrap;
  gap: 14px;
}
.home2-foot a { color: var(--ink); border-bottom: 1px solid var(--rule); padding-bottom: 2px; }
.home2-foot a:hover { color: var(--accent); border-color: var(--accent); }
