@property --glow-angle {
  syntax: '<angle>';
  inherits: false;
  initial-value: 0deg;
}

@property --sweep {
  syntax: '<number>';
  inherits: false;
  initial-value: 0;
}

:root {
  
  --ink-900: #06080c;
  --ink-850: #080b11;
  --ink-800: #0a0e15;
  --ink-700: #0e131c;
  --ink-600: #141a25;
  --ink-500: #1c2431;

  
  --line: rgb(255 255 255 / 0.085);
  --line-mid: rgb(255 255 255 / 0.14);
  --line-strong: rgb(255 255 255 / 0.24);

  
  --fg: #eef1f6;
  --fg-dim: #99a2b3;
  --fg-faint: #5f6879;
  --fg-ghost: #3a4150;

  
  --gold: #e3ab52;
  --gold-soft: #f4d097;
  --gold-deep: #a9762c;
  --blue: #5b9fd4;
  --blue-soft: #a3cdec;
  --blue-deep: #2c5f8a;
  --navy: #16294a;

  
  --sans: 'Geist', 'Inter', ui-sans-serif, system-ui, -apple-system,
    'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --mono: 'Geist Mono', ui-monospace, 'SFMono-Regular', 'Cascadia Mono',
    'Consolas', 'Liberation Mono', monospace;

  
  --t-display: clamp(3.1rem, 11.5vw, 10rem);
  --t-h1: clamp(2.5rem, 7vw, 5.5rem);
  --t-h2: clamp(1.9rem, 4.6vw, 3.6rem);
  --t-h3: clamp(1.25rem, 2.1vw, 1.65rem);
  --t-lead: clamp(1.05rem, 1.55vw, 1.3rem);
  --t-body: 1rem;
  --t-small: 0.875rem;
  --t-label: 0.6875rem;

  
  --gutter: clamp(1.25rem, 4vw, 3.5rem);
  --sec-y: clamp(5rem, 12vw, 11rem);
  --maxw: 1280px;
  --rail: 5.5rem; 

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);

  color-scheme: dark;
}

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

* {
  margin: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

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

body {
  min-height: 100svh;
  background: var(--ink-900);
  color: var(--fg);
  font-family: var(--sans);
  font-size: var(--t-body);
  line-height: 1.6;
  font-synthesis-weight: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

img {
  height: auto;
}

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

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

h1,
h2,
h3,
h4 {
  font-weight: 560;
  line-height: 1.04;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

ul {
  list-style: none;
  padding: 0;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}

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

@view-transition {
  navigation: auto;
}

.substrate {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.substrate::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    to right,
    var(--line) 0 1px,
    transparent 1px calc(100% / 6)
  );
  opacity: 0.55;
  mask-image: linear-gradient(to bottom, transparent, #000 22%, #000 78%, transparent);
}

.substrate::after {
  content: '';
  position: absolute;
  inset: -50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.4'/%3E%3C/svg%3E");
  opacity: 0.028;
  mix-blend-mode: overlay;
}

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
  position: relative;
  z-index: 1;
}

.section {
  padding-block: var(--sec-y);
  position: relative;
}

.section--defer {
  content-visibility: auto;
  contain-intrinsic-size: auto 700px;
}

.section-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  padding-bottom: clamp(2rem, 5vw, 3.5rem);
}

@media (width >= 900px) {
  .section-head {
    grid-template-columns: var(--rail) 1fr;
    gap: 2.5rem;
  }
}

.marker {
  font-family: var(--mono);
  font-size: var(--t-label);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-faint);
  display: flex;
  align-items: baseline;
  gap: 0.6em;
  white-space: nowrap;
}

.marker span {
  color: var(--gold);
}

.section-title {
  font-size: var(--t-h2);
  max-width: 22ch;
}

.section-lead {
  margin-top: 1.5rem;
  font-size: var(--t-lead);
  color: var(--fg-dim);
  max-width: 62ch;
  line-height: 1.55;
}

.rule {
  height: 1px;
  background: var(--line);
  border: 0;
}

