﻿:root {
  color-scheme: dark;
  --bg: #020202;
  --bg-soft: #090909;
  --bg-section: #0d0d0d;
  --surface: rgba(15, 15, 15, 0.78);
  --surface-strong: #121212;
  --text: #f5f5f5;
  --muted: #a0a0a0;
  --accent: #b8bcc4;
  --line: rgba(255, 255, 255, 0.12);
  --pill: #f1f1f1;
  --pill-text: #111111;
  --nav-tint: rgba(12, 12, 12, 0.52);
  --shadow: 0 20px 44px rgba(0, 0, 0, 0.55);
  --page-progress: 0;
  --risk-line: rgba(189, 205, 226, 0.72);
  --risk-fill: rgba(167, 187, 213, 0.2);
  --risk-core: rgba(222, 236, 255, 0.8);
  --footer-bg: #060606;
  --already-color: var(--accent);
  --already-rgb: 184, 188, 196;
}

:root[data-theme="light"] {
  color-scheme: light;
  --bg: #ebedf0;
  --bg-soft: #e3e6ea;
  --bg-section: #d9dde2;
  --surface: rgba(246, 247, 249, 0.8);
  --surface-strong: #f8f9fb;
  --text: #171717;
  --muted: #555b64;
  --accent: #3f4650;
  --line: rgba(23, 23, 23, 0.14);
  --pill: #171717;
  --pill-text: #f5f5f5;
  --nav-tint: rgba(250, 251, 252, 0.66);
  --shadow: 0 14px 28px rgba(15, 15, 15, 0.16);
  --risk-line: rgba(44, 60, 82, 0.42);
  --risk-fill: rgba(65, 86, 112, 0.12);
  --risk-core: rgba(118, 148, 180, 0.52);
  --footer-bg: #d5dbe2;
  --already-color: #5d728e;
  --already-rgb: 93, 114, 142;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  font-family: "Sora", "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.4;
  overflow-x: hidden;
}

body.modal-open {
  overflow: hidden;
}

body.modal-open .site-header,
body.modal-open main,
body.modal-open .site-footer {
  filter: blur(8px);
  pointer-events: none;
}

body.theme-transition,
body.theme-transition * {
  transition: background-color 320ms ease, color 320ms ease, border-color 320ms ease, box-shadow 320ms ease;
}

.shell {
  width: min(1060px, calc(100% - 6rem));
  margin: 0 auto;
}

.section {
  padding: 4.1rem 0;
  min-height: auto;
  display: block;
}

main#top {
  position: relative;
  isolation: isolate;
}

main#top > *:not(.risk-evolution) {
  position: relative;
  z-index: 1;
}

.risk-evolution {
  --flow-x: 36%;
  --flow-y: 38%;
  --flow-rotate: -11deg;
  --flow-soft-rotate: 6deg;
  --flow-scale: 0.92;
  --flow-strength: 0.26;
  --page-progress: 0;
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  contain: paint;
  opacity: 0.66;
  transition: opacity 220ms linear;
}

:root[data-theme="light"] .risk-evolution {
  opacity: 0.52;
}

.risk-grid {
  position: absolute;
  inset: -8%;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.017) 0 1px, transparent 1px 56px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.017) 0 1px, transparent 1px 56px);
  opacity: calc(0.03 + (var(--page-progress) * 0.09));
  transform: translateY(calc(var(--page-progress) * -14px));
  will-change: transform, opacity;
}

.risk-halo {
  position: absolute;
  left: var(--flow-x);
  top: var(--flow-y);
  width: min(72vw, 860px);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--risk-core) 34%, transparent) 0%, color-mix(in srgb, var(--risk-fill) 60%, transparent) 32%, transparent 72%);
  opacity: var(--flow-strength);
  transform: translate(-50%, -50%) scale(var(--flow-scale));
  transition: left 360ms cubic-bezier(0.22, 0.69, 0.24, 1), top 360ms cubic-bezier(0.22, 0.69, 0.24, 1), transform 360ms cubic-bezier(0.22, 0.69, 0.24, 1), opacity 320ms ease;
  will-change: transform, opacity;
}

.halo-secondary {
  width: min(52vw, 620px);
  opacity: calc(var(--flow-strength) * 0.72);
}

.risk-axis {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(82vw, 980px);
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, color-mix(in srgb, var(--risk-line) 16%, transparent) 10%, color-mix(in srgb, var(--risk-line) 92%, transparent) 50%, color-mix(in srgb, var(--risk-line) 16%, transparent) 90%, transparent 100%);
  transform: translate(-50%, -50%) rotate(var(--flow-rotate)) scaleX(calc(0.78 + (var(--page-progress) * 0.22)));
  opacity: calc(0.22 + (var(--page-progress) * 0.2));
  transition: transform 360ms cubic-bezier(0.22, 0.69, 0.24, 1), opacity 300ms ease;
  will-change: transform, opacity;
}

.risk-axis-soft {
  width: 1px;
  height: min(44vh, 420px);
  background: linear-gradient(180deg, transparent 0%, color-mix(in srgb, var(--risk-line) 54%, transparent) 50%, transparent 100%);
  transform: translate(-50%, -50%) rotate(var(--flow-soft-rotate)) scaleY(calc(0.82 + (var(--page-progress) * 0.28)));
  opacity: calc(0.15 + (var(--page-progress) * 0.18));
}

.risk-evolution[data-stage="0"] {
  --flow-x: 36%;
  --flow-y: 38%;
  --flow-rotate: -11deg;
  --flow-soft-rotate: 6deg;
  --flow-scale: 0.92;
  --flow-strength: 0.26;
}

.risk-evolution[data-stage="1"] {
  --flow-x: 47%;
  --flow-y: 44%;
  --flow-rotate: -4deg;
  --flow-soft-rotate: 2deg;
  --flow-scale: 0.98;
  --flow-strength: 0.34;
}

.risk-evolution[data-stage="2"] {
  --flow-x: 56%;
  --flow-y: 50%;
  --flow-rotate: 2deg;
  --flow-soft-rotate: -1deg;
  --flow-scale: 1.03;
  --flow-strength: 0.42;
}

.risk-evolution[data-stage="3"] {
  --flow-x: 63%;
  --flow-y: 55%;
  --flow-rotate: 7deg;
  --flow-soft-rotate: -4deg;
  --flow-scale: 1.08;
  --flow-strength: 0.5;
}

.risk-evolution + .hero,
.risk-evolution ~ .capabilities,
.risk-evolution ~ .cycle,
.risk-evolution ~ .conversation {
  background: color-mix(in srgb, var(--bg) 92%, transparent);
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 6.8rem;
  padding-bottom: 8.8rem;
  background: var(--bg);
}

.capabilities {
  background: var(--bg);
  padding-top: 5.2rem;
  padding-bottom: 6.8rem;
}

.cycle {
  background: var(--bg);
  padding-top: 10.4rem;
  padding-bottom: 7.6rem;
}

.cycle .shell {
  width: min(1120px, calc(100% - 8.4rem));
}

.nav-brief {
  background: var(--bg);
  padding-top: 7.2rem;
  padding-bottom: 6.8rem;
}

.nav-brief .shell {
  width: min(1120px, calc(100% - 8.4rem));
}

.nav-brief-grid {
  margin-top: 2.7rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
}

.nav-brief-card {
  border: 1px solid var(--line);
  border-radius: 1.2rem;
  background: var(--surface-strong);
  padding: 1.24rem 1.18rem 1.12rem;
  min-height: 238px;
}

.nav-brief-card .label {
  margin: 0;
  color: var(--accent);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.58rem;
}

.nav-brief-card h3 {
  margin: 0.72rem 0 0;
  font-size: clamp(1.2rem, 1.9vw, 1.65rem);
  line-height: 1.16;
  letter-spacing: -0.01em;
}

.nav-brief-card p:last-child {
  margin: 0.82rem 0 0;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.54;
}

.beyond {
  background: var(--bg);
}

.conversation {
  background: var(--bg);
  padding-top: 11.2rem;
  padding-bottom: 13.6rem;
}

.site-header {
  position: fixed;
  top: 1.5rem;
  left: 0;
  right: 0;
  z-index: 100;
  pointer-events: none;
}

.site-header .nav-wrap {
  pointer-events: auto;
}

.nav-wrap {
  width: min(1080px, calc(100% - 9rem));
  margin: 0 auto;
  padding: 0.7rem 1.1rem 0.7rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--nav-tint);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
  transition: background-color 220ms ease, border-color 220ms ease, box-shadow 220ms ease, width 240ms ease;
}

.site-header.scrolled .nav-wrap {
  width: min(1020px, calc(100% - 10rem));
  box-shadow: var(--shadow);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text);
  text-decoration: none;
}

.brand-icon {
  width: 20px;
  height: 20px;
}

