@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;900&family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

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

:root {
  --accent: #7ba8c8;
  --accent-light: #a3d4e0;
  --accent-deep: #4a6b8c;
  --flag: #d4a574;          /* forensic amber — "flagged evidence" */
  --flag-deep: #a87f4d;
  --dark: #0a0e15;
  --dark-surface: #0f1622;
  --dark-card: #141c2b;
  --dark-border: #243246;
  --text: #e6ebf2;
  --text-muted: #8a96a8;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--dark);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection { background: var(--accent-deep); color: var(--text); }

/* --- TOP NAV --- */
nav.topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  padding: 0 2rem;
  backdrop-filter: blur(14px);
  background: rgba(10, 14, 21, 0.72);
  border-bottom: 1px solid rgba(36, 50, 70, 0.5);
}
nav.topbar .brand .highlight {
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
nav.topbar .nav-links {
  display: flex;
  gap: 2.25rem;
  font-size: 0.85rem;
  font-weight: 500;
}
nav.topbar .nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}
nav.topbar .nav-links a:hover { color: var(--accent-light); }
@media (max-width: 760px) { nav.topbar .nav-links { display: none; } }

/* --- A PRODUCT OF SOFT EDGE --- */
.parent-line {
  position: fixed;
  top: 68px;
  left: 0; right: 0;
  z-index: 49;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  padding: 0 1rem;
  background: rgba(10, 14, 21, 0.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(36, 50, 70, 0.5);
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  opacity: 0.85;
  line-height: 1;
}
.parent-line span {
  display: inline-block;
  line-height: 1;
}
.parent-line a {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: rgba(123,168,200,0.4);
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}
.parent-line a:hover {
  color: var(--accent-light);
  text-decoration-color: var(--accent-light);
}

/* --- HERO --- */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 9.5rem 2rem 4rem;
  position: relative;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(123,168,200,0.10) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 80%, rgba(212,165,116,0.05) 0%, transparent 50%),
    radial-gradient(ellipse at 20% 70%, rgba(74,107,140,0.08) 0%, transparent 50%),
    var(--dark);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(0deg, transparent, transparent 80px, rgba(123,168,200,0.025) 80px, rgba(123,168,200,0.025) 81px),
    repeating-linear-gradient(90deg, transparent, transparent 80px, rgba(123,168,200,0.025) 80px, rgba(123,168,200,0.025) 81px);
  pointer-events: none;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: clamp(2.2rem, 5.8vw, 4.6rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 1.75rem;
  animation: fadeInUp 0.8s ease-out 0.1s both;
  max-width: 1100px;
  padding-right: 0.1em; /* absorbs italic-glyph ink overhang at large display sizes */
  position: relative;
  z-index: 1;
}

.hero h1 .highlight,
.hero h1 em {
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-style: italic;
  font-weight: 700;
  padding-right: 0.08em;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.95rem 1.8rem;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s ease;
  cursor: pointer;
  border: none;
  letter-spacing: 0.01em;
  font-family: 'Inter', sans-serif;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: var(--dark);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(123,168,200,0.25);
}

/* --- SECTIONS --- */
section {
  padding: 7rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3.8vw, 3rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.15;
  letter-spacing: -0.015em;
  max-width: 880px;
  padding-right: 0.1em; /* absorbs italic-glyph ink overhang */
}
.section-title em {
  font-style: italic;
  font-weight: 700;
  color: var(--accent-light);
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 720px;
  line-height: 1.7;
  margin-bottom: 3rem;
}

/* --- THE PROBLEM (centred quote-style) --- */
.problem-statement {
  max-width: 880px;
  margin: 0 auto;
}
.problem-statement p {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  line-height: 1.75;
  color: var(--text);
  font-weight: 400;
}
.problem-statement p + p { margin-top: 1.25rem; }
.problem-statement strong {
  color: var(--flag);
  font-weight: 600;
  font-style: italic;
}

/* --- INVENTORY (quiet four-item list under "Where Veritura sits") --- */
@media (max-width: 600px) {
  .inventory { grid-template-columns: 1fr; }
  .inv-item:nth-child(odd) {
    border-right: none;
    padding-right: 0.5rem;
  }
  .inv-item:nth-child(even) {
    padding-left: 0.5rem;
  }
}

/* --- MARKET / NUMBERS --- */
.market-band {
  background:
    radial-gradient(ellipse at 30% 30%, rgba(123,168,200,0.07) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 70%, rgba(212,165,116,0.05) 0%, transparent 60%),
    var(--dark-surface);
  border-top: 1px solid var(--dark-border);
  border-bottom: 1px solid var(--dark-border);
  padding: 6rem 2rem;
}
.market-band-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.market-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem 3rem;
  margin-top: 3rem;
}
@media (max-width: 600px) {
  .market-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}
.metric {
  border-top: 1px solid var(--dark-border);
  padding-top: 1.5rem;
}
.metric .figure {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 4.5vw, 3.4rem);
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 1;
  background: linear-gradient(135deg, var(--accent-light), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.6rem;
}
.metric .figure .unit {
  font-size: 0.55em;
  color: var(--text-muted);
  -webkit-text-fill-color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0;
  margin-left: 0.2em;
}
.metric .figure.flag {
  background: linear-gradient(135deg, var(--flag), #e6c294);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.metric .label {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.6rem;
}
.metric p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}
.market-source {
  margin-top: 3rem;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  opacity: 0.7;
  text-transform: uppercase;
}

