*, *::before, *::after { box-sizing: border-box }
:root {
  --bg: #ffffff; --tint: #f3f6fb; --ink: #0e1a2b; --text: #3b4658; --muted: #687387;
  --line: #e2e7ef; --accent: #1f5eff; --accent-dark: #1446cc; --accent-soft: #e3eaff; --sun: #ffb51f;
}
html { scroll-behavior: smooth; scroll-padding-top: 5rem }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 1.0625rem/1.65 Inter, system-ui, sans-serif; -webkit-font-smoothing: antialiased; display: flex; flex-direction: column; min-height: 100vh }
main { flex: 1 }
h1, h2, h3, p, figure, hgroup { margin: 0 }
h1, h2, h3 { color: var(--ink); line-height: 1.15; letter-spacing: -.02em }
h3 { line-height: 1.3 }
a { color: var(--accent) }
a:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 4px }
ul, ol { list-style: none; margin: 0; padding: 0 }
.wrap { width: min(1080px, 100% - 2.5rem); margin-inline: auto }
.narrow { width: min(720px, 100% - 2.5rem); margin-inline: auto }
.eyebrow { display: inline-block; padding: .3rem .8rem; border-radius: 999px; background: var(--accent-soft); font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-dark) }
.eyebrow a { color: inherit; text-decoration: none }
.eyebrow a:hover { text-decoration: underline }
.label { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted) }

.site-header { position: sticky; top: 0; z-index: 10; background: rgb(255 255 255 / .92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line) }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1.5rem; min-height: 4rem; padding-block: .75rem }
.brand { font-size: 1.15rem; font-weight: 800; color: var(--ink); text-decoration: none; letter-spacing: -.01em }
.site-header ul { display: flex; flex-wrap: wrap; gap: .25rem 1.5rem }
.site-header nav a { font-size: .95rem; font-weight: 500; color: var(--text); text-decoration: none }
.site-header nav a:hover { color: var(--accent) }

