@font-face {
  font-display: swap;
  font-family: 'Libertinus Serif';
  src: url('../../public/fonts/LibertinusSerif-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-display: swap;
  font-family: 'Libertinus Serif';
  src: url('../../public/fonts/LibertinusSerif-Italic.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
}

@font-face {
  font-display: swap;
  font-family: 'Libertinus Serif';
  src: url('../../public/fonts/LibertinusSerif-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
}

/* Latin subsets take precedence; full faces above retain other glyphs. */
@font-face {
  font-display: swap;
  font-family: 'Libertinus Serif';
  src: url('../../public/fonts/LibertinusSerif-Regular-latin.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  unicode-range: U+0000-024F, U+1E00-1EFF, U+2000-206F, U+20A0-20CF, U+2100-214F, U+2190-21FF, U+FFFD;
}

@font-face {
  font-display: swap;
  font-family: 'Libertinus Serif';
  src: url('../../public/fonts/LibertinusSerif-Italic-latin.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  unicode-range: U+0000-024F, U+1E00-1EFF, U+2000-206F, U+20A0-20CF, U+2100-214F, U+2190-21FF, U+FFFD;
}

@font-face {
  font-display: swap;
  font-family: 'Libertinus Serif';
  src: url('../../public/fonts/LibertinusSerif-SemiBold-latin.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  unicode-range: U+0000-024F, U+1E00-1EFF, U+2000-206F, U+20A0-20CF, U+2100-214F, U+2190-21FF, U+FFFD;
}

@font-face {
  font-display: swap;
  font-family: 'Share Tech Mono';
  src: url('../../public/fonts/ShareTechMono-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
}

:root {
  --caeliai-white: #ffffff;
  --caeliai-charcoal: #2a2a2c;
  --caeliai-sage: #b5d6c0;
  --caeliai-black: #0a0a0b;
  --caeliai-red: #ff3e3e;
  --caeliai-line: rgba(42, 42, 44, 0.18);
  --caeliai-line-strong: rgba(42, 42, 44, 0.7);
  --caeliai-bg: #ffffff;
  --caeliai-sage-wash: rgba(181, 214, 192, 0.12);
  --font-serif: 'Libertinus Serif', serif;
  --font-mono: 'Share Tech Mono', monospace;
  --page-max: 1220px;
  --content-max: 920px;
  --frame-size: 30px;
  --frame-border: 1.5px;
  --section-gap: clamp(4.5rem, 9vw, 8rem);
  --page-pad: clamp(1rem, 3vw, 1.8rem);
  --shadow-soft: 0 18px 44px rgba(10, 10, 11, 0.08);
}

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

html {
  scroll-behavior: smooth;
  font-size: 106.25%;
}

body {
  margin: 0;
  min-width: 0;
  background: var(--caeliai-bg);
  color: var(--caeliai-black);
  font-family: var(--font-serif);
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

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

::selection {
  background: rgba(181, 214, 192, 0.55);
}

.site-shell {
  position: relative;
  overflow-x: clip;
}

.site-shell::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(181, 214, 192, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(181, 214, 192, 0.09) 1px, transparent 1px);
  background-size: 84px 84px;
  mask-image: radial-gradient(circle at center, black, transparent 82%);
  opacity: 0.1;
}

/* the hidden attribute always wins, even against .button display rules */
[hidden] {
  display: none !important;
}

/* anchored sections land below the sticky header */
[id] {
  scroll-margin-top: calc(var(--header-offset, 76px) + 0.75rem);
}

.container {
  width: min(calc(100% - (var(--page-pad) * 2)), var(--page-max));
  margin: 0 auto;
}

.content-width {
  width: min(100%, var(--content-max));
}

.narrow {
  width: min(100%, 860px);
}

.container.narrow {
  width: min(calc(100% - (var(--page-pad) * 2)), 860px);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(42, 42, 44, 0.08);
}

.site-header__inner,
.site-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
}

.wordmark img {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.wordmark__text {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.wordmark__title {
  font-size: 1.08rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-family: var(--font-mono);
}

.wordmark__meta {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(42, 42, 44, 0.68);
  font-family: var(--font-mono);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.site-nav a {
  position: relative;
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding-bottom: 0.3rem;
}

.site-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: rgba(42, 42, 44, 0.42);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a[aria-current='page']::after {
  transform: scaleX(1);
}

.section {
  padding: var(--section-gap) 0;
}

.section--tight {
  padding: clamp(3rem, 6vw, 4.5rem) 0;
}

.eyebrow,
.section-label,
.meta-list,
.metric__label,
.chip,
.button,
.signal-note__label,
.inline-meta,
.figure-card__label,
.footer-note {
  font-family: var(--font-mono);
}

.eyebrow,
.section-label {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.35rem 0.6rem;
  border: 1px solid rgba(42, 42, 44, 0.22);
  background: transparent;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero {
  position: relative;
  padding-top: clamp(3.5rem, 7vw, 6rem);
}

.hero__wide {
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.hero__headline {
  margin: 0;
  max-width: 16ch;
  font-size: clamp(3rem, 7.5vw, 6.4rem);
  line-height: 0.92;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(260px, 0.6fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.hero__grid--balanced {
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.9fr);
}

.hero__copy {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.hero__lede {
  max-width: 58ch;
  font-size: clamp(1.06rem, 1.4vw, 1.18rem);
  color: rgba(42, 42, 44, 0.9);
}

.hero__lede--statement {
  max-width: 52ch;
  font-size: clamp(1.2rem, 1.8vw, 1.5rem);
  line-height: 1.5;
}

.hero__caption {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  line-height: 1.7;
  color: rgba(42, 42, 44, 0.8);
}

.hero__actions,
.button-row {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.center-row {
  justify-content: center;
}

.broken-frame {
  position: relative;
  border: var(--frame-border) solid var(--caeliai-black);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-soft);
}

.broken-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(135deg, transparent calc(var(--frame-size) - 1px), var(--caeliai-black) calc(var(--frame-size) - 1px), var(--caeliai-black) var(--frame-size), transparent var(--frame-size)),
    linear-gradient(-45deg, transparent calc(var(--frame-size) - 1px), var(--caeliai-black) calc(var(--frame-size) - 1px), var(--caeliai-black) var(--frame-size), transparent var(--frame-size));
  background-position: top right, bottom left;
  background-size: calc(var(--frame-size) + 1px) calc(var(--frame-size) + 1px);
  background-repeat: no-repeat;
  opacity: 1;
}

.signal-card,
.research-feature,
.detail-card,
.outcome-card,
.figure-card,
.quote-panel,
.signal-note,
.process-card {
  padding: 1.35rem;
}

.signal-card {
  display: grid;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.96);
}

.metric-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.metric {
  padding-top: 1rem;
  border-top: 1px solid rgba(42, 42, 44, 0.15);
}

.metric__value {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(1.3rem, 2vw, 1.9rem);
  color: var(--caeliai-black);
}

.metric__label {
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(42, 42, 44, 0.68);
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  border: 1px solid var(--caeliai-line-strong);
  text-decoration: none;
  padding: 0.92rem 1.15rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.76rem;
  background: transparent;
}

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

.button--ghost:hover,
.button--primary:hover {
  transform: translateY(-1px);
}

.button--ghost:hover {
  background: rgba(42, 42, 44, 0.05);
}

.button--primary:hover {
  background: #1b1b1e;
  color: var(--caeliai-white);
}

.plain-hero-title {
  margin: 0;
  max-width: 10.5ch;
  font-size: clamp(2.5rem, 6vw, 5.2rem);
  line-height: 0.94;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.plain-hero-title--wide {
  max-width: 13ch;
}

.hero__lede--direct {
  max-width: 46ch;
  font-size: clamp(1.08rem, 1.5vw, 1.22rem);
}

.signal-card--plain {
  background: rgba(255, 255, 255, 0.96);
}

.surface--sage {
  background: rgba(255, 255, 255, 0.96);
  border-left: 3px solid var(--caeliai-sage);
}

.surface--sage.signal-card,
.surface--sage.signal-card--plain,
.surface--sage.quote-panel,
.surface--sage.process-card,
.surface--sage.research-feature,
.surface--sage.signal-note {
  background: rgba(255, 255, 255, 0.96);
  border-left: 3px solid var(--caeliai-sage);
}

.direct-list {
  display: grid;
  gap: 0.8rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.direct-list li {
  padding-top: 0.8rem;
  border-top: 1px solid rgba(42, 42, 44, 0.14);
  font-size: 0.98rem;
}

.direct-list strong {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(42, 42, 44, 0.62);
}


.section-heading {
  display: grid;
  gap: 1rem;
  margin-bottom: 2rem;
}

.section-heading h2,
.detail-hero h1,
.figure-card h3,
.quote-panel h3,
.process-card h3,
.research-feature h3 {
  margin: 0;
  font-size: clamp(1.6rem, 2.6vw, 2.5rem);
  line-height: 1.08;
  text-wrap: balance;
}

.section-heading p,
.detail-copy,
.research-feature p,
.signal-card p,
.figure-card p,
.quote-panel p,
.process-card p {
  margin: 0;
}

.section-heading p,
.hero__lede,
.hero__caption,
.research-feature p,
.process-card p,
.quote-panel p {
  max-width: 62ch;
}

.note-cloud,
.process-grid,
.research-grid,
.detail-grid,
.gallery-grid,
.quote-grid {
  display: grid;
  gap: 1rem;
}

.note-cloud {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: start;
}

.signal-note {
  min-height: 100%;
  padding: 1.1rem 1.2rem;
  background: rgba(255, 255, 255, 0.96);
  --frame-size: 0px;
  border-width: 1px;
  box-shadow: none;
}

.signal-note::after {
  display: none;
}

.signal-note__label {
  display: block;
  margin-bottom: 0.7rem;
  color: rgba(42, 42, 44, 0.72);
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.signal-note--wide {
  grid-column: span 7;
}

.signal-note--mid {
  grid-column: span 5;
}

.signal-note--tight {
  grid-column: span 4;
}

.research-grid,
.detail-grid,
.quote-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.research-feature,
.detail-card,
.quote-panel,
.process-card,
.figure-card {
  display: grid;
  gap: 0.9rem;
}

.research-feature {
  padding: 1.6rem 1.5rem;
  border-top: 3px solid var(--caeliai-charcoal);
}

.process-card {
  border-top: 2px solid var(--caeliai-line-strong);
}

.inline-meta {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
  color: rgba(42, 42, 44, 0.66);
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.chip {
  display: inline-flex;
  width: fit-content;
  padding: 0.28rem 0.5rem;
  border: 1px solid rgba(42, 42, 44, 0.2);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.lede-block {
  display: grid;
  gap: 1.2rem;
  max-width: 64ch;
}

.detail-hero {
  display: grid;
  gap: 1.2rem;
}

.back-link {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.back-link::before {
  content: '\2190';
}

.detail-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
}

.detail-kpi {
  padding: 1rem;
  border-top: 1px solid rgba(42, 42, 44, 0.16);
}

.detail-kpi strong {
  display: block;
  font-family: var(--font-mono);
  color: var(--caeliai-black);
  font-size: 1.35rem;
  margin-bottom: 0.3rem;
}

.detail-kpis--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.detail-kpis--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.figure-card img,
.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 1px solid rgba(42, 42, 44, 0.14);
}

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

.media-frame {
  aspect-ratio: 0.84;
  background: rgba(255, 255, 255, 0.97);
}

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

.stack-grid {
  display: grid;
  gap: 1rem;
}

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

.simple-card {
  display: grid;
  gap: 0.9rem;
  padding: 1.4rem;
  background: rgba(255, 255, 255, 0.96);
}

.card-label {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(42, 42, 44, 0.62);
}

.simple-card h3 {
  margin: 0;
  font-size: clamp(1.2rem, 2vw, 1.65rem);
  line-height: 1.12;
}

.simple-card p {
  margin: 0;
}

.bullet-list {
  display: grid;
  gap: 0.75rem;
  padding-left: 1.1rem;
  margin: 0;
}

.bullet-list--spacious {
  gap: 1rem;
}

.metric-band {
  display: grid;
  gap: 1rem;
  padding: 1.4rem;
  background: rgba(255, 255, 255, 0.96);
}

.metric-block {
  padding-top: 0.85rem;
  border-top: 1px solid rgba(42, 42, 44, 0.16);
}

.metric-value {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  color: var(--caeliai-black);
}

.metric-label {
  display: block;
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(42, 42, 44, 0.68);
}

.video-frame {
  padding: 1.6rem;
  background: rgba(255, 255, 255, 0.96);
}

.video-placeholder {
  display: grid;
  gap: 1rem;
  align-items: center;
  justify-items: center;
  text-align: center;
  padding: clamp(2.5rem, 6vw, 4rem);
  border: 1px dashed rgba(42, 42, 44, 0.2);
}

.video-placeholder__eyebrow {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(42, 42, 44, 0.64);
}

.video-placeholder h3,
.video-placeholder p {
  margin: 0;
  max-width: 48ch;
}

.single-panel {
  padding: 1.6rem;
  background: rgba(255, 255, 255, 0.96);
}

.faq-list {
  display: grid;
  gap: 0.9rem;
}

.faq-item {
  padding: 1.1rem 1.2rem;
  background: rgba(255, 255, 255, 0.96);
}

.faq-item summary {
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  list-style: none;
}

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

.faq-item p {
  margin: 0.75rem 0 0;
}

.final-cta {
  padding-bottom: clamp(5rem, 10vw, 8rem);
}

.final-cta__panel {
  display: grid;
  gap: 1.2rem;
  padding: clamp(2rem, 4vw, 2.8rem);
  text-align: center;
}

.final-cta__panel.surface--sage {
  border-left: var(--frame-border) solid var(--caeliai-black);
}

.final-cta__row {
  border-top: 2px solid var(--caeliai-black);
  padding-top: clamp(1.6rem, 3.5vw, 2.4rem);
  display: grid;
  gap: 1.1rem;
  justify-items: start;
}

.final-cta__row h2 {
  margin: 0;
}

.final-cta__row p {
  margin: 0;
  max-width: 52ch;
}

.quote-grid {
  align-items: start;
}

.quote-panel {
  background: rgba(255, 255, 255, 0.96);
  padding: 2rem 1.8rem;
  --frame-size: 22px;
}

.quote-panel blockquote {
  margin: 0;
  font-size: clamp(1.1rem, 1.8vw, 1.5rem);
  line-height: 1.25;
  font-style: italic;
  border-left: 3px solid var(--caeliai-black);
  padding-left: 1.2rem;
}

.study-quote {
  font-style: italic;
  border-left: 3px solid var(--caeliai-black);
  padding-left: 1.2rem;
}

.footer-note {
  margin-top: 0.8rem;
  color: rgba(42, 42, 44, 0.62);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.site-footer {
  padding: 0 0 2.5rem;
  margin-top: var(--section-gap);
}

.site-footer__inner {
  padding-top: 1.25rem;
  border-top: 1px solid rgba(42, 42, 44, 0.08);
}

.study-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(300px, 0.84fr);
  gap: clamp(1.2rem, 4vw, 2.6rem);
  align-items: start;
}

.study-hero__copy {
  position: relative;
  display: grid;
  gap: 1.2rem;
  min-width: 0;
}

.study-hero__lede {
  max-width: 54ch;
}

.study-hero__aside,
.study-stack {
  display: grid;
  gap: 1rem;
}

.study-motion {
  margin-top: 1.35rem;
}

.study-summary-grid,
.consensus-grid,
.study-media-grid {
  display: grid;
  gap: 1rem;
}

.study-summary-grid,
.consensus-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

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

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

.study-card {
  position: relative;
  overflow: hidden;
}

.study-card > * {
  position: relative;
  z-index: 1;
}


.study-media {
  display: grid;
  gap: 0.75rem;
}

.study-media__frame {
  aspect-ratio: 0.8;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.97);
}

.study-media__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.study-media__label,
.study-media__meta,
.consensus-item__meta {
  font-family: var(--font-mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.study-media__label {
  font-size: 0.72rem;
  color: rgba(42, 42, 44, 0.68);
}

.study-media__meta,
.consensus-item__meta {
  font-size: 0.7rem;
  color: rgba(42, 42, 44, 0.56);
}

.consensus-item {
  display: grid;
  gap: 0.75rem;
}

.consensus-item__bar {
  height: 8px;
  background: rgba(42, 42, 44, 0.08);
  border: 1px solid rgba(42, 42, 44, 0.12);
  overflow: hidden;
}

.consensus-item__fill {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, rgba(42, 42, 44, 0.15), rgba(42, 42, 44, 0.35));
}

.study-quote {
  margin: 0;
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  line-height: 1.28;
}

.footer-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

@media (max-width: 1024px) {
  .hero__grid,
  .study-hero,
  .study-summary-grid,
  .consensus-grid,
  .research-grid,
  .detail-grid,
  .quote-grid {
    grid-template-columns: 1fr;
  }

  .process-grid,
  .gallery-grid,
  .study-media-grid,
  .study-media-grid--four,
  .detail-kpis,
  .stack-grid--three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .signal-note--wide,
  .signal-note--mid,
  .signal-note--tight {
    grid-column: span 6;
  }
}

@media (max-width: 720px) {
  :root {
    --frame-size: 18px;
    --frame-border: 1px;
  }

  .site-header__inner,
  .site-footer__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .plain-hero-title {
    font-size: clamp(2rem, 11vw, 3.7rem);
    max-width: 12ch;
  }

  .metric-list,
  .process-grid,
  .gallery-grid,
  .detail-kpis,
  .stack-grid--three {
    grid-template-columns: 1fr;
  }

  .study-media-grid,
  .study-media-grid--four {
    grid-template-columns: 1fr;
  }

  .note-cloud {
    grid-template-columns: 1fr;
  }

  .signal-note--wide,
  .signal-note--mid,
  .signal-note--tight {
    grid-column: auto;
  }

  .site-nav {
    gap: 0.75rem;
  }

  .hero__headline {
    font-size: clamp(2.2rem, 11vw, 3.8rem);
  }

  .button {
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }

  .study-hero__copy {
    gap: 0.9rem;
  }
}

/* Advisory: no sage grid wash — keeps hero/sections on true white (avoids cream/yellow read) */
body.site-shell.page-advisory::before {
  display: none;
}

/* Advisory page: larger type and CTA */
.page-advisory .hero__lede--direct {
  font-size: clamp(1.2rem, 1.8vw, 1.42rem);
  line-height: 1.6;
}

.page-advisory .process-card h3 {
  font-size: clamp(1.35rem, 2.2vw, 1.8rem);
}

.page-advisory .process-card p {
  font-size: clamp(1.02rem, 1.3vw, 1.12rem);
  line-height: 1.65;
}

.page-advisory .chip {
  font-size: 0.78rem;
}

.page-advisory .final-cta__panel {
  padding: clamp(2.5rem, 5vw, 3.8rem);
}

.page-advisory .final-cta__panel h2 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  line-height: 1.05;
}

.page-advisory .final-cta__panel p {
  font-size: clamp(1.1rem, 1.5vw, 1.25rem);
  line-height: 1.6;
}

.page-advisory .button--primary {
  padding: 1.2rem 2.2rem;
  font-size: 0.92rem;
  letter-spacing: 0.18em;
}

.page-advisory .button--ghost {
  padding: 1.2rem 2.2rem;
  font-size: 0.92rem;
}

.score-intake-panel {
  display: grid;
  gap: 1.6rem;
  padding: clamp(1.5rem, 4vw, 2.4rem);
}

.score-intake-panel .section-heading {
  margin-bottom: 0;
}

.score-intake-form {
  display: grid;
  gap: 1rem;
}

.score-intake-form label {
  display: grid;
  gap: 0.45rem;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(42, 42, 44, 0.72);
}

.score-choice-step {
  display: grid;
  gap: 0.6rem;
  margin: 0;
  border: 0;
  padding: 0;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(42, 42, 44, 0.72);
}

.score-choice-step legend {
  margin: 0 0 0.1rem;
  padding: 0;
}

.score-choice {
  display: grid;
  grid-template-columns: 1rem 1fr;
  align-items: center;
  gap: 0.7rem;
  border-bottom: 1px solid rgba(42, 42, 44, 0.18);
  padding: 0.55rem 0;
  cursor: pointer;
}

.score-choice input {
  width: 1rem;
  height: 1rem;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(42, 42, 44, 0.65);
  border-radius: 0;
  appearance: none;
  background: transparent;
}

.score-choice input:checked {
  background:
    linear-gradient(45deg, transparent 58%, var(--caeliai-charcoal) 58% 70%, transparent 70%),
    linear-gradient(-45deg, transparent 46%, var(--caeliai-charcoal) 46% 58%, transparent 58%);
}

.score-intake-form label em {
  font-style: normal;
  letter-spacing: 0.08em;
  color: rgba(42, 42, 44, 0.48);
}

.score-intake-form input {
  width: 100%;
  border: 1px solid var(--caeliai-line-strong);
  border-radius: 0;
  padding: 0.95rem 1rem;
  background: rgba(255, 255, 255, 0.96);
  color: var(--caeliai-charcoal);
  font: 1rem/1.35 var(--font-serif);
}

.score-intake-form input:focus {
  outline: 2px solid rgba(186, 217, 181, 0.85);
  outline-offset: 2px;
}

.score-intake-form .button {
  justify-content: center;
  width: fit-content;
}

.form-note,
.form-status {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  line-height: 1.65;
  color: rgba(42, 42, 44, 0.68);
}

.form-status[data-state="success"] {
  color: #225c35;
}

.form-status[data-state="error"] {
  color: var(--caeliai-alert);
}

.score-confirmation[hidden] {
  display: none;
}

.score-confirmation {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 4vw, 2rem);
}

.score-confirmation__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 11, 0.64);
}

.score-confirmation__panel {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1.1rem;
  width: min(100%, 540px);
  max-height: min(720px, calc(100vh - 2rem));
  overflow: auto;
  padding: clamp(1.4rem, 4vw, 2.2rem);
  background: var(--caeliai-white);
  border: 2px solid var(--caeliai-black);
  color: var(--caeliai-charcoal);
  box-shadow: 0 22px 70px rgba(10, 10, 11, 0.36);
}

.score-confirmation__panel h3 {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.1;
}

.score-confirmation__panel p {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.6;
}

.score-confirmation__panel .button-row {
  justify-content: flex-start;
  margin-top: 0.25rem;
}

.score-confirmation__panel .button {
  min-width: 170px;
}

.score-confirmation__panel strong {
  font-weight: 600;
}

.score-confirmation__meta {
  font-family: var(--font-mono);
  font-size: 0.76rem !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(42, 42, 44, 0.64);
}

.score-confirmation__close {
  justify-self: end;
  border: 0;
  background: transparent;
  padding: 0;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(42, 42, 44, 0.72);
  cursor: pointer;
}

.score-confirmation__close:focus-visible {
  outline: 2px solid rgba(186, 217, 181, 0.95);
  outline-offset: 4px;
}

html[data-score-confirmation-open="true"] {
  overflow: hidden;
}

/* Workstream 1: Detail page rhythm */
.page-detail {
  --section-gap: clamp(3rem, 6vw, 5.5rem);
}

.page-detail .section-heading {
  margin-bottom: 1.5rem;
}

/* Detail page: Drop cap on abstract paragraphs */
.study-abstract-body::first-letter {
  float: left;
  font-size: 3.2em;
  line-height: 0.8;
  padding-right: 0.08em;
  padding-top: 0.05em;
  font-weight: 600;
  color: var(--caeliai-charcoal);
}

/* Workstream 5: Adaptive headline override */
.plain-hero-title[data-fit-headline] {
  max-width: none;
}

/* ============================================================
   Articles (.page-article) — long-form reading layer.
   Same brand system: white, Libertinus, Share Tech Mono, sage.
   ============================================================ */

.page-article .section--tight {
  padding: clamp(2.2rem, 4.5vw, 3.4rem) 0;
}

.article-byline {
  margin-bottom: 0.35rem;
}

.article-byline span + span::before {
  content: '\00B7';
  margin-right: 0.85rem;
  color: rgba(42, 42, 44, 0.4);
}

.article-author-line {
  color: rgba(42, 42, 44, 0.58);
}

.article-prose {
  display: grid;
  gap: 1.05rem;
}

.article-prose p {
  margin: 0;
  max-width: 68ch;
  font-size: clamp(1.05rem, 1.35vw, 1.16rem);
  line-height: 1.72;
  color: rgba(10, 10, 11, 0.92);
}

.article-prose strong {
  font-weight: 600;
}

.article-quote {
  margin: 0.4rem 0;
  max-width: 60ch;
  padding-left: 1.2rem;
  border-left: 3px solid var(--caeliai-sage);
  font-style: italic;
  font-size: clamp(1.15rem, 1.7vw, 1.4rem);
  line-height: 1.45;
}

.article-takeaway {
  padding-top: 0.85rem;
  border-top: 1px solid rgba(42, 42, 44, 0.15);
  font-weight: 600;
}

/* Figures */
.article-figure {
  margin: clamp(1.6rem, 3vw, 2.4rem) auto 0;
  padding: clamp(1.2rem, 2.5vw, 1.8rem);
  display: grid;
  gap: 1.1rem;
}

.article-figure + .article-prose,
.article-figure + .button-row,
.stack-grid + .article-prose,
.study-summary-grid + .article-prose,
.article-prose + .stack-grid,
.article-prose + .study-summary-grid,
.article-prose + .ui-divide,
.article-prose + .query-anatomy,
.ui-divide + .article-prose,
.split-figure + .article-prose {
  margin-top: clamp(1.4rem, 2.6vw, 2rem);
}

.article-figure__label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(42, 42, 44, 0.66);
}

.article-figure__caption {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  line-height: 1.6;
  letter-spacing: 0.06em;
  color: rgba(42, 42, 44, 0.6);
}

/* Search -> chat shift figure */
.shift-figure {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1.15fr);
  gap: clamp(0.8rem, 2vw, 1.4rem);
  align-items: stretch;
}

.shift-panel {
  border: 1px solid rgba(42, 42, 44, 0.22);
  padding: 0.95rem;
  display: grid;
  gap: 0.7rem;
  align-content: start;
  background: rgba(255, 255, 255, 0.97);
}

.shift-panel__title {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(42, 42, 44, 0.62);
}

.shift-search {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  border: 1px solid rgba(42, 42, 44, 0.3);
  padding: 0.45rem 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(42, 42, 44, 0.72);
}

.shift-search__glass {
  width: 9px;
  height: 9px;
  border: 1.5px solid rgba(42, 42, 44, 0.55);
  border-radius: 50%;
  position: relative;
  flex: none;
}

.shift-search__glass::after {
  content: '';
  position: absolute;
  width: 5px;
  height: 1.5px;
  background: rgba(42, 42, 44, 0.55);
  transform: rotate(45deg);
  right: -4px;
  bottom: -1px;
}

.shift-result {
  display: grid;
  gap: 0.35rem;
}

.shift-line {
  display: block;
  height: 4px;
  width: 82%;
  background: rgba(42, 42, 44, 0.14);
}

.shift-line--link {
  width: 58%;
  background: rgba(42, 42, 44, 0.32);
}

.shift-arrow {
  align-self: center;
  font-size: 1.3rem;
  color: rgba(42, 42, 44, 0.7);
}

.shift-bubble {
  border: 1px solid rgba(42, 42, 44, 0.26);
  padding: 0.55rem 0.7rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  line-height: 1.55;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(42, 42, 44, 0.78);
}

.shift-reply {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  color: rgba(42, 42, 44, 0.6);
}

.shift-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
}

.shift-card {
  border: 1px solid rgba(42, 42, 44, 0.22);
  padding: 0.5rem;
  display: grid;
  gap: 0.4rem;
  font-family: var(--font-mono);
}

.shift-card__img {
  display: block;
  aspect-ratio: 1.4;
  background:
    linear-gradient(to top right, transparent calc(50% - 0.5px), rgba(42, 42, 44, 0.22) calc(50% - 0.5px), rgba(42, 42, 44, 0.22) calc(50% + 0.5px), transparent calc(50% + 0.5px)),
    linear-gradient(to bottom right, transparent calc(50% - 0.5px), rgba(42, 42, 44, 0.22) calc(50% - 0.5px), rgba(42, 42, 44, 0.22) calc(50% + 0.5px), transparent calc(50% + 0.5px));
  border: 1px solid rgba(42, 42, 44, 0.18);
}

.shift-card__name {
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(42, 42, 44, 0.66);
}

.shift-card__price {
  font-size: 0.72rem;
  color: var(--caeliai-black);
}

.shift-card__buy {
  justify-self: start;
  border: 1px solid rgba(42, 42, 44, 0.4);
  padding: 0.18rem 0.55rem;
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.shift-card__buy--win {
  background: var(--caeliai-sage);
  border-color: var(--caeliai-sage);
  color: var(--caeliai-black);
}

/* Horizontal bar chart */
.hbar-chart {
  display: grid;
  gap: 0.7rem;
}

.hbar {
  display: grid;
  grid-template-columns: minmax(86px, 110px) minmax(0, 1fr) minmax(64px, auto);
  align-items: center;
  gap: 0.8rem;
}

.hbar__name {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(42, 42, 44, 0.78);
}

.hbar__track {
  display: block;
  height: 16px;
  background: rgba(42, 42, 44, 0.05);
  border: 1px solid rgba(42, 42, 44, 0.12);
}

.hbar__fill {
  display: block;
  height: 100%;
  background: var(--caeliai-charcoal);
}

.hbar__fill--muted {
  background: rgba(42, 42, 44, 0.32);
}

.hbar:nth-child(2) .hbar__fill {
  background: rgba(42, 42, 44, 0.62);
}

.hbar__value {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--caeliai-black);
  text-align: right;
}

/* Shopping-UI divide */
.ui-divide {
  display: grid;
  border: 1px solid rgba(42, 42, 44, 0.18);
  background: rgba(255, 255, 255, 0.96);
}

.ui-divide__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 0.85rem 1.1rem;
  border-top: 1px solid rgba(42, 42, 44, 0.12);
  font-family: var(--font-mono);
}

.ui-divide__row:first-child {
  border-top: 0;
}

.ui-divide__row--yes {
  border-left: 3px solid var(--caeliai-sage);
}

.ui-divide__name {
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.ui-divide__status {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(42, 42, 44, 0.6);
}

/* Query anatomy chips */
.query-anatomy {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.query-anatomy__chip {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid rgba(42, 42, 44, 0.26);
  padding: 0.4rem 0.7rem;
  color: rgba(42, 42, 44, 0.78);
}

/* Result-mode + outcome cards */
.mode-card--win,
.outcome-card--winner {
  border-left: 3px solid var(--caeliai-sage);
}

.outcome-card--leak {
  border-left: 3px solid var(--caeliai-red);
}

.outcome-card--loser {
  border-left: 3px solid rgba(42, 42, 44, 0.28);
}

.page-article .stack-grid {
  margin-top: 0.4rem;
}

/* Conversion stat band */
.stat-band {
  text-align: left;
}

.stat-band__value {
  font-family: var(--font-mono);
  font-size: clamp(3.4rem, 9vw, 6rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--caeliai-black);
}

.stat-band__caption {
  font-size: clamp(1.1rem, 1.8vw, 1.45rem);
  max-width: 38ch;
  line-height: 1.35;
  border-bottom: 1px solid var(--caeliai-sage);
  padding-bottom: 1rem;
}

/* Protocol rail stack */
.rail-stack {
  display: grid;
  gap: 0.6rem;
}

.rail-row {
  display: grid;
  grid-template-columns: minmax(150px, 220px) minmax(0, 1fr);
  gap: 0.9rem;
  align-items: center;
  border: 1px solid rgba(42, 42, 44, 0.2);
  padding: 0.9rem 1.1rem;
  background: rgba(255, 255, 255, 0.97);
}

.rail-row__step {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(42, 42, 44, 0.6);
}

.rail-row__items {
  display: flex;
  gap: 1.6rem;
  flex-wrap: wrap;
}

.rail-row__items strong {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: clamp(0.95rem, 1.4vw, 1.15rem);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.rail-row__items em {
  font-style: normal;
  font-size: 0.64rem;
  letter-spacing: 0.12em;
  color: rgba(42, 42, 44, 0.55);
}

/* 63% split bar */
.split-headline {
  display: flex;
  gap: 1.2rem;
  align-items: baseline;
  flex-wrap: wrap;
}

.split-headline__value {
  font-family: var(--font-mono);
  font-size: clamp(3rem, 8vw, 5.2rem);
  line-height: 0.95;
  color: var(--caeliai-black);
}

.split-headline__copy {
  max-width: 34ch;
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  line-height: 1.4;
}

.split-bar {
  display: flex;
  height: 44px;
  border: 1px solid rgba(42, 42, 44, 0.3);
}

.split-bar__seg {
  display: block;
  height: 100%;
}

.split-bar__seg--winner {
  background: var(--caeliai-sage);
}

.split-bar__seg--leak {
  background: var(--caeliai-charcoal);
}

.split-bar__seg--loser {
  background: rgba(42, 42, 44, 0.12);
}

.split-legend {
  display: flex;
  gap: 1.4rem;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.split-legend__item::before {
  content: '';
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 0.5rem;
  border: 1px solid rgba(42, 42, 44, 0.3);
  vertical-align: baseline;
}

.split-legend__item--winner::before {
  background: var(--caeliai-sage);
}

.split-legend__item--leak::before {
  background: var(--caeliai-charcoal);
}

.split-legend__item--loser::before {
  background: rgba(42, 42, 44, 0.12);
}

/* Article CTA + sources */
.article-cta {
  margin: clamp(1.6rem, 3vw, 2.4rem) auto 0;
}

.article-cta h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  line-height: 1.05;
}

.article-cta p {
  margin: 0 auto;
  max-width: 52ch;
}

.article-sources {
  display: grid;
  gap: 0.9rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(42, 42, 44, 0.16);
}

.article-sources p {
  margin: 0;
  max-width: 68ch;
  font-size: 0.98rem;
  line-height: 1.7;
  color: rgba(10, 10, 11, 0.85);
}

.page-article .faq-item summary {
  font-size: 0.84rem;
  line-height: 1.6;
}

.page-article .faq-item p {
  max-width: 68ch;
  line-height: 1.7;
}

@media (max-width: 720px) {
  .shift-figure {
    grid-template-columns: 1fr;
  }

  .shift-arrow {
    transform: rotate(90deg);
    justify-self: center;
  }

  .hbar {
    grid-template-columns: minmax(72px, 86px) minmax(0, 1fr) minmax(52px, auto);
    gap: 0.5rem;
  }

  .hbar__name,
  .hbar__value {
    font-size: 0.64rem;
  }

  .rail-row {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .split-bar {
    height: 34px;
  }
}

/* ============================================================
   EDITORIAL PASS — flatten boxes, readability, paper language
   Frames stay only on signature artifacts: hero signal cards,
   figures/plates, CTA + intake panels, modal.
   ============================================================ */

/* 1) Flatten boxed components into rules + whitespace */
.research-feature.broken-frame,
.detail-card.broken-frame,
.process-card.broken-frame,
.signal-note.broken-frame,
.quote-panel.broken-frame,
.faq-item.broken-frame,
.simple-card.broken-frame {
  border: 0;
  box-shadow: none;
  background: transparent;
}

.research-feature.broken-frame::after,
.detail-card.broken-frame::after,
.process-card.broken-frame::after,
.signal-note.broken-frame::after,
.quote-panel.broken-frame::after,
.faq-item.broken-frame::after,
.simple-card.broken-frame::after {
  display: none;
}

.research-feature {
  border-top: 3px solid var(--caeliai-charcoal);
  padding: 1.5rem 0 0;
  transition: border-top-color 220ms ease;
}

.research-feature:hover {
  border-top-color: var(--caeliai-sage);
}

.detail-card,
.study-card {
  border-top: 1px solid var(--caeliai-line-strong);
  padding: 1.3rem 0 0;
}

.signal-note {
  border-top: 1px solid rgba(42, 42, 44, 0.2);
  padding: 1rem 0 0;
}

.process-card {
  padding: 1.2rem 0 0;
}

.quote-panel {
  padding: 0.4rem 0 0.4rem 1.5rem;
}

.quote-panel.surface--sage blockquote,
.quote-panel.surface--sage .study-quote {
  border-left: 0;
  padding-left: 0;
}

.faq-list {
  gap: 0;
}

.faq-item {
  border-top: 1px solid rgba(42, 42, 44, 0.16);
  padding: 1.1rem 0;
}

.faq-list .faq-item:last-child {
  border-bottom: 1px solid rgba(42, 42, 44, 0.16);
}

.simple-card {
  border-left: 3px solid rgba(42, 42, 44, 0.18);
  padding: 0.6rem 0 0.6rem 1.25rem;
}

.mode-card--win,
.outcome-card--winner {
  border-left: 3px solid var(--caeliai-sage);
}

.outcome-card--leak {
  border-left: 3px solid var(--caeliai-red);
}

.outcome-card--loser {
  border-left: 3px solid rgba(42, 42, 44, 0.28);
}

/* open the grids up — whitespace does the separating now */
.research-grid {
  gap: 2.2rem 2.6rem;
}

.study-summary-grid,
.consensus-grid,
.detail-grid {
  gap: 1.8rem 2.6rem;
}

.stack-grid--three {
  gap: 1.4rem 2.2rem;
}

.note-cloud {
  gap: 1.4rem 1.8rem;
}

.process-grid {
  gap: 1.8rem 2.2rem;
}

/* 2) Readability */
.hero__caption {
  font-family: var(--font-serif);
  font-size: 1.02rem;
  line-height: 1.68;
  letter-spacing: 0;
  color: rgba(42, 42, 44, 0.8);
}

.article-author-line {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(42, 42, 44, 0.6);
}

.metric__label {
  color: rgba(42, 42, 44, 0.74);
}

.article-figure__caption {
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: rgba(42, 42, 44, 0.66);
}

.faq-item summary {
  position: relative;
  padding-right: 2.2rem;
  font-family: var(--font-serif);
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  line-height: 1.45;
}

.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 0.2rem;
  top: 0;
  font-family: var(--font-mono);
  font-weight: 400;
  color: rgba(42, 42, 44, 0.55);
}

.faq-item[open] summary::after {
  content: '\2212';
}

/* 3) Paper language — homepage dossier components */
.paper-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1.7rem;
  padding: 0.85rem 0;
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
  border-bottom: 1px solid rgba(42, 42, 44, 0.14);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(42, 42, 44, 0.62);
}

.paper-meta strong {
  font-weight: 400;
  color: var(--caeliai-black);
}

.paper-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.paper-hero__copy {
  display: grid;
  gap: clamp(1.4rem, 3vw, 2.2rem);
  min-width: 0;
}

.section-mark {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  margin-bottom: 1.7rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(42, 42, 44, 0.7);
  white-space: nowrap;
}

.section-mark::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(42, 42, 44, 0.16);
  min-width: 40px;
}

.abstract-block {
  display: grid;
  gap: 0.7rem;
  max-width: 62ch;
  padding-left: 1.35rem;
  border-left: 3px solid var(--caeliai-sage);
}

.abstract-block__label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(42, 42, 44, 0.6);
}

.abstract-block p {
  margin: 0;
  font-size: clamp(1.08rem, 1.5vw, 1.26rem);
  line-height: 1.6;
}

.byline-row {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(42, 42, 44, 0.78);
}

.figure-plate {
  position: relative;
  display: grid;
  gap: 1.2rem;
  padding: clamp(1.3rem, 3vw, 2.1rem);
}

.figure-plate__head {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(42, 42, 44, 0.66);
}

.figure-plate__mark {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 0.95rem;
  line-height: 1;
  color: rgba(42, 42, 44, 0.38);
  pointer-events: none;
}

.figure-plate__mark--tl {
  top: 9px;
  left: 11px;
}

.figure-plate__mark--br {
  bottom: 9px;
  right: 11px;
}

.split-headline__value--alert {
  border-bottom: 4px solid var(--caeliai-red);
  padding-bottom: 0.15rem;
}

.chip--live::before {
  content: '';
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 0.45rem;
  border-radius: 50%;
  background: var(--caeliai-red);
}

.ref-list {
  display: grid;
}

.ref-group-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 400; /* identical render whether the label is a div or an h2 */
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(42, 42, 44, 0.55);
  margin: 0 0 0.6rem;
}

.ref-list + .ref-group-label {
  margin-top: 2.6rem;
}

.ref-row {
  display: grid;
  grid-template-columns: minmax(44px, 60px) minmax(0, 1fr) auto;
  gap: 0.9rem 1.8rem;
  align-items: baseline;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(42, 42, 44, 0.16);
}

.ref-list .ref-row:last-child {
  border-bottom: 1px solid rgba(42, 42, 44, 0.16);
}

.ref-row__index {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: rgba(42, 42, 44, 0.45);
}

.ref-row__body {
  display: grid;
  gap: 0.5rem;
  min-width: 0;
}

.ref-row__body h3 {
  margin: 0;
  font-size: clamp(1.3rem, 2.3vw, 1.8rem);
  line-height: 1.12;
  text-wrap: balance;
}

.ref-row__body h3 a {
  text-decoration: none;
}

.ref-row__body h3 a:hover {
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 4px;
}

.ref-row__body p {
  margin: 0;
  max-width: 64ch;
  color: rgba(10, 10, 11, 0.85);
}

.ref-row__meta {
  display: flex;
  gap: 0.4rem 1rem;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(42, 42, 44, 0.58);
}

.ref-row__links {
  display: flex;
  gap: 1.1rem;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
}

.ref-row__links a {
  text-decoration: none;
  border-bottom: 1px solid rgba(42, 42, 44, 0.4);
  padding-bottom: 2px;
  transition: border-color 160ms ease;
}

.ref-row__links a:hover {
  border-bottom-color: var(--caeliai-black);
}

.step-list {
  display: grid;
}

.step-row {
  display: grid;
  grid-template-columns: minmax(50px, 70px) minmax(0, 0.85fr) minmax(0, 1.35fr);
  gap: 0.8rem 2rem;
  align-items: baseline;
  padding: 1.4rem 0;
  border-top: 1px solid rgba(42, 42, 44, 0.16);
}

.step-list .step-row:last-child {
  border-bottom: 1px solid rgba(42, 42, 44, 0.16);
}

.step-row__num {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: rgba(42, 42, 44, 0.45);
}

.step-row h3 {
  margin: 0;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  line-height: 1.15;
}

.step-row p {
  margin: 0;
  max-width: 56ch;
  color: rgba(10, 10, 11, 0.85);
}

/* step rows with more than one paragraph: keep every paragraph in the text column */
.step-row p + p {
  grid-column: 3;
}

.colophon {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: rgba(42, 42, 44, 0.45);
}

/* 4) Motion — applied by JS only; no-JS and crawlers see everything */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 620ms cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0ms),
    transform 620ms cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0ms);
}

.reveal-in {
  opacity: 1;
  transform: none;
}

.bar-anim {
  transition: width 950ms cubic-bezier(0.22, 1, 0.36, 1) var(--bar-delay, 0ms);
}

@media (max-width: 1024px) {
  .paper-hero {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  /* Keep follow-up paragraphs in the single mobile column. */
  .step-row p + p {
    grid-column: 1;
  }

  .ref-row,
  .step-row {
    grid-template-columns: 1fr;
    gap: 0.55rem;
  }

  .ref-row__links {
    margin-top: 0.3rem;
  }

  .figure-plate__mark {
    display: none;
  }

  .paper-meta {
    gap: 0.4rem 1.1rem;
  }
}

/* ============================================================
   SIZE PASS — homepage reads bigger, same hierarchy
   ============================================================ */
.paper-meta {
  font-size: 0.74rem;
}

.byline-row {
  font-size: 0.75rem;
}

.abstract-block p {
  font-size: clamp(1.16rem, 1.8vw, 1.42rem);
  line-height: 1.62;
}

.page-home .section-heading h2 {
  font-size: clamp(1.9rem, 3.1vw, 2.95rem);
}

.page-home .section-heading p {
  font-size: clamp(1.1rem, 1.5vw, 1.26rem);
  line-height: 1.65;
}

.page-home .signal-note p {
  font-size: 1.08rem;
  line-height: 1.6;
}

.page-home .signal-note__label {
  font-size: 0.76rem;
}

.page-home .metric__label {
  font-size: 0.8rem;
}

.page-home .metric__value {
  font-size: clamp(1.5rem, 2.3vw, 2.2rem);
}

.ref-row__body h3 {
  font-size: clamp(1.5rem, 2.7vw, 2.05rem);
}

.ref-row__body p {
  font-size: 1.1rem;
  line-height: 1.65;
}

.ref-row__meta {
  font-size: 0.72rem;
}

.ref-row__links {
  font-size: 0.78rem;
}

.step-row h3 {
  font-size: clamp(1.35rem, 2.2vw, 1.8rem);
}

.step-row p {
  font-size: 1.1rem;
  line-height: 1.65;
}

.page-home .simple-card p {
  font-size: 1.06rem;
  line-height: 1.6;
}

.page-home .card-label {
  font-size: 0.76rem;
}

.split-headline__copy {
  font-size: clamp(1.12rem, 1.8vw, 1.45rem);
}

.figure-plate__head {
  font-size: 0.76rem;
}

.split-legend {
  font-size: 0.78rem;
}

.page-home .final-cta__panel p {
  font-size: clamp(1.1rem, 1.5vw, 1.25rem);
  line-height: 1.6;
}

.page-home .chip {
  font-size: 0.76rem;
}

/* ============================================================
   HIDDEN PAGES — /vls and /testimonials (unlinked, noindex)
   ============================================================ */
.sample-banner {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  width: fit-content;
  margin-bottom: 1.6rem;
  padding: 0.5rem 0.8rem;
  border: 1px dashed var(--caeliai-red);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--caeliai-red);
}

.vsl-frame {
  position: relative;
  display: grid;
  gap: 1rem;
  padding: clamp(1.2rem, 2.5vw, 1.8rem);
}

.vsl-frame .video-placeholder {
  min-height: clamp(280px, 42vw, 480px);
  align-content: center;
}

.vsl-frame iframe,
.vsl-frame video {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(42, 42, 44, 0.18);
  display: block;
}

.testimonial-list {
  display: grid;
}

.testimonial-row {
  display: grid;
  grid-template-columns: minmax(44px, 60px) minmax(0, 1fr);
  gap: 0.9rem 1.8rem;
  padding: 1.9rem 0;
  border-top: 1px solid rgba(42, 42, 44, 0.16);
}

.testimonial-list .testimonial-row:last-child {
  border-bottom: 1px solid rgba(42, 42, 44, 0.16);
}

.testimonial-row__index {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: rgba(42, 42, 44, 0.45);
}

.testimonial-row__body {
  display: grid;
  gap: 0.9rem;
  min-width: 0;
}

.testimonial-row__quote {
  margin: 0;
  max-width: 56ch;
  font-size: clamp(1.25rem, 2.1vw, 1.7rem);
  line-height: 1.42;
  font-style: italic;
  text-wrap: pretty;
}

.testimonial-row__attribution {
  display: flex;
  gap: 0.4rem 1.1rem;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(42, 42, 44, 0.6);
}

.testimonial-row__result {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--caeliai-black);
  border-left: 3px solid var(--caeliai-sage);
  padding-left: 0.8rem;
}

.testimonial-feature {
  display: grid;
  gap: 1.1rem;
  padding: clamp(1.6rem, 3.5vw, 2.4rem);
}

.testimonial-feature blockquote {
  margin: 0;
  max-width: 44ch;
  font-size: clamp(1.5rem, 2.8vw, 2.2rem);
  line-height: 1.32;
  font-style: italic;
  border-left: 3px solid var(--caeliai-sage);
  padding-left: 1.3rem;
}

@media (max-width: 720px) {
  .testimonial-row {
    grid-template-columns: 1fr;
    gap: 0.6rem;
  }
}

/* ============================================================
   PATTERN BOOK (/styleguide) + proposed elements P-01..P-10
   The P-elements are real, reusable components — adopt anywhere.
   ============================================================ */
.sg-swatches {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1.2rem;
  margin-bottom: 2.2rem;
}

.sg-swatch {
  display: grid;
  gap: 0.45rem;
}

.sg-swatch__color {
  display: block;
  height: 56px;
}

.sg-swatch__name {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.sg-swatch__use {
  font-size: 0.92rem;
  color: rgba(42, 42, 44, 0.7);
}

.sg-voices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
}

.sg-voice {
  display: grid;
  gap: 0.6rem;
  border-top: 1px solid rgba(42, 42, 44, 0.16);
  padding-top: 1rem;
}

.sg-voice__serif {
  margin: 0;
  font-size: clamp(1.3rem, 2.2vw, 1.8rem);
  line-height: 1.35;
}

.sg-voice__mono {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  color: rgba(42, 42, 44, 0.85);
}

.sg-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.8rem 2.4rem;
}

.sg-item {
  display: grid;
  gap: 0.8rem;
  border-top: 1px solid rgba(42, 42, 44, 0.16);
  padding-top: 1rem;
  align-content: start;
}

.sg-item--wide {
  grid-column: 1 / -1;
}

.sg-item__label,
.sg-proposal__head {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(42, 42, 44, 0.6);
}

.sg-proposals {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.4rem 2.6rem;
}

.sg-proposal {
  display: grid;
  gap: 0.9rem;
  align-content: start;
}

.sg-proposal--wide {
  grid-column: 1 / -1;
}

.sg-proposal__head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  border-top: 1px solid rgba(42, 42, 44, 0.16);
  padding-top: 0.8rem;
}

