/* ==========================================================================
   DAPN — Diabetes Awareness & Protection Network
   Design system: blue + white, barkcloth-inspired geometry, editorial type
   ========================================================================== */

:root {
  /* Colour */
  --blue: #145DA0;
  --navy: #0B2545;
  --navy-2: #123761;
  --care: #247BA0;
  --teal: #14796B;          /* text-safe teal on white */
  --teal-bright: #3CC3AE;   /* decorative / on dark */
  --gold: #E3A72F;          /* sparing accent, echoes Uganda's flag */
  --white: #FFFFFF;
  --soft: #F4F8FC;
  --pale: #E8F2FB;
  --line: #D6E3F0;
  --text: #263648;
  --muted: #566a80;
  --danger: #B3261E;

  /* Type */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Figtree", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;

  --fs-300: 0.875rem;
  --fs-400: 1.0625rem;
  --fs-500: 1.25rem;
  --fs-600: clamp(1.4rem, 2.4vw, 1.75rem);
  --fs-700: clamp(1.8rem, 3.6vw, 2.6rem);
  --fs-800: clamp(2.3rem, 5.4vw, 4.4rem);

  /* Space & shape */
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section: clamp(3.5rem, 8vw, 6.5rem);
  --maxw: 1180px;
  --radius: 14px;
  --radius-lg: 28px;
  --shadow: 0 1px 2px rgba(11,37,69,.06), 0 8px 24px rgba(11,37,69,.08);
  --shadow-lg: 0 18px 50px rgba(11,37,69,.18);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-body); font-size: var(--fs-400); line-height: 1.65; color: var(--text); background: var(--white); overflow-x: hidden; }
