/* SIAC Bengaluru — institutional style
   Brand: Deep Indigo #1B1F5E · Saffron #F29F05 · Pearl White #F7F7F2
   Type: Jost (geometric sans, headings & UI) + Source Serif 4 (reading text)
   Motif: the lotus-seed hexagon from the logo, used for image crops and step markers. */

:root {
  --indigo: #1B1F5E;
  --indigo-2: #2C3182;
  --indigo-tint: #E6E7F2;
  --saffron: #F29F05;
  --saffron-ink: #8F5400;      /* saffron dark enough for text on pearl */
  --saffron-tint: #FDF0D5;
  --pearl: #F7F7F2;
  --white: #FFFFFF;
  --ink: #1E2135;
  --muted: #555970;
  --line: #DCDAD0;
  --line-strong: #BDBBB0;

  --font-sans: "Jost", "Futura", "Avenir Next", system-ui, sans-serif;
  --font-serif: "Source Serif 4", Georgia, serif;

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 4px;
  --hex: polygon(25% 3%, 75% 3%, 100% 50%, 75% 97%, 25% 97%, 0 50%);
  --hex-tall: polygon(50% 0, 97% 25%, 97% 75%, 50% 100%, 3% 75%, 3% 25%);
  --line-input: #7C7F92;      /* 3.9:1 on white — form borders must reach 3:1 */
  --dur: 160ms;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 77px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 20px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

body {
  margin: 0;
  background: var(--pearl);
  color: var(--ink);
  font: 400 1.0625rem/1.65 var(--font-serif);
  font-optical-sizing: auto;
}
img { max-width: 100%; display: block; height: auto; }
a { color: var(--indigo-2); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--indigo); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--indigo); outline-offset: 3px; border-radius: 2px; }
.utility :focus-visible, .section.dark :focus-visible, .intake-bar :focus-visible, .site-footer :focus-visible { outline-color: var(--saffron); }

h1, h2, h3, h4 { font-family: var(--font-sans); color: var(--indigo); line-height: 1.15; margin: 0 0 .5em; font-weight: 500; letter-spacing: -.01em; }
h1, h2, h3 { text-wrap: balance; }
p, li { text-wrap: pretty; }
h1 { font-size: clamp(2.4rem, 5.2vw, 4.1rem); font-weight: 400; letter-spacing: -.025em; line-height: 1.05; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.55rem); font-weight: 400; letter-spacing: -.02em; }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.05rem; font-weight: 600; }
p { margin: 0 0 1em; }
.lede { font-size: 1.22rem; line-height: 1.55; color: var(--ink); max-width: 38em; }
.muted { color: var(--muted); }
.small { font-size: .92rem; }
.sans { font-family: var(--font-sans); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.prose { max-width: 42em; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--indigo); color: #fff; padding: 8px 14px; z-index: 100; font-family: var(--font-sans); }
.skip-link:focus { left: 8px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- header ---------- */
.utility { background: var(--indigo); color: #D5D7EC; font: 400 .85rem/1 var(--font-sans); }
.utility .wrap { display: flex; justify-content: space-between; gap: 16px; padding-top: 9px; padding-bottom: 9px; }
.utility a { color: #fff; text-decoration: none; }
.utility a:hover { text-decoration: underline; }
.utility .u-links { display: flex; gap: 20px; }

.site-header { background: var(--pearl); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--indigo); }
.brand img { width: 46px; height: 46px; flex: none; }
.brand-name { font: 500 1.45rem/1 var(--font-sans); letter-spacing: .06em; display: block; }
.brand-sub { font: 500 .68rem/1 var(--font-sans); letter-spacing: .14em; font-variant-caps: all-small-caps; font-size: .82rem; color: var(--muted); display: block; margin-top: 4px; }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; font-family: var(--font-sans); font-size: .98rem; }
.nav-links a { display: block; padding: 10px 14px; color: var(--ink); text-decoration: none; border-radius: var(--radius); transition: background var(--dur) var(--ease), color var(--dur) var(--ease); }
.nav-links a:hover { background: var(--indigo-tint); color: var(--indigo); }
.nav-links a[aria-current="page"] { color: var(--indigo); font-weight: 500; box-shadow: inset 0 -3px 0 var(--indigo); border-radius: 0; }
.nav-links { margin-left: auto; }
.nav-apply { flex: none; padding: 13px 20px; }
.nav-toggle { display: none; }

@media (max-width: 960px) {
  .nav { gap: 10px; }
  .nav-toggle { margin-left: auto; }
  .nav-apply { padding: 14px 18px; }
  .apply-year { display: none; }
  .nav-toggle { display: inline-flex; align-items: center; min-height: 44px; gap: 8px; font: 500 1rem var(--font-sans); background: none; border: 1px solid var(--line-strong); color: var(--indigo); padding: 9px 14px; border-radius: var(--radius); cursor: pointer; }
  .nav-links { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--pearl); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: 8px var(--gutter) 20px; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 13px 4px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav-links a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--indigo); padding-left: 12px; }
  .utility .u-hide-sm { display: none; }
}

