/* =============================================================
   Homepage v2 — Section styles
   ============================================================= */

/* ---- Nav phone accent (v3 override) ---- */
.nav-phone {
  padding: 7px 14px 7px 14px !important;
  margin-left: 12px !important;
  border: 1px solid color-mix(in oklab, var(--accent) 55%, var(--line)) !important;
  background: color-mix(in oklab, var(--accent) 10%, transparent);
  color: var(--accent) !important;
  font-weight: 500;
  letter-spacing: 0.02em;
  border-radius: 2px;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.nav-phone::before {
  content: "";
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  margin-right: 10px;
  vertical-align: 1px;
  animation: pulse 2.4s ease-in-out infinite;
}
.nav-phone:hover {
  background: color-mix(in oklab, var(--accent) 22%, transparent);
  color: color-mix(in oklab, var(--accent) 40%, white) !important;
  border-color: var(--accent) !important;
}
@media (max-width: 780px) {
  .nav-phone { padding: 6px 10px !important; margin-left: 8px !important; }
}

/* ---- Hero ------------------------------------------------- */
.hero {
  position: relative;
  min-height: clamp(780px, 108vh, 1100px);
  display: grid;
  align-items: end;
  /* Lifts hero content above flush-bottom without going full vertical-center */
  padding-bottom: clamp(56px, 10vh, 120px);
  overflow: hidden;
  isolation: isolate;
}
.hero-bg {
  position: absolute; inset: 0;
  background-image: url('assets/hero-lake-sunset.webp');
  background-size: cover;
  background-position: center 20%;
  z-index: -2;
}
.hero-bg::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10,10,15,0.55) 0%, rgba(10,10,15,0.15) 30%, rgba(10,10,15,0.65) 78%, rgba(10,10,15,0.95) 100%),
    linear-gradient(90deg, rgba(10,10,15,0.65) 0%, rgba(10,10,15,0.15) 55%, rgba(10,10,15,0) 100%);
}
.hero-inner {
  position: relative;
  z-index: 1;
  /* Midway between former heavy top padding and the centered layout */
  padding: clamp(80px, 11vh, 126px) 0 clamp(48px, 7.5vh, 92px);
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 96px);
  align-items: end;
}
.hero-left { max-width: 620px; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-index);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: color-mix(in oklab, var(--accent) 80%, white);
  margin-bottom: 20px;
}
.hero-eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.hero-h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-style: italic;
  font-size: clamp(2.4rem, 5.2vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: -0.01em;
  color: var(--hero-cream);
  text-shadow: 0 2px 22px rgba(0,0,0,0.75), 0 1px 0 rgba(0,0,0,0.4);
  margin-bottom: 24px;
  text-wrap: balance;
}
.hero-sub {
  font-family: var(--font-reading);
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
  line-height: 1.45;
  color: color-mix(in oklab, var(--parchment) 96%, white);
  max-width: 44ch;
  margin-bottom: 32px;
  text-shadow: 0 1px 16px rgba(0,0,0,0.55);
  text-wrap: pretty;
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero-cta-note {
  font-family: var(--font-index);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  color: color-mix(in oklab, var(--parchment) 80%, transparent);
  text-transform: uppercase;
  margin-top: 14px;
}

.hero-meta {
  justify-self: end;
  align-self: end;
  padding: 18px 22px;
  background: rgba(18, 22, 36, 0.55);
  backdrop-filter: blur(22px) saturate(140%);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
  border: 1px solid rgba(235, 220, 190, 0.18);
  display: flex; flex-direction: column; gap: 10px;
  max-width: 320px;
}
.hero-meta .row {
  display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: baseline;
  font-family: var(--font-index);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.hero-meta .row .k { color: var(--accent); }
.hero-meta .row .v { color: var(--parchment); }
.hero-meta .row + .row { padding-top: 10px; border-top: 1px dashed rgba(235, 220, 190, 0.15); }

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 32px; padding-bottom: 48px; }
  .hero-meta { justify-self: start; max-width: unset; width: 100%; }
}

/* ---- Three Systems --------------------------------------- */
.systems-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line-strong);
}
.system {
  padding: var(--s-2xl) var(--s-lg) var(--s-2xl) 0;
}
.system + .system {
  padding-left: var(--s-lg);
  border-left: 1px solid var(--line);
}
.system .sys-num {
  font-family: var(--font-index);
  font-size: 0.74rem;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: 8px;
}
.system h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-style: italic;
  font-size: 1.6rem;
  line-height: 1.15;
  margin-bottom: 16px;
  color: var(--parchment);
  max-width: 14ch;
}
.system .body {
  color: var(--parchment-muted);
  font-size: 0.98rem;
  line-height: 1.6;
  margin-bottom: 20px;
}
.system .points {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 10px;
}
.system .points li {
  position: relative;
  padding-left: 18px;
  font-family: var(--font-reading);
  font-size: 0.92rem;
  color: var(--parchment);
  line-height: 1.5;
}
.system .points li::before {
  content: "";
  position: absolute;
  left: 0; top: 11px;
  width: 8px; height: 1px;
  background: var(--accent);
}
@media (max-width: 900px) {
  .systems-grid { grid-template-columns: 1fr; }
  .system + .system { padding-left: 0; border-left: none; border-top: 1px solid var(--line); }
}