.brand-text {
  font-family: "Barlow Condensed", "Sora", sans-serif;
  font-size: 1.18rem;
  font-weight: 700;
  letter-spacing: 0.002em;
  line-height: 1;
  text-transform: uppercase;
  transform: scaleX(0.91);
  transform-origin: left center;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.82rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.12rem;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: color-mix(in srgb, var(--text) 80%, var(--muted));
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.56rem;
  font-weight: 700;
  position: relative;
  white-space: nowrap;
  padding: 0.12rem 0.2rem;
}

.nav-link + .nav-link::before {
  content: "|";
  color: color-mix(in srgb, var(--text) 26%, transparent);
  margin-right: 0.35rem;
  font-weight: 500;
}

.nav-link-emphasis {
  color: var(--text);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.24rem;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 220ms ease;
}

.nav-link:hover::after,
.nav-link:focus-visible::after {
  transform: scaleX(1);
}

.theme-toggle {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
}

.icon-sun,
.icon-moon {
  position: absolute;
  width: 13px;
  height: 13px;
  transition: transform 280ms ease, opacity 280ms ease;
}

:root[data-theme="dark"] .icon-sun,
:root:not([data-theme]) .icon-sun {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

:root[data-theme="dark"] .icon-moon,
:root:not([data-theme]) .icon-moon {
  opacity: 0;
  transform: rotate(-70deg) scale(0.35);
}

:root[data-theme="light"] .icon-sun {
  opacity: 0;
  transform: rotate(70deg) scale(0.35);
}

:root[data-theme="light"] .icon-moon {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

.btn {
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  transition: transform 220ms ease, background-color 220ms ease, color 220ms ease, border-color 220ms ease;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: "";
  position: absolute;
  inset: -2px;
  background: linear-gradient(115deg, transparent 36%, rgba(255, 255, 255, 0.25) 50%, transparent 64%);
  transform: translateX(-130%);
  transition: transform 420ms ease;
}

.btn:hover::before,
.btn:focus-visible::before {
  transform: translateX(130%);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-contact {
  padding: 0.47rem 0.92rem;
  background: var(--pill);
  color: var(--pill-text);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-size: 0.62rem;
}

.hero-shell {
  max-width: 1080px;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
  align-items: center;
  gap: 2.1rem;
}

.hero-shell.hero-shell-simple {
  max-width: 920px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
}

.hero-shell.hero-shell-original {
  max-width: 900px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.92rem;
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.hero-shell::before {
  content: "";
  position: absolute;
  left: 34%;
  top: 43%;
  width: min(94vw, 1020px);
  height: min(62vw, 540px);
  transform: translate(-50%, -50%);
  pointer-events: none;
  background: radial-gradient(circle, rgba(162, 170, 182, 0.1) 0%, rgba(162, 170, 182, 0.05) 30%, rgba(162, 170, 182, 0.02) 56%, transparent 80%);
  filter: blur(18px);
}

.hero-shell.hero-shell-simple::before {
  left: 50%;
  top: 45%;
  width: min(90vw, 920px);
  height: min(56vw, 460px);
  filter: blur(14px);
}

.hero-shell.hero-shell-original::before {
  left: 50%;
  top: 45%;
  width: min(90vw, 920px);
  height: min(56vw, 460px);
  filter: blur(14px);
}

.hero-kicker {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent);
  font-size: 0.62rem;
  font-weight: 600;
}

.hero-shell.hero-shell-simple .hero-kicker {
  letter-spacing: 0.18em;
}

.hero h1 {
  margin: 0.85rem 0 0;
  max-width: 13.4ch;
  font-size: clamp(2.7rem, 6.2vw, 5.9rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  font-weight: 700;
  position: relative;
  z-index: 1;
}

.hero-shell.hero-shell-simple h1 {
  margin-top: 0.72rem;
  max-width: 12.6ch;
  font-size: clamp(2.55rem, 6.7vw, 5.55rem);
  line-height: 0.96;
}

.hero-shell.hero-shell-original h1 {
  margin: 0;
  max-width: none;
  font-size: clamp(2.45rem, 6.9vw, 5.65rem);
  line-height: 0.98;
}

.already {
  position: relative;
  display: inline-block;
  color: var(--already-color);
  text-shadow: 0 0 11px rgba(var(--already-rgb), 0.45), 0 0 25px rgba(var(--already-rgb), 0.2);
}

.already-link {
  text-decoration: none;
  cursor: pointer;
  --ax: 50%;
  --ay: 50%;
  transition: transform 220ms ease, color 220ms ease, text-shadow 220ms ease;
}

.already-link::before {
  content: "";
  position: absolute;
  inset: -0.08em -0.16em;
  border-radius: 0.28em;
  background: radial-gradient(circle at var(--ax) var(--ay), rgba(var(--already-rgb), 0.35) 0%, rgba(var(--already-rgb), 0.14) 38%, transparent 74%);
  opacity: 0;
  transition: opacity 180ms ease;
  z-index: -1;
}

.already-link:hover,
.already-link:focus-visible {
  transform: translateY(-1px) scale(1.01);
  text-shadow: 0 0 14px rgba(var(--already-rgb), 0.64), 0 0 30px rgba(var(--already-rgb), 0.3);
}

.already-link:hover::before,
.already-link:focus-visible::before {
  opacity: 1;
}

.already-link:focus-visible {
  outline: none;
}

.already::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.08em;
  height: 0.06em;
  background: linear-gradient(90deg, transparent 0%, currentColor 30%, currentColor 70%, transparent 100%);
  opacity: 0.7;
  filter: blur(0.5px);
  transform-origin: left;
}

.lead {
  margin: 1.75rem auto 0;
  max-width: 45ch;
  font-size: clamp(0.95rem, 1.28vw, 1.13rem);
  color: color-mix(in srgb, var(--text) 88%, transparent);
  position: relative;
  z-index: 1;
}

.hero .lead {
  margin: 1.35rem 0 0;
  max-width: 58ch;
  text-align: left;
}

.hero-shell.hero-shell-simple .lead {
  margin: 1.1rem auto 0;
  max-width: 42ch;
  text-align: center;
  font-size: clamp(0.93rem, 1.16vw, 1.06rem);
}

.hero-shell.hero-shell-original .lead {
  margin: 2.2rem auto 0;
  max-width: 45ch;
  text-align: center;
  font-size: clamp(0.95rem, 1.28vw, 1.13rem);
}

.hero-tagline {
  margin: 1.32rem 0 0;
  width: fit-content;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 86%, transparent);
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.58rem;
  font-weight: 600;
}

.btn-primary {
  margin-top: 0;
  padding: 0.98rem 1.95rem;
  background: var(--pill);
  color: var(--pill-text);
  font-size: 0.81rem;
  position: relative;
  z-index: 1;
}

.hero-actions {
  margin-top: 1.32rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.hero-shell.hero-shell-simple .hero-actions {
  margin-top: 1.28rem;
  justify-content: center;
}

.hero-shell.hero-shell-original .hero-actions {
  margin-top: 0.85rem;
  justify-content: center;
}

.hero-shell.hero-shell-original .btn-primary {
  margin-top: 3.8rem;
}

.btn-ghost {
  padding: 0.95rem 1.5rem;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 76%, transparent);
  color: var(--text);
  font-size: 0.78rem;
}

.hero-legal-note {
  margin: 0.95rem 0 0;
  color: var(--muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 0.58rem;
}

/* Mobile: center hero content and create extra space above heading */
@media (max-width: 640px) {
  .site-header {
    top: 3.6rem; /* move header further down to create more space above hero */
  }

  .hero {
    padding-top: 0;
    padding-bottom: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center; /* center content vertically */
    align-items: center;
  }

  .hero .shell {
    width: calc(100% - 2rem);
    padding: 0 1rem;
    text-align: center;
  }

  .hero h1 {
    margin: 3.2rem 0 0; /* much more space between top of page and hero line on mobile */
    max-width: 100%;
    font-size: clamp(1.9rem, 7.2vw, 3.8rem);
    line-height: 1.02;
  }

  .hero .lead {
    margin-top: 1rem;
  }

  /* Make header slightly shorter and taller on small screens */
  .nav-wrap {
    width: calc(100% - 3.6rem);
    padding: 1.05rem 1rem; /* increase vertical padding to make header thicker */
    border-radius: 999px; /* fully pill-shaped on small screens */
  }
}

.hero-signal {
  position: relative;
  border-radius: 1.8rem;
  border: 1px solid var(--line);
  background: linear-gradient(152deg, color-mix(in srgb, var(--surface-strong) 92%, transparent) 0%, color-mix(in srgb, var(--surface) 80%, transparent) 54%, color-mix(in srgb, var(--bg-soft) 82%, transparent) 100%);
  padding: 1.2rem 1.1rem 1rem;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-signal::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 0%, color-mix(in srgb, var(--accent) 20%, transparent) 40%, transparent 72%);
  opacity: 0.45;
  pointer-events: none;
}

.hero-signal-label {
  margin: 0;
  position: relative;
  z-index: 1;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.56rem;
  font-weight: 600;
}

.hero-signal-list {
  margin-top: 0.7rem;
  display: grid;
  gap: 0.58rem;
  position: relative;
  z-index: 1;
}

.hero-signal-item {
  position: relative;
  border-radius: 0.95rem;
  border: 1px solid color-mix(in srgb, var(--line) 78%, transparent);
  background: color-mix(in srgb, var(--surface-strong) 88%, transparent);
  padding: 0.78rem 0.74rem 0.78rem 1.9rem;
}

.hero-signal-dot {
  position: absolute;
  left: 0.8rem;
  top: 1.05rem;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(var(--already-rgb), 0.5);
  animation: signalPulse 2.5s ease-in-out infinite;
}

.hero-signal-item p {
  margin: 0;
  font-size: 0.71rem;
  line-height: 1.42;
  color: color-mix(in srgb, var(--text) 86%, transparent);
}

.hero-signal-item p + p {
  margin-top: 0.3rem;
  color: var(--muted);
}

.hero-signal-item strong {
  color: var(--accent);
  font-weight: 600;
}

.hero .hero-kicker,
.hero h1,
.hero .lead,
.hero .hero-tagline,
.hero .hero-actions,
.hero .hero-legal-note,
.hero .hero-signal {
  animation: heroLift 600ms ease both;
}

.hero h1 {
  animation-delay: 50ms;
}

.hero .lead {
  animation-delay: 120ms;
}

.hero .hero-tagline,
.hero .hero-signal {
  animation-delay: 170ms;
}

.hero .hero-actions {
  animation-delay: 220ms;
}

.hero .hero-legal-note {
  animation-delay: 260ms;
}

.hero-shell.hero-shell-original h1,
.hero-shell.hero-shell-original .lead,
.hero-shell.hero-shell-original .btn-primary {
  animation: heroLift 600ms ease both;
}

.hero-shell.hero-shell-original .lead {
  animation-delay: 110ms;
}

.hero-shell.hero-shell-original .btn-primary {
  animation-delay: 200ms;
}

.intel-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 9.4rem;
  padding-bottom: 8.4rem;
  background: var(--bg);
}

.intel-shell {
  max-width: 1040px;
}

.intel-kicker {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent);
  font-size: 0.68rem;
}

