/* ozgurkonakci.com — editorial personal site */

/* ---------- fonts (self-hosted, no third-party requests) ---------- */
@font-face { font-family: "Source Serif 4"; font-style: normal; font-weight: 400; font-display: swap;
  src: url(fonts/source-serif-4-latin-400-normal.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; }
@font-face { font-family: "Source Serif 4"; font-style: normal; font-weight: 400; font-display: swap;
  src: url(fonts/source-serif-4-latin-ext-400-normal.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; }
@font-face { font-family: "Source Serif 4"; font-style: italic; font-weight: 400; font-display: swap;
  src: url(fonts/source-serif-4-latin-400-italic.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; }
@font-face { font-family: "Source Serif 4"; font-style: italic; font-weight: 400; font-display: swap;
  src: url(fonts/source-serif-4-latin-ext-400-italic.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; }
@font-face { font-family: "Source Serif 4"; font-style: normal; font-weight: 600; font-display: swap;
  src: url(fonts/source-serif-4-latin-600-normal.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; }
@font-face { font-family: "Source Serif 4"; font-style: normal; font-weight: 600; font-display: swap;
  src: url(fonts/source-serif-4-latin-ext-600-normal.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; }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 400; font-display: swap;
  src: url(fonts/ibm-plex-sans-latin-400-normal.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; }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 400; font-display: swap;
  src: url(fonts/ibm-plex-sans-latin-ext-400-normal.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; }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 500; font-display: swap;
  src: url(fonts/ibm-plex-sans-latin-500-normal.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; }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 500; font-display: swap;
  src: url(fonts/ibm-plex-sans-latin-ext-500-normal.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; }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 600; font-display: swap;
  src: url(fonts/ibm-plex-sans-latin-600-normal.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; }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 600; font-display: swap;
  src: url(fonts/ibm-plex-sans-latin-ext-600-normal.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; }

/* ---------- tokens ---------- */
:root {
  --paper: #f7f4ee;
  --paper-2: #efe9df;
  --ink: #1b2330;
  --ink-2: #3f4856;
  --muted: #646b76;
  --line: #d9d1c4;
  --line-strong: #b9ae9d;
  --navy: #1c2b44;
  --accent: #8f4f26;
  --accent-soft: #f1e4d8;
  --on-navy: #f7f4ee;

  --serif: "Source Serif 4", "Iowan Old Style", Georgia, serif;
  --sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --step--1: clamp(0.84rem, 0.82rem + 0.1vw, 0.9rem);
  --step-0: clamp(1.02rem, 0.98rem + 0.2vw, 1.12rem);
  --step-1: clamp(1.2rem, 1.12rem + 0.4vw, 1.4rem);
  --step-2: clamp(1.45rem, 1.3rem + 0.75vw, 1.9rem);
  --step-3: clamp(1.9rem, 1.6rem + 1.5vw, 2.8rem);
  --step-4: clamp(2.6rem, 2rem + 3vw, 4.6rem);

  --gutter: clamp(1.25rem, 4vw, 3rem);
  --wrap: 72rem;
  --radius: 2px;
  color-scheme: light;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 5.5rem; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 var(--step-0)/1.65 var(--sans);
  font-feature-settings: "kern", "liga";
  text-rendering: optimizeLegibility;
}
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; margin: 0; letter-spacing: -0.01em; color: var(--ink); text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration-color: var(--line-strong); text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { color: var(--accent); text-decoration-color: currentColor; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
img { max-width: 100%; height: auto; display: block; }
main:focus { outline: none; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.narrow > * { max-width: 46rem; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--navy); color: var(--on-navy); padding: .6rem 1rem; text-decoration: none; }
.skip-link:focus { top: 1rem; color: var(--on-navy); }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--paper) 94%, transparent); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 4.25rem; }
.wordmark { font-family: var(--serif); font-weight: 600; font-size: 1.2rem; text-decoration: none; letter-spacing: -0.005em; white-space: nowrap; }
.wordmark:hover { color: var(--ink); }
.site-nav { display: flex; align-items: center; gap: 1.75rem; }
.site-nav ul { display: flex; gap: 1.5rem; }
.site-nav a { text-decoration: none; font-size: .95rem; color: var(--ink-2); padding-block: .4rem; border-bottom: 1px solid transparent; }
.site-nav a:hover { color: var(--ink); border-bottom-color: var(--line-strong); }
.site-nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--accent); }
.lang-switch { font-weight: 500; letter-spacing: .06em; font-size: .82rem !important; border: 1px solid var(--line-strong) !important; padding: .25rem .55rem !important; border-radius: var(--radius); }
.lang-switch:hover { border-color: var(--ink) !important; }
.menu-toggle { display: none; }

@media (max-width: 960px) {
  .js .menu-toggle {
    display: inline-flex; align-items: center; gap: .55rem; background: none; border: 1px solid var(--line-strong);
    border-radius: var(--radius); padding: .5rem .8rem; font: 500 .9rem var(--sans); color: var(--ink); cursor: pointer; min-height: 44px;
  }
  .menu-icon { display: block; position: relative; width: 16px; height: 10px; }
  .menu-icon::before, .menu-icon::after { content: ""; position: absolute; left: 0; width: 16px; height: 1.5px; background: currentColor; transition: transform .2s, top .2s; }
  .menu-icon::before { top: 1px; }
  .menu-icon::after { top: 7.5px; }
  .menu-toggle[aria-expanded="true"] .menu-icon::before { top: 4.25px; transform: rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-icon::after { top: 4.25px; transform: rotate(-45deg); }
  .js .site-nav { display: none; }
  .js .site-nav.is-open {
    display: flex; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line); padding: .5rem var(--gutter) 1.25rem; box-shadow: 0 12px 24px -16px rgba(27,35,48,.25);
  }
  .js .site-nav.is-open ul { flex-direction: column; gap: 0; }
  .js .site-nav.is-open a { display: block; padding: .85rem 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .js .site-nav.is-open a[aria-current="page"] { color: var(--accent); }
  .js .site-nav.is-open .lang-switch { align-self: flex-start; margin-top: 1rem; border: 1px solid var(--line-strong) !important; }
  /* no-JS fallback: wrap the nav below the wordmark */
  html:not(.js) .header-inner { flex-wrap: wrap; padding-block: .75rem; }
  html:not(.js) .site-nav, html:not(.js) .site-nav ul { flex-wrap: wrap; gap: .5rem 1.1rem; }
}

/* ---------- shared type ---------- */
.eyebrow, .tag, .h-label, .case-meta, .card-meta, .role-period, .org-period, .step-years, .theme-num, .case-num {
  font-family: var(--sans); font-size: var(--step--1); letter-spacing: .02em;
}
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-weight: 500; color: var(--accent); font-size: .78rem; margin-bottom: 1.5rem; }
.eyebrow .dot { color: var(--line-strong); }
.tag { display: inline-block; font-weight: 500; color: var(--accent); margin-bottom: .6rem; }
.h-label { display: block; text-transform: uppercase; letter-spacing: .1em; font-size: .74rem; font-weight: 500; color: var(--muted); margin-bottom: .5rem; }
.lead { font-family: var(--serif); font-size: var(--step-1); line-height: 1.5; color: var(--ink); }
.arrow { display: inline-block; transition: transform .2s; }
a:hover .arrow { transform: translateX(3px); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: .7rem 1.35rem; font: 500 .98rem/1.2 var(--sans); text-decoration: none; border-radius: var(--radius); border: 1px solid transparent; transition: background-color .15s, color .15s, border-color .15s; }
.btn-primary { background: var(--navy); color: var(--on-navy); }
.btn-primary:hover { background: var(--ink); color: var(--on-navy); }
.btn-secondary { border-color: var(--navy); color: var(--navy); }
.btn-secondary:hover { background: var(--navy); color: var(--on-navy); }
.btn-text { padding-inline: .4rem; color: var(--ink); text-decoration: underline; text-decoration-color: var(--line-strong); }
.cta-row { display: flex; flex-wrap: wrap; gap: .75rem 1rem; align-items: center; }

/* ---------- hero ---------- */
/* Kapak: koyu lacivert zemin, büyük isim, sağda kurum duraklarından oluşan kariyer rotası */
.hero {
  --h-ink: #f7f4ee; --h-ink-2: #c9d0dc; --h-muted: #93a0b5; --h-line: rgba(247, 244, 238, .18); --h-accent: #e0a878;
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--navy); color: var(--h-ink);
  padding-block: clamp(3.5rem, 8vw, 6.5rem) clamp(3.5rem, 8vw, 6rem);
}
/* ince yatay çizgiler: konşimento / manifest kâğıdı hissi */
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: repeating-linear-gradient(to bottom, transparent 0 39px, rgba(247, 244, 238, .035) 39px 40px);
  mask-image: linear-gradient(to right, transparent 0%, #000 55%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 55%);
}
.hero-inner { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: clamp(2.5rem, 6vw, 5.5rem); align-items: center; }
.hero .eyebrow { color: var(--h-accent); }
.hero .eyebrow .dot { color: var(--h-muted); }
.hero-name { color: var(--h-ink); font-size: clamp(3rem, 2rem + 4.8vw, 6.4rem); line-height: .98; letter-spacing: -0.03em; margin-bottom: 2rem; }
.hero-statement { font-family: var(--serif); font-size: var(--step-2); line-height: 1.4; color: var(--h-ink-2); max-width: 34ch; margin-bottom: 2rem; font-weight: 400; }
.hero-subline { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem 0; color: var(--h-muted); font-size: .95rem; margin-bottom: 2.5rem; }
.hero-subline span + span { border-left: 1px solid var(--h-line); margin-left: .9rem; padding-left: .9rem; line-height: 1.1; }
.hero .btn-primary { background: var(--h-ink); color: var(--navy); }
.hero .btn-primary:hover { background: #fff; color: var(--ink); }
.hero .btn-secondary { border-color: rgba(247, 244, 238, .55); color: var(--h-ink); }
.hero .btn-secondary:hover { background: var(--h-ink); color: var(--navy); border-color: var(--h-ink); }
.hero .btn-text { color: var(--h-ink); text-decoration-color: rgba(247, 244, 238, .45); }
.hero .btn-text:hover { color: var(--h-accent); }
.hero :focus-visible { outline-color: var(--h-accent); }

.route { border: 1px solid var(--h-line); padding: 1.6rem 1.6rem 1.4rem; background: rgba(9, 16, 28, .22); }
.route-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding-bottom: 1rem; margin-bottom: 1.25rem; border-bottom: 1px solid var(--h-line); }
.route-head h2 { font-family: var(--sans); font-size: .76rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--h-ink-2); }
.route-span { font-size: .8rem; color: var(--h-muted); font-variant-numeric: tabular-nums; letter-spacing: .04em; }
.route-line { position: relative; display: grid; gap: .95rem; padding-left: 1.6rem; }
.route-line::before { content: ""; position: absolute; left: 4px; top: .55rem; bottom: .55rem; width: 1px; background: var(--h-line); }
.route-line::after { content: ""; position: absolute; left: 4px; top: .55rem; bottom: .55rem; width: 1px; background: var(--h-accent); transform-origin: top; }
.stop { position: relative; display: grid; grid-template-columns: 3.1rem minmax(0, 1fr); column-gap: .5rem; line-height: 1.3; }
.stop::before { content: ""; position: absolute; left: calc(-1.6rem + 0px); top: .38rem; width: 9px; height: 9px; border-radius: 50%; background: var(--navy); border: 1.5px solid var(--h-ink-2); z-index: 1; }
.stop-year { grid-row: span 2; font-size: .82rem; color: var(--h-muted); font-variant-numeric: tabular-nums; padding-top: .12rem; }
.stop-org { font-family: var(--serif); font-weight: 600; font-size: 1.05rem; color: var(--h-ink); }
.stop-role { font-size: .84rem; color: var(--h-muted); }
.stop.is-current::before { background: var(--h-accent); border-color: var(--h-accent); box-shadow: 0 0 0 4px rgba(224, 168, 120, .2); }
.stop.is-current .stop-year { color: var(--h-accent); }
.stop.is-current .stop-role { color: var(--h-ink-2); }
.route-more { display: inline-block; margin-top: 1.4rem; padding-block: .3rem; font-size: .92rem; font-weight: 500; color: var(--h-ink); text-decoration: none; border-bottom: 1px solid rgba(247, 244, 238, .35); }
.route-more:hover { color: var(--h-accent); border-bottom-color: currentColor; }

