/* Greenvalley 2027 public site. Tokens come from tokens.css. */
.wrap { width: min(1240px, 100% - clamp(2rem, 6vw, 6rem)); margin-inline: auto; }
html { scroll-padding-top: 110px; scrollbar-color: var(--field) var(--bg); }
[hidden] { display: none !important; }
body { overflow-wrap: break-word; }
input, textarea { caret-color: var(--teal); }
section[id], form[id], :target { scroll-margin-top: 110px; }
.ico { flex: none; }
.muted { color: var(--muted); font-weight: 400; }
h1, h2, .section-title { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.01em; }
.section-title { font-size: var(--t-2xl); margin-bottom: var(--s5); }
.lede { font-size: var(--t-lg); color: var(--muted); max-width: 60ch; }

/* header */
.site-head { position: sticky; top: 0; z-index: 20; background: var(--surface); border-bottom: 1px solid var(--line); }
.head-row { display: flex; align-items: center; gap: var(--s4); min-height: 80px; }
.brand { display: flex; align-items: center; gap: var(--s3); color: var(--ink); text-decoration: none; margin-right: auto; }
.brand img { width: 44px; height: 44px; border-radius: 10px; flex-shrink: 0; }
.brand > span { min-width: 0; overflow-wrap: anywhere; }
.brand strong { display: block; font-family: var(--font-display); font-size: 1.4rem; line-height: 1.1; }
.brand small { display: block; color: var(--muted); font-size: var(--t-xs); }
.site-nav { display: flex; align-items: center; gap: var(--s1); flex-shrink: 0; }
.site-nav a:not(.btn) { display: inline-flex; align-items: center; min-height: var(--tap); padding: 0 var(--s3); color: var(--ink); text-decoration: none; font-weight: 600; font-size: var(--t-sm); border-radius: var(--radius-sm); }
.site-nav a[aria-current="page"] { color: var(--teal); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .45em; }
.nav-login { margin-left: var(--s2); }
.site-nav .nav-login { min-height: var(--tap); }
.menu-btn { display: none; align-items: center; gap: var(--s2); min-height: var(--tap); padding: 0 var(--s3); border: 1.5px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink); font: 700 var(--t-sm) var(--font-body); }
@media (hover: hover) and (pointer: fine) { .site-nav a:not(.btn):hover { background: var(--teal-tint); } }
@media (max-width: 1180px) {
  .js .menu-btn { display: inline-flex; }
  .js .site-nav { display: none; }
  .js .site-nav.open { display: flex; }
  .site-nav { position: absolute; inset: 100% 0 auto 0; flex-direction: column; align-items: stretch; padding: var(--s3) max(1rem, 3vw) var(--s5); background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); max-height: calc(100dvh - 80px); overflow-y: auto; }
  .site-nav.open { animation: menu-open 220ms var(--ease); }
  .menu-btn { cursor: pointer; flex-shrink: 0; }
  .menu-btn[aria-expanded="true"] { background: var(--teal-tint); border-color: var(--teal); }
  .no-js .site-nav, html:not(.js) .site-nav { position: static; flex-wrap: wrap; flex-direction: row; box-shadow: none; border: 0; padding: 0 0 var(--s2); max-height: none; }
  html:not(.js) .head-row { flex-wrap: wrap; padding-top: var(--s3); }
  .nav-login { margin: var(--s2) 0 0; }
}

