/* ==========================================================================
   THE COLLECTIONS ARCHIVE — owner rulings of 13 October 2026 (J-46).
   --------------------------------------------------------------------------
   Loaded on /archive/ and /archive/[slug]/ only, AFTER product.css: the
   article page reuses .k-pdp__layout / .k-pdp__panel / .k-pdp__gallery, so
   the sticky panel, the column breakpoint (992) and the 18.7 gallery gaps all
   come from the PDP sheet unchanged. The 850 × 1176 house frame NO LONGER
   does — J-49 moved the PDP's frame to 3:4 on 22 October 2026 and named only
   the PDP, so the archive holds its old shape here. See the override below.
   This sheet holds only what is archive-specific.

   THE TWO FIT MODES (J-46.3) are two frame classes the renderer switches on
   one option: .k-frame--fill (cover — Option A, today's ruling, from
   product.css) and .k-frame--archpad below (contain on the token
   --k-pad-archive — Option B, reserved). Nothing else changes between the
   modes. That token held the "studio grey" until 14 October 2026 and holds
   pure white now (J-47.1, RC-184), which is why the card frames show no
   letterbox bars. THE HEX IS NOT WRITTEN HERE, in a comment or anywhere
   else: TokenSystemTest scans this file for a hard-coded colour and does not
   care that it is inside a comment — Run 49 recorded the same red, in the
   same file, for the same reason.
   ========================================================================== */

/* --------------------------------------------------------------------------
   FRAMES.
   .k-frame--card45: the J-46.1 card frame, 4:5 at every width (the owner's
   approved mockup is the reference — deliberately NOT the two-regime
   LV-measured collection card).
   .k-frame--archpad: contain on --k-pad-archive (J-46.3 for the mode, J-47.1
   for the colour — the hex lives on the token in tokens.css and nowhere
   else, which is why moving it was one line). The same
   doubled-selector weight as product.css's .k-frame--pad rules so the Run 39
   WooCommerce `height: auto` battle stays won for these children too.
   -------------------------------------------------------------------------- */

.k-frame--card45 { aspect-ratio: 4 / 5; }

/*
 * THE ARCHIVE ARTICLE'S HOUSE GALLERY FRAME — 850 × 1176, held here.
 *
 * Owner ruling J-49 (22 October 2026, RC-199) moved the PDP's gallery, detail
 * and flat frames to 3:4 and named ONLY the PDP. The archive article's gallery
 * reuses the PDP's `.k-frame--frame` (inc/render-archive.php's default ratio
 * class), so until this run the two surfaces shared --k-ratio-frame and the
 * PDP's new ruling would have landed on the archive without any ruling saying
 * it should. It holds its own shape from its own token instead.
 *
 * WHY AN OVERRIDE AND NOT A RENAMED CLASS. Renaming the archive's frame class
 * would have touched the renderer and its spec, and archive.spec.js's
 * `.k-frame--frame` at 850/1176 is the most useful thing in the repository
 * right now: an untouched CONTROL that fails if J-49 leaks. Nothing in the
 * archive's PHP or its tests changed, and the control still passes.
 *
 * SPECIFICITY, NOT ORDER. (0,2,0) against product.css's (0,1,0) for
 * `.k-frame--frame`, so this wins wherever the sheets land relative to each
 * other — the Run 39 lesson about a theme rule losing on specificity.
 *
 * WHETHER J-49 REACHES THE ARCHIVE IS NOT ENGINEERING'S CALL and was not
 * guessed: it is registered for the owner as K-96. If the answer is yes, the
 * token in tokens.css becomes 3 / 4 and nothing else changes.
 */
.k-pdp--archive .k-frame--frame { aspect-ratio: var(--k-ratio-archive-house); }

