/* â”€â”€â”€ Multic landing page â€” site-level styles â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

* {
  box-sizing: border-box;
}

body {
  -webkit-user-select: text;
  -moz-user-select: text;
  user-select: text;
}

::selection {
  background: #fedd00;
  color: #0a0a0a;
}

html,
body {
  margin: 0;
  padding: 0;
}

html {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 22px;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}
button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}

::selection {
  background: var(--accent);
  color: var(--accent-text);
}

/* Density tokens â€” controlled by data-density on <html> */
:root[data-density="compact"] {
  --section-pad-y: 96px;
  --section-pad-x: 32px;
  --hero-display: clamp(72px, 14vw, 220px);
  --module-display: clamp(40px, 6vw, 96px);
}
:root[data-density="roomy"] {
  --section-pad-y: 180px;
  --section-pad-x: 48px;
  --hero-display: clamp(96px, 18vw, 280px);
  --module-display: clamp(56px, 8vw, 128px);
}
:root {
  --section-pad-y: 140px;
  --section-pad-x: 40px;
  --hero-display: clamp(76px, 16vw, 260px);
  --module-display: clamp(48px, 7vw, 112px);
  --max-w: 1440px;
}

/* â”€â”€â”€ Top nav â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 32px;
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  background: linear-gradient(
    180deg,
    rgba(10, 10, 10, 0.85) 0%,
    rgba(10, 10, 10, 0.55) 70%,
    rgba(10, 10, 10, 0) 100%
  );
  transition:
    background 0.3s ease,
    border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(10, 10, 10, 0.92);
  border-bottom-color: var(--separator);
}
.nav-left {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-mark {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 20px;
  letter-spacing: -0.5px;
  color: var(--fg);
  line-height: 1;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-link {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 12px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--fg-muted);
  transition: color 0.2s ease;
  position: relative;
}
.nav-link:hover {
  color: var(--fg);
}
.nav-link.active {
  color: var(--fg);
}
.nav-link.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  background: var(--accent);
}
.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* â”€â”€â”€ Buttons â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 22px;
  border-radius: 8px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 12px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  border: 1px solid transparent;
  transition:
    transform 0.15s ease,
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    opacity 0.2s ease;
  white-space: nowrap;
  cursor: pointer;
  user-select: none;
}
.btn:active {
  transform: translateY(1px);
}
.btn-primary {
  background: var(--accent);
  color: var(--accent-text);
}
.btn-primary:hover {
  background: #fff;
  color: #0a0a0a;
}
.btn-ghost {
  background: transparent;
  border-color: var(--border-strong);
  color: var(--fg);
}
.btn-ghost:hover {
  background: var(--surface);
  border-color: #fff;
}
.btn-ghost-yellow {
  background: transparent;
  color: #ffffff;
  border: 1px solid rgba(254, 221, 0, 0.4);
}
.btn-ghost-yellow:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: #fedd00;
}
.btn-solid-dark {
  background: var(--surface);
  border-color: var(--border-strong);
  color: var(--fg);
}
.btn-solid-dark:hover {
  background: var(--surface-alt);
}
.btn .icon {
  width: 16px;
  height: 16px;
  flex: none;
}

.btn-lg {
  padding: 18px 28px;
  font-size: 13px;
  letter-spacing: 1.4px;
}
.btn-lg .icon {
  width: 18px;
  height: 18px;
}

/* â”€â”€â”€ Section base â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
section {
  position: relative;
  padding: var(--section-pad-y) var(--section-pad-x);
  max-width: 100%;
}
.section-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  position: relative;
}
.section-label {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--fg-muted);
}
.section-label-yellow {
  color: var(--accent);
}
.section-divider {
  height: 1px;
  background: var(--separator);
  width: 100%;
}

/* â”€â”€â”€ Hero â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.hero {
  position: relative;
  min-height: 88vh;
  width: 100%;
  padding: 0;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero-video,
.hero-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  transform: scaleX(1);
  opacity: 0;
  transition: none;
}

.hero-video.ready {
  opacity: 1;
}
.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 10, 10, 0.55) 0%,
    rgba(10, 10, 10, 0.05) 30%,
    rgba(10, 10, 10, 0.55) 75%,
    rgba(10, 10, 10, 0.95) 100%
  );
  z-index: 1;
}
.hero-noise {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.13 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  opacity: 0.5;
  pointer-events: none;
  z-index: 2;
}

.hero-inner {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 110px var(--section-pad-x) 48px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 64px;
}
.hero-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-subtle);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.4px;
  color: var(--fg-muted);
  text-transform: uppercase;
}
.hero-meta-row .live-dot {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--fg);
}
.hero-meta-row .live-dot::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 14px var(--accent);
  animation: livePulse 1.6s ease-in-out infinite;
}
@keyframes livePulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.4;
  }
}

.hero-wordmark {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: var(--hero-display);
  line-height: 0.82;
  /* Matches nav-mark's -0.5px @ 20px (= -0.025em) so the hero MULTIC
     tracks proportionally the same as the logo at any size. The
     standalone uses -0.06em; this is a deliberate divergence. */
  letter-spacing: -0.025em;
  color: var(--fg);
  margin: 0;
  text-transform: uppercase;
  display: block;
  position: relative;
  overflow: visible;
  padding-right: 0.15em;
}
.hero-wordmark .char {
  display: inline-block;
  transform: translateY(110%);
  animation: charRise 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}
