/* Academy homepage options (J&R, Dec 2026). One type pairing everywhere:
   Barlow Condensed for headings, Poppins for everything else. */
:root {
  --blue: #3a8dde;
  --blue-deep: #2a73bd;
  --ink: #0d0e10;
  --ink-2: #16181c;
  --text: #2a2e35;
  --muted: #646b76;
  --line: #e4e7ec;
  --paper: #f4f5f7;
  --white: #ffffff;
  --radius: 4px;
  --wrap: 1200px;
  --head: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Poppins", system-ui, -apple-system, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--body); color: var(--text); background: var(--white); font-size: 16px; line-height: 1.7; -webkit-font-smoothing: antialiased; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--head); text-transform: uppercase; margin: 0; line-height: 1; letter-spacing: -0.01em; color: var(--ink); }
.wrap { width: min(var(--wrap), calc(100% - 48px)); margin: 0 auto; }
.blue { color: var(--blue); }

/* Eyebrow: small label with rules either side */
.eyebrow { display: inline-flex; align-items: center; gap: 14px; font-family: var(--body); font-size: 12px; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); }
.eyebrow::before, .eyebrow::after { content: ""; width: 44px; height: 1px; background: currentColor; opacity: 0.45; }
.eyebrow.left::before { display: none; }
.on-dark .eyebrow, .eyebrow.light { color: rgba(255,255,255,0.75); }
.section-head { text-align: center; margin: 0 auto 48px; max-width: 760px; }
.section-head h2 { font-size: clamp(38px, 5vw, 58px); margin-top: 14px; }
.section-head p { color: var(--muted); margin: 18px auto 0; max-width: 640px; }

/* Buttons: one style, two weights */
.btn { display: inline-flex; align-items: center; gap: 10px; font-family: var(--body); font-size: 14px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none; padding: 15px 26px; border-radius: var(--radius); border: 1px solid var(--blue); background: var(--blue); color: #fff; cursor: pointer; transition: background .2s, transform .2s, border-color .2s, color .2s; }
.btn:hover { background: var(--blue-deep); border-color: var(--blue-deep); transform: translateY(-1px); }
.btn .arrow { transition: transform .2s; }
.btn:hover .arrow { transform: translateX(3px); }
.btn.ghost { background: transparent; border-color: rgba(255,255,255,0.55); color: #fff; }
.btn.ghost:hover { background: rgba(255,255,255,0.1); border-color: #fff; }
.btn.dark-ghost { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn.dark-ghost:hover { background: var(--ink); color: #fff; }

/* Header */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background .3s, box-shadow .3s, padding .3s; padding: 22px 0; }
.site-header.solid { background: rgba(10,11,13,0.96); box-shadow: 0 1px 0 rgba(255,255,255,0.06); padding: 12px 0; backdrop-filter: blur(8px); }
.site-header .wrap { display: flex; align-items: center; gap: 28px; width: min(1320px, calc(100% - 48px)); }
.logo img { width: 188px; height: auto; }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { font-family: var(--head); font-size: 17px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: #fff; text-decoration: none; opacity: 0.9; position: relative; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--blue); transform: scaleX(0); transition: transform .25s; }
.nav a:hover { opacity: 1; }
.nav a:hover::after { transform: scaleX(1); }
.head-actions { display: flex; align-items: center; gap: 18px; }
.head-phone { color: #fff; text-decoration: none; font-size: 14px; font-weight: 500; white-space: nowrap; opacity: 0.9; }
.head-phone:hover { opacity: 1; }
.head-actions .btn { padding: 12px 20px; font-size: 13px; }
.menu-btn { display: none; background: none; border: 0; color: #fff; font-size: 26px; cursor: pointer; margin-left: auto; }

/* Footer */
.site-footer { background: var(--ink); color: rgba(255,255,255,0.78); padding: 72px 0 28px; font-size: 15px; }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 0.7fr 0.7fr; gap: 40px; }
.site-footer h4 { color: #fff; font-size: 20px; letter-spacing: 0.04em; margin-bottom: 16px; }
.site-footer p { margin: 0 0 12px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #fff; }
.foot-links a { display: block; margin-bottom: 10px; }
.foot-logo img { width: 260px; }
.foot-logo p { margin-top: 18px; max-width: 300px; font-size: 14px; color: rgba(255,255,255,0.6); }
.foot-base { border-top: 1px solid rgba(255,255,255,0.12); margin-top: 48px; padding-top: 22px; display: flex; justify-content: space-between; gap: 16px; font-size: 13px; color: rgba(255,255,255,0.55); flex-wrap: wrap; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* Option switcher (for reviewing the three options) */
.opt-switch { position: fixed; left: 16px; bottom: 16px; z-index: 60; display: flex; align-items: center; gap: 4px; background: rgba(13,14,16,0.92); color: #fff; padding: 6px; border-radius: 999px; font-size: 12px; box-shadow: 0 8px 24px rgba(0,0,0,0.25); backdrop-filter: blur(6px); }
.opt-switch span { padding: 0 8px 0 10px; opacity: 0.7; letter-spacing: 0.04em; }
.opt-switch a { text-decoration: none; padding: 7px 12px; border-radius: 999px; font-weight: 500; }
.opt-switch a[aria-current="page"] { background: var(--blue); }
.opt-switch a:not([aria-current]):hover { background: rgba(255,255,255,0.12); }

/* Phones */
@media (max-width: 980px) {
  .nav, .head-phone { display: none; }
  .menu-btn { display: block; }
  .head-actions { margin-left: 0; }
  .head-actions .btn { display: none; }
  .nav.open { display: flex; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; background: rgba(10,11,13,0.98); padding: 8px 24px 20px; }
  .nav.open a { padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .wrap { width: calc(100% - 32px); }
  .logo img { width: 150px; }
  .foot-grid { grid-template-columns: 1fr; gap: 28px; }
  .opt-switch { left: 50%; transform: translateX(-50%); bottom: 12px; }
}
