/* Common Ladder — Global Stylesheet
   Brand: Ladder Blue #1C3D6E | Rung Amber #E8911A | Resource Sage #4A9E82
   Fonts: Manrope 600 (display) + Inter 400 (body)
*/

/* ─── Reset & Variables ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue:   #1C3D6E;
  --amber:  #E8911A;
  --sage:   #4A9E82;
  --white:  #F8F7F4;
  --dark:   #1A1A2E;
  --gray:   #6B7280;
  --light:  #EEF2F7;
  --radius: 8px;
  --shadow: 0 2px 12px rgba(28,61,110,.10);
  --max:    1120px;
  --gap:    clamp(1rem, 4vw, 2rem);
}

html { scroll-behavior: smooth; overflow-x: hidden; }
body { overflow-x: hidden; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--dark);
  background: var(--white);
}

img { max-width: 100%; display: block; }
a  { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
  font-family: 'Manrope', 'DM Sans', system-ui, sans-serif;
  font-weight: 600;
  line-height: 1.25;
  color: var(--blue);
}

/* ─── Google Fonts ─────────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@600;700&family=Inter:wght@400;500&display=swap');

/* ─── Layout ────────────────────────────────────────────────────────── */
.container { max-width: var(--max); margin: 0 auto; padding: 0 var(--gap); }
.section    { padding: clamp(3rem, 8vw, 6rem) 0; }
.section--alt { background: var(--light); }

/* ─── Navigation ────────────────────────────────────────────────────── */
.nav {
  background: var(--blue);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,.2);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem var(--gap);
  max-width: var(--max);
  margin: 0 auto;
}
.nav__logo {
  font-family: 'Manrope', sans-serif;
  font-weight: 600;
  font-size: 1.25rem;
  color: #fff;
  display: flex;
  align-items: center;
  gap: .5rem;
  letter-spacing: -.01em;
  text-decoration: none;
}
.nav__logo:hover { text-decoration: none; }
.nav__logo .nav__wordmark { color: inherit; }
.nav__logo .nav__wordmark span { color: var(--amber); }
.nav__links { display: flex; gap: 1.5rem; list-style: none; }
.nav__links a {
  color: rgba(255,255,255,.85);
  font-size: .95rem;
  font-weight: 500;
  transition: color .2s;
}
.nav__links a:hover { color: var(--amber); text-decoration: none; }
.nav__cta {
  background: var(--amber);
  color: var(--dark) !important;
  padding: .5rem 1.25rem;
  border-radius: var(--radius);
  font-weight: 600 !important;
  font-size: .9rem !important;
}
.nav__cta:hover { background: #d4810f; }

/* Mobile nav toggle */
.nav__toggle { display: none; background: none; border: none; cursor: pointer; padding: 0.5rem; }
.nav__toggle span {
  display: block; width: 24px; height: 2px;
  background: #fff; margin: 5px 0; transition: .3s;
}
@media (max-width: 720px) {
  /* Push toggle to the right edge; logo stays on the left */
  .nav__toggle { display: block; margin-left: auto; }
  .nav__links {
    display: none;
    flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--blue);
    padding: 1rem var(--gap) 1.5rem;
    gap: 1rem;
  }
  .nav__links.open { display: flex; }
  .nav__cta { display: inline-block; width: max-content; }
}

/* ─── Hero ──────────────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, var(--blue) 0%, #163060 100%);
  color: #fff;
  padding: clamp(4rem, 12vw, 8rem) 0;
  text-align: center;
}
.hero h1 {
  color: #fff;
  font-size: clamp(2rem, 5vw, 3.5rem);
  max-width: 800px;
  margin: 0 auto .75rem;
}
.hero h1 em { color: var(--amber); font-style: normal; }
.hero p {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  opacity: .88;
  max-width: 600px;
  margin: 0 auto 2.5rem;
}
.hero__actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ─── Buttons ───────────────────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: .85rem 2rem;
  border-radius: var(--radius);
  font-family: 'Manrope', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: transform .15s, box-shadow .15s;
  min-height: 48px;
  text-align: center;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 4px 16px rgba(0,0,0,.15); text-decoration: none; }
.btn--primary  { background: var(--amber); color: var(--dark); }
.btn--outline  { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.6); }
.btn--outline:hover { border-color: #fff; }
.btn--blue     { background: var(--blue); color: #fff; }
.btn--sm       { padding: .6rem 1.25rem; font-size: .9rem; }

/* ─── Audience Cards ─────────────────────────────────────────────────── */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.card {
  background: #fff;
  border-radius: var(--radius);
  padding: 0;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--blue);
  transition: transform .2s, box-shadow .2s;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  position: relative;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 6px 24px rgba(28,61,110,.14); }