@keyframes charRise {
  to {
    transform: translateY(0);
  }
}
.hero-tagline-row {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 96px;
  align-items: end;
}
@media (max-width: 900px) {
  .hero-tagline-row {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .hero-tagline-cta {
    justify-self: start;
  }
}
.hero-tagline {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(28px, 3.4vw, 52px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--fg);
  max-width: 16ch;
  margin: 0;
}
.hero-tagline .yellow {
  color: var(--accent);
}
.hero-sub {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 26px;
  color: var(--text-muted-light);
  max-width: 44ch;
  margin: 0 0 28px;
}
.hero-cta-stack {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.hero-scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  z-index: 4;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--fg-muted);
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  pointer-events: none;
}
.hero-scroll-cue .line {
  width: 1px;
  height: 36px;
  background: linear-gradient(
    180deg,
    transparent 0%,
    var(--fg-muted) 50%,
    transparent 100%
  );
  animation: scrollCue 2s ease-in-out infinite;
}
@keyframes scrollCue {
  0% {
    transform: scaleY(0.4) translateY(-8px);
    opacity: 0.3;
  }
  50% {
    transform: scaleY(1) translateY(0);
    opacity: 1;
  }
  100% {
    transform: scaleY(0.4) translateY(8px);
    opacity: 0.3;
  }
}
.hero-scroll-cue {
  display: none;
}