[data-nav-sentinel] {
  position: absolute;
  inset-block-start: 0;
  inset-inline-start: 0;
  width: 1px;
  height: 56px;
  pointer-events: none;
}

.nav {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 100;
  background-color: transparent;
  border-bottom: 1px solid transparent;
  
  backdrop-filter: blur(14px) saturate(140%);
  transition: background-color 0.4s var(--ease), border-color 0.4s var(--ease);
}

@supports (animation-timeline: scroll()) {
  .nav {
    animation: nav-solid linear both;
    animation-timeline: scroll(root block);
    animation-range: 0 90px;
    transition: none; 
  }
}

@keyframes nav-solid {
  to {
    background-color: color-mix(in oklab, var(--ink-900) 82%, transparent);
    border-bottom-color: var(--line);
  }
}

.nav[data-stuck='true'] {
  background-color: color-mix(in oklab, var(--ink-900) 82%, transparent);
  border-bottom-color: var(--line);
}

.nav-inner {
  max-width: var(--maxw);
  margin-inline: auto;
  padding: 1.1rem var(--gutter);
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 560;
  letter-spacing: -0.02em;
  font-size: 0.98rem;
  margin-inline-end: auto;
}

.brand-mark {
  height: 24px;
  width: auto;
  flex: none;
}

.prod-mark {
  height: clamp(46px, 7vw, 62px);
  width: auto;
  display: block;
  margin-bottom: 1rem;
}

.brand b {
  font-weight: 620;
}

.brand span {
  color: var(--fg-dim);
  font-weight: 420;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 2rem;
  font-size: var(--t-small);
}

@media (width >= 940px) {
  .nav-links {
    display: flex;
  }
}

.nav-links a {
  color: var(--fg-dim);
  transition: color 0.25s var(--ease);
  position: relative;
  padding-block: 0.25rem;
}

.nav-links a::after {
  content: '';
  position: absolute;
  inset-inline: 0;
  inset-block-end: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}

.nav-links a:hover {
  color: var(--fg);
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid var(--line-mid);
  border-radius: 8px;
  cursor: pointer;
  gap: 4px;
  padding: 0;
}

@media (width >= 940px) {
  .nav-toggle {
    display: none;
  }
}

.nav-toggle i {
  display: block;
  width: 15px;
  height: 1.5px;
  background: var(--fg);
  transition: transform 0.3s var(--ease);
}

#menu {
  border: 0;
  margin: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  background: color-mix(in oklab, var(--ink-900) 96%, transparent);
  backdrop-filter: blur(20px);
  color: var(--fg);
  gap: 0.5rem;
  padding: var(--gutter);
}

#menu::backdrop {
  background: rgb(0 0 0 / 0.5);
}

#menu a {
  font-size: clamp(1.6rem, 7vw, 2.4rem);
  font-weight: 560;
  letter-spacing: -0.03em;
  padding-block: 0.5rem;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

#menu a small {
  font-family: var(--mono);
  font-size: var(--t-label);
  color: var(--fg-faint);
  letter-spacing: 0.1em;
}

.menu-close {
  position: absolute;
  inset-block-start: 1.1rem;
  inset-inline-end: var(--gutter);
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid var(--line-mid);
  border-radius: 8px;
  cursor: pointer;
  font-size: 1.1rem;
  line-height: 1;
}

#menu {
  opacity: 0;
  transition: opacity 0.3s var(--ease), display 0.3s allow-discrete,
    overlay 0.3s allow-discrete;
}

#menu {
  display: none;
}

#menu:popover-open,
#menu[data-open] {
  display: grid;
  align-content: center;
  opacity: 1;
}

#menu[data-open] {
  position: fixed;
  z-index: 200;
}

@starting-style {
  #menu:popover-open {
    opacity: 0;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.72rem 1.35rem;
  border-radius: 999px;
  border: 1px solid var(--line-mid);
  font-size: var(--t-small);
  font-weight: 500;
  letter-spacing: -0.01em;
  cursor: pointer;
  background: transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease),
    color 0.3s var(--ease), transform 0.3s var(--ease);
}