/* hero */
.hero { padding: clamp(2rem, 5vw, 4.5rem) 0 0; background: var(--teal-tint); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero h1 { font-size: clamp(2.4rem, 1.25rem + 2.7vw, 3.65rem); line-height: 1.08; letter-spacing: -.035em; margin: 0 0 var(--s5); max-width: 19ch; }
.hero h1 em { font-style: normal; color: var(--teal-text); }
.hero .lede { font-size: clamp(1.0625rem, .95rem + .3vw, 1.2rem); max-width: 48ch; line-height: 1.6; }
.hero-tag { display: flex; align-items: flex-start; gap: var(--s2); padding: 0; color: var(--teal-text); font-weight: 700; font-size: var(--t-sm); margin: var(--s5) 0 var(--s4); max-width: 46ch; }
.hero-tag .ico { margin-top: 2px; }
.hero-tag .ico { color: #8a5a00; }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--s3); margin: var(--s4) 0; }
.hero-actions .btn { min-height: 48px; padding-inline: 20px; }
.hero .btn-ghost, .hero-existing a { color: var(--teal-text); }
.hero-facts { list-style: none; padding: var(--s5) 0; margin: var(--s7) auto 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s5); border-top: 1px solid var(--field); }
.hero-facts li { display: grid; gap: 2px; }
.hero-facts strong { font-family: var(--font-display); font-size: var(--t-xl); }
.hero-facts span { font-size: var(--t-sm); color: var(--muted); }
.hero-photo { position: relative; margin: 0; border-radius: 160px 16px 16px 16px; overflow: hidden; background: var(--surface); }
.hero-photo img { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; object-position: 55% center; }
.hero-photo figcaption { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); padding: var(--s4) var(--s5); font-size: var(--t-sm); color: var(--ink); }
.hero-photo figcaption .ico { color: var(--teal); }

/* bands and bento */
.band { padding: var(--s8) 0; }
.band-alt { background: var(--surface-2); }
.page-head { padding: var(--s7) 0 var(--s5); background: linear-gradient(180deg, var(--teal-tint), var(--bg)); }
.page-head h1 { font-size: var(--t-3xl); }
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: minmax(170px, auto); gap: var(--s4); }
.bento-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tile { position: relative; display: flex; flex-direction: column; gap: var(--s2); padding: var(--s5); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); text-decoration: none; overflow: hidden; transition: border-color 180ms var(--ease), background-color 180ms var(--ease); }
.tile p { margin: 0; color: var(--muted); font-size: var(--t-sm); }
.tile strong { font-size: var(--t-lg); line-height: 1.25; }
.tile-k { display: inline-flex; align-items: center; gap: var(--s2); font-size: var(--t-xs); font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--teal); }
.tile-lg { grid-column: span 2; grid-row: span 2; justify-content: flex-end; }
.tile-big { font-family: var(--font-display); font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.4rem) !important; font-weight: 600; }
.tile-deep { background: var(--teal-deep); border-color: var(--teal-deep); color: #fff; }
.tile-deep .tile-k { color: var(--gold); }
.tile-deep p { color: #cfe3e0; }
.tile-gold { background: var(--gold-tint); border-color: transparent; }
.tile-gold .tile-k { color: var(--teal-text); }
.tile-more { display: inline-flex; align-items: center; gap: var(--s2); margin-top: var(--s3); font-weight: 700; color: var(--gold); }
.tile-photo { grid-column: span 2; padding: 0; justify-content: flex-end; }
.tile-wide { grid-column: span 2; }
.tile-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 400ms var(--ease); }
.tile-cap { position: relative; display: inline-flex; align-items: center; gap: var(--s2); margin: var(--s4); padding: var(--s2) var(--s4); background: var(--surface); border-radius: 999px; font-weight: 700; color: var(--ink); width: fit-content; }
@media (hover: hover) and (pointer: fine) { a.tile:hover { border-color: var(--teal); } .tile-photo:hover img { transform: scale(1.03); } .tile-more .ico { transition: transform 180ms var(--ease); } .tile:hover .tile-more .ico { transform: translateX(4px); } }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s7); align-items: center; }
.split-photo { margin: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.steps { counter-reset: s; list-style: none; padding: 0; margin: 0 0 var(--s5); display: grid; gap: var(--s3); }
.steps li { counter-increment: s; position: relative; padding: var(--s3) var(--s4) var(--s3) 3.25rem; background: var(--surface); border-radius: var(--radius); border: 1px solid var(--line); }
.steps li::before { content: counter(s); position: absolute; left: var(--s4); top: var(--s3); width: 26px; height: 26px; border-radius: 50%; background: var(--teal); color: var(--on-teal); display: grid; place-items: center; font-weight: 700; font-size: var(--t-sm); }
.row-head { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s4); flex-wrap: wrap; }
.row-head .section-title { margin: 0; }
.row-head a { display: inline-flex; align-items: center; gap: var(--s2); font-weight: 700; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s2); }
.ticks li { display: flex; gap: var(--s2); align-items: flex-start; }
.ticks .ico { color: var(--paid); margin-top: 3px; }