/* â”€â”€â”€ How it works â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.how {
  background: var(--bg);
}
.how-header {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: end;
  margin-bottom: 80px;
}
@media (max-width: 900px) {
  .how-header {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}
.module-display {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: var(--module-display);
  line-height: 0.92;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  margin: 16px 0 0;
  color: var(--fg);
}
.module-display .yellow {
  color: var(--accent);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--separator);
  border-top: 1px solid var(--separator);
  border-bottom: 1px solid var(--separator);
}
@media (max-width: 1100px) {
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .steps {
    grid-template-columns: 1fr;
  }
}
.step {
  background: var(--bg);
  padding: 36px 28px 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  transition: background 0.3s ease;
  cursor: default;
}
.step:hover {
  background: var(--surface);
}
.step-num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent);
  letter-spacing: 1px;
}
.step-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 24px;
  line-height: 1;
  letter-spacing: -0.5px;
  text-transform: uppercase;
  color: var(--fg);
  margin: 0;
}
.step-body {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 22px;
  color: var(--fg-muted);
  margin: 0;
}
.step-glyph {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-strong);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--fg);
  margin-bottom: 8px;
}
.step:hover .step-glyph {
  border-color: var(--accent);
  color: var(--accent);
}

/* â”€â”€â”€ Genre marquee â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.marquee {
  --marquee-duration: 40s;
  position: relative;
  width: 100%;
  overflow: hidden;
  border-top: 1px solid var(--separator);
  border-bottom: 1px solid var(--separator);
  padding: 24px 0;
  background: var(--bg);
  mask-image: linear-gradient(
    90deg,
    transparent 0%,
    #000 8%,
    #000 92%,
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0%,
    #000 8%,
    #000 92%,
    transparent 100%
  );
}
.marquee-track {
  display: flex;
  gap: 0;
  width: max-content;
  animation: marqueeScroll var(--marquee-duration) linear infinite;
}
.marquee:hover .marquee-track {
  animation-play-state: paused;
}
.marquee-item {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(36px, 5vw, 72px);
  line-height: 1;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: rgb(254, 221, 0, 0.2);
  padding: 0 36px;
  display: inline-flex;
  align-items: center;
  gap: 36px;
  white-space: nowrap;
}
.marquee-item .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgb(254, 221, 0, 0.5);
  flex: none;
}
.marquee-item.muted {
  color: var(--fg-inactive);
}
.marquee-item.outline {
  color: transparent;
  -webkit-text-stroke: 1px var(--fg-inactive);
}
@keyframes marqueeScroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* â”€â”€â”€ Comics product showcase â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.product {
  background: var(--bg);
  position: relative;
  overflow: hidden;
}
.product-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 80px;
  align-items: start;
}
@media (max-width: 1100px) {
  .product-grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }
}
.product-copy {
  position: sticky;
  top: 120px;
  max-width: 560px;
}
@media (max-width: 1100px) {
  .product-copy {
    position: relative;
    top: 0;
  }
}
.product-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: var(--accent);
  color: var(--accent-text);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 11px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}
.product-features {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--separator);
  border-top: 1px solid var(--separator);
  border-bottom: 1px solid var(--separator);
}
.product-feature {
  background: var(--bg);
  padding: 22px 0;
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 20px;
  align-items: start;
}
.product-feature-num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--fg-muted);
  letter-spacing: 1px;
  padding-top: 4px;
}
.product-feature-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 18px;
  letter-spacing: -0.3px;
  text-transform: uppercase;
  margin: 0 0 6px;
}
.product-feature-body {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 22px;
  color: var(--fg-muted);
  margin: 0;
}
.product-cta-row {
  display: flex;
  gap: 12px;
  margin-top: 32px;
  flex-wrap: wrap;
}

/* â”€â”€â”€ Phone frame â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.phone-stage {
  position: sticky;
  top: 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
@media (max-width: 1100px) {
  .phone-stage {
    position: relative;
    top: 0;
  }
}
.phone-app-store {
  display: block;
  text-decoration: none;
  transition:
    transform 0.15s ease,
    opacity 0.15s ease;
}
.phone-app-store:hover {
  transform: translateY(-1px);
  opacity: 0.9;
}
.phone-app-store img {
  display: block;
  width: 135px;
  height: auto;
}
.phone {
  width: 320px;
  height: 660px;
  border-radius: 48px;
  background: #050505;
  padding: 12px;
  border: 1px solid #2a2a2a;
  box-shadow:
    0 50px 100px rgba(0, 0, 0, 0.6),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  position: relative;
  flex: none;
}
.phone::before {
  /* notch */
  content: "";
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 24px;
  background: #050505;
  border-radius: 16px;
  z-index: 5;
}
.phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 38px;
  overflow: hidden;
  position: relative;
  background: var(--bg);
}
.phone-content {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
}

/* in-phone UI bits */
.ph-statusbar {
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 14px;
  color: var(--fg);
  padding-top: 6px;
}
.ph-statusbar .icons {
  display: flex;
  gap: 6px;
  align-items: center;
  opacity: 0.85;
}
.ph-statusbar .bar {
  width: 16px;
  height: 10px;
  border: 1px solid var(--fg);
  border-radius: 2px;
  position: relative;
}
.ph-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 20px 10px;
}
.ph-mark {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 18px;
  letter-spacing: -0.4px;
}
.ph-icons {
  display: flex;
  gap: 14px;
  color: var(--fg);
}

.ph-hero-card {
  margin: 0 16px 12px;
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 16 / 11;
  background: linear-gradient(160deg, #0a1628 0%, #1a0a28 60%, #28140a 100%);
  border: 1px solid var(--border);
}
.ph-hero-card .badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--accent);
  color: var(--accent-text);
  padding: 5px 9px;
  border-radius: 4px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 9px;
  letter-spacing: 1px;
  z-index: 2;
}
.ph-hero-card .scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 40%,
    rgba(10, 10, 10, 0.92) 100%
  );
  z-index: 1;
}
.ph-hero-card .art {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.ph-hero-card .body {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 2;
}
.ph-hero-card .title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 20px;
  line-height: 1;
  letter-spacing: -0.3px;
  text-transform: uppercase;
  color: var(--fg);
  margin: 0 0 6px;
}
.ph-hero-card .meta {
  font-family: var(--font-body);
  font-size: 10px;
  color: var(--fg-muted);
  letter-spacing: 0.3px;
  margin: 0 0 10px;
}
.ph-cta-row {
  display: flex;
  gap: 8px;
}
.ph-cta {
  background: var(--accent);
  color: var(--accent-text);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 9px;
  letter-spacing: 1px;
  padding: 8px 12px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.ph-cta-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--fg);
}

.ph-section {
  padding: 0 16px 10px;
}
.ph-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.ph-section-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 9px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}
.ph-section-all {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 9px;
  letter-spacing: 1px;
  color: var(--fg-muted);
}