/* ---------- buttons ---------- */
.btn { display: inline-block; font: 500 1rem/1 var(--font-sans); padding: 15px 24px; border-radius: var(--radius); text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: background var(--dur) var(--ease), color var(--dur) var(--ease), transform var(--dur) var(--ease); }
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--saffron); color: var(--indigo); }
.btn-primary:hover { background: #FFB21F; color: var(--indigo); }
.btn-secondary { border-color: var(--indigo); color: var(--indigo); background: transparent; }
.btn-secondary:hover { background: var(--indigo); color: #fff; }
.btn-light { border-color: rgba(255,255,255,.7); color: #fff; }
.btn-light:hover { background: #fff; color: var(--indigo); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* ---------- sections ---------- */
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section + .section { border-top: 1px solid var(--line); }
.section.tint { background: var(--white); }
.section.dark { background: var(--indigo); color: #E3E4F2; border-top: 0; }
.section.dark h2, .section.dark h3 { color: #fff; }
.section.dark a:not(.btn) { color: #FFD27A; }
.section-head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 24px 64px; align-items: end; margin-bottom: 48px; }
.section-head p { margin: 0; color: var(--muted); }
.section.dark .section-head p { color: #C7C9E3; }
@media (max-width: 800px) { .section-head { grid-template-columns: 1fr; } }

/* hexagon crops — the signature */
.hex { clip-path: var(--hex); }
.hex-tall { clip-path: var(--hex-tall); }

/* ---------- page hero (inner pages) ---------- */
.page-hero { padding: clamp(48px, 7vw, 88px) 0 clamp(40px, 6vw, 72px); border-bottom: 1px solid var(--line); }
.page-hero .grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; align-items: center; }
.page-hero img { aspect-ratio: 1.15; object-fit: cover; width: 100%; }
.breadcrumb { font: 400 .9rem var(--font-sans); color: var(--muted); margin-bottom: 20px; }
.breadcrumb a { color: var(--muted); }
@media (max-width: 800px) { .page-hero .grid { grid-template-columns: 1fr; } .page-hero img { max-width: 420px; } }

/* ---------- home hero ---------- */
.hero { padding: clamp(40px, 6vw, 80px) 0 0; overflow: hidden; }
.hero .grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 40px; align-items: center; }
.hero h1 { max-width: 11em; }
.hero-motto { font: italic 400 1.05rem var(--font-serif); color: var(--saffron-ink); margin-bottom: 22px; }
.hero-figure { position: relative; }
.hero-figure img { width: 100%; aspect-ratio: 1.12; object-fit: cover; }
.hero-figure::before { content: ""; position: absolute; inset: 6% -6% -6% 6%; background: var(--saffron); clip-path: var(--hex); z-index: -1; opacity: .9; }
@media (max-width: 860px) { .hero .grid { grid-template-columns: 1fr; } .hero-figure { max-width: 560px; margin: 0 auto; } }

.intake-bar { margin-top: clamp(48px, 7vw, 80px); background: var(--indigo); color: #fff; font-family: var(--font-sans); }
.intake-bar .wrap { display: grid; grid-template-columns: auto repeat(3, minmax(0, 1fr)) auto; gap: 16px 32px; align-items: center; padding-top: 22px; padding-bottom: 22px; }
.intake-bar strong { display: block; font-weight: 500; font-size: 1.05rem; }
.intake-bar span { color: #C7C9E3; font-size: .9rem; }
.intake-bar .title { font-size: 1.15rem; font-weight: 500; padding-right: 8px; border-right: 1px solid rgba(255,255,255,.2); }
@media (max-width: 960px) { .intake-bar .wrap { grid-template-columns: 1fr 1fr; } .intake-bar .title { grid-column: 1 / -1; border: 0; } }

/* ---------- figures strip ---------- */
.figures { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-strong); }
.figures div { padding: 28px 24px 8px 0; }
.figures div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.figures b { display: block; font: 300 clamp(2.2rem, 4vw, 3.2rem)/1 var(--font-sans); color: var(--indigo); letter-spacing: -.02em; margin-bottom: 10px; }
.figures span { font-size: .98rem; color: var(--muted); }
@media (max-width: 760px) { .figures { grid-template-columns: 1fr 1fr; } .figures div:nth-child(3) { padding-left: 0; border-left: 0; } }

/* ---------- history timeline (real dates) ---------- */
.history { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; list-style: none; margin: 40px 0 0; padding: 0; }
.history li { padding: 22px 24px 0 0; border-top: 2px solid var(--indigo); position: relative; }
.history li::before { content: ""; position: absolute; top: -8px; left: 0; width: 14px; height: 14px; background: var(--saffron); clip-path: var(--hex); }
.history time { font: 500 1.5rem var(--font-sans); color: var(--indigo); display: block; margin-bottom: 6px; }
.history p { font-size: .98rem; margin: 0; }
@media (max-width: 760px) { .history { grid-template-columns: 1fr; gap: 28px; } .history li { border-top: 0; border-left: 2px solid var(--indigo); padding: 0 0 0 22px; } .history li::before { top: 6px; left: -8px; } }

/* ---------- two-column split ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.split.top { align-items: start; }
.split img.photo { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* ---------- programme list (home) ---------- */
.prog-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-strong); }
.prog-list li { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr) 9.5em; gap: 16px 40px; padding: 28px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.prog-list h3 { margin: 0; }
.prog-list .meta { font: 400 .92rem var(--font-sans); color: var(--muted); display: block; margin-top: 6px; }
.prog-list p { margin: 0; }
.prog-list a.more { font-family: var(--font-sans); white-space: nowrap; }
@media (max-width: 800px) { .prog-list li { grid-template-columns: 1fr; } }

/* ---------- cards with icon ---------- */
.icon { width: 56px; height: 56px; }
.tracks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.tracks > div { background: var(--pearl); padding: 28px 26px; }
.section.tint .tracks > div { background: var(--white); }
.tracks h3 { font-size: 1.15rem; margin: 16px 0 8px; }
.tracks p { font-size: .98rem; margin: 0; color: var(--muted); }
.tracks .flag { font: 500 .8rem var(--font-sans); color: var(--saffron-ink); background: var(--saffron-tint); padding: 3px 8px; border-radius: 2px; margin-left: 6px; vertical-align: 2px; }
@media (max-width: 860px) { .tracks { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .tracks { grid-template-columns: 1fr; } }

/* ---------- cursus years ---------- */
.years { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; list-style: none; margin: 0; padding: 0; counter-reset: yr; }
.years li { padding: 0 20px 0 0; }
.years .yr { display: flex; align-items: center; gap: 10px; font: 500 .95rem var(--font-sans); color: var(--muted); margin-bottom: 14px; }
.years .yr::after { content: ""; flex: 1; height: 2px; background: var(--indigo); }
.years li:last-child .yr::after { background: var(--saffron); }
.years h3 { font-size: 1.2rem; margin-bottom: 10px; }
.years p { font-size: .96rem; margin-bottom: 12px; }
.years .milestone { font: 400 .9rem/1.45 var(--font-sans); color: var(--indigo); border-left: 3px solid var(--saffron); padding-left: 10px; }
@media (max-width: 960px) { .years { grid-template-columns: 1fr; gap: 32px; } .years .yr::after { max-width: 120px; } }

/* ---------- flagship panels ---------- */
.flagships { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.flagship { background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--indigo); padding: 32px; }
.flagship.biz { border-top-color: var(--saffron); }
.flagship ul { padding-left: 1.1em; margin: 0 0 1em; }
.flagship li { margin-bottom: .5em; }
.flagship li b { font-family: var(--font-sans); font-weight: 500; color: var(--indigo); }
@media (max-width: 860px) { .flagships { grid-template-columns: 1fr; } }

/* ---------- tables ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); background: var(--white); }
table { border-collapse: collapse; width: 100%; font-size: .98rem; }
th, td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font: 500 .95rem var(--font-sans); color: var(--indigo); background: var(--indigo-tint); }
tbody tr:last-child td { border-bottom: 0; }
td.num { font-family: var(--font-sans); white-space: nowrap; font-variant-numeric: tabular-nums; }
.table-wrap:focus-visible { outline-offset: 0; }
caption { text-align: left; font: 400 .9rem var(--font-sans); color: var(--muted); padding: 0 0 10px; caption-side: bottom; padding: 12px 18px; }

/* ---------- photo mosaic ---------- */
.mosaic { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: auto auto; gap: 16px; }
.mosaic figure { margin: 0; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); }
.mosaic figure:first-child { grid-row: span 2; }
.mosaic figcaption { font: 400 .9rem var(--font-sans); color: var(--muted); margin-top: 8px; }
@media (max-width: 800px) { .mosaic { grid-template-columns: 1fr 1fr; } .mosaic figure:first-child { grid-column: 1 / -1; grid-row: auto; } }

/* ---------- partners ---------- */
.partners { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.partners ul { list-style: none; padding: 0; margin: 0; columns: 2; column-gap: 32px; }
.partners li { font: 400 1.05rem var(--font-sans); color: var(--indigo); padding: 10px 0; border-bottom: 1px solid var(--line); break-inside: avoid; }
.partners li small { display: block; color: var(--muted); font-size: .85rem; }
@media (max-width: 760px) { .partners { grid-template-columns: 1fr; } .partners ul { columns: 1; } }

/* ---------- home admissions teaser ---------- */
.steps-mini { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, 1fr); gap: 12px; }
.steps-mini li { font: 400 .95rem/1.35 var(--font-sans); color: #D5D7EC; }
.steps-mini .n { display: grid; place-items: center; width: 44px; height: 40px; clip-path: var(--hex); background: var(--saffron); color: var(--indigo); font-weight: 600; margin-bottom: 12px; }
.steps-mini b { display: block; color: #fff; font-weight: 500; margin-bottom: 2px; }
@media (max-width: 960px) { .steps-mini { grid-template-columns: repeat(2, 1fr); gap: 24px; } }

/* ---------- CTA band ---------- */
.cta-band { background: var(--saffron); color: var(--indigo); }
.cta-band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding-top: 48px; padding-bottom: 48px; }
.cta-band h2 { margin: 0 0 6px; color: var(--indigo); }
.cta-band p { margin: 0; }
.cta-band .btn-secondary:hover { background: var(--indigo); color: var(--saffron); }
.cta-band .btn-primary { background: var(--indigo); color: #fff; }
.cta-band .btn-primary:hover { background: var(--indigo-2); }

/* ---------- admissions page: layout with contents rail ---------- */
.adm-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 64px; align-items: start; }
.toc { position: sticky; top: 100px; font-family: var(--font-sans); font-size: .95rem; padding: 48px 0; }
.toc ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line-strong); }
.toc a { display: block; padding: 7px 0 7px 16px; color: var(--muted); text-decoration: none; margin-left: -1px; border-left: 3px solid transparent; }
.toc a:hover { color: var(--indigo); }
.toc a.active { color: var(--indigo); border-left-color: var(--indigo); font-weight: 500; }
.toc summary { font-weight: 500; color: var(--indigo); margin-bottom: 10px; list-style: none; cursor: default; }
.toc summary::-webkit-details-marker { display: none; }
.adm-main > section { padding: 56px 0; border-bottom: 1px solid var(--line); }
.adm-main p, .adm-main .checklist li { max-width: 44em; }
.adm-main > section:last-child { border-bottom: 0; }
.adm-main h2 { margin-bottom: 18px; }
.adm-main h3 { margin-top: 1.6em; }
@media (max-width: 1000px) {
  .adm-layout { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .toc { position: static; padding: 24px 0 0; }
  .toc-details { border: 1px solid var(--line-strong); background: var(--white); border-radius: var(--radius); }
  .toc summary { cursor: pointer; margin: 0; padding: 14px 16px; min-height: 48px; display: flex; justify-content: space-between; align-items: center; }
  .toc summary::after { content: "+"; font: 300 1.5rem/1 var(--font-sans); color: var(--indigo); }
  .toc-details[open] summary::after { content: "−"; }
  .toc ol { columns: 2; column-gap: 24px; border-left: 0; padding: 0 16px 12px; }
  .toc a { padding: 10px 0; border-left: 0; margin: 0; }
}
@media (max-width: 560px) { .toc ol { columns: 1; } }

/* key dates */
.dates { list-style: none; margin: 24px 0 0; padding: 0; border-top: 1px solid var(--line-strong); }
.dates li { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.dates time { font: 500 1rem var(--font-sans); color: var(--indigo); font-variant-numeric: tabular-nums; }
.dates li.key time { color: var(--saffron-ink); }
.dates li.key time::before { content: ""; display: inline-block; width: 11px; height: 10px; background: var(--saffron); clip-path: var(--hex); margin-right: 8px; }
.dates p { margin: 0; }
@media (max-width: 560px) { .dates li { grid-template-columns: 1fr; gap: 4px; } }

/* pathways tabs */
.tabs { margin-top: 28px; }
.tablist { display: flex; flex-wrap: wrap; gap: 0; border-bottom: 1px solid var(--line-strong); }
.tablist button { transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease); min-height: 48px; font: 500 1rem var(--font-sans); background: none; border: 0; padding: 14px 18px; color: var(--muted); cursor: pointer; border-bottom: 3px solid transparent; margin-bottom: -1px; }
.tablist button:hover { color: var(--indigo); }
.tablist button[aria-selected="true"] { color: var(--indigo); border-bottom-color: var(--indigo); }
.tabpanel { padding: 28px 0 0; }
.tabpanel[hidden] { display: none; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); margin: 0 0 24px; }
.facts div { background: var(--white); padding: 16px 18px; }
.facts dt { font: 400 .85rem var(--font-sans); color: var(--muted); }
.facts dd { margin: 4px 0 0; font: 500 1.05rem var(--font-sans); color: var(--indigo); }
@media (max-width: 640px) { .facts { grid-template-columns: 1fr 1fr; } .facts div:last-child:nth-child(odd) { grid-column: 1 / -1; } .tablist button { padding: 12px 12px; font-size: .95rem; } }
.checklist { padding-left: 0; list-style: none; }
.checklist li { padding-left: 28px; position: relative; margin-bottom: .6em; }
.checklist li::before { content: ""; position: absolute; left: 0; top: .45em; width: 12px; height: 11px; background: var(--indigo); clip-path: var(--hex); }

/* the step-by-step process — the root line */
.process { list-style: none; margin: 32px 0 0; padding: 0; position: relative; }
.process::before { content: ""; position: absolute; left: 31px; top: 20px; bottom: 40px; width: 2px; background: repeating-linear-gradient(to bottom, var(--indigo) 0 10px, transparent 10px 14px); }
.process > li { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 28px; padding-bottom: 44px; position: relative; }
.process .marker { width: 64px; height: 58px; clip-path: var(--hex); background: var(--indigo); color: #fff; display: grid; place-items: center; font: 500 1.35rem var(--font-sans); position: relative; }
.process > li:last-child .marker { background: var(--saffron); color: var(--indigo); }
.process .step-head { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 10px; min-height: 58px; }
.process .step-head img { width: 44px; height: 44px; }
.process h3 { margin: 0; font-size: 1.4rem; }
.process .when { font: 400 .9rem var(--font-sans); color: var(--saffron-ink); background: var(--saffron-tint); padding: 4px 10px; border-radius: 2px; }
.process details { margin-top: 10px; border: 1px solid var(--line); background: var(--white); }
.process summary { cursor: pointer; padding: 12px 16px; font: 500 .98rem var(--font-sans); color: var(--indigo); }
.process details[open] summary { border-bottom: 1px solid var(--line); }
.process details > div { padding: 16px 18px 6px; font-size: .98rem; }
@media (max-width: 560px) { .process::before { left: 21px; } .process > li { grid-template-columns: 44px minmax(0, 1fr); gap: 16px; } .process .marker { width: 44px; height: 40px; font-size: 1.05rem; } .process .step-head { min-height: 40px; } .process .step-head img { display: none; } }

/* weighting bars */
.weights { list-style: none; margin: 20px 0 0; padding: 0; }
.weights li { display: grid; grid-template-columns: minmax(0, 15em) minmax(0, 1fr) 3.5em; gap: 16px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); font-family: var(--font-sans); }
.weights .bar { height: 12px; background: var(--indigo-tint); border-radius: 2px; overflow: hidden; }
.weights .bar i { display: block; height: 100%; background: var(--indigo); }
.weights li:first-child .bar i { background: var(--saffron); }
.weights b { font-weight: 500; color: var(--indigo); text-align: right; }
@media (max-width: 560px) { .weights li { grid-template-columns: 1fr 3em; } .weights .bar { grid-column: 1 / -1; grid-row: 2; } }

/* document checklist */
.doclist { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); background: var(--white); }
.doclist li { border-bottom: 1px solid var(--line); }
.doclist li:last-child { border-bottom: 0; }
.doclist label { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 14px; padding: 14px 18px; cursor: pointer; align-items: start; }
.doclist input { width: 20px; height: 20px; margin: 4px 0 0; accent-color: var(--indigo); }
.doclist .who { font: 400 .85rem var(--font-sans); color: var(--muted); white-space: nowrap; }
.doclist input:checked ~ span:not(.who) { color: var(--muted); text-decoration: line-through; text-decoration-color: var(--line-strong); }
.doc-progress { font: 500 .95rem var(--font-sans); color: var(--indigo); margin: 14px 0 0; }

/* callouts */
.note { border-left: 4px solid var(--saffron); background: var(--saffron-tint); padding: 16px 20px; margin: 24px 0; font-size: .98rem; }
.note p:last-child { margin: 0; }
.note strong { font-family: var(--font-sans); font-weight: 500; color: var(--indigo); }
.info { border: 1px solid var(--line); background: var(--white); padding: 22px 24px; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 860px) { .grid-3 { grid-template-columns: 1fr; } }
@media (max-width: 700px) { .grid-2 { grid-template-columns: 1fr; } }

.support { background: var(--white); border: 1px solid var(--line); padding: 24px; }
.support img { width: 48px; height: 48px; margin-bottom: 12px; }
.support h3 { font-size: 1.15rem; margin-bottom: 6px; }
.support p { font-size: .97rem; margin-bottom: .6em; }
.support .amount { font: 500 1rem var(--font-sans); color: var(--saffron-ink); margin: 0; }

.figure-illus { margin: 28px 0; }
.figure-illus img { width: 100%; border-radius: var(--radius); }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 40px 18px 0; font: 500 1.08rem var(--font-sans); color: var(--indigo); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 14px; font: 300 1.6rem var(--font-sans); color: var(--saffron-ink); }
.faq details[open] summary::after { content: "−"; }
.faq details > div { padding: 0 0 18px; max-width: 42em; }

/* ---------- research centres ---------- */
.centres { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 40px; }
.centres li { padding: 16px 0; border-bottom: 1px solid var(--line); }
.centres b { font: 500 1.05rem var(--font-sans); color: var(--indigo); display: block; }
.centres span { font-size: .95rem; color: var(--muted); }
@media (max-width: 700px) { .centres { grid-template-columns: 1fr; } }

.wide-photo { width: 100%; aspect-ratio: 21/9; object-fit: cover; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.addr { font-style: normal; }
.contact-list { list-style: none; padding: 0; margin: 20px 0; font-family: var(--font-sans); }
.contact-list li { padding: 12px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 8em minmax(0, 1fr); gap: 12px; }
.contact-list span { color: var(--muted); }
form .field { margin-bottom: 18px; }
form label { display: block; font: 500 .95rem var(--font-sans); color: var(--indigo); margin-bottom: 6px; }
form .hint { font: 400 .85rem var(--font-sans); color: var(--muted); margin-top: 4px; }
input[type=text], input[type=email], input[type=tel], select, textarea { width: 100%; min-height: 48px; font: 400 1rem var(--font-sans); padding: 12px 14px; border: 1px solid var(--line-input); border-radius: var(--radius); background: var(--white); color: var(--ink); }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--indigo); outline-offset: 1px; }
[aria-invalid="true"] { border-color: #A4261C; border-width: 2px; }
.req { font-weight: 400; color: var(--muted); font-size: .85rem; }
button[aria-busy="true"] { opacity: .7; cursor: progress; }
textarea { min-height: 130px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.form-error { color: #A4261C; font: 400 .88rem var(--font-sans); margin-top: 4px; }
.form-done { border-left: 4px solid var(--indigo); background: var(--indigo-tint); padding: 18px 20px; font-family: var(--font-sans); }

/* ---------- footer ---------- */
.site-footer { background: var(--indigo); color: #C7C9E3; font-family: var(--font-sans); font-size: .95rem; padding: 64px 0 28px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 4fr) repeat(3, minmax(0, 2fr)); gap: 40px; }
.foot-grid h2 { font-size: 1rem; font-weight: 500; color: #fff; margin-bottom: 14px; letter-spacing: 0; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; }
.foot-grid li { margin-bottom: 9px; }
.foot-brand img { width: 46px; height: 46px; margin-bottom: 14px; }
.foot-brand .motto { font: italic 400 1.05rem var(--font-serif); color: #FFD27A; }
.foot-base { margin-top: 48px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.15); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .85rem; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }
.page-hero img.illus { aspect-ratio: auto; object-fit: contain; }

/* social icons — monochrome, inherit the link colour */
.social { display: flex; flex-wrap: wrap; gap: 8px; }
.foot-grid .social li { margin: 0; }
.social a { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid rgba(255,255,255,.5); border-radius: 50%; color: #fff; transition: background var(--dur) var(--ease), color var(--dur) var(--ease); }
.social a:hover { background: #fff; color: var(--indigo); }
.social-list { list-style: none; padding: 0; margin: 12px 0 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; font-family: var(--font-sans); }
.social-list a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); color: var(--indigo); text-decoration: none; }
.social-list a:hover { border-color: var(--indigo); }
.social-list svg { flex: none; }
@media (max-width: 400px) { .social-list { grid-template-columns: 1fr; } }
.brand-sub { white-space: nowrap; }
@media (max-width: 440px) { .brand-sub { display: none; } }
