/* =====================================================================
   THE BOOM SQUAD — ARTICLE PAGES
   ---------------------------------------------------------------------
   ONE source of truth for the look of /articles/ and every article page.
   build.mjs inlines this file into BOTH templates, so a change here shows
   up on the hub and on every article at the same time.

   It deliberately does NOT restate the brand colours or fonts. Those
   arrive from content/theme.json through the CMS:THEME block in the
   <head>, exactly like the home page -- so changing a colour in the CMS
   changes it here too, with nothing to keep in sync by hand.

   Why the article pages have their own stylesheet at all: they share the
   brand but not the layout. None of the home page's hero, carousel,
   marquee or parallax CSS applies to a page of prose, and shipping
   1,100 lines of it to read a 600-word article would be dead weight.
   ===================================================================== */

*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, h4, p, figure, blockquote, ul, ol, dl, dd { margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  /* Regular, not semibold. The body face is a rounded display-ish
     type; at 600 every paragraph reads as emphasis and nothing on
     the page is calm. Headings and <strong> set their own weight. */
  font-weight: 400;
  background: var(--navy);
  color: var(--ink);
  overflow-x: hidden;
  /* Room for the fixed nav pill. */
  padding: 92px 0 0;
}

/* height:auto so a CSS aspect-ratio can beat the width/height attributes.
   The attributes are still what reserve the space before the file lands --
   that is what keeps these pages from jumping as they load. */
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }

/* Anything that only exists for 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;
}

/* ------------------------------------------------------------------ NAV */
/* Matches the home page pill exactly. Kept as its own copy rather than
   shared, because the home page's nav CSS is tangled up with its scroll
   animations, which these pages don't run. */
.nav {
  position: fixed; top: 14px; left: 50%;
  transform: translateX(-50%);
  z-index: 50;
  display: flex; align-items: center; gap: 4px;
  max-width: calc(100vw - 24px);
  background: var(--paper);
  border: 3px solid var(--ink);
  box-shadow: 6px 6px 0 var(--ink);
  border-radius: 999px;
  padding: 6px 10px;
}
.nav__logo { height: 34px; width: 72px; object-fit: contain; margin: 0 6px; }
.nav a.link {
  font-family: var(--font-ui);
  font-size: .78rem;
  color: var(--ink);
  text-decoration: none;
  padding: 9px 12px 6px;
  border-radius: 999px;
  white-space: nowrap;
}
.nav a.link:hover { background: var(--squad-yellow); }
.nav a.link--game { background: var(--boom-green); }
.nav a[aria-current="page"] { background: var(--squad-yellow); }
.nav a:focus-visible { outline: 3px dashed var(--blast-blue); outline-offset: 2px; }


/* --------------------------------------------------------------- BUTTONS */
/* ---- the hidden attribute must actually hide -------------------------
   The browser's own `[hidden] { display: none }` has almost no
   specificity, so ANY class that sets `display` beats it. `.btn` sets
   `display: inline-block`, which meant the disabled stand-in BUY
   button stayed on screen after the script hid it — a dead green
   button sitting directly above the live PayPal buttons, on every set
   page and in all twenty-eight bundle boxes. The DOM said hidden, the
   page said otherwise, and only looking at the rendered pixels found
   it.
   One rule, applied to everything, so the next element toggled with
   `hidden` cannot inherit the same surprise. */
[hidden] { display: none !important; }

.btn {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 1.02rem;
  color: var(--ink);
  text-decoration: none;
  border: 3px solid var(--ink);
  border-radius: 16px;
  padding: 14px 26px 10px;
  box-shadow: 6px 6px 0 var(--ink);
  min-height: 48px;
  background: var(--paper);
  text-align: center;
  /* NOT ROTATED. Decided 2026-11-19.
     Buttons used to tilt -1.5deg, and the yellow variant +1.5deg so
     adjacent buttons leaned against each other. Aaron dislikes it
     wherever it appears, so buttons sit square everywhere.
     The tilt stays on headings, badges and cards — those are the
     brand's hand-made feel. A control a finger has to hit is a
     different thing from a sticker. */
}
.btn--green  { background: var(--boom-green); }
.btn--yellow { background: var(--squad-yellow); }
.btn:focus-visible { outline: 4px dashed var(--squad-yellow); outline-offset: 3px; }

/* ----------------------------------------------------------- PAGE FRAME */
.wrap { width: min(1100px, calc(100% - 32px)); margin: 0 auto; }
.wrap--narrow { width: min(760px, calc(100% - 32px)); }

.page-head { text-align: center; padding: 18px 0 34px; }
.page-head h1 {
  font-family: var(--font-shout);
  font-size: clamp(2.6rem, 8vw, 4.6rem);
  line-height: 1;
  letter-spacing: .03em;
  color: var(--paper);
  -webkit-text-stroke: 2.5px var(--ink);
  transform: rotate(-1.5deg);
}
.page-head__sub {
  font-family: var(--font-ui);
  font-size: clamp(.9rem, 2vw, 1.15rem);
  color: var(--squad-yellow);
  margin-top: 12px;
}
.page-head__intro {
  color: var(--paper);
  max-width: 60ch;
  margin: 16px auto 0;
  line-height: 1.7;
  opacity: .92;
}

/* --------------------------------------------------------- ARTICLE CARDS */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
  padding-bottom: 56px;
}
.card {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 3px solid var(--ink);
  box-shadow: 6px 6px 0 var(--ink);
  border-radius: 18px;
  overflow: hidden;
  text-decoration: none;
  color: var(--ink);
  transition: transform .12s ease-out;
}
.card:hover, .card:focus-visible { transform: translate(-2px, -2px); }
.card:focus-visible { outline: 4px dashed var(--squad-yellow); outline-offset: 3px; }
/* --share-shape is 1200/630 — the shape social media shows a shared link in.
   Defined once, used by the cards AND the banner at the top of an article, so
   what he sees on the site is what Facebook and the rest will show.
   See the note on .post__hero below. */
:root { --share-shape: 1200 / 630; }

.card__media {
  aspect-ratio: var(--share-shape);
  background: var(--navy);
  border-bottom: 3px solid var(--ink);
  overflow: hidden;
}
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card__title {
  font-family: var(--font-ui);
  font-size: 1.22rem;
  line-height: 1.22;
}
.card__excerpt { font-size: .98rem; line-height: 1.6; flex: 1; }
.card__meta {
  font-family: var(--font-ui);
  font-size: .72rem;
  letter-spacing: .04em;
  color: var(--blast-blue);
}
.card__more {
  font-family: var(--font-ui);
  font-size: .82rem;
  color: var(--green-deep);
  margin-top: 2px;
}

/* ------------------------------------------------------------------ TAGS */
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  font-family: var(--font-ui);
  font-size: .68rem;
  letter-spacing: .05em;
  padding: 6px 11px 4px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--squad-yellow);
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}

/* Tag filter strip on the hub. It is a real <button> list, so it works with
   a keyboard; with JavaScript off every article simply stays visible. */
.filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; padding: 0 0 30px; }
.filter {
  font-family: var(--font-ui);
  font-size: .78rem;
  letter-spacing: .04em;
  padding: 9px 16px 6px;
  border: 3px solid var(--ink);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  cursor: pointer;
  font-family: var(--font-ui);
}
.filter[aria-pressed="true"] { background: var(--boom-green); }
.filter:focus-visible { outline: 4px dashed var(--squad-yellow); outline-offset: 3px; }

.empty {
  text-align: center;
  color: var(--paper);
  font-family: var(--font-ui);
  padding: 40px 0 80px;
}

/* --------------------------------------------------------- THE ARTICLE */
.post { padding-bottom: 40px; }

.post__head { text-align: center; padding: 6px 0 14px; }
/* Sized to sit just above a "Heading 1" in the body, not to tower over it:
   body Heading 1 tops out at 2.4rem, this at 2.9rem — about a fifth larger,
   enough to read as the title without starting the page on a shout. The
   outline is thinner to match; a 2.5px stroke on smaller letters closes up
   the counters and turns long titles into a black smudge. */
.post__title {
  font-family: var(--font-shout);
  font-size: clamp(1.9rem, 4.8vw, 2.9rem);
  line-height: 1.08;
  letter-spacing: .02em;
  color: var(--paper);
  -webkit-text-stroke: 1.8px var(--ink);
  transform: rotate(-1deg);
  text-wrap: balance;
}
.post__meta {
  font-family: var(--font-ui);
  font-size: .82rem;
  letter-spacing: .04em;
  color: var(--squad-yellow);
  margin-top: 10px;
}
.post__meta a { color: inherit; }

/* Tags, now at the foot of the article. */
.post__tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 14px;
  margin-top: 26px;
}
.post__tags-label {
  font-family: var(--font-ui);
  font-size: .72rem;
  letter-spacing: .08em;
  color: var(--paper);
  opacity: .75;
}

/* The key image, shown as a 1200x630 banner whatever shape the file is.

   WHY THIS SHAPE, AND WHY CROPPED RATHER THAN SQUASHED:
   1200x630 is what Facebook, X, LinkedIn and iMessage crop a shared link's
   picture to. Fixing the same shape here means the banner on the page and the
   picture in the share preview show the SAME part of the image — no surprises
   when he posts a link. object-fit: cover fills the box and trims the overflow;
   it never stretches or distorts the picture. Which part survives the trim is
   set per-article in the CMS (object-position, written in by the build).

   The box holds its own shape, so the space is reserved before the file lands
   and the page still doesn't move as it loads. */
.post__hero {
  aspect-ratio: var(--share-shape);
  border: 3px solid var(--ink);
  /* A lighter shadow than it had when it floated on the navy. It now sits
     inside the sheet, which casts its own 8px shadow; two heavy ones stacked
     read as clutter. */
  box-shadow: 4px 4px 0 var(--ink);
  border-radius: 14px;
  overflow: hidden;
  background: var(--navy);
  /* The gap down to the first paragraph. The space above and beside it comes
     from the sheet's own padding. */
  margin-bottom: clamp(20px, 3vw, 30px);
}
.post__hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center; /* overridden per article when he picks a focus */
}

/* The reading sheet. Prose on cream, not on navy -- long text on a dark
   saturated background is genuinely harder to read for a long stretch.

   Less padding at the top than at the sides and bottom, so the writing starts
   close to the sheet's edge instead of after a band of empty cream. */
.post__sheet {
  background: var(--cream);
  border: 3px solid var(--ink);
  box-shadow: 8px 8px 0 var(--ink);
  border-radius: 20px;
  padding: clamp(18px, 2.6vw, 28px) clamp(24px, 5vw, 52px) clamp(28px, 5vw, 52px);
}
/* With a key image at the top, the padding evens out so the picture is framed
   the same on all four sides. Sides stay wider than the top: they also set the
   line length of the writing, and lines that run edge to edge are tiring to
   read. Without an image the tighter top above applies instead. */
.post__sheet--has-image { padding-top: clamp(24px, 4.2vw, 44px); }

/* ---------------------------------------------------------------------
   EVERYTHING THE WRITING BOX CAN PRODUCE
   ---------------------------------------------------------------------
   The CMS's editor is TipTap, which can emit headings 1-6, bold, italic,
   underline, strikethrough, links, images, bullet and numbered lists,
   quotes, code, horizontal rules and tables. Every one of those is styled
   below. If it's a button in the toolbar, it has a style here -- otherwise
   picking it would fall back to the browser's default and look broken on
   a page like this one.
   --------------------------------------------------------------------- */
.post__body { font-size: 1.08rem; line-height: 1.78; color: var(--ink); }
.post__body > * + * { margin-top: 1.15em; }
/* Headings carry a big top margin so sections breathe. On the very first
   element that margin is just dead space under the sheet's top edge, so it is
   cancelled — otherwise an article opening with a heading starts with an empty
   band and one opening with a paragraph doesn't. */
.post__body > :first-child { margin-top: 0; }

/* Headings. "Heading 1" in the editor is turned into an <h2> by the build --
   the article's title is already the page's one and only <h1> -- so h1 is
   styled here only as a safety net for pasted markup. */
.post__body h1,
.post__body h2,
.post__body h3,
.post__body h4,
.post__body h5,
.post__body h6 {
  font-family: var(--font-ui);
  line-height: 1.2;
  color: var(--navy);
  font-weight: 400;
}
/* "Heading 1" in the editor arrives as h2[data-level="1"] — see tidyEditorHtml().
   It is sized like a heading 1; the plain h1 rule below is only a safety net
   for pasted markup. The article title is deliberately only a little larger
   than this, so the page reads as one family of sizes rather than a shout
   followed by a whisper. */
.post__body h1,
.post__body h2[data-level="1"] { font-size: clamp(1.7rem, 4.4vw, 2.4rem); margin-top: 1.8em; }
.post__body h2 { font-size: clamp(1.4rem, 3.4vw, 1.9rem); margin-top: 1.7em; }
.post__body h3 { font-size: clamp(1.15rem, 2.8vw, 1.4rem); margin-top: 1.5em; }
.post__body h4 { font-size: clamp(1.05rem, 2.3vw, 1.18rem); margin-top: 1.4em; }
.post__body h5,
.post__body h6 {
  font-size: 1rem;
  margin-top: 1.3em;
  letter-spacing: .04em;
  text-transform: uppercase;
}
/* A heading immediately after another shouldn't get the big gap. */
.post__body :is(h1, h2, h3, h4, h5, h6) + :is(h1, h2, h3, h4, h5, h6) { margin-top: .6em; }

.post__body a { color: var(--blast-blue); text-underline-offset: 3px; }
.post__body a:hover { color: var(--green-deep); }
.post__body a:focus-visible { outline: 3px dashed var(--boom-green); outline-offset: 2px; }

.post__body ul, .post__body ol { padding-left: 1.4em; }
.post__body li + li { margin-top: .45em; }
/* The editor wraps list text in <p> when a bullet holds more than a line.
   Without this, two paragraphs in one bullet would run together. */
.post__body li > p + p { margin-top: .6em; }
.post__body li > ul, .post__body li > ol { margin-top: .45em; }

.post__body strong, .post__body b { font-weight: 800; }
.post__body em, .post__body i { font-style: italic; }
/* Underline needs to stay distinguishable from a link, which is also
   underlined -- hence the thicker, offset rule in the ink colour. */
.post__body u {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
  text-decoration-color: var(--ink);
}
.post__body s, .post__body del { text-decoration: line-through; opacity: .7; }
.post__body mark { background: var(--squad-yellow); padding: 0 4px; border-radius: 4px; }
.post__body sub, .post__body sup { font-size: .75em; line-height: 0; }

.post__body blockquote {
  border-left: 6px solid var(--boom-green);
  background: var(--paper);
  border-radius: 0 12px 12px 0;
  padding: 14px 20px;
  font-size: 1.12rem;
}
.post__body blockquote > * + * { margin-top: .7em; }

.post__body hr { border: 0; border-top: 3px dashed var(--ink); opacity: .35; margin: 2em 0; }

.post__body code {
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 6px;
  padding: 1px 6px;
  font-size: .92em;
}
.post__body pre {
  background: var(--ink);
  color: var(--paper);
  border-radius: 12px;
  padding: 16px 18px;
  overflow-x: auto;
  font-size: .92rem;
  line-height: 1.6;
}
.post__body pre code { background: none; border: 0; padding: 0; color: inherit; }

/* Tables. The wrapper scrolls sideways rather than letting a wide table
   burst out of the sheet and add a horizontal scrollbar to the whole page. */
.post__body .table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.post__body table {
  border-collapse: collapse;
  width: 100%;
  min-width: 380px;
  font-size: .98rem;
  background: var(--paper);
  border: 3px solid var(--ink);
  border-radius: 12px;
  overflow: hidden;
}
.post__body th, .post__body td {
  border: 1px solid var(--ink);
  padding: 9px 12px;
  text-align: left;
  vertical-align: top;
}
.post__body th {
  background: var(--navy);
  color: var(--paper);
  font-family: var(--font-ui);
  font-weight: 400;
  font-size: .86rem;
  letter-spacing: .03em;
}
.post__body tbody tr:nth-child(even) { background: var(--cream); }
/* Pictures typed straight into the writing box. The build fills in their real
   width and height too, so these don't shift the page either. */
.post__body img {
  border: 3px solid var(--ink);
  border-radius: 14px;
  margin: 1.4em auto;
}

/* Picture and video blocks. */
.post-figure { margin: 1.9em 0; }
.post-figure img {
  width: 100%;
  border: 3px solid var(--ink);
  border-radius: 16px;
  box-shadow: 5px 5px 0 var(--ink);
}
.post-figure figcaption {
  font-family: var(--font-ui);
  font-size: .8rem;
  text-align: center;
  color: var(--navy);
  margin-top: 12px;
  line-height: 1.4;
}
/* The frame holds its shape from the ratio alone, so a video reserves its
   space before anything loads. */
.post-figure__frame {
  position: relative;
  width: 100%;
  border: 3px solid var(--ink);
  border-radius: 16px;
  box-shadow: 5px 5px 0 var(--ink);
  overflow: hidden;
  background: var(--ink);
}
.post-figure__frame > iframe,
.post-figure__frame > video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0;
  display: block;
}

.post-quote {
  margin: 2em 0;
  background: var(--blast-blue);
  color: var(--paper);
  border: 3px solid var(--ink);
  box-shadow: 5px 5px 0 var(--ink);
  border-radius: 16px;
  padding: 22px 26px;
}
.post-quote p { font-size: 1.16rem; line-height: 1.6; }
.post-quote cite {
  display: block;
  font-family: var(--font-ui);
  font-size: .8rem;
  font-style: normal;
  margin-top: 12px;
  color: var(--squad-yellow);
}

/* ---------------------------------------------------------------- FOOTER */
.post-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
  align-items: center;
  padding: 44px 0 20px;
}
.site-foot {
  text-align: center;
  color: var(--paper);
  padding: 26px 0 48px;
  font-size: .86rem;
  opacity: .85;
}
.site-foot .socials {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  justify-content: center;
  font-family: var(--font-ui);
  font-size: .8rem;
  letter-spacing: .05em;
  margin-bottom: 14px;
}
/* Footer links measured 15px tall on a phone — too small to hit. Padding gives
   them a real target without changing how they look. */
.site-foot .socials a,
.site-foot .legal-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 4px;
}
.site-foot a { color: var(--squad-yellow); }
.site-foot a:focus-visible { outline: 3px dashed var(--boom-green); outline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card { transition: none; }
}

/* =====================================================================
   BOOK PAGES AND THE ABOUT PAGE
   ---------------------------------------------------------------------
   Everything below is shared by /books/, /books/<slug>/ and /about/...
   They use the same shell, nav, buttons and footer as the article pages
   above; only the middle differs.
   ===================================================================== */

/* ---------------------------------------------------------- BOOKS HUB */
.book-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: clamp(20px, 3vw, 34px);
  padding-bottom: 20px;
}
.book-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--ink);
  background: var(--paper);
  border: 4px solid var(--ink);
  border-radius: 20px;
  box-shadow: 6px 6px 0 var(--ink);
  overflow: hidden;
  position: relative;
  transition: transform .14s ease-out;
}
.book-card:hover, .book-card:focus-visible { transform: translate(-3px, -3px); }
.book-card:focus-visible { outline: 4px dashed var(--squad-yellow); outline-offset: 4px; }
.book-card__ribbon {
  position: absolute; top: 12px; left: -4px; z-index: 2;
  font-family: var(--font-ui);
  font-size: .64rem;
  letter-spacing: .05em;
  padding: 6px 12px 4px;
  background: var(--boom-green);
  color: var(--ink);
  border: 3px solid var(--ink);
  border-radius: 0 999px 999px 0;
}
.book-card__ribbon--soon { background: var(--villain); color: var(--paper); }
.book-card__cover {
  background: var(--cream);
  border-bottom: 4px solid var(--ink);
  padding: 22px 22px 18px;
  display: flex;
  justify-content: center;
}
.book-card__cover img { max-height: 280px; width: auto; border: 3px solid var(--ink); border-radius: 6px; }
.book-card__body { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.book-card__title { font-family: var(--font-ui); font-size: 1.05rem; line-height: 1.24; }
.book-card__desc { font-size: .95rem; line-height: 1.55; flex: 1; }
.book-card__cta { font-family: var(--font-ui); font-size: .8rem; color: var(--green-deep); }

/* -------------------------------------------------------- ONE BOOK */
/* Cover beside the details on a wide screen, stacked on a phone. */
.book-hero {
  display: grid;
  grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
  padding-bottom: clamp(30px, 4vw, 44px);
}
@media (max-width: 720px) {
  .book-hero { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .book-hero__details { text-align: center; }
  .book-specs, .book-buy { justify-content: center; }
}
.book-hero__cover {
  border: 4px solid var(--ink);
  box-shadow: 8px 8px 0 var(--ink);
  border-radius: 8px;
  overflow: hidden;
  background: var(--paper);
  max-width: 300px;
}
.book-hero__cover img { width: 100%; }
.book-hero__title {
  font-family: var(--font-shout);
  font-size: clamp(1.9rem, 4.6vw, 2.8rem);
  line-height: 1.08;
  color: var(--paper);
  -webkit-text-stroke: 1.8px var(--ink);
  text-wrap: balance;
}
.book-hero__tagline {
  font-family: var(--font-ui);
  font-size: 1rem;
  color: var(--squad-yellow);
  margin-top: 12px;
  line-height: 1.4;
}
.book-hero__blurb { color: var(--paper); font-size: 1.05rem; line-height: 1.7; margin-top: 16px; }

.book-specs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.book-spec {
  font-family: var(--font-ui);
  font-size: .68rem;
  letter-spacing: .05em;
  padding: 7px 13px 5px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
}
.book-buy { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 24px; align-items: center; }

/* The price rides inside the button. Slightly lighter than the label so the
   action reads first and the number second, but still large enough to be the
   thing a parent is actually looking for. */
.btn__price {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.18);
  font-size: 0.86em;
  white-space: nowrap;
}
.book-buy__note {
  flex-basis: 100%;
  margin: 10px 0 0;
  font-size: 0.92rem;
  opacity: 0.75;
}

/* ---------------------------------------------------------- LOOK INSIDE */
.book-peek { margin-top: 34px; }
.book-peek__head {
  font-family: var(--font-display, inherit);
  font-size: clamp(1.3rem, 4vw, 1.8rem);
  margin: 0 0 6px;
}
.book-peek__note { margin: 0 0 16px; opacity: .8; }
.book-peek__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 16px;
}
.book-peek__item { margin: 0; }
.book-peek__link {
  display: block;
  border: 3px solid var(--ink);
  border-radius: 12px;
  box-shadow: 5px 5px 0 var(--ink);
  overflow: hidden;
  background: var(--paper);
  transition: transform .12s ease, box-shadow .12s ease;
}
.book-peek__link:hover,
.book-peek__link:focus-visible {
  transform: translate(-2px, -2px);
  box-shadow: 7px 7px 0 var(--ink);
}
.book-peek__link img { display: block; width: 100%; height: auto; }
.book-peek__cap { margin: 8px 2px 0; font-size: .88rem; opacity: .75; }

/* The lightbox is an enhancement. Without JavaScript the thumbnails are
   ordinary links and the page still works, so this starts hidden and is only
   ever revealed by script. */
.peek-box[hidden] { display: none; }
.peek-box {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(0, 0, 0, .86);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.peek-box__img {
  max-width: min(94vw, 900px);
  max-height: 88vh;
  width: auto;
  height: auto;
  border: 3px solid var(--paper);
  border-radius: 10px;
  background: var(--paper);
}
.peek-box__close {
  position: absolute;
  top: 14px;
  right: 16px;
  min-width: 48px;
  min-height: 48px;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  border-radius: 999px;
  border: 3px solid var(--ink);
  background: var(--squad-yellow, #ffd400);
  color: var(--ink);
}
@media (prefers-reduced-motion: reduce) {
  .book-peek__link { transition: none; }
}
.book-soon {
  margin-top: 22px;
  background: var(--villain);
  color: var(--paper);
  border: 3px solid var(--ink);
  box-shadow: 5px 5px 0 var(--ink);
  border-radius: 14px;
  padding: 16px 20px;
  font-size: 1rem;
  line-height: 1.6;
}
.book-soon a { color: var(--squad-yellow); }

/* Reader reviews for this title, on the cream sheet. */
.book-reviews { margin-top: clamp(26px, 4vw, 40px); }
.book-reviews__head {
  font-family: var(--font-ui);
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 16px;
}
.book-quote {
  border-left: 6px solid var(--boom-green);
  background: var(--paper);
  border-radius: 0 12px 12px 0;
  padding: 14px 18px;
}
.book-quote + .book-quote { margin-top: 14px; }
.book-quote__stars { color: var(--green-deep); letter-spacing: .1em; font-size: .9rem; }
.book-quote__text { font-size: 1.02rem; line-height: 1.6; margin-top: 6px; }
.book-quote__who {
  font-family: var(--font-ui);
  font-size: .72rem;
  letter-spacing: .04em;
  color: var(--blast-blue);
  margin-top: 8px;
  display: block;
}

/* Sample spreads. */
.book-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin-top: 26px;
}
.book-gallery img { width: 100%; border: 3px solid var(--ink); border-radius: 12px; }

/* -------------------------------------------------------- ABOUT PAGE */
.about-hero {
  display: grid;
  grid-template-columns: minmax(0, 260px) minmax(0, 1fr);
  gap: clamp(26px, 4vw, 48px);
  align-items: center;
  padding-bottom: clamp(34px, 5vw, 52px);
}
.about-hero--noimage { grid-template-columns: 1fr; text-align: center; }
@media (max-width: 720px) {
  .about-hero { grid-template-columns: 1fr; justify-items: center; text-align: center; }
}
.about-hero__photo {
  border: 4px solid var(--ink);
  box-shadow: 8px 8px 0 var(--ink);
  border-radius: 20px;
  overflow: hidden;
  background: var(--navy);
  max-width: 260px;
}
.about-hero__photo img { width: 100%; display: block; }
/* min-width:0 so a long word can't push the column wider than the grid. */
.about-hero__text { min-width: 0; }
.about-hero__name {
  font-family: var(--font-shout);
  font-size: clamp(1.9rem, 4.6vw, 2.8rem);
  line-height: 1.1;
  color: var(--paper);
  -webkit-text-stroke: 1.8px var(--ink);
  text-wrap: balance;
}
.about-hero__role {
  font-family: var(--font-ui);
  font-size: 1rem;
  letter-spacing: .03em;
  color: var(--squad-yellow);
  margin-top: 14px;
}
.about-hero__mission {
  color: var(--paper);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-top: 18px;
  opacity: .95;
}

.about-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
@media (max-width: 720px) { .about-links { justify-content: center; } }
.about-link {
  font-family: var(--font-ui);
  font-size: .76rem;
  letter-spacing: .04em;
  padding: 9px 15px 7px;
  border: 3px solid var(--ink);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  text-decoration: none;
  box-shadow: 3px 3px 0 var(--ink);
}
.about-link:hover { background: var(--squad-yellow); }
.about-link:focus-visible { outline: 4px dashed var(--boom-green); outline-offset: 3px; }

/* ---- the blocks inside the cream sheet ----
   Each gets real breathing room and a dashed rule, because they are siblings
   of .post__body rather than children of it, so none of the article spacing
   rules reach them. Without this the shields ran straight into the bio. */
.about-section {
  margin-top: clamp(34px, 4.5vw, 52px);
  padding-top: clamp(26px, 3.5vw, 38px);
  border-top: 3px dashed rgba(10, 12, 16, .16);
}
.about-section__head {
  font-family: var(--font-ui);
  font-size: clamp(1.15rem, 2.6vw, 1.45rem);
  line-height: 1.25;
  color: var(--navy);
  margin-bottom: clamp(18px, 2.4vw, 26px);
}
.about-section .post__body { font-size: 1.05rem; }

/* The three-value shields, reused from the home page's mission section. */
.about-values {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: clamp(16px, 2.4vw, 22px);
}
.about-value {
  background: var(--paper);
  border: 3px solid var(--ink);
  border-radius: 16px;
  box-shadow: 5px 5px 0 var(--ink);
  padding: 20px 22px 22px;
}
.about-value__letter {
  font-family: var(--font-shout);
  font-size: 2rem;
  line-height: 1;
  color: var(--boom-green);
  -webkit-text-stroke: 2px var(--ink);
}
.about-value__title { font-family: var(--font-ui); font-size: 1rem; margin-top: 10px; color: var(--navy); }
.about-value__desc { font-size: .96rem; line-height: 1.6; margin-top: 8px; }

/* An "also by" entry: cover beside the words. */
.other-work {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: var(--paper);
  border: 3px solid var(--ink);
  border-radius: 14px;
  box-shadow: 4px 4px 0 var(--ink);
  padding: 18px 20px;
}
.other-work + .other-work { margin-top: clamp(16px, 2vw, 22px); }
.other-work__cover {
  width: 92px;
  flex: none;
  border: 2px solid var(--ink);
  border-radius: 4px;
}
.other-work__text { display: flex; flex-direction: column; gap: 8px; }
.other-work__title { font-family: var(--font-ui); font-size: 1.05rem; line-height: 1.3; color: var(--navy); }
.other-work__desc { font-size: .98rem; line-height: 1.6; }
.other-work__link {
  font-family: var(--font-ui);
  font-size: .76rem;
  letter-spacing: .04em;
  color: var(--green-deep);
  margin-top: 2px;
}
@media (max-width: 520px) {
  .other-work { flex-direction: column; align-items: center; text-align: center; }
  .other-work__text { align-items: center; }
}

/* A note only he sees while a page is still unfinished. */
.todo-note {
  background: var(--squad-yellow);
  border: 3px dashed var(--ink);
  border-radius: 14px;
  padding: 14px 18px;
  margin-top: 22px;
  font-size: .95rem;
  line-height: 1.6;
  color: var(--ink);
}


/* =====================================================================
   SOCIAL PAGE  —  /social/
   ===================================================================== */
.social-block { padding-bottom: clamp(38px, 5vw, 60px); }

.social-block__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px 18px;
  padding-bottom: clamp(18px, 2.6vw, 26px);
}
.social-block__name {
  font-family: var(--font-shout);
  font-size: clamp(1.6rem, 4vw, 2.3rem);
  line-height: 1;
  color: var(--paper);
  -webkit-text-stroke: 1.8px var(--ink);
}
.social-block__handle {
  font-family: var(--font-ui);
  font-size: .86rem;
  color: var(--squad-yellow);
}
/* Pushed to the end of the row so the follow button lines up on the right,
   and drops under the name on a narrow screen rather than squashing it. */
.social-block__follow { margin-left: auto; font-size: .82rem; padding: 10px 18px 8px; min-height: 0; }
@media (max-width: 560px) { .social-block__follow { margin-left: 0; } }

.social-grid {
  display: grid;
  grid-template-columns: repeat(var(--social-cols, 3), minmax(0, 1fr));
  gap: clamp(14px, 2vw, 22px);
}
@media (max-width: 900px) { .social-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .social-grid { grid-template-columns: 1fr; } }

.social-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--ink);
  background: var(--paper);
  border: 3px solid var(--ink);
  box-shadow: 5px 5px 0 var(--ink);
  border-radius: 16px;
  overflow: hidden;
  transition: transform .12s ease-out;
}
.social-card:hover, .social-card:focus-visible { transform: translate(-2px, -2px); }
.social-card:focus-visible { outline: 4px dashed var(--squad-yellow); outline-offset: 3px; }

/* The shape is set per platform on the element, because a TikTok is tall and
   an Instagram post is square — one fixed ratio would letterbox half of them. */
.social-card__media {
  display: block;
  background: var(--navy);
  border-bottom: 3px solid var(--ink);
  overflow: hidden;
  position: relative;
}
.social-card__media img { width: 100%; height: 100%; object-fit: cover; }
.social-card__placeholder {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  font-family: var(--font-shout);
  font-size: 2rem;
  color: var(--boom-green);
  opacity: .6;
}
.social-card__caption {
  padding: 14px 16px 0;
  font-size: .94rem;
  line-height: 1.5;
  flex: 1;
}
.social-card__cta {
  padding: 10px 16px 16px;
  font-family: var(--font-ui);
  font-size: .74rem;
  letter-spacing: .04em;
  color: var(--green-deep);
}

/* Where a live feed widget's own markup lands. Its styling is out of our
   hands — most of these render inside an iframe we can't reach into. */
.social-embed {
  background: var(--paper);
  border: 3px solid var(--ink);
  box-shadow: 5px 5px 0 var(--ink);
  border-radius: 16px;
  padding: 16px;
  overflow: hidden;
}
.social-embed iframe, .social-embed blockquote { max-width: 100%; }

.social-empty {
  background: var(--cream);
  border: 3px dashed var(--ink);
  border-radius: 14px;
  padding: 18px 20px;
  color: var(--ink);
  font-size: .96rem;
  line-height: 1.6;
}

/* Per-platform accent. Kept to the Boom Squad palette rather than each
   brand's own colours — the page should look like the site, not like three
   logos stapled together. A platform with an id these don't cover just uses
   the default above, which is why nothing breaks if he adds one. */
.social-block--instagram .social-block__name { color: var(--squad-yellow); }
.social-block--instagram .social-card { box-shadow: 5px 5px 0 var(--villain); }
.social-block--facebook .social-block__name { color: var(--sky-blue); }
.social-block--facebook .social-card { box-shadow: 5px 5px 0 var(--blast-blue); }
.social-block--tiktok .social-block__name { color: var(--boom-green); }
.social-block--tiktok .social-card { box-shadow: 5px 5px 0 var(--green-deep); }

/* =====================================================================
   THE SQUAD  —  /squad/, /squad/<name>/ and /villains/
   ---------------------------------------------------------------------
   Every card and page takes its accent from --hero-color, set inline
   from that character's own colour in the CMS. One rule set, seven
   different-looking pages.
   ===================================================================== */
.btn--villain { background: var(--villain); color: var(--paper); }

/* ---------------------------------------------------------- SQUAD HUB */
.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: clamp(18px, 2.6vw, 28px);
  padding-bottom: clamp(30px, 4vw, 44px);
}
.hero-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--ink);
  background: var(--paper);
  border: 4px solid var(--ink);
  border-radius: 20px;
  box-shadow: 6px 6px 0 var(--hero-color, var(--ink));
  overflow: hidden;
  transition: transform .13s ease-out;
}
.hero-card:hover, .hero-card:focus-visible { transform: translate(-3px, -3px); }
.hero-card:focus-visible { outline: 4px dashed var(--squad-yellow); outline-offset: 4px; }
.hero-card__art {
  display: block;
  aspect-ratio: 1 / 1;
  background: var(--hero-color, var(--navy));
  border-bottom: 4px solid var(--ink);
  overflow: hidden;
}
.hero-card__art img { width: 100%; height: 100%; object-fit: contain; }
.hero-card__art--none {
  display: grid; place-items: center;
  font-family: var(--font-shout); font-size: 3rem; color: var(--paper);
}
.hero-card__body { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.hero-card__name { font-family: var(--font-shout); font-size: 1.5rem; line-height: 1; letter-spacing: .02em; }
.hero-card__tagline { font-size: .9rem; line-height: 1.45; flex: 1; }
.hero-card__cta { font-family: var(--font-ui); font-size: .74rem; color: var(--green-deep); }

.squad-villains { text-align: center; padding-bottom: 20px; }

/* ------------------------------------------------------ ONE CHARACTER */
/* Carries --hero-color down to everything inside, so one inline value on this
   wrapper tints the name, the art shadow, the verse panel and the meters. */
.character { --hero-color: var(--boom-green); }

.character__top {
  display: grid;
  grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 44px);
  align-items: center;
  padding-bottom: clamp(30px, 4.5vw, 46px);
}
@media (max-width: 720px) {
  .character__top { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .character__chips { justify-content: center; }
}
.character__art {
  border: 4px solid var(--ink);
  box-shadow: 8px 8px 0 var(--hero-color, var(--ink));
  border-radius: 20px;
  overflow: hidden;
  background: var(--hero-color, var(--navy));
  max-width: 300px;
}
.character__art img { width: 100%; display: block; }
.character__intro { min-width: 0; }
.character__name {
  font-family: var(--font-shout);
  font-size: clamp(2.2rem, 6vw, 3.4rem);
  line-height: 1;
  letter-spacing: .02em;
  color: var(--hero-color, var(--paper));
  -webkit-text-stroke: 2.5px var(--ink);
}
.character__tagline {
  font-family: var(--font-ui);
  font-size: clamp(.9rem, 2.2vw, 1.05rem);
  line-height: 1.4;
  color: var(--paper);
  margin-top: 16px;
}
.character__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; list-style: none; padding: 0; }
.character__chip {
  font-family: var(--font-ui);
  font-size: .68rem;
  letter-spacing: .04em;
  padding: 7px 13px 5px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
}

