/* ============================================================
   Veestra v2 — premium editorial design system
   Deep navy + brand blue · Apple-inspired scroll choreography
   ============================================================ */

:root {
  --navy: #071a3d;
  --navy-2: #0c2452;
  --navy-3: #14346e;
  --brand: #1479e0;
  --brand-light: #57a9ff;
  --brand-pale: #c2ddff;
  --brand-ink: #0d5cbe;
  --cream: #f5f8fd;
  --white: #ffffff;
  --ink: #17202f;
  --muted: #5b6779;
  --line: #dde5f1;
  --shadow: 0 10px 30px rgba(7, 26, 61, 0.10);
  --shadow-lg: 0 30px 80px rgba(7, 26, 61, 0.18);
  --radius: 20px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 0.61, 0.21, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { width: min(1180px, 92%); margin: 0 auto; }

::selection { background: var(--brand); color: var(--navy); }

/* ---------- Typography ---------- */
h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  color: var(--navy);
  letter-spacing: -0.01em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--brand-ink);
}
.eyebrow::before { content: ""; width: 36px; height: 2px; background: var(--brand); }

.section-title { font-size: clamp(2rem, 4.6vw, 3.2rem); margin: 16px 0 20px; }
.lead { font-size: 1.14rem; color: var(--muted); max-width: 44em; }

.brand-text {
  background: linear-gradient(100deg, var(--brand) 10%, var(--brand-pale) 50%, var(--brand) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

em.accent { font-style: italic; color: var(--brand-light); }

/* Word-by-word reveal */
.split-words .w {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
}
.split-words .w > span {
  display: inline-block;
  transform: translateY(115%);
  transition: transform 0.9s var(--ease);
}
.split-words.visible .w > span { transform: translateY(0); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.4s, box-shadow 0.4s, border-color 0.4s;
  background: transparent;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(7, 26, 61, 0.88);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid rgba(20, 121, 224, 0.22);
  box-shadow: 0 10px 40px rgba(0,0,0,0.25);
}

.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 78px; }

.brand { display: flex; align-items: center; gap: 12px; color: var(--white); }
.brand-mark {
  width: 46px; height: 46px; border-radius: 12px;
  background: var(--white);
  display: grid; place-items: center;
  padding: 5px;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(20,121,224,0.35);
  transition: transform 0.35s var(--ease), box-shadow 0.35s;
}
.brand:hover .brand-mark { transform: translateY(-2px) rotate(-3deg); box-shadow: 0 8px 24px rgba(20,121,224,0.5); }
.brand-mark img { width: 100%; height: 100%; object-fit: contain; display: block; }
.brand-name { font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; }
.brand-name small {
  display: block; font-family: var(--font-body);
  font-size: 0.6rem; font-weight: 600; letter-spacing: 0.3em;
  text-transform: uppercase; color: var(--brand-light);
}

.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-links a {
  color: rgba(255,255,255,0.8); font-size: 0.93rem; font-weight: 500;
  padding: 6px 0; position: relative; transition: color 0.25s;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 0; height: 2px; background: var(--brand);
  transition: width 0.3s var(--ease);
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--brand-light); }

.nav-cta {
  background: var(--brand);
  color: var(--white) !important;
  padding: 11px 24px !important;
  border-radius: 999px;
  font-weight: 700 !important;
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
}
.nav-cta::after { display: none; }
.nav-cta:hover { transform: translateY(-2px) scale(1.03); box-shadow: 0 10px 26px rgba(20,121,224,0.45); }

.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer;
  width: 42px; height: 42px;
  flex-direction: column; justify-content: center; align-items: center; gap: 5px;
  z-index: 110;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--white); transition: 0.3s; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 34px; border-radius: 999px;
  font-weight: 700; font-size: 0.98rem;
  cursor: pointer; border: 0; font-family: var(--font-body);
  position: relative; overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.btn::before {
  content: "";
  position: absolute; top: 0; left: -80%;
  width: 50%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.45), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s var(--ease);
}
.btn:hover::before { left: 130%; }

.btn-brand {
  background: linear-gradient(135deg, #1a86ef, #0d5cbe);
  color: var(--white);
  box-shadow: 0 10px 30px rgba(20,121,224,0.35);
}
.btn-brand:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 18px 44px rgba(20,121,224,0.5); }

.btn-outline { border: 1.5px solid rgba(255,255,255,0.4); color: var(--white); background: transparent; }
.btn-outline:hover { border-color: var(--brand-light); color: var(--brand-light); transform: translateY(-3px); }

.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-3); transform: translateY(-3px); box-shadow: var(--shadow-lg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center;
  background:
    radial-gradient(1200px 600px at 78% -8%, rgba(20,121,224,0.18), transparent 60%),
    radial-gradient(900px 500px at 5% 108%, rgba(22,51,95,0.95), transparent 68%),
    linear-gradient(158deg, var(--navy) 0%, var(--navy-2) 55%, var(--navy) 100%);
  color: var(--white);
  overflow: hidden;
}
.hero.compact { min-height: 72vh; }

/* aurora blobs */
.hero .blob {
  position: absolute; border-radius: 50%;
  filter: blur(90px); opacity: 0.5; pointer-events: none;
  animation: drift 16s ease-in-out infinite alternate;
}
.blob-1 { width: 480px; height: 480px; background: rgba(20,121,224,0.22); top: -12%; right: -6%; }
.blob-2 { width: 420px; height: 420px; background: rgba(38,84,150,0.55); bottom: -18%; left: -8%; animation-delay: -6s; }
.blob-3 { width: 260px; height: 260px; background: rgba(87,169,255,0.16); top: 45%; left: 42%; animation-delay: -11s; }