.sg-proposal__head span:first-child {
  color: var(--caeliai-black);
}

/* P-01 Signal score card */
.score-card {
  display: grid;
  gap: 1rem;
  padding: 1.4rem;
  max-width: 380px;
}

.score-card__value {
  font-family: var(--font-mono);
  font-size: clamp(3rem, 6vw, 4.2rem);
  line-height: 1;
}

.score-card__value span {
  font-size: 0.4em;
  color: rgba(42, 42, 44, 0.5);
}

.score-card__rows {
  display: grid;
}

.score-card__row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0;
  border-top: 1px solid rgba(42, 42, 44, 0.14);
  font-size: 0.95rem;
}

.score-card__row strong {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.score-card__row--win strong {
  border-bottom: 2px solid var(--caeliai-sage);
}

/* P-02 Prompt evidence card */
.evidence-card {
  display: grid;
  gap: 0.9rem;
  border-left: 3px solid var(--caeliai-black);
  padding-left: 1.2rem;
}

.evidence-card__quote {
  margin: 0;
  font-style: italic;
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
  line-height: 1.45;
  max-width: 44ch;
}

.evidence-card__results {
  display: flex;
  gap: 0.5rem 1.2rem;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(42, 42, 44, 0.65);
}

.evidence-card__result--win {
  color: var(--caeliai-black);
  border-bottom: 2px solid var(--caeliai-sage);
  padding-bottom: 2px;
}

/* P-03 Buy-path trace */
.path-trace {
  display: flex;
  align-items: center;
  gap: 0.7rem 0.9rem;
  flex-wrap: wrap;
  font-family: var(--font-mono);
}

.path-trace__node {
  border: 1px solid rgba(42, 42, 44, 0.4);
  padding: 0.5rem 0.8rem;
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.path-trace__node--ok {
  border-color: var(--caeliai-sage);
  border-width: 2px;
}

.path-trace__node--break {
  border-style: dashed;
  border-color: var(--caeliai-red);
  color: var(--caeliai-red);
}

.path-trace__arrow {
  color: rgba(42, 42, 44, 0.55);
}

.path-trace__arrow--break {
  color: var(--caeliai-red);
}

.path-trace__status {
  flex-basis: 100%;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--caeliai-red);
}

/* P-04 Competitor strip */
.comp-strip {
  display: grid;
  gap: 0.7rem;
}

.comp-strip__label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(42, 42, 44, 0.6);
}

