/* ==========================================================================
   Satori Global Media — 2026 site
   Palette: ink navy, warm paper, sun gradient accent
   Type: Fraunces (display) + Inter (text)
   ========================================================================== */

:root {
  --ink: #0a0f1e;
  --ink-2: #0f1626;
  --ink-3: #16203a;
  --paper: #f7f4ee;
  --paper-2: #efeae1;
  --white: #ffffff;
  --sun-1: #ffa02e;
  --sun-2: #ff5e00;
  --sun-mid: #fb790f;
  --text-on-dark: #c4cad8;
  --text-on-light: #3d4453;
  --muted-on-dark: #7d8698;
  --muted-on-light: #6b7280;
  --hairline-dark: rgba(255, 255, 255, 0.1);
  --hairline-light: rgba(10, 15, 30, 0.12);
  --serif: "Fraunces", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --max: 1200px;
  --pad: clamp(20px, 5vw, 48px);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--ink);
  color: var(--text-on-dark);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--sun-2); color: var(--white); }

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

.wrap { max-width: var(--max); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(10, 15, 30, 0.72);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--hairline-dark);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px;
}
.logo { display: flex; align-items: center; gap: 12px; }
.logo svg, .logo img.mark { width: 34px; height: 34px; }
.logo .word {
  font-family: var(--sans); font-weight: 700; letter-spacing: 0.24em;
  font-size: 16px; color: var(--white);
}
.logo .word span { color: var(--sun-mid); }
.logo .sub {
  display: block; font-size: 9px; font-weight: 500; letter-spacing: 0.38em;
  color: var(--muted-on-dark); margin-top: 2px;
}
nav.primary { display: flex; align-items: center; gap: 36px; }
nav.primary a {
  font-size: 13.5px; font-weight: 500; letter-spacing: 0.06em;
  color: var(--text-on-dark); transition: color 0.2s;
}
nav.primary a:hover, nav.primary a[aria-current="page"] { color: var(--white); }
nav.primary a[aria-current="page"] { border-bottom: 2px solid var(--sun-2); padding-bottom: 4px; }
.btn {
  display: inline-block; font-weight: 600; font-size: 14px; letter-spacing: 0.04em;
  padding: 13px 28px; border-radius: 3px; transition: all 0.25s; cursor: pointer;
  border: 1px solid transparent;
}
.btn-sun {
  background: linear-gradient(135deg, var(--sun-1), var(--sun-2));
  color: var(--white);
}
.btn-sun:hover { filter: brightness(1.08); transform: translateY(-1px); }
.btn-ghost { border-color: rgba(255,255,255,0.35); color: var(--white); }
.btn-ghost:hover { border-color: var(--white); background: rgba(255,255,255,0.06); }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { background: var(--ink-3); }
nav.primary .btn { padding: 10px 22px; }