/* ---- Voice Demo (the centerpiece) ------------------------ */
.voice-demo-section {
  position: relative;
  background:
    radial-gradient(ellipse at 30% 0%, color-mix(in oklab, var(--accent) 10%, transparent), transparent 55%),
    linear-gradient(180deg, var(--obsidian-deep), color-mix(in oklab, var(--obsidian-deep) 60%, black));
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}
.voice-demo-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.35fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
  margin-top: var(--s-xl);
}
.vd-left { display: grid; gap: var(--s-lg); align-content: start; }
.vd-ind-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border: 1px solid var(--line);
}
.vd-ind {
  padding: 16px 14px;
  background: transparent;
  border: none;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  color: var(--parchment);
  display: grid;
  gap: 6px;
  transition: background-color 0.18s, color 0.18s;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
}
.vd-ind:nth-child(3n) { border-right: none; }
.vd-ind:nth-last-child(-n+3) { border-bottom: none; }
.vd-ind .vd-ind-name {
  font-family: var(--font-structure);
  font-weight: 600;
  font-size: 0.86rem;
  letter-spacing: 0.02em;
}
.vd-ind .vd-ind-sub {
  font-family: var(--font-index);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--parchment-muted);
  line-height: 1.35;
}
.vd-ind .vd-ind-num {
  font-family: var(--font-index);
  font-size: 0.72rem;
  color: var(--accent);
  margin-top: 2px;
}
.vd-ind:hover { background: color-mix(in oklab, var(--deep-field) 70%, transparent); }
.vd-ind[aria-selected="true"] {
  background: color-mix(in oklab, var(--accent) 15%, var(--obsidian-deep));
  color: var(--parchment);
}
.vd-ind[aria-selected="true"]::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0;
  width: 1px; background: var(--accent);
}
.vd-ind:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  z-index: 1;
}

.vd-coming {
  border: 1px dashed var(--line);
  padding: 14px 16px;
  display: grid; gap: 8px;
}
.vd-coming .vd-coming-label {
  font-family: var(--font-index);
  font-size: 0.64rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--parchment-muted);
}
.vd-coming .vd-coming-list {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.vd-coming .vd-coming-list span {
  font-family: var(--font-structure);
  font-size: 0.78rem;
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 2px;
  color: var(--parchment-muted);
}

.vd-callout {
  display: grid;
  gap: 12px;
  padding: 22px 24px;
  text-decoration: none;
  color: inherit;
  position: relative;
  isolation: isolate;
  background:
    linear-gradient(180deg,
      color-mix(in oklab, var(--accent) 22%, transparent) 0%,
      color-mix(in oklab, var(--accent) 12%, transparent) 100%);
  border: 1px solid color-mix(in oklab, var(--accent) 55%, var(--line));
  box-shadow:
    0 0 0 1px color-mix(in oklab, var(--accent) 22%, transparent) inset,
    0 18px 48px -24px color-mix(in oklab, var(--accent) 60%, black),
    0 2px 0 0 color-mix(in oklab, var(--accent) 35%, transparent);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}
.vd-callout::before {
  /* subtle golden glow */
  content: "";
  position: absolute;
  inset: -2px;
  z-index: -1;
  background: radial-gradient(60% 80% at 30% 0%, color-mix(in oklab, var(--accent) 35%, transparent), transparent 70%);
  opacity: 0.7;
  pointer-events: none;
}
.vd-callout:hover {
  transform: translateY(-2px);
  border-color: color-mix(in oklab, var(--accent) 80%, var(--parchment));
  box-shadow:
    0 0 0 1px color-mix(in oklab, var(--accent) 40%, transparent) inset,
    0 28px 64px -24px color-mix(in oklab, var(--accent) 70%, black),
    0 2px 0 0 color-mix(in oklab, var(--accent) 50%, transparent);
}
.vd-callout:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
.vd-callout .vd-call-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-index);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
}
.vd-call-pulse {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 color-mix(in oklab, var(--accent) 60%, transparent);
  animation: vd-pulse 1.8s ease-out infinite;
}
@keyframes vd-pulse {
  0% { box-shadow: 0 0 0 0 color-mix(in oklab, var(--accent) 60%, transparent); }
  70% { box-shadow: 0 0 0 10px color-mix(in oklab, var(--accent) 0%, transparent); }
  100% { box-shadow: 0 0 0 0 color-mix(in oklab, var(--accent) 0%, transparent); }
}
.vd-callout .vd-call-num {
  font-family: var(--font-display);
  font-weight: 500;
  font-style: italic;
  font-size: clamp(1.8rem, 2.6vw, 2.3rem);
  color: var(--parchment);
  letter-spacing: -0.01em;
  line-height: 1.05;
  display: flex;
  align-items: baseline;
  gap: 12px;
}
.vd-call-arrow {
  font-style: normal;
  font-family: var(--font-structure);
  font-weight: 500;
  font-size: 0.9em;
  color: var(--accent);
  transition: transform 180ms ease;
  display: inline-block;
}
.vd-callout:hover .vd-call-arrow { transform: translateX(4px); }
.vd-callout .vd-call-body {
  font-family: var(--font-reading);
  font-size: 0.94rem;
  color: var(--parchment);
  line-height: 1.55;
}
.vd-callout .vd-call-body em {
  font-style: italic;
  color: color-mix(in oklab, var(--accent) 70%, var(--parchment));
}

/* Conversation canvas */
.vd-canvas {
  background: var(--obsidian);
  border: 1px solid var(--line-strong);
  min-height: 540px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  position: relative;
  overflow: hidden;
}
.vd-canvas-head {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
  background: color-mix(in oklab, var(--obsidian-deep) 60%, transparent);
}
.vd-canvas-head .vd-title {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-structure);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: var(--parchment);
}
.vd-canvas-head .vd-title .live {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-index);
  font-size: 0.64rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--positive);
}
.vd-canvas-head .vd-title .live::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--positive); box-shadow: 0 0 8px var(--positive);
  animation: pulse 1.6s ease-in-out infinite;
}
.vd-canvas-head .vd-title .sep { color: var(--parchment-dim); opacity: 0.5; }

.vd-waveform {
  display: flex; align-items: flex-end; gap: 3px;
  height: 20px;
  opacity: 0.3;
  transition: opacity 0.3s;
}
.vd-waveform.agent-speaking { opacity: 1; }
.vd-waveform span {
  width: 3px;
  background: var(--accent);
  height: 30%;
  animation: wave 0.9s ease-in-out infinite;
}
.vd-waveform span:nth-child(2) { animation-delay: 0.1s; }
.vd-waveform span:nth-child(3) { animation-delay: 0.2s; }
.vd-waveform span:nth-child(4) { animation-delay: 0.3s; }
.vd-waveform span:nth-child(5) { animation-delay: 0.15s; }
.vd-waveform span:nth-child(6) { animation-delay: 0.05s; }
@keyframes wave {
  0%, 100% { height: 30%; }
  50% { height: 100%; }
}

