/* ==========================================================
   AceTech — Blueprint/Schematic Design System  v1.0
   /css/style.css
   Load this on every redesigned page. Do NOT load old
   main.css / bootstrap.min.css on these pages — they clash.
   ========================================================== */

/* ── Google Fonts loaded via <link> in header.php ────────── */

:root {
  --navy:       #1B2F5E;
  --brand-blue: #273F7B;
  --orange:     #FD7A08;
  --paper:      #F4F6FA;
  --paper-line: #D8DEEC;
  --graphite:   #43506B;
  --white:      #FFFFFF;
  --mono: 'IBM Plex Mono', monospace;
  --sans: 'IBM Plex Sans', sans-serif;
  --transition: .18s ease;
}

/* ── Reset ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--navy);
  line-height: 1.6;
  /* Blueprint grid background */
  background-image:
    linear-gradient(var(--paper-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--paper-line) 1px, transparent 1px);
  background-size: 40px 40px;
}
a  { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
ul  { list-style: none; }

/* ── Layout helpers ─────────────────────────────────────── */
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 32px; }

/* ── Crop-mark corners ──────────────────────────────────── */
.crop { position: relative; }
.crop::before, .crop::after {
  content: ""; position: absolute; width: 14px; height: 14px; pointer-events: none;
}
.crop::before { top: 0;    left:  0;  border-top:   2px solid var(--brand-blue); border-left:  2px solid var(--brand-blue); }
.crop::after  { bottom: 0; right: 0;  border-bottom:2px solid var(--brand-blue); border-right: 2px solid var(--brand-blue); }

/* ── Eyebrow label ──────────────────────────────────────── */
.eyebrow {
  font-family: var(--mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--orange); font-weight: 600; display: flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: var(--orange); }

/* ── Headings ───────────────────────────────────────────── */
h1, h2, h3, h4 { font-family: var(--mono); font-weight: 700; color: var(--navy); letter-spacing: -0.01em; }

/* ── Section generic ────────────────────────────────────── */
section { padding: 70px 0; }
.section-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 40px; gap: 20px; flex-wrap: wrap;
}
.section-head h2 { font-size: clamp(24px, 3vw, 32px); }
.section-head p  { font-family: var(--sans); color: var(--graphite); max-width: 40ch; font-size: 15px; }

/* ══════════════════════════════════════════════════════════
   NAVIGATION
   ══════════════════════════════════════════════════════════ */