.card > h3,
.card > p,
.card > a,
.card > .btn { margin-left: 1.75rem; margin-right: 1.75rem; }
.card > h3:first-child,
.card > .card__icon + h3 { margin-top: 1.5rem; }
.card > .card__photo + h3 { margin-top: 1.25rem; }
.card > *:last-child { margin-bottom: 1.75rem; }
.card h3 { color: var(--blue); font-size: 1.1rem; }
.card p  { color: var(--gray); font-size: .95rem; }
.card--amber { border-top-color: var(--amber); }
.card--sage  { border-top-color: var(--sage);  }

/* Legacy emoji icon — kept for backward compat on any unmigrated card */
.card__icon { font-size: 2rem; margin: 1.5rem 1.75rem .75rem; }

/* Photo treatment — Common Ladder visual identity.
   Each .card__photo is a 4:3 figure that loads a real photo.
   If the photo is missing, a brand-colored gradient + subtle ladder pattern
   stands in (looks intentional, never broken). */
.card__photo {
  position: relative;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, var(--blue) 0%, #163060 60%, var(--blue) 100%);
  background-size: cover;
  background-position: center;
  overflow: hidden;
  isolation: isolate;
}
.card__photo::before {
  /* subtle ladder pattern, shows only when no bg-image set (fallback look) */
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(transparent 0 22%, rgba(255,255,255,.10) 22% 24%, transparent 24% 100%),
    linear-gradient(transparent 0 47%, rgba(255,255,255,.10) 47% 49%, transparent 49% 100%),
    linear-gradient(transparent 0 72%, rgba(255,255,255,.10) 72% 74%, transparent 74% 100%),
    linear-gradient(90deg, transparent 0 18%, rgba(255,255,255,.18) 18% 20%, transparent 20% 100%),
    linear-gradient(90deg, transparent 0 80%, rgba(255,255,255,.18) 80% 82%, transparent 82% 100%);
  z-index: 1;
  opacity: .9;
  transition: opacity .3s;
}
.card__photo.has-image::before { opacity: 0; }
.card__photo img {
  position: relative; z-index: 2;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0; /* fade in on load */
  transition: opacity .4s;
}
.card__photo img.loaded { opacity: 1; }
.card--amber .card__photo {
  background: linear-gradient(135deg, var(--amber) 0%, #c87614 60%, var(--amber) 100%);
}
.card--sage .card__photo {
  background: linear-gradient(135deg, var(--sage) 0%, #3a7d68 60%, var(--sage) 100%);
}

/* Inline functional icons (address, phone, hours, web).
   Replaces emoji 📍 📞 🕐 🌐 — consistent across platforms, accessible. */
.icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  vertical-align: -.15em;
  fill: currentColor;
  flex-shrink: 0;
  margin-right: .35em;
  opacity: .75;
}

/* ─── Section headings ──────────────────────────────────────────────── */
.section-head { text-align: center; margin-bottom: 2.5rem; }
.section-head h2 { font-size: clamp(1.5rem, 3.5vw, 2.25rem); }
.section-head p  { color: var(--gray); max-width: 580px; margin: .75rem auto 0; font-size: 1.05rem; }
.eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: .4rem;
}

/* ─── Stats bar ─────────────────────────────────────────────────────── */
.stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem 4rem;
  text-align: center;
}
.stat__num { font-family: 'Manrope', sans-serif; font-size: 2.5rem; font-weight: 700; color: var(--amber); }
.stat__label { font-size: .9rem; color: var(--gray); }