/* The verse panel — the point of the character, not a footnote. */
.character__verse {
  margin-top: clamp(30px, 4vw, 44px);
  padding: clamp(20px, 3vw, 28px);
  border: 3px solid var(--ink);
  border-radius: 16px;
  background: var(--hero-color, var(--boom-green));
  box-shadow: 5px 5px 0 var(--ink);
  text-align: center;
}
.character__verse-label {
  font-family: var(--font-ui);
  font-size: .7rem;
  letter-spacing: .1em;
  color: var(--ink);
  opacity: .75;
}
.character__verse-ref {
  font-family: var(--font-shout);
  font-size: clamp(1.4rem, 3.4vw, 2rem);
  line-height: 1.1;
  color: var(--ink);
  margin-top: 6px;
}
.character__verse-text { font-size: 1.02rem; line-height: 1.6; margin-top: 12px; color: var(--ink); }

.character__meters { margin-top: clamp(30px, 4vw, 44px); }
.meter { display: grid; grid-template-columns: 4.5rem 1fr 2.2rem; align-items: center; gap: 12px; }
.meter + .meter { margin-top: 12px; }
.meter__label { font-family: var(--font-ui); font-size: .74rem; letter-spacing: .05em; color: var(--navy); }
.meter__bar {
  height: 18px;
  background: var(--paper);
  border: 3px solid var(--ink);
  border-radius: 999px;
  overflow: hidden;
}
.meter__fill { display: block; height: 100%; background: var(--hero-color, var(--boom-green)); }
.meter__num { font-family: var(--font-ui); font-size: .8rem; text-align: right; color: var(--navy); }

.character__more {
  display: flex; flex-wrap: wrap; gap: 16px; justify-content: center;
  padding: clamp(30px, 4vw, 44px) 0 10px;
}

/* ----------------------------------------------------------- VILLAINS */
.villain {
  background: var(--paper);
  border: 4px solid var(--ink);
  border-radius: 20px;
  box-shadow: 8px 8px 0 var(--hero-color, var(--villain));
  padding: clamp(20px, 3vw, 30px);
}
.villain + .villain { margin-top: clamp(24px, 3.4vw, 36px); }
.villain__head {
  display: grid;
  grid-template-columns: minmax(0, 160px) minmax(0, 1fr);
  gap: clamp(18px, 3vw, 28px);
  align-items: center;
}
.villain__head:only-child, .villain:not(:has(.villain__art)) .villain__head { grid-template-columns: 1fr; }
@media (max-width: 620px) {
  .villain__head { grid-template-columns: 1fr; justify-items: center; text-align: center; }
}
.villain__art { border: 3px solid var(--ink); border-radius: 10px; overflow: hidden; max-width: 160px; }
.villain__art img { width: 100%; display: block; }
.villain__intro { min-width: 0; }
.villain__name {
  font-family: var(--font-shout);
  font-size: clamp(1.7rem, 4.4vw, 2.4rem);
  line-height: 1;
  color: var(--hero-color, var(--villain));
  -webkit-text-stroke: 2px var(--ink);
}
.villain__tagline {
  font-family: var(--font-ui);
  font-size: .88rem;
  color: var(--navy);
  margin-top: 10px;
}
.villain__body { margin-top: clamp(18px, 2.4vw, 24px); font-size: 1.02rem; }
.villain__cta { margin-top: 20px; }

@media (prefers-reduced-motion: reduce) {
  .hero-card { transition: none; }
  .hero-card:hover, .hero-card:focus-visible { transform: none; }
}

/* ---------------------------------------------------- GEAR & SHEETS */
/* The boxed spec lists from his character sheets, as real text. Worth
   lifting out of the image: searchable, readable on a phone, and reachable
   by a screen reader. */
.gear-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: clamp(14px, 2vw, 20px);
}
.gear {
  background: var(--paper);
  border: 3px solid var(--ink);
  border-radius: 14px;
  box-shadow: 4px 4px 0 var(--hero-color, var(--ink));
  padding: 16px 18px 18px;
}
.gear__head {
  font-family: var(--font-ui);
  font-size: .82rem;
  letter-spacing: .04em;
  color: var(--navy);
  margin-bottom: 10px;
}
.gear__list { margin: 0; padding-left: 1.1em; font-size: .95rem; line-height: 1.55; }
.gear__list li + li { margin-top: 4px; }

.sheet { margin-top: clamp(30px, 4vw, 44px); }
/* Opens the full-size sheet in a new tab — these are worth looking at large,
   and on a phone the printed labels are too small to read in place. */
.sheet__frame {
  display: block;
  border: 3px solid var(--ink);
  border-radius: 14px;
  overflow: hidden;
  background: var(--paper);
  box-shadow: 5px 5px 0 var(--hero-color, var(--ink));
}
.sheet__frame img { width: 100%; display: block; }
.sheet__frame:focus-visible { outline: 4px dashed var(--squad-yellow); outline-offset: 4px; }

.character__gear { margin-top: clamp(30px, 4vw, 44px); }

/* ------------------------------------------------- VILLAIN GROUPS */
.villain-group__head { padding: clamp(28px, 4vw, 44px) 0 clamp(16px, 2.4vw, 24px); text-align: center; }
.villain-group__name {
  font-family: var(--font-shout);
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  line-height: 1;
  color: var(--villain);
  -webkit-text-stroke: 2.5px var(--ink);
}
.villain-group__intro { color: var(--paper); margin-top: 12px; line-height: 1.6; opacity: .92; }
.villain__sheet { margin-top: clamp(18px, 2.4vw, 24px); }

/* An "also known as" line — a nickname people use, not a second name. */
.character__aka {
  font-size: .92rem;
  line-height: 1.5;
  color: var(--paper);
  opacity: .8;
  margin-top: 10px;
  font-style: italic;
}

/* =====================================================================
   CONTACT FORM  —  /contact/
   ---------------------------------------------------------------------
   Its own class prefix (.enquiry) rather than reusing .signup. The signup
   sits on the dark navy JOIN band and is styled for it: yellow labels with
   an ink drop-shadow, which would be invisible on the cream sheet this
   form sits on. Same shapes and the same thick comic outline, colours
   inverted for a light background.
   ===================================================================== */
.enquiry { text-align: left; }
.enquiry__field { margin: 0 0 clamp(16px, 2.2vw, 20px); }
.enquiry__label {
  display: block;
  font-family: var(--font-ui);
  font-size: .74rem;
  letter-spacing: .06em;
  color: var(--navy);
  margin-bottom: 7px;
}
.enquiry__input {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  background: var(--paper);
  border: 3px solid var(--ink);
  border-radius: 14px;
  box-shadow: 4px 4px 0 var(--ink);
  padding: 13px 15px;
  /* 16px+ stops iOS zooming the page when a field is focused */
  min-height: 52px;
}
.enquiry__input::placeholder { color: #7A808A; font-weight: 600; }
.enquiry__input:focus-visible {
  outline: 4px dashed var(--boom-green);
  outline-offset: 3px;
}
.enquiry__input:user-invalid {
  border-color: var(--villain);
  box-shadow: 4px 4px 0 var(--villain);
}
/* A <select> needs the browser's own arrow back — appearance:none would mean
   drawing one, and the native control is better on a phone. */
.enquiry__select { cursor: pointer; }
.enquiry__textarea {
  min-height: 160px;
  line-height: 1.6;
  resize: vertical;
}

/* The honeypot. Off-screen rather than display:none — some bots skip
   display:none fields, which would defeat the point. */
.enquiry__trap {
  position: absolute;
  left: -9999px;
  width: 1px; height: 1px;
  overflow: hidden;
}

.enquiry__submit {
  display: block;
  width: 100%;
  margin: clamp(20px, 2.6vw, 26px) 0 0;
  font-size: clamp(1rem, 3vw, 1.25rem);
  padding: 17px 24px 13px;
  min-height: 56px;
  cursor: pointer;
}
.enquiry__submit[disabled] { opacity: .6; cursor: progress; }

.enquiry__small {
  margin: 14px 0 0;
  text-align: center;
  font-size: .82rem;
  font-weight: 600;
  line-height: 1.55;
  color: var(--ink);
  opacity: .78;
}
.enquiry__status {
  margin: 12px 0 0;
  text-align: center;
  font-family: var(--font-ui);
  font-size: .82rem;
  color: var(--navy);
  min-height: 1.2em;
}
.enquiry__status--error { color: var(--villain); }

.enquiry__done {
  background: var(--boom-green);
  color: var(--ink);
  border: 3px solid var(--ink);
  border-radius: 18px;
  box-shadow: 6px 6px 0 var(--ink);
  padding: 28px 24px 24px;
  text-align: center;
  transform: rotate(-.5deg);
}
.enquiry__done-badge { font-size: 2.4rem; margin: 0 0 8px; line-height: 1; }
.enquiry__done-title {
  font-family: var(--font-shout);
  font-size: clamp(1.5rem, 5vw, 2.1rem);
  margin: 0 0 8px;
  letter-spacing: .02em;
}
.enquiry__done-msg { margin: 0; font-weight: 700; font-size: 1rem; line-height: 1.5; }

/* Shown in place of the form while no endpoint is configured, so the page
   never carries a form that would quietly swallow messages. */
.enquiry__setup {
  margin: 0;
  font-weight: 700;
  line-height: 1.6;
  color: var(--ink);
  background: var(--squad-yellow);
  border: 3px solid var(--ink);
  border-radius: 14px;
  box-shadow: 5px 5px 0 var(--ink);
  padding: 18px 20px 15px;
}

/* ------------------------------------------- OTHER WAYS TO REACH US */
.contact-alts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr));
  gap: 14px;
}
.contact-alt {
  display: block;
  text-decoration: none;
  color: var(--ink);
  background: var(--paper);
  border: 3px solid var(--ink);
  border-radius: 14px;
  box-shadow: 5px 5px 0 var(--ink);
  padding: 15px 17px 13px;
}
.contact-alt:hover { background: var(--squad-yellow); }
.contact-alt:focus-visible { outline: 4px dashed var(--boom-green); outline-offset: 3px; }
.contact-alt__label {
  display: block;
  font-family: var(--font-ui);
  font-size: .8rem;
  letter-spacing: .04em;
  color: var(--navy);
}
.contact-alt__note {
  display: block;
  margin-top: 7px;
  font-size: .86rem;
  font-weight: 600;
  line-height: 1.45;
  opacity: .8;
}

/* =====================================================================
   PRIVACY POLICY  —  /privacy/
   ===================================================================== */
.legal__stamp {
  margin: 0;
  font-family: var(--font-ui);
  font-size: .72rem;
  letter-spacing: .05em;
  color: var(--navy);
  opacity: .7;
}
.legal__owner {
  margin: 14px 0 0;
  font-weight: 700;
  line-height: 1.6;
  color: var(--ink);
}
.legal__summary {
  margin-top: clamp(22px, 3vw, 30px);
  background: var(--squad-yellow);
  border: 3px solid var(--ink);
  border-radius: 16px;
  box-shadow: 6px 6px 0 var(--ink);
  padding: clamp(20px, 2.8vw, 26px) clamp(20px, 3vw, 28px) clamp(17px, 2.4vw, 23px);
}
.legal__summary-head {
  font-family: var(--font-ui);
  font-size: clamp(1rem, 2.4vw, 1.2rem);
  line-height: 1.25;
  color: var(--navy);
  margin: 0 0 14px;
}
.legal__summary-list {
  margin: 0;
  padding-left: 1.25em;
  font-weight: 700;
  line-height: 1.65;
  color: var(--ink);
}
.legal__summary-list li + li { margin-top: 9px; }

.legal__closing { text-align: center; }
.legal__closing .post__body { text-align: left; }
.legal__cta { margin: clamp(20px, 2.6vw, 26px) 0 0; }

@media (prefers-reduced-motion: reduce) {
  .enquiry__done { transform: none; }
}

/* ------------------------------------------------- FOOTER LEGAL LINKS */
.legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
  justify-content: center;
  font-family: var(--font-ui);
  font-size: .72rem;
  letter-spacing: .05em;
  margin: 0 0 14px;
}

/* =====================================================================
   404  —  /404.html
   ---------------------------------------------------------------------
   Sits on the dark page background rather than a cream sheet: it is a
   signpost, not a document, and the artwork needs room to be the focus.
   ===================================================================== */
.lost {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  text-align: center;
  gap: clamp(14px, 2.4vw, 24px);
  padding: clamp(18px, 3vw, 34px) 0 clamp(26px, 3.4vw, 38px);
}
/* Side by side once there is room for the art not to shove the words down. */
@media (min-width: 720px) {
  .lost {
    grid-template-columns: minmax(0, 260px) minmax(0, 1fr);
    align-items: center;
    text-align: left;
    justify-items: start;
    gap: clamp(26px, 4vw, 46px);
  }
}
/* The words column. min-width:0 matters: a grid item defaults to min-content
   width, so without it a long unbroken word would widen the column and squash
   the artwork instead of wrapping. */
.lost__text { min-width: 0; justify-self: stretch; }
.lost__art { width: min(230px, 62vw); }
.lost__art img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 10px 0 rgba(10, 12, 16, .35));
  transform: rotate(-3deg);
}
.lost__code {
  font-family: var(--font-shout);
  font-size: clamp(3.2rem, 13vw, 6rem);
  line-height: .85;
  margin: 0 0 6px;
  color: var(--squad-yellow);
  -webkit-text-stroke: 3px var(--ink);
  letter-spacing: .02em;
}
.lost__title {
  font-family: var(--font-shout);
  font-size: clamp(1.6rem, 5.4vw, 2.7rem);
  line-height: 1.05;
  margin: 0;
  color: var(--paper);
  text-shadow: 4px 4px 0 var(--ink);
}
.lost__lead {
  margin: clamp(12px, 1.8vw, 18px) 0 0;
  font-size: clamp(1rem, 2.4vw, 1.12rem);
  font-weight: 700;
  line-height: 1.6;
  color: var(--paper);
}
.lost__body {
  margin: 10px 0 0;
  line-height: 1.65;
  color: var(--paper);
  opacity: .85;
}

.lost__links { margin-top: clamp(10px, 2vw, 18px); }
.lost__links-head {
  font-family: var(--font-ui);
  font-size: clamp(.82rem, 2.2vw, .95rem);
  letter-spacing: .05em;
  color: var(--squad-yellow);
  text-align: center;
  margin: 0 0 clamp(16px, 2.4vw, 22px);
}
.lost-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
  gap: clamp(12px, 2vw, 16px);
}
.lost-link {
  display: block;
  text-decoration: none;
  text-align: center;
}
/* The label reuses .btn, so it already carries the comic outline and shadow.
   Made a block here so the whole card is one tap target on a phone. */
.lost-link__label { display: block; width: 100%; }
.lost-link__note {
  display: block;
  margin-top: 9px;
  font-size: .85rem;
  font-weight: 600;
  line-height: 1.45;
  color: var(--paper);
  opacity: .8;
}
.lost-link:focus-visible { outline: 4px dashed var(--boom-green); outline-offset: 4px; }
.lost-link:hover .lost-link__note { opacity: 1; }

.lost__signoff {
  margin: clamp(26px, 3.4vw, 38px) 0 0;
  text-align: center;
  font-family: var(--font-shout);
  font-size: clamp(1.05rem, 3vw, 1.5rem);
  color: var(--boom-green);
  text-shadow: 3px 3px 0 var(--ink);
  letter-spacing: .02em;
}

@media (prefers-reduced-motion: reduce) {
  .lost__art img { transform: none; }
}

/* =====================================================================
   FREE PRINTABLES  —  /resources/
   ---------------------------------------------------------------------
   Cards on the dark page background, one per printable. Nothing here is
   gated, so the download button is the loudest thing on each card and the
   signup invitation comes after all of them, never before.
   ===================================================================== */
.freebie-group { margin-top: clamp(28px, 4vw, 44px); }
.freebie-group__head {
  font-family: var(--font-shout);
  font-size: clamp(1.35rem, 4vw, 2rem);
  line-height: 1.1;
  color: var(--squad-yellow);
  text-shadow: 3px 3px 0 var(--ink);
  margin: 0;
}
.freebie-group__intro {
  color: var(--paper);
  opacity: .85;
  line-height: 1.6;
  margin: 10px 0 clamp(18px, 2.4vw, 24px);
}

.freebie-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(16px, 2.4vw, 22px);
}

.freebie {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  background: var(--cream);
  border: 3px solid var(--ink);
  border-radius: 20px;
  box-shadow: 8px 8px 0 var(--ink);
  overflow: hidden;
}
/* Picture beside the words once there is room for both. */
@media (min-width: 620px) {
  .freebie { grid-template-columns: minmax(0, 240px) minmax(0, 1fr); align-items: stretch; }
}
.freebie__art { background: var(--paper); border-bottom: 3px solid var(--ink); }
@media (min-width: 620px) {
  .freebie__art { border-bottom: 0; border-right: 3px solid var(--ink); }
}
.freebie__art img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.freebie__body { padding: clamp(18px, 2.6vw, 26px); min-width: 0; }
.freebie__badge {
  display: inline-block;
  margin: 0 0 10px;
  font-family: var(--font-ui);
  font-size: .68rem;
  letter-spacing: .06em;
  color: var(--ink);
  background: var(--squad-yellow);
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 5px 11px 3px;
}
.freebie__title {
  font-family: var(--font-ui);
  font-size: clamp(1rem, 2.6vw, 1.2rem);
  line-height: 1.25;
  color: var(--navy);
  margin: 0;
}
.freebie__desc {
  margin: 10px 0 0;
  line-height: 1.6;
  color: var(--ink);
  opacity: .88;
}
.freebie__get {
  margin: clamp(16px, 2.2vw, 20px) 0 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
}
.freebie__btn { cursor: pointer; }
/* "PDF · 2.4 MB" — so nobody on a phone or a school connection is surprised
   by what they just tapped. */
.freebie__meta {
  font-family: var(--font-ui);
  font-size: .7rem;
  letter-spacing: .05em;
  color: var(--navy);
  opacity: .75;
}

.freebie-empty {
  color: var(--paper);
  text-align: center;
  line-height: 1.6;
  opacity: .9;
}

/* The invitation, not a gate. */
.freebie-join {
  margin-top: clamp(32px, 4.4vw, 48px);
  text-align: center;
  background: var(--navy);
  border: 3px solid var(--ink);
  border-radius: 20px;
  box-shadow: 8px 8px 0 var(--ink);
  padding: clamp(24px, 3.4vw, 34px) clamp(20px, 3vw, 30px);
}
.freebie-join__head {
  font-family: var(--font-shout);
  font-size: clamp(1.3rem, 4vw, 1.9rem);
  line-height: 1.1;
  color: var(--boom-green);
  text-shadow: 3px 3px 0 var(--ink);
  margin: 0;
}
.freebie-join__text {
  margin: 12px auto 0;
  max-width: 44ch;
  color: var(--paper);
  line-height: 1.6;
  opacity: .92;
}
.freebie-join__cta { margin: clamp(18px, 2.4vw, 24px) 0 0; }

/* =====================================================================
   KEEP READING  —  the related articles at the end of a post
   ---------------------------------------------------------------------
   A reader who finishes an article previously got three generic buttons
   and no named next read. These cards are that next read, and they are
   also real internal links between the articles, which is how a search
   engine works out the posts belong together.
   ===================================================================== */
.keep-reading {
  width: min(760px, calc(100% - 32px));
  margin: clamp(34px, 4.6vw, 52px) auto 0;
}
.keep-reading__head {
  font-family: var(--font-shout);
  font-size: clamp(1.2rem, 3.6vw, 1.7rem);
  line-height: 1.1;
  color: var(--squad-yellow);
  text-shadow: 3px 3px 0 var(--ink);
  margin: 0 0 clamp(16px, 2.2vw, 22px);
  text-align: center;
}
.keep-reading__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: clamp(14px, 2vw, 18px);
}
.keep-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--ink);
  background: var(--cream);
  border: 3px solid var(--ink);
  border-radius: 16px;
  box-shadow: 6px 6px 0 var(--ink);
  overflow: hidden;
}
.keep-card:hover { background: var(--paper); }
.keep-card:focus-visible { outline: 4px dashed var(--squad-yellow); outline-offset: 4px; }
.keep-card__art {
  display: block;
  /* Same shape as the article banners, so a row of cards lines up whatever
     shape the source pictures are. */
  aspect-ratio: var(--share-shape);
  overflow: hidden;
  border-bottom: 3px solid var(--ink);
  background: var(--paper);
}
.keep-card__art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.keep-card__body { display: block; padding: 14px 16px 16px; }
.keep-card__title {
  display: block;
  font-family: var(--font-ui);
  font-size: .92rem;
  line-height: 1.3;
  color: var(--navy);
}
.keep-card__excerpt {
  display: block;
  margin-top: 8px;
  font-size: .85rem;
  font-weight: 600;
  line-height: 1.5;
  opacity: .82;
}

/* The thank-you page a no-JavaScript submission lands on. Same green panel as
   the inline success message, but standing on its own rather than replacing a
   form, so it needs its own spacing and no rotation. */
.enquiry__done--page { transform: none; margin: 0; }
.sent__back { margin: clamp(22px, 3vw, 30px) 0 0; text-align: center; }

/* =====================================================================
   MOBILE MENU
   ---------------------------------------------------------------------
   A labelled MENU button that opens a panel, rather than six links
   wrapped onto two rows. Why this shape:

   · The wrapped pill was 92px tall and fixed, eating 11% of a phone
     screen on every page, and its links were 35px targets — under the
     ~44px a fingertip wants.
   · The button is labelled "MENU", not a bare hamburger. A labelled
     control is understood and used more than an unlabelled icon.
   · Panel rows are full-width and 52px tall, which is a comfortable
     target and matches how every native mobile list behaves.

   The .nav--js class is added by script. WITHOUT it the panel is just a
   visible row of links — that is the no-JavaScript state, and it is why
   the rules below are scoped to .nav--js rather than to the breakpoint
   alone. Don't "simplify" that away.
   ===================================================================== */
.nav__toggle {
  display: none;
  align-items: center;
  gap: 8px;
  font-family: var(--font-ui);
  font-size: .72rem;
  letter-spacing: .06em;
  color: var(--ink);
  background: var(--squad-yellow);
  border: 3px solid var(--ink);
  border-radius: 999px;
  padding: 10px 14px 8px;
  min-height: 44px;
  cursor: pointer;
}
.nav__toggle:focus-visible { outline: 4px dashed var(--boom-green); outline-offset: 3px; }
/* Three bars that become an X when open. */
.nav__bars, .nav__bars::before, .nav__bars::after {
  display: block; width: 18px; height: 3px;
  background: var(--ink); border-radius: 2px;
}
.nav__bars { position: relative; }
.nav__bars::before, .nav__bars::after { content: ""; position: absolute; left: 0; }
.nav__bars::before { top: -6px; }
.nav__bars::after { top: 6px; }
.nav--open .nav__bars { background: transparent; }
.nav--open .nav__bars::before { top: 0; transform: rotate(45deg); }
.nav--open .nav__bars::after { top: 0; transform: rotate(-45deg); }

@media (min-width: 701px) {
  /* Desktop is unchanged: the panel is just the row of links it always was. */
  .nav__panel { display: contents; }
}

@media (max-width: 700px) {
  .nav { gap: 8px; }
  .nav__logo { height: 28px; width: 60px; margin: 0 2px 0 4px; }

  /* The no-JavaScript state. Rarely seen, but it should not look broken:
     without the script the pill holds every link, so let it widen and wrap
     rather than crushing them against the logo. */
  .nav:not(.nav--js) {
    flex-wrap: wrap;
    justify-content: center;
    width: calc(100vw - 20px);
    max-width: none;
    box-sizing: border-box;
    border-radius: 22px;
    padding: 6px 8px 8px;
  }
  .nav:not(.nav--js) .nav__panel {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2px 4px;
  }
  .nav:not(.nav--js) .link { padding: 11px 11px 9px; font-size: .78rem; }

  .nav--js .nav__toggle { display: inline-flex; }
  .nav--js .nav__panel {
    position: absolute;
    top: calc(100% + 10px);
    /* Hung off the RIGHT edge of the pill, with its own width. The pill is
       shrink-to-fit on a phone (logo + MENU is only ~180px), so a panel
       stretched to left:0/right:0 would be that narrow — too cramped to read
       or tap. */
    right: 0;
    left: auto;
    min-width: min(272px, calc(100vw - 28px));
    display: grid;
    background: var(--paper);
    border: 3px solid var(--ink);
    border-radius: 18px;
    box-shadow: 6px 6px 0 var(--ink);
    padding: 8px;
    /* Closed. visibility (not just opacity) keeps it out of the tab order. */
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .16s ease, transform .16s ease, visibility .16s;
  }
  .nav--js.nav--open .nav__panel {
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .nav--js .nav__panel .link {
    display: flex;
    align-items: center;
    /* 52px: a comfortable finger target, and the same rhythm as a native
       mobile list. The old wrapped pill gave 35px. */
    min-height: 52px;
    padding: 0 14px;
    font-size: .92rem;
    border-radius: 12px;
  }
  .nav--js .nav__panel .link + .link {
    border-top: 2px dashed rgba(10, 12, 16, .14);
  }
  .nav--js .nav__panel .link[aria-current="page"] {
    background: var(--squad-yellow);
  }
}

@media (prefers-reduced-motion: reduce) {
  .nav__panel { transition: none !important; }
}

/* ===================================================== A PRINTABLE'S PAGE
   /resources/<slug>/ — one page per free printable. The download button sits
   above the fold on purpose: the explanation is for people who want it, and
   must never stand between somebody and the file. */
.crumbs {
  font-family: var(--font-ui);
  font-size: .78rem;
  letter-spacing: .04em;
  margin: 0 0 18px;
  color: var(--ink);
  opacity: .7;
}
/* The breadcrumb is a real navigation control and its links were a
   15px-tall target. Vertical padding grows the hit area without
   moving the text; the negative margin keeps the trail's own height
   unchanged, so nothing below it shifts. */
.crumbs a { color: inherit;
  display: inline-block; padding: 12px 2px; margin: -12px 0; }
.crumbs span { margin: 0 6px; }

.res-head { display: grid; gap: 18px; align-items: start; }
@media (min-width: 760px) {
  .res-head { grid-template-columns: minmax(0, 1fr) 190px; gap: 28px; }
}
.res-head__badge {
  display: inline-block;
  margin: 0 0 10px;
  font-family: var(--font-ui);
  font-size: .72rem;
  letter-spacing: .06em;
  background: var(--squad-yellow);
  border: 3px solid var(--ink);
  border-radius: 999px;
  padding: 6px 13px 3px;
}
.res-head__title {
  font-family: var(--font-shout);
  font-size: clamp(1.9rem, 5.4vw, 2.9rem);
  line-height: 1.04;
  margin: 0 0 10px;
}
.res-head__spec {
  font-family: var(--font-ui);
  font-size: .82rem;
  letter-spacing: .04em;
  color: var(--blast-blue);
  margin: 0 0 14px;
}
.res-head__intro { font-size: 1.05rem; line-height: 1.6; margin: 0 0 20px; }
.res-head__get { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin: 0 0 10px; }
.res-head__meta, .freebie__meta { font-family: var(--font-ui); font-size: .76rem; opacity: .7; }
.res-head__nocatch { font-size: .9rem; opacity: .75; margin: 0; }
/* The sprite is decoration. It is the first thing to go when the column gets
   narrow, because it says nothing a screen reader or a hurried parent needs. */
.res-head__sprite { display: none; }
@media (min-width: 760px) {
  .res-head__sprite { display: block; }
  .res-head__sprite img { width: 100%; height: auto; display: block; }
}

.res-shot {
  margin: 26px 0 30px;
  border: 4px solid var(--ink);
  border-radius: 16px;
  box-shadow: 6px 6px 0 var(--ink);
  overflow: hidden;
  background: var(--paper);
}
.res-shot img { width: 100%; height: auto; display: block; }

.res-block { margin: 0 0 26px; }
.res-block__head {
  font-family: var(--font-ui);
  font-size: 1rem;
  letter-spacing: .05em;
  margin: 0 0 12px;
  color: var(--villain);
}
.res-block__body { margin: 0; line-height: 1.65; }
.res-list { margin: 0; padding-left: 1.1rem; line-height: 1.7; }
.res-list li { margin-bottom: 6px; }
.res-who {
  margin: 0 0 28px;
  padding: 14px 16px;
  background: var(--cream);
  border: 3px solid var(--ink);
  border-radius: 12px;
  font-size: .96rem;
}
.res-again { display: flex; flex-wrap: wrap; gap: 14px; margin: 0 0 10px; }
.freebie__more { margin: 10px 0 0; font-size: .9rem; }
.freebie__more a { font-weight: 700; }
.freebie__title a { color: inherit; text-decoration: none; }
.freebie__title a:hover, .freebie__title a:focus-visible { text-decoration: underline; }

/* The paired free printable on a book page. Quiet on purpose: it must not
   compete with the buy button sitting directly above it. */
.book-freebie {
  margin-top: 22px;
  padding: 14px 16px;
  border: 3px dashed var(--ink);
  border-radius: 12px;
  background: var(--cream);
}
.book-freebie__kicker {
  margin: 0 0 4px;
  font-family: var(--font-ui);
  font-size: .68rem;
  letter-spacing: .07em;
  color: var(--villain);
}
.book-freebie__title { margin: 0; font-weight: 700; font-size: 1rem; }
.book-freebie__spec { margin: 4px 0 0; font-size: .82rem; opacity: .72; }

/* Bulk-order prompt at the foot of the books hub. */
.books-bulk {
  max-width: 720px;
  margin: 34px auto 0;
  padding: 16px 20px;
  border: 3px dashed var(--ink);
  border-radius: 14px;
  background: var(--cream);
  text-align: center;
}
.books-bulk__kicker {
  margin: 0 0 6px;
  font-family: var(--font-ui);
  font-size: .72rem;
  letter-spacing: .07em;
  color: var(--villain);
}
.books-bulk__body { margin: 0; line-height: 1.55; }
.books-bulk__body a { font-weight: 700; white-space: nowrap; }

/* =======================================================================
   BOOM SQUAD HERO ACADEMY  —  /academy/ and /academy/week-N/
   -----------------------------------------------------------------------
   Each quarter carries its own colour through --q-color, set inline on the
   hub's quarter cards and on the <div class="ac-wk"> wrapper of a week page.
   Every rule below reads that variable rather than naming a colour, so a
   quarter's colour is changed in ONE place (content/academy.json) and the
   whole week page follows.
   ======================================================================= */
.ac-hero {
  background: linear-gradient(160deg, var(--navy) 0%, var(--blast-blue) 100%);
  border-bottom: 5px solid var(--ink);
  padding: clamp(26px, 5vw, 56px) 0 clamp(30px, 5vw, 60px);
}
.ac-hero__in {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 300px);
  gap: clamp(20px, 4vw, 44px);
  align-items: center;
}
@media (max-width: 760px) { .ac-hero__in { grid-template-columns: 1fr; } }

.ac-hero__badge {
  display: inline-block;
  font-family: var(--font-ui);
  background: var(--squad-yellow);
  color: var(--ink);
  border: 3px solid var(--ink);
  border-radius: 999px;
  padding: 6px 16px 3px;
  margin: 0 0 14px;
  letter-spacing: .08em;
  transform: rotate(-1.5deg);
}
.ac-hero__title {
  font-family: var(--font-shout);
  font-size: clamp(2.3rem, 7vw, 4.2rem);
  line-height: .98;
  color: var(--paper);
  text-shadow: 5px 5px 0 var(--ink);
  margin: 0 0 10px;
}
.ac-hero__sub {
  font-family: var(--font-ui);
  color: var(--squad-yellow);
  font-size: clamp(1.05rem, 2.4vw, 1.5rem);
  letter-spacing: .05em;
  margin: 0 0 18px;
}
.ac-hero__lede {
  font-family: var(--font-ui);
  color: var(--paper);
  font-size: clamp(1.05rem, 2.2vw, 1.3rem);
  margin: 0 0 12px;
}
.ac-hero__intro { color: var(--paper); margin: 0 0 22px; max-width: 54ch; }
.ac-hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 0; }
.ac-hero__host { margin: 0; text-align: center; }
.ac-hero__host img { width: 100%; height: auto; max-width: 260px; }

/* The Squad speaking, in character. Used on the hub and on every week. */
.ac-say {
  display: block;
  background: var(--paper);
  border: 3px solid var(--ink);
  border-radius: 16px;
  box-shadow: 6px 6px 0 var(--ink);
  padding: 14px 16px 12px;
  margin-top: 14px;
  text-align: left;
  position: relative;
}
.ac-say__who {
  display: block;
  font-family: var(--font-ui);
  color: var(--blast-blue);
  letter-spacing: .06em;
  font-size: .92rem;
  margin-bottom: 2px;
}

/* ------------------------------------------------------------ SECTIONS */
.ac-sec { padding: clamp(28px, 5vw, 52px) 0 0; }
.ac-sec__head {
  font-family: var(--font-shout);
  font-size: clamp(1.6rem, 4vw, 2.5rem);
  color: var(--navy);
  margin: 0 0 6px;
}
.ac-sec__note { margin: 0 0 18px; max-width: 62ch; }

.ac-steps, .ac-inside {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 18px;
  margin-top: 16px;
}
.ac-step, .ac-inside__item {
  background: var(--cream);
  border: 3px solid var(--ink);
  border-radius: 18px;
  box-shadow: 6px 6px 0 var(--ink);
  padding: 18px 18px 14px;
}
.ac-step__n {
  font-family: var(--font-shout);
  font-size: 2rem;
  color: var(--boom-green);
  -webkit-text-stroke: 2px var(--ink);
  margin: 0;
  line-height: 1;
}
.ac-step__head, .ac-inside__item h3 {
  font-family: var(--font-ui);
  color: var(--navy);
  letter-spacing: .04em;
  margin: 6px 0 6px;
  font-size: 1.05rem;
}
.ac-step__body, .ac-inside__item p { margin: 0; font-size: .97rem; }

/* -------------------------------------------------------- QUARTER CARDS */
.ac-qs { display: grid; gap: 20px; margin-top: 16px; }
.ac-q {
  display: grid;
  grid-template-columns: minmax(0, 190px) minmax(0, 1fr);
  gap: clamp(14px, 3vw, 28px);
  align-items: center;
  background: var(--paper);
  border: 4px solid var(--ink);
  border-left: 14px solid var(--q-color);
  border-radius: 20px;
  box-shadow: 8px 8px 0 var(--ink);
  padding: 18px;
}
@media (max-width: 620px) { .ac-q { grid-template-columns: 1fr; } }
.ac-q__art img { width: 100%; height: auto; border-radius: 12px; display: block; }
.ac-q__rank {
  font-family: var(--font-ui);
  color: var(--q-text);
  letter-spacing: .08em;
  margin: 0 0 2px;
  font-size: .92rem;
}
.ac-q__name {
  font-family: var(--font-shout);
  font-size: clamp(1.3rem, 3.4vw, 1.9rem);
  color: var(--navy);
  margin: 0 0 4px;
  line-height: 1.05;
}
.ac-q__tag { font-family: var(--font-ui); margin: 0 0 8px; color: var(--ink); }
.ac-q__blurb { margin: 0 0 10px; font-size: .97rem; }
.ac-q__hero, .ac-q__count {
  font-family: var(--font-ui);
  font-size: .86rem;
  letter-spacing: .05em;
  margin: 0;
  color: var(--navy);
}
.ac-q__count { opacity: .7; }