.hero { padding: 5rem 0 4.5rem; background: linear-gradient(180deg, #eaf0ff 0%, #f7f9ff 60%, #ffffff 100%); border-bottom: 1px solid var(--line) }
.hero .wrap { display: grid; grid-template-columns: 1.4fr 1fr; gap: 4rem; align-items: center }
.hero h1 { margin-top: 1.1rem; font-size: clamp(2.6rem, 5.5vw, 4rem); font-weight: 800; letter-spacing: -.03em }
.tagline { margin-top: .6rem; font-size: clamp(1.35rem, 2.4vw, 1.85rem); font-weight: 600; line-height: 1.25; letter-spacing: -.01em; color: var(--accent-dark) }
.lede { max-width: 34em; margin-top: 1.5rem; font-size: 1.15rem }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem }
.button { display: inline-block; padding: .75rem 1.35rem; border: 2px solid var(--accent); border-radius: 999px; font-weight: 600; color: var(--accent); text-decoration: none }
.button:hover { background: var(--accent-soft) }
.button.primary { background: var(--accent); color: #fff }
.button.primary:hover { border-color: var(--accent-dark); background: var(--accent-dark) }
.orgs { margin-top: 2.75rem; padding-top: 1.5rem; border-top: 1px solid #d6deeb }
.orgs ul { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .75rem }
.orgs li { padding: .35rem .9rem; border: 1px solid #d6deeb; border-radius: 999px; background: #fff; font-size: .95rem; font-weight: 600; color: var(--ink) }
.portrait { position: relative; isolation: isolate; justify-self: center; width: min(360px, 100%) }
.portrait::before { content: ""; position: absolute; inset: 1.5rem -1.5rem -1.5rem 1.5rem; z-index: -1; border-radius: 28px; background: var(--sun) }
.portrait img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 28px }

.feature { padding: 4.5rem 0; background: var(--ink); color: #c5cfdd }
.feature .wrap { display: grid; grid-template-columns: 1.35fr 1fr; gap: 3rem; align-items: center }
.shot { display: block; overflow: hidden; border-radius: 16px; box-shadow: 0 24px 60px rgb(0 0 0 / .45) }
.shot img { display: block; width: 100%; height: auto }
.feature h2 { font-size: clamp(2rem, 3.4vw, 2.8rem); font-weight: 800; color: #fff }
.feature hgroup p { margin-top: .4rem; font-size: 1.2rem; font-weight: 600; color: var(--sun) }
.feature hgroup + p { margin-top: 1.25rem }
.facts { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.5rem }
.facts li { padding: .3rem .85rem; border: 1px solid rgb(255 255 255 / .28); border-radius: 999px; font-size: .9rem; font-weight: 600; color: #fff }
.feature .button { margin-top: 2rem }

.band { padding: 5rem 0 }
.tint { background: var(--tint) }
.band h2 { margin-bottom: 2.25rem; font-size: clamp(1.9rem, 3vw, 2.5rem); font-weight: 800 }
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem }
.cards li { padding: 2rem 1.75rem 1.75rem; border: 1px solid var(--line); border-radius: 16px; background: linear-gradient(var(--accent), var(--accent)) top / 100% 5px no-repeat, #fff }
.cards h3 { margin-bottom: .6rem; font-size: 1.3rem; font-weight: 700 }

.timeline { --gap: 2rem; display: grid; gap: 1.25rem; margin-left: .5rem; padding-left: var(--gap); border-left: 2px solid #cfd8e6 }
.timeline > li { position: relative; padding: 1.5rem 1.75rem; border: 1px solid var(--line); border-radius: 16px; background: #fff }
.timeline > li::before { content: ""; position: absolute; top: 1.75rem; left: calc(-1 * var(--gap) - 10px); width: 16px; height: 16px; border: 4px solid var(--accent); border-radius: 50%; background: #fff }
.timeline > li:first-child::before { background: var(--accent) }
.when { margin-bottom: .2rem; font-size: .85rem; font-weight: 600; color: var(--muted) }
.timeline h3 { font-size: 1.35rem }
.roles { display: grid; gap: .5rem; margin-top: .9rem }
.roles li { position: relative; padding-left: 1.5rem; color: var(--text) }
.roles li:first-child { font-weight: 700; color: var(--ink) }
.roles li::before { content: ""; position: absolute; left: 0; top: .5em; width: 10px; height: 10px; border-radius: 50%; background: var(--accent) }
.roles li:not(:last-child)::after { content: ""; position: absolute; left: 4px; top: calc(.5em + 10px); height: calc(100% - 10px + .5rem); width: 2px; background: #c3d2ff }
.dates { margin-left: .6rem; font-size: .9rem; font-weight: 400; color: var(--muted); white-space: nowrap }
.timeline li > p:last-child:not(.when) { margin-top: .9rem }

.posts li { padding: 1.5rem 0; border-top: 1px solid var(--line) }
.posts li:last-child { border-bottom: 1px solid var(--line) }
.posts h2, .posts h3 { margin-bottom: .3rem; font-size: 1.3rem }
.posts h2 a, .posts h3 a { color: var(--ink); text-decoration: underline 2px #c3d2ff; text-underline-offset: 5px }
.posts h2 a:hover, .posts h3 a:hover { color: var(--accent); text-decoration-color: currentColor }
.posts time { font-size: .85rem; font-weight: 600; color: var(--muted) }
.posts p { margin-top: .5rem }
.more { display: inline-block; margin-top: 1.75rem; font-weight: 600 }

.cols { display: grid; grid-template-columns: 1.7fr 1fr; gap: 3rem }
.cols h3 { margin-bottom: .9rem; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted) }
.cols h3 ~ h3 { margin-top: 2rem }
.cols li { margin-bottom: .7rem }
.pubs li { margin-bottom: 1.1rem }
.pubs a { font-weight: 600; color: var(--ink); text-decoration: none }
.pubs a:hover { color: var(--accent); text-decoration: underline }
.venue { display: block; margin-top: .15rem; font-size: .9rem; color: var(--muted) }

.site-footer { padding: 4.5rem 0 2.5rem; background: var(--ink); color: #c5cfdd }
.site-footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr; gap: 1.5rem 3rem; align-items: center }
.site-footer h2 { font-size: 2.2rem; font-weight: 800; color: #fff }
.site-footer p { max-width: 34em; margin-top: .75rem }
.site-footer ul { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .75rem }
.site-footer .button { border-color: #fff; color: #fff }
.site-footer .button:hover { background: rgb(255 255 255 / .1) }
.site-footer .button.primary, .feature .button.primary { border-color: var(--sun); background: var(--sun); color: var(--ink) }
.site-footer .button.primary:hover, .feature .button.primary:hover { border-color: #ffc64f; background: #ffc64f }
.site-footer small { grid-column: 1 / -1; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgb(255 255 255 / .12); font-size: .85rem; color: #8592a6 }

.page-title { margin-bottom: 2rem; font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 800 }
.back { display: inline-block; margin-bottom: 2rem; font-weight: 600; text-decoration: none }
.post header { margin-bottom: 2.5rem }
.post h1 { margin-bottom: .75rem; font-size: clamp(2.1rem, 4.5vw, 3rem); font-weight: 800 }
.post time { font-size: .9rem; font-weight: 600; color: var(--muted) }
.prose { font-size: 1.125rem; line-height: 1.75; color: #2c3647 }
.prose > * { margin: 0 }
.prose > * + * { margin-top: 1.2em }
.prose h2 { margin-top: 2.2em; font-size: 1.6rem }
.prose h3 { margin-top: 1.8em; font-size: 1.25rem }
.prose ul { padding-left: 1.4em; list-style: disc }
.prose ol { padding-left: 1.4em; list-style: decimal }
.prose li + li { margin-top: .4em }
.prose img { max-width: 100%; height: auto; border-radius: 12px }
.prose blockquote { padding-left: 1.25rem; border-left: 4px solid var(--accent); color: var(--muted) }
.prose code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .9em }
.prose :not(pre) > code { padding: .1em .35em; border-radius: 5px; background: var(--accent-soft) }
.prose pre { overflow-x: auto; padding: 1rem 1.25rem; border-radius: 12px; background: var(--ink); color: #e5ecf6; font-size: .95rem; line-height: 1.55 }

@media (max-width: 760px) {
  .hero { padding: 2.5rem 0 3rem }
  .hero .wrap, .cards, .cols, .feature .wrap, .site-footer .wrap { grid-template-columns: 1fr }
  .hero .wrap { gap: 2.5rem }
  .portrait { order: -1; justify-self: start; width: min(220px, 65%) }
  .timeline { --gap: 1.25rem; margin-left: .25rem }
  .timeline > li { padding: 1.25rem }
  .dates { display: block; margin-left: 0 }
  .actions .button { flex: 1 1 auto; text-align: center }
  .site-footer ul { justify-content: flex-start }
  .band { padding: 3.5rem 0 }
  .feature { padding: 3rem 0 }
  .feature .wrap { gap: 2rem }
}