.comp-strip__chips {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.comp-strip__chips span {
  border: 1px solid rgba(42, 42, 44, 0.3);
  padding: 0.35rem 0.7rem;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* P-05 Research table */
.research-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.98rem;
}

.research-table th {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(42, 42, 44, 0.6);
  text-align: left;
  padding: 0.6rem 1rem 0.6rem 0;
  border-bottom: 1.5px solid var(--caeliai-black);
}

.research-table td {
  padding: 0.7rem 1rem 0.7rem 0;
  border-bottom: 1px solid rgba(42, 42, 44, 0.14);
}

.research-table .rt--win {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-bottom-color: var(--caeliai-sage);
  box-shadow: inset 0 -2px 0 var(--caeliai-sage);
}

.research-table .rt--mid {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(42, 42, 44, 0.6);
}

.research-table .rt--bad {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--caeliai-red);
}

/* P-06 Scan log — the one allowed dark artifact */
.scan-log {
  background: var(--caeliai-black);
  color: rgba(255, 255, 255, 0.88);
  padding: 1.2rem 1.4rem;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  line-height: 1.9;
  letter-spacing: 0.04em;
  overflow-x: auto;
}

.scan-log__prompt {
  color: var(--caeliai-sage);
}

.scan-log__win {
  color: var(--caeliai-sage);
}

