/* ==========================================================================
   Ultimate Ipsum — Pixel Perfectly
   2026 Kinetic Obsidian × Archival Paper Avant-Garde Edition
   ========================================================================== */

:root {
  --obsidian: #080c0a;
  --obsidian-elev: #111714;
  --obsidian-border: rgba(244, 242, 235, 0.16);
  --obsidian-border-strong: rgba(244, 242, 235, 0.34);

  --paper: #f4f1e8;
  --paper-warm: #e8e3d6;
  --white: #ffffff;
  --ink: #0b100e;
  --ink-soft: #3a4540;
  --ink-muted: #536059;

  --emerald: #00cc76;
  --emerald-mid: #00a360;
  --emerald-deep: #007d49;

  --rule: #0b100e;
  --rule-subtle: rgba(11, 16, 14, 0.16);

  --font-display: 'Space Grotesk', system-ui, -apple-system, sans-serif;
  --font-serif: 'Instrument Serif', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, monospace;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
}

a {
  color: inherit;
}

button,
input,
select {
  font: inherit;
}

:focus-visible {
  outline: 2px solid var(--emerald);
  outline-offset: 2px;
}

::selection {
  background: var(--emerald);
  color: var(--obsidian);
}

.skip-link {
  position: fixed;
  inset-block-start: 10px;
  inset-inline-start: 12px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--emerald);
  color: var(--obsidian);
  border: 1.5px solid var(--ink);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  transform: translateY(-200%);
  transition: transform 0.16s ease;
}

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

.noscript-banner {
  padding: 10px 20px;
  background: var(--paper);
  color: var(--ink);
  border-bottom: 1.5px solid var(--ink);
  font-family: var(--font-mono);
  font-size: 12px;
  text-align: center;
}

/* ==========================================================================
   Sticky Archival Paper Masthead + Live 60fps Scroll Progress Bar
   ========================================================================== */
.masthead {
  position: sticky;
  inset-block-start: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: stretch;
  min-height: 58px;
  background: rgba(244, 241, 232, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--rule);
  color: var(--ink);
}

.scroll-progress {
  position: absolute;
  inset-inline: 0;
  inset-block-end: -1px;
  height: 2.5px;
  background: var(--emerald-mid);
  transform-origin: left center;
  transform: scaleX(var(--scroll-progress, 0));
  pointer-events: none;
  will-change: transform;
}

.masthead-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 10px clamp(16px, 3vw, 34px);
  text-decoration: none;
  border-right: 1px solid var(--rule-subtle);
  transition: background-color 0.16s ease;
}

.masthead-brand:hover {
  background: rgba(11, 16, 14, 0.045);
}

.masthead-brand img {
  display: block;
  width: 28px;
  height: 28px;
  filter: brightness(0) opacity(0.95);
}

.masthead-wordmark {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
}

.masthead-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 24px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--emerald-mid);
  box-shadow: 0 0 8px rgba(0, 163, 96, 0.45);
}

.meta-sep {
  opacity: 0.42;
}

.masthead-menu-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 0 clamp(18px, 3vw, 34px);
  border: none;
  border-left: 1px solid var(--rule);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: background-color 0.16s ease, color 0.16s ease;
}

.masthead-menu-btn:hover {
  background: var(--obsidian);
  color: var(--paper);
}

.menu-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.menu-bars {
  display: inline-flex;
  flex-direction: column;
  gap: 5px;
  width: 20px;
}

.menu-bars span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: currentColor;
}

/* ==========================================================================
   Slide-Over Navigation Drawer (Native Modal <dialog> + Scroll-Snap)
   ========================================================================== */
.Drawer {
  --drawer-width: min(440px, 84dvw);
  --drawer-backdrop: 0;

  inset: 0;
  width: auto;
  height: auto;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
  overflow: visible;
}

.Drawer::backdrop {
  background: #040706;
  opacity: calc(var(--drawer-backdrop) * 0.65);
}

.Drawer-scroller {
  position: relative;
  display: grid;
  grid-template-columns: 100% var(--drawer-width);
  overflow-x: scroll;
  overscroll-behavior: none;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
}

@media (prefers-reduced-motion: no-preference) {
  .Drawer-scroller {
    scroll-behavior: smooth;
  }
}

.Drawer-scroller::before {
  content: '';
  scroll-snap-align: start;
  scroll-initial-target: nearest;
}

.Drawer-sheet {
  display: grid;
  grid-template-rows: auto 1fr auto;
  height: 100svh;
  background: var(--obsidian);
  color: var(--paper);
  border-left: 3px solid var(--emerald);
  overflow-y: auto;
  scroll-snap-align: end;
  scrollbar-width: none;
}

