/* =========================================================
   THINK. EXPLORE. CONNECT. — Main stylesheet
   Modern Professional · Minimalist · Editorial
   ========================================================= */

/* ---------- 1. Design tokens ---------- */
:root {
  /* Brand palette (from blueprint) */
  --navy: #173653;
  --navy-deep: #0f2740;
  --steel: #42677d;
  --warm: #e9e7e1;
  --off: #fafaf8;

  /* Supporting tones */
  --paper: #ffffff;
  --ink: #1c2a36;        /* charcoal headings/text */
  --text: #34424e;
  --muted: #67737d;
  --line: #dcd8cf;
  --line-soft: #e8e5de;
  --accent: #a8834f;     /* subtle brass, used sparingly */
  --on-navy: #d3dde5;
  --on-navy-muted: #8fa5b6;

  /* Typography */
  --font-head: "Manrope", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-serif: "Source Serif 4", Georgia, "Times New Roman", serif;

  /* Layout */
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 48px);
  --section-y: clamp(72px, 10vw, 136px);
  --radius: 2px;
  --header-h: 76px;
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  margin: 0;
  background: var(--off);
  color: var(--text);
  font: 400 17px/1.7 var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

a { color: var(--steel); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--navy); }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--navy);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 700;
  margin: 0 0 0.5em;
  text-wrap: balance;
}
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

