/* =========================================================================
   Pathways 2.0 — main stylesheet
   Faithful to the original Adobe Muse site (2019): filson-soft light weights,
   grey #7F7F7F type, uppercase page titles, white type on Pathways gold,
   outlined uppercase buttons, charcoal footer.
   Plain CSS, no build step. Tokens first.
   ========================================================================= */

:root {
  /* Brand (from the Muse CSS) */
  --gold: #e9a30e;
  --gold-light: #f5c868;
  --grey: #7f7f7f;          /* body + titles */
  --grey-light: #a0a0a0;    /* footer + Facebook box */
  --grey-line: #d1d0d0;     /* rules, button borders */
  --charcoal: #393939;      /* footer, Facebook box */
  --black: #000000;         /* current nav item */
  --white: #ffffff;
  --navy: #2e3192;          /* wordmark only */

  /* Type */
  --font: filson-soft, "Nunito", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  /* Figma text styles (Oct 14): every style is Filson Soft Regular, so all three roles map to 400.
     Change one of these to re-introduce a lighter body or a heavier nav/button weight. */
  --fw-light: 400;          /* body / opening paragraph */
  --fw-book: 400;           /* titles, call-outs */
  --fw-medium: 400;         /* nav, buttons, inline titles */

  /* Layout */
  --container: 1040px;
  --gutter: 20px;
  --block-y: 60px;
  --header-h: 82px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 48px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; font-family: var(--font); font-size: 16px; line-height: 24px; font-weight: var(--fw-light);
  color: var(--grey); background: var(--white); text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;
}
img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--gold); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; }
h1, h2, h3, h4 { margin: 0 0 0.6em; font-weight: var(--fw-book); line-height: 1.2; }
p, ul, ol, dl, figure, blockquote { margin: 0 0 10px; }
strong, b { font-weight: var(--fw-medium); }
cite { font-style: italic; }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--charcoal); color: #fff; padding: 0.6rem 1rem; }
.skip-link:focus { top: 1rem; }
.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); position: relative; }

/* Prose (CMS rich text) */
.prose > :last-child { margin-bottom: 0; }
.prose p { margin-bottom: 10px; }
.prose ul, .prose ol { padding-left: 1.1em; margin-bottom: 12px; }
.prose li { margin-bottom: 6px; }
.prose h3 { font-size: 24px; color: var(--gold); margin: 28px 0 10px; }
.prose h4 { font-size: 19px; font-weight: var(--fw-medium); margin: 20px 0 6px; }
.prose h3:first-child, .prose h4:first-child { margin-top: 0; }
.prose a { color: var(--gold); }

/* Buttons — thin outlined rectangles, uppercase (Muse "EXPLORE") */
.btn {
  display: inline-block; padding: 12px 18px; border: 1px solid var(--grey-line); background: transparent;
  color: var(--grey); font: var(--fw-medium) 16px/19px var(--font); letter-spacing: 1px; text-transform: uppercase; text-decoration: none;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}
.btn:hover { border-color: var(--grey); color: var(--charcoal); text-decoration: none; }

/* Arrow links — "→ Download PDF" */
.arrow-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.arrow-link { font-size: 19px; line-height: 26px; font-weight: var(--fw-book); color: var(--gold); }
.arrow-link::before { content: "→"; display: inline-block; margin-right: 8px; }
.arrow-links__desc { margin: 2px 0 6px 26px; font-size: 16px; }
a[data-file]::after { content: none; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--white); border-bottom: 1px solid var(--grey-line); }
.site-header__inner { display: flex; align-items: center; min-height: var(--header-h); }
.wordmark { order: 2; margin-left: 16px; }
.wordmark img { width: 152px; height: auto; }
.site-nav { order: 1; flex: 1; }
.site-nav__list { list-style: none; margin: 0; padding: 0; display: flex; justify-content: center; }
.site-nav__item > a {
  display: block; padding: 0 12px; line-height: var(--header-h); position: relative;
  font-size: 14px; font-weight: var(--fw-medium); text-transform: uppercase; color: var(--grey); text-decoration: none; white-space: nowrap;
}
.site-nav__item > a:hover { color: var(--black); }
.site-nav__item.is-current > a { color: var(--black); }
.site-nav__item.is-current > a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 4px; background: var(--black); }
.nav-toggle {
  display: none; margin-left: auto; background: none; border: 0; padding: 10px 0; cursor: pointer;
  font: var(--fw-medium) 14px var(--font); text-transform: uppercase; color: var(--grey);
}

@media (max-width: 1020px) {
  .nav-toggle { display: block; }
  .wordmark { order: 0; margin-left: 0; }
  .site-nav { display: none; }
}
/* open menu panel (home at all sizes; every page on small screens) */
.site-nav.is-open {
  display: block; position: absolute; top: 100%; left: 0; right: 0; background: var(--white);
  border-bottom: 1px solid var(--grey-line); box-shadow: 0 8px 20px rgb(0 0 0 / 0.08); z-index: 60;
}
.site-nav.is-open .site-nav__list { flex-direction: column; align-items: flex-end; max-width: calc(var(--container) + 2 * var(--gutter)); margin: 0 auto; padding: 10px var(--gutter) 20px; }
.site-nav.is-open .site-nav__item > a { line-height: 40px; padding: 0; }
.site-nav.is-open .site-nav__item.is-current > a::after { bottom: 6px; height: 2px; }
@media (max-width: 1020px) { .site-nav.is-open .site-nav__list { align-items: flex-start; } }