.vd-transcript {
  padding: 24px 28px;
  display: grid; gap: 14px;
  align-content: start;
  overflow-y: auto;
  max-height: 480px;
  scroll-behavior: smooth;
}
.vd-msg {
  max-width: 78%;
  padding: 12px 16px;
  font-family: var(--font-reading);
  font-size: 1.02rem;
  line-height: 1.5;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.35s ease, transform 0.35s ease;
  border-radius: 2px;
}
.vd-msg.visible { opacity: 1; transform: translateY(0); }
.vd-msg.caller {
  background: color-mix(in oklab, var(--caller-tint) 18%, var(--obsidian-deep));
  border: 1px solid color-mix(in oklab, var(--caller-tint) 35%, var(--line));
  color: color-mix(in oklab, var(--parchment) 96%, white);
  justify-self: start;
}
.vd-msg.agent {
  background: color-mix(in oklab, var(--agent-tint) 16%, var(--obsidian-deep));
  border: 1px solid color-mix(in oklab, var(--agent-tint) 38%, var(--line));
  color: var(--parchment);
  justify-self: end;
}
.vd-msg .who {
  display: block;
  font-family: var(--font-index);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.vd-msg.caller .who { color: color-mix(in oklab, var(--caller-tint) 60%, white); }
.vd-msg.agent .who { color: var(--accent); }

.vd-typing {
  justify-self: end;
  display: inline-flex; gap: 4px;
  padding: 12px 16px;
  background: color-mix(in oklab, var(--agent-tint) 10%, var(--obsidian-deep));
  border: 1px solid color-mix(in oklab, var(--agent-tint) 28%, var(--line));
  opacity: 0;
  transition: opacity 0.2s;
}
.vd-typing.visible { opacity: 1; }
.vd-typing span {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  animation: typing 1.3s ease-in-out infinite;
}
.vd-typing span:nth-child(2) { animation-delay: 0.15s; }
.vd-typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes typing {
  0%, 60%, 100% { opacity: 0.3; transform: translateY(0); }
  30% { opacity: 1; transform: translateY(-3px); }
}

.vd-canvas-foot {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  padding: 12px 20px;
  border-top: 1px solid var(--line);
  font-family: var(--font-index);
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--parchment-dim);
}
.vd-canvas-foot .vd-controls button {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--parchment-muted);
  font-family: var(--font-index);
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 8px 14px;
  min-height: 36px;
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}
.vd-canvas-foot .vd-controls button:hover {
  border-color: var(--accent); color: var(--accent);
}
.vd-canvas-foot .vd-controls button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

@media (max-width: 960px) {
  .voice-demo-shell { grid-template-columns: 1fr; }
  .vd-ind-grid { grid-template-columns: repeat(2, 1fr); }
  .vd-ind:nth-child(3n) { border-right: 1px solid var(--line); }
  .vd-ind:nth-child(2n) { border-right: none; }
  .vd-ind:nth-last-child(-n+3) { border-bottom: 1px solid var(--line); }
  .vd-ind:nth-last-child(-n+2) { border-bottom: none; }
}

/* ---- Workshop (after voice demo) ------------------------ */
.workshop-section {
  position: relative;
  overflow: hidden;
}
.workshop-image {
  position: relative;
  aspect-ratio: 16/7;
  background-image: url('assets/workshop-grove.webp');
  background-size: cover;
  background-position: center 55%;
  margin: 0 auto clamp(32px, 5vh, 56px);
  width: 100%;
  max-width: var(--max-page);
}
.workshop-image::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10,10,15,0.25) 0%, rgba(10,10,15,0.0) 35%, rgba(10,10,15,0.75) 100%),
    linear-gradient(90deg, rgba(10,10,15,0.0) 40%, rgba(10,10,15,0.35) 100%);
}
.workshop-image .ws-caption {
  position: absolute;
  left: 24px; bottom: 20px;
  z-index: 2;
  font-family: var(--font-index);
  font-size: 0.64rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: color-mix(in oklab, var(--parchment) 90%, white);
  opacity: 0.75;
}

