@font-face {
  font-family: "Onest";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("/assets/fonts/onest-cyrillic-ext.woff2") format("woff2");
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

@font-face {
  font-family: "Onest";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("/assets/fonts/onest-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Onest";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("/assets/fonts/onest-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Onest";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("/assets/fonts/onest-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: light;

  --canvas: #f4f5f6;
  --canvas: oklch(96.7% 0.003 260);
  --surface: #ffffff;
  --surface-muted: oklch(94.8% 0.004 260);
  --ink: #0c0d0e;
  --ink: oklch(15.6% 0.004 260);
  --muted: #596069;
  --muted: oklch(48% 0.014 260);
  --line: oklch(74% 0.008 260 / 0.34);
  --line-strong: oklch(54% 0.01 260 / 0.42);
  --night: #060706;
  --night: oklch(11.5% 0.004 145);
  --night-raised: #111310;
  --night-raised: oklch(17.5% 0.012 135);
  --night-soft: #aeb3ad;
  --night-soft: oklch(75% 0.01 145);
  --accent: #ed4d05;
  --accent: oklch(63.81% 0.2065 38.13);
  --accent-dark: #a42f00;
  --accent-dark: oklch(48% 0.16 38.13);
  --danger: oklch(65% 0.2 32);

  --font: "Onest", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --gutter: clamp(1.25rem, 4.2vw, 4.5rem);
  --container: 90rem;
  --section-space: clamp(7rem, 13vw, 12rem);

  --radius-control: 0.625rem;
  --radius-surface: 0.875rem;
  --radius-panel: 1rem;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-ui: cubic-bezier(0.25, 1, 0.5, 1);
  --duration-micro: 120ms;
  --duration-ui: 240ms;

  --z-base: 0;
  --z-sticky: 20;
  --z-drawer: 40;
  --z-tooltip: 60;
}

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

html {
  min-width: 20rem;
  background: var(--canvas);
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  margin: 0;
  min-width: 20rem;
  overflow-x: clip;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 400;
  font-kerning: normal;
  font-optical-sizing: auto;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  color: inherit;
  font: inherit;
}

button {
  border: 0;
}

img,
svg {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

h1,
h2,
h3,
h4 {
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

:focus-visible {
  outline: 0.125rem solid var(--accent-dark);
  outline-offset: 0.25rem;
}

.skip-link {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: var(--z-tooltip);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-control);
  background: var(--ink);
  color: var(--surface);
  transform: translateY(calc(-100% - 2rem));
  transition: transform var(--duration-ui) var(--ease-ui);
}

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

.site-nav {
  --nav-height: 3.25rem;
  --nav-gap: 0.25rem;
  position: fixed;
  inset: 0 0 auto;
  z-index: var(--z-sticky);
  padding: 1.25rem clamp(1.25rem, 2.4vw, 3rem) 0;
  color: var(--ink);
  pointer-events: none;
}

.nav-shell {
  display: grid;
  grid-template-columns: var(--nav-height) minmax(0, 1fr) auto;
  align-items: center;
  gap: var(--nav-gap);
  width: 100%;
  max-width: 128rem;
  margin-inline: auto;
  pointer-events: auto;
}

.site-nav.is-scrolled .nav-shell {
  grid-template-columns: var(--nav-height) clamp(30rem, 31vw, 39rem) auto;
  width: max-content;
  max-width: calc(100vw - 2rem);
}

.nav-piece {
  position: relative;
  isolation: isolate;
  background: transparent;
}

.nav-piece::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border: 1px solid oklch(100% 0 0 / 0.9);
  border-radius: inherit;
  background: oklch(99.1% 0.002 260 / 0.84);
  box-shadow:
    inset 0 0 0 1px oklch(25% 0.008 260 / 0.055),
    0 0.375rem 0.5rem oklch(20% 0.01 260 / 0.08);
  backdrop-filter: blur(1rem) saturate(135%);
  opacity: 0;
  transform: translate3d(0, -0.25rem, 0) scale(0.985);
  transition:
    opacity 240ms ease-out,
    transform 460ms var(--ease-out);
  pointer-events: none;
}

.nav-piece > * {
  position: relative;
  z-index: 1;
}

.site-nav.is-scrolled .nav-piece::before,
body.menu-open .nav-piece::before {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  width: fit-content;
  min-height: 2.75rem;
  font-size: 1rem;
  font-weight: 620;
  letter-spacing: -0.035em;
}

.nav-brand {
  z-index: 2;
  justify-self: start;
  justify-content: center;
  width: var(--nav-height);
  min-width: var(--nav-height);
  min-height: var(--nav-height);
  padding: 0;
  overflow: visible;
  border-radius: 0.625rem;
}

.nav-brand .brand-mark {
  border-color: transparent;
  background: transparent;
  box-shadow: none;
}

.nav-brand .brand-logo-image {
  padding: 0;
}

.nav-brand .brand-name {
  position: absolute;
  left: calc(100% + 0.625rem);
  width: max-content;
  max-width: none;
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition:
    opacity 180ms ease-out,
    transform 420ms var(--ease-out);
}

.site-nav.is-scrolled .nav-brand .brand-name {
  opacity: 0;
  transform: translate3d(-0.625rem, 0, 0);
  pointer-events: none;
}

.pill-mark,
.mini-mark {
  position: relative;
  display: inline-grid;
  flex: 0 0 auto;
  place-items: center;
  overflow: hidden;
  border-radius: 50%;
  background: var(--ink);
}

.brand-mark {
  width: 1.625rem;
  height: 1.625rem;
  border-radius: 0.5rem;
  border: 1px solid oklch(41% 0.012 260 / 0.14);
  background: var(--surface);
  box-shadow: inset 0 0 0 1px oklch(100% 0 0 / 0.5);
}

.pill-mark::before,
.mini-mark::before {
  content: "";
  position: absolute;
  width: 32%;
  height: 32%;
  border-radius: 50%;
  background: var(--surface);
}

.pill-mark span,
.mini-mark span {
  width: 66%;
  height: 1px;
  background: oklch(100% 0 0 / 0.48);
  transform: rotate(-35deg);
}

.brand-logo-image {
  width: 100%;
  height: 100%;
  padding: 0.18rem;
  object-fit: contain;
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  justify-self: center;
  gap: clamp(1.25rem, 2.5vw, 3rem);
  width: 100%;
  min-width: 0;
  min-height: var(--nav-height);
  padding: 0.25rem;
  border-radius: 0.625rem;
}

.site-nav.is-scrolled .desktop-nav {
  justify-content: space-evenly;
  gap: 0;
}

.pill-nav-link {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding-inline: clamp(0.75rem, 1vw, 1rem);
  overflow: hidden;
  border-radius: 999px;
  color: oklch(26% 0.008 260);
  font-size: 0.875rem;
  line-height: 1;
  white-space: nowrap;
}

.pill-nav-circle {
  position: absolute;
  z-index: 0;
  bottom: 0;
  left: 50%;
  display: block;
  width: var(--pill-circle-size, 8rem);
  height: var(--pill-circle-size, 8rem);
  border-radius: 50%;
  background: var(--ink);
  transform: translate3d(-50%, 0, 0) scale(0);
  transform-origin: 50% var(--pill-circle-origin, 7rem);
  pointer-events: none;
}

.pill-nav-label-stack {
  position: relative;
  z-index: 1;
  display: inline-block;
  line-height: 1;
}

.pill-nav-label,
.pill-nav-label-hover {
  display: inline-block;
  line-height: 1;
  will-change: transform;
}

.pill-nav-label-hover {
  position: absolute;
  top: 0;
  left: 0;
  color: var(--surface);
  opacity: 0;
  transform: translate3d(0, 3.5rem, 0);
}

.pill-nav-label-hover::before {
  content: "";
  display: inline-block;
  width: 0.32rem;
  height: 0.32rem;
  margin-right: 0.42rem;
  border-radius: 50%;
  background: var(--accent);
  vertical-align: 0.08rem;
}

.pill-nav-link:not([data-pill-ready]) .pill-nav-circle,
.pill-nav-link:not([data-pill-ready]) .pill-nav-label,
.pill-nav-link:not([data-pill-ready]) .pill-nav-label-hover {
  transition: transform 300ms var(--ease-out), opacity 220ms ease-out;
}

.pill-nav-link:focus-visible {
  outline-offset: -0.2rem;
}

.pill-nav-link:not([data-pill-ready]):hover .pill-nav-circle,
.pill-nav-link:not([data-pill-ready]):focus-visible .pill-nav-circle {
  transform: translate3d(-50%, 0, 0) scale(1.2);
  transition: transform 300ms var(--ease-out);
}

.pill-nav-link:not([data-pill-ready]):hover .pill-nav-label,
.pill-nav-link:not([data-pill-ready]):focus-visible .pill-nav-label {
  transform: translate3d(0, -3.5rem, 0);
  transition: transform 300ms var(--ease-out);
}

.pill-nav-link:not([data-pill-ready]):hover .pill-nav-label-hover,
.pill-nav-link:not([data-pill-ready]):focus-visible .pill-nav-label-hover {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition: transform 300ms var(--ease-out), opacity 220ms ease-out;
}

.language-switch button {
  color: oklch(26% 0.008 260);
  transition: color var(--duration-micro) ease-out;
}

.language-switch button:hover {
  color: var(--ink);
}

.nav-actions {
  display: flex;
  justify-self: end;
  justify-content: flex-end;
  align-items: center;
  gap: 0.25rem;
  width: 100%;
  min-height: var(--nav-height);
  padding: 0.25rem;
  border-radius: 0.625rem;
}

.language-switch {
  display: flex;
  align-items: center;
  gap: 0.125rem;
}

.nav-actions .language-switch {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition: opacity 160ms ease-out, transform 360ms var(--ease-out);
}

.nav-actions .language-switch button {
  min-width: 2.75rem;
  min-height: 2.75rem;
  border-radius: 0.5rem;
  transition: color var(--duration-micro) ease-out, background-color 220ms ease-out;
}

.site-nav.is-scrolled .nav-actions {
  width: auto;
}

.site-nav.is-scrolled .nav-actions .language-switch {
  position: absolute;
  right: calc(100% + 0.5rem);
  opacity: 0;
  transform: translate3d(0.5rem, 0, 0);
  pointer-events: none;
}

.nav-actions .language-switch button[aria-pressed="true"] {
  background: transparent;
}

.site-nav.is-scrolled .nav-actions .language-switch button[aria-pressed="true"],
body.menu-open .nav-actions .language-switch button[aria-pressed="true"] {
  background: oklch(15.6% 0.004 260 / 0.075);
}

.language-switch button {
  min-width: 2.875rem;
  min-height: 2.875rem;
  padding: 0.5rem;
  background: transparent;
  cursor: pointer;
}

.language-switch button[aria-pressed="true"] {
  color: var(--ink);
  font-weight: 620;
}

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  width: fit-content;
  font-size: 0.9375rem;
  font-weight: 520;
}

.arrow-link[data-specular-button] {
  --specular-angle: 38deg;
  --specular-strength: 0;
  position: relative;
  isolation: isolate;
  min-height: 3.25rem;
  padding: 0.25rem 0.25rem 0.25rem 0.9rem;
  overflow: visible;
  border: 1px solid oklch(38% 0.012 260 / 0.2);
  border-radius: 0.75rem;
  background: oklch(100% 0 0 / 0.76);
  transition: transform var(--duration-micro) ease-out, background-color var(--duration-ui) var(--ease-ui);
}

.specular-button__edge {
  position: absolute;
  inset: -1px;
  z-index: 0;
  overflow: hidden;
  padding: 1px;
  border-radius: calc(0.75rem + 1px);
  opacity: var(--specular-strength);
  pointer-events: none;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
}

.specular-button__edge > span {
  position: absolute;
  inset: -180%;
  background: conic-gradient(
    transparent 0 34%,
    oklch(63.81% 0.2065 38.13 / 0.35) 41%,
    oklch(99% 0.015 38.13) 48%,
    var(--accent) 54%,
    transparent 68% 100%
  );
  transform: rotate(var(--specular-angle));
}

.arrow-link[data-border-glow] {
  --specular-strength: 0.62;
  box-shadow:
    inset 0 0 0 1px oklch(100% 0 0 / 0.24),
    0 0 1.15rem oklch(63.81% 0.2065 38.13 / 0.07);
}

.arrow-link[data-border-glow] .specular-button__edge {
  filter: drop-shadow(0 0 0.24rem oklch(63.81% 0.2065 38.13 / 0.24));
}

.arrow-link[data-border-glow] .specular-button__edge > span {
  animation: specular-border-orbit 5.2s linear infinite;
  will-change: transform;
}

@keyframes specular-border-orbit {
  from { transform: rotate(38deg); }
  to { transform: rotate(398deg); }
}

.arrow-link[data-specular-button]:hover .specular-button__edge > span,
.arrow-link[data-specular-button]:focus-visible .specular-button__edge > span {
  will-change: transform;
}

.arrow-link[data-specular-button] > span:not(.specular-button__edge) {
  position: relative;
  z-index: 1;
}

.arrow-link[data-specular-button]:focus-visible {
  --specular-strength: 1 !important;
}

.arrow-link[data-specular-button]:active {
  transform: scale(0.985);
}

.arrow-link > span:first-child:not(.specular-button__edge),
.arrow-link > .specular-button__edge + span,
.quiet-link,
.inline-link > span:first-child {
  text-decoration: underline;
  text-decoration-thickness: 0.0625rem;
  text-underline-offset: 0.32em;
}

.arrow-box {
  display: inline-grid;
  flex: 0 0 auto;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--radius-control);
  background: var(--accent);
  color: var(--ink);
  font-size: 1.125rem;
  transition: transform 280ms var(--ease-out), background-color var(--duration-micro) ease-out;
}

.arrow-link:hover .arrow-box {
  transform: translate3d(0.15rem, -0.15rem, 0);
}

.arrow-link:active .arrow-box,
.menu-toggle:active {
  transform: scale(0.94);
  transition-duration: var(--duration-micro);
}

.menu-toggle {
  display: none;
  position: relative;
  justify-self: end;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  background: transparent;
  cursor: pointer;
  transition: transform var(--duration-micro) ease-out;
}

.menu-toggle span {
  position: absolute;
  left: 0.625rem;
  width: 1.5rem;
  height: 1px;
  background: currentColor;
  transition: transform var(--duration-ui) var(--ease-out), top var(--duration-ui) var(--ease-out);
}

.menu-toggle span:first-child {
  top: 1.05rem;
}

.menu-toggle span:last-child {
  top: 1.65rem;
}

body.menu-open .menu-toggle span:first-child {
  top: 1.35rem;
  transform: rotate(45deg);
}

body.menu-open .menu-toggle span:last-child {
  top: 1.35rem;
  transform: rotate(-45deg);
}

.mobile-panel {
  position: fixed;
  inset: 0;
  z-index: calc(var(--z-sticky) - 1);
  display: grid;
  grid-template-rows: 1fr auto;
  padding: 8rem var(--gutter) 2rem;
  background: oklch(96.7% 0.003 260 / 0.92);
  backdrop-filter: blur(1.5rem) saturate(160%);
  visibility: hidden;
  opacity: 0;
  transform: scale(0.985) translate3d(0, -0.75rem, 0);
  transform-origin: calc(100% - var(--gutter) - 1.4rem) 2.625rem;
  transition:
    opacity 220ms ease-out,
    transform 420ms var(--ease-out),
    visibility 0s linear 420ms;
}

.mobile-panel.is-open {
  visibility: visible;
  opacity: 1;
  transform: scale(1) translate3d(0, 0, 0);
  transition-delay: 0s;
}

.mobile-panel nav {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.4rem;
}

.mobile-panel nav a {
  width: fit-content;
  font-size: clamp(2.25rem, 10vw, 4.5rem);
  font-weight: 330;
  letter-spacing: -0.04em;
  line-height: 1.08;
}

.mobile-panel nav a:last-child {
  font-weight: 590;
}

.mobile-panel-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.8125rem;
}

.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-height: 100svh;
  padding: clamp(9rem, 17vh, 12rem) var(--gutter) 2.5rem;
}

