
/* ════════════════════════════════════════════════════════════════
   AXARI CASE STUDY — paper dossier design system
   Aligned with yadhu-kr portfolio: paper / ink / signal orange.
   One accent. Hairlines over boxes. Type does the hierarchy work.
   ════════════════════════════════════════════════════════════════ */

:root {
  color-scheme: light;
  --ink: #171717;
  --ink-mid: #363636;
  --ink-light: #6b6b6b;
  --ink-faint: #9a9a9a;
  --bg: #ffffff;
  --bg-off: #f6f6f4;
  --bg-warm: #efefec;
  --rule: #e4e4e0;
  --accent: #171717;
  --accent-soft: rgba(23, 23, 23, 0.07);
  /* legacy var aliases used by older markup */
  --blue: #171717;
  --blue-light: #f0f0ed;
  --gold: #171717;
  --gold-light: #f0f0ed;
  --purple: #171717;
  --purple-light: #f0f0ed;
  --green: #171717;
  --green-light: #f0f0ed;
  --orange: #171717;
  --orange-light: #f0f0ed;
  --radius: 0px;
  --shadow: none;
  --shadow-lg: none;
  --font-display: 'Geist', system-ui, sans-serif;
  --font-sans: 'Geist', system-ui, -apple-system, sans-serif;
  --font-mono: 'Geist Mono', ui-monospace, monospace;
}

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

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--ink-mid);
  line-height: 1.75;
  font-size: 17px;
}

::selection { background: var(--accent); color: var(--bg); }

/* Geist everywhere, no italics across the portfolio */
i, em { font-style: normal; }

img, video { max-width: 100%; }

a { color: var(--ink); text-decoration-color: var(--rule); text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--accent); }

strong { color: var(--ink); font-weight: 600; }

hr { border: 0; border-top: 1px solid var(--rule); margin: 56px 0; }

/* ── The one label style. Every eyebrow in the document uses it. ── */
.section-label, .hero-label, .glance-label, .phase-num,
.img-caption-label, .my-role-label, .design-q-label,
.testimonial-section-label, .org-col-title {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--ink-light);
}

/* ════════ NAV ════════ */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--rule);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 40px; height: 60px;
}
.nav-logo {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--font-display); font-weight: 600; font-size: 17px;
  letter-spacing: -0.02em; color: var(--ink); text-decoration: none;
}
.nav-logo span {
  font-family: var(--font-mono); font-size: 10px; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.22em;
  color: var(--ink-light);
  padding-left: 14px; border-left: 1px solid var(--rule);
  transition: color .3s;
}
.nav-logo:hover span { color: var(--accent); }
.nav-quick {
  font-family: var(--font-sans); font-size: 13px; font-weight: 500;
  color: var(--bg); background: var(--ink); text-decoration: none;
  padding: 9px 20px; border-radius: 999px;
  transition: background .3s cubic-bezier(.16,1,.3,1), transform .3s cubic-bezier(.16,1,.3,1);
}
.nav-quick:hover { background: var(--accent); transform: translateY(-1px); }

/* ════════ CHAPTER BAR ════════ */
.chapter-bar {
  position: fixed; top: 60px; left: 0; right: 0; z-index: 99;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--rule);
  display: flex; gap: 4px;
  padding: 0 28px;
  overflow-x: auto;
  scrollbar-width: none;
}
.chapter-bar::-webkit-scrollbar { display: none; }
.chapter-tab {
  appearance: none; background: none; border: 0;
  border-bottom: 2px solid transparent;
  font-family: var(--font-sans); font-size: 13px; font-weight: 500;
  color: var(--ink-light); cursor: pointer;
  padding: 14px 12px 12px; white-space: nowrap;
  transition: color .25s;
}
.chapter-tab .n {
  font-family: var(--font-mono); font-size: 10px;
  color: var(--ink-faint); margin-right: 7px;
  transition: color .25s;
}
.chapter-tab:hover { color: var(--ink); }
.chapter-tab.on { color: var(--ink); border-bottom-color: var(--accent); }
.chapter-tab.on .n { color: var(--accent); }