/* ------------------------------------------------------- THE 52 INDEX */
.ac-idx { display: grid; gap: 26px; margin-top: 16px; }
.ac-idx__head {
  font-family: var(--font-ui);
  font-size: 1.15rem;
  letter-spacing: .05em;
  color: var(--q-ink);
  background: var(--q-color);
  border: 3px solid var(--ink);
  border-radius: 12px;
  padding: 9px 14px 6px;
  margin: 0 0 12px;
}
.ac-idx__head span { opacity: .85; font-size: .9em; }
.ac-idx__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ac-idx__item > a, .ac-idx__item > span {
  display: grid;
  grid-template-columns: 44px minmax(0, 11rem) minmax(0, 1fr) auto;
  gap: 10px;
  align-items: baseline;
  background: var(--cream);
  border: 3px solid var(--ink);
  border-radius: 12px;
  padding: 10px 14px 8px;
  text-decoration: none;
  color: var(--ink);
}
@media (max-width: 620px) {
  .ac-idx__item > a, .ac-idx__item > span { grid-template-columns: 38px minmax(0, 1fr); }
  .ac-idx__sub { grid-column: 2; }
}
.ac-idx__item > span { opacity: .55; }
.ac-idx__item.is-ready > a { background: var(--paper); box-shadow: 4px 4px 0 var(--ink); }
.ac-idx__item.is-ready > a:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--q-color); }
.ac-idx__item.is-ready > a:focus-visible { outline: 4px dashed var(--squad-yellow); outline-offset: 3px; }
.ac-idx__n { font-family: var(--font-shout); color: var(--q-text); }
.ac-idx__focus { font-family: var(--font-ui); letter-spacing: .03em; }
.ac-idx__sub { font-size: .92rem; }
/* The Scripture reference on every week card. Fifty-two of these in
   a column is the strongest single argument the page makes: the year
   is built on the Bible, and you can check that before paying. */
.ac-idx__ref { font-family: var(--font-ui); font-size: .72rem;
  letter-spacing: .04em; color: var(--ink-soft, #6E7479);
  white-space: nowrap; }
/* A written-but-not-yet-open week. Shown, not hidden: the lock is
   the reason to join, so it should read as "yours when the quarter
   opens", never as "missing". */
.ac-idx__lock { display: inline-flex; align-items: center; gap: 5px;
  font-family: var(--font-ui); font-size: .58rem; letter-spacing: .12em;
  background: color-mix(in srgb, var(--ink) 8%, #fff);
  color: var(--ink-soft, #6E7479);
  border: 2px solid color-mix(in srgb, var(--ink) 28%, #fff);
  border-radius: 999px; padding: 3px 9px 3px 7px; }
.ac-idx__item.is-locked { opacity: .82; }
.ac-idx__soon {
  font-family: var(--font-ui);
  font-size: .72rem;
  letter-spacing: .1em;
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 2px 8px 0;
  margin-left: 8px;
}

/* ----------------------------------------------------------- PRICING */
.ac-join { text-align: center; }
.ac-prices { display: flex; flex-wrap: wrap; gap: 18px; justify-content: center; margin: 18px 0 20px; }
.ac-price {
  background: var(--cream);
  border: 4px solid var(--ink);
  border-radius: 20px;
  box-shadow: 8px 8px 0 var(--ink);
  padding: 22px 30px 18px;
  min-width: 190px;
}
.ac-price--best { background: var(--squad-yellow); transform: rotate(-1.5deg); }
.ac-price__badge {
  font-family: var(--font-ui);
  font-size: .78rem;
  letter-spacing: .1em;
  margin: 0 0 6px;
  color: var(--navy);
}
.ac-price__fig {
  font-family: var(--font-shout);
  font-size: clamp(2.4rem, 7vw, 3.4rem);
  line-height: 1;
  color: var(--navy);
  margin: 0;
}
.ac-price__per { font-family: var(--font-ui); margin: 2px 0 6px; }
.ac-price__note { margin: 0; font-size: .9rem; opacity: .8; }
.ac-join__cta { margin: 0 0 14px; }
.ac-join__soon { font-family: var(--font-ui); color: var(--navy); margin: 0 0 14px; }
.ac-join__foot, .ac-join__guarantee { margin: 0 auto 8px; max-width: 56ch; font-size: .95rem; }
.ac-join__guarantee { opacity: .8; }

/* --------------------------------------------------------------- FAQ */
.ac-faq { display: grid; gap: 10px; margin-top: 16px; }
.ac-faq__item {
  background: var(--cream);
  border: 3px solid var(--ink);
  border-radius: 14px;
  padding: 12px 16px;
}
.ac-faq__item summary {
  font-family: var(--font-ui);
  cursor: pointer;
  color: var(--navy);
  letter-spacing: .02em;
}
.ac-faq__item p { margin: 10px 0 2px; }

/* ===================================================== ONE WEEK PAGE */
.ac-wk { padding-bottom: clamp(30px, 5vw, 56px); }
.ac-wk__head { text-align: center; padding: 10px 0 22px; }
.ac-wk__rank {
  font-family: var(--font-ui);
  letter-spacing: .1em;
  font-size: .85rem;
  color: var(--navy);
  opacity: .75;
  margin: 0;
}
.ac-wk__n {
  display: inline-block;
  font-family: var(--font-ui);
  background: var(--q-color);
  color: var(--q-ink);
  border: 3px solid var(--ink);
  border-radius: 999px;
  padding: 5px 16px 2px;
  letter-spacing: .1em;
  margin: 10px 0 10px;
}
.ac-wk__focus {
  font-family: var(--font-shout);
  font-size: clamp(2.2rem, 8vw, 3.8rem);
  line-height: .98;
  color: var(--navy);
  text-shadow: 4px 4px 0 var(--squad-yellow);
  margin: 0 0 8px;
}
.ac-wk__sub { font-family: var(--font-ui); margin: 0; font-size: 1.05rem; }

.ac-verse {
  background: var(--q-color);
  border: 4px solid var(--ink);
  border-radius: 20px;
  box-shadow: 8px 8px 0 var(--ink);
  padding: 20px 22px 16px;
  text-align: center;
  margin-bottom: 24px;
}
.ac-verse__label {
  font-family: var(--font-ui);
  font-size: .8rem;
  letter-spacing: .14em;
  color: var(--q-ink);
  opacity: .85;
  margin: 0 0 10px;
}
.ac-verse__text {
  font-family: var(--font-ui);
  font-size: clamp(1.15rem, 3.2vw, 1.6rem);
  line-height: 1.3;
  color: var(--q-ink);
  margin: 0 0 8px;
  border: 0;
  padding: 0;
}
.ac-verse__ref { font-family: var(--font-ui); color: var(--ink); margin: 0; font-size: .95rem; }

/* The video slot. Deliberately looks like a player that isn't ready yet,
   rather than an empty box or a broken embed. */
.ac-video { margin-bottom: 24px; }
.ac-video__frame {
  aspect-ratio: 16 / 9;
  display: grid;
  place-content: center;
  text-align: center;
  background: repeating-linear-gradient(135deg, var(--navy) 0 18px, #0b2b55 18px 36px);
  border: 4px solid var(--ink);
  border-radius: 18px;
  box-shadow: 8px 8px 0 var(--ink);
  color: var(--paper);
  padding: 16px;
}
.ac-video__play { font-size: 2.6rem; margin: 0 0 6px; color: var(--squad-yellow); }
.ac-video__title { font-family: var(--font-ui); margin: 0 0 4px; font-size: 1.1rem; }
.ac-video__note { margin: 0; opacity: .8; font-size: .92rem; }

.ac-prep, .ac-wobble {
  background: var(--cream);
  border: 3px dashed var(--ink);
  border-radius: 16px;
  padding: 16px 18px 12px;
  margin-bottom: 22px;
}
.ac-prep__head, .ac-wobble__head {
  font-family: var(--font-ui);
  font-size: .85rem;
  letter-spacing: .12em;
  color: var(--navy);
  margin: 0 0 8px;
}
.ac-prep p, .ac-wobble p { margin: 0; }
.ac-wobble { border-color: var(--blast-blue); }

.ac-blk {
  border-left: 10px solid var(--q-color);
  background: var(--paper);
  border-top: 3px solid var(--ink);
  border-right: 3px solid var(--ink);
  border-bottom: 3px solid var(--ink);
  border-radius: 16px;
  padding: 18px 20px 14px;
  margin-bottom: 18px;
  box-shadow: 5px 5px 0 var(--ink);
}
.ac-blk__head {
  font-family: var(--font-shout);
  font-size: 1.45rem;
  color: var(--navy);
  margin: 0 0 8px;
  letter-spacing: .02em;
}
.ac-blk__body { margin: 0; }
.ac-ponder__main { font-family: var(--font-ui); font-size: 1.1rem; }
.ac-ages { display: grid; gap: 8px; margin-top: 14px; }
.ac-age {
  margin: 0;
  background: var(--cream);
  border: 2px solid var(--ink);
  border-radius: 12px;
  padding: 9px 12px 7px;
  font-size: .95rem;
}
.ac-age__tag {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: .72rem;
  letter-spacing: .1em;
  background: var(--navy);
  color: var(--paper);
  border-radius: 999px;
  padding: 2px 9px 0;
  margin-right: 8px;
}

.ac-mission {
  background: var(--boom-green);
  border: 4px solid var(--ink);
  border-radius: 20px;
  box-shadow: 8px 8px 0 var(--ink);
  padding: 20px 22px 16px;
  margin-bottom: 22px;
}
.ac-mission__head {
  font-family: var(--font-shout);
  font-size: 1.5rem;
  color: var(--ink);
  margin: 0 0 8px;
}
.ac-mission__body { margin: 0; font-family: var(--font-ui); font-size: 1.06rem; }

.ac-saybox {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  margin: 0 0 22px;
}
.ac-saybox__art { width: 100%; height: auto; }
.ac-saybox .ac-say { margin-top: 0; }

.ac-done { text-align: center; margin: 26px 0 22px; }
.ac-done__btn { cursor: pointer; font-family: var(--font-ui); }
.ac-done__btn.is-done { background: var(--squad-yellow); }

.ac-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  align-items: stretch;
  border-top: 3px solid var(--ink);
  padding-top: 18px;
}
@media (max-width: 620px) { .ac-nav { grid-template-columns: 1fr; } }
.ac-nav a {
  font-family: var(--font-ui);
  font-size: .92rem;
  text-decoration: none;
  color: var(--ink);
  background: var(--cream);
  border: 3px solid var(--ink);
  border-radius: 14px;
  padding: 11px 13px 8px;
  display: flex;
  align-items: center;
}
.ac-nav__hub { justify-content: center; background: var(--squad-yellow) !important; }
.ac-nav__next { justify-content: flex-end; text-align: right; }
.ac-nav a:hover { box-shadow: 4px 4px 0 var(--q-color); }
.ac-nav a:focus-visible { outline: 4px dashed var(--squad-yellow); outline-offset: 3px; }
.ac-nav .is-off { display: block; }
@media (max-width: 620px) { .ac-nav .is-off { display: none; } }

/* ------------------------------------------------------- MEMBER GATE */
.ac-gate { max-width: 460px; margin: clamp(30px, 8vw, 80px) auto; text-align: center; }
.ac-gate__box {
  background: var(--cream);
  border: 4px solid var(--ink);
  border-radius: 20px;
  box-shadow: 8px 8px 0 var(--ink);
  padding: 26px 24px 22px;
}
.ac-gate__head { font-family: var(--font-shout); font-size: 1.9rem; color: var(--navy); margin: 0 0 8px; }
.ac-gate__body { margin: 0 0 18px; }
.ac-gate label { display: block; font-family: var(--font-ui); font-size: .82rem; letter-spacing: .12em; margin-bottom: 6px; text-align: left; }
.ac-gate input[type="password"] {
  width: 100%;
  font: inherit;
  padding: 12px 14px;
  border: 3px solid var(--ink);
  border-radius: 12px;
  margin-bottom: 14px;
  min-height: 48px;
}
.ac-gate__err { color: var(--villain); font-family: var(--font-ui); margin: 0 0 12px; }
.ac-gate__join { margin: 18px 0 0; font-size: .95rem; }

@media (prefers-reduced-motion: reduce) {
  .ac-idx__item.is-ready > a:hover { transform: none; }
}

/* --- The Academy pages run on white ------------------------------------
   The rest of the site paints the page navy, which is right for a short
   marketing page and wrong for something a parent reads at the table for
   fifteen minutes. These pages are reading surfaces, so they get a near-
   white ground and the colour comes back in the cards, the bands and the
   quarter accents.

   Scoped with :has() so NOTHING else on the site changes — the books,
   articles, squad and printables pages keep the navy they were designed
   for. A browser too old for :has() simply keeps navy here, and every
   rule below is written so that still reads: nothing relies on the white. */
body:has(.ac-hero), body:has(.ac-wk), body:has(.ac-gate) {
  background: var(--paper);
}
.ac-sec__head { color: var(--navy); }
.ac-sec__note { color: var(--ink); }
.ac-wk__crumbs { padding-top: 6px; }
.ac-wk__crumbs .crumbs { color: var(--navy); }
.ac-wk__sheet { padding: clamp(10px, 2vw, 18px) 0 0; }
/* On white, the blocks need their own edge or the page turns into a wall
   of text. Cream fills, ink borders — same language as the rest of the
   site, just inverted from how it sits on navy. */
.ac-blk { background: var(--cream); }
.ac-prep, .ac-wobble { background: var(--cream); }
.ac-step, .ac-inside__item { background: var(--cream); }

/* --- Academy: characters, and the comic-book treatment -----------------
   The first pass was clean but it read as a text document with boxes
   round it. Everything here is doing one of two jobs: putting the Squad
   on the page, or borrowing the language of a comic — halftone dots,
   burst panels, hard ink borders, a torn-strip header — so the page looks
   like the books rather than like a worksheet.

   All of it is CSS. No extra images to load, nothing that can fail to
   arrive, and it costs nothing against the layout-shift budget. */

/* A halftone dot field, the texture under everything comic-printed. */
.ac-wk__head, .ac-mission, .ac-hero {
  background-image: radial-gradient(var(--dot, rgba(10, 12, 16, .07)) 1.4px, transparent 1.5px);
  background-size: 12px 12px;
}

/* ---- week header: trainer, burst, big idea ---- */
.ac-wk__head {
  position: relative;
  border: 4px solid var(--ink);
  border-radius: 24px;
  background-color: var(--paper);
  box-shadow: 8px 8px 0 var(--ink);
  padding: clamp(18px, 4vw, 30px) clamp(16px, 4vw, 28px) clamp(20px, 4vw, 28px);
  margin-bottom: 26px;
  overflow: hidden;
}
/* The quarter's colour as a slab behind the top of the panel, so each
   quarter's weeks are recognisable at a glance. */
.ac-wk__head::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 92px;
  background: var(--q-color);
  border-bottom: 4px solid var(--ink);
}
.ac-wk__head > * { position: relative; }

.ac-wk__trainer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  margin: 0 auto 6px;
  width: min(150px, 42vw);
}
.ac-wk__trainer img {
  width: 100%;
  height: auto;
  filter: drop-shadow(4px 4px 0 var(--ink));
}
.ac-wk__trainerName {
  font-family: var(--font-ui);
  font-size: .72rem;
  letter-spacing: .12em;
  background: var(--ink);
  color: var(--paper);
  border-radius: 999px;
  padding: 3px 10px 1px;
}
.ac-wk__rank { margin-top: 4px; }
.ac-wk__big {
  font-family: var(--font-ui);
  max-width: 46ch;
  margin: 14px auto 0;
  padding: 10px 16px 8px;
  background: var(--squad-yellow);
  border: 3px solid var(--ink);
  border-radius: 14px;
  box-shadow: 4px 4px 0 var(--ink);
  transform: rotate(-.8deg);
  font-size: 1.02rem;
}

/* ---- parent prep, now with BeBot ---- */
.ac-prep {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}
@media (max-width: 520px) { .ac-prep { grid-template-columns: 1fr; } }
.ac-prep__art img { width: 100%; height: auto; filter: drop-shadow(3px 3px 0 var(--ink)); }
.ac-prep__text { min-width: 0; }

/* ---- block headings get a comic tab ---- */
.ac-blk { position: relative; padding-top: 26px; }
.ac-blk__head {
  display: inline-block;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-ui);
  font-size: .9rem;
  letter-spacing: .14em;
  border-radius: 0 12px 12px 0;
  padding: 5px 14px 3px;
  position: absolute;
  top: -3px;
  left: -10px;
}
.ac-blk { margin-top: 24px; }

/* ---- the mission reads as the loudest thing on the page ---- */
.ac-mission { --dot: rgba(10, 12, 16, .12); position: relative; }
.ac-mission__head {
  display: inline-block;
  transform: rotate(-1.5deg);
  background: var(--ink);
  color: var(--boom-green);
  border-radius: 10px;
  padding: 6px 14px 3px;
  font-size: 1.15rem;
  letter-spacing: .04em;
}

/* ---- the Squad line at the foot of a week ---- */
.ac-strip {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: clamp(4px, 2vw, 18px);
  margin: 30px 0 4px;
}
.ac-strip img {
  width: clamp(54px, 15vw, 104px);
  height: auto;
  filter: drop-shadow(3px 3px 0 var(--ink));
}
/* Staggered heights so it reads as a team standing together, not as four
   stickers lined up on a ruler. */
.ac-strip img:nth-child(2) { transform: translateY(-10px) scale(1.06); }
.ac-strip img:nth-child(3) { transform: translateY(4px); }
.ac-strip img:nth-child(4) { transform: translateY(-4px); }
.ac-strip__line {
  text-align: center;
  font-family: var(--font-ui);
  letter-spacing: .1em;
  font-size: .82rem;
  color: var(--navy);
  margin: 0 0 4px;
}

/* ---- hub: section heads as comic tabs too ---- */
.ac-sec__head {
  display: inline-block;
  background: var(--navy);
  color: var(--paper);
  border: 3px solid var(--ink);
  border-radius: 14px;
  padding: 8px 18px 5px;
  box-shadow: 5px 5px 0 var(--ink);
  transform: rotate(-1deg);
  text-shadow: none;
  margin-bottom: 16px;
}

@media (prefers-reduced-motion: reduce) {
  .ac-strip img, .ac-wk__big, .ac-sec__head, .ac-mission__head { transform: none; }
}

/* --- Academy: second pass on the week header --------------------------
   Rendering it showed three things reading badly. One: the quarter colour
   was painting the header slab, the WEEK pill AND the memory verse, so a
   green quarter came out as a wall of green. The verse is the most
   important thing on the page and it was competing with its own chrome,
   so it is now navy everywhere and the quarter colour is what frames it.
   Two: the trainer's name wrapped onto two lines. Three: the focus word
   wore a yellow shadow directly above a yellow panel. */
.ac-verse {
  background: var(--navy);
  border-width: 4px;
  box-shadow: 8px 8px 0 var(--ink), inset 0 0 0 6px var(--q-color);
  padding: 26px 24px 20px;
}
.ac-verse__label { color: var(--squad-yellow); opacity: 1; }
.ac-verse__text { color: var(--paper); }
.ac-verse__ref { color: var(--paper); opacity: .85; }

.ac-wk__trainerName { white-space: nowrap; }
.ac-wk__focus { text-shadow: 4px 4px 0 var(--q-color); }
.ac-wk__head::before { height: 72px; }

/* =======================================================================
   ACADEMY WEEK  —  the band layout
   -----------------------------------------------------------------------
   The page is a stack of full-bleed bands. Each one owns its colour, the
   text inside stays in the narrow measure, and the page changes underfoot
   as you work down the week — the way a printed spread does. The loudest
   grounds are deliberately spent on the two things that matter most: the
   memory verse and the mission.

   Character art carries NO drop shadow. Aaron's drawings already have
   their own heavy ink line; a CSS shadow under them reads as a sticker
   pasted on top of the page rather than a character standing in it.
   ======================================================================= */
.ac-wk { padding-bottom: 0; }
.ac-band { padding: clamp(30px, 6vw, 62px) 0; }
.ac-band__in { position: relative; }

.ac-band--crumbs { padding: 10px 0 0; }
.ac-band--crumbs .crumbs { color: var(--navy); }

/* ---- title band ---- */
.ac-band--head {
  background-color: var(--q-color);
  background-image: radial-gradient(rgba(10, 12, 16, .09) 1.5px, transparent 1.6px);
  background-size: 13px 13px;
  border-top: 4px solid var(--ink);
  border-bottom: 4px solid var(--ink);
  padding: clamp(22px, 4vw, 40px) 0 clamp(26px, 5vw, 46px);
  margin-top: 10px;
}
.ac-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 190px);
  gap: clamp(14px, 3vw, 30px);
  align-items: center;
}
@media (max-width: 620px) {
  .ac-head { grid-template-columns: 1fr; text-align: center; }
}
.ac-head__rank {
  font-family: var(--font-ui);
  font-size: .8rem;
  letter-spacing: .14em;
  color: var(--q-ink);
  opacity: .8;
  margin: 0 0 8px;
}
.ac-head__n {
  display: inline-block;
  font-family: var(--font-ui);
  background: var(--ink);
  color: var(--paper);
  border-radius: 999px;
  padding: 5px 16px 2px;
  letter-spacing: .12em;
  font-size: .85rem;
  margin: 0 0 10px;
}
.ac-head__focus {
  font-family: var(--font-shout);
  font-size: clamp(2.6rem, 11vw, 5rem);
  line-height: .92;
  margin: 0 0 8px;
  color: var(--paper);
  -webkit-text-stroke: 3px var(--ink);
  paint-order: stroke fill;
  text-shadow: 6px 6px 0 var(--ink);
}
.ac-head__sub {
  font-family: var(--font-ui);
  font-size: clamp(1rem, 2.6vw, 1.25rem);
  color: var(--q-ink);
  margin: 0;
}
.ac-head__trainer { text-align: center; }
.ac-head__trainer img { width: 100%; height: auto; max-width: 190px; }
.ac-head__trainerName {
  display: inline-block;
  white-space: nowrap;
  font-family: var(--font-ui);
  font-size: .7rem;
  letter-spacing: .12em;
  background: var(--ink);
  color: var(--paper);
  border-radius: 999px;
  padding: 4px 12px 2px;
  margin-top: 2px;
}

/* ---- the big idea, sitting across the join ---- */
.ac-bigwrap { width: min(760px, calc(100% - 32px)); margin: -26px auto 0; position: relative; z-index: 2; }
.ac-big {
  font-family: var(--font-ui);
  background: var(--squad-yellow);
  border: 4px solid var(--ink);
  border-radius: 18px;
  box-shadow: 7px 7px 0 var(--ink);
  padding: 16px 20px 14px;
  margin: 0;
  transform: rotate(-.8deg);
  font-size: clamp(1rem, 2.4vw, 1.2rem);
  color: var(--ink);
}
.ac-big__tag {
  display: block;
  font-size: .68rem;
  letter-spacing: .16em;
  color: var(--navy);
  margin-bottom: 4px;
}

/* ---- verse: the loudest quiet thing on the page ---- */
.ac-band--verse {
  background: var(--navy);
  border-bottom: 4px solid var(--ink);
  padding-top: clamp(40px, 7vw, 70px);
}
.ac-band--verse .ac-band__in { text-align: center; }
.ac-verse__label {
  font-family: var(--font-ui);
  font-size: .78rem;
  letter-spacing: .2em;
  color: var(--squad-yellow);
  margin: 0 0 14px;
}
.ac-verse__text {
  font-family: var(--font-ui);
  font-size: clamp(1.3rem, 4vw, 2.1rem);
  line-height: 1.25;
  color: var(--paper);
  margin: 0 0 12px;
  border: 0;
  padding: 0;
}
.ac-verse__ref {
  font-family: var(--font-ui);
  color: var(--q-color);
  margin: 0;
  font-size: .95rem;
  letter-spacing: .06em;
}

/* ---- video ---- */
.ac-band--video { background: var(--paper); }

/* ---- parent prep ---- */
.ac-band--prep { background: var(--cream); border-top: 3px solid var(--ink); border-bottom: 3px solid var(--ink); }
.ac-prep {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  background: none;
  border: 0;
  padding: 0;
  margin: 0;
}
@media (max-width: 520px) { .ac-prep { grid-template-columns: 1fr; text-align: center; } }
.ac-prep__art img { width: 100%; height: auto; }
.ac-prep__head {
  font-family: var(--font-ui);
  font-size: .82rem;
  letter-spacing: .16em;
  color: var(--navy);
  margin: 0 0 8px;
}
.ac-prep p { margin: 0; }

/* ---- the four P's ---- */
.ac-p { position: relative; }
.ac-p__letter {
  position: absolute;
  top: -34px;
  left: -14px;
  font-family: var(--font-shout);
  font-size: clamp(5rem, 16vw, 9rem);
  line-height: 1;
  margin: 0;
  color: currentColor;
  opacity: .12;
  pointer-events: none;
}
.ac-p__head {
  font-family: var(--font-shout);
  font-size: clamp(1.6rem, 4.5vw, 2.4rem);
  margin: 0 0 10px;
  position: relative;
}
.ac-p__body {
  margin: 0;
  font-size: clamp(1rem, 2.3vw, 1.1rem);
  position: relative;
  max-width: 62ch;
}

.ac-band--power { background: var(--paper); color: var(--ink); }
.ac-band--power .ac-p__head { color: var(--navy); }

.ac-band--parallel {
  background: var(--cream);
  border-top: 3px solid var(--ink);
  border-bottom: 3px solid var(--ink);
  color: var(--ink);
}
.ac-band--parallel .ac-p__head { color: var(--blast-blue); }

.ac-band--ponder {
  background: var(--sky-blue);
  border-bottom: 4px solid var(--ink);
  color: var(--ink);
}
.ac-band--ponder .ac-p__head { color: var(--navy); }
.ac-ponder__main { font-family: var(--font-ui); font-size: clamp(1.1rem, 2.8vw, 1.35rem); }
.ac-ages { display: grid; gap: 10px; margin-top: 18px; max-width: 62ch; }
.ac-age {
  margin: 0;
  background: var(--paper);
  border: 3px solid var(--ink);
  border-radius: 14px;
  box-shadow: 4px 4px 0 var(--ink);
  padding: 11px 14px 9px;
  font-size: .97rem;
}

.ac-band--pray {
  background: var(--navy);
  border-bottom: 4px solid var(--ink);
  color: var(--paper);
}
.ac-band--pray .ac-p__head { color: var(--squad-yellow); }
.ac-band--pray .ac-p__letter { opacity: .18; }

/* ---- mission: the loudest band ---- */
.ac-band--mission {
  background-color: var(--boom-green);
  background-image: radial-gradient(rgba(10, 12, 16, .13) 1.6px, transparent 1.7px);
  background-size: 14px 14px;
  border-bottom: 4px solid var(--ink);
  text-align: center;
}
.ac-mission__head {
  display: inline-block;
  font-family: var(--font-shout);
  background: var(--ink);
  color: var(--boom-green);
  border-radius: 12px;
  padding: 9px 20px 6px;
  font-size: clamp(1.2rem, 3.4vw, 1.7rem);
  letter-spacing: .03em;
  transform: rotate(-1.5deg);
  margin: 0 0 16px;
}
.ac-mission__body {
  font-family: var(--font-ui);
  font-size: clamp(1.1rem, 2.9vw, 1.4rem);
  margin: 0 auto;
  max-width: 48ch;
  color: var(--ink);
}

/* ---- squad says ---- */
.ac-band--says { background: var(--paper); }
.ac-saybox {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  margin: 0;
}
@media (max-width: 520px) { .ac-saybox { grid-template-columns: 1fr; } }
.ac-saybox__art { width: 100%; height: auto; }
.ac-say {
  display: block;
  background: var(--cream);
  border: 3px solid var(--ink);
  border-radius: 18px;
  box-shadow: 6px 6px 0 var(--ink);
  padding: 16px 18px 14px;
  margin: 0;
  font-family: var(--font-ui);
  font-size: 1.05rem;
}
.ac-say__who {
  display: block;
  font-size: .76rem;
  letter-spacing: .14em;
  color: var(--blast-blue);
  margin-bottom: 4px;
}

/* ---- if it wobbles ---- */
.ac-band--wobble { background: var(--cream); border-top: 3px solid var(--ink); border-bottom: 3px solid var(--ink); }
.ac-wobble { background: none; border: 0; padding: 0; margin: 0; }
.ac-wobble__head {
  font-family: var(--font-ui);
  font-size: .82rem;
  letter-spacing: .16em;
  color: var(--villain);
  margin: 0 0 8px;
}
.ac-wobble p { margin: 0; max-width: 62ch; }

/* ---- the close ---- */
.ac-band--end { background: var(--paper); padding-bottom: clamp(26px, 5vw, 44px); }
.ac-done { text-align: center; margin: 0 0 10px; }
.ac-strip { margin: 10px 0 2px; }
.ac-strip img { filter: none; }

/* Character art never gets a drop shadow — the drawings carry their own
   ink line and a shadow makes them look pasted on. */
.ac-head__trainer img, .ac-prep__art img, .ac-saybox__art, .ac-strip img,
.ac-hero__host img, .ac-q__art img { filter: none; }

@media (prefers-reduced-motion: reduce) {
  .ac-big, .ac-mission__head { transform: none; }
}

/* --- Academy week: narrow-screen corrections --------------------------
   Seen at 516px: the trainer sat hard left in a centred band with a lot
   of empty green beside it, the title band ran far taller than a phone
   screen, and the big idea's drop shadow was being clipped by the window
   edge because its wrapper was exactly as wide as the text measure. */
.ac-head__trainer img {
  display: block;
  margin: 0 auto;
  max-width: min(190px, 58%);
}
.ac-bigwrap { width: min(760px, calc(100% - 44px)); }
@media (max-width: 620px) {
  .ac-band--head { padding: clamp(16px, 4vw, 26px) 0 clamp(18px, 4vw, 30px); }
  .ac-head { gap: 10px; }
  .ac-head__trainer img { max-width: min(150px, 48%); }
  .ac-band { padding: clamp(24px, 7vw, 40px) 0; }
}

/* =======================================================================
   ACADEMY  —  THE REFINEMENT LAYER
   -----------------------------------------------------------------------
   Everything above built the structure. This layer sets the finish.

   The brief: rival Brite and beat it, without stopping looking like The
   Boom Squad. Brite's advantage is restraint — generous white space, one
   accent colour at a time, a disciplined type scale, and unit artwork
   that carries the personality so the layout doesn't have to. The comic
   chrome we had (every panel rotated, 8px hard shadows everywhere, a
   black tab on every heading) was doing the personality's job badly and
   making the page feel loud rather than premium.

   So: the bold display type stays, the ink line stays, the colours stay,
   the characters stay. What goes is the noise — shadows are halved and
   softened, rotations are gone except one, borders thin, and the
   saturated grounds are rationed to the three moments that earn them
   (the title, the verse, the mission). Everything else gets air.

   This is the LAST block in the file, so it wins on specificity ties.
   ======================================================================= */

/* ---- rhythm: the single biggest difference between this and a flyer -- */
.ac-band { padding: clamp(44px, 7vw, 92px) 0; }
.ac-band--crumbs { padding: 14px 0 0; }
.ac-band__in > * + * { margin-top: 0; }

/* ---- shadows: present, not shouting ---- */
.ac-big, .ac-age, .ac-say, .ac-price, .ac-step, .ac-inside__item,
.ac-q, .ac-idx__item.is-ready > a, .ac-video__frame, .ac-spot {
  box-shadow: 0 4px 0 var(--ink), 0 10px 22px rgba(9, 51, 102, .13);
}
.ac-big, .ac-mission__head, .ac-sec__head, .ac-price--best { transform: none; }

/* ---- type scale ---- */
.ac-head__focus {
  font-size: clamp(2.8rem, 9vw, 5.6rem);
  letter-spacing: -.005em;
  text-shadow: none;
  -webkit-text-stroke: 0;
  color: var(--paper);
  filter: drop-shadow(3px 3px 0 var(--ink));
}
.ac-head__god {
  font-family: var(--font-ui);
  font-size: clamp(.78rem, 2vw, .92rem);
  letter-spacing: .22em;
  color: var(--ink);
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 999px;
  display: inline-block;
  padding: 6px 16px 3px;
  margin: 0 0 14px;
}
.ac-head__rank {
  font-size: .72rem;
  letter-spacing: .24em;
  opacity: .72;
  margin-bottom: 16px;
}
.ac-head__sub { font-size: clamp(1rem, 2.2vw, 1.18rem); opacity: .9; margin-top: 10px; }
.ac-band--head {
  border-top: 0;
  border-bottom: 0;
  background-image: none;
  padding: clamp(40px, 7vw, 84px) 0 clamp(52px, 8vw, 96px);
  margin-top: 0;
}

/* ---- the big idea: one restrained accent, not a sticker ---- */
.ac-bigwrap { margin-top: -34px; }
.ac-big {
  background: var(--paper);
  border: 2px solid var(--ink);
  border-left: 10px solid var(--squad-yellow);
  border-radius: 14px;
  padding: 22px 26px 20px;
  font-size: clamp(1.05rem, 2.4vw, 1.3rem);
  line-height: 1.4;
}
.ac-big__tag {
  font-size: .68rem;
  letter-spacing: .24em;
  color: var(--blast-blue);
  margin-bottom: 8px;
}

/* ---- verse: the quiet, confident centrepiece ---- */
.ac-band--verse { border-bottom: 0; padding-top: clamp(56px, 9vw, 110px); }
.ac-verse { background: none; border: 0; box-shadow: none; padding: 0; }
.ac-verse__label { letter-spacing: .3em; font-size: .7rem; margin-bottom: 22px; }
.ac-verse__text {
  font-size: clamp(1.45rem, 3.6vw, 2.35rem);
  line-height: 1.32;
  max-width: 24ch;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 20px;
}
.ac-verse__ref { letter-spacing: .16em; font-size: .84rem; text-transform: uppercase; }

/* ---- headings: an eyebrow and a rule, not a black tab ---- */
.ac-p { padding-top: 0; }
.ac-p__letter { display: none; }
.ac-p__head {
  font-family: var(--font-ui);
  font-size: clamp(.82rem, 2vw, .95rem);
  letter-spacing: .26em;
  margin: 0 0 18px;
  padding-bottom: 14px;
  border-bottom: 2px solid currentColor;
  display: block;
  max-width: 62ch;
}
.ac-p__body {
  font-size: clamp(1.05rem, 2.2vw, 1.18rem);
  line-height: 1.65;
  max-width: 60ch;
}
.ac-blk__head { position: static; background: none; color: inherit; padding: 0; }

/* ---- bands: ration the saturated grounds ---- */
.ac-band--power, .ac-band--says, .ac-band--video, .ac-band--end { background: var(--paper); }
.ac-band--parallel, .ac-band--prep, .ac-band--wobble, .ac-band--spot {
  background: var(--cream);
  border-top: 0;
  border-bottom: 0;
}
.ac-band--ponder {
  background: var(--paper);
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
}
.ac-band--ponder .ac-p__head { color: var(--blast-blue); }
.ac-band--pray { border-bottom: 0; }
.ac-band--mission { background-image: none; border-bottom: 0; }