@keyframes drift {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(60px, -50px) scale(1.15); }
}

#symbols {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
}

#hero3d, .hero3d {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 1;
  opacity: 0.85;
}
.hero.compact .hero3d { opacity: 0.55; }

.hero .container { position: relative; z-index: 2; }

.hero h1 {
  color: var(--white);
  font-size: clamp(2.6rem, 6.2vw, 4.6rem);
  margin: 22px 0 26px;
  max-width: 12em;
}

.hero p.lead { color: rgba(255,255,255,0.76); }

/* grade flip */
.grade-flip {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--font-display); font-weight: 700;
  margin-top: 40px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(20,121,224,0.35);
  border-radius: 18px;
  padding: 18px 30px;
  backdrop-filter: blur(6px);
}
.grade-flip .g {
  display: inline-block; min-width: 1.4em; text-align: center;
  font-size: 2.4rem; line-height: 1;
  transition: transform 0.45s var(--ease), opacity 0.45s;
}
.grade-flip .from { color: rgba(255,255,255,0.55); }
.grade-flip .to { color: var(--brand-light); }
.grade-flip .arrow { color: var(--brand-light); font-size: 1.6rem; }
.grade-flip .lbl { font-family: var(--font-body); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.55); margin-left: 10px; }
.grade-flip .g.out { transform: translateY(-120%); opacity: 0; }
.grade-flip .g.in { transform: translateY(120%); opacity: 0; transition: none; }

/* scroll cue */
.scroll-cue {
  position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%);
  z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(255,255,255,0.5); font-size: 0.72rem; letter-spacing: 0.24em; text-transform: uppercase;
}
.scroll-cue .line {
  width: 1px; height: 44px;
  background: linear-gradient(var(--brand), transparent);
  animation: cue 2s var(--ease) infinite;
  transform-origin: top;
}
@keyframes cue { 0% { transform: scaleY(0); } 45% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* page hero (inner) */
.page-hero { padding: 170px 0 90px; }

/* ---------- Sections ---------- */
.section { padding: 110px 0; position: relative; }
.section-alt { background: var(--white); }
.section-navy {
  background:
    radial-gradient(800px 400px at 85% 10%, rgba(20,121,224,0.14), transparent 60%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%);
  color: var(--white);
}
.section-navy h2, .section-navy h3 { color: var(--white); }
.section-navy .lead { color: rgba(255,255,255,0.74); }

/* ---------- Reveal system (Apple-like) ---------- */
.reveal {
  opacity: 0;
  transform: translateY(48px) scale(0.975);
  filter: blur(7px);
  transition:
    opacity 1s var(--ease),
    transform 1s var(--ease),
    filter 1s var(--ease);
  transition-delay: var(--d, 0s);
  will-change: opacity, transform, filter;
}
.reveal.visible { opacity: 1; transform: none; filter: blur(0); }

@media (prefers-reduced-motion: reduce) {
  .reveal, .split-words .w > span { transition: none !important; transform: none !important; opacity: 1 !important; filter: none !important; }
  .blob, .scroll-cue .line { animation: none !important; }
}

/* parallax helper */
[data-speed] { will-change: transform; }

/* ---------- Grid & cards ---------- */
.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 38px 32px;
  box-shadow: var(--shadow);
  position: relative;
  transition: transform 0.4s var(--ease), box-shadow 0.4s;
  transform-style: preserve-3d;
}
.card::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: var(--radius);
  padding: 1.5px;
  background: linear-gradient(135deg, var(--brand), transparent 40%, transparent 60%, var(--brand-light));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
.card:hover { box-shadow: var(--shadow-lg); }
.card:hover::after { opacity: 1; }

.card h3 { font-size: 1.32rem; margin: 20px 0 12px; }
.card p { color: var(--muted); font-size: 0.97rem; }

.icon-chip {
  width: 56px; height: 56px; border-radius: 15px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(20,121,224,0.16), rgba(20,121,224,0.05));
  border: 1px solid rgba(20,121,224,0.35);
  font-size: 1.55rem;
  transition: transform 0.4s var(--ease);
}
.card:hover .icon-chip { transform: translateZ(30px) scale(1.08) rotate(-4deg); }

.tag {
  display: inline-block;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--brand-ink);
  background: rgba(20,121,224,0.1);
  border: 1px solid rgba(20,121,224,0.3);
  border-radius: 999px;
  padding: 5px 15px;
}

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.chip {
  font-size: 0.8rem; font-weight: 600; color: var(--navy);
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 14px;
}
.section-navy .chip { background: rgba(255,255,255,0.07); border-color: rgba(255,255,255,0.18); color: rgba(255,255,255,0.85); }

/* ---------- Stats / counters ---------- */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  margin-top: 64px; padding-top: 48px;
  border-top: 1px solid rgba(255,255,255,0.14);
}
.stat .num {
  font-family: var(--font-display); font-size: 2.6rem; font-weight: 700;
  color: var(--brand-light); line-height: 1.1;
}
.stat .lbl { font-size: 0.86rem; color: rgba(255,255,255,0.62); margin-top: 4px; }

