/* ============================================================
   SAMS TRAINING — shared design system (redesign)
   Aesthetic: tactical / disciplined / credible (veteran-owned)
   Type: Oswald (condensed display) + IBM Plex Sans (body)
   Palette: gunmetal / bone / olive — blaze-orange reserved for REGISTER CTAs
   Square corners, credential-forward. WCAG AA calibrated.
   ============================================================ */

:root {
  --gunmetal: #1a1a1a;     /* true charcoal black */
  --gunmetal-2: #242424;
  --steel: #3a3a3a;
  --bone: #f1ece1;
  --bone-2: #e4ddcd;
  --olive: #CC1108;        /* brand red */
  --olive-deep: #A01008;   /* hover / text-on-light */
  --olive-text: #B31008;   /* red text on bone */
  --olive-light: #EE5252;  /* accent on dark — lightened from #E84040 so small text clears WCAG AA 4.5:1 on gunmetal (was 4.34:1) */
  --gov: #1a3a6e;          /* GOV download badge (tokenized from .dl-badge.dl-gov) */
  --blaze: #E83020;        /* bright — decorative accents only */
  --gunmetal-hero: #202020; /* top of the hero ambient shift — kept dark enough that --olive-light holds 4.5:1 */
  --blaze-deep: #CC1108;   /* REGISTER cta fills (white text) */
  --blaze-darker: #A01008; /* cta hover */
  --line: #d6cdb9;
  --text: #1f1f1f;
  --text-mid: #5e5e5e;
  --white: #ffffff;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --maxw: 1180px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-font-smoothing: antialiased; scroll-behavior: smooth; }

body {
  font-family: 'IBM Plex Sans', sans-serif;
  color: var(--text);
  background: var(--bone);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
}

h1, h2, h3, h4 {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  color: var(--gunmetal);
}

button { font-family: inherit; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--olive); outline-offset: 3px; }
img { max-width: 100%; height: auto; display: block; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 2rem; }

.eyebrow { display: block; font-family: 'IBM Plex Sans', sans-serif; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--olive-text); margin-bottom: 1rem; }

/* ───────────  NAV  ─────────── */
.nav {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.85rem 2rem;
  background: var(--gunmetal);
  border-bottom: 3px solid var(--olive);
}
.nav-logo { display: flex; align-items: center; }
.nav-logo img { height: 44px; width: auto; display: block; }
.nav .nav-logo img { width: 44px; height: 40px; object-fit: cover; object-position: top; }
.nav-wordmark { font-family: 'Oswald', sans-serif; font-weight: 600; font-size: 1.05rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--bone); margin-left: 0.7rem; white-space: nowrap; }
.footer-brand .nav-logo img { height: 52px; }
.nav-links { display: flex; align-items: center; gap: 1.9rem; list-style: none; }
.nav-links a { font-family: 'Oswald', sans-serif; font-size: 0.92rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(241,236,225,0.78); transition: color 0.2s var(--ease-out); }
.nav-links a:hover, .nav-links a.active { color: var(--olive-light); }
.nav-links a:focus-visible { outline: 2px solid var(--olive-light); outline-offset: 4px; }
.nav-cta a { background: var(--blaze-deep); color: var(--white); padding: 0.62rem 1.3rem; font-family: 'Oswald', sans-serif; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; transition: background 0.2s var(--ease-out); }
.nav-cta a:hover { background: var(--blaze-darker); }

.hamburger { display: none; flex-direction: column; align-items: center; justify-content: center; gap: 5px; width: 44px; height: 44px; background: none; border: none; cursor: pointer; }
.hamburger span { width: 24px; height: 2px; background: var(--bone); transition: background-color 0.3s var(--ease-out), transform 0.3s var(--ease-out); }

