:root {
    color-scheme: light;
    --navy: #101956;
    --ink: #101845;
    --muted: #4a5475;
    --blue: #2342b7;
    --red: #c72513;
    --paper: #f5f7ff;
    --line: #d2dbf2;
    font-family: Geist, Inter, system-ui, sans-serif;
    color: var(--ink);
    background: var(--paper);
    line-height: 1.6;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
a { color: var(--blue); text-underline-offset: .2em; }
:focus-visible { outline: 3px solid currentColor; outline-offset: 5px; }
.wrap { width: min(100%, 1270px); margin-inline: auto; padding-inline: clamp(19px, 5vw, 64px); }
.masthead {
    background: radial-gradient(ellipse at 94% 26%, #1755cf, transparent 51%), linear-gradient(110deg, #0b123e, #12266f);
    color: #fff;
}
.top, .foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 16px; }
.top { border-bottom: 1px solid #ffffff33; }
.top a { color: #fff; }
.wordmark { text-decoration: none; font-size: 1.38rem; font-weight: 900; letter-spacing: .13em; }
.catalog-link { font-size: .94rem; }
.hero { display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(0, 1fr); align-items: stretch; }
.hero-copy { padding-block: clamp(36px, 7vw, 98px); padding-right: 20px; }
.hero-portrait { position: relative; min-width: 0; min-height: 0; margin: 0; overflow: hidden; }
.hero-portrait img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 78% 44%; }
.hero-portrait::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #14246c 0%, transparent 13%); pointer-events: none; }
h1, h2, h3 { margin: 0; line-height: 1.08; }
h1 { max-width: 12ch; margin-bottom: .35em; font-size: clamp(2.65rem, 5.4vw, 5.45rem); font-weight: 900; letter-spacing: -.062em; text-wrap: balance; }
h2 { margin-bottom: .55em; font-size: clamp(1.75rem, 3.6vw, 3.05rem); font-weight: 850; letter-spacing: -.045em; }
h3 { font-size: 1.18rem; font-weight: 800; }
p { margin: .5em 0 1em; }
.eyebrow { margin: 0 0 18px; color: #e1eaff; text-transform: uppercase; letter-spacing: .09em; font-size: .78rem; font-weight: 750; }
.hook { max-width: 36ch; font-size: clamp(1.09rem, 2vw, 1.41rem); font-weight: 700; line-height: 1.34; }
.meta { margin-bottom: 20px; color: #e0eaff; font-size: .94rem; }
.notice { color: #fff0ae; font-weight: 750; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; text-align: center; background: var(--red); color: #fff; padding: .7rem 1.15rem; border-radius: 7px; font-weight: 820; text-decoration: none; }
.button:hover { background: #a41d0e; }
.try { display: inline-block; margin: 14px 0 0 12px; color: #fff; font-weight: 700; }
.content { display: grid; gap: clamp(36px, 6vw, 76px); padding-block: clamp(36px, 6vw, 76px); }
.projects { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.projects article { padding: 19px; background: #fff; border: 1px solid var(--line); border-radius: 10px; }
.projects article:first-child { grid-column: 1 / -1; border-left: 4px solid var(--blue); }
.projects p, .challenge p { margin-bottom: 0; max-width: 68ch; }
.program, .challenge { scroll-margin-top: 18px; }
.program details { border-bottom: 1px solid var(--line); padding-block: .8rem; }
.program summary { cursor: pointer; font-weight: 800; min-height: 30px; }
.program p { max-width: 72ch; margin-bottom: .3em; }
.program ul { padding-left: 1.1em; margin-bottom: .1em; }
.program li { padding-right: 4px; }
.duration { color: var(--muted); font-size: .9rem; white-space: nowrap; margin-inline-start: .75em; }
.challenge { padding: clamp(20px, 4vw, 40px); background: #e4ebff; border-radius: 12px; }
.final { text-align: center; }
.final .button:focus-visible { outline-color: var(--ink); }
.foot { border-top: 1px solid var(--line); font-size: .91rem; }
@media (max-width: 740px) {
    .hero { grid-template-columns: 1fr; }
    .hero-copy { padding-right: 0; padding-bottom: 25px; }
    .hero-portrait { aspect-ratio: 5 / 3; margin-inline: calc(-1 * clamp(19px, 5vw, 64px)); }
    .hero-portrait::after { background: linear-gradient(180deg, #102262 0%, transparent 12%); }
    .hero-portrait img { object-position: 67% 43%; }
    .projects { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
    .hero .button { display: flex; }
    .try { margin-left: 0; }
}