/* ════════ CHAPTER VISIBILITY ════════ */
.js-chapters [data-chapter] { display: none; }
.js-chapters [data-chapter].chapter-on { display: block; animation: chapterIn .5s cubic-bezier(.16,1,.3,1); }
@keyframes chapterIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ════════ HERO ════════ */
.hero {
  max-width: 1060px; margin: 0 auto;
  padding: 190px 40px 90px;
}
.hero-label { color: var(--accent); margin-bottom: 28px; display: flex; align-items: center; gap: 14px; }
.hero-label::before { content: ""; display: block; width: 32px; height: 1px; background: var(--accent); }
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(38px, 5.2vw, 68px);
  font-weight: 600; line-height: 1.02;
  letter-spacing: -0.03em; color: var(--ink);
  max-width: 17ch;
  margin-bottom: 32px;
}
.hero-sub {
  font-size: 19px; line-height: 1.6; color: var(--ink-light);
  max-width: 54ch; margin-bottom: 36px;
}
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 56px; }
.tag {
  font-family: var(--font-mono); font-size: 11px; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink-mid);
  border: 1px solid var(--rule);
  background: transparent;
  padding: 6px 14px; border-radius: 999px;
  transition: border-color .3s, color .3s;
}
.tag:hover { border-color: var(--ink); color: var(--ink); }
.hero-meta {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 28px 32px;
  border-top: 1px solid var(--rule);
  padding-top: 32px;
}
.hero-meta-item label {
  display: block;
  font-family: var(--font-mono); font-size: 10px; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.2em;
  color: var(--ink-faint); margin-bottom: 8px;
}
.hero-meta-item span { font-size: 15px; font-weight: 500; color: var(--ink); }

/* ════════ SECTION STRUCTURE ════════ */
section { padding: 90px 0 110px; }
section#glance { padding-top: 40px; }

.section-break {
  max-width: 1060px; margin: 0 auto 64px;
  padding: 0 40px;
  border-top: 1px solid var(--rule);
  padding-top: 56px;
}
.section-label { color: var(--accent); margin-bottom: 20px; display: flex; align-items: center; gap: 14px; }
.section-label::before { content: ""; display: block; width: 32px; height: 1px; background: var(--accent); }
.section-break h2 {
  font-family: var(--font-display);
  font-size: clamp(30px, 3.6vw, 46px);
  font-weight: 600; line-height: 1.08;
  letter-spacing: -0.025em; color: var(--ink);
  max-width: 24ch;
}

.wide { max-width: 1060px; margin: 0 auto; }
.article { max-width: 720px; margin: 0 auto; padding: 0 40px; }
.article + .article { margin-top: 40px; }

.article p { margin-bottom: 24px; }
.article p:last-child { margin-bottom: 0; }

/* article headings: h3 = mono index eyebrow · h4 = display statement */
.article h3 {
  font-family: var(--font-mono); font-size: 11px; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.22em;
  color: var(--accent);
  margin: 64px 0 10px;
}
.article h3::after { content: ""; display: block; width: 32px; height: 1px; background: var(--rule); margin-top: 14px; }
.article h4 {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 600; line-height: 1.15;
  letter-spacing: -0.02em; color: var(--ink);
  margin: 0 0 20px;
}
.article ul { margin: 0 0 24px 18px; }
.article li { margin-bottom: 10px; }

.spacer { height: 26px; }
.spacer-sm { height: 8px; }

/* ════════ PULL QUOTE ════════ */
.pull-quote {
  font-family: var(--font-display);
  font-size: clamp(21px, 2.2vw, 27px);
  font-weight: 500; line-height: 1.35;
  letter-spacing: -0.015em; color: var(--ink);
  border-left: 2px solid var(--accent);
  padding: 6px 0 6px 28px;
  margin: 48px 0;
}
.pull-quote.gold { border-left-color: var(--accent); }
.pull-quote small { font-family: var(--font-mono) !important; font-size: 11px !important; letter-spacing: 0.12em; text-transform: uppercase; }

/* ════════ GLANCE ════════ */
.glance-box {
  max-width: 1060px; margin: 0 auto 24px;
  background: var(--bg-off);
  border: 1px solid var(--rule);
  padding: 56px;
}
.glance-label { color: var(--accent); margin-bottom: 20px; display: flex; align-items: center; gap: 14px; }
.glance-label::before { content: ""; display: block; width: 32px; height: 1px; background: var(--accent); }
.glance-box h2 {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.8vw, 36px);
  font-weight: 600; line-height: 1.15; letter-spacing: -0.02em;
  color: var(--ink);
  max-width: 30ch;
  margin-bottom: 44px;
}
.glance-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.glance-col h4 {
  font-family: var(--font-mono); font-size: 11px; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.2em;
  color: var(--ink-light);
  padding-bottom: 12px; margin-bottom: 18px;
  border-bottom: 1px solid var(--rule);
}
.glance-col ul { list-style: none; }
.glance-col li {
  font-size: 14.5px; line-height: 1.6;
  padding-left: 16px; position: relative;
  margin-bottom: 12px;
}
.glance-col li::before {
  content: ""; position: absolute; left: 0; top: 0.62em;
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--accent);
}