/* --------------------------------------------------------------------------
 * THE ARCHIVE HOLDS THE SEPTEMBER PANEL ARCHITECTURE — Run 57 (RC-211),
 * the same hold-in-place the frame rule above is.
 *
 * Owner ruling J-50 (28 October 2026, RC-208/RC-209) rebuilt the DESKTOP PDP
 * layout to the newly measured reference architecture: a 60%/40% grid, the
 * panel a 466px max-width box centred in the 40% track, the gallery forced
 * to grid-row 2 beneath the hero cell. J-50 names the PDP and nothing else —
 * and this article page reuses `.k-pdp__layout` / `.k-pdp__panel` /
 * `.k-pdp__gallery` (the file header says so), so without these rules the
 * whole rebuild would have landed on a surface no ruling names: at 992 the
 * archive panel's content would have narrowed from 356px to ~280px, and the
 * gallery's edge and the panel's inset would have moved at every desktop
 * width. Run 57's adversarial panel caught exactly that before close-out.
 *
 * These four declarations restore, for the archive alone, precisely what the
 * shared 992 block declared before this run: a `minmax(0,1fr) 466px` grid
 * with the measured September gutter pair on the column gap and the right
 * edge, the panel filling its own 466px track in row 1, the gallery in row 1
 * beside it. (--k-pdp-gutter still holds 20px / 52px from 1400 on .k-pdp —
 * the values the pre-J-50 layout used — because its only other consumers,
 * .k-pdp__section and the rail, kept them.)
 *
 * SPECIFICITY, NOT ORDER, exactly as above: (0,2,0) beats product.css's
 * rewritten rules wherever the sheets land.
 *
 * WHETHER THE ARCHIVE FOLLOWS J-50's ARCHITECTURE IS NOT ENGINEERING'S CALL
 * and was not guessed: registered for the owner as K-98, beside K-96. If the
 * answer is yes, this block is deleted and nothing else changes.
 * -------------------------------------------------------------------------- */
@media (min-width: 992px) {
  .k-pdp--archive .k-pdp__layout {
    grid-template-columns: minmax(0, 1fr) var(--k-pdp-panel-w);
    column-gap: var(--k-pdp-gutter);
    padding-inline: 0 var(--k-pdp-gutter);
  }
  .k-pdp--archive .k-pdp__gallery { grid-row: 1; }
  .k-pdp--archive .k-pdp__panel {
    grid-row: 1;
    width: auto;
    max-width: none;
    justify-self: stretch;
  }
}

.k-frame--archpad { background: var(--k-pad-archive); }
.k-frame--archpad > img,
.k-frame--archpad > picture > img { object-fit: contain; }

/* --------------------------------------------------------------------------
   THE LISTING: title block, collection name, piece count, the control row,
   the grid. 3 across from the house column breakpoint (992 — the same v4.0
   §04 start the PDP's two-column layout uses; the ruling says "desktop" and
   names no width, so no second breakpoint system is invented), 2 across
   below it, 1 by the visitor's choice. J-46.1 said FOUR across and said
   nothing about a choice; J-47.2 of 14 October supersedes it (RC-185). The
   introduction this block used to list is gone — J-47.5 (RC-191) took the
   §0.4 marker off the public page.
   Grid gaps are DEFAULTs — the mockup is the reference and carries no
   measured figures.
   -------------------------------------------------------------------------- */

.k-arch { padding-inline: var(--k-gutter-mobile); }

.k-arch__head {
  padding-block: var(--k-space-6) var(--k-space-5);
}

.k-arch__title { text-transform: uppercase; margin: 0; }

/* `.k-arch__intro` is gone with the element: J-47.5 removed the §0.4
   introduction marker from the public listing, and K-33's approved line will
   need its own rule when it arrives rather than inheriting a dead one. */

.k-arch__count { color: var(--k-graphite); margin: var(--k-space-2) 0 0; }

.k-arch__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: var(--k-space-2);
  row-gap: var(--k-space-6);
}

/*
 * THE SINGLE-COLUMN CHOICE (owner ruling, 14 October 2026, J-47.2).
 *
 * Marked by `data-kr-arch-columns="1"` on the document element — the
 * archive's OWN flag, not the collection's `data-kr-card-columns`, so the two
 * surfaces' remembered choices cannot read each other (inc/archive-controls.php
 * and the parameterised controller in collection.js). The flag is written by a
 * blocking head script before `.k-arch` exists, so a remembered choice is in
 * force at FIRST PAINT and the grid never reflows from two columns to one
 * after drawing (60.3 LOCKED, CLS <= 0.1).
 */
:root[data-kr-arch-columns="1"] .k-arch__grid {
  grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 992px) {
  .k-arch { padding-inline: var(--k-gutter-desktop); }

  /*
   * THREE ACROSS ON DESKTOP (owner ruling, 14 October 2026, J-47.2),
   * superseding J-46.1's four of 13 October by §0.5's later-dated rule.
   *
   * AND THE FLAG HAS NO EFFECT FROM HERE UP. Both selectors are named, so a
   * one-up choice left behind by a narrower viewport — a rotated phone, a
   * resized window — cannot leak into the desktop grid. This is the same
   * reset the collection's own columns rule carries, and for the same reason.
   */
  .k-arch__grid,
  :root[data-kr-arch-columns="1"] .k-arch__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* --------------------------------------------------------------------------
   THE CONTROL ROW: the piece count, the columns toggle and the Filter & Sort
   funnel. The two controls are the collection's own components
   (korotana_filter_trigger(), and the toggle built on the same parameterised
   controller), so their own sizing comes from collection.css and is not
   re-declared here — only the row that holds them is archive-specific.
   -------------------------------------------------------------------------- */

.k-arch__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--k-space-3);
  margin-top: var(--k-space-2);
  /* The count may wrap to its own line before the controls are squeezed. */
  flex-wrap: wrap;
}