.mobile-menu { display: none; position: fixed; inset: 0; background: var(--gunmetal); z-index: 200; flex-direction: column; justify-content: center; align-items: center; gap: 1.75rem; opacity: 0; pointer-events: none; transition: opacity 0.3s var(--ease-out); }
.mobile-menu.open { opacity: 1; pointer-events: auto; }
.mobile-menu ul { list-style: none; text-align: center; display: flex; flex-direction: column; gap: 1.5rem; }
.mobile-menu a { display: flex; align-items: center; justify-content: center; min-height: 44px; font-family: 'Oswald', sans-serif; font-weight: 600; font-size: 1.7rem; text-transform: uppercase; color: var(--bone); }
.mobile-menu a:hover { color: var(--olive-light); }
.mobile-menu .mobile-cta { margin-top: 0.75rem; }
.mobile-menu .mobile-cta a { background: var(--blaze-deep); color: var(--white); padding: 0.75rem 2rem; }
.mobile-menu .mobile-cta a:hover { background: var(--blaze-darker); color: var(--white); }
.nav-logo:focus-visible, .hamburger:focus-visible, .mobile-menu a:focus-visible, .mobile-close:focus-visible { outline: 2px solid var(--olive-light); outline-offset: 3px; }
.mobile-close { position: absolute; top: 1.25rem; right: 1.5rem; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; background: none; border: none; font-size: 2.2rem; cursor: pointer; color: var(--bone); line-height: 1; }

/* ───────────  BUTTONS  ─────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; font-family: 'Oswald', sans-serif; font-size: 0.95rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; padding: 0.9rem 1.9rem; cursor: pointer; border: 2px solid transparent; transition: background-color 0.2s var(--ease-out), color 0.2s var(--ease-out), border-color 0.2s var(--ease-out), transform 0.2s var(--ease-out); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 2px solid var(--blaze); outline-offset: 3px; }
.btn-register { background: var(--blaze-deep); color: var(--white); }   /* the booking CTA */
.btn-register:hover { background: var(--blaze-darker); }
.btn-olive { background: var(--olive); color: var(--bone); }
.btn-olive:hover { background: var(--olive-deep); }
.btn-outline { border-color: var(--gunmetal); color: var(--gunmetal); background: transparent; }
.btn-outline:hover { background: var(--gunmetal); color: var(--bone); }
.btn-outline-light { border-color: rgba(241,236,225,0.5); color: var(--bone); background: transparent; }
.btn-outline-light:hover { background: var(--bone); color: var(--gunmetal); border-color: var(--bone); }

/* ───────────  HERO  ─────────── */
.hero { background: var(--gunmetal); color: var(--bone); position: relative; overflow: hidden; padding: 5rem 0 5.5rem; }
@keyframes hero-shift { 0%, 100% { background-color: var(--gunmetal); } 50% { background-color: var(--gunmetal-hero); } }
.hero { animation: hero-shift 14s ease-in-out infinite; }
.hero::before { content: ''; position: absolute; inset: 0; background-image: repeating-linear-gradient(135deg, rgba(204,17,8,0.05) 0 2px, transparent 2px 24px); pointer-events: none; }
.hero-leaf { position: absolute; right: -3rem; top: 50%; transform: translateY(-50%); width: 420px; height: 420px; pointer-events: none; z-index: 0; opacity: 0.55; mix-blend-mode: multiply; }
.hero-inner { position: relative; z-index: 1; max-width: var(--maxw); margin: 0 auto; padding: 0 2rem; }
.hero .eyebrow { color: var(--olive-light); }
.hero h1 { font-size: clamp(2.6rem, 6vw, 5rem); color: var(--bone); max-width: 18ch; margin-bottom: 1.25rem; }
.hero h1 span { color: var(--olive-light); }
.hero-sub { font-family: 'IBM Plex Sans', sans-serif; font-size: 1.12rem; color: rgba(241,236,225,0.74); max-width: 54ch; margin-bottom: 2rem; }
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ───────────  CREDENTIAL STRIP  ─────────── */
.creds { background: var(--gunmetal-2); border-top: 1px solid var(--steel); }
.creds-inner { max-width: var(--maxw); margin: 0 auto; padding: 1.6rem 2rem; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.cred { display: flex; flex-direction: column; gap: 0.15rem; }
.cred strong { font-family: 'Oswald', sans-serif; font-weight: 600; font-size: 1.6rem; color: var(--bone); line-height: 1; font-variant-numeric: tabular-nums; }
.cred strong em { color: var(--blaze); font-style: normal; }
.cred span { font-size: 0.78rem; color: rgba(241,236,225,0.6); letter-spacing: 0.04em; }

/* ───────────  SECTIONS  ─────────── */
.section { padding: 4.75rem 0; }
.section-bone { background: var(--bone); }
.section-bone2 { background: var(--bone-2); }
.section-dark { background: var(--gunmetal); color: var(--bone); }

.section-head { max-width: 62ch; margin-bottom: 1rem; }
.section-dark .eyebrow { color: var(--olive-light); }
.section-title { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1rem; }
.section-dark .section-title { color: var(--bone); }
.lead { font-family: 'IBM Plex Sans', sans-serif; font-size: 1.08rem; color: var(--text-mid); max-width: 60ch; }
.section-dark .lead { color: rgba(241,236,225,0.74); }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; }

