/* Tour of Julia — layout: a Tour-style route map up top, then flat sections.
   Deliberately a single light look (yellow, ink, paper), like the race's own site. */
:root {
  --yellow: #FFE11A;
  --ink: #111111;
  --paper: #FFFFFF;
  --grey: #F4F3EF;
  --rule: #DCDAD6;
  --muted: #5F5E5A;
  --green: #00A054;
  --display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --body: 'Barlow', 'Helvetica Neue', Arial, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, Menlo, monospace;
  --gutter: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.5 var(--body); }
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 20; background: var(--yellow); padding: 8px 12px; }

.wrap { max-width: 1440px; margin: 0 auto; padding-left: max(var(--gutter), 5vw); padding-right: max(var(--gutter-r), 5vw); }
@media (min-width: 1300px) { .wrap { padding-left: 120px; padding-right: 120px; } }
.section { padding-block: 32px 48px; }
.band { padding-block: 56px; }
.band-grey { background: var(--grey); }
.band-yellow { background: var(--yellow); }

/* type */
.section-title, .big-title, .hl, .role-title, .card-name, .card-dark-org, .card-cv, .about-lead, .hl-head h3, .ov-card h3 {
  font-family: var(--display); font-style: italic; font-weight: 800; text-transform: uppercase; line-height: 1; margin: 0; text-wrap: balance;
}
.section-title { font-size: 30px; padding-bottom: 6px; box-shadow: inset 0 -6px 0 0 var(--paper), 0 6px 0 -0px transparent; position: relative; }
.section-title::after { content: ""; position: absolute; left: 0; bottom: -6px; width: 60px; height: 6px; background: var(--yellow); }
.heading-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-bottom: 22px; }
.heading-note { margin: 0; color: var(--muted); }
.big-title { font-size: clamp(36px, 6vw, 48px); margin-bottom: 20px; }
.eyebrow { font: 600 13px/1.2 var(--display); text-transform: uppercase; letter-spacing: .08em; margin: 0; }
.mono { font: 500 12px/1.5 var(--mono); color: var(--muted); margin: 0; }
.lede { font-size: 17px; color: var(--muted); margin: 0 0 20px; max-width: 65ch; }
.kind { display: inline-flex; align-items: center; gap: 8px; font: 600 15px/1 var(--display); text-transform: uppercase; letter-spacing: .04em; }
.jersey { flex: none; display: inline-block; vertical-align: middle; }
.tag, .tag-current { display: inline-block; font: 700 12px/1 var(--display); text-transform: uppercase; letter-spacing: .08em; padding: 5px 8px; background: var(--yellow); color: var(--ink); }
.tag-current { background: var(--ink); color: var(--yellow); vertical-align: middle; }
.tag-on-dark { background: var(--yellow); color: var(--ink); align-self: flex-start; }
.tag-outline { background: transparent; color: var(--yellow); box-shadow: inset 0 0 0 1.5px var(--yellow); }