/* ---------- Journey steps ---------- */
.journey { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 70px; }
.journey::before {
  content: "";
  position: absolute; top: 33px; left: 8%; right: 8%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--line) 12%, var(--line) 88%, transparent);
  z-index: 0;
}
.journey .prog {
  content: "";
  position: absolute; top: 33px; left: 8%;
  height: 2px; width: 0;
  background: linear-gradient(90deg, var(--brand), var(--brand-light));
  z-index: 1;
  transition: width 1.6s var(--ease) 0.3s;
}
.journey.visible .prog { width: 84%; }
.step { position: relative; z-index: 2; text-align: center; padding: 0 12px; }
.step .dot {
  width: 66px; height: 66px; margin: 0 auto 22px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--brand);
  display: grid; place-items: center;
  font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: var(--brand-ink);
  box-shadow: 0 8px 24px rgba(20,121,224,0.25);
  transition: transform 0.4s var(--ease), background 0.4s, color 0.4s;
}
.step:hover .dot { transform: scale(1.12); background: var(--brand); color: var(--navy); }
.step h3 { font-size: 1.25rem; margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 0.95rem; }

/* ---------- Marquee ---------- */
.marquee {
  overflow: hidden;
  position: relative;
  padding: 6px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}
.marquee-track {
  display: flex; gap: 26px; width: max-content;
  animation: marquee var(--mq-dur, 55s) linear infinite;
}
.marquee.rev .marquee-track { animation-direction: reverse; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-50% - 13px)); } }

.mq-card {
  width: 380px; flex-shrink: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px 26px;
  box-shadow: 0 6px 20px rgba(8,26,51,0.06);
}
.mq-card .stars { color: #f0a92b; letter-spacing: 3px; font-size: 0.85rem; margin-bottom: 12px; }
.mq-card blockquote { font-size: 0.93rem; font-style: italic; color: var(--ink); }
.mq-card cite { display: block; margin-top: 14px; font-style: normal; font-weight: 700; font-size: 0.84rem; color: var(--navy); }
.mq-card cite span { display: block; font-weight: 500; color: var(--muted); font-size: 0.78rem; }

/* ---------- Quote wall ---------- */
.masonry { columns: 3; column-gap: 26px; }
.masonry .quote-card { margin-bottom: 26px; break-inside: avoid; }
.quote-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 32px 28px;
  box-shadow: var(--shadow);
}
.quote-card .stars { color: #f0a92b; letter-spacing: 3px; font-size: 0.9rem; margin-bottom: 12px; }
.quote-card blockquote { font-size: 0.97rem; color: var(--ink); font-style: italic; }
.quote-card cite { display: block; margin-top: 16px; font-style: normal; font-weight: 700; font-size: 0.86rem; color: var(--navy); }
.quote-card cite span { display: block; font-weight: 500; color: var(--muted); font-size: 0.78rem; }

/* ---------- Pricing ---------- */
.price-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 42px 36px;
  box-shadow: var(--shadow);
  position: relative;
  display: flex; flex-direction: column;
  transition: transform 0.4s var(--ease), box-shadow 0.4s;
}
.price-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.price-card.featured {
  background: linear-gradient(165deg, var(--navy) 0%, var(--navy-2) 100%);
  border: 1px solid rgba(20,121,224,0.5);
}
.price-card.featured h3, .price-card.featured .price { color: var(--white); }
.price-card.featured li { color: rgba(255,255,255,0.8); }
.price-card.featured li::before { color: var(--brand-light); }
.price-card h3 { font-size: 1.25rem; margin-bottom: 6px; }
.price-card .price { font-family: var(--font-display); font-size: 2.8rem; font-weight: 700; color: var(--navy); margin: 10px 0 4px; }
.price-card .price small { font-size: 1rem; font-weight: 500; color: var(--muted); font-family: var(--font-body); }
.price-card.featured .price small { color: rgba(255,255,255,0.6); }
.price-card ul { list-style: none; margin: 22px 0 30px; flex: 1; }
.price-card li { padding: 7px 0 7px 28px; position: relative; color: var(--muted); font-size: 0.94rem; }
.price-card li::before { content: "✓"; position: absolute; left: 0; color: var(--brand-ink); font-weight: 700; }

.badge-float {
  position: absolute; top: -14px; right: 26px;
  background: linear-gradient(135deg, var(--brand), var(--brand-light));
  color: var(--navy);
  font-size: 0.72rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 6px 16px; border-radius: 999px;
  box-shadow: 0 6px 16px rgba(20,121,224,0.4);
}