/* notices */
.notice-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: var(--s4); margin-top: var(--s5); }
.notice-card { padding: var(--s5); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.notice-card time { display: inline-flex; align-items: center; gap: var(--s2); font-size: var(--t-xs); font-weight: 700; color: var(--teal); text-transform: uppercase; letter-spacing: .04em; }
.notice-card h3 { font-size: var(--t-lg); margin: var(--s2) 0; }
.notice-card p { margin: 0; color: var(--muted); font-size: var(--t-sm); white-space: pre-line; }

/* academics explorer */
.explorer { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: var(--s5); }
.tablist { display: grid; gap: var(--s2); align-content: start; }
.tab { display: grid; text-align: left; gap: 2px; padding: var(--s3) var(--s4); min-height: var(--tap); border: 1.5px solid var(--line); border-radius: var(--radius); background: var(--surface); color: var(--ink); font: inherit; cursor: pointer; transition: background-color var(--dur) var(--ease), border-color var(--dur) var(--ease); }
.tab span { font-weight: 700; } .tab small { color: var(--muted); }
.tab[aria-selected="true"] { background: var(--teal-deep); border-color: var(--teal-deep); color: #fff; }
.tab[aria-selected="true"] small { color: var(--gold); }
.tab-panel { padding: var(--s6); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.js .tab-panel[hidden] { display: none; }
.tab-panel h3 { font-family: var(--font-display); font-size: var(--t-xl); }
.no-js .tab-panel + .tab-panel, html:not(.js) .tab-panel + .tab-panel { margin-top: var(--s4); }
.campus { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: var(--s5); align-items: start; }
.space-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s2); }
.space-btn { width: 100%; min-height: var(--tap); text-align: left; padding: 0 var(--s4); border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); font: 700 var(--t-sm) var(--font-body); cursor: pointer; transition: background-color var(--dur) var(--ease); }
.space-btn[aria-pressed="true"] { background: var(--gold); border-color: var(--gold); color: #0f2a2b; }
.space-view { margin: 0; border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); box-shadow: var(--shadow); }
.space-view img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.space-view figcaption { padding: var(--s4) var(--s5); }
.js .space-view[hidden] { display: none; }
.js .space-view:not([hidden]) { animation: fade 260ms var(--ease); }
html:not(.js) .space-view + .space-view { margin-top: var(--s4); }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

