:root {
  --fw-ink: #0c1718;
  --fw-muted: #46585c;
  --fw-mint-bg: #dff3ec;
  --fw-mint-card: #e5f5ef;
  --fw-slate-card: #f4f7f9;
  --fw-emerald: #007a5e;
  --fw-pine: #083b39;
  --fw-pine-deep: #052928;
  --fw-amber: #e39a1b;
  --fw-amber-light: #f3bd53;
  --fw-line: #d4e2df;
  --fw-white: #ffffff;
  --fw-shadow: 0 16px 40px rgba(8, 40, 38, .08);
}

.orientation-shell {
  color: var(--fw-ink);
  background: var(--fw-white);
  padding-bottom: clamp(2.5rem, 6vw, 5rem);
}

.fw-eyebrow,
.media-overline {
  color: var(--fw-emerald);
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin: 0 0 .65rem;
}

/* Direction 01: Soft mint editorial hero */
.firstweek-hero {
  background: var(--fw-mint-bg);
  padding: clamp(2rem, 5vw, 4rem) clamp(1.25rem, 4vw, 3rem);
}

.firstweek-hero-inner {
  width: min(72rem, 100%);
  margin-inline: auto;
}

.firstweek-hero h1 {
  font-size: clamp(2.25rem, 5.2vw, 3.9rem);
  font-weight: 850;
  letter-spacing: -.04em;
  line-height: 1.04;
  margin: 0;
  max-width: 15ch;
  color: var(--fw-ink);
}

.fw-subtitle {
  color: #364d4e;
  font-size: clamp(1rem, 1.75vw, 1.2rem);
  line-height: 1.55;
  max-width: 40rem;
  margin: 1rem 0 0;
}

.fw-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  margin-top: 1.75rem;
}

.fw-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: .75rem 1.55rem;
  border-radius: 10px;
  background: var(--fw-pine);
  color: #ffffff;
  font-weight: 800;
  font-size: .96rem;
  text-decoration: none;
  letter-spacing: -.01em;
  transition: background .15s, transform .15s;
}
.fw-cta-btn:hover { background: var(--fw-pine-deep); transform: translateY(-1px); }

.fw-inline-prefs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .75rem;
}

.fw-select-wrap {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  max-width: 100%;
  min-width: 0;
  background: rgba(255, 255, 255, .86);
  border: 1px solid #b5d5cb;
  border-radius: 10px;
  padding: .2rem .4rem .2rem .75rem;
}
.fw-pref-label {
  font-size: .78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--fw-pine);
  flex: 0 0 auto;
}
.fw-select-wrap select {
  border: 0;
  background-color: transparent;
  color: var(--fw-ink);
  font-weight: 700;
  min-width: 0;
  max-width: 100%;
  flex: 1 1 auto;
  min-height: 44px;
  height: 44px;
  padding: .25rem 2rem .25rem .45rem;
  cursor: pointer;
}

.fw-lang-toggle {
  display: inline-flex;
  background: rgba(255, 255, 255, .86);
  border: 1px solid #b5d5cb;
  border-radius: 10px;
  padding: 3px;
  gap: 3px;
}
.language-button {
  background: transparent;
  border: 0;
  border-radius: 7px;
  color: var(--fw-pine);
  cursor: pointer;
  min-height: 44px;
  min-width: 44px;
  padding: .35rem .85rem;
  font-weight: 750;
  font-size: .86rem;
}
.language-button.is-active {
  background: var(--fw-pine);
  color: #ffffff;
}