.people-grid {
  max-width: 1060px; margin: 0 auto; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--rule); border-top: 0;
  background: var(--rule); gap: 1px;
}
.people-card { background: var(--bg); padding: 32px; }
.people-card h4 {
  font-family: var(--font-mono); font-size: 11px; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.2em;
  color: var(--accent); margin-bottom: 14px;
}
.people-card p { font-size: 14.5px; line-height: 1.65; }

/* ════════ ORG SHIFT ════════ */
.org-shift { max-width: 1060px; margin: 56px auto 0; padding: 0 40px; }
.org-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
.org-col { background: var(--bg); padding: 36px; }
.org-col.future { background: var(--bg-off); }
.org-col-title { margin-bottom: 20px; }
.org-col.future .org-col-title { color: var(--accent); }
.org-ciso {
  font-family: var(--font-display); font-weight: 600; font-size: 15px;
  color: var(--ink); border: 1px solid var(--ink);
  display: inline-block; padding: 6px 18px; border-radius: 999px;
  margin-bottom: 24px;
}
.org-pillar { border-top: 1px solid var(--rule); padding: 14px 0; }
.org-pillar h5 { font-family: var(--font-sans); font-size: 14.5px; font-weight: 600; color: var(--ink); margin-bottom: 3px; }
.org-pillar p { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.03em; color: var(--ink-light); line-height: 1.6; }
.org-note { font-size: 13px; font-style: italic; color: var(--ink-light); margin-top: 18px; }
.org-strip {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
  background: var(--rule); border: 1px solid var(--rule); border-top: 0;
}
.org-strip div { background: var(--ink); color: var(--bg); font-size: 13px; padding: 16px 36px; }
.org-strip strong { color: var(--accent); font-weight: 600; margin-right: 10px; font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.15em; }

/* ════════ DESIGN QUESTION / MY ROLE ════════ */
.design-q {
  border: 1px solid var(--rule);
  padding: 28px 32px;
  margin: 40px 0;
}
.design-q-label { color: var(--accent); margin-bottom: 12px; }
.design-q p {
  font-family: var(--font-display);
  font-size: 19px; font-weight: 500; line-height: 1.45;
  letter-spacing: -0.01em; color: var(--ink);
  margin: 0;
}

.my-role {
  background: var(--bg-off);
  border-left: 2px solid var(--accent);
  padding: 24px 28px;
  margin: 40px 0;
}
.my-role-label { color: var(--accent); margin-bottom: 10px; }
.my-role p { font-size: 15px; line-height: 1.65; margin: 0; color: var(--ink-mid); }

/* ════════ PROCESS GRID ════════ */
.process-grid {
  max-width: 980px; margin: 48px auto 0;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px;
  background: var(--rule); border: 1px solid var(--rule);
}
@media (max-width: 1060px) { .process-grid { margin-left: 40px; margin-right: 40px; } }
@media (max-width: 640px) { .process-grid { margin-left: 20px; margin-right: 20px; } }
.process-card { background: var(--bg); padding: 36px; transition: background .35s; }
.process-card:hover { background: var(--bg-off); }
.process-num {
  font-family: var(--font-mono); font-size: 11px; font-weight: 500;
  letter-spacing: 0.18em; color: var(--accent);
  margin-bottom: 16px;
}
.process-card h4 {
  font-family: var(--font-display); font-size: 21px; font-weight: 600;
  letter-spacing: -0.015em; color: var(--ink); margin-bottom: 12px;
}
.process-card p { font-size: 14.5px; line-height: 1.65; }

