/* ─────────────────────────────────────────────────────────────
   Northwoods Literacy Lodge — site.css
   Single shared stylesheet. All pages link to this file.
   ───────────────────────────────────────────────────────────── */

@import url('https://fonts.googleapis.com/css2?family=Secular+One&family=Nunito:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Figtree:wght@400;500;600;700&display=swap');

/* ── CUSTOM PROPERTIES ─────────────────────────────────────── */
:root {
  --navy:        #0f1729;
  --navy-mid:    #14222D;
  --navy-light:  #1c2f3e;
  --teal-dark:   #2C5A61;
  --teal:        #3a7a87;
  --teal-bright: #4da8b8;
  --ice:         #EDF2F3;
  --ice-deep:    #d8e6e9;
  --white:       #ffffff;
  --off-white:   #f8fbfb;
  --ink:         #1a2e38;
  --muted:       #506772;
  --ease-out:    cubic-bezier(0.22, 1, 0.36, 1);
  --max-w:       1280px;
  --nav-h:       64px;
}

/* ── RESET ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
img, video { display: block; max-width: 100%; }
a { text-decoration: none; }

body {
  font-family: 'Nunito', sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ── LAYOUT UTILITIES ──────────────────────────────────────── */
.wrap {
  max-width: var(--max-w);
  margin: 0 auto;
}

.section {
  padding: 7rem 3rem;
}

.section-sm {
  padding: 4rem 3rem;
}

/* ── TYPOGRAPHY ─────────────────────────────────────────────  */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: 'Figtree', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--teal-dark);
  margin-bottom: 1.25rem;
}

.eyebrow::before {
  content: '';
  width: 28px;
  height: 1.5px;
  background: var(--teal-dark);
  flex-shrink: 0;
}

.eyebrow-light {
  color: var(--teal-bright);
}

.eyebrow-light::before {
  background: var(--teal-bright);
}

h2.display {
  font-family: 'Secular One', sans-serif;
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin-bottom: 1.25rem;
}

h2.display-white {
  color: var(--white);
}

.lead {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.75;
  max-width: 52ch;
}

.lead-white {
  color: rgba(255, 255, 255, 0.6);
}

/* ── BUTTONS ────────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--white);
  color: var(--navy);
  font-family: 'Figtree', sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 0.9rem 1.75rem;
  border-radius: 3px;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s;
  cursor: pointer;
  border: none;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}

.btn-primary:focus-visible {
  outline: 3px solid var(--white);
  outline-offset: 3px;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.7);
  font-family: 'Figtree', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}

.btn-ghost:hover {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.55);
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--white);
  color: var(--navy);
  font-family: 'Figtree', sans-serif;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 1.1rem 2.25rem;
  border-radius: 3px;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s;
}

.btn-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.btn-cta:focus-visible {
  outline: 3px solid var(--white);
  outline-offset: 3px;
}

.btn-navy {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--navy);
  color: var(--white);
  font-family: 'Figtree', sans-serif;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.9rem 1.75rem;
  border-radius: 3px;
  transition: background 0.2s, transform 0.2s;
}

.btn-navy:hover {
  background: var(--navy-light);
  transform: translateY(-2px);
}

.btn-navy:focus-visible {
  outline: 3px solid var(--teal-dark);
  outline-offset: 3px;
}

/* ── NAV ────────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  padding: 0 3rem;
  transition: background 0.4s, box-shadow 0.4s;
}

.nav.scrolled {
  background: rgba(15, 23, 41, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
}

/* On interior pages (no hero), nav is always dark */
.nav.nav-solid {
  background: var(--navy);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex: 1;
  text-decoration: none;
}

.nav-wordmark {
  font-family: 'Secular One', sans-serif;
  color: var(--white);
  font-size: 0.95rem;
  letter-spacing: 0.01em;
}

.nav-logo-img {
  height: 36px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.1rem;
  list-style: none;
}

.nav-links a {
  font-family: 'Figtree', sans-serif;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 0.5rem 0.9rem;
  border-radius: 4px;
  transition: color 0.2s, background 0.2s;
}

.nav-links a:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.07);
}

.nav-links a:focus-visible {
  outline: 3px solid var(--white);
  outline-offset: 2px;
}