header.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(244, 246, 250, .94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--paper-line);
}
header.site-header nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 32px; max-width: 1180px; margin: 0 auto;
}
.logo-mark { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-mark img { height: 38px; width: auto; }
.logo-mark .logo-text {
  font-family: var(--mono); font-weight: 700; font-size: 16px; color: var(--navy);
  letter-spacing: .02em;
}

/* Desktop nav links */
.navlinks {
  display: flex; gap: 28px;
  font-family: var(--mono); font-size: 12.5px; text-transform: uppercase; letter-spacing: .06em;
}
.navlinks a { color: var(--graphite); transition: color var(--transition); position: relative; padding-bottom: 2px; }
.navlinks a::after {
  content: ""; position: absolute; bottom: -2px; left: 0; width: 0; height: 1.5px;
  background: var(--orange); transition: width var(--transition);
}
.navlinks a:hover, .navlinks a.active { color: var(--orange); }
.navlinks a:hover::after, .navlinks a.active::after { width: 100%; }

/* CTA button */
.btn {
  font-family: var(--mono); font-size: 12.5px; font-weight: 600; letter-spacing: .04em;
  padding: 10px 20px; border-radius: 3px; display: inline-flex; align-items: center; gap: 8px;
  transition: transform var(--transition), box-shadow var(--transition); border: none; cursor: pointer;
  text-decoration: none;
}
.btn-primary { background: var(--orange); color: var(--white); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 0 0 rgba(27,47,94,.18); color: var(--white); }
.btn-ghost { border: 1.5px solid var(--brand-blue); color: var(--brand-blue); background: transparent; }
.btn-ghost:hover { background: var(--brand-blue); color: var(--white); }

/* Mobile hamburger */
.nav-toggle {
  display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px;
}
.nav-toggle span { width: 22px; height: 2px; background: var(--navy); border-radius: 2px; transition: var(--transition); }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav overlay */
.mobile-menu {
  display: none; position: fixed; inset: 0; background: var(--navy); z-index: 200;
  flex-direction: column; align-items: center; justify-content: center; gap: 32px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: var(--mono); font-size: 20px; text-transform: uppercase; letter-spacing: .12em;
  color: var(--paper-line); transition: color var(--transition);
}
.mobile-menu a:hover, .mobile-menu a.active { color: var(--orange); }
.mobile-menu .close-btn {
  position: absolute; top: 24px; right: 32px; background: none; border: none;
  font-family: var(--mono); color: var(--paper-line); font-size: 28px; cursor: pointer;
}

/* ══════════════════════════════════════════════════════════
   HERO (homepage)
   ══════════════════════════════════════════════════════════ */
.hero { padding: 88px 0 60px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: center; }
.hero h1 { font-size: clamp(32px, 4.2vw, 52px); line-height: 1.08; margin: 18px 0 22px; }
.hero h1 span { color: var(--orange); }
.hero p.lede { font-family: var(--sans); font-size: 17px; color: var(--graphite); max-width: 46ch; margin-bottom: 30px; }
.hero-ctas { display: flex; gap: 14px; margin-bottom: 34px; flex-wrap: wrap; }
.hero-meta { display: flex; gap: 28px; font-family: var(--mono); font-size: 12px; color: var(--graphite); flex-wrap: wrap; }
.hero-meta b { display: block; color: var(--navy); font-size: 20px; }

/* Hero visual — blueprint panel */
.hero-visual {
  background: var(--white); border: 1.5px solid var(--brand-blue); border-radius: 6px;
  padding: 28px; position: relative; min-height: 340px; display: flex; flex-direction: column; gap: 14px;
}
.hero-visual::before {
  content: "SYS-ACETECH"; position: absolute; top: 10px; right: 14px;
  font-family: var(--mono); font-size: 10px; color: var(--paper-line); letter-spacing: .1em;
}
.hero-pin-row {
  display: flex; gap: 6px; position: absolute; top: -5px; left: 30px; right: 30px; justify-content: space-between;
}
.hero-pin-row span { width: 2px; height: 8px; background: var(--orange); }
.hero-track {
  width: 100%; height: 2px; background: var(--paper-line); position: relative; margin: 8px 0;
}
.hero-track::after {
  content: ""; position: absolute; left: 0; top: 0; height: 100%; width: 40%;
  background: var(--orange); animation: trace 3s ease-in-out infinite alternate;
}
@keyframes trace { to { width: 92%; } }

.hero-stat-chip {
  display: flex; align-items: center; gap: 12px; padding: 12px 16px;
  border: 1px solid var(--paper-line); border-radius: 4px; background: var(--paper);
}
.hero-stat-chip .num { font-family: var(--mono); font-size: 22px; font-weight: 700; color: var(--brand-blue); }
.hero-stat-chip .lbl { font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: .08em; color: var(--graphite); }

/* ══════════════════════════════════════════════════════════
   PAGE HERO (inner pages)
   ══════════════════════════════════════════════════════════ */
.page-hero { padding: 60px 0 40px; border-bottom: 1px dashed var(--paper-line); }
.page-hero h1 { font-size: clamp(28px, 3.6vw, 42px); margin: 14px 0 10px; }
.page-hero p { color: var(--graphite); max-width: 60ch; font-size: 15.5px; }
.breadcrumb { font-family: var(--mono); font-size: 11px; color: var(--graphite); margin-bottom: 10px; text-transform: uppercase; letter-spacing: .06em; }
.breadcrumb a { color: var(--brand-blue); }
.breadcrumb a:hover { color: var(--orange); }

/* ══════════════════════════════════════════════════════════
   ABOUT SECTION
   ══════════════════════════════════════════════════════════ */
.about { background: var(--white); border-top: 1px dashed var(--paper-line); border-bottom: 1px dashed var(--paper-line); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.about p { color: var(--graphite); margin-bottom: 16px; font-size: 15.5px; }

/* Simple image slideshow (no jQuery dependency) */
.about-slides { position: relative; overflow: hidden; border-radius: 6px; border: 1px solid var(--paper-line); }
.about-slides img { width: 100%; height: 340px; object-fit: cover; display: none; }
.about-slides img.active { display: block; animation: fadein .6s ease; }
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }
.slide-dots { display: flex; gap: 6px; margin-top: 10px; justify-content: center; }
.slide-dots button {
  width: 8px; height: 8px; border-radius: 50%; background: var(--paper-line); border: none; cursor: pointer; transition: background var(--transition);
}
.slide-dots button.active { background: var(--orange); width: 24px; border-radius: 4px; }

.stat-rail {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  border: 1px solid var(--paper-line); border-radius: 4px; overflow: hidden; margin-top: 26px;
}
.stat { padding: 20px 16px; border-right: 1px solid var(--paper-line); text-align: left; }
.stat:last-child { border-right: none; }
.stat b { font-family: var(--mono); font-size: 26px; color: var(--brand-blue); display: block; }
.stat span { font-family: var(--mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--graphite); }

.founder-card { border: 1px solid var(--paper-line); border-radius: 6px; padding: 20px; background: var(--paper); display: flex; gap: 16px; align-items: center; margin-top: 24px; }
.founder-card img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; border: 2px solid var(--brand-blue); flex-shrink: 0; }
.founder-card h4 { font-size: 15px; margin-bottom: 2px; }
.founder-card .role { font-family: var(--mono); font-size: 10.5px; color: var(--orange); text-transform: uppercase; letter-spacing: .06em; }