.k-arch__meta > .k-arch__count { margin: 0; }

.k-arch__controls {
  display: flex;
  align-items: center;
  gap: var(--k-space-2);
  /* Pushed to the row's end even when the count has wrapped away. */
  margin-inline-start: auto;
}

/*
 * NO LEADING DIVIDER. `.k-col__cell` carries its separator as a
 * `border-inline-start`, which is right for a row of abutting cells — but
 * this row has a gap and the first cell has the count pushed away from it, so
 * that border drew as a stray 1px rule in clear air rather than as a
 * separator between two things.
 */
.k-arch__controls > :first-child,
.k-arch__controls > .k-col__columns > .k-col__cell {
  border-inline-start: 0;
}

/*
 * 44px EVERY WAY, ON THE ROW AS WELL AS THE BUTTON. --k-touch-min is a floor
 * on the control itself (collection.css), but a flex row that is shorter than
 * its children's target leaves the top and bottom columns of each box outside
 * the row's own box — which a centre-point probe never notices and a 1px walk
 * across the whole box does (Run 44's lesson: take the extent from the row you
 * click).
 */
.k-arch__meta,
.k-arch__controls { min-height: var(--k-touch-min); }

/*
 * NO PRIVATE CELL CLASS HERE. The two controls in this row are the
 * collection's own components and take their box from `.k-col__cell` in
 * collection.css — the 44px floor on both axes, inline-flex centring, the
 * 16px icon step, the hairline divider and the `:focus-visible` ring.
 *
 * TWO WRONG TURNS ARE RECORDED HERE BECAUSE BOTH ARE EASY TO REPEAT. The
 * toggle first carried `.k-arch__cell`, which is the GRID's `<li>`: one class
 * meaning two things, and any count of `.k-arch__cell` reporting twelve cells
 * for eleven pieces (Run 41's "counting rules cannot prove a breakpoint",
 * again). Renaming it to a private `.k-arch__ctl` fixed the collision and
 * introduced a worse fault — a control box that re-declared the 44px floor
 * and silently dropped the other four things `.k-col__cell` gives, the focus
 * ring among them. The answer to a collision with a local class is the SHARED
 * class, not a third local one.
 */

/* The columns toggle is a MOBILE control: it is hidden exactly where the flag
   it writes stops having an effect, so it is never visible while doing
   nothing and never absent while the grid is still two-up. That boundary is
   the archive's own grid seam (992), not the collection's (768) — the two
   grids change shape at different widths and the control belongs to its own.
   */
@media (min-width: 992px) {
  .k-arch__controls > .k-col__columns { display: none; }
}

/* --------------------------------------------------------------------------
   THE FILTERED-EMPTY STATE. Not §57.7's — that sentence belongs to an archive
   with no entries at all, and telling a customer the archive is empty when
   their own filters emptied it would be untrue. V6 specifies no wording for
   this case, so it is written here with the one control that resolves it.
   -------------------------------------------------------------------------- */

.k-arch__empty { padding-block: var(--k-space-7); }
.k-arch__emptytext { margin: 0; color: var(--k-ink); }
.k-arch__emptyclear { margin: var(--k-space-3) 0 0; }

/* The whole card is one link (J-46.1) and one target: display block makes
   every pixel of the cell's content hit-testable, and --k-touch-min is a
   floor, not the size — the media alone is far taller. */
.k-arch-card {
  display: block;
  min-height: var(--k-touch-min);
  text-decoration: none;
  color: var(--k-ink);
}

.k-arch-card:focus-visible {
  outline: var(--k-focus-ring) solid var(--k-ink);
  outline-offset: var(--k-focus-offset);
}

.k-arch-card__media { display: block; }

.k-arch-card__meta {
  display: block;
  padding-block: var(--k-space-2);
}

.k-arch-card__name { display: block; }

.k-arch-card__price { display: block; margin-top: var(--k-space-1); }

