/* Site-speed release B review fix (2026-10-16): the full faces claim the Latin range fonts/fonts.css gives them, so a
   character no face has a glyph for (the nav arrow U+2192, the footer U+2197, U+2248 on /tools/clicks-to-mg/) no
   longer downloads the full file next to its core twin; those glyphs render in a system font exactly as before. */
@font-face {
  font-family: "Outfit";
  src: url("/fonts/outfit-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Cormorant Garamond";
  src: url("/fonts/cormorant-garamond-normal-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Cormorant Garamond";
  src: url("/fonts/cormorant-garamond-italic-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: italic;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "DM Mono";
  src: url("/fonts/dm-mono-400-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Site-speed release B (2026-10-16, synthesis fix 13): the core glyph twins of the four faces above, declared after
   them so for every character in the core range the browser picks (and downloads) the same -core.woff2 file every
   other page family uses; any other character still matches the full face above. Generated text: the same faces as
   coreFaceCssFrom(deskFontFaces()) in scripts/build-runtime-assets.js (tests/site-speed-release-b.test.js). */
@font-face {
  font-family: "Outfit";
  src: url("/fonts/outfit-latin-core.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-007E,U+00A0,U+00A7,U+00A9,U+00B0-00B2,U+00B5,U+00B7,U+00C1,U+00C9,U+00D7-00D8,U+00E0-00E3,U+00E7,U+00E9-00EA,U+00ED,U+00F1,U+00F3-00F8,U+00FA,U+00FC,U+2013-2014,U+2018-2019,U+201C-201D,U+2022,U+2026,U+2122,U+2191,U+2193,U+2212;
}

@font-face {
  font-family: "Cormorant Garamond";
  src: url("/fonts/cormorant-garamond-normal-latin-core.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-007E,U+00A0,U+00A7,U+00A9,U+00B0-00B2,U+00B7,U+00C1,U+00C9,U+00D7-00D8,U+00E0-00E3,U+00E7,U+00E9-00EA,U+00ED,U+00F1,U+00F3-00F8,U+00FA,U+00FC,U+2009,U+2013-2014,U+2018-2019,U+201C-201D,U+2022,U+2026,U+2032,U+2122,U+2191,U+2193,U+2212;
}

@font-face {
  font-family: "Cormorant Garamond";
  src: url("/fonts/cormorant-garamond-italic-latin-core.woff2") format("woff2");
  font-weight: 400 700;
  font-style: italic;
  font-display: swap;
  unicode-range: U+0000-007E,U+00A0,U+00A7,U+00A9,U+00B0-00B2,U+00B7,U+00C1,U+00C9,U+00D7-00D8,U+00E0-00E3,U+00E7,U+00E9-00EA,U+00ED,U+00F1,U+00F3-00F8,U+00FA,U+00FC,U+2009,U+2013-2014,U+2018-2019,U+201C-201D,U+2022,U+2026,U+2032,U+2122,U+2191,U+2193,U+2212;
}

@font-face {
  font-family: "DM Mono";
  src: url("/fonts/dm-mono-400-latin-core.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-007E,U+00A0,U+00A7,U+00A9,U+00B0-00B2,U+00B5,U+00B7,U+00C1,U+00C9,U+00D7-00D8,U+00E0-00E3,U+00E7,U+00E9-00EA,U+00ED,U+00F1,U+00F3-00F8,U+00FA,U+00FC,U+2013-2014,U+2018-2019,U+201C-201D,U+2022,U+2026,U+2122,U+2212;
}


:root {
  /* Task 8 (2026-10-05): colours resolve through assets/css/tokens.css, linked before this sheet on every folded page.
     html[data-theme] (set by the inline bootstrap) flips the tokens, so the old per-theme value blocks are gone;
     --line, --brand, --brand-hover and --brand-soft ARE token names now and are no longer redefined here. */
  --ink: var(--text);
  --muted: var(--text-2);
  --paper: var(--bg);
  --soft: var(--surface-2);
  --surface: var(--surface-1);
  --charcoal: var(--proof);
  --proof-bg: var(--proof);
  --footer-bg: var(--proof);
  --brand-strong: var(--brand-text);
  --brand-muted: var(--brand-text);
  --link-hover-on-dark: var(--on-proof-link);
  --white: var(--on-brand);
  --on-dark-muted: var(--on-proof-2);
  --shadow: var(--shadow-e2);
  --shadow-tight: var(--shadow-e1);
  --font-sans: "Outfit", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-serif: "Cormorant Garamond", Georgia, serif;
  --font-mono: "DM Mono", "SFMono-Regular", Consolas, monospace;
  font-family: var(--font-sans);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.55;
}

body::selection {
  background: var(--brand);
  color: var(--white);
}

a {
  color: inherit;
  text-decoration: none;
}

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

.skip-link {
  position: absolute;
  left: 16px;
  top: 12px;
  z-index: 20;
  padding: 10px 14px;
  background: var(--surface);
  color: var(--ink);
  border-radius: 6px;
  transform: translateY(-140%);
}

.skip-link:focus {
  transform: translateY(0);
}

/* Internal pages have no dark hero behind the fixed header — at scroll 0 the
   white nav text sat on light paper through the fading gradient (~3.5:1).
   Keep the solid backdrop on from the start there; hero pages keep the
   scroll-triggered reveal. */

.hero {
  position: relative;
  min-height: 86vh;
  display: grid;
  align-items: end;
  padding: 132px clamp(18px, 5vw, 72px) 34px;
  color: var(--white);
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(8, 8, 8, 0.95) 0%, rgba(8, 8, 8, 0.8) 42%, rgba(8, 8, 8, 0.16) 100%),
    url("/assets/coa/ret-20-c-2604-001/janoshik-report-ret-20-c-2604-001-purity-1100.webp") center / cover no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.7), transparent 72%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 30%;
  background: linear-gradient(180deg, rgba(251, 250, 247, 0), var(--paper));
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 760px) minmax(300px, 420px);
  gap: 52px;
  align-items: end;
  width: min(1240px, 100%);
}

.hero-content,
.hero-metrics {
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 760px;
  padding-bottom: 38px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--brand-muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.hero .eyebrow {
  color: var(--on-proof-link);
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  max-width: 12ch;
  font-size: 7.2rem;
  line-height: 0.9;
  font-family: var(--font-serif);
  font-weight: 600;
}

h2 {
  margin: 0;
  font-size: 4rem;
  line-height: 1;
  font-family: var(--font-serif);
  font-weight: 600;
}

h3 {
  margin: 0;
  font-size: 1.22rem;
  line-height: 1.18;
}

.hero-copy {
  max-width: 680px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.36rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border-radius: 6px;
  font-weight: 800;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--brand);
  color: var(--white);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--brand-hover);
}

.button-secondary {
  border: 1px solid rgba(255, 255, 255, 0.42);
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: rgba(255, 255, 255, 0.16);
}

.button-secondary.dark {
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.compliance-note {
  max-width: 620px;
  margin: 18px 0 0;
  color: var(--on-dark-muted);
  font-size: 0.95rem;
}

.hero-console {
  position: relative;
  overflow: hidden;
  align-self: end;
  margin-bottom: 38px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(8, 8, 8, 0.72);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.44);
  backdrop-filter: blur(24px);
}

.hero-console::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: var(--brand);
}

.console-status,
.console-main,
.console-list,
.console-link {
  position: relative;
}

.console-status {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 20px 22px 14px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.console-status span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 6px rgba(219, 38, 108, 0.18);
}

.console-main {
  padding: 0 22px 18px;
}

.console-main small,
.console-main strong {
  display: block;
}

.console-main small {
  color: rgba(255, 255, 255, 0.62);
}

.console-main strong {
  margin-top: 4px;
  font-size: 2.1rem;
  line-height: 1;
}

.console-list {
  margin: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.console-list div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  padding: 14px 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.console-list dt,
.console-list dd {
  margin: 0;
}

.console-list dt {
  color: rgba(255, 255, 255, 0.56);
}

.console-list dd {
  text-align: right;
  font-weight: 800;
}

.console-link {
  display: flex;
  justify-content: space-between;
  padding: 18px 22px;
  color: var(--on-proof-link);
  font-weight: 900;
}

.console-link::after {
  content: "View COA";
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.82rem;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: min(920px, 100%);
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: var(--shadow);
}

.hero-metrics div {
  min-height: 118px;
  padding: 22px;
  background: rgba(20, 17, 15, 0.72);
  backdrop-filter: blur(18px);
}

.hero-metrics span,
.hero-metrics small {
  display: block;
}

.hero-metrics span {
  font-size: 2.42rem;
  line-height: 1;
  font-weight: 840;
}

.hero-metrics small {
  margin-top: 9px;
  color: rgba(255, 255, 255, 0.72);
}

.section {
  padding: clamp(58px, 8vw, 112px) clamp(18px, 5vw, 72px);
}

.intro-grid {
  padding-top: 46px;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(160px, 0.32fr) minmax(0, 0.68fr);
  gap: 24px;
  align-items: end;
  max-width: 1180px;
  margin: 0 auto 34px;
}

.section-heading .eyebrow {
  margin-bottom: 4px;
}

.feature-grid,
.path-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 1180px;
  margin: 0 auto;
}

.feature-card,
.path-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.feature-card {
  min-height: 270px;
  padding: 26px;
  display: grid;
  align-content: space-between;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-tight);
}

.feature-card::after,
.path-card::after {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.feature-card:hover::after,
.feature-card:focus-within::after,
.path-card:hover::after,
.path-card:focus-within::after,
.path-card:focus-visible::after {
  transform: scaleX(1);
}

.feature-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.feature-kicker {
  color: var(--brand-muted);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
}

.feature-number {
  color: var(--line);
  font-size: 2.3rem;
  line-height: 1;
  font-weight: 900;
}

.feature-card p {
  margin: 28px 0 0;
  color: var(--muted);
}

.proof-band {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(300px, 0.58fr);
  gap: clamp(26px, 4vw, 60px);
  align-items: center;
  background: var(--proof-bg);
  color: var(--white);
}

.proof-copy {
  max-width: 710px;
}

.proof-copy p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.74);
  font-size: 1.08rem;
}

.proof-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.proof-stats span {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.72);
}

.proof-stats strong {
  color: var(--white);
}

.text-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--on-proof-link);
  font-weight: 800;
}

