:root {
  color-scheme: dark;
  --deep-space: #0B1020;
  --midnight: #101D2B;
  --lyra-blue: #2563EB;
  --stellar-cyan: #22D3EE;
  --nebula-violet: #A855F7;
  --nebula-gray: #E5E7EB;
  --starlight: #FFFFFF;
  --muted: #A7B2C7;
  --line: rgba(229, 231, 235, .14);
  --line-strong: rgba(34, 211, 238, .28);
  --surface: rgba(16, 29, 43, .72);
  --surface-soft: rgba(16, 29, 43, .42);
  --shell: min(74rem, calc(100% - 2.5rem));
  --header-height: 5rem;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--nebula-gray);
  background:
    radial-gradient(circle at 78% 8%, rgba(37, 99, 235, .15), transparent 28rem),
    radial-gradient(circle at 15% 36%, rgba(168, 85, 247, .08), transparent 34rem),
    linear-gradient(180deg, #080D19 0%, var(--deep-space) 38%, #070B15 100%);
  font: 400 1rem/1.7 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
}

body::before {
  opacity: .32;
  background-image:
    radial-gradient(circle at 14% 12%, rgba(255,255,255,.9) 0 1px, transparent 1.3px),
    radial-gradient(circle at 31% 68%, rgba(34,211,238,.72) 0 1px, transparent 1.4px),
    radial-gradient(circle at 54% 24%, rgba(255,255,255,.7) 0 1px, transparent 1.2px),
    radial-gradient(circle at 74% 76%, rgba(168,85,247,.72) 0 1px, transparent 1.3px),
    radial-gradient(circle at 88% 34%, rgba(255,255,255,.82) 0 1px, transparent 1.3px);
  background-size: 22rem 24rem, 30rem 27rem, 26rem 25rem, 33rem 31rem, 28rem 29rem;
  animation: star-drift 46s linear infinite alternate;
}

body::after {
  z-index: -4;
  opacity: .09;
  background-image:
    linear-gradient(rgba(34, 211, 238, .16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34, 211, 238, .16) 1px, transparent 1px);
  background-size: 5rem 5rem;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.75), transparent 72%);
}

@keyframes star-drift {
  from { transform: translate3d(-1.2rem, -.8rem, 0); }
  to { transform: translate3d(1.5rem, 1rem, 0); }
}

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

a {
  color: inherit;
}

a:focus-visible {
  outline: .2rem solid var(--stellar-cyan);
  outline-offset: .28rem;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: .75rem;
  left: .75rem;
  padding: .7rem 1rem;
  border-radius: .45rem;
  color: var(--deep-space);
  background: var(--starlight);
  font-weight: 750;
  transform: translateY(-180%);
  transition: transform .18s ease;
}

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

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

.ambient {
  position: fixed;
  z-index: -2;
  width: 34rem;
  height: 34rem;
  border-radius: 50%;
  filter: blur(6rem);
  pointer-events: none;
  opacity: .11;
}

.ambient--cyan {
  top: 8rem;
  right: -12rem;
  background: var(--stellar-cyan);
  animation: ambient-float 17s ease-in-out infinite alternate;
}

.ambient--violet {
  left: -15rem;
  top: 58vh;
  background: var(--nebula-violet);
  animation: ambient-float 21s ease-in-out -7s infinite alternate-reverse;
}

@keyframes ambient-float {
  from { transform: translate3d(0, 0, 0) scale(.95); }
  to { transform: translate3d(2.5rem, 1.5rem, 0) scale(1.08); }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid rgba(34, 211, 238, .11);
  background: rgba(8, 13, 25, .76);
  backdrop-filter: blur(1rem);
}

