/* ==========================================================================
   Front page stylesheet: the landing page approved 13 to 17 October 2026,
   moved out of landing-page.html as it stood on 17 October.

   Loaded on the front page only, in place of main.css. The two files share
   the same tokens, so the other pages and this one read as one site.

   ⚠ Oswald is self-hosted (assets/vendor/fonts). The prototype loaded it from
   Google Fonts, which hands the visitor's IP to Google before the consent
   banner has been answered. See inc/fonts.php for the longer reason.
   ========================================================================== */
@font-face{font-family:'Oswald';font-style:normal;font-display:swap;font-weight:200 700;
  src:url('../vendor/fonts/oswald-latin-wght-normal.woff2') format('woff2');
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}

/* ═══════════════════════════════════════════════════════════
   BRAND TOKENS — read off tajalquran.com, 21 Sep 2026
   --primary #006754 · --secondary #1f3b64 · --dark #343434
   --gray #818894 · stars #FFC600 · headings Oswald
   ═══════════════════════════════════════════════════════════ */
/* ═══════════════════════════════════════════════════════════
   PALETTE — white-first, orange-led. 25 Sep 2026.
   Built after looking at what actually makes furqanschool.net
   feel cheerful, which is not the orange:
     · white almost everywhere — no heavy dark bands
     · a different soft tint per subject, not two colours
     · rounded shapes and a coloured strip on each card
   Orange became the action colour and the navy is gone. Taj
   green stays as the tie back to the academy, which is the
   school's biggest trust asset on a two-month-old domain.
   ═══════════════════════════════════════════════════════════ */
:root{
  /* orange, in three strengths because one cannot do three jobs */
  --acc:#F2693E;        /* fills and badges — dark text on it (5.85) */
  --acc-btn:#C94413;    /* a button with white text on it (4.86)     */
  --acc-ink:#B8390A;    /* orange as a WORD on white (5.79)          */
  --acc-on:#2B0F04;
  --acc-soft:#FFF1EB;

  /* Taj green, now the second voice rather than the first */
  --green:#006754;
  --green-d:#024D3F;
  --green-l:#E3F3EE;

  /* one tint per subject — this is the cheerful part */
  --s1-ink:#046B52; --s1-bg:#E3F3EE;   /* Quran          */
  --s2-ink:#9A5B00; --s2-bg:#FFF1DC;   /* Arabic          */
  --s3-ink:#5B3DA6; --s3-bg:#EEEAFB;   /* Islamic Studies */
  --s4-ink:#B03A52; --s4-bg:#FDE9EE;   /* spare           */

  --ink:#343434;
  --body:#5A6270;
  --muted:#8A94A6;
  --line:#EDEFF3;
  --surface:#FFFFFF;
  --bg:#FFFFFF;
  --soft:#FAFAFB;

  --navy:#006754;       /* kept as an alias so nothing breaks */
  --navy-d:#024D3F;

  --r:16px;
  --sh:0 1px 2px rgba(52,52,52,.04),0 8px 26px rgba(52,52,52,.06);
  --sans:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
  --head:"Oswald","Segoe UI",system-ui,sans-serif;
}
/* the accent switcher stays, so the orange can still be compared */
/* ── ACCENT THEMES ───────────────────────────────────────── */