/* --- ROADMAP --- */
.roadmap {
  margin-top: 2rem;
}
.phase {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 2rem;
  padding: 2.25rem 0;
  border-top: 1px solid var(--dark-border);
  align-items: start;
}
.phase:last-child { border-bottom: 1px solid var(--dark-border); }
.phase .phase-tag {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  padding-top: 0.45rem;
}
.phase .phase-tag .num {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  display: block;
  color: var(--text);
  font-weight: 900;
  margin-top: 0.3rem;
  letter-spacing: -0.01em;
}
.phase h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  letter-spacing: -0.005em;
  line-height: 1.3;
}
.phase p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  max-width: 640px;
}
@media (max-width: 720px) {
  .phase {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
}

/* --- AUDIENCE / CLOSING BAND --- */
/* --- FOOTER --- */
footer {
  text-align: center;
  padding: 3rem 2rem 2.5rem;
  color: var(--text-muted);
  font-size: 0.85rem;
}
footer .mark {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
  margin-bottom: 0.85rem;
  display: block;
}
footer .mark .highlight {
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
footer .meta {
  opacity: 0.7;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  font-family: var(--mono);
  text-transform: uppercase;
  margin-top: 1rem;
}
footer .parent {
  margin-top: 1.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}
footer .parent a {
  color: var(--accent-light);
  text-decoration: none;
  border-bottom: 1px solid var(--accent-deep);
  padding-bottom: 1px;
  transition: color 0.2s ease, border-color 0.2s ease;
}
footer .parent a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

/* --- ANIMATIONS --- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes pulseDot {
  0%   { box-shadow: 0 0 0 0 rgba(212,165,116,0.5); }
  70%  { box-shadow: 0 0 0 8px rgba(212,165,116,0); }
  100% { box-shadow: 0 0 0 0 rgba(212,165,116,0); }
}

/* Scroll-revealed elements */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* --- RESPONSIVE --- */
@media (max-width: 600px) {
  section { padding: 5rem 1.5rem; }
  .hero { padding: 7rem 1.25rem 3rem; }
  nav.topbar { padding: 1rem 1.25rem; }
  .market-band, .audience-band { padding: 5rem 1.5rem; }
}

/* ============================================================
   ADDITIONS FOR MULTI-PAGE SITE
   ============================================================ */

/* --- BRAND LOCKUP (shield + wordmark) in top nav --- */
nav.topbar .brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--text);
}
nav.topbar .brand .brand-shield {
  height: 26px;
  width: auto;
  color: var(--accent-light);   /* shield uses currentColor */
  flex-shrink: 0;
  transition: color 0.25s ease;
}
nav.topbar .brand:hover .brand-shield {
  color: var(--accent);
}
nav.topbar .brand .brand-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1;
}
nav.topbar .brand .brand-name .highlight {
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
@media (max-width: 480px) {
  nav.topbar .brand .brand-shield { height: 22px; }
  nav.topbar .brand .brand-name { font-size: 1.2rem; }
}

/* --- NAV LINK ACTIVE STATE (current page) --- */
nav.topbar .nav-links a.active {
  color: var(--accent-light);
}
nav.topbar .nav-links a.active::after {
  content: '';
  display: block;
  height: 1px;
  margin-top: 4px;
  background: var(--accent);
  opacity: 0.6;
}

/* --- FOOTER PARENT-LINE
   (Soft Edge attribution moves into footer on inner pages;
    Home page keeps the top parent-line bar.) --- */
footer .parent-bar {
  margin-top: 1.5rem;
  padding: 0.85rem 1rem;
  border-top: 1px solid var(--dark-border);
  border-bottom: 1px solid var(--dark-border);
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: inline-block;
}
footer .parent-bar a {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: rgba(123,168,200,0.4);
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}
footer .parent-bar a:hover {
  color: var(--accent-light);
  text-decoration-color: var(--accent-light);
}

/* ============================================================
   SHARED COMPONENTS — used across multiple pages
   ============================================================ */

/* --- EYEBROW (label used on inner page sections) --- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
}
.eyebrow-dash {
  display: none;
}

/* ============================================================
   ============================================================
   EVIDENCE PAGE
   ============================================================
   ============================================================ */

/* --- HERO --- */
.ev-hero {
  padding: 11rem 2rem 5rem;
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
}
.ev-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 80% 15%, rgba(212,165,116,0.06) 0%, transparent 55%),
    radial-gradient(ellipse at 20% 60%, rgba(123,168,200,0.05) 0%, transparent 55%);
}
.ev-hero > * { position: relative; z-index: 1; }

.ev-h1 {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: clamp(2.2rem, 5.5vw, 4.2rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 2rem;
  max-width: 900px;
  padding-right: 0.1em; /* absorbs italic-glyph ink overhang at large display sizes */
}
.ev-h1 em {
  font-style: italic;
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  padding-right: 0.08em;
}

.ev-lead {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  line-height: 1.7;
  color: var(--text);
  max-width: 780px;
  margin-bottom: 1.5rem;
}

.ev-sub {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 720px;
  margin-bottom: 2.5rem;
}

.ev-synth-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.55rem 1.1rem;
  border: 1px solid rgba(212,165,116,0.35);
  border-radius: 100px;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--flag);
  background: rgba(212,165,116,0.05);
  backdrop-filter: blur(8px);
}
.ev-synth-tag .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--flag);
  box-shadow: 0 0 0 0 rgba(212,165,116,0.4);
  animation: pulseDot 2.2s infinite;
}

/* --- GENERIC SECTION --- */
.ev-section {
  padding: 6rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.ev-section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.7rem, 3.6vw, 2.8rem);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.015em;
  margin-bottom: 2rem;
  max-width: 880px;
  padding-right: 0.1em; /* absorbs italic-glyph ink overhang */
}
.ev-section-title em {
  font-style: italic;
  color: var(--accent-light);
}

.ev-prose {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text);
  max-width: 780px;
  margin-bottom: 1.5rem;
}
.ev-prose-tight { margin-bottom: 0.5rem; }
.ev-prose-emphatic {
  font-size: 1.1rem;
  color: var(--text);
}
.ev-prose .flag-text {
  color: var(--flag);
  font-weight: 600;
  font-style: italic;
}
.ev-prose em {
  font-style: italic;
  color: var(--accent-light);
}

/* --- CLAIM META STRIP --- */
.claim-meta {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--dark-border);
  border-bottom: 1px solid var(--dark-border);
  margin: 2.5rem 0 2rem;
  background: rgba(15, 22, 34, 0.4);
}
.cm-item {
  padding: 1.1rem 1.25rem;
  border-right: 1px solid var(--dark-border);
}
.cm-item:last-child { border-right: none; }
.cm-label {
  display: block;
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.45rem;
}
.cm-value {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
}
@media (max-width: 760px) {
  .claim-meta { grid-template-columns: repeat(2, 1fr); }
  .cm-item:nth-child(2n) { border-right: none; }
  .cm-item:nth-child(-n+2) { border-bottom: 1px solid var(--dark-border); }
}
@media (max-width: 480px) {
  .claim-meta { grid-template-columns: 1fr; }
  .cm-item { border-right: none; border-bottom: 1px solid var(--dark-border); }
  .cm-item:last-child { border-bottom: none; }
}

/* --- SUBMISSION GRID --- */
.sub-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}
@media (max-width: 920px) {
  .sub-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .sub-grid { grid-template-columns: 1fr; }
}

.sub-tile {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: 8px;
  overflow: hidden;
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.sub-tile:hover {
  border-color: var(--accent-deep);
  transform: translateY(-2px);
}

.sub-tile-header {
  padding: 0.7rem 0.9rem 0.55rem;
  border-bottom: 1px solid var(--dark-border);
}
.sub-tile-kind {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

.sub-photo-thumb, .sub-doc-thumb {
  display: block;
  width: 100%;
  height: auto;
  background: var(--dark);
}

.sub-tile-body {
  padding: 0.75rem 0.9rem 0.95rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.sub-fname {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--text);
  word-break: break-all;
}
.sub-fmeta {
  font-family: var(--mono);
  font-size: 0.65rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

/* --- FORENSIC PANEL --- */
.panel {
  margin-top: 3rem;
  padding: 2.5rem 2rem;
  background: linear-gradient(180deg, rgba(15, 22, 34, 0.55), rgba(15, 22, 34, 0.2));
  border: 1px solid var(--dark-border);
  border-radius: 14px;
  position: relative;
}
.panel::before {
  content: '';
  position: absolute;
  top: -1px; left: 24px; right: 24px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-deep), transparent);
  opacity: 0.6;
}

.panel-header {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}
.panel-num {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--accent);
  letter-spacing: -0.02em;
  line-height: 1;
  padding-top: 0.3rem;
  flex-shrink: 0;
}
.panel-titleblock { flex: 1; }
.panel-eyebrow {
  display: block;
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
}
.panel-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
  color: var(--text);
}

.panel-lead {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 1.25rem;
  max-width: 820px;
}
.panel-lead .mono {
  font-family: var(--mono);
  font-size: 0.95em;
  color: var(--accent-light);
}
.panel-lead em {
  font-style: italic;
  color: var(--flag);
  font-weight: 600;
}