/* açılış: rota bir kez çizilir, duraklar sırayla belirir (hareket azaltma tercihine saygılı) */
@media (prefers-reduced-motion: no-preference) {
  .route-line::after { animation: route-draw 1.1s cubic-bezier(.4, 0, .2, 1) .25s both; }
  .stop { animation: stop-in .45s ease-out both; animation-delay: calc(.25s + var(--i) * .13s); }
  .hero-text > * { animation: rise .6s ease-out both; }
  .hero-text > :nth-child(2) { animation-delay: .06s; }
  .hero-text > :nth-child(3) { animation-delay: .12s; }
  .hero-text > :nth-child(4) { animation-delay: .18s; }
  .hero-text > :nth-child(5) { animation-delay: .24s; }
}
@keyframes route-draw { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes stop-in { from { opacity: 0; transform: translateX(-6px); } to { opacity: 1; transform: none; } }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; }
  .route { max-width: 34rem; }
}

/* Kapak + portre: metin | portre, altta yatay kariyer rotası */
.hero-portrait { position: relative; margin: 0; }
.hero-portrait picture { display: block; position: relative; z-index: 1; }
.hero-portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: #5d6066; border: 1px solid var(--h-line); }
.hero-portrait::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  border: 1px solid var(--h-accent); transform: translate(14px, 14px); opacity: .7;
}
.hero.has-portrait .hero-inner {
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  grid-template-areas: "text portrait" "route route";
  align-items: center; row-gap: clamp(3rem, 6vw, 4.5rem);
}
.hero.has-portrait .hero-text { grid-area: text; }
.hero.has-portrait .hero-portrait { grid-area: portrait; justify-self: end; width: min(100%, 25rem); }
.hero.has-portrait .route { grid-area: route; }