/* ─── Blog grid ─────────────────────────────────────────────────────── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.post-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex; flex-direction: column;
  cursor: pointer;
  position: relative;
}
.post-card__body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.post-card__cat  {
  font-size: .75rem; font-weight: 600; letter-spacing: .06em;
  text-transform: uppercase; color: var(--sage); margin-bottom: .4rem;
}
.post-card h3    { font-size: 1.05rem; color: var(--blue); margin-bottom: .5rem; }
.post-card p     { font-size: .9rem; color: var(--gray); flex: 1; }
.post-card__foot { padding: .75rem 1.5rem 1.25rem; }

/* ─── Resource list ─────────────────────────────────────────────────── */
.resource-list { list-style: none; }
.resource-list li {
  padding: 1rem 0;
  border-bottom: 1px solid #e5e7eb;
  display: flex; gap: 1rem; align-items: flex-start;
}
.resource-list li:last-child { border: none; }
.resource-badge {
  background: var(--sage);
  color: #fff;
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: .2rem .55rem;
  border-radius: 999px;
  white-space: nowrap;
}
.resource-badge--amber { background: var(--amber); color: var(--dark); }
.resource-badge--blue  { background: var(--blue); }

/* ─── Inline callout ─────────────────────────────────────────────────── */
.callout {
  background: var(--blue);
  color: #fff;
  border-radius: var(--radius);
  padding: 2.5rem var(--gap);
  text-align: center;
}
.callout h2 { color: #fff; margin-bottom: .75rem; }
.callout p  { opacity: .88; max-width: 540px; margin: 0 auto 1.75rem; }

/* ─── Footer ────────────────────────────────────────────────────────── */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,.75);
  padding: 3rem 0 1.5rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
.footer__brand h3 { color: #fff; margin-bottom: .5rem; }
.footer__brand p  { font-size: .9rem; }
.footer h4 { color: #fff; font-size: .9rem; margin-bottom .75rem; }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: .4rem; }
.footer ul a { color: rgba(255,255,255,.65); font-size: .9rem; }
.footer ul a:hover { color: var(--amber); text-decoration: none; }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 1.25rem;
  font-size: .85rem;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem;
}
@media (max-width: 640px) {
  .footer__grid { grid-template-columns: 1fr; }
}

/* ─── Blog article ───────────────────────────────────────────────────── */
.article { max-width: 740px; margin: 0 auto; padding: clamp(2rem,6vw,4rem) var(--gap); }
.article h1 { font-size: clamp(1.6rem, 4vw, 2.4rem); margin-bottom: .5rem; }
.article .meta { color: var(--gray); font-size: .9rem; margin-bottom: 2rem; }
.article h2 { font-size: 1.4rem; margin: 2rem 0 .75rem; }
.article h3 { font-size: 1.1rem; margin: 1.5rem 0 .5rem; color: var(--dark); }
.article p  { margin-bottom: 1.2rem; }
.article ul, .article ol { margin: 0 0 1.2rem 1.5rem; }
.article li { margin-bottom: .4rem; }
.article blockquote {
  border-left: 4px solid var(--amber);
  padding: .75rem 1.25rem;
  background: var(--light);
  margin: 1.5rem 0;
  border-radius: 0 var(--radius) var(--radius) 0;
}

/* ─── Utility ───────────────────────────────────────────────────────── */
.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }


/* ─── Hero 2-path selector ────────────────────────────────────────────── */
.hero-paths {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .75rem;
  max-width: 560px;
  margin: 2rem auto 0;
}
.hero-path {
  background: rgba(255,255,255,.1);
  border: 2px solid rgba(255,255,255,.22);
  border-radius: 14px;
  padding: 1.35rem 1rem 1.25rem;
  text-align: center;
  text-decoration: none;
  color: #fff;
  transition: background .18s, border-color .18s, transform .15s;
  display: block;
}
.hero-path:hover {
  background: rgba(255,255,255,.18);
  border-color: rgba(255,255,255,.55);
  transform: translateY(-2px);
}
.hero-path--primary {
  border-color: var(--amber);
  background: rgba(232,145,26,.18);
}
.hero-path--primary:hover {
  background: rgba(232,145,26,.28);
  border-color: var(--amber);
}
.hero-path__icon { font-size: 2rem; margin-bottom: .5rem; line-height: 1; }
.hero-path__label { font-size: 1rem; font-weight: 800; margin-bottom: .3rem; }
.hero-path__sub { font-size: .78rem; opacity: .75; line-height: 1.4; }
@media (max-width: 400px) {
  .hero-paths { grid-template-columns: 1fr; }
}