.btn:hover {
  border-color: var(--line-strong);
  background: rgb(255 255 255 / 0.04);
  transform: translateY(-1px);
}

.btn--gold {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink-900);
  font-weight: 560;
}

.btn--gold:hover {
  background: var(--gold-soft);
  border-color: var(--gold-soft);
  color: var(--ink-900);
}

.btn svg {
  width: 13px;
  height: 13px;
}

.tlink {
  color: var(--fg);
  border-bottom: 1px solid var(--line-strong);
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease);
}

.tlink:hover {
  border-bottom-color: var(--gold);
  color: var(--gold-soft);
}

.hero {
  position: relative;
  min-height: min(100svh, 900px);
  display: flex;
  align-items: center;
  padding-block: clamp(8rem, 18vh, 12rem) clamp(4rem, 10vh, 7rem);
  overflow: clip;
}

.hero-glow {
  position: absolute;
  inset-block-start: -30%;
  inset-inline-start: 50%;
  translate: -50% 0;
  width: min(1500px, 160vw);
  aspect-ratio: 1;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(
      circle at 50% 50%,
      color-mix(in oklab, var(--navy) 85%, transparent) 0%,
      transparent 58%
    ),
    conic-gradient(
      from var(--glow-angle) at 50% 50%,
      transparent 0deg,
      color-mix(in oklab, var(--blue-deep) 60%, transparent) 70deg,
      transparent 150deg,
      color-mix(in oklab, var(--gold-deep) 42%, transparent) 240deg,
      transparent 330deg
    );
  filter: blur(80px);
  opacity: 0.75;
  animation: spin-glow 34s linear infinite;
}

@keyframes spin-glow {
  to {
    --glow-angle: 360deg;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-glow {
    animation: none;
  }
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
}

.hero-eyebrow {
  font-family: var(--mono);
  font-size: var(--t-label);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-faint);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
}

.hero-eyebrow i {
  display: block;
  width: clamp(30px, 8vw, 68px);
  height: 1px;
  background: var(--line-strong);
}

.hero h1 {
  font-size: var(--t-display);
  line-height: 0.88;
  letter-spacing: -0.05em;
  font-weight: 540;
  max-width: 14ch;
}

.hero h1 em {
  font-style: normal;
  color: var(--fg-faint);
}

.hero-sub {
  margin-top: clamp(1.75rem, 4vw, 2.5rem);
  font-size: var(--t-lead);
  color: var(--fg-dim);
  max-width: 56ch;
  line-height: 1.55;
}

.hero-actions {
  margin-top: clamp(2rem, 5vw, 3rem);
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.hero-ledger {
  margin-top: clamp(3.5rem, 9vw, 6rem);
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
}

@media (width >= 760px) {
  .hero-ledger {
    grid-template-columns: repeat(4, 1fr);
  }
}

.hero-ledger div {
  background: var(--ink-900);
  padding: 1.4rem 1.2rem 1.2rem 0;
  padding-inline-start: clamp(0rem, 2vw, 1.4rem);
}

.hero-ledger dt {
  font-family: var(--mono);
  font-size: var(--t-label);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-faint);
  margin-bottom: 0.5rem;
}

.hero-ledger dd {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

.hero-ledger dd small {
  font-size: 0.85rem;
  color: var(--fg-faint);
  font-weight: 400;
  letter-spacing: 0;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--mono);
  font-size: var(--t-label);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.34em 0.72em;
  border-radius: 999px;
  border: 1px solid var(--line-mid);
  color: var(--fg-faint);
  white-space: nowrap;
  line-height: 1;
}

.status::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  flex: none;
}

.status[data-s='operating'] {
  color: var(--gold);
  border-color: color-mix(in oklab, var(--gold) 40%, transparent);
  background: color-mix(in oklab, var(--gold) 9%, transparent);
}

.status[data-s='operating']::before {
  animation: pulse 2.6s var(--ease-io) infinite;
}

@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 color-mix(in oklab, var(--gold) 60%, transparent);
  }
  60% {
    box-shadow: 0 0 0 5px transparent;
  }
}

