:root {
  /* DevangOS visual identity tokens */
  --bg: #08080a;
  --surface: #111115;
  --surface-elevated: #17171d;
  --border: rgba(255, 255, 255, 0.085);
  --border-strong: rgba(255, 255, 255, 0.18);

  --white: #ffffff;
  --champagne: #ede8d0;
  --muted: #a3a3af;
  --dim: #6c6c78;
  --citron: #f3ff6b;
  --citron-dim: rgba(243, 255, 107, 0.12);

  --font-display: "Imbue", Georgia, serif;
  --font-sans: "DM Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-hand: "Caveat", cursive;

  /* Custom motion curves (emil-design-eng) */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);

  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 26px;
  --container: 1180px;
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg);
  color: var(--white);
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  background-color: var(--bg);
  color: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  position: relative;
}

/* Toned-down Suno-style analog grunge grain */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 90;
  opacity: 0.085;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 260 260' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Wide, low-contrast Suno-style atmospheric grunge wash (no harsh orb) */
.ambient-bg {
  position: absolute;
  inset: 0 0 auto 0;
  height: 980px;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.ambient-bg__grunge {
  position: absolute;
  inset: -12% -10% 0 -10%;
  background: radial-gradient(
      ellipse 85% 58% at 50% 0%,
      rgba(237, 232, 208, 0.09) 0%,
      rgba(243, 255, 107, 0.055) 36%,
      rgba(166, 130, 74, 0.035) 62%,
      transparent 82%
    ),
    radial-gradient(
      ellipse 60% 45% at 78% 34%,
      rgba(243, 255, 107, 0.05) 0%,
      transparent 75%
    ),
    radial-gradient(
      ellipse 55% 45% at 18% 42%,
      rgba(237, 232, 208, 0.045) 0%,
      transparent 75%
    );
  filter: blur(28px);
}

main,
.nav,
.footer {
  position: relative;
  z-index: 1;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.citron {
  color: var(--citron);
}

.annotation {
  font-family: var(--font-hand);
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 1.1;
  color: var(--champagne);
  margin: 0 0 10px;
  letter-spacing: 0.01em;
}

/* Scroll & load reveal primitives (never scale(0)) */
.reveal {
  opacity: 0;
  transform: translateY(18px) scale(0.985);
  transition: opacity 520ms var(--ease-out), transform 520ms var(--ease-out);
}

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

.title-line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.04em;
}

.title-line > span {
  display: inline-block;
  transform: translateY(105%);
  opacity: 0;
  animation: titleRise 680ms var(--ease-out) forwards;
}

.title-line:nth-child(2) > span {
  animation-delay: 90ms;
}

@keyframes titleRise {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 13px 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 160ms var(--ease-out), background-color 180ms ease,
    border-color 180ms ease, color 180ms ease, box-shadow 200ms ease;
}

.btn:active {
  transform: scale(0.97);
}

.btn--citron,
.btn--citron:visited {
  background: var(--citron);
  color: #09090b;
  box-shadow: 0 8px 28px rgba(243, 255, 107, 0.16);
}

@media (hover: hover) and (pointer: fine) {
  .btn--citron:hover {
    background: #f8ff9b;
    color: #09090b;
    transform: translateY(-2px);
    box-shadow: 0 12px 34px rgba(243, 255, 107, 0.25);
  }
}

.btn--ghost,
.btn--ghost:visited {
  background: rgba(255, 255, 255, 0.04);
  color: var(--white);
  border-color: var(--border-strong);
  backdrop-filter: blur(8px);
}

@media (hover: hover) and (pointer: fine) {
  .btn--ghost:hover {
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(255, 255, 255, 0.34);
    transform: translateY(-2px);
  }
}

.btn--sm {
  padding: 9px 18px;
  font-size: 0.85rem;
}

.btn--icon {
  width: 48px;
  height: 48px;
  padding: 0;
}

@media (hover: hover) and (pointer: fine) {
  .btn--icon:hover {
    border-color: var(--citron);
    color: var(--citron);
  }
}

/* Nav (transparent at top, glass on scroll) */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color 220ms ease, backdrop-filter 220ms ease,
    border-color 220ms ease;
}

.nav.is-scrolled {
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(8, 8, 10, 0.78);
  border-bottom-color: var(--border);
}

.nav__inner {
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.nav__brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: var(--white);
}

.nav__wordmark {
  font-family: var(--font-display);
  font-size: 2.05rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav__links a:not(.btn) {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 150ms ease;
}

.nav__links a:not(.btn):hover {
  color: var(--white);
}

/* Hero */
.hero {
  padding: 56px 0 24px;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 420px);
  align-items: center;
  gap: 56px;
  padding-bottom: 24px;
}

