/* ============================================================================
 * THE BIRTHRIGHT PROTOCOL — CIVIC MANIFESTO
 * Humanist Cybernetic Field Guide & Beuysian Social Sculpture Stylesheet
 * Compiled from WhitePapers/birthprotocol.scss
 * ============================================================================ */

:root {
  --canvas-vellum: #F7F4EC;
  --canvas-vellum-warm: #EFE9DC;
  --ink-primary: #1E2226;
  --ink-muted: #5A646E;
  --ink-indigo: #233446;
  --wash-cyan-outer: rgba(77, 159, 232, 0.35);
  --wash-cyan-inner: rgba(154, 204, 255, 0.65);
  --wash-sage: rgba(88, 152, 114, 0.45);
  --wash-ochre: rgba(238, 198, 67, 0.45);
  --wash-coral: rgba(226, 118, 98, 0.40);
  --wash-mauve: rgba(168, 148, 194, 0.40);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body.treatise-body {
  margin: 0;
  padding: 0;
  color: #1E2226;
  font-family: 'Newsreader', 'Cormorant Garamond', Georgia, serif;
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: #F7F4EC;
  background-image:
    linear-gradient(rgba(92, 105, 117, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(92, 105, 117, 0.12) 1px, transparent 1px),
    linear-gradient(rgba(92, 105, 117, 0.24) 1px, transparent 1px),
    linear-gradient(90deg, rgba(92, 105, 117, 0.24) 1px, transparent 1px);
  background-size: 16px 16px, 16px 16px, 80px 80px, 80px 80px;
  background-position: -1px -1px;
}

::selection {
  background-color: rgba(77, 159, 232, 0.28);
  color: #1E2226;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.paper-fiber-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 60;
  opacity: 0.032;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 240 240' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='vellumNoise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23vellumNoise)'/%3E%3C/svg%3E");
}

/* ----------------------------------------------------------------------------
 * ARCHIVAL NAVIGATION / HUD HEADER
 * ---------------------------------------------------------------------------- */
.treatise-hud-header {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  background-color: rgba(247, 244, 236, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(30, 34, 38, 0.24);
  padding: 0.75rem 1.5rem;
}

.treatise-hud-header .hud-inner {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.treatise-hud-header .breadcrumb {
  font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #5A646E;
  line-height: 1.4;
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.treatise-hud-header .breadcrumb a {
  color: #5A646E;
  padding-bottom: 1px;
  border-bottom: 1px solid transparent;
}

.treatise-hud-header .breadcrumb a:hover {
  color: #1E2226;
  border-bottom-color: #1E2226;
}

.treatise-hud-header .breadcrumb .crumb-sep {
  color: rgba(90, 100, 110, 0.45);
}

.treatise-hud-header .breadcrumb .crumb-current {
  color: #1E2226;
  font-weight: 700;
}

.treatise-hud-header .hud-status {
  font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #5A646E;
  line-height: 1.4;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.treatise-hud-header .hud-status .hud-coord {
  font-family: 'Space Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: #5A646E;
  display: none;
}

@media (min-width: 768px) {
  .treatise-hud-header .hud-status .hud-coord {
    display: inline-block;
  }
}

.treatise-hud-header .hud-status .hud-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.2rem 0.6rem;
  background-color: #EFE9DC;
  border: 1px solid rgba(30, 34, 38, 0.24);
  color: #233446;
  font-weight: 600;
}

.treatise-hud-header .hud-status .hud-badge .status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #3B82A6;
  box-shadow: 0 0 0 2px rgba(77, 159, 232, 0.25);
}

/* ----------------------------------------------------------------------------
 * LITHOGRAPHIC ARCHIVAL PLATE FRAME (Double-Rule + Notched Corners)
 * ---------------------------------------------------------------------------- */
.plate-outer-wrapper {
  padding: 1rem;
}

@media (min-width: 640px) {
  .plate-outer-wrapper {
    padding: 1.5rem 2rem;
  }
}

@media (min-width: 1024px) {
  .plate-outer-wrapper {
    padding: 2.25rem 3rem;
  }
}

.archival-plate-frame {
  position: relative;
  max-width: 1380px;
  margin: 0 auto;
  background: transparent;
}

.archival-plate-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 20;
  background-image:
    linear-gradient(#5C6975, #5C6975),
    linear-gradient(#5C6975, #5C6975),
    linear-gradient(#5C6975, #5C6975),
    linear-gradient(#5C6975, #5C6975);
  background-size:
    calc(100% - 56px) 1px,
    calc(100% - 56px) 1px,
    1px calc(100% - 56px),
    1px calc(100% - 56px);
  background-position:
    top center,
    bottom center,
    center left,
    center right;
  background-repeat: no-repeat;
}

.archival-plate-frame::after {
  content: '';
  position: absolute;
  inset: 6px;
  pointer-events: none;
  z-index: 20;
  background-image:
    linear-gradient(#44505C, #44505C),
    linear-gradient(#44505C, #44505C),
    linear-gradient(#44505C, #44505C),
    linear-gradient(#44505C, #44505C);
  background-size:
    calc(100% - 44px) 1.5px,
    calc(100% - 44px) 1.5px,
    1.5px calc(100% - 44px),
    1.5px calc(100% - 44px);
  background-position:
    top center,
    bottom center,
    center left,
    center right;
  background-repeat: no-repeat;
}

.archival-plate-frame .plate-corner {
  position: absolute;
  width: 28px;
  height: 28px;
  z-index: 25;
  pointer-events: none;
  background: transparent;
}

.archival-plate-frame .plate-corner svg {
  display: block;
  width: 100%;
  height: 100%;
}

.archival-plate-frame .plate-corner--tl {
  top: 0;
  left: 0;
}

.archival-plate-frame .plate-corner--tr {
  top: 0;
  right: 0;
  transform: scaleX(-1);
}

.archival-plate-frame .plate-corner--bl {
  bottom: 0;
  left: 0;
  transform: scaleY(-1);
}

.archival-plate-frame .plate-corner--br {
  bottom: 0;
  right: 0;
  transform: scale(-1, -1);
}

.plate-marginalia-bar {
  position: relative;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 6px;
  padding: 0.95rem 1.75rem 0.85rem;
  border-bottom: 1px solid rgba(30, 34, 38, 0.24);
  background: transparent;
  font-family: 'Space Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: #5A646E;
  text-transform: uppercase;
}

.plate-marginalia-bar--bottom {
  border-bottom: none;
  border-top: none;
  padding-top: 0.5rem;
}

/* ----------------------------------------------------------------------------
 * CHROMATIC BIOLOGICAL WASHES (Organic SVG & Radial Cellular Fields)
 * ---------------------------------------------------------------------------- */
.biological-wash-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  mix-blend-mode: multiply;
}

.biological-wash-layer svg {
  width: 100%;
  height: 100%;
  display: block;
}

.wash-blob {
  position: absolute;
  pointer-events: none;
  mix-blend-mode: multiply;
  filter: blur(42px);
  z-index: 0;
  border-radius: 46% 54% 62% 38% / 52% 44% 56% 48%;
}

.wash-blob--cyan-aura {
  background: radial-gradient(
    circle at 50% 45%,
    rgba(154, 204, 255, 0.65) 0%,
    rgba(77, 159, 232, 0.35) 55%,
    transparent 78%
  );
}

.wash-blob--sage {
  background: radial-gradient(circle, rgba(88, 152, 114, 0.45) 0%, rgba(88, 152, 114, 0.12) 62%, transparent 80%);
}

.wash-blob--ochre {
  background: radial-gradient(circle, rgba(238, 198, 67, 0.45) 0%, rgba(238, 198, 67, 0.14) 62%, transparent 80%);
}

.wash-blob--coral {
  background: radial-gradient(circle, rgba(226, 118, 98, 0.40) 0%, rgba(226, 118, 98, 0.12) 62%, transparent 80%);
}

.wash-blob--mauve {
  background: radial-gradient(circle, rgba(168, 148, 194, 0.40) 0%, rgba(168, 148, 194, 0.12) 62%, transparent 80%);
}

/* ----------------------------------------------------------------------------
 * TYPOGRAPHY & EDITORIAL HIERARCHY
 * ---------------------------------------------------------------------------- */
.treatise-h1 {
  font-family: 'Cormorant Garamond', 'Newsreader', Georgia, serif;
  font-weight: 600;
  font-size: clamp(2.85rem, 6vw, 5.5rem);
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: #1E2226;
  margin: 0 0 1.25rem 0;
}

.treatise-h1 em,
.treatise-h1 .italic-serif {
  font-style: italic;
  font-weight: 400;
  color: #233446;
}

.treatise-h2 {
  font-family: 'Cormorant Garamond', 'Newsreader', Georgia, serif;
  font-weight: 600;
  font-size: clamp(2.1rem, 3.8vw, 3.35rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #1E2226;
  margin: 0 0 1.25rem 0;
}

.specimen-h3 {
  font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  line-height: 1.4;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 0.85rem 0;
  color: #233446;
  padding: 0.2rem 0.55rem;
  background-color: rgba(239, 233, 220, 0.72);
  border-left: 2px solid #233446;
}

.treatise-lead {
  font-family: 'Cormorant Garamond', 'Newsreader', Georgia, serif;
  font-size: clamp(1.45rem, 2.3vw, 2.1rem);
  line-height: 1.48;
  letter-spacing: -0.01em;
  color: #1E2226;
  font-weight: 400;
}

.treatise-lead em {
  font-style: italic;
  color: #2B6CB0;
  text-decoration: underline;
  text-decoration-color: rgba(43, 108, 176, 0.35);
  text-underline-offset: 4px;
}

.treatise-prose {
  font-family: 'Newsreader', 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.08rem, 1.25vw, 1.25rem);
  line-height: 1.75;
  color: #1E2226;
}

.treatise-prose p {
  margin: 0 0 1.5rem 0;
}

.treatise-prose p:last-child {
  margin-bottom: 0;
}

.treatise-prose strong {
  font-weight: 600;
  color: #233446;
}

.treatise-prose a {
  color: #233446;
  border-bottom: 1px solid rgba(35, 52, 70, 0.45);
  padding-bottom: 1px;
}

.treatise-prose a:hover {
  color: #2B6CB0;
  border-bottom-color: #2B6CB0;
}

.dropcap-archival {
  float: left;
  font-family: 'Cormorant Garamond', 'Newsreader', Georgia, serif;
  font-size: 4.6rem;
  line-height: 0.82;
  padding-right: 0.75rem;
  padding-top: 0.2rem;
  font-weight: 600;
  color: #233446;
}

.treatise-pullquote {
  margin: 2rem 0;
  padding: 1.25rem 1.75rem;
  border-left: 2px solid #2B6CB0;
  background: linear-gradient(90deg, rgba(154, 204, 255, 0.18) 0%, rgba(239, 233, 220, 0.3) 100%);
  font-family: 'Cormorant Garamond', 'Newsreader', Georgia, serif;
  font-style: italic;
  font-size: clamp(1.25rem, 1.6vw, 1.55rem);
  line-height: 1.55;
  color: #233446;
}

/* ----------------------------------------------------------------------------
 * HERO STAGING — SPECIMEN PLATE 001 (Symbiotic Twin Silhouette & Aura)
 * ---------------------------------------------------------------------------- */
.hero-specimen-section {
  position: relative;
  margin: 0 6px;
  padding: 3rem 1.5rem 4rem;
  overflow: hidden;
}

@media (min-width: 768px) {
  .hero-specimen-section {
    padding: 4.5rem 3rem 5rem;
  }
}

@media (min-width: 1200px) {
  .hero-specimen-section {
    padding: 5rem 4.5rem 5.5rem;
  }
}

.hero-masthead-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .hero-masthead-grid {
    grid-template-columns: 5fr 7fr;
    gap: 3.5rem;
  }
}

.hero-editorial-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-editorial-column .hero-subtitle-banner {
  font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  line-height: 1.4;
  color: #1E2226;
  letter-spacing: 0.2em;
  font-size: 0.8rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: none;
  width: 100%;
}

.hero-editorial-column .hero-epigraph {
  font-family: 'Newsreader', 'Cormorant Garamond', Georgia, serif;
  font-size: 1.05rem;
  line-height: 1.75;
  color: #363E45;
  margin-bottom: 2rem;
}

.chromatic-field-legend {
  width: 100%;
  padding: 1rem 1.25rem;
  background-color: rgba(239, 233, 220, 0.65);
  border: 1px solid rgba(30, 34, 38, 0.24);
  margin-top: 0.5rem;
}

.chromatic-field-legend .legend-title {
  font-family: 'Space Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #1E2226;
  font-weight: 700;
  margin-bottom: 0.65rem;
  display: block;
}

.chromatic-field-legend .legend-items {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem 1rem;
}

@media (max-width: 480px) {
  .chromatic-field-legend .legend-items {
    grid-template-columns: 1fr;
  }
}

.chromatic-field-legend .legend-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Space Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: #363E45;
}

.chromatic-field-legend .legend-item .swatch {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1px solid rgba(30, 34, 38, 0.3);
  flex-shrink: 0;
}

.chromatic-field-legend .legend-item .swatch--cyan { background-color: rgba(77, 159, 232, 0.65); }
.chromatic-field-legend .legend-item .swatch--sage { background-color: rgba(88, 152, 114, 0.65); }
.chromatic-field-legend .legend-item .swatch--ochre { background-color: rgba(238, 198, 67, 0.75); }
.chromatic-field-legend .legend-item .swatch--coral { background-color: rgba(226, 118, 98, 0.65); }
.chromatic-field-legend .legend-item .swatch--mauve { background-color: rgba(168, 148, 194, 0.65); }

.hero-specimen-stage {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-specimen-stage .specimen-mount-board {
  position: relative;
  width: 100%;
  background-color: #FAF8F2;
  border: 1px solid rgba(45, 55, 66, 0.45);
  padding: 1.15rem;
  box-shadow:
    0 2px 4px rgba(30, 34, 38, 0.05),
    0 16px 36px -12px rgba(30, 34, 38, 0.18),
    inset 0 0 0 1px rgba(255, 255, 255, 0.75);
}

@media (min-width: 640px) {
  .hero-specimen-stage .specimen-mount-board {
    padding: 1.4rem;
  }
}

@media (min-width: 1024px) {
  .hero-specimen-stage .specimen-mount-board {
    padding: 1.6rem;
  }
}

.hero-specimen-stage .mount-header-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding-bottom: 0.65rem;
  margin-bottom: 0.85rem;
  border-bottom: 1px solid rgba(30, 34, 38, 0.16);
  font-family: 'Space Mono', monospace;
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  color: #5A646E;
  text-transform: uppercase;
}

.hero-specimen-stage .mount-header-bar .mount-plate-id {
  color: #1E2226;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.hero-specimen-stage .specimen-print-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  background-color: #F7F4EC;
  border: 1px solid rgba(45, 55, 66, 0.35);
  box-shadow: 0 4px 14px rgba(30, 34, 38, 0.08);
}

.hero-specimen-stage .specimen-print-wrapper .specimen-primary-img {
  display: block;
  width: 100%;
  height: auto;
  mix-blend-mode: normal;
}

.hero-specimen-stage .specimen-print-wrapper .mount-corner {
  position: absolute;
  width: 20px;
  height: 20px;
  z-index: 10;
  pointer-events: none;
  border: 1.5px solid rgba(35, 52, 70, 0.55);
}

.hero-specimen-stage .specimen-print-wrapper .mount-corner--tl {
  top: 0;
  left: 0;
  border-right: none;
  border-bottom: none;
}

.hero-specimen-stage .specimen-print-wrapper .mount-corner--tl::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  border-top: 16px solid rgba(239, 233, 220, 0.9);
  border-right: 16px solid transparent;
  filter: drop-shadow(1px 1px 1px rgba(30, 34, 38, 0.18));
}

.hero-specimen-stage .specimen-print-wrapper .mount-corner--tr {
  top: 0;
  right: 0;
  border-left: none;
  border-bottom: none;
}

.hero-specimen-stage .specimen-print-wrapper .mount-corner--tr::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 0;
  height: 0;
  border-top: 16px solid rgba(239, 233, 220, 0.9);
  border-left: 16px solid transparent;
  filter: drop-shadow(-1px 1px 1px rgba(30, 34, 38, 0.18));
}

.hero-specimen-stage .specimen-print-wrapper .mount-corner--bl {
  bottom: 0;
  left: 0;
  border-right: none;
  border-top: none;
}

.hero-specimen-stage .specimen-print-wrapper .mount-corner--bl::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 0;
  border-bottom: 16px solid rgba(239, 233, 220, 0.9);
  border-right: 16px solid transparent;
  filter: drop-shadow(1px -1px 1px rgba(30, 34, 38, 0.18));
}

.hero-specimen-stage .specimen-print-wrapper .mount-corner--br {
  bottom: 0;
  right: 0;
  border-left: none;
  border-top: none;
}

.hero-specimen-stage .specimen-print-wrapper .mount-corner--br::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0;
  height: 0;
  border-bottom: 16px solid rgba(239, 233, 220, 0.9);
  border-left: 16px solid transparent;
  filter: drop-shadow(-1px -1px 1px rgba(30, 34, 38, 0.18));
}

.hero-specimen-stage .specimen-annotation-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  display: none;
}

@media (min-width: 640px) {
  .hero-specimen-stage .specimen-annotation-overlay {
    display: block;
  }
}

.hero-specimen-stage .callout-tag {
  position: absolute;
  font-family: 'Space Mono', monospace;
  font-size: 0.64rem;
  letter-spacing: 0.08em;
  background-color: rgba(247, 244, 236, 0.92);
  border: 1px solid rgba(30, 34, 38, 0.58);
  padding: 0.2rem 0.5rem;
  color: #1E2226;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(30, 34, 38, 0.08);
}

.hero-specimen-stage .callout-tag--aura {
  top: 18%;
  left: 50%;
  transform: translateX(-50%);
  border-color: #2B6CB0;
  color: #233446;
}

.hero-specimen-stage .callout-tag--sage {
  top: 14%;
  left: 8%;
}

.hero-specimen-stage .callout-tag--coral {
  top: 22%;
  right: 6%;
}

.hero-specimen-stage .callout-tag--ochre {
  bottom: 24%;
  left: 6%;
}

.hero-specimen-stage .callout-tag--membrane {
  bottom: 12%;
  right: 8%;
  border-color: #2B6CB0;
}

.hero-specimen-stage .specimen-caption-bar {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
  padding-top: 0.5rem;
  border-top: 1px dashed rgba(30, 34, 38, 0.24);
  font-family: 'Space Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: #5A646E;
}

/* ----------------------------------------------------------------------------
 * TREATISE SECTIONS & SPECULATIVE ANATOMICAL DIAGRAMS
 * ---------------------------------------------------------------------------- */
.treatise-section {
  position: relative;
  margin: 0 6px;
  padding: 4.5rem 1.5rem;
  overflow: hidden;
}

@media (min-width: 768px) {
  .treatise-section {
    padding: 6rem 3rem;
  }
}

@media (min-width: 1200px) {
  .treatise-section {
    padding: 7rem 4.5rem;
  }
}

.treatise-section .section-inner {
  position: relative;
  z-index: 2;
  max-width: 1220px;
  margin: 0 auto;
}

.section-split-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .section-split-grid {
    grid-template-columns: 5fr 7fr;
    gap: 4.5rem;
  }
  .section-split-grid--reverse {
    grid-template-columns: 7fr 5fr;
  }
  .section-split-grid--equal {
    grid-template-columns: 1fr 1fr;
  }
}

.section-mythos-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: start;
}

