/* =========================================================
   Sinhala KW · minimal theme
   Yellow #FFC20E · Navy #235E83
   ========================================================= */

:root {
  --yellow: #FFC20E;
  --yellow-2: #FFD54F;
  --yellow-soft: #FFF6DA;
  --navy: #235E83;
  --navy-2: #1B4D6D;
  --navy-deep: #0E2E43;
  --ink: #0E1C27;
  --muted: #5A6A77;
  --line: #E7ECEF;
  --bg: #FCFBF8;
  --white: #fff;
  --radius: 24px;
  --radius-lg: 36px;
  --shadow: 0 1px 2px rgba(14, 28, 39, .04), 0 12px 32px -12px rgba(14, 28, 39, .14);
  --shadow-lg: 0 30px 60px -24px rgba(14, 46, 67, .35);
  --ease: cubic-bezier(.22, .8, .24, 1);
  --header-h: 76px;
  --font: 'Plus Jakarta Sans', 'Noto Sans Sinhala', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
main { overflow-x: clip; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; padding: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, figure { margin: 0; }
::selection { background: var(--yellow); color: var(--ink); }
:focus-visible { outline: 2.5px solid var(--navy); outline-offset: 3px; border-radius: 8px; }

.ic { width: 1.25em; height: 1.25em; flex-shrink: 0; }

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 40px); }

/* ---------- type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 700; letter-spacing: .04em;
  color: var(--navy);
  margin-bottom: 14px;
}
.eyebrow::before { content: ''; width: 22px; height: 2px; border-radius: 2px; background: var(--yellow); }
.eyebrow.on-dark { color: var(--yellow); }
.h2 {
  font-size: clamp(28px, 4.2vw, 48px);
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: -.01em;
}
.h3 { font-size: clamp(20px, 2.4vw, 28px); line-height: 1.3; font-weight: 800; }
.sub { color: var(--muted); font-size: clamp(15px, 1.4vw, 17px); max-width: 460px; }
.on-dark { color: #fff; }
.sub.on-dark { color: rgba(255, 255, 255, .7); }
.lead { font-size: clamp(16px, 1.6vw, 19px); line-height: 1.75; color: var(--ink); font-weight: 500; }
.body { color: var(--muted); }

.section { padding: clamp(72px, 10vw, 130px) 0; position: relative; }
.section-head { margin-bottom: clamp(36px, 5vw, 60px); }
.section-head.center { text-align: center; display: flex; flex-direction: column; align-items: center; }
.section-head.center .sub { margin-top: 12px; }
.section-head.split { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 48px; flex-wrap: wrap; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 54px; padding: 0 26px;
  border-radius: 999px;
  font-weight: 700; font-size: 15px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--yellow); color: var(--ink); box-shadow: 0 10px 24px -10px rgba(255, 194, 14, .9); }
.btn-primary:hover { background: var(--yellow-2); box-shadow: 0 16px 30px -12px rgba(255, 194, 14, .95); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--navy); }
.btn-sm { height: 42px; padding: 0 20px; font-size: 14px; }
.btn-block { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; color: var(--ink);
  padding: 6px 2px; border-bottom: 2px solid var(--yellow);
}
.link-arrow .ic { transition: transform .3s var(--ease); }
.link-arrow:hover .ic { transform: translateX(4px); }

/* ---------- reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  transition: background .35s, box-shadow .35s, height .35s;
}
.site-header.is-scrolled {
  background: rgba(252, 251, 248, .82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand img { height: 38px; width: auto; }
.nav { display: flex; gap: 6px; }
.nav a {
  font-size: 14.5px; font-weight: 600; color: var(--muted);
  padding: 8px 14px; border-radius: 999px;
  transition: color .25s, background .25s;
}
.nav a:hover, .nav a.is-active { color: var(--ink); background: rgba(14, 28, 39, .05); }
.header-actions { display: flex; align-items: center; gap: 10px; }

.menu-btn {
  display: none; width: 44px; height: 44px; border-radius: 50%;
  background: var(--ink); position: relative;
}
.menu-btn span {
  position: absolute; left: 13px; right: 13px; height: 2px; border-radius: 2px; background: #fff;
  transition: transform .35s var(--ease), top .35s var(--ease);
}
.menu-btn span:nth-child(1) { top: 18px; }
.menu-btn span:nth-child(2) { top: 25px; }
.menu-open .menu-btn span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.menu-open .menu-btn span:nth-child(2) { top: 21px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 45;
  background: var(--bg);
  padding: calc(var(--header-h) + 24px) 28px calc(28px + env(safe-area-inset-bottom));
  display: flex; flex-direction: column; justify-content: space-between;
  overflow-y: auto; overscroll-behavior: contain;   /* short phones: scroll instead of cutting off the buttons */
  opacity: 0; visibility: hidden; transform: translateY(-12px);
  transition: opacity .35s var(--ease), transform .35s var(--ease), visibility .35s;
}
.menu-open .mobile-menu { opacity: 1; visibility: visible; transform: none; }
.menu-open { overflow: hidden; }
.mobile-nav { display: flex; flex-direction: column; }
.mobile-nav a {
  /* scales with screen height too, so all eight links and both buttons fit on short phones */
  font-size: clamp(19px, min(7vw, 3.7svh), 34px); font-weight: 800; line-height: 1.25;
  padding: clamp(5px, 1.15svh, 12px) 0;
  border-bottom: 1px solid var(--line);
}
.mobile-menu-foot { padding-top: clamp(14px, 2.6svh, 24px); }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  --hero-pb: 72px;                        /* bottom padding; the teacher cancels it to touch the yellow band */
  --bleed: clamp(0px, 4vw, 60px);         /* how far the teacher may run past the container edge */
  position: relative;
  min-height: min(100svh, 920px);
  padding: calc(var(--header-h) + 24px) 0 var(--hero-pb);
  display: flex; align-items: stretch;
  overflow: hidden;
  background:
    radial-gradient(60% 60% at 88% 40%, rgba(255, 194, 14, .16), transparent 70%),
    radial-gradient(40% 50% at 50% 50%, rgba(35, 94, 131, .07), transparent 70%),
    var(--bg);
}
.hero-grid {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  grid-template-areas: "logo teacher";
  align-items: center;
  gap: clamp(16px, 2.5vw, 40px);
}
.hero-logo { grid-area: logo; }
.hero-teacher { grid-area: teacher; }

@keyframes ping { 0% { transform: scale(.6); opacity: .8; } 100% { transform: scale(1.8); opacity: 0; } }

/* 3D logo */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.hero-logo {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px;
  transition: transform .6s var(--ease);
}
.logo-stage { position: relative; width: 100%; aspect-ratio: 16 / 10; cursor: grab; touch-action: pan-y; }
.logo-stage:active { cursor: grabbing; }
/* the canvas is a little larger than the stage so scattered particles are not clipped */
.logo-stage canvas {
  position: absolute; left: -8%; top: -8%;
  width: 116% !important; height: 116% !important; outline: none;
}
.logo-fallback {
  position: absolute; left: 50%; top: 50%; width: 92%; height: auto;
  transform: translate(-50%, -54%); transition: opacity .6s;
}
.logo-stage.is-ready .logo-fallback { opacity: 0; }
.logo-hint {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 12px; font-weight: 600; color: var(--muted);
  transition: opacity .5s;
}
.logo-hint .ic { width: 14px; height: 14px; color: var(--navy); animation: spin 6s linear infinite; }
.logo-hint.is-hidden { opacity: 0; }
.logo-hint[hidden] { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }

/* teacher */
.hero-teacher {
  position: relative; align-self: end; justify-self: end;
  /* as wide as the column allows, but never taller than the space under the header */
  width: min(calc(100% + var(--bleed)), calc((min(100svh, 920px) - var(--header-h) - 20px) * .72), 560px);
  margin-right: calc(-1 * var(--bleed));
  margin-bottom: calc(-1 * var(--hero-pb));   /* bottom edge lands under the yellow marquee */
}
.teacher-figure { position: relative; aspect-ratio: 810 / 1150; isolation: isolate; }
.t-sun {
  position: absolute; z-index: -1; width: 95%; aspect-ratio: 1; border-radius: 50%;
  left: 14%; top: 18%;
  background: radial-gradient(circle at 35% 30%, var(--yellow-2), var(--yellow) 60%);
  box-shadow: 0 30px 60px -20px rgba(255, 194, 14, .6);
}
.t-ring {
  position: absolute; z-index: -1; width: 114%; aspect-ratio: 1; border-radius: 50%;
  left: 5%; top: 10%; border: 1.5px solid rgba(35, 94, 131, .18);
}
.teacher-figure img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: bottom;
}
.name-chip {
  position: absolute; left: -32px; bottom: 16%;
  background: #fff; border-radius: 20px; padding: 14px 22px;
  box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column; line-height: 1.35;
  animation: float 6s ease-in-out infinite;
}
.name-chip strong { font-size: 17.5px; font-weight: 800; letter-spacing: -0.01em; }
.name-chip span { font-size: 13px; color: var(--muted); font-weight: 600; margin-top: 3px; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* decorative shapes */
.hero-deco { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.deco { position: absolute; display: block; transition: transform .6s var(--ease); }
.deco-ring { width: 180px; height: 180px; border-radius: 50%; border: 1.5px solid rgba(35, 94, 131, .18); bottom: 8%; right: 6%; }
.deco-dots {
  width: 150px; height: 150px; bottom: 9%; left: 2%;
  background-image: radial-gradient(rgba(35, 94, 131, .3) 1.6px, transparent 1.8px);
  background-size: 16px 16px;
  -webkit-mask-image: radial-gradient(circle, #000 40%, transparent 72%);
          mask-image: radial-gradient(circle, #000 40%, transparent 72%);
}
.deco-half { display: none; }
.deco-plus { font-size: 40px; font-weight: 300; color: var(--navy); top: 20%; right: 33%; line-height: 1; opacity: .5; }
.deco-spark { width: 26px; height: 26px; color: var(--yellow); top: 24%; left: 5%; }
.deco-spark svg { width: 100%; height: 100%; animation: spin 14s linear infinite; }
.deco-arc {
  width: 520px; height: 520px; border-radius: 50%;
  border: 1.5px dashed rgba(255, 194, 14, .55);
  right: -180px; top: 8%;
  animation: spin 80s linear infinite;
}

.scroll-cue {
  position: absolute; z-index: 3; left: 50%; bottom: 22px; transform: translateX(-50%);
  width: 26px; height: 42px; border-radius: 20px; border: 2px solid rgba(14, 28, 39, .2);
}
.scroll-cue span {
  position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; border-radius: 4px;
  background: var(--navy); transform: translateX(-50%);
  animation: cue 1.8s var(--ease) infinite;
}
@keyframes cue { 0% { opacity: 0; transform: translate(-50%, 0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, 14px); } }

/* =========================================================
   MARQUEE
   ========================================================= */
.marquee {
  background: var(--yellow); color: var(--ink);
  overflow: hidden; white-space: nowrap;
  padding: 16px 0;
  transform: rotate(-1.2deg) scale(1.02);
  /* pulled up into the hero: the tilt drops the left end, so a smaller overlap left a white wedge there */
  margin: -36px 0 -8px;
  position: relative; z-index: 3;
}
.marquee-track { display: inline-flex; align-items: center; gap: 46px; animation: marquee 40s linear infinite; }
.marquee span { font-size: clamp(16px, 2vw, 22px); font-weight: 800; letter-spacing: -.01em; }
.marquee i { font-style: normal; color: var(--navy); font-size: 14px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* =========================================================
   ABOUT
   ========================================================= */
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.about-media { position: relative; max-width: 460px; width: 100%; justify-self: center; }
.about-media img {
  position: relative; z-index: 1;
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 15%;
  transform: scaleX(-1); /* mirrored so the teacher faces the copy */
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.about-block {
  position: absolute; z-index: 0; inset: 10% -7% -6% 12%;
  border-radius: var(--radius-lg); background: var(--yellow);
}
.about-ring {
  position: absolute; z-index: 2; width: 110px; height: 110px; border-radius: 50%;
  border: 2px solid var(--navy); top: -28px; left: -28px; opacity: .25;
}
.about-stamp {
  position: absolute; z-index: 3; right: -18px; top: 12%;
  width: 112px; height: 112px; border-radius: 50%;
  background: var(--navy); color: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  box-shadow: var(--shadow-lg);
  animation: float 7s ease-in-out infinite;
}
.stamp-big { font-size: 34px; font-weight: 800; line-height: 1; color: var(--yellow); }
.stamp-small { font-size: 11px; font-weight: 600; margin-top: 4px; opacity: .85; line-height: 1.3; }
.about-degree { margin: 6px 0 24px; font-weight: 700; color: var(--navy); font-size: 15px; }
.about-copy .body { margin-top: 16px; }
.facts {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
  margin: 34px 0 30px; padding: 26px 0; border-block: 1px solid var(--line);
}
.facts li { display: flex; flex-direction: column; gap: 4px; }
.facts strong { font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; line-height: 1; color: var(--ink); }
.facts strong::after { content: '.'; color: var(--yellow); }
.facts span { font-size: 13.5px; color: var(--muted); line-height: 1.45; }
.yt-link {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 10px 18px 10px 10px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line);
  transition: border-color .3s, transform .3s var(--ease);
}
.yt-link:hover { border-color: #FF0033; transform: translateY(-2px); }
.yt-ic { width: 42px; height: 42px; border-radius: 50%; background: #FF0033; color: #fff; display: grid; place-items: center; }
.yt-link small { display: block; font-size: 11px; color: var(--muted); font-weight: 600; line-height: 1.2; }
.yt-link strong { font-size: 14.5px; line-height: 1.3; }
.yt-link .arrow { color: var(--muted); transition: transform .3s var(--ease); }
.yt-link:hover .arrow { transform: translateX(4px); }

/* =========================================================
   RESULTS
   ========================================================= */
.results {
  background: radial-gradient(70% 60% at 50% 0%, #1A4A69, var(--navy-deep) 70%);
  color: #fff; overflow: hidden;
}
.results-bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, .09) 1.2px, transparent 1.4px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(60% 70% at 50% 30%, #000, transparent);
          mask-image: radial-gradient(60% 70% at 50% 30%, #000, transparent);
}
.results .container { position: relative; }
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .1);
  margin-bottom: clamp(48px, 7vw, 80px);
}
.stat { padding: clamp(22px, 3vw, 36px); text-align: center; }
.stat + .stat { border-left: 1px solid rgba(255, 255, 255, .1); }
.stat-num { font-size: clamp(48px, 6.4vw, 84px); font-weight: 800; line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.stat-num em { font-style: normal; color: var(--yellow); margin-right: .12em; }
.stat-num em.b { color: #8EC5E6; }
.stat-label { margin-top: 10px; font-size: 13.5px; color: rgba(255, 255, 255, .7); line-height: 1.45; }

.sheets {
  display: flex; justify-content: center; align-items: flex-start;
  gap: clamp(12px, 2vw, 24px);
  padding: 10px 0 20px;
}
.sheet {
  position: relative; flex: 0 1 260px;
  border-radius: 18px; overflow: hidden;
  background: #fff; padding: 8px;
  box-shadow: 0 30px 50px -20px rgba(0, 0, 0, .55);
  transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}
.sheet img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: top; border-radius: 12px; }
.js .sheet.reveal.is-in:nth-child(1) { transform: rotate(-5deg) translateY(14px); }
.js .sheet.reveal.is-in:nth-child(2) { transform: rotate(2deg); }
.js .sheet.reveal.is-in:nth-child(3) { transform: rotate(-2deg) translateY(6px); }
.js .sheet.reveal.is-in:nth-child(4) { transform: rotate(5deg) translateY(18px); }
.js .sheet.reveal.is-in:hover, .sheet:focus-visible { transform: rotate(0) translateY(-12px) scale(1.03); z-index: 2; }
.sheet-tag {
  position: absolute; left: 18px; bottom: 18px;
  font-size: 12px; font-weight: 700; color: var(--ink);
  background: var(--yellow); padding: 5px 12px; border-radius: 999px;
}
.sheets-hint { text-align: center; font-size: 13px; color: rgba(255, 255, 255, .55); margin-top: 26px; }

/* =========================================================
   PROCESS
   ========================================================= */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 4vw, 56px) clamp(24px, 3.5vw, 48px); counter-reset: s; }
.step { border-top: 1px solid var(--line); padding-top: 26px; position: relative; }
.step::before {
  content: ''; position: absolute; top: -1px; left: 0; height: 2px; width: 0;
  background: var(--yellow); transition: width .7s var(--ease);
}
.step:hover::before { width: 100%; }
.step-no {
  display: block; font-size: 60px; font-weight: 800; line-height: 1; letter-spacing: -.03em;
  color: transparent; -webkit-text-stroke: 1.5px var(--navy);
  transition: color .4s, -webkit-text-stroke-color .4s;
  margin-bottom: 18px;
}
.step:hover .step-no { color: var(--yellow); -webkit-text-stroke-color: var(--yellow); }
.step h3 { font-size: 20px; font-weight: 800; margin-bottom: 8px; line-height: 1.35; }
.step p { color: var(--muted); font-size: 15px; line-height: 1.7; }

/* =========================================================
   SPECIALTIES
   ========================================================= */
.special { background: #fff; }
.bento { display: grid; grid-template-columns: 1.15fr 1fr; gap: 20px; }
.card {
  position: relative; overflow: hidden;
  border-radius: var(--radius-lg);
  padding: clamp(28px, 3.6vw, 44px);
  background: var(--bg); border: 1px solid var(--line);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card-tall { grid-row: span 2; display: flex; flex-direction: column; align-items: flex-start; }
.card-yellow { background: var(--yellow); border-color: transparent; }
.card-navy { background: var(--navy); color: #fff; border-color: transparent; }
.card-no { display: inline-block; font-size: 13px; font-weight: 800; padding: 4px 10px; border-radius: 999px; background: rgba(14, 28, 39, .08); margin-bottom: 22px; }
.card-navy .card-no { background: rgba(255, 255, 255, .14); }
.card h3 { font-size: clamp(22px, 2.6vw, 32px); font-weight: 800; line-height: 1.3; margin-bottom: 12px; }
.card p { color: var(--muted); max-width: 440px; }
.card-yellow p { color: rgba(14, 28, 39, .75); }
.card-navy p { color: rgba(255, 255, 255, .78); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; position: relative; z-index: 1; }
.chips li { font-size: 13.5px; font-weight: 700; padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .7); }
.card-emblem {
  position: absolute; right: -40px; bottom: -50px; width: 260px; opacity: .1;
  transition: transform 1.2s var(--ease);
}
.card-yellow:hover .card-emblem { transform: rotate(-12deg) scale(1.05); }

/* =========================================================
   CLASSES
   ========================================================= */
.venues { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.venue {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.venue:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.venue-img { aspect-ratio: 16 / 10; overflow: hidden; background: #eef2f5; }
.venue-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.venue:hover .venue-img img { transform: scale(1.06); }
.venue-body { padding: 24px 24px 28px; }
.tag { display: inline-block; font-size: 11.5px; font-weight: 800; letter-spacing: .08em; padding: 5px 10px; border-radius: 8px; background: var(--yellow-soft); color: #8A6400; }
.tag-navy { background: #E6F0F6; color: var(--navy); }
.venue h3 { font-size: 22px; font-weight: 800; margin: 12px 0 14px; line-height: 1.35; }
.ticks { display: flex; flex-direction: column; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--muted); line-height: 1.55; }
.ticks .ic { width: 18px; height: 18px; color: var(--navy); margin-top: 2px; }

/* =========================================================
   VIDEO
   ========================================================= */
.video-sec { padding-top: 0; }
.video-card {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  aspect-ratio: 16 / 9; background: #0b1620; box-shadow: var(--shadow-lg);
}
.video-card video { width: 100%; height: 100%; object-fit: cover; display: block; }
.video-card::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent 45%, rgba(8, 20, 30, .7));
  transition: opacity .5s;
}
.video-card.is-playing::after { opacity: 0; }
.video-play {
  position: absolute; z-index: 2; right: clamp(20px, 4vw, 44px); bottom: clamp(18px, 4vw, 40px);
  width: clamp(60px, 8vw, 88px); height: clamp(60px, 8vw, 88px); border-radius: 50%;
  background: var(--yellow); color: var(--ink);
  display: grid; place-items: center;
  transition: transform .4s var(--ease), opacity .4s;
}
.video-play::before {
  content: ''; position: absolute; inset: -10px; border-radius: 50%;
  border: 2px solid rgba(255, 194, 14, .6); animation: ping 2.4s infinite;
}
.video-play .ic { width: 34%; height: 34%; margin-left: 6%; }
.video-play:hover { transform: scale(1.08); }
.video-caption { position: absolute; z-index: 2; left: clamp(20px, 4vw, 44px); right: 140px; bottom: clamp(18px, 4vw, 40px); transition: opacity .4s; }
.video-caption .eyebrow { margin-bottom: 6px; }
.video-card.is-playing .video-play, .video-card.is-playing .video-caption { opacity: 0; pointer-events: none; }

/* =========================================================
   GALLERY
   ========================================================= */
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter {
  height: 40px; padding: 0 18px; border-radius: 999px;
  font-size: 14px; font-weight: 700; color: var(--muted);
  border: 1.5px solid var(--line); background: #fff;
  transition: all .3s var(--ease);
}
.filter:hover { color: var(--ink); border-color: #cfd8de; }
.filter.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.masonry { columns: 3; column-gap: 16px; }
.m-item { break-inside: avoid; margin-bottom: 16px; border-radius: 20px; overflow: hidden; background: #eef2f5; position: relative; transition: opacity .4s; }
.m-item.is-hidden { display: none; }
.m-item button { display: block; width: 100%; position: relative; }
.m-item img { width: 100%; height: auto; transition: transform 1s var(--ease); }
.m-item button::after {
  content: ''; position: absolute; inset: 0;
  background: rgba(14, 46, 67, .25) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='6.5'/%3E%3Cpath d='m20 20-4.2-4.2M11 8.5v5M8.5 11h5'/%3E%3C/svg%3E") center / 40px no-repeat;
  opacity: 0; transition: opacity .4s;
}
.m-item:hover img { transform: scale(1.05); }
.m-item:hover button::after { opacity: 1; }

/* =========================================================
   FAQ
   ========================================================= */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq-head .sub { margin: 14px 0 22px; }
.faq-head { position: sticky; top: calc(var(--header-h) + 24px); }
.qa { border-bottom: 1px solid var(--line); }
.qa:first-child { border-top: 1px solid var(--line); }
.qa summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 24px 0; font-size: clamp(16px, 1.6vw, 19px); font-weight: 700; line-height: 1.45;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary i {
  flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%;
  border: 1.5px solid var(--line); position: relative; transition: background .3s, border-color .3s, transform .4s var(--ease);
}
.qa summary i::before, .qa summary i::after {
  content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; border-radius: 2px;
  background: var(--ink); transform: translate(-50%, -50%);
}
.qa summary i::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .4s var(--ease); }
.qa[open] summary i { background: var(--yellow); border-color: var(--yellow); }
.qa[open] summary i::after { transform: translate(-50%, -50%) rotate(0); }
.qa p { color: var(--muted); padding: 0 56px 26px 0; }

/* =========================================================
   CONTACT
   ========================================================= */
.contact { padding-top: 0; }
.contact-card {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center;
  background: var(--yellow-soft);
  border-radius: clamp(28px, 4vw, 48px);
  padding: clamp(28px, 6vw, 72px);
}
.contact-deco {
  position: absolute; width: 420px; height: 420px; border-radius: 50%;
  background: var(--yellow); opacity: .45; left: -160px; bottom: -220px;
}
.contact-info, .form { position: relative; z-index: 1; min-width: 0; }
.contact-list { display: flex; flex-direction: column; gap: 6px; margin: 30px 0 28px; }
.contact-list a, .contact-list div { display: flex; align-items: center; gap: 14px; padding: 8px 0; }
.contact-list small { display: block; font-size: 12px; color: var(--muted); font-weight: 600; line-height: 1.2; }
.contact-list span { font-weight: 700; line-height: 1.45; }
.c-ic { width: 46px; height: 46px; border-radius: 50%; background: #fff; display: grid; place-items: center; color: var(--navy); flex-shrink: 0; }
.contact-list a:hover .c-ic { background: var(--ink); color: var(--yellow); }
.c-ic { transition: background .3s, color .3s; }
.socials { display: flex; gap: 10px; flex-wrap: wrap; }
.socials a {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: var(--ink); color: #fff; transition: transform .3s var(--ease), background .3s;
}
.socials a:hover { transform: translateY(-3px); background: var(--navy); }
.socials .ic { width: 19px; height: 19px; }

.form { background: #fff; border-radius: var(--radius); padding: clamp(24px, 3.5vw, 40px); box-shadow: var(--shadow-lg); }
.form h3 { font-size: 22px; font-weight: 800; margin-bottom: 20px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; min-width: 0; }
.field > span { font-size: 13px; font-weight: 700; color: var(--ink); }
.field input, .field select {
  width: 100%; height: 50px; padding: 0 16px;
  border-radius: 14px; border: 1.5px solid var(--line); background: var(--bg);
  font: inherit; font-size: 15px; color: var(--ink);
  transition: border-color .25s, box-shadow .25s, background .25s;
  -webkit-appearance: none; appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235A6A77' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 40px;
}
.field input:focus, .field select:focus { outline: none; border-color: var(--yellow); background: #fff; box-shadow: 0 0 0 4px rgba(255, 194, 14, .2); }
.field input.is-invalid { border-color: #E5484D; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form .btn { margin-top: 8px; }
.form-note { font-size: 13px; color: #E5484D; min-height: 1.2em; margin-top: 10px; text-align: center; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { background: var(--navy-deep); color: rgba(255, 255, 255, .6); padding: 48px 0 calc(40px + env(safe-area-inset-bottom)); margin-top: clamp(72px, 10vw, 130px); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer-logo { height: 34px; width: auto; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: 14px; font-weight: 600; }
.footer-nav a:hover { color: var(--yellow); }
.copy { font-size: 13px; width: 100%; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .1); }

/* =========================================================
   SMALL SHARED BITS
   ========================================================= */
.modal-open { overflow: hidden; }
.btn-outline { background: #fff; color: var(--ink); border: 1.5px solid var(--line); box-shadow: none; }
.btn-outline:hover { border-color: var(--ink); }
.soon-tag {
  font-style: normal; font-size: 10px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  padding: 3px 8px; border-radius: 999px; background: var(--yellow); color: var(--ink); line-height: 1.2;
}
.lms-header-btn { gap: 8px; padding: 0 8px 0 16px; }
.lms-header-btn .ic { color: var(--navy); }

.step-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.step-tags li {
  font-size: 12.5px; font-weight: 700; padding: 5px 11px; border-radius: 999px;
  background: var(--yellow-soft); color: #7A5900;
}
.stat-label span { display: block; font-size: 12.5px; opacity: .75; margin-top: 2px; }
.form-lead { font-size: 14px; color: var(--muted); margin: -10px 0 18px; line-height: 1.6; }
.form-note.is-ok { color: #0F8A5F; }

/* =========================================================
   FLOATING STUDENT LMS BUTTON
   ========================================================= */
.lms-fab {
  position: fixed; z-index: 40; right: 24px; bottom: calc(24px + env(safe-area-inset-bottom));
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--ink); color: #fff;
  padding: 10px 12px 10px 18px; border-radius: 999px;
  box-shadow: 0 16px 36px -12px rgba(14, 28, 39, .55);
  font-size: 14px; font-weight: 700;
  transition: transform .35s var(--ease), background .35s, opacity .35s, visibility .35s;
}
.lms-fab:hover { transform: translateY(-3px); background: var(--navy); }
.lms-fab .ic { width: 20px; height: 20px; color: var(--yellow); }
.lms-fab-pulse {
  width: 8px; height: 8px; border-radius: 50%; background: var(--yellow);
  animation: lmsPulse 2s infinite;
}
@keyframes lmsPulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 194, 14, .8); }
  70% { box-shadow: 0 0 0 10px rgba(255, 194, 14, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 194, 14, 0); }
}
.js .lms-fab:not(.is-shown), .menu-open .lms-fab, .modal-open .lms-fab {
  opacity: 0; visibility: hidden; transform: translateY(16px); pointer-events: none;
}

/* =========================================================
   STUDENT LMS · COMING SOON
   A page torn from the student's exercise book: ruled lines,
   red margin, teacher's ticks, one highlighted word.
   ========================================================= */
.cs-modal {
  --paper: #FFFEFA;
  --rule: #CFE0EC;
  --redpen: #D64541;
  --m: 72px;                 /* red margin position */
  position: fixed; inset: 0; z-index: 120;
  display: grid; place-items: center; padding: 24px;
  visibility: hidden; pointer-events: none;
}
.cs-modal.is-open { visibility: visible; pointer-events: auto; }
.cs-backdrop {
  position: absolute; inset: 0;
  background: rgba(14, 28, 39, .62);
  opacity: 0; transition: opacity .35s var(--ease);
}
.cs-modal.is-open .cs-backdrop { opacity: 1; }

.cs-dialog {
  position: relative; width: 100%; max-width: 560px;
  max-height: calc(100svh - 48px); overflow-y: auto; overscroll-behavior: contain;
  background: var(--paper); border-radius: 6px;
  box-shadow: 0 0 0 1px rgba(14, 28, 39, .05), 0 2px 0 rgba(14, 28, 39, .04), 0 36px 70px -24px rgba(0, 0, 0, .55);
  opacity: 0; transform: translateY(30px) rotate(-1.4deg);
  transition: opacity .35s var(--ease), transform .55s var(--ease);
}
.cs-modal.is-open .cs-dialog { opacity: 1; transform: none; }

.cs-margin {
  position: absolute; z-index: 0; top: 0; bottom: 0; left: var(--m);
  border-left: 1.5px solid rgba(214, 69, 65, .5); pointer-events: none;
}
.cs-head {
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 16px 14px calc(var(--m) + 20px);
  border-bottom: 3px double rgba(214, 69, 65, .45);
}
.cs-logo { height: 30px; width: auto; }
.cs-close {
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; color: var(--ink);
  transition: background .2s;
}
.cs-close:hover { background: var(--yellow-soft); }
.cs-close .ic { width: 20px; height: 20px; }

.cs-main { position: relative; z-index: 1; padding: 26px 32px 30px calc(var(--m) + 20px); }
.cs-url { font-size: 14px; font-weight: 700; color: var(--navy); }
.cs-title {
  margin: 4px 0 12px;
  font-family: 'Noto Sans Sinhala', var(--font);
  font-size: clamp(64px, 12vw, 108px); font-weight: 900; line-height: 1.12; letter-spacing: -.01em;
  color: var(--ink);
}
.cs-hl { position: relative; display: inline-block; z-index: 0; }
.cs-hl::before {
  content: ''; position: absolute; z-index: -1;
  left: -.1em; right: -.14em; top: 50%; bottom: 8%;
  background: var(--yellow);
  border-radius: 3px 18px 5px 14px / 12px 5px 14px 4px;
  transform: skewX(-8deg) rotate(-1.5deg) scaleX(0); transform-origin: left center;
  transition: transform .6s cubic-bezier(.6, 0, .2, 1) .3s;
}
.cs-modal.is-open .cs-hl::before { transform: skewX(-8deg) rotate(-1.5deg) scaleX(1); }
.cs-desc { font-size: 16px; line-height: 1.75; color: #33434F; max-width: 40ch; }

.cs-list { margin-top: 8px; }
.cs-list li {
  position: relative;
  display: flex; align-items: flex-end; min-height: 48px;
  margin: 0 -32px 0 calc(-1 * (var(--m) + 20px));
  padding: 0 32px 8px calc(var(--m) + 20px);
  border-bottom: 1px solid var(--rule);
  font-size: 15.5px; font-weight: 600; line-height: 1.45; color: var(--ink);
}
.cs-tick {
  position: absolute; left: calc(var(--m) - 42px); bottom: 9px;
  width: 26px; height: 26px;
  fill: none; stroke: var(--redpen); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round;
}

.cs-foot {
  position: relative; z-index: 1;
  display: grid; justify-items: start; gap: 2px;
  padding: 20px 28px 24px calc(var(--m) + 20px);
  background: var(--yellow);
}
.cs-foot p { font-size: 14px; font-weight: 600; color: rgba(14, 28, 39, .78); }
.cs-phone {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 32px; font-weight: 800; line-height: 1.15; letter-spacing: -.01em; color: var(--ink);
}
.cs-phone .ic { width: .8em; height: .8em; color: #128C4A; flex: none; }
.cs-phone:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.cs-channel {
  margin-top: 12px;
  display: inline-flex; align-items: center; gap: 8px;
  padding-bottom: 3px; border-bottom: 2px solid var(--ink);
  font-size: 14px; font-weight: 700; color: var(--ink);
}
.cs-channel .ic { width: 18px; height: 18px; }
.cs-channel:hover { color: var(--navy); border-color: var(--navy); }

/* =========================================================
   LIGHTBOX
   ========================================================= */
.lightbox {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(7, 18, 27, .94);
  display: flex; align-items: center; justify-content: center;
  padding: 64px 72px;
  opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lb-figure { display: flex; flex-direction: column; align-items: center; gap: 14px; max-width: 100%; max-height: 100%; }
.lb-figure img {
  max-width: min(1100px, 100%); max-height: calc(100svh - 170px);
  width: auto; height: auto; border-radius: 14px; object-fit: contain;
  transform: scale(.96); transition: transform .45s var(--ease);
}
.lightbox.is-open .lb-figure img { transform: none; }
.lb-figure figcaption { color: rgba(255, 255, 255, .75); font-size: 14px; font-weight: 600; text-align: center; }
.lb-btn {
  position: absolute; width: 48px; height: 48px; border-radius: 50%;
  background: rgba(255, 255, 255, .1); color: #fff; display: grid; place-items: center;
  transition: background .3s;
}
.lb-btn:hover { background: var(--yellow); color: var(--ink); }
.lb-close { top: 18px; right: 18px; }
.lb-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 18px; top: 50%; transform: translateY(-50%); }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1240px) {
  .nav a { padding: 8px 10px; font-size: 14px; }
}
@media (min-width: 1081px) and (max-width: 1240px) {
  .lms-header-btn { display: none; }
}

@media (max-width: 1080px) {
  .nav { display: none; }
  .menu-btn { display: block; }

  .hero { --hero-pb: 88px; --bleed: 0px; min-height: auto; padding-top: calc(var(--header-h) + 36px); }
  .hero-grid {
    grid-template-columns: 1fr;
    grid-template-areas: "logo" "teacher";
    row-gap: 36px;
  }
  .hero-logo { width: 100%; max-width: 720px; justify-self: center; }
  .hero-teacher { justify-self: center; width: min(100%, 480px); }
  .deco-ring { bottom: 6%; right: 4%; }
  .deco-plus { top: 12%; right: 8%; }
  .deco-arc { top: 40%; }

  .steps { grid-template-columns: repeat(2, 1fr); }
  /* the cards only hold a photo, a tag and a title, so all three stay side by side */
  .venues { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
  .venue-body { padding: 18px 18px 20px; }
  .venue h3 { font-size: 18px; margin: 10px 0 0; }
  .venue .tag { font-size: 9.5px; letter-spacing: .03em; white-space: nowrap; max-width: 100%; overflow: hidden; text-overflow: ellipsis; vertical-align: top; }
  .masonry { columns: 2; }
}

@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-media { max-width: 400px; margin-bottom: 12px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .1); }
  .sheets {
    justify-content: flex-start; overflow-x: auto; scroll-snap-type: x mandatory;
    margin: 0 calc(-1 * clamp(20px, 4vw, 40px)); padding: 10px clamp(20px, 4vw, 40px) 26px;
    scrollbar-width: none;
  }
  .sheets::-webkit-scrollbar { display: none; }
  .sheet { flex: 0 0 min(62%, 280px); scroll-snap-align: center; }
  .js .sheet.reveal.is-in:nth-child(n) { transform: none; }
  .bento { grid-template-columns: 1fr; }
  .card-tall { grid-row: auto; min-height: 380px; }
  .faq-grid { grid-template-columns: 1fr; }
  .faq-head { position: static; }
  .contact-card { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 640px) {
  :root { --header-h: 66px; }
  .brand img { height: 32px; }
  .hide-sm { display: none; }

  .hero { --hero-pb: 72px; padding-top: calc(var(--header-h) + 22px); }
  .hero-grid { row-gap: 14px; }
  .logo-hint { font-size: 11px; }
  .hero-teacher { width: min(100%, 380px); }
  .name-chip { left: auto; right: 0; bottom: 16%; padding: 10px 16px; border-radius: 16px; max-width: 100%; }
  .name-chip strong { font-size: 14.5px; }
  .name-chip span { font-size: 11px; display: block; }
  .deco-ring, .deco-arc { display: none; }
  .deco-dots { width: 100px; height: 100px; bottom: auto; top: 46%; }
  .deco-half, .deco-plus { display: none; }
  .scroll-cue { display: none; }

  .marquee { padding: 12px 0; }
  .facts { gap: 10px; }
  .facts span { font-size: 12px; }
  .about-stamp { width: 90px; height: 90px; right: -6px; }
  .stamp-big { font-size: 26px; }
  .about-ring { display: none; }

  .steps { grid-template-columns: 1fr; gap: 34px; }
  .step-no { font-size: 48px; margin-bottom: 12px; }
  .venues { grid-template-columns: 1fr; }
  .section-head.split { align-items: flex-start; }
  .masonry { column-gap: 10px; }
  .m-item { margin-bottom: 10px; border-radius: 14px; }
  .video-card { aspect-ratio: 4 / 3; border-radius: 24px; }
  .video-caption { right: 90px; }
  .video-caption .h3 { font-size: 18px; }
  .video-card video { object-fit: cover; }
  .qa p { padding-right: 0; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .footer-inner { flex-direction: column; align-items: flex-start; }

  .lms-fab { right: 14px; bottom: calc(14px + env(safe-area-inset-bottom)); padding: 10px 10px 10px 14px; gap: 8px; }
  .lms-fab-text, .lms-fab-pulse { display: none; }
  .footer { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
  .sheet-tag { left: 14px; bottom: 14px; font-size: 11px; }
  .stat-label span { font-size: 11.5px; }
  .contact-card { padding: 26px 20px; }
  .form { padding: 22px 18px; }

  .cs-modal { padding: 0; place-items: end center; --m: 40px; }
  .cs-dialog { max-width: none; max-height: 92svh; border-radius: 14px 14px 0 0; transform: translateY(100%); }
  .cs-modal.is-open .cs-dialog { transform: none; }
  .cs-head { padding: 12px 10px 10px calc(var(--m) + 16px); }
  .cs-logo { height: 26px; }
  .cs-main { padding: 20px 20px 22px calc(var(--m) + 16px); }
  .cs-title { font-size: 66px; }
  .cs-desc { font-size: 15px; }
  .cs-list li { margin: 0 -20px 0 calc(-1 * (var(--m) + 16px)); padding: 0 20px 8px calc(var(--m) + 16px); min-height: 46px; font-size: 14.5px; }
  .cs-tick { left: 8px; width: 24px; height: 24px; }
  .cs-foot { padding: 18px 20px calc(20px + env(safe-area-inset-bottom)) calc(var(--m) + 16px); }
  .cs-phone { font-size: 27px; }
  .lightbox { padding: 64px 12px 90px; }
  .lb-prev, .lb-next { top: auto; bottom: 22px; transform: none; }
  .lb-prev { left: calc(50% - 60px); }
  .lb-next { right: calc(50% - 60px); }
}

@media (max-width: 380px) {
  .hero-teacher { width: min(100%, 300px); }
  .facts { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  html { scroll-behavior: auto; }
}


/* =========================================================
   RESULTS · year tabs
   ========================================================= */
.year-tabs {
  display: flex; gap: 4px; width: max-content; max-width: 100%;
  margin: 0 auto clamp(28px, 4vw, 40px); padding: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12);
}
.year-tab {
  height: 44px; padding: 0 26px; border-radius: 999px;
  font-size: 15px; font-weight: 800; letter-spacing: .01em; font-variant-numeric: tabular-nums;
  color: rgba(255, 255, 255, .72);
  transition: background .35s var(--ease), color .35s var(--ease);
}
.year-tab:hover { color: #fff; }
.year-tab.is-active { background: var(--yellow); color: var(--ink); }
.year-tab:focus-visible { outline: 2px solid var(--yellow); outline-offset: 3px; }
.year-panel { animation: yearIn .6s var(--ease); }
.year-panel.is-hidden { display: none; }
@keyframes yearIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

.year-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0 auto 28px; max-width: 900px; }
.year-note { flex-basis: 100%; text-align: center; font-size: 14px; font-weight: 600; color: var(--yellow); margin: 0 0 2px; }
.year-pill {
  font-size: 13px; line-height: 1.4; padding: 8px 16px; border-radius: 999px;
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12);
  color: rgba(255, 255, 255, .85);
}
.year-pill b { color: var(--yellow); font-weight: 800; }

.stats.stats-5 { grid-template-columns: repeat(5, 1fr); }
.stats-5 .stat-num { font-size: clamp(40px, 5vw, 68px); }

.sheet-extra { display: none !important; }
.sheet-more {
  position: absolute; right: 18px; top: 18px;
  font-size: 12px; font-weight: 800; color: #fff;
  background: rgba(14, 28, 39, .82); padding: 5px 12px; border-radius: 999px;
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}

/* =========================================================
   REVIEWS (text testimonials)
   ========================================================= */
.reviews { background: var(--bg); }

.t-feature {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: auto 1fr; gap: clamp(8px, 3vw, 40px);
  padding: clamp(30px, 5vw, 64px) clamp(26px, 5vw, 72px);
  margin: 0 0 clamp(20px, 3vw, 28px);
  border-radius: var(--radius-lg);
  background: radial-gradient(90% 140% at 0% 0%, #1A4A69, var(--navy-deep) 70%);
  color: #fff; box-shadow: var(--shadow-lg);
}
.t-feature::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, .08) 1.2px, transparent 1.4px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(60% 90% at 100% 100%, #000, transparent);
          mask-image: radial-gradient(60% 90% at 100% 100%, #000, transparent);
}
.t-mark {
  font-family: Georgia, 'Times New Roman', serif; font-weight: 700;
  font-size: clamp(96px, 13vw, 180px); line-height: .78; color: var(--yellow);
  margin-top: -.04em;
}
.t-feature-body { position: relative; z-index: 1; }
.t-feature blockquote, .t-body { margin: 0; }
.t-feature blockquote p { font-size: clamp(18px, 2.1vw, 25px); line-height: 1.75; font-weight: 500; color: #fff; max-width: 60ch; }
.t-feature blockquote p + p { margin-top: .7em; font-size: clamp(15px, 1.4vw, 17px); font-weight: 700; color: var(--yellow); }
.t-feature .t-author { border-top-color: rgba(255, 255, 255, .14); margin-top: clamp(22px, 3vw, 32px); }
.t-feature .t-name { color: #fff; font-size: 16px; }
.t-feature .t-meta { color: rgba(255, 255, 255, .65); }
.t-feature .t-year { background: var(--yellow); color: var(--ink); }

.t-grid { columns: 3; column-gap: 20px; }
.t-card {
  position: relative; break-inside: avoid;
  margin: 0 0 20px; padding: 28px 26px 22px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s;
}
.t-card::before {
  content: '“'; display: block; height: 34px; margin: -4px 0 8px;
  font-family: Georgia, 'Times New Roman', serif; font-weight: 700;
  font-size: 64px; line-height: 1; color: var(--yellow);
  pointer-events: none;
}
.t-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: #dde5ea; }
.t-body {
  position: relative; overflow: hidden;
  max-height: calc(1.85em * 8);
  font-size: 15px; line-height: 1.85; color: #2A3A46;
}
.t-body p + p { margin-top: .75em; }
.t-card.is-clamped .t-body::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 3.6em;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff);
}
.t-card.is-open .t-body, .t-card.is-full .t-body { max-height: none; }
.t-more {
  display: none; margin-top: 8px; padding: 0;
  font-size: 13px; font-weight: 800; color: var(--navy);
  align-items: center; gap: 6px;
}
.t-more::after { content: ''; width: 7px; height: 7px; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg) translateY(-2px); transition: transform .3s; }
.t-card.is-open .t-more::after { transform: rotate(-135deg) translate(-2px, 0); }
.t-card.is-clamped .t-more, .t-card.is-open .t-more { display: inline-flex; }
.t-more:hover { color: var(--ink); }
.t-more:focus-visible { outline: 2px solid var(--yellow); outline-offset: 3px; border-radius: 4px; }

.t-author { display: flex; align-items: center; gap: 12px; margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--line); }
.t-avatar {
  flex: none; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: 19px; font-weight: 800; color: var(--ink);
}
.t-avatar.c0 { background: var(--yellow); }
.t-avatar.c1 { background: #FFE9A8; }
.t-avatar.c2 { background: #D7E9F5; color: var(--navy-2); }
.t-avatar.c3 { background: #FDE2C8; }
.t-avatar-yt { background: #FFE5E5; }
.t-avatar-yt .ic { width: 20px; height: 20px; color: #FF0000; }
.t-who { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.t-name { font-size: 15px; font-weight: 700; color: var(--ink); line-height: 1.3; }
.t-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; font-size: 12.5px; color: var(--muted); }
.t-year { font-size: 11.5px; font-weight: 800; color: var(--navy-2); background: var(--yellow-soft); padding: 2px 9px; border-radius: 999px; }
.t-src { display: inline-flex; align-items: center; gap: 5px; }
.t-src .ic { width: 15px; height: 15px; color: #FF0000; }

@media (max-width: 1080px) {
  .t-grid { columns: 2; }
}
@media (max-width: 860px) {
  .stats.stats-5 { grid-template-columns: repeat(2, 1fr); }
  .stats-5 .stat:nth-child(5) { grid-column: 1 / -1; border-left: 0; }
  .stats-5 .stat-num { font-size: clamp(44px, 11vw, 64px); }
}
@media (max-width: 640px) {
  .year-tab { height: 40px; padding: 0 16px; font-size: 14px; }
  .year-pill { font-size: 12px; padding: 7px 12px; }
  .t-feature { grid-template-columns: 1fr; gap: 0; }
  .t-mark { font-size: 96px; height: .55em; }
  .t-grid {
    columns: auto; display: flex; gap: 12px; align-items: flex-start;
    overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin: 0 calc(-1 * clamp(20px, 4vw, 40px)); padding: 4px clamp(20px, 4vw, 40px) 18px;
  }
  .t-grid::-webkit-scrollbar { display: none; }
  .t-card { flex: 0 0 86%; margin: 0; scroll-snap-align: center; }
  .t-card:hover { transform: none; }
}


/* =========================================================
   PROCESS · Road to an 'A'
   ========================================================= */
.process {
  background: radial-gradient(70% 55% at 85% 10%, #1A4A69, var(--navy-deep) 65%);
  color: #fff; overflow: clip;
}
.process-bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, .08) 1.2px, transparent 1.4px);
  background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 70%);
          mask-image: linear-gradient(180deg, #000, transparent 70%);
}
.process .container { position: relative; }
.journey { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.journey-aside { align-self: stretch; }
.journey-sticky { position: sticky; top: calc(var(--header-h) + 36px); }
.journey-sticky .sub { margin-top: 14px; max-width: 42ch; }

.journey-dial { position: relative; width: clamp(190px, 17vw, 230px); aspect-ratio: 1; margin: clamp(28px, 4vw, 44px) 0 18px; --p: 0; }
.journey-dial > svg { width: 100%; height: 100%; overflow: visible; }
.dial-track, .dial-seg { fill: none; stroke-width: 11; stroke-linecap: round; }
.dial-track { stroke: rgba(255, 255, 255, .1); }
.dial-seg {
  stroke: var(--yellow); stroke-dasharray: 0 var(--c); opacity: 0;
  transition: stroke-dasharray .8s var(--ease), opacity .3s;
  filter: drop-shadow(0 0 6px rgba(255, 194, 14, .45));
}
.dial-seg.on { stroke-dasharray: var(--d) var(--c); opacity: 1; }
.dial-a {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-size: clamp(84px, 8vw, 108px); font-weight: 800; line-height: 1; letter-spacing: -.04em;
  background: linear-gradient(160deg, #FFE48A 10%, var(--yellow) 45%, #E0A100 90%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  opacity: calc(.28 + var(--p) * .72);
  transform: scale(calc(.82 + var(--p) * .18));
  transition: opacity .7s var(--ease), transform .7s var(--ease), filter .7s;
}
.journey-dial.done .dial-a { filter: drop-shadow(0 0 22px rgba(255, 194, 14, .55)); }
.dial-spark { position: absolute; right: 12%; top: 12%; width: 22px; height: 22px; color: var(--yellow); opacity: 0; transform: scale(.3) rotate(-30deg); transition: opacity .5s, transform .7s var(--ease); }
.dial-spark .ic { width: 100%; height: 100%; }
.journey-dial.done .dial-spark { opacity: 1; transform: none; animation: sparkPulse 2.4s ease-in-out infinite; }
@keyframes sparkPulse { 50% { transform: scale(.75) rotate(20deg); } }

.journey-now { display: flex; flex-direction: column; gap: 4px; min-height: 58px; }
.journey-now span { font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .55); }
.journey-now b { color: var(--yellow); }
.journey-now strong { font-size: 22px; font-weight: 800; color: #fff; }

.journey-mini { display: none; }

.journey-steps-wrap { position: relative; }
.journey-steps { list-style: none; margin: 0; padding: 0; }
.journey-line { position: absolute; left: 31px; top: 34px; bottom: 34px; width: 2px; background: rgba(255, 255, 255, .1); border-radius: 2px; }
.journey-line-fill {
  position: absolute; left: 0; top: 0; width: 100%; height: calc(var(--fill, 0) * 100%);
  background: linear-gradient(180deg, #FFE48A, var(--yellow));
  box-shadow: 0 0 12px rgba(255, 194, 14, .6); border-radius: 2px;
}
.jstep { position: relative; display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: clamp(16px, 2.4vw, 28px); align-items: start; }
.jstep + .jstep { margin-top: clamp(18px, 2.4vw, 26px); }
.jstep-node {
  position: relative; z-index: 1;
  width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center;
  background: #12364F; border: 1px solid rgba(255, 255, 255, .14);
  color: rgba(255, 255, 255, .6);
  transition: background .5s var(--ease), color .5s, box-shadow .5s, border-color .5s;
}
.jstep-node .ic { width: 26px; height: 26px; }
.jstep.is-passed .jstep-node, .jstep.is-active .jstep-node { background: var(--yellow); color: var(--ink); border-color: var(--yellow); }
.jstep.is-active .jstep-node { box-shadow: 0 0 0 8px rgba(255, 194, 14, .14), 0 0 30px rgba(255, 194, 14, .45); }

.jstep-card {
  position: relative; overflow: hidden;
  padding: clamp(22px, 2.6vw, 30px) clamp(22px, 2.8vw, 32px);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .035);
  border: 1px solid rgba(255, 255, 255, .09);
  transition: background .5s var(--ease), border-color .5s, transform .6s var(--ease), box-shadow .6s var(--ease);
}
.jstep.is-active .jstep-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .03));
  border-color: rgba(255, 194, 14, .45);
  transform: translateX(6px);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6);
}
.jstep-no {
  position: absolute; right: 18px; top: 6px;
  font-size: clamp(64px, 6vw, 92px); font-weight: 800; line-height: 1; letter-spacing: -.04em;
  color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, .1);
  transition: -webkit-text-stroke-color .5s;
  pointer-events: none;
}
.jstep.is-active .jstep-no { -webkit-text-stroke-color: rgba(255, 194, 14, .55); }
.jstep-kicker { display: block; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--yellow); margin-bottom: 8px; }
.jstep-card h3 { font-size: clamp(19px, 1.7vw, 23px); font-weight: 800; line-height: 1.3; margin-bottom: 10px; color: #fff; padding-right: 70px; }
.jstep-card p { font-size: 15px; line-height: 1.85; color: rgba(255, 255, 255, .72); }
.jstep-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.jstep-tags li {
  font-size: 12.5px; font-weight: 700; padding: 6px 12px; border-radius: 999px;
  background: rgba(255, 194, 14, .12); color: var(--yellow); border: 1px solid rgba(255, 194, 14, .25);
}

.jstep-finish { align-items: center; }
.jstep-finish .jstep-node { background: transparent; border: 2px dashed rgba(255, 194, 14, .5); color: var(--yellow); }
.jstep-finish .jstep-node b { font-size: 30px; font-weight: 800; line-height: 1; }
.jstep-finish.is-passed .jstep-node, .jstep-finish.is-active .jstep-node {
  background: linear-gradient(160deg, #FFE48A, var(--yellow) 50%, #E0A100); border: 0; color: var(--ink);
  box-shadow: 0 0 0 8px rgba(255, 194, 14, .14), 0 0 40px rgba(255, 194, 14, .6);
}
.jfinish { display: flex; flex-direction: column; gap: 2px; }
.jfinish strong { font-size: 20px; font-weight: 800; color: #fff; }
.jfinish span { font-size: 13.5px; color: rgba(255, 255, 255, .6); }

@media (max-width: 1080px) {
  .journey { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .journey-sticky { position: static; }
  .journey-dial, .journey-now { display: none; }
  .journey-mini {
    display: flex; flex-direction: column; gap: 8px;
    position: sticky; top: calc(var(--header-h) + 10px); z-index: 5;
    margin-bottom: 18px; padding: 12px 16px;
    border-radius: 16px; background: rgba(14, 46, 67, .88);
    border: 1px solid rgba(255, 255, 255, .12);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  }
  .jm-segs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 5px; }
  .jm-segs i { height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .14); transition: background .4s; }
  .jm-segs i.on { background: var(--yellow); }
  .jm-text { font-size: 13px; font-weight: 700; color: rgba(255, 255, 255, .7); }
  .jm-text b, .jm-text .jn-title { color: var(--yellow); }
}
@media (max-width: 640px) {
  .jstep { grid-template-columns: 48px minmax(0, 1fr); gap: 14px; }
  .jstep-node { width: 48px; height: 48px; }
  .jstep-node .ic { width: 21px; height: 21px; }
  .journey-line { left: 23px; top: 26px; bottom: 26px; }
  .jstep.is-active .jstep-card { transform: none; }
  .jstep-card h3 { padding-right: 52px; }
  .jstep-finish .jstep-node b { font-size: 24px; }
}

/* contact form extras */
.field textarea {
  width: 100%; min-height: 120px; padding: 14px 16px; resize: vertical;
  border-radius: 14px; border: 1.5px solid var(--line); background: var(--bg);
  font: inherit; font-size: 15px; line-height: 1.6; color: var(--ink);
  transition: border-color .25s, box-shadow .25s, background .25s;
}
.field textarea:focus { outline: none; border-color: var(--yellow); background: #fff; box-shadow: 0 0 0 4px rgba(255, 194, 14, .2); }
.field textarea.is-invalid { border-color: #E5484D; }
.reg-soon {
  display: flex; align-items: center; gap: 12px;
  margin-top: 18px; padding: 14px 16px;
  border-radius: 16px; background: var(--bg); border: 1.5px dashed #E3D7AE;
}
.reg-soon-ic { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--ink); color: var(--yellow); }
.reg-soon-ic .ic { width: 20px; height: 20px; }
.reg-soon-txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; font-size: 13px; line-height: 1.5; color: var(--muted); }
.reg-soon-txt strong { font-size: 14px; color: var(--ink); }
.reg-soon-btn {
  flex: none; margin-left: auto; height: 32px; padding: 0 12px; border-radius: 999px;
  font-size: 11.5px; font-weight: 800; letter-spacing: .02em;
  background: var(--yellow); color: var(--ink);
  transition: transform .3s var(--ease);
}
.reg-soon-btn:hover { transform: translateY(-2px); }
@media (max-width: 480px) {
  .reg-soon { display: grid; grid-template-columns: 40px minmax(0, 1fr); align-items: start; }
  .reg-soon-btn { grid-column: 2; justify-self: start; margin-left: 0; }
}

/* about: facts row removed */
.about-copy .about-links { margin-top: 30px; }
.stamp-big { letter-spacing: -.02em; }


/* =========================================================
   2026-11 UPDATE · tweaks, reviews spotlight, KW advantage v2,
   results graph, contact send animation, view-options panel
   ========================================================= */
.stamp-big { font-size: 29px; }
.mobile-menu-foot { display: flex; flex-direction: column; gap: 10px; }

/* ---------- reviews · spotlight ---------- */
.t-spot {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: auto minmax(0, 1fr) minmax(250px, 310px);
  gap: clamp(8px, 3vw, 40px); align-items: stretch;
  padding: clamp(30px, 5vw, 56px) clamp(26px, 4.5vw, 56px);
  margin: 0 0 clamp(20px, 3vw, 28px);
  border-radius: var(--radius-lg);
  background: radial-gradient(90% 140% at 0% 0%, #1A4A69, var(--navy-deep) 70%);
  color: #fff; box-shadow: var(--shadow-lg);
}
.t-spot::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, .08) 1.2px, transparent 1.4px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(60% 90% at 100% 100%, #000, transparent);
          mask-image: radial-gradient(60% 90% at 100% 100%, #000, transparent);
}
.t-stage { position: relative; z-index: 1; display: grid; min-width: 0; }
.t-slide {
  grid-area: 1 / 1; display: flex; flex-direction: column;
  transition: opacity .5s var(--ease), transform .5s var(--ease), visibility 0s;
}
.t-slide:not(.is-active) {
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .25s, transform .25s, visibility 0s .25s;
}
.t-slide blockquote { margin: 0 0 24px; flex: 1; display: flex; flex-direction: column; justify-content: center; }
/* short quotes get bigger type so they fill the box instead of leaving a gap */
.t-slide.is-short blockquote p { font-size: clamp(20px, 2.35vw, 31px); line-height: 1.6; font-weight: 600; }
.t-slide blockquote p { font-size: clamp(17px, 1.75vw, 22px); line-height: 1.75; font-weight: 500; color: #fff; max-width: 60ch; }
.t-slide blockquote p + p { margin-top: .6em; }
.t-slide .t-author { margin-top: auto; border-top-color: rgba(255, 255, 255, .14); }
.t-spot .t-name { color: #fff; font-size: 16px; }
.t-spot .t-year { background: var(--yellow); color: var(--ink); }

.t-picks { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.t-pick {
  position: relative; overflow: hidden;
  display: flex; align-items: center; gap: 12px; width: 100%;
  padding: 12px 14px; border-radius: 16px; text-align: left;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); color: #fff;
  transition: background .3s, border-color .3s, color .3s, transform .3s var(--ease);
}
.t-pick:hover { background: rgba(255, 255, 255, .11); }
.t-pick:active { transform: scale(.98); }
.t-pick.is-active { background: #fff; border-color: #fff; color: var(--ink); }
.t-pick:focus-visible { outline: 2px solid var(--yellow); outline-offset: 2px; }
.t-pick .t-avatar { width: 38px; height: 38px; font-size: 16px; }
.t-pick-txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.t-pick-txt strong { font-size: 14px; font-weight: 800; line-height: 1.35; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.t-pick-txt span { font-size: 12.5px; line-height: 1.45; opacity: .7; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.t-pick-bar {
  position: absolute; left: 14px; right: 14px; bottom: 6px; height: 3px; border-radius: 3px;
  background: var(--yellow); transform: scaleX(0); transform-origin: left;
}
.t-spot.is-playing .t-pick.is-active .t-pick-bar { animation: tBar var(--t-dur, 8s) linear forwards; }
.t-spot.is-paused .t-pick.is-active .t-pick-bar { animation-play-state: paused; }
@keyframes tBar { to { transform: scaleX(1); } }

@media (max-width: 1080px) {
  .t-spot { grid-template-columns: auto minmax(0, 1fr); }
  /* all four picks always fit: no sideways scrolling, nothing cut off */
  .t-picks { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 8px; }
}
@media (max-width: 760px) {
  .t-picks { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .t-pick { padding: 10px 12px 12px; gap: 10px; }
  .t-pick .t-avatar { width: 32px; height: 32px; font-size: 14px; }
  .t-pick-txt strong { font-size: 13px; white-space: normal; line-height: 1.3; }
  .t-pick-txt span { display: none; }
}
@media (max-width: 640px) {
  .t-spot { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .t-spot .t-mark { font-size: 96px; height: .55em; }
  .t-picks { margin-top: 20px; }
}

/* ---------- KW advantage · v1 / v2 ---------- */
.special[data-adv="v1"] .adv-v2, .special[data-adv="v2"] .adv-v1 { display: none; }
.card-navy .chips li { background: rgba(255, 255, 255, .12); color: #fff; }

.adv2 {
  display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(40px, 6vw, 88px); align-items: center;
}
.adv2-media { position: relative; isolation: isolate; padding: 0 0 26px 26px; }
.adv2-block {
  position: absolute; z-index: 0; left: 0; bottom: 0; width: 72%; height: 70%;
  border-radius: var(--radius-lg); background: var(--navy);
  background-image: radial-gradient(rgba(255, 255, 255, .16) 1.2px, transparent 1.4px);
  background-size: 18px 18px;
}
.adv2-media img {
  position: relative; z-index: 1; width: 100%; aspect-ratio: 4 / 5;
  object-fit: cover; object-position: center 18%;
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
}
.adv2-proof {
  position: absolute; z-index: 2; right: -16px; bottom: 54px;
  display: flex; flex-direction: column; padding: 16px 20px;
  border-radius: 20px; background: var(--yellow); color: var(--ink); box-shadow: var(--shadow-lg);
}
.adv2-proof strong { font-size: 34px; font-weight: 800; line-height: 1; letter-spacing: -.02em; }
.adv2-proof span { font-size: 12.5px; font-weight: 700; margin-top: 5px; }

.adv2-list { display: flex; flex-direction: column; }
.adv2-item {
  display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 0 18px;
  padding: 28px 0; border-top: 1px solid var(--line);
}
.adv2-item:last-child { padding-bottom: 0; }
.adv2-no {
  font-size: 54px; font-weight: 800; line-height: .9; letter-spacing: -.04em; font-variant-numeric: tabular-nums;
  color: transparent; -webkit-text-stroke: 1.5px #C3CED6;
  transition: color .4s var(--ease), -webkit-text-stroke-color .4s var(--ease);
}
.adv2-item:hover .adv2-no { color: var(--yellow); -webkit-text-stroke-color: var(--yellow); }
.adv2-item h3 { font-size: clamp(19px, 2vw, 24px); font-weight: 800; line-height: 1.3; margin-bottom: 8px; }
.adv2-item p { color: var(--muted); font-size: 15px; line-height: 1.75; max-width: 56ch; }
.adv2-item.is-lead {
  padding: 30px 28px; border: 0; border-radius: var(--radius);
  background: var(--navy); color: #fff; box-shadow: var(--shadow);
}
.adv2-item.is-lead + .adv2-item { border-top: 0; }
.adv2-item.is-lead p { color: rgba(255, 255, 255, .8); }
.adv2-item.is-lead .adv2-no { color: var(--yellow); -webkit-text-stroke-color: var(--yellow); }
.adv2-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.adv2-chips li { font-size: 12.5px; font-weight: 700; padding: 6px 12px; border-radius: 999px; background: var(--yellow-soft); color: #6B4E00; }

@media (max-width: 860px) {
  .adv2 { grid-template-columns: minmax(0, 1fr); }
  .adv2-media { max-width: 460px; width: 100%; justify-self: center; }
  .adv2-media img { aspect-ratio: 4 / 4.2; object-position: center 14%; }
}
@media (max-width: 640px) {
  .adv2-media { padding: 0 0 18px 18px; }
  .adv2-proof { right: -6px; bottom: 36px; padding: 12px 16px; }
  .adv2-proof strong { font-size: 26px; }
  .adv2-item { grid-template-columns: 50px minmax(0, 1fr); gap: 0 12px; padding: 24px 0; }
  .adv2-item.is-lead { padding: 24px 20px; }
  .adv2-no { font-size: 38px; }
}

/* ---------- results · graph ---------- */
.r-chart {
  max-width: 980px; margin: clamp(48px, 7vw, 80px) auto 0;
  padding: clamp(20px, 3vw, 32px);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1);
}
.r-chart-head { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 16px 24px; margin-bottom: 18px; }
.r-chart-title { font-size: clamp(19px, 2vw, 24px); font-weight: 800; color: #fff; line-height: 1.3; }
.r-chart-sub { font-size: 13.5px; color: rgba(255, 255, 255, .68); margin-top: 4px; }
.r-legend { display: flex; flex-wrap: wrap; gap: 8px; }
.r-key {
  display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px;
  border-radius: 999px; border: 1px solid rgba(255, 255, 255, .2);
  font-size: 13px; font-weight: 700; color: #fff;
  transition: opacity .25s, background .25s, border-color .25s;
}
.r-key:hover { background: rgba(255, 255, 255, .08); }
.r-key:focus-visible { outline: 2px solid var(--yellow); outline-offset: 2px; }
.r-key[aria-pressed="false"] { opacity: .55; border-style: dashed; }
.r-key[aria-pressed="false"] .r-swatch { background: transparent; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .6); }
.r-swatch { display: inline-block; flex: none; width: 12px; height: 12px; border-radius: 50%; }
.s-lang { background: #FFC20E; }
.s-lit { background: #5AB0F0; }
.r-plot { position: relative; height: clamp(250px, 32vw, 340px); touch-action: pan-y; }
.r-plot svg { display: block; width: 100%; height: 100%; overflow: visible; }
.r-grid line { stroke: rgba(255, 255, 255, .1); stroke-width: 1; }
.r-grid line.base { stroke: rgba(255, 255, 255, .28); }
.r-axis text { fill: rgba(255, 255, 255, .62); font: 600 12px var(--font); font-variant-numeric: tabular-nums; }
.r-axis .yr { fill: rgba(255, 255, 255, .85); font-weight: 700; font-size: 13px; }
.r-line { fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.r-line.lang { stroke: #FFC20E; }
.r-line.lit { stroke: #5AB0F0; }
.r-dot { stroke: #143F5B; stroke-width: 2.5; }
.r-dot.lang { fill: #FFC20E; }
.r-dot.lit { fill: #5AB0F0; }
.r-dot.on { r: 7px; }
.r-dot { transition: r .2s var(--ease); }
.r-end text { fill: #fff; font: 700 12.5px var(--font); }
.r-end .v { font-size: 15px; font-weight: 800; font-variant-numeric: tabular-nums; }
.r-cross { stroke: rgba(255, 255, 255, .35); stroke-dasharray: 3 4; opacity: 0; transition: opacity .15s; }
.r-plot.is-hover .r-cross { opacity: 1; }
.r-tip {
  position: absolute; z-index: 2; top: 0; left: 0; pointer-events: none; white-space: nowrap;
  min-width: 160px; padding: 10px 12px; border-radius: 12px;
  background: #fff; color: var(--ink); box-shadow: var(--shadow-lg);
  font-size: 12.5px; font-weight: 600; opacity: 0; transition: opacity .15s;
}
.r-plot.is-hover .r-tip { opacity: 1; }
.r-tip strong { display: block; font-size: 13px; font-weight: 800; margin-bottom: 6px; }
.r-tip .row { display: flex; align-items: center; gap: 8px; }
.r-tip .row + .row { margin-top: 4px; }
.r-tip .row b { margin-left: auto; padding-left: 14px; font-weight: 800; font-variant-numeric: tabular-nums; }
.r-table summary {
  display: inline-block; margin-top: 14px; cursor: pointer;
  font-size: 13px; font-weight: 700; color: rgba(255, 255, 255, .72);
}
.r-table summary:hover { color: #fff; }
.r-table table { width: 100%; margin-top: 12px; border-collapse: collapse; font-size: 14px; color: #fff; }
.r-table th, .r-table td { text-align: left; padding: 8px 10px; border-bottom: 1px solid rgba(255, 255, 255, .1); font-variant-numeric: tabular-nums; }
.r-table thead th { font-size: 12px; color: rgba(255, 255, 255, .6); font-weight: 700; }
/* "Results by year" off: hide the whole year block (tabs, pills, numbers, sheets) */
.results.no-sheets .year-tabs, .results.no-sheets .year-panel, .results.no-sheets .sheets-hint { display: none; }
.results.no-graph .r-chart { display: none; }
.results.no-sheets .r-chart { margin-top: 0; }

/* ---------- contact · WhatsApp channel ---------- */
.wa-channel {
  display: flex; align-items: center; gap: 14px; max-width: 430px;
  margin: -6px 0 24px; padding: 14px 16px; border-radius: 20px;
  background: #fff; border: 1.5px solid #CDEFD9;
  box-shadow: 0 14px 30px -20px rgba(18, 140, 74, .6);
  transition: transform .3s var(--ease), border-color .3s, box-shadow .3s;
}
.wa-channel:hover { transform: translateY(-2px); border-color: #25D366; box-shadow: 0 18px 34px -18px rgba(18, 140, 74, .65); }
.wa-channel-ic {
  position: relative; flex: none; width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; background: #25D366; color: #fff;
}
.wa-channel-ic::after {
  content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25D366;
  animation: waPing 2.6s var(--ease) infinite;
}
@keyframes waPing { 0% { transform: scale(1); opacity: .7; } 70%, 100% { transform: scale(1.6); opacity: 0; } }
.wa-channel-ic .ic { width: 22px; height: 22px; }
.wa-channel-txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.wa-channel-txt strong { font-size: 15px; font-weight: 800; line-height: 1.3; }
.wa-channel-txt span { font-size: 12.5px; color: var(--muted); line-height: 1.45; font-weight: 500; }
.wa-channel-arrow { margin-left: auto; color: #128C4A; transition: transform .3s var(--ease); }
.wa-channel:hover .wa-channel-arrow { transform: translateX(4px); }

/* ---------- contact · send animation (demo only, nothing is sent) ---------- */
.send-btn { position: relative; overflow: hidden; isolation: isolate; }
.send-fill {
  position: absolute; inset: 0; z-index: -1; background: var(--ink);
  transform: scaleX(0); transform-origin: left;
}
.send-label { display: inline-flex; align-items: center; gap: 10px; transition: color .3s; }
.send-plane { transition: transform .3s var(--ease); }
.send-btn:hover .send-plane { transform: translate(2px, -2px) rotate(8deg); }
.form.is-sending .send-btn { pointer-events: none; color: #fff; transform: none; }
.form.is-sending .send-fill { transform: scaleX(1); transition: transform 1.5s cubic-bezier(.55, 0, .25, 1); }
.form.is-sending .send-plane { animation: planeOut 1.5s var(--ease) forwards; }
@keyframes planeOut {
  0% { transform: none; opacity: 1; }
  25% { transform: translate(-5px, 4px) rotate(-8deg); opacity: 1; }
  100% { transform: translate(240px, -70px) rotate(16deg); opacity: 0; }
}
.form-done {
  position: absolute; inset: 0; z-index: 3; border-radius: inherit;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  padding: 32px; text-align: center; background: #fff;
  opacity: 0; visibility: hidden; transform: scale(.98);
  transition: opacity .45s var(--ease), transform .45s var(--ease), visibility 0s .45s;
}
.form.is-sent .form-done { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.done-check { width: 78px; height: 78px; margin-bottom: 6px; }
.done-check circle { fill: var(--yellow-soft); stroke: var(--yellow); stroke-width: 3; stroke-dasharray: 183; stroke-dashoffset: 183; }
.done-check path { fill: none; stroke: var(--ink); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 44; stroke-dashoffset: 44; }
.form.is-sent .done-check circle { stroke-dashoffset: 0; transition: stroke-dashoffset .7s var(--ease) .15s; }
.form.is-sent .done-check path { stroke-dashoffset: 0; transition: stroke-dashoffset .45s var(--ease) .7s; }
.form-done strong { font-size: 24px; font-weight: 800; }
.form-done p { max-width: 34ch; font-size: 15px; line-height: 1.65; color: var(--muted); }
.done-again { margin-top: 10px; font-size: 13.5px; font-weight: 800; color: var(--navy); text-decoration: underline; text-underline-offset: 4px; }
.done-again:hover { color: var(--ink); }

@media (prefers-reduced-motion: reduce) {
  .wa-channel-ic::after { animation: none; }
}


/* =========================================================
   HERO · V1 (3D logo) / V2 (split portrait) switch
   ========================================================= */
.hv1 { display: contents; }
.hero[data-hero="v2"] .hv1, .hero[data-hero="v1"] .hv2 { display: none; }
.hero[data-hero="v2"] { display: block; padding: 0; min-height: 0; background: var(--bg); }
/* the split hero is busy right up to the top edge: keep the header frosted */
.hero-v2 .site-header {
  background: rgba(252, 251, 248, .86);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 1px 0 var(--line);
}

/* =========================================================
   HERO V2 · split portrait
   Left half: Sinhala Language, an exercise-book page (cream, ruled lines, letters).
   Right half: Sinhala Literature, a moonlit night (navy, stars, ink lines).
   The seam runs down the middle of her face. Hovering a half slides it across,
   so that subject's world takes over the portrait.
   ========================================================= */
@property --split { syntax: '<length-percentage>'; inherits: true; initial-value: 50%; }

.hv2 {
  --split: 50%;
  --shift: 11%;
  --gs: clamp(.55px, .075vw, 1.1px);           /* scale for the big background letters */
  position: relative; isolation: isolate; overflow: hidden;
  height: clamp(640px, 100svh, 1000px);
  transition: --split 1s cubic-bezier(.7, 0, .2, 1);
}
/* main.js measures the portrait and sets --split-lang / --split-lit just past her shoulders,
   so hovering a half paints the whole teacher in that subject's world */
.hv2[data-side="lang"] { --split: var(--split-lang, calc(50% + var(--shift))); }
.hv2[data-side="lit"] { --split: var(--split-lit, calc(50% - var(--shift))); }
@keyframes hsHint { 0%, 100% { --split: 50%; } 30% { --split: 54%; } 68% { --split: 46%; } }
.hv2.is-hinting[data-side=""] { animation: hsHint 2.4s cubic-bezier(.45, 0, .25, 1) 1; }

.hs-stage { position: absolute; inset: 0; }
.hs-world { position: absolute; inset: 0; overflow: hidden; }
.hs-w-lang {
  clip-path: inset(0 calc(100% - var(--split)) 0 0);
  background:
    radial-gradient(60% 55% at 22% 45%, #FFFBEF, transparent 75%),
    linear-gradient(180deg, #FFF6DA 0%, #FFEDB8 100%);
}
.hs-w-lit {
  clip-path: inset(0 0 0 var(--split));
  background: radial-gradient(70% 60% at 72% 32%, #1F5479 0%, #12405E 42%, #0B2A3E 100%);
}

/* language: ruled exercise-book page with a red margin line */
.hs-page {
  --m: clamp(18px, 3.4vw, 60px);
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, transparent calc(var(--m) - 1.5px), rgba(229, 72, 77, .34) calc(var(--m) - 1.5px) var(--m), transparent var(--m)),
    repeating-linear-gradient(180deg, transparent 0 39px, rgba(35, 94, 131, .11) 39px 40px);
  opacity: .75; transition: opacity .6s;
}
.hv2[data-side="lang"] .hs-page { opacity: 1; }
.hs-glyphs span {
  position: absolute; left: var(--x); top: var(--y);
  font-size: calc(var(--s) * var(--gs)); font-weight: 800; line-height: 1;
  color: rgba(35, 94, 131, .075);
  transform: rotate(var(--r));
  transition: transform 1.1s var(--ease) calc(var(--i) * 60ms), color .8s ease calc(var(--i) * 60ms);
  user-select: none;
}
.hv2[data-side="lang"] .hs-glyphs span { color: rgba(35, 94, 131, .15); transform: translateY(-16px) rotate(calc(var(--r) * -1)); }

/* topic words: grammar flash cards (language) and genres (literature), shown on hover */
.hs-words li {
  position: absolute; left: var(--x); top: var(--y);
  padding: 8px 14px; border-radius: 10px; white-space: nowrap;
  font-size: 14px; font-weight: 700; line-height: 1.3;
  opacity: 0; transform: translate(-50%, -50%) rotate(var(--r)) scale(.6);
  transition: opacity .3s ease, transform .5s cubic-bezier(.34, 1.56, .64, 1);
}
.hs-w-lang .hs-words li {
  background: #fff; color: var(--ink); border-bottom: 3px solid var(--yellow);
  box-shadow: 0 12px 24px -14px rgba(14, 46, 67, .45);
}
.hs-w-lit .hs-words li {
  color: #FFE6A0; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 230, 160, .28);
}
.hv2[data-side="lang"] .hs-w-lang .hs-words li,
.hv2[data-side="lit"] .hs-w-lit .hs-words li {
  opacity: 1; transform: translate(-50%, -50%) rotate(var(--r)) scale(1);
  transition-delay: calc(.25s + var(--i) * 80ms);
}
.hv2[data-side="lit"] .hs-w-lit .hs-words li { animation: hsDrift 5s ease-in-out calc(var(--i) * -.9s) infinite alternate; }
@keyframes hsDrift { from { translate: 0 0; } to { translate: 0 -10px; } }

/* literature: stars, crescent moon, ink lines that write themselves */
.hs-night {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(rgba(255, 255, 255, .75) 1px, transparent 1.6px),
    radial-gradient(rgba(255, 230, 160, .65) 1.2px, transparent 1.8px);
  background-size: 53px 47px, 89px 97px;
  background-position: 0 0, 31px 17px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 50%, transparent 92%);
          mask-image: linear-gradient(180deg, #000 0%, #000 50%, transparent 92%);
  opacity: .4;
}
.hv2[data-side="lit"] .hs-night { animation: hsTwinkle 2.6s ease-in-out infinite alternate; }
@keyframes hsTwinkle { from { opacity: .45; } to { opacity: .95; } }
.hs-moon {
  position: absolute; left: 66%; top: calc(var(--header-h) + 5%);
  width: clamp(64px, 6.5vw, 104px); aspect-ratio: 1; border-radius: 50%;
  box-shadow: inset clamp(14px, 1.4vw, 22px) calc(-1 * clamp(5px, .5vw, 8px)) 0 0 #FFE6A0;
  filter: drop-shadow(0 0 22px rgba(255, 214, 110, .4));
  transform: rotate(-20deg);
  transition: transform 1.2s var(--ease), filter .8s;
}
.hv2[data-side="lit"] .hs-moon { transform: rotate(-6deg) scale(1.12); filter: drop-shadow(0 0 40px rgba(255, 214, 110, .75)); }
.hs-ink { position: absolute; left: 50%; top: 0; width: 50%; height: 100%; overflow: visible; }
.hs-ink path {
  fill: none; stroke: rgba(255, 214, 110, .4); stroke-width: 1.6;
  stroke-dasharray: 1 1; stroke-dashoffset: 1;
  transition: stroke-dashoffset 1.7s cubic-bezier(.45, .05, .25, 1);
}
.hs-ink path:nth-child(2) { transition-delay: .15s; }
.hs-ink path:nth-child(3) { transition-delay: .3s; }
.hv2[data-side="lit"] .hs-ink path { stroke-dashoffset: 0; }

/* the portrait: two graded copies, one per world, in exactly the same place */
.hs-photo {
  position: absolute; z-index: 2; left: 50%; bottom: -9%;
  /* a big portrait whose lower part is cropped off by the hero's bottom edge (and the ribbon over it);
     capped by width too so it never runs into the subject copy on either side */
  height: min(calc(100% - var(--header-h) + 50px), 1100px, 60vw); width: auto; max-width: none;
  transform: translateX(-50%);
  pointer-events: none; user-select: none;
  animation: hsRise 1.1s var(--ease) .1s both;
}
@keyframes hsRise { from { opacity: 0; transform: translate(-50%, 28px); } to { opacity: 1; transform: translate(-50%, 0); } }

/* seam: gold line through the face, with the emblem as its knot */
.hs-seam { position: absolute; z-index: 3; top: 0; bottom: 0; left: var(--split); width: 0; pointer-events: none; }
.hs-seam::before {
  content: ''; position: absolute; left: -1px; top: calc(var(--header-h) + 64px); bottom: 0; width: 2px;
  background: linear-gradient(180deg, rgba(255, 194, 14, .95), rgba(255, 194, 14, .5) 55%, rgba(255, 194, 14, 0) 92%);
  box-shadow: 0 0 14px rgba(255, 194, 14, .5);
}
.hs-knot {
  position: absolute; left: 0; top: calc(var(--header-h) + 10px); transform: translateX(-50%);
  width: 54px; height: 54px; border-radius: 50%;
  display: grid; place-items: center; background: #fff;
  box-shadow: 0 0 0 5px rgba(255, 194, 14, .3), var(--shadow-lg);
  animation: hsRise 1s var(--ease) .5s both;
}
.hs-knot img { width: 30px; height: 30px; }
.hs-chev {
  position: absolute; top: 50%; width: 9px; height: 9px; margin-top: -4.5px;
  border: solid; border-width: 0 2.5px 2.5px 0;
  transition: opacity .3s;
}
.hs-chev.l { left: -22px; border-color: var(--navy); transform: rotate(135deg); animation: hsNudgeL 2.2s ease-in-out infinite; }
.hs-chev.r { right: -22px; border-color: var(--yellow); transform: rotate(-45deg); animation: hsNudgeR 2.2s ease-in-out infinite; }
@keyframes hsNudgeL { 0%, 100% { translate: 0 0; } 50% { translate: -5px 0; } }
@keyframes hsNudgeR { 0%, 100% { translate: 0 0; } 50% { translate: 5px 0; } }
.hv2:not([data-side=""]) .hs-chev { opacity: 0; }

.hs-name {
  position: absolute; z-index: 4; left: 50%; bottom: clamp(54px, 7.5vh, 72px); transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; text-align: center; white-space: nowrap;
  padding: 12px 22px; border-radius: 18px;
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: var(--shadow-lg);
}
.hs-name strong { font-size: 16px; font-weight: 800; color: var(--ink); letter-spacing: -.01em; }
.hs-name span { font-size: 12px; font-weight: 600; color: var(--muted); margin-top: 2px; }

/* subject copy: one block per half, never clipped by the seam */
.hs-copy {
  position: absolute; z-index: 5; top: calc(50% + var(--header-h) / 2); width: min(27vw, 410px);
  transform: translateY(-50%);
  transition: opacity .5s ease, transform .7s var(--ease);
}
.hs-c-lang { left: clamp(36px, 6vw, 110px); color: var(--ink); }
.hs-c-lit { right: clamp(36px, 6vw, 110px); color: #fff; text-align: right; }
.hs-sub { font-size: 14.5px; font-weight: 700; line-height: 1.5; }
.hs-c-lang .hs-sub { color: var(--navy); }
.hs-c-lit .hs-sub { color: #FFE6A0; }
.hs-title {
  position: relative; display: inline-block; margin: 8px 0 16px;
  font-size: clamp(34px, 3.9vw, 60px); font-weight: 800; line-height: 1.04; letter-spacing: -.035em;
}
.hs-title::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -7px; height: 5px; border-radius: 5px;
  background: var(--yellow); transform: scaleX(0); transform-origin: left;
  transition: transform .7s var(--ease) .15s;
}
.hs-c-lit .hs-title::after { background: #FFD66E; transform-origin: right; }
.hv2[data-side="lang"] .hs-c-lang .hs-title::after,
.hv2[data-side="lit"] .hs-c-lit .hs-title::after { transform: scaleX(1); }
.hs-desc { font-size: 15.5px; line-height: 1.8; max-width: 34ch; }
.hs-c-lang .hs-desc { color: #46545F; }
.hs-c-lit .hs-desc { color: rgba(255, 255, 255, .78); margin-left: auto; }
.hv2[data-side="lit"] .hs-c-lang, .hv2[data-side="lang"] .hs-c-lit { opacity: .35; }
.hv2[data-side="lang"] .hs-c-lang { transform: translateY(-50%) translateX(10px); }
.hv2[data-side="lit"] .hs-c-lit { transform: translateY(-50%) translateX(-10px); }

@media (min-width: 1081px) and (max-width: 1240px) {
  .hs-copy { width: min(26vw, 330px); }
  .hs-title { font-size: clamp(30px, 3.4vw, 42px); }
  .hs-desc { font-size: 14.5px; }
}

/* tablet and phone: portrait on top, the two subjects as tiles underneath */
@media (max-width: 1080px) {
  .hv2 { --shift: 13%; --gs: .7px; height: auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .hs-stage { position: relative; inset: auto; grid-column: 1 / -1; height: clamp(460px, 74svh, 760px); }
  .hs-photo { height: calc(100% - var(--header-h) - 24px); bottom: -7%; }
  .hs-name { bottom: clamp(16px, 3vh, 30px); }
  .hs-copy {
    position: relative; z-index: 1; top: auto; left: auto; right: auto;
    width: auto; padding: 22px clamp(18px, 4vw, 44px) 58px;   /* bottom room for the ribbon that overlaps the hero */
    text-align: left; transform: none !important; cursor: pointer;
  }
  .hs-c-lang { background: #FFEDB8; }
  .hs-c-lit { background: #0B2A3E; }
  .hs-c-lit .hs-desc { margin-left: 0; }
  .hs-c-lit .hs-title::after { transform-origin: left; }
  .hs-title { font-size: clamp(22px, 4.4vw, 36px); margin: 6px 0 12px; }
  .hs-sub { font-size: 12.5px; }
  .hs-desc { font-size: 14px; line-height: 1.7; }
  .hv2[data-side="lit"] .hs-c-lang, .hv2[data-side="lang"] .hs-c-lit { opacity: .55; }
  .hs-words li { font-size: 12.5px; padding: 6px 11px; }
}
@media (max-width: 640px) {
  .hv2 { --shift: 15%; --gs: .5px; }
  .hs-stage { height: clamp(420px, 68svh, 580px); }
  .hs-photo { height: calc(100% - var(--header-h) - 18px); }
  .hs-knot { width: 44px; height: 44px; top: calc(var(--header-h) + 6px); }
  .hs-knot img { width: 24px; height: 24px; }
  .hs-chev.l { left: -18px; }
  .hs-chev.r { right: -18px; }
  .hs-seam::before { top: calc(var(--header-h) + 50px); }
  .hs-moon { left: 74%; top: calc(var(--header-h) + 6px); width: 50px; }
  .hs-name { padding: 9px 16px; border-radius: 14px; }
  .hs-name strong { font-size: 13.5px; }
  .hs-name span { font-size: 10.5px; }
  .hs-copy { padding: 18px 16px 52px; }
  .hs-title { font-size: clamp(19px, 5.6vw, 24px); }
  .hs-desc { display: none; }
  /* only the space above her shoulders is free on a phone: four words per side, up there
     (language: 1, 2, 3 + විභක්ති; literature: 1, 2, 3 + කෙටිකතා)
     (left/top, not --x/--y: the inline custom properties would win) */
  .hs-words li { font-size: 11.5px; padding: 5px 9px; }
  .hs-words li:nth-child(n+4) { display: none; }
  .hs-w-lang .hs-words li:nth-child(5), .hs-w-lit .hs-words li:nth-child(4) { display: block; }
  .hs-w-lang .hs-words li:nth-child(1) { left: 19%; top: 26%; }
  .hs-w-lang .hs-words li:nth-child(2) { left: 28%; top: 34%; }
  .hs-w-lang .hs-words li:nth-child(3) { left: 17%; top: 42%; }
  .hs-w-lang .hs-words li:nth-child(5) { left: 25%; top: 50%; }
  .hs-w-lit .hs-words li:nth-child(1) { left: 81%; top: 26%; }
  .hs-w-lit .hs-words li:nth-child(2) { left: 72%; top: 34%; }
  .hs-w-lit .hs-words li:nth-child(3) { left: 83%; top: 42%; }
  .hs-w-lit .hs-words li:nth-child(4) { left: 75%; top: 50%; }
}
@media (prefers-reduced-motion: reduce) {
  .hs-chev, .hs-night, .hs-words li { animation: none !important; }
}


/* ---------- reviews · show more ---------- */
.t-card.is-more { display: none; }
.t-grid.is-all .t-card.is-more { display: block; }
.t-showmore-wrap { display: flex; justify-content: center; margin-top: 8px; }
.t-showmore {
  display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 10px 0 22px;
  border-radius: 999px; border: 1.5px solid var(--line); background: #fff;
  font-size: 14.5px; font-weight: 800; color: var(--ink);
  box-shadow: var(--shadow);
  transition: border-color .25s, transform .3s var(--ease);
}
.t-showmore:hover { border-color: var(--ink); transform: translateY(-2px); }
.t-showmore:active { transform: scale(.98); }
.t-showmore em {
  font-style: normal; font-size: 12.5px; font-weight: 800;
  padding: 5px 10px; border-radius: 999px; background: var(--yellow); color: var(--ink);
}
.t-showmore[aria-expanded="true"] { padding-right: 22px; }
/* gallery reuses the same pill button */
.g-more-wrap { margin-top: 18px; }
.g-more-wrap[hidden] { display: none; }
@media (max-width: 640px) {
  .t-grid.is-all .t-card.is-more { display: block; }
  .t-showmore-wrap { margin-top: 4px; }
}

/* FAQ: WhatsApp link in the intro and inside answers */
.faq-wa { gap: 10px; }
.faq-wa .ic:first-child { color: #128C4A; }
.qa p a { color: var(--navy); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.qa p a:hover { color: var(--ink); }
.faq-wa:hover .ic:first-child { transform: none; }

/* gallery: JS lays photos out row by row in columns, so chosen photos sit in the top row */
.masonry.is-cols { columns: auto; display: flex; align-items: flex-start; gap: 16px; }
.m-col { flex: 1 1 0; min-width: 0; }
@media (max-width: 640px) { .masonry.is-cols { gap: 10px; } }


/* ---------- results 2025: each subject as a set (cover poster with its pages behind) ---------- */
.sheets-sets { gap: clamp(36px, 6vw, 80px); padding: 26px 0 30px; }
.sheet-set {
  flex: 0 1 290px; overflow: visible; padding: 0; background: transparent; box-shadow: none;
}
.set-face, .set-page {
  display: block; background: #fff; padding: 8px; border-radius: 18px;
  box-shadow: 0 30px 50px -20px rgba(0, 0, 0, .55);
}
.set-face { position: relative; z-index: 2; overflow: hidden; }
.set-page {
  position: absolute; inset: 0; z-index: 1;
  transition: transform .6s var(--ease);
}
.set-face img, .set-page img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: top; border-radius: 12px;
}
.set-page.p1 { transform: rotate(-6deg) translate(-16px, 8px); }
.set-page.p2 { transform: rotate(6deg) translate(16px, 12px); }
.sheet-set:hover .set-page.p1, .sheet-set:focus-visible .set-page.p1 { transform: rotate(-11deg) translate(-44px, 4px); }
.sheet-set:hover .set-page.p2, .sheet-set:focus-visible .set-page.p2 { transform: rotate(10deg) translate(44px, 8px); }
@media (max-width: 860px) {
  /* two sets fit side by side, so no sideways scrolling (which would also clip the fanned pages) */
  .sheets.sheets-sets {
    overflow: visible; justify-content: center; scroll-snap-type: none;
    margin: 0; padding: 20px 14px 26px; gap: 30px;
  }
  .sheets-sets .sheet-set { flex: 0 1 46%; }
  .sheets-sets .sheet-tag { left: 10px; right: 10px; bottom: 10px; font-size: 10.5px; text-align: center; }
  .sheets-sets .sheet-more { right: 10px; top: 10px; font-size: 10.5px; padding: 4px 9px; }
  .set-page.p1 { transform: rotate(-6deg) translate(-10px, 6px); }
  .set-page.p2 { transform: rotate(6deg) translate(10px, 8px); }
}

/* set labels: phones drop the year (the year tab already shows it) so the label stays one short line */
@media (max-width: 860px) {
  .sheets-sets .tag-year { display: none; }
  .sheets-sets .sheet-tag { left: 50%; right: auto; transform: translateX(-50%); white-space: nowrap; padding: 4px 10px; }
}

/* about: YouTube and WhatsApp channel cards side by side */
.about-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.about-links .yt-link { display: flex; border-radius: 22px; min-width: 0; }
.about-links .yt-link > span:nth-child(2) { min-width: 0; }
.about-links .arrow { margin-left: auto; flex: none; }
.wa-link .yt-ic { background: #25D366; }
.wa-link:hover { border-color: #25D366; }
@media (max-width: 480px) { .about-links { grid-template-columns: minmax(0, 1fr); } }
.about-links .yt-link > span:nth-child(2) { display: flex; flex-direction: column; gap: 3px; line-height: 1.3; }
.about-links .yt-link strong { line-height: 1.3; }
.about-links .yt-ic { flex: none; }

/* class photos shot from the back of the hall: show the students, not the ceiling */
.venue-img img.crop-low { object-position: center 82%; }
/* tablets: the title already names the place, so the tag keeps only the class type */
@media (min-width: 641px) and (max-width: 1080px) { .venue .tag-loc { display: none; } .venue .tag { font-size: 10.5px; letter-spacing: .06em; } }
@media (max-width: 640px) { .venue .tag { font-size: 11px; letter-spacing: .06em; } }