.hero__scroll-wrap {
  display: flex;
  justify-content: center;
  padding: 4px 0 8px;
}

.scroll-cue {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: border-color 180ms ease, color 180ms ease,
    background-color 180ms ease, transform 180ms var(--ease-out);
  animation: scrollFloat 2.4s ease-in-out infinite;
}

@media (hover: hover) and (pointer: fine) {
  .scroll-cue:hover {
    color: var(--citron);
    border-color: rgba(243, 255, 107, 0.45);
    background: rgba(243, 255, 107, 0.06);
  }
}

.scroll-cue:active {
  transform: scale(0.94);
}

@keyframes scrollFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(5px);
  }
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(5.2rem, 11.2vw, 9.2rem);
  font-weight: 700;
  line-height: 0.84;
  letter-spacing: -0.015em;
  margin: 0 0 24px;
  text-transform: uppercase;
}

.hero__sub {
  font-size: 1.12rem;
  color: var(--muted);
  max-width: 470px;
  margin: 0 0 32px;
  line-height: 1.6;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero__socials {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  transition: color 160ms ease;
}

.social-link:hover {
  color: var(--citron);
}

.social-sep {
  color: var(--dim);
  font-size: 0.85rem;
}

/* 3D Layered Hero Deck */
.hero__stage {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero__stage-note {
  display: flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  margin-left: 28px;
  margin-bottom: 8px;
}

.hero__stage-note .annotation {
  margin: 0;
  font-size: 1.35rem;
}

.hero-deck {
  position: relative;
  width: min(372px, calc(74vh * 9 / 16));
}

.hero-deck__ghost {
  position: absolute;
  inset: 14px 0 -6px 0;
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #141418;
  opacity: 0.42;
  filter: blur(1.5px) brightness(0.65);
  pointer-events: none;
  transition: transform 380ms var(--ease-out), opacity 380ms ease;
}

.hero-deck__ghost img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-deck__ghost--left {
  transform: translateX(-44px) translateY(14px) rotate(-7deg) scale(0.88);
}

.hero-deck__ghost--right {
  transform: translateX(44px) translateY(18px) rotate(7deg) scale(0.88);
}

@media (hover: hover) and (pointer: fine) {
  .hero-deck:hover .hero-deck__ghost--left {
    transform: translateX(-58px) translateY(12px) rotate(-9deg) scale(0.89);
    opacity: 0.56;
  }

  .hero-deck:hover .hero-deck__ghost--right {
    transform: translateX(58px) translateY(16px) rotate(9deg) scale(0.89);
    opacity: 0.56;
  }
}

.phone-frame {
  position: relative;
  z-index: 2;
  width: 100%;
  aspect-ratio: 9 / 16;
  border-radius: 28px;
  overflow: hidden;
  background: #141418;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 36px 90px rgba(0, 0, 0, 0.78),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
  cursor: pointer;
  transition: transform 240ms var(--ease-out), box-shadow 260ms ease,
    border-color 260ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .phone-frame:hover {
    transform: translateY(-4px);
    border-color: rgba(243, 255, 107, 0.42);
  }
}

.phone-frame__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

.phone-frame__top {
  position: absolute;
  z-index: 5;
  top: 14px;
  left: 14px;
  right: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: none;
  transform: translateZ(1px);
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.pill--dark {
  background: rgba(8, 8, 10, 0.72);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
}

.phone-frame__controls {
  position: absolute;
  z-index: 6;
  inset: auto 0 0 0;
  padding: 40px 14px 12px;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(8, 8, 10, 0.72) 55%,
    rgba(8, 8, 10, 0.92) 100%
  );
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.phone-frame__bar-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.phone-frame__sound {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 13px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(8, 8, 10, 0.78);
  backdrop-filter: blur(12px);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 160ms var(--ease-out), border-color 180ms ease;
}

.phone-frame__sound:active {
  transform: scale(0.96);
}

.phone-frame__sound:hover {
  border-color: var(--citron);
}

.phone-frame__replay {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(8, 8, 10, 0.78);
  backdrop-filter: blur(12px);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 160ms var(--ease-out), border-color 180ms ease,
    color 180ms ease;
}

.phone-frame__replay:active {
  transform: scale(0.94);
}

.phone-frame__replay:hover {
  border-color: var(--citron);
  color: var(--citron);
}

.scrubber {
  display: flex;
  align-items: center;
  gap: 10px;
}

.scrubber__input {
  -webkit-appearance: none;
  appearance: none;
  flex: 1;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    var(--citron) var(--progress, 0%),
    rgba(255, 255, 255, 0.24) var(--progress, 0%)
  );
  outline: none;
  cursor: pointer;
  transition: height 150ms ease;
}

.scrubber__input:hover {
  height: 6px;
}

.scrubber__input::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--citron);
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
  cursor: pointer;
}

