/* cfsfresno.com — the few rules that cannot live in tokens.css. Loaded AFTER cfs.css, which stays
   byte-identical to the design bundle (scripts/check-site-css.mjs).
   Danny, Oct 16 2026: headlines in Bitter read better in normal case → drop the forced uppercase on
   display headings, and give them the weights the face was chosen for (800 display/h1, 700 h2/h3).
   Eyebrows, labels, table heads and the date tile keep their small-caps treatment — those are labels,
   not headlines. */
.display, .h1, .h2, .h3, .event-card__school, .logo__word { text-transform: none; }
.display, .h1 { font-weight: 800; }
.h2, .h3, .event-card__school, .sale-banner__date, .stat__num, .check-tile__amount, .date-tile__day, .step__n, .school-mark, .logo__word { font-weight: 700; }
.input--code { text-transform: uppercase; }   /* the code itself is upper-case A–Z/0–9 */

/* Round 2a (Danny, Nov 2 2026). The school's logo in the event page header, in the white disc the letter mark
   used; photo captions; the home strip's six tiles (3 × 2 instead of the bundle's 4-up row); the Koalafi row. */
.school-mark--logo { width: 72px; height: 72px; padding: 8px; overflow: hidden; }
.school-mark--logo img { width: 100%; height: 100%; object-fit: contain; display: block; }
.check-tile__caption { font-size: var(--text-sm); color: var(--ink-2); line-height: var(--leading-snug); margin: 0; }
@container site (min-width: 1024px) { .check-strip--six { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.koalafi-cta { margin-top: var(--space-3); align-items: center; }

/* Round 2b (Danny, Nov 2 2026). The nav's "About" menu: a <details> that looks like a nav link and opens a small list
   under it. No script needed to open or close it. */
.nav__menu { position: relative; }
.nav__menu > summary { list-style: none; display: inline-flex; align-items: center; gap: 4px; min-height: 40px; white-space: nowrap; padding: 0 var(--space-3); border-radius: var(--radius-pill); font-weight: 600; font-size: var(--text-sm); color: var(--ink); cursor: pointer; }
.nav__menu > summary::-webkit-details-marker { display: none; }
.nav__menu > summary::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); }
.nav__menu[open] > summary::after { transform: translateY(1px) rotate(-135deg); }
.nav__menu > summary:hover { background: var(--cfs-blue-tint); color: var(--cfs-blue); }
.nav__menu > summary[aria-current="page"] { background: var(--cfs-blue); color: #FFFFFF; }
.nav__menu-list { position: absolute; z-index: 20; top: calc(100% + 4px); left: 0; min-width: 180px; display: grid; gap: 2px; padding: var(--space-2); background: #FFFFFF; border: 1px solid var(--line); border-radius: var(--radius-md, 12px); box-shadow: 0 8px 24px rgba(0,0,0,.12); }
.nav__menu-list a { width: 100%; }
@container site (min-width: 1024px) { .nav__menu > summary { font-size: var(--text-md); padding-inline: var(--space-4); } }

/* /products (round 2b, Part 3): brand sections are <details>; the result grid and the card's "Try it" line. */
.brand-section { border-top: 1px solid var(--line); padding-block: var(--space-4); }
.brand-section > summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: var(--space-3); cursor: pointer; min-height: 44px; }
.brand-section > summary::-webkit-details-marker { display: none; }
.brand-section > summary::after { content: ""; flex: none; width: 10px; height: 10px; border-right: 2px solid var(--ink-2); border-bottom: 2px solid var(--ink-2); transform: rotate(45deg); }
.brand-section[open] > summary::after { transform: rotate(-135deg); }
.brand-section > .product-grid { margin-top: var(--space-4); }
.mattress-card__try { font-size: var(--text-sm); color: var(--ink-2); font-weight: 600; }
.price__checked { font-size: var(--text-xs); color: var(--ink-3); }
.filters__sizes .chip, .filters .chip { min-height: 40px; }
.product-ph img { width: 56%; max-width: 200px; height: auto; margin-bottom: var(--space-2); }
.mattress-card__media img.product-img { width: 100%; height: 100%; object-fit: contain; background: #FFFFFF; display: block; }

/* The phone nav is one row (round 2b item 14): below 720px Home hides (the logo is home), Contact lives in the About menu,
   and the four links tighten. 720px is cfs.css's own first breakpoint. Every rule is scoped to .nav--menu, the class only
   the new markup carries: this file goes live the moment it is on disk, before the server that renders the new nav is
   restarted, and unscoped it would have forced the OLD six-link nav into one row and off the side of a phone. */
.nav--menu a.nav__narrow { display: none; }
@container site (max-width: 719px) {
  .nav--menu { flex-wrap: nowrap; gap: 4px; }
  .nav--menu > a, .nav--menu .nav__menu > summary { padding-inline: var(--space-2); }
  .nav--menu a.nav__wide { display: none; }
  .nav--menu .nav__menu-list a.nav__narrow { display: inline-flex; }
  .nav--menu .nav__menu-list { left: auto; right: 0; }
}
.mattress-card__media .product-ph { padding-top: var(--space-6); }

/* Round 2b Part 5: click-to-load videos (site_videos.js). The poster is our own image or a plain panel; the whole box is
   one link, so it works with no script (opens the video's own site) and the script swaps in the player on click. */
.video--click { padding: 0; }
.video--click .video__link { position: absolute; inset: 0; display: grid; place-items: center; color: #FFFFFF; text-decoration: none; }
.video--click .video__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.video--click .video__play { position: relative; z-index: 1; box-shadow: 0 6px 20px rgba(0,0,0,.35); transition: transform .15s ease; }
.video--click .video__link:hover .video__play, .video--click .video__link:focus-visible .video__play { transform: scale(1.08); }
.video--click .video__link:focus-visible { outline: 3px solid var(--focus); outline-offset: -3px; }
.video--click .video__caption { z-index: 1; right: var(--space-4); display: grid; gap: 2px; color: #FFFFFF; text-shadow: 0 1px 3px rgba(0,0,0,.6); }
.video--click .video__title { font-weight: 700; font-size: var(--text-md); line-height: 1.25; }
.video--click .video__note { font-size: var(--text-xs); color: #DADDF2; }
.brand-section__video { max-width: 640px; margin-top: var(--space-4); }