*,*::before,*::after{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0;padding:0;background:var(--bg);color:var(--body);
  font-family:var(--sans);font-size:16px;line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
h1,h2,h3,.num{font-family:var(--head);font-weight:600;color:var(--ink);letter-spacing:.005em;line-height:1.15;margin:0;}
p{margin:0;}
a{color:inherit;}
img{max-width:100%;display:block;}
.wrap{max-width:1080px;margin:0 auto;padding:0 20px;}
.narrow{max-width:760px;margin:0 auto;}
section{padding:52px 0;}
@media(min-width:800px){ section{padding:76px 0;} }
.eyebrow{
  font-family:var(--head);font-size:12.5px;font-weight:600;letter-spacing:.14em;
  text-transform:uppercase;color:var(--green);margin-bottom:12px;
}
.h2{font-size:27px;margin-bottom:12px;}
@media(min-width:800px){ .h2{font-size:36px;} }
.lede{font-size:16.5px;line-height:1.62;max-width:60ch;}
.btn{
  display:inline-block;font-family:var(--head);font-size:16.5px;font-weight:600;
  letter-spacing:.02em;color:#fff;background:var(--green);
  border:0;border-radius:10px;padding:15px 26px;text-decoration:none;cursor:pointer;
  transition:transform .12s,box-shadow .12s;
}
.btn:hover{transform:translateY(-1px);box-shadow:0 6px 18px rgba(0,103,84,.28);}
.btn--ghost{background:transparent;color:var(--green);border:1.5px solid var(--green);}
.btn:focus-visible{outline:3px solid var(--navy);outline-offset:2px;}
/* ── header ───────────────────────────────────────────────── */
.hdr{background:var(--surface);border-bottom:1px solid var(--line);}
.hdr__in{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 0;}
.logo{display:flex;align-items:center;gap:10px;text-decoration:none;}
/* ⚠ The real badge, not a letter in a green square. It carries its own
   colour, so no background and no radius: a tile behind it would put a
   second shape around a shape that already has one. */
.logo__mark{width:44px;height:44px;object-fit:contain;display:block;}
.logo__txt{font-family:var(--head);font-weight:600;font-size:17px;color:var(--ink);line-height:1.1;}
.hdr .btn{padding:11px 18px;font-size:15px;white-space:nowrap;}
.nav__list{list-style:none;margin:0;padding:0;display:flex;gap:20px;}
/* ⚠ nowrap on both. Five nav items and a button wrap onto two lines at
   tablet width, which pushes the headline under the fold — the one thing a
   paid landing page cannot afford. Below 900px the nav is hidden anyway. */
.nav a{text-decoration:none;font-size:14.6px;font-weight:500;color:var(--body);
  white-space:nowrap;padding:4px 0;border-bottom:2px solid transparent;}
.nav a:hover{color:var(--acc-ink);border-bottom-color:var(--acc);}
/* ⚠ Below 900px the nav is hidden, not stacked. The header's job on a phone is
   the one button; a wrapped row of four links pushes it below the fold. Every
   nav destination is reachable from the page body, so nothing is lost. */
@media(max-width:1040px){.nav{display:none;}}
@media(max-width:520px){.hdr__cta{display:none;}}
@media(max-width:560px){ .hdr .btn{display:none;} }

/* ── hero ─────────────────────────────────────────────────── */
.hero{background:var(--surface);padding-top:40px;}
/* ⚠ The three headlines are deliberately NOT forced to the same height.
   How far each one pushes the buttons down the page is part of what you are
   choosing between, and padding them to match would hide it. */
.hero__grid{display:grid;gap:30px;align-items:center;}
@media(min-width:900px){ .hero__grid{grid-template-columns:1.06fr .94fr;gap:48px;} }
.hero h1{font-size:34px;line-height:1.1;letter-spacing:-.005em;}
@media(min-width:800px){ .hero h1{font-size:50px;} }
.hero .lede{margin-top:16px;font-size:17.5px;}
.hero__cta{display:flex;flex-wrap:wrap;gap:12px;margin-top:26px;}
.hero__media{
  position:relative;border-radius:18px;overflow:hidden;
  aspect-ratio:4/3;display:grid;place-content:center;padding:24px;
}
/* ── pain ─────────────────────────────────────────────────── */
.pain{background:var(--bg);}
.pain__q{
  border-left:3px solid var(--acc);padding:4px 0 4px 18px;margin:22px 0;
  font-family:var(--head);font-size:21px;font-weight:400;color:var(--ink);line-height:1.5;
}
@media(min-width:800px){ .pain__q{font-size:25px;} }
.pain__after{font-size:17px;color:var(--ink);font-weight:600;}
/* ── what the local school costs, in things other than money ────────
   ⚠ No red, no crosses, no frowning icons. The parent driving an hour
   every Saturday is doing a good thing at a cost, and a page that mocks
   the choice they have been making loses them in the first line. */
.gone{list-style:none;margin:26px 0 0;padding:0;display:grid;gap:11px;}
.gone li{background:var(--surface);border:1px solid var(--line);border-radius:12px;
  padding:15px 17px;font-size:15px;line-height:1.55;color:var(--body);
  border-inline-start:3px solid var(--acc);}
.gone li b{color:var(--ink);font-weight:650;}
@media(min-width:760px){ .cards{grid-template-columns:repeat(3,1fr);} }
/* ── timetable line ───────────────────────────────────────── */
.tline{background:var(--green-d);color:#fff;}
.tline .h2{color:#fff;}
.tline p{color:rgba(255,255,255,.85);font-size:17px;margin-top:10px;}
.tline a.lnk{
  display:inline-block;margin-top:18px;color:var(--acc);font-family:var(--head);
  font-size:16.5px;font-weight:500;text-decoration:none;border-bottom:1.5px solid currentColor;
  padding-bottom:2px;
}
@media(min-width:760px){ .tgrid{grid-template-columns:repeat(4,1fr);} }
@media(min-width:760px){ .quotes{grid-template-columns:1fr 1fr;} }
@media(min-width:760px){ .fee{grid-template-columns:auto 1fr auto;gap:28px;} }
/* ── enrolment surface ─────────────────────────────────────────── */
.safe{background:var(--green-l);}
@media(min-width:680px){ .safe__grid{grid-template-columns:1fr 1fr;} }
/* ── faq ──────────────────────────────────────────────────── */
.faq{margin-top:26px;}
.faq details{border-bottom:1px solid var(--line);padding:2px 0;}
.faq summary{
  cursor:pointer;list-style:none;padding:17px 30px 17px 0;position:relative;
  font-family:var(--head);font-size:17.5px;font-weight:500;color:var(--ink);
}
.faq summary::-webkit-details-marker{display:none;}
.faq summary::after{
  content:"+";position:absolute;right:2px;top:50%;transform:translateY(-50%);
  font-size:23px;color:var(--acc-ink);font-weight:400;line-height:1;
}
.faq details[open] summary::after{content:"–";}
.faq p{padding:0 0 18px;font-size:15.5px;line-height:1.62;max-width:64ch;}
/* ── footer + sticky ──────────────────────────────────────── */
.foot{background:var(--surface);border-top:1px solid var(--line);padding:26px 0;font-size:13.5px;color:var(--muted);}
.foot__in{display:flex;flex-wrap:wrap;gap:12px;justify-content:space-between;}
.foot a{color:var(--body);text-decoration:none;margin-right:16px;}
.sticky{
  position:fixed;left:0;right:0;bottom:0;z-index:80;background:var(--surface);
  border-top:1px solid var(--line);padding:11px 16px;display:none;
  gap:12px;align-items:center;justify-content:space-between;
  box-shadow:0 -4px 18px rgba(52,52,52,.08);
}
.sticky span{font-size:13px;line-height:1.35;color:var(--body);}
.sticky b{display:block;font-family:var(--head);font-size:15px;color:var(--ink);font-weight:500;}
.sticky .btn{padding:12px 18px;font-size:15px;white-space:nowrap;}
@media(max-width:860px){ .sticky{display:flex;} body{padding-bottom:74px;} }
@media(min-width:760px){ .steps{grid-template-columns:repeat(3,1fr);} }
@media(min-width:620px){ .tiers__row{grid-template-columns:repeat(3,1fr);} }
@media(min-width:720px){ .cb__in{grid-template-columns:1fr auto;text-align:start;} }
@media(min-width:620px){ .tqs__card{padding:28px 30px 30px;} }
@media(min-width:620px){ .tqs__q{font-size:24px;} }
/* ── white-first overrides ─────────────────────────────────── */
body{background:var(--bg);}
section{padding:56px 0;}
@media(min-width:800px){ section{padding:84px 0;} }
/* the primary button is orange now; green is the quiet second option */
.btn{background:var(--acc-btn);color:#fff;border-radius:12px;}
.btn:hover{box-shadow:0 8px 22px rgba(201,68,19,.26);}
.btn--ghost{background:#fff;color:var(--green);border:1.5px solid var(--green);}
.eyebrow{color:var(--acc-ink);}

/* ── the WhatsApp button ───────────────────────────────────── */
/* ⚠ .btn--wa had no rule at all. An inline <svg> with a viewBox and no
   width falls back to the SVG default of 300×150, so the icon came out
   bigger than the button holding it. A viewBox sets the ratio, never the
   size: every inline icon on this page needs an explicit one.
   ⚠ It is white with a green edge on purpose. The form is the thing we
   want, so the form keeps the orange and WhatsApp stays the quiet door. */
.btn--wa{display:inline-flex;align-items:center;gap:9px;
  background:#fff;color:var(--green);border:1.5px solid var(--green);}
.btn--wa svg{width:19px;height:19px;flex:none;}
.btn--wa:hover{background:var(--green-l);box-shadow:0 6px 18px rgba(0,103,84,.18);}

.ready{margin-top:30px;padding:24px 22px;background:#fff;
  border:1px solid var(--line);border-radius:var(--r);box-shadow:var(--sh);}
.ready p{margin:0 0 15px;color:var(--body);}
.ready p b{color:var(--ink);}
.ready__cta{display:flex;flex-wrap:wrap;gap:10px;}
@media(min-width:620px){ .ready{padding:26px 28px;} }

/* ── the inline calls to action ────────────────────────────── */
/* ⚠ One door per major section. A parent convinced by the stages should
   not have to scroll to the end of the page to act on it, and the ones who
   decide early are the ones least willing to keep scrolling. */
.cta{margin:36px auto 0;max-width:600px;text-align:center;background:#fff;
  border:1px solid var(--line);border-radius:var(--r);box-shadow:var(--sh);
  padding:24px 20px;}
.cta__h{font-family:var(--head);font-size:20px;font-weight:600;color:var(--ink);
  letter-spacing:.01em;line-height:1.3;margin:0 0 14px;}
.cta__b{display:flex;flex-wrap:wrap;gap:10px;justify-content:center;align-items:center;}
.cta__alt{display:block;margin-top:12px;font-size:14.5px;color:var(--body);}
.cta__alt a{color:var(--acc-ink);font-weight:600;text-underline-offset:3px;}
@media(min-width:620px){ .cta{padding:28px 30px;} .cta__h{font-size:22px;} }

/* ── the numbers strip ─────────────────────────────────────── */
.nums__note{text-align:center;font-size:13.5px;color:var(--body);
  padding:0 16px 20px;margin:0;}
@media(max-width:400px){ .nums__n{font-size:22px;} }

/* ── the hero sound toggle ─────────────────────────────────── */
/* ⚠ The animation still loads silent, because it plays on its own and
   every browser blocks autoplay with sound. The voice-over is one tap away
   instead of forced, and the button stays hidden until the audio file is
   actually there, so nothing offers a parent a sound that will not come. */
.hero__media{position:relative;}
.hero__snd{position:absolute;top:8px;right:8px;z-index:2;
  display:inline-flex;align-items:center;gap:7px;
  font-family:var(--head);font-size:13px;font-weight:600;letter-spacing:.02em;
  color:var(--green);background:rgba(255,255,255,.92);
  border:1px solid var(--line);border-radius:99px;padding:7px 13px 7px 10px;
  cursor:pointer;box-shadow:var(--sh);transition:background .12s;}
.hero__snd:hover{background:#fff;}
/* ⚠ an author display: rule beats the browser's own [hidden]{display:none},
   so without this the button shows anyway and offers a sound that is not there */
.hero__snd[hidden]{display:none;}
.hero__snd svg{width:16px;height:16px;flex:none;}
.hero__snd .hero__snd-off{display:none;}
.hero__snd[aria-pressed="true"] .hero__snd-on{display:none;}
.hero__snd[aria-pressed="true"] .hero__snd-off{display:inline;}
.hero__media.is-reset *{animation:none !important;}

/* ── the floating WhatsApp button ────────────────────── */
/* ⚠ It appears only once the hero has scrolled away. In the hero the page
   already has two buttons of its own, and a third floating on top of them
   makes the first screen look like an advert instead of a school.
   ⚠ It is the school's green, not WhatsApp's. WhatsApp green is #25D366
   and white on it is 2.2, which fails, and a second unrelated green on a
   page this carefully coloured reads as a bolted-on widget. The glyph is
   what a parent recognises, not the shade behind it. */
.wafab{position:fixed;right:18px;bottom:22px;z-index:85;
  display:inline-flex;align-items:center;gap:9px;
  background:var(--green);color:#fff;text-decoration:none;
  font-family:var(--head);font-size:15px;font-weight:600;letter-spacing:.02em;
  padding:11px 18px 11px 13px;border-radius:99px;
  box-shadow:0 6px 20px rgba(2,77,63,.34);
  opacity:0;visibility:hidden;transform:translateY(12px);
  transition:opacity .22s ease,transform .22s ease,visibility .22s;}
.wafab.is-on{opacity:1;visibility:visible;transform:none;}
.wafab:hover{background:var(--green-d);}
.wafab:focus-visible{outline:3px solid var(--acc-btn);outline-offset:3px;}
.wafab svg{width:25px;height:25px;display:block;flex:none;}
/* ⚠ clear of the mobile sticky bar, which is 74px tall */
@media(max-width:860px){ .wafab{bottom:86px;right:14px;padding:10px 16px 10px 12px;font-size:14.5px;} }
@media(prefers-reduced-motion:reduce){ .wafab{transition:none;} }
.tline{background:var(--acc-soft);color:var(--ink);}
.tline .h2{color:var(--ink);}
.tline p{color:var(--body);}
.tline a.lnk{color:var(--acc-ink);}
.close{background:var(--soft);color:var(--ink);}
.close .h2{color:var(--ink);}
.close p{color:var(--body);}
.pain{background:var(--soft);}
.safe{background:#fff;}
.faq summary::after{color:var(--acc-ink);}
.hero__media{background:var(--green-l);}
.hero__media p{color:var(--body);}
.hero__media strong{color:var(--green);}
.pain__q{border-left-color:var(--acc);}
.hdr{border-bottom:1px solid var(--line);}
.foot{background:var(--soft);}
/* ═══ SCHOOL REBUILD, 27 Sep 2026 ═══════════════════════════════════════
   The page now talks as a school: stages, cohorts, a year with terms and
   holidays. Nothing on it compares itself to a tutor or an academy.
   ═══════════════════════════════════════════════════════════════════════ */

/* ── stages ─────────────────────────────────────────────────────────── */
.stages{display:grid;gap:16px;margin-top:32px}
@media(min-width:760px){.stages{grid-template-columns:repeat(3,1fr)}}
.stage{background:#fff;border:1px solid var(--line);border-radius:var(--r);
  padding:24px 22px;box-shadow:var(--sh);border-top:4px solid var(--s1-ink)}
.stages .stage:nth-child(2){border-top-color:var(--s2-ink)}
.stages .stage:nth-child(3){border-top-color:var(--s3-ink)}
.stage__age{display:inline-block;font-size:12px;font-weight:700;letter-spacing:.08em;
  text-transform:uppercase;padding:4px 11px;border-radius:99px;margin-bottom:12px;
  background:var(--s1-bg);color:var(--s1-ink)}
.stages .stage:nth-child(2) .stage__age{background:var(--s2-bg);color:var(--s2-ink)}
.stages .stage:nth-child(3) .stage__age{background:var(--s3-bg);color:var(--s3-ink)}
.stage h3{font-size:20px;margin-bottom:8px}
.stage p{font-size:14.8px;line-height:1.62}
/* ── who teaches, and what they follow ──────────────────────────────
   Green, not orange. This band is the trust claim on the page, and green
   is the quieter of the two voices — an orange panel here would read as an
   offer, which is the last thing this section is. */
.fac{display:grid;gap:16px;margin-top:32px}
/* ⚠ Two columns, because the creed card was removed and a three-column
   grid holding two cards leaves an empty third that reads as a section
   somebody forgot to finish. */
/* ⚠ Three cards again, since the identity card joined. Keep this in step
   with how many .fac__i there actually are: a grid of three holding two
   leaves an empty column that reads as a section somebody left unfinished. */
@media(min-width:860px){ .fac{grid-template-columns:repeat(3,1fr)} }
.fac__i{background:var(--green-l);border-radius:var(--r);padding:24px 22px}
.fac__m{display:grid;place-items:center;width:52px;height:52px;border-radius:16px;
  background:#fff;color:var(--green);margin-bottom:13px}
.fac__i h3{font-size:19px;margin-bottom:8px;color:var(--ink)}
.fac__i p{font-size:14.6px;line-height:1.6;color:var(--body)}
.fac__i p b{color:var(--green-d);font-weight:650}

/* ── what makes the curriculum current ───────────────────────────── */

/* ── subjects, with the real curriculum under each ──────────────────── */
/* ── the stage switcher ──────────────────────────────────────────────
   ⚠ One stage visible at a time. All three on screen at once is nine
   paragraphs, and a parent with one nine-year-old reads none of them. */
.stg{margin-top:30px}
.stg__tabs{display:flex;flex-wrap:wrap;gap:10px;justify-content:center}
.stg__tab{font:inherit;font-family:var(--head);font-size:17px;font-weight:500;
  color:var(--ink);background:#fff;border:1.5px solid var(--line);
  border-radius:13px;padding:11px 20px;cursor:pointer;line-height:1.25;
  display:grid;gap:2px;text-align:center;transition:border-color .12s,background .12s}
.stg__tab span{display:block;font-family:var(--sans);font-size:12.5px;
  font-weight:600;letter-spacing:.04em;color:var(--muted)}
.stg__tab:hover{border-color:var(--acc)}
.stg__tab.is-on{background:var(--acc-soft);border-color:var(--acc);color:var(--acc-ink)}
.stg__tab.is-on span{color:var(--acc-ink);opacity:.8}

/* the subject tint is keyed to the subject, not to its position in the row,
   so reordering the cards can never silently recolour them */
.sub--quran   .sub__chip{background:var(--s1-bg);color:var(--s1-ink)}
.sub--arabic  .sub__chip{background:var(--s2-bg);color:var(--s2-ink)}
.sub--islamic .sub__chip{background:var(--s3-bg);color:var(--s3-ink)}
.sub__kind{font-size:12px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;
  margin-bottom:6px}
.sub--quran   .sub__kind{color:var(--s1-ink)}
.sub--arabic  .sub__kind{color:var(--s2-ink)}
.sub--islamic .sub__kind{color:var(--s3-ink)}
.sub--skills  .sub__chip{background:var(--s4-bg);color:var(--s4-ink)}
.sub--skills  .sub__kind{color:var(--s4-ink)}
.sub p{font-size:14.6px;line-height:1.62}
/* ⚠ Two columns, not four. The fourth card (practice and activities) made
   a four-across row in which every card is a narrow column of text nobody
   finishes. Two by two keeps each one readable. */
@media(min-width:720px){ .subs{grid-template-columns:repeat(2,1fr)} }

.subs{display:grid;gap:16px;margin-top:30px}
.sub{background:#fff;border:1px solid var(--line);border-radius:var(--r);
  padding:26px 22px;box-shadow:var(--sh)}
.sub__chip{display:grid;place-items:center;width:52px;height:52px;border-radius:16px;
  margin-bottom:14px;background:var(--s1-bg);color:var(--s1-ink)}
.sub__chip svg,.fac__m svg{width:30px;height:30px;display:block}
.sub h3{font-size:20px;margin-bottom:10px}
/* ── the hero story ──────────────────────────────────────────────────
   Four scenes, five seconds each, on one twenty second loop. Each scene is
   a <g> that fades in, holds for about four seconds, and fades out while
   the next one comes up.

   ⚠ Everything here sits inside the reduced-motion guard at the bottom. A
   looping animation in the hero is exactly what triggers a vestibular
   migraine, and a parent who has that setting on has it on for a reason:
   with it on they get the last scene, held still, which is the one that
   carries the argument anyway. */
.hs{display:block;width:100%;height:auto;max-width:340px;margin:0 auto}
.hs__s{opacity:0;animation:hsScene 20s linear infinite}
.hs__s2{animation-delay:5s}
.hs__s3{animation-delay:10s}
.hs__s4{animation-delay:15s}
@keyframes hsScene{
  0%{opacity:0} 2%,22%{opacity:1} 25%,100%{opacity:0}}

/* scene 1 — the car crawls, the school stays out of reach */
.hs__car{animation:hsDrive 20s ease-in-out infinite}
@keyframes hsDrive{0%,2%{transform:translateX(-26px)} 22%{transform:translateX(150px)} 25%,100%{transform:translateX(-26px)}}
.hs__far{animation:hsFar 20s ease-in-out infinite}
@keyframes hsFar{0%,4%{opacity:0;transform:translateX(16px)} 14%,22%{opacity:.55;transform:translateX(0)} 25%,100%{opacity:0}}

/* scene 2 — the hands go round, which is the whole point of the scene */
.hs__minHand{transform-origin:200px 150px;animation:hsSpin 20s cubic-bezier(.4,0,.5,1) infinite}
.hs__hourHand{transform-origin:200px 150px;animation:hsSpinSlow 20s cubic-bezier(.4,0,.5,1) infinite}
@keyframes hsSpin{0%,25%{transform:rotate(0)} 45%{transform:rotate(1080deg)} 100%{transform:rotate(1080deg)}}
@keyframes hsSpinSlow{0%,25%{transform:rotate(0)} 45%{transform:rotate(180deg)} 100%{transform:rotate(180deg)}}

/* scene 3 — the pin drops on a map with nothing on it, and pings */
.hs__pin{transform-origin:200px 170px;animation:hsDrop 20s ease-out infinite}
@keyframes hsDrop{0%,50%{opacity:0;transform:translateY(-26px) scale(.8)} 56%,70%{opacity:1;transform:translateY(0) scale(1)} 75%,100%{opacity:0}}
.hs__ping{transform-origin:200px 135px;animation:hsPing 20s ease-out infinite}
@keyframes hsPing{0%,56%{opacity:0;transform:scale(.3)} 60%{opacity:.5} 70%{opacity:0;transform:scale(1.5)} 100%{opacity:0}}

/* scene 4 — the class fills in, one child at a time */
.hs__tile{opacity:0;animation:hsTile 20s ease-out infinite}
.hs__t1{animation-delay:15.4s} .hs__t2{animation-delay:15.7s}
.hs__t3{animation-delay:16s}   .hs__t4{animation-delay:16.3s}
@keyframes hsTile{0%{opacity:0;transform:scale(.86)} 3%,22%{opacity:1;transform:scale(1)} 25%,100%{opacity:0}}
.hs__teacher{opacity:0;animation:hsTile 20s ease-out infinite;animation-delay:15.1s}

/* the line of the story under the picture */
.hero__cycle{position:relative;height:3.1em;margin-top:16px;text-align:center}
.hero__cycle span{position:absolute;inset:0;opacity:0;
  font-family:var(--head);font-size:17px;font-weight:400;line-height:1.45;
  color:var(--body);animation:hsLine 20s linear infinite}
.hero__cycle span:nth-child(2){animation-delay:5s}
.hero__cycle span:nth-child(3){animation-delay:10s}
.hero__cycle span:nth-child(4){animation-delay:15s}
.hero__cycle span b{color:var(--green);font-weight:600}
@keyframes hsLine{0%{opacity:0} 3%,22%{opacity:1} 25%,100%{opacity:0}}

@media (prefers-reduced-motion:reduce){
  .hs__s,.hs__car,.hs__far,.hs__minHand,.hs__hourHand,.hs__pin,.hs__ping,
  .hs__tile,.hs__teacher,.hero__cycle span{animation:none}
  .hs__s1,.hs__s2,.hs__s3{opacity:0}
  .hs__s4,.hs__tile,.hs__teacher{opacity:1}
  .hero__cycle span{opacity:0}
  .hero__cycle span:last-child{opacity:1}
}

/* ── the students, in their own words ────────────────────────────────
   A row that scrolls sideways on a phone and sits as a grid on a desktop.
   ⚠ Vertical clips, so the frame is 9:16: letterboxing a portrait video
   into a landscape card is how you end up showing a child's chin. */
.vids{background:var(--soft)}
.vids__row{display:grid;gap:14px;margin-top:30px;
  grid-auto-flow:column;grid-auto-columns:minmax(190px,1fr);
  overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:8px;
  scrollbar-width:thin}
.vids__row > *{scroll-snap-align:start}
@media(min-width:900px){
  .vids__row{grid-auto-flow:row;grid-template-columns:repeat(5,1fr);overflow:visible}
}
.vid{margin:0}
.vid__frame{position:relative;background:#000;border-radius:var(--r);
  overflow:hidden;box-shadow:var(--sh)}
/* ⚠ height:auto is load-bearing. The width and height ATTRIBUTES on a
   <video> map to the CSS width and height properties as presentational
   hints, so height="854" wins over aspect-ratio and the frame renders 854px
   tall whatever the column width. The attributes stay, because they are
   what stops the page jumping while the poster loads. */
.vid__v{display:block;width:100%;height:auto;aspect-ratio:9/16;object-fit:cover;background:#000}
.vid__play{position:absolute;inset:0;margin:auto;width:54px;height:54px;border:0;
  border-radius:50%;background:rgba(255,255,255,.92);color:var(--acc-btn);
  display:grid;place-items:center;cursor:pointer;
  box-shadow:0 4px 18px rgba(0,0,0,.3);transition:transform .12s}
.vid__play svg{width:26px;height:26px;margin-inline-start:2px}
.vid__play:hover{transform:scale(1.07)}
.vid__play[hidden]{display:none}
/* ⚠ Under the frame, not over it. The clips carry the child's name and
   country burned in already; an overlay put the same name twice, in two
   scripts, across the child's face. */
.vid__cap{padding:10px 2px 0;text-align:center}
.vid__cap b{display:block;font-family:var(--head);font-size:15.5px;font-weight:500;color:var(--ink)}
.vid__cap span{display:block;font-size:12.5px;color:var(--muted);margin-top:1px}

/* ── the school year ────────────────────────────────────────────────── */
.year{display:grid;gap:12px;margin-top:28px}
@media(min-width:760px){.year{grid-template-columns:repeat(3,1fr)}}
.yr{background:#fff;border:1px solid var(--line);border-radius:13px;padding:18px 19px}
.yr--break{background:var(--acc-soft);border-color:var(--acc)}
.yr b{display:block;font-family:var(--head);font-size:16.5px;color:var(--ink);font-weight:500}
.yr span{display:block;font-size:13.8px;color:var(--body);margin-top:4px;line-height:1.5}
/* ── numbers strip ──────────────────────────────────────────────────── */
.nums{background:var(--green-l)}
.nums__in{display:flex;flex-wrap:wrap}
.nums__i{flex:1 1 150px;text-align:center;padding:22px 16px;
  border-right:1px solid rgba(4,107,82,.14)}
.nums__i:last-child{border-right:0}
@media(max-width:679px){.nums__i{flex:1 1 50%;border-bottom:1px solid rgba(4,107,82,.14)}
  .nums__i:nth-child(2n){border-right:0}}
.nums__n{display:block;font-family:var(--head);font-size:26px;font-weight:600;color:var(--green);line-height:1.15}
.nums__l{display:block;font-size:13px;color:var(--body);margin-top:3px}
/* ── quote from a scholar ───────────────────────────────────────────── */
.saying{max-width:62ch;margin:0 auto;text-align:center}
.saying p{font-family:var(--head);font-weight:400;font-size:21px;line-height:1.5;color:var(--ink)}
@media(min-width:760px){.saying p{font-size:25px}}
.saying cite{display:block;margin-top:14px;font-style:normal;font-size:14px;color:var(--muted)}
/* ── application form ───────────────────────────────────────────────── */
.apply{background:#fff;border:1px solid var(--line);border-radius:var(--r);
  box-shadow:0 2px 6px rgba(52,52,52,.05),0 18px 44px rgba(52,52,52,.08);
  padding:28px 24px;max-width:680px;margin:0 auto}
@media(min-width:680px){.apply{padding:34px 36px}}
.apply__head{margin-bottom:26px;text-align:center}
.apply__head h2{font-size:25px;margin-bottom:7px}
.apply__head p{font-size:15px;line-height:1.6}
.fgrid{display:grid;gap:17px}
@media(min-width:560px){.fgrid{grid-template-columns:1fr 1fr}}
.f{display:flex;flex-direction:column}
.f--wide{grid-column:1/-1}
.f label{font-size:13.5px;font-weight:650;color:var(--ink);margin-bottom:7px;letter-spacing:.01em}
.f label span{font-weight:400;color:var(--muted)}
.f input,.f select{
  font:inherit;font-size:16px;color:var(--ink);background:#fff;
  border:1.5px solid #DDE1E8;border-radius:11px;padding:14px 15px;width:100%;
  transition:border-color .12s,box-shadow .12s}
.f input::placeholder{color:#AEB6C2}
.f input:hover,.f select:hover{border-color:#C3CCD8}
.f select{appearance:none;-webkit-appearance:none;cursor:pointer;
  background-image:linear-gradient(45deg,transparent 50%,var(--muted) 50%),
                   linear-gradient(135deg,var(--muted) 50%,transparent 50%);
  background-position:calc(100% - 19px) 51%,calc(100% - 14px) 51%;
  background-size:5px 5px,5px 5px;background-repeat:no-repeat;padding-right:38px}
.f input:focus,.f select:focus{outline:0;border-color:var(--acc);
  box-shadow:0 0 0 3px rgba(242,105,62,.16)}
.f input[aria-invalid="true"]{border-color:#B42318}
.f .err{font-size:13px;color:#B42318;margin-top:5px}
.f .err[hidden]{display:none}
.f__hint{font-size:12.8px;color:var(--muted);margin-top:5px}
/* the phone field — the country button, the dial code, and the search box.
   ⚠ intl-tel-input v29 sets the input's own padding-left from the width of the
   country button, so don't override it: a hard-coded padding is right for one
   dial code and wrong for +1, +44 and +212 all at once. */
.iti{width:100%;display:block}
.iti__selected-country{border-radius:10px 0 0 10px}
.iti__selected-country-primary{padding:0 8px 0 13px}
.iti__selected-country:hover{background:#F6F7F9}
.iti__selected-dial-code{color:var(--body);font-size:15.5px}
.iti__country-container:focus-within .iti__selected-country{background:#F6F7F9}
.iti__country-list{border-radius:12px;box-shadow:0 14px 40px rgba(20,25,35,.14);
  border:1px solid var(--line);font-size:14.5px}
.iti__country.iti__highlight{background:var(--acc-soft)}
.iti__search-input{font:inherit;font-size:15px;padding:11px 13px}
.iti__dial-code{color:var(--muted)}
.apply__submit{
  width:100%;font-family:var(--head);font-size:17.5px;font-weight:600;letter-spacing:.02em;
  color:#fff;background:var(--acc-btn);border:0;border-radius:12px;padding:17px;
  cursor:pointer;margin-top:26px;transition:box-shadow .14s,transform .06s}
.apply__submit:active{transform:translateY(1px)}
.apply__alt{margin-top:14px;text-align:center;font-size:14px;color:var(--muted)}
.apply__alt a{color:var(--green);font-weight:600;text-decoration:none;
  border-bottom:1.5px solid var(--green-l);padding-bottom:1px}
.apply__alt a:hover{border-bottom-color:var(--green)}
.apply__submit:hover{box-shadow:0 8px 22px rgba(201,68,19,.26)}
.apply__submit:disabled{opacity:.6;cursor:default}
.apply__after{list-style:none;margin:18px 0 0;padding:0;display:grid;gap:8px}
.apply__after li{font-size:14px;line-height:1.5;display:flex;gap:9px;align-items:flex-start}
.apply__after li::before{content:"✓";color:var(--green);font-weight:700;flex:0 0 auto}
.apply__legal{font-size:12.6px;line-height:1.55;color:var(--muted);margin-top:16px}
.apply__legal a{color:var(--body)}
.hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
/* what the assessment is — reassurance beside the form */
.assess{display:grid;gap:14px;margin-top:30px}
@media(min-width:760px){.assess{grid-template-columns:repeat(3,1fr)}}
.as{background:var(--green-l);border-radius:13px;padding:19px 20px}
.as b{display:block;font-family:var(--head);font-size:16.5px;color:var(--ink);font-weight:500;margin-bottom:5px}
.as span{font-size:14.3px;line-height:1.55;color:var(--body)}

/* ══ Added for WordPress, 17 Oct 2026 ═══════════════════════════════════ */
[hidden]{display:none !important}
.skip{position:absolute;left:-9999px}
.skip:focus{left:14px;top:12px;z-index:200;background:#fff;padding:10px 16px;border-radius:9px;
  border:2px solid var(--green);color:var(--ink);text-decoration:none}
.screen-reader-text{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
/* the form-level message: a bounce back from the server, or a failed send */
.apply__form > .err{display:block;margin-top:12px;padding:11px 14px;border-radius:10px;
  background:#FEF3F2;color:#B42318;font-size:14px;line-height:1.5;text-align:center}
/* ── consent banner (markup printed by inc/consent.php), same as main.css ── */
.taj-consent{position:fixed;left:0;right:0;bottom:0;z-index:95;background:#fff;
  border-top:1px solid var(--line);box-shadow:0 -4px 22px rgba(52,52,52,.10);padding:14px 16px}
.taj-consent__inner{max-width:1080px;margin:0 auto;display:flex;flex-wrap:wrap;gap:12px 22px;
  align-items:center;justify-content:space-between}
.taj-consent__text{font-size:14px;line-height:1.5;max-width:70ch;margin:0}
.taj-consent__text a{color:var(--acc-ink)}
.taj-consent__actions{display:flex;gap:9px;flex:0 0 auto}
.taj-consent .btn-sm{padding:10px 18px;font-size:14.5px;border-radius:10px;font:inherit;cursor:pointer}
.taj-consent .btn-o{background:#fff;color:var(--green);border:1.5px solid var(--green)}
.taj-consent .btn-g{background:var(--acc-btn);color:#fff;border:0}
.foot__reopen{font:inherit;font-size:13.5px;color:var(--muted);background:none;border:0;
  border-bottom:1px solid currentColor;padding:0;cursor:pointer;margin-inline-start:16px}

/* Company particulars (0.3.3): their own full-width line under the links. */
.foot__co{flex-basis:100%;margin:4px 0 0;font-size:12.5px;line-height:1.55;color:var(--muted)}

/* Social icons (0.3.5): a row of round buttons above the company line. */
.soc{display:flex;flex-wrap:wrap;gap:10px;list-style:none;margin:6px 0 0;padding:0}
.foot__soc{flex-basis:100%}
.soc li{margin:0}
.foot .soc__a{margin:0}
.soc__a{display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;border-radius:50%;
  border:1px solid var(--line);color:var(--muted);background:#fff;transition:color .15s,border-color .15s}
.soc__a:hover,.soc__a:focus-visible{color:var(--green);border-color:var(--green)}
.soc__i{width:18px;height:18px}
.visually-hidden{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