/* ════════ PHASE HEADER ════════ */
.phase-header {
  padding: 56px 40px 0;
  border-top: 1px solid var(--rule);
  margin: 0 40px;
}
.phase-num { color: var(--accent); margin-bottom: 20px; display: flex; align-items: center; gap: 14px; }
.phase-num::before { content: ""; display: block; width: 32px; height: 1px; background: var(--accent); }
.phase-header h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 600; line-height: 1.05; letter-spacing: -0.028em;
  color: var(--ink); margin-bottom: 20px;
}
.phase-header p { font-size: 17px; line-height: 1.65; color: var(--ink-light); max-width: 60ch; }

/* ════════ WORKER TABLE ════════ */
.worker-table {
  width: 100%; border-collapse: collapse; margin: 36px 0;
  font-size: 14.5px;
}
.worker-table th {
  font-family: var(--font-mono); font-size: 10.5px; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.18em;
  color: var(--ink-faint); text-align: left;
  padding: 0 16px 12px 0;
  border-bottom: 1px solid var(--ink);
}
.worker-table td {
  padding: 16px 16px 16px 0;
  border-bottom: 1px solid var(--rule);
  vertical-align: top; line-height: 1.6;
}
.worker-name {
  font-family: var(--font-mono); font-size: 13px; font-weight: 600;
  color: var(--accent); letter-spacing: 0.02em;
}
.worker-role { font-weight: 500; color: var(--ink); white-space: nowrap; }

/* ════════ LOOP TAGS & BLOCKS — one calm system, no color coding ════════ */
.loop-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 11px; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.16em;
  color: var(--ink);
  border: 1px solid var(--ink);
  padding: 7px 16px; border-radius: 999px;
  margin-bottom: 16px;
}
.loop-tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

.loop-block {
  background: var(--bg-off);
  border: 1px solid var(--rule);
  border-left: 2px solid var(--accent);
  padding: 32px 36px;
  margin: 24px 0 48px;
}
.loop-block h4 {
  font-family: var(--font-display); font-size: 20px; font-weight: 600;
  letter-spacing: -0.015em; color: var(--ink); margin-bottom: 16px;
}
.loop-block p { font-size: 15px; line-height: 1.7; }
.loop-block .note {
  margin-top: 20px; padding-top: 16px;
  border-top: 1px solid var(--rule);
  font-size: 13.5px; color: var(--ink-light);
}
/* old markup starts .note text with "Design principle:" / "Design challenge:" - style only */
.note { font-size: 13.5px; color: var(--ink-light); }
.loop-block .note strong, .note strong { color: var(--ink-mid); }

/* ════════ CALLOUT DARK ════════ */
.callout-dark {
  background: var(--ink) !important;
  color: var(--bg);
  font-family: var(--font-display);
  font-size: 20px; font-weight: 500; line-height: 1.5;
  letter-spacing: -0.01em;
  padding: 40px 44px;
  margin: 48px 0;
}
.callout-dark span { color: var(--accent); }

/* ════════ FOLD (details/summary) ════════ */
.fold { margin: 32px 0; border: 1px solid var(--rule); }
.fold summary {
  cursor: pointer; list-style: none;
  font-family: var(--font-sans); font-size: 14.5px; font-weight: 500;
  color: var(--ink);
  padding: 20px 24px;
  display: flex; align-items: center; justify-content: space-between;
  transition: background .3s;
}
.fold summary::-webkit-details-marker { display: none; }
.fold summary::after {
  content: "+";
  font-family: var(--font-mono); font-size: 16px;
  color: var(--accent);
  transition: transform .3s cubic-bezier(.16,1,.3,1);
}
.fold[open] summary::after { transform: rotate(45deg); }
.fold summary:hover { background: var(--bg-off); }
.fold-body { padding: 4px 24px 24px; border-top: 1px solid var(--rule); }

/* ════════ SURFACE CARDS ════════ */
.surface-cards {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px;
  background: var(--rule); border: 1px solid var(--rule);
  margin: 36px 0;
}
.surface-card { background: var(--bg); padding: 30px; }
.surface-card-num {
  font-family: var(--font-mono); font-size: 11px; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.18em;
  color: var(--accent); margin-bottom: 14px;
}
.surface-card h4 {
  font-family: var(--font-display); font-size: 19px; font-weight: 600;
  letter-spacing: -0.015em; color: var(--ink); margin-bottom: 10px;
}
.surface-card p { font-size: 14px; line-height: 1.65; }

