/* =====================================================================================================
   GITAM Venture Development Centre: the one global stylesheet.

   Bootstrap 5.3 (self-hosted in assets/vendor) is imported into a cascade layer, so it sits underneath
   everything below: the VDC design always wins, and Bootstrap's grid, utilities, forms, tables and
   components are available wherever the markup uses them.
   No inline styles anywhere: all styling lives in this file.
   ===================================================================================================== */
@import url("../vendor/bootstrap-5.3.3/bootstrap.min.css") layer(bootstrap);

/* Inter (SIL Open Font License), self-hosted variable font: body text */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("../fonts/inter/Inter-latin-wght.woff2") format("woff2-variations"), url("../fonts/inter/Inter-latin-wght.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("../fonts/inter/Inter-latin-ext-wght.woff2") format("woff2-variations"), url("../fonts/inter/Inter-latin-ext-wght.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
/* Forma DJR Display (headings) is declared in forma-djr-display.css, which pages load only once GITAM's
   licensed font files are in assets/fonts/forma-djr-display/. */

:root {
  --cream: #ffffff;
  --paper: #ffffff;
  --ink: #004740;
  --ink-2: #004740;
  --ink-3: #007367;
  --line: #ccba8d;
  --green: #007367;
  --green-700: #004740;
  --accent: #e0b541;
  --coral: #dd736e;
  --butter: #f4e4c9;
  --sky: #ccba8d;
  --mint: #8bcbb7;
  --blush: #e0b541;
  --radius: 22px;
  /* GITAM branding: Forma DJR Display for headings, Inter for body text.
     Forma DJR Display is licensed: GITAM supplies the font files (see assets/fonts/forma-djr-display/README.txt).
     FALLBACK: until they are in place, headings use Inter at the same weights. */
  --head: "Forma DJR Display", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --sticker: 4px 4px 0 var(--ink);
}
* { box-sizing: border-box; }
/* The pages start from zero margins and padding (scoped to body.site so Bootstrap components used elsewhere keep their spacing). */
:where(.site) * { margin: 0; padding: 0; }
html { scroll-behavior: auto; } /* smooth scrolling is done in vdc.js; CSS smooth scrolling upsets the carousels */
/* Undo the parts of Bootstrap's reboot the public design never had (it was built on browser defaults) */
:where(.site) :is(h1, h3, h4, h5, h6, small) { font-size: revert; }
:where(.site) :is(label, dt, img, svg, button, textarea, input) { display: revert; font-weight: revert; vertical-align: revert; border-radius: revert; resize: revert; }
:where(.site) :is(input, textarea) { font: revert; }
html { scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body { background: var(--cream); color: var(--ink); font: 400 17px/1.6 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button, select { font: inherit; color: inherit; }
img { display: block; max-width: 100%; }
ul, ol { list-style: none; }
h1, h2, h3, h4 { font-family: var(--head); font-weight: 800; letter-spacing: 0; line-height: 1.05; }
h2 { font-size: clamp(32px, 4.2vw, 54px); }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 6px; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 72px 0; position: relative; }
.center { text-align: center; }
.kicker { font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--green); margin-bottom: 12px; }
/* graph paper, fading in from the cream page at the top and back out at the bottom so sections blend instead of cutting */
.grid-paper {
  background-color: var(--paper);
  background-image:
    linear-gradient(var(--cream), rgba(255,255,255,0)),
    linear-gradient(rgba(255,255,255,0), var(--cream)),
    linear-gradient(rgba(0,71,64,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,71,64,.05) 1px, transparent 1px);
  background-size: 100% 120px, 100% 120px, 34px 34px, 34px 34px;
  background-position: top, bottom, 0 0, 0 0;
  background-repeat: no-repeat, no-repeat, repeat, repeat;
}
.hl { position: relative; white-space: nowrap; z-index: 0; }
.hl::after { content: ""; position: absolute; left: -2%; right: -2%; bottom: -.08em; height: .34em; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 20' preserveAspectRatio='none'%3E%3Cpath d='M2 14 C 50 4, 120 4, 198 12' fill='none' stroke='%23E0B541' stroke-width='7' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 100% 100%; z-index: -1; }
@media (max-width: 900px) { .section { padding: 52px 0; } }

.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; height: 50px; padding: 0 24px; border-radius: 14px; font: 600 16px/1 var(--body); border: 1.5px solid transparent; transition: transform .15s, box-shadow .15s, background .2s, color .2s; white-space: nowrap; cursor: pointer; }
.btn-sm { height: 40px; padding: 0 16px; font-size: 14px; border-radius: 12px; }
.btn-primary { background: var(--green); color: #fff; border-color: var(--ink); box-shadow: var(--sticker); }
.btn-primary:hover { transform: translate(-1px, -1px); box-shadow: 5px 5px 0 var(--ink); }
.btn-primary:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--green-700); }
.btn-ghost { color: var(--ink); padding: 0 8px; }
.btn-ghost-light { color: #fff; padding: 0 8px; }
.btn-ghost-light span { transition: transform .2s; }
.btn-ghost-light:hover span { transform: translateX(3px); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--butter); }
.btn-outline-light { border-color: rgba(255,255,255,.5); color: #fff; }
.btn-outline-light:hover { border-color: #fff; background: rgba(255,255,255,.08); }

/* ---------------------------------------------------------------- header */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 50; background: rgba(255,255,255,.9); backdrop-filter: saturate(1.3) blur(12px); -webkit-backdrop-filter: saturate(1.3) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.scrolled { border-bottom-color: var(--line); }
.header-inner { height: 72px; display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 16px; flex: none; }
/* both logos share one height and VDC's own green (#007367); GITAM's mark is tinted through a mask so the colours match exactly */
.brand-vdc { height: 44px; width: auto; }
.brand-sep { width: 1.5px; height: 34px; background: var(--line); }
.brand-gitam { display: block; height: 44px; aspect-ratio: 640 / 275; background: #007367; -webkit-mask: url("../img/gitam-logo.png") center / contain no-repeat; mask: url("../img/gitam-logo.png") center / contain no-repeat; }
@media (max-width: 600px) { .brand { gap: 12px; } .brand-vdc, .brand-gitam { height: 38px; } .brand-sep { height: 28px; } }
.main-nav { display: flex; gap: 18px; margin-left: auto; }
.main-nav a { font-size: 15px; font-weight: 500; color: var(--ink-2); transition: color .2s; white-space: nowrap; }
.main-nav a:hover, .main-nav a.active { color: var(--ink); }
.main-nav a.active { box-shadow: inset 0 -2px 0 var(--coral); }
.menu-btn { display: none; width: 40px; height: 40px; border: 0; background: none; margin-left: auto; position: relative; cursor: pointer; }
.menu-btn span { position: absolute; left: 10px; right: 10px; height: 1.5px; background: var(--ink); transition: transform .25s, top .25s; }
.menu-btn span:first-child { top: 15px; }
.menu-btn span:last-child { top: 24px; }
.menu-btn[aria-expanded="true"] span:first-child { top: 19px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { top: 19px; transform: rotate(-45deg); }
.mobile-nav { display: none; }
@media (max-width: 1240px) {
  .main-nav, .header-cta { display: none; }
  .menu-btn { display: block; }
  .mobile-nav { display: grid; max-height: 0; overflow: hidden; transition: max-height .3s var(--ease); background: var(--cream); }
  .mobile-nav.open { max-height: 80vh; overflow-y: auto; border-bottom: 1px solid var(--line); }
  .mobile-nav a { padding: 14px 24px; border-top: 1px solid var(--line); font-weight: 500; }
}
@media (max-width: 380px) { .brand-vdc, .brand-gitam { height: 32px; } .brand { gap: 10px; } }

/* ---------------------------------------------------------------- hero */
.hero { padding: 96px 0 24px; }
.hero-card { background: #f4e4c9; border-radius: 36px; padding: 64px 40px 0; text-align: center; overflow: hidden; }
.hero h1 { font-size: clamp(44px, 6.6vw, 92px); font-weight: 900; letter-spacing: -.01em; line-height: .98; max-width: 14ch; margin: 0 auto; }
.hero h1 span { color: var(--green); position: relative; display: inline-block; }
.hero h1 span::after { content: ""; position: absolute; left: 0; right: 0; bottom: -.1em; height: .22em; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 20' preserveAspectRatio='none'%3E%3Cpath d='M3 13 C 60 3, 130 3, 197 11' fill='none' stroke='%23DD736E' stroke-width='5' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 100% 100%; }
.aud { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px 12px; margin-top: 32px; }
.aud-label { font-size: 17px; color: var(--ink-2); }
.aud-switch { display: inline-flex; padding: 4px; background: #fff; border: 1.5px solid var(--ink); border-radius: 99px; box-shadow: 3px 3px 0 var(--ink); }
.aud-switch button { border: 0; background: none; padding: 9px 18px; border-radius: 99px; font-size: 15px; font-weight: 500; color: var(--ink-2); cursor: pointer; white-space: nowrap; transition: color .25s, background .25s; }
.aud-switch button:hover { color: var(--ink); }
.aud-switch button[aria-selected="true"] { background: var(--ink); color: #fff; }
.hero-photo { position: relative; margin: 44px -40px 0; height: clamp(360px, 46vw, 560px); overflow: hidden; }
.hero-media { position: absolute; left: 0; right: 0; top: -12%; bottom: 0; will-change: transform; }
.hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 35%; opacity: 0; transform: scale(1.05); transition: opacity .8s var(--ease), transform 1.4s var(--ease); }
.hero-media img.is-on { opacity: 1; transform: scale(1); }
.hero-bar { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; padding: 64px 40px 28px; text-align: left; background: linear-gradient(180deg, rgba(0,71,64,0), rgba(0,71,64,.82)); }
.lead { font-weight: 400; font-size: 19px; line-height: 1.45; color: #fff; max-width: 34ch; min-height: 2.9em; transition: opacity .22s; }
.lead.swap { opacity: 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
@media (max-width: 900px) {
  .hero { padding-top: 84px; }
  .hero-card { padding: 44px 20px 0; border-radius: 26px; }
  .hero-photo { margin: 32px -20px 0; height: 520px; }
  .hero-bar { padding: 80px 20px 22px; }
  .lead { font-size: 17px; }
}
@media (max-width: 420px) { .aud-switch button { padding: 8px 12px; font-size: 14px; } }

/* ---------------------------------------------------------------- GIC */
.gic-wrap { padding: 24px 0 0; }
.gic-card { display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px 48px; align-items: center; padding: 44px 48px; border-radius: 28px; color: #fff; background: #004740; overflow: hidden; }
.pill { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding: 6px 12px; border-radius: 99px; }
.pill-live { background: rgba(255,255,255,.12); color: #fff; }
.pill-live i { width: 8px; height: 8px; border-radius: 50%; background: #8bcbb7; animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(139,203,183,.6); } 70% { box-shadow: 0 0 0 9px rgba(139,203,183,0); } 100% { box-shadow: 0 0 0 0 rgba(139,203,183,0); } }
.gic-copy h2 { margin-top: 14px; font-size: clamp(40px, 5vw, 64px); font-weight: 900; }
.gic-copy p { margin-top: 10px; color: rgba(255,255,255,.78); max-width: 44ch; }
.gic-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.gic-count p { font-size: 14px; color: rgba(255,255,255,.7); margin-bottom: 12px; }
.cd-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.cd-grid div { background: #fff; color: var(--ink); border-radius: 16px; padding: 18px 10px 14px; text-align: center; }
.cd-grid b { display: block; font: 800 clamp(36px, 4vw, 52px)/1 var(--head); font-variant-numeric: tabular-nums; }
.cd-grid span { font-size: 13px; color: var(--ink-3); }
@media (max-width: 900px) { .gic-card { grid-template-columns: 1fr; padding: 32px 24px; } }

/* ---------------------------------------------------------------- proof */
.proof h2 { max-width: 18ch; margin: 0 auto; }
.proof-map { position: relative; height: 440px; margin-top: 48px; }
.campus { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 300px; padding: 28px; background: #fff; border: 1.5px solid var(--ink); border-radius: 24px; box-shadow: var(--sticker); }
.js .campus.reveal { transform: translate(-50%, calc(-50% + 18px)); }
.js .campus.reveal.in { transform: translate(-50%, -50%); }
.campus-title { font: 700 22px/1.1 var(--head); margin-bottom: 14px; }
.campus li { display: flex; align-items: center; gap: 10px; padding: 8px 0; font-weight: 500; border-top: 1px dashed var(--line); }
.campus li i { width: 14px; height: 14px; background: #5e95cd; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); flex: none; }
.bubble { position: absolute; display: grid; gap: 2px; padding: 18px 22px; border-radius: 18px; background: var(--sky); min-width: 200px; border: 1.5px solid var(--ink); box-shadow: var(--sticker); }
.bubble b { font: 800 clamp(30px, 3vw, 40px)/1 var(--head); letter-spacing: -.012em; }
.bubble span { font-size: 14px; font-weight: 500; color: var(--ink); max-width: 22ch; }
.b1 { left: 4%; top: 6%; background: var(--green); color: #fff; }
.b1 span, .b2 span { color: #fff; }
.b2 { right: 4%; top: 2%; background: var(--ink); color: #fff; }
.b3 { left: 9%; bottom: 4%; background: var(--butter); }
.b4 { right: 7%; bottom: 8%; background: var(--accent); }
@media (max-width: 900px) {
  .proof-map { height: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .campus, .bubble { position: static; transform: none; width: auto; min-width: 0; }
  .js .campus.reveal, .js .campus.reveal.in { transform: none; }
  .campus { grid-column: 1 / -1; }
  .bubble b { font-size: 30px; }
}

/* ---------------------------------------------------------------- ventures + strip */
.ventures { padding-bottom: 48px; }
.wordmarks { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px 48px; margin-top: 40px; }
.wordmarks li { font: 800 clamp(22px, 2.4vw, 30px)/1 var(--head); letter-spacing: -.012em; color: var(--ink-2); transition: color .2s, transform .2s; }
.wordmarks li:nth-child(3n+1) { font-style: italic; }
.wordmarks li:hover { color: var(--ink); transform: rotate(-2deg); }
.strip { margin-top: 56px; }
.strip-track { display: flex; gap: 14px; width: max-content; }
.strip img { width: 420px; height: 280px; object-fit: cover; border-radius: 22px; flex: none; }
.strip img:nth-child(even) { width: 320px; }
@media (max-width: 900px) { .strip img, .strip img:nth-child(even) { width: 260px; height: 200px; } }

/* ---------------------------------------------------------------- venture showcase */
.ventures-head { display: flex; align-items: end; justify-content: space-between; flex-wrap: wrap; gap: 16px 40px; }
.ventures-head h2 { max-width: 18ch; }
.venture-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 36px; }
.venture { display: flex; flex-direction: column; padding: 26px; border: 1.5px solid var(--ink); border-radius: 24px; box-shadow: var(--sticker); transition: transform .2s, box-shadow .2s; }
.venture:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.v-sky { background: var(--sky); } .v-mint { background: var(--mint); } .v-butter { background: var(--butter); } .v-blush { background: var(--blush); } .v-white { background: #fff; }
.venture-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.venture-mark { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--ink); color: #fff; font: 800 18px/1 var(--head); letter-spacing: -.008em; }
.venture .prog-tag { background: #fff; border: 1.5px solid var(--ink); }
.venture h3 { margin-top: 20px; font-size: 28px; font-weight: 900; }
.venture-big { margin-top: 10px; font-size: 16px; color: var(--ink-2); line-height: 1.35; }
.venture-big b { display: block; font: 800 clamp(40px, 4vw, 56px)/1 var(--head); letter-spacing: -.02em; color: var(--ink); margin-bottom: 4px; }
.venture-more { display: grid; gap: 6px; margin-top: 18px; padding-top: 16px; border-top: 1.5px dashed rgba(0,71,64,.2); }
.venture-more li { font-size: 14px; color: var(--ink-2); }
.venture-more b { color: var(--ink); }
.venture-strip { margin-top: 18px; padding: 16px 20px; border: 1.5px dashed var(--ink-3); border-radius: 16px; background: #fff; font-size: 15px; color: var(--ink-2); }
.pill-funded { background: var(--ink); color: #fff; margin-right: 6px; }
.venture-names { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 22px; }
.venture-names > span { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.venture-names ul { display: flex; flex-wrap: wrap; gap: 8px; }
.venture-names li { padding: 8px 14px; border: 1.5px solid var(--ink); border-radius: 99px; background: #fff; font: 700 15px/1 var(--head); }
.venture-source { margin-top: 14px; font-size: 12px; color: var(--ink-3); }
@media (max-width: 900px) { .venture-cards { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- who */
.who { overflow: hidden; }
.who-path { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .5; pointer-events: none; }
.who-grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.who h2 { font-size: clamp(40px, 5.4vw, 72px); font-weight: 900; }
.who-note { margin-top: 14px; font-size: 19px; color: var(--ink-2); }
.checklist { display: grid; gap: 12px; }
.checklist li { display: flex; align-items: center; gap: 16px; padding: 16px 20px; background: #fff; border: 1.5px solid var(--ink); border-radius: 16px; font: 600 19px/1.2 var(--head); box-shadow: 3px 3px 0 var(--ink); transition: transform .2s; }
.checklist li:nth-child(odd) { transform: rotate(-.6deg); }
.checklist li:nth-child(even) { transform: rotate(.5deg); margin-left: 24px; }
.checklist li:hover { transform: rotate(0) translateX(4px); }
.ic { width: 34px; height: 34px; border-radius: 10px; flex: none; position: relative; }
.ic::after { content: ""; position: absolute; inset: 9px; border-radius: 4px; background: var(--ink); opacity: .85; }
.ic-1 { background: #5e95cd; } .ic-1::after { border-radius: 50%; }
.ic-2 { background: var(--butter); } .ic-2::after { inset: 8px 10px; border-radius: 2px; }
.ic-3 { background: var(--mint); } .ic-3::after { inset: 10px 7px; border-radius: 99px; }
.ic-4 { background: var(--blush); } .ic-4::after { transform: rotate(45deg); inset: 10px; }
.ic-5 { background: var(--butter); } .ic-5::after { clip-path: polygon(50% 0, 100% 100%, 0 100%); border-radius: 0; }
.ic-6 { background: #5e95cd; } .ic-6::after { inset: 8px; border-radius: 50% 50% 4px 4px; }
@media (max-width: 900px) { .who-grid { grid-template-columns: 1fr; } .checklist li:nth-child(even) { margin-left: 12px; } }

/* ---------------------------------------------------------------- how */
.how-head { max-width: 640px; }
.how-head h2 { font-size: clamp(40px, 5.4vw, 72px); font-weight: 900; }
.how-head p:last-child { margin-top: 16px; font-size: 19px; color: var(--ink-2); }
.phase-road { position: relative; margin-top: 56px; }
.road { position: absolute; left: 0; top: 0; width: 100%; height: 300px; pointer-events: none; }
.phases { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; align-items: start; }
.phase { background: var(--sky); border: 1.5px solid var(--ink); border-radius: 18px; padding: 20px; box-shadow: var(--sticker); }
.phase:nth-child(even) { margin-top: 120px; background: var(--paper); }
.phase:nth-child(3) { background: var(--mint); }
.phase:nth-child(5) { background: var(--butter); }
.phase b { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: #fff; font: 700 18px/1 var(--head); }
.phase h3 { margin-top: 14px; font-size: 24px; }
.phase p { margin-top: 6px; font-size: 15px; color: var(--ink-2); line-height: 1.45; }
.curriculum { margin-top: 56px; }
.curriculum summary { display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 18px; border: 1.5px solid var(--ink); border-radius: 12px; background: #fff; font-weight: 600; cursor: pointer; list-style: none; box-shadow: 3px 3px 0 var(--ink); }
.curriculum summary::-webkit-details-marker { display: none; }
.curriculum summary::after { content: "+"; font-size: 20px; line-height: 1; transition: transform .25s; }
.curriculum[open] summary::after { transform: rotate(45deg); }
.modules { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-top: 24px; padding: 24px; background: #fff; border: 1.5px dashed var(--ink-3); border-radius: 18px; }
.modules ol { display: grid; gap: 10px; }
.modules h4 { font-size: 15px; margin-bottom: 4px; }
.modules li { font-size: 14px; color: var(--ink-2); line-height: 1.4; }
.modules li span { display: block; font-size: 12px; color: var(--ink-3); }
@media (max-width: 900px) {
  .road { display: none; }
  .phases { grid-template-columns: 1fr; gap: 14px; }
  .phase:nth-child(even) { margin-top: 0; margin-left: 28px; }
  .modules { grid-template-columns: 1fr 1fr; }
}

/* ---------------------------------------------------------------- what you get: notebook */
.notebook { position: relative; background: var(--paper); border: 1.5px solid var(--ink); border-radius: 32px; padding: 64px 56px 56px 88px; box-shadow: 6px 6px 0 var(--ink); }
.rings { position: absolute; left: -18px; top: 56px; bottom: 56px; display: flex; flex-direction: column; justify-content: space-between; }
.rings i { width: 52px; height: 18px; border: 2.5px solid var(--ink); border-radius: 99px; }
.notebook h2 { font-size: clamp(36px, 4.6vw, 60px); font-weight: 900; }
.perks { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 40px; }
.perk { display: grid; grid-template-columns: 1.2fr 1fr; gap: 16px; align-items: stretch; padding: 22px; border-radius: 22px; min-height: 220px; }
.perk h3 { font-size: clamp(24px, 2.4vw, 32px); font-weight: 900; }
.perk p { margin-top: 8px; font-size: 15px; color: var(--ink-2); }
.perk img { width: 100%; height: 100%; min-height: 176px; object-fit: cover; border-radius: 16px; border: 1.5px solid var(--ink); transform: rotate(2deg); transition: transform .3s var(--ease); }
.perk:nth-child(even) img { transform: rotate(-2deg); }
.perk:hover img { transform: rotate(0) scale(1.02); }
.perk-butter { background: var(--butter); }
.perk-sky { background: var(--sky); }
.perk-mint { background: var(--mint); }
.perk-blush { background: var(--blush); }
@media (max-width: 900px) {
  .notebook { padding: 48px 20px 24px 40px; border-radius: 24px; }
  .rings { left: -14px; }
  .rings i { width: 40px; height: 14px; }
  .perks { grid-template-columns: 1fr; }
}
@media (max-width: 560px) { .perk { grid-template-columns: 1fr; } .perk img { min-height: 180px; } }

/* ---------------------------------------------------------------- programmes */
.prog-head { display: flex; align-items: end; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; }
.feed-follow:empty, .feed-grid[hidden] { display: none; } /* no stray gap under the social links */
.tabs { display: flex; flex-wrap: wrap; gap: 4px; padding: 4px; background: #fff; border: 1.5px solid var(--ink); border-radius: 99px; box-shadow: 3px 3px 0 var(--ink); }
.tabs button { border: 0; background: none; padding: 9px 16px; border-radius: 99px; font-size: 15px; font-weight: 500; color: var(--ink-2); cursor: pointer; transition: color .25s, background .25s; }
.tabs button:hover { color: var(--ink); }
.tabs button[aria-selected="true"] { background: var(--ink); color: #fff; }
.prog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 40px; }
.prog-grid.swap { animation: swapIn .45s var(--ease); }
@keyframes swapIn { from { opacity: 0; transform: translateY(8px); } }
.prog { display: flex; flex-direction: column; gap: 10px; padding: 24px; background: #fff; border: 1.5px solid var(--ink); border-radius: 20px; min-height: 210px; box-shadow: var(--sticker); transition: transform .2s, box-shadow .2s; }
.prog:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.prog-tag { align-self: start; font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; background: var(--sky); padding: 4px 10px; border-radius: 99px; }
.prog:nth-child(4n+2) .prog-tag { background: var(--butter); }
.prog:nth-child(4n+3) .prog-tag { background: var(--mint); }
.prog:nth-child(4n+4) .prog-tag { background: var(--blush); }
.prog h3 { font-size: 22px; }
.prog p { font-size: 15px; color: var(--ink-2); }
.prog-links { margin-top: auto; padding-top: 8px; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.prog a { font-weight: 600; font-size: 15px; color: var(--green); }
.prog a.prog-site { color: var(--green-700); }
.prog a span { display: inline-block; transition: transform .2s; }
.prog a:hover span { transform: translateX(3px); }
@media (max-width: 900px) { .prog-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .prog-grid { grid-template-columns: 1fr; } .prog { min-height: 0; } .tabs { border-radius: 18px; } }

/* ---------------------------------------------------------------- G-TEC */
.gtec-card { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px 56px; align-items: center; padding: 48px; border: 1.5px solid var(--ink); border-radius: 32px; background: var(--mint); box-shadow: 6px 6px 0 var(--ink); }
.gtec-copy h2 { font-size: clamp(34px, 4.2vw, 54px); font-weight: 900; }
.gtec-copy > p:not(.kicker) { margin-top: 14px; font-size: 18px; color: var(--ink-2); max-width: 46ch; }
.gtec-stats { display: flex; flex-wrap: wrap; gap: 16px 36px; margin-top: 28px; }
.gtec-stats dd { font: 800 clamp(30px, 3.2vw, 42px)/1 var(--head); letter-spacing: -.012em; }
.gtec-stats dt { margin-top: 6px; font-size: 14px; color: var(--ink-2); max-width: 16ch; }
.gtec-actions { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: center; margin-top: 30px; }
.gtec-paths { display: grid; gap: 10px; }
.gtec-paths a { display: flex; align-items: center; gap: 16px; padding: 14px 18px; background: #fff; border: 1.5px solid var(--ink); border-radius: 16px; box-shadow: 3px 3px 0 var(--ink); transition: transform .2s, box-shadow .2s; }
.gtec-paths a:hover { transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--ink); }
.gtec-paths b { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--ink); color: #fff; font: 700 14px/1 var(--head); }
.gtec-paths span { flex: 1; min-width: 0; font-size: 14px; color: var(--ink-3); line-height: 1.35; }
.gtec-paths strong { display: block; font: 700 17px/1.2 var(--head); color: var(--ink); margin-bottom: 2px; }
.gtec-paths i { flex: none; font-style: normal; color: var(--ink-3); transition: color .2s, transform .2s; }
.gtec-paths a:hover i { color: var(--ink); transform: translate(2px, -2px); }
@media (max-width: 900px) { .gtec-card { grid-template-columns: 1fr; padding: 28px 20px; border-radius: 24px; } }

/* ---------------------------------------------------------------- minor in I&E */
.minor-card { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px 48px; align-items: center; padding: 24px 40px 24px 24px; border: 1.5px solid var(--ink); border-radius: 32px; background: #f4e4c9; box-shadow: 6px 6px 0 var(--ink); }
.minor-photo { position: relative; height: 100%; min-height: 420px; }
.minor-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 72% 50%; border-radius: 22px; border: 1.5px solid var(--ink); }
.pill-open { position: absolute; top: 16px; left: 16px; background: #fff; border: 1.5px solid var(--ink); color: var(--ink); }
.pill-open i { width: 8px; height: 8px; border-radius: 50%; background: var(--green); animation: pulse 2s infinite; }
.minor-copy h1, .minor-copy h2 { font-size: clamp(30px, 3.6vw, 46px); font-weight: 900; }
.minor-copy h1 span, .minor-copy h2 span { color: var(--green); }
.minor-lead { margin-top: 14px; font-size: 18px; color: var(--ink-2); max-width: 44ch; }
.minor-facts { display: grid; grid-template-columns: repeat(4, auto); justify-content: start; gap: 10px; margin-top: 24px; }
.minor-facts div { padding: 12px 16px; background: #fff; border: 1.5px solid var(--ink); border-radius: 14px; }
.minor-facts dt { font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.minor-facts dd { margin-top: 2px; font: 800 22px/1.1 var(--head); white-space: nowrap; }
.minor-meta { margin-top: 18px; font-size: 14px; color: var(--ink-2); line-height: 1.55; }
.minor-meta b { color: var(--ink); }
.minor-actions { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: center; margin-top: 24px; }
.minor-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 18px; }
.minor-block { padding: 28px; background: #fff; border: 1.5px solid var(--ink); border-radius: 24px; box-shadow: var(--sticker); }
.minor-block h3 { font-size: 22px; }
.minor-sub { margin-top: 26px; }
.minor-why { display: grid; gap: 14px; margin-top: 16px; }
.minor-why div { display: grid; grid-template-columns: 92px 1fr; gap: 12px; align-items: center; }
.minor-why dd { font: 800 30px/1 var(--head); letter-spacing: -.012em; color: #5e95cd; }
.minor-why dt { font-size: 14px; color: var(--ink-2); line-height: 1.4; }
.minor-source { margin-top: 12px; font-size: 12px; color: var(--ink-3); line-height: 1.45; }
.minor-roles { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.minor-roles li { padding: 7px 14px; border: 1.5px solid var(--ink); border-radius: 99px; font-size: 14px; font-weight: 500; }
.minor-enquiry-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 26px; }
.minor-enquiry-head .minor-sub { margin-top: 0; }
.minor-campus select { appearance: none; -webkit-appearance: none; padding: 8px 34px 8px 14px; border: 1.5px solid var(--ink); border-radius: 99px; font: 600 14px/1.2 var(--body); color: var(--ink); background: var(--butter) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23004740' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 12px center; cursor: pointer; box-shadow: 2px 2px 0 var(--ink); }
.minor-campus select:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.minor-contacts { display: grid; gap: 8px; margin-top: 12px; }
.minor-contacts li { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 6px 16px; padding: 12px 0; border-top: 1px dashed var(--line); font-size: 15px; }
.minor-contacts li > div:first-child span { display: block; font-size: 13px; color: var(--ink-3); }
.minor-reach { display: grid; justify-items: end; gap: 2px; }
.minor-contacts a { color: var(--green-700); font-weight: 600; }
@media (max-width: 480px) { .minor-reach { justify-items: start; } }
@media (max-width: 900px) {
  .minor-card { grid-template-columns: 1fr; padding: 16px 16px 28px; border-radius: 24px; }
  .minor-photo { min-height: 260px; }
  .minor-copy { padding: 0 8px; }
  .minor-facts { grid-template-columns: 1fr 1fr; justify-content: stretch; }
  .minor-grid { grid-template-columns: 1fr; }
  .minor-block { padding: 22px; }
}
@media (max-width: 480px) { .minor-why div { grid-template-columns: 72px 1fr; } .minor-why dd { font-size: 24px; } }

/* ---------------------------------------------------------------- programme pages (minor.html, yep.html) */
.page-top { padding: 96px 0 40px; }
.crumb { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 20px; font-size: 15px; font-weight: 600; color: var(--ink-2); }
.crumb:hover { color: var(--ink); }
.crumb span { transition: transform .2s; }
.crumb:hover span { transform: translateX(-3px); }
.page-lead { margin-top: 16px; font-size: 19px; color: var(--ink-2); max-width: 48ch; }
.yep-hero { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: start; padding: 48px; border: 1.5px solid var(--ink); border-radius: 32px; background: #8bcbb7; box-shadow: 6px 6px 0 var(--ink); }
.yep-hero h1 { font-size: clamp(38px, 5.4vw, 72px); font-weight: 900; letter-spacing: -.01em; max-width: 14ch; }
.yep-badge { display: grid; place-items: center; align-content: center; width: 180px; height: 180px; border-radius: 50%; background: var(--accent); border: 1.5px solid var(--ink); box-shadow: 4px 4px 0 var(--ink); text-align: center; transform: rotate(-6deg); }
.yep-badge b { font: 800 52px/1 var(--head); letter-spacing: -.02em; }
.yep-badge span { margin-top: 4px; max-width: 12ch; font-size: 13px; font-weight: 600; line-height: 1.3; }
.yep-next { margin-top: 18px; font-size: 15px; color: var(--ink-2); display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.pill-soon { background: #fff; border: 1.5px solid var(--ink); color: var(--ink); }
.pill-soon i { width: 8px; height: 8px; border-radius: 50%; background: var(--coral); }
.pillars { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: 36px; }
.pillar { padding: 22px; background: #fff; border: 1.5px solid var(--ink); border-radius: 20px; box-shadow: var(--sticker); }
.pillar:nth-child(5n+1) { background: var(--sky); } .pillar:nth-child(5n+2) { background: var(--mint); } .pillar:nth-child(5n+3) { background: var(--butter); } .pillar:nth-child(5n+4) { background: var(--blush); }
.pillar-n { font: 800 14px/1 var(--head); color: var(--ink); }
.pillar h3 { margin-top: 10px; font-size: 20px; }
.pillar p { margin-top: 8px; font-size: 14px; color: var(--ink-2); line-height: 1.5; }
.yep-included-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 48px; align-items: center; }
.yep-list { display: grid; gap: 10px; margin-top: 22px; }
.yep-list li { display: flex; align-items: center; gap: 12px; font-size: 17px; font-weight: 500; }
.yep-list li::before { content: "✓"; display: grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--mint); border: 1.5px solid var(--ink); font-size: 14px; font-weight: 700; }
.yep-intern { padding: 32px; background: var(--butter); border: 1.5px solid var(--ink); border-radius: 26px; box-shadow: 6px 6px 0 var(--ink); }
.yep-intern h3 { font-size: clamp(24px, 2.6vw, 32px); font-weight: 900; }
.yep-intern .yep-list li::before { background: #fff; }
.faq { display: grid; gap: 12px; margin-top: 32px; max-width: 860px; }
.faq details { background: #fff; border: 1.5px solid var(--ink); border-radius: 16px; box-shadow: 3px 3px 0 var(--ink); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 22px; font: 700 18px/1.3 var(--head); cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font-size: 22px; transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 22px 20px; color: var(--ink-2); }
.yep-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; margin-top: 40px; padding: 28px 32px; border-radius: 24px; background: var(--blush); border: 1.5px solid var(--ink); }
.yep-cta h3 { font-size: 24px; font-weight: 900; }
.yep-cta p { margin-top: 4px; color: var(--ink-2); }
@media (max-width: 1000px) { .pillars { grid-template-columns: 1fr 1fr; } }
@media (max-width: 900px) {
  .page-top { padding: 88px 0 40px; }
  .yep-hero { grid-template-columns: 1fr; padding: 28px 20px; border-radius: 24px; }
  .yep-badge { position: absolute; top: -18px; right: 14px; width: 104px; height: 104px; }
  .yep-badge b { font-size: 30px; } .yep-badge span { font-size: 10px; }
  .yep-included-grid { grid-template-columns: 1fr; }
  .yep-intern { padding: 24px; }
}
@media (max-width: 560px) { .pillars { grid-template-columns: 1fr; } .yep-hero h1 { padding-right: 90px; } .minor-facts dd { white-space: normal; font-size: 19px; } }
.yep-hero-copy, .minor-copy { min-width: 0; }

.startups-hero h1 { font-size: clamp(38px, 5.4vw, 70px); font-weight: 900; letter-spacing: -.01em; max-width: 16ch; }
.venture-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 28px; }
.startups-gap { margin-top: 64px; }
.startups-note { margin-top: 10px; font-size: 17px; color: var(--ink-2); max-width: 56ch; }
.venture-source a { text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 900px) { .venture-pair { grid-template-columns: 1fr; } }

/* extra-narrow phones (320px): compact one-row tabs, and minor cards that shrink instead of overflowing */
.minor-grid > *, .minor-block { min-width: 0; }
.minor-contacts a { overflow-wrap: anywhere; }

/* ---------------------------------------------------------------- events */
.events-head { display: flex; align-items: end; justify-content: space-between; gap: 16px 40px; flex-wrap: wrap; }
.event-list { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 36px; }
.event > a, .event > div { display: flex; align-items: center; gap: 20px; height: 100%; padding: 18px 22px 18px 18px; background: #fff; border: 1.5px solid var(--ink); border-radius: 20px; box-shadow: var(--sticker); transition: transform .2s, box-shadow .2s; }
.event > a:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.event-date { display: grid; place-items: center; align-content: center; flex: none; width: 76px; height: 82px; border: 1.5px solid var(--ink); border-radius: 16px; background: var(--butter); text-align: center; }
.event:nth-child(4n+2) .event-date { background: var(--sky); }
.event:nth-child(4n+3) .event-date { background: var(--mint); }
.event:nth-child(4n+4) .event-date { background: var(--blush); }
.event-date b { font: 800 32px/1 var(--head); letter-spacing: -.012em; }
.event-date span { margin-top: 2px; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-2); }
.event-body { flex: 1; min-width: 0; }
.event-body h3 { margin-top: 8px; font-size: 21px; }
.event-body p { margin-top: 4px; font-size: 15px; color: var(--ink-2); }
.event-now { display: inline-block; margin-left: 8px; font-size: 12px; font-weight: 600; color: var(--green-700); }
.event-go { flex: none; font-size: 20px; color: var(--ink-3); transition: color .2s, transform .2s; }
.event > a:hover .event-go { color: var(--ink); transform: translate(2px, -2px); }
.event-empty { grid-column: 1 / -1; padding: 28px; border: 1.5px dashed var(--ink-3); border-radius: 20px; text-align: center; color: var(--ink-2); }
.event-empty a { color: var(--green); font-weight: 600; }
@media (max-width: 900px) { .event-list { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .event > a, .event > div { gap: 14px; padding: 14px; } .event-date { width: 62px; height: 70px; } .event-date b { font-size: 26px; } .event-body h3 { font-size: 18px; } }

/* ---------------------------------------------------------------- community */
.eclub { display: grid; grid-template-columns: 1fr 1.1fr; gap: 24px; padding: 24px; background: var(--mint); border-radius: 28px; }
.eclub img { width: 100%; height: 100%; min-height: 260px; object-fit: cover; border-radius: 20px; }
.eclub > div { padding: 12px 8px 8px 0; }
.eclub h2 { font-size: clamp(30px, 3.2vw, 42px); font-weight: 900; }
.eclub p:not(.kicker) { margin-top: 12px; color: var(--ink-2); }
.mini-stats { display: flex; flex-wrap: wrap; gap: 16px 28px; margin-top: 24px; }
.mini-stats dd { font: 800 clamp(28px, 2.6vw, 38px)/1 var(--head); letter-spacing: -.012em; white-space: nowrap; }
.mini-stats dt { margin-top: 6px; font-size: 14px; color: var(--ink-2); }
@media (max-width: 900px) { .eclub { grid-template-columns: 1fr; } .eclub img { min-height: 220px; } }

/* ---------------------------------------------------------------- contact */
.contact-wrap { padding-top: 24px; }
.contact { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; padding: 56px; border-radius: 32px; background: #f4e4c9; }
.contact h2 { font-size: clamp(36px, 4.4vw, 58px); font-weight: 900; max-width: 12ch; }
.contact-copy > p:not(.kicker) { margin-top: 14px; font-size: 19px; color: var(--ink-2); max-width: 30ch; }
.contact-meta { margin-top: 32px; border-top: 1.5px dashed rgba(0,71,64,.25); }
.contact-meta > div { display: grid; grid-template-columns: 96px 1fr; gap: 16px; padding: 12px 0; border-bottom: 1.5px dashed rgba(0,71,64,.25); font-size: 15px; }
.contact-meta dt { color: var(--ink-3); }
.contact-meta a { text-decoration: underline; text-underline-offset: 3px; }
.copy { margin-left: 8px; border: 1.5px solid var(--ink); background: #fff; border-radius: 8px; padding: 1px 9px; font-size: 13px; cursor: pointer; }
.form { display: grid; gap: 14px; padding: 28px; background: #fff; border: 1.5px solid var(--ink); border-radius: 24px; box-shadow: 6px 6px 0 var(--ink); }
.form[hidden] { display: none; }
.field { display: grid; gap: 6px; font-size: 14px; font-weight: 600; }
.field input, .field select, .field textarea { width: 100%; border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; font: 400 16px/1.4 var(--body); color: var(--ink); background: var(--cream); transition: border-color .2s, background .2s; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 36px; background: var(--cream) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23004740' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 14px center; }
.field textarea { resize: vertical; min-height: 92px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); background: #fff; }
.field.invalid input, .field.invalid textarea, .field.invalid select { border-color: var(--coral); background: #ffffff; }
.form-foot { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; margin-top: 4px; }
.form-note { font-size: 13px; color: var(--ink-3); }
.form-note.error { color: var(--ink); font-weight: 600; }
.path-switch { display: flex; flex-wrap: wrap; gap: 8px; }
.path-switch button { border: 1.5px solid var(--ink); background: #fff; padding: 8px 14px; border-radius: 99px; font: 500 14px/1.2 var(--body); color: var(--ink); cursor: pointer; white-space: nowrap; transition: background .2s, color .2s; }
.path-switch button:hover { background: var(--butter); }
.path-switch button[aria-selected="true"] { background: var(--ink); color: #fff; }
.path-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.path-fields .wide, .path-fields .field:has(textarea), .path-fields .more { grid-column: 1 / -1; }
.more > summary { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; cursor: pointer; list-style: none; }
.more > summary::-webkit-details-marker { display: none; }
.more > summary::before { content: "+"; font-size: 18px; line-height: 1; transition: transform .25s; }
.more[open] > summary::before { transform: rotate(45deg); }
.more > summary span { font-weight: 400; color: var(--ink-3); }
.more-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 14px; }
.more-fields .wide { grid-column: 1 / -1; }
.checks { border: 0; padding: 0; margin: 0; min-width: 0; }
.checks legend { padding: 0; margin-bottom: 8px; }
.checks > div { display: flex; flex-wrap: wrap; gap: 8px; }
.checks label { position: relative; cursor: pointer; }
.checks input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.checks span { display: inline-block; padding: 7px 12px; border: 1.5px solid var(--line); border-radius: 999px; font-size: 13.5px; font-weight: 400; color: var(--ink-2); background: #fff; transition: border-color .2s, background .2s, color .2s; }
.checks label:hover span { border-color: var(--ink); }
.checks input:checked + span { background: var(--mint); border-color: var(--ink); color: var(--ink); font-weight: 600; }
.checks input:checked + span::before { content: "✓ "; }
.checks input:focus-visible + span { box-shadow: 0 0 0 3px rgba(0,115,103,.3); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-done { gap: 12px; align-content: start; }
.form-done h3 { font-size: 28px; }
.form-done p { color: var(--ink-2); }
.form-done .btn { justify-self: start; margin-top: 8px; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; gap: 32px; padding: 32px 20px; border-radius: 26px; } }
@media (max-width: 560px) { .path-fields, .more-fields { grid-template-columns: 1fr; } .form { padding: 20px; } }

/* ---------------------------------------------------------------- footer */
.site-footer { background: var(--ink); color: rgba(255,255,255,.75); padding: 64px 0 28px; font-size: 15px; margin-top: 24px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand .brand-vdc { height: 44px; filter: brightness(0) invert(1); }
.footer-brand p { margin-top: 16px; max-width: 300px; font-size: 14px; }
.site-footer h4 { font-size: 15px; font-weight: 800; color: #fff; margin-bottom: 12px; letter-spacing: 0; }
.site-footer .footer-grid a, .site-footer .footer-grid span { display: block; padding: 4px 0; }
.site-footer .footer-grid a:hover { color: var(--accent); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.14); font-size: 13px; color: rgba(255,255,255,.55); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

.vdc-toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 16px); background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; font-size: 14px; font-weight: 500; opacity: 0; transition: opacity .25s, transform .25s; z-index: 80; pointer-events: none; }
.vdc-toast.show { opacity: 1; transform: translate(-50%, 0); }
@media (prefers-reduced-motion: reduce) {
  .js .reveal, .hero-media img, .perk img { transition: none; }
  .pill-live i { animation: none; }
}

/* ---------------------------------------------------------------- audit fixes (v62) */
/* hero: keep the lead and "Register interest" inside the first screen */
.hero-card { padding-top: 52px; }
.hero h1 { font-size: clamp(44px, 6.2vw, 86px); }
.aud { margin-top: 26px; }
.hero-photo { margin-top: 36px; height: clamp(340px, calc(100vh - 440px), 560px); }
@media (max-width: 900px) {
  .hero-card { padding-top: 40px; }
  .hero-photo { margin-top: 28px; height: clamp(400px, calc(100svh - 350px), 520px); }
}
/* GIC card gets room before the grid-paper section */
.gic-wrap { padding-bottom: 40px; }
@media (max-width: 900px) { .gic-wrap { padding-bottom: 40px; } }
/* footer divider lines up with the content */
.footer-bottom { border-top: 0; position: relative; }
.footer-bottom::before { content: ""; position: absolute; top: 0; left: 24px; right: 24px; border-top: 1px solid rgba(255,255,255,.14); }
/* programme tabs fit on one row on phones */
@media (max-width: 600px) {
  .tab-long { display: none; }
  .tabs { flex-wrap: nowrap; border-radius: 99px; }
  .tabs button { padding: 8px 12px; font-size: 14px; white-space: nowrap; }
}
/* short phones (e.g. 375×667): tighten the hero so the main action still shows */
@media (max-width: 900px) and (max-height: 720px) {
  .hero { padding-top: 80px; }
  .hero-card { padding-top: 26px; }
  .hero h1 { font-size: 38px; }
  .aud { margin-top: 16px; }
  .hero-photo { margin-top: 20px; height: clamp(300px, calc(100svh - 330px), 420px); }
  .hero-bar { padding-top: 56px; padding-bottom: 18px; }
  .lead { font-size: 16px; min-height: 0; }
}
.road { height: 100%; overflow: visible; }
.who-path { overflow: visible; }

/* form: pathway select and multi-choice dropdowns (replace the pill "bubbles") */
.path-switch { display: block; }
.multi { position: relative; }
.dd { position: relative; }
.dd summary { list-style: none; cursor: pointer; display: flex; align-items: center; min-height: 47px; padding: 12px 38px 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--cream) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23004740' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 14px center; font: 400 16px/1.4 var(--body); color: var(--ink-3); transition: border-color .2s, background-color .2s; }
.dd summary::-webkit-details-marker { display: none; }
.dd.has-value summary { color: var(--ink); }
.dd-value { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dd[open] summary, .dd summary:focus-visible { border-color: var(--ink); background-color: #fff; outline: none; }
.dd-panel { position: absolute; z-index: 20; left: 0; right: 0; top: calc(100% + 6px); max-height: 280px; overflow-y: auto; padding: 6px; background: #fff; border: 1.5px solid var(--ink); border-radius: 14px; box-shadow: 4px 4px 0 var(--ink); }
.dd-panel label { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 9px; font-size: 15px; font-weight: 400; color: var(--ink); cursor: pointer; }
.dd-panel label:hover { background: var(--cream); }
.dd-panel input { width: 18px; height: 18px; flex: none; accent-color: var(--green); margin: 0; }
.dd-panel input:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
/* give the 5D road room to pass between the cards */
@media (min-width: 901px) { .phases { gap: 36px; } }

/* ---------------------------------------------------------------- 5D stepper (replaces the staggered road) */
.phases { --gap: 20px; gap: var(--gap); padding-top: 72px; }
.phase:nth-child(even) { margin-top: 0; }
.phase { position: relative; }
/* the number sits on a dotted track above its card */
.phase b { position: absolute; top: -72px; left: 50%; transform: translateX(-50%); width: 44px; height: 44px; font-size: 19px; box-shadow: 0 0 0 6px var(--paper); }
.phase h3 { margin-top: 0; }
.phases::before { content: ""; position: absolute; top: 22px; left: calc((100% - 4 * var(--gap)) / 10); right: calc((100% - 4 * var(--gap)) / 10); border-top: 2px dashed var(--ink); opacity: .55; }
/* small connector from each number down to its card */
.phase::before { content: ""; position: absolute; top: -28px; left: 50%; height: 26px; border-left: 2px dashed var(--ink); opacity: .35; }
@media (max-width: 900px) {
  .phases { padding-top: 0; padding-left: 60px; gap: 16px; }
  .phase:nth-child(even) { margin-left: 0; }
  .phase b { top: 20px; left: -60px; transform: none; }
  .phases::before { top: 22px; bottom: 40px; left: 21px; right: auto; border-top: 0; border-left: 2px dashed var(--ink); }
  .phase::before { top: 41px; left: -16px; height: 0; width: 14px; border-left: 0; border-top: 2px dashed var(--ink); }
}
@media (min-width: 901px) { .phases { align-items: stretch; } }

/* ---------------------------------------------------------------- team */
.team-head { max-width: 640px; }
.team-head p:last-child { margin-top: 14px; font-size: 19px; color: var(--ink-2); }
.avatar { display: block; flex: none; border-radius: 50%; object-fit: cover; object-position: 50% 22%; border: 1.5px solid var(--ink); background: var(--cream); }
.avatar-empty { background: #f4e4c9 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Ccircle cx='32' cy='25' r='11' fill='%23CCBA8D'/%3E%3Cpath d='M12 58c2-12 10-19 20-19s18 7 20 19' fill='%23CCBA8D'/%3E%3C/svg%3E") no-repeat center bottom / 86%; }
.avatar-lg { width: 132px; height: 132px; }
.avatar-md { width: 64px; height: 64px; }
.avatar-sm { width: 40px; height: 40px; border-width: 1px; }
.team-role { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); }
.leaders { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 44px; }
.leader { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 28px 20px 24px; background: #fff; border: 1.5px solid var(--ink); border-radius: 22px; box-shadow: var(--sticker); }
.leader:nth-child(1) { background: var(--butter); }
.leader:nth-child(2) { background: var(--sky); }
.leader:nth-child(3) { background: var(--mint); }
.leader:nth-child(4) { background: var(--blush); }
.leader .avatar { margin-bottom: 18px; }
.leader h3 { font-size: 21px; line-height: 1.15; min-height: 2.3em; display: flex; align-items: center; justify-content: center; text-wrap: balance; }
.leader .team-role { margin-top: 8px; }
.leader .team-campus { margin-top: 6px; justify-content: center; }
.leader-in { position: absolute; top: 14px; right: 14px; display: grid; place-items: center; width: 30px; height: 30px; border: 1.5px solid var(--ink); border-radius: 8px; background: #fff; font: 700 14px/1 var(--body); color: var(--ink); }
.leader-in:hover { background: var(--ink); color: #fff; }
.team-campus { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; font-size: 14px; font-weight: 500; color: var(--ink-2); }
.team-campus i { width: 10px; height: 10px; background: var(--coral); border-radius: 50% 50% 50% 0; transform: rotate(-45deg); flex: none; }
.crew { margin-top: 28px; padding: 6px 0 12px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.crew-track { display: flex; align-items: stretch; gap: 14px; width: max-content; }
.crew-card { position: relative; display: flex; align-items: center; gap: 14px; width: 330px; min-height: 104px; padding: 16px 18px; background: #fff; border: 1.5px solid var(--ink); border-radius: 18px; box-shadow: 3px 3px 0 var(--ink); flex: none; }
.crew-card > div { min-width: 0; }
.crew-card b { display: block; font: 700 17px/1.2 var(--head); overflow-wrap: anywhere; }
.crew-card > div > span { display: block; font-size: 14px; color: var(--ink-3); }
.crew-card .team-campus { display: inline-flex; margin-top: 4px; font-size: 13px; }
.crew-card > div { padding-right: 26px; }
.crew-in { top: 10px; right: 10px; width: 26px; height: 26px; font-size: 12px; }
.leader-in.is-gold { background: #e0b541; border-color: #a58255; color: #004740; }
.leader-in.is-gold:hover { background: #a58255; color: #fff; }
@media (max-width: 900px) {
  .leaders { grid-template-columns: 1fr 1fr; gap: 12px; }
  .leader { padding: 18px; }
  .avatar-lg { width: 88px; height: 88px; }
  .leader h3 { font-size: 19px; }
  .crew-card { width: 270px; min-height: 96px; }
  .crew-card b { font-size: 15px; }
}
@media (max-width: 560px) { .leader { padding: 18px 10px 16px; } .leader .avatar { margin-bottom: 12px; } .avatar-lg { width: 64px; height: 64px; } .leader h3 { font-size: 16px; } .leader .team-role { font-size: 11px; } .team-campus { font-size: 13px; } .leader-in { top: 8px; right: 8px; width: 26px; height: 26px; font-size: 12px; } }
/* scrolling rows: hover to pause, drag or swipe to move */
.strip, .crew { overflow-x: auto; overflow-y: hidden; scrollbar-width: none; cursor: grab; overscroll-behavior-x: contain; }
.strip::-webkit-scrollbar, .crew::-webkit-scrollbar { display: none; }
.strip.is-dragging, .crew.is-dragging { cursor: grabbing; user-select: none; }
.strip:focus-visible, .crew:focus-visible { outline: 2px solid var(--green); outline-offset: -2px; }

/* narrowest phones (≤360px): the one-row programme tabs get compact enough to fit */
@media (max-width: 360px) {
  .tabs { width: 100%; gap: 2px; }
  .tabs button { flex: 1 1 auto; padding: 7px 5px; font-size: 12.5px; }
}

/* ---------------------------------------------------------------- pre-incubation first (v119) */
.hero-sub { max-width: 40ch; margin: 16px auto 0; font: 500 21px/1.45 var(--head); letter-spacing: .005em; color: var(--ink-2); }
.hero-sub b { font-weight: 700; color: var(--ink); }
@media (max-width: 900px) { .hero-sub { font-size: 17px; } }

/* where are you now? */
.checklist button { display: flex; align-items: center; gap: 16px; width: 100%; padding: 16px 20px; background: #fff; border: 1.5px solid var(--ink); border-radius: 16px; font: 600 19px/1.2 var(--head); text-align: left; box-shadow: 3px 3px 0 var(--ink); cursor: pointer; transition: transform .2s, background .2s; }
.checklist button:nth-child(odd) { transform: rotate(-.6deg); }
.checklist button:nth-child(even) { transform: rotate(.5deg); margin-left: 24px; width: calc(100% - 24px); }
.checklist button:hover { transform: rotate(0) translateX(4px); }
.checklist button[aria-pressed="true"] { background: var(--butter); transform: rotate(0) translateX(4px); }
.fit-arrow { margin-left: auto; color: var(--ink-3); transition: transform .2s, color .2s; }
.checklist button:hover .fit-arrow, .checklist button[aria-pressed="true"] .fit-arrow { color: var(--coral); transform: translateX(3px); }
.fit { margin-top: 28px; }
.fit:empty { display: none; }
.fit.on { padding: 22px; background: #fff; border: 1.5px solid var(--ink); border-radius: 18px; box-shadow: var(--sticker); animation: swapIn .4s var(--ease); }
.fit-label { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--green); }
.fit h3 { margin-top: 6px; font-size: 26px; }
.fit p:not(.fit-label) { margin: 8px 0 16px; font-size: 16px; color: var(--ink-2); }
@media (max-width: 900px) { .checklist button:nth-child(even) { margin-left: 12px; width: calc(100% - 12px); } .checklist button { font-size: 17px; padding: 14px 16px; } }

/* pre-incubation */
.stages { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 14px; margin-top: 40px; counter-reset: st; }
.stages li { position: relative; padding: 22px; background: #fff; border: 1.5px solid var(--ink); border-radius: 20px; }
.stages li + li::before { content: "→"; position: absolute; left: -15px; top: 50%; transform: translate(-50%, -50%); font: 700 20px/1 var(--head); color: var(--ink-3); }
.stages li.is-here { background: var(--ink); color: #fff; box-shadow: 4px 4px 0 var(--coral); }
.stages span { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.stages .is-here span { color: var(--accent); }
.stages h3 { margin-top: 8px; font-size: 26px; }
.stages p { margin-top: 6px; font-size: 15px; color: var(--ink-2); }
.stages .is-here p { color: rgba(255,255,255,.8); }
.sub-h { margin: 72px 0 0; font-size: clamp(26px, 3vw, 38px); font-weight: 800; }
.preinc .perks { margin-top: 24px; }
.start-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 24px; }
.start-steps li { padding: 20px; background: #fff; border: 1.5px solid var(--ink); border-radius: 18px; }
.start-steps b { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--coral); color: #fff; font: 700 16px/1 var(--head); }
.start-steps h4 { margin-top: 12px; font-size: 19px; }
.start-steps p { margin-top: 6px; font-size: 15px; color: var(--ink-2); line-height: 1.45; }
.framework { margin-top: 72px; padding: 40px; background: var(--paper); border: 1.5px solid var(--ink); border-radius: 28px; }
.framework-h { font-size: clamp(26px, 3vw, 38px); font-weight: 800; }
.framework .phase-road { margin-top: 32px; }
.framework-foot { display: flex; flex-wrap: wrap; align-items: start; justify-content: space-between; gap: 16px; margin-top: 40px; }
.framework-foot .curriculum { margin-top: 0; flex: 1 1 auto; }
.framework-foot .curriculum[open] { flex-basis: 100%; }
@media (max-width: 900px) {
  .stages { grid-template-columns: 1fr; gap: 26px; }
  .stages li + li::before { content: "↓"; left: 50%; top: -14px; }
  .start-steps { grid-template-columns: 1fr 1fr; }
  .framework { padding: 24px 18px; border-radius: 22px; }
}
@media (max-width: 560px) { .start-steps { grid-template-columns: 1fr; } }

/* makerspace */
.maker-card { display: grid; grid-template-columns: 1fr 1.15fr; gap: 40px; padding: 28px; background: var(--sky); border: 1.5px solid var(--ink); border-radius: 32px; box-shadow: 6px 6px 0 var(--ink); }
.maker-card > img { width: 100%; height: 100%; min-height: 360px; object-fit: cover; border-radius: 22px; border: 1.5px solid var(--ink); }
.maker-copy { padding: 12px 8px 8px 0; }
.maker-copy h2 { font-size: clamp(32px, 4vw, 50px); font-weight: 900; }
.maker-copy > p:not(.kicker) { margin-top: 12px; font-size: 18px; color: var(--ink-2); }
.maker-areas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 22px; }
.maker-areas li { padding: 14px; background: #fff; border: 1.5px solid var(--ink); border-radius: 14px; }
.maker-areas b { display: block; font: 700 17px/1.2 var(--head); }
.maker-areas span { display: block; margin-top: 4px; font-size: 14px; color: var(--ink-2); line-height: 1.4; }
.maker-copy h3 { margin-top: 26px; font-size: 20px; }
.maker-steps { margin: 10px 0 24px; counter-reset: ms; display: grid; gap: 8px; }
.maker-steps li { counter-increment: ms; display: flex; gap: 12px; font-size: 16px; color: var(--ink-2); }
.maker-steps li::before { content: counter(ms); flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: #fff; font: 700 13px/1 var(--head); }
@media (max-width: 900px) { .maker-card { grid-template-columns: 1fr; padding: 18px; gap: 20px; border-radius: 24px; } .maker-card > img { min-height: 220px; } .maker-areas { grid-template-columns: 1fr; } }

/* g-tec, short */
.gtec-short { grid-template-columns: 1.4fr 1fr; }
.gtec-short .gtec-stats { flex-direction: column; margin-top: 0; }
@media (max-width: 900px) { .gtec-short { grid-template-columns: 1fr; } .gtec-short .gtec-stats { flex-direction: row; } }

/* programmes */
.prog-next { margin-top: 2px; padding-top: 12px; border-top: 1.5px dashed rgba(0,71,64,.2); font-size: 14px !important; }
.prog-next b { display: block; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 2px; }
.prog-key { background: var(--butter); }

/* e-club */
.eclub { border: 1.5px solid var(--ink); box-shadow: 6px 6px 0 var(--ink); }
.eclub .btn { margin-top: 24px; }
.eclub-acts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 18px; }
.eclub-acts li { padding: 18px; background: #fff; border: 1.5px solid var(--ink); border-radius: 18px; }
.eclub-acts b { display: block; font: 700 19px/1.2 var(--head); }
.eclub-acts span { display: block; margin-top: 6px; font-size: 15px; color: var(--ink-2); line-height: 1.45; }
@media (max-width: 900px) { .eclub-acts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .eclub-acts { grid-template-columns: 1fr; } }

/* faq */
.faq-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 48px; align-items: start; }
.faq { display: grid; gap: 10px; }
.faq-item { background: #fff; border: 1.5px solid var(--ink); border-radius: 16px; }
.faq-item summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 20px; font: 700 18px/1.3 var(--head); cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; flex: none; font-size: 22px; transition: transform .25s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding: 0 20px 18px; font-size: 16px; color: var(--ink-2); }
@media (max-width: 900px) { .faq-grid { grid-template-columns: 1fr; gap: 24px; } }

/* contact + footer */
.lead-line { display: block; }
.lead-line b { font-weight: 600; margin-right: 6px; }
.socials { margin-top: 16px; }

/* latest posts by campus */
.feed-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 32px; }
.feed-post { position: relative; display: flex; flex-direction: column; background: #fff; border: 1.5px solid var(--ink); border-radius: 18px; overflow: hidden; box-shadow: var(--sticker); transition: transform .2s, box-shadow .2s; }
.feed-post:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.feed-post img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.feed-post p { padding: 12px 14px 14px; font-size: 14px; color: var(--ink-2); line-height: 1.45; }
.feed-play { position: absolute; top: 10px; right: 10px; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: rgba(0,71,64,.75); color: #fff; font-size: 12px; }
.feed-empty { grid-column: 1 / -1; padding: 24px; border: 1.5px dashed var(--ink-3); border-radius: 16px; color: var(--ink-3); }
.feed-follow { margin-top: 20px; font-weight: 600; }
.feed-follow a { color: var(--green); }
@media (max-width: 900px) { .feed-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 900px) {
  /* on phones the stage list comes first and the suggestion appears under it */
  .who-grid { gap: 0; }
  .who-grid > div:first-child { display: contents; }
  #stagePick { order: 1; margin-top: 28px; }
  .fit { order: 2; }
}
.preinc-cta { margin-top: 40px; }

/* pre-incubation opener: a dark panel with the path and the key numbers */
.pi-card { display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px 56px; padding: 56px; background: var(--ink); color: #fff; border-radius: 32px; box-shadow: 8px 8px 0 var(--coral); }
.pi-copy .kicker { color: var(--accent); }
.pi-copy h2 { font-size: clamp(42px, 5.6vw, 76px); font-weight: 900; line-height: 1; color: #fff; }
.pi-copy h2 span { color: var(--accent); }
.pi-lead { margin-top: 22px; font: 500 20px/1.5 var(--head); color: rgba(255,255,255,.78); max-width: 34ch; }
.pi-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 32px; }
.pi-path { position: relative; display: grid; gap: 10px; align-content: center; }
.pi-path::before { content: ""; position: absolute; left: 21px; top: 24px; bottom: 24px; border-left: 2px dashed rgba(255,255,255,.25); }
.pi-path li { position: relative; display: grid; grid-template-columns: auto 1fr; column-gap: 16px; padding: 14px 18px 14px 48px; border-radius: 16px; }
.pi-path li::before { content: ""; position: absolute; left: 15px; top: 50%; width: 14px; height: 14px; margin-top: -7px; border-radius: 50%; background: var(--ink); border: 2px solid rgba(255,255,255,.4); }
.pi-path span { grid-row: 1 / 3; align-self: center; width: 76px; font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.5); }
.pi-path b { font: 700 20px/1.2 var(--head); }
.pi-path em { font-style: normal; font-size: 14px; color: rgba(255,255,255,.6); }
.pi-dim b { color: rgba(255,255,255,.75); }
.pi-here { background: var(--accent); color: var(--ink); padding-top: 20px !important; padding-bottom: 20px !important; transform: translateX(-6px); box-shadow: 4px 4px 0 var(--coral); }
.pi-here::before { background: var(--ink) !important; border-color: var(--ink) !important; }
.pi-here span { color: var(--ink); }
.pi-here b { font-size: 26px; }
.pi-here em { color: var(--ink-2); font-weight: 500; }
.pi-facts { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255,255,255,.15); padding-top: 32px; }
.pi-facts div { display: flex; flex-direction: column-reverse; gap: 6px; padding-right: 16px; }
.pi-facts div + div { padding-left: 24px; border-left: 1px solid rgba(255,255,255,.15); }
.pi-facts dd { font: 800 clamp(30px, 3.4vw, 46px)/1 var(--head); color: #fff; }
.pi-facts dt { font-size: 14px; color: rgba(255,255,255,.6); }
@media (max-width: 900px) {
  .pi-card { grid-template-columns: 1fr; padding: 32px 22px; border-radius: 24px; box-shadow: 5px 5px 0 var(--coral); }
  .pi-lead { font-size: 18px; }
  .pi-facts { grid-template-columns: 1fr 1fr; gap: 24px 0; }
  .pi-facts div:nth-child(3) { padding-left: 0; border-left: 0; }
  .pi-here { transform: none; }
}
.pi-lead { letter-spacing: .01em; }
@media (max-width: 600px) {
  .pi-path li { grid-template-columns: 1fr; padding-left: 44px; }
  .pi-path span { grid-row: auto; width: auto; margin-bottom: 2px; }
  .pi-here b { font-size: 22px; }
}
.pi-facts div { justify-content: flex-end; }

/* pre-incubation opener, light version: paper card in the site's sticker style instead of the dark panel */
.pi-card { background: var(--butter); color: var(--ink); border: 1.5px solid var(--ink); box-shadow: 6px 6px 0 var(--ink); }
.pi-copy .kicker { color: var(--green); }
/* kickers on coloured cards: Dark Green keeps them readable (5:1+) */
.maker-card .kicker, .gtec-card .kicker, .eclub .kicker, .perk .kicker, .yep-hero .kicker, .minor-band .kicker, .leader .kicker { color: var(--ink); }
.pi-copy h2 { color: var(--ink); }
.pi-copy h2 span { color: var(--green); }
.pi-lead { color: var(--ink-2); }
.pi-actions .btn-ghost-light { color: var(--ink); }
.pi-path::before { border-left-color: rgba(0,71,64,.3); }
.pi-path li::before { background: var(--butter); border-color: rgba(0,71,64,.45); }
.pi-path span { color: var(--ink-3); }
.pi-dim b { color: var(--ink-2); }
.pi-path em { color: var(--ink-3); }
.pi-here { background: #fff; color: var(--ink); border: 1.5px solid var(--ink); box-shadow: 4px 4px 0 var(--ink); }
.pi-here::before { background: var(--green) !important; border-color: var(--green) !important; }
.pi-here span { color: var(--green); }
.pi-here em { color: var(--ink-2); }
.pi-facts { border-top-color: rgba(0,71,64,.18); }
.pi-facts div + div { border-left-color: rgba(0,71,64,.18); }
.pi-facts dd { color: var(--ink); }
.pi-facts dt { color: var(--ink-2); }
@media (max-width: 900px) { .pi-card { box-shadow: 4px 4px 0 var(--ink); } }

/* ---------------------------------------------------------------- minor: feature band on the landing page + nav highlight */
.minor-band-wrap { padding: 20px 0 48px; }
.minor-band { display: grid; grid-template-columns: 1.4fr auto auto; gap: 24px 36px; align-items: center; padding: 32px 36px; border: 1.5px solid var(--ink); border-radius: 28px; background: #f4e4c9; box-shadow: 6px 6px 0 var(--ink); }
.minor-band-copy h2 { margin-top: 12px; font-size: clamp(26px, 3vw, 38px); font-weight: 900; }
.minor-band-copy p { margin-top: 8px; font-size: 16px; color: var(--ink-2); max-width: 52ch; }
.minor-band-copy .pill-open { position: static; }
.minor-band-facts { display: flex; gap: 10px; }
.minor-band-facts li { display: grid; gap: 2px; padding: 12px 16px; background: #fff; border: 1.5px solid var(--ink); border-radius: 14px; text-align: center; }
.minor-band-facts b { font: 800 22px/1.1 var(--head); white-space: nowrap; }
.minor-band-facts span { font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.minor-band-actions { display: grid; gap: 10px; justify-items: start; }
.nav-minor { position: relative; padding: 4px 12px; margin: -4px 0; border-radius: 99px; background: var(--butter); border: 1.5px solid var(--ink); color: var(--ink) !important; }
.nav-minor::after { content: ""; position: absolute; top: -3px; right: -3px; width: 9px; height: 9px; border-radius: 50%; background: var(--coral); border: 1.5px solid var(--cream); }
.main-nav a.nav-minor.active { box-shadow: none; }
@media (max-width: 1100px) {
  .minor-band { grid-template-columns: 1fr auto; }
  .minor-band-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; }
}
@media (max-width: 900px) { .minor-band-wrap { padding-bottom: 40px; } }
@media (max-width: 700px) {
  .minor-band { grid-template-columns: 1fr; padding: 24px 20px; border-radius: 22px; }
  .minor-band-facts li { flex: 1; padding: 10px 8px; }
  .minor-band-facts b { font-size: 18px; }
}

/* ---------------------------------------------------------------- social links (filled in by socials.js) */
.socials { display: flex; flex-wrap: wrap; gap: 8px; }
.social { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; border: 1.5px solid currentColor; transition: background .2s, color .2s, transform .2s; }
.social svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.social svg .dot, .social svg .fill { fill: currentColor; stroke: none; }
a.social:hover { transform: translateY(-2px); }
.social.is-soon { opacity: .45; cursor: default; }
.site-footer .socials { color: rgba(255,255,255,.85); }
.site-footer a.social:hover { background: #fff; color: var(--ink); }
.footer-bottom { align-items: center; }
.contact-meta .socials { color: var(--ink); }
.contact-meta a.social:hover { background: var(--ink); color: #fff; }

/* ---------------------------------------------------------------- latest posts: placeholders until a feed is connected */
.feed-soon { box-shadow: 3px 3px 0 var(--ink); }
.feed-soon-art { display: block; aspect-ratio: 1; background: repeating-linear-gradient(45deg, var(--butter) 0 14px, #ffffff 14px 28px); border-bottom: 1.5px solid var(--ink); position: relative; }
.feed-grid .feed-post:nth-child(2) .feed-soon-art { background: repeating-linear-gradient(45deg, var(--sky) 0 14px, #ffffff 14px 28px); }
.feed-grid .feed-post:nth-child(3) .feed-soon-art { background: repeating-linear-gradient(45deg, var(--mint) 0 14px, #ffffff 14px 28px); }
.feed-grid .feed-post:nth-child(4) .feed-soon-art { background: repeating-linear-gradient(45deg, var(--blush) 0 14px, #ffffff 14px 28px); }
.feed-soon-art::after { content: ""; position: absolute; left: 50%; top: 50%; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 12px; border: 2px solid var(--ink); opacity: .35; }
.feed-soon p { color: var(--ink-3); }
/* latest-posts tabs have longer labels than the programme tabs: on phones they sit in a 2×2 grid */
@media (max-width: 600px) {
  #feedTabs { display: grid; grid-template-columns: 1fr 1fr; width: 100%; border-radius: 18px; gap: 4px; }
  #feedTabs button { padding: 8px 6px; font-size: 13.5px; white-space: normal; border-radius: 14px; }
}
/* "Per venture" sits under the grant amounts */
.pi-per { display: block; margin-top: 6px; font: 600 13px/1.2 var(--body); letter-spacing: .02em; color: var(--ink-2); }

/* ---------------------------------------------------------------- explore our facilities */
.fac-head { max-width: 680px; }
.fac-head p:last-child { margin-top: 14px; font-size: 18px; color: var(--ink-2); }
.fac-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 36px; }
.fac-card { display: flex; flex-direction: column; background: #fff; border: 1.5px solid var(--ink); border-radius: 22px; overflow: hidden; box-shadow: var(--sticker); }
.fac-card img, .fac-nophoto { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-bottom: 1.5px solid var(--ink); }
.fac-nophoto { display: grid; place-items: center; background: repeating-linear-gradient(45deg, var(--mint) 0 16px, #ffffff 16px 32px); }
.fac-nophoto span { padding: 6px 14px; border: 1.5px solid var(--ink); border-radius: 99px; background: #fff; font-size: 13px; font-weight: 600; }
.fac-body { padding: 20px 22px 22px; }
.fac-body h3 { margin-top: 6px; font-size: 22px; }
.fac-list { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.fac-list li { padding: 5px 11px; border: 1.5px solid var(--line); border-radius: 99px; font-size: 13.5px; color: var(--ink-2); }
.fac-visit { margin-top: 22px; }
@media (max-width: 900px) { .fac-grid { grid-template-columns: 1fr; } .fac-card img, .fac-nophoto { aspect-ratio: 16 / 9; } }
@media (max-width: 420px) { .fac-visit { white-space: normal; max-width: 100%; text-align: center; } }
/* E-Club Instagram handle buttons (shown until a post feed is connected) */
.feed-handles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 32px; }
.feed-handle { display: flex; align-items: center; gap: 14px; padding: 16px 18px; background: #fff; border: 1.5px solid var(--ink); border-radius: 18px; box-shadow: var(--sticker); color: var(--ink); text-decoration: none; transition: transform .2s, box-shadow .2s; }
.feed-handle:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.feed-handle svg { flex: none; width: 40px; height: 40px; padding: 8px; border-radius: 12px; background: var(--blush); fill: none; stroke: var(--ink); stroke-width: 1.8; }
.feed-handle span { display: flex; flex-direction: column; min-width: 0; }
.feed-handle b { font-size: 16px; overflow-wrap: anywhere; }
.feed-handle small { margin-top: 2px; font-size: 13px; color: var(--ink-2); }
.feed-handle i { margin-left: auto; font-style: normal; color: var(--ink-3); }
@media (max-width: 900px) { .feed-handles { grid-template-columns: 1fr; } }
@media (max-width: 1100px) and (min-width: 901px) { .feed-handles { grid-template-columns: 1fr 1fr; } }
/* facility photo galleries: swipe on touch, arrows and dots on any screen */
.fac-media { position: relative; border-bottom: 1.5px solid var(--ink); }
.fac-gallery { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; aspect-ratio: 4 / 3; outline-offset: -3px; }
.fac-gallery::-webkit-scrollbar { display: none; }
.fac-gallery img { flex: 0 0 100%; width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; scroll-snap-align: start; border-bottom: 0; }
.fac-nav { position: absolute; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 36px; height: 36px; border: 1.5px solid var(--ink); border-radius: 50%; background: #fff; color: var(--ink); font-size: 22px; line-height: 1; cursor: pointer; opacity: 0; transition: opacity .2s; }
.fac-prev { left: 10px; }
.fac-next { right: 10px; }
.fac-media:hover .fac-nav, .fac-nav:focus-visible { opacity: 1; }
.fac-nav[disabled] { visibility: hidden; }
.fac-dots { position: absolute; left: 0; right: 0; bottom: 10px; display: flex; justify-content: center; gap: 6px; pointer-events: none; }
.fac-dots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.6); box-shadow: 0 0 0 1px rgba(0,71,64,.35); transition: width .2s, background .2s; }
.fac-dots i.on { width: 18px; border-radius: 99px; background: #fff; }
@media (hover: none) { .fac-nav { display: none; } }
@media (max-width: 900px) { .fac-gallery { aspect-ratio: 16 / 9; } }
/* social handles inside the pill bar: each opens the account */
.tabs a { display: inline-flex; align-items: center; gap: 7px; padding: 9px 16px; border-radius: 99px; font-size: 15px; font-weight: 500; color: var(--ink-2); text-decoration: none; white-space: nowrap; transition: color .25s, background .25s; }
.tabs a:hover, .tabs a:focus-visible { background: var(--ink); color: #fff; }
.tabs a svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; flex: none; }
.feed-links { margin-top: 20px; width: max-content; max-width: 100%; }
@media (max-width: 600px) { .tabs a { flex: 1 1 auto; justify-content: center; padding: 8px 10px; font-size: 13.5px; } }
@media (max-width: 600px) {
  #feedTabs:not([role]), .feed-links { display: grid; grid-template-columns: 1fr 1fr; width: 100%; border-radius: 22px; }
  .tabs a { min-width: 0; padding: 8px 6px; font-size: 13px; gap: 6px; border-radius: 16px; }
  .tabs a svg { width: 15px; height: 15px; }
}
/* contact block: the Follow icons line up with their label */
.contact-meta .socials { margin-top: -6px; }

/* events on the left, the Infinity card game on the right */
.events-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: start; margin-top: 36px; }
.events-layout .event-list { grid-template-columns: 1fr; margin-top: 0; }
@media (max-width: 900px) { .events-layout { grid-template-columns: 1fr; } }
/* Infinity card game (restored, Nov 10 design) */
.infinity { padding: 32px; background: var(--butter); border: 1.5px solid var(--ink); border-radius: 28px; box-shadow: var(--sticker); text-align: center; }
.infinity .kicker { color: var(--ink); }
.infinity h3 { font-size: clamp(24px, 2.4vw, 30px); font-weight: 900; max-width: 18ch; margin: 0 auto; }
.game-how { margin-top: 8px; font-size: 15px; color: var(--ink); }
.deck-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 20px 0 14px; }
.deck-tabs button { display: inline-flex; align-items: center; gap: 8px; border: 1.5px solid var(--ink); background: #fff; border-radius: 99px; padding: 6px 14px; font-size: 14px; font-weight: 500; color: var(--ink); cursor: pointer; transition: background .2s, color .2s; }
.deck-tabs button::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--deck, var(--ink)); flex: none; }
.deck-tabs button[aria-selected="true"] { background: var(--ink); color: #fff; }
.deck-tabs button[aria-selected="true"]::before { box-shadow: 0 0 0 2px #fff; }
.qcard { position: relative; height: 230px; isolation: isolate; margin: 12px 8px 0; perspective: 1200px; cursor: pointer; }
/* two cards peeking out behind: it's a deck */
.qcard::before, .qcard::after { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 18px; border: 1.5px solid var(--ink); background: var(--deck, var(--ink)); filter: brightness(.82); }
.qcard::before { transform: rotate(-2.5deg) translateY(4px); }
.qcard::after { transform: rotate(2.5deg) translateY(4px); filter: brightness(.7); }
.qcard-inner { position: relative; height: 100%; transition: transform .7s cubic-bezier(.3,.7,.2,1); transform-style: preserve-3d; }
.qcard.flipped .qcard-inner { transform: rotateY(180deg); }
.qcard-face { position: absolute; inset: 0; border-radius: 18px; padding: 22px; display: flex; flex-direction: column; border: 1.5px solid var(--ink); backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.qcard-front { background: var(--deck, var(--ink)); color: #fff; justify-content: center; align-items: center; text-align: center; gap: 6px;
  background-image: repeating-linear-gradient(45deg, rgba(255,255,255,.07) 0 10px, transparent 10px 20px); box-shadow: var(--sticker); }
.qcard-front::after { content: ""; position: absolute; inset: 10px; border: 1.5px dashed rgba(255,255,255,.4); border-radius: 12px; pointer-events: none; }
.qcard-logo { position: absolute; top: 18px; left: 0; right: 0; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; opacity: .8; }
.qcard-name { font: 800 clamp(34px, 3.6vw, 44px)/1 var(--head); letter-spacing: -.008em; }
.qcard-hint { position: absolute; bottom: 18px; left: 0; right: 0; font-size: 13px; font-weight: 500; opacity: .85; }
.qcard-hint::before { content: "↻ "; }
.qcard-back { background: var(--deck, var(--ink)); color: #fff; transform: rotateY(180deg); box-shadow: 0 4px 0 var(--ink); text-align: left; }
.qcard-back p { margin-top: auto; font: 700 clamp(19px, 1.9vw, 24px)/1.2 var(--head); }
.qcard-deck { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; opacity: .85; }
.qcard-count { margin-top: 12px; font-size: 12px; opacity: .85; }
.deck-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 28px; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) { .qcard:not(.flipped):hover .qcard-inner { animation: wobble .6s var(--ease); } }
@keyframes wobble { 0%, 100% { transform: rotate(0); } 30% { transform: rotate(-2deg); } 60% { transform: rotate(1.5deg); } }
@media (max-width: 900px) { .infinity { padding: 24px; } }

/* =====================================================================================================
   Added in the PHP build
   ===================================================================================================== */

/* skip link (Bootstrap's .visually-hidden-focusable keeps it off screen until focused) */
.skip-link:focus { position: fixed; top: 10px; left: 10px; z-index: 100; padding: 10px 16px; border-radius: 10px; background: var(--ink); color: #fff; font-weight: 600; }

/* the form posts to the server: per-field messages for server-side validation */
.field-error { font-size: 13px; font-weight: 600; color: var(--ink); }
.path-fields { min-width: 0; border: 0; }
.form-note a { text-decoration: underline; }

/* error pages */
.error-page { min-height: 100vh; display: grid; align-items: center; padding: 80px 0; }
.error-page h1 { font-size: clamp(36px, 5vw, 60px); margin-bottom: 16px; }
.error-page .page-lead { margin-bottom: 28px; max-width: 46ch; }