.scrubber__input::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border: none;
  border-radius: 50%;
  background: var(--citron);
  cursor: pointer;
}

.scrubber__time {
  font-size: 0.7rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.78);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.eq-bars {
  display: none;
  align-items: flex-end;
  gap: 2px;
  height: 12px;
}

.eq-bars i {
  display: block;
  width: 2.5px;
  height: 100%;
  border-radius: 2px;
  background: var(--citron);
  animation: eqPulse 720ms ease-in-out infinite alternate;
}

.eq-bars i:nth-child(2) {
  animation-delay: 180ms;
}

.eq-bars i:nth-child(3) {
  animation-delay: 340ms;
}

@keyframes eqPulse {
  from {
    transform: scaleY(0.3);
  }
  to {
    transform: scaleY(1);
  }
}

.phone-frame.is-unmuted .icon-muted {
  display: none;
}

.phone-frame.is-unmuted .eq-bars {
  display: inline-flex;
}

/* Kinetic Marquee */
.marquee {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
  overflow: hidden;
  mask-image: linear-gradient(
    90deg,
    transparent,
    #000 10%,
    #000 90%,
    transparent
  );
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent,
    #000 10%,
    #000 90%,
    transparent
  );
}

.marquee__track {
  display: flex;
  align-items: center;
  gap: 26px;
  width: max-content;
  animation: marqueeScroll 28s linear infinite;
}

.marquee__track span {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--dim);
  white-space: nowrap;
}

.marquee__track i {
  font-style: normal;
  color: var(--citron);
  opacity: 0.6;
}

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

/* Sections */
.section {
  padding: 96px 0;
  position: relative;
}

.section--bordered {
  border-top: none;
}

.section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 44px;
}

.section__head--center {
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(3.4rem, 6.2vw, 5rem);
  font-weight: 700;
  line-height: 0.9;
  margin: 0;
  text-transform: uppercase;
}

.section__note {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
}

.inline-link {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 150ms ease;
}

.inline-link:hover {
  color: var(--citron);
}

/* Filter pills */
.filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--muted);
  font-family: var(--font-sans);
  font-size: 0.86rem;
  font-weight: 500;
  cursor: pointer;
  transition: transform 150ms var(--ease-out), background-color 180ms ease,
    border-color 180ms ease, color 180ms ease;
}

.filter-btn:active {
  transform: scale(0.96);
}

.filter-btn:hover {
  color: var(--white);
  border-color: var(--border-strong);
}

.filter-btn.is-active {
  background: var(--citron);
  color: #09090b;
  border-color: var(--citron);
  font-weight: 600;
}

.filter-count {
  font-size: 0.78rem;
  opacity: 0.75;
}

/* 3D Coverflow Stage */
.section--stage {
  overflow: hidden;
}

.coverflow-wrap {
  position: relative;
  width: 100%;
  padding: 12px 0 28px;
  overflow-x: clip;
}

.coverflow-glow {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 540px;
  height: 540px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(243, 255, 107, 0.085) 0%,
    rgba(237, 232, 208, 0.025) 45%,
    transparent 70%
  );
  filter: blur(44px);
  pointer-events: none;
}

.coverflow {
  position: relative;
  width: 100%;
  height: 550px;
  perspective: 1400px;
  transform-style: preserve-3d;
  cursor: grab;
  user-select: none;
  touch-action: pan-y;
  outline: none;
}

.coverflow.is-dragging {
  cursor: grabbing;
}

.cf-slide {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 300px;
  aspect-ratio: 9 / 16;
  margin-left: -150px;
  margin-top: -266px;
  border-radius: 26px;
  overflow: hidden;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.7);
  will-change: transform, opacity;
  transition: transform 480ms var(--ease-drawer), opacity 420ms ease,
    border-color 260ms ease, box-shadow 360ms ease;
  cursor: pointer;
}

.cf-slide.is-active {
  border-color: rgba(243, 255, 107, 0.45);
  box-shadow: 0 36px 96px rgba(0, 0, 0, 0.85),
    0 0 0 1px rgba(243, 255, 107, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.coverflow.is-dragging .cf-slide {
  transition: none;
}

.cf-slide__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

.cf-slide__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.22) 0%,
    transparent 28%,
    transparent 65%,
    rgba(0, 0, 0, 0.58) 100%
  );
  pointer-events: none;
}