.scan-log__leak {
  color: var(--caeliai-red);
}

.scan-log__lose {
  color: rgba(255, 255, 255, 0.45);
}

/* P-07 Redaction */
.redact {
  background: var(--caeliai-black);
  color: var(--caeliai-black);
  padding: 0 0.35em;
  user-select: none;
}

.sg-redact-demo {
  margin: 0;
  max-width: 50ch;
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
  font-style: italic;
  line-height: 1.5;
}

.sg-redact-attr {
  display: block;
  margin-top: 0.7rem;
  font-family: var(--font-mono);
  font-style: normal;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(42, 42, 44, 0.6);
}

/* P-08 Verification stamp */
.stamp {
  display: inline-block;
  padding: 0.5rem 0.9rem;
  border: 2px solid var(--caeliai-black);
  outline: 1px solid var(--caeliai-black);
  outline-offset: 3px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transform: rotate(-4deg);
}

.stamp--sage {
  border-color: var(--caeliai-sage);
  outline-color: var(--caeliai-sage);
  transform: rotate(3deg);
}

/* P-09 Research log */
.rlog {
  display: grid;
}

.rlog__row {
  display: flex;
  gap: 1.2rem;
  align-items: baseline;
  padding: 0.65rem 0;
  border-top: 1px solid rgba(42, 42, 44, 0.14);
  font-size: 0.98rem;
}