@media (prefers-reduced-motion: reduce) {
  .status[data-s='operating']::before {
    animation: none;
  }
}

.status[data-s='development'] {
  color: var(--blue);
  border-color: color-mix(in oklab, var(--blue) 34%, transparent);
  background: color-mix(in oklab, var(--blue) 8%, transparent);
}

.status[data-s='concept'] {
  color: var(--fg-faint);
  border-color: var(--line);
}

.status[data-s='concept']::before {
  background: transparent;
  border: 1px solid currentColor;
  width: 5px;
  height: 5px;
}

.legend {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}

@media (width >= 800px) {
  .legend {
    grid-template-columns: repeat(3, 1fr);
  }
}

.legend > div {
  background: var(--ink-850);
  padding: 1.5rem;
}

.legend p {
  margin-top: 0.8rem;
  font-size: var(--t-small);
  color: var(--fg-dim);
  line-height: 1.55;
}

.cards {
  display: grid;
  gap: 1px;
  background: var(--line);
  border-block: 1px solid var(--line);
}

@media (width >= 720px) {
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (width >= 1080px) {
  .cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  background: var(--ink-900);
  padding: clamp(1.5rem, 3vw, 2.1rem);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-height: 15.5rem;
  position: relative;
  isolation: isolate;
  transition: background 0.4s var(--ease);
  container-type: inline-size;
}

.card::before {
  content: '';
  position: absolute;
  inset-block-start: 0;
  inset-inline: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    var(--gold) 0%,
    color-mix(in oklab, var(--gold) 30%, transparent) 60%,
    transparent 100%
  );
  transform: scaleX(var(--sweep));
  transform-origin: left;
  transition: --sweep 0.55s var(--ease);
  z-index: 1;
}

.card:hover,
.card:focus-within {
  background: var(--ink-800);
}

.card:hover::before,
.card:focus-within::before {
  --sweep: 1;
}

.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.card-idx {
  font-family: var(--mono);
  font-size: var(--t-label);
  letter-spacing: 0.12em;
  color: var(--fg-ghost);
}

.card h3 {
  font-size: var(--t-h3);
  letter-spacing: -0.03em;
  margin-top: auto;
}

.card h3 a::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
}

.card p {
  font-size: var(--t-small);
  color: var(--fg-dim);
  line-height: 1.55;
}

.card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.4rem;
}

.card-tag {
  font-family: var(--mono);
  font-size: var(--t-label);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-ghost);
}

.card-arrow {
  color: var(--fg-faint);
  transition: transform 0.4s var(--ease), color 0.3s var(--ease);
  flex: none;
}

.card:hover .card-arrow {
  transform: translate(3px, -3px);
  color: var(--gold);
}

.org {
  --org-line: var(--line-mid);
  display: grid;
  gap: 0;
}

.org-node {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--ink-850);
  padding: 1.15rem 1.3rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.org-node--root {
  background: linear-gradient(
    180deg,
    color-mix(in oklab, var(--navy) 55%, var(--ink-800)) 0%,
    var(--ink-800) 100%
  );
  border-color: color-mix(in oklab, var(--gold) 22%, var(--line-mid));
}

.org-node strong {
  font-weight: 560;
  letter-spacing: -0.02em;
  font-size: 1.05rem;
}

.org-node span {
  font-size: var(--t-small);
  color: var(--fg-dim);
  margin-inline-end: auto;
}

.org-drop {
  width: 1px;
  height: 2rem;
  background: var(--org-line);
  margin-inline-start: 2rem;
}

.org-tier {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}

@media (width >= 860px) {
  .org-tier--split {
    grid-template-columns: repeat(2, 1fr);
  }
}

.org-co {
  background: var(--ink-850);
}

.org-co > summary {
  padding: 1.1rem 1.3rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
  list-style: none;
  transition: background 0.3s var(--ease);
  flex-wrap: wrap;
}

.org-co > summary::-webkit-details-marker {
  display: none;
}

.org-co > summary:hover {
  background: var(--ink-700);
}

