/* In2Change website styles
   Colours, type and spacing follow the redesign artboards. */

/* ---------- Fonts (self-hosted, no third-party requests) ---------- */
@font-face { font-family: "Montserrat"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/montserrat-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/montserrat-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-weight: 800; font-style: normal; font-display: swap; src: url("../fonts/montserrat-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/source-sans-3-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-weight: 400; font-style: italic; font-display: swap; src: url("../fonts/source-sans-3-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/source-sans-3-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/source-sans-3-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Comfortaa"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/comfortaa-latin-700-normal.woff2") format("woff2"); }

/* ---------- Tokens ---------- */
:root {
  --teal: #30B3AD;
  --teal-hover: #4CC3BD;
  --deep: #005B52;
  --ink: #0F1B1A;
  --night: #0C2321;
  --night-2: #12302D;
  --mist: #F3F7F6;
  --pale: #E6F4F3;
  --line: #E3EAE9;
  --line-2: #D5E0DE;
  --muted: #4A5C5A;
  --soft: #C5D3D1;
  --soft-2: #9FB4B1;
  --head: "Montserrat", system-ui, sans-serif;
  --body: "Source Sans 3", "Source Sans Pro", system-ui, sans-serif;
  --label: "Comfortaa", "Quicksand", system-ui, sans-serif;
  --radius: 20px;
  --radius-lg: 24px;
  --gutter: clamp(20px, 4vw, 32px);
  --section-y: clamp(64px, 9vw, 96px);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--body); font-size: 18px; line-height: 1.55; color: var(--ink); background: #FFFFFF; }