.proof-visual {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--soft);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.proof-visual img {
  aspect-ratio: 4 / 3;
  width: 100%;
  object-fit: cover;
}

.evidence-section {
  background: var(--soft);
}

.evidence-list {
  max-width: 1180px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
}

.evidence-row {
  display: grid;
  grid-template-columns: minmax(220px, 1.3fr) minmax(130px, 0.55fr) minmax(160px, 0.7fr) auto;
  gap: 18px;
  align-items: center;
  min-height: 92px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.evidence-row:hover,
.evidence-row:focus-visible {
  color: var(--brand-strong);
}

.row-action {
  justify-self: end;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--brand-muted);
  font-size: 0.78rem;
  font-weight: 900;
}

.evidence-row strong,
.evidence-row small {
  display: block;
}

.evidence-row small {
  margin-top: 4px;
  color: var(--muted);
}

.paths-section {
  background: var(--paper);
}

.path-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.path-card {
  min-height: 210px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.path-card:hover,
.path-card:focus-visible {
  transform: translateY(-4px);
  border-color: var(--brand);
  box-shadow: 0 18px 38px rgba(31, 23, 32, 0.14);
}

.path-card span {
  color: var(--brand-muted);
  font-weight: 800;
  font-size: 0.83rem;
  text-transform: uppercase;
}

.path-card strong {
  font-size: 1.1rem;
  line-height: 1.22;
}

.contact-band {
  background:
    linear-gradient(135deg, rgba(219, 38, 108, 0.18), rgba(219, 38, 108, 0) 42%),
    var(--charcoal);
  color: var(--white);
}

.contact-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) auto;
  gap: 28px;
  align-items: end;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.contact-inner h2 {
  max-width: 760px;
}

.contact-inner p:not(.eyebrow) {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.72);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

@media (max-width: 1100px) {
  h1 {
    font-size: 6.2rem;
  }

  h2 {
    font-size: 3.3rem;
  }

  .hero-copy {
    font-size: 1.24rem;
  }

  .hero-metrics span {
    font-size: 2rem;
  }
}

@media (max-width: 900px) {

  .hero {
    min-height: auto;
    padding-top: 154px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .hero-console {
    display: none;
  }

  .intro-grid {
    padding-top: 36px;
  }

  h1 {
    font-size: 5.2rem;
  }

  h2 {
    font-size: 2.8rem;
  }

  .hero-copy {
    font-size: 1.16rem;
  }

  .hero-metrics,
.contact-inner,
.section-heading,
.feature-grid,
.proof-band,
.evidence-row,
.path-grid {
    grid-template-columns: 1fr;
  }

  .hero-metrics div {
    min-height: 94px;
  }

  .feature-card,
  .path-card {
    min-height: 190px;
  }
}

/* ===========================================
   Internal page layout (COA / research / tools)
   =========================================== */

.page-shell {
  /* Task 9: the shop shell header is in flow (sticky), not fixed — no 132px clearance needed any more. */
  padding: clamp(32px, 5vw, 56px) clamp(18px, 5vw, 72px) 24px;
  background: var(--paper);
  color: var(--ink);
}

.page-shell-inner {
  max-width: 980px;
  margin: 0 auto;
}

.page-shell .breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 0.84rem;
}

.page-shell .breadcrumb a {
  color: var(--brand-muted);
  font-weight: 700;
}

.page-shell .breadcrumb a:hover,
.page-shell .breadcrumb a:focus-visible {
  color: var(--brand-hover);
  text-decoration: underline;
}

:root[data-theme="dark"] .page-shell .breadcrumb a:hover,
:root[data-theme="dark"] .page-shell .breadcrumb a:focus-visible {
  color: var(--link-hover-on-dark);
}

.page-shell .breadcrumb .sep {
  /* var(--line) is a border token — as text it read at 1.2:1 */
  color: var(--muted);
}

.page-shell .page-eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--brand-muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.page-shell h1 {
  max-width: 22ch;
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 820;
  line-height: 1.04;
}

.page-shell .page-dateline {
  margin: 14px 0 0;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.page-shell .lede {
  max-width: 70ch;
  margin: 18px 0 0;
  font-size: 1.12rem;
  color: var(--muted);
}

.page-shell .compliance-strip {
  margin-top: 20px;
  padding: 11px 16px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--brand);
  border-radius: 6px;
  background: var(--soft);
  color: var(--brand-muted);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.content-section {
  padding: clamp(36px, 6vw, 64px) clamp(18px, 5vw, 72px);
  background: var(--paper);
}

.content-section.alt {
  background: var(--soft);
}

.content-inner {
  max-width: 820px;
  margin: 0 auto;
}

.content-inner h2 {
  margin: 0 0 12px;
  font-size: clamp(1.8rem, 3.4vw, 2.4rem);
  font-weight: 820;
}

.content-inner h3 {
  margin: 26px 0 10px;
  font-size: 1.24rem;
  font-weight: 800;
}

.content-inner p,
.content-inner li {
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--ink);
}

.content-inner p {
  margin: 12px 0;
}

.content-inner a {
  color: var(--brand-muted);
  font-weight: 700;
  border-bottom: 1px solid rgba(143, 31, 76, 0.32);
}

:root[data-theme="dark"] .content-inner a {
  color: var(--brand-strong);
  border-bottom-color: rgba(255, 157, 191, 0.42);
}

.content-inner a:hover,
.content-inner a:focus-visible {
  color: var(--brand-hover);
  border-bottom-color: var(--brand-hover);
}

:root[data-theme="dark"] .content-inner a:hover,
:root[data-theme="dark"] .content-inner a:focus-visible {
  /* dark --brand-hover (#c8175a) is a button fill; on dark paper it reads at 3.5:1 */
  color: var(--link-hover-on-dark);
  border-bottom-color: var(--link-hover-on-dark);
}

.content-inner a.button {
  border-bottom: 0;
}

/* Buttons are not body links: the dark `.content-inner a` rule above out-specifies
   `.content-inner a.button-primary`, which painted pink label on pink fill (2.4:1).
   These :root-scoped rules restore the button label colors in both themes. */
.content-inner a.button-primary,
:root[data-theme="dark"] .content-inner a.button-primary,
:root[data-theme="dark"] .content-inner a.button-primary:hover,
:root[data-theme="dark"] .content-inner a.button-primary:focus-visible {
  color: var(--white);
}

.content-inner a.button-secondary {
  /* content sections sit on light surfaces — a white-on-translucent-white
     secondary button is invisible there; render as a brand outline instead */
  border-color: var(--brand);
  background: transparent;
  color: var(--brand-muted);
}

.content-inner a.button-secondary:hover,
.content-inner a.button-secondary:focus-visible {
  background: var(--brand-soft);
}

:root[data-theme="dark"] .content-inner a.button-secondary,
:root[data-theme="dark"] .content-inner a.button-secondary:hover,
:root[data-theme="dark"] .content-inner a.button-secondary:focus-visible {
  color: var(--brand-strong);
}

.content-inner .source-cta a.button-secondary.dark {
  border-color: var(--line);
  background: var(--surface);
  color: var(--ink);
}

.content-inner .source-cta a.button-secondary.dark:hover,
.content-inner .source-cta a.button-secondary.dark:focus-visible {
  background: var(--brand-soft);
  color: var(--brand-muted);
}

.content-inner ul,
.content-inner ol {
  margin: 14px 0;
  padding-left: 22px;
}

.content-inner li {
  margin: 6px 0;
}

/* ===========================================
   COA detail panels
   =========================================== */

.coa-fact-grid {
  display: grid;
  /* minmax(0, …) keeps a long <dt> label (e.g. "Heavy metals (As, Cd, Pb, Hg)")
     from forcing the max-content column past the viewport on narrow screens */
  grid-template-columns: minmax(0, max-content) minmax(0, 1fr);
  gap: 12px 24px;
  margin: 24px 0 0;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, monospace;
  font-size: 0.92rem;
}

.coa-fact-grid dt {
  color: var(--muted);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding-top: 2px;
}

.coa-fact-grid dd {
  margin: 0;
  color: var(--ink);
}

.coa-fact-grid dd code {
  display: inline-block;
  padding: 1px 6px;
  border-radius: 3px;
  background: var(--brand-soft);
  color: var(--brand-muted);
  font-size: 0.86rem;
}

:root[data-theme="dark"] .coa-fact-grid dd code {
  color: var(--brand-strong);
}

.coa-fact-grid .big-purity {
  color: var(--brand);
  font-weight: 800;
  font-size: 1.08rem;
}

/* Two columns of long labels + 12-char keys don't fit a phone — stack them. */
@media (max-width: 620px) {
  .coa-fact-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
  }

  .coa-fact-grid dt {
    padding-top: 12px;
  }

  .coa-fact-grid dt:first-child {
    padding-top: 0;
  }

  .coa-fact-grid dd {
    padding-bottom: 4px;
  }
}

.coa-report-card {
  margin: 24px 0 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.coa-report-card h3 {
  margin: 0 0 8px;
}

.coa-report-card p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 0.95rem;
}

.coa-report-card img {
  width: 100%;
  max-width: 640px;
  height: auto;
  margin: 0 auto 14px;
  border: 1px solid var(--line);
  border-radius: 4px;
}

.coa-report-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.coa-report-actions .button {
  min-height: 42px;
  padding: 10px 16px;
  font-size: 0.9rem;
}

.coa-report-actions .button-secondary {
  border: 1px solid var(--brand);
  background: transparent;
  color: var(--brand-muted);
}

.content-inner .coa-report-actions a.button-secondary {
  color: var(--brand-muted);
}

:root[data-theme="dark"] .coa-report-actions .button-secondary {
  color: var(--brand-strong);
}

.faq-stack {
  margin: 24px 0 0;
  display: grid;
  gap: 10px;
}

.faq-stack details {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  overflow: hidden;
}

.faq-stack summary {
  list-style: none;
  cursor: pointer;
  padding: 14px 18px 14px 22px;
  position: relative;
  font-weight: 700;
  color: var(--ink);
}

.faq-stack summary::-webkit-details-marker {
  display: none;
}

.faq-stack summary::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--brand);
  font-weight: 900;
}

.faq-stack details[open] summary::after {
  content: "\2212";
}

.faq-stack .faq-answer {
  padding: 0 22px 16px;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.65;
}

