:root {
  --bg: #131121;
  --surface-1: #1a1630;
  --surface-2: #151126;
  --surface-3: #110d1f;
  --surface-4: #19142d;
  --surface-5: #100c1c;
  --surface-6: #171327;
  --footer: #0d0a18;
  --text: #f6f2ec;
  --muted: #c0b9d4;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --cyan: #74efee;
  --violet: #7e61e7;
  --shell: min(1240px, calc(100vw - 48px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: "Manrope", system-ui, sans-serif;
  overflow-x: hidden;
}

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

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

button {
  font: inherit;
}

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

.page {
  background-image:
    radial-gradient(circle at 16% 18%, rgba(255, 255, 255, 0.06) 0 1px, transparent 1.4px),
    radial-gradient(circle at 72% 30%, rgba(116, 239, 238, 0.12) 0 1px, transparent 1.4px),
    radial-gradient(circle at 62% 72%, rgba(126, 97, 231, 0.16) 0 1px, transparent 1.5px);
  background-size: 260px 260px, 340px 340px, 320px 320px;
}

.band {
  position: relative;
  width: 100%;
}

.band--hero {
  background: var(--surface-1);
}

.band--about {
  background: var(--surface-2);
}

.band--projects {
  background: var(--surface-3);
}

.band--notes {
  background: var(--surface-4);
}

.band--contact {
  background: var(--surface-5);
}

.site-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(12, 10, 21, 0.82);
  backdrop-filter: blur(16px);
}

.site-header__shell {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 82px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand img {
  width: 56px;
}

.brand strong,
.brand span {
  display: block;
}

.brand strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1rem;
  line-height: 1;
}

.brand span {
  margin-top: 0.36rem;
  color: var(--muted);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.site-nav {
  justify-self: center;
  display: inline-flex;
  align-items: center;
  gap: 32px;
}

.site-nav a {
  font-size: 1rem;
  font-weight: 700;
  transition: color 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--cyan);
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 0;
  background: transparent;
  color: var(--text);
  align-items: center;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.hero-seam {
  background:
    linear-gradient(180deg, rgba(12, 10, 21, 0.45) 0%, rgba(26, 22, 48, 0) 100%);
}

.hero-seam__shell {
  position: relative;
  height: 52px;
}

.hero-seam__line {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background:
    linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.05) 14%, rgba(255, 255, 255, 0.12) 50%, rgba(255, 255, 255, 0.05) 86%, transparent 100%);
  transform: translateY(-50%);
}

.hero-seam__mark {
  position: absolute;
  left: 50%;
  top: 50%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 18px;
  background: var(--surface-1);
  transform: translate(-50%, -50%);
}

.hero-seam__mark span {
  display: block;
  border-radius: 999px;
  background: var(--cyan);
  box-shadow: 0 0 16px rgba(116, 239, 238, 0.28);
}

.hero-seam__mark span:nth-child(1),
.hero-seam__mark span:nth-child(3) {
  width: 4px;
  height: 4px;
  opacity: 0.65;
}

.hero-seam__mark span:nth-child(2) {
  width: 40px;
  height: 2px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(300px, 0.92fr) minmax(360px, 1.08fr);
  align-items: center;
  gap: 48px;
  min-height: auto;
  padding: 56px 0 72px;
}

.hero__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 440px;
}

.hero__stars {
  position: absolute;
  inset: 8% 10%;
  background-image:
    radial-gradient(circle at 12% 42%, rgba(126, 97, 231, 0.75) 0 2px, transparent 2.2px),
    radial-gradient(circle at 76% 26%, rgba(116, 239, 238, 0.58) 0 2px, transparent 2.2px),
    radial-gradient(circle at 28% 72%, rgba(116, 239, 238, 0.4) 0 1.5px, transparent 1.7px),
    radial-gradient(circle at 86% 66%, rgba(126, 97, 231, 0.7) 0 2px, transparent 2.2px);
  background-repeat: no-repeat;
  opacity: 0.6;
}

.hero__yeti {
  position: relative;
  width: min(100%, 470px);
  z-index: 1;
}

.hero__copy {
  max-width: 34rem;
}