/* Feature list */
.feature-list { margin: 20px 0; display: flex; flex-direction: column; gap: 10px; }
.feature-list li { display: flex; align-items: center; gap: 10px; font-size: 14.5px; color: var(--graphite); }
.feature-list li::before {
  content: "✓"; font-family: var(--mono); font-size: 12px; font-weight: 700;
  color: var(--white); background: var(--orange); width: 20px; height: 20px;
  border-radius: 2px; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}

/* ══════════════════════════════════════════════════════════
   COURSE CHIP CARDS (homepage teaser + full listing)
   ══════════════════════════════════════════════════════════ */
.chip-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }

.chip {
  position: relative; background: var(--white); border: 1.5px solid var(--navy); border-radius: 6px;
  padding: 28px 22px 22px; transition: transform var(--transition), box-shadow var(--transition);
  display: flex; flex-direction: column;
}
.chip:hover { transform: translateY(-4px); box-shadow: 0 10px 0 0 rgba(39, 63, 123, .12); }

/* IC pin rows */
.chip-pins { position: absolute; left: 14px; right: 14px; height: 8px; display: flex; justify-content: space-between; }
.chip-pins.top    { top:    -5px; }
.chip-pins.bottom { bottom: -5px; }
.chip-pins span { width: 2px; height: 8px; background: var(--orange); }

.chip-id { font-family: var(--mono); font-size: 11px; color: var(--orange); font-weight: 700; letter-spacing: .06em; }
.chip h3  { font-size: 18px; margin: 10px 0 8px; }
.chip p   { font-size: 14px; color: var(--graphite); margin-bottom: 14px; flex: 1; }