.panel-closing {
  margin-top: 1.5rem;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text-muted);
  font-style: italic;
  border-left: 2px solid var(--accent-deep);
  padding-left: 1rem;
}
.panel-closing-flag {
  color: var(--flag);
  font-weight: 600;
  border-left-color: var(--flag-deep);
  font-style: italic;
}

/* --- IMAGE FORENSICS TABLE --- */
.img-table-wrapper {
  overflow-x: auto;
  margin: 1.5rem 0;
}
.img-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}
.img-table th {
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  text-align: left;
  padding: 0.7rem 1rem;
  border-bottom: 1px solid var(--dark-border);
}
.img-table td {
  padding: 1rem;
  border-bottom: 1px solid var(--dark-border);
  vertical-align: top;
  color: var(--text);
  line-height: 1.55;
}
.img-table tr:last-child td { border-bottom: none; }
.img-table .img-ref {
  font-family: var(--mono);
  font-size: 0.85rem;
  color: var(--accent-light);
  font-weight: 500;
}
.img-table .img-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
  display: block;
  margin-top: 0.2rem;
}
.img-table .img-clean-mark {
  color: var(--text-muted);
  font-family: var(--mono);
}
.img-row-clean td {
  color: var(--text-muted);
}

@media (max-width: 760px) {
  .img-table { font-size: 0.85rem; }
  .img-table th, .img-table td { padding: 0.7rem 0.6rem; }
}

/* --- ELA HEATMAP ARTEFACT FIGURE --- */
/* --- ARTEFACT CARD (case-file entry, typographic) --- */
.artefact-card {
  margin: 2rem 0 0;
  padding: 1.75rem 1.85rem 1.5rem;
  background:
    linear-gradient(180deg, rgba(15, 22, 34, 0.55), rgba(10, 14, 21, 0.4));
  border: 1px solid var(--dark-border);
  border-radius: 10px;
  position: relative;
}
/* Thin top accent line — same pattern as the form card / capability tiles */
.artefact-card::before {
  content: '';
  position: absolute;
  top: -1px; left: 28px; right: 28px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-deep), transparent);
  opacity: 0.7;
}

.artefact-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--dark-border);
  margin-bottom: 1.25rem;
}
.artefact-card-index {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
}
.artefact-card-status {
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* The filename — the visual anchor of the card */
.artefact-card-filename {
  font-family: var(--mono);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 500;
  letter-spacing: 0.005em;
  color: var(--accent-light);
  margin-bottom: 1.5rem;
  word-break: break-all;
}

/* Metadata block — key/value pairs in mono */
.artefact-card-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem 2rem;
  margin: 0 0 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--dark-border);
}
@media (max-width: 720px) {
  .artefact-card-meta { grid-template-columns: 1fr; gap: 0.65rem; }
}
.artefact-card-meta .meta-row {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 1rem;
  align-items: baseline;
}
@media (max-width: 480px) {
  .artefact-card-meta .meta-row { grid-template-columns: 1fr; gap: 0.15rem; }
}
.artefact-card-meta dt {
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
}
.artefact-card-meta dd {
  font-family: var(--mono);
  font-size: 0.86rem;
  color: var(--text);
  margin: 0;
  line-height: 1.5;
  word-break: break-word;
}

/* The finding line — a sentence of prose between two technical blocks */
.artefact-card-finding {
  font-size: 0.98rem;
  line-height: 1.7;
  color: var(--text);
  margin: 0 0 1.5rem;
  max-width: 820px;
}

/* Footer: confidence band + timestamp */
.artefact-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--dark-border);
}
.artefact-card-confidence {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
}
.conf-label {
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.conf-band {
  display: inline-block;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.005em;
  padding: 0.2rem 0.65rem;
  border-radius: 3px;
}
.conf-band-low {
  color: var(--text);
  background: rgba(123,168,200,0.05);
  border: 1px solid rgba(74,107,140,0.3);
}
.conf-band-medium {
  color: var(--accent-light);
  background: rgba(123,168,200,0.08);
  border: 1px solid rgba(74,107,140,0.4);
}
.conf-band-high {
  color: var(--flag);
  background: rgba(212,165,116,0.08);
  border: 1px solid rgba(168,127,77,0.4);
}
.artefact-card-timestamp {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

/* Caption stays consistent with the previous artefact-caption pattern */
.artefact-card figcaption.artefact-caption {
  margin-top: 1.5rem;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.65;
  font-style: italic;
  max-width: 880px;
}
.artefact-caption .mono {
  font-family: var(--mono);
  font-style: normal;
  color: var(--accent-light);
  font-size: 0.95em;
}

/* --- DOCUMENT INTELLIGENCE CONFLICT TILES --- */
.conflict-stack {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 1.5rem;
}
.conflict-tile {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-left: 3px solid var(--flag-deep);
  border-radius: 6px;
  padding: 1.5rem 1.5rem 1.25rem;
}
.conflict-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.7rem;
  flex-wrap: wrap;
}
.conflict-tag {
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--flag);
  background: rgba(212,165,116,0.08);
  border: 1px solid rgba(168,127,77,0.4);
  padding: 0.25rem 0.6rem;
  border-radius: 3px;
}
.conflict-engine {
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}
.conflict-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.65rem;
}
.conflict-body {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.conflict-excerpts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (max-width: 720px) {
  .conflict-excerpts { grid-template-columns: 1fr; }
}
.excerpt {
  padding: 0.85rem 1rem;
  background: rgba(10, 14, 21, 0.55);
  border: 1px solid var(--dark-border);
  border-radius: 4px;
}
.excerpt-conflicting {
  border-color: rgba(168,127,77,0.45);
  background: rgba(212,165,116,0.04);
}
.excerpt-source {
  display: block;
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}
.excerpt blockquote {
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--text);
  font-style: italic;
  margin: 0;
}
.mono-emph {
  font-family: var(--mono);
  font-style: normal;
  color: var(--flag);
  font-weight: 500;
}

/* --- VIN MISMATCH PANEL --- */
.vin-mismatch {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0;
  margin: 2rem 0 1rem;
  border: 1px solid var(--dark-border);
  border-radius: 10px;
  overflow: hidden;
  background: rgba(10, 14, 21, 0.55);
}
.vin-side {
  padding: 1.75rem 1.75rem 1.5rem;
}
.vin-source {
  display: block;
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.85rem;
}
.vin-number {
  font-family: var(--mono);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 500;
  color: var(--text);
  letter-spacing: 0.08em;
  padding: 0.7rem 0.85rem;
  background: rgba(15, 22, 34, 0.7);
  border: 1px solid var(--dark-border);
  border-radius: 4px;
  margin-bottom: 0.85rem;
  word-break: break-all;
}
.vin-number-flag {
  color: var(--flag);
  border-color: rgba(168,127,77,0.4);
  background: rgba(212,165,116,0.04);
}
.vin-status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}
.vin-status .status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}
.vin-meta {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.vin-meta span {
  color: var(--text-muted);
  margin-right: 0.4rem;
}
.vin-meta strong {
  color: var(--text);
  font-weight: 500;
}

.vin-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 1rem;
  border-left: 1px dashed var(--dark-border);
  border-right: 1px dashed var(--dark-border);
}
.vin-vs {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212,165,116,0.12) 0%, transparent 70%);
}
.vin-vs-label {
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--flag);
}