@media (min-width: 961px) {
  .hero.has-portrait .route { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "head more" "line line"; align-items: baseline; column-gap: 2rem; padding: 1.4rem 1.75rem 1.6rem; }
  .hero.has-portrait .route-head { grid-area: head; border: 0; margin: 0; padding: 0; justify-content: flex-start; gap: 1.25rem; }
  .hero.has-portrait .route-more { grid-area: more; justify-self: end; margin: 0; }
  .hero.has-portrait .route-line { grid-area: line; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1.25rem; padding: 2.1rem 0 0; margin-top: .4rem; }
  .hero.has-portrait .route-line::before,
  .hero.has-portrait .route-line::after { left: 0; right: 0; top: 1.5rem; bottom: auto; width: auto; height: 1px; transform-origin: left; }
  .hero.has-portrait .route-line { align-items: start; }
  .hero.has-portrait .route-line::after { background: linear-gradient(to right, rgba(224, 168, 120, .35), var(--h-accent)); }
  .hero.has-portrait .stop { grid-template-columns: 1fr; grid-auto-rows: auto; align-content: start; row-gap: .1rem; }
  .hero.has-portrait .stop::before { left: 0; top: -.85rem; }
  .hero.has-portrait .stop-year { grid-row: auto; padding: 0 0 .2rem; }
}
@media (min-width: 961px) and (prefers-reduced-motion: no-preference) {
  .hero.has-portrait .route-line::after { animation-name: route-draw-x; }
}
@keyframes route-draw-x { from { transform: scaleX(0); } to { transform: scaleX(1); } }