/* The state is text; colour never carries it alone (§02). */
.k-arch-card__state {
  display: block;
  margin-top: var(--k-space-1);
  color: var(--k-graphite);
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   THE ARTICLE PAGE (J-46.2, J-46.7).
   -------------------------------------------------------------------------- */

/* The SOLD OUT bar stands where the main PDP's Pre-order CTA stands and
   borrows the disabled CTA's surface language (product.css), but it is a
   PARAGRAPH: no focus, no cursor affordance, no action. Ink text, not the
   disabled grey — a state a customer must read is 1.4.3 text, not a disabled
   control. Uppercase is this component's own case rule; the markup says
   "Sold out". */
.k-arch__state { margin-block: var(--k-space-5); }

.k-arch__soldout {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: var(--k-touch-min);
  margin: 0;
  background: var(--k-surface-sunken);
  color: var(--k-ink);
  border: var(--k-hairline) solid var(--k-stone);
  border-radius: var(--kr-radius-primary);
  text-transform: uppercase;
  font-family: var(--kr-medium);
  font-size: var(--kr-m14-size);
  line-height: var(--kr-m14-line);
  letter-spacing: var(--kr-m14-track);
  font-weight: var(--kr-medium-weight);
}

.k-arch__soldout-line {
  color: var(--k-graphite);
  margin: var(--k-space-2) 0 0;
}

/* The colourway selector: real links, 44px targets, the current one marked
   by border + underline (surface and colour only — v4.0 §11). */
.k-arch__colours { margin-block: var(--k-space-5); }

.k-arch__colours-label { margin: 0 0 var(--k-space-2); }

.k-arch__colourlist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: var(--k-space-2);
}

.k-arch-swatch {
  display: block;
  width: 64px;
  min-height: var(--k-touch-min);
  text-decoration: none;
  color: var(--k-ink);
  border: var(--k-hairline) solid transparent;
}

.k-arch-swatch.is-current {
  border-color: var(--k-ink);
}

.k-arch-swatch.is-current .k-arch-swatch__name { text-decoration: underline; }

.k-arch-swatch:focus-visible {
  outline: var(--k-focus-ring) solid var(--k-ink);
  outline-offset: var(--k-focus-offset);
}

.k-arch-swatch__media { display: block; }

.k-arch-swatch__name {
  display: block;
  padding: var(--k-space-1) var(--k-space-1) var(--k-space-1);
  text-align: center;
  overflow-wrap: anywhere;
}

/* The description: real paragraphs (wpautop), the panel's body size. */
.k-arch__desc { margin-block: var(--k-space-5); }
.k-arch__desc p { margin: 0 0 var(--k-space-4); }
.k-arch__desc p:last-child { margin-bottom: 0; }

.k-arch__return { margin-block: var(--k-space-5); }

/* ==========================================================================
   THE FOUNDING EDIT 2025 — the editorial archive page (owner rulings of
   16 October 2026, J-48; CLAUDE.md §0/§0b). Husnain: "the page looks very very
   boring." The listing becomes a memorial: a hero, an SEO introduction, five
   photograph bands and two 9:16 film bands, and a closing note.

   THIS REPLACES THE RUN 49/50 `.k-arch-ed` TWO-SECTION STYLES (J-47.4), whose
   renderer is retired (RC-196). Typography and spacing reuse the house roles
   and the --k-space / --k-measure scale; the only new values are LAYOUT
   dimensions the owner's content file prescribes (the ~620px prose measure,
   the films' 520/540/390 px players and their 72/120 px gutters) and the film
   surfaces, which live as tokens in tokens.css. No new TYPE size or colour.

   FULL-BLEED without a 100vw scrollbar overflow (§60.3): break out of
   .k-arch's own inline gutter by exactly that gutter, so the edges land on the
   container's — i.e. the viewport's — edges and never past them.
   ========================================================================== */

.k-arched-bleed,
.k-arched-hero,
.k-arched-band--overlay,
.k-arched-film--film-two {
  margin-inline: calc(-1 * var(--k-gutter-mobile));
}

@media (min-width: 992px) {
  .k-arched-bleed,
  .k-arched-hero,
  .k-arched-band--overlay,
  .k-arched-film--film-two {
    margin-inline: calc(-1 * var(--k-gutter-desktop));
  }
}

/* The control row follows the hero and introduction, so it carries no masthead
   padding of its own above the count. */
.k-arch__head--editorial { padding-block: 0 var(--k-space-5); }

/* Every editorial photograph. Height is set by the frame it fills (cover);
   the hero and the closing rail keep their natural height (set below). */