/* Signature diagonal emerald + amber visual band */
.firstweek-band {
  position: relative;
  overflow: hidden;
  background: linear-gradient(124deg, #042527 0%, #064440 48%, #e39a1b 48.2%, #e8a326 100%);
  color: #ffffff;
  padding: clamp(2rem, 4.5vw, 3.4rem) clamp(1.25rem, 4vw, 3rem);
}

.firstweek-band::after {
  content: "";
  position: absolute;
  right: -3.5rem;
  top: 50%;
  transform: translateY(-50%);
  width: clamp(11rem, 22vw, 18rem);
  height: clamp(11rem, 22vw, 18rem);
  border-radius: 50%;
  border: clamp(1.2rem, 2.5vw, 2rem) solid rgba(255, 232, 179, .28);
  pointer-events: none;
}

.firstweek-band-inner {
  position: relative;
  z-index: 1;
  width: min(72rem, 100%);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(15rem, .75fr);
  gap: 1.5rem 2.5rem;
  align-items: center;
}

.band-title {
  margin: 0;
  font-size: clamp(1.85rem, 3.8vw, 2.85rem);
  font-weight: 850;
  letter-spacing: -.035em;
  line-height: 1.05;
  max-width: 14ch;
  color: #ffffff;
}

.band-resume {
  margin: .65rem 0 0;
  color: #e4f3ef;
  font-size: .95rem;
  line-height: 1.45;
  max-width: 36ch;
}

.band-progress-pill {
  background: rgba(6, 36, 36, .88);
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 14px;
  padding: 1rem 1.2rem;
  backdrop-filter: blur(4px);
}
.band-progress-numbers {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: .75rem;
  margin-bottom: .55rem;
}
.band-progress-numbers strong { font-size: 1.75rem; letter-spacing: -.04em; color: #ffffff; }
.band-progress-numbers span { font-size: .84rem; color: #d6ede7; font-weight: 650; }
.progress-track { appearance: none; background: rgba(255,255,255,.22); border: 0; border-radius: 999px; display: block; height: .48rem; overflow: hidden; width: 100%; }
.progress-track::-webkit-progress-bar { background: rgba(255,255,255,.22); }
.progress-track::-webkit-progress-value { background: var(--fw-amber-light); }
.progress-track::-moz-progress-bar { background: var(--fw-amber-light); }
.band-cert-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: .45rem;
  padding: 6px 2px;
  color: #ffe39e;
  font-size: .86rem;
  font-weight: 800;
  text-underline-offset: 3px;
}

/* Direction 01: Clean 2-column First-Week Path Grid */
.path-section {
  width: min(72rem, calc(100% - 2.5rem));
  margin: clamp(1.75rem, 4vw, 2.75rem) auto 0;
}

.path-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .85rem 1.25rem;
  margin-bottom: 1.15rem;
}
.path-header h2 {
  margin: 0;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 850;
  letter-spacing: -.03em;
  color: var(--fw-ink);
}
.path-header-right {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .75rem 1rem;
}
.path-count {
  margin: 0;
  color: var(--fw-muted);
  font-size: .9rem;
  font-weight: 650;
}
.journey-search {
  min-height: 44px;
  min-width: 15rem;
  padding: .45rem .85rem;
  border: 1.5px solid #c6d6d3;
  border-radius: 10px;
  background: #f9fcfb;
  color: var(--fw-ink);
  font-size: .88rem;
}

.path-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .9rem;
}

.path-card-item { display: flex; }
.path-card-item[hidden] { display: none; }

.path-card-btn {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .35rem;
  padding: 1.15rem 1.25rem;
  text-align: left;
  cursor: pointer;
  border: 0;
  border-top: 3px solid #c5d4dc;
  border-radius: 0 0 10px 10px;
  background: var(--fw-slate-card);
  color: var(--fw-ink);
  transition: transform .15s, box-shadow .15s, background .15s;
}
.path-card-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(8, 59, 57, .08);
}
.path-card-item.is-complete .path-card-btn,
.path-card-item.is-current .path-card-btn {
  background: var(--fw-mint-card);
  border-top-color: var(--fw-emerald);
}
.path-card-item.is-current .path-card-btn {
  box-shadow: inset 0 0 0 1.5px rgba(0, 122, 94, .35);
}

