@import url('./academy-brand-fonts.css');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

/* Racecraft Brand Book: Termina Demi / Inter; black, white, Jet and Keppel.
   This is the final shared presentation layer for every Academy page. */
:root {
  --bg: #000000;
  --panel: #111214;
  --paper: #111214;
  --jet: #212225;
  --ink: #ffffff;
  --muted: #b8babc;
  --mint: #00c5ab;
  --lime: #00c5ab;
  --line: rgba(255,255,255,.14);
  --head: 'Termina','Inter',Arial,sans-serif;
  --body: 'Inter',Arial,sans-serif;
  --mono: 'Inter',Arial,sans-serif;
  --gutter: clamp(22px,5vw,88px);
}
body { font-family: var(--body); -webkit-font-smoothing: antialiased; }
body h1, body h2, body h3 {
  font-family: var(--head)!important;
  font-weight: 600!important;
  line-height: 1.2;
  letter-spacing: -.035em;
  text-transform: none!important;
  text-wrap: balance;
  overflow-wrap: break-word;
}
body h1 { font-size: clamp(36px,4.6vw,68px); }
body h2 { font-size: clamp(28px,3vw,44px); }
body h3 { font-size: clamp(20px,1.8vw,26px); }
body h1 em, body h2 em, body h3 em { color: inherit; }
body .eyebrow, body .mono, body .journal-kicker, body .header-links,
body .button, body .text-link { font-family: var(--body); }
body .eyebrow, body .journal-kicker, body .sim-label,
body .ambassador-label, body .intro-invite-label {
  font-family: var(--body); font-size: 11px; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase; color: var(--mint);
}
body .eyebrow { display: flex; align-items: center; gap: 12px; }
body .eyebrow::before { content: ''; flex: 0 0 24px; height: 1px; background: currentColor; }
body .site-header { background: rgba(0,0,0,.96); border-bottom-color: var(--line); }
body .logo span { color: var(--muted); letter-spacing: .22em; }
body .header-links { margin-left: auto; gap: 30px; font-size: 11px; letter-spacing: .08em; }
body .site-header .academy-menu-toggle { border-color: transparent; margin-left: 12px; }
body .academy-menu-toggle:hover { color: var(--mint); border-color: var(--line); }
body .academy-menu { background: var(--panel); }
body .academy-menu-close { font-family: var(--body); }
body .academy-menu nav a { font-family: var(--body)!important; letter-spacing: -.02em; }
body .button { font-size: 12px; font-weight: 600; letter-spacing: .04em; border-radius: 0; }
body .button.ghost { border-color: rgba(255,255,255,.35); }
body .text-link { letter-spacing: .04em; }
body .section, body.academy-editorial .section { padding-block: clamp(56px,7vw,104px); }
body .section-head { margin-bottom: 40px; }
body .light { --mint: #00c5ab; background: var(--panel); }
body .compact-services { border-left: 0; gap: 0 32px; }
body .compact-services article { background: transparent; border-right: 0; padding: 32px 0; }
body .journey { border-left: 0; border-right: 0; }
body .journey article { padding-block: 36px; }
body .travel-items span, body .telemetry-tags span { border-color: var(--line); }
body .management-stages span { font-family: var(--body); }
body .quote { border-left-width: 1px; }
body .quote blockquote { font-family: var(--body); font-size: clamp(24px,2.6vw,36px); line-height: 1.4; text-transform: none; }

/* Spacious opening; the photography carries the colour. */
body .entry-intro { grid-template-columns: minmax(0,1.7fr) minmax(0,1fr); gap: 56px; padding-block: 76px 56px; }
body .entry-intro h1 { font-size: clamp(38px,4.5vw,68px); line-height: 1.16; }
body .entry-intro .eyebrow { margin-bottom: 28px; }
body .entry-side { padding-bottom: 3px; }
body .entry-side p { font-size: 15px; line-height: 1.8; }
body .entry-side .mono { color: var(--muted); font-size: 10px; letter-spacing: .09em; }
body .route-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; padding-bottom: 72px; }
body .route-card { min-height: 490px; padding: 26px; border: 0; background: var(--panel); }
body .route-card>img { filter: saturate(.65); transition: transform .6s ease,filter .4s ease; }
body .route-card:after { background: linear-gradient(180deg,rgba(0,0,0,.38),rgba(0,0,0,.05) 26%,rgba(0,0,0,.85) 60%,#000 100%); }
body .route-card:hover>img, body .route-card:focus-visible>img { transform: scale(1.025); filter: saturate(.9); }
body .route-index { gap: 12px; }
body .route-index b { font: 500 12px/1.5 var(--body); color: #fff; }
body .route-index span { font-size: 10px; letter-spacing: .1em; border: 0; padding: 5px 0; background: transparent; }
body .route-card h2 { font-size: clamp(22px,2.15vw,32px); line-height: 1.25; margin-bottom: 18px; }
body .route-card p { min-height: 76px; font-size: 14px; line-height: 1.7; color: #d4d5d6; }
body .route-cta { font-size: 11px; text-transform: none; letter-spacing: .02em; border-color: rgba(255,255,255,.3); margin-top: 26px; padding-top: 20px; min-height: 44px; align-items: center; }
body .route-cta b { font-size: 19px; }
body .academy-about { padding-block: 80px; border-color: var(--line); }
body .academy-about p:first-child { font-size: 20px; line-height: 1.7; }
body .academy-simulator-feature { padding-block: 72px; border-color: var(--line); }
body .journal-teaser { min-height: 460px; margin-block: 0 72px; border: 0; }
body .journal-teaser h2 { font-size: clamp(28px,3.2vw,46px); line-height: 1.25; margin-block: 20px; }
body .academy-ambassador { padding-block: 48px; margin-block: 0; border-color: var(--line); }
body .academy-ambassador blockquote { font-family: var(--body); font-weight: 400; font-size: clamp(24px,2.7vw,36px); line-height: 1.4; }
body .intro-invite { padding-block: 80px; }
body .intro-invite h2 { font-size: clamp(26px,2.8vw,40px); }
body .entry-footer { padding-block: 24px; border-top: 1px solid var(--line); font-size: 10px; letter-spacing: .1em; }
body .academy-legal-links { border-color: var(--line); }
body .booking-panel h2 { font-size: clamp(28px,3vw,42px); }
body .journal-intro h1 { font-size: clamp(36px,4.5vw,64px); }

@media (max-width:1000px) {
  body .entry-intro { grid-template-columns: 1fr; gap: 24px; padding-block: 56px 40px; }
  body .entry-side { max-width: 620px; justify-self: start; }
  body .entry-side .mono { display: none; }
  body .route-grid { gap: 12px; }
  body .route-card { padding: 20px; }
  body .route-card p { min-height: 120px; }
  body .intro-invite { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width:700px) {
  body h1 { font-size: clamp(30px,7vw,40px); }
  body h2 { font-size: 28px; }
  body h3 { font-size: 21px; }
  body .section-head { margin-bottom: 28px; }
  body .academy-menu-toggle { margin-left: auto; }
  body[data-audience="hub"] { --gutter: 22px; }
  body[data-audience="hub"] .site-header { height: 74px; }
  body[data-audience="hub"] .entry-intro { padding-block: 36px 30px; }
  body[data-audience="hub"] .entry-intro .eyebrow { display: flex; font-size: 9px; letter-spacing: .1em; margin-bottom: 20px; }
  body[data-audience="hub"] .entry-intro h1 { font-size: clamp(28px,6.7vw,42px); line-height: 1.22; text-wrap: balance; }
  body[data-audience="hub"] .hub-mobile-intro { margin-top: 18px; font-size: 13px; }
  body[data-audience="hub"] .route-grid { grid-template-columns: 1fr; gap: 16px; padding-bottom: 44px; }
  body[data-audience="hub"] .route-card { min-height: 260px; padding: 24px; justify-content: space-between; gap: 36px; }
  body[data-audience="hub"] .route-card:after { background: linear-gradient(90deg,#000b,#0002),linear-gradient(0deg,#000f,#0002 85%); }
  body[data-audience="hub"] .route-card>img { object-position: center 36%; }
  body[data-audience="hub"] .route-index { gap: 12px; }
  body[data-audience="hub"] .route-index b { font-size: 11px; color: var(--mint); }
  body[data-audience="hub"] .route-index span { font-size: 10px; }
  body[data-audience="hub"] .route-card h2 { font-size: clamp(22px,5.3vw,29px); padding: 0; line-height: 1.25; max-width: 17ch; }
  body[data-audience="hub"] .route-card h2 br { display: none; }
  body[data-audience="hub"] .route-cta { position: static; transform: none; font-size: 12px; border-top: 1px solid #ffffff4d; padding-top: 14px; margin-top: 20px; }
  body[data-audience="hub"] .route-cta b { font-size: 18px; }
  body .academy-about, body .academy-simulator-feature, body .intro-invite { padding-block: 48px; }
  body .academy-about p:first-child { font-size: 18px; }
  body .journal-teaser { min-height: 380px; margin-bottom: 44px; padding-inline: var(--gutter); }
  body .academy-ambassador { padding-block: 32px; }
  body .academy-ambassador blockquote { font-size: 22px; line-height: 1.4; }
  body .entry-footer { gap: 10px; font-size: 9px; }
}
@media (prefers-reduced-motion:reduce) {
  body .route-card>img { transition: none; }
  body .route-card:hover>img, body .route-card:focus-visible>img { transform: none; }
}

/* Brand typography also applies to utility surfaces and legal copy. */
body .academy-legal-links, body .academy-storage-dialog,
body .academy-storage-dialog p, body .academy-storage-dialog button,
body .academy-storage-dialog .storage-links a { font-family: var(--body); }
body .academy-storage-dialog { border-radius: 0; background: var(--panel); }
body .academy-storage-dialog .storage-actions button { border-radius: 0; font-family: var(--body); }
body .academy-storage-dialog a, body .legal-content a { color: var(--mint); }
body .academy-storage-dialog :is(a,button):focus-visible { outline-color: var(--mint); }
body.legal-page { font-family: var(--body); }
body .call-layout { grid-template-columns: repeat(2,minmax(0,1fr)); padding-top: 72px; }
body .call-layout>* { min-width: 0; }
body .call-intro h1, body .call-success h1 { font-size: clamp(32px,4.2vw,60px); line-height: 1.2; }
body .call-agenda h3 { font-size: 20px; }
body .call-agenda li>div, body .booking-panel fieldset { min-width: 0; }
body .call-success { padding-top: 80px; }
@media (max-width:900px) {
  body .call-layout { grid-template-columns: minmax(0,1fr); padding-top: 48px; }
}
@media (max-width:700px) {
  body .call-intro h1, body .call-success h1 { font-size: clamp(28px,7vw,40px); }
  body .booking-panel h2 { font-size: 26px; }
  body .booking-panel { padding: 24px 18px; }
}
body #introTitle { font-size: clamp(44px,7vw,100px); line-height: 1.08; letter-spacing: -.04em; }
body .site-header>.text-link { margin-left: auto; white-space: nowrap; }
@media (max-width:700px) {
  body #introTitle { font-size: clamp(36px,9.6vw,64px); }
  body .site-header>.text-link { display: none; }
}

/* The introductory call is the primary conversion action. */
body .intro-invite-action .academy-call-cta { width: 100%; gap: 24px; }
body .academy-call-cta .academy-arrow { color: currentColor; }
@media (max-width:700px) {
  body .audience-nav { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); }
  body .audience-nav a { display: flex; align-items: center; justify-content: center; min-width: 0; padding-inline: 8px; }
}
body .intro-invite-action { width: 100%; max-width: 320px; }
