:root {
  --paper: #ECEAE5;
  --paper-2: #E4E1DA;
  --ink: #111318;
  --ink-2: #555963;
  --ink-3: #8A8D94;
  --line: rgba(17, 19, 24, .14);
  --night: #0C0E12;
  --night-2: #13161B;
  --night-3: #1B1F26;
  --fog: #E9E7E1;
  --fog-2: #9A9DA4;
  --fog-3: #62666E;
  --line-d: rgba(255, 255, 255, .09);
  --brass: #C9A063;
  --brass-2: #E2C38F;
  --brass-ink: #8A6630;

  --sans: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --gutter: clamp(16px, 4vw, 56px);
  --maxw: 1360px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }
::selection { background: var(--brass); color: var(--night); }

.label {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.dark .label { color: var(--fog-3); }

/* ---------- progress ---------- */
.progress { position: fixed; inset: 0 0 auto 0; height: 2px; z-index: 60; pointer-events: none; }
.progress span { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: var(--brass); }

/* ---------- top bar ---------- */
.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px var(--gutter);
  transition: background .4s var(--ease), color .4s var(--ease), padding .4s var(--ease), box-shadow .4s;
}
.topbar.scrolled { padding-top: 12px; padding-bottom: 12px; background: rgba(236, 234, 229, .78); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); box-shadow: 0 1px 0 var(--line); }
.topbar.on-dark { color: var(--fog); }
.topbar.on-dark.scrolled { background: rgba(12, 14, 18, .72); box-shadow: 0 1px 0 var(--line-d); }

.mark { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 13px; font-weight: 600; letter-spacing: .06em; }
.mark-dots { display: grid; grid-template-columns: repeat(3, 5px); gap: 3px; }
.mark-dots i { width: 5px; height: 5px; border-radius: 50%; background: currentColor; transition: transform .5s var(--ease), background .3s; }
.mark-dots i:nth-child(2n) { transform: scale(.6); }
.mark:hover .mark-dots i { background: var(--brass); }
.mark:hover .mark-dots i:nth-child(2n) { transform: scale(1); }
.mark:hover .mark-dots i:nth-child(2n+1) { transform: scale(.55); }

.topnav { display: flex; gap: 26px; font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.topnav a { position: relative; opacity: .7; transition: opacity .2s; }
.topnav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease); }
.topnav a:hover, .topnav a.active { opacity: 1; }
.topnav a:hover::after, .topnav a.active::after { transform: scaleX(1); transform-origin: left; }

.top-actions { display: flex; gap: 8px; }
.pill {
  display: inline-flex; align-items: center; height: 36px; padding: 0 16px;
  border-radius: 999px; font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase;
  border: 1px solid currentColor; transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease);
  white-space: nowrap;
}
.pill-ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.on-dark .pill-ghost:hover { background: var(--fog); color: var(--night); border-color: var(--fog); }
.pill-solid { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.pill-solid:hover { background: var(--brass); border-color: var(--brass); color: var(--night); }
.on-dark .pill-solid { background: var(--fog); color: var(--night); border-color: var(--fog); }
.on-dark .pill-solid:hover { background: var(--brass); border-color: var(--brass); }

/* ---------- hero ---------- */
.hero {
  position: relative; height: 100vh; height: 100svh; min-height: 620px;
  overflow: hidden; background: var(--paper);
  touch-action: pan-y;
}
.hero::after { /* soft vignette for depth */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(120% 90% at 60% 40%, transparent 55%, rgba(17,19,24,.06) 100%);
}
#dots { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero-inner {
  position: absolute; left: var(--gutter); bottom: clamp(110px, 22vh, 220px); z-index: 2;
  pointer-events: none; max-width: min(720px, 60vw);
}
.kicker { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 22px; }
.dot-live { width: 7px; height: 7px; border-radius: 50%; background: var(--brass); box-shadow: 0 0 0 0 rgba(201,160,99,.6); animation: live 2.4s infinite; }
@keyframes live { 0% { box-shadow: 0 0 0 0 rgba(201,160,99,.55); } 70% { box-shadow: 0 0 0 10px rgba(201,160,99,0); } 100% { box-shadow: 0 0 0 0 rgba(201,160,99,0); } }

