:root {
  color-scheme: dark;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  --void: #07080c;
  --panel: rgba(255, 255, 255, 0.045);
  --ink: #f4f2ea;
  --muted: rgba(244, 242, 234, 0.62);
  --dim: rgba(244, 242, 234, 0.38);
  --line: rgba(244, 242, 234, 0.14);
  --line-strong: rgba(244, 242, 234, 0.32);
  --blue: #8ac7ff;
  --green: #d6ff73;
  --coral: #ff8b78;
}

* {
  box-sizing: border-box;
}

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

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background: var(--void);
  overflow-x: hidden;
}

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

.site-frame {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
  padding: 28px;
}

.signal-field {
  position: fixed;
  inset: 0;
  z-index: -3;
  background:
    linear-gradient(90deg, rgba(4, 6, 10, 0.76), rgba(4, 6, 10, 0.3) 52%, rgba(4, 6, 10, 0.74)),
    linear-gradient(180deg, rgba(7, 8, 12, 0.16), rgba(7, 8, 12, 0.68) 76%, #040508 100%),
    url("assets/aurora-bg.jpg") center / cover no-repeat,
    #07080c;
}

.signal-field::before,
.signal-field::after {
  position: absolute;
  inset: 0;
  content: "";
}

.signal-field::before {
  background-image:
    linear-gradient(rgba(244, 242, 234, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 242, 234, 0.014) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.32), transparent 72%);
  animation: grid-drift 32s linear infinite;
}

.signal-field::after {
  background:
    linear-gradient(110deg, transparent 12%, rgba(138, 199, 255, 0.09) 36%, transparent 58%),
    linear-gradient(250deg, transparent 18%, rgba(214, 255, 115, 0.06) 46%, transparent 70%);
  opacity: 0.68;
  transform: translateX(-72%);
  animation: field-sweep 18s ease-in-out infinite;
}

.scanline {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 18%),
    radial-gradient(ellipse at 50% 110%, rgba(3, 4, 8, 0.54), transparent 54%);
  mix-blend-mode: screen;
}

.site-header {
  position: relative;
  z-index: 8;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand-lockup,
.nav-links {
  display: inline-flex;
  align-items: center;
}

.brand-lockup {
  gap: 12px;
  color: rgba(244, 242, 234, 0.88);
  font-size: 0.96rem;
  font-weight: 760;
}

.brand-symbol {
  display: grid;
  width: 35px;
  height: 35px;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--void);
  background: var(--ink);
  box-shadow: 0 0 36px rgba(244, 242, 234, 0.18);
  font-family: Antonio, Impact, sans-serif;
  font-size: 1.08rem;
  line-height: 1;
}

.nav-links {
  gap: 7px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px;
  background: rgba(255, 255, 255, 0.045);
  backdrop-filter: blur(18px);
}

.nav-links a {
  min-width: 78px;
  padding: 9px 13px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 820;
  text-align: center;
  text-transform: uppercase;
  transition:
    color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links a[aria-current="page"] {
  color: var(--void);
  background: var(--ink);
  box-shadow: 0 0 28px rgba(244, 242, 234, 0.12);
  outline: none;
}

.brand-hero {
  position: relative;
  display: grid;
  min-height: calc(100svh - 236px);
  align-content: center;
  padding: 66px 0 58px;
}

.hero-kicker,
.section-label {
  width: fit-content;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.035);
  backdrop-filter: blur(14px);
  font-size: 0.72rem;
  font-weight: 840;
  text-transform: uppercase;
}

.brand-hero h1,
.about-copy h1 {
  max-width: 1180px;
  margin: 18px 0 0;
  font-family: Antonio, Impact, sans-serif;
  font-size: 11.4rem;
  line-height: 0.78;
  letter-spacing: 0;
  text-transform: uppercase;
}

.brand-statement {
  max-width: 1040px;
  margin: 26px 0 0;
  color: transparent;
  -webkit-text-stroke: 1.2px rgba(244, 242, 234, 0.8);
  font-family: Antonio, Impact, sans-serif;
  font-size: 4.6rem;
  line-height: 0.92;
  text-transform: uppercase;
}

.hero-lower {
  display: grid;
  grid-template-columns: minmax(280px, 520px) minmax(280px, 420px);
  gap: 38px;
  align-items: end;
  margin-top: 54px;
}

.hero-lower p {
  margin: 0;
  border-left: 1px solid var(--line-strong);
  padding-left: 18px;
  color: var(--muted);
  font-family: Spectral, Georgia, serif;
  font-size: 1.28rem;
  font-weight: 300;
  line-height: 1.42;
}

