:root {
  color-scheme: dark;
  --bg: #05070d;
  --bg-elevated: #0b1019;
  --panel: rgba(13, 19, 30, 0.78);
  --panel-strong: rgba(15, 24, 37, 0.92);
  --text: #f2f7fb;
  --muted: #aab8c8;
  --subtle: #738195;
  --line: rgba(166, 205, 224, 0.18);
  --cyan: #9bd8e8;
  --cyan-strong: #56bfd4;
  --copper: #d69b72;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
  --radius: 8px;
  --shell: min(1120px, calc(100vw - 40px));
  --font-title: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-small: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  scroll-behavior: smooth;
}

body {
  position: relative;
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background: #02040a;
  font-family: var(--font-small);
  line-height: 1.6;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: 0;
  content: "";
  background:
    radial-gradient(circle at 18% 22%, rgba(255, 255, 255, 0.82) 0 1px, transparent 1.4px),
    radial-gradient(circle at 58% 36%, rgba(255, 255, 255, 0.68) 0 0.75px, transparent 1.15px),
    radial-gradient(circle at 72% 12%, rgba(216, 246, 255, 0.68) 0 1px, transparent 1.5px),
    radial-gradient(circle at 26% 58%, rgba(216, 246, 255, 0.44) 0 0.8px, transparent 1.2px),
    radial-gradient(circle at 84% 64%, rgba(214, 155, 114, 0.54) 0 1px, transparent 1.45px),
    radial-gradient(circle at 34% 78%, rgba(255, 255, 255, 0.50) 0 1px, transparent 1.4px),
    radial-gradient(circle at 8% 48%, rgba(255, 255, 255, 0.34) 0 0.65px, transparent 1px),
    radial-gradient(circle at 52% 44%, rgba(155, 216, 232, 0.42) 0 1px, transparent 1.35px),
    radial-gradient(circle at 78% 86%, rgba(155, 216, 232, 0.30) 0 0.7px, transparent 1.05px),
    radial-gradient(circle at 16% 0%, rgba(86, 191, 212, 0.10), transparent 32rem),
    radial-gradient(circle at 88% 16%, rgba(214, 155, 114, 0.08), transparent 28rem),
    linear-gradient(180deg, rgba(2, 4, 10, 0.99) 0%, rgba(4, 7, 13, 0.98) 45%, rgba(2, 4, 10, 0.99) 100%);
  background-size:
    14rem 14rem,
    17rem 17rem,
    22rem 22rem,
    19rem 19rem,
    27rem 27rem,
    20rem 20rem,
    16rem 16rem,
    31rem 31rem,
    24rem 24rem,
    100% 100%,
    100% 100%,
    100% 100%;
  background-position:
    0 0,
    3rem 9rem,
    8rem 5rem,
    13rem 4rem,
    14rem 2rem,
    5rem 11rem,
    10rem 14rem,
    18rem 16rem,
    2rem 3rem,
    0 0,
    0 0,
    0 0;
  pointer-events: none;
}

body::after {
  position: fixed;
  top: clamp(4.75rem, 8vh, 7.25rem);
  right: clamp(1.25rem, 6vw, 6.5rem);
  z-index: 0;
  width: clamp(220px, 24vw, 420px);
  aspect-ratio: 0.82;
  content: "";
  background:
    radial-gradient(circle at 50% 5%, rgba(216, 246, 255, 0.46) 0 0.8px, transparent 1.25px),
    radial-gradient(circle at 29% 18%, rgba(255, 198, 148, 0.98) 0 1.9px, rgba(255, 198, 148, 0.34) 2.6px, transparent 6.5px),
    radial-gradient(circle at 66% 25%, rgba(216, 246, 255, 0.88) 0 1.45px, rgba(216, 246, 255, 0.22) 2.1px, transparent 5px),
    radial-gradient(circle at 43% 44%, rgba(216, 246, 255, 0.90) 0 1.2px, rgba(216, 246, 255, 0.22) 1.75px, transparent 4px),
    radial-gradient(circle at 51% 46%, rgba(255, 255, 255, 0.94) 0 1.35px, rgba(216, 246, 255, 0.28) 1.95px, transparent 4.4px),
    radial-gradient(circle at 60% 48%, rgba(216, 246, 255, 0.86) 0 1.15px, rgba(216, 246, 255, 0.20) 1.75px, transparent 3.8px),
    radial-gradient(circle at 54% 58%, rgba(216, 246, 255, 0.44) 0 0.75px, transparent 1.35px),
    radial-gradient(circle at 55% 64%, rgba(255, 255, 255, 0.56) 0 0.9px, rgba(216, 246, 255, 0.16) 1.35px, transparent 3px),
    radial-gradient(circle at 55% 70%, rgba(216, 246, 255, 0.36) 0 0.7px, transparent 1.25px),
    radial-gradient(circle at 33% 80%, rgba(216, 246, 255, 0.74) 0 1.35px, rgba(216, 246, 255, 0.18) 2px, transparent 4.8px),
    radial-gradient(circle at 70% 87%, rgba(216, 246, 255, 0.98) 0 2px, rgba(155, 216, 232, 0.26) 2.7px, transparent 6.4px),
    radial-gradient(circle at 20% 45%, rgba(255, 255, 255, 0.28) 0 0.65px, transparent 1.05px),
    radial-gradient(circle at 77% 55%, rgba(155, 216, 232, 0.30) 0 0.65px, transparent 1.1px),
    radial-gradient(circle at 42% 91%, rgba(255, 255, 255, 0.26) 0 0.6px, transparent 1px);
  opacity: 0.72;
  filter: drop-shadow(0 0 3px rgba(216, 246, 255, 0.24));
  pointer-events: none;
}