.k-arched__img { display: block; width: 100%; }

/* --------------------------------------------------------------------------
   HERO. Desktop: wide photograph, then the title block beneath on white.
   Mobile: portrait crop with the title over its lower third on a bottom-up
   dark scrim. One DOM, positioned per viewport.
   -------------------------------------------------------------------------- */

.k-arched-hero { margin-top: 0; }
.k-arched-hero__frame { position: relative; }
.k-arched-hero__picture { display: block; }
.k-arched-hero__picture img { display: block; width: 100%; height: auto; }
.k-arched-hero__scrim { display: none; }

.k-arched-hero__type {
  padding: var(--k-space-6) var(--k-gutter-mobile) var(--k-space-7);
  text-align: center;
}
.k-arched-hero__eyebrow { margin: 0; color: var(--k-graphite); text-transform: uppercase; }
.k-arched-hero__title { margin: var(--k-space-3) 0 0; text-transform: uppercase; }
.k-arched-hero__standfirst { margin: var(--k-space-3) auto 0; max-width: 40rem; color: var(--k-graphite); }

@media (max-width: 991px) {
  .k-arched-hero__scrim {
    display: block; position: absolute; inset-inline: 0; inset-block-end: 0;
    height: 62%; pointer-events: none;
    background: linear-gradient(to top, color-mix(in srgb, var(--k-ink) 82%, transparent), transparent);
  }
  .k-arched-hero__type {
    position: absolute; inset-inline: 0; inset-block-end: 0;
    padding: var(--k-gutter-mobile); text-align: left;
  }
  .k-arched-hero__eyebrow,
  .k-arched-hero__title,
  .k-arched-hero__standfirst { color: var(--k-white); }
  .k-arched-hero__standfirst { margin-inline: 0; }
}
@media (min-width: 992px) {
  .k-arched-hero__type { padding-inline: var(--k-gutter-desktop); }
}

/* --------------------------------------------------------------------------
   INTRODUCTION — the SEO body, centred, ~620px measure.
   -------------------------------------------------------------------------- */

.k-arched-intro { padding-block: var(--k-space-8); }
.k-arched-intro__measure {
  max-width: 38.75rem; margin-inline: auto; text-align: center; color: var(--k-ink);
}
.k-arched-intro__measure p { margin: 0 0 var(--k-space-4); }
.k-arched-intro__measure p:last-child { margin-bottom: 0; }

/* --------------------------------------------------------------------------
   OVERLAY BANDS (band-a, band-c, band-e) — type over the photograph on both
   widths. Generous rhythm (--k-space-9) so each reads as a pause.
   -------------------------------------------------------------------------- */

.k-arched-band { margin-block: var(--k-space-9); }
.k-arched-band__figure { margin: 0; }

.k-arched-band__frame {
  position: relative; aspect-ratio: 4 / 5; overflow: hidden;
}
@media (min-width: 992px) {
  .k-arched-band__frame { aspect-ratio: 16 / 9; }
}
.k-arched-band__frame .k-arched__img { height: 100%; object-fit: cover; }

.k-arched-band__scrim { position: absolute; inset: 0; pointer-events: none; }

.k-arched-band__type {
  position: absolute; inset-block-end: 0; inset-inline: 0;
  padding: var(--k-gutter-mobile); max-width: 44rem;
}
@media (min-width: 992px) {
  .k-arched-band__type { padding: var(--k-space-7) var(--k-gutter-desktop); }
}
.k-arched-band__heading { margin: 0; text-transform: uppercase; }
.k-arched-band__body { margin: var(--k-space-3) 0 0; }

.k-arched-band__caption {
  margin: var(--k-space-2) 0 0; padding-inline: var(--k-gutter-mobile); color: var(--k-graphite);
}
@media (min-width: 992px) {
  .k-arched-band__caption { padding-inline: var(--k-gutter-desktop); }
}

/* White type is the overlay default; band-a overrides to house near-black. */
.k-arched-band--overlay .k-arched-band__heading,
.k-arched-band--overlay .k-arched-band__body { color: var(--k-white); }