/* ---- hero spotlight ---- */
.ac-spot {
  background: var(--paper);
  border: 2px solid var(--ink);
  border-left: 10px solid var(--blast-blue);
  border-radius: 14px;
  padding: 26px 28px 24px;
  max-width: 62ch;
}
.ac-spot__label {
  font-family: var(--font-ui);
  font-size: .68rem;
  letter-spacing: .26em;
  color: var(--blast-blue);
  margin: 0 0 6px;
}
.ac-spot__who {
  font-family: var(--font-shout);
  font-size: clamp(1.5rem, 4vw, 2.1rem);
  color: var(--navy);
  margin: 0;
  line-height: 1;
}
.ac-spot__ref {
  font-family: var(--font-ui);
  font-size: .8rem;
  letter-spacing: .14em;
  opacity: .7;
  margin: 4px 0 14px;
}
.ac-spot__body { margin: 0; line-height: 1.65; }

/* ---- prep and wobble: labels, not boxes ---- */
.ac-prep__head, .ac-wobble__head { letter-spacing: .26em; font-size: .72rem; }
.ac-prep p, .ac-wobble p { line-height: 1.65; font-size: 1.04rem; }

/* ---- mission ---- */
.ac-mission__head {
  background: none;
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: clamp(.8rem, 2vw, .95rem);
  letter-spacing: .26em;
  padding: 0 0 14px;
  border-bottom: 2px solid var(--ink);
  border-radius: 0;
  margin-bottom: 22px;
}
.ac-mission__body { font-size: clamp(1.2rem, 3vw, 1.55rem); line-height: 1.45; }

/* ---- squad says ---- */
.ac-say { background: var(--paper); border-width: 2px; border-radius: 16px; padding: 22px 24px 20px; }
.ac-say__who { letter-spacing: .24em; font-size: .68rem; }

/* ---- the close ---- */
.ac-done { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 18px; }
.ac-print__btn { background: var(--paper); cursor: pointer; font-family: var(--font-ui); }
.ac-gospellink { text-align: center; margin: 0 0 22px; }
.ac-gospellink a {
  display: inline-block;
  font-family: var(--font-ui);
  letter-spacing: .14em;
  font-size: .85rem;
  color: var(--navy);
  text-decoration: none;
  border-bottom: 3px solid var(--boom-green);
  padding-bottom: 2px;
}
.ac-gospellink span { display: block; font-size: .9rem; opacity: .7; margin-top: 6px; }
.ac-strip img { width: clamp(46px, 12vw, 88px); }
.ac-strip img:nth-child(n) { transform: none; }
.ac-strip__line { letter-spacing: .24em; font-size: .68rem; opacity: .6; margin-top: 8px; }
.ac-nav a { border-width: 2px; border-radius: 12px; font-size: .84rem; letter-spacing: .06em; }

/* ---- hub ---- */
.ac-sec__head {
  background: none;
  color: var(--navy);
  border: 0;
  box-shadow: none;
  padding: 0 0 16px;
  border-bottom: 3px solid var(--squad-yellow);
  border-radius: 0;
  font-size: clamp(1.5rem, 3.6vw, 2.2rem);
}
.ac-q { border-width: 2px; border-left-width: 10px; border-radius: 18px; padding: 24px; gap: 24px; }
.ac-q__emblem { grid-column: 1; justify-self: center; margin-top: -8px; }
.ac-emblem__n {
  font-family: var(--font-shout);
  font-size: 34px;
  fill: var(--q-ink);
  stroke: none;
}
.ac-idx__item > a, .ac-idx__item > span { border-width: 2px; }
.ac-idx__head {
  background: none;
  color: var(--navy);
  border: 0;
  border-left: 10px solid var(--q-color);
  border-radius: 0;
  padding: 2px 0 2px 14px;
  font-size: 1.05rem;
  letter-spacing: .14em;
}
.ac-price { border-width: 2px; border-radius: 18px; }
.ac-join__tiers { max-width: 56ch; margin: 0 auto 16px; font-size: .95rem; opacity: .8; }
.ac-step, .ac-inside__item { border-width: 2px; border-radius: 16px; padding: 24px 24px 20px; }
.ac-step__n { -webkit-text-stroke: 0; color: var(--blast-blue); font-size: 1.6rem; }

/* =========================================================== PRINTING */
/* The take-home. A member can print the week and work from paper, which
   is what Brite ships as a separate PDF per lesson — kept as one artefact
   here so the page and the print-out can never drift apart. */