::selection { background: var(--navy); color: #fff; }

:focus-visible { outline: 2px solid var(--steel); outline-offset: 3px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--navy); color: #fff; padding: 10px 16px; text-decoration: none;
}
.skip-link:focus { top: 12px; color: #fff; }

/* ---------- 3. Layout helpers ---------- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 760px; }

.section { padding: var(--section-y) 0; }
.section--tight { padding: calc(var(--section-y) * 0.6) 0; }
.section--warm { background: var(--warm); }
.section--paper { background: var(--paper); }
.section--navy { background: var(--navy); color: var(--on-navy); }
.section--navy h2, .section--navy h3 { color: #fff; }

.eyebrow {
  font: 600 12px/1.4 var(--font-head);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--steel);
  margin: 0 0 18px;
}
.section--navy .eyebrow { color: var(--on-navy-muted); }

.section-label {
  display: flex; align-items: center; gap: 16px;
  font: 600 12px/1.4 var(--font-head);
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--steel);
  margin: 0 0 40px;
}
.section-label .num { color: var(--navy); font-weight: 800; }
.section-label::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.section--navy .section-label { color: var(--on-navy-muted); }
.section--navy .section-label .num { color: #fff; }
.section--navy .section-label::after { background: rgba(255,255,255,.16); }

.section-head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 24px; margin-bottom: 48px; }
.section-head h2 { margin: 0; font-size: clamp(28px, 3.4vw, 42px); max-width: 720px; }

.serif { font-family: var(--font-serif); }
.lede { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.6; color: var(--text); max-width: 680px; }

/* ---------- 4. Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 24px;
  border: 1px solid var(--navy);
  border-radius: var(--radius);
  font: 600 14px/1 var(--font-head);
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
  cursor: pointer;
}
.btn--primary { background: var(--navy); color: #fff; }
.btn--primary:hover { background: var(--navy-deep); color: #fff; }
.btn--ghost { background: transparent; color: var(--navy); }
.btn--ghost:hover { background: var(--navy); color: #fff; }
.btn--light { background: #fff; color: var(--navy); border-color: #fff; }
.btn--light:hover { background: transparent; color: #fff; }
.btn .arr { transition: transform .2s ease; }
.btn:hover .arr { transform: translateX(3px); }

.arrow-link {
  display: inline-flex; align-items: center; gap: 8px;
  font: 600 14px/1.4 var(--font-head);
  color: var(--navy); text-decoration: none;
  border-bottom: 1px solid currentColor; padding-bottom: 2px;
}
.arrow-link:hover { color: var(--steel); }
.section--navy .arrow-link { color: #fff; }

/* ---------- 5. Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 250, 248, 0.92);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); }
.brand-mark { width: 34px; height: 34px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font: 700 16px/1.2 var(--font-head); letter-spacing: -0.01em; color: var(--navy); }
.brand-concept { font: 600 10px/1.4 var(--font-head); letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); margin-top: 2px; }

.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 34px; }
.site-nav a {
  font: 500 14px/1 var(--font-head); color: var(--ink); text-decoration: none;
  padding: 8px 0; position: relative;
}
.site-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--navy); transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.site-nav a:hover::after, .site-nav a[aria-current="page"]::after { transform: scaleX(1); }
.site-nav a[aria-current="page"] { color: var(--navy); font-weight: 700; }

.nav-toggle {
  display: none; width: 44px; height: 44px; border: 0; background: transparent;
  cursor: pointer; position: relative; padding: 0;
}
.nav-toggle span:not(.sr-only) {
  position: absolute; left: 11px; right: 11px; height: 1.5px; background: var(--navy);
  transition: transform .25s ease, top .25s ease;
}
.nav-toggle span:nth-child(1) { top: 17px; }
.nav-toggle span:nth-child(2) { top: 26px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { top: 21px; transform: rotate(-45deg); }

/* ---------- 6. Hero (Home) ---------- */
.hero { padding: clamp(48px, 8vw, 112px) 0 clamp(64px, 9vw, 128px); position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.hero h1 {
  font-size: clamp(46px, 7.2vw, 100px);
  font-weight: 800; line-height: 0.98; letter-spacing: -0.04em;
  margin-bottom: 32px;
}
.hero h1 .soft { color: var(--steel); }
.hero-sub {
  font-family: var(--font-serif);
  font-size: clamp(22px, 2.3vw, 30px); line-height: 1.35;
  color: var(--ink); max-width: 620px; margin-bottom: 22px;
}
.hero-desc { color: var(--muted); max-width: 520px; margin-bottom: 40px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-visual { position: relative; aspect-ratio: 1 / 1; width: 100%; max-width: 560px; justify-self: end; }
.hero-visual svg { width: 100%; height: 100%; overflow: visible; }
.net-ring { fill: none; stroke: var(--line); stroke-width: 1; }
.net-ring--dash { stroke-dasharray: 2 7; }
.net-line { stroke: var(--steel); stroke-width: 1; opacity: .45; }
.net-line--soft { opacity: .22; }
.net-node { fill: var(--off); stroke: var(--navy); stroke-width: 1.5; }
.net-core { fill: var(--navy); }
.net-halo { fill: none; stroke: var(--navy); stroke-width: 1; opacity: .25; }
.net-label { font: 600 10.5px var(--font-head); letter-spacing: .18em; text-transform: uppercase; fill: var(--muted); }
.net-label--core { fill: var(--navy); font-weight: 800; font-size: 11.5px; }

@media (prefers-reduced-motion: no-preference) {
  .net-ring--spin { animation: spin 120s linear infinite; transform-origin: 280px 280px; }
  .net-halo { animation: halo 5s ease-in-out infinite; transform-origin: 280px 280px; }
  .net-pulse { animation: pulse 6s ease-in-out infinite; }
  .net-pulse:nth-of-type(2n) { animation-delay: -2s; }
  .net-pulse:nth-of-type(3n) { animation-delay: -4s; }
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes halo { 0%,100% { transform: scale(1); opacity: .25; } 50% { transform: scale(1.35); opacity: 0; } }
@keyframes pulse { 0%,100% { opacity: .45; } 50% { opacity: .9; } }

.scroll-cue {
  margin-top: 64px; display: inline-flex; align-items: center; gap: 12px;
  font: 600 11px var(--font-head); letter-spacing: .2em; text-transform: uppercase; color: var(--muted);
}
.scroll-cue::before { content: ""; width: 48px; height: 1px; background: var(--muted); }

/* ---------- 7. Opening thought ---------- */
.thought-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.thought-grid h2 { font-size: clamp(30px, 3.8vw, 50px); letter-spacing: -0.03em; }
.thought-body p { font-size: clamp(17px, 1.4vw, 19px); }
.thought-body p.emph {
  font-family: var(--font-serif); font-size: clamp(21px, 2vw, 26px); line-height: 1.45;
  color: var(--navy); border-left: 2px solid var(--accent); padding-left: 24px; margin: 32px 0;
}

/* ---------- 8. Things I think about ---------- */
.think-intro { font-family: var(--font-serif); font-size: clamp(24px, 2.6vw, 34px); color: var(--navy); margin-bottom: 48px; }
.think-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--navy); }
.think-card {
  display: flex; flex-direction: column; gap: 14px;
  padding: 32px 28px 36px 0; text-decoration: none; color: var(--text);
  border-right: 1px solid var(--line);
  transition: background .25s ease;
}
.think-card + .think-card { padding-left: 28px; }
.think-card:last-child { border-right: 0; }
.think-card:hover h3 { color: var(--steel); }
.think-num { font: 800 13px var(--font-head); color: var(--accent); letter-spacing: .1em; }
.think-card .eyebrow { margin: 0; }
.think-card h3 {
  font-family: var(--font-serif); font-weight: 500; letter-spacing: -0.01em;
  font-size: clamp(21px, 1.8vw, 25px); line-height: 1.3; margin: 0; transition: color .2s ease;
}
.think-card p { font-size: 15px; color: var(--muted); margin: 0; flex: 1; }
.think-card .arrow-link { align-self: flex-start; margin-top: 8px; }

/* ---------- 9. Article cards ---------- */
.cover { position: relative; overflow: hidden; background: var(--warm); aspect-ratio: 16 / 10; }
.cover svg { width: 100%; height: 100%; }
.cover img { width: 100%; height: 100%; object-fit: cover; }

.meta {
  font: 600 11.5px/1.5 var(--font-head); letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
  display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; margin: 0 0 12px;
}
.meta .cat { color: var(--steel); }
.meta .dot { width: 3px; height: 3px; border-radius: 50%; background: currentColor; opacity: .6; }

.featured-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(28px, 4vw, 56px); }
.feature { text-decoration: none; color: var(--text); display: block; }
.feature .cover { aspect-ratio: 16 / 10; margin-bottom: 28px; }
.feature h3 { font-size: clamp(28px, 3vw, 40px); letter-spacing: -0.03em; margin-bottom: 14px; transition: color .2s; }
.feature p.summary { font-size: 18px; color: var(--text); max-width: 600px; }
.feature:hover h3 { color: var(--steel); }

.supporting { display: flex; flex-direction: column; }
.card-row {
  display: grid; grid-template-columns: 132px 1fr; gap: 22px; align-items: start;
  padding: 24px 0; border-top: 1px solid var(--line); text-decoration: none; color: var(--text);
}
.card-row:first-child { border-top: 1px solid var(--navy); padding-top: 24px; }
.card-row .cover { aspect-ratio: 1 / 1; }
.card-row h3 { font-size: 20px; margin-bottom: 8px; transition: color .2s; }
.card-row p.summary { font-size: 15px; color: var(--muted); margin: 0; }
.card-row:hover h3 { color: var(--steel); }

.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 32px; }
.card { display: flex; flex-direction: column; text-decoration: none; color: var(--text); }
.card .cover { margin-bottom: 22px; }
.card h3 { font-size: 22px; margin-bottom: 10px; transition: color .2s; }
.card p.summary { font-size: 15.5px; color: var(--muted); }
.card:hover h3 { color: var(--steel); }