/* ---------- Subject feature rows ---------- */
.feature-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 70px;
  align-items: center; padding: 70px 0;
}
.feature-row + .feature-row { border-top: 1px solid var(--line); }
.feature-visual {
  position: relative;
  border-radius: 24px;
  min-height: 340px;
  background:
    radial-gradient(400px 260px at 70% 20%, rgba(20,121,224,0.22), transparent 65%),
    linear-gradient(150deg, var(--navy) 0%, var(--navy-3) 100%);
  display: grid; place-items: center;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.feature-visual .big-glyph {
  font-family: var(--font-display);
  font-size: 9rem; color: rgba(87,169,255,0.9);
  text-shadow: 0 20px 60px rgba(0,0,0,0.4);
  transition: transform 0.6s var(--ease);
}
.feature-row:hover .big-glyph { transform: scale(1.1) rotate(-4deg); }
.feature-visual .orbit {
  position: absolute;
  font-size: 1.3rem; color: rgba(255,255,255,0.35);
  animation: orbit-float 7s ease-in-out infinite alternate;
}
@keyframes orbit-float { to { transform: translateY(-18px) rotate(8deg); } }

/* ---------- FAQ ---------- */
.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 15px;
  margin-bottom: 14px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(8,26,51,0.05);
  transition: border-color 0.3s;
}
.faq-item.open { border-color: rgba(20,121,224,0.5); }
.faq-q {
  width: 100%;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 22px 26px;
  background: none; border: 0; cursor: pointer;
  font-family: var(--font-display); font-size: 1.08rem; font-weight: 600; color: var(--navy);
  text-align: left;
}
.faq-q .chev {
  flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%;
  border: 1.5px solid var(--brand); color: var(--brand-ink);
  display: grid; place-items: center; font-size: 1rem;
  transition: transform 0.35s var(--ease), background 0.3s, color 0.3s;
}
.faq-item.open .chev { transform: rotate(45deg); background: var(--brand); color: var(--navy); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease); }
.faq-a-inner { padding: 0 26px 24px; color: var(--muted); font-size: 0.97rem; }

/* ---------- Tutor cards ---------- */
.tutor-card {
  display: grid; grid-template-columns: 230px 1fr; gap: 44px;
  align-items: start;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 48px;
  box-shadow: var(--shadow);
}
.tutor-avatar {
  width: 230px; height: 230px; border-radius: 20px;
  background: linear-gradient(150deg, var(--navy) 0%, var(--navy-3) 100%);
  display: grid; place-items: center;
  font-family: var(--font-display); font-size: 4rem; font-weight: 700; color: var(--brand-light);
  border: 1px solid rgba(20,121,224,0.4);
  overflow: hidden;
}
.tutor-avatar img { width: 100%; height: 100%; object-fit: cover; }
.tutor-card h3 { font-size: 1.6rem; margin-bottom: 4px; }
.tutor-card .creds { color: var(--brand-ink); font-weight: 700; font-size: 0.85rem; letter-spacing: 0.09em; text-transform: uppercase; margin-bottom: 16px; }
.tutor-card p { color: var(--muted); margin-bottom: 14px; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  background:
    radial-gradient(700px 320px at 85% 20%, rgba(20,121,224,0.22), transparent 60%),
    linear-gradient(150deg, var(--navy) 0%, var(--navy-2) 100%);
  border-radius: 28px;
  padding: 76px 64px;
  color: var(--white);
  display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap;
  overflow: hidden;
}
.cta-band::before {
  content: "∑";
  position: absolute; right: -30px; bottom: -70px;
  font-family: var(--font-display);
  font-size: 17rem; color: rgba(87,169,255,0.07);
  pointer-events: none;
}
.cta-band h2 { color: var(--white); font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin-bottom: 12px; }
.cta-band p { color: rgba(255,255,255,0.74); max-width: 34em; }

/* ---------- Contact ---------- */
.contact-info-card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 34px 30px; box-shadow: var(--shadow);
}
.contact-info-card h3 { font-size: 1.25rem; margin-bottom: 14px; }
.contact-line { display: flex; gap: 12px; align-items: baseline; margin-bottom: 10px; font-size: 0.96rem; }
.contact-line .k { font-weight: 700; color: var(--navy); min-width: 58px; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; }
.contact-line a { color: var(--muted); transition: color 0.2s; }
.contact-line a:hover { color: var(--brand-ink); }

.form-card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 46px; box-shadow: var(--shadow-lg);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { display: flex; flex-direction: column; gap: 7px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: 0.85rem; font-weight: 700; color: var(--navy); }
.form-field input, .form-field select, .form-field textarea {
  font-family: var(--font-body); font-size: 0.97rem;
  padding: 13px 16px;
  border: 1.5px solid var(--line); border-radius: 11px;
  background: var(--cream); color: var(--ink);
  transition: border-color 0.25s, box-shadow 0.25s;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(20,121,224,0.14);
}
.form-field textarea { resize: vertical; min-height: 130px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: rgba(255,255,255,0.7); padding: 76px 0 32px; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 48px;
  padding-bottom: 46px; border-bottom: 1px solid rgba(255,255,255,0.12);
}
.site-footer h4 { color: var(--white); font-family: var(--font-display); font-size: 1.02rem; margin-bottom: 18px; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 10px; font-size: 0.92rem; }
.site-footer a { transition: color 0.2s; }
.site-footer a:hover { color: var(--brand-light); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  padding-top: 28px; font-size: 0.84rem; color: rgba(255,255,255,0.45);
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .tutor-card { grid-template-columns: 1fr; }
  .tutor-avatar { width: 170px; height: 170px; font-size: 3rem; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .feature-row { grid-template-columns: 1fr; gap: 36px; padding: 54px 0; }
  .journey { grid-template-columns: 1fr; gap: 34px; }
  .journey::before, .journey .prog { display: none; }
  .masonry { columns: 2; }
}

/* ============================================================
   v3 additions — editorial scale, manifesto, stat rows,
   bento grid, comparison table, numbered FAQ, footer clock
   ============================================================ */

/* Bigger, tighter hero type */
.hero h1 {
  font-size: clamp(2.9rem, 7vw, 5.6rem);
  letter-spacing: -0.025em;
  line-height: 1.02;
  max-width: 11em;
}
.hero p.lead { font-size: 1.2rem; }

/* ---------- Manifesto (scroll-lit statement) ---------- */
.manifesto { padding: 150px 0; }
.mtext {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.8vw, 3rem);
  font-weight: 500;
  line-height: 1.35;
  color: var(--navy);
  max-width: 24em;
}
.mtext .mw { opacity: 0.13; transition: opacity 0.3s linear; }
.mtext .mw.lit { opacity: 1; }
.mtext .hl { font-style: italic; color: var(--brand-ink); }