@media (max-width: 720px) {
  .vin-mismatch { grid-template-columns: 1fr; }
  .vin-divider {
    border-left: none; border-right: none;
    border-top: 1px dashed var(--dark-border);
    border-bottom: 1px dashed var(--dark-border);
    padding: 1rem;
  }
  .vin-vs { width: 60px; height: 60px; }
}

/* --- CROSS-CHANNEL TIMELINE --- */
.cc-timeline {
  margin: 2rem 0 1rem;
  padding: 1.5rem;
  background: rgba(10, 14, 21, 0.55);
  border: 1px solid var(--dark-border);
  border-radius: 10px;
}
.cc-timeline svg {
  display: block;
  width: 100%;
  height: auto;
  max-width: 800px;
  margin: 0 auto;
}

/* --- BAND INDICATOR (Section 3) --- */
.band-indicator {
  margin: 2rem 0 2.5rem;
  padding: 2rem;
  background: rgba(10, 14, 21, 0.5);
  border: 1px solid var(--dark-border);
  border-radius: 12px;
}
.band-scale {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0;
  margin-bottom: 1.5rem;
}
.band-segment {
  padding: 1rem 1.25rem;
  border: 1px solid var(--dark-border);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  opacity: 0.4;
  transition: opacity 0.3s ease;
}
.band-segment:not(:first-child) { border-left: none; }
.band-low { border-radius: 6px 0 0 6px; }
.band-high { border-radius: 0 6px 6px 0; }

.band-high-active {
  opacity: 1;
  background: linear-gradient(180deg, rgba(212,165,116,0.1), rgba(212,165,116,0.04));
  border-color: var(--flag-deep);
}
.band-high-active .band-label {
  color: var(--flag);
}

.band-label {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
}
.band-sublabel {
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.band-marker {
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-top: 8px solid var(--flag);
}

.band-callout {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--dark-border);
  margin-top: 1rem;
  padding-top: 1.5rem;
}
.band-callout-tag {
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 0.3rem 0.65rem;
  border: 1px solid var(--dark-border);
  border-radius: 3px;
}
.band-callout-text {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--flag);
  text-transform: uppercase;
}

@media (max-width: 600px) {
  .band-scale { grid-template-columns: 1fr; }
  .band-segment:not(:first-child) { border-left: 1px solid var(--dark-border); border-top: none; }
  .band-low { border-radius: 6px 6px 0 0; }
  .band-high { border-radius: 0 0 6px 6px; }
  .band-marker { bottom: 50%; left: -8px; transform: translateY(50%) rotate(-90deg); }
}

/* --- COMPOSITION TABLE --- */
.composition-block {
  margin: 2rem 0 1.5rem;
}
.composition-header {
  margin-bottom: 0.75rem;
}
.composition-eyebrow {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

.composition-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  background: rgba(15, 22, 34, 0.35);
  border: 1px solid var(--dark-border);
  border-radius: 8px;
  overflow: hidden;
}
.composition-table th {
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  text-align: left;
  padding: 0.9rem 1.25rem;
  border-bottom: 1px solid var(--dark-border);
}
.composition-table th.contrib-col { text-align: right; }
.composition-table td {
  padding: 0.9rem 1.25rem;
  border-bottom: 1px solid var(--dark-border);
  color: var(--text);
  line-height: 1.55;
}
.composition-table tr:last-child td { border-bottom: none; }
.composition-table td:nth-child(2) {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}
.composition-table td:nth-child(3) { text-align: right; }

.contrib {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.32rem 0.7rem;
  border-radius: 3px;
  font-weight: 500;
}
.contrib-high {
  color: var(--flag);
  background: rgba(212,165,116,0.1);
  border: 1px solid rgba(168,127,77,0.45);
}
.contrib-medium {
  color: var(--accent-light);
  background: rgba(123,168,200,0.08);
  border: 1px solid rgba(74,107,140,0.45);
}
.contrib-low {
  color: var(--text-muted);
  background: rgba(36,50,70,0.4);
  border: 1px solid var(--dark-border);
}

@media (max-width: 760px) {
  .composition-table th, .composition-table td { padding: 0.7rem 0.6rem; font-size: 0.85rem; }
}

/* --- WEIGHT FRAMING BLOCKQUOTE --- */
.weight-framing {
  margin: 2rem 0;
  padding: 1.25rem 1.5rem 1.25rem 1.75rem;
  border-left: 2px solid var(--accent);
  background: rgba(123,168,200,0.04);
  border-radius: 0 6px 6px 0;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-muted);
  font-style: italic;
  max-width: 820px;
}

/* --- BANDS RECAP --- */
.bands-recap {
  margin: 2.5rem 0 2rem;
}
.bands-recap-eyebrow {
  display: block;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}
.bands-recap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
@media (max-width: 760px) {
  .bands-recap-grid { grid-template-columns: 1fr; }
}
.band-recap-item {
  padding: 1.25rem 1.25rem 1.1rem;
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: 6px;
}
.band-recap-name {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}
.band-recap-low { color: var(--text); }
.band-recap-medium { color: var(--accent-light); }
.band-recap-high { color: var(--flag); }
.band-recap-item p {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0;
}

/* --- CASE FILE TILE GRID --- */
.case-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin: 2rem 0;
}
@media (max-width: 760px) {
  .case-grid { grid-template-columns: 1fr; }
}

.case-tile {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: 12px;
  padding: 1.75rem 1.6rem 1.5rem;
  transition: border-color 0.3s ease, transform 0.3s ease;
  display: flex;
  flex-direction: column;
}
.case-tile:hover {
  border-color: var(--accent-deep);
  transform: translateY(-3px);
}

.case-tile-num {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 900;
  color: var(--accent);
  margin-bottom: 0.85rem;
  letter-spacing: -0.01em;
}
.case-tile-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: 0.85rem;
}
.case-tile-body {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  flex-grow: 1;
}
.case-tile-visual {
  border-radius: 6px;
  overflow: hidden;
}
.case-tile-visual svg {
  display: block;
  width: 100%;
  height: auto;
}

/* --- CLOSING SECTION --- */
.ev-section-closing {
  text-align: center;
  padding: 7rem 2rem 6rem;
  background:
    radial-gradient(ellipse at 50% 30%, rgba(123,168,200,0.07) 0%, transparent 60%),
    var(--dark);
  border-top: 1px solid var(--dark-border);
  max-width: none;
  margin: 4rem 0 0;
}
.ev-section-closing .eyebrow {
  display: flex;
  justify-content: center;
}
.ev-closing-title {
  margin-left: auto;
  margin-right: auto;
  max-width: 760px;
}
.ev-section-closing .ev-prose {
  margin-left: auto;
  margin-right: auto;
  max-width: 720px;
  text-align: center;
}

/* --- CTA BLOCK --- */
.cta-block {
  margin: 3.5rem auto 0;
  max-width: 580px;
  padding: 2.25rem 2rem 2.25rem;
  border: 1px solid var(--flag-deep);
  border-radius: 14px;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(212,165,116,0.08) 0%, transparent 70%),
    rgba(15, 22, 34, 0.55);
  text-align: center;
}
.cta-eyebrow {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  font-style: italic;
  color: var(--flag);
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}
.cta-line {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.75rem;
}
.cta-block .btn { display: inline-flex; }