.rlog__date {
  flex: none;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  color: rgba(42, 42, 44, 0.55);
}

/* P-10 Footnotes */
.fnref {
  font-family: var(--font-mono);
  font-size: 0.62em;
  color: rgba(42, 42, 44, 0.65);
}

.sg-foot-demo {
  margin: 0;
  max-width: 54ch;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  line-height: 1.6;
}

.footnotes {
  display: grid;
  gap: 0.3rem;
  margin-top: 0.9rem;
  padding-top: 0.7rem;
  border-top: 1px solid rgba(42, 42, 44, 0.2);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: rgba(42, 42, 44, 0.6);
}

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

  .sg-voices,
  .sg-grid,
  .sg-proposals {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   FRAMELESS PASS — frames retired everywhere.
   Evidence = heavy top rule. Action = sage wash band.
   Labels = plain mono (no chip boxes).
   ============================================================ */

/* retire the broken frame entirely (modal keeps its own 2px border) */
.broken-frame {
  border: 0;
  box-shadow: none;
  background: transparent;
}

.broken-frame::after {
  display: none;
}

/* ...except the confirmation modal, which MUST stay a solid card */
.score-confirmation__panel.broken-frame {
  background: var(--caeliai-white);
  border: 1.5px solid var(--caeliai-black);
  box-shadow: 0 22px 70px rgba(10, 10, 11, 0.36);
}

.score-confirmation__panel.broken-frame::after {
  display: none;
}

/* the rule-block: a named treatment, usable anywhere */
.rule-block {
  border-top: 3px solid var(--caeliai-black);
  padding-top: 1.2rem;
}

/* hero stat cards: sage top rule, open layout */
.signal-card {
  border-top: 3px solid var(--caeliai-sage);
  padding: 1.3rem 0 0;
  background: transparent;
}

.signal-card.surface--sage {
  background: transparent;
  border-left: 0;
  border-top: 3px solid var(--caeliai-sage);
}

/* figures: black top rule + closing hairline, no enclosure */
.article-figure,
.figure-plate,
.vsl-frame {
  border-top: 3px solid var(--caeliai-black);
  border-bottom: 1px solid rgba(42, 42, 44, 0.16);
  padding: 1.4rem 0 1.5rem;
  background: transparent;
}

.figure-plate__mark {
  display: none;
}

/* action zones: soft sage wash, zero borders */
.final-cta__panel,
.final-cta__panel.surface--sage,
.score-intake-panel,
.score-intake-panel.surface--sage,
.testimonial-feature,
.testimonial-feature.surface--sage {
  background: rgba(181, 214, 192, 0.16);
  border: 0;
}

.final-cta__panel,
.final-cta__panel.surface--sage {
  padding: clamp(2.2rem, 5vw, 3.4rem);
}

.score-intake-panel {
  padding: clamp(1.8rem, 4vw, 2.6rem);
}

.testimonial-feature {
  padding: clamp(1.6rem, 3.5vw, 2.4rem);
}

/* chips become plain mono labels with a sage dash */
.chip,
.eyebrow,
.section-label {
  border: 0;
  padding: 0;
  background: transparent;
  color: rgba(42, 42, 44, 0.66);
  letter-spacing: 0.18em;
}

.chip::before {
  content: '';
  display: inline-block;
  width: 16px;
  height: 2px;
  margin-right: 0.55rem;
  background: var(--caeliai-sage);
  vertical-align: 0.22em;
}

.chip--live::before {
  background: var(--caeliai-red);
  border-radius: 50%;
}

/* ui-divide: rows of rules, no outer box */
.ui-divide {
  border: 0;
  background: transparent;
}

.ui-divide__row {
  padding: 0.85rem 0;
  border-top: 1px solid rgba(42, 42, 44, 0.14);
}

.ui-divide__row--yes {
  border-left: 0;
}

.ui-divide__row--yes .ui-divide__name {
  box-shadow: inset 0 -2px 0 var(--caeliai-sage);
  padding-bottom: 2px;
}

/* score card (P-01) frameless */
.score-card {
  border-top: 3px solid var(--caeliai-black);
  padding: 1.2rem 0 0;
  background: transparent;
}

/* metrics read bigger everywhere */
.metric__value {
  font-size: clamp(1.5rem, 2.2vw, 2.1rem);
}

/* claim highlight (replaces the stamp): a quiet marker pass */
.hl-sage {
  box-shadow: inset 0 -0.38em rgba(181, 214, 192, 0.55);
  padding: 0 0.08em;
}

/* margin note (P-11): paper marginalia */
.note-aside {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(150px, 200px);
  gap: 2rem;
  align-items: start;
}

.note-aside__note {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  line-height: 1.7;
  letter-spacing: 0.06em;
  color: rgba(42, 42, 44, 0.62);
  border-left: 2px solid var(--caeliai-sage);
  padding-left: 0.8rem;
}

@media (max-width: 720px) {
  .note-aside {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }
}

/* ============================================================
   SCROLLBAR — black square thumb, paper track
   ============================================================ */
html {
  scrollbar-width: thin;
  scrollbar-color: var(--caeliai-black) transparent;
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: var(--caeliai-black);
  border-radius: 0;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--caeliai-charcoal);
}