.hero-name {
  font-weight: 700; font-stretch: 112%;
  font-size: clamp(48px, 8.4vw, 132px); line-height: .9; letter-spacing: -.035em;
}
.hero-name .line { display: block; overflow: hidden; padding-bottom: .04em; }
.hero-name .line > span { display: inline-block; transform: translateY(105%); transition: transform 1.1s var(--ease); }
.hero-name .line:nth-child(2) > span { transition-delay: .09s; }
.loaded .hero-name .line > span { transform: none; }
.hero-name .line:nth-child(2) > span { color: var(--ink); }
.hero-name .line:nth-child(2) > span::after { content: "."; color: var(--brass); }
.hero-role { margin-top: 22px; font-family: var(--mono); font-size: clamp(11px, 1vw, 13px); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }

.hero-foot { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 28px; z-index: 2; display: flex; justify-content: space-between; align-items: flex-end; pointer-events: none; }
.hint { display: inline-flex; align-items: center; gap: 12px; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); transition: opacity .6s; }
.hint.gone { opacity: 0; }
.hint-icon { position: relative; width: 22px; height: 22px; border: 1px solid currentColor; border-radius: 50%; }
.hint-icon::after { content: ""; position: absolute; width: 4px; height: 4px; border-radius: 50%; background: var(--brass); top: 50%; left: 50%; margin: -2px 0 0 -2px; animation: orbit 2.6s linear infinite; }
@keyframes orbit { from { transform: rotate(0) translateX(6px); } to { transform: rotate(360deg) translateX(6px); } }
.scroll-cue { pointer-events: auto; width: 26px; height: 42px; border: 1px solid var(--ink-3); border-radius: 14px; position: relative; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: var(--ink); animation: cue 2s var(--ease) infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

/* ---------- layout ---------- */
section.light, section.dark { position: relative; padding: clamp(80px, 12vw, 160px) 0; }
section.light { background: var(--paper); color: var(--ink); }
section.light.alt { background: var(--paper-2); }
section.dark { background: var(--night); color: var(--fog); }
section.dark + section.dark { padding-top: 0; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.grid-12 { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: clamp(16px, 2.5vw, 40px); }
.col-label { grid-column: 1 / span 3; }
.col-main { grid-column: 4 / span 9; }
.col-label.sticky { align-self: start; position: sticky; top: 100px; }
.section-title { margin-top: 10px; font-weight: 650; font-stretch: 108%; font-size: clamp(26px, 2.6vw, 38px); line-height: 1.02; letter-spacing: -.02em; }

/* ---------- about ---------- */
.about { padding-top: clamp(90px, 12vw, 150px) !important; padding-bottom: clamp(60px, 7vw, 100px) !important; }
.lede { font-size: clamp(26px, 3.3vw, 48px); line-height: 1.12; letter-spacing: -.022em; font-weight: 500; max-width: 22ch; }
.lede em { font-style: normal; color: var(--brass-ink); background: linear-gradient(transparent 62%, rgba(201,160,99,.22) 62%); }
.about-body { margin-top: 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 28px; color: var(--ink-2); max-width: 900px; }
.direct { margin-top: 44px; }
.direct-links { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 10px; }
.direct-links a { display: inline-flex; gap: 22px; align-items: center; padding: 12px 18px; border: 1px solid var(--line); border-radius: 999px; font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; transition: background .25s, border-color .25s, color .25s; }
.direct-links a b { font-weight: 400; transition: transform .3s var(--ease); }
.direct-links a:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.direct-links a:hover b { transform: translate(2px, -2px); }

/* strengths + impact */
.block { margin-top: clamp(80px, 10vw, 130px); }
.sub-title { margin-top: 10px; font-weight: 650; font-stretch: 108%; font-size: clamp(22px, 2.1vw, 30px); line-height: 1.05; letter-spacing: -.02em; }
.sub-note { margin-top: 14px; font-size: 14px; color: var(--ink-2); max-width: 24ch; }
.strengths { display: grid; grid-template-columns: 1fr 1fr; column-gap: 44px; }
.strength { padding: 26px 0 32px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 46px 1fr; }
.s-num { font-family: var(--mono); font-size: 12px; color: var(--brass-ink); padding-top: 7px; grid-row: span 2; }
.strength h4 { font-weight: 650; font-stretch: 106%; font-size: clamp(20px, 1.8vw, 24px); letter-spacing: -.015em; line-height: 1.15; }
.strength p { margin-top: 10px; color: var(--ink-2); font-size: 15.5px; }

.impact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.impact { position: relative; background: #F5F3EF; border: 1px solid var(--line); border-radius: 18px; padding: 24px 22px; display: flex; flex-direction: column; gap: 18px; transition: transform .4s var(--ease), box-shadow .4s, border-color .4s, opacity .9s var(--ease); }
.impact:hover { transform: translateY(-4px); border-color: rgba(138,102,48,.45); box-shadow: 0 18px 36px -22px rgba(17,19,24,.4); }
.i-tag { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.i-big { font-weight: 700; font-stretch: 115%; font-size: clamp(36px, 3.3vw, 50px); line-height: 1; letter-spacing: -.04em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.i-from { font-size: .44em; font-weight: 500; color: var(--ink-3); letter-spacing: -.01em; text-decoration: line-through; text-decoration-thickness: 1px; vertical-align: .55em; }
.i-arrow { font-size: .44em; color: var(--brass-ink); margin: 0 8px 0 6px; vertical-align: .55em; }
.i-bar { position: relative; height: 8px; border-radius: 6px; background: rgba(17,19,24,.08); overflow: hidden; }
.i-bar span { position: absolute; top: 0; bottom: 0; left: var(--l, 0); width: var(--w); transform: scaleX(0); transform-origin: left; transition: transform 1.1s var(--ease) .3s; }
.i-bar-base { background: rgba(17,19,24,.38); }
.i-bar-gain { background: var(--brass); }
.i-bar-base + .i-bar-gain { transition-delay: 1.3s; }
.impact.in .i-bar span { transform: none; }
.i-row { display: flex; align-items: center; gap: 16px; }
.ring { width: 54px; height: 54px; flex: none; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 7; }
.ring-bg { stroke: rgba(17,19,24,.08); }
.ring-fg { stroke: var(--brass); stroke-linecap: round; stroke-dasharray: 213.63; stroke-dashoffset: 213.63; transition: stroke-dashoffset 1.5s var(--ease) .3s; }
.impact.in .ring-fg { stroke-dashoffset: calc(213.63 * (1 - var(--p))); }
.steps { display: flex; align-items: flex-end; gap: 4px; height: 52px; flex: none; }
.steps i { width: 9px; border-radius: 3px; background: rgba(17,19,24,.1); transition: background .4s; }
.steps i:nth-child(1) { height: 20%; } .steps i:nth-child(2) { height: 40%; } .steps i:nth-child(3) { height: 60%; } .steps i:nth-child(4) { height: 80%; } .steps i:nth-child(5) { height: 100%; }
.impact.in .steps i:nth-child(-n+3) { background: var(--brass); }
.impact.in .steps i:nth-child(1) { transition-delay: .4s; } .impact.in .steps i:nth-child(2) { transition-delay: .7s; } .impact.in .steps i:nth-child(3) { transition-delay: 1s; }
.chips-mini { display: flex; flex-wrap: wrap; gap: 6px; }
.chips-mini span { font-family: var(--mono); font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; padding: 5px 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink-2); }
.i-text { margin-top: auto; font-size: 14.5px; line-height: 1.55; color: var(--ink-2); }
.i-text b { color: var(--ink); font-weight: 600; }
.also { margin-top: 26px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.also li { padding-top: 16px; border-top: 1px solid var(--line); font-size: 14.5px; color: var(--ink-2); }
.also b { color: var(--ink); font-weight: 650; }

.ticker { margin-top: clamp(70px, 9vw, 120px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; padding: 20px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.ticker-track { display: flex; width: max-content; animation: tick 48s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-track span { font-weight: 600; font-stretch: 120%; font-size: clamp(22px, 2.6vw, 36px); letter-spacing: -.02em; padding: 0 28px; display: inline-flex; align-items: center; gap: 56px; white-space: nowrap; }
.ticker-track span::after { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--brass); margin-left: 28px; }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------- gantt timeline ---------- */
.gantt { --start: 2005; --end: 2027; --meta: 300px; --time: 150px; position: relative; }
.gantt-axis { position: relative; height: 26px; margin-left: var(--meta); margin-right: var(--time); border-bottom: 1px solid var(--line-d); font-family: var(--mono); font-size: 11px; color: var(--fog-3); }
.gantt-axis span { position: absolute; left: calc((var(--y) - var(--start)) / (var(--end) - var(--start)) * 100%); transform: translateX(-50%); }
.gantt-rows { position: relative; }
.g-row { display: grid; grid-template-columns: var(--meta) 1fr var(--time); align-items: center; min-height: 74px; border-bottom: 1px solid var(--line-d); transition: background .3s; }
.g-row:hover { background: rgba(255,255,255,.025); }
.g-meta { display: flex; flex-direction: column; gap: 3px; padding-right: 20px; }
.g-meta b { font-weight: 650; font-size: 17px; letter-spacing: -.01em; }
.g-meta span { font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--fog-2); }
.g-track { position: relative; height: 10px; }
.g-track::before { content: ""; position: absolute; left: 0; right: 0; top: -40px; bottom: -40px; pointer-events: none; background: repeating-linear-gradient(90deg, var(--line-d) 0 1px, transparent 1px calc(100% * 5 / 22)); }
.g-bar { position: absolute; top: 0; bottom: 0; border-radius: 6px; left: calc((var(--from) - var(--start)) / (var(--end) - var(--start)) * 100%); width: calc((var(--to) - var(--from)) / (var(--end) - var(--start)) * 100%); min-width: 10px; background: linear-gradient(90deg, rgba(233,231,225,.25), rgba(233,231,225,.75)); transform: scaleX(0); transform-origin: left; transition: transform 1.2s var(--ease) .15s; }
.g-bar.is-now { background: linear-gradient(90deg, rgba(201,160,99,.35), var(--brass)); }
.g-bar.is-now::after { content: ""; position: absolute; right: -4px; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; background: var(--brass-2); box-shadow: 0 0 0 0 rgba(201,160,99,.6); animation: live 2.4s infinite; }
.g-row.in .g-bar { transform: scaleX(1); }
.g-row time { text-align: right; font-family: var(--mono); font-size: 12px; letter-spacing: .04em; color: var(--fog-2); }

/* ---------- experience ---------- */
#experience { padding-top: clamp(60px, 8vw, 110px) !important; }
.role { padding: 40px 0 56px; border-top: 1px solid var(--line-d); }
.role:first-child { border-top: 0; padding-top: 0; }
.role-head { display: grid; grid-template-columns: 56px 1fr; gap: 8px; margin-bottom: 34px; }
.role-idx { font-family: var(--mono); font-size: 13px; color: var(--brass); padding-top: 9px; }
.role h3 { font-weight: 650; font-stretch: 104%; font-size: clamp(22px, 2.3vw, 32px); line-height: 1.12; letter-spacing: -.02em; }
.role-org { margin-top: 10px; font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--fog-2); }
.role-org span { color: var(--fog-3); margin: 0 6px; }
.role-groups { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 48px; padding-left: 64px; }
.rg h4 { font-family: var(--mono); font-weight: 500; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--brass); margin-bottom: 14px; padding-bottom: 12px; border-bottom: 1px solid var(--line-d); }
.rg ul li, .role-list li { position: relative; padding-left: 20px; margin-bottom: 14px; color: #C9CBD0; font-size: 15.5px; line-height: 1.6; }
.rg ul li::before, .role-list li::before { content: ""; position: absolute; left: 0; top: .78em; width: 8px; height: 1px; background: var(--fog-3); }
.role-list { columns: 2; column-gap: 48px; padding-left: 64px; }
.role-list li { break-inside: avoid; }
mark { background: none; color: var(--brass-2); font-weight: 600; white-space: nowrap; }
.earlier { padding-left: 64px; }
.earlier li { display: grid; grid-template-columns: 1.1fr 1fr auto; gap: 16px; align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--line-d); }
.earlier b { font-weight: 600; }
.earlier span { color: var(--fog-2); }
.earlier time { font-family: var(--mono); font-size: 12px; color: var(--fog-2); }
.role-note { padding-left: 64px; margin-top: 24px; color: var(--fog-2); max-width: 70ch; font-size: 15.5px; }

/* ---------- capabilities ---------- */
.cap-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.tags { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease); cursor: default; }
.tags li:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); transform: translateY(-2px); }
.standards { margin-top: clamp(56px, 7vw, 90px); }
.std-grid { margin-top: 16px; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.std { position: relative; padding: 26px 22px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; overflow: hidden; transition: color .35s; }
.std::before { content: ""; position: absolute; inset: 0; background: var(--ink); transform: translateY(101%); transition: transform .45s var(--ease); z-index: 0; }
.std > * { position: relative; z-index: 1; }
.std b { font-weight: 700; font-stretch: 115%; font-size: clamp(22px, 2.2vw, 30px); letter-spacing: -.02em; }
.std span { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); transition: color .35s; }
.std:hover { color: var(--paper); }
.std:hover::before { transform: none; }
.std:hover span { color: var(--brass); }

/* ---------- credentials ---------- */
.certs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.cert { padding: 22px 20px; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; display: flex; flex-direction: column; gap: 8px; min-height: 128px; justify-content: space-between; transition: transform .35s var(--ease), box-shadow .35s, border-color .35s; }
.cert b { font-weight: 600; font-size: 16.5px; line-height: 1.3; letter-spacing: -.005em; }
.cert span { font-family: var(--mono); font-size: 11px; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-3); }
.cert:hover { transform: translateY(-3px); border-color: rgba(138,102,48,.45); box-shadow: 0 14px 30px -18px rgba(17,19,24,.35); }
.edu { margin-top: 56px; }
.cert-head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.certs + .cert-head { margin-top: 44px; }
.count { display: inline-grid; place-items: center; min-width: 22px; height: 20px; padding: 0 7px; border-radius: 999px; background: var(--ink); color: var(--paper); font-size: 10.5px; letter-spacing: 0; }
.cert-wide { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: space-between; gap: 24px; min-height: 0; }
.cert-wide > div { display: flex; flex-direction: column; gap: 8px; }
.oceg { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
.oceg li { font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: .04em; padding: 7px 11px; border-radius: 8px; background: var(--ink); color: var(--paper); transition: background .25s, color .25s; }
.oceg li:hover { background: var(--brass); color: var(--night); }
.std-badge { position: absolute; top: 14px; right: 14px; z-index: 1; font-style: normal; font-family: var(--mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; background: var(--brass); color: var(--night); }
.edu-row { margin-top: 14px; display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.edu-row b { display: block; font-weight: 650; font-stretch: 106%; font-size: clamp(20px, 2vw, 26px); letter-spacing: -.015em; }
.edu-row span { display: block; margin-top: 6px; color: var(--ink-2); }
.edu-row time { font-family: var(--mono); font-size: 13px; color: var(--ink-3); }

/* ---------- contact ---------- */
.contact { padding-bottom: 0 !important; overflow: hidden; }
.contact-title { margin-top: 24px; font-weight: 700; font-stretch: 112%; font-size: clamp(42px, 7.4vw, 116px); line-height: .95; letter-spacing: -.04em; }
.contact-title em { font-style: normal; color: transparent; -webkit-text-stroke: 1.4px var(--brass); }
.contact-grid { margin-top: clamp(50px, 7vw, 90px); display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-d); }
.c-item { display: flex; flex-direction: column; gap: 10px; padding: 26px 20px 30px 0; border-right: 1px solid var(--line-d); transition: color .25s; min-width: 0; }
.c-item + .c-item { padding-left: 20px; }
.c-item:last-child { border-right: 0; }
.c-item b { font-weight: 500; font-size: clamp(15px, 1.35vw, 19px); overflow-wrap: anywhere; }
.c-item:hover b { color: var(--brass-2); }
.foot { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 26px; padding-bottom: 30px; margin-top: clamp(60px, 8vw, 110px); border-top: 1px solid var(--line-d); font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--fog-3); }
.foot a:hover { color: var(--fog); }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.hero .reveal { transition-delay: .35s; }
.loaded .hero .reveal { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .topnav { display: none; }
  .gantt { --meta: 230px; --time: 120px; }
  .cap-grid { grid-template-columns: 1fr 1fr; }
  .cap-grid .cap:first-child { grid-column: 1 / -1; }
  .certs { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .grid-12 { display: block; }
  .col-label { margin-bottom: 36px; }
  .col-label.sticky { position: static; }
  .about-body { grid-template-columns: 1fr; gap: 18px; }
  .impact-grid { grid-template-columns: 1fr 1fr; }
  .also { grid-template-columns: 1fr; gap: 0; }
  .also li { padding: 14px 0; }
  .role-groups, .role-list, .earlier, .role-note { padding-left: 0; }
  .role-groups { grid-template-columns: 1fr; }
  .role-list { columns: 1; }
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .c-item { border-bottom: 1px solid var(--line-d); padding: 22px 12px 22px 0 !important; }
  .c-item:nth-child(2n) { border-right: 0; padding-left: 12px !important; }
  .std-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .hide-sm { display: none; }
  .pill { height: 32px; padding: 0 12px; font-size: 11px; }
  .mark-text { display: none; }
  .hero-inner { bottom: 84px; max-width: none; right: var(--gutter); }
  .kicker { margin-bottom: 14px; }
  .hero-role { margin-top: 16px; }
  .hint-text { display: none; }
  .gantt { --meta: 1fr; }
  .gantt-axis { display: none; }
  .g-row { grid-template-columns: 1fr auto; grid-template-areas: "meta time" "track track"; row-gap: 12px; padding: 16px 0; }
  .g-meta { grid-area: meta; }
  .g-row time { grid-area: time; align-self: start; }
  .g-track { grid-area: track; background: rgba(255,255,255,.05); border-radius: 6px; height: 6px; }
  .earlier li { grid-template-columns: 1fr auto; }
  .earlier span { grid-column: 1; grid-row: 2; font-size: 14px; }
  .earlier time { grid-row: 1 / span 2; grid-column: 2; }
  .cap-grid { grid-template-columns: 1fr; }
  .strengths { grid-template-columns: 1fr; }
  .impact-grid { grid-template-columns: 1fr; }
  .cert-wide { flex-direction: column; align-items: flex-start; }
  .oceg { justify-content: flex-start; }
  .g-track::before { display: none; }
  .certs { grid-template-columns: 1fr; }
  .cert { min-height: 0; }
  .contact-grid { grid-template-columns: 1fr; }
  .c-item { border-right: 0 !important; padding-left: 0 !important; }
  .std-grid { grid-template-columns: 1fr 1fr; }
  .std { padding: 20px 14px; }
  .edu-row { flex-direction: column; gap: 8px; }
}

/* stacked hero: portrait on top, name below (phones + upright tablets) */
@media (max-width: 1100px) and (max-aspect-ratio: 20/23) {
  .hero-inner { bottom: clamp(84px, 10vh, 140px); max-width: none; right: var(--gutter); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .hero-name .line > span, .g-bar { transition: none !important; opacity: 1 !important; transform: none !important; }
  .ticker-track, .dot-live, .hint-icon::after, .scroll-cue span, .g-bar.is-now::after { animation: none !important; }
}
