/* ==========================================================================
   Christian Trends, design sample B: THRESHOLD
   ==========================================================================

   Boldness: COMPOSED (the middle of the five). Bone ground so it contrasts with
   A's cool paper and C/D's dark grounds. Deep aubergine slabs sit ON the bone and
   overlap section boundaries, so type and image can cross from one ground to the
   other. That crossing is the direction's whole idea, and it is where the name
   comes from.

   HARDCODED VALUES, inside the 6-colour / 2-font ceiling. → HANDOFF §6a
   FLAT, PER-ELEMENT, FULLY SCOPED. No descendant selectors. → kit 01 §3, 03 §1

   PALETTE, measured with `node tools/contrast.mjs threshold`:
     bone     #F5F1E8  page ground, never pure white
     ink      #1C1622  body and headlines        15.69:1 on bone
     slab     #2A1B33  the aubergine slab        bone on it 14.30:1
     violet   #6E5A7D  meta on bone               5.44:1
     rule     #E6DFD2  DECORATIVE hairlines only, 1.18:1, exempt
     saffron  #D97706  the accent

   ⚠ THE ACCENT RULE, and it is the useful constraint of this direction.
   Saffron on bone measures 2.83:1 and fails even the 3:1 large-text floor. So:
     - saffron is a BLOCK: ink sits on it at 5.55:1
     - saffron is TEXT only on the slab: 5.06:1
     - for the rare accent word on bone, the derived #A45C0E is used: 4.53:1
   There is no saffron text on bone anywhere in this file.

   Derived tints, each a color-mix() when ACSS lands:
     #716B6F  muted meta on bone      (ink 32% over bone)   4.62:1
     #90868E  muted on the slab       (bone 46% over slab)  4.59:1
     #8F8A8B  INTERFACE borders       (ink 45% over bone)   3.02:1
     #A45C0E  accent as text on bone  (ink 28% into saffron) 4.53:1
   ========================================================================== */

/* ⚠⚠ MEASURE CAPS: THE RULE, because getting this wrong produced the same visible bug
   three times in a row and it was the client who spotted it each time.

   The skill's quality floor says to size text blocks in `ch` ON THE TEXT ELEMENT rather
   than on a container. That is guidance on WHERE to put a cap when one is needed. It is
   NOT an instruction to cap every text element, and reading it that way is what went
   wrong: caps were applied inside grid cells that were ALREADY narrower than a
   comfortable measure, so the cap could only shrink the text and leave dead space to the
   right of every headline and standfirst.

     container already narrow  ->  NO cap. The cell is the measure, its padding is the gap.
     container can run wide    ->  cap the text, or better, constrain the container.
     headlines                 ->  never cap. Display type is short; a cap just invents an
                                   arbitrary ragged edge unrelated to the column.

   Exactly two caps survive in this file, both deliberate:
     .th-hero__title  the largest type on the page, where line breaks are a design choice
     .th-band__blurb  a short deck inside a very wide header row

   `node tools/measure-fill.mjs <url>` reports any element whose cap is narrower than the
   box it sits in. Run it before calling a sample finished.
   ========================================================================== */

/* ---------------------------------------------------------------- reset-ish */

*,
*::before,
*::after { box-sizing: border-box; }

html {
  overflow-x: hidden;
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
}

body { overflow-x: hidden; overflow-x: clip; }

img { max-width: 100%; display: block; }

.th-body {
  margin: 0;
  background: #F5F1E8;
  color: #1C1622;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  font-synthesis-weight: none;
}

.th-skip {
  position: absolute;
  left: 0.5rem;
  top: -3.5rem;
  z-index: 60;
  padding: 0.7rem 1.1rem;
  background: #2A1B33;
  color: #F5F1E8;
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 999px;
  transition: top 220ms cubic-bezier(.22,.61,.36,1);
}