@supports (animation-timeline: scroll()) {
  .Drawer {
    timeline-scope: --drawer-fade;
    animation: fade-drawer-backdrop linear both;
    animation-timeline: --drawer-fade;
  }

  .Drawer-scroller {
    scroll-timeline: --drawer-fade x;
  }

  @property --drawer-backdrop {
    syntax: '<number>';
    inherits: true;
    initial-value: 0;
  }

  @keyframes fade-drawer-backdrop {
    0% { --drawer-backdrop: 0; }
    100% { --drawer-backdrop: 1; }
  }
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 28px;
  border-bottom: 1px solid var(--obsidian-border);
}

.drawer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--paper);
}

.drawer-close-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-block-size: 38px;
  padding: 0 14px;
  border: 1px solid var(--obsidian-border-strong);
  background: transparent;
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}

.drawer-close-btn:hover {
  background: var(--emerald);
  border-color: var(--emerald);
  color: var(--obsidian);
}

.drawer-body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
  padding: 36px 28px;
}

.drawer-section-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--emerald);
  margin-bottom: 20px;
}

.drawer-primary-list {
  list-style: none;
  border-top: 1px solid var(--obsidian-border);
}

.drawer-primary-list li {
  border-bottom: 1px solid var(--obsidian-border);
}

.drawer-primary-list a {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 16px 4px;
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--paper);
  transition: color 0.16s ease, padding-inline-start 0.16s ease;
}

.drawer-primary-list a:hover {
  color: var(--emerald);
  padding-inline-start: 10px;
}

.nav-idx {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  color: rgba(244, 241, 232, 0.56);
}

.drawer-secondary {
  padding-top: 24px;
  border-top: 1px solid rgba(244, 241, 232, 0.1);
}

.drawer-secondary-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(244, 241, 232, 0.62);
  margin-bottom: 14px;
}

.drawer-secondary-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}

.drawer-secondary-list a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  color: rgba(244, 241, 232, 0.6);
  text-decoration: none;
  transition: color 0.16s ease;
}

.drawer-secondary-list a::after {
  content: '↗';
  font-size: 11px;
  opacity: 0.55;
}

.drawer-secondary-list a:hover {
  color: var(--paper);
}

.drawer-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 28px max(18px, env(safe-area-inset-bottom));
  border-top: 1px solid var(--obsidian-border);
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(244, 241, 232, 0.52);
}

.drawer-social {
  display: flex;
  gap: 14px;
}

.drawer-social a {
  text-decoration: none;
  letter-spacing: 0.08em;
  color: rgba(244, 241, 232, 0.72);
  transition: color 0.15s ease;
}

.drawer-social a:hover {
  color: var(--emerald);
}

.drawer-credit a {
  color: var(--paper);
  text-decoration: none;
}

.drawer-credit a:hover {
  color: var(--emerald);
}

/* ==========================================================================
   Warm Archival Paper Kinetic Editorial Hero
   ========================================================================== */
.kinetic-hero {
  --px: 0px;
  --py: 0px;
  --rx: 0deg;
  --ry: 0deg;
  --hero-scroll: 0;

  display: flex;
  flex-direction: column;
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
}

.hero-dark-zone {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--paper);
  color: var(--ink);
}

.hero-stage {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  padding: clamp(40px, 5.5vw, 76px) clamp(18px, 4vw, 56px) clamp(24px, 3.4vw, 46px);
}

/* Monumental Kinetic Poster Lockup + Archival Specimen Folio */
.poster-lockup {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: clamp(24px, 4vw, 64px);
  width: 100%;
}

.poster-title {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0;
  min-width: 0;
}

.poster-row {
  position: relative;
  display: flex;
  align-items: flex-end;
  will-change: transform;
}

.poster-row-top {
  z-index: 2;
  transform: translate3d(calc(var(--hero-scroll) * -8vw), 0, 0);
}

.poster-row-bottom {
  z-index: 1;
  margin-top: 0;
  padding-inline-start: 0;
  transform: translate3d(calc(var(--hero-scroll) * 8vw), 0, 0);
}

/* Tight per-word wrapper ensures ghost outlines stay 1:1 anchored with zero clipping */
.poster-word {
  position: relative;
  display: inline-block;
  overflow: visible;
}

.poster-solid,
.poster-ghost {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(3.6rem, 11.4vw, 10.8rem);
  font-weight: 700;
  line-height: 0.84;
  letter-spacing: -0.055em;
  text-transform: uppercase;
  padding: 0.06em 0.04em 0 0;
}

.poster-solid {
  position: relative;
  z-index: 2;
  color: var(--ink);
}

.poster-ghost {
  position: absolute;
  inset-inline-start: 0;
  inset-block-start: 0;
  z-index: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(0, 148, 86, 0.48);
  transform: translate3d(calc(12px + var(--px) * 0.9), calc(-12px + var(--py) * 0.9), 0);
  pointer-events: none;
  user-select: none;
}