.workshop-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.workshop-body h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2rem, 3.2vw, 2.6rem);
  line-height: 1.08;
  color: var(--parchment);
  letter-spacing: -0.005em;
  max-width: 20ch;
}
.workshop-body h2 em { font-style: italic; color: color-mix(in oklab, var(--accent) 78%, var(--parchment)); }
.workshop-body .ws-points {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 18px;
}
.workshop-body .ws-points li {
  display: grid; grid-template-columns: 32px 1fr; gap: 14px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.workshop-body .ws-points li:first-child { border-top: 1px solid var(--line-strong); }
.workshop-body .ws-points .num {
  font-family: var(--font-index);
  font-size: 0.74rem;
  color: var(--accent);
  letter-spacing: 0.12em;
  padding-top: 4px;
}
.workshop-body .ws-points .t {
  font-family: var(--font-structure);
  font-weight: 600;
  color: var(--parchment);
  font-size: 1.0rem;
  margin-bottom: 6px;
}
.workshop-body .ws-points .b {
  font-family: var(--font-reading);
  font-size: 0.94rem;
  color: var(--parchment-muted);
  line-height: 1.55;
}

@media (max-width: 900px) {
  .workshop-body { grid-template-columns: 1fr; gap: 32px; }
}

/* ---- Proof ledger --------------------------------------- */
.ledger {
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  margin-top: var(--s-xl);
}
.ledger-row {
  padding: var(--s-lg) var(--s-md);
  display: grid; gap: 10px;
  border-left: 1px solid var(--line);
}
.ledger-row:first-child { border-left: none; }
.ledger-row .lr-num {
  font-family: var(--font-index);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  color: var(--accent);
}
.ledger-row .lr-val {
  font-family: var(--font-display);
  font-weight: 500;
  font-style: italic;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  color: var(--parchment);
  line-height: 1.05;
}
.ledger-row .lr-val .unit {
  font-family: var(--font-structure);
  font-size: 0.7rem;
  font-style: normal;
  color: var(--parchment-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-left: 4px;
}
.ledger-row .lr-label {
  font-family: var(--font-reading);
  font-size: 0.88rem;
  color: var(--parchment-muted);
  line-height: 1.45;
}
.ledger-foot {
  margin-top: var(--s-lg);
  font-family: var(--font-index);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--parchment-dim);
  text-align: right;
}

@media (max-width: 900px) {
  .ledger { grid-template-columns: repeat(2, 1fr); }
  .ledger-row { border-left: 1px solid var(--line); border-top: 1px solid var(--line); }
  .ledger-row:nth-child(2n+1) { border-left: none; }
  .ledger-row:nth-child(-n+2) { border-top: none; }
}

/* ---- Dawn Passage — single tall keyframe, Proof in sky, Principles on path --- */
.dawn-passage {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 0;
}
.dawn-passage-bg {
  position: absolute;
  inset: 0;
  background-color: var(--obsidian);
  background-image: url('assets/dawn-sunrise.webp');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  z-index: -2;
}
.dawn-passage-scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(180deg,
      var(--obsidian) 0%,
      rgba(10,10,15,0.55) 3%,
      rgba(10,10,15,0.05) 12%,
      rgba(10,10,15,0.00) 28%,
      rgba(10,10,15,0.00) 55%,
      rgba(10,10,15,0.35) 85%,
      var(--obsidian) 100%);
}

.dawn-passage-inner {
  position: relative;
  display: grid;
  grid-template-rows:
    clamp(48px, 6vh, 96px)    /* top air */
    auto                       /* proof block (2-col: heading + compact ledger) */
    clamp(36px, 4vh, 72px)     /* gap between blocks */
    auto                       /* principles block — still in sky zone */
    1fr;                       /* sunrise + path breathe below */
  min-height: clamp(1200px, 170vh, 1800px);
}

/* ---- Shared typography on dawn backdrop ---- */
.dawn-eyebrow {
  color: oklch(0.92 0.11 78);
  text-shadow: 0 1px 10px rgba(8,10,20,0.75);
}
.dawn-h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: oklch(0.98 0.015 85);
  text-shadow:
    0 1px 2px rgba(8,10,20,0.9),
    0 2px 24px rgba(8,10,20,0.7);
  margin: 14px 0 18px;
}
.dawn-h2 em {
  color: oklch(0.90 0.10 75);
  font-style: italic;
  font-weight: 500;
}
.dawn-lede {
  font-family: var(--font-reading);
  font-size: clamp(1rem, 1.1vw, 1.08rem);
  line-height: 1.55;
  color: oklch(0.94 0.02 80 / 0.96);
  text-shadow: 0 1px 10px rgba(8,10,20,0.8);
  max-width: 58ch;
}

/* ---- § IV · Proof block (sky zone) — compact right-side stats ---- */
.dawn-sky {
  grid-row: 2;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 clamp(16px, 3vw, 32px);
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(420px, 1.1fr);
  gap: clamp(32px, 4vw, 56px);
  align-items: start;
}
.dawn-sky-head .dawn-h2 { max-width: 18ch; }
.dawn-sky-head .dawn-lede { max-width: 42ch; }
.dawn-sky-head .dawn-ledger-foot {
  margin-top: clamp(20px, 2vw, 28px);
  text-align: left;
}

.dawn-ledger {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  /* Dark glassmorphism — translucent over the sunrise sky */
  border: 1px solid rgba(255, 255, 255, 0.22);
  background:
    linear-gradient(180deg,
      rgba(10, 14, 26, 0.62) 0%,
      rgba(10, 14, 26, 0.52) 100%);
  backdrop-filter: blur(26px) saturate(140%);
  -webkit-backdrop-filter: blur(26px) saturate(140%);
  box-shadow:
    0 30px 80px -30px rgba(5, 8, 18, 0.7),
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    inset 0 -1px 0 rgba(255, 255, 255, 0.06);
}
.dl-row {
  padding: clamp(16px, 1.6vw, 22px);
  display: grid; gap: 6px;
  border-left: 1px solid rgba(255, 255, 255, 0.10);
  border-top: 1px solid rgba(255, 255, 255, 0.10);
}
.dl-row:nth-child(1),
.dl-row:nth-child(2) { border-top: none; }
.dl-row:nth-child(2n+1) { border-left: none; }
.dl-row-wide {
  grid-column: 1 / -1;
  grid-template-columns: auto auto 1fr;
  align-items: baseline;
  gap: 14px;
}
.dl-row-wide .dl-label { align-self: center; }
.dl-num {
  font-family: var(--font-index);
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: oklch(0.88 0.10 78);
  font-weight: 600;
  text-shadow: 0 1px 8px rgba(8, 10, 20, 0.6);
}
.dl-val {
  font-family: var(--font-display);
  font-weight: 500;
  font-style: italic;
  font-size: clamp(1.8rem, 2.6vw, 2.4rem);
  color: oklch(0.98 0.015 85);
  line-height: 1.05;
  text-shadow: 0 1px 14px rgba(8, 10, 20, 0.55);
}
.dl-val .unit {
  font-family: var(--font-structure);
  font-style: normal;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: oklch(0.82 0.04 78 / 0.9);
  margin-left: 4px;
  vertical-align: 4px;
}
.dl-label {
  font-family: var(--font-reading);
  font-size: 0.88rem;
  line-height: 1.5;
  color: oklch(0.98 0.015 85 / 0.95);
  text-shadow: 0 1px 10px rgba(8, 10, 20, 0.65);
}
.dawn-ledger-foot {
  margin-top: clamp(14px, 1.4vw, 20px);
  font-family: var(--font-index);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: oklch(0.82 0.02 80 / 0.88);
  text-align: right;
  text-shadow: 0 1px 8px rgba(8,10,20,0.7);
}

