/* =========================================================
   OVHS Dual Enrollment · Matrícula doble
   Colors come from the OV logo: charcoal, white, burnt orange.
   Thick ink borders and offset "sticker" shadows echo the
   logo's black 3-D outline.
   ========================================================= */

:root {
  --bg: #f8f6f2;
  --bg-2: #efebe4;
  --card: #ffffff;
  --ink: #161514;
  --ink-2: #1e1d1b;
  --ink-3: #2b2927;
  --line: #e1dbd2;
  --line-dark: #3b3835;
  --muted: #5d5852;          /* 6.5:1 on --bg */
  --muted-dark: #b8b1a8;     /* 7.9:1 on --ink-2 */
  --on-orange-muted: #3a2a1e;/* 5.5:1 on --orange */

  --orange: #ef8a3c;         /* fills; ink text on it is 7.3:1 */
  --orange-hover: #f59c55;
  --orange-ink: #a34f1a;     /* orange text on light backgrounds, 5.3:1 */
  --orange-soft: #fde4d0;

  --font: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-cond: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-hand: "Caveat", "Comic Sans MS", cursive;

  --r-xl: 40px;
  --r-lg: 28px;
  --r: 18px;
  --r-sm: 12px;
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 84px;

  --ease: cubic-bezier(.22, .8, .24, 1);
  --ease-back: cubic-bezier(.34, 1.56, .64, 1);
  --hard: 4px 4px 0 var(--ink);
}

/* ---------- Language switching ---------- */
html[lang="en"] [lang="es"],
html[lang="es"] [lang="en"],
html[lang="en"] [data-when="es"],
html[lang="es"] [data-when="en"] { display: none !important; }

body { transition: opacity .16s ease; }
body.is-switching { opacity: .25; }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
svg { display: block; }

h1, h2, h3, h4 { margin: 0; line-height: 1.08; text-wrap: balance; }
h1 { font-weight: 900; letter-spacing: -.035em; }
h2 { font-size: clamp(2.2rem, 4.8vw, 3.75rem); font-weight: 900; letter-spacing: -.032em; line-height: 1.04; }
h3 { font-size: 1.35rem; font-weight: 800; letter-spacing: -.015em; }
h4 { font-size: 1.05rem; font-weight: 800; letter-spacing: -.01em; line-height: 1.3; }
p { margin: 0; }

a { color: var(--orange-ink); text-underline-offset: .18em; text-decoration-thickness: 1.5px; }
a:hover { color: var(--ink); }

:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 200;
  padding: 10px 16px; background: var(--ink); color: #fff;
  border-radius: var(--r-sm); font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; color: #fff; }

.eyebrow {
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--orange-ink);
  margin-bottom: .9rem;
}

.section { padding-block: clamp(72px, 10vw, 128px); }
.section-tight { padding-top: clamp(24px, 4vw, 48px); }
.panel { background: var(--bg-2); border-radius: var(--r-xl); margin-inline: clamp(8px, 1.4vw, 20px); }

.section-head { margin-bottom: clamp(36px, 5vw, 60px); }
.section-head.center { text-align: center; max-width: 780px; margin-inline: auto; }
.section-intro { font-size: 1.14rem; color: var(--muted); max-width: 58ch; margin-top: 1.1rem; }
.center .section-intro { margin-inline: auto; }

/* Highlighted word: an orange box that wipes in */
.hl {
  padding: 0 .14em;
  margin: 0 -.04em;
  border-radius: .14em;
  background: linear-gradient(var(--orange), var(--orange)) no-repeat 0 55% / 0% 88%;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  animation: hl-wipe .9s var(--ease) 1s forwards;
}
[data-reveal] .hl { animation-play-state: paused; animation-delay: .5s; }
[data-reveal].is-in .hl { animation-play-state: running; }
@keyframes hl-wipe { to { background-size: 100% 88%; } }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--ink);
  --fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .8rem;
  min-height: 54px;
  padding: .5rem .55rem .5rem 1.3rem;
  border: 2px solid var(--ink);
  border-radius: 14px;
  background: var(--bg);
  color: var(--fg);
  font: 800 .88rem/1.2 var(--font);
  letter-spacing: .05em;
  text-transform: uppercase;
  text-decoration: none;
  text-align: left;
  cursor: pointer;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background-color .18s, border-color .18s, color .18s;
}
.btn:hover { color: var(--fg); transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--ink); }
.btn:active { transform: translate(1px, 1px); box-shadow: 0 0 0 var(--ink); }

.btn-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 36px; height: 36px;
  border-radius: 9px;
  background: var(--orange);
  color: var(--ink);
}
.btn-icon svg, .faq-icon svg, .fact-check svg {
  width: 18px; height: 18px;
  fill: none; stroke: currentColor; stroke-width: 2.6;
  stroke-linecap: round; stroke-linejoin: round;
  transition: transform .25s var(--ease);
}
.btn:hover .btn-icon svg { transform: translateX(3px); }
.btn[target="_blank"]:hover .btn-icon svg { transform: translate(2px, -2px); }