/* ---------- Cover strip + sub-navigation ---------- */
.section-band {
  height: 76px;
  background:
    linear-gradient(rgb(233 163 14 / 0.5), rgb(233 163 14 / 0.5)),
    url("../images/covers-strip.jpg") center 17% / 1200px auto repeat-x var(--gold);
}
.subnav { position: sticky; top: var(--header-h); z-index: 40; background: var(--white); border-bottom: 1px solid var(--grey-line); }
.subnav__list { list-style: none; margin: 0; padding: 0; display: flex; justify-content: center; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.subnav__list::-webkit-scrollbar { display: none; }
.subnav__list a {
  display: block; padding: 8px 12px 6px; white-space: nowrap; border-bottom: 3px solid transparent;
  font-size: 15px; line-height: 18px; font-weight: var(--fw-book); color: var(--grey); text-decoration: none;
}
.subnav__list a:hover { color: var(--black); }
.subnav__list a[aria-current] { color: var(--black); border-bottom-color: var(--black); }

/* ---------- Page head ---------- */
.page-head { padding: 40px 0 90px; }
.page-title { font-size: 34px; line-height: 41px; font-weight: var(--fw-book); text-transform: uppercase; color: var(--grey); margin: 0 0 24px; }
.page-head__body {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: start;
  max-width: 1280px; margin: 0 auto; padding-right: max(var(--gutter), calc((min(100vw, 1280px) - var(--container)) / 2 + 30px));
}
.page-head__text--two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 26px; }
.page-head__text--two .page-head__lead { max-width: none; }
.page-head__aside { padding: 10px 0 0 14px; border-left: 1px solid var(--grey-line); font-size: 16px; }
.page-head .pullquote--head { margin: 50px 0 0; max-width: 420px; }
@media (max-width: 860px) { .page-head__text--two { grid-template-columns: 1fr; } .page-head__aside { border: 0; padding-left: 0; } }
.page-head:not(.page-head--has-image) .page-head__body { grid-template-columns: 1fr; max-width: calc(var(--container) + 2 * var(--gutter)); padding: 0 var(--gutter); }
.page-head__media { margin: 0; }
.page-head__media img { max-height: 540px; width: auto; max-width: 100%; }
.page-head__lead { font-size: 19px; line-height: 23px; max-width: 440px; padding-top: 10px; }
.page-head__lead .arrow-link, .page-head__lead a { font-weight: var(--fw-book); }
@media (max-width: 760px) {
  .page-head__body { grid-template-columns: 1fr; padding: 0 var(--gutter); }
  .page-head__media img { max-height: 280px; }
}

/* ---------- Blocks ---------- */
.block { padding: var(--block-y) 0; position: relative; }
.tone-gold { background: var(--gold); color: var(--white); }
.tone-gold .prose, .tone-gold .prose h3, .tone-gold .prose h4 { color: var(--white); }
.tone-gold a, .tone-gold .arrow-link, .tone-gold .prose a { color: var(--white); }
.tone-gold .btn { color: var(--white); border-color: var(--white); }
.tone-gold .btn:hover { background: rgb(255 255 255 / 0.15); }
.tone-white + .tone-white:not(.block--photoBand) { padding-top: 0; }
.tone-gold + .tone-gold:not(.block--photoBand) { padding-top: 0; }
.page-head + .tone-white { padding-top: 0; }

.block__head { margin-bottom: 30px; }
.block__intro { font-size: 19px; line-height: 23px; max-width: 760px; }
.section-title { font-size: 30px; line-height: 36px; font-weight: var(--fw-book); text-transform: uppercase; color: var(--grey); max-width: 640px; margin-bottom: 30px; }
.tone-gold .section-title { color: var(--white); }
.band-title { font-size: 28px; line-height: 34px; color: var(--white); }

/* Tab labels sitting on the top edge of a band ("The program includes:", "Sample Pages:") */
.band-tab {
  display: inline-block; margin: 0; padding: 4px 8px 2px; border: 1px solid transparent; border-bottom: 0;
  font: var(--fw-book) 28px/36px var(--font); color: var(--white); background: var(--gold); cursor: default;
}
.band-tab--solo { position: absolute; top: calc(-1 * var(--block-y)); left: calc(var(--gutter) + 16px); transform: translateY(-100%); }
.band-tab--white { background: var(--white); color: var(--gold); }
.tabband { position: relative; }
.tabband__tabs { position: absolute; top: 0; left: calc(var(--gutter) + 16px); transform: translateY(-100%); display: flex; gap: 12px; }
button.band-tab { cursor: pointer; background: var(--white); color: var(--charcoal); border-color: var(--grey-line); }
button.band-tab.is-active, button.band-tab[aria-pressed="true"] { background: var(--gold); color: var(--white); border-color: var(--gold); }
.js .tabband__panel:not(.is-active) { display: none; }
.tabband__panel > .block { padding-top: var(--block-y); }
.tabband__panel + .tabband__panel > .block { border-top: 0; }

/* richText */
.block--richText .container > .prose { max-width: 760px; }
.block--richText.tone-gold .container > .prose { margin-left: 60px; }