.ph-row {
  display: flex;
  gap: 8px;
  overflow: hidden;
}
.ph-poster {
  flex: none;
  width: 64px;
  height: 86px;
  border-radius: 6px;
  background-size: cover;
  background-position: center;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.ph-poster .progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: rgba(255, 255, 255, 0.15);
}
.ph-poster .progress::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: var(--p, 40%);
  background: var(--accent);
}

.ph-chips {
  display: flex;
  gap: 6px;
  padding: 0 16px 10px;
  overflow: hidden;
  flex-wrap: nowrap;
}
.ph-chip {
  flex: none;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 9px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--fg);
  white-space: nowrap;
}
.ph-chip.active {
  background: var(--accent);
  color: var(--accent-text);
  border-color: var(--accent);
}

.ph-search {
  margin: 0 16px 12px;
  height: 36px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--fg-muted);
}

.ph-tabbar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 60px;
  background: rgba(10, 10, 10, 0.96);
  backdrop-filter: blur(18px);
  border-top: 1px solid var(--separator);
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding-bottom: 12px;
  z-index: 10;
}
.ph-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 9px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--fg-inactive);
}
.ph-tab.active {
  color: var(--accent);
}

/* poster art generators (no real images needed) */
.art-1 {
  background: url("/images/covers/bamboo-cover.png") center / cover no-repeat;
}
.art-2 {
  background: url("/images/covers/finder-cover.png") center / cover no-repeat;
}
.art-3 {
  background: url("/images/covers/hollow.png") center / cover no-repeat;
}
.art-4 {
  background: url("/images/covers/romance.png") center / cover no-repeat;
}
.art-5 {
  background: url("/images/covers/cosmic-kayaks.png") center / cover no-repeat;
}
.art-6 {
  background: linear-gradient(180deg, #2a1f0a 0%, #6a4a1a 60%, #100a02 100%);
}
.art-7 {
  background: linear-gradient(180deg, #0a0f0a 0%, #2a4a2a 60%, #02060a 100%);
}
.art-8 {
  background: url("/images/covers/ink-2.png") center / cover no-repeat;
}

/* Cover card grid (gallery hover-parallax) */
.gallery {
  background: var(--bg);
  padding: var(--section-pad-y) var(--section-pad-x);
}
.gallery-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
@media (max-width: 1100px) {
  .gallery-strip {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 600px) {
  .gallery-strip {
    grid-template-columns: repeat(2, 1fr);
  }
}
.cover {
  aspect-ratio: 2 / 3;
  border-radius: 8px;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition:
    transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1),
    border-color 0.3s ease;
  isolation: isolate;
}
.cover:hover {
  transform: translateY(-8px);
  border-color: var(--accent);
}
.cover .art {
  position: absolute;
  inset: 0;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
  background-size: cover;
  background-position: center;
}
.cover:hover .art {
  transform: scale(1.08);
}
.cover .scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 50%,
    rgba(10, 10, 10, 0.92) 100%
  );
  z-index: 1;
}
.cover .meta {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 2;
  transform: translateY(8px);
  opacity: 0;
  transition:
    transform 0.4s ease,
    opacity 0.3s ease;
}
.cover:hover .meta {
  transform: translateY(0);
  opacity: 1;
}
.cover .title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 14px;
  letter-spacing: -0.3px;
  text-transform: uppercase;
  margin: 0 0 4px;
  color: var(--fg);
}
.cover .genre {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 9px;
  letter-spacing: 1.3px;
  color: var(--accent);
  text-transform: uppercase;
}
.cover .badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 3;
  background: var(--accent);
  color: var(--accent-text);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 8px;
  letter-spacing: 1px;
  padding: 4px 7px;
  border-radius: 3px;
  text-transform: uppercase;
}