.poster-serif,
.poster-serif-ghost {
  display: block;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(4.3rem, 12.6vw, 12.2rem);
  line-height: 0.84;
  letter-spacing: -0.025em;
  /* Extra right & bottom breathing room so italic overhang and descender 'p' never clip */
  padding: 0 0.14em 0.12em 0.02em;
}

.poster-serif {
  position: relative;
  z-index: 2;
  color: #009456;
}

.poster-serif-ghost {
  position: absolute;
  inset-inline-start: 0;
  inset-block-start: 0;
  z-index: 1;
  color: transparent;
  -webkit-text-stroke: 1.3px rgba(11, 16, 14, 0.28);
  transform: translate3d(calc(12px - var(--px) * 0.75), calc(-12px - var(--py) * 0.75), 0);
  pointer-events: none;
  user-select: none;
}

/* Crisp Editorial Entry Reveal on Load (no tight clip-path cutoffs) */
@media (prefers-reduced-motion: no-preference) {
  .poster-solid {
    animation: hero-ink-enter 0.68s cubic-bezier(0.16, 1, 0.3, 1) both;
  }

  .poster-serif {
    animation: hero-ink-enter 0.74s cubic-bezier(0.16, 1, 0.3, 1) 0.08s both;
  }

  .paper-folio {
    animation: folio-enter 0.72s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both;
  }

  @keyframes hero-ink-enter {
    from {
      opacity: 0;
      transform: translateY(24px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  @keyframes folio-enter {
    from {
      opacity: 0;
      transform: translate3d(0, 22px, 0);
    }
    to {
      opacity: 1;
      transform: translate3d(0, 0, 0);
    }
  }
}

/* Tactile Archival Specimen Folio Card Inside Hero */
.paper-folio {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: clamp(300px, 28vw, 380px);
  margin-bottom: clamp(12px, 1.8vh, 22px);
  padding: 20px 22px 18px;
  background: var(--white);
  color: var(--ink);
  border: 1.5px solid var(--ink);
  box-shadow: 7px 7px 0 var(--emerald-mid);
  font-family: var(--font-body);
  font-weight: 400;
  letter-spacing: 0;
  transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry));
  transform-style: preserve-3d;
  will-change: transform;
  transition: box-shadow 0.22s ease;
}

.folio-crop {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 1;
  color: var(--ink-muted);
  pointer-events: none;
  user-select: none;
}

.folio-crop-tl { inset-block-start: 4px; inset-inline-start: 5px; }
.folio-crop-tr { inset-block-start: 4px; inset-inline-end: 5px; }
.folio-crop-bl { inset-block-end: 4px; inset-inline-start: 5px; }
.folio-crop-br { inset-block-end: 4px; inset-inline-end: 5px; }

.folio-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--rule-subtle);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.folio-stock {
  color: var(--ink-muted);
}

.folio-stamp {
  padding: 2px 7px;
  background: var(--emerald);
  color: var(--obsidian);
  font-weight: 600;
  transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.folio-stamp.is-popping {
  transform: scale(1.14) rotate(-3deg);
}

.folio-copy {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink);
}

.folio-copy strong {
  font-weight: 700;
  color: var(--emerald-deep);
}

.folio-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--rule-subtle);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

/* ==========================================================================
   Warm Archival Paper Apron + Embedded Obsidian Console + Below-Console Readout
   ========================================================================== */
.hero-paper-apron {
  position: relative;
  flex: none;
  background: var(--paper);
  color: var(--ink);
  padding: clamp(6px, 1vw, 14px) clamp(18px, 4vw, 56px) clamp(16px, 2vw, 24px);
  overflow: hidden;
}

/* Tactile Press-Bar Sweep Flash across the archival paper seam on Generate */
.press-sweep {
  position: absolute;
  inset-block-start: 0;
  inset-inline: 0;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--emerald) 45%, var(--ink) 80%, transparent);
  transform: translateX(-100%);
  pointer-events: none;
}

@media (prefers-reduced-motion: no-preference) {
  .press-sweep.is-sweeping {
    animation: press-bar-sweep 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  }

  @keyframes press-bar-sweep {
    from { transform: translateX(-100%); }
    to { transform: translateX(100%); }
  }
}

.apron-inner {
  position: relative;
  z-index: 2;
}

/* Full-Width Industrial Instrument Console Seated on Warm Archival Paper */
.instrument-console {
  display: grid;
  grid-template-columns: minmax(220px, 1.45fr) 176px minmax(220px, 1fr) minmax(190px, 0.9fr);
  border: 1.5px solid var(--ink);
  background: var(--obsidian);
  box-shadow: 7px 7px 0 var(--emerald-mid);
}