.org-co-name {
  font-weight: 520;
  letter-spacing: -0.02em;
  margin-inline-end: auto;
}

.org-co-count {
  font-family: var(--mono);
  font-size: var(--t-label);
  color: var(--fg-ghost);
  letter-spacing: 0.1em;
}

.org-chev {
  width: 12px;
  height: 12px;
  color: var(--fg-faint);
  transition: transform 0.35s var(--ease);
  flex: none;
}

.org-co[open] .org-chev {
  transform: rotate(90deg);
}

.org-subs {
  padding: 0.2rem 1.3rem 1.2rem;
  display: grid;
  gap: 0.15rem;
}

.org-sub {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.7rem 0 0.7rem 1.6rem;
  position: relative;
  font-size: var(--t-small);
  flex-wrap: wrap;
}

.org-sub::before {
  content: '';
  position: absolute;
  inset-inline-start: 0;
  inset-block-start: 0;
  width: 0.9rem;
  height: 1.45rem;
  border-inline-start: 1px solid var(--org-line);
  border-block-end: 1px solid var(--org-line);
  border-end-start-radius: 6px;
}

.org-sub:not(:last-child)::after {
  content: '';
  position: absolute;
  inset-inline-start: 0;
  inset-block-start: 1.45rem;
  inset-block-end: 0;
  width: 1px;
  background: var(--org-line);
}

.org-sub b {
  font-weight: 520;
}

.org-sub em {
  font-style: normal;
  color: var(--fg-dim);
  margin-inline-end: auto;
}

.spotlight {
  display: grid;
  gap: clamp(1.5rem, 4vw, 3rem);
  padding: clamp(1.6rem, 4vw, 2.75rem);
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(180deg, var(--ink-800), var(--ink-850));
  position: relative;
  overflow: hidden;
}

@media (width >= 900px) {
  .spotlight {
    grid-template-columns: 1.15fr 1fr;
    align-items: center;
  }
}

.spotlight + .spotlight {
  margin-top: 1.25rem;
}

.spotlight h3 {
  font-size: clamp(1.6rem, 3.2vw, 2.4rem);
  margin-block: 0.9rem 1rem;
}

.spotlight p {
  color: var(--fg-dim);
  line-height: 1.6;
  max-width: 52ch;
}

.spotlight-actions {
  margin-top: 1.6rem;
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.spec {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  font-size: var(--t-small);
}

.spec > div {
  background: var(--ink-900);
  padding: 0.85rem 1.1rem;
  display: flex;
  justify-content: space-between;
  gap: 1.25rem;
}

.spec dt {
  font-family: var(--mono);
  font-size: var(--t-label);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-faint);
  flex: none;
}

.spec dd {
  margin: 0;
  text-align: right;
  color: var(--fg);
}

.shot {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(180deg, var(--ink-800), var(--ink-850));
  overflow: hidden;
  position: relative;
}

.shot-bar {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.7rem 0.9rem;
  border-bottom: 1px solid var(--line);
  background: color-mix(in oklab, var(--ink-900) 60%, transparent);
}

.shot-bar i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--line-strong);
  flex: none;
}

.shot-bar span {
  margin-inline-start: auto;
  font-family: var(--mono);
  font-size: var(--t-label);
  letter-spacing: 0.1em;
  color: var(--fg-ghost);
}

.shot-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.shot-track::-webkit-scrollbar {
  display: none;
}

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

.shot-slide {
  flex: 0 0 100%;
  scroll-snap-align: center;
  position: relative;
}

.shot-slide img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 2140 / 1297;
  background: #f9f6ed; 
}

.shot-cap {
  position: absolute;
  inset-inline: 0;
  inset-block-end: 0;
  padding: 2.5rem 1.1rem 0.9rem;
  background: linear-gradient(to top, rgb(6 8 12 / 0.92), transparent);
  font-size: var(--t-small);
  color: var(--fg);
  display: flex;
  gap: 0.7rem;
  align-items: baseline;
  flex-wrap: wrap;
}

.shot-cap b {
  font-weight: 560;
}