::-webkit-scrollbar-corner {
  background: transparent;
}

/* ============================================================
   SIGNATURE MOTION — the instrument assembling the document
   ============================================================ */

/* section rules draw themselves in (JS adds .reveal/.reveal-in) */
.section-mark.reveal::after {
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 950ms cubic-bezier(0.22, 1, 0.36, 1) 200ms;
}

.section-mark.reveal-in::after {
  transform: scaleX(1);
}

/* Small live marker in the header wordmark. */
.wordmark__meta::after {
  content: '';
  display: inline-block;
  width: 0.42em;
  height: 0.42em;
  margin-left: 0.52em;
  vertical-align: 0.08em;
  border-radius: 50%;
  background: var(--caeliai-sage);
  box-shadow: 0 0 0 1px rgba(181, 214, 192, 0.2);
  animation: status-dot-pulse 1.8s ease-in-out infinite;
}

@keyframes status-dot-pulse {
  0%,
  100% {
    opacity: 0.5;
    transform: scale(0.82);
  }

  50% {
    opacity: 1;
    transform: scale(1);
  }
}

/* ============================================================
   DE-BOX II — buttons, inputs, placeholders go editorial
   ============================================================ */

/* ghost buttons become underlined mono links */
.button--ghost {
  border: 0;
  padding: 0.92rem 0;
  border-bottom: 1px solid rgba(42, 42, 44, 0.4);
  background: transparent;
  transition: border-color 180ms ease;
}