/* Mobile nav */
.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer; padding: 8px;
}
.nav-toggle span {
  display: block; width: 24px; height: 2px; background: var(--white); margin: 5px 0;
  transition: transform 0.25s, opacity 0.25s;
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: calc(76px + clamp(70px, 12vh, 130px)) 0 clamp(70px, 10vh, 110px);
  background:
    radial-gradient(900px 520px at 82% 115%, rgba(255, 94, 0, 0.17), transparent 65%),
    radial-gradient(700px 420px at -8% -20%, rgba(20, 66, 79, 0.5), transparent 60%),
    var(--ink);
}
.hero .eyebrow { margin-bottom: 28px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--sun-mid);
}
.eyebrow::before {
  content: ""; width: 34px; height: 1px;
  background: linear-gradient(90deg, var(--sun-1), var(--sun-2));
}
h1, h2, h3 { font-family: var(--serif); font-weight: 420; color: var(--white); }
.hero h1 {
  font-size: clamp(44px, 6.6vw, 84px); line-height: 1.04; letter-spacing: -0.015em;
  max-width: 15ch;
}
.hero h1 em {
  font-style: italic; font-weight: 380;
  background: linear-gradient(100deg, var(--sun-1), var(--sun-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero .lede {
  margin-top: 30px; font-size: clamp(17px, 1.7vw, 20px); line-height: 1.7;
  max-width: 58ch; color: var(--text-on-dark);
}
.hero .lede strong { color: var(--white); font-weight: 600; }
.hero .cta-row { margin-top: 42px; display: flex; gap: 16px; flex-wrap: wrap; }

/* Press strip */
.press-strip {
  border-top: 1px solid var(--hairline-dark);
  margin-top: clamp(60px, 9vh, 100px); padding-top: 34px;
}
.press-strip .label {
  font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--muted-on-dark); margin-bottom: 18px;
}
.press-strip ul {
  list-style: none; display: flex; flex-wrap: wrap;
  gap: 14px clamp(20px, 2.6vw, 36px);
  font-family: var(--serif); font-size: clamp(15px, 1.28vw, 18px);
  color: rgba(255,255,255,0.55); white-space: nowrap;
}

/* ---------- Hero background video (activates when assets/hero-loop.mp4 exists) ---------- */
.hero-media {
  position: absolute; inset: 0; z-index: 0; opacity: 0; transition: opacity 1.2s ease;
  pointer-events: none;
}
.hero-media video { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(10,15,30,0.82) 12%, rgba(10,15,30,0.3) 58%, rgba(10,15,30,0.5) 100%);
}
.hero.has-video .hero-media { opacity: 1; }
.hero.has-video::after { opacity: 0.25; }

/* ---------- Background graphics ---------- */
.hero::after, .page-hero::after {
  content: ""; position: absolute; pointer-events: none; z-index: 0;
  right: clamp(-340px, -14vw, -160px); top: 50%; transform: translateY(-48%);
  width: clamp(480px, 52vw, 780px); aspect-ratio: 1;
  background: url("assets/globe.svg") no-repeat center / contain;
  opacity: 0.5;
  -webkit-mask-image: radial-gradient(closest-side, black 62%, transparent 100%);
  mask-image: radial-gradient(closest-side, black 62%, transparent 100%);
  animation: globe-drift 14s ease-in-out infinite alternate;
}
.cta-band::before {
  content: ""; position: absolute; pointer-events: none; z-index: 0;
  left: 50%; bottom: -46%; transform: translateX(-50%);
  width: clamp(600px, 70vw, 1000px); aspect-ratio: 1;
  background: url("assets/globe.svg") no-repeat center / contain;
  opacity: 0.35;
  -webkit-mask-image: linear-gradient(to bottom, black 0%, transparent 62%);
  mask-image: linear-gradient(to bottom, black 0%, transparent 62%);
}
.texture-light { position: relative; overflow: hidden; }
.texture-light::after {
  content: ""; position: absolute; pointer-events: none; z-index: 0;
  right: -60px; bottom: -30px; width: min(760px, 70vw); height: 480px;
  background: url("assets/contours.svg") no-repeat center / contain;
}
.hero .wrap, .page-hero .wrap, .cta-band .wrap, .texture-light .wrap { position: relative; z-index: 1; }
.hero, .page-hero, .cta-band { overflow: hidden; }
@keyframes globe-drift {
  from { transform: translateY(-48%) rotate(0deg); }
  to   { transform: translateY(-52%) rotate(4deg); }
}
@media (prefers-reduced-motion: reduce) {
  .hero::after, .page-hero::after { animation: none; }
}
@media (max-width: 780px) {
  .hero::after, .page-hero::after { opacity: 0.3; right: -46vw; width: 130vw; }
  .texture-light::after { opacity: 0.7; }
}

/* ---------- Sections ---------- */
section { position: relative; }
.section-pad { padding: clamp(80px, 12vh, 140px) 0; }

.light { background: var(--paper); color: var(--text-on-light); }
.light h2, .light h3 { color: var(--ink); }

.kicker-row { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(40px, 6vh, 64px); }
h2.display { font-size: clamp(32px, 4.2vw, 54px); line-height: 1.1; letter-spacing: -0.01em; max-width: 20ch; }

/* Satori definition strip */
.definition {
  background: var(--paper); border-top: 1px solid var(--hairline-light);
  padding: clamp(56px, 8vh, 84px) 0; text-align: center;
}
.definition .jp {
  font-size: 13px; letter-spacing: 0.5em; text-transform: uppercase;
  color: var(--sun-2); font-weight: 600; margin-bottom: 18px;
}
.definition blockquote {
  font-family: var(--serif); font-style: italic; font-weight: 380;
  font-size: clamp(24px, 3vw, 36px); line-height: 1.35; color: var(--ink);
  max-width: 30ch; margin: 0 auto;
}
.definition .gloss { margin-top: 18px; font-size: 15px; color: var(--muted-on-light); }

/* Thesis */
.thesis-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.thesis-grid .prose p + p { margin-top: 1.2em; }
.thesis-grid .prose strong { color: var(--ink); }

/* ---------- New environment (shifts) ---------- */
.shifts-section { padding: clamp(70px, 10vh, 110px) 0; border-top: 1px solid var(--hairline-light); }
.shifts-section h2.display { max-width: 30ch; font-size: clamp(28px, 3.4vw, 44px); }
.shift-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(24px, 3vw, 44px); }
.shift { border-top: 2px solid transparent; border-image: linear-gradient(90deg, var(--sun-1), var(--sun-2)) 1; border-top-width: 2px; border-top-style: solid; padding-top: 22px; }
.shift h3 { font-family: var(--sans); font-weight: 650; font-size: 16.5px; color: var(--ink); margin-bottom: 10px; letter-spacing: -0.01em; }
.shift p { font-size: 14.5px; color: var(--muted-on-light); line-height: 1.6; }
@media (max-width: 980px) { .shift-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .shift-grid { grid-template-columns: 1fr; } }