/* forms */
.card { padding: var(--s6); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.card h2 { font-size: var(--t-xl); }
.split-form { align-items: start; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); }
.admit-side { display: grid; gap: var(--s4); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form .btn { width: 100%; margin-top: var(--s2); }

/* faculty */
.fac-search { max-width: 420px; margin-top: var(--s4); }
.fac-group { margin-bottom: var(--s7); }
.fac-group h2 { font-size: var(--t-xl); }
.fac-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: var(--s4); }
.fac-card { display: flex; gap: var(--s4); padding: var(--s4); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.fac-card h3 { font-size: var(--t-md); margin: 0; }
.fac-av { flex: none; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--teal-tint); color: var(--teal-text); font-weight: 700; }
.fac-role { margin: 2px 0 0; font-size: var(--t-sm); }
.fac-qual { margin: 2px 0 0; font-size: var(--t-xs); color: var(--muted); }
.fac-bio { margin: var(--s2) 0 0; font-size: var(--t-sm); color: var(--muted); }
.fac-grid-lead { grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.fac-card-lead { align-items: center; }
.fac-photo { flex: none; width: 96px; height: 96px; border-radius: 50%; object-fit: cover; }
.hero-existing { margin: var(--s4) 0 0; font-size: var(--t-sm); color: var(--muted); }
.stage-text { font-size: var(--t-lg); max-width: 60ch; }

/* the rebuilt site's content sections, in the 2027 frame */
main > .page-header, main > .section { padding-inline: max(clamp(1rem, 3vw, 3rem), calc((100% - 1240px) / 2)); }
main > .page-header { padding-block: clamp(2rem, 5vw, 4.5rem) var(--s7); background: var(--teal-tint); border-bottom: 1px solid var(--line); }
main > .page-header h1 { font-size: var(--t-3xl); margin: 0 0 var(--s3); max-width: 22ch; }
main > .page-header p { font-size: var(--t-lg); color: var(--muted); max-width: 62ch; margin: 0; }
main > .section { padding-block: var(--s8); }
main > .section.alt { background: var(--surface-2); }
main > .section > h2 { font-size: var(--t-2xl); margin: 0 0 var(--s4); max-width: 28ch; }
main > .section > p, main > .section > ul:not([class]), main > .section > ol:not([class]) { max-width: 68ch; }
main > .section > p { font-size: var(--t-md); }
.group-title { font-size: var(--t-lg); margin: var(--s6) 0 var(--s3); }
main > .section > .center-text, .center-text { text-align: center; margin-top: var(--s6); max-width: none; }
.link, main > .section p a:not([class]) { color: var(--teal); text-decoration: underline; text-underline-offset: .2em; }
.nowrap { white-space: nowrap; }

.cta { display: inline-flex; align-items: center; justify-content: center; gap: var(--s2); min-height: var(--tap); padding: 0 var(--s5); border-radius: 999px; border: 1.5px solid var(--teal); background: var(--teal); color: var(--on-teal); font: 700 var(--t-sm)/1 var(--font-body); text-decoration: none; transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease), transform 160ms var(--ease); }
.cta:active { transform: scale(.97); }
.cta-outline, .cta-outline-dark { background: transparent; color: var(--teal); }
@media (hover: hover) and (pointer: fine) { .cta:hover { filter: brightness(1.08); } .cta-outline:hover, .cta-outline-dark:hover { background: var(--teal-tint); filter: none; } }

.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: var(--s4); margin-top: var(--s4); }
.card-grid.quad { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card-grid.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card-grid > .card, .action-cards > .card { padding: var(--s5); box-shadow: none; }
.card h3 { font-size: var(--t-lg); margin: 0 0 var(--s2); }
.card p { margin: 0 0 var(--s2); color: var(--muted); }
.card p:last-child { margin-bottom: 0; }
a.card { display: flex; flex-direction: column; gap: var(--s1); color: var(--ink); text-decoration: none; transition: transform 220ms var(--ease), border-color 220ms var(--ease); }
@media (hover: hover) and (pointer: fine) { a.card:hover { border-color: var(--teal); } }
.big { font-family: var(--font-display); font-size: var(--t-2xl); font-weight: 600; color: var(--teal-text) !important; margin: var(--s2) 0 !important; font-variant-numeric: tabular-nums; }
.label { font-size: var(--t-xs); font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--teal-text); }
.action-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: var(--s4); margin-top: var(--s4); }
.action-cards strong { font-size: var(--t-lg); overflow-wrap: anywhere; }
.action-cards small { color: var(--muted); }

.local-seo-links { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: var(--s3); margin-top: var(--s4); }
.link-card { flex-direction: row !important; align-items: center; justify-content: space-between; gap: var(--s3); padding: var(--s4) var(--s5) !important; font-weight: 700; box-shadow: none; }
.link-card::after { content: "→"; color: var(--teal); transition: transform 220ms var(--ease); }
@media (hover: hover) and (pointer: fine) { .link-card:hover::after { transform: translateX(3px); } }

