/* ============================================================================
   HOME PAGE — layouts/layout_3/home.php
   ---------------------------------------------------------------------------
   A calm, professional institute website built on the logo:
     navy  #2e3192 (the lettering)  ·  deep navy #15175a / #0d0e33
     gold  #22b8d6 (the swoosh and star) with #0891b2 for text on white
   Headings: Poppins — the same geometric family as the logo's wordmark.
   Body: Inter. Sinhala: Noto Sans Sinhala.
   White and light-grey bands alternate; one navy band; 8px corners;
   restrained shadows; no decorative effects.
   ========================================================================== */

html[data-bm="home"] { --ca-font: 'Inter', 'Noto Sans Sinhala', system-ui, -apple-system, 'Segoe UI', sans-serif; }

:root {
    --navy: #2e3192;
    --navy-2: #3f43b0;
    --navy-dk: #15175a;
    --navy-xd: #0d0e33;
    --gold: #22b8d6;
    --gold-dk: #0891b2;
    --gold-lt: #d6f3fa;
    --ink: #121a2c;
    --text: #455067;
    --muted: #6b7489;
    --line: #e2e7ef;
    --alt: #f5f7fb;
    --white: #fff;
    --head: 'Montserrat', 'Noto Sans Sinhala', system-ui, sans-serif;
    --body: 'Inter', 'Noto Sans Sinhala', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --r: 8px;
    --r-lg: 12px;
    --sh: 0 1px 2px rgba(46,49,146,.06), 0 6px 20px rgba(46,49,146,.06);
    --sh-hover: 0 2px 4px rgba(46,49,146,.06), 0 16px 36px rgba(46,49,146,.12);
    --ease: cubic-bezier(.2,.7,.2,1);
}

/* ── base ────────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body { font-family: var(--body); font-size: 16px; line-height: 1.7; color: var(--text); background: #fff; overflow-x: clip;
    -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; -webkit-tap-highlight-color: transparent; }
img, video, iframe { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { list-style: none; }
h1, h2, h3, h4 { font-family: var(--head); color: var(--ink); line-height: 1.25; font-weight: 600; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
::selection { background: var(--gold-lt); color: var(--ink); }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.empty { color: var(--muted); text-align: center; padding: 20px 0; }

/* ── motion ──────────────────────────────────────────────────────────────────
   Calm and quick: things rise 28px and fade in once, then stay put. Grids
   arrive card by card (--d is set per card by the page script). Nothing
   loops except the slow zoom on the banner photo. */
:root { --ease-out: cubic-bezier(.16,1,.3,1); }
.js .rv { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease-out), transform .9s var(--ease-out); transition-delay: var(--d, 0ms); }
.js .rv.in { opacity: 1; transform: none; }
/* while the logo intro is up, the page waits underneath it */
.pl-on:not(.pl-done) .rv { opacity: 0 !important; transform: translateY(28px) !important; }

/* photos settle from a slight zoom as their card arrives */
.js .rv :is(.sj-img img, .vd-thumb img, .lc-img img, .gl-item img) { transform: scale(1.08); transition: transform 1.4s var(--ease-out); }
.js .rv.in :is(.sj-img img, .vd-thumb img, .lc-img img) { transform: scale(1); }
.js .gl-item.rv.in img { transform: scale(1); }
.js .rv.in.sj-card:hover .sj-img img, .js .gl-item.rv.in:hover img { transform: scale(1.05); }

/* section headings: kicker, title, then the gold rule draws itself */
.js .sx-head .sx-kicker { opacity: 0; transform: translateY(10px); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); }
.js .sx-head.in .sx-kicker { opacity: 1; transform: none; }
.js .sx-head .sx-title::after, .js .faq-side .sx-title::after, .js .tc-copy .sx-title::after { transform: scaleX(0); transform-origin: left; transition: transform .9s var(--ease-out) .35s; }
.js .sx-head.is-center .sx-title::after { transform-origin: center; }
.js .sx-head.in .sx-title::after, .js .faq-side.in .sx-title::after, .js .tc-copy.in .sx-title::after { transform: scaleX(1); }

/* teacher photo: the gold frame slides into place behind it */
.js .tc-photo::before { transform: translate(-18px, -18px); opacity: 0; transition: transform 1.1s var(--ease-out) .25s, opacity .8s .25s; }
.js .tc-photo.in::before { transform: none; opacity: 1; }

/* "at a glance" rows light up one by one */
.js .glance li { opacity: 0; transform: translateY(12px); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); }
.js .glance.in li { opacity: 1; transform: none; }
.js .glance.in li:nth-child(2) { transition-delay: .1s; } .js .glance.in li:nth-child(3) { transition-delay: .2s; } .js .glance.in li:nth-child(4) { transition-delay: .3s; }

/* header and banner ease in on arrival */
.js .hd { animation: hdIn .7s var(--ease-out) both; }
.js .sl { animation: slIn 1s var(--ease-out) both; }
.pl-on:not(.pl-done) .hd, .pl-on:not(.pl-done) .sl { animation-play-state: paused; }
@keyframes hdIn { from { opacity: 0; transform: translateY(-10px); } }
@keyframes slIn { from { opacity: 0; } }

/* ── logo intro ──────────────────────────────────────────────────────────── */
.pl { display: none; }
.pl-on .pl { position: fixed; inset: 0; z-index: 20000; display: flex; align-items: center; justify-content: center; background: #fff;
    transition: opacity .6s ease, visibility .6s; animation: plFailsafe 0s linear 2.6s forwards; }
