/* ============================================
   NOVA — Digital Gravity
   ============================================ */

@font-face {
  font-family: "Space Grotesk";
  src: url("assets/fonts/space-grotesk-latin.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Instrument Serif";
  src: url("assets/fonts/instrument-serif-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Instrument Serif";
  src: url("assets/fonts/instrument-serif-italic-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

:root {
  --bg: #05050a;
  --bg-soft: #0a0a13;
  --ink: #f2efe9;
  --muted: #9696a6;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.18);
  --violet: #7c5cff;
  --cyan: #3df0d0;
  --pink: #ff5ea8;
  --shell: min(1280px, calc(100vw - 3rem));
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.33, 1, 0.68, 1);
  --font-sans: "Space Grotesk", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-serif: "Instrument Serif", "Times New Roman", serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100svh;
  background:
    radial-gradient(1100px 760px at 82% -8%, rgba(124, 92, 255, 0.16), transparent 62%),
    radial-gradient(900px 700px at 4% 28%, rgba(61, 240, 208, 0.07), transparent 60%),
    var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-weight: 400;
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection {
  background: rgba(124, 92, 255, 0.45);
  color: #fff;
}

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

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 4px;
  border-radius: 4px;
}

a:focus-visible,
button:focus-visible {
  border-radius: 99px;
}

h1, h2, h3, p, ul {
  margin: 0;
}

ul {
  padding: 0;
  list-style: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
}

svg {
  display: block;
}

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

section[id] {
  scroll-margin-top: 96px;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg);
}
::-webkit-scrollbar-thumb {
  background: #23233a;
  border-radius: 99px;
  border: 3px solid var(--bg);
}
::-webkit-scrollbar-thumb:hover {
  background: #34345a;
}

/* ============================================
   Loader
   ============================================ */

.loader {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 2.4rem;
  background: #05050a;
  transition: opacity 0.9s var(--ease), visibility 0.9s;
}

.loader.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader__mark {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.loader__orb {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: conic-gradient(from 180deg, var(--cyan), var(--violet), var(--pink), var(--cyan));
  box-shadow: 0 0 34px rgba(124, 92, 255, 0.55);
  animation: spin 3.2s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.loader__name {
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.42em;
  text-indent: 0.42em;
}

.loader__bar {
  width: min(320px, 62vw);
  height: 1px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.loader__bar span {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--cyan), var(--violet), var(--pink));
  box-shadow: 0 0 12px rgba(124, 92, 255, 0.8);
  transition: width 0.25s linear;
}

.loader__meta {
  display: flex;
  justify-content: space-between;
  width: min(320px, 62vw);
  font-size: 0.62rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

/* ============================================
   Atmosphere layers
   ============================================ */

.grain {
  position: fixed;
  inset: 0;
  z-index: 80;
  pointer-events: none;
  opacity: 0.035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.spotlight {
  position: fixed;
  top: 0;
  left: 0;
  width: 720px;
  height: 720px;
  margin: -360px 0 0 -360px;
  z-index: 0;
  pointer-events: none;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 92, 255, 0.09), transparent 68%);
  will-change: transform;
  opacity: 0;
  transition: opacity 1s var(--ease);
}

body.is-ready .spotlight {
  opacity: 1;
}

/* ============================================
   Cursor
   ============================================ */

.cursor-dot,
.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 400;
  pointer-events: none;
  border-radius: 50%;
  opacity: 0;
}

.cursor-dot {
  width: 6px;
  height: 6px;
  background: var(--ink);
  mix-blend-mode: difference;
}

.cursor-ring {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  transition: width 0.35s var(--ease), height 0.35s var(--ease),
    background-color 0.35s var(--ease), border-color 0.35s var(--ease);
}

body.cursor-active .cursor-dot,
body.cursor-active .cursor-ring {
  opacity: 1;
}

body.cursor-active .cursor-ring.is-hover {
  width: 64px;
  height: 64px;
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.6);
}

@media (pointer: fine) {
  body.cursor-active,
  body.cursor-active a,
  body.cursor-active button,
  body.cursor-active canvas {
    cursor: none;
  }
}

@media (pointer: coarse) {
  .cursor-dot,
  .cursor-ring {
    display: none;
  }
}

/* ============================================
   Nav
   ============================================ */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding-block: 1.35rem;
  border-bottom: 1px solid transparent;
  transition: background-color 0.5s var(--ease), border-color 0.5s var(--ease),
    padding 0.5s var(--ease), backdrop-filter 0.5s var(--ease);
}