.shot-cap em {
  font-style: normal;
  color: var(--fg-dim);
}

.shot-dots {
  display: flex;
  gap: 0.4rem;
  justify-content: center;
  padding: 0.9rem;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}

.shot-dots button {
  width: 26px;
  height: 4px;
  border-radius: 999px;
  border: 0;
  padding: 0;
  background: var(--line-strong);
  cursor: pointer;
  transition: background 0.3s var(--ease), width 0.3s var(--ease);
}

.shot-dots button[aria-current='true'] {
  background: var(--gold);
  width: 40px;
}

.apps {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}

@media (width >= 720px) {
  .apps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (width >= 1080px) {
  .apps {
    grid-template-columns: repeat(3, 1fr);
  }
}

.app {
  background: var(--ink-850);
  padding: clamp(1.4rem, 3vw, 1.9rem);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  transition: background 0.35s var(--ease);
}

.app:hover {
  background: var(--ink-700);
}

.app-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.app-icon {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  flex: none;
  border: 1px solid var(--line-mid);
  background: linear-gradient(180deg, var(--ink-600), var(--ink-700));
  color: var(--blue-soft);
}

.app-icon svg {
  width: 19px;
  height: 19px;
}

.app h3 {
  font-size: 1.12rem;
  letter-spacing: -0.025em;
}

.app p {
  font-size: var(--t-small);
  color: var(--fg-dim);
  line-height: 1.55;
  flex: 1;
}

.app-foot {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  padding-top: 0.2rem;
}

.app-plat {
  font-family: var(--mono);
  font-size: var(--t-label);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-ghost);
}

.prose {
  max-width: 68ch;
}

.prose > * + * {
  margin-top: 1.15rem;
}

.prose p {
  color: var(--fg-dim);
  line-height: 1.7;
}

.prose h2 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  margin-top: 3rem;
  color: var(--fg);
}

.prose h3 {
  font-size: 1.2rem;
  margin-top: 2.2rem;
  color: var(--fg);
}

.prose strong {
  color: var(--fg);
  font-weight: 560;
}

.prose ul {
  display: grid;
  gap: 0.7rem;
}

.prose ul li {
  padding-inline-start: 1.4rem;
  position: relative;
  color: var(--fg-dim);
  line-height: 1.6;
}

.prose ul li::before {
  content: '';
  position: absolute;
  inset-inline-start: 0;
  inset-block-start: 0.62em;
  width: 5px;
  height: 1px;
  background: var(--gold);
}

.co-hero {
  padding-block: clamp(8rem, 16vh, 11rem) clamp(3rem, 7vw, 5rem);
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: clip;
}

.crumb {
  font-family: var(--mono);
  font-size: var(--t-label);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-faint);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.crumb a {
  color: var(--fg-faint);
  transition: color 0.25s var(--ease);
}

.crumb a:hover {
  color: var(--gold);
}

.co-hero h1 {
  font-size: var(--t-h1);
  max-width: 16ch;
  margin-bottom: 1.5rem;
}

.co-hero .deck {
  font-size: var(--t-lead);
  color: var(--fg-dim);
  max-width: 58ch;
  line-height: 1.55;
}

.co-meta {
  margin-top: clamp(2.5rem, 6vw, 4rem);
  display: flex;
  gap: 0.6rem 1.5rem;
  align-items: center;
  flex-wrap: wrap;
}

.co-statline {
  font-family: var(--mono);
  font-size: var(--t-label);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-faint);
}

.co-body {
  display: grid;
  gap: clamp(2.5rem, 6vw, 4.5rem);
  align-items: start;
}

@media (width >= 960px) {
  .co-body {
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  }
}

.rail {
  position: sticky;
  top: 6.5rem;
  display: grid;
  gap: 1.5rem;
}

@media (width < 960px) {
  .rail {
    position: static;
  }
}

.panel {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--ink-850);
  padding: 1.35rem;
}

.panel h4 {
  font-family: var(--mono);
  font-size: var(--t-label);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-faint);
  font-weight: 500;
  margin-bottom: 1rem;
}