/* ───────────  PAL PATH (steps)  ─────────── */
.path { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 3rem; border: 1px solid var(--line); }
.path-step { padding: 1.6rem 1.4rem; border-right: 1px solid var(--line); background: var(--white); }
.path-step:last-child { border-right: none; }
.path-step .pnum { font-family: 'Oswald', sans-serif; font-weight: 700; font-size: 0.85rem; letter-spacing: 0.12em; color: var(--olive-text); display: block; margin-bottom: 0.6rem; }
.path-step h3 { font-size: 1.2rem; margin-bottom: 0.4rem; }
.path-step p { font-size: 1rem; color: var(--text-mid); }

/* ───────────  COURSE CARDS  ─────────── */
.course-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 2.5rem; }
.course-card { background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--olive); display: flex; flex-direction: column; }
.course-card.featured { border-top-color: var(--blaze); }
.course-card .cc-body { padding: 1.75rem 1.6rem; flex: 1; }
.course-card .cc-tag { font-family: 'IBM Plex Sans', sans-serif; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--olive-text); display: block; margin-bottom: 0.65rem; }
.course-card.featured .cc-tag { color: var(--blaze-deep); }
.course-card h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }
.course-card .cc-desc { font-size: 1rem; color: var(--text-mid); margin-bottom: 1.1rem; }
.course-card .cc-price { font-family: 'Oswald', sans-serif; font-weight: 600; font-size: 1.9rem; color: var(--gunmetal); line-height: 1; }
.course-card .cc-price small { font-family: 'IBM Plex Sans', sans-serif; font-size: 0.78rem; font-weight: 400; color: var(--text-mid); display: block; margin-top: 0.25rem; }
.course-card .cc-foot { padding: 0 1.6rem 1.6rem; }
.course-card .cc-foot .btn { width: 100%; text-align: center; }

/* ───────────  CHECK LIST  ─────────── */
.check-list { list-style: none; display: flex; flex-direction: column; gap: 0.8rem; margin-top: 1.5rem; }
.check-list li { position: relative; padding-left: 2rem; font-size: 1rem; color: var(--text-mid); line-height: 1.55; }
.check-list li::before { content: ''; position: absolute; left: 0; top: 0.3rem; width: 1.05rem; height: 1.05rem; background: var(--olive); }
.check-list li::after { content: ''; position: absolute; left: 0.32rem; top: 0.5rem; width: 0.3rem; height: 0.55rem; border: solid var(--bone); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.section-dark .check-list li { color: rgba(241,236,225,0.8); }
.section-dark .check-list li::before { background: var(--olive-light); }
.section-dark .check-list li::after { border-color: var(--gunmetal); }

/* ───────────  REVIEW QUOTE  ─────────── */
.quote-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 2.5rem; }
.quote { background: var(--gunmetal-2); border-left: 3px solid var(--blaze); padding: 1.6rem; }
.quote p { font-size: 1rem; color: rgba(241,236,225,0.86); line-height: 1.6; margin-bottom: 0.9rem; }
.quote .stars { color: var(--olive-light); letter-spacing: 0.1em; font-size: 1.2rem; font-weight: 700; line-height: 1; margin-bottom: 0.7rem; }
.quote .who { font-family: 'Oswald', sans-serif; font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(241,236,225,0.55); margin-top: 0.2rem; }