/* the closing call to action on every page: the one deep-teal band */
main > .enquiry-strip { background: var(--teal-deep); color: #d9ebe8; }
main > .enquiry-strip h2 { color: #fff; }
main > .enquiry-strip p { color: #cfe3e0; }
.enquiry-actions { display: flex; flex-wrap: wrap; gap: var(--s3); margin-top: var(--s5); }
.enquiry-strip .cta { background: var(--gold); border-color: var(--gold); color: #0f2a2b; }
.enquiry-strip .cta-outline { background: transparent; border-color: rgba(255, 255, 255, .55); color: #fff; }
@media (hover: hover) and (pointer: fine) { .enquiry-strip .cta-outline:hover { background: rgba(255, 255, 255, .1); } }

.fact-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: var(--s5); margin: var(--s5) 0 0; }
.fact-strip > div { padding-block: var(--s4); border-top: 1px solid var(--field); }
.fact-strip dt { font-size: var(--t-xs); font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.fact-strip dd { margin: var(--s1) 0 0; }
.fact-value { display: block; font-family: var(--font-display); font-size: var(--t-xl); font-weight: 600; }
.fact-note { display: block; font-size: var(--t-sm); color: var(--muted); margin-top: 2px; }
.fact-note a { color: var(--teal); }

.timeline { counter-reset: st; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: var(--s4); margin-top: var(--s5); }
.step { counter-increment: st; position: relative; padding: var(--s5); padding-top: calc(var(--s5) + 40px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.step::before { content: counter(st); position: absolute; top: var(--s5); left: var(--s5); width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--teal); color: var(--on-teal); font-weight: 700; font-size: var(--t-sm); }
.step h3 { font-size: var(--t-lg); margin: 0 0 var(--s2); }
.step p { margin: 0; color: var(--muted); }

.stage-rail { counter-reset: sg; list-style: none; padding: 0; margin: var(--s5) 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: var(--s3); }
.stage { counter-increment: sg; display: flex; flex-direction: column; gap: var(--s3); padding: var(--s5); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.stage h3 { font-size: var(--t-md); margin: 0; }
.stage p { margin: 0; color: var(--muted); font-size: var(--t-sm); flex: 1; }
.tag { display: inline-flex; align-items: center; width: fit-content; padding: 3px 10px; border-radius: 999px; background: var(--teal-tint); color: var(--teal-text); font-size: var(--t-xs); font-weight: 700; }

.kv-list { margin: var(--s4) 0 0; display: grid; border-top: 1px solid var(--line); max-width: 920px; }
.kv-list > div { display: grid; grid-template-columns: minmax(0, 15rem) minmax(0, 1fr); gap: var(--s4); padding: var(--s4) 0; border-bottom: 1px solid var(--line); }
.kv-list dt { font-weight: 700; }
.kv-list dd { margin: 0; color: var(--muted); }
.check-list { list-style: none; padding: 0; margin: var(--s3) 0 0; display: grid; gap: var(--s2); max-width: 68ch; }
.check-list li { position: relative; padding-left: 1.9rem; }
.check-list li::before { content: ""; position: absolute; left: 2px; top: .3em; width: 16px; height: 9px; border-left: 2.5px solid var(--paid); border-bottom: 2.5px solid var(--paid); transform: rotate(-45deg); }
.check-list small, .total-fee small { display: block; color: var(--muted); font-size: var(--t-sm); font-weight: 400; }
.split-label { font-size: var(--t-xs); font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--teal-text); margin: 0 0 var(--s2); }
main > .section .split { align-items: start; margin-top: var(--s4); }
.area-pills { list-style: none; padding: 0; margin: var(--s4) 0 0; display: flex; flex-wrap: wrap; gap: var(--s2); }
.area-pills li { padding: 6px 14px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--surface); font-weight: 600; font-size: var(--t-sm); }
.chip-row { display: flex; flex-wrap: wrap; gap: var(--s2); margin: var(--s4) 0; }
.chip-row a { display: inline-flex; align-items: center; min-height: var(--tap); padding: 0 var(--s4); border: 1.5px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink); font-weight: 700; font-size: var(--t-sm); text-decoration: none; }
@media (hover: hover) and (pointer: fine) { .chip-row a:hover { border-color: var(--teal); color: var(--teal); } }

.faq-list { margin-top: var(--s4); max-width: 820px; border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; justify-content: space-between; align-items: center; gap: var(--s4); min-height: var(--tap); padding: var(--s4) 0; font-weight: 700; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; flex: none; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--teal-tint); color: var(--teal-text); font-size: 1.2rem; line-height: 1; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { margin: 0 0 var(--s4); color: var(--muted); max-width: 68ch; }

.fee-table-wrap { margin-top: var(--s4); overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); }
.fee-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.fee-table th, .fee-table td { padding: var(--s3) var(--s4); text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.fee-table thead th { background: var(--teal-deep); color: #fff; font-size: var(--t-sm); }
.fee-table tbody tr:nth-child(even) { background: var(--surface-2); }
.fee-table tbody tr:target { outline: 3px solid var(--gold); outline-offset: -3px; }
.total-fee { font-weight: 700; color: var(--teal-text); }
@media (max-width: 720px) {
  .fee-table-wrap { border: 0; background: none; overflow: visible; }
  .fee-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .fee-table, .fee-table tbody, .fee-table tr, .fee-table th, .fee-table td { display: block; }
  .fee-table tbody { display: grid; gap: var(--s3); }
  .fee-table tr { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface) !important; overflow: hidden; }
  .fee-table tbody th { background: var(--teal-tint); color: var(--teal-text); }
  .fee-table tr { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .fee-table tbody th { grid-column: 1 / -1; padding: var(--s2) var(--s4); }
  .fee-table td { padding: var(--s2) var(--s3); font-size: var(--t-sm); border-bottom: 0; overflow-wrap: anywhere; }
  .fee-table td::before { content: attr(data-label); display: block; color: var(--muted); font-size: var(--t-xs); font-weight: 400; }
  .fee-table td.total-fee { grid-column: 1 / -1; border-top: 1px solid var(--line); padding: var(--s2) var(--s4); font-size: var(--t-md); }
}

.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: var(--s4); margin-top: var(--s4); }
.img-box { margin: 0; border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); border: 1px solid var(--line); }
.img-box img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 400ms var(--ease); }
.img-caption { display: block; padding: var(--s3) var(--s4); font-size: var(--t-sm); color: var(--muted); }
@media (hover: hover) and (pointer: fine) { .img-box:hover img { transform: scale(1.025); } }
main > .section > .img-box, main > .section > p > img { max-width: 920px; }

.quote-card { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: var(--s6); align-items: center; margin: var(--s4) 0 0; padding: var(--s6); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); max-width: 980px; }
.quote-card img { width: 180px; height: 180px; border-radius: 50%; object-fit: cover; }
.quote-card blockquote { margin: 0; }
.quote-card blockquote p { font-family: var(--font-display); font-size: var(--t-xl); line-height: 1.4; margin: 0; }
.quote-card figcaption { margin-top: var(--s4); font-weight: 700; }
.quote-card figcaption small { display: block; font-weight: 400; color: var(--muted); }

.map { display: block; width: 100%; height: 420px; margin-top: var(--s4); border: 0; border-radius: var(--radius-lg); background: var(--surface-2); }

.portal-access-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: var(--s4); margin-top: var(--s4); }
.portal-access-card { display: flex; flex-direction: column; gap: var(--s2); padding: var(--s5); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); color: var(--ink); text-decoration: none; transition: transform 220ms var(--ease), border-color 220ms var(--ease); }
.portal-access-card h3 { font-size: var(--t-lg); margin: 0; }
.portal-access-card p { margin: 0; color: var(--muted); }
.portal-access-card p strong { color: var(--teal); }
.portal-access-tag { width: fit-content; padding: 3px 10px; border-radius: 999px; background: var(--gold-tint); color: var(--ink); font-size: var(--t-xs); font-weight: 700; }
@media (hover: hover) and (pointer: fine) { .portal-access-card:hover { border-color: var(--teal); } }