/* splitImage */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; max-width: calc(var(--container) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.split--image-right .split__media { order: 2; }
.split__media { margin: 0; }
.split__media img { width: 100%; max-height: 560px; object-fit: contain; }
.split__body { font-size: 16px; }
@media (max-width: 760px) { .split { grid-template-columns: 1fr; } .split--image-right .split__media { order: 0; } }

/* quote (call-out) */
.pullquote { margin: 0 0 0 auto; max-width: 440px; }
.pullquote blockquote { margin: 0 0 12px; }
.pullquote blockquote p { font-size: 24px; line-height: 29px; color: var(--gold); margin: 0; }
.pullquote figcaption { font-size: 20px; text-transform: uppercase; color: var(--gold); text-align: right; }
.tone-gold .pullquote blockquote p, .tone-gold .pullquote figcaption { color: var(--white); }

/* featureGrid — overview style: inline medium-weight title, rules between rows */
.feature-grid { list-style: none; margin: 0 0 0 30px; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 20px; }
.feature { padding: 14px 0 20px; border-top: 1px solid rgb(127 127 127 / 0.35); }
.tone-gold .feature { border-top-color: rgb(255 255 255 / 0.55); }
.feature:nth-child(-n+4) { border-top: 0; }
.feature__body, .feature__body p { display: inline; }
.feature__title { font-weight: var(--fw-medium); }
.feature-grid--3, .feature-grid--2 { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-left: 60px; max-width: 600px; }
/* home style — explore buttons */
.feature--explore { border: 0; padding: 0; display: flex; flex-direction: column; }
.feature--explore .feature__body, .feature--explore .feature__body p { display: block; font-size: 19px; line-height: 23px; }
.feature--explore .feature__body strong { font-weight: var(--fw-light); }
.feature__action { margin: 16px 0 0; text-align: center; }
.block--featureGrid:has(.feature--explore) .feature-grid { max-width: 720px; gap: 20px 30px; margin-left: 90px; }
@media (max-width: 860px) { .feature-grid, .feature-grid--3, .feature-grid--2 { grid-template-columns: 1fr 1fr; margin-left: 0; } .feature:nth-child(-n+4) { border-top: 1px solid rgb(127 127 127 / 0.35); } }
@media (max-width: 520px) { .feature-grid, .feature-grid--3 { grid-template-columns: 1fr; } }

/* photoBand */
.block--photoBand { padding: 0; background: var(--gold); line-height: 0; }
.photo-band { display: block; width: 100%; height: clamp(260px, 48vw, 620px); object-fit: cover; object-position: center top; }

/* cards (image link cards) */
.cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
.card { background: var(--white); padding: 0 20px 20px; }
.card__media { display: block; margin: 0 -20px 18px; }
.card__media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.card__title { font-size: 19px; line-height: 23px; margin: 0 0 6px; font-weight: var(--fw-book); }
.card__link, .tone-gold .card .card__link { color: var(--grey); }
.card__link:hover { color: var(--black); }
.card .card__body, .card .card__body p, .tone-gold .card .card__body, .tone-gold .card .card__body p { color: var(--grey-light); font-size: 14px; line-height: 21px; margin: 0; }
@media (max-width: 760px) { .cards { grid-template-columns: 1fr; } }

/* videos — video left, details right under a thin rule */
.video-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 40px; }
.video { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.video__frame { position: relative; aspect-ratio: 16 / 9; background: rgb(0 0 0 / 0.15); }
.video__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video__text { border-top: 1px solid rgb(127 127 127 / 0.5); padding: 12px 0 0 26px; }
.tone-gold .video__text { border-top-color: rgb(255 255 255 / 0.6); }
.video__title { font-size: 16px; line-height: 24px; font-weight: 400; margin: 0 0 6px; }
.video__desc { font-size: 16px; }
@media (max-width: 760px) { .video { grid-template-columns: 1fr; gap: 12px; } .video__text { padding-left: 0; } }

/* page viewer — "← 1 2 3 →" */
.viewer { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 40px; align-items: start; align-content: start; }
.block--pageViewer:not(.viewer--stacked) .viewer { grid-template-areas: "intro stage" "aside stage"; }
.block--pageViewer:not(.viewer--stacked) .viewer__intro { grid-area: intro; }
.block--pageViewer:not(.viewer--stacked) .viewer__aside { grid-area: aside; }
.block--pageViewer:not(.viewer--stacked) .viewer__stage { grid-area: stage; }
.viewer__aside { padding-top: 10px; }
.viewer__caption + .viewer__caption { margin-top: 20px; }
.js .viewer__caption:not(.is-active), .js .viewer__slide:not(.is-active) { display: none; }
.js .viewer__caption + .viewer__caption { margin-top: 0; }
.viewer__aside .arrow-links { margin-top: 30px; }
.viewer__nav { display: flex; align-items: center; justify-content: center; gap: 8px; margin-bottom: 14px; }
.viewer__pager { list-style: none; display: flex; gap: 6px; margin: 0; padding: 0; }
.viewer__intro { margin-bottom: 24px; }
.viewer__pager button {
  width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgb(255 255 255 / 0.6); background: transparent;
  color: var(--white); font: var(--fw-book) 24px/1 var(--font); cursor: pointer;
}
.viewer__pager button[aria-current="true"] { background: var(--white); color: var(--grey); border-color: var(--white); }
.viewer__arrow { background: none; border: 0; color: var(--white); font: var(--fw-book) 32px/1 var(--font); cursor: pointer; padding: 0 10px; }
.tone-white .viewer__pager button { border-color: var(--grey-line); color: var(--grey); }
.tone-white .viewer__pager button[aria-current="true"] { background: var(--gold); border-color: var(--gold); color: var(--white); }
.tone-white .viewer__arrow { color: var(--grey); }
.viewer__slide { margin: 0; }
.viewer__zoom { display: block; background: var(--white); padding: 8px; box-shadow: 0 2px 8px rgb(0 0 0 / 0.25); }
.viewer__img { width: 100%; }
@media (max-width: 760px) {
  .viewer { grid-template-columns: 1fr; }
  .block--pageViewer:not(.viewer--stacked) .viewer { grid-template-areas: "intro" "stage" "aside"; }
  .viewer--stacked .viewer__stage { order: -1; }
}

/* data tables */
.table-scroll { position: relative; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.data-table { width: 100%; border-collapse: collapse; min-width: 640px; font-size: 14px; line-height: 19px; color: var(--grey); background: var(--white); }
.data-table th, .data-table td { text-align: left; vertical-align: top; padding: 10px 12px; border: 1px solid var(--grey-line); }
.data-table thead th { background: var(--gold); color: var(--white); font-weight: var(--fw-medium); font-size: 16px; }
.data-table tbody th { font-weight: var(--fw-medium); white-space: nowrap; position: sticky; left: 0; background: var(--white); }
.data-table ul { padding-left: 1.1em; margin: 0; }
.data-table p { margin: 0 0 6px; }

/* disclosure (FAQ) */
.disclosure { border-bottom: 1px solid var(--grey-line); }
.disclosure summary { cursor: pointer; list-style: none; padding: 16px 32px 16px 0; position: relative; font-size: 19px; line-height: 24px; font-weight: var(--fw-book); color: var(--grey); }
.disclosure summary::-webkit-details-marker { display: none; }
.disclosure summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font-size: 26px; color: var(--gold); }
.disclosure[open] summary::after { content: "–"; }
.disclosure > .prose { padding: 0 0 20px; }

/* embed */
.embed-frame { width: 100%; border: 0; }
.embed-fallback { margin-top: 10px; font-size: 14px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--charcoal); color: var(--grey-light); font-size: 12px; line-height: 17px; font-weight: 400; padding: 50px 0; }
.site-footer a { color: var(--grey-light); }
.site-footer a:hover { color: #d0d0d0; text-decoration: none; }
.site-footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.site-footer__text { max-width: 500px; }
.site-footer__fb { display: flex; gap: 10px; align-items: flex-start; margin-left: -40px; margin-bottom: 26px; }
.site-footer__fb-icon { flex: none; width: 30px; height: 30px; display: grid; place-items: center; background: rgb(0 0 0 / 0.3); }
.site-footer__fb-icon img { opacity: 0.5; }
.site-footer__legal { margin: 0; }
.site-footer__partners { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; }
.site-footer__partners li { padding: 20px 18px; }
.site-footer__partners li + li { border-left: 1px solid #555; }
.site-footer__partners img { height: 44px; width: auto; opacity: 0.7; }
@media (max-width: 860px) {
  .site-footer__inner { flex-direction: column; align-items: flex-start; }
  .site-footer__fb { margin-left: 0; }
  .site-footer__partners li:first-child { padding-left: 0; }
}

/* =========================================================================
   Channel components
   ========================================================================= */

/* Text-complexity model (gold band) */
.tcm { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 40px; align-items: center; }
.tcm__figure { position: relative; max-width: 340px; margin: 0 auto; width: 100%; }
.tcm__img { width: 100%; }
.tcm__label { position: absolute; font-size: 18px; color: var(--white); text-shadow: 0 1px 2px rgb(0 0 0 / 0.3); pointer-events: none; white-space: nowrap; transform: translate(-50%, -50%); }
.tcm__label--qualitative { left: 33%; top: 50%; transform: translate(-50%, -50%) rotate(-58deg); }
.tcm__label--quantitative { left: 67%; top: 50%; transform: translate(-50%, -50%) rotate(58deg); }
.tcm__label--reader-task { left: 50%; top: 83%; }
.tcm__label.is-active { color: var(--charcoal); text-shadow: none; }
.tcm__tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0; }
.tcm__tabs button { font: var(--fw-medium) 14px/1 var(--font); letter-spacing: 1px; text-transform: uppercase; padding: 10px 14px; cursor: pointer; background: transparent; color: var(--white); border: 1px solid var(--white); }
.tcm__tabs button[aria-selected="true"] { background: var(--white); color: var(--gold); }
.tcm__panel-title { font-size: 19px; }
.tcm__body > .prose { font-size: 19px; line-height: 23px; }
.jump-links { line-height: 30px; }
.js .tcm__panel-title { display: none; }
.js .tcm__panel:not(.is-active) { display: none; }
.tcm__body .arrow-links { margin-top: 16px; }
@media (max-width: 760px) { .tcm { grid-template-columns: 1fr; } }

/* Anchor-text synopses (list, as on the Muse page) */
.at-theme { padding: 10px 0 30px; max-width: 820px; margin-left: 40px; }
.at-theme__more { text-align: right; margin: 0 0 6px; }
.at-theme__more .arrow-link { font-size: 16px; }
.at-theme__title { font-size: 20px; line-height: 26px; font-weight: 400; color: var(--grey); margin: 0 0 18px; }
.at-list { margin: 0 0 0 16px; }
.at-book { margin-bottom: 18px; scroll-margin-top: calc(var(--header-h) + 60px); }
.at-book:target dt { color: var(--gold); }
.at-book dt { font-size: 16px; line-height: 22px; font-weight: 400; margin-bottom: 4px; }
.at-book dd { margin: 0 0 0 14px; font-size: 16px; line-height: 24px; }

/* Themes matrix (gold band; white type = informational, black type = literature) */
.band-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; margin-bottom: 40px; }
.band-head .band-title { font-size: 40px; line-height: 48px; margin: 40px 0 20px 40px; }
.legend { list-style: none; margin: 0 0 20px 60px; padding: 0; font-size: 14px; line-height: 22px; }
.legend--dark { color: var(--charcoal); }
.band-note { margin-left: 50px; font-size: 19px; }
.band-head__intro { font-size: 19px; line-height: 23px; }
@media (max-width: 760px) { .band-head { grid-template-columns: 1fr; } .band-head .band-title, .legend, .band-note { margin-left: 0; } }
.theme-matrix { border-collapse: collapse; width: 100%; min-width: 1000px; font-size: 14px; line-height: 15px; }
.theme-matrix th, .theme-matrix td { padding: 8px 6px 14px; vertical-align: top; text-align: left; }
.theme-matrix td + td { border-left: 1px solid rgb(255 255 255 / 0.55); }
.theme-matrix tbody tr { border-top: 1px solid rgb(255 255 255 / 0.55); }
.theme-matrix thead th { font-size: 16px; line-height: 16px; font-weight: var(--fw-book); color: var(--white); vertical-align: bottom; border-bottom: 2px solid var(--white); }
.theme-matrix thead a { color: var(--white); }
.theme-matrix__grade { width: 70px; text-align: center !important; font-size: 30px; color: rgb(255 255 255 / 0.65); font-weight: var(--fw-book); }
.theme-matrix thead .theme-matrix__grade { font-size: 14px; letter-spacing: 1px; }
.tt-cell a { display: block; color: inherit; }
.tt-cell cite { font-style: italic; }
.tt-cell__author { display: block; }
.tt-cell--informational { color: var(--white); }
.tt-cell--literature, .tt-cell--literature a { color: var(--charcoal); }
.theme-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px 40px; }
.theme-card { scroll-margin-top: calc(var(--header-h) + 60px); }
.theme-card__title { font-size: 24px; color: var(--gold); display: flex; gap: 10px; align-items: baseline; }
.theme-card__num { color: var(--grey-light); }
.theme-card > p { font-size: 14px; line-height: 19px; }
.theme-card__facts { margin: 0; font-size: 14px; line-height: 19px; }
.theme-card__facts dt { font-weight: var(--fw-medium); margin-top: 10px; }
.theme-card__facts dd { margin: 2px 0 0; }
@media (max-width: 860px) { .theme-cards { grid-template-columns: 1fr; } }