/* ───────────  SCHEDULE / INFO PANEL  ─────────── */
.panel { background: var(--gunmetal); color: var(--bone); padding: 2.25rem; border-top: 4px solid var(--blaze); }
.panel h3 { font-family: 'IBM Plex Sans', sans-serif; font-size: 0.76rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--olive-light); margin-bottom: 1.1rem; font-weight: 600; }
.panel-row { display: flex; flex-direction: column; gap: 0.1rem; padding: 0.6rem 0; border-bottom: 1px solid rgba(241,236,225,0.12); }
.panel-row:last-child { border-bottom: none; }
.panel-row .lbl { font-size: 0.76rem; color: var(--olive-light); letter-spacing: 0.04em; }
.panel-row .val { font-size: 1rem; color: var(--bone); }

/* ───────────  FORM  ─────────── */
.form-grid { display: grid; gap: 1.2rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field label { font-family: 'Oswald', sans-serif; font-size: 0.82rem; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; color: var(--gunmetal); }
.field input, .field select, .field textarea { font-family: 'IBM Plex Sans', sans-serif; font-size: 1rem; padding: 0.85rem 1rem; border: 1px solid var(--line); background: var(--white); color: var(--text); border-radius: 0; transition: border-color 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--olive); box-shadow: 0 0 0 3px rgba(204,17,8,0.15); }
.field textarea { resize: vertical; min-height: 120px; }

/* ───────────  CTA BAND  ─────────── */
.cta { background: var(--blaze-deep); color: var(--white); padding: 4rem 0; }
.cta-inner { max-width: var(--maxw); margin: 0 auto; padding: 0 2rem; display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; }
.cta h2 { color: var(--white); font-size: clamp(1.9rem,4vw,2.9rem); max-width: 20ch; }
.cta p { font-family: 'IBM Plex Sans', sans-serif; color: rgba(255,255,255,0.95); margin-top: 0.5rem; }
.cta-btns { display: flex; gap: 1rem; flex-wrap: wrap; }
.cta .btn-light { background: var(--gunmetal); color: var(--bone); }
.cta .btn-light:hover { background: var(--gunmetal-2); }

/* ───────────  FOOTER  ─────────── */
.footer { background: var(--gunmetal); color: rgba(241,236,225,0.6); padding: 3.5rem 0 2rem; }
.footer-inner { max-width: var(--maxw); margin: 0 auto; padding: 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem; margin-bottom: 2.5rem; }
.footer-brand .nav-logo { color: var(--bone); }
.footer-brand p { font-family: 'IBM Plex Sans', sans-serif; margin-top: 1rem; max-width: 40ch; font-size: 1rem; }
.footer-col h4 { font-family: 'Oswald', sans-serif; font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--olive-light); margin-bottom: 1rem; font-weight: 600; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.55rem; }
.footer-col li { display: flex; align-items: center; min-height: 28px; }
.footer-col a { font-size: 1rem; display: inline-flex; align-items: center; min-height: 28px; transition: color 0.2s var(--ease-out); }
.footer-col a:hover { color: var(--bone); }
.footer-col a:focus-visible { outline: 2px solid var(--olive-light); outline-offset: 3px; }
.footer-bottom { border-top: 1px solid rgba(241,236,225,0.12); padding-top: 1.5rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: 0.82rem; }