/* ---------- 10. Where different worlds meet ---------- */
.worlds-head { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; margin-bottom: 64px; }
.worlds-head h2 { font-size: clamp(30px, 3.8vw, 50px); letter-spacing: -0.03em; margin: 0; }
.worlds-head p { color: var(--on-navy); max-width: 460px; justify-self: end; margin: 0; }
.worlds-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid rgba(255,255,255,.16); }
.world {
  padding: 36px 32px 36px 0; border-bottom: 1px solid rgba(255,255,255,.16);
  display: flex; flex-direction: column; gap: 18px;
}
.world:nth-child(2n) { padding-left: 32px; border-left: 1px solid rgba(255,255,255,.16); padding-right: 0; }
.world-eq { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.token {
  display: inline-flex; align-items: center; height: 38px; padding: 0 16px;
  border: 1px solid rgba(255,255,255,.35); border-radius: 999px;
  font: 600 13px var(--font-head); letter-spacing: .06em; color: #fff;
}
.op { font: 300 22px var(--font-head); color: var(--on-navy-muted); }
.world-result { font-family: var(--font-serif); font-size: clamp(22px, 2.2vw, 28px); color: #fff; line-height: 1.3; }
.world-result .eq { color: var(--accent); margin-right: 8px; font-family: var(--font-head); }

.flow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 72px; }
.flow-step { position: relative; padding-top: 28px; }
.flow-step::before { content: ""; position: absolute; top: 6px; left: 0; right: 0; height: 1px; background: rgba(255,255,255,.25); }
.flow-step::after { content: ""; position: absolute; top: 0; left: 0; width: 13px; height: 13px; border-radius: 50%; background: var(--navy); border: 1.5px solid #fff; }
.flow-step:last-child::after { background: var(--accent); border-color: var(--accent); }
.flow-step strong { display: block; font: 700 13px var(--font-head); letter-spacing: .18em; text-transform: uppercase; color: #fff; margin-bottom: 6px; }
.flow-step span { color: var(--on-navy-muted); font-size: 15px; }
.worlds-closing { margin-top: 56px; font-family: var(--font-serif); font-size: clamp(22px, 2.4vw, 32px); color: #fff; max-width: 820px; line-height: 1.35; }

/* ---------- 11. Project cards ---------- */
.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--navy); }
.project-card {
  display: flex; flex-direction: column; gap: 14px;
  padding: 36px 32px 40px 0; text-decoration: none; color: var(--text);
  border-right: 1px solid var(--line);
}
.project-card + .project-card { padding-left: 32px; }
.project-card:last-child { border-right: 0; padding-right: 0; }
.project-num { font: 800 44px/1 var(--font-head); color: var(--warm); -webkit-text-stroke: 1px var(--steel); letter-spacing: -0.02em; }
.section--warm .project-num { color: transparent; }
.project-card h3 { font-size: 23px; margin: 0; transition: color .2s; }
.project-card p { font-size: 15.5px; color: var(--muted); margin: 0; flex: 1; }
.project-card:hover h3 { color: var(--steel); }
.project-card .arrow-link { align-self: flex-start; }

.badge {
  display: inline-flex; align-items: center; gap: 6px;
  font: 600 10.5px/1 var(--font-head); letter-spacing: .14em; text-transform: uppercase;
  padding: 6px 10px; border: 1px dashed var(--accent); color: var(--accent); border-radius: 999px;
  align-self: flex-start;
}

/* ---------- 12. Beyond work teaser ---------- */
.beyond-strip { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 48px; align-items: center; }
.beyond-strip h2 { font-size: clamp(26px, 2.8vw, 36px); }
.beyond-strip p { color: var(--muted); }
.beyond-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.beyond-tile {
  position: relative; aspect-ratio: 3 / 4; overflow: hidden; text-decoration: none;
  display: flex; align-items: flex-end; padding: 16px; color: #fff;
}
.beyond-tile svg, .beyond-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.beyond-tile span { position: relative; font: 700 13px/1.3 var(--font-head); letter-spacing: .02em; }
.beyond-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(15,39,64,.65), rgba(15,39,64,0) 55%); }
.beyond-tile span { z-index: 1; }