.faq-stack .faq-answer code {
  padding: 1px 5px;
  border-radius: 3px;
  background: var(--brand-soft);
  color: var(--brand-muted);
  font-size: 0.88rem;
  font-family: ui-monospace, monospace;
}

/* ===========================================
   Source CTA - evidence pathway
   =========================================== */

.source-cta {
  margin: 28px 0 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.source-cta h3 {
  margin: 0 0 6px;
  font-size: 1.04rem;
}

.source-cta p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 0.94rem;
}

.source-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* Evidence authority pages */
.evidence-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 24px 0;
}

.evidence-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.evidence-card h3 { margin: 0 0 8px; }
.evidence-card p { margin: 0; color: var(--muted); }
.evidence-card code { overflow-wrap: anywhere; }

.evidence-notice {
  padding: 18px 20px;
  border-left: 3px solid var(--brand);
  background: var(--soft);
  color: var(--ink);
  margin: 24px 0;
}

.evidence-steps {
  counter-reset: evidence-step;
  display: grid;
  gap: 16px;
  margin: 24px 0;
}

.evidence-step {
  counter-increment: evidence-step;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.evidence-step::before {
  content: counter(evidence-step);
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  font: 600 0.85rem/1 var(--mono);
}

.evidence-step h3 { margin: 2px 0 4px; }
.evidence-step p { margin: 0; color: var(--muted); }

.download-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0;
}

.change-log {
  list-style: none;
  padding: 0;
  margin: 24px 0;
  display: grid;
  gap: 18px;
}

.section-spaced-title {
  margin-top: 36px;
}

.facts-updated {
  margin-top: 16px;
  font-size: 0.85rem;
}

.change-log li {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.change-log time {
  display: block;
  margin-bottom: 8px;
  color: var(--brand);
  font: 500 0.78rem/1.4 var(--mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

@media (max-width: 760px) {
  .evidence-grid { grid-template-columns: 1fr; }
}

.source-cta .button {
  min-height: 44px;
  padding: 10px 16px;
  font-size: 0.92rem;
}

/* ===========================================
   Comparison tables
   =========================================== */

.table-scroll {
  margin: 22px 0 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 8px;
}

.table-scroll .cmp-table {
  margin: 0;
  min-width: 480px;
}

.cmp-table {
  width: 100%;
  margin: 22px 0 0;
  border-collapse: collapse;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  font-size: 0.96rem;
  background: var(--surface);
}

.cmp-table caption {
  margin-bottom: 8px;
  text-align: left;
  font-weight: 700;
  color: var(--muted);
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.cmp-table th,
.cmp-table td {
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

.cmp-table th {
  background: var(--soft);
  color: var(--ink);
  font-weight: 800;
}

.cmp-table tr:last-child th,
.cmp-table tr:last-child td {
  border-bottom: none;
}

@media (max-width: 720px) {
  .cmp-table {
    font-size: 0.88rem;
  }

  .cmp-table th,
  .cmp-table td {
    padding: 10px;
  }
}

/* ===========================================
   Janoshik verification-key copy buttons
   =========================================== */

.key-table-wrap {
  margin: 22px 0 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.key-table {
  min-width: 520px;
}

.key-table td:last-child {
  white-space: nowrap;
}

/* multi-key fact-grid cell (a batch with one report per test) */
.key-copy-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.key-copy-item {
  display: grid;
  gap: 4px;
}

.key-copy-item small {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.key-copy {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--soft);
  color: var(--ink);
  font: inherit;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease;
}

.key-copy:hover,
.key-copy:focus-visible {
  border-color: var(--brand);
  background: var(--brand-soft);
}

.key-copy code {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  color: var(--ink);
}

.key-copy-hint {
  color: var(--brand-muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.key-copy[data-copied="true"] {
  border-color: var(--brand);
  background: var(--brand-soft);
}

.key-copy[data-copied="true"] .key-copy-hint::before {
  content: "Copied \2713";
}

.key-copy[data-copied="true"] .key-copy-hint {
  font-size: 0;
}

.key-copy[data-copied="true"] .key-copy-hint::before {
  font-size: 0.72rem;
}

.key-copy[data-copied="error"] .key-copy-hint::before {
  content: "Select it";
}

.key-copy[data-copied="error"] .key-copy-hint {
  font-size: 0;
}

.key-copy[data-copied="error"] .key-copy-hint::before {
  font-size: 0.72rem;
}

@media (prefers-reduced-motion: reduce) {
  .key-copy {
    transition: none;
  }
}

/* ===========================================
   Phase 3 evidence tracker
   A cardless editorial timeline that keeps source state louder than outcomes.
   =========================================== */

.tracker-hero .page-shell-inner {
  max-width: 980px;
}

.listing-card-featured {
  border-color: rgba(219, 38, 108, 0.42);
  background:
    linear-gradient(135deg, rgba(219, 38, 108, 0.1), transparent 58%),
    var(--surface);
}

.listing-card-featured .label::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 7px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 5px rgba(219, 38, 108, 0.1);
}

.tracker-hero h1 {
  max-width: 15ch;
}

.tracker-intro {
  padding-top: 34px;
  padding-bottom: 34px;
}

.tracker-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.tracker-legend span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.state-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
}

.state-peer {
  background: var(--ok-fill);
}

.state-topline {
  background: var(--brand);
}

.state-pending {
  border: 1px solid var(--muted);
  background: transparent;
}

.tracker-note {
  max-width: 780px;
  margin: 18px 0 0;
  color: var(--muted);
}

.phase-tracker {
  border-top: 1px solid var(--line);
}

.phase-entry {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  border-bottom: 1px solid var(--line);
}

.phase-rail {
  position: relative;
  padding-top: 42px;
  color: var(--brand-muted);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}

.phase-rail::after {
  content: "";
  position: absolute;
  top: 0;
  right: 24px;
  bottom: 0;
  width: 1px;
  background: var(--line);
}

.phase-rail span {
  position: relative;
  z-index: 1;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--paper);
}

.phase-entry-peer .phase-rail span {
  border-color: var(--ok-fill);
  color: var(--ok-fill);
}

.phase-entry-body {
  padding: 40px 0 44px 28px;
}

.phase-entry-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 14px;
}

.phase-entry-topline time,
.pending-label {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.035em;
}

.evidence-state {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.evidence-state-peer {
  border-color: rgba(36, 138, 102, 0.45);
  color: var(--ok);
  background: rgba(36, 138, 102, 0.08);
}

:root[data-theme="dark"] .evidence-state-peer,
:root[data-theme="dark"] .phase-entry-peer .phase-rail span {
  color: var(--ok);
}

.evidence-state-topline {
  border-color: rgba(219, 38, 108, 0.38);
  color: var(--brand-muted);
  background: var(--brand-soft);
}

.phase-entry h2 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(2.15rem, 4vw, 3.65rem);
  font-weight: 500;
  line-height: 0.98;
}

.phase-subtitle {
  max-width: 850px;
  margin: 13px 0 18px;
  color: var(--brand-muted);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.phase-entry-body > p:not(.phase-subtitle) {
  max-width: 850px;
  color: var(--muted);
  font-size: 1.03rem;
}

.phase-sources {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 24px;
  margin-top: 24px;
}

.phase-sources a {
  min-height: 44px;
  padding: 10px 0;
  border-bottom: 1px solid var(--brand);
  color: var(--ink);
  font-weight: 700;
}

.phase-sources a:hover,
.phase-sources a:focus-visible {
  color: var(--brand-muted);
}

.tracker-method .content-inner > h2 {
  max-width: 16ch;
  margin-bottom: 42px;
}

.tracker-method-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-bottom: 54px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.tracker-method-grid > div {
  padding: 28px 26px 26px 0;
}

.tracker-method-grid > div + div {
  padding-left: 26px;
  border-left: 1px solid var(--line);
}

.tracker-method-grid strong {
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 500;
}

.tracker-method-grid p {
  margin: 0;
  color: var(--muted);
}

@media (max-width: 720px) {
  .phase-entry {
    grid-template-columns: 48px minmax(0, 1fr);
  }

  .phase-rail {
    padding-top: 34px;
  }

  .phase-rail::after {
    right: 12px;
  }

  .phase-rail span {
    width: 30px;
    height: 30px;
    font-size: 0.68rem;
  }

  .phase-entry-body {
    padding: 32px 0 38px 16px;
  }

  .phase-entry h2 {
    font-size: clamp(1.7rem, 7.5vw, 2rem);
    white-space: nowrap;
  }

  .phase-entry-topline {
    align-items: flex-start;
    flex-direction: column;
    gap: 9px;
  }

  .tracker-method-grid {
    grid-template-columns: 1fr;
  }

  .tracker-method-grid > div,
  .tracker-method-grid > div + div {
    padding: 22px 0;
    border-left: 0;
  }

  .tracker-method-grid > div + div {
    border-top: 1px solid var(--line);
  }
}

/* ===========================================
   Tool / calculator styles
   =========================================== */

.tool-shell {
  margin: 24px 0 0;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.tool-shell label {
  display: block;
  margin: 0 0 6px;
  font-size: 0.84rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.tool-shell input[type="number"],
.tool-shell input[type="text"],
.tool-shell select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  color: var(--ink);
  font-size: 1rem;
  font-family: inherit;
}

.tool-shell input[type="number"]:focus,
.tool-shell input[type="text"]:focus,
.tool-shell select:focus {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

.tool-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin: 0 0 18px;
}

.tool-output {
  margin: 18px 0 0;
  padding: 18px 20px;
  border: 1px dashed var(--brand);
  border-radius: 6px;
  background: var(--brand-soft);
  font-family: ui-monospace, monospace;
}

.tool-output strong {
  display: block;
  font-size: 1.32rem;
  color: var(--brand-muted);
}

:root[data-theme="dark"] .tool-output strong {
  color: var(--brand-strong);
}

.tool-output small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.84rem;
  font-family: inherit;
}

.tool-disclaimer {
  margin: 18px 0 0;
  font-size: 0.84rem;
  color: var(--muted);
  font-style: italic;
}

/* ===========================================
   Listing pages (COA hub, research hub, tools hub)
   =========================================== */

.listing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin: 24px 0 0;
}

.listing-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
  position: relative;
  overflow: hidden;
}

.listing-card::after {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.listing-card:hover,
.listing-card:focus-visible {
  transform: translateY(-3px);
  border-color: var(--brand);
  box-shadow: var(--shadow-tight);
}

.listing-card:hover::after,
.listing-card:focus-visible::after {
  transform: scaleX(1);
}

.listing-card .label {
  color: var(--brand-muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.listing-card .title {
  font-size: 1.12rem;
  font-weight: 800;
}

.listing-card .meta {
  font-size: 0.88rem;
  color: var(--muted);
}

.listing-card .stat {
  margin-top: 6px;
  font-family: ui-monospace, monospace;
  font-size: 0.92rem;
  color: var(--brand);
  font-weight: 700;
}

/* --brand (#db266c) is a fill colour, not a text colour: 4:1 on the dark surfaces and only 4.0–4.7:1 on the light ones
   (4.0:1 on --surface-2; the QA scan flagged the /updates/ change-log dates). Pink TEXT takes --brand-strong
   (= --brand-text) in both themes: 6.2:1 on white. */
.listing-card .stat,
.change-log time,
.coa-fact-grid .big-purity,
.faq-stack summary::after {
  color: var(--brand-strong);
}

@media (max-width: 620px) {

  .hero {
    padding: 112px 16px 22px;
    background:
      linear-gradient(180deg, rgba(20, 17, 15, 0.92) 0%, rgba(20, 17, 15, 0.8) 58%, rgba(20, 17, 15, 0.5) 100%),
      url("/assets/coa/ret-20-c-2604-001/janoshik-report-ret-20-c-2604-001-purity-1100.webp") center / cover no-repeat;
  }

  h1 {
    font-size: 3.55rem;
  }

  h2 {
    font-size: 2rem;
  }

  .button {
    width: 100%;
    min-height: 46px;
  }

  .hero-copy {
    font-size: 1.08rem;
  }

  .hero-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero-metrics div {
    min-height: 68px;
    padding: 12px 10px;
  }

  .hero-metrics span {
    font-size: 1.28rem;
  }

  .hero-metrics small {
    font-size: 0.72rem;
  }

  .section {
    padding: 54px 16px;
  }

  .intro-grid {
    padding-top: 28px;
  }

  .feature-card,
  .path-card {
    padding: 20px;
  }

  .evidence-row {
    gap: 8px;
    min-height: 0;
  }
}

/* ===========================================
   Remy Research luxury flagship
   =========================================== */

.luxury-hero {
  display: block;
  min-height: 86svh;
  align-items: end;
  padding: 116px clamp(18px, 5vw, 72px) 0;
  isolation: isolate;
  background: var(--proof);
}

.luxury-hero .hero-media {
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    url("/assets/editorial/remy-research-lab-evidence-hero-2026-05-22.webp") center / cover no-repeat;
  transform: scale(1.015);
  animation: hero-breathe 18s ease-in-out infinite alternate;
}

.luxury-hero .hero-shade {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 74% 38%, rgba(219, 38, 108, 0.18), transparent 28%),
    linear-gradient(90deg, rgba(8, 8, 8, 0.96) 0%, rgba(8, 8, 8, 0.83) 34%, rgba(8, 8, 8, 0.34) 72%, rgba(8, 8, 8, 0.72) 100%),
    linear-gradient(180deg, rgba(8, 8, 8, 0.12), var(--proof) 100%);
  pointer-events: none;
}

.luxury-hero::before {
  opacity: 0.42;
  background:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 96px 96px;
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.58), transparent 58%);
}

.luxury-hero::after {
  height: 20%;
  background: linear-gradient(180deg, rgba(8, 8, 8, 0), var(--paper));
}

.luxury-hero-grid {
  grid-template-columns: minmax(0, 840px);
  align-items: end;
  width: min(1280px, 100%);
  min-height: calc(86svh - 116px);
}

.luxury-hero-content {
  max-width: 840px;
  padding-bottom: clamp(112px, 15vh, 140px);
}

.luxury-hero-content > * {
  animation: folio-rise 680ms cubic-bezier(0.22, 0.65, 0.2, 1) both;
}

.luxury-hero-content > :nth-child(1) { animation-delay: 40ms; }
.luxury-hero-content > :nth-child(2) { animation-delay: 90ms; }
.luxury-hero-content > :nth-child(3) { animation-delay: 150ms; }
.luxury-hero-content > :nth-child(4) { animation-delay: 210ms; }
.luxury-hero-content > :nth-child(5) { animation-delay: 270ms; }
.luxury-hero-content > :nth-child(6) { animation-delay: 330ms; }

.luxury-metrics a {
  animation: folio-metric-in 720ms cubic-bezier(0.22, 0.65, 0.2, 1) both;
}

.luxury-metrics a:nth-child(1) { animation-delay: 280ms; }
.luxury-metrics a:nth-child(2) { animation-delay: 350ms; }
.luxury-metrics a:nth-child(3) { animation-delay: 420ms; }

.luxury-hero h1 {
  max-width: 9ch;
  font-size: clamp(4.1rem, 9vw, 7.4rem);
  line-height: 0.78;
  letter-spacing: 0;
  text-wrap: balance;
}

.hero-line {
  margin: 18px 0 0;
  color: var(--on-proof);
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3vw, 3.6rem);
  font-weight: 500;
  line-height: 0.98;
}

.luxury-hero .hero-copy {
  max-width: 620px;
  margin-top: 16px;
  font-size: clamp(1rem, 1.35vw, 1.14rem);
  color: rgba(255, 255, 255, 0.88);
  text-shadow: 0 1px 24px rgba(0, 0, 0, 0.55);
}

.luxury-hero .hero-actions {
  margin-top: 22px;
}

.luxury-hero .compliance-note {
  display: none;
}

.luxury-hero .button {
  min-width: 154px;
}

.button-secondary.glass {
  border-color: rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.04);
}

.luxury-metrics {
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: 100%;
  margin: 0;
  border-width: 1px 0 0;
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.16);
  box-shadow: none;
}