.header-inner {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand-link {
  flex: 0 0 auto;
  text-decoration: none;
}

.brand-link img {
  width: clamp(10.8rem, 17vw, 13.8rem);
  height: auto;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: clamp(.9rem, 2.4vw, 1.6rem);
  color: #AAB6C8;
  font-size: .82rem;
  font-weight: 650;
  letter-spacing: .02em;
}

.primary-nav a {
  text-decoration: none;
  transition: color .2s ease, border-color .2s ease, background .2s ease, transform .2s ease;
}

.primary-nav a:not(.nav-cta):hover {
  color: var(--stellar-cyan);
}

.nav-cta {
  min-height: 2.6rem;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .55rem .85rem;
  border: 1px solid rgba(34, 211, 238, .3);
  border-radius: .55rem;
  color: var(--starlight);
  background: rgba(16, 29, 43, .7);
}

.nav-cta:hover {
  color: var(--stellar-cyan);
  border-color: rgba(34, 211, 238, .68);
  background: rgba(16, 29, 43, .96);
  transform: translateY(-.08rem);
}

.hero {
  min-height: calc(100svh - var(--header-height));
  padding-block: clamp(4rem, 8vw, 7rem);
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(20rem, .92fr);
  align-items: center;
  gap: clamp(3rem, 8vw, 7rem);
}

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

.eyebrow,
.section-label,
.hero-meta,
.focus-number,
.work-type,
.work-state {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.eyebrow,
.section-label {
  margin: 0 0 1rem;
  color: var(--stellar-cyan);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 10ch;
  margin-bottom: 1.65rem;
  color: var(--starlight);
  font-size: clamp(3.45rem, 7.8vw, 7.4rem);
  line-height: .91;
  letter-spacing: -.068em;
}

h1 span {
  color: var(--stellar-cyan);
}

.lede {
  max-width: 42rem;
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.8vw, 1.28rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .9rem;
  margin-top: 2rem;
}

.button {
  min-height: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .72rem 1.1rem;
  border: 1px solid var(--lyra-blue);
  border-radius: .55rem;
  color: var(--starlight);
  background: linear-gradient(135deg, var(--lyra-blue), #153A9B);
  box-shadow: 0 .7rem 2rem rgba(37, 99, 235, .22);
  font-weight: 760;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.button:hover {
  transform: translateY(-.13rem);
  border-color: var(--stellar-cyan);
  box-shadow: 0 1rem 2.4rem rgba(37, 99, 235, .31);
}

.button--quiet {
  color: var(--stellar-cyan);
  border-color: rgba(34, 211, 238, .34);
  background: rgba(16, 29, 43, .64);
  box-shadow: none;
}

.button--quiet:hover {
  background: rgba(16, 29, 43, .95);
  box-shadow: 0 .8rem 2rem rgba(0,0,0,.22);
}

.hero-meta {
  margin: 1.25rem 0 0;
  color: #7E8BA1;
  font-size: .72rem;
  letter-spacing: .04em;
}

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 30rem;
  isolation: isolate;
}

.hero-visual::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: min(33rem, 90%);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(34, 211, 238, .10), rgba(37, 99, 235, .055) 40%, transparent 68%);
}

.hero-mark {
  width: min(31rem, 88vw);
  height: auto;
}

.hero-mark-field {
  position: absolute;
  inset: 8% 2%;
  pointer-events: none;
}

.star {
  position: absolute;
  width: .28rem;
  height: .28rem;
  border-radius: 50%;
  background: var(--starlight);
  box-shadow: 0 0 .9rem rgba(34, 211, 238, .78);
  animation: star-pulse 3.4s ease-in-out infinite;
}

.star::before,
.star::after {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  background: rgba(255,255,255,.72);
  transform: translate(-50%, -50%);
}

.star::before { width: 1.4rem; height: 1px; }
.star::after { width: 1px; height: 1.4rem; }

.star--one { top: 5%; right: 18%; animation-delay: -.7s; }
.star--two { top: 31%; left: 3%; transform: scale(.62); animation-delay: -1.8s; }
.star--three { right: 2%; bottom: 24%; transform: scale(.5); animation-delay: -2.5s; }
.star--four { left: 22%; bottom: 4%; transform: scale(.42); animation-delay: -1.1s; }

@keyframes star-pulse {
  0%, 100% { opacity: .34; }
  48% { opacity: 1; }
}

.section {
  padding-block: clamp(4.8rem, 8vw, 7rem);
  border-top: 1px solid var(--line);
  scroll-margin-top: var(--header-height);
}

.section--statement,
.section--work {
  background: linear-gradient(180deg, rgba(16,29,43,.20), rgba(16,29,43,.055));
}

.statement-grid,
.section-heading,
.closing-grid {
  display: grid;
  grid-template-columns: minmax(9rem, .48fr) minmax(0, 1.52fr);
  gap: clamp(2.5rem, 8vw, 7rem);
}

.statement-copy h2,
.section-heading h2,
.closing-copy h2 {
  max-width: 15ch;
  margin-bottom: 1.2rem;
  color: var(--starlight);
  font-size: clamp(2.35rem, 5.1vw, 4.5rem);
  line-height: .98;
  letter-spacing: -.055em;
}

.statement-copy > p,
.section-heading p,
.closing-copy > p {
  max-width: 48rem;
  color: var(--muted);
  font-size: 1.04rem;
}

.section-heading {
  margin-bottom: 2.25rem;
}

.focus-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.focus-card {
  min-height: 19rem;
  padding: 1.6rem 1.5rem 1.8rem;
  border-right: 1px solid var(--line);
  background: rgba(11,16,32,.24);
  transition: background .24s ease, transform .24s ease;
}

.focus-card:last-child {
  border-right: 0;
}

.focus-card:hover {
  background: rgba(16,29,43,.56);
  transform: translateY(-.18rem);
}

.focus-number {
  display: block;
  margin-bottom: 4.4rem;
  color: var(--stellar-cyan);
  font-size: .72rem;
  letter-spacing: .08em;
}

.focus-card h3 {
  margin-bottom: .7rem;
  color: var(--starlight);
  font-size: 1.55rem;
  letter-spacing: -.025em;
}

.focus-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: .95rem;
}