/* ─── Finder Widget ──────────────────────────────────────────────────── */
.finder-widget {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem 1.5rem;
  max-width: 600px;
  margin: 2rem auto 0;
  text-align: left;
}
.finder-tabs {
  display: flex;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255,255,255,.18);
}
.finder-tab {
  background: none; border: none; cursor: pointer;
  color: rgba(255,255,255,.55);
  font: .9rem/1 'Inter', sans-serif;
  padding: 0 0 .75rem;
  margin-right: 1.5rem;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color .15s, border-color .15s;
}
.finder-tab.active { color: #fff; border-bottom-color: var(--amber); }
.finder-panel { display: none; }
.finder-panel.active { display: block; }
.finder-input-row { display: flex; gap: .5rem; flex-wrap: wrap; }
.finder-input, .finder-select {
  flex: 1; min-width: 140px;
  padding: .65rem .9rem;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: var(--radius);
  background: rgba(255,255,255,.14);
  color: #fff;
  font: 1rem 'Inter', sans-serif;
  outline: none;
  transition: border-color .15s, background .15s;
}
.finder-input::placeholder { color: rgba(255,255,255,.45); }
.finder-input:focus, .finder-select:focus {
  border-color: var(--amber);
  background: rgba(255,255,255,.2);
}
.finder-select option { background: var(--blue); color: #fff; }
.finder-select-col { display: flex; flex-direction: column; gap: .5rem; }
.finder-secondary { margin-top: .75rem; }
.finder-secondary p { color: rgba(255,255,255,.7); font-size: .85rem; margin-bottom: .4rem; }
.finder-secondary select { width: 100%; }
.finder-error { color: #ffb3b3; font-size: .85rem; margin-top: .5rem; }
.finder-result {
  margin-top: 1.25rem;
  border-top: 1px solid rgba(255,255,255,.15);
  padding-top: 1.25rem;
}
.finder-badge {
  display: inline-block;
  font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: .2rem .55rem; border-radius: 999px; margin-bottom: .6rem;
}
.finder-badge--live { background: var(--sage); color: #fff; }
.finder-badge--soon { background: rgba(255,255,255,.18); color: rgba(255,255,255,.9); }
.finder-result h3 { color: #fff; font-size: 1.05rem; margin: 0 0 .35rem; }
.finder-result p { color: rgba(255,255,255,.78); font-size: .9rem; margin: 0 0 .9rem; }
.finder-result .btn { margin-top: .25rem; }
.finder-hud { display: block; color: var(--amber); font-size: .9rem; font-weight: 600; text-decoration: none; margin-bottom: 1rem; }
.finder-hud:hover { text-decoration: underline; }
.finder-soon {
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: .9rem; margin-top: .9rem;
}
.finder-soon p { font-size: .85rem; color: rgba(255,255,255,.65); margin-bottom: .55rem; }
.finder-notify { display: flex; gap: .5rem; flex-wrap: wrap; }
.finder-notify-input {
  flex: 1; min-width: 180px;
  padding: .5rem .75rem;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: var(--radius);
  background: rgba(255,255,255,.12);
  color: #fff; font: .875rem 'Inter', sans-serif;
}
.finder-notify-input::placeholder { color: rgba(255,255,255,.4); }
.finder-confirm { color: rgba(255,255,255,.8); font-size: .85rem; margin-top: .5rem; }
@media (max-width: 480px) {
  .finder-input-row { flex-direction: column; }
  .finder-input-row .btn { width: 100%; }
  .finder-notify { flex-direction: column; }
  .finder-notify .btn { width: 100%; }
}

/* ─── Canonical global shell — skip-link, crisis-bar, nav refinements ──── */

.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  background: var(--amber);
  color: var(--dark);
  font-weight: 700;
  padding: .6rem 1.2rem;
  border-radius: 0 0 var(--radius) var(--radius);
  z-index: 9999;
  text-decoration: none;
  transition: top .15s;
}
.skip-link:focus {
  top: 0;
  outline: 3px solid var(--blue);
  outline-offset: 2px;
}

.crisis-bar {
  background: var(--cream);
  border-bottom: 1px solid #E5E7EB;
  color: var(--dark);
  font-size: .85rem;
  text-align: center;
  padding: .55rem var(--gap);
  line-height: 1.5;
}
.crisis-bar a {
  color: var(--blue);
  font-weight: 600;
  text-decoration: none;
  margin: 0 .15rem;
}
.crisis-bar a:hover { text-decoration: underline; }
.crisis-bar__sep {
  color: #9CA3AF;
  margin: 0 .35rem;
}
.crisis-bar strong { margin-right: .5rem; }
@media (max-width: 560px) {
  .crisis-bar { font-size: .78rem; padding: .5rem .75rem; }
  .crisis-bar__sep { margin: 0 .2rem; }
}

/* Nav refinements — prevent ugly wrapping; keep CTA on one line */
.nav__links { flex-wrap: wrap; align-items: center; }
.nav__links a { white-space: nowrap; }
.nav__cta { white-space: nowrap; }

/* My Ladder — secondary CTA, white outline pill */
.nav__cta--ladder {
  background: transparent !important;
  color: #fff !important;
  border: 1.5px solid rgba(255,255,255,.55) !important;
  padding: .45rem 1.1rem !important;
}
.nav__cta--ladder:hover {
  background: rgba(255,255,255,.12) !important;
  border-color: rgba(255,255,255,.85) !important;
  color: #fff !important;
}

/* Leave page — readable but calm; clearly an exit control */
.nav__exit {
  color: rgba(255,255,255,.82) !important;
  font-size: .85rem !important;
  border: 1.5px solid rgba(255,255,255,.45);
  padding: .35rem .9rem;
  border-radius: var(--radius);
  white-space: nowrap;
  letter-spacing: .01em;
}
.nav__exit:hover {
  color: #fff !important;
  border-color: rgba(255,255,255,.85);
  background: rgba(255,255,255,.08);
}

/* ─── Learn pathway components ─────────────────────────────────────── */

/* Pathway landing cards */
.pathway-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.pathway-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--blue);
  display: flex;
  flex-direction: column;
  transition: transform .2s, box-shadow .2s;
}
.pathway-card:hover { transform: translateY(-3px); box-shadow: 0 6px 24px rgba(28,61,110,.14); }
.pathway-card__num {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #C97813; /* amber-deep — passes contrast on white */
  margin-bottom: .5rem;
}
.pathway-card h3 { color: var(--blue); margin-bottom: .5rem; font-size: 1.15rem; }
.pathway-card p { color: var(--gray); font-size: .95rem; margin-bottom: 1.25rem; flex: 1; }
.pathway-card__cta {
  color: var(--blue);
  font-weight: 600;
  font-size: .9rem;
  text-decoration: none;
}
.pathway-card__cta:hover { text-decoration: underline; }
.pathway-card__cta::after { content: " →"; }

/* Long-form article shell for pathway pages */
.pathway {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(2rem, 6vw, 4rem) var(--gap);
}
.pathway__eyebrow {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #C97813;
  margin-bottom: .75rem;
}
.pathway h1 {
  font-size: clamp(1.85rem, 4.5vw, 2.6rem);
  margin-bottom: 1rem;
  line-height: 1.2;
}
.pathway__lede {
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--dark);
  margin-bottom: 2rem;
}
.pathway h2 {
  font-size: 1.5rem;
  margin: 2.75rem 0 .85rem;
  scroll-margin-top: 80px;
}
.pathway h3 {
  font-size: 1.15rem;
  margin: 1.75rem 0 .5rem;
  color: var(--dark);
  scroll-margin-top: 80px;
}
.pathway p { margin-bottom: 1.1rem; }
.pathway ul, .pathway ol { margin: 0 0 1.2rem 1.5rem; }
.pathway li { margin-bottom: .5rem; }
.pathway a { color: var(--blue); border-bottom: 1px solid rgba(28,61,110,.25); }
.pathway a:hover { text-decoration: none; border-bottom-color: var(--blue); }

/* Depth tier labels — visual signpost the deeper you scroll */
.tier {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #4B5563;
  padding: .35rem .7rem;
  border: 1px solid #E5E7EB;
  border-radius: 999px;
  background: #fff;
  margin-top: 3.5rem;
}
.tier::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--sage);
}
.tier--2::before { background: var(--amber); }
.tier--3::before { background: var(--blue); }