img, svg { max-width: 100%; display: block; }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--navy); line-height: 1.12; margin: 0 0 .6em; font-weight: 600; letter-spacing: -.01em; }
h1 { font-size: var(--fs-800); letter-spacing: -.025em; }
h2 { font-size: var(--fs-700); }
h3 { font-size: var(--fs-500); }
p { margin: 0 0 1em; max-width: 68ch; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
.skip-link { position: absolute; left: 1rem; top: -4rem; background: var(--navy); color: #fff; padding: .7rem 1rem; z-index: 200; border-radius: 8px; }
.skip-link:focus { top: 1rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { width: min(100% - 2 * var(--gutter), var(--maxw)); margin-inline: auto; }
.section { padding-block: var(--section); }
.section--soft { background: var(--soft); }
.section--pale { background: var(--pale); }
.icon { width: 1.5em; height: 1.5em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.kicker { font-weight: 700; font-size: var(--fs-300); color: var(--teal); letter-spacing: .02em; margin-bottom: .75rem; display: flex; align-items: center; gap: .6rem; }
.kicker::before { content: ""; width: 28px; height: 3px; background: var(--gold); border-radius: 2px; }
.lede { font-size: var(--fs-500); line-height: 1.55; color: var(--text); }
.section-head { max-width: 62ch; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.section-head p { color: var(--muted); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; font: 700 1rem/1 var(--font-body); padding: 1rem 1.6rem; border-radius: 999px; border: 2px solid transparent; text-decoration: none; cursor: pointer; transition: transform .2s, background-color .2s, color .2s, border-color .2s, box-shadow .2s; min-height: 48px; }
.btn:active { transform: translateY(1px); }
.btn[disabled], .btn:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.btn--primary { background: var(--blue); color: #fff; box-shadow: 0 6px 18px rgba(20,93,160,.28); }
.btn--primary:hover { background: var(--navy); color: #fff; transform: translateY(-2px); }
.btn--light { background: #fff; color: var(--navy); }
.btn--light:hover { background: var(--pale); color: var(--navy); transform: translateY(-2px); }
.btn--ghost { border-color: rgba(255,255,255,.55); color: #fff; }
.btn--ghost:hover { background: rgba(255,255,255,.12); color: #fff; border-color: #fff; }
.btn--outline { border-color: var(--blue); color: var(--blue); }
.btn--outline:hover { background: var(--blue); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: .9rem; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.96); backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: box-shadow .25s, border-color .25s; }
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(11,37,69,.1); border-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: 1rem; }
.brand { display: flex; align-items: center; }
.brand .logo-full { height: 52px; width: auto; display: none; }
.brand .logo-mark { height: 46px; width: auto; }
.nav-toggle { width: 48px; height: 48px; border: 0; background: var(--pale); border-radius: 12px; cursor: pointer; display: grid; place-items: center; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 22px; height: 2.5px; background: var(--navy); border-radius: 2px; transition: transform .25s, opacity .25s; content: ""; position: relative; }
.nav-toggle span::before { position: absolute; top: -7px; }
.nav-toggle span::after { position: absolute; top: 7px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }

.site-nav { position: absolute; inset: 100% 0 auto 0; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px rgba(11,37,69,.12); padding: .75rem var(--gutter) 1.5rem; display: none; }
.site-nav.is-open { display: block; }
.site-nav ul { display: grid; gap: .25rem; }
.site-nav a { display: block; padding: .95rem .5rem; font-weight: 600; color: var(--navy); text-decoration: none; border-radius: 10px; }
.site-nav a:hover { background: var(--soft); }
.site-nav a[aria-current="page"] { color: var(--blue); background: var(--pale); }
.site-nav .nav-cta a { margin-top: .75rem; background: var(--blue); color: #fff; text-align: center; border-radius: 999px; }
.site-nav .nav-cta a:hover { background: var(--navy); }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--navy); color: #fff; overflow: hidden; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: radial-gradient(900px 500px at 85% 20%, #1c6fb8 0%, transparent 60%), linear-gradient(160deg, var(--navy) 30%, var(--navy-2)); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: url("../assets/images/pattern-light.svg") 0 0 / 64px; opacity: .07; mask-image: linear-gradient(90deg, transparent 20%, #000 100%); -webkit-mask-image: linear-gradient(90deg, transparent 20%, #000 100%); }
.hero-grid { display: grid; gap: 2.5rem; padding-block: clamp(3rem, 7vw, 6rem); align-items: center; }
.hero h1 { color: #fff; margin-bottom: .45em; }
.hero h1 em { font-style: italic; font-weight: 500; color: #9fd6ff; display: block; }
.hero .lede { color: #d6e6f6; max-width: 54ch; margin-bottom: 1.8rem; }
.hero-art { position: relative; justify-self: center; width: min(100%, 380px); }
.arch { aspect-ratio: 4 / 5; border-radius: 999px 999px var(--radius-lg) var(--radius-lg); background: linear-gradient(170deg, #e8f2fb, #b9d8f3); display: grid; place-items: center; overflow: hidden; position: relative; box-shadow: var(--shadow-lg); }
.arch::before { content: ""; position: absolute; inset: 0; background: url("../assets/images/pattern-blue.svg") 0 0 / 56px; opacity: .13; }
.arch svg { position: relative; width: 72%; height: auto; filter: drop-shadow(0 18px 24px rgba(11,37,69,.25)); }
.hero-chip { position: absolute; left: -6%; bottom: 10%; background: #fff; color: var(--navy); padding: .85rem 1.1rem; border-radius: 16px; box-shadow: var(--shadow-lg); display: flex; gap: .7rem; align-items: center; font-weight: 700; font-size: .95rem; line-height: 1.25; max-width: 230px; }
.hero-chip .icon { color: var(--teal); width: 1.8em; height: 1.8em; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: var(--navy); color: #fff; position: relative; overflow: hidden; isolation: isolate; padding-block: clamp(2.75rem, 6vw, 5rem); }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(120deg, rgba(11,37,69,1) 35%, rgba(20,93,160,.85)), url("../assets/images/pattern-light.svg") 0 0 / 64px; }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: url("../assets/images/pattern-light.svg") 0 0 / 64px; opacity: .06; }
.page-hero h1 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.6rem); margin-bottom: .4em; }
.page-hero p { color: #d6e6f6; font-size: var(--fs-500); }
.breadcrumb { display: flex; gap: .5rem; font-size: var(--fs-300); margin-bottom: 1.25rem; color: #b6d1ea; flex-wrap: wrap; }
.breadcrumb a { color: #fff; }
.breadcrumb li + li::before { content: "/"; margin-right: .5rem; opacity: .6; }
.breadcrumb ol { display: flex; gap: .5rem; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; }

/* ---------- Photo slot (works with or without a photo) ---------- */
.photo { position: relative; margin: 0; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3; background: linear-gradient(145deg, var(--blue), var(--navy)); display: grid; place-items: center; box-shadow: var(--shadow); }
.photo::before { content: ""; position: absolute; inset: 0; background: url("../assets/images/pattern-light.svg") 0 0 / 56px; opacity: .12; }
.photo > .icon { position: relative; width: 3.5rem; height: 3.5rem; color: rgba(255,255,255,.85); }
.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo--tall { aspect-ratio: 4 / 5; }
.photo--arch { border-radius: 999px 999px var(--radius-lg) var(--radius-lg); aspect-ratio: 4 / 5; }
.photo--wide { aspect-ratio: 16 / 10; }

/* ---------- Split / editorial layouts ---------- */
.split { display: grid; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.stack-media { position: relative; }
.stack-media .badge { position: absolute; right: -4%; bottom: -6%; background: #fff; border-radius: 18px; padding: 1rem 1.25rem; box-shadow: var(--shadow-lg); max-width: 250px; font-weight: 600; color: var(--navy); font-size: .95rem; line-height: 1.4; }
.stack-media .badge small { display: block; color: var(--teal); font-weight: 700; margin-bottom: .2rem; }
.quote { font-family: var(--font-display); font-size: var(--fs-600); line-height: 1.35; color: var(--navy); border-left: 4px solid var(--gold); padding-left: 1.25rem; margin: 0 0 1.5rem; max-width: 36ch; }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 1.25rem; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.75rem; transition: transform .25s, box-shadow .25s, border-color .25s; position: relative; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #b8d2ea; }
.card h3 { margin-bottom: .45em; }
.card p { color: var(--muted); margin: 0; font-size: 1rem; }
.card .ico { width: 54px; height: 54px; border-radius: 16px 16px 16px 4px; background: var(--pale); color: var(--blue); display: grid; place-items: center; margin-bottom: 1.1rem; }
.card--teal .ico { background: #dff3ef; color: var(--teal); }
.card .tag { display: inline-block; font-size: .8rem; font-weight: 700; color: var(--navy); background: #fdf1d4; padding: .2rem .6rem; border-radius: 6px; margin-bottom: .9rem; }

/* ---------- Problem band ---------- */
.problem { background: var(--pale); position: relative; }
.problem::before { content: ""; position: absolute; inset: 0; background: url("../assets/images/pattern-blue.svg") 0 0 / 64px; opacity: .06; }
.problem .container { position: relative; }
.problem-grid { display: grid; gap: 1.5rem; }
.problem blockquote { margin: 0; font-family: var(--font-display); font-size: var(--fs-600); line-height: 1.35; color: var(--navy); }
.problem p { color: var(--text); }

/* ---------- Goals (navy band) ---------- */
.goals { background: var(--navy); color: #fff; position: relative; overflow: hidden; isolation: isolate; }
.goals::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url("../assets/images/pattern-light.svg") 0 0 / 64px; opacity: .05; }
.goals h2 { color: #fff; }
.goals .kicker { color: var(--teal-bright); }
.goals .section-head p { color: #b6d1ea; }
.goal-list { display: grid; border-top: 1px solid rgba(255,255,255,.2); }
.goal { display: grid; grid-template-columns: minmax(104px, 140px) 1fr; gap: 1rem 1.5rem; align-items: baseline; padding: 1.5rem 0; border-bottom: 1px solid rgba(255,255,255,.2); }
.goal strong { font-family: var(--font-display); font-size: clamp(2.2rem, 6vw, 3.4rem); font-weight: 600; color: #fff; line-height: 1; }
.goal span { color: #d6e6f6; }
.fine { font-size: var(--fs-300); color: var(--muted); }
.goals .fine { color: #9dbbd8; margin-top: 1.25rem; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(120deg, var(--blue), var(--navy)); color: #fff; border-radius: var(--radius-lg); padding: clamp(2rem, 6vw, 4rem); position: relative; overflow: hidden; isolation: isolate; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url("../assets/images/pattern-light.svg") 0 0 / 64px; opacity: .08; }
.cta-band h2 { color: #fff; max-width: 20ch; }
.cta-band p { color: #d6e6f6; }

/* ---------- Lists ---------- */
.check-list { display: grid; gap: .8rem; }
.check-list li { display: flex; gap: .75rem; align-items: flex-start; }
.check-list .icon { color: var(--teal); margin-top: .15em; width: 1.3em; height: 1.3em; stroke-width: 2.4; }
.pill-list { display: flex; flex-wrap: wrap; gap: .6rem; }
.pill-list li { background: #fff; border: 1px solid var(--line); padding: .55rem 1rem; border-radius: 999px; font-weight: 600; color: var(--navy); font-size: .97rem; }

/* ---------- About ---------- */
.mv { display: grid; gap: 1.25rem; }
.mv article { padding: clamp(1.75rem, 4vw, 2.75rem); border-radius: var(--radius-lg); }
.mv .mission { background: var(--blue); color: #fff; }
.mv .mission h2, .mv .mission .kicker { color: #fff; }
.mv .mission .kicker::before { background: var(--gold); }
.mv .vision { background: #fff; border: 1px solid var(--line); }
.mv p { font-size: var(--fs-500); line-height: 1.5; margin: 0; }
.timeline { display: grid; gap: 1.25rem; }
.objective { display: grid; grid-template-columns: auto 1fr; gap: 1rem; padding: 1.25rem 0; border-bottom: 1px solid var(--line); }
.objective .ico { width: 44px; height: 44px; border-radius: 12px; background: var(--pale); color: var(--blue); display: grid; place-items: center; }
.objective p { margin: 0; }
.placeholder { border: 2px dashed #9bb9d6; background: repeating-linear-gradient(135deg, #fff 0 12px, #f4f8fc 12px 24px); border-radius: var(--radius); padding: 1.75rem; color: var(--muted); }
.placeholder strong { color: var(--navy); display: block; margin-bottom: .35rem; }
.value { text-align: left; }

/* ---------- Programs ---------- */
.program { display: grid; gap: 1.75rem; padding-block: clamp(2rem, 5vw, 3.5rem); border-top: 1px solid var(--line); }
.program:first-of-type { border-top: 0; }
.program h2 { font-size: var(--fs-700); }
.program-meta { display: grid; gap: 1.25rem; margin-top: 1.25rem; }
.program-meta h3 { font-family: var(--font-body); font-size: .95rem; font-weight: 800; color: var(--teal); margin-bottom: .5rem; letter-spacing: .01em; }
.note { background: #fdf6e3; border-left: 4px solid var(--gold); padding: 1rem 1.25rem; border-radius: 0 var(--radius) var(--radius) 0; color: var(--text); }
.note p { margin: 0; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: 2.5rem; }
.contact-list { display: grid; gap: 1.25rem; }
.contact-item { display: flex; gap: 1rem; align-items: flex-start; }
.contact-item .ico { width: 48px; height: 48px; border-radius: 14px 14px 14px 4px; background: var(--pale); color: var(--blue); display: grid; place-items: center; flex: none; }
.contact-item h3 { font-family: var(--font-body); font-size: 1rem; font-weight: 800; margin: 0 0 .15rem; }
.contact-item p, .contact-item address { margin: 0; font-style: normal; color: var(--text); }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.5rem, 4vw, 2.5rem); box-shadow: var(--shadow); }
.field { margin-bottom: 1.25rem; }
.field label { display: block; font-weight: 700; color: var(--navy); margin-bottom: .4rem; }
.field input, .field textarea { width: 100%; font: inherit; color: var(--text); padding: .85rem 1rem; border: 1.5px solid #b5c7da; border-radius: 12px; background: #fff; min-height: 50px; transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(20,93,160,.18); }
.field.has-error input, .field.has-error textarea { border-color: var(--danger); }
.error-msg { color: var(--danger); font-size: .92rem; font-weight: 600; margin-top: .35rem; display: none; }
.field.has-error .error-msg { display: block; }
.hp { position: absolute; left: -9999px; }
.form-status { margin-top: 1.25rem; padding: 1rem 1.25rem; border-radius: 12px; display: none; }
.form-status.is-visible { display: block; }
.form-status.is-info { background: #fdf6e3; border-left: 4px solid var(--gold); }
.form-status.is-success { background: #e2f5ee; border-left: 4px solid var(--teal); }
.form-status.is-error { background: #fdeceb; border-left: 4px solid var(--danger); }
.form-status p { margin: 0 0 .75rem; }
.form-status p:last-child { margin: 0; }
.account { background: var(--navy); color: #fff; border-radius: var(--radius-lg); padding: clamp(1.5rem, 4vw, 2.5rem); }
.account h2, .account h3 { color: #fff; }
.account dl { display: grid; gap: 1rem; margin: 1.25rem 0; }
.account dt { font-size: var(--fs-300); color: #9dbbd8; }
.account dd { margin: 0; font-weight: 700; font-size: 1.15rem; word-break: break-word; }
.account .fine { color: #b6d1ea; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #c7d9ec; padding-top: clamp(3rem, 6vw, 4.5rem); position: relative; }
.site-footer::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 6px; background: repeating-linear-gradient(90deg, var(--blue) 0 28px, var(--teal-bright) 28px 56px, var(--gold) 56px 84px, #fff 84px 112px); }
.footer-grid { display: grid; gap: 2.5rem; padding-bottom: 2.5rem; }
.footer-brand img { height: 50px; width: auto; background: #fff; padding: .5rem .8rem; border-radius: 12px; margin-bottom: 1rem; }
.footer-brand p { font-size: .97rem; }
.site-footer h3 { font-family: var(--font-body); color: #fff; font-size: 1rem; font-weight: 800; margin-bottom: .9rem; }
.site-footer a { color: #c7d9ec; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-links { display: grid; gap: .5rem; }
.footer-contact li { display: flex; gap: .6rem; margin-bottom: .6rem; align-items: flex-start; }
.footer-contact .icon { width: 1.2em; height: 1.2em; margin-top: .3em; color: var(--teal-bright); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.15); padding-block: 1.25rem; font-size: .9rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; }

.to-top { position: fixed; right: 1rem; bottom: 1rem; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--blue); color: #fff; display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .25s, transform .25s, visibility .25s, background-color .2s; z-index: 90; }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--navy); }

/* ---------- Reveal (single, subtle) ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Breakpoints ---------- */
@media (min-width: 600px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1.4fr 1fr; }
  .program-meta { grid-template-columns: 1fr 1fr; }
  .goal-list { grid-template-columns: 1fr 1fr; column-gap: 3rem; }
}
@media (min-width: 900px) {
  .brand .logo-full { display: block; }
  .brand .logo-mark { display: none; }
  .nav-toggle { display: none; }
  .site-nav { position: static; display: block; background: none; border: 0; box-shadow: none; padding: 0; }
  .site-nav ul { display: flex; align-items: center; gap: .25rem; }
  .site-nav a { padding: .6rem .95rem; position: relative; }
  .site-nav a[aria-current="page"] { background: none; }
  .site-nav a[aria-current="page"]::after { content: ""; position: absolute; left: .95rem; right: .95rem; bottom: .2rem; height: 3px; background: var(--gold); border-radius: 2px; }
  .site-nav .nav-cta a { margin: 0 0 0 .75rem; padding: .8rem 1.4rem; }
  .hero-grid { grid-template-columns: 1.15fr .85fr; }
  .split { grid-template-columns: 1fr 1fr; }
  .split--wide-text { grid-template-columns: 1.15fr .85fr; }
  .split--reverse > :first-child { order: 2; }
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
  .problem-grid { grid-template-columns: 1.2fr 1fr; gap: 4rem; align-items: center; }
  .mv { grid-template-columns: 1.1fr .9fr; }
  .contact-grid { grid-template-columns: .85fr 1.15fr; gap: 4rem; align-items: start; }
  .footer-grid { grid-template-columns: 1.5fr .8fr 1.2fr; }
  .program { grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
  .program:nth-of-type(even) > .photo { order: 2; }
  .program .photo { aspect-ratio: 4 / 3.4; }
}
@media (min-width: 1400px) { :root { --maxw: 1280px; } }
@media (max-width: 480px) {
  .btn-row .btn { width: 100%; }
  .hero-chip { left: 0; }
  .stack-media .badge { right: 0; position: relative; bottom: 0; margin-top: 1rem; max-width: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}
@media print { .site-header, .to-top, .cta-band { display: none; } }