@media (max-width: 960px) {
  .hero.has-portrait .hero-inner { grid-template-columns: 1fr; grid-template-areas: "portrait" "text" "route"; row-gap: 2.5rem; }
  .hero.has-portrait .hero-portrait { justify-self: start; width: min(62%, 15rem); }
  .hero-portrait::after { transform: translate(10px, 10px); }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-portrait { animation: rise .7s ease-out both; }
}
@media (max-width: 520px) {
  .route { padding: 1.25rem 1.1rem 1.1rem; }
  .stop-role { font-size: .8rem; }
}
@media (max-width: 520px) {
  .hero-subline { flex-direction: column; align-items: flex-start; }
  .hero-subline span + span { border-left: 0; margin-left: 0; padding-left: 0; }
}
.portrait { margin: 0; }
.portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--paper-2); }

/* ---------- sections ---------- */
.section { padding-block: clamp(3.5rem, 8vw, 6rem); }
.section-tight { padding-block: clamp(2.5rem, 6vw, 4rem); }
.section-tint { background: var(--paper-2); }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem 2rem; flex-wrap: wrap; padding-bottom: 1rem; border-bottom: 1px solid var(--ink); margin-bottom: 2rem; }
.section-head h2, .h-section { font-size: var(--step-2); }
.h-section { padding-bottom: 1rem; border-bottom: 1px solid var(--ink); margin-bottom: 1.5rem; }
.h-small { font-size: var(--step-1); margin: 2.5rem 0 1rem; }
.more { font-size: .95rem; font-weight: 500; text-decoration: none; color: var(--navy); white-space: nowrap; }
.section-intro { color: var(--ink-2); max-width: 60ch; margin-bottom: 2.25rem; }