main,
.site-footer {
  position: relative;
  z-index: 1;
}

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

a {
  color: var(--cyan);
  text-decoration-color: rgba(155, 216, 232, 0.42);
  text-underline-offset: 0.18em;
}

a:hover {
  color: #d8f6ff;
}

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

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

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  inset: 12px auto auto 12px;
  z-index: 20;
  transform: translateY(-140%);
  padding: 0.7rem 0.9rem;
  color: var(--bg);
  background: var(--cyan);
  border-radius: 6px;
  font-weight: 700;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--line);
  background: rgba(5, 7, 13, 0.78);
  backdrop-filter: blur(18px);
}

.site-header__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 72px;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--text);
  font-weight: 750;
  letter-spacing: 0;
  text-decoration: none;
}

.site-brand__mark {
  position: relative;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 1.38rem;
  height: 1.38rem;
  color: var(--cyan);
}

.site-brand__cluster {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.site-brand__cluster-star {
  fill: rgba(216, 246, 255, 0.84);
  filter: drop-shadow(0 0 3px rgba(86, 191, 212, 0.36));
}

.site-brand__cluster-star--main {
  fill: rgba(155, 216, 232, 0.92);
}

.site-brand__cluster-star--bright {
  fill: rgba(240, 252, 255, 0.92);
}

.site-brand__cluster-star--dim {
  fill: rgba(170, 184, 200, 0.58);
  filter: none;
}

.site-brand__cluster-glint {
  fill: none;
  vector-effect: non-scaling-stroke;
  stroke: rgba(216, 246, 255, 0.72);
  stroke-width: 1.15;
  stroke-linecap: round;
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  animation: cluster-glint 5.8s ease-in-out infinite;
}

.site-brand__cluster-glint--two {
  animation-delay: 2.2s;
  stroke: rgba(214, 155, 114, 0.58);
}

.site-nav-toggle {
  position: relative;
  display: none;
  overflow: hidden;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 72% 28%, rgba(155, 216, 232, 0.16), transparent 0.48rem),
    rgba(8, 13, 22, 0.72);
  border: 1px solid var(--line);
  border-radius: 6px;
  cursor: pointer;
  isolation: isolate;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.site-nav-toggle:hover {
  border-color: rgba(155, 216, 232, 0.5);
}

.site-nav-toggle::before,
.site-nav-toggle::after {
  position: absolute;
  z-index: 0;
  content: "";
  opacity: 0.62;
  pointer-events: none;
  transition:
    opacity 180ms ease,
    transform 220ms ease;
}

.site-nav-toggle::before {
  inset: 0.6rem auto auto 0.72rem;
  width: 3px;
  height: 3px;
  background: rgba(216, 246, 255, 0.88);
  border-radius: 999px;
  box-shadow:
    1.2rem -0.22rem 0 rgba(155, 216, 232, 0.78),
    1.68rem 1.36rem 0 rgba(214, 155, 114, 0.72),
    -0.08rem 1.78rem 0 rgba(170, 184, 200, 0.58);
  transform: rotate(0deg) scale(0.92);
  transform-origin: 0.8rem 0.82rem;
}

.site-nav-toggle::after {
  inset: auto 0.72rem 0.68rem auto;
  width: 0.52rem;
  height: 0.52rem;
  border-top: 1px solid rgba(216, 246, 255, 0.72);
  border-left: 1px solid rgba(216, 246, 255, 0.72);
  transform: rotate(45deg) scale(0.62);
}

.site-nav-toggle__icon,
.site-nav-toggle__icon::before,
.site-nav-toggle__icon::after {
  z-index: 1;
  display: block;
  width: 1.25rem;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.site-nav-toggle__icon {
  position: relative;
  box-shadow: 0 0 12px rgba(155, 216, 232, 0);
  transition:
    box-shadow 180ms ease,
    transform 220ms ease;
}

.site-nav-toggle__icon::before,
.site-nav-toggle__icon::after {
  position: absolute;
  left: 0;
  content: "";
}

.site-nav-toggle__icon::before {
  transform: translateY(-0.42rem);
}

.site-nav-toggle__icon::after {
  transform: translateY(0.42rem);
}

.site-nav-toggle[aria-expanded="true"] .site-nav-toggle__icon {
  box-shadow: 0 0 14px rgba(155, 216, 232, 0.26);
  transform: rotate(45deg);
}

.site-nav-toggle[aria-expanded="true"] .site-nav-toggle__icon::before {
  opacity: 0;
  transform: translateY(0) scaleX(0.24);
}

.site-nav-toggle[aria-expanded="true"] .site-nav-toggle__icon::after {
  transform: rotate(90deg);
}

.site-nav-toggle[aria-expanded="true"] {
  border-color: rgba(155, 216, 232, 0.46);
  box-shadow: 0 0 0 1px rgba(155, 216, 232, 0.08), 0 12px 32px rgba(0, 0, 0, 0.24);
}

.site-nav-toggle[aria-expanded="true"]::before {
  opacity: 0.92;
  transform: rotate(158deg) scale(1);
}

.site-nav-toggle[aria-expanded="true"]::after {
  opacity: 0.9;
  transform: rotate(225deg) scale(0.78);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.35rem;
}

.site-nav a {
  padding: 0.55rem 0.72rem;
  color: var(--muted);
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.92rem;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--text);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.045);
}