.luxury-metrics a {
  display: block;
  min-height: 104px;
  padding: 22px clamp(18px, 4vw, 72px);
  background: rgba(8, 8, 8, 0.74);
  color: var(--white);
  backdrop-filter: blur(18px);
  transition: background 180ms ease, color 180ms ease;
}

.luxury-metrics a:hover,
.luxury-metrics a:focus-visible {
  background: rgba(219, 38, 108, 0.2);
}

.luxury-metrics span {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(1.2rem, 2vw, 1.95rem);
  line-height: 1;
  text-transform: uppercase;
}

.luxury-metrics small {
  display: block;
  max-width: 24ch;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.68);
}

.evidence-atelier {
  display: grid;
  grid-template-columns: minmax(0, 0.76fr) minmax(320px, 0.54fr);
  gap: clamp(28px, 6vw, 92px);
  align-items: center;
  padding-top: clamp(30px, 4vw, 48px);
  background: var(--paper);
}

.atelier-copy {
  max-width: 790px;
}

.atelier-copy h2 {
  font-size: clamp(3rem, 7vw, 7rem);
  line-height: 0.88;
  text-wrap: balance;
}

.atelier-copy p:not(.eyebrow) {
  max-width: 650px;
  color: var(--muted);
  font-size: 1.12rem;
}

.atelier-proof {
  --proof-x: 50%;
  --proof-y: 50%;
  --proof-rx: 0deg;
  --proof-ry: 0deg;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
  transform-style: preserve-3d;
}

.atelier-proof::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: radial-gradient(circle at var(--proof-x) var(--proof-y), rgba(255, 255, 255, 0.2), transparent 34%);
  opacity: 0;
  transition: opacity 320ms ease;
  pointer-events: none;
}

.atelier-proof:hover::before {
  opacity: 1;
}

.atelier-proof picture {
  position: relative;
  display: block;
  overflow: hidden;
  transform: perspective(900px) rotateX(var(--proof-rx)) rotateY(var(--proof-ry));
  transform-origin: center;
  transition: transform 260ms cubic-bezier(0.22, 0.65, 0.2, 1);
}

.atelier-proof picture::after {
  content: "";
  position: absolute;
  inset: -24% 0 auto;
  height: 24%;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.32), rgba(219, 38, 108, 0.18), transparent);
  opacity: 0;
  transform: translateY(0);
  pointer-events: none;
}

.atelier-proof.is-inspected picture::after {
  animation: proof-scan 1500ms cubic-bezier(0.22, 0.65, 0.2, 1) 180ms both;
}

.atelier-proof img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.proof-caption {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px 18px;
  align-items: center;
  padding: 18px;
  border-top: 1px solid var(--line);
}

.proof-caption span,
.proof-caption a {
  font-family: var(--font-mono);
  font-size: 0.8rem;
}

.proof-caption span {
  color: var(--muted);
}

.proof-caption strong {
  grid-row: 2;
  font-size: 1.5rem;
}

.proof-caption a {
  grid-row: 1 / span 2;
  grid-column: 2;
  color: var(--brand-muted);
  font-weight: 800;
  text-transform: uppercase;
}

.luxury-evidence .evidence-list {
  max-width: 1220px;
}

.luxury-evidence .evidence-row {
  font-family: var(--font-mono);
}

.luxury-evidence .evidence-row strong,
.luxury-evidence .row-action {
  font-family: var(--font-sans);
}

.collection-section {
  background: var(--charcoal);
  color: var(--white);
}

.collection-section .section-heading {
  align-items: start;
}

.collection-section h2 {
  max-width: 760px;
}

.collection-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  max-width: 1220px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.collection-tile {
  position: relative;
  display: grid;
  align-content: space-between;
  min-height: 310px;
  padding: 24px;
  background: var(--proof);
  color: var(--white);
  transition: transform 180ms ease, background 180ms ease;
}

.collection-tile:hover,
.collection-tile:focus-visible {
  z-index: 1;
  transform: translateY(-4px);
  background:
    linear-gradient(145deg, rgba(219, 38, 108, 0.18), rgba(219, 38, 108, 0) 48%),
    var(--proof);
}