.intel-shell h1 {
  margin: 1rem 0 0;
  max-width: 19ch;
  font-size: clamp(2.4rem, 5.5vw, 5.1rem);
  line-height: 0.94;
  letter-spacing: -0.03em;
}

.intel-shell .lead {
  margin-top: 1.4rem;
  margin-left: 0;
  margin-right: 0;
  max-width: 64ch;
}

.intel-tabs {
  margin-top: 2.9rem;
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.46rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.34rem;
  background: var(--surface);
}

.intel-tab {
  border: 1px solid transparent;
  background: transparent;
  color: var(--muted);
  border-radius: 999px;
  padding: 0.54rem 0.95rem;
  font-family: inherit;
  font-size: 0.67rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.intel-tab:hover {
  transform: translateY(-1px);
}

.intel-tab.is-active {
  background: var(--pill);
  color: var(--pill-text);
}

.intel-metrics {
  margin-top: 1.9rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.intel-metric {
  border-radius: 1.55rem;
  border: 1px solid var(--line);
  background: var(--surface-strong);
  padding: 1.25rem;
  min-height: 204px;
  box-shadow: var(--shadow);
}

.intel-metric .label {
  display: block;
  margin-bottom: 0.5rem;
}

.metric-value {
  margin: 0;
  font-size: clamp(1.55rem, 3vw, 2.45rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
}

.metric-note {
  margin-top: 0.65rem;
  font-size: 0.72rem;
  color: var(--muted);
}

.metric-value,
.metric-note {
  transition: opacity 160ms ease, transform 220ms ease;
}

.intel-metric.is-updating .metric-value,
.intel-metric.is-updating .metric-note {
  opacity: 0.3;
  transform: translateY(3px);
}

.intel-sources {
  margin-top: 1.5rem;
  border: 1px solid var(--line);
  border-radius: 1.1rem;
  background: var(--surface-strong);
  padding: 1rem 1.1rem;
}

.intel-sources ul {
  margin: 0.35rem 0 0;
  padding-left: 1.05rem;
  display: grid;
  gap: 0.34rem;
}

.intel-sources a {
  color: var(--accent);
  text-decoration: none;
  font-size: 0.7rem;
  transition: color 220ms ease;
}

.intel-sources a:hover,
.intel-sources a:focus-visible {
  color: var(--text);
}

.intel-evidence {
  padding-top: 8.8rem;
  padding-bottom: 10.2rem;
  background: var(--bg);
}

.intel-evidence-grid {
  margin-top: 2.6rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}

.intel-evidence-card {
  border: 1px solid var(--line);
  border-radius: 1.7rem;
  background: var(--surface-strong);
  padding: 1.42rem 1.38rem 1.3rem;
  min-height: 266px;
  box-shadow: var(--shadow);
}

.intel-evidence-card h3 {
  margin: 0.5rem 0 0;
  font-size: clamp(1.18rem, 1.76vw, 1.66rem);
  line-height: 1.2;
  letter-spacing: -0.015em;
  max-width: 30ch;
}

.intel-points {
  margin: 0.8rem 0 0;
  padding-left: 1.1rem;
  display: grid;
  gap: 0.45rem;
}

.intel-points li {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.5;
}

.intel-plain {
  margin-top: 0.84rem;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.5;
}

.value-source a {
  color: var(--accent);
  text-decoration: none;
  font-size: 0.71rem;
}

.value-source a:hover,
.value-source a:focus-visible {
  color: var(--text);
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.9rem;
  perspective: 1800px;
  transform-style: preserve-3d;
  isolation: isolate;
  position: relative;
}

.flip-card {
  position: relative;
  min-height: 390px;
  border-radius: 2.05rem;
  border: 1px solid var(--line);
  background: var(--surface-strong);
  box-shadow: var(--shadow);
  overflow: hidden;
  transform: translateY(0) scale(1);
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
  cursor: pointer;
  transition: border-color 260ms ease, box-shadow 320ms ease, transform 360ms cubic-bezier(0.2, 0.8, 0.2, 1), opacity 240ms ease;
}

.flip-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.14) 50%, transparent 100%);
  opacity: 0;
  transform: scaleX(0.08);
  pointer-events: none;
  z-index: 5;
}

.flip-card::after {
  content: "";
  position: absolute;
  inset: 16% 10%;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(170, 176, 190, 0.2) 0%, rgba(170, 176, 190, 0.08) 36%, transparent 72%);
  opacity: 0;
  transform: scale(0.72);
  filter: blur(18px);
  pointer-events: none;
  z-index: 0;
}

.flip-card.is-animating {
  pointer-events: none;
}

.flip-card.is-opening::before {
  animation: cardExpandSheen 520ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.flip-card.is-opening::after {
  animation: cardCoreBloom 760ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.flip-card:hover {
  border-color: color-mix(in srgb, var(--accent) 50%, transparent);
  transform: translateY(-2px);
}

.flip-card:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.flip-inner {
  position: relative;
  min-height: 390px;
  border-radius: inherit;
  isolation: isolate;
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
  will-change: transform;
}

.cards-grid.has-active .flip-card:not(.is-flipped) {
  opacity: 0.58;
  transform: scale(0.985);
}

.cards-grid.has-active .flip-card.is-flipped {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 34px 64px rgba(0, 0, 0, 0.62);
  border-color: color-mix(in srgb, var(--accent) 50%, transparent);
  z-index: 3;
}

.face {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.72rem;
  background: var(--surface-strong);
  overflow: hidden;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
  transform-origin: center;
  transition: transform 860ms cubic-bezier(0.2, 0.72, 0.2, 1), opacity 520ms ease;
}

.face.front {
  transform: rotateY(0deg) translateZ(2px);
  opacity: 1;
  align-items: center;
  text-align: center;
  justify-content: flex-start;
  gap: 0.9rem;
  padding-top: 4rem;
  z-index: 2;
}

.face.back {
  transform: rotateY(-180deg) translateZ(2px);
  opacity: 0;
  justify-content: flex-start;
  align-items: stretch;
  padding: 1.85rem 1.05rem 1.05rem;
  z-index: 3;
}

.flip-card.is-flipped .face.front {
  transform: rotateY(180deg) translateZ(2px);
  opacity: 0;
}

.flip-card.is-flipped .face.back {
  transform: rotateY(0deg) translateZ(2px);
  opacity: 1;
}

.face .label,
.face h2,
.face p {
  position: relative;
  z-index: 1;
}

.label {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent);
  font-size: 0.68rem;
  font-weight: 600;
}

.flip-card h2 {
  margin: 0;
  font-size: clamp(1.12rem, 1.72vw, 2rem);
  line-height: 1.16;
  letter-spacing: -0.02em;
  max-width: 11.8ch;
  text-wrap: balance;
}

.face p {
  margin: 0;
  font-size: 0.71rem;
  color: var(--muted);
  line-height: 1.5;
}

.back-copy {
  flex: 1;
  display: grid;
  align-content: start;
  gap: 0.92rem;
}

.back-copy p {
  font-size: 0.72rem;
  line-height: 1.52;
}

.focus {
  color: var(--text) !important;
  font-weight: 600;
}

.card-mark {
  position: absolute;
  right: -76px;
  bottom: -96px;
  width: 280px;
  height: 280px;
  color: rgba(255, 255, 255, 0.075);
  pointer-events: none;
  z-index: 0;
}

.card-mark.mark-objective {
  right: -48px;
  bottom: -86px;
  width: 300px;
  height: 300px;
  color: rgba(255, 255, 255, 0.1);
}

.card-mark.mark-engagement {
  right: -88px;
  bottom: -96px;
  width: 306px;
  height: 306px;
}

.card-mark.mark-delivery {
  right: -84px;
  bottom: -102px;
  width: 296px;
  height: 296px;
}

:root[data-theme="light"] .card-mark {
  color: rgba(20, 20, 20, 0.12);
}

.cycle h2,
.conversation h2,
.beyond h2 {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.8rem);
  line-height: 1.06;
  letter-spacing: -0.02em;
  text-align: center;
}