/* nav */
.nav { border-bottom: 1px solid var(--rule); background: var(--paper); }
.nav-inner { max-width: 1440px; margin: 0 auto; padding: 14px max(var(--gutter-r), 5vw) 14px max(var(--gutter), 5vw); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; }
@media (min-width: 1300px) { .nav-inner { padding-inline: 120px; } }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a { font: 700 15px/1 var(--display); text-transform: uppercase; letter-spacing: .06em; text-decoration: none; }
@media (hover: hover) { .nav-links a:hover { text-decoration: underline; text-decoration-thickness: 3px; text-decoration-color: var(--yellow); text-underline-offset: 5px; } }
.nav-right { justify-content: flex-end; }
.btn-outline { border: 2px solid var(--ink); padding: 7px 12px; }
.logo { display: flex; flex-direction: column; align-items: center; text-decoration: none; line-height: 1; }
.logo-small { font: italic 600 16px var(--display); }
.logo-big { font: italic 800 40px/0.9 var(--display); text-transform: uppercase; }
.logo-tag { font: 500 10px var(--mono); background: var(--yellow); padding: 2px 8px; margin-top: 2px; }
.menu-btn { display: none; justify-self: end; width: 44px; height: 44px; padding: 0; background: none; border: 0; color: var(--ink); cursor: pointer; }
.bars { position: relative; display: block; width: 26px; height: 18px; margin: 0 auto; }
.bars span { position: absolute; left: 0; width: 100%; height: 3px; background: currentColor; transition: transform .2s, opacity .2s, top .2s; }
.bars span:nth-child(1) { top: 0; } .bars span:nth-child(2) { top: 7.5px; } .bars span:nth-child(3) { top: 15px; }
.menu-btn[aria-expanded="true"] .bars span:nth-child(1) { top: 7.5px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] .bars span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] .bars span:nth-child(3) { top: 7.5px; transform: rotate(-45deg); }
.back-btn { display: none; font: 700 15px var(--display); text-transform: uppercase; letter-spacing: .06em; text-decoration: none; justify-self: start; padding: 10px 0; }
.back-btn span { font-size: 20px; line-height: 0; }
.mobile-menu[hidden] { display: none; }
.mobile-menu { display: flex; flex-direction: column; border-top: 1px solid var(--rule); padding: 8px max(var(--gutter-r), 16px) 16px max(var(--gutter), 16px); }
.mobile-menu a { font: italic 800 26px/1.5 var(--display); text-transform: uppercase; text-decoration: none; }
@media (max-width: 900px) {
  .nav { position: sticky; top: 0; z-index: 50; }
  .nav-inner { grid-template-columns: auto 1fr; padding-block: 8px; }
  .nav-sub .nav-inner { grid-template-columns: 1fr auto 1fr; }
  .nav-links { display: none; }
  .logo { align-items: flex-start; }
  .nav-sub .logo { align-items: center; }
  .logo-big { font-size: 32px; }
  .nav .wm-small { font-size: 14px; }
  .nav .wm-big { font-size: 34px; }
  .menu-btn, .back-btn { display: block; }
  [id] { scroll-margin-top: 84px; }
}