.collection-tile svg {
  width: 38px;
  height: 38px;
  color: var(--brand);
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.collection-tile span {
  position: absolute;
  top: 24px;
  right: 24px;
  color: rgba(255, 255, 255, 0.62);
  font-family: var(--font-mono);
}

.collection-tile strong {
  display: block;
  margin-top: 88px;
  font-size: 1.55rem;
  line-height: 1.05;
}

.collection-tile small {
  display: block;
  max-width: 28ch;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.92rem;
}

.status-band {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(310px, 0.42fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: end;
  background:
    linear-gradient(90deg, rgba(219, 38, 108, 0.11), transparent 50%),
    var(--soft);
}

.status-band h2 {
  max-width: 850px;
  font-size: clamp(2.8rem, 6.6vw, 6.6rem);
  line-height: 0.9;
}

.status-panel,
.status-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow-tight);
}

.status-panel {
  padding: 24px;
}

.status-panel p,
.status-card p {
  color: var(--muted);
}

.status-dot-row,
.status-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--brand-muted);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 6px rgba(219, 38, 108, 0.13);
}

.status-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.status-shell {
  padding-top: 164px;
  background:
    linear-gradient(100deg, rgba(8, 8, 8, 0.94), rgba(8, 8, 8, 0.72)),
    url("/assets/editorial/remy-research-lab-evidence-hero-2026-05-22.webp") center / cover no-repeat;
  color: var(--white);
}

.status-shell .breadcrumb,
.status-shell .lede {
  color: rgba(255, 255, 255, 0.72);
}

.status-shell .breadcrumb a,
.status-shell .page-eyebrow {
  color: var(--on-proof-link);
}

.status-shell .compliance-strip {
  width: fit-content;
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.82);
}

.status-content {
  background: var(--paper);
}

.status-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  max-width: 1100px;
}

.status-card {
  display: grid;
  align-content: start;
  gap: 14px;
  min-height: 320px;
  padding: clamp(22px, 4vw, 36px);
}

.status-card h2 {
  margin: 0;
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  line-height: 0.95;
}

@keyframes hero-rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes folio-rise {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes folio-metric-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes proof-scan {
  0% {
    opacity: 0;
    transform: translateY(0);
  }

  18% {
    opacity: 0.72;
  }

  82% {
    opacity: 0.5;
  }

  100% {
    opacity: 0;
    transform: translateY(620%);
  }
}

@keyframes hero-breathe {
  from {
    transform: scale(1.015);
  }

  to {
    transform: scale(1.055);
  }
}

@media (prefers-reduced-motion: reduce) {
  .luxury-hero .hero-media,
  .luxury-hero-content,
  .luxury-hero-content > *,
  .luxury-metrics a,
  .atelier-proof.is-inspected picture::after {
    animation: none;
  }

  .atelier-proof picture {
    transform: none;
    transition: none;
  }

  .button,
  .collection-tile,
  .path-card,
  .listing-card {
    transition: none;
  }
}

/* ===========================================
   Best RETA supplier evidence page
   =========================================== */

.supplier-evidence-page {
  background:
    radial-gradient(circle at 82% 12%, rgba(219, 38, 108, 0.18), transparent 30%),
    linear-gradient(180deg, var(--proof) 0%, var(--proof) 58%, var(--proof) 100%);
}

.supplier-evidence-page .page-shell {
  min-height: 100svh;
  padding-top: 118px;
  padding-bottom: 72px;
  background:
    radial-gradient(circle at 78% 30%, rgba(219, 38, 108, 0.18), transparent 28%),
    linear-gradient(120deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 100%),
    var(--proof);
  background-size: auto, 72px 72px, auto;
  color: var(--on-proof);
  overflow: hidden;
  position: relative;
}

.supplier-evidence-page .page-shell::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(219, 38, 108, 0.75), transparent);
}

.supplier-evidence-page .page-shell-inner {
  max-width: 1180px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 390px);
  gap: clamp(28px, 6vw, 76px);
  align-items: center;
}

.supplier-evidence-page .page-shell .breadcrumb,
.supplier-evidence-page .page-shell .page-eyebrow,
.supplier-evidence-page .page-shell h1,
.supplier-evidence-page .page-shell .page-dateline,
.supplier-evidence-page .page-shell .lede,
.supplier-evidence-page .page-shell .compliance-strip {
  grid-column: 1;
}

.supplier-evidence-page .page-shell .page-dateline {
  color: var(--on-dark-muted);
}

.supplier-evidence-page .page-shell .breadcrumb {
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.64);
}

.supplier-evidence-page .page-shell .breadcrumb .sep {
  color: rgba(255, 255, 255, 0.55);
}

.supplier-evidence-page .page-shell .breadcrumb a {
  /* default breadcrumb link color (#8f1f4c) is unreadable on this dark shell */
  color: var(--on-proof-link);
}

.supplier-evidence-page .page-shell .breadcrumb a:hover,
.supplier-evidence-page .page-shell .breadcrumb a:focus-visible,
.status-shell .breadcrumb a:hover,
.status-shell .breadcrumb a:focus-visible {
  color: var(--link-hover-on-dark);
}

.supplier-evidence-page .page-shell .page-eyebrow {
  margin-bottom: 16px;
  color: var(--on-proof-link);
  letter-spacing: 0.11em;
}

.supplier-evidence-page .page-shell h1 {
  max-width: 12.8ch;
  margin: 0;
  font-size: clamp(3.35rem, 8.1vw, 6.9rem);
  line-height: 0.9;
  letter-spacing: 0;
}

.supplier-evidence-page .page-shell .lede {
  max-width: 64ch;
  margin-top: 28px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1.04rem, 1.55vw, 1.24rem);
}

.supplier-evidence-page .page-shell .compliance-strip {
  max-width: 680px;
  margin-top: 24px;
  border-color: rgba(255, 157, 191, 0.38);
  background: rgba(219, 38, 108, 0.08);
  color: var(--on-proof-link);
}

.supplier-proof-card {
  grid-column: 2;
  grid-row: 1 / span 6;
  align-self: stretch;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  height: min(72svh, 680px);
  min-height: 560px;
  padding: 0 0 0 clamp(18px, 2.6vw, 34px);
  border-left: 1px solid rgba(255, 157, 191, 0.28);
  animation: supplier-rise 620ms ease-out both;
}

.supplier-proof-copy {
  padding: 10px 0 22px;
}

.supplier-proof-label {
  display: block;
  margin-bottom: 10px;
  color: var(--on-proof-link);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.supplier-proof-copy strong {
  display: block;
  color: var(--on-proof);
  font-family: var(--font-serif);
  font-size: clamp(3rem, 6vw, 5.4rem);
  font-weight: 700;
  line-height: 0.88;
}

.supplier-proof-copy p {
  max-width: 30ch;
  margin: 18px 0 14px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.98rem;
  line-height: 1.58;
}

.supplier-proof-copy a {
  color: var(--on-proof-link);
  font-weight: 800;
  border-bottom: 1px solid rgba(255, 157, 191, 0.42);
}

.supplier-proof-media {
  min-height: 0;
  overflow: hidden;
  border-radius: 8px 0 0 8px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-right: 0;
  background: var(--proof);
  box-shadow: -28px 34px 110px rgba(219, 38, 108, 0.16);
}

.supplier-proof-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  opacity: 0.86;
  transform: scale(1.035);
  transition: transform 420ms ease, opacity 420ms ease;
}

.supplier-proof-media:hover img,
.supplier-proof-media:focus-visible img {
  opacity: 1;
  transform: scale(1.075);
}

.supplier-evidence-page .content-section {
  background: var(--proof);
  color: var(--on-proof);
}

.supplier-evidence-page .content-section.alt {
  background:
    radial-gradient(circle at 18% 0%, rgba(219, 38, 108, 0.13), transparent 30%),
    var(--proof);
}

.supplier-evidence-page .content-inner {
  max-width: 980px;
}

.supplier-evidence-page .content-inner h2 {
  max-width: 16ch;
  margin-top: 34px;
  color: var(--on-proof);
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  line-height: 0.98;
}

.supplier-evidence-page .content-inner h2:first-child {
  margin-top: 0;
}

.supplier-evidence-page .content-inner p,
.supplier-evidence-page .content-inner li {
  color: rgba(255, 255, 255, 0.78);
}

.supplier-evidence-page .content-inner strong {
  color: var(--on-proof);
}

/* This page is dark in both themes — light-theme link/purity tokens fail on it. */
.supplier-evidence-page .content-inner a:not(.button) {
  color: var(--on-proof-link);
  border-bottom-color: rgba(255, 157, 191, 0.42);
}

.supplier-evidence-page .content-inner a:not(.button):hover,
.supplier-evidence-page .content-inner a:not(.button):focus-visible {
  color: var(--link-hover-on-dark);
  border-bottom-color: var(--link-hover-on-dark);
}

.supplier-evidence-page .coa-fact-grid .big-purity {
  color: var(--on-proof-link);
}

.supplier-evidence-page .cmp-table {
  margin-top: 28px;
  border-color: rgba(255, 255, 255, 0.12);
  background: transparent;
  border-radius: 0;
}

.supplier-evidence-page .cmp-table caption {
  color: var(--on-proof-link);
}

.supplier-evidence-page .cmp-table th,
.supplier-evidence-page .cmp-table td {
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

.supplier-evidence-page .cmp-table thead th {
  background: rgba(219, 38, 108, 0.14);
  color: var(--on-proof); /* .cmp-table th uses var(--ink) — dark-on-dark here in light theme */
}

.supplier-evidence-page .cmp-table tbody th,
.supplier-evidence-page .cmp-table tbody td {
  background: transparent;
  color: rgba(255, 255, 255, 0.78);
  transition: background 180ms ease, color 180ms ease;
}

.supplier-evidence-page .cmp-table tbody tr:hover th,
.supplier-evidence-page .cmp-table tbody tr:hover td {
  background: rgba(219, 38, 108, 0.08);
  color: var(--on-proof);
}

.supplier-evidence-page .coa-fact-grid {
  grid-template-columns: minmax(140px, max-content) 1fr;
  margin-top: 30px;
  border-color: rgba(255, 157, 191, 0.24);
  background: rgba(255, 255, 255, 0.035);
  border-radius: 0;
}

.supplier-evidence-page .coa-fact-grid dt {
  color: rgba(255, 255, 255, 0.54);
}

.supplier-evidence-page .coa-fact-grid dd {
  color: rgba(255, 255, 255, 0.86);
}

.supplier-evidence-page .faq-stack details,
.supplier-evidence-page .source-cta {
  border-color: rgba(255, 255, 255, 0.13);
  background: rgba(255, 255, 255, 0.035);
}

.supplier-evidence-page .faq-stack summary,
.supplier-evidence-page .source-cta h3 {
  color: var(--on-proof);
}

.supplier-evidence-page .faq-stack .faq-answer,
.supplier-evidence-page .source-cta p {
  color: rgba(255, 255, 255, 0.74);
}

.supplier-evidence-page .source-cta {
  margin-top: 34px;
  padding: 28px;
}

.supplier-evidence-page .source-cta .button-secondary.dark {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.04);
  color: var(--on-proof);
}

