/* ==========================================================================
   MichaelCameron.co — design system
   Obsidian / Midnight foundation, warm-paper editorial sections,
   one accent: Founder's Gold (carried over from the Sky Stone family).
   ========================================================================== */

:root {
  --ink: #0a0c10;          /* obsidian */
  --midnight: #10141c;
  --slate: #1a2030;
  --slate-2: #243047;
  --paper: #f2f0ec;        /* warm white */
  --paper-2: #e7e3da;
  --paper-line: #d6d0c3;
  --text-dark: #14171f;
  --muted-dark: #5a6170;
  --silver: #d4dce8;
  --muted: #8a97a8;
  --line: rgba(212, 220, 232, .14);
  --gold: #c9a84c;
  --gold-bright: #e8c46a;
  --gold-ink: #7a5c14;     /* gold for text on paper (5.5:1) */
  --stone: #b09870;

  --f-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --f-sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-label: "Rajdhani", "Manrope", system-ui, sans-serif;

  --wrap: 1240px;
  --gutter: clamp(16px, 5vw, 64px);
  --radius: 2px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--ink);
  color: var(--silver);
  font-family: var(--f-sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 1.1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
::selection { background: var(--gold); color: var(--ink); }

:focus-visible { outline: 2px solid var(--gold-bright); outline-offset: 3px; border-radius: 1px; }
.paper :focus-visible { outline-color: var(--gold-ink); }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--gold); color: var(--ink); padding: 10px 16px;
  font: 600 14px var(--f-sans); text-decoration: none;
}
.skip:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 760px; }

/* ---------- type ---------- */
.eyebrow {
  font-family: var(--f-label); font-weight: 600; font-size: 13px;
  letter-spacing: .24em; text-transform: uppercase; color: var(--gold);
  display: inline-flex; align-items: center; gap: 14px; margin: 0 0 22px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .8; }
.eyebrow.plain::before { display: none; }
.paper .eyebrow { color: var(--gold-ink); }

.display {
  font-family: var(--f-display); font-weight: 400;
  font-size: clamp(40px, 6.2vw, 86px); line-height: 1.02; letter-spacing: -.012em;
  color: #fff;
}
.display em, .h2 em, .h3 em { font-style: italic; color: var(--gold-bright); }
.paper .display, .paper .h2, .paper .h3 { color: var(--text-dark); }
.paper .display em, .paper .h2 em, .paper .h3 em { color: var(--gold-ink); }