/* ---------- Giant stat rows (editorial numbers) ---------- */
.stat-rows { margin-top: 20px; }
.stat-row {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 56px;
  align-items: center;
  padding: 64px 0;
  border-top: 1px solid var(--line);
}
.stat-row:last-child { border-bottom: 1px solid var(--line); }
.stat-row .big {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(4rem, 9vw, 7.2rem);
  line-height: 0.95;
  color: var(--navy);
  letter-spacing: -0.03em;
}
.stat-row .big .sfx { color: var(--brand-ink); }
.stat-row h3 { font-size: 1.35rem; margin-bottom: 10px; }
.stat-row p { color: var(--muted); max-width: 34em; }

/* ---------- Bento grid ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 56px;
}
.cell {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 34px 32px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s var(--ease), box-shadow 0.4s;
}
.cell:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.cell.wide { grid-column: span 2; }
.cell.tall { grid-row: span 2; }
.cell h3 { font-size: 1.28rem; margin-bottom: 8px; }
.cell > p { color: var(--muted); font-size: 0.95rem; margin-bottom: 20px; }
.cell .cell-label {
  font-size: 0.7rem; font-weight: 800; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--brand-ink); margin-bottom: 14px;
}

/* mini UI: grade bar chart */
.bars {
  display: flex; gap: 12px; align-items: flex-end;
  height: 150px; margin-top: auto; padding-top: 10px;
}
.bar-wrap { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; height: 100%; justify-content: flex-end; }
.bar {
  width: 100%;
  height: var(--h);
  border-radius: 8px 8px 3px 3px;
  background: linear-gradient(180deg, var(--brand-light), var(--brand));
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 1.1s var(--ease);
  transition-delay: var(--bd, 0s);
}
.bar.dim { background: linear-gradient(180deg, #d6d2c6, #c3beaf); }
.visible .bar { transform: scaleY(1); }
.bar-lbl { font-size: 0.78rem; font-weight: 700; color: var(--muted); }
.bar-lbl.win { color: var(--brand-ink); font-weight: 800; }

/* mini UI: session rows */
.mini-rows { display: flex; flex-direction: column; gap: 10px; margin-top: auto; }
.mini-row {
  display: flex; align-items: center; gap: 12px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 0.86rem; font-weight: 600; color: var(--navy);
}
.mini-row .ico {
  width: 30px; height: 30px; border-radius: 8px; flex-shrink: 0;
  display: grid; place-items: center;
  background: rgba(20,121,224,0.14);
  border: 1px solid rgba(20,121,224,0.3);
  font-size: 0.9rem;
}
.mini-row .tick { margin-left: auto; color: var(--brand-ink); font-weight: 800; }

/* mini UI: chat bubbles */
.bubbles { display: flex; flex-direction: column; gap: 10px; margin-top: auto; }
.bubble {
  max-width: 88%;
  padding: 11px 16px;
  border-radius: 16px;
  font-size: 0.85rem;
  line-height: 1.45;
}
.bubble.q { background: var(--cream); border: 1px solid var(--line); color: var(--ink); border-bottom-left-radius: 4px; align-self: flex-start; }
.bubble.a { background: var(--navy); color: rgba(255,255,255,0.92); border-bottom-right-radius: 4px; align-self: flex-end; }

/* big glyph cell */
.cell .corner-glyph {
  position: absolute; right: -24px; bottom: -38px;
  font-family: var(--font-display);
  font-size: 9.5rem; line-height: 1;
  color: rgba(20,121,224,0.1);
  pointer-events: none;
}

/* ---------- Comparison table ---------- */
.compare-wrap { overflow-x: auto; margin-top: 56px; border-radius: 22px; box-shadow: var(--shadow-lg); }
.compare {
  width: 100%;
  min-width: 680px;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--white);
  border-radius: 22px;
  overflow: hidden;
  font-size: 0.93rem;
}
.compare th, .compare td { padding: 18px 22px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }
.compare thead th {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--navy);
  background: var(--cream);
  border-bottom: 2px solid var(--line);
}
.compare tbody th { font-weight: 700; color: var(--navy); font-size: 0.86rem; width: 22%; }
.compare td { color: var(--muted); }
.compare .pl-col {
  background: linear-gradient(160deg, var(--navy), var(--navy-2));
  color: rgba(255,255,255,0.92) !important;
  position: relative;
}
.compare thead .pl-col {
  color: var(--brand-light) !important;
  font-size: 1.1rem;
  background: var(--navy);
}
.compare .pl-col strong { color: var(--brand-light); }
.compare .tick { color: var(--brand-light); font-weight: 800; margin-right: 8px; }
.compare .cross { color: #b9b2a2; font-weight: 700; margin-right: 8px; }

/* ---------- Numbered FAQ ---------- */
.faq-q .fnum {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--brand-ink);
  margin-right: 16px;
  flex-shrink: 0;
}
.faq-q { align-items: baseline; }
.faq-q .chev { align-self: center; }

/* ---------- Footer clock ---------- */
.footer-clock { font-variant-numeric: tabular-nums; color: rgba(255,255,255,0.55); }