.hero {
  position: relative;
  display: grid;
  min-height: clamp(660px, 88vh, 900px);
  border-bottom: 0;
  isolation: isolate;
}

.hero::after {
  position: absolute;
  inset: auto auto -5.4rem 50%;
  z-index: 2;
  width: 1px;
  height: 6rem;
  content: "";
  background: linear-gradient(180deg, rgba(190, 196, 202, 0.62), rgba(155, 216, 232, 0.28), rgba(214, 155, 114, 0));
  box-shadow: 0 0 18px rgba(190, 196, 202, 0.18);
  transform: translateX(-50%);
  pointer-events: none;
}

.hero__media,
.hero__media img,
.hero__overlay,
.hero__content {
  grid-area: 1 / 1;
}

.hero__media {
  position: relative;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero__media img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% center;
  animation: deep-field-drift 22s ease-in-out infinite alternate;
}

.hero__overlay {
  position: relative;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(2, 4, 10, 0) 62%, rgba(2, 4, 10, 0.42) 88%, rgba(2, 4, 10, 0.78) 100%),
    linear-gradient(90deg, rgba(5, 7, 13, 0.90) 0%, rgba(5, 7, 13, 0.70) 34%, rgba(5, 7, 13, 0.12) 62%, rgba(5, 7, 13, 0.24) 100%);
  pointer-events: none;
}

.hero__overlay::after {
  position: absolute;
  inset: auto 0 -6rem;
  height: 6rem;
  content: "";
  background: linear-gradient(180deg, rgba(2, 4, 10, 0.78), rgba(2, 4, 10, 0));
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 760px;
  padding-block: 7rem 5rem;
}

