/* Caya Academy website — shared styles (2027 redesign) */
:root{
  --ink:#16235E; --ink-2:#3D4970; --muted:#4A5578; --line:#DDE3EE; --line-2:#C5CDE0;
  --paper:#FFFFFF; --surface:#F3F6FB; --sun:#FFC72C; --teal:#0B7A6F; --teal-ink:#0A5F56; --teal-bg:#E6F3F1;
  --gold-ink:#7A5200; --radius:14px;
  --display:'Bricolage Grotesque','Noto Sans SC',system-ui,sans-serif;
  --body:'Figtree','Noto Sans SC',system-ui,sans-serif;
}
*{box-sizing:border-box}
[hidden]{display:none!important}
html{scroll-behavior:smooth;scroll-padding-top:90px}
body{margin:0;background:var(--paper);color:var(--ink);font:400 17px/1.6 var(--body);-webkit-font-smoothing:antialiased}
img{max-width:100%;height:auto;display:block}
a{color:var(--ink)} a:hover{color:var(--teal)}
:focus-visible{outline:3px solid var(--sun);outline-offset:2px}
.wrap{max-width:1200px;margin:0 auto;padding:0 24px}
.narrow{max-width:820px}
h1,h2,h3{font-family:var(--display);color:var(--ink);margin:0;letter-spacing:-0.01em}
h1{font-weight:800;font-size:clamp(36px,5vw,62px);line-height:1.04;letter-spacing:-0.02em}
h2{font-weight:800;font-size:clamp(28px,3.2vw,42px);line-height:1.1}
h3{font-weight:800;font-size:21px;line-height:1.25}
p{margin:0}
.lead{font-size:clamp(18px,1.6vw,20px);line-height:1.55;color:var(--ink-2);max-width:36em}
.muted{color:var(--muted)}
.small{font-size:14px}
.stack{display:flex;flex-direction:column;gap:16px}
.stack-lg{display:flex;flex-direction:column;gap:28px}
.row{display:flex;flex-wrap:wrap;gap:12px;align-items:center}
.grid{display:grid;gap:24px;grid-template-columns:repeat(auto-fit,minmax(260px,1fr))}
.grid-3{display:grid;gap:24px;grid-template-columns:repeat(auto-fit,minmax(300px,1fr))}
.skip{position:absolute;left:-9999px;top:8px;background:var(--sun);padding:10px 14px;z-index:100;font-weight:700}
.skip:focus{left:8px}

/* Buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:50px;padding:0 22px;border-radius:12px;font:700 16px/1.2 var(--body);text-decoration:none;border:2px solid transparent;cursor:pointer;text-align:center}
.btn-primary{background:var(--ink);color:#fff}.btn-primary:hover{background:#0F1A4A;color:#fff}
.btn-sun{background:var(--sun);color:var(--ink)}.btn-sun:hover{background:#F2B700;color:var(--ink)}
.btn-ghost{background:#fff;color:var(--ink);border-color:var(--ink)}.btn-ghost:hover{background:var(--surface);color:var(--ink)}
.btn-wa{background:var(--teal);color:#fff}.btn-wa:hover{background:#086358;color:#fff}
.btn-sm{min-height:44px;padding:0 16px;font-size:15px}
.btn svg{flex:none}

/* Header */
.site-header{position:sticky;top:0;z-index:50;background:#fff;border-bottom:1px solid var(--line)}
.bar{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:72px}
.brand img{height:48px;width:auto}
.menu-btn{display:none;min-height:44px;padding:0 16px;border-radius:10px;border:1.5px solid var(--line-2);background:#fff;font:700 15px var(--body);color:var(--ink);cursor:pointer}
.nav{display:flex;align-items:center;gap:4px 20px;flex-wrap:wrap}
.nav>a:not(.btn),.dd-btn{font:600 16px/1 var(--body);color:var(--ink);text-decoration:none;padding:14px 0;background:none;border:0;cursor:pointer}
.nav>a[aria-current="page"],.dd-btn[data-current]{box-shadow:inset 0 -3px 0 var(--sun)}
.dd{position:relative}
.dd-btn::after{content:"";display:inline-block;width:7px;height:7px;margin-left:8px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:translateY(-3px) rotate(45deg)}
.dd-panel{display:none;position:absolute;top:100%;left:-16px;background:#fff;border:1px solid var(--line);border-radius:16px;box-shadow:0 18px 40px rgba(22,35,94,.12);padding:20px;min-width:260px;z-index:60}
.dd.open .dd-panel{display:block}
.dd-panel.mega{display:none;grid-template-columns:repeat(3,minmax(200px,1fr));gap:8px 28px;min-width:720px}
.dd.open .dd-panel.mega{display:grid}
.dd-panel p{font-size:13px;font-weight:700;color:var(--muted);margin:0 0 6px}
.dd-panel a{display:block;padding:8px 0;text-decoration:none;font-weight:600;line-height:1.3}
.dd-panel a span{display:block;font-weight:400;font-size:13px;color:var(--muted)}
.lang{display:flex;border:1.5px solid var(--line-2);border-radius:999px;overflow:hidden;font:700 14px/1 var(--body)}
.lang a,.lang span{padding:12px 13px;text-decoration:none}
.lang span{background:var(--ink);color:#fff}
@media (max-width:1180px){
  .menu-btn{display:inline-flex;align-items:center}
  .nav{display:none;position:absolute;top:100%;left:0;right:0;background:#fff;border-bottom:1px solid var(--line);flex-direction:column;align-items:stretch;padding:8px 24px 20px;gap:0;max-height:calc(100vh - 72px);overflow:auto}
  .nav.open{display:flex}
  .nav>a:not(.btn),.dd-btn{padding:14px 0;border-bottom:1px solid var(--line);text-align:left;width:100%}
  .nav>.btn{align-self:flex-start}
  .dd-panel,.dd-panel.mega{position:static;box-shadow:none;border:0;padding:4px 0 12px 12px;min-width:0;grid-template-columns:1fr}
  .lang{align-self:flex-start;margin:14px 0}
}

/* Hero */
.hero{background:var(--surface);padding:56px 0}
.hero-grid{display:flex;flex-wrap:wrap;gap:40px;align-items:center}
.hero-grid>.text{flex:1 1 480px;min-width:0}
.hero-grid>.media{flex:1 1 380px;min-width:0}
.hero-img{border-radius:20px;border:2px solid var(--ink);aspect-ratio:2/1;object-fit:cover;width:100%;background:#fff}
.crumbs{font-size:14px;color:var(--muted)} .crumbs a{color:var(--muted)}
.deadline{display:inline-flex;align-items:center;gap:10px;background:var(--sun);color:var(--ink);border-radius:10px;padding:10px 14px;font-weight:700;font-size:15px;align-self:flex-start}

/* Key facts */
.facts{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:0;border:1px solid var(--line);border-radius:var(--radius);background:#fff;overflow:hidden}
.facts div{padding:16px 18px;border-right:1px solid var(--line);border-bottom:1px solid var(--line)}
.facts dt{font-size:13px;color:var(--muted);font-weight:600}
.facts dd{margin:4px 0 0;font-weight:700;font-size:16px;line-height:1.35}

/* Sections */
.section{padding:64px 0}
.section.alt{background:var(--surface)}
.section.dark{background:var(--ink);color:#fff}
.section.dark h2,.section.dark h3{color:#fff}
.section-head{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:16px;margin-bottom:28px}
.section-head p{max-width:40em}
.notice{border:2px dashed var(--line-2);border-radius:var(--radius);padding:16px 20px;background:#fff;font-size:16px}
.prose p+p{margin-top:14px}
.prose{max-width:44em}

/* Cards and lists */
.card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:24px;display:flex;flex-direction:column;gap:8px}
.alt .card{border-color:#fff}
.topline{border-top:4px solid var(--ink);padding-top:18px;display:flex;flex-direction:column;gap:8px}
.topline.teal{border-color:var(--teal)} .topline.sun{border-color:var(--sun)}
.tag{display:inline-block;font:600 13px/1 var(--body);padding:6px 10px;border-radius:6px;background:var(--teal-bg);color:var(--teal-ink)}
.tag.ink{background:var(--ink);color:#fff}
.tags{display:flex;flex-wrap:wrap;gap:8px}
.stats{display:flex;flex-wrap:wrap;gap:12px 40px}
.stats strong{display:block;font:800 34px/1 var(--display)}
.stats span{color:var(--muted);font-size:15px}
.ticks{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:10px}
.ticks li{padding-left:30px;position:relative}
.ticks li::before{content:"";position:absolute;left:4px;top:7px;width:12px;height:7px;border-left:3px solid var(--teal);border-bottom:3px solid var(--teal);transform:rotate(-45deg)}

/* Journey (a real sequence, so numbered) */
.journey{list-style:none;margin:0;padding:0;display:grid;gap:20px;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));counter-reset:step}
.journey li{counter-increment:step;background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:22px;display:flex;flex-direction:column;gap:8px}
.journey li::before{content:counter(step);width:44px;height:44px;border-radius:50%;background:var(--sun);display:flex;align-items:center;justify-content:center;font:800 20px/1 var(--display)}
.journey .when{font-weight:700;color:var(--teal-ink);font-size:15px}

/* Tables */
.table-box{overflow-x:auto;border:1px solid var(--line);border-radius:var(--radius);background:#fff}
table{border-collapse:collapse;width:100%;font-size:15px}
th,td{text-align:left;padding:14px 16px;border-bottom:1px solid var(--line);vertical-align:top}
th{background:var(--surface);color:var(--muted);font-size:14px;font-weight:700;white-space:nowrap}
tr:last-child td{border-bottom:0}

/* Accordion */
details.acc{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:0}
details.acc+details.acc{margin-top:10px}
details.acc summary{cursor:pointer;list-style:none;padding:18px 22px;font-weight:700;font-size:17px;display:flex;justify-content:space-between;gap:16px;min-height:44px}
details.acc summary::-webkit-details-marker{display:none}
details.acc summary::after{content:"+";font:800 22px/1 var(--display);color:var(--teal)}
details.acc[open] summary::after{content:"–"}
details.acc .acc-body{padding:0 22px 20px;color:var(--ink-2)}
details.acc .acc-body p+p{margin-top:10px}

/* CTA band */
.cta-band{background:var(--sun);border-radius:20px;padding:28px 32px;display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:20px}
.cta-band h2{font-size:clamp(24px,2.6vw,32px)}

/* Homepage specifics */
.passport{background:#fff;border:2px solid var(--ink);border-radius:22px;padding:28px;background-image:repeating-linear-gradient(0deg,#fff 0,#fff 27px,#EEF2F9 27px,#EEF2F9 28px)}
.passport-head{display:flex;justify-content:space-between;align-items:baseline;gap:12px;flex-wrap:wrap;border-bottom:2px dashed var(--line-2);padding-bottom:14px;margin-bottom:22px}
.stamps{display:flex;flex-wrap:wrap;justify-content:center;gap:14px 18px}
.stamp{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;width:148px;height:148px;border-radius:50%;padding:14px;border:3px solid var(--ink);color:var(--ink);text-decoration:none}
.stamp strong{font:800 19px/1.1 var(--display)} .stamp span{font-size:12px;margin-top:6px;line-height:1.3}
.stamp.t{border-color:var(--teal);color:var(--teal-ink)} .stamp.g{border-style:dashed;border-color:#9A6700;color:var(--gold-ink)} .stamp.sq{border-radius:18px}
.stamp:nth-child(1){transform:rotate(-8deg)}.stamp:nth-child(2){transform:rotate(6deg)}.stamp:nth-child(3){transform:rotate(-3deg)}.stamp:nth-child(4){transform:rotate(9deg)}.stamp:nth-child(5){transform:rotate(-6deg)}.stamp:nth-child(6){transform:rotate(4deg)}
.chips{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.chips .label{font-weight:700;width:80px}
.chip{font:600 15px/1 var(--body);min-height:44px;padding:0 18px;border-radius:999px;cursor:pointer;background:#fff;color:var(--ink);border:1.5px solid var(--line-2)}
.chip[aria-pressed="true"]{background:var(--ink);color:#fff;border-color:var(--ink)}
.comp-row{background:#fff;border:1px solid var(--line);border-radius:16px;padding:22px 24px;display:flex;flex-wrap:wrap;gap:20px 28px;align-items:flex-start}
.comp-row .when{flex:0 0 120px} .comp-row .when strong{display:block;font:800 34px/1 var(--display)}
.comp-row .main{flex:1 1 340px;min-width:0;display:flex;flex-direction:column;gap:10px}
.comp-row .side{flex:0 1 250px;display:flex;flex-direction:column;gap:8px;font-size:15px;color:var(--muted)}
.comp-row .side strong{color:var(--ink);font-size:16px;display:block}
.comp-list{display:flex;flex-direction:column;gap:12px}
.empty{background:#fff;border:2px dashed var(--line-2);border-radius:16px;padding:28px;display:flex;flex-wrap:wrap;gap:16px;align-items:center;justify-content:space-between}
.steps{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:28px;counter-reset:s}
.steps li{counter-increment:s;display:flex;flex-direction:column;gap:8px}
.steps li::before{content:counter(s);width:48px;height:48px;border-radius:50%;background:var(--sun);display:flex;align-items:center;justify-content:center;font:800 22px/1 var(--display)}
.media-item{display:flex;flex-direction:column;gap:10px;border-top:2px solid var(--sun);padding-top:16px;color:#fff;text-decoration:none}
.media-item span{font-size:14px;color:#C9D2EC}
.media-item strong{font:700 19px/1.3 var(--display)}
a.media-item:hover strong{text-decoration:underline}

/* Footer */
.site-footer{border-top:1px solid var(--line);padding:56px 0 100px}
.foot-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:28px;font-size:15px;line-height:1.75;color:var(--ink-2)}
.foot-grid h2{font:700 16px/1.4 var(--body);margin-bottom:6px}
.foot-grid a{color:var(--ink-2)}
.wa-float{position:fixed;right:16px;bottom:16px;z-index:40;box-shadow:0 10px 24px rgba(11,122,111,.35)}
@media (min-width:1181px){.wa-float{display:none}}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important;animation:none!important}}
@media print{.site-header,.wa-float,.site-footer .cta-band{display:none}}

/* Language-specific typography */
html[lang="zh-Hans"]{--display:'Noto Sans SC','Bricolage Grotesque',system-ui,sans-serif;--body:'Noto Sans SC','Figtree',system-ui,sans-serif}
html[lang="ta"]{--display:'Noto Sans Tamil','Bricolage Grotesque',system-ui,sans-serif;--body:'Noto Sans Tamil','Figtree',system-ui,sans-serif}
html[lang="ta"] h1{font-size:clamp(28px,3.6vw,46px);line-height:1.25;letter-spacing:0}
html[lang="ta"] h2{font-size:clamp(24px,2.6vw,34px);line-height:1.3;letter-spacing:0}
html[lang="ta"] h3{line-height:1.4}
html[lang="ta"] body,html[lang="ta"] .lead{line-height:1.75}
html[lang="ta"] .stamp strong{font-size:15px}
html[lang="zh-Hans"] h1,html[lang="zh-Hans"] h2{letter-spacing:0;line-height:1.25}
.en-block{border-left:3px solid var(--line-2);padding-left:14px}
.note-en{font-size:14px;color:var(--muted);font-style:italic}
.hero-ph{border-radius:20px;border:2px solid var(--ink);aspect-ratio:2/1;background:var(--ink);color:#fff;display:flex;flex-direction:column;justify-content:flex-end;padding:28px;gap:6px}
.hero-ph strong{font:800 clamp(28px,3vw,40px)/1.1 var(--display);color:var(--sun)}
.res-group{display:flex;flex-wrap:wrap;gap:8px}

@media (min-width:1181px){.nav{flex-wrap:nowrap}.nav>a:not(.btn),.dd-btn{white-space:nowrap}}
html[lang="ta"] .nav>a:not(.btn),html[lang="ta"] .dd-btn{font-size:14px}
html[lang="ta"] .nav{gap:4px 14px}
@media (max-width:1366px){html[lang="ta"] .menu-btn{display:inline-flex;align-items:center}
html[lang="ta"] .nav{display:none;position:absolute;top:100%;left:0;right:0;background:#fff;border-bottom:1px solid var(--line);flex-direction:column;align-items:stretch;padding:8px 24px 20px;gap:0;max-height:calc(100vh - 72px);overflow:auto}
html[lang="ta"] .nav.open{display:flex}
html[lang="ta"] .nav>a:not(.btn),html[lang="ta"] .dd-btn{padding:14px 0;border-bottom:1px solid var(--line);text-align:left;width:100%;font-size:16px}
html[lang="ta"] .dd-panel,html[lang="ta"] .dd-panel.mega{position:static;box-shadow:none;border:0;padding:4px 0 12px 12px;min-width:0;grid-template-columns:1fr}
html[lang="ta"] .lang{align-self:flex-start;margin:14px 0}html[lang="ta"] .nav>.btn{align-self:flex-start}}
/* Results / archive pages */
.section.tight{padding:26px 0}
.section.tight h2{font-size:clamp(24px,2.6vw,32px)}
.win-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;max-width:1000px}
@media (max-width:860px){.win-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}}
.win-card{background:#fff;border:1px solid var(--line);border-radius:14px;overflow:hidden;display:flex;flex-direction:column}
.win-card img{display:block;width:100%!important;height:auto;aspect-ratio:4/5;object-fit:cover;object-position:50% 25%;background:var(--surface);max-width:none}
.win-body{padding:14px 16px;display:flex;flex-direction:column;gap:6px;font-size:15px}
.win-name{font:700 17px/1.3 var(--display);overflow-wrap:anywhere}
.win-body p{margin:0;color:var(--ink-2)}
.win-role{align-self:flex-start;background:var(--sun);color:var(--ink);font-weight:700;font-size:13px;padding:4px 10px;border-radius:6px}
.res-table table{font-size:14px}
.res-table td:first-child{white-space:nowrap}
.res-search{display:flex;flex-wrap:wrap;gap:10px;align-items:center;background:#fff;border:2px solid var(--ink);border-radius:14px;padding:14px 16px}
.res-search input{flex:1 1 260px;min-height:48px;border:1.5px solid var(--line-2);border-radius:10px;padding:0 14px;font:inherit}
.video{position:relative;aspect-ratio:16/9;max-width:860px}.video iframe{position:absolute;inset:0;width:100%;height:100%;border:0;border-radius:14px}
figure.pic{margin:0;max-width:860px}figure.pic img{border-radius:14px}
.prose-legacy>*{max-width:860px}.prose-legacy p,.prose-legacy li{line-height:1.7}
.prose-legacy img{border-radius:12px;margin:8px 0}
mark.hit{background:var(--sun);color:var(--ink);padding:0 2px}

.lang a,.lang span{white-space:nowrap}
.hero .lang-pick{font-size:15px;color:var(--muted);margin:0}

/* ===== Caya corporate look (Raleway + Nunito, Caya orange) ===== */
:root{--brand:#FF914D;--brand-dk:#E8732A;--brand-bg:#FFF1E6;--ink:#1A2456;--sun:#FFC93C;--sky:#EAF3FF;--mint:#E7F6F1;--peach:#FFF4EC;--lemon:#FFF9E1;
 --display:'Raleway','Noto Sans SC',system-ui,sans-serif;--body:'Nunito','Noto Sans SC',system-ui,sans-serif}
html[lang="zh-Hans"]{--display:'Raleway','Noto Sans SC',system-ui,sans-serif;--body:'Nunito','Noto Sans SC',system-ui,sans-serif}
html[lang="ta"]{--display:'Noto Sans Tamil','Raleway',system-ui,sans-serif;--body:'Noto Sans Tamil','Nunito',system-ui,sans-serif}
h1,h2{font-weight:800}
.btn-primary{background:var(--brand);color:var(--ink)}.btn-primary:hover{background:var(--brand-dk);color:#fff}
.btn-ghost{border-color:var(--brand-dk)}
.deadline{background:var(--brand-bg);border:2px solid var(--brand)}
.hero{background:linear-gradient(135deg,#FFF1E6 0%,#FFF9E1 55%,#EAF3FF 100%)}
.section.alt{background:var(--peach)}
.section.alt:nth-of-type(4n){background:var(--sky)}
.section.dark{background:linear-gradient(135deg,#1A2456,#2B3A8C)}
.topline{border-top-color:var(--brand)}.topline.teal{border-top-color:#2F80ED}.topline.sun{border-top-color:#E8467C}
.journey li::before,.steps li::before{background:var(--brand);color:var(--ink)}
.chip[aria-pressed="true"]{background:var(--brand);border-color:var(--brand);color:var(--ink)}
.tag{background:var(--sky);color:#1F4FD1}.tag.ink{background:var(--ink);color:#fff}
.cta-band{background:linear-gradient(120deg,#FF914D,#FFC93C)}
.nav>a[aria-current="page"],.dd-btn[data-current]{box-shadow:inset 0 -3px 0 var(--brand)}
.lang span{background:var(--brand);color:var(--ink)}
.passport{border-color:var(--brand)}
.stamp{border-color:#7B4CC2;color:#5B2FA3}.stamp.t{border-color:#2F80ED;color:#1F4FD1}.stamp.g{border-color:#E8467C;color:#B3185A}
/* calendar rows with competition banners and colours */
.comp-row{border-left:6px solid var(--c,#FF914D);display:grid;grid-template-columns:220px minmax(0,1fr) 230px;gap:18px 24px;align-items:start}
.comp-row .thumb{display:block;border-radius:12px;overflow:hidden;aspect-ratio:2/1;background:var(--peach)}
.comp-row .thumb img{width:100%;height:100%;object-fit:cover}
.comp-row .thumb.ph{display:flex;align-items:center;justify-content:center;background:var(--c);color:#fff;font:800 18px/1.2 var(--display);padding:10px;text-align:center}
.comp-row .when-tag{display:inline-block;font:800 13px/1 var(--display);color:var(--c);letter-spacing:.02em}
.comp-row .when-tag span{color:var(--muted);font-weight:600;margin-left:6px}
@media (max-width:900px){.comp-row{grid-template-columns:1fr}.comp-row .thumb{max-width:420px}}
/* photo strip */
.photos{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.photos figure{margin:0;border-radius:16px;overflow:hidden;position:relative;aspect-ratio:4/3;background:var(--peach)}
.photos figure:first-child{grid-column:span 2;grid-row:span 2;aspect-ratio:auto}
.photos img{width:100%;height:100%;object-fit:cover}
.photos figcaption{position:absolute;left:10px;bottom:10px;background:rgba(26,36,86,.85);color:#fff;font:700 13px/1.3 var(--body);padding:6px 10px;border-radius:8px}
@media (max-width:760px){.photos{grid-template-columns:repeat(2,minmax(0,1fr))}.photos figure:first-child{grid-column:span 2;grid-row:auto;aspect-ratio:16/10}}
.lesson-thumb{width:100%;aspect-ratio:16/10;object-fit:cover;border-radius:12px;margin-bottom:6px}
.win-role{background:var(--brand);color:var(--ink)}
.res-search{border-color:var(--brand)}
/* YouTube (loads only when clicked) */
.yt{position:relative;aspect-ratio:16/9;border-radius:16px;overflow:hidden;background:#000;max-width:860px}
.yt button{all:unset;cursor:pointer;position:absolute;inset:0;display:block}
.yt img{width:100%;height:100%;object-fit:cover;opacity:.9}
.yt .play{position:absolute;left:50%;top:50%;width:76px;height:54px;margin:-27px 0 0 -38px;background:#FF0000;border-radius:14px}
.yt .play::after{content:"";position:absolute;left:31px;top:15px;border-style:solid;border-width:12px 0 12px 20px;border-color:transparent transparent transparent #fff}
.yt button:focus-visible{outline:4px solid var(--sun);outline-offset:-4px}
.yt iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.vid-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
@media (max-width:860px){.vid-grid{grid-template-columns:1fr}}
.sch-photos{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.sch-photos figure{margin:0;border-radius:16px;overflow:hidden;position:relative;aspect-ratio:4/3;background:var(--peach)}
.sch-photos img{width:100%;height:100%;object-fit:cover}
.sch-photos figcaption{position:absolute;left:10px;bottom:10px;background:rgba(26,36,86,.85);color:#fff;font:700 13px/1.3 var(--body);padding:6px 10px;border-radius:8px}
@media (max-width:760px){.sch-photos{grid-template-columns:1fr}}

.ef{max-width:860px}
.ef-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.ef-grid .ef-wide{grid-column:1/-1}
@media (max-width:640px){.ef-grid{grid-template-columns:1fr}}

.news-row{gap:10px;padding:14px}
.news-thumb{display:block;width:100%;height:auto;aspect-ratio:16/9;border-radius:10px;object-fit:cover;object-position:50% 30%;background:var(--peach)}
.news-txt{display:flex;flex-direction:column;gap:6px;min-width:0;padding:0 4px}
.news-row h3{font-size:17px;line-height:1.35}

/* ===== Destinations with flags ===== */
.dests{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.dest{display:flex;flex-direction:column;align-items:center;gap:6px;text-align:center;text-decoration:none;color:var(--ink);background:#fff;border:2px dashed color-mix(in srgb,var(--c) 55%,#fff);border-radius:16px;padding:14px 10px;box-shadow:0 6px 16px rgba(26,36,86,.08);transition:transform .15s}
.dest:nth-child(odd){transform:rotate(-1.5deg)}.dest:nth-child(even){transform:rotate(1.5deg)}
.dest:hover{transform:translateY(-3px) rotate(0)}
.dest-flags{display:flex;gap:6px;justify-content:center}
.dest .flag{width:64px;height:auto;filter:drop-shadow(0 3px 5px rgba(0,0,0,.22))}
.dest-flags .flag+.flag{width:48px}
.dest strong{font:800 16px/1.2 var(--display);color:var(--c)}
.dest span:last-child{font-size:12px;color:var(--muted);line-height:1.3}
@media (max-width:520px){.dests{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* ===== More colour across all pages ===== */
main>section.section:not(.dark):nth-of-type(5n+1){background:#FFF4EC}
main>section.section:not(.dark):nth-of-type(5n+2){background:#FFFFFF}
main>section.section:not(.dark):nth-of-type(5n+3){background:#EEF5FF}
main>section.section:not(.dark):nth-of-type(5n+4){background:#FFFFFF}
main>section.section:not(.dark):nth-of-type(5n){background:#F0FAF5}
main h2{position:relative;padding-bottom:12px}
main h2::after{content:"";position:absolute;left:0;bottom:0;width:56px;height:5px;border-radius:3px;background:linear-gradient(90deg,#FF914D,#FFC93C,#E8467C)}
.section.dark h2::after{background:linear-gradient(90deg,#FFC93C,#FF914D)}
.passport-head h2::after,.cta-band h2::after,.card h2::after,.ef h2::after,.hero-ph h2::after{display:none}
.hero.comp-hero{background:linear-gradient(135deg,color-mix(in srgb,var(--c) 22%,#fff) 0%,#FFF9E1 60%,#FFFFFF 100%)}
.hero.comp-hero h1{color:var(--ink)}
.hero.comp-hero .deadline{border-color:var(--c);background:#fff}
.hero.comp-hero .hero-img{border-color:var(--c);box-shadow:0 14px 30px color-mix(in srgb,var(--c) 30%,transparent)}
.grid>.card:nth-child(6n+1),.grid>.topline:nth-child(6n+1){border-top:5px solid #FF914D}
.grid>.card:nth-child(6n+2),.grid>.topline:nth-child(6n+2){border-top:5px solid #2F80ED}
.grid>.card:nth-child(6n+3),.grid>.topline:nth-child(6n+3){border-top:5px solid #E8467C}
.grid>.card:nth-child(6n+4),.grid>.topline:nth-child(6n+4){border-top:5px solid #0E9F6E}
.grid>.card:nth-child(6n+5),.grid>.topline:nth-child(6n+5){border-top:5px solid #7B4CC2}
.grid>.card:nth-child(6n),.grid>.topline:nth-child(6n){border-top:5px solid #F2A000}
.journey li:nth-child(4n+1)::before,.steps li:nth-child(4n+1)::before{background:#FF914D}
.journey li:nth-child(4n+2)::before,.steps li:nth-child(4n+2)::before{background:#FFC93C}
.journey li:nth-child(4n+3)::before,.steps li:nth-child(4n+3)::before{background:#7FB8FF}
.journey li:nth-child(4n)::before,.steps li:nth-child(4n)::before{background:#F7A1C4}
.tag.s-en{background:#E3EEFF;color:#1F4FD1}.tag.s-sp{background:#FFF1C9;color:#8A5A00}.tag.s-wr{background:#FFE3EF;color:#B3185A}
.tag.s-ma{background:#DFF5EA;color:#086A48}.tag.s-sc{background:#EEE6FF;color:#5B2FA3}
.facts{border-top:5px solid var(--brand)}
.facts div:nth-child(5n+1) dt{color:#E8732A}.facts div:nth-child(5n+2) dt{color:#1F4FD1}.facts div:nth-child(5n+3) dt{color:#B3185A}.facts div:nth-child(5n+4) dt{color:#086A48}.facts div:nth-child(5n) dt{color:#5B2FA3}
.table-box thead th{background:linear-gradient(90deg,#FFF1E6,#EEF5FF)}
.media-item{border-top-color:#FFC93C}
.win-card{border-top:5px solid var(--brand)}
.win-card:nth-child(3n+2){border-top-color:#2F80ED}.win-card:nth-child(3n){border-top-color:#E8467C}

.section.dark .card,.section.dark .card h3,.section.dark .card p{color:var(--ink)}
.deadline-card{border:0;text-decoration:none;color:var(--ink)!important;gap:6px;box-shadow:0 14px 30px rgba(0,0,0,.25)}
.deadline-card img{width:100%;aspect-ratio:2/1;object-fit:cover;border-radius:10px;margin-bottom:6px}
.deadline-card .small{color:#E8732A;font-weight:700}
.deadline-card .dl-date{font:800 28px/1.15 var(--display);color:var(--ink)}
.deadline-card span:last-child{color:var(--muted)}

/* 2026 highlights: photo cards */
.gallery{display:grid;gap:24px;align-items:start}
.gcard{margin:0;background:#fff;border-radius:20px;padding:10px;box-shadow:0 14px 34px rgba(26,36,86,.13);border-top:6px solid var(--c,#FF914D);transition:transform .2s}
.gcard:nth-child(odd){transform:rotate(-.8deg)}.gcard:nth-child(even){transform:rotate(.8deg)}
.gcard:hover{transform:rotate(0) translateY(-4px)}
.gimg{display:block;overflow:hidden;border-radius:14px;background:var(--peach)}
.gimg img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .35s}
.gimg:hover img{transform:scale(1.04)}
.gcard figcaption{padding:12px 8px 6px;font:700 15px/1.45 var(--body);color:var(--ink)}
.gcard.landscape .gimg{aspect-ratio:3/2}.gcard.portrait .gimg{aspect-ratio:4/5}
.gallery.g1{max-width:980px}
.gallery.g1.single-portrait{max-width:560px}
.gallery.g2{grid-template-columns:repeat(2,minmax(0,1fr))}
.gallery.g3{grid-template-columns:repeat(2,minmax(0,1fr));max-width:1060px}
.gallery.g3 .gcard:first-child{grid-column:1/-1}
.gallery.g3 .gcard:first-child .gimg{aspect-ratio:3/2}
@media (max-width:760px){.gallery.g2,.gallery.g3{grid-template-columns:1fr}.gcard{transform:none!important}}
@media (prefers-reduced-motion:reduce){.gcard,.gimg img{transition:none}}
/* Teacher summary pages */
.glance th{background:var(--peach);color:var(--ink);font-weight:800;width:38%;white-space:normal}
.glance td{font-weight:600}
.steps-tight{grid-template-columns:1fr;gap:14px}
.steps-tight li{flex-direction:row;align-items:flex-start;gap:12px}
.steps-tight li::before{flex:none;width:36px;height:36px;font-size:16px}
.steps-tight li strong{min-width:9em}
.tdates{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}
.tdates li{display:flex;gap:14px;align-items:baseline;background:#fff;border:1px solid var(--line);border-left:5px solid var(--brand);border-radius:12px;padding:12px 16px}
.tdates .when{flex:none;min-width:9.5em;font-weight:800;color:#E8732A}
.share-card{flex-direction:row!important;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;border-top:5px solid #0B7A6F}
@media (max-width:640px){.steps-tight li{flex-direction:column}.tdates li{flex-direction:column;gap:2px}}

.news-pic{position:relative;display:block}
.news-pic .credit{position:absolute;right:6px;bottom:6px;background:rgba(0,0,0,.6);color:#fff;font:600 11px/1 var(--body);padding:4px 6px;border-radius:5px}

.gallery.g2.mixed{grid-template-columns:1.875fr 1fr;align-items:stretch}
@media (max-width:760px){.gallery.g2.mixed{grid-template-columns:1fr}}

/* gallery rows on a 6-column grid */
.gallery.grid6{grid-template-columns:repeat(6,minmax(0,1fr));max-width:1100px}
.gallery.grid6.narrow{max-width:900px}
.gallery.grid6 .gimg{aspect-ratio:auto}
@media (max-width:760px){.gallery.grid6{grid-template-columns:1fr}.gallery.grid6 .gcard{grid-column:auto!important}}

/* breathing space between every block */
main>section{padding-top:56px!important;padding-bottom:56px!important}
main>section.hero{padding-top:56px!important;padding-bottom:56px!important}
main>section.section.tight{padding-top:36px!important;padding-bottom:36px!important}
main>section>.wrap>.stack>p:last-child,main>section>.wrap>p:last-child{margin-bottom:0}
.section-head{margin-bottom:28px}
.facts{margin-bottom:8px}
@media (max-width:640px){main>section{padding-top:40px!important;padding-bottom:40px!important}main>section.section.tight{padding-top:28px!important;padding-bottom:28px!important}}

/* logo: never squeeze or stretch */
.brand{flex:none;display:flex;align-items:center}
.brand img{height:48px!important;width:auto!important;max-width:none!important;object-fit:contain;aspect-ratio:auto}
@media (max-width:420px){.brand img{height:40px!important}}