.nav.is-scrolled {
  padding-block: 0.85rem;
  background: rgba(5, 5, 10, 0.62);
  border-bottom-color: var(--line);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}

.brand__mark {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: conic-gradient(from 140deg, var(--cyan), var(--violet), var(--pink), var(--cyan));
  box-shadow: 0 0 16px rgba(124, 92, 255, 0.6);
  flex: none;
}

.brand__text {
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-indent: 0.32em;
}

.nav__links {
  display: flex;
  gap: 2.4rem;
}

.nav__links a {
  position: relative;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.3s ease;
}

.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, var(--cyan), var(--violet));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease);
}

.nav__links a:hover {
  color: var(--ink);
}

.nav__links a:hover::after {
  transform: scaleX(1);
}

.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.62rem 1.05rem;
  border: 1px solid var(--line);
  border-radius: 99px;
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #cfd0da;
  transition: border-color 0.3s ease, background-color 0.3s ease, color 0.3s ease;
}

.nav__cta:hover {
  border-color: rgba(61, 240, 208, 0.45);
  background: rgba(61, 240, 208, 0.06);
  color: var(--ink);
}

.nav__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 0 rgba(61, 240, 208, 0.55);
  animation: pulse 2.4s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(61, 240, 208, 0.5); }
  70% { box-shadow: 0 0 0 8px rgba(61, 240, 208, 0); }
  100% { box-shadow: 0 0 0 0 rgba(61, 240, 208, 0); }
}

/* ============================================
   Buttons
   ============================================ */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1rem 1.6rem;
  border-radius: 99px;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  white-space: nowrap;
  will-change: transform;
  transition: background-color 0.4s var(--ease), color 0.4s var(--ease),
    border-color 0.4s var(--ease), box-shadow 0.4s var(--ease),
    transform 0.35s var(--ease);
}

.btn__arrow {
  font-size: 0.95rem;
  line-height: 1;
  transition: transform 0.4s var(--ease);
}

.btn:hover .btn__arrow {
  transform: translate(3px, -3px);
}

.btn--ghost {
  border: 1px solid var(--line-strong);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(6px);
}

.btn--ghost:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: #07070d;
}

.btn--solid {
  background: linear-gradient(110deg, var(--cyan), var(--violet) 52%, var(--pink));
  color: #07060d;
  font-weight: 600;
  box-shadow: 0 14px 44px -14px rgba(124, 92, 255, 0.85);
}

.btn--solid:hover {
  box-shadow: 0 20px 60px -12px rgba(124, 92, 255, 1);
  filter: brightness(1.06);
}

/* ============================================
   Hero
   ============================================ */

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
}

.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0;
  transition: opacity 1.4s var(--ease);
  touch-action: pan-y;
}

body.is-ready .hero__canvas {
  opacity: 1;
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100svh;
  padding-block: clamp(7.5rem, 14vh, 10rem) clamp(2rem, 5vh, 3rem);
  pointer-events: none;
}

.hero__inner a,
.hero__inner button {
  pointer-events: auto;
}

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

.slash {
  margin-inline: 0.5rem;
  color: rgba(255, 255, 255, 0.22);
}

.hero__top {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.9s var(--ease) 0.35s, transform 0.9s var(--ease) 0.35s;
}

body.is-ready .hero__top {
  opacity: 1;
  transform: none;
}

.hero__title {
  margin-block: auto;
  padding-block: 2rem;
  font-size: clamp(3.9rem, 13vw, 11rem);
  font-weight: 500;
  line-height: 0.85;
  letter-spacing: -0.05em;
  text-shadow: 0 20px 60px rgba(5, 5, 10, 0.65);
}

.hero__title .line {
  display: block;
  overflow: hidden;
  padding-block: 0.06em 0.22em;
  margin-block-end: -0.22em;
}

.hero__title .line > span {
  display: inline-block;
  transform: translateY(115%);
  transition: transform 1.3s var(--ease);
}

body.is-ready .hero__title .line > span {
  transform: translateY(0);
}

body.is-ready .hero__title .line:nth-child(1) > span {
  transition-delay: 0.1s;
}

body.is-ready .hero__title .line:nth-child(2) > span {
  transition-delay: 0.22s;
}

.hero__title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.02em;
  background: linear-gradient(100deg, var(--cyan) 0%, var(--violet) 48%, var(--pink) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-right: 0.04em;
}

