/* CF Academy — public website styles (burgundy · champagne · ivory) */
:root {
  --navy: #5B2333;          /* burgundy: headings, dark bars */
  --navy-2: #7A3045;
  --navy-soft: #F5E8EC;
  --accent: #7A3045;        /* burgundy: buttons, links */
  --accent-hover: #4A1B29;
  --accent-light: #D8A65D;  /* champagne: highlights */
  --orange: #D8A65D;
  --orange-dark: #C08E45;
  --accent-soft: #F7ECDD;
  --accent-ink: #7A5418;
  --bg: #FFF8F0;            /* ivory */
  --bg-2: #FBF0E2;
  --ink: #1B2433;
  --muted: #4A5568;
  --line: #EADCCB;
  --ok: #15803D;
  --ok-soft: #DCFCE7;
  --err: #B42318;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(91, 35, 51, 0.08);
  --header-h: 72px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--navy-2); }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ── Header ── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--line);
  transition: transform .3s cubic-bezier(.4, 0, .2, 1), box-shadow .3s ease;
}
.site-header.scrolled { box-shadow: 0 6px 24px rgba(91, 35, 51, .08); border-bottom-color: transparent; }
.site-header.hide { transform: translateY(-100%); }
.site-header .wrap { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); }
.brand img { width: 52px; height: 52px; border-radius: 50%; }
.brand b { display: block; font-size: 18px; line-height: 1.2; }
.brand small { display: block; font-size: 12px; color: var(--muted); }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { text-decoration: none; color: var(--ink); font-weight: 500; font-size: 15px; }
.nav a:not(.btn) { position: relative; padding: 6px 0; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.nav a:not(.btn):hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--navy); }
.nav a.btn, .nav a.btn:hover { color: #fff; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 20px; border-radius: 10px; border: 0;
  font: inherit; font-weight: 600; font-size: 15px; text-decoration: none; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-hover); box-shadow: 0 6px 18px rgba(122, 48, 69, .3); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-2); }
.btn-ghost { background: #fff; color: var(--navy); border: 1px solid #CBD5E1; }
.btn-ghost:hover { border-color: var(--navy-2); }
.btn-wa { background: #15803D; color: #fff; }
.btn-wa:hover { background: #116C33; }
.btn svg { width: 18px; height: 18px; flex: none; }
.menu-btn { display: none; background: none; border: 1px solid var(--line); border-radius: 10px; width: 46px; height: 46px; cursor: pointer; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 20px; height: 2px; background: var(--navy); margin: 0 auto; position: relative; content: ""; }
.menu-btn span::before { position: absolute; top: -6px; }
.menu-btn span::after { position: absolute; top: 6px; }

/* ── Hero ── */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%); }
.hero::before {
  content: ""; position: absolute; right: -180px; top: -160px; width: 560px; height: 560px; border-radius: 50%;
  background: radial-gradient(circle, rgba(25, 158, 126, .14), rgba(25, 158, 126, 0) 70%);
}
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px 48px; align-items: center; padding-top: 56px; padding-bottom: 56px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--accent-ink); background: var(--accent-soft); padding: 6px 12px; border-radius: 999px; }
.hero h1 { margin: 18px 0 16px; font-size: clamp(32px, 4.6vw, 52px); line-height: 1.12; color: var(--navy); letter-spacing: -.01em; }
.hero h1 .hl { position: relative; white-space: nowrap; }
.hero h1 .hl::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 10px; background: var(--accent-light); opacity: .35; z-index: -1; border-radius: 4px; }
.hero p.lead { font-size: 17px; color: var(--muted); max-width: 560px; margin: 0 0 28px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 28px; padding: 0; list-style: none; font-size: 14px; color: var(--ink); }
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points svg { width: 18px; height: 18px; color: var(--ok); }