.console-cell {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 14px 18px 16px;
  border: none;
  min-width: 0;
}

.console-cell + .console-cell {
  border-left: 1px solid var(--obsidian-border);
}

.console-cell > label,
.console-cell > .console-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(244, 241, 232, 0.68);
  margin-bottom: 10px;
}

.select-wrap {
  position: relative;
}

.select-wrap::after {
  content: '';
  position: absolute;
  inset-inline-end: 14px;
  inset-block-start: 50%;
  width: 8px;
  height: 8px;
  border-right: 1.8px solid var(--emerald);
  border-bottom: 1.8px solid var(--emerald);
  transform: translateY(-72%) rotate(45deg);
  pointer-events: none;
}

select {
  width: 100%;
  height: 46px;
  padding: 0 38px 0 12px;
  border: 1px solid var(--obsidian-border-strong);
  border-radius: 0;
  background: var(--obsidian-elev);
  color: var(--paper);
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  appearance: none;
  cursor: pointer;
  transition: border-color 0.16s ease, background-color 0.16s ease;
}

select:hover {
  border-color: var(--emerald);
}

select option,
select optgroup {
  background: #111714;
  color: var(--paper);
}

.stepper {
  display: grid;
  grid-template-columns: 42px 1fr 42px;
  height: 46px;
  border: 1px solid var(--obsidian-border-strong);
  background: var(--obsidian-elev);
}

.stepper-btn {
  border: none;
  background: transparent;
  color: var(--paper);
  font-size: 19px;
  cursor: pointer;
  transition: background-color 0.14s ease, color 0.14s ease;
}

.stepper-btn:first-child {
  border-right: 1px solid var(--obsidian-border);
}

.stepper-btn:last-child {
  border-left: 1px solid var(--obsidian-border);
}

.stepper-btn:hover {
  background: var(--emerald);
  color: var(--obsidian);
}

.stepper input[type='number'] {
  width: 100%;
  border: none;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 500;
  color: var(--paper);
  background: transparent;
  appearance: textfield;
}

.stepper input[type='number']::-webkit-outer-spin-button,
.stepper input[type='number']::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Sliding Indicator Segmented Control */
.segmented-control {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  height: 46px;
  border: 1px solid var(--obsidian-border-strong);
  background: var(--obsidian-elev);
  isolation: isolate;
}

.segment-slider {
  position: absolute;
  inset-block: 0;
  inset-inline-start: 0;
  width: calc(100% / 3);
  background: var(--emerald);
  z-index: 0;
  transform: translateX(calc(var(--seg-idx, 1) * 100%));
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.segment {
  position: relative;
  z-index: 1;
  display: flex !important;
  align-items: center;
  justify-content: center;
  margin: 0 !important;
  cursor: pointer;
}

.segment input {
  position: absolute;
  opacity: 0;
  inset: 0;
  cursor: pointer;
}

.segment span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: none;
  color: rgba(244, 241, 232, 0.72);
  transition: color 0.2s ease;
}

.segment input:checked + span {
  color: var(--obsidian);
  font-weight: 700;
}

.segment input:focus-visible + span {
  outline: 2px solid var(--paper);
  outline-offset: -3px;
}

/* Primary Magnetic Generate Button Cell */
.console-cell-submit {
  padding: 0;
}

.generate-button {
  width: 100%;
  height: 100%;
  min-height: 76px;
  border: none;
  background: var(--emerald);
  color: var(--obsidian);
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: color 0.22s ease, transform 0.14s ease;
}

.generate-button::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--paper);
  z-index: -1;
  transform: translateY(101%);
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

@media (hover: hover) and (pointer: fine) {
  .generate-button:hover::before {
    transform: translateY(0);
  }
}

.generate-button:active {
  transform: scale(0.985);
}

.btn-inner {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  will-change: transform;
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

.btn-arrow {
  font-size: 20px;
  line-height: 1;
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

.generate-button:hover .btn-arrow {
  transform: translate(4px, -4px);
}

.generate-button[data-loading='true'] {
  opacity: 0.7;
  cursor: progress;
}

/* Below-Console Selected Corpus Readout Strip (Printed on Archival Paper — Zero Layout Shift) */
.console-readout {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 36px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--rule-subtle);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.05em;
  color: var(--ink-soft);
  overflow: hidden;
}

.readout-index {
  flex: none;
  color: var(--emerald-deep);
  font-weight: 600;
}

.readout-label {
  flex: none;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--ink);
  transition: opacity 0.16s ease;
}

.readout-sep {
  flex: none;
  opacity: 0.38;
}