/* ---------- v3 responsive ---------- */
@media (max-width: 980px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .cell.wide { grid-column: span 2; }
  .cell.tall { grid-row: auto; }
  .stat-row { grid-template-columns: 1fr; gap: 18px; padding: 46px 0; }
}
@media (max-width: 700px) {
  .bento { grid-template-columns: 1fr; }
  .cell.wide { grid-column: auto; }
  .manifesto { padding: 90px 0; }
}

@media (max-width: 760px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed; inset: 0;
    flex-direction: column; justify-content: center; align-items: center; gap: 8px;
    background: rgba(8,26,51,0.97);
    backdrop-filter: blur(20px);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 1.4rem; padding: 12px 0; font-family: var(--font-display); }
  .nav-cta { margin-top: 18px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 54px 34px; }
  .section { padding: 72px 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .masonry { columns: 1; }
  .mq-card { width: 300px; }
  .grade-flip { padding: 14px 20px; }
  .grade-flip .g { font-size: 1.8rem; }
  .page-hero { padding: 140px 0 70px; }
}

/* ============================================================
   v4 — Apple-style scroll scrubbing, hover physics, layers
   ============================================================ */

/* ---------- Pinned scroll showcase ---------- */
.show-wrap { height: 480vh; position: relative; }
.show-sticky {
  --acc: #57a9ff;
  position: sticky; top: 0;
  height: 100vh;
  overflow: hidden;
  display: flex; align-items: center;
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 60%, var(--navy) 100%);
  color: var(--white);
}
.show-tint {
  position: absolute;
  width: 64vw; height: 64vw;
  max-width: 900px; max-height: 900px;
  border-radius: 50%;
  left: 28%; top: 50%;
  transform: translate(-50%, -50%);
  background: var(--acc);
  opacity: 0.14;
  filter: blur(150px);
  transition: background 0.9s;
  pointer-events: none;
}
.show-count {
  position: absolute; top: 100px; right: 6%;
  font-family: var(--font-display);
  color: rgba(255,255,255,0.45);
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  z-index: 3;
}
.show-count b {
  font-size: 3.2rem; font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--acc);
  margin-right: 8px;
  transition: -webkit-text-stroke-color 0.6s;
  vertical-align: middle;
}
.show-subject-name {
  position: absolute; bottom: 70px; left: 4%;
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,0.16);
  letter-spacing: -0.02em;
  pointer-events: none;
  white-space: nowrap;
}
.show-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px;
  align-items: center; width: 100%;
}
.show-visual { position: relative; height: 64vh; display: grid; place-items: center; }
.show-ring {
  position: absolute;
  width: min(430px, 70vw); height: min(430px, 70vw);
  border-radius: 50%;
  border: 1.5px dashed var(--acc);
  opacity: 0.45;
  will-change: transform;
  transition: border-color 0.6s;
}
.show-ring::before {
  content: "";
  position: absolute; top: -7px; left: 50%;
  width: 13px; height: 13px; border-radius: 50%;
  background: var(--acc);
  box-shadow: 0 0 18px var(--acc);
  transition: background 0.6s, box-shadow 0.6s;
}
.show-glyph {
  font-family: var(--font-display);
  font-size: clamp(8rem, 20vw, 15rem);
  line-height: 1;
  color: var(--acc);
  text-shadow: 0 30px 90px rgba(0,0,0,0.5);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), filter 0.4s, color 0.6s;
}
.show-glyph.swap { opacity: 0; transform: scale(0.7) rotate(-8deg); filter: blur(10px); }