.cycle h2 {
  font-size: clamp(2.5rem, 4.8vw, 4.9rem);
  letter-spacing: -0.03em;
}

.cycle-lead {
  max-width: 58ch;
  margin: 1.1rem auto 0;
  text-align: center;
  font-size: clamp(0.92rem, 1.2vw, 1.18rem);
  color: var(--accent);
}

.cycle-grid {
  margin-top: 4.2rem;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1.7rem;
}

.step-card {
  grid-column: span 2;
  min-height: 420px;
  border-radius: 2.6rem;
  border: 1px solid var(--line);
  background: var(--surface-strong);
  padding: 2.35rem 2.2rem 2rem;
  position: relative;
  scroll-margin-top: 7.4rem;
  transition: transform 240ms ease, border-color 240ms ease, box-shadow 240ms ease;
}

.step-card:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--accent) 60%, transparent);
  box-shadow: var(--shadow);
}

.step-card.span-2 {
  grid-column: span 3;
  min-height: 320px;
}

.step-num {
  margin: 0;
  font-size: 4.2rem;
  line-height: 1;
  letter-spacing: -0.04em;
  color: color-mix(in srgb, var(--text) 11%, transparent);
  font-weight: 700;
}

.step-icon {
  position: absolute;
  top: 1.75rem;
  right: 1.7rem;
  width: 54px;
  height: 54px;
  color: color-mix(in srgb, var(--text) 14%, transparent);
  transition: transform 240ms ease;
}

.step-card:hover .step-icon {
  transform: scale(1.08);
}

.step-card h3 {
  margin: 1.95rem 0 0;
  font-size: clamp(2.05rem, 2.3vw, 3.05rem);
  letter-spacing: -0.01em;
  line-height: 1.08;
  max-width: 14ch;
}

.step-card > p:last-child {
  margin-top: 1.1rem;
  color: var(--muted);
  font-size: 1.12rem;
  max-width: 36ch;
  line-height: 1.5;
}

.step-copy {
  margin-top: 1.1rem;
  color: var(--muted);
  font-size: 1.12rem;
  max-width: 36ch;
  line-height: 1.52;
}

.step-card .step-copy + .step-copy {
  display: none;
}

.beyond .shell,
.conversation .shell {
  max-width: 1140px;
}

.beyond h2 {
  text-align: left;
  font-size: clamp(1.15rem, 1.8vw, 1.6rem);
}

.beyond p {
  margin: 0.52rem 0 0;
  color: var(--muted);
  font-size: clamp(0.72rem, 0.84vw, 0.78rem);
}

.contact-form {
  margin: 4.4rem auto 0;
  width: min(920px, 100%);
  border-radius: 0;
  border: 0;
  background: transparent;
  padding: 0;
}

.conversation-panel {
  width: min(1080px, 100%);
  margin: 0 auto;
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0;
  box-shadow: none;
}

.conversation-panel h2 {
  margin-bottom: 1.2rem;
}

.conversation-panel .cycle-lead {
  margin-top: 0;
  margin-bottom: 3.4rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border-radius: 0.75rem;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  color: var(--text);
  padding: 1.08rem 1.08rem;
  font: inherit;
  margin-bottom: 1.45rem;
  font-size: 0.8rem;
}

.contact-form textarea {
  min-height: 210px;
  resize: vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--accent);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid color-mix(in srgb, var(--accent) 45%, transparent);
  outline-offset: 1px;
}

.btn-submit {
  width: 100%;
  border: 0;
  padding: 1.02rem 0.96rem;
  background: var(--pill);
  color: var(--pill-text);
  font-size: 0.79rem;
  cursor: pointer;
}

.contact-direct {
  margin: 1.6rem 0 0;
  color: var(--muted);
  font-size: 0.68rem;
}

.contact-direct a {
  color: var(--text);
  text-decoration: none;
}

.site-footer {
  background: var(--footer-bg);
  border-top: 0;
  padding-top: 3.4rem;
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -118px;
  width: min(1200px, 128vw);
  height: 250px;
  transform: translateX(-50%);
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 52%, color-mix(in srgb, var(--accent) 16%, transparent) 0%, transparent 56%),
    radial-gradient(circle at 78% 42%, color-mix(in srgb, var(--accent) 12%, transparent) 0%, transparent 58%);
  opacity: 0.38;
}

:root[data-theme="light"] .site-footer::before {
  opacity: 0.22;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 1.35rem;
}

.footer-grid.footer-grid-compact {
  grid-template-columns: 2fr 1fr 1fr 1fr;
}