@media (min-width: 1024px) {
  .section-mythos-grid {
    grid-template-columns: 4fr 8fr;
    gap: 4.5rem;
  }
}

.anatomical-figure-plate {
  position: relative;
  background-color: rgba(247, 244, 236, 0.78);
  border: 1px solid rgba(30, 34, 38, 0.58);
  padding: 1.25rem;
  box-shadow: 0 8px 24px -12px rgba(30, 34, 38, 0.1);
}

.anatomical-figure-plate::after {
  content: '';
  position: absolute;
  inset: 4px;
  border: 1px solid rgba(30, 34, 38, 0.24);
  pointer-events: none;
}

.anatomical-figure-plate .figure-svg-canvas {
  width: 100%;
  height: auto;
  display: block;
}

.anatomical-figure-plate .figure-caption {
  margin-top: 0.85rem;
  padding-top: 0.65rem;
  border-top: 1px solid rgba(30, 34, 38, 0.24);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
  flex-wrap: wrap;
  font-family: 'Space Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: #5A646E;
}

.anatomical-figure-plate .figure-caption strong {
  color: #1E2226;
  font-weight: 700;
}

/* ----------------------------------------------------------------------------
 * PRODUCTION BLUEPRINT — FIELD SPECIMEN TABLES ([ 02 / The Science ])
 * ---------------------------------------------------------------------------- */
