/* Shared stylesheet for all four sites. Brand colours come from --primary / --accent / --tint
   set per site in <head>. */
:root {
  --ink: #16202e;
  --body: #4a5566;
  --muted: #6b7686;
  --line: #e3e8ef;
  --bg: #ffffff;
  --soft: #f7f9fc;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 6px 20px rgba(16, 24, 40, .06);
  --shadow-lg: 0 10px 40px rgba(16, 24, 40, .12);
  --font: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --serif: 'Lora', Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 16.5px; line-height: 1.7; color: var(--body); background: var(--bg); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { color: var(--ink); line-height: 1.22; margin: 0 0 .6em; font-weight: 700; }
h1 { font-family: var(--serif); font-size: clamp(2rem, 4.2vw, 3.1rem); letter-spacing: -.01em; }
h2 { font-family: var(--serif); font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3, .h3 { font-family: var(--font); font-size: 1.12rem; }
.h3 { display: flex; align-items: center; gap: .5rem; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.i { width: 1.15em; height: 1.15em; flex: none; }
.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 820px; }
.center { text-align: center; }
.mt { margin-top: 2.25rem; }
.muted { color: var(--muted); }
.pt-0 { padding-top: 0 !important; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--primary); color: #fff; padding: .6rem 1rem; z-index: 100; }
.skip-link:focus { left: 1rem; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 70%, transparent); outline-offset: 2px; }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: .5rem; padding: .85rem 1.4rem; border-radius: 999px; font-weight: 700; font-size: .97rem; border: 2px solid transparent; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s; font-family: inherit; line-height: 1.2; }
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-sm { padding: .55rem 1.1rem; font-size: .9rem; }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 6px 18px color-mix(in srgb, var(--primary) 30%, transparent); }
.btn-primary:hover { background: var(--primary-dark); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { filter: brightness(.95); box-shadow: 0 6px 18px color-mix(in srgb, var(--accent) 35%, transparent); }
.btn-outline { border-color: var(--primary); color: var(--primary); background: #fff; }
.btn-outline:hover { background: var(--tint); }
.btn-ghost-light { border-color: rgba(255,255,255,.6); color: #fff; }
.btn-ghost-light:hover { background: rgba(255,255,255,.1); }
.link-arrow { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; }
.link-arrow .i { transition: transform .15s; }
.link-arrow:hover .i { transform: translateX(3px); }

/* top bar */
.topbar { background: var(--primary-dark); color: rgba(255,255,255,.85); font-size: .84rem; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 40px; }
.topbar-links { display: flex; align-items: center; gap: 1.25rem; }
.topbar a { color: #fff; display: inline-flex; align-items: center; gap: .4rem; }
.topbar-pill { background: var(--accent); padding: .2rem .8rem; border-radius: 999px; font-weight: 700; }
.topbar-pill:hover { text-decoration: none; filter: brightness(1.05); }

/* header + nav */
.site-header { background: #fff; position: sticky; top: 0; z-index: 50; box-shadow: 0 1px 0 var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding-top: .7rem; padding-bottom: .7rem; }
.logo { position: relative; display: inline-block; }
.logo img { height: 72px; width: auto; }
.logo-mask { position: absolute; background: #fff; }
.brand:hover { text-decoration: none; }
.site-nav { border-top: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.site-nav ul { display: flex; flex-wrap: wrap; }
.site-nav li a { display: block; padding: .85rem .8rem; color: var(--ink); font-weight: 600; font-size: .94rem; position: relative; }
.site-nav li a::after { content: ''; position: absolute; left: .8rem; right: .8rem; bottom: 0; height: 3px; border-radius: 3px 3px 0 0; background: var(--primary); transform: scaleX(0); transition: transform .2s; }
.site-nav li a:hover { text-decoration: none; color: var(--primary); }
.site-nav li a:hover::after, .site-nav li a[aria-current="page"]::after { transform: scaleX(1); }
.site-nav li a[aria-current="page"] { color: var(--primary); }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 10px; padding: .5rem; color: var(--ink); cursor: pointer; }
.nav-toggle .i { width: 24px; height: 24px; }
.nav-toggle .i-x { display: none; }

/* hero */
.hero { background: radial-gradient(1200px 500px at 85% -10%, var(--tint), transparent 60%), linear-gradient(180deg, #fff, var(--soft)); padding: 4.5rem 0 3rem; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(color-mix(in srgb, var(--primary) 12%, transparent) 1px, transparent 1px); background-size: 22px 22px; mask-image: linear-gradient(90deg, transparent 40%, #000 100%); pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem; align-items: center; position: relative; }
.hero h1 span { color: var(--primary); }
.lead { font-size: 1.12rem; color: var(--body); max-width: 60ch; }
.eyebrow { display: inline-block; font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: .9rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }
.hero-visual { display: flex; justify-content: center; }
.hero-emblem { position: relative; width: min(340px, 80vw); aspect-ratio: 1; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: var(--shadow-lg); }
.hero-emblem img { width: 78%; height: auto; object-fit: contain; }
.hero-emblem-ring { position: absolute; inset: -18px; border-radius: 50%; border: 2px dashed color-mix(in srgb, var(--accent) 55%, transparent); animation: spin 60s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.hero-card { width: 100%; max-width: 440px; text-align: center; padding: 2.5rem 2rem; border-top: 4px solid var(--accent); box-shadow: var(--shadow-lg); }
.hero-card .logo img { height: auto; width: 100%; }
.hero-card p { margin: 1.25rem 0 1rem; font-weight: 600; color: var(--muted); }
.tags { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; }
.tags li { background: var(--tint); color: var(--primary); font-weight: 700; font-size: .85rem; padding: .35rem .85rem; border-radius: 999px; }
/* hero photo slider */
.has-slider .hero-grid { grid-template-columns: 1fr 1.05fr; }
.hero-slider-wrap { width: 100%; }
.hero-slider { position: relative; width: 100%; aspect-ratio: 3 / 2; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-lg); background: var(--tint); }
.hero-slider::after { content: ''; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255,255,255,.25); pointer-events: none; }
.hero-slider .slides, .hero-slider .slide { position: absolute; inset: 0; margin: 0; }
.hero-slider .slide { opacity: 0; transition: opacity .9s ease; }
.hero-slider .slide.is-active { opacity: 1; }
.hero-slider .slide img { width: 100%; height: 100%; object-fit: cover; }
.hero-slider figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 2.5rem 1.25rem 1.1rem; background: linear-gradient(transparent, rgba(10, 14, 30, .72)); color: #fff; font-weight: 600; font-size: .95rem; }
/* dotted navigation below the photo */
.slider-dots { display: flex; justify-content: center; align-items: center; gap: .55rem; margin-top: 1.1rem; }
.slider-dots button { width: 10px; height: 10px; padding: 0; border-radius: 999px; border: 0; background: color-mix(in srgb, var(--primary) 25%, #fff); cursor: pointer; transition: width .25s, background .25s; }
.slider-dots button:hover { background: color-mix(in srgb, var(--primary) 50%, #fff); }
.slider-dots button[aria-current="true"] { width: 28px; background: var(--primary); }
.slider-dots button:focus-visible { outline-offset: 3px; }
@media (max-width: 960px) { .has-slider .hero-grid { grid-template-columns: 1fr; } }
.hero-photo { border-radius: 24px; box-shadow: var(--shadow-lg); object-fit: cover; aspect-ratio: 4 / 3; }
.highlights { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 3.5rem; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.25rem; }
.highlight { display: flex; align-items: center; gap: .85rem; padding: .25rem .5rem; }
.highlight + .highlight { border-left: 1px solid var(--line); }
.highlight strong { display: block; color: var(--ink); font-size: .98rem; }
.highlight span { font-size: .87rem; color: var(--muted); }

/* sections */
.section { padding: 5rem 0; }
.section.tinted { background: var(--soft); }
.section-head { margin-bottom: 2.5rem; max-width: 720px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { color: var(--muted); }
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3.5rem; align-items: center; }
.split.align-start { align-items: start; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.stack { display: grid; gap: 1.25rem; }

/* cards */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.75rem; box-shadow: var(--shadow); }
.cards { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.cards.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cards.cols-4 { grid-template-columns: repeat(4, 1fr); }
.cards.streams.cols-1 { max-width: 560px; margin: 0 auto; }
.cards.streams.cols-2 { grid-template-columns: repeat(2, 1fr); max-width: 900px; margin: 0 auto; }
.cards.streams.cols-3 { grid-template-columns: repeat(3, 1fr); }
.feature { transition: transform .2s, box-shadow .2s; }
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.feature p, .stream p { color: var(--muted); font-size: .96rem; margin-bottom: 0; }
.stream p { margin-bottom: 1rem; }
.icon-badge { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--tint); color: var(--primary); margin-bottom: 1.1rem; }
.icon-badge .i { width: 26px; height: 26px; }
.icon-badge.sm { width: 44px; height: 44px; margin: 0; border-radius: 12px; }
.icon-badge.sm .i { width: 22px; height: 22px; }
.checklist li { display: flex; gap: .6rem; align-items: flex-start; padding: .3rem 0; }
.checklist .i { color: var(--accent); margin-top: .3em; width: 1.05em; height: 1.05em; stroke-width: 2.6; }
.h3 .i { color: var(--primary); }

/* quote / letter */
.quote-card { background: linear-gradient(160deg, var(--tint), #fff 70%); border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: var(--radius); padding: 2rem; }
.quote-card blockquote { font-family: var(--serif); font-size: 1.25rem; line-height: 1.55; color: var(--ink); margin: 0 0 1rem; }
.quote-by { font-weight: 700; color: var(--ink); }
.quote-by small { font-weight: 500; color: var(--muted); }
.letter { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.5rem, 4vw, 3rem); box-shadow: var(--shadow); font-size: 1.05rem; }
.letter > p:first-child:not(.greeting)::first-letter { font-family: var(--serif); float: left; font-size: 3.4rem; line-height: .9; padding: .3rem .5rem 0 0; color: var(--primary); }
.letter .greeting { font-weight: 700; color: var(--ink); }
.letter .dropcap::first-letter { font-family: var(--serif); float: left; font-size: 3.4rem; line-height: .9; padding: .3rem .5rem 0 0; color: var(--primary); }
.tagline { font-family: var(--serif); font-style: italic; font-weight: 600; font-size: clamp(1.15rem, 2.2vw, 1.4rem); color: var(--primary); margin-top: 1.5rem; }
.tagline::before { content: ''; display: block; width: 48px; height: 3px; border-radius: 3px; background: var(--accent); margin: 0 auto 1rem; }
.center-block { margin-left: auto; margin-right: auto; }
.quote-card .h3 { margin-top: .25rem; }
.vm p:last-child { margin-bottom: 0; }
.two-col.align-start { align-items: start; }
.stream-detail h2 { font-size: 1.6rem; }
.stream-detail h3 { margin: 1.5rem 0 .5rem; font-size: 1rem; text-transform: uppercase; letter-spacing: .06em; color: var(--primary); }
.note { font-size: .88rem; color: var(--muted); font-style: italic; text-align: center; margin: 0 auto 3rem; }
.msg-jump { display: flex; justify-content: center; gap: .5rem; flex-wrap: wrap; margin-bottom: 3rem; }
.msg-jump a { padding: .5rem 1.1rem; border-radius: 999px; border: 1px solid var(--line); font-weight: 700; font-size: .92rem; color: var(--ink); background: #fff; }
.msg-jump a:hover { border-color: var(--primary); color: var(--primary); text-decoration: none; }
.message { scroll-margin-top: 150px; }
.mt-lg { margin-top: 5rem; }
.sig { display: flex; align-items: center; gap: .85rem; }
.avatar { width: 52px; height: 52px; border-radius: 50%; background: var(--tint); color: var(--primary); display: grid; place-items: center; font-family: var(--serif); font-weight: 700; font-size: 1.15rem; flex: none; border: 2px solid color-mix(in srgb, var(--accent) 45%, #fff); }
img.avatar { object-fit: cover; object-position: center 15%; }
.msg-photo { float: right; width: 220px; margin: .25rem 0 1.25rem 2rem; }
.msg-photo img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 12px; box-shadow: var(--shadow-lg); border: 4px solid #fff; outline: 1px solid var(--line); }
.msg-photo figcaption { text-align: center; font-size: .86rem; color: var(--muted); margin-top: .75rem; line-height: 1.4; }
.msg-photo figcaption strong { display: block; color: var(--ink); font-size: .98rem; }
.letter::after { content: ''; display: block; clear: both; }
@media (max-width: 640px) { .msg-photo { float: none; width: 200px; margin: 0 auto 1.5rem; } }
.sign-off { font-weight: 700; color: var(--ink); margin-top: 1.5rem; }
.signatures { display: flex; flex-wrap: wrap; gap: 1.5rem 3rem; }
.signatures strong { display: block; color: var(--ink); font-size: 1.05rem; }
.signatures span { font-size: .9rem; color: var(--muted); }

/* about */
.info-card { text-align: center; }
.info-card img { margin: 0 auto 1rem; }
.info-card dl { margin: 0; text-align: left; }
.info-card dl div { display: grid; grid-template-columns: 120px 1fr; gap: 1rem; padding: .7rem 0; border-top: 1px solid var(--line); }
.info-card dt { font-weight: 700; color: var(--ink); font-size: .92rem; }
.info-card dd { margin: 0; font-size: .95rem; }
.vm h2 { font-size: 1.5rem; }

/* academics */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.steps-grid p { color: var(--muted); margin: 0; font-size: .96rem; }
.step-no { display: block; font-family: var(--serif); font-size: 2rem; font-weight: 700; color: color-mix(in srgb, var(--primary) 30%, #fff); line-height: 1; margin-bottom: .75rem; }

/* admissions process */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; counter-reset: s; position: relative; }
.process::before { content: ''; position: absolute; top: 26px; left: 12%; right: 12%; height: 2px; background: repeating-linear-gradient(90deg, var(--line) 0 8px, transparent 8px 14px); }
.process li { text-align: center; position: relative; }
.process-no { display: inline-grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: var(--primary); color: #fff; font-weight: 800; font-size: 1.2rem; margin-bottom: 1rem; box-shadow: 0 0 0 6px #fff, 0 0 0 7px var(--line); }
.process p { color: var(--muted); font-size: .95rem; }

/* forms */
.enquiry-form { position: sticky; top: 140px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1.25rem; }
.form-grid .full { grid-column: 1 / -1; }
.enquiry-form label { display: grid; gap: .35rem; font-size: .88rem; font-weight: 600; color: var(--ink); }
.enquiry-form input, .enquiry-form select, .enquiry-form textarea { font: inherit; font-size: 1rem; padding: .75rem .9rem; border: 1px solid var(--line); border-radius: 10px; background: var(--soft); color: var(--ink); width: 100%; }
.enquiry-form input:focus, .enquiry-form select:focus, .enquiry-form textarea:focus { outline: none; border-color: var(--primary); background: #fff; box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 15%, transparent); }
.enquiry-form .invalid { border-color: #d92d20; }
.enquiry-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status {margin: .9rem 0 0; font-size: .92rem; font-weight: 600; }
.form-status.ok { color: #067647; }
.form-status.err { color: #b42318; }

/* contact */
.contact-row { display: flex; gap: 1.1rem; align-items: flex-start; padding: 1.4rem; }
.contact-row .icon-badge { margin: 0; }
.contact-row h3 { margin-bottom: .2rem; }
.contact-row p { margin: 0; }
.map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); }
.map iframe { display: block; width: 100%; height: 420px; border: 0; }

/* gallery */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; margin-bottom: 2rem; }
.chip { font: inherit; font-weight: 600; font-size: .9rem; padding: .45rem 1rem; border-radius: 999px; border: 1px solid var(--line); background: #fff; cursor: pointer; color: var(--ink); }
.chip.active { background: var(--primary); border-color: var(--primary); color: #fff; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.gallery-item { margin: 0; border-radius: 12px; overflow: hidden; position: relative; background: var(--soft); }
.gallery-item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .4s; }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.5rem .9rem .7rem; background: linear-gradient(transparent, rgba(0,0,0,.6)); color: #fff; font-size: .9rem; font-weight: 600; }
.gallery-item[hidden] { display: none; }
.photo-placeholder { aspect-ratio: 4 / 3; border-radius: 12px; border: 2px dashed var(--line); background: var(--soft); display: grid; place-content: center; justify-items: center; gap: .5rem; color: var(--muted); font-weight: 600; font-size: .92rem; }
.photo-placeholder .i { width: 34px; height: 34px; color: color-mix(in srgb, var(--primary) 40%, #fff); }
.photo-slot img { border-radius: var(--radius); box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3; object-fit: cover; }
.lightbox { position: fixed; inset: 0; background: rgba(10, 14, 22, .92); z-index: 200; display: grid; place-items: center; padding: 2rem; }
.lightbox[hidden] { display: none; }
.lightbox img { max-height: 82vh; width: auto; border-radius: 8px; }
.lightbox p { color: #fff; text-align: center; margin-top: 1rem; }
.lightbox-close { position: absolute; top: 1rem; right: 1rem; background: rgba(255,255,255,.12); border: 0; color: #fff; border-radius: 50%; width: 44px; height: 44px; display: grid; place-items: center; cursor: pointer; }

/* page hero */
.page-hero { background: linear-gradient(120deg, var(--primary-dark), var(--primary)); color: rgba(255,255,255,.9); padding: 3.5rem 0 3.25rem; position: relative; overflow: hidden; }
.page-hero::after { content: ''; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%; border: 50px solid rgba(255,255,255,.06); }
.page-hero h1 { color: #fff; margin-bottom: .4rem; }
.page-hero .lead { color: rgba(255,255,255,.85); margin: 0; }
.crumbs { display: flex; gap: .5rem; font-size: .86rem; margin-bottom: .8rem; color: rgba(255,255,255,.7); }
.crumbs a { color: #fff; }

/* CTA band */
.cta-band { background: linear-gradient(120deg, var(--primary-dark), var(--primary)); color: rgba(255,255,255,.88); padding: 3.5rem 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.cta-band h2 { color: #fff; margin-bottom: .3rem; }
.cta-band p { margin: 0; }
.cta-actions { display: flex; flex-wrap: wrap; gap: .8rem; flex: none; }

/* footer */
.site-footer { background: #0f1724; color: rgba(255,255,255,.72); font-size: .94rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 3rem; padding-top: 4rem; padding-bottom: 3rem; }
.footer-emblem { width: 72px; height: 72px; object-fit: contain; background: #fff; border-radius: 50%; padding: 4px; margin-bottom: 1rem; }
.footer-name { color: #fff; font-weight: 800; font-size: 1.1rem; margin-bottom: .2rem; }
.muted-light { color: rgba(255,255,255,.5); font-size: .86rem; }
.site-footer h3 { color: #fff; font-size: 1rem; margin-bottom: 1rem; }
.site-footer a { color: rgba(255,255,255,.8); }
.site-footer a:hover { color: #fff; }
.footer-links li { padding: .25rem 0; }
.footer-contact li { display: flex; gap: .6rem; padding: .35rem 0; }
.footer-contact .i { margin-top: .3em; color: var(--accent); }
.social { display: flex; gap: .6rem; margin-top: 1rem; }
.social a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.08); display: grid; place-items: center; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 1.2rem 0; font-size: .85rem; color: rgba(255,255,255,.5); }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } .hero-emblem-ring { animation: none; } html { scroll-behavior: auto; } }

/* responsive */
@media (max-width: 1080px) {
  .site-nav li a { padding: .85rem .55rem; font-size: .9rem; }
  .cards.cols-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .site-nav { display: none; border-top: 1px solid var(--line); }
  .site-nav.open { display: block; }
  .nav-inner { flex-direction: column; align-items: stretch; padding-bottom: 1rem; }
  .site-nav ul { flex-direction: column; }
  .site-nav li a { padding: .8rem .25rem; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .site-nav li a::after { display: none; }
  .nav-cta { justify-content: center; margin-top: .5rem; }
  .site-header.menu-open .i-menu { display: none; }
  .site-header.menu-open .i-x { display: block; }
  .hero-grid, .split { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-visual { order: -1; }
  .hero-emblem { width: min(240px, 60vw); }
  .highlights { grid-template-columns: repeat(2, 1fr); }
  .highlight + .highlight { border-left: 0; }
  .cards.cols-3, .cards.streams.cols-3, .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(2, 1fr); row-gap: 2.5rem; }
  .process::before { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-about { grid-column: 1 / -1; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .enquiry-form { position: static; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .topbar-society { display: none; }
  .topbar-inner { justify-content: center; }
  .logo img { height: 46px; }
  .section { padding: 3.5rem 0; }
  .hero { padding: 2.5rem 0 2rem; }
  .hero-emblem { width: min(180px, 50vw); }
  .hero-emblem-ring { inset: -10px; }
  .hero-card { padding: 1.75rem 1.25rem; }
  .highlights { grid-template-columns: 1fr; margin-top: 2rem; }
  .cards.cols-3, .cards.cols-4, .cards.streams.cols-2, .cards.streams.cols-3, .steps-grid, .two-col, .form-grid { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .gallery-grid { grid-template-columns: 1fr 1fr; gap: .6rem; }
  .info-card dl div { grid-template-columns: 1fr; gap: .1rem; }
  .map iframe { height: 320px; }
}
