:root {
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --bg: #0b0b0b;
  --surface: #151515;
  --surface-strong: #151515;
  --accent: #b9323f;
  --accent-hover: #c83e48;
  --accent-ink: #ffffff;
  --brand-red: #c83e48;
  --brand-red-text: #e16a64;
  --ivory: #f5f2ea;
  --headline-cream: #f1ddb8;
  --ivory-soft: #ddd5c9;
  --muted: #b5ada2;
  --muted-deep: #928b82;
  --line: #2b2926;
  --line-strong: #413b35;
  --line-accent: rgb(200 62 72 / 58%);
  --page: 1320px;
  --wide: 1540px;
  --reading: 760px;
  --radius: 1.2rem;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  background: var(--bg);
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  overflow-x: clip;
  color: var(--ivory);
  background: var(--bg);
}

body::before {
  display: none;
}

a {
  color: inherit;
}

a:focus-visible {
  outline: 2px solid var(--ivory);
  outline-offset: 4px;
}

.hero,
.section,
[id] {
  scroll-margin-top: 6.5rem;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 1rem;
  left: 1rem;
  padding: 0.8rem 1rem;
  border-radius: 0.45rem;
  color: var(--bg);
  background: var(--ivory);
  font-weight: 800;
  transform: translateY(-180%);
  transition: transform 160ms ease;
}

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

.site-header {
  position: fixed;
  z-index: 30;
  top: 1rem;
  left: 50%;
  display: grid;
  width: min(100% - 3rem, var(--page));
  min-height: 64px;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
  padding-inline: 1.25rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgb(11 11 11 / 82%);
  box-shadow: 0 1.25rem 4rem rgb(0 0 0 / 35%);
  backdrop-filter: blur(22px) saturate(125%);
  transform: translateX(-50%);
}

.home-page .site-header {
  position: relative;
}

.brand,
.portal-link,
.site-header nav a,
.site-footer a {
  text-decoration: none;
}