.nav-links a.nav-current {
  color: var(--white);
}

.nav-enroll {
  margin-left: 0.5rem;
  font-family: 'Figtree', sans-serif !important;
  color: var(--navy) !important;
  background: var(--white) !important;
  font-weight: 700 !important;
  font-size: 0.78rem !important;
  letter-spacing: 0.05em !important;
  text-transform: uppercase !important;
  padding: 0.5rem 1.25rem !important;
  border-radius: 3px !important;
  transition: opacity 0.2s !important;
}

.nav-enroll:hover {
  opacity: 0.85 !important;
  background: var(--white) !important;
}

.nav-enroll:focus-visible {
  outline: 3px solid var(--teal-bright);
  outline-offset: 3px;
}

/* ── TRUST STRIP ────────────────────────────────────────────── */
.trust-strip {
  background: var(--navy-mid);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 1.5rem 3rem;
}

.trust-strip-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: 'Figtree', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.trust-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--teal-bright);
  flex-shrink: 0;
}

/* ── PAGE HERO (interior pages) ─────────────────────────────── */
.page-hero {
  background: var(--navy);
  padding: 8rem 3rem 5rem;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(74, 154, 168, 0.07) 0%, transparent 65%);
  pointer-events: none;
}

.page-hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  font-family: 'Secular One', sans-serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 1.25rem;
  max-width: 20ch;
}

.page-hero p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
  max-width: 52ch;
}

/* ── CTA SECTION ────────────────────────────────────────────── */
.cta-section {
  background: var(--navy);
  padding: 8rem 3rem;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.cta-glow {
  position: absolute;
  inset: -200px;
  background: radial-gradient(ellipse at 50% 50%, rgba(58, 122, 135, 0.12) 0%, transparent 55%);
  pointer-events: none;
}

.cta-inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
}

.cta-inner h2 {
  font-family: 'Secular One', sans-serif;
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 1.25rem;
}

.cta-inner p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.75;
  margin-bottom: 3rem;
}

.cta-buttons {
  display: flex;
  gap: 1.25rem;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-note {
  margin-top: 2rem;
  font-family: 'Figtree', sans-serif;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.3);
  letter-spacing: 0.04em;
}

/* ── FOOTER ─────────────────────────────────────────────────── */
footer {
  background: var(--navy-mid);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 5rem 3rem 2.5rem;
}

.footer-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2.5fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 2rem;
}

.footer-brand-name {
  font-family: 'Secular One', sans-serif;
  color: var(--white);
  font-size: 1.05rem;
  margin-bottom: 1rem;
  display: block;
}

.footer-brand-desc {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.7;
  max-width: 280px;
  margin-bottom: 1.25rem;
}

.footer-email {
  font-family: 'Figtree', sans-serif;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
  transition: color 0.2s;
}

.footer-email:hover {
  color: rgba(255, 255, 255, 0.8);
}

.footer-email:focus-visible {
  outline: 3px solid var(--teal-bright);
  outline-offset: 2px;
}

.footer-col-head {
  font-family: 'Figtree', sans-serif;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.25);
  margin-bottom: 1.25rem;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-col a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--white);
}

.footer-col a:focus-visible {
  outline: 3px solid var(--teal-bright);
  outline-offset: 2px;
}

.footer-bottom {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-copy {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.22);
}

/* ── SCROLL REVEAL ──────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ── INTERIOR PAGE CONTENT ──────────────────────────────────── */
.prose h2 {
  font-family: 'Secular One', sans-serif;
  font-size: 1.6rem;
  color: var(--navy);
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
}

.prose h3 {
  font-family: 'Secular One', sans-serif;
  font-size: 1.15rem;
  color: var(--navy);
  margin-top: 1.75rem;
  margin-bottom: 0.5rem;
}

.prose p {
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 1rem;
  max-width: 68ch;
}

.prose ul {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
  color: var(--muted);
  line-height: 1.75;
}

.prose li {
  margin-bottom: 0.4rem;
}