.readout-tagline {
  flex: 1 1 auto;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--ink-soft);
  transition: opacity 0.16s ease;
}

.readout-tagline.is-swapping,
.readout-label.is-swapping {
  opacity: 0;
}

.readout-lines {
  flex: none;
  padding: 2px 8px;
  background: var(--paper-warm);
  border: 1px solid var(--rule-subtle);
  color: var(--ink);
  font-weight: 500;
  font-size: 10.5px;
  letter-spacing: 0.08em;
}

.form-error {
  margin-top: 12px;
  padding: 10px 14px;
  border-left: 3px solid #b42318;
  background: rgba(180, 35, 24, 0.09);
  color: #8a1911;
  font-size: 13.5px;
  font-weight: 500;
}

/* ==========================================================================
   Stark Archival Gallery Reading Stage + Clip-Path Press Reveal
   ========================================================================== */
.reading-stage {
  background: var(--white);
  border-bottom: 1px solid var(--rule);
}

.stage-grid {
  display: grid;
  grid-template-columns: minmax(260px, 320px) minmax(0, 1fr);
}

.stage-rail {
  border-right: 1px solid var(--rule-subtle);
  background: var(--paper);
}

.stage-rail-inner {
  padding: clamp(32px, 5vw, 64px) clamp(20px, 3vw, 40px);
  position: sticky;
  inset-block-start: 58px;
}

.rail-kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--emerald-deep);
  margin-bottom: 10px;
}

.rail-corpus-title {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(2rem, 2.9vw, 2.6rem);
  line-height: 1.04;
  color: var(--ink);
  margin-bottom: 24px;
}

.stats-ledger {
  border-top: 1px solid var(--rule-subtle);
  margin-bottom: 28px;
}

.stat-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 9px 0;
  border-bottom: 1px solid var(--rule-subtle);
  font-family: var(--font-mono);
  font-size: 12px;
}

.stat-row dt {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-muted);
}

.stat-row dd {
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}

.rail-actions {
  display: grid;
  gap: 10px;
}

.copy-control {
  position: relative;
  display: block;
}

.curtain-btn {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  transition: color 0.22s ease, border-color 0.22s ease, transform 0.12s ease;
}

.curtain-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.26s cubic-bezier(0.22, 1, 0.36, 1);
}

@media (hover: hover) and (pointer: fine) {
  .curtain-btn:hover::before {
    transform: scaleX(1);
  }
}

.curtain-btn:active {
  transform: scale(0.988);
}

.action-btn {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-inline-size: 40px;
  min-block-size: 44px;
  padding: 0 16px;
  border-radius: 0;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.action-btn-primary {
  background: var(--emerald);
  border: 1.5px solid var(--ink);
  color: var(--obsidian);
}

.action-btn-primary::before {
  background: var(--ink);
}

@media (hover: hover) and (pointer: fine) {
  .action-btn-primary:hover {
    border-color: var(--ink);
    color: var(--emerald);
  }
}

.action-btn:disabled {
  opacity: 0.55;
  cursor: progress;
}

.action-btn-secondary {
  background: var(--white);
  border: 1px solid var(--rule);
  color: var(--ink);
}

.action-btn-secondary:hover {
  background: var(--paper-warm);
}

.action-btn .icon-check {
  display: none;
}

.action-btn[data-copied] {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--emerald);
}

.action-btn[data-copied] .icon-copy {
  display: none;
}

.action-btn[data-copied] .icon-check {
  display: inline-block;
}

.action-btn[data-failed] {
  border-color: #b42318;
  color: #b42318;
}

.copy-status {
  position: absolute;
  z-index: 5;
  inset-block-end: calc(100% + 6px);
  inset-inline-start: 50%;
  transform: translateX(-50%);
  padding: 4px 10px;
  background: var(--ink);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.16s ease;
}

.action-btn[data-copied] + .copy-status,
.action-btn[data-failed] + .copy-status {
  opacity: 1;
}

.copy-sheet {
  padding: clamp(36px, 6vw, 76px) clamp(22px, 6vw, 88px);
  background: var(--white);
}

.paragraph-row {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  max-width: 72ch;
  padding-inline-start: 14px;
  border-inline-start: 2px solid transparent;
  transition: border-color 0.2s ease;
}

.paragraph-row:hover,
.paragraph-row:focus-within {
  border-inline-start-color: var(--emerald);
}

.paragraph-row[data-index]::before {
  content: attr(data-index);
  flex: none;
  padding-top: 7px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: var(--ink-muted);
  user-select: none;
}

.paragraph-row + .paragraph-row {
  margin-top: 1.55em;
}

.paragraph-row .ipsum-paragraph {
  flex: 1 1 auto;
  max-width: 62ch;
  font-size: clamp(16.5px, 1.25vw, 18.5px);
  line-height: 1.85;
  color: var(--ink);
}