.eyebrow {
  margin: 0 0 0.9rem;
  color: var(--cyan);
  font-family: var(--font-small);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero .eyebrow {
  font-family: var(--font-title);
}

h1,
h2,
h3 {
  color: var(--text);
  font-family: var(--font-title);
  line-height: 1.12;
  letter-spacing: 0;
}

h1 {
  max-width: 12ch;
  margin: 0;
  font-size: clamp(3rem, 8vw, 6.8rem);
}

.hero__lede {
  max-width: 660px;
  margin: 1.25rem 0 0;
  color: #dce7ef;
  font-family: var(--font-small);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.hero-scroll-cue {
  position: absolute;
  z-index: 3;
  inset: auto 50% 1.15rem auto;
  display: block;
  width: var(--cue-size);
  height: calc(var(--cue-size) + var(--cue-gap) + var(--cue-chevron-size));
  padding: 0;
  color: var(--text);
  text-decoration: none;
  --cue-size: 58px;
  --cue-gap: 10px;
  --cue-chevron-size: 0.42rem;
  --cue-x: 50%;
  transform: translateX(var(--cue-x));
  animation: cue-silhouette-pulse 4.8s ease-in-out infinite;
}

.hero-scroll-cue:hover {
  color: var(--text);
}

.hero-scroll-cue__mark {
  position: relative;
  display: block;
  width: var(--cue-size);
  height: var(--cue-size);
  overflow: hidden;
  border: 1px solid rgba(155, 216, 232, 0.34);
  border-radius: 999px;
  background:
    radial-gradient(circle at 50% 50%, transparent 0 35%, rgba(155, 216, 232, 0.24) 36%, transparent 39%),
    radial-gradient(circle at 50% 50%, rgba(86, 191, 212, 0.12), transparent 48%),
    rgba(5, 7, 13, 0.18);
  box-shadow:
    inset 0 0 18px rgba(155, 216, 232, 0.05),
    0 0 0 7px rgba(5, 7, 13, 0.14),
    0 0 28px rgba(86, 191, 212, 0.10),
    0 12px 30px rgba(0, 0, 0, 0.24);
  animation: cue-circle-bounce 3.2s ease-in-out infinite;
}

.hero-scroll-cue__mark::before,
.hero-scroll-cue__mark::after {
  position: absolute;
  content: "";
  border-radius: 999px;
}

.hero-scroll-cue__mark::before {
  inset: 50% auto auto 50%;
  width: 18px;
  height: 18px;
  background:
    radial-gradient(circle at 34% 28%, rgba(216, 246, 255, 0.68), transparent 18%),
    radial-gradient(ellipse at 42% 46%, rgba(86, 191, 212, 0.34), transparent 42%),
    radial-gradient(ellipse at 72% 56%, rgba(3, 13, 27, 0.78), transparent 58%),
    radial-gradient(circle at 44% 45%, rgba(155, 216, 232, 0.20), transparent 58%),
    radial-gradient(circle, #56bfd4, #123d5c 70%);
  box-shadow:
    inset -5px -2px 8px rgba(3, 8, 15, 0.74),
    inset 3px 1px 5px rgba(216, 246, 255, 0.18),
    0 0 14px rgba(86, 191, 212, 0.32);
  transform: translate(-50%, -50%);
  animation: earth-spin 5.8s linear infinite;
}

.hero-scroll-cue__mark::after {
  inset: 50% auto auto 50%;
  width: 5px;
  height: 5px;
  background:
    radial-gradient(circle at 35% 30%, #eef1ef, #a8b1ba 68%, #66707c);
  box-shadow:
    0 0 8px rgba(216, 246, 255, 0.34),
    0 0 14px rgba(155, 216, 232, 0.18);
  transform: translate(-50%, -50%) rotate(0deg) translateX(18px);
  animation: moon-orbit 5.8s linear infinite;
}

.hero-scroll-cue::before {
  position: absolute;
  inset: -8px auto auto 50%;
  width: calc(var(--cue-size) + 16px);
  height: calc(var(--cue-size) + 16px);
  content: "";
  background:
    radial-gradient(circle, rgba(155, 216, 232, 0.18), rgba(155, 216, 232, 0.04) 46%, transparent 70%);
  border-radius: 999px;
  opacity: 0.62;
  filter: blur(9px);
  transform: translateX(-50%);
  pointer-events: none;
}

.hero-scroll-cue::after {
  position: absolute;
  inset: auto auto 0 50%;
  width: var(--cue-chevron-size);
  height: var(--cue-chevron-size);
  content: "";
  border-right: 1px solid rgba(155, 216, 232, 0.74);
  border-bottom: 1px solid rgba(155, 216, 232, 0.74);
  transform: translateX(-50%) rotate(45deg);
  pointer-events: none;
}

@keyframes deep-field-drift {
  from {
    transform: scale(1.01) translate3d(-0.25rem, 0, 0);
  }

  to {
    transform: scale(1.045) translate3d(0.35rem, -0.2rem, 0);
  }
}

@keyframes cue-circle-bounce {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(7px);
  }
}

@keyframes cue-silhouette-pulse {
  0%,
  100% {
    opacity: 0.86;
  }

  50% {
    opacity: 1;
  }
}

@keyframes cluster-glint {
  0%,
  68%,
  100% {
    opacity: 0;
    transform: scale(0.64);
  }

  74% {
    opacity: 0.92;
    transform: scale(1);
  }

  82% {
    opacity: 0;
    transform: scale(1.22);
  }
}

@keyframes rail-scan {
  0%,
  100% {
    background-position: 0 0, 0 -40%;
  }

  50% {
    background-position: 0 0, 0 126%;
  }
}

@keyframes earth-spin {
  from {
    transform: translate(-50%, -50%) rotate(0deg) scale(0.98);
  }

  to {
    transform: translate(-50%, -50%) rotate(360deg) scale(0.98);
  }
}

@keyframes moon-orbit {
  from {
    transform: translate(-50%, -50%) rotate(0deg) translateX(18px) rotate(0deg);
  }

  to {
    transform: translate(-50%, -50%) rotate(360deg) translateX(18px) rotate(-360deg);
  }
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.76rem 1rem;
  color: #041017;
  background: linear-gradient(135deg, var(--cyan), #d6f6ff);
  border: 1px solid rgba(216, 246, 255, 0.48);
  border-radius: 6px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 14px 44px rgba(86, 191, 212, 0.18);
}

.button:hover {
  color: #041017;
}

.button--ghost {
  color: var(--text);
  background: rgba(8, 13, 22, 0.72);
  border-color: var(--line);
  box-shadow: none;
}

.button--ghost:hover {
  color: var(--text);
  border-color: rgba(155, 216, 232, 0.5);
}

.home-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 4.5rem;
  row-gap: 1.15rem;
  padding-block: 7.4rem 5.5rem;
  counter-reset: portfolio-step;
  isolation: isolate;
  scroll-margin-top: 12px;
}

.home-grid::after {
  display: none;
}

.home-grid::before {
  position: absolute;
  inset: 0 auto 4.8rem 50%;
  width: 1px;
  content: "";
  background:
    linear-gradient(180deg, rgba(155, 216, 232, 0), rgba(155, 216, 232, 0.42) 12%, rgba(214, 155, 114, 0.32) 55%, rgba(155, 216, 232, 0.08) 100%),
    linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.82), transparent);
  background-size: 100% 100%, 100% 28%;
  background-position: 0 0, 0 -40%;
  box-shadow: 0 0 22px rgba(86, 191, 212, 0.18);
  transform: translateX(-50%);
  animation: rail-scan 7.5s ease-in-out infinite;
  pointer-events: none;
}

.section-card {
  position: relative;
  grid-column: 1;
  min-height: 100%;
  padding: 1.35rem 1.35rem 1.35rem 1.6rem;
  counter-increment: portfolio-step;
  background:
    linear-gradient(145deg, rgba(15, 24, 37, 0.92), rgba(8, 13, 22, 0.76)),
    radial-gradient(circle at 88% 0%, rgba(155, 216, 232, 0.10), transparent 12rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
  transition:
    border-color 180ms ease,
    transform 180ms ease,
    background 180ms ease;
}

.section-card:nth-child(1) {
  grid-column: 1;
  grid-row: 1;
}

.section-card:nth-child(2) {
  grid-column: 2;
  grid-row: 2;
}

.section-card:nth-child(3) {
  grid-column: 1;
  grid-row: 3;
}

.section-card:nth-child(4) {
  grid-column: 2;
  grid-row: 4;
}

.section-card:nth-child(5) {
  grid-column: 1 / -1;
  grid-row: 5;
}

.section-card:nth-child(6) {
  grid-column: 1 / -1;
  grid-row: 6;
}

.section-card::before {
  position: absolute;
  inset: 1.1rem -3.65rem auto auto;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 2.35rem;
  height: 2.35rem;
  content: counter(portfolio-step, decimal-leading-zero);
  color: rgba(216, 246, 255, 0.90);
  background:
    radial-gradient(circle at 50% 35%, rgba(155, 216, 232, 0.24), transparent 62%),
    rgba(5, 7, 13, 0.94);
  border: 1px solid rgba(155, 216, 232, 0.32);
  border-radius: 999px;
  box-shadow:
    0 0 0 6px rgba(5, 7, 13, 0.76),
    0 0 24px rgba(86, 191, 212, 0.20);
  font-size: 0.68rem;
  font-weight: 850;
}

.section-card:nth-child(even)::before {
  inset: 1.1rem auto auto -3.65rem;
}

.section-card::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(120deg, transparent 16%, rgba(155, 216, 232, 0.08) 48%, transparent 74%);
  border-radius: inherit;
  opacity: 0;
  transform: translateX(-18%);
  transition:
    opacity 180ms ease,
    transform 420ms ease;
  pointer-events: none;
}

.section-card:hover,
.section-card:focus-within {
  border-color: rgba(155, 216, 232, 0.34);
  transform: translateY(-2px);
}

.section-card:hover::after,
.section-card:focus-within::after {
  opacity: 1;
  transform: translateX(0);
}

.section-card--wide {
  grid-column: 1 / -1;
  justify-self: center;
  width: min(100%, 900px);
  margin-block: 1.25rem;
  transform: none;
}

.section-card--wide + .section-card--wide {
  margin-top: 3.75rem;
}

.section-card--wide::before,
.section-card:nth-child(even).section-card--wide::before {
  inset: -3.15rem auto auto 50%;
  transform: translateX(-50%);
}

.section-card--wide:hover,
.section-card--wide:focus-within {
  transform: translateY(-2px);
}

.section-card h2,
.prose h2 {
  margin: 0 0 0.8rem;
  font-size: clamp(1.45rem, 2vw, 2rem);
}

.section-card h2 {
  color: var(--cyan);
}

.section-card p {
  margin: 0;
  color: var(--muted);
}

.section-card p + p,
.section-card p + a {
  margin-top: 1rem;
}

.section-card a {
  display: inline-flex;
  font-weight: 750;
}

.motion-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 420px);
  align-items: center;
  gap: 1.4rem;
}