.hero-dither {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.78;
  -webkit-mask-image: radial-gradient(ellipse 52% 46% at 50% 47%, transparent 12%, rgb(0 0 0 / 0.12) 48%, #000 92%);
  mask-image: radial-gradient(ellipse 52% 46% at 50% 47%, transparent 12%, rgb(0 0 0 / 0.12) 48%, #000 92%);
}

.hero-center {
  position: relative;
  z-index: 1;
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: min(100%, 70rem);
  margin: 0 auto;
  padding: 2rem 0;
  text-align: center;
}

.context-pill,
.dark-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  width: fit-content;
  min-height: 2.75rem;
  padding: 0.4rem 0.9rem 0.4rem 0.45rem;
  border-radius: 999px;
  background: var(--surface);
  box-shadow: 0 0.375rem 0.5rem oklch(20% 0.01 260 / 0.08);
  color: oklch(29% 0.008 260);
  font-size: 0.75rem;
  font-weight: 510;
  letter-spacing: 0.015em;
}

.pill-mark {
  width: 1.75rem;
  height: 1.75rem;
}

.context-pill-small {
  min-height: 2.5rem;
  padding-right: 0.85rem;
}

.context-pill-small .pill-mark {
  width: 1.55rem;
  height: 1.55rem;
}

.hero-title {
  max-width: 68rem;
  margin-top: clamp(1.75rem, 4vh, 3rem);
  font-size: clamp(3.05rem, 6.3vw, 5.75rem);
  font-weight: 310;
  letter-spacing: -0.04em;
  line-height: 0.99;
}

.hero-line {
  display: block;
}

.hero-title strong {
  font-weight: 585;
}

.hero-lead {
  max-width: 47rem;
  margin-top: clamp(1.5rem, 3vh, 2.25rem);
  color: oklch(28% 0.01 260);
  font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  margin-top: 2rem;
}

.hero-primary {
  font-size: 1rem;
}

.quiet-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  color: oklch(30% 0.008 260);
  font-size: 0.9375rem;
  transition: color var(--duration-micro) ease-out;
}

.quiet-link:hover {
  color: var(--ink);
}

.system-section,
.capabilities,
.production {
  width: min(100%, var(--container));
  margin-inline: auto;
  padding: var(--section-space) var(--gutter) 0;
}

.section-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 66rem;
  margin-inline: auto;
  text-align: center;
}

.section-center h2,
.production-heading h2 {
  margin-top: 1.75rem;
  font-size: clamp(2.75rem, 5.5vw, 5rem);
  font-weight: 320;
  letter-spacing: -0.04em;
  line-height: 1.02;
}

.section-center > p:last-child,
.production-heading > p {
  max-width: 48rem;
  margin-top: 1.5rem;
  color: var(--muted);
  font-size: clamp(1rem, 1.3vw, 1.1875rem);
  line-height: 1.65;
}

.agent-wheel-track {
  position: relative;
  height: 330svh;
  margin-top: clamp(3.5rem, 7vw, 6rem);
}

.agent-wheel-sticky {
  position: sticky;
  top: 0;
  display: grid;
  place-items: center;
  height: 100svh;
  padding: clamp(6.25rem, 10vh, 7.5rem) 0 clamp(1.5rem, 4vh, 3rem);
}

.agent-wheel-scene {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  width: 100%;
  height: min(100%, 48rem);
  overflow: hidden;
  border-radius: var(--radius-panel);
  background: var(--night);
  color: var(--surface);
}

.agent-wheel-scene::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: radial-gradient(circle at 14% 50%, oklch(63.81% 0.2065 38.13 / 0.12), transparent 32rem);
  pointer-events: none;
}

.agent-wheel-meta,
.agent-wheel-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 4.5rem;
  padding: 0.75rem clamp(1.25rem, 2.8vw, 2.5rem);
  color: var(--night-soft);
  font-size: 0.75rem;
}

.agent-wheel-meta {
  border-bottom: 1px solid oklch(100% 0 0 / 0.1);
}

.agent-wheel-meta p,
.wheel-counter {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.wheel-meta-mark,
.status-dot {
  display: inline-block;
  flex: 0 0 auto;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--accent);
}

.wheel-counter {
  font-variant-numeric: tabular-nums;
}

.wheel-counter strong {
  color: var(--surface);
  font-size: 1rem;
  font-weight: 560;
}

.agent-wheel-layout {
  display: grid;
  grid-template-columns: minmax(21rem, 0.78fr) minmax(0, 1.22fr);
  min-height: 0;
}

.option-wheel-shell {
  position: relative;
  min-height: 0;
  overflow: hidden;
  border-right: 1px solid oklch(100% 0 0 / 0.1);
}

.option-wheel-shell::after {
  content: "";
  position: absolute;
  z-index: 3;
  inset: 0;
  background: linear-gradient(var(--night) 0, transparent 28%, transparent 72%, var(--night) 100%);
  pointer-events: none;
}

.wheel-center-line {
  position: absolute;
  z-index: 0;
  top: 50%;
  right: 0;
  left: clamp(1.25rem, 3vw, 3rem);
  height: 1px;
  background: linear-gradient(90deg, var(--accent), oklch(63.81% 0.2065 38.13 / 0.08));
}

.wheel-center-line i {
  position: absolute;
  top: 50%;
  left: 0;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--accent);
  transform: translate3d(-50%, -50%, 0);
}

.option-wheel {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  min-height: 24rem;
  overflow: hidden;
  outline: none;
  touch-action: pan-y;
  user-select: none;
}

.option-wheel button {
  position: absolute;
  top: 50%;
  left: clamp(2rem, 4vw, 4.5rem);
  display: inline-flex;
  align-items: baseline;
  gap: clamp(0.75rem, 1.4vw, 1.25rem);
  padding: 0;
  background: transparent;
  color: oklch(61% 0.01 145);
  cursor: pointer;
  font-size: clamp(2.5rem, 4.2vw, 4.4rem);
  font-weight: 270;
  letter-spacing: -0.04em;
  line-height: 1;
  text-align: left;
  white-space: nowrap;
  transform-origin: left center;
}

.agent-wheel-track.is-animating .option-wheel button,
.agent-wheel-track.is-animating .wheel-progress i {
  will-change: transform, opacity;
}

.option-wheel button:nth-child(1) { transform: translate3d(0, -50%, 0); }
.option-wheel button:nth-child(2) { transform: translate3d(-0.35rem, calc(5rem - 50%), 0) rotate(7deg); }
.option-wheel button:nth-child(3) { transform: translate3d(-1.4rem, calc(9.75rem - 50%), 0) rotate(14deg); }
.option-wheel button:nth-child(4) { transform: translate3d(-3rem, calc(14rem - 50%), 0) rotate(21deg); }

.option-wheel button span:first-child {
  color: var(--accent);
  font-size: 0.6875rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0;
}

.option-wheel button[aria-selected="true"] {
  color: var(--surface);
  font-weight: 560;
}

.option-wheel button:active {
  opacity: 0.72 !important;
}

.agent-stage-output {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: clamp(1.25rem, 3vh, 2.5rem);
  min-width: 0;
  min-height: 0;
  padding: clamp(2rem, 4vw, 4rem);
  background: oklch(14.3% 0.008 145 / 0.78);
}

.brief-meta {
  display: flex;
  gap: 0.4rem;
  color: var(--night-soft);
  font-size: 0.75rem;
}

.agent-stage-copy {
  align-self: center;
}

.agent-stage-copy h3 {
  max-width: 45rem;
  margin-top: 1.35rem;
  font-size: clamp(2rem, 3.25vw, 3.5rem);
  font-weight: 330;
  letter-spacing: -0.04em;
  line-height: 1.08;
}

.source-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 2rem;
}

.source-list span {
  padding: 0.55rem 0.7rem;
  border: 1px solid oklch(100% 0 0 / 0.14);
  border-radius: 999px;
  color: oklch(76% 0.01 145);
  font-size: 0.75rem;
}

.stage-result {
  overflow: hidden;
  border-radius: var(--radius-surface);
  background: var(--surface);
  color: var(--ink);
}

.stage-result header,
.stage-result footer {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  min-height: 3.75rem;
  padding: 0.75rem 1rem;
  font-size: 0.75rem;
}

.stage-result header {
  border-bottom: 1px solid var(--line);
}

.handoff-icon {
  display: inline-grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: var(--accent);
  color: var(--ink);
  font-size: 0.75rem;
  font-weight: 700;
}

.handoff-time {
  margin-left: auto;
  color: var(--muted);
}

.stage-result h4 {
  padding: 1.5rem 1.25rem 0.5rem;
  font-size: 1.25rem;
  font-weight: 570;
  letter-spacing: -0.025em;
}

.stage-result ul {
  margin: 0;
  padding: 0.5rem 1.25rem 1.5rem;
  list-style: none;
}

.stage-result li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.8125rem;
}

.stage-result li:last-child {
  border: 0;
}

.stage-result li strong {
  color: var(--ink);
  font-weight: 540;
  text-align: right;
}

.stage-result footer {
  background: var(--surface-muted);
  color: oklch(34% 0.012 260);
}

.stage-result footer .status-dot {
  width: 0.4rem;
  height: 0.4rem;
  box-shadow: none;
}

.agent-wheel-footer {
  display: grid;
  grid-template-columns: auto minmax(4rem, 1fr) auto;
  border-top: 1px solid oklch(100% 0 0 / 0.1);
}

.wheel-progress {
  position: relative;
  display: block;
  height: 1px;
  overflow: hidden;
  background: oklch(100% 0 0 / 0.14);
}

.wheel-progress i {
  position: absolute;
  inset: 0;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left center;
}

.capabilities {
  padding-top: calc(var(--section-space) * 1.05);
}

.capability-mosaic {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1rem;
  margin-top: clamp(3.5rem, 7vw, 6rem);
}

.capability-card {
  display: flex;
  overflow: hidden;
  flex-direction: column;
  justify-content: space-between;
  min-height: 34rem;
  padding: clamp(1.5rem, 3.5vw, 3rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-surface);
  background: oklch(100% 0 0 / 0.7);
}

.capability-strategy,
.capability-integration {
  grid-column: span 7;
}

.capability-agents,
.capability-knowledge {
  grid-column: span 5;
}

.capability-copy {
  position: relative;
  z-index: 2;
  max-width: 33rem;
}

.service-type {
  color: var(--muted);
  font-size: 0.8125rem;
  font-weight: 520;
}

.capability-copy h3 {
  margin-top: 1.25rem;
  font-size: clamp(1.75rem, 3vw, 3rem);
  font-weight: 350;
  letter-spacing: -0.038em;
  line-height: 1.07;
}

.capability-copy > p:not(.service-type) {
  max-width: 36rem;
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.65;
}

.inline-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  margin-top: 1.5rem;
  font-size: 0.875rem;
  font-weight: 520;
}

.inline-link span:last-child {
  transition: transform var(--duration-ui) var(--ease-out);
}

.inline-link:hover span:last-child {
  transform: translate3d(0.15rem, -0.15rem, 0);
}

.opportunity-list {
  overflow: hidden;
  margin-top: 3rem;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  background: var(--surface);
}

.opportunity-list > div {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  min-height: 3.8rem;
  padding: 0.8rem 1rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.75rem;
}

.opportunity-list > div:last-child {
  border: 0;
}

.opportunity-list .opportunity-head {
  min-height: 2.9rem;
  background: var(--surface-muted);
  color: var(--muted);
}