/* ════════ IMAGES ════════ */
.img-full { margin: 48px 40px; }
.img-full img {
  width: 100%; display: block;
  border: 1px solid var(--rule);
  background: var(--bg-off);
}
.img-caption { padding: 16px 2px 0; max-width: 720px; }
.img-caption-label { color: var(--accent); margin-bottom: 6px; }
.img-caption p { font-size: 13.5px; line-height: 1.6; color: var(--ink-light); }
.img-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin: 0 40px; }
.img-grid .img-full { margin: 0; }

/* ════════ VIDEO ════════ */
.video-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 32px; margin-top: 32px;
}
.video-card { border: 1px solid var(--rule); background: var(--bg); }
.video-card video { width: 100%; display: block; background: var(--ink); }
.video-card-info { padding: 18px 22px 20px; border-top: 1px solid var(--rule); }
.video-card-name { font-family: var(--font-sans); font-size: 14.5px; font-weight: 600; color: var(--ink); }
.video-card-role { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.05em; color: var(--ink-light); margin-top: 5px; line-height: 1.6; }

/* ════════ TESTIMONIALS ════════ */
.testimonial-section { padding: 0 40px; }
.testimonial-section-label { color: var(--accent); margin-bottom: 14px; display: flex; align-items: center; gap: 14px; }
.testimonial-section-label::before { content: ""; display: block; width: 32px; height: 1px; background: var(--accent); }
.testimonial-section h3 {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 600; letter-spacing: -0.02em; color: var(--ink);
  margin-bottom: 36px;
}
.testimonial-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
  background: var(--rule); border: 1px solid var(--rule);
  margin-bottom: 72px;
}
.testimonial-card { background: var(--bg); padding: 40px; display: flex; flex-direction: column; }
.testimonial-quote {
  font-family: var(--font-display);
  font-size: 18.5px; font-weight: 500; line-height: 1.5;
  letter-spacing: -0.01em; color: var(--ink);
  margin-bottom: 28px; flex: 1;
}
.testimonial-quote::before { content: "\201C\2009"; color: var(--accent); }
.testimonial-quote::after { content: "\2009\201D"; color: var(--accent); }
.testimonial-author { font-size: 14px; font-weight: 600; color: var(--ink); }
.testimonial-org { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.05em; color: var(--ink-light); margin-top: 4px; }

/* ════════ REFLECTIONS ════════ */
.reflection-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px;
  background: var(--rule); border: 1px solid var(--rule);
}
.reflection-card { background: var(--bg); padding: 40px; counter-increment: reflection; transition: background .35s; }
.reflection-card:hover { background: var(--bg-off); }
.reflection-card h4 {
  font-family: var(--font-display); font-size: 21px; font-weight: 600;
  letter-spacing: -0.018em; color: var(--ink);
  margin-bottom: 14px;
  display: flex; gap: 14px; align-items: baseline;
}
.reflection-card h4::before {
  content: "0" counter(reflection);
  font-family: var(--font-mono); font-size: 12px; font-weight: 500;
  color: var(--accent);
}
.reflection-card p { font-size: 14.5px; line-height: 1.7; }
.reflection-grid { counter-reset: reflection; }

/* ════════ PAGER ════════ */
.pager {
  max-width: 1060px; margin: 90px auto 0;
  padding: 0 40px;
  display: grid; grid-template-columns: 1fr auto 1fr; gap: 24px;
  align-items: center;
  border-top: 1px solid var(--rule);
  padding-top: 40px;
}
.pager-btn {
  appearance: none; background: none;
  border: 1px solid var(--rule);
  font-family: var(--font-display); font-size: 17px; font-weight: 600;
  letter-spacing: -0.01em; color: var(--ink);
  padding: 22px 28px; cursor: pointer;
  text-align: left;
  transition: border-color .3s, background .3s;
}
.pager-btn:last-child { text-align: right; }
.pager-btn small {
  display: block;
  font-family: var(--font-mono); font-size: 10px; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.2em;
  color: var(--ink-light); margin-bottom: 8px;
}
.pager-btn:hover:not(:disabled) { border-color: var(--ink); background: var(--bg-off); }
.pager-btn:disabled { opacity: 0; pointer-events: none; }
.pager-pos { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--ink-faint); white-space: nowrap; }

/* ════════ FOOTER ════════ */
footer {
  max-width: 1060px; margin: 56px auto 0;
  padding: 40px;
  border-top: 1px solid var(--rule);
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.04em;
  color: var(--ink-light);
}
footer a { color: var(--ink); }