.work-list {
  border-top: 1px solid var(--line);
}

.work-row {
  display: grid;
  grid-template-columns: minmax(9rem, .45fr) minmax(0, 1.25fr) minmax(8rem, .3fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: start;
  padding-block: 2rem;
  border-bottom: 1px solid var(--line);
}

.work-type,
.work-state {
  padding-top: .34rem;
  color: #8E9BB0;
  font-size: .7rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.work-copy h3 {
  margin-bottom: .65rem;
  color: var(--starlight);
  font-size: clamp(1.6rem, 3vw, 2.45rem);
  line-height: 1.05;
  letter-spacing: -.04em;
}

.work-copy p {
  max-width: 43rem;
  margin-bottom: 0;
  color: var(--muted);
}

.work-link,
.text-link {
  justify-self: start;
  color: var(--stellar-cyan);
  font-weight: 700;
  text-decoration-color: rgba(34,211,238,.38);
  text-underline-offset: .24rem;
  transition: color .2s ease, text-decoration-color .2s ease;
}

.work-link {
  padding-top: .28rem;
  font-size: .88rem;
}

.work-link:hover,
.text-link:hover {
  color: var(--starlight);
  text-decoration-color: currentColor;
}

.section--closing {
  position: relative;
  overflow: hidden;
}

.section--closing::before {
  content: "";
  position: absolute;
  width: 36rem;
  height: 36rem;
  right: -14rem;
  bottom: -20rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(168,85,247,.12), transparent 65%);
  pointer-events: none;
}

.closing-grid {
  align-items: center;
}

.closing-mark img {
  width: min(14rem, 48vw);
  height: auto;
}

.closing-copy .text-link {
  display: inline-block;
  margin-top: .45rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(7,11,21,.72);
}

.footer-inner {
  min-height: 7rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.footer-inner img {
  width: 10.5rem;
  height: auto;
}

.footer-inner p {
  margin: 0;
  color: #76849A;
  font: 500 .7rem/1.4 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  letter-spacing: .04em;
}

.js .reveal {
  opacity: 0;
  transform: translateY(1.2rem);
  transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.focus-grid .reveal:nth-child(2) { transition-delay: .06s; }
.focus-grid .reveal:nth-child(3) { transition-delay: .12s; }
.focus-grid .reveal:nth-child(4) { transition-delay: .18s; }

@media (max-width: 64rem) {
  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(17rem, .72fr);
    gap: 2.5rem;
  }

  .hero-visual {
    min-height: 24rem;
  }

  .focus-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .focus-card:nth-child(2) {
    border-right: 0;
  }

  .focus-card:nth-child(-n+2) {
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 48rem) {
  :root {
    --shell: min(100% - 1.5rem, 74rem);
    --header-height: 4.4rem;
  }

  .header-inner {
    gap: .9rem;
  }

  .brand-link img {
    width: 9.5rem;
  }

  .primary-nav > a:not(.nav-cta) {
    display: none;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-block: 4rem 3rem;
  }

  h1 {
    max-width: 9.2ch;
    font-size: clamp(3rem, 14vw, 5rem);
  }

  .hero-visual {
    min-height: 0;
    order: -1;
    padding-inline: 2.25rem;
  }

  .hero-mark {
    width: min(23rem, 82vw);
  }

  .statement-grid,
  .section-heading,
  .closing-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .section-label {
    margin-bottom: .2rem;
  }

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

  .focus-card,
  .focus-card:nth-child(2) {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .focus-card:last-child {
    border-bottom: 0;
  }

  .focus-number {
    margin-bottom: 2.4rem;
  }

  .work-row {
    grid-template-columns: 1fr;
    gap: .8rem;
  }

  .work-type,
  .work-state,
  .work-link {
    padding-top: 0;
  }

  .closing-mark img {
    width: 9rem;
  }

  .footer-inner {
    min-height: 8rem;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: .8rem;
  }
}

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

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

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
