/* ============================================================
   THE PROMPT NINJA — dark streetwear-style design system
   ============================================================ */
:root {
  --bg: #0a0a0a;
  --bg-2: #111111;
  --bg-3: #171717;
  --line: rgba(255, 255, 255, 0.12);
  --text: #f2f2f2;
  --muted: #8b8b8b;
  --lime: #f0b429; /* accent: gold champagne */
  --red: #ff3b00;
  --font-display: "Anton", "Arial Narrow", Impact, sans-serif;
  --font-body: "Archivo", "Segoe UI", Arial, sans-serif;
  --font-mono: "Space Mono", "Courier New", monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; color-scheme: dark; }
html[data-theme="dark"] { color-scheme: dark; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

::selection { background: var(--lime); color: #000; }

.container {
  width: min(1360px, 92vw);
  margin: 0 auto;
}

/* ---------- ticker / marquee ---------- */
.ticker {
  background: #000;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  white-space: nowrap;
  padding: 8px 0;
}
.ticker__track {
  display: inline-block;
  animation: marquee 28s linear infinite;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.ticker__track b { color: var(--lime); font-weight: 400; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.ticker--red {
  background: var(--red);
  border: 0;
  padding: 16px 0;
}
.ticker--red .ticker__track {
  color: #000;
  font-family: var(--font-display);
  font-size: clamp(18px, 2.4vw, 30px);
  letter-spacing: 0.06em;
  animation-duration: 20s;
}
.ticker--red .ticker__track span { padding: 0 22px; }
.ticker--red .ticker__track .arrow { color: #fff; }

/* ---------- header / nav ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 10, 10, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 6px 0;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo__img {
  display: block;
  height: 60px;
  width: auto;
  border-radius: 8px;
  transition: 0.2s;
}
.logo:hover .logo__img { opacity: 0.85; }
.logo__mark {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #000;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  overflow: hidden;
  flex: none;
}
.logo__mark svg { width: 26px; height: 26px; }
.logo__text {
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: 0.04em;
  line-height: 1;
  text-transform: uppercase;
}
.logo__text small {
  display: block;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.3em;
  color: var(--muted);
  margin-top: 4px;
}

.nav__links {
  display: flex;
  gap: 34px;
  list-style: none;
}
.nav__links a {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.2s;
  position: relative;
  padding: 6px 0;
}
.nav__links a:hover { color: var(--text); }
.nav__links a.active { color: var(--text); }
.nav__links a.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--lime);
}

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

.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
  color: var(--text);
  padding: 13px 22px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 2px 6px rgba(0, 0, 0, 0.3);
  transition: 0.25s;
}
.btn:hover {
  border-color: rgba(240, 180, 41, 0.5);
  background: linear-gradient(180deg, rgba(240, 180, 41, 0.09), rgba(240, 180, 41, 0.03));
  transform: translateY(-2px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 10px 24px -8px rgba(0, 0, 0, 0.5);
}
.btn:active { transform: translateY(0); box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.4); }
/* centered buttons: keep translateX(-50%) on hover/active (else they jump right) */
.hero__cta.btn:hover { transform: translateY(-2px); }
.hero__cta.btn:active { transform: translateY(0); }
.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 55%;
  height: 100%;
  background: linear-gradient(105deg, transparent 0%, rgba(255, 255, 255, 0.45) 50%, transparent 100%);
  transform: skewX(-18deg);
  opacity: 0;
  pointer-events: none;
}
.btn:hover::before { animation: btnSheen 0.65s ease; }
@keyframes btnSheen {
  0% { left: -75%; opacity: 1; }
  100% { left: 125%; opacity: 1; }
}
.btn--lime {
  background: linear-gradient(180deg, #ffe3a1 0%, #f0b429 48%, #d9990f 100%);
  color: #1c1305;
  border-color: rgba(255, 255, 255, 0.35);
  font-weight: 800;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    inset 0 -2px 0 rgba(0, 0, 0, 0.12),
    0 1px 2px rgba(0, 0, 0, 0.4),
    0 14px 32px -12px rgba(240, 180, 41, 0.55);
}
.btn--lime:hover {
  background: linear-gradient(180deg, #ffedb5 0%, #f7c34a 48%, #e0a51e 100%);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    inset 0 -2px 0 rgba(0, 0, 0, 0.12),
    0 2px 3px rgba(0, 0, 0, 0.35),
    0 18px 40px -12px rgba(240, 180, 41, 0.7);
}
.btn--lime:active {
  transform: translateY(0);
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.25), 0 4px 12px -6px rgba(240, 180, 41, 0.5);
}
.btn--ghost { padding: 13px 18px; }

.burger {
  display: none;
  background: none;
  border: 1px solid var(--line);
  width: 42px;
  height: 42px;
  place-items: center;
}
.burger span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  position: relative;
}
.burger span::before,
.burger span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: var(--text);
}
.burger span::before { top: -6px; }
.burger span::after { top: 6px; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding: 60px 0 80px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.hero__word {
  position: absolute;
  top: 42%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-size: clamp(120px, 22vw, 330px);
  line-height: 0.85;
  letter-spacing: 0.02em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.14);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}
.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 48px;
  min-height: 540px;
}
.hero__side {
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 2;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero__side:first-child { justify-self: start; padding-right: 8vw; }
.hero__side--right { justify-self: end; padding-left: 8vw; }
.hero__side b { color: var(--text); font-weight: 400; }
.hero__side--right { text-align: right; }
.hero__side .tag {
  display: inline-block;
  border: 1px solid var(--line);
  padding: 4px 10px;
  margin-bottom: 14px;
  color: var(--lime);
}

.hero__card {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  align-self: end;
  padding-bottom: 6px;
}
.hero__cta {
  white-space: nowrap;
  margin-top: 140px;
  transform: translateY(62px);
}
.hero__cta.btn:hover { transform: translateY(60px); }
.hero__cta.btn:active { transform: translateY(62px); }
.hero__scroll {
  margin-top: 70px;
  display: flex;
  justify-content: center;
}

/* ---------- hero: floating 3D cards (am-arc.com inspired) ----------
   Default: subtle drift + parallax. When JS enables .is-draggable, cards
   become a true am-arc style draggable solar-system ring (cylinder) — drag
   to rotate, momentum + idle auto-orbit like planets around the NINJA sun. */
.hero__orbit {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  perspective: 1500px;
}
.hero__float {
  position: absolute;
  width: var(--hf-size, clamp(150px, 16vw, 250px));
  will-change: transform;
  animation: hfDrift var(--hf-dur, 9s) ease-in-out var(--hf-delay, 0s) infinite alternate;
}
.hf__in {
  display: block;
  position: relative;
  padding: 13px;
  border-radius: 28px;
  background: linear-gradient(150deg, var(--hf-tint, #171717), #0a0a0a 72%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6), 0 8px 24px rgba(0, 0, 0, 0.45);
  transform: perspective(1100px)
    rotateX(calc(var(--hf-rx, 0deg) + var(--hf-scrub, 0deg)))
    rotateY(var(--hf-ry, 0deg))
    rotateZ(var(--hf-rz, 0deg));
  transform-style: preserve-3d;
}
.hf__in img {
  width: 100%;
  aspect-ratio: 1 / 1.05;
  object-fit: cover;
  border-radius: 17px;
}
/* soft top sheen — am-arc slab jaisa highlight */
.hf__in::after {
  content: "";
  position: absolute;
  inset: 13px;
  border-radius: 17px;
  pointer-events: none;
  background: linear-gradient(158deg, rgba(255, 255, 255, 0.15), transparent 42%);
}
@keyframes hfDrift {
  from { translate: 0 -13px; }
  to { translate: 0 15px; }
}
/* positions — center cluster + edges, am-arc jaisa scattered look */
.hf-1 { top: 9%; left: 5%; --hf-ry: 24deg; --hf-rx: -6deg; --hf-rz: -4deg; --hf-dur: 8.5s; }
.hf-2 { top: 3%; left: 23%; --hf-ry: 15deg; --hf-rx: 5deg; --hf-rz: 2deg; --hf-dur: 10s; --hf-delay: -3.5s; --hf-size: clamp(160px, 17vw, 270px); }
.hf-3 { top: 15%; left: 44%; --hf-ry: -4deg; --hf-rx: -3deg; --hf-rz: -2deg; --hf-dur: 11s; --hf-delay: -6s; --hf-size: clamp(150px, 16vw, 255px); }
.hf-4 { top: 2%; right: 21%; --hf-ry: -16deg; --hf-rx: 6deg; --hf-rz: 3deg; --hf-dur: 9.5s; --hf-delay: -1.5s; --hf-size: clamp(160px, 17vw, 270px); }
.hf-5 { top: 8%; right: 4%; --hf-ry: -25deg; --hf-rx: 4deg; --hf-rz: 5deg; --hf-dur: 10.5s; --hf-delay: -5s; }
.hf-6 { bottom: 7%; left: 14%; --hf-ry: 12deg; --hf-rx: 8deg; --hf-rz: 4deg; --hf-dur: 12s; --hf-delay: -7.5s; --hf-size: clamp(130px, 13vw, 210px); }
@media (prefers-reduced-motion: reduce) {
  .hero__float { animation: none; }
}

/* ----- AM-ARC solar-system drag mode (applied by JS) ----- */
.hero__orbit.is-draggable {
  pointer-events: auto;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
  perspective: 1900px;
  perspective-origin: 50% 42%;
}
.hero__orbit.is-draggable.dragging { cursor: grabbing; }
.hero__orbit.is-draggable .hero__ring {
  position: absolute;
  left: 50%;
  top: 46%;
  width: 0;
  height: 0;
  transform-style: preserve-3d;
  will-change: transform;
}
.hero__orbit.is-draggable .hero__float {
  animation: none !important;
  left: 0 !important;
  top: 0 !important;
  right: auto !important;
  bottom: auto !important;
  margin: calc(var(--hf-size, 220px) / -2) 0 0 calc(var(--hf-size, 220px) / -2);
  will-change: transform, opacity, filter;
  transform-style: preserve-3d;
  /* transform set inline by JS: rotateY(...) translateZ(var(--heroR)) */
}
.hero__orbit.is-draggable .hf__in {
  /* keep inner 3D tilt but remove scrub bleed */
  box-shadow: 0 50px 90px rgba(0,0,0,.55), 0 10px 24px rgba(0,0,0,.45);
  backface-visibility: hidden;
}
.hero-drag {
  position: absolute;
  left: 0; top: 0;
  width: 84px; height: 84px;
  border-radius: 50%;
  background: #fff;
  color: #000;
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%,-50%) scale(.5);
  transition: opacity .25s ease, transform .25s ease;
  z-index: 6;
  box-shadow: 0 12px 30px rgba(0,0,0,.35);
}
.hero-drag.on { opacity: 1; transform: translate(-50%,-50%) scale(1); }
.hero__orbit.is-draggable.dragging .hero-drag { transform: translate(-50%,-50%) scale(.78); }
@media (pointer: coarse) { .hero-drag { display:none; } }
@media (max-width: 700px) {
  .hero__orbit.is-draggable { perspective: 1200px; }
}

/* when draggable, text layers must not block the drag */
.hero:has(.hero__orbit.is-draggable) .hero__inner,
.hero:has(.hero__orbit.is-draggable) .hero__scroll { pointer-events: none; }
.hero:has(.hero__orbit.is-draggable) .hero__inner a,
.hero:has(.hero__orbit.is-draggable) .hero__inner .btn,
.hero:has(.hero__orbit.is-draggable) .hero__scroll a { pointer-events: auto; }
@media (max-width: 1020px) {
  .hero__orbit.is-draggable { display: block !important; }
  .hero:has(.hero__orbit.is-draggable) { padding-top: 28px; padding-bottom: 36px; }
  .hero:has(.hero__orbit.is-draggable) .hero__inner { min-height: 420px; }
}

/* ---------- sections ---------- */
.section { padding: 90px 0; }
.section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 40px;
}
.section__title {
  font-family: var(--font-display);
  font-size: clamp(44px, 7vw, 96px);
  line-height: 0.92;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}
.section__sub {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}
.link-arrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--line);
  padding-bottom: 6px;
  white-space: nowrap;
  transition: 0.2s;
}
.link-arrow:hover { color: var(--lime); border-color: var(--lime); }

/* ---------- filter pills ---------- */
.filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 34px;
}
.filters--center { justify-content: center; }
.pill {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  padding: 10px 18px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: 0.2s;
}
.pill:hover {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.07);
  transform: translateY(-1px);
}
.pill.active {
  background: linear-gradient(180deg, #ffffff, #e8e8e8);
  color: #000;
  border-color: transparent;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 8px 20px -8px rgba(255, 255, 255, 0.35);
}

/* ---------- product-style prompt cards (home) ---------- */
.cards-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(270px, 320px);
  gap: 18px;
  overflow-x: auto;
  padding-bottom: 18px;
  scroll-snap-type: x mandatory;
}
.cards-row::-webkit-scrollbar { height: 4px; }
.cards-row::-webkit-scrollbar-thumb { background: var(--line); }