@media (prefers-reduced-motion: no-preference) {
  .paragraph-row.is-fresh {
    animation: press-reveal 0.56s cubic-bezier(0.16, 1, 0.3, 1) both;
    animation-delay: calc(min(var(--p-index, 0), 8) * 65ms);
  }

  @keyframes press-reveal {
    from {
      opacity: 0;
      transform: translateY(26px);
      clip-path: inset(0 0 100% 0);
    }
    to {
      opacity: 1;
      transform: translateY(0);
      clip-path: inset(0 0 0% 0);
    }
  }
}

.para-copy-wrap {
  position: relative;
  flex: none;
  padding-top: 5px;
}

.para-copy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-inline-size: 64px;
  min-block-size: 28px;
  padding: 0 9px;
  border: 1px solid var(--rule-subtle);
  background: var(--paper);
  color: var(--ink-soft);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: opacity 0.16s ease, background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.para-copy-btn:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
}

.para-copy-btn[data-copied] {
  border-color: var(--emerald);
  background: var(--emerald);
  color: var(--ink);
}

.para-copy-wrap .copy-status {
  inset-inline-start: auto;
  inset-inline-end: 0;
  transform: none;
}

@media (hover: hover) and (pointer: fine) {
  .para-copy-btn {
    opacity: 0;
  }

  .paragraph-row:hover .para-copy-btn,
  .paragraph-row:focus-within .para-copy-btn,
  .para-copy-btn:focus-visible,
  .para-copy-btn[data-copied],
  .para-copy-btn[data-failed] {
    opacity: 1;
  }
}

.copy-sheet code {
  font-family: var(--font-mono);
  font-size: 0.85em;
  padding: 2px 6px;
  background: var(--paper);
  color: var(--emerald-deep);
}

/* ==========================================================================
   Scroll-Scrubbed Kinetic Typographic Marquee Divider
   ========================================================================== */
.scroll-marquee {
  overflow: hidden;
  background: var(--emerald);
  color: var(--obsidian);
  border-bottom: 1px solid var(--rule);
  padding: 18px 0;
}

.marquee-track {
  display: inline-flex;
  align-items: baseline;
  gap: 28px;
  white-space: nowrap;
  padding-inline-start: 4vw;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.8vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  will-change: transform;
  transform: translate3d(calc(var(--marquee-x, 0) * -1px), 0, 0);
}

.marquee-accent {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.08em;
  letter-spacing: 0.01em;
  padding: 2px 12px 3px;
  background: var(--obsidian);
  color: var(--emerald);
}

/* ==========================================================================
   Ink-Black Editorial History Essay (Staggered Scroll Reveal)
   ========================================================================== */
.history-essay {
  background: var(--obsidian);
  color: var(--paper);
  border-bottom: 1px solid var(--obsidian-border);
  padding: clamp(68px, 8.5vw, 118px) clamp(20px, 4vw, 56px);
}

.essay-inner {
  max-width: 1260px;
  margin: 0 auto;
}

.section-index {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--emerald);
  margin-bottom: 14px;
}

.section-index-dark {
  color: var(--emerald-deep);
}

.essay-header h2,
.vtimeline-header h2 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 4.4rem);
  font-weight: 700;
  line-height: 0.96;
  letter-spacing: -0.04em;
}

.heading-serif {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.015em;
  color: var(--emerald);
}

.heading-serif-emerald {
  color: var(--emerald-mid);
}

.essay-grid {
  margin-top: 44px;
  padding-top: 32px;
  border-top: 1px solid var(--obsidian-border);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 36px;
}

@media (prefers-reduced-motion: no-preference) {
  .essay-col {
    opacity: 0;
    transform: translate3d(0, 26px, 0);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: calc(var(--col-idx, 0) * 110ms);
  }

  .essay-grid.in-view .essay-col {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.col-num {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--emerald);
  margin-bottom: 14px;
}

.essay-col p {
  font-size: 15.5px;
  line-height: 1.8;
  color: rgba(244, 241, 232, 0.8);
}

/* ==========================================================================
   Spacious Vertical Architectural Chronology (Live rAF Scroll-Drawn Spine)
   ========================================================================== */
.vertical-timeline {
  background: var(--paper);
  padding: clamp(80px, 10vw, 144px) clamp(20px, 4vw, 56px) clamp(110px, 13vw, 176px);
}

.vtimeline-header {
  max-width: 780px;
  margin: 0 auto clamp(72px, 10vh, 128px);
  text-align: center;
}

.vtimeline-intro {
  margin: 20px auto 0;
  max-width: 50ch;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-soft);
}