/* Pull-quote and key-fact callouts */
.pull {
  border-left: 4px solid var(--amber);
  padding: .9rem 1.25rem;
  background: var(--light);
  margin: 1.5rem 0;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 1.05rem;
  color: var(--dark);
}
.pull__cite { display: block; font-size: .85rem; color: #4B5563; margin-top: .5rem; }

.keyfact {
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem;
  align-items: center;
}
.keyfact__num {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  color: #C97813;
  line-height: 1;
}
.keyfact__body { font-size: .95rem; color: var(--dark); }

/* On-this-page jump nav */
.onpage {
  background: var(--light);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0 2.5rem;
}
.onpage h2 {
  font-family: 'Manrope', sans-serif;
  font-size: .75rem !important;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gray);
  margin: 0 0 .75rem !important;
}
.onpage ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .5rem;
}
.onpage li { margin: 0; counter-increment: onpage-item; }
.onpage li::before {
  content: counter(onpage-item) ".";
  color: #C97813;
  font-weight: 700;
  margin-right: .5rem;
}
.onpage { counter-reset: onpage-item; }
.onpage a {
  color: var(--blue);
  font-size: .95rem;
  border-bottom: none;
}
.onpage a:hover { text-decoration: underline; }

/* Continue your path — prev / next pathway */
.continue {
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid #E5E7EB;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.continue a {
  display: block;
  padding: 1.25rem 1.5rem;
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: var(--radius);
  text-decoration: none;
  border-bottom: 1px solid #E5E7EB;
  transition: border-color .2s, box-shadow .2s;
}
.continue a:hover { border-color: var(--blue); box-shadow: var(--shadow); }
.continue__dir {
  font-family: 'Manrope', sans-serif;
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #4B5563;
  margin-bottom: .35rem;
}
.continue__title { color: var(--blue); font-weight: 600; font-size: 1.02rem; }
.continue--next { text-align: right; }
@media (max-width: 560px) {
  .continue { grid-template-columns: 1fr; }
  .continue--next { text-align: left; }
}