.accent-dot {
  display: inline-block;
  width: 0.13em;
  height: 0.13em;
  margin-left: 0.06em;
  border-radius: 50%;
  background: linear-gradient(140deg, var(--cyan), var(--pink));
  box-shadow: 0 0 0.4em rgba(124, 92, 255, 0.8);
  vertical-align: baseline;
}

.hero__bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 1s var(--ease) 0.55s, transform 1s var(--ease) 0.55s;
}

body.is-ready .hero__bottom {
  opacity: 1;
  transform: none;
}

.hero__lede {
  max-width: 34ch;
  font-size: clamp(0.95rem, 1.15vw, 1.1rem);
  line-height: 1.65;
  color: #b9b9c6;
}

.hero__hud {
  position: absolute;
  right: 3rem;
  bottom: 31%;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.58rem;
  letter-spacing: 0.22em;
  color: rgba(255, 255, 255, 0.5);
  font-variant-numeric: tabular-nums;
  opacity: 0;
  transition: opacity 1.2s var(--ease) 1s;
}

body.is-ready .hero__hud {
  opacity: 1;
}

.hero__hud-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
  animation: blink 2s steps(2, start) infinite;
}

@keyframes blink {
  50% { opacity: 0.2; }
}

.hero__hud-sep {
  color: rgba(255, 255, 255, 0.2);
}

.scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 1.4rem;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.54rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.34);
  opacity: 0;
  transition: opacity 1.2s var(--ease) 1.2s;
}

body.is-ready .scroll-hint {
  opacity: 1;
}

.scroll-hint i {
  width: 1px;
  height: 34px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.45), transparent);
  animation: drop 2.2s var(--ease-soft) infinite;
}

@keyframes drop {
  0% { transform: scaleY(0); transform-origin: top; opacity: 0; }
  35% { transform: scaleY(1); transform-origin: top; opacity: 1; }
  70% { transform: scaleY(1); transform-origin: bottom; opacity: 1; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}

/* ============================================
   Marquee
   ============================================ */

.marquee {
  position: relative;
  z-index: 4;
  overflow: hidden;
  padding-block: 1.4rem;
  border-block: 1px solid var(--line);
  background: rgba(8, 8, 15, 0.55);
}

.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 34s linear infinite;
}

.marquee__track > span {
  display: inline-flex;
  align-items: center;
  gap: 2.6rem;
  padding-right: 2.6rem;
  font-size: clamp(1.1rem, 2.1vw, 1.75rem);
  letter-spacing: 0.02em;
  color: rgba(242, 239, 233, 0.72);
  white-space: nowrap;
}

.marquee__track i {
  font-style: normal;
  font-size: 0.7em;
  color: var(--violet);
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

.marquee:hover .marquee__track {
  animation-play-state: paused;
}

/* ============================================
   Shared section bits
   ============================================ */

.section-label {
  display: inline-flex;
  align-items: baseline;
  gap: 0.85rem;
  font-size: 0.63rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
}

.section-label__num {
  font-size: 0.6rem;
  color: var(--cyan);
  letter-spacing: 0.1em;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section-head__note {
  font-size: 0.8rem;
  color: var(--muted);
  letter-spacing: 0.02em;
}

/* Reveal */
[data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}

[data-reveal].is-in {
  opacity: 1;
  transform: none;
}

/* ============================================
   Manifesto
   ============================================ */

.manifesto {
  padding-block: clamp(6rem, 14vh, 11rem);
}

.manifesto__text {
  max-width: 20ch;
  margin-block: clamp(2rem, 5vw, 3.5rem) clamp(3.5rem, 7vw, 6rem);
  font-size: clamp(2rem, 5.4vw, 4.6rem);
  line-height: 1.06;
  letter-spacing: -0.035em;
  color: rgba(242, 239, 233, 0.88);
}

.manifesto__text em {
  font-family: var(--font-serif);
  font-style: italic;
  background: linear-gradient(100deg, var(--cyan), var(--violet) 55%, var(--pink));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--line);
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.stat__num {
  font-size: clamp(2.4rem, 4.6vw, 3.8rem);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}

.stat__num::after {
  content: "+";
  font-size: 0.42em;
  vertical-align: super;
  margin-left: 0.1em;
  color: var(--cyan);
}

.stat__label {
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ============================================
   Capabilities
   ============================================ */

.capabilities {
  padding-block: clamp(4rem, 9vh, 7rem);
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
  perspective: 1200px;
}

.card {
  --mx: 50%;
  --my: 50%;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2.6rem;
  min-height: 350px;
  padding: 1.6rem;
  border: 1px solid var(--line);
  border-radius: 20px;
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.008) 45%),
    rgba(10, 10, 18, 0.6);
  overflow: hidden;
  transform-style: preserve-3d;
  will-change: transform;
  transition: border-color 0.5s var(--ease), transform 0.5s var(--ease),
    box-shadow 0.5s var(--ease);
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(360px circle at var(--mx) var(--my), rgba(124, 92, 255, 0.16), transparent 65%);
  opacity: 0;
  transition: opacity 0.5s var(--ease);
  pointer-events: none;
}

.card:hover {
  border-color: var(--line-strong);
  box-shadow: 0 30px 70px -40px rgba(124, 92, 255, 0.6);
}

.card.is-tilting {
  transition: transform 0.1s linear, border-color 0.5s var(--ease),
    box-shadow 0.5s var(--ease);
}

.card:hover::before {
  opacity: 1;
}

.card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.card__num {
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.34);
}