/* ---------- Practices ---------- */
.practices { border-top: 1px solid var(--hairline-light); }
.practice-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--hairline-light); }
.practice {
  border-bottom: 1px solid var(--hairline-light);
  border-right: 1px solid var(--hairline-light); position: relative;
  transition: background 0.3s; display: flex; flex-direction: column;
  overflow: hidden;
}
.practice:last-child { border-right: 0; }
.practice:hover { background: var(--white); }
.practice-body { padding: 34px 36px 52px; display: flex; flex-direction: column; flex: 1; }
/* Image band: collapses to nothing if the file is missing */
.practice-img { position: relative; overflow: hidden; background: var(--ink-3); }
.practice-img img {
  width: 100%; height: 210px; object-fit: cover; display: block;
  filter: saturate(0.72) contrast(1.05) brightness(0.9);
  transition: transform 0.7s ease, filter 0.5s ease;
}
.practice:hover .practice-img img { transform: scale(1.045); filter: saturate(0.85) contrast(1.05) brightness(1); }
.practice-img::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to bottom, rgba(10,15,30,0.35) 0%, rgba(10,15,30,0.05) 45%, rgba(247,244,238,0.85) 100%);
}
.practice-img.is-empty { display: none; }
.practice .num {
  font-family: var(--serif); font-size: 15px; color: var(--sun-2);
  letter-spacing: 0.1em; margin-bottom: 14px;
}
.practice h3 { font-size: 25px; line-height: 1.18; margin-bottom: 16px; max-width: 22ch; }
.practice p { font-size: 15.5px; color: var(--muted-on-light); flex: 1; }
.practice ul {
  list-style: none; margin-top: 22px; font-size: 14.5px; color: var(--text-on-light);
}
.practice ul li { padding: 8px 0 8px 22px; position: relative; border-top: 1px dotted var(--hairline-light); }
.practice ul li::before {
  content: ""; position: absolute; left: 0; top: 16px; width: 10px; height: 2px;
  background: linear-gradient(90deg, var(--sun-1), var(--sun-2));
}
.practice .more {
  margin-top: 26px; font-weight: 600; font-size: 14px; color: var(--ink);
  display: inline-flex; align-items: center; gap: 8px;
}
.practice .more::after { content: "→"; color: var(--sun-2); transition: transform 0.2s; }
.practice:hover .more::after { transform: translateX(4px); }

