/* ==========================================================
   Hillary Abindabyamu — personal website
   Editorial (serif + whitespace) meets clear, scannable sections
   ========================================================== */

:root {
  --bg: #ffffff;          /* pure white */
  --bg-tint: #f2faf6;     /* whisper of green */
  --surface: #ffffff;
  --ink: #12262f;
  --ink-soft: #4e626b;
  --line: #dcebe5;
  --green: #1f9d63;       /* fresh green (main) */
  --green-soft: #2db676;
  --clay: #2a86d1;        /* light-ish sky blue (accent) */
  --gold: #2a86d1;
  --dark: #eef6fd;        /* light blue section */
  --dark-ink: #12262f;
  --dark-soft: #4e626b;

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 18px;
  --wrap: 1180px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.7 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.01em; }
h2 { font-size: clamp(2rem, 4.2vw, 3.2rem); }
h3 { font-size: 1.35rem; font-weight: 600; letter-spacing: 0; }
p { margin: 0 0 1.1em; }
em { font-style: italic; color: var(--clay); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .wrap { padding: 0 16px; } }

.skip { position: absolute; left: -999px; top: 8px; background: var(--green); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

.eyebrow {
  font: 600 .78rem/1 var(--sans);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--clay);
  margin-bottom: 1.1rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 26px; border-radius: 999px;
  font: 600 .95rem/1 var(--sans); text-decoration: none;
  border: 1.5px solid transparent; cursor: pointer;
  transition: transform .25s var(--ease), background .25s, color .25s, border-color .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--green); color: #fff; }
.btn--primary:hover { background: var(--green-soft); }
.btn--ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--ghost:hover { background: var(--ink); color: var(--bg); }

.link { font-weight: 600; color: var(--green); text-decoration: none; border-bottom: 1.5px solid currentColor; padding-bottom: 2px; }
.link span { display: inline-block; transition: transform .25s var(--ease); }
.link:hover span { transform: translateX(4px); }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.nav.is-scrolled { border-bottom-color: var(--line); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand__mark {
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--green); color: var(--bg);
  font: 600 .9rem/1 var(--serif); letter-spacing: .04em;
}
.brand__name { font: 500 1.08rem/1 var(--serif); }
.nav__menu { display: flex; align-items: center; gap: 28px; }
.nav__menu a { text-decoration: none; font-size: .93rem; font-weight: 500; color: var(--ink-soft); transition: color .2s; }
.nav__menu a:hover { color: var(--ink); }
.nav__menu .nav__cta { color: #fff; background: var(--green); padding: 10px 18px; border-radius: 999px; }
.nav__menu .nav__cta:hover { color: #fff; background: var(--clay); }
.nav__toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; position: relative; }
.nav__toggle span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--ink); transition: transform .3s var(--ease); }
.nav__toggle span:first-child { top: 17px; }
.nav__toggle span:last-child { top: 25px; }
.nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav__toggle { display: block; }
  .nav__menu {
    position: fixed; inset: 72px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line);
    padding: 8px 16px 20px;
    transform: translateY(-8px); opacity: 0; pointer-events: none;
    transition: opacity .25s, transform .25s var(--ease);
  }
  .nav__menu.is-open { opacity: 1; transform: none; pointer-events: auto; }
  .nav__menu a { padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav__menu .nav__cta { margin-top: 14px; text-align: center; border: 0; }
}

/* ---------- Strip ---------- */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 26px 0; }
.strip__inner { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; }
.strip__label { margin: 0; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); white-space: nowrap; }

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 10vw, 130px) 0; }
.section--tint { background: var(--bg-tint); }
.section__head { margin-bottom: clamp(36px, 5vw, 60px); max-width: 760px; }
.section__head--row { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.section__head--row .section__sub { max-width: 380px; }
.section__sub { color: var(--ink-soft); font-size: 1.08rem; }

/* About */
.about { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 90px); }
.about__head h2 { position: sticky; top: 110px; }
.lead { font: 400 clamp(1.2rem, 2vw, 1.45rem)/1.55 var(--serif); }
.about__body > p:not(.lead) { color: var(--ink-soft); }
.about__photo { margin: 36px 0 0; }
.about__photo img { width: 100%; height: auto; }
.about__photo figcaption { font-size: .88rem; color: var(--ink-soft); margin-top: 10px; }
.roles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 40px; }
.role { border-top: 2px solid var(--ink); padding-top: 18px; }
.role__num { font: 400 .85rem/1 var(--serif); color: var(--clay); }
.role h3 { margin: 10px 0 8px; }
.role p { font-size: .95rem; color: var(--ink-soft); margin: 0; }
@media (max-width: 860px) {
  .about { grid-template-columns: 1fr; }
  .about__head h2 { position: static; }
  .roles { grid-template-columns: 1fr; }
}