.card__glyph {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--cyan);
  background: rgba(61, 240, 208, 0.04);
  transition: transform 0.6s var(--ease), border-color 0.4s ease;
}

.card__glyph svg {
  width: 24px;
  height: 24px;
}

.card:hover .card__glyph {
  transform: rotate(24deg);
  border-color: rgba(61, 240, 208, 0.4);
}

.card__body {
  margin-top: auto;
  transform: translateZ(26px);
}

.card__body h3 {
  font-size: clamp(1.35rem, 1.9vw, 1.7rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 0.7rem;
}

.card__body p {
  font-size: 0.87rem;
  line-height: 1.6;
  color: var(--muted);
  max-width: 32ch;
}

.card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  transform: translateZ(16px);
}

.card__tags li {
  padding: 0.34rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 99px;
  font-size: 0.58rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

/* ============================================
   Work
   ============================================ */

.work {
  padding-block: clamp(5rem, 11vh, 9rem);
}

.work__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
}

.work__card {
  display: block;
}

.work__art {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  isolation: isolate;
}

.work__art::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 90% at 50% 110%, rgba(0, 0, 0, 0.5), transparent 60%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
  opacity: 0.5;
  transition: opacity 0.6s ease;
}

.work__art--1 {
  background:
    radial-gradient(90% 70% at 20% 10%, rgba(255, 255, 255, 0.4), transparent 55%),
    linear-gradient(150deg, #241056 0%, #6f4dff 46%, #3df0d0 105%);
}

.work__art--2 {
  background:
    radial-gradient(80% 60% at 80% 0%, rgba(255, 220, 160, 0.55), transparent 55%),
    linear-gradient(150deg, #2b0822 0%, #ff3d8f 52%, #ffb26b 110%);
}

.work__art--3 {
  background:
    radial-gradient(90% 70% at 15% 85%, rgba(255, 255, 255, 0.28), transparent 55%),
    linear-gradient(150deg, #032a2c 0%, #12c7b4 48%, #6f4dff 115%);
}

.work__glyph {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(7rem, 15vw, 12rem);
  line-height: 1;
  color: rgba(255, 255, 255, 0.16);
  mix-blend-mode: overlay;
  transition: transform 1s var(--ease), color 0.8s var(--ease);
}

.work__year {
  position: absolute;
  top: 1rem;
  right: 1.1rem;
  z-index: 2;
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.65);
  mix-blend-mode: difference;
}

.work__card:hover .work__glyph {
  transform: scale(1.12) rotate(-4deg);
  color: rgba(255, 255, 255, 0.28);
}

.work__card:hover .work__art {
  border-color: rgba(255, 255, 255, 0.3);
}

.work__meta {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1rem;
}

.work__meta h3 {
  font-size: 1.12rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.work__meta p {
  margin-top: 0.2rem;
  font-size: 0.78rem;
  color: var(--muted);
}

.work__arrow {
  font-size: 1.05rem;
  color: var(--muted);
  transition: transform 0.45s var(--ease), color 0.45s ease;
}

.work__card:hover .work__arrow {
  transform: translate(4px, -4px);
  color: var(--cyan);
}

/* ============================================
   CTA
   ============================================ */

.cta {
  position: relative;
  overflow: hidden;
  padding-block: clamp(7rem, 16vh, 13rem);
  text-align: center;
  border-top: 1px solid var(--line);
}

.cta__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.2rem;
}

.cta__title {
  font-size: clamp(3.4rem, 10.5vw, 9rem);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: -0.05em;
}

.cta__title em {
  display: block;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  background: linear-gradient(100deg, var(--cyan), var(--violet) 50%, var(--pink));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-right: 0.06em;
}

.cta__glow {
  position: absolute;
  left: 50%;
  top: 62%;
  width: min(900px, 100vw);
  height: min(900px, 100vw);
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(124, 92, 255, 0.16), transparent 62%);
  pointer-events: none;
  z-index: 1;
  animation: breathe 9s ease-in-out infinite;
}

@keyframes breathe {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.85; }
  50% { transform: translate(-50%, -50%) scale(1.12); opacity: 1; }
}