.chip-thumb {
  width: 100%; height: 140px; object-fit: cover; border-radius: 4px;
  margin-bottom: 16px; border: 1px solid var(--paper-line);
}
.chip-thumb-placeholder {
  width: 100%; height: 140px; border-radius: 4px; margin-bottom: 16px;
  background: linear-gradient(135deg, var(--paper), var(--paper-line));
  border: 1px dashed var(--brand-blue); display: flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-size: 11px; color: var(--brand-blue); letter-spacing: .08em;
}

.chip-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.chip-tags span {
  font-family: var(--mono); font-size: 10px; background: var(--paper);
  border: 1px solid var(--paper-line); padding: 4px 8px; border-radius: 3px; color: var(--brand-blue);
}

.chip-meta { display: flex; gap: 14px; font-family: var(--mono); font-size: 10.5px; color: var(--graphite); margin-bottom: 14px; }
.chip-meta span { display: flex; gap: 4px; align-items: center; }
.chip-meta .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--orange); }

.chip-link {
  display: inline-flex; align-items: center; gap: 6px; margin-top: auto;
  font-family: var(--mono); font-size: 11.5px; color: var(--brand-blue); font-weight: 600;
}
.chip-link:hover { color: var(--orange); }

/* ══════════════════════════════════════════════════════════
   COURSE DETAIL PAGE
   ══════════════════════════════════════════════════════════ */
.course-detail-layout { display: grid; grid-template-columns: 1fr 320px; gap: 50px; align-items: start; }
.course-detail-img { border-radius: 6px; border: 1px solid var(--paper-line); width: 100%; object-fit: cover; margin-bottom: 28px; }

.syllabus-list { list-style: none; margin-top: 20px; }
.syllabus-list li {
  font-family: var(--sans); font-size: 14.5px; color: var(--navy);
  padding: 14px 0 14px 36px; border-bottom: 1px solid var(--paper-line); position: relative;
}
.syllabus-list li::before {
  content: attr(data-index); position: absolute; left: 0; top: 14px;
  font-family: var(--mono); font-size: 11px; color: var(--orange); font-weight: 700;
}
.syllabus-list li:last-child { border-bottom: none; }

.learnings-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 20px; }
.learning-item {
  display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--graphite);
  padding: 10px 12px; background: var(--paper); border: 1px solid var(--paper-line); border-radius: 4px;
}
.learning-item::before {
  content: "→"; font-family: var(--mono); color: var(--orange); font-weight: 700; flex-shrink: 0;
}

.sidebar-card {
  border: 1px solid var(--paper-line); border-radius: 6px; padding: 24px;
  background: var(--white); position: sticky; top: 90px;
}
.sidebar-card dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 14px; font-size: 13.5px; margin: 16px 0 20px; }
.sidebar-card dt { font-family: var(--mono); color: var(--graphite); text-transform: uppercase; font-size: 10.5px; letter-spacing: .05em; }
.sidebar-card dd { color: var(--navy); font-weight: 600; }

/* Instructor card */
.instructor-card { border: 1px solid var(--paper-line); border-radius: 6px; padding: 20px; margin-top: 30px; }
.instructor-card img { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; border: 2px solid var(--brand-blue); margin-bottom: 14px; }
.instructor-card h4 { font-size: 15px; margin-bottom: 4px; }
.instructor-card .role { font-family: var(--mono); font-size: 10.5px; color: var(--orange); text-transform: uppercase; letter-spacing: .06em; display: block; margin-bottom: 10px; }
.instructor-card p { font-size: 13.5px; color: var(--graphite); }

/* ══════════════════════════════════════════════════════════
   WHY ACETECH / LEARNING STRUCTURE
   ══════════════════════════════════════════════════════════ */