/* ════════ BACK PILL ════════ */
.yk-back {
  position: fixed; left: 20px; bottom: 20px; z-index: 2147483000;
  display: inline-flex; align-items: center;
  background: var(--accent); color: var(--bg) !important; text-decoration: none;
  font-family: var(--font-sans); font-size: 13px; font-weight: 500; letter-spacing: -0.01em;
  padding: 10px 18px; border-radius: 999px;
  box-shadow: 0 8px 30px rgba(22,21,15,.25);
  transition: background .3s cubic-bezier(.16,1,.3,1), transform .3s cubic-bezier(.16,1,.3,1);
}
.yk-back:hover { background: #ff6440; transform: translateY(-2px); }

.reflection-grid { margin: 0 40px; }
.article + .wide { margin-top: 40px; }
@media (max-width: 640px) { .reflection-grid { margin: 0 20px; } }

/* ════════ RESPONSIVE ════════ */
@media (max-width: 900px) {
  .glance-grid, .people-grid { grid-template-columns: 1fr; }
  .org-cols, .org-strip { grid-template-columns: 1fr; }
  .process-grid, .surface-cards, .testimonial-grid, .reflection-grid { grid-template-columns: 1fr; }
  .img-grid { grid-template-columns: 1fr; gap: 32px; }
  .video-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  nav { padding: 0 20px; }
  .hero { padding: 160px 20px 60px; }
  .article { padding: 0 20px; }
  .section-break { padding-left: 20px; padding-right: 20px; }
  .glance-box { padding: 32px 24px; }
  .img-full { margin: 40px 20px; }
  .img-grid { margin: 0 20px; }
  .phase-header { margin: 0 20px; padding: 40px 20px 0; }
  .process-grid, .org-shift, .testimonial-section { padding-left: 20px; padding-right: 20px; }
  .pager { grid-template-columns: 1fr; gap: 12px; padding-left: 20px; padding-right: 20px; }
  .pager-pos { order: -1; text-align: center; }
  .pager-btn:last-child { text-align: left; }
  .yk-back { left: 14px; bottom: 14px; padding: 9px 15px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js-chapters [data-chapter].chapter-on { animation: none; }
  * { transition: none !important; }
}

/* ── nav back button ── */
.nav-left { display:flex; align-items:center; gap:16px; }
.nav-back-btn {
  display:inline-flex; align-items:center; justify-content:center;
  width:34px; height:34px; border-radius:999px;
  border:1px solid var(--rule); color:var(--ink); text-decoration:none;
  font-family:var(--font-mono); font-size:14px; line-height:1;
  transition:border-color .3s, background .3s, color .3s, transform .3s cubic-bezier(.16,1,.3,1);
}
.nav-back-btn:hover { border-color:var(--ink); background:var(--ink); color:var(--bg); transform:translateX(-2px); }

.process-grid .process-card:nth-child(odd):last-child { grid-column: 1 / -1; }

/* ── tool logos: built-with row ── */
.built-with { display:flex; align-items:center; gap:16px; flex-wrap:wrap; margin-top:32px; margin-bottom:36px; }
.built-with .bw-label {
  font-family:var(--font-mono); font-size:10.5px; font-weight:500;
  text-transform:uppercase; letter-spacing:0.18em; color:var(--ink-mid);
}
.built-with img { height:26px; width:auto; }

/* ════════════════════════════════════════════════════════════════
   INTERACTION LAYER — paired with dossier.js
   Every hidden base state below is (a) gated behind html.js, which
   only exists when JS runs, and (b) wrapped in a no-preference
   motion query, so reduced-motion users and no-JS visitors always
   see fully static, fully visible content.
   ════════════════════════════════════════════════════════════════ */

/* ── reading progress bar ── */
.dossier-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 2px;
  z-index: 1500; pointer-events: none;
}
.dossier-progress span {
  display: block; height: 100%;
  background: var(--ink);
  transform-origin: 0 50%; transform: scaleX(0);
}

/* ── Instrument Serif accent flourish ── */
.accent-italic,
h1 em, h2 em, .pull-quote em {
  font-family: var(--font-display);
  font-style: normal; font-weight: 600;
  letter-spacing: 0;
}
h1 em, h2 em { font-size: 1.05em; }

@media (prefers-reduced-motion: no-preference) {

  /* ── hero entrance ──
     pre-hide covers the gap between the inline head script (html.js)
     and dossier.js applying .hero-fx; the delayed failsafe animation
     restores visibility even if dossier.js never arrives. */
  html.js:not(.fx-ready) header .hero-label,
  html.js:not(.fx-ready) header .hero-eyebrow,
  html.js:not(.fx-ready) header .read-time,
  html.js:not(.fx-ready) header .eyebrow,
  html.js:not(.fx-ready) header h1,
  html.js:not(.fx-ready) header .hero-sub,
  html.js:not(.fx-ready) header .lede,
  html.js:not(.fx-ready) header .tag-row,
  html.js:not(.fx-ready) header .meta,
  html.js:not(.fx-ready) header .hero-meta,
  html.js:not(.fx-ready) header .stats {
    opacity: 0; transform: translateY(16px);
    animation: dossier-failsafe .6s cubic-bezier(.16,1,.3,1) 1.5s forwards;
  }
  html.js .hero-fx {
    opacity: 0; transform: translateY(16px);
    transition: opacity .8s cubic-bezier(.16,1,.3,1), transform .8s cubic-bezier(.16,1,.3,1);
  }
  html.js .hero-fx.is-in { opacity: 1; transform: none; }

  /* ── scroll reveals ── */
  html.js .reveal {
    opacity: 0; transform: translateY(18px);
    transition: opacity .85s cubic-bezier(.16,1,.3,1), transform .85s cubic-bezier(.16,1,.3,1);
  }
  html.js .reveal.is-in { opacity: 1; transform: none; }

  /* ── image reveal: settle from a slight zoom + desaturation ── */
  html.js .media-clip { overflow: hidden; }
  html.js .media-reveal {
    opacity: 0; transform: scale(1.045);
    filter: grayscale(30%);
    transition: opacity .9s cubic-bezier(.16,1,.3,1),
                transform 1.2s cubic-bezier(.16,1,.3,1),
                filter 1.2s cubic-bezier(.16,1,.3,1);
  }
  html.js .media-reveal.is-in { opacity: 1; transform: scale(1); filter: grayscale(0); }
  html.js .media-reveal.is-in:hover { transform: scale(1.015); }

  /* ── micro-interaction polish on existing components ── */
  .tag {
    transition: border-color .35s cubic-bezier(.16,1,.3,1),
                color .35s cubic-bezier(.16,1,.3,1),
                transform .35s cubic-bezier(.16,1,.3,1);
  }
  .tag:hover { transform: translateY(-1px); }
  .process-card, .reflection-card { transition: background .5s cubic-bezier(.16,1,.3,1); }
  .pager-btn {
    transition: border-color .4s cubic-bezier(.16,1,.3,1),
                background .4s cubic-bezier(.16,1,.3,1),
                transform .45s cubic-bezier(.16,1,.3,1);
  }
  .fold summary { transition: background .35s cubic-bezier(.16,1,.3,1); }
  a { transition: text-decoration-color .3s; }

  /* ── magnetic buttons (transform set inline by dossier.js) ── */
  .is-magnetic {
    transition: transform .45s cubic-bezier(.16,1,.3,1),
                background .3s cubic-bezier(.16,1,.3,1),
                border-color .3s cubic-bezier(.16,1,.3,1),
                color .3s cubic-bezier(.16,1,.3,1);
    will-change: transform;
  }
}

@keyframes dossier-failsafe { to { opacity: 1; transform: none; } }

/* ── custom cursor accent: shown only when dossier.js confirms a fine,
     motion-friendly pointer via html.has-cursor; never blocks clicks ── */
.dossier-cursor {
  position: fixed; top: 0; left: 0;
  width: 7px; height: 7px; margin: -3.5px 0 0 -3.5px;
  border-radius: 50%; background: var(--ink);
  opacity: 0; pointer-events: none;
  z-index: 2147483200;
  transition: opacity .35s;
  will-change: transform;
}
html.has-cursor .dossier-cursor { opacity: .5; }

/* ── reduced motion: neutralize every effect in this layer ── */
@media (prefers-reduced-motion: reduce) {
  html.js .reveal, html.js .media-reveal, html.js .hero-fx {
    opacity: 1 !important; transform: none !important; filter: none !important;
  }
  .dossier-cursor { display: none !important; }
  .is-magnetic { transform: none !important; }
  .dossier-progress span { transition: none !important; }
}