.h2 { font-family: var(--f-display); font-size: clamp(34px, 4.4vw, 58px); line-height: 1.06; color: #fff; letter-spacing: -.01em; }
.h3 { font-family: var(--f-display); font-size: clamp(26px, 2.6vw, 34px); line-height: 1.15; color: #fff; }
.lede { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.6; color: var(--silver); max-width: 640px; }
.paper .lede { color: #2b303b; }
.muted { color: var(--muted); }
.paper .muted { color: var(--muted-dark); }
.small { font-size: 14px; }
.label {
  font-family: var(--f-label); font-weight: 600; font-size: 12.5px;
  letter-spacing: .2em; text-transform: uppercase; color: var(--muted);
}
.paper .label { color: var(--muted-dark); }

/* ---------- surfaces ---------- */
.section { padding: clamp(72px, 10vw, 140px) 0; position: relative; }
.section.tight { padding: clamp(48px, 6vw, 88px) 0; }
.paper { background: var(--paper); color: var(--text-dark); }
.midnight { background: var(--midnight); }
.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }
.paper .rule { border-top-color: var(--paper-line); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 26px; min-height: 48px;
  font-family: var(--f-label); font-weight: 600; font-size: 14px; letter-spacing: .18em; text-transform: uppercase;
  text-decoration: none; border: 1px solid var(--gold); color: var(--ink); background: var(--gold);
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
  cursor: pointer; border-radius: var(--radius);
}
.btn:hover { background: var(--gold-bright); border-color: var(--gold-bright); }
.btn.ghost { background: transparent; color: var(--silver); border-color: rgba(212,220,232,.35); }
.btn.ghost:hover { border-color: var(--gold); color: #fff; }
.paper .btn.ghost { color: var(--text-dark); border-color: rgba(20,23,31,.3); }
.paper .btn.ghost:hover { border-color: var(--gold-ink); }
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

.link {
  font-family: var(--f-label); font-weight: 600; font-size: 13.5px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold); text-decoration: none; display: inline-flex; gap: 10px; align-items: center;
  border-bottom: 1px solid transparent; padding-bottom: 2px; transition: border-color .2s;
}
.link:hover { border-bottom-color: currentColor; }
.paper .link { color: var(--gold-ink); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 12, 16, .82);
  backdrop-filter: saturate(140%) blur(14px); -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.wordmark {
  font-family: var(--f-label); font-weight: 600; font-size: 17px; letter-spacing: .34em;
  text-decoration: none; color: #fff; white-space: nowrap;
}
.wordmark span { color: var(--gold); }
.nav { display: flex; align-items: center; gap: 30px; }
.nav ul { list-style: none; display: flex; gap: 28px; margin: 0; padding: 0; }
.nav a.nav-link {
  font-family: var(--f-label); font-weight: 500; font-size: 14px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--silver); text-decoration: none; padding: 6px 0; border-bottom: 1px solid transparent;
}
.nav a.nav-link:hover { color: #fff; }
.nav a.nav-link[aria-current="page"] { color: var(--gold); border-bottom-color: var(--gold); }
.nav .btn { padding: 10px 16px; min-height: 40px; font-size: 12.5px; }
.nav-toggle {
  display: none; background: none; border: 1px solid var(--line); color: #fff;
  width: 46px; height: 46px; border-radius: var(--radius); cursor: pointer; padding: 0;
}
.nav-toggle span { display: block; width: 20px; height: 1.5px; background: currentColor; margin: 5px auto; transition: transform .25s, opacity .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: 72px 0 auto 0; background: var(--ink); border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; gap: 0; padding: 12px var(--gutter) 28px;
    display: none;
  }
  .nav.open { display: flex; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav ul li { border-bottom: 1px solid var(--line); }
  .nav a.nav-link { display: block; padding: 18px 0; font-size: 15px; border-bottom: 0; }
  .nav a.nav-link[aria-current="page"] { border-bottom: 0; }
  .nav .btn { margin-top: 22px; justify-content: center; padding: 16px; font-size: 14px; }
}

/* ---------- hero ---------- */
.hero { position: relative; padding: clamp(56px, 9vw, 120px) 0 clamp(64px, 8vw, 110px); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(900px 520px at 78% 18%, rgba(201,168,76,.10), transparent 60%),
    radial-gradient(700px 500px at 8% 100%, rgba(36,48,71,.55), transparent 70%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.6fr .85fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.hero .lede { margin-top: 28px; }
.hero .btn-row { margin-top: 40px; }
.scope { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 44px; padding-top: 26px; border-top: 1px solid var(--line); list-style: none; padding-left: 0; }
.scope li { font-family: var(--f-label); font-size: 13px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.scope li::before { content: "◆"; color: var(--gold); font-size: 8px; margin-right: 10px; position: relative; top: -2px; }

.portrait { position: relative; margin: 0; }
.portrait .frame { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--slate); }
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; filter: saturate(.85) contrast(1.02); }
.portrait::after {
  content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 1px solid rgba(201,168,76,.55); z-index: -1;
}
.portrait figcaption { margin-top: 30px; font-family: var(--f-label); font-size: 12.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.portrait figcaption b { color: var(--silver); font-weight: 600; }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero .portrait { max-width: 300px; margin-top: 8px; }
  .portrait .frame { aspect-ratio: 1 / 1; }
}

/* ---------- proof band ---------- */
.proof { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--midnight); }
.proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.metric {
  display: block; text-decoration: none; padding: clamp(28px, 3.4vw, 46px) clamp(18px, 2.2vw, 34px);
  border-left: 1px solid var(--line); transition: background .3s var(--ease);
}
.metric:first-child { border-left: 0; }
a.metric:hover { background: rgba(201,168,76,.06); }
.metric .num { font-family: var(--f-display); font-size: clamp(46px, 5vw, 72px); line-height: 1; color: var(--gold-bright); font-weight: 500; letter-spacing: -.01em; font-variant-numeric: lining-nums tabular-nums; }
.metric .what { margin-top: 14px; color: #fff; font-weight: 600; font-size: 16px; line-height: 1.35; }
.metric .basis { margin-top: 8px; color: var(--muted); font-size: 14px; line-height: 1.5; }
.metric .go { margin-top: 18px; font-family: var(--f-label); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); opacity: .85; }
@media (max-width: 900px) {
  .proof-grid { grid-template-columns: 1fr 1fr; }
  .metric:nth-child(3) { border-left: 0; }
  .metric:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 420px) {
  .metric .num { font-size: 40px; }
  .metric { padding: 24px 14px; }
}

/* ---------- section heads ---------- */
.sec-head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 24px; margin-bottom: clamp(36px, 5vw, 64px); }
.sec-head p { margin: 18px 0 0; max-width: 560px; }
@media (max-width: 700px) { .sec-head { grid-template-columns: 1fr; } }

/* ---------- case cards ---------- */
.cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 28px); }
.cases.two { grid-template-columns: repeat(2, 1fr); }
.case-card {
  position: relative; display: flex; flex-direction: column; text-decoration: none; color: var(--text-dark);
  background: #fbfaf7; border: 1px solid var(--paper-line); padding: clamp(26px, 2.6vw, 38px);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
  min-height: 100%;
}
.case-card:hover { transform: translateY(-4px); box-shadow: 0 22px 50px -28px rgba(10,12,16,.45); border-color: #c8bfa9; }
.case-card .idx { font-family: var(--f-label); font-weight: 600; font-size: 12.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-ink); }
.case-card h3 { font-family: var(--f-display); font-size: clamp(27px, 2.4vw, 33px); line-height: 1.1; margin: 16px 0 26px; color: var(--text-dark); }
.case-card dl { margin: 0 0 28px; display: grid; gap: 16px; }
.case-card dt { font-family: var(--f-label); font-weight: 600; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted-dark); }
.case-card dd { margin: 4px 0 0; font-size: 15.5px; line-height: 1.55; color: #2b303b; }
.case-card .result { margin-top: auto; padding-top: 22px; border-top: 1px solid var(--paper-line); }
.case-card .result .big { font-family: var(--f-display); font-size: 40px; line-height: 1; color: var(--text-dark); font-weight: 500; }
.case-card .result .cap { font-size: 14px; color: var(--muted-dark); margin-top: 6px; }
.case-card .more { margin-top: 22px; font-family: var(--f-label); font-weight: 600; font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-ink); }
.case-card:hover .more .arrow { transform: translateX(4px); }
.case-card .more .arrow { display: inline-block; transition: transform .25s var(--ease); }
@media (max-width: 1000px) { .cases { grid-template-columns: 1fr; } .cases.two { grid-template-columns: 1fr; } }