/* Related box at the end of deep sections */
.related {
  background: var(--light);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin: 2rem 0;
}
.related h3 {
  font-size: .85rem !important;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gray);
  margin: 0 0 .75rem !important;
}
.related ul { margin: 0 0 0 1.25rem; }
.related li { font-size: .95rem; margin-bottom: .4rem; }

/* Sources block */
.sources {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid #E5E7EB;
  font-size: .9rem;
  color: #4B5563;
}
.sources h2 { font-size: 1rem !important; color: var(--dark) !important; margin: 0 0 .75rem !important; }
.sources ol { margin-left: 1.5rem; }
.sources li { margin-bottom: .5rem; }

/* Inline footnote reference marker.
   Deliberately NOT a link: it lends credibility in the flow of reading
   without inviting a click that pulls the reader off the page. The full,
   clickable citation lives in the .footnotes list near the page bottom. */
sup.fn-ref {
  font-size: .68em;
  font-weight: 600;
  line-height: 0;
  color: var(--blue);
  cursor: default;
  margin-left: 1px;
  white-space: nowrap;
}

/* Footnotes block — sits BELOW the read-next block, just above the footer.
   Numbered list of full citations; the external source links here ARE
   clickable and open in a new tab. */
.footnotes {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #E5E7EB;
  font-size: .85rem;
  color: #4B5563;
}
.footnotes h2 {
  font-size: .8rem !important;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gray);
  margin: 0 0 .75rem !important;
}
.footnotes ol { margin: 0 0 0 1.4rem; padding: 0; }
.footnotes li { margin-bottom: .5rem; line-height: 1.5; }
.footnotes a { color: var(--blue); text-decoration: underline; }
.footnotes a:hover { color: var(--amber); }

/* FAQ block — answer-engine / AEO structuring on resource guides.
   The visible Q&A here is mirrored by a FAQPage JSON-LD block in <head>. */