.opportunity-list div > span:first-child {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.opportunity-list i {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
}

.priority-high {
  background: var(--accent-dark);
}

.priority-mid {
  background: oklch(68% 0.16 78);
}

.priority-low {
  background: oklch(62% 0.02 260);
}

.opportunity-list b,
.opportunity-list em {
  font-style: normal;
  font-weight: 520;
}

.opportunity-list em {
  padding: 0.3rem 0.5rem;
  border-radius: 999px;
  background: var(--surface-muted);
  color: var(--muted);
  font-size: 0.6875rem;
}

.task-stack {
  position: relative;
  min-height: 15rem;
  margin-top: 3rem;
}

.task-card {
  position: absolute;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: min(100%, 25rem);
  min-height: 5rem;
  padding: 0.9rem 1rem;
  border-radius: 0.75rem;
  background: var(--surface);
  transform: translateX(-50%);
}

.task-card-back,
.task-card-middle {
  flex-direction: column;
  align-items: flex-start;
  border: 1px solid var(--line);
  background: var(--surface-muted);
  color: oklch(36% 0.012 260);
  font-size: 0.6875rem;
}

.task-card-back strong,
.task-card-middle strong {
  color: oklch(27% 0.01 260);
  font-size: 0.8125rem;
  font-weight: 530;
}

.task-card-back {
  top: 0;
  transform: translate3d(-50%, 0, 0) scale(0.88);
}

.task-card-middle {
  top: 2.25rem;
  transform: translate3d(-50%, 0, 0) scale(0.94);
}

.task-card-front {
  top: 5rem;
  box-shadow: 0 0.5rem 0.5rem oklch(18% 0.01 260 / 0.1);
}

.task-app,
.answer-mark {
  display: inline-grid;
  flex: 0 0 auto;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.65rem;
  background: var(--ink);
  color: var(--surface);
  font-weight: 620;
}

.task-card-front > span:nth-child(2) {
  display: flex;
  flex-direction: column;
}

.task-card-front small {
  color: var(--muted);
  font-size: 0.6875rem;
}

.task-card-front strong {
  margin-top: 0.15rem;
  font-size: 0.8125rem;
  font-weight: 550;
}

.task-card-front i {
  width: 0.5rem;
  height: 0.5rem;
  margin-left: auto;
  border-radius: 50%;
  background: var(--accent);
}

.knowledge-search {
  overflow: hidden;
  margin-top: 3rem;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  background: var(--surface);
}

.search-query {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  min-height: 3.75rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--line);
  color: oklch(34% 0.012 260);
  font-size: 0.75rem;
}

.search-query span:first-child {
  font-size: 1.15rem;
}

.search-answer {
  display: flex;
  gap: 0.9rem;
  padding: 1.25rem 1rem;
}

.answer-mark {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  font-size: 0.75rem;
}

.search-answer p {
  color: oklch(30% 0.01 260);
  font-size: 0.75rem;
  line-height: 1.55;
}

.citation-row {
  display: grid;
  grid-template-columns: auto 1fr auto 1fr;
  gap: 0.5rem;
  align-items: center;
  padding: 0.75rem 1rem;
  background: var(--surface-muted);
  color: var(--muted);
  font-size: 0.625rem;
}

.citation-row span {
  display: grid;
  place-items: center;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background: var(--surface);
  color: var(--ink);
  font-weight: 620;
}

.citation-row b {
  font-weight: 480;
}

.event-stream {
  overflow: hidden;
  margin-top: 3rem;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  background: var(--surface);
}

.event-stream > div:not(.event-apps) {
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  gap: 0.75rem;
  align-items: center;
  min-height: 3.65rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.6875rem;
}

.event-time {
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.event-icon {
  display: grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: var(--surface-muted);
}

.event-stream b {
  font-weight: 520;
}

.event-stream em {
  color: var(--accent-dark);
  font-style: normal;
  font-weight: 590;
}

.event-apps {
  display: flex;
  gap: 0.5rem;
  padding: 1rem;
  background: var(--surface-muted);
}

.event-apps span {
  padding: 0.45rem 0.65rem;
  border-radius: 0.45rem;
  background: var(--surface);
  font-size: 0.625rem;
  font-weight: 570;
}

.process-section {
  width: min(100%, calc(var(--container) + (var(--gutter) * 2)));
  margin: var(--section-space) auto 0;
  padding-inline: var(--gutter);
}

.process-panel {
  overflow: hidden;
  padding: clamp(2rem, 6vw, 6rem);
  border-radius: var(--radius-panel);
  background: var(--night);
  color: var(--surface);
}

.process-intro {
  max-width: 66rem;
}

.dark-pill {
  background: var(--night-raised);
  box-shadow: none;
  color: oklch(79% 0.01 145);
}

.dark-pill .mini-mark {
  width: 1.5rem;
  height: 1.5rem;
}

.process-intro h2 {
  margin-top: 2rem;
  font-size: clamp(2.75rem, 6vw, 5.5rem);
  font-weight: 320;
  letter-spacing: -0.04em;
  line-height: 1;
}

.process-intro > p:last-child {
  max-width: 43rem;
  margin-top: 1.5rem;
  color: var(--night-soft);
  font-size: clamp(1rem, 1.4vw, 1.1875rem);
  line-height: 1.65;
}

.process-interactive {
  display: grid;
  grid-template-columns: minmax(16rem, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(2rem, 5vw, 5rem);
  margin-top: clamp(4rem, 8vw, 7rem);
}

.process-tabs {
  display: flex;
  flex-direction: column;
}

.process-tabs button {
  display: grid;
  grid-template-columns: 2.75rem 1fr;
  gap: 1rem;
  align-items: center;
  min-height: 5.5rem;
  padding: 1rem 0;
  border-top: 1px solid oklch(100% 0 0 / 0.13);
  background: transparent;
  color: oklch(58% 0.008 145);
  cursor: pointer;
  text-align: left;
  transition: color var(--duration-ui) ease-out;
}

.process-tabs button:last-child {
  border-bottom: 1px solid oklch(100% 0 0 / 0.13);
}

.process-tabs button span {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid oklch(100% 0 0 / 0.18);
  border-radius: 50%;
  font-size: 0.6875rem;
  font-variant-numeric: tabular-nums;
  transition: background-color var(--duration-ui) ease-out, border-color var(--duration-ui) ease-out, color var(--duration-ui) ease-out;
}

.process-tabs button strong {
  font-size: 1.0625rem;
  font-weight: 470;
}

.process-tabs button[aria-selected="true"] {
  color: var(--surface);
}

.process-tabs button[aria-selected="true"] span {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--ink);
}

.process-tabs button:active span {
  transform: scale(0.94);
}

.process-screen {
  align-self: stretch;
  overflow: hidden;
  min-height: 30rem;
  border: 1px solid oklch(100% 0 0 / 0.13);
  border-radius: var(--radius-surface);
  background: var(--night-raised);
}

.process-screen > header,
.process-screen > footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 4rem;
  padding: 0.75rem 1.25rem;
  color: oklch(67% 0.008 145);
  font-size: 0.75rem;
}

.process-screen > header {
  border-bottom: 1px solid oklch(100% 0 0 / 0.11);
}

.process-screen > footer {
  justify-content: flex-start;
  gap: 0.75rem;
  border-top: 1px solid oklch(100% 0 0 / 0.11);
}

.process-screen > footer .status-dot {
  box-shadow: none;
}

.process-screen-body {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  min-height: 22rem;
  padding: clamp(2rem, 5vw, 4rem);
}

.process-screen-icon {
  display: grid;
  place-items: center;
  width: clamp(4rem, 8vw, 6rem);
  height: clamp(4rem, 8vw, 6rem);
  border-radius: 50%;
  background: var(--accent);
  color: var(--ink);
  font-size: clamp(1.5rem, 3vw, 2.5rem);
}

.process-screen h3 {
  max-width: 35rem;
  font-size: clamp(2rem, 3.7vw, 3.75rem);
  font-weight: 340;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.process-screen-body p {
  max-width: 38rem;
  margin-top: 1.25rem;
  color: var(--night-soft);
  font-size: 0.9375rem;
  line-height: 1.65;
}

.production {
  padding-bottom: var(--section-space);
}

.production-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(18rem, 0.5fr);
  gap: clamp(2rem, 8vw, 8rem);
  align-items: end;
}

.production-heading h2 {
  margin: 0;
  max-width: 64rem;
}

.production-heading h2 strong {
  font-weight: 580;
}

.production-heading > p {
  margin: 0 0 0.5rem;
}

.production-principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  margin-top: clamp(4rem, 8vw, 7rem);
}

.production-principles article {
  padding-top: 1.5rem;
  border-top: 1px solid var(--line-strong);
}

.principle-symbol {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--ink);
  color: var(--accent);
  font-size: 0.9375rem;
}

.production-principles h3 {
  margin-top: 3rem;
  font-size: clamp(1.5rem, 2.2vw, 2.25rem);
  font-weight: 390;
  letter-spacing: -0.035em;
  line-height: 1.12;
}

.production-principles p {
  margin-top: 1rem;
  color: var(--muted);
  line-height: 1.65;
}

.booking {
  width: min(100%, calc(var(--container) + (var(--gutter) * 2)));
  margin: 0 auto;
  padding: 0 var(--gutter) var(--section-space);
}

.booking-panel {
  display: grid;
  grid-template-columns: minmax(18rem, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(2rem, 5vw, 5rem);
  overflow: hidden;
  padding: clamp(1.5rem, 4.5vw, 4rem);
  border-radius: var(--radius-panel);
  background: var(--night);
  color: var(--surface);
}

.booking-copy {
  padding: clamp(1rem, 3vw, 2.5rem) 0;
}

.booking-copy h2 {
  margin-top: 2rem;
  font-size: clamp(2.75rem, 5vw, 5rem);
  font-weight: 330;
  letter-spacing: -0.04em;
  line-height: 1;
}

.booking-copy > p:not(.dark-pill) {
  max-width: 34rem;
  margin-top: 1.5rem;
  color: var(--night-soft);
  font-size: 1rem;
  line-height: 1.7;
}

.booking-copy ul {
  margin: 3rem 0 0;
  padding: 0;
  list-style: none;
}

.booking-copy li {
  position: relative;
  padding: 0.75rem 0 0.75rem 1.5rem;
  border-top: 1px solid oklch(100% 0 0 / 0.12);
  color: oklch(80% 0.01 145);
  font-size: 0.875rem;
}

.booking-copy li:last-child {
  border-bottom: 1px solid oklch(100% 0 0 / 0.12);
}

.booking-copy li::before {
  content: "";
  position: absolute;
  top: 1.25rem;
  left: 0;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--accent);
}

.calendar-shell {
  position: relative;
  overflow: hidden;
  min-height: 46rem;
  border-radius: var(--radius-surface);
  background: var(--surface);
  color: var(--ink);
  color-scheme: light;
}

.calendar-loading {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  padding: 2rem;
  background: var(--surface);
  color: var(--muted);
  font-size: 0.875rem;
  text-align: center;
  transition: opacity var(--duration-ui) ease-out, visibility 0s linear var(--duration-ui);
}

.calendar-shell.is-ready .calendar-loading {
  visibility: hidden;
  opacity: 0;
}

.calendar-loading a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 0.25rem;
}

.calendar-spinner {
  width: 1.75rem;
  height: 1.75rem;
  border: 2px solid var(--line);
  border-top-color: var(--ink);
  border-radius: 50%;
  animation: spin 700ms linear infinite;
  animation-play-state: paused;
}

.calendar-shell.is-near .calendar-spinner {
  animation-play-state: running;
}

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

.calendar-embed,
.calendar-embed > div,
.calendar-embed iframe {
  width: 100% !important;
  min-height: 46rem !important;
}

.calendar-embed iframe {
  border: 0 !important;
}

.site-footer {
  padding: clamp(4rem, 8vw, 7rem) var(--gutter) 1.5rem;
  border-top: 1px solid var(--line);
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(18rem, 1.2fr) 0.45fr 0.45fr auto;
  gap: clamp(2rem, 5vw, 5rem);
  width: min(100%, var(--container));
  margin-inline: auto;
}

.footer-intro p {
  max-width: 28rem;
  margin-top: 1.5rem;
  color: var(--muted);
  line-height: 1.65;
}

.footer-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.625rem;
}

.footer-column h2 {
  margin-bottom: 0.5rem;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 520;
}

.footer-column a {
  display: flex;
  align-items: center;
  min-height: 2.75rem;
  font-size: 0.875rem;
}

.footer-column a:hover {
  text-decoration: underline;
  text-underline-offset: 0.25rem;
}

.footer-contact {
  align-self: start;
}

.footer-base {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
  width: min(100%, var(--container));
  margin: clamp(4rem, 8vw, 7rem) auto 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.6875rem;
}

.footer-base > span:nth-child(2) {
  text-align: center;
}

.legal {
  position: relative;
  justify-self: end;
}

.legal summary {
  min-height: 2.75rem;
  padding: 0.75rem 0;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}

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

.legal-menu {
  position: absolute;
  right: 0;
  bottom: calc(100% + 0.5rem);
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  width: max-content;
  max-width: min(22rem, calc(100vw - 2.5rem));
  padding: 1rem;
  border-radius: var(--radius-control);
  background: var(--ink);
  color: var(--surface);
  box-shadow: 0 0.5rem 0.5rem oklch(20% 0.01 260 / 0.18);
}

.legal-menu a:hover {
  text-decoration: underline;
}

.legal-menu a {
  display: flex;
  align-items: center;
  min-height: 2.75rem;
}

@media (max-width: 72rem) {
  .desktop-nav {
    gap: 1.25rem;
  }

  .agent-wheel-layout {
    grid-template-columns: minmax(17rem, 0.64fr) minmax(0, 1.36fr);
  }

  .capability-card {
    grid-column: span 6;
  }

  .production-heading {
    grid-template-columns: 1fr;
  }

  .production-heading > p {
    max-width: 42rem;
  }

  .booking-panel {
    grid-template-columns: 1fr;
  }

  .booking-copy {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 2rem;
  }

  .booking-copy .dark-pill,
  .booking-copy h2 {
    grid-column: 1 / -1;
  }

  .booking-copy > p:not(.dark-pill),
  .booking-copy ul {
    margin-top: 2rem;
  }

  .footer-main {
    grid-template-columns: 1.2fr 0.5fr 0.5fr;
  }

  .footer-contact {
    grid-column: 1 / -1;
  }
}