/* ---------- property strip ---------- */
.strip { padding: 44px 0; background: var(--paper-2); color: var(--text-dark); border-top: 1px solid var(--paper-line); }
.strip .names { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 34px; font-family: var(--f-display); font-size: clamp(21px, 2.1vw, 27px); color: #333845; }
.strip .names span { white-space: nowrap; }
.strip .note { text-align: center; margin: 20px auto 0; font-size: 13.5px; color: var(--muted-dark); max-width: 640px; }

/* ---------- thesis ---------- */
.thesis-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.thesis-quote { font-family: var(--f-display); font-size: clamp(38px, 4.6vw, 64px); line-height: 1.04; color: #fff; }
.thesis-quote em { color: var(--gold-bright); }
.thesis-body p { font-size: clamp(18px, 1.5vw, 20px); line-height: 1.7; color: var(--silver); }
.thesis-body p:first-child::first-letter { font-family: var(--f-display); float: left; font-size: 74px; line-height: .8; padding: 8px 12px 0 0; color: var(--gold); }
@media (max-width: 860px) { .thesis-grid { grid-template-columns: 1fr; } }

/* ---------- beyond ---------- */
.beyond { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--paper-line); }
.beyond article { padding: 36px clamp(0px, 2.4vw, 36px) 8px; border-left: 1px solid var(--paper-line); }
.beyond article:first-child { border-left: 0; padding-left: 0; }
.beyond .k { font-family: var(--f-label); font-weight: 600; font-size: 12.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-ink); }
.beyond h3 { font-family: var(--f-display); font-size: 30px; margin: 12px 0 14px; color: var(--text-dark); line-height: 1.15; }
.beyond p { color: #333845; font-size: 16px; }
.beyond .thumb { width: 72px; height: 72px; object-fit: cover; margin-bottom: 20px; }
@media (max-width: 900px) {
  .beyond { grid-template-columns: 1fr; }
  .beyond article { border-left: 0; padding-left: 0; border-top: 1px solid var(--paper-line); }
  .beyond article:first-child { border-top: 0; }
}

/* ---------- problems CTA ---------- */
.cta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.problems { list-style: none; margin: 0; padding: 0; counter-reset: p; }
.problems li { counter-increment: p; display: grid; grid-template-columns: 52px 1fr; padding: 22px 0; border-top: 1px solid var(--line); font-size: 18px; color: #fff; line-height: 1.5; }
.problems li:last-child { border-bottom: 1px solid var(--line); }
.problems li::before { content: counter(p, decimal-leading-zero); font-family: var(--f-label); font-weight: 600; font-size: 14px; letter-spacing: .14em; color: var(--gold); padding-top: 4px; }
@media (max-width: 860px) { .cta-grid { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 64px 0 40px; background: var(--ink); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.site-footer .wordmark { font-size: 15px; }
.site-footer p { color: var(--muted); font-size: 15px; margin-top: 16px; max-width: 380px; }
.site-footer h2 { font-family: var(--f-label); font-size: 12.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer ul a { color: var(--silver); text-decoration: none; font-size: 15px; }
.site-footer ul a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.foot-base { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 13px; color: var(--muted); }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > :first-child { grid-column: 1 / -1; } }

/* ---------- page hero (interior) ---------- */
.page-hero { padding: clamp(64px, 9vw, 128px) 0 clamp(48px, 6vw, 80px); position: relative; overflow: hidden; }
.page-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(800px 460px at 85% 0%, rgba(201,168,76,.09), transparent 60%);
}
.page-hero .wrap { position: relative; }
.page-hero .lede { margin-top: 26px; }
.crumbs { font-family: var(--f-label); font-size: 13px; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 26px; color: var(--muted); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--gold); }

/* ---------- case study ---------- */
.case-hero .facts { display: grid; grid-template-columns: repeat(4, auto); justify-content: start; gap: 18px 48px; margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--line); }
.case-hero .facts div { min-width: 0; }
.case-hero .facts dt { font-family: var(--f-label); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.case-hero .facts dd { margin: 6px 0 0; color: #fff; font-size: 16px; }
.case-hero .headline-metric { font-family: var(--f-display); color: var(--gold-bright); font-size: clamp(48px, 6vw, 84px); line-height: 1; margin-top: 40px; font-weight: 500; }
.case-hero .headline-metric small { display: block; font-family: var(--f-sans); font-size: 15px; color: var(--muted); margin-top: 10px; letter-spacing: 0; font-weight: 400; }
@media (max-width: 760px) { .case-hero .facts { grid-template-columns: 1fr 1fr; gap: 18px 24px; } }

.case-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); }
.case-toc { position: sticky; top: 104px; align-self: start; }
.case-toc ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--paper-line); }
.case-toc a { display: block; padding: 7px 0 7px 18px; margin-left: -1px; border-left: 1px solid transparent; text-decoration: none; color: var(--muted-dark); font-family: var(--f-label); font-weight: 500; font-size: 13.5px; letter-spacing: .14em; text-transform: uppercase; }
.case-toc a:hover { color: var(--text-dark); }
.case-toc a.active { color: var(--gold-ink); border-left-color: var(--gold-ink); }
@media (max-width: 960px) { .case-layout { grid-template-columns: 1fr; } .case-toc { display: none; } }