/* band-a — bright snow: a light (white) scrim and house near-black type. */
.k-arched-band--band-a .k-arched-band__heading,
.k-arched-band--band-a .k-arched-band__body { color: var(--k-ink); }
.k-arched-band--band-a .k-arched-band__scrim {
  background: linear-gradient(to top,
    color-mix(in srgb, var(--k-white) 95%, transparent),
    color-mix(in srgb, var(--k-white) 90%, transparent) 300px,
    transparent 560px);
}
@media (min-width: 992px) {
  .k-arched-band--band-a .k-arched-band__type { inset-block: 0 auto; }
  /*
   * UNCHANGED, AND THAT IS A MEASURED DECISION. Run 53 rewrote this rule
   * too, and then put it back: band-a's DESKTOP type measured 15.0-16.4:1
   * at 992, 1366, 1536 and 1920 on the ORIGINAL diagonal, so nothing here
   * was failing and nothing here needed changing. The mutation that was
   * supposed to prove the rewrite necessary came back GREEN, which is how
   * the unnecessary change was found. band-a's MOBILE scrim below is a
   * different matter and did fail — 1.04:1 at 375.
   */
  .k-arched-band--band-a .k-arched-band__scrim {
    background: linear-gradient(to bottom right, color-mix(in srgb, var(--k-white) 90%, transparent), transparent 58%);
  }
}

/* band-c — dark scrim, white type; desktop left-to-right, mobile bottom-up. */
.k-arched-band--band-c .k-arched-band__scrim {
  background: linear-gradient(to top,
    color-mix(in srgb, var(--k-ink) 92%, transparent),
    color-mix(in srgb, var(--k-ink) 86%, transparent) 300px,
    transparent 560px);
}
/*
 * THE BODY IS PURE WHITE, like the heading beside it. It used to be
 * color-mix(white 88%, transparent) — the ONLY translucent TYPE colour in
 * this sheet, and the only uncommented decision in it. Translucent type
 * composites with whatever is behind it, so it lost contrast exactly where
 * the photograph was lightest, and J-48.3 asks for "white type" on this band
 * in any case. Measured, it was costing between 0.2 and 1.2 of ratio. The
 * 88% pattern belongs to the SCRIMS above and below, where translucency is
 * the point; it reached a text colour by resemblance.
 */
@media (min-width: 992px) {
  .k-arched-band--band-c .k-arched-band__type { inset-block: 0 auto; max-width: 34rem; }
  /*
   * THE DARK REGION IS MEASURED IN THE SAME UNITS AS THE TYPE, which is the
   * whole repair. The type is `max-width: 34rem` (544px) plus the desktop
   * gutter; the scrim's stop used to be a PERCENTAGE of the viewport, so the
   * share of the band that was dark changed with every width while the text
   * it had to cover did not. At 1920 the 66% stop reached far past the type
   * and at 1366 it did not reach the end of it — which is why the measured
   * contrast was worst at 1366 and best at 1920, and why tuning the opacity
   * alone (72%% -> 84%%) never fixed it.
   *
   * 680px holds full strength past the type's own measure at EVERY width,
   * and the fade to 1100px keeps the photograph open to the right.
   */
  .k-arched-band--band-c .k-arched-band__scrim {
    background: linear-gradient(to right,
      color-mix(in srgb, var(--k-ink) 92%, transparent),
      color-mix(in srgb, var(--k-ink) 86%, transparent) 680px,
      transparent 1100px);
  }
}

/* band-e — dark scrim; desktop right-to-left and right-aligned, mobile
   bottom-up and left. Head kept in frame by object-position. */
.k-arched-band--band-e .k-arched-band__scrim {
  background: linear-gradient(to top,
    color-mix(in srgb, var(--k-ink) 92%, transparent),
    color-mix(in srgb, var(--k-ink) 86%, transparent) 300px,
    transparent 560px);
}
.k-arched-band--band-e .k-arched-band__frame .k-arched__img { object-position: 50% 28%; }
@media (min-width: 992px) {
  .k-arched-band--band-e .k-arched-band__frame .k-arched__img { object-position: 50% 32%; }
  .k-arched-band--band-e .k-arched-band__scrim {
    background: linear-gradient(to left,
      color-mix(in srgb, var(--k-ink) 92%, transparent),
      color-mix(in srgb, var(--k-ink) 86%, transparent) 680px,
      transparent 1100px);
  }
  .k-arched-band--band-e .k-arched-band__type {
    inset-block: 0 auto; inset-inline: auto 0; text-align: right; max-width: 34rem; margin-inline-start: auto;
  }
}

/* --------------------------------------------------------------------------
   GRID BANDS (band-b, band-d). Desktop: a leading text block on white above a
   grid of all images. Mobile: the lead photograph carries the type as a
   full-bleed overlay, the rest follow beneath.
   -------------------------------------------------------------------------- */