.path-card-kicker {
  font-size: .74rem;
  font-weight: 850;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: #06634d;
}
.path-card-item.is-upcoming .path-card-kicker { color: #0b6a56; }
.path-card-title { font-size: 1.08rem; font-weight: 800; line-height: 1.25; color: var(--fw-ink); }
.path-card-meta { font-size: .84rem; color: var(--fw-muted); line-height: 1.35; }

/* Active Lesson Workspace below path cards */
.lesson-wrapper {
  width: min(72rem, calc(100% - 2.5rem));
  margin: 2.25rem auto 0;
}

.lesson-stage {
  min-width: 0;
  max-width: 100%;
  background: var(--fw-white);
  border: 1px solid var(--fw-line);
  border-radius: 16px;
  padding: clamp(1rem, 3vw, 2.25rem);
  box-shadow: var(--fw-shadow);
}
.lesson-stage > h2 {
  font-size: clamp(1.65rem, 3.2vw, 2.45rem);
  font-weight: 850;
  letter-spacing: -.035em;
  line-height: 1.08;
  margin: 0;
}
.lesson-lead {
  color: var(--fw-muted);
  font-size: clamp(1rem, 1.6vw, 1.14rem);
  line-height: 1.55;
  max-width: 52rem;
  margin: .75rem 0 0;
}
.pathway-note {
  max-width: 52rem;
  margin: 1rem 0 0;
  padding: .75rem 1rem;
  border-left: 4px solid var(--fw-amber);
  background: #fffaf0;
  color: #364a4d;
  font-size: .9rem;
  line-height: 1.45;
  border-radius: 0 8px 8px 0;
}

.media-story {
  background: var(--fw-pine-deep);
  color: #ffffff;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(15rem, .85fr);
  margin-top: 1.5rem;
  border-radius: 14px;
  overflow: hidden;
}
.media-player-box {
  background: #031a1a;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1rem;
  gap: .6rem;
}
.orientation-video {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  background: #000000;
  display: block;
}
.media-caption-bar { margin: 0; font-size: .78rem; color: #c7e6de; }
.attached-visual { margin: .5rem 0 0; border-radius: 10px; overflow: hidden; border: 1px solid rgba(255,255,255,.2); background: #0c2627; }
.attached-visual img { display: block; width: 100%; max-height: 220px; object-fit: cover; }
.attached-visual figcaption { padding: .45rem .75rem; font-size: .78rem; color: #c7e6de; }
.district-map-stage { margin-top: 1.1rem; border-radius: 14px; overflow: hidden; border: 1px solid var(--fw-line); background: #072b2c; }
.district-svg-map { display: block; width: 100%; height: auto; }
.svg-map-pin { cursor: pointer; }
.svg-map-pin .pin-halo { fill: rgba(243, 189, 83, .24); stroke: rgba(243, 189, 83, .75); stroke-width: 1.5; transition: fill .15s; }
.svg-map-pin .pin-dot { fill: #ffffff; stroke: #072b2c; stroke-width: 2; }
.svg-map-pin.is-selected .pin-halo { fill: rgba(243, 189, 83, .55); stroke: #ffe39e; stroke-width: 2.5; }
.svg-map-pin.is-selected .pin-dot { fill: #f3bd53; }
.svg-map-pin .pin-label { fill: #ffffff; font-size: 11px; font-weight: 800; pointer-events: none; }
.media-copy { padding: clamp(1.2rem, 2.5vw, 1.8rem); display: flex; flex-direction: column; gap: .7rem; }
.media-copy .media-overline { color: #9de2cf; margin: 0; }
.media-copy h3 { font-size: clamp(1.25rem, 2.2vw, 1.6rem); letter-spacing: -.02em; line-height: 1.18; margin: 0; }
.media-copy p { color: #d8ebe6; line-height: 1.5; margin: 0; font-size: .92rem; }
.resource-link { color: #ffe39e; font-weight: 750; text-underline-offset: 3px; }
.transcript-box { border-top: 1px solid rgba(255,255,255,.22); padding-top: .7rem; margin-top: auto; }
.transcript-box summary { cursor: pointer; font-weight: 750; min-height: 44px; display: flex; align-items: center; color: #ffffff; }
.transcript-box p { margin-top: .5rem; font-size: .88rem; color: #e4f3ef; }

.timed-gate {
  align-items: center;
  background: var(--fw-mint-card);
  border: 1px solid #bfe2d6;
  border-radius: 14px;
  display: flex;
  gap: 1rem 1.75rem;
  justify-content: space-between;
  margin-top: 1.4rem;
  padding: clamp(1rem, 2.5vw, 1.45rem);
}
.timed-gate h3, .campus-explorer h3, .knowledge-check h3, .finish-card h3, .completion-lookahead h3 {
  font-size: clamp(1.18rem, 2vw, 1.5rem);
  letter-spacing: -.025em;
  line-height: 1.15;
  margin: 0;
}
.timed-gate p { color: var(--fw-muted); line-height: 1.45; margin: .4rem 0 0; font-size: .92rem; }
.timed-action { align-items: flex-start; display: grid; flex: 0 0 auto; gap: .5rem; min-width: 14rem; }
.timed-action > span { color: var(--fw-pine); font-size: .84rem; font-weight: 800; }

.primary-action, .secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 10px;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  min-height: 44px;
  padding: .65rem 1.15rem;
  text-decoration: none;
  font-size: .92rem;
}
.primary-action { background: var(--fw-pine); color: #ffffff; }
.primary-action:hover:not(:disabled) { background: var(--fw-pine-deep); }
.primary-action:disabled { cursor: not-allowed; opacity: .55; }
.secondary-action { background: #14363b; color: #ffffff; }
.secondary-action:hover { background: #0b2428; }

.campus-explorer, .knowledge-check, .two-col-finish, .completion-lookahead {
  border-top: 1px solid var(--fw-line);
  margin-top: 2.15rem;
  padding-top: 1.55rem;
}
.section-heading { align-items: flex-end; display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; }
.section-sub { color: var(--fw-muted); font-size: .9rem; margin: .35rem 0 0; }
.campus-filters { display: flex; flex-wrap: wrap; gap: .4rem; }
.filter-chip {
  min-height: 44px;
  padding: .4rem .85rem;
  border: 1.5px solid #bfd3ce;
  border-radius: 999px;
  background: #ffffff;
  color: var(--fw-ink);
  cursor: pointer;
  font-size: .82rem;
  font-weight: 750;
}
.filter-chip.is-active { background: var(--fw-pine); border-color: var(--fw-pine); color: #ffffff; }

.campus-map { display: grid; gap: .65rem; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 1.1rem; }
.map-place {
  align-items: flex-start;
  background: #083837;
  border: 2px solid transparent;
  border-radius: 12px;
  color: #ffffff;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: .25rem;
  justify-content: space-between;
  min-height: 6.2rem;
  padding: .85rem .95rem;
  text-align: left;
}
.map-place[hidden] { display: none; }
.map-place:nth-child(3n+2) { background: #0c4d49; }
.map-place:nth-child(3n+3) { background: #14404a; }
.map-place.is-selected { border-color: var(--fw-amber-light); box-shadow: 0 0 0 2px rgba(227, 154, 27, .35); }
.map-index { color: #b5e7db; font-size: .7rem; font-weight: 750; text-transform: uppercase; letter-spacing: .04em; }
.map-place strong { font-size: .95rem; line-height: 1.25; }
.map-place small { color: #dceee9; font-size: .78rem; }

.campus-map-detail {
  background: var(--fw-slate-card);
  border: 1px solid var(--fw-line);
  border-radius: 12px;
  margin-top: .85rem;
  padding: 1rem 1.15rem;
}
.campus-detail-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; align-items: center; }
.campus-detail-head strong { font-size: 1.05rem; color: var(--fw-ink); }
.campus-city-badge { background: var(--fw-mint-bg); color: var(--fw-pine); font-size: .78rem; font-weight: 800; padding: .25rem .65rem; border-radius: 999px; }
.campus-address { margin: .45rem 0 .25rem; font-size: .88rem; color: var(--fw-muted); font-weight: 650; }
.campus-buildings, .campus-services { margin: .35rem 0 0; font-size: .9rem; color: var(--fw-ink); line-height: 1.45; }

.knowledge-check { display: grid; gap: 1.25rem; grid-template-columns: minmax(14rem, .78fr) minmax(0, 1.22fr); }
.knowledge-check > * { min-width: 0; }
.knowledge-check form { min-width: 0; max-width: 100%; background: var(--fw-slate-card); border: 1px solid var(--fw-line); border-radius: 14px; padding: 1.15rem; display: grid; gap: 1rem; }
.quiz-question { display: block; min-width: 0; max-width: 100%; border: 0; border-bottom: 1px solid var(--fw-line); padding: 0 0 .9rem; margin: 0; }
.quiz-question:last-of-type { border-bottom: 0; padding-bottom: 0; }
.quiz-question legend { display: block; width: 100%; max-width: 100%; padding: 0; white-space: normal; overflow-wrap: break-word; font-weight: 800; font-size: .94rem; margin-bottom: .6rem; color: var(--fw-ink); }
.quiz-option { align-items: flex-start; display: flex; gap: .6rem; line-height: 1.4; font-size: .9rem; cursor: pointer; min-height: 36px; margin-top: .45rem; }
.quiz-option input { accent-color: var(--fw-emerald); flex: 0 0 auto; height: 1.15rem; margin-top: .15rem; width: 1.15rem; min-height: auto; }
.quiz-score-pill { display: inline-block; margin-top: .75rem; padding: .45rem .85rem; border-radius: 9px; background: var(--fw-mint-bg); color: var(--fw-pine); font-size: .88rem; }
.form-status { color: var(--fw-pine); font-weight: 750; margin: .45rem 0 0; min-height: 1.2rem; font-size: .9rem; }

.two-col-finish { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.two-col-finish > *, .lesson-stage > *, .district-map-stage { min-width: 0; max-width: 100%; }
.finish-card { min-width: 0; max-width: 100%; background: var(--fw-slate-card); border: 1px solid var(--fw-line); border-radius: 14px; padding: 1.2rem; }
.checklist-list { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; gap: .65rem; }
.checklist-label { display: flex; align-items: flex-start; gap: .65rem; font-size: .92rem; line-height: 1.4; cursor: pointer; }
.checklist-label input { width: 1.2rem; height: 1.2rem; min-height: auto; accent-color: var(--fw-emerald); margin-top: .15rem; flex: 0 0 auto; }

.firstweek-band-inner > *, .band-progress-pill { min-width: 0; max-width: 100%; }
.survey-form { display: grid; gap: .75rem; margin-top: .95rem; min-width: 0; max-width: 100%; }
.survey-form label { display: grid; gap: .3rem; font-size: .84rem; font-weight: 700; color: var(--fw-ink); min-width: 0; max-width: 100%; }
.survey-form select, .survey-form textarea { width: 100%; max-width: 100%; min-width: 0; border: 1.5px solid #bfd3ce; border-radius: 8px; padding: .5rem .7rem; background-color: #ffffff; color: var(--fw-ink); }

.completion-lookahead {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: var(--fw-mint-card);
  border: 1px solid #bfe2d6;
  border-radius: 14px;
  padding: 1.3rem;
}
.completion-lookahead p { color: var(--fw-muted); margin: .4rem 0 0; max-width: 44rem; line-height: 1.45; }
.cert-cta { white-space: nowrap; }

/* Certificate page */
.certificate-shell { width: min(820px, calc(100% - 2rem)); margin: 2.5rem auto 4rem; }
.certificate-frame {
  background: #ffffff;
  border: 2px solid var(--fw-pine);
  border-top: 10px solid var(--fw-amber);
  border-radius: 18px;
  padding: clamp(1.5rem, 4vw, 3rem);
  box-shadow: var(--fw-shadow);
}
.cert-header { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.cert-status-badge { padding: .3rem .85rem; border-radius: 999px; font-size: .8rem; font-weight: 800; }
.cert-status-badge.is-complete { background: var(--fw-mint-bg); color: var(--fw-pine); }
.cert-status-badge.is-preview { background: #fff1cc; color: #754e0a; }
.certificate-frame h1 { margin: .6rem 0; font-size: clamp(1.75rem, 4vw, 2.6rem); color: var(--fw-pine); }
.cert-subtitle { margin: 1.2rem 0 .2rem; color: var(--fw-muted); text-transform: uppercase; letter-spacing: .1em; font-size: .8rem; font-weight: 750; }
.cert-recipient { margin: 0; font-size: clamp(1.8rem, 4.5vw, 2.8rem); font-weight: 850; color: var(--fw-ink); }
.cert-detail { margin: .6rem 0 1.4rem; color: var(--fw-muted); }
.cert-metrics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .85rem; margin-bottom: 1.5rem; }
.cert-metrics div { background: var(--fw-slate-card); border: 1px solid var(--fw-line); border-radius: 10px; padding: .85rem 1rem; display: grid; gap: .2rem; }
.cert-metrics span { font-size: .78rem; color: var(--fw-muted); font-weight: 700; }
.cert-metrics strong { font-size: 1rem; color: var(--fw-ink); }
.cert-authority { font-weight: 800; color: var(--fw-pine); margin: 1rem 0 .4rem; }
.cert-note { color: var(--fw-muted); font-size: .88rem; line-height: 1.5; }
.cert-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }

@media (max-width: 900px) {
  .firstweek-band { background: linear-gradient(155deg, #042527 0%, #064440 58%, #e39a1b 58.3%, #e8a326 100%); }
  .firstweek-band-inner, .media-story, .knowledge-check, .two-col-finish { grid-template-columns: 1fr; }
  .campus-map { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  .firstweek-hero { padding: 1.5rem 1rem; }
  .path-section, .lesson-wrapper { width: calc(100% - 1.25rem); }
  .path-grid, .campus-map, .cert-metrics { grid-template-columns: 1fr; }
  .fw-hero-actions, .fw-inline-prefs { flex-direction: column; align-items: stretch; width: 100%; max-width: 100%; }
  .fw-cta-btn, .fw-select-wrap, .fw-lang-toggle, .journey-search { width: 100%; max-width: 100%; min-width: 0; }
  .fw-select-wrap { justify-content: space-between; overflow: hidden; }
  .fw-select-wrap select { width: 0; flex: 1 1 0%; text-overflow: ellipsis; }
  .fw-lang-toggle { display: grid; grid-template-columns: 1fr 1fr; }
  .timed-gate { flex-direction: column; align-items: stretch; }
  .timed-action { min-width: 0; width: 100%; }
  .timed-action .primary-action, .cert-cta { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* Round 3 additions: slides, audio player, reduced-motion-safe sample animation, quiz gate */
.slide-deck { margin-top: 1.25rem; background: #f6fbfa; border: 1px solid #cbe2db; border-radius: 14px; padding: 1.15rem 1.25rem; }
.slide-deck-head { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin-bottom: .6rem; }
.slide-counter { font-size: .82rem; font-weight: 800; color: var(--fw-pine); background: #e3f4ee; padding: .2rem .65rem; border-radius: 999px; }
.slide-card h4 { margin: 0 0 .35rem; font-size: 1.06rem; color: var(--fw-pine-deep); }
.slide-card p { margin: 0; color: var(--fw-muted); font-size: .94rem; line-height: 1.5; }
.slide-timer-note { display: inline-block; margin-top: .5rem; font-size: .8rem; font-weight: 700; color: #754e0a; }
.slide-controls { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .85rem; }

.audio-attachment-box { margin-top: .5rem; padding: .65rem .8rem; border-radius: 10px; background: #0c2627; border: 1px solid rgba(255,255,255,.18); }
.audio-label { margin: 0 0 .4rem; font-size: .78rem; color: #c7e6de; font-weight: 700; }
.orientation-audio { width: 100%; height: 44px; display: block; }

.quiz-gate-notice { margin: 0; padding: .75rem 1rem; border-radius: 10px; background: #fff4d6; border: 1px solid #d99b1e; color: #5c3700; font-size: .88rem; font-weight: 750; }

@keyframes stcMilestonePulse {
  0%, 100% { transform: scale(1); opacity: 0.7; }
  50% { transform: scale(1.22); opacity: 1; }
}
.milestone-animation { margin-top: 1.1rem; display: flex; flex-wrap: wrap; align-items: center; gap: .8rem; padding: .75rem 1rem; border-radius: 12px; background: #eef8f5; border: 1px solid #bfe2d6; }
.anim-steps { display: inline-flex; gap: 8px; align-items: center; }
.anim-dot { width: 12px; height: 12px; border-radius: 999px; background: #007a5e; animation: stcMilestonePulse 2.4s ease-in-out infinite; }
.anim-dot-2 { animation-delay: 0.4s; background: #0b6e6d; }
.anim-dot-3 { animation-delay: 0.8s; background: #e39a1b; }
.anim-caption { margin: 0; font-size: .84rem; color: #164446; font-weight: 650; }