.cf-slide__top {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: none;
}

.cf-slide__play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(8, 8, 10, 0.72);
  backdrop-filter: blur(10px);
  color: var(--citron);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transform: scale(0.92);
  pointer-events: none;
  transition: transform 200ms var(--ease-out), opacity 200ms ease,
    background-color 180ms ease, color 180ms ease;
}

.cf-slide__play svg {
  margin-left: 3px;
}

.cf-slide.is-active .cf-slide__play {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.cf-slide.is-active:hover .cf-slide__play {
  transform: scale(1.07);
  background: var(--citron);
  color: #09090b;
  border-color: var(--citron);
}

.cf-slide.is-playing .cf-slide__play {
  opacity: 0;
  pointer-events: none;
}

.cf-slide__pause {
  position: absolute;
  bottom: 14px;
  left: 14px;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(8, 8, 10, 0.78);
  backdrop-filter: blur(10px);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.cf-slide.is-playing .cf-slide__pause {
  opacity: 1;
  pointer-events: auto;
}

/* Coverflow Footer Meta & Controls */
.coverflow-footer {
  max-width: 780px;
  margin: 12px auto 0;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.coverflow-meta {
  transition: opacity 200ms ease, filter 200ms ease;
}

.coverflow-meta.is-swapping {
  opacity: 0.45;
  filter: blur(2px);
}

.coverflow-meta__top {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}

.coverflow-meta__brand {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.coverflow-meta__cat {
  font-size: 0.84rem;
  color: var(--dim);
}

.coverflow-meta__hook {
  margin: 6px 0 0;
  font-size: 0.94rem;
  color: var(--muted);
  max-width: 520px;
}

.coverflow-nav {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.coverflow-counter {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--dim);
  font-variant-numeric: tabular-nums;
}

.coverflow-arrows {
  display: flex;
  gap: 8px;
}

.nav-circle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 160ms var(--ease-out), border-color 180ms ease,
    color 180ms ease, background-color 180ms ease;
}

.nav-circle:active {
  transform: scale(0.94);
}

@media (hover: hover) and (pointer: fine) {
  .nav-circle:hover {
    border-color: var(--citron);
    color: var(--citron);
    background: var(--surface-elevated);
  }
}

.coverflow-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}

.cf-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border-radius: 999px;
  border: none;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: width 260ms var(--ease-out), background-color 200ms ease;
}

.cf-dot.is-active {
  width: 28px;
  background: var(--citron);
}

/* Side Projects: Clean 3-Column Frameless Reel Showcase */
.filmstrip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  align-items: start;
}

.film-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.film-card__media {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  background: #000;
  aspect-ratio: 9 / 16;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
  cursor: pointer;
  will-change: transform;
  transition: transform 280ms var(--ease-out), border-color 220ms ease,
    box-shadow 280ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .film-card__media:hover {
    transform: translateY(-6px);
    border-color: rgba(243, 255, 107, 0.42);
    box-shadow: 0 32px 76px rgba(0, 0, 0, 0.78);
  }
}

.film-card.is-playing .film-card__media {
  border-color: rgba(243, 255, 107, 0.55);
}

.film-card__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.film-card__top {
  position: absolute;
  top: 14px;
  left: 14px;
  right: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: none;
}

.film-card__play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(8, 8, 10, 0.7);
  backdrop-filter: blur(10px);
  color: var(--citron);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 180ms var(--ease-out), background-color 180ms ease,
    opacity 180ms ease;
}

.film-card__play svg {
  margin-left: 3px;
}

@media (hover: hover) and (pointer: fine) {
  .film-card__media:hover .film-card__play {
    transform: scale(1.08);
    background: var(--citron);
    color: #09090b;
    border-color: var(--citron);
  }
}

.film-card.is-playing .film-card__play {
  opacity: 0;
  pointer-events: none;
}

.film-card__info {
  padding: 0 4px;
}

.film-card__title {
  margin: 0 0 4px;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.film-card__desc {
  margin: 0;
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.5;
}

/* Services (4-column Aceternity-style spotlight table) */
.services-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}

.services-head__rates {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--citron);
}

.services-table {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.service-col {
  position: relative;
  padding: 34px 26px;
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--border);
  overflow: hidden;
  transition: background-color 200ms ease;
}

.service-col::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  background: radial-gradient(
    280px circle at var(--mx, 50%) var(--my, 0%),
    rgba(243, 255, 107, 0.08),
    transparent 65%
  );
  transition: opacity 240ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .service-col:hover::before {
    opacity: 1;
  }

  .service-col:hover {
    background: var(--surface-elevated);
  }
}