/* ---------- 13. Closing ---------- */
.closing { text-align: center; padding: clamp(88px, 12vw, 160px) 0; }
.closing h2 { font-family: var(--font-serif); font-weight: 400; font-size: clamp(38px, 5.6vw, 76px); letter-spacing: -0.02em; line-height: 1.08; margin-bottom: 28px; }
.closing p { font-size: clamp(17px, 1.5vw, 20px); color: var(--muted); max-width: 600px; margin: 0 auto 40px; }
.closing .hero-cta { justify-content: center; }
.closing .section-label { justify-content: center; }
.closing .section-label::after { display: none; }

/* ---------- 14. Footer ---------- */
.site-footer { background: var(--navy-deep); color: var(--on-navy-muted); padding: 80px 0 36px; font-size: 15px; }
.site-footer a { color: var(--on-navy); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 48px; padding-bottom: 56px; border-bottom: 1px solid rgba(255,255,255,.1); }
.site-footer .brand-name { color: #fff; }
.site-footer .brand-concept { color: var(--on-navy-muted); }
.site-footer .brand { color: #fff; margin-bottom: 28px; }
.footer-tagline { font: 800 22px/1.2 var(--font-head); color: #fff; letter-spacing: -0.01em; text-transform: uppercase; margin-bottom: 6px; }
.footer-statement { font-family: var(--font-serif); font-style: italic; color: var(--on-navy); }
.footer-col h2 { font: 600 11px var(--font-head); letter-spacing: .2em; text-transform: uppercase; color: var(--on-navy-muted); margin-bottom: 18px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 28px; font-size: 13px; }

/* ---------- 15. Inner page hero ---------- */
.page-hero { padding: clamp(56px, 8vw, 112px) 0 clamp(40px, 5vw, 72px); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(40px, 5.6vw, 76px); font-weight: 800; letter-spacing: -0.04em; line-height: 1.02; margin-bottom: 24px; max-width: 900px; }
.page-hero .lede { font-family: var(--font-serif); font-size: clamp(20px, 2vw, 26px); line-height: 1.45; color: var(--ink); max-width: 760px; }

/* ---------- 16. Insights listing ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 28px 48px; margin-bottom: 48px; }
.filter-group { display: flex; flex-direction: column; gap: 12px; }
.filter-group > span { font: 600 11px var(--font-head); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  font: 600 13px/1 var(--font-head); padding: 10px 16px; border-radius: 999px;
  border: 1px solid var(--line); background: transparent; color: var(--ink); cursor: pointer;
  transition: all .2s ease;
}
.chip:hover { border-color: var(--navy); }
.chip[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }

.category-intro { display: grid; grid-template-columns: auto 1fr; gap: 32px; align-items: baseline; padding: 32px 0; border-top: 1px solid var(--navy); margin-bottom: 8px; }
.category-intro h2 { font-family: var(--font-serif); font-weight: 500; font-size: clamp(22px, 2.4vw, 30px); margin: 0; }
.category-intro p { color: var(--muted); margin: 0; }

.list-articles { border-top: 1px solid var(--line); }
.list-item {
  display: grid; grid-template-columns: 180px 1fr 160px; gap: 32px; align-items: start;
  padding: 32px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--text);
}
.list-item .cover { aspect-ratio: 4 / 3; }
.list-item h3 { font-size: clamp(21px, 2vw, 26px); margin-bottom: 8px; transition: color .2s; }
.list-item p.summary { color: var(--muted); margin: 0; font-size: 16px; }
.list-item .date { font: 500 13px var(--font-head); color: var(--muted); text-align: right; }
.list-item:hover h3 { color: var(--steel); }
.empty { padding: 48px 0; color: var(--muted); font-style: italic; }

.desk { margin-top: 24px; }
.desk-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.desk-col h3 { font: 600 12px var(--font-head); letter-spacing: .16em; text-transform: uppercase; color: var(--steel); padding-bottom: 14px; border-bottom: 1px solid var(--line); margin-bottom: 14px; }
.desk-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.desk-col li { font-family: var(--font-serif); font-size: 17px; line-height: 1.4; color: var(--ink); }

/* ---------- 17. Article page ---------- */
.article-header { padding: clamp(48px, 7vw, 96px) 0 40px; }
.article-header .container { max-width: 880px; }
.article-header h1 { font-size: clamp(36px, 5vw, 64px); font-weight: 800; letter-spacing: -0.035em; line-height: 1.05; margin-bottom: 24px; }
.article-header .lede { font-family: var(--font-serif); font-size: clamp(20px, 2vw, 25px); line-height: 1.45; color: var(--ink); }
.back-link { display: inline-flex; gap: 8px; font: 600 13px var(--font-head); color: var(--muted); text-decoration: none; margin-bottom: 36px; }
.back-link:hover { color: var(--navy); }
.article-cover { max-width: 1100px; margin: 0 auto 64px; padding: 0 var(--gutter); }
.article-cover .cover { aspect-ratio: 21 / 9; }

.prose { max-width: 700px; margin: 0 auto; padding: 0 var(--gutter); font-size: 18.5px; line-height: 1.78; color: var(--ink); }
.prose > p:first-child::first-letter {
  float: left; font: 400 4.2em/0.82 var(--font-serif); color: var(--navy); margin: 0.08em 0.1em 0 0;
}
.prose h2 { font-size: clamp(24px, 2.4vw, 30px); margin: 2.2em 0 0.7em; }
.prose h3 { font-size: 21px; margin: 1.8em 0 0.6em; }
.prose h4 { font-size: 18px; margin: 1.6em 0 0.5em; }
.prose p { margin: 0 0 1.25em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.4em; }
.prose li { margin-bottom: 0.55em; padding-left: 0.2em; }
.prose li::marker { color: var(--steel); }
.prose strong { color: var(--navy); font-weight: 600; }
.prose blockquote {
  margin: 2em 0; padding: 0 0 0 28px; border-left: 2px solid var(--accent);
  font-family: var(--font-serif); font-size: 1.2em; line-height: 1.5; color: var(--navy);
}
.prose hr { border: 0; height: 1px; background: var(--line); margin: 3em 0; }
.prose code { font-size: .88em; background: var(--warm); padding: .1em .35em; border-radius: 2px; }
.prose > p:last-child em:only-child {
  display: block; font-family: var(--font-serif); font-size: 1.15em; color: var(--navy);
  padding: 28px 0 0; border-top: 1px solid var(--line); margin-top: 2em;
}

.article-footer { max-width: 700px; margin: 64px auto 0; padding: 0 var(--gutter); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { font: 600 12px/1 var(--font-head); padding: 8px 12px; background: var(--warm); color: var(--steel); border-radius: 999px; text-decoration: none; }
.tag:hover { background: var(--navy); color: #fff; }

/* ---------- 18. Projects pages ---------- */
.principle { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--line); background: var(--paper); margin-bottom: 72px; }
.principle > div { padding: 36px 40px; }
.principle > div + div { border-left: 1px solid var(--line); }
.principle .label { font: 600 11px var(--font-head); letter-spacing: .18em; text-transform: uppercase; margin-bottom: 14px; }
.principle .avoid .label { color: var(--muted); }
.principle .prefer .label { color: var(--accent); }
.principle p.q { font-family: var(--font-serif); font-size: 20px; line-height: 1.45; color: var(--ink); margin: 0; }
.principle .avoid p.q { color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(103,115,125,.45); }

.project-list { border-top: 1px solid var(--navy); }
.project-row {
  display: grid; grid-template-columns: 90px 1.2fr 1fr 40px; gap: 32px; align-items: start;
  padding: 40px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--text);
}
.project-row .project-num { font-size: 36px; }
.project-row h3 { font-size: clamp(22px, 2.2vw, 28px); margin: 0 0 10px; transition: color .2s; }
.project-row p { color: var(--muted); margin: 0; font-size: 16px; }
.project-row .arr { font-size: 22px; color: var(--navy); justify-self: end; transition: transform .2s; }
.project-row:hover h3 { color: var(--steel); }
.project-row:hover .arr { transform: translateX(4px); }
.focus-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.focus-list li { font: 500 12.5px/1 var(--font-head); padding: 7px 10px; border: 1px solid var(--line); color: var(--text); border-radius: 999px; }

.case-layout { display: grid; grid-template-columns: 280px 1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.case-aside { position: sticky; top: calc(var(--header-h) + 32px); display: grid; gap: 28px; }
.case-aside dl { margin: 0; display: grid; gap: 22px; }
.case-aside dt { font: 600 11px var(--font-head); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.case-aside dd { margin: 0; font: 500 15px/1.5 var(--font-head); color: var(--ink); }
.case-toc { list-style: none; padding: 0; margin: 0; border-left: 1px solid var(--line); }
.case-toc a { display: block; padding: 6px 0 6px 16px; font: 500 14px var(--font-head); color: var(--muted); text-decoration: none; margin-left: -1px; border-left: 1px solid transparent; }
.case-toc a:hover { color: var(--navy); border-left-color: var(--navy); }

.case-section { padding: 0 0 48px; margin-bottom: 48px; border-bottom: 1px solid var(--line); }
.case-section:last-child { border-bottom: 0; }
.case-section .step { font: 800 12px var(--font-head); color: var(--accent); letter-spacing: .14em; margin-bottom: 10px; display: block; }
.case-section h2 { font-size: clamp(24px, 2.4vw, 32px); }
.case-section p { font-size: 18px; color: var(--ink); max-width: 680px; }
.case-section ul { padding-left: 1.2em; margin: 0; max-width: 680px; font-size: 17.5px; color: var(--ink); }
.case-section li { margin-bottom: .5em; }
.case-section li::marker { color: var(--steel); }
.case-section.highlight p { font-family: var(--font-serif); font-size: 22px; line-height: 1.5; color: var(--navy); }
.tech-list { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0 !important; }
.tech-list li { margin: 0; font: 600 13px/1 var(--font-head); padding: 10px 14px; background: var(--warm); color: var(--navy); border-radius: 999px; }
.note-box { border: 1px dashed var(--accent); padding: 18px 22px; font-size: 14px; color: var(--muted); background: rgba(168,131,79,.05); }

/* ---------- 19. About ---------- */
.about-hero { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: clamp(40px, 6vw, 96px); align-items: end; }
.portrait { aspect-ratio: 4 / 5; position: relative; background: var(--warm); overflow: hidden; }
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.portrait .ph { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font: 800 72px var(--font-head); color: var(--navy); letter-spacing: -0.04em; }
.portrait svg { position: absolute; inset: 0; width: 100%; height: 100%; }

.profile-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.profile-grid .section-label { margin-top: 12px; }
.portrait svg { opacity: .55; }
.profile-copy p { font-size: 18px; color: var(--ink); }
.profile-copy p:first-child { font-family: var(--font-serif); font-size: clamp(21px, 2vw, 25px); line-height: 1.5; color: var(--navy); }

.bridge { text-align: center; padding: clamp(64px, 9vw, 120px) 0; }
.bridge blockquote { margin: 0 auto; max-width: 900px; font-family: var(--font-serif); font-size: clamp(28px, 4vw, 52px); line-height: 1.2; color: #fff; letter-spacing: -0.01em; }
.bridge blockquote em { color: var(--accent); font-style: italic; }

.expertise-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--navy); }
.expertise { padding: 32px 28px 36px 0; border-bottom: 1px solid var(--line); }
.expertise:not(:nth-child(3n+1)) { padding-left: 28px; border-left: 1px solid var(--line); }
.expertise .think-num { display: block; margin-bottom: 12px; }
.expertise h3 { font-size: 20px; margin-bottom: 16px; }
.expertise ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.expertise li { font-size: 15px; color: var(--muted); padding-left: 16px; position: relative; }
.expertise li::before { content: ""; position: absolute; left: 0; top: 0.75em; width: 6px; height: 1px; background: var(--steel); }

.timeline { position: relative; display: grid; gap: 0; }
.chapter { display: grid; grid-template-columns: 220px 1fr; gap: 48px; padding: 40px 0; border-top: 1px solid var(--line); }
.chapter:first-child { border-top-color: var(--navy); }
.chapter .ch-num { font: 800 12px var(--font-head); letter-spacing: .16em; color: var(--accent); text-transform: uppercase; display: block; margin-bottom: 10px; }
.chapter h3 { font-size: 22px; margin: 0; }
.chapter p { font-size: 17.5px; color: var(--ink); max-width: 680px; }

.facts-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.fact h3 { font: 600 11px var(--font-head); letter-spacing: .18em; text-transform: uppercase; color: var(--steel); padding-bottom: 14px; border-bottom: 1px solid var(--line); margin-bottom: 16px; }
.fact ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.fact li { font-size: 15.5px; color: var(--ink); line-height: 1.5; }
.fact li strong { display: block; font: 600 12px var(--font-head); color: var(--muted); letter-spacing: .04em; }

.philosophy { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; }
.belief { padding: 40px 40px 40px 0; border-top: 1px solid rgba(255,255,255,.16); }
.belief:nth-child(2n) { padding-left: 40px; padding-right: 0; border-left: 1px solid rgba(255,255,255,.16); }
.belief h3 { font-family: var(--font-serif); font-weight: 500; font-size: clamp(22px, 2.2vw, 28px); line-height: 1.3; letter-spacing: -0.01em; margin-bottom: 14px; }
.belief p { color: var(--on-navy); margin: 0; }

/* ---------- 20. Beyond work page ---------- */
.topics-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.topic { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line-soft); }
.topic .cover { aspect-ratio: 4 / 3; }
.topic-body { padding: 24px 24px 28px; }
.topic h3 { font-size: 20px; margin-bottom: 8px; }
.topic p { font-size: 15px; color: var(--muted); margin: 0; }
.topic p.prompt { font-family: var(--font-serif); font-style: italic; color: var(--steel); font-size: 16px; margin-top: 14px; }

/* ---------- 21. Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.channels { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--navy); }
.channels li { border-bottom: 1px solid var(--line); }
.channels a { display: grid; grid-template-columns: 140px 1fr auto; gap: 16px; align-items: center; padding: 22px 0; text-decoration: none; color: var(--ink); }
.channels .ch-label { font: 600 11px var(--font-head); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.channels .ch-value { font: 600 17px var(--font-head); color: var(--navy); word-break: break-word; }
.channels a:hover .ch-value { color: var(--steel); }

.form { display: grid; gap: 20px; background: var(--paper); border: 1px solid var(--line-soft); padding: clamp(24px, 4vw, 44px); }
.form h2 { font-size: 24px; margin: 0; }
.field { display: grid; gap: 8px; }
.field label { font: 600 12px var(--font-head); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.field input, .field textarea, .field select {
  font: 400 16px/1.5 var(--font-body); color: var(--ink);
  padding: 13px 14px; border: 1px solid var(--line); background: var(--off); border-radius: var(--radius); width: 100%;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--navy); background: #fff; }
.field textarea { min-height: 150px; resize: vertical; }
.form-note { font-size: 13px; color: var(--muted); margin: 0; }

/* ---------- 22. States ---------- */
.notice { max-width: 760px; margin: 48px auto; padding: 24px 28px; border: 1px solid var(--accent); background: #fff; color: var(--ink); font-size: 15px; }
.notice code { background: var(--warm); padding: 2px 6px; }
.skeleton { background: linear-gradient(90deg, var(--warm) 0%, #f1efea 50%, var(--warm) 100%); background-size: 200% 100%; min-height: 160px; }
@media (prefers-reduced-motion: no-preference) { .skeleton { animation: shimmer 1.4s linear infinite; } }
@keyframes shimmer { to { background-position: -200% 0; } }

.reveal { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s ease; }
  .js .reveal.is-in { opacity: 1; transform: none; }
}