.card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  scroll-snap-align: start;
  transition: 0.3s;
  position: relative;
}
.card:hover {
  transform: translateY(-6px);
  border-color: rgba(240, 180, 41, 0.5);
}
.card__img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
}
.card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.5s;
}
.card:hover .card__img img { transform: scale(1.05); }
.card__cat {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(0, 0, 0, 0.75);
  border: 1px solid var(--line);
  padding: 5px 10px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--lime);
}
.card__body {
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.card__name {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.card__meta {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--muted);
  margin-top: 6px;
  letter-spacing: 0.1em;
}
.stars { color: var(--lime); font-size: 11px; letter-spacing: 2px; }
.card__go {
  flex: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  font-size: 16px;
  transition: 0.25s;
}
.card:hover .card__go {
  background: var(--lime);
  color: #000;
  border-color: var(--lime);
  transform: scale(1.08);
  box-shadow: 0 8px 22px -6px rgba(240, 180, 41, 0.55);
}

/* ---------- statement ---------- */
.statement {
  position: relative;
  padding: 130px 0;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.statement__bg {
  position: absolute;
  inset: 0;
  display: flex;
  opacity: 0.16;
  pointer-events: none;
}
.statement__bg img {
  flex: 1;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1);
}
.statement__text {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(34px, 5.4vw, 74px);
  line-height: 1.06;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.28);
}
.statement__text .on { color: #fff; }
.circle-note {
  position: relative;
  display: inline-block;
  color: #fff;
}
.circle-note svg {
  position: absolute;
  inset: -18% -14%;
  width: 128%;
  height: 136%;
  pointer-events: none;
}
.circle-note svg path {
  fill: none;
  stroke: var(--red);
  stroke-width: 3;
  stroke-linecap: round;
}
.circle-note svg {
  overflow: visible;
}

/* ---------- about teaser ---------- */
.about { position: relative; padding: 110px 0; overflow: hidden; }
.about__mark {
  position: absolute;
  right: -4vw;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: clamp(300px, 40vw, 620px);
  color: var(--bg-3);
  z-index: 0;
  line-height: 1;
  pointer-events: none;
}
.about__inner { position: relative; z-index: 1; max-width: 720px; }
.about__title {
  font-family: var(--font-display);
  font-size: clamp(40px, 6.4vw, 92px);
  line-height: 0.98;
  text-transform: uppercase;
}
.about__title .dim { color: rgba(255, 255, 255, 0.22); }
.about__text {
  margin-top: 26px;
  max-width: 460px;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 2;
  color: var(--muted);
}
.about__shots {
  position: absolute;
  right: 4vw;
  bottom: 60px;
  display: flex;
  gap: 16px;
  z-index: 1;
}
.about__shots img {
  width: 150px;
  border: 1px solid var(--line);
  filter: grayscale(1);
  transition: 0.3s;
}
.about__shots img:nth-child(2) { transform: translateY(-34px); }
.about__shots img:hover { filter: grayscale(0); transform: translateY(-8px); }

/* ---------- steps (how it works) ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.step {
  border: 1px solid var(--line);
  background: var(--bg-2);
  padding: 34px 28px;
  transition: 0.3s;
}
.step:hover {
  border-color: rgba(240, 180, 41, 0.5);
  transform: translateY(-6px);
}
.step__num {
  font-family: var(--font-display);
  font-size: 60px;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.3);
  display: block;
  line-height: 1;
  margin-bottom: 22px;
}
.step:hover .step__num { -webkit-text-stroke-color: var(--lime); }
.step__title {
  font-family: var(--font-display);
  font-size: 28px;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.step__text {
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 2;
  color: var(--muted);
  margin-bottom: 22px;
}
.step__text b { color: var(--lime); font-weight: 400; }

/* ---------- tips ---------- */
.tips {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.tip {
  border: 1px solid var(--line);
  background: var(--bg-2);
  padding: 28px;
  transition: 0.3s;
}
.tip:hover { border-color: rgba(240, 180, 41, 0.5); }
.tip__k {
  display: inline-block;
  background: var(--lime);
  color: #000;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.22em;
  padding: 5px 10px;
  margin-bottom: 16px;
}
.tip h4 {
  font-family: var(--font-display);
  font-size: 24px;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.tip p {
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.9;
  color: var(--muted);
}
.tip p.mono { color: #cfcfcf; }

/* ---------- settings table ---------- */
.settings-table {
  border: 1px solid var(--line);
  background: var(--bg-2);
}
.srow {
  display: grid;
  grid-template-columns: 140px 1fr 220px;
  gap: 18px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.7;
  color: var(--muted);
  align-items: center;
}
.srow:last-child { border-bottom: 0; }
.srow--head {
  background: #0c0c0c;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text);
}
.sflag { color: var(--lime); font-weight: 700; }
.sval { color: var(--text); }
.sval em { color: var(--muted); font-style: normal; }

/* ---------- faq accordion ---------- */
.faq { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 6px;
  font-family: var(--font-display);
  font-size: clamp(20px, 2.6vw, 28px);
  text-transform: uppercase;
  transition: 0.2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--lime); }
.faq-ico {
  flex: none;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  display: grid;
  place-items: center;
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: 400;
  color: var(--lime);
  transition: 0.25s;
}
.faq-item summary:hover .faq-ico {
  border-color: rgba(240, 180, 41, 0.5);
  background: rgba(240, 180, 41, 0.08);
}
.faq-item[open] .faq-ico {
  background: var(--lime);
  color: #000;
  border-color: var(--lime);
  transform: rotate(45deg);
  box-shadow: 0 8px 20px -6px rgba(240, 180, 41, 0.5);
}
.faq-body {
  padding: 0 60px 28px 6px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  line-height: 2.1;
  color: var(--muted);
  max-width: 720px;
}

/* ---------- gallery grid ---------- */
.page-hero {
  padding: 80px 0 40px;
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.page-hero__word {
  font-family: var(--font-display);
  font-size: clamp(80px, 16vw, 240px);
  line-height: 0.85;
  text-transform: uppercase;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.16);
}
.page-hero__desc {
  max-width: 520px;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 2;
  color: var(--muted);
  margin-top: 24px;
}
.gal-grid {
  columns: 4 260px;
  column-gap: 18px;
}
.gal-item {
  break-inside: avoid;
  margin-bottom: 18px;
  position: relative;
  border: 1px solid var(--line);
  overflow: hidden;
  display: block;
}
.gal-item img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
  transition: 0.5s;
}
.gal-item:hover img { transform: scale(1.04); }
.gal-item__over {
  position: absolute;
  inset: auto 0 0 0;
  padding: 18px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  opacity: 0;
  transform: translateY(12px);
  transition: 0.3s;
}
.gal-item:hover .gal-item__over { opacity: 1; transform: none; }
.gal-item__name {
  font-family: var(--font-display);
  font-size: 20px;
  text-transform: uppercase;
  line-height: 1;
}
.gal-item__cat {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  color: var(--lime);
  text-transform: uppercase;
  margin-top: 6px;
  display: block;
}
.gal-item__go {
  flex: none;
  background: var(--lime);
  color: #000;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  padding: 8px 10px;
  text-transform: uppercase;
}

/* ---------- prompt detail cards ---------- */
#prompt-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}
.prompt-card {
  border: 1px solid var(--line);
  background: var(--bg-2);
  margin-bottom: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.prompt-card__top {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
}
.ba {
  position: relative;
  aspect-ratio: 4 / 5;
  max-height: 400px;
  overflow: hidden;
}
.ba img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: 0.6s;
}
.ba__label {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.25em;
  padding: 6px 12px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.7);
  text-transform: uppercase;
}
.ba--after .ba__label { background: var(--lime); color: #000; border-color: var(--lime); font-weight: 700; }
.ba__vs {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #000;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 15px;
  z-index: 2;
}
.ba__fill {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 1;
  opacity: 1;
  filter: blur(16px) brightness(0.6);
  transform: scale(1.15);
  transition: opacity 0.6s;
}
.ba__full {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  background: rgba(10, 10, 10, 0.55);
  backdrop-filter: blur(8px);
  color: #fff;
  cursor: pointer;
  opacity: 1;
  transition: 0.25s;
  z-index: 2;
}
.ba:hover .ba__full,
.card__img:hover .ba__full,
.gal-item:hover .ba__full { opacity: 1; }
.ba__full:hover {
  background: var(--lime);
  color: #000;
  border-color: var(--lime);
  transform: scale(1.1);
  box-shadow: 0 8px 20px -6px rgba(240, 180, 41, 0.55);
}
.ba__full svg { display: block; }
.prompt-card__mid {
  padding: 18px 18px 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.prompt-card__title {
  font-family: var(--font-display);
  font-size: clamp(18px, 1.7vw, 24px);
  text-transform: uppercase;
  line-height: 1;
}
.tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.tag-chip {
  border: 1px solid var(--line);
  padding: 5px 10px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.tag-chip--lime { color: #000; background: var(--lime); border-color: var(--lime); font-weight: 700; }
.tag-chip--red { color: #fff; background: var(--red); border-color: var(--red); font-weight: 700; }

.prompt-block {
  margin: 16px 18px 18px;
  border: 1px solid var(--line);
  background: #0c0c0c;
}
.prompt-block__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding: 12px 16px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}
.copy-btn {
  border: 1px solid rgba(240, 180, 41, 0.55);
  background: rgba(240, 180, 41, 0.06);
  color: var(--lime);
  padding: 9px 16px;
  border-radius: 10px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  box-shadow: inset 0 1px 0 rgba(240, 180, 41, 0.15);
  transition: 0.2s;
}
.copy-btn:hover {
  background: var(--lime);
  color: #000;
  border-color: var(--lime);
  transform: translateY(-1px);
  box-shadow: 0 8px 22px -6px rgba(240, 180, 41, 0.55);
}
.copy-btn.copied { background: var(--lime); color: #000; animation: copiedPulse 0.45s ease; }
@keyframes copiedPulse {
  0% { transform: scale(1); }
  40% { transform: scale(1.07); }
  100% { transform: scale(1); }
}
.prompt-block__text {
  padding: 12px 14px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  line-height: 1.55;
  color: #cfcfcf;
  word-break: break-word;
  max-height: 150px;
  overflow-y: auto;
}
.prompt-block__text .hl { color: var(--lime); }

/* ---------- footer ---------- */
.footer {
  border-top: 1px solid var(--line);
  background: #060606;
  position: relative;
}
.footer__strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  padding: 26px 0 0;
}
.footer__strip img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  filter: brightness(0.75);
  transition: 0.3s;
}
.footer__strip img:hover { filter: brightness(1); }
.footer__main {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 0.7fr);
  gap: 40px;
  padding: 60px 0;
}
.footer__brand h3 {
  font-family: var(--font-display);
  font-size: clamp(30px, 3.6vw, 50px);
  text-transform: uppercase;
  line-height: 0.95;
}
.footer__brand p {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.28em;
  color: var(--muted);
  margin-top: 10px;
  text-transform: uppercase;
}
.newsletter {
  margin-top: 28px;
  display: flex;
  max-width: 360px;
  border: 1px solid var(--line);
}
.newsletter input {
  flex: 1;
  background: transparent;
  border: 0;
  outline: 0;
  color: var(--text);
  padding: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
}
.newsletter input::placeholder { color: var(--muted); text-transform: uppercase; }
.newsletter button {
  background: rgba(255, 255, 255, 0.05);
  border: 0;
  border-left: 1px solid var(--line);
  border-radius: 0 10px 10px 0;
  color: var(--text);
  width: 52px;
  transition: 0.2s;
}
.newsletter button:hover {
  background: var(--lime);
  color: #000;
  box-shadow: 0 6px 18px -4px rgba(240, 180, 41, 0.5);
}
.footer__col h4 {
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  margin-bottom: 18px;
  color: var(--muted);
}
.footer__col ul { list-style: none; display: grid; gap: 12px; }
.footer__col a {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #cfcfcf;
  transition: 0.2s;
}
.footer__col a:hover { color: var(--lime); }
.footer__bottom {
  border-top: 1px solid var(--line);
  padding: 18px 0;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- ninja mascot ---------- */
.mascot {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 74px;
  height: 74px;
  z-index: 60;
  animation: float 3.4s ease-in-out infinite;
  cursor: pointer;
  transition: 0.2s;
  filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.55));
}
.mascot:hover {
  transform: scale(1.1) rotate(-6deg);
  filter: drop-shadow(0 14px 28px rgba(240, 180, 41, 0.3)) drop-shadow(0 6px 14px rgba(0, 0, 0, 0.5));
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ---------- reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in { opacity: 1; transform: none; }

/* ---------- fullscreen lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 14px;
  padding: 24px;
  background: rgba(0, 0, 0, 0.92);
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: 92vw;
  max-height: 82vh;
  object-fit: contain;
  border: 1px solid var(--line);
}
.lightbox__cap {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--lime);
  text-transform: uppercase;
}
.lightbox__close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  transition: 0.25s;
}
.lightbox__close:hover { background: var(--lime); color: #000; border-color: var(--lime); }

/* ---------- featured orbit — am-arc style 3D drag ring (surya ke around planets) ---------- */
.featured {
  background: var(--bg);
  border-top: 1px solid var(--line);
  padding: 72px 0 64px;
  overflow: hidden;
  position: relative;
}
.featured .container { position: relative; }
.featured__stage {
  --fpw: clamp(120px, 18vw, 280px);
  position: relative;
  height: clamp(300px, 42vw, 520px);
  perspective: 1700px;
  perspective-origin: 50% 46%;
  cursor: grab;
  touch-action: pan-y; /* horizontal drag hamara, vertical scroll page ka */
  user-select: none;
  -webkit-user-select: none;
}
.featured__stage.dragging { cursor: grabbing; }

/* beech ka saura (sun) — ring isi ke around ghoomta hai */
.featured__sun {
  position: absolute;
  left: 50%;
  top: 46%;
  width: clamp(200px, 30vw, 430px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(240, 180, 41, 0.17), rgba(240, 180, 41, 0.05) 45%, transparent 70%);
  pointer-events: none;
}
html[data-theme="light"] .featured__sun {
  background: radial-gradient(circle, rgba(240, 180, 41, 0.32), rgba(240, 180, 41, 0.09) 45%, transparent 70%);
}

/* 3D ring — cards fixed angle par, poora ring ghoomta hai (planets ki tarah) */
.featured__ring {
  position: absolute;
  left: 50%;
  top: 46%;
  width: 0;
  height: 0;
  transform-style: preserve-3d;
  will-change: transform;
}
.fp {
  position: absolute;
  left: 0;
  top: 0;
  width: var(--fpw);
  margin: calc(var(--fpw) / -2 - 12px) 0 0 calc(var(--fpw) / -2);
  transform: rotateY(var(--fa, 0deg)) translateZ(var(--fpR, 640px));
  transform-style: preserve-3d;
  will-change: transform, opacity;
}
/* card par click = fullscreen (koi alag button nahi) */
.featured__stage .fp { cursor: pointer; }
.fp__in {
  display: block;
  position: relative;
  padding: clamp(8px, 1vw, 14px);
  border-radius: clamp(18px, 2.2vw, 32px);
  background: var(--ftint, #171717);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 50px 90px rgba(0, 0, 0, 0.55), 0 10px 24px rgba(0, 0, 0, 0.4);
  backface-visibility: hidden; /* peeche wale cards (backface) gayab */
  opacity: var(--fop, 1);
  filter: brightness(var(--fbr, 1));
}
.fp__in img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: clamp(12px, 1.6vw, 21px);
  pointer-events: none;
  -webkit-user-drag: none;
}
.featured__title {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: clamp(40px, 6.5vw, 92px);
  line-height: 0.95;
  margin-top: 8px;
}
html[data-theme="light"] .fp__in {
  border-color: rgba(0, 0, 0, 0.07);
  box-shadow:
    0 22px 50px rgba(52, 38, 18, 0.12),
    0 8px 22px rgba(52, 38, 18, 0.08),
    0 1px 4px rgba(0, 0, 0, 0.05);
}

/* drag hint bubble (am-arc style) — sirf pointer wale devices par */
.fp-drag {
  position: absolute;
  left: 0;
  top: 0;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: #fff;
  color: #000;
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.5);
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 6;
}
.fp-drag.on { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.featured__stage.dragging .fp-drag { transform: translate(-50%, -50%) scale(0.78); }
@media (pointer: coarse) { .fp-drag { display: none; } }

@media (max-width: 700px) {
  .featured__stage {
    --fpw: clamp(110px, 26vw, 200px);
    height: clamp(260px, 62vw, 380px);
  }
}

/* ---------- scroll progress bar (top) ---------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 120;
  pointer-events: none;
}
.scroll-progress__bar {
  height: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--lime), var(--red));
  transition: transform 0.12s linear; /* Lenis glide ke saath edge smooth */
}

/* ---------- dark / light mode toggle ---------- */
.theme-toggle {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--bg-3);
  color: var(--lime);
  display: grid;
  place-items: center;
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), background 0.3s, border-color 0.3s;
}
.theme-toggle:hover { transform: translateY(-2px) rotate(-14deg); border-color: var(--lime); }
.theme-toggle:active { transform: scale(0.92); }
.theme-toggle svg { width: 18px; height: 18px; display: block; }
.theme-toggle .icon-sun { display: none; }
html[data-theme="light"] .theme-toggle .icon-moon { display: none; }
html[data-theme="light"] .theme-toggle .icon-sun { display: block; }