@keyframes supplier-rise {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  .supplier-evidence-page .page-shell {
    padding-top: 104px;
  }

  .supplier-evidence-page .page-shell-inner {
    grid-template-columns: 1fr;
  }

  .supplier-evidence-page .page-shell .breadcrumb,
  .supplier-evidence-page .page-shell .page-eyebrow,
  .supplier-evidence-page .page-shell h1,
  .supplier-evidence-page .page-shell .lede,
  .supplier-evidence-page .page-shell .compliance-strip,
  .supplier-proof-card {
    grid-column: 1;
  }

  .supplier-proof-card {
    grid-row: 5;
  }

  .supplier-evidence-page .page-shell .lede {
    grid-row: 6;
  }

  .supplier-evidence-page .page-shell .compliance-strip {
    grid-row: 4;
  }

  .supplier-evidence-page .page-shell h1 {
    max-width: 15ch;
    font-size: clamp(3rem, 7vw, 3.8rem);
    line-height: 0.96;
  }

  .supplier-evidence-page .page-shell .lede {
    margin-top: 22px;
  }

  .supplier-evidence-page .page-shell .compliance-strip {
    margin-top: 18px;
  }

  .supplier-proof-card {
    height: auto;
    min-height: 0;
    padding: 18px 0 0;
    border-left: 0;
    border-top: 1px solid rgba(255, 157, 191, 0.26);
  }

  .supplier-proof-media {
    max-height: 360px;
    border-right: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
  }
}

@media (max-width: 620px) {
  .supplier-evidence-page .page-shell {
    padding-top: 128px;
  }

  .supplier-evidence-page .page-shell h1 {
    max-width: 12ch;
    font-size: clamp(2.75rem, 12vw, 3.8rem);
  }

  .supplier-proof-copy strong {
    font-size: clamp(2.8rem, 15vw, 4.2rem);
  }

  .supplier-evidence-page .content-inner h2 {
    max-width: 14ch;
  }
}

@media (max-width: 1100px) {
  .collection-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .evidence-atelier,
  .status-band {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .luxury-hero {
    min-height: 86svh;
    padding-top: 134px;
  }

  .luxury-hero-grid {
    min-height: calc(86svh - 134px);
  }

  .luxury-hero-content {
    padding-bottom: 130px;
  }

  .luxury-metrics {
    width: 100%;
    margin-inline: 0;
  }

  .luxury-metrics a {
    min-height: 104px;
    padding-inline: 18px;
  }

  .status-grid,
  .collection-grid {
    grid-template-columns: 1fr;
  }

  .collection-tile {
    min-height: 230px;
  }

  .proof-caption {
    grid-template-columns: 1fr;
  }

  .proof-caption strong,
  .proof-caption a {
    grid-row: auto;
    grid-column: auto;
  }
}

@media (max-width: 620px) {

  .luxury-hero {
    min-height: 88svh;
    padding: 118px 16px 0;
  }

  .luxury-hero .hero-media {
    background-position: 58% center;
  }

  .luxury-hero .hero-shade {
    background:
      linear-gradient(90deg, rgba(8, 8, 8, 0.94), rgba(8, 8, 8, 0.55)),
      linear-gradient(180deg, rgba(8, 8, 8, 0.18), var(--proof));
  }

  .luxury-hero-grid {
    min-height: calc(88svh - 118px);
  }

  .luxury-hero h1 {
    font-size: clamp(4.3rem, 19vw, 5.4rem);
  }

  .hero-line {
    font-size: clamp(2rem, 12vw, 3rem);
  }

  .luxury-hero .button {
    min-width: 0;
    width: auto;
    flex: 1 1 142px;
  }

  .luxury-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .luxury-metrics a {
    min-height: 86px;
    padding: 12px 10px;
  }

  .luxury-metrics span {
    font-size: 0.9rem;
  }

  .luxury-metrics small {
    font-size: 0.66rem;
    line-height: 1.22;
  }

  .atelier-copy h2,
  .status-band h2 {
    font-size: clamp(2.7rem, 15vw, 4.2rem);
  }

  .evidence-atelier,
  .status-band {
    padding-inline: 16px;
  }

  .collection-tile {
    padding: 22px;
  }

  .status-shell {
    padding-top: 126px;
  }
}

/* Final page-specific lock for the RETA supplier evidence layout. */
body.supplier-evidence-page .page-shell > .page-shell-inner {
  max-width: 1180px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 390px);
  gap: clamp(28px, 6vw, 76px);
  align-items: center;
}

body.supplier-evidence-page .supplier-proof-card {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  height: min(72svh, 680px);
  min-height: 560px;
}

@media (max-width: 900px) {
  body.supplier-evidence-page .page-shell > .page-shell-inner {
    grid-template-columns: 1fr;
  }

  body.supplier-evidence-page .supplier-proof-card {
    height: auto;
    min-height: 0;
  }
}

/* ===========================================
   Mobile nav drawer (JS progressive enhancement)
   =========================================== */

/* ===========================================
   Motion & polish layer (motion.js)
   =========================================== */

[data-motion="on"] .m-reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 760ms cubic-bezier(0.22, 0.65, 0.2, 1),
    transform 760ms cubic-bezier(0.22, 0.65, 0.2, 1);
  transition-delay: var(--m-delay, 0ms);
}

[data-motion="on"] .m-reveal.m-in {
  opacity: 1;
  transform: none;
}

[data-motion="on"] .luxury-hero .hero-media {
  will-change: transform;
}

/* Homepage evidence ledger: a quieter, cardless research index. */
.evidence-ledger {
  counter-reset: evidence-ledger;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.evidence-ledger .evidence-card {
  counter-increment: evidence-ledger;
  display: grid;
  grid-template-columns: 64px minmax(220px, 0.55fr) minmax(0, 1fr);
  gap: clamp(18px, 3vw, 42px);
  align-items: baseline;
  margin: 0;
  padding: 28px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  transition: padding 280ms cubic-bezier(0.22, 0.65, 0.2, 1), background 280ms ease;
}

.evidence-ledger .evidence-card:last-child {
  border-bottom: 0;
}

.evidence-ledger .evidence-card::before {
  content: "0" counter(evidence-ledger);
  color: var(--brand-muted);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}

.evidence-ledger .evidence-card h3,
.evidence-ledger .evidence-card p {
  margin: 0;
}

.evidence-ledger .evidence-card h3 a::after {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-left: 9px;
  border-top: 1px solid var(--brand);
  border-right: 1px solid var(--brand);
  transform: translateY(-2px);
}

.evidence-ledger .evidence-card:hover {
  padding-inline: 16px;
  background: linear-gradient(90deg, var(--brand-soft), transparent 70%);
}

/* Film grain over dark cinematic surfaces only */
[data-motion="on"] .luxury-hero .hero-shade::after,
[data-motion="on"] .collection-section::after,
[data-motion="on"] .contact-band::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 160px 160px;
}

.collection-section,
.contact-band {
  position: relative;
  overflow: hidden;
}

/* ===========================================
   Always-dark bands: token correction
   -------------------------------------------
   .collection-section / .contact-band / .proof-band paint a dark surface in BOTH
   themes, but their children resolve theme tokens. In light theme --brand-muted
   (#8f1f4c) and --soft (#fcf1f5) are light-surface values, so eyebrows went
   dark-maroon-on-charcoal and the source-cta became a pale card carrying inherited
   white text (1.1:1). Pin the on-dark values here regardless of theme.
   =========================================== */

.collection-section .eyebrow,
.contact-band .eyebrow,
.proof-band .eyebrow {
  color: var(--on-proof-link);
}

.collection-section .source-cta {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
}

.collection-section .source-cta h3 {
  color: var(--white);
}

.collection-section .source-cta p {
  color: rgba(255, 255, 255, 0.74);
}

/* .button-secondary.dark is the on-dark variant (white text on a translucent white
   fill). On the light .status-panel card it rendered white-on-white at 1:1. */
.status-panel .button-secondary.dark {
  border-color: var(--line);
  background: var(--surface);
  color: var(--ink);
}

.status-panel .button-secondary.dark:hover,
.status-panel .button-secondary.dark:focus-visible {
  background: var(--brand-soft);
  color: var(--brand-muted);
}

/* Animated nav underline */

/* Primary button pink glow */
.button-primary:hover,
.button-primary:focus-visible {
  box-shadow: 0 12px 34px rgba(219, 38, 108, 0.38);
}

/* Evidence rows: pink hairline marker on hover */
.evidence-row {
  position: relative;
  padding-left: 0;
  transition: padding-left 240ms cubic-bezier(0.22, 0.65, 0.2, 1);
}

.evidence-row::before {
  content: "";
  position: absolute;
  left: 0;
  top: 22px;
  bottom: 22px;
  width: 2px;
  background: var(--brand);
  transform: scaleY(0);
  transition: transform 240ms cubic-bezier(0.22, 0.65, 0.2, 1);
}

.evidence-row:hover,
.evidence-row:focus-visible {
  padding-left: 18px;
}

.evidence-row:hover::before,
.evidence-row:focus-visible::before {
  transform: scaleY(1);
}

/* Slower, more deliberate luxury hover timing */
.collection-tile,
.path-card,
.listing-card {
  transition-duration: 280ms;
  transition-timing-function: cubic-bezier(0.22, 0.65, 0.2, 1);
}

.collection-tile svg {
  transition: transform 280ms cubic-bezier(0.22, 0.65, 0.2, 1);
}

.collection-tile:hover svg,
.collection-tile:focus-visible svg {
  transform: translateY(-3px) scale(1.06);
}

/* Luxury metric strip: pink tick on hover */
.luxury-metrics a {
  position: relative;
}

.luxury-metrics a::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 2px;
  background: var(--brand);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 240ms cubic-bezier(0.22, 0.65, 0.2, 1);
}