.panel ul {
  display: grid;
  gap: 0.75rem;
  font-size: var(--t-small);
}

.panel li {
  display: flex;
  gap: 0.7rem;
  align-items: baseline;
  color: var(--fg-dim);
  line-height: 1.5;
}

.panel li::before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--fg-ghost);
  flex: none;
  translate: 0 -2px;
}

.subs {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  margin-top: 1.5rem;
}

.sub {
  background: var(--ink-850);
  padding: 1.3rem;
  display: grid;
  gap: 0.6rem;
}

.sub-top {
  display: flex;
  align-items: center;
  gap: 1rem;
  justify-content: space-between;
  flex-wrap: wrap;
}

.sub h4 {
  font-size: 1.05rem;
  font-weight: 560;
  letter-spacing: -0.02em;
}

.sub p {
  font-size: var(--t-small);
  color: var(--fg-dim);
  line-height: 1.55;
}

.pager {
  display: grid;
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  margin-top: var(--sec-y);
}

@media (width >= 700px) {
  .pager {
    grid-template-columns: 1fr 1fr;
  }
}

.pager a {
  background: var(--ink-900);
  padding: 2rem var(--gutter);
  display: grid;
  gap: 0.5rem;
  transition: background 0.3s var(--ease);
}

.pager a:hover {
  background: var(--ink-800);
}

.pager a:last-child {
  text-align: right;
}

.pager small {
  font-family: var(--mono);
  font-size: var(--t-label);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-faint);
}

.pager strong {
  font-size: 1.15rem;
  font-weight: 520;
  letter-spacing: -0.02em;
}

.foot {
  border-top: 1px solid var(--line);
  padding-block: clamp(3rem, 7vw, 5rem) 2rem;
  position: relative;
  z-index: 1;
}

.foot-grid {
  display: grid;
  gap: 2.5rem;
}

@media (width >= 800px) {
  .foot-grid {
    grid-template-columns: 1.6fr repeat(3, 1fr);
  }
}

.foot-brand p {
  color: var(--fg-dim);
  font-size: var(--t-small);
  line-height: 1.6;
  max-width: 34ch;
  margin-top: 1rem;
}

.foot h5 {
  font-family: var(--mono);
  font-size: var(--t-label);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-faint);
  font-weight: 500;
  margin-bottom: 1.1rem;
}

.foot-col {
  display: grid;
  gap: 0.7rem;
  align-content: start;
  font-size: var(--t-small);
}

.foot-col a {
  color: var(--fg-dim);
  transition: color 0.25s var(--ease);
  width: fit-content;
}

.foot-col a:hover {
  color: var(--gold);
}

.foot-bottom {
  margin-top: clamp(2.5rem, 6vw, 4rem);
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: var(--t-small);
  color: var(--fg-faint);
}

.foot-bottom a {
  color: var(--fg-faint);
}

.foot-bottom a:hover {
  color: var(--gold);
}

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .reveal {
      animation: reveal linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 55%;
    }

    
    .reveal-group > * {
      animation: reveal linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 45%;
    }
  }
}

@keyframes reveal {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.mono {
  font-family: var(--mono);
}

.dim {
  color: var(--fg-dim);
}

.faint {
  color: var(--fg-faint);
}

.gold {
  color: var(--gold);
}

.stack {
  display: grid;
  gap: 1.25rem;
}

.skip {
  position: absolute;
  inset-block-start: 0.5rem;
  inset-inline-start: 0.5rem;
  z-index: 200;
  padding: 0.6rem 1rem;
  background: var(--gold);
  color: var(--ink-900);
  border-radius: 8px;
  font-size: var(--t-small);
  font-weight: 560;
  translate: 0 -200%;
  transition: translate 0.25s var(--ease);
}

.skip:focus {
  translate: 0 0;
}

.vh {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

@media print {
  .substrate,
  .hero-glow,
  .nav,
  .pager {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
  }

  .org-co > .org-subs {
    display: grid !important;
  }

  .card,
  .org-node,
  .org-co,
  .panel {
    border-color: #ccc;
    background: #fff;
  }
}