/* --- RESPONSIVE BASE TWEAKS --- */
@media (max-width: 600px) {
  .ev-hero { padding: 8rem 1.25rem 4rem; }
  .ev-section { padding: 4.5rem 1.25rem; }
  .panel { padding: 1.75rem 1.25rem; }
  .panel-header { gap: 0.85rem; }
  .panel-num { font-size: 1.25rem; }
  .ev-section-closing { padding: 5rem 1.25rem 4.5rem; }
}

/* ============================================================
   ============================================================
   CONTACT PAGE
   ============================================================
   ============================================================ */
.ct-hero {
  padding: 11rem 2rem 3rem;
  max-width: 880px;
  margin: 0 auto;
  position: relative;
  text-align: center;
}
.ct-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 20%, rgba(123,168,200,0.08) 0%, transparent 55%),
    radial-gradient(ellipse at 70% 80%, rgba(212,165,116,0.04) 0%, transparent 55%);
}
.ct-hero > * { position: relative; z-index: 1; }
.ct-hero .eyebrow { justify-content: center; }

.ct-h1 {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 1.75rem;
  padding-right: 0.1em; /* absorbs italic-glyph ink overhang at large display sizes */
}
.ct-h1 em {
  font-style: italic;
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  padding-right: 0.08em;
}

.ct-lead {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  line-height: 1.75;
  color: var(--text-muted);
  max-width: 720px;
  margin: 0 auto;
}

/* --- FORM SECTION --- */
.ct-form-section {
  padding: 4rem 2rem 4rem;
  max-width: 720px;
  margin: 0 auto;
}

.ct-form-container {
  background:
    linear-gradient(180deg, rgba(15, 22, 34, 0.55), rgba(15, 22, 34, 0.25));
  border: 1px solid var(--dark-border);
  border-radius: 14px;
  padding: 2.5rem 2.25rem 2.25rem;
  position: relative;
}
.ct-form-container::before {
  content: '';
  position: absolute;
  top: -1px; left: 24px; right: 24px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-deep), transparent);
  opacity: 0.7;
}

.ct-form-header {
  margin-bottom: 1.75rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--dark-border);
}
.ct-form-eyebrow {
  display: block;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.6rem;
}
.ct-form-meta {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

/* --- FORM MOUNT POINT --- */
.ct-form-mount {
  position: relative;
  min-height: 200px;
}

/* Loading state — three pulse dots */
.ct-form-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 4rem 1rem;
  opacity: 1;
  transition: opacity 0.4s ease;
}
.ct-form-loading.is-hidden {
  opacity: 0;
  pointer-events: none;
  position: absolute;
  inset: 0;
}
.ct-loading-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.4;
  animation: ctLoadPulse 1.4s ease-in-out infinite;
}
.ct-loading-dot:nth-child(2) { animation-delay: 0.2s; }
.ct-loading-dot:nth-child(3) { animation-delay: 0.4s; }
.ct-loading-label {
  margin-left: 0.5rem;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}
@keyframes ctLoadPulse {
  0%, 100% { opacity: 0.3; transform: translateY(0); }
  50%      { opacity: 1; transform: translateY(-3px); }
}

/* Fallback state — shown when HubSpot fails to load (network, blocker, etc.) */
.ct-form-loading.is-fallback {
  display: block;
  padding: 1.75rem 1.5rem;
  border: 1px solid var(--dark-border);
  border-left: 3px solid var(--flag-deep);
  border-radius: 8px;
  background: rgba(212, 165, 116, 0.04);
  text-align: left;
  animation: none;
}
.ct-form-fallback {
  display: block;
}
.ct-form-fallback-eyebrow {
  display: block;
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--flag);
  margin-bottom: 0.6rem;
}
.ct-form-fallback p {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--text-muted);
  margin: 0;
}
.ct-form-fallback a {
  color: var(--accent-light);
  text-decoration: underline;
  text-decoration-color: rgba(123,168,200,0.4);
  text-underline-offset: 3px;
}
.ct-form-fallback a:hover {
  color: var(--accent);
  text-decoration-color: var(--accent);
}

/* ============================================================
   HUBSPOT FORM OVERRIDES
   These target HubSpot's generated markup. Class names follow
   HubSpot's v2 embed conventions. Selectors are scoped via
   #hubspot-form to avoid leaking into other pages.
   ============================================================ */

/* Reset HubSpot's base font and color in our scope */
#hubspot-form,
#hubspot-form .hs-form,
#hubspot-form .hs-form * {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--text);
  box-sizing: border-box;
}

/* Field wrapper */
#hubspot-form .hs-form-field {
  margin-bottom: 1.25rem;
  position: relative;
}

/* Labels */
#hubspot-form label,
#hubspot-form .hs-form-field > label {
  display: block;
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
}
#hubspot-form .hs-form-required {
  color: var(--flag);
  margin-left: 0.25rem;
}

/* Inputs, textareas, selects */
#hubspot-form .hs-input,
#hubspot-form input[type="text"],
#hubspot-form input[type="email"],
#hubspot-form input[type="tel"],
#hubspot-form input[type="url"],
#hubspot-form input[type="number"],
#hubspot-form textarea,
#hubspot-form select {
  width: 100% !important;
  background: rgba(10, 14, 21, 0.6);
  color: var(--text);
  border: 1px solid var(--dark-border);
  border-radius: 6px;
  padding: 0.75rem 0.9rem;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.95rem;
  line-height: 1.5;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}
#hubspot-form .hs-input::placeholder,
#hubspot-form input::placeholder,
#hubspot-form textarea::placeholder {
  color: var(--text-muted);
  opacity: 0.65;
}
#hubspot-form .hs-input:focus,
#hubspot-form input:focus,
#hubspot-form textarea:focus,
#hubspot-form select:focus {
  border-color: var(--accent);
  background: rgba(10, 14, 21, 0.85);
  box-shadow: 0 0 0 3px rgba(123, 168, 200, 0.15);
}
#hubspot-form textarea,
#hubspot-form .hs-input[type="textarea"],
#hubspot-form textarea.hs-input {
  min-height: 120px;
  resize: vertical;
  font-family: 'Inter', system-ui, sans-serif;
}

/* Select arrow (override appearance:none with our own caret) */
#hubspot-form select {
  background-image:
    linear-gradient(45deg, transparent 50%, var(--accent) 50%),
    linear-gradient(135deg, var(--accent) 50%, transparent 50%);
  background-position:
    calc(100% - 18px) 50%,
    calc(100% - 12px) 50%;
  background-size: 6px 6px;
  background-repeat: no-repeat;
  padding-right: 2.5rem;
}
#hubspot-form select option {
  background: var(--dark-card);
  color: var(--text);
}

/* Auto-fill colour fix (Webkit) */
#hubspot-form .hs-input:-webkit-autofill,
#hubspot-form input:-webkit-autofill,
#hubspot-form textarea:-webkit-autofill {
  -webkit-text-fill-color: var(--text);
  -webkit-box-shadow: 0 0 0px 1000px rgba(10, 14, 21, 0.6) inset;
  caret-color: var(--text);
  transition: background-color 5000s ease-in-out 0s;
}