/* ============================================
   Footer
   ============================================ */

.footer {
  border-top: 1px solid var(--line);
  padding-top: clamp(3rem, 6vw, 4.5rem);
  background: rgba(7, 7, 12, 0.6);
}

.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: clamp(3rem, 6vw, 4.5rem);
}

.footer__brand {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
}

.footer__brand p {
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.16em;
}

.footer__brand p span {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.footer__col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.68);
}

.footer__col a {
  transition: color 0.3s ease, transform 0.3s var(--ease);
}

.footer__col a:hover {
  color: var(--ink);
  transform: translateX(3px);
}

.footer__head {
  font-size: 0.58rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.4rem;
}

.footer__time {
  font-variant-numeric: tabular-nums;
  color: var(--ink);
  letter-spacing: 0.08em;
}

.footer__muted {
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.35);
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding-block: 1.4rem;
  border-top: 1px solid var(--line);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.38);
}

.footer__top {
  transition: color 0.3s ease;
}

.footer__top:hover {
  color: var(--cyan);
}

/* ============================================
   Responsive
   ============================================ */

@media (max-width: 960px) {
  .cards {
    grid-template-columns: 1fr 1fr;
  }
  .card:last-child {
    grid-column: 1 / -1;
  }
  .work__grid {
    grid-template-columns: 1fr 1fr;
  }
  .work__card:last-child {
    grid-column: 1 / -1;
  }
  .work__card:last-child .work__art {
    aspect-ratio: 16 / 9;
  }
  .footer__inner {
    grid-template-columns: 1.5fr 1fr 1fr;
  }
  .footer__col:last-child {
    grid-column: 1 / -1;
  }
  .hero__hud {
    display: none;
  }
}

@media (max-width: 760px) {
  :root {
    --shell: calc(100vw - 2rem);
  }
  .nav__links {
    display: none;
  }
  .hero__title {
    font-size: clamp(3.4rem, 17vw, 5.6rem);
  }
  .hero__bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 1.6rem;
  }
  .manifesto__text {
    max-width: 100%;
  }
  .stats {
    grid-template-columns: 1fr;
    gap: 1.6rem;
  }
  .stat {
    flex-direction: row;
    align-items: baseline;
    justify-content: space-between;
    padding-bottom: 1.2rem;
    border-bottom: 1px solid var(--line);
  }
  .stat:last-child {
    border-bottom: 0;
    padding-bottom: 0;
  }
  .cards,
  .work__grid {
    grid-template-columns: 1fr;
  }
  .card:last-child,
  .work__card:last-child {
    grid-column: auto;
  }
  .work__card:last-child .work__art {
    aspect-ratio: 4 / 5;
  }
  .work__art {
    aspect-ratio: 1 / 1;
  }
  .footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: 2.2rem;
  }
  .footer__brand {
    grid-column: 1 / -1;
  }
  .footer__col:last-child {
    grid-column: auto;
  }
  .footer__bottom {
    justify-content: flex-start;
  }
  .scroll-hint {
    display: none;
  }
}

@media (max-width: 420px) {
  .nav__cta span:not(.nav__dot) {
    display: none;
  }
  .nav__cta {
    padding: 0.55rem;
  }
  .footer__inner {
    grid-template-columns: 1fr;
  }
  .footer__col:last-child {
    grid-column: auto;
  }
}

/* ============================================
   Reduced motion
   ============================================ */

@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;
  }
  [data-reveal] {
    opacity: 1;
    transform: none;
  }
  .hero__title .line > span,
  .hero__top,
  .hero__bottom {
    opacity: 1;
    transform: none;
  }
}
