:root {
  --ink: #17201e;
  --forest: #173f37;
  --forest-2: #22594d;
  --paper: #f4f1e9;
  --card: #fffdf8;
  --soft: #eeebe2;
  --line: #d8d4c9;
  --muted: #67706c;
  --lime: #c9f43f;
  --violet: #6257df;
  --coral: #f47f65;
  --sky: #74c4d6;
  --shadow: 0 28px 85px rgba(20, 49, 42, .14);
  color-scheme: light;
  font-family: "Alexandria", "Segoe UI", Tahoma, sans-serif;
}

* { box-sizing: border-box; }
html { max-width: 100%; overflow-x: clip; scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  max-width: 100%;
  overflow-x: clip;
  color: var(--ink);
  font-family: "Alexandria", "Segoe UI", Tahoma, sans-serif;
  font-weight: 500;
  background:
    radial-gradient(circle at 7% 12%, rgba(201, 244, 63, .23), transparent 24rem),
    radial-gradient(circle at 94% 28%, rgba(98, 87, 223, .08), transparent 28rem),
    linear-gradient(rgba(23, 63, 55, .027) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 63, 55, .027) 1px, transparent 1px), var(--paper);
  background-size: auto, auto, 34px 34px, 34px 34px, auto;
}
button, input, select, textarea { font: inherit; }
button, label, select { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }

.topbar { width: min(1180px, calc(100% - 40px)); height: 82px; margin: auto; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(23, 63, 55, .14); }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--forest); font: 800 1.08rem/1 "Alexandria", sans-serif; text-decoration: none; letter-spacing: -.04em; }
.brand-mark { width: 36px; height: 36px; padding: 7px; display: grid; place-items: center; color: var(--lime); background: var(--forest); border-radius: 12px; transform: rotate(4deg); }
.brand-mark svg { width: 100%; fill: currentColor; }
.topbar-label { display: inline-flex; align-items: center; gap: 9px; padding: 8px 12px; color: var(--forest); background: rgba(255,255,255,.45); border: 1px solid rgba(23,63,55,.14); border-radius: 999px; font-size: .76rem; font-weight: 700; }
.topbar-label span { width: 8px; height: 8px; background: #46a267; border-radius: 50%; box-shadow: 0 0 0 4px rgba(70,162,103,.14); }
main { width: min(1180px, calc(100% - 40px)); min-width: 0; margin: auto; }

.intro { min-height: 610px; padding: 88px 0 104px; display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 60px; align-items: center; }
.intro-copy { min-width: 0; padding-inline: 44px 0; }
.eyebrow { margin: 0 0 22px; color: var(--forest); font: 700 .72rem/1.6 "Alexandria", sans-serif; letter-spacing: .04em; }
.eyebrow::before { content: ""; display: inline-block; width: 28px; height: 4px; margin-left: 10px; vertical-align: middle; background: var(--coral); border-radius: 99px; }
.intro h1 { max-width: 100%; margin: 0; font: 800 clamp(2.75rem, 3.4vw, 3.85rem)/1.5 "Alexandria", sans-serif; letter-spacing: -.045em; }
.intro h1 span, .intro h1 em { display: block; white-space: nowrap; }
.intro h1 em { position: relative; z-index: 0; width: max-content; max-width: 100%; margin-top: 8px; color: var(--forest); font-style: normal; }
.intro h1 em::after { content: ""; position: absolute; z-index: -1; right: -1.5%; bottom: 3px; width: 103%; height: 18%; background: var(--lime); border-radius: 6px; transform: rotate(-.7deg); }
.intro-text { max-width: 710px; margin: 38px 0 0; color: #46534f; font-size: 1rem; font-weight: 500; line-height: 2.05; }
.intro-points { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 28px; }
.intro-points span { padding: 9px 13px 9px 16px; display: inline-flex; align-items: center; gap: 8px; background: rgba(255,253,248,.72); border: 1px solid rgba(23,63,55,.16); border-radius: 999px; font-size: .72rem; font-weight: 700; }
.intro-points b { color: var(--coral); font: 800 .63rem/1 Arial, sans-serif; }

.intro-art { position: relative; width: 360px; height: 360px; margin: auto; }
.art-ring { position: absolute; inset: 40px; border: 1px dashed rgba(23,63,55,.38); border-radius: 50%; }
.art-ring::before, .art-ring::after { content: ""; position: absolute; inset: 41px; border: 1px solid rgba(23,63,55,.13); border-radius: 50%; }
.art-ring::after { inset: 89px; background: rgba(255,255,255,.45); }
.art-center { position: absolute; inset: 50%; width: 104px; height: 104px; margin: -52px; display: grid; place-content: center; color: var(--lime); background: var(--forest); border: 5px solid var(--paper); border-radius: 50%; font: 800 2.25rem/.7 Arial, sans-serif; text-align: center; box-shadow: 0 14px 35px rgba(23,63,55,.22); }
.art-center small { color: white; font-size: .56rem; letter-spacing: .15em; }
.art-card { position: absolute; width: 132px; height: 82px; padding: 16px; display: flex; flex-direction: column; justify-content: center; border: 2px solid var(--ink); border-radius: 17px; box-shadow: 7px 8px 0 var(--ink); font-family: Arial, sans-serif; transform: rotate(var(--angle)); }
.art-card b { font-size: 1.08rem; letter-spacing: -.04em; }
.art-card small { margin-top: 5px; font-size: .55rem; font-weight: 700; letter-spacing: .12em; }
.card-people { --angle: -6deg; top: 12px; right: 18px; background: var(--lime); }
.card-media { --angle: 5deg; top: 72px; left: 0; color: white; background: var(--violet); }
.card-events { --angle: 4deg; bottom: 23px; right: 12px; background: var(--coral); }
.card-ops { --angle: -5deg; bottom: 62px; left: 22px; background: var(--sky); }

.deadline-banner { position: relative; margin: -22px 0 20px; padding: 24px 27px; display: grid; grid-template-columns: minmax(250px,1fr) auto minmax(240px,.8fr); gap: 25px; align-items: center; overflow: hidden; color: white; background: radial-gradient(circle at 4% 120%, rgba(201,244,63,.22), transparent 15rem), linear-gradient(150deg, transparent 68%, rgba(255,255,255,.035) 68%), var(--forest); border: 1px solid rgba(255,255,255,.1); border-radius: 23px; box-shadow: 0 22px 55px rgba(20,49,42,.17); }
.deadline-banner::after { content: ""; position: absolute; top: -70px; left: 46%; width: 150px; height: 150px; border: 1px dashed rgba(201,244,63,.22); border-radius: 50%; pointer-events: none; }
.deadline-copy, .countdown, .deadline-date { position: relative; z-index: 1; }
.deadline-live { display: inline-flex; align-items: center; gap: 8px; color: var(--lime); font-size: .61rem; font-weight: 800; }
.deadline-live i { width: 8px; height: 8px; background: var(--lime); border-radius: 50%; box-shadow: 0 0 0 5px rgba(201,244,63,.13); animation: deadline-pulse 1.8s ease-in-out infinite; }
.deadline-copy h2 { margin: 9px 0 6px; font-size: 1.06rem; letter-spacing: -.025em; }
.deadline-copy p { margin: 0; color: rgba(255,255,255,.6); font: 600 .67rem/1.7 "Cairo", sans-serif; }
.countdown { direction: ltr; display: flex; align-items: center; gap: 7px; }
.countdown > i { color: rgba(255,255,255,.34); font: 800 1.1rem/1 Arial, sans-serif; }
.countdown-unit { width: 64px; min-height: 70px; display: grid; place-content: center; gap: 7px; color: white; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.13); border-radius: 14px; text-align: center; box-shadow: inset 0 1px 0 rgba(255,255,255,.05); }
.countdown-unit strong { color: var(--lime); font: 800 1.55rem/1 Arial, sans-serif; letter-spacing: .03em; }
.countdown-unit small { color: rgba(255,255,255,.62); font-size: .5rem; font-weight: 700; }
.deadline-date { padding: 12px; display: flex; align-items: center; gap: 12px; background: rgba(255,255,255,.055); border: 1px solid rgba(255,255,255,.11); border-radius: 15px; }
.deadline-calendar { flex: 0 0 auto; width: 42px; height: 42px; display: grid; place-items: center; color: var(--forest); background: var(--lime); border-radius: 12px; box-shadow: 0 7px 16px rgba(0,0,0,.12); transform: rotate(-2deg); }
.deadline-calendar svg { width: 23px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.deadline-date span:last-child { min-width: 0; }
.deadline-date small, .deadline-date b, .deadline-date em { display: block; }
.deadline-date small { color: rgba(255,255,255,.52); font-size: .5rem; }
.deadline-date b { margin-top: 4px; color: white; font-size: .69rem; }
.deadline-date em { margin-top: 5px; color: var(--lime); font-size: .53rem; font-style: normal; font-weight: 700; }
.deadline-banner.expired { background: #303c38; }
.deadline-banner.expired .deadline-live { color: var(--coral); }
.deadline-banner.expired .deadline-live i { background: var(--coral); box-shadow: 0 0 0 5px rgba(244,127,101,.13); animation: none; }
.deadline-banner.expired .countdown-unit strong { color: #aab3af; }
@keyframes deadline-pulse { 50% { opacity: .45; transform: scale(.82); } }
.completion-link { margin: 0 0 18px; padding: 15px 18px; display: grid; grid-template-columns: auto 1fr auto; gap: 13px; align-items: center; color: var(--forest); background: rgba(255,253,248,.78); border: 1px solid rgba(23,63,55,.15); border-radius: 16px; box-shadow: 0 9px 24px rgba(23,63,55,.06); text-decoration: none; transition: transform .18s, border-color .18s, background .18s; }
.completion-link:hover { background: white; border-color: var(--forest); transform: translateY(-2px); }
.completion-link-icon { width: 39px; height: 39px; display: grid; place-items: center; color: var(--forest); background: var(--lime); border-radius: 11px; font: 800 1rem/1 Arial, sans-serif; }
.completion-link b, .completion-link small { display: block; }
.completion-link b { font-size: .72rem; }
.completion-link small { margin-top: 5px; color: #68736f; font-size: .59rem; }
.completion-link em { padding: 9px 12px; color: white; background: var(--forest); border-radius: 10px; font-size: .61rem; font-style: normal; font-weight: 800; }

.application-shell, #family-application-form { min-width: 0; }
.application-shell { margin-bottom: 80px; display: grid; grid-template-columns: 314px minmax(0, 1fr); gap: 18px; align-items: start; background: transparent; }
.form-aside { position: sticky; top: 20px; min-height: 660px; padding: 48px 34px; color: white; background: radial-gradient(circle at 15% 92%, rgba(201,244,63,.17), transparent 15rem), linear-gradient(160deg, transparent 62%, rgba(255,255,255,.035) 62%), var(--forest); border-radius: 25px; box-shadow: 0 24px 70px rgba(20,49,42,.16); }
.aside-kicker { margin: 0 0 13px; color: var(--lime); font: 700 .68rem/1.7 "Alexandria", sans-serif; }
.form-aside h2 { margin: 0 0 15px; font: 800 1.72rem/1.45 "Alexandria", sans-serif; letter-spacing: -.045em; }
.form-aside > p:not(.aside-kicker):not(.privacy-note) { margin: 0; color: rgba(255,255,255,.66); font-size: .81rem; line-height: 1.95; }
.form-steps { margin: 38px 0 0; padding: 0; display: grid; gap: 10px; list-style: none; }
.form-steps li { position: relative; min-height: 76px; padding: 13px; display: flex; align-items: flex-start; gap: 13px; color: rgba(255,255,255,.58); background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.08); border-radius: 15px; transition: color .2s, background .2s, border-color .2s, transform .2s; }
.form-steps li:not(:last-child)::after { display: none; }
.form-steps li > span { flex: 0 0 auto; width: 31px; height: 31px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.24); border-radius: 10px; font: 800 .61rem/1 Arial, sans-serif; }
.form-steps .active { color: white; background: linear-gradient(135deg, rgba(201,244,63,.14), rgba(255,255,255,.055)); border-color: rgba(201,244,63,.42); transform: translateX(-3px); }
.form-steps .active > span { color: var(--forest); background: var(--lime); border-color: var(--lime); box-shadow: 0 6px 16px rgba(201,244,63,.18); }
.form-steps b, .form-steps small { display: block; }
.form-steps b { margin-top: 1px; font-size: .81rem; }
.form-steps small { margin-top: 5px; color: inherit; font-size: .64rem; }
.privacy-note { margin: 18px 0 0; padding-top: 21px; display: flex; gap: 9px; color: rgba(255,255,255,.48); border-top: 1px solid rgba(255,255,255,.1); font-size: .66rem; line-height: 1.8; }
.privacy-note svg { flex: 0 0 auto; width: 17px; fill: none; stroke: var(--lime); stroke-width: 1.6; }

.form-panel { min-width: 0; padding: 24px; background: var(--soft); border: 1px solid rgba(23,63,55,.12); border-radius: 30px; box-shadow: var(--shadow); }
.form-section { width: 100%; min-width: 0; min-inline-size: 0; margin: 0; padding: 42px 44px 46px; overflow: hidden; background: var(--card); border: 1px solid rgba(23,63,55,.09); border-radius: 23px; }
.form-section + .form-section { margin-top: 18px; border-top: 1px solid rgba(23,63,55,.09); }
.form-section legend { float: right; width: 100%; margin: 0 0 9px; padding: 0; color: var(--forest); font: 800 1.34rem/1.55 "Alexandria", sans-serif; letter-spacing: -.035em; }
.form-section legend span { margin-left: 9px; color: var(--coral); font: 800 .65rem/1 Arial, sans-serif; }
.section-description { clear: both; max-width: 680px; margin: 0 0 30px; color: #53605b; font-size: .84rem; font-weight: 600; line-height: 1.95; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; margin-top: 18px; }
.field { position: relative; min-width: 0; }
.group-field { margin-top: 20px; }
.field label, .field-label { display: block; margin-bottom: 9px; color: #26473e; font-size: .78rem; font-weight: 700; }
.field > label > b, .field-label > b { color: var(--coral); }
.optional-field { margin-right: 6px; padding: 3px 7px; display: inline-block; color: #60706a; background: #f0f2ed; border: 1px solid #dce1da; border-radius: 999px; font-size: .54rem; font-weight: 700; vertical-align: middle; }
.field input, .field select, .field textarea { width: 100%; color: var(--ink); background: #faf9f4; border: 1px solid #d8d6ce; border-radius: 12px; outline: none; transition: border-color .18s, box-shadow .18s, background .18s; }
.field input, .field select { height: 56px; padding: 0 16px; font-size: .78rem; }
.address-field { margin-top: 17px; }
.birth-date-selector { padding: 10px; background: linear-gradient(135deg, rgba(201,244,63,.12), rgba(255,255,255,.96) 48%), #faf9f4; border: 1px solid rgba(23,63,55,.22); border-radius: 14px; box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 6px 16px rgba(23,63,55,.05); transition: border-color .18s, box-shadow .18s; }
.birth-date-selector:focus-within { border-color: var(--forest); box-shadow: 0 0 0 4px rgba(23,63,55,.08), 0 8px 20px rgba(23,63,55,.08); }
.birth-date-head { margin-bottom: 9px; display: flex; align-items: center; gap: 8px; color: var(--forest); }
.birth-date-head strong { font-size: .66rem; font-weight: 800; }
.birth-date-icon { width: 29px; height: 29px; display: grid; place-items: center; color: var(--forest); background: var(--lime); border: 1px solid rgba(23,63,55,.14); border-radius: 9px; box-shadow: 0 4px 10px rgba(23,63,55,.11); transform: rotate(-2deg); }
.birth-date-icon svg { width: 17px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.birth-date-parts { display: grid; grid-template-columns: .82fr 1.2fr 1fr; gap: 6px; }
.birth-date-part { min-width: 0; margin: 0 !important; }
.birth-date-part > span { margin: 0 4px 5px 0; display: block; color: #65736e; font-size: .52rem; font-weight: 700; }
.field .birth-date-part select { height: 45px; padding: 0 9px 0 24px; color: var(--forest); background-color: white; background-position: 13px 20px, 9px 20px; background-size: 4px 4px, 4px 4px; border-color: #d6dad4; border-radius: 10px; font-size: .65rem; font-weight: 800; cursor: pointer; }
.field .birth-date-part select:valid { background-color: #f6fbe8; border-color: rgba(85,119,50,.4); }
.field .birth-date-part select:focus { background-color: white; box-shadow: 0 0 0 3px rgba(23,63,55,.08); }
.date-input-hint { margin: 7px 3px 0 0; display: block; color: #78837e; font-size: .6rem; font-weight: 600; }
.field textarea { min-height: 158px; padding: 18px 18px 34px; resize: none; font-size: .84rem; line-height: 2; }
.field input::placeholder, .field textarea::placeholder { color: #89918d; opacity: 1; }
.field select { appearance: none; cursor: pointer; background-image: linear-gradient(45deg, transparent 50%, var(--forest) 50%), linear-gradient(135deg, var(--forest) 50%, transparent 50%); background-position: 18px 24px, 13px 24px; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--forest); background: white; box-shadow: 0 0 0 4px rgba(23,63,55,.08); }
.field input:user-invalid, .field select:user-invalid, .field textarea:user-invalid { border-color: #d45d4c; }

.department-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }
.department-options label { min-width: 0; margin: 0; cursor: pointer; }
.department-options input { position: absolute; opacity: 0; pointer-events: none; }
.department-options span { position: relative; min-height: 76px; padding: 8px 5px 9px; display: grid; place-content: center; gap: 3px; overflow: hidden; color: #53605b; background: var(--country-soft); border: 1px solid var(--country-border); border-radius: 12px; text-align: center; transition: transform .18s, color .18s, border-color .18s, background .18s, box-shadow .18s; }
.department-options label:nth-child(1) { --country: #242424; --country-soft: #fff8dd; --country-border: #dfc96e; }
.department-options label:nth-child(2) { --country: #173b70; --country-soft: #eef4ff; --country-border: #aebfde; }
.department-options label:nth-child(3) { --country: #9d301f; --country-soft: #fff3d9; --country-border: #e2bd62; }
.department-options i, .department-options b, .department-options small { display: block; }
.department-options .country-flag { width: 25px; height: 16px; margin: 0 auto 2px; overflow: hidden; border: 1px solid rgba(20,30,27,.16); border-radius: 3px; box-shadow: 0 2px 5px rgba(20,30,27,.1); }
.flag-de { background: linear-gradient(#171717 0 33.33%, #d92331 33.33% 66.66%, #f3c623 66.66%); }
.flag-es { background: linear-gradient(#aa151b 0 25%, #f1bf00 25% 75%, #aa151b 75%); }
.flag-gb { background: linear-gradient(33deg, transparent 42%, #fff 42% 47%, #c8102e 47% 53%, #fff 53% 58%, transparent 58%), linear-gradient(-33deg, transparent 42%, #fff 42% 47%, #c8102e 47% 53%, #fff 53% 58%, transparent 58%), linear-gradient(90deg, transparent 39%, #fff 39% 45%, #c8102e 45% 55%, #fff 55% 61%, transparent 61%), linear-gradient(transparent 34%, #fff 34% 42%, #c8102e 42% 58%, #fff 58% 66%, transparent 66%), #173b70; }
.department-options b { color: var(--country); font-size: .72rem; font-weight: 800; }
.department-options small { color: #8a918d; font: 700 .48rem/1.3 Arial, sans-serif; letter-spacing: .04em; }
.department-options label:hover span { transform: translateY(-2px); border-color: var(--country); box-shadow: 0 7px 17px rgba(23,63,55,.07); }
.department-options input:focus-visible + span { outline: 3px solid rgba(23,63,55,.2); outline-offset: 2px; }
.department-options input:checked + span { color: var(--country); background: var(--country-soft); border-color: var(--country); box-shadow: inset 0 0 0 1px var(--country), 0 8px 18px rgba(23,63,55,.08); }
.department-options input:checked + span::after { content: "✓"; position: absolute; top: 6px; left: 6px; width: 17px; height: 17px; display: grid; place-items: center; color: white; background: var(--country); border-radius: 50%; font: 800 .54rem/1 Arial, sans-serif; }
.department-options input:checked + span small { color: var(--country); }

.segment-control { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.segment-control label { margin: 0; cursor: pointer; }
.segment-control input { position: absolute; opacity: 0; pointer-events: none; }
.segment-control span { min-height: 68px; padding: 9px 5px; display: grid; place-content: center; gap: 5px; background: #f8f7f2; border: 1px solid #d9d7cf; border-radius: 13px; text-align: center; transition: .18s; }
.segment-control span b { font: 800 1rem/1 Arial, sans-serif; }
.segment-control span small { color: #8a918d; font-size: .58rem; font-weight: 600; }
.segment-control label:hover span { transform: translateY(-2px); border-color: var(--forest); }
.segment-control input:focus-visible + span { outline: 3px solid rgba(23,63,55,.2); outline-offset: 2px; }
.segment-control label:nth-child(1) input:checked + span { color: white; background: var(--violet); border-color: var(--violet); }
.segment-control label:nth-child(2) input:checked + span { color: var(--ink); background: var(--lime); border-color: var(--forest); }
.segment-control label:nth-child(3) input:checked + span { color: var(--ink); background: var(--coral); border-color: var(--ink); }
.segment-control label:nth-child(4) input:checked + span { color: var(--ink); background: var(--sky); border-color: var(--ink); }
.segment-control input:checked + span small { color: currentColor; opacity: .72; }

.committee-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.committee-card { position: relative; min-width: 0; min-height: 220px; padding: 23px; display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 16px; align-items: start; overflow: hidden; background: #faf9f5; border: 1px solid #d8d5cc; border-radius: 18px; cursor: pointer; transition: transform .18s, border-color .18s, box-shadow .18s, background .18s; }
.committee-card::after { content: ""; position: absolute; inset: auto 0 0; height: 5px; background: var(--accent); opacity: 0; }
.committee-card:nth-child(1) { --accent: var(--lime); }
.committee-card:nth-child(2) { --accent: var(--sky); }
.committee-card:nth-child(3) { --accent: var(--coral); }
.committee-card:nth-child(4) { --accent: var(--violet); }
.committee-card:hover { transform: translateY(-3px); border-color: rgba(23,63,55,.45); box-shadow: 0 13px 28px rgba(23,63,55,.09); }
.committee-card > input { position: absolute; opacity: 0; pointer-events: none; }
.committee-card:has(input:checked) { background: white; border-color: var(--forest); box-shadow: inset 0 0 0 1px var(--forest), 0 12px 26px rgba(23,63,55,.09); }
.committee-card:has(input:checked)::after { opacity: 1; }
.committee-card:has(input:focus-visible) { outline: 3px solid rgba(23,63,55,.2); outline-offset: 2px; }
.committee-icon { width: 58px; height: 58px; display: grid; place-items: center; color: var(--forest); background: white; border: 1px solid rgba(23,63,55,.12); border-radius: 16px; box-shadow: 0 6px 14px rgba(23,63,55,.07); }
.committee-icon svg { width: 31px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.committee-icon .icon-accent { stroke: var(--accent); stroke-width: 2.5; }
.people-icon { --accent: #83b92d; }
.media-icon { --accent: #3d9ab1; }
.activities-icon { --accent: #d6654e; }
.operations-icon { --accent: #6257df; }
.committee-copy { min-width: 0; }
.committee-copy b, .committee-copy small, .committee-copy em { display: block; }
.committee-copy b { color: var(--ink); font: 700 .91rem/1.7 "Alexandria", sans-serif; }
.committee-copy small { margin-top: 1px; color: #868d89; font: 700 .57rem/1.5 Arial, sans-serif; letter-spacing: .06em; }
.committee-copy em { margin-top: 15px; color: #46534e; font: 500 .76rem/2 "Alexandria", sans-serif; }
.card-check { position: absolute; top: 13px; left: 13px; width: 23px; height: 23px; display: grid; place-items: center; color: transparent; border: 1px solid #c9cbc5; border-radius: 50%; font: 800 .66rem/1 Arial, sans-serif; }
.committee-card:has(input:checked) .card-check { color: var(--forest); background: var(--lime); border-color: var(--forest); }

.mindset-intro { margin-bottom: 20px; }
.question-card { position: relative; min-width: 0; margin-top: 14px; padding: 25px 25px 24px; background: #faf9f5; border: 1px solid #d9d6cd; border-radius: 18px; box-shadow: 0 7px 22px rgba(23,63,55,.035); }
.question-card:first-of-type { margin-top: 0; }
.scenario-card { background: #fff7f2; border-color: #ecd5ca; }
.question-number { display: none; }
.question-card .field label, .question-card .field-label { max-width: none; margin-bottom: 5px; font: 700 .9rem/1.75 "Alexandria", sans-serif; letter-spacing: -.02em; }
.question-hint { margin: 0 0 15px; color: #65706b; font: 500 .74rem/1.9 "Alexandria", sans-serif; }
.question-card textarea { color: #24342f; background: white; border-color: #cfcec7; font: 500 .84rem/2 "Alexandria", sans-serif; box-shadow: inset 0 1px 0 rgba(23,63,55,.025); }
.mindset-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; margin-top: 15px; }
.mindset-options label { margin: 0; cursor: pointer; }
.mindset-options input { position: absolute; opacity: 0; pointer-events: none; }
.mindset-options span { min-height: 116px; padding: 17px; display: block; background: #fcfcf9; border: 1px solid #d5d8d2; border-radius: 14px; transition: .18s; }
.mindset-options b, .mindset-options small { display: block; }
.mindset-options b { color: #1d5145; font: 800 .85rem/1.6 "Alexandria", sans-serif; }
.mindset-options small { margin-top: 8px; color: #4e5b56; font: 600 .7rem/1.9 "Alexandria", sans-serif; }
.mindset-options label:hover span { border-color: var(--forest); }
.mindset-options input:checked + span { background: #f1f9d8; border-color: var(--forest); box-shadow: inset 0 0 0 1px var(--forest); }
.mindset-options input:checked + span::before { content: "✓"; float: left; width: 19px; height: 19px; display: grid; place-items: center; color: var(--forest); background: var(--lime); border-radius: 50%; font: 800 .6rem/1 Arial, sans-serif; }
.mindset-options input:focus-visible + span { outline: 3px solid rgba(23,63,55,.2); outline-offset: 2px; }
.pressure-options { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-top: 14px; }
.pressure-options label, .availability-options label { margin: 0; cursor: pointer; }
.pressure-options input, .availability-options input { position: absolute; opacity: 0; pointer-events: none; }
.pressure-options span { min-height: 100px; padding: 17px; display: block; background: #fcfcf9; border: 1px solid #d5d8d2; border-radius: 14px; transition: .18s; }
.pressure-options b, .pressure-options small, .availability-options b, .availability-options small { display: block; }
.pressure-options b { color: #1d5145; font: 800 .85rem/1.6 "Alexandria", sans-serif; }
.pressure-options small { margin-top: 7px; color: #4e5b56; font: 600 .7rem/1.9 "Alexandria", sans-serif; }
.pressure-options label:hover span, .availability-options label:hover span { transform: translateY(-2px); border-color: var(--forest); }
.pressure-options input:checked + span { background: #edf6f3; border-color: var(--forest); box-shadow: inset 0 0 0 1px var(--forest); }
.pressure-options input:checked + span::before { content: "✓"; float: left; width: 19px; height: 19px; display: grid; place-items: center; color: white; background: var(--forest); border-radius: 50%; font: 800 .6rem/1 Arial, sans-serif; }
.pressure-options input:focus-visible + span, .availability-options input:focus-visible + span { outline: 3px solid rgba(23,63,55,.2); outline-offset: 2px; }
.availability-field { margin-top: 22px; }
.availability-field > .field-label { font: 700 .83rem/1.7 "Alexandria", sans-serif; }
.availability-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.availability-options span { min-height: 82px; padding: 13px; display: grid; place-content: center; gap: 5px; text-align: center; background: #f8f7f2; border: 1px solid #d8d6ce; border-radius: 13px; transition: .18s; }
.availability-options b { direction: ltr; unicode-bidi: isolate; color: var(--forest); font: 800 1.2rem/1 "Alexandria", sans-serif; }
.availability-options small { color: #5f6964; font-size: .66rem; font-weight: 600; }
.availability-options input:checked + span { color: var(--forest); background: var(--lime); border-color: var(--forest); box-shadow: inset 0 0 0 1px var(--forest); }
.availability-options input:checked + span small { color: var(--forest); }
.submission-zone { margin-top: 30px; padding-top: 26px; border-top: 1px dashed #d8d4c9; }
.consent-row { padding: 16px 17px; display: flex; align-items: center; gap: 13px; background: #f5f5ee; border: 1px solid #d8d8ce; border-radius: 13px; cursor: pointer; }
.consent-row input { position: absolute; opacity: 0; pointer-events: none; }
.consent-row > span { flex: 0 0 auto; width: 24px; height: 24px; display: grid; place-items: center; color: transparent; background: white; border: 1px solid #bdc4bf; border-radius: 7px; font: 800 .72rem/1 Arial, sans-serif; }
.consent-row input:checked + span { color: var(--forest); background: var(--lime); border-color: var(--forest); }
.consent-row input:focus-visible + span { outline: 3px solid rgba(23,63,55,.2); outline-offset: 2px; }
.consent-row em { color: #46534e; font: 600 .76rem/1.9 "Alexandria", sans-serif; }
.form-error { margin-top: 18px; padding: 13px 15px; color: #8a2c25; background: #fff0ed; border: 1px solid #efc5bd; border-radius: 11px; font-size: .74rem; line-height: 1.7; }
.submit-button { width: 100%; min-height: 59px; margin-top: 23px; padding: 0 22px; display: flex; align-items: center; justify-content: space-between; color: white; background: var(--forest); border: 0; border-radius: 13px; cursor: pointer; font-size: .8rem; font-weight: 800; box-shadow: 0 11px 24px rgba(23,63,55,.18); transition: transform .18s, background .18s, box-shadow .18s; }
.submit-button svg { width: 22px; fill: none; stroke: var(--lime); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.submit-button:hover { transform: translateY(-2px); background: var(--forest-2); box-shadow: 0 15px 32px rgba(23,63,55,.24); }
.submit-button:disabled { cursor: wait; opacity: .7; transform: none; }
.submit-hint { margin: 13px 0 0; color: #858b87; font-size: .64rem; text-align: center; }

.success-panel { padding: 72px 20px; text-align: center; }
.success-mark { width: 82px; height: 82px; margin: 0 auto 28px; display: grid; place-items: center; color: var(--forest); background: var(--lime); border: 2px solid var(--forest); border-radius: 24px; transform: rotate(-4deg); font: 800 2.2rem/1 Arial, sans-serif; box-shadow: 9px 10px 0 rgba(23,63,55,.12); }
.success-panel .eyebrow::before { display: none; }
.success-panel h2 { margin: 0; color: var(--forest); font: 800 2rem/1.5 "Alexandria", sans-serif; }
.success-panel > p:not(.eyebrow) { max-width: 520px; margin: 17px auto 0; color: var(--muted); font-size: .82rem; line-height: 1.9; }
.application-code { max-width: 430px; margin: 32px auto 0; padding: 16px 18px; display: grid; grid-template-columns: 1fr auto auto; gap: 14px; align-items: center; background: #f3f5e9; border: 1px dashed var(--forest); border-radius: 13px; text-align: right; }
.application-code span { color: #747c76; font-size: .65rem; }
.application-code strong { direction: ltr; color: var(--forest); font: 800 .9rem/1 Arial, sans-serif; letter-spacing: .06em; }
.application-code button { padding: 8px 11px; color: var(--forest); background: white; border: 1px solid #cfd2c8; border-radius: 8px; cursor: pointer; font-size: .65rem; font-weight: 700; }
.back-home { display: inline-block; margin-top: 28px; color: var(--forest); font-size: .72rem; font-weight: 700; text-underline-offset: 4px; }
footer { width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 30px 0 38px; display: flex; justify-content: space-between; color: #747c77; border-top: 1px solid rgba(23,63,55,.14); font-size: .67rem; }
footer span { color: var(--forest); font: 800 .72rem/1 "Alexandria", sans-serif; }
footer p { margin: 0; }

@media (max-width: 1100px) {
  .intro { grid-template-columns: 1fr; min-height: auto; padding: 62px 0 72px; }
  .intro-art { display: none; }
  .intro-copy { padding-inline: 0; }
  .intro h1 { max-width: 760px; }
  .application-shell { grid-template-columns: 1fr; }
  .form-aside { position: static; min-height: auto; padding: 34px; }
  .form-steps { margin-top: 28px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
  .form-steps li { min-height: 108px; padding: 14px; display: block; }
  .form-steps li:not(:last-child)::after { display: none; }
  .form-steps li > span { margin-bottom: 10px; }
  .form-steps .active { transform: translateY(-3px); }
  .privacy-note { display: none; }
  .deadline-banner { grid-template-columns: 1fr auto; }
  .deadline-date { grid-column: 1 / -1; width: max-content; max-width: 100%; }
}

@media (max-width: 700px) {
  .topbar, main, footer { width: min(100% - 24px, 1180px); }
  .topbar { height: 66px; }
  .brand { gap: 8px; font-size: .86rem; }
  .brand-mark { width: 32px; height: 32px; border-radius: 10px; }
  .topbar-label { padding: 7px 9px; gap: 7px; font-size: .61rem; }
  .intro { padding: 38px 2px 48px; }
  .eyebrow { margin-bottom: 17px; font-size: .59rem; }
  .eyebrow::before { width: 22px; height: 3px; margin-left: 7px; }
  .intro h1 { font-size: clamp(2.05rem, 10.4vw, 3.05rem); line-height: 1.48; letter-spacing: -.035em; }
  .intro h1 span, .intro h1 em { width: auto; white-space: normal; }
  .intro h1 em { margin-top: 3px; }
  .intro h1 em::after { right: 0; bottom: 2px; width: 100%; height: 15%; }
  .intro-text { margin-top: 25px; font-size: .82rem; line-height: 2; }
  .intro-points { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 23px; }
  .intro-points span { min-height: 40px; padding: 8px 10px; justify-content: center; font-size: .61rem; text-align: center; }
  .intro-points span:last-child { grid-column: 1 / -1; width: min(100%, 210px); justify-self: center; }
  .deadline-banner { margin: 0 0 12px; padding: 19px 13px; display: block; border-radius: 20px; }
  .deadline-copy { text-align: center; }
  .deadline-copy h2 { margin-top: 8px; font-size: .92rem; }
  .deadline-copy p { font-size: .61rem; }
  .countdown { margin-top: 16px; justify-content: center; gap: 4px; }
  .countdown > i { font-size: .8rem; }
  .countdown-unit { width: min(20vw,70px); min-height: 64px; border-radius: 12px; }
  .countdown-unit strong { font-size: 1.35rem; }
  .countdown-unit small { font-size: .46rem; }
  .deadline-date { width: 100%; margin-top: 13px; padding: 10px; justify-content: center; text-align: right; }
  .deadline-calendar { width: 38px; height: 38px; }
  .completion-link { margin-bottom: 12px; padding: 13px; grid-template-columns: auto 1fr; border-radius: 15px; }
  .completion-link-icon { width: 36px; height: 36px; }
  .completion-link b { font-size: .66rem; line-height: 1.55; }
  .completion-link small { font-size: .55rem; line-height: 1.6; }
  .completion-link em { grid-column: 1 / -1; text-align: center; }
  .application-shell { margin-bottom: 44px; gap: 12px; border-radius: 20px; }
  .form-aside { padding: 27px 16px 19px; border-radius: 20px; }
  .aside-kicker { margin-bottom: 8px; font-size: .62rem; }
  .form-aside h2 { margin-bottom: 10px; font-size: 1.35rem; }
  .form-aside > p:not(.aside-kicker):not(.privacy-note) { font-size: .72rem; line-height: 1.85; }
  .form-steps { grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 22px; overflow: visible; padding-bottom: 0; scroll-snap-type: none; }
  .form-steps li { min-width: 0; min-height: 82px; padding: 11px; scroll-snap-align: none; }
  .form-steps li > span { width: 28px; height: 28px; margin-bottom: 8px; }
  .form-steps .active { transform: none; }
  .form-steps b { font-size: .72rem; }
  .form-steps small { display: block; margin-top: 4px; font-size: .56rem; line-height: 1.5; }
  .form-panel { padding: 7px; border-radius: 20px; box-shadow: 0 17px 46px rgba(20,49,42,.1); }
  .form-section { padding: 27px 13px 31px; border-radius: 15px; }
  .form-section + .form-section { margin-top: 7px; }
  .form-section legend { margin-bottom: 6px; font-size: 1.04rem; }
  .section-description { margin-bottom: 23px; font-size: .75rem; line-height: 1.85; }
  .field-grid, .committee-grid { grid-template-columns: 1fr; }
  .field-grid { gap: 14px; margin-top: 15px; }
  .field label, .field-label { font-size: .73rem; }
  .field input, .field select { height: 52px; padding-inline: 14px; }
  .department-options { gap: 5px; }
  .department-options span { min-height: 72px; padding-inline: 3px; }
  .department-options b { font-size: .66rem; }
  .segment-control { grid-template-columns: 1fr 1fr; }
  .segment-control span { min-height: 62px; }
  .committee-grid { gap: 10px; }
  .committee-card { min-height: 0; padding: 17px; grid-template-columns: 48px minmax(0, 1fr); gap: 13px; border-radius: 15px; }
  .committee-icon { width: 48px; height: 48px; border-radius: 13px; }
  .committee-icon svg { width: 27px; }
  .committee-copy b { font-size: .82rem; }
  .committee-copy small { font-size: .53rem; }
  .committee-copy em { margin-top: 9px; font-size: .7rem; line-height: 1.9; }
  .card-check { top: 13px; left: 13px; width: 21px; height: 21px; }
  .mindset-options { grid-template-columns: 1fr; }
  .pressure-options { grid-template-columns: 1fr; }
  .mindset-options, .pressure-options { gap: 7px; margin-top: 12px; }
  .mindset-options span, .pressure-options span { min-height: auto; padding: 14px; }
  .mindset-options b, .pressure-options b { font-size: .78rem; }
  .mindset-options small, .pressure-options small { margin-top: 5px; font-size: .66rem; line-height: 1.8; }
  .question-card { padding: 20px 12px 18px; border-radius: 15px; }
  .question-number { top: 17px; left: 13px; font-size: .62rem; }
  .question-card .field label, .question-card .field-label { max-width: none; padding-left: 28px; font-size: .77rem; }
  .question-hint { margin-bottom: 13px; font-size: .67rem; line-height: 1.8; }
  .field textarea { min-height: 140px; padding: 15px 14px 31px; font-size: .77rem; line-height: 1.9; }
  .availability-options { gap: 6px; }
  .availability-options span { min-height: 74px; padding: 10px 5px; }
  .availability-options b { font-size: 1.03rem; }
  .availability-options small { font-size: .58rem; }
  .submission-zone { margin-top: 23px; padding-top: 20px; }
  .consent-row { align-items: flex-start; gap: 10px; padding: 13px; }
  .consent-row > span { width: 22px; height: 22px; }
  .consent-row em { font-size: .68rem; line-height: 1.85; }
  .submit-button { min-height: 55px; margin-top: 17px; padding-inline: 16px; font-size: .74rem; }
  .submit-hint { font-size: .58rem; line-height: 1.7; }
  .success-panel { padding: 46px 10px; }
  .success-panel h2 { font-size: 1.55rem; }
  .application-code { grid-template-columns: 1fr auto; }
  .application-code span { grid-column: 1 / -1; }
  footer { display: block; text-align: center; }
  footer p { margin-top: 8px; }

  /* Mobile-first presentation: compact, calm, and thumb-friendly. */
  body { -webkit-text-size-adjust: 100%; background-size: auto, auto, 28px 28px, 28px 28px, auto; }
  .intro {
    margin: 18px 0 14px;
    padding: 27px 20px 25px;
    overflow: hidden;
    color: white;
    background:
      radial-gradient(circle at 8% 100%, rgba(201,244,63,.22), transparent 11rem),
      linear-gradient(155deg, transparent 58%, rgba(255,255,255,.035) 58%),
      var(--forest);
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 24px;
    box-shadow: 0 18px 42px rgba(20,49,42,.16);
  }
  .eyebrow { color: var(--lime); }
  .intro h1 { color: white; font-size: clamp(1.95rem, 8.8vw, 2.32rem); line-height: 1.52; letter-spacing: -.025em; }
  .intro h1 span, .intro h1 em { white-space: normal; }
  .intro h1 em { width: max-content; max-width: 100%; color: white; }
  .intro h1 em::after { right: 0; bottom: 3px; width: 100%; height: 13%; }
  .intro-text { margin-top: 22px; color: rgba(255,255,255,.76); font-size: .76rem; line-height: 1.95; }
  .intro-points { margin-top: 20px; }
  .intro-points span { color: white; background: rgba(255,255,255,.065); border-color: rgba(255,255,255,.14); }
  .intro-points b { color: var(--lime); }

  .application-shell { gap: 11px; }
  .form-aside {
    padding: 21px 13px 13px;
    color: var(--forest);
    background: rgba(255,253,248,.9);
    border: 1px solid rgba(23,63,55,.12);
    border-radius: 20px;
    box-shadow: 0 13px 35px rgba(20,49,42,.08);
  }
  .aside-kicker { color: var(--coral); }
  .form-aside h2 { color: var(--forest); font-size: 1.22rem; }
  .form-aside > p:not(.aside-kicker):not(.privacy-note) { color: #64706b; font-size: .68rem; }
  .form-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin-top: 17px; }
  .form-steps li {
    min-height: 72px;
    padding: 8px 4px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 5px;
    color: #718079;
    background: #f5f4ed;
    border-color: #deded5;
    border-radius: 12px;
    text-align: center;
  }
  .form-steps li > span { width: 25px; height: 25px; margin: 0; color: #68756f; border-color: #c9cec9; border-radius: 8px; }
  .form-steps b { margin: 0; font-size: .59rem; line-height: 1.45; }
  .form-steps small { display: none; }
  .form-steps .active { color: white; background: var(--forest); border-color: var(--forest); box-shadow: 0 8px 18px rgba(23,63,55,.15); }
  .form-steps .active > span { color: var(--forest); }

  .form-panel { padding: 0; background: transparent; border: 0; border-radius: 0; box-shadow: none; }
  .form-section { padding: 25px 14px 29px; border-color: rgba(23,63,55,.1); border-radius: 19px; box-shadow: 0 12px 34px rgba(20,49,42,.07); }
  .form-section + .form-section { margin-top: 11px; }
  .question-card { background: white; box-shadow: 0 5px 16px rgba(23,63,55,.035); }
  .field input, .field select, .field textarea { background: white; }
  .committee-card { background: white; }
  .consent-row { background: white; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