/* ---------- Reel / dark feature ---------- */
.reel-section {
  background:
    radial-gradient(800px 500px at 10% 0%, rgba(255, 94, 0, 0.1), transparent 60%),
    var(--ink-2);
  border-top: 1px solid var(--hairline-dark);
}
.reel-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(40px, 5vw, 72px); align-items: center; }
.reel-grid.even { grid-template-columns: 1fr 1fr; }
.reel-grid .copy h2 { margin-bottom: 22px; }
.reel-grid .copy p { color: var(--text-on-dark); }
.reel-grid .copy p + p { margin-top: 1.1em; }
.video-frame {
  position: relative; aspect-ratio: 16 / 9; background: #000;
  border: 1px solid var(--hairline-dark); border-radius: 6px; overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.reel-label {
  margin-top: 14px; font-size: 13px; color: var(--muted-on-dark);
  letter-spacing: 0.14em; text-transform: uppercase;
}
.reel-single { max-width: 880px; }

/* Split page hero: headline + lede on the left, reel on the right */
.hero-split-grid {
  display: grid; grid-template-columns: 1.04fr 0.96fr;
  gap: clamp(36px, 5vw, 68px); align-items: center;
}
.page-hero.hero-split { padding-bottom: clamp(44px, 6vh, 68px); }
.page-hero.hero-split::after { display: none; }
.page-hero.hero-split h1 { font-size: clamp(34px, 3.9vw, 52px); max-width: 16ch; }
.page-hero.hero-split .lede { max-width: none; font-size: 16.5px; }
@media (max-width: 980px) {
  .hero-split-grid { grid-template-columns: 1fr; }
  .page-hero.hero-split h1 { max-width: 18ch; }
}

/* Stats */
.stat-row {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--hairline-dark); border: 1px solid var(--hairline-dark);
  border-radius: 6px; overflow: hidden; margin-top: clamp(48px, 7vh, 72px);
}
.stat { background: var(--ink-2); padding: 30px 26px; }
.stat .n {
  font-family: var(--serif); font-size: clamp(30px, 3vw, 42px); color: var(--white);
  line-height: 1;
}
.stat .n span { color: var(--sun-mid); }
.stat .l { margin-top: 10px; font-size: 13px; letter-spacing: 0.08em; color: var(--muted-on-dark); text-transform: uppercase; }

/* ---------- About teaser / bio ---------- */
.bio-grid { display: grid; grid-template-columns: 380px 1fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
.portrait {
  border-radius: 6px; overflow: hidden; position: relative;
  box-shadow: 0 24px 60px rgba(10, 15, 30, 0.18);
}
.portrait img { width: 100%; height: auto; }
.portrait::after {
  content: ""; position: absolute; inset: 0;
  box-shadow: inset 0 0 0 1px rgba(10,15,30,0.08); border-radius: 6px;
}
.bio-grid .prose p + p { margin-top: 1.15em; }
.bio-grid .prose .name {
  font-family: var(--serif); font-size: clamp(28px, 3vw, 40px); color: var(--ink);
  line-height: 1.15; margin-bottom: 6px;
}
.bio-grid .prose .role {
  font-size: 12.5px; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--sun-2); font-weight: 600; margin-bottom: 26px;
}

/* Who we work with */
.chips { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.chip {
  font-size: 14px; font-weight: 500; padding: 10px 20px; border-radius: 100px;
  border: 1px solid var(--hairline-light); color: var(--text-on-light); background: var(--white);
}

/* ---------- Photo strip (about page) ---------- */
.photo-strip-section { padding: 0 0 clamp(70px, 10vh, 110px); }
.photo-strip { display: grid; grid-template-columns: 1.35fr 1fr 0.85fr; gap: 16px; }
.photo-strip figure { margin: 0; }
.photo-strip img {
  width: 100%; height: 340px; object-fit: cover; border-radius: 6px; display: block;
  filter: saturate(0.88) contrast(1.03);
  box-shadow: 0 18px 44px rgba(10, 15, 30, 0.14);
}
.photo-strip figcaption {
  margin-top: 12px; font-size: 11.5px; font-weight: 600; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--muted-on-light);
}
@media (max-width: 980px) {
  .photo-strip { grid-template-columns: 1fr; }
  .photo-strip img { height: 300px; }
}