.faq { margin: 2.5rem 0 0; }
.faq > h2 { font-size: 1.25rem !important; color: var(--blue) !important; margin: 0 0 1rem !important; }
.faq__item {
  border-top: 1px solid #E5E7EB;
  padding: 1rem 0;
}
.faq__item:last-child { border-bottom: 1px solid #E5E7EB; }
.faq__item h3 { font-size: 1rem !important; color: var(--dark) !important; margin: 0 0 .4rem !important; }
.faq__item p { margin: 0; color: #374151; }
.faq__item p + p { margin-top: .5rem; }


/* ─── Global focus styles ────────────────────────────────────────────── */
/* Amber ring is visible on both light (page) and dark (nav) backgrounds.
   :focus-visible means the ring only shows for keyboard/AT navigation —
   mouse clicks won't trigger it, keeping the design clean for pointer users. */
a:focus-visible,
button:focus-visible,
[role="button"]:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 3px;
  border-radius: 3px;
}

/* Skip link already has its own focus style; reinforce it */
.skip-link:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
}

/* Utility class for visually-hidden labels (accessible to screen readers) */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ─── Hover behavior — no underlines on cards/buttons ──────────────── */
.card, .card:hover,
.card a, .card a:hover,
.card h3, .card h3 a, .card h3 a:hover,
.card p a, .card p a:hover,
.cat-tile, .cat-tile:hover,
.cat-tile a, .cat-tile a:hover,
.help-hub__card, .help-hub__card:hover,
.pathway-card, .pathway-card:hover,
.pathway-card a, .pathway-card a:hover {
  text-decoration: none;
}
.btn:hover, .nav__cta:hover { text-decoration: none; }