.page-head { padding-block: clamp(3rem, 8vw, 5.5rem) clamp(2rem, 5vw, 3rem); border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: var(--step-4); letter-spacing: -0.02em; margin-bottom: 1.25rem; }
.page-intro { font-family: var(--serif); font-size: var(--step-1); color: var(--ink-2); max-width: 52ch; line-height: 1.5; }
.page-head .btn { margin-top: 1rem; }

/* themes */
.themes { display: grid; gap: 2.5rem; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); }
.theme h3 { font-size: var(--step-1); margin: .5rem 0 .75rem; }
.theme p { color: var(--ink-2); }
.theme-num { color: var(--accent); font-weight: 500; display: block; }

/* cards */
.cards { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); }
.card { background: var(--paper); border: 1px solid var(--line); border-top: 2px solid var(--navy); padding: 1.6rem 1.5rem 1.4rem; display: flex; flex-direction: column; }
.card h3 { font-size: var(--step-1); margin-bottom: .8rem; }
.card h3 a { text-decoration: none; }
.card h3 a:hover { text-decoration: underline; }
.card > p:not(.tag):not(.card-meta) { color: var(--ink-2); font-size: .98rem; }
.card-meta { margin-top: auto; padding-top: 1rem; color: var(--muted); }

/* steps (career path) */
.steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--line-strong); }
.steps li { position: relative; padding: 1.25rem 1rem 0 0; display: flex; flex-direction: column; gap: .3rem; }
.steps li::before { content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--paper); border: 1.5px solid var(--navy); }
.steps li:last-child::before { background: var(--accent); border-color: var(--accent); }
.section-tint .steps li::before { background: var(--paper-2); }
.section-tint .steps li:last-child::before { background: var(--accent); }
.step-years { color: var(--muted); }
.step-stage { font-family: var(--serif); font-weight: 600; font-size: 1.08rem; line-height: 1.3; }
.step-text { color: var(--ink-2); font-size: .95rem; }
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; border-top: 0; border-left: 1px solid var(--line-strong); margin-left: 4px; }
  .steps li { padding: 0 0 1.5rem 1.5rem; }
  .steps li:last-child { padding-bottom: 0; }
  .steps li::before { top: .45em; left: -5px; }
}