.vtimeline-track {
  position: relative;
  max-width: 1140px;
  margin: 0 auto;
  padding-block: 16px 64px;
}

.vtimeline-spine {
  position: absolute;
  inset-block: 0;
  inset-inline-start: 50%;
  width: 1px;
  background: rgba(11, 16, 14, 0.18);
  transform: translateX(-50%);
}

.vtimeline-spine-fill {
  width: 2.5px;
  height: 100%;
  margin-left: -0.75px;
  background: linear-gradient(to bottom, var(--emerald-mid) 0%, var(--emerald) 92%, transparent 100%);
  transform-origin: top center;
  transform: scaleY(var(--spine-progress, 0));
  will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
  .vtimeline-spine-fill {
    transform: scaleY(1);
  }
}

.vtimeline-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: clamp(72px, 13vh, 148px);
}

.vtimeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
}

.vtimeline-node {
  position: absolute;
  inset-inline-start: 50%;
  inset-block-start: 30px;
  width: 13px;
  height: 13px;
  background: var(--paper);
  border: 1.5px solid var(--ink);
  transform: translateX(-50%) rotate(45deg);
  transition: background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.35s ease, transform 0.25s ease;
  z-index: 3;
}

.vtimeline-item.is-passed .vtimeline-node {
  background: var(--emerald);
  border-color: var(--emerald-deep);
}

.vtimeline-item.is-active .vtimeline-node {
  background: var(--emerald);
  border-color: var(--ink);
  transform: translateX(-50%) rotate(45deg) scale(1.35);
  box-shadow: 0 0 0 7px rgba(0, 204, 118, 0.24);
}

.vtimeline-plate {
  --pmx: 50%;
  --pmy: 50%;
  position: relative;
  overflow: hidden;
  padding: 28px 32px 32px;
  background: var(--white);
  border: 1.5px solid var(--ink);
  box-shadow: 5px 5px 0 var(--paper-warm);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

/* Cursor-reactive subtle emerald ink shimmer on timeline plates */
.vtimeline-plate::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle 220px at var(--pmx) var(--pmy), rgba(0, 204, 118, 0.1), transparent 72%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}

@media (hover: hover) and (pointer: fine) {
  .vtimeline-plate:hover::after {
    opacity: 1;
  }

  .vtimeline-item:hover .vtimeline-plate {
    box-shadow: 7px 7px 0 var(--emerald-mid);
  }
}

.vtimeline-item.is-active .vtimeline-plate {
  border-color: var(--ink);
  box-shadow: 7px 7px 0 var(--emerald-mid);
}

.vtimeline-item::before {
  content: '';
  position: absolute;
  inset-block-start: 36px;
  width: 48px;
  height: 1.5px;
  background: var(--emerald-mid);
  transform: scaleX(0);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 2;
}

.vtimeline-item:nth-child(odd)::before {
  inset-inline-end: 50%;
  transform-origin: right center;
}

.vtimeline-item:nth-child(even)::before {
  inset-inline-start: 50%;
  transform-origin: left center;
}

.vtimeline-item.is-passed::before,
.vtimeline-item.is-active::before {
  transform: scaleX(1);
}

.vtimeline-item:nth-child(odd) .vtimeline-plate {
  grid-column: 1;
  margin-inline-end: 48px;
}

.vtimeline-item:nth-child(even) .vtimeline-plate {
  grid-column: 2;
  margin-inline-start: 48px;
}

.plate-watermark {
  position: absolute;
  inset-inline-end: 12px;
  inset-block-end: -18px;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(4.2rem, 7vw, 6.2rem);
  line-height: 1;
  color: rgba(11, 16, 14, 0.045);
  pointer-events: none;
  user-select: none;
  transform: translate3d(0, calc(var(--item-parallax, 0) * 24px), 0);
  will-change: transform;
}

.plate-meta {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--rule-subtle);
}

.plate-seq {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--ink-muted);
}

.plate-year {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(2.5rem, 4.4vw, 3.8rem);
  line-height: 0.88;
  padding-right: 4px;
  color: var(--ink);
  transition: color 0.28s ease, transform 0.28s ease;
}

.vtimeline-item.is-active .plate-year,
.vtimeline-item:hover .plate-year {
  color: var(--emerald-mid);
  transform: translateX(4px);
}

.plate-title {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 10px;
}