/* ─── My Ladder questionnaire (shared between my-ladder.html + homepage embed) ── */
.ml-q-progress { margin-bottom: 1.5rem; }
.ml-q-progress-label {
  display: flex;
  justify-content: space-between;
  font-size: .78rem;
  color: var(--gray);
  margin-bottom: .4rem;
}
.ml-q-progress-track {
  background: #E5E9F0;
  border-radius: 99px;
  height: 6px;
  overflow: hidden;
}
.ml-q-progress-fill {
  background: var(--amber);
  height: 100%;
  border-radius: 99px;
  transition: width .4s ease;
}
.ml-q-card {
  background: #fff;
  border: 1.5px solid #E5E9F0;
  border-radius: 12px;
  box-shadow: 0 1px 4px rgba(0,0,0,.08);
  padding: clamp(1.25rem, 3vw, 2rem);
}
.ml-q-num {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: .5rem;
}
.ml-q-text {
  font-family: 'Manrope', 'DM Sans', system-ui, sans-serif;
  font-size: clamp(1.05rem, 2.5vw, 1.35rem);
  font-weight: 600;
  color: var(--blue);
  line-height: 1.3;
  margin-bottom: 1.25rem;
}
.ml-q-options {
  display: flex;
  flex-direction: column;
  gap: .55rem;
}
.ml-q-btn {
  display: flex;
  align-items: center;
  gap: .65rem;
  width: 100%;
  padding: .85rem 1rem;
  background: #fff;
  border: 2px solid #E5E9F0;
  border-radius: var(--radius);
  cursor: pointer;
  font-size: .95rem;
  font-family: inherit;
  color: var(--dark);
  text-align: left;
  transition: border-color .15s, background .15s;
  line-height: 1.35;
}
.ml-q-btn:hover {
  border-color: var(--blue);
  background: #F0F5FF;
}
.ml-q-btn.selected {
  border-color: var(--amber);
  background: #FFFBF0;
}
.ml-q-btn .ml-q-emoji {
  font-size: 1.25rem;
  flex-shrink: 0;
  width: 1.75rem;
  text-align: center;
}
.ml-q-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1.25rem;
  gap: 1rem;
}
.ml-q-back {
  background: none;
  border: 2px solid #E5E9F0;
  color: var(--gray);
  padding: .55rem 1.1rem;
  border-radius: var(--radius);
  font: 600 .88rem 'Inter', sans-serif;
  cursor: pointer;
  transition: border-color .15s, color .15s;
}
.ml-q-back:hover { border-color: var(--gray); color: var(--dark); }
.ml-q-next {
  background: var(--blue);
  color: #fff;
  border: none;
  padding: .65rem 1.5rem;
  border-radius: var(--radius);
  font: 600 .92rem 'Inter', sans-serif;
  cursor: pointer;
  transition: background .15s;
  margin-left: auto;
}
.ml-q-next:hover { background: #163060; }
.ml-q-next:disabled { opacity: .4; cursor: not-allowed; }

/* Per-rung saved-plan UI (checkbox + notes) on my-ladder.html */
.rung-state {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px dashed #E5E9F0;
  flex-wrap: wrap;
}
.rung-state__toggle {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: #fff;
  border: 2px solid #E5E9F0;
  color: var(--blue);
  padding: .45rem .9rem;
  border-radius: var(--radius);
  font: 600 .82rem 'Inter', sans-serif;
  cursor: pointer;
  transition: background .15s, border-color .15s;
}
.rung-state__toggle:hover { border-color: var(--blue); background: #F0F5FF; }
.rung-state__toggle--done {
  background: var(--sage);
  border-color: var(--sage);
  color: #fff;
}
.rung-state__toggle--done:hover { background: #3e8c72; border-color: #3e8c72; }
.rung-notes {
  margin-top: 1rem;
}
.rung-notes__label {
  display: block;
  font-size: .78rem;
  font-weight: 600;
  color: var(--gray);
  margin-bottom: .35rem;
}
.rung-notes__field {
  width: 100%;
  min-height: 70px;
  padding: .65rem .8rem;
  border: 1.5px solid #E5E9F0;
  border-radius: var(--radius);
  font: 400 .9rem 'Inter', sans-serif;
  color: var(--dark);
  background: #FAFBFD;
  resize: vertical;
}
.rung-notes__field:focus {
  outline: none;
  border-color: var(--amber);
  background: #fff;
}
.rung-notes__saved {
  display: inline-block;
  margin-top: .35rem;
  font-size: .75rem;
  color: var(--sage);
  opacity: 0;
  transition: opacity .25s;
}
.rung-notes__saved.visible { opacity: 1; }

/* Homepage hero embed — wider container, 2-column layout that doesn't collide
   with the existing .hero-paths grid (we keep .hero-paths around for any other
   page that wants it; the homepage now uses .hero-embed). */
.hero-embed {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 1rem;
  max-width: 920px;
  margin: 2rem auto 0;
  text-align: left;
}
.hero-embed__card {
  background: rgba(255,255,255,.96);
  color: var(--dark);
  border-radius: 14px;
  padding: 1.4rem clamp(1.25rem, 3vw, 1.75rem);
  box-shadow: 0 4px 14px rgba(0,0,0,.18);
  display: flex;
  flex-direction: column;
}
.hero-embed__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: .75rem;
  margin-bottom: 1rem;
}
.hero-embed__title {
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: clamp(1rem, 2.4vw, 1.18rem);
  font-weight: 700;
  color: var(--blue);
  line-height: 1.3;
  margin: 0;
  flex: 1;
}
.hero-embed__myladder {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  background: var(--amber);
  color: #fff;
  padding: .4rem .75rem;
  border-radius: var(--radius);
  font: 700 .78rem 'Inter', sans-serif;
  text-decoration: none;
  white-space: nowrap;
  transition: background .15s;
}
.hero-embed__myladder:hover { background: #c97a14; text-decoration: none; }
.hero-embed__myladder svg { width: 12px; height: 12px; }
.hero-embed__learn {
  background: rgba(255,255,255,.1);
  border: 2px solid rgba(255,255,255,.22);
  border-radius: 14px;
  padding: 1.4rem 1rem;
  text-align: center;
  text-decoration: none;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: background .18s, border-color .18s, transform .15s;
}
.hero-embed__learn:hover {
  background: rgba(255,255,255,.18);
  border-color: rgba(255,255,255,.55);
  transform: translateY(-2px);
  text-decoration: none;
  color: #fff;
}
.hero-embed__learn-icon { font-size: 2.25rem; margin-bottom: .5rem; line-height: 1; }
.hero-embed__learn-label { font-size: 1.05rem; font-weight: 800; margin-bottom: .35rem; }
.hero-embed__learn-sub { font-size: .82rem; opacity: .8; line-height: 1.4; }

@media (max-width: 720px) {
  .hero-embed {
    grid-template-columns: 1fr;
  }
}