/* contact band */
.contact-band { background: var(--navy); color: var(--on-navy); }
.contact-band h2 { color: var(--on-navy); font-size: var(--step-3); margin-bottom: 1rem; }
.contact-band p { color: #d6dbe4; max-width: 46ch; margin-bottom: 2rem; }
.contact-band .btn-primary { background: var(--paper); color: var(--navy); }
.contact-band .btn-primary:hover { background: #fff; color: var(--ink); }

/* about */
.two-col { display: grid; gap: clamp(2.5rem, 6vw, 5rem); grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); align-items: start; }
.two-col-even { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 860px) { .two-col, .two-col-even { grid-template-columns: 1fr; } }
.prose { max-width: 40rem; }
.prose .lead { margin-bottom: 1.5rem; }
.prose p:not(.lead) { color: var(--ink-2); }
.approach { margin: 0; padding: 0 0 0 1.5rem; border-left: 2px solid var(--accent); font-family: var(--serif); font-style: italic; font-size: var(--step-1); line-height: 1.55; color: var(--ink); }
.approach p { color: var(--ink) !important; }
.aside { position: sticky; top: 6rem; display: grid; gap: 1.5rem; }
@media (max-width: 860px) { .aside { position: static; } }
.facts { margin: 0; border-top: 1px solid var(--line-strong); }
.facts > div { padding: .9rem 0; border-bottom: 1px solid var(--line); }
.facts dt { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 500; margin-bottom: .2rem; }
.facts dd { margin: 0; font-size: 1rem; }
.facts-inline { margin-top: 2.5rem; }

/* career */
.career { padding-block: clamp(1rem, 3vw, 2rem) clamp(3rem, 7vw, 5rem); }
.org { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.4fr); gap: 1.5rem 3rem; padding-block: 2.75rem; border-bottom: 1px solid var(--line); }
.org:last-child { border-bottom: 0; }
.org-head { position: sticky; top: 6rem; align-self: start; }
.org-head h2 { font-size: var(--step-2); margin-bottom: .35rem; }
.org-period { color: var(--muted); }
.roles { border-left: 1px solid var(--line-strong); }
.role { position: relative; padding: 0 0 2.25rem 2rem; }
.role:last-child { padding-bottom: 0; }
.role::before { content: ""; position: absolute; left: -5px; top: .5em; width: 9px; height: 9px; border-radius: 50%; background: var(--paper); border: 1.5px solid var(--navy); }
.org:first-child .role:first-child::before { background: var(--accent); border-color: var(--accent); }
.role h3 { font-size: var(--step-1); }
.role-local { color: var(--ink-2); font-size: .95rem; margin: .2rem 0 0; }
.role-period { color: var(--muted); margin: .35rem 0 .85rem; }
.role-scope { color: var(--ink-2); max-width: 62ch; }
.role-highlight { background: var(--accent-soft); padding: .9rem 1.1rem; border-left: 2px solid var(--accent); max-width: 62ch; font-size: .98rem; }
.role-highlight .h-label { color: var(--accent); margin-bottom: .25rem; }
@media (max-width: 760px) {
  .org { grid-template-columns: 1fr; padding-block: 2rem; }
  .org-head { position: static; }
  .role { padding-left: 1.4rem; }
}
.edu li, .certs li { padding: 1rem 0; border-bottom: 1px solid var(--line); }
.edu li:first-child, .certs li:first-child { padding-top: 0; }
.edu h3 { font-size: 1.15rem; margin-bottom: .2rem; }
.edu p { margin: 0; color: var(--ink-2); }
.edu .role-period { margin-top: .25rem; color: var(--muted); }
.certs li { color: var(--ink); }