/* ---------- Scenario cards (expertise page) ---------- */
.scenario {
  background: var(--white); border: 1px solid var(--hairline-light); border-left: 3px solid var(--sun-2);
  border-radius: 4px; padding: 30px 34px; margin-top: 36px;
}
.scenario .tag {
  font-size: 11px; font-weight: 700; letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--sun-2); margin-bottom: 12px;
}
.scenario p { font-size: 15.5px; color: var(--text-on-light); font-style: italic; }
.scenario p.resolution { font-style: normal; margin-top: 14px; color: var(--muted-on-light); font-size: 14.5px; }

.practice-detail { border-top: 1px solid var(--hairline-light); padding: clamp(56px, 8vh, 90px) 0; }
.practice-detail:first-of-type { border-top: 0; }
.pd-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(36px, 5vw, 80px); }
.pd-grid .head .num { font-family: var(--serif); color: var(--sun-2); font-size: 17px; margin-bottom: 14px; }
.pd-grid .head h2 { font-size: clamp(28px, 3.4vw, 42px); line-height: 1.12; max-width: 14ch; }
.pd-grid .head .sub { margin-top: 16px; color: var(--muted-on-light); font-size: 15.5px; max-width: 34ch; }
/* Practice image on the expertise page: fills the tall left column,
   so it adds size without adding page length (collapses if file is missing) */
.pd-img {
  margin-top: clamp(30px, 4vh, 44px); border-radius: 6px;
  overflow: hidden; position: relative;
  max-width: 86%;   /* narrower than the column, for breathing room beside the text */
}
.pd-img img {
  width: 100%; height: clamp(300px, 34vw, 440px); object-fit: cover; display: block;
  filter: saturate(0.72) contrast(1.05) brightness(0.92);
}
.pd-img::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: 6px;
  box-shadow: inset 0 0 0 1px rgba(10,15,30,0.10);
  background: linear-gradient(to bottom, rgba(10,15,30,0.30) 0%, transparent 40%, rgba(247,244,238,0.42) 100%);
}
.pd-img.is-empty { display: none; }
@media (max-width: 980px) { .pd-img { max-width: 100%; } .pd-img img { height: 260px; } }

.cap-list { list-style: none; }
.cap-list li { padding: 22px 0; border-top: 1px solid var(--hairline-light); display: grid; grid-template-columns: 220px 1fr; gap: 20px; }
.cap-list li:first-child { border-top: 0; }
.cap-list .cap-name { font-weight: 600; color: var(--ink); font-size: 15.5px; }
.cap-list .cap-desc { font-size: 15px; color: var(--muted-on-light); }

/* ---------- Practice jump nav (expertise hero) ---------- */
.jump-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--hairline-dark); border: 1px solid var(--hairline-dark);
  border-radius: 6px; overflow: hidden; margin-top: 44px;
}
.jump {
  background: rgba(255, 255, 255, 0.03); padding: 20px 22px;
  display: flex; flex-direction: column; gap: 7px; transition: background 0.25s;
}
.jump:hover { background: rgba(255, 255, 255, 0.07); }
.jump .num { font-family: var(--serif); font-size: 14px; color: var(--sun-mid); }
.jump .name { font-weight: 600; font-size: 15px; color: var(--white); line-height: 1.35; }
.jump .name::after { content: " ↓"; color: var(--sun-2); font-weight: 400; }
@media (max-width: 780px) { .jump-grid { grid-template-columns: 1fr; } }

