/* Tercel Group UK University Admissions
   Editorial monochrome design: off-white paper, near-black ink, heavy uppercase
   display type, monospace labels. Square corners everywhere, no border radius. */

:root {
  --ink: #0a0a0a;
  --ink-2: #1c1c1e;
  --text: #1a1a1a;
  --text-2: #6b6b66;
  --grey: #8c8c86;          /* second line of display headlines */
  --paper: #fcfcfa;
  --paper-2: #f2f2ef;
  --dark: #0e0e10;
  --line: #deded8;
  --free: #146c43;
  --free-bg: #eaf5ef;
  --warn-bg: #fbf6e4;
  --warn-line: #c9a53a;
  --danger: #b42318;
  --danger-bg: #fdeeec;
  --sans: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; border-radius: 0 !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font: 16px/1.6 var(--sans); color: var(--text); background: var(--paper); -webkit-font-smoothing: antialiased; }
h1, h2, h3 { color: var(--ink); margin: 0 0 .5em; }
h1, h2 { font-weight: 900; text-transform: uppercase; letter-spacing: -.035em; line-height: .95; }
h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.7rem); }
h3 { font-size: 1.05rem; font-weight: 700; letter-spacing: -.01em; line-height: 1.25; }
p { margin: 0 0 1em; }
a { color: var(--ink); text-underline-offset: 3px; }
a:hover { color: var(--text-2); }
code { font-family: var(--mono); background: var(--paper-2); padding: 1px 5px; font-size: .88em; }