@media (max-width: 64rem) {
  .site-nav {
    grid-template-columns: 1fr auto;
  }

  .desktop-nav,
  .nav-actions {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .agent-stage-output {
    padding: clamp(1.75rem, 3.5vw, 3rem);
  }

  .agent-stage-copy h3 {
    font-size: clamp(1.8rem, 3vw, 2.75rem);
  }

  .process-interactive {
    grid-template-columns: 1fr;
  }

  .process-tabs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
  }

  .process-tabs button {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 0.5rem;
    border-bottom: 1px solid oklch(100% 0 0 / 0.13);
    text-align: center;
  }

  .process-tabs button + button {
    border-left: 1px solid oklch(100% 0 0 / 0.13);
  }

  .process-tabs button strong {
    font-size: 0.8125rem;
  }

  .production-principles {
    grid-template-columns: 1fr;
  }

  .production-principles article {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0 1.25rem;
  }

  .production-principles h3 {
    margin-top: 0;
  }

  .production-principles p {
    grid-column: 2;
  }

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

  .footer-base > span:nth-child(2) {
    grid-column: 1 / -1;
    grid-row: 2;
    text-align: left;
  }
}

@media (max-width: 46rem) {
  .hero-dither {
    opacity: 0.56;
    -webkit-mask-image: radial-gradient(ellipse 72% 43% at 50% 43%, transparent 22%, rgb(0 0 0 / 0.18) 60%, #000 100%);
    mask-image: radial-gradient(ellipse 72% 43% at 50% 43%, transparent 22%, rgb(0 0 0 / 0.18) 60%, #000 100%);
  }

  .hero {
    min-height: 100svh;
    padding-top: 7.5rem;
    padding-bottom: 1.5rem;
  }

  .hero-center {
    justify-content: center;
    padding: 1rem 0 2rem;
  }

  .hero-title {
    font-size: clamp(2.65rem, 12vw, 4rem);
    line-height: 1.02;
  }

  .hero-lead {
    max-width: 35rem;
    font-size: 1rem;
  }

  .hero-actions {
    flex-direction: column;
    gap: 0.75rem;
  }

  .section-center h2,
  .production-heading h2 {
    font-size: clamp(2.45rem, 11vw, 3.5rem);
  }

  .system-section,
  .capabilities,
  .production {
    padding-top: clamp(6rem, 24vw, 8rem);
  }

  .agent-wheel-track {
    height: 340svh;
    margin-inline: calc(var(--gutter) * -0.5);
  }

  .agent-wheel-sticky {
    padding: 5.75rem 0 0.75rem;
  }

  .agent-wheel-scene {
    height: 100%;
    border-radius: 0.75rem;
  }

  .agent-wheel-meta,
  .agent-wheel-footer {
    min-height: 3.5rem;
    padding: 0.625rem 1rem;
  }

  .agent-wheel-layout {
    grid-template-columns: 1fr;
    grid-template-rows: 10.5rem minmax(0, 1fr);
  }

  .option-wheel-shell {
    border-right: 0;
    border-bottom: 1px solid oklch(100% 0 0 / 0.1);
  }

  .option-wheel {
    min-height: 0;
  }

  .option-wheel button {
    left: 2rem;
    font-size: clamp(2rem, 10vw, 3.25rem);
  }

  .agent-stage-output {
    grid-template-rows: auto auto;
    align-content: space-between;
    gap: 1rem;
    padding: 1.25rem;
    overflow: hidden;
  }

  .agent-stage-copy {
    align-self: start;
  }

  .brief-meta {
    font-size: 0.6875rem;
  }

  .agent-stage-copy h3 {
    margin-top: 0.65rem;
    font-size: clamp(1.4rem, 6.2vw, 1.8rem);
    line-height: 1.05;
  }

  .source-list {
    gap: 0.3rem;
    margin-top: 0.55rem;
  }

  .source-list span {
    padding: 0.3rem 0.5rem;
    font-size: 0.625rem;
  }

  .stage-result header,
  .stage-result footer {
    min-height: 2.75rem;
    padding: 0.5rem 0.75rem;
  }

  .stage-result h4 {
    padding: 0.8rem 0.9rem 0.25rem;
    font-size: 1rem;
  }

  .stage-result ul {
    padding: 0.25rem 0.9rem 0.65rem;
  }

  .stage-result li {
    padding: 0.45rem 0;
    font-size: 0.72rem;
  }

  .agent-wheel-footer {
    grid-template-columns: auto minmax(3rem, 1fr);
  }

  .agent-wheel-footer > span:last-child {
    display: none;
  }

  .capability-mosaic {
    grid-template-columns: 1fr;
  }

  .capability-card {
    grid-column: auto;
    min-height: 31rem;
  }

  .capability-copy h3 {
    font-size: 2rem;
  }

  .citation-row {
    grid-template-columns: auto 1fr;
  }

  .event-stream > div:not(.event-apps) {
    grid-template-columns: auto auto 1fr;
  }

  .event-stream em {
    display: none;
  }

  .process-panel {
    padding: 2rem 1rem 1rem;
  }

  .process-intro {
    padding-inline: 0.5rem;
  }

  .process-intro h2 {
    font-size: clamp(2.45rem, 11vw, 3.5rem);
  }

  .process-tabs {
    overflow-x: auto;
    grid-template-columns: repeat(4, minmax(7.5rem, 1fr));
    scrollbar-width: none;
  }

  .process-tabs::-webkit-scrollbar {
    display: none;
  }

  .process-screen-body {
    grid-template-columns: 1fr;
    min-height: 25rem;
    align-content: center;
  }

  .process-screen h3 {
    font-size: 2.25rem;
  }

  .process-screen > footer {
    align-items: flex-start;
  }

  .production-principles article {
    grid-template-columns: 2.5rem 1fr;
  }

  .booking {
    padding-bottom: 6rem;
  }

  .booking-panel {
    padding: 2rem 1rem 1rem;
  }

  .booking-copy {
    display: block;
    padding: 0.5rem;
  }

  .booking-copy h2 {
    font-size: clamp(2.5rem, 11vw, 3.5rem);
  }

  .calendar-shell,
  .calendar-embed,
  .calendar-embed > div,
  .calendar-embed iframe {
    min-height: 43rem !important;
  }

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

  .footer-intro {
    grid-column: 1 / -1;
  }

  .footer-contact {
    grid-column: 1 / -1;
    margin-top: 1rem;
  }
}

@media (max-width: 27rem) {
  .brand-name {
    font-size: 0.9375rem;
  }

  .context-pill {
    font-size: 0.6875rem;
  }

  .stage-result li {
    flex-direction: column;
    gap: 0.25rem;
  }

  .stage-result li strong {
    text-align: left;
  }

  .event-stream > div:not(.event-apps) {
    grid-template-columns: auto 1fr;
  }

  .event-time {
    display: none;
  }

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

  .footer-intro,
  .footer-contact {
    grid-column: auto;
  }

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

  .footer-base > span:nth-child(2) {
    grid-column: auto;
    grid-row: auto;
  }

  .legal {
    justify-self: start;
  }

  .legal-menu {
    right: auto;
    left: 0;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }

  .agent-wheel-track {
    height: auto;
  }

  .agent-wheel-sticky {
    position: relative;
    height: auto;
    padding: clamp(3rem, 7vw, 5rem) 0 0;
  }

  .agent-wheel-scene {
    height: auto;
    min-height: 38rem;
  }

  .option-wheel {
    display: grid;
    align-content: center;
    gap: 0.4rem;
    padding: 2rem;
  }

  .option-wheel button {
    position: relative;
    top: auto;
    left: auto;
    min-height: 2.75rem;
    font-size: clamp(1.4rem, 3vw, 2.25rem);
    opacity: 0.45 !important;
    transform: none !important;
  }

  .option-wheel button[aria-selected="true"] {
    opacity: 1 !important;
  }

  .wheel-center-line,
  .option-wheel-shell::after {
    display: none;
  }
}

@media (prefers-reduced-transparency: reduce) {
  .site-nav.is-scrolled,
  body.menu-open .site-nav,
  .mobile-panel {
    background: var(--canvas);
    backdrop-filter: none;
  }
}

@media (prefers-contrast: more) {
  :root {
    --muted: oklch(34% 0.01 260);
    --line: oklch(40% 0.01 260 / 0.5);
  }

  .site-nav.is-scrolled,
  .context-pill,
  .capability-card {
    background: var(--surface);
  }

  .hero-dither {
    opacity: 0.24;
  }
}

/* Core offers film: three legible product systems, composed as one scroll sequence. */
.offer-film-section {
  padding-top: var(--section-space);
}

.offer-film-track {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
}

.offer-film-sticky,
.offer-film-stage {
  position: relative;
}

.offer-film-stage {
  isolation: isolate;
  overflow: clip;
  background: var(--canvas);
}

.offer-film-dark {
  display: none;
}

.offer-film-intro {
  min-height: min(92vh, 54rem);
  justify-content: center;
  padding: clamp(6rem, 10vw, 9rem) var(--gutter);
}

.offer-film-intro h2 {
  max-width: 62rem;
}

.offer-film-intro > p:last-child {
  max-width: 48rem;
}

.offer-film-scenes {
  display: flex;
  flex-direction: column;
}

.offer-scene {
  position: relative;
  display: grid;
  align-content: center;
  min-height: min(100svh, 58rem);
  padding: clamp(6rem, 10vw, 8rem) var(--gutter);
  overflow: hidden;
}

.offer-scene + .offer-scene {
  border-top: 1px solid var(--line);
}

.offer-scene-transform {
  min-height: max(52rem, 100svh);
  border-top: 0;
  background: var(--night);
  color: var(--surface);
}

.offer-scene-copy {
  position: relative;
  z-index: 4;
  max-width: 38rem;
}

.offer-scene-copy-centered {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 62rem;
  margin-inline: auto;
  text-align: center;
}

.offer-type {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  min-height: 2.5rem;
  padding: 0.5rem 0.875rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: oklch(100% 0 0 / 0.72);
  color: oklch(31% 0.009 260);
  font-size: 0.75rem;
  font-weight: 520;
}

.offer-type-dark {
  border-color: oklch(100% 0 0 / 0.14);
  background: oklch(100% 0 0 / 0.055);
  color: oklch(83% 0.009 145);
}

.offer-signal,
.offer-live-dot {
  display: inline-block;
  flex: 0 0 auto;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--accent);
}

.offer-scene h3 {
  max-width: 58rem;
  margin-top: clamp(1.1rem, 2.2vh, 1.75rem);
  font-size: clamp(2.4rem, 4.7vw, 4.6rem);
  font-weight: 320;
  letter-spacing: -0.04em;
  line-height: 1.02;
}

.offer-scene-copy > p:not(.offer-type) {
  max-width: 48rem;
  margin-top: 1.15rem;
  color: var(--muted);
  font-size: clamp(1rem, 1.25vw, 1.125rem);
  line-height: 1.6;
}

.offer-scene-transform .offer-scene-copy > p:not(.offer-type) {
  color: oklch(76% 0.009 145);
}

.offer-inline-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 2.75rem;
  margin-top: 0.8rem;
  font-size: 0.875rem;
  font-weight: 540;
}

.offer-inline-link > span:first-child {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.35rem;
}

.offer-inline-link > span:last-child {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-control);
  transition: transform var(--duration-ui) var(--ease-out), background-color var(--duration-ui) ease-out;
}

.offer-inline-link:hover > span:last-child {
  background: var(--surface);
  transform: translate3d(0.12rem, -0.12rem, 0);
}

.sop-system-map {
  position: relative;
  display: grid;
  grid-template-columns: minmax(11rem, 1fr) minmax(18rem, 1.35fr) minmax(11rem, 1fr);
  align-items: center;
  gap: clamp(2.25rem, 5vw, 5.5rem);
  width: min(76rem, 100%);
  min-height: 25rem;
  margin: clamp(2.5rem, 5vh, 4.5rem) auto 0;
}