.motion-card__copy {
  max-width: 640px;
}

.motion-card__media {
  justify-self: end;
  width: min(100%, 420px);
  margin: 0;
}

.motion-card__media img,
.motion-card__media video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid rgba(155, 216, 232, 0.24);
  border-radius: var(--radius);
  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.26),
    0 0 34px rgba(86, 191, 212, 0.10);
  filter: grayscale(0.1) contrast(1.08) brightness(0.86);
  opacity: 0.86;
}

.motion-card__still {
  display: none !important;
}

.motion-card figcaption {
  margin-top: 0.55rem;
  color: var(--subtle);
  font-size: 0.78rem;
}

.page-shell {
  padding-block: 5rem;
}

.page-heading {
  max-width: 760px;
  margin-bottom: 2rem;
}

.page-heading h1 {
  max-width: 14ch;
  font-size: clamp(2.4rem, 5vw, 4.6rem);
}

.prose {
  max-width: 820px;
  color: var(--muted);
}

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

.prose h1 {
  display: none;
}

.prose h2 {
  margin-top: 2.5rem;
  color: var(--text);
}

.prose ul {
  padding-left: 1.2rem;
}

.prose li + li {
  margin-top: 0.55rem;
}

.prose strong {
  color: var(--text);
}

.prose p,
.prose li {
  font-size: 1.03rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(3, 5, 10, 0.92);
}