.studio-principles {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.studio-principles li {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  min-height: 58px;
  border-bottom: 1px solid var(--line);
  color: rgba(244, 242, 234, 0.82);
  font-size: 0.9rem;
  font-weight: 760;
  text-transform: uppercase;
}

.studio-principles span {
  color: var(--dim);
  font-size: 0.72rem;
}

.work-list {
  position: relative;
  z-index: 4;
  border-top: 1px solid var(--line);
  padding: 18px 0 46px;
}

.name-wall {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  border-left: 1px solid var(--line);
}

.name-wall a {
  position: relative;
  display: grid;
  min-height: 132px;
  align-content: space-between;
  border-right: 1px solid var(--line);
  padding: 15px 14px 16px;
  color: rgba(244, 242, 234, 0.88);
  background: rgba(255, 255, 255, 0.018);
  font-family: Antonio, Impact, sans-serif;
  font-size: 1.76rem;
  line-height: 0.92;
  text-transform: uppercase;
  transition:
    color 180ms ease,
    background 180ms ease,
    transform 180ms ease;
}

.name-wall a span {
  color: var(--dim);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 0.7rem;
  font-weight: 840;
}

.name-wall a::after {
  content: "In development";
  color: var(--dim);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 0.66rem;
  font-weight: 820;
  text-transform: uppercase;
  transform: translateY(4px);
  opacity: 0;
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.name-wall a[data-app-store="available"]::after {
  content: "App Store";
  color: var(--blue);
}

.name-wall a:hover,
.name-wall a:focus-visible {
  color: var(--green);
  background: rgba(214, 255, 115, 0.06);
  transform: translateY(-2px);
  outline: none;
}

.name-wall a:hover::after,
.name-wall a:focus-visible::after {
  opacity: 1;
  transform: translateY(0);
}

.about-page {
  display: grid;
  align-content: start;
  grid-template-rows: auto 1fr auto;
}

.about-copy {
  width: min(100%, 1060px);
  margin: 92px auto 0;
  padding-bottom: 96px;
}

.about-copy h1 {
  max-width: 1040px;
  margin-bottom: 48px;
  font-size: 5.8rem;
  line-height: 0.94;
}

.about-copy p:not(.section-label) {
  max-width: 760px;
  margin: 0 0 26px auto;
  color: var(--muted);
  font-family: Spectral, Georgia, serif;
  font-size: 1.5rem;
  font-weight: 300;
  line-height: 1.5;
}

.legal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid var(--line);
  padding: 18px 0 42px;
  color: var(--dim);
}

.legal-footer span,
.legal-footer p {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 760;
  text-transform: uppercase;
}

.legal-footer p {
  color: rgba(244, 242, 234, 0.5);
  text-align: right;
}

@keyframes grid-drift {
  from {
    background-position: 0 0;
  }

  to {
    background-position: 72px 72px;
  }
}

@keyframes field-sweep {
  0%,
  100% {
    transform: translateX(-72%);
  }

  50% {
    transform: translateX(72%);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

@media (max-width: 1180px) {
  .brand-hero h1 {
    font-size: 8.6rem;
  }

  .brand-statement {
    font-size: 3.7rem;
  }

  .hero-lower {
    grid-template-columns: minmax(280px, 1fr) minmax(260px, 360px);
  }

  .name-wall {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .name-wall a {
    min-height: 116px;
  }

  .about-copy h1 {
    font-size: 4.8rem;
  }
}

@media (max-width: 820px) {
  .site-frame {
    min-height: 100svh;
    overflow-y: visible;
    padding: 18px;
  }

  .site-header {
    align-items: flex-start;
  }

  .brand-lockup {
    gap: 9px;
    font-size: 0.9rem;
  }

  .brand-symbol {
    width: 30px;
    height: 30px;
  }

  .nav-links a {
    min-width: 67px;
    padding: 8px 10px;
    font-size: 0.72rem;
  }

  .brand-hero {
    min-height: auto;
    padding: 78px 0 42px;
  }

  .hero-kicker,
  .section-label {
    max-width: 100%;
    line-height: 1.35;
  }

  .brand-hero h1 {
    margin-top: 18px;
    font-size: 5.2rem;
    line-height: 0.84;
  }

  .brand-statement {
    max-width: 100%;
    margin-top: 24px;
    -webkit-text-stroke-width: 0.9px;
    font-size: 2.6rem;
    line-height: 0.98;
  }

  .hero-lower {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-top: 36px;
  }

  .hero-lower p {
    font-size: 1.14rem;
  }

  .work-list {
    padding-bottom: 58px;
  }

  .name-wall {
    grid-template-columns: 1fr;
    border-top: 1px solid var(--line);
  }

  .name-wall a {
    min-height: 82px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    font-size: 2rem;
  }

  .name-wall a::after {
    opacity: 1;
    transform: translateY(0);
  }

  .about-copy {
    margin-top: 74px;
  }

  .about-copy h1 {
    margin-bottom: 34px;
    font-size: 3.25rem;
    line-height: 0.95;
  }

  .about-copy p:not(.section-label) {
    margin-left: 0;
    font-size: 1.2rem;
  }

  .legal-footer {
    align-items: flex-start;
    flex-direction: column;
    padding-bottom: 56px;
  }

  .legal-footer p {
    text-align: left;
  }
}

@media (max-width: 430px) {
  .brand-hero h1 {
    font-size: 4.1rem;
  }

  .brand-statement {
    font-size: 2.15rem;
  }

  .about-copy h1 {
    font-size: 2.72rem;
  }
}
