/* Newsreader — latin-ext */
@font-face {
  font-family: 'Newsreader';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/20725a16.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Newsreader — latin */
@font-face {
  font-family: 'Newsreader';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/97c9a2c1.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Newsreader — latin-ext */
@font-face {
  font-family: 'Newsreader';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/a6a2a4bf.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Newsreader — latin */
@font-face {
  font-family: 'Newsreader';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/f24c3215.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Newsreader — latin-ext */
@font-face {
  font-family: 'Newsreader';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/a6a2a4bf.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Newsreader — latin */
@font-face {
  font-family: 'Newsreader';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/f24c3215.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Newsreader — latin-ext */
@font-face {
  font-family: 'Newsreader';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/a6a2a4bf.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Newsreader — latin */
@font-face {
  font-family: 'Newsreader';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/f24c3215.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* IBM Plex Sans — greek */
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url("/fonts/92e63ec1.woff2") format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}

/* IBM Plex Sans — latin-ext */
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url("/fonts/632855d1.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* IBM Plex Sans — latin */
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url("/fonts/868a235a.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* IBM Plex Sans — greek */
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 500;
  font-stretch: 100%;
  font-display: swap;
  src: url("/fonts/92e63ec1.woff2") format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}

/* IBM Plex Sans — latin-ext */
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 500;
  font-stretch: 100%;
  font-display: swap;
  src: url("/fonts/632855d1.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* IBM Plex Sans — latin */
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 500;
  font-stretch: 100%;
  font-display: swap;
  src: url("/fonts/868a235a.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* IBM Plex Sans — greek */
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url("/fonts/92e63ec1.woff2") format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}

/* IBM Plex Sans — latin-ext */
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url("/fonts/632855d1.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* IBM Plex Sans — latin */
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url("/fonts/868a235a.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* IBM Plex Mono — latin-ext */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/1969f6ff.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* IBM Plex Mono — latin */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/e2661bcc.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* IBM Plex Mono — latin-ext */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/93cfae71.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* IBM Plex Mono — latin */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/0bc96cd0.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ============================================================
   PALETTES  —  switch by setting data-palette on <html>
   ============================================================ */

:root,
[data-palette="terracotta"] {
  --paper-a: #FAF7F1;  --paper-b: #F0EAE0;  --paper-c: #E4DCD0;  --paper-d: #D8CFC1;
  --surface: #FAF7F1;
  --ink-rgb: 25, 21, 16;
  --ink: #191510;
  --accent: #B8452F;   --accent-deep: #93341F;   --accent-rgb: 184, 69, 47;
  --second: #7A6A57;
  --go: #6B8F4E;       --go-rgb: 107, 143, 78;
}

[data-palette="signal"] {
  --paper-a: #FFFBFB;  --paper-b: #FFF6F6;  --paper-c: #F7E9E9;  --paper-d: #EEDDDD;
  --surface: #FFFBFB;
  --ink-rgb: 33, 48, 47;
  --ink: #21302F;
  --accent: #DB1A1A;   --accent-deep: #B01212;   --accent-rgb: 219, 26, 26;
  --second: #2C687B;
  --go: #1F8A6D;       --go-rgb: 31, 138, 109;
}

[data-palette="harbour"] {
  --paper-a: #FFFBFB;  --paper-b: #FBF3F3;  --paper-c: #EFE6E6;  --paper-d: #E3DADA;
  --surface: #FFFBFB;
  --ink-rgb: 22, 50, 60;
  --ink: #16323C;
  --accent: #2C687B;   --accent-deep: #1E4B59;   --accent-rgb: 44, 104, 123;
  --second: #B0463F;
  --go: #2E8B6E;       --go-rgb: 46, 139, 110;
}

[data-palette="orchard"] {
  --paper-a: #FDF4EC;  --paper-b: #F9E8D9;  --paper-c: #F1DBC8;  --paper-d: #E7CDB6;
  --surface: #FDF6EF;
  --ink-rgb: 31, 42, 30;
  --ink: #1F2A1E;
  --accent: #A34A08;   --accent-deep: #7F3906;   --accent-rgb: 163, 74, 8;
  --second: #3D6140;
  --go: #457A46;       --go-rgb: 69, 122, 70;
}

/* ============================================================
   BASE
   ============================================================ */

:root {
  --display: 'Newsreader', 'Source Serif 4', Georgia, serif;
  --sans: 'IBM Plex Sans', system-ui, -apple-system, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --maxw: 1120px;
  --gut: clamp(20px, 5vw, 56px);
  --line: rgba(var(--ink-rgb), 0.14);
  --line-soft: rgba(var(--ink-rgb), 0.08);
  --muted: rgba(var(--ink-rgb), 0.55);
  --muted-2: rgba(var(--ink-rgb), 0.72);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  background-color: var(--paper-c);
  background-image: radial-gradient(ellipse 90% 70% at 50% 30%,
    var(--paper-a) 0%, var(--paper-b) 38%, var(--paper-c) 70%, var(--paper-d) 100%);
  background-attachment: fixed;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px; line-height: 1.65; font-weight: 400;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}

::selection { background: rgba(var(--accent-rgb), 0.18); }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 400; line-height: 1.12; letter-spacing: -0.018em; text-wrap: balance; }
p { text-wrap: pretty; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gut); }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 8px; z-index: 60; background: var(--surface); border: 1px solid var(--line); padding: 8px 14px; }

/* the recurring mono label */
.kicker, .field-label, .exp-sub, .path-when .yr, .skill-block h3,
.contact-meta .cl, .case-tag, .case-links .vl, .jump a, .sn, .lede-key {
  font-family: var(--mono);
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

/* ============================================================
   HEADER
   ============================================================ */

header.site {
  position: sticky; top: 0; z-index: 50;
  background: rgba(var(--ink-rgb), 0);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, background-color .25s;
}
header.site[data-scrolled="1"] {
  border-color: var(--line);
  background: color-mix(in srgb, var(--paper-a) 82%, transparent);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 66px; }
.brand { font-family: var(--display); font-weight: 500; font-size: 17px; letter-spacing: -0.01em; white-space: nowrap; line-height: 1.15; }
.brand span { display: block; font-family: var(--mono); font-size: 9.5px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin-top: 3px; }
.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-links a {
  font-family: var(--mono); font-size: 11.5px; font-weight: 500; letter-spacing: 0.09em;
  text-transform: uppercase; color: var(--muted-2); position: relative; padding: 5px 0; white-space: nowrap;
  transition: color .2s;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .22s ease;
}
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { transform: scaleX(1); }
.nav-links a[aria-current="page"] { color: var(--ink); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.menu-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; color: var(--ink); }

.avail {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 10.5px; font-weight: 500; letter-spacing: 0.09em;
  text-transform: uppercase; color: var(--muted-2);
  border: 1px solid var(--line); border-radius: 100px; padding: 6px 13px;
}
.avail::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%; flex: none;
  background: var(--go); box-shadow: 0 0 0 3px rgba(var(--go-rgb), 0.18);
}

.btn {
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  font-family: var(--sans); font-size: 13px; font-weight: 500; letter-spacing: 0.01em;
  padding: 10px 17px; border-radius: 3px; cursor: pointer; border: 1px solid transparent;
  transition: background .2s, color .2s, border-color .2s;
}
.btn-primary { background: var(--accent); color: var(--paper-a); }
.btn-primary:hover { background: var(--accent-deep); }
.btn-ink { background: var(--ink); color: var(--paper-a); }
.btn-ink:hover { background: rgba(var(--ink-rgb), 0.84); }
.btn-ghost { background: transparent; color: var(--ink); border-color: rgba(var(--ink-rgb), 0.25); }
.btn-ghost:hover { border-color: var(--ink); }
.btn svg { width: 14px; height: 14px; }

/* ============================================================
   HERO  /  PAGE HEAD
   ============================================================ */

.hero { padding: clamp(44px, 7vw, 84px) 0 clamp(30px, 4vw, 50px); }
.hero h1 {
  font-size: clamp(30px, 4.4vw, 48px); line-height: 1.1; letter-spacing: -0.025em; max-width: 24ch;
}
.hero h1 em { font-style: italic; color: var(--accent); }
.hero .lede {
  display: grid; grid-template-columns: 1fr 300px; gap: clamp(28px, 5vw, 64px);
  margin-top: 30px; align-items: start;
}
.hero .lead { font-size: clamp(15.5px, 1.7vw, 17.5px); line-height: 1.68; color: var(--muted-2); max-width: 54ch; }
.lede-side { border-left: 1px solid var(--line); padding-left: clamp(18px, 2.4vw, 28px); display: grid; gap: 18px; }
.lede-key { font-size: 9.5px; color: var(--muted); margin-bottom: 4px; }
.lede-val { font-size: 14px; line-height: 1.5; color: var(--ink); }
.lede-val a { color: var(--accent); border-bottom: 1px solid rgba(var(--accent-rgb), 0.35); }

.roles { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 26px; }
.role-chip {
  font-size: 12.5px; font-weight: 400; color: var(--muted-2);
  background: rgba(var(--ink-rgb), 0.045); border: 1px solid var(--line-soft);
  padding: 7px 13px; border-radius: 3px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 28px; }

.stat-band {
  display: grid; grid-template-columns: repeat(4, 1fr);
  margin-top: 42px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.stat { padding: 20px 22px 20px 0; border-left: 1px solid var(--line); padding-left: 22px; }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat .sv { font-family: var(--display); font-size: clamp(24px, 3vw, 32px); line-height: 1; letter-spacing: -0.015em; }
.stat .sv sub { font-size: 0.5em; vertical-align: baseline; color: var(--muted); letter-spacing: 0; }
.stat .sl { font-size: 12px; color: var(--muted); margin-top: 6px; line-height: 1.45; }
@media (max-width: 860px) { .stat-band { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); } }

.page-head { padding: clamp(38px, 5.5vw, 68px) 0 clamp(22px, 3vw, 36px); }
.page-head .kicker { font-size: 10px; color: var(--accent); }
.page-head h1 { font-size: clamp(30px, 4.8vw, 48px); letter-spacing: -0.025em; max-width: 18ch; margin-top: 14px; }
.page-head .lead { margin-top: 18px; font-size: clamp(15.5px, 1.7vw, 17px); line-height: 1.66; color: var(--muted-2); max-width: 60ch; }
.text-link { color: var(--accent); border-bottom: 1px solid rgba(var(--accent-rgb), 0.35); }
.text-link:hover { color: var(--accent-deep); border-color: var(--accent-deep); }

.jump { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 26px; }
.jump a {
  font-size: 10.5px; font-weight: 500; color: var(--muted-2);
  border: 1px solid var(--line); padding: 7px 13px; border-radius: 3px;
  transition: border-color .2s, color .2s, background .2s;
}
.jump a:hover { border-color: var(--accent); color: var(--accent); background: rgba(var(--accent-rgb), 0.05); }

/* ============================================================
   SECTIONS  &  NUMBERED HEADS
   ============================================================ */

.section { padding: clamp(38px, 5.5vw, 72px) 0; scroll-margin-top: 80px; }
.sec-head {
  display: flex; align-items: baseline; gap: 18px; flex-wrap: wrap;
  padding-bottom: 14px; border-bottom: 1px solid rgba(var(--ink-rgb), 0.22); margin-bottom: 30px;
}
.sn { font-size: 10px; color: var(--accent); flex: none; align-self: flex-start; padding-top: 9px; }
.sec-head h1, .sec-head h2 { font-size: clamp(24px, 3.4vw, 36px); letter-spacing: -0.02em; }
.sec-note { margin-left: auto; font-size: 12.5px; color: var(--muted); text-align: right; }
.sec-note a { color: var(--accent); border-bottom: 1px solid rgba(var(--accent-rgb), 0.35); }
.sec-intro { color: var(--muted); max-width: 62ch; font-size: 15px; margin: -14px 0 30px; }

/* ============================================================
   CASE STUDIES
   ============================================================ */

.cases { display: flex; flex-direction: column; }
.case { padding: clamp(26px, 3.4vw, 42px) 0; border-top: 1px solid var(--line); scroll-margin-top: 80px; }
.case:first-child { border-top: 0; padding-top: 4px; }
.case-lay { display: grid; grid-template-columns: 190px 1fr; gap: clamp(20px, 3vw, 44px); align-items: start; }
.case-side { position: sticky; top: 88px; }
.case-tag { display: block; font-size: 9.5px; color: var(--accent); line-height: 1.5; }
.case-year { display: block; font-family: var(--mono); font-size: 11px; color: var(--muted); margin-top: 6px; letter-spacing: 0.04em; }
.case h2, .case h3 { font-size: clamp(22px, 2.9vw, 32px); letter-spacing: -0.02em; }
.case-org { font-size: 14px; color: var(--muted-2); margin-top: 10px; }
.case-org b { color: var(--ink); font-weight: 500; }

.case-grid { margin-top: 26px; display: grid; grid-template-columns: 1fr 1fr; gap: 24px 40px; }
.field-label { font-size: 9.5px; color: var(--muted); margin-bottom: 8px; }
.field p { font-size: 14.5px; line-height: 1.68; color: var(--muted-2); }
.field.outcome {
  grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 18px; margin-top: 2px;
}
.field.outcome .field-label { color: var(--accent); }
.field.outcome p { color: var(--ink); font-size: 15px; }

.case-quote { margin-top: 24px; padding-left: 20px; border-left: 2px solid rgba(var(--accent-rgb), 0.4); }
.case-quote blockquote { font-family: var(--display); font-size: 18px; line-height: 1.5; font-style: italic; }
.case-quote .who { font-size: 12.5px; color: var(--muted); margin-top: 10px; }
.case-quote .who b { color: var(--muted-2); font-weight: 500; }

.case-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 24px; }
.chip { font-size: 11.5px; color: var(--muted-2); border: 1px solid var(--line-soft); background: rgba(var(--ink-rgb), 0.04); padding: 5px 10px; border-radius: 3px; }

.case-links {
  margin-top: 22px; padding: 14px 0 0; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 9px 18px; align-items: center;
}
.case-links .vl { display: inline-flex; align-items: center; gap: 6px; font-size: 9.5px; color: var(--accent); }
.case-links .vl svg { width: 13px; height: 13px; flex: none; }
.case-links a { font-size: 13px; color: var(--muted-2); border-bottom: 1px solid var(--line); padding-bottom: 2px; transition: color .2s, border-color .2s; }
.case-links a::after { content: " ↗"; font-size: 11px; opacity: .55; }
.case-links a:hover { color: var(--accent); border-color: var(--accent); }

.case-media { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; margin-top: 24px; }
.case-media figure { margin: 0; }
.case-media img { width: 100%; height: 220px; object-fit: cover; border: 1px solid var(--line); border-radius: 3px; }
.case-media figure.tall img { height: auto; max-height: 440px; object-fit: contain; background: var(--surface); }
.case-media figcaption { font-size: 11.5px; color: var(--muted); margin-top: 8px; line-height: 1.5; }

.case-funder { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.case-funder img { height: 28px; width: auto; flex: none; }
.case-funder p { font-size: 12.5px; color: var(--muted); line-height: 1.55; max-width: 48ch; }
.case-funder p b { color: var(--muted-2); font-weight: 500; }

/* case previews on the home page */
.case-previews { display: grid; grid-template-columns: repeat(3, 1fr); }
.case-card { display: flex; flex-direction: column; padding: 26px 24px 24px; border-left: 1px solid var(--line); transition: background .2s; }
.case-card:first-child { border-left: 0; padding-left: 0; }
.case-card:last-child { padding-right: 0; }
.case-card:hover { background: rgba(var(--ink-rgb), 0.03); }
.case-card .case-top { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; flex-wrap: wrap; min-height: 34px; }
.case-card h3 { font-size: 21px; line-height: 1.18; margin-top: 14px; }
.case-card .case-org { font-size: 13px; margin-top: 8px; }
.case-card-sum { font-size: 14px; line-height: 1.62; color: var(--muted-2); margin-top: 14px; flex: 1; }
.case-card-sum b { color: var(--ink); font-weight: 500; }
.case-card-cta { margin-top: 18px; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); }
.case-card-cta::after { content: " →"; }
@media (max-width: 900px) {
  .case-previews { grid-template-columns: 1fr; }
  .case-card { border-left: 0; border-top: 1px solid var(--line); padding: 24px 0; }
  .case-card:first-child { border-top: 0; }
}

/* ============================================================
   EXPERIENCE LEDGER
   ============================================================ */

.exp-cols { display: flex; flex-direction: column; gap: clamp(30px, 4vw, 46px); }
.exp-group h2, .exp-group h3 { font-size: 19px; letter-spacing: -0.015em; }
.exp-group .exp-sub { font-size: 9.5px; color: var(--muted); margin: 5px 0 16px; }
.exp-head { padding-bottom: 12px; border-bottom: 1px solid rgba(var(--ink-rgb), 0.22); margin-bottom: 4px; }
.exp-list { columns: 300px; column-gap: clamp(24px, 3vw, 44px); }
.exp-item { padding: 16px 0; border-top: 1px solid var(--line-soft); break-inside: avoid; }
.exp-thumb { width: 100%; height: auto; border: 1px solid var(--line); border-radius: 3px; margin: 2px 0 12px; }
.exp-item .ti { font-size: 15px; font-weight: 500; line-height: 1.35; }
.exp-item .yr { font-family: var(--mono); font-size: 11px; color: var(--muted); letter-spacing: 0.04em; margin-top: 3px; }
.exp-item .de { font-size: 13.5px; color: var(--muted-2); line-height: 1.6; margin-top: 7px; }
.exp-item .de a { color: var(--accent); border-bottom: 1px solid rgba(var(--accent-rgb), 0.3); }
.exp-item .exp-src { display: inline-block; margin-top: 8px; font-size: 11.5px; color: var(--muted); border-bottom: 1px solid var(--line); padding-bottom: 1px; }
.exp-item .exp-src::after { content: " ↗"; font-size: 10px; opacity: .55; }
.exp-item .exp-src:hover { color: var(--accent); border-color: var(--accent); }

/* ============================================================
   ABOUT  /  PATH  /  PRINCIPLES  /  SKILLS
   ============================================================ */

.about-grid { display: grid; grid-template-columns: 300px 1fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.portrait { border: 1px solid var(--line); border-radius: 3px; overflow: hidden; }
.portrait img { width: 100%; height: auto; }
.portrait-cap { font-family: var(--mono); font-size: 10px; letter-spacing: 0.06em; color: var(--muted); margin-top: 10px; line-height: 1.5; }
.about-body p { font-size: 16px; line-height: 1.72; color: var(--muted-2); margin-bottom: 15px; }
.about-body p:first-child { font-family: var(--display); font-size: 21px; line-height: 1.45; color: var(--ink); letter-spacing: -0.015em; }
.about-body strong { color: var(--ink); font-weight: 500; }

.path { max-width: 820px; }
.path-lead { font-family: var(--display); font-size: clamp(19px, 2.4vw, 25px); line-height: 1.45; margin-bottom: 36px; max-width: 32ch; letter-spacing: -0.015em; }
.path-lead em { font-style: italic; color: var(--accent); }
.path-item { display: grid; grid-template-columns: 150px 1fr; gap: clamp(18px, 3vw, 36px); padding: 26px 0; border-top: 1px solid var(--line); }
.path-item:first-of-type { border-top: 0; padding-top: 0; }
.path-when .yr { font-size: 9.5px; color: var(--accent); }
.path-when .place { font-size: 12.5px; color: var(--muted); margin-top: 6px; line-height: 1.45; }
.path-body h3 { font-size: clamp(19px, 2.3vw, 23px); margin-bottom: 11px; letter-spacing: -0.015em; }
.path-body p { font-size: 15.5px; line-height: 1.72; color: var(--muted-2); }
.path-body p + p { margin-top: 12px; }
.path-body em { font-style: italic; color: var(--ink); }

.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.principle { padding: 24px 24px 26px; border-left: 1px solid var(--line); border-top: 1px solid var(--line); }
.principle:nth-child(3n+1) { border-left: 0; padding-left: 0; }
.principle:nth-child(-n+3) { border-top: 0; padding-top: 4px; }
.principle .n { font-family: var(--mono); font-size: 10px; letter-spacing: 0.11em; color: var(--accent); }
.principle h3 { font-size: 19px; margin: 9px 0 8px; letter-spacing: -0.015em; }
.principle p { font-size: 14px; line-height: 1.62; color: var(--muted-2); }
@media (max-width: 900px) {
  .principles { grid-template-columns: 1fr; }
  .principle { border-left: 0; padding-left: 0; padding-right: 0; border-top: 1px solid var(--line); }
  .principle:first-child { border-top: 0; }
}

.skill-grid { display: grid; grid-template-columns: 1.15fr 0.85fr 1fr; gap: clamp(22px, 3vw, 40px); }
.skill-block h3 { font-size: 9.5px; color: var(--muted); margin-bottom: 14px; }
.skill-block h3 + h3 { margin-top: 26px; }
.skill-list { display: flex; flex-wrap: wrap; gap: 6px; }
.skill-list span { font-size: 12.5px; color: var(--muted-2); border: 1px solid var(--line-soft); background: rgba(var(--ink-rgb), 0.04); padding: 6px 11px; border-radius: 3px; }
.lang-row { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; padding: 10px 0; border-top: 1px solid var(--line-soft); }
.lang-row:first-of-type { border-top: 0; padding-top: 0; }
.lang-row .ln { font-size: 14.5px; font-weight: 500; }
.lang-row .lv { font-size: 12.5px; color: var(--muted); text-align: right; }
.edu-item { padding: 11px 0; border-top: 1px solid var(--line-soft); }
.edu-item:first-of-type { border-top: 0; padding-top: 0; }
.edu-item .et { font-size: 14px; font-weight: 500; line-height: 1.4; }
.edu-item .es { font-family: var(--mono); font-size: 11px; color: var(--muted); margin-top: 3px; letter-spacing: 0.03em; line-height: 1.5; }
@media (max-width: 980px) { .skill-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 700px) { .skill-grid { grid-template-columns: 1fr; } }

/* ============================================================
   QUOTES  /  EXPLORE  /  NEXT
   ============================================================ */

.quotes { display: grid; grid-template-columns: repeat(3, 1fr); }
.quote { padding: 0 24px; border-left: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; }
.quote:first-child { border-left: 0; padding-left: 0; }
.quote:last-child { padding-right: 0; }
.quote blockquote { font-family: var(--display); font-size: 17px; line-height: 1.55; font-style: italic; flex: 1; }
.quote .who { font-size: 12.5px; color: var(--muted); line-height: 1.5; }
.quote .who b { color: var(--ink); font-weight: 500; display: block; font-size: 13.5px; }
.quotes-note { margin-top: 22px; font-size: 12.5px; color: var(--muted); }
.quotes-note a { color: var(--accent); border-bottom: 1px solid rgba(var(--accent-rgb), 0.35); }
@media (max-width: 900px) {
  .quotes { grid-template-columns: 1fr; }
  .quote { border-left: 0; padding: 22px 0; border-top: 1px solid var(--line); }
  .quote:first-child { border-top: 0; padding-top: 0; }
}

.explore-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.explore-card { display: block; padding: 26px 24px 28px; border-left: 1px solid var(--line); transition: background .2s; }
.explore-card:first-child { border-left: 0; padding-left: 0; }
.explore-card:last-child { padding-right: 0; }
a.explore-card:hover { background: rgba(var(--ink-rgb), 0.03); }
.explore-card .n { font-family: var(--mono); font-size: 10px; letter-spacing: 0.11em; color: var(--accent); }
.explore-card h3 { font-size: 20px; margin: 9px 0 8px; letter-spacing: -0.015em; }
.explore-card p { font-size: 14px; line-height: 1.62; color: var(--muted-2); }
.explore-cta { display: block; width: fit-content; margin-top: 14px; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); }
.explore-cta::after { content: " →"; }
a.explore-cta:hover { color: var(--accent-deep); }
@media (max-width: 900px) {
  .explore-grid { grid-template-columns: 1fr; }
  .explore-card { border-left: 0; border-top: 1px solid var(--line); padding: 24px 0; }
  .explore-card:first-child { border-top: 0; }
}

.next-up { margin-top: clamp(32px, 4.5vw, 52px); padding-top: 22px; border-top: 1px solid rgba(var(--ink-rgb), 0.22); }
.next-up a { display: inline-flex; flex-direction: column; gap: 5px; }
.next-up .nl { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.next-up .nt { font-family: var(--display); font-size: clamp(21px, 2.6vw, 28px); letter-spacing: -0.02em; transition: color .2s; }
.next-up a:hover .nt { color: var(--accent); }

/* ============================================================
   CONTACT
   ============================================================ */

.contact { background: var(--ink); color: var(--paper-a); border-top: 1px solid var(--line); }
.contact .wrap { padding-top: clamp(48px, 7vw, 86px); padding-bottom: clamp(44px, 6vw, 72px); }
.contact .kicker { font-size: 10px; color: rgba(255,255,255,0.45); }
.contact h2 { font-size: clamp(28px, 4.2vw, 46px); margin: 16px 0 0; max-width: 17ch; letter-spacing: -0.025em; }
.contact-lay { display: grid; grid-template-columns: 1fr 340px; gap: clamp(28px, 5vw, 64px); align-items: start; margin-top: 24px; }
.contact p.lead { color: rgba(255,255,255,0.66); font-size: 16px; max-width: 46ch; line-height: 1.65; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 28px; }
.contact .btn-primary { background: var(--accent); color: #fff; }
.contact .btn-primary:hover { background: var(--accent-deep); }
.contact .btn-ghost { color: rgba(255,255,255,0.92); border-color: rgba(255,255,255,0.28); }
.contact .btn-ghost:hover { border-color: rgba(255,255,255,0.75); }
.contact-meta { display: grid; gap: 16px; }
.contact-meta .cl { color: rgba(255,255,255,0.42); font-size: 9.5px; margin-bottom: 4px; }
.contact-meta a, .contact-meta span { color: rgba(255,255,255,0.92); font-size: 14px; }
.contact-meta a:hover { color: var(--accent); }
.foot-nav { display: flex; flex-wrap: wrap; gap: 9px 24px; margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,0.14); }
.foot-nav a { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.09em; text-transform: uppercase; color: rgba(255,255,255,0.66); }
.foot-nav a:hover { color: #fff; }
.foot { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.05em; color: rgba(255,255,255,0.4); margin-top: 20px; }
.foot a { color: rgba(255,255,255,0.66); text-decoration: underline; text-underline-offset: 2px; }
.foot a:hover { color: #fff; }
@media (max-width: 860px) { .contact-lay { grid-template-columns: 1fr; } }

/* ============================================================
   RESPONSIVE  &  MOTION
   ============================================================ */

@media (max-width: 900px) {
  .case-lay { grid-template-columns: 1fr; gap: 14px; }
  .case-side { position: static; display: flex; align-items: baseline; gap: 14px; }
  .case-side .case-year { margin-top: 0; }
  .case-grid { grid-template-columns: 1fr; gap: 20px; }
  .about-grid { grid-template-columns: 1fr; }
  .portrait { max-width: 240px; }
  .path-item { grid-template-columns: 1fr; gap: 8px; }
  .hero .lede { grid-template-columns: 1fr; }
  .lede-side { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; padding-top: 20px; }
}
@media (max-width: 720px) {
  .nav-links { display: none; }
  .menu-toggle { display: inline-flex; }
  .avail { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column; align-items: flex-start; gap: 2px;
    position: absolute; top: 66px; left: 0; right: 0;
    background: var(--paper-a); border-bottom: 1px solid var(--line);
    padding: 14px var(--gut) 20px;
  }
  .nav-links.open a { padding: 9px 0; width: 100%; font-size: 13px; }
  .nav-cta .btn-text { display: none; }
}

@media (prefers-reduced-motion: no-preference) {
  html.js .reveal { opacity: 0; transform: translateY(12px); transition: opacity .55s ease, transform .55s cubic-bezier(.22,1,.36,1); }
  html.js .reveal.in { opacity: 1; transform: none; }
}

/* ============================================================
   PRINT
   ============================================================ */

@media print {
  header.site, .menu-toggle, .hero-actions, .contact-actions, .jump, .next-up, .foot-nav,
  .case-card-cta, .explore-cta, .avail { display: none !important; }
  body { background: #fff; font-size: 10.5pt; }
  .section, .hero, .page-head { padding: 14px 0; }
  .case, .quote, .principle { break-inside: avoid; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .case-side { position: static; }
  .contact { background: #fff; color: #000; }
  .contact h2, .contact p.lead, .contact-meta a, .contact-meta span, .foot, .foot a { color: #000; }
}