.site-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.25rem;
  color: var(--subtle);
  line-height: 1.2;
}

.site-footer p {
  margin: 0;
}

.site-footer__copy {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.7rem;
  font-size: 0.74rem;
}

.site-credit {
  color: rgba(170, 184, 200, 0.74);
  font-size: 0.74rem;
}

.quiet-console {
  position: relative;
  color: var(--subtle);
}

.quiet-console__summary {
  display: inline-flex;
  align-items: center;
  gap: 0.48rem;
  cursor: pointer;
  list-style: none;
  border-radius: 6px;
}

.quiet-console__summary::-webkit-details-marker {
  display: none;
}

.quiet-console__summary:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 5px;
}

.quiet-console__summary::after {
  content: "";
  width: 0.32rem;
  height: 0.32rem;
  border-radius: 999px;
  background: #ff5f57;
  box-shadow: 0 0 16px rgba(255, 95, 87, 0.54);
  opacity: 0.72;
  transition:
    background-color 160ms ease,
    box-shadow 160ms ease,
    opacity 160ms ease;
}

.quiet-console__trigger-prompt {
  color: rgba(143, 255, 178, 0.88);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0;
  text-shadow: 0 0 10px rgba(118, 247, 168, 0.18);
}

.quiet-console__trigger-label {
  font-size: 0.7rem;
}

.quiet-console[open] .quiet-console__summary::after {
  background: #76f7a8;
  box-shadow: 0 0 16px rgba(118, 247, 168, 0.66);
  opacity: 1;
}

.quiet-console--minimized:not([open]) .quiet-console__summary::after {
  background: #ffbd2e;
  box-shadow: 0 0 16px rgba(255, 189, 46, 0.48);
  opacity: 0.88;
}

.quiet-console__panel {
  position: absolute;
  display: flex;
  flex-direction: column;
  right: calc(100% + 0.75rem);
  bottom: 0;
  z-index: 6;
  width: min(92vw, 430px);
  max-height: min(70vh, 420px);
  overflow: hidden;
  border: 1px solid rgba(118, 247, 168, 0.26);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 18% 0%, rgba(118, 247, 168, 0.08), transparent 15rem),
    linear-gradient(180deg, rgba(2, 5, 5, 0.99), rgba(0, 2, 3, 0.99)),
    #000203;
  box-shadow:
    0 22px 70px rgba(0, 0, 0, 0.55),
    0 0 42px rgba(86, 191, 212, 0.10);
}