.quick-card { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(150px, .85fr) auto 1.15fr 1fr 1.2fr auto; gap: 12px; align-items: end; background: var(--navy); color: #fff; border-radius: 20px; padding: 22px 24px; box-shadow: 0 24px 60px rgba(91, 35, 51, .22); }
.quick-card h2 { margin: 0 0 2px; font-size: 18px; line-height: 1.3; }
.quick-card p { margin: 0; color: #E8CDD4; font-size: 13px; }
.qc-title { align-self: center; }
.quick-card label { display: block; font-size: 12px; font-weight: 600; color: #E8CDD4; margin-bottom: 6px; }
.quick-card .field { margin: 0; min-width: 0; }
.quick-card select, .quick-card input { width: 100%; height: 48px; border-radius: 10px; border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.08); color: #fff; padding: 0 12px; font: inherit; font-size: 15px; }
.quick-card select:focus, .quick-card input:focus { outline: 2px solid var(--accent-light); outline-offset: 1px; }
.mode-toggle { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin: 0; }
.mode-toggle button { height: 48px; padding: 0 14px; border-radius: 10px; border: 1px solid rgba(255,255,255,.25); background: transparent; color: #fff; font: inherit; font-weight: 600; cursor: pointer; }
.mode-toggle button[aria-pressed="true"] { background: var(--accent); border-color: var(--accent-light); color: #fff; }
.quick-card .btn { min-height: 48px; white-space: nowrap; }

.hero-photo { position: relative; margin: 0; }
.hero-photo img { display: block; width: 100%; height: auto; object-fit: cover; border-radius: 22px; box-shadow: 0 24px 60px rgba(91, 35, 51, .18); }
.hero-badge { position: absolute; left: -18px; bottom: 26px; display: flex; align-items: center; gap: 12px; background: #fff; border-radius: 14px; padding: 12px 18px; box-shadow: 0 14px 34px rgba(91, 35, 51, .16); }
.hero-badge b { font-size: 28px; color: var(--accent); line-height: 1; }
.hero-badge span { font-size: 13px; color: var(--muted); line-height: 1.35; }

/* ── Programme cards ── */
.prog-head { text-align: center; margin: 56px auto 28px; max-width: 640px; }
.prog-head h3 { margin: 0 0 6px; font-size: clamp(22px, 2.6vw, 28px); color: var(--navy); }
.prog-head p { margin: 0; color: var(--muted); }
.programs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.prog { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; transition: box-shadow .2s ease, transform .2s ease; }
.prog:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.prog-media { position: relative; aspect-ratio: 3 / 2; background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 60%, var(--accent) 130%); overflow: hidden; }
/* every card has the same frame; the whole photo is shown (contain), with a soft blurred copy filling any gap */
.prog-media.has-img { background: var(--bg-2); }
.prog-media img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
/* bg = a tiny pre-blurred copy from Cloudinary (no CSS blur filter → no scroll lag) */
.prog-media img.bg { object-fit: cover; transform: scale(1.1); opacity: .6; }
.prog-media img.fg { z-index: 1; object-fit: contain; transition: transform .5s ease; }
.prog:hover .prog-media img.fg { transform: scale(1.03); }
.prog-media.has-img .ph { display: none; }
.prog-media .ph { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.prog-media .ph svg { width: 34%; height: auto; color: rgba(255, 255, 255, .9); }
.prog-media .ph::after { content: ""; position: absolute; right: -40px; bottom: -40px; width: 160px; height: 160px; border-radius: 50%; background: rgba(63, 209, 174, .25); }
.prog-body { display: flex; flex-direction: column; gap: 8px; padding: 20px 22px 22px; flex: 1; }
.prog-tag { align-self: flex-start; font-size: 12px; font-weight: 600; color: var(--accent-ink); background: var(--accent-soft); padding: 4px 10px; border-radius: 999px; }
.prog h4 { margin: 4px 0 0; font-size: 19px; color: var(--navy); min-height: 1.3em; }
.prog p { margin: 0; color: var(--muted); font-size: 15px; flex: 1; }
.prog-cta { margin-top: 8px; align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 16px; border-radius: 10px; border: 1px solid var(--accent); color: var(--accent); background: #fff; font: inherit; font-weight: 600; font-size: 14px; cursor: pointer; transition: background .15s, color .15s; }
.prog-cta:hover { background: var(--accent); color: #fff; }
.prog-cta svg { width: 16px; height: 16px; }

/* ── Find a tutor for anything (tabs) ── */
.explore { background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); }
.ex-tabs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); background: #EEF2F7; border-bottom: 1px solid var(--line); }
.ex-tab { min-height: 64px; padding: 0 12px; border: 0; border-right: 1px solid var(--line); background: transparent; font: inherit; font-size: 16px; font-weight: 500; color: var(--ink); cursor: pointer; transition: background .15s, color .15s; }
.ex-tab:last-child { border-right: 0; }
.ex-tab:hover { background: #F3E6E9; }
.ex-tab[aria-selected="true"] { background: #fff; color: var(--accent); font-weight: 600; box-shadow: inset 0 3px 0 var(--accent); }
.ex-tab:focus-visible { outline: 2px solid var(--navy-2); outline-offset: -2px; }
.ex-panel { display: grid; gap: 0; padding: 30px 28px 34px; }
.ex-group { padding: 0 24px; border-left: 1px solid var(--line); min-width: 0; }
.ex-group:first-child { border-left: 0; padding-left: 4px; }
.ex-group h3 { margin: 0 0 14px; font-size: 18px; font-weight: 600; color: var(--ink); }
.ex-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px 18px; }
.ex-list.c2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ex-list button { display: block; width: 100%; text-align: left; background: none; border: 0; padding: 9px 0; font: inherit; font-size: 15.5px; color: var(--muted); cursor: pointer; border-radius: 6px; transition: color .15s, padding .15s; }
.ex-list button:hover, .ex-list button:focus-visible { color: var(--accent); padding-left: 4px; outline: none; }
.ex-new { color: #DC2626; font-size: 11px; font-weight: 600; margin-left: 4px; }

/* ── Ad banner slider (1756 × 450) ── */
.banners { padding: 44px 0 0; }
.slider { position: relative; border-radius: 16px; overflow: hidden; aspect-ratio: 1756 / 450; background: var(--navy-soft); box-shadow: 0 14px 40px rgba(91, 35, 51, .12); }
.slides { display: flex; height: 100%; transition: transform .6s cubic-bezier(.4, 0, .2, 1); will-change: transform; }
.slide { flex: 0 0 100%; height: 100%; }
.slide a, .slide img { display: block; width: 100%; height: 100%; }
.slide img { object-fit: cover; }
.slide.fit img { object-fit: contain; background: #fff; }
.sl-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); color: var(--navy); display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 6px 18px rgba(0, 0, 0, .18); opacity: .9; transition: opacity .2s, transform .2s; }
.sl-nav:hover { opacity: 1; }
.sl-nav svg { width: 22px; height: 22px; }
.sl-prev { left: 14px; }
.sl-next { right: 14px; }
.sl-dots { position: absolute; left: 0; right: 0; bottom: 6px; display: flex; justify-content: center; gap: 2px; }
.sl-dots button { width: 26px; height: 26px; border: 0; background: none; cursor: pointer; padding: 0; display: flex; align-items: center; justify-content: center; }
.sl-dots button::before { content: ""; width: 9px; height: 9px; border-radius: 999px; background: rgba(255, 255, 255, .65); box-shadow: 0 0 0 1px rgba(0, 0, 0, .15); transition: all .25s; }
.sl-dots button[aria-current="true"]::before { width: 22px; background: #fff; }
.slider.single .sl-nav, .slider.single .sl-dots { display: none; }

/* ── Stats strip ── */
.stats { background: var(--navy); color: #fff; }
.stats .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding-top: 28px; padding-bottom: 28px; }
.stat { text-align: center; }
.stat b { display: block; font-size: 30px; color: var(--accent-light); line-height: 1.2; }
.stat span { font-size: 14px; color: #E8CDD4; }

/* ── Sections ── */
section.block { padding: 80px 0; }
section.block.alt { background: var(--bg-2); }
.sec-head { max-width: 680px; margin: 0 auto 44px; text-align: center; }
.sec-head h2 { margin: 10px 0 10px; font-size: clamp(26px, 3.2vw, 36px); color: var(--navy); line-height: 1.2; }
.sec-head p { margin: 0; color: var(--muted); }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid-4 .card { padding: 24px; display: flex; flex-direction: column; }
.grid-4 .card ul { flex: 1; }
.svc-cta { align-self: flex-start; margin-top: 16px; display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0; border: 0; background: none; font: inherit; font-size: 14.5px; font-weight: 600; color: var(--accent); cursor: pointer; }
.svc-cta svg { width: 18px; height: 18px; transition: transform .2s ease; }
.svc-cta:hover svg { transform: translateX(3px); }
.exam-lbl { display: block; margin-top: 14px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: box-shadow .2s ease, transform .2s ease; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.icon-badge { width: 52px; height: 52px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: var(--navy-soft); color: var(--navy-2); margin-bottom: 16px; }
.icon-badge.accent { background: var(--accent-soft); color: var(--accent-ink); }
.icon-badge svg { width: 26px; height: 26px; }
.card h3 { margin: 0 0 8px; font-size: 20px; color: var(--navy); }
.card p { margin: 0; color: var(--muted); }
.card ul { margin: 14px 0 0; padding: 0; list-style: none; }
.card ul li { padding-left: 24px; position: relative; margin: 6px 0; font-size: 15px; }
.card ul li::before { content: ""; position: absolute; left: 4px; top: 9px; width: 8px; height: 8px; border-radius: 2px; background: var(--accent); }
.service-card.featured { border: 2px solid var(--accent); }


.steps { counter-reset: s; }
.step { position: relative; padding-top: 8px; }
.step .num { width: 44px; height: 44px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.step h3 { margin: 0 0 6px; font-size: 18px; color: var(--navy); }
.step p { margin: 0; color: var(--muted); font-size: 15px; }

/* ── Booking form ── */
.book-wrap { display: grid; grid-template-columns: 1.6fr 1fr; gap: 28px; align-items: start; }
.book-form { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 32px; box-shadow: var(--shadow); }
.book-form fieldset { border: 0; margin: 0 0 26px; padding: 0; }
.book-form legend { font-weight: 700; color: var(--navy); font-size: 16px; margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.book-form legend .n { width: 26px; height: 26px; border-radius: 50%; background: var(--navy); color: #fff; font-size: 13px; display: inline-flex; align-items: center; justify-content: center; }
.row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.row.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.f { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.f label, .f .lbl { font-size: 13px; font-weight: 600; color: var(--muted); }
.f label .req { color: var(--err); }
.f input, .f select, .f textarea {
  font: inherit; font-size: 15px; color: var(--ink); background: #fff;
  border: 1px solid #CBD5E1; border-radius: 10px; padding: 12px 14px; min-height: 48px; width: 100%;
}
.f textarea { min-height: 80px; resize: vertical; }
.f input:focus, .f select:focus, .f textarea:focus { outline: 2px solid var(--navy-2); outline-offset: 0; border-color: var(--navy-2); }
.f .err-msg { color: var(--err); font-size: 13px; display: none; }
.f.invalid input, .f.invalid select, .f.invalid .chips { border-color: var(--err); }
.f.invalid .err-msg { display: block; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; border: 1px solid transparent; border-radius: 10px; }
.chip { min-height: 42px; padding: 0 14px; border-radius: 999px; border: 1px solid #CBD5E1; background: #fff; color: var(--navy); font: inherit; font-size: 14px; font-weight: 500; cursor: pointer; transition: all .15s ease; }
.chip:hover { border-color: var(--navy-2); }
.chip[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.mode-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mode-card { position: relative; display: flex; gap: 12px; align-items: flex-start; padding: 16px; border: 2px solid var(--line); border-radius: 12px; cursor: pointer; background: #fff; }
.mode-card input { position: absolute; opacity: 0; pointer-events: none; }
.mode-card svg { width: 28px; height: 28px; color: var(--navy-2); flex: none; }
.mode-card b { display: block; color: var(--navy); }
.mode-card small { color: var(--muted); font-size: 13px; }
.mode-card:has(input:checked) { border-color: var(--accent); background: #FBF3E6; }
.mode-card:has(input:focus-visible) { outline: 2px solid var(--navy-2); outline-offset: 2px; }
.submit-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.submit-row .btn { min-height: 54px; font-size: 16px; padding: 0 26px; }
.submit-row small { color: var(--muted); font-size: 13px; flex: 1 1 220px; }
.book-aside { display: flex; flex-direction: column; gap: 20px; position: sticky; top: calc(var(--header-h) + 20px); }
.aside-card { background: var(--navy); color: #fff; border-radius: 18px; padding: 26px; }
.aside-card h3 { margin: 0 0 14px; font-size: 18px; }
.aside-card ol { margin: 0; padding-left: 20px; color: #ECD6DB; }
.aside-card ol li { margin: 8px 0; }
.aside-call { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 22px; }
.aside-call h3 { margin: 0 0 6px; color: var(--navy); font-size: 17px; }
.aside-call p { margin: 0 0 14px; color: var(--muted); font-size: 14px; }
.aside-call .btn { width: 100%; margin-top: 8px; }

/* success state */
.book-done { display: none; text-align: center; padding: 20px 8px; }
.book-done.show { display: block; }
.book-done .tick { width: 76px; height: 76px; border-radius: 50%; background: var(--ok-soft); color: var(--ok); display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
.book-done .tick svg { width: 38px; height: 38px; }
.book-done h3 { margin: 0 0 8px; color: var(--navy); font-size: 26px; }
.book-done p { color: var(--muted); max-width: 480px; margin: 0 auto 18px; }
.book-done .bid { display: inline-block; font-weight: 700; color: var(--navy); background: var(--accent-soft); padding: 6px 14px; border-radius: 8px; margin-bottom: 18px; letter-spacing: .02em; }
.book-done .actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }

/* ── About ── */
.about { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.about p { color: var(--muted); }
.founders { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.founder { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; text-align: center; }
.founder .av { width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 12px; background: var(--navy); color: var(--accent-light); font-weight: 700; font-size: 24px; display: flex; align-items: center; justify-content: center; }
.founder b { display: block; color: var(--navy); font-size: 17px; }
.founder span { font-size: 14px; color: var(--muted); }

.coverage { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.coverage span { padding: 8px 16px; border-radius: 8px; background: var(--navy-soft); color: var(--navy); font-size: 14px; font-weight: 500; }

/* ── Contact ── */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.contact-card { display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.contact-card .icon-badge { margin: 0; flex: none; }
.contact-card b { display: block; color: var(--navy); margin-bottom: 4px; }
.contact-card a { text-decoration: none; font-weight: 500; }
.contact-card p { margin: 0; color: var(--muted); font-size: 15px; }

/* ── Footer ── */
.site-footer { background: var(--navy); color: #E8CDD4; padding: 48px 0 28px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 28px; }
.site-footer b { color: #fff; }
.site-footer a { color: var(--accent-light); text-decoration: none; }
.site-footer .links { display: flex; flex-wrap: wrap; gap: 18px; }
.site-footer .copy { width: 100%; border-top: 1px solid #6E2F40; padding-top: 18px; font-size: 13px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }

/* ── Floating buttons ── */
.floating { position: fixed; right: 18px; bottom: 18px; z-index: 60; display: flex; flex-direction: column; gap: 12px; }
.float-btn { width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; box-shadow: 0 8px 22px rgba(0, 0, 0, .2); transition: transform .15s ease; }
.float-btn:hover { transform: scale(1.06); }
.float-btn svg { width: 28px; height: 28px; }
.float-wa { background: #25D366; }
.float-call { background: var(--navy); }

/* ── Reveal animation ── */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2, .7, .2, 1) var(--d, 0ms), transform .7s cubic-bezier(.2, .7, .2, 1) var(--d, 0ms); }
.reveal.in { opacity: 1; transform: none; }


/* ── Toast ── */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%) translateY(20px); background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 10px; font-size: 14px; opacity: 0; transition: all .25s ease; z-index: 100; max-width: calc(100% - 32px); }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ═════════════ Design & effects (v2) ═════════════ */
@view-transition { navigation: auto; }   /* smooth cross-fade between pages (Chrome/Edge) */
:root { --grad: linear-gradient(135deg, #5B2333 0%, #7A3045 62%, #D8A65D 140%); --ease: cubic-bezier(.2, .7, .2, 1); }
::selection { background: var(--accent-soft); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--navy-2); outline-offset: 2px; }

/* scroll progress bar */
.progress { position: fixed; left: 0; top: 0; right: 0; height: 3px; z-index: 70; background: linear-gradient(90deg, var(--accent), var(--accent-light)); transform: scaleX(0); transform-origin: 0 50%; pointer-events: none; }

/* buttons: soft lift + light sweep */
.btn { position: relative; overflow: hidden; isolation: isolate; }
.btn-accent::after, .btn-wa::after, .btn-navy::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .28) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .7s var(--ease);
}
.btn-accent:hover::after, .btn-wa:hover::after, .btn-navy:hover::after { transform: translateX(120%); }
.btn-accent:hover, .btn-wa:hover, .btn-navy:hover { transform: translateY(-1px); }
.btn-ghost:hover { box-shadow: 0 6px 18px rgba(91, 35, 51, .1); transform: translateY(-1px); }

/* ── Hero signature: exercise-notebook grid + floating maths doodles ── */
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(19, 78, 156, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(19, 78, 156, .07) 1px, transparent 1px);
  background-size: 32px 32px;
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 30% 30%, #000 0%, transparent 75%);
          mask-image: radial-gradient(ellipse 70% 80% at 30% 30%, #000 0%, transparent 75%);
}
.hero .wrap { z-index: 1; }
.doodles { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.doodle {
  position: absolute; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px;
  background: #fff; color: var(--navy-2); font-weight: 700; font-size: 18px;
  box-shadow: 0 10px 26px rgba(91, 35, 51, .12); border: 1px solid var(--line);
  animation: bob 7s ease-in-out infinite; will-change: transform;
}
.doodle.g { color: var(--accent); }
.doodle.d1 { left: 3%; top: 16%; animation-delay: -1s; }
.doodle.d2 { left: 44%; top: 8%; animation-delay: -3s; transform: rotate(-8deg); }
.doodle.d3 { left: 49%; top: 58%; animation-delay: -5s; width: 40px; height: 40px; font-size: 16px; }
.doodle.d4 { right: 2.5%; top: 6%; animation-delay: -2s; }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(-12px) rotate(4deg); } }

/* hero entrance (pure CSS, starts immediately — no waiting for JS) */
.hero .h-in { animation: rise .8s var(--ease) both; animation-delay: var(--d, 0ms); }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } }
.hero h1 .hl::after { transform: scaleX(0); transform-origin: left; animation: mark .7s var(--ease) .6s forwards; }
@keyframes mark { to { transform: scaleX(1); } }
.hero-photo img { transition: transform .8s var(--ease); }
.hero-photo:hover img { transform: scale(1.015); }
.hero-badge { animation: bob 8s ease-in-out infinite; }
.hero-badge b { font-variant-numeric: tabular-nums; }
.quick-card { position: relative; overflow: hidden; }
.quick-card::before { content: ""; position: absolute; right: -80px; top: -120px; width: 300px; height: 300px; border-radius: 50%; background: radial-gradient(circle, rgba(63, 209, 174, .28), transparent 70%); pointer-events: none; }
.quick-card > * { position: relative; }

/* stats band */
.stats { background: var(--grad); position: relative; overflow: hidden; }
.stats::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .08) 1px, transparent 1px); background-size: 18px 18px; pointer-events: none; }
.stats .wrap { position: relative; }
.stat b { font-variant-numeric: tabular-nums; }
.stat + .stat { border-left: 1px solid rgba(255, 255, 255, .14); }

/* section headings */
.sec-head h2 { letter-spacing: -.01em; }
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

/* cards */
.card, .prog, .contact-card, .founder, .tutor { will-change: auto; }
.card:hover, .contact-card:hover, .founder:hover { box-shadow: 0 18px 44px rgba(91, 35, 51, .12); transform: translateY(-4px); }
.contact-card, .founder { transition: box-shadow .25s ease, transform .25s var(--ease); }
.card:hover .icon-badge { transform: rotate(-6deg) scale(1.06); }
.icon-badge { transition: transform .3s var(--ease); }
.service-card.featured { border: 0; background: linear-gradient(#fff, #fff) padding-box, var(--grad) border-box; border: 2px solid transparent; }
.prog:hover { box-shadow: 0 20px 46px rgba(91, 35, 51, .14); transform: translateY(-5px); }
.prog-cta svg { transition: transform .2s ease; }
.prog-cta:hover svg { transform: translateX(3px); }
.prog-media img.fg { transition: transform .7s var(--ease); }
.prog:hover .prog-media img.fg { transform: scale(1.05); }

/* steps: connector line */
.steps { position: relative; }
.step .num { background: var(--grad); box-shadow: 0 8px 20px rgba(122, 48, 69, .28); position: relative; z-index: 1; }
@media (min-width: 961px) {
  .steps::before { content: ""; position: absolute; left: 16.7%; right: 16.7%; top: 30px; border-top: 2px dashed #DDBFC6; }
}

/* explore tabs: sliding feel */
.ex-panel > * { animation: fadeIn .35s ease both; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } }

/* ── Meet our tutors ── */
.tutors { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; }
.tutor { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 22px 14px 18px; text-align: center; transition: transform .3s var(--ease), box-shadow .3s ease; }
.tutor:hover { transform: translateY(-6px); box-shadow: 0 20px 44px rgba(91, 35, 51, .13); }
.t-ph { position: relative; width: 104px; height: 104px; margin: 0 auto 14px; border-radius: 50%; padding: 4px; }
.t-ph::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, var(--accent), var(--accent-light), var(--navy-2), var(--accent)); transition: transform .8s var(--ease); }
.tutor:hover .t-ph::before { transform: rotate(180deg); }
.t-ph img, .t-ph .t-in { position: relative; width: 100%; height: 100%; border-radius: 50%; border: 3px solid #fff; object-fit: cover; background: var(--navy-soft); }
.t-ph .t-in { display: grid; place-items: center; font-weight: 700; font-size: 28px; color: var(--navy); background: var(--navy-soft); }
.t-ph .t-av { overflow: hidden; }
.t-ph .t-av svg, .t-ph .t-av .avatar-img { width: 100%; height: 100%; display: block; object-fit: cover; border: 0; border-radius: 50%; }
.tutor b { display: block; color: var(--navy); font-size: 16px; line-height: 1.3; }
.t-exp { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font-size: 12.5px; font-weight: 600; color: var(--accent-ink); background: var(--accent-soft); padding: 4px 10px; border-radius: 999px; }
.t-sub { display: block; margin-top: 6px; font-size: 13px; color: var(--muted); line-height: 1.4; }
.tutors-foot { text-align: center; margin-top: 30px; color: var(--muted); }
.tutors-foot .btn { margin-left: 10px; }

/* ── Page hero (About / Contact) ── */
.page-hero { position: relative; overflow: hidden; background: var(--grad); color: #fff; padding: 64px 0 70px; }
.page-hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px); background-size: 32px 32px; -webkit-mask-image: linear-gradient(90deg, #000, transparent 85%); mask-image: linear-gradient(90deg, #000, transparent 85%); }
.page-hero .wrap { position: relative; }
.crumbs { font-size: 13.5px; color: #E8CDD4; margin-bottom: 14px; }
.crumbs a { color: #fff; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.page-hero h1 { margin: 0 0 10px; font-size: clamp(30px, 4.4vw, 48px); line-height: 1.12; letter-spacing: -.01em; }
.page-hero p { margin: 0; max-width: 640px; color: #ECD6DB; font-size: 17px; }
.page-hero .h-in { animation: rise .8s var(--ease) both; animation-delay: var(--d, 0ms); }

/* About page */
.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.value { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 24px; transition: transform .25s var(--ease), box-shadow .25s ease; }
.value:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(91, 35, 51, .1); }
.value h3 { margin: 0 0 6px; font-size: 18px; color: var(--navy); }
.value p { margin: 0; color: var(--muted); font-size: 15px; }
.founder .av { background: var(--grad); color: #fff; box-shadow: 0 10px 24px rgba(91, 35, 51, .2); }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 12px; width: max-content; animation: slide 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { flex: none; padding: 10px 18px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--navy); font-weight: 500; font-size: 15px; }
@keyframes slide { to { transform: translateX(-50%); } }
.cta-band { background: var(--grad); color: #fff; border-radius: 22px; padding: 38px 36px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; right: -60px; bottom: -120px; width: 280px; height: 280px; border-radius: 50%; background: radial-gradient(circle, rgba(63, 209, 174, .35), transparent 70%); }
.cta-band h2 { margin: 0 0 4px; font-size: clamp(22px, 2.6vw, 30px); }
.cta-band p { margin: 0; color: #ECD6DB; }
.cta-band .acts { display: flex; flex-wrap: wrap; gap: 10px; position: relative; z-index: 1; }
.cta-band .btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .5); }

/* Contact page: map */
.map-wrap { position: relative; border-radius: 20px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); background: var(--navy-soft); height: clamp(340px, 40vw, 500px); }
.map-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-card { position: absolute; left: 18px; bottom: 18px; z-index: 1; background: #fff; border-radius: 14px; padding: 14px 16px; box-shadow: 0 14px 34px rgba(91, 35, 51, .2); max-width: 300px; }
.map-card b { display: block; color: var(--navy); }
.map-card p { margin: 2px 0 10px; color: var(--muted); font-size: 14px; }
.map-card .btn { min-height: 40px; font-size: 14px; padding: 0 14px; }

/* Contact page: reviews */
.rv-layout { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.rv-summary { display: flex; align-items: center; gap: 18px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; margin-bottom: 18px; }
.rv-avg { font-size: 44px; font-weight: 700; color: var(--navy); line-height: 1; }
.rv-summary small { color: var(--muted); }
.stars { color: #E0A100; letter-spacing: 2px; font-size: 18px; line-height: 1; }
.rv-list { display: grid; gap: 14px; }
.rv-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 20px 22px; transition: transform .25s var(--ease), box-shadow .25s ease; }
.rv-card:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(91, 35, 51, .1); }
.rv-card::before { content: "\201C"; position: absolute; right: 18px; top: 2px; font-size: 64px; line-height: 1; color: var(--accent-soft); font-family: Georgia, serif; }
.rv-card p { margin: 10px 0 12px; color: var(--ink); }
.rv-who { display: flex; align-items: center; gap: 10px; }
.rv-who .av { width: 38px; height: 38px; border-radius: 50%; background: var(--grad); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 14px; flex: none; }
.rv-who b { display: block; color: var(--navy); font-size: 15px; line-height: 1.2; }
.rv-who small { color: var(--muted); font-size: 13px; }
.rv-more { margin-top: 14px; }
.rv-form { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 26px; box-shadow: var(--shadow); position: sticky; top: calc(var(--header-h) + 20px); }
.rv-form h3 { margin: 0 0 4px; color: var(--navy); font-size: 20px; }
.rv-form > p { margin: 0 0 18px; color: var(--muted); font-size: 14px; }
.star-input { position: relative; display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; border: 1px solid transparent; border-radius: 10px; }
.star-input input { position: absolute; opacity: 0; pointer-events: none; }
.star-input label { cursor: pointer; font-size: 34px; line-height: 1; color: #CBD5E1; transition: color .15s, transform .15s; padding: 0 1px; }
.star-input label:hover, .star-input label:hover ~ label, .star-input input:checked ~ label { color: #E0A100; }
.star-input label:hover { transform: scale(1.15); }
.star-input input:focus-visible + label { outline: 2px solid var(--navy-2); border-radius: 4px; }
.f.invalid .star-input { border-color: var(--err); }
.f .count { font-size: 12px; color: var(--muted); align-self: flex-end; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.rv-done { display: none; text-align: center; padding: 18px 4px; }
.rv-done.show { display: block; }
.rv-done .tick { width: 64px; height: 64px; border-radius: 50%; background: var(--ok-soft); color: var(--ok); display: grid; place-items: center; margin: 0 auto 12px; }
.rv-done .tick svg { width: 32px; height: 32px; }
.rv-empty { background: #fff; border: 1px dashed #CBD5E1; border-radius: 16px; padding: 28px; text-align: center; color: var(--muted); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .hero h1 .hl::after { transform: none; }
  html { scroll-behavior: auto; }
}
@media (max-width: 1100px) { .tutors { grid-template-columns: repeat(4, minmax(0, 1fr)); } .doodle.d2, .doodle.d3 { display: none; } }
@media (max-width: 960px) {
  .rv-layout { grid-template-columns: 1fr; }
  .rv-form { position: static; }
  .values { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; }
}
@media (max-width: 640px) {
  /* tutor cards become a swipeable row on phones */
  .tutors { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; margin: 0 -20px; padding: 6px 20px 18px; scrollbar-width: none; }
  .tutors::-webkit-scrollbar { display: none; }
  .tutor { flex: 0 0 44%; scroll-snap-align: start; padding: 18px 10px 16px; }
  .t-ph { width: 88px; height: 88px; }
  .doodle { display: none; }
  .values { grid-template-columns: 1fr; }
  .page-hero { padding: 44px 0 50px; }
  .cta-band { padding: 28px 22px; }
  .map-card { left: 10px; right: 10px; bottom: 10px; max-width: none; }
  .rv-form { padding: 20px 18px; }
  .tutors-foot .btn { margin: 10px 0 0; }
  .stat + .stat { border-left: 0; }
}

/* ── Responsive ── */
@media (max-width: 1100px) {
  .quick-card { grid-template-columns: 1fr 1fr; }
  .qc-title, .quick-card .btn { grid-column: 1 / -1; }
}
@media (max-width: 960px) {
  .ex-tabs { display: flex; overflow-x: auto; scrollbar-width: none; }
  .ex-tab { flex: 0 0 auto; padding: 0 20px; font-size: 15px; }
  .ex-panel { grid-template-columns: 1fr 1fr !important; gap: 24px 0; }
  .ex-group:nth-child(odd) { border-left: 0; padding-left: 4px; }
  .hero .wrap, .book-wrap, .about { grid-template-columns: 1fr; }
  .hero-badge { left: 12px; bottom: 12px; }
  .book-aside { position: static; }
  .grid-3, .grid-4, .contact-grid, .programs { grid-template-columns: 1fr 1fr; }
  .stats .wrap { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; top: var(--header-h); left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; gap: 0; border-bottom: 1px solid var(--line); padding: 8px 20px 18px; box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .nav a { padding: 14px 4px; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 12px; }
}
@media (max-width: 640px) {
  section.block { padding: 56px 0; }
  .hero .wrap { padding-top: 36px; padding-bottom: 48px; gap: 32px; }
  .grid-2, .grid-3, .grid-4, .contact-grid, .row, .row.three, .founders, .mode-cards, .programs { grid-template-columns: 1fr; }
  .ex-panel { grid-template-columns: 1fr !important; padding: 22px 18px; }
  .ex-group { border-left: 0; padding: 0 4px; }
  .ex-group + .ex-group { border-top: 1px solid var(--line); padding-top: 18px; }
  .prog-head { margin-top: 40px; }
  .book-form { padding: 22px 18px; border-radius: 16px; }
  .brand small { display: none; }
  .stat b { font-size: 24px; }
  .quick-card { grid-template-columns: 1fr; padding: 20px; }
  .mode-toggle { grid-column: auto; }
  .sl-nav { width: 34px; height: 34px; }
  .sl-prev { left: 6px; } .sl-next { right: 6px; }
  .slider { border-radius: 10px; }
  .banners { padding-top: 28px; }
  .hero-badge { padding: 8px 12px; } .hero-badge b { font-size: 22px; }
}

.quick-card select option { color: #1B2433; background: #fff; }

/* ── Nav: Home (menu only) + Admin login icon ── */
.nav .nav-home { display: none; }
.nav a.nav-admin { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; padding: 0; border-radius: 50%; border: 1px solid var(--line); color: var(--navy); transition: border-color .2s, background .2s; }
.nav a.nav-admin::after { display: none; }
.nav a.nav-admin:hover { border-color: var(--navy-2); background: var(--navy-soft); }
.nav-admin svg { width: 20px; height: 20px; }
.nav-admin span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
@media (max-width: 820px) {
  .nav .nav-home { display: block !important; }
  .nav a.nav-admin { width: auto; height: auto; justify-content: flex-start; gap: 10px; padding: 14px 4px; border: 0; border-top: 1px solid var(--line); border-radius: 0; margin-top: 12px; }
  .nav a.nav-admin:hover { background: none; }
  .nav-admin span { position: static; width: auto; height: auto; overflow: visible; clip: auto; }
}

/* ── Our services: all four cards equal ── */
.service-card.featured { border: 1px solid var(--line); background: #fff; }

/* ── Meet our tutors: continuous left-to-right "train" ── */
.tutors, .tutors.train { display: block; overflow: hidden; margin: 0; padding: 6px 0 18px; grid-template-columns: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.t-track { display: flex; width: max-content; animation: tutor-train var(--dur, 40s) linear infinite; }
.t-track .tutor { flex: 0 0 220px; margin-right: 20px; scroll-snap-align: none; }
.tutors:hover .t-track, .tutors:focus-within .t-track { animation-play-state: paused; }
@keyframes tutor-train { from { transform: translateX(-50%); } to { transform: translateX(0); } }
@media (max-width: 640px) {
  .tutors, .tutors.train { margin: 0 -20px; overflow: hidden; }
  .t-track .tutor { flex-basis: 160px; margin-right: 14px; padding: 18px 10px 16px; }
}
/* the client wants the train to run for everyone; it pauses on hover / touch */
@media (prefers-reduced-motion: reduce) {
  .t-track { animation: tutor-train var(--dur, 40s) linear infinite !important; }
}

/* How it works: numbers and text centred */
.step { text-align: center; }
.step .num { margin-left: auto; margin-right: auto; }
.step p { max-width: 340px; margin-left: auto; margin-right: auto; }

/* Home link: shown on desktop too */
.nav .nav-home { display: inline-block; }

/* ── Become a Tutor: right-edge tab + popup ── */
.bt-tab { position: fixed; right: 0; top: 50%; z-index: 60; transform: translateY(-50%); writing-mode: vertical-rl; display: flex; align-items: center; gap: 8px;
  padding: 16px 10px; border: 0; border-radius: 12px 0 0 12px; background: var(--grad, var(--accent)); color: #fff; font: inherit; font-size: 14.5px; font-weight: 600; letter-spacing: .02em;
  cursor: pointer; box-shadow: -6px 8px 24px rgba(91, 35, 51, .22); transition: padding .2s ease; }
.bt-tab svg { width: 20px; height: 20px; transform: rotate(90deg); }
.bt-tab:hover { padding-right: 14px; }
.bt-tab:focus-visible { outline: 3px solid var(--accent-light, #D8A65D); outline-offset: 2px; }
.bt-bg { position: fixed; inset: 0; z-index: 120; background: rgba(10, 20, 40, .55); display: grid; place-items: center; padding: 16px; }
.bt-bg[hidden] { display: none; }
.bt-box { position: relative; width: 100%; max-width: 440px; max-height: calc(100vh - 32px); overflow-y: auto; background: #fff; border-radius: 18px; padding: 26px 24px 22px; box-shadow: 0 30px 80px rgba(0, 0, 0, .3); animation: rise .3s ease both; }
.bt-box h2 { margin: 0 0 4px; color: var(--navy); font-size: 22px; }
.bt-sub { margin: 0 0 16px; color: var(--muted); font-size: 14px; }
.bt-box .f { margin-bottom: 12px; }
.bt-box input { width: 100%; }
.bt-x { position: absolute; top: 10px; right: 12px; width: 38px; height: 38px; border: 0; border-radius: 50%; background: var(--bg-2, #F1F5F9); color: var(--navy); font-size: 22px; line-height: 1; cursor: pointer; }
.bt-send { width: 100%; justify-content: center; margin-top: 6px; gap: 8px; }
.bt-note { display: block; margin-top: 8px; text-align: center; color: var(--muted); font-size: 12.5px; }
@media (max-width: 640px) { .bt-tab { font-size: 13px; padding: 12px 8px; top: 42%; } }

/* ── Blue header (logo-blue gradient) ── */
.site-header { background: linear-gradient(90deg, var(--navy) 0%, var(--navy-2) 70%, #6B2A3C 100%); border-bottom: 0; }
.site-header.scrolled { box-shadow: 0 6px 24px rgba(91, 35, 51, .28); }
.site-header .brand, .site-header .brand b { color: #fff; }
.site-header .brand small { color: rgba(255, 255, 255, .78); }
.site-header .brand img { background: #fff; box-shadow: 0 0 0 2px rgba(255, 255, 255, .6); }
.site-header .nav a:not(.btn) { color: rgba(255, 255, 255, .92); }
.site-header .nav a:not(.btn):hover, .site-header .nav a[aria-current="page"] { color: #fff; }
.site-header .nav a:not(.btn)::after { background: var(--accent-light, #D8A65D); }
.site-header .nav a.nav-admin { color: #fff; border-color: rgba(255, 255, 255, .45); }
.site-header .nav a.nav-admin:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }
.site-header .nav .btn-accent { box-shadow: 0 0 0 1px rgba(255, 255, 255, .25); }
.site-header .menu-btn { border-color: rgba(255, 255, 255, .45); }
.site-header .menu-btn span, .site-header .menu-btn span::before, .site-header .menu-btn span::after { background: #fff; }
@media (max-width: 820px) {
  /* dropdown menu stays white for easy reading */
  .site-header .nav a:not(.btn), .site-header .nav a.nav-admin { color: var(--ink); }
  .site-header .nav a.nav-admin { border-color: var(--line); }
}

/* ── Hero text: bolder, easier to read ── */
.hero p.lead { font-weight: 600; color: #2D3748; }
.hero-points li { font-weight: 600; color: var(--navy); }

/* ── Header "Book a Tutor": clean white pill on the blue bar ── */
.site-header .nav a.btn-accent { background: #fff; color: var(--navy); min-height: 42px; padding: 0 22px; border-radius: 999px; font-weight: 600; box-shadow: 0 4px 14px rgba(0, 0, 0, .12); }
.site-header .nav a.btn-accent:hover { background: #FBF3E6; color: var(--accent); box-shadow: 0 6px 18px rgba(0, 0, 0, .18); }
.site-header .nav a.btn-accent::after { display: none; }
@media (max-width: 820px) {
  .site-header .nav a.btn-accent { background: var(--accent); color: #fff; border-radius: 10px; min-height: 46px; box-shadow: none; }
}

/* ── Burgundy + Champagne + Ivory theme accents ── */
.progress { background: linear-gradient(90deg, var(--navy-2), var(--orange)); }
.site-header { background: linear-gradient(90deg, #5B2333 0%, #7A3045 100%); }
.site-header .nav a.btn-accent { background: var(--orange); color: #1B2433; }
.site-header .nav a.btn-accent:hover { background: #E6BC7E; color: #1B2433; }
.site-header .nav a:not(.btn)::after { background: var(--orange); }
.bt-tab { background: var(--orange); color: #1B2433; box-shadow: -6px 8px 24px rgba(91, 35, 51, .25); }
.bt-tab:hover { background: #E6BC7E; }
.hero h1 .hl::after { background: var(--orange); opacity: .45; }
.step .num { background: linear-gradient(135deg, var(--navy-2), var(--orange)); }
.eyebrow::before { background: var(--orange) !important; }
@media (max-width: 820px) {
  .site-header .nav a.btn-accent { background: var(--orange); color: #1B2433; }
}

/* ═════════════ Hero v2 (mockup: text · quote · photo · steps bar) ═════════════ */
.btn-lg { min-height: 54px; padding: 0 24px; border-radius: 12px; font-size: 16px; }
.btn-outline { background: #fff; color: var(--navy); border: 1.5px solid var(--navy); }
.btn-outline:hover { background: var(--navy-soft); }
.btn-outline svg, .btn-navy svg { width: 19px; height: 19px; }
.hero2 { background: radial-gradient(1200px 520px at 70% 30%, #FBEFD9 0%, transparent 60%), linear-gradient(180deg, #FFF8F0 0%, #FBF0E2 100%); }
.hero2::before, .hero2::after { display: none; }
.hero2 > .wrap { grid-template-columns: 1.02fr 1.18fr; gap: 24px 40px; padding-top: 48px; padding-bottom: 36px; }
.hero2 .eyebrow { gap: 10px; padding: 8px 16px; font-size: 13px; letter-spacing: .05em; }
.hero2 .eyebrow::before { display: none; }
.hero2 .eyebrow svg { width: 20px; height: 20px; }
.hero2 h1 { font-size: clamp(34px, 4.4vw, 56px); line-height: 1.08; margin: 18px 0 14px; color: var(--navy); }
.h2-tag { margin: 0 0 12px; font-size: clamp(16px, 1.5vw, 19px); font-weight: 700; color: #3A2A33; }
.hero2 p.lead { font-size: 16px; font-weight: 500; color: #4A3F45; max-width: 540px; margin: 0 0 24px; }
.hero2 .hero-cta { gap: 14px; }
.h2-feats { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(2, max-content); gap: 14px 0; }
.h2-feats li:nth-child(3) { padding-left: 0; border-left: 0; }
@media (min-width: 1500px) {
  .h2-feats { grid-template-columns: repeat(4, max-content); }
  .h2-feats li:nth-child(3) { padding-left: 14px; border-left: 1px solid var(--line); }
  .h2-feats li { padding: 0 14px; gap: 9px; }
  .h2-feats .fi { width: 38px; height: 38px; }
  .h2-feats .fi svg { width: 19px; height: 19px; }
  .h2-feats b { font-size: 13px; white-space: nowrap; }
}
.h2-feats li { display: flex; align-items: center; gap: 10px; padding: 0 16px; border-left: 1px solid var(--line); }
.h2-feats li:first-child { padding-left: 0; border-left: 0; }
.h2-feats .fi, .h2-find .fi { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: #F7E7CC; color: var(--navy); }
.h2-feats .fi svg { width: 22px; height: 22px; }
.h2-feats b { display: block; font-size: 13.5px; color: var(--navy); line-height: 1.3; }
.h2-feats small { display: block; font-size: 12px; color: var(--muted); }

.h2-visual { position: relative; margin: 0; min-height: 440px; display: flex; justify-content: flex-end; align-items: center; }
.h2-photo { position: relative; width: 74%; aspect-ratio: 1 / 1.02; border-radius: 48% 52% 44% 56% / 52% 46% 54% 48%; overflow: hidden; background: #F3E3C7; box-shadow: 0 30px 70px rgba(91, 35, 51, .2), 0 0 0 10px rgba(255, 255, 255, .55); }
.h2-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 62% center; display: block; }
.h2-quote { position: absolute; left: 0; top: 50%; transform: translateY(-50%) rotate(-2deg); z-index: 2; width: 44%; min-width: 230px; max-width: 270px; margin: 0; padding: 30px 26px 24px;
  background: #F6DFB4; border-radius: 22px 26px 18px 30px; box-shadow: 0 18px 40px rgba(91, 35, 51, .14); color: var(--navy); }
.h2-quote p { margin: 0; font-size: clamp(15px, 1.5vw, 19px); font-weight: 700; line-height: 1.3; }
.h2-quote em { display: block; margin-top: 4px; font-family: "Caveat", cursive; font-style: normal; font-size: 1.55em; line-height: 1.05; color: var(--navy-2); }
.h2-quote small { display: block; margin-top: 14px; font-size: 12.5px; font-weight: 600; color: #4A3F45; line-height: 1.4; }
.q-mark { position: absolute; left: 14px; top: -10px; font-family: Georgia, serif; font-size: 64px; line-height: 1; color: var(--navy); }
.q-mark.end { left: auto; right: 16px; top: auto; bottom: 46px; }
.h2-badge { position: absolute; right: 2%; top: -6px; z-index: 3; width: 112px; height: 112px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-content: center; text-align: center; box-shadow: 0 14px 34px rgba(91, 35, 51, .3), 0 0 0 6px #fff; animation: bob 8s ease-in-out infinite; }
.h2-badge b { font-size: 28px; line-height: 1; font-variant-numeric: tabular-nums; }
.h2-badge span { font-size: 11px; line-height: 1.3; color: #F3DDB6; margin-top: 4px; }

.h2-steps { position: relative; background: var(--navy); color: #fff; margin-top: 8px; }
.h2-wave { position: absolute; left: 0; right: 0; top: -38px; width: 100%; height: 40px; fill: var(--navy); }
.h2-steps .wrap { display: grid; grid-template-columns: auto 1fr auto; gap: 18px 28px; align-items: center; padding-top: 22px; padding-bottom: 26px; }
.h2-find { display: flex; align-items: center; gap: 14px; color: #fff; text-decoration: none; }
.h2-find .fi { width: 52px; height: 52px; background: transparent; color: var(--accent-light); }
.h2-find .fi svg { width: 34px; height: 34px; }
.h2-find b { font-size: 19px; line-height: 1.25; }
.h2-find:hover b { color: var(--accent-light); }
.h2-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); }
.h2-list li { display: flex; align-items: center; gap: 12px; padding: 0 18px; border-left: 1px solid rgba(255, 255, 255, .18); }
.h2-list .n { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-light); color: var(--navy); font-weight: 700; font-size: 17px; }
.h2-list b { display: block; font-size: 14px; line-height: 1.3; }
.h2-list small { display: block; font-size: 12px; color: #E8CDD4; }
.h2-script { margin: 0; padding-left: 20px; border-left: 1px solid rgba(255, 255, 255, .18); font-family: "Caveat", cursive; font-size: 26px; line-height: 1.05; color: #FFF8F0; transform: rotate(-5deg); }
.hero2 + .stats { margin-top: 0; }

@media (max-width: 1100px) {
  .h2-steps .wrap { grid-template-columns: 1fr; }
  .h2-script { display: none; }
  .h2-list li:first-child { border-left: 0; padding-left: 0; }
}
@media (max-width: 960px) {
  .hero2 > .wrap { grid-template-columns: 1fr; padding-top: 32px; }
  .h2-visual { min-height: 0; margin-top: 8px; }
  .h2-photo { width: 82%; }
  .h2-quote { width: 46%; }
}
@media (max-width: 640px) {
  .hero2 h1 { font-size: 34px; }
  .h2-feats { grid-template-columns: 1fr 1fr; gap: 14px 10px; }
  .h2-feats li { padding: 0; border-left: 0; }
  .h2-feats .fi { width: 38px; height: 38px; }
  .hero2 .hero-cta .btn { flex: 1 1 100%; }
  .h2-visual { flex-direction: column; align-items: stretch; }
  .h2-photo { width: 100%; }
  .h2-quote { position: relative; top: auto; left: auto; transform: rotate(-1.5deg); width: auto; max-width: none; margin: -40px 18px 0; order: 2; }
  .h2-badge { width: 92px; height: 92px; right: 4px; top: -10px; }
  .h2-badge b { font-size: 22px; }
  .h2-list { grid-template-columns: 1fr; gap: 12px; }
  .h2-list li { border-left: 0; padding: 0; }
  .h2-wave { top: -22px; height: 24px; }
}
.site-header .nav a.btn { white-space: nowrap; }
@media (max-width: 1100px) and (min-width: 821px) { .nav { gap: 18px; } .brand small { display: none; } }

/* ── Hero v2 refinements: closer to the mockup (bigger photo, brush quote, compact one-row features) ── */
.hero2 > .wrap { max-width: 1280px; }
@media (min-width: 961px) { .hero2 > .wrap { grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.2fr); gap: 20px 24px; align-items: center; } }
.h2-text { position: relative; z-index: 3; }
.hero2 h1 { max-width: 600px; font-size: clamp(34px, 3.9vw, 54px); }
.hero2 p.lead { max-width: 500px; font-size: 15.5px; }
.h2-tag { font-size: clamp(16px, 1.35vw, 18px); }
.h2-visual { min-height: 470px; justify-content: flex-end; }
.h2-photo { width: 72%; aspect-ratio: 1.12 / 1; border-radius: 52% 48% 46% 54% / 46% 52% 48% 54%; box-shadow: 0 30px 70px rgba(91, 35, 51, .18), 0 0 0 14px rgba(246, 223, 180, .45); }
.h2-photo img { object-position: 45% 60%; }
.h2-quote { left: 0; top: 44%; width: 36%; min-width: 235px; max-width: 275px; padding: 34px 26px 26px 30px; background: #F6DFB4;
  border-radius: 46% 54% 42% 58% / 38% 44% 56% 62%; box-shadow: none; transform: translateY(-50%) rotate(-3deg); }
.h2-quote::after { content: ""; display: block; width: 70%; height: 4px; margin: 10px 0 0 6px; border-radius: 4px; background: var(--navy); transform: rotate(-4deg); opacity: .85; }
.h2-quote small { order: 3; }
.h2-quote p { font-size: clamp(15px, 1.35vw, 18px); }
.h2-quote em { font-size: 1.6em; }
.q-mark { left: -14px; top: -18px; font-size: 70px; }
.q-mark.end { right: -6px; bottom: 58px; }
.h2-badge { right: 3%; top: -2%; width: 118px; height: 118px; }
.h2-badge::before { content: ""; position: absolute; right: -18px; top: -6px; width: 26px; height: 26px; background:
  linear-gradient(var(--navy), var(--navy)) 4px 12px / 3px 12px no-repeat,
  linear-gradient(var(--navy), var(--navy)) 12px 4px / 3px 12px no-repeat,
  linear-gradient(var(--navy), var(--navy)) 20px 14px / 3px 10px no-repeat; transform: rotate(30deg); }
/* features: one compact row under the text, allowed to run under the quote like the mockup */
@media (min-width: 1100px) {
  .h2-feats { grid-template-columns: repeat(4, max-content); width: max-content; }
  .h2-feats li, .h2-feats li:nth-child(3) { padding: 0 14px; gap: 9px; border-left: 1px solid var(--line); }
  .h2-feats li:first-child { padding-left: 0; border-left: 0; }
  .h2-feats .fi { width: 38px; height: 38px; }
  .h2-feats .fi svg { width: 19px; height: 19px; }
  .h2-feats b { font-size: 12.5px; white-space: nowrap; }
  .h2-feats small { font-size: 11.5px; }
}
@media (max-width: 960px) {
  .h2-visual { min-height: 0; }
  .h2-photo { width: 80%; }
  .h2-quote { width: 42%; }
}
@media (max-width: 640px) {
  .h2-photo { width: 100%; }
  .h2-quote { width: auto; min-width: 0; max-width: none; transform: rotate(-1.5deg); border-radius: 28px 34px 26px 38px; }
  .q-mark { left: 8px; top: -14px; }
}

/* ── Hero photo: show the whole picture (soft rounded frame, no hard crop) ── */
.h2-photo { width: 76%; aspect-ratio: auto; border-radius: 34% 40% 36% 42% / 30% 34% 38% 32%; background: #F6E6CB; }
.h2-photo img { width: 100%; height: auto; object-fit: contain; object-position: center; }
/* ── Quote card: keep every word and the underline inside the shape ── */
.h2-quote { padding: 34px 30px 30px 32px; border-radius: 44px 58px 48px 62px / 52px 46px 60px 50px; }
.h2-quote small { margin-top: 12px; }
.h2-quote::after { width: 62%; height: 3px; margin: 12px 0 0 0; transform: rotate(-3deg); }
.q-mark { left: -12px; top: -22px; }
.q-mark.end { right: -10px; bottom: auto; top: 46%; }
@media (max-width: 640px) { .h2-photo { width: 100%; border-radius: 28px 36px 30px 40px; } }
@media (min-width: 961px) {
  .h2-photo { width: 70%; }
  .h2-quote { left: -3%; width: 35%; min-width: 245px; }
}

/* ── 3700+ students benefited ── */
.stats .wrap { grid-template-columns: repeat(5, 1fr); }
.stat-hl b { color: #fff; }
.stat-hl span { color: var(--accent-light); font-weight: 600; }
.h2-proof { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 4px 8px; margin: 18px 0 0; padding: 8px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); box-shadow: 0 6px 18px rgba(91, 35, 51, .07); font-size: 14px; font-weight: 600; color: #3A2A33; }
.h2-proof b { font-size: 18px; color: var(--navy); font-variant-numeric: tabular-nums; }
.h2-proof em { font-family: "Caveat", cursive; font-style: normal; font-size: 20px; color: var(--navy-2); }
.foot-hl { display: inline-block; margin-top: 6px; color: var(--accent-light); font-weight: 600; }
.story-hl { padding: 12px 16px; border-left: 4px solid var(--accent-light); background: var(--accent-soft); border-radius: 0 10px 10px 0; color: var(--navy); }
/* founder photo */
.founder .av.av-photo { width: 120px; height: 120px; padding: 4px; background: var(--grad); overflow: hidden; }
.founder .av.av-photo img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 3px solid #fff; display: block; }
.founder span { display: block; margin-top: 2px; font-weight: 600; color: var(--accent-ink); }
@media (max-width: 960px) {
  .stats .wrap { grid-template-columns: repeat(3, 1fr); }
  .stat:nth-child(4) { border-left: 0; }
}
@media (max-width: 640px) {
  .stats .wrap { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3), .stat:nth-child(5) { border-left: 0; }
  .stat-hl { grid-column: 1 / -1; order: -1; }
}

/* ── Header brand: champagne name, ivory tagline ── */
.site-header .brand b { color: var(--accent-light); letter-spacing: .01em; }
.site-header .brand small { color: #F3E6D2; }

/* founder cards: same layout for both */
.founder { display: flex; flex-direction: column; align-items: center; justify-content: flex-start; }
.founder .av.av-photo { flex: none; }
.av-silhouette svg { width: 100%; height: 100%; border-radius: 50%; border: 3px solid #fff; display: block; }

/* ── About & Contact headers: learning doodles background ── */
.page-hero .ph-doodles { position: absolute; inset: 0; pointer-events: none; opacity: .22;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='360' height='240' viewBox='0 0 360 240'%3E%3Cg fill='none' stroke='%23D8A65D' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%0A%3Cpath d='M20 40h34a8 8 0 0 1 8 8v40a6 6 0 0 0-6-6H20z'/%3E%3Cpath d='M104 40H70a8 8 0 0 0-8 8v40a6 6 0 0 1 6-6h36z'/%3E%0A%3Cpath d='M150 20l40 18-40 18-40-18z'/%3E%3Cpath d='M126 46v16c0 6 11 11 24 11s24-5 24-11V46'/%3E%3Cpath d='M190 38v20'/%3E%0A%3Cpath d='M240 30l42 42-10 3 3-10z'/%3E%3Cpath d='M234 24l6 6'/%3E%0A%3Ccircle cx='320' cy='44' r='14'/%3E%3Cpath d='M313 70h14M315 76h10M320 30v-6M302 44h-6M344 44h-6'/%3E%0A%3Cpath d='M22 150l60-14 4 16-60 14z'/%3E%3Cpath d='M34 147l2 7M46 144l2 7M58 141l2 7M70 138l2 7'/%3E%0A%3Ccircle cx='150' cy='160' r='22'/%3E%3Cpath d='M128 160h44M150 138c8 8 8 36 0 44M150 138c-8 8-8 36 0 44'/%3E%0A%3Cpath d='M222 140h40v40h-40z'/%3E%3Cpath d='M222 152h40M234 140v40'/%3E%0A%3Cpath d='M300 150l10 10 20-24'/%3E%0A%3C/g%3E%3Cg fill='%23D8A65D' font-family='Georgia,serif' font-size='22' font-weight='700'%3E%3Ctext x='206' y='110'%3EA%2B%3C/text%3E%3Ctext x='300' y='120'%3E%CF%80%3C/text%3E%3Ctext x='70' y='215'%3E%E2%88%9Ax%3C/text%3E%3Ctext x='240' y='222'%3Eabc%3C/text%3E%3Ctext x='160' y='225'%3E%E2%88%91%3C/text%3E%3C/g%3E%3C/svg%3E"); background-size: 360px 240px; background-repeat: repeat;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.35) 35%, #000 70%); mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.35) 35%, #000 70%);
  animation: phDrift 60s linear infinite; }
@keyframes phDrift { from { background-position: 0 0; } to { background-position: -360px 240px; } }
@media (prefers-reduced-motion: reduce) { .page-hero .ph-doodles { animation: none; } }

/* ── Mobile fixes (real-phone check): proof line + quote card placement ── */
@media (max-width: 960px) {
  .h2-proof { display: flex; align-items: baseline; border-radius: 14px; padding: 10px 14px; }
}
@media (max-width: 640px) {
  .h2-proof { display: block; font-size: 13.5px; line-height: 1.5; padding: 12px 16px; }
  .h2-proof b { font-size: 20px; margin-right: 4px; }
  .h2-proof em { font-size: 19px; white-space: nowrap; }
  .h2-visual { display: flex; flex-direction: column; align-items: stretch; min-height: 0; margin-top: 12px; }
  .h2-photo { width: 100%; order: 1; }
  .h2-quote { order: 2; }
  .h2-quote { position: relative; top: auto; left: auto; right: auto; bottom: auto; transform: rotate(-1.5deg);
    width: auto; min-width: 0; max-width: none; margin: -28px 14px 0; padding: 26px 22px 22px; border-radius: 26px 32px 24px 34px; }
  .h2-quote p { font-size: 16px; }
  .q-mark { left: 8px; top: -16px; font-size: 56px; }
  .q-mark.end { right: 10px; top: auto; bottom: 64px; font-size: 56px; }
  .h2-badge { width: 88px; height: 88px; right: 8px; top: -14px; }
  .h2-badge b { font-size: 21px; }
  .h2-badge span { font-size: 10px; }
  .hero2 > .wrap { padding-bottom: 56px; }
}

/* ═════════ Premium glow effects ═════════ */
/* 1. Header logo + name */
.site-header .brand img { box-shadow: 0 0 0 2px #D8A65D, 0 0 14px 2px rgba(216, 166, 93, .55); animation: logoGlow 3.2s ease-in-out infinite; }
@keyframes logoGlow {
  0%, 100% { box-shadow: 0 0 0 2px #D8A65D, 0 0 10px 1px rgba(216, 166, 93, .35); }
  50% { box-shadow: 0 0 0 2px #F3D9A4, 0 0 22px 6px rgba(243, 217, 164, .6); }
}
.site-header .brand b {
  background: linear-gradient(100deg, #C9944A 0%, #F6DFA9 25%, #D8A65D 45%, #FFF1CF 55%, #D8A65D 70%, #C9944A 100%);
  background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 6px rgba(246, 223, 169, .35)); animation: goldShine 4.5s linear infinite;
}
.site-header .brand small { color: #F3E6D2; text-shadow: 0 0 8px rgba(243, 217, 164, .25); }
@keyframes goldShine { from { background-position: 100% 0; } to { background-position: -150% 0; } }

/* 2. Quote card: gentle float with a soft "wiggle" every few seconds */
.h2-quote { animation: quoteFloat 6s ease-in-out infinite; transform-origin: 50% 60%; }
@keyframes quoteFloat {
  0%, 100% { translate: 0 0; rotate: 0deg; }
  8% { rotate: -1.6deg; } 12% { rotate: 1.6deg; } 16% { rotate: -1deg; } 20% { rotate: .6deg; } 24% { rotate: 0deg; }
  50% { translate: 0 -8px; }
}
.h2-quote em { animation: quoteGlow 3s ease-in-out infinite; }
@keyframes quoteGlow { 0%, 100% { text-shadow: none; } 50% { text-shadow: 0 0 12px rgba(122, 48, 69, .25); } }

/* 3. "Powered by IAS / IES / IIT Alumni" badge */
.hero2 .eyebrow {
  position: relative; overflow: hidden; background: linear-gradient(135deg, #5B2333, #7A3045); color: #F6DFA9;
  border: 1px solid rgba(216, 166, 93, .7); box-shadow: 0 0 0 3px rgba(216, 166, 93, .15), 0 8px 22px rgba(91, 35, 51, .25), 0 0 18px rgba(216, 166, 93, .35);
  animation: badgeGlow 3s ease-in-out infinite; text-shadow: 0 0 8px rgba(246, 223, 169, .45);
}
.hero2 .eyebrow svg { color: #F6DFA9; filter: drop-shadow(0 0 4px rgba(246, 223, 169, .6)); }
.hero2 .eyebrow::after { content: ""; position: absolute; top: 0; bottom: 0; width: 40%; left: -60%;
  background: linear-gradient(100deg, transparent, rgba(255, 241, 207, .45), transparent); transform: skewX(-20deg); animation: badgeSweep 3.6s ease-in-out infinite; }
@keyframes badgeGlow {
  0%, 100% { box-shadow: 0 0 0 3px rgba(216, 166, 93, .12), 0 8px 22px rgba(91, 35, 51, .22), 0 0 12px rgba(216, 166, 93, .25); }
  50% { box-shadow: 0 0 0 4px rgba(216, 166, 93, .22), 0 8px 22px rgba(91, 35, 51, .28), 0 0 26px rgba(246, 223, 169, .55); }
}
@keyframes badgeSweep { 0%, 55% { left: -60%; } 100% { left: 130%; } }

/* these effects stay on for everyone (brand request) */
@media (prefers-reduced-motion: reduce) {
  .site-header .brand img { animation: logoGlow 3.2s ease-in-out infinite !important; }
  .site-header .brand b { animation: goldShine 4.5s linear infinite !important; }
  .h2-quote { animation: quoteFloat 6s ease-in-out infinite !important; }
  .hero2 .eyebrow { animation: badgeGlow 3s ease-in-out infinite !important; }
  .hero2 .eyebrow::after { animation: badgeSweep 3.6s ease-in-out infinite !important; }
}

/* Footer: what we offer (SEO keywords, visible to parents) */
.site-footer .foot-seo { width: 100%; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; font-size: 13px; }
.site-footer .foot-seo b { margin-right: 4px; }
.site-footer .foot-seo span { border: 1px solid #7A3D4F; border-radius: 999px; padding: 4px 12px; color: #F3DDE3; }
.site-footer .dev-by a { color: var(--accent-light); font-weight: 600; }
.site-footer .dev-by a:hover { text-decoration: underline; }