.brand {
  display: inline-flex;
  width: max-content;
  min-height: 40px;
  align-items: center;
  gap: 0.72rem;
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand-name { display: inline-flex; }
.brand-name > span:last-child { color: var(--ivory); }

.brand-signal {
  position: relative;
  display: block;
  width: 0.76rem;
  height: 0.76rem;
  border: 1px solid var(--brand-red);
  border-radius: 50%;
}

.brand-signal::after {
  position: absolute;
  inset: 0.19rem;
  border-radius: 50%;
  background: var(--headline-cream);
  content: "";
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.site-header nav a,
.portal-link {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  padding-inline: 0.72rem;
  color: var(--muted);
  font-size: 0.75rem;
  transition: color 180ms ease, background 180ms ease;
}

.site-header nav a {
  border-radius: 999px;
}

.site-header nav a:hover,
.site-header nav a:focus-visible,
.portal-link:hover,
.portal-link:focus-visible {
  color: var(--ivory);
}

.site-header nav a:hover,
.site-header nav a:focus-visible {
  background: rgb(243 238 229 / 6%);
}

.portal-link {
  gap: 0.55rem;
  justify-self: end;
  padding: 0.25rem 0.3rem 0.25rem 0.82rem;
  border: 1px solid var(--accent);
  border-radius: 12px;
  color: var(--accent-ink);
  background: var(--accent);
  font-weight: 800;
}

.portal-link svg,
.button svg,
.portal-entry svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.portal-link svg {
  width: 32px;
  height: 32px;
  padding: 0.42rem;
  border-radius: 9px;
  background: rgb(11 11 11 / 12%);
}

.hero,
.section,
.site-footer {
  width: min(100% - 3rem, var(--page));
  margin-inline: auto;
}

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: max(760px, 100svh);
  grid-template-columns: minmax(0, 1.23fr) minmax(370px, 0.62fr);
  align-content: center;
  align-items: center;
  gap: clamp(3rem, 7vw, 7rem);
  padding: 10rem 0 8.5rem;
}

.home-page .hero {
  grid-template-columns: minmax(0, 1.55fr) minmax(350px, 1fr);
  align-items: start;
  gap: 3.5rem clamp(3rem, 6vw, 6rem);
  padding: 3.75rem 0 4.5rem;
}

.hero-aside {
  display: grid;
  min-width: 0;
  align-content: start;
  gap: 2rem;
}

.hero-emblem {
  container-type: inline-size;
  position: relative;
  width: min(100%, 410px);
  aspect-ratio: 1;
  overflow: clip;
  justify-self: center;
  color: var(--ivory);
  pointer-events: none;
}

.emblem-definitions { position: absolute; }

.emblem-space {
  position: absolute;
  inset: 0 0 1.8rem;
  perspective: 1000px;
  transform-style: preserve-3d;
}

.emblem-ring {
  position: absolute;
  transform-style: preserve-3d;
}

.emblem-ring-outer {
  inset: 2%;
  transform: rotateX(40deg) rotateY(-24deg) rotateZ(-32deg);
}

.emblem-ring-middle {
  inset: 13%;
  transform: rotateX(-48deg) rotateY(42deg) rotateZ(30deg);
}

.emblem-ring-inner {
  inset: 24%;
  transform: rotateX(-30deg) rotateY(-42deg) rotateZ(30deg);
}

.emblem-lamina {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  fill: url(#ring-red-edge);
}

.emblem-ring-outer .emblem-lamina { fill: url(#ring-cream-edge); }

.lamina-back { transform: translateZ(-1cqw); }
.lamina-1 { transform: translateZ(-0.75cqw); }
.lamina-2 { transform: translateZ(-0.5cqw); }
.lamina-3 { transform: translateZ(0); }
.lamina-4 { transform: translateZ(0.5cqw); }
.lamina-5 { transform: translateZ(0.75cqw); }
.lamina-front { transform: translateZ(1cqw); }

.emblem-core {
  position: absolute;
  inset: 39%;
  width: 22%;
  height: 22%;
  transform: translateZ(2px);
}

.emblem-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  color: var(--muted);
  font: 500 0.57rem ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.emblem-caption i { width: 3px; height: 3px; border-radius: 50%; background: var(--ivory); }


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

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0 0 1.35rem;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.eyebrow > span:first-child {
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: var(--brand-red);
}

.hero-copy > .eyebrow {
  color: var(--brand-red-text);
  font-size: 0.875rem;
}

.hero h1,
.system-statement h2,
.proof-intro h2,
.release-heading h2,
.portal-panel h2 {
  margin: 0;
  font-weight: 690;
  letter-spacing: -0.075em;
  line-height: 0.91;
}

.hero h1 {
  max-width: 960px;
  color: var(--ivory);
  font-size: clamp(3.4rem, 6.6vw, 7.1rem);
}

.hero h1 em {
  color: var(--ivory);
  font-style: italic;
}

.home-page .hero h1,
.home-page .hero h1 em {
  color: var(--headline-cream);
}

.home-page .hero-copy { padding-top: 3.5rem; }

.hero-intro {
  max-width: 690px;
  margin: 2rem 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.25vw, 1.12rem);
  line-height: 1.74;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2.25rem;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  padding: 0.85rem 1.3rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.79rem;
  font-weight: 800;
  text-decoration: none;
  transition: border-color 180ms ease, background 180ms ease, color 180ms ease, transform 240ms var(--ease-out);
}

.home-page .button {
  min-height: 56px;
  justify-content: space-between;
  border-radius: 14px;
}

.button svg {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
}

.button:active {
  transform: translateY(0) scale(0.98);
}

.button-primary {
  color: var(--accent-ink);
  background: var(--accent);
}

.home-page .button-primary {
  color: var(--accent-ink);
  background: var(--accent);
}

.home-page .button-primary svg { color: var(--accent-ink); }

.button-portal {
  border-color: var(--line-accent);
  color: var(--ivory);
  background: rgb(200 62 72 / 10%);
}

.button-portal svg { color: var(--ivory); }

.button-secondary {
  border-color: var(--line-strong);
  color: var(--ivory-soft);
  background: var(--surface);
}

.registry-head {
  display: flex;
  min-height: 54px;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid var(--line-strong);
  color: var(--muted-deep);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.registry-head span {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--ivory-soft);
}

.registry-head i {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--ivory);
}

.host-facts {
  position: relative;
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: 1px 0 0;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.host-facts::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 7rem;
  height: 1px;
  background: var(--line-strong);
  content: "";
}

.host-facts div {
  padding: 1.25rem 1.3rem;
  border-right: 1px solid var(--line);
}

.host-facts div:first-child { padding-left: 0; }
.host-facts div:last-child { border-right: 0; }

.host-facts dt {
  margin-bottom: 0.48rem;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.7rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.host-facts dd {
  margin: 0;
  color: var(--ivory-soft);
  font-size: 0.76rem;
}

.section {
  position: relative;
  isolation: isolate;
  padding-block: clamp(6rem, 11vw, 11rem);
}

.system-statement,
.proof-intro,
.release-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(300px, 0.56fr);
  column-gap: clamp(3rem, 8vw, 8rem);
  align-items: end;
}

.system-statement .eyebrow,
.proof-intro .eyebrow,
.release-heading .eyebrow {
  grid-column: 1 / -1;
}

.system-statement h2,
.proof-intro h2,
.release-heading h2 {
  font-size: clamp(3.4rem, 7.1vw, 7.2rem);
}

.system-statement > p:last-child,
.proof-intro > p:last-child,
.release-heading > p:last-child {
  max-width: 48ch;
  margin: 0 0 0.3rem;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.76;
}

.proof-copy small{
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.intelligence-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.5fr);
  gap: clamp(3rem, 8vw, 8rem);
  align-items: end;
}

.intelligence-heading h2 {
  max-width: 13ch;
  margin: 0;
  font-size: clamp(3.4rem, 7.1vw, 7.2rem);
  font-weight: 680;
  letter-spacing: -0.073em;
  line-height: 0.88;
}

.intelligence-heading h2 span { color: var(--ivory); }

.intelligence-heading > p {
  max-width: 48ch;
  margin: 0 0 0.3rem;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.76;
}

.intelligence-copy {
  display: flex;
  min-height: 280px;
  flex: 1;
  flex-direction: column;
  gap: 1.2rem;
  padding: clamp(1.5rem, 3vw, 3rem);
}

.intelligence-copy > small,
.intelligence-footer em {
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.72rem;
  font-style: normal;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.intelligence-copy > strong {
  max-width: 18ch;
  font-size: clamp(2rem, 3.4vw, 3.8rem);
  font-weight: 680;
  letter-spacing: -0.06em;
  line-height: 0.96;
}

.intelligence-copy > span:not(.intelligence-footer) {
  max-width: 54ch;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.72;
}

.intelligence-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: auto;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
}

.intelligence-footer a {
  min-height: 42px;
  color: var(--ivory);
  font-size: 0.78rem;
  font-weight: 760;
  text-decoration: none;
}

.intelligence-footer i { color: var(--ivory-soft); font-style: normal; }

.intelligence-note {
  max-width: 74ch;
  margin: clamp(3rem, 6vw, 6rem) 0 0 auto;
  padding-left: 2rem;
  border-left: 1px solid var(--line-strong);
  color: var(--muted);
  line-height: 1.75;
}

.intelligence-note strong { color: var(--ivory); }

.proof-section {
  padding-top: clamp(7rem, 14vw, 14rem);
}


.proof-intro h2 span,
.release-heading h2 span {
  color: var(--ivory);
}


.proof-project {
  min-width: 0;
}

.proof-copy {
  padding-top: 2rem;
}

.proof-copy h3 {
  margin: 1rem 0 1.1rem;
  font-size: clamp(2.5rem, 5vw, 5.4rem);
  font-weight: 680;
  letter-spacing: -0.068em;
  line-height: 0.91;
}

.proof-copy p {
  max-width: 52ch;
  margin: 0 0 1.35rem;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.72;
}

.proof-domain {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  color: var(--ivory-soft);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.74rem;
}

.destination-ledger {
  display: grid;
  grid-template-columns: minmax(280px, 0.6fr) minmax(0, 1.4fr);
  gap: clamp(3rem, 9vw, 9rem);
  margin-top: clamp(5rem, 10vw, 10rem);
  padding-top: 2rem;
  border-top: 1px solid var(--line-strong);
}

.ledger-heading {
  align-self: start;
}

.ledger-heading h3 {
  margin: 0;
  font-size: clamp(2.4rem, 4.5vw, 4.6rem);
  font-weight: 680;
  letter-spacing: -0.064em;
  line-height: 0.94;
}

.ledger-heading > p:last-child {
  max-width: 33ch;
  margin-top: 1.75rem;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

.release-section { padding-top: clamp(5rem, 9vw, 9rem); }

.portal-section {
  width: min(calc(100% - 2rem), var(--wide));
  padding-top: 3rem;
}

.portal-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 4rem;
  padding: clamp(3rem, 6vw, 6rem) 0;
  border-top: 1px solid var(--line-accent);
}

.portal-panel .eyebrow { color: var(--ivory-soft); }
.portal-panel .eyebrow > span:first-child { background: var(--accent); }

.portal-link:focus-visible,
.button-portal:focus-visible,
.portal-panel a:focus-visible { outline-color: var(--ivory); }

.portal-panel > div,
.portal-panel > a { position: relative; z-index: 2; }

.portal-panel h2 {
  max-width: 930px;
  font-size: clamp(3.3rem, 7vw, 7.4rem);
}

.portal-panel > div > p:last-child {
  max-width: 660px;
  margin: 2rem 0 0;
  color: var(--muted);
  line-height: 1.75;
}

.portal-panel > a.portal-entry {
  display: grid;
  width: min(100%, 380px);
  min-height: 112px;
  grid-template-columns: 52px minmax(0, 1fr) 28px;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.15rem;
  border: 1px solid var(--line-accent);
  border-radius: 18px;
  color: var(--ivory);
  background: var(--bg);
  text-decoration: none;
  transition: border-color 180ms ease, background 180ms ease, transform 240ms var(--ease-out);
}

.portal-entry-icon {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 14px;
  color: var(--accent-ink);
  background: var(--accent);
}

.portal-entry-icon svg { width: 23px; height: 23px; }

.portal-entry-copy {
  display: grid;
  gap: 0.35rem;
}

.portal-panel > a small {
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.portal-panel > a strong { font-size: 1rem; }

.portal-entry-arrow {
  display: grid;
  place-items: center;
  color: var(--ivory);
}

.portal-entry-arrow svg { width: 22px; height: 22px; }

.service-page .service-hero h1 span {
  display: block;
  margin-top: 0.22em;
  color: var(--ivory);
}

.service-summary {
  align-self: end;
  margin-bottom: 2rem;
  padding: clamp(1.5rem, 3vw, 2.5rem) 0 clamp(1.5rem, 3vw, 2.5rem) clamp(1.5rem, 3vw, 2.5rem);
  border-top: 1px solid var(--line-strong);
  border-left: 1px solid var(--line-strong);
  background: var(--surface);
}

.service-summary h2 {
  margin: 0;
  font-size: clamp(2rem, 3.4vw, 3.7rem);
  font-weight: 680;
  letter-spacing: -0.06em;
  line-height: 0.98;
}

.service-summary ul {
  display: grid;
  gap: 0;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}

.service-summary li {
  position: relative;
  padding: 1rem 1rem 1rem 1.35rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.6;
}

.service-summary li::before {
  position: absolute;
  top: 1.55rem;
  left: 0;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--ivory);
  content: "";
}

.service-section .system-statement h2 span,
.boundary-heading h2 span { color: var(--ivory); }

.boundary-columns small {
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.faq-grid h3 {
  margin: 4rem 0 1rem;
  font-size: clamp(1.4rem, 2.3vw, 2.2rem);
  font-weight: 680;
  letter-spacing: -0.04em;
  line-height: 1.04;
}

.faq-grid p,
.boundary-columns p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.72;
}

.boundary-heading {
  max-width: 1120px;
}

.boundary-heading h2 {
  margin: 0;
  font-size: clamp(3.4rem, 7.1vw, 7.2rem);
  font-weight: 680;
  letter-spacing: -0.073em;
  line-height: 0.9;
}

.boundary-columns {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(2rem, 8vw, 8rem);
  margin-top: clamp(5rem, 10vw, 9rem);
  padding-top: 2rem;
  border-top: 1px solid var(--line-strong);
}

.boundary-columns > article:last-child {
  padding-top: clamp(3rem, 8vw, 8rem);
}

.boundary-columns h3 {
  max-width: 20ch;
  margin: 2rem 0 1.3rem;
  font-size: clamp(2rem, 3.6vw, 3.9rem);
  font-weight: 680;
  letter-spacing: -0.06em;
  line-height: 0.98;
}

.boundary-columns strong {
  display: block;
  margin-top: 2rem;
  color: var(--ivory-soft);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: clamp(5rem, 10vw, 9rem);
  border-top: 1px solid var(--line-strong);
}

.faq-grid > article {
  min-height: 250px;
  padding: clamp(1.5rem, 3vw, 3rem) clamp(1.5rem, 4vw, 4rem);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.faq-grid h3 { margin-top: 0; }

.portal-actions {
  position: relative;
  z-index: 2;
  display: grid;
  width: min(100%, 360px);
  gap: 0;
}

.portal-actions > a {
  display: grid;
  min-height: 116px;
  align-content: center;
  grid-template-columns: 1fr auto;
  padding: 1.25rem;
  border-top: 1px solid var(--accent);
  color: var(--ivory);
  text-decoration: none;
}

.portal-actions > a:last-child { border-bottom: 1px solid var(--line-accent); }
.portal-actions > a small { grid-column: 1; color: var(--muted); font-size: 0.7rem; text-transform: uppercase; }
.portal-actions > a strong { grid-column: 1; margin-top: 0.45rem; }
.portal-actions > a span { grid-column: 2; grid-row: 1 / span 2; align-self: center; color: var(--ivory); font-size: 1.4rem; }

.portal-panel > .portal-actions { align-self: end; }

.site-footer {
  display: grid;
  grid-template-columns: auto minmax(240px, 1fr) auto;
  align-items: center;
  gap: 2.5rem;
  min-height: 170px;
  color: var(--muted-deep);
  font-size: 0.74rem;
}

.site-footer p {
  max-width: 520px;
  margin: 0;
  line-height: 1.6;
}

.site-footer nav {
  display: flex;
  gap: 0.4rem;
}

.site-footer nav a {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  padding-inline: 0.65rem;
  color: var(--muted);
}

.site-footer > span {
  grid-column: 1 / -1;
  padding: 1.2rem 0;
  border-top: 1px solid var(--line);
  text-align: right;
}

@media (hover: hover) and (pointer: fine) {
  .button:hover,
  .button:focus-visible { transform: translateY(-3px); }

  .button-primary:hover,
  .button-primary:focus-visible { background: var(--accent-hover); }

  .home-page .button-primary:hover,
  .home-page .button-primary:focus-visible {
    color: var(--accent-ink);
    background: var(--accent-hover);
  }

  .button-portal:hover,
  .button-portal:focus-visible {
    border-color: var(--accent);
    color: white;
    background: rgb(200 62 72 / 18%);
  }

  .portal-link:hover,
  .portal-link:focus-visible {
    color: var(--accent-ink);
    background: var(--accent-hover);
    box-shadow: 0 0 0 3px rgb(200 62 72 / 20%);
  }

  .button-secondary:hover,
  .button-secondary:focus-visible {
    border-color: var(--muted);
    color: var(--ivory);
    background: var(--surface);
  }

  .portal-panel > a:hover,
  .portal-panel > a:focus-visible {
    border-color: var(--accent);
    background: #1e1a18;
    transform: translateY(-3px);
  }

  .site-footer nav a:hover,
  .site-footer nav a:focus-visible { color: var(--ivory); }
}

@keyframes orbit {
  to { transform: rotate(360deg); }
}

@keyframes orbit-outer {
  from { transform: rotateX(40deg) rotateY(-24deg) rotateZ(-32deg); }
  to { transform: rotateX(400deg) rotateY(-24deg) rotateZ(328deg); }
}

@keyframes orbit-middle {
  from { transform: rotateX(-48deg) rotateY(42deg) rotateZ(30deg); }
  to { transform: rotateX(-48deg) rotateY(-318deg) rotateZ(-330deg); }
}

@keyframes orbit-inner {
  from { transform: rotateX(-30deg) rotateY(-42deg) rotateZ(30deg); }
  to { transform: rotateX(-30deg) rotateY(318deg) rotateZ(390deg); }
}

@keyframes header-in {
  from { opacity: 0; transform: translate(-50%, -1rem); }
  to { opacity: 1; transform: translate(-50%, 0); }
}

@keyframes hero-in {
  from { opacity: 0; transform: translateY(1.35rem); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes rise-in {
  from { opacity: 0; transform: translateY(2rem); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes line-in {
  from { opacity: 0.15; transform: scaleX(0.04); }
  to { opacity: 1; transform: scaleX(1); }
}

@keyframes path-in {
  from { opacity: 0.15; transform: rotate(var(--line-angle)) scaleX(0.04); }
  to { opacity: 1; transform: rotate(var(--line-angle)) scaleX(1); }
}

@keyframes image-in {
  from { opacity: 0.35; clip-path: inset(16% 9% 16% 9% round 1.2rem); }
  to { opacity: 1; clip-path: inset(0 0 0 0 round 1.2rem); }
}

@media (prefers-reduced-motion: no-preference) {
  .emblem-ring-outer { animation: orbit-outer 72s linear infinite; }
  .emblem-ring-middle { animation: orbit-middle 54s linear infinite; }
  .emblem-ring-inner { animation: orbit-inner 42s linear infinite; }
  .site-header { animation: header-in 720ms var(--ease-out) both; }
  .hero-copy > *,
  .host-facts { opacity: 0; animation: hero-in 760ms var(--ease-out) forwards; }
  .hero-copy > :nth-child(1) { animation-delay: 80ms; }
  .hero-copy > :nth-child(2) { animation-delay: 150ms; }
  .hero-copy > :nth-child(3) { animation-delay: 235ms; }
  .hero-copy > :nth-child(4) { animation-delay: 320ms; }

  .host-facts { animation-delay: 430ms; }

  @supports (animation-timeline: view()) {

    .system-statement,
    .proof-intro,
    .proof-copy,
    .destination-ledger,
    .release-heading,
    .portal-panel > * {
      animation: rise-in linear both;
      animation-timeline: view();
      animation-range: entry 2% cover 23%;
    }

  }
}

@media (max-width: 1100px) {
  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 5rem;
    padding-top: 11rem;
  }

  .hero-copy { max-width: 940px; }
  .home-page .hero-copy { padding-top: 0; }
  .home-page .hero { grid-template-columns: 1fr; gap: 4rem; padding: 7.5rem 0 4.5rem; }
  .hero-aside { display: contents; }
  .hero-emblem { position: absolute; top: 2rem; right: 1rem; width: clamp(130px, 23vw, 220px); }
  .emblem-caption { display: none; }
  .emblem-space { inset: 0; }

  .service-summary { width: min(100%, 760px); margin-bottom: 0; }

  .system-statement,
  .intelligence-heading,
  .proof-intro,
  .release-heading { grid-template-columns: 1fr; }

  .system-statement h2,
  .intelligence-heading h2,
  .proof-intro h2,
  .release-heading h2 { margin-bottom: 2rem; }

  .portal-panel { grid-template-columns: 1fr; }
  .portal-actions { justify-self: end; }
}

@media (min-width: 901px) {
  .ledger-heading { position: sticky; top: 8rem; }
}

@media (max-width: 900px) {
  .site-header { grid-template-columns: auto minmax(0, 1fr) auto; gap: 0.5rem; }
  .site-header nav {
    min-width: 0;
    justify-content: flex-start;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .site-header nav::-webkit-scrollbar { display: none; }
  .site-header nav a { white-space: nowrap; }

  .portal-link-label { font-size: 0.75rem; }

  .host-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .host-facts div:nth-child(2) { border-right: 0; }
  .host-facts div:nth-child(-n + 2) { border-bottom: 1px solid var(--line); }

  .destination-ledger { grid-template-columns: 1fr; }

  .boundary-columns { grid-template-columns: 1fr; }
  .boundary-columns > article:last-child { padding-top: 1rem; }

  .release-section { min-height: auto; }

  .site-footer { grid-template-columns: auto 1fr; }
  .site-footer p { justify-self: end; text-align: right; }
  .site-footer nav { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  .hero,
  .section,
  .site-footer,
  .site-header { width: min(100% - 2rem, var(--page)); }

  .site-header {
    top: 0.6rem;
    min-height: 58px;
    grid-template-columns: 1fr auto auto;
    gap: 0.2rem;
    padding: 0.4rem 0.45rem 0.4rem 0.85rem;
    border-radius: 16px;
  }

  .site-header nav { overflow: visible; }
  .site-header nav a { display: none; }
  .site-header nav a[href="#live-sites"] {
    display: inline-flex;
    padding-inline: 0.65rem;
    font-size: 0.75rem;
  }

  .portal-link {
    width: 42px;
    min-height: 42px;
    justify-content: center;
    padding: 0;
    border-radius: 12px;
  }

  .portal-link-label { display: none; }
  .portal-link svg { width: 20px; height: 20px; padding: 0; background: none; }

  .hero {
    min-height: auto;
    align-content: start;
    gap: 3rem;
    padding: 4.4rem 0 4rem;
  }

  .home-page .hero { gap: 3rem; padding: 4.4rem 0 4rem; }
  .hero-emblem { top: 5.6rem; right: 0; width: clamp(64px, calc(36vw - 50px), 105px); }
  .hero h1 { font-size: clamp(2.9rem, 12.5vw, 3.7rem); letter-spacing: -0.058em; line-height: 0.96; }
  .hero-intro { margin-top: 1.45rem; line-height: 1.58; }
  .hero-actions { display: grid; gap: 0.65rem; margin-top: 1.65rem; }
  .hero-actions,
  .hero-actions .button { width: 100%; }
  .home-page .button { min-height: 52px; padding-inline: 1rem; }

  .host-facts { grid-template-columns: 1fr; }
  .host-facts div,
  .host-facts div:nth-child(2) { padding-left: 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .host-facts div:last-child { border-bottom: 0; }

  .section { padding-block: 6.5rem; }


  .system-statement h2,
  .intelligence-heading h2,
  .proof-intro h2,
  .release-heading h2 { font-size: clamp(3rem, 14vw, 4.6rem); }

  .system-statement br,
  .intelligence-heading br,
  .proof-intro br,
  .release-heading br { display: none; }

  .intelligence-copy { min-height: 250px; padding: 1.4rem; }
  .intelligence-footer { align-items: flex-start; flex-direction: column; }
  .intelligence-note { margin-top: 3rem; padding-left: 1rem; }

  .proof-copy h3 { font-size: clamp(2.7rem, 12vw, 4rem); }

  .proof-copy h3 br { display: none; }

  .destination-ledger { gap: 3rem; margin-top: 9rem; }
  .ledger-heading h3 br:last-of-type { display: none; }

  .portal-section { width: calc(100% - 1rem); padding-top: 2rem; }
  .portal-panel { min-height: auto; gap: 3rem; padding: 4rem 1.3rem; }
  .portal-panel h2 { font-size: clamp(3.1rem, 14vw, 4.8rem); }
  .portal-panel > a.portal-entry { width: 100%; min-height: 100px; }
  .portal-actions { width: 100%; justify-self: stretch; }

  .service-summary { padding: 1.4rem 0 1.4rem 1.4rem; }
  .service-summary h2 { font-size: clamp(2.3rem, 11vw, 3.6rem); }

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

  .faq-grid > article { min-height: auto; }
  .boundary-heading h2 { font-size: clamp(3rem, 14vw, 4.6rem); }
  .boundary-heading br { display: none; }

  .site-footer { grid-template-columns: 1fr; align-items: start; gap: 1.25rem; padding-block: 2.5rem; }
  .site-footer p { justify-self: start; text-align: left; }
  .site-footer nav { grid-column: 1; flex-wrap: wrap; }
  .site-footer > span { grid-column: 1; text-align: left; }
}

@media (forced-colors: active) {
  .hero h1 em {
    color: CanvasText;
    background: none;
    -webkit-text-stroke: 0;
  }

}

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

  body::before,
  .emblem-ring,
  .registry-head i,
  .hero h1 em,
  .host-facts::before,
  .site-header,
  .hero-copy > *,
  .host-facts,
  .system-statement,
  .proof-intro,
  .proof-copy,
  .destination-ledger,
  .release-heading,
  .portal-panel > * {
    animation: none !important;
    opacity: 1;
    clip-path: none;
  }

  .site-header { transform: translateX(-50%); }

  .button:hover,
  .button:focus-visible,
  .portal-panel > a:hover,
  .portal-panel > a:focus-visible { transform: none; }


  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* Content-led layout: product images and typography without diagram furniture. */
.section-label {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
  color: var(--brand-red-text);
  font: 600 0.875rem ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-label::before {
  flex: 0 0 2rem;
  height: 1px;
  background: var(--brand-red);
  content: "";
}
.address-registry { min-width: 0; }
.address-registry > a { display: grid; min-height: 82px; grid-template-columns: minmax(0, 1fr) 24px; align-content: center; align-items: center; gap: 0.4rem 1rem; border-bottom: 1px solid var(--line); text-decoration: none; }
.address-registry > a strong { grid-column: 1; font-size: 0.9rem; letter-spacing: -0.02em; overflow-wrap: anywhere; }
.address-registry > a small { grid-column: 1; color: var(--muted); font-size: 0.8rem; }
.address-registry > a b { grid-column: 2; grid-row: 1 / span 2; justify-self: end; color: var(--ivory-soft); font-size: 1rem; font-weight: 400; }
.address-registry > p { margin: 1rem 0 0; color: var(--muted); font-size: 0.8rem; line-height: 1.6; }
.host-facts div { border-right: 0; }
.hosting-editorial { display: grid; grid-template-columns: minmax(0, 1.16fr) minmax(300px, 0.56fr); align-items: start; gap: clamp(3rem, 8vw, 8rem); margin-top: clamp(3.5rem, 7vw, 7rem); }
.hosting-editorial h3 { max-width: 22ch; margin: 0; color: var(--ivory-soft); font-size: clamp(1.9rem, 3.5vw, 3.5rem); font-weight: 500; letter-spacing: -0.04em; line-height: 1.12; }
.hosting-editorial p { margin: 0 0 1.4rem; color: var(--muted); font-size: 1rem; line-height: 1.75; }
.intelligence-pair { display: grid; gap: clamp(4rem, 8vw, 8rem); margin-top: clamp(4rem, 8vw, 8rem); }
.intelligence-feature { display: grid; min-width: 0; grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.75fr); align-items: center; gap: clamp(2rem, 5vw, 5rem); }
.intelligence-feature-evan { grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.4fr); }
.intelligence-feature-evan .intelligence-image { grid-column: 2; grid-row: 1; }
.intelligence-feature-evan .intelligence-copy { grid-column: 1; grid-row: 1; }
.intelligence-image { display: block; min-width: 0; }
.intelligence-image img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; object-position: left top; }
.intelligence-copy { min-width: 0; min-height: 0; gap: 1.25rem; padding: 0; }
.intelligence-copy > strong { font-size: clamp(2rem, 3.2vw, 3.4rem); }
.intelligence-copy > span:not(.intelligence-footer), .proof-copy p { font-size: 1rem; }
.intelligence-footer a { display: inline-flex; align-items: center; gap: 0.6rem; font-size: 0.875rem; }
.intelligence-note { padding-left: 0; border-left: 0; font-size: 1rem; }
.proof-stage { display: grid; width: 100%; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 3rem; margin-top: clamp(4rem, 8vw, 8rem); }
.proof-featured { grid-column: 1 / -1; }
.proof-featured .proof-copy { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr); column-gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.proof-featured .proof-copy small { grid-column: 1; }
.proof-featured .proof-copy h3 { grid-column: 1; grid-row: 2; }
.proof-featured .proof-copy p { grid-column: 2; grid-row: 2; margin-top: 1rem; }
.proof-featured .proof-copy .proof-domain { grid-column: 2; grid-row: 3; }
.proof-portrait { grid-column: 1 / 7; margin-top: 4rem; }
.proof-landscape { grid-column: 7 / -1; margin-top: 9rem; }
.proof-image { display: block; min-width: 0; color: var(--ivory); text-decoration: none; }
.proof-image img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; object-position: left top; }
.proof-image > span { display: flex; min-height: 44px; align-items: center; justify-content: flex-end; gap: 0.55rem; color: var(--ivory-soft); font-size: 0.82rem; }
.proof-image > span b { font-weight: 400; }
.proof-copy { padding-top: 0.75rem; }
.proof-copy small { color: var(--muted); font: 500 0.8rem ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: 0.07em; text-transform: uppercase; }
.ledger-links a { display: grid; min-height: 76px; grid-template-columns: minmax(0, 1fr) minmax(150px, 0.8fr) 24px; align-items: center; gap: 1.25rem; border-bottom: 1px solid var(--line); text-decoration: none; }
.ledger-group { margin: 3rem 0 0; padding-bottom: 1rem; color: var(--muted); font: 600 0.8rem ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: 0.12em; text-transform: uppercase; }
.ledger-group:first-child { margin-top: 0; }
.ledger-links strong { font-size: 1rem; font-weight: 600; }
.ledger-links small { overflow-wrap: anywhere; color: var(--muted); font-size: 0.8rem; }
.ledger-links b { color: var(--ivory-soft); font-size: 1rem; font-weight: 400; }
.release-note { display: grid; max-width: 780px; grid-template-columns: 1fr 1fr; gap: 2.5rem; margin: 3rem 0 0 auto; }
.release-note p { margin: 0; color: var(--muted); font-size: 1rem; line-height: 1.75; }
.portal-section { width: min(100% - 3rem, var(--page)); }
.service-grid { display: grid; gap: 0; margin-top: clamp(3rem, 6vw, 6rem); }
.service-grid article { display: grid; grid-template-columns: minmax(0, 0.75fr) minmax(0, 1fr); gap: 0.8rem 4rem; padding: 2rem 0; border-bottom: 1px solid var(--line); }
.service-grid small { grid-column: 1; color: var(--muted); font-size: 0.8rem; }
.service-grid h3 { grid-column: 1; margin: 0; font-size: 1.75rem; letter-spacing: -0.03em; }
.service-grid p { grid-column: 2; grid-row: 1 / span 2; margin: 0; color: var(--muted); font-size: 1rem; line-height: 1.75; }

/* One red, white, and cream system for public content and customer access. */
.intelligence-copy > small,
.service-grid small,
.boundary-columns small,
.ledger-group {
  color: var(--brand-red-text);
  font-size: 0.875rem;
}

@media (max-width: 1100px) {
  .hosting-editorial { grid-template-columns: 1fr; gap: 2rem; }
  .hosting-editorial > div { max-width: 66ch; }
  .intelligence-feature, .intelligence-feature-evan { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 2rem; }
  .intelligence-copy > strong { font-size: clamp(1.8rem, 3.4vw, 2.7rem); }
  .proof-stage { grid-template-columns: 1fr 1fr; gap: 3rem 2rem; }
  .proof-portrait { grid-column: 1; margin-top: 1rem; }
  .proof-landscape { grid-column: 2; margin-top: 5rem; }
  .portal-panel { grid-template-columns: 1fr; gap: 2rem; }
  .portal-panel > a.portal-entry { width: min(100%, 380px); }
}
@media (max-width: 700px) {
  .intelligence-feature, .intelligence-feature-evan { grid-template-columns: 1fr; gap: 1.75rem; }
  .intelligence-feature-evan .intelligence-image, .intelligence-feature-evan .intelligence-copy { grid-column: auto; grid-row: auto; }
  .intelligence-copy > strong { max-width: 20ch; font-size: 2.25rem; }
  .intelligence-copy { gap: 1rem; }
  .intelligence-footer { margin-top: 0; }
  .proof-stage { display: block; }
  .proof-featured .proof-copy { display: block; }
  .proof-portrait, .proof-landscape { margin-top: 4rem; }
  .proof-copy h3 { font-size: 2.75rem; }
  .proof-featured .proof-copy p { margin-top: 0; }
  .proof-domain { font-size: 0.8rem; overflow-wrap: anywhere; }
  .release-note { grid-template-columns: 1fr; gap: 1.5rem; margin-top: 2rem; }
  .service-grid article { grid-template-columns: 1fr; gap: 0.8rem; }
  .service-grid p { grid-column: 1; grid-row: auto; }
  .ledger-links a { grid-template-columns: minmax(0, 1fr) 24px; gap: 0.4rem 0.75rem; padding-block: 1rem; }
  .ledger-links strong, .ledger-links small { grid-column: 1; }
  .ledger-links b { grid-column: 2; grid-row: 1 / span 2; }
  .portal-section { width: calc(100% - 2rem); }
}

/* Carry the approved cream and the open editorial rhythm through both routes. */
.section { padding-block: clamp(4rem, 7vw, 7rem); }
.section:not(.portal-section) h2,
.section:not(.portal-section) h2 span,
.section:not(.portal-section) h3,
.service-page .service-hero h1,
.service-page .service-hero h1 span { color: var(--headline-cream); }
.system-statement h2,
.intelligence-heading h2,
.proof-intro h2,
.release-heading h2,
.boundary-heading h2 {
  font-size: clamp(2.75rem, 5.5vw, 5.75rem);
  letter-spacing: -0.06em;
  line-height: 0.98;
}
.intelligence-heading h2 { max-width: 17ch; }
.system-statement > p:last-child,
.proof-intro > p:last-child,
.release-heading > p:last-child,
.intelligence-heading > p,
.boundary-columns p,
.faq-grid p,
.service-summary li { font-size: 1rem; }
.faq-grid { display: block; margin-top: 3rem; }
.faq-grid > article {
  display: grid;
  min-height: 0;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
  gap: 3rem;
  padding: 2rem 0;
  border-right: 0;
}
.faq-grid h3 { margin: 0; font-size: 1.5rem; line-height: 1.2; }
.service-summary { padding-left: 2rem; background: transparent; }
.service-summary li { padding-inline: 0; }
.service-summary li::before { content: none; }
@media (max-width: 700px) {
  .section { padding-block: 3.5rem; }
  .faq-grid > article { grid-template-columns: 1fr; gap: 1rem; }
  .service-summary { padding-left: 0; border-left: 0; }
}