.footer-constellation {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1.02rem;
  padding: 1.38rem 1.28rem 1.16rem;
  border: 1px solid color-mix(in srgb, var(--line) 86%, transparent);
  border-radius: 1.34rem;
  background: linear-gradient(166deg, color-mix(in srgb, var(--surface-strong) 92%, transparent) 0%, color-mix(in srgb, var(--surface) 70%, transparent) 62%, color-mix(in srgb, var(--bg-soft) 80%, transparent) 100%);
  box-shadow: inset 0 1px 0 color-mix(in srgb, #fff 5%, transparent);
  overflow: visible;
}

.footer-cutout-nav {
  position: relative;
  z-index: 4;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: end;
  gap: 0.32rem;
  margin: 0 0 -0.18rem;
  padding: 0;
}

.cutout-chip {
  flex: 0 0 auto;
  min-width: 4.7rem;
  min-height: 1.82rem;
  padding: 0 0.86rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid color-mix(in srgb, var(--line) 90%, transparent);
  border-bottom-color: color-mix(in srgb, var(--line) 72%, transparent);
  border-radius: 0.68rem 0.68rem 0 0;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  background: linear-gradient(155deg, color-mix(in srgb, var(--surface-strong) 90%, transparent) 0%, color-mix(in srgb, var(--surface) 72%, transparent) 100%);
  color: color-mix(in srgb, var(--text) 76%, var(--muted));
  font-size: 0.57rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 220ms ease, border-color 220ms ease, transform 220ms ease, background-color 220ms ease, box-shadow 220ms ease;
}

.cutout-chip:hover,
.cutout-chip:focus-visible {
  color: var(--text);
  border-color: color-mix(in srgb, var(--accent) 70%, transparent);
  transform: translateY(-1px) scale(1.01);
}

.cutout-chip.is-active {
  color: var(--text);
  border-color: color-mix(in srgb, var(--accent) 74%, transparent);
  border-bottom-color: transparent;
  background: linear-gradient(155deg, color-mix(in srgb, var(--surface-strong) 98%, transparent) 0%, color-mix(in srgb, var(--accent) 12%, transparent) 100%);
  transform: translateY(1px);
  box-shadow: 0 6px 14px color-mix(in srgb, #000 14%, transparent);
}

.footer-guide-popout {
  margin: 0;
  border-radius: 0 1rem 1rem 1rem;
  border: 1px solid color-mix(in srgb, var(--line) 82%, transparent);
  background: linear-gradient(160deg, color-mix(in srgb, var(--surface-strong) 92%, transparent) 0%, color-mix(in srgb, var(--surface) 76%, transparent) 100%);
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
  transform-origin: top center;
  transform: perspective(700px) rotateX(-13deg) translateY(-6px);
  clip-path: inset(0 0 100% 0 round 0.98rem);
  transition: max-height 390ms cubic-bezier(0.22, 0.7, 0.2, 1), opacity 250ms ease, transform 320ms ease, clip-path 320ms ease, margin 220ms ease, padding 220ms ease;
  padding: 0 0.94rem;
}

.footer-guide-popout.is-open {
  max-height: 22rem;
  opacity: 1;
  pointer-events: auto;
  transform: perspective(700px) rotateX(0deg) translateY(0);
  clip-path: inset(0 0 0 0 round 0.98rem);
  margin: 0 0 0.32rem;
  padding: 0.84rem 0.94rem 0.92rem;
}

.footer-guide-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
}

.footer-guide-eyebrow {
  margin: 0;
  color: var(--accent);
  font-size: 0.58rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 700;
}

.footer-guide-close {
  border: 1px solid color-mix(in srgb, var(--line) 88%, transparent);
  border-radius: 999px;
  padding: 0.25rem 0.56rem;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.56rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 220ms ease, border-color 220ms ease, transform 220ms ease;
}

.footer-guide-close:hover,
.footer-guide-close:focus-visible {
  color: var(--text);
  border-color: color-mix(in srgb, var(--accent) 70%, transparent);
  transform: translateY(-1px);
}

.footer-guide-title {
  margin: 0.38rem 0 0;
  font-size: clamp(1rem, 2vw, 1.22rem);
  line-height: 1.28;
}

.footer-guide-popout.is-open .footer-guide-title {
  display: none;
}

.footer-guide-options {
  margin-top: 0.72rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0.54rem;
}

.footer-guide-option {
  border: 1px solid color-mix(in srgb, var(--line) 88%, transparent);
  border-radius: 0.72rem;
  background: color-mix(in srgb, var(--surface) 86%, transparent);
  color: color-mix(in srgb, var(--text) 82%, var(--muted));
  font: inherit;
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-align: left;
  padding: 0.58rem 0.62rem;
  min-height: 2.5rem;
  cursor: pointer;
  transition: color 220ms ease, border-color 220ms ease, background-color 220ms ease, transform 220ms ease;
}

.footer-guide-option:hover,
.footer-guide-option:focus-visible {
  color: var(--text);
  border-color: color-mix(in srgb, var(--accent) 70%, transparent);
  transform: translateY(-1px);
}

.footer-guide-option.is-active {
  color: var(--text);
  border-color: color-mix(in srgb, var(--accent) 74%, transparent);
  background: color-mix(in srgb, var(--surface-strong) 94%, transparent);
}

.footer-guide-option:disabled {
  opacity: 0.58;
  cursor: default;
  transform: none;
}

.footer-guide-copy {
  margin: 0.72rem 0 0;
  color: var(--muted);
  font-size: 0.69rem;
  line-height: 1.55;
  min-height: 4.6em;
}

.footer-guide-eyebrow,
.footer-guide-title,
.footer-guide-options,
.footer-guide-copy {
  will-change: transform, opacity;
}

.footer-guide-popout[data-swap-dir="back"] {
  --guide-swap-out: -14px;
  --guide-swap-in: 14px;
}

.footer-guide-popout:not([data-swap-dir]),
.footer-guide-popout[data-swap-dir="forward"] {
  --guide-swap-out: 14px;
  --guide-swap-in: -14px;
}

.footer-guide-popout.is-swapping-out .footer-guide-eyebrow,
.footer-guide-popout.is-swapping-out .footer-guide-title,
.footer-guide-popout.is-swapping-out .footer-guide-options,
.footer-guide-popout.is-swapping-out .footer-guide-copy {
  opacity: 0;
  transform: translateX(var(--guide-swap-out));
}

.footer-guide-popout.is-swapping-in .footer-guide-eyebrow,
.footer-guide-popout.is-swapping-in .footer-guide-title,
.footer-guide-popout.is-swapping-in .footer-guide-options,
.footer-guide-popout.is-swapping-in .footer-guide-copy {
  animation: guideSheetIn 240ms cubic-bezier(0.22, 0.7, 0.2, 1) both;
}

@keyframes guideSheetIn {
  from {
    opacity: 0;
    transform: translateX(var(--guide-swap-in));
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.footer-topline {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
  margin-top: 0;
  padding-top: 1.18rem;
  border-top: 1px solid color-mix(in srgb, var(--line) 86%, transparent);
}

.footer-brand {
  display: grid;
  gap: 0.52rem;
  align-content: start;
}

.footer-topline .footer-summary {
  margin-top: 0;
  max-width: 54ch;
  line-height: 1.56;
}

.footer-brand-meta {
  margin-top: 0.2rem;
  display: grid;
  justify-items: start;
  gap: 0.36rem;
}

.footer-brand-contact {
  color: var(--text);
  text-decoration: none;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: color 220ms ease, transform 220ms ease;
}

.footer-brand-contact:hover,
.footer-brand-contact:focus-visible {
  color: var(--accent);
  transform: translateX(1px);
}

.footer-brand-meta .city-pill {
  margin-top: 0.2rem;
}

.integrity-panel {
  position: relative;
  border: 0;
  background: transparent;
  padding: 0;
  min-height: 0;
  align-self: center;
}

.integrity-track {
  --integrity-stage: 0;
  --integrity-progress: 2%;
  position: relative;
  min-height: 84px;
  height: 100%;
  padding: 0.24rem 0.32rem;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.68rem;
  align-items: center;
}

.integrity-track::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: 50%;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, color-mix(in srgb, var(--accent) 30%, transparent) 12%, color-mix(in srgb, var(--accent) 84%, transparent) 50%, color-mix(in srgb, var(--accent) 30%, transparent) 88%, transparent 100%);
  transform: translateY(-50%);
  opacity: 0.78;
}

.integrity-track::after {
  content: "";
  position: absolute;
  left: 8%;
  width: var(--integrity-progress);
  top: 50%;
  height: 2px;
  transform: translateY(-50%);
  background: linear-gradient(90deg, color-mix(in srgb, var(--accent) 84%, transparent) 0%, color-mix(in srgb, var(--accent) 36%, transparent) 100%);
  opacity: 0.92;
  pointer-events: none;
  transition: width 440ms cubic-bezier(0.22, 0.69, 0.24, 1);
}

.integrity-node {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 3.6rem;
  aspect-ratio: 1 / 1;
  margin: 0 auto;
  display: grid;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--line) 94%, transparent);
  border-radius: 0.92rem;
  text-decoration: none;
  color: color-mix(in srgb, var(--text) 72%, var(--muted));
  background: linear-gradient(150deg, color-mix(in srgb, var(--surface-strong) 88%, transparent) 0%, color-mix(in srgb, var(--surface) 70%, transparent) 100%);
  transition: color 220ms ease, border-color 220ms ease, background-color 220ms ease, transform 220ms ease;
  animation: integrityDrift 5.8s ease-in-out infinite;
  cursor: pointer;
}

.integrity-node::after {
  content: "";
  position: absolute;
  inset: -0.44rem;
  border-radius: 1.1rem;
  border: 1px solid color-mix(in srgb, var(--accent) 34%, transparent);
  opacity: 0.18;
  transform: scale(0.84);
  animation: integrityPulse 4.2s ease-in-out infinite;
  pointer-events: none;
}

.integrity-node[data-stage="2"] {
  animation-delay: 0.36s;
}

.integrity-node[data-stage="3"] {
  animation-delay: 0.72s;
}

.integrity-node[data-stage="4"] {
  animation-delay: 1.08s;
}

.integrity-node[data-stage="5"] {
  animation-delay: 1.44s;
}

.integrity-node[data-stage="2"]::after {
  animation-delay: 0.48s;
}

.integrity-node[data-stage="3"]::after {
  animation-delay: 0.96s;
}

.integrity-node[data-stage="4"]::after {
  animation-delay: 1.44s;
}

.integrity-node[data-stage="5"]::after {
  animation-delay: 1.92s;
}

.integrity-node svg {
  width: 18px;
  height: 18px;
}

.integrity-node.is-active {
  color: var(--text);
  border-color: color-mix(in srgb, var(--accent) 74%, transparent);
  background: color-mix(in srgb, var(--surface-strong) 94%, transparent);
  transform: translateY(-1px) scale(1.02);
}

.integrity-node.is-active::after {
  opacity: 0.46;
  transform: scale(1);
}

.integrity-node:hover,
.integrity-node:focus-visible {
  color: var(--text);
  border-color: color-mix(in srgb, var(--accent) 72%, transparent);
  background: color-mix(in srgb, var(--surface-strong) 92%, transparent);
  transform: translateY(-2px) scale(1.04);
  animation-play-state: paused;
}

.footer-grid.footer-grid-bespoke {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.28rem;
  padding-bottom: 0.12rem;
}

.footer-grid-bespoke .footer-column {
  min-width: 0;
}

.footer-grid-bespoke .footer-heading {
  margin: 0 0 0.6rem;
}

.footer-grid-bespoke .footer-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 0.46rem;
  color: var(--text);
  text-decoration: none;
  font-size: 0.69rem;
  font-weight: 600;
  transition: color 220ms ease, transform 220ms ease;
}

