:root {
  --bg: #07010d;
  --bg-soft: #12051c;
  --panel: rgba(255, 255, 255, 0.04);
  --line: rgba(255, 255, 255, 0.10);
  --text: #fff8ff;
  --muted: rgba(255, 244, 252, 0.72);
  --pink: #ff4fd8;
  --pink-soft: #ff8ce8;
  --violet: #8b5cff;
  --violet-soft: #b59dff;
  --cyan: #67f4ff;
  --shadow: 0 30px 80px rgba(255, 39, 180, 0.16);
  --radius: 28px;
  --max: 1380px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 15% 20%, rgba(255, 79, 216, 0.22), transparent 0 24%),
    radial-gradient(circle at 85% 18%, rgba(139, 92, 255, 0.18), transparent 0 26%),
    radial-gradient(circle at 60% 72%, rgba(103, 244, 255, 0.10), transparent 0 18%),
    linear-gradient(180deg, #09010f 0%, #06010b 32%, #09020d 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

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

body::before {
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(circle at center, black 40%, transparent 90%);
}

body::after {
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(255, 79, 216, 0.12), transparent 0 22%);
  z-index: -1;
  transition: background-position 0.12s linear;
}

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

button,
input,
textarea {
  font: inherit;
}

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

.site-shell {
  position: relative;
}

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cg fill='%23fff' fill-opacity='.04'%3E%3Ccircle cx='8' cy='11' r='1'/%3E%3Ccircle cx='48' cy='23' r='1'/%3E%3Ccircle cx='101' cy='15' r='1'/%3E%3Ccircle cx='77' cy='62' r='1'/%3E%3Ccircle cx='28' cy='80' r='1'/%3E%3Ccircle cx='98' cy='100' r='1'/%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.25;
  mix-blend-mode: soft-light;
  z-index: 20;
}

.container {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 18px 0;
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 1, 13, 0.92), rgba(7, 1, 13, 0.56));
  backdrop-filter: blur(20px);
  mask-image: linear-gradient(180deg, black 65%, transparent 100%);
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

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

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  position: relative;
  background:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,0.55), transparent 0 32%),
    conic-gradient(from 180deg, var(--pink), var(--violet), var(--cyan), var(--pink));
  box-shadow: 0 0 0 1px rgba(255,255,255,0.12), 0 0 32px rgba(255,79,216,0.35);
}

.brand-mark::after {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  background: rgba(7, 1, 13, 0.92);
}

.brand-text {
  display: grid;
  gap: 2px;
}

.brand-eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--muted);
}

.brand-name {
  font-size: 1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.header-nav a {
  position: relative;
  font-size: 0.92rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.88);
}

.header-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 1px;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, transparent, var(--pink), var(--cyan), transparent);
  transition: transform 0.25s ease;
}

.header-nav a:hover::after,
.header-nav a.is-active::after {
  transform: scaleX(1);
}

.header-cta,
.inline-link,
.contact-action,
.project-link,
.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.header-cta,
.contact-action {
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.12);
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}

.inline-link,
.project-link {
  font-weight: 600;
  color: var(--text);
}

.inline-link::after,
.project-link::after,
.contact-action::after,
.header-cta::after {
  content: "↗";
  font-size: 0.95em;
  transform: translateY(-1px);
}

main {
  position: relative;
  z-index: 2;
}

section {
  position: relative;
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 150px 0 80px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  gap: 32px;
  align-items: center;
}

.hero-copy {
  position: relative;
}

.eyebrow {
  margin: 0 0 20px;
  font-size: 0.78rem;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--pink-soft);
}

.hero h1,
.page-hero h1 {
  margin: 0;
  font-size: clamp(4.4rem, 12vw, 9.2rem);
  line-height: 0.92;
  letter-spacing: -0.06em;
  font-weight: 800;
}

.hero h1 span,
.page-hero h1 span {
  display: block;
}

.hero-subline,
.page-subline {
  margin: 24px 0 0;
  max-width: 640px;
  font-size: clamp(1.02rem, 1.7vw, 1.32rem);
  line-height: 1.65;
  color: var(--muted);
}

.hero-actions,
.page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 18px;
  margin-top: 38px;
}

.hero-metrics {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 48px;
}

.metric {
  display: grid;
  gap: 8px;
}

.metric strong {
  font-size: clamp(1.9rem, 5vw, 3rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.metric span {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.76rem;
}

.hero-stage {
  position: relative;
  min-height: 620px;
}

.hero-orbit {
  position: absolute;
  inset: 0;
}

.orbit-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.02);
}

.orbit-ring.one {
  inset: 10% 12%;
}

.orbit-ring.two {
  inset: 22% 0 0 18%;
}

.orbit-ring.three {
  inset: 6% 28% 18% 0;
}

.floating-word {
  position: absolute;
  font-size: clamp(2rem, 5.8vw, 4.8rem);
  font-weight: 800;
  letter-spacing: -0.08em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,0.25);
  text-transform: uppercase;
  mix-blend-mode: screen;
}