.service-col:last-child {
  border-right: none;
}

.service-col__num {
  position: relative;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--dim);
  margin-bottom: 18px;
}

.service-col__name {
  position: relative;
  font-family: var(--font-sans);
  font-size: 1.38rem;
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 14px;
  letter-spacing: -0.02em;
}

.service-col__summary {
  position: relative;
  margin: 0 0 22px;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.55;
}

.service-col__list {
  position: relative;
  list-style: none;
  padding: 0;
  margin: auto 0 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.service-col__list li {
  display: flex;
  align-items: baseline;
  gap: 9px;
  font-size: 0.84rem;
  color: var(--muted);
}

.service-col__list li::before {
  content: "•";
  color: var(--dim);
  font-weight: 700;
}

.service-col__cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 24px;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid rgba(243, 255, 107, 0.35);
  background: rgba(243, 255, 107, 0.08);
  color: var(--citron);
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  align-self: flex-start;
  transition: opacity 200ms ease, transform 200ms var(--ease-out),
    background-color 180ms ease, color 180ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .service-col__cta {
    opacity: 0;
    transform: translateY(6px);
  }

  .service-col:hover .service-col__cta,
  .service-col:focus-within .service-col__cta {
    opacity: 1;
    transform: translateY(0);
  }

  .service-col__cta:hover {
    background: var(--citron);
    color: #09090b;
  }
}

/* Closing CTA + seamless bottom atmospheric glow */
.section--cta {
  padding: 96px 0 88px;
  overflow-x: clip;
}

.cta-glow {
  position: absolute;
  left: 50%;
  bottom: -90px;
  width: 100%;
  max-width: 900px;
  height: 460px;
  transform: translateX(-50%);
  background: radial-gradient(
    ellipse 70% 60% at 50% 85%,
    rgba(243, 255, 107, 0.11) 0%,
    rgba(237, 232, 208, 0.045) 42%,
    transparent 74%
  );
  filter: blur(42px);
  pointer-events: none;
}

.cta-box {
  position: relative;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.cta-box__title {
  font-family: var(--font-display);
  font-size: clamp(3.6rem, 7.6vw, 6.2rem);
  font-weight: 700;
  line-height: 0.88;
  margin: 0 0 20px;
  text-transform: uppercase;
}

.cta-box__sub {
  color: var(--muted);
  font-size: 1.02rem;
  margin: 0 auto 30px;
  max-width: 480px;
}

.cta-box__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

/* Footer (borderless, centered over bottom wash) */
.footer {
  padding: 24px 0 40px;
  font-size: 0.84rem;
  color: var(--dim);
}

.footer__inner {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  flex-wrap: wrap;
  gap: 8px 20px;
}

/* Responsive */
@media (max-width: 980px) {
  .hero__grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .hero__scroll-wrap {
    display: none;
  }

  .hero__stage {
    align-items: center;
  }

  .hero__stage-note {
    align-self: center;
    margin-left: -120px;
  }

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

  .film-card:nth-child(n) {
    transform: none;
  }

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

  .service-col__cta {
    opacity: 1;
    transform: none;
  }

  .service-col {
    border-bottom: 1px solid var(--border);
  }

  .service-col:nth-child(2n) {
    border-right: none;
  }

  .service-col:nth-last-child(-n + 2) {
    border-bottom: none;
  }
}

@media (max-width: 720px) {
  .nav__links a:not(.btn) {
    display: none;
  }

  .hero {
    padding: 36px 0 20px;
  }

  .hero__copy {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero__actions {
    justify-content: center;
  }

  .hero__socials {
    justify-content: center;
  }

  .hero-deck {
    width: min(310px, 84vw);
  }

  .coverflow {
    height: 480px;
  }

  .cf-slide {
    width: 256px;
    margin-left: -128px;
    margin-top: -228px;
  }

  .coverflow-footer {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
  }

  .coverflow-meta__top {
    justify-content: center;
  }

  .filmstrip {
    grid-template-columns: 1fr;
    max-width: 340px;
    margin: 0 auto;
  }

  .services-head {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
  }

  .services-table {
    grid-template-columns: 1fr;
  }

  .service-col {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  .service-col:last-child {
    border-bottom: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .marquee__track,
  .eq-bars i,
  .scroll-cue {
    animation: none;
  }

  .title-line > span,
  .reveal {
    animation: none;
    transition: opacity 200ms ease;
    transform: none;
    opacity: 1;
  }
}