.prose a {
  color: var(--teal-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.prose a:hover {
  color: var(--navy);
}

/* ── FAQ ACCORDION ─────────────────────────────────────────── */
.faq-list {
  max-width: 820px;
}

.faq-item {
  border-bottom: 1px solid var(--ice-deep);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.75rem 0;
  font-family: 'Secular One', sans-serif;
  font-size: 1.1rem;
  color: var(--navy);
  text-align: left;
  line-height: 1.35;
  transition: color 0.2s;
}

.faq-question:hover {
  color: var(--teal-dark);
}

.faq-question:focus-visible {
  outline: 3px solid var(--teal-dark);
  outline-offset: 2px;
}

.faq-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1.5px solid var(--ice-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s var(--ease-out), border-color 0.3s;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
  border-color: var(--teal);
}

.faq-icon svg {
  width: 14px;
  height: 14px;
  stroke: var(--muted);
  stroke-width: 2;
  fill: none;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-out);
}

.faq-answer-inner {
  padding: 0 0 2rem;
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.75;
  max-width: 62ch;
}

.faq-answer-inner a {
  color: var(--teal-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.faq-answer-inner a:hover {
  color: var(--navy);
}

/* ── CONTACT FORM ──────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 5rem;
  align-items: start;
}

.contact-form fieldset {
  border: none;
  padding: 0;
  margin: 0;
}

.form-row {
  margin-bottom: 1.5rem;
}

.form-row label {
  display: block;
  font-family: 'Figtree', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  font-family: 'Nunito', sans-serif;
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--ice);
  border: 1.5px solid var(--ice-deep);
  border-radius: 3px;
  padding: 0.85rem 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(58, 122, 135, 0.12);
}

.form-row textarea {
  min-height: 140px;
  resize: vertical;
}

.form-submit {
  margin-top: 0.5rem;
}

.form-submit .btn-navy {
  width: 100%;
  justify-content: center;
}

.contact-aside {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-card {
  background: var(--ice);
  border: 1px solid var(--ice-deep);
  padding: 2rem;
  border-radius: 3px;
}

.contact-card h3 {
  font-family: 'Secular One', sans-serif;
  font-size: 1rem;
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.contact-card p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.7;
}

.contact-card a {
  color: var(--teal-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-card a:hover {
  color: var(--navy);
}

.form-success {
  display: none;
  text-align: center;
  padding: 4rem 2rem;
}

.form-success h2 {
  font-family: 'Secular One', sans-serif;
  font-size: 1.6rem;
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.form-success p {
  color: var(--muted);
  line-height: 1.75;
}

/* ── LOGIN / PORTAL CARD ───────────────────────────────────── */
.portal-card {
  max-width: 520px;
  margin: 0 auto;
  text-align: center;
  padding: 4rem 3rem;
  background: var(--ice);
  border: 1px solid var(--ice-deep);
  border-radius: 4px;
}

.portal-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
}

.portal-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--teal-bright);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.portal-card h2 {
  font-family: 'Secular One', sans-serif;
  font-size: 1.4rem;
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.portal-card p {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.portal-card .btn-navy {
  justify-content: center;
}

/* ── SERVICE DETAIL CARDS ──────────────────────────────────── */
.svc-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5px;
  background: var(--ice-deep);
  border: 1.5px solid var(--ice-deep);
  margin-bottom: 1.5px;
}

.svc-detail.svc-detail-full {
  grid-template-columns: 1fr;
}

.svc-block {
  background: var(--white);
  padding: 3rem;
}

.svc-block h3 {
  font-family: 'Secular One', sans-serif;
  font-size: 1.15rem;
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.svc-block p {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 1rem;
}

.svc-block p:last-child {
  margin-bottom: 0;
}

.svc-block ul {
  margin-left: 1.25rem;
  margin-bottom: 1rem;
  color: var(--muted);
  line-height: 1.75;
  font-size: 0.95rem;
}

.svc-block li {
  margin-bottom: 0.35rem;
}

.svc-price-tag {
  display: inline-block;
  font-family: 'Figtree', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal-dark);
  background: var(--ice);
  border: 1px solid var(--ice-deep);
  padding: 0.45rem 1rem;
  border-radius: 2px;
  margin-top: 0.5rem;
}

/* ── 404 PAGE ──────────────────────────────────────────────── */
.not-found {
  text-align: center;
  max-width: 520px;
  margin: 0 auto;
}

.not-found-code {
  font-family: 'Secular One', sans-serif;
  font-size: 8rem;
  line-height: 1;
  color: var(--ice-deep);
  letter-spacing: -0.04em;
  margin-bottom: 1rem;
}

.not-found h2 {
  font-family: 'Secular One', sans-serif;
  font-size: 1.6rem;
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.not-found p {
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 2rem;
}

/* ── RESPONSIVE — INTERIOR PAGES ───────────────────────────── */
@media (max-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .svc-detail {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .faq-question {
    font-size: 1rem;
    padding: 1.5rem 0;
  }

  .portal-card {
    padding: 3rem 1.5rem;
  }

  .svc-block {
    padding: 2rem 1.5rem;
  }

  .not-found-code {
    font-size: 5rem;
  }
}

/* ── KEYFRAMES ──────────────────────────────────────────────── */
@keyframes rise {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; }
  50%       { opacity: 1; }
}

/* ── SKIP LINK ─────────────────────────────────────────────── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 300;
  background: var(--white);
  color: var(--navy);
  font-family: 'Figtree', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.75rem 1.5rem;
  border-radius: 3px;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.skip-link:focus {
  top: 1rem;
}

/* ── MOBILE NAV ────────────────────────────────────────────── */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  margin-left: 0.75rem;
  position: relative;
  z-index: 210;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.3s var(--ease-out), opacity 0.3s;
}

.nav-toggle span + span {
  margin-top: 5px;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-toggle:focus-visible {
  outline: 3px solid var(--white);
  outline-offset: 2px;
}

/* ── SECTION BACKGROUND VARIANTS ───────────────────────────── */
.section-off-white { background: var(--off-white); }
.section-white { background: var(--white); }
.section-ice { background: var(--ice); }

/* ── EYEBROW CENTER VARIANT ────────────────────────────────── */
.eyebrow-center {
  justify-content: center;
  margin-bottom: 1.25rem;
}

/* ── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  .section { padding: 5rem 1.5rem; }
  .section-sm { padding: 3rem 1.5rem; }
  .nav { padding: 0 1.5rem; }
  .trust-strip { padding: 1.25rem 1.5rem; }
  .trust-strip-inner { gap: 1rem; justify-content: center; }
  .trust-item { font-size: 0.7rem; }
  .page-hero { padding: 6rem 1.5rem 4rem; }
  .cta-section { padding: 5rem 1.5rem; }
  footer { padding: 4rem 1.5rem 2rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 0.5rem; }

  /* Mobile nav — always dark so hamburger + links stay visible */
  .nav { background: rgba(15, 23, 41, 0.97); backdrop-filter: blur(16px); }
  .nav-toggle { display: flex; flex-direction: column; }

  .nav-links {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100vh;
    z-index: 200;
    background: #0f1729;
    padding: 5rem 2rem 2rem;
    gap: 0.25rem;
    transform: translateX(100%);
    transition: transform 0.35s var(--ease-out);
  }

  .nav-links.open {
    transform: translateX(0);
  }

  .nav-links a {
    font-size: 1.1rem;
    padding: 0.9rem 1rem;
  }

  .nav-enroll {
    margin-left: 0 !important;
    margin-top: 1rem;
    text-align: center;
    justify-content: center;
  }

  .strategies,
  .checklist,
  .two-col,
  .three-col,
  .compare-grid,
  .flags-grid {
    grid-template-columns: 1fr;
  }

  .step {
    flex-direction: column;
    gap: 0.75rem;
  }
}

/* ── FOCUS STYLES ──────────────────────────────────────────── */
.btn-ghost:focus-visible {
  outline: 3px solid var(--white);
  outline-offset: 3px;
}

.prose a:focus-visible {
  outline: 3px solid var(--teal-dark);
  outline-offset: 2px;
}

.contact-card a:focus-visible {
  outline: 3px solid var(--teal-dark);
  outline-offset: 2px;
}

.faq-answer-inner a:focus-visible {
  outline: 3px solid var(--teal-dark);
  outline-offset: 2px;
}

/* ── CHECKLIST (resource guides) ───────────────────────────── */
.checklist {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.check-item {
  background: var(--white);
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--ice-deep);
  display: flex;
  align-items: stretch;
}

.check-icon {
  width: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.check-icon svg {
  width: 18px;
  height: 18px;
  stroke: var(--white);
  stroke-width: 2.5;
  fill: none;
}

.ci-navy .check-icon { background: var(--navy); }
.ci-teal .check-icon { background: var(--teal-dark); }

.check-text {
  padding: 1rem 1.15rem;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.65;
}

/* ── INFO BOX (resource guides) ───────────────────────────── */
.info-box {
  background: rgba(58, 122, 135, 0.08);
  border: 1px solid rgba(58, 122, 135, 0.2);
  border-radius: 6px;
  padding: 1.15rem 1.5rem;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  color: var(--teal-dark);
  line-height: 1.65;
}

.info-box strong {
  font-weight: 700;
  display: block;
  margin-bottom: 0.25rem;
}

/* ── STRATEGY CARDS (resource guides) ─────────────────────── */
.strategies {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.strategy-card {
  background: var(--white);
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--ice-deep);
}

.strategy-header {
  padding: 0.8rem 1.15rem;
  font-family: 'Figtree', sans-serif;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--white);
}

.strategy-navy { background: var(--navy); }
.strategy-teal { background: var(--teal-dark); }

.strategy-body {
  padding: 1rem 1.15rem 1.25rem;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.7;
}

/* ── TWO-COL CARDS (resource guides) ─────────────────────── */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.card {
  background: var(--white);
  border: 1px solid var(--ice-deep);
  border-radius: 6px;
  padding: 1.4rem;
}

.card-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--navy);
  margin-bottom: 0.4rem;
}