.k-arched-band--grid { margin-block: var(--k-space-9); }

.k-arched-grid__type {
  position: static; padding: 0; max-width: var(--k-measure); margin: 0 0 var(--k-space-6);
}
.k-arched-grid__type .k-arched-band__heading,
.k-arched-grid__type .k-arched-band__body { color: var(--k-ink); }

.k-arched-grid__figures {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--k-space-5) var(--k-space-2);
}
.k-arched-band--band-d .k-arched-grid__figures { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.k-arched-grid__figure { margin: 0; min-width: 0; }
.k-arched-grid__frame { aspect-ratio: 4 / 5; overflow: hidden; }
.k-arched-grid__frame .k-arched__img { height: 100%; object-fit: cover; }
.k-arched-grid__figure .k-arched-band__caption { padding-inline: 0; }

/* The mobile overlay lead — hidden on desktop. */
.k-arched-grid__lead { display: none; margin: 0; }
.k-arched-grid__lead .k-arched-band__frame { aspect-ratio: 4 / 5; }
.k-arched-grid__lead .k-arched-band__type { padding: var(--k-gutter-mobile); }
.k-arched-grid__lead .k-arched-band__heading,
.k-arched-grid__lead .k-arched-band__body { color: var(--k-white); }
/*
 * THE GRID LEADS CARRY WHITE TYPE OVER A PHOTOGRAPH TOO, and they had the
 * same percentage-stop scrim as the overlay bands and the same failure.
 * Measured before this repair, band-b's lead heading read 1.82:1 against a
 * floor of 3 at 390 — the worst line on the page. It went unreported for two
 * runs because the contrast test could not read a color-mix() type colour
 * and searched for the most flattering backdrop rather than the worst.
 *
 * Same repair as band-c and band-e: hold full strength across a distance
 * that covers the type, measured in the type's own units, then fade. These
 * leads are bottom-anchored (the base .k-arched-band__type rule) in a 4:5
 * frame, so the hold runs up from the bottom edge.
 */
.k-arched-band--band-b .k-arched-grid__lead .k-arched-band__scrim,
.k-arched-band--band-d .k-arched-grid__lead .k-arched-band__scrim {
  background: linear-gradient(to top,
    color-mix(in srgb, var(--k-ink) 92%, transparent),
    color-mix(in srgb, var(--k-ink) 86%, transparent) 300px,
    transparent 560px);
}

@media (max-width: 991px) {
  /* Desktop leading text hidden; its grid's first figure hidden (shown via the
     overlay lead instead), so neither image nor type is announced twice. */
  .k-arched-band--grid > .k-arched-grid__type { display: none; }
  .k-arched-band--grid .k-arched-grid__figures > .k-arched-grid__figure:first-child { display: none; }
  .k-arched-grid__lead { display: block; margin-inline: calc(-1 * var(--k-gutter-mobile)); }
  .k-arched-band--band-b .k-arched-grid__figures,
  .k-arched-band--band-d .k-arched-grid__figures {
    grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: var(--k-space-5);
  }
  /* band-b's fourth frame spans the row (two in a row plus one full width). */
  .k-arched-band--band-b .k-arched-grid__figures > .k-arched-grid__figure:nth-child(4) { grid-column: 1 / -1; }
}

/* --------------------------------------------------------------------------
   FILMS (9:16). The player box is always the film's own 9:16 — never
   stretched, never letterboxed with bars; the band holds the surrounding
   space. Players reserve their final size so the page never reflows when a
   reel is bound (CP-B).
   -------------------------------------------------------------------------- */

.k-arched-film { margin-block: var(--k-space-9); }
.k-arched-film__figure { margin: 0; }
.k-arched-film__eyebrow { margin: 0; color: var(--k-graphite); text-transform: uppercase; }
.k-arched-film__heading { margin: var(--k-space-3) 0 0; text-transform: uppercase; }
.k-arched-film__body { margin: var(--k-space-3) 0 0; }
.k-arched-film__caption { margin: var(--k-space-3) 0 0; color: var(--k-graphite); }

.k-arched-film__player { position: relative; aspect-ratio: 9 / 16; overflow: hidden; }
.k-arched-film__video { display: block; width: 100%; height: 100%; object-fit: contain; background: var(--k-ink); }

/* The placeholder: the exact 9:16 box, dashed, a centred play glyph (a CSS
   triangle — no font-size), the labels and the one-line subject. */
.k-arched-film__placeholder {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: var(--k-space-2); width: 100%; height: 100%; padding: var(--k-space-5); text-align: center;
  background: var(--k-arched-filmone-ph); border: 1px dashed var(--k-arched-filmone-dash);
}
.k-arched-film__glyph {
  width: 0; height: 0; border-style: solid;
  border-width: 11px 0 11px 18px;
  border-color: transparent transparent transparent var(--k-graphite);
  margin-bottom: var(--k-space-2);
}
.k-arched-film__plabel { text-transform: uppercase; color: var(--k-ink); }
.k-arched-film__pstate { text-transform: uppercase; color: var(--k-graphite); }
.k-arched-film__psubject { max-width: 32ch; color: var(--k-graphite); }

/* film-one — a split band on white. */
.k-arched-film--film-one .k-arched-film__player { width: 100%; margin-inline: auto; }
@media (min-width: 992px) {
  .k-arched-film--film-one .k-arched-film__inner {
    display: flex; align-items: center; gap: 72px; padding-block: 120px;
  }
  .k-arched-film--film-one .k-arched-film__player { width: 520px; flex: 0 0 520px; margin: 0; }
  .k-arched-film--film-one .k-arched-film__text { flex: 0 1 560px; }
}
@media (max-width: 991px) {
  .k-arched-film--film-one { margin-inline: calc(-1 * var(--k-gutter-mobile)); }
  .k-arched-film--film-one .k-arched-film__text,
  .k-arched-film--film-one .k-arched-film__caption { padding-inline: var(--k-gutter-mobile); }
  .k-arched-film--film-one .k-arched-film__text { margin-bottom: var(--k-space-5); }
}

/* film-two — a near-black full-width band; centred player. */
.k-arched-film--film-two {
  background: var(--k-arched-filmtwo-bg); padding-block: var(--k-space-8);
}
.k-arched-film--film-two .k-arched-film__inner { text-align: center; }
.k-arched-film--film-two .k-arched-film__text {
  max-width: 640px; margin-inline: auto; padding-inline: var(--k-gutter-mobile);
}
.k-arched-film--film-two .k-arched-film__eyebrow,
.k-arched-film--film-two .k-arched-film__heading,
.k-arched-film--film-two .k-arched-film__body,
.k-arched-film--film-two .k-arched-film__caption { color: var(--k-white); }
.k-arched-film--film-two .k-arched-film__player {
  width: 100%; max-width: 540px; margin: var(--k-space-7) auto 0;
}
.k-arched-film--film-two .k-arched-film__placeholder {
  background: var(--k-arched-filmtwo-ph); border-color: var(--k-arched-filmtwo-dash);
}
.k-arched-film--film-two .k-arched-film__plabel { color: var(--k-white); }
.k-arched-film--film-two .k-arched-film__glyph {
  border-color: transparent transparent transparent var(--k-white);
}
@media (max-width: 991px) {
  /* The band is already full-bleed, so the player is simply 100% of it — a
     further negative margin would push it past the viewport (a 12px overflow;
     the "break the gutter" the content file describes is the band's, already
     broken here). */
  .k-arched-film--film-two .k-arched-film__player {
    max-width: none; width: 100%; margin-inline: 0;
  }
}

/* --------------------------------------------------------------------------
   THE BAND CELLS inside the grid. A full-row item shown for exactly one
   viewport, so the interior bands land at the right card on both the 3-across
   and 2-across grids without a close-and-reopen that would orphan a row.
   -------------------------------------------------------------------------- */

.k-arch__bandcell { grid-column: 1 / -1; list-style: none; }
.k-arch__bandcell--desktop { display: none; }
@media (min-width: 992px) {
  .k-arch__bandcell--desktop { display: block; }
  .k-arch__bandcell--mobile { display: none; }
}

/* --------------------------------------------------------------------------
   CLOSING NOTE — the rail photograph, uncropped, then the note on white.
   -------------------------------------------------------------------------- */

.k-arched-closing { margin-top: var(--k-space-9); }
.k-arched-closing__figure { margin: 0 auto; max-width: 900px; }
.k-arched-closing__figure img { display: block; width: 100%; height: auto; }
.k-arched-closing__note {
  max-width: 38.75rem; margin: var(--k-space-7) auto 0; text-align: center; color: var(--k-ink);
}
.k-arched-closing__heading { margin: 0 0 var(--k-space-5); text-transform: uppercase; }
.k-arched-closing__note p { margin: 0 0 var(--k-space-4); }
.k-arched-closing__note p:last-child { margin-bottom: 0; }
.k-arched-closing__link { margin-top: var(--k-space-5); }