.show-panels { position: relative; min-height: 340px; }
.show-panel {
  position: absolute; inset: 0;
  opacity: 0; transform: translateY(34px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
  pointer-events: none;
  display: flex; flex-direction: column; justify-content: center;
}
.show-panel.active { opacity: 1; transform: none; pointer-events: auto; }
.show-panel .tag {
  margin-bottom: 18px; align-self: flex-start;
  color: var(--acc); border-color: var(--acc);
  background: transparent;
  transition: color 0.6s, border-color 0.6s;
}
.show-panel h2 { color: var(--white); font-size: clamp(2rem, 4.4vw, 3.2rem); margin-bottom: 14px; }
.show-panel p { color: rgba(255,255,255,0.75); max-width: 30em; margin-bottom: 20px; }
.show-price {
  font-family: var(--font-display); font-weight: 700;
  font-size: 1.9rem; color: var(--acc); margin-bottom: 26px;
  transition: color 0.6s;
}
.show-price small { font-family: var(--font-body); font-size: 0.9rem; font-weight: 500; color: rgba(255,255,255,0.55); }

.show-dots {
  position: absolute; right: 4%; top: 50%; transform: translateY(-50%);
  display: flex; flex-direction: column; gap: 10px; z-index: 3;
}
.show-dot {
  width: 8px; height: 8px; border-radius: 5px;
  background: rgba(255,255,255,0.25);
  transition: all 0.4s var(--ease);
  cursor: pointer; border: 0; padding: 0;
}
.show-dot.active { height: 30px; background: var(--acc); }

.show-hint {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  font-size: 0.7rem; letter-spacing: 0.26em; text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}

/* ---------- Cursor spotlight on cards ---------- */
.spot { --mx: 50%; --my: 50%; }
.spot:hover {
  background-image: radial-gradient(420px circle at var(--mx) var(--my), rgba(20,121,224,0.10), transparent 46%);
}
/* Elements with gradient backgrounds must keep their base gradient under the spotlight */
.price-card.featured.spot, .price-card.featured.spot:hover {
  background-image:
    radial-gradient(420px circle at var(--mx) var(--my), rgba(87,169,255, var(--spot-a, 0)), transparent 46%),
    linear-gradient(165deg, var(--navy) 0%, var(--navy-2) 100%);
}
.price-card.featured.spot:hover { --spot-a: 0.14; }

/* clickable mini rows */
.mini-row[data-subject] { cursor: pointer; transition: transform 0.25s var(--ease), border-color 0.25s, box-shadow 0.25s; }
.mini-row[data-subject]:hover {
  transform: translateX(6px);
  border-color: var(--brand);
  box-shadow: 0 6px 18px rgba(20,121,224,0.18);
}
.mini-row[data-subject]::after { content: "→"; margin-left: 8px; color: var(--brand-ink); opacity: 0; transition: opacity 0.25s; }
.mini-row[data-subject]:hover::after { opacity: 1; }

/* ---------- Overlay layer system ---------- */
.pl-backdrop {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(7, 26, 61, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0; pointer-events: none;
  transition: opacity 0.4s;
}
.pl-backdrop.on { opacity: 1; pointer-events: auto; }

.pl-sheet {
  position: fixed; z-index: 201;
  top: 50%; left: 50%;
  width: min(580px, 94vw);
  max-height: 86vh;
  background: var(--cream);
  border-radius: 26px;
  transform: translate(-50%, 58%) scale(0.9);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.6s cubic-bezier(0.25, 1.2, 0.35, 1), opacity 0.4s;
  overflow: hidden;
  box-shadow: 0 50px 140px rgba(0,0,0,0.5);
  display: flex; flex-direction: column;
}
.pl-sheet.on { transform: translate(-50%, -50%) scale(1); opacity: 1; pointer-events: auto; }
.pl-sheet.dragging { transition: none; }

.pl-grab {
  position: absolute; top: 10px; left: 50%; transform: translateX(-50%);
  width: 52px; height: 5px; border-radius: 3px;
  background: rgba(255,255,255,0.4);
  z-index: 3;
}

.pl-sheet-head {
  position: relative; z-index: 2; flex-shrink: 0;
  background: linear-gradient(150deg, var(--navy), var(--navy-2));
  color: var(--white);
  padding: 32px 34px 26px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  cursor: grab;
  touch-action: none;
}
.pl-sheet-head:active { cursor: grabbing; }
.pl-sheet-head .t { font-family: var(--font-display); font-size: 1.4rem; font-weight: 600; }
.pl-sheet-head .s { font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--brand-light); }
.pl-close {
  width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0;
  border: 1.5px solid rgba(255,255,255,0.35);
  background: transparent; color: var(--white);
  font-size: 1.15rem; cursor: pointer;
  display: grid; place-items: center;
  transition: transform 0.3s var(--ease), background 0.3s, color 0.3s;
}
.pl-close:hover { transform: rotate(90deg); background: var(--brand); border-color: var(--brand); color: var(--white); }

.pl-sheet-body { padding: 34px; flex: 1; overflow-y: auto; }

/* ---------- Page transition curtain ---------- */
.page-curtain {
  position: fixed; inset: 0; z-index: 380;
  background:
    radial-gradient(700px 350px at 75% 15%, rgba(20,121,224,0.12), transparent 60%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%);
  display: grid; place-items: center;
  transform: translateY(100.5%);
  transition: transform 0.5s var(--ease);
  pointer-events: none;
}
.page-curtain::before {
  content: "";
  position: absolute; top: -2px; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, transparent, var(--brand), transparent);
}
.page-curtain.in { transform: translateY(0); pointer-events: auto; }
.page-curtain.in.out { transform: translateY(-100.5%); transition: transform 0.6s var(--ease) 0.08s; }
.page-curtain.no-anim { transition: none; }
.page-curtain .cmark {
  width: 76px; height: 76px; border-radius: 18px;
  background: var(--white);
  display: grid; place-items: center;
  padding: 9px;
  box-shadow: 0 12px 40px rgba(20,121,224,0.5);
}
.pl-sheet-body .glyph-banner {
  height: 150px; border-radius: 18px; margin-bottom: 26px;
  background:
    radial-gradient(300px 160px at 75% 20%, rgba(20,121,224,0.3), transparent 65%),
    linear-gradient(150deg, var(--navy), var(--navy-3));
  display: grid; place-items: center;
  font-family: var(--font-display); font-size: 4.4rem; color: var(--brand-light);
}
.pl-sheet-body h3 { font-size: 1.5rem; margin-bottom: 8px; }
.pl-sheet-body .lvl { color: var(--brand-ink); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 16px; }
.pl-sheet-body p { color: var(--muted); font-size: 0.97rem; margin-bottom: 16px; }
.pl-sheet-body ul.inc { list-style: none; margin: 4px 0 24px; }
.pl-sheet-body ul.inc li { padding: 7px 0 7px 28px; position: relative; color: var(--muted); font-size: 0.94rem; }
.pl-sheet-body ul.inc li::before { content: "✓"; position: absolute; left: 0; color: var(--brand-ink); font-weight: 700; }
.pl-price-line {
  display: flex; align-items: baseline; gap: 10px;
  background: var(--white); border: 1px solid var(--line); border-radius: 14px;
  padding: 18px 22px; margin-bottom: 26px;
}
.pl-price-line .p { font-family: var(--font-display); font-size: 2rem; font-weight: 700; color: var(--navy); }
.pl-price-line .u { color: var(--muted); font-size: 0.9rem; }