/* â”€â”€â”€ Studio showcase â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.studio {
  background: #0d0d0d;
  border-top: 1px solid var(--separator);
  border-bottom: 1px solid var(--separator);
}
.studio-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 80px;
  align-items: center;
}
@media (max-width: 1100px) {
  .studio-grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }
}
.studio-canvas {
  position: relative;
  aspect-ratio: 16 / 11;
  background: #0a0a0a;
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  overflow: hidden;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 32px 32px;
}
.studio-toolbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 44px;
  background: rgba(10, 10, 10, 0.92);
  border-bottom: 1px solid var(--separator);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  z-index: 5;
}
.studio-tool {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 10px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 4px;
  color: var(--fg-muted);
  cursor: default;
}
.studio-tool.active {
  color: var(--accent);
  background: rgba(254, 221, 0, 0.08);
}
.studio-tool:hover {
  color: var(--fg);
}
.studio-spacer {
  flex: 1;
}
.studio-pill {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 1px;
  color: var(--fg-muted);
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
}

.studio-node {
  position: absolute;
  border-radius: 8px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  padding: 14px;
  width: 200px;
  font-family: var(--font-body);
  font-size: 12px;
  line-height: 18px;
  color: var(--fg);
  z-index: 2;
  transition:
    transform 0.4s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}
.studio-node.choice {
  background: var(--accent);
  color: var(--accent-text);
  border-color: var(--accent);
}
.studio-node:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.6);
}
.studio-node-head {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 10px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-bottom: 8px;
  color: var(--fg-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}
.studio-node.choice .studio-node-head {
  color: var(--accent-text);
  opacity: 0.7;
}
.studio-node.choice .studio-node-head .pulse {
  background: var(--accent-text);
}
.studio-node-head .pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: livePulse 2s ease-in-out infinite;
}
.studio-port {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--accent);
}
.studio-port.left {
  left: -6px;
  top: 24px;
}
.studio-port.right {
  right: -6px;
  top: 24px;
}
.studio-port.bottom {
  bottom: -6px;
  left: 24px;
}

.studio-edge {
  position: absolute;
  pointer-events: none;
  z-index: 1;
  overflow: visible;
}
.studio-edge path {
  fill: none;
  stroke: var(--border-strong);
  stroke-width: 1.5;
}
.studio-edge.active path {
  stroke: var(--accent);
  stroke-dasharray: 4 4;
  animation: edgeFlow 1.2s linear infinite;
}
@keyframes edgeFlow {
  to {
    stroke-dashoffset: -16;
  }
}

.studio-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 32px;
  margin-top: 36px;
}
@media (max-width: 700px) {
  .studio-features {
    grid-template-columns: 1fr;
  }
}
.studio-feature-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 13px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin: 0 0 8px;
  color: var(--fg);
  display: flex;
  align-items: center;
  gap: 8px;
}
.studio-feature-title::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
.studio-feature-body {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 22px;
  color: var(--fg-muted);
  margin: 0;
}

/* â”€â”€â”€ Stats strip â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.stats {
  background: var(--bg);
  padding: 80px var(--section-pad-x);
  border-top: 1px solid var(--separator);
}
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  max-width: var(--max-w);
  margin: 0 auto;
}
@media (max-width: 800px) {
  .stats-row {
    grid-template-columns: repeat(2, 1fr);
  }
}
.stat {
  padding: 0 28px;
  border-right: 1px solid var(--border);
}
.stat:last-child {
  border-right: none;
}
@media (max-width: 800px) {
  .stat:nth-child(2) {
    border-right: none;
  }
}
.stat-num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--fg);
  margin: 0 0 8px;
}
.stat-num .yellow {
  color: var(--accent);
}
.stat-label {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 10px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--fg-muted);
}

/* â”€â”€â”€ Footer â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.footer {
  background: var(--bg);
  padding: 100px var(--section-pad-x) 40px;
  border-top: 1px solid var(--separator);
}
.footer-cta {
  max-width: var(--max-w);
  margin: 0 auto 80px;
  text-align: left;
}
.footer-cta-display {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(56px, 10vw, 168px);
  line-height: 0.88;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  margin: 0 0 36px;
  color: var(--fg);
}
.footer-cta-display .yellow {
  color: var(--accent);
}
.footer-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr repeat(4, 1fr);
  gap: 48px;
  padding-top: 48px;
  border-top: 1px solid var(--separator);
}
@media (max-width: 1000px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}
.footer-brand .nav-mark {
  font-size: 24px;
}
.footer-brand p {
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 20px;
  color: var(--fg-muted);
  max-width: 28ch;
  margin: 16px 0 0;
}
.footer-col h5 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 11px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin: 0 0 16px;
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col a {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--fg);
  transition: color 0.2s ease;
}
.footer-col a:hover {
  color: var(--accent);
}
.footer-bottom {
  max-width: var(--max-w);
  margin: 80px auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--separator);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.5px;
  color: var(--fg-muted);
  text-transform: uppercase;
}
.footer-bottom .links {
  display: flex;
  gap: 24px;
}

/* â”€â”€â”€ Reveal on scroll â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.8s ease,
    transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* utility */
.row {
  display: flex;
  align-items: center;
  gap: 16px;
}
.col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