.button--ghost:hover {
  background: transparent;
  border-bottom-color: var(--caeliai-black);
  transform: none;
}

@media (max-width: 720px) {
  .button--ghost {
    width: auto;
    max-width: none;
  }
}

/* one-question-at-a-time score form (JS adds .score-stepper) */
.score-stepper > label,
.score-stepper > fieldset {
  display: none;
}

.score-stepper > label.step-active,
.score-stepper > fieldset.step-active {
  display: grid;
}

.score-stepper > label.step-active > span,
.score-stepper > fieldset.step-active legend {
  font-size: 0.84rem;
}

.score-stepper > label.step-active input {
  font-size: 1.25rem;
}

.score-stepper__controls {
  display: flex;
  align-items: center;
  gap: 1.3rem;
  margin-top: 0.4rem;
}

.score-stepper__back {
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(42, 42, 44, 0.6);
  border-bottom: 1px solid rgba(42, 42, 44, 0.35);
  padding-bottom: 2px;
}

.score-stepper__back:hover {
  color: var(--caeliai-black);
  border-bottom-color: var(--caeliai-black);
}

.score-stepper__progress {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  color: rgba(42, 42, 44, 0.55);
}

/* form inputs: underline only */
.score-intake-form input {
  border: 0;
  border-bottom: 1px solid var(--caeliai-line-strong);
  background: transparent;
  padding: 0.8rem 0;
}

.score-intake-form input:focus {
  outline: none;
  border-bottom: 2px solid var(--caeliai-sage);
}

.score-intake-form .score-choice input {
  width: 1rem;
  height: 1rem;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(42, 42, 44, 0.65);
  border-radius: 0;
  appearance: none;
  background: transparent;
}

.score-intake-form .score-choice input:checked {
  background:
    linear-gradient(45deg, transparent 58%, var(--caeliai-charcoal) 58% 70%, transparent 70%),
    linear-gradient(-45deg, transparent 46%, var(--caeliai-charcoal) 46% 58%, transparent 58%);
}

.score-intake-form .score-choice input:focus {
  outline: 2px solid rgba(186, 217, 181, 0.85);
  outline-offset: 2px;
  border: 1px solid rgba(42, 42, 44, 0.65);
}

/* video placeholder: wash, no dashed box */
.video-placeholder {
  border: 0;
  background: rgba(181, 214, 192, 0.12);
}

/* row hover: the index wakes up */
.ref-row__index,
.step-row__num,
.testimonial-row__index {
  transition: color 180ms ease;
}

.ref-row:hover .ref-row__index,
.step-row:hover .step-row__num,
.testimonial-row:hover .testimonial-row__index {
  color: var(--caeliai-black);
}

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

  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .bar-anim {
    transition: none !important;
  }

  .wordmark__meta::after {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .section-mark.reveal::after {
    transform: none;
    transition: none;
  }
}

/* fitted headlines: never balloon on small screens */
@media (max-width: 640px) {
  [data-fit-headline] {
    font-size: clamp(1.9rem, 9vw, 2.6rem) !important;
  }
}

/* ============================================================
   EDITORIAL SYSTEM — publication shell for the public workflow
   ============================================================ */

.page-editorial {
  --section-gap: clamp(4.8rem, 10vw, 8.5rem);
}

.page-editorial::before {
  display: none;
}

.page-editorial .site-header {
  backdrop-filter: none;
  background: rgba(255, 255, 255, 0.97);
  border-bottom-color: var(--caeliai-line);
}

.page-editorial .site-header__inner {
  min-height: 86px;
  padding: 1.2rem 0;
}

.page-editorial .wordmark__meta {
  max-width: 30ch;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
}

.page-editorial .site-nav {
  gap: clamp(0.8rem, 2vw, 1.6rem);
}

.page-editorial .site-nav a {
  letter-spacing: 0.12em;
}

.page-editorial .hero {
  padding-top: clamp(4.5rem, 9vw, 8rem);
}

.page-editorial .hero__headline,
.page-editorial .plain-hero-title {
  font-weight: 400;
  letter-spacing: -0.055em;
}

.page-editorial .hero__headline {
  max-width: 12ch;
  font-size: clamp(3.8rem, 8vw, 7.2rem);
  line-height: 0.91;
}

.page-editorial .plain-hero-title--wide {
  max-width: 14ch;
  font-size: clamp(3.2rem, 7vw, 6.2rem);
  line-height: 0.94;
}

.page-editorial .hero__lede--statement,
.page-editorial .study-hero__lede {
  font-size: clamp(1.2rem, 1.8vw, 1.48rem);
  line-height: 1.52;
}

.publication-kicker,
.publication-meta,
.method-line {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  line-height: 1.6;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(42, 42, 44, 0.66);
}

.publication-kicker::before {
  content: '';
  display: inline-block;
  width: 1.35rem;
  height: 2px;
  margin-right: 0.55rem;
  background: var(--caeliai-sage);
  vertical-align: 0.18em;
}

.publication-meta {
  color: var(--caeliai-black);
}

.page-editorial .button--primary,
.page-editorial .button--ghost {
  border: 0;
  border-bottom: 1px solid rgba(42, 42, 44, 0.42);
  padding: 0.82rem 0;
  background: transparent;
  color: var(--caeliai-black);
  box-shadow: none;
  transform: none;
}

.page-editorial .button--primary:hover,
.page-editorial .button--ghost:hover {
  border-bottom-color: var(--caeliai-black);
  background: transparent;
  color: var(--caeliai-black);
  transform: none;
}

.page-editorial .figure-plate,
.page-editorial .article-figure {
  box-shadow: none;
}

.page-editorial .figure-plate__head {
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--caeliai-line);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
}

.page-editorial .figure-plate__note {
  margin: 0.9rem 0 0;
  max-width: 64ch;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  line-height: 1.6;
  letter-spacing: 0.04em;
  color: rgba(42, 42, 44, 0.64);
}

.page-editorial .split-bar {
  height: 34px;
}

.page-editorial .simple-card {
  border-left: 0;
  border-top: 1px solid var(--caeliai-line);
  padding: 1rem 0 0;
}

.page-editorial .outcome-card--winner {
  border-top: 3px solid var(--caeliai-sage);
}

.page-editorial .outcome-card--leak {
  border-top: 3px solid var(--caeliai-charcoal);
}

.page-editorial .outcome-card--loser {
  border-top: 3px solid rgba(42, 42, 44, 0.28);
}

.page-editorial .ref-row {
  padding-top: 1.7rem;
  padding-bottom: 1.7rem;
}

.page-editorial .ref-row--featured {
  border-top: 3px solid var(--caeliai-black);
}

.page-editorial .ref-row--featured .ref-row__body h3 {
  font-size: clamp(1.7rem, 3vw, 2.45rem);
}

.page-editorial .ref-row__meta {
  font-size: 0.66rem;
  letter-spacing: 0.12em;
}

.page-editorial .ref-row__links a {
  transition: border-color 160ms ease, color 160ms ease;
}

.page-editorial .ref-row__links a:hover {
  color: var(--caeliai-black);
}

.page-editorial .final-cta {
  padding-top: clamp(3rem, 6vw, 5rem);
}

.page-editorial .final-cta__row {
  max-width: 58rem;
}