/* ---- § V · Principles block (path zone) ---- */
.dawn-path {
  grid-row: 4;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 clamp(16px, 3vw, 32px);
  width: 100%;
}
.dawn-path-head { max-width: 780px; margin: 0 auto; text-align: center; }
.dawn-path-head .dawn-lede { margin: 0 auto; }

.dawn-principles {
  margin-top: clamp(36px, 4vw, 56px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 1.6vw, 22px);
}
.dawn-principle {
  position: relative;
  padding: clamp(22px, 2.4vw, 30px);
  background:
    linear-gradient(180deg,
      rgba(10, 14, 26, 0.58) 0%,
      rgba(10, 14, 26, 0.46) 100%);
  backdrop-filter: blur(28px) saturate(140%);
  -webkit-backdrop-filter: blur(28px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow:
    0 30px 80px -40px rgba(5, 8, 18, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    inset 0 -1px 0 rgba(255, 255, 255, 0.05);
}
.dp-num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.3rem;
  color: oklch(0.88 0.11 78);
  font-weight: 600;
  margin-bottom: 6px;
  text-shadow: 0 1px 10px rgba(8, 10, 20, 0.6);
}
.dp-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-style: italic;
  font-size: 1.35rem;
  color: oklch(0.98 0.015 85);
  margin-bottom: 12px;
  text-shadow: 0 1px 12px rgba(8, 10, 20, 0.6);
}
.dp-body {
  font-family: var(--font-reading);
  color: oklch(0.94 0.02 80 / 0.92);
  font-size: 0.94rem;
  line-height: 1.6;
  text-shadow: 0 1px 10px rgba(8, 10, 20, 0.5);
}
.dp-body em {
  font-style: italic;
  color: oklch(0.88 0.11 78);
}

@media (max-width: 1000px) {
  .dawn-sky { grid-template-columns: 1fr; gap: clamp(24px, 3vw, 36px); }
  .dawn-ledger { grid-template-columns: repeat(2, 1fr); }
  .dl-row { border-left: 1px solid rgba(255, 255, 255, 0.10); border-top: 1px solid rgba(255, 255, 255, 0.10); }
  .dl-row:nth-child(2n+1) { border-left: none; }
  .dl-row:nth-child(-n+2) { border-top: none; }
  .dl-row-wide { grid-template-columns: auto auto 1fr; }
  .dawn-principles { grid-template-columns: 1fr; }
  .dawn-passage-inner {
    grid-template-rows:
      clamp(40px, 5vh, 72px)
      auto
      clamp(24px, 3vh, 40px)
      auto
      clamp(200px, 28vh, 320px);
    min-height: clamp(1000px, 140vh, 1400px);
  }
  .dawn-passage-bg { background-position: center top; }
}

/* ---- Industries ----------------------------------------- */
.industries-section { border-top: 1px solid var(--line); }
.industries-block-label {
  font-family: var(--font-index);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 var(--s-sm);
}
.industries-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 280px);
  gap: clamp(28px, 4vw, 56px);
  margin-top: var(--s-xl);
  padding-top: var(--s-lg);
  border-top: 1px solid var(--line-strong);
  align-items: start;
}
.industries-live { min-width: 0; }
.industries-live-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(20px, 3vw, 40px);
  row-gap: 0;
}
.industries-live-list li { margin: 0; }
.industry-link {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas:
    "name arr"
    "desc desc";
  column-gap: var(--s-md);
  align-items: start;
  padding: var(--s-md) 0 var(--s-md);
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  transition: background-color 0.2s ease;
  position: relative;
}
.industry-link::after {
  content: "→";
  grid-area: arr;
  font-family: var(--font-structure);
  font-size: 0.95rem;
  color: var(--parchment-dim);
  line-height: 1.2;
  transition: color 0.2s ease, transform 0.2s ease;
  align-self: start;
  padding-top: 2px;
}
.industry-link:hover { background: color-mix(in oklab, var(--accent) 5%, transparent); }
.industry-link:hover::after { color: var(--accent); transform: translateX(3px); }
.industry-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  z-index: 1;
  border-radius: 2px;
}
.industry-link-name {
  grid-area: name;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 1.2rem;
  color: var(--parchment);
  line-height: 1.25;
}
.industry-link-desc {
  grid-area: desc;
  font-family: var(--font-reading);
  font-size: 0.9rem;
  color: var(--parchment-muted);
  line-height: 1.5;
  margin-top: 4px;
  max-width: 40ch;
}
.industries-soon {
  border: 1px solid var(--line);
  background: color-mix(in oklab, var(--deep-field) 88%, var(--obsidian-deep));
  padding: var(--s-lg);
}
.industries-soon-eyebrow { color: var(--parchment-muted); }
.industries-soon-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--s-md);
}
.industries-soon-list li {
  display: grid;
  gap: 4px;
  padding-bottom: var(--s-md);
  border-bottom: 1px solid var(--line);
}
.industries-soon-list li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}
.industry-soon-link {
  font-family: var(--font-structure);
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  color: var(--parchment);
  text-decoration: none;
  transition: color 0.2s;
}
.industry-soon-link:hover { color: var(--accent); }
.industry-soon-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}
.industry-soon-hint {
  font-family: var(--font-reading);
  font-size: 0.82rem;
  color: var(--parchment-dim);
  line-height: 1.4;
}

.industries-catchall {
  margin-top: var(--s-2xl);
  padding: var(--s-xl) var(--s-lg);
  border: 1px solid var(--line-strong);
  background: color-mix(in oklab, var(--accent) 6%, var(--obsidian-deep));
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: var(--s-2xl);
  align-items: center;
}
.industries-catchall > div { min-width: 0; }
.industries-catchall .btn { white-space: nowrap; }
.industries-catchall .cat-eyebrow {
  font-family: var(--font-index);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}