/* ---------- light mode palette ----------
   Zyada-tar surfaces CSS variables se aate hain, sirf kuch hardcoded
   dark colors ko yahan override kiya gaya hai. */
html[data-theme="light"] {
  color-scheme: light;
  --bg: #f4f2ed;
  --bg-2: #ffffff;
  --bg-3: #ebe7df;
  --text: #16150f;
  --muted: #6d675a;
  --line: rgba(0, 0, 0, 0.14);
}
html[data-theme="light"] .ticker { background: #ffffff; }
html[data-theme="light"] .header { background: rgba(255, 255, 255, 0.88); }
html[data-theme="light"] .nav__links.open { background: #ffffff; }
html[data-theme="light"] .footer { background: #ebe7df; }
html[data-theme="light"] .hero__word { -webkit-text-stroke-color: rgba(0, 0, 0, 0.15); }
html[data-theme="light"] .hf__in {
  background: linear-gradient(150deg, #ffffff, #f1eee6 72%);
  border-color: rgba(0, 0, 0, 0.07);
  /* premium soft warm shadow — light beige bg par kaala dhabba nahi, halki diffused shadow */
  box-shadow:
    0 22px 50px rgba(52, 38, 18, 0.12),
    0 8px 22px rgba(52, 38, 18, 0.08),
    0 1px 4px rgba(0, 0, 0, 0.05);
}
html[data-theme="light"] .hero__orbit.is-draggable .hf__in {
  box-shadow:
    0 26px 56px rgba(52, 38, 18, 0.13),
    0 10px 26px rgba(52, 38, 18, 0.09),
    0 2px 6px rgba(0, 0, 0, 0.05);
}
html[data-theme="light"] .hf__in::after {
  background: linear-gradient(158deg, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0) 42%);
}
/* light mode: hardcoded white text ko padhne layak banao */
html[data-theme="light"] .statement__text { color: rgba(0, 0, 0, 0.26); }
html[data-theme="light"] .statement__text .on { color: #16150f; }
html[data-theme="light"] .circle-note { color: #16150f; }
html[data-theme="light"] .about__title .dim { color: rgba(0, 0, 0, 0.22); }
html[data-theme="light"] .footer__col a { color: #3d3a33; }
html[data-theme="light"] .ticker--red .ticker__track .arrow { color: #fff; }
/* light mode: logo (white/gold art) safed bg par gayab ho jata hai — dark chip me rakho */
html[data-theme="light"] .logo__img { background: #0d0d0d; padding: 5px 9px; }
/* light mode: arc-stack (Cinematic Prompts) section — dark me black, light me light */
html[data-theme="light"] .arc-stack { background: #f4f2ed; }
html[data-theme="light"] .arc-text h3 { color: #16150f; }
html[data-theme="light"] .arc-text p { color: #6d675a; }
html[data-theme="light"] .arc-btn { border-color: rgba(0,0,0,0.22); color: #16150f; }
html[data-theme="light"] .arc-btn:hover { background: #16150f; color: #fff; border-color: #16150f; }
html[data-theme="light"] .arc-dots span { background: rgba(0,0,0,0.14); }
html[data-theme="light"] .arc-dots span.on { background: #16150f; }
html[data-theme="light"] .arc-cards { background: #ebe7df; border: 1px solid rgba(0,0,0,0.06); }
/* light mode: prompt page — prompt block dark box ko light banao */
html[data-theme="light"] .prompt-card { background: #ffffff; box-shadow: 0 8px 32px rgba(0,0,0,0.06); }
html[data-theme="light"] .prompt-block { background: #f8f6f0; border-color: rgba(0,0,0,0.1); }
html[data-theme="light"] .prompt-block__head { border-color: rgba(0,0,0,0.08); color: #6d675a; }
html[data-theme="light"] .prompt-block__text { color: #2e2c28; background: #ffffff; }
html[data-theme="light"] .prompt-block__text .hl { color: #9a7b14; }
html[data-theme="light"] .prompt-block__text::-webkit-scrollbar { width: 6px; }
html[data-theme="light"] .prompt-block__text::-webkit-scrollbar-track { background: #f0ece3; }
html[data-theme="light"] .prompt-block__text::-webkit-scrollbar-thumb { background: #c4b9a5; border-radius: 999px; }
html[data-theme="light"] .prompt-block__text { scrollbar-color: #c4b9a5 #f0ece3; scrollbar-width: thin; }
html[data-theme="light"] .copy-btn { background: #ffffff; border-color: rgba(0,0,0,0.12); color: #16150f; box-shadow: none; }
html[data-theme="light"] .copy-btn:hover { background: #16150f; color: #fff; border-color: #16150f; }

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  #prompt-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nav__links, .nav__right .btn--ghost { display: none; }
  .burger { display: grid; }
  .steps { grid-template-columns: 1fr; }
  .srow { grid-template-columns: 1fr; gap: 6px; }
  .srow--head { display: none; }
  .nav__links.open {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: #000;
    border-bottom: 1px solid var(--line);
  }
  .nav__links.open li { border-top: 1px solid var(--line); }
  .nav__links.open a { display: block; padding: 18px 6vw; }
  .hero__inner { grid-template-columns: 1fr; text-align: center; }
  .hero__orbit { display: none; } /* chhoti screen par floating cards hata do */
  .hero__side--right { text-align: center; }
  .footer__main { grid-template-columns: 1fr 1fr; }
  .footer__strip { grid-template-columns: repeat(3, 1fr); }
  .about__shots { position: static; margin-top: 40px; }
}
@media (max-width: 620px) {
  #prompt-list { grid-template-columns: 1fr; }
  .prompt-card__top { grid-template-columns: 1fr; }
  .ba { max-height: none; }
  .ba__vs { display: none; }
  .footer__main { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
  .tips { grid-template-columns: 1fr; }
  .faq-body { padding-right: 6px; }
}

/* ---------- content protection ---------- */
img {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-user-drag: none;
  -khtml-user-drag: none;
  -webkit-touch-callout: none;
}
.prot-toast {
  position: fixed;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%) translateY(14px);
  background: rgba(15, 15, 15, 0.94);
  border: 1px solid rgba(240, 180, 41, 0.45);
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 12px 20px;
  border-radius: 10px;
  z-index: 300;
  opacity: 0;
  pointer-events: none;
  transition: 0.28s cubic-bezier(0.2, 0.8, 0.2, 1);
  backdrop-filter: blur(10px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  white-space: nowrap;
}
.prot-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ---------- sort dropdown (prompts page) ---------- */
.sortby {
  appearance: none;
  -webkit-appearance: none;
  background: rgba(255, 255, 255, 0.03)
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6'><path d='M1 1l4 4 4-4' stroke='%23f0b429' stroke-width='1.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>")
    no-repeat right 14px center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--text);
  padding: 10px 36px 10px 18px;
  border-radius: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: 0.2s;
}
.sortby:hover,
.sortby:focus {
  border-color: rgba(240, 180, 41, 0.5);
  background-color: rgba(255, 255, 255, 0.07);
  outline: none;
}
.sortby option {
  background: #101010;
  color: var(--text);
  letter-spacing: 0.08em;
}

/* ---------- pagination ---------- */
.pager {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin: 48px 0 10px;
  flex-wrap: wrap;
}
.pager button {
  min-width: 44px;
  height: 44px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: 0.2s;
}
.pager button:hover:not(:disabled):not(.active) {
  border-color: rgba(240, 180, 41, 0.5);
  background: rgba(240, 180, 41, 0.08);
  transform: translateY(-1px);
}
.pager button.active {
  background: linear-gradient(180deg, #ffe3a1 0%, #f0b429 55%, #d9990f 100%);
  color: #1c1305;
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    0 8px 20px -8px rgba(240, 180, 41, 0.55);
}
.pager button:disabled {
  opacity: 0.35;
  cursor: default;
}
.pager .pager-dots {
  color: var(--muted);
  font-family: var(--font-mono);
  padding: 0 2px;
}

/* ---------- lenis heavy smooth scroll ---------- */
html.lenis,
html.lenis body {
  height: auto;
}
/* ---------- am-arc inspired stacked pin section — 4 cards ---------- */
.arc-stack{height:400vh;position:relative;background:#000;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.arc-stack__pin{position:sticky;top:0;height:100vh;min-height:560px;overflow:hidden;display:flex;align-items:center}
.arc-stack__grid{display:grid;grid-template-columns:1fr 1.05fr;gap:32px;align-items:center;width:100%;height:100%;padding:42px 0}
.arc-left{position:relative;min-height:360px;display:flex;flex-direction:column;justify-content:center}
.arc-text{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:center;opacity:0;transform:translateY(18px);pointer-events:none;/* scrub se control — no transition */}
.arc-text.active{opacity:1;transform:none;pointer-events:auto}
.arc-num{font-family:var(--font-mono);font-size:11px;letter-spacing:.18em;text-transform:uppercase;color:var(--muted);margin-bottom:14px}
.arc-text h3{font-family:var(--font-body);font-weight:800;font-size:clamp(36px,4.6vw,64px);line-height:.95;letter-spacing:-.02em;color:#fff}
.arc-text p{font-family:var(--font-mono);font-size:12px;line-height:1.9;color:#8b8b8b;max-width:380px;margin:16px 0 22px}
.arc-btn{display:inline-flex;align-items:center;justify-content:center;min-width:132px;padding:12px 22px;border-radius:999px;border:1px solid rgba(255,255,255,.9);color:#fff;font-family:var(--font-body);font-size:13px;font-weight:600;transition:.2s}
.arc-btn:hover{background:#fff;color:#000;transform:translateY(-1px)}
.arc-dots{display:flex;gap:8px;margin-top:26px;position:relative;z-index:2}
.arc-dots span{width:28px;height:3px;border-radius:999px;background:rgba(255,255,255,.18);transition:.3s}
.arc-dots span.on{background:#fff;width:36px}
.arc-cards-wrap{display:flex;align-items:center;justify-content:center;height:100%}
.arc-cards{position:relative;width:min(560px,46vw);height:min(640px,74vh);min-height:420px;border-radius:44px;overflow:hidden;isolation:isolate;background:#0f0f0f}
.arc-card{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;padding:clamp(14px,2vw,28px);background:var(--tint,#1a1a1a);transform:translateY(100%);will-change:transform;backface-visibility:hidden}
/* JS scrub se control — no transition, scroll jitna karo utna slide */
.arc-card[data-arc="0"]{transform:translateY(0)}
.arc-card__inner{display:block;width:100%;height:100%;display:grid;place-items:center}
.arc-card__inner img{width:72%;height:auto;max-height:86%;object-fit:contain;border-radius:8px;box-shadow:0 40px 80px rgba(0,0,0,.45),0 12px 28px rgba(0,0,0,.4);transform:translateZ(0)}
.arc-drag{position:absolute;right:18px;top:50%;transform:translateY(-50%);width:52px;height:52px;border-radius:50%;background:rgba(255,255,255,.92);color:#000;display:grid;place-items:center;font-family:var(--font-mono);font-size:9px;letter-spacing:.12em;text-transform:uppercase;pointer-events:none;box-shadow:0 10px 24px rgba(0,0,0,.35);opacity:.95}
@media(max-width:900px){
  .arc-stack{height:auto}
  .arc-stack__pin{position:relative;height:auto;min-height:auto;padding:36px 0}
  .arc-stack__grid{grid-template-columns:1fr;gap:28px}
  .arc-left{min-height:220px}
  .arc-text{position:relative;opacity:0;display:none}
  .arc-text.active{display:flex;opacity:1;transform:none}
  .arc-cards{width:100%;height:520px;min-height:0}
}
@media(max-width:560px){.arc-cards{height:460px;border-radius:32px}.arc-drag{display:none}}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}
.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}
.lenis.lenis-stopped {
  overflow: hidden;
}

/* ============================================================
   MOBILE POLISH — PC layout unchanged (only max-width overrides)
   ============================================================ */

/* tap target & iOS zoom prevention */
@media (max-width: 1020px) {
  html { -webkit-text-size-adjust: 100%; }
  body { overflow-x: hidden; }
  /* header safe-height */
  .header { position: sticky; top: 0; }
  .nav { padding: 10px 0; min-height: 64px; }
  .logo__img { height: 46px !important; }
  .nav__right { gap: 10px; }
  .nav__right .btn--lime { padding: 11px 16px; font-size: 12px; }
  .theme-toggle { width: 40px; height: 40px; }

  /* mobile menu — full width drawer style */
  .nav__links.open {
    max-height: calc(100dvh - 64px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    box-shadow: 0 16px 40px rgba(0,0,0,.45);
    z-index: 60;
  }
  .nav__links.open a { font-size: 13px; letter-spacing: .14em; }
  body.nav-open { overflow: hidden; }

  /* hero — stack & keep readable */
  .hero { padding: 28px 0 32px; }
  .hero__word { font-size: clamp(72px, 26vw, 180px); top: 38%; opacity: .9; }
  .hero__inner { gap: 22px; min-height: auto !important; text-align: center; }
  .hero__side:first-child,
  .hero__side--right { justify-self: center; padding: 0; text-align: center; max-width: 520px; margin: 0 auto; }
  .hero__card { align-self: center; padding-bottom: 0; }
  .hero__cta { margin-top: 18px; transform: none !important; width: 100%; max-width: 320px; justify-content: center; }
  .hero__scroll { margin-top: 28px; }

  /* floating orbit — keep visible but smaller, no overflow */
  .hero__orbit { inset: 6% 0 auto 0; height: 320px; }
  .hero__orbit.is-draggable { height: 300px; }
  .hero__float { --hf-size: clamp(110px, 28vw, 170px) !important; }
  .hf__in { padding: 8px; border-radius: 18px; }
  .hf__in img { border-radius: 12px; }

  /* sections */
  .section { padding: 56px 0; }
  .section__head { flex-direction: column; align-items: flex-start; gap: 14px; }
  .section__title { font-size: clamp(32px, 9vw, 56px); }
  .page-hero { padding: 36px 0 28px; }
  .page-hero__word { font-size: clamp(56px, 18vw, 120px); }
  .page-hero__desc { font-size: 11px; line-height: 1.9; }

  /* filters — horizontal scroll on mobile */
  .filters { flex-wrap: nowrap; overflow-x: auto; overflow-y: hidden; padding-bottom: 6px; margin-bottom: 22px;
    scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .filters::-webkit-scrollbar { display: none; }
  .pill { flex: 0 0 auto; white-space: nowrap; }
  .sortby { flex: 0 0 auto; }

  /* cards / grids */
  .cards-row { grid-auto-columns: minmax(260px, 82vw); gap: 14px; padding-bottom: 14px; scroll-padding-left: 4vw; }
  .gal-grid { columns: 2 140px; column-gap: 12px; }
  .gal-item { margin-bottom: 12px; }
  .gal-item__over { opacity: 1; transform: none; padding: 12px; }
  .gal-item__name { font-size: 15px; }

  #prompt-list { gap: 16px; }
  .prompt-card__top { gap: 0; }
  .ba__img { aspect-ratio: 4/3; }

  .about { padding: 60px 0; }
  .about__mark { font-size: clamp(160px, 48vw, 300px); opacity: .5; }
  .about__text { max-width: 100%; }
  .about__shots { justify-content: center; flex-wrap: wrap; }
  .about__shots img { width: 140px; }
  .about__shots img:nth-child(2) { transform: none; }

  .statement { padding: 70px 0; }
  .statement__text { font-size: clamp(26px, 7vw, 44px); padding: 0 2vw; }

  .tips { gap: 14px; }
  .faq-body { padding: 0 6px 18px 0; font-size: 12px; }

  .footer__strip { gap: 8px; }
  .footer__strip img { aspect-ratio: 1; }
  .footer__main { gap: 28px; }
  .newsletter input { font-size: 16px; } /* prevent iOS zoom */
  .mascot { width: 54px; height: 54px; right: 14px; bottom: 14px; }
}

@media (max-width: 620px) {
  .container { width: min(1360px, 94vw); }
  .nav { gap: 12px; }
  .logo__img { height: 40px !important; padding: 4px 7px !important; }
  .nav__right .btn--lime { padding: 10px 14px; font-size: 11px; letter-spacing: .08em; }
  .hero { padding: 22px 0 26px; }
  .hero__word { font-size: clamp(62px, 22vw, 110px); top: 32%; -webkit-text-stroke-width: .8px; }
  .hero__side { font-size: 10px; line-height: 1.9; }
  .hero__orbit { display: none !important; } /* very small screens: hide orbit to avoid clutter */
  .hero:has(.hero__orbit.is-draggable) .hero__orbit.is-draggable { display: none !important; }

  .featured__stage { --fpw: clamp(120px, 38vw, 180px); height: clamp(260px, 88vw, 340px); }

  .gal-grid { columns: 1 100%; }
  .pager { gap: 8px; flex-wrap: wrap; }
  .srow { padding: 14px; }
  .step { padding: 22px 18px; }

  .footer__strip { grid-template-columns: repeat(3, 1fr); }
  .footer__bottom { flex-direction: column; gap: 8px; text-align: center; }

  .arc-cards { height: 420px; border-radius: 24px; }
  .arc-text h3 { font-size: clamp(28px, 8vw, 38px); }
}

@media (max-width: 380px) {
  .nav__right .btn--lime { display: none; } /* keep header clean on tiny phones */
  .hero__word { font-size: 58px; }
  .pill { padding: 9px 14px; font-size: 10px; }
  .cards-row { grid-auto-columns: 86vw; }
  .footer__strip { grid-template-columns: repeat(2, 1fr); }
}

/* safe-area for notched phones */
@supports (padding: max(0px)) {
  .header, .ticker, .footer { padding-left: max(0px, env(safe-area-inset-left)); padding-right: max(0px, env(safe-area-inset-right)); }
}

/* reduce motion on mobile if user prefers */
@media (max-width: 700px) and (prefers-reduced-motion: reduce) {
  .hf__in, .hero__float { animation: none !important; }
}