/* Field-level errors */
#hubspot-form .hs-input.invalid,
#hubspot-form .hs-input.error,
#hubspot-form input.invalid,
#hubspot-form textarea.invalid {
  border-color: var(--flag-deep);
  background: rgba(212, 165, 116, 0.04);
}
#hubspot-form .hs-error-msg,
#hubspot-form .hs-error-msgs label {
  display: block;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: var(--flag);
  margin-top: 0.4rem;
  text-transform: none;
}
#hubspot-form .hs-error-msgs {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Multi-column field rows (HubSpot uses .form-columns-N) */
#hubspot-form .form-columns-2,
#hubspot-form .form-columns-3 {
  display: grid;
  gap: 1rem;
  width: 100% !important;
  max-width: none !important;
}
#hubspot-form .form-columns-2 { grid-template-columns: 1fr 1fr; }
#hubspot-form .form-columns-3 { grid-template-columns: 1fr 1fr 1fr; }
#hubspot-form .form-columns-2 > .hs-form-field,
#hubspot-form .form-columns-3 > .hs-form-field {
  width: 100% !important;
  padding: 0 !important;
  float: none !important;
}
@media (max-width: 560px) {
  #hubspot-form .form-columns-2,
  #hubspot-form .form-columns-3 { grid-template-columns: 1fr; }
}

/* Reset HubSpot's default float-based layout artefacts */
#hubspot-form .hs-form fieldset {
  max-width: none !important;
  border: 0;
  padding: 0;
  margin: 0;
}
#hubspot-form .hs-form fieldset .input {
  margin-right: 0 !important;
}

/* Checkbox / radio fields */
#hubspot-form .hs-form-booleancheckbox-display,
#hubspot-form .inputs-list li.hs-form-booleancheckbox,
#hubspot-form .inputs-list li.hs-form-checkbox,
#hubspot-form .inputs-list li.hs-form-radio {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin-bottom: 0.5rem;
  list-style: none;
}
#hubspot-form .hs-form-booleancheckbox-display input,
#hubspot-form .inputs-list input[type="checkbox"],
#hubspot-form .inputs-list input[type="radio"] {
  width: 16px !important;
  height: 16px;
  margin: 0.25rem 0 0 0;
  accent-color: var(--accent);
  cursor: pointer;
  flex-shrink: 0;
}
#hubspot-form .hs-form-booleancheckbox-display > span,
#hubspot-form .inputs-list label span {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.92rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--text);
  line-height: 1.55;
}
#hubspot-form .inputs-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
#hubspot-form .inputs-list label {
  font-family: 'Inter', system-ui, sans-serif !important;
  font-size: 0.92rem !important;
  font-weight: 400 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  color: var(--text) !important;
  margin: 0 !important;
}

/* GDPR consent block */
#hubspot-form .legal-consent-container {
  margin-top: 1.25rem;
  padding: 1rem 1.1rem;
  background: rgba(10, 14, 21, 0.4);
  border: 1px solid var(--dark-border);
  border-radius: 6px;
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--text-muted);
}
#hubspot-form .legal-consent-container p,
#hubspot-form .legal-consent-container .hs-richtext {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0 0 0.5rem;
}
#hubspot-form .legal-consent-container a {
  color: var(--accent-light);
  text-decoration: underline;
  text-decoration-color: rgba(123, 168, 200, 0.35);
  text-underline-offset: 2px;
}
#hubspot-form .legal-consent-container a:hover {
  color: var(--accent);
  text-decoration-color: var(--accent);
}

/* Submit button */
#hubspot-form .hs-submit {
  margin-top: 1.5rem;
}
#hubspot-form .hs-button,
#hubspot-form input[type="submit"],
#hubspot-form .actions input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  padding: 0.95rem 2rem;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: var(--dark);
  border: none;
  border-radius: 10px;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.25s ease, filter 0.25s ease;
  -webkit-appearance: none;
  appearance: none;
  text-transform: none;
}
#hubspot-form .hs-button:hover,
#hubspot-form input[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(123, 168, 200, 0.22);
}
#hubspot-form .hs-button:disabled,
#hubspot-form input[type="submit"]:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* HubSpot's main error banner (above the form, e.g. "Please complete all required fields") */
#hubspot-form .hs_error_rollup,
#hubspot-form .hs-main-font-element {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--flag);
  font-size: 0.9rem;
  margin-top: 0.75rem;
}
#hubspot-form .hs_error_rollup .hs-error-msg {
  color: var(--flag);
  font-family: 'Inter', system-ui, sans-serif;
  letter-spacing: 0;
  text-transform: none;
}

/* Inline thank-you / submitted message — the post-submit state */
#hubspot-form .submitted-message,
#hubspot-form .hs-form .submitted-message {
  padding: 2rem 1.5rem;
  background: rgba(123, 168, 200, 0.04);
  border: 1px solid var(--accent-deep);
  border-radius: 10px;
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--text);
  text-align: center;
}
#hubspot-form .submitted-message p {
  color: var(--text);
  font-family: 'Playfair Display', serif;
  margin: 0;
}

/* --- WHAT TO EXPECT STRIP --- */
.ct-expect {
  padding: 2rem 2rem 5rem;
  max-width: 880px;
  margin: 0 auto;
}
.ct-expect-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--dark-border);
}
@media (max-width: 640px) {
  .ct-expect-grid { grid-template-columns: 1fr; gap: 1.75rem; }
}
.ct-expect-item p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin: 0;
}
.ct-expect-eyebrow {
  display: block;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.7rem;
}
.ct-mail {
  font-family: var(--mono);
  font-size: 0.95em;
  color: var(--accent-light);
  text-decoration: underline;
  text-decoration-color: rgba(123, 168, 200, 0.4);
  text-underline-offset: 3px;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}
.ct-mail:hover {
  color: var(--accent);
  text-decoration-color: var(--accent);
}

/* --- RESPONSIVE BASE TWEAKS --- */
@media (max-width: 600px) {
  .ct-hero { padding: 8rem 1.25rem 2.5rem; }
  .ct-form-section { padding: 3rem 1.25rem; }
  .ct-form-container { padding: 1.75rem 1.5rem 1.5rem; }
  .ct-expect { padding: 1.5rem 1.25rem 4rem; }
}

/* ============================================================
   ============================================================
   PRODUCT PAGE
   ============================================================
   ============================================================ */

/* --- HERO --- */
.pr-hero {
  padding: 11rem 2rem 4rem;
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
}
.pr-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 75% 20%, rgba(123,168,200,0.07) 0%, transparent 55%),
    radial-gradient(ellipse at 25% 75%, rgba(212,165,116,0.04) 0%, transparent 55%);
}
.pr-hero > * { position: relative; z-index: 1; }

.pr-h1 {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: clamp(2.2rem, 5.5vw, 4.2rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 2rem;
  max-width: 980px;
  padding-right: 0.1em; /* absorbs italic-glyph ink overhang at large display sizes */
}
.pr-h1 em {
  font-style: italic;
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  padding-right: 0.08em;
}

.pr-lead {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  line-height: 1.7;
  color: var(--text);
  max-width: 820px;
  margin-bottom: 1.5rem;
}

.pr-sub {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 780px;
}

/* --- GENERIC SECTION --- */
.pr-section {
  padding: 6rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.pr-section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.7rem, 3.6vw, 2.8rem);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.015em;
  margin-bottom: 2rem;
  max-width: 880px;
  padding-right: 0.1em; /* absorbs italic-glyph ink overhang */
}
.pr-section-title em {
  font-style: italic;
  color: var(--accent-light);
}