.quiet-console--maximized .quiet-console__panel {
  position: fixed;
  top: 50%;
  left: 50%;
  right: auto;
  bottom: auto;
  z-index: 30;
  width: min(980px, calc(100vw - 32px));
  height: min(78vh, 720px);
  max-height: calc(100vh - 32px);
  transform: translate(-50%, -50%);
  box-shadow:
    0 34px 120px rgba(0, 0, 0, 0.72),
    0 0 90px rgba(86, 191, 212, 0.16);
}

.quiet-console--minimizing .quiet-console__panel {
  pointer-events: none;
  transform-origin: 100% 100%;
  animation: quiet-minimize 180ms cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.quiet-console--maximized.quiet-console--minimizing .quiet-console__panel {
  animation-name: quiet-minimize-maximized;
}

.quiet-console__panel::before {
  position: absolute;
  inset: 0;
  content: "";
  background: repeating-linear-gradient(
    180deg,
    rgba(143, 255, 178, 0.028) 0,
    rgba(143, 255, 178, 0.028) 1px,
    transparent 1px,
    transparent 4px
  );
  opacity: 0.38;
  pointer-events: none;
}

.quiet-console__chrome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.38rem;
  position: relative;
  padding: 0.52rem 0.7rem;
  border-bottom: 1px solid rgba(118, 247, 168, 0.14);
  background: rgba(255, 255, 255, 0.018);
}

.quiet-console__controls {
  display: flex;
  align-items: center;
  gap: 0.34rem;
}

.quiet-console__control {
  appearance: none;
  position: relative;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
}

.quiet-console__control:focus-visible {
  outline: 2px solid rgba(202, 255, 216, 0.92);
  outline-offset: 3px;
}

.quiet-console__control--close {
  color: #ff5f57;
  --control-glow: rgba(255, 95, 87, 0.18);
}

.quiet-console__control--minimize {
  color: #ffbd2e;
  --control-glow: rgba(255, 189, 46, 0.16);
}

.quiet-console__control--maximize {
  color: #28c840;
  --control-glow: rgba(40, 200, 64, 0.18);
}

.quiet-console--maximized .quiet-console__control--maximize {
  color: #76f7a8;
  --control-glow: rgba(118, 247, 168, 0.34);
}

.quiet-console__control::before {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 0.62rem;
  height: 0.62rem;
  content: "";
  background: currentColor;
  border-radius: inherit;
  box-shadow: 0 0 12px var(--control-glow);
  transform: translate(-50%, -50%);
}

.quiet-console__title {
  color: rgba(143, 255, 178, 0.48);
  font-family: var(--font-mono);
  font-size: 0.68rem;
}

.quiet-console__media {
  margin: 0.45rem 0 0.2rem;
}

.quiet-console__media img {
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 156px;
  object-fit: cover;
  border: 1px solid rgba(118, 247, 168, 0.20);
  border-radius: 6px;
  opacity: 0.82;
}

.quiet-console__screen {
  flex: 1 1 auto;
  position: relative;
  display: grid;
  gap: 0;
  min-height: 0;
  overflow: auto;
  overscroll-behavior: contain;
  padding: 0.75rem 0.95rem 0.1rem;
  color: rgba(143, 255, 178, 0.88);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  line-height: 1.55;
  text-shadow: 0 0 12px rgba(118, 247, 168, 0.18);
}

.quiet-console__screen p {
  margin: 0;
}

.quiet-console__prompt {
  color: rgba(202, 255, 216, 0.96);
}

.quiet-console__form {
  flex: 0 0 auto;
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.38rem;
  margin-top: -0.08rem;
  padding: 0 0.95rem 0.75rem;
  color: rgba(202, 255, 216, 0.96);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  line-height: 1.55;
  cursor: text;
}

.quiet-console__form:focus-within {
  background: rgba(118, 247, 168, 0.022);
  box-shadow: inset 0 0 0 1px rgba(143, 255, 178, 0.42);
}

.quiet-console__typed {
  min-width: 1ch;
  color: rgba(143, 255, 178, 0.94);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.quiet-console__typed--hint::before {
  content: "help";
  color: rgba(143, 255, 178, 0.32);
}

.quiet-console__cursor {
  width: 0.56ch;
  height: 1.18em;
  background: rgba(143, 255, 178, 0.9);
  box-shadow: 0 0 14px rgba(143, 255, 178, 0.34);
  animation: quiet-cursor 1.05s steps(1, end) infinite;
}

.quiet-console__input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  border: 0;
  background: transparent;
  color: transparent;
  font: inherit;
  caret-color: transparent;
}

.quiet-console__input:focus {
  outline: 0;
}

@keyframes quiet-cursor {
  0%,
  48% {
    opacity: 1;
  }

  49%,
  100% {
    opacity: 0;
  }
}

@keyframes quiet-minimize {
  to {
    opacity: 0;
    transform: translate(6rem, 1.2rem) scale(0.62);
  }
}

