/* ============================================================
   Chakshu Chopra — One-to-One STEM Tuition
   Light professional theme · White · Charcoal · Navy · Gold
   ============================================================ */

:root {
  /* Surfaces */
  --bg: #FFFFFF;
  --bg-soft: #F5F8FC;   /* alternating section wash */
  --bg-warm: #FBF9F3;
  --card: #FFFFFF;
  --line: #E4E9F1;
  --line-2: #D3DAE7;

  /* Brand */
  --navy: #1A365D;
  --navy-2: #24487094;
  --navy-deep: #12294A;
  --navy-tint: #EEF3FA;
  --gold: #D69E2E;
  --gold-deep: #B9831C;
  --gold-bright: #E9B84A;
  --gold-tint: #FBF2DC;

  /* Subject hues (readable on white) */
  --maths: #2B6CB0;
  --physics: #DD6B20;
  --chem: #2C9A87;

  /* Union flag */
  --uk-red: #C8102E;
  --uk-blue: #012169;

  /* Text */
  --ink: #333333;        /* charcoal body */
  --ink-strong: #1A365D; /* navy headings */
  --ink-mut: #5B6576;
  --ink-faint: #8A94A6;
  --on-navy: #F4F7FB;
  --on-navy-dim: #B8C6DC;

  /* Type */
  --display: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ui: "Montserrat", system-ui, sans-serif;
  --body: "Open Sans", system-ui, sans-serif;
  --math: "STIX Two Text", Georgia, serif;

  --maxw: 1200px;
  --radius: 22px;
  --radius-sm: 14px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow: 0 26px 60px -30px rgba(26, 54, 93, 0.35);
  --shadow-sm: 0 12px 30px -16px rgba(26, 54, 93, 0.28);
  --glow-gold: 0 14px 34px -14px rgba(214, 158, 46, 0.6);
  --glow-navy: 0 16px 40px -18px rgba(26, 54, 93, 0.5);
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; max-width: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}
body {
  font-family: var(--body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.68;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
::selection { background: var(--gold); color: #2a1c00; }

/* ---------- Content protection (casual deterrent only) ---------- */
body { -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; }
input, textarea, [contenteditable] { -webkit-user-select: text; -moz-user-select: text; -ms-user-select: text; user-select: text; }
img { -webkit-user-drag: none; -khtml-user-drag: none; -moz-user-drag: none; user-drag: none; -webkit-touch-callout: none; }

/* ---------- Backgrounds ---------- */
#symbolCanvas { position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: 1; }
.bg-field {
  position: fixed; inset: 0; z-index: -1;
  background:
    radial-gradient(1100px 680px at 84% -8%, rgba(26,54,93,0.06), transparent 60%),
    radial-gradient(820px 560px at 5% 6%, rgba(214,158,46,0.06), transparent 60%),
    linear-gradient(180deg, #FFFFFF, #FAFCFE);
}
/* keep real content above the symbol layer */
.nav, section, .marquee, .footer, .mobile-cta { position: relative; z-index: 1; }

/* ---------- Layout ---------- */
.wrap { width: min(100% - 44px, var(--maxw)); margin-inline: auto; }
.section { padding: clamp(48px, 6vw, 86px) 0; position: relative; }
.section.alt { background: rgba(240, 245, 251, 0.78); }
.section.warm { background: rgba(251, 249, 243, 0.82); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; font-family: var(--ui);
  font-size: 0.74rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-deep); font-weight: 700;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: linear-gradient(90deg, var(--gold), transparent); }
.eyebrow.center::after { content: ""; width: 26px; height: 2px; background: linear-gradient(90deg, transparent, var(--gold)); }

h1, h2, h3, h4 { font-family: var(--display); font-weight: 800; line-height: 1.08; letter-spacing: -0.02em; color: var(--ink-strong); }
.h-xl { font-size: clamp(2.5rem, 6vw, 4.6rem); font-weight: 800; }
.h-lg { font-size: clamp(2rem, 4.4vw, 3.2rem); }
.h-md { font-size: clamp(1.35rem, 2.6vw, 1.9rem); }
/* Accent voice: the hero's display serif, threaded through every section
   heading so the hero reads as part of the system, not an exception.
   Cormorant has a much smaller x-height than Montserrat 800, so it needs
   scaling up and a heavier weight to sit level with the sans beside it. */
.ital {
  color: var(--gold-deep);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-style: italic;
  font-weight: 600;
  font-size: 1.15em;
  letter-spacing: -0.005em;
}
.lead { font-family: var(--body); font-size: clamp(1.05rem, 1.4vw, 1.22rem); color: var(--ink-mut); max-width: 62ch; }
.muted { color: var(--ink-mut); }
.center { text-align: center; margin-inline: auto; }
.sec-head.center { max-width: 64ch; margin-bottom: 38px; }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.09s; } .reveal.d2 { transition-delay: 0.18s; } .reveal.d3 { transition-delay: 0.27s; } .reveal.d4 { transition-delay: 0.36s; }

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 10px; font-family: var(--ui);
  padding: 14px 26px; border-radius: 999px; font-weight: 700; font-size: 0.95rem; letter-spacing: 0.01em;
  transition: transform 0.26s var(--ease), box-shadow 0.26s var(--ease), background 0.26s; will-change: transform;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: linear-gradient(120deg, var(--gold), var(--gold-bright)); color: #3a2903; box-shadow: var(--glow-gold); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 20px 44px -16px rgba(214,158,46,0.8); }
.btn-ghost { background: #fff; color: var(--navy); border: 1.5px solid var(--line-2); }
.btn-ghost:hover { transform: translateY(-2px); border-color: var(--navy); box-shadow: var(--shadow-sm); }
.btn-navy { background: var(--navy); color: #fff; box-shadow: var(--glow-navy); }
.btn-navy:hover { transform: translateY(-2px); background: var(--navy-deep); }
.btn-lg { padding: 16px 30px; font-size: 1rem; }

.uk-flag { width: 20px; height: 13px; border-radius: 2px; flex: none; box-shadow: 0 0 0 1px rgba(0,0,0,0.08); }

/* ---------- Nav ---------- */
.nav { position: fixed; top: 0; inset-inline: 0; z-index: 100; transition: background 0.3s, box-shadow 0.3s, border-color 0.3s; border-bottom: 1px solid transparent; }
.nav.scrolled { background: rgba(255,255,255,0.88); backdrop-filter: blur(14px); border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(26,54,93,0.4); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--display); font-weight: 800; font-size: 1.02rem; color: var(--ink-strong); }
.brand-mark { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; font-family: var(--ui); background: linear-gradient(135deg, var(--navy), var(--navy-deep)); color: var(--gold-bright); font-weight: 800; font-size: 0.84rem; box-shadow: var(--glow-navy); }
.brand small { display: block; font-family: var(--ui); font-weight: 600; font-size: 0.62rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-faint); }
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a { padding: 9px 14px; border-radius: 999px; font-family: var(--ui); font-size: 0.9rem; color: var(--ink-mut); font-weight: 600; transition: color 0.2s, background 0.2s; }
.nav-links a:hover { color: var(--navy); background: var(--navy-tint); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-2); background: #fff; flex-direction: column; gap: 5px; align-items: center; justify-content: center; }
.nav-toggle span { width: 20px; height: 2px; background: var(--navy); border-radius: 2px; transition: 0.3s; }

/* ---------- Hero ---------- */
.hero { position: relative; padding-top: 128px; padding-bottom: 40px; min-height: 100vh; display: flex; align-items: center; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 50px; align-items: center; }
.hero-copy { min-width: 0; }
.hero h1 { overflow-wrap: break-word; }
.hero-trust { display: inline-flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.chip { display: inline-flex; align-items: center; gap: 8px; font-family: var(--ui); font-size: 0.78rem; font-weight: 600; padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--ink-mut); box-shadow: var(--shadow-sm); }
.chip .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 8px rgba(214,158,46,0.7); }
.hero h1 { margin: 6px 0 22px; }
.rotator { display: inline-flex; align-items: center; font-family: var(--ui); font-size: 1.02rem; color: var(--ink-mut); margin-top: 6px; }
.rotator b { color: var(--gold-deep); font-weight: 800; margin-left: 8px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero-stats { display: flex; gap: 32px; margin-top: 40px; flex-wrap: wrap; }
.hero-stats .stat b { font-family: var(--display); font-weight: 800; font-size: 1.8rem; display: block; line-height: 1; color: var(--navy); }
.hero-stats .stat span { font-family: var(--ui); font-size: 0.8rem; color: var(--ink-faint); }

.hero-visual { position: relative; aspect-ratio: 4 / 4.7; }
.hero-canvas-card { position: absolute; inset: 0; border-radius: var(--radius); overflow: hidden; background: linear-gradient(165deg, var(--navy-tint), #fff); border: 1px solid var(--line); box-shadow: var(--shadow); }
.hero-canvas-card canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.photo { position: relative; width: 100%; height: 100%; overflow: hidden; }
.photo img { width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.7s var(--ease); }
.photo.loaded img { opacity: 1; }
.photo.loaded .ph-fallback { display: none; }
.photo .ph-fallback { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; color: var(--ink-faint); font-family: var(--ui); font-size: 0.8rem; padding: 24px; }
.hero-portrait { position: absolute; inset: 0; z-index: 2; }
.one-seal {
  position: absolute; z-index: 4; left: -18px; bottom: 60px; width: 118px; height: 118px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(140deg, var(--navy), var(--navy-deep)); border: 4px solid #fff; box-shadow: var(--shadow); text-align: center;
}
.one-seal .num { font-family: var(--display); font-size: 2.3rem; font-weight: 800; color: var(--gold-bright); line-height: 1; }
.one-seal .lbl { font-family: var(--ui); font-size: 0.58rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--on-navy-dim); }
.hero-float { position: absolute; z-index: 5; right: -14px; top: 40px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 13px 16px; box-shadow: var(--shadow); max-width: 210px; }
.hero-float b { font-family: var(--display); font-size: 0.98rem; color: var(--ink-strong); }
.hero-float small { font-family: var(--ui); color: var(--ink-faint); }

/* ---------- Marquee ---------- */
.marquee { border-block: 1px solid var(--line); overflow: hidden; padding: 18px 0; background: var(--navy); }
.marquee-track { display: flex; gap: 40px; width: max-content; animation: slide 34s linear infinite; }
.marquee-track span { display: inline-flex; align-items: center; gap: 14px; color: var(--on-navy-dim); font-family: var(--display); font-weight: 600; font-size: 1.02rem; white-space: nowrap; }
.marquee-track span::before { content: "✦"; color: var(--gold-bright); }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- Comparison ---------- */
.compare { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16/9; box-shadow: var(--shadow); user-select: none; touch-action: none; }
.compare-side { position: absolute; inset: 0; padding: clamp(24px,4vw,46px); display: flex; flex-direction: column; justify-content: center; }
.compare-group { background: url('assets/group.png?v=5') top center / 100% auto no-repeat, linear-gradient(150deg, #FBEEEF, #F5E0E3); }
.compare-121 { background: linear-gradient(150deg, rgba(18,41,74,0.88), rgba(10,21,38,0.92)), url('assets/about-3.jpg') center 30% / cover no-repeat; clip-path: inset(0 0 0 50%); }
.compare h3 { font-size: clamp(1.3rem,2.6vw,2rem); margin-bottom: 18px; }
.compare-group h3 { color: #B03A4A; } .compare-121 h3 { color: var(--gold-bright); }
.compare ul { list-style: none; display: grid; gap: 11px; max-width: 46ch; }
.compare li { display: flex; gap: 11px; align-items: flex-start; font-size: clamp(0.9rem,1.4vw,1.02rem); }
.compare-group li { color: #7c4b52; } .compare-121 li { color: var(--on-navy); }
.compare li .ic { flex: none; margin-top: 3px; font-family: var(--ui); font-weight: 700; }
/* keep each side's content within its own half so headings stay visible & balanced */
.compare-group { padding-right: 52%; }
.compare-121 { padding-left: 52%; }
.compare-121 ul, .compare-group ul { max-width: 42ch; }
/* side illustrations */
.c-illus { display: none; }
.c-illus svg { height: 50px; width: auto; display: block; }
.c-crowd { color: #C25464; }
.c-pair .link { stroke: var(--gold); }
.c-pair .tutor { fill: var(--gold-bright); }
.c-pair .student { fill: #dbe6f7; }
.compare-handle { position: absolute; top: 0; bottom: 0; left: 50%; width: 3px; background: var(--gold); transform: translateX(-50%); z-index: 5; }
.compare-knob { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); z-index: 6; width: 54px; height: 54px; border-radius: 50%; background: var(--gold); color: var(--navy-deep); display: grid; place-items: center; box-shadow: 0 8px 22px rgba(214,158,46,0.6); cursor: ew-resize; font-weight: 800; }
.compare-tags { position: absolute; top: 16px; inset-inline: 0; display: flex; justify-content: space-between; padding: 0 18px; z-index: 5; pointer-events: none; }
.compare-tags span { font-family: var(--ui); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; padding: 6px 11px; border-radius: 999px; background: rgba(255,255,255,0.85); box-shadow: var(--shadow-sm); }

/* ---------- Subjects ---------- */
.subjects { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.subject { position: relative; border-radius: var(--radius); padding: 34px 28px 28px; overflow: hidden; background: var(--card); border: 1px solid var(--line); min-height: 500px; display: flex; flex-direction: column; transition: transform 0.4s var(--ease), border-color 0.4s, box-shadow 0.4s; cursor: pointer; box-shadow: var(--shadow-sm); }
.subject:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.subject[data-subj="maths"]:hover { border-color: var(--maths); }
.subject[data-subj="physics"]:hover { border-color: var(--physics); }
.subject[data-subj="chem"]:hover { border-color: var(--chem); }
.subject::after { content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity 0.4s; pointer-events: none; }
.subject[data-subj="maths"]::after { background: radial-gradient(500px 300px at 80% -10%, rgba(43,108,176,0.09), transparent 60%); }
.subject[data-subj="physics"]::after { background: radial-gradient(500px 300px at 80% -10%, rgba(221,107,32,0.09), transparent 60%); }
.subject[data-subj="chem"]::after { background: radial-gradient(500px 300px at 80% -10%, rgba(44,154,135,0.09), transparent 60%); }
.subject:hover::after { opacity: 1; }
.subject canvas { position: absolute; top: 0; right: 0; width: 100%; height: 205px; opacity: 0.85; z-index: 0; pointer-events: none; -webkit-mask-image: linear-gradient(180deg, #000 56%, transparent 100%); mask-image: linear-gradient(180deg, #000 56%, transparent 100%); }
.subject-body { position: relative; z-index: 2; margin-top: auto; }
.subject-tag { position: relative; z-index: 2; align-self: flex-start; font-family: var(--ui); font-weight: 700; font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; padding: 7px 13px; border-radius: 999px; }
.subject[data-subj="maths"] .subject-tag { color: var(--maths); background: rgba(43,108,176,0.1); }
.subject[data-subj="physics"] .subject-tag { color: var(--physics); background: rgba(221,107,32,0.1); }
.subject[data-subj="chem"] .subject-tag { color: var(--chem); background: rgba(44,154,135,0.1); }
.subject h3 { font-size: 1.5rem; margin: 14px 0 8px; }
.subject p { color: var(--ink-mut); font-size: 0.94rem; }
.subject .topics { display: flex; flex-wrap: wrap; gap: 6px; margin: 16px 0 18px; }
.subject .topics span { font-family: var(--ui); font-size: 0.73rem; padding: 5px 10px; border-radius: 999px; background: var(--bg-soft); border: 1px solid var(--line); color: var(--ink-mut); }
.subject .more { display: inline-flex; align-items: center; gap: 8px; font-family: var(--ui); font-weight: 700; font-size: 0.88rem; color: var(--navy); }
.subject .more svg { width: 16px; transition: transform 0.3s; }
.subject:hover .more svg { transform: translateX(5px); }

/* ---------- Exam-board strip ---------- */
.boards { margin-top: 40px; text-align: center; }
.boards-label { display: block; font-family: var(--ui); font-size: 0.76rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 16px; }
.boards-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.board-chip { font-family: var(--display); font-weight: 800; font-size: 0.98rem; letter-spacing: 0.02em; color: var(--navy); padding: 11px 22px; border-radius: 12px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: 0.25s var(--ease); }
.board-chip:hover { transform: translateY(-3px); border-color: var(--gold); color: var(--gold-deep); box-shadow: var(--shadow); }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(5,1fr); gap: 16px; position: relative; }
.steps::before { content: ""; position: absolute; top: 34px; left: 8%; right: 8%; height: 2px; background: var(--line-2); }
.step-prog { position: absolute; top: 34px; left: 8%; height: 2px; background: linear-gradient(90deg, var(--navy), var(--gold)); width: 0; transition: width 1.5s var(--ease); }
.step { position: relative; text-align: center; }
.step .node { width: 60px; height: 60px; border-radius: 50%; margin: 0 auto 16px; display: grid; place-items: center; background: #fff; border: 2px solid var(--line-2); font-family: var(--display); font-weight: 800; font-size: 1.15rem; color: var(--ink-faint); position: relative; z-index: 2; transition: 0.5s var(--ease); box-shadow: var(--shadow-sm); }
.step.on .node { border-color: var(--gold); color: #fff; background: linear-gradient(135deg, var(--navy), var(--navy-deep)); box-shadow: var(--glow-navy); transform: scale(1.06); }
.step h4 { font-size: 1.06rem; margin-bottom: 6px; }
.step p { font-family: var(--body); font-size: 0.86rem; color: var(--ink-mut); }

/* ---------- How-it-works interactive stepper ---------- */
.how-rail { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.how-line { position: absolute; top: 33px; left: 10%; right: 10%; height: 3px; background: var(--line-2); border-radius: 3px; }
.how-line > i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--navy), var(--gold)); border-radius: 3px; transition: width 0.6s var(--ease); box-shadow: 0 0 10px rgba(214,158,46,0.5); }
.how-node { position: relative; display: flex; flex-direction: column; align-items: center; gap: 13px; background: none; }
.hn-dot { width: 66px; height: 66px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 2px solid var(--line-2); color: var(--ink-faint); box-shadow: var(--shadow-sm); transition: 0.4s var(--ease); position: relative; z-index: 2; }
.hn-dot svg { width: 26px; height: 26px; }
.hn-title { font-family: var(--ui); font-weight: 700; font-size: 0.86rem; color: var(--ink-mut); transition: 0.3s; text-align: center; }
.how-node:hover .hn-dot { border-color: var(--gold); transform: translateY(-3px); }
.how-node.done .hn-dot { border-color: var(--gold); color: var(--gold-deep); }
.how-node.active .hn-dot { background: linear-gradient(135deg, var(--navy), var(--navy-deep)); border-color: var(--gold); color: #fff; transform: scale(1.09); box-shadow: var(--glow-navy); }
.how-node.active .hn-title { color: var(--navy); }
.how-detail { margin-top: 40px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); padding: clamp(24px, 3.4vw, 38px); display: grid; grid-template-columns: auto 1fr; gap: 30px; align-items: center; }
.hd-badge { width: 88px; height: 88px; border-radius: 22px; display: grid; place-items: center; background: linear-gradient(135deg, var(--navy), var(--navy-deep)); color: var(--gold-bright); flex: none; box-shadow: var(--glow-navy); }
.hd-badge svg { width: 40px; height: 40px; }
.hd-step { font-family: var(--ui); font-weight: 700; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-deep); }
.how-detail h4 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); margin: 4px 0 8px; }
.how-detail p { color: var(--ink-mut); }
.hd-points { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.hd-points span { font-family: var(--ui); font-size: 0.78rem; padding: 6px 11px; border-radius: 999px; background: var(--navy-tint); color: var(--navy); font-weight: 600; }
.hd-anim { animation: fadeSwap 0.5s var(--ease); }

/* ---------- Subject play buttons ---------- */
.subject-actions { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.subj-play { position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: 9px; font-family: var(--ui); font-weight: 800; font-size: 0.84rem; padding: 11px 18px 11px 11px; border-radius: 999px; border: none; color: #fff; transition: transform 0.25s var(--ease), box-shadow 0.25s; }
.subj-play .pl-ic { width: 23px; height: 23px; border-radius: 50%; background: var(--gold); color: var(--navy-deep); display: grid; place-items: center; font-size: 0.58rem; flex: none; box-shadow: 0 2px 6px rgba(0,0,0,0.25); }
.subj-play::after { content: ""; position: absolute; top: 0; left: -65%; width: 45%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent); transform: skewX(-18deg); }
.subj-play:hover { transform: translateY(-3px) scale(1.03); }
.subj-play:hover::after { animation: shineSweep 0.7s var(--ease); }
@keyframes shineSweep { from { left: -65%; } to { left: 135%; } }
.subject[data-subj="maths"] .subj-play { background: linear-gradient(120deg, var(--maths), #21568f); box-shadow: 0 10px 22px -11px rgba(43,108,176,0.85); }
.subject[data-subj="physics"] .subj-play { background: linear-gradient(120deg, var(--physics), #b4551a); box-shadow: 0 10px 22px -11px rgba(221,107,32,0.85); }
.subject[data-subj="chem"] .subj-play { background: linear-gradient(120deg, var(--chem), #1f7e6c); box-shadow: 0 10px 22px -11px rgba(44,154,135,0.85); }

/* ---------- Mini-Lab games modal ---------- */
.game-modal { position: fixed; inset: 0; z-index: 200; display: none; }
.game-modal.open { display: block; }
.game-backdrop { position: absolute; inset: 0; background: rgba(10,21,38,0.55); backdrop-filter: blur(4px); }
.game-panel { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); width: min(94vw, 560px); max-height: 90vh; overflow: auto; background: #fff; border-radius: 24px; box-shadow: var(--shadow); padding: clamp(24px, 4vw, 36px); animation: popIn 0.4s var(--ease); }
@keyframes popIn { from { opacity: 0; transform: translate(-50%,-46%) scale(0.96); } to { opacity: 1; transform: translate(-50%,-50%) scale(1); } }
.game-close { position: absolute; top: 14px; right: 16px; width: 38px; height: 38px; border-radius: 50%; background: var(--bg-soft); color: var(--ink); font-size: 1.3rem; display: grid; place-items: center; border: 1px solid var(--line); z-index: 3; }
.game-close:hover { background: var(--navy); color: #fff; }
.g-head { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.g-tag { font-family: var(--ui); font-weight: 800; font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; }
.g-title { font-family: var(--display); font-weight: 800; font-size: 1.3rem; color: var(--ink-strong); }
.g-sub { color: var(--ink-mut); font-size: 0.92rem; margin-bottom: 18px; }
.g-meta { display: flex; justify-content: space-between; font-family: var(--ui); font-weight: 700; font-size: 0.92rem; color: var(--ink); margin-bottom: 12px; }
.g-bar { height: 8px; border-radius: 99px; background: var(--navy-tint); overflow: hidden; margin-bottom: 18px; }
.g-bar > i { display: block; height: 100%; background: linear-gradient(90deg, var(--navy), var(--gold)); width: 100%; transition: width 0.25s linear; }
.g-q { font-family: var(--display); font-weight: 800; font-size: clamp(1.4rem, 4vw, 1.9rem); text-align: center; color: var(--ink-strong); margin: 6px 0 20px; }
.g-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.g-opt { padding: 15px; border-radius: 13px; border: 1.5px solid var(--line-2); background: #fff; font-family: var(--ui); font-weight: 700; font-size: 1.05rem; color: var(--ink-strong); transition: 0.15s; }
.g-opt:hover { border-color: var(--navy); transform: translateY(-1px); }
.g-opt.correct { background: rgba(44,154,135,0.15); border-color: var(--chem); color: #1c7d6b; }
.g-opt.wrong { background: rgba(192,57,43,0.12); border-color: #c0392b; color: #c0392b; }
.g-opt:disabled { cursor: default; }
.g-result { text-align: center; padding: 12px 0; }
.g-result .g-score { font-family: var(--display); font-weight: 800; font-size: 3.2rem; color: var(--navy); line-height: 1; }
.g-result .g-score small { font-size: 1.2rem; color: var(--ink-faint); }
.g-result p { color: var(--ink-mut); margin: 8px 0 4px; }
.g-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 18px; }
.g-btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px; border-radius: 999px; font-family: var(--ui); font-weight: 700; font-size: 0.92rem; transition: 0.25s var(--ease); }
.g-btn.gold { background: linear-gradient(120deg, var(--gold), var(--gold-bright)); color: #3a2903; box-shadow: var(--glow-gold); }
.g-btn.ghost { background: #fff; border: 1.5px solid var(--line-2); color: var(--navy); }
.g-btn:hover { transform: translateY(-2px); }
.g-canvas { width: 100%; border-radius: 14px; background: linear-gradient(180deg, #eaf1fb, #d7e5f6); border: 1px solid var(--line); display: block; touch-action: none; }
.g-controls { display: grid; gap: 12px; margin-top: 14px; }
.g-srow { display: flex; align-items: center; gap: 12px; font-family: var(--ui); font-weight: 700; font-size: 0.84rem; color: var(--ink); }
.g-srow label { width: 66px; flex: none; }
.g-srow input[type=range] { flex: 1; accent-color: var(--physics); }
.g-srow b { width: 54px; text-align: right; color: var(--physics); }
.g-hint { font-family: var(--math); font-style: italic; color: var(--ink-faint); font-size: 0.9rem; text-align: center; margin-top: 4px; }
.g-streak { transition: transform 0.2s, color 0.2s; }
.g-streak.hot { color: var(--physics); transform: scale(1.12); }
.g-stats { display: flex; justify-content: center; gap: 18px; font-family: var(--ui); font-size: 0.86rem; color: var(--ink-mut); margin: 6px 0 10px; }
.g-stats b { color: var(--navy); }
.g-stats em { color: var(--gold-deep); font-style: normal; font-weight: 800; font-size: 0.74rem; }
.g-msg { color: var(--ink-mut); }
.g-unlock { margin: 14px 0 4px; padding: 18px; border-radius: 16px; background: linear-gradient(150deg, var(--gold-tint), #fff); border: 1.5px solid var(--gold); text-align: center; animation: popIn 0.5s var(--ease); }
.g-unlock-badge { display: inline-block; font-family: var(--ui); font-weight: 800; font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; background: linear-gradient(120deg, var(--gold), var(--gold-bright)); color: var(--navy-deep); margin-bottom: 8px; }
.g-unlock b { display: block; font-family: var(--display); font-weight: 800; font-size: 1.1rem; color: var(--ink-strong); margin-bottom: 4px; }
.g-unlock p { color: var(--ink-mut); font-size: 0.9rem; margin: 0; }

/* ---------- Challenge selector ---------- */
.challenge-wrap { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 26px; }
.challenge-list { display: grid; gap: 10px; align-content: start; }
.challenge-btn { text-align: left; padding: 18px 20px; border-radius: var(--radius-sm); background: #fff; border: 1px solid var(--line); color: var(--ink-mut); font-family: var(--body); font-weight: 600; font-size: 0.97rem; display: flex; align-items: center; gap: 12px; transition: 0.3s var(--ease); box-shadow: var(--shadow-sm); }
.challenge-btn .q { flex: none; width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; background: var(--navy-tint); color: var(--navy); font-family: var(--display); font-weight: 800; font-size: 0.86rem; }
.challenge-btn:hover { color: var(--ink-strong); transform: translateX(4px); }
.challenge-btn.active { background: var(--navy); border-color: var(--navy); color: #fff; box-shadow: var(--glow-navy); }
.challenge-btn.active .q { background: var(--gold); color: var(--navy-deep); }
.challenge-panel { border-radius: var(--radius); padding: clamp(26px,4vw,44px); background: linear-gradient(160deg, var(--navy-tint), #fff); border: 1px solid var(--line); position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: center; box-shadow: var(--shadow-sm); }
.challenge-panel h3 { font-size: clamp(1.4rem,2.4vw,1.9rem); margin: 14px 0; }
.challenge-panel p { color: var(--ink-mut); margin-bottom: 22px; }
.challenge-panel .tick-list { display: grid; gap: 10px; }
.challenge-panel .tick-list li { list-style: none; display: flex; gap: 11px; align-items: flex-start; font-size: 0.96rem; color: var(--ink); }
.challenge-panel .tick-list .ic { color: var(--chem); font-weight: 800; flex: none; margin-top: 2px; }
.challenge-btn .q { font-size: 1.05rem; }
.challenge-btn.active .q { background: var(--gold); transform: scale(1.05); }
.challenge-panel .tick-list li { opacity: 0; animation: tickIn 0.5s var(--ease) forwards; animation-delay: calc(var(--k) * 0.09s + 0.12s); }
@keyframes tickIn { from { opacity: 0; transform: translateX(-10px); } to { opacity: 1; transform: none; } }
body.reduce-motion .challenge-panel .tick-list li { opacity: 1; animation: none; }
.cp-cta { margin-top: 24px; }
.fade-swap { animation: fadeSwap 0.5s var(--ease); }
@keyframes fadeSwap { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 0.86fr 1.14fr; gap: 48px; align-items: center; }
.about-gallery { position: relative; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1.2fr 0.8fr; gap: 12px; aspect-ratio: 4/4.4; }
.about-gallery .photo { border-radius: var(--radius-sm); border: 1px solid var(--line); box-shadow: var(--shadow); background: var(--navy-tint); transition: transform 0.5s var(--ease); }
.about-gallery .photo:first-child { grid-row: span 2; }
.about-gallery .photo:hover { transform: translateY(-5px); }
.about-badge { position: absolute; bottom: 12px; left: 12px; right: 12px; background: rgba(255,255,255,0.94); backdrop-filter: blur(6px); border: 1px solid var(--line); border-radius: 14px; padding: 12px 16px; z-index: 4; box-shadow: var(--shadow-sm); }
.about-badge b { color: var(--ink-strong); }
.about p + p { margin-top: 14px; }
.about blockquote { border-left: 3px solid var(--gold); padding-left: 18px; margin: 22px 0; font-family: var(--display); font-weight: 600; font-style: italic; font-size: 1.16rem; color: var(--ink-strong); }
.creds { display: grid; grid-template-columns: repeat(2,1fr); gap: 10px; margin-top: 26px; }
.cred { display: flex; gap: 11px; align-items: center; padding: 13px 15px; border-radius: 14px; background: var(--bg-soft); border: 1px solid var(--line); font-family: var(--ui); font-size: 0.87rem; color: var(--ink); transition: 0.28s var(--ease); }
.cred:hover { transform: translateY(-3px); border-color: var(--gold); box-shadow: var(--shadow-sm); }
.cred .ic { color: var(--gold-deep); flex: none; transition: transform 0.28s var(--ease); }
.cred:hover .ic { transform: scale(1.25) rotate(-8deg); }

/* USP typewriter under name */
.usp-line { font-family: var(--display); font-weight: 800; font-size: clamp(1.05rem, 2vw, 1.42rem); color: var(--gold-deep); min-height: 1.7em; letter-spacing: -0.01em; margin-bottom: 14px; }
.usp-caret { display: inline-block; width: 3px; height: 1.05em; background: var(--navy); margin-left: 3px; vertical-align: -0.16em; animation: blink 1s steps(1) infinite; border-radius: 2px; }
@keyframes blink { 50% { opacity: 0; } }
body.reduce-motion .usp-caret { animation: none; }
.about-tagline { font-family: var(--display); font-weight: 600; font-size: 1.12rem; color: var(--ink-strong); margin-bottom: 16px; }
.since-ribbon { position: absolute; top: 14px; left: 14px; z-index: 5; font-family: var(--ui); font-weight: 800; font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; padding: 7px 13px; border-radius: 999px; background: linear-gradient(120deg, var(--gold), var(--gold-bright)); color: var(--navy-deep); box-shadow: var(--glow-gold); }

/* Parallax quote banner */
.parallax { position: relative; min-height: 68vh; display: grid; place-items: center; overflow: hidden; padding: clamp(84px, 12vw, 160px) 0; }
.parallax-bg { position: absolute; inset: -14% 0; background: url('assets/parallax.jpg') center 30%/cover no-repeat; z-index: 0; will-change: transform; }
.parallax-scrim { position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(10,21,38,0.94), rgba(18,41,74,0.78) 52%, rgba(18,41,74,0.42)); }
.parallax-inner { position: relative; z-index: 2; text-align: center; max-width: 62ch; }
.parallax-eyebrow { color: var(--gold-bright) !important; justify-content: center; }
.parallax-eyebrow::before, .parallax-eyebrow::after { background: linear-gradient(90deg, var(--gold-bright), transparent); }
.parallax-quote { font-family: var(--display); font-weight: 800; font-size: clamp(1.55rem, 3.8vw, 2.9rem); line-height: 1.22; color: #fff; margin: 16px 0 16px; letter-spacing: -0.02em; }
.parallax-quote .ital { color: var(--gold-bright); }
.parallax-by { font-family: var(--ui); color: var(--on-navy-dim); font-weight: 600; letter-spacing: 0.02em; font-size: 0.95rem; }

/* Enhanced hovers across sections */
.eng-node { transition: transform 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s; }
.eng-node:hover { transform: translateY(-5px); border-color: var(--gold); box-shadow: var(--shadow); }
.safety-item { transition: transform 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s; }
.safety-item:hover { transform: translateY(-5px); border-color: var(--navy); box-shadow: var(--shadow); }
.safety-item .ic { transition: transform 0.3s var(--ease), background 0.3s; }
.safety-item:hover .ic { transform: scale(1.12) rotate(-6deg); background: var(--gold-tint); }
.quote { transition: transform 0.3s var(--ease), box-shadow 0.3s, border-color 0.3s; }
.quote:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--gold); }
.subject .topics span { transition: 0.25s var(--ease); }
.subject:hover .topics span { border-color: var(--line-2); }
.opt-formats span { transition: 0.25s var(--ease); }
.opt-formats span:hover { border-color: var(--gold); color: var(--ink-strong); transform: translateY(-2px); }
.chip { transition: transform 0.25s var(--ease), box-shadow 0.25s; }
.chip:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.price-card.feature .price-badge { animation: badgePulse 2.6s ease-in-out infinite; }
@keyframes badgePulse { 0%,100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(-3px); } }
body.reduce-motion .price-card.feature .price-badge { animation: none; }

/* ---------- Engineering ---------- */
.eng-map { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; margin-top: 20px; }
.eng-node { padding: 22px 18px; border-radius: var(--radius-sm); background: #fff; border: 1px solid var(--line); text-align: center; position: relative; box-shadow: var(--shadow-sm); }
.eng-node .k { font-family: var(--display); font-weight: 800; font-size: 1.08rem; margin-bottom: 4px; color: var(--navy); }
.eng-node .v { font-family: var(--ui); font-size: 0.8rem; color: var(--ink-mut); }
.eng-node:not(:last-child)::after { content: "→"; position: absolute; right: -12px; top: 50%; transform: translateY(-50%); color: var(--gold); font-weight: 800; z-index: 3; }
.eng-node { border-top: 3px solid transparent; transition: transform 0.35s var(--ease), box-shadow 0.35s, border-color 0.35s; }
.en-ic { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; font-size: 1.5rem; margin: 0 auto 12px; transition: 0.35s var(--ease); }
.em-maths .en-ic { background: rgba(43,108,176,0.1); }
.em-physics .en-ic { background: rgba(221,107,32,0.1); }
.em-chem .en-ic { background: rgba(44,154,135,0.1); }
.em-eng .en-ic { background: var(--navy-tint); }
.eng-node:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.eng-node:hover .en-ic { transform: translateY(-3px) rotate(-8deg) scale(1.1); }
.em-maths:hover { border-top-color: var(--maths); }
.em-physics:hover { border-top-color: var(--physics); }
.em-chem:hover { border-top-color: var(--chem); }
.em-eng:hover { border-top-color: var(--gold); }
.eng-card { position: relative; overflow: hidden; border-top: 3px solid transparent; }
.eng-card::before { content: ""; position: absolute; top: 0; left: 0; height: 3px; width: 0; background: linear-gradient(90deg, var(--gold), var(--gold-bright)); transition: width 0.45s var(--ease); }
.eng-card:hover::before { width: 100%; }
.ec-no { position: absolute; top: 10px; right: 16px; font-family: var(--display); font-weight: 800; font-size: 2rem; color: rgba(26,54,93,0.07); line-height: 1; }
.eng-card:hover .ec-no { color: rgba(214,158,46,0.22); }
.eng-cards { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; margin-top: 34px; }
.eng-card { padding: 22px; border-radius: var(--radius-sm); background: #fff; border: 1px solid var(--line); transition: 0.3s var(--ease); box-shadow: var(--shadow-sm); }
.eng-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.eng-card b { font-family: var(--display); font-weight: 800; font-size: 1.06rem; display: block; margin: 6px 0; color: var(--ink-strong); }
.eng-card span { font-family: var(--body); font-size: 0.85rem; color: var(--ink-mut); }
.eng-card .yr { font-family: var(--ui); font-size: 0.72rem; color: var(--gold-deep); font-weight: 700; letter-spacing: 0.06em; }

/* ---------- Dashboard ---------- */
.dash { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: center; }
.dash-card { border-radius: var(--radius); border: 1px solid var(--line); background: #fff; padding: 26px; box-shadow: var(--shadow); }
.dash-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.dash-top .who { display: flex; align-items: center; gap: 11px; }
.dash-top .avatar { width: 42px; height: 42px; border-radius: 12px; background: linear-gradient(135deg, var(--navy), var(--maths)); display: grid; place-items: center; font-family: var(--display); font-weight: 800; color: #fff; }
.dash-top b { color: var(--ink-strong); }
.dash-grade { text-align: right; }
.dash-grade b { font-family: var(--display); font-weight: 800; font-size: 1.7rem; color: var(--chem); line-height: 1; }
.dash-grade span { font-family: var(--ui); font-size: 0.7rem; color: var(--ink-faint); }
.dash-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 18px; }
.metric { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 14px; padding: 14px; }
.metric .lbl { font-family: var(--ui); font-size: 0.7rem; color: var(--ink-faint); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 8px; }
.metric .val { font-family: var(--display); font-weight: 800; font-size: 1.22rem; color: var(--ink-strong); }
.bar { height: 8px; border-radius: 99px; background: var(--navy-tint); overflow: hidden; margin-top: 9px; }
.bar > i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--navy), var(--gold)); width: 0; transition: width 1.4s var(--ease); }
.topic-row { display: flex; align-items: center; justify-content: space-between; padding: 9px 0; border-top: 1px solid var(--line); font-family: var(--ui); font-size: 0.86rem; color: var(--ink); }
.pill { font-family: var(--ui); font-size: 0.68rem; font-weight: 700; padding: 4px 9px; border-radius: 999px; }
.pill.good { color: var(--chem); background: rgba(44,154,135,0.12); }
.pill.mid { color: var(--gold-deep); background: rgba(214,158,46,0.14); }
.pill.focus { color: var(--maths); background: rgba(43,108,176,0.12); }
/* dashboard infographic: ring + sparkline */
.dash-info { display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: center; margin-bottom: 16px; padding: 16px; border-radius: 16px; background: var(--bg-soft); border: 1px solid var(--line); }
.dash-ring { position: relative; width: 116px; height: 116px; flex: none; }
.dash-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring-bg { fill: none; stroke: var(--navy-tint); stroke-width: 11; }
.ring-fg { fill: none; stroke: url(#ringGrad); stroke-width: 11; stroke-linecap: round; stroke-dasharray: 314.16; stroke-dashoffset: 314.16; }
.dash-card.in .ring-fg { animation: ringFill 1.4s var(--ease) 0.25s forwards; }
@keyframes ringFill { to { stroke-dashoffset: 69.1; } }
body.reduce-motion .ring-fg { stroke-dashoffset: 69.1; animation: none; }
.ring-label { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.ring-label b { font-family: var(--display); font-weight: 800; font-size: 1.5rem; color: var(--navy); line-height: 1; }
.ring-label span { font-family: var(--ui); font-size: 0.6rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-faint); margin-top: 2px; }
.dash-spark { min-width: 0; }
.ds-head { display: flex; justify-content: space-between; align-items: center; font-family: var(--ui); font-weight: 700; font-size: 0.82rem; color: var(--ink-mut); margin-bottom: 8px; }
.ds-up { color: var(--chem); }
.spark-svg { width: 100%; height: 64px; display: block; }
.spark-area { fill: rgba(214,158,46,0.16); stroke: none; }
.spark-line { fill: none; stroke: var(--gold-deep); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 300; stroke-dashoffset: 300; }
.dash-card.in .spark-line { animation: sparkDraw 1.5s var(--ease) 0.35s forwards; }
@keyframes sparkDraw { to { stroke-dashoffset: 0; } }
body.reduce-motion .spark-line { stroke-dashoffset: 0; animation: none; }
.ds-axis { display: flex; justify-content: space-between; font-family: var(--ui); font-size: 0.66rem; color: var(--ink-faint); margin-top: 3px; }
@media (max-width: 480px) { .dash-info { grid-template-columns: 1fr; justify-items: center; text-align: center; } }

/* ---------- Pricing ---------- */
.pricing { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; align-items: stretch; }
.price-card { position: relative; border-radius: var(--radius); padding: 34px 28px; background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform 0.4s var(--ease), box-shadow 0.4s; box-shadow: var(--shadow-sm); }
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.price-card.feature { background: linear-gradient(165deg, var(--navy), var(--navy-deep)); color: var(--on-navy); border-color: var(--navy); box-shadow: var(--glow-navy); }
.price-card.feature h3 { color: #fff; }
.price-card.feature .price-sub { color: var(--on-navy-dim); }
.price-badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); font-family: var(--ui); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; padding: 6px 14px; border-radius: 999px; background: linear-gradient(120deg, var(--gold), var(--gold-bright)); color: var(--navy-deep); white-space: nowrap; box-shadow: var(--glow-gold); }
.price-card h3 { font-size: 1.35rem; margin-bottom: 6px; }
.price-sub { font-family: var(--ui); font-size: 0.82rem; color: var(--ink-faint); margin-bottom: 20px; }
.price-amount { font-family: var(--display); font-weight: 800; font-size: 2.9rem; line-height: 1; display: flex; align-items: baseline; gap: 4px; color: var(--ink-strong); }
.price-card.feature .price-amount { color: var(--gold-bright); }
.price-amount .per { font-family: var(--ui); font-size: 0.88rem; font-weight: 600; color: var(--ink-faint); }
.price-card.feature .price-amount .per { color: var(--on-navy-dim); }
.price-list { list-style: none; display: grid; gap: 11px; margin: 24px 0 26px; }
.price-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.91rem; }
.price-list .ic { color: var(--gold-deep); font-weight: 800; flex: none; margin-top: 2px; }
.price-card.feature .price-list li { color: var(--on-navy); }
.price-card.feature .price-list .ic { color: var(--gold-bright); }
.price-card .btn { margin-top: auto; justify-content: center; }
.price-note { margin-top: 16px; padding: 18px 22px; border-radius: var(--radius-sm); background: var(--gold-tint); border: 1px solid rgba(214,158,46,0.4); font-family: var(--ui); font-size: 0.9rem; text-align: center; color: var(--ink); }
/* first-lesson guarantee */
.guarantee { display: flex; align-items: center; gap: 18px; margin-top: 28px; padding: 22px 26px; border-radius: var(--radius); background: linear-gradient(150deg, var(--navy), var(--navy-deep)); box-shadow: var(--glow-navy); }
.gtee-ic { width: 56px; height: 56px; flex: none; border-radius: 16px; display: grid; place-items: center; background: rgba(255,255,255,0.1); font-size: 1.7rem; }
.gtee-text b { font-family: var(--display); font-weight: 800; font-size: 1.18rem; color: #fff; display: block; margin-bottom: 3px; }
.gtee-text p { color: var(--on-navy-dim); font-size: 0.95rem; margin: 0; }
.gtee-text strong { color: var(--gold-bright); }
@media (max-width: 560px) { .guarantee { flex-direction: column; text-align: center; } }

/* sticky scroll CTA (desktop) */
.sticky-cta { position: fixed; left: 50%; bottom: 22px; z-index: 94; transform: translate(-50%, 140%); display: inline-flex; align-items: center; gap: 12px; padding: 10px 10px 10px 20px; border-radius: 999px; background: rgba(10,21,38,0.96); backdrop-filter: blur(10px); box-shadow: 0 18px 40px -14px rgba(10,21,38,0.6); border: 1px solid rgba(255,255,255,0.12); color: #fff; font-family: var(--ui); font-weight: 700; font-size: 0.92rem; transition: transform 0.4s var(--ease), box-shadow 0.3s; will-change: transform; }
.sticky-cta.show { transform: translate(-50%, 0); }
.sticky-cta:hover { box-shadow: 0 22px 48px -12px rgba(10,21,38,0.7); }
.sticky-cta .sc-dot { width: 9px; height: 9px; border-radius: 50%; background: #25D366; box-shadow: 0 0 0 0 rgba(37,211,102,0.6); animation: waPulse 2.4s ease-out infinite; }
.sticky-cta .sc-btn { display: inline-flex; align-items: center; gap: 6px; padding: 9px 16px; border-radius: 999px; background: linear-gradient(120deg, var(--gold), var(--gold-bright)); color: #3a2903; font-weight: 800; }
.sticky-cta .sc-btn svg { width: 15px; height: 15px; }
body.reduce-motion .sticky-cta .sc-dot { animation: none; }
@media (max-width: 860px) { .sticky-cta { display: none; } }

/* ---------- Praise ---------- */
.praise { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.quote { border-radius: var(--radius); border: 1px solid var(--line); background: #fff; padding: 28px; position: relative; box-shadow: var(--shadow-sm); }
.quote .mark { font-family: var(--display); font-weight: 800; font-size: 3rem; line-height: 0.6; color: var(--gold); }
.quote p { font-family: var(--body); font-size: 1.02rem; margin: 10px 0 18px; color: var(--ink); font-style: italic; }
.quote .who { font-family: var(--ui); font-size: 0.82rem; color: var(--ink-faint); }
.quote .who b { color: var(--ink-strong); font-weight: 700; }
.stars { color: var(--gold); letter-spacing: 2px; }

/* ---------- Testimonials auto-slider ---------- */
.tslider { overflow: hidden; position: relative; -webkit-mask-image: linear-gradient(90deg, transparent, #000 3.5%, #000 96.5%, transparent); mask-image: linear-gradient(90deg, transparent, #000 3.5%, #000 96.5%, transparent); }
.tslider-track { display: flex; gap: 22px; align-items: stretch; will-change: transform; }
.tslider .quote { flex: 0 0 calc((100% - 44px) / 3); box-sizing: border-box; }
.tslider .quote p { min-height: 4.5em; }
@media (max-width: 1024px) { .tslider .quote { flex-basis: calc((100% - 22px) / 2); } }
@media (max-width: 680px) { .tslider .quote { flex-basis: 100%; } }
body.reduce-motion .tslider { overflow-x: auto; }

/* ---------- Creative "Meet Chakshu" ---------- */
.about-head { text-align: center; max-width: 62ch; margin: 0 auto; }
.about-name { display: inline-block; position: relative; margin: 12px 0 2px; }
.name-underline { position: absolute; left: -2%; bottom: -14px; width: 104%; height: 16px; overflow: visible; }
.name-underline path { fill: none; stroke: var(--gold); stroke-width: 6; stroke-linecap: round; stroke-dasharray: 360; stroke-dashoffset: 360; }
.about-head.in .name-underline path { animation: drawLine 1.15s var(--ease) 0.35s forwards; }
@keyframes drawLine { to { stroke-dashoffset: 0; } }
body.reduce-motion .name-underline path { stroke-dashoffset: 0; }
.usp-line.center { justify-content: center; text-align: center; margin-top: 22px; }

.about-stage { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 66px; align-items: center; margin-top: 54px; }
.about-photo-wrap { position: relative; perspective: 1100px; }
.photo-glow { position: absolute; inset: -8%; z-index: 0; background: radial-gradient(circle at 50% 42%, rgba(214,158,46,0.28), transparent 62%); filter: blur(22px); }
.photo-tilt { position: relative; z-index: 2; border-radius: 22px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); aspect-ratio: 4/4.7; transform-style: preserve-3d; transition: transform 0.3s ease-out; will-change: transform; background: var(--navy-tint); }
.photo-tilt .photo { width: 100%; height: 100%; }
.photo-tilt img { width: 100%; height: 100%; object-fit: cover; }
.tilt-seal { position: absolute; bottom: 14px; left: 14px; z-index: 3; background: linear-gradient(135deg, var(--navy), var(--navy-deep)); color: var(--gold-bright); font-family: var(--display); font-weight: 800; font-size: 1.1rem; padding: 8px 15px; border-radius: 13px; box-shadow: var(--shadow); }
.float-badge { position: absolute; z-index: 5; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); border-radius: 999px; padding: 9px 15px; font-family: var(--ui); font-weight: 700; font-size: 0.76rem; color: var(--ink-strong); white-space: nowrap; opacity: 0; transform: translateY(6px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.about-photo-wrap.in .float-badge { opacity: 1; transform: none; }
.float-badge .ic { color: var(--gold-deep); margin-right: 3px; }
.float-badge.fb1 { top: 4%; left: -9%; transition-delay: 0.2s; }
.float-badge.fb2 { top: 1%; right: -5%; transition-delay: 0.32s; }
.float-badge.fb3 { top: 45%; right: -13%; transition-delay: 0.44s; }
.float-badge.fb4 { bottom: 18%; right: -6%; transition-delay: 0.56s; }
.float-badge.fb5 { bottom: 3%; left: -3%; transition-delay: 0.68s; }
.float-badge.fb6 { top: 42%; left: -12%; transition-delay: 0.8s; }
.about-photo-wrap.in .float-badge.fb1 { animation: floatY 4.2s ease-in-out 1s infinite; }
.about-photo-wrap.in .float-badge.fb2 { animation: floatY 5s ease-in-out 1.2s infinite; }
.about-photo-wrap.in .float-badge.fb3 { animation: floatY 4.6s ease-in-out 1.1s infinite; }
.about-photo-wrap.in .float-badge.fb4 { animation: floatY 5.2s ease-in-out 1.3s infinite; }
.about-photo-wrap.in .float-badge.fb5 { animation: floatY 4.4s ease-in-out 1.15s infinite; }
.about-photo-wrap.in .float-badge.fb6 { animation: floatY 4.8s ease-in-out 1.35s infinite; }
@keyframes floatY { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
body.reduce-motion .float-badge { animation: none !important; opacity: 1; transform: none; }
.about-copy blockquote { border-left: 3px solid var(--gold); padding-left: 18px; margin: 20px 0; font-family: var(--display); font-weight: 600; font-style: italic; font-size: 1.16rem; color: var(--ink-strong); }
.about-copy p + p { margin-top: 14px; }

@media (max-width: 900px) {
  .about-stage { grid-template-columns: 1fr; gap: 40px; }
  .about-photo-wrap { display: flex; flex-direction: column; align-items: center; max-width: 420px; margin-inline: auto; }
  .photo-tilt { width: 100%; }
  .float-badges { position: static; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 20px; }
  .float-badge { position: static !important; opacity: 1 !important; transform: none !important; animation: none !important; transition-delay: 0s !important; }
}

/* ---------- Journeys ---------- */
.journeys { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.journey { border-radius: var(--radius); border: 1px solid var(--line); background: #fff; padding: 26px; transition: 0.35s var(--ease); box-shadow: var(--shadow-sm); }
.journey:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.journey .stage { display: flex; gap: 12px; padding: 12px 0; }
.journey .stage:not(:last-child) { border-bottom: 1px dashed var(--line-2); }
.journey .stage .k { flex: none; width: 88px; font-family: var(--ui); font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-faint); padding-top: 3px; }
.journey .stage .v { font-size: 0.93rem; color: var(--ink); }
.journey .up { color: var(--chem); font-weight: 700; }

/* ---------- Options ---------- */
.opt-formats { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 26px; justify-content: center; }
.opt-formats span { font-family: var(--ui); font-size: 0.84rem; padding: 8px 15px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--ink-mut); box-shadow: var(--shadow-sm); }

/* ---------- Booking wizard ---------- */
.booking { border-radius: var(--radius); border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); overflow: hidden; }
.book-head { padding: 26px clamp(24px,4vw,40px) 0; }
.win-banner { display: none; align-items: center; gap: 12px; margin-bottom: 18px; padding: 14px 18px; border-radius: 14px; background: linear-gradient(120deg, var(--gold-tint), #fff); border: 1.5px solid var(--gold); box-shadow: var(--glow-gold); animation: popIn 0.5s var(--ease); }
.win-banner .wb-ic { font-size: 1.5rem; flex: none; }
.win-banner .wb-text { font-family: var(--ui); font-weight: 700; font-size: 0.9rem; color: var(--ink-strong); }
.book-progress { display: flex; gap: 6px; }
.book-progress i { flex: 1; height: 6px; border-radius: 99px; background: var(--navy-tint); overflow: hidden; }
.book-progress i.done::after, .book-progress i.active::after { content: ""; display: block; height: 100%; background: linear-gradient(90deg, var(--navy), var(--gold)); }
.book-body { padding: 26px clamp(24px,4vw,40px) 32px; }
.book-step { display: none; animation: fadeSwap 0.45s var(--ease); }
.book-step.active { display: block; }
.book-step h3 { font-size: 1.45rem; margin-bottom: 6px; }
.book-step .sub { color: var(--ink-mut); margin-bottom: 22px; }
.opt-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px,1fr)); gap: 12px; }
.opt-pick { padding: 18px; border-radius: var(--radius-sm); background: #fff; border: 1.5px solid var(--line); text-align: left; transition: 0.25s var(--ease); font-family: var(--ui); font-weight: 600; color: var(--ink); display: flex; flex-direction: column; gap: 4px; }
.opt-pick small { color: var(--ink-faint); font-weight: 500; font-size: 0.8rem; }
.opt-pick:hover { border-color: var(--navy); transform: translateY(-2px); }
.opt-pick.sel { border-color: var(--gold); background: var(--gold-tint); box-shadow: var(--glow-gold); }
.book-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 26px; gap: 12px; }
.book-nav .spacer { flex: 1; }
.field { display: grid; gap: 7px; margin-bottom: 14px; }
.field label { font-family: var(--ui); font-size: 0.86rem; font-weight: 600; color: var(--ink-mut); }
.field input, .field textarea { width: 100%; padding: 13px 15px; border-radius: 12px; background: #fff; border: 1.5px solid var(--line-2); color: var(--ink); font-family: inherit; font-size: 0.96rem; transition: border-color 0.2s; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold); }
.book-summary { display: grid; gap: 10px; margin-bottom: 20px; }
.sum-row { display: flex; justify-content: space-between; padding: 11px 15px; border-radius: 12px; background: var(--bg-soft); border: 1px solid var(--line); font-family: var(--ui); font-size: 0.9rem; }
.sum-row b { color: var(--ink-strong); }
.book-contacts { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.book-contacts a { display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; border-radius: 999px; background: var(--bg-soft); border: 1px solid var(--line); font-family: var(--ui); font-weight: 700; font-size: 0.9rem; color: var(--navy); transition: 0.25s var(--ease); }
.book-contacts a:hover { border-color: var(--navy); background: #fff; transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.book-contacts svg { width: 17px; height: 17px; }
.book-err { display: none; color: #c0392b; font-family: var(--ui); font-weight: 600; font-size: 0.86rem; margin: -4px 0 10px; }
.book-err.show { display: block; animation: fadeSwap 0.3s var(--ease); }
.field input.err, .field textarea.err { border-color: #c0392b; background: rgba(192,57,43,0.04); }
.book-sent { display: none; margin: 12px auto 0; padding: 10px 16px; border-radius: 12px; background: rgba(44,154,135,0.12); border: 1px solid rgba(44,154,135,0.4); color: #1c7d6b; font-family: var(--ui); font-weight: 700; font-size: 0.9rem; max-width: 44ch; }
.book-done { text-align: center; padding: 20px 0; }
.book-done .check { width: 76px; height: 76px; border-radius: 50%; margin: 0 auto 18px; display: grid; place-items: center; background: rgba(44,154,135,0.12); border: 1px solid rgba(44,154,135,0.4); }

/* ---------- Safety ---------- */
.safety-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; }
.safety-item { padding: 22px; border-radius: var(--radius-sm); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.safety-item .ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--navy-tint); color: var(--navy); margin-bottom: 13px; font-size: 1.15rem; }
.safety-item b { font-family: var(--display); font-weight: 800; font-size: 1.02rem; display: block; margin-bottom: 4px; color: var(--ink-strong); }
.safety-item span { font-family: var(--body); font-size: 0.85rem; color: var(--ink-mut); }
.safety-item { position: relative; overflow: hidden; }
.safety-item::after { content: ""; position: absolute; top: 0; left: -70%; width: 45%; height: 100%; background: linear-gradient(90deg, transparent, rgba(214,158,46,0.16), transparent); transform: skewX(-18deg); transition: left 0.65s var(--ease); pointer-events: none; }
.safety-item:hover::after { left: 130%; }
.ref-callout { display: flex; gap: 18px; align-items: flex-start; margin-top: 26px; padding: clamp(20px, 3vw, 28px); border-radius: var(--radius); background: linear-gradient(150deg, var(--gold-tint), #fff); border: 1.5px solid rgba(214,158,46,0.4); box-shadow: var(--shadow-sm); }
.ref-ic { width: 54px; height: 54px; border-radius: 15px; flex: none; display: grid; place-items: center; background: linear-gradient(135deg, var(--navy), var(--navy-deep)); color: var(--gold-bright); font-size: 1.4rem; box-shadow: var(--glow-navy); }
.ref-callout b { font-family: var(--display); font-weight: 800; color: var(--ink-strong); display: block; margin-bottom: 5px; font-size: 1.05rem; }
.ref-callout p { color: var(--ink-mut); font-size: 0.94rem; margin: 0; }
.ref-callout strong { color: var(--navy); }
@media (max-width: 600px) { .ref-callout { flex-direction: column; gap: 12px; } }

/* ---------- FAQ ---------- */
.faq-layout { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: 50px; align-items: start; }
.faq-aside { position: sticky; top: 100px; }
.faq-aside > p { margin-top: 4px; }
.faq-help { margin-top: 28px; padding: 26px; border-radius: var(--radius); background: linear-gradient(160deg, var(--navy), var(--navy-deep)); box-shadow: var(--glow-navy); }
.fh-ic { width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center; background: rgba(255,255,255,0.1); font-size: 1.4rem; margin-bottom: 14px; }
.faq-help b { font-family: var(--display); font-weight: 800; font-size: 1.22rem; color: #fff; display: block; margin-bottom: 6px; }
.faq-help p { color: var(--on-navy-dim); font-size: 0.92rem; margin-bottom: 18px; }
.faq-help .btn { width: 100%; justify-content: center; }
.faq { display: grid; gap: 12px; }
.faq-item { border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: var(--shadow-sm); transition: box-shadow 0.3s, border-color 0.3s, transform 0.3s; overflow: hidden; }
.faq-item:hover { border-color: var(--line-2); box-shadow: var(--shadow); }
.faq-item.open { border-color: var(--gold); box-shadow: var(--glow-gold); }
.faq-q { width: 100%; text-align: left; padding: 20px 22px; display: flex; justify-content: space-between; align-items: center; gap: 18px; font-family: var(--display); font-weight: 700; font-size: 1.06rem; color: var(--ink-strong); }
.faq-item.open .faq-q { color: var(--navy); }
.faq-q .plus { flex: none; width: 30px; height: 30px; border-radius: 9px; border: 1px solid var(--line-2); display: grid; place-items: center; transition: 0.3s; color: var(--navy); font-size: 1.1rem; }
.faq-item.open .plus { transform: rotate(45deg); background: var(--gold); border-color: var(--gold); color: var(--navy-deep); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease); }
.faq-a p { padding: 0 22px 20px; color: var(--ink-mut); }
@media (max-width: 900px) { .faq-layout { grid-template-columns: 1fr; gap: 30px; } .faq-aside { position: static; } }

/* ---------- Final ---------- */
.final { text-align: center; }
.final-card { border-radius: 30px; padding: clamp(46px,7vw,86px) clamp(24px,5vw,64px); background: linear-gradient(155deg, var(--navy), var(--navy-deep)); border: 1px solid var(--navy); box-shadow: var(--shadow); position: relative; overflow: hidden; }
.final-card canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.6; z-index: 0; }
.final-card > * { position: relative; z-index: 2; }
.final-card .eyebrow { color: var(--gold-bright); }
.final-card h2 { color: #fff; }
.final-card h2 .ital { color: var(--gold-bright); }
.final-card .lead { color: var(--on-navy-dim); }
.final-contacts { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 30px; }
.final-contacts a { display: inline-flex; align-items: center; gap: 9px; padding: 12px 18px; border-radius: 999px; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); color: #fff; font-family: var(--ui); font-weight: 600; font-size: 0.92rem; transition: 0.25s; }
.final-contacts a:hover { background: rgba(255,255,255,0.18); transform: translateY(-2px); }
.final-contacts .li-link { background: #0A66C2; border-color: #0A66C2; color: #fff; font-weight: 700; }
.final-contacts .li-link:hover { background: #0b5cad; }
.li-icon { width: 18px; height: 18px; flex: none; }
.li-foot { display: inline-flex; align-items: center; gap: 8px; }
.li-foot .li-icon { width: 16px; height: 16px; color: #0A66C2; }
.foot-contact a { display: inline-flex; align-items: center; gap: 8px; }
.foot-contact svg { width: 16px; height: 16px; flex: none; color: var(--ink-faint); transition: color 0.2s; }
.foot-contact a:hover svg { color: var(--navy); }
.foot-contact .li-foot:hover .li-icon { color: #0A66C2; }

/* brand logo — larger, blends onto light backgrounds */
.brand-logo { width: 60px; height: 60px; object-fit: contain; flex: none; }
.nav.scrolled .brand-logo { width: 52px; height: 52px; }
.footer .brand-logo { width: 56px; height: 56px; }
@media (max-width: 760px) { .brand-logo { width: 50px; height: 50px; } }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 62px 0 40px; background: var(--bg-soft); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 30px; }
.footer h5 { font-family: var(--ui); font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 14px; }
.footer ul { list-style: none; display: grid; gap: 9px; }
.footer a { font-family: var(--ui); color: var(--ink-mut); font-size: 0.92rem; }
.footer a:hover { color: var(--navy); }
.footer-bottom { margin-top: 42px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; color: var(--ink-faint); font-family: var(--ui); font-size: 0.84rem; align-items: center; }

/* ---------- Mobile CTA + motion toggle ---------- */
.mobile-cta { display: none; position: fixed; bottom: 0; inset-inline: 0; z-index: 90; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: rgba(255,255,255,0.94); backdrop-filter: blur(12px); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px -16px rgba(26,54,93,0.3); }
.mobile-cta .btn { width: 100%; justify-content: center; }
.wa-fab { position: fixed; left: 22px; bottom: 22px; z-index: 96; display: inline-flex; align-items: center; height: 56px; border-radius: 999px; background: #25D366; color: #fff; box-shadow: 0 12px 28px -8px rgba(37,211,102,0.65); transition: transform 0.3s var(--ease), box-shadow 0.3s, padding 0.3s; }
.wa-fab svg { width: 30px; height: 30px; margin: 0 13px; flex: none; }
.wa-label { max-width: 0; overflow: hidden; white-space: nowrap; font-family: var(--ui); font-weight: 700; font-size: 0.9rem; opacity: 0; transition: max-width 0.35s var(--ease), opacity 0.3s, margin 0.3s; }
.wa-fab:hover { transform: translateY(-2px); box-shadow: 0 14px 32px -6px rgba(37,211,102,0.8); }
.wa-fab:hover .wa-label { max-width: 170px; opacity: 1; margin-right: 18px; }
.wa-fab::before { content: ""; position: absolute; inset: 0; border-radius: 999px; box-shadow: 0 0 0 0 rgba(37,211,102,0.5); animation: waPulse 2.6s ease-out infinite; pointer-events: none; }
@keyframes waPulse { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.45); } 70% { box-shadow: 0 0 0 16px rgba(37,211,102,0); } 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); } }
body.reduce-motion .wa-fab::before { animation: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 34px; }
  .hero-visual { max-width: 440px; margin-inline: auto; width: 100%; }
  .about-grid, .challenge-wrap, .dash { grid-template-columns: 1fr; }
  .eng-map, .eng-cards, .safety-grid, .pricing, .praise, .journeys { grid-template-columns: repeat(2,1fr); }
  .eng-node:nth-child(2)::after, .eng-node:nth-child(4)::after { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .price-card.feature { grid-column: span 2; }
}
@media (max-width: 760px) {
  .nav-links { display: none; }
  .nav-cta .btn-primary { display: none; }
  .nav-toggle { display: flex; }
  .nav-links.open { display: flex; position: absolute; top: 74px; inset-inline: 0; flex-direction: column; gap: 4px; padding: 16px; background: rgba(255,255,255,0.98); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .subjects, .journeys, .steps, .pricing, .praise, .eng-map, .eng-cards, .safety-grid, .creds, .footer-grid, .dash-metrics { grid-template-columns: 1fr; }
  .price-card.feature { grid-column: auto; }
  .steps::before, .step-prog { display: none; }
  .eng-node::after { content: "↓" !important; right: 50% !important; top: auto !important; bottom: -12px !important; transform: translateX(50%) !important; }
  .compare { aspect-ratio: 3/4; }
  .compare-group { padding-right: 46%; } .compare-121 { padding-left: 46%; }
  .compare-121 ul, .compare-group ul { max-width: none; }
  .compare h3 { font-size: 1.2rem; margin-bottom: 12px; }
  .c-illus svg { height: 36px; } .c-illus { margin-bottom: 12px; }
  .mobile-cta { display: block; }
  .wa-fab { bottom: 82px; left: 14px; height: 50px; }
  .wa-fab svg { width: 27px; height: 27px; margin: 0 11px; }
  .wa-fab:hover .wa-label, .wa-label { max-width: 0; opacity: 0; margin: 0; }
  .about-gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; aspect-ratio: 3/2.4; }
}

/* ---------- How-stepper + games: small screens ---------- */
@media (max-width: 760px) {
  .how-rail { gap: 4px; }
  .hn-dot { width: 50px; height: 50px; }
  .hn-dot svg { width: 20px; height: 20px; }
  .hn-title { font-size: 0.64rem; }
  .how-line { top: 25px; }
  .how-detail { grid-template-columns: 1fr; text-align: center; gap: 18px; margin-top: 30px; }
  .hd-badge { margin: 0 auto; }
  .hd-points { justify-content: center; }
  .g-opts { grid-template-columns: 1fr; }
}

/* ---------- Micro-interactions (visibility polish) ---------- */
/* Arrow nudge on buttons */
.btn svg { transition: transform 0.25s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.sticky-cta .sc-btn svg { transition: transform 0.25s var(--ease); }
.sticky-cta:hover .sc-btn svg { transform: translateX(4px); }

/* Hero primary CTA: gentle "breathing" pulse to draw the eye (pauses on hover) */
.hero .btn-primary { animation: ctaPulse 3s ease-in-out infinite; }
.hero .btn-primary:hover { animation-play-state: paused; }
@keyframes ctaPulse {
  0%, 100% { box-shadow: var(--glow-gold); }
  50% { box-shadow: 0 0 0 7px rgba(214,158,46,0.12), 0 22px 46px -16px rgba(214,158,46,0.85); }
}
body.reduce-motion .hero .btn-primary { animation: none; }

/* Footer link underline-draw on hover */
.footer ul a, .footer-bottom a { position: relative; }
.footer ul a::after, .footer-bottom a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; width: 100%; height: 1.5px;
  background: var(--gold); transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.footer ul a:hover::after, .footer-bottom a:hover::after { transform: scaleX(1); }

/* Subject topic tags lift with the card */
.subject:hover .topics span { transform: translateY(-2px); }

/* Accessible focus ring for keyboard users (follows each element's shape) */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid var(--gold); outline-offset: 3px;
}

/* ============================================================
   HERO · CINEMATIC "INK & PAPER"
   Light British-academic cold-open: warm parchment, navy ink,
   gold leaf. Ink-drawn physics, London line-art, flag gleam.
   ============================================================ */
.cine {
  --p-paper:  #FFFFFF;
  --p-paper2: #F5F8FC;
  --p-ink:    #1A365D;
  --p-soft:   #5B6576;
  --p-gold:   #D69E2E;
  --p-gold2:  #B9831C;
  --p-uk:     #012169;
  --p-red:    #C8102E;
  --eo: cubic-bezier(0.16, 1, 0.3, 1);

  position: relative;
  isolation: isolate;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: clamp(96px, 12vh, 136px) 0 clamp(44px, 6vh, 72px);
  overflow: hidden;
  background:
    radial-gradient(105% 75% at 82% 4%, rgba(26,54,93,0.07), transparent 62%),
    radial-gradient(80% 62% at 8% 96%, rgba(214,158,46,0.075), transparent 64%),
    linear-gradient(172deg, #FFFFFF 0%, #FAFCFE 46%, var(--p-paper2) 100%);
  color: var(--p-ink);
}
.cine-layer { position: absolute; inset: 0; pointer-events: none; }
.cine-fx { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1; }

/* exercise-book grid */
.cine-grid {
  z-index: 0;
  background-image:
    linear-gradient(rgba(26,54,93,0.075) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26,54,93,0.075) 1px, transparent 1px);
  background-size: 56px 56px, 56px 56px;
  -webkit-mask-image: radial-gradient(118% 80% at 52% 78%, #000 10%, transparent 74%);
          mask-image: radial-gradient(118% 80% at 52% 78%, #000 10%, transparent 74%);
  opacity: 0.9;
  animation: cineGridDrift 34s linear infinite;
}
@keyframes cineGridDrift { to { background-position: 56px 56px, 56px 56px; } }

/* ink equations, written in by hand */
.cine-eqs { z-index: 2; }
.cine-eq {
  position: absolute;
  font-family: var(--math);
  font-style: italic;
  color: rgba(26,54,93,0.24);
  white-space: nowrap;
  opacity: 0;
  -webkit-mask-image: linear-gradient(90deg, #000 0 var(--w, 0%), transparent var(--w, 0%));
          mask-image: linear-gradient(90deg, #000 0 var(--w, 0%), transparent var(--w, 0%));
}
.cine-eq.gold { color: rgba(214,158,46,0.42); }

/* London skyline, fine line art */
.cine-skyline {
  z-index: 2;
  top: auto; bottom: 0; height: clamp(130px, 21vh, 220px);
  opacity: 0.34;
  -webkit-mask-image: linear-gradient(transparent, #000 62%);
          mask-image: linear-gradient(transparent, #000 62%);
}
.cine-skyline svg { position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 1700px; max-width: none; height: 100%; }
.cine-skyline .sk { fill: none; stroke: rgba(26,54,93,0.72); stroke-width: 2.2; stroke-linejoin: round; }
.cine-skyline .sk-f { fill: rgba(26,54,93,0.05); stroke: rgba(26,54,93,0.6); stroke-width: 2; }

/* warm cursor light + paper grain */
.cine-spot {
  z-index: 3;
  background: radial-gradient(460px circle at var(--mx, 58%) var(--my, 36%), rgba(214,158,46,0.11), transparent 70%);
  transition: background 240ms linear;
}
.cine-grain {
  z-index: 9; opacity: 0.28; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.22'/%3E%3C/svg%3E");
}
.cine::after {
  content: ""; position: absolute; inset: 0; z-index: 8; pointer-events: none;
  background: radial-gradient(128% 92% at 50% 44%, transparent 54%, rgba(26,54,93,0.055) 100%);
}

/* Union-flag accent rule */
@keyframes cineRule { to { transform: scaleX(1); } }

/* layout — single editorial column, right side left to breathe */
.cine-inner { position: relative; z-index: 7; }
.cine-copy { min-width: 0; max-width: min(64%, 790px); }
.cine-lead { max-width: 56ch; }

/* eyebrow */
.cine-eyebrow { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: clamp(12px, 1.8vh, 20px); opacity: 0; animation: cineUp 0.95s var(--eo) 0.12s forwards; }
.cine-chip {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--ui); font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 8px 14px; border-radius: 999px;
  color: var(--p-soft);
  background: rgba(255,255,255,0.82);
  border: 1px solid rgba(26,54,93,0.11);
  box-shadow: 0 6px 18px -12px rgba(26,54,93,0.5);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.cine-chip .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--p-gold); }
.cine-chip .uk-flag { width: 17px; height: 12px; border-radius: 2px; }

/* the headline */
.cine-title {
  position: relative;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 400;
  font-size: clamp(2.5rem, 5.6vw, 5rem);
  line-height: 0.99;
  letter-spacing: -0.02em;
  color: var(--p-ink);
  margin: 0 0 clamp(14px, 2vh, 22px);
  max-width: none;
}
.cine-title .cl { display: block; overflow: hidden; padding-bottom: 0.06em; }
.cine-title .cl > i {
  display: block; font-style: normal;
  transform: translateY(112%); filter: blur(16px); opacity: 0;
  animation: cineLine 1.35s var(--eo) var(--d, 0s) forwards;
}
.cine-title .em {
  font-style: italic; font-weight: 500;
  background: linear-gradient(96deg, var(--p-gold2) 6%, #E9B84A 46%, var(--p-gold) 92%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.cine-title::after {
  content: ""; position: absolute; inset: -8% -12%; pointer-events: none;
  background: linear-gradient(102deg, transparent 40%, rgba(255,255,255,0.85) 50%, transparent 60%);
  transform: translateX(-115%); mix-blend-mode: overlay;
  animation: cineGleam 7s ease-in-out 1.9s infinite;
}

/* lead */
.cine-lead {
  font-family: var(--body); font-size: clamp(1rem, 1.2vw, 1.13rem);
  line-height: 1.68; color: var(--p-soft);
  opacity: 0; animation: cineUp 1s var(--eo) 0.86s forwards;
}
.cine-lead b { color: var(--p-ink); font-weight: 600; }

/* rotator */
.cine-rot { display: inline-flex; align-items: center; gap: 12px; margin-top: 13px; font-family: var(--ui); font-size: 0.95rem; color: var(--p-soft); opacity: 0; animation: cineUp 1s var(--eo) 1s forwards; }
.cine-rot-ar, .cine-rot b { color: var(--p-gold); font-weight: 600; }

/* CTAs */
.cine-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: clamp(20px, 2.6vh, 28px); opacity: 0; animation: cineUp 1s var(--eo) 1.12s forwards; }
.cine-btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--ui); font-weight: 700; font-size: 0.9rem;
  padding: 16px 26px; border-radius: 999px;
  transition: transform .3s var(--eo), box-shadow .3s, background .3s, color .3s, border-color .3s;
}
.cine-btn svg { width: 17px; height: 17px; transition: transform .3s var(--eo); }
.cine-btn:hover svg { transform: translateX(4px); }
.cine-btn-gold {
  color: #1B2740; background: linear-gradient(135deg, #E9B84A, #D69E2E 55%, #B9831C);
  box-shadow: 0 16px 34px -14px rgba(214,158,46,0.6), inset 0 1px 0 rgba(255,255,255,0.55);
}
.cine-btn-gold:hover { transform: translateY(-3px); box-shadow: 0 24px 46px -14px rgba(214,158,46,0.75); }
.cine-btn-ghost { color: var(--p-ink); border: 1px solid rgba(26,54,93,0.22); background: rgba(255,255,255,0.6); }
.cine-btn-ghost:hover { transform: translateY(-3px); border-color: var(--p-gold); color: var(--p-gold2); background: #fff; }

/* stats */
.cine-stats { display: flex; flex-wrap: wrap; gap: clamp(22px, 3.4vw, 52px); margin-top: clamp(18px, 2.4vh, 28px); padding-top: clamp(14px, 1.8vh, 20px); border-top: 1px solid rgba(26,54,93,0.13); opacity: 0; animation: cineUp 1s var(--eo) 1.26s forwards; }
.cine-stats b { display: block; font-family: "Cormorant Garamond", Georgia, serif; font-weight: 600; font-size: clamp(1.6rem, 2.4vw, 2.15rem); line-height: 1; color: var(--p-gold2); }
.cine-stats span { display: block; margin-top: 7px; font-family: var(--ui); font-size: 0.7rem; letter-spacing: 0.09em; text-transform: uppercase; color: rgba(26,54,93,0.5); }

/* keyframes */
@keyframes cineLine { to { transform: translateY(0); filter: blur(0); opacity: 1; } }
@keyframes cineUp   { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes cineGleam{
  0%   { transform: translateX(-115%); opacity: 0; }
  5%   { opacity: 1; }
  22%  { opacity: 1; }
  26%  { transform: translateX(115%); opacity: 0; }
  100% { transform: translateX(115%); opacity: 0; }
}

/* responsive */
@media (max-width: 1100px) { .cine-copy { max-width: 76%; } }
@media (max-width: 760px) {
  .cine { padding-top: 104px; }
  .cine-copy { max-width: none; }
  /* copy runs full-width here, so the ink would land on the headline */
  .cine-eqs { display: none; }
  .cine-fx { opacity: 0.3; }   /* keep the drawn curve as texture, not competition */
  .cine-title { font-size: clamp(2.45rem, 11.5vw, 3.6rem); }
  .cine-stats { gap: 20px; }
  .cine-stats > div { flex: 1 1 40%; }
}

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  .cine *, .cine *::after, .cine *::before { animation: none !important; transition: none !important; }
  .cine-title .cl > i, .cine-eyebrow, .cine-lead, .cine-rot, .cine-cta, .cine-stats { opacity: 1 !important; transform: none !important; filter: none !important; }
  .cine-rule i { transform: scaleX(1) !important; }
  .cine-title::after { display: none; }
}
.reduce-motion .cine *, .reduce-motion .cine *::after { animation: none !important; }
.reduce-motion .cine-title .cl > i, .reduce-motion .cine-eyebrow, .reduce-motion .cine-lead,
.reduce-motion .cine-rot, .reduce-motion .cine-cta, .reduce-motion .cine-stats { opacity: 1 !important; transform: none !important; filter: none !important; }
.reduce-motion .cine-rule i { transform: scaleX(1) !important; }

/* ---------- skyline: draws itself, wheel turns, windows twinkle ---------- */
.cine-skyline .sk, .cine-skyline .sk-f {
  stroke-dasharray: 1400; stroke-dashoffset: 1400;
  animation: skDraw 2.8s ease forwards;
}
.cine-skyline > svg > *:nth-child(1) { animation-delay: 1.15s; }
.cine-skyline > svg > *:nth-child(2) { animation-delay: 1.25s; }
.cine-skyline > svg > *:nth-child(3) { animation-delay: 1.35s; }
.cine-skyline > svg > *:nth-child(4) { animation-delay: 1.45s; }
.cine-skyline > svg > *:nth-child(5) { animation-delay: 1.55s; }
.cine-skyline > svg > *:nth-child(6) { animation-delay: 1.65s; }
.cine-skyline > svg > *:nth-child(7) { animation-delay: 1.75s; }
.cine-skyline > svg > *:nth-child(8) { animation-delay: 1.85s; }
.cine-skyline > svg > *:nth-child(9) { animation-delay: 1.95s; }
.cine-skyline > svg > *:nth-child(10) { animation-delay: 2.05s; }
.cine-skyline > svg > *:nth-child(11) { animation-delay: 2.15s; }
.cine-skyline > svg > *:nth-child(12) { animation-delay: 2.25s; }
.cine-skyline > svg > *:nth-child(13) { animation-delay: 2.35s; }
.cine-skyline > svg > *:nth-child(14) { animation-delay: 2.45s; }
.cine-skyline > svg > *:nth-child(15) { animation-delay: 2.55s; }
@keyframes skDraw { to { stroke-dashoffset: 0; } }

.cine-skyline .eye-spin { transform-origin: 210px 138px; animation: eyeSpin 90s linear 2s infinite; }
@keyframes eyeSpin { to { transform: rotate(360deg); } }

.cine-skyline .sky-win rect, .cine-skyline .sky-win > rect {
  fill: #B0821A; stroke: none; opacity: 0;
  animation: winTwinkle 6s ease-in-out infinite;
  animation-delay: calc(2.6s + var(--t, 0s));
}
@keyframes winTwinkle { 0%, 100% { opacity: 0.1; } 45% { opacity: 0.75; } 62% { opacity: 0.22; } }

@media (max-width: 760px) { .cine-rule { display: none; } }
@media (prefers-reduced-motion: reduce) {
  .cine-rule { opacity: 1 !important; }
  .cine-skyline .sk, .cine-skyline .sk-f { stroke-dashoffset: 0 !important; }
  .cine-skyline .sky-win rect { opacity: 0.45 !important; }
}
.reduce-motion .cine-rule { opacity: 1 !important; }
.reduce-motion .cine-skyline .sk, .reduce-motion .cine-skyline .sk-f { stroke-dashoffset: 0 !important; }
.reduce-motion .cine-skyline .sky-win rect { opacity: 0.45 !important; }