.pr-prose {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text);
  max-width: 820px;
  margin-bottom: 1.5rem;
}
.pr-prose-emphatic { font-size: 1.1rem; }
.pr-prose-quiet {
  color: var(--text-muted);
  font-size: 0.95rem;
}
.pr-prose em {
  font-style: italic;
  color: var(--accent-light);
}

/* --- CAPABILITY GRID (Section I) --- */
.capability-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-top: 2.5rem;
}
@media (max-width: 760px) {
  .capability-grid { grid-template-columns: 1fr; }
}

.cap-tile {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: 12px;
  padding: 2rem 1.75rem 1.75rem;
  transition: border-color 0.3s ease, transform 0.3s ease, background 0.3s ease;
  position: relative;
}
.cap-tile::before {
  content: '';
  position: absolute;
  top: 0; left: 24px; right: 24px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-deep), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.cap-tile:hover {
  border-color: var(--accent-deep);
  transform: translateY(-3px);
  background: linear-gradient(180deg, rgba(123,168,200,0.04), var(--dark-card));
}
.cap-tile:hover::before { opacity: 1; }

.cap-num {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 900;
  color: var(--accent);
  letter-spacing: 0.08em;
  margin-bottom: 0.85rem;
}
.cap-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.25;
  color: var(--text);
  margin-bottom: 0.85rem;
}
.cap-body {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin: 0;
}

/* --- BAND REFERENCE (Section II) — neutral display, no active state --- */
.band-reference {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0;
  margin: 2rem 0 1.5rem;
  border: 1px solid var(--dark-border);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(10, 14, 21, 0.5);
}
.band-ref-segment {
  padding: 1.1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  border-right: 1px solid var(--dark-border);
}
.band-ref-segment:last-child { border-right: none; }
.band-ref-label {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.band-ref-low .band-ref-label    { color: var(--text); }
.band-ref-medium .band-ref-label { color: var(--accent-light); }
.band-ref-high .band-ref-label   { color: var(--flag); }
.band-ref-sublabel {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  color: var(--text-muted);
}
@media (max-width: 600px) {
  .band-reference { grid-template-columns: 1fr; }
  .band-ref-segment { border-right: none; border-bottom: 1px solid var(--dark-border); }
  .band-ref-segment:last-child { border-bottom: none; }
}

.band-actions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 2.5rem;
}
@media (max-width: 760px) { .band-actions-grid { grid-template-columns: 1fr; } }
.band-action {
  padding: 1.5rem 1.4rem 1.25rem;
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: 8px;
}
.band-action-name {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.65rem;
  letter-spacing: -0.01em;
}
.band-action-low    { color: var(--text); }
.band-action-medium { color: var(--accent-light); }
.band-action-high   { color: var(--flag); }
.band-action p {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--text-muted);
  margin: 0;
}

/* Compliance framing block — reuse pattern from Evidence */
.pr-framing {
  margin: 2rem 0;
  padding: 1.4rem 1.6rem 1.4rem 1.85rem;
  border-left: 2px solid var(--accent);
  background: rgba(123,168,200,0.04);
  border-radius: 0 6px 6px 0;
  font-size: 0.98rem;
  line-height: 1.75;
  color: var(--text-muted);
  font-style: italic;
  max-width: 880px;
}

/* --- ADJACENT GRID (Section IV) --- */
.adjacent-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  margin: 2.5rem 0 2rem;
  border-top: 1px solid var(--dark-border);
  border-left: 1px solid var(--dark-border);
}
.adjacent-block {
  padding: 1.75rem 1.75rem 1.5rem;
  border-right: 1px solid var(--dark-border);
  border-bottom: 1px solid var(--dark-border);
  background: rgba(15, 22, 34, 0.25);
}
.adjacent-block-self {
  background: rgba(123,168,200,0.04);
  border-right-color: var(--accent-deep);
  border-bottom-color: var(--accent-deep);
}
@media (max-width: 720px) {
  .adjacent-grid { grid-template-columns: 1fr; }
}

.adjacent-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.005em;
  color: var(--text);
  margin-bottom: 0.85rem;
}
.adjacent-block-self .adjacent-title {
  color: var(--accent-light);
}
.adjacent-body {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text-muted);
  margin-bottom: 0.85rem;
}
.adjacent-question {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin: 0;
}
.adjacent-question em {
  font-style: italic;
  color: var(--accent);
}

/* --- INTEGRATION BLOCKS (Section V) --- */
.integration-blocks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem 3rem;
  margin-top: 2rem;
}
@media (max-width: 860px) {
  .integration-blocks { grid-template-columns: 1fr; gap: 2.5rem; }
}
.integration-block {
  border-top: 1px solid var(--dark-border);
  padding-top: 1.5rem;
}
.integration-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: 1rem;
}
.integration-block p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 1rem;
}
.integration-block p:last-child { margin-bottom: 0; }
.integration-sub {
  display: inline;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 700;
  font-size: 1.05em;
  color: var(--accent-light);
  margin-right: 0.4rem;
}

/* --- CLOSING SECTION (Section VI) --- */
.pr-section-closing {
  text-align: center;
  padding: 7rem 2rem 6rem;
  background:
    radial-gradient(ellipse at 50% 30%, rgba(123,168,200,0.07) 0%, transparent 60%),
    var(--dark);
  border-top: 1px solid var(--dark-border);
  max-width: none;
  margin: 4rem 0 0;
}
.pr-section-closing .eyebrow {
  display: flex;
  justify-content: center;
}
.pr-closing-title {
  margin-left: auto;
  margin-right: auto;
  max-width: 760px;
}
.pr-section-closing .pr-prose {
  margin-left: auto;
  margin-right: auto;
  max-width: 720px;
  text-align: center;
}

/* --- RESPONSIVE BASE --- */
@media (max-width: 600px) {
  .pr-hero { padding: 8rem 1.25rem 3rem; }
  .pr-section { padding: 4.5rem 1.25rem; }
  .pr-section-closing { padding: 5rem 1.25rem 4.5rem; }
  .pr-framing { padding: 1.1rem 1.2rem 1.1rem 1.4rem; }
}

/* ============================================================
   ============================================================
   COMPANY PAGE
   ============================================================
   ============================================================ */

/* --- HERO --- */
.co-hero {
  padding: 11rem 2rem 4rem;
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
}
.co-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(123,168,200,0.07) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 80%, rgba(212,165,116,0.04) 0%, transparent 55%);
}
.co-hero > * { position: relative; z-index: 1; }

.co-h1 {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: clamp(2.2rem, 5.5vw, 4.2rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 2rem;
  max-width: 900px;
  padding-right: 0.1em; /* absorbs italic-glyph ink overhang at large display sizes */
}
.co-h1 em {
  font-style: italic;
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  padding-right: 0.08em;
}

.co-lead {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  line-height: 1.75;
  color: var(--text);
  max-width: 820px;
  margin-bottom: 1.5rem;
}

.co-sub {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 780px;
}

/* --- GENERIC SECTION --- */
.co-section {
  padding: 6rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.co-section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.7rem, 3.4vw, 2.6rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.015em;
  margin-bottom: 2rem;
  max-width: 880px;
  padding-right: 0.1em; /* absorbs italic-glyph ink overhang */
}
.co-section-title em {
  font-style: italic;
  color: var(--accent-light);
  font-weight: 700;
}

.co-prose {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text);
  max-width: 820px;
  margin-bottom: 1.5rem;
}
.co-prose-tight { margin-bottom: 0.75rem; }
.co-prose-emphatic { font-size: 1.1rem; }