.floating-word em {
  font-style: normal;
  color: rgba(255,255,255,0.12);
  -webkit-text-stroke: 0;
}

.floating-word.w1 { top: 5%; left: 5%; }
.floating-word.w2 { top: 18%; right: 0; }
.floating-word.w3 { left: 10%; bottom: 24%; }
.floating-word.w4 { right: 10%; bottom: 12%; }
.floating-word.w5 { left: 38%; top: 42%; }
.floating-word.w6 { right: 22%; top: 62%; }

.hero-core {
  position: absolute;
  inset: 50% auto auto 50%;
  width: min(68vw, 380px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 35%, rgba(255,255,255,0.78), transparent 0 14%),
    radial-gradient(circle at 50% 50%, rgba(255,79,216,0.34), transparent 0 36%),
    conic-gradient(from 90deg, rgba(255,79,216,0.65), rgba(139,92,255,0.55), rgba(103,244,255,0.34), rgba(255,79,216,0.65));
  filter: blur(0.2px);
  box-shadow: 0 0 80px rgba(255,79,216,0.25), 0 0 160px rgba(139,92,255,0.16);
}

.hero-core::before,
.hero-core::after {
  content: "";
  position: absolute;
  inset: 14%;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.18);
}

.hero-core::after {
  inset: 28%;
  background: rgba(6, 1, 11, 0.9);
  border-color: rgba(255,255,255,0.08);
}

.hero-core span {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  text-align: center;
  padding-top: 6px;
  z-index: 2;
}

.hero-core strong {
  display: block;
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  line-height: 0.96;
  letter-spacing: -0.08em;
}

.hero-core small {
  display: block;
  margin-top: 12px;
  font-size: 0.76rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--muted);
}

.ribbon-wrap {
  position: relative;
  padding: 14px 0;
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(8px);
}

.ribbon {
  display: flex;
  width: max-content;
  gap: 28px;
  animation: ticker 26s linear infinite;
  font-size: clamp(1rem, 2vw, 1.28rem);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.ribbon span {
  color: rgba(255,255,255,0.84);
}

.ribbon b {
  color: var(--pink-soft);
  font-weight: 700;
}

@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.section-intro {
  padding: 120px 0 34px;
}

.section-label {
  margin: 0 0 12px;
  color: var(--pink-soft);
  text-transform: uppercase;
  letter-spacing: 0.32em;
  font-size: 0.74rem;
}

.section-title {
  margin: 0;
  font-size: clamp(2.6rem, 6vw, 5rem);
  line-height: 0.96;
  letter-spacing: -0.06em;
}

.section-lead {
  max-width: 760px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.8;
}

.editorial-grid {
  padding: 20px 0 120px;
  display: grid;
  gap: 52px;
}

.editorial-row {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr) minmax(260px, 0.68fr);
  gap: 28px;
  padding: 34px 0;
  border-top: 1px solid rgba(255,255,255,0.10);
  align-items: start;
}

.editorial-row:last-child {
  border-bottom: 1px solid rgba(255,255,255,0.10);
}

.editorial-index {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 0.9;
  letter-spacing: -0.08em;
  font-weight: 800;
  color: rgba(255,255,255,0.16);
}