.luxury-metrics a:hover::before,
.luxury-metrics a:focus-visible::before {
  transform: scaleY(1);
}

/* Text links: sliding arrow affordance */
.text-link,
.proof-caption a,
.console-link {
  transition: letter-spacing 240ms ease, color 240ms ease;
}

.text-link:hover,
.text-link:focus-visible {
  /* .text-link lives on dark bands — hover must go lighter, not darker */
  color: var(--link-hover-on-dark);
}

.proof-caption a:hover,
.proof-caption a:focus-visible {
  color: var(--brand-hover);
}

:root[data-theme="dark"] .proof-caption a:hover,
:root[data-theme="dark"] .proof-caption a:focus-visible {
  color: var(--link-hover-on-dark);
}

@media (prefers-reduced-motion: reduce) {
  [data-motion="on"] .m-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .evidence-row,
.evidence-row::before,
.luxury-metrics a::before,
.collection-tile svg {
    transition: none;
  }
}

@media (max-width: 760px) {
  .evidence-ledger .evidence-card {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 8px 14px;
    padding: 22px 0;
  }

  .evidence-ledger .evidence-card p {
    grid-column: 2;
  }

  .evidence-ledger .evidence-card:hover {
    padding-inline: 0;
  }
}

/* Tap-target minimums (WCAG 2.5.8): breadcrumbs, evidence-card heading links and
   proof-caption links render ~20px tall at 375px without this. */
.page-shell .breadcrumb a,
.evidence-card h3 a,
.proof-caption a {
  display: inline-block;
  padding-block: 0.35rem;
}

/* ====================================
   Task 9 — evidence-desk sub-header and section footer (DD §6: one shell).
   The folded pages run the shop header/footer (assets/css/shell.css); their own
   header/footer text lives on in these two bands, unchanged.
   =========================================== */
.desk-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0 24px;
  padding: 4px clamp(16px, 4vw, 48px);
  background: var(--surface-1);
  border-bottom: 1px solid var(--line);
  color: var(--text-2);
}
.desk-bar__brand {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  min-height: 44px;
  align-self: center;
  padding-block: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .12em;
  line-height: 1.6;
  text-transform: uppercase;
  color: var(--text-2);
}
.desk-bar__brand strong { font-weight: 500; color: var(--text); }
.desk-bar__mono { display: inline-grid; place-items: center; align-self: center; min-inline-size: 24px; block-size: 20px; padding: 0 3px; border: 1px solid var(--brand); border-radius: 4px; color: var(--brand-text); font-size: 10px; letter-spacing: 0; }
.desk-bar__brand small { font-size: inherit; color: var(--brand-text); }
.desk-bar__links { display: flex; flex-wrap: wrap; align-items: center; gap: 0 4px; margin-inline: -10px; }
.desk-bar__links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 10px;
  border-radius: 8px;
  color: var(--text-2);
  font-family: var(--font-sans);
  font-size: 14px;
  transition: color 120ms ease, background-color 120ms ease;
}
.desk-bar__links a:hover { color: var(--text); background: var(--surface-2); }
.desk-bar__links .desk-bar__action { color: var(--brand-text); font-weight: 500; }

.desk-foot {
  padding: 40px clamp(18px, 5vw, 72px) 28px;
  background: var(--surface-2);
  border-top: 1px solid var(--line);
  color: var(--text-2);
}
.desk-foot__inner,
.desk-foot__bottom { max-width: 1240px; margin: 0 auto; }
.desk-foot__inner { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px 48px; }
.desk-foot__brand { display: inline-flex; min-height: 44px; align-items: center; }
.desk-foot__brand > span { display: inline-flex; align-items: baseline; gap: 8px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.desk-foot__brand strong { font-weight: 500; color: var(--text); }
.desk-foot__brand small { font-size: inherit; color: var(--brand-text); }
.desk-foot__main p { max-width: 46ch; margin: 4px 0 0; font-size: 14px; line-height: 1.6; }
.desk-foot__links { display: flex; flex-wrap: wrap; gap: 8px; align-content: start; }
.desk-foot__links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-1);
  color: var(--text-2);
  font-size: 14px;
}
.desk-foot__links a:hover { border-color: var(--line-2); color: var(--text); }
.desk-foot__links .desk-foot__pill { border-color: var(--brand); color: var(--brand-text); }
.desk-foot__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 16px;
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .04em;
}
@media (min-width: 900px) {
  .desk-foot__inner { grid-template-columns: minmax(240px, .8fr) minmax(0, 1.6fr); }
}
@media (max-width: 719px) {
  .desk-bar { padding-block: 0 4px; }
  .desk-bar__brand { padding-block: 10px 0; }
  .desk-bar__links { flex-wrap: nowrap; max-inline-size: calc(100% + 20px); overflow-x: auto; scrollbar-width: none; }
  /* Owner order 2026-10-06: the scroll strip read as clipped ("Phase 3 tracl") — fade the trailing edge; the end padding
     lets the last link clear the fade once scrolled fully. */
  .desk-bar__links { padding-inline-end: 32px; -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 40px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 40px), transparent); }
  .desk-bar__links a { flex: none; }
}

/* ===========================================================================================================
   Task 13a (2026-10-05) — one design system with the shop (DD §1–§5, §3.8, §3.9).
   The folded remyresearch.com pages keep their own header/footer markup (shell stamping is Task 9's), so this
   layer re-skins them onto the shop tokens: E3 sticky bar with no backdrop-filter, Cormorant display at the
   DD §2.3 scale, Outfit UI, DM Mono tabular numerals for every figure, DD §4 buttons, hairline E0 cards and the
   --proof panel for report scans. Tokens only (scripts/design-drift-check.js). Published figures never move:
   the scroll reveal is switched off for every figure-bearing block below.
   =========================================================================================================== */

/* ── Shell: E3 sticky bar (DD §2.5), theme-aware text ── */
.site-header,
.luxury-header.site-header {
  position: sticky;
  top: 0;
  inset: 0 auto auto 0;
  min-height: 64px;
  padding-block: 10px;
  color: var(--text);
  background: var(--bar);
  border-bottom: 1px solid var(--line);
  box-shadow: none;
}
.site-header::after { content: none; }
.site-header::before { inset: auto 0 -1px; height: 2px; background: var(--brand); }
.brand-mark { color: var(--text); min-height: 44px; }
.brand-mark strong {
  font-family: var(--font-sans);
  font-size: .9375rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.brand-mark small,
:root[data-theme="dark"] .brand-mark small {
  color: var(--text-3);
  font-family: var(--font-mono);
  font-size: var(--fs-label);
  letter-spacing: .12em;
  text-transform: uppercase;
}
.top-nav a,
[data-nav-ready] .site-header .top-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--text-2);
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.top-nav a:hover,
.top-nav a:focus-visible,
[data-nav-ready] .site-header .top-nav a:hover,
[data-nav-ready] .site-header .top-nav a:focus-visible { color: var(--text); }
.top-nav a:not(.nav-action)::after { background: var(--brand); }
.nav-action,
[data-nav-ready] .site-header .top-nav .nav-action {
  padding: 0 14px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-2);
  background: transparent;
  color: var(--text);
}
.nav-action:hover,
.nav-action:focus-visible { border-color: var(--brand-text); color: var(--brand-text); }
.theme-toggle,
.nav-toggle {
  border: 1px solid var(--line-2);
  background: transparent;
  color: var(--text-2);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.theme-toggle:hover,
.theme-toggle:focus-visible,
.nav-toggle:hover,
.nav-toggle:focus-visible { background: var(--surface-3); border-color: var(--line-2); color: var(--text); }
@media (max-width: 900px) {
  .site-header { position: sticky; }
}
@media (max-width: 620px) {
  [data-nav-ready] .site-header .top-nav {
    border: 1px solid var(--line-2);
    border-radius: var(--r-3);
    background: var(--surface-1);
    box-shadow: var(--shadow-e2);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  [data-nav-ready] .site-header .top-nav a { display: flex; min-height: 48px; border-radius: var(--r-2); }
  [data-nav-ready] .site-header .top-nav a:hover,
  [data-nav-ready] .site-header .top-nav a:focus-visible { background: var(--surface-3); }
}
:is(.site-header, .site-footer) :is(a, button):focus-visible,
main :is(a, button, summary, input, select):focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

/* ── Page hero (DD §3.8: eyebrow, h1, dateline, compliance strip) — the header now takes flow space ── */
.page-shell {
  padding: clamp(24px, 5vw, 56px) var(--gutter) clamp(16px, 3vw, 32px);
  background: var(--bg);
}
.page-shell-inner,
.content-inner { max-width: min(var(--container), 52rem); }
.page-shell .breadcrumb { font-family: var(--font-mono); font-size: var(--fs-micro); letter-spacing: .06em; color: var(--text-3); }
.page-shell .breadcrumb a { color: var(--brand-text); font-weight: 400; }
.page-shell .page-eyebrow,
.content-inner .page-eyebrow {
  font-family: var(--font-mono);
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: .12em;
  color: var(--brand-text);
}
h1,
.page-shell h1 {
  font-family: var(--font-serif);
  font-size: var(--fs-h1);
  font-weight: 400;
  letter-spacing: -.01em;
  line-height: 1.05;
  text-wrap: balance;
}
.page-shell h1 { max-width: 24ch; }
.page-shell .page-dateline { font-size: var(--fs-micro); letter-spacing: .06em; color: var(--text-3); }
.page-shell .lede {
  max-width: var(--measure);
  font-size: var(--fs-lead);
  font-weight: 300;
  line-height: 1.6;
  color: var(--text-2);
}
.page-shell .lede strong { color: var(--text); font-weight: 500; }
.page-shell .compliance-strip {
  max-width: var(--measure);
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--brand);
  border-radius: var(--r-2);
  background: var(--surface-1);
  color: var(--text-2);
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  font-weight: 400;
  letter-spacing: .02em;
  line-height: 1.5;
  text-transform: none;
}

/* ── Sections + reading measure ── */
.content-section { padding: var(--section-y) var(--gutter); background: var(--bg); }
.content-section.alt { background: var(--surface-1); border-block: 1px solid var(--line); }
h2,
.content-inner h2 {
  font-family: var(--font-serif);
  font-size: var(--fs-h2);
  font-weight: 400;
  line-height: 1.1;
  text-wrap: balance;
}
.content-inner h2 { margin: var(--s-12) 0 var(--s-4); }
.content-inner > h2:first-child,
.content-inner > .page-eyebrow:first-child + h2 { margin-top: 0; }
.content-inner h3 { font-family: var(--font-sans); font-size: var(--fs-h3); font-weight: 500; line-height: 1.25; }
.content-inner p,
.content-inner li { font-size: 1.0625rem; line-height: 1.7; color: var(--text-2); max-width: var(--measure); }
.content-inner :is(p, li) strong { color: var(--text); font-weight: 600; }
.content-inner a,
:root[data-theme="dark"] .content-inner a {
  color: var(--brand-text);
  font-weight: 500;
  border-bottom-color: color-mix(in srgb, var(--brand-text) 40%, transparent);
}
/* The merged shop record's section labels are h2s: give them the h2 voice (they inherited h2 size + .25em tracking). */
.content-inner h2.section-label {
  display: block;
  margin: var(--s-12) 0 var(--s-4);
  color: var(--text);
  font-family: var(--font-serif);
  font-size: var(--fs-h2);
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}
.content-inner h2.section-label::before { content: none; }

/* ── Buttons (DD §4): primary brand fill, secondary hairline; no lift ── */
.button {
  min-height: 48px;
  padding: 0 20px;
  border-radius: var(--r-2);
  font-family: var(--font-sans);
  font-size: .9375rem;
  font-weight: 600;
  letter-spacing: 0;
  transition: background-color var(--d-1) var(--ease-out), border-color var(--d-1) var(--ease-out), color var(--d-1) var(--ease-out);
}
.button:hover,
.button:focus-visible { transform: none; }
.button-primary,
.content-inner a.button-primary,
:root[data-theme="dark"] .content-inner a.button-primary { background: var(--brand); color: var(--on-brand); border: 1px solid var(--brand); }
.button-primary:hover,
.content-inner a.button-primary:hover { background: var(--brand-hover); border-color: var(--brand-hover); }
.button-primary:active { transform: translateY(1px); box-shadow: var(--glow-brand); }
.button-secondary,
.button-secondary.dark,
.content-inner a.button-secondary,
:root[data-theme="dark"] .content-inner a.button-secondary,
.content-inner .source-cta a.button-secondary.dark,
.coa-report-actions .button-secondary,
:root[data-theme="dark"] .coa-report-actions .button-secondary {
  border: 1px solid var(--line-2);
  background: transparent;
  color: var(--text);
}
.button-secondary:hover,
.button-secondary:focus-visible,
.content-inner a.button-secondary:hover,
:root[data-theme="dark"] .content-inner a.button-secondary:hover,
.content-inner .source-cta a.button-secondary.dark:hover { border-color: var(--brand-text); color: var(--brand-text); background: transparent; }
/* The merged shop record's report buttons (inline .coa-btn): Outfit 600, sentence case, brand fill / hairline. */
:root .content-inner a.coa-btn {
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--brand);
  border-radius: var(--r-2);
  background: var(--brand);
  color: var(--on-brand);
  font-family: var(--font-sans);
  font-size: .875rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}