.wrap { max-width: 1280px; margin: 0 auto; padding: 0 32px; }
.narrow { max-width: 620px; margin: 0 auto; }
.narrow-wide { max-width: 920px; }
.muted { color: var(--text-2); }
.small { font-size: .875rem; }
.right { text-align: right; }
.lead { font-size: 1.12rem; color: var(--text-2); max-width: 700px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 8px; z-index: 100; background: #fff; padding: 8px 12px; }
[hidden] { display: none !important; }

.label, .eyebrow { font: 500 .7rem/1.4 var(--mono); text-transform: uppercase; letter-spacing: .18em; color: var(--text-2); margin: 0 0 18px; }
a.label { text-decoration: none; }
.display { font-size: clamp(2.2rem, 5.4vw, 4.4rem); margin-bottom: 40px; }
.display span { color: var(--grey); }
.arr { font-family: var(--sans); font-weight: 500; margin-left: 8px; }

/* Header */
.site-header { background: var(--paper); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand img { display: block; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-weight: 800; letter-spacing: .06em; font-size: 1.05rem; white-space: nowrap; }
.brand-sub { font: 500 .6rem var(--mono); letter-spacing: .2em; color: var(--text-2); margin-top: 3px; white-space: nowrap; }
.site-nav { display: flex; align-items: center; flex: 1; justify-content: space-between; gap: 24px; }
.nav-links { display: flex; gap: 6px; margin: 0 auto; }
.nav-links a { font: 700 .72rem var(--sans); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; color: var(--ink); padding: 10px 14px; white-space: nowrap; border-bottom: 2px solid transparent; }
.nav-links a:hover { color: var(--text-2); }
.nav-links a[aria-current] { border-bottom-color: var(--ink); }
.nav-actions { display: flex; gap: 8px; align-items: center; }
.nav-toggle { display: none; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; background: var(--ink); color: #fff; border: 1.5px solid var(--ink); padding: 13px 22px; font: 700 .74rem/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; cursor: pointer; white-space: nowrap; transition: background .15s, color .15s; }
.btn:hover { background: #2b2b2b; border-color: #2b2b2b; color: #fff; }
.btn:disabled { opacity: .6; cursor: progress; }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-light { background: #fff; color: var(--ink); border-color: #fff; }
.btn-light:hover { background: #dcdcd6; border-color: #dcdcd6; color: var(--ink); }
.btn-sm { padding: 10px 16px; font-size: .68rem; }
.btn-lg { padding: 17px 28px; font-size: .78rem; }
.btn-block { display: flex; width: 100%; }
.btn-danger { background: var(--danger); border-color: var(--danger); }
.linkish { background: none; border: 0; color: inherit; font: inherit; cursor: pointer; text-decoration: underline; padding: 0; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 28px 0 0; }
.hero-lines { position: absolute; inset: 0; width: 100%; height: 100%; color: #e6e6e0; stroke-width: 1; pointer-events: none; }
.hero-inner { position: relative; display: grid; grid-template-columns: 1.55fr 1fr; gap: 56px; align-items: stretch; }
.hero-copy { padding: 8px 0 48px; }
.tagline { display: flex; align-items: center; gap: 16px; font: 500 .68rem var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--text-2); margin-bottom: 26px; flex-wrap: wrap; }
.chip { display: inline-flex; align-items: center; gap: 8px; background: #d9d9d4; color: var(--ink); padding: 6px 12px; font: 600 .66rem var(--mono); letter-spacing: .16em; text-transform: uppercase; }
.chip i { width: 6px; height: 6px; background: var(--free); display: block; }
.chip b { font-weight: 600; }
.chip.dark { background: rgba(255, 255, 255, .14); color: #fff; }
.hero h1 { font-size: clamp(2.9rem, 7.4vw, 6.4rem); line-height: .9; letter-spacing: -.045em; margin: 0; }
.hero h1 > span { display: block; }
.h-to { font: 400 italic clamp(1.1rem, 1.8vw, 1.5rem)/1 var(--sans); text-transform: none; letter-spacing: 0; color: var(--grey); margin: 18px 0 14px 4px; }
.h-grey { color: var(--grey); transition: opacity .25s, transform .25s; min-height: 1.85em; }
.hero.swap .h-grey, .hero.swap .ticket-mono, .hero.swap .ticket-foot strong, .hero.swap [data-hero-city] { opacity: 0; }
.hero.swap .h-grey { transform: translateY(8px); }
.hero-sub { margin: 22px 0 0; color: var(--text); font-size: 1rem; }
[data-hero-city] { transition: opacity .25s; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 0; }

.ticket { position: relative; background: var(--dark); color: #fff; display: flex; flex-direction: column; padding: 22px; min-height: 520px; overflow: hidden; background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px); background-size: 44px 44px; }
.ticket-top { display: flex; justify-content: space-between; align-items: center; position: relative; z-index: 1; }
.ticket-nav { display: flex; gap: 6px; }
.ticket-nav button { width: 34px; height: 34px; background: transparent; border: 1px solid rgba(255, 255, 255, .35); color: #fff; font-size: 1.1rem; line-height: 1; cursor: pointer; }
.ticket-nav button:hover { background: #fff; color: var(--ink); }
.ticket-mono { font: 900 clamp(6rem, 13vw, 11rem)/.8 var(--sans); letter-spacing: -.06em; text-transform: uppercase; color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, .28); margin: 34px 0 auto -6px; transition: opacity .25s; white-space: nowrap; }
.ticket-rows { margin: 28px 0 0; border-top: 1px solid rgba(255, 255, 255, .2); }
.ticket-rows div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid rgba(255, 255, 255, .2); }
.ticket-rows dt { font: 500 .64rem var(--mono); letter-spacing: .14em; text-transform: uppercase; color: #a3a39c; }
.ticket-rows dd { margin: 0; font-weight: 700; font-size: .9rem; text-align: right; }
.ticket-foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-top: 22px; }
.ticket-foot strong { display: block; font-weight: 900; text-transform: uppercase; letter-spacing: -.02em; font-size: 1.25rem; line-height: 1.05; transition: opacity .25s; }
.ticket-foot span { font: 500 .64rem var(--mono); letter-spacing: .16em; text-transform: uppercase; color: #a3a39c; display: block; margin-top: 6px; }
.ticket-foot .right span { margin: 0 0 4px; }
.ticket-foot .right strong { font-size: 1.9rem; }

.hero-stats { position: relative; display: flex; flex-wrap: wrap; gap: 14px 44px; margin: 0; padding: 22px 0; border-top: 1px solid var(--line); }
.hero-stats div { display: flex; align-items: baseline; gap: 10px; }
.hero-stats dt { font-weight: 900; font-size: 1.25rem; letter-spacing: -.02em; color: var(--ink); }
.hero-stats dd { margin: 0; font: 500 .66rem var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--text-2); }

/* Promise */
.promise { text-align: center; padding: 130px 0 120px; border-top: 1px solid var(--line); }
.promise h2 { font-size: clamp(2.6rem, 8vw, 7rem); line-height: .9; letter-spacing: -.045em; margin-bottom: 26px; }
.promise-sub { font-size: clamp(1.1rem, 2vw, 1.6rem); color: var(--grey); font-weight: 500; margin-bottom: 40px; }
.promise-meta { margin: 0; }

/* Departures board */
.board { background: var(--paper-2); border-block: 1px solid var(--line); padding: 96px 0; }
.board-inner { display: grid; grid-template-columns: 1fr 2fr; gap: 56px; align-items: start; }
.board-head { position: sticky; top: 104px; }
.board-head h2 { font-size: clamp(2rem, 4.2vw, 3.6rem); margin-bottom: 22px; }
.board-head p:not(.label) { color: var(--text-2); max-width: 340px; margin-bottom: 26px; }
.board-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.board-grid li.big { grid-column: span 2; }
.board-grid a { display: flex; flex-direction: column; height: 100%; min-height: 150px; background: var(--paper); border: 1px solid var(--line); padding: 18px; text-decoration: none; color: var(--ink); position: relative; transition: background .15s, color .15s; }
.board-grid li.big a { min-height: 190px; }
.board-grid a:hover { background: var(--ink); color: #fff; }
.board-code { font: 600 .66rem var(--mono); letter-spacing: .16em; border: 1px solid currentColor; padding: 3px 7px; align-self: flex-start; }
.board-n { position: absolute; top: 18px; right: 18px; font: 500 .68rem var(--mono); color: var(--grey); }
.board-grid strong { margin-top: auto; font-weight: 900; text-transform: uppercase; letter-spacing: -.03em; font-size: 1.3rem; line-height: 1; }
.board-grid li.big strong { font-size: clamp(1.6rem, 2.8vw, 2.4rem); }
.board-meta { font: 500 .64rem var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--grey); margin-top: 10px; }

/* Network (dark) */
.network { background: var(--dark); color: #d6d6d0; padding: 96px 0; }
.network .label { color: #8c8c86; }
.network-head { display: flex; justify-content: space-between; align-items: baseline; border-bottom: 1px solid rgba(255, 255, 255, .16); margin-bottom: 36px; }
.network-head a:hover { color: #fff; }
.network h2 { color: #fff; font-size: clamp(2rem, 5vw, 4.2rem); max-width: 980px; margin-bottom: 56px; }
.network-body { display: grid; grid-template-columns: 1fr 1.25fr; gap: 64px; align-items: start; }
.network-feature { position: sticky; top: 104px; border: 1px solid rgba(255, 255, 255, .18); padding: 30px; }
.network-feature .label { margin-bottom: 8px; }
.network-name { font-weight: 900; text-transform: uppercase; letter-spacing: -.035em; font-size: clamp(1.8rem, 3.4vw, 3rem); line-height: .95; color: #fff; margin: 22px 0 28px; min-height: 2.9em; }
.network-feature dl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 0 0 28px; border-top: 1px solid rgba(255, 255, 255, .16); padding-top: 18px; }
.network-feature dt { font: 500 .62rem var(--mono); letter-spacing: .16em; text-transform: uppercase; color: #8c8c86; margin-bottom: 6px; }
.network-feature dd { margin: 0; color: #fff; font-weight: 700; }
.network-index { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 32px; }
.network-index li { break-inside: avoid; }
.network-index button { width: 100%; display: grid; grid-template-columns: 34px 1fr auto; align-items: baseline; gap: 8px; background: none; border: 0; border-bottom: 1px solid rgba(255, 255, 255, .14); color: #9c9c96; padding: 13px 0; font: inherit; text-align: left; cursor: pointer; }
.network-index span { font: 500 .66rem var(--mono); color: #6f6f6a; }
.network-index strong { font-weight: 800; text-transform: uppercase; letter-spacing: -.01em; font-size: .98rem; }
.network-index em { font: 500 .6rem var(--mono); font-style: normal; letter-spacing: .12em; text-transform: uppercase; color: #6f6f6a; }
.network-index button:hover, .network-index button.on { color: #fff; }
.network-index button.on { border-bottom-color: #fff; }

/* Sections */
.section { padding: 96px 0; }
.section.alt { background: var(--paper-2); border-block: 1px solid var(--line); }
.section-title { margin-bottom: 32px; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.page-head { padding: 72px 0 52px; border-bottom: 1px solid var(--line); }
.page-head h1 { max-width: 1000px; margin-bottom: 22px; }
.page-head.compact { padding: 48px 0 34px; }
.page-head.compact h1 { font-size: clamp(2rem, 4.4vw, 3.4rem); }
.split { display: grid; grid-template-columns: 1fr 1.15fr; gap: 64px; align-items: start; }
.two-col { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: start; }

.fees { border-top: 1px solid var(--line); }
.fee-table td:last-child { width: 46%; }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 2px solid var(--ink); }
.steps li { padding: 30px 30px 30px 0; border-bottom: 1px solid var(--line); }
.steps li:not(:nth-child(3n+1)) { padding-left: 30px; border-left: 1px solid var(--line); }
.steps span { display: block; font: 500 .72rem var(--mono); letter-spacing: .16em; color: var(--grey); margin-bottom: 26px; }
.steps h3 { font-weight: 900; text-transform: uppercase; letter-spacing: -.02em; font-size: 1.3rem; }
.steps p { margin: 0; color: var(--text-2); font-size: .95rem; }

/* Advisor */
.advisor { background: var(--paper-2); border-top: 1px solid var(--line); padding: 96px 0; }
.advisor-inner { display: grid; grid-template-columns: 1.3fr 1fr; gap: 64px; align-items: start; }
.advisor .display { margin-bottom: 26px; }
.advisor-lead { color: var(--text-2); max-width: 520px; font-size: 1.05rem; margin-bottom: 34px; }
.advisor-lines { border-top: 2px solid var(--ink); }
.advisor-lines a { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); text-decoration: none; flex-wrap: wrap; }
.advisor-lines .label { margin: 0; }
.advisor-lines strong { font-weight: 900; font-size: clamp(1.1rem, 2vw, 1.6rem); letter-spacing: -.02em; }
.advisor-lines a:hover strong { color: var(--text-2); }
.tips { background: var(--dark); color: #d6d6d0; padding: 30px; }
.tips .label { color: #8c8c86; }
.tips ol { list-style: none; margin: 0; padding: 0; }
.tips li { display: grid; grid-template-columns: 36px 1fr; padding: 16px 0; border-top: 1px solid rgba(255, 255, 255, .16); color: #fff; }
.tips li span { font: 500 .68rem var(--mono); color: #8c8c86; padding-top: 4px; }

/* Marquee */
.marquee { background: var(--ink); color: #fff; overflow: hidden; border-bottom: 1px solid rgba(255, 255, 255, .16); }
.marquee-track { display: flex; width: max-content; animation: marquee 60s linear infinite; }
.marquee span { font: 500 .68rem var(--mono); letter-spacing: .22em; text-transform: uppercase; padding: 14px 22px; white-space: nowrap; }
.marquee span::after { content: "·"; margin-left: 44px; color: #6f6f6a; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } html { scroll-behavior: auto; } }

.facts { margin: 0; display: grid; grid-template-columns: 200px 1fr; border-top: 2px solid var(--ink); }
.facts dt, .facts dd { padding: 13px 0; border-bottom: 1px solid var(--line); margin: 0; }
.facts dt { font: 500 .66rem var(--mono); text-transform: uppercase; letter-spacing: .14em; color: var(--text-2); padding-top: 17px; }
.facts dd { font-weight: 600; }

.prose { max-width: 820px; }
.prose ul { padding-left: 20px; }
.prose li { margin-bottom: 8px; }
.prose h2 { margin-top: 1.9em; font-size: clamp(1.4rem, 2.4vw, 2rem); }
.prose h2:first-child { margin-top: 0; }
.timeline { list-style: none; padding: 0; margin: 0; border-top: 2px solid var(--ink); }
.timeline li { padding: 24px 0; border-bottom: 1px solid var(--line); }
.timeline h3 { font-weight: 900; text-transform: uppercase; letter-spacing: -.02em; font-size: 1.25rem; }
.timeline p { margin: 0; color: var(--text-2); }
details { border-bottom: 1px solid var(--line); padding: 18px 0; }
details:first-of-type { border-top: 2px solid var(--ink); }
summary { cursor: pointer; font-weight: 700; color: var(--ink); }
details p { margin: 10px 0 0; color: var(--text-2); }

.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: .95rem; margin: 12px 0 24px; border-top: 2px solid var(--ink); }
.table th, .table td { text-align: left; padding: 13px 14px 13px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.table th { font: 500 .66rem var(--mono); text-transform: uppercase; letter-spacing: .14em; color: var(--text-2); }
.table tbody tr:hover { background: var(--paper-2); }
.table .right { text-align: right; padding-right: 0; }
.uni-table td:first-child strong { font-weight: 800; text-transform: uppercase; letter-spacing: -.01em; }
.badge { display: inline-block; font: 500 .6rem var(--mono); letter-spacing: .12em; text-transform: uppercase; border: 1px solid var(--ink); color: var(--ink); padding: 2px 6px; margin-left: 8px; vertical-align: 2px; white-space: nowrap; }

/* University filters */
.filters { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; margin-bottom: 14px; }
.filter-search { flex: 1 1 280px; }
.segmented { display: flex; border: 1.5px solid var(--ink); }
.segmented button { background: transparent; border: 0; border-left: 1.5px solid var(--ink); padding: 11px 14px; font: 700 .68rem var(--sans); letter-spacing: .12em; text-transform: uppercase; cursor: pointer; color: var(--ink); white-space: nowrap; }
.segmented button:first-child { border-left: 0; }
.segmented button.on { background: var(--ink); color: #fff; }

.panel, .card { background: #fff; border: 1px solid var(--line); border-top: 2px solid var(--ink); padding: 28px; margin-bottom: 24px; }
.panel h2, .card h2 { font-size: 1.35rem; letter-spacing: -.02em; line-height: 1.05; }
.notice { background: var(--warn-bg); border-left: 3px solid var(--warn-line); padding: 12px 16px; }
.alert { padding: 14px 18px; margin-bottom: 18px; border-left: 4px solid; }
.alert ul { margin: 6px 0 0; padding-left: 20px; }
.alert.error { background: var(--danger-bg); border-color: var(--danger); color: #7a1c13; }
.alert.success { background: var(--free-bg); border-color: var(--free); color: #0f3d27; }

/* Forms */
.form fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.form .step > legend { font-size: 1.6rem; font-weight: 900; text-transform: uppercase; color: var(--ink); letter-spacing: -.03em; margin-bottom: 22px; padding: 0; }
.field { margin-bottom: 18px; }
.field label, .field > legend { display: block; font-weight: 600; margin-bottom: 6px; font-size: .9rem; color: var(--ink); padding: 0; }
.hint { margin: -2px 0 6px; font-size: .82rem; color: var(--text-2); }
.req { color: var(--danger); }
input:not([type=checkbox]):not([type=radio]):not([type=file]), select, textarea {
  width: 100%; font: inherit; color: inherit; padding: 12px; border: 1px solid #b9b9b2; background: #fff; min-height: 48px; -webkit-appearance: none; appearance: none;
}
select { background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 36px; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--ink); outline-offset: -1px; border-color: var(--ink); }
input[type=checkbox], input[type=radio] { accent-color: var(--ink); }
input[type=file] { font: inherit; font-size: .88rem; }
input[type=file]::file-selector-button { font: 700 .66rem var(--sans); letter-spacing: .12em; text-transform: uppercase; background: #fff; border: 1.5px solid var(--ink); color: var(--ink); padding: 8px 14px; margin-right: 12px; cursor: pointer; }
.has-error input, .has-error select, .has-error textarea, .invalid { border-color: var(--danger) !important; }
.err { color: var(--danger); font-size: .84rem; margin: 5px 0 0; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 24px; }
h3.sub { margin: 18px 0 14px; font: 500 .68rem var(--mono); text-transform: uppercase; letter-spacing: .16em; color: var(--text-2); border-bottom: 1px solid var(--line); padding-bottom: 8px; }
.choice { display: flex; align-items: flex-start; gap: 10px; font-weight: 400 !important; padding: 6px 0; cursor: pointer; }
.choice input { margin-top: 4px; width: 17px; height: 17px; flex: none; }
.radio-row { display: flex; flex-wrap: wrap; gap: 4px 28px; }
.consents { background: var(--paper-2); border: 1px solid var(--line); padding: 14px 18px; margin-top: 8px; }

.stepper { list-style: none; padding: 0; margin: 0 0 24px; display: grid; grid-template-columns: repeat(6, 1fr); counter-reset: s; }
.stepper li { counter-increment: s; font: 500 .64rem var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--grey); padding: 10px 8px 0 0; border-top: 3px solid var(--line); }
.stepper li::before { content: counter(s, decimal-leading-zero) "  "; white-space: pre; }
.stepper li.done { border-color: var(--free); color: var(--free); }
.stepper li.current { border-color: var(--ink); color: var(--ink); font-weight: 600; }

.form-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); }
.form-nav [data-next], .form-nav [data-submit] { margin-left: auto; }
.js .step:not(.active) { display: none; }

.uploads { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.upload { border: 1px dashed #9a9a93; padding: 14px 16px; background: var(--paper); }
.upload.has-files { border-style: solid; border-color: var(--free); background: var(--free-bg); }
.upload label { display: block; font-weight: 600; margin-bottom: 8px; font-size: .9rem; color: var(--ink); }
.upload input[type=file] { width: 100%; }
.tag { font: 500 .58rem var(--mono); letter-spacing: .1em; text-transform: uppercase; border: 1px solid #8a6a12; color: #6f5408; padding: 1px 5px; margin-left: 6px; vertical-align: 2px; }
.file-list { list-style: none; padding: 0; margin: 8px 0 0; font-size: .84rem; }
.file-list li { display: flex; justify-content: space-between; gap: 8px; }
.file-list .bad { color: var(--danger); }

.progress-bar { height: 8px; background: var(--line); overflow: hidden; margin-top: 18px; }
.progress-bar span { display: block; height: 100%; width: 0; background: var(--ink); transition: width .2s; }

.review { display: grid; gap: 12px; margin-bottom: 18px; }
.review section { border: 1px solid var(--line); border-top: 2px solid var(--ink); padding: 14px 18px; }
.review h3 { display: flex; justify-content: space-between; font-size: 1rem; }
.review h3 button { font-size: .85rem; font-weight: 500; }
.kv { display: grid; grid-template-columns: 200px 1fr; gap: 6px 18px; margin: 0; font-size: .92rem; }
.kv dt { color: var(--text-2); }
.kv dd { margin: 0; white-space: pre-wrap; word-break: break-word; }

.ref-number { font: 600 2rem/1 var(--mono); letter-spacing: .06em; background: var(--ink); color: #fff; padding: 18px 24px; display: inline-block; }
.status-pill { display: inline-block; padding: 6px 12px; font: 600 .66rem var(--mono); text-transform: uppercase; letter-spacing: .12em; border: 1px solid var(--ink); color: var(--ink); background: #fff; }
.status-documents_needed, .status-on_hold { border-color: #8a6a12; color: #6f5408; background: var(--warn-bg); }
.status-offer_conditional, .status-offer_unconditional, .status-cas_issued, .status-visa_stage, .status-enrolled { border-color: var(--free); color: var(--free); background: var(--free-bg); }
.status-withdrawn, .status-unsuccessful { border-color: #888; color: #555; background: #f2f2f2; }
.history { list-style: none; padding: 0; margin: 0; }
.history li { padding: 12px 0; border-bottom: 1px solid var(--line); display: grid; }
.history p { margin: 4px 0 0; }
.doc-list { list-style: none; padding: 0; margin: 0 0 14px; }
.doc-list li { display: grid; padding: 10px 0; border-bottom: 1px solid var(--line); word-break: break-word; }

/* Footer */
.site-footer { background: var(--ink); color: #a3a39c; padding: 88px 0 28px; font-size: .9rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: #a3a39c; }
.footer-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; padding-bottom: 64px; margin-bottom: 56px; border-bottom: 1px solid rgba(255, 255, 255, .16); }
.footer-big { font-weight: 900; text-transform: uppercase; letter-spacing: -.045em; line-height: .9; font-size: clamp(2.2rem, 6.4vw, 5.6rem); color: #fff; margin: 0; }
.footer-big span { color: #6f6f6a; }
.footer-top .btn-light:hover { color: var(--ink); }
.site-footer h3 { color: #fff; font: 500 .66rem var(--mono); text-transform: uppercase; letter-spacing: .18em; margin-bottom: 18px; padding-bottom: 12px; border-bottom: 1px solid rgba(255, 255, 255, .16); }
.site-footer p { margin: 0 0 10px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; color: #fff; }
.footer-brand span { display: flex; flex-direction: column; line-height: 1.15; }
.footer-brand b { font-weight: 800; letter-spacing: .06em; }
.footer-brand small { font: 500 .58rem var(--mono); letter-spacing: .2em; color: #8c8c86; margin-top: 3px; }
.footer-label { font: 500 .62rem var(--mono) !important; text-transform: uppercase; letter-spacing: .14em; color: #6f6f6a; margin: 14px 0 2px !important; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { padding: 5px 0; }
.fraud-note { border: 1px solid rgba(255, 255, 255, .2); border-left: 3px solid #c9a53a; padding: 20px; align-self: start; }
.fraud-note h3 { border: 0; padding: 0; margin-bottom: 10px; color: #c9a53a; }
.footer-base { border-top: 1px solid rgba(255, 255, 255, .16); margin-top: 56px; padding-top: 20px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font: 500 .64rem var(--mono); letter-spacing: .12em; text-transform: uppercase; color: #6f6f6a; }

/* Admin */
.admin { background: var(--paper-2); }
.admin h1 { font-size: 1.9rem; }
.admin h2 { font-size: 1.15rem !important; }
.admin-bar { background: var(--ink); }
.admin-bar .header-inner { min-height: 60px; }
.admin-bar .brand { color: #fff; font-weight: 800; letter-spacing: .06em; }
.admin-nav { display: flex; gap: 22px; align-items: center; }
.admin-nav a, .admin-nav .linkish { color: #fff; text-decoration: none; font-size: .9rem; }
.admin-nav form { margin: 0; }
.admin-main { padding-top: 32px; padding-bottom: 48px; }
.admin .table { background: #fff; }
.admin .table th, .admin .table td { padding-left: 12px; }
.admin-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px; align-items: start; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.chip-link, .chips .chip { background: #fff; border: 1px solid var(--line); padding: 6px 12px; font: 500 .8rem var(--sans); letter-spacing: 0; text-transform: none; text-decoration: none; color: var(--ink); }
.chips .chip.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.search { display: flex; gap: 8px; margin-bottom: 8px; max-width: 560px; }
.pager { display: flex; gap: 16px; }
.pre { white-space: pre-wrap; max-width: 480px; }
.danger-zone { border-top-color: var(--danger); }

/* Responsive */
@media (max-width: 1100px) {
  .nav-toggle { display: inline-flex; background: transparent; border: 1.5px solid var(--ink); padding: 10px 16px; font: 700 .68rem var(--sans); letter-spacing: .14em; text-transform: uppercase; cursor: pointer; color: var(--ink); }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: 8px 32px 24px; gap: 16px; }
  .site-nav.open { display: flex; }
  .nav-links { flex-direction: column; margin: 0; gap: 0; }
  .nav-links a { padding: 16px 0; border-bottom: 1px solid var(--line); }
  .nav-actions { flex-wrap: wrap; }
  .site-header .wrap { position: relative; }
}
@media (max-width: 960px) {
  .hero-inner, .two-col, .admin-grid, .split, .board-inner, .network-body, .advisor-inner { grid-template-columns: 1fr; gap: 36px; }
  .board-head, .network-feature { position: static; }
  .ticket { min-height: 420px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps li, .steps li:not(:nth-child(3n+1)) { padding: 24px 20px 24px 0; border-left: 0; }
  .steps li:nth-child(2n) { padding-left: 20px; border-left: 1px solid var(--line); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .promise { padding: 88px 0; }
  .section, .board, .network, .advisor { padding: 72px 0; }
}
@media (max-width: 680px) {
  .wrap { padding: 0 18px; }
  .site-nav { padding: 8px 18px 22px; }
  .brand-sub { font-size: .54rem; letter-spacing: .14em; }
  .hero-copy { padding-bottom: 8px; }
  .board-grid { grid-template-columns: 1fr 1fr; }
  .board-grid a { min-height: 124px; }
  .network-index { columns: 1; }
  .network-feature dl { grid-template-columns: 1fr 1fr; }
  .grid-2, .grid-3, .steps, .uploads, .footer-grid { grid-template-columns: 1fr; }
  .steps li:nth-child(2n) { padding-left: 0; border-left: 0; }
  .facts { grid-template-columns: 1fr; }
  .facts dt { border-bottom: 0; padding-bottom: 0; }
  .stepper li { font-size: 0; }
  .stepper li::before { font-size: .7rem; content: counter(s, decimal-leading-zero); }
  .kv { grid-template-columns: 1fr; }
  .kv dd { margin-bottom: 8px; }
  .panel, .card { padding: 20px; }
  .segmented { width: 100%; overflow-x: auto; }
  .ref-number { font-size: 1.3rem; }
  .uni-table th:nth-child(3), .uni-table td:nth-child(3) { display: none; }
  .footer-top { padding-bottom: 44px; margin-bottom: 40px; }
  .promise-meta { line-height: 2; }
}

/* Keep dark text on light buttons inside dark areas */
.site-footer a.btn-light, .network a.btn-light { color: var(--ink); }

/* ---- January 2027 offers ---- */
.offer-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.offer-card { background: #fff; border: 1px solid var(--line); border-top: 2px solid var(--ink); display: flex; flex-direction: column; }
.offer-img { display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--paper-2); border-bottom: 1px solid var(--line); }
.offer-img img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; transition: transform .4s; }
.offer-card:hover .offer-img img { transform: scale(1.03); }
.offer-img-text { display: flex; flex-direction: column; justify-content: center; padding: 28px; text-decoration: none; color: var(--ink); background: var(--dark); }
.offer-img-text span { color: #fff; font-weight: 900; font-size: 1.9rem; line-height: 1; text-transform: uppercase; letter-spacing: -.02em; }
.offer-img-text b { color: #a3a39c; font: 500 .7rem var(--mono); letter-spacing: .16em; text-transform: uppercase; margin-top: 14px; }
.offer-body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.offer-body h3 { font-size: 1.2rem; letter-spacing: -.02em; margin: 4px 0 8px; }
.offer-body h3 a { color: inherit; text-decoration: none; }
.offer-body p { margin: 0 0 4px; color: var(--text-2); }
.offer-body .cta-row { margin-top: auto; padding-top: 16px; }
.ticks { list-style: none; padding: 0; margin: 20px 0 0; }
.ticks li { position: relative; padding: 10px 0 10px 28px; border-bottom: 1px solid var(--line); }
.ticks li::before { content: "✓"; position: absolute; left: 0; top: 10px; color: var(--free); font-weight: 800; }
.flyers { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.flyers img { width: 100%; display: block; border: 1px solid var(--line); }
.course-table td strong { font-weight: 700; }
.waiver-list, .moi-list { list-style: none; padding: 0; margin: 16px 0 0; }
.waiver-list li, .moi-list li { padding: 10px 0; border-bottom: 1px solid var(--line); }
.waiver-list .yes { color: var(--free); font-weight: 700; }
.waiver-list .no { color: var(--danger); font-weight: 700; }
.waiver-list .maybe { color: #8a6a12; font-weight: 700; }
.moi-list small { color: var(--text-2); display: block; }
.offer-strip { background: var(--free); color: #fff; }
.offer-strip .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-top: 14px; padding-bottom: 14px; }
.offer-strip a { color: #fff; font-weight: 700; }
@media (max-width: 700px) { .facts { grid-template-columns: 1fr; } .facts dt { padding-bottom: 0; } }

/* ---------- Photos: campus and landmark images (Wikimedia Commons; credits on /image-credits) ---------- */
img { image-rendering: auto; }

/* Page headers with a full-width photo */
.page-head.photo-head { position: relative; overflow: hidden; color: #fff; border-bottom: 0; padding: clamp(140px, 20vw, 240px) 0 60px; background: #4a525c; isolation: isolate; }
.photo-head .photo-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; z-index: -2; }
.photo-head::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 12, 16, 0) 30%, rgba(10, 12, 16, .35) 60%, rgba(10, 12, 16, .72) 100%); }
.photo-head h1, .photo-head .eyebrow, .photo-head .eyebrow a { color: #fff; text-shadow: 0 1px 18px rgba(0, 0, 0, .25); }
.photo-head .lead { color: rgba(255, 255, 255, .92); }
.photo-head .lead a { color: #fff; }
.photo-head .btn-ghost { color: #fff; border-color: #fff; }
.photo-head .btn-ghost:hover { background: #fff; color: var(--ink); }
.photo-head .btn:not(.btn-ghost) { background: #fff; color: var(--ink); border-color: #fff; }

/* Hero card: the campus photo fills the card, details sit on a white panel */
.ticket:has(.ticket-photo) { background: var(--paper-2); color: var(--ink); padding: 16px; justify-content: flex-start; }
.ticket-photo { position: absolute; inset: 0; margin: 0; z-index: 0; }
.ticket-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .9s ease; }
.ticket-photo img.on { opacity: 1; }
.ticket-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .28) 0%, rgba(0, 0, 0, 0) 22%); pointer-events: none; }
.ticket:has(.ticket-photo) .ticket-top { margin-bottom: auto; }
.ticket:has(.ticket-photo) .chip.dark { background: rgba(255, 255, 255, .94); color: var(--ink); border-color: transparent; }
.ticket:has(.ticket-photo) .ticket-nav button { background: rgba(255, 255, 255, .94); color: var(--ink); border-color: transparent; }
.ticket:has(.ticket-photo) .ticket-nav button:hover { background: var(--ink); color: #fff; }
.ticket:has(.ticket-photo) .ticket-rows { position: relative; z-index: 1; background: #fff; margin: 0; padding: 4px 18px; border-top: 0; box-shadow: 0 -1px 0 var(--line); }
.ticket:has(.ticket-photo) .ticket-rows div { border-bottom-color: var(--line); }
.ticket:has(.ticket-photo) .ticket-rows dt, .ticket:has(.ticket-photo) .ticket-foot span { color: var(--text-2); }
.ticket:has(.ticket-photo) .ticket-foot { position: relative; z-index: 1; background: #fff; margin: 0; padding: 14px 18px 18px; border-top: 2px solid var(--ink); }

/* Destination board: landmark photo cards */
.board-grid li.has-photo a { position: relative; overflow: hidden; color: #fff; border: 0; background: #c9ccd0; isolation: isolate; min-height: 190px; }
.board-grid li.big.has-photo a { min-height: 250px; }
.board-grid li.has-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s ease; }
.board-grid li.has-photo a::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, .62)); }
.board-grid li.has-photo a:hover img { transform: scale(1.05); }
.board-grid li.has-photo .board-code { border: 0; background: rgba(255, 255, 255, .94); color: var(--ink); letter-spacing: .06em; text-transform: none; font-size: .62rem; padding: 4px 8px; }
.board-grid li.has-photo .board-n { color: #fff; text-shadow: 0 1px 6px rgba(0, 0, 0, .4); }
.board-grid li.has-photo strong { text-shadow: 0 2px 16px rgba(0, 0, 0, .35); }
.board-grid li.has-photo .board-meta { color: rgba(255, 255, 255, .9); }
.place-grid { grid-template-columns: repeat(4, 1fr); }

/* Network feature photo */
.net-photo { position: relative; margin: -30px -30px 26px; aspect-ratio: 3 / 2; overflow: hidden; background: #2a2d31; }
.net-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* 30-second check */
.quick { background: var(--free-bg); border-block: 1px solid var(--line); padding: 96px 0; }
.quick-inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
.quick .display span { color: var(--free); }
.quick-lead { font-size: 1.08rem; color: var(--text-2); max-width: 440px; }
.quick-ticks { list-style: none; padding: 0; margin: 22px 0 0; }
.quick-ticks li { padding: 8px 0 8px 26px; position: relative; font-weight: 600; }
.quick-ticks li::before { content: "✓"; position: absolute; left: 0; color: var(--free); font-weight: 900; }
.quick-form { background: #fff; display: grid; grid-template-columns: 1fr 1fr; gap: 4px 16px; }
.quick-form .field:has(#q-name), .quick-form .cta-row, .quick-form .muted, .quick-form .field-error { grid-column: 1 / -1; }
.field-error { color: var(--danger); font-weight: 600; margin: 0; }

/* Home FAQ */
.faq-home .display span { color: var(--grey); }

/* Universities: photo cards */
.uni-grid { list-style: none; margin: 18px 0 28px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.uni-card { background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; }
.uni-card[hidden] { display: none; }
.uni-photo { position: relative; display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--paper-2); }
.uni-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .45s; }
.uni-card:hover .uni-photo img { transform: scale(1.05); }
.uni-mono { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font: 900 4rem/1 var(--sans); letter-spacing: -.05em; text-transform: uppercase; color: transparent; -webkit-text-stroke: 1px rgba(10, 10, 10, .22); }
.uni-flag { position: absolute; left: 10px; top: 10px; background: var(--free); color: #fff; font: 600 .6rem var(--mono); letter-spacing: .1em; text-transform: uppercase; padding: 4px 8px; }
.uni-body { padding: 16px 16px 14px; display: flex; flex-direction: column; flex: 1; }
.uni-loc { font: 500 .62rem var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--grey); margin: 0 0 6px; }
.uni-card h3 { font-size: 1.05rem; line-height: 1.2; margin: 0 0 10px; }
.uni-card h3 a { color: var(--ink); text-decoration: none; }
.uni-card h3 a:hover { text-decoration: underline; }
.uni-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 14px; }
.uni-actions { margin-top: auto; display: flex; gap: 8px; flex-wrap: wrap; }
.uni-actions .btn[aria-pressed="true"] { background: var(--free); border-color: var(--free); color: #fff; }

/* Shortlist bar */
.shortlist-bar { position: sticky; bottom: 0; z-index: 30; background: var(--ink); color: #fff; padding: 12px 0; box-shadow: 0 -8px 24px rgba(0, 0, 0, .18); }
.shortlist-bar .wrap { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.short-names { color: #b8b8b2; font-size: .85rem; flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.shortlist-bar .cta-row { margin: 0; }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .6); }
.btn-ghost-light:hover { background: #fff; color: var(--ink); }
.shortlist-bar a.btn-light { color: var(--ink); }

/* Offer cards: campus photo */
.offer-campus { position: relative; display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--paper-2); border-bottom: 1px solid var(--line); }
.offer-campus img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.offer-card:hover .offer-campus img { transform: scale(1.04); }
.offer-campus span { position: absolute; left: 10px; bottom: 10px; background: rgba(255, 255, 255, .94); color: var(--ink); font: 600 .6rem var(--mono); letter-spacing: .12em; text-transform: uppercase; padding: 4px 8px; }

/* Floating WhatsApp button */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 40; display: inline-flex; align-items: center; gap: 8px; background: #1f8f4e; color: #fff; text-decoration: none; padding: 12px 16px 12px 12px; border-radius: 999px; font-weight: 700; font-size: .85rem; box-shadow: 0 8px 24px rgba(0, 0, 0, .22); }
.wa-float:hover { background: #146c43; color: #fff; }
body:has(.shortlist-bar:not([hidden])) .wa-float { bottom: 86px; }

@media (max-width: 960px) {
  .quick-inner { grid-template-columns: 1fr; gap: 32px; }
  .quick { padding: 72px 0; }
  .place-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .quick-form { grid-template-columns: 1fr; }
  .board-grid li.has-photo a, .board-grid li.big.has-photo a { min-height: 170px; }
  .board-grid li.big { grid-column: span 2; }
  .wa-float span { display: none; }
  .wa-float { padding: 13px; }
  .short-names { display: none; }
  .page-head.photo-head { padding-top: 140px; }
}
@media (prefers-reduced-motion: reduce) { .ticket-photo img, .board-grid li.has-photo img, .uni-photo img { transition: none; transform: none !important; } }
.uni-flag { box-shadow: 0 1px 6px rgba(0, 0, 0, .15); }