/* Official Horizon AI wordmark: its green lettering needs a light plate in
   both themes. The supplied PNG is displayed intact and never recolored. */
.ai-band { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: var(--s6); align-items: center; padding: var(--s7); background: var(--teal-deep); color: #d9ebe8; border-radius: var(--radius-lg); }
.ai-band h2 { color: #fff; font-size: var(--t-2xl); margin: 0 0 var(--s3); }
.ai-band p { color: #cfe3e0; }
.ai-band .cta { background: var(--gold); border-color: var(--gold); color: #0f2a2b; margin-top: var(--s3); }
.ai-band-side { display: grid; place-items: center; }
.ai-points { list-style: none; padding: 0; margin: var(--s4) 0 0; display: grid; gap: var(--s3); width: 100%; }
.ai-points li { display: grid; gap: 2px; padding-top: var(--s3); border-top: 1px solid rgba(255, 255, 255, .25); }
.ai-points strong { color: #fff; }
.ai-points span { color: #cfe3e0; font-size: var(--t-sm); }
.horizon-logo { position: relative; width: 100%; max-width: 460px; padding: clamp(12px, 2vw, 24px); background: #fffdf5; border-radius: 12px; overflow: hidden; }
.horizon-logo img { display: block; width: 100%; height: auto; }
main > .page-header > .horizon-logo { max-width: 380px; margin: 0 0 var(--s5); }

@media (max-width: 960px) {
  .card-grid.quad, .card-grid.g3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ai-band { grid-template-columns: minmax(0, 1fr); padding: var(--s6); }
  .ai-band-side { justify-items: start; }
}
@media (max-width: 600px) {
  main > .section { padding-block: var(--s7); }
  .card-grid.quad, .card-grid.g3 { grid-template-columns: minmax(0, 1fr); }
  .kv-list > div { grid-template-columns: minmax(0, 1fr); gap: var(--s1); }
  .quote-card { grid-template-columns: minmax(0, 1fr); padding: var(--s5); }
  .quote-card img { width: 112px; height: 112px; }
  .map { height: 320px; }
  .ai-band { padding: var(--s5); }
}

/* footer */
.site-foot { background: var(--teal-deep); color: #d9ebe8; padding: var(--s7) 0 var(--s4); }
.site-foot a { color: #fff; }
.foot-grid { display: grid; grid-template-columns: 1.5fr repeat(3, minmax(0, 1fr)); gap: var(--s6); }
.foot-links { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s1); }
.foot-links a { display: inline-flex; align-items: center; min-height: var(--tap); color: #e8f3f1; text-decoration: none; font-size: var(--t-sm); }
@media (hover: hover) and (pointer: fine) { .foot-links a:hover { color: #fff; text-decoration: underline; text-underline-offset: .3em; } }
.foot-name { font-family: var(--font-display); font-size: var(--t-lg); color: #fff; }
.foot-h { font-weight: 700; color: var(--gold); text-transform: uppercase; font-size: var(--t-xs); letter-spacing: .06em; }
.foot-base { margin-top: var(--s5); padding-top: var(--s4); border-top: 1px solid rgba(255, 255, 255, .15); font-size: var(--t-xs); }

@media (max-width: 960px) {
  .hero-grid, .split, .split-form, .explorer, .campus { grid-template-columns: minmax(0, 1fr); }
  .hero-photo { max-width: 720px; width: 100%; border-top-left-radius: 100px; }
  .hero-photo img { aspect-ratio: 3 / 2; }
  .bento, .bento-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-grid > div:first-child { grid-column: 1 / -1; }
  .tablist { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
}

/* A quieter editorial rhythm for supporting information. */
.local-seo-links { gap: 0 var(--s6); }
.local-seo-links .link-card { background: transparent; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding: var(--s4) 0 !important; }
.tile-wide { grid-row: auto; min-height: 140px; }
.quote-card { border: 0; box-shadow: none; background: transparent; padding-inline: 0; }
.form-status { margin-bottom: var(--s5); }
.form-status:focus { outline: 3px solid var(--focus); outline-offset: 4px; }
.form-status ul { margin: var(--s2) 0 0; padding-left: var(--s5); }
.form [aria-busy="true"], .form .btn:disabled { cursor: wait; opacity: .7; }
.fac-empty { padding: var(--s5); background: var(--teal-tint); border-radius: var(--radius); margin-top: var(--s4); }
.fac-clear { margin-top: var(--s3); }
.notice-list > .muted { grid-column: 1 / -1; max-width: 68ch; }
.form .btn { min-height: 48px; }
.btn, .cta { min-width: 0; padding-block: 8px; line-height: 1.25; text-align: center; overflow-wrap: anywhere; }
.form select {
  -webkit-appearance: none; appearance: none;
  padding-right: 2.75rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%236e8584' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .8rem center;
  background-size: 20px;
}

/* One finite framing reveal; the official artwork itself stays unchanged.
   Content is visible by default, and reduced motion renders the final state. */
.horizon-logo.is-presenting { animation: horizon-present 650ms var(--ease); }
@keyframes horizon-present { from { clip-path: inset(0 100% 0 0 round 12px); } to { clip-path: inset(0 round 12px); } }
@keyframes menu-open { from { clip-path: inset(0 0 100%); } to { clip-path: inset(0); } }

@media (max-width: 960px) {
  .hero h1 { max-width: 24ch; }
  .hero-facts { margin-top: var(--s6); }
  .hero-grid { gap: var(--s6); }
}
@media (max-width: 600px) {
  .head-row { min-height: 72px; gap: var(--s2); }
  .site-nav { top: 100%; max-height: calc(100dvh - 72px); }
  .brand { min-width: 0; gap: var(--s2); }
  .brand small { font-size: .6875rem; line-height: 1.35; max-width: 24ch; }
  .brand strong { font-size: 1.25rem; }
  .brand img { width: 40px; height: 40px; }
  .menu-btn { padding-inline: 10px; font-size: .8125rem; }
  .hero h1 { font-size: clamp(2.15rem, 8.7vw, 3rem); max-width: 20ch; }
  .hero-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s2); }
  .hero-actions .btn:first-child { grid-column: 1 / -1; }
  .hero-actions .btn { padding-inline: var(--s3); }
  .hero-facts { grid-template-columns: 1fr; gap: var(--s4); }
  .hero-facts li { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: var(--s2) var(--s4); }
  .hero-facts strong { font-size: var(--t-lg); flex: none; max-width: 100%; }
  .hero-facts span { text-align: right; max-width: 20ch; font-size: var(--t-xs); margin-left: auto; }
  .hero-photo { border-top-left-radius: 72px; }
  .hero-photo figcaption { padding: var(--s3) var(--s4); }
  .tile-lg { min-height: 235px; }
  .bento { grid-auto-rows: auto; }
  .tile-wide { min-height: auto; }
  .fact-strip { gap: var(--s2) var(--s4); grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fact-value { font-size: var(--t-lg); }
  .fac-photo { width: 72px; height: 72px; }
  .foot-grid { gap: var(--s5); }
  .foot-grid > div:last-child { grid-column: 1 / -1; }
  .site-foot a { overflow-wrap: anywhere; }
  .enquiry-actions .cta { min-height: 48px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .site-nav.open, .space-view, .horizon-logo.is-presenting { animation: none !important; }
  .cta, .tile-photo img, .img-box img, a.card, .portal-access-card, .link-card::after, .tile-more .ico { transition: color 120ms linear, background-color 120ms linear, border-color 120ms linear; }
  .cta:active, .tile-photo:hover img, .img-box:hover img, a.card:hover,
  .portal-access-card:hover, .link-card:hover::after, .tile:hover .tile-more .ico { transform: none; }
}
@media (max-width: 600px) {
  .bento, .bento-3 { grid-template-columns: minmax(0, 1fr); }
  .tile-lg, .tile-photo, .tile-wide { grid-column: auto; grid-row: auto; }
  .tile-photo { min-height: 220px; }
  .band { padding: var(--s7) 0; }
  .card { padding: var(--s5); }
}