.btn-orange { --bg: var(--orange); --fg: var(--ink); box-shadow: var(--hard); }
.btn-orange:hover { background: var(--orange-hover); box-shadow: 6px 6px 0 var(--ink); }
.btn-orange .btn-icon { background: var(--ink); color: #fff; }

.btn-light { --bg: #fff; --fg: var(--ink); padding: .5rem 1.3rem; }

.btn-outline-light { --bg: transparent; --fg: #fff; border-color: rgba(255, 255, 255, .35); }
.btn-outline-light:hover { border-color: #fff; box-shadow: 4px 4px 0 var(--orange); }

.btn-sm { min-height: 46px; padding: .35rem .4rem .35rem 1rem; font-size: .8rem; gap: .6rem; border-radius: 12px; }
.btn-sm .btn-icon { width: 32px; height: 32px; border-radius: 8px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  transition: background-color .3s, box-shadow .3s, backdrop-filter .3s;
}
.site-header.is-scrolled {
  background: rgba(248, 246, 242, .86);
  -webkit-backdrop-filter: saturate(1.5) blur(12px);
  backdrop-filter: saturate(1.5) blur(12px);
  box-shadow: 0 1px 0 var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: var(--header-h);
  max-width: 1360px;
}

.brand { display: inline-flex; align-items: center; gap: .65rem; color: var(--ink); text-decoration: none; margin-right: auto; }
.brand:hover { color: var(--ink); }
.brand img { width: 52px; transition: transform .4s var(--ease-back); }
.brand:hover img { transform: rotate(-8deg) scale(1.06); }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-school { font-size: .66rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.brand-program { font-size: 1.22rem; font-weight: 900; letter-spacing: -.02em; }

.site-nav {
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
}
.site-nav ul {
  display: flex;
  gap: 2px;
  margin: 0;
  padding: 5px;
  list-style: none;
  background: var(--ink);
  border-radius: 14px;
}
.site-nav a {
  display: block;
  padding: .55rem .9rem;
  border-radius: 10px;
  color: #fff;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .2s, color .2s;
}
.site-nav a:hover { background: var(--ink-3); color: var(--orange); }

.site-header.nav-hidden .site-nav {
  opacity: 0;
  transform: translateY(-12px);
  visibility: hidden;
  pointer-events: none;
}
.site-header.nav-hidden:focus-within .site-nav { opacity: 1; transform: none; visibility: visible; pointer-events: auto; }

.header-actions { display: flex; align-items: center; gap: .6rem; }

.lang-toggle {
  display: inline-flex;
  padding: 3px;
  gap: 2px;
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: 12px;
}
.lang-btn {
  min-width: 40px;
  height: 34px;
  padding: 0 .5rem;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--ink);
  font: 800 .78rem/1 var(--font);
  letter-spacing: .06em;
  cursor: pointer;
  transition: background-color .2s, color .2s;
}
.lang-btn:hover { background: var(--bg-2); }
.lang-btn[aria-pressed="true"] { background: var(--ink); color: #fff; }

/* Header: one clearly labeled switch to the other language */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  height: 42px;
  padding: 0 .85rem 0 .7rem;
  background: #fff;
  color: var(--ink);
  border: 2px solid var(--ink);
  border-radius: 12px;
  font: 800 .84rem/1 var(--font);
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .2s, transform .2s var(--ease), box-shadow .2s var(--ease);
}
.lang-switch svg { flex: none; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.lang-switch:hover { background: var(--orange-soft); transform: translate(-1px, -1px); box-shadow: 3px 3px 0 var(--ink); }
.lang-switch:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
.lang-switch .ls-short { display: none; }
/* Phones: keep the switch readable and let the brand text give way first */
@media (max-width: 599px) {
  .lang-switch { height: 40px; padding: 0 .6rem; gap: .35rem; font-size: .8rem; }
}
@media (max-width: 439px) {
  .site-header .brand-school { display: none; }
}
@media (max-width: 389px) {
  .lang-switch .ls-long { display: none; }
  .lang-switch .ls-short { display: inline; }
}
@media (max-width: 349px) {
  .site-header .brand-text { display: none; }
}

.lang-toggle-dark { background: transparent; border-color: rgba(255, 255, 255, .3); }
.lang-toggle-dark .lang-btn { color: #fff; }
.lang-toggle-dark .lang-btn:hover { background: var(--ink-3); }
.lang-toggle-dark .lang-btn[aria-pressed="true"] { background: var(--orange); color: var(--ink); }

.nav-toggle { display: none; }

.mobile-menu {
  position: absolute;
  top: calc(100% - 6px);
  left: 12px; right: 12px;
  padding: 10px;
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: 22px;
  box-shadow: 6px 6px 0 var(--ink);
}
.mobile-menu ul { list-style: none; margin: 0; padding: 0; }
.mobile-menu a {
  display: block;
  padding: .85rem 1rem;
  border-radius: 12px;
  color: var(--ink);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -.01em;
  text-decoration: none;
}
.mobile-menu a:hover { background: var(--bg-2); }
.mobile-menu:not([hidden]) li { animation: menu-in .4s var(--ease) both; }
.mobile-menu li:nth-child(2) { animation-delay: .04s; }
.mobile-menu li:nth-child(3) { animation-delay: .08s; }
.mobile-menu li:nth-child(4) { animation-delay: .12s; }
.mobile-menu li:nth-child(5) { animation-delay: .16s; }
@keyframes menu-in { from { opacity: 0; transform: translateY(-8px); } }

@media (max-width: 1340px) {
  .site-nav a { padding-inline: .7rem; }
}
@media (max-width: 1270px) {
  .site-nav { display: none; }
  .nav-toggle {
    display: grid;
    place-items: center;
    width: 46px; height: 46px;
    padding: 0;
    border: 2px solid var(--ink);
    border-radius: 12px;
    background: var(--ink);
    color: #fff;
    cursor: pointer;
  }
  .nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
    display: block; width: 18px; height: 2px; border-radius: 2px; background: currentColor;
    transition: transform .25s var(--ease), background-color .2s;
  }
  .nav-toggle-bars { position: relative; }
  .nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
  .nav-toggle-bars::before { top: -6px; }
  .nav-toggle-bars::after { top: 6px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }
}
@media (max-width: 600px) {
  :root { --header-h: 72px; }
  .header-cta { display: none; }
  .brand img { width: 42px; }
  .brand-school { font-size: .56rem; letter-spacing: .05em; white-space: nowrap; }
  .brand-program { font-size: 1.05rem; }
  .header-actions { gap: .45rem; }
}
@media (max-width: 370px) {
  .brand-school { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: min(100svh, 1000px);
  padding: calc(var(--header-h) + 48px) 0 88px;
  overflow: hidden;
  isolation: isolate;
}
.hero-bg {
  position: absolute;
  z-index: -2;
  width: min(1180px, 140vw);
  aspect-ratio: 1;
  left: 50%; top: 52%;
  transform: translate(-40%, -50%);
  border-radius: 50%;
  background: var(--bg-2);
}

.hero-content { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; text-align: center; max-width: 820px; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .4rem .8rem;
  margin-bottom: 1.4rem;
  background: var(--ink);
  color: #fff;
  border-radius: 10px;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .02em;
}
.badge svg { width: 18px; height: 18px; fill: none; stroke: var(--orange); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.badge-light { background: #fff; color: var(--ink); border: 1.5px solid var(--line); }

.hero .eyebrow { color: var(--ink); margin-bottom: 1rem; }

.hero h1 { font-size: clamp(2.7rem, 6.6vw, 5.5rem); line-height: 1; max-width: 15ch; }

.lead { margin-top: 1.5rem; max-width: 46ch; font-size: clamp(1.1rem, 1.7vw, 1.28rem); color: var(--muted); }
.lead em { font-style: normal; font-weight: 800; color: var(--ink); }

.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .9rem; margin-top: 2.2rem; }

.status { margin-top: 1.4rem; max-width: 60ch; text-align: center; font-size: .92rem; font-weight: 600; color: var(--muted); }
.status .when-past { display: none; }
.status.is-past .when-upcoming { display: none; }
.status.is-past .when-past { display: inline; }
.status-dot {
  display: inline-block;
  vertical-align: .08em;
  margin-right: .5rem;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 0 rgba(239, 138, 60, .6);
  animation: pulse 2.2s ease-out infinite;
}
.status.is-past .status-dot { background: #b9b1a6; animation: none; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(239, 138, 60, 0); } 100% { box-shadow: 0 0 0 0 rgba(239, 138, 60, 0); } }

/* Page-load entrance for hero copy */
.js [data-load] { animation: load-in .9s var(--ease) both; animation-delay: calc(.08s + var(--i, 0) * .1s); }
@keyframes load-in { from { opacity: 0; transform: translateY(26px); filter: blur(8px); } }

/* Floating course cards */
.hero-cards { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hcard {
  --w: clamp(156px, 13vw, 196px);
  --rot: var(--r);
  position: absolute;
  width: var(--w);
  pointer-events: auto;
  transform: rotate(var(--rot));
  animation: hcard-drop 1s var(--ease-back) both;
  animation-delay: calc(.45s + var(--i) * .1s);
}
@keyframes hcard-drop {
  from { opacity: 0; transform: translateY(-70px) rotate(calc(var(--rot) + 22deg)) scale(.65); }
  to { opacity: 1; transform: rotate(var(--rot)); }
}
.hcard-float { animation: hcard-float 6.5s ease-in-out infinite; animation-delay: calc(var(--i) * -1.1s); }
@keyframes hcard-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.hcard-inner {
  padding: 9px 9px 12px;
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: 16px;
  box-shadow: 6px 6px 0 var(--ink);
  transition: transform .45s var(--ease-back);
}
.hcard:hover .hcard-inner { transform: rotate(calc(var(--rot) * -1)) scale(1.07); }
.hcard-top {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: calc(var(--w) * .6);
  padding: 12px;
  border-radius: 10px;
}
.hcard-top svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hcard-code { font-family: var(--font-cond); font-weight: 800; font-size: 1.7rem; line-height: 1; letter-spacing: .01em; }
.tone-orange { background: var(--orange); color: var(--ink); }
.tone-dark { background: var(--ink-2); color: var(--orange); }
.tone-soft { background: var(--orange-soft); color: var(--orange-ink); }
.hcard-title { margin-top: .6rem; font-size: .84rem; font-weight: 800; line-height: 1.25; }
.hcard-meta { margin-top: .2rem; font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }

.hcard[data-pos="l1"] { left: 5%; top: 16%; }
.hcard[data-pos="l2"] { left: 1.5%; top: 47%; }
.hcard[data-pos="l3"] { left: 7%; top: 74%; }
.hcard[data-pos="r1"] { right: 5.5%; top: 14%; }
.hcard[data-pos="r2"] { right: 1.5%; top: 45%; }
.hcard[data-pos="r3"] { right: 7.5%; top: 72%; }

/* Handwritten notes */
.annotation { position: absolute; z-index: 2; pointer-events: none; color: var(--ink); }
.annotation-text {
  display: block;
  font-family: var(--font-hand);
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  transform: rotate(-7deg);
}
.annotation-arrow { width: 64px; height: 72px; margin-top: 2px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.draw { stroke-dasharray: 160; stroke-dashoffset: 160; }
.annotation-hero { right: calc(5.5% + 200px); top: 9%; animation: load-in .8s var(--ease) 1.3s both; }
.annotation-hero .annotation-arrow { margin-left: auto; margin-right: -18px; }
.annotation-hero .draw { animation: draw .9s var(--ease) 1.6s forwards; }
.compare-wrap.is-in .draw { animation: draw .9s var(--ease) .5s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

@media (max-width: 1279px) {
  .hero { min-height: 0; padding-bottom: 56px; }
  .hero-cards {
    position: relative;
    inset: auto;
    order: 2;
    display: flex;
    gap: 18px;
    margin-top: 40px;
    padding: 14px var(--gutter) 22px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    pointer-events: auto;
  }
  .hero-cards::-webkit-scrollbar { display: none; }
  .hero-cards::before, .hero-cards::after { content: ""; flex: 1 0 0; }
  .hcard { --w: 172px; --rot: calc(var(--r) * .35); position: relative; inset: auto !important; flex: none; scroll-snap-align: center; }
  .annotation-hero { display: none; }
  .hero-bg { top: 38%; }
}

/* ---------- Ticker ---------- */
.ticker { overflow: hidden; background: var(--ink); color: #fff; padding: 1.05rem 0; }
.ticker-track { display: flex; width: max-content; animation: ticker 45s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-list { display: flex; margin: 0; padding: 0; list-style: none; }
.ticker-list li {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding-right: 2rem;
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  white-space: nowrap;
}
.ticker-list li::after { content: ""; width: 10px; height: 10px; background: var(--orange); transform: rotate(45deg); border-radius: 2px; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- What is it (dark card) ---------- */
.dark-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding: clamp(20px, 4vw, 56px);
  background: var(--ink-2);
  color: #fff;
  border-radius: 36px;
  transform-origin: 50% 30%;
  will-change: transform;
}
.dark-card .eyebrow { color: var(--orange); }
.dark-card h2 { color: #fff; }
.dark-card-text { margin-top: 1.2rem; font-size: 1.14rem; color: var(--muted-dark); max-width: 48ch; }
.note { margin: 1.6rem 0 2rem; padding-left: 1rem; border-left: 3px solid var(--orange); color: var(--muted-dark); max-width: 52ch; }
.note-label { font-size: .75rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--orange); margin-bottom: .25rem; }

.course-reel {
  position: relative;
  height: 460px;
  overflow: hidden;
  border-radius: 22px;
  background: var(--ink-3);
  -webkit-mask-image: linear-gradient(transparent, #000 14%, #000 86%, transparent);
  mask-image: linear-gradient(transparent, #000 14%, #000 86%, transparent);
}
.course-reel-track { animation: reel 60s linear infinite; }
@keyframes reel { to { transform: translateY(-50%); } }
.reel-row {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .9rem 1.1rem;
  border-bottom: 1px solid var(--line-dark);
  color: var(--muted-dark);
  font-size: .95rem;
  font-weight: 600;
}
.reel-box { flex: none; width: 16px; height: 16px; border: 1.5px solid #6b655e; border-radius: 4px; }
.reel-row .code { flex: none; white-space: nowrap; background: transparent; color: var(--orange); border: 1.5px solid rgba(239, 138, 60, .5); }
.reel-title { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.bubble {
  position: absolute;
  left: var(--x);
  top: var(--y);
  z-index: 2;
  padding: .45rem .9rem;
  background: var(--orange);
  color: var(--ink);
  border: 2px solid var(--ink);
  border-radius: 999px 999px 999px 6px;
  box-shadow: 3px 3px 0 var(--ink);
  font-size: .9rem;
  font-weight: 800;
  white-space: nowrap;
  transform: rotate(var(--r)) scale(0);
  transform-origin: 0 100%;
}
.dark-card.is-in .bubble { animation: bubble-pop .7s var(--ease-back) forwards, bubble-bob 5s ease-in-out infinite; animation-delay: calc(.5s + var(--i) * .45s), calc(1.3s + var(--i) * .45s); }
@keyframes bubble-pop { to { transform: rotate(var(--r)) scale(1); } }
@keyframes bubble-bob { 0%, 100% { transform: rotate(var(--r)) scale(1) translateY(0); } 50% { transform: rotate(var(--r)) scale(1) translateY(-6px); } }

@media (max-width: 900px) {
  .dark-card { grid-template-columns: 1fr; }
  .dark-card-copy { order: -1; }
  .course-reel { height: 300px; }
}
@media (max-width: 600px) {
  .course-reel .bubble:nth-child(2) { --x: 30% !important; }
  .course-reel .bubble:nth-child(4) { --x: 24% !important; }
}

/* ---------- How it works ---------- */
.how-layout {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.3fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}
.how-copy .btn { margin-top: 2rem; }

.fact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.fact {
  display: flex;
  flex-direction: column;
  min-height: 200px;
  padding: 1.1rem 1.1rem 1.25rem;
  background: var(--orange);
  border: 2px solid var(--ink);
  border-radius: var(--r);
  box-shadow: 5px 5px 0 var(--ink);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.fact:hover { transform: translate(-3px, -3px); box-shadow: 8px 8px 0 var(--ink); }
.fact-light { background: #fff; }
.fact-check {
  display: grid;
  place-items: center;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--orange);
}
.fact-check svg { width: 16px; height: 16px; stroke-width: 3; }
.fact h3 { margin-top: auto; padding-top: 1.4rem; font-size: 1.12rem; line-height: 1.2; }
.fact p { margin-top: .35rem; font-size: .92rem; line-height: 1.45; color: var(--on-orange-muted); }
.fact-light p { color: var(--muted); }
.fact-dark { background: var(--ink-2); color: #fff; }
.fact-dark img { width: 56px; }
.fact-dark p { color: var(--muted-dark); }

@media (max-width: 960px) {
  .how-layout { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .fact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .fact { min-height: 170px; padding: .9rem; }
  .fact h3 { font-size: 1rem; }
}

/* ---------- Compare ---------- */
.compare-wrap { position: relative; }
#compare .section-head { margin-bottom: clamp(84px, 10vw, 128px); }
.annotation-compare { left: 21%; top: -86px; }
.annotation-compare .annotation-arrow { margin-left: 70px; }
.annotation-compare .annotation-text { transform: rotate(-5deg); }

.compare { max-width: 1060px; margin-inline: auto; }
.compare-row {
  display: grid;
  grid-template-columns: minmax(140px, .7fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 1.5rem;
  padding: 1.15rem 0;
  border-bottom: 1px solid #d8d0c5;
}
.compare-header { padding-bottom: 1rem; border-bottom: 2px solid var(--ink); }
.compare-row [role="rowheader"] { font-size: .76rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding-top: .2rem; }
.compare-row [role="cell"] { display: flex; gap: .7rem; line-height: 1.45; }
.compare-row [role="cell"]::before {
  content: "";
  flex: none;
  width: 22px; height: 22px;
  margin-top: 1px;
  border-radius: 50%;
}
.cell-de { font-weight: 600; }
.cell-de::before {
  background: var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23161514' stroke-width='3.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 13px no-repeat;
  border: 1.5px solid var(--ink);
}
.cell-ce { color: var(--muted); }
.cell-ce::before { background: #d2cac0; box-shadow: inset 0 0 0 6px var(--bg-2); border: 1.5px solid #bdb4a9; }
.compare-row [role="cell"]::after { display: none; }

.pill {
  display: inline-block;
  padding: .3rem .75rem;
  border-radius: 8px;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.pill-orange { background: var(--orange); color: var(--ink); border: 2px solid var(--ink); box-shadow: 3px 3px 0 var(--ink); }
.pill-dark { background: var(--ink); color: #fff; border: 2px solid var(--ink); }

.compare-more { margin-top: 2rem; text-align: center; font-weight: 600; }
.compare-more a { font-weight: 800; }

@media (max-width: 760px) {
  .annotation-compare { display: none; }
  .compare-header { display: none; }
  .compare-row {
    grid-template-columns: 1fr;
    gap: .9rem;
    padding: 1.1rem 1.1rem 1.2rem;
    margin-bottom: 12px;
    background: #fff;
    border: 2px solid var(--ink);
    border-radius: var(--r);
    box-shadow: 4px 4px 0 var(--ink);
  }
  .compare-row [role="rowheader"] { font-size: 1.15rem; letter-spacing: -.01em; text-transform: none; color: var(--ink); padding: 0; }
  .compare-row [role="cell"] {
    display: grid;
    grid-template-columns: 22px 1fr;
    grid-template-areas: "label label" "icon text";
    column-gap: .7rem;
    row-gap: .2rem;
  }
  .compare-row [role="cell"]::before { grid-area: icon; }
  .compare-row [role="cell"]::after {
    display: block;
    grid-area: label;
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
  }
  .cell-de::after { color: var(--orange-ink); }
  .cell-ce::after { color: var(--muted); }
  .cell-ce::before { box-shadow: inset 0 0 0 6px #fff; }
  html[lang="en"] .cell-de::after { content: "OVHS Dual Enrollment"; }
  html[lang="es"] .cell-de::after { content: "Matrícula doble de OVHS"; }
  html[lang="en"] .cell-ce::after { content: "MVC Concurrent Enrollment"; }
  html[lang="es"] .cell-ce::after { content: "Matrícula concurrente de MVC"; }
}

/* ---------- Courses ---------- */
.tabs { text-align: center; }
.tab-list {
  position: relative;
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px;
  padding: 5px;
  margin-bottom: 1.6rem;
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: 16px;
  box-shadow: var(--hard);
}
.tab-indicator {
  position: absolute;
  top: 5px; bottom: 5px; left: 0;
  width: 0;
  border-radius: 11px;
  background: var(--ink);
  opacity: 0;
}
.tab-list.has-indicator .tab-indicator { opacity: 1; }
.tab-list.is-ready .tab-indicator { transition: transform .45s var(--ease), width .45s var(--ease); }
.tab {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  min-height: 46px;
  padding: .5rem 1.1rem;
  border: 0;
  border-radius: 11px;
  background: transparent;
  color: var(--ink);
  font: 800 .9rem/1.2 var(--font);
  cursor: pointer;
  transition: color .3s;
}
.tab[aria-selected="true"] { color: #fff; background: var(--ink); }
.tab-list.has-indicator .tab[aria-selected="true"] { background: transparent; }
.tab-count { min-width: 1.7em; padding: .12rem .45rem; border-radius: 999px; background: var(--bg-2); color: var(--ink); font-size: .75rem; transition: background-color .3s; }
.tab[aria-selected="true"] .tab-count { background: var(--orange); }

.tab-panel { text-align: left; }
.tab-panel:focus-visible { outline-offset: 8px; }
.js .tab-panel[hidden] { display: none; }
.panel-note { text-align: center; color: var(--muted); margin-bottom: 1.8rem; }
.panel-note strong { color: var(--ink); }

.tab-panel.is-entering .course { animation: rise .55s var(--ease) both; animation-delay: calc(var(--ci, 0) * 45ms); }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }

.code {
  display: inline-block;
  padding: .12rem .5rem;
  border-radius: 6px;
  background: var(--ink);
  color: #fff;
  font-family: var(--font-cond);
  font-size: .95rem;
  font-weight: 800;
  letter-spacing: .04em;
  line-height: 1.25;
}
.sem, .subject { font-size: .72rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); }
.tag {
  padding: .25rem .6rem;
  border-radius: 8px;
  background: var(--orange);
  border: 1.5px solid var(--ink);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.tag-plain { background: transparent; border-color: var(--line); color: var(--muted); }

.course-top { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin-bottom: .6rem; }
.course h4 { margin-bottom: .3rem; }
.course p { color: var(--muted); font-size: .97rem; line-height: 1.5; }

.pathways { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.pathway {
  padding: 1.4rem 1.4rem 1.2rem;
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: 22px;
  box-shadow: 5px 5px 0 var(--ink);
}
.pathway-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .5rem;
  padding-bottom: .9rem;
  border-bottom: 2px solid var(--ink);
}
.pathway-head h3 { font-size: 1.4rem; }

.course-seq { list-style: none; margin: 0; padding: 0; }
.course-seq .course { position: relative; padding: 1.1rem 0 1.1rem 1.6rem; }
.course-seq .course + .course { border-top: 1px dashed var(--line); }
.course-seq .course::before {
  content: ""; position: absolute; left: 0; top: 1.5rem;
  width: 11px; height: 11px; border-radius: 50%;
  background: var(--orange); border: 2px solid var(--ink);
}
.course-seq .course::after {
  content: ""; position: absolute; left: 4.5px; top: 2.3rem; bottom: -1.5rem;
  width: 2px; background: var(--orange-soft);
}
.course-seq .course:last-child::after { display: none; }

.pathway-wide { grid-column: 1 / -1; }
.pathway-wide .course-seq { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 1.6rem; }
.pathway-wide .course-seq .course { padding: 1.1rem 0 .3rem; }
.pathway-wide .course-seq .course + .course { border-top: 0; }
.pathway-wide .course-seq .course::before { display: none; }
.pathway-wide .course-seq .course::after { left: auto; right: -.8rem; top: 1.1rem; bottom: 0; width: 1px; background: var(--line); }

.course-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr));
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.course-grid .course {
  padding: 1.25rem 1.3rem 1.35rem;
  background: #fff;
  border: 2px solid var(--line);
  border-radius: var(--r);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
}
.course-grid .course:hover { border-color: var(--ink); transform: translate(-3px, -3px); box-shadow: 6px 6px 0 var(--ink); }

@media (max-width: 1000px) {
  .pathways { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pathway-wide .course-seq { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pathway-wide .course-seq .course:nth-child(2n)::after { display: none; }
  .pathway-wide .course-seq .course:nth-child(n+3) { margin-top: .8rem; border-top: 1px dashed var(--line); }
}
@media (max-width: 660px) {
  .pathways { grid-template-columns: 1fr; }
  .pathway-wide .course-seq { grid-template-columns: 1fr; }
  .pathway-wide .course-seq .course::after { display: none; }
  .pathway-wide .course-seq .course + .course { margin-top: .8rem; border-top: 1px dashed var(--line); }
}

/* ---------- Grades, drops & financial aid ---------- */
.know-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.know {
  position: relative;
  padding: 1.4rem 1.5rem 1.5rem;
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: 24px;
  box-shadow: 5px 5px 0 var(--ink);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.know:hover { transform: translate(-3px, -3px); box-shadow: 8px 8px 0 var(--ink); }
.know-icon {
  display: inline-grid;
  place-items: center;
  min-width: 46px; height: 46px;
  padding: 0 .5rem;
  border-radius: 14px;
  background: var(--ink);
  color: var(--orange);
  font-family: var(--font-cond);
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1;
}
.know h3 { margin-top: 1rem; font-size: 1.3rem; line-height: 1.2; }
.know p { margin-top: .55rem; color: var(--muted); }
.know-list { margin: .7rem 0 0; padding: 0; list-style: none; display: grid; gap: .55rem; }
.know-list li { position: relative; padding-left: 1.3rem; line-height: 1.5; }
.know-list li::before {
  content: "";
  position: absolute; left: 0; top: .55em;
  width: .55rem; height: .55rem;
  border-radius: 50%;
  background: var(--orange);
  border: 1.5px solid var(--ink);
}
.know .know-callout {
  margin-top: 1rem;
  padding: .75rem .95rem;
  background: var(--orange-soft);
  border-radius: 12px;
  color: var(--ink);
  font-size: .95rem;
}
.know-orange { background: var(--orange); }
.know-orange p { color: var(--on-orange-muted); }
.know-orange .know-list li::before { background: #fff; }
.know-dark { background: var(--ink-2); color: #fff; }
.know-dark .know-icon { background: var(--orange); color: var(--ink); }
.know-dark .know-list li { color: #f1ede8; }
.know-dark .know-list li::before { border-color: var(--orange); }

.drop-band {
  margin-top: clamp(28px, 4vw, 44px);
  padding: clamp(20px, 3.5vw, 36px);
  background: var(--ink-2);
  color: #fff;
  border-radius: 32px;
}
.drop-title { font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--orange); }
.drop-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.1rem;
  margin: 1.1rem 0 0;
  padding: 0;
  list-style: none;
}
.drop-list .date-item { display: flex; align-items: flex-start; gap: .85rem; }
.drop-list time {
  flex: none;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: 62px; height: 62px;
  background: #fff;
  border: 2px solid #fff;
  border-radius: 14px;
  color: var(--ink);
  line-height: 1;
}
.drop-list .drop-key time { background: var(--orange); border-color: var(--orange); }
.drop-list .date-what { display: block; color: #fff; }
.drop-list .date-what strong { color: var(--orange); }
.drop-note { display: block; margin-top: .3rem; font-size: .9rem; line-height: 1.4; color: var(--muted-dark); }
.drop-list .date-item.is-past time { background: var(--ink-3); border-color: var(--line-dark); color: var(--muted-dark); }
.drop-list .date-item.is-past .date-what,
.drop-list .date-item.is-past .date-what strong { color: var(--muted-dark); }
.drop-foot { margin-top: 1.3rem; padding-top: 1rem; border-top: 1px solid var(--line-dark); color: var(--muted-dark); }

.drop-tips {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}
.drop-tips li { padding: 1.15rem 1.25rem; background: #fff; border: 2px solid var(--ink); border-radius: 20px; }
.drop-tips h3 { font-size: 1.1rem; }
.drop-tips p { margin-top: .4rem; color: var(--muted); font-size: .95rem; line-height: 1.5; }
.know-source { margin: 1.6rem auto 0; max-width: 72ch; text-align: center; font-size: .86rem; color: var(--muted); }
.know-source a { color: var(--orange-ink); font-weight: 700; }

@media (max-width: 960px) {
  .know-grid { grid-template-columns: 1fr; }
  .drop-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .drop-tips { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .drop-list { grid-template-columns: 1fr; }
  .know { padding: 1.15rem 1.1rem 1.25rem; }
}

/* ---------- Sign up ---------- */
.signup-info {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 20px;
  margin-bottom: 28px;
}
.dates-card { padding: 1.3rem 1.4rem; background: #fff; border: 2px solid var(--ink); border-radius: 22px; }
.dates-title { font-size: .76rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--orange-ink); }
.dates-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin: .9rem 0 0; padding: 0; list-style: none; }
.dates-list .date-item { display: flex; align-items: center; gap: .9rem; }
.dates-list time {
  flex: none;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: 62px; height: 62px;
  background: var(--orange);
  border: 2px solid var(--ink);
  border-radius: 14px;
  color: var(--ink);
  line-height: 1;
}
.date-mon { font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.date-day { font-family: var(--font-cond); font-size: 1.9rem; font-weight: 800; }
.date-what { font-weight: 700; line-height: 1.3; }
.dates-list .date-item.is-past time { background: var(--bg-2); border-color: #bdb4a9; color: var(--muted); }
.dates-list .date-item.is-past .date-what { color: var(--muted); }

.past-badge {
  display: inline-block;
  margin-left: .45rem;
  padding: .12rem .5rem;
  border-radius: 999px;
  background: var(--bg-2);
  color: var(--muted);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
  vertical-align: .12em;
}

.inperson-card { padding: 1.3rem 1.4rem; background: var(--ink-2); color: #fff; border-radius: 22px; }
.inperson-card h3 { font-size: 1.25rem; margin-bottom: .45rem; }
.inperson-card p { color: var(--muted-dark); }

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin: 0; padding: 0; list-style: none; }
.step {
  display: flex;
  flex-direction: column;
  min-height: 360px;
  padding: 1.3rem 1.3rem 1.4rem;
  background: var(--orange);
  border: 2px solid var(--ink);
  border-radius: 24px;
  box-shadow: 6px 6px 0 var(--ink);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.step:hover { transform: translate(-3px, -3px); box-shadow: 9px 9px 0 var(--ink); }
.step-top { display: flex; align-items: center; justify-content: space-between; }
.step-label { font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.step-num {
  display: grid; place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-family: var(--font-cond);
  font-size: 1.5rem;
  font-weight: 800;
}
.step h3 { margin-top: 2.2rem; font-size: 1.45rem; line-height: 1.15; }
.step p { margin-top: .6rem; color: var(--on-orange-muted); line-height: 1.5; }
.step p strong { color: var(--ink); }
.step-actions { display: flex; flex-direction: column; align-items: flex-start; gap: .85rem; margin-top: auto; padding-top: 1.6rem; }
.step-link { color: var(--ink); font-weight: 700; font-size: .95rem; }
.step-link:hover { color: var(--ink); text-decoration-thickness: 2.5px; }
.step .btn:hover { box-shadow: 4px 4px 0 var(--ink); }

.deadline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: .4rem .8rem;
  width: fit-content;
  max-width: 100%;
  margin: 32px auto 0;
  padding: .75rem 1.1rem;
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: 14px;
  text-align: center;
}
.portal-link { margin-top: 18px; text-align: center; font-weight: 800; }
.deadline-label { font-size: .74rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--orange-ink); }
.deadline.is-past { border-color: #bdb4a9; color: var(--muted); }
.deadline.is-past .deadline-label { color: var(--muted); }

@media (max-width: 960px) {
  .signup-info { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .step { min-height: 0; }
  .step h3 { margin-top: 1.2rem; }
}
@media (max-width: 520px) {
  .dates-list { grid-template-columns: 1fr; }
  .step-actions .btn { width: 100%; justify-content: space-between; }
}

/* ---------- FAQ ---------- */
.faq-card {
  padding: clamp(22px, 4.5vw, 56px);
  background: var(--orange);
  border: 2px solid var(--ink);
  border-radius: 32px;
  box-shadow: 8px 8px 0 var(--ink);
}
.faq-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.faq-head h2 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
.faq-head p { margin-top: .6rem; color: var(--on-orange-muted); font-weight: 500; max-width: 52ch; }

.faq-list { margin-top: 2rem; border-top: 2px solid var(--ink); }
.faq { border-bottom: 1.5px solid rgba(22, 21, 20, .35); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 0;
  font-size: 1.1rem;
  font-weight: 800;
  line-height: 1.35;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq-icon {
  flex: none;
  display: grid; place-items: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  transition: transform .35s var(--ease), background-color .2s;
}
.faq summary:hover .faq-icon { background: var(--ink-3); }
.faq[open]:not(.is-closing) .faq-icon { transform: rotate(180deg); }
.faq-body { overflow: hidden; }
.faq-body p { padding: 0 3.5rem 1.3rem 0; color: var(--on-orange-muted); max-width: 70ch; }

/* ---------- Closing ---------- */
.closing { text-align: center; }
.closing-inner { display: flex; flex-direction: column; align-items: center; }
.closing h2 { margin-top: 1.4rem; font-size: clamp(2.5rem, 6vw, 4.8rem); max-width: 18ch; }
.closing-muted { color: #8a847c; }
.closing .section-intro { margin-inline: auto; }

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  overflow: hidden;
  padding-top: clamp(48px, 6vw, 72px);
  background: var(--ink);
  color: var(--muted-dark);
  border-radius: 36px 36px 0 0;
}
.footer-top { display: flex; justify-content: space-between; gap: 2.5rem; flex-wrap: wrap; }
.footer-brand { display: flex; align-items: center; gap: 1rem; }
.footer-brand img { width: 72px; }
.footer-brand strong { color: #fff; font-size: 1.1rem; }
.footer-cols { display: flex; gap: clamp(28px, 5vw, 64px); flex-wrap: wrap; }
.footer-label { font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #fff; margin-bottom: .8rem; }
.footer-cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .35rem; }
.site-footer a { color: var(--muted-dark); font-weight: 600; text-decoration: none; }
.site-footer a:hover { color: var(--orange); }
.footer-bottom { margin-top: 3rem; padding-block: 1.2rem; border-top: 1px solid var(--line-dark); font-size: .9rem; }
.footer-wordmark {
  margin: 0 0 -.18em;
  font-family: var(--font-cond);
  font-weight: 800;
  font-size: clamp(4rem, 19vw, 18rem);
  line-height: .9;
  letter-spacing: -.01em;
  text-align: center;
  white-space: nowrap;
  color: var(--ink-3);
  user-select: none;
}
.js .footer-wordmark { transform: translateY(35%); opacity: 0; transition: transform 1.2s var(--ease), opacity 1.2s var(--ease); }
.js .footer-wordmark.is-in { transform: none; opacity: 1; }

/* ---------- Scroll reveal ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  filter: blur(6px);
  transition: opacity .9s var(--ease), transform .9s var(--ease), filter .9s var(--ease);
  transition-delay: calc(var(--i, 0) * 90ms);
}
.js [data-reveal].is-in { opacity: 1; transform: none; filter: none; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    animation-delay: 0s !important;
    transition-duration: .001ms !important;
    transition-delay: 0s !important;
  }
  .js [data-reveal], .js [data-load], .js .footer-wordmark { opacity: 1 !important; transform: none !important; filter: none !important; }
  .ticker-track, .course-reel-track { animation: none !important; }
  .hl { background-size: 100% 88% !important; }
  .draw { stroke-dashoffset: 0 !important; }
  .bubble { transform: rotate(var(--r)) scale(1) !important; }
  .dark-card { transform: none !important; }
}