@media print {
  body { background: #fff; padding: 0; }
  .nav, .ac-video, .ac-done, .ac-nav, .ac-strip, .ac-strip__line,
  .ac-gospellink, .ac-band--crumbs, .article-foot, footer { display: none !important; }
  .ac-band {
    padding: 10pt 0;
    background: #fff !important;
    color: #000 !important;
    border: 0 !important;
    break-inside: avoid;
  }
  .ac-band--head { padding-bottom: 4pt; }
  .ac-head { display: block; text-align: left; }
  .ac-head__trainer { display: none; }
  .ac-head__focus { font-size: 30pt; color: #000; filter: none; }
  .ac-head__god { border: 1pt solid #000; }
  .ac-bigwrap { margin: 8pt 0; width: 100%; }
  .ac-big { box-shadow: none; border: 1pt solid #000; }
  .ac-verse__text, .ac-verse__label, .ac-verse__ref, .ac-p__head, .ac-p__body { color: #000 !important; }
  .ac-verse__text { font-size: 15pt; max-width: none; }
  .ac-p__head { border-bottom: 1pt solid #000; }
  .ac-say, .ac-spot, .ac-age { box-shadow: none; border: 1pt solid #000; }
  .wrap, .wrap--narrow { width: 100%; }
  a[href]::after { content: ""; }
}

/* Character art must never go full-bleed.

   Below 520px the prep and says grids collapse to one column, and an
   image set to width:100% of a 110px column suddenly became width:100%
   of the whole phone — BeBot rendered half a metre tall. Every character
   picture is capped in its own right, not by the column it happens to be
   sitting in, so no future layout change can do this again. */
.ac-prep__art img, .ac-saybox__art, .ac-head__trainer img, .ac-strip img {
  max-width: 100%;
  height: auto;
}
.ac-prep__art img { max-width: 110px; }
.ac-saybox__art { max-width: 130px; }
@media (max-width: 520px) {
  .ac-prep__art, .ac-saybox { justify-items: center; }
  .ac-prep__art img { max-width: 92px; }
  .ac-saybox__art { max-width: 108px; }
}

/* The cap, stated once, last, and in pixels.

   The previous attempt set `max-width: 100%` on the same selector further
   down the file than the real cap, so it overrode it and the trainer went
   full-bleed again — a self-inflicted cascade bug. Every character image
   gets its size HERE, at the end, and nowhere else. */
.ac-head__trainer img { max-width: 180px; width: 100%; }
.ac-prep__art img    { max-width: 104px; width: 100%; }
.ac-saybox__art      { max-width: 124px; width: 100%; }
.ac-strip img        { max-width: 88px; }
.ac-hero__host img   { max-width: 260px; }
@media (max-width: 620px) {
  .ac-head__trainer img { max-width: 132px; }
  .ac-prep__art img     { max-width: 88px; }
  .ac-saybox__art       { max-width: 104px; }
  .ac-strip img         { max-width: 62px; }
}

/* The roster disc.

   Quarter 1 is Boom green and Baboom's suit is Boom green, so he was
   half-vanishing into his own title band. Rather than choose quarter
   colours around whoever stands in front of them — which breaks the
   moment the cast changes — every trainer now stands on a white disc
   with an ink edge. It reads as a roster plate from the game, it fixes
   the contrast for every character against every colour at once, and it
   is the same device whichever quarter you are in. */
.ac-head__trainer {
  display: grid;
  justify-items: center;
  gap: 0;
}
.ac-head__trainer img {
  background: var(--paper);
  border: 3px solid var(--ink);
  border-radius: 50%;
  padding: 10px;
  box-sizing: border-box;
  aspect-ratio: 1;
  object-fit: contain;
}
.ac-head__trainerName { margin-top: -14px; position: relative; z-index: 1; }

/* Same problem, same fix, on the hub's quarter cards. */
.ac-q__art img {
  background: var(--cream);
  border: 3px solid var(--ink);
  border-radius: 50%;
  padding: 10px;
  box-sizing: border-box;
  aspect-ratio: 1;
  object-fit: contain;
}

/* The hub's hero band, restored and finished.

   A self-inflicted bug: `.ac-hero` set its navy gradient with the
   `background` shorthand, and a later rule set `background-image` for the
   halftone — which replaced the gradient and left the band transparent,
   so white title text landed on a white page. Both layers are now stated
   together, in the right order: halftone on top, gradient underneath. */
.ac-hero {
  background-color: var(--navy);
  background-image:
    radial-gradient(rgba(255, 255, 255, .07) 1.4px, transparent 1.5px),
    linear-gradient(165deg, var(--navy) 0%, #0c4a92 55%, var(--blast-blue) 100%);
  background-size: 13px 13px, auto;
  border-bottom: 0;
  padding: clamp(34px, 6vw, 76px) 0 clamp(38px, 6vw, 80px);
}
.ac-hero__title {
  font-size: clamp(2.1rem, 6.4vw, 3.9rem);
  line-height: 1;
  text-shadow: none;
  filter: drop-shadow(3px 3px 0 rgba(10, 12, 16, .85));
  margin-bottom: 12px;
}
.ac-hero__badge {
  transform: none;
  border-width: 2px;
  font-size: .72rem;
  letter-spacing: .2em;
  padding: 7px 16px 4px;
}
.ac-hero__sub { font-size: clamp(.84rem, 2vw, 1.02rem); letter-spacing: .18em; margin-bottom: 20px; }
.ac-hero__lede { font-size: clamp(1.05rem, 2.4vw, 1.3rem); line-height: 1.45; max-width: 26ch; }
.ac-hero__intro { opacity: .92; line-height: 1.6; }
.ac-hero__host {
  display: grid;
  justify-items: center;
}
.ac-hero__host img {
  background: rgba(255, 255, 255, .96);
  border: 3px solid var(--ink);
  border-radius: 50%;
  padding: 14px;
  box-sizing: border-box;
  aspect-ratio: 1;
  object-fit: contain;
  max-width: 230px;
}
.ac-hero__host .ac-say { border-width: 2px; box-shadow: 0 4px 0 var(--ink); }

/* The strip is the WHOLE Squad — all seven — so it has to wrap and the
   figures have to come down in size. Five fitted a row; seven do not. */
.ac-strip { flex-wrap: wrap; gap: clamp(6px, 2vw, 14px); }
.ac-strip img { max-width: 76px; }
@media (max-width: 620px) { .ac-strip img { max-width: 56px; } }
@media (max-width: 420px) { .ac-strip img { max-width: 48px; } }

/* --- Christ, every week ------------------------------------------------
   Two bands that appear on all 52 weeks. The first is specific to the
   week's story; the second is the same words every time, deliberately,
   because how salvation is received is not something that should be
   phrased differently depending on which virtue we happen to be on.

   They sit between the Mission and the wobble note on purpose: right
   after the page has asked a child to go and DO something is exactly
   where it has to say that the doing is not what saves them. */
.ac-band--christ {
  background: var(--navy);
  color: var(--paper);
  border-top: 4px solid var(--ink);
  border-bottom: 4px solid var(--ink);
}
.ac-christ__label {
  font-family: var(--font-ui);
  font-size: .7rem;
  letter-spacing: .28em;
  color: var(--squad-yellow);
  margin: 0 0 10px;
}
.ac-christ__head {
  font-family: var(--font-shout);
  font-size: clamp(1.4rem, 3.8vw, 2.1rem);
  line-height: 1.05;
  margin: 0 0 14px;
  color: var(--paper);
}
.ac-christ__body {
  margin: 0;
  max-width: 60ch;
  font-size: clamp(1.02rem, 2.2vw, 1.14rem);
  line-height: 1.65;
}

.ac-band--grace { background: var(--paper); padding-top: clamp(30px, 5vw, 56px); }
.ac-grace {
  background: var(--cream);
  border: 2px solid var(--ink);
  border-left: 10px solid var(--boom-green);
  border-radius: 14px;
  padding: 24px 26px 20px;
  max-width: 62ch;
}
.ac-grace__head {
  font-family: var(--font-ui);
  font-size: .72rem;
  letter-spacing: .26em;
  color: var(--navy);
  margin: 0 0 10px;
}
.ac-grace p { margin: 0; line-height: 1.65; }
.ac-grace__more { margin-top: 14px !important; }
.ac-grace__more a {
  font-family: var(--font-ui);
  font-size: .8rem;
  letter-spacing: .14em;
  color: var(--navy);
  text-decoration: none;
  border-bottom: 3px solid var(--boom-green);
}
@media print {
  .ac-band--christ { background: #fff !important; }
  .ac-christ__label, .ac-christ__head, .ac-christ__body { color: #000 !important; }
  .ac-grace { border: 1pt solid #000; }
}

/* The generated week sheet and the rank certificates. */
.ac-sheet__btn {
  background: var(--squad-yellow);
  font-family: var(--font-ui);
  font-size: .9rem;
  text-decoration: none;
}
.ac-sheet__btn span, .ac-q__cert span {
  display: block;
  font-size: .68rem;
  letter-spacing: .12em;
  opacity: .7;
}
.ac-q__cert { margin: 10px 0 0; }
.ac-q__cert a {
  font-family: var(--font-ui);
  font-size: .78rem;
  letter-spacing: .12em;
  color: var(--navy);
  text-decoration: none;
  border-bottom: 3px solid var(--q-color);
  padding-bottom: 2px;
}

/* The rank briefing closes each quarter. Loud enough to feel like an
   occasion, and placed after the grace note so the last word of thirteen
   weeks is not "well done" but "this was never what made you His". */
.ac-band--rank {
  background: var(--navy);
  color: var(--paper);
  border-top: 4px solid var(--ink);
  border-bottom: 4px solid var(--ink);
}
.ac-rank__head {
  font-family: var(--font-shout);
  font-size: clamp(1.5rem, 4.2vw, 2.3rem);
  color: var(--squad-yellow);
  margin: 0 0 12px;
}
.ac-rank__intro { margin: 0 0 20px; max-width: 58ch; font-size: 1.06rem; }
.ac-rank__list { margin: 0; padding-left: 1.3em; max-width: 60ch; }
.ac-rank__list li { margin-bottom: 14px; line-height: 1.6; }
.ac-rank__list li::marker { color: var(--squad-yellow); font-family: var(--font-ui); }
.ac-rank__cert { margin: 26px 0 0; }
.ac-rank__cert .btn { text-decoration: none; }
@media print { .ac-band--rank { background: #fff !important; }
  .ac-rank__head, .ac-rank__intro, .ac-rank__list { color: #000 !important; } }

/* The church sell sheet link, under the pricing tiers. */
.ac-join__sheet { margin: 4px 0 18px; }
.ac-join__sheet a {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: .82rem;
  letter-spacing: .12em;
  color: var(--navy);
  text-decoration: none;
  border-bottom: 3px solid var(--blast-blue);
  padding-bottom: 3px;
}
.ac-join__sheet span { display: block; font-size: .66rem; opacity: .65; letter-spacing: .1em; }

/* --- The Academy runs on off-white ------------------------------------
   Pure white is right for a screen you glance at and wrong for one a
   parent reads at the table for fifteen minutes; it glares, and on a
   phone at night it is the brightest thing in the room.

   ONE VARIABLE controls it. Everything below reads --ac-paper, so the
   whole section warms or cools from a single line.

   The arrangement inverts what was here before: the PAGE is now the warm
   tone and the CARDS are white, which is the more premium of the two and
   makes the panels lift off the page instead of sinking into it. The
   bands that were cream had to become white in the same move — cream on
   off-white is a two-point difference and they simply vanished. */
:root { --ac-paper: #FAF7F0; }

body:has(.ac-hero), body:has(.ac-wk), body:has(.ac-gate) {
  background: var(--ac-paper);
}
.ac-band--power, .ac-band--says, .ac-band--video, .ac-band--end,
.ac-band--crumbs, .ac-band--grace {
  background: transparent;
}
/* Were cream. Now white, so they still read as distinct bands. */
.ac-band--parallel, .ac-band--prep, .ac-band--wobble, .ac-band--spot {
  background: var(--paper);
  border-top: 2px solid rgba(10, 12, 16, .12);
  border-bottom: 2px solid rgba(10, 12, 16, .12);
}
.ac-band--ponder { background: var(--paper); }
/* Cards sit white on the warm page, and keep their ink edge on the white
   bands so they never disappear against their own background. */
.ac-big, .ac-spot, .ac-grace, .ac-age, .ac-say,
.ac-step, .ac-inside__item, .ac-price, .ac-faq__item,
.ac-idx__item > a, .ac-idx__item > span, .ac-q {
  background: var(--paper);
}
.ac-price--best { background: var(--squad-yellow); }
.ac-wk__sheet { background: transparent; }
.ac-gate__box { background: var(--paper); }
.ac-head__trainer img { background: var(--paper); }
.ac-q__art img { background: var(--ac-paper); }

@media print {
  /* Paper is already off-white. Printing a tint of it wastes ink. */
  body:has(.ac-hero), body:has(.ac-wk), body:has(.ac-gate) { background: #fff; }
}

/* --- The footer on the Academy's light pages --------------------------
   The site footer is built for the navy page: white text, Squad-yellow
   links. The moment the Academy went off-white, those links were yellow
   on near-white — all but unreadable, which is what Aaron spotted.

   Rather than restyle the links lighter and lose the brand colour, the
   footer gets its own dark band here. That matches the rest of
   theboomsquad.com, gives the page a proper ending instead of trailing
   off, and lets the yellow do what it was chosen for. */
body:has(.ac-hero) .site-foot,
body:has(.ac-wk) .site-foot,
body:has(.ac-gate) .site-foot {
  background: var(--navy);
  border-top: 4px solid var(--ink);
  padding: 34px 0 44px;
  margin-top: 0;
  opacity: 1;
}
/* The button row above it belongs to the page, not the footer band. */
body:has(.ac-hero) .post-foot,
body:has(.ac-wk) .post-foot,
body:has(.ac-gate) .post-foot {
  padding-bottom: 36px;
}
/* Legal links were the same yellow at 0.72rem — the hardest thing on the
   page to read. On the dark band they get the quieter treatment they
   should have had: paper at low emphasis, yellow only on hover/focus. */
body:has(.ac-hero) .site-foot .legal-nav a,
body:has(.ac-wk) .site-foot .legal-nav a,
body:has(.ac-gate) .site-foot .legal-nav a {
  color: var(--paper);
  opacity: .72;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, .35);
}
body:has(.ac-hero) .site-foot .legal-nav a:hover,
body:has(.ac-wk) .site-foot .legal-nav a:hover,
body:has(.ac-gate) .site-foot .legal-nav a:hover {
  color: var(--squad-yellow);
  opacity: 1;
  border-bottom-color: var(--squad-yellow);
}
/* The socials row keeps the yellow — it is the one thing up there anyone
   is actually meant to click. */
body:has(.ac-hero) .site-foot .socials a,
body:has(.ac-wk) .site-foot .socials a,
body:has(.ac-gate) .site-foot .socials a {
  color: var(--squad-yellow);
  letter-spacing: .12em;
}
@media print {
  body:has(.ac-wk) .site-foot { display: none !important; }
}

/* "THE WHOLE SQUAD IS TRAINING WITH YOU" was navy at 0.6 opacity — fine
   on white, washed out on the warm ground. Darker and less transparent. */
.ac-strip__line { color: var(--navy); opacity: .85; font-size: .72rem; }
/* And the gap between the week nav and the site's own button row was
   doing nothing but making the page feel like it had ended twice. */
.ac-band--end { padding-bottom: clamp(16px, 3vw, 28px); }

/* Families and churches are different buyers. Separate rows with their
   own heading, rather than four cards in a line where a parent has to
   work out which two are not meant for them. */
.ac-price__group {
  font-family: var(--font-ui);
  font-size: .72rem;
  letter-spacing: .26em;
  color: var(--navy);
  opacity: .7;
  margin: 26px 0 12px;
}
.ac-prices--church .ac-price { min-width: 260px; }
.ac-prices--church { margin-bottom: 8px; }

/* =======================================================================
   THE ACADEMY EMBLEM
   -----------------------------------------------------------------------
   Rule from the asset package, worth repeating here because it is easy to
   break later: the shield field is Hero Blue, so the emblem must never sit
   on a Hero Blue ground or it blends into it. Navy, white and off-white
   are fine. The hero band uses the DARK master for that reason.
   ======================================================================= */
.ac-hero__emblem { margin: 0; display: grid; justify-items: center; }
.ac-hero__emblem img {
  width: 100%;
  max-width: 280px;
  height: auto;
}
@media (max-width: 760px) {
  .ac-hero__emblem img { max-width: 210px; }
}
/* With the emblem in the band, BeBot steps back to a supporting size. */
.ac-hero__in { grid-template-columns: minmax(0, 1fr) minmax(0, 300px); }
.ac-hero__host img { max-width: 150px; }
@media (max-width: 760px) { .ac-hero__host { margin-top: 18px; } }

/* On a week page the icon is a stamp, not a headline — it says which
   club you are in and then gets out of the way of the focus word. */
.ac-head__mark { grid-column: 1 / -1; }
.ac-head__mark img { width: 64px; height: auto; display: block; }
@media (max-width: 620px) { .ac-head__mark img { margin: 0 auto 4px; } }

.ac-gate__mark {
  width: 150px;
  height: auto;
  display: block;
  margin: 0 auto 16px;
}

/* The hero band is a three-part row on a wide screen and a stack on a
   phone. Re-stated AFTER the emblem rules, because setting the columns
   again further down the file silently overrode the original collapse
   and squeezed the title into a 170px column. Same cascade mistake as
   the character sizes earlier; stating the breakpoint last is the fix. */
@media (max-width: 860px) {
  .ac-hero__in { grid-template-columns: 1fr; text-align: center; }
  .ac-hero__lede, .ac-hero__intro { margin-left: auto; margin-right: auto; }
  .ac-hero__cta { justify-content: center; }
  .ac-hero__emblem { order: -1; margin-bottom: 18px; }
  .ac-hero__emblem img { max-width: 230px; }
  .ac-hero__host { display: none; }
}

/* --- Characters break OUT of the disc, they are not cut by it ---------
   The first version made the disc by clipping the image itself: a circle
   border-radius with object-fit on a square picture. A standing figure
   fills that square corner to corner, so the circle sliced his boots and
   his elbows off. It read as a cropping accident, because it was one.

   The disc is now its own shape sitting BEHIND the character, and the
   art is never clipped at all. The figure overlapping the ring is the
   point — it is what every comic roster plate does, and it gives the
   depth the flat version was missing. */
.ac-head__trainer, .ac-prep__art, .ac-q__art, .ac-hero__host {
  position: relative;
  isolation: isolate;
}
.ac-head__trainer::before, .ac-prep__art::before,
.ac-q__art::before, .ac-hero__host::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 52%;
  width: 84%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: var(--paper);
  border: 3px solid var(--ink);
  z-index: -1;
}
/* On the navy hero band the disc is cream rather than paper, so BeBot's
   white highlights still have something to sit against. */
.ac-hero__host::before { background: var(--cream); }
.ac-q__art::before { background: var(--ac-paper); }

/* Undo the clipping treatment entirely. */
.ac-head__trainer img, .ac-prep__art img, .ac-q__art img, .ac-hero__host img {
  background: none;
  border: 0;
  border-radius: 0;
  padding: 0;
  aspect-ratio: auto;
  object-fit: fill;
  position: relative;
}

/* The disc is sized from its container, so the container has to be the
   size of the character — not the width of the grid cell it happens to
   sit in. Without this the week header's trainer slot is full-width on a
   phone and the disc rendered as a circle the width of the screen. */
.ac-head__trainer, .ac-prep__art, .ac-q__art, .ac-hero__host {
  width: fit-content;
  max-width: 100%;
  margin-inline: auto;
}
.ac-head__trainer::before, .ac-prep__art::before,
.ac-q__art::before, .ac-hero__host::before {
  width: 86%;
  top: 50%;
}
/* The trainer's name pill is a sibling of the image inside that
   shrink-wrapped box, so it must not stretch it wider than the figure. */
.ac-head__trainerName { justify-self: center; }

/* =======================================================================
   TYPOGRAPHY PASS — readable comic, not small comic
   -----------------------------------------------------------------------
   Three things Aaron asked for, and they are related.

   1. THE FOCUS WORD IS OUTLINED, NOT SHADOWED. A drop shadow only darkens
      one side, so white type on Boom green still had two edges touching a
      colour of similar lightness and it swam. A full black stroke all the
      way round separates the letterform from whatever is behind it, at
      every quarter colour, with no per-colour tuning.

   2. FUN BUT READABLE. Titan One and Lilita One are the right faces; the
      problem was never the fonts, it was how they were being set. Small
      caps at .68rem with .26em of letterspacing is a decorative texture,
      not a label — the eye has to reassemble every word. Labels are now
      bigger and the tracking is roughly halved. Titan One also stays for
      display only: it is a poster face, and it gets tiring in a sentence.

   3. NO TINY HEADERS. Everything that had dropped below about .8rem has
      come up. A heading smaller than the body text it introduces is not
      a heading, it is a caption.
   ======================================================================= */

/* ---- 1. the focus word ---- */
.ac-head__focus {
  color: var(--paper);
  -webkit-text-stroke: 9px var(--ink);
  paint-order: stroke fill;
  filter: none;
  text-shadow: none;
  letter-spacing: .01em;
}
@media (max-width: 620px) { .ac-head__focus { -webkit-text-stroke-width: 6px; } }
/* Same treatment wherever display type sits on a colour. */
.ac-hero__title {
  -webkit-text-stroke: 7px var(--ink);
  paint-order: stroke fill;
  filter: none;
  text-shadow: none;
}
@media (max-width: 620px) { .ac-hero__title { -webkit-text-stroke-width: 5px; } }

/* ---- 2 & 3. labels: bigger, less tracking ---- */
.ac-head__god      { font-size: clamp(.92rem, 2.2vw, 1.05rem); letter-spacing: .12em; padding: 8px 18px 5px; }
.ac-head__rank     { font-size: .86rem; letter-spacing: .12em; opacity: .85; }
.ac-head__trainerName { font-size: .8rem; letter-spacing: .08em; }
.ac-verse__label   { font-size: .92rem; letter-spacing: .14em; }
.ac-verse__ref     { font-size: .95rem; letter-spacing: .08em; }
.ac-big__tag       { font-size: .82rem; letter-spacing: .12em; }
.ac-p__head        { font-size: clamp(1.05rem, 2.6vw, 1.25rem); letter-spacing: .1em; }
.ac-prep__head,
.ac-wobble__head   { font-size: .95rem; letter-spacing: .1em; }
.ac-spot__label    { font-size: .86rem; letter-spacing: .12em; }
.ac-christ__label  { font-size: .9rem;  letter-spacing: .12em; }
.ac-grace__head    { font-size: .92rem; letter-spacing: .12em; }
.ac-mission__head  { font-size: clamp(1.05rem, 2.6vw, 1.25rem); letter-spacing: .1em; }
.ac-say__who       { font-size: .84rem; letter-spacing: .1em; }
.ac-age__tag       { font-size: .8rem;  letter-spacing: .06em; }
.ac-price__group   { font-size: .92rem; letter-spacing: .12em; opacity: .85; }
.ac-price__badge   { font-size: .86rem; letter-spacing: .1em; }
.ac-strip__line    { font-size: .86rem; letter-spacing: .1em; opacity: .9; }
.ac-gospellink a   { font-size: .98rem; letter-spacing: .08em; }
.ac-nav a          { font-size: .95rem; letter-spacing: .03em; }
.ac-idx__head      { font-size: 1.2rem; letter-spacing: .08em; }
.ac-sheet__btn     { font-size: .98rem; }
.ac-sheet__btn span, .ac-q__cert span { font-size: .78rem; letter-spacing: .06em; }
.ac-q__rank        { font-size: 1rem; letter-spacing: .1em; }
.ac-q__hero, .ac-q__count { font-size: .92rem; letter-spacing: .06em; }
.ac-rank__head     { font-size: clamp(1.7rem, 4.4vw, 2.5rem); }
.ac-gate label     { font-size: .95rem; letter-spacing: .1em; }
.ac-hero__sub      { font-size: clamp(.98rem, 2.2vw, 1.15rem); letter-spacing: .1em; }
.ac-hero__badge    { font-size: .86rem; letter-spacing: .12em; }
.ac-step__head, .ac-inside__item h3 { font-size: 1.12rem; letter-spacing: .02em; }

/* Body copy up a touch as well — these pages are read, not skimmed. */
.ac-p__body, .ac-prep p, .ac-wobble p, .ac-spot__body, .ac-grace p {
  font-size: clamp(1.08rem, 2.3vw, 1.2rem);
  line-height: 1.68;
}

/* =======================================================================
   ACADEMY ON A PHONE
   -----------------------------------------------------------------------
   This is where the Academy is actually used: a parent holding a phone at
   the kitchen table with a child next to them. Everything below is either
   a tap-target size, an overflow guard, or a rule that stops something
   designed on a wide screen from breaking at 360px.
   ======================================================================= */

/* Nothing may ever push the page sideways. Shadows are offset 4-8px and a
   long verse reference or a hyphen-free word can both do it. */
.ac-wk, .ac-hero, .ac-band, .ac-band__in { max-width: 100%; }
.ac-band__in > *, .ac-p__body, .ac-verse__text, .ac-christ__body,
.ac-grace p, .ac-spot__body, .ac-prep p, .ac-wobble p {
  overflow-wrap: break-word;
}
.ac-wk img, .ac-hero img, .ac-band img { max-width: 100%; height: auto; }

/* Anchor jumps land under the fixed nav pill otherwise. */
#ac-join, #ac-index, .ac-band { scroll-margin-top: 104px; }

@media (max-width: 760px) {
  /* Tap targets. Apple and Google both want 44px; the index rows and the
     week nav were under it. */
  .ac-idx__item > a, .ac-idx__item > span { min-height: 52px; align-content: center; }
  .ac-nav a { min-height: 52px; }
  .ac-gospellink a { display: inline-block; min-height: 44px; padding-top: 10px; }
  .ac-faq__item summary { min-height: 44px; display: flex; align-items: center; }

  /* Buttons go full width and stack. Two half-width buttons side by side
     at 360px produce two-line labels and a lot of misses. */
  .ac-done { flex-direction: column; align-items: stretch; }
  .ac-done .btn { width: 100%; }
  .ac-hero__cta { flex-direction: column; align-items: stretch; }
  .ac-hero__cta .btn { width: 100%; }
  .ac-prices { flex-direction: column; align-items: stretch; }
  .ac-price { min-width: 0; width: 100%; }

  /* Bands breathe less on a small screen — the padding that looks
     generous at 1200px is just scrolling at 375px. */
  .ac-band { padding: clamp(26px, 7vw, 40px) 0; }
  .ac-bigwrap { margin-top: -22px; width: calc(100% - 32px); }
  .ac-big { padding: 18px 18px 16px; }

  /* The 52-week index: number and focus on one line, the subtitle under
     it, and SOON out of the flow so a long focus never collides with it. */
  .ac-idx__item > a, .ac-idx__item > span {
    grid-template-columns: 36px minmax(0, 1fr);
    position: relative;
    padding-right: 62px;
  }
  .ac-idx__sub { grid-column: 2; font-size: .9rem; }
  .ac-idx__soon { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); margin: 0; }

  /* Quarter cards stack, and the figure is capped so it does not take a
     whole screen before the words. */
  .ac-q { grid-template-columns: 1fr; text-align: center; padding: 20px; }
  .ac-q__art img { max-width: 170px; margin-inline: auto; }
  .ac-q__emblem { margin: 0 auto 4px; }

  .ac-saybox, .ac-prep { justify-items: center; text-align: center; }
  .ac-ages { max-width: 100%; }
  .ac-verse__text { max-width: 100%; }
}

@media (max-width: 420px) {
  .ac-band { padding: 24px 0; }
  .ac-head__focus { -webkit-text-stroke-width: 5px; }
  .ac-idx__item > a, .ac-idx__item > span { grid-template-columns: 30px minmax(0, 1fr); padding-right: 56px; }
  .ac-strip { gap: 4px; }
}

/* iOS zooms the whole page when a focused input is under 16px. The gate
   is the one form in the Academy, and it is the worst possible place for
   the layout to jump. */
.ac-gate input[type="password"] { font-size: 16px; }

/* Hover shadows are meaningless on touch and leave stuck states behind. */
@media (hover: none) {
  .ac-idx__item.is-ready > a:hover { transform: none; box-shadow: 0 4px 0 var(--ink); }
  .ac-nav a:hover { box-shadow: none; }
}

/* Two download links the mobile pass missed, found by measuring every
   link on the live page rather than guessing: the rank certificate links
   on the quarter cards and the church sell-sheet link were 33-34px tall.
   Both are two-line links, so the fix is padding, not font size. */
.ac-q__cert a, .ac-join__sheet a {
  min-height: 48px;
  padding-top: 8px;
  padding-bottom: 6px;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
}

/* The yellow button carries a 1.5deg tilt from the main site's styling.
   It works on the home page, where it is one playful element among
   several; in the Academy it sits next to a straight green button and
   reads as a mistake rather than a flourish. Straightened here only --
   the rest of the site is untouched. */
body:has(.ac-hero) .btn--yellow,
body:has(.ac-wk) .btn--yellow,
body:has(.ac-gate) .btn--yellow {
  transform: none;
}

/* =======================================================================
   THE DOWNLOAD LIBRARY  —  /academy/downloads/
   -----------------------------------------------------------------------
   A list of 59 files has one job: let somebody find the one they want
   and see that it is real before they tap it. So every row carries the
   format and the true file size, the whole row is the target rather than
   the words, and the week sheets stay grouped by quarter in the same
   colours used everywhere else.
   ======================================================================= */
.lib-head {
  font-family: var(--font-shout);
  font-size: clamp(1.4rem, 3.6vw, 2rem);
  color: var(--navy);
  margin: 0 0 10px;
}
.lib-note { margin: 0 0 20px; max-width: 62ch; }
.lib-list { list-style: none; margin: 0 0 8px; padding: 0; display: grid; gap: 10px; }
.lib-list--start { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.lib-list--weeks { gap: 8px; }

.lib-item__link {
  display: grid;
  gap: 3px;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-left: 8px solid var(--q-color);
  border-radius: 12px;
  padding: 14px 16px 12px;
  text-decoration: none;
  color: var(--ink);
  min-height: 56px;
  align-content: center;
}
.lib-item__link:hover { box-shadow: 0 4px 0 var(--ink); }
.lib-item__link:focus-visible { outline: 4px dashed var(--squad-yellow); outline-offset: 3px; }
.lib-item__title {
  font-family: var(--font-ui);
  font-size: 1.02rem;
  letter-spacing: .04em;
  color: var(--navy);
}
.lib-item__note { font-size: .96rem; line-height: 1.5; opacity: .85; max-width: 62ch; }
.lib-item__meta {
  font-family: var(--font-ui);
  font-size: .76rem;
  letter-spacing: .1em;
  opacity: .6;
}
.lib-group { margin-bottom: 30px; }
.lib-group__head {
  font-family: var(--font-ui);
  font-size: 1.1rem;
  letter-spacing: .1em;
  color: var(--navy);
  border-left: 8px solid var(--q-color);
  padding: 2px 0 2px 12px;
  margin: 0 0 12px;
}
.lib-group__head span { opacity: .6; font-size: .9em; }
.lib-foot { max-width: 60ch; margin: 0 auto 20px; text-align: center; opacity: .85; }
.ac-library .ac-band--head { background: var(--navy); }

@media (max-width: 760px) {
  .lib-list--start { grid-template-columns: 1fr; }
  .lib-item__link { min-height: 60px; }
}

/* The library link, at the foot of every week and under the hub's index. */
.ac-liblink { text-align: center; margin: 0 0 14px; }
.ac-liblink--hub { text-align: left; margin: 0 0 18px; }
.ac-liblink a {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: .98rem;
  letter-spacing: .1em;
  color: var(--navy);
  text-decoration: none;
  border-bottom: 3px solid var(--blast-blue);
  padding-bottom: 3px;
  min-height: 44px;
  padding-top: 10px;
}

/* =======================================================================
   THE HUB'S JUMP BAR
   -----------------------------------------------------------------------
   The hub is eight full-height bands, and the two things people actually
   come for -- the price and the list of 52 weeks -- are near the bottom.
   On a phone that is a long thumb past material they have already made
   their mind up about.

   It is a horizontally scrolling strip of plain anchor links pinned
   under the site nav. No JavaScript, so it works regardless; and it
   scrolls sideways rather than wrapping to three lines on a phone, which
   would cost more vertical space than it saves.
   ======================================================================= */
.ac-jump {
  position: sticky;
  top: 86px;
  z-index: 30;
  background: var(--paper);
  border-top: 3px solid var(--ink);
  border-bottom: 3px solid var(--ink);
  box-shadow: 0 6px 14px rgba(9, 51, 102, .09);
}
.ac-jump__in {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
}
.ac-jump__in::-webkit-scrollbar { display: none; }
.ac-jump a {
  flex: 0 0 auto;
  scroll-snap-align: start;
  font-family: var(--font-ui);
  font-size: .84rem;
  letter-spacing: .08em;
  color: var(--navy);
  text-decoration: none;
  padding: 0 14px;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  border-bottom: 4px solid transparent;
  white-space: nowrap;
}
.ac-jump a:hover, .ac-jump a:focus-visible { border-bottom-color: var(--boom-green); }
.ac-jump a:focus-visible { outline: 3px dashed var(--squad-yellow); outline-offset: -4px; }

/* Anchors must clear the site nav AND this bar, or a jump lands with the
   heading hidden behind both. */
#ac-how, #ac-inside, #ac-quarters, #ac-index, #ac-join, #ac-faq {
  scroll-margin-top: 150px;
}
/* The hub's own sections can afford to be tighter than a week page's --
   this is a page somebody is scanning, not reading. */
.ac-hero ~ .wrap .ac-sec { padding-top: clamp(26px, 4vw, 44px); }

@media (max-width: 760px) {
  .ac-jump { top: 78px; }
  .ac-jump a { font-size: .8rem; padding: 0 12px; }
  #ac-how, #ac-inside, #ac-quarters, #ac-index, #ac-join, #ac-faq { scroll-margin-top: 136px; }
}
@media print { .ac-jump { display: none; } }

/* --------------------------------------------------- START HERE page */
.start-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.start-step {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 16px;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-left: 10px solid var(--boom-green);
  border-radius: 14px;
  padding: 22px 24px 20px;
}
.start-step__n {
  font-family: var(--font-shout);
  font-size: 2.4rem;
  line-height: 1;
  color: var(--boom-green);
  -webkit-text-stroke: 2px var(--ink);
  paint-order: stroke fill;
  margin: 0;
}
.start-step__head {
  font-family: var(--font-ui);
  font-size: 1.12rem;
  letter-spacing: .1em;
  color: var(--navy);
  margin: 0 0 8px;
}
.start-step__body p { margin: 0; line-height: 1.65; font-size: 1.06rem; }
.start-step__go { margin-top: 14px !important; }

.start-rhythm { margin: 0; display: grid; gap: 14px; max-width: 62ch; }
.start-rhythm dt {
  font-family: var(--font-ui);
  font-size: .88rem;
  letter-spacing: .14em;
  color: var(--blast-blue);
}
.start-rhythm dd { margin: 4px 0 0; line-height: 1.6; }

.start-expect { margin: 0; padding-left: 1.2em; max-width: 62ch; display: grid; gap: 12px; }
.start-expect li { line-height: 1.65; }
.start-expect li::marker { color: var(--boom-green); }

/* The jump bar's one outbound link is marked so it does not read as
   another anchor on the same page. */
.ac-jump__start {
  background: var(--boom-green);
  border-bottom-color: var(--ink) !important;
  font-weight: inherit;
}
@media (max-width: 620px) {
  .start-step { grid-template-columns: 1fr; gap: 6px; padding: 18px 18px 16px; }
}

/* --- Display headings never break mid-word ---------------------------
   The mobile pass put overflow-wrap:break-word on everything inside a
   band so a long verse reference could not push the page sideways. On
   body copy that is right. On a 5.6rem display heading it produced
   "THE DOWNLOA / D LIBRARY", which is worse than any overflow.

   Two changes: the focus word breaks only between words, and the pages
   whose title is a PHRASE rather than a single word (the library, start
   here, the gospel page) get a smaller size. COURAGE can be 5.6rem;
   THE DOWNLOAD LIBRARY cannot. */
.ac-head__focus, .ac-hero__title, .lib-head, .ac-sec__head,
.ac-rank__head, .ac-christ__head, .start-step__head {
  overflow-wrap: normal;
  word-break: keep-all;
  hyphens: none;
  text-wrap: balance;
}
.ac-library .ac-head__focus,
.ac-start .ac-head__focus,
.ac-gospel .ac-head__focus {
  font-size: clamp(1.9rem, 5.4vw, 3.3rem);
  -webkit-text-stroke-width: 6px;
  line-height: 1.02;
}
@media (max-width: 620px) {
  .ac-library .ac-head__focus,
  .ac-start .ac-head__focus,
  .ac-gospel .ac-head__focus { -webkit-text-stroke-width: 4px; }
}

/* =======================================================================
   NO DISPLAY HEADING BREAKS MID-WORD — SITEWIDE
   -----------------------------------------------------------------------
   Aaron found "THE DOWNLOA / D LIBRARY" on the Academy and asked for the
   same guarantee everywhere. This is the sitewide version, written as
   one rule against the display face rather than a list of class names,
   so a heading added next year is covered without anybody remembering
   to come back here.

   Why it broke in the first place: overflow-wrap:break-word is the right
   call on body copy, where the alternative is a long URL pushing the
   page sideways. On a heading set at 3-6rem it is always the wrong call,
   because a display word is wide enough to look broken rather than
   wrapped. Headings get the opposite treatment: break between words or
   not at all, and lean on text-wrap:balance to even the lines.

   text-wrap:balance is progressive — browsers that do not support it
   simply wrap normally, which is the behaviour we already had. */
h1, h2, h3, h4,
[class*="__head"], [class*="__title"], [class*="__name"], [class*="__focus"] {
  overflow-wrap: normal;
  word-break: keep-all;
  hyphens: none;
}
h1, h2, h3 { text-wrap: balance; }

/* One exception, deliberately: a single word longer than its container
   has to break somewhere or it leaves the page. This only ever fires on
   a word with no spaces in it that is genuinely wider than the column —
   never on a phrase. */
h1, h2, h3, h4, [class*="__title"], [class*="__focus"] {
  overflow-wrap: anywhere;
  word-break: normal;
}

/* ===================================================== FIND A WEEK */
.find-label {
  display: block;
  font-family: var(--font-ui);
  font-size: .9rem;
  letter-spacing: .12em;
  color: var(--navy);
  margin-bottom: 10px;
}
.find-box {
  width: 100%;
  font: inherit;
  font-size: 16px;          /* 16px or iOS zooms the page on focus */
  padding: 14px 16px;
  border: 3px solid var(--ink);
  border-radius: 14px;
  background: var(--paper);
  min-height: 52px;
}
.find-box:focus-visible { outline: 4px dashed var(--squad-yellow); outline-offset: 3px; }
.find-count {
  font-family: var(--font-ui);
  font-size: .86rem;
  letter-spacing: .08em;
  opacity: .7;
  margin: 10px 0 18px;
}
.find-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.find-item > a {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-left: 8px solid var(--q-color);
  border-radius: 12px;
  padding: 12px 16px;
  text-decoration: none;
  color: var(--ink);
  min-height: 56px;
}
.find-item > a:hover { box-shadow: 0 4px 0 var(--ink); }
.find-item > a:focus-visible { outline: 4px dashed var(--squad-yellow); outline-offset: 3px; }
.find-item__n { font-family: var(--font-shout); font-size: 1.3rem; color: var(--q-text); }
.find-item__main { display: grid; gap: 2px; min-width: 0; }
.find-item__focus { font-family: var(--font-ui); font-size: 1.05rem; letter-spacing: .04em; color: var(--navy); }
.find-item__sub { font-size: .95rem; opacity: .85; }
.find-item__tags { font-family: var(--font-ui); font-size: .76rem; letter-spacing: .08em; opacity: .6; }
.find-item__q {
  font-family: var(--font-ui);
  font-size: .72rem;
  letter-spacing: .12em;
  opacity: .6;
  white-space: nowrap;
}
.find-empty { margin-top: 18px; font-size: 1.05rem; }
@media (max-width: 620px) {
  .find-item > a { grid-template-columns: 34px minmax(0, 1fr); }
  .find-item__q { display: none; }
}

/* ====================================================== PROGRESS */
.ac-prog__line { font-family: var(--font-ui); font-size: 1.05rem; margin: 0 0 12px; color: var(--navy); }
.ac-prog__line strong { font-family: var(--font-shout); font-size: 1.5rem; }
.ac-prog__line span { opacity: .75; font-size: .9em; }
.ac-prog { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 0 0 16px; }
.ac-prog__seg {
  position: relative;
  height: 18px;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 999px;
  overflow: hidden;
}
.ac-prog__seg i {
  display: block;
  height: 100%;
  width: 0;
  background: var(--q-color);
  transition: width .5s ease;
}
.ac-prog__seg.is-full { box-shadow: 0 0 0 3px var(--squad-yellow); }
.ac-prog__next { margin: 0; }
/* A week already completed, in the hub's index. */
.ac-idx__item.is-done > a { background: var(--cream); }
.ac-idx__item.is-done .ac-idx__focus::after {
  content: " \2713";
  color: var(--green-deep);
  font-family: var(--font-ui);
}
@media (prefers-reduced-motion: reduce) { .ac-prog__seg i { transition: none; } }

/* ========================================================= AUDIO */
.ac-band--audio { background: var(--cream); border-top: 2px solid rgba(10,12,16,.12); border-bottom: 2px solid rgba(10,12,16,.12); }
.ac-audio__label {
  font-family: var(--font-ui);
  font-size: .8rem;
  letter-spacing: .2em;
  color: var(--blast-blue);
  margin: 0 0 6px;
}
.ac-audio__title { font-family: var(--font-ui); font-size: 1.1rem; margin: 0 0 12px; color: var(--navy); }
.ac-audio__player { width: 100%; max-width: 560px; min-height: 44px; }
.ac-audio__note { margin: 10px 0 0; opacity: .8; font-size: .98rem; }
@media print { .ac-band--audio { display: none; } }

/* ------------------------------------------------- SEASONAL WEEKS */
.seas-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.seas-item > a {
  display: grid;
  gap: 4px;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-left: 10px solid var(--villain);
  border-radius: 14px;
  padding: 20px 22px 18px;
  text-decoration: none;
  color: var(--ink);
  min-height: 64px;
}
.seas-item > a:hover { box-shadow: 0 4px 0 var(--ink); }
.seas-item > a:focus-visible { outline: 4px dashed var(--squad-yellow); outline-offset: 3px; }
.seas-item__focus {
  font-family: var(--font-shout);
  font-size: clamp(1.4rem, 3.6vw, 1.9rem);
  color: var(--navy);
  line-height: 1.05;
}
.seas-item__sub { font-size: 1.02rem; opacity: .9; }
.seas-item__ref { font-family: var(--font-ui); font-size: .82rem; letter-spacing: .1em; opacity: .6; }

/* ---------------------------------------------- SHORT VERSION mode */
.ac-crumbrow { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.ac-compact__btn {
  font-family: var(--font-ui);
  font-size: .76rem;
  letter-spacing: .12em;
  background: var(--paper);
  color: var(--navy);
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 0 14px;
  min-height: 40px;
  cursor: pointer;
}
.ac-compact__btn[aria-pressed="true"] { background: var(--squad-yellow); }
.ac-compact__btn:focus-visible { outline: 3px dashed var(--squad-yellow); outline-offset: 3px; }

/* What the short version drops: the teaching bands and the grown-up
   notes. What it keeps: verse, big idea, Ponder, Pray, Mission -- the
   four things that have to be in front of you at the table, plus the
   one line that stops the Mission being read as a way to earn
   something. The Christ section stays too; it is the point. */
.ac-wk.is-compact .ac-band--prep,
.ac-wk.is-compact .ac-band--power,
.ac-wk.is-compact .ac-band--parallel,
.ac-wk.is-compact .ac-band--spot,
.ac-wk.is-compact .ac-band--wobble,
.ac-wk.is-compact .ac-band--video,
.ac-wk.is-compact .ac-band--says,
.ac-wk.is-compact .ac-strip,
.ac-wk.is-compact .ac-strip__line { display: none; }
.ac-wk.is-compact .ac-band { padding-top: clamp(22px, 4vw, 38px); padding-bottom: clamp(22px, 4vw, 38px); }

/* --- Character sizes, stated LAST and in pixels ----------------------
   Third time this has bitten: a later rule touching these selectors
   (the roster disc, then the shrink-to-fit container) dropped the cap,
   and BeBot rendered the full width of the hero band on desktop.

   The fix is not another override in the middle of the file. Every
   character image gets its size here, at the very end, as a plain pixel
   maximum on BOTH the image and its container, so nothing above can win
   and nothing added below is likely to touch both. */
.ac-hero__host     { max-width: 190px; }
.ac-hero__host img { max-width: 190px; width: 100%; height: auto; }
.ac-head__trainer     { max-width: 180px; }
.ac-head__trainer img { max-width: 180px; width: 100%; height: auto; }
.ac-prep__art     { max-width: 104px; }
.ac-prep__art img { max-width: 104px; width: 100%; height: auto; }
.ac-q__art     { max-width: 180px; }
.ac-q__art img { max-width: 180px; width: 100%; height: auto; }
.ac-saybox__art { max-width: 124px; width: 100%; height: auto; }
.ac-strip img   { max-width: 76px; }

@media (max-width: 860px) {
  .ac-hero__host, .ac-hero__host img { max-width: 150px; }
}
@media (max-width: 620px) {
  .ac-head__trainer, .ac-head__trainer img { max-width: 132px; }
  .ac-prep__art, .ac-prep__art img { max-width: 88px; }
  .ac-saybox__art { max-width: 104px; }
  .ac-strip img { max-width: 56px; }
}
@media (max-width: 420px) {
  .ac-strip img { max-width: 48px; }
}

/* ===================================================================
   JOINING FREE  —  the signup form, the gift tool, "check your email"
   -------------------------------------------------------------------
   Appended LAST, deliberately.

   Three times during this build a size cap on the character art was
   undone by a rule written further down the file, because the last
   declaration of equal specificity wins. The lesson stuck: anything
   that must hold goes at the END, and anything appended after this
   block has to be checked against it.
   =================================================================== */

/* The gate page now carries a whole signup form rather than one
   password box, so it needs a little more room to breathe. */
.ac-gate { max-width: 520px; }

/* Every field on the gate, not just the password box. The original rule
   named input[type="password"] alone; the moment a text and an email
   input joined it, they inherited nothing and looked like a different
   website. */
.ac-gate input[type="text"],
.ac-gate input[type="email"],
.ac-gate input[type="password"],
.ac-gate textarea {
  width: 100%;
  font: inherit;
  padding: 12px 14px;
  border: 3px solid var(--ink);
  border-radius: 12px;
  margin-bottom: 14px;
  min-height: 48px;
  background: #fff;
  color: var(--ink);
  /* Without this, padding is added OUTSIDE the declared width and a
     100%-wide field overflows its own card on narrow phones. */
  box-sizing: border-box;
}
.ac-gate textarea { min-height: 120px; resize: vertical; line-height: 1.5; }

.ac-gate input:focus-visible,
.ac-gate textarea:focus-visible {
  outline: 3px solid var(--blast-blue);
  outline-offset: 2px;
}

.ac-gate__kicker {
  font-family: var(--font-ui);
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--navy);
  background: var(--squad-yellow);
  border: 2px solid var(--ink);
  border-radius: 999px;
  display: inline-block;
  padding: 5px 12px;
  margin: 0 0 12px;
}

.ac-gate__fine {
  font-size: .86rem;
  line-height: 1.5;
  color: #3b4252;
  margin: 10px 0 0;
}
.ac-gate__promise {
  font-family: var(--font-ui);
  font-size: .86rem;
  line-height: 1.5;
  margin: 14px 0 0;
  padding: 10px 12px;
  border: 2px dashed var(--ink);
  border-radius: 12px;
  background: color-mix(in srgb, var(--boom-green) 16%, #fff);
  color: var(--ink);
}
.ac-gate__ok {
  font-family: var(--font-ui);
  color: var(--ink);
  background: color-mix(in srgb, var(--boom-green) 28%, #fff);
  border: 2px solid var(--ink);
  border-radius: 12px;
  padding: 10px 12px;
  margin: 0 0 14px;
  text-align: left;
  /* A gift report can be twenty addresses long. */
  word-break: break-word;
}
.ac-gate__err { word-break: break-word; }

/* The honeypot.

   Moved off-screen rather than display:none, because a fair number of
   bots skip anything hidden that way. aria-hidden and tabindex="-1" on
   the markup keep it away from screen readers and the keyboard, so no
   real person ever meets it. */
.ac-gate__pot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* "Already a member?" — the password fallback, folded away. */
.ac-gate__alt {
  margin: 18px 0 0;
  text-align: left;
  border: 3px solid var(--ink);
  border-radius: 16px;
  background: var(--paper);
  padding: 0 16px;
}
.ac-gate__alt > summary {
  font-family: var(--font-ui);
  font-size: .9rem;
  letter-spacing: .06em;
  padding: 14px 0;
  cursor: pointer;
  /* 44px of target, so it is tappable on a phone. */
  min-height: 44px;
  display: flex;
  align-items: center;
}
.ac-gate__alt[open] > summary { border-bottom: 2px solid var(--ink); margin-bottom: 14px; }
.ac-gate__alt > form { padding-bottom: 8px; }

.ac-gate__box--said { text-align: center; }
.ac-gate__mark--small { max-width: 110px; }

/* ---- the hub's free-join band ------------------------------------- */

.ac-join--free { text-align: center; }
.ac-join__kicker {
  font-family: var(--font-ui);
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--squad-yellow);
  border: 2px solid var(--ink);
  border-radius: 999px;
  display: inline-block;
  padding: 5px 14px;
  margin: 0 0 14px;
}
.ac-join__lead {
  max-width: 54ch;
  margin: 0 auto 22px;
  font-size: 1.05rem;
  line-height: 1.6;
}

.ac-freejoin {
  max-width: 560px;
  margin: 0 auto;
  background: var(--cream);
  border: 4px solid var(--ink);
  border-radius: 20px;
  box-shadow: 8px 8px 0 var(--ink);
  padding: 22px 20px 18px;
  text-align: left;
}
.ac-freejoin__row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.ac-freejoin__field { flex: 1 1 200px; min-width: 0; }
.ac-freejoin__field label {
  display: block;
  font-family: var(--font-ui);
  font-size: .82rem;
  letter-spacing: .12em;
  margin-bottom: 6px;
}
.ac-freejoin input {
  width: 100%;
  font: inherit;
  padding: 12px 14px;
  border: 3px solid var(--ink);
  border-radius: 12px;
  min-height: 48px;
  background: #fff;
  color: var(--ink);
  box-sizing: border-box;
}
.ac-freejoin input:focus-visible {
  outline: 3px solid var(--blast-blue);
  outline-offset: 2px;
}
.ac-freejoin__go { margin: 16px 0 0; text-align: center; }
.ac-join--free .ac-join__foot,
.ac-join--free .ac-join__guarantee { text-align: center; }

/* iOS zooms the whole page in when a focused field's text is under
   16px. Every field on both forms is pinned at exactly 16px for that
   reason, and not because 16px is the right size visually. */
@media (max-width: 620px) {
  .ac-gate input[type="text"],
  .ac-gate input[type="email"],
  .ac-gate input[type="password"],
  .ac-gate textarea,
  .ac-freejoin input { font-size: 16px; }
  .ac-freejoin { padding: 18px 16px 16px; }
  .ac-freejoin__row { gap: 0; }
  .ac-freejoin__field { flex: 1 1 100%; margin-bottom: 14px; }
  .ac-gate__alt { padding: 0 12px; }
}

/* ===================================================================
   THE LAUNCH BAND  —  "Week 1 starts January 3"
   -------------------------------------------------------------------
   Sits directly under the jump bar, so it is the first thing after the
   hero. A visitor arriving in November needs to know the date before
   they scroll past fifty-two weeks they cannot open yet.

   Appended after the join-form block above, and nothing below it may
   restate .ac-strip / .ac-head__trainer sizing — see the note on that
   block.
   =================================================================== */

.ac-launch {
  background: var(--navy);
  color: var(--paper);
  border-top: 4px solid var(--ink);
  border-bottom: 4px solid var(--ink);
  padding: clamp(28px, 6vw, 48px) 0;
  text-align: center;
}
.ac-launch__in { max-width: 62ch; }

.ac-launch__kicker {
  font-family: var(--font-ui);
  font-size: .78rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--squad-yellow);
  border: 2px solid var(--ink);
  border-radius: 999px;
  display: inline-block;
  padding: 6px 16px;
  margin: 0 0 16px;
}

.ac-launch__head {
  font-family: var(--font-shout);
  font-size: clamp(1.5rem, 5vw, 2.3rem);
  line-height: 1.12;
  color: var(--squad-yellow);
  /* Ink outline rather than a drop shadow — Aaron's call on the week
     headings, and it applies just as much here. */
  -webkit-text-stroke: 2px var(--ink);
  paint-order: stroke fill;
  margin: 0 0 14px;
}

.ac-launch__body { margin: 0 0 14px; font-size: 1.05rem; line-height: 1.6; }
.ac-launch__why { margin: 14px 0 0; font-size: .95rem; line-height: 1.6; opacity: .88; }

/* The countdown. Big, because it is the one number on the page that
   changes, and that is the point of it. */
/* The countdown was a line of text the size of a subheading, sitting
   between two paragraphs. It is the single most time-sensitive fact
   on the page, so it gets to be the size of one. */
.ac-launch__count {
  display: inline-block;
  font-family: var(--font-shout);
  font-size: clamp(1.6rem, 6vw, 2.6rem);
  line-height: 1.05;
  color: var(--boom-green);
  -webkit-text-stroke: 2px var(--ink);
  paint-order: stroke fill;
  margin: 14px 0 6px;
  padding: 14px 24px 11px;
  background: color-mix(in srgb, var(--paper) 10%, transparent);
  border: 3px solid var(--ink);
  border-radius: 16px;
  box-shadow: 6px 6px 0 var(--ink);
}

/* ---- the year, drawn -------------------------------------------------
   Fifty-two marks in four rows: one row per quarter, in that
   quarter's own colour, with its rank at the end. Week 1 carries a
   flag because "everyone starts the same week" is the argument the
   paragraph below is making, and a picture makes it in no time.

   aria-hidden on the rows: fifty-two dots announced one at a time is
   noise. The sentence underneath carries the same information in a
   form a screen reader can actually use. */
.ac-year { margin: 20px auto 4px; max-width: 54ch; text-align: left; }
.ac-year__rows { list-style: none; margin: 0; padding: 0;
  display: grid; gap: 7px; }
.ac-year__q { display: grid; align-items: center; gap: 10px;
  grid-template-columns: 2.1rem 1fr auto; }
.ac-year__qlab { font-family: var(--font-ui); font-size: .68rem;
  letter-spacing: .12em; color: var(--paper); opacity: .75; }
.ac-year__dots { display: flex; gap: 3px; }
/* The border follows --q-ink, which quarterStyle already sets to ink
   for light quarter colours and paper for dark ones. Without it the
   navy quarter drew navy-on-navy with a near-black outline and
   vanished into the band entirely. */
.ac-year__dot { flex: 1 1 0; height: 13px; border-radius: 3px;
  background: var(--q-color); border: 1.5px solid var(--q-ink, var(--ink));
  min-width: 5px; }
/* Week 1: taller, and CREAM — not yellow. Yellow is quarter three's
   own colour, so a yellow flag read as "more Q3" rather than "this
   is where everyone starts". Cream belongs to no quarter. */
.ac-year__dot.is-first { height: 19px; border-width: 2.5px;
  background: var(--cream, #FDF8EC); border-color: var(--ink);
  box-shadow: 0 0 0 2px var(--squad-yellow, #FFFC00); }
.ac-year__rank { font-family: var(--font-ui); font-size: .6rem;
  letter-spacing: .14em; color: var(--paper); opacity: .8;
  white-space: nowrap; }
.ac-year__key { font-family: var(--font-ui); font-size: .76rem;
  color: var(--paper); opacity: .88; margin: 12px 0 0;
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.ac-year__flag { width: 13px; height: 19px; border-radius: 3px; flex: none;
  background: var(--cream, #FDF8EC);
  border: 2.5px solid var(--ink);
  box-shadow: 0 0 0 2px var(--squad-yellow, #FFFC00); }
.ac-year__sum { margin-left: auto; letter-spacing: .1em;
  text-transform: uppercase; font-size: .68rem; opacity: .8; }
@media (max-width: 520px) {
  .ac-year__q { grid-template-columns: 1.8rem 1fr; }
  .ac-year__rank { grid-column: 2; font-size: .56rem; margin-top: -3px; }
  .ac-year__sum { margin-left: 0; width: 100%; }
}

/* ---- see one week, all the way through ------------------------------
   The reel names the eleven parts; this shows them with week one's
   real words in each slot, beside the sheets a family prints. Two
   columns where there is room, one where there is not — and the
   sheets come FIRST on a phone, because a picture of the thing is
   what makes somebody keep reading. */
.ac-one__lead { max-width: 58ch; margin: 8px 0 0; }
.ac-one__in { display: grid; gap: 24px; margin-top: 20px; align-items: start; }
@media (min-width: 900px) {
  .ac-one__in { grid-template-columns: minmax(0, 1fr) 300px; gap: 34px; }
}
.ac-one__parts { list-style: none; margin: 0; padding: 0;
  display: grid; gap: 2px; }
.ac-one__part { display: grid; grid-template-columns: 2.4rem 1fr;
  gap: 12px; align-items: baseline;
  padding: 11px 0; border-top: 2px solid var(--rule, #D8D5CE); }
.ac-one__part:first-child { border-top: 0; }
.ac-one__n { font-family: var(--font-shout); font-size: 1rem;
  color: var(--squad-red, #C8372D); }
.ac-one__text { display: grid; gap: 3px; }
.ac-one__h { font-family: var(--font-ui); font-size: .68rem;
  letter-spacing: .16em; color: var(--ink-soft, #6E7479); }
/* The real words get normal body treatment; the generic description
   is italic so it is obvious which rows are a description and which
   are the actual week. */
.ac-one__real { font-size: .95rem; line-height: 1.45; }
.ac-one__said { font-size: .92rem; line-height: 1.45; font-style: italic;
  color: var(--ink-soft, #6E7479); }

.ac-one__sheets { display: grid; gap: 14px; justify-items: center; }
@media (max-width: 899px) {
  .ac-one__in { grid-template-areas: "s" "p"; }
  .ac-one__sheets { grid-area: s; grid-template-columns: 1fr 1fr; align-items: start; }
  .ac-one__parts { grid-area: p; }
  .ac-one__cta, .ac-one__note { grid-column: 1 / -1; }
}
.ac-one__sheet { margin: 0; }
.ac-one__sheet img { display: block; width: 100%; height: auto;
  border: 3px solid var(--ink); border-radius: 10px;
  box-shadow: 5px 5px 0 var(--ink); background: #fff; }
.ac-one__sheet figcaption { font-family: var(--font-ui); font-size: .66rem;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-soft, #6E7479); margin-top: 7px; text-align: center; }
.ac-one__cta { margin: 4px 0 0; width: 100%; }
.ac-one__note { font-family: var(--font-ui); font-size: .72rem;
  color: var(--ink-soft, #6E7479); margin: 0; text-align: center; }

/* ---- what a membership includes, as cards --------------------------- */
.ac-gets { list-style: none; margin: 14px 0 0; padding: 0;
  display: grid; gap: 10px; }
@media (min-width: 680px) { .ac-gets { grid-template-columns: 1fr 1fr; gap: 12px; } }
.ac-gets__item { display: flex; align-items: flex-start; gap: 11px;
  background: color-mix(in srgb, var(--paper) 12%, transparent);
  border: 2px solid var(--ink); border-radius: 12px;
  padding: 12px 14px; font-size: .92rem; }
.ac-gets__mark { flex: none; margin-top: 1px; color: var(--squad-yellow, #FFFC00); }

.ac-launch__ready {
  margin: 22px auto 0;
  max-width: 52ch;
  text-align: left;
  background: color-mix(in srgb, var(--paper) 10%, transparent);
  border: 3px solid var(--ink);
  border-radius: 16px;
  padding: 18px 20px;
}
.ac-launch__readyhead {
  font-family: var(--font-ui);
  font-size: .82rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--squad-yellow);
  margin: 0 0 10px;
}
.ac-launch__ready p { margin: 0 0 12px; font-size: .95rem; line-height: 1.6; }
.ac-launch__ready ul { margin: 0; padding-left: 1.1em; }
.ac-launch__ready li { margin: 0 0 8px; font-size: .95rem; line-height: 1.5; }
.ac-launch__ready li:last-child { margin-bottom: 0; }

@media (max-width: 620px) {
  .ac-launch__ready { padding: 16px; border-radius: 14px; }
}

/* ---- quarter state on the 52-week index ---------------------------
   A locked quarter still shows every focus and subtitle — that is the
   shop window, and dimming it to nothing would hide the thing that
   sells the year. It is muted, not hidden, with the open date stated
   plainly so nobody has to guess. */

.ac-idx__state {
  font-family: var(--font-ui);
  font-size: .74rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  display: inline-block;
  padding: 4px 11px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  margin: 0 0 12px;
  background: var(--paper);
  color: var(--navy);
}
.ac-idx__state--open {
  background: var(--boom-green);
  color: var(--ink);
}

/* Muted, not erased: still readable, clearly not yet yours. */
.ac-idx__group.is-locked .ac-idx__list { opacity: .72; }

.ac-launch__qnote {
  margin: 14px 0 0;
  font-size: .9rem;
  line-height: 1.55;
  opacity: .85;
  font-style: italic;
}

/* ---- locked states, everywhere a member can meet one --------------
   Three places had to learn about locked quarters after the gate did:
   the week nav, the download library, and the search page. Each one
   was previously offering a link the middleware would refuse. */

.ac-launch__locked {
  font-family: var(--font-ui);
  font-size: .95rem;
  line-height: 1.5;
  background: var(--squad-yellow);
  color: var(--ink);
  border: 3px solid var(--ink);
  border-radius: 14px;
  padding: 12px 16px;
  margin: 0 auto 18px;
  max-width: 46ch;
}

/* Week nav: the locked "next week" is a label, not a link. */
.ac-nav__next--soon {
  display: flex;
  flex-direction: column;
  gap: 3px;
  text-align: right;
  opacity: .75;
  font-family: var(--font-ui);
  font-size: .82rem;
  line-height: 1.3;
  cursor: default;
}
.ac-nav__next--soon small {
  font-size: .68rem;
  letter-spacing: .1em;
  opacity: .85;
}

/* Library: listed, clearly not yet downloadable. */
.lib-item.is-locked .lib-item__link {
  cursor: default;
  opacity: .62;
}
.lib-item.is-locked .lib-item__meta {
  font-weight: 700;
  letter-spacing: .08em;
}

/* Search: still findable, not yet openable. */
.find-item.is-locked .find-item__row {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  opacity: .66;
  cursor: default;
  /* Matches the padding the <a> carries, so a locked row doesn't sit
     at a different height from the ones around it. */
  padding: 12px 14px;
}
.find-item__q--soon {
  font-size: .62rem;
  letter-spacing: .08em;
  line-height: 1.25;
  text-align: right;
}

/* ===================================================================
   THE ACADEMY EMBLEM — CAPPED LAST, FOR THE FOURTH TIME
   -------------------------------------------------------------------
   Found during a full audit: the emblem on the hub hero was rendering
   at the full width of its column — 690px on a tablet, and on a wide
   screen it scaled PAST its own 900px natural size and went soft.

   The cause is the one that has now bitten four times in this file.
   The emblem is capped at 280px up at its own rules, but further down
   there is an overflow guard:

       .ac-wk img, .ac-hero img, .ac-band img { max-width: 100%; }

   `.ac-hero img` has exactly the same specificity as
   `.ac-hero__emblem img` (one class, one element) and it comes later,
   so it wins, and the cap silently disappears. The character images
   escaped this only because they were re-stated at the end of the file
   — the emblem never was.

   So it is re-stated here, last, in pixels. Anything appended below
   this point that touches .ac-hero img must be checked against it.
   =================================================================== */

.ac-hero__emblem img {
  width: 100%;
  max-width: 280px;
  height: auto;
}
@media (max-width: 860px) {
  .ac-hero__emblem img { max-width: 230px; }
}
@media (max-width: 620px) {
  .ac-hero__emblem img { max-width: 190px; }
}

/* ===================================================================
   THE FREE SAMPLE WEEK  —  /academy/sample/
   -------------------------------------------------------------------
   Three bands wrapped around an ordinary week page: a banner saying
   what this is, the week itself untouched, then the printable and the
   ask. The week in the middle must look exactly like the real thing,
   so nothing here restyles it.
   =================================================================== */

.ac-sample__top,
.ac-sample__cta {
  background: var(--navy);
  color: var(--paper);
  border-top: 4px solid var(--ink);
  border-bottom: 4px solid var(--ink);
  padding: clamp(26px, 5vw, 44px) 0;
  text-align: center;
}
.ac-sample__kicker {
  font-family: var(--font-ui);
  font-size: .76rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--boom-green);
  border: 2px solid var(--ink);
  border-radius: 999px;
  display: inline-block;
  padding: 6px 16px;
  margin: 0 0 14px;
}
.ac-sample__head,
.ac-sample__ctahead {
  font-family: var(--font-shout);
  font-size: clamp(1.5rem, 5vw, 2.2rem);
  line-height: 1.12;
  color: var(--squad-yellow);
  -webkit-text-stroke: 2px var(--ink);
  paint-order: stroke fill;
  margin: 0 0 12px;
}
.ac-sample__body,
.ac-sample__cta p { font-size: 1.02rem; line-height: 1.6; margin: 0 0 14px; }
.ac-sample__cta .ac-freejoin { margin-top: 18px; text-align: left; }
.ac-sample__back { margin: 18px 0 0; font-size: .95rem; }
.ac-sample__back a { color: var(--squad-yellow); }

/* The printable band sits on the Academy's off-white so it reads as
   part of the lesson rather than part of the sales pitch. */
.ac-sample__dl {
  background: var(--ac-paper, #FAF7F0);
  border-bottom: 4px solid var(--ink);
  padding: clamp(24px, 5vw, 40px) 0;
  text-align: center;
  color: var(--ink);
}
.ac-sample__dlhead {
  font-family: var(--font-shout);
  font-size: clamp(1.2rem, 3.6vw, 1.6rem);
  color: var(--navy);
  margin: 0 0 10px;
}
.ac-sample__dl p { max-width: 54ch; margin: 0 auto 16px; line-height: 1.6; }
.ac-sample__dl .btn span {
  display: block;
  font-size: .72rem;
  letter-spacing: .1em;
  opacity: .8;
  margin-top: 2px;
}

/* The jump-bar link that points at all this. */
.ac-jump__sample { font-weight: 700; }

/* ===================================================================
   "GET THIS WEEK"  —  the action row under the week heading
   -------------------------------------------------------------------
   Download and print, immediately, before the lesson. A parent opens a
   week page to GET the week, usually to print it; the buttons used to
   be at the very bottom behind eleven sections.
   =================================================================== */

.ac-grab {
  background: var(--ac-paper, #FAF7F0);
  border-bottom: 3px solid var(--ink);
  padding: 14px 0;
}
.ac-grab__in {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  align-items: center;
}
.ac-grab__in .btn { margin: 0; }
.ac-grab__dl span {
  display: block;
  font-size: .68rem;
  letter-spacing: .08em;
  opacity: .8;
  margin-top: 1px;
}

/* On paper a row of buttons is noise, and "PRINT THIS WEEK" printed on
   the page you are holding is faintly absurd. */
@media print {
  .ac-grab { display: none !important; }
}

@media (max-width: 620px) {
  /* Full width and stacked: these are the two things most likely to be
     tapped on a phone, and a 44px target matters more than tidiness. */
  .ac-grab__in { flex-direction: column; align-items: stretch; }
  .ac-grab__in .btn { width: 100%; text-align: center; }
}

/* ===================================================================
   FOR CHURCHES AND CO-OPS  —  /academy/for-churches/
   A sales page with an invoice request on it. Plain and businesslike
   on purpose: the second reader is a treasurer, not a child.
   =================================================================== */

.ac-inv__price { font-family: var(--font-shout); font-size: clamp(1.6rem,5vw,2.4rem); margin: 0 0 14px; color: var(--navy); }
.ac-inv__price span { font-family: var(--font-body, inherit); font-size: .95rem; color: #3b4252; display: block; }
.ac-inv__list { margin: 0 0 18px; padding-left: 1.1em; }
.ac-inv__list li { margin: 0 0 8px; line-height: 1.55; }
.ac-inv__links { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; }
.ac-inv__links .btn span { display: block; font-size: .68rem; letter-spacing: .08em; opacity: .8; }

.ac-inv__head { font-family: var(--font-shout); font-size: clamp(1.3rem,4vw,1.8rem); color: var(--navy); margin: 0 0 10px; }
.ac-inv__lead { margin: 0 0 18px; line-height: 1.6; }
.ac-inv__form label { display: block; font-family: var(--font-ui); font-size: .8rem; letter-spacing: .12em; margin: 14px 0 6px; }
.ac-inv__form .req { color: var(--villain); }
.ac-inv__form input,
.ac-inv__form textarea {
  width: 100%;
  font: inherit;
  padding: 12px 14px;
  border: 3px solid var(--ink);
  border-radius: 12px;
  min-height: 48px;
  background: #fff;
  color: var(--ink);
  box-sizing: border-box;
}
.ac-inv__form textarea { min-height: 110px; resize: vertical; line-height: 1.5; }
.ac-inv__form input:focus-visible,
.ac-inv__form textarea:focus-visible { outline: 3px solid var(--blast-blue); outline-offset: 2px; }
.ac-inv__note, .ac-inv__fine { font-size: .85rem; color: #3b4252; margin: 6px 0 0; line-height: 1.5; }
.ac-inv__fine { margin-top: 12px; }

.ac-inv__msg {
  font-family: var(--font-ui);
  border: 3px solid var(--ink);
  border-radius: 14px;
  padding: 14px 16px;
  margin: 0 0 18px;
  line-height: 1.5;
}
.ac-inv__msg.is-ok  { background: color-mix(in srgb, var(--boom-green) 26%, #fff); }
.ac-inv__msg.is-bad { background: var(--squad-yellow); }

/* iOS zooms the page when a focused field is under 16px. */
@media (max-width: 620px) {
  .ac-inv__form input, .ac-inv__form textarea { font-size: 16px; }
  .ac-inv__links .btn { width: 100%; text-align: center; }
}

/* ============================================================
   QUARTER TITLE TREATMENTS — the 52-week index
   ------------------------------------------------------------
   DELIBERATELY AT THE END OF THE STYLESHEET.

   .ac-idx__head is also set at two later points in this file
   (the type scale and the narrow breakpoint). Those rules have
   the same specificity as these, so whichever comes last in the
   file wins. Putting this block anywhere earlier means the
   plain coloured pill quietly reappears next to the artwork —
   the same cascade trap that has bitten the Academy emblem more
   than once. If these rules ever move, they move DOWN.
   ============================================================ */

.ac-idx__art {
  margin: 0 0 12px;
  border: 3px solid var(--ink);
  border-radius: 14px;
  overflow: hidden;      /* clips the artwork's own square corners */
  line-height: 0;        /* kills the inline-image descender gap */
}
.ac-idx__art img {
  display: block;
  width: 100%;
  height: auto;
}

/* The heading is still in the document — see the note in
   build.mjs. It is taken off screen rather than set to
   display:none, because display:none removes it from the
   accessibility tree too, which would defeat the point of
   keeping it. */
.ac-idx__head--art {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* The artwork is NOT dimmed when the quarter is locked.

   It was, to match the greyed week list beneath it. But the list
   is now collapsed behind a dropdown, so there is nothing for the
   card to match — a faded card on its own just looks like a
   loading error, and the "OPENS MARCH 7, 2027" pill already says
   plainly that the quarter is shut. Dimming is for showing that
   two things share a state; alone, it only says "broken".

   Once a visitor expands a locked quarter the list inside is
   still dimmed, which is where that signal belongs. */
.ac-idx__group.is-locked[open] .ac-idx__art { opacity: .85; }

/* ============================================================
   TWO LAYOUT FIXES — also deliberately at the end of the file.
   Both override rules set earlier; see the cascade note above.
   ============================================================ */

/* ---- 1. The Big Idea card no longer sits on the buttons ----

   .ac-bigwrap carries margin-top: -34px so the card tucks up into
   the coloured header band above it. That is the right effect —
   but only when the card ACTUALLY follows the band.

   The "Get this week" bar was later moved from the bottom of the
   page to just under the header, which put it between the two.
   The negative margin then pulled the Big Idea up over the
   download buttons instead, clipping the file size off the end of
   "DOWNLOAD THE PDF".

   So the overlap is now tied to the adjacency it assumes, with an
   ordinary gap everywhere else. Anything inserted between the band
   and the card in future gets the safe spacing automatically
   rather than silently breaking. */
.ac-bigwrap { margin-top: 26px; }
.ac-band--head + .ac-bigwrap { margin-top: -34px; }

/* ---- 2. BeBot back inside the hero grid ----

   .ac-hero__in is two columns but has THREE children: the text,
   the Academy emblem and BeBot. The third had nowhere to go, so
   it wrapped onto an implicit second row under the copy and left
   a screen-deep field of empty blue to its right.

   Placing all three explicitly fixes it: copy down the left across
   both rows, emblem then BeBot stacked in the right-hand column —
   which is the arrangement the markup's comment describes
   ("the emblem leads and BeBot supports it"). */
/* 861px, matched to the 860px collapse below — NOT the 760px one
   further up the file, which this hero stopped using. Guarding at 761
   would place BeBot in column 2 of a grid that is already a single
   column between 761 and 860, and BeBot is deliberately hidden at
   those widths anyway. */
/* UPDATED 2026-11-19, when BeBot was removed from this hero.
   The two-row grid existed to stack the emblem above him in column
   two. With him gone there are two children for two columns, and
   holding the second row open left the emblem pinned to the top of a
   column with a screen-deep gap beneath it — the very thing this rule
   was written to cure, arriving from the other side. One row now, and
   the emblem centres against the copy.
   The .ac-hero__host rules stay: nothing renders them on this page
   any more, but they are harmless, and they are what the hero needs
   again the day a host comes back. */
@media (min-width: 861px) {
  .ac-hero__in { grid-template-rows: auto; align-items: center; }
  .ac-hero__text   { grid-column: 1; align-self: center; }
  .ac-hero__emblem { grid-column: 2; align-self: center; }
}

/* ============================================================
   LOCKED QUARTERS AS DROPDOWNS — the 52-week index
   ============================================================ */

.ac-idx__sum {
  cursor: pointer;
  list-style: none;          /* Firefox */
  position: relative;
}
/* Safari and older Chrome draw their own triangle through this
   pseudo-element; the chevron below replaces it. */
.ac-idx__sum::-webkit-details-marker { display: none; }

/* A real affordance, not just a cursor change: a chevron on the
   state pill that rotates when the quarter opens. Without it a
   collapsed card looks like a card, and nobody clicks it. */
.ac-idx__group.is-locked .ac-idx__state { padding-right: 34px; }
.ac-idx__group.is-locked .ac-idx__state::after {
  content: "";
  position: absolute;
  right: 14px;
  top: 50%;
  width: 8px;
  height: 8px;
  margin-top: -6px;
  border-right: 2.5px solid currentColor;
  border-bottom: 2.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform .18s ease;
}
.ac-idx__group.is-locked[open] .ac-idx__state::after {
  transform: rotate(-135deg);
  margin-top: -2px;
}
.ac-idx__group.is-locked .ac-idx__state { position: relative; }

/* The week count, so a collapsed quarter still says how much is
   inside it rather than making that a surprise. */
.ac-idx__peek {
  margin-left: 10px;
  opacity: .72;
  font-size: .86em;
  letter-spacing: .04em;
}

/* The artwork is the button, so give it the usual pressable feel. */
.ac-idx__sum .ac-idx__art { transition: transform .18s ease; }
.ac-idx__sum:hover .ac-idx__art { transform: translateY(-2px); }
.ac-idx__sum:focus-visible {
  outline: 3px solid var(--squad-yellow);
  outline-offset: 4px;
  border-radius: 16px;
}

/* A collapsed quarter has nothing under it, so the list's own top
   gap would read as a dead band between cards. */
.ac-idx__group.is-locked:not([open]) { margin-bottom: 0; }
.ac-idx__group.is-locked[open] .ac-idx__list { margin-top: 14px; }

/* Printing the index should print the whole year — a reader with
   it on paper cannot click anything open. */
@media print {
  .ac-idx__group.is-locked .ac-idx__list { display: grid !important; }
  .ac-idx__state::after { display: none; }
}

/* Users who ask for less motion get the state change without the
   sweep on the artwork. */
@media (prefers-reduced-motion: reduce) {
  .ac-idx__sum .ac-idx__art,
  .ac-idx__group.is-locked .ac-idx__state::after { transition: none; }
}

/* ============================================================
   THE QUARTERS COVERFLOW
   ------------------------------------------------------------
   Everything here is scoped under .is-flow, which only the hub
   script adds. With JavaScript off none of it applies and the
   section stays the plain stacked grid — see the note in the
   script for why that matters.
   ============================================================ */

.ac-qcar { position: relative; }

.ac-qcar__stage.is-flow {
  position: relative;
  display: block;          /* was a grid; cards are placed by hand now */
  margin-top: 30px;
  touch-action: pan-y;     /* let the page scroll; we only read swipes */
  user-select: none;
  -webkit-user-select: none;
}
.ac-qcar__stage.is-flow:focus-visible {
  outline: 4px dashed var(--squad-yellow);
  outline-offset: 6px;
  border-radius: 20px;
}

.ac-qcar__stage.is-flow > .ac-q {
  position: absolute;
  top: 0;
  left: 50%;
  width: clamp(300px, 54vw, 580px);
  margin: 0;
  cursor: pointer;
  will-change: transform, opacity, filter;
  /* Approximates the site's "boomOut" — a little overshoot at the
     end, which is what makes the squad carousel feel like it lands
     rather than glides. */
  transition:
    transform .55s cubic-bezier(.22, .9, .3, 1.12),
    opacity .35s ease,
    filter .35s ease;
}
.ac-qcar__stage.is-flow > .ac-q.is-centre { cursor: default; }

/* A neighbour is a target to bring forward, not a card to read —
   so nothing inside it should catch the pointer. The click handler
   sits on the card itself. */
.ac-qcar__stage.is-flow > .ac-q:not(.is-centre) * { pointer-events: none; }

/* Motion off: the arrangement still works, it just snaps. */
.ac-qcar__stage.is-flow.is-still > .ac-q { transition: none; }

/* THE CHEVRONS ARE STYLED IN FULL HERE, not inherited.

   The first version set only placement and relied on
   .carousel__arrow for the yellow disc, the way the home page's
   squad carousel does. But that class is defined in the home
   page's own inline <style>, not in this stylesheet — so on the
   Academy hub the arrows rendered as two bare unstyled buttons.
   Matching the home page's LOOK cannot mean borrowing the home
   page's CSS; these are separate documents. */
.ac-qcar__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  padding: 0;
  line-height: 1;
  background: var(--squad-yellow);
  color: var(--ink);
  border: 3px solid var(--ink);
  border-radius: 50%;
  box-shadow: 5px 5px 0 var(--ink);
  cursor: pointer;
}
.ac-qcar__arrow svg { width: 26px; height: 26px; display: block; }
.ac-qcar__arrow:hover { transform: translateY(-50%) scale(1.06); }
.ac-qcar__arrow:active { box-shadow: 2px 2px 0 var(--ink); }
.ac-qcar__arrow:focus-visible { outline: 4px dashed var(--ink); outline-offset: 3px; }
.ac-qcar__arrow--prev { left: clamp(2px, 1vw, 16px); }
.ac-qcar__arrow--next { right: clamp(2px, 1vw, 16px); }

/* On a narrow screen the arrows would sit on top of the card, so
   they drop out and swipe carries it. */
@media (max-width: 620px) {
  .ac-qcar__arrow { display: none; }
}

/* On paper, a coverflow is one card and two slivers. Print the
   grid instead. */
@media print {
  .ac-qcar__stage.is-flow { display: grid !important; height: auto !important; }
  .ac-qcar__stage.is-flow > .ac-q {
    position: static !important;
    transform: none !important;
    opacity: 1 !important;
    filter: none !important;
    width: auto !important;
  }
  .ac-qcar__arrow { display: none; }
}

/* ============================================================
   WHAT'S IN EVERY WEEK — the full-bleed reel
   ------------------------------------------------------------
   Full-bleed because the markup closes the .wrap around it, not
   because of a 100vw rule — see the note in build.mjs for why
   that distinction matters on a scrollbar'd desktop.
   ============================================================ */

.ac-reel {
  background-color: var(--navy);
  background-image: radial-gradient(rgba(253, 248, 236, .10) 1.5px, transparent 1.6px);
  background-size: 15px 15px;
  border-top: 5px solid var(--ink);
  border-bottom: 5px solid var(--ink);
  padding: clamp(34px, 6vw, 68px) 0 clamp(26px, 4vw, 44px);
  margin: clamp(34px, 6vw, 70px) 0;
  overflow: hidden;          /* the tilted cards must not widen the page */
}

.ac-reel__top { text-align: center; }
.ac-reel__head {
  font-family: var(--font-shout);
  font-size: clamp(1.7rem, 4.6vw, 2.9rem);
  color: var(--squad-yellow);
  text-shadow: 5px 5px 0 var(--ink);
  margin: 0 0 8px;
}
.ac-reel__sub {
  font-family: var(--font-ui);
  color: var(--paper);
  opacity: .9;
  margin: 0 0 clamp(20px, 3vw, 34px);
  font-size: clamp(.95rem, 2vw, 1.12rem);
}

.ac-reel__viewport { position: relative; }

/* THE TRACK IS A PLAIN SCROLLER. Snapping, momentum, shift-wheel
   and keyboard scrolling are all native; the script only adds the
   arrows on top. */
.ac-reel__track {
  display: flex;
  gap: clamp(14px, 2vw, 22px);
  list-style: none;
  margin: 0;
  padding: 10px clamp(16px, 6vw, 90px) 26px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-padding-left: clamp(16px, 6vw, 90px);
  scrollbar-width: none;             /* Firefox */
  -webkit-overflow-scrolling: touch;
}
.ac-reel__track::-webkit-scrollbar { display: none; }
.ac-reel__track:focus-visible {
  outline: 4px dashed var(--squad-yellow);
  outline-offset: -6px;
  border-radius: 18px;
}

.ac-reel__card {
  position: relative;
  flex: 0 0 clamp(248px, 27vw, 330px);
  scroll-snap-align: start;
  background: var(--paper);
  border: 4px solid var(--ink);
  border-radius: 20px;
  box-shadow: 8px 8px 0 var(--ink);
  padding: 46px 20px 22px;
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease;
}
.ac-reel__card:hover {
  transform: translateY(-5px);
  box-shadow: 10px 13px 0 var(--ink);
}

/* The oversized numeral. Sits behind the words at low opacity so it
   reads as texture rather than content — it is already hidden from
   screen readers in the markup. */
.ac-reel__num {
  position: absolute;
  top: -16px;
  right: 2px;
  font-family: var(--font-shout);
  font-size: 5.4rem;
  line-height: 1;
  color: var(--reel-c, var(--boom-green));
  opacity: .32;
  pointer-events: none;
}

/* A thick colour bar across the top of each card, cycling through
   the brand. The card itself stays cream so the body copy keeps its
   contrast against ink whatever colour the card is given. */
.ac-reel__card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 14px;
  background: var(--reel-c, var(--boom-green));
  border-bottom: 4px solid var(--ink);
}
.ac-reel__card--green  { --reel-c: var(--boom-green); }
.ac-reel__card--yellow { --reel-c: var(--squad-yellow); }
.ac-reel__card--sky    { --reel-c: var(--sky-blue); }
.ac-reel__card--blue   { --reel-c: var(--blast-blue); }

.ac-reel__cardHead {
  font-family: var(--font-ui);
  font-size: clamp(1rem, 2.2vw, 1.18rem);
  letter-spacing: .06em;
  color: var(--navy);
  margin: 0 0 8px;
  position: relative;
}
.ac-reel__cardBody {
  margin: 0;
  color: var(--ink);
  line-height: 1.5;
  font-size: .96rem;
  position: relative;
}

.ac-reel__arrow {
  position: absolute;
  top: 50%;
  z-index: 5;
  transform: translateY(-50%);
  width: 54px; height: 54px;
  display: grid; place-items: center;
  padding: 0; line-height: 1;
  background: var(--squad-yellow);
  color: var(--ink);
  border: 3px solid var(--ink);
  border-radius: 50%;
  box-shadow: 4px 4px 0 var(--ink);
  cursor: pointer;
}
.ac-reel__arrow svg { width: 24px; height: 24px; display: block; }
.ac-reel__arrow--prev { left: clamp(4px, 1.5vw, 24px); }
.ac-reel__arrow--next { right: clamp(4px, 1.5vw, 24px); }
.ac-reel__arrow:hover { transform: translateY(-50%) scale(1.07); }
.ac-reel__arrow:focus-visible { outline: 4px dashed var(--paper); outline-offset: 3px; }
/* At the ends there is nowhere to go, so the button says so rather
   than sitting there doing nothing when pressed. */
.ac-reel__arrow[disabled] { opacity: .35; cursor: default; box-shadow: 2px 2px 0 var(--ink); }
.ac-reel__arrow[disabled]:hover { transform: translateY(-50%); }

.ac-reel__hint {
  text-align: center;
  font-family: var(--font-ui);
  font-size: .78rem;
  letter-spacing: .1em;
  color: var(--paper);
  opacity: .62;
  margin: 4px 0 0;
}
/* The hint is for touch, where there are no arrows to see. */
@media (min-width: 861px) { .ac-reel__hint { display: none; } }

/* Cards lift in as they arrive. The script adds .is-in; without it
   every card is simply visible, so nothing is ever stuck invisible
   if the observer never runs. */
.ac-reel__track.is-watched .ac-reel__card {
  opacity: 0;
  transform: translateY(18px);
}
.ac-reel__track.is-watched .ac-reel__card.is-in {
  opacity: 1;
  transform: translateY(0);
  transition: opacity .45s ease, transform .45s cubic-bezier(.22, .9, .3, 1.12);
}

@media (prefers-reduced-motion: reduce) {
  .ac-reel__card { transition: none; }
  .ac-reel__track.is-watched .ac-reel__card { opacity: 1; transform: none; }
}

/* On paper the reel is one card and two slivers, so print the lot. */
@media print {
  .ac-reel { background: none; border: 0; }
  .ac-reel__head, .ac-reel__sub, .ac-reel__hint { color: var(--ink); text-shadow: none; }
  .ac-reel__track {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    overflow: visible;
    padding: 0;
  }
  .ac-reel__card { break-inside: avoid; box-shadow: none; opacity: 1 !important; transform: none !important; }
  .ac-reel__arrow { display: none; }
}

/* ---- Reel arrows must never sit on top of a card ----

   The track's side padding and the arrows' inset were both set in
   vw and sized independently, so they agreed at desktop widths and
   collided below about 900px — the arrow landing on the first
   card's text.

   Two changes rather than more vw juggling: the arrows are gone
   below the 860px breakpoint (a touch device swipes, and the hint
   under the reel says exactly that), and above it the track's
   padding is a fixed figure comfortably clear of a 54px arrow plus
   its inset, instead of a percentage that shrinks with the
   viewport. */
@media (max-width: 860px) {
  .ac-reel__arrow { display: none; }
}
@media (min-width: 861px) {
  .ac-reel__track {
    padding-left: 96px;
    padding-right: 96px;
    scroll-padding-left: 96px;
  }
}

/* ============================================================
   FULL-BLEED SECTION BANDS
   ------------------------------------------------------------
   The page's pulse. Cream column, then an edge-to-edge colour
   band, then cream again — so the eye registers a new idea
   before it reads a word.

   Each band carries the brand halftone and heavy ink rules top
   and bottom, which is what keeps this Boom Squad rather than
   generic colour-blocking.
   ============================================================ */

.ac-full {
  border-top: 5px solid var(--ink);
  border-bottom: 5px solid var(--ink);
  padding: clamp(28px, 5vw, 56px) 0 clamp(34px, 5vw, 62px);
  margin: clamp(34px, 6vw, 70px) 0;
  background-size: 15px 15px;
}

.ac-full--navy {
  background-color: var(--navy);
  background-image: radial-gradient(rgba(253, 248, 236, .10) 1.5px, transparent 1.6px);
}
.ac-full--green {
  background-color: var(--boom-green);
  background-image: radial-gradient(rgba(10, 12, 16, .09) 1.5px, transparent 1.6px);
}
/* Two more band tones. Both were contrast-checked against the text
   that sits on them before being used, because a band is the one
   place a brand colour stops being decoration and starts being a
   background somebody has to read against:
     ink on yellow   17.87:1
     cream on red     4.90:1
     yellow on red    4.75:1
   Ink on red is only 3.77:1, so the red band never uses it. */
/* --yellow itself is defined with the stat strip further down, which
   already used it; only the heading colour is added here. */
.ac-full--yellow .ac-sec__head { color: var(--ink); text-shadow: none; }
/* #C8372D literal, NOT var(--squad-red): that variable does not
   exist in this palette. Written as a var it resolved to nothing,
   the background fell back to transparent, and the cream text sat
   invisible on the page background — a 1.02:1 gospel band. The
   palette's reds live as --cl-hue values, so the hex is stated here.
   Text is --cream (#FDF8EC); --paper is #FFFFFF on this site. */
.ac-full--red {
  background-color: #C8372D;
  background-image: radial-gradient(rgba(253, 248, 236, .12) 1.5px, transparent 1.6px);
}
.ac-full--red .ac-sec__head { color: var(--squad-yellow, #FFFC00); }
.ac-full--red .ac-sec,
.ac-full--red .ac-gospel__note { color: var(--cream, #FDF8EC); }

/* ---- the print / download buttons -----------------------------------
   These used to be .btn .btn--green and .btn .btn--yellow — the same
   lozenge as "SEE THE ACADEMY" and "JOIN THE SQUAD". A parent had no
   way to tell the control that fills her printer from the one that
   changes the page, and the labels named the audience ("FOR YOUR
   HERO") without ever naming the action.

   So they stop looking like buttons and start looking like what they
   produce: a sheet of paper, white, with a printer on it, the action
   first and the file facts last. The green and yellow survive as a
   left-hand spine, which keeps the grown-up / child pairing readable
   without putting them back in the navigation's clothes. */
.ac-dl { display: flex; align-items: center; gap: 12px;
  text-align: left; text-decoration: none; color: var(--ink);
  background: #fff; border: 3px solid var(--ink); border-radius: 10px;
  box-shadow: 5px 5px 0 var(--ink);
  padding: 12px 16px 12px 13px; min-height: 44px;
  border-left-width: 10px; font-family: var(--font-ui);
  transition: transform .12s ease, box-shadow .12s ease; }
.ac-dl--grown { border-left-color: var(--boom-green, #00E80B); }
.ac-dl--kid   { border-left-color: var(--squad-yellow, #FFFC00); }
.ac-dl:hover, .ac-dl:focus-visible {
  transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--ink); }
.ac-dl:focus-visible { outline: 3px dashed var(--blast-blue); outline-offset: 3px; }
.ac-dl__icon { flex: none; }
.ac-dl__text { display: grid; gap: 1px; }
/* The action, said before the audience. */
.ac-dl__do { font-size: .64rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--ink-soft, #6E7479); }
.ac-dl__who { font-family: var(--font-shout); font-size: 1rem; line-height: 1.1; }
.ac-dl__meta { font-size: .7rem; letter-spacing: .08em;
  color: var(--ink-soft, #6E7479); }
/* On the navy bands the sheet stays white — that is the point of it. */
.ac-full--navy .ac-dl, .ac-full--green .ac-dl { color: var(--ink); }

/* ---- three free weeks ---------------------------------------------- */
.ac-free { text-align: center; }
.ac-free__kicker { font-family: var(--font-ui); font-size: .72rem;
  letter-spacing: .2em; margin: 0 0 8px; color: var(--ink); }
.ac-free__lead { max-width: 56ch; margin: 10px auto 0; color: var(--ink); }
.ac-free__cta { display: flex; gap: 12px; flex-wrap: wrap;
  justify-content: center; margin: 20px 0 0; }

/* ---- who it is for -------------------------------------------------- */
.ac-who { list-style: none; margin: 20px 0 0; padding: 0;
  display: grid; gap: 16px; }
@media (min-width: 680px) { .ac-who { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .ac-who { grid-template-columns: repeat(4, 1fr); } }
.ac-who__item { background: #fff; border: 3px solid var(--ink);
  border-radius: 14px; box-shadow: 5px 5px 0 var(--ink); padding: 18px 20px 20px; }
.ac-who__h { font-family: var(--font-shout); font-size: 1.05rem; margin: 0 0 8px; }
.ac-who__item p { margin: 0; font-size: .94rem; }

/* ---- from here to week 1 -------------------------------------------- */
.ac-path { list-style: none; margin: 20px 0 0; padding: 0;
  display: grid; gap: 14px; counter-reset: none; }
@media (min-width: 900px) { .ac-path { grid-template-columns: repeat(4, 1fr); } }
.ac-path__step { display: flex; gap: 14px; align-items: flex-start;
  background: var(--paper, #FAF7F0); border: 3px solid var(--ink);
  border-radius: 14px; padding: 16px 18px; }
.ac-path__n { font-family: var(--font-shout); font-size: 1.6rem; line-height: 1;
  margin: 0; flex: none; color: var(--squad-red, #C8372D); }
.ac-path__h { font-family: var(--font-ui); font-size: .98rem; margin: 0 0 4px; }
.ac-path__step p { margin: 0; font-size: .9rem; }

/* ---- the open-date stamp on the price cards -------------------------- */
.ac-join__stamp { display: inline-block; font-family: var(--font-ui);
  font-size: .7rem; letter-spacing: .18em; margin: 0 auto 18px;
  padding: 8px 14px; border-radius: 999px;
  background: var(--squad-yellow); color: var(--ink);
  border: 3px solid var(--ink); }

/* ---- "send this to your pastor" --------------------------------------
   A mailto on the navy pricing band. White sheet so it reads as a
   thing to hand over rather than another button in the stack. */
.ac-send { margin: 18px 0 0; display: grid; gap: 6px; justify-items: center; }
.ac-send__link { display: inline-flex; align-items: center; gap: 10px;
  min-height: 44px; padding: 11px 18px;
  background: #fff; color: var(--ink); text-decoration: none;
  font-family: var(--font-ui); font-size: .88rem;
  border: 3px solid var(--ink); border-radius: 12px;
  box-shadow: 5px 5px 0 var(--ink); }
.ac-send__link:hover, .ac-send__link:focus-visible {
  transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--ink); }
.ac-send__note { font-family: var(--font-ui); font-size: .72rem;
  color: var(--paper); opacity: .8; }

/* ---- the gospel band ------------------------------------------------- */
.ac-gospel { text-align: center; }
.ac-gospel__note { max-width: 46ch; margin: 10px auto 0; font-size: 1.02rem; }
.ac-gospel__cta { margin: 20px 0 0; }

/* ---- who wrote this -------------------------------------------------- */
.ac-author__in { display: grid; gap: 18px; align-items: center; }
@media (min-width: 680px) { .ac-author__in { grid-template-columns: auto 1fr; gap: 26px; } }
.ac-author__in img { width: clamp(96px, 20vw, 150px); height: auto; }
.ac-author__kicker { font-family: var(--font-ui); font-size: .7rem;
  letter-spacing: .2em; color: var(--ink-soft, #6E7479); margin: 0 0 6px; }
.ac-author__body { margin: 10px 0 0; max-width: 62ch; }

/* ---- explore the academy --------------------------------------------- */
.ac-explore { list-style: none; margin: 20px 0 0; padding: 0;
  display: grid; gap: 14px; }
@media (min-width: 620px) { .ac-explore { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .ac-explore { grid-template-columns: repeat(3, 1fr); } }
.ac-explore__card { display: flex; flex-direction: column; gap: 4px;
  height: 100%; min-height: 44px; padding: 16px 18px;
  background: #fff; border: 3px solid var(--ink); border-radius: 14px;
  box-shadow: 5px 5px 0 var(--ink);
  text-decoration: none; color: var(--ink);
  transition: transform .12s ease; }
.ac-explore__card:hover, .ac-explore__card:focus-visible {
  transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--ink); }
.ac-explore__h { font-family: var(--font-shout); font-size: 1rem; }
.ac-explore__note { font-size: .88rem; color: var(--ink-soft, #6E7479); }

/* The section inside a band must not add its own top padding —
   the band already provides it, and doubling up leaves the
   heading floating. */
.ac-full .ac-sec { padding-top: 0; }

/* ---- Type on the dark band ----
   Cream body, Squad-yellow heading with the ink shadow, which is
   the lockup the hero and the reel already use. */
.ac-full--navy .ac-sec__head {
  color: var(--squad-yellow);
  text-shadow: 5px 5px 0 var(--ink);
}
/* ONLY what actually sits on the navy gets cream text.

   The first version set cream on the section and on `label`
   wholesale. But the signup form is a CREAM CARD on the band, so
   that turned its two field labels and its footnote cream-on-cream
   — invisible. A band colour rule has to stop at the edge of any
   card sitting on the band, not cascade into it.

   The rule below therefore lists only elements that are direct
   children of the band, and the one after it puts everything
   inside the cream form back to ink. */
.ac-full--navy .ac-sec,
.ac-full--navy .ac-join__lead,
.ac-full--navy .ac-join__tiers,
.ac-full--navy .ac-join__guarantee,
.ac-full--navy .ac-join__soon,
.ac-full--navy .ac-join__sheet { color: var(--paper); }

/* Anything with its OWN background keeps its own ink type,
   whatever band it is sitting on: the cream signup card, and the
   Squad-yellow kicker pill above it. The kicker was the same
   mistake as the labels — it already sets ink on yellow, and the
   band rule was overriding that to cream on yellow. */
.ac-full--navy .ac-freejoin,
.ac-full--navy .ac-freejoin label,
.ac-full--navy .ac-freejoin p,
.ac-full--navy .ac-join__kicker,
.ac-full--navy .ac-join__foot { color: var(--ink); }

/* ---- Type on the green band ----
   Ink, not yellow. Yellow on Boom green is around 1.3:1 — the two
   are nearly the same luminance — so the heading would all but
   disappear. Ink on green measures 11.7:1. */
.ac-full--green .ac-sec__head {
  color: var(--ink);
  /* No drop shadow and an INK underline, not the default yellow.
     Section headings carry a 3px Squad-yellow bottom border from
     the refinement layer; yellow on Boom green is about 1.3:1 — the
     two colours sit at nearly the same luminance — so that rule
     rendered as a dirty smudge under the heading rather than a
     line. Ink on green is 11.7:1 and needs no shadow to hold. */
  text-shadow: none;
  border-bottom-color: var(--ink);
}
.ac-full--green .ac-sec { color: var(--ink); }

/* A band already supplies its own breathing room, so a band
   landing directly against another one should not stack two
   margins into a gap. */
.ac-full + .ac-full,
.ac-reel + .ac-full,
.ac-full + .ac-reel { margin-top: 0; }

/* Cards keep their cream face on a coloured ground, which is what
   makes them read as objects sitting ON the band rather than
   holes cut out of it. */
.ac-full--navy .ac-q,
.ac-full--green .ac-q { background: var(--paper); color: var(--ink); }

/* The general form of the two bugs above, stated once.

   `.ac-full--navy .ac-sec { color: paper }` is an ANCESTOR rule, so
   cream inherits into every descendant — including cards that have
   their own light background. It cost the signup form's labels and
   the kicker pill, both of which went invisible. Any element on a
   band that paints its own background needs its own text colour
   back; these are the ones that do today. */
.ac-full [class*="__card"],
.ac-full .ac-q,
.ac-full .ac-price { color: var(--ink); }

@media print {
  .ac-full {
    background: none !important;
    border: 0;
    padding: 0;
    margin: 18px 0;
  }
  .ac-full .ac-sec__head,
  .ac-full .ac-sec { color: var(--ink) !important; text-shadow: none !important; }
}

/* ============================================================
   THE STAT STRIP
   ============================================================ */

.ac-full--yellow {
  background-color: var(--squad-yellow);
  background-image: radial-gradient(rgba(10, 12, 16, .09) 1.5px, transparent 1.6px);
}
.ac-stats { padding: clamp(22px, 3.5vw, 40px) 0; }
.ac-stats__row {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(10px, 2vw, 26px);
  text-align: center;
}
@media (max-width: 700px) {
  .ac-stats__row { grid-template-columns: repeat(2, 1fr); gap: 22px; }
}
.ac-stats__item { display: grid; gap: 2px; }
.ac-stats__n {
  font-family: var(--font-shout);
  font-size: clamp(2.4rem, 7vw, 4.2rem);
  line-height: 1;
  color: var(--ink);
  /* A cream keyline, not an ink one — the letters are already ink,
     and a stroke the colour of the fill only fattens them. Same
     lesson as the quarter title treatments. */
  text-shadow: 3px 3px 0 var(--paper);
}
.ac-stats__label {
  font-family: var(--font-ui);
  font-size: clamp(.62rem, 1.5vw, .8rem);
  letter-spacing: .12em;
  color: var(--ink);
  opacity: .82;
}

/* ============================================================
   SCROLL REVEAL — page-wide
   ------------------------------------------------------------
   Sections lift and fade in as they arrive. This is most of what
   makes a long page feel alive rather than static.

   .reveal-on is added by the script, and ONLY once it has
   confirmed IntersectionObserver exists. That ordering matters:
   the class is what hides things, so adding it without a working
   observer to reveal them would blank the page. With JavaScript
   off nothing here applies at all.
   ============================================================ */

.reveal-on .ac-reveal {
  opacity: 0;
  transform: translateY(22px);
}
.reveal-on .ac-reveal.is-in {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity .5s ease,
    transform .55s cubic-bezier(.22, .9, .3, 1.12);
}

/* Anyone who asks for less motion gets the page with no movement
   at all — not a slower version of it. */
@media (prefers-reduced-motion: reduce) {
  .reveal-on .ac-reveal { opacity: 1; transform: none; transition: none; }
}

/* Printing must never depend on a scroll that never happens. */
@media print {
  .reveal-on .ac-reveal { opacity: 1 !important; transform: none !important; }
}

/* ---- The hero headline, word by word ----
   .is-split is only ever added by the script, so the plain <h1>
   is what ships in the HTML. */
.ac-hero__title.is-split .ac-hero__word {
  display: inline-block;
  opacity: 0;
  transform: translateY(26px) scale(.9);
  animation: acWordIn .5s cubic-bezier(.22, .9, .3, 1.3) forwards;
}
@keyframes acWordIn {
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .ac-hero__title.is-split .ac-hero__word {
    opacity: 1; transform: none; animation: none;
  }
}

/* ---- The free weeks, flagged in the 52-week index ---- */
.ac-idx__free {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: .6rem;
  letter-spacing: .12em;
  background: var(--boom-green);
  color: var(--ink);
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 3px 9px 1px;
  margin-left: 10px;
  vertical-align: 2px;
}

/* ============================================================
   REMEMBER · QUARTER VERSE · TRAINING WEEK
   Added after studying how Lifeway and Awana build a lesson.
   See CURRICULUM-REFERENCE-FRAMEWORK.md for why each exists.
   Appended at the END of the stylesheet, like everything else
   here, so the cascade stays predictable.
   ============================================================ */

/* ---- REMEMBER: recall before reflection ---- */
.ac-band--review { background: var(--paper); }
.ac-review__note {
  font-family: var(--font-ui);
  font-size: .9rem;
  color: var(--ink-soft, #6E7479);
  margin: -4px 0 20px;
}
.ac-review { list-style: none; margin: 0; padding: 0; counter-reset: rvw; }
.ac-review__item {
  counter-increment: rvw;
  position: relative;
  padding: 0 0 0 46px;
  margin: 0 0 20px;
}
.ac-review__item::before {
  content: counter(rvw);
  position: absolute;
  left: 0; top: 1px;
  width: 30px; height: 30px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--squad-yellow);
  font-family: var(--font-ui);
  font-size: .95rem;
  line-height: 28px;
  text-align: center;
  color: var(--ink);
}
.ac-review__q {
  font-family: var(--font-ui);
  font-size: clamp(1rem, 2.4vw, 1.15rem);
  color: var(--ink);
  margin: 0 0 3px;
}
/* The answer is quieter than the question but never hidden — a parent
   reading ahead should catch it at a glance without it shouting at a
   child who wants to guess first. */
.ac-review__a {
  font-size: .95rem;
  line-height: 1.5;
  color: var(--ink-soft, #6E7479);
  margin: 0;
  padding-left: 14px;
  border-left: 3px solid var(--boom-green);
}

/* ---- the quarter verse, sharing the weekly verse's navy band ---- */
.ac-verse__quarter {
  margin: 30px auto 0;
  padding: 18px 20px 14px;
  max-width: 44ch;
  border: 2px solid rgba(251, 247, 240, .3);
  border-radius: 14px;
}
.ac-verse__qlabel {
  font-family: var(--font-ui);
  font-size: .64rem;
  letter-spacing: .18em;
  color: var(--squad-yellow);
  margin: 0 0 8px;
}
.ac-verse__qtext {
  font-size: 1rem;
  line-height: 1.45;
  color: var(--paper);
  margin: 0 0 7px;
  border: 0;
  padding: 0;
  font-style: normal;
}
.ac-verse__qref {
  font-family: var(--font-ui);
  font-size: .78rem;
  color: var(--q-color);
  margin: 0;
}

/* ---- TRAINING WEEK: seven days across ---- */
.ac-band--daily { background: var(--paper); text-align: center; }
.ac-daily__head {
  display: inline-block;
  font-family: var(--font-shout);
  background: var(--ink);
  color: var(--squad-yellow);
  border-radius: 12px;
  padding: 9px 20px 6px;
  font-size: clamp(1.1rem, 3vw, 1.5rem);
  letter-spacing: .03em;
  transform: rotate(-1.5deg);
  margin: 0 0 12px;
}
.ac-daily__note {
  font-family: var(--font-ui);
  font-size: .9rem;
  color: var(--ink-soft, #6E7479);
  margin: 0 0 22px;
}
/* Seven across on a desktop, wrapping to a comfortable grid on a phone
   rather than squeezing seven columns onto a 360px screen. */
.ac-daily {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 10px;
}
.ac-daily__day {
  border: 2px solid var(--ink);
  border-radius: 12px;
  background: #fff;
  box-shadow: 4px -4px 0 var(--ink);
  padding: 10px 6px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.ac-daily__letter {
  font-family: var(--font-shout);
  font-size: 1.1rem;
  color: var(--boom-blue, #0E7FE0);
  line-height: 1;
}
.ac-daily__ref {
  font-family: var(--font-ui);
  font-size: .7rem;
  line-height: 1.25;
  color: var(--ink);
  overflow-wrap: anywhere;
}
@media (max-width: 860px) {
  .ac-daily { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 420px) {
  .ac-daily { grid-template-columns: repeat(2, 1fr); gap: 8px; }
}

/* The child's sheet sits beside the grown-up's. Outlined rather than
   filled so the two buttons read as a pair with an obvious primary —
   the parent downloads first, and hands the second one over. */
.ac-sheet__btn--kid {
  background: transparent;
  color: var(--ink);
  border: 2px solid var(--ink);
  box-shadow: 4px -4px 0 var(--ink);
  margin-left: 10px;
}
@media (max-width: 560px) {
  .ac-sheet__btn--kid { margin-left: 0; margin-top: 12px; }
}

/* The grab bar now carries THREE controls: the grown-up's sheet, the
   child's sheet, and print. Two filled brand buttons plus a third
   filled one would be a traffic light with no hierarchy — the two
   downloads are what a parent came for, so print steps back to an
   outline. */
.ac-grab__print {
  background: transparent;
  color: var(--ink);
  border: 3px solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
}
.ac-grab__print:hover { background: var(--ink); color: var(--paper); }

/* The two sheet buttons carry a size note. Kept small and quiet so
   the label reads first — a parent scanning wants "which one is my
   child's", not the byte count. */
.ac-grab__dl span {
  display: block;
  font-size: .62rem;
  letter-spacing: .08em;
  opacity: .72;
  font-weight: 400;
}
@media (max-width: 560px) {
  .ac-grab__in { flex-direction: column; align-items: stretch; }
  .ac-grab__in .btn { width: 100%; text-align: center; }
}

/* ============================================================
   THE BIG IDEA — rebuilt 2026-11-19
   ------------------------------------------------------------
   It had collected rules in seven places over the life of this
   stylesheet and ended up as a timid white box with a yellow edge,
   floating in a cream gap between two loud bands. It is the single
   most important sentence on the page — the week's whole thesis —
   and it looked like a footnote.

   This is the brand's own panel device instead: Squad-yellow, a
   thick ink keyline, a hard offset shadow, and the label as an ink
   chip straddling the top edge. Declared last so it wins over all
   seven without having to unpick them.
   ============================================================ */
.ac-bigwrap { width: min(820px, calc(100% - 32px)); }

.ac-big {
  position: relative;
  background: var(--squad-yellow);
  border: 4px solid var(--ink);
  border-left-width: 4px;              /* was a 10px yellow stripe */
  border-radius: 18px;
  box-shadow: 10px 10px 0 var(--ink);
  padding: 38px 32px 28px;
  margin: 0;
  text-align: center;
  font-family: var(--font-ui);
  font-size: clamp(1.2rem, 2.9vw, 1.7rem);
  line-height: 1.32;
  color: var(--ink);
  transform: none;
}

/* The label rides the top edge as a chip rather than sitting inside
   as a small blue line — same move as the rank tags elsewhere. */
.ac-big__tag {
  position: absolute;
  top: -17px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-block;
  margin: 0;
  background: var(--ink);
  color: var(--squad-yellow);
  border-radius: 999px;
  padding: 8px 20px 5px;
  font-family: var(--font-ui);
  font-size: .74rem;
  letter-spacing: .18em;
  white-space: nowrap;
}

/* The cream strip it sits in was taller than the card needed. */
.ac-band--head + .ac-bigwrap { margin-top: -40px; }
.ac-bigwrap + .ac-band { margin-top: 30px; }

@media (max-width: 620px) {
  .ac-big { padding: 34px 20px 22px; box-shadow: 7px 7px 0 var(--ink); }
  .ac-big__tag { font-size: .66rem; letter-spacing: .14em; }
}

/* On paper none of this matters: no fills, no shadows, just the words. */
@media print {
  .ac-big { background: #fff; box-shadow: none; border: 1pt solid #000; }
  .ac-big__tag { position: static; transform: none; background: none;
                 color: #000; padding: 0; display: block;
                 margin-bottom: 6px; }
}

/* ============================================================
   THE CLASSROOM STORE
   ------------------------------------------------------------
   Deliberately quieter than the rest of the site. The Academy
   and the books sell to parents and shout a bit; this sells to
   a teacher comparing nineteen tabs of worksheets at 9pm. She
   wants the page count, the TEKS and the price, fast. Brand
   colours stay, the volume comes down.
   ============================================================ */

.cl { background: var(--paper); }
.cl .wrap { padding-top: 0; }

.cl-hero {
  background: var(--navy);
  border-bottom: 4px solid var(--ink);
  padding: clamp(34px, 6vw, 70px) 0;
}
.cl-hero__kicker {
  font-family: var(--font-ui); font-size: .78rem; letter-spacing: .22em;
  color: var(--boom-green); margin: 0 0 10px;
}
.cl-hero__title {
  font-family: var(--font-shout);
  /* balance keeps a two-line title from leaving one orphan word */
  text-wrap: balance;
  font-size: clamp(2rem, 5.4vw, 3.2rem); line-height: 1.02;
  color: var(--paper); text-shadow: 4px 4px 0 var(--ink); margin: 0 0 10px;
}
.cl-hero__sub { font-family: var(--font-ui); color: var(--squad-yellow);
  letter-spacing: .04em; margin: 0 0 14px; }
.cl-hero__intro { color: var(--paper); max-width: 58ch; margin: 0 0 22px; }
.cl-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; }

.cl-band { padding: clamp(26px, 5vw, 48px) 0; }
.cl-band--year {
  background: var(--squad-yellow);
  border-top: 4px solid var(--ink); border-bottom: 4px solid var(--ink);
}
.cl-band--teks { background: #fff; border-top: 2px solid var(--rule, #D8D5CE);
  border-bottom: 2px solid var(--rule, #D8D5CE); }
.cl-band--upsell { background: #fff; border-top: 2px solid var(--rule, #D8D5CE); }
.cl-band__kicker { font-family: var(--font-ui); font-size: .74rem;
  letter-spacing: .2em; margin: 0 0 8px; }
.cl-band__title { font-family: var(--font-shout);
  font-size: clamp(1.5rem, 3.6vw, 2.2rem); margin: 0 0 10px; }
.cl-band__body { max-width: 56ch; margin: 0 0 14px; }
.cl-band__save { font-family: var(--font-ui); font-size: .9rem; margin: 0 0 18px; }

/* ---- strand colour-coding ------------------------------------------
   One hue per strand, used on the card rail, the strand heading and
   the set header, so a teacher scanning twenty-eight sets can tell
   maths from reading without reading a word. */
/* One declaration per subject, applied wherever a subject is named.
   Science is teal: the five existing hues were taken, and teal is far
   enough from the green of handwriting to survive a quick scan.

   EVERY hue here clears 4.5:1 against white, because each one is used
   BOTH as small text on white (the card's subject label) and as a
   background behind white text (the selected nav pill). Those two
   uses share a single contrast ratio, so one number satisfies both.
   Handwriting (#2E8B57, 4.25) and Assessment (#C8761B, 3.46) both
   failed that bar and were darkened along their own hue until they
   cleared 5.0 — the same headroom the rest of the family already had.
   If you brighten one of these, check it against white first: at
   10.9px the Assessment orange was effectively unreadable. */
.cl-card--math,    .cl-strand--math,    .cl-sethead--math,
.cl-nav__item--math                      { --cl-hue: #3F6FD1; }
.cl-card--reading, .cl-strand--reading, .cl-sethead--reading,
.cl-nav__item--reading                   { --cl-hue: #C8372D; }
.cl-card--hand,    .cl-strand--hand,    .cl-sethead--hand,
.cl-nav__item--hand                      { --cl-hue: #2A7E4F; }
.cl-card--spell,   .cl-strand--spell,   .cl-sethead--spell,
.cl-nav__item--spell                     { --cl-hue: #7A4FBF; }
.cl-card--write,   .cl-strand--write,   .cl-sethead--write,
.cl-nav__item--write                     { --cl-hue: #B0417A; }
.cl-card--science, .cl-strand--science, .cl-sethead--science,
.cl-nav__item--science                   { --cl-hue: #10808C; }
.cl-card--assess,  .cl-strand--assess,  .cl-sethead--assess,
.cl-nav__item--assess                    { --cl-hue: #A25F16; }
.cl-card--social,  .cl-strand--social,  .cl-sethead--social,
.cl-nav__item--social                    { --cl-hue: #1F7A5A; }
.cl-card--grammar, .cl-strand--grammar, .cl-sethead--grammar,
.cl-nav__item--grammar                   { --cl-hue: #6A4AA8; }
.cl-card--fluency, .cl-strand--fluency, .cl-sethead--fluency,
.cl-nav__item--fluency                   { --cl-hue: #A33046; }
.cl-card--morning, .cl-strand--morning, .cl-sethead--morning,
.cl-nav__item--morning                   { --cl-hue: #2F6BA8; }
.cl-card--testprep,.cl-strand--testprep,.cl-sethead--testprep,
.cl-nav__item--testprep                  { --cl-hue: #9A5A12; }
.cl-card--sel,     .cl-strand--sel,     .cl-sethead--sel,
.cl-nav__item--sel                       { --cl-hue: #B5476B; }

/* ---- the two navigation bars ---------------------------------------
   Grade first, subject under it. Both stick, because a grade page
   with thirty sets is a long scroll on a phone and losing the way
   back to the other subjects is the whole problem these solve.
   The two have different offsets so they stack instead of overlap. */
/* The site header is a FIXED floating pill (.nav: top 14px, ~62px
   tall, z-index 50). These bars used to stick to top:0 and z-index 6,
   so the moment the page scrolled they slid underneath it and the
   pill sat on top of the grade names — on a phone the pill is centred
   and covers the middle of the bar, which is where the grades are.
   The whole point of these bars is not losing your way on a long
   page, so they now stop below the header rather than behind it.
   --cl-stick is the first clear pixel under the floating pill. */
:root { --cl-nav-h: 62px; --cl-stick: calc(14px + var(--cl-nav-h) + 6px); }
/* The pill is one row of links on a wide screen and a logo + MENU
   button on a narrow one, so it is 10px shorter here. Measured. */
@media (min-width: 760px) { :root { --cl-nav-h: 52px; } }
.cl-nav { background: #fff; border-bottom: 2px solid var(--rule, #D8D5CE);
  position: sticky; z-index: 6; }
.cl-nav--grade   { top: var(--cl-stick); z-index: 7; }
/* 54px = the grade bar's real height (44px pill + 4px padding top and
   bottom + its 2px bottom rule). Measured, not guessed: at 52px the
   subject bar sat 2px over the grade bar's rule. */
.cl-nav--subject { top: calc(var(--cl-stick) + 54px); }
.cl-nav__in { display: flex; align-items: center; gap: 12px;
  padding: 4px 0; overflow-x: auto; scrollbar-width: none;
  /* The pills overflow this strip on a phone; let a thumb flick it
     and let the browser settle on a whole pill, not half of one. */
  scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; }
.cl-nav__in::-webkit-scrollbar { display: none; }
.cl-nav__label { font-family: var(--font-ui); font-size: .64rem;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--ink-soft, #6E7479); flex: none; }
.cl-nav__list { list-style: none; display: flex; gap: 6px;
  margin: 0; padding: 0; flex: none; }
/* 44px minimum, because these pills ARE the navigation on a phone and
   they were 33px — under every published tap-target floor. The height
   comes from min-height rather than padding so the text stays put. */
.cl-nav__item { display: inline-flex; align-items: center;
  min-height: 44px; font-family: var(--font-ui);
  font-size: .82rem; line-height: 1; white-space: nowrap;
  padding: 8px 14px; border-radius: 999px; text-decoration: none;
  border: 2px solid transparent; color: var(--ink);
  scroll-snap-align: center; }
a.cl-nav__item:hover, a.cl-nav__item:focus-visible {
  border-color: var(--cl-hue, var(--ink));
  background: color-mix(in srgb, var(--cl-hue, #000) 10%, #fff); }
.cl-nav__item.is-on { background: var(--cl-hue, var(--ink)); color: #fff;
  font-weight: 700; }
/* Named but not a link: the grade exists in the plan, not in the shop. */
.cl-nav__item.is-soon { color: var(--ink-soft, #6E7479); opacity: .55;
  cursor: default; }

/* The subject anchors scroll to a heading that would otherwise hide
   under both sticky bars. */
.cl-strand[id] { scroll-margin-top: calc(var(--cl-stick) + 112px); }

/* ---- pick your grade ----------------------------------------------- */
.cl-band--pick { background: #fff; border-bottom: 2px solid var(--rule, #D8D5CE); }
.cl-grades { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
.cl-gradecard { display: flex; }
.cl-gradecard__link, .cl-gradecard--soon {
  display: flex; flex-direction: column; gap: 4px; width: 100%;
  padding: 16px 18px; text-decoration: none; color: var(--ink);
  background: var(--paper, #FAF7F0);
  border: 3px solid var(--ink); border-radius: 14px;
  box-shadow: 4px 4px 0 var(--ink); transition: transform .12s ease; }
.cl-gradecard__link:hover, .cl-gradecard__link:focus-visible {
  transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.cl-gradecard__grade { font-family: var(--font-shout);
  font-size: clamp(1.05rem, 2.4vw, 1.3rem); line-height: 1.1; }
.cl-gradecard__count { font-family: var(--font-ui); font-size: .78rem;
  letter-spacing: .1em; text-transform: uppercase; color: var(--squad-red, #C8372D); }
.cl-gradecard__subjects { font-size: .8rem; color: var(--ink-soft, #6E7479); }
.cl-gradecard--soon { flex-direction: column; background: transparent;
  border-style: dashed; box-shadow: none; opacity: .72; }
.cl-gradecard--soon .cl-gradecard__count { color: var(--ink-soft, #6E7479); }

/* "More for Kindergarten" — the related-sets strip at the foot of a
   set page. It is the only route from one set to another, so it gets
   a page-width grid rather than a cramped rail. */
.cl-band--more { background: var(--paper, #FAF7F0);
  border-top: 2px solid var(--rule, #D8D5CE);
  padding-top: 26px; padding-bottom: 30px; }
.cl-band--more .cl-strand { margin-top: 0; }
.cl-band--more .cl-strand small a { color: inherit;
  border-bottom: 2px solid currentColor; text-decoration: none; }

.cl-band--tail { background: #fff; border-top: 2px solid var(--rule, #D8D5CE);
  font-size: .9rem; }
.cl-band--tail p { margin: 0; }

/* A linked subject heading should still read as a heading, not a link. */
.cl-strand a { color: inherit; text-decoration: none;
  border-bottom: 2px solid transparent; }
.cl-strand a:hover, .cl-strand a:focus-visible {
  border-bottom-color: var(--cl-hue, var(--ink)); }

.cl-strand { font-family: var(--font-shout);
  font-size: clamp(1.2rem, 3vw, 1.6rem); margin: 34px 0 14px;
  display: flex; align-items: center; gap: 10px;
  border-bottom: 4px solid var(--cl-hue, var(--ink)); padding-bottom: 8px; }
.cl-strand:first-child { margin-top: 0; }
.cl-strand__who { width: 44px; height: auto; flex: none; }
.cl-strand small { font-family: var(--font-ui); font-size: .72rem;
  letter-spacing: .14em; color: var(--ink-soft, #6E7479);
  margin-left: auto; }

/* ---- a bundle's contents, shown ------------------------------------
   Eight real covers before any number. "31 sets" is a fact; eight
   pieces of artwork is the feeling of a lot, and the feeling is what
   a teacher is actually judging in the two seconds she gives it. */
.cl-bundle__covers { list-style: none; margin: 14px 0 0; padding: 0;
  display: grid; gap: 6px; grid-template-columns: repeat(5, 1fr); }
@media (min-width: 560px) { .cl-bundle__covers { grid-template-columns: repeat(9, 1fr); } }
.cl-bundle__covers img { display: block; width: 100%; height: auto;
  border: 2px solid var(--ink); border-radius: 5px; background: #fff; }
.cl-bundle__more { display: grid; place-items: center;
  font-family: var(--font-shout); font-size: .86rem;
  border: 2px dashed var(--ink); border-radius: 5px;
  color: var(--ink-soft, #6E7479); aspect-ratio: 760 / 983; }

/* ---- the saving, drawn once -----------------------------------------
   Two bars: what the sets cost separately, and what the bundle
   costs. One look replaces a price, a struck-through price, a
   per-set figure and a percentage — this block carried thirty-eight
   price mentions before. */
.cl-worth { margin: 16px 0 0; }
.cl-worth__row { display: grid; grid-template-columns: 8.6rem 1fr;
  align-items: center; gap: 10px; margin-bottom: 6px; }
.cl-worth__lab { font-family: var(--font-ui); font-size: .72rem;
  letter-spacing: .06em; color: var(--ink-soft, #6E7479); }
.cl-worth__bar { display: flex; align-items: center; justify-content: flex-end;
  height: 30px; padding: 0 10px; border: 3px solid var(--ink);
  border-radius: 7px; font-family: var(--font-shout); font-size: .98rem; }
.cl-worth__bar--full { width: 100%;
  background: repeating-linear-gradient(135deg,
    color-mix(in srgb, var(--ink) 7%, #fff) 0 7px,
    color-mix(in srgb, var(--ink) 12%, #fff) 7px 14px);
  color: var(--ink-soft, #6E7479); text-decoration: line-through; }
.cl-worth__bar--ours { width: var(--w, 50%); min-width: 5.4rem;
  background: var(--boom-green, #00E80B); color: var(--ink);
  box-shadow: 4px 4px 0 var(--ink); }
.cl-worth__save { margin: 10px 0 0; font-family: var(--font-ui);
  display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.cl-worth__save strong { font-family: var(--font-shout); font-size: 1.15rem;
  color: var(--squad-red, #C8372D); }
.cl-worth__save span { font-size: .8rem; color: var(--ink-soft, #6E7479); }
@media (max-width: 480px) {
  .cl-worth__row { grid-template-columns: 1fr; gap: 3px; }
  .cl-worth__lab { font-size: .68rem; }
}

/* ---- BUY NOW: the jump to this bundle's one checkout ----------------
   The head of each card used to hold a second, identical purchase
   panel. This is the light version: the price, a thumb-sized target,
   and a jump to the real thing at the foot of the same card. */
.cl-bundle__now { margin: 16px 0 0; }
.cl-now { display: inline-flex; align-items: center; gap: 8px;
  min-height: 48px; font-size: 1rem; }
/* The checkout must not arrive tucked under the floating header when
   the anchor fires. */
.cl-buy[id] { scroll-margin-top: calc(var(--cl-stick) + 16px); }

/* ---- the whole-school bundle ---------------------------------------- */
/* Navy, not ink. Near-black read as a hole in the page rather than
   a feature band, and navy is the colour the rest of the site
   already uses when it wants to say "this one matters" — the hero,
   the Academy bands. Yellow on it measures 11.43:1. The dot texture
   matches the Academy's full-width bands so the two shops feel like
   one site. */
.cl-band--super {
  background-color: var(--navy, #093366);
  background-image: radial-gradient(rgba(253, 248, 236, .10) 1.5px, transparent 1.6px);
  background-size: 15px 15px;
  border-top: 4px solid var(--ink); border-bottom: 4px solid var(--ink);
  padding-top: 26px; padding-bottom: 30px;
}
.cl-super__flag { font-family: var(--font-ui); font-size: .7rem;
  letter-spacing: .2em; color: var(--squad-yellow, #FFFC00);
  margin: 0 0 14px; text-align: center; }

/* ---- the hub's grade shelves ---------------------------------------
   One row per grade: a few real covers and a way through to the rest.
   The hub used to render all 293 sets — a 612KB landing page that a
   phone downloaded in full before the visitor had picked a grade. */
.cl-band--shelves { background: #fff; }
.cl-shelf + .cl-shelf { margin-top: 34px; padding-top: 28px;
  border-top: 3px solid var(--rule, #D8D5CE); }
.cl-shelf__head { font-family: var(--font-shout);
  font-size: clamp(1.25rem, 3.4vw, 1.7rem); margin: 0 0 14px;
  display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.cl-shelf__head a { color: inherit; text-decoration: none;
  border-bottom: 4px solid var(--blast-blue); }
.cl-shelf__head a:hover, .cl-shelf__head a:focus-visible {
  border-bottom-color: var(--squad-red, #C8372D); }
.cl-shelf__head small { font-family: var(--font-ui); font-size: .74rem;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-soft, #6E7479); margin-left: auto; }
.cl-shelf__all { margin: 14px 0 0; }
.cl-shelf__all .btn { display: inline-block; width: auto; }

/* ---- the colour / black-and-white reel ------------------------------
   Five worksheets, each fading from its colour version to its
   black-and-white twin, then handing over to the next. 20s loop,
   4s a slide: colour ~1.4s, a 0.6s fade, black-and-white ~1.4s.

   Every slide runs the SAME keyframes with animation-delay i x 4s,
   so the percentages below describe one slide's own turn — 0-20% is
   "my four seconds", and everything after it is "someone else's".

   Three rules this motion keeps:
   - nothing is only in the animation (the claim is written out in
     the section below, and each image has real alt text);
   - it stops when asked (hover, focus, reduced motion);
   - under prefers-reduced-motion the pair sits side by side instead,
     which shows the same thing without anything moving. */
.cl-twin { background: var(--paper, #FAF7F0);
  border-top: 3px solid var(--ink); border-bottom: 3px solid var(--ink); }
.cl-twin__in { display: grid; gap: 22px; align-items: center; }
@media (min-width: 860px) {
  .cl-twin__in { grid-template-columns: 1fr minmax(300px, 420px); gap: 40px; }
}
.cl-twin__note { font-family: var(--font-ui); font-size: .78rem;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-soft, #6E7479); margin: 14px 0 0; }

/* The stage holds all five slides stacked; its height comes from the
   aspect ratio so nothing jumps while the images load. */
/* The caption sits outside the aspect box, so the stage reserves
   room for it. Without that margin it printed across the bottom of
   the worksheet. */
.cl-twin__stage { position: relative; aspect-ratio: 520 / 673;
  width: 100%; max-width: 420px; margin: 0 auto 46px; }
.cl-twin__slide { position: absolute; inset: 0; margin: 0; opacity: 0;
  animation: clTwinSlide 20s linear infinite;
  animation-delay: calc(var(--i) * 4s); }
.cl-twin__img { position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: contain; border: 3px solid var(--ink); border-radius: 10px;
  background: #fff; box-shadow: 6px 6px 0 var(--ink); }
.cl-twin__img--bw { opacity: 0;
  animation: clTwinFade 20s linear infinite;
  animation-delay: calc(var(--i) * 4s); }
.cl-twin__cap { position: absolute; left: 0; right: 0;
  top: calc(100% + 12px); bottom: auto;
  text-align: center; font-family: var(--font-ui); font-size: .74rem;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-soft, #6E7479); }

@keyframes clTwinSlide {
  0%            { opacity: 0; }
  1%, 18%       { opacity: 1; }
  20%, 100%     { opacity: 0; }
}
@keyframes clTwinFade {
  0%, 7%        { opacity: 0; }
  10%, 17%      { opacity: 1; }
  20%, 100%     { opacity: 0; }
}

/* A reader who wants to look properly can stop it. */
.cl-twin__stage:hover .cl-twin__slide,
.cl-twin__stage:hover .cl-twin__img--bw,
.cl-twin__stage:focus-within .cl-twin__slide,
.cl-twin__stage:focus-within .cl-twin__img--bw { animation-play-state: paused; }

@media (prefers-reduced-motion: reduce) {
  /* No animation at all: show the first pair, side by side, labelled.
     The point of the section survives intact. */
  .cl-twin__stage { position: static; aspect-ratio: auto; max-width: none;
    display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .cl-twin__slide { position: static; opacity: 1; animation: none;
    display: contents; }
  .cl-twin__slide:not([style*="--i:0"]) { display: none; }
  .cl-twin__img { position: static; animation: none; opacity: 1;
    height: auto; }
  .cl-twin__cap { position: static; grid-column: 1 / -1; bottom: auto;
    margin-top: 6px; }
}

/* ---- what is in the file: three honest columns --------------------- */
.cl-band--what { background: var(--paper, #FAF7F0);
  border-top: 3px solid var(--ink); border-bottom: 3px solid var(--ink); }
.cl-what { list-style: none; margin: 18px 0 0; padding: 0;
  display: grid; gap: 18px; }
@media (min-width: 760px) { .cl-what { grid-template-columns: repeat(3, 1fr); gap: 22px; } }
.cl-what__item { background: #fff; border: 3px solid var(--ink);
  border-radius: 14px; box-shadow: 5px 5px 0 var(--ink); padding: 18px 20px 20px; }
.cl-what__h { font-family: var(--font-shout); font-size: 1.08rem;
  margin: 0 0 8px; }
.cl-what__item p { margin: 0; font-size: .94rem; }

/* ---- look inside / who wrote these --------------------------------- */
.cl-band--look { background: #fff; }
.cl-band--who { background: var(--ink); color: var(--paper, #FAF7F0); }
.cl-band--who .cl-band__title { color: var(--squad-yellow); }
.cl-band--who .cl-band__kicker { color: var(--paper, #FAF7F0); opacity: .8; }
.cl-who { display: grid; gap: 16px; align-items: center; }
@media (min-width: 620px) { .cl-who { grid-template-columns: auto 1fr; gap: 24px; } }
.cl-who__who { width: clamp(92px, 20vw, 140px); height: auto; }

/* ---- the closing ask ------------------------------------------------ */
.cl-band--close { background: var(--paper, #FAF7F0);
  border-top: 3px solid var(--ink); text-align: center; }
.cl-close__cta { display: flex; gap: 12px; flex-wrap: wrap;
  justify-content: center; margin: 18px 0 0; }

/* ---- the shop layout: browse rail + results ------------------------
   A real shop keeps its categories on screen. The sticky pill bars
   do that job on a phone, but on a wide screen they made a teacher
   scroll a strip sideways to discover what even exists. This is the
   same idea given room: one column of every grade and every subject,
   with counts, pinned while the results scroll.

   One column until 900px — below that the rail is hidden entirely
   and the pill bars take over, so nothing is duplicated on screen. */
.cl-shop { display: block; }
.cl-browse { display: none; }
@media (min-width: 900px) {
  .cl-shop { display: grid; gap: 28px; align-items: start;
    grid-template-columns: 232px minmax(0, 1fr); }
  .cl-browse { display: block; position: sticky;
    top: calc(var(--cl-stick) + 12px); }
  /* The rail replaces the pill bars rather than joining them. Two
     navigations offering the same grades, one above the other, is
     not twice the help. Only pages that carry a rail mark their
     bars --phone, so the hub keeps its pills at every width. */
  .cl-nav--phone { display: none; }
}
.cl-browse__in { background: #fff; border: 3px solid var(--ink);
  border-radius: 14px; box-shadow: 5px 5px 0 var(--ink);
  padding: 14px 0 16px; }
.cl-browse__head { font-family: var(--font-shout); font-size: 1rem;
  margin: 0 16px 10px; }
.cl-browse__sub { font-family: var(--font-ui); font-size: .64rem;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--ink-soft, #6E7479);
  margin: 14px 16px 6px; padding-top: 10px;
  border-top: 2px solid var(--rule, #D8D5CE); }
.cl-browse__sub:first-of-type { border-top: 0; padding-top: 0; margin-top: 0; }
.cl-browse__list { list-style: none; margin: 0; padding: 0; }
/* 44px rows: this is a navigation list, and it is clicked. */
.cl-browse__item { display: flex; align-items: center; gap: 8px;
  min-height: 40px; padding: 6px 16px; text-decoration: none;
  font-family: var(--font-ui); font-size: .88rem; color: var(--ink);
  border-left: 5px solid transparent; }
.cl-browse__name { flex: 1; }
.cl-browse__n { font-size: .74rem; color: var(--ink-soft, #6E7479);
  font-variant-numeric: tabular-nums; }
a.cl-browse__item:hover, a.cl-browse__item:focus-visible {
  background: color-mix(in srgb, var(--cl-hue, var(--blast-blue)) 10%, #fff);
  border-left-color: var(--cl-hue, var(--blast-blue)); }
.cl-browse__item.is-on { font-weight: 700;
  background: color-mix(in srgb, var(--cl-hue, var(--blast-blue)) 14%, #fff);
  border-left-color: var(--cl-hue, var(--blast-blue)); }
.cl-browse__item.is-on .cl-browse__n { color: var(--ink); }
.cl-browse__foot { margin: 16px 16px 0; }
/* Search sits above the bundle button, quieter than it: most people
   browse, and the ones who know what they want go straight here. */
/* ---- WHICH EDITION AM I IN? -----------------------------------------

   A band across the top of every page in the Christian shop. It is on
   the set pages too, deliberately: the hub is the easy case, and a
   search result lands people on a set page with no idea there are two
   editions at all.

   Navy ground with Squad yellow, measured against the palette: yellow
   on navy is 11.43:1 and white on navy 12.52:1, so every part of this
   clears AA for normal text with room to spare.

   It sits under the fixed nav pill using the same --cl-stick offset
   the grade and subject bars use, so it never hides behind it. */
.cl-ed {
  background: var(--navy, #093366);
  color: #fff;
  border-bottom: 4px solid var(--squad-yellow, #FFFC00);
}
.cl-ed__in {
  display: flex; align-items: baseline; flex-wrap: wrap;
  gap: 4px 14px; padding: 14px 0;
}
.cl-ed__mark {
  color: var(--squad-yellow, #FFFC00);
  /* Scales with the words it sits beside rather than staying a fixed
     size and shrinking into a speck next to them. */
  font-size: clamp(1.15rem, 3.4vw, 1.7rem);
  line-height: 1; transform: translateY(1px);
}
/* THE LOUDEST THING ON THE PAGE AFTER THE HEADING. This is the answer
   to "which shop am I in?", so it is read at a glance rather than
   found. Tracking eases off as the size grows — .14em is right on a
   small kicker and far too wide once the word is this big. */
.cl-ed__name {
  font-family: var(--font-ui); letter-spacing: .07em; text-transform: uppercase;
  font-size: clamp(1.05rem, 3.2vw, 1.55rem); line-height: 1.1;
  color: var(--squad-yellow, #FFFC00);
}
/* Deliberately secondary. If this grew with the name the band would
   have two things shouting and no hierarchy. */
.cl-ed__note { font-size: .9rem; font-weight: 500; color: #fff; }
/* The way back out, for someone who wanted the standards-only sets.
   Quiet, but never hidden — pushing it off the end on a phone would
   strand exactly the person it is for. */
.cl-ed__swap {
  margin-left: auto; font-size: .82rem; font-weight: 500; color: #fff;
  text-decoration: underline; text-underline-offset: 3px;
  text-decoration-color: rgba(255,255,255,.55);
}
.cl-ed__swap:hover { text-decoration-color: var(--squad-yellow, #FFFC00); }
@media (max-width: 560px) {
  .cl-ed__in { padding: 8px 0; }
  .cl-ed__swap { margin-left: 0; flex-basis: 100%; }
}

/* ---- NAVY RUNS DEEPER IN THE CHRISTIAN SHOP -------------------------

   The hero is navy in BOTH editions, so it does no distinguishing
   work. What differs is everything under it: the TEKS shop runs
   white and cream below the fold, so carrying navy down through the
   Christian shop's structural bands is what makes the two read
   differently at a glance.

   Scoped by `.cl-ed ~`, the edition band that only Christian pages
   carry and that sits as a sibling right before the page body. No
   markup changes, and it cannot touch a TEKS page because there is
   no .cl-ed on one.

   The bands holding product cards stay light on purpose. Covers are
   pale and a grid of them on navy loses the edges that make a shelf
   scannable — the point is to look different, not to be harder to
   shop. */
.cl-ed ~ .cl .cl-band--pick,
.cl-ed ~ .cl .cl-band--close {
  background: var(--navy, #093366);
  color: #fff;
  border-color: rgba(255, 255, 255, .22);
}
/* Inherits from the band above, but says so rather than relying on
   nothing further down the cascade setting it. */
.cl-ed ~ .cl .cl-band--pick .cl-band__title,
.cl-ed ~ .cl .cl-band--close .cl-band__title,
.cl-ed ~ .cl .cl-band--close .cl-band__body { color: #fff; }

/* The grade cards are cream with an ink border and sit happily on
   navy as they are. The "coming soon" ones do not: they are
   transparent with a dashed ink border and ink text, which on navy
   is dark on dark. */
.cl-ed ~ .cl .cl-gradecard--soon {
  border-color: rgba(255, 255, 255, .45);
  color: #fff;
  opacity: .85;
}
.cl-ed ~ .cl .cl-gradecard--soon .cl-gradecard__count,
.cl-ed ~ .cl .cl-gradecard--soon .cl-gradecard__subjects {
  color: rgba(255, 255, 255, .78);
}
/* Navy on navy. */
.cl-ed ~ .cl .cl-band--close .cl-close__find a { color: var(--squad-yellow, #FFFC00); }

/* The same claim at card size, where a cross could be misread as a
   plus sign sitting next to arithmetic — so this one is words only. */
.cl-card__scripture {
  display: inline-block; margin: 0 0 4px;
  padding: 2px 8px; border-radius: 999px;
  background: var(--navy, #093366); color: var(--squad-yellow, #FFFC00);
  font-family: var(--font-ui); font-size: .62rem;
  letter-spacing: .12em; text-transform: uppercase;
}

/* ---- "tell me when new sets land" ----------------------------------
   Sits near the foot of a set page, after the buyer has decided. It is
   for the visitor who is not buying today, so it must not compete with
   the buy button higher up — hence cream rather than another bright
   band, and one green button rather than two. */
.cl-list {
  background: var(--paper, #FDF8EC);
  border-top: 2px solid var(--rule, #D8D5CE);
}
.cl-list__title { font-family: var(--font-shout);
  font-size: clamp(1.15rem, 2.8vw, 1.5rem); margin: 0 0 6px; }
.cl-list__body { margin: 0 0 14px; max-width: 54ch; }
.cl-list__form { display: flex; flex-wrap: wrap; gap: 10px; align-items: stretch; }
.cl-list__email, .cl-list__grade {
  font: inherit; font-size: 1rem; color: var(--ink);
  background: #fff; border: 3px solid var(--navy, #093366);
  border-radius: 12px; padding: 10px 14px;
  /* 44px of target, the same floor the rest of the shop uses. */
  min-height: 48px;
}
.cl-list__email { flex: 1 1 15rem; min-width: 0; }
.cl-list__grade { flex: 0 0 auto; }
.cl-list__email:focus-visible, .cl-list__grade:focus-visible {
  outline: 3px solid var(--blast-blue, #0E7FE0); outline-offset: 2px; }
.cl-list__go { flex: 0 0 auto; }
/* The answer after a scripted submit. Empty until there is something
   to say, so it never leaves a gap on first paint. */
.cl-list__said:empty { display: none; }
.cl-list__said { flex-basis: 100%; margin: 4px 0 0; font-weight: 700; }
.cl-list__said[data-bad="1"] { color: #B3261E; }
/* Off-screen rather than display:none — a bot reading the DOM should
   still find it, which is the whole point of the trap. */
.cl-list__hp {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}

.cl-close__find { margin: 16px 0 0; font-size: .95rem; }
.cl-close__find a { color: var(--navy); font-weight: 600;
  text-decoration: underline; text-underline-offset: 3px; }
.cl-browse__find { display: block; margin: 0 0 10px; font-size: .86rem;
  font-weight: 600; color: var(--navy); text-decoration: underline;
  text-underline-offset: 3px; }

/* ---- the search page -----------------------------------------------
   Deliberately plain. The input is the page; everything else is the
   catalogue's own card grid, so results look like the shelves they
   came from. */
.cl-find { max-width: 640px; margin: 0 auto 28px; }
.cl-find__lab { display: block; font-family: var(--font-ui);
  font-size: .72rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--ink-soft, #5A6069); margin: 0 0 8px; }
.cl-find__in { width: 100%; min-height: 52px; padding: 12px 16px;
  font: inherit; font-size: 1.05rem; color: var(--ink);
  background: #fff; border: 3px solid var(--navy); border-radius: 14px;
  box-shadow: 0 3px 0 var(--navy); }
.cl-find__in:focus-visible { outline: 3px solid var(--blast-blue);
  outline-offset: 2px; }
.cl-find__count { margin: 10px 0 0; font-weight: 700; font-size: .92rem;
  color: var(--navy); }
.cl-find__none { max-width: 640px; margin: 0 auto 24px; text-align: center; }
.cl-find__all { margin: 8px 0 0; }
.cl-find__group { margin: 0 0 12px; line-height: 2.1; }
.cl-find__group strong { margin-right: 8px; }
.cl-find__group a { display: inline-block; margin: 0 6px 0 0;
  padding: 6px 12px; min-height: 36px; border: 2px solid var(--navy);
  border-radius: 999px; font-size: .9rem; font-weight: 600;
  text-decoration: none; }
.cl-find__group a:hover { background: var(--squad-yellow); }
/* The standard .btn is sized for a hero; in a 232px rail it wraps
   awkwardly. Same shape, smaller, still a 44px target. */
.btn--sm { font-size: .84rem; padding: 12px 16px 9px;
  min-height: 44px; border-radius: 12px; box-shadow: 4px 4px 0 var(--ink);
  display: block; width: 100%; }

/* ---- count and sort, above the results ----------------------------- */
.cl-toolbar { display: flex; align-items: center; justify-content: space-between;
  gap: 12px; flex-wrap: wrap; margin: 0 0 18px; padding-bottom: 12px;
  border-bottom: 2px solid var(--rule, #D8D5CE); }
.cl-toolbar__count { margin: 0; font-family: var(--font-ui); font-size: .9rem;
  color: var(--ink-soft, #6E7479); }
.cl-toolbar__count strong { font-family: var(--font-shout);
  font-size: 1.25rem; color: var(--ink); }
.cl-toolbar__sort { display: flex; align-items: center; gap: 8px;
  font-family: var(--font-ui); font-size: .78rem;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-soft, #6E7479); }
.cl-toolbar__select { font-family: var(--font-ui); font-size: .86rem;
  min-height: 44px; padding: 6px 12px; color: var(--ink);
  background: #fff; border: 3px solid var(--ink); border-radius: 999px;
  box-shadow: 3px 3px 0 var(--ink); text-transform: none; letter-spacing: 0; }
.cl-toolbar__select:focus-visible { outline: 3px dashed var(--blast-blue);
  outline-offset: 2px; }

/* TWO PER ROW ON A PHONE, NOT ONE.
   minmax(230px, 1fr) meant a 375px phone fitted a single column, so
   the 52-set kindergarten page was a 52-card scroll. An explicit
   two-column grid halves that; the cover art survives it because the
   covers are mostly a title and one big number, not fine detail.
   Four across on a wide screen, the way a shop looks. */
.cl-grid { list-style: none; margin: 0 0 10px; padding: 0;
  display: grid; gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 560px) { .cl-grid { gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 900px) { .cl-grid { gap: 16px;
  grid-template-columns: repeat(4, minmax(0, 1fr)); } }
/* Inside the sidebar layout the main column is narrower, so it drops
   one across to keep the covers from going postage-stamp. */
@media (min-width: 900px) {
  .cl-shop__main .cl-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1200px) {
  .cl-shop__main .cl-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
/* Flex column rather than grid, so .cl-card__price can take
   margin-top:auto and sit on the baseline of every card in the row
   regardless of how many lines the title ran to. */
.cl-card__link {
  display: flex; flex-direction: column; gap: 4px; height: 100%;
  background: #fff; border: 3px solid var(--ink); border-radius: 14px;
  box-shadow: 5px 5px 0 var(--ink);
  padding: 0 0 14px; overflow: hidden;
  text-decoration: none; color: var(--ink);
}
.cl-card__link:hover { transform: translate(-2px, -2px);
  box-shadow: 7px 7px 0 var(--ink); }
/* The cover does the selling; it gets the top of the card and a
   coloured rail underneath tying it to its strand. */
.cl-card__shot { display: block; background: #F4EFE6;
  border-bottom: 4px solid var(--cl-hue, var(--ink)); }
.cl-card__shot img { display: block; width: 100%; height: auto; }
/* The padding and type below were drawn for a 230px-wide card. In a
   two-up phone grid the column is nearer 170px, so 18px of padding
   each side ate a fifth of the width. These scale with the viewport
   and settle at the original figures once there is room. */
.cl-card__strand { font-family: var(--font-ui);
  font-size: clamp(.6rem, 1.8vw, .68rem);
  letter-spacing: .12em; color: var(--cl-hue, var(--blast-blue));
  padding: 10px clamp(10px, 3vw, 18px) 0; }
.cl-card__title { font-family: var(--font-ui);
  font-size: clamp(.86rem, 2.6vw, 1.02rem);
  line-height: 1.25; padding: 0 clamp(10px, 3vw, 18px);
  /* A long title must not push the price off the bottom of a short
     card, but it must not be cut mid-word either. */
  overflow-wrap: break-word; hyphens: auto; }
.cl-card__meta { font-size: clamp(.74rem, 2.2vw, .84rem);
  color: var(--ink-soft, #6E7479);
  padding: 0 clamp(10px, 3vw, 18px); }
/* The price stays big — it is the one thing that must never shrink
   on a shop card — and is pinned to the bottom so a two-line title
   and a one-line title still line their prices up across a row. */
.cl-card__price { font-family: var(--font-shout);
  font-size: clamp(1.05rem, 3.2vw, 1.25rem);
  margin-top: auto; padding: 6px clamp(10px, 3vw, 18px) 0; }

/* ---- the squad in the hero -----------------------------------------
   The Boom Squad Buddies figures. Previously these were stacked UNDER
   the words and hidden entirely on a phone, which meant the brand's
   own characters never appeared on the shop's front page for the
   majority of visitors. Now they sit beside the copy on a wide screen
   and tuck under it on a phone at a size where they still read.
   Every BSB figure is exported at the same height, so a plain
   flex-end row lines them all up on one baseline — no per-character
   nudging, and adding a character cannot break the row. */
.cl-hero__in { display: grid; gap: clamp(14px, 3vw, 40px); align-items: center; }
.cl-hero__said { min-width: 0; }
.cl-hero__squad { display: flex; align-items: flex-end; justify-content: center;
  gap: clamp(2px, 1.4vw, 18px); margin: 4px 0 -8px; pointer-events: none; }
.cl-hero__squad img { width: clamp(62px, 20vw, 118px); height: auto;
  filter: drop-shadow(3px 4px 0 rgba(0,0,0,.35)); }
/* Three figures is a group; five on a 360px screen is a smudge. */
.cl-hero__fig--wide { display: none; }
@media (min-width: 560px) { .cl-hero__fig--wide { display: block; } }
@media (min-width: 900px) {
  .cl-hero__in { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
  .cl-hero__squad { margin: 0 0 -14px; }
}

/* Three or four hard numbers, directly under the title. On a phone
   this is the whole argument before the first scroll, so it is set
   big enough to read at a glance and wraps instead of scrolling. */
.cl-hero__facts { list-style: none; display: flex; flex-wrap: wrap;
  gap: 8px; margin: 0 0 16px; padding: 0; }
.cl-hero__facts li { font-family: var(--font-ui); font-size: .8rem;
  color: var(--paper); padding: 7px 12px; border-radius: 999px;
  background: rgba(255,255,255,.1);
  border: 2px solid rgba(255,255,255,.28); }
.cl-hero__facts strong { font-size: 1.08rem; color: var(--squad-yellow); }

/* One primary button. The other routes are a quiet line beneath it —
   present for the teacher who knows what she wants, not competing
   with the action for everybody else. */
.cl-hero__alt { margin: 12px 0 0; font-size: .88rem; color: var(--paper); }
.cl-hero__alt a { color: var(--paper); }
.cl-hero__cta .btn { width: 100%; text-align: center; }
@media (min-width: 560px) { .cl-hero__cta .btn { width: auto; } }

/* ---- the wall of covers --------------------------------------------
   A horizontal rail rather than a grid: it reads as "there are a lot
   of these" in one glance and costs one row of height. */
.cl-wall { border-bottom: 4px solid var(--ink); background: #F4EFE6;
  padding: 18px 0; }
.cl-wall__strip { list-style: none; margin: 0; padding: 0 clamp(14px, 4vw, 40px);
  display: flex; gap: 12px; overflow-x: auto;
  scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; }
.cl-wall__strip li { flex: none; scroll-snap-align: start; }
.cl-wall__strip img { display: block; width: 126px; height: auto;
  border: 3px solid var(--ink); border-radius: 8px;
  box-shadow: 4px 4px 0 var(--ink); background: #fff; }
.cl-wall__strip a:hover img { transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--ink); }

/* ---- set header: cover beside the price ---------------------------- */
.cl-sethead__in { display: grid; gap: clamp(18px, 4vw, 38px);
  align-items: start; }
@media (min-width: 820px) {
  .cl-sethead__in { grid-template-columns: minmax(230px, 310px) 1fr; }
}
/* On a phone the cover would otherwise eat the whole first screen and
   push the price below the fold, so it is capped and centred until
   there is room for the two-column layout. */
.cl-sethead__shot { max-width: 240px; margin: 0 auto; }
@media (min-width: 820px) { .cl-sethead__shot { max-width: none; margin: 0; } }
.cl-sethead__shot img { display: block; width: 100%; height: auto;
  border: 4px solid var(--ink); border-radius: 12px;
  box-shadow: 8px 8px 0 var(--ink); background: #fff; }
.cl-sethead__kicker { display: flex; align-items: center; gap: 8px; }
.cl-sethead__kicker img { width: 34px; height: auto; flex: none; }

/* ---- look inside ---------------------------------------------------- */
.cl-peek__note { font-size: .9rem; color: var(--ink-soft, #6E7479);
  margin: 0 0 16px; }
.cl-peek__grid { list-style: none; margin: 0; padding: 0;
  display: grid; gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.cl-peek__grid img { display: block; width: 100%; height: auto;
  border: 3px solid var(--ink); border-radius: 10px;
  box-shadow: 5px 5px 0 var(--ink); background: #fff; }

/* ---- "Look inside" flips itself on a phone --------------------------
   On a wide screen four pages side by side is the right thing: a
   teacher scans them in one glance. On a phone the same four become
   four full-height images she has to scroll past, and most people
   never reach page four.

   So below 560px the grid becomes a stage and the four pages flip
   through themselves, 2.6s each. Not one extra byte is downloaded —
   this is the SAME markup and the SAME four images the grid already
   loaded, re-presented. The alt text is untouched, so a screen
   reader still gets four described pages in order.

   Each page announces its number so nobody wonders how many there
   are while they wait. */
@media (max-width: 559px) {
  .cl-peek__grid { position: relative; display: block;
    aspect-ratio: 560 / 725; margin-bottom: 30px; }
  .cl-peek__grid li { position: absolute; inset: 0; opacity: 0;
    animation: clPeekFlip 10.4s linear infinite; }
  .cl-peek__grid li:nth-child(1) { animation-delay: 0s; }
  .cl-peek__grid li:nth-child(2) { animation-delay: 2.6s; }
  .cl-peek__grid li:nth-child(3) { animation-delay: 5.2s; }
  .cl-peek__grid li:nth-child(4) { animation-delay: 7.8s; }
  .cl-peek__grid li::after { content: counter(peek) " / 4";
    position: absolute; right: 8px; bottom: 8px;
    font-family: var(--font-ui); font-size: .66rem; letter-spacing: .1em;
    background: var(--ink); color: var(--paper, #fff);
    padding: 3px 8px; border-radius: 999px; }
  .cl-peek__grid { counter-reset: peek; }
  .cl-peek__grid li { counter-increment: peek; }
  .cl-peek__grid img { height: 100%; object-fit: contain; }
  /* A thumb on the images stops the flip so a page can be studied. */
  .cl-peek__grid:hover li, .cl-peek__grid:focus-within li,
  .cl-peek__grid:active li { animation-play-state: paused; }
}
@keyframes clPeekFlip {
  0%        { opacity: 0; }
  2%, 23%   { opacity: 1; }
  25%, 100% { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  /* Back to a plain list — longer to scroll, but nothing moves. */
  @media (max-width: 559px) {
    .cl-peek__grid { display: grid; position: static; aspect-ratio: auto; }
    .cl-peek__grid li { position: static; opacity: 1; animation: none; }
    .cl-peek__grid li::after { display: none; }
    .cl-peek__grid img { height: auto; }
  }
}

@media (prefers-reduced-motion: reduce) {
  .cl-card__link:hover, .cl-wall__strip a:hover img { transform: none; }
}

.cl-sethead { background: var(--navy); border-bottom: 4px solid var(--ink);
  padding: clamp(26px, 5vw, 48px) 0; color: var(--paper); }
.cl-sethead__kicker { font-family: var(--font-ui); font-size: .74rem;
  letter-spacing: .2em; color: var(--boom-green); margin: 0 0 8px; }
.cl-sethead__title { font-family: var(--font-shout);
  font-size: clamp(1.6rem, 4.4vw, 2.6rem); line-height: 1.05;
  color: var(--paper); text-shadow: 4px 4px 0 var(--ink); margin: 0 0 10px; }
.cl-sethead__blurb { max-width: 56ch; margin: 0 0 16px; }

/* The scannable strip a teacher actually reads first. */
.cl-facts { list-style: none; display: flex; flex-wrap: wrap; gap: 8px;
  margin: 0 0 16px; padding: 0; }
.cl-facts li { font-family: var(--font-ui); font-size: .8rem;
  background: rgba(255,255,255,.12); border: 2px solid rgba(255,255,255,.35);
  border-radius: 999px; padding: 5px 12px 3px; }

.cl-price { display: flex; align-items: baseline; gap: 10px; margin: 0 0 14px; }
.cl-price__now { font-family: var(--font-shout);
  font-size: clamp(1.6rem, 4vw, 2.2rem); color: var(--squad-yellow); }
.cl-band--year .cl-price__now, .cl-band .cl-price__now { color: var(--ink); }
.cl-sethead .cl-price__now { color: var(--squad-yellow); }
.cl-price__was { text-decoration: line-through; opacity: .62;
  font-family: var(--font-ui); }

.cl-buy { margin: 0 0 4px; }
.cl-buy__btn[disabled] { opacity: .55; cursor: not-allowed; }
.cl-buy__note { font-size: .8rem; opacity: .8; margin: 8px 0 0; max-width: 46ch; }

.cl-h2 { font-family: var(--font-shout);
  font-size: clamp(1.2rem, 3vw, 1.6rem); margin: 0 0 12px; }
.cl-body { max-width: 62ch; margin: 0; }
.cl-note { font-size: .86rem; color: var(--ink-soft, #6E7479); margin: 12px 0 0; }

.cl-teks { list-style: none; display: flex; flex-wrap: wrap; gap: 8px;
  margin: 0; padding: 0; }
.cl-teks li { font-family: var(--font-ui); font-size: .82rem;
  background: var(--squad-yellow); border: 2px solid var(--ink);
  border-radius: 8px; padding: 5px 10px 3px; }

.cl-bundlelist { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.cl-bundlelist a { text-decoration: none; color: var(--ink);
  display: block; border: 2px solid var(--ink); border-radius: 12px;
  padding: 12px 14px; background: var(--squad-yellow); }

.cl-bundle { background: #fff; border: 3px solid var(--ink);
  border-radius: 16px; box-shadow: 7px 7px 0 var(--ink);
  padding: 22px 24px; margin: 0 0 24px; }
.cl-bundle__title { font-family: var(--font-shout);
  font-size: clamp(1.25rem, 3vw, 1.7rem); margin: 0 0 8px; }
.cl-bundle__blurb { margin: 0 0 12px; max-width: 58ch; }
.cl-bundle__save { font-family: var(--font-ui); font-size: .9rem; margin: 0 0 14px; }

/* The flagship gets the yellow treatment and a flag, because the page
   should answer "which one should I get?" before anybody has to work
   it out. */
.cl-bundle--lead { border-width: 4px; box-shadow: 8px 8px 0 var(--ink);
  background: linear-gradient(#FFFDF5, #fff); }
.cl-bundle__flag { display: inline-block; font-family: var(--font-ui);
  font-size: .68rem; letter-spacing: .18em; margin: 0 0 10px;
  padding: 5px 11px; border-radius: 999px;
  background: var(--squad-yellow); border: 2px solid var(--ink); }

/* Four facts in a row. The per-set figure is the one doing the work:
   it makes the ladder between bundles self-evident. */
.cl-bundle__facts { list-style: none; display: flex; flex-wrap: wrap;
  gap: 8px; margin: 0 0 16px; padding: 0; }
.cl-bundle__facts li { font-family: var(--font-ui); font-size: .78rem;
  padding: 6px 11px; border-radius: 999px;
  background: var(--paper, #FAF7F0); border: 2px solid var(--rule, #D8D5CE); }
.cl-bundle__facts strong { font-size: .92rem; }

/* The set list is collapsed on the flagship — forty-six titles between
   the price and the buy button is a wall, and the reader who wants it
   can open it in one tap. Smaller bundles stay open: a seven-item
   list IS the selling point. */
.cl-bundle__what { margin: 0 0 4px; }
.cl-bundle__what > summary { cursor: pointer; font-family: var(--font-ui);
  font-size: .85rem; padding: 10px 0; }
.cl-bundle__what > summary span { color: var(--ink-soft, #6E7479); }
.cl-bundle__what[open] > summary { border-bottom: 2px solid var(--rule, #D8D5CE); }
/* Both buy boxes sit inside the article, so give the lower one air. */
.cl-bundle .cl-buy + .cl-bundle__what { margin-top: 18px; }
.cl-bundle__what + .cl-buy { margin-top: 16px; }

/* Bundle jump list: price alongside each name, so the bar itself is a
   price list rather than eight words. */
.cl-nav__item small { font-family: var(--font-ui); opacity: .7;
  margin-left: 5px; }
.cl-bundle__sets { list-style: none; margin: 0 0 18px; padding: 0;
  display: grid; gap: 6px; }
.cl-bundle__sets li { display: flex; justify-content: space-between; gap: 12px;
  font-size: .92rem; border-bottom: 1px solid var(--rule, #D8D5CE);
  padding-bottom: 5px; }
.cl-bundle__sets span { opacity: .65; }

.cl-scope { width: 100%; border-collapse: collapse; font-size: .92rem; }
.cl-scope th, .cl-scope td { text-align: left; padding: 9px 10px;
  border-bottom: 1px solid var(--rule, #D8D5CE); vertical-align: top; }
.cl-scope th { font-family: var(--font-ui); font-size: .78rem;
  letter-spacing: .1em; background: var(--navy); color: var(--paper); }
.cl-scope__teks { font-size: .78rem; color: var(--ink-soft, #6E7479); }
@media (max-width: 720px) { .cl-scope__teks { display: none; } }

.cl-prose h2 { margin-top: 26px; }
.cl-prose ul { margin: 0 0 14px 20px; }
.cl-prose li { margin-bottom: 6px; }

/* The "what colour actually means" note — slightly set apart from the
   lead-in line above it so it reads as information, not sales copy. */
.cl-peek__note--what { background: #F4EFE6; border-left: 5px solid var(--cl-hue, var(--ink));
  padding: 12px 16px; border-radius: 0 10px 10px 0; max-width: 62ch;
  color: var(--ink); }

/* ---- checkout states -------------------------------------------------
   The PayPal slot is hidden until there's an email and a state, so the
   button never appears before it can work. */
.cl-buy__paypal { margin: 12px 0 4px; max-width: 320px; }
.cl-buy__total { font-family: var(--font-ui); font-weight: 700;
  margin: 10px 0 0; }
.cl-buy__err { color: #B3261E; font-weight: 600; margin: 8px 0 0;
  max-width: 44ch; }
.cl-buy__done { background: #EAF6EC; border: 3px solid var(--ink);
  border-radius: 12px; box-shadow: 5px 5px 0 var(--ink);
  padding: 16px 18px; margin: 0; max-width: 46ch; line-height: 1.5; }
.cl-buy__done small { color: var(--ink-soft, #6E7479); }

/* The stand-in BUY button shown before email + state are filled. It
   must look like the real thing (same .btn) so the page never reads
   as "nothing to buy here" — just not yet clickable. */
.cl-buy__stub[disabled] { opacity: .55; cursor: not-allowed; }
.cl-buy__hint { font-size: .85rem; color: var(--ink-soft, #6E7479);
  margin: 8px 0 0; max-width: 40ch; }

/* ======================================================================
   THE PURCHASE PANEL
   A boxed, self-contained thing that reads as "this is where you buy",
   rather than two stray form fields floating under a price. Sits on
   the navy set header, so it is a light card on dark ground.
   ====================================================================== */
.cl-buy { background: #FFFDF8; border: 4px solid var(--ink);
  border-radius: 16px; box-shadow: 8px 8px 0 var(--ink);
  padding: clamp(16px, 3vw, 24px); margin: 18px 0 0; max-width: 430px;
  color: var(--ink); }
.cl-buy__kicker { font-family: var(--font-ui); font-size: .7rem;
  letter-spacing: .18em; color: var(--cl-hue, var(--blast-blue));
  margin: 0 0 2px; }
.cl-buy__price { font-family: var(--font-shout);
  font-size: clamp(2rem, 6vw, 2.6rem); line-height: 1; margin: 0 0 16px;
  display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.cl-buy__price span { font-family: var(--font-ui); font-size: .82rem;
  font-weight: 600; letter-spacing: .02em; color: var(--ink-soft, #6E7479); }

.cl-buy__fields { display: grid; gap: 12px; margin: 0 0 14px; }
@media (min-width: 440px) {
  .cl-buy__fields { grid-template-columns: 1fr auto; align-items: end; }
}
.cl-buy__field { display: grid; gap: 4px; margin: 0; }
.cl-buy__label { font-family: var(--font-ui); font-size: .72rem;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-soft, #6E7479); }
.cl-buy__input { font: inherit; padding: 11px 12px; width: 100%;
  border: 3px solid var(--ink); border-radius: 10px; background: #fff;
  color: var(--ink); }
.cl-buy__input:focus-visible { outline: 3px solid var(--blast-blue);
  outline-offset: 2px; }

.cl-buy .cl-buy__stub { width: 100%; justify-content: center; }
.cl-buy__total { font-family: var(--font-ui); font-weight: 700;
  margin: 0 0 10px; }

/* The three doubts a teacher actually has, answered under the button
   where they reassure instead of competing with it. */
.cl-buy__trust { list-style: none; margin: 14px 0 0; padding: 0;
  display: grid; gap: 6px; font-size: .85rem; }
.cl-buy__trust li { position: relative; padding-left: 22px;
  color: var(--ink); }
.cl-buy__trust li::before { content: "✓"; position: absolute; left: 0;
  color: #2E8B57; font-weight: 800; }
.cl-buy__note { font-size: .78rem; color: var(--ink-soft, #6E7479);
  margin: 12px 0 0; }

/* ======================================================================
   THE CONFIRMATION
   Green, unmistakable, and carrying the actual files — not a sentence
   asking them to go and check their email.
   ====================================================================== */
.cl-done { background: #E9F7EC; border: 4px solid #1E6B3A;
  border-radius: 16px; box-shadow: 8px 8px 0 var(--ink);
  padding: clamp(18px, 3vw, 26px); max-width: 460px; color: var(--ink); }
.cl-done__tick { width: 46px; height: 46px; margin: 0 0 10px;
  display: grid; place-items: center; border-radius: 50%;
  background: #1E6B3A; color: #fff; font-size: 1.5rem; font-weight: 800;
  line-height: 1; }
.cl-done__head { font-family: var(--font-shout);
  font-size: clamp(1.25rem, 3.4vw, 1.6rem); margin: 0 0 14px;
  color: #14512B; }
.cl-done__files { list-style: none; margin: 0 0 14px; padding: 0;
  display: grid; gap: 10px; }
.cl-done__dl { display: flex; align-items: center; gap: 10px;
  background: #1E6B3A; color: #fff; text-decoration: none;
  font-family: var(--font-ui); font-weight: 700; font-size: .92rem;
  border: 3px solid var(--ink); border-radius: 12px;
  box-shadow: 5px 5px 0 var(--ink); padding: 12px 14px; }
.cl-done__dl span { font-size: .68rem; letter-spacing: .14em;
  background: rgba(255,255,255,.22); border-radius: 999px;
  padding: 4px 9px; flex: none; }
.cl-done__dl:hover { transform: translate(-2px, -2px);
  box-shadow: 7px 7px 0 var(--ink); }
.cl-done__body { margin: 0 0 8px; font-size: .92rem; }
.cl-done__small { margin: 10px 0 0; font-size: .8rem;
  color: #3C5C47; }

@media (prefers-reduced-motion: reduce) {
  .cl-done__dl:hover { transform: none; }
}

/* ---- the bundle upsell on a single set's page -----------------------
   The highest-leverage block in the shop: the reader has already
   decided she wants this kind of thing, so the only open question is
   how much of it. Styled as a card rather than a note, because a
   paragraph of body text gets skipped. */
.cl-upsell { background: var(--squad-yellow); color: var(--ink);
  border: 4px solid var(--ink); border-radius: 16px;
  box-shadow: 7px 7px 0 var(--ink);
  padding: clamp(18px, 3.5vw, 30px); }
.cl-upsell__kicker { font-family: var(--font-ui); font-size: .7rem;
  letter-spacing: .2em; margin: 0 0 8px; }
.cl-upsell__title { font-family: var(--font-shout);
  font-size: clamp(1.25rem, 3.2vw, 1.8rem); margin: 0 0 10px; line-height: 1.1; }
.cl-upsell__body { margin: 0 0 10px; max-width: 54ch; }
.cl-upsell__body strong { font-size: 1.1em; }
/* The arithmetic, set smaller — it rewards the reader who wants to
   check the claim rather than shouting a second headline at her. */
.cl-upsell__maths { margin: 0 0 16px; max-width: 54ch;
  font-size: .9rem; opacity: .85; }
.cl-upsell__cta { margin: 0 0 10px; }
.cl-upsell__also { margin: 0; font-size: .85rem; }
.cl-upsell__also a { color: var(--ink); }

/* ---- the sticky buy bar (phones only) -------------------------------
   The buy box scrolls away in one swipe, and everything that makes a
   teacher want the set is below it. This keeps the price and a way
   back to the box on screen. It is an anchor, not a second form:
   duplicating the email field and the PayPal button would mean two
   checkouts on one page and a real chance of paying through the wrong
   one. Hidden from 760px up, where the box is already visible. */
.cl-sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  background: var(--ink); color: var(--paper, #FAF7F0);
  border-top: 3px solid var(--squad-yellow);
  padding: 9px 14px calc(9px + env(safe-area-inset-bottom));
  box-shadow: 0 -4px 18px rgba(0,0,0,.28); }
.cl-sticky__in { display: flex; align-items: center; gap: 12px;
  max-width: 620px; margin: 0 auto; }
.cl-sticky__price { font-family: var(--font-shout); font-size: 1.3rem;
  flex: none; }
.cl-sticky__btn { flex: 1; text-align: center; text-decoration: none;
  font-family: var(--font-ui); font-size: .86rem; letter-spacing: .06em;
  padding: 12px 14px; border-radius: 999px;
  background: var(--squad-yellow); color: var(--ink);
  border: 2px solid var(--ink); font-weight: 700; }
.cl-sticky__btn:active { transform: translateY(1px); }
/* Nothing should end up underneath it. The padding went on .cl-set,
   which clears the SET content — but the site footer renders after
   .cl-set, so at the very bottom of the page the bar still covered
   the licence link and the footer's last row. The clearance belongs
   on the page, not on one section of it.
   The bar only exists when the store is open, so the clearance is
   tied to its actual presence with :has(). Where :has() is missing
   the result is simply today's behaviour, not a worse one. */
.cl-set, .cl-bundlepage { padding-bottom: 20px; }
body:has(.cl-sticky) .site-foot {
  padding-bottom: calc(86px + env(safe-area-inset-bottom)); }
@media (min-width: 760px) {
  .cl-sticky { display: none; }
  .cl-set, .cl-bundlepage { padding-bottom: 0; }
  body:has(.cl-sticky) .site-foot { padding-bottom: 0; }
}
/* The jumped-to buy box must not land under the two sticky nav bars. */
.cl-buy[id] { scroll-margin-top: 104px; }

/* "For December" — the seasonal shelf at the top of the shop. */
.cl-band--now { background: #fff;
  border-top: 2px solid var(--rule, #D8D5CE);
  border-bottom: 2px solid var(--rule, #D8D5CE); }

/* ---- the Hero Academy cross-sell ------------------------------------
   Navy rather than yellow: this is a different product, and making it
   look like another bundle would bury it. */
.cl-cross { background: var(--navy, #15213B); color: var(--paper, #FAF7F0);
  border-top: 4px solid var(--squad-yellow); }
.cl-cross__in { display: flex; align-items: center; gap: clamp(16px, 4vw, 40px); }
.cl-cross__kicker { font-family: var(--font-ui); font-size: .7rem;
  letter-spacing: .2em; color: var(--squad-yellow); margin: 0 0 8px; }
.cl-cross__title { font-family: var(--font-shout);
  font-size: clamp(1.4rem, 3.4vw, 2rem); margin: 0 0 10px; }
/* 500, not the page's 400: light text on a dark field loses apparent
   weight, so regular reads thin here while 600 read shouty. */
.cl-cross__body { margin: 0 0 18px; max-width: 58ch;
  font-weight: 500; line-height: 1.65; }
.cl-cross__who { flex: none; margin: 0; }
.cl-cross__who img { width: clamp(80px, 14vw, 140px); height: auto; }
@media (max-width: 620px) { .cl-cross__who { display: none; } }

/* The opt-in tick box inside the buy panel. Quiet — it is a bonus, not
   a second call to action competing with the buy button. */
.cl-buy__opt { display: flex; gap: 10px; align-items: flex-start;
  margin: 0 0 14px; padding: 11px 13px; border-radius: 10px;
  background: #FFF8E1; border: 2px solid var(--ink);
  font-size: .82rem; line-height: 1.4; cursor: pointer; }
.cl-buy__opt input { margin: 2px 0 0; width: 18px; height: 18px; flex: none;
  accent-color: var(--ink); }

/* ---- the TEKS index -------------------------------------------------
   A reference table, so it is dense on purpose: somebody arrives with
   a code in hand and wants to find the row, not admire the layout. */
.cl-teks__table { font-size: .92rem; }
.cl-teks__code { white-space: nowrap; font-family: var(--font-ui);
  font-size: .86rem; font-weight: 700; text-align: left;
  vertical-align: top; padding-right: 14px; }
.cl-teks__strand { font-family: var(--font-ui); font-size: .72rem;
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--ink-soft, #6E7479); margin-left: 5px; white-space: nowrap; }
.cl-teks__sep { color: var(--rule, #D8D5CE); }
.cl-teks__table td { vertical-align: top; line-height: 1.55; }

/* A third, quieter call to action in the shop hero — for the teacher
   who arrived holding a TEKS code rather than a shopping list. */
.btn--ghost { background: transparent; color: var(--paper, #FAF7F0);
  border: 2px solid currentColor; }
.btn--ghost:hover, .btn--ghost:focus-visible {
  background: var(--paper, #FAF7F0); color: var(--navy, #15213B); }

/* The "not yet double-checked" line on a set page. Quiet and factual —
   it is a caveat, not a warning, and should not look like an error. */
.cl-note--check { font-size: .86rem; padding: 10px 13px; border-radius: 10px;
  background: #FFF8E1; border: 2px solid var(--rule, #D8D5CE); }
.cl-sethead__blurb--small { font-size: .88rem; opacity: .85; }