.page-editorial .final-cta__row h2 {
  max-width: 14ch;
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.page-editorial .site-footer {
  margin-top: clamp(4rem, 8vw, 7rem);
}

.page-editorial .footer-note {
  max-width: 36ch;
  line-height: 1.65;
  letter-spacing: 0.1em;
}

.page-editorial .study-hero {
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
  gap: clamp(2rem, 7vw, 6rem);
}

.page-editorial .study-hero__copy {
  gap: 1rem;
}

.page-editorial .study-hero__copy > .method-line {
  max-width: 68ch;
  padding: 0.8rem 0;
  border-top: 1px solid var(--caeliai-line);
  border-bottom: 1px solid var(--caeliai-line);
}

.publication-contents {
  display: flex;
  gap: 0.6rem 1.2rem;
  flex-wrap: wrap;
  align-items: baseline;
  margin-top: 0.6rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--caeliai-line);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  line-height: 1.6;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.publication-contents > span {
  color: rgba(42, 42, 44, 0.54);
}

.publication-contents a {
  text-decoration: none;
  border-bottom: 1px solid rgba(42, 42, 44, 0.34);
}

.publication-contents a:hover {
  border-bottom-color: var(--caeliai-black);
}

.page-genesis-03 .study-hero__aside .signal-card {
  padding-top: 1.1rem;
}

.page-genesis-03 .study-card {
  min-height: 100%;
  padding-top: 1.2rem;
}

.page-genesis-03 .study-card .chip,
.page-genesis-03 .quote-panel .chip {
  margin-bottom: 0.35rem;
}

.page-genesis-03 .study-card .detail-kpis {
  margin-top: 0.6rem;
}

.evidence-figure {
  display: grid;
  gap: 0.85rem;
  margin: 1.1rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid var(--caeliai-line);
}

.evidence-figure__caption,
.evidence-figure__legend,
.evidence-figure__note {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  line-height: 1.6;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(42, 42, 44, 0.64);
}

.evidence-figure__caption {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  flex-wrap: wrap;
}

.evidence-figure__bar {
  display: flex;
  height: 26px;
  border: 1px solid var(--caeliai-line-strong);
}

.evidence-figure__segment {
  display: block;
  height: 100%;
}

.evidence-figure__segment--owns,
.evidence-figure__swatch--owns {
  background: var(--caeliai-sage);
}

.evidence-figure__segment--leaks,
.evidence-figure__swatch--leaks {
  background: var(--caeliai-charcoal);
}

.evidence-figure__segment--none,
.evidence-figure__swatch--none {
  background: rgba(42, 42, 44, 0.12);
}

.evidence-figure__legend {
  display: flex;
  gap: 0.55rem 1.1rem;
  flex-wrap: wrap;
}

.evidence-figure__legend span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.evidence-figure__swatch {
  display: inline-block;
  width: 0.6rem;
  height: 0.6rem;
  border: 1px solid rgba(42, 42, 44, 0.28);
}

.evidence-figure__note {
  margin: 0;
  font-size: 0.62rem;
  letter-spacing: 0.04em;
  text-transform: none;
}

.limitation-note {
  display: grid;
  gap: 0.7rem;
  margin-top: clamp(2.2rem, 5vw, 4rem);
  padding-top: 1rem;
  border-top: 2px solid var(--caeliai-black);
}

.limitation-note p {
  max-width: 66ch;
  margin: 0;
  font-size: 1rem;
}

.page-genesis-03 .colophon {
  margin: 2.2rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid var(--caeliai-line);
}

.page-blog .hero {
  padding-bottom: clamp(3rem, 7vw, 5rem);
}

.page-blog .article-byline {
  margin-top: 0.2rem;
}

.page-blog .article-prose h2 {
  margin-top: 1.4rem;
  padding-top: 1rem;
  border-top: 1px solid var(--caeliai-line);
}

.page-blog .article-sources {
  padding-top: 1.2rem;
  border-top: 2px solid var(--caeliai-black);
}

@media (max-width: 720px) {
  .page-editorial .site-header__inner {
    min-height: 0;
    padding: 1rem 0 1.15rem;
  }

  .page-editorial .wordmark__meta {
    max-width: 24ch;
  }

  .page-editorial .hero {
    padding-top: 3.7rem;
  }

  .page-editorial .hero__headline,
  .page-editorial .plain-hero-title,
  .page-editorial .plain-hero-title--wide {
    max-width: 12ch;
    font-size: clamp(2.7rem, 13vw, 4.3rem);
    line-height: 0.95;
  }

  .page-editorial .hero__lede--statement,
  .page-editorial .study-hero__lede {
    font-size: 1.2rem;
  }

  .page-editorial .study-hero {
    grid-template-columns: 1fr;
    gap: 2.2rem;
  }

  .page-editorial .publication-kicker,
  .page-editorial .publication-meta,
  .page-editorial .method-line {
    font-size: 0.66rem;
    letter-spacing: 0.12em;
  }

  .page-editorial .publication-kicker::before {
    width: 0.9rem;
  }

  .page-editorial .hero__actions,
  .page-editorial .button-row {
    gap: 0.75rem 1.2rem;
  }

  .page-editorial .button--primary,
  .page-editorial .button--ghost {
    width: auto;
    max-width: none;
    justify-content: flex-start;
  }

  .page-editorial .ref-row__body h3,
  .page-editorial .ref-row--featured .ref-row__body h3 {
    font-size: 1.55rem;
  }

  .page-editorial .figure-plate__head {
    display: grid;
    gap: 0.35rem;
  }

  .page-editorial .publication-contents {
    gap: 0.55rem 0.9rem;
  }

  .page-editorial .publication-contents > span {
    width: 100%;
  }

  .evidence-figure__caption {
    display: grid;
    gap: 0.25rem;
  }
}

/* ============================================================
   FULL EDITORIAL SYSTEM — Motion Lab reference applied site-wide
   ============================================================ */

.page-editorial {
  --page-max: 1280px;
  --page-pad: clamp(1.25rem, 3.75vw, 3rem);
}

.page-editorial .site-header {
  position: relative;
  top: auto;
}

.page-editorial .site-header__inner {
  min-height: 95px;
}

.page-editorial main > .section + .section,
.page-editorial main > article > .section + .section {
  border-top: 1px solid var(--caeliai-line);
}

.page-editorial .figure-plate.broken-frame,
.page-editorial .article-figure.broken-frame {
  border: 0;
  border-top: 3px solid var(--caeliai-black);
  border-bottom: 1px solid var(--caeliai-line);
  background: transparent;
}

.page-editorial .figure-plate.broken-frame::after,
.page-editorial .article-figure.broken-frame::after,
.page-editorial .signal-card.broken-frame::after,
.page-editorial .detail-card.broken-frame::after,
.page-editorial .figure-card.broken-frame::after,
.page-editorial .quote-panel.broken-frame::after,
.page-editorial .study-media__frame.broken-frame::after {
  display: none;
}

.page-editorial .signal-card.broken-frame,
.page-editorial .detail-card.broken-frame,
.page-editorial .figure-card.broken-frame,
.page-editorial .quote-panel.broken-frame {
  box-shadow: none;
}

.page-editorial .study-media__frame.broken-frame {
  border: 1px solid var(--caeliai-line);
  background: var(--caeliai-white);
}

.page-editorial .article-prose h2 {
  margin-top: 1.6rem;
  padding-top: 1rem;
  border-top: 1px solid var(--caeliai-line);
}

.page-editorial .article-prose h2:first-child {
  margin-top: 0;
}

.page-editorial .site-footer {
  border-top: 1px solid var(--caeliai-line);
  margin-top: clamp(4rem, 8vw, 7rem);
  padding-top: 0;
}

.page-editorial .site-footer__inner {
  border-top: 0;
}

.page-editorial .section-heading h2 {
  font-size: clamp(1.9rem, 3.1vw, 2.95rem);
}

.page-editorial .method-line {
  text-wrap: pretty;
}

@media (max-width: 720px) {
  .page-editorial .site-header__inner {
    min-height: 0;
  }

  .page-editorial main > .section + .section,
  .page-editorial main > article > .section + .section {
    border-top-color: rgba(42, 42, 44, 0.14);
  }
}

/* Enlarge navigation hit areas on touch screens without changing the type scale. */
@media (pointer: coarse) {
  .site-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding-block: 0.3rem;
    touch-action: manipulation;
  }
}

/* Long-form blog reports rendered from Markdown: headings, lists, code, tables, math, figures. */
.article-manuscript-note {
  max-width: 68ch;
  margin: 1.4rem 0 0;
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(42, 42, 44, 0.66);
}

.article-prose--longform {
  gap: 1.15rem;
}

.article-prose--longform > h2,
.article-prose--longform > h3,
.article-prose--longform > h4 {
  margin: 0;
  font-weight: 400;
  text-wrap: balance;
}

.page-editorial .article-prose--longform > h2 {
  margin-top: clamp(2.4rem, 5vw, 3.6rem);
  padding-top: 1.1rem;
  border-top: 2px solid var(--caeliai-black);
  font-size: clamp(2rem, 3.6vw, 2.9rem);
  line-height: 1.04;
  letter-spacing: -0.035em;
}

.page-editorial .article-prose--longform > h3 {
  margin-top: 1.7rem;
  padding-top: 1rem;
  border-top: 1px solid var(--caeliai-line);
  font-size: clamp(1.45rem, 2.2vw, 1.85rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.page-editorial .article-prose--longform > h2 + h3,
.page-editorial .article-prose--longform > h2:first-child,
.page-editorial .article-prose--longform > h3:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.article-prose--longform > h4 {
  margin-top: 1.1rem;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.25;
}

.article-prose--longform > hr {
  width: 100%;
  margin: clamp(1.2rem, 3vw, 2rem) 0 0;
  border: 0;
  border-top: 1px solid var(--caeliai-line);
}

.article-prose--longform > hr + h2 {
  margin-top: 0;
}

.article-prose--longform a {
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

.article-prose--longform ul,
.article-prose--longform ol {
  display: grid;
  gap: 0.55rem;
  max-width: 68ch;
  margin: 0;
  padding-left: 1.35rem;
  font-size: clamp(1.05rem, 1.35vw, 1.16rem);
  line-height: 1.65;
  color: rgba(10, 10, 11, 0.92);
}

.article-prose--longform li > ul,
.article-prose--longform li > ol {
  margin-top: 0.5rem;
  font-size: 1em;
}

.article-prose--longform li::marker {
  color: rgba(42, 42, 44, 0.55);
}

.article-prose--longform ol > li::marker {
  font-family: var(--font-mono);
  font-size: 0.85em;
}

.article-prose--longform :not(pre) > code {
  padding: 0.05em 0.3em;
  background: var(--caeliai-sage-wash);
  border: 1px solid rgba(181, 214, 192, 0.55);
  font-family: var(--font-mono);
  font-size: 0.84em;
  overflow-wrap: anywhere;
}

.article-prose--longform .article-code {
  max-width: 100%;
  margin: 0.2rem 0;
  font-size: 0.78rem;
  line-height: 1.75;
  white-space: pre;
  tab-size: 4;
}

.article-prose--longform .article-code code {
  font-family: inherit;
}

.article-prose--longform .article-quote {
  display: grid;
  gap: 0.6rem;
  max-width: 64ch;
}

.article-prose--longform .article-quote p {
  font-size: inherit;
  line-height: inherit;
}

.article-callout {
  display: grid;
  gap: 0.8rem;
  max-width: 72ch;
  margin: 0.4rem 0;
  padding: 1.15rem 1.35rem 1.25rem;
  border-top: 3px solid var(--caeliai-sage);
  background: var(--caeliai-sage-wash);
}

.article-table-wrap {
  max-width: 100%;
  margin: 0.2rem 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.article-table-wrap .research-table th:last-child,
.article-table-wrap .research-table td:last-child {
  padding-right: 0;
}

.article-table-wrap .research-table td {
  vertical-align: top;
  line-height: 1.5;
}

.article-table-wrap .research-table .is-num {
  text-align: right;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.article-table-wrap .research-table code {
  overflow-wrap: normal;
  white-space: nowrap;
}

.article-prose--longform > .article-figure {
  margin: 0.4rem 0;
}

.article-prose--longform .article-figure img {
  width: 100%;
  height: auto;
}

.article-math {
  max-width: 100%;
  padding: 0.5rem 0;
  overflow-x: auto;
}

.article-math math {
  font-family: var(--font-serif);
  font-size: 1.3rem;
}

/* Long report: one centered reading column for hero and body. */
.page-report .study-hero__copy,
.page-report .article-prose--longform {
  width: min(100%, 46rem);
  margin-inline: auto;
}

.page-report .article-prose--longform > p,
.page-report .article-prose--longform > ul,
.page-report .article-prose--longform > ol,
.page-report .article-prose--longform .article-quote,
.page-report .article-callout {
  max-width: none;
}

.page-report .article-figure img[src$=".gif"] {
  width: min(100%, 30rem);
  margin-inline: auto;
}

@media (max-width: 720px) {
  .page-report .article-table-wrap .research-table {
    font-size: 0.86rem;
  }

  .page-report .article-table-wrap .research-table th,
  .page-report .article-table-wrap .research-table td {
    padding-right: 0.7rem;
  }

  .page-report .article-table-wrap .research-table td:first-child {
    min-width: 8.5rem;
  }
}