.industries-catchall h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-style: italic;
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  color: var(--parchment);
  max-width: 40ch;
  line-height: 1.25;
}
.industries-catchall .cat-body {
  font-family: var(--font-reading);
  font-size: 0.94rem;
  color: var(--parchment-muted);
  margin-top: 8px;
  max-width: 46ch;
}

@media (max-width: 900px) {
  .industries-layout { grid-template-columns: 1fr; }
  .industries-live-list { grid-template-columns: 1fr; }
  .industries-catchall { grid-template-columns: 1fr; }
}

/* ---- Pricing -------------------------------------------- */
.pricing-section {
  background: linear-gradient(180deg, var(--obsidian-deep) 0%, color-mix(in oklab, var(--deep-field) 55%, var(--obsidian-deep)) 100%);
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s-md);
  margin-top: var(--s-xl);
}
.tier {
  padding: var(--s-xl) var(--s-lg) var(--s-lg);
  border: 1px solid var(--line);
  background: color-mix(in oklab, var(--obsidian) 70%, transparent);
  display: grid; gap: var(--s-md); align-content: start;
  position: relative;
}
.tier.featured {
  border-color: var(--accent);
  background: color-mix(in oklab, var(--accent) 6%, var(--obsidian));
}
.tier.featured::before {
  content: "Most popular";
  position: absolute;
  top: -12px; left: 20px;
  font-family: var(--font-index);
  font-size: 0.64rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: var(--accent);
  color: var(--obsidian-deep);
  padding: 4px 10px;
  border-radius: 2px;
}
.tier .tier-label {
  font-family: var(--font-index);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}
.tier .tier-price {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.4rem, 3.6vw, 3rem);
  line-height: 1;
  color: var(--parchment);
}
.tier .tier-price .per {
  font-family: var(--font-structure);
  font-size: 0.82rem;
  color: var(--parchment-muted);
  margin-left: 4px;
  font-weight: 400;
}
.tier .tier-price.custom {
  font-style: italic;
}
.tier .tier-trial {
  font-family: var(--font-index);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--parchment-muted);
}
.tier .tier-features {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 10px;
}
.tier .tier-features li {
  position: relative;
  padding-left: 22px;
  font-family: var(--font-reading);
  font-size: 0.92rem;
  color: var(--parchment);
  line-height: 1.5;
}
.tier .tier-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  font-weight: 700;
  font-size: 0.9rem;
  line-height: 1.5;
}
.tier .btn { width: 100%; justify-content: center; }
.tier .tier-note {
  font-family: var(--font-index);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--parchment-dim);
  text-align: center;
}

.pricing-foot {
  margin-top: var(--s-xl);
  text-align: center;
  font-family: var(--font-reading);
  color: var(--parchment-muted);
  font-size: 0.95rem;
}
.pricing-foot a { color: var(--accent); text-decoration: none; }
.pricing-foot a:hover { text-decoration: underline; }

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

/* ---- Security / Observability --------------------------- */
.security-section {
  position: relative;
  background-image:
    linear-gradient(180deg,
      rgba(8,10,18,0.15) 0%,
      rgba(8,10,18,0.30) 18%,
      rgba(8,10,18,0.78) 42%,
      rgba(8,10,18,0.88) 70%,
      rgba(8,10,18,0.96) 100%),
    url('assets/night-city-overlook.webp');
  background-size: cover, cover;
  background-position: center top, center 18%;
  background-repeat: no-repeat, no-repeat;
}
.security-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.security-shell h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2rem, 3.2vw, 2.6rem);
  line-height: 1.08;
  color: var(--parchment);
  max-width: 16ch;
}
.security-shell h2 em { font-style: italic; color: color-mix(in oklab, var(--accent) 78%, var(--parchment)); }
.security-body {
  display: grid; gap: var(--s-md);
}
.security-body p {
  font-family: var(--font-reading);
  color: var(--parchment);
  font-size: 1rem;
  line-height: 1.65;
}
.security-body p strong {
  color: var(--accent);
  font-family: var(--font-structure);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  display: block;
  margin-bottom: 4px;
}
.security-chips {
  display: flex; gap: 10px; flex-wrap: wrap;
  margin-top: var(--s-md);
}
.security-chips .chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--line-strong);
  font-family: var(--font-index);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--parchment);
}
.security-chips .chip::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--positive);
  box-shadow: 0 0 6px var(--positive);
}

@media (max-width: 900px) {
  .security-shell { grid-template-columns: 1fr; }
}

/* ---- Apply ---------------------------------------------- */
.apply-section {
  background: var(--obsidian-deep);
}
.apply-callout {
  margin-top: var(--s-xl);
  padding: var(--s-lg);
  border: 1px solid var(--line-strong);
  background: color-mix(in oklab, var(--accent) 8%, transparent);
}
.apply-callout-eyebrow {
  font-family: var(--font-index);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
.apply-callout-num {
  font-family: var(--font-index);
  font-size: 1.8rem;
  color: var(--parchment);
  margin-bottom: 10px;
}
.apply-callout-num a {
  text-decoration: none;
  color: inherit;
}
.apply-callout-num a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}
.apply-callout-meta {
  font-family: var(--font-index);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--parchment-muted);
}
.apply-lede-follow {
  margin-top: var(--s-lg);
}
.workshop-body .lede.lede--tight {
  margin-top: var(--s-lg);
}
.apply-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.apply-form {
  display: grid; gap: var(--s-md);
  padding: var(--s-xl);
  border: 1px solid var(--line-strong);
  background: color-mix(in oklab, var(--obsidian) 70%, transparent);
}
.apply-form label {
  display: grid; gap: 6px;
}
.apply-form .label-text {
  font-family: var(--font-index);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--parchment-muted);
}
.apply-form input,
.apply-form textarea {
  background: transparent;
  border: 1px solid var(--line);
  padding: 12px 14px;
  color: var(--parchment);
  font-family: var(--font-reading);
  font-size: 0.98rem;
  resize: vertical;
}
.apply-form input:focus,
.apply-form textarea:focus {
  outline: none;
  border-color: var(--accent);
}
.apply-form input:focus-visible,
.apply-form textarea:focus-visible {
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--accent) 22%, transparent);
}
.apply-form textarea { min-height: 100px; }
.apply-form .apply-submit {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--s-md);
  align-items: center;
  margin-top: 6px;
}
.apply-form .apply-submit .note {
  font-family: var(--font-index);
  font-size: 0.64rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--parchment-dim);
  line-height: 1.5;
}