/* ---------- CTA band ---------- */
.cta-band {
  background:
    radial-gradient(700px 400px at 85% 120%, rgba(255, 94, 0, 0.22), transparent 60%),
    var(--ink);
  border-top: 1px solid var(--hairline-dark);
  text-align: center; padding: clamp(80px, 12vh, 130px) 0;
}
.cta-band h2 { font-size: clamp(34px, 4.4vw, 56px); max-width: 22ch; margin: 0 auto 20px; line-height: 1.12; }
.cta-band p { max-width: 52ch; margin: 0 auto 38px; color: var(--text-on-dark); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(40px, 6vw, 90px); }
.contact-info h2 { margin-bottom: 20px; }
.contact-info .line { padding: 18px 0; border-top: 1px solid var(--hairline-light); font-size: 16px; }
.contact-info .line:first-of-type { margin-top: 26px; }
.contact-info .line .k {
  font-size: 11px; letter-spacing: 0.26em; text-transform: uppercase; font-weight: 600;
  color: var(--muted-on-light); display: block; margin-bottom: 4px;
}
.contact-info .line a { color: var(--ink); font-weight: 500; }
.contact-info .line a:hover { color: var(--sun-2); }

form.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
form.contact-form .full { grid-column: 1 / -1; }
form.contact-form label {
  display: block; font-size: 12px; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--text-on-light); margin-bottom: 8px;
}
form.contact-form input, form.contact-form textarea {
  width: 100%; font-family: var(--sans); font-size: 15.5px; color: var(--ink);
  background: var(--white); border: 1px solid var(--hairline-light); border-radius: 3px;
  padding: 14px 16px; transition: border-color 0.2s, box-shadow 0.2s;
}
form.contact-form input:focus, form.contact-form textarea:focus {
  outline: none; border-color: var(--sun-2); box-shadow: 0 0 0 3px rgba(255, 94, 0, 0.12);
}
form.contact-form textarea { min-height: 150px; resize: vertical; }

/* ---------- Footer ---------- */
footer {
  background: var(--ink); border-top: 1px solid var(--hairline-dark);
  padding: 56px 0 40px; font-size: 14px; color: var(--muted-on-dark);
}
.footer-grid { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; flex-wrap: wrap; }
.footer-grid nav { display: flex; gap: 28px; flex-wrap: wrap; }
.footer-grid nav a:hover { color: var(--white); }
.footer-bottom {
  margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--hairline-dark);
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 13px;
}
.footer-bottom .tagline { font-family: var(--serif); font-style: italic; color: rgba(255,255,255,0.4); }

/* ---------- Reveal animation (JS adds .js to <html>; without JS, content stays visible) ---------- */
html.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
html.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Page hero (interior pages) ---------- */
.page-hero {
  padding: calc(76px + clamp(56px, 9vh, 100px)) 0 clamp(48px, 7vh, 80px);
  background:
    radial-gradient(700px 400px at 90% 130%, rgba(255, 94, 0, 0.14), transparent 60%),
    var(--ink);
}
.page-hero h1 { font-size: clamp(38px, 5.4vw, 66px); line-height: 1.06; max-width: 18ch; }
.page-hero .lede { margin-top: 24px; max-width: 60ch; font-size: 18px; color: var(--text-on-dark); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .practice-list { grid-template-columns: 1fr; }
  .practice { border-right: 0; }
  .reel-grid, .reel-grid.even, .thesis-grid, .contact-grid { grid-template-columns: 1fr; }
  .bio-grid { grid-template-columns: 1fr; }
  .portrait { max-width: 420px; }
  .stat-row { grid-template-columns: repeat(2, 1fr); }
  .pd-grid { grid-template-columns: 1fr; }
  .cap-list li { grid-template-columns: 1fr; gap: 6px; }
}
@media (max-width: 780px) {
  nav.primary {
    position: fixed; top: 76px; left: 0; right: 0;
    background: var(--ink); flex-direction: column; align-items: flex-start;
    padding: 28px var(--pad) 36px; gap: 22px; border-bottom: 1px solid var(--hairline-dark);
    transform: translateY(-130%); transition: transform 0.3s ease; z-index: 90;
  }
  nav.primary.open { transform: none; }
  .nav-toggle { display: block; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  form.contact-form { grid-template-columns: 1fr; }
}