body.pl-locked { overflow: hidden; }

/* ============================================================
   v5 — preloader, custom cursor, kinetic text bands, nav roll
   ============================================================ */

/* ---------- Preloader ---------- */
.pl-loader {
  position: fixed; inset: 0; z-index: 400;
  background:
    radial-gradient(900px 450px at 75% 10%, rgba(20,121,224,0.12), transparent 60%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 26px;
  transition: transform 0.85s var(--ease), opacity 0.6s;
}
.pl-loader.done { transform: translateY(-100%); opacity: 0.4; }
.pl-loader .mark {
  width: 86px; height: 86px; border-radius: 20px;
  background: var(--white);
  display: grid; place-items: center;
  padding: 10px;
  box-shadow: 0 12px 44px rgba(20,121,224,0.5);
  animation: loader-pulse 1.2s ease-in-out infinite alternate;
}
.pl-loader .mark img, .page-curtain .cmark img { width: 100%; height: 100%; object-fit: contain; display: block; }
@keyframes loader-pulse { to { transform: scale(1.08); box-shadow: 0 16px 55px rgba(20,121,224,0.6); } }
.pl-loader .word {
  font-family: var(--font-display); font-size: 1.15rem; color: rgba(255,255,255,0.85);
  letter-spacing: 0.02em;
}
.pl-loader .word em { color: var(--brand-light); font-style: italic; }
.pl-loader .pct {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(3rem, 8vw, 5rem); line-height: 1; color: var(--white);
  font-variant-numeric: tabular-nums;
}
.pl-loader .pct b { color: var(--brand-light); font-weight: 700; }
.pl-loader .bar-line { width: min(300px, 64vw); height: 2px; background: rgba(255,255,255,0.14); border-radius: 2px; overflow: hidden; }
.pl-loader .bar-fill { height: 100%; width: 0%; background: linear-gradient(90deg, var(--brand), var(--brand-light)); }
body.pl-boot { overflow: hidden; }

/* ---------- Custom cursor ---------- */
.cur-dot, .cur-ring {
  position: fixed; top: 0; left: 0; z-index: 500;
  pointer-events: none; border-radius: 50%;
  display: none;
}
body.has-cursor .cur-dot, body.has-cursor .cur-ring { display: block; }
@media (hover: hover) and (pointer: fine) {
  body.has-cursor, body.has-cursor a, body.has-cursor button,
  body.has-cursor input, body.has-cursor textarea, body.has-cursor select,
  body.has-cursor [data-subject] { cursor: none; }
}
.cur-dot {
  width: 8px; height: 8px;
  background: var(--brand);
  transform: translate(-50%, -50%);
  box-shadow: 0 0 12px rgba(20,121,224,0.7);
}
.cur-ring {
  width: 38px; height: 38px;
  border: 1.5px solid rgba(20,121,224,0.6);
  transform: translate(-50%, -50%);
  transition: width 0.3s var(--ease), height 0.3s var(--ease), background 0.3s, border-color 0.3s;
}
.cur-ring.big { width: 62px; height: 62px; background: rgba(20,121,224,0.12); border-color: var(--brand); }

/* ---------- Kinetic text bands ---------- */
.text-band {
  overflow: hidden;
  padding: 40px 0;
  background: var(--cream);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.text-band.navy {
  background: linear-gradient(160deg, var(--navy), var(--navy-2));
  border-color: rgba(20,121,224,0.2);
}
.tb-track {
  display: flex; align-items: baseline; gap: 56px;
  width: max-content;
  animation: marquee var(--tb-dur, 38s) linear infinite;
  will-change: transform;
}
.text-band.rev .tb-track { animation-direction: reverse; }
.tb-item {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(3.2rem, 9vw, 7rem);
  line-height: 1; letter-spacing: -0.02em;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(7, 26, 61, 0.32);
}
.tb-item.solid { color: var(--brand-ink); -webkit-text-stroke: 0; }
.text-band.navy .tb-item { -webkit-text-stroke: 1.5px rgba(87,169,255,0.4); }
.text-band.navy .tb-item.solid { color: var(--brand-light); }

/* ---------- Nav link letter roll ---------- */
.rl { display: inline-block; overflow: hidden; height: 1.5em; vertical-align: middle; }
.rl .rl-in { display: block; transition: transform 0.4s var(--ease); }
.rl .rl-in span { display: block; height: 1.5em; line-height: 1.5em; }
.rl .rl-in span:last-child { color: var(--brand-light); }
.nav-links a:hover .rl-in { transform: translateY(-1.5em); }

@media (max-width: 900px) {
  .show-grid { grid-template-columns: 1fr; gap: 20px; }
  .show-visual { height: 34vh; }
  .show-glyph { font-size: clamp(5rem, 24vw, 8rem); }
  .show-ring { width: min(240px, 60vw); height: min(240px, 60vw); }
  .show-panels { min-height: 300px; }
  .show-panel h2 { font-size: 1.7rem; }
  .show-dots { right: 12px; }
  .show-count { top: 86px; right: 14px; }
  .show-count b { font-size: 2.2rem; }
  .show-subject-name { display: none; }
  .pl-sheet-body { padding: 26px 22px; }
}