.th-skip:focus-visible { top: 0.5rem; outline: 2px solid #D97706; outline-offset: 3px; }

/* ===================================================== THE ICON SET
   Hand-drawn 16x16 strokes at 1em, inheriting `currentColor`, so an icon always
   matches the text it sits beside and never needs a second colour value.
   Used for author, publish date and reading time throughout. */

.th-ico {
  width: 1em;
  height: 1em;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: -0.13em;
}

/* ========================================================== SHARED: chip
   The category marker for this direction. A pill, not a number: the numbered
   contents index is A's signature and must not be duplicated here. */

.th-hero__chip,
.th-card__chip,
.th-mag__chip,
.th-live__chip,
.th-live__tallchip,
.th-also__chip {
  display: inline-block;
  padding: 0.28em 0.75em;
  border-radius: 999px;
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1.5;
}

/* ========================================================== SHARED: round btn */

.th-btnround {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  font-size: 1rem;
  background: transparent;
  border: 1px solid #8F8A8B;
  border-radius: 50%;
  color: #1C1622;
  cursor: pointer;
  transition: background-color 200ms cubic-bezier(.22,.61,.36,1), border-color 200ms cubic-bezier(.22,.61,.36,1), color 200ms cubic-bezier(.22,.61,.36,1);
}

.th-btnround:hover { background: #2A1B33; border-color: #2A1B33; color: #F5F1E8; }

.th-btnround:focus-visible { outline: 2px solid #2A1B33; outline-offset: 3px; }

.th-btnround[disabled] { opacity: 0.3; cursor: default; }

@media (pointer: coarse) { .th-btnround { width: 44px; height: 44px; } }

/* ====================================================== CHROME: utility bar */

.thc-util {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 0.6rem clamp(1rem, 4vw, 3rem);
  background: #2A1B33;
  color: #F5F1E8;
}

.thc-util__tag {
  margin: 0;
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #D97706;
}

.thc-util__actions { display: flex; align-items: center; gap: 1.1rem; }

.thc-util__link {
  color: #F5F1E8;
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 200ms cubic-bezier(.22,.61,.36,1), color 200ms cubic-bezier(.22,.61,.36,1);
}

.thc-util__link:hover { color: #D97706; border-bottom-color: #D97706; }

.thc-util__link:focus-visible { outline: 2px solid #D97706; outline-offset: 3px; }

@media (pointer: coarse) {
  .thc-util__link { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
}

.thc-util__search {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.85rem;
  background: transparent;
  border: 1px solid #90868E;
  border-radius: 999px;
  color: #F5F1E8;
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 200ms cubic-bezier(.22,.61,.36,1), border-color 200ms cubic-bezier(.22,.61,.36,1);
}

.thc-util__search:hover { background: #D97706; border-color: #D97706; color: #1C1622; }

.thc-util__search:focus-visible { outline: 2px solid #D97706; outline-offset: 3px; }

@media (pointer: coarse) { .thc-util__search { min-height: 44px; } }

.thc-util__searchtext { line-height: 1; }

/* ========================================================= CHROME: masthead
   Left-aligned, not centred: A centres its masthead, so this one must not. */

.thc-mast {
  position: relative;
  padding: clamp(1.6rem, 4.5vw, 3.2rem) clamp(1rem, 4vw, 3rem) clamp(1.1rem, 2.6vw, 1.6rem);
  overflow: hidden;
}

.thc-mast__brand {
  position: relative;
  z-index: 2;
  display: block;
  text-decoration: none;
  color: #1C1622;
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-variation-settings: "wdth" 88;
  font-weight: 800;
  font-size: clamp(2.1rem, 7.6vw, 5.4rem);
  line-height: 0.9;
  letter-spacing: -0.045em;
  text-transform: uppercase;
}

.thc-mast__brand:focus-visible { outline: 2px solid #D97706; outline-offset: 6px; }

.thc-mast__word { color: #1C1622; }

.thc-mast__word--two { color: #A45C0E; margin-left: 0.12em; }

/* A shape, used structurally: the arc sits behind the wordmark and is cropped by
   the masthead's own overflow, so it reads as a form rather than an ornament. */
.thc-mast__arc {
  position: absolute;
  z-index: 1;
  right: clamp(-5rem, -3vw, -1.5rem);
  top: -40%;
  width: clamp(11rem, 26vw, 22rem);
  aspect-ratio: 1;
  border-radius: 50%;
  background: #E6DFD2;
  pointer-events: none;
}

/* ============================================== CHROME: category chip rail */

.thc-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem clamp(1rem, 4vw, 3rem);
  background: #F5F1E8;
  border-top: 1px solid #E6DFD2;
  border-bottom: 1px solid #E6DFD2;
}

.thc-nav[data-stuck="true"] { box-shadow: 0 8px 22px rgba(28, 22, 34, 0.09); }

.thc-nav__toggle {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.95rem;
  font-size: 0.9375rem;
  background: #2A1B33;
  border: 1px solid #2A1B33;
  border-radius: 999px;
  color: #F5F1E8;
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 200ms cubic-bezier(.22,.61,.36,1), color 200ms cubic-bezier(.22,.61,.36,1);
}

.thc-nav__toggle:hover { background: #D97706; border-color: #D97706; color: #1C1622; }

.thc-nav__toggle:focus-visible { outline: 2px solid #2A1B33; outline-offset: 2px; }

.thc-nav__toggle[aria-expanded="true"] { background: #D97706; border-color: #D97706; color: #1C1622; }

@media (pointer: coarse) { .thc-nav__toggle { min-height: 44px; } }

.thc-nav__toggleicon { font-size: 1rem; }

.thc-nav__togglelabel { font-size: 0.8125rem; line-height: 1; }

.thc-chips {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  padding: 0.15rem 0;
  list-style: none;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-snap-type: x proximity;
  overscroll-behavior-x: contain;
}

.thc-chips::-webkit-scrollbar { display: none; }

.thc-chips:focus-visible { outline: 2px solid #2A1B33; outline-offset: 2px; border-radius: 999px; }

.thc-chips__item { flex: 0 0 auto; scroll-snap-align: start; }

.thc-chips__link {
  display: inline-flex;
  align-items: center;
  padding: 0.42rem 0.85rem;
  border: 1px solid #E6DFD2;
  border-radius: 999px;
  color: #1C1622;
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 200ms cubic-bezier(.22,.61,.36,1), border-color 200ms cubic-bezier(.22,.61,.36,1), color 200ms cubic-bezier(.22,.61,.36,1);
}

.thc-chips__link:hover { background: #2A1B33; border-color: #2A1B33; color: #F5F1E8; }

.thc-chips__link:focus-visible { outline: 2px solid #2A1B33; outline-offset: 2px; }

@media (pointer: coarse) { .thc-chips__link { min-height: 44px; } }

.thc-nav__arrows {
  flex: 0 0 auto;
  display: flex;
  gap: 0.3rem;
  align-items: center;
}

.thc-nav__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  font-size: 0.875rem;
  background: transparent;
  border: 1px solid #8F8A8B;
  border-radius: 50%;
  color: #1C1622;
  cursor: pointer;
  transition: background-color 200ms cubic-bezier(.22,.61,.36,1), border-color 200ms cubic-bezier(.22,.61,.36,1), color 200ms cubic-bezier(.22,.61,.36,1);
}

.thc-nav__arrow:hover { background: #2A1B33; border-color: #2A1B33; color: #F5F1E8; }

.thc-nav__arrow:focus-visible { outline: 2px solid #2A1B33; outline-offset: 2px; }

.thc-nav__arrow[disabled] { opacity: 0.3; cursor: default; }

@media (pointer: coarse) { .thc-nav__arrow { width: 44px; height: 44px; } }

/* ================================================== CHROME: mega menu */

/* ⚠ The panel used to sit in normal flow, so opening it PUSHED THE HERO DOWN. It is now
   an absolute overlay hung off the sticky nav (which is a positioned ancestor), with a
   real shadow so it reads as a menu floating over the page rather than a new band. */
.thc-mega {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 41;
  max-height: min(78vh, 40rem);
  overflow-y: auto;
  overscroll-behavior: contain;
  background: #2A1B33;
  color: #F5F1E8;
  box-shadow: 0 26px 50px -12px rgba(28, 22, 34, 0.55), 0 2px 0 #D97706;
  /* THE SLIDE-DOWN REVEAL, closed state. The panel is clipped to nothing from its own
     bottom edge, so opening it wipes downward out of the nav bar rather than fading in
     on the spot. clip-path and opacity only: neither costs a layout pass.
     The base rule is the CLOSED state and therefore carries the EXIT durations, because a
     transition runs with the timing declared on the state it is heading TO. Entering uses
     the longer set on [data-open="true"] below. Exits at ~65% of the entrance. → kit 08 §1

     ⚠ CLIP-PATH CLIPS THE ELEMENT'S OWN BOX-SHADOW, so a flat inset(0 0 0 0) at the open
     end would delete the drop shadow that makes this read as an overlay rather than a new
     band. The side and bottom insets are therefore NEGATIVE, which expands the clip region
     past the border box far enough to hold the shadow: it reaches 64px below (26 offset +
     50 blur - 12 spread) and 38px to each side. The top inset stays 0 so nothing shows
     above the nav bar the panel slides out of. Both keyframes need the same four
     components or the value cannot interpolate. */
  clip-path: inset(0 -48px 100% -48px);
  opacity: 0;
  transition: clip-path 190ms cubic-bezier(.4,0,1,1), opacity 140ms cubic-bezier(.4,0,1,1);
}

.thc-mega[data-open="true"] {
  clip-path: inset(0 -48px -72px -48px);
  opacity: 1;
  transition: clip-path 300ms cubic-bezier(.22,.61,.36,1), opacity 200ms cubic-bezier(.22,.61,.36,1);
}

/* An author `display` rule beats the UA's `[hidden]{display:none}`, so the pair
   must be restated or the panel can never close. → kit 03 §7a */
.thc-mega[hidden] { display: none; }

/* The contents ride down slightly behind the wipe, which is what stops the reveal reading
   as a blind being dropped. Its own state attribute, not a descendant selector off the
   panel: build-etch.mjs hoists each selector into its own style entry and silently drops
   descendants. → kit 01 §3 */
.thc-mega__inner {
  max-width: 84rem;
  margin-inline: auto;
  padding: clamp(1.5rem, 3.6vw, 2.6rem) clamp(1rem, 4vw, 3rem);
  transform: translateY(-1.1rem);
  transition: transform 190ms cubic-bezier(.4,0,1,1);
}

.thc-mega__inner[data-open="true"] {
  transform: none;
  transition: transform 340ms cubic-bezier(.22,.61,.36,1);
}

/* Four category groups in a 2x2, with the print edition and the informational links in
   their own column to the right. The groups were a single row of four; the client asked
   for the 2x2 so the panel reads as two blocks rather than one long shelf. */
.thc-mega__cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.2rem, 3vw, 2.2rem);
}

@media (width >= 40rem) { .thc-mega__cols { grid-template-columns: repeat(2, 1fr); } }

@media (width >= 64rem) {
  .thc-mega__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 25rem);
    gap: clamp(1.6rem, 3vw, 3rem);
    align-items: start;
  }
}

.thc-mega__col { min-width: 0; }

.thc-mega__grouptitle {
  margin: 0 0 0.8rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #90868E;
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #D97706;
}

.thc-mega__list { margin: 0; padding: 0; list-style: none; }

.thc-mega__item { margin: 0; }

.thc-mega__link {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.7rem;
  padding: 0.4rem 0;
  color: #F5F1E8;
  text-decoration: none;
  transition: color 180ms cubic-bezier(.22,.61,.36,1);
}

.thc-mega__link:hover { color: #D97706; }

.thc-mega__link:focus-visible { outline: 2px solid #D97706; outline-offset: 2px; }

@media (pointer: coarse) { .thc-mega__link { min-height: 44px; align-items: center; } }

.thc-mega__name {
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.012em;
}

.thc-mega__count { font-size: 0.75rem; color: #90868E; }

/* ------------------------------------------------------- the print edition block
   The magazine is published in print as well, so the menu carries the current issue and
   the subscribe path beside the sections, rather than burying them in the footer. */

/* Stacked under the category groups on narrow screens, a real column beside them from
   64rem. The separating rule moves with it: a top border while it sits below, a left
   border once it sits alongside. */
.thc-mega__side {
  margin-top: clamp(1.4rem, 3vw, 2.2rem);
  padding-top: clamp(1.2rem, 2.6vw, 1.8rem);
  border-top: 1px solid #4A3B54;
}

@media (width >= 64rem) {
  .thc-mega__side {
    margin-top: 0;
    padding-top: 0;
    padding-left: clamp(1.4rem, 2.4vw, 2.2rem);
    border-top: 0;
    border-left: 1px solid #4A3B54;
  }
}

.thc-mega__issue {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1rem, 2.4vw, 1.6rem);
}

@media (width >= 46rem) {
  .thc-mega__issue { grid-template-columns: minmax(0, 16rem) minmax(0, 1fr); align-items: start; }
}

/* In the narrower right-hand column the cover becomes a thumbnail beside its links, so the
   type drawn over it has to come down with it or the wordmark wraps to two lines and the
   cover line to three. Both are sized for the thumbnail here rather than in the base rule,
   which still serves the wide stacked layout below 64rem. */
@media (width >= 64rem) {
  .thc-mega__issue { grid-template-columns: minmax(0, 12rem) minmax(0, 1fr); gap: 1.2rem; }
}

@media (width >= 64rem) {
  .thc-mega__issueline { font-size: 0.6875rem; letter-spacing: 0.03em; }
}

/* Capped, because below 46rem the block is a single column and an uncapped cover fills the
   panel width: at 375 that is a 343px wide, 440px tall magazine cover inside a nav menu. */
.thc-mega__issuecover {
  display: block;
  max-width: 13rem;
  text-decoration: none;
  transition: transform 260ms cubic-bezier(.22,.61,.36,1);
}

.thc-mega__issuecover:hover { transform: translateY(-3px); }

.thc-mega__issuecover:focus-visible { outline: 2px solid #D97706; outline-offset: 3px; }

/* The cover's OWN ratio, so a printed cover is never cropped. It was 3/4 with a 72%
   opacity wash, both of which existed only to let drawn type read over a stand-in
   photograph. A real cover gets shown whole and at full strength. */
.thc-mega__issueimg {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 866 / 1110;
  border-radius: 2px;
  background: #3A2A44;
}

/* The issue line, transcribed from the cover artwork itself. It sits BELOW the cover now
   rather than over it: the printed cover already carries a masthead and a cover line, and
   setting ours on top of them would be both wrong and unreadable. */
.thc-mega__issueline {
  display: block;
  margin-top: 0.55rem;
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.35;
  color: #90868E;
  /* Two short lines rather than a long one and an orphaned year. */
  text-wrap: balance;
}

.thc-mega__issueside { min-width: 0; }

.thc-mega__issuelabel {
  margin: 0 0 0.7rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #4A3B54;
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #D97706;
}

.thc-mega__issuelinks { margin: 0; padding: 0; list-style: none; }

.thc-mega__issueitem { margin: 0; }

.thc-mega__issuelink {
  display: block;
  padding: 0.42rem 0;
  color: #F5F1E8;
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: color 180ms cubic-bezier(.22,.61,.36,1);
}

.thc-mega__issuelink:hover { color: #D97706; }

.thc-mega__issuelink:focus-visible { outline: 2px solid #D97706; outline-offset: 2px; }

@media (pointer: coarse) { .thc-mega__issuelink { min-height: 44px; display: flex; align-items: center; } }

/* ---------------------------------------------- the informational links, deliberately quiet
   About, Vision and Mission, Statement of Faith, Contact. The client's own instruction was
   that this group is small and not upfront, so it is set at meta size in the muted tone
   (#90868E on the slab, measured 4.59:1) and only reaches full bone on hover and focus. */

.thc-mega__about {
  margin: clamp(1.1rem, 2.4vw, 1.6rem) 0 0;
  padding: clamp(0.9rem, 2vw, 1.2rem) 0 0;
  border-top: 1px solid #4A3B54;
  list-style: none;
}

.thc-mega__aboutitem { margin: 0; }

.thc-mega__aboutlink {
  display: block;
  padding: 0.26rem 0;
  color: #90868E;
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: color 180ms cubic-bezier(.22,.61,.36,1);
}

.thc-mega__aboutlink:hover { color: #F5F1E8; }

.thc-mega__aboutlink:focus-visible { outline: 2px solid #D97706; outline-offset: 2px; }

@media (pointer: coarse) { .thc-mega__aboutlink { min-height: 44px; display: flex; align-items: center; } }

/* ------------------------------------------------------------------ bookmark
   A real control, not an icon glued to the card link: it sits BESIDE the wrapping <a>
   rather than inside it, because a <button> inside an <a> is invalid HTML and the nested
   control does not reliably get its own clicks. Saved state is `aria-pressed`, which is
   also what the Metabox-backed bookmarks store will read.

   TWO PLACEMENTS, and the difference is what the control sits on top of:
     base          floats in the corner of a listing whose top edge is an IMAGE. Nothing
                   can collide with it there, because type never reaches that corner.
     --inline      an in-flow column of the listing's own grid, for text-led rows. → below

   ⚠ The base placement must never be used over TEXT. That is what produced the overflow
   the client reported: an absolutely positioned control has no effect on the flow beneath
   it, so the copy runs underneath and stays legible only by luck of string length. */

.th-bm {
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 0;
  font-size: 0.9375rem;
  background: rgba(245, 241, 232, 0.92);
  border: 1px solid rgba(28, 22, 34, 0.14);
  border-radius: 50%;
  color: #2A1B33;
  cursor: pointer;
  transition: background-color 180ms cubic-bezier(.22,.61,.36,1), color 180ms cubic-bezier(.22,.61,.36,1), transform 180ms cubic-bezier(.22,.61,.36,1);
}

.th-bm:hover { background: #2A1B33; color: #F5F1E8; transform: scale(1.06); }

.th-bm:focus-visible { outline: 2px solid #D97706; outline-offset: 2px; }

/* Saved: the bookmark fills in, which is the whole visual difference. */
.th-bm[aria-pressed="true"] { background: #D97706; border-color: #D97706; color: #1C1622; }

@media (pointer: coarse) { .th-bm { width: 44px; height: 44px; } }

/* THE GROUPING RULE, and it is the principle for every listing from here on.
   A listing is a container with TWO groups in it: the content group and the control group.
   They are laid out by the container with a real gap, so the content occupies 100% of its
   own column and reaching the control is geometrically impossible. It also removes the
   only reason anyone had to cap the text: the column IS the measure. → kit 03 §7b */
.th-bm--inline {
  position: static;
  align-self: start;
  flex: none;
}

/* Every listing whose bookmark FLOATS needs a positioned parent. The two row types are
   not in this list any more: their control is a grid column, so it needs no positioning. */
.th-mag__feature { position: relative; }

.th-card { position: relative; }

.th-live__tall { position: relative; }

.th-live__cell { position: relative; }

.th-also__feature { position: relative; }
/* ==================================================================== MAIN */

.th-main { display: block; }

.th-main:focus-visible { outline: none; }

/* ==================================================================== HERO
   THE THRESHOLD. The slab fills the upper band via a hard-stop gradient, so the
   figure can be pushed past its edge and sit half on aubergine, half on bone.
   The figure is also pulled UP into the headline's row at a lower z-index, so the
   tail of the headline crosses over the image. Two overlaps, one composition. */

/* ⚠ A PERCENTAGE STOP CUT THE STANDFIRST IN HALF. At 66% the boundary landed straight
   through a line of type, so half of it was bone text on bone: invisible. A percentage
   depends on the section's total height, which depends on the image, which is exactly what
   makes it unpredictable.

   The overhang is now a FIXED distance instead. The aubergine covers everything except the
   bottom `--th-over`, and the only thing that reaches down there is the image, because it
   is taller than the text column beside it (and last in source order on mobile). Text can
   therefore never be cut, whatever the image does. */
.th-hero {
  --th-over: clamp(2.5rem, 6vw, 6rem);
  padding-block: clamp(1.8rem, 4.5vw, 3.4rem) var(--th-over);
  background-image: linear-gradient(
    #2A1B33 0,
    #2A1B33 calc(100% - var(--th-over)),
    #F5F1E8 calc(100% - var(--th-over))
  );
  color: #F5F1E8;
}

.th-hero__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0 clamp(1.5rem, 4vw, 3rem);
  max-width: 84rem;
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 3rem);
}

/* ⚠ The figure is TALLER than the text beside it. Spanning it across grid rows made
   those rows stretch to fit it, which spread the chip, headline, standfirst and meta
   apart with large dead gaps. The text is wrapped in its own element instead, so the
   grid is two columns and ONE row and the figure can be any height it likes. */
@media (width >= 60rem) {
  .th-hero__inner {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.92fr);
    align-items: start;
  }
}

.th-hero__body { min-width: 0; }

.th-hero__chip {
  margin: 0 0 clamp(0.9rem, 2.2vw, 1.3rem);
  background: #D97706;
  color: #1C1622;
}

/* `ch` on the heading itself, which is the Bricolage face, never on a container
   inheriting the serif. → the skill's quality floor */
.th-hero__title {
  position: relative;
  z-index: 3;
  margin: 0 0 0.5rem;
  max-width: 21ch;
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-variation-settings: "wdth" 92;
  font-weight: 800;
  font-size: clamp(2.2rem, 6.4vw, 5.4rem);
  line-height: 0.96;
  letter-spacing: -0.038em;
  text-wrap: balance;
}

@media (width >= 60rem) { .th-hero__title { max-width: 24ch; } }

.th-hero__alt {
  position: relative;
  z-index: 3;
  margin: 0 0 clamp(1.1rem, 2.6vw, 1.6rem);
  font-family: "Source Serif 4", Georgia, serif;
  font-style: italic;
  font-size: clamp(1.0625rem, 1.9vw, 1.5rem);
  line-height: 1.25;
  color: #D97706;
}

/* No negative margins. The figure stays inside its grid cell; the crossing comes from
   the section's background stop ending partway down it. */
.th-hero__figure {
  position: relative;
  z-index: 1;
  margin: clamp(1rem, 2.5vw, 1.5rem) 0 0;
}

@media (width >= 60rem) {
  .th-hero__figure { margin-top: 0; margin-bottom: 0; }
}

.th-hero__img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: 50% 40%;
  border-radius: 2px;
  background: #3A2A44;
}

/* Capped so a tall portrait can never make the hero absurd on a short wide screen. */
@media (width >= 60rem) {
  .th-hero__img { aspect-ratio: 4 / 5; max-height: 36rem; }
}

.th-hero__stand {
  position: relative;
  z-index: 3;
  margin: 0 0 1.1rem;
  font-size: clamp(1.0625rem, 1.4vw, 1.25rem);
  line-height: 1.55;
  color: #F5F1E8;
}

.th-hero__meta {
  display: block;
  line-height: 1.85;
  position: relative;
  z-index: 3;
  margin: 0;
  padding: 0;
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-size: 0.8125rem;
  color: #90868E;
}

/* ================================================================= AD SLOTS
   Labelled, never animated, no chip and no numbering. Sits on the warm rule
   ground so it reads as a distinct slot. → HANDOFF §6c */

.th-ad {
  max-width: 84rem;
  margin-inline: auto;
  padding: clamp(1.4rem, 3.4vw, 2.4rem) clamp(1rem, 4vw, 3rem);
}

.th-ad__label {
  margin: 0 0 0.75rem;
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #716B6F;
  text-align: center;
}

.th-ad__unit {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1rem, 2.6vw, 2rem);
  align-items: center;
  padding: clamp(1.1rem, 2.6vw, 1.8rem);
  background: #E6DFD2;
  border-radius: 3px;
}

@media (width >= 44rem) { .th-ad__unit { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); } }

.th-ad__img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 2px;
  background: #D8D0C2;
}

.th-ad__copy { min-width: 0; }

.th-ad__kicker {
  margin: 0 0 0.4rem;
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #A45C0E;
}

.th-ad__head {
  margin: 0 0 0.5rem;
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-variation-settings: "wdth" 96;
  font-weight: 700;
  font-size: clamp(1.3rem, 2.2vw, 1.85rem);
  line-height: 1.06;
  letter-spacing: -0.022em;
  color: #1C1622;
}

.th-ad__sub {
  margin: 0 0 1rem;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: #4A4148;
}

.th-ad__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1.05rem;
  background: #2A1B33;
  border-radius: 999px;
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-size: 0.8125rem;
  font-weight: 700;
  color: #F5F1E8;
}

.th-ad--leader { padding-bottom: clamp(2rem, 4.5vw, 3rem); }

.th-ad__unit--leader {
  grid-template-columns: 1fr;
  justify-items: start;
}

@media (width >= 54rem) {
  .th-ad__unit--leader {
    grid-template-columns: minmax(0, 0.55fr) minmax(0, 1fr) auto;
    grid-template-areas: "img copy cta";
    align-items: center;
    column-gap: clamp(1.4rem, 3.5vw, 2.6rem);
  }
}

@media (width >= 54rem) { .th-ad__img--leader { grid-area: img; } }

@media (width >= 54rem) { .th-ad__copy--leader { grid-area: copy; } }

@media (width >= 54rem) { .th-ad__cta--leader { grid-area: cta; white-space: nowrap; } }

.th-ad__img--leader { aspect-ratio: 16 / 9; }

.th-ad__head--leader { font-size: clamp(1.2rem, 1.9vw, 1.6rem); margin-bottom: 0.3rem; }

.th-ad__sub--leader { margin-bottom: 0; font-size: 0.875rem; }

/* ====================================================================== CARD */

/* ⚠ THE LIFT BELONGS TO THE CARD, NOT TO THE LINK. The bookmark is a SIBLING of the
   anchor (it has to be: a <button> inside an <a> is invalid), and it is layered above it.
   So with the hover on the anchor, moving the pointer onto the bookmark took the anchor
   out of :hover and the card dropped back down, then lifted again on the way out. The
   client reported it as jarring and it was.
   The container is an ancestor of BOTH, so hovering either keeps the card up. The shadow
   travels with it and the radius comes along so the shadow does not draw square corners
   around a rounded card. */
.th-card {
  height: 100%;
  border-radius: 3px;
  box-shadow: 0 1px 0 #E6DFD2;
  transition: transform 260ms cubic-bezier(.22,.61,.36,1), box-shadow 260ms cubic-bezier(.22,.61,.36,1);
}

.th-card:hover { transform: translateY(-5px); box-shadow: 0 14px 30px rgba(28, 22, 34, 0.13); }

.th-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 0.85rem;
  background: #F5F1E8;
  border-radius: 3px;
  color: #1C1622;
  text-decoration: none;
}

.th-card__link:focus-visible { outline: 2px solid #D97706; outline-offset: 3px; }

.th-card__img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 2px;
  margin-bottom: 0.8rem;
  background: #E6DFD2;
}

.th-card__chip {
  align-self: flex-start;
  margin-bottom: 0.55rem;
  background: #E6DFD2;
  color: #3A2A44;
}

.th-card__title {
  margin: 0 0 0.45rem;
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-variation-settings: "wdth" 96;
  font-weight: 700;
  font-size: 1.1875rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.th-card__stand {
  display: -webkit-box;
  margin: 0 0 0.8rem;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: #716B6F;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.th-card__meta {
  display: block;
  line-height: 1.85;
  margin-top: auto;
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-size: 0.75rem;
  color: #716B6F;
}

/* ================================================================== THE BANDS
   The home page is grouped by the four meta-categories from the mega menu: The Magazine,
   Thinking, Living, And Also. That is the client's own structure, and it is what turns each
   band into an Etch component with a "which categories" prop instead of a hand-built
   section that has to be rebuilt every issue.

   Each band gets its OWN skeleton, so no two adjacent bands read the same:
     magazine  mosaic: big feature + saffron editorial block + two list rows
     thinking  aligned horizontal scroller, every card crossing an aubergine slab edge
     living    tall portrait feature + a two-by-two of compact cards
     also      the only inverted band, everything on aubergine
   ========================================================================== */

.th-band {
  position: relative;
  max-width: 84rem;
  margin-inline: auto;
  padding: clamp(2.2rem, 5vw, 3.6rem) 0 clamp(1.8rem, 4vw, 2.8rem);
}

.th-band--magazine { padding-top: clamp(2.6rem, 6vw, 4.4rem); }

.th-band--living { padding-top: clamp(2.2rem, 5vw, 3.6rem); }

/* The extra bottom padding here existed to clear the cards that were dropped by the old
   alternating stagger. With every card ending on one line it is just dead space, so it
   comes back down to the band default. The TOP padding moves onto the head, because the
   head now paints the aubergine and the padding has to be inside it. */
.th-band--thinking { padding-top: 0; padding-bottom: clamp(1.4rem, 3vw, 2.2rem); }

.th-band--also {
  margin-block: clamp(1.8rem, 4vw, 2.8rem);
  padding-inline: clamp(1.2rem, 4vw, 3rem);
  background: #2A1B33;
  color: #F5F1E8;
  border-radius: 3px;
}

/* ⚠ THE SLAB USED TO GUESS AT THE HEAD'S HEIGHT and it was wrong at every narrow width.
   It was `inset: 0 0 auto 0; height: clamp(10rem, 24vw, 17rem)`, a fixed height covering a
   head that GROWS as its three items wrap: measured 85px tall at 1440 and 187px at 375,
   against a slab whose clamp bottoms out at 160px. So from about 520px down the scroller
   arrows hung 19px to 63px BELOW the aubergine, on the bone, in their on-dark colours.
   Same family as the hero's percentage-stop bug: a value that depends on something
   unpredictable. → §6f-i

   Now the HEAD paints its own background, so it covers itself at any wrapped height, and
   the slab is only the FIXED strip hanging below it that the cards cross. Nothing has to
   predict anything. */
.th-band__head--onslab {
  --th-slabover: clamp(2.5rem, 9vw, 8.5rem);
  padding-top: clamp(2.2rem, 5vw, 3.6rem);
  background: #2A1B33;
}

.th-band__slab {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: var(--th-slabover);
  background: #2A1B33;
  pointer-events: none;
}

.th-band__head {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.8rem 1.5rem;
  padding-inline: clamp(1rem, 4vw, 3rem);
  margin-bottom: clamp(1.3rem, 3vw, 2.2rem);
}

.th-band__head--flush { padding-inline: 0; }

.th-band__headtext { min-width: 0; }

.th-band__title {
  margin: 0 0 0.3rem;
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-variation-settings: "wdth" 86;
  font-weight: 800;
  font-size: clamp(1.9rem, 4.6vw, 3.6rem);
  line-height: 0.94;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.th-band__title--ondark { color: #F5F1E8; }

.th-band__blurb { margin: 0; max-width: 44ch; font-size: 1rem; color: #716B6F; }

.th-band__blurb--ondark { color: #90868E; }



/* The category list is the visible contract: it says which sections this band draws on,
   which is exactly what the component prop will control. */
.th-band__cats {
  margin: 0;
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #A45C0E;
}

.th-band__cats--ondark { color: #D97706; }



.th-band__ctrls { display: flex; gap: 0.5rem; flex: 0 0 auto; }

/* Hidden when the rail is not actually scrollable, which is the whole point: arrows on a
   grid that does not move are noise. JS sets data-scrollable. */
.th-band__ctrls[data-scrollable="false"] { display: none; }

.th-btnround--ondark { border-color: #90868E; color: #F5F1E8; }

.th-btnround--ondark:hover { background: #D97706; border-color: #D97706; color: #1C1622; }

/* ---------------------------------------------------- BAND 1: THE MAGAZINE mosaic */

.th-mag {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.5rem, 3.4vw, 2.4rem);
  padding-inline: clamp(1rem, 4vw, 3rem);
}

@media (width >= 56rem) {
  .th-mag {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    grid-template-areas: "feature ed" "feature list";
    column-gap: clamp(1.8rem, 4vw, 3rem);
    row-gap: clamp(1.2rem, 2.6vw, 1.8rem);
    align-items: start;
  }
}

@media (width >= 56rem) { .th-mag__feature { grid-area: feature; } }

@media (width >= 56rem) { .th-mag__ed { grid-area: ed; } }

@media (width >= 56rem) { .th-mag__list { grid-area: list; } }

/* ⚠⚠ THIS CONTAINER IS ALSO A REVEAL TARGET, and the reveal owns `transform` on it.
   `.th-reveal[data-in="true"]{transform:none}` is specificity (0,2,0) and sits later in
   the file, so a plain `.X:hover{transform:...}` at (0,2,0) LOSES and the card simply
   never lifts. Nothing errors and the rule looks perfectly correct in the stylesheet.
   The reveal also declares a 620ms transition, which would drag a 260ms micro-interaction
   out to entrance speed.
   So the hover is written as a compound that BEATS the reveal, and the faster transition
   is hung on [data-settled], which the reveal script sets only once the entrance has
   finished, so the entrance itself still runs at its own 620ms. */
.th-mag__feature { min-width: 0; }

.th-mag__feature[data-settled="true"] { transition: transform 260ms cubic-bezier(.22,.61,.36,1); }

.th-mag__feature[data-in="true"]:hover { transform: translateY(-4px); }

.th-mag__featurelink {
  display: block;
  color: #1C1622;
  text-decoration: none;
}

.th-mag__featurelink:focus-visible { outline: 2px solid #2A1B33; outline-offset: 5px; }

.th-mag__featureimg {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 3px;
  margin-bottom: 1rem;
  background: #E6DFD2;
}

.th-mag__chip { display: inline-block; margin-bottom: 0.6rem; background: #2A1B33; color: #F5F1E8; }

.th-mag__featuretitle {
  margin: 0 0 0.6rem;
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-variation-settings: "wdth" 92;
  font-weight: 700;
  font-size: clamp(1.7rem, 3.3vw, 2.8rem);
  line-height: 1;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.th-mag__featurestand { margin: 0 0 0.8rem; font-size: 1rem; line-height: 1.55; }

.th-mag__featuremeta {
  display: block;
  line-height: 1.85;
  margin: 0;
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-size: 0.8125rem;
  color: #716B6F;
}

/* The Editorial: the accent as a BLOCK, which is the palette rule. Ink on saffron is
   5.55:1. It carries an image now, because a text-only panel beside four illustrated
   items read as an omission. */
.th-mag__ed { min-width: 0; }

.th-mag__edlink {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
  align-items: stretch;
  overflow: hidden;
  background: #D97706;
  border-radius: 3px;
  color: #1C1622;
  text-decoration: none;
  transition: transform 260ms cubic-bezier(.22,.61,.36,1);
}

.th-mag__edlink:hover { transform: translateY(-4px); }

.th-mag__edlink:focus-visible { outline: 2px solid #1C1622; outline-offset: 4px; }

.th-mag__edimg {
  width: 100%;
  height: 100%;
  min-height: 11rem;
  object-fit: cover;
  background: #C06A05;
}

.th-mag__edbody {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.4rem;
  padding: clamp(1rem, 2.4vw, 1.5rem);
}

.th-mag__edchip {
  display: inline-block;
  padding: 0.28em 0.75em;
  border-radius: 999px;
  background: #1C1622;
  color: #F5F1E8;
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1.5;
}

.th-mag__edtitle {
  display: block;
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-variation-settings: "wdth" 90;
  font-weight: 800;
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
}

.th-mag__edbyline {
  display: block;
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  color: #3A2408;
}

.th-mag__edcta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: auto;
  padding-top: 0.6rem;
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-size: 0.8125rem;
  font-weight: 700;
}

.th-mag__list { margin: 0; padding: 0; list-style: none; min-width: 0; }

/* The row owns the layout AND the hover, not the link. Both matter:
   the two-column grid is what stops the title running under the bookmark, and moving the
   hover onto the container is what stops the row dropping its hover state the moment the
   pointer crosses onto the bookmark, which read as a flicker.
   The indent is padding on the CONTAINER rather than on the link, so the row's top border
   stays put while its contents slide. */
.th-mag__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: start;
  padding-block: 0.85rem;
  border-top: 1px solid #E6DFD2;
  transition: padding-left 220ms cubic-bezier(.22,.61,.36,1);
}

.th-mag__row:hover { padding-left: 0.35rem; }

.th-mag__rowlink {
  display: block;
  min-width: 0;
  color: #1C1622;
  text-decoration: none;
}

.th-mag__rowlink:focus-visible { outline: 2px solid #2A1B33; outline-offset: 3px; }

.th-mag__rowchip {
  display: inline-block;
  margin-bottom: 0.4rem;
  padding: 0.24em 0.7em;
  border-radius: 999px;
  background: #E6DFD2;
  color: #3A2A44;
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.th-mag__rowtitle {
  display: block;
  margin-bottom: 0.3rem;
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-variation-settings: "wdth" 96;
  font-size: 1.1875rem;
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -0.02em;
}

.th-mag__rowstand {
  display: -webkit-box;
  margin-bottom: 0.35rem;
  font-size: 0.875rem;
  line-height: 1.5;
  color: #716B6F;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.th-mag__rowmeta {
  display: block;
  line-height: 1.85;
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-size: 0.75rem;
  color: #716B6F;
}

/* ------------------------------------------------ BAND 2: THINKING scroller */

.th-think__track {
  position: relative;
  z-index: 2;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(15rem, 19rem);
  gap: clamp(1rem, 2.4vw, 1.7rem);
  /* `stretch`, not `start`. With .th-card{height:100%} and the meta row's margin-top:auto
     this puts every card top AND every card bottom on one line, which is the symmetry the
     client asked for. `start` let each card end wherever its own copy ran out. */
  align-items: stretch;
  margin: 0;
  padding: 0 clamp(1rem, 4vw, 3rem) 1rem;
  list-style: none;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  scroll-padding-inline-start: clamp(1rem, 4vw, 3rem);
  /* No visible scrollbar: it cuts across the cards where they overhang the slab and looks
     like a fault. The arrows and the wheel translation are the affordance instead. */
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.th-think__track::-webkit-scrollbar { display: none; }

.th-think__track:focus-visible { outline: 2px solid #D97706; outline-offset: 2px; }

@media (width >= 80rem) {
  .th-think__track {
    grid-auto-flow: row;
    grid-template-columns: repeat(5, 1fr);
    grid-auto-columns: auto;
    overflow-x: visible;
    scroll-snap-type: none;
    max-width: 84rem;
    margin-inline: auto;
  }
}

.th-think__cell { scroll-snap-align: start; min-width: 0; }

/* -------------------------------------------------- BAND 3: LIVING composition */

.th-live {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.5rem, 3.4vw, 2.4rem);
  padding-inline: clamp(1rem, 4vw, 3rem);
}

@media (width >= 58rem) {
  .th-live {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.25fr);
    align-items: start;
    column-gap: clamp(1.8rem, 4vw, 3rem);
  }
}

/* Reveal target, so the hover must out-specify the reveal. → .th-mag__feature above */
.th-live__tall { min-width: 0; }

.th-live__tall[data-settled="true"] { transition: transform 260ms cubic-bezier(.22,.61,.36,1); }

.th-live__tall[data-in="true"]:hover { transform: translateY(-4px); }

.th-live__talllink {
  display: block;
  color: #1C1622;
  text-decoration: none;
}

.th-live__talllink:focus-visible { outline: 2px solid #2A1B33; outline-offset: 5px; }

.th-live__tallimg {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 3px;
  margin-bottom: 1rem;
  background: #E6DFD2;
}

.th-live__tallchip { display: inline-block; margin-bottom: 0.55rem; background: #2A1B33; color: #F5F1E8; }

.th-live__talltitle {
  margin: 0 0 0.55rem;
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-variation-settings: "wdth" 92;
  font-weight: 700;
  font-size: clamp(1.5rem, 2.7vw, 2.2rem);
  line-height: 1.02;
  letter-spacing: -0.026em;
  text-wrap: balance;
}

.th-live__tallstand { margin: 0 0 0.75rem; font-size: 0.9375rem; line-height: 1.55; color: #4A4148; }

.th-live__tallmeta {
  display: block;
  line-height: 1.85;
  margin: 0;
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-size: 0.8125rem;
  color: #716B6F;
}

.th-live__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2.4vw, 1.6rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Reveal target, so the hover must out-specify the reveal. → .th-mag__feature above */
.th-live__cell { min-width: 0; }

.th-live__cell[data-settled="true"] { transition: transform 240ms cubic-bezier(.22,.61,.36,1); }

.th-live__cell[data-in="true"]:hover { transform: translateY(-4px); }

.th-live__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: #1C1622;
  text-decoration: none;
}

.th-live__link:focus-visible { outline: 2px solid #2A1B33; outline-offset: 4px; }

.th-live__img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 3px;
  margin-bottom: 0.7rem;
  background: #E6DFD2;
}

.th-live__chip { align-self: flex-start; margin-bottom: 0.45rem; background: #E6DFD2; color: #3A2A44; }

.th-live__title {
  margin: 0 0 0.5rem;
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-variation-settings: "wdth" 96;
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -0.018em;
}

.th-live__meta {
  display: block;
  line-height: 1.85;
  margin: auto 0 0;
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-size: 0.75rem;
  color: #716B6F;
}

/* ---------------------------------------------- BAND 4: AND ALSO, inverted ground */

.th-also {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.5rem, 3.4vw, 2.4rem);
}

@media (width >= 58rem) {
  .th-also {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    column-gap: clamp(1.8rem, 4vw, 3rem);
    align-items: stretch;
  }
}

/* Reveal target, so the hover must out-specify the reveal. → .th-mag__feature above */
.th-also__feature { min-width: 0; }

.th-also__feature[data-settled="true"] { transition: transform 260ms cubic-bezier(.22,.61,.36,1); }

.th-also__feature[data-in="true"]:hover { transform: translateY(-4px); }

.th-also__featurelink {
  display: block;
  color: #F5F1E8;
  text-decoration: none;
}

.th-also__featurelink:focus-visible { outline: 2px solid #D97706; outline-offset: 5px; }

.th-also__featureimg {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 3px;
  margin-bottom: 1rem;
  background: #3A2A44;
}

.th-also__chip { display: inline-block; margin-bottom: 0.6rem; background: #D97706; color: #1C1622; }

.th-also__featuretitle {
  margin: 0 0 0.6rem;
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-variation-settings: "wdth" 92;
  font-weight: 700;
  font-size: clamp(1.5rem, 2.8vw, 2.3rem);
  line-height: 1.02;
  letter-spacing: -0.028em;
  text-wrap: balance;
}

.th-also__featurestand { margin: 0 0 0.8rem; font-size: 1.0625rem; line-height: 1.6; color: #D8D2DB; }

.th-also__featuremeta {
  display: block;
  line-height: 1.85;
  margin: 0;
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-size: 0.8125rem;
  color: #90868E;
}

/* The rows distribute down the full height of the feature beside them, so the column
   does not simply stop halfway and leave a hole. In the real build this is a loop and the
   row count is a component setting, but the layout has to look right at the count shown
   rather than relying on more content arriving to fill it. */
.th-also__list {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin: 0;
  padding: 0;
  list-style: none;
  min-width: 0;
}

.th-also__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  padding-block: 0.85rem;
  border-top: 1px solid #4A3B54;
  transition: padding-left 220ms cubic-bezier(.22,.61,.36,1);
}

.th-also__row:hover { padding-left: 0.35rem; }

.th-also__rowlink {
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1fr);
  gap: 0.9rem;
  align-items: center;
  min-width: 0;
  color: #F5F1E8;
  text-decoration: none;
}

.th-also__rowlink:focus-visible { outline: 2px solid #D97706; outline-offset: 3px; }

.th-also__rowimg {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 999px;
  background: #3A2A44;
}

.th-also__rowbody { display: block; min-width: 0; }

.th-also__rowchip {
  display: inline-block;
  margin-bottom: 0.35rem;
  padding: 0.22em 0.65em;
  border-radius: 999px;
  background: #3A2A44;
  color: #D8D2DB;
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-size: 0.5625rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.th-also__rowtitle {
  display: block;
  margin-bottom: 0.3rem;
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-variation-settings: "wdth" 96;
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -0.018em;
}

.th-also__rowmeta {
  display: block;
  line-height: 1.85;
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-size: 0.75rem;
  color: #90868E;
}

/* One shared class for every icon-plus-value pair, so meta rows never drift apart. */
/* One shared pair: the icon hugs its own value, and the value pushes the NEXT icon
   away. Inline margins rather than a flex gap, because a single flex gap cannot tell the
   difference between "icon to its text" and "one pair to the next". */
.th-ico--meta { margin-right: 0.34em; }

.th-m__t { margin-right: 1.15em; font-variant-numeric: tabular-nums; }

/* ================================================================= SUBSCRIBE */

.th-sub {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.8rem, 4vw, 3rem);
  max-width: 84rem;
  margin-inline: auto;
  margin-block: clamp(1.8rem, 4vw, 2.8rem);
  padding: clamp(2rem, 5vw, 3.6rem) clamp(1.2rem, 4vw, 3rem);
  background: #2A1B33;
  color: #F5F1E8;
  border-radius: 3px;
  overflow: hidden;
}

@media (width >= 58rem) { .th-sub { grid-template-columns: 1.4fr 1fr; align-items: center; } }

.th-sub__arc {
  position: absolute;
  z-index: 1;
  left: -10%;
  bottom: -70%;
  width: clamp(18rem, 44vw, 38rem);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid #6E5A7D;
  pointer-events: none;
}

.th-sub__body { position: relative; z-index: 2; min-width: 0; }

.th-sub__title {
  margin: 0 0 0.7rem;
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-variation-settings: "wdth" 90;
  font-weight: 800;
  font-size: clamp(1.8rem, 3.8vw, 3rem);
  line-height: 0.98;
  letter-spacing: -0.032em;
  text-wrap: balance;
}

.th-sub__copy { margin: 0 0 1.4rem; font-size: 1rem; line-height: 1.6; color: #90868E; }

.th-sub__form { margin: 0; }

.th-sub__label {
  display: block;
  margin-bottom: 0.45rem;
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #D97706;
}

.th-sub__row { display: flex; flex-wrap: wrap; gap: 0.6rem; }

/* 16px minimum or iOS zooms the page on focus. */
.th-sub__input {
  flex: 1 1 14rem;
  min-width: 0;
  padding: 0.75rem 1rem;
  background: #F5F1E8;
  border: 1px solid #F5F1E8;
  border-radius: 999px;
  color: #1C1622;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: max(1rem, 0.9375rem);
  line-height: 1.4;
}

.th-sub__input:focus-visible { outline: 2px solid #D97706; outline-offset: 2px; }

.th-sub__btn {
  flex: 0 0 auto;
  padding: 0.75rem 1.4rem;
  background: #D97706;
  border: 1px solid #D97706;
  border-radius: 999px;
  color: #1C1622;
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 200ms cubic-bezier(.22,.61,.36,1), background-color 200ms cubic-bezier(.22,.61,.36,1);
}

.th-sub__btn:hover { transform: translateY(-2px); background: #F0A22C; }

.th-sub__btn:focus-visible { outline: 2px solid #F5F1E8; outline-offset: 3px; }

@media (pointer: coarse) { .th-sub__btn { min-height: 44px; } }

.th-sub__small { margin: 0.85rem 0 0; font-size: 0.8125rem; color: #90868E; }

/* ⚠ A THREE-TRACK GRID THAT HELD NUMERALS WILL NOT HOLD WORDS. "Evangelical" is
   eleven characters and cannot break, so where "409" sat comfortably in a third of a
   narrow column the word simply overflowed its box. Measured, not estimated: one
   column below the breakpoint, three above, and the display size solved so the
   longest lead fits the narrowest track it is ever given. */
.th-sub__facts {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(0.9rem, 2.2vw, 1.6rem);
  margin: 0;
  padding: 0;
  list-style: none;
}
@media (width >= 30rem) {
  .th-sub__facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.th-sub__fact { padding-top: 0.7rem; border-top: 1px solid #6E5A7D; }

  /* The lead is a WORD now, not a numeral, so the display scale comes down and the
     grid holds three qualities rather than four counts. → HANDOFF §8.33 */
.th-sub__factlead {
  text-wrap: balance;
  display: block;
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-variation-settings: "wdth" 88;
  font-size: clamp(1.05rem, 1.8vw, 1.4rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.034em;
  color: #D97706;
}

.th-sub__factlabel {
  display: block;
  margin-top: 0.25rem;
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #90868E;
}

/* ==================================================================== FOOTER */

.thc-foot { background: #1C1622; color: #F5F1E8; padding-block: clamp(2.2rem, 5vw, 3.6rem) clamp(1.2rem, 3vw, 2rem); }

.thc-foot__top {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.8rem, 4vw, 3rem);
  max-width: 84rem;
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 3rem);
}

@media (width >= 46rem) { .thc-foot__top { grid-template-columns: repeat(2, 1fr); } }

@media (width >= 70rem) { .thc-foot__top { grid-template-columns: 1.5fr 1fr 1fr 1fr; } }

.thc-foot__brandcol { min-width: 0; }

.thc-foot__brand {
  margin: 0 0 0.5rem;
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-variation-settings: "wdth" 88;
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.038em;
  text-transform: uppercase;
}

.thc-foot__brandword { color: #F5F1E8; }

.thc-foot__brandword--two { color: #D97706; margin-left: 0.1em; }

.thc-foot__tag {
  margin: 0 0 1.1rem;
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #90868E;
}

.thc-foot__addr { margin: 0 0 0.8rem; font-size: 0.875rem; font-style: normal; line-height: 1.65; color: #90868E; }

.thc-foot__mail {
  display: inline-block;
  color: #F5F1E8;
  font-size: 0.875rem;
  text-decoration: none;
  border-bottom: 1px solid #D97706;
  padding-bottom: 1px;
  transition: border-color 200ms cubic-bezier(.22,.61,.36,1);
}

.thc-foot__mail:hover { border-bottom-color: #F5F1E8; }

.thc-foot__mail:focus-visible { outline: 2px solid #D97706; outline-offset: 3px; }

.thc-foot__linkcol { min-width: 0; }

.thc-foot__linktitle {
  margin: 0 0 0.8rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #4A4148;
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #90868E;
}

.thc-foot__links { margin: 0; padding: 0; list-style: none; }

.thc-foot__linkitem { margin: 0; }

.thc-foot__link {
  display: inline-block;
  padding: 0.32rem 0;
  color: #F5F1E8;
  font-size: 0.875rem;
  text-decoration: none;
  transition: color 180ms cubic-bezier(.22,.61,.36,1);
}

.thc-foot__link:hover { color: #D97706; }

.thc-foot__link:focus-visible { outline: 2px solid #D97706; outline-offset: 2px; }

@media (pointer: coarse) { .thc-foot__link { min-height: 44px; } }

.thc-foot__bottom {
  max-width: 84rem;
  margin-inline: auto;
  margin-top: clamp(1.8rem, 4vw, 2.8rem);
  padding: clamp(1rem, 2.4vw, 1.4rem) clamp(1rem, 4vw, 3rem) 0;
  border-top: 1px solid #4A4148;
}

.thc-foot__copy { margin: 0; font-size: 0.8125rem; color: #90868E; }

/* ============================================================= BACK TO TOP */

.thc-top {
  position: fixed;
  right: clamp(0.8rem, 2vw, 1.6rem);
  bottom: clamp(0.8rem, 2vw, 1.6rem);
  z-index: 45;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  font-size: 1.125rem;
  background: #2A1B33;
  border: 1px solid #2A1B33;
  border-radius: 50%;
  color: #F5F1E8;
  cursor: pointer;
  transition: transform 240ms cubic-bezier(.22,.61,.36,1), background-color 240ms cubic-bezier(.22,.61,.36,1), color 240ms cubic-bezier(.22,.61,.36,1);
}

.thc-top[hidden] { display: none; }

.thc-top:hover { background: #D97706; border-color: #D97706; color: #1C1622; transform: translateY(-3px); }

.thc-top:focus-visible { outline: 2px solid #D97706; outline-offset: 3px; }

/* ================================================================== REVEALS */

.th-reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 620ms cubic-bezier(.22,.61,.36,1), transform 620ms cubic-bezier(.22,.61,.36,1);
}

.th-reveal[data-in="true"] { opacity: 1; transform: none; }

/* Retire the stagger, or every later hover lags by its entrance delay forever.
   The retiring selector must match or beat the specificity it retires. */
.th-reveal[data-in="true"][data-settled="true"] { transition-delay: 0s !important; }

/* ========================================================== REDUCED MOTION */

@media (prefers-reduced-motion: reduce) {
  .th-reveal,
  .th-reveal[data-in="true"] {
    opacity: 1;
    transform: none;
    transition: none !important;
    transition-delay: 0s !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .th-skip,
  .thc-util__link,
  .thc-util__search,
  .thc-chips__link,
  .thc-nav__toggle,
  .thc-nav__arrow,
  .thc-mega,
  .thc-mega__inner,
  .thc-mega__link,
  .thc-mega__issuecover,
  .thc-mega__issuelink,
  .thc-mega__aboutlink,
  .th-mag__feature,
  .th-mag__edlink,
  .th-mag__row,
  .th-card,
  .th-live__tall,
  .th-live__cell,
  .th-also__feature,
  .th-also__row,
  .th-sub__btn,
  .th-btnround,
  .thc-top,
  .thc-foot__link,
  .thc-foot__mail {
    transition: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .thc-mega__issuecover:hover,
  .th-mag__feature[data-in="true"]:hover,
  .th-mag__edlink:hover,
  .th-card:hover,
  .th-live__tall[data-in="true"]:hover,
  .th-live__cell[data-in="true"]:hover,
  .th-also__feature[data-in="true"]:hover,
  .th-sub__btn:hover,
  .thc-top:hover {
    transform: none;
  }
}

/* ============================================================ SHORT SCREENS */

@media (max-height: 560px) { .thc-top { display: none; } }

/* ===================================================================== PRINT */

@media print {
  .thc-util,
  .thc-nav,
  .thc-mega,
  .thc-top,
  .th-ad,
  .th-sub { display: none; }
}

@media print {
  .th-body { background: #FFFFFF; color: #000000; font-size: 11pt; }
}