.eyebrow,
.section-label {
  margin: 0 0 18px;
  color: var(--cyan);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero__logo {
  width: min(100%, 510px);
}

.hero__lead,
.about__intro p,
.projects__intro p,
.contact__copy p {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.72;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  font-weight: 800;
  transition: transform 180ms ease, color 180ms ease, border-color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button--primary {
  color: #08131b;
  background: var(--cyan);
  border-color: transparent;
}

.button--ghost {
  color: var(--muted);
}

.button--ghost:hover,
.button--ghost:focus-visible {
  color: var(--cyan);
  border-color: rgba(116, 239, 238, 0.4);
}

.hero__queue {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 18px;
  align-items: center;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.hero__queue img {
  width: 88px;
}

.hero__queue span,
.contact__status span,
.point span,
.project__meta span {
  display: block;
  margin-bottom: 8px;
  color: var(--cyan);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero__queue strong,
.contact__status strong,
.project__meta strong {
  display: block;
  font-size: 0.98rem;
  line-height: 1.55;
}

.signal-seam {
  position: relative;
  height: 84px;
}

.signal-seam--hero-about {
  background: linear-gradient(180deg, var(--surface-1) 0%, var(--surface-2) 100%);
}

.signal-seam--about-projects {
  background: linear-gradient(180deg, var(--surface-2) 0%, var(--surface-3) 100%);
}

.signal-seam--projects-notes {
  background: linear-gradient(180deg, var(--surface-3) 0%, var(--surface-4) 100%);
}

.signal-seam--notes-contact {
  background: linear-gradient(180deg, var(--surface-4) 0%, var(--surface-5) 100%);
}

.signal-seam__line {
  position: absolute;
  inset: 50% 0 auto;
  height: 1px;
  background:
    linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.06) 12%, rgba(255, 255, 255, 0.12) 50%, rgba(255, 255, 255, 0.06) 88%, transparent 100%);
}

.signal-seam__mark {
  position: absolute;
  left: 50%;
  top: 50%;
  display: flex;
  align-items: center;
  gap: 12px;
  transform: translate(-50%, -50%);
}

.signal-seam__mark span {
  display: block;
  border-radius: 999px;
  background: var(--cyan);
  box-shadow: 0 0 16px rgba(116, 239, 238, 0.35);
}

.signal-seam__mark span:nth-child(1),
.signal-seam__mark span:nth-child(3) {
  width: 6px;
  height: 6px;
  opacity: 0.55;
}

.signal-seam__mark span:nth-child(2) {
  width: 54px;
  height: 2px;
}

.about,
.projects,
.notes,
.contact {
  padding: 88px 0;
}

.about {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 48px;
}

.about__intro h2,
.projects__intro h2,
.notes__intro h2,
.contact__copy h2 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2.2rem, 4vw, 4.5rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.about__support {
  display: grid;
  gap: 32px;
  align-content: start;
}

.signal-lockup {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.signal-lockup img:first-child {
  width: 84px;
}

.signal-lockup img:last-child {
  width: min(100%, 280px);
}

.signal-profile {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 24px;
  align-items: center;
}

.signal-profile__badge {
  width: 140px;
}

.signal-profile h3 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.4rem;
  line-height: 1.12;
}

.signal-profile p:last-child {
  margin-top: 14px;
  color: var(--muted);
}

.service-list,
.project-list,
.note-list {
  display: grid;
}

.service-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  padding: 32px 0 88px;
}

.service {
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.service strong,
.note strong,
.project h3 {
  display: block;
  margin-bottom: 8px;
}

.service p,
.note p,
.project p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.projects__intro {
  max-width: 44rem;
  padding-bottom: 30px;
}

.project-list {
  gap: 0;
}

.project {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) minmax(200px, 0.42fr);
  gap: 24px;
  padding: 26px 0;
  border-top: 1px solid var(--line);
}

.project__index {
  color: rgba(255, 255, 255, 0.42);
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.48rem;
}

.project h3 {
  margin: 0 0 10px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.42rem;
}

.project__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
}

.project__tags li {
  color: var(--text);
  font-size: 0.9rem;
}

.project__meta {
  display: grid;
  gap: 16px;
}

.notes {
  display: grid;
  gap: 30px;
}

.notes__intro {
  max-width: 38rem;
}

.note-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.note {
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.8fr);
  gap: 56px;
  align-items: start;
}

.contact__link {
  display: inline-block;
  margin-top: 28px;
  color: var(--cyan);
  font-size: 1.08rem;
  font-weight: 800;
}

.contact__meta {
  margin-top: 10px;
}

.contact__visual {
  padding-left: 32px;
  border-left: 1px solid var(--line);
}

.contact__badge {
  width: min(100%, 300px);
}

.contact__status {
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.site-footer {
  background: var(--footer);
  border-top: 1px solid var(--line);
}

.site-footer__shell {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 116px;
}

.site-footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 16px;
}

.site-footer__brand img:first-child {
  width: 60px;
}

.site-footer__brand img:last-child {
  width: min(240px, 48vw);
}

.site-footer p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

@media (max-width: 980px) {
  .hero,
  .about,
  .contact,
  .project,
  .service-list,
  .note-list {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 44px;
    padding-bottom: 56px;
  }

  .hero-seam__shell {
    height: 40px;
  }

  .hero__visual {
    min-height: 320px;
  }

  .contact__visual {
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid var(--line);
    padding-top: 24px;
  }
}

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

  .site-header__shell {
    grid-template-columns: auto auto;
    min-height: 74px;
    position: relative;
  }

  .nav-toggle {
    display: inline-flex;
    justify-self: end;
  }

  .site-nav {
    position: absolute;
    inset: calc(100% + 8px) 0 auto;
    display: grid;
    gap: 12px;
    padding: 16px;
    background: #120f1f;
    border: 1px solid var(--line);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
  }

  .page.is-nav-open .site-nav {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .hero {
    gap: 28px;
  }

  .hero__lead,
  .about__intro p,
  .projects__intro p,
  .contact__copy p {
    font-size: 1rem;
  }

  .hero__queue,
  .signal-profile {
    grid-template-columns: 1fr;
  }

  .about,
  .projects,
  .notes,
  .contact {
    padding: 68px 0;
  }

  .signal-seam {
    height: 68px;
  }
}

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

  .button,
  .site-nav {
    transition: none !important;
  }
}