.footer-grid-bespoke .footer-link::before {
  content: "";
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--text) 28%, transparent);
  background: color-mix(in srgb, var(--surface-strong) 72%, transparent);
  transition: border-color 220ms ease, background-color 220ms ease, transform 220ms ease;
}

.footer-grid-bespoke .footer-link:hover,
.footer-grid-bespoke .footer-link:focus-visible {
  color: var(--accent);
  transform: translateX(2px);
}

.footer-grid-bespoke .footer-link:hover::before,
.footer-grid-bespoke .footer-link:focus-visible::before {
  border-color: color-mix(in srgb, var(--accent) 70%, transparent);
  background: color-mix(in srgb, var(--accent) 22%, transparent);
  transform: scale(1.08);
}

.footer-grid-bespoke .city-pill {
  margin-top: 0.22rem;
}

.footer-wordmark {
  display: inline-block;
  color: var(--text);
  text-decoration: none;
  font-family: "Barlow Condensed", "Sora", sans-serif;
  font-size: 1.86rem;
  letter-spacing: 0.005em;
  font-weight: 700;
  line-height: 1;
  transition: color 220ms ease, transform 220ms ease;
  text-transform: uppercase;
}

.footer-wordmark:hover,
.footer-wordmark:focus-visible {
  color: var(--accent);
  transform: translateX(2px);
}

.footer-summary {
  display: block;
  margin-top: 0.44rem;
  color: var(--muted);
  max-width: 28ch;
  text-decoration: none;
  font-size: 0.68rem;
  transition: color 220ms ease;
}

.footer-summary:hover,
.footer-summary:focus-visible {
  color: var(--text);
}

.footer-heading {
  display: inline-block;
  margin: 0.9rem 0 0.55rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.6rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 220ms ease, color 220ms ease;
}

.footer-heading:hover,
.footer-heading:focus-visible {
  color: var(--text);
  transform: translateX(1px);
}

.footer-icons {
  display: flex;
  gap: 0.38rem;
}

.footer-icons a {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid transparent;
  color: color-mix(in srgb, var(--text) 34%, transparent);
  text-decoration: none;
  transition: transform 220ms ease, color 220ms ease, border-color 220ms ease;
}

.footer-icons a:hover,
.footer-icons a:focus-visible {
  color: var(--accent);
  border-color: var(--line);
  transform: translateY(-1px) scale(1.04);
}

.footer-icons svg {
  width: 13px;
  height: 13px;
}

.footer-column a {
  display: flex;
  align-items: center;
  gap: 0.36rem;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  margin: 0 0 0.5rem;
  font-size: 0.68rem;
  transition: color 220ms ease, transform 220ms ease;
}

.footer-column a:hover,
.footer-column a:focus-visible {
  color: var(--accent);
  transform: translateX(2px);
}

.footer-column svg {
  width: 12px;
  height: 12px;
  color: var(--muted);
  transition: transform 220ms ease, color 220ms ease;
}

.footer-column a:hover svg,
.footer-column a:focus-visible svg {
  color: var(--accent);
  transform: scale(1.05);
}

.footer-column .footer-link-pill {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  padding: 0.27rem 0.58rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface-strong) 90%, transparent);
  color: var(--accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.56rem;
  margin-top: 0.16rem;
}

.footer-column .footer-link-pill:hover,
.footer-column .footer-link-pill:focus-visible {
  color: var(--text);
  border-color: color-mix(in srgb, var(--accent) 70%, transparent);
  transform: translateY(-1px);
}

.city-pill {
  display: inline-flex;
  width: fit-content;
  padding: 0.22rem 0.48rem;
  border-radius: 999px;
  background: var(--surface-strong);
  border: 1px solid var(--line);
  color: var(--accent);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.54rem;
  text-decoration: none;
  transition: color 220ms ease, border-color 220ms ease, transform 220ms ease;
}

.city-pill:hover,
.city-pill:focus-visible {
  color: var(--text);
  border-color: var(--accent);
  transform: translateY(-1px);
}

.footer-legal {
  margin-top: 2.3rem;
  padding: 1.2rem 0 1.8rem;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0.34rem 1.2rem;
  align-items: start;
}

.footer-legal-tile {
  color: var(--accent);
  letter-spacing: 0.08em;
  text-transform: none;
  font-size: 0.6rem;
  text-decoration: none;
  transition: color 220ms ease;
}

.footer-legal > :nth-child(2),
.footer-legal > :nth-child(4) {
  justify-self: end;
  text-align: right;
}

.footer-legal-tile:hover,
.footer-legal-tile:focus-visible {
  color: var(--text);
}

.footer-legal-meta {
  display: flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: 0.4rem;
  flex-wrap: nowrap;
  color: var(--accent);
  letter-spacing: 0.08em;
  font-size: 0.6rem;
  line-height: 1.35;
  text-align: right;
}

.footer-legal-meta span {
  display: inline;
  white-space: nowrap;
}

.footer-copy-abn {
  border: 0;
  padding: 0;
  margin: 0;
  background: transparent;
  color: inherit;
  letter-spacing: inherit;
  font: inherit;
  line-height: inherit;
  cursor: pointer;
  text-decoration: none;
  transition: color 220ms ease;
  white-space: nowrap;
}

.footer-copy-abn:hover,
.footer-copy-abn:focus-visible {
  color: var(--text);
}

.footer-copy-abn.is-copied {
  color: var(--text);
}

body.terms-page {
  background: color-mix(in srgb, var(--bg) 82%, var(--bg-soft));
}

body.terms-page .site-header {
  top: 1rem;
}

body.terms-page .nav-wrap {
  width: min(980px, calc(100% - 2rem));
  border-radius: 0.4rem;
  padding: 0.56rem 0.8rem 0.54rem;
  background: color-mix(in srgb, var(--bg) 84%, var(--surface-strong));
  box-shadow: none;
}

body.terms-page .brand-text {
  font-size: 1rem;
  transform: none;
  letter-spacing: 0.05em;
}

body.terms-page .nav-link {
  font-size: 0.54rem;
  letter-spacing: 0.12em;
}

.terms-main {
  padding: 6.1rem 0 3.2rem;
}

.terms-doc {
  width: min(980px, calc(100% - 2rem));
  margin: 0 auto;
  border: 1px solid color-mix(in srgb, var(--line) 92%, transparent);
  border-radius: 0.18rem;
  background: var(--surface-strong);
  padding: 1.55rem 1.45rem 1.75rem;
}

.terms-doc-inner {
  max-width: 780px;
  margin: 0 auto;
  border-left: 1px solid color-mix(in srgb, var(--line) 96%, transparent);
  padding-left: 1.2rem;
}

.terms-kicker {
  margin: 0;
  color: var(--accent);
  font-size: 0.58rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  font-weight: 600;
}

.terms-doc h1 {
  margin: 0.42rem 0 0;
  font-size: clamp(1.42rem, 2.8vw, 1.92rem);
  line-height: 1.2;
  letter-spacing: 0;
  font-weight: 600;
}

.terms-updated {
  margin: 0.64rem 0 0;
  color: var(--muted);
  font-size: 0.7rem;
}

.terms-doc > .terms-doc-inner > p {
  margin: 0.8rem 0 0;
  font-size: 0.82rem;
  line-height: 1.66;
  color: var(--muted);
}

.terms-section {
  margin-top: 1.2rem;
  padding-left: 0.08rem;
}

.terms-section h2 {
  margin: 0;
  font-size: 0.89rem;
  letter-spacing: -0.008em;
  font-weight: 600;
}

.terms-section p {
  margin: 0.54rem 0 0;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.68;
}

.terms-footer {
  border-top: 1px solid var(--line);
  padding: 1.05rem 0 1.6rem;
}

.terms-footer-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}

.terms-footer-shell p {
  margin: 0;
  color: var(--accent);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
}

.modal-root {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms ease;
}

.modal-root.is-open {
  opacity: 1;
  pointer-events: auto;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.52);
  backdrop-filter: blur(9px);
}

.legal-modal {
  position: relative;
  width: min(560px, calc(100% - 2rem));
  border-radius: 1.1rem;
  border: 1px solid var(--line);
  background: var(--surface-strong);
  box-shadow: var(--shadow);
  padding: 1rem;
}

.legal-modal h3 {
  margin: 0.4rem 0 0;
  font-size: 1rem;
  letter-spacing: -0.01em;
}

.legal-modal p {
  margin: 0.7rem 0 0;
  font-size: 0.78rem;
  color: var(--muted);
}

.modal-link {
  display: inline-flex;
  align-items: center;
  margin-top: 0.7rem;
  color: var(--text);
  text-decoration: none;
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  transition: color 220ms ease, transform 220ms ease;
}

.modal-link:hover,
.modal-link:focus-visible {
  color: var(--accent);
  transform: translateX(1px);
}