/* ───────────  VIDEO GRID  ─────────── */
.video-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 2.5rem; }
.video-card { display: block; position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; background: var(--gunmetal-2); text-decoration: none; }
.video-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity 200ms ease-out; }
.video-card:hover img { opacity: 0.75; }
.video-card-play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; pointer-events: none; }
.video-card-play svg { width: 64px; height: 64px; filter: drop-shadow(0 2px 8px rgba(0,0,0,0.5)); transition: transform 200ms cubic-bezier(0.23,1,0.32,1); }
.video-card:hover .video-card-play svg { transform: scale(1.12); }
.video-label { font-family: 'Oswald', sans-serif; font-size: 0.82rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.06em; color: rgba(241,236,225,0.6); margin-top: 0.6rem; line-height: 1.4; }
@media (max-width: 640px) { .video-grid { grid-template-columns: 1fr; } }

/* ───────────  BOOKING FRAME  ─────────── */
.booking-frame-wrap { margin-top: 2rem; border: 1px solid var(--line); background: var(--white); overflow: hidden; }
.booking-frame-wrap iframe { display: block; width: 100%; border: none; }
.booking-fallback { margin-top: 0.75rem; font-size: 1rem; color: var(--steel); }
.booking-fallback a { color: var(--olive-text); }
.booking-mobile-cta { display: none; }
@media (max-width: 768px) {
  .booking-frame-wrap { display: none; }
  .booking-fallback { display: none; }
  .booking-mobile-cta { display: block; margin-top: 2rem; text-align: center; width: 100%; box-sizing: border-box; padding: 1.25rem 2rem; font-size: 1.1rem; }
}

/* ───────────  POLICY ROW  ─────────── */
.policy-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 2rem; }
.policy-item { background: var(--white); border-top: 3px solid var(--olive); padding: 1.1rem 1.25rem 1.25rem; }
.policy-item h4 { font-family: 'Oswald', sans-serif; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gunmetal); margin-bottom: 0.4rem; }
.policy-item p { font-size: 1rem; color: var(--steel); line-height: 1.55; margin: 0; }
@media (max-width: 900px) { .policy-row { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .policy-row { grid-template-columns: 1fr; } }

/* ───────────  DOWNLOAD CARDS  ─────────── */
.download-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.25rem; margin-top: 2.5rem; }
.download-card { background: var(--bone); border: 1px solid var(--bone-2); display: flex; flex-direction: column; gap: 0.6rem; overflow: hidden; }
.download-card-head { background: var(--bone-2); padding: 1.1rem 1.25rem 0.9rem; display: flex; align-items: center; gap: 0.75rem; }
.dl-badge { font-family: 'Oswald', sans-serif; font-size: 0.65rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; background: var(--gunmetal); color: var(--bone); padding: 0.2rem 0.5rem; flex-shrink: 0; }
.dl-badge.dl-pdf { background: var(--olive); }
.dl-badge.dl-gov { background: var(--gov); }
.dl-badge.dl-ext { background: var(--steel); }
.download-card-body { padding: 0 1.25rem 1.25rem; display: flex; flex-direction: column; gap: 0.5rem; flex: 1; }
.dl-title { font-family: 'Oswald', sans-serif; font-size: 1rem; font-weight: 600; letter-spacing: 0.02em; color: var(--gunmetal); line-height: 1.3; }
.dl-desc { font-size: 1rem; color: var(--steel); line-height: 1.55; flex: 1; }
.download-card .btn { align-self: flex-start; font-size: 0.8rem; padding: 0.45rem 1rem; margin-top: 0.25rem; }

/* ───────────  FAQ CATEGORY HEADER  ─────────── */
.faq-category { font-family: 'Oswald', sans-serif; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--olive-text); padding: 1rem 1.5rem 0.6rem; background: var(--bone-2); border-bottom: 1px solid var(--line); }