@media (max-width: 900px) {
  .apply-shell { grid-template-columns: 1fr; }
}

/* ---- Footer --------------------------------------------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: var(--s-2xl) 0 var(--s-xl);
  background: var(--obsidian-deep);
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--s-xl);
  margin-bottom: var(--s-xl);
}
.footer-col-title {
  font-family: var(--font-index);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--parchment-muted);
  margin-bottom: 14px;
}
.footer-grid a {
  display: block;
  font-family: var(--font-reading);
  color: var(--parchment);
  text-decoration: none;
  font-size: 0.95rem;
  padding: 4px 0;
  transition: color 0.2s;
}
.footer-grid a:hover { color: var(--accent); }
.footer-grid a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}
.footer-brand .fb-logo {
  font-family: var(--font-structure);
  font-weight: 600;
  font-size: 0.86rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--parchment);
  margin-bottom: 6px;
}
.footer-brand .fb-tag {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--parchment-muted);
  font-size: 0.96rem;
  margin-bottom: 12px;
}
.footer-brand .fb-co {
  font-family: var(--font-index);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--parchment-dim);
  line-height: 1.7;
}
.footer-brand .fb-co.footer-co-spaced { margin-top: var(--s-sm); }
.footer-colorado {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 4px;
  font-family: var(--font-index);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}
.footer-colorado::before {
  content: "";
  width: 8px; height: 8px;
  background: var(--accent);
  transform: rotate(45deg);
}
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: var(--s-md);
  border-top: 1px solid var(--line);
  font-family: var(--font-index);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--parchment-dim);
}
.footer-bottom a { color: var(--parchment-dim); text-decoration: none; margin-left: var(--s-md); }
.footer-bottom a:hover { color: var(--parchment); }
.footer-bottom a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

@media (max-width: 780px) {
  .footer-grid { grid-template-columns: 1fr; gap: var(--s-lg); }
  .footer-bottom { flex-direction: column; gap: 12px; align-items: flex-start; }
}

/* ---- Security & observability ---- */
.security-section {
  padding-top: clamp(120px, 14vh, 200px);
  padding-bottom: clamp(80px, 10vh, 140px);
}
.security-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(28px, 3vw, 48px);
  margin-top: clamp(32px, 4vw, 56px);
  align-items: start;
}
.security-body {
  display: grid;
  gap: clamp(16px, 1.6vw, 22px);
  padding-top: clamp(24px, 3vw, 40px);
}
.security-body p {
  font-family: var(--font-reading);
  font-size: 0.98rem;
  line-height: 1.62;
  color: var(--parchment-muted);
  margin: 0;
}
.security-body p strong {
  display: block;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 1.15rem;
  color: var(--parchment);
  margin-bottom: 4px;
}
.security-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: clamp(8px, 1vw, 14px);
}
.security-chips .chip {
  font-family: var(--font-index);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 8px 12px;
  border: 1px solid var(--line-strong);
  color: var(--parchment);
  background: color-mix(in oklab, var(--accent) 5%, transparent);
}

.security-log {
  /* Push the log down so it sits lower in the column — keeps the keyframe
     sky above breathing and lets the eye rest before hitting the log. */
  align-self: end;
  padding: clamp(22px, 2.2vw, 28px);
  border: 1px solid var(--line-strong);
  background: rgba(10,10,15,0.72);
  font-family: var(--font-index);
  font-size: 0.82rem;
  line-height: 1.72;
  color: var(--parchment);
  box-shadow:
    0 30px 80px -30px rgba(0,0,0,0.7),
    inset 0 1px 0 rgba(255,255,255,0.05);
}
.security-log-head {
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: clamp(12px, 1.4vw, 18px);
  padding-bottom: clamp(10px, 1.2vw, 14px);
  border-bottom: 1px solid var(--line);
}
.security-log-body > div {
  padding: 2px 0;
  border-bottom: 1px dashed color-mix(in oklab, var(--parchment) 10%, transparent);
}
.security-log-body > div:last-child { border-bottom: none; }
.security-log .ts { color: var(--parchment-dim); }
.security-log .k  { color: var(--accent); }
.security-log .ok { color: var(--positive); }

@media (max-width: 900px) {
  .security-shell { grid-template-columns: 1fr; }
  .security-body { padding-top: 0; }
  .security-log { align-self: start; }
}


/* =============================================================
   § II.b · CAPABILITIES
   Obsidian card grid — roman numerals, parchment, aureate accents.
   Deliberately NOT the blue icon-tile treatment from the reference;
   instead matches the .systems and .industry-link language already
   on the page — a ledger of capabilities rather than feature boxes.
   ============================================================= */
.capabilities-section {
  position: relative;
  padding-top: clamp(56px, 7vw, 96px);
  padding-bottom: clamp(72px, 8vw, 120px);
}
.capabilities-section::before {
  /* subtle hairline separator tying it to the voice-demo above */
  content: "";
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: min(92%, 1240px);
  height: 1px;
  background: linear-gradient(90deg,
    transparent,
    color-mix(in oklab, var(--accent) 45%, transparent) 50%,
    transparent);
  opacity: 0.5;
}