img { max-width: 100%; height: auto; display: block; }
picture { display: block; }
a { color: var(--deep); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
h1, h2, h3 { font-family: var(--head); color: inherit; margin: 0; }
h1 { font-weight: 800; font-size: clamp(38px, 5.2vw, 64px); line-height: 1.05; letter-spacing: -1px; }
h2 { font-weight: 800; font-size: clamp(30px, 3.6vw, 44px); line-height: 1.12; letter-spacing: -0.5px; }
h3 { font-weight: 700; font-size: 21px; line-height: 1.25; }
p { margin: 0; }
ul, ol { margin: 0; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; }
.container { width: 100%; max-width: 1264px; margin: 0 auto; padding-inline: var(--gutter); }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #FFF; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 12px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

/* Draft helpers (only appear in draft builds) */
.draft-bar { background: #FFF4C2; color: var(--ink); font-size: 14px; padding: 8px var(--gutter); text-align: center; }
.draft-bar code { background: rgba(0,0,0,.06); padding: 1px 5px; border-radius: 4px; }
mark.todo { color: inherit; border-radius: 4px; padding: 0 3px; }
mark.todo--fill { background: #FFE58A; box-shadow: 0 0 0 1px #E0B400 inset; }
mark.todo--check { background: #D6E9FF; box-shadow: 0 0 0 1px #7FB0E6 inset; }
.section--night mark.todo, .section--teal mark.todo { color: var(--ink); }

/* ---------- Labels, pills, lead text ---------- */
.eyebrow { display: block; font-family: var(--label); font-weight: 700; font-size: 14px; letter-spacing: 2px; text-transform: uppercase; color: var(--deep); }
.section--night .eyebrow { color: var(--teal); }
.lead { font-size: 20px; color: var(--muted); }
.section--night .lead { color: var(--soft); }
.muted { color: var(--muted); }
.small { font-size: 15px; }
.pill { display: inline-block; align-self: flex-start; font-family: var(--label); font-weight: 700; font-size: 13px; line-height: 1.2; padding: 6px 12px; border-radius: 999px; background: var(--pale); color: var(--deep); }
.pill--outline { background: transparent; border: 1.5px solid var(--teal); color: var(--teal); }
.pill--white { background: #FFFFFF; }
.pill-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; list-style: none; font-size: 15px; font-weight: 600; }
.chips li { background: var(--mist); padding: 9px 16px; border-radius: 999px; }
.section--mist .chips li { background: #FFFFFF; }
.section--night .chips li { background: transparent; border: 1px solid #3E5653; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 13px 24px; border-radius: 999px; border: 1.5px solid transparent; font-family: var(--label); font-weight: 700; font-size: 15px; line-height: 1.2; text-decoration: none; cursor: pointer; transition: background-color .2s, border-color .2s, color .2s; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--primary { background: var(--teal); color: var(--ink); }
.btn--primary:hover { background: var(--teal-hover); color: var(--ink); }
.btn--dark { background: var(--night); color: #FFFFFF; }
.btn--dark:hover { background: var(--ink); color: #FFFFFF; }
.btn--outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: #FFFFFF; }
.btn--outline-light { background: transparent; color: #FFFFFF; border-color: #5E7A77; }
.btn--outline-light:hover { border-color: #FFFFFF; color: #FFFFFF; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.text-link { font-family: var(--label); font-weight: 700; font-size: 15px; color: var(--deep); text-decoration: none; }
.text-link:hover { text-decoration: underline; color: var(--deep); }
.section--night .text-link { color: #FFFFFF; border-bottom: 2px solid var(--teal); padding-bottom: 3px; }

/* ---------- Top bar and header ---------- */
.topbar { background: var(--night); color: var(--soft); font-size: 14px; }
.topbar__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 24px; padding-block: 9px; }
.topbar a { color: #FFFFFF; font-weight: 600; text-decoration: none; }
.site-header { position: sticky; top: 0; z-index: 50; background: #FFFFFF; border-bottom: 1px solid var(--line); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 80px; }
.site-header__logo img { height: 48px; width: auto; }
.nav-toggle { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 14px; border: 1.5px solid var(--ink); border-radius: 999px; background: #FFFFFF; color: var(--ink); font-family: var(--label); font-weight: 700; font-size: 15px; cursor: pointer; }
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: transform .2s; }
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }
.site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #FFFFFF; border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 24px; box-shadow: 0 12px 24px rgba(12,35,33,.08); }
.site-nav.is-open { display: block; }
.site-nav__list { list-style: none; padding: 0; margin: 0 0 16px; }
.site-nav__list a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); font-family: var(--label); font-weight: 700; font-size: 17px; color: var(--ink); text-decoration: none; }
.site-nav__list a[aria-current="page"] { color: var(--deep); }
.site-nav__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.site-nav__donate { font-family: var(--label); font-weight: 700; font-size: 15px; text-decoration: none; }
@media (min-width: 1080px) {
  .nav-toggle { display: none; }
  .site-nav { display: flex !important; position: static; align-items: center; justify-content: space-between; flex: 1; gap: 28px; padding: 0; border: 0; box-shadow: none; }
  .site-nav__list { display: flex; gap: 6px 26px; margin: 0 auto; }
  .site-nav__list a { padding: 6px 0; border: 0; font-size: 15px; }
  .site-nav__list a[aria-current="page"] { border-bottom: 2px solid var(--teal); padding-bottom: 4px; }
  .site-header__logo img { height: 54px; }
}

/* ---------- Sections ---------- */
.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(48px, 6vw, 72px); }
.section--white { background: #FFFFFF; }
.section--mist { background: var(--mist); }
.section--night { background: var(--night); color: #FFFFFF; }
.section--teal { background: var(--teal); color: var(--ink); }
.section--border { border-bottom: 1px solid var(--line); }
.stack { display: flex; flex-direction: column; gap: 20px; }
.stack-lg { display: flex; flex-direction: column; gap: 44px; }
.section-head { display: flex; flex-direction: column; gap: 14px; max-width: 760px; }
.section-head--row { max-width: none; flex-direction: row; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; }
.section-head--row > div { display: flex; flex-direction: column; gap: 14px; max-width: 720px; }
.section-head p { color: var(--muted); }
.section--night .section-head p { color: var(--soft); }
.split { display: grid; gap: 48px; align-items: center; }
.split--top { align-items: start; }
@media (min-width: 900px) {
  .split { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px; }
  .split--wide-left { grid-template-columns: 1.15fr 1fr; }
  .split--wide-right { grid-template-columns: 1fr 1.3fr; }
}
.media-rounded img { width: 100%; border-radius: var(--radius-lg); object-fit: cover; }
.media-rounded--tall img { height: clamp(300px, 40vw, 500px); }
.breadcrumb { font-size: 14px; color: var(--muted); }
.section--night .breadcrumb { color: var(--soft-2); }
.section--night .breadcrumb a { color: #FFFFFF; }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(56px, 7vw, 80px); }
.hero h1 { max-width: 14ch; }
.hero__figure { position: relative; margin: 0; }
.hero__figure img { width: 100%; height: clamp(320px, 42vw, 520px); object-fit: cover; border-radius: var(--radius-lg); }
.hero__caption { position: absolute; left: 16px; right: 16px; bottom: 16px; display: flex; gap: 12px; align-items: center; background: var(--night); color: #FFFFFF; padding: 12px 16px; border-radius: 14px; font-size: 15px; line-height: 1.4; }
.hero__caption::before { content: ""; flex: 0 0 10px; height: 10px; border-radius: 50%; background: var(--teal); }
.hero__note { font-size: 14px; color: var(--soft-2); }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); gap: 24px 32px; }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat__value { font-family: var(--head); font-weight: 800; font-size: clamp(28px, 3.6vw, 44px); line-height: 1.1; color: var(--deep); }
.stat__label { font-size: 16px; color: var(--muted); }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, var(--min, 280px)), 1fr)); }
.grid--4 { --min: 240px; }
.grid--3 { --min: 320px; }
.grid--2 { --min: 440px; }
.card { display: flex; flex-direction: column; gap: 12px; border-radius: var(--radius); padding: 28px; background: var(--mist); color: var(--ink); text-decoration: none; }
.card--white { background: #FFFFFF; }
.card--outline { background: #FFFFFF; border: 1px solid var(--line); }
.card--pale { background: var(--pale); }
.card--night { background: var(--night); color: #FFFFFF; }
.card--night p { color: var(--soft); }
.card--media { padding: 0; overflow: hidden; background: #FFFFFF; }
.card--media img { width: 100%; height: 200px; object-fit: cover; }
.card--media .card__body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 8px; flex-grow: 1; }
.card p { font-size: 16px; color: var(--muted); }
.card--night p, .card--night .card__title { color: inherit; }
.card__icon { width: 52px; height: 52px; border-radius: 14px; background: #FFFFFF; display: grid; place-items: center; }
.card__icon svg { width: 28px; height: 28px; }
.card__title { font-family: var(--head); font-weight: 700; font-size: 21px; line-height: 1.25; }
.card__grow { flex-grow: 1; }
a.card { transition: transform .2s, box-shadow .2s; }
a.card:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(12,35,33,.08); color: var(--ink); }
a.card .text-link { margin-top: auto; }
.story, .card .story { font-family: var(--head); font-weight: 700; font-size: 20px; line-height: 1.4; color: var(--ink); }

/* Course rows (Schools page) */
.course { display: grid; overflow: hidden; border-radius: var(--radius-lg); background: #FFFFFF; }
.course img { width: 100%; height: 100%; min-height: 260px; object-fit: cover; }
.course__body { padding: clamp(24px, 4vw, 40px); display: flex; flex-direction: column; gap: 14px; }
.course h3 { font-size: 28px; font-weight: 800; }
@media (min-width: 900px) { .course { grid-template-columns: 1fr 1.3fr; } .course--flip picture { order: 2; } }

/* ---------- Key facts ---------- */
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; background: #FFFFFF; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.facts > div { padding: 16px 20px; border-bottom: 1px solid var(--line); }
.facts > div:nth-child(odd) { border-right: 1px solid var(--line); }
.facts > div:nth-last-child(-n+2) { border-bottom: 0; }
.facts dt, .info dt { font-family: var(--label); font-weight: 700; font-size: 13px; letter-spacing: 1px; text-transform: uppercase; color: var(--deep); }
.facts dd { margin: 4px 0 0; font-weight: 600; font-size: 17px; }
@media (max-width: 520px) { .facts { grid-template-columns: 1fr; } .facts > div:nth-child(odd) { border-right: 0; } .facts > div:nth-last-child(2) { border-bottom: 1px solid var(--line); } }
.glance { background: var(--night); color: #FFFFFF; border-radius: var(--radius-lg); padding: 32px; }
.glance dl { margin: 16px 0 0; display: flex; flex-direction: column; }
.glance dl > div { display: flex; justify-content: space-between; gap: 16px; padding-block: 12px; border-bottom: 1px solid #2A403D; }
.glance dl > div:last-child { border-bottom: 0; }
.glance dt { color: var(--soft-2); }
.glance dd { margin: 0; font-weight: 600; text-align: right; }
.info { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, var(--info-min, 300px)), 1fr)); margin: 0; }
.info > div { background: #FFFFFF; border-radius: 18px; padding: 22px 24px; }
.section--white .info > div { background: var(--mist); }
.info dd { margin: 6px 0 0; font-size: 17px; }

/* ---------- Lists ---------- */
.checklist { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 12px; font-size: 17px; }
.checklist li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; }
.checklist li::before { content: ""; width: 22px; height: 22px; margin-top: 3px; background: no-repeat center / 22px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23005B52' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E"); }
.section--night .checklist li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2330B3AD' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E"); }
.plain-list { padding-left: 20px; display: flex; flex-direction: column; gap: 6px; font-size: 16px; }
.cols-2 { columns: 2 220px; column-gap: 24px; padding-left: 20px; font-size: 16px; }
.cols-2 li { margin-bottom: 6px; break-inside: avoid; }
.steps { list-style: none; padding: 0; display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); counter-reset: step; }
.steps li { counter-increment: step; background: var(--mist); border-radius: var(--radius); padding: 30px; display: flex; flex-direction: column; gap: 12px; }
.steps li::before { content: counter(step); width: 48px; height: 48px; border-radius: 50%; background: var(--teal); color: var(--ink); display: grid; place-items: center; font-family: var(--head); font-weight: 800; font-size: 20px; }
.steps p { font-size: 16px; color: var(--muted); }
.timeline { list-style: none; padding: 0; margin: 0; border-left: 3px solid var(--teal); display: flex; flex-direction: column; gap: 22px; }
.timeline li { position: relative; padding-left: 24px; }
.timeline li::before { content: ""; position: absolute; left: -9px; top: 6px; width: 15px; height: 15px; border-radius: 50%; background: #FFFFFF; border: 3px solid var(--teal); }
.timeline strong { display: block; font-family: var(--head); font-weight: 800; font-size: 20px; color: var(--deep); }
.doc-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.doc-list a { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 22px; border-radius: 14px; background: var(--night-2); color: #FFFFFF; text-decoration: none; }
.section--white .doc-list a, .section--mist .doc-list a { background: #FFFFFF; color: var(--ink); border: 1px solid var(--line); }
.section--white .doc-list a { background: var(--mist); border: 0; }
.doc-list a:hover { box-shadow: 0 0 0 2px var(--teal) inset; }
.doc-list .pill { flex: none; }
.supporters { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.supporters h3 { font-size: 17px; margin-bottom: 10px; color: var(--deep); }
.supporters ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: 16px; color: var(--muted); }
.team-card { display: flex; flex-direction: column; gap: 6px; background: var(--mist); border-radius: var(--radius); padding: 24px; }
.team-card__name { font-family: var(--head); font-weight: 700; font-size: 19px; }
.team-card__role { font-size: 16px; color: var(--muted); }
.avatar { width: 56px; height: 56px; border-radius: 50%; background: var(--night); color: var(--teal); display: grid; place-items: center; font-family: var(--label); font-weight: 700; font-size: 18px; margin-bottom: 8px; }

/* ---------- Strips and banners ---------- */
.strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; border-radius: var(--radius); padding: 28px 32px; }
.strip--night { background: var(--night); color: #FFFFFF; }
.strip--night p { color: var(--soft); }
.strip--dashed { border: 1.5px dashed #8FB8B4; }
.strip p { flex: 1 1 420px; font-size: 17px; }
.cta-box { border-radius: 28px; padding: clamp(28px, 5vw, 48px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px 48px; }
.cta-box--pale { background: var(--pale); }
.cta-box--teal { background: var(--teal); color: var(--ink); }
.cta-box > div:not(.btn-row) { flex: 1 1 480px; display: flex; flex-direction: column; gap: 12px; }
.cta-box h2 { font-size: clamp(26px, 3vw, 38px); }
.cta-box p { font-size: 18px; }
.cta-box--pale p { color: var(--muted); }
.notice { border-radius: var(--radius); padding: 24px 28px; background: #FFF4E5; border-left: 4px solid #E08A1E; display: flex; flex-direction: column; gap: 8px; }
.notice h2 { font-size: 22px; }
.notice p { font-size: 17px; }
.notice a { font-weight: 700; }

/* ---------- Contact and form ---------- */
.contact-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 16px; font-size: 17px; }
.contact-list li { display: grid; grid-template-columns: 22px 1fr; gap: 14px; }
.contact-list svg { width: 22px; height: 22px; margin-top: 3px; stroke: var(--deep); }
.contact-list a { font-weight: 600; }
.map-card { border-radius: var(--radius); background: var(--pale); padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.form { background: var(--mist); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 36px); display: flex; flex-direction: column; gap: 18px; }
.form__row { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.field { display: flex; flex-direction: column; gap: 8px; font-weight: 600; font-size: 15px; }
.field input, .field select, .field textarea { font: inherit; font-weight: 400; font-size: 16px; padding: 13px 14px; border: 1px solid #B9CAC7; border-radius: 12px; background: #FFFFFF; color: var(--ink); width: 100%; }
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--teal); outline-offset: 1px; border-color: var(--deep); }
.field__hint { font-weight: 400; font-size: 14px; color: var(--muted); }
.consent { display: grid; grid-template-columns: 22px 1fr; gap: 12px; font-size: 15px; font-weight: 400; color: var(--muted); }
.consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--deep); }
.hp-field { position: absolute; left: -9999px; }
.form__note { background: var(--pale); border-left: 4px solid var(--deep); border-radius: 10px; padding: 12px 16px; font-size: 15px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--night); color: var(--soft); font-size: 15px; padding-block: 64px 32px; }
.site-footer a { color: var(--soft); text-decoration: none; }
.site-footer a:hover { color: #FFFFFF; text-decoration: underline; }
.site-footer__top { display: grid; gap: 36px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); }
@media (min-width: 900px) { .site-footer__top { grid-template-columns: 1.4fr 1fr 1fr 1fr 1.3fr; } }
.site-footer__brand { display: flex; flex-direction: column; gap: 16px; }
.site-footer__brand img { width: 170px; }
.site-footer__brand p { max-width: 320px; }
.site-footer__heading { font-family: var(--label); font-weight: 700; font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--teal); margin-bottom: 12px; }
.site-footer__col ul, .social-list, .site-footer__links { list-style: none; padding: 0; margin: 0; }
.site-footer__col li { margin-bottom: 10px; }
.site-footer__address { color: #FFFFFF; margin-bottom: 12px; line-height: 1.5; }
.site-footer a.site-footer__more { color: #FFFFFF; text-decoration: underline; }
.social-list { display: flex; flex-wrap: wrap; gap: 8px; }
.social-list a { display: inline-block; border: 1px solid #3E5653; border-radius: 999px; padding: 8px 14px; color: #FFFFFF; font-family: var(--label); font-weight: 700; font-size: 13px; }
.social-list a:hover { border-color: var(--teal); text-decoration: none; }
.site-footer__legal { margin-top: 44px; padding-top: 24px; border-top: 1px solid #2A403D; display: flex; flex-direction: column; gap: 12px; }
.site-footer__links { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14px; }
.site-footer__links a { text-decoration: underline; }
.site-footer__legal p { font-size: 13px; color: var(--soft-2); }

/* ---------- Prose (privacy page) ---------- */
.prose { max-width: 760px; display: flex; flex-direction: column; gap: 14px; }
.prose h2 { font-size: 26px; margin-top: 18px; }
.prose ul { padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }

/* ---------- Component fixes ---------- */
.course picture { height: 100%; }
.course .chips li, .card--white .chips li { background: var(--mist); }
.chips a { color: inherit; text-decoration: none; }
.chips a:hover { text-decoration: underline; }
.doc-list svg { width: 20px; height: 20px; margin-right: 10px; vertical-align: -4px; }
.media-rounded picture, .hero__figure picture { height: 100%; }
.split > * { min-width: 0; }

/* ---------- Print ---------- */
@media print { .topbar, .site-header, .site-footer, .draft-bar { display: none; } .section { padding-block: 24px; } }