.sop-system-connectors {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.sop-system-connectors path {
  fill: none;
  stroke: oklch(55% 0.01 260 / 0.42);
  stroke-width: 1.25;
  stroke-dasharray: 0.028 0.052;
  stroke-dashoffset: 0;
  vector-effect: non-scaling-stroke;
}

.sop-system-connectors path[data-sop-line="input"] {
  stroke: oklch(63% 0.008 260 / 0.32);
}

.sop-system-connectors path[data-sop-line="output"] {
  stroke: oklch(48% 0.012 260 / 0.54);
}

.sop-map-column,
.sop-core {
  position: relative;
  z-index: 1;
}

.sop-map-column {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.sop-map-node {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 2.25rem minmax(0, 1fr);
  align-items: center;
  gap: 0.75rem;
  min-height: 3.55rem;
  padding: 0.6rem 0.75rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  background: oklch(100% 0 0 / 0.88);
  color: oklch(27% 0.01 260);
}

.sop-map-node > :not(.sop-node-glow) {
  position: relative;
  z-index: 1;
}

.sop-node-code {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.55rem;
  background: var(--surface-muted);
  color: oklch(39% 0.01 260);
  font-size: 0.5625rem;
  font-weight: 650;
  letter-spacing: 0.035em;
}

.sop-map-inputs {
  gap: 1rem;
}

.sop-map-inputs .sop-map-node {
  border-color: oklch(61% 0.007 260 / 0.34);
  border-style: dashed;
  background: oklch(98.5% 0.002 260 / 0.44);
  color: oklch(49% 0.009 260);
  box-shadow: none;
  opacity: 0.64;
}

.sop-map-inputs .sop-node-code {
  border: 1px solid oklch(62% 0.007 260 / 0.22);
  background: oklch(95.5% 0.003 260 / 0.5);
  color: oklch(53% 0.008 260);
}

.sop-map-outputs {
  gap: 0.72rem;
}

.sop-map-outputs .sop-map-node {
  grid-template-columns: 2.25rem minmax(0, 1fr) auto;
  min-height: 3.8rem;
  border-color: oklch(63.81% 0.2065 38.13 / 0.34);
  background: oklch(100% 0 0 / 0.96);
  box-shadow:
    inset 0 1px 0 oklch(100% 0 0 / 0.94),
    0 0.25rem 0.5rem oklch(28% 0.008 260 / 0.075),
    0 0 0.45rem oklch(63.81% 0.2065 38.13 / 0.11);
}

.sop-map-outputs .sop-node-code {
  background: oklch(94.5% 0.004 260);
  color: oklch(30% 0.01 260);
}

.sop-output-status {
  display: grid;
  place-items: center;
  width: 1.45rem;
  height: 1.45rem;
  border: 1px solid oklch(63.81% 0.2065 38.13 / 0.28);
  border-radius: 50%;
  background: oklch(63.81% 0.2065 38.13 / 0.075);
  color: var(--accent-dark);
  font-size: 0.65rem;
  font-style: normal;
  font-weight: 740;
}

.sop-node-glow {
  position: absolute;
  z-index: 0;
  inset: -1px;
  overflow: hidden;
  padding: 1px;
  border-radius: calc(0.75rem + 1px);
  background: linear-gradient(
    112deg,
    oklch(63.81% 0.2065 38.13 / 0.46),
    oklch(100% 0 0 / 0.88) 46%,
    oklch(63.81% 0.2065 38.13 / 0.34)
  );
  opacity: 1;
  pointer-events: none;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
}

.sop-node-glow > i {
  position: absolute;
  inset: -180%;
  background: conic-gradient(
    transparent 0 36%,
    oklch(63.81% 0.2065 38.13 / 0.2) 43%,
    oklch(100% 0 0 / 0.96) 49%,
    oklch(63.81% 0.2065 38.13 / 0.54) 54%,
    transparent 64% 100%
  );
  animation: sop-output-border-orbit 5.6s linear infinite;
  animation-play-state: paused;
}

.sop-map-outputs .sop-map-node:nth-child(2) .sop-node-glow > i { animation-delay: -1.4s; }
.sop-map-outputs .sop-map-node:nth-child(3) .sop-node-glow > i { animation-delay: -2.8s; }
.sop-map-outputs .sop-map-node:nth-child(4) .sop-node-glow > i { animation-delay: -4.2s; }

@keyframes sop-output-border-orbit {
  from { transform: rotate(18deg); }
  to { transform: rotate(378deg); }
}

@media (min-width: 46.01rem) {
  .sop-map-inputs .sop-map-node:nth-child(1) {
    width: 86%;
    margin-left: 1%;
  }

  .sop-map-inputs .sop-map-node:nth-child(2) {
    width: 76%;
    margin-left: 19%;
  }

  .sop-map-inputs .sop-map-node:nth-child(3) {
    width: 93%;
    margin-left: 0;
  }

  .sop-map-inputs .sop-map-node:nth-child(4) {
    width: 79%;
    margin-left: 13%;
  }
}

.sop-map-node strong {
  font-size: 0.8125rem;
  font-weight: 540;
  line-height: 1.3;
}

.sop-core {
  top: clamp(1.25rem, 2.8vh, 1.75rem);
  overflow: visible;
}

.sop-transmuter {
  position: relative;
  display: grid;
  grid-template-rows: 9.3rem 2.55rem 0.9rem;
  justify-items: center;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.sop-transmuter::before {
  display: none;
}

.sop-transmuter > * {
  position: relative;
  z-index: 1;
}

.sop-transmuter-chamber {
  display: grid;
  place-items: center;
  width: 100%;
  height: 9.3rem;
  overflow: hidden;
}

.sop-transmuter-grid {
  position: absolute;
  z-index: 0;
  inset: 0.55rem;
  background-image:
    linear-gradient(oklch(45% 0.01 260 / 0.055) 1px, transparent 1px),
    linear-gradient(90deg, oklch(45% 0.01 260 / 0.055) 1px, transparent 1px);
  background-size: 0.9rem 0.9rem;
  opacity: 0.58;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 12%, transparent 72%);
  mask-image: radial-gradient(ellipse at center, #000 12%, transparent 72%);
}

.sop-transmuter-orbit {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  border: 1px solid oklch(63.81% 0.2065 38.13 / 0.24);
  border-radius: 50%;
  transform-origin: center;
}

.sop-transmuter-orbit-a {
  width: 10.6rem;
  height: 4.8rem;
  animation: sop-transmuter-orbit-a 7.6s linear infinite;
}

.sop-transmuter-orbit-b {
  width: 7.2rem;
  height: 6.25rem;
  border-color: oklch(43% 0.012 260 / 0.17);
  animation: sop-transmuter-orbit-b 6.4s linear infinite;
}

.sop-transmuter-orbit > i {
  position: absolute;
  top: -0.19rem;
  left: 50%;
  width: 0.38rem;
  height: 0.38rem;
  border: 1px solid oklch(100% 0 0 / 0.88);
  border-radius: 50%;
  background: var(--accent);
  transform: translate3d(-50%, 0, 0);
}

.sop-transmuter-scan {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  width: 9rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, oklch(63.81% 0.2065 38.13 / 0.72), transparent);
  animation: sop-transmuter-scan 3.2s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}

.sop-transmuter-particle {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  width: 0.28rem;
  height: 0.28rem;
  border-radius: 50%;
  background: oklch(49% 0.012 260 / 0.64);
  animation: sop-transmuter-ingest 4.2s cubic-bezier(0.2, 0.7, 0.2, 1) infinite;
}

.sop-transmuter-particle-a { --particle-y: -1.7rem; --particle-y-end: -0.3rem; animation-delay: -0.4s; }
.sop-transmuter-particle-b { --particle-y: 0; --particle-y-end: 0; animation-delay: -1.8s; }
.sop-transmuter-particle-c { --particle-y: 1.55rem; --particle-y-end: 0.28rem; animation-delay: -3.1s; }

.sop-transmuter-emission {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: calc(50% + 2.65rem);
  width: 5.25rem;
  height: 1px;
  background: linear-gradient(90deg, oklch(100% 0 0 / 0.95), var(--accent), transparent);
  transform-origin: left center;
  animation: sop-transmuter-emit 8s cubic-bezier(0.2, 0.7, 0.2, 1) infinite;
}

.sop-core-brand-chip {
  position: relative;
  z-index: 4;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  min-height: 2.05rem;
  padding: 0.2rem 0.48rem 0.2rem 0.24rem;
  overflow: hidden;
  border: 0;
  border-radius: 999px;
  background: oklch(100% 0 0 / 0.72);
  box-shadow:
    inset 0 1px 0 oklch(100% 0 0 / 0.96),
    inset 0 -1px 0 oklch(34% 0.01 260 / 0.08),
    0 0 0 1px oklch(100% 0 0 / 0.76),
    0 0 1.4rem oklch(63.81% 0.2065 38.13 / 0.22);
}

.sop-core-brand-chip::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: -1px;
  padding: 1px;
  border-radius: inherit;
  background: conic-gradient(
    from 20deg,
    oklch(63.81% 0.2065 38.13 / 0.18),
    oklch(100% 0 0 / 0.98) 26%,
    oklch(63.81% 0.2065 38.13 / 0.46) 48%,
    oklch(100% 0 0 / 0.92) 70%,
    oklch(63.81% 0.2065 38.13 / 0.18)
  );
  opacity: 0.88;
  pointer-events: none;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
}

.sop-core-brand-chip::after {
  content: "";
  position: absolute;
  z-index: 0;
  top: -65%;
  bottom: -65%;
  left: -42%;
  width: 32%;
  background: linear-gradient(90deg, transparent, oklch(100% 0 0 / 0.95), transparent);
  opacity: 0.78;
  transform: translate3d(-230%, 0, 0) skewX(-18deg);
  animation: sop-brand-sheen 4.8s cubic-bezier(0.16, 1, 0.3, 1) infinite;
  animation-play-state: paused;
  pointer-events: none;
}

.sop-core-brand-chip > * {
  position: relative;
  z-index: 1;
}

@keyframes sop-brand-sheen {
  0%, 58% { transform: translate3d(-230%, 0, 0) skewX(-18deg); }
  78%, 100% { transform: translate3d(560%, 0, 0) skewX(-18deg); }
}

.sop-core-emblem {
  position: relative;
  display: grid;
  place-items: center;
  width: 1.62rem;
  height: 1.62rem;
  border-radius: 0.4rem;
  background: oklch(100% 0 0 / 0.88);
  box-shadow:
    inset 0 0 0 1px oklch(41% 0.012 260 / 0.14),
    0 0 0 0.12rem oklch(100% 0 0 / 0.32);
}

.sop-core-mark {
  width: 1.08rem;
  height: 1.08rem;
  border: 0;
  border-radius: 0.24rem;
  background: transparent;
  box-shadow: none;
}

.sop-core-identity {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 0.04rem;
}

.sop-core-identity strong {
  font-size: 0.7rem;
  font-weight: 650;
  letter-spacing: -0.015em;
}

.sop-core-identity small {
  color: var(--muted);
  font-size: 0.5rem;
}

.sop-transmuter-readout {
  position: relative;
  width: min(100%, 16rem);
  height: 2.45rem;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.sop-transmuter-phase {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1.65rem minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.5rem;
  padding-inline: 0.62rem;
  opacity: 0;
  transform: translate3d(0, 0.28rem, 0);
}

.sop-transmuter-phase:first-child {
  opacity: 1;
  transform: none;
}

.sop-transmuter-phase > i {
  color: var(--accent-dark);
  font-size: 0.56rem;
  font-style: normal;
  font-variant-numeric: tabular-nums;
}

.sop-transmuter-phase > strong {
  overflow: hidden;
  font-size: 0.71rem;
  font-weight: 580;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sop-transmuter-phase > b {
  width: 0.78rem;
  height: 0.78rem;
  border: 1px solid oklch(43% 0.012 260 / 0.18);
  border-top-color: var(--accent);
  border-radius: 50%;
}

.sop-transmuter-progress {
  position: relative;
  display: flex;
  align-items: center;
  width: min(9.5rem, 100%);
  height: 0.14rem;
  overflow: hidden;
  border-radius: 999px;
  background: oklch(45% 0.012 260 / 0.16);
}

.sop-transmuter-progress > i {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: var(--accent);
  box-shadow: 0 0 0.6rem oklch(63.81% 0.2065 38.13 / 0.52);
  transform: scaleX(1);
  transform-origin: left center;
}

@keyframes sop-transmuter-orbit-a {
  from { transform: translate3d(-50%, -50%, 0) rotate(12deg); }
  to { transform: translate3d(-50%, -50%, 0) rotate(372deg); }
}

@keyframes sop-transmuter-orbit-b {
  from { transform: translate3d(-50%, -50%, 0) rotate(342deg); }
  to { transform: translate3d(-50%, -50%, 0) rotate(-18deg); }
}

@keyframes sop-transmuter-scan {
  0% { opacity: 0; transform: translate3d(-50%, -3.15rem, 0) scaleX(0.55); }
  16% { opacity: 0.72; }
  78% { opacity: 0.24; }
  100% { opacity: 0; transform: translate3d(-50%, 3.15rem, 0) scaleX(1); }
}

@keyframes sop-transmuter-ingest {
  0%, 12% { opacity: 0; transform: translate3d(-6.3rem, var(--particle-y), 0) scale(0.55); }
  28% { opacity: 0.58; }
  78% { opacity: 0.82; }
  100% { opacity: 0; transform: translate3d(-1.15rem, var(--particle-y-end), 0) scale(1); }
}

@keyframes sop-transmuter-emit {
  0%, 78% { opacity: 0; transform: scaleX(0.04); }
  84% { opacity: 0.92; transform: scaleX(0.12); }
  97% { opacity: 0.46; transform: scaleX(1); }
  100% { opacity: 0; transform: scaleX(1.08); }
}

.sop-transmuter *,
.sop-transmuter *::before,
.sop-transmuter *::after {
  animation-play-state: paused;
}

.content-pipeline-ui {
  position: relative;
  isolation: isolate;
  width: min(70rem, 100%);
  margin: clamp(2.4rem, 4vh, 4rem) auto 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-panel);
  background: var(--surface);
  box-shadow: 0 0.4rem 0.5rem oklch(25% 0.01 260 / 0.06);
}

.content-pipeline-ui > :not(.content-bento-spotlight) {
  position: relative;
  z-index: 1;
}

.content-flow-stage {
  display: grid;
  grid-template-rows: auto 0.95rem auto 3.3rem auto;
  justify-items: center;
  min-height: 15.25rem;
  padding: 0.75rem 0.9rem 0.8rem;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(180deg, oklch(99% 0.001 260), oklch(96.8% 0.004 260)),
    var(--surface-muted);
}

.content-bento-spotlight {
  position: absolute;
  z-index: 0;
  top: 0;
  left: 0;
  width: 22rem;
  height: 22rem;
  border-radius: 50%;
  background: radial-gradient(circle, oklch(63.81% 0.2065 38.13 / 0.075), transparent 68%);
  opacity: 0;
  transform: translate3d(-30rem, -30rem, 0);
  transition: opacity 220ms var(--ease-out);
  pointer-events: none;
}

.content-origin-node {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(23rem, 52%);
  min-height: 3.35rem;
  padding: 0.6rem 0.65rem 0.6rem 0.75rem;
  border: 1px solid oklch(25% 0.01 260 / 0.8);
  border-radius: 0.85rem;
  background: var(--ink);
  color: var(--surface);
  box-shadow: 0 0.65rem 1.6rem oklch(20% 0.012 260 / 0.13), inset 0 1px 0 oklch(100% 0 0 / 0.1);
}

.content-origin-title {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
}

.content-origin-title > span:last-child {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.content-origin-title small {
  color: oklch(72% 0.008 260);
  font-size: 0.55rem;
  letter-spacing: 0.055em;
  line-height: 1.3;
  text-transform: uppercase;
}

.content-origin-title strong {
  overflow: hidden;
  margin-top: 0.13rem;
  font-size: 0.75rem;
  font-weight: 570;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.content-origin-meta {
  flex: 0 0 auto;
  padding: 0.42rem 0.58rem;
  border: 1px solid oklch(100% 0 0 / 0.13);
  border-radius: 999px;
  background: oklch(100% 0 0 / 0.07);
  color: oklch(78% 0.007 260);
  font-size: 0.5625rem;
}

.content-flow-trunk {
  position: relative;
  display: block;
  width: 1px;
  height: 100%;
  background: oklch(58% 0.012 260 / 0.62);
  transform-origin: 50% 0;
}

.content-flow-trunk i {
  position: absolute;
  bottom: -0.24rem;
  left: 50%;
  width: 0.5rem;
  height: 0.5rem;
  border: 2px solid var(--surface);
  border-radius: 50%;
  background: var(--accent);
  transform: translateX(-50%);
  box-shadow: 0 0 0 1px oklch(60% 0.012 260 / 0.42);
}

.content-distribution-hub {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.55rem;
  width: min(19rem, 42%);
  min-height: 2.45rem;
  padding: 0.42rem 0.55rem;
  border: 1px solid var(--line-strong);
  border-radius: 0.75rem;
  background: oklch(99.5% 0.001 260 / 0.94);
  box-shadow: 0 0.45rem 1.25rem oklch(24% 0.01 260 / 0.08), inset 0 1px 0 white;
  backdrop-filter: blur(0.5rem);
  -webkit-backdrop-filter: blur(0.5rem);
}

.content-hub-mark {
  display: grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 0.5rem;
  background: var(--ink);
  color: var(--surface);
  font-size: 0.55rem;
  font-weight: 680;
  letter-spacing: 0.03em;
}

.content-distribution-hub strong {
  font-size: 0.6875rem;
  font-weight: 600;
}

.content-distribution-hub small {
  color: var(--muted);
  font-size: 0.5625rem;
  font-variant-numeric: tabular-nums;
}

.content-branch-lines {
  display: block;
  width: calc(100% - 2rem);
  height: 3.3rem;
  overflow: visible;
}

.content-branch-lines path {
  fill: none;
  stroke: oklch(57% 0.014 260 / 0.52);
  stroke-width: 1.2;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}

.content-channel-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.65rem;
  width: 100%;
  margin-top: -0.15rem;
}

.content-channel-card {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 2.45rem minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-content: center;
  column-gap: 0.7rem;
  min-width: 0;
  min-height: 4.35rem;
  padding: 0.65rem 0.7rem;
  overflow: hidden;
  border-radius: 0.75rem;
}

.calendar-platform {
  --platform-color: #111;
  border: 1px solid var(--line);
  background: oklch(99.4% 0.001 260 / 0.94);
  box-shadow: inset 0 1px 0 white;
  contain: paint;
}

.calendar-platform::after {
  content: "";
  position: absolute;
  z-index: 4;
  top: -135%;
  left: -58%;
  width: 34%;
  height: 370%;
  background: linear-gradient(
    90deg,
    transparent,
    oklch(100% 0 0 / 0.68) 44%,
    oklch(63.81% 0.2065 38.13 / 0.11) 54%,
    transparent
  );
  opacity: 0;
  transform: translate3d(0, 0, 0) rotate(18deg);
  transition: transform 700ms var(--ease-out), opacity 130ms ease-out;
  pointer-events: none;
}

.content-channel-card > strong,
.content-channel-card > small,
.platform-glass-icon {
  position: relative;
  z-index: 2;
}

.content-channel-card .platform-glass-icon {
  grid-row: 1 / 3;
  align-self: center;
}

.content-channel-card > strong {
  align-self: end;
  overflow: hidden;
  font-size: 0.72rem;
  font-weight: 610;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.content-channel-card > small {
  align-self: start;
  overflow: hidden;
  margin-top: 0.16rem;
  color: var(--muted);
  font-size: 0.58rem;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.calendar-card-glow {
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  width: 10rem;
  height: 10rem;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in oklch, var(--platform-color) 18%, white), transparent 69%);
  opacity: 0;
  transform: translate3d(-12rem, -12rem, 0);
  pointer-events: none;
}

.content-pipeline-ui.is-bento-active .content-bento-spotlight,
.content-pipeline-ui.is-bento-active .calendar-card-glow {
  will-change: transform, opacity;
}

.calendar-youtube { --platform-color: #ff0033; }
.calendar-linkedin { --platform-color: #0a66c2; }
.calendar-tiktok { --platform-color: #111; }
.calendar-x { --platform-color: #111; }

.platform-glass-icon {
  display: block;
  flex: 0 0 auto;
  width: 2.45rem;
  height: 2.45rem;
  perspective: 12rem;
  transform-style: preserve-3d;
}

.platform-glass-back,
.platform-glass-front {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border-radius: 0.72rem;
  transition: transform 300ms var(--ease-out);
}

.platform-glass-back {
  background: var(--platform-color);
  box-shadow: 0.28rem -0.24rem 0.4rem oklch(18% 0.01 260 / 0.16);
  transform: rotate(13deg);
  transform-origin: 100% 100%;
}

.platform-glass-front {
  border: 1px solid oklch(100% 0 0 / 0.48);
  background: oklch(100% 0 0 / 0.18);
  box-shadow: inset 0 1px 0 oklch(100% 0 0 / 0.42);
  backdrop-filter: blur(0.4rem);
  -webkit-backdrop-filter: blur(0.4rem);
  transform: translate3d(0, 0, 0.2rem);
  transform-origin: 80% 50%;
}

.platform-mark {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  color: #fff;
  font-size: 0.625rem;
  font-weight: 700;
}

.platform-mark svg {
  width: 1.1rem;
  height: 1.1rem;
  fill: currentColor;
}

.content-calendar {
  position: relative;
  isolation: isolate;
  min-height: 23.5rem;
  padding: 0.95rem;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% -20%, oklch(100% 0 0 / 0.96), transparent 48%),
    linear-gradient(180deg, oklch(98.6% 0.002 260), oklch(95.8% 0.004 260));
  color: var(--ink);
}

.content-calendar::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0.65rem;
  border: 1px solid var(--line-strong);
  border-radius: 1rem;
  box-shadow: inset 0 1px 0 white;
  pointer-events: none;
}

.content-calendar-heading {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 2.9rem;
  padding: 0.1rem 0.75rem 0.65rem;
  border-bottom: 1px solid var(--line);
}

.content-calendar-heading > div {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.content-calendar-heading strong {
  font-size: 0.75rem;
  font-weight: 570;
}

.content-calendar-heading > span {
  color: var(--muted);
  font-size: 0.6875rem;
}

.content-calendar-board {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.6rem;
  padding: 0.65rem 0.75rem 0.75rem;
}

.content-calendar-day {
  display: grid;
  grid-template-rows: 1.75rem repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
  min-width: 0;
}

.content-calendar-day > header {
  display: flex;
  align-items: center;
  padding-inline: 0.25rem;
  color: var(--muted);
  font-size: 0.6875rem;
  font-weight: 480;
}

.content-calendar-slot {
  position: relative;
  display: flex;
  align-items: flex-end;
  gap: 0.7rem;
  min-width: 0;
  min-height: 7rem;
  padding: 0.72rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 0.85rem;
  background: oklch(99.2% 0.001 260 / 0.88);
  box-shadow: inset 0 1px 0 white;
}

.content-calendar .calendar-platform {
  border-color: var(--line);
  background:
    radial-gradient(circle at 24% 0%, color-mix(in oklch, var(--platform-color) 5%, transparent), transparent 42%),
    oklch(99.4% 0.001 260 / 0.94);
  color: var(--ink);
  box-shadow: inset 0 1px 0 white;
}

.content-calendar-date {
  position: absolute;
  z-index: 3;
  top: 0.65rem;
  left: 0.72rem;
  color: oklch(35% 0.008 260);
  font-size: 1rem;
  font-weight: 560;
  font-variant-numeric: tabular-nums;
}

.content-calendar-slot .platform-glass-icon {
  z-index: 2;
  width: 2.15rem;
  height: 2.15rem;
}

.content-calendar-post-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-width: 0;
  padding-bottom: 0.08rem;
}

.content-calendar-post-copy strong,
.content-calendar-post-copy small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.content-calendar-post-copy strong {
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 570;
}

.content-calendar-post-copy small {
  margin-top: 0.14rem;
  color: var(--muted);
  font-size: 0.55rem;
}

.content-calendar-slot.is-empty {
  align-items: stretch;
  border-color: var(--line);
  background:
    linear-gradient(135deg, oklch(99.2% 0.001 260), oklch(95.8% 0.004 260) 68%),
    var(--surface-muted);
}

.content-calendar-slot.is-empty::after {
  content: "";
  position: absolute;
  right: -24%;
  bottom: -62%;
  width: 8rem;
  height: 8rem;
  border: 1px solid oklch(35% 0.008 260 / 0.075);
  border-radius: 50%;
}

.calendar-empty-state {
  position: absolute;
  right: 0.75rem;
  bottom: 0.75rem;
  left: 0.75rem;
  display: grid;
  gap: 0.35rem;
  opacity: 0.46;
}

.calendar-empty-state i {
  display: block;
  width: 58%;
  height: 1px;
  background: oklch(35% 0.008 260 / 0.13);
}

.calendar-empty-state i:last-child {
  width: 36%;
}

@media (min-width: 46.01rem) and (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .calendar-platform:hover::after {
    opacity: 0.9;
    transform: translate3d(470%, 0, 0) rotate(18deg);
  }

  .calendar-platform:hover .platform-glass-back {
    transform: rotate(22deg) translate3d(-0.18rem, -0.2rem, 0.35rem);
  }

  .calendar-platform:hover .platform-glass-front {
    transform: translate3d(0, 0, 0.9rem);
  }
}

.offer-scene-transform {
  grid-template-columns: minmax(18rem, 0.82fr) minmax(28rem, 1.18fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 7rem);
}

.offer-scene-transform h3 {
  max-width: 36rem;
  color: var(--surface);
}

.transform-proof {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  max-width: 31rem;
  margin-top: 1.75rem;
  padding-top: 1rem;
  border-top: 1px solid oklch(100% 0 0 / 0.14);
  color: oklch(88% 0.008 145);
}

.transform-proof span {
  display: grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: var(--accent);
  color: var(--surface);
  font-size: 0.75rem;
  font-weight: 700;
}

.transform-proof strong {
  font-size: 0.8125rem;
  font-weight: 520;
}

.ai-transformation-viewport {
  position: relative;
  z-index: 2;
  height: min(77vh, 43rem);
  min-height: 36rem;
  overflow: hidden;
}

.ai-transformation-viewport::before,
.ai-transformation-viewport::after {
  content: "";
  position: absolute;
  z-index: 4;
  right: 0;
  left: 0;
  height: 5rem;
  pointer-events: none;
}

.ai-transformation-viewport::before {
  top: 0;
  background: linear-gradient(var(--night), transparent);
}

.ai-transformation-viewport::after {
  bottom: 0;
  background: linear-gradient(transparent, var(--night));
}

.ai-transformation-flow {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(38rem, 92%);
  margin-inline: auto;
  padding: 4.5rem 0 7rem;
}

.ai-flow-node {
  display: grid;
  grid-template-columns: 2.25rem minmax(0, 1fr);
  align-items: center;
  gap: 0.85rem;
  width: min(27rem, 82%);
  min-height: 5.2rem;
  padding: 0.85rem 1rem;
  border: 1px solid oklch(100% 0 0 / 0.2);
  border-radius: var(--radius-surface);
  background: linear-gradient(112deg, oklch(30% 0.01 145 / 0.76), oklch(15% 0.006 145 / 0.95) 56%, oklch(20% 0.008 145 / 0.88));
  box-shadow: inset 0 1px 0 oklch(100% 0 0 / 0.17), inset 0 -2px 0 oklch(0% 0 0 / 0.32);
}

.ai-flow-node-primary,
.ai-flow-outcome {
  border-color: oklch(63.81% 0.2065 38.13 / 0.42);
}

.ai-flow-number {
  color: var(--accent);
  font-size: 0.625rem;
  font-variant-numeric: tabular-nums;
}

.ai-flow-node strong,
.ai-flow-branches strong {
  display: block;
  color: var(--surface);
  font-size: 0.9375rem;
  font-weight: 530;
}

.ai-flow-node small {
  display: block;
  margin-top: 0.2rem;
  color: oklch(67% 0.008 145);
  font-size: 0.6875rem;
}

.ai-flow-junction {
  position: relative;
  display: block;
  width: 1px;
  height: 2.6rem;
  background: oklch(100% 0 0 / 0.22);
}

.ai-flow-junction i {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0.28rem oklch(63.81% 0.2065 38.13 / 0.11);
  transform: translate3d(-50%, -50%, 0);
}

.ai-flow-junction-branch {
  height: 3.2rem;
}

.ai-flow-branches {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  width: 100%;
}

.ai-flow-branches::before,
.ai-flow-branches::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: -1.6rem;
  height: 1.6rem;
  border-top: 1px solid oklch(100% 0 0 / 0.22);
}

.ai-flow-branches::before {
  right: 50%;
  left: 16.66%;
  border-left: 1px solid oklch(100% 0 0 / 0.22);
  border-radius: 0.75rem 0 0 0;
}

.ai-flow-branches::after {
  right: 16.66%;
  left: 50%;
  border-right: 1px solid oklch(100% 0 0 / 0.22);
  border-radius: 0 0.75rem 0 0;
}

.ai-flow-branches > div {
  min-height: 4.5rem;
  padding: 0.75rem;
  border: 1px solid oklch(100% 0 0 / 0.16);
  border-radius: 0.75rem;
  background: oklch(18% 0.008 145);
  text-align: center;
}

.ai-flow-branches span {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--accent);
  font-size: 0.5625rem;
  letter-spacing: 0.06em;
}

.ai-flow-branches strong {
  font-size: 0.75rem;
}

.ai-feedback-loop {
  position: absolute;
  z-index: 3;
  right: 1rem;
  bottom: 0.25rem;
  left: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 2rem;
  color: oklch(69% 0.008 145);
  font-size: 0.625rem;
  pointer-events: none;
}

.ai-feedback-loop::before,
.ai-feedback-loop::after {
  content: "";
  width: min(7rem, 17%);
  height: 1px;
  margin-inline: 0.75rem;
  background: oklch(100% 0 0 / 0.2);
}

.ai-feedback-loop strong {
  font-weight: 480;
}

/* Enhanced desktop/tablet film. Default and mobile remain readable document flow. */
.offer-film-track.is-enhanced {
  height: 500svh;
}

.offer-film-track.is-enhanced .offer-film-sticky {
  position: sticky;
  top: 0;
  height: 100svh;
}

.offer-film-track.is-enhanced .offer-film-stage {
  width: 100%;
  height: 100%;
}

.offer-film-track.is-enhanced .offer-film-dark {
  position: absolute;
  z-index: -1;
  inset: 0;
  display: block;
  background: var(--night);
  opacity: 0;
  pointer-events: none;
}

.offer-film-track.is-enhanced .offer-film-intro {
  position: absolute;
  z-index: 5;
  top: 50%;
  left: 50%;
  min-height: 0;
  padding: 0;
  transform: translate3d(-50%, -50%, 0);
  pointer-events: none;
}

.offer-film-track.is-enhanced .offer-film-scenes {
  position: absolute;
  inset: 0;
}

.offer-film-track.is-enhanced .offer-scene {
  position: absolute;
  z-index: 3;
  inset: 0;
  min-height: 0;
  padding: clamp(5.75rem, 9vh, 7rem) var(--gutter) clamp(3.5rem, 5vh, 4.5rem);
  border: 0;
  background: transparent;
  opacity: 0;
  pointer-events: none;
}

.offer-film-track.is-enhanced .offer-scene-sop,
.offer-film-track.is-enhanced .offer-scene-content {
  grid-template-rows: auto minmax(0, 1fr);
  align-content: stretch;
}

.offer-film-track.is-enhanced .offer-scene.is-active {
  pointer-events: auto;
}

.offer-film-track.is-enhanced .offer-scene-copy-centered h3 {
  font-size: clamp(2.2rem, 3.9vw, 4rem);
}

.offer-film-track.is-enhanced .sop-system-map {
  align-self: center;
  min-height: min(46vh, 25rem);
  margin-top: clamp(1.25rem, 3vh, 2.5rem);
}

.offer-film-track.is-enhanced .content-pipeline-ui {
  align-self: center;
  height: clamp(22rem, 48vh, 28rem);
  margin-top: clamp(1.25rem, 2.5vh, 2.25rem);
}

.offer-film-track.is-enhanced .content-flow-stage,
.offer-film-track.is-enhanced .content-calendar {
  position: absolute;
  inset: 0;
  min-height: 0;
}

.offer-film-track.is-enhanced .content-flow-stage {
  z-index: 2;
  align-content: center;
  border-bottom: 0;
  background: transparent;
}

.offer-film-track.is-enhanced .content-calendar {
  z-index: 1;
}

.offer-film-track.is-enhanced [data-calendar-static-post] .platform-glass-icon,
.offer-film-track.is-enhanced [data-calendar-static-post] .content-calendar-post-copy {
  opacity: 0;
  visibility: hidden;
}

.offer-film-track.is-enhanced [data-calendar-static-post]::after {
  display: none;
}

.offer-film-track.is-enhanced .content-calendar-board {
  height: calc(100% - 2.9rem);
}

.offer-film-track.is-enhanced .sop-system-connectors path,
.offer-film-track.is-enhanced .sop-core-brand-chip::after,
.offer-film-track.is-enhanced .sop-node-glow > i {
  animation-play-state: paused;
}

.offer-film-track:not(.is-enhanced) .offer-scene-sop.is-in-view .sop-core-brand-chip::after,
.offer-film-track:not(.is-enhanced) .offer-scene-sop.is-in-view .sop-node-glow > i,
.offer-film-track:not(.is-enhanced) .offer-scene-sop.is-in-view .sop-transmuter *,
.offer-film-track:not(.is-enhanced) .offer-scene-sop.is-in-view .sop-transmuter *::before,
.offer-film-track:not(.is-enhanced) .offer-scene-sop.is-in-view .sop-transmuter *::after {
  animation-play-state: running;
}

.offer-film-track.is-enhanced .offer-scene-sop.is-active .sop-system-connectors path,
.offer-film-track.is-enhanced .offer-scene-sop.is-active .sop-core-brand-chip::after,
.offer-film-track.is-enhanced .offer-scene-sop.is-active .sop-node-glow > i,
.offer-film-track.is-enhanced .offer-scene-sop.is-active .sop-transmuter *,
.offer-film-track.is-enhanced .offer-scene-sop.is-active .sop-transmuter *::before,
.offer-film-track.is-enhanced .offer-scene-sop.is-active .sop-transmuter *::after {
  animation-play-state: running;
}

.offer-film-track:not(.is-enhanced) .offer-scene-sop.is-in-view .sop-core-brand-chip::after,
.offer-film-track:not(.is-enhanced) .offer-scene-sop.is-in-view .sop-transmuter-orbit,
.offer-film-track:not(.is-enhanced) .offer-scene-sop.is-in-view .sop-transmuter-scan,
.offer-film-track:not(.is-enhanced) .offer-scene-sop.is-in-view .sop-transmuter-emission,
.offer-film-track.is-enhanced .offer-scene-sop.is-active .sop-core-brand-chip::after,
.offer-film-track.is-enhanced .offer-scene-sop.is-active .sop-transmuter-orbit,
.offer-film-track.is-enhanced .offer-scene-sop.is-active .sop-transmuter-scan,
.offer-film-track.is-enhanced .offer-scene-sop.is-active .sop-transmuter-emission,
.offer-film-track.is-enhanced .offer-scene-sop.is-active .sop-node-glow > i {
  will-change: transform;
}

.offer-film-track.is-enhanced .offer-film-intro,
.offer-film-track.is-enhanced .offer-scene,
.offer-film-track.is-enhanced .offer-film-dark,
.offer-film-track.is-enhanced [data-scene-copy],
.offer-film-track.is-enhanced [data-sop-input],
.offer-film-track.is-enhanced [data-sop-core],
.offer-film-track.is-enhanced [data-sop-output],
.offer-film-track.is-enhanced [data-content-source],
.offer-film-track.is-enhanced [data-content-flow],
.offer-film-track.is-enhanced [data-content-trunk],
.offer-film-track.is-enhanced [data-content-hub],
.offer-film-track.is-enhanced [data-content-card],
.offer-film-track.is-enhanced [data-content-calendar],
.offer-film-track.is-enhanced [data-calendar-scaffold],
.offer-film-track.is-enhanced [data-calendar-target],
.offer-film-track.is-enhanced [data-content-slot],
.offer-film-track.is-enhanced [data-content-result],
.offer-film-track.is-enhanced [data-ai-flow],
.offer-film-track.is-enhanced [data-ai-loop] {
  will-change: transform, opacity;
}

@media (max-width: 72rem) and (min-width: 46.01rem) {
  .offer-film-track.is-enhanced .offer-scene {
    padding-right: clamp(2rem, 4vw, 3rem);
    padding-left: clamp(2rem, 4vw, 3rem);
  }

  .sop-system-map {
    grid-template-columns: minmax(9rem, 0.9fr) minmax(17rem, 1.3fr) minmax(9rem, 0.9fr);
    gap: 2.25rem;
  }

  .sop-map-node {
    grid-template-columns: 2rem minmax(0, 1fr);
    padding-inline: 0.55rem;
  }

  .sop-map-outputs .sop-map-node {
    grid-template-columns: 2rem minmax(0, 1fr) auto;
  }

  .sop-node-code {
    width: 2rem;
    height: 2rem;
  }

  .offer-scene-transform {
    grid-template-columns: minmax(17rem, 0.82fr) minmax(24rem, 1.18fr);
    gap: 2rem;
  }
}

@media (max-width: 46rem) {
  .content-bento-spotlight,
  .calendar-card-glow,
  .calendar-platform::after {
    display: none;
  }

  .offer-film-intro {
    min-height: 80svh;
    padding: 7rem 1.25rem 5rem;
  }

  .offer-film-intro h2 {
    font-size: clamp(2.45rem, 11vw, 3.5rem);
  }

  .offer-scene {
    min-height: auto;
    padding: 7.5rem 1.25rem 6rem;
    scroll-margin-top: 4.75rem;
  }

  .offer-scene h3 {
    font-size: clamp(2.2rem, 10vw, 3.2rem);
  }

  .offer-scene-copy-centered {
    align-items: flex-start;
    text-align: left;
  }

  .sop-system-map {
    grid-template-columns: 1fr;
    gap: 1rem;
    min-height: 0;
    margin-top: 2.5rem;
  }

  .sop-system-connectors {
    display: none;
  }

  .sop-core {
    top: 0;
    order: 2;
  }

  .sop-map-inputs {
    order: 1;
  }

  .sop-map-outputs {
    order: 3;
    grid-template-columns: 1fr;
  }

  .sop-map-column {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sop-map-column.sop-map-outputs {
    grid-template-columns: 1fr;
  }

  .sop-map-node {
    grid-template-columns: 1fr;
    align-content: center;
    min-height: 5rem;
  }

  .sop-map-inputs .sop-map-node {
    width: auto;
    margin-left: 0;
    opacity: 0.78;
  }

  .sop-map-outputs .sop-map-node {
    grid-template-columns: 2.25rem minmax(0, 1fr) auto;
    min-height: 4.25rem;
  }

  .sop-core-state {
    display: none;
  }

  .content-pipeline-ui {
    margin-top: 2.5rem;
  }

  .content-flow-stage {
    grid-template-rows: auto 1.15rem auto 1.6rem auto;
    min-height: 0;
    padding: 0.75rem;
  }

  .content-origin-node {
    width: 100%;
  }

  .content-distribution-hub {
    width: min(100%, 19rem);
  }

  .content-branch-lines {
    width: 1px;
    height: 1.6rem;
    background: oklch(58% 0.012 260 / 0.55);
  }

  .content-branch-lines path {
    display: none;
  }

  .content-channel-grid,
  .content-calendar-board {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .content-channel-card {
    min-height: 5.35rem;
  }

  .content-calendar-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.25rem;
  }

  .content-calendar {
    min-height: 0;
    padding: 0.75rem;
  }

  .content-calendar::before {
    inset: 0.45rem;
  }

  .content-calendar-board {
    gap: 0.85rem 0.55rem;
    padding: 0.6rem 0.3rem 0.4rem;
  }

  .content-calendar-slot {
    min-height: 6.75rem;
  }

  .content-calendar-post-copy small {
    white-space: normal;
  }

  .offer-scene-transform {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    min-height: auto;
    padding-bottom: 4rem;
  }

  .ai-transformation-viewport {
    height: auto;
    min-height: 0;
    overflow: visible;
  }

  .ai-transformation-viewport::before,
  .ai-transformation-viewport::after {
    display: none;
  }

  .ai-transformation-flow {
    width: 100%;
    padding: 1rem 0 4rem;
  }

  .ai-flow-node {
    width: min(100%, 25rem);
  }

  .ai-flow-branches {
    gap: 0.4rem;
  }

  .ai-flow-branches > div {
    padding-inline: 0.4rem;
  }

  .ai-feedback-loop {
    bottom: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .arrow-link[data-border-glow] .specular-button__edge > span,
  .sop-system-connectors path,
  .sop-core-brand-chip::after,
  .sop-node-glow > i,
  .sop-transmuter *,
  .sop-transmuter *::before,
  .sop-transmuter *::after {
    animation: none !important;
  }

  .sop-transmuter-phase:first-child {
    opacity: 1;
    transform: none;
  }

  .sop-transmuter-progress > i:first-child {
    opacity: 1;
    transform: scale(1);
  }

  .arrow-link[data-border-glow] .specular-button__edge > span {
    transform: rotate(38deg);
  }

  .content-bento-spotlight,
  .calendar-card-glow,
  .calendar-platform::after {
    display: none;
  }

  .calendar-platform:hover .platform-glass-back {
    transform: rotate(13deg);
  }

  .calendar-platform:hover .platform-glass-front {
    transform: translate3d(0, 0, 0.2rem);
  }

  .offer-film-track.is-enhanced {
    height: auto;
  }

  .offer-film-track.is-enhanced .offer-film-sticky {
    position: relative;
    height: auto;
  }

  .offer-film-track.is-enhanced .offer-film-dark {
    display: none;
  }

  .offer-film-track.is-enhanced .offer-film-intro,
  .offer-film-track.is-enhanced .offer-film-scenes,
  .offer-film-track.is-enhanced .offer-scene {
    position: relative;
    inset: auto;
    opacity: 1 !important;
    transform: none !important;
  }

  .offer-film-track.is-enhanced .offer-film-intro {
    min-height: min(92vh, 54rem);
    padding: clamp(6rem, 10vw, 9rem) var(--gutter);
  }

  .offer-film-track.is-enhanced .offer-scene {
    min-height: min(100svh, 58rem);
    padding: clamp(6rem, 10vw, 8rem) var(--gutter);
    pointer-events: auto;
  }

  .offer-film-track.is-enhanced .offer-scene-transform {
    background: var(--night);
  }
}

@media (prefers-contrast: more) {
  .content-bento-spotlight,
  .calendar-card-glow,
  .calendar-platform::after {
    display: none;
  }

  .platform-glass-front {
    background: oklch(25% 0.01 260 / 0.82);
  }

  .sop-map-node,
  .sop-core,
  .content-pipeline-ui,
  .calendar-platform {
    border-color: var(--ink);
  }

  .sop-node-glow {
    display: none;
  }

  .sop-map-outputs .sop-map-node {
    border-color: var(--accent-dark);
  }

  .ai-flow-node,
  .ai-flow-branches > div {
    border-color: var(--surface);
  }
}

/* System film: rigid 3D object with staged, non-overlapping narrative copy. */
.system-film {
  position: relative;
  width: 100vw;
  height: 440svh;
  margin-top: 0;
  margin-left: calc(50% - 50vw);
}

.system-film .system-portal-sticky {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: clip;
}

.system-film .system-portal-stage {
  position: relative;
  isolation: isolate;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.system-film + .agent-wheel-track {
  margin-top: 0;
}

.system-film:not(.is-enhanced) {
  height: 100svh;
}

.system-film .system-portal-stage {
  background: var(--canvas);
  color: var(--surface);
  perspective: none;
}

.system-film-night,
.system-film-light,
.system-film-canvas {
  position: absolute;
  inset: 0;
}

.system-film-night {
  z-index: -3;
  background: oklch(10.8% 0.006 260);
  opacity: 0;
}

.system-film-light {
  z-index: -2;
  background:
    radial-gradient(circle at 69% 44%, oklch(100% 0 0 / 0.085), transparent 27rem),
    radial-gradient(circle at 46% 110%, oklch(63.81% 0.2065 38.13 / 0.055), transparent 32rem);
  opacity: 0;
}

.system-film-canvas {
  z-index: 1;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
}

.system-kernel-fallback {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 70%;
  width: min(31rem, 42vw);
  aspect-ratio: 1.2;
  opacity: 0.22;
  transform: translate3d(-50%, -46%, 0) rotate(-4deg);
  pointer-events: none;
}

.system-kernel-fallback span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 82%;
  height: 21%;
  border: 1px solid oklch(22% 0.01 260 / 0.3);
  border-radius: 0.75rem;
  background: oklch(100% 0 0 / 0.54);
  box-shadow: 0 1.5rem 3rem oklch(20% 0.01 260 / 0.09);
  transform: translate3d(-50%, -154%, 0) skewY(-3deg);
}

.system-kernel-fallback span:nth-child(2) {
  transform: translate3d(-50%, -50%, 0) skewY(-3deg);
}

.system-kernel-fallback span:nth-child(3) {
  transform: translate3d(-50%, 54%, 0) skewY(-3deg);
}

.system-kernel-fallback i {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0.65rem;
  height: 32%;
  border-radius: 999px;
  background: var(--accent);
  transform: translate3d(-50%, -50%, 0);
}

.system-film.is-webgl-ready .system-kernel-fallback {
  display: none;
}

.system-film-hud,
.system-film-footer {
  position: absolute;
  z-index: 8;
  right: var(--gutter);
  left: var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: oklch(79% 0.01 260);
  font-size: 0.6875rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.085em;
  text-transform: uppercase;
  opacity: 0;
}

.system-film-hud {
  top: clamp(5.75rem, 10vh, 7rem);
}

.system-film-hud p {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
}

.system-live-dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0.25rem oklch(63.81% 0.2065 38.13 / 0.1);
}

.system-film-step span:first-child {
  color: var(--surface);
}

.system-film-intro {
  position: absolute;
  z-index: 7;
  top: 50%;
  left: 50%;
  width: min(66rem, calc(100vw - (var(--gutter) * 2)));
  max-width: none;
  margin: 0;
  color: var(--ink);
  text-align: center;
  transform: translate3d(-50%, -50%, 0);
}

.system-film-intro h2 {
  max-width: 64rem;
  margin-inline: auto;
}

.system-film-intro > p:last-child {
  margin-inline: auto;
}

.system-film-chapters,
.system-film-output {
  position: absolute;
  z-index: 5;
  top: 50%;
  left: var(--gutter);
  width: min(34rem, 39vw);
  transform: translate3d(0, -50%, 0);
}

.system-film-chapter {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  opacity: 0;
  transform: translate3d(0, calc(-50% + 2rem), 0);
  pointer-events: none;
}

.system-film-kicker {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: oklch(71% 0.01 260);
  font-size: 0.6875rem;
  font-weight: 560;
  letter-spacing: 0.095em;
  text-transform: uppercase;
}

.system-film-kicker span:first-child {
  display: inline-grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border: 1px solid oklch(100% 0 0 / 0.18);
  border-radius: 50%;
  color: var(--surface);
  font-variant-numeric: tabular-nums;
}

.system-film-chapter h3,
.system-film-output h3 {
  max-width: 33rem;
  margin-top: 1.5rem;
  color: var(--surface);
  font-size: clamp(2.75rem, 4.35vw, 4.75rem);
  font-weight: 330;
  letter-spacing: -0.04em;
  line-height: 0.98;
}

.system-film-chapter > p:not(.system-film-kicker, .system-film-evidence),
.system-film-output > p:not(.system-film-kicker) {
  max-width: 31rem;
  margin-top: 1.5rem;
  color: oklch(76% 0.01 260);
  font-size: clamp(1rem, 1.25vw, 1.125rem);
  line-height: 1.65;
}

.system-film-evidence {
  margin-top: 2rem;
  padding-top: 0.875rem;
  border-top: 1px solid oklch(100% 0 0 / 0.16);
  color: oklch(63% 0.01 260);
  font-size: 0.6875rem;
  letter-spacing: 0.075em;
}

.system-film-output {
  right: var(--gutter);
  left: auto;
  opacity: 0;
  transform: translate3d(0, calc(-50% + 2rem), 0);
}

.system-film-status {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.75rem;
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid oklch(100% 0 0 / 0.16);
  color: oklch(86% 0.008 260);
  font-size: 0.8125rem;
}

.system-film-status > span:first-child {
  display: grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: var(--accent);
  color: var(--surface);
  font-weight: 650;
}

.system-film-status small {
  color: oklch(61% 0.01 260);
  font-size: 0.6875rem;
}

.system-film-object-key {
  position: absolute;
  z-index: 4;
  right: var(--gutter);
  bottom: clamp(5.75rem, 10vh, 7.5rem);
  display: flex;
  gap: 1.25rem;
  color: oklch(54% 0.01 260);
  font-size: 0.625rem;
  letter-spacing: 0.08em;
  opacity: 0;
}

.system-film-object-key span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: color 180ms ease-out;
}

.system-film-object-key span::before {
  content: "";
  width: 0.32rem;
  height: 0.32rem;
  border-radius: 50%;
  background: currentColor;
}

.system-film-object-key span.is-active {
  color: var(--surface);
}

.system-film-object-key span.is-active::before {
  background: var(--accent);
}

.system-film-footer {
  bottom: clamp(1.25rem, 4vh, 2.5rem);
  display: grid;
  grid-template-columns: auto minmax(6rem, 1fr) auto;
}

.system-film-progress {
  position: relative;
  height: 1px;
  background: oklch(100% 0 0 / 0.18);
}

.system-film-progress i {
  position: absolute;
  inset: 0;
  background: oklch(100% 0 0 / 0.78);
  transform: scaleX(0);
  transform-origin: left center;
}

.system-film-progress b {
  position: absolute;
  top: 50%;
  left: 0;
  width: 0.45rem;
  height: 0.45rem;
  border: 1px solid oklch(100% 0 0 / 0.9);
  border-radius: 50%;
  background: var(--night);
  transform: translate3d(-50%, -50%, 0);
}

.system-film.is-enhanced .system-film-intro,
.system-film.is-enhanced .system-film-chapter,
.system-film.is-enhanced .system-film-output,
.system-film.is-enhanced .system-film-hud,
.system-film.is-enhanced .system-film-footer,
.system-film.is-enhanced .system-film-object-key,
.system-film.is-enhanced .system-film-canvas,
.system-film.is-enhanced .system-film-night,
.system-film.is-enhanced .system-film-light {
  will-change: transform, opacity;
}

.nav-actions .nav-contact[data-specular-button] {
  flex: 1 1 auto;
  justify-content: space-between;
  min-width: 0;
  min-height: 2.75rem;
  padding: 0 0 0 0.75rem;
  border-color: transparent;
  background: transparent;
  font-size: 0.875rem;
}

.nav-actions .nav-contact > span:first-of-type {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.3rem;
}

.nav-actions .nav-contact .arrow-box {
  width: 2.5rem;
  height: 2.5rem;
}

@media (max-width: 72rem) {
  .pill-nav-link {
    padding-inline: 0.7rem;
  }

  .system-film-chapters,
  .system-film-output {
    width: min(30rem, 42vw);
  }

  .system-film-chapter h3,
  .system-film-output h3 {
    font-size: clamp(2.5rem, 4vw, 4rem);
  }
}

@media (max-width: 64rem) {
  .site-nav {
    --nav-height: 3.25rem;
    padding-inline: 1rem;
  }

  .nav-shell {
    grid-template-columns: 1fr auto;
  }

  .site-nav.is-scrolled .nav-shell,
  body.menu-open .nav-shell {
    grid-template-columns: 1fr auto;
    width: 100%;
    max-width: none;
  }

  .nav-brand,
  .site-nav.is-scrolled .nav-brand,
  body.menu-open .nav-brand {
    width: auto;
    min-width: 8.75rem;
    min-height: var(--nav-height);
    justify-content: flex-start;
    padding-inline: 0.75rem;
  }

  .nav-brand .brand-name,
  .site-nav.is-scrolled .nav-brand .brand-name,
  body.menu-open .nav-brand .brand-name {
    position: static;
    max-width: 7rem;
    opacity: 1;
    transform: none;
  }

  .menu-toggle.nav-piece {
    width: var(--nav-height);
    height: var(--nav-height);
    border-radius: 0.75rem;
  }

  .system-film-chapters,
  .system-film-output {
    width: min(27rem, 44vw);
  }
}

@media (max-width: 46rem) {
  .system-film {
    height: 390svh;
    margin-top: 0;
  }

  .system-film-hud,
  .system-film-footer {
    right: 1.25rem;
    left: 1.25rem;
    font-size: 0.5625rem;
  }

  .system-film-hud {
    top: 5.5rem;
  }

  .system-film-intro {
    width: calc(100vw - 2.5rem);
  }

  .system-film-intro h2 {
    font-size: clamp(2.45rem, 11vw, 3.5rem);
  }

  .system-film-chapters,
  .system-film-output {
    top: auto;
    right: 1.25rem;
    bottom: 5.75rem;
    left: 1.25rem;
    width: auto;
    transform: none;
  }

  .system-film-chapter {
    top: auto;
    bottom: 0;
    transform: translate3d(0, 1.5rem, 0);
  }

  .system-film-output {
    transform: translate3d(0, 1.5rem, 0);
  }

  .system-film-chapter h3,
  .system-film-output h3 {
    max-width: 28rem;
    margin-top: 1rem;
    font-size: clamp(2rem, 8.8vw, 2.8rem);
    line-height: 1;
  }

  .system-film-chapter > p:not(.system-film-kicker, .system-film-evidence),
  .system-film-output > p:not(.system-film-kicker) {
    margin-top: 0.875rem;
    font-size: 0.9375rem;
    line-height: 1.5;
  }

  .system-film-evidence,
  .system-film-status {
    margin-top: 1rem;
  }

  .system-film-object-key {
    display: none;
  }

  .system-film-footer {
    grid-template-columns: auto minmax(3rem, 1fr);
  }

  .system-film-footer > span:last-child {
    display: none;
  }

  .system-kernel-fallback {
    top: 38%;
    left: 50%;
    width: min(26rem, 86vw);
  }
}

@media (prefers-reduced-motion: reduce) {
  .system-film,
  .system-film:not(.is-enhanced) {
    height: auto;
  }

  .system-film .system-portal-sticky {
    position: relative;
    height: auto;
    min-height: max(52rem, 100svh);
  }

  .system-film .system-portal-stage {
    min-height: max(52rem, 100svh);
    background: var(--night);
  }

  .system-film-night,
  .system-film-light,
  .system-film-canvas,
  .system-film-hud,
  .system-film-footer,
  .system-film-output {
    opacity: 1 !important;
  }

  .system-film-intro {
    top: 45%;
    right: auto;
    left: var(--gutter);
    width: min(36rem, 44vw);
    color: var(--surface);
    text-align: left;
    opacity: 1 !important;
    transform: translate3d(0, -50%, 0) !important;
  }

  .system-film-intro h2 {
    font-size: clamp(2.75rem, 4.5vw, 4.75rem);
  }

  .system-film-intro > p:last-child {
    color: oklch(76% 0.01 260);
  }

  .system-film-intro .context-pill {
    border-color: oklch(100% 0 0 / 0.16);
    background: oklch(100% 0 0 / 0.06);
    color: var(--surface);
  }

  .system-film-chapters,
  .system-film-object-key {
    display: none;
  }

  .system-film-output {
    top: auto;
    right: auto;
    bottom: 5.5rem;
    left: var(--gutter);
    width: min(36rem, 44vw);
    transform: none !important;
  }

  .system-film-output h3,
  .system-film-output > p:not(.system-film-kicker) {
    display: none;
  }

  .system-film-output .system-film-status {
    margin-top: 0;
  }

  .system-film.is-webgl-ready .system-kernel-fallback {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) and (max-width: 46rem) {
  .system-film .system-portal-sticky,
  .system-film .system-portal-stage {
    min-height: max(48rem, 100svh);
  }

  .system-film-intro {
    top: 8rem;
    right: 1.25rem;
    left: 1.25rem;
    width: auto;
    transform: none !important;
  }

  .system-film-intro h2 {
    font-size: clamp(2.3rem, 10vw, 3.25rem);
  }

  .system-film-output {
    right: 1.25rem;
    bottom: 4.75rem;
    left: 1.25rem;
    width: auto;
  }
}

@media (prefers-reduced-transparency: reduce) {
  .nav-piece::before {
    background: var(--canvas);
    backdrop-filter: none;
  }
}

@media (prefers-contrast: more) {
  .site-nav.is-scrolled .nav-piece::before,
  body.menu-open .nav-piece::before,
  .pill-nav-link:hover .pill-nav-circle {
    border-color: var(--ink);
  }

  .system-film-kicker,
  .system-film-chapter > p:not(.system-film-kicker, .system-film-evidence),
  .system-film-output > p:not(.system-film-kicker) {
    color: var(--surface);
  }
}
