/* JADAMSTUTOR site styles. One stylesheet for every page. */
:root {
  --ink: #000000;
  --ink-2: #1a1a1a;
  --ink-3: #27272a;
  --text: #18181b;
  --muted: #52525b;
  --soft: #a1a1aa;
  --line: #e4e4e7;
  --bg: #ffffff;
  --alt: #faf6f1;
  --accent: #76522c;
  --accent-dark: #5c3f20;
  --accent-soft: #f8ebdb;
  --beige: #f1cfa9;
  --beige-dark: #e6b985;
  --star: #76522c;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow: 0 1px 2px rgba(9, 9, 11, 0.04), 0 4px 16px rgba(9, 9, 11, 0.05);
  --shadow-lift: 0 2px 4px rgba(9, 9, 11, 0.05), 0 16px 36px rgba(9, 9, 11, 0.10);
  --ease: 0.28s ease;
  --wrap: 1120px;
  --gap: clamp(4.5rem, 9vw, 7.5rem);
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: 'Outfit', system-ui, sans-serif; font-size: 1.0625rem; line-height: 1.6; color: var(--text); background: var(--bg); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
a { color: var(--accent); }
a:hover { color: var(--accent-dark); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: #fff; color: var(--ink); padding: 0.6rem 1rem; border-radius: 8px; font-weight: 700; }
.skip-link:focus { top: 1rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 1.25rem; }

/* Type */
h1, h2, h3 { line-height: 1.08; letter-spacing: -0.03em; color: var(--text); }
h1 { font-size: clamp(2.6rem, 8vw, 5.2rem); font-weight: 900; }
h2 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 900; }
h3 { font-size: 1.3rem; font-weight: 700; letter-spacing: -0.01em; }
.eyebrow { display: inline-block; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin-bottom: 0.9rem; }
.lead { font-size: clamp(1.1rem, 2.2vw, 1.3rem); color: var(--muted); max-width: 46rem; }
.section-head { margin-bottom: 2.75rem; }
.section-head.center { text-align: center; }
.section-head.center .lead { margin: 0.9rem auto 0; }
.section-head .lead { margin-top: 0.9rem; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; min-height: 48px; padding: 0.85rem 1.6rem; border-radius: 999px; font: inherit; font-weight: 700; font-size: 1rem; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform var(--ease), background-color var(--ease), color var(--ease), border-color var(--ease), box-shadow var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 6px 20px rgba(118, 82, 44, 0.3); }
.btn-primary:hover { background: var(--accent-dark); color: #fff; box-shadow: 0 10px 26px rgba(118, 82, 44, 0.38); }
.btn-lg { min-height: 56px; padding: 1rem 2.1rem; font-size: 1.1rem; }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--text); color: var(--text); }
.on-dark .btn-ghost, .dark .btn-ghost, .hero .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, 0.35); }
.on-dark .btn-ghost:hover, .dark .btn-ghost:hover, .hero .btn-ghost:hover { border-color: #fff; color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.85rem; align-items: center; }

/* Header */
.site-header { position: fixed; top: 12px; left: 50%; transform: translateX(-50%); width: calc(100% - 24px); max-width: var(--wrap); z-index: 50; background: rgba(26, 26, 26, 0.96); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 999px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.45rem 0.55rem 0.45rem 1.1rem; }
.nav-logo img { height: 48px; width: auto; }
@media (min-width: 900px) { .nav-logo img { height: 56px; } }
.nav-links { display: none; list-style: none; align-items: center; gap: 0.2rem; }
.nav-links a { display: block; color: #d4d4d8; text-decoration: none; font-weight: 500; font-size: 0.98rem; padding: 0.55rem 0.85rem; border-radius: 999px; transition: color var(--ease), background-color var(--ease); }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: #fff; background: rgba(255, 255, 255, 0.08); }
.nav-cta { display: none; }
.nav-toggle { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, 0.08); cursor: pointer; padding: 0 13px; }
.nav-toggle span { display: block; height: 2px; width: 100%; background: #fff; border-radius: 2px; transition: transform var(--ease), opacity var(--ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu { display: none; padding: 0.4rem 0.9rem 1rem; }
.mobile-menu.open { display: block; }
.mobile-menu ul { list-style: none; }
.mobile-menu a:not(.btn) { display: block; color: #e4e4e7; text-decoration: none; font-weight: 500; font-size: 1.1rem; padding: 0.7rem 0.4rem; border-bottom: 1px solid rgba(255, 255, 255, 0.07); }
.mobile-menu a[aria-current="page"] { color: #fff; }
.mobile-menu .btn { width: 100%; margin-top: 1rem; }
.site-header.menu-open { border-radius: 24px; }
@media (min-width: 900px) {
  .nav-links, .nav-cta { display: flex; }
  .nav-toggle, .mobile-menu, .mobile-menu.open { display: none; }
  .site-header.menu-open { border-radius: 999px; }
}

/* Sections */
section { padding: var(--gap) 0; }
.alt { background: var(--alt); }
.dark { background: var(--ink); color: #e4e4e7; }
.dark h1, .dark h2, .dark h3 { color: #fff; }
.dark .lead { color: var(--soft); }
.dark .eyebrow, .hero .eyebrow, .page-hero .eyebrow { color: var(--beige); }

/* Hero */
.hero { position: relative; background: radial-gradient(1200px 600px at 75% -10%, rgba(118, 82, 44, 0.45), transparent 60%), radial-gradient(900px 500px at -10% 110%, rgba(255, 255, 255, 0.05), transparent 60%), var(--ink); color: #e4e4e7; padding: calc(7.5rem + 3vw) 0 clamp(4rem, 8vw, 6rem); overflow: hidden; }
.hero h1 { color: #fff; max-width: 14ch; }
.hero .lead { color: #c4c4cc; margin: 1.4rem 0 2.1rem; max-width: 40rem; }
.hero-trust { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1rem; margin-top: 1.6rem; color: var(--soft); font-size: 0.98rem; }
.hero-trust .stars { color: var(--star); letter-spacing: 2px; }
.hero-trust strong { color: #fff; }
.page-hero { background: var(--ink); color: #e4e4e7; padding: calc(7rem + 2vw) 0 clamp(3rem, 6vw, 4.5rem); }
.page-hero h1 { color: #fff; font-size: clamp(2.4rem, 6.5vw, 4.2rem); max-width: 18ch; }
.page-hero .lead { color: #c4c4cc; margin-top: 1.1rem; }
.page-hero .btn-row { margin-top: 2rem; }

/* Marquee */
.marquee { background: var(--ink-2); color: #e4e4e7; border-top: 1px solid rgba(255, 255, 255, 0.06); border-bottom: 1px solid rgba(255, 255, 255, 0.06); overflow: hidden; padding: 0.95rem 0; }
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; will-change: transform; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-group { display: flex; flex-shrink: 0; align-items: center; }
.marquee-group span { white-space: nowrap; font-weight: 500; font-size: 1.02rem; padding: 0 1.4rem; }
.marquee-group span::after { content: "\2022"; color: var(--beige); margin-left: 2.8rem; }
@keyframes marquee { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-50%, 0, 0); } }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.stat { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.6rem 1.3rem; box-shadow: var(--shadow); }
.stat-num { display: block; font-size: clamp(2.4rem, 6vw, 3.4rem); font-weight: 900; letter-spacing: -0.04em; line-height: 1; color: var(--text); font-variant-numeric: tabular-nums; }
.stat-label { display: block; margin-top: 0.6rem; color: var(--muted); font-size: 0.98rem; line-height: 1.4; }
@media (min-width: 860px) { .stats { grid-template-columns: repeat(4, 1fr); gap: 1.25rem; } }

/* Cards and grids */
.grid { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 640px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }
.card { position: relative; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.9rem 1.7rem; box-shadow: var(--shadow); transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease); }
.card p { color: var(--muted); margin-top: 0.6rem; }
a.card { display: block; text-decoration: none; color: inherit; }
.card-link:hover, a.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); border-color: #d4d4d8; }
.card-icon { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 14px; background: var(--accent-soft); color: var(--accent); margin-bottom: 1.2rem; }
.card-icon svg { width: 24px; height: 24px; }
.card-more { display: inline-block; margin-top: 1.1rem; font-weight: 700; color: var(--accent); }
.card-more::after { content: " \2192"; transition: margin var(--ease); }
a.card:hover .card-more::after { margin-left: 4px; }
.dark .card { background: var(--ink-2); border-color: rgba(255, 255, 255, 0.08); box-shadow: none; }
.dark .card p { color: var(--soft); }
.tick-list { list-style: none; margin-top: 1rem; }
.tick-list li { position: relative; padding-left: 1.8rem; margin-bottom: 0.55rem; color: var(--muted); }
.tick-list li::before { content: ""; position: absolute; left: 0; top: 0.42em; width: 1.05rem; height: 1.05rem; border-radius: 50%; background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2376522c' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 62% no-repeat; }
.dark .tick-list li { color: #d4d4d8; }

/* Split layout */
.split h2 + .lead, .split h2 + .tick-list { margin-top: 1rem; }
.split { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1.05fr 1fr; gap: 4rem; } .split.reverse > :first-child { order: 2; } }
.photo { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lift); background: var(--alt); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo-grid .photo { aspect-ratio: 3 / 2; }
.photo-grid .photo:first-child { aspect-ratio: auto; }
.photo-grid.three .photo, .photo-grid.three .photo:first-child { aspect-ratio: 4 / 3; }
.photo-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.9rem; }
.photo-grid .photo:first-child { grid-column: span 2; }
.photo-grid.three { grid-template-columns: 1fr; }
@media (min-width: 720px) { .photo-grid.three { grid-template-columns: repeat(3, 1fr); } .photo-grid.three .photo:first-child { grid-column: auto; } }
figcaption { font-size: 0.9rem; color: var(--muted); padding: 0.7rem 0.2rem 0; }

/* Booking */
.booking-box { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 0.75rem; }
.booking-box iframe { display: block; }
.steps { list-style: none; counter-reset: step; display: grid; gap: 1rem; margin-bottom: 2rem; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { position: relative; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem 1.2rem 1.2rem 4rem; }
.step::before { counter-increment: step; content: counter(step); position: absolute; left: 1.1rem; top: 1.05rem; width: 2rem; height: 2rem; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.step strong { display: block; }
.step span { color: var(--muted); font-size: 0.97rem; }
.video-wrap { margin: 0 0 2rem; }
.video-frame { position: relative; padding-top: 56.25%; border-radius: var(--radius); overflow: hidden; background: #000; }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 1.5rem; }

/* Reviews */
.review { display: flex; flex-direction: column; height: 100%; }
.review .stars { color: var(--star); font-size: 1.2rem; letter-spacing: 3px; }
.review blockquote { flex: 1; margin: 1rem 0 1.3rem; font-size: 1.08rem; line-height: 1.6; color: var(--text); }
.review figcaption { padding: 0; font-weight: 700; color: var(--text); font-size: 0.98rem; }
.review figcaption span { display: block; font-weight: 400; color: var(--muted); font-size: 0.9rem; }
.rating-summary { display: inline-flex; align-items: center; gap: 0.75rem; background: var(--bg); border: 1px solid var(--line); border-radius: 999px; padding: 0.5rem 1.1rem; font-weight: 500; margin-top: 1.2rem; }
.rating-summary .stars { color: var(--star); letter-spacing: 2px; }
.spotlight { background: var(--ink); color: #e4e4e7; border-radius: var(--radius-lg); padding: clamp(2rem, 5vw, 3.5rem); display: grid; gap: 1.5rem; align-items: center; }
@media (min-width: 820px) { .spotlight { grid-template-columns: auto 1fr; gap: 3rem; } }
.grade-jump { display: flex; align-items: center; gap: 1rem; font-weight: 900; font-size: clamp(2.6rem, 7vw, 4rem); letter-spacing: -0.04em; color: #fff; white-space: nowrap; }
.grade-jump .from { color: #f87171; }
.grade-jump .to { color: #4ade80; }
.grade-jump .arrow { color: var(--soft); font-weight: 500; }
.spotlight blockquote { font-size: 1.2rem; color: #fff; }
.spotlight cite { display: block; margin-top: 0.8rem; color: var(--soft); font-style: normal; }

/* Pricing */
.price-card { display: flex; flex-direction: column; }
.price-card.featured { border: 2px solid var(--accent); box-shadow: var(--shadow-lift); }
.badge { position: absolute; top: -0.85rem; left: 1.7rem; background: var(--accent); color: #fff; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.04em; padding: 0.3rem 0.8rem; border-radius: 999px; }
.price { display: flex; align-items: baseline; gap: 0.4rem; margin: 1rem 0 0.2rem; }
.price strong { font-size: 3.2rem; font-weight: 900; letter-spacing: -0.04em; line-height: 1; }
.price span { color: var(--muted); }
.price-note { color: var(--muted); font-size: 0.97rem; }
.price-card .tick-list { flex: 1; margin-bottom: 1.6rem; }
.price-card .btn { width: 100%; }

/* Subjects */
.level-card h3 { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.level-tag { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent); background: var(--accent-soft); padding: 0.25rem 0.65rem; border-radius: 999px; white-space: nowrap; }
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.2rem; list-style: none; }
.chips li { background: var(--alt); border: 1px solid var(--line); border-radius: 999px; padding: 0.4rem 0.9rem; font-weight: 500; font-size: 0.97rem; }

/* FAQ */
.faq { max-width: 50rem; margin: 0 auto; }
.faq details { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 0.8rem; transition: box-shadow var(--ease); }
.faq details[open] { box-shadow: var(--shadow); }
.faq summary { list-style: none; cursor: pointer; padding: 1.15rem 3.2rem 1.15rem 1.3rem; font-weight: 700; font-size: 1.07rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 1.3rem; top: 50%; transform: translateY(-50%); font-size: 1.5rem; font-weight: 400; color: var(--muted); transition: transform var(--ease); }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 1.3rem 1.2rem; color: var(--muted); }

/* CTA band */
.cta-band { background: var(--ink); border-radius: var(--radius-lg); padding: clamp(2.2rem, 6vw, 4rem); text-align: center; color: #e4e4e7; background-image: radial-gradient(700px 300px at 50% -20%, rgba(118, 82, 44, 0.55), transparent 70%); }
.cta-band h2 { color: #fff; }
.cta-band p { color: #c4c4cc; margin: 1rem auto 2rem; max-width: 36rem; font-size: 1.12rem; }
.cta-band .btn-row { justify-content: center; }
.cta-band .btn-ghost, .page-hero .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, 0.35); }
.cta-band .btn-ghost:hover, .page-hero .btn-ghost:hover { border-color: #fff; color: #fff; }

/* Forms */
.form-card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.5rem, 4vw, 2.4rem); box-shadow: var(--shadow); }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-weight: 700; font-size: 0.92rem; margin-bottom: 0.4rem; }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 1rem; padding: 0.85rem 1rem; border: 1px solid #d4d4d8; border-radius: 12px; background: #fff; color: var(--text); transition: border-color var(--ease), box-shadow var(--ease); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(118, 82, 44, 0.18); }
.form-card .btn { width: 100%; margin-top: 0.4rem; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: 0.9rem; color: var(--muted); margin-top: 0.9rem; }

/* Contact */
.contact-list { list-style: none; display: grid; gap: 1rem; }
.contact-list li { display: flex; gap: 1rem; align-items: flex-start; }
.contact-list .card-icon { margin: 0; flex-shrink: 0; }
.contact-list strong { display: block; }
.contact-list a { font-size: 1.1rem; font-weight: 500; text-decoration: none; }

/* Legal pages */
.legal { max-width: 52rem; margin: 0 auto; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.6rem, 5vw, 3rem); box-shadow: var(--shadow); }
.legal h2 { font-size: 1.4rem; font-weight: 700; letter-spacing: -0.01em; margin: 2.2rem 0 0.7rem; }
.legal h3 { font-size: 1.08rem; margin: 1.4rem 0 0.5rem; }
.legal p, .legal li { color: #27272a; margin-bottom: 0.85rem; }
.legal ul { padding-left: 1.4rem; margin-bottom: 0.9rem; }
.legal .updated { color: var(--muted); margin-bottom: 1.6rem; }
.legal .toc { background: var(--alt); border-radius: 12px; padding: 1.2rem 1.4rem; margin: 1.4rem 0; }
.legal .toc ol { padding-left: 1.2rem; }
@media (min-width: 700px) { .legal .toc ol { columns: 2; column-gap: 2rem; } }
.legal .toc li { margin-bottom: 0.3rem; font-size: 0.97rem; }
.legal table { width: 100%; border-collapse: collapse; margin: 0.5rem 0 1.25rem; font-size: 0.97rem; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 0.65rem 0.75rem; border-bottom: 1px solid var(--line); }
.legal th { background: var(--alt); }
.table-wrap { overflow-x: auto; }

/* Footer */
.site-footer { background: var(--ink); color: var(--soft); padding: clamp(3.5rem, 7vw, 5rem) 0 2rem; font-size: 0.98rem; }
.footer-grid { display: grid; gap: 2.2rem; }
@media (min-width: 820px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }
.footer-brand img { height: 42px; width: auto; }
.footer-brand p { margin-top: 1rem; max-width: 22rem; }
.site-footer h2 { font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase; color: #fff; font-weight: 700; margin-bottom: 1rem; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 0.55rem; }
.site-footer a { color: #d4d4d8; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.social { display: flex; gap: 0.7rem; margin-top: 1.3rem; }
.social a { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%; background: rgba(255, 255, 255, 0.07); transition: background-color var(--ease), transform var(--ease); }
.social a:hover { background: var(--accent); transform: translateY(-2px); }
.social svg { width: 19px; height: 19px; fill: #fff; }
.footer-legal { border-top: 1px solid rgba(255, 255, 255, 0.08); margin-top: 3rem; padding-top: 1.6rem; font-size: 0.88rem; line-height: 1.6; }

/* Reveal on scroll */
.js .reveal { opacity: 0; transform: translate3d(0, 22px, 0); transition: opacity 0.6s ease, transform 0.6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal-delay-1 { transition-delay: 0.08s; }
.js .reveal-delay-2 { transition-delay: 0.16s; }
.js .reveal-delay-3 { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
  .marquee-track { animation: none; transform: none; flex-wrap: wrap; width: auto; }
  .marquee-group[aria-hidden="true"] { display: none; }
  .marquee-group { flex-wrap: wrap; justify-content: center; }
  .js .reveal { opacity: 1; transform: none; }
}

/* Click-to-play videos: YouTube only loads when the visitor presses play */
.video-card { display: flex; flex-direction: column; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); transition: transform var(--ease), box-shadow var(--ease); }
.video-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.yt { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; border: 0; background: #000; cursor: pointer; overflow: hidden; }
.yt.vertical { aspect-ratio: 9 / 16; }
.yt img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease, opacity var(--ease); }
.yt:hover img { transform: scale(1.03); opacity: 0.9; }
.yt .play { position: absolute; left: 50%; top: 50%; width: 68px; height: 68px; margin: -34px 0 0 -34px; border-radius: 50%; background: rgba(9, 9, 11, 0.78); display: flex; align-items: center; justify-content: center; transition: background-color var(--ease), transform var(--ease); }
.yt .play::before { content: ""; margin-left: 6px; border-style: solid; border-width: 13px 0 13px 22px; border-color: transparent transparent transparent #fff; }
.yt:hover .play, .yt:focus-visible .play { background: var(--accent); transform: scale(1.08); }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-body { padding: 1.3rem 1.4rem 1.5rem; }
.video-body h3 { font-size: 1.15rem; }
.video-body p { color: var(--muted); margin-top: 0.45rem; font-size: 0.97rem; }
.video-meta { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.8rem; }
.video-meta span { font-size: 0.82rem; font-weight: 700; color: var(--muted); background: var(--alt); border-radius: 999px; padding: 0.2rem 0.7rem; }
.shorts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.9rem; max-width: 46rem; }
.shorts .yt { border-radius: var(--radius); box-shadow: var(--shadow); }
.shorts figcaption { text-align: center; }
.press { display: grid; gap: 1.5rem; align-items: center; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.2rem, 3vw, 1.8rem); box-shadow: var(--shadow); }
@media (min-width: 820px) { .press { grid-template-columns: 1.1fr 1fr; gap: 2.5rem; } }
.press .yt { border-radius: var(--radius); }
.quote-big { font-size: clamp(1.3rem, 3vw, 1.7rem); font-weight: 700; letter-spacing: -0.02em; line-height: 1.3; color: var(--text); }
.method { background: var(--accent-soft); border-radius: var(--radius-lg); padding: clamp(1.5rem, 4vw, 2.5rem); }
.method h3 { font-size: 1.5rem; }
.method ol { margin: 1rem 0 0 1.2rem; color: var(--text); }
.method li { margin-bottom: 0.5rem; }
.guide-steps { margin: 1rem 0 0 1.2rem; color: var(--text); }
.guide-steps li { margin-bottom: 0.5rem; padding-left: 0.2rem; }
.guide-steps li::marker { color: var(--accent); font-weight: 700; }

/* Logo palette on dark backgrounds: beige buttons with black text, beige stars */
.hero .btn-primary, .page-hero .btn-primary, .dark .btn-primary, .cta-band .btn-primary, .site-header .btn-primary { background: var(--beige); color: #000; box-shadow: 0 6px 20px rgba(241, 207, 169, 0.22); }
.hero .btn-primary:hover, .page-hero .btn-primary:hover, .dark .btn-primary:hover, .cta-band .btn-primary:hover, .site-header .btn-primary:hover { background: var(--beige-dark); color: #000; }
.hero-trust .stars, .spotlight .stars, .page-hero .stars, .cta-band .stars { color: var(--beige); }
.dark .tick-list li::before { background-color: rgba(241, 207, 169, 0.16); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f1cfa9' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E"); }
.social a:hover { background: var(--beige); }
.social a:hover svg { fill: #000; }
.site-footer a:hover { color: var(--beige); }
.nav-links a[aria-current="page"] { color: var(--beige); }

/* Hero with Josh's original monkey, tilting in 3D on wider screens */
.hero-grid { display: grid; gap: 2rem; align-items: center; }
.hero-monkey { display: none; }
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.25fr 1fr; }
  .hero-monkey { display: flex; align-items: center; justify-content: center; perspective: 900px; max-width: 420px; width: 100%; justify-self: end; }
  .monkey-float { animation: monkey-float 5s ease-in-out infinite; will-change: transform; }
  .monkey-tilt { transform-style: preserve-3d; will-change: transform; }
  .monkey-tilt img { width: 100%; height: auto; filter: drop-shadow(0 28px 34px rgba(0, 0, 0, 0.6)) drop-shadow(0 0 60px rgba(241, 207, 169, 0.12)); }
}
@keyframes monkey-float { 0%, 100% { transform: translate3d(0, 0, 0); } 50% { transform: translate3d(0, -14px, 0); } }

/* Footer: four centred columns, social media under its own heading */
.footer-grid { text-align: center; }
@media (min-width: 820px) { .footer-grid { grid-template-columns: repeat(4, 1fr); } }
.site-footer .social { justify-content: center; margin-top: 0; }
.footer-legal { text-align: center; }

/* School-days photo has a white background */
.photo.plain { background: #fff; box-shadow: none; }