.cap-grid {
  list-style: none;
  margin: clamp(36px, 4vw, 56px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.cap-card {
  position: relative;
  padding: clamp(26px, 2.6vw, 34px) clamp(24px, 2.4vw, 32px) clamp(28px, 2.8vw, 36px);
  background:
    linear-gradient(180deg,
      color-mix(in oklab, var(--accent) 3%, rgba(10,10,15,0.35)) 0%,
      rgba(10,10,15,0.35) 60%);
  transition: background-color 0.3s ease, transform 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 280px;
}
.cap-card:hover {
  background:
    linear-gradient(180deg,
      color-mix(in oklab, var(--accent) 8%, rgba(10,10,15,0.4)) 0%,
      rgba(10,10,15,0.35) 70%);
}
.cap-card::before {
  /* accent bar on top edge, dormant until hover */
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.4s ease;
}
.cap-card:hover::before { transform: scaleX(1); }

.cap-head {
  display: flex;
  align-items: center;
  gap: 12px;
}
.cap-num {
  font-family: var(--font-index);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: var(--accent);
  min-width: 22px;
}
.cap-rule {
  flex: 1;
  height: 1px;
  background: color-mix(in oklab, var(--accent) 28%, var(--line));
}
.cap-tag {
  font-family: var(--font-index);
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--parchment-muted);
}

.cap-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.28rem, 1.6vw, 1.5rem);
  line-height: 1.15;
  letter-spacing: -0.005em;
  color: var(--parchment);
  margin: 2px 0 0;
  text-wrap: pretty;
}
.cap-title em {
  font-style: italic;
  font-weight: 500;
  color: color-mix(in oklab, var(--accent) 75%, var(--parchment));
}

.cap-body {
  font-family: var(--font-reading);
  font-size: 0.98rem;
  line-height: 1.58;
  color: var(--parchment-muted);
  margin: 0;
  text-wrap: pretty;
}

.cap-meta {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px dashed color-mix(in oklab, var(--parchment) 10%, transparent);
  font-family: var(--font-index);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: var(--parchment-dim);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.cap-meta span:nth-child(odd) { color: var(--parchment-muted); }

/* Footer row — deployment window + CTA */
.cap-foot {
  margin-top: clamp(32px, 3.5vw, 48px);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(18px, 2.4vw, 32px);
  padding: clamp(18px, 2vw, 24px) clamp(20px, 2.4vw, 28px);
  border: 1px solid var(--line-strong);
  background: color-mix(in oklab, var(--accent) 5%, transparent);
}
.cap-foot-rule {
  width: 42px;
  height: 1px;
  background: var(--accent);
}
.cap-foot-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.cap-foot-label {
  font-family: var(--font-index);
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}
.cap-foot-body {
  font-family: var(--font-reading);
  font-size: 1.02rem;
  color: var(--parchment);
  font-style: italic;
}

@media (max-width: 1000px) {
  .cap-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .cap-grid { grid-template-columns: 1fr; }
  .cap-foot { grid-template-columns: 1fr; text-align: left; }
  .cap-foot-rule { display: none; }
  .cap-foot .btn { justify-self: start; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-eyebrow .dot,
  .nav-phone::before,
  .vd-call-pulse {
    animation: none;
  }
  .vd-typing span {
    animation: none;
  }
}

/* ===================================================================
   Voice Demo — Tap-to-play overlay (audio-driven mode, 2026-04-26)
   =================================================================== */
.vd-tap-overlay {
  position: absolute;
  inset: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, rgba(10,10,15,0.55) 0%, rgba(10,10,15,0.78) 100%);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  cursor: pointer;
  transition: opacity 320ms ease, visibility 0s linear 0s;
  opacity: 1;
  visibility: visible;
}
.vd-tap-overlay.is-hidden {
  opacity: 0;
  visibility: hidden;
  transition: opacity 320ms ease, visibility 0s linear 320ms;
  pointer-events: none;
}
.vd-tap-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 32px 40px;
  max-width: 360px;
  text-align: center;
}
.vd-tap-icon {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--aureate, #c8a97e);
  color: var(--obsidian, #0a0a0f);
  box-shadow: 0 8px 32px rgba(200, 169, 126, 0.35), 0 0 0 0 rgba(200, 169, 126, 0.6);
  animation: vd-tap-pulse 2.4s ease-in-out infinite;
  transition: transform 200ms ease;
}
.vd-tap-overlay:hover .vd-tap-icon,
.vd-tap-overlay:focus-visible .vd-tap-icon {
  transform: scale(1.06);
}
.vd-tap-overlay:focus-visible {
  outline: 2px solid var(--aureate, #c8a97e);
  outline-offset: -4px;
}
.vd-tap-icon svg {
  margin-left: 4px; /* visual-balance the play triangle */
}
.vd-tap-label {
  font-family: var(--font-serif, 'Source Serif 4', serif);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--parchment, #efe6d6);
  letter-spacing: 0.01em;
}
.vd-tap-hint {
  font-family: var(--font-sans, 'Manrope', system-ui);
  font-size: 0.8125rem;
  color: var(--parchment-dim, rgba(239, 230, 214, 0.6));
  letter-spacing: 0.02em;
}
@keyframes vd-tap-pulse {
  0%, 100% { box-shadow: 0 8px 32px rgba(200, 169, 126, 0.35), 0 0 0 0 rgba(200, 169, 126, 0.5); }
  50%      { box-shadow: 0 8px 32px rgba(200, 169, 126, 0.45), 0 0 0 12px rgba(200, 169, 126, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .vd-tap-icon { animation: none; }
  .vd-tap-overlay { transition: opacity 200ms ease; }
}
@media (max-width: 720px) {
  .vd-tap-inner { padding: 24px 28px; gap: 10px; }
  .vd-tap-icon { width: 64px; height: 64px; }
  .vd-tap-label { font-size: 1.0625rem; }
  .vd-tap-hint { font-size: 0.75rem; }
}