.cs-block { padding: clamp(40px, 5vw, 64px) 0; border-top: 1px solid var(--paper-line); scroll-margin-top: 90px; }
.cs-block:first-child { border-top: 0; padding-top: 0; }
.cs-block > .label { display: block; margin-bottom: 18px; color: var(--gold-ink); }
.cs-block h2 { font-family: var(--f-display); font-size: clamp(30px, 3.2vw, 44px); line-height: 1.1; color: var(--text-dark); margin-bottom: 22px; max-width: 760px; }
.cs-block p { max-width: 720px; color: #2b303b; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.chips li { border: 1px solid #c8bfa9; padding: 8px 14px; font-size: 14.5px; color: #2b303b; background: #fbfaf7; }

.pull {
  font-family: var(--f-display); font-style: italic; font-size: clamp(26px, 2.8vw, 38px); line-height: 1.3; color: var(--text-dark);
  border-left: 2px solid var(--gold-ink); padding: 4px 0 4px clamp(20px, 3vw, 36px); margin: 0; max-width: 820px;
}
.pull cite { display: block; margin-top: 18px; font-style: normal; font-family: var(--f-label); font-size: 12.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted-dark); }

.moves { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 0; counter-reset: m; position: relative; }
.moves li { counter-increment: m; display: grid; grid-template-columns: 64px 1fr; gap: 8px; padding: 22px 0; border-top: 1px solid var(--paper-line); }
.moves li::before {
  content: counter(m); width: 40px; height: 40px; border: 1px solid var(--gold-ink); border-radius: 50%;
  display: grid; place-items: center; font-family: var(--f-display); font-size: 21px; color: var(--gold-ink);
}
.moves h3 { font-family: var(--f-sans); font-weight: 700; font-size: 17.5px; color: var(--text-dark); margin: 6px 0 6px; }
.moves p { margin: 0; color: #3a404c; font-size: 16px; }

.timeline { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0; }
.timeline li { padding: 22px 22px 22px 0; border-top: 2px solid var(--text-dark); position: relative; }
.timeline li::before { content: ""; position: absolute; top: -7px; left: 0; width: 12px; height: 12px; background: var(--gold); border-radius: 50%; border: 2px solid var(--paper); }
.timeline .when { font-family: var(--f-label); font-weight: 600; font-size: 12.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-ink); }
.timeline h3 { font-family: var(--f-sans); font-weight: 700; font-size: 16.5px; margin: 8px 0 6px; color: var(--text-dark); }
.timeline p { font-size: 15px; color: #3a404c; margin: 0; }

.results { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--paper-line); border-left: 1px solid var(--paper-line); margin-top: 8px; }
.results .r { padding: 26px 24px; border-right: 1px solid var(--paper-line); border-bottom: 1px solid var(--paper-line); background: #fbfaf7; }
.results .v { font-family: var(--f-display); font-size: clamp(38px, 3.6vw, 50px); line-height: 1; color: var(--text-dark); font-weight: 500; }
.results .l { margin-top: 10px; font-weight: 600; color: var(--text-dark); font-size: 15.5px; line-height: 1.4; }
.results .t { margin-top: 8px; font-size: 13.5px; color: var(--muted-dark); line-height: 1.5; }
.source-note { margin-top: 18px; font-size: 13.5px; color: var(--muted-dark); max-width: 760px; }
.source-note a { color: var(--gold-ink); }

.artifact { margin: 8px 0 0; background: #fbfaf7; border: 1px solid var(--paper-line); padding: clamp(20px, 3vw, 36px); }
.artifact figcaption { margin-top: 18px; font-size: 13.5px; color: var(--muted-dark); display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.artifact figcaption .tag { font-family: var(--f-label); font-weight: 600; font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase; border: 1px solid #c8bfa9; padding: 3px 8px; color: var(--muted-dark); }

.links-list { list-style: none; padding: 0; margin: 12px 0 0; }
.links-list li { padding: 14px 0; border-top: 1px solid var(--paper-line); display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.links-list a { color: var(--text-dark); font-weight: 600; text-decoration-color: var(--gold-ink); text-underline-offset: 4px; }
.links-list span { color: var(--muted-dark); font-size: 14px; }

.reflection { background: var(--ink); color: var(--silver); padding: clamp(32px, 4vw, 56px); margin-top: 8px; }
.reflection p { font-family: var(--f-display); font-size: clamp(23px, 2.3vw, 30px); line-height: 1.4; color: #fff; margin: 0; max-width: 820px; }

.attribution { font-size: 15px; color: #3a404c; background: var(--paper-2); padding: 22px 26px; border-left: 2px solid var(--gold-ink); }
.attribution p { margin: 0; font-size: 15px; }

.montage { display: flex; flex-wrap: wrap; gap: 6px 28px; align-items: baseline; }
.montage span { font-family: var(--f-display); color: var(--text-dark); line-height: 1.1; }
.montage span:nth-child(1) { font-size: clamp(40px, 5.4vw, 72px); }
.montage span:nth-child(2) { font-size: clamp(34px, 4.4vw, 58px); font-style: italic; color: var(--gold-ink); }
.montage span:nth-child(3) { font-size: clamp(30px, 3.8vw, 50px); }
.montage span:nth-child(4) { font-size: clamp(28px, 3.3vw, 44px); font-style: italic; }
.montage span:nth-child(5) { font-size: clamp(26px, 3vw, 40px); color: #555b68; }
.montage-studios { margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--paper-line); font-family: var(--f-label); font-weight: 600; font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted-dark); }

.next-case { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; text-decoration: none; }
.next-case:hover .h2 { color: var(--gold-bright); }

/* ---------- work index table ---------- */
.index-table { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.index-table th { text-align: left; font-family: var(--f-label); font-weight: 600; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted-dark); padding: 0 16px 14px 0; border-bottom: 1px solid var(--text-dark); }
.index-table td { padding: 18px 16px 18px 0; border-bottom: 1px solid var(--paper-line); vertical-align: top; color: #2b303b; }
.index-table td:first-child { font-family: var(--f-label); font-weight: 600; letter-spacing: .1em; color: var(--gold-ink); white-space: nowrap; }
.index-table td strong { color: var(--text-dark); }
.index-table a { color: var(--text-dark); text-underline-offset: 4px; text-decoration-color: var(--gold-ink); }
@media (max-width: 720px) {
  .index-table thead { display: none; }
  .index-table tr { display: block; padding: 16px 0; border-bottom: 1px solid var(--paper-line); }
  .index-table td { display: block; padding: 2px 0; border: 0; }
}

/* ---------- about ---------- */
.about-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.about-grid .portrait { position: sticky; top: 110px; }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } .about-grid .portrait { position: relative; max-width: min(360px, calc(100% - 14px)); } }
.prose p { font-size: 18px; line-height: 1.75; }
.paper .prose p { color: #2b303b; }
.prose h2 { font-family: var(--f-display); font-size: clamp(30px, 3vw, 40px); line-height: 1.12; margin: 48px 0 18px; }
.paper .prose h2 { color: var(--text-dark); }
.prose blockquote { margin: 34px 0; padding-left: 26px; border-left: 2px solid var(--gold); font-family: var(--f-display); font-size: 27px; line-height: 1.4; font-style: italic; }

.arc { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.arc li { padding: 30px 26px 10px 0; border-right: 1px solid var(--line); padding-left: 26px; }
.arc li:first-child { padding-left: 0; }
.arc li:last-child { border-right: 0; }
.arc .when { font-family: var(--f-label); font-weight: 600; font-size: 12.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.arc h3 { font-family: var(--f-display); font-size: 28px; color: #fff; margin: 10px 0 12px; line-height: 1.12; }
.arc p { font-size: 15.5px; color: var(--silver); }
@media (max-width: 960px) { .arc { grid-template-columns: 1fr 1fr; } .arc li { border-right: 0; padding-left: 0; border-bottom: 1px solid var(--line); } }
@media (max-width: 560px) { .arc { grid-template-columns: 1fr; } }

.principles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; counter-reset: pr; border-top: 1px solid var(--paper-line); }
.principles article { counter-increment: pr; padding: 34px 34px 20px 0; border-bottom: 1px solid var(--paper-line); }
.principles article:nth-child(odd) { border-right: 1px solid var(--paper-line); }
.principles article:nth-child(even) { padding-left: 34px; }
.principles h3 { font-family: var(--f-display); font-size: 30px; color: var(--text-dark); line-height: 1.15; margin-bottom: 12px; }
.principles h3::before { content: counter(pr, upper-roman) ". "; color: var(--gold-ink); }
.principles p { color: #3a404c; font-size: 16.5px; }
@media (max-width: 760px) { .principles { grid-template-columns: 1fr; } .principles article:nth-child(odd) { border-right: 0; } .principles article:nth-child(even) { padding-left: 0; } }

.facts-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.facts-list li { padding: 22px 20px 22px 0; border-bottom: 1px solid var(--line); }
.facts-list .label { display: block; margin-bottom: 8px; }
.facts-list span:last-child { color: #fff; }
@media (max-width: 760px) { .facts-list { grid-template-columns: 1fr; } }

/* ---------- ideas ---------- */
.idea-list { display: grid; gap: 0; border-top: 1px solid var(--paper-line); }
.idea-row { display: grid; grid-template-columns: 180px 1fr auto; gap: 32px; padding: 36px 0; border-bottom: 1px solid var(--paper-line); text-decoration: none; color: var(--text-dark); align-items: baseline; }
.idea-row .theme { font-family: var(--f-label); font-weight: 600; font-size: 12.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-ink); }
.idea-row h2 { font-family: var(--f-display); font-size: clamp(30px, 3.2vw, 42px); line-height: 1.1; margin-bottom: 12px; }
.idea-row p { margin: 0; color: #3a404c; max-width: 640px; }
.idea-row .rt { font-size: 14px; color: var(--muted-dark); white-space: nowrap; }
.idea-row:hover h2 { color: var(--gold-ink); }
@media (max-width: 760px) { .idea-row { grid-template-columns: 1fr; gap: 10px; } }

.article { max-width: 720px; margin: 0 auto; }
.article p { font-size: 19px; line-height: 1.78; color: #262a33; }
.article h2 { font-family: var(--f-display); font-size: 34px; line-height: 1.15; margin: 52px 0 18px; color: var(--text-dark); }
.article blockquote { margin: 40px 0; padding-left: 28px; border-left: 2px solid var(--gold-ink); }
.article blockquote p { font-family: var(--f-display); font-style: italic; font-size: 29px; line-height: 1.35; color: var(--text-dark); }
.article > p:first-of-type::first-letter { font-family: var(--f-display); float: left; font-size: 84px; line-height: .78; padding: 8px 12px 0 0; color: var(--gold-ink); }
.article-meta { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 30px; font-family: var(--f-label); font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.article-end { max-width: 720px; margin: 56px auto 0; padding-top: 28px; border-top: 1px solid var(--paper-line); display: flex; gap: 20px; justify-content: space-between; flex-wrap: wrap; align-items: center; }

/* ---------- creative (sunset lives only here) ---------- */
.sunset {
  background:
    radial-gradient(1200px 600px at 50% 120%, rgba(232,140,60,.55), transparent 60%),
    radial-gradient(900px 500px at 15% 0%, rgba(90,60,140,.45), transparent 60%),
    linear-gradient(180deg, #120f1c 0%, #1d1426 45%, #3a1f2a 80%, #5b2c24 100%);
  color: #f6ede4;
}
.sunset .eyebrow { color: #f3c77a; }
.sunset .display em { color: #f3c77a; }
.sunset .lede { color: #efe2d6; }
.gh-hero { padding: clamp(80px, 11vw, 160px) 0 clamp(80px, 9vw, 130px); }
.gh-quote { font-family: var(--f-display); font-style: italic; font-size: clamp(26px, 2.8vw, 36px); line-height: 1.4; color: #fff; max-width: 820px; margin: 40px 0 0; }
.releases { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.4vw, 32px); }
.release { margin: 0; }
.release img { width: 100%; aspect-ratio: 1; object-fit: cover; box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); }
.release figcaption { margin-top: 16px; }
.release h3 { font-family: var(--f-display); font-size: 25px; line-height: 1.2; color: var(--text-dark); }
.release span { font-size: 14px; color: var(--muted-dark); }
@media (max-width: 760px) { .releases { grid-template-columns: 1fr 1fr; } .releases .release:last-child { grid-column: 1 / -1; max-width: 50%; } }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.ext-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-methods { list-style: none; padding: 0; margin: 0; }
.contact-methods li { padding: 24px 0; border-top: 1px solid var(--line); }
.contact-methods li:last-child { border-bottom: 1px solid var(--line); }
.contact-methods a { font-family: var(--f-display); font-size: clamp(24px, 2.4vw, 32px); color: #fff; text-decoration: none; word-break: break-word; }
.contact-methods a:hover { color: var(--gold-bright); }
.form { display: grid; gap: 18px; background: var(--midnight); border: 1px solid var(--line); padding: clamp(24px, 3vw, 40px); }
.form label { display: grid; gap: 8px; font-family: var(--f-label); font-weight: 600; font-size: 12.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.form input, .form textarea, .form select {
  font: 16px var(--f-sans); color: #fff; background: var(--ink); border: 1px solid rgba(212,220,232,.25);
  padding: 14px 14px; border-radius: var(--radius); width: 100%;
}
.form input:focus, .form textarea:focus, .form select:focus { border-color: var(--gold); outline: none; box-shadow: 0 0 0 3px rgba(201,168,76,.25); }
.form textarea { min-height: 130px; resize: vertical; }
.form .hint { font-size: 13px; color: var(--muted); margin: 0; }
.roles { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 26px 0 0; }
.roles li { border: 1px solid var(--line); padding: 8px 14px; font-size: 14.5px; color: var(--silver); }

/* ---------- motion ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ---------- print ---------- */
@media print {
  .site-header, .site-footer, .case-toc, .btn { display: none !important; }
  body { background: #fff; color: #000; }
}
@media (max-width: 860px) { .portrait::after { inset: 12px -8px -12px 12px; } .about-grid .portrait { margin-right: 8px; } }

.results.n4 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .results, .results.n4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .results, .results.n4 { grid-template-columns: 1fr; } }
@media (max-width: 860px) { .about-grid { overflow-x: clip; padding-bottom: 14px; } }