.btn-acknowledge {
  display: flex;
  width: fit-content;
  margin-top: 1rem;
  padding: 0.56rem 1.1rem;
  background: var(--pill);
  color: var(--pill-text);
  font-size: 0.7rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 420ms ease var(--delay, 0ms), transform 420ms ease var(--delay, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes heroLift {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes signalPulse {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(var(--already-rgb), 0.46);
  }
  60% {
    transform: scale(1.14);
    box-shadow: 0 0 0 8px rgba(var(--already-rgb), 0);
  }
}

@keyframes integrityDrift {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-3px);
  }
}

@keyframes integrityPulse {
  0%,
  100% {
    opacity: 0.12;
    transform: scale(0.82);
  }
  45% {
    opacity: 0.42;
    transform: scale(1.06);
  }
}

@keyframes stepDrift {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-2px);
  }
}

@keyframes cardExpandSheen {
  0% {
    opacity: 0;
    transform: scaleX(0.08);
  }
  35% {
    opacity: 0.88;
    transform: scaleX(1);
  }
  100% {
    opacity: 0;
    transform: scaleX(1.2);
  }
}

@keyframes cardCoreBloom {
  0% {
    opacity: 0;
    transform: scale(0.72);
  }
  42% {
    opacity: 0.65;
    transform: scale(1.04);
  }
  100% {
    opacity: 0.26;
    transform: scale(1.22);
  }
}

@keyframes trackMove {
  0% {
    transform: translateX(-140px);
  }
  100% {
    transform: translateX(calc(100% + 36px));
  }
}

@keyframes barPulse {
  0%,
  100% {
    filter: brightness(0.92);
  }
  50% {
    filter: brightness(1.15);
  }
}

@media (max-width: 1120px) {
  .nav-links {
    display: none;
  }

  .shell {
    width: calc(100% - 1.6rem);
  }

  .cycle .shell {
    width: calc(100% - 2.6rem);
  }

  .risk-evolution {
    opacity: 0.58;
  }

  .nav-wrap,
  .site-header.scrolled .nav-wrap {
    width: calc(100% - 1rem);
  }

  .hero-shell {
    grid-template-columns: 1fr;
    gap: 1.35rem;
  }

  .hero-shell.hero-shell-simple {
    gap: 1rem;
  }

  .hero-shell.hero-shell-original {
    gap: 0.92rem;
  }

  .hero h1 {
    max-width: 14.2ch;
  }

  .hero-signal {
    width: 100%;
    max-width: 760px;
  }

  .cards-grid {
    grid-template-columns: 1fr;
    gap: 1.15rem;
  }

  .flip-card {
    min-height: 280px;
  }

  .flip-inner {
    min-height: 280px;
  }

  .card-mark {
    right: -60px;
    bottom: -74px;
    width: 222px;
    height: 222px;
  }

  .card-mark.mark-objective {
    right: -40px;
    bottom: -72px;
    width: 246px;
    height: 246px;
  }

  .card-mark.mark-engagement {
    right: -62px;
    bottom: -72px;
    width: 236px;
    height: 236px;
  }

  .card-mark.mark-delivery {
    right: -62px;
    bottom: -76px;
    width: 228px;
    height: 228px;
  }

  .cycle-grid {
    grid-template-columns: 1fr;
    gap: 1.15rem;
    margin-top: 2.6rem;
  }

  .nav-brief .shell {
    width: calc(100% - 1.5rem);
  }

  .nav-brief-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 2rem;
  }

  .nav-brief-card {
    min-height: 0;
  }

  .intel-metrics {
    grid-template-columns: 1fr;
  }

  .intel-evidence-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .step-card,
  .step-card.span-2 {
    grid-column: auto;
    min-height: 224px;
    padding: 1.45rem 1.2rem 1.2rem;
    animation: none;
  }

  .cycle-grid .step-card:nth-child(4),
  .cycle-grid .step-card:nth-child(5) {
    grid-column: auto;
  }

  .step-num {
    font-size: 2.6rem;
  }

  .step-card h3 {
    margin-top: 1.1rem;
    font-size: clamp(1.18rem, 3.2vw, 1.52rem);
    max-width: none;
  }

  .step-copy,
  .step-card > p:last-child {
    margin-top: 0.72rem;
    font-size: 0.86rem;
    max-width: none;
    line-height: 1.5;
  }

  .footer-topline {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 0;
    padding-top: 1.08rem;
  }

  .footer-constellation {
    padding: 1.16rem 1.04rem 1rem;
    gap: 0.92rem;
  }

  .footer-cutout-nav {
    padding: 0;
    gap: 0.3rem;
  }

  .cutout-chip {
    min-width: 4.1rem;
    min-height: 1.78rem;
    padding: 0 0.66rem;
    font-size: 0.54rem;
    letter-spacing: 0.14em;
  }

  .integrity-panel {
    max-width: 760px;
    min-height: 0;
  }

  .footer-grid.footer-grid-bespoke {
    grid-template-columns: 1fr 1fr;
  }

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