/* ───────────  SITE PHOTOS  ─────────── */
.site-photo { width: 100%; display: block; object-fit: cover; }
.site-photo-landscape { height: 220px; }

/* ───────────  FAQ ACCORDION  ─────────── */
.faq-list { margin-top: 2.5rem; border: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); background: var(--white); }
.faq-item:last-child { border-bottom: none; }
.faq-btn { width: 100%; background: none; border: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; padding: 1.2rem 1.5rem; text-align: left; gap: 1rem; transition: background 0.15s var(--ease-out); }
.faq-btn:hover { background: rgba(204,17,8,0.04); }
.faq-btn:focus-visible { outline: 2px solid var(--olive); outline-offset: -2px; }
.faq-q { font-family: 'Oswald', sans-serif; font-size: 1rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.04em; color: var(--gunmetal); }
.faq-item.open .faq-q { color: var(--olive-text); }
.faq-icon { flex-shrink: 0; width: 20px; height: 20px; position: relative; }
.faq-icon::before, .faq-icon::after { content: ''; position: absolute; background: var(--olive); transition: transform 0.25s var(--ease-out), opacity 0.25s var(--ease-out); border-radius: 1px; }
.faq-icon::before { width: 12px; height: 2px; top: 9px; left: 4px; }
.faq-icon::after { width: 2px; height: 12px; top: 4px; left: 9px; }
.faq-item.open .faq-icon::after { transform: scaleY(0); opacity: 0; }
.faq-body { overflow: hidden; max-height: 0; transition: max-height 0.35s var(--ease-out); }
.faq-item.open .faq-body { max-height: 600px; }
.faq-answer { padding: 1rem 1.5rem 1.25rem; font-size: 1rem; color: var(--text-mid); line-height: 1.72; border-top: 1px solid var(--line); }

/* ───────────  SCROLL REVEAL  ─────────── */
[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 0.55s var(--ease-out), transform 0.55s var(--ease-out); }
[data-reveal].in { opacity: 1; transform: none; }
[data-delay="1"] { transition-delay: 0.07s; }
[data-delay="2"] { transition-delay: 0.14s; }
[data-delay="3"] { transition-delay: 0.21s; }

/* .reveal system */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.65s ease-out, transform 0.65s ease-out; }
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }

/* Nav CTA — always visible */
.nav-cta { opacity: 1; transform: none; pointer-events: auto; }

/* Card hover: pointer devices only */
@media (hover: hover) and (pointer: fine) {
  .course-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(26,26,26,0.18); transition: transform 0.3s var(--ease-spring), box-shadow 0.3s var(--ease-spring); }
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal], .reveal { opacity: 1; transform: none; transition: none; }
  .hero { animation: none; }
  .nav-cta { opacity: 1; transform: none; pointer-events: auto; }
  html { scroll-behavior: auto; }
}

/* ───────────  RESPONSIVE  ─────────── */
@media (max-width: 880px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .mobile-menu { display: flex; }
  .two-col { grid-template-columns: 1fr; gap: 2.5rem; }
  .course-grid { grid-template-columns: 1fr; }
  .quote-grid { grid-template-columns: 1fr; }
  .creds-inner { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .path { grid-template-columns: 1fr 1fr; }
  .path-step:nth-child(2) { border-right: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-col ul { gap: 0; }
  .footer-col li { min-height: 44px; }
  .footer-col a { display: flex; align-items: center; width: 100%; min-height: 44px; }
  .footer-bottom a { display: inline-flex; align-items: center; min-height: 44px; }
  .form-row { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 520px) { .path { grid-template-columns: 1fr; } .path-step { border-right: none; border-bottom: 1px solid var(--line); } }
@media (max-width: 880px) { .hero-leaf { width: 200px; height: 200px; right: -1rem; opacity: 0.45; } }