/* hero */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; padding-block: 40px 48px; }
.title-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-bottom: 12px; }
.hl { font-size: clamp(36px, 6vw, 46px); background: var(--yellow); padding: 4px 10px 2px; }
.title-sub { margin: 0; font: italic 600 20px var(--display); text-transform: uppercase; }
.map { width: 100%; height: auto; display: block; }
.map .mk { cursor: pointer; }
@media (hover: hover) { .map .mk:hover circle, .map .mk:focus-visible circle { fill: #333; } }
.map .mk:focus-visible { outline: none; }
.map .mk:focus-visible circle { stroke: var(--yellow); stroke-width: 4; }
.mk-num { font-family: var(--display); font-weight: 700; }
.map-label { font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; fill: var(--ink); paint-order: stroke; stroke: rgba(255,255,255,.85); stroke-width: 3px; stroke-linejoin: round; }
.map-faint { fill: #7A7870; font-style: italic; font-weight: 600; stroke: none; }
.map-current { fill: var(--ink); stroke: var(--yellow); stroke-width: 4px; }
.map-tag { fill: var(--yellow); stroke: none; }
.map-mobile { display: none; }
.offmap { border: 1.5px solid var(--ink); margin-top: 16px; }
.offmap-title { background: var(--ink); color: var(--yellow); font: 700 13px var(--display); text-transform: uppercase; letter-spacing: .08em; padding: 6px 12px; display: inline-block; }
.offmap ul { list-style: none; margin: 0; padding: 0; }
.offmap a { display: flex; align-items: center; gap: 12px; padding: 8px 12px; text-decoration: none; }
.offmap-text { display: flex; flex-direction: column; line-height: 1.25; }
@media (hover: hover) { .offmap a:hover { background: var(--grey); } }
.offmap-place { font: 700 15px var(--display); text-transform: uppercase; letter-spacing: .04em; }
.offmap-org { color: var(--muted); font-size: 14px; }
.edu-dot { width: 22px; height: 22px; border-radius: 50%; background: var(--ink); box-shadow: inset 0 0 0 6px var(--ink), inset 0 0 0 11px var(--paper); flex: none; }

.sidebar { display: flex; flex-direction: column; gap: 20px; }
.card { display: flex; flex-direction: column; gap: 10px; padding: 20px; text-decoration: none; }
.card p { margin: 0; }
.card-yellow { background: var(--yellow); }
.card-name { font-size: 40px; }
.card-strong { font-weight: 600; }
.card-links { display: flex; gap: 16px; font: 700 15px var(--display); text-transform: uppercase; letter-spacing: .06em; }
.card-links a { text-decoration: none; }
.card-dark { background: var(--ink); color: var(--paper); }
.card-dark-org { font-size: 30px; }
.card-dark-meta { color: #D8D6D0; font-size: 15px; }
.btn-yellow { align-self: flex-start; background: var(--yellow); color: var(--ink); font: 700 13px var(--display); text-transform: uppercase; letter-spacing: .08em; padding: 8px 14px; }
@media (hover: hover) { .card-dark:hover .btn-yellow { background: var(--paper); } }
.card-grey { background: var(--grey); }
.card-cv { font-size: 26px; }
.legend { list-style: none; margin: 0; padding: 0; border: 2px solid var(--ink); }
.legend li { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; border-bottom: 1px solid var(--rule); }
.legend li:last-child { border-bottom: 0; }
.legend-n { font: 500 14px var(--mono); font-variant-numeric: tabular-nums; }

@media (max-width: 1100px) {
  .hero { grid-template-columns: minmax(0, 1fr); }
  .sidebar { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
}
@media (max-width: 720px) {
  .map-desktop { display: none; }
  .map-mobile { display: grid; gap: 12px; }
  .offmap { max-width: none; }
}

/* roles table */
.table { border-top: 2px solid var(--ink); }
.thead, .trow { display: grid; grid-template-columns: 70px 150px minmax(0, 1fr) minmax(0, 1.1fr) 90px; gap: 16px; align-items: center; padding: 14px 16px; }
.thead { font: 700 13px var(--display); text-transform: uppercase; letter-spacing: .08em; border-bottom: 2px solid var(--ink); border-top: 0; padding-block: 10px; margin-top: -2px; }
.trow { text-decoration: none; border-bottom: 1px solid var(--rule); }
.trow:nth-of-type(even) { background: var(--grey); }
@media (hover: hover) { .trow:hover { background: #FFF6B8; } }
.trow.is-current { background: var(--yellow); }
.t-num { font: italic 800 28px/1 var(--display); }
.t-edu { font-size: 20px; }
.t-dates { font: 500 13px var(--mono); font-variant-numeric: tabular-nums; }
.t-org { font-weight: 600; }
.t-note { font-weight: 400; color: var(--muted); }
.t-go { justify-self: end; background: var(--ink); color: var(--paper); font: 700 13px var(--display); text-transform: uppercase; letter-spacing: .08em; padding: 7px 12px; }
.t-go span { color: var(--yellow); }
@media (max-width: 760px) {
  .thead { display: none; }
  .trow { grid-template-columns: 44px minmax(0, 1fr) auto; grid-template-areas: "num dates go" "num org go" "num role go"; row-gap: 2px; }
  .t-num { grid-area: num; }
  .t-dates { grid-area: dates; color: var(--muted); font-size: 12px; }
  .t-org { grid-area: org; }
  .t-role { grid-area: role; font-size: 14px; }
  .t-go { grid-area: go; background: none; color: var(--ink); padding: 0; font-size: 0; }
  .t-go span { color: var(--ink); font: italic 800 26px var(--display); }
}

/* consulting / boards */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 48px; }
.col-stack { display: grid; gap: 40px; align-content: start; }
@media (max-width: 860px) {
  .two-col { grid-template-columns: 1fr; gap: 32px; }
  .col-stack { display: contents; }
  #volunteering { order: 1; }
  #education { order: 2; }
}
.slist { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.slist a { display: flex; align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--rule); text-decoration: none; }
@media (hover: hover) { .slist a:hover { background: var(--grey); } }
.s-main { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.s-main strong { font-weight: 600; font-size: 17px; }
.s-main span { color: var(--muted); font-size: 15px; }
.s-dates { font: 500 13px var(--mono); white-space: nowrap; }
.s-go { font: italic 800 24px var(--display); }

/* key facts */
.three-col { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
@media (max-width: 960px) { .three-col { grid-template-columns: 1fr; } }
.bracket { border-right: 5px solid var(--yellow); border-bottom: 5px solid var(--yellow); padding: 0 24px 24px 0; }
.facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.facts li { position: relative; padding-left: 18px; font-weight: 500; font-size: 15px; }
.facts li::before { content: ""; position: absolute; left: 0; top: .55em; width: 7px; height: 7px; background: var(--yellow); outline: 1px solid rgba(0,0,0,.08); }
.facts-lg { gap: 10px; }
.facts-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; }
@media (max-width: 600px) { .facts-2 { grid-template-columns: 1fr; } }
.facts-lg li { font-weight: 400; font-size: 16px; max-width: 75ch; }
.facts li strong { font-weight: 600; }

/* about + contact */
.about { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 48px; }
.about-body { max-width: 68ch; }
.about-photo { display: block; width: 220px; height: 220px; margin-top: 28px; border-radius: 50%; object-fit: cover; box-shadow: 8px 8px 0 var(--yellow); }
.about-lead { font-size: 28px; margin-bottom: 18px; }
.about-body p:not(.about-lead) { font-size: 18px; line-height: 1.6; margin: 0 0 16px; }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; gap: 8px; } .about-photo { width: 140px; height: 140px; margin: 12px 0 16px; box-shadow: 6px 6px 0 var(--yellow); } .about-body p:not(.about-lead) { font-size: 16px; } .about-lead { font-size: 22px; } }
.contact-row { display: flex; flex-wrap: wrap; gap: 20px; }
.contact-card { background: var(--paper); border: 2px solid var(--ink); padding: 16px 20px; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.contact-card .eyebrow { color: var(--muted); }
.contact-value { font-weight: 600; font-size: 20px; overflow-wrap: anywhere; user-select: all; }
.copy { align-self: flex-start; margin-top: 6px; font: 700 12px var(--display); text-transform: uppercase; letter-spacing: .08em; background: var(--ink); color: var(--paper); border: 0; padding: 6px 10px; cursor: pointer; }

/* map key + off-map boxes */
.map-boxes { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin-top: 16px; align-items: start; }
.map-boxes .offmap { margin-top: 0; }
.mapkey { padding-top: 4px; }
.mapkey-title { font: 800 16px var(--display); text-transform: uppercase; letter-spacing: .04em; padding-bottom: 6px; border-bottom: 1.5px solid var(--ink); }
.mapkey ul { list-style: none; margin: 0; padding: 8px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 16px; }
.mapkey li { display: flex; align-items: center; gap: 10px; padding: 5px 0; font-size: 13px; }
.mapkey li > :first-child { flex: none; width: 24px; display: inline-flex; justify-content: center; }
.mapkey li > .edu-dot { width: 22px; height: 22px; margin: 0 1px; }
.map-pill { fill: var(--paper); stroke: none; }

/* contact */
.contact { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.contact .section-title { margin-bottom: 6px; }
.contact-copy { margin: 0; font-size: 18px; max-width: 46ch; }
.contact-email { font: italic 800 clamp(32px, 6vw, 52px)/1 var(--display); text-decoration: none; overflow-wrap: anywhere; border-bottom: 4px solid var(--ink); padding-bottom: 4px; }
@media (hover: hover) { .contact-email:hover { border-bottom-color: var(--paper); } }
.socials { display: flex; gap: 20px; margin-top: 8px; }
.socials a, .card-li, .footer-li { display: inline-flex; color: var(--ink); }
@media (hover: hover) { .socials a:hover, .footer-li:hover, .card-li:hover { opacity: .8; } }
.footer-li { color: var(--paper); }
.card-links { align-items: center; }

/* footer */
.footer { background: var(--ink); color: var(--paper); }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; padding-block: 24px calc(24px + env(safe-area-inset-bottom, 0px)); }
.footer-logo { text-decoration: none; font: italic 600 16px var(--display); }
.footer-logo strong { font-weight: 800; font-size: 28px; color: var(--yellow); text-transform: uppercase; }
.footer-links { display: flex; flex-wrap: wrap; gap: 24px; font: 700 14px var(--display); text-transform: uppercase; letter-spacing: .06em; }
.footer-links a { text-decoration: none; }

/* role pages */
.role-hero { background: var(--ink); color: var(--paper); }
.role-hero-main { max-width: 1440px; margin: 0 auto; padding: 40px max(var(--gutter-r), 5vw) 48px max(var(--gutter), 5vw); }
@media (min-width: 1300px) { .role-hero-main { padding-inline: 120px; } }
.crumbs { font: 600 14px var(--display); text-transform: uppercase; letter-spacing: .06em; color: #B3B1AA; margin: 0 0 14px; }
.crumbs a { text-decoration: none; }
.role-tags { display: flex; gap: 10px; margin: 0 0 14px; }
.role-title { font-size: clamp(44px, 8vw, 84px); color: var(--paper); }
.role-note { font: italic 600 20px var(--display); text-transform: uppercase; color: #D8D6D0; margin: 8px 0 0; }
.role-meta { display: flex; flex-wrap: wrap; gap: 16px 32px; margin: 24px 0 0; align-items: center; }
.role-meta div { margin: 0; }
.role-meta dt { font: 600 12px var(--display); text-transform: uppercase; letter-spacing: .08em; color: #B3B1AA; }
.role-meta dd { margin: 0; font-weight: 600; font-size: 18px; }
.role-kind .kind { color: var(--paper); }
.role-hero-side { background: #262626; padding: 40px; display: flex; flex-direction: column; justify-content: center; gap: 8px; text-decoration: none; }
@media (hover: hover) { .role-hero-side:hover { background: #303030; } }
.side-label { font: 700 13px var(--display); text-transform: uppercase; letter-spacing: .08em; color: var(--yellow); }
.side-num { font: italic 600 16px var(--display); text-transform: uppercase; color: #B3B1AA; }
.side-org { font: italic 800 34px/1 var(--display); text-transform: uppercase; }
.side-meta { color: #D8D6D0; font-size: 14px; }
@media (max-width: 900px) {
  .role-hero-main { padding: 28px max(var(--gutter-r), 16px) 32px max(var(--gutter), 16px); }
  .role-hero-side { padding: 20px max(var(--gutter), 16px); }
  .side-org { font-size: 26px; }
}
.overview { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 900px) { .overview { grid-template-columns: 1fr; } }
.ov-card { background: var(--grey); padding: 0 24px 24px; border-top: 8px solid var(--yellow); }
.ov-card h3 { font-size: 26px; margin: 20px 0 10px; }
.ov-card p { margin: 0; }
.chart { width: 100%; height: auto; display: block; }
.chart-narrow { display: none; }
@media (max-width: 700px) { .chart-wide { display: none; } .chart-narrow { display: block; } }
.chart-m .chart-label { font-size: 21px; }
.chart-m .chart-year { font-size: 20px; }
.chart-label { font: 700 19px var(--display); text-transform: uppercase; letter-spacing: .04em; fill: var(--ink); }
.chart-year { font: 500 16px var(--mono); fill: var(--muted); }
.chart-legend { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 12px; font: 600 16px var(--display); text-transform: uppercase; letter-spacing: .04em; }
.chart-legend span { display: inline-flex; align-items: center; gap: 8px; }
.hl-group { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 40px; padding-block: 20px; border-top: 2px solid var(--ink); }
.hl-head h3 { font-size: 24px; margin-bottom: 4px; }
@media (max-width: 860px) { .hl-group { grid-template-columns: 1fr; gap: 12px; } }
.hl-solo { grid-template-columns: 1fr; }
.work { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 1000px) { .work { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .work { grid-template-columns: minmax(0, 1fr); } }
.work-card { border: 2px solid var(--ink); display: flex; flex-direction: column; text-decoration: none; background: var(--paper); }
@media (hover: hover) { a.work-card:hover .work-cover { background: #FFEB5C; } }
.work-media { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-bottom: 2px solid var(--ink); display: block; }
.work-cover { background: var(--yellow); display: flex; align-items: flex-end; padding: 16px 18px; overflow: hidden; }
.work-cover span { font: italic 800 clamp(44px, 5vw, 64px)/.9 var(--display); text-transform: uppercase; letter-spacing: -.01em; }
.work-body { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px 18px; }
.work-body .tag { align-self: flex-start; background: var(--ink); color: var(--yellow); }
.work-card strong { font: italic 800 26px/1.05 var(--display); text-transform: uppercase; }
.work-result { color: var(--muted); font-size: 15px; line-height: 1.45; }
.work-more { font: 700 14px var(--display); text-transform: uppercase; letter-spacing: .06em; margin-top: 4px; }
.ride-on { background: var(--yellow); }
.ride-on-inner { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: start; padding-block: 24px; }
.ride-center { align-items: center; text-align: center; }
.ride-on a { text-decoration: none; display: flex; flex-direction: column; }
.ride-on span { font: 700 13px var(--display); text-transform: uppercase; letter-spacing: .08em; }
.ride-on span { margin-bottom: 4px; }
.ride-on strong { font: italic 800 24px/1.05 var(--display); text-transform: uppercase; text-wrap: balance; }
.ride-next { align-items: flex-end; text-align: right; }
@media (max-width: 700px) {
  .ride-on-inner { grid-template-columns: 1fr 1fr; }
  .ride-center { grid-column: 1 / -1; order: -1; align-items: flex-start; text-align: left; padding-bottom: 16px; border-bottom: 1px solid rgba(0,0,0,.18); }
  .ride-on strong { font-size: 20px; }
}
.notfound { min-height: 40vh; }
.band-yellow .section-title::after { background: var(--ink); }
.section-title { box-shadow: none; }

.numbers { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.numbers li { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 10px; align-items: baseline; font-size: 15px; }
.num { font: italic 800 30px/1 var(--display); font-variant-numeric: tabular-nums; }
.num-where { color: var(--muted); }
.stat-row { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border-top: 2px solid var(--ink); }
.stat-row li { padding: 18px 18px 18px 0; font-size: 15px; line-height: 1.4; }
.stat-row a { display: flex; flex-direction: column; gap: 8px; height: 100%; color: inherit; text-decoration: none; }
.stat-go { margin-top: auto; padding-top: 4px; font: 700 13px var(--display); text-transform: uppercase; letter-spacing: .06em; }
@media (hover: hover) { .stat-row a:hover .num, .stat-row a:focus-visible .num { box-shadow: inset 0 -.32em 0 var(--yellow); } }
@media (hover: hover) { .stat-row a:hover .stat-go { text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 3px; } }
.stat-row li + li { padding-left: 18px; border-left: 1px solid var(--rule); }
.stat-row .num { font-size: 40px; }
.stat-tag { font: 700 12px var(--display); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
@media (max-width: 1100px) { .stat-row { grid-template-columns: repeat(3, minmax(0, 1fr)); } .stat-row li:nth-child(3n+1) { padding-left: 0; border-left: 0; } .stat-row li:nth-child(n+4) { border-top: 1px solid var(--rule); } }
@media (max-width: 600px) { .stat-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } .stat-row li:nth-child(n) { padding-left: 14px; border-left: 1px solid var(--rule); border-top: 0; } .stat-row li:nth-child(2n+1) { padding-left: 0; border-left: 0; } .stat-row li:nth-child(n+3) { border-top: 1px solid var(--rule); } .stat-row .num { font-size: 32px; } }
.numbers-note { margin: -8px 0 16px; color: var(--muted); font-size: 14px; }
.li-cutout { fill: var(--paper); }
.footer-li .li-cutout { fill: var(--ink); }
.socials a, .card-li { color: var(--ink); }
.facts-sub { list-style: none; margin: 8px 0 4px; padding: 0; display: grid; gap: 6px; }
.facts-sub li { position: relative; padding-left: 18px; font-size: 15px; }
.facts-sub li::before { content: ""; position: absolute; left: 2px; top: .7em; width: 8px; height: 1.5px; background: var(--ink); }
.facts-lg > li > strong { font-weight: 600; }

/* wordmark */
.wordmark { display: inline-flex; flex-direction: column; align-items: flex-start; font-family: 'Kaushan Script', 'Brush Script MT', cursive; font-weight: 400; line-height: .85; transform: rotate(-7deg); padding: 4px 6px 2px; white-space: nowrap; }
.wm-small { font-size: 20px; margin-left: 2px; }
.wm-big { font-size: 48px; margin-top: 2px; }
/* The script's tall l leans over the i; a hair of space keeps the dot readable as the i's. */
.wm-i { position: relative; margin-left: .03em; }
.wm-dot { position: absolute; left: .25em; top: .36em; width: .22em; height: .22em; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 1.5px var(--ink); }
.footer-logo { color: var(--paper); text-decoration: none; }
.footer-logo .wm-big { font-size: 38px; }
.footer-logo .wm-small { font-size: 16px; }
.footer-logo .wm-dot { box-shadow: none; }
@media (max-width: 900px) { .logo .wm-big { font-size: 38px; } .logo .wm-small { font-size: 16px; } }
.role-tags { flex-wrap: wrap; align-items: center; }
.tag-kind { display: inline-flex; align-items: center; gap: 6px; background: transparent; color: var(--paper); box-shadow: inset 0 0 0 1.5px #5A5A5A; padding: 3px 9px 3px 6px; }
.role-meta { align-items: flex-start; }
@media (max-width: 600px) { .work-cover { aspect-ratio: 2.6 / 1; } }
.work-cover.is-long span { font-size: clamp(30px, 2.6vw, 40px); }
.work-photo { position: relative; }
.work-badge { position: absolute; left: 10px; top: 10px; background: var(--yellow); color: var(--ink); font: italic 800 20px/1 var(--display); padding: 4px 8px 3px; box-shadow: 0 0 0 2px var(--ink); }
.role-story { padding-block: 40px 8px; }
.role-story p { margin: 0; max-width: 60ch; font-size: clamp(19px, 2vw, 23px); line-height: 1.5; }
.ext { font-style: normal; font-weight: 600; font-size: .85em; color: var(--muted); }

/* mobile rhythm: one gap size between sections and between stacked blocks */
@media (max-width: 860px) {
  .section { padding-block: 24px 32px; }
  .hero { padding-bottom: 32px; }
  .two-col, .col-stack { gap: 56px; }
  .band { padding-block: 48px; }
}
@media (max-width: 600px) {
  .stat-go { margin-top: 8px; }
}

/* career profile: a plain section on desktop, a toggle on phones */
.profile-toggle > summary { list-style: none; }
.profile-toggle > summary::-webkit-details-marker { display: none; }
.toggle-hint { display: none; }
@media (min-width: 701px) { .profile-toggle > summary { pointer-events: none; } }
@media (max-width: 700px) {
  .profile-toggle > summary { cursor: pointer; }
  .profile-toggle > summary .heading-row { display: flex; align-items: center; justify-content: space-between; }
  .toggle-hint { display: inline-flex; align-items: center; gap: 6px; font: 700 14px var(--display); text-transform: uppercase; letter-spacing: .06em; border: 2px solid var(--ink); padding: 6px 10px; }
  .toggle-hint::after { content: "+"; font-size: 18px; line-height: 1; }
  .profile-toggle[open] .toggle-hint::after { content: "–"; }
  .profile-toggle .when-open, .profile-toggle[open] .when-closed { display: none; }
  .profile-toggle[open] .when-open { display: inline; }
  .profile-toggle[open] > summary { margin-bottom: 16px; }
}