/* Pillars */
.pillars { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.pillar {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(26px, 3.5vw, 40px);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.pillar:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -30px rgba(20,40,30,.35); border-color: var(--green-soft); }
/* Photo across the top edge of the card (negative margins cancel the card padding) */
.pillar { --pad: clamp(26px, 3.5vw, 40px); padding: var(--pad); overflow: hidden; }
.pillar__photo { display: block; width: calc(100% + 2 * var(--pad)); height: auto; max-width: none; margin: calc(-1 * var(--pad)) calc(-1 * var(--pad)) 26px; aspect-ratio: 3 / 2; object-fit: cover; }
.pillar h3 { font-size: 1.55rem; font-weight: 400; }
.pillar p { color: var(--ink-soft); }
.tags { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { font-size: .78rem; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: color-mix(in srgb, var(--green) 10%, transparent); color: var(--green); }
@media (max-width: 760px) { .pillars { grid-template-columns: 1fr; } }

/* Feature: SDG */
.feature__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(36px, 7vw, 100px); align-items: center; }
.feature__role { font: 400 italic 1.15rem/1.4 var(--serif); color: var(--clay); }
.feature__text > p:not(.eyebrow):not(.feature__role) { color: var(--ink-soft); }
.checks { list-style: none; padding: 0; margin: 26px 0 0; }
.checks li { padding: 12px 0 12px 34px; border-top: 1px solid var(--line); position: relative; }
.checks li::before { content: ""; position: absolute; left: 4px; top: 21px; width: 14px; height: 8px; border-left: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(-45deg); }

.sdg-wheel { position: relative; aspect-ratio: 1; max-width: 440px; margin: 0 auto; animation: spin 90s linear infinite; }
.sdg-wheel span {
  position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(from calc(var(--i) * 21.18deg), var(--c) 0 19deg, transparent 19deg);
  -webkit-mask: radial-gradient(circle, transparent 47%, #000 47.5%);
          mask: radial-gradient(circle, transparent 47%, #000 47.5%);
}
.sdg-wheel span:nth-child(1){--c:#e5243b}.sdg-wheel span:nth-child(2){--c:#dda63a}.sdg-wheel span:nth-child(3){--c:#4c9f38}
.sdg-wheel span:nth-child(4){--c:#c5192d}.sdg-wheel span:nth-child(5){--c:#ff3a21}.sdg-wheel span:nth-child(6){--c:#26bde2}
.sdg-wheel span:nth-child(7){--c:#fcc30b}.sdg-wheel span:nth-child(8){--c:#a21942}.sdg-wheel span:nth-child(9){--c:#fd6925}
.sdg-wheel span:nth-child(10){--c:#dd1367}.sdg-wheel span:nth-child(11){--c:#fd9d24}.sdg-wheel span:nth-child(12){--c:#bf8b2e}
.sdg-wheel span:nth-child(13){--c:#3f7e44}.sdg-wheel span:nth-child(14){--c:#0a97d9}.sdg-wheel span:nth-child(15){--c:#56c02b}
.sdg-wheel span:nth-child(16){--c:#00689d}.sdg-wheel span:nth-child(17){--c:#19486a}
.sdg-wheel__core {
  position: absolute; inset: 22%; border-radius: 50%; background: var(--surface);
  display: grid; place-content: center; text-align: center;
  font: 300 clamp(3rem, 7vw, 5rem)/1 var(--serif); color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line);
  animation: spin 90s linear infinite reverse;
}
.sdg-wheel__core small { display: block; font: 600 .75rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--ink-soft); margin-top: 8px; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 860px) { .feature__grid { grid-template-columns: 1fr; } .sdg-wheel { max-width: 300px; } }

/* Journey (dark) */
.section--dark { background: var(--dark); color: var(--dark-ink); }
.section--dark .section__sub { color: var(--dark-soft); }
.section--dark .eyebrow { color: var(--gold); }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.timeline li { padding: 36px 24px 36px 0; position: relative; }
.timeline li::after { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 1px; background: #c9def0; }
.timeline li::before { content: ""; position: absolute; top: 0; left: 0; z-index: 1; width: 15px; height: 15px; border-radius: 50%; background: #fff; border: 2px solid var(--gold); }
.timeline__date { font: 600 .78rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.timeline h3 { font-size: 1.2rem; font-weight: 400; margin: 12px 0 8px; color: var(--ink); }
.timeline p { font-size: .93rem; color: var(--dark-soft); margin: 0; }
@media (max-width: 1000px) { .timeline { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) {
  .timeline { grid-template-columns: 1fr; padding-left: 26px; }
  .timeline li { padding: 0 0 34px; }
  .timeline li::after { left: -19px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
  .timeline li::before { left: -26px; top: 2px; }
}

/* Writing */
.articles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 48px 40px; }
.voice__links { display: flex; flex-wrap: wrap; gap: 14px 28px; margin-top: 8px; }
.article { display: flex; flex-direction: column; padding: 30px 0 0; border-top: 2px solid var(--ink); }
.article__kind { font-size: .76rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--clay); margin-bottom: 14px; }
.article h3 { font-size: 1.5rem; font-weight: 400; }
.article p { color: var(--ink-soft); flex: 1; }
.article .link { align-self: flex-start; }
.article__note { font-size: .82rem; color: var(--ink-soft); font-style: italic; }
@media (max-width: 900px) { .articles { grid-template-columns: 1fr; gap: 36px; } }

/* Voice */
.voice { background:
  radial-gradient(70% 80% at 100% 50%, color-mix(in srgb, var(--clay) 14%, transparent), transparent 70%); }
.voice__grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(36px, 7vw, 100px); align-items: center; }
.voice h2 { font-weight: 300; }
.voice__text > p:not(.eyebrow) { color: var(--ink-soft); }
.voice__text strong { color: var(--ink); }
.voice__cards { display: grid; gap: 18px; }
.trophy {
  display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 22px; align-items: center;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 28px;
}
.trophy__year { grid-row: span 2; font: 300 3rem/1 var(--serif); color: var(--clay); }
.trophy__title { font: 600 1.2rem/1.2 var(--serif); }
.trophy__event { color: var(--ink-soft); font-size: .92rem; }
@media (max-width: 860px) { .voice__grid { grid-template-columns: 1fr; } }

/* Speaking + recognition */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(48px, 7vw, 100px); }
.split h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin-bottom: 1.2em; }
.topics, .recog { list-style: none; margin: 0; padding: 0; }
.topics li { padding: 20px 0; border-top: 1px solid var(--line); display: grid; gap: 4px; }
.topics strong { font: 400 1.35rem/1.3 var(--serif); }
.topics span { color: var(--ink-soft); font-size: .95rem; }
.recog li { padding: 16px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 110px 1fr; gap: 16px; align-items: baseline; }
.recog span { font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--green); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .recog li { grid-template-columns: 1fr; gap: 4px; } }

/* Contact */
.contact__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 7vw, 100px); align-items: start; }
.contact__grid > div > p:not(.eyebrow) { color: var(--ink-soft); font-size: 1.08rem; }
.contact__email a { font: 400 clamp(1.05rem, 2vw, 1.3rem)/1.4 var(--serif); color: var(--clay); text-decoration: none; border-bottom: 1.5px solid currentColor; word-break: break-all; }
.socials { list-style: none; padding: 0; margin: 28px 0 0; display: flex; gap: 10px; flex-wrap: wrap; }
.socials a { display: inline-block; padding: 10px 18px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; font-weight: 500; font-size: .92rem; transition: background .2s, border-color .2s; }
.socials a:hover { border-color: var(--ink); background: var(--surface); }
.form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 4vw, 40px); }
.form__row { margin-bottom: 18px; }
.form label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: 6px; }
.form input, .form select, .form textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px;
  transition: border-color .2s, box-shadow .2s;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px color-mix(in srgb, var(--green) 20%, transparent); }
.form textarea { resize: vertical; }
.form .btn { width: 100%; margin-top: 6px; }
.form__status { margin: 14px 0 0; font-size: .92rem; color: var(--green); min-height: 1.4em; }
.form__status.is-error { color: var(--clay); }
@media (max-width: 860px) { .contact__grid { grid-template-columns: 1fr; } }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 48px 0; text-align: center; color: var(--ink-soft); font-size: .92rem; }
.footer p { margin: 0 0 6px; }
.footer__name { font: 400 1.5rem/1.2 var(--serif); color: var(--ink); margin-bottom: 8px !important; }
.footer__small { font-size: .8rem; margin-top: 14px !important; }

/* Focus */
:focus-visible { outline: 2px solid var(--clay); outline-offset: 3px; border-radius: 4px; }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .sdg-wheel, .sdg-wheel__core { animation: none; }
  .btn:hover, .pillar:hover { transform: none; }
}

/* ==========================================================
   MULTI-PAGE ADDITIONS
   ========================================================== */
.nav__menu a[aria-current="page"] { color: var(--green); }
.nav__menu a[aria-current="page"]:not(.nav__cta) { box-shadow: inset 0 -2px 0 var(--green); }
.footer__links { margin-top: 10px !important; }
.footer__links a { color: var(--ink); text-decoration: none; }
.footer__links a:hover { color: var(--green); }
.btn { font-family: var(--sans); }
button.btn { border: 1.5px solid transparent; }

/* Generic page hero */
.page-hero { padding: clamp(56px, 9vw, 120px) 0 clamp(40px, 6vw, 72px); position: relative; overflow: hidden; }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(50% 70% at 90% 10%, color-mix(in srgb, var(--clay) 14%, transparent), transparent 70%),
    radial-gradient(40% 60% at 0% 100%, color-mix(in srgb, var(--green) 12%, transparent), transparent 70%);
}
.page-hero__title { font-size: clamp(2.4rem, 6vw, 4.4rem); font-weight: 300; max-width: 16em; }
.page-hero__tags { color: var(--ink-soft); font-size: 1.02rem; }
.page-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.jump { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.jump a { padding: 9px 18px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; font-weight: 500; font-size: .92rem; background: var(--surface); }
.jump a:hover { border-color: var(--green); color: var(--green); }

/* ---------- Story page ---------- */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 60; pointer-events: none; }
.progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--green), var(--clay)); transform-origin: 0 50%; transform: scaleX(0); }

.story-intro { background: var(--bg-tint); padding: clamp(48px, 7vw, 90px) 0; }
.story-intro__inner { max-width: 820px; }
.story-intro__inner p { font: 400 clamp(1.08rem, 1.7vw, 1.26rem)/1.65 var(--serif); }
.story-intro__quote { margin: 36px 0 0; }
.story-intro__quote p { font: 300 italic clamp(1.4rem, 2.6vw, 2rem)/1.35 var(--serif) !important; border-left: 3px solid var(--clay); padding-left: 22px; margin: 0; }

.story { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: clamp(32px, 6vw, 90px); padding-top: clamp(48px, 7vw, 90px); padding-bottom: clamp(60px, 8vw, 110px); }
.story__toc { position: sticky; top: 96px; align-self: start; max-height: calc(100vh - 120px); overflow-y: auto; padding-right: 6px; }
.story__toc-label { font-size: .75rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--clay); margin-bottom: 12px; }
.story__toc ol { list-style: none; margin: 0; padding: 0; }
.story__toc a { display: grid; grid-template-columns: 30px 1fr; gap: 6px; padding: 8px 10px; border-radius: 10px; text-decoration: none; font-size: .86rem; line-height: 1.35; color: var(--ink-soft); transition: background .2s, color .2s; }
.story__toc a span { font-family: var(--serif); color: var(--clay); }
.story__toc a:hover { background: var(--bg-tint); color: var(--ink); }
.story__toc a.is-active { background: color-mix(in srgb, var(--green) 10%, transparent); color: var(--green); font-weight: 600; }

