:root {
  --ink: #17211d;
  --paper: #f7f8f3;
  --white: #fff;
  --line: #cfd6ce;
  --muted: #657069;
  --lime: #d8ff65;
  --lime-strong: #bcf431;
  --blue: #c8e7ff;
  --coral: #ffb8a8;
  --yellow: #ffe994;
  --max: 1240px;
  --radius: 28px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
.skip-link { position: fixed; left: 16px; top: -80px; background: var(--ink); color: white; padding: 10px 16px; z-index: 99; border-radius: 10px; }
.skip-link:focus { top: 16px; }

.site-header {
  position: fixed;
  z-index: 50;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: min(calc(100% - 40px), var(--max));
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 11px 12px 11px 16px;
  border: 1px solid rgba(23,33,29,.14);
  border-radius: 100px;
  background: rgba(247,248,243,.87);
  backdrop-filter: blur(18px);
  transition: transform .35s ease, top .35s ease, box-shadow .35s ease;
}
.site-header.compact { top: 10px; box-shadow: 0 12px 35px rgba(20,30,26,.08); }
.site-header.header-hidden { transform: translate(-50%, -130%); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: 'Manrope', sans-serif; font-weight: 700; }
.brand-mark { width: 38px; height: 38px; display: grid; place-items: center; background: var(--ink); color: var(--lime); border-radius: 50%; font-size: 13px; letter-spacing: -.04em; }
.site-header nav { display: flex; gap: 4px; }
.site-header nav a { padding: 9px 14px; border-radius: 100px; font-weight: 600; font-size: 14px; }
.site-header nav a:hover, .site-header nav a:focus-visible { background: white; }
.header-cta { justify-self: end; background: var(--lime); padding: 10px 17px; border-radius: 100px; font-size: 14px; font-weight: 700; }
.header-cta:hover { background: var(--lime-strong); }

.hero {
  min-height: 790px;
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto;
  padding: 178px 0 104px;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 70px;
  align-items: center;
}
.eyebrow, .section-number, .mini-label { font-family: 'Manrope', sans-serif; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; font-size: 12px; }
.eyebrow { display: flex; align-items: center; gap: 9px; margin: 0 0 26px; }
.pulse { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: #73bb28; box-shadow: 0 0 0 6px rgba(115,187,40,.14); animation: pulse 2.2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 10px rgba(115,187,40,0); } }
h1, h2, h3 { font-family: 'Manrope', sans-serif; letter-spacing: -.045em; line-height: 1.04; }
h1 { font-size: clamp(52px, 6.8vw, 94px); margin: 0; max-width: 800px; }
h1 em { font-style: normal; position: relative; display: inline-block; }
h1 em::after { content: ''; position: absolute; z-index: -1; left: -2%; bottom: 3%; width: 104%; height: 24%; background: var(--lime); border-radius: 50%; transform: rotate(-1deg); }
.hero-lede { font-size: clamp(18px, 1.6vw, 22px); line-height: 1.55; color: #4b5650; max-width: 720px; margin: 30px 0 34px; }
.hero-lede strong { color: var(--ink); }
.hero-actions { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 16px; padding: 15px 20px; border-radius: 100px; font-weight: 700; transition: transform .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-dark { background: var(--ink); color: white; }
.button-dark:hover { background: #2a3731; }
.text-link, .github-link { font-weight: 700; border-bottom: 1px solid currentColor; padding-bottom: 2px; }

.hero-orbit { position: relative; aspect-ratio: 1; max-width: 510px; justify-self: end; width: 100%; }
.orbit { position: absolute; border: 1px solid #b7c0b8; border-radius: 50%; inset: 8%; animation: rotate 24s linear infinite; }
.orbit::after { content: ''; position: absolute; width: 14px; height: 14px; border-radius: 50%; background: var(--coral); top: 7%; left: 24%; box-shadow: 0 0 0 7px var(--paper); }
.orbit-b { inset: 22%; animation-direction: reverse; animation-duration: 18s; border-style: dashed; }
.orbit-b::after { background: var(--blue); top: auto; left: auto; right: 3%; bottom: 20%; }
@keyframes rotate { to { transform: rotate(360deg); } }
.orbit-core { position: absolute; inset: 31%; background: var(--ink); color: white; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; border-radius: 42% 58% 47% 53% / 53% 42% 58% 47%; animation: morph 8s ease-in-out infinite; }
@keyframes morph { 50% { border-radius: 57% 43% 59% 41% / 41% 57% 43% 59%; transform: rotate(3deg); } }
.orbit-core strong { font-family: 'Manrope'; font-size: clamp(20px, 2.4vw, 34px); line-height: 1.05; }
.core-small { font-size: 9px; letter-spacing: .15em; color: var(--lime); margin-bottom: 10px; }
.core-arrow { position: absolute; bottom: 15%; font-size: 20px; color: var(--lime); }
.orbit-label { position: absolute; font-weight: 700; font-size: 14px; background: white; border: 1px solid var(--line); border-radius: 100px; padding: 9px 14px; box-shadow: 0 12px 30px rgba(20,30,26,.08); animation: float 4s ease-in-out infinite; }
.label-one { left: 2%; top: 16%; }
.label-two { right: -2%; top: 27%; animation-delay: -.8s; }
.label-three { right: 3%; bottom: 20%; animation-delay: -1.6s; }
.label-four { left: -1%; bottom: 15%; animation-delay: -2.4s; }
@keyframes float { 50% { transform: translateY(-9px); } }

.marquee { overflow: hidden; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); background: var(--lime); transform: rotate(-1deg) scale(1.02); }
.marquee-track { display: flex; align-items: center; width: max-content; gap: 25px; padding: 13px 0; animation: scroll 34s linear infinite; font-family: 'Manrope'; font-size: 15px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.marquee-track i { font-style: normal; }
@keyframes scroll { to { transform: translateX(-50%); } }

.section { width: min(calc(100% - 48px), var(--max)); margin: 0 auto; padding: 130px 0; }
.section-number { color: var(--muted); margin: 0 0 17px; }
.section-intro { display: grid; grid-template-columns: .4fr 1fr .8fr; gap: 40px; align-items: end; margin-bottom: 54px; }
.section-intro .section-number { align-self: start; }
h2 { font-size: clamp(44px, 5vw, 70px); margin: 0; }
.section-intro > p:last-child, .journey-heading > p, .thoughts-heading > p { margin: 0; color: var(--muted); font-size: 18px; line-height: 1.55; }

.now-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.now-card { position: relative; min-height: 440px; border: 1px solid var(--ink); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; transition: transform .3s ease, box-shadow .3s ease; overflow: hidden; }
.now-card:hover { transform: translateY(-7px) rotate(-.4deg); box-shadow: 10px 12px 0 var(--ink); }
.now-card::after { content: ''; position: absolute; width: 160px; height: 160px; right: -55px; top: -55px; border: 1px solid rgba(23,33,29,.25); border-radius: 50%; }
.now-card.lime { background: var(--lime); }
.now-card.blue { background: var(--blue); }
.now-card.coral { background: var(--coral); }
.card-index { font-family: 'Manrope'; font-size: 12px; font-weight: 700; }
.card-icon { width: 68px; height: 68px; border: 1px solid var(--ink); border-radius: 50%; display: grid; place-items: center; font-size: 30px; margin: 60px 0 28px; background: rgba(255,255,255,.4); }
.now-card h3 { font-size: 31px; margin: 0 0 16px; }
.now-card p { margin: 0; line-height: 1.55; }
.tag-row { display: flex; flex-wrap: wrap; gap: 7px; margin-top: auto; padding-top: 28px; }
.tag-row span { border: 1px solid rgba(23,33,29,.45); border-radius: 100px; padding: 5px 10px; font-size: 12px; font-weight: 600; }

.journey { width: 100%; max-width: none; padding-left: max(24px, calc((100vw - var(--max))/2)); padding-right: max(24px, calc((100vw - var(--max))/2)); background: var(--ink); color: white; }
.journey-heading, .thoughts-heading { display: grid; grid-template-columns: 1.4fr .6fr; gap: 80px; align-items: end; margin-bottom: 60px; }
.journey .section-number, .journey-heading > p { color: #aeb9b2; }
.role-ribbon { background: var(--lime); color: var(--ink); border-radius: var(--radius); padding: 24px; margin-bottom: 36px; overflow: hidden; }
.role-ribbon p { margin: 0 0 17px; }
.role-path { display: flex; align-items: center; gap: 10px; overflow-x: auto; padding-bottom: 8px; scrollbar-color: var(--ink) transparent; }
.role-path span { flex: 0 0 auto; border: 1px solid rgba(23,33,29,.35); background: rgba(255,255,255,.3); border-radius: 100px; padding: 7px 11px; font-size: 12px; font-weight: 700; }
.role-path .current-role { background: var(--ink); color: white; }
.role-path b { font-weight: 400; }
.year-jumps { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; border-top: 1px solid #415049; border-bottom: 1px solid #415049; padding: 18px 0; margin-bottom: 40px; }
.year-jumps span { margin-right: 12px; color: #aeb9b2; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; }
.year-jumps button { background: transparent; color: white; border: 1px solid #59655f; border-radius: 100px; padding: 7px 13px; cursor: pointer; font: inherit; font-size: 13px; }
.year-jumps button:hover, .year-jumps button:focus-visible { background: var(--lime); color: var(--ink); border-color: var(--lime); }
.timeline { position: relative; }
.timeline::before { content: ''; position: absolute; left: 168px; top: 0; bottom: 0; width: 1px; background: #45534c; }
.timeline-item { display: grid; grid-template-columns: 140px 56px 1fr; min-height: 300px; padding: 45px 0; scroll-margin-top: 100px; }
.timeline-year { font-family: 'Manrope'; font-weight: 700; font-size: 32px; }
.timeline-dot { width: 15px; height: 15px; border: 4px solid var(--ink); border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 1px #78837d; margin: 11px auto 0; z-index: 1; }
.event-item .timeline-dot { background: var(--coral); }
.timeline-content { max-width: 750px; border-bottom: 1px solid #3c4943; padding-bottom: 45px; }
.mini-label { color: var(--lime); margin: 0 0 12px; }
.event-item .mini-label { color: var(--coral); }
.timeline-content h3 { font-size: clamp(30px, 3.4vw, 48px); margin: 0 0 18px; }
.timeline-content > p:not(.mini-label) { color: #bac4be; font-size: 18px; max-width: 700px; }
.timeline-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.timeline-tags span { border: 1px solid #56635d; border-radius: 100px; padding: 6px 11px; font-size: 12px; }

.skills-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.skill-card { min-height: 360px; border: 1px solid var(--ink); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; background: white; }
.skill-card.wide { grid-column: span 2; min-height: 300px; }
.skill-card.dark { background: var(--ink); color: white; }
.skill-card.outline { background: var(--yellow); }
.skill-no { font-family: 'Manrope'; font-size: 12px; font-weight: 700; color: var(--muted); }
.skill-card.dark .skill-no { color: #aeb9b2; }
.skill-card h3 { font-size: clamp(30px, 3.3vw, 48px); margin: 54px 0 16px; }
.skill-card.wide h3 { margin-top: 36px; }
.skill-card p { max-width: 650px; color: var(--muted); font-size: 17px; }
.skill-card.dark p { color: #b9c3bd; }
.skill-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 25px; }
.skill-list span { border: 1px solid var(--line); padding: 7px 11px; border-radius: 100px; font-size: 13px; font-weight: 600; }
.dark .skill-list span { border-color: #526058; }
.market-strip { margin-top: 18px; border: 1px solid var(--ink); border-radius: var(--radius); padding: 27px; display: flex; align-items: center; justify-content: space-around; gap: 20px; background: var(--blue); }
.market-strip span { font-size: 11px; font-weight: 700; letter-spacing: .1em; }
.market-strip strong { font-family: 'Manrope'; font-size: clamp(20px, 2.4vw, 34px); }

.thoughts { border-top: 1px solid var(--line); }
.article-grid { display: grid; grid-template-columns: 1.35fr .65fr; gap: 18px; }
.article-card { min-height: 440px; border: 1px solid var(--ink); border-radius: var(--radius); padding: 30px; display: flex; flex-direction: column; background: white; transition: transform .3s ease, box-shadow .3s ease; }
.article-card:hover { transform: translateY(-6px); box-shadow: 9px 10px 0 var(--ink); }
.article-featured { background: var(--lime); }
.article-meta { display: flex; justify-content: space-between; gap: 15px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.article-card h3 { font-size: clamp(30px, 3.6vw, 52px); margin: 75px 0 20px; }
.article-card:not(.article-featured) h3 { font-size: clamp(28px, 2.7vw, 39px); }
.article-card p { color: #4e5953; font-size: 17px; }
.read-link { margin-top: auto; display: flex; justify-content: space-between; align-items: center; font-weight: 700; padding-top: 25px; border-top: 1px solid rgba(23,33,29,.25); }
.read-link b { font-size: 22px; }

.contact { padding-top: 40px; }
.contact-card { position: relative; overflow: hidden; background: var(--ink); color: white; border-radius: 40px; padding: clamp(38px, 7vw, 90px); }
.contact-card::after { content: 'MH'; position: absolute; right: -10px; bottom: -100px; font-family: 'Manrope'; font-size: min(29vw, 380px); font-weight: 800; color: rgba(255,255,255,.035); letter-spacing: -.1em; pointer-events: none; }
.contact-card .eyebrow { color: var(--lime); }
.contact-card h2 { max-width: 800px; }
.contact-card > p:not(.eyebrow) { max-width: 650px; color: #bcc6c0; font-size: 19px; margin: 25px 0 36px; }
.contact-actions { display: flex; align-items: center; gap: 25px; flex-wrap: wrap; }
.button-light { background: var(--lime); color: var(--ink); }
.button-light:hover { background: white; }
.hummus-note { display: block; margin-top: 62px; color: #829087; font-size: 13px; font-style: italic; }

footer { width: min(calc(100% - 48px), var(--max)); margin: 0 auto; padding: 0 0 45px; display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: end; gap: 30px; color: var(--muted); font-size: 13px; }
footer p { margin: 0; }
.footer-end { text-align: right; }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s cubic-bezier(.22,1,.36,1); }
.reveal.visible { opacity: 1; transform: none; }

/* Multi-page structure */
.site-header nav a.active { background: var(--ink); color: white; }
.header-cta.active { box-shadow: inset 0 0 0 2px var(--ink); }
.page-hero { width: min(calc(100% - 48px), var(--max)); min-height: 610px; margin: 0 auto; padding: 180px 0 80px; display: grid; grid-template-columns: .34fr 1.1fr .65fr; gap: 42px; align-items: end; }
.page-hero .section-number { align-self: start; margin-top: 18px; }
.page-hero h1 { font-size: clamp(55px, 7.3vw, 104px); }
.page-hero h1 em, .journey-hero h1 em, .contact-card h1 em { font-style: normal; color: transparent; -webkit-text-stroke: 1.5px var(--ink); }
.page-lede { color: var(--muted); font-size: 19px; margin: 0 0 8px; }
.page-section { padding-top: 45px; }
.page-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.page-card { min-height: 330px; padding: 28px; border: 1px solid var(--ink); border-radius: var(--radius); display: flex; flex-direction: column; transition: transform .3s ease, box-shadow .3s ease; }
.page-card:hover { transform: translateY(-7px) rotate(-.3deg); box-shadow: 10px 12px 0 var(--ink); }
.page-card.lime { background: var(--lime); }.page-card.blue { background: var(--blue); }.page-card.coral { background: var(--coral); }.page-card.dark { background: var(--ink); color: white; }
.page-card > span { font: 700 12px Manrope; }.page-card h3 { font-size: clamp(44px, 5vw, 68px); margin: 55px 0 14px; }.page-card p { max-width: 390px; margin: 0; }.page-card b { margin-top: auto; font-size: 14px; }
.next-page { width: min(calc(100% - 48px), var(--max)); margin: 10px auto 120px; min-height: 170px; padding: 28px 34px; border: 1px solid var(--ink); border-radius: var(--radius); background: var(--lime); display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 25px; transition: transform .25s ease, box-shadow .25s ease; }
.next-page:hover { transform: translateY(-5px); box-shadow: 9px 10px 0 var(--ink); }.next-page span { text-transform: uppercase; letter-spacing: .08em; font-size: 12px; font-weight: 700; }.next-page strong { font: 700 clamp(30px, 4vw, 55px) Manrope; }.next-page b { font-size: 40px; }

/* Dedicated journey page */
.journey-page { background: var(--ink); color: white; }.journey-page .site-header { background: rgba(23,33,29,.87); border-color: rgba(255,255,255,.2); }.journey-page .brand-mark { background: var(--lime); color: var(--ink); }.journey-page .site-header nav a:hover { background: rgba(255,255,255,.1); }.journey-page .site-header nav a.active { background: white; color: var(--ink); }
.journey-hero { width: min(calc(100% - 48px), var(--max)); min-height: 720px; margin: 0 auto; padding: 190px 0 95px; display: grid; grid-template-columns: 1.25fr .55fr; align-items: end; gap: 80px; }
.journey-hero .section-number { color: #aeb9b2; }.journey-hero h1 { font-size: clamp(62px, 9vw, 126px); margin: 0; }.journey-hero h1 em { -webkit-text-stroke-color: var(--lime); }
.journey-intro p { color: #bdc7c1; font-size: 20px; }.journey-intro span { display: inline-block; margin-top: 32px; color: var(--lime); font-weight: 700; }
.journey-stage { width: min(calc(100% - 48px), var(--max)); margin: 0 auto; padding-bottom: 50px; }.journey-stage .role-ribbon { position: relative; z-index: 3; }
.timeline-wrap { position: relative; }.timeline-progress { position: absolute; left: 168px; top: 0; bottom: 0; width: 3px; background: #3f4c46; overflow: hidden; }.timeline-progress span { display: block; width: 100%; height: var(--progress,0%); background: linear-gradient(var(--lime),var(--coral)); transition: height .12s linear; }
.walker { position: absolute; z-index: 4; left: 147px; top: var(--walker,0%); transform: translateY(-50%); width: 43px; height: 43px; display: grid; place-items: center; border-radius: 50%; background: var(--lime); color: var(--ink); font-size: 22px; box-shadow: 0 0 0 7px var(--ink),0 0 0 8px #66736c; transition: top .12s linear; }
.journey-page .timeline::before { display: none; }.journey-page .timeline-item { min-height: 430px; padding: 80px 0; }.journey-page .timeline-year { position: sticky; top: 105px; align-self: start; font-size: 34px; }.journey-page .timeline-dot { opacity: 0; }.journey-page .timeline-content { max-width: 850px; transform-origin: left center; transition: opacity .8s ease, transform .8s cubic-bezier(.22,1,.36,1); }.journey-page .timeline-content h2 { font-size: clamp(38px, 5vw, 68px); }.journey-page .timeline-content > p:not(.mini-label) { color: #bcc6c0; font-size: 19px; max-width: 730px; }.journey-page .timeline-item.visible .timeline-content { animation: chapterIn .8s both; }@keyframes chapterIn { from { opacity:.2; transform: translateX(35px) scale(.98); } }
.journey-end { text-align: center; padding: 120px 20px 150px; }.journey-end > span { color: var(--lime); font-size: 48px; }.journey-end h2 { margin: 20px 0; }.journey-end p { color: #aeb9b2; }.dark-next { background: var(--lime); color: var(--ink); }.journey-page footer { color: #aeb9b2; }
.contact-page { width: min(calc(100% - 48px), var(--max)); margin: 0 auto; padding: 155px 0 70px; }.contact-page .contact-card { min-height: 650px; display: flex; flex-direction: column; justify-content: center; }.contact-card h1 { font-size: clamp(58px, 9vw, 120px); margin: 0; }.contact-card h1 em { -webkit-text-stroke-color: var(--lime); }.contact-page .contact-card > p:not(.eyebrow) { font-size: 21px; }

/* Article pages */
.article-page { background: #fbfcf8; }
.article-page .site-header { position: absolute; }
.article-shell { width: min(calc(100% - 48px), 900px); margin: 0 auto; padding: 165px 0 100px; }
.back-link { display: inline-flex; gap: 10px; align-items: center; font-weight: 700; margin-bottom: 55px; }
.article-label { display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid var(--ink); padding-top: 15px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.article-shell h1 { font-size: clamp(47px, 7vw, 82px); margin: 36px 0 28px; }
.article-deck { font-size: 22px; color: var(--muted); max-width: 790px; line-height: 1.5; }
.draft-note { background: var(--yellow); border: 1px solid var(--ink); border-radius: 16px; padding: 15px 18px; margin: 35px 0 60px; font-size: 14px; }
.article-body { max-width: 720px; margin: 0 auto; }
.article-body p { font-size: 19px; line-height: 1.78; margin: 0 0 26px; }
.article-body h2 { font-size: 38px; margin: 60px 0 20px; }
.article-body blockquote { margin: 45px -65px; padding: 28px 34px; background: var(--lime); border: 1px solid var(--ink); border-radius: 22px; font-family: 'Manrope'; font-weight: 700; font-size: 27px; line-height: 1.35; }
.article-footer { border-top: 1px solid var(--line); margin-top: 70px; padding-top: 25px; display: flex; justify-content: space-between; gap: 30px; }

@media (max-width: 900px) {
  .site-header { grid-template-columns: 1fr auto; }
  .site-header nav { display: none; }
  .brand-name { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 145px; gap: 30px; }
  .hero-orbit { max-width: 450px; justify-self: center; }
  .section-intro { grid-template-columns: 1fr; gap: 15px; }
  .now-grid { grid-template-columns: 1fr; }
  .now-card { min-height: 360px; }
  .journey-heading, .thoughts-heading { grid-template-columns: 1fr; gap: 25px; }
  .article-grid { grid-template-columns: 1fr; }
  .article-card { min-height: 380px; }
  .page-hero { grid-template-columns: 1fr; gap: 18px; min-height: auto; padding-top: 150px; }.page-hero .section-number { margin: 0; }.page-lede { max-width: 650px; }.journey-hero { grid-template-columns: 1fr; gap: 35px; min-height: 680px; }.page-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .site-header { width: calc(100% - 24px); top: 10px; }
  .hero, .section, footer { width: calc(100% - 32px); }
  .hero { min-height: auto; padding: 125px 0 75px; }
  .hero-orbit { width: 94%; }
  .orbit-label { font-size: 11px; padding: 6px 9px; }
  .section { padding: 90px 0; }
  .journey { width: 100%; padding-left: 16px; padding-right: 16px; }
  .timeline::before { left: 14px; }
  .timeline-item { grid-template-columns: 32px 1fr; min-height: 0; padding: 38px 0; }
  .timeline-year { grid-column: 2; font-size: 24px; margin-bottom: 10px; }
  .timeline-dot { grid-column: 1; grid-row: 1 / 3; margin-top: 8px; }
  .timeline-content { grid-column: 2; }
  .timeline-content h3 { font-size: 32px; }
  .skills-grid { grid-template-columns: 1fr; }
  .skill-card.wide { grid-column: auto; }
  .market-strip { flex-wrap: wrap; justify-content: center; }
  .market-strip span { width: 100%; text-align: center; }
  .market-strip i { display: none; }
  footer { grid-template-columns: 1fr; }
  .footer-end { text-align: left; }
  .article-shell { width: calc(100% - 32px); padding-top: 130px; }
  .article-body blockquote { margin: 38px 0; }
  .page-hero,.journey-hero,.journey-stage,.contact-page { width: calc(100% - 32px); }.page-hero { padding: 125px 0 45px; }.page-hero h1 { font-size: 50px; }.journey-hero { padding: 140px 0 65px; min-height: 620px; }.journey-hero h1 { font-size: 58px; }.next-page { width: calc(100% - 32px); grid-template-columns: 1fr auto; }.next-page span { grid-column: 1 / -1; }.next-page strong { font-size: 31px; }
  .journey-page .timeline-progress { left: 15px; }.walker { left: -5px; width: 40px; height: 40px; }.journey-page .timeline-item { grid-template-columns: 34px 1fr; padding: 60px 0; min-height: 430px; }.journey-page .timeline-year { position: static; grid-column: 2; }.journey-page .timeline-dot { display: none; }.journey-page .timeline-content { grid-column: 2; }.journey-page .timeline-content h2 { font-size: 37px; }.role-ribbon { border-radius: 20px; }.contact-page { padding-top: 120px; }.contact-page .contact-card { min-height: 600px; border-radius: 28px; }.contact-card h1 { font-size: 53px; }
}

/* Chapter navigation: a floating, always-available index. */
.site-header.chapter-header, .article-page .site-header.chapter-header {
  position: fixed; display: flex; justify-content: space-between; gap: 24px;
  padding: 12px 14px 12px 18px; border: 1.5px solid var(--ink);
  border-radius: 24px; background: var(--paper); color: var(--ink);
  box-shadow: 0 5px 0 var(--ink); top: 18px;
}
.chapter-header .brand { flex-shrink: 0; }
.chapter-header .brand-mark { background: var(--ink); color: var(--lime); border-radius: 13px; transform: rotate(-7deg); transition: transform .25s; }
.chapter-header .brand:hover .brand-mark { transform: rotate(7deg); }
.chapter-header .brand-name { display: inline; }
.site-header.chapter-header nav { display: flex; gap: 4px; }
.site-header.chapter-header nav[hidden] { display: none; }
.site-header.chapter-header nav a {
  display: flex; align-items: center; gap: 7px; padding: 11px 12px;
  border: 1px solid transparent; border-radius: 14px; font-size: 14px;
  color: var(--ink); transition: background .2s, transform .2s, box-shadow .2s;
}
.nav-number { font-size: 12px; font-weight: 500; opacity: .65; font-variant-numeric: tabular-nums; }
.site-header.chapter-header nav a:hover { background: var(--blue); transform: translateY(-2px); }
.site-header.chapter-header nav a[aria-current="page"] { background: var(--lime); border-color: var(--ink); box-shadow: 0 3px 0 var(--ink); }
.chapter-header a:focus-visible, .chapter-header button:focus-visible { outline: 3px solid #3982be; outline-offset: 4px; }
.chapter-header .menu-toggle { display: none; }
.journey-page .site-header.chapter-header { border-color: #738278; box-shadow: 0 5px 0 var(--lime); }
@media (max-width: 1050px) {
  .site-header.chapter-header { flex-wrap: wrap; gap: 12px; width: calc(100% - 28px); top: 12px; border-radius: 22px; padding: 10px 12px; }
  .chapter-header .brand-name { font-size: 14px; }
  .chapter-header.menu-ready .menu-toggle { display: inline-flex; align-items: center; gap: 12px; padding: 10px 14px; min-height: 44px; background: var(--lime); border: 1px solid var(--ink); border-radius: 13px; font: 700 14px 'DM Sans', sans-serif; color: var(--ink); cursor: pointer; }
  .menu-glyph { display: grid; gap: 5px; width: 18px; }
  .menu-glyph i { height: 2px; width: 18px; background: currentColor; transition: transform .2s; }
  .menu-open .menu-glyph i:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-open .menu-glyph i:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .site-header.chapter-header nav { width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 9px; padding: 14px 0 4px; border-top: 1px solid var(--line); max-height: calc(100dvh - 115px); overflow-y: auto; }
  .site-header.chapter-header nav a { min-height: 62px; border-color: var(--line); background: white; font-size: 16px; gap: 12px; padding: 15px; }
  .chapter-header.menu-open nav { animation: menuIn .22s ease-out; }
  .chapter-header:not(.menu-ready) { position: relative; left: auto; transform: none; margin: 12px auto; }
}
@media (max-width: 360px) {
  .chapter-header .brand-name { display: none; }
}
@keyframes menuIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