/* The honest closing line at the bottom of Section II — quieter, italic, set apart */
.co-prose-honest {
  margin-top: 2rem;
  padding-left: 1.25rem;
  border-left: 2px solid var(--flag-deep);
  font-size: 1rem;
  line-height: 1.7;
  font-style: italic;
  color: var(--text-muted);
  max-width: 720px;
}

/* --- POSTURE STACK (Sections II and III) --- */
.posture-stack {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin: 2rem 0 1rem;
}

.posture-block {
  padding: 1.6rem 1.75rem 1.5rem 2rem;
  background: rgba(15, 22, 34, 0.4);
  border: 1px solid var(--dark-border);
  border-radius: 0 8px 8px 0;
  border-left-width: 3px;
}

/* Section II — institutional/current posture: blue accent */
.posture-block-current {
  border-left-color: var(--accent);
  background: rgba(123, 168, 200, 0.03);
}

/* Section III — direction/future: amber accent */
.posture-block-direction {
  border-left-color: var(--flag-deep);
  background: rgba(212, 165, 116, 0.03);
}

.posture-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.005em;
  line-height: 1.3;
  margin-bottom: 0.85rem;
  color: var(--text);
}
.posture-title em {
  font-style: italic;
}
.posture-block-current .posture-title em { color: var(--accent-light); }
.posture-block-direction .posture-title em { color: var(--flag); }

.posture-block p {
  font-size: 0.98rem;
  line-height: 1.75;
  color: var(--text-muted);
  margin: 0;
}

/* --- CLOSING SECTION (Section III) --- */
.co-section-closing {
  text-align: center;
  padding: 7rem 2rem 6rem;
  background:
    radial-gradient(ellipse at 50% 30%, rgba(123,168,200,0.07) 0%, transparent 60%),
    var(--dark);
  border-top: 1px solid var(--dark-border);
  max-width: none;
  margin: 4rem 0 0;
}
.co-section-closing .eyebrow {
  display: flex;
  justify-content: center;
}
.co-closing-title {
  margin-left: auto;
  margin-right: auto;
  max-width: 820px;
}
.co-section-closing .co-prose {
  margin-left: auto;
  margin-right: auto;
  max-width: 720px;
  text-align: center;
}

/* --- RESPONSIVE --- */
@media (max-width: 600px) {
  .co-hero { padding: 8rem 1.25rem 3rem; }
  .co-section { padding: 4.5rem 1.25rem; }
  .co-section-closing { padding: 5rem 1.25rem 4.5rem; }
  .posture-block { padding: 1.25rem 1.25rem 1.1rem 1.4rem; }
}

/* ============================================================
   ============================================================
   HOMEPAGE — rebuild
   ============================================================
   ============================================================ */

/* --- HERO (new lead + sub replace .hero-tagline / .hero-elaboration) --- */
.hero-lead {
  font-size: clamp(1.05rem, 1.7vw, 1.25rem);
  color: var(--text);
  line-height: 1.7;
  max-width: 780px;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.8s ease-out 0.2s both;
  position: relative;
  z-index: 1;
}

.hero-sub {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 720px;
  margin-bottom: 0;
  animation: fadeInUp 0.8s ease-out 0.3s both;
  position: relative;
  z-index: 1;
}

/* --- HERO STATUS BADGE (Pilot-ready) --- */
.hero-status {
  margin-top: 1.75rem;
  position: relative;
  z-index: 1;
  animation: fadeInUp 0.8s ease-out 0.45s both;
}
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.4rem 0.95rem 0.4rem 0.85rem;
  border: 1px solid rgba(168,127,77,0.45);
  border-radius: 100px;
  background: rgba(212,165,116,0.05);
  backdrop-filter: blur(8px);
}
.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--flag);
  box-shadow: 0 0 0 0 rgba(212,165,116,0.5);
  animation: pulseDot 2.2s infinite;
}
.status-label {
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--flag);
}

/* --- GENERIC HOMEPAGE SECTION --- */
.home-section {
  padding: 6rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

/* The hero already has its own padding; problem section sits below it */
#problem.home-section {
  padding-top: 4rem;
}

/* --- PROBLEM SECTION refinements (italic accent in section heading) --- */
.section-title em {
  font-style: italic;
  color: var(--accent-light);
  font-weight: 700;
}

/* --- MARKET BAND — 3-column variant --- */
.market-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 920px) {
  .market-grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .market-grid-3 { grid-template-columns: 1fr; }
}

.market-band .eyebrow {
  margin-bottom: 1.25rem;
}

.market-closing {
  margin-top: 2rem;
  padding-left: 1.25rem;
  border-left: 2px solid var(--accent-deep);
  font-style: italic;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  max-width: 720px;
}

/* --- THREE DOORS GRID --- */
.doors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2.5rem;
}
@media (max-width: 880px) {
  .doors-grid { grid-template-columns: 1fr; }
}

.door-tile {
  display: flex;
  flex-direction: column;
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: 12px;
  padding: 2rem 1.75rem 1.75rem;
  text-decoration: none;
  color: inherit;
  position: relative;
  transition: border-color 0.3s ease, transform 0.3s ease, background 0.3s ease;
}
.door-tile::before {
  content: '';
  position: absolute;
  top: 0; left: 24px; right: 24px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-deep), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.door-tile:hover {
  border-color: var(--accent-deep);
  transform: translateY(-3px);
  background: linear-gradient(180deg, rgba(123,168,200,0.04), var(--dark-card));
}
.door-tile:hover::before { opacity: 1; }
.door-tile:hover .door-link {
  color: var(--accent-light);
}
.door-tile:hover .door-link span {
  transform: translateX(3px);
}

.door-num {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 900;
  color: var(--accent);
  letter-spacing: 0.08em;
  margin-bottom: 0.85rem;
}

.door-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.25;
  color: var(--text);
  margin-bottom: 0.85rem;
}

.door-body {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin: 0 0 1.5rem;
  flex-grow: 1;
}

.door-link {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  transition: color 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.door-link span {
  transition: transform 0.25s ease;
  display: inline-block;
}

/* --- CLOSING CTA SECTION (mirrors inner-page closing pattern) --- */
.home-section-closing {
  text-align: center;
  padding: 5rem 2rem 6rem;
  background:
    radial-gradient(ellipse at 50% 30%, rgba(123,168,200,0.07) 0%, transparent 60%),
    var(--dark);
  border-top: 1px solid var(--dark-border);
  max-width: none;
  margin: 4rem 0 0;
}
.home-section-closing .eyebrow {
  display: flex;
  justify-content: center;
}

/* --- RESPONSIVE BASE --- */
@media (max-width: 600px) {
  .home-section { padding: 4.5rem 1.25rem; }
  #problem.home-section { padding-top: 3rem; }
  .home-section-closing { padding: 4rem 1.25rem 4.5rem; }
}