.pl-done .pl { opacity: 0; visibility: hidden; }
.pl-in { display: flex; flex-direction: column; align-items: center; gap: 26px; }
.pl-in img { width: min(300px, 70vw); height: auto; opacity: 0; transform: translateY(8px); animation: plLogo .8s var(--ease-out) .1s forwards; }
.pl-bar { width: 160px; height: 2px; background: #edf0f6; border-radius: 2px; overflow: hidden; }
.pl-bar i { display: block; height: 100%; width: 40%; background: var(--gold); border-radius: 2px; animation: plBar 1.1s ease-in-out infinite; }
.pl-done .pl-in { transform: scale(.98); transition: transform .6s ease; }
@keyframes plLogo { to { opacity: 1; transform: none; } }
@keyframes plBar { 0% { transform: translateX(-100%); } 100% { transform: translateX(250%); } }
@keyframes plFailsafe { to { opacity: 0; visibility: hidden; } }

/* ── buttons ─────────────────────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; white-space: nowrap;
    padding: 11px 22px; border-radius: 6px; border: 1.5px solid transparent;
    font-family: var(--head); font-size: 14px; font-weight: 500; letter-spacing: .01em; line-height: 1.3;
    transition: background .2s, color .2s, border-color .2s, box-shadow .2s; }
.btn i { font-size: .85em; }
.btn-lg { padding: 14px 28px; font-size: 15px; }
.btn-sm { padding: 8px 16px; font-size: 13px; }
.btn-block { width: 100%; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-dk); }
.btn-gold { background: var(--gold); color: var(--navy-xd); }
.btn-gold:hover { background: #1aa6c4; }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-ghost-light { border-color: rgba(255,255,255,.55); color: #fff; }
.btn-ghost-light:hover { background: #fff; color: var(--navy); border-color: #fff; }

/* ── top bar ─────────────────────────────────────────────────────────────── */
.tb { background: var(--navy-xd); color: rgba(255,255,255,.78); font-size: 13px; }
.tb-in { display: flex; justify-content: space-between; align-items: center; min-height: 40px; gap: 16px; }
.tb-l { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.tb-l a { display: inline-flex; align-items: center; gap: 8px; transition: color .2s; }
.tb-l a:hover { color: #fff; }
.tb-l i { color: var(--gold); font-size: 12px; }
.tb-r { display: flex; gap: 4px; }
.tb-r a { width: 30px; height: 30px; display: inline-flex; align-items: center; justify-content: center; border-radius: 4px; color: rgba(255,255,255,.7); transition: color .2s, background .2s; }
.tb-r a:hover { color: var(--navy-xd); background: var(--gold); }
@media (max-width: 760px) { .tb-mail { display: none !important; } .tb-in { min-height: 36px; } .tb-l { font-size: 12.5px; gap: 2px 16px; } }
@media (max-width: 480px) { .tb-r { display: none; } }

/* ── header ──────────────────────────────────────────────────────────────── */
.hd { position: sticky; top: 0; z-index: 900; background: #fff; border-bottom: 1px solid var(--line); transition: box-shadow .25s; }
.hd.is-stuck { box-shadow: 0 4px 18px rgba(46,49,146,.08); }
.hd-in { display: flex; align-items: center; gap: 28px; height: 84px; }
.hd-logo img { height: 62px; width: auto; }
.hd-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.hd-nav a { position: relative; padding: 10px 12px; font-family: var(--head); font-size: 14.5px; font-weight: 500; color: var(--ink); transition: color .2s; }
.hd-nav a::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.hd-nav a:hover { color: var(--navy); }
.hd-nav a:hover::after, .hd-nav a.on::after { transform: scaleX(1); }
.hd-nav a.on { color: var(--navy); }
.hd-cta { display: flex; align-items: center; gap: 10px; }
.hd-burger { display: none; width: 44px; height: 44px; border-radius: 6px; border: 1px solid var(--line); flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.hd-burger span { display: block; width: 20px; height: 2px; background: var(--navy); border-radius: 2px; }
@media (max-width: 1100px) { .hd-nav { display: none; } .hd-burger { display: inline-flex; } .hd-cta { margin-left: auto; } }
@media (max-width: 600px) { .hd-in { height: 70px; gap: 12px; } .hd-logo img { height: 50px; } .hide-sm { display: none; } .hd-cta .btn { padding: 9px 16px; } }

/* drawer */
.dw-bg { position: fixed; inset: 0; z-index: 990; background: rgba(13,14,51,.5); opacity: 0; transition: opacity .25s; }
.dw-bg.open { opacity: 1; }
.dw { position: fixed; top: 0; right: 0; bottom: 0; z-index: 991; width: min(340px, 88vw); background: #fff; display: flex; flex-direction: column;
    transform: translateX(100%); transition: transform .35s var(--ease); box-shadow: -10px 0 40px rgba(13,14,51,.2); }
.dw.open { transform: none; }
.dw-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.dw-head img { height: 46px; }
.dw-x { width: 40px; height: 40px; border-radius: 6px; border: 1px solid var(--line); color: var(--navy); font-size: 17px; }
.dw nav { flex: 1; overflow-y: auto; padding: 8px 0; }
.dw nav a { display: block; padding: 14px 22px; font-family: var(--head); font-weight: 500; font-size: 16px; color: var(--ink); border-left: 3px solid transparent; }
.dw nav a:hover { background: var(--alt); border-left-color: var(--gold); color: var(--navy); }
.dw-foot { padding: 18px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.dw-tel { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--text); padding-top: 4px; }
.dw-tel i { color: var(--gold-dk); }

/* ── banner slider ───────────────────────────────────────────────────────── */
/* 16:9, the shape of the college banner. On a wide screen the frame stops at
   the viewport height (less the header), so only the banner's decorative top
   and bottom swooshes are trimmed — never the name, the motto or the lion. */
.sl { position: relative; overflow: hidden; background: var(--navy-xd); aspect-ratio: 16 / 9; max-height: min(760px, calc(100vh - 110px)); min-height: 200px; width: 100%; }
.sl-track { display: flex; height: 100%; transition: transform .8s cubic-bezier(.65,0,.35,1); will-change: transform; }
.sl-slide { position: relative; flex: 0 0 100%; height: 100%; overflow: hidden; }
.sl-slide video, .sl-slide .sl-img { width: 100%; height: 100%; object-fit: cover; }
/* slow "Ken Burns" zoom on photo slides while they are on screen */
.sl-slide.is-cover .sl-img { transform: scale(1); transition: transform 7.5s cubic-bezier(.25,.1,.25,1); }
.sl-slide.is-cover.is-active .sl-img { transform: scale(1.07); }
.sl-slide.is-contain .sl-img { position: relative; z-index: 1; object-fit: contain; }
.sl-blur { position: absolute; inset: -40px; width: calc(100% + 80px); height: calc(100% + 80px); object-fit: cover; filter: blur(28px) brightness(.55) saturate(1.2); }
.sl-arrow { position: absolute; top: 50%; z-index: 3; width: 48px; height: 48px; margin-top: -24px; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--navy);
    display: flex; align-items: center; justify-content: center; font-size: 16px; box-shadow: 0 4px 14px rgba(0,0,0,.2); opacity: 0; transition: opacity .25s, background .2s, color .2s; }
.sl:hover .sl-arrow, .sl-arrow:focus-visible { opacity: 1; }
.sl-arrow:hover { background: var(--gold); color: var(--navy-xd); }
.sl-prev { left: 24px; } .sl-next { right: 24px; }
.sl-dots { position: absolute; left: 0; right: 0; bottom: 18px; z-index: 3; display: flex; justify-content: center; gap: 8px; }
.sl-dots button { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.55); border: 1px solid rgba(0,0,0,.08); transition: background .2s, transform .2s; }
.sl-dots button.on { background: var(--gold); transform: scale(1.2); }
.sl-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; z-index: 3; background: rgba(255,255,255,.15); }
.sl-progress span { display: block; height: 100%; width: 0; background: var(--gold); }
@media (hover: none) { .sl-arrow { opacity: 1; width: 40px; height: 40px; margin-top: -20px; } .sl-prev { left: 12px; } .sl-next { right: 12px; } }
/* phones keep the banner's own 16:9 — a taller frame cut the name's first
   and last letters off its sides */
@media (max-width: 760px) { .sl { aspect-ratio: 16 / 9; min-height: 0; } .sl-dots { bottom: 12px; } }

/* ── sections ────────────────────────────────────────────────────────────── */
.sec { padding: clamp(64px, 8vw, 100px) 0; }
.sec-white { background: #fff; }
.sec-alt { background: var(--alt); border-top: 1px solid #edf0f6; border-bottom: 1px solid #edf0f6; }
.sec-navy { background: var(--navy-dk); color: rgba(255,255,255,.78); }
.sec-more { text-align: center; margin-top: 40px; }

.sx-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.sx-head.is-center { margin-left: auto; margin-right: auto; text-align: center; }
.sx-kicker { display: inline-block; font-family: var(--head); font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-dk); margin-bottom: 10px; }
.sx-title { font-size: clamp(28px, 3.4vw, 40px); font-weight: 700; color: var(--navy); letter-spacing: -.01em; line-height: 1.2; }
.sx-head .sx-title::after, .faq-side .sx-title::after { content: ''; display: block; width: 56px; height: 3px; background: var(--gold); margin-top: 18px; border-radius: 2px; }
.sx-head.is-center .sx-title::after { margin-left: auto; margin-right: auto; }
.sx-sub { margin-top: 16px; font-size: 17px; color: var(--muted); }
.sec-navy .sx-title { color: #fff; }
.sec-navy .sx-kicker { color: var(--gold); }
.sec-navy .sx-sub { color: rgba(255,255,255,.7); }

/* ── welcome ─────────────────────────────────────────────────────────────── */
.welcome-in { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.welcome-title { font-size: clamp(30px, 4vw, 48px); font-weight: 700; color: var(--navy); line-height: 1.15; letter-spacing: -.015em; }
.welcome-tag { margin-top: 14px; display: flex; align-items: center; gap: 12px; font-family: var(--head); font-weight: 500; font-size: 15px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-dk); }
.welcome-tag i { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.welcome-p { margin-top: 20px; font-size: 17px; max-width: 620px; }
.welcome-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.glance { background: var(--navy); color: #fff; border-radius: var(--r-lg); padding: 32px; position: relative; overflow: hidden; border-bottom: 4px solid var(--gold); }
.glance::after { content: ''; position: absolute; right: -60px; top: -60px; width: 200px; height: 200px; border-radius: 50%; border: 28px solid rgba(255,255,255,.05); pointer-events: none; }
.glance-h { color: #fff; font-size: 15px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 18px; }
.glance ul { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(255,255,255,.12); border-radius: var(--r); overflow: hidden; }
.glance li { background: var(--navy); padding: 18px 16px; display: flex; flex-direction: column; gap: 2px; }
.glance li i { color: var(--gold); font-size: 18px; margin-bottom: 8px; }
.glance li b { font-family: var(--head); font-size: 30px; font-weight: 700; color: #fff; line-height: 1.1; }
.glance li span { font-size: 13.5px; color: rgba(255,255,255,.7); }
@media (max-width: 900px) { .welcome-in { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .glance { padding: 22px; } .glance li b { font-size: 24px; } }

/* notices */
.notice { background: var(--gold-lt); border-top: 1px solid #bfeaf4; border-bottom: 1px solid #bfeaf4; }
.notice-in { display: flex; gap: 18px; align-items: flex-start; padding-top: 16px; padding-bottom: 16px; }
.notice-tag { flex-shrink: 0; display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border-radius: 4px; background: var(--navy); color: #fff; font-family: var(--head); font-size: 12.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.notice-list { display: grid; gap: 6px; font-size: 15px; color: var(--ink); }
.notice-list b { color: var(--navy); }
.notice-list time { color: var(--muted); font-size: 13px; margin-left: 6px; }
@media (max-width: 700px) { .notice-in { flex-direction: column; } }

/* ── classes ─────────────────────────────────────────────────────────────── */
.cl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 24px; }
.cl-card { display: flex; flex-direction: column; gap: 12px; padding: 28px; background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--navy); border-radius: var(--r); box-shadow: var(--sh); transition: box-shadow .25s, border-top-color .25s, transform .25s var(--ease); }
.cl-card:hover { box-shadow: var(--sh-hover); border-top-color: var(--gold); transform: translateY(-3px); }
.cl-top { display: flex; justify-content: space-between; align-items: center; }
.cl-n { font-family: var(--head); font-weight: 700; font-size: 14px; color: var(--gold-dk); letter-spacing: .06em; }
.cl-top i { width: 40px; height: 40px; border-radius: 50%; background: var(--alt); color: var(--navy); display: flex; align-items: center; justify-content: center; font-size: 16px; }
.cl-card h3 { font-size: 19px; font-weight: 600; color: var(--navy); line-height: 1.45; }
.cl-card p { font-size: 15px; }
.cl-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.cl-tags li { padding: 3px 10px; border-radius: 4px; background: var(--alt); border: 1px solid var(--line); font-size: 12.5px; font-weight: 500; color: var(--text); }
.cl-link { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); display: inline-flex; align-items: center; gap: 8px; font-family: var(--head); font-weight: 500; font-size: 14.5px; color: var(--navy); }
.cl-link i { font-size: 12px; transition: transform .2s; }
.cl-card:hover .cl-link i { transform: translateX(4px); }
.cl-link:hover { color: var(--gold-dk); }
@media (max-width: 420px) { .cl-grid { grid-template-columns: 1fr; } .cl-card { padding: 22px; } }

/* ── subjects ────────────────────────────────────────────────────────────── */
.sj-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; }
.sj-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; box-shadow: var(--sh); transition: box-shadow .25s, transform .25s var(--ease); }
.sj-card:hover { box-shadow: var(--sh-hover); transform: translateY(-3px); }
.sj-img { aspect-ratio: 16 / 10; background: var(--navy); display: flex; align-items: center; justify-content: center; color: var(--gold); font-size: 40px; overflow: hidden; }
.sj-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.sj-card:hover .sj-img img { transform: scale(1.04); }
.sj-body { padding: 24px 26px 26px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.sj-body b { font-family: var(--head); font-size: 22px; font-weight: 600; color: var(--navy); }
.sj-meta { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); }
.sj-meta i { color: var(--gold-dk); }
.sj-btn { align-self: flex-start; margin-top: 10px; }
@media (min-width: 761px) {
    .sj-grid.is-one { grid-template-columns: 1fr; }
    .sj-grid.is-one .sj-card { flex-direction: row; }
    .sj-grid.is-one .sj-img { flex: 0 0 50%; aspect-ratio: auto; min-height: 320px; }
    .sj-grid.is-one .sj-body { padding: 44px 48px; justify-content: center; gap: 12px; }
    .sj-grid.is-one .sj-body b { font-size: 32px; font-weight: 700; }
    .sj-grid.is-one .sj-body > span:not(.sj-meta):not(.sj-btn) { font-size: 17px; }
}

/* ── teacher ─────────────────────────────────────────────────────────────── */
.tc { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.tc-photo { position: relative; padding: 0 20px 20px 0; }
.tc-photo::before { content: ''; position: absolute; left: 20px; top: 20px; right: 0; bottom: 0; border: 3px solid var(--gold); border-radius: var(--r); }
.tc-photo img, .tc-ph { position: relative; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: top; border-radius: var(--r); box-shadow: var(--sh-hover); background: #fff; }
.tc-ph { display: flex; align-items: center; justify-content: center; font-size: 64px; color: var(--line); }
.tc-role { margin-top: 18px; font-family: var(--head); font-weight: 500; color: var(--gold-dk); }
.tc-text { margin-top: 14px; font-size: 16px; }
.tc-quote { margin-top: 24px; padding: 18px 22px; background: #fff; border-left: 4px solid var(--gold); border-radius: 0 var(--r) var(--r) 0; font-family: var(--head); font-weight: 500; font-size: 17px; font-style: italic; color: var(--navy); box-shadow: var(--sh); }
.tc-copy .sx-title::after { content: ''; display: block; width: 56px; height: 3px; background: var(--gold); margin-top: 18px; border-radius: 2px; }
@media (max-width: 860px) { .tc { grid-template-columns: 1fr; } .tc-photo { max-width: 400px; } }

/* ── why us (navy band) ──────────────────────────────────────────────────── */
.why-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.1); border-radius: var(--r-lg); overflow: hidden; }
.why { display: flex; gap: 18px; padding: 30px 28px; background: var(--navy-dk); transition: background .25s; }
.why:hover { background: #1f2178; }
.why-ico { flex-shrink: 0; width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid var(--gold); color: var(--gold); display: flex; align-items: center; justify-content: center; font-size: 19px; }
.why h3 { color: #fff; font-size: 18px; font-weight: 600; margin-bottom: 6px; }
.why p { font-size: 15px; color: rgba(255,255,255,.7); }

/* ── free lessons ────────────────────────────────────────────────────────── */
.vd-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; }
.vd { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; box-shadow: var(--sh); transition: box-shadow .25s, transform .25s var(--ease); }
.vd:hover { box-shadow: var(--sh-hover); transform: translateY(-3px); }
.vd-thumb { position: relative; aspect-ratio: 16 / 9; background: #0d1a36; overflow: hidden; }
.vd-thumb img { width: 100%; height: 100%; object-fit: cover; }
.vd-thumb::after { content: ''; position: absolute; inset: 0; background: rgba(13,14,51,.15); transition: background .25s; }
.vd:hover .vd-thumb::after { background: rgba(13,14,51,.35); }
.vd-play { position: absolute; z-index: 1; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 58px; height: 58px; border-radius: 50%; background: rgba(255,255,255,.95);
    color: var(--navy); display: flex; align-items: center; justify-content: center; font-size: 18px; padding-left: 4px; box-shadow: 0 6px 20px rgba(0,0,0,.25); transition: background .2s, color .2s; }
.vd:hover .vd-play { background: var(--gold); color: var(--navy-xd); }
.vd-tag { position: absolute; z-index: 1; top: 12px; left: 12px; padding: 3px 10px; border-radius: 4px; background: var(--gold); color: var(--navy-xd); font-family: var(--head); font-size: 11.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.vd-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; }
.vd-body b { font-family: var(--head); font-weight: 500; font-size: 15.5px; line-height: 1.5; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.vd-body span { font-size: 13.5px; color: var(--muted); }
.vd-body span i { color: var(--gold-dk); margin-right: 3px; }

/* ── results ─────────────────────────────────────────────────────────────── */
.rs-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.rs { display: flex; gap: 14px; padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--sh); }
.rs.rs-more { display: none; }
.rs-ico { flex-shrink: 0; width: 46px; height: 46px; border-radius: 50%; background: var(--navy); color: var(--gold); display: flex; align-items: center; justify-content: center; font-size: 18px; }
.rs-body { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.rs-body b { font-family: var(--head); font-weight: 600; font-size: 15.5px; color: var(--ink); line-height: 1.4; }
.rs-body span { font-size: 13.5px; color: var(--muted); }
.rs-body em { align-self: flex-start; margin-top: 6px; padding: 3px 10px; border-radius: 4px; background: var(--gold-lt); color: #7a520a; font-style: normal; font-family: var(--head); font-size: 12.5px; font-weight: 600; line-height: 1.4; }

/* ── vision & mission ────────────────────────────────────────────────────── */
.vm { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.vm-card { padding: 34px; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: var(--r); box-shadow: var(--sh); }
.vm-ico { width: 52px; height: 52px; border-radius: 50%; background: var(--navy); color: var(--gold); display: flex; align-items: center; justify-content: center; font-size: 20px; }
.vm-card h3 { margin: 18px 0 10px; font-size: 22px; font-weight: 600; color: var(--navy); }
.vm-card div { font-size: 15.5px; line-height: 1.8; }

/* ── events ──────────────────────────────────────────────────────────────── */
.ev-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 20px; }
.ev { display: flex; gap: 20px; padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--sh); }
.ev.is-past { opacity: .72; }
.ev-date { flex-shrink: 0; width: 76px; height: 82px; border-radius: var(--r); background: var(--navy); border-bottom: 3px solid var(--gold); color: rgba(255,255,255,.75); display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 11.5px; font-weight: 600; text-transform: uppercase; }
.ev-date b { font-family: var(--head); font-size: 28px; color: #fff; line-height: 1; }
.ev h3 { font-size: 17px; margin-bottom: 4px; color: var(--navy); }
.ev p { font-size: 14.5px; }
.ev-state { display: inline-block; margin-top: 10px; padding: 2px 10px; border-radius: 4px; background: var(--alt); font-size: 12.5px; font-weight: 600; color: var(--navy); }

/* ── gallery ─────────────────────────────────────────────────────────────── */
.gl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gl-item { position: relative; aspect-ratio: 4 / 3; border-radius: var(--r); overflow: hidden; background: var(--alt); cursor: zoom-in; -webkit-tap-highlight-color: transparent; }
.gl-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gl-item:hover img { transform: scale(1.05); }
.gl-cap { position: absolute; inset: 0; display: flex; align-items: flex-end; gap: 10px; padding: 18px; text-align: left; color: #fff; font-family: var(--head); font-weight: 500; font-size: 14px; line-height: 1.4;
    background: linear-gradient(to top, rgba(13,14,51,.85), rgba(13,14,51,0) 60%); opacity: 0; transition: opacity .3s; }
.gl-cap i { color: var(--gold); margin-bottom: 3px; }
.gl-item:hover .gl-cap, .gl-item:focus-visible .gl-cap { opacity: 1; }
@media (hover: none) { .gl-cap { opacity: 1; } }
@media (max-width: 760px) { .gl { grid-template-columns: 1fr 1fr; gap: 10px; } .gl-cap { font-size: 12px; padding: 10px; } }

.lb, .lb * { -webkit-tap-highlight-color: transparent; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.lb { position: fixed; inset: 0; z-index: 10000; background: rgba(4,10,26,.95); display: flex; align-items: center; justify-content: center; padding: 60px 80px; }
.lb[hidden] { display: none; }
.lb figure { display: flex; flex-direction: column; align-items: center; gap: 14px; max-width: 100%; max-height: 100%; }
.lb img { max-width: min(1200px, 100%); max-height: calc(100vh - 170px); object-fit: contain; border-radius: 6px; -webkit-user-drag: none; }
.lb figcaption { color: #fff; text-align: center; display: flex; flex-direction: column; gap: 4px; font-family: var(--head); }
.lb figcaption strong { font-weight: 500; font-size: 16px; } .lb figcaption em { font-style: normal; color: rgba(255,255,255,.55); font-size: 13px; }
.lb-btn { position: absolute; width: 46px; height: 46px; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; font-size: 17px; display: flex; align-items: center; justify-content: center; transition: background .2s, color .2s; }
.lb-btn:hover { background: var(--gold); color: var(--navy-xd); }
.lb-btn[hidden] { display: none; }
.lb-x { top: 18px; right: 18px; } .lb-prev { left: 18px; top: 50%; transform: translateY(-50%); } .lb-next { right: 18px; top: 50%; transform: translateY(-50%); }
@media (max-width: 600px) { .lb { padding: 64px 10px 92px; } .lb-prev, .lb-next { top: auto; bottom: 22px; transform: none; } .lb-prev { left: calc(50% - 60px); } .lb-next { right: calc(50% - 60px); } .lb img { max-height: calc(100vh - 230px); } }

/* ── testimonials ────────────────────────────────────────────────────────── */
.ts-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 380px)); justify-content: center; align-items: start; gap: 24px; }
.ts { position: relative; margin: 0; padding: 30px 28px 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--sh); }
.ts::before { content: '\f10d'; font-family: 'Font Awesome 6 Free'; font-weight: 900; position: absolute; top: 24px; right: 26px; font-size: 28px; color: var(--gold-lt); }
.ts-stars { color: var(--gold); font-size: 13px; display: flex; gap: 3px; margin-bottom: 14px; }
.ts-msg { font-size: 15.5px; line-height: 1.75; color: var(--text); display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.ts.open .ts-msg { -webkit-line-clamp: unset; display: block; }
.ts-more { margin-top: 6px; color: var(--navy); font-weight: 600; font-size: 14px; }
.ts-more:hover { text-decoration: underline; }
.ts figcaption { display: flex; align-items: center; gap: 12px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }
.ts-av { width: 44px; height: 44px; border-radius: 50%; overflow: hidden; flex-shrink: 0; display: flex; align-items: center; justify-content: center; background: var(--navy); color: var(--gold); font-family: var(--head); font-weight: 600; }
.ts-av img { width: 100%; height: 100%; object-fit: cover; }
.ts figcaption b { display: block; font-family: var(--head); font-weight: 600; font-size: 15px; color: var(--ink); }
.ts figcaption em { display: block; font-style: normal; font-size: 13px; color: var(--muted); }
.rv-form { max-width: 760px; margin: 28px auto 0; padding: 30px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--sh); }

/* ── forms ───────────────────────────────────────────────────────────────── */
.form { display: grid; gap: 16px; }
.form label { display: grid; gap: 6px; }
.form label > span { font-family: var(--head); font-size: 13.5px; font-weight: 500; color: var(--ink); }
.form input, .form textarea { width: 100%; padding: 12px 14px; border-radius: 6px; border: 1px solid #d5dbe6; background: #fff; font: inherit; font-size: 15px; color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.form textarea { resize: vertical; min-height: 120px; }
.form input:focus, .form textarea:focus { outline: 0; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(46,49,146,.12); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.form-note { font-size: 13px; color: var(--muted); }
.stars-in { display: flex; gap: 2px; }
.stars-in button { font-size: 22px; color: #d5dbe6; padding: 2px; transition: color .15s; }
.stars-in button.on { color: var(--gold); }
.alert { padding: 12px 16px; border-radius: 6px; font-size: 14.5px; font-weight: 500; display: flex; gap: 8px; align-items: center; }
.alert-ok { background: #e7f6ec; color: #136c33; border: 1px solid #bfe3cb; }
.alert-err { background: #fdecec; color: #a82a1e; border: 1px solid #f5c2bd; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } .rv-form { padding: 22px 18px; } }

/* ── locations ───────────────────────────────────────────────────────────── */
.lc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; }
.lc { display: flex; flex-direction: column; text-align: left; background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; box-shadow: var(--sh); transition: box-shadow .25s, transform .25s var(--ease); }
.lc:hover { box-shadow: var(--sh-hover); transform: translateY(-3px); }
.lc-img { aspect-ratio: 16 / 10; background: var(--navy); display: flex; align-items: center; justify-content: center; font-size: 40px; color: var(--gold); overflow: hidden; }
.lc-img img { width: 100%; height: 100%; object-fit: cover; }
.lc-body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 8px; }
.lc-body b { font-family: var(--head); font-size: 18px; font-weight: 600; color: var(--navy); }
.lc-body > span { font-size: 14.5px; color: var(--muted); }
.lc-body > span i { color: var(--gold-dk); margin-right: 4px; }
.lc-body em { font-style: normal; font-family: var(--head); font-weight: 500; font-size: 14.5px; color: var(--navy); margin-top: 4px; }
@media (min-width: 761px) { .lc-grid:has(> .lc:only-child) { grid-template-columns: 1fr; } .lc:only-child { flex-direction: row; } .lc:only-child .lc-img { flex: 0 0 50%; aspect-ratio: auto; min-height: 300px; } .lc:only-child .lc-body { padding: 40px 44px; justify-content: center; } .lc:only-child .lc-body b { font-size: 26px; } }

/* ── modals ──────────────────────────────────────────────────────────────── */
.md { position: fixed; inset: 0; z-index: 9999; display: none; align-items: center; justify-content: center; padding: 20px; background: rgba(13,14,51,.55); }
.md.open { display: flex; animation: mdIn .2s ease; }
.md-box { position: relative; width: 100%; max-width: 840px; max-height: calc(100vh - 40px); overflow-y: auto; padding: 30px; background: #fff; border-radius: var(--r-lg); border-top: 4px solid var(--gold); box-shadow: 0 30px 80px rgba(13,14,51,.35); }
.md-sm { max-width: 520px; }
.md-box h3 { font-size: 21px; color: var(--navy); padding-right: 44px; margin-bottom: 12px; }
.md-x { position: absolute; top: 18px; right: 18px; width: 36px; height: 36px; border-radius: 6px; border: 1px solid var(--line); color: var(--text); }
.md-x:hover { background: var(--alt); }
.md-addr { display: inline-block; padding: 5px 12px; border-radius: 4px; background: var(--alt); color: var(--navy); font-size: 14px; font-weight: 500; margin-bottom: 10px; }
.md-box > p { margin-bottom: 16px; }
.md-map { height: 370px; border-radius: var(--r); overflow: hidden; background: var(--alt); }
.md-map iframe { width: 100%; height: 100%; border: 0; }
.grp-list { display: grid; gap: 10px; }
.grp { display: flex; align-items: center; gap: 12px; padding: 12px; border: 1px solid var(--line); border-radius: var(--r); }
.grp-ico { width: 46px; height: 46px; border-radius: 50%; flex-shrink: 0; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 20px; overflow: hidden; }
.grp-ico img { width: 100%; height: 100%; object-fit: cover; }
.grp-info { flex: 1; min-width: 0; }
.grp-info b { display: block; font-family: var(--head); font-weight: 600; font-size: 15px; color: var(--ink); }
.grp-info em { display: block; font-style: normal; font-size: 13px; color: var(--muted); }
.bg-wa { background: #25d366; } .bg-tg { background: #229ed9; } .ic-wa { color: #25d366; } .ic-tg { color: #229ed9; }
@keyframes mdIn { from { opacity: 0; } }

/* ── FAQ ─────────────────────────────────────────────────────────────────── */
.faq { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.faq-side { position: sticky; top: 110px; }
.faq-side .sx-sub { margin-bottom: 28px; }
.faq-help { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; align-items: center; padding: 22px; background: var(--navy); border-radius: var(--r); color: #fff; border-bottom: 3px solid var(--gold); }
.faq-help > i { grid-row: span 2; width: 48px; height: 48px; border-radius: 50%; background: rgba(255,255,255,.1); color: var(--gold); display: flex; align-items: center; justify-content: center; font-size: 19px; }
.faq-help b { display: block; font-family: var(--head); font-weight: 600; }
.faq-help span { display: block; font-size: 14px; color: rgba(255,255,255,.7); }
.faq-help .btn { grid-column: 2; justify-self: start; margin-top: 8px; background: var(--gold); color: var(--navy-xd); }
.faq-list { display: grid; gap: 12px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--r); transition: border-color .2s, box-shadow .2s; }
.faq-item[open] { border-color: #cbd5e6; box-shadow: var(--sh); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 22px; font-family: var(--head); font-weight: 500; font-size: 16px; color: var(--ink); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary i { flex-shrink: 0; color: var(--navy); font-size: 13px; transition: transform .25s; }
.faq-item[open] summary { color: var(--navy); }
.faq-item[open] summary i { transform: rotate(180deg); color: var(--gold-dk); }
.faq-item > div { padding: 0 22px 20px; font-size: 15.5px; line-height: 1.8; border-top: 1px solid var(--line); padding-top: 16px; }
@media (max-width: 900px) { .faq { grid-template-columns: 1fr; } .faq-side { position: static; } }

/* ── call to action ──────────────────────────────────────────────────────── */
.cta { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.cta::before { content: ''; position: absolute; right: -80px; top: -120px; width: 380px; height: 380px; border-radius: 50%; border: 50px solid rgba(255,255,255,.04); }
.cta::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--gold); }
.cta-in { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; padding-top: 56px; padding-bottom: 56px; }
.cta h2 { color: #fff; font-size: clamp(24px, 2.8vw, 34px); font-weight: 600; }
.cta p { margin-top: 8px; color: rgba(255,255,255,.75); font-size: 17px; }
.cta-btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* ── contact ─────────────────────────────────────────────────────────────── */
.ct { display: grid; grid-template-columns: .8fr 1.2fr; gap: 28px; align-items: start; }
.ct-info { display: grid; gap: 14px; }
.ct-item { display: flex; align-items: center; gap: 16px; padding: 20px; background: var(--alt); border: 1px solid var(--line); border-radius: var(--r); transition: border-color .2s, background .2s; word-break: break-word; }
.ct-item:hover { border-color: var(--gold); background: #fff; }
.ct-item > span { flex-shrink: 0; width: 48px; height: 48px; border-radius: 50%; background: var(--navy); color: var(--gold); display: flex; align-items: center; justify-content: center; font-size: 18px; }
.ct-item em { display: block; font-style: normal; font-size: 13px; color: var(--muted); }
.ct-item b { display: block; font-family: var(--head); font-weight: 600; font-size: 16px; color: var(--ink); }
.ct-form { padding: 32px; background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--navy); border-radius: var(--r); box-shadow: var(--sh); }
.ct-form h3 { font-size: 21px; color: var(--navy); }
.ct-form .btn { justify-self: start; }
@media (max-width: 860px) { .ct { grid-template-columns: 1fr; } .ct-form { padding: 24px 20px; } }

/* ── footer ──────────────────────────────────────────────────────────────── */
.ft { background: var(--navy-xd); color: rgba(255,255,255,.68); font-size: 14.5px; border-top: 4px solid var(--gold); }
.ft-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 44px; padding-top: 68px; padding-bottom: 52px; }
.ft-brand img { width: 230px; height: auto; margin-bottom: 18px; }
.ft-brand p { line-height: 1.75; max-width: 330px; }
.ft-soc { display: flex; gap: 8px; margin-top: 20px; }
.ft-soc a { width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,.18); color: #fff; transition: background .2s, color .2s, border-color .2s; }
.ft-soc a:hover { background: var(--gold); color: var(--navy-xd); border-color: var(--gold); }
.ft h4 { color: #fff; font-size: 16px; font-weight: 600; margin-bottom: 18px; padding-bottom: 12px; position: relative; }
.ft h4::after { content: ''; position: absolute; left: 0; bottom: 0; width: 32px; height: 2px; background: var(--gold); }
.ft ul { display: grid; gap: 10px; }
.ft ul a { transition: color .2s; word-break: break-word; }
.ft ul a:hover { color: var(--gold); }
.ft-contact a { display: flex; gap: 10px; align-items: baseline; }
.ft-contact i { color: var(--gold); width: 16px; flex-shrink: 0; }
.ft-bar { border-top: 1px solid rgba(255,255,255,.08); font-size: 13px; color: rgba(255,255,255,.5); }
.ft-bar-in { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px 24px; padding-top: 20px; padding-bottom: 20px; }
.ft-legal { display: flex; gap: 20px; }
.ft-legal a:hover { color: #fff; }
@media (max-width: 900px) { .ft-grid { grid-template-columns: 1fr 1fr; } .ft-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .ft-grid { grid-template-columns: 1fr; gap: 32px; } }

/* floating buttons */
.wa-fab { position: fixed; right: 20px; bottom: 20px; z-index: 800; width: 54px; height: 54px; border-radius: 50%; background: #25d366; color: #fff; font-size: 26px;
    display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 22px rgba(37,211,102,.4); transition: transform .2s; }
.wa-fab:hover { transform: scale(1.06); }
.to-top { position: fixed; right: 26px; bottom: 86px; z-index: 800; width: 42px; height: 42px; border-radius: 50%; background: var(--navy); color: #fff; font-size: 14px; box-shadow: var(--sh-hover);
    display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s, background .2s; }
.to-top.on { opacity: 1; visibility: visible; }
.to-top:hover { background: var(--gold); color: var(--navy-xd); }

/* headings, buttons and labels in Poppins (the logo's family). The shared
   brand stylesheet sets Inter on every element with a stronger selector, so
   this list is scoped the same way to take precedence. */
html[data-bm] body :is(h1, h2, h3, h4, .btn, .hd-nav a, .dw nav a, .sx-kicker, .welcome-tag, .glance li b, .cl-n, .cl-link, .sj-body b,
    .tc-role, .tc-quote, .vd-body b, .vd-tag, .rs-body b, .rs-body em, .ev-date b, .ts figcaption b, .ts-av, .form label > span,
    .faq-item summary, .faq-help b, .notice-tag, .ct-item b, .lb figcaption, .gl-cap, .grp-info b, .lc-body b, .lc-body em) {
    font-family: var(--head);
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
    .js .rv { opacity: 1; transform: none; }
    .sl-slide .sl-img { transform: none !important; }
    .pl { display: none !important; }
}

/* ── type scale (Northwhich) ─────────────────────────────────────────────────
   Montserrat runs much wider than the Poppins these sizes were set for, and
   Sinhala lines run taller, so headings read oversized and body copy heavy,
   most of all on phones. One calmer scale for the whole page. */
.welcome-title { font-size: clamp(26px, 3.1vw, 40px); font-weight: 800; letter-spacing: -.02em; }
.sx-title, .tc-copy .sx-title, .faq-side .sx-title { font-size: clamp(22px, 2.5vw, 32px); font-weight: 800; letter-spacing: -.015em; }
.cta h2 { font-size: clamp(20px, 2.3vw, 28px); }
.welcome-p, .sx-sub, .cta p { font-size: 15.5px; line-height: 1.75; }
.welcome-tag { font-size: 13px; letter-spacing: .22em; }
.sx-kicker { font-size: 11.5px; letter-spacing: .2em; }
.glance b { font-size: clamp(22px, 2vw, 26px); }
.cl-card h3, .sj-card h3 { font-size: 17px; line-height: 1.45; }
.vm-card h3 { font-size: 19px; }
.why h3 { font-size: 16.5px; }
.tc-quote { font-size: 15.5px; }
.tc-copy p, .faq-item summary { font-size: 15px; }
@media (max-width: 600px) {
    body { font-size: 15px; }
    .welcome-title { font-size: 26px; }
    .sx-title, .tc-copy .sx-title, .faq-side .sx-title { font-size: 22px; }
    .cta h2 { font-size: 20px; }
    .welcome-p, .sx-sub, .cta p { font-size: 14.5px; line-height: 1.75; }
    .welcome-tag { font-size: 11.5px; letter-spacing: .18em; gap: 9px; }
    .cl-card h3, .sj-card h3 { font-size: 16px; }
    .cl-card p, .why p, .vm-card p, .ts p, .faq-item p { font-size: 14px; }
    .vm-card h3 { font-size: 17px; }
    .why h3 { font-size: 15.5px; }
    .tc-quote { font-size: 14.5px; }
    .tc-copy p, .faq-item summary { font-size: 14.5px; }
    .btn-lg { font-size: 14px; padding: 12px 22px; }
}