/* FAQ / chip leftovers */
.chip-nav { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { color: var(--gold); }

/* Scope & Sequence (gold band with strand tabs on its edge) */
.block--ssDownload { padding: 0 0 20px; margin-top: -60px; }
.ss__download { text-align: right; max-width: 600px; margin-left: auto; margin-right: 80px; }
.block--scopeSequence { margin-top: 50px; }
.ss__strands { top: calc(-1 * var(--block-y)); left: calc(var(--gutter) + 120px); }
.ss__controls { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-bottom: 30px; }
.ss__label { font-size: 19px; }
.ss__grades { display: flex; flex-wrap: wrap; gap: 6px; }
.ss__grades button { min-width: 40px; height: 40px; padding: 0 8px; border: 1px solid var(--white); background: transparent; color: var(--white); font: var(--fw-book) 19px/1 var(--font); cursor: pointer; }
.ss__grades button[aria-pressed="true"] { background: var(--white); color: var(--gold); }
.ss__legend { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 0 0 0 auto; font-size: 13px; }
.ss__legend div { display: flex; gap: 4px; }
.ss__legend dd { margin: 0; }
.ss__legend dt { font-weight: var(--fw-medium); }
.ss__panel { margin-bottom: 40px; }
.js .ss__panel:not(.is-active) { display: none; }
.ss__panel-title { font-size: 34px; line-height: 40px; color: var(--white); }
.ss__panel-title span { font-size: 24px; opacity: 0.85; }
.ss__panel-title span::before { content: "— "; }
.ss__component { font-size: 24px; color: var(--white); margin: 30px 0 12px; }
.ss-table { width: 100%; border-collapse: collapse; background: var(--white); color: var(--grey); font-size: 14px; line-height: 18px; }
.ss-table--wide { min-width: 1000px; font-size: 13px; }
.ss-table th, .ss-table td { padding: 8px 10px; text-align: left; vertical-align: top; border: 1px solid var(--grey-line); }
.ss-table thead th { background: var(--charcoal); color: var(--white); font-weight: var(--fw-medium); position: sticky; top: 0; }
.ss-table__wk { width: 70px; white-space: nowrap; font-weight: var(--fw-medium); }
.ss-table--wide .ss-table__wk { position: sticky; left: 0; background: var(--white); z-index: 1; }
.ss-table--wide thead .ss-table__wk { background: var(--charcoal); }
.ss-unit__head th { background: var(--gold-light); color: var(--charcoal); font-weight: var(--fw-medium); text-transform: uppercase; letter-spacing: 1px; font-size: 13px; }
.ss-unit__extra th, .ss-unit__extra td { background: #fdf5e2; }
.ss-unit__extra .ss-table__wk { white-space: normal; }
.ss-row--unit-start th, .ss-row--unit-start td { border-top: 2px solid var(--gold); }
.ss-group { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: 0.5px; opacity: 0.8; }
.ss-line { display: block; }
.ss-tag { display: inline-block; min-width: 1.9em; text-align: center; font-size: 11px; font-weight: var(--fw-medium); padding: 0 3px; border: 1px solid var(--gold); color: var(--gold); margin-right: 3px; }
.ss-meta { display: block; margin-top: 2px; font-size: 12px; color: var(--grey-light); }
@media (max-width: 760px) {
  .ss__strands { position: static; transform: none; flex-wrap: wrap; margin-bottom: 20px; }
  .block--scopeSequence { margin-top: 0; }
  .ss__legend { margin-left: 0; }
}

/* ---------- Small screens ---------- */
@media (max-width: 760px) {
  :root { --block-y: 50px; }
  .band-tab { font-size: 22px; line-height: 30px; }
  .tabband__tabs { left: var(--gutter); gap: 6px; flex-wrap: nowrap; max-width: calc(100% - 2 * var(--gutter)); overflow-x: auto; }
  .tabband__tabs .band-tab { font-size: 17px; padding: 4px 8px 2px; white-space: nowrap; }
  .band-tab--solo { left: var(--gutter); }
  .block--richText.tone-gold .container > .prose { margin-left: 0; }
  .at-theme { margin-left: 0; }
}

/* Print */
@media print {
  .site-header, .section-band, .subnav, .site-footer, .ss__controls, .block--photoBand, .video__frame, .tabband__tabs { display: none !important; }
  .js .tabband__panel, .js .ss__panel, .js .viewer__slide, .js .viewer__caption { display: block !important; }
}

.arrow-link--down::before { content: "↓ "; }
.arrow-link--down::after { content: none !important; }
.page-head__aside h2 { font-size: 16px; line-height: 24px; font-weight: 400; color: var(--grey); margin: 0 0 2px; }
.page-head__text:not(.page-head__text--two) > .page-head__aside { border: 0; padding: 10px 0 0; max-width: 480px; }

/* ===== Faithful-replica pass 2 ===== */
.jump-target { scroll-margin-top: calc(var(--header-h) + 50px); }
.jump-links { margin-top: 24px; }
.jump-links .arrow-link { font-size: 16px; line-height: 26px; }

/* blocks rendered inside the page head / under the head image */
.page-head__extra, .page-head__media-extra { margin-top: 20px; }
.page-head__extra .block, .page-head__media-extra .block { padding: 0; background: none; }
.page-head__extra .container, .page-head__media-extra .container { padding: 0; max-width: none; }
.page-head__extra .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 26px; max-width: 480px; margin: 0 0 0 12px; font-size: 16px; }
.page-head__extra .feature { border: 0; padding: 0; }
.page-head__extra .prose { font-size: 16px; }
.page-head__extra .label { text-transform: uppercase; margin: 10px 0 12px 10px; }
.page-head__extra .arrow-links { margin-left: 10px; }
.page-head__extra .arrow-links li { font-size: 16px; line-height: 22px; margin-bottom: 8px; }
.page-head__extra .arrow-links .arrow-link { font-size: 16px; }
/* download "button" under the head image (Standards) */
.page-head__media-extra { text-align: center; max-width: 360px; margin: 10px auto 0; }
.page-head__media-extra .arrow-links { justify-items: center; }
.page-head__media-extra .arrow-link { display: inline-flex; flex-direction: column; align-items: center; font-size: 16px; line-height: 20px; max-width: 160px; }
.page-head__media-extra .arrow-link::before { content: "↓"; display: grid; place-items: center; width: 74px; height: 74px; margin: 0 0 8px; border-radius: 50%; background: var(--gold); color: var(--white); font-size: 34px; border-bottom: 3px solid var(--white); box-shadow: inset 0 -12px 0 -9px var(--white); }

/* section landing heads (Instruction, Training & Resources, Toolbox): lead right-aligned | rule | links */
.page-head--links .page-head__body { padding: 0 var(--gutter); }
.page-head__text--links { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0; max-width: 820px; margin: 0 auto 0 80px; }
.page-head__text--links .page-head__lead { text-align: right; max-width: none; padding: 0 14px 0 0; }
.page-head__text--links .page-head__extra { margin: 0; padding: 0 0 20px 14px; border-left: 1px solid var(--grey-line); }
.page-head__text--links .page-head__extra .arrow-links { margin-left: 0; }
.page-head__text--links .page-head__extra .arrow-links li { margin-bottom: 4px; }
.page-head__text--links .page-head__extra .arrow-link { font-size: 16px; }
.page-head__text--links .jump-links { text-align: right; margin-top: 40px; }
.call-out { font-size: 24px; line-height: 29px; font-weight: var(--fw-book); color: var(--gold); }
@media (max-width: 760px) {
  .page-head__text--links { grid-template-columns: 1fr; margin: 0; }
  .page-head__text--links .page-head__lead { text-align: left; padding: 0; }
  .page-head__text--links .page-head__extra { border: 0; padding: 16px 0 0; }
}

/* gold page head (Daily Lesson Guides, Writing Workshop) */
.page-head--gold { padding-bottom: 0; display: flow-root; }
.page-head--gold:not(:has(.page-head__body)) .page-title { margin-bottom: 0; }
.page-head--gold .page-title { color: var(--white); }
.page-head--gold .page-head__body { max-width: calc(var(--container) + 2 * var(--gutter)); padding: 0 var(--gutter); }
.page-head--gold .page-head__lead { max-width: 480px; margin-left: 260px; }
.page-head--gold + .jump-target + .tone-gold { padding-top: 30px; }

/* light-grey band (Writer's Handbook, Assessment Toolbox) */
.tone-grey { background: #f3f3f3; }
.band-tab--grey { background: #f3f3f3; color: var(--charcoal); }
.tone-white + .jump-target + .tone-grey, .page-head + .jump-target + .tone-grey { margin-top: 70px; }
.band-tab--white { border: 1px solid var(--grey-line); border-bottom: 0; color: var(--charcoal); }
.tone-grey .viewer__pager button { border-color: var(--grey-line); color: var(--grey); background: var(--white); }
.tone-grey .viewer__pager button[aria-current="true"] { background: var(--gold); border-color: var(--gold); color: var(--white); }
.tone-grey .viewer__arrow { color: var(--grey); }
.tone-grey .arrow-link { color: var(--gold); }

/* stacked viewer: intro + pager centred, "Select a page above or" left, page right */
.viewer--stacked .viewer { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: none; max-width: 920px; margin: 0 auto; gap: 30px 30px; }
.viewer--stacked .viewer__intro--top { grid-column: 1 / -1; max-width: 700px; margin: 0 auto; padding: 0 40px; }
.viewer--stacked .viewer__nav { grid-column: 1 / -1; margin: 0; }
.viewer--stacked .viewer__aside { text-align: right; padding-top: 30px; font-size: 19px; line-height: 23px; }
.viewer--stacked .viewer__aside .arrow-links { margin-top: 6px; justify-items: end; }
.viewer--stacked .viewer__aside .arrow-link { font-size: 16px; }
.viewer--stacked .viewer__caption { font-size: 16px; line-height: 22px; margin-bottom: 16px; }
.viewer--stacked .viewer__hint { margin: 0; }
.viewer--stacked .viewer__stage { max-width: 460px; }
.viewer__pager button { font-size: 22px; }
@media (max-width: 760px) {
  .viewer--stacked .viewer { grid-template-columns: 1fr; }
  .viewer--stacked .viewer__aside { text-align: left; padding-top: 0; }
  .viewer--stacked .viewer__aside .arrow-links { justify-items: start; }
}

/* link list beside an intro, split by a rule (Training: "Resources:" band) */
.block--split .split-links { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); max-width: 760px; margin: 0 auto; }
.block--split .split-links > .arrow-links { justify-items: end; padding-right: 16px; }
.block--split .split-links > .arrow-links .arrow-link { font-size: 16px; }
.block--split .split-links > .prose { border-left: 1px solid rgb(255 255 255 / 0.6); padding: 0 0 20px 16px; font-size: 19px; line-height: 23px; }
@media (max-width: 760px) { .block--split .split-links { grid-template-columns: 1fr; } .block--split .split-links > .arrow-links { justify-items: start; } .block--split .split-links > .prose { border: 0; padding: 16px 0 0; } }

/* tables on a gold band (Pre-assessment, Summative) */
.tone-gold .data-table { background: transparent; color: var(--white); min-width: 760px; font-size: 13px; line-height: 16px; max-width: 920px; margin: 0 auto; }
.tone-gold .data-table th, .tone-gold .data-table td { border: 0; border-top: 1px solid var(--white); padding: 12px 12px 16px; }
.tone-gold .data-table td { border-left: 1px solid var(--white); }
.tone-gold .data-table thead th { background: none; font-size: 28px; line-height: 34px; font-weight: var(--fw-book); border: 0; border-bottom: 1px solid var(--white); padding: 0 12px 6px; }
.tone-gold .data-table tbody th { background: var(--gold); color: var(--white); text-transform: uppercase; text-align: right; font-weight: var(--fw-book); font-size: 16px; width: 1%; }
.tone-gold .data-table tbody tr:first-child th, .tone-gold .data-table tbody tr:first-child td { border-top: 0; }
.tone-gold .block--table .block__head, .block--table.tone-gold .block__head { max-width: 920px; margin: 0 auto 30px; text-align: right; }
.block--downloads.tone-gold + .block--table.tone-gold { padding-top: 0; }
.block--downloads.tone-gold.dl--right .arrow-links { justify-items: end; max-width: 920px; margin: 0 auto; }
.block--downloads.tone-gold.dl--right .arrow-link { font-size: 16px; }

/* FAQs as numbered columns (when there are only a few) */
.faq-cols { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.faq-col { padding: 0 30px 40px; }
.faq-col + .faq-col { border-left: 1px solid var(--grey-line); }
.faq-col__num { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--charcoal); color: var(--white); font-size: 19px; margin: 0 0 14px -10px; }
.faq-col__q { font-size: 28px; line-height: 34px; font-weight: var(--fw-book); color: var(--charcoal); margin: 0 0 30px; }
.faq-col .prose { font-size: 14px; line-height: 21px; padding-left: 10px; }
@media (max-width: 760px) { .faq-col { padding: 0 0 40px; } .faq-col + .faq-col { border: 0; } }

/* two-column rich text ("About:" band on FAQs) */
.prose .cols { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 0 40px; }
.prose .cols > div:last-child { font-size: 14px; line-height: 19px; }
.prose .cols > div:first-child { font-size: 16px; line-height: 22px; }
@media (max-width: 760px) { .prose .cols { grid-template-columns: 1fr; } }

.rt-aside { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 0 24px; max-width: 820px; margin: 0 auto; }
.rt-aside__label { text-align: right; font-size: 19px; line-height: 23px; font-weight: var(--fw-light); margin: 14px 0 0; }
.tone-gold .rt-aside__label { color: var(--white); }
@media (max-width: 760px) { .rt-aside { grid-template-columns: 1fr; } .rt-aside__label { text-align: left; } }

/* Adventist worldview chart: four circles over the open Bible */
.page-head__media:has(.wv-circles) { display: flex; flex-direction: column-reverse; align-items: center; }
.page-head__media:has(.wv-circles) .page-head__media-extra { max-width: none; margin: 0 0 -70px; position: relative; z-index: 1; }
.wv-circles { list-style: none; margin: 0; padding: 0; position: relative; width: 386px; height: 386px; }
.wv-circles::before, .wv-circles::after { content: ""; position: absolute; left: 50%; top: 50%; background: #d8d8d8; transform: translate(-50%, -50%); }
.wv-circles::before { width: 24px; height: 70px; } .wv-circles::after { width: 70px; height: 24px; }
.wv-circle { position: absolute; width: 164px; height: 164px; border-radius: 50%; background: var(--white); padding: 7px; z-index: 1; }
.wv-circle a { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 150px; height: 150px; border-radius: 50%; color: var(--white); text-decoration: none; text-align: center; font-size: 12px; line-height: 14px; font-style: italic; padding: 0 22px; transition: background-color .2s; }
.wv-circle strong { font-style: normal; font-size: 19px; line-height: 24px; font-weight: var(--fw-medium); text-transform: uppercase; margin-bottom: 4px; }
.wv-circle--1 { left: 111px; top: 0; } .wv-circle--1 a { background: #91bf3b; } .wv-circle--1 a:hover { background: #6f9a24; }
.wv-circle--2 { left: 222px; top: 111px; } .wv-circle--2 a { background: #3eb6d1; } .wv-circle--2 a:hover { background: #2e809b; }
.wv-circle--3 { left: 111px; top: 222px; } .wv-circle--3 a { background: #e88f94; } .wv-circle--3 a:hover { background: #c16e76; }
.wv-circle--4 { left: 0; top: 111px; } .wv-circle--4 a { background: #f9b01d; } .wv-circle--4 a:hover { background: #db9706; }
@media (max-width: 760px) { .wv-circles { transform: scale(0.8); transform-origin: top center; margin-bottom: -70px; } }
/* The Bible stays inside the left column (Figma: 640px wide under the circles, 60px overlap) so it never runs under the text. */
.page-head__media:has(.wv-circles) { align-items: center; }
.page-head__media:has(.wv-circles) .page-head__media-extra { margin-bottom: -60px; }
.page-head__media:has(.wv-circles) > img { width: 100%; max-width: 640px; max-height: none; margin: 0; }
.band-tab { text-align: left; }
.viewer__pager { flex-wrap: wrap; justify-content: center; }
@media (max-width: 760px) {
  .page-head--gold .page-head__lead { margin-left: 0; }
  .viewer--stacked .viewer__intro--top { padding: 0; }
  .viewer--stacked .viewer__stage { max-width: none; }
  .viewer__pager button { width: 38px; height: 38px; font-size: 18px; }
  .band-tab--solo { max-width: calc(100% - 2 * var(--gutter)); }
}

/* Page head image sits on the band below it (Figma "Split image" head): when a gold band or
   photo band follows, the photo scales to fit its column, aligns centre-bottom and touches the
   band; the band tab overlaps it. */
.page-head--has-image:has(+ .jump-target + .tone-gold, + .jump-target + .tabband, + .jump-target + .block--photoBand) { padding-bottom: 0; }
.page-head--has-image:has(+ .jump-target + .tone-gold, + .jump-target + .tabband, + .jump-target + .block--photoBand) .page-head__media:not(:has(.wv-circles)) { display: flex; flex-direction: column; justify-content: flex-end; align-items: center; align-self: end; }
.page-head--has-image:has(+ .jump-target + .tone-gold, + .jump-target + .tabband, + .jump-target + .block--photoBand) .page-head__media:not(:has(.wv-circles)) > img { object-fit: contain; object-position: center bottom; width: auto; max-width: 100%; max-height: 540px; display: block; }
.page-head--has-image:has(+ .jump-target + .tone-gold, + .jump-target + .tabband, + .jump-target + .block--photoBand) .page-head__media:has(.wv-circles) { align-self: end; }
.page-head--has-image:has(+ .jump-target + .tone-gold, + .jump-target + .tabband, + .jump-target + .block--photoBand) .page-head__text { align-self: center; padding-bottom: 80px; }
.band-tab--solo, .tabband__tabs { z-index: 2; }
@media (max-width: 760px) { .page-head--has-image:has(+ .jump-target + .tone-gold, + .jump-target + .tabband, + .jump-target + .block--photoBand) .page-head__text { padding-bottom: 50px; } }

/* Split image (Figma "Split image"): the image column is wider and bleeds to the page edge,
   the section has no bottom padding, and the image scales to fit and sits centre-bottom. */
.block--splitImage { padding-bottom: 0; }
.block--splitImage .split { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 30px; align-items: stretch; max-width: 1280px; padding: 0 max(var(--gutter), calc((min(100vw, 1280px) - var(--container)) / 2)) 0 0; }
.block--splitImage .split--image-right { grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); padding: 0 0 0 max(var(--gutter), calc((min(100vw, 1280px) - var(--container)) / 2)); }
.block--splitImage .split__media { display: flex; align-items: flex-end; justify-content: center; }
.block--splitImage .split__media img { display: block; width: auto; max-width: 100%; max-height: 560px; object-fit: contain; object-position: center bottom; }
.block--splitImage .split__body { align-self: center; padding-bottom: var(--block-y); }
@media (max-width: 760px) {
  .block--splitImage .split, .block--splitImage .split--image-right { grid-template-columns: 1fr; padding: 0 var(--gutter); }
  .block--splitImage .split__media { order: 2; }
  .block--splitImage .split__body { padding-bottom: 30px; }
}

/* ===== Home (Figma template, Oct 14) ===== */
/* Header on the home page: desktop hides it until the visitor scrolls past the hero lockup, then fades it in. */
.site-header--home { position: fixed; top: 0; left: 0; right: 0; z-index: 20; }
@media (min-width: 1021px) {
  .site-header--home { opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .35s ease, transform .35s ease, visibility 0s linear .35s; }
  .site-header--home.is-visible, .site-header--home:focus-within { opacity: 1; visibility: visible; transform: none; transition: opacity .35s ease, transform .35s ease; }
}
@media (max-width: 1020px) { .site-header--home { position: sticky; } }
@media (min-width: 1021px) { .section-home .site-header--home + * { margin-top: 0; } }

/* Hero: photo with the big reversed lockup, then the gold panel */
.home-hero { background: var(--gold); }
.home-hero__media { position: relative; }
.home-hero__img { display: block; width: 100%; height: clamp(300px, 38.9vw, 560px); object-fit: cover; object-position: center 35%; }
.lockup { position: absolute; top: 50px; left: max(var(--gutter), calc((100% - var(--container)) / 2 - 10px)); display: flex; align-items: flex-start; gap: 0; text-decoration: none; z-index: 2; }
.lockup__mark { width: 102px; height: auto; }
.lockup__type { width: 456px; height: auto; margin-top: 10px; filter: drop-shadow(0 1px 2px rgb(0 0 0 / 0.15)); }
.home-hero__panel { background: var(--gold); color: var(--white); }
.home-hero__panel-inner { display: grid; grid-template-columns: minmax(0, 704px) minmax(0, 428px); justify-content: space-between; align-items: center; gap: 48px; padding-top: 48px; padding-bottom: 48px; min-height: 288px; }
.home-hero__statement { font-size: 34px; line-height: 48px; font-weight: var(--fw-book); text-transform: uppercase; color: var(--white); }
.home-hero__statement p { margin: 0; }

/* Facebook card (slides in from the left on load) */
.fb-card { display: flex; gap: 12px; padding: 16px 18px; border-radius: 10px; color: var(--white); text-decoration: none; font-size: 14px; line-height: 21px; }
.fb-card:hover { text-decoration: none; background: rgb(255 255 255 / 0.1); }
.fb-card__icon { flex: none; width: 20px; height: 20px; display: grid; place-items: center; }
.fb-card__icon img { filter: brightness(0) invert(1); }
.fb-card__title { display: block; font-size: 16px; line-height: 24px; font-weight: var(--fw-medium); margin-bottom: 2px; }
.js .fb-card[data-fb-card] { opacity: 0; transform: translateX(-120vw); }
.js .fb-card.is-in { opacity: 1; transform: none; transition: transform .9s cubic-bezier(.22,.9,.3,1) .25s, opacity .5s ease .25s; }
@media (prefers-reduced-motion: reduce) { .js .fb-card[data-fb-card] { opacity: 1; transform: none; transition: none; } .site-header--home { transition: none; } }

@media (max-width: 1020px) {
  .lockup { display: none; } /* the regular header (wordmark + MENU) carries the brand on small screens */
  .home-hero__panel-inner { grid-template-columns: 1fr; gap: 24px; min-height: 0; padding-top: 36px; padding-bottom: 36px; }
  .home-hero__statement { font-size: 26px; line-height: 36px; }
  .fb-card { padding: 12px 0; }
}

/* Home feature grid: gold rule on top, title as an arrow link (Figma "Feature", Link=Yes) */
.block--featureGrid .feature--link { border-top: 3px solid var(--gold); padding: 16px 0 0; display: block; }
.tone-gold .block--featureGrid .feature--link, .block--featureGrid.tone-gold .feature--link { border-top-color: var(--white); }
.feature__link { margin: 0 0 6px; font-size: 19px; line-height: 23px; font-weight: var(--fw-book); }
.feature__link a { color: var(--grey); text-decoration: none; }
.feature__link a::after { content: " →"; color: var(--gold); }
.feature__link a:hover { color: var(--black); }
.feature--link .feature__body, .feature--link .feature__body p { display: block; font-size: 16px; line-height: 24px; color: var(--grey); }
.feature--link .feature__body strong { font-weight: var(--fw-light); }
.block--featureGrid:has(.feature--link) .feature-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; max-width: none; margin-left: 0; }
.block--featureGrid:has(.feature--link) .section-title { max-width: 900px; font-size: 30px; line-height: 36px; margin-bottom: 28px; }
@media (max-width: 860px) { .block--featureGrid:has(.feature--link) .feature-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .block--featureGrid:has(.feature--link) .feature-grid { grid-template-columns: 1fr; } }

/* Home quote split: quote as uppercase heading, attribution below, photo at right */
.split--quote .split__body .prose p:first-child { font-size: 30px; line-height: 36px; font-weight: var(--fw-book); text-transform: uppercase; color: var(--grey); margin: 0 0 16px; max-width: 560px; }
.split--quote .split__body .prose p:last-child { font-size: 19px; line-height: 23px; color: var(--grey); margin: 0; }
.split--quote .split { gap: 64px; }
.split--quote .split__media { background: var(--grey-light); background: #f3f3f3; }
.split--quote .split__media img { max-height: 420px; object-fit: cover; object-position: center top; width: 100%; height: 420px; }

/* Callout band: uppercase heading left, body + outlined button right */
.block--callout { padding: 72px 0; }
.callout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.callout__heading { margin: 0; font-size: 30px; line-height: 36px; font-weight: var(--fw-book); text-transform: uppercase; color: var(--white); }
.callout__body { font-size: 19px; line-height: 23px; }
.callout__action { margin: 20px 0 0; }
@media (max-width: 760px) { .callout { grid-template-columns: 1fr; gap: 24px; } }

/* Corner radius from the Figma radius/sm token */
.btn, .nav-toggle, .ss__grades button, .band-tab, button.band-tab, .tcm__tabs button { border-radius: 2px; }

/* Split image: optional download links under the body (Figma Split image, "Frame 5") */
.split__downloads { margin-top: 64px; }
.split__downloads .arrow-link { font-size: 19px; }
@media (max-width: 760px) { .split__downloads { margin-top: 32px; } }

/* ===== Phone refinements (Oct 14) ===== */
@media (max-width: 760px) {
  /* Scope & Sequence strand tabs: wrap instead of overflowing; the later override above is beaten here by specificity */
  .block--scopeSequence .tabband__tabs.ss__strands { flex-wrap: wrap; overflow: visible; max-width: none; position: static; transform: none; }
  /* Worldview chart: scale the 386px chart down without leaving layout overflow */
  .page-head__media:has(.wv-circles) .page-head__media-extra { width: 309px; height: 309px; margin: 0 auto -50px; overflow: visible; }
  .wv-circles { transform: scale(0.8); transform-origin: top left; margin: 0; }
  .page-head__media:has(.wv-circles) > img { max-width: 100%; }
  /* Sub-nav: show a hint that it scrolls */
  .subnav { -webkit-mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 24px), transparent); mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 24px), transparent); }
}

/* Sample-page viewer on phones (Figma "Sample-page viewer / Breakpoint=Mobile"):
   the arrows flank a "1 / 3" counter above the page, and the numbered pager sits under it. */
.viewer__status { display: none; }
.viewer__pager--below { display: none; }
@media (max-width: 760px) {
  .viewer__nav { gap: 16px; margin-bottom: 16px; }
  .viewer__nav .viewer__pager { display: none; }
  .viewer__status { display: inline-block; min-width: 48px; text-align: center; font: var(--fw-medium) 16px/19px var(--font); letter-spacing: 1px; color: var(--white); }
  .tone-white .viewer__status, .tone-grey .viewer__status { color: var(--grey); }
  .viewer__pager--below:not([hidden]) { display: flex; justify-content: center; margin: 0 0 20px; }
  .viewer__arrow { font-size: 26px; padding: 0; }
}
