/* Approved cinematic Marbell homepage translated from the private Permission Field proof. */
:root {
  color-scheme: dark;
  --color-bg: #03060e;
  --color-surface: #0f172a;
  --color-surface-raised: #172033;
  --color-text: #f8fafc;
  --color-muted: #a5b1c5;
  --color-hairline: #475569;
  --color-coral: #f47853;
  --color-magenta: #d11c68;
  --color-focus: #f8fafc;
  --font-primary: var(--font-outfit, "Outfit"), "Avenir Next", "Segoe UI", sans-serif;
  --font-technical: var(--font-space-mono, "Space Mono"), "SFMono-Regular", Consolas, monospace;
  --header-height: 104px;
  --page-pad: clamp(1.5rem, 4vw, 4.5rem);
  --grid-gap: 24px;
  --content-max: 1920px;
  --ease-settle: cubic-bezier(0.23, 1, 0.32, 1);
  --duration-fast: 160ms;
}

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

html {
  min-width: 320px;
  overflow-x: clip;
  background: #03060e;
  color: #f8fafc;
  scroll-padding-top: calc(var(--header-height) + 24px);
  -webkit-font-smoothing: antialiased;
}

button,
a,
summary {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

h1,
h2,
h3,
p,
figure,
dl,
ol {
  margin: 0;
}

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

.visually-hidden,
.motion-proof-status {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

:root {
  --bg: #03060e;
  --surface: #0f172a;
  --text: #f8fafc;
  --muted: #a5b1c5;
  --coral: #f47853;
  --magenta: #d11c68;
  --font: var(--font-outfit, "Outfit"), "Avenir Next", "Segoe UI", sans-serif;
  --technical: var(--font-space-mono, "Space Mono"), "SFMono-Regular", Consolas, ui-monospace, monospace;
  --gutter: clamp(1.5rem, 4vw, 4.5rem);
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

html,
body {
  margin: 0;
  overflow-x: clip;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
}

body { min-width: 320px; }

a { color: inherit; }

.skip {
  position: fixed;
  z-index: 20;
  top: 0;
  left: var(--gutter);
  padding: 0.75rem 1rem;
  background: var(--text);
  color: var(--bg);
  transform: translateY(-120%);
}

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

.site-header {
  position: absolute;
  z-index: 8;
  inset: 0 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  min-height: 6.5rem;
  padding: 0 var(--gutter);
}

.brand img {
  display: block;
  width: 9.6rem;
  height: auto;
}

.nav {
  display: flex;
  justify-content: center;
  gap: clamp(1.25rem, 2.5vw, 2.75rem);
  color: rgba(248, 250, 252, 0.7);
  font-size: 0.94rem;
}

.nav a,
.portal {
  text-decoration: none;
  transition: color 140ms var(--ease);
}

.nav a:hover,
.portal:hover { color: var(--text); }

.portal {
  color: rgba(248, 250, 252, 0.82);
  font-size: 0.9rem;
  white-space: nowrap;
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: 56.25rem;
  height: 100svh;
  overflow: hidden;
}

.hero-media,
.hero-shade,
.hero-grain,
.refused-route {
  position: absolute;
}

.hero-media,
.hero-shade,
.hero-grain {
  inset: 0;
}

.hero-media {
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.012);
  filter: saturate(0.88) contrast(1.04);
}

.hero-shade {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(3, 6, 14, 0.99) 0%, rgba(3, 6, 14, 0.91) 23%, rgba(3, 6, 14, 0.26) 55%, rgba(3, 6, 14, 0.04) 100%),
    linear-gradient(180deg, rgba(3, 6, 14, 0.76) 0%, transparent 25%, transparent 75%, rgba(3, 6, 14, 0.72) 100%);
}

.hero-grain {
  z-index: -1;
  opacity: 0.055;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
  pointer-events: none;
}

.refused-route {
  display: none;
  z-index: 1;
  top: 47%;
  left: 57%;
  width: 9.5%;
  height: 1px;
  background: linear-gradient(90deg, rgba(209, 28, 104, 0.16), #df216f 58%, #ff4c98);
  box-shadow: 0 0 0.5rem rgba(209, 28, 104, 0.38);
  transform: rotate(-4deg);
  transform-origin: right center;
  pointer-events: none;
}

.refused-route::after {
  position: absolute;
  top: 50%;
  right: -0.2rem;
  width: 0.38rem;
  height: 0.38rem;
  border: 1px solid rgba(255, 198, 220, 0.85);
  border-radius: 50%;
  background: #ed2c7d;
  box-shadow: 0 0 0.72rem rgba(237, 44, 125, 0.72);
  content: "";
  transform: translateY(-50%);
}

[data-variant="b"] .refused-route { display: block; }

.hero-inner {
  display: grid;
  align-items: end;
  width: min(100%, 120rem);
  height: 100%;
  margin: 0 auto;
  padding: 9rem var(--gutter) clamp(4rem, 8vh, 7rem);
}

.hero-copy { width: min(42rem, 48vw); }

.kicker {
  margin: 0 0 1.5rem;
  color: rgba(248, 250, 252, 0.66);
  font: 400 0.75rem/1.4 var(--technical);
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

h1 {
  max-width: 11ch;
  margin: 0;
  font-size: clamp(4.25rem, 6.1vw, 7.5rem);
  font-weight: 400;
  letter-spacing: -0.052em;
  line-height: 1;
  text-wrap: balance;
}

h1 .accent { color: #f38a61; }

.lede {
  max-width: 36rem;
  margin: 2rem 0 2.25rem;
  color: var(--muted);
  font-size: clamp(1.15rem, 1.4vw, 1.38rem);
  line-height: 1.48;
}

.primary-action {
  display: inline-flex;
  align-items: center;
  min-height: 3.75rem;
  gap: 2.25rem;
  padding: 0 1.5rem;
  border: 1px solid var(--coral);
  border-radius: 0.25rem;
  background: var(--coral);
  color: #120804;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 120ms var(--ease), background-color 140ms var(--ease);
}

/* The Outfit arrow glyph renders thin and low, so the arrow is drawn:
   a stroked SVG used as a mask in the button's text colour, sized to sit
   level with the label and match its 600 weight. The "→" stays in the
   markup (aria-hidden) as the no-mask fallback. */
.primary-action > span[aria-hidden="true"],
.secondary-action > span[aria-hidden="true"] {
  display: inline-block;
  flex: none;
  width: 1.375em;
  height: 1.03em;
  overflow: hidden;
  font-size: inherit;
  line-height: 1;
  white-space: nowrap;
  text-indent: 200%;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 18' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 9h19M14 2.5 21 9l-7 6.5'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 18' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 9h19M14 2.5 21 9l-7 6.5'/%3E%3C/svg%3E") center / contain no-repeat;
}
.primary-action:hover { background: #ff9069; }
.primary-action:active { transform: scale(0.97); }

.secondary-action {
  --action-ink: var(--text);
  --action-border: var(--coral);
  --action-hover-bg: var(--coral);
  --action-hover-ink: #160b09;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 3.25rem;
  max-width: 100%;
  padding: 0.75rem 1.25rem;
  border: 1px solid var(--action-border);
  border-radius: 0.25rem;
  background: transparent;
  color: var(--action-ink);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
  transition: color 140ms var(--ease), background-color 140ms var(--ease), transform 120ms var(--ease);
}

.company-section .secondary-action,
.access-section .secondary-action {
  --action-ink: #160b09;
  --action-border: #160b09;
  --action-hover-bg: #160b09;
  --action-hover-ink: var(--text);
}

@media (hover: hover) and (pointer: fine) {
  .secondary-action:hover {
    color: var(--action-hover-ink);
    background: var(--action-hover-bg);
  }
}

.secondary-action:active { transform: translateY(1px); }
.secondary-action > span:first-child { min-width: 0; overflow-wrap: anywhere; }
.secondary-action:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }

.primary-action:focus-visible,
.nav a:focus-visible,
.portal:focus-visible,
.variant-picker button:focus-visible {
  outline: 2px solid var(--text);
  outline-offset: 4px;
}

.hero-aside {
  position: absolute;
  right: var(--gutter);
  bottom: clamp(3.8rem, 7vh, 6rem);
  width: min(17rem, 23vw);
  margin: 0;
  color: rgba(248, 250, 252, 0.66);
  font: 400 0.72rem/1.65 var(--technical);
  letter-spacing: 0.035em;
}

.hero-aside strong {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--text);
  font: 500 1rem/1.35 var(--font);
  letter-spacing: 0;
}


.section-frame {
  width: min(100%, 120rem);
  margin: 0 auto;
}

.section-label,
.step-number,
.ledger-label {
  color: rgba(248, 250, 252, 0.58);
  font: 400 0.72rem/1.5 var(--technical);
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

/* tastemaker · critique: ShowTell 5 · Phil 5 · Hier 4 · Spec 5 · Restr 4 · Var 4 */

.foundation-section,
.evidence-section,
.company-section {
  padding-right: var(--gutter);
  padding-left: var(--gutter);
}

.foundation-section { padding-top: clamp(6rem, 8vw, 8rem); padding-bottom: clamp(6rem, 8vw, 8rem); background: #080c14; }
.foundation-grid {
  display: grid;
  grid-template-columns: minmax(18rem, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(3rem, 8vw, 8rem);
  align-items: start;
}

.foundation-copy { display: grid; align-content: start; gap: 1.5rem; }
.foundation-copy h2 { max-width: 9ch; font-size: clamp(2.5rem, 4vw, 4.25rem); }
.foundation-copy p:not(.section-label) { max-width: 29rem; margin: 0; color: var(--muted); font-size: 1rem; line-height: 1.55; }
.foundation-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid rgba(248, 250, 252, 0.72); }
.foundation-option { display: grid; grid-template-columns: 2.5rem 1fr; gap: 1rem; padding: 1.75rem 2rem 2rem 0; border-bottom: 1px solid rgba(165, 177, 197, 0.22); }
.foundation-option + .foundation-option { padding-right: 0; padding-left: 2rem; border-left: 1px solid rgba(165, 177, 197, 0.22); }
.foundation-option span { color: var(--coral); font: 400 0.72rem/1.5 var(--technical); }
.foundation-option h3 { margin: 0 0 0.75rem; color: var(--text); font-size: 1.4rem; font-weight: 500; }
.foundation-option p { margin: 0; color: var(--muted); font-size: 1rem; line-height: 1.55; }

.evidence-section { padding-top: clamp(6rem, 8vw, 8rem); padding-bottom: clamp(6rem, 8vw, 8rem); background: #070b14; }
.evidence-grid { display: grid; grid-template-columns: minmax(13rem, 0.65fr) minmax(20rem, 1fr) minmax(17rem, 0.85fr); gap: clamp(2.5rem, 5vw, 5.5rem); align-items: start; }
.evidence-title { max-width: 9ch; margin: 1.5rem 0 0; font-size: clamp(2.3rem, 3.5vw, 3.75rem); font-weight: 400; letter-spacing: -0.045em; line-height: 1.03; }
.reading {
  display: grid;
  gap: 1.25rem;
  padding: 1.5rem 0 2rem;
  border-top: 1px solid rgba(248, 250, 252, 0.72);
  border-bottom: 1px solid rgba(165, 177, 197, 0.22);
  text-decoration: none;
}

.reading > span:first-child { color: var(--coral); font: 400 0.72rem/1.4 var(--technical); letter-spacing: 0.1em; text-transform: uppercase; }
.reading strong { max-width: 18ch; font-size: clamp(1.7rem, 2.4vw, 2.5rem); font-weight: 400; line-height: 1.1; }
.reading p { max-width: 34rem; margin: 0; color: var(--muted); font-size: 1rem; line-height: 1.55; }
.reading > span:last-child { color: var(--text); }
.heritage { max-width: 30rem; margin: 0; padding: 1.5rem 0 0 1.5rem; border-top: 1px solid rgba(165, 177, 197, 0.22); border-left: 2px solid var(--magenta); color: var(--muted); font-size: 0.95rem; line-height: 1.6; }

.company-section { padding-top: clamp(6rem, 8vw, 8rem); padding-bottom: clamp(6rem, 8vw, 8rem); background: var(--coral); color: #160b09; }
.company-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4rem; align-items: end; }
.company-section .section-label { color: rgba(22, 11, 9, 0.78); }
.company-section h2 { max-width: 12ch; margin-top: 1.5rem; font-size: clamp(3.2rem, 6vw, 6.5rem); }
.company-action-block { display: grid; width: min(100%, 34rem); justify-items: start; gap: 2rem; }
.company-action-block p { max-width: 34rem; margin: 0; color: rgba(22, 11, 9, 0.78); font-size: 1.05rem; line-height: 1.58; }
.company-section .primary-action { border-color: #160b09; background: #160b09; color: var(--text); }

[data-variant="b"] .hero-media { object-position: 54% center; }
[data-variant="b"] .hero-inner { align-items: center; }
[data-variant="b"] .hero-copy { width: min(39rem, 44vw); transform: translateY(2.5rem); }
[data-variant="b"] h1 { max-width: 9ch; font-size: clamp(4rem, 5.6vw, 6.9rem); }
[data-variant="b"] .hero-shade {
  background:
    linear-gradient(90deg, rgba(3, 6, 14, 0.99) 0%, rgba(3, 6, 14, 0.91) 27%, rgba(3, 6, 14, 0.23) 55%, rgba(3, 6, 14, 0.06) 100%),
    linear-gradient(180deg, rgba(3, 6, 14, 0.72) 0%, transparent 30%, transparent 72%, rgba(3, 6, 14, 0.6) 100%);
}

[data-variant="b"] .hero-aside { top: 8.8rem; bottom: auto; }

@media (max-width: 900px) {
  .site-header { grid-template-columns: 1fr auto; }
  .nav { display: none; }
  .hero { min-height: 50rem; }
  .hero-media { object-position: 63% center; }
  .hero-shade,
  [data-variant="b"] .hero-shade {
    background:
      linear-gradient(180deg, rgba(3, 6, 14, 0.88) 0%, rgba(3, 6, 14, 0.2) 34%, rgba(3, 6, 14, 0.72) 69%, rgba(3, 6, 14, 0.98) 100%),
      linear-gradient(90deg, rgba(3, 6, 14, 0.7), transparent 80%);
  }
  .hero-inner,
  [data-variant="b"] .hero-inner { align-items: end; padding-bottom: 4.75rem; }
  .hero-copy,
  [data-variant="b"] .hero-copy { width: min(100%, 38rem); transform: none; }
  h1,
  [data-variant="b"] h1 { max-width: 11ch; font-size: clamp(3.3rem, 10vw, 5.4rem); }
  .hero-aside { display: none; }
  .path-heading,
  .control-grid,
  .method-grid,
  .foundation-grid,
  .evidence-grid,
  .company-grid { grid-template-columns: 1fr; }
  .control-grid { gap: 5rem; }
  .method-grid { gap: 4rem; }
  .operating-steps {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .operating-steps::before {
    top: 1rem;
    right: auto;
    bottom: 1rem;
    left: 1rem;
    width: 2px;
    height: auto;
  }
  .operating-steps li {
    grid-template-columns: 2rem minmax(0, 1fr);
    gap: 1rem 1.5rem;
    padding: 0 0 3rem;
  }
  .operating-steps li:last-child { padding-bottom: 0; }
  .step-copy,
  .route-fact { grid-column: 2; }
  .foundation-options { grid-template-columns: 1fr; }
  .foundation-option + .foundation-option { padding-left: 0; border-left: 0; }
  .company-grid { align-items: start; }
}

@media (max-width: 520px) {
  .site-header { min-height: 5.5rem; }
  .brand img { width: 8.4rem; }
  .portal { font-size: 0.8rem; }
  .hero { min-height: 46rem; height: 100svh; }
  .hero-media { object-position: 66% 38%; }
  [data-variant="b"] .hero-media { object-position: 82% 38%; }
  .refused-route {
    top: 42.5%;
    left: 14%;
    width: 20%;
    transform: rotate(-3deg);
  }
  .hero-inner { padding-top: 7rem; padding-bottom: 3.5rem; }
  .kicker { margin-bottom: 1rem; }
  h1,
  [data-variant="b"] h1 { font-size: clamp(3rem, 14vw, 4.2rem); line-height: 1; }
  .lede { margin: 1.4rem 0 1.7rem; font-size: 1.04rem; }
  .primary-action { min-height: 3.5rem; gap: 1.25rem; }
  .operating-path { padding-top: 7rem; padding-bottom: 7rem; }
  .path-heading { gap: 2rem; padding-bottom: 3.5rem; }
  .spine-mast {
    display: grid;
    gap: 1.5rem;
    padding-bottom: 2.5rem;
  }
  .spine-owner { text-align: left; }
  .control-section,
  .method-section { padding-top: 7rem; padding-bottom: 7rem; }
  .foundation-section,
  .evidence-section,
  .company-section { padding-top: 5.5rem; padding-bottom: 5.5rem; }
  .control-grid,
  .foundation-grid,
  .evidence-grid,
  .company-grid { gap: 4rem; }
  .ledger-head { align-items: start; }
  .permission-diagram {
    grid-template-columns: 1fr;
    grid-template-rows: 12rem 6rem 10rem;
    min-height: 28rem;
    overflow: visible;
  }
  .ledger-context {
    grid-row: 1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
    width: 100%;
    padding: 1rem 0 2rem;
  }
  .ledger-context div:last-child { grid-column: 1 / -1; }
  .permission-boundary {
    grid-row: 2;
    grid-column: 1;
    width: 100%;
  }
  .permission-boundary::before,
  .permission-boundary::after {
    top: 50%;
    width: calc(50% - 0.75rem);
    height: 1px;
  }
  .permission-boundary::before { left: 0; }
  .permission-boundary::after { right: 0; bottom: auto; left: auto; }
  .permission-boundary span {
    top: calc(50% + 1rem);
    right: 0;
    left: auto;
    writing-mode: horizontal-tb;
  }
  .permission-resource {
    grid-row: 3;
    grid-column: 1;
    width: 9.5rem;
    height: 9.5rem;
  }
  .permission-route--allowed {
    top: 1.5rem;
    right: auto;
    bottom: 1rem;
    left: 50%;
    width: 1px;
    height: auto;
  }
  .permission-route--allowed::after {
    top: auto;
    right: auto;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) rotate(135deg);
  }
  .permission-route--allowed span {
    top: 18rem;
    right: auto;
    left: 1rem;
    width: calc(50% - 1rem);
    white-space: normal;
  }
  .permission-route--refused {
    top: 1.5rem;
    left: 0;
    width: calc(50% - 2.5rem);
    height: 7.5rem;
  }
  .permission-route--refused::before {
    right: 0;
    left: auto;
    width: 1px;
  }
  .permission-route--refused::after {
    top: auto;
    right: -0.425rem;
    bottom: 0;
    left: auto;
    width: 0.85rem;
    height: 0;
    border-top: 1px solid currentColor;
    border-right: 0;
    transform: none;
  }
  .permission-route--refused span {
    top: 5.5rem;
    left: 0;
    width: calc(100% - 1rem);
    padding-left: 0;
    white-space: normal;
  }
  .decision-row { grid-template-columns: 4rem 1fr; }
  .foundation-option { grid-template-columns: 2rem 1fr; }
  .proof-footer { grid-template-columns: 1fr; gap: 1.25rem; }
  .variant-picker { right: 0.7rem; bottom: 0.7rem; }
}


.hero-runway {
  position: relative;
  height: auto;
  min-height: 56.25rem;
  background: var(--bg);
}

.hero-runway .hero {
  position: relative;
}

.motion-enhanced .hero-runway {
  height: 270svh;
  min-height: 96rem;
}

.motion-enhanced .hero-runway .hero {
  position: sticky;
  top: 0;
}

.hero-motion-canvas {
  position: absolute;
  z-index: -3;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0;
  filter: saturate(0.88) contrast(1.04);
  pointer-events: none;
  transition: opacity 200ms var(--ease);
}

.motion-ready .hero-motion-canvas { opacity: 1; }
.motion-ready .hero-media { opacity: 0; }
.motion-ready .refused-route { display: none; }

.hero-media {
  opacity: 1;
  transition: opacity 200ms var(--ease);
}

.motion-cue {
  position: absolute;
  z-index: 3;
  right: var(--gutter);
  bottom: 2rem;
  display: none;
  align-items: center;
  gap: 0.75rem;
  color: rgba(248, 250, 252, 0.7);
  font: 400 0.72rem/1.4 var(--technical);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  pointer-events: none;
  will-change: transform, opacity;
}

.motion-enhanced .motion-cue { display: flex; }

.motion-cue::before {
  width: 2.5rem;
  height: 1px;
  background: currentColor;
  content: "";
}

.motion-proof-status {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 900px) {
  .hero-runway,
  .motion-enhanced .hero-runway {
    height: auto;
    min-height: 50rem;
  }

  .hero-runway .hero,
  .motion-enhanced .hero-runway .hero { position: relative; }
  .motion-cue { display: none; }
}

@media (max-width: 520px) {
  .hero-runway { min-height: 46rem; }
}


.material-operation {
  --operation-line: rgba(248, 250, 252, 0.2);
  --operation-muted: rgba(248, 250, 252, 0.68);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--bg);
  color: var(--text);
}

.material-operation::before { content: none; }

.material-operation::after {
  position: absolute;
  z-index: 4;
  right: 13%;
  bottom: 0;
  width: 2px;
  height: 5rem;
  background: var(--coral);
  box-shadow: 0 0 1.25rem rgba(244, 120, 83, 0.58);
  content: "";
  pointer-events: none;
}

.material-operation .operation-stage { background: transparent; }

.material-operation::after { content: none; }

.aperture-experience {
  position: relative;
  padding: clamp(7rem, 9vw, 9rem) var(--gutter) clamp(7rem, 9vw, 9rem);
}

.operating-essay__masthead,
.operating-case__identity,
.operating-case__opening,
.operating-case__boundary,
.operating-case__review,
.operating-case__decision {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 2rem;
}

.operating-essay__masthead {
  align-items: start;
  padding-bottom: clamp(4rem, 6vw, 6rem);
}

.operating-essay__title { grid-column: 1 / 6; }
.operating-essay__title .section-label { margin: 0 0 1rem; }

.operating-essay__title h2 {
  max-width: 9ch;
  margin: 0;
  color: var(--text);
  font-size: clamp(3rem, 4.2vw, 3.75rem);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1.04;
  text-wrap: balance;
}

.operating-essay__title h2 span { display: block; }

.operating-essay__intro {
  grid-column: 8 / 13;
  align-self: start;
  max-width: 40ch;
  margin: 0;
  color: var(--text);
  font-size: 1.25rem;
  line-height: 1.5;
  text-wrap: pretty;
}

.operating-case {
  --case-surface: #09101c;
  --case-line: rgba(165, 177, 197, 0.27);
  --case-line-strong: rgba(248, 250, 252, 0.52);
  position: relative;
  overflow: clip;
  border: 1px solid var(--case-line-strong);
}

.operating-essay__masthead { padding-bottom: 3rem; }

.incident-dossier {
  --dossier-surface: #09101c;
  --dossier-line: rgba(165, 177, 197, 0.27);
  --dossier-line-strong: rgba(248, 250, 252, 0.52);
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  grid-template-rows: minmax(0, 1fr) auto auto;
  min-height: 60rem;
  overflow: clip;
  border: 1px solid var(--dossier-line-strong);
  background: var(--dossier-surface);
}

.incident-dossier::after {
  position: absolute;
  z-index: 1;
  top: 0;
  bottom: 0;
  left: 41.6667%;
  width: 1px;
  background: var(--dossier-line);
  content: "";
  pointer-events: none;
}

.incident-dossier__identity {
  grid-column: 1;
  grid-row: 1 / -1;
  min-width: 0;
  padding: 4rem;
}

.incident-dossier__record-id,
.incident-dossier__section-label,
.incident-dossier__note-label {
  margin: 0;
  color: var(--muted);
  font: 400 0.75rem/1.35 var(--technical);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.incident-dossier__record-id { color: var(--coral); }

.incident-dossier__title-lock { margin-top: 4rem; }

.incident-dossier__identity h3 {
  max-width: 5ch;
  margin: 0;
  color: var(--text);
  font-size: clamp(4.5rem, 6.2vw, 6rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 1;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

.incident-dossier__identity h3 span { display: block; }

.incident-dossier__owner {
  margin: 2rem 0 0;
  color: var(--text);
  font-size: 1.125rem;
  line-height: 1.55;
  text-wrap: pretty;
}

.incident-dossier__control {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 4rem 4rem 3rem;
}

.incident-dossier__permission {
  margin-top: 2rem;
  min-width: 0;
}

.incident-dossier__actor,
.incident-dossier__grant {
  margin: 0;
  color: var(--text);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1;
  text-wrap: balance;
}

.incident-dossier__actor { font-size: 2.25rem; }

.incident-dossier__grant {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
  font-size: 3rem;
}

.incident-dossier__grant strong {
  color: var(--coral);
  font-weight: 400;
}

.incident-dossier__build {
  position: absolute;
  z-index: 2;
  bottom: 4rem;
  left: 4rem;
  width: min(31ch, calc(41.6667% - 8rem));
}

.incident-dossier__note-label { color: var(--muted); }

.incident-dossier__build p:last-child,
.incident-dossier__control-note p:not(.incident-dossier__note-label),
.incident-dossier__operate p:last-child {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.5;
  text-wrap: pretty;
}

.incident-dossier__control-note {
  max-width: 38ch;
  margin-top: auto;
  padding-top: 4rem;
}

.incident-dossier__control-note p:not(.incident-dossier__note-label) + p {
  margin-top: 0.75rem;
}

.incident-dossier__review {
  grid-column: 2;
  grid-row: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 12rem;
  gap: 2rem;
  align-items: end;
  min-width: 0;
  padding: 2rem 4rem 3rem;
}

.incident-dossier__review > .incident-dossier__section-label {
  grid-column: 1 / -1;
}

.incident-dossier__review h3 {
  max-width: 23ch;
  margin: 0;
  color: var(--text);
  font-size: 1.875rem;
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.2;
  text-wrap: balance;
}

.incident-dossier__operate { min-width: 0; }

.incident-dossier__decision {
  grid-column: 2;
  grid-row: 3;
  display: grid;
  grid-template-columns: 10rem minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
  min-width: 0;
  padding: 2rem 4rem 3rem;
  border-top: 1px solid var(--dossier-line-strong);
}

.incident-dossier__decision h3 {
  margin: 0;
  color: var(--text);
  font-size: 1.875rem;
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.15;
  text-wrap: balance;
}

.incident-dossier__criteria {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin: 0;
}

.incident-dossier__criterion { min-width: 0; }

.incident-dossier__criterion dt {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.5;
  text-wrap: pretty;
}

.incident-dossier__criterion dd {
  margin: 1rem 0 0;
  color: var(--text);
  font-size: 1.5rem;
  line-height: 1.35;
}

@media (max-width: 1199px) and (min-width: 960px) {
  .incident-dossier {
    grid-template-columns: minmax(0, 4.5fr) minmax(0, 7.5fr);
    min-height: 58rem;
  }

  .incident-dossier::after { left: 37.5%; }
  .incident-dossier__identity { padding: 3rem; }
  .incident-dossier__identity h3 { font-size: 3.75rem; }
  .incident-dossier__build {
    bottom: 3rem;
    left: 3rem;
    width: min(29ch, calc(37.5% - 6rem));
  }
  .incident-dossier__control { padding: 3rem 3rem 2rem; }
  .incident-dossier__grant { font-size: 2.25rem; }
  .incident-dossier__review,
  .incident-dossier__decision { padding-right: 3rem; padding-left: 3rem; }
  .incident-dossier__review { grid-template-columns: minmax(0, 1fr) 10rem; }
  .incident-dossier__decision { grid-template-columns: 9rem minmax(0, 1fr); }
}

@media (max-width: 959px) and (min-width: 768px) {
  .incident-dossier { min-height: 60rem; }
  .incident-dossier__identity { padding: 2rem; }
  .incident-dossier__identity h3 { font-size: 3rem; }
  .incident-dossier__owner { font-size: 1rem; }
  .incident-dossier__build {
    bottom: 2rem;
    left: 2rem;
    width: min(25ch, calc(41.6667% - 4rem));
  }
  .incident-dossier__control { padding: 2rem; }
  .incident-dossier__actor { font-size: 1.875rem; }
  .incident-dossier__grant { font-size: 2.25rem; }
  .incident-dossier__control-note { padding-top: 3rem; }
  .incident-dossier__review {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 2rem;
  }
  .incident-dossier__review h3 { font-size: 1.5rem; }
  .incident-dossier__decision {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 2rem;
  }
}

@media (max-width: 767px) {
  .aperture-experience { padding: 5rem var(--gutter) 4.5rem; }
  .operating-essay__masthead { padding-bottom: 2rem; }

  .incident-dossier {
    display: flex;
    min-height: 0;
    flex-direction: column;
  }

  .incident-dossier::after { content: none; }

  .incident-dossier__identity {
    padding: 2rem 1.5rem 0;
  }

  .incident-dossier__title-lock { margin-top: 2rem; }

  .incident-dossier__identity h3 {
    max-width: 7ch;
    font-size: 3rem;
  }

  .incident-dossier__owner {
    margin-top: 1rem;
    font-size: 1rem;
  }

  .incident-dossier__control {
    display: block;
    padding: 2rem 1.5rem;
  }

  .incident-dossier__permission { margin-top: 1rem; }
  .incident-dossier__actor { font-size: 1.875rem; }
  .incident-dossier__grant {
    margin-top: 0.75rem;
    font-size: 1.875rem;
  }

  .incident-dossier__build {
    position: static;
    width: auto;
    margin-top: 2.5rem;
  }

  .incident-dossier__control-note {
    max-width: none;
    margin-top: 2rem;
    padding-top: 0;
  }

  .incident-dossier__review {
    display: block;
    padding: 2rem 1.5rem;
  }

  .incident-dossier__review h3 {
    margin-top: 1rem;
    font-size: 1.5rem;
    line-height: 1.3;
  }

  .incident-dossier__operate { margin-top: 1.5rem; }

  .incident-dossier__decision {
    display: block;
    padding: 2rem 1.5rem 2.5rem;
  }

  .incident-dossier__decision h3 { font-size: 1.875rem; }

  .incident-dossier__criteria {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
  }

  .incident-dossier__criterion dd { margin-top: 0.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-runway,
  .motion-enhanced .hero-runway {
    height: auto;
    min-height: 56.25rem;
  }
  .hero-runway .hero,
  .motion-enhanced .hero-runway .hero { position: relative; }
  .hero-motion-canvas,
  .motion-cue { display: none; }
  *, *::before, *::after { scroll-behavior: auto !important; }
  .primary-action,
  .secondary-action,
  .nav a,
  .portal { transition-duration: 0.01ms; }
}

.foundation-copy h2,
.company-section h2 {
  margin: 0;
  font-size: clamp(2.8rem, 5vw, 5.25rem);
  font-weight: 400;
  letter-spacing: -0.048em;
  line-height: 1.02;
}


@media (max-width: 767px) {
  .aperture-experience { padding: 5rem var(--gutter) 4.5rem; }

  .operating-essay__masthead {
    display: block;
    padding-bottom: 2rem;
  }

  .operating-essay__title h2 {
    font-size: 2.25rem;
    line-height: 1.05;
  }

  .operating-essay__intro {
    max-width: 32ch;
    margin-top: 2rem;
    font-size: 1.125rem;
  }
}

/* Production shell: preserve the shared header, footer, legal and not-found surfaces. */
.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  background: var(--coral);
  color: var(--bg);
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-180%);
  transition: transform var(--duration-fast) var(--ease-settle);
}

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

.site-header {
  position: absolute;
  z-index: 50;
  inset: 0 0 auto;
  display: grid;
  width: 100%;
  min-height: var(--header-height);
  grid-template-columns: 153px minmax(0, 1fr) auto;
  align-items: center;
  gap: 2rem;
  padding: 0 var(--gutter);
  border: 0;
  background: transparent;
}

.brand,
.brand img {
  display: block;
  width: 153px;
  height: 26px;
}

.desktop-nav {
  display: flex;
  justify-content: center;
  gap: clamp(1.25rem, 2.5vw, 2.75rem);
}

.desktop-nav a,
.utility-action,
.company-action,
.mobile-menu a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: rgba(248, 250, 252, 0.7);
  font-size: 0.94rem;
  text-decoration: none;
  white-space: nowrap;
  transition: color 140ms var(--ease), transform 140ms var(--ease);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.company-action { color: var(--text); }
.mobile-menu { display: none; }

@media (hover: hover) and (pointer: fine) {
  .desktop-nav a:hover,
  .utility-action:hover,
  .company-action:hover,
  .mobile-menu a:hover,
  .site-footer a:hover {
    color: var(--text);
  }

  .reading:hover strong,
  .reading:hover > span:last-child {
    color: var(--coral);
  }
}

.anchor-target {
  position: absolute;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

#top,
#ai-integration,
#capabilities,
#how-we-work,
#gate,
#control,
#foundation,
#evidence,
#start {
  scroll-margin-top: calc(var(--header-height) + 1rem);
}

.no-js .hero-motion-canvas,
.no-js .motion-cue {
  display: none;
}

.site-footer {
  padding: 3.5rem var(--gutter) 1.5rem;
  border-top: 1px solid rgba(165, 177, 197, 0.22);
  background: var(--bg);
}

.footer-inner { width: min(100%, 120rem); margin: 0 auto; }

.footer-main {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.8fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(2rem, 5vw, 5rem);
}

.site-footer img {
  display: block;
  width: 153px;
  height: 26px;
}

.footer-brand p {
  max-width: 32ch;
  margin: 1.25rem 0 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.55;
  text-wrap: pretty;
}

.site-footer .footer-heading {
  margin: 0 0 1rem;
  color: var(--muted);
  font: 400 0.72rem/1.5 var(--technical);
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.footer-links ul { margin: 0; padding: 0; list-style: none; }

.site-footer a {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  max-width: 100%;
  padding: 0.5rem 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.5;
  text-decoration: none;
  white-space: normal;
  text-wrap: pretty;
  transition: color 140ms var(--ease);
}

.site-footer a:hover { color: var(--text); text-decoration: underline; text-underline-offset: 0.25em; }
.site-footer a:focus-visible { outline: 2px solid var(--coral); outline-offset: 4px; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 2rem;
  margin-top: 3rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(165, 177, 197, 0.22);
}

.footer-bottom small,
.footer-bottom a {
  color: var(--muted);
  font: 400 0.875rem/1.5 var(--font-outfit), sans-serif;
}

.footer-bottom-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
}

@media (max-width: 1000px) {
  .footer-main { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2.5rem; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-brand p { max-width: 44ch; }
}

@media (max-width: 520px) {
  .footer-main { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .footer-brand { grid-column: auto; }
  .footer-links ul { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 9rem), 1fr)); column-gap: 1.25rem; }
  .footer-resources ul { grid-template-columns: minmax(0, 1fr); }
  .footer-bottom { align-items: flex-start; flex-direction: column; margin-top: 2rem; }
}

.legal-header,
.not-found-header {
  position: relative;
  grid-template-columns: 153px minmax(0, 1fr) auto;
  background: var(--bg);
}

.gradient-start { stop-color: var(--coral); }
.gradient-end { stop-color: var(--magenta); }
.origin-dot { fill: var(--text); }
.refusal-cap,
.boundary-line {
  fill: none;
  stroke: var(--text);
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
}
.boundary-fill { fill: var(--surface); }

@media (max-width: 1100px) {
  :root { --header-height: 88px; }

  .desktop-nav { display: none; }
  .header-actions { justify-self: end; }

  .mobile-menu {
    position: relative;
    display: block;
    justify-self: end;
  }

  .mobile-menu summary {
    display: flex;
    min-width: 64px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(165, 177, 197, 0.45);
    color: var(--text);
    cursor: pointer;
    list-style: none;
  }

  .mobile-menu summary::-webkit-details-marker { display: none; }

  .mobile-menu nav {
    position: absolute;
    z-index: 60;
    top: 52px;
    right: 0;
    display: grid;
    width: min(290px, calc(100vw - 48px));
    padding: 12px 20px 18px;
    border: 1px solid var(--color-hairline);
    background: var(--surface);
  }

}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 153px 1fr auto;
    padding-right: var(--gutter);
    padding-left: var(--gutter);
  }

  .header-actions { display: none; }

}

@media (max-width: 520px) {
  :root { --header-height: 88px; }

  .site-header {
    min-height: var(--header-height);
    grid-template-columns: 134px 1fr;
    gap: 1rem;
  }

  .brand,
  .brand img {
    width: 134px;
    height: auto;
  }

  .mobile-menu { grid-column: 2; }

}

@media (prefers-reduced-motion: reduce) {
  .desktop-nav a,
  .utility-action,
  .company-action,
  .mobile-menu a,
  .site-footer a,
  .skip-link {
    transition-duration: 0.01ms;
  }
}

@media (prefers-contrast: more) {
  :root {
    --muted: var(--text);
    --color-muted: var(--text);
    --color-hairline: var(--text);
  }
}
