:root {
  --paper: #fff7f9;
  --ink: #38242d;
  --rose: #ae315e;
  --deep: #682640;
  --blush: #f7dce6;
  --petal: #f7b8d0;
  --muted: #79616b;
  --line: #ead4dc;
  --white: #fffafb;
  --heading: 'Space Grotesk', 'Arial', sans-serif;
  --body: 'DM Sans', 'Arial', sans-serif;
  --mono: 'SFMono-Regular', Consolas, 'Liberation Mono', monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
::selection { background: var(--petal); color: var(--deep); }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button, a, input, summary { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
img { max-width: 100%; display: block; }
button:disabled { cursor: wait; opacity: .7; }
[hidden] { display: none !important; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3, h4 { font-family: var(--heading); line-height: 1.1; font-weight: 600; }
h1 { font-size: clamp(44px, 6vw, 82px); letter-spacing: -.065em; }
h2 { font-size: clamp(32px, 3.7vw, 48px); letter-spacing: -.055em; }
h3 { font-size: 24px; letter-spacing: -.035em; }
p { color: var(--muted); }
:focus-visible { outline: 3px solid var(--rose); outline-offset: 5px; }
.container { width: min(1200px, calc(100% - 96px)); margin-inline: auto; }
.eyebrow { font-family: var(--mono); font-size: 10px; font-weight: 500; letter-spacing: .13em; line-height: 1.6; color: inherit; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 24px; padding: 17px 24px; border: 1px solid var(--rose); border-radius: 5px; background: var(--rose); color: white; font-size: 13px; font-weight: 600; line-height: 1.3; transition: background .2s, transform .2s, box-shadow .2s; }
.button:hover { background: #8c244b; box-shadow: 3px 3px 0 #e8b4c7; transform: translate(-1px,-1px); }
.button span { font-size: 20px; line-height: 1; }
.button-small { padding: 12px 17px; font-size: 12px; }
.button-outline { background: transparent; color: var(--rose); }
.button-outline:hover { background: var(--blush); }
.button-row { display: flex; align-items: center; flex-wrap: wrap; gap: 25px; }
.text-link { display: inline-flex; align-items: center; gap: 16px; font-size: 13px; font-weight: 600; border-bottom: 1px solid currentColor; padding-bottom: 4px; }
.text-link:hover { color: var(--rose); }
.site-header { border-bottom: 1px solid var(--line); background: var(--paper); position: relative; z-index: 10; }
.header-inner { display: flex; justify-content: space-between; align-items: center; min-height: 98px; gap: 32px; }
.brand { display: flex; flex-direction: column; width: 176px; flex-shrink: 0; }
.brand img { width: 176px; height: auto; filter: hue-rotate(42deg) saturate(.85); }
.brand > span { font: 8px var(--mono); letter-spacing: .31em; margin-left: 15px; margin-top: 3px; color: var(--rose); }
.main-nav { display: flex; align-items: center; gap: 28px; font-size: 12px; font-weight: 500; }
.main-nav > a:not(.button) { padding-block: 10px; border-bottom: 1px solid transparent; }
.main-nav > a:not(.button):hover, .main-nav a[aria-current] { color: var(--rose); border-bottom-color: var(--rose); }
.nav-user { max-width: 100px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--rose); }
.menu-toggle { display: none; }
.skip-link { position: absolute; top: -100px; left: 20px; z-index: 30; padding: 10px 20px; background: var(--petal); }
.skip-link:focus { top: 10px; }
.hero { display: grid; grid-template-columns: 1.04fr 1fr; gap: 32px; min-height: 650px; padding-top: 65px; padding-bottom: 68px; align-items: center; }
.hero-copy > .eyebrow { display: flex; gap: 9px; align-items: center; margin-bottom: 27px; }
.status-dot { width: 7px; height: 7px; display: inline-block; background: var(--rose); border-radius: 50%; flex-shrink: 0; }
.hero h1 { font-size: clamp(65px, 6.8vw, 94px); line-height: .99; letter-spacing: -.075em; font-weight: 600; }
.hero-logo { width: min(90%, 390px); height: auto; }
.hero-us { position: relative; display: inline-block; color: var(--rose); }
.hero-us::after { content: ''; position: absolute; left: 0; bottom: -5px; height: 5px; width: 97%; background: var(--rose); transform: rotate(-4deg); border-radius: 50%; }
.small-star { display: inline-block; font-size: .55em; vertical-align: super; margin-left: 8px; transform: rotate(-8deg); }
.hero-description { margin-top: 28px; font-size: 14px; line-height: 1.9; }
.hero .button-row { margin-top: 29px; gap: 22px; }
.hero .button { padding-inline: 19px; }
.hero .text-link { font-size: 12px; }
.hero-footnote { display: flex; align-items: center; gap: 12px; margin-top: 38px; font-size: 10px; line-height: 1.7; color: var(--muted); }
.hero-footnote strong { color: var(--ink); font-weight: 500; }
.mini-avatars { display: flex; padding-left: 7px; }
.mini-avatars img { width: 34px; height: 34px; object-fit: cover; object-position: center 25%; border: 2px solid var(--paper); border-radius: 50%; margin-left: -7px; }
.hero-art { height: 470px; position: relative; display: flex; align-items: center; justify-content: center; isolation: isolate; }
.hero-art::before { content: ''; position: absolute; inset: 15px 4px 4px 20px; background-color: #f9dfe9; background-image: radial-gradient(#d9a6b9 1px, transparent 1px); background-size: 19px 19px; border-radius: 49% 49% 4px 4px; z-index: -2; }
.art-orbit { position: absolute; border: 1px solid #e2b6c6; border-radius: 50%; width: 105%; height: 74%; top: 9%; left: -1%; transform: rotate(-24deg); z-index: -1; }
.orbit-two { transform: rotate(20deg); width: 87%; height: 90%; left: 9%; top: 0; }
.art-spark { position: absolute; top: -4px; left: 35px; font-size: 95px; color: var(--rose); line-height: 1; transform: rotate(12deg); }
.code-window { width: 96%; background: var(--white); border: 1px solid #9a667b; border-radius: 8px; transform: rotate(-4deg); box-shadow: 9px 11px 0 #dea2b9; position: relative; z-index: 2; }
.window-bar { display: flex; justify-content: space-between; align-items: center; height: 43px; padding: 0 16px; border-bottom: 1px solid #9a667b; font: 10px var(--mono); background: #fce8ef; border-radius: 8px 8px 0 0; }
.window-dots { display: flex; gap: 5px; }
.window-dots i { width: 7px; height: 7px; border: 1px solid #9a667b; border-radius: 50%; }
.window-dots i:first-child { background: var(--rose); }
.code-body { padding: 24px 17px 17px; font: 11px/2.4 var(--mono); white-space: nowrap; }
.code-comment { color: #996b7d; display: block; margin: 0 0 13px 28px; font-size: 10px; }
.code-line { display: flex; gap: 17px; }
.line-number { color: #ae7e91; font-size: 9px; }
.code-line b { color: var(--rose); font-weight: 500; }
.code-line em { color: #97516a; font-style: normal; }
.code-cursor { color: var(--rose); }
.code-toolbar { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid #f6e4eb; padding: 11px 17px; font: 8px var(--mono); letter-spacing: .1em; color: #8d6172; }
.run-demo { font: 10px var(--mono); background: var(--petal); padding: 8px 11px; border: 1px solid #d58ba6; border-radius: 4px; color: var(--deep); }
.run-demo:hover { background: #f09fbe; }
.code-output { background: var(--deep); color: #fce1eb; font: 10px/1.8 var(--mono); min-height: 63px; padding: 17px; border-radius: 0 0 6px 6px; white-space: pre-wrap; }
.output-prompt { color: var(--petal); padding-right: 6px; }
.has-run { color: var(--petal); }
.belong-sticker { position: absolute; right: -12px; top: 4px; width: 121px; height: 121px; border-radius: 50%; background: var(--petal); color: var(--deep); font-family: var(--heading); font-size: 21px; font-weight: 700; line-height: .97; letter-spacing: -.06em; padding: 27px 21px; transform: rotate(13deg); z-index: 3; box-shadow: 2px 3px 0 #d78aa6; }
.belong-sticker span { position: absolute; right: 17px; bottom: 26px; font-size: 29px; }
.art-caption { position: absolute; bottom: 26px; left: 35px; transform: rotate(-4deg); color: var(--rose); font-size: 15px; font-family: var(--heading); }
.floating-braces { position: absolute; bottom: -2px; right: 5px; font-size: 82px; font-family: var(--mono); color: var(--rose); transform: rotate(12deg); line-height: 1; letter-spacing: -.18em; }
.values-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #f9e9ef; }
.values-strip > div { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-block: 17px; font: 10px var(--mono); letter-spacing: .08em; }
.values-strip span[aria-hidden] { color: var(--rose); font-size: 22px; }
.section { padding-block: 90px; }
.section-first { padding-top: 18px; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-bottom: 35px; }
.section-heading .eyebrow { color: var(--rose); margin-bottom: 15px; }
.opportunity-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.opportunity-card { padding: 30px 34px; border: 1px solid #e6bdcc; border-radius: 7px; transition: transform .2s, box-shadow .2s; }
a.opportunity-card:hover { transform: translateY(-5px); box-shadow: 0 8px 0 #38242d13; }
.challenge-card { background: var(--blush); }
.hack-card { background: #fce8ee; border-color: #e9bdcd; }
.card-top { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.card-top .eyebrow { font-size: 9px; }
.circle-arrow { display: flex; align-items: center; justify-content: center; width: 37px; height: 37px; border: 1px solid currentColor; border-radius: 50%; flex-shrink: 0; font-size: 21px; }
.card-illustration { height: 156px; display: flex; align-items: center; justify-content: center; position: relative; }
.illustration-pin { position: absolute; top: 4px; right: 4px; width: 24px; height: 24px; color: var(--rose); transform: rotate(-25deg); }
.hack-illustration .illustration-pin { transform: rotate(25deg); }
.challenge-illustration { font: 80px var(--mono); color: var(--rose); gap: 18px; }
.challenge-illustration .asterisk { font-size: 100px; transform: rotate(-8deg); line-height: 1; }
.hack-illustration { gap: 20px; font: 35px var(--heading); }
.idea-box, .build-box { font: 25px var(--heading); border: 1px solid var(--ink); padding: 9px 16px; transform: rotate(-9deg); box-shadow: 3px 4px 0 #38242d; background: var(--paper); }
.build-box { transform: rotate(8deg); background: var(--petal); position: relative; }
.build-box > span { position: absolute; font-size: 38px; right: -16px; top: -28px; }
.opportunity-card h3 { font-size: 30px; letter-spacing: -.045em; margin-bottom: 15px; }
.opportunity-card p { max-width: 350px; font-size: 13px; color: #76525f; }
.card-link { display: flex; justify-content: space-between; margin-top: 26px; padding-top: 17px; border-top: 1px solid #38242d30; font-size: 12px; font-weight: 600; }
.story-section { background: var(--deep); color: var(--paper); padding-block: 85px; }
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.story-grid .eyebrow { color: var(--petal); margin-bottom: 25px; }
.story-photo { width: 100%; height: auto; border-radius: 6px; }
.story-grid h2 { font-size: clamp(45px, 5.6vw, 72px); }
.story-grid h2 span { color: var(--petal); }
.story-copy { position: relative; padding-top: 55px; }
.story-copy > p { color: #f4d4e0; font-size: 14px; margin-bottom: 20px; max-width: 425px; }
.story-copy > p:first-of-type { color: var(--paper); font-size: 20px; line-height: 1.5; }
.story-star { position: absolute; top: -15px; right: 10px; color: var(--petal); font-size: 72px; line-height: 1; transform: rotate(9deg); }
.light-link { color: var(--petal); margin-top: 12px; }
.light-link:hover { color: white; }
.team-hierarchy { display: grid; gap: 42px; max-width: 1000px; margin-inline: auto; }
.team-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 26px; }
.team-member { width: 100%; max-width: 320px; justify-self: center; }
.team-grid--director > .team-member { grid-column: 2; }
.portrait-wrap { aspect-ratio: 4 / 5; background: var(--blush); border-radius: 5px; overflow: hidden; position: relative; }
/* Each frame crops the original photo around the face and upper body. */
.portrait-wrap img { position: absolute; width: var(--photo-width); max-width: none; height: var(--photo-height); left: var(--photo-left); top: var(--photo-top); }
.portrait-camelia { --photo-width: 168.649%; --photo-height: 212.541%; --photo-left: -31.081%; --photo-top: -58.378%; }
.portrait-emily { --photo-width: 268.235%; --photo-height: 160.941%; --photo-left: -88.235%; --photo-top: -52.941%; }
.portrait-ridhima { --photo-width: 168.421%; --photo-height: 202.105%; --photo-left: -25%; --photo-top: -67.368%; }
.portrait-jade { --photo-width: 185.806%; --photo-height: 264.258%; --photo-left: -15.323%; --photo-top: -60%; }
.portrait-kashvi { --photo-width: 115.263%; --photo-height: 117.684%; --photo-left: -11.842%; --photo-top: -15.263%; }
.portrait-kokoro { --photo-width: 120%; --photo-height: 128%; --photo-left: -8.333%; --photo-top: -15.333%; }
.portrait-myra { --photo-width: 103.597%; --photo-height: 147.338%; --photo-left: -1.799%; --photo-top: -10.072%; }
.member-caption { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding-block: 20px; border-bottom: 1px solid var(--line); }
.member-caption h3 { font-size: 20px; }
.member-caption > span { font: 10px var(--mono); color: var(--muted); }
.join-banner { display: flex; align-items: center; justify-content: space-between; background: var(--petal); padding: 48px; border-radius: 5px; position: relative; overflow: hidden; margin-bottom: 90px; }
.join-banner .eyebrow { margin-bottom: 15px; }
.join-banner h2 { font-size: 44px; }
.join-banner h2 span { color: var(--rose); }
.join-banner .button { position: relative; z-index: 1; }
.join-spark { position: absolute; left: 55%; top: 17px; font-size: 230px; line-height: 1; color: #e88eaf; transform: rotate(13deg); opacity: .7; }
.site-footer { background: #f9e7ee; border-top: 1px solid var(--line); }
.footer-top { padding-block: 55px; display: grid; grid-template-columns: 1.4fr .8fr 1fr; gap: 50px; }
.footer-wordmark { font-family: var(--heading); font-size: 32px; letter-spacing: -.07em; font-weight: 700; color: var(--rose); }
.footer-wordmark span { color: var(--rose); }
.footer-top p { font-size: 12px; margin-top: 7px; }
.footer-links { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; font-size: 12px; }
.footer-links .eyebrow { color: var(--muted); margin-bottom: 9px; }
.footer-links a:hover { text-decoration: underline; }
.footer-bottom { border-top: 1px solid #e9cbd6; padding-block: 19px; display: flex; justify-content: space-between; gap: 25px; font: 9px/1.8 var(--mono); color: #8a6574; }
.footer-bottom span[aria-hidden] { color: var(--rose); margin-left: 12px; }
.page-intro { padding-top: 70px; padding-bottom: 55px; }
.page-intro .eyebrow { color: var(--rose); margin-bottom: 20px; }
.page-intro h1 > span { color: var(--rose); }
.page-intro > p:not(.eyebrow) { margin-top: 24px; font-size: 15px; }
.page-intro .button-row { margin-top: 25px; }
.back-link { display: inline-block; font-size: 12px; color: var(--muted); margin-bottom: 35px; }
.back-link:hover { color: var(--rose); }
.competition-notice { display: flex; align-items: center; gap: 25px; background: var(--blush); padding: 26px 30px; border: 1px solid #e5b9ca; border-radius: 5px; }
.notice-symbol { font-size: 48px; color: var(--rose); line-height: 1; }
.competition-notice h2 { font-size: 20px; letter-spacing: -.03em; }
.competition-notice p { font-size: 12px; max-width: 620px; margin-top: 6px; }
.competition-notice .text-link { margin-left: auto; flex-shrink: 0; font-size: 11px; }
.archive-list { border-top: 1px solid var(--line); }
.archive-row { display: grid; grid-template-columns: 55px 1fr 1fr 45px; align-items: center; gap: 30px; padding: 32px 12px; border-bottom: 1px solid var(--line); transition: background .2s; }
.archive-row:hover { background: #fbe5ee; }
.archive-index { font: 12px var(--mono); color: var(--rose); }
.archive-row .eyebrow { color: var(--muted); font-size: 9px; }
.archive-row h3 { font-size: 32px; margin-top: 7px; }
.archive-row p { font-size: 13px; max-width: 280px; }
.archive-row .circle-arrow { color: var(--rose); }
.question-levels { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.level-panel { padding: 30px 26px; border: 1px solid var(--line); border-radius: 5px; background: var(--white); }
.level-panel:first-child { background: #fce8ef; border-color: #e9bfce; }
.level-panel:nth-child(2) { background: var(--blush); border-color: #e6bdcc; }
.level-panel:nth-child(3) { background: #f6d5e2; border-color: #e2b6c8; }
.level-number { font: 12px var(--mono); display: block; margin-bottom: 25px; }
.level-panel h3 { font-size: 27px; }
.level-panel > p { margin: 9px 0 24px; font-size: 12px; }
.level-panel ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid #38242d25; }
.level-panel li { border-bottom: 1px solid #38242d25; }
.level-panel li a { display: flex; justify-content: space-between; gap: 15px; padding-block: 14px; font-size: 13px; }
.level-panel li a:hover { text-decoration: underline; }
.empty-questions { font-size: 12px; color: var(--muted); padding-block: 16px; }
.winners-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 25px; }
.winner-panel { border: 1px solid var(--line); padding: 25px; border-radius: 5px; }
.winner-panel h3 { padding-bottom: 20px; border-bottom: 1px solid var(--line); font-size: 21px; }
.winner-panel ol { list-style: none; padding: 0; margin: 0; }
.winner-panel li { display: flex; align-items: flex-start; gap: 15px; margin-top: 20px; font-size: 12px; }
.winner-panel li > span:first-child { font: 11px var(--mono); color: var(--rose); background: var(--blush); border-radius: 50%; padding: 7px; }
.winner-panel li > span:last-child { padding-top: 3px; }
.heading-spark { color: var(--rose); font-size: 64px; line-height: 1; }
.makers { border-top: 1px solid var(--line); margin-top: 35px; padding-top: 25px; }
.makers p { font-size: 13px; margin-top: 10px; }
.empty-state { text-align: center; padding: 30px 24px 110px; }
.empty-symbol { color: var(--rose); font: 80px var(--mono); display: block; margin-bottom: 25px; }
.empty-state h2 { font-size: 32px; }
.empty-state p { margin-block: 18px 25px; }
.hackathon-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 75px; align-items: start; padding-block: 20px; }
.event-poster { background: var(--blush); padding: 25px; border-radius: 6px; }
.event-poster img { width: 100%; height: auto; box-shadow: 5px 6px 0 #dfabc0; }
.event-details > .eyebrow { margin-bottom: 22px; color: var(--rose); }
.event-details > p:not(.eyebrow) { font-size: 14px; margin-top: 22px; }
.event-details > h3 { margin-top: 35px; }
.subtle-note { font-size: 12px !important; color: var(--muted); }
.timeline { list-style: none; padding: 0; margin: 25px 0 0; }
.timeline li { display: flex; gap: 24px; padding-block: 20px; border-top: 1px solid var(--line); }
.timeline li > span { font: 11px/1.8 var(--mono); color: var(--rose); flex-shrink: 0; }
.timeline h4 { font-size: 17px; }
.timeline p { font-size: 12px; margin-top: 7px; }
.award-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: 15px; }
.award { padding: 25px 20px; border: 1px solid var(--line); border-radius: 5px; }
.award > span { font-size: 40px; color: var(--rose); display: block; line-height: 1.5; }
.award h3 { font-size: 18px; margin: 12px 0; }
.award p { font-size: 11px; }
.auth-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: center; padding-block: 75px; }
.auth-story .eyebrow { color: var(--rose); margin-bottom: 24px; }
.auth-story h1 > span { color: var(--rose); }
.auth-story > p:not(.eyebrow) { margin-top: 24px; font-size: 14px; max-width: 370px; }
.auth-art { display: flex; align-items: center; justify-content: center; width: 80%; height: 190px; font: 135px var(--mono); color: var(--rose); gap: 20px; }
.auth-art .auth-star { font-size: 140px; color: var(--rose); transform: rotate(-10deg); }
.auth-panel { background: var(--white); border: 1px solid var(--line); padding: 40px; border-radius: 7px; box-shadow: 7px 7px 0 #f2d7e2; }
.auth-switch { display: flex; background: #f7e7ed; border: 1px solid var(--line); padding: 4px; border-radius: 5px; margin-bottom: 32px; }
.auth-switch button { flex: 1; background: transparent; border: 0; border-radius: 3px; padding: 10px; font-size: 12px; color: var(--muted); }
.auth-switch button[aria-pressed='true'] { background: var(--rose); color: white; }
.auth-panel h2 { font-size: 31px; }
.auth-panel h2 + p { font-size: 13px; margin-top: 10px; }
.auth-form { display: flex; flex-direction: column; margin-top: 25px; }
.auth-form label { font-size: 12px; font-weight: 600; margin-bottom: 7px; }
.auth-form input:not([type='hidden']) { width: 100%; background: var(--white); border: 1px solid #e6c8d3; border-radius: 4px; padding: 13px 14px; margin-bottom: 20px; font-size: 13px; color: var(--ink); }
.auth-form input::placeholder { color: #916877; }
.auth-form .button { margin-top: 3px; }
.form-footnote { font-size: 11px; margin-top: 22px; text-align: center; }
.inline-button { color: var(--rose); background: none; border: 0; padding: 0; text-decoration: underline; font-size: inherit; }
.flash-messages { padding-top: 18px; }
.flash-messages p { border-left: 3px solid var(--rose); padding: 12px 18px; background: var(--blush); color: var(--ink); font-size: 13px; }
.challenge-page { padding-block: 40px 90px; }
.challenge-heading { display: flex; justify-content: space-between; gap: 25px; align-items: center; margin-bottom: 35px; }
.challenge-heading .eyebrow { color: var(--rose); margin-bottom: 13px; }
.challenge-heading h1 { font-size: 46px; }
.pill { border: 1px solid #dfacc0; background: var(--blush); border-radius: 40px; font: 11px var(--mono); padding: 10px 16px; flex-shrink: 0; }
.challenge-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: 30px; align-items: start; }
.problem-panel { border: 1px solid var(--line); background: var(--white); border-radius: 5px; min-width: 0; }
.panel-heading { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); padding: 18px 28px; color: var(--rose); }
.problem-body { padding: 30px; }
.booklet-problem { margin-block: 28px; }
.festival-questions { display: grid; gap: 28px; }
.festival-question { min-width: 0; scroll-margin-top: 24px; }
.festival-question .panel-heading h2 { font-size: 24px; letter-spacing: -.035em; }
.festival-question .problem-body h3 { margin-top: 24px; font-size: 16px; letter-spacing: 0; }
.festival-question pre { white-space: pre-wrap; overflow-wrap: anywhere; }
.archive-theme-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.archive-theme { min-width: 0; scroll-margin-top: 24px; }
.archive-theme h2 { font-size: 30px; }
.archive-theme > p { font-size: 13px; margin-block: 12px 24px; }
.archive-question-page { max-width: 960px; }
.archive-question-body > p { white-space: pre-wrap; overflow-wrap: anywhere; margin-bottom: 18px; color: var(--ink); font-size: 14px; }
.archive-question-body > :last-child { margin-bottom: 0; }
.archive-question-resource { margin-block: 20px; }
.archive-question-resource .subtle-note { margin-top: 12px; }
.archive-question-source { margin-bottom: 26px; }
.archive-question-source a { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 1000px) { .archive-theme-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .archive-theme-grid { grid-template-columns: 1fr; } }
.booklet-transcript { margin-top: 20px; background: transparent; border: 0; padding: 0; color: var(--ink); }
.booklet-answers { padding: 22px; margin-block: 28px; border: 1px solid var(--line); border-radius: 5px; background: var(--white); }
.booklet-answers summary { cursor: pointer; font-weight: 600; color: var(--rose); }
.booklet-answers h2 { font-size: 20px; margin-block: 22px 12px; }
.booklet-answers .subtle-note { margin-top: 16px; }
.problem-body h2 { font-size: 28px; margin-bottom: 22px; }
.problem-prompt { white-space: pre-wrap; color: var(--ink); font-size: 14px; }
.problem-body h3, .result-panel h3 { font: 11px var(--mono); margin-top: 25px; margin-bottom: 12px; text-transform: uppercase; letter-spacing: .07em; }
.sample-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.sample-grid > div { min-width: 0; }
pre { font: 12px/1.8 var(--mono); background: #fbeaf1; padding: 18px; border: 1px solid #f0d3df; border-radius: 4px; overflow: auto; margin: 0 0 18px; white-space: pre-wrap; overflow-wrap: anywhere; color: #6e3b50; }
.submission-panel { padding: 28px; background: var(--blush); border: 1px solid #e4b8cb; border-radius: 5px; }
.submission-panel > .eyebrow { color: var(--rose); }
.submission-panel h2 { font-size: 31px; margin-top: 18px; }
.submission-panel > p { font-size: 12px; margin-top: 14px; }
.upload-zone { background: #fff5f9; border: 1px dashed #ce8eaa; border-radius: 5px; padding: 22px 12px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 5px; margin-top: 25px; cursor: pointer; }
.upload-zone:hover { background: white; }
.upload-zone .upload-icon { font-size: 26px; color: var(--rose); }
.upload-zone strong { font-size: 12px; max-width: 100%; overflow-wrap: anywhere; }
.upload-zone > span:last-child { font-size: 10px; color: var(--muted); }
.file-input { font-size: 10px; max-width: 100%; margin: 12px 0 20px; }
.file-input::file-selector-button { border: 0; background: transparent; color: var(--rose); font: inherit; text-decoration: underline; padding: 4px; cursor: pointer; }
.submission-panel .button { width: 100%; }
.solved-note { margin-top: 22px; border: 1px solid #ce8c9f; background: #fce4ec; padding: 17px; font-size: 13px; }
.result-panel { border: 1px solid var(--line); border-left: 4px solid var(--rose); background: var(--white); margin-top: 30px; padding: 30px; }
.result-panel > .eyebrow { color: var(--rose); margin-bottom: 12px; }
.result-panel h2 { font-size: 27px; margin-bottom: 18px; }
.result-success { border-left-color: #b84169; }
.answer-check { margin: 30px 0; padding: clamp(20px, 4vw, 36px); border: 1px solid var(--line); border-radius: 6px; background: var(--white); min-width: 0; }
.festival-question > .answer-check { margin: 0 24px 24px; }
.answer-check h2 { font-size: clamp(24px, 4vw, 32px); margin: 10px 0 16px; }
.answer-check-note { padding: 14px 18px; background: #fff4dc; border-left: 3px solid #bd8525; font-size: 14px; line-height: 1.6; }
.answer-field { margin: 24px 0; }
.answer-field label { display: block; font-weight: 700; margin-bottom: 8px; }
.answer-field textarea { display: block; box-sizing: border-box; width: 100%; max-width: 100%; min-height: 90px; resize: vertical; padding: 14px; border: 1px solid var(--line); border-radius: 4px; background: #fff; color: var(--ink); font: 14px/1.6 var(--mono); }
.answer-field textarea:focus { outline: 2px solid var(--rose); outline-offset: 3px; }
.answer-field textarea[aria-invalid="true"] { border-color: #a33145; }
.answer-field-feedback { font-size: 13px; margin-top: 8px; }
.answer-field-feedback:empty, .answer-feedback:empty { display: none; }
.answer-feedback { margin: 18px 0 0; padding: 14px 18px; border-radius: 4px; font-weight: 600; }
.answer-feedback.is-correct { background: #e7f5ed; color: #195b3b; }
.answer-feedback.is-incorrect, .answer-feedback.is-invalid { background: #fff0f0; color: #8a2235; }
.practice-solution { margin-top: 28px; border-top: 1px solid var(--line); padding-top: 20px; }
.practice-solution summary { cursor: pointer; font-weight: 700; }
.practice-solution h3 { font-size: 15px; margin: 22px 0 10px; }
.practice-solution pre { white-space: pre-wrap; overflow-wrap: anywhere; max-width: 100%; }
.classifier-details { border-top: 1px solid var(--line); padding-top: 15px; font-size: 12px; }
.classifier-details summary { cursor: pointer; }
.classifier-details p { margin-top: 12px; }
.scoreboard-layout { display: grid; grid-template-columns: 2fr 1fr; gap: 35px; align-items: start; padding-top: 10px; }
.scoreboard-heading { display: flex; justify-content: space-between; gap: 20px; align-items: center; margin-bottom: 25px; }
.scoreboard-heading h2 { font-size: 30px; }
.live-badge { display: flex; align-items: center; gap: 6px; font: 9px var(--mono); letter-spacing: .06em; }
.live-badge .status-dot { background: #ae315e; width: 6px; height: 6px; }
.scoreboard-aside { background: var(--blush); border: 1px solid #e5b9ca; border-radius: 5px; padding: 30px; }
.aside-star { color: var(--rose); font-size: 65px; line-height: 1; display: block; margin-bottom: 25px; }
.scoreboard-aside h3 { font-size: 26px; }
.scoreboard-aside p { font-size: 13px; margin-block: 20px; }
.scoreboard-aside .text-link { font-size: 12px; }
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: 5px; background: var(--white); }
.scoreboard-table { width: 100%; border-collapse: collapse; text-align: left; font-size: 13px; }
.scoreboard-table th { background: #f7e7ed; padding: 15px 22px; font: 10px var(--mono); text-transform: uppercase; letter-spacing: .06em; }
.scoreboard-table td { padding: 18px 22px; border-bottom: 1px solid var(--line); }
.scoreboard-table tr:last-child td { border-bottom: 0; }
.scoreboard-table th:last-child, .scoreboard-table td:last-child { text-align: right; }
.scoreboard-table tbody tr:first-child { background: #fce4ec; }
.scoreboard-table td:first-child { color: var(--rose); font-family: var(--mono); width: 80px; }
.scoreboard-table td:last-child { font-family: var(--mono); font-weight: 600; }
.loading { padding: 35px 25px; background: #f7e7ed; border: 1px dashed var(--line); border-radius: 5px; font-size: 13px; margin-bottom: 18px; }
.archived-scores { max-width: 900px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@media (min-width: 1450px) { .hero { min-height: 710px; } }
@media (max-width: 1100px) {
  .container { width: calc(100% - 64px); }
  .main-nav { gap: 18px; font-size: 11px; }
  .main-nav .button { gap: 10px; }
  .brand { width: 150px; }
  .brand img { width: 150px; }
  .brand > span { font-size: 7px; }
  .hero { gap: 25px; }
  .hero h1 { font-size: 72px; }
  .hero .button-row { gap: 18px; }
  .hero .button { font-size: 11px; gap: 12px; }
  .hero-art { height: 420px; }
  .code-body { font-size: 9px; padding-inline: 11px; }
  .code-comment { font-size: 8px; }
  .code-line { gap: 10px; }
  .code-toolbar { font-size: 7px; }
  .belong-sticker { width: 104px; height: 104px; font-size: 18px; padding: 23px 18px; right: -8px; }
  .belong-sticker span { right: 10px; bottom: 24px; font-size: 24px; }
  .art-caption { font-size: 12px; }
  .auth-layout { gap: 60px; }
  .member-caption { align-items: flex-start; flex-direction: column; gap: 5px; }
  .award { padding-inline: 15px; }
}
@media (max-width: 850px) {
  .header-inner { min-height: 82px; }
  .menu-toggle { display: flex; gap: 12px; align-items: center; background: transparent; border: 1px solid #d5a0b5; color: var(--rose); border-radius: 4px; padding: 8px 12px; font-size: 12px; }
  .main-nav { display: none; position: absolute; top: 82px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 4px; padding: 22px 32px; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 15px 20px #38242d0b; font-size: 14px; }
  .main-nav.is-open { display: flex; }
  .main-nav .button { align-self: flex-start; margin-top: 12px; }
  .nav-user { max-width: none; padding-block: 10px; }
  .hero { grid-template-columns: 1fr; padding-top: 48px; gap: 28px; }
  .hero-copy { max-width: 600px; }
  .hero h1 { font-size: 86px; }
  .hero-description { font-size: 15px; }
  .hero-art { width: min(550px, 96%); height: 460px; margin: 15px auto 0; }
  .hero .button { font-size: 13px; }
  .code-body { font-size: 12px; padding-inline: 20px; }
  .code-comment { font-size: 10px; }
  .code-line { gap: 18px; }
  .art-caption { font-size: 15px; }
  .values-strip > div { flex-wrap: wrap; justify-content: center; column-gap: 25px; row-gap: 7px; font-size: 9px; }
  .values-strip span:last-child { display: none; }
  .section { padding-block: 65px; }
  .section-first { padding-top: 15px; }
  .section-heading { gap: 24px; }
  .opportunity-card { padding: 25px; }
  .opportunity-card h3 { font-size: 26px; }
  .card-top .eyebrow { font-size: 8px; }
  .card-top .circle-arrow { width: 28px; height: 28px; font-size: 16px; }
  .card-illustration { height: 140px; }
  .challenge-illustration { font-size: 60px; gap: 10px; }
  .challenge-illustration .asterisk { font-size: 75px; }
  .hack-illustration { gap: 14px; }
  .idea-box, .build-box { font-size: 20px; padding: 8px 12px; }
  .story-grid { gap: 35px; }
  .story-grid h2 { font-size: 54px; }
  .story-copy > p:first-of-type { font-size: 17px; }
  .story-copy > p { font-size: 13px; }
  .team-grid { gap: 16px; }
  .member-caption h3 { font-size: 18px; }
  .join-banner { padding: 32px; margin-bottom: 65px; }
  .join-banner h2 { font-size: 35px; }
  .join-spark { left: 43%; }
  .footer-top { gap: 30px; grid-template-columns: 1fr 1fr; }
  .footer-top > div:first-child { grid-column: 1/-1; }
  .competition-notice { flex-wrap: wrap; gap: 15px; }
  .competition-notice > div { flex: 1; }
  .competition-notice .text-link { margin-left: 63px; }
  .archive-row { gap: 20px; grid-template-columns: 30px 1.1fr 1fr 35px; }
  .archive-row h3 { font-size: 27px; }
  .question-levels { gap: 12px; }
  .level-panel { padding: 24px 18px; }
  .level-panel h3 { font-size: 22px; }
  .winners-grid { gap: 15px; }
  .winner-panel { padding: 20px; }
  .hackathon-layout { gap: 35px; grid-template-columns: .8fr 1fr; }
  .event-poster { padding: 16px; }
  .award-grid { grid-template-columns: repeat(3,1fr); }
  .auth-layout { gap: 35px; }
  .auth-story h1 { font-size: 65px; }
  .auth-panel { padding: 25px; }
  .auth-art { font-size: 95px; gap: 10px; }
  .auth-art .auth-star { font-size: 105px; }
  .challenge-layout { grid-template-columns: 1.3fr 1fr; gap: 20px; }
  .problem-body, .submission-panel { padding: 22px; }
  .sample-grid { grid-template-columns: 1fr; gap: 0; }
  .scoreboard-layout { gap: 25px; grid-template-columns: 1.5fr 1fr; }
  .scoreboard-aside { padding: 22px; }
  .scoreboard-heading { align-items: flex-start; flex-direction: column; gap: 12px; }
}
@media (max-width: 600px) {
  .container { width: calc(100% - 40px); }
  .hero { padding-top: 36px; padding-bottom: 40px; }
  .hero-copy > .eyebrow { font-size: 9px; margin-bottom: 23px; }
  .hero h1 { font-size: clamp(61px, 15vw, 86px); }
  .hero-description { font-size: 13px; margin-top: 24px; }
  .desktop-break { display: none; }
  .hero .button-row { gap: 20px; }
  .hero .button { font-size: 12px; }
  .hero-footnote { margin-top: 25px; }
  .hero-art { height: 370px; width: 100%; margin-top: 18px; overflow: clip; }
  .hero-art::before { left: 7px; }
  .art-orbit { max-width: 100%; }
  .code-window { width: 94%; }
  .window-bar { height: 35px; font-size: 9px; padding-inline: 12px; }
  .code-body { font-size: 9px; padding: 20px 12px 8px; }
  .code-comment { font-size: 8px; margin-left: 22px; }
  .code-line { gap: 10px; }
  .line-number { font-size: 8px; }
  .code-toolbar { padding: 9px 12px; }
  .run-demo { font-size: 9px; padding: 7px; }
  .code-output { font-size: 8px; min-height: 57px; padding: 12px; }
  .belong-sticker { width: 90px; height: 90px; top: -4px; right: 0; padding: 20px 15px; font-size: 16px; }
  .belong-sticker span { font-size: 20px; bottom: 22px; right: 8px; }
  .art-spark { font-size: 70px; top: -9px; left: 12px; }
  .art-caption { font-size: 11px; bottom: 17px; left: 20px; }
  .floating-braces { font-size: 60px; }
  .values-strip > div { font-size: 8px; gap: 8px 17px; }
  .values-strip span[aria-hidden] { font-size: 16px; }
  .values-strip span:nth-last-child(2) { display: none; }
  .section { padding-block: 48px; }
  .section-first { padding-top: 0; }
  .section-heading { flex-direction: column; align-items: flex-start; gap: 18px; margin-bottom: 27px; }
  .section-heading h2 { font-size: 36px; }
  .opportunity-grid { grid-template-columns: 1fr; gap: 18px; }
  .opportunity-card { padding: 24px; }
  .card-top .eyebrow { font-size: 9px; }
  .card-illustration { height: 145px; }
  .opportunity-card h3 { font-size: 30px; }
  .story-section { padding-block: 50px; }
  .story-grid { grid-template-columns: 1fr; gap: 25px; }
  .story-grid h2 { font-size: 56px; }
  .story-copy { padding-top: 10px; }
  .story-star { display: none; }
  .story-copy > p:first-of-type { font-size: 19px; }
  .story-copy > p { max-width: none; font-size: 14px; }
  .team-grid { grid-template-columns: 1fr; gap: 30px; }
  .team-grid--director > .team-member { grid-column: 1; }
  .member-caption h3 { font-size: 23px; }
  .join-banner { width: calc(100% - 40px); margin-bottom: 50px; padding: 30px 25px; flex-direction: column; align-items: flex-start; gap: 25px; }
  .join-banner h2 { font-size: 36px; position: relative; z-index: 1; }
  .join-banner .eyebrow { position: relative; z-index: 1; font-size: 9px; }
  .join-spark { font-size: 170px; left: auto; right: -40px; top: 75px; }
  .footer-top { grid-template-columns: 1fr; gap: 30px; padding-block: 35px; }
  .footer-bottom { flex-direction: column; gap: 6px; font-size: 8px; }
  .page-intro { padding-top: 40px; padding-bottom: 38px; }
  .page-intro h1 { font-size: 51px; }
  .page-intro > p:not(.eyebrow) { font-size: 14px; }
  .page-intro .eyebrow { font-size: 9px; }
  .competition-notice { padding: 22px; align-items: flex-start; }
  .notice-symbol { font-size: 35px; }
  .competition-notice h2 { font-size: 19px; }
  .competition-notice .text-link { margin-left: 50px; }
  .archive-row { grid-template-columns: 24px 1fr 33px; padding-block: 25px; gap: 13px; }
  .archive-row p { display: none; }
  .archive-row h3 { font-size: 28px; }
  .archive-row .eyebrow { font-size: 8px; }
  .archive-row .circle-arrow { width: 31px; height: 31px; }
  .question-levels, .winners-grid { grid-template-columns: 1fr; gap: 18px; }
  .level-panel { padding: 25px; }
  .level-number { margin-bottom: 15px; }
  .level-panel h3 { font-size: 27px; }
  .heading-spark { display: none; }
  .empty-state { padding-bottom: 65px; }
  .empty-state h2 { font-size: 27px; }
  .empty-state p { font-size: 13px; }
  .hackathon-layout { grid-template-columns: 1fr; gap: 35px; }
  .event-poster { max-width: 380px; margin-inline: auto; }
  .event-details h2 { font-size: 37px; }
  .award-grid { grid-template-columns: 1fr 1fr; }
  .award:last-child { grid-column: 1/-1; }
  .auth-layout { grid-template-columns: 1fr; gap: 35px; padding-block: 40px 55px; }
  .auth-story h1 { font-size: 66px; }
  .auth-story .eyebrow { font-size: 9px; }
  .auth-art, .auth-story > span.eyebrow { display: none; }
  .auth-panel { padding: 27px 23px; }
  .challenge-page { padding-top: 25px; padding-bottom: 50px; }
  .challenge-heading { flex-direction: column; align-items: flex-start; gap: 20px; }
  .challenge-heading h1 { font-size: 37px; }
  .challenge-layout { grid-template-columns: 1fr; }
  .problem-body { padding: 22px; }
  .result-panel { padding: 23px; }
  .result-panel h2 { font-size: 23px; }
  .scoreboard-layout { grid-template-columns: 1fr; }
  .scoreboard-heading { flex-direction: row; align-items: center; }
  .scoreboard-heading h2 { font-size: 25px; }
  .live-badge { font-size: 8px; }
  .scoreboard-aside { padding: 25px; }
  .aside-star { float: right; font-size: 50px; margin: 0 0 12px 15px; }
  .scoreboard-table th { font-size: 8px; padding: 13px; }
  .scoreboard-table td { padding: 15px 13px; font-size: 11px; overflow-wrap: anywhere; }
  .scoreboard-table td:first-child { width: 55px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

/* Fundraising and NGO partners */
.fundraising-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; padding-block: 70px 80px; }
.fundraising-intro .page-intro { width: 100%; padding: 0; }
.fundraising-intro h1 { font-size: clamp(42px, 5.7vw, 74px); }
.fundraising-intro .page-intro > p:not(.eyebrow) { max-width: 430px; }
.fundraising-intro .text-link { margin-top: 26px; }
.fundraising-total { padding: 35px; background: var(--deep); color: var(--paper); border-radius: 7px; box-shadow: 7px 7px 0 var(--petal); }
.fundraising-total-heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.fundraising-total-heading .eyebrow { color: var(--petal); letter-spacing: .13em; }
.fundraising-spark { font-size: 42px; line-height: 1; color: var(--petal); }
.fundraising-amount { font-family: var(--heading); font-size: clamp(48px, 5.4vw, 72px); letter-spacing: -.06em; line-height: 1.2; color: var(--paper); margin-top: 20px; font-weight: 600; }
.fundraising-amount > span { font-size: .4em; font-weight: 400; letter-spacing: -.02em; }
.fundraising-target { color: var(--blush); font-size: 14px; margin-top: 5px; }
.progress-caption { display: flex; justify-content: space-between; gap: 20px; margin-top: 35px; font-size: 12px; }
.progress-caption strong { color: var(--petal); font-family: var(--mono); }
.fundraising-progress { appearance: none; -webkit-appearance: none; display: block; border: 0; border-radius: 20px; width: 100%; height: 15px; margin-top: 12px; overflow: hidden; background: #8a4b65; color: var(--petal); }
.fundraising-progress::-webkit-progress-bar { background: #8a4b65; border-radius: 20px; }
.fundraising-progress::-webkit-progress-value { background: var(--petal); border-radius: 20px; }
.fundraising-progress::-moz-progress-bar { background: var(--petal); border-radius: 20px; }
.fundraising-scale { display: flex; justify-content: space-between; margin-top: 10px; font: 10px var(--mono); color: var(--blush); }
.fundraising-thanks { border-top: 1px solid #a16880; padding-top: 20px; margin-top: 28px; font-size: 12px; color: var(--blush); }
.partner-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 25px; }
.partner-panel { background: var(--blush); padding: 32px; border: 1px solid var(--line); border-radius: 6px; }
.partner-panel:nth-child(2) { background: #fce8ee; }
.partner-top { display: flex; justify-content: space-between; align-items: center; gap: 20px; color: var(--rose); }
.partner-top > span[aria-hidden] { font-size: 32px; line-height: 1; }
.partner-panel > h3 { font-size: 45px; letter-spacing: -.055em; color: var(--deep); margin-block: 35px; }
.partner-about { border-top: 1px solid #dab0c0; padding-top: 22px; }
.partner-about h4 { font-size: 18px; margin-bottom: 12px; }
.partner-about p { font-size: 13px; max-width: 360px; }
.partner-about .text-link { margin-top: 24px; }
.partner-unicef { display: flex; align-items: center; justify-content: center; padding: 24px; }
.partner-logo { width: min(100%, 300px); height: auto; margin-inline: auto; border-radius: 50%; }
@media (max-width: 850px) {
  .fundraising-intro { grid-template-columns: 1fr; gap: 35px; padding-block: 45px 65px; }
  .fundraising-intro h1 { font-size: 65px; }
  .fundraising-total { width: 100%; }
  .fundraising-amount { font-size: 72px; }
}
@media (max-width: 600px) {
  .fundraising-intro { padding-top: 35px; padding-bottom: 55px; }
  .fundraising-intro h1 { font-size: clamp(40px, 10.7vw, 56px); }
  .fundraising-total { padding: 25px; }
  .fundraising-amount { font-size: 57px; }
  .fundraising-target { font-size: 12px; }
  .progress-caption { font-size: 11px; }
  .partner-grid { grid-template-columns: 1fr; gap: 20px; }
  .partner-panel { padding: 26px; }
  .partner-panel > h3 { font-size: 40px; margin-block: 28px; }
}

/* Other initiatives and chapter map */
.cca-section { display: grid; grid-template-columns: 1fr 1fr; gap: 65px; align-items: center; padding-block: 20px 35px; }
.cca-copy > .eyebrow { color: var(--rose); margin-bottom: 20px; }
.cca-copy h2 { font-size: clamp(34px, 4vw, 50px); }
.cca-copy h2 span { color: var(--rose); }
.cca-copy > p:not(.eyebrow) { font-size: 14px; max-width: 430px; margin-top: 22px; }
.cca-notebook { background: var(--blush); border: 1px solid #ddb0c1; border-radius: 6px; padding: 30px; box-shadow: 6px 6px 0 var(--petal); }
.notebook-heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; color: var(--rose); }
.notebook-heading > span:last-child { font-size: 35px; line-height: 1; }
.notebook-title { font: 600 48px/1.2 var(--heading); letter-spacing: -.05em; color: var(--deep); margin-block: 25px; }
.notebook-title > span { color: var(--rose); }
.notebook-line { display: flex; gap: 20px; align-items: center; border-top: 1px solid #ddb0c1; padding-block: 13px; }
.notebook-line > span { font: 10px var(--mono); color: var(--rose); }
.notebook-line > p { font-size: 13px; color: var(--ink); }
.chapter-map-layout { display: grid; grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr); gap: 25px; align-items: start; }
.chapter-map-panel { background: var(--white); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.map-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 17px 20px; border-bottom: 1px solid var(--line); }
.map-toolbar .button { padding: 9px 12px; font-size: 11px; }
.chapter-map { height: 440px; width: 100%; background: #f1e9e9; isolation: isolate; z-index: 0; }
.chapter-map.leaflet-container { font-family: var(--body); }
.chapter-map .leaflet-control-attribution a, .chapter-map .leaflet-control-zoom a { color: var(--rose); }
.chapter-map .leaflet-popup-content { font-size: 12px; line-height: 1.7; }
.chapter-map .leaflet-popup-content strong { color: var(--deep); font-size: 14px; }
.chapter-map .leaflet-popup-content p { margin: 7px 0; }
.chapter-marker { background: transparent; border: 0; }
.chapter-pin { display: block; width: 27px; height: 27px; background: var(--rose); border: 2px solid white; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); box-shadow: 0 2px 5px #68264055; }
.chapter-pin::after { content: ''; display: block; width: 7px; height: 7px; border-radius: 50%; background: var(--paper); position: absolute; left: 8px; top: 8px; }
.map-caption { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 20px; padding: 13px 18px; font-size: 10px; color: var(--muted); border-top: 1px solid var(--line); }
.map-caption a { text-decoration: underline; }
.map-load-warning { background: var(--blush); color: var(--deep); padding: 14px 18px; font-size: 12px; }
.chapter-directory { padding: 27px; background: var(--blush); border: 1px solid var(--line); border-radius: 6px; }
.chapter-directory > .eyebrow { color: var(--rose); margin-bottom: 20px; }
.chapter-directory > h3 { font-size: 27px; margin-bottom: 20px; }
#chapter-map-status { color: var(--deep); font-size: 13px; font-weight: 600; }
#chapter-empty-message { font-size: 12px; margin-top: 12px; }
.chapter-list { list-style: none; padding: 0; margin: 18px 0 0; }
.chapter-list:empty { margin: 0; }
.chapter-list li + li { margin-top: 10px; }
.chapter-list button { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; background: var(--white); border: 1px solid #ddb0c1; border-radius: 4px; width: 100%; padding: 14px; text-align: left; }
.chapter-list button:hover { border-color: var(--rose); }
.chapter-list strong { color: var(--deep); font-size: 13px; overflow-wrap: anywhere; }
.chapter-list button > span { font-size: 11px; color: var(--muted); }
@media (min-width: 851px) and (max-width: 1000px) {
  .header-inner { min-height: 82px; }
  .menu-toggle { display: flex; gap: 12px; align-items: center; background: transparent; border: 1px solid #d5a0b5; color: var(--rose); border-radius: 4px; padding: 8px 12px; font-size: 12px; }
  .main-nav { display: none; position: absolute; top: 82px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 4px; padding: 22px 32px; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 15px 20px #38242d0b; font-size: 14px; }
  .main-nav.is-open { display: flex; }
  .main-nav .button { align-self: flex-start; margin-top: 12px; }
  .nav-user { max-width: none; padding-block: 10px; }
}
@media (max-width: 850px) {
  .cca-section { gap: 30px; }
  .cca-notebook { padding: 24px; }
  .notebook-title { font-size: 38px; }
  .chapter-map-layout { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .cca-section { grid-template-columns: 1fr; padding-top: 0; gap: 28px; }
  .cca-copy h2 { font-size: 37px; }
  .cca-notebook { padding: 23px; }
  .notebook-title { font-size: 39px; }
  .map-toolbar { padding: 14px; gap: 10px; }
  .map-toolbar .eyebrow { font-size: 8px; }
  .map-toolbar .button { font-size: 10px; padding: 8px; }
  .chapter-map { height: 350px; }
  .map-caption { font-size: 9px; }
  .chapter-directory { padding: 24px; }
}

/* Informational homepage: navigation stays in the header. */
.eyebrow.home-section-title { font: 600 clamp(24px, 2.7vw, 34px)/1.2 var(--heading); letter-spacing: .025em; }
.section-heading .home-section-title { margin-bottom: 0; }
.home-initiatives { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 40px; }
.home-initiative { border-top: 1px solid var(--line); padding-top: 27px; }
.home-initiative .eyebrow { color: var(--rose); margin-bottom: 15px; }
.home-initiative h3 { font-size: 27px; margin-bottom: 15px; }
.home-initiative > p:last-child { font-size: 13px; max-width: 430px; }
.home-fundraising { display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; gap: 70px; padding: 45px 48px; background: var(--deep); color: var(--paper); border-radius: 6px; }
.home-fundraising .eyebrow { color: var(--petal); }
.home-fundraising h2 { margin-top: 18px; }
.home-fundraising-copy > p:not(.eyebrow) { color: var(--blush); font-size: 13px; max-width: 360px; margin-top: 20px; }
.home-fundraising-copy .home-partner-names { color: var(--paper); font-family: var(--heading); font-size: 22px; margin-top: 26px; }
.home-partner-names > span:first-child { display: block; font: 9px var(--mono); letter-spacing: .1em; margin-bottom: 8px; color: var(--petal); }
.home-partner-names > span[aria-hidden] { padding-inline: 12px; color: var(--petal); }
.home-fundraising-progress .fundraising-amount { margin-top: 8px; }
.footer-top { grid-template-columns: 1.5fr 1fr; }
.footer-top .footer-wordmark { font-size: 32px; color: var(--rose); }
@media (max-width: 850px) {
  .home-fundraising { gap: 35px; padding: 35px; }
  .home-fundraising h2 { font-size: 36px; }
  .home-fundraising .fundraising-amount { font-size: 55px; }
  .footer-top > div:first-child { grid-column: auto; }
}
@media (max-width: 600px) {
  .home-initiatives { grid-template-columns: 1fr; gap: 28px; margin-top: 30px; }
  .home-initiative h3 { font-size: 25px; }
  .home-fundraising { grid-template-columns: 1fr; padding: 28px; gap: 30px; }
  .home-fundraising-progress { border-top: 1px solid #a16880; padding-top: 25px; }
  .home-fundraising .progress-caption { margin-top: 25px; }
  .footer-top { grid-template-columns: 1fr; }
}
@media (max-width: 1100px) {
  .hero { overflow: clip; overflow-clip-margin: 12px; }
}

/* Contact inquiries and partnerships. */
.contact-intro > p:not(.eyebrow) { max-width: 560px; }
.contact-email { display: inline-block; margin-top: 24px; color: var(--rose); font-size: clamp(17px, 2.2vw, 25px); overflow-wrap: anywhere; text-decoration: underline; text-underline-offset: 5px; }
.contact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.contact-card { display: flex; flex-direction: column; align-items: flex-start; padding: 30px; border: 1px solid var(--line); border-radius: 7px; background: var(--white); }
.contact-card:nth-child(2) { background: var(--blush); }
.contact-card > .eyebrow { color: var(--rose); margin-bottom: 24px; }
.contact-card h2 { font-size: 28px; letter-spacing: -.035em; }
.contact-card > p:not(.eyebrow) { margin-block: 18px 28px; font-size: 14px; }
.contact-card .text-link { margin-top: auto; }
.contact-note { margin-top: 28px; font-size: 13px; }
.contact-note a { color: var(--rose); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 1000px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-card { padding: 26px; }
}

/* Events groups the competition and hackathon archives. */
.nav-events { position: relative; }
.nav-events > summary { display: flex; align-items: center; gap: 7px; list-style: none; padding-block: 10px; border-bottom: 1px solid transparent; cursor: pointer; }
.nav-events > summary::-webkit-details-marker { display: none; }
.nav-events > summary:hover, .nav-events.is-current > summary, .nav-events[open] > summary { color: var(--rose); border-bottom-color: var(--rose); }
.nav-events > summary > span { display: inline-block; transition: transform .15s; }
.nav-events[open] > summary > span { transform: rotate(180deg); }
.events-dropdown { position: absolute; top: calc(100% + 8px); left: -16px; width: 190px; padding: 8px; border: 1px solid var(--line); border-radius: 5px; background: var(--white); box-shadow: 0 8px 20px #68264015; }
.events-dropdown a { display: block; padding: 11px 12px; border-radius: 3px; font-size: 12px; }
.events-dropdown a:hover, .events-dropdown a[aria-current] { background: var(--blush); color: var(--rose); }
@media (max-width: 1000px) {
  .events-dropdown { position: static; width: 100%; margin-top: 4px; box-shadow: none; background: var(--paper); border: 0; border-left: 2px solid var(--petal); border-radius: 0; padding: 2px 0 2px 12px; }
  .events-dropdown a { font-size: 13px; }
}