:root .content-inner a.coa-btn:hover { background: var(--brand-hover); border-color: var(--brand-hover); opacity: 1; }
:root .content-inner a.coa-btn.coa-btn-outline { background: transparent; border-color: var(--line-2); color: var(--text); }
:root .content-inner a.coa-btn.coa-btn-outline:hover { border-color: var(--brand-text); color: var(--brand-text); }

/* ── Evidence components: E0 cards, mono tabular figures ── */
.coa-fact-grid,
.coa-batch-fact-dl,
.key-table-wrap,
.table-scroll,
.evidence-notice,
.source-cta,
.faq-stack details,
.listing-card,
.status-card,
.coa-next-card,
#batch-record .coa-report-card {
  border: 1px solid var(--line);
  border-radius: var(--r-3);
  box-shadow: none;
}
.coa-fact-grid,
.coa-batch-fact-dl,
.source-cta,
.faq-stack details,
.listing-card,
.status-card,
.coa-next-card { background: var(--surface-1); }
.coa-fact-grid dd,
.coa-batch-fact-dl dd,
.coa-report-card-value,
.coa-report-card-key,
.key-table td,
.cmp-table td,
.coa-batch-headline code,
.phase-entry time,
.phase-rail span {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}
.coa-fact-grid .big-purity,
:root[data-theme="dark"] .coa-fact-grid .big-purity,
.coa-batch-fact-dl dd .big-purity { color: var(--brand-text); font-weight: 500; }
.evidence-notice { background: var(--surface-2); border-left: 4px solid var(--brand); }
.table-scroll,
.key-table-wrap { overflow-x: auto; background: var(--surface-1); }
.cmp-table th,
.key-table th { background: var(--surface-3); color: var(--text); }
.faq-stack summary { min-height: 48px; }

/* Report scans sit in --proof panels (dark in both themes — the scans are white paper; DD §2.2 / §3.8).
   main-prefixed: the merged record's inline `#batch-record .coa-report-card` loads after this sheet. */
.coa-report-card,
main #batch-record .coa-report-card {
  background: var(--proof);
  color: var(--on-proof);
  border-radius: var(--r-4);
}
.coa-report-card :is(h3, .coa-report-card-title) { color: var(--on-proof); }
.coa-report-card :is(p, .coa-report-card-value, .coa-report-card-key) { color: var(--on-proof-2); }
.coa-report-card :is(.coa-report-card-kicker, .coa-report-card-key code) { color: var(--on-proof-link); }
.coa-report-card-key code { background: transparent; padding: 0; }
.coa-report-card a:not(.button):not(.coa-btn):not(.coa-report-card-thumb),
.content-inner .coa-report-card a:not(.button):not(.coa-btn):not(.coa-report-card-thumb) { color: var(--on-proof-link); }
.coa-report-card .button-secondary,
.content-inner .coa-report-card a.button-secondary,
:root[data-theme="dark"] .content-inner .coa-report-card a.button-secondary,
:root .content-inner .coa-report-card a.coa-btn.coa-btn-outline { background: transparent; color: var(--on-proof); border-color: color-mix(in srgb, var(--on-proof) 30%, transparent); }
.coa-report-card img { border-color: color-mix(in srgb, var(--on-proof) 12%, transparent); }
.coa-report-card-thumb img { object-fit: contain; }      /* scans are never cropped (DD §3.8) */

/* ── Footer: quiet, tokenised ── */
.site-footer { background: var(--surface-1); color: var(--text-2); border-top: 1px solid var(--line); }
.site-footer p { color: var(--text-2); }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--text-2); }
.footer-links a:hover,
.footer-links a:focus-visible { color: var(--brand-text); }

/* ── Motion: published figures are never animated (carry from Task 13 brief) ── */
[data-motion="on"] :is(.coa-fact-grid, .coa-batch-fact-dl, .coa-report-card, .coa-reports-grid, .key-table-wrap,
  .table-scroll, .cmp-table, .status-grid > *, .listing-grid > *, .phase-entry, .coa-batch-headline, .lede).m-reveal,
[data-motion="on"] .content-inner > :is(p, h2, h3, ul, ol).m-reveal:has(code, strong, .coa-pink) {
  opacity: 1;
  transform: none;
  transition: none;
}
.listing-card,
.status-card,
.coa-next-card,
.evidence-row { transition: border-color var(--d-1) var(--ease-out), background-color var(--d-1) var(--ease-out); }
.listing-card:hover,
.status-card:hover,
.coa-next-card:hover { transform: none; border-color: var(--line-2); }

/* ── Touch targets ≥44px (DD §5): breadcrumbs, short nav labels, key copy buttons ── */
.page-shell .breadcrumb a {
  display: inline-flex;
  align-items: center;
  /* I2b: start, not center — a short label ("Home") centred in its 44px box sat indented from the page edge. */
  justify-content: flex-start;
  min-height: 44px;
  min-width: 44px;
  padding-block: 0;
}
.top-nav a { min-width: 44px; justify-content: center; }
.key-copy { min-height: 44px; }

/* ── Fix round 1 (rendered-contrast sweep, light theme) ── */
/* --text-3 on the light ground is 4.39:1 (DD §2.2: large text only) — small meta text steps up to --text-2. */
:root[data-theme="light"] :is(.brand-mark small, .page-shell .breadcrumb > span, .page-shell .page-dateline, .footer-brand small) { color: var(--text-2); }
/* Footer meta was fixed white at .5–.58 alpha (invisible on the light footer). */
.footer-brand,
.footer-brand small,
.footer-bottom,
.footer-bottom span { color: var(--text-2); }
/* /status/ keeps its dark photographic band in both themes (the layer's .page-shell ground had flattened it, leaving
   its fixed-white title on the light ground): restore the band, on-proof text on it. */
.page-shell.status-shell {
  background:
    linear-gradient(100deg, rgb(var(--shade-rgb) / .94), rgb(var(--shade-rgb) / .78)),
    url("/assets/editorial/remy-research-lab-evidence-hero-2026-05-22.webp") center / cover no-repeat;
  color: var(--on-proof);
}
.page-shell.status-shell h1 { color: var(--on-proof); }
/* :root lifts this to (0,4,1) so it also beats the light-theme --text-2 rule for `.page-shell .breadcrumb > span` above —
   without it the current crumb ("Status") painted --text-2 on the dark band at 2.4:1. */
:root .page-shell.status-shell :is(.lede, .breadcrumb, .breadcrumb > span, .breadcrumb .sep) { color: var(--on-proof-2); }
.page-shell.status-shell :is(.breadcrumb a, .page-eyebrow) { color: var(--on-proof-link); }
.page-shell.status-shell .compliance-strip { background: transparent; color: var(--on-proof-2); border-color: color-mix(in srgb, var(--on-proof) 18%, transparent); border-left-color: var(--brand); }
/* Keys on --proof cards: the merged inline block tints them --brand-soft (light pink in light theme) under pink text. */
main #batch-record .coa-report-card-key code,
main .coa-report-card .coa-report-card-key code { background: transparent; color: var(--on-proof-link); }
.page-shell .breadcrumb { align-items: center; }

/* Design batch 2 (#22): desk shells that do not load global.css (e.g. /tools/clicks-to-mg/) still get lining figures. */
h1, h2, h3 { font-variant-numeric: lining-nums; }