.plate-text {
  position: relative;
  z-index: 1;
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.plate-text a {
  color: var(--emerald-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (prefers-reduced-motion: no-preference) {
  .vtimeline-item .vtimeline-plate {
    opacity: 0;
    transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.28s ease, box-shadow 0.28s ease;
  }

  .vtimeline-item:nth-child(odd) .vtimeline-plate {
    transform: translate3d(-44px, 28px, 0);
  }

  .vtimeline-item:nth-child(even) .vtimeline-plate {
    transform: translate3d(44px, 28px, 0);
  }

  .vtimeline-item.in-view .vtimeline-plate {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--obsidian);
  color: rgba(244, 241, 232, 0.65);
  border-top: 1px solid var(--obsidian-border);
}

.footer-inner {
  padding: 26px clamp(18px, 4vw, 56px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.site-footer a {
  color: var(--paper);
  text-decoration: none;
  transition: color 0.15s ease;
}

.site-footer a:hover {
  color: var(--emerald);
}

/* ==========================================================================
   Responsive Breakpoints (Mobile-First Ergonomics)
   ========================================================================== */
@media (max-width: 1080px) {
  .instrument-console {
    grid-template-columns: 1fr 1fr;
  }

  .console-cell:nth-child(3) {
    border-left: none;
    border-top: 1px solid var(--obsidian-border);
  }

  .console-cell:nth-child(4) {
    border-top: 1px solid var(--obsidian-border);
  }

  .stage-grid {
    grid-template-columns: 1fr;
  }

  .stage-rail {
    border-right: none;
    border-bottom: 1px solid var(--rule-subtle);
  }

  .stage-rail-inner {
    position: static;
  }

  .essay-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (max-width: 960px) {
  .poster-lockup {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .paper-folio {
    width: 100%;
    max-width: 460px;
    margin-bottom: 0;
  }
}

@media (max-width: 860px) {
  .poster-row-bottom {
    padding-inline-start: 0;
  }

  .poster-serif-ghost {
    inset-inline-start: 0;
  }

  .paper-folio {
    max-width: 100%;
  }

  .vtimeline-spine {
    inset-inline-start: 16px;
    transform: none;
  }

  .vtimeline-item {
    grid-template-columns: 1fr;
  }

  .vtimeline-node {
    inset-inline-start: 16px;
  }

  .vtimeline-item:nth-child(odd)::before,
  .vtimeline-item:nth-child(even)::before {
    inset-inline-start: 16px;
    inset-inline-end: auto;
    width: 28px;
    transform-origin: left center;
  }

  .vtimeline-item:nth-child(odd) .vtimeline-plate,
  .vtimeline-item:nth-child(even) .vtimeline-plate {
    grid-column: 1;
    margin-inline: 44px 0;
  }

  @media (prefers-reduced-motion: no-preference) {
    .vtimeline-item:nth-child(odd) .vtimeline-plate,
    .vtimeline-item:nth-child(even) .vtimeline-plate {
      transform: translate3d(24px, 24px, 0);
    }

    .vtimeline-item.in-view .vtimeline-plate {
      transform: translate3d(0, 0, 0);
    }
  }
}

@media (max-width: 680px) {
  .masthead {
    grid-template-columns: 1fr auto;
  }

  .masthead-meta {
    display: none;
  }

  .masthead-brand {
    border-right: none;
  }

  .kinetic-hero {
    min-height: auto;
  }

  .poster-lockup {
    padding-block: 18px 20px;
  }

  .poster-solid,
  .poster-ghost {
    font-size: clamp(3.1rem, 15.5vw, 5.2rem);
  }

  .poster-serif,
  .poster-serif-ghost {
    font-size: clamp(3.7rem, 17.5vw, 6rem);
  }

  .poster-ghost,
  .poster-serif-ghost {
    transform: translate3d(7px, -7px, 0);
  }

  .paper-folio {
    padding: 14px 16px;
    box-shadow: 5px 5px 0 var(--emerald-mid);
  }

  .folio-foot {
    display: none;
  }

  .instrument-console {
    grid-template-columns: 1fr;
  }

  .console-cell + .console-cell {
    border-left: none;
    border-top: 1px solid var(--obsidian-border);
  }

  .generate-button {
    min-height: 56px;
  }

  .console-readout {
    flex-wrap: wrap;
    row-gap: 4px;
  }

  .readout-tagline {
    flex-basis: 100%;
    white-space: normal;
  }

  .stats-ledger {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-bottom: 1px solid var(--rule-subtle);
    margin-bottom: 18px;
  }

  .stat-row {
    flex-direction: column;
    gap: 2px;
    padding: 10px 8px;
    border-bottom: none;
  }

  .stat-row + .stat-row {
    border-left: 1px solid var(--rule-subtle);
  }

  .stat-row dt {
    font-size: 10px;
  }

  .stat-row dd {
    font-size: 15px;
  }

  .rail-actions {
    grid-template-columns: 1fr 1fr;
  }

  .rail-action-primary {
    grid-column: 1 / -1;
  }

  .paragraph-row {
    flex-direction: column;
    gap: 8px;
  }

  .para-copy-wrap {
    padding-top: 0;
  }
}