.blueprint-header {
  margin-bottom: 3rem;
  max-width: 760px;
}

.blueprint-matrix {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 900px) {
  .blueprint-matrix {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

.blueprint-folio {
  position: relative;
  padding: 2rem 1.75rem;
  background-color: rgba(247, 244, 236, 0.72);
  border: 1px solid rgba(30, 34, 38, 0.58);
  border-top: 3px solid #233446;
}

@media (min-width: 768px) {
  .blueprint-folio {
    padding: 2.5rem 2.25rem;
  }
}

.blueprint-folio .folio-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-bottom: none;
  padding-bottom: 0.9rem;
  margin-bottom: 1.5rem;
}

.blueprint-folio .folio-header h4 {
  font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  line-height: 1.4;
  color: #1E2226;
  margin: 0;
}

.blueprint-folio .folio-header .folio-code {
  font-family: 'Space Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: #5A646E;
}


.blueprint-folio .folio-steps {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.blueprint-folio .blueprint-entry {
  position: relative;
  padding-left: 1.25rem;
  border-left: 2px solid rgba(77, 159, 232, 0.6);
}

.blueprint-folio .blueprint-entry .entry-label {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.45rem;
}

.blueprint-folio .blueprint-entry .entry-label .phase-number {
  font-family: 'Space Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 4px;
  background-color: rgba(239, 233, 220, 0.95);
  border: 1px solid rgba(30, 34, 38, 0.24);
  color: #233446;
  font-weight: 700;
}

.blueprint-folio .blueprint-entry .entry-label .phase-title {
  font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #1E2226;
  line-height: 1.4;
}

.blueprint-folio .blueprint-entry .entry-desc {
  font-family: 'Newsreader', 'Cormorant Garamond', Georgia, serif;
  font-size: 1.08rem;
  line-height: 1.72;
  color: #363E45;
  margin: 0;
}

.blueprint-folio .blueprint-entry .entry-desc strong {
  color: #1E2226;
  font-weight: 600;
}

.blueprint-folio .folio-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
}

.blueprint-folio .folio-list li {
  position: relative;
  padding-left: 1.15rem;
  border-left: 2px solid rgba(77, 159, 232, 0.55);
  font-family: 'Newsreader', 'Cormorant Garamond', Georgia, serif;
  font-size: 1.05rem;
  line-height: 1.68;
  color: #363E45;
}

.blueprint-folio .folio-list li .spec-key {
  font-family: 'Space Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  display: inline-block;
  font-weight: 700;
  color: #233446;
  background-color: rgba(239, 233, 220, 0.9);
  padding: 0.05rem 0.4rem;
  margin-right: 0.35rem;
  border: 1px solid rgba(30, 34, 38, 0.24);
}

/* ----------------------------------------------------------------------------
 * ARCHIVAL TELEMETRY LEDGER (Diplomatic Exchange Protocol v1.0)
 * ---------------------------------------------------------------------------- */
.archival-telemetry-ledger {
  position: relative;
  max-width: 960px;
  margin: 3.5rem auto 0;
  background-color: #EFE9DC;
  border: 1px solid rgba(30, 34, 38, 0.58);
  box-shadow:
    0 2px 10px rgba(30, 34, 38, 0.06) inset,
    0 12px 30px -16px rgba(30, 34, 38, 0.14);
}

.archival-telemetry-ledger::before {
  content: '';
  position: absolute;
  inset: 4px;
  border: 1px solid rgba(30, 34, 38, 0.24);
  pointer-events: none;
}

.archival-telemetry-ledger .ledger-topbar {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 0.9rem 1.5rem;
  background-color: #EAE3D3;
  border-bottom: 1px solid rgba(30, 34, 38, 0.58);
}

.archival-telemetry-ledger .ledger-topbar .ledger-title-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.archival-telemetry-ledger .ledger-topbar .ledger-title-group .registration-cross {
  font-family: 'Space Mono', monospace;
  font-size: 0.85rem;
  color: #233446;
}

.archival-telemetry-ledger .ledger-topbar .ledger-title-group .ledger-doc-id {
  font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  line-height: 1.4;
  color: #1E2226;
}

.archival-telemetry-ledger .ledger-topbar .ledger-meta-pills {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: 'Space Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: #5A646E;
}

.archival-telemetry-ledger .ledger-topbar .ledger-meta-pills .pill-encryption {
  padding: 0.15rem 0.5rem;
  background-color: rgba(154, 204, 255, 0.35);
  border: 1px solid rgba(43, 108, 176, 0.45);
  color: #233446;
}

.archival-telemetry-ledger .ledger-column-headers {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 90px 150px 1fr;
  gap: 1rem;
  padding: 0.5rem 1.5rem;
  border-bottom: 1px solid rgba(30, 34, 38, 0.24);
  background-color: rgba(247, 244, 236, 0.6);
  font-family: 'Space Mono', monospace;
  font-size: 0.64rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #5A646E;
}

@media (max-width: 640px) {
  .archival-telemetry-ledger .ledger-column-headers {
    display: none;
  }
}

.archival-telemetry-ledger .ledger-viewport {
  position: relative;
  z-index: 2;
  padding: 1.25rem 1.5rem;
  min-height: 250px;
  max-height: 340px;
  overflow-y: auto;
  background-color: rgba(247, 244, 236, 0.72);
  background-image: repeating-linear-gradient(
    to bottom,
    transparent 0px,
    transparent 31px,
    rgba(92, 105, 117, 0.12) 31px,
    rgba(92, 105, 117, 0.12) 32px
  );
  font-family: 'Space Mono', monospace;
  font-size: 0.8rem;
  line-height: 1.75;
  color: #233446;
}

.archival-telemetry-ledger .ledger-viewport .ledger-entry {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.25rem;
  padding: 0.35rem 0;
  border-bottom: 1px dashed rgba(92, 105, 117, 0.2);
}

@media (min-width: 641px) {
  .archival-telemetry-ledger .ledger-viewport .ledger-entry {
    grid-template-columns: 90px 150px 1fr;
    gap: 1rem;
    align-items: baseline;
  }
}

.archival-telemetry-ledger .ledger-viewport .ledger-entry .entry-ts {
  color: #5A646E;
  font-size: 0.72rem;
}

.archival-telemetry-ledger .ledger-viewport .ledger-entry .entry-actor {
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.05em;
}

.archival-telemetry-ledger .ledger-viewport .ledger-entry .entry-actor--system { color: #233446; }
.archival-telemetry-ledger .ledger-viewport .ledger-entry .entry-actor--incoming { color: #9E3B2B; }
.archival-telemetry-ledger .ledger-viewport .ledger-entry .entry-actor--twin { color: #2B6CB0; }
.archival-telemetry-ledger .ledger-viewport .ledger-entry .entry-actor--vault { color: #2D6A4F; }
.archival-telemetry-ledger .ledger-viewport .ledger-entry .entry-actor--external { color: #8C6D1F; }

.archival-telemetry-ledger .ledger-viewport .ledger-entry .entry-msg {
  color: #1E2226;
}

.archival-telemetry-ledger .ledger-footer {
  position: relative;
  z-index: 2;
  padding: 1rem 1.5rem;
  background-color: #EAE3D3;
  border-top: 1px solid rgba(30, 34, 38, 0.58);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.archival-telemetry-ledger .ledger-footer .ledger-status-note {
  font-family: 'Space Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: #5A646E;
}

.archival-telemetry-ledger .ledger-footer .ledger-trigger-btn {
  font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #F7F4EC;
  background-color: #233446;
  border: 1px solid #1E2226;
  padding: 0.75rem 1.5rem;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 2px 2px 0 rgba(30, 34, 38, 0.58);
}

.archival-telemetry-ledger .ledger-footer .ledger-trigger-btn:hover:not(:disabled) {
  background-color: #2B6CB0;
  transform: translate(-1px, -1px);
  box-shadow: 3px 3px 0 #1E2226;
}

.archival-telemetry-ledger .ledger-footer .ledger-trigger-btn:active:not(:disabled) {
  transform: translate(1px, 1px);
  box-shadow: 1px 1px 0 #1E2226;
}

.archival-telemetry-ledger .ledger-footer .ledger-trigger-btn:disabled {
  opacity: 0.65;
  cursor: wait;
}

.cursor-blink::after {
  content: '▮';
  display: inline-block;
  margin-left: 4px;
  color: #2B6CB0;
  animation: inkPulse 1.1s steps(2, start) infinite;
}

@keyframes inkPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.15; }
}

/* ----------------------------------------------------------------------------
 * CONCLUSION / RECKONING CTA STAMP
 * ---------------------------------------------------------------------------- */
.strike-extraction {
  position: relative;
  color: #5A646E;
  text-decoration: line-through;
  text-decoration-color: #9E3B2B;
  text-decoration-thickness: 2px;
}


.archival-cta-frame.desktop-only-cta {
  display: none;
}

@media (min-width: 1024px) {
  .archival-cta-frame.desktop-only-cta {
    display: inline-block;
  }
}

.archival-cta-frame.mobile-only-cta {
  display: inline-block;
  margin-top: 2rem;
}

@media (min-width: 1024px) {
  .archival-cta-frame.mobile-only-cta {
    display: none;
  }
}

.archival-cta-frame {
  display: inline-block;
  padding: 4px;
  border: 1px solid #233446;
  background-color: rgba(247, 244, 236, 0.85);
  margin-top: 1.5rem;
}

.archival-cta-frame .archival-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2.25rem;
  background-color: #233446;
  color: #F7F4EC;
  font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.archival-cta-frame .archival-cta-link:hover {
  background-color: #2B6CB0;
  color: #ffffff;
}

/* ----------------------------------------------------------------------------
 * COLOPHON / ARCHIVAL FOOTER
 * ---------------------------------------------------------------------------- */
.treatise-colophon {
  margin: 0 6px;
  padding: 2rem 1.75rem;
  background: transparent;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: space-between;
  align-items: flex-start;
  font-family: 'Space Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: #5A646E;
}

@media (min-width: 768px) {
  .treatise-colophon {
    flex-direction: row;
    align-items: center;
    padding: 2rem 3rem;
  }
}

.treatise-colophon a {
  color: #1E2226;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.treatise-colophon a:hover {
  color: #2B6CB0;
}

/* ----------------------------------------------------------------------------
 * SMOOTH REVEAL ANIMATION
 * ---------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}


.cta-subnote {
  display: block;
  margin-top: 0.65rem;
  padding-top: 0.4rem;
  border-top: 1px dashed rgba(30, 34, 38, 0.2);
  font-family: 'Space Mono', monospace;
  font-size: 0.64rem;
  letter-spacing: 0.08em;
  color: #5A646E;
  text-transform: uppercase;
}

@media print {
  @page {
    margin: 1.2cm;
    size: portrait;
  }

  body.treatise-body {
    background: #FAF8F2 !important;
    color: #1E2226 !important;
    background-image: none !important;
  }

  .treatise-hud-header,
  .paper-fiber-overlay,
  .biological-wash-layer,
  .archival-cta-frame,
  .ledger-footer,
  .cursor-blink::after {
    display: none !important;
  }

  .archival-plate-frame {
    border: 1px solid #44505C !important;
    box-shadow: none !important;
  }

  .treatise-section {
    page-break-inside: avoid;
    break-inside: avoid;
    padding: 2.5rem 1rem !important;
  }

  .anatomical-figure-plate,
  .specimen-mount-board,
  .archival-telemetry-ledger {
    page-break-inside: avoid;
    break-inside: avoid;
    box-shadow: none !important;
  }
}


#reckoning.treatise-section {
  padding-bottom: 2.5rem;
}

/* Decorative Archival Footer Separator (Non-100% Width) */
.footer-decorative-separator {
  position: relative;
  z-index: 10;
  width: min(72%, 620px);
  margin: 1.5rem auto 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  padding: 0 1rem;
}

.footer-decorative-separator .sep-line {
  flex: 1;
  height: 1.5px;
}

.footer-decorative-separator .sep-line--left {
  background: linear-gradient(90deg, transparent 0%, rgba(35, 52, 70, 0.7) 30%, #233446 100%);
}

.footer-decorative-separator .sep-line--right {
  background: linear-gradient(90deg, #233446 0%, rgba(35, 52, 70, 0.7) 70%, transparent 100%);
}

.footer-decorative-separator .sep-ornament {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background-color: transparent;
  border: 1px solid rgba(45, 55, 66, 0.35);
  padding: 0.45rem 1rem;
  box-shadow: none;
  font-family: 'Space Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  color: #233446;
  flex-shrink: 0;
}

.footer-decorative-separator .sep-ornament .sep-bracket {
  color: #5A646E;
  font-weight: 700;
}

.footer-decorative-separator .sep-ornament .sep-cross {
  color: #2B6CB0;
  font-size: 0.95rem;
  font-weight: 700;
}

.footer-decorative-separator .sep-ornament .sep-hatch-bar {
  display: inline-block;
  width: 36px;
  height: 8px;
  border: 1px solid rgba(30, 34, 38, 0.45);
  background-image: repeating-linear-gradient(
    -45deg,
    rgba(30, 34, 38, 0.5) 0px,
    rgba(30, 34, 38, 0.5) 1.5px,
    transparent 1.5px,
    transparent 5px
  );
}

.footer-decorative-separator .sep-ornament .sep-label {
  font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #1E2226;
  font-weight: 700;
  line-height: 1.4;
}

@media (max-width: 640px) {
  .footer-decorative-separator {
    width: 90%;
    gap: 0.5rem;
    margin: 1.25rem auto 2rem;
  }

  .footer-decorative-separator .sep-ornament {
    padding: 0.35rem 0.65rem;
    gap: 0.45rem;
  }

  .footer-decorative-separator .sep-ornament .sep-hatch-bar {
    display: none;
  }

  .footer-decorative-separator .sep-ornament .sep-label {
    font-size: 0.6rem;
    letter-spacing: 0.12em;
  }
}

/* ----------------------------------------------------------------------------
 * ARCHIVAL CIVIC SHARE MODAL
 * ---------------------------------------------------------------------------- */
.archival-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background-color: rgba(30, 34, 38, 0.68);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.archival-modal-overlay.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.archival-modal-overlay.is-active .archival-modal-container {
  transform: translateY(0) scale(1);
}

.archival-modal-container {
  background-color: #FAF8F2;
  border: 1px solid rgba(45, 55, 66, 0.55);
  box-shadow: 0 24px 60px rgba(30, 34, 38, 0.28);
  max-width: 580px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  padding: 2rem 2.25rem;
  transform: translateY(14px) scale(0.97);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.archival-modal-container::after {
  content: '';
  position: absolute;
  inset: 4px;
  border: 1px solid rgba(30, 34, 38, 0.2);
  pointer-events: none;
}

@media (max-width: 640px) {
  .archival-modal-container {
    padding: 1.5rem 1.25rem;
  }
}

.modal-header {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(30, 34, 38, 0.16);
}

.modal-badge {
  font-family: 'Space Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  color: #233446;
  text-transform: uppercase;
  font-weight: 700;
}

.modal-close-btn {
  background: transparent;
  border: 1px solid rgba(30, 34, 38, 0.3);
  color: #1E2226;
  font-family: 'Space Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  padding: 0.3rem 0.65rem;
  cursor: pointer;
  transition: all 0.15s ease;
}

.modal-close-btn:hover {
  background-color: #233446;
  color: #FAF8F2;
  border-color: #233446;
}

.modal-title {
  position: relative;
  z-index: 2;
  font-family: 'Cormorant Garamond', 'Newsreader', Georgia, serif;
  font-size: 2rem;
  font-weight: 600;
  color: #1E2226;
  margin: 0 0 0.45rem 0;
  line-height: 1.15;
}

.modal-lead {
  position: relative;
  z-index: 2;
  font-family: 'Newsreader', Georgia, serif;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #363E45;
  margin: 0 0 1.25rem 0;
}

.modal-quote-box {
  position: relative;
  z-index: 2;
  background-color: rgba(239, 233, 220, 0.65);
  border: 1px solid rgba(30, 34, 38, 0.2);
  border-left: 3px solid #2B6CB0;
  padding: 0.85rem 1.15rem;
  margin-bottom: 1.5rem;
}

.modal-quote-box .quote-tag {
  font-family: 'Space Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #5A646E;
  font-weight: 700;
  display: block;
  margin-bottom: 0.35rem;
}

.modal-quote-box p {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.45;
  color: #1E2226;
  margin: 0;
}

.share-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.65rem;
  margin-bottom: 1.25rem;
}

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

.share-channel-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.75rem 1rem;
  font-family: 'Space Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid rgba(30, 34, 38, 0.35);
  background-color: #FAF8F2;
  color: #1E2226;
  box-shadow: 0 1px 3px rgba(30, 34, 38, 0.04);
  transition: all 0.15s ease;
}

.share-channel-btn:hover {
  background-color: #233446;
  color: #FAF8F2;
  border-color: #233446;
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(30, 34, 38, 0.12);
}

.copy-link-wrapper {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

@media (max-width: 480px) {
  .copy-link-wrapper {
    flex-direction: column;
  }
}

.copy-link-wrapper input {
  flex: 1;
  padding: 0.65rem 0.85rem;
  font-family: 'Space Mono', monospace;
  font-size: 0.74rem;
  background-color: rgba(247, 244, 236, 0.9);
  border: 1px solid rgba(30, 34, 38, 0.35);
  color: #1E2226;
  outline: none;
}

.copy-link-wrapper input:focus {
  border-color: #2B6CB0;
}

.copy-link-wrapper button {
  padding: 0.65rem 1.15rem;
  background-color: #233446;
  border: 1px solid #1E2226;
  color: #FAF8F2;
  font-family: 'Space Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  font-weight: 700;
  cursor: pointer;
  text-transform: uppercase;
  white-space: nowrap;
  transition: all 0.15s ease;
}

.copy-link-wrapper button:hover {
  background-color: #2B6CB0;
  border-color: #2B6CB0;
}

.copy-link-wrapper button.copied {
  background-color: #2D6A4F;
  border-color: #2D6A4F;
}

.modal-secondary-actions {
  position: relative;
  z-index: 2;
  border-top: 1px dashed rgba(30, 34, 38, 0.2);
  padding-top: 0.85rem;
  display: flex;
  justify-content: center;
}

.modal-secondary-actions .modal-print-link {
  background: transparent;
  border: none;
  font-family: 'Space Mono', monospace;
  font-size: 0.68rem;
  color: #5A646E;
  text-decoration: underline;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.25rem;
}

.modal-secondary-actions .modal-print-link:hover {
  color: #2B6CB0;
}