@keyframes quiet-minimize-maximized {
  from {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }

  to {
    opacity: 0;
    transform: translate(calc(-50% + 28vw), calc(-50% + 38vh)) scale(0.18);
  }
}

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

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

  .quiet-console__cursor {
    animation: none !important;
  }

  .motion-card__video {
    display: none;
  }

  .motion-card__still {
    display: block !important;
  }
}

@media (max-width: 760px) {
  :root {
    --shell: min(100vw - 28px, 1120px);
  }

  body::after {
    top: 5.25rem;
    right: -1.75rem;
    width: 230px;
    opacity: 0.48;
  }

  .site-header__inner,
  .site-footer__inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-header__inner {
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
    min-height: 64px;
  }

  .site-brand {
    min-width: 0;
  }

  .site-brand span:last-child {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .site-nav-ready .site-nav-toggle {
    display: grid;
    flex: 0 0 auto;
  }

  .site-nav {
    order: 3;
    display: grid;
    flex: 0 0 100%;
    gap: 0.25rem;
    padding: 0.38rem;
    background: var(--panel-strong);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

  .site-nav-ready .site-nav {
    position: absolute;
    inset: calc(100% + 0.55rem) 0 auto auto;
    z-index: 2;
    width: max-content;
    min-width: 112px;
    max-width: calc(100vw - 28px);
    flex: none;
    opacity: 0;
    transform: translateY(-0.36rem);
    transform-origin: top right;
    transition:
      opacity 180ms ease,
      transform 180ms ease,
      visibility 180ms ease;
    visibility: hidden;
    pointer-events: none;
  }

  .site-nav-ready.site-nav-is-open .site-nav {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
    pointer-events: auto;
  }

  .site-nav a {
    display: block;
    min-height: 44px;
    padding: 0.68rem 0.56rem;
    border-radius: 6px;
  }

  .site-footer__copy {
    display: grid;
    gap: 0.12rem;
  }

  .quiet-console,
  .quiet-console__panel {
    width: 100%;
  }

  .quiet-console__summary {
    flex-wrap: wrap;
    gap: 0.55rem;
  }

  .quiet-console__panel {
    position: static;
    margin-top: 0.75rem;
  }

  .quiet-console--maximized .quiet-console__panel {
    position: fixed;
    inset: 0.75rem;
    width: auto;
    height: min(78vh, calc(100vh - 1.5rem));
    max-height: calc(100vh - 1.5rem);
    transform: none;
  }

  .hero {
    min-height: 720px;
  }

  .hero::after {
    bottom: -4.8rem;
    height: 5.2rem;
  }

  .hero__media img {
    object-position: 64% center;
  }

  .hero__overlay {
    background:
      linear-gradient(180deg, rgba(2, 4, 10, 0) 58%, rgba(2, 4, 10, 0.46) 86%, rgba(2, 4, 10, 0.82) 100%),
      linear-gradient(90deg, rgba(5, 7, 13, 0.92), rgba(5, 7, 13, 0.58));
  }

  .hero__overlay::after {
    background: linear-gradient(180deg, rgba(2, 4, 10, 0.82), rgba(2, 4, 10, 0));
  }

  .hero__content {
    padding-block: 5rem 7.5rem;
  }

  .hero__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-scroll-cue {
    inset-inline: 14px;
    bottom: 0.85rem;
    --cue-size: 54px;
    --cue-gap: 9px;
    --cue-x: -50%;
    justify-self: center;
    left: 50%;
    right: auto;
  }

  .home-grid {
    grid-template-columns: 1fr;
    row-gap: 1rem;
    padding-block: 5.75rem 3.5rem;
  }

  .home-grid::before {
    display: none;
  }

  .home-grid > .section-card {
    grid-column: 1;
    grid-row: auto;
    justify-self: stretch;
    width: 100%;
    padding-top: 4rem;
    margin-block: 0;
    margin-left: 0;
    transform: none;
  }

  .section-card--wide + .section-card--wide {
    margin-top: 0;
  }

  .section-card::before,
  .section-card:nth-child(even)::before,
  .section-card--wide::before,
  .section-card:nth-child(even).section-card--wide::before {
    inset: 1.05rem auto auto 1.1rem;
    transform: none;
  }

  .section-card:hover,
  .section-card:focus-within,
  .section-card:nth-child(even):hover,
  .section-card:nth-child(even):focus-within,
  .section-card--wide:hover,
  .section-card--wide:focus-within {
    transform: none;
  }

  .motion-card {
    grid-template-columns: 1fr;
  }

  .motion-card__media {
    justify-self: start;
    width: min(100%, 420px);
  }

}