.card-body {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.7;
}

/* ── STEPS (resource guides) ─────────────────────────────── */
.steps {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.step {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--ice-deep);
  border-radius: 6px;
  padding: 1.4rem;
}

.step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Secular One', sans-serif;
  font-size: 0.95rem;
  color: var(--white);
  flex-shrink: 0;
}

.sn-navy { background: var(--navy); }
.sn-teal { background: var(--teal-dark); }

.step-body {
  flex: 1;
}

.step-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--navy);
  margin-bottom: 0.3rem;
}

.step-text {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.7;
}

/* ── COMPARE GRID (resource guides) ──────────────────────── */
.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.compare-col {
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--ice-deep);
}

.compare-col-header {
  padding: 0.9rem 1.25rem;
  font-family: 'Figtree', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--white);
}

.header-navy { background: var(--navy); }
.header-teal { background: var(--teal-dark); }

.compare-col-body {
  background: var(--white);
}

.compare-item {
  padding: 0.8rem 1.25rem;
  font-size: 0.875rem;
  color: var(--muted);
  border-bottom: 1px solid var(--ice-deep);
  line-height: 1.55;
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}

.compare-item:last-child {
  border-bottom: none;
}

.c-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 0.45rem;
}

.dot-navy { background: var(--navy); }
.dot-teal { background: var(--teal-dark); }

/* ── THREE-COL CARDS (resource guides) ───────────────────── */
.three-col {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

/* ── TAGGED CARDS (resource guides) ─────────────────────── */
.tagged-card {
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--ice-deep);
}

.tagged-header {
  padding: 0.9rem 1.25rem;
  font-family: 'Figtree', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--white);
}

.tag-navy { background: var(--navy); }
.tag-teal { background: var(--teal-dark); }

.tagged-body {
  background: var(--white);
  padding: 1.25rem 1.5rem;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.7;
}

/* ── FLAGS GRID (resource guides) ────────────────────────── */
.flags-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 2rem;
}

.flag-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  background: var(--white);
  border: 1px solid var(--ice-deep);
  border-radius: 6px;
  padding: 1.25rem 1.4rem;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.65;
}

.flag-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal-dark);
  flex-shrink: 0;
  margin-top: 0.4rem;
}

/* ── CALLOUT NAVY (resource guides) ──────────────────────── */
.callout-navy {
  background: rgba(15, 23, 41, 0.06);
  border: 1px solid rgba(15, 23, 41, 0.15);
  border-radius: 6px;
  padding: 1.15rem 1.5rem;
  font-size: 0.9rem;
  color: var(--navy);
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.callout-navy strong {
  font-weight: 700;
  display: block;
  margin-bottom: 0.25rem;
}

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

  html { scroll-behavior: auto; }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