.editorial-content h3,
.project-copy h3,
.story-copy h3,
.contact-strip h3 {
  margin: 0;
  font-size: clamp(1.9rem, 3vw, 3rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.editorial-content p,
.project-copy p,
.story-copy p,
.contact-strip p,
.manifesto p,
.bio-flow p,
.process-flow p,
.stack-copy p {
  margin: 16px 0 0;
  color: var(--muted);
  line-height: 1.8;
  font-size: 1.02rem;
}

.editorial-side {
  color: rgba(255,255,255,0.82);
  font-size: 0.94rem;
  line-height: 1.8;
}

.editorial-side strong,
.mini-title {
  display: block;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 0.72rem;
  color: var(--pink-soft);
}

.highlight-line {
  display: flex;
  align-items: baseline;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 26px;
  color: var(--text);
}

.highlight-line span {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.78rem;
}

.highlight-line strong {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.sticky-stack {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  gap: 40px;
  padding: 30px 0 130px;
  align-items: start;
}

.stack-copy {
  position: sticky;
  top: 110px;
}

.stack-stream {
  display: grid;
  gap: 10px;
}

.word-stream {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  padding: 16px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.word-stream:last-child {
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.word-stream .word {
  font-size: clamp(2.8rem, 7vw, 6.8rem);
  line-height: 0.88;
  font-weight: 800;
  letter-spacing: -0.08em;
  text-transform: uppercase;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,0.28);
  transition: transform 0.25s ease, color 0.25s ease, -webkit-text-stroke-color 0.25s ease;
}

.word-stream .word:hover {
  transform: translateY(-6px);
  color: rgba(255,255,255,0.95);
  -webkit-text-stroke-color: transparent;
}

.word-stream .hint {
  color: rgba(255,255,255,0.48);
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.72rem;
}

.story-section,
.contact-section,
.project-section,
.bio-section,
.process-section,
.stack-page-section,
.about-page-section {
  padding: 140px 0 60px;
}

.page-hero {
  min-height: 72vh;
  display: flex;
  align-items: end;
  padding: 170px 0 60px;
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.62fr);
  gap: 32px;
  align-items: end;
}

.page-side-note {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.8;
}

.bio-flow,
.process-flow {
  display: grid;
  gap: 26px;
}

.bio-line,
.process-line,
.contact-strip,
.project-row,
.story-row {
  border-top: 1px solid rgba(255,255,255,0.10);
  padding: 28px 0;
}

.bio-line:last-child,
.process-line:last-child,
.contact-strip:last-child,
.project-row:last-child,
.story-row:last-child {
  border-bottom: 1px solid rgba(255,255,255,0.10);
}

.story-row,
.project-row,
.contact-strip {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr) minmax(220px, 0.42fr);
  gap: 28px;
  align-items: start;
}

.row-kicker {
  color: rgba(255,255,255,0.22);
  font-weight: 800;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  letter-spacing: -0.06em;
}

.project-tags,
.line-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin-top: 18px;
}

.project-tags span,
.line-tags span,
.contact-meta span {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: rgba(255,255,255,0.72);
}

.project-meta,
.contact-meta {
  color: rgba(255,255,255,0.82);
  line-height: 1.8;
  font-size: 0.95rem;
}

.filters {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.filter-chip {
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.75rem;
  cursor: pointer;
}

.filter-chip::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.filter-chip.is-active,
.filter-chip:hover {
  color: var(--text);
}

.filter-chip.is-active::before,
.filter-chip:hover::before {
  transform: scale(1.2);
  background: var(--pink);
  box-shadow: 0 0 14px rgba(255,79,216,0.55);
}

.manifesto {
  padding: 0 0 110px;
}

.manifesto-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.64fr);
  gap: 32px;
  align-items: start;
}

.manifesto-quote {
  font-size: clamp(2.2rem, 5vw, 4.8rem);
  line-height: 0.96;
  letter-spacing: -0.07em;
  margin: 0;
}

.manifesto-side {
  color: var(--muted);
  line-height: 1.8;
}

.contact-panel {
  padding: 20px 0 110px;
}

.contact-heading {
  font-size: clamp(3rem, 6vw, 6.6rem);
  line-height: 0.92;
  letter-spacing: -0.07em;
  margin: 0 0 22px;
}

.contact-sub {
  max-width: 720px;
  color: var(--muted);
  line-height: 1.8;
  margin: 0;
}

.contact-links {
  margin-top: 42px;
  display: grid;
}

.site-footer {
  position: relative;
  margin-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 28px 0 36px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  align-items: center;
}

.footer-copy,
.footer-links {
  color: rgba(255,255,255,0.62);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
}

.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-links a:hover {
  color: var(--text);
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

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

.project-row[hidden] {
  display: none;
}

.not-found {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 120px 0 80px;
}

.not-found-inner {
  width: min(calc(100% - 40px), 920px);
}

.not-found-code {
  font-size: clamp(5rem, 16vw, 12rem);
  line-height: 0.85;
  letter-spacing: -0.08em;
  margin: 0;
}

.not-found p {
  max-width: 620px;
  color: var(--muted);
  line-height: 1.8;
  margin: 20px 0 0;
}

@media (max-width: 1080px) {
  .hero-grid,
  .page-hero-grid,
  .sticky-stack,
  .manifesto-grid,
  .editorial-row,
  .story-row,
  .project-row,
  .contact-strip {
    grid-template-columns: 1fr;
  }

  .hero-stage {
    min-height: 500px;
  }

  .stack-copy {
    position: relative;
    top: 0;
  }

  .row-kicker,
  .editorial-index {
    order: -1;
  }
}

@media (max-width: 760px) {
  .site-header {
    padding: 14px 0;
  }

  .header-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .header-nav {
    gap: 14px;
    justify-content: flex-start;
  }

  .hero,
  .page-hero {
    padding-top: 180px;
  }

  .hero-stage {
    min-height: 420px;
  }

  .floating-word {
    font-size: clamp(1.6rem, 8vw, 3.4rem);
  }

  .hero-core {
    width: min(82vw, 320px);
  }

  .hero-metrics {
    gap: 18px;
  }

  .container {
    width: min(calc(100% - 26px), var(--max));
  }

  .editorial-grid,
  .contact-panel,
  .section-intro,
  .story-section,
  .project-section,
  .about-page-section,
  .stack-page-section,
  .contact-section,
  .bio-section,
  .process-section {
    padding-bottom: 78px;
  }
}