/* work / cases */
.toc { margin-top: 2rem; }
.toc ol { counter-reset: toc; display: grid; gap: .1rem 2.5rem; grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr)); max-width: 56rem; }
.toc li { counter-increment: toc; border-top: 1px solid var(--line); }
.toc a { display: flex; gap: .9rem; padding: .7rem 0; text-decoration: none; color: var(--ink-2); }
.toc a::before { content: counter(toc, decimal-leading-zero); color: var(--accent); font-size: .85rem; padding-top: .15em; }
.toc a:hover { color: var(--ink); }
.cases { padding-bottom: clamp(3rem, 7vw, 5rem); }
.case { padding-block: clamp(2.75rem, 6vw, 4rem); border-bottom: 1px solid var(--line); }
.case:last-child { border-bottom: 0; }
.case-head { display: grid; grid-template-columns: 4.5rem minmax(0, 1fr); gap: 1rem; margin-bottom: 2.25rem; }
.case-num { font-family: var(--serif); font-size: var(--step-3); color: var(--line-strong); line-height: 1; font-weight: 400; letter-spacing: 0; }
.case-head h2 { font-size: var(--step-3); margin-bottom: .6rem; }
.case-meta { color: var(--muted); margin-bottom: 1.25rem; }
.case-head .lead { max-width: 48ch; }
.case-body { margin: 0 0 0 5.5rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 3rem; }
.case-row { padding: 1.1rem 0; border-top: 1px solid var(--line); }
.case-row dt { font-size: .76rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 500; margin-bottom: .4rem; }
.case-row dd { margin: 0; color: var(--ink-2); }
.case-contribution, .case-wide, .case-examples { grid-column: 1 / -1; }
.example-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); gap: .1rem 2rem; margin-top: .2rem; }
.example-list li { padding: .45rem 0 .45rem 1rem; position: relative; border-bottom: 1px solid var(--line); color: var(--ink); font-size: .98rem; }
.example-list li::before { content: ""; position: absolute; left: 0; top: 1.05em; width: 5px; height: 5px; background: var(--accent); }
.case-row dd { max-width: 68ch; }
.case-contribution dt { color: var(--accent); }
.case-contribution dd { color: var(--ink); font-size: 1.05rem; }
.case-limits { grid-column: 1 / -1; }
.case-limits dd { font-size: .95rem; font-style: italic; font-family: var(--serif); }
@media (max-width: 760px) {
  .case-head { grid-template-columns: 1fr; gap: .25rem; }
  .case-num { font-size: 1.1rem; color: var(--accent); }
  .case-body { margin-left: 0; grid-template-columns: 1fr; }
}

/* expertise */
.expertise { padding-bottom: clamp(3rem, 7vw, 5rem); }
.expertise-item { display: grid; grid-template-columns: 4.5rem minmax(0, 1.6fr) minmax(0, 1fr); gap: 1.5rem 2.5rem; padding-block: clamp(2.5rem, 6vw, 3.75rem); border-bottom: 1px solid var(--line); }
.expertise-item:last-child { border-bottom: 0; }
.expertise-item .theme-num { font-family: var(--serif); font-size: var(--step-3); color: var(--line-strong); line-height: 1; font-weight: 400; }
.expertise-item h2 { font-size: var(--step-3); margin-bottom: 1rem; }
.expertise-item .lead { margin-bottom: 1.75rem; max-width: 44ch; }
.example { border-left: 2px solid var(--accent); padding-left: 1.1rem; color: var(--ink-2); }
.example a { font-weight: 500; color: var(--navy); white-space: nowrap; }
.skills { align-self: start; border-top: 1px solid var(--ink); }
.skills li { padding: .7rem 0; border-bottom: 1px solid var(--line); font-size: .98rem; }
@media (max-width: 860px) {
  .expertise-item { grid-template-columns: 1fr; }
  .expertise-item .theme-num { font-size: 1.1rem; color: var(--accent); }
  .example a { white-space: normal; }
}

/* footer */
.site-footer { border-top: 1px solid var(--line); padding-block: 3rem 2.5rem; font-size: .9rem; color: var(--muted); }
.footer-inner { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 1.5rem 3rem; }
.footer-name { font-family: var(--serif); font-weight: 600; color: var(--ink); font-size: 1.05rem; margin-bottom: .2rem; }
.footer-links { display: flex; gap: 1.5rem; justify-self: end; align-self: start; }
.footer-links a { color: var(--ink); display: inline-block; padding-block: .55rem; }
.facts dd a { display: inline-block; padding-block: .35rem; }
.footer-note { grid-column: 1 / -1; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.footer-note p { margin-bottom: .3rem; }
@media (max-width: 640px) {
  .footer-inner { grid-template-columns: 1fr; }
  .footer-links { justify-self: start; }
}

@media print {
  .site-header, .skip-link, .contact-band, .cta-row, .toc { display: none !important; }
  body { background: #fff; font-size: 11pt; }
  .section-tint { background: none; }
  a { text-decoration: none; }
}