.story__body { max-width: 720px; }
.chapter { padding: 0 0 clamp(48px, 6vw, 72px); margin-bottom: clamp(48px, 6vw, 72px); border-bottom: 1px solid var(--line); scroll-margin-top: 96px; }
.chapter__label { display: flex; align-items: center; gap: 14px; font-size: .76rem; font-weight: 600; letter-spacing: .16em; color: var(--ink-soft); margin-bottom: 16px; }
.chapter__num { font: 300 2.6rem/1 var(--serif); color: var(--clay); letter-spacing: 0; }
.chapter h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); margin-bottom: .8em; }
.chapter p { color: var(--ink-soft); font-size: 1.04rem; line-height: 1.8; }
.chapter p.chapter__lead { color: var(--ink); font: 400 clamp(1.12rem, 1.8vw, 1.28rem)/1.65 var(--serif); }
.chapter p.chapter__lead::first-letter { float: left; font: 400 3.6em/.8 var(--serif); color: var(--green); padding: 6px 10px 0 0; }
.chapter__list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; }
.chapter__list li { padding: 14px 18px 14px 46px; border: 1px solid var(--line); border-radius: 12px; position: relative; font-weight: 500; }
.chapter__list li::before { content: ""; position: absolute; left: 18px; top: 50%; width: 12px; height: 12px; border-radius: 50%; background: var(--green); transform: translateY(-50%); }
.story__end .eyebrow { margin-bottom: 18px; }
.story__next { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.next-card { display: grid; gap: 6px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; transition: border-color .25s, transform .25s var(--ease); }
.next-card span { font-size: .8rem; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .12em; font-weight: 600; }
.next-card strong { font: 400 1.3rem/1.3 var(--serif); color: var(--green); }
.next-card:hover { border-color: var(--green); transform: translateY(-3px); }

@media (max-width: 960px) {
  .story { grid-template-columns: minmax(0, 1fr); }
  .story__toc { min-width: 0; position: sticky; top: 72px; z-index: 10; max-height: none; overflow: visible; background: var(--bg); margin: 0 -24px; padding: 10px 24px; border-bottom: 1px solid var(--line); }
  .story__toc-label { display: none; }
  .story__toc ol { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .story__toc ol::-webkit-scrollbar { display: none; }
  .story__toc li { flex: 0 0 auto; }
  .story__toc a { display: block; white-space: nowrap; border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; font-size: .82rem; }
  .story__toc a span { margin-right: 6px; }
  .chapter { scroll-margin-top: 140px; }
  .story__next { grid-template-columns: 1fr; }
}
@media (max-width: 600px) { .story__toc { margin: 0 -16px; padding: 10px 16px; } }

/* ---------- CV page ---------- */
/* CV cover photo: full width, name in white at the bottom */
.cv-cover { position: relative; min-height: max(86vh, 50vw); overflow: hidden; isolation: isolate; display: flex; align-items: flex-end; background: #050c10; color: #fff; }
.cv-cover__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 19%; z-index: -2; }
.cv-cover__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(5,12,16,.45) 0%, rgba(5,12,16,0) 22%, rgba(5,12,16,0) 50%, rgba(5,12,16,.6) 75%, rgba(5,12,16,.88) 100%); }
.cv-cover__content { text-align: center; padding-bottom: clamp(28px, 4vh, 44px); }
.cv-cover__name { font-family: var(--display); font-weight: 800; letter-spacing: -.035em; line-height: 1; font-size: clamp(2.6rem, 5.4vw, 5.2rem); color: #fff; margin: 0 0 .25em; text-shadow: 0 4px 40px rgba(0,0,0,.35); }
.cv-cover__title { font: 400 italic clamp(1.2rem, 2.2vw, 1.8rem)/1.3 var(--serif); color: #fff; margin: 0 0 .5em; }
.cv-cover__meta { font-size: .95rem; font-weight: 600; color: rgba(255,255,255,.85); margin: 0; }
.cv-hero { padding: clamp(56px, 8vw, 110px) 0 clamp(48px, 6vw, 80px); position: relative; }
.cv-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 70% at 100% 0%, color-mix(in srgb, var(--clay) 12%, transparent), transparent 70%); }
.cv-hero__grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.cv-hero__summary { color: var(--ink-soft); font-size: 1.08rem; max-width: 40em; }
.cv-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.stats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.stats li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: grid; gap: 6px; }
.stats strong { font: 300 clamp(2.2rem, 4vw, 3rem)/1 var(--serif); color: var(--green); }
.stats span { font-size: .88rem; color: var(--ink-soft); line-height: 1.4; }
.cv-hero__grid { align-items: start; row-gap: 28px; }
.cv-hero__about { grid-column: 1; grid-row: 1; }
.cv-hero__grid .stats { grid-column: 2; grid-row: 1; align-self: center; }
.cv-hint { font-size: .88rem; color: var(--ink-soft); margin-top: 18px; }
.cv-hint::before { content: "✦ "; color: var(--clay); }
.langs { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.langs li { display: flex; justify-content: space-between; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.langs li:last-child { border-bottom: 0; padding-bottom: 0; }
.langs strong { font: 400 1.1rem/1.3 var(--serif); }
.langs span { font-size: .85rem; font-weight: 600; color: var(--green); }
@media (max-width: 860px) {
  .cv-hero__grid { grid-template-columns: 1fr; }
  .cv-hero__grid .stats, .cv-hero__about { grid-column: auto; grid-row: auto; }
}

.positions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.position { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; }
.position--lead { grid-column: span 2; background: linear-gradient(135deg, color-mix(in srgb, var(--green) 9%, #fff), color-mix(in srgb, var(--clay) 9%, #fff)); border-color: color-mix(in srgb, var(--green) 30%, var(--line)); }
.position__kind { font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--clay); margin-bottom: 12px; }
.position h3 { font-size: 1.3rem; font-weight: 400; margin-bottom: 4px; }
.position--lead h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.position__org { font-weight: 600; color: var(--green); font-size: .92rem; margin-bottom: 10px; }
.position p:not(.position__org) { color: var(--ink-soft); font-size: .95rem; }
.position .link { margin-top: auto; align-self: flex-start; font-size: .9rem; }
@media (max-width: 960px) { .positions { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .positions { grid-template-columns: 1fr; } .position--lead { grid-column: auto; } }

.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter { font: 500 .88rem/1 var(--sans); padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink-soft); cursor: pointer; transition: all .2s; }
.filter:hover { border-color: var(--green); color: var(--green); }
.filter.is-active { background: var(--green); border-color: var(--green); color: #fff; }

.record { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); }
.entry { display: grid; grid-template-columns: 170px 1fr; gap: 24px; padding: 0 0 34px 30px; position: relative; }
.entry[hidden] { display: none; }
.entry::before { content: ""; position: absolute; left: -8px; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 2px solid var(--green); }
.entry__date { font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--clay); padding-top: 4px; }
.entry h3 { font-size: 1.3rem; font-weight: 400; margin-bottom: 6px; }
.entry h3 em { display: block; font: 600 .95rem/1.4 var(--sans); font-style: normal; color: var(--green); margin-top: 4px; }
.entry p { color: var(--ink-soft); margin-bottom: 8px; }
.entry__src { font-size: .82rem; font-weight: 600; color: var(--clay); text-decoration: none; }
.entry__src::after { content: " ↗"; }
.entry__src:hover { text-decoration: underline; }
.entry__srcs { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0 0 4px !important; }
@media (max-width: 700px) { .entry { grid-template-columns: 1fr; gap: 4px; padding-left: 22px; } }

.skills { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.skillset { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.skillset h3 { font-size: 1.2rem; margin-bottom: 14px; }
.skillset--wide { grid-column: 1 / -1; }
.skillset .tags li { font-size: .84rem; padding: 7px 13px; }
@media (max-width: 760px) { .skills { grid-template-columns: 1fr; } }
.cv-cta__inner { text-align: center; }
.cv-cta__inner .cv-hero__actions { justify-content: center; }

/* ---------- Media page ---------- */
.videos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.video { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.video__frame { aspect-ratio: 16 / 9; background: #0f1b22; position: relative; }
.video__frame iframe, .video__frame video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video__play { position: absolute; inset: 0; border: 0; cursor: pointer; background: center / cover no-repeat; }
.video__play::after { content: "▶"; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 68px; height: 68px; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--green); display: grid; place-items: center; font-size: 1.4rem; padding-left: 4px; box-shadow: 0 10px 30px rgba(0,0,0,.3); transition: transform .25s var(--ease); }
.video__play:hover::after { transform: translate(-50%, -50%) scale(1.08); }
.video__meta { padding: 18px 20px 22px; }
.video__tag { font-size: .74rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--clay); }
.video__meta h3 { font-size: 1.15rem; font-weight: 400; margin: 8px 0 0; }
@media (max-width: 960px) { .videos { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .videos { grid-template-columns: 1fr; } }

.stories { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.story-card { display: flex; flex-direction: column; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; background: var(--surface); transition: transform .3s var(--ease), border-color .3s, box-shadow .3s; }
.story-card:hover { transform: translateY(-4px); border-color: var(--green); box-shadow: 0 24px 50px -30px rgba(18,38,47,.35); }
.story-card__year { font-size: .74rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--clay); margin-bottom: 14px; }
.story-card h3 { font-size: 1.45rem; font-weight: 400; }
.story-card p { color: var(--ink-soft); font-size: .96rem; flex: 1; }
.story-card .link { align-self: flex-start; font-size: .9rem; }
@media (max-width: 960px) { .stories { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .stories { grid-template-columns: 1fr; } }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.photo { margin: 0; }
.photo__btn { display: block; width: 100%; padding: 0; border: 0; border-radius: var(--radius); overflow: hidden; cursor: zoom-in; aspect-ratio: 4 / 3; background: var(--line); }
.photo__btn img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.photo__btn:hover img { transform: scale(1.04); }
.photo__soon { aspect-ratio: 4 / 3; border-radius: var(--radius); border: 1.5px dashed color-mix(in srgb, var(--green) 40%, var(--line)); display: grid; place-items: center; color: var(--ink-soft); font-size: .88rem; background: var(--surface); }
.photo figcaption { font-size: .88rem; color: var(--ink-soft); padding: 10px 4px 0; }
@media (max-width: 860px) { .gallery { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .gallery { grid-template-columns: 1fr; } }

.lightbox { border: 0; padding: 0; background: transparent; max-width: min(1100px, 94vw); }
.lightbox::backdrop { background: rgba(10, 20, 26, .86); }
.lightbox img { max-height: 82vh; width: auto; margin: 0 auto; border-radius: 12px; }
.lightbox__caption { color: #fff; text-align: center; margin: 12px 0 0; }
.lightbox__close { position: fixed; top: 16px; right: 20px; width: 46px; height: 46px; border-radius: 50%; border: 0; background: #fff; font-size: 1.6rem; cursor: pointer; }

.press { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.mention__link { display: grid; gap: 6px; height: 100%; padding: 24px 56px 24px 24px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; position: relative; background: var(--surface); transition: border-color .25s, transform .25s var(--ease); }
.mention__link:hover { border-color: var(--green); transform: translateY(-2px); }
.mention__top { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.mention__kind { font-size: .7rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; background: color-mix(in srgb, var(--clay) 12%, transparent); color: var(--clay); }
.mention__source { font-size: .85rem; font-weight: 600; color: var(--green); }
.mention__title { font: 400 1.25rem/1.3 var(--serif); }
.mention__note { color: var(--ink-soft); font-size: .93rem; }
.mention__arrow { position: absolute; top: 22px; right: 22px; font-size: 1.2rem; color: var(--green); }
@media (max-width: 760px) { .press { grid-template-columns: 1fr; } }

.featured { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
.featured a { font: 500 1.05rem/1.3 var(--serif); color: var(--ink-soft); text-decoration: none; border-bottom: 1px solid transparent; }
.featured a:hover { color: var(--green); border-bottom-color: currentColor; }

/* ---------- Clickable cards + detail panel ---------- */
.is-clickable { cursor: pointer; position: relative; }
.more-hint {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 14px;
  font: 600 .8rem/1 var(--sans); letter-spacing: .04em; color: var(--green);
}
button.more-hint { background: none; border: 0; padding: 4px 0; cursor: pointer; text-align: left; justify-self: start; align-self: start; width: max-content; max-width: 100%; }
.is-clickable:focus-within .more-hint::after { transform: rotate(90deg); background: var(--green); color: #fff; }
.more-hint::after { content: "+"; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: color-mix(in srgb, var(--green) 12%, transparent); font-size: .95rem; transition: transform .3s var(--ease), background .3s; }
.is-clickable:hover .more-hint::after, .is-clickable:focus-visible .more-hint::after { transform: rotate(90deg); background: var(--green); color: #fff; }
.entry.is-clickable .more-hint, .timeline li.is-clickable .more-hint { margin-top: 6px; }
.entry.is-clickable:hover h3, .timeline li.is-clickable:hover h3, .article.is-clickable:hover h3 { color: var(--green); }
.section--dark .timeline li .more-hint { color: var(--clay); }
.trophy.is-clickable { grid-template-rows: auto auto auto; }
.trophy .more-hint { grid-column: 2; margin-top: 4px; }
.trophy.is-clickable:hover, .position.is-clickable:hover { border-color: var(--green); }

.detail {
  border: 0; padding: 0; margin: 0 0 0 auto; height: 100vh; max-height: 100vh; width: min(620px, 100vw); max-width: 100vw;
  background: var(--surface); color: var(--ink); box-shadow: -30px 0 60px -20px rgba(18,38,47,.35);
}
.detail[open] { animation: slideIn .4s var(--ease); }
.detail::backdrop { background: rgba(12, 28, 36, .45); backdrop-filter: blur(3px); }
@keyframes slideIn { from { transform: translateX(40px); opacity: 0; } to { transform: none; opacity: 1; } }
.detail__inner { height: 100%; overflow-y: auto; padding: clamp(28px, 5vw, 48px); }
.detail__close {
  position: sticky; top: 0; float: right; margin: -8px -8px 0 0; z-index: 2;
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface);
  font-size: 1.6rem; line-height: 1; cursor: pointer; color: var(--ink);
}
.detail__close:hover { border-color: var(--green); color: var(--green); }
.detail__title { font-size: clamp(1.8rem, 4vw, 2.5rem); font-weight: 400; margin-right: 48px; }
.detail__meta { font-weight: 600; color: var(--green); font-size: .95rem; margin-bottom: 22px; }
.detail__p { color: var(--ink-soft); font-size: 1.04rem; line-height: 1.75; }
.detail__points { list-style: none; padding: 0; margin: 8px 0 24px; display: grid; gap: 10px; }
.detail__points li { position: relative; padding-left: 26px; color: var(--ink-soft); }
.detail__points li::before { content: ""; position: absolute; left: 4px; top: .7em; width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.detail__section { margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line); }
.detail__h { font: 600 .78rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--clay); margin-bottom: 16px; }
.detail__video { aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: #0f1b22; position: relative; margin-bottom: 6px; }
.detail__video iframe, .detail__video video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.detail__caption { font-size: .88rem; color: var(--ink-soft); margin-bottom: 16px; }
.detail__images { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.detail__images figure { margin: 0; }
.detail__images img { border-radius: 12px; aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.detail__images figcaption { font-size: .82rem; color: var(--ink-soft); margin-top: 6px; }
.detail__links { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.detail__links a {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 14px 18px; border: 1px solid var(--line); border-radius: 12px; text-decoration: none; font-weight: 500;
  transition: border-color .2s, color .2s;
}
.detail__links a::after { content: "↗"; color: var(--green); }
.detail__links a[href^="story.html"]::after { content: "→"; }
.detail__links a.is-pdf::after { content: "PDF ↓"; font-size: .75rem; font-weight: 700; padding: 4px 8px; border-radius: 6px; background: color-mix(in srgb, var(--clay) 12%, transparent); color: var(--clay); }
.detail__links a:hover { border-color: var(--green); color: var(--green); }
@media (max-width: 640px) {
  .detail { width: 100vw; }
  .detail[open] { animation: slideUp .35s var(--ease); }
}
@keyframes slideUp { from { transform: translateY(30px); opacity: 0; } to { transform: none; opacity: 1; } }

/* ---------- Blog ---------- */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.post-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.post-card[hidden] { display: none; }
.post-card:hover { transform: translateY(-4px); border-color: var(--green); box-shadow: 0 24px 50px -30px rgba(18,38,47,.35); }
.post-card__cover { aspect-ratio: 16 / 9; display: grid; place-items: center; overflow: hidden; background: linear-gradient(135deg, #2db676, #2a86d1); }
.post-card__cover[data-cat="Education"] { background: linear-gradient(135deg, #2a86d1, #6cc3f0); }
.post-card__cover[data-cat="Books"] { background: linear-gradient(135deg, #1f9d63, #8fd9b6); }
.post-card__cover[data-cat="Travel"] { background: linear-gradient(135deg, #23a58f, #2a86d1); }
.post-card__cover[data-cat="Reflections"] { background: linear-gradient(135deg, #2db676, #2a86d1); }
.post-card__cover img { width: 100%; height: 100%; object-fit: cover; }
.post-card__glyph { color: rgba(255,255,255,.95); display: grid; justify-items: center; gap: 6px; }
.post-card__code { font: 600 .78rem/1 var(--sans); letter-spacing: .2em; padding: 5px 10px; border: 1px solid rgba(255,255,255,.6); border-radius: 999px; }
.post-card__body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.post-card__cat { font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--clay); margin-bottom: 10px; }
.post-card h3 { font-size: 1.35rem; font-weight: 400; }
.post-card p { color: var(--ink-soft); font-size: .95rem; flex: 1; }
.post-card__time { font-size: .82rem; color: var(--green); font-weight: 600; }
.posts__empty { color: var(--ink-soft); }
@media (max-width: 960px) { .posts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .posts { grid-template-columns: 1fr; } }

.countries { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.country { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; background: var(--surface); }
.country__head { display: flex; gap: 16px; align-items: center; margin-bottom: 14px; }
.country__flag { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; flex: none; background: linear-gradient(135deg, var(--green), var(--clay)); color: #fff; font: 600 .95rem/1 var(--sans); letter-spacing: .08em; }
.country h3 { margin: 0; font-size: 1.5rem; font-weight: 400; }
.country__role { font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--clay); }
.country__places { font-weight: 600; color: var(--green); font-size: .9rem; margin-bottom: 8px; }
.country p:not(.country__places) { color: var(--ink-soft); font-size: .95rem; }
.country__posts { list-style: none; padding: 14px 0 0; margin: 0; border-top: 1px solid var(--line); display: grid; gap: 8px; }
.country__posts a { color: var(--ink); font-weight: 500; text-decoration: none; font-size: .93rem; }
.country__posts a::before { content: "→ "; color: var(--green); }
.country__posts a:hover { color: var(--green); }
@media (max-width: 960px) { .countries { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .countries { grid-template-columns: 1fr; } }

.books { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.book { text-decoration: none; }
.book__cover { aspect-ratio: 2 / 3; border-radius: 10px; overflow: hidden; background: linear-gradient(160deg, #1f9d63, #2a86d1); display: grid; place-items: center; padding: 16px; margin-bottom: 12px; box-shadow: 0 18px 30px -18px rgba(18,38,47,.45); }
.book__cover img { width: 100%; height: 100%; object-fit: cover; }
.book__cover span { color: #fff; font: 400 1.1rem/1.3 var(--serif); text-align: center; }
.book h3 { font-size: 1.1rem; margin-bottom: 2px; }
.book__author { color: var(--green); font-weight: 600; font-size: .88rem; margin-bottom: 6px; }
.book__note { color: var(--ink-soft); font-size: .9rem; }
@media (max-width: 860px) { .books { grid-template-columns: 1fr 1fr; } }

/* Single post */
.post { padding: clamp(40px, 6vw, 80px) 0 clamp(60px, 8vw, 100px); }
.post__wrap { max-width: 760px; }
.post__back { display: inline-block; text-decoration: none; font-weight: 600; font-size: .92rem; color: var(--green); margin-bottom: 32px; }
.post__cat { display: inline-block; text-decoration: none; }
.post__title { font-size: clamp(2.2rem, 5.5vw, 3.6rem); font-weight: 300; }
.post__meta { color: var(--ink-soft); font-size: .92rem; margin-bottom: 32px; }
.post__cover { width: 100%; border-radius: var(--radius); margin-bottom: 36px; }
.post__body p, .post__body li { font: 400 1.14rem/1.8 var(--serif); color: var(--ink); }
.post__body h2 { font-size: clamp(1.5rem, 3vw, 1.9rem); margin: 1.6em 0 .6em; }
.post__body p.post__stanza { white-space: pre-line; font-style: italic; line-height: 1.9; margin: 0 0 1.6em; padding-left: 20px; border-left: 2px solid color-mix(in srgb, var(--green) 35%, transparent); }
.post-card__cover[data-cat="Poetry"] { background: linear-gradient(135deg, #2a86d1, #2db676); }
.post__body ul { padding-left: 1.2em; margin: 0 0 1.4em; }
.post__body li { margin-bottom: .4em; }
.post__body li::marker { color: var(--green); }
.post__body blockquote { margin: 1.8em 0; padding-left: 24px; border-left: 3px solid var(--clay); }
.post__body blockquote p { font: 300 italic clamp(1.4rem, 2.6vw, 1.8rem)/1.4 var(--serif); }
.post__body figure { margin: 2em 0; }
.post__body figure img { border-radius: 14px; width: 100%; }
.post__body figcaption { font-size: .88rem; color: var(--ink-soft); margin-top: 8px; }
.post__video { aspect-ratio: 16 / 9; position: relative; border-radius: 14px; overflow: hidden; background: #0f1b22; }
.post__video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.post__pdf { display: inline-flex; gap: 10px; align-items: center; padding: 12px 18px; border: 1px solid var(--line); border-radius: 12px; text-decoration: none; font-weight: 600; margin: 8px 0 20px; }
.post__pdf::after { content: "PDF ↓"; font-size: .75rem; color: var(--clay); }
.post__date { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--ink-soft); font-size: .9rem; }

/* ---------- Legal pages ---------- */
.legal { padding: clamp(48px, 7vw, 90px) 0; }
.legal__wrap { max-width: 760px; }
.legal h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); font-weight: 300; margin-bottom: 1em; hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }
.legal { overflow-wrap: break-word; }
.legal h2 { font-size: 1.3rem; font-weight: 600; margin: 2em 0 .6em; }
.legal p, .legal address { color: var(--ink-soft); font-style: normal; line-height: 1.75; }
.legal a { color: var(--green); }
.legal__en { margin-top: 3em; padding: 18px 22px; background: var(--bg-tint); border-radius: 12px; }
.footer__legal { margin-top: 6px !important; font-size: .85rem; }
.footer__legal a { color: var(--ink-soft); }
.footer__legal a:hover { color: var(--green); }

/* ---------- Press kit ---------- */
.presskit { display: grid; grid-template-columns: 300px 1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.presskit__photo img { width: 100%; border-radius: 150px 150px var(--radius) var(--radius); box-shadow: 0 24px 50px -28px rgba(18,38,47,.5); }
.presskit__photo .btn { width: 100%; margin-top: 14px; }
.bio { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 26px; background: var(--surface); margin-bottom: 18px; }
.bio__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 10px; }
.bio__head h3 { margin: 0; font-size: 1.15rem; }
.bio__head span { font-size: .78rem; color: var(--ink-soft); }
.bio p { color: var(--ink-soft); margin-bottom: .8em; }
.copy-btn { font: 600 .8rem/1 var(--sans); padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--green); cursor: pointer; }
.copy-btn:hover { border-color: var(--green); }
.presskit__facts { list-style: none; padding: 0; margin: 0 0 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.presskit__facts li { font-size: .92rem; padding: 12px 16px; border-radius: 12px; background: var(--bg-tint); }
.presskit__facts strong { display: block; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--clay); margin-bottom: 2px; }
@media (max-width: 860px) { .presskit { grid-template-columns: 1fr; } .presskit__photo { max-width: 280px; } }
@media (max-width: 520px) { .presskit__facts { grid-template-columns: 1fr; } }
.form__opt { font-weight: 400; color: var(--ink-soft); }
.form__hint { font-size: .85rem; color: var(--ink-soft); margin: 10px 0 0; }
.form__row--split { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 520px) { .form__row--split { grid-template-columns: 1fr; } }

/* ==========================================================
   BOLD REFRESH (inspired by cinematic NGO sites):
   heavy sans headlines, dark cinematic moments, photo cards,
   mint call-to-action band, black footer.
   ========================================================== */
:root {
  --display: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --night: #07140f;        /* deep green-black */
  --night-2: #0e2019;
  --mint: #6df0a8;         /* bright mint accent */
  --on-night: #f2f7f4;
  --on-night-soft: #a9bdb3;
}

/* Headlines: heavy, tight sans. Fraunces italic stays for accent words. */
h1, h2,
.page-hero__title, .post__title, .legal h1, .detail__title, .chapter h2, .voice h2 {
  font-family: var(--display); font-weight: 800; letter-spacing: -.035em; line-height: 1.04;
}
h3,
.pillar h3, .article h3, .entry h3, .timeline h3, .position h3, .story-card h3, .post-card h3, .country h3,
.video__meta h3, .mention__title, .topics strong, .next-card strong, .bio__head h3 {
  font-family: var(--display); font-weight: 700; letter-spacing: -.02em; line-height: 1.2;
}
h1 em, h2 em, .detail__title em { font-family: var(--serif); font-weight: 400; font-style: italic; letter-spacing: -.01em; }
.entry h3 em { font-family: var(--sans); font-weight: 600; letter-spacing: 0; }

/* Crisper buttons */
.btn { border-radius: 8px; padding: 14px 24px; }
.nav__menu .nav__cta { border-radius: 8px; }
.btn--light { background: #fff; color: var(--night); }
.btn--light:hover { background: var(--mint); color: var(--night); }
.btn--outline-light { border-color: rgba(255,255,255,.7); color: #fff; background: transparent; }
.btn--outline-light:hover { background: #fff; color: var(--night); }
.btn--dark { background: var(--night); color: #fff; }
.btn--dark:hover { background: var(--green); color: #fff; }

/* Nav over dark heroes */
.has-dark-hero .nav:not(.is-scrolled) { background: var(--night); border-bottom-color: transparent; }
.has-dark-hero .nav:not(.is-scrolled) .brand__name,
.has-dark-hero .nav:not(.is-scrolled) .nav__menu a:not(.nav__cta) { color: rgba(255,255,255,.88); }
.has-dark-hero .nav:not(.is-scrolled) .nav__menu a[aria-current="page"]:not(.nav__cta) { color: var(--mint); box-shadow: inset 0 -2px 0 var(--mint); }
.has-dark-hero .nav:not(.is-scrolled) .nav__toggle span { background: #fff; }
.has-dark-hero .nav:not(.is-scrolled) .brand__mark { background: var(--mint); color: var(--night); }
@media (max-width: 900px) {
  .has-dark-hero .nav:not(.is-scrolled) .nav__menu { background: var(--night); border-bottom-color: rgba(255,255,255,.1); }
  .has-dark-hero .nav:not(.is-scrolled) .nav__menu a { border-bottom-color: rgba(255,255,255,.12); }
}

/* ---------- Home hero: three photos side by side ---------- */
.photo-hero {
  position: relative; min-height: 100vh; min-height: 100svh; overflow: hidden; isolation: isolate;
  display: flex; align-items: flex-end; justify-content: center; background: #050c10; color: #fff;
}
.photo-hero__trio { position: absolute; inset: 0; z-index: -2; display: grid; grid-template-columns: 1fr 1.7fr 1fr; }
.photo-hero__trio img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.7) saturate(.85) contrast(1.08); animation: heroZoom 18s ease-out both; }
.photo-hero__trio img:nth-child(2) { filter: brightness(.8) saturate(.88) contrast(1.08); }
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
/* Only a fade at the top (menu) and bottom (text) */
.photo-hero__shade {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(5,12,16,.5) 0%, rgba(5,12,16,0) 22%, rgba(5,12,16,0) 45%, rgba(5,12,16,.55) 72%, rgba(5,12,16,.85) 100%);
}
.photo-hero__content { text-align: center; padding-bottom: clamp(96px, 17vh, 190px); }
.photo-hero__title {
  font-family: var(--display); font-weight: 800; letter-spacing: -.035em; line-height: 1;
  font-size: clamp(3rem, 6.4vw, 6.6rem); color: #fff; margin: 0 auto .3em; max-width: 16em;
  text-shadow: 0 4px 40px rgba(0,0,0,.35);
  animation: heroRise 1.1s var(--ease) .15s both;
}
.photo-hero__sub {
  font-family: var(--display); font-weight: 700; letter-spacing: -.015em; line-height: 1.25;
  font-size: clamp(1.1rem, 2.05vw, 1.95rem); color: #fff; margin: 0 auto; max-width: 32em;
  text-shadow: 0 2px 24px rgba(0,0,0,.45);
  animation: heroRise 1.1s var(--ease) .35s both;
}
@keyframes heroRise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
/* Phones: three strips would be too narrow, so one photo at a time, middle photo first */
@media (max-width: 760px) {
  .photo-hero__trio { display: block; }
  .photo-hero__trio img { position: absolute; inset: 0; opacity: 0; animation: heroFade 18s infinite; filter: brightness(.75) saturate(.88) contrast(1.08) !important; }
  .photo-hero__trio img:nth-child(3) { animation-delay: 6s; }
  .photo-hero__trio img:nth-child(1) { animation-delay: 12s; }
  .photo-hero__content { padding-bottom: 100px; }
  .photo-hero__title { font-size: clamp(2.6rem, 12vw, 3.8rem); }
  .photo-hero__sub br { display: none; }
}
@keyframes heroFade { 0% { opacity: 0; } 5% { opacity: 1; } 33% { opacity: 1; } 39% { opacity: 0; } 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .photo-hero__trio img, .photo-hero__title, .photo-hero__sub { animation: none; }
  .photo-hero__trio img:nth-child(2) { opacity: 1; }
}
/* Scroll cue */
.cine-hero__scroll { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.5); border-radius: 14px; }
.cine-hero__scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: scrollcue 1.8s ease-in-out infinite; }
@keyframes scrollcue { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* Home: the menu floats over the photo, transparent until you scroll */
.page-home .nav { position: fixed; top: 0; left: 0; right: 0; }
.page-home.has-dark-hero .nav:not(.is-scrolled) { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.page-home.has-dark-hero .nav:not(.is-scrolled) .brand__name,
.page-home.has-dark-hero .nav:not(.is-scrolled) .nav__menu a:not(.nav__cta) { color: #fff; font-weight: 600; }
.page-home.has-dark-hero .nav:not(.is-scrolled) .nav__menu a[aria-current="page"]:not(.nav__cta) { color: #fff; box-shadow: inset 0 -2px 0 #fff; }
.page-home.has-dark-hero .nav:not(.is-scrolled) .nav__cta { background: transparent; border: 1.5px solid rgba(255,255,255,.8); }
.page-home.has-dark-hero .nav:not(.is-scrolled) .nav__cta:hover { background: #fff; color: var(--night); }
.page-home.has-dark-hero .nav:not(.is-scrolled) .brand__mark { background: #fff; color: var(--night); }
@media (max-width: 900px) {
  .page-home.has-dark-hero .nav:not(.is-scrolled) .nav__menu.is-open { background: rgba(7,20,15,.96); }
}

/* ---------- Statement + marquee ---------- */
.statement { background: var(--night); color: var(--on-night); padding: clamp(72px, 10vw, 130px) 0 0; text-align: center; overflow: hidden; }
.statement__inner { max-width: 900px; }
.statement h2 { font-size: clamp(2rem, 4.6vw, 3.6rem); color: #fff; }
.statement p { color: var(--on-night-soft); font-size: clamp(1.02rem, 1.5vw, 1.18rem); max-width: 40em; margin: 0 auto; }
.marquee { display: flex; gap: 0; margin-top: clamp(56px, 8vw, 96px); padding: 26px 0; border-top: 1px solid rgba(255,255,255,.1); overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { list-style: none; margin: 0; padding: 0; display: flex; flex: none; gap: 56px; padding-right: 56px; animation: marquee 38s linear infinite; }
.marquee__track li { white-space: nowrap; font: 700 1.15rem/1 var(--display); letter-spacing: -.01em; color: rgba(255,255,255,.55); }
.marquee__track li::before { content: "✦"; color: var(--mint); margin-right: 56px; font-size: .8rem; vertical-align: middle; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track li { display: flex; align-items: center; }
.marquee__logo {
  height: 44px; width: auto; max-width: 170px; object-fit: contain;
  filter: brightness(0) invert(1); opacity: .62; transition: opacity .25s, filter .25s;
}
.marquee__track li.has-logo:hover .marquee__logo { opacity: 1; filter: none; }@keyframes marquee { to { transform: translateX(-100%); } }

/* ---------- Showcase: feature card + photo cards ---------- */
.showcase { background: var(--night); padding: clamp(48px, 7vw, 90px) 0 clamp(72px, 10vw, 120px); }

.photo-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
.photo-card {
  position: relative; min-height: 540px; overflow: hidden; display: flex; align-items: flex-end; justify-content: center; text-align: center;
  background: radial-gradient(120% 90% at 20% 0%, #2db676 0%, #145c3f 45%, #0a2a1e 100%) center / cover no-repeat;
  color: #fff; isolation: isolate; text-decoration: none; transition: transform .4s var(--ease);
}
.photo-card--blue { background-image: radial-gradient(120% 90% at 80% 0%, #3a9ee0 0%, #1b4f7a 45%, #0b2236 100%); }
.photo-card--teal { background-image: radial-gradient(120% 120% at 50% 0%, #23a58f 0%, #135c55 45%, #082824 100%); }
.photo-card--wide { grid-column: 1 / -1; min-height: 460px; }
/* Dark fade so the white text stays readable on any photo */
.photo-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,.3) 0%, rgba(0,0,0,.45) 40%, rgba(0,0,0,.9) 100%); }
.photo-card__text { padding: clamp(28px, 4vw, 48px) clamp(20px, 4vw, 48px) clamp(36px, 5vw, 56px); max-width: 640px; }
.photo-card h3 { font-family: var(--display); font-weight: 800; font-size: clamp(1.7rem, 3vw, 2.6rem); letter-spacing: -.03em; line-height: 1.08; color: #fff; margin-bottom: .45em; }
.photo-card p { color: rgba(255,255,255,.9); font-size: .98rem; margin: 0 auto; max-width: 34em; }
.photo-card .btn { margin-top: 30px; min-width: min(250px, 100%); padding: 13px 24px; border-radius: 0; background: #fff; color: #000; font-weight: 500; pointer-events: none; }
.photo-card .more-hint { display: none; }
.photo-card:hover { transform: translateY(-4px); }
.photo-card:hover .btn { background: var(--mint); }
@media (max-width: 760px) { .photo-cards { grid-template-columns: 1fr; } .photo-card, .photo-card--wide { min-height: 440px; } }

/* ---------- Dark page heroes on inner pages ---------- */
.page-hero { background: radial-gradient(70% 120% at 85% 0%, #12382a 0%, var(--night) 60%); color: var(--on-night); }
.page-hero::before { display: none; }
.page-hero .eyebrow { color: var(--mint); }
.page-hero__title { color: #fff; font-size: clamp(2.6rem, 6.4vw, 5.2rem); }
.page-hero__title em { color: var(--mint); }
.page-hero__tags { color: var(--on-night-soft); }
.page-hero .btn--primary { background: #fff; color: var(--night); }
.page-hero .btn--primary:hover { background: var(--mint); }
.page-hero .btn--ghost { border-color: rgba(255,255,255,.7); color: #fff; }
.page-hero .btn--ghost:hover { background: #fff; color: var(--night); }
.page-hero .jump a { background: transparent; border-color: rgba(255,255,255,.25); color: #fff; }
.page-hero .jump a:hover { border-color: var(--mint); color: var(--mint); }

/* ---------- Mint call-to-action band ---------- */
/* Tall photo section; the text sits at the bottom over the steps so all faces stay visible */
.cta-band {
  position: relative; isolation: isolate; overflow: hidden; min-height: max(92vh, 68vw);
  display: flex; align-items: flex-end; justify-content: center; text-align: center;
  background: #050c10 url("../images/web/collaborate.jpg") 50% 66% / cover no-repeat;
  color: #fff; padding: 0 0 clamp(40px, 6vw, 80px);
}
.cta-band::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(5,12,16,.4) 0%, rgba(5,12,16,.1) 25%, rgba(5,12,16,.15) 60%, rgba(5,12,16,.9) 100%);
}
.cta-band h2 { color: #fff; font-size: clamp(3rem, 7vw, 6.6rem); margin-bottom: .15em; text-shadow: 0 4px 40px rgba(0,0,0,.35); }
.cta-band__sub { font: 700 clamp(1.15rem, 2vw, 1.9rem)/1.3 var(--display); letter-spacing: -.015em; color: #fff; margin: 0 auto 26px; text-shadow: 0 2px 24px rgba(0,0,0,.45); }
.cta-band .btn { border-radius: 0; background: #fff; color: #000; min-width: min(250px, 100%); font-weight: 500; }
.cta-band .btn:hover { background: var(--mint); color: #000; }

/* ---------- Black footer ---------- */
.footer { background: var(--night); color: var(--on-night-soft); border-top: 0; text-align: left; padding: clamp(56px, 8vw, 90px) 0 40px; }
.footer__inner { display: grid; grid-template-columns: 1.3fr 1fr; gap: 12px 48px; align-items: start; }
.footer__name { grid-column: 1; font: 800 clamp(2rem, 5vw, 3.4rem)/1 var(--display) !important; letter-spacing: -.04em; color: #fff !important; margin-bottom: 14px !important; }
.footer__inner > p:not(.footer__name):not(.footer__links):not(.footer__legal):not(.footer__small) { grid-column: 1; }
.footer__links { grid-column: 2; grid-row: 1 / span 2; margin: 0 !important; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 1rem; }
.footer__links, .footer__legal { font-size: 0 !important; }
.footer__legal { display: flex; gap: 18px; }
.footer__legal a { font-size: .88rem; }
.footer__links a { font-size: 1rem; color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(255,255,255,.3); }
.footer__links a:hover { color: var(--mint); text-decoration-color: var(--mint); }
.footer__legal { grid-column: 2; }
.footer__legal a { color: var(--on-night-soft); }
.footer__legal a:hover { color: var(--mint); }
.footer__small { grid-column: 1 / -1; padding-top: 26px; margin-top: 26px !important; border-top: 1px solid rgba(255,255,255,.1); }
.footer__social { grid-column: 2; display: flex; gap: 12px; margin: 8px 0 0; }
.footer__social a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); display: grid; place-items: center; color: #fff; transition: all .2s; }
.footer__social a:hover { background: var(--mint); border-color: var(--mint); color: var(--night); }
.footer__social svg { width: 18px; height: 18px; }
@media (max-width: 700px) {
  .footer__inner { grid-template-columns: 1fr; }
  .footer__links, .footer__legal, .footer__social, .footer__inner > p { grid-column: 1 !important; grid-row: auto !important; }
}

/* ---------- Print (CV → PDF) ---------- */
@media print {
  @page { margin: 14mm; }
  body { font-size: 11pt; background: #fff; }
  .cta-band, .footer__social, .marquee, .cine-hero__scroll,
  .nav, .skip, .progress, .filters, .cv-hero__actions, .cv-cta, .footer__links, .story__toc, .page-hero__actions, .jump { display: none !important; }
  .js .reveal { opacity: 1 !important; transform: none !important; }
  .section, .cv-hero { padding: 18px 0 !important; }
  .cv-cover__img, .cv-cover__shade { display: none !important; }
  .cv-cover { min-height: 0 !important; background: #fff !important; color: #000 !important; }
  .cv-cover__content { text-align: left; padding: 0 !important; }
  .cv-cover__name, .cv-cover__title, .cv-cover__meta { color: #000 !important; text-shadow: none !important; }
  .cv-cover__name { font-size: 26pt !important; }
  .section--tint, .section--dark { background: #fff !important; }
  .entry[hidden] { display: grid !important; }
  .entry, .position, .skillset, .chapter { break-inside: avoid; }
  .positions { grid-template-columns: 1fr 1fr; }
  .position--lead { grid-column: span 2; }
  .stats li, .position, .skillset { box-shadow: none; }
  a { text-decoration: none; }
  .footer { background: #fff !important; color: #333 !important; padding: 12px 0 !important; }
  .footer__name { color: #000 !important; font-size: 14pt !important; }
}

/* ==========================================================
   NO SMALL ALL-CAPS LABELS (site owner's preference)
   Decorative labels are removed; useful labels are shown in
   normal sentence case without letter-spacing.
   ========================================================== */
.eyebrow, .cine-hero__kicker, .story__toc-label, .strip__label,
.next-card > span, .sdg-wheel__core small { display: none !important; }

.chapter p.chapter__label { font-size: 0; letter-spacing: 0; margin-bottom: 10px; }
.chapter__label .chapter__num { font-size: 2.6rem; }

.timeline__date, .article__kind, .recog span, .position__kind, .entry__date, .video__tag,
.story-card__year, .mention__kind, .post-card__cat, .country__role, .presskit__facts strong, .detail__h {
  text-transform: none !important; letter-spacing: 0 !important; font-size: .9rem !important; font-weight: 600;
}
.detail__h { font-family: var(--display) !important; font-size: 1.05rem !important; font-weight: 700; color: var(--ink) !important; }
.post-card__code { letter-spacing: .04em; }

/* Hero: short factual introduction + "Explore my work" link (search engines read this text) */
.photo-hero__intro {
  margin: 18px auto 0; max-width: 40em; color: rgba(255,255,255,.82);
  font-size: clamp(.95rem, 1.2vw, 1.08rem); line-height: 1.55; text-shadow: 0 2px 18px rgba(0,0,0,.45);
  animation: heroRise 1.1s var(--ease) .5s both;
}
.photo-hero__cta { margin-top: 22px; animation: heroRise 1.1s var(--ease) .65s both; }
@media (prefers-reduced-motion: reduce) { .photo-hero__intro, .photo-hero__cta { animation: none; } }

/* ---------- Richer detail panels: banner, headline numbers, numbered steps, quote, galleries ---------- */
.detail__inner { --pad: clamp(28px, 5vw, 48px); }
.detail__hero { margin: calc(-1 * var(--pad)) calc(-1 * var(--pad)) 26px; position: relative; }
.detail__hero img { width: 100%; height: auto; display: block; }
.detail__hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 40%; background: linear-gradient(180deg, transparent, var(--surface)); pointer-events: none; }
.detail__hero ~ .detail__close, .detail__close { box-shadow: 0 4px 14px rgba(0,0,0,.12); }
.detail__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 22px 0 26px; }
.detail__stat { background: var(--bg-tint); border: 1px solid var(--line); border-radius: 14px; padding: 16px 14px; display: grid; gap: 6px; }
.detail__stat strong { font: 800 clamp(1.5rem, 3.4vw, 2rem)/1 var(--display); letter-spacing: -.03em; color: var(--green); }
.detail__stat span { font-size: .84rem; line-height: 1.4; color: var(--ink-soft); }
@media (max-width: 520px) { .detail__stats { grid-template-columns: 1fr; } .detail__stat { grid-template-columns: auto 1fr; align-items: center; gap: 14px; } }
.detail__steps { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; gap: 10px; }
.detail__steps li { counter-increment: step; position: relative; padding: 12px 14px 12px 56px; border: 1px solid var(--line); border-radius: 12px; display: grid; gap: 2px; }
.detail__steps li::before { content: counter(step); position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--green); color: #fff; font: 700 .9rem/1 var(--display); }
.detail__steps strong { font: 700 1rem/1.3 var(--display); color: var(--ink); }
.detail__steps span { font-size: .92rem; color: var(--ink-soft); }
.detail__quote { margin: 28px 0 6px; padding: 18px 22px; border-left: 3px solid var(--clay); background: var(--bg-tint); border-radius: 0 12px 12px 0; }
.detail__quote p { margin: 0; font: 400 italic clamp(1.15rem, 2.2vw, 1.4rem)/1.45 var(--serif); color: var(--ink); }
.detail__images figure.is-wide { grid-column: 1 / -1; }
.detail__images figure.is-wide img { aspect-ratio: auto; }
.detail__images a { display: block; border-radius: 12px; overflow: hidden; }
.detail__images a img { transition: transform .4s var(--ease); }
.detail__images a:hover img { transform: scale(1.03); }
.detail__images img.is-contain { object-fit: contain; background: #e9ebfb; }

/* Video button without an external thumbnail (privacy: nothing loads from YouTube before play) */
.video__play--plain { background: radial-gradient(120% 90% at 20% 10%, #1f5a46 0%, #0f1b22 70%); }
.video__note { position: absolute; left: 14px; right: 14px; bottom: 12px; color: rgba(255,255,255,.82); font-size: .78rem; line-height: 1.35; text-align: left; pointer-events: none; }
/* Crawlable "read more" links under homepage sections and inside pillar cards */
.section__more { display: flex; flex-wrap: wrap; gap: 14px 28px; margin-top: 24px; }
.pillar__link { display: table; margin-top: 16px; font-size: .92rem; }
/* Portrait (phone) videos: dark frame, video centred and fully visible */
.video__frame--vertical video { object-fit: contain; background: #0f1b22; }
/* Print-only press mention: a citation, not a link */
.mention--print .mention__link { padding-right: 24px; cursor: default; }
.mention--print .mention__link:hover { border-color: var(--line); transform: none; }
/* Quote translation and source credit (post body and detail panels) */
.post__body blockquote p.quote__translation, .detail__quote p.quote__translation { margin-top: 10px; font: 400 1rem/1.5 var(--sans); font-style: normal; color: var(--muted, #5b6b66); }
.post__body blockquote footer, .detail__quote footer { margin-top: 12px; font: 600 .85rem/1.4 var(--sans); color: var(--muted, #5b6b66); }
.post__body blockquote footer::before, .detail__quote footer::before { content: "— "; }
.post__body blockquote cite, .detail__quote cite { font-style: normal; }
.post__body blockquote cite a, .detail__quote cite a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
/* Story page: header with cover photo (text left, full portrait photo right; stacked on phones) */
.page-hero--cover .page-hero__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.page-hero__photo { margin: 0; position: relative; }
.page-hero__photo img { display: block; width: 100%; height: auto; max-height: 78vh; object-fit: cover; object-position: 50% 40%; border-radius: 22px; box-shadow: 0 30px 80px rgba(0,0,0,.45); }
.page-hero__photo figcaption { margin-top: 10px; font-size: .82rem; color: var(--on-night-soft); text-align: right; }
@media (max-width: 860px) {
  .page-hero--cover .page-hero__grid { grid-template-columns: 1fr; }
  .page-hero__photo img { max-height: 70vh; }
}
@media print { .page-hero__photo { display: none; } }
/* Story page: photo header (same trio as home) */
.photo-hero--story .photo-hero__title em { color: var(--mint); font-style: italic; }
.photo-hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 22px 0 0; }
.photo-hero__actions .photo-hero__cta { margin-top: 0; }

/* Photos inside story chapters */
.chapter__figure { margin: 28px 0 8px; }
.chapter__figure img { display: block; width: 100%; height: auto; max-height: 560px; object-fit: cover; border-radius: 16px; box-shadow: 0 18px 48px rgba(7, 20, 15, .16); }
.chapter__figure figcaption { margin-top: 10px; font-size: .86rem; color: var(--ink-soft); }
.chapter__figures { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 28px 0 18px; }
.chapter__figures .chapter__figure { margin: 0; }
.chapter__figures .chapter__figure img { aspect-ratio: 4 / 3; max-height: none; }
@media (max-width: 620px) { .chapter__figures { grid-template-columns: 1fr; } }/* Story header: text at the top so the people at the bottom of the Cologne photo stay visible */
.photo-hero--story { align-items: flex-start; }
.photo-hero--story .photo-hero__content { padding-top: clamp(104px, 16vh, 160px); padding-bottom: 0; }
.photo-hero--story .photo-hero__shade { background: linear-gradient(180deg, rgba(5,12,16,.82) 0%, rgba(5,12,16,.55) 38%, rgba(5,12,16,.08) 62%, rgba(5,12,16,.25) 100%); }
/* Brand mark: Hillary's round photo logo instead of the "HA" letters */
.brand__mark--photo { display: block; padding: 0; object-fit: cover; background: none !important; box-shadow: 0 0 0 2px rgba(255,255,255,.85); }
.nav.is-scrolled .brand__mark--photo { box-shadow: 0 0 0 2px var(--green-soft, #cfe9db); }
/* Press kit portrait: natural proportions (never stretched), sharp on high-resolution screens */
.presskit__photo img { display: block; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; border-radius: 22px; }
.presskit__photo-note { margin: 8px 0 0; font-size: .78rem; color: var(--ink-soft); text-align: center; }