/* ==========================================================================
   360 SMART Learning — Site Stylesheet
   Brand: Deep Blue #0B4F8C · Gold #D4AF37 · White
   Fonts: Poppins (display) / Inter (body)
   ========================================================================== */

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body, h1, h2, h3, h4, p, ul, ol, li, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; }
input, select, textarea { font: inherit; }

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 9999;
  padding: 10px 14px;
  border-radius: 6px;
  background: #fff;
  color: #08243F;
  font-weight: 700;
  box-shadow: 0 2px 10px rgba(8, 36, 63, 0.2);
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }

/* SVGs: never let an SVG render at browser-default intrinsic size.
   Every <svg> in this project is either sized via width/height attributes
   (icons) or is meant to fill its container (illustrations). This rule
   guarantees neither case can ever blow up unconstrained. */
svg { display: block; max-width: 100%; height: auto; }

/* ---------- Tokens ---------- */
:root {
  --blue-900: #08243F;   /* darkest ink-blue, headings on light bg, footer bg */
  --blue-800: #0B4F8C;   /* primary brand blue */
  --blue-700: #145FA3;   /* lighter interactive blue */
  --blue-050: #E7F0F9;   /* pale blue tint background */
  --blue-100: #D3E4F4;

  --gold-600: #B5901F;   /* darker gold for text-on-white legibility */
  --gold-500: #D4AF37;   /* brand gold */
  --gold-100: #FBF3DC;   /* pale gold tint */

  --ink: #1D2939;        /* body text */
  --muted: #5B6B7C;      /* secondary text */
  --line: #E1E7EE;       /* hairline borders */
  --bg: #FFFFFF;
  --tint: #F6F9FC;       /* section tint background */

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;

  --shadow-sm: 0 1px 2px rgba(8, 36, 63, 0.06), 0 1px 1px rgba(8, 36, 63, 0.04);
  --shadow-md: 0 8px 24px rgba(8, 36, 63, 0.10);
  --shadow-lg: 0 20px 48px rgba(8, 36, 63, 0.16);

  --container: 1140px;
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 {
  font-family: 'Poppins', 'Inter', sans-serif;
  color: var(--blue-900);
  line-height: 1.25;
  font-weight: 600;
}

h1 { font-size: clamp(2rem, 4vw, 2.9rem); font-weight: 700; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 700; letter-spacing: -0.01em; }
h3 { font-size: 1.2rem; }
h4 { font-size: 1.05rem; }

p { color: var(--muted); }

:focus-visible {
  outline: 3px solid var(--gold-500);
  outline-offset: 2px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  font-family: 'Inter', sans-serif;
  border: 2px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--gold-500);
  color: var(--blue-900);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: #E3BE4C; box-shadow: var(--shadow-md); }

.btn-outline {
  background: transparent;
  border-color: var(--blue-900);
  color: var(--blue-900);
}
.btn-outline:hover { background: var(--blue-900); color: #fff; }

.btn-outline-blue {
  background: #fff;
  border-color: var(--blue-800);
  color: var(--blue-800);
}
.btn-outline-blue:hover { background: var(--blue-800); color: #fff; }

.btn-sm { padding: 10px 20px; font-size: 0.85rem; }
.btn-block { width: 100%; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #FFFFFF;
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand-mark {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  object-fit: contain;
}

.brand-word {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--blue-900);
  white-space: nowrap;
}
.brand-word em { font-style: normal; color: var(--gold-600); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  flex: 1;
  justify-content: center;
}

.nav-links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--blue-900);
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.nav-links a:hover { color: var(--blue-700); }
.nav-links a.is-active { border-bottom-color: var(--gold-500); color: var(--blue-800); font-weight: 600; }

/* the CTA duplicated inside nav-links (for mobile menu) hides on desktop */
.nav-links li a.btn { display: none; }

.nav-cta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: #fff;
  position: relative;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: '';
  position: absolute;
  left: 9px;
  right: 9px;
  height: 2px;
  background: var(--blue-900);
  transition: transform 0.2s ease, opacity 0.2s ease, top 0.2s ease;
}
.nav-toggle span { top: 19px; }
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }
.nav-toggle.is-open span { background: transparent; }
.nav-toggle.is-open span::before { top: 0; transform: rotate(45deg); }
.nav-toggle.is-open span::after { top: 0; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { padding: 64px 0 48px; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-600);
  margin-bottom: 14px;
}

.hero h1 { margin-bottom: 20px; }
.accent { color: var(--blue-800); }

.hero-lede {
  font-size: 1.08rem;
  max-width: 52ch;
  margin-bottom: 30px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 22px;
}

.hero-note {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--muted);
}
.hero-note svg { flex-shrink: 0; }

.hero-visual svg { width: 100%; height: auto; max-width: 460px; margin: 0 auto; }

/* ---------- Trust strip ---------- */
.trust-strip {
  background: var(--blue-900);
  color: #fff;
  padding: 18px 0;
}
.trust-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px 28px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  font-weight: 500;
  color: #DCE8F5;
}
.trust-item svg { color: var(--gold-500); flex-shrink: 0; }

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
.section--tight { padding: 40px 0 72px; }
.section--tint { background: var(--tint); }
.section--blue {
  background: linear-gradient(180deg, var(--blue-900) 0%, #0B3D6B 100%);
  color: #fff;
  padding: 80px 0;
}
.section--blue h2, .section--blue h3 { color: #fff; }
.section--blue p { color: #C7D7E7; }
.section--blue .eyebrow { color: var(--gold-500); }

.section-head { max-width: 68ch; margin-bottom: 40px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { margin-bottom: 14px; }

/* ---------- Problem / audience grid ---------- */
.problem-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
  align-items: start;
}

.audience-card {
  background: var(--blue-050);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--blue-100);
}
.audience-card h3 { margin-bottom: 10px; }
.audience-card p { margin-bottom: 20px; }

.grade-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}
.grade-pill {
  padding: 7px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--blue-100);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
}
.grade-pill.is-primary {
  background: var(--blue-800);
  border-color: var(--blue-800);
  color: #fff;
}

.problem-grid h2 { margin-bottom: 24px; }

.problem-list { display: grid; gap: 18px; }
.problem-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}
.problem-item:hover { box-shadow: var(--shadow-sm); transform: translateY(-1px); }
.problem-item svg { color: var(--gold-600); flex-shrink: 0; margin-top: 2px; }
.problem-item p { color: var(--ink); font-size: 0.96rem; }

/* ---------- Differentiator cards ---------- */
.diff-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.diff-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  text-align: left;
}
.diff-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: var(--blue-050);
  color: var(--blue-800);
  margin-bottom: 18px;
}
.diff-card h3 { margin-bottom: 8px; }

/* ---------- Method cycle diagram ---------- */
.method-wrap {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
}

.cycle {
  position: relative;
  width: min(380px, 100%);
  aspect-ratio: 1 / 1;
  margin: 0 auto;
}
.cycle::before {
  content: '';
  position: absolute;
  inset: 17%;
  border-radius: 50%;
  border: 1.5px dashed rgba(255, 255, 255, 0.28);
}

.cycle-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 108px;
  height: 108px;
  border-radius: 50%;
  background: var(--gold-500);
  color: var(--blue-900);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  box-shadow: var(--shadow-lg);
}
.cycle-center-label {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}

.cycle-list { position: absolute; inset: 0; }
.cycle-node {
  position: absolute;
  left: var(--x);
  top: var(--y);
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 92px;
}
.node-dot {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fff;
  color: var(--blue-800);
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  border: 2px solid var(--gold-500);
}
.node-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: #fff;
  text-align: center;
}

.method-copy .eyebrow { color: var(--gold-500); }
.method-copy > p { margin-bottom: 26px; max-width: 52ch; }

.method-steps { display: grid; gap: 16px; }
.method-step-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
.method-step-row:last-child { border-bottom: none; padding-bottom: 0; }
.step-key {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  color: var(--gold-500);
  font-size: 0.92rem;
}
.method-step-row p { color: #DCE8F5; font-size: 0.93rem; margin: 0; }

/* ---------- Snapshot / program cards ---------- */
.snapshot-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.snapshot-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-sm);
}
.snapshot-card h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}
.tag {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: var(--blue-050);
  color: var(--blue-800);
  padding: 4px 10px;
  border-radius: 999px;
}
.snapshot-list { display: grid; gap: 14px; }
.snapshot-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.93rem;
  color: var(--ink);
}
.snapshot-list svg { color: var(--gold-600); flex-shrink: 0; margin-top: 2px; }

/* ---------- Enrollment path ---------- */
.path {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 14px;
}
.path-step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 18px 14px;
  text-align: center;
  position: relative;
}
.path-step h4 { font-size: 0.88rem; margin-bottom: 6px; color: var(--blue-800); }
.path-step p { font-size: 0.78rem; line-height: 1.4; }
.path-step:not(:last-child)::after {
  content: '→';
  position: absolute;
  right: -12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gold-500);
  font-weight: 700;
  display: none;
}
@media (min-width: 900px) {
  .path-step:not(:last-child)::after { display: block; }
}

/* ---------- Pricing ---------- */
.pricing-teaser {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 760px;
  margin: 0 auto;
}
.price-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 34px;
  position: relative;
}
.price-card.is-featured {
  border-color: var(--gold-500);
  box-shadow: var(--shadow-md);
}
.badge {
  position: absolute;
  top: -12px;
  left: 34px;
  background: var(--gold-500);
  color: var(--blue-900);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 5px 12px;
  border-radius: 999px;
}
.price-card h3 { margin-bottom: 12px; }
.price {
  font-family: 'Poppins', sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--blue-900);
  margin-bottom: 14px;
}
.price span { font-size: 0.95rem; font-weight: 500; color: var(--muted); }
.price-desc { margin-bottom: 24px; font-size: 0.92rem; }

/* ---------- Values grid ---------- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.value-card {
  background: var(--blue-050);
  border-radius: var(--radius-md);
  padding: 22px 14px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.value-letter {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--blue-800);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--gold-500);
}
.value-word { font-size: 0.85rem; font-weight: 600; color: var(--blue-900); }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--blue-050);
  border-radius: var(--radius-lg);
  padding: 56px 40px;
  text-align: center;
}
.cta-band h2 { margin-bottom: 12px; }
.cta-band p { max-width: 56ch; margin: 0 auto 28px; }
.cta-band .hero-ctas { justify-content: center; margin-bottom: 0; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  padding: 56px 0 44px;
  background: var(--blue-050);
  border-bottom: 1px solid var(--blue-100);
}
.page-hero h1 { margin: 10px 0 14px; }

/* ---------- Stub / placeholder cards ---------- */
.stub-card {
  background: #fff;
  border: 1px dashed var(--blue-100);
  border-radius: var(--radius-lg);
  padding: 30px;
  margin-bottom: 24px;
}

/* ---------- Founder section ---------- */
.founder-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.founder-photo { margin: 0; }
.founder-photo .photo-frame {
  aspect-ratio: 5 / 4;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.founder-photo .photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}
.founder-photo figcaption {
  margin-top: 14px;
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--muted);
  text-align: center;
}
.founder-bio h3 { margin-bottom: 4px; }
.founder-bio .founder-title {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gold-600);
  margin-bottom: 18px;
}
.founder-bio p {
  margin-bottom: 16px;
  color: var(--ink);
  font-size: 0.98rem;
}
.founder-bio p:last-child { margin-bottom: 0; }
.stub-card h3 { margin-bottom: 12px; }
.stub-card p { margin: 0; }
.stub-card p + p { margin-top: 14px; }
.stub-list { display: grid; gap: 10px; margin-top: 12px; }
.stub-list li { font-size: 0.94rem; color: var(--ink); padding-left: 18px; position: relative; }
.stub-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-500);
}

/* ---------- Forms (enroll page) ---------- */
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--blue-700) !important;
  box-shadow: 0 0 0 3px rgba(11, 79, 140, 0.15);
}
.form-note {
  font-size: 0.86rem;
  line-height: 1.5;
  text-align: center;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--blue-900);
  color: #C7D7E7;
  padding: 64px 0 28px;
  margin-top: 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.footer-brand p { margin-top: 14px; font-size: 0.88rem; color: #9DB3C8; max-width: 34ch; }
.footer-brand .brand-word { color: #fff; }
.footer-col h5 {
  color: #fff;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}
.footer-col ul { display: grid; gap: 10px; }
.footer-col a, .footer-col li { font-size: 0.9rem; color: #B9CBDD; }
.footer-col a:hover { color: var(--gold-500); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  padding-top: 24px;
  font-size: 0.8rem;
  color: #8CA3B8;
}

.footer-bottom a { color: #B9CBDD; text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom a:hover { color: var(--gold-500); }

.policy-content { max-width: 820px; }
.policy-content h2 { margin-top: 34px; margin-bottom: 10px; }
.policy-content h2:first-child { margin-top: 0; }
.policy-content p { margin-bottom: 16px; }
.policy-content ul { margin: 0 0 20px 1.25rem; display: grid; gap: 8px; }
.policy-content li { padding-left: 4px; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { order: -1; max-width: 340px; margin: 0 auto; }
  .problem-grid { grid-template-columns: 1fr; }
  .method-wrap { grid-template-columns: 1fr; }
  .diff-grid { grid-template-columns: 1fr; }
  .snapshot-grid { grid-template-columns: 1fr; }
  .founder-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .path { grid-template-columns: repeat(4, 1fr); }
  .values-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 760px) {
  .container { padding-left: 18px; padding-right: 18px; }
  .nav { padding: 12px 18px; gap: 12px; }
  .nav-links {
    position: fixed;
    z-index: 99;
    top: 66px;
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    padding: 24px;
    gap: 4px;
    transform: translateX(100%);
    transition: transform 0.25s ease;
    overflow-y: auto;
  }
  .nav-links.is-open { transform: translateX(0); }
  .nav-links li { border-bottom: 1px solid var(--line); }
  .nav-links li a { display: block; padding: 14px 4px; }
  .nav-links li a.btn {
    display: inline-flex;
    margin: 14px 0;
    width: 100%;
  }
  .nav-cta .btn-sm { display: none; }
  .nav-toggle { display: block; }

  .hero { padding: 42px 0 38px; }
  .hero-grid { gap: 30px; }
  .hero-visual { order: initial; max-width: 300px; }
  .hero-ctas .btn { width: 100%; }
  .btn { white-space: normal; text-align: center; line-height: 1.35; }
  .page-hero { padding: 42px 0 36px; }
  .trust-row { justify-content: flex-start; }
  .path { grid-template-columns: repeat(2, 1fr); }
  .pricing-teaser { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .snapshot-card h3 { flex-wrap: wrap; }
  .method-step-row { grid-template-columns: 1fr; gap: 4px; }
  .cta-band { padding: 40px 24px; }
  .section { padding: 52px 0; }
  .section--blue { padding: 56px 0; }
}

@media (max-width: 480px) {
  .brand { gap: 8px; }
  .brand-mark { width: 30px; height: 30px; }
  .site-header .brand-lettering { width: 178px; height: 21.7px; }
  .path { grid-template-columns: 1fr; }
  .audience-card,
  .snapshot-card,
  .price-card,
  .stub-card { padding: 24px 20px; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .cycle { width: min(300px, 100%); }
  .node-dot { width: 30px; height: 30px; font-size: 0.82rem; }
  .node-label { font-size: 0.7rem; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .problem-item, .nav-links { transition: none; }
}


/* V8 preview: approved raster lettering only; original S icons retained. */
.brand-lettering {
  display: block;
  width: 212px;
  height: 25.88px;
  flex-shrink: 0;
  overflow: hidden;
}
.site-footer .brand-lettering {
  filter: grayscale(1) invert(1) brightness(6);
  mix-blend-mode: screen;
}

/* ---------- Student story imagery ---------- */
.problem-support-column {
  display: grid;
  gap: 24px;
}
.story-image {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  background: var(--blue-050);
}
.story-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.story-image--home {
  aspect-ratio: 3 / 2;
}
.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr);
  gap: 56px;
  align-items: center;
}
.story-image--hero {
  aspect-ratio: 3 / 2;
}
.story-image--program img {
  object-position: center;
}
.mastery-feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px;
  align-items: stretch;
  margin-top: 32px;
}
.story-image--mastery {
  min-height: 100%;
}
.mastery-feature-copy {
  display: grid;
  gap: 20px;
}
.mastery-feature-copy .stub-card {
  margin: 0;
}

@media (max-width: 980px) {
  .page-hero-grid,
  .mastery-feature {
    grid-template-columns: 1fr;
  }
  .page-hero-grid { gap: 32px; }
  .story-image--hero { max-width: 720px; }
  .story-image--mastery { aspect-ratio: 3 / 2; }
}

@media (max-width: 760px) {
  .story-image,
  .story-image--home,
  .story-image--hero,
  .story-image--mastery {
    aspect-ratio: 4 / 3;
  }
  .story-image img { object-position: center; }
  .story-image--home img { object-position: 58% center; }
}