@media (max-width: 820px) {
  .shell {
    width: calc(100% - 0.8rem);
  }

  .cycle .shell {
    width: calc(100% - 1.5rem);
  }

  .risk-evolution {
    opacity: 0.46;
  }

  .risk-axis {
    width: min(110vw, 980px);
  }

  .risk-halo {
    width: min(92vw, 860px);
  }

  .halo-secondary {
    width: min(68vw, 620px);
  }

  .nav-wrap,
  .site-header.scrolled .nav-wrap {
    width: calc(100% - 0.3rem);
    padding: 0.45rem 0.45rem 0.45rem 0.58rem;
  }

  .brand-text {
    font-size: 0.88rem;
  }

  .brand-icon {
    width: 14px;
    height: 14px;
  }

  .nav-actions {
    gap: 0.42rem;
  }

  .btn-contact {
    padding: 0.32rem 0.48rem;
    font-size: 0.53rem;
  }

  .theme-toggle {
    width: 23px;
    height: 23px;
  }

  .icon-sun,
  .icon-moon {
    width: 10px;
    height: 10px;
  }

  .section {
    min-height: auto;
    padding: 2.9rem 0;
  }

  .cycle {
    padding-top: 3.9rem;
  }

  .hero {
    min-height: auto;
    padding-top: 5rem;
    padding-bottom: 4.2rem;
  }

  .hero-shell {
    gap: 0.95rem;
  }

  .hero-shell.hero-shell-simple {
    gap: 0.85rem;
  }

  .hero-shell.hero-shell-original {
    gap: 0.92rem;
  }

  .hero-shell::before {
    width: 92vw;
    height: 70vw;
  }

  .hero-shell.hero-shell-simple::before {
    width: 92vw;
    height: 68vw;
  }

  .hero-shell.hero-shell-original::before {
    width: 92vw;
    height: 70vw;
  }

  .hero-kicker {
    font-size: 0.56rem;
    letter-spacing: 0.17em;
  }

  .hero h1 {
    font-size: clamp(2.1rem, 11vw, 3.2rem);
    max-width: none;
  }

  .hero-shell.hero-shell-simple h1 {
    max-width: 13.1ch;
  }

  .hero-shell.hero-shell-original h1 {
    max-width: none;
    font-size: clamp(2.1rem, 11vw, 3.2rem);
  }

  .hero .lead {
    max-width: none;
    font-size: 0.92rem;
  }

  .hero-shell.hero-shell-simple .lead {
    max-width: 33ch;
    font-size: 0.9rem;
  }

  .hero-shell.hero-shell-original .lead {
    margin-top: 1.8rem;
    max-width: 45ch;
    font-size: clamp(0.95rem, 1.28vw, 1.13rem);
  }

  .hero-tagline {
    margin-top: 1.1rem;
    padding: 0.34rem 0.56rem;
    font-size: 0.55rem;
  }

  .hero-legal-note {
    margin-top: 0.8rem;
    font-size: 0.61rem;
  }

  .hero-signal {
    border-radius: 1.2rem;
    padding: 1rem 0.85rem 0.9rem;
  }

  .hero-signal-item {
    padding: 0.64rem 0.58rem 0.64rem 1.62rem;
  }

  .hero-signal-dot {
    left: 0.68rem;
    top: 0.91rem;
  }

  .hero-signal-item p {
    font-size: 0.65rem;
  }

  .intel-hero {
    min-height: auto;
    padding-top: 6.4rem;
    padding-bottom: 4.8rem;
  }

  .intel-tabs {
    width: 100%;
    justify-content: flex-start;
  }

  .intel-tab {
    flex: 0 1 auto;
    min-width: 0;
    padding-left: 0.55rem;
    padding-right: 0.55rem;
    letter-spacing: 0.05em;
  }

  .intel-evidence-grid {
    grid-template-columns: 1fr;
  }

  .btn-primary {
    margin-top: 0;
    padding: 0.78rem 1.35rem;
  }

  .hero-actions {
    margin-top: 0.98rem;
    gap: 0.42rem;
    width: 100%;
  }

  .hero-shell.hero-shell-simple .hero-actions {
    width: auto;
    margin-top: 0.95rem;
  }

  .hero-shell.hero-shell-original .hero-actions {
    width: auto;
    margin-top: 0.85rem;
    justify-content: center;
  }

  .hero-actions .btn {
    flex: 1 1 0;
    min-width: 0;
  }

  .hero-shell.hero-shell-simple .hero-actions .btn {
    flex: 0 0 auto;
  }

  .hero-shell.hero-shell-original .hero-actions .btn {
    flex: 0 0 auto;
  }

  .hero-shell.hero-shell-original .btn-primary {
    margin-top: 2.5rem;
  }

  .btn-ghost {
    padding: 0.74rem 1.05rem;
    font-size: 0.7rem;
  }

  .step-icon {
    width: 38px;
    height: 38px;
    top: 0.95rem;
    right: 0.95rem;
  }

  .conversation {
    padding-top: 6.2rem;
    padding-bottom: 8.2rem;
  }

  .conversation-panel {
    padding: 0;
  }

  .contact-form {
    width: 100%;
    padding: 0;
  }

  .footer-topline {
    padding-top: 0.98rem;
    margin-top: 0.45rem;
  }

  .footer-constellation {
    padding: 1rem 0.82rem 0.88rem;
    border-radius: 1.02rem;
  }

  .footer-cutout-nav {
    padding: 0;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.26rem;
  }

  .cutout-chip {
    flex: 0 0 auto;
    min-width: 3.45rem;
    padding: 0 0.44rem;
    min-height: 1.72rem;
    font-size: 0.51rem;
    letter-spacing: 0.12em;
  }

  .footer-guide-popout.is-open {
    max-height: 24rem;
    padding: 0.72rem 0.74rem 0.78rem;
  }

  .footer-guide-title {
    font-size: 0.98rem;
  }

  .footer-guide-copy {
    font-size: 0.66rem;
  }

  .footer-brand-meta {
    gap: 0.44rem;
  }

  .footer-brand-contact {
    font-size: 0.64rem;
  }

  .integrity-panel {
    border-radius: 0;
    padding: 0;
    min-height: 0;
  }

  .integrity-track {
    min-height: 74px;
    padding: 0.18rem 0.08rem;
    gap: 0.42rem;
    align-items: center;
  }

  .integrity-node {
    max-width: 2.45rem;
    border-radius: 0.78rem;
  }

  .integrity-node svg {
    width: 14px;
    height: 14px;
  }

  .footer-grid.footer-grid-bespoke {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .footer-grid-bespoke .footer-link {
    font-size: 0.66rem;
  }

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

  .footer-wordmark {
    font-size: 1.6rem;
  }

  .footer-legal {
    grid-template-columns: 1fr;
    gap: 0.3rem;
  }

  .footer-legal > :nth-child(2),
  .footer-legal > :nth-child(4) {
    justify-self: start;
    text-align: left;
  }

  .footer-legal-meta {
    justify-content: flex-start;
    flex-wrap: wrap;
    text-align: left;
  }

  body.terms-page .nav-wrap {
    width: calc(100% - 1rem);
    border-radius: 0.34rem;
    padding: 0.5rem 0.7rem;
  }

  body.terms-page .brand-text {
    font-size: 0.92rem;
    letter-spacing: 0.04em;
  }

  .terms-main {
    padding: 5.7rem 0 2.8rem;
  }

  .terms-doc {
    width: calc(100% - 1rem);
    padding: 1.15rem 0.92rem 1.2rem;
  }

  .terms-doc-inner {
    padding-left: 0.86rem;
  }

  .terms-section {
    margin-top: 1.02rem;
  }

  .terms-section h2 {
    font-size: 0.82rem;
  }

  .terms-section p {
    font-size: 0.76rem;
  }

  .terms-footer-shell {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.28rem;
  }
}

@media (max-width: 820px) and (orientation: portrait) {
  /* Create breathing space above the hero on portrait mobile; header stays at top */
  .site-header {
    top: 1.5rem; /* keep header at the top on mobile */
  }


  /* Make flip cards long enough to contain back copy on narrow portrait screens,
     improve legibility of front text, and re-enable decorative marks (scaled down). */
  .flip-card {
    min-height: 320px; /* increased so back content fits */
    border-radius: 1.2rem;
  }

  .flip-inner {
    min-height: 320px;
  }

  /* Avoid cards overflowing the viewport on narrow screens */
  .cards-grid {
    padding-inline: 0.8rem;
  }

  .flip-card {
    width: calc(100% - 1.6rem);
    margin: 0 auto;
    box-sizing: border-box;
  }

  /* Move front writing higher (approx 20% higher) */
  .face.front {
    padding-top: 1.7rem; /* reduced from 2.2rem */
    justify-content: center;
  }

  .flip-card h2 {
    font-size: clamp(1.3rem, 6.2vw, 2.1rem); /* larger, more readable front text */
    max-width: 100%;
    padding: 0 0.6rem;
  }

  /* Front copy slightly larger for readability; back copy smaller to fit */
  .face.front p {
    font-size: 0.95rem;
  }

  .face.back p {
    font-size: 0.78rem;
  }

  .back-copy p {
    font-size: 0.78rem;
  }

  /* Re-include decorative marks (logos) but smaller and repositioned for mobile */
  .card-mark {
    display: block;
    right: -40px;
    bottom: -62px;
    width: 180px;
    height: 180px;
    color: rgba(255, 255, 255, 0.06);
    pointer-events: none;
  }

  .card-mark.mark-objective {
    right: -32px;
    bottom: -58px;
    width: 200px;
    height: 200px;
    color: rgba(255, 255, 255, 0.07);
  }

  .card-mark.mark-engagement {
    right: -44px;
    bottom: -64px;
    width: 188px;
    height: 188px;
  }

  .card-mark.mark-delivery {
    right: -42px;
    bottom: -68px;
    width: 184px;
    height: 184px;
  }

  /* Slightly expand the middle (2nd) flip card so back copy fits */
  .cards-grid > .flip-card:nth-child(2) {
    min-height: 370px;
  }

  .cards-grid > .flip-card:nth-child(2) .flip-inner {
    min-height: 370px;
  }

  /* Ensure hero heading itself has a very large top margin so it's visually central below the header */
  .hero {
    padding-top: 4.4rem; /* reduced another ~10% (approx) */
  }

  .hero h1 {
    margin-top: 3.1rem; /* reduced another ~10% (approx) */
  }

  /* When a card is flipped on mobile, scale it up more noticeably to simulate a larger view */
  .cards-grid.has-active .flip-card.is-flipped {
    transform: translateY(-8px) scale(1.08);
    box-shadow: 0 38px 72px rgba(0, 0, 0, 0.66);
    z-index: 6;
  }
}

/* iPhone / very narrow portrait: ensure a lot of spacing above the hero */
@media (max-width: 420px) and (orientation: portrait) {
  .site-header {
    top: 1.5rem; /* header remains at the top on very small phones */
  }

  .hero {
    padding-top: 6.6rem; /* reduced another ~10% (approx) */
    min-height: calc(100vh - 2rem);
  }

  .hero h1 {
    margin-top: 4.4rem; /* reduced another ~10% (approx) */
    font-size: clamp(1.8rem, 8vw, 3.6rem);
  }

  /* keep flip cards sizing sensible on the smallest screens */
  .flip-card {
    min-height: 340px;
  }

  .flip-inner {
    min-height: 340px;
  }

  /* Prevent flip cards from crossing the screen edge on very small phones */
  .cards-grid {
    padding-inline: 0.75rem;
  }

  .flip-card {
    width: calc(100% - 1.5rem);
    margin: 0 auto;
    box-sizing: border-box;
  }

  /* Move front writing higher on the smallest phones (approx 20%) */
  .face.front {
    padding-top: 1.8rem; /* reduced from earlier larger value */
    justify-content: center;
  }

  /* Slightly expand middle engagement card on very small phones */
  .cards-grid > .flip-card:nth-child(2) {
    min-height: 400px;
  }

  .cards-grid > .flip-card:nth-child(2) .flip-inner {
    min-height: 400px;
  }

  /* Slightly shorter horizontally and thicker vertically on very small phones */
  .nav-wrap {
    width: calc(100% - 3.2rem);
    padding: 1.1rem 0.9rem;
    border-radius: 999px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .risk-evolution {
    display: none;
  }

  .integrity-node,
  .integrity-node::after {
    animation: none !important;
  }

  .footer-guide-popout,
  .footer-guide-popout.is-open,
  .footer-guide-popout.is-swapping-in .footer-guide-eyebrow,
  .footer-guide-popout.is-swapping-in .footer-guide-title,
  .footer-guide-popout.is-swapping-in .footer-guide-options,
  .footer-guide-popout.is-swapping-in .footer-guide-copy {
    transition: none !important;
    animation: none !important;
  }
}