.why { background: var(--navy); color: var(--white); }
.why .eyebrow { color: var(--orange); }
.why h2 { color: var(--white); }
.why-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: rgba(255, 255, 255, .1); margin-top: 40px; border-radius: 6px; overflow: hidden;
}
.why-item { background: var(--navy); padding: 28px 20px; }
.why-item .num { font-family: var(--mono); color: var(--orange); font-size: 11px; margin-bottom: 12px; display: block; }
.why-item h4 { font-family: var(--mono); font-size: 14.5px; margin-bottom: 8px; color: var(--white); }
.why-item p  { font-size: 13px; color: #B9C2DE; line-height: 1.65; }

/* ══════════════════════════════════════════════════════════
   BOOTCAMP SLIDER (auto-scroll, no JS framework)
   ══════════════════════════════════════════════════════════ */
.bootcamp { background: var(--white); border-top: 1px dashed var(--paper-line); }
.slider-viewport { overflow: hidden; padding: 20px 0; }
.slider-track {
  display: flex; gap: 24px; width: max-content;
  animation: scroll-left 28s linear infinite;
}
.slider-viewport:hover .slider-track { animation-play-state: paused; }

.bootcamp-card {
  min-width: 260px; background: var(--paper); border: 1.5px solid var(--paper-line);
  border-radius: 6px; overflow: hidden; transition: transform var(--transition), border-color var(--transition);
  cursor: pointer;
}
.bootcamp-card:hover { transform: translateY(-6px); border-color: var(--orange); }
.bootcamp-card img { width: 100%; height: 170px; object-fit: cover; }
.bootcamp-card-body { padding: 16px; }
.bootcamp-card-body h4 { font-family: var(--mono); font-size: 13.5px; margin-bottom: 4px; }
.bootcamp-card-body p  { font-size: 12px; color: var(--graphite); }

@keyframes scroll-left {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ══════════════════════════════════════════════════════════
   STATS COUNTER SECTION
   ══════════════════════════════════════════════════════════ */
.stats { background: var(--brand-blue); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255,255,255,.15); border-radius: 6px; overflow: hidden; }
.stat-item { background: var(--brand-blue); padding: 32px 24px; text-align: center; }
.stat-item .count { font-family: var(--mono); font-size: 38px; font-weight: 700; color: var(--white); display: block; }
.stat-item .label { font-family: var(--mono); font-size: 10.5px; text-transform: uppercase; letter-spacing: .1em; color: rgba(255,255,255,.65); margin-top: 4px; }

/* ══════════════════════════════════════════════════════════
   FORM ELEMENTS (registration / contact)
   ══════════════════════════════════════════════════════════ */
.field { margin-bottom: 20px; }
.field label {
  display: block; font-family: var(--mono); font-size: 11px; text-transform: uppercase;
  letter-spacing: .07em; color: var(--graphite); margin-bottom: 7px; font-weight: 600;
}
.field input,
.field select,
.field textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--paper-line); border-radius: 4px;
  font-family: var(--sans); font-size: 14.5px; background: var(--white); color: var(--navy);
  transition: border-color var(--transition), outline var(--transition);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid var(--orange); outline-offset: 1px; border-color: var(--orange);
}
.field input.is-invalid, .field select.is-invalid { border-color: #D63031; }
.field input.is-valid,   .field select.is-valid   { border-color: #00B894; }
.field-error { font-family: var(--mono); font-size: 10.5px; color: #D63031; margin-top: 5px; display: block; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-section { background: var(--white); border: 1px solid var(--paper-line); border-radius: 6px; padding: 28px; margin-bottom: 24px; }
.form-section-title {
  font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .1em;
  color: var(--brand-blue); font-weight: 700; margin-bottom: 22px;
  padding-bottom: 12px; border-bottom: 1px dashed var(--paper-line);
  display: flex; align-items: center; gap: 8px;
}
.form-section-title::before {
  content: ""; width: 6px; height: 6px; background: var(--orange); border-radius: 1px;
}

/* Radio group */
.radio-group { display: flex; gap: 20px; }
.radio-group label {
  display: flex; align-items: center; gap: 8px; cursor: pointer;
  font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .06em;
  color: var(--graphite); font-weight: 400;
}
.radio-group input[type="radio"] { accent-color: var(--orange); width: 16px; height: 16px; }

/* ══════════════════════════════════════════════════════════
   CONTACT SECTION
   ══════════════════════════════════════════════════════════ */
.contact-grid {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px;
  border: 1px solid var(--paper-line); border-radius: 8px; background: var(--white); padding: 44px;
}
.contact-grid h2 { font-size: 26px; margin-bottom: 14px; }
.contact-grid > div > p { color: var(--graphite); font-size: 15px; margin-bottom: 26px; max-width: 42ch; }
.contact-list { display: flex; flex-direction: column; gap: 16px; }
.contact-list li {
  list-style: none; font-family: var(--mono); font-size: 13px; color: var(--navy);
  display: flex; gap: 10px; align-items: flex-start; padding: 14px;
  background: var(--paper); border: 1px solid var(--paper-line); border-radius: 4px;
}
.contact-list b { color: var(--orange); font-weight: 700; flex-shrink: 0; }

/* ══════════════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════════════ */
footer.site-footer { padding: 70px 0 40px; }
.foot-bottom {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 36px; font-family: var(--mono); font-size: 11px; color: var(--graphite);
  flex-wrap: wrap; gap: 10px; border-top: 1px solid var(--paper-line); padding-top: 24px;
}

/* ══════════════════════════════════════════════════════════
   ALERT / FLASH MESSAGES
   ══════════════════════════════════════════════════════════ */
.alert {
  padding: 14px 18px; border-radius: 4px; font-family: var(--mono); font-size: 13px;
  margin-bottom: 20px; border: 1px solid transparent;
}
.alert-danger  { background: #FFF5F5; border-color: #D63031; color: #D63031; }
.alert-success { background: #F0FFF4; border-color: #00B894; color: #00594A; }
.alert-info    { background: #EBF8FF; border-color: var(--brand-blue); color: var(--navy); }

/* ══════════════════════════════════════════════════════════
   OTP / VERIFY PAGE
   ══════════════════════════════════════════════════════════ */
.otp-card {
  max-width: 480px; margin: 100px auto; background: var(--white);
  border: 1.5px solid var(--navy); border-radius: 6px; padding: 44px; position: relative;
}
.otp-input {
  letter-spacing: .4em; font-family: var(--mono); font-size: 28px;
  text-align: center; font-weight: 700;
}

/* ══════════════════════════════════════════════════════════
   RESPONSIVE BREAKPOINTS
   ══════════════════════════════════════════════════════════ */
@media (max-width: 860px) {
  .hero-grid, .about-grid, .contact-grid, .course-detail-layout { grid-template-columns: 1fr; }
  .chip-grid      { grid-template-columns: 1fr 1fr; }
  .why-grid       { grid-template-columns: 1fr 1fr; }
  .stats-grid     { grid-template-columns: 1fr 1fr; }
  .stat-rail      { grid-template-columns: 1fr; }
  .stat           { border-right: none; border-bottom: 1px solid var(--paper-line); }
  .form-row       { grid-template-columns: 1fr; }
  .learnings-grid { grid-template-columns: 1fr; }
  .navlinks       { display: none; }
  .nav-toggle     { display: flex; }
  .hero { padding: 60px 0 40px; }
  header.site-header nav { padding: 14px 20px; }
  .wrap { padding: 0 20px; }
}

@media (max-width: 560px) {
  .chip-grid   { grid-template-columns: 1fr; }
  .why-grid    { grid-template-columns: 1fr; }
  .stats-grid  { grid-template-columns: 1fr 1fr; }
  .stat-item   { padding: 24px 16px; }
  .stat-item .count { font-size: 28px; }
  .contact-grid { padding: 24px; }
}

/* ── Accessibility ──────────────────────────────────────── */
:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
  *, .slider-track, .hero-track::after { transition: none !important; animation: none !important; }
}
