/* =========================================================
   Design tokens
   ========================================================= */
:root {
  --ink-0: #0b0518;
  --ink-1: #120828;
  --ink-2: #1b0f3a;
  --ink-3: #27154f;
  --brick: #2a1650;
  --text: #f7f2ff;
  --muted: #c2b7e3;
  --muted-2: #9d91c4;
  --line: rgba(220, 200, 255, 0.12);
  --line-2: rgba(220, 200, 255, 0.22);

  --pink: #ff4fd8;
  --cyan: #4fe3ff;
  --amber: #ffc46b;
  --violet: #a77bff;
  --window: #ffd27a;

  --font-body: "Barlow", "Helvetica Neue", Arial, sans-serif;
  --font-sign: "Barlow Condensed", "Arial Narrow", "Helvetica Neue", sans-serif;
  --font-neon: "Tilt Neon", "Arial Rounded MT Bold", "Trebuchet MS", sans-serif;
  --font-script: "Yellowtail", "Brush Script MT", cursive;

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --section-y: clamp(56px, 7vw, 96px);
  --header-h: 68px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --t-fast: 160ms;
  --t-med: 320ms;
  color-scheme: dark;
}

/* =========================================================
   Base
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--ink-1);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
html.is-locked { overflow: hidden; }
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
h1, h2, h3, h4 { margin: 0; line-height: 1.1; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: rgba(255, 79, 216, 0.35); color: #fff; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.icon { width: 1.15em; height: 1.15em; flex: none; }
.skip-link {
  position: fixed; left: 16px; top: -60px; z-index: 200;
  background: var(--text); color: var(--ink-0);
  padding: 10px 16px; border-radius: var(--r-sm); font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* =========================================================
   Neon signage
   ========================================================= */
.neon {
  --glow: var(--pink);
  display: inline-block;
  font-family: var(--font-neon);
  font-weight: 400;
  font-size: clamp(32px, 4.4vw, 54px);
  line-height: 1.12;
  letter-spacing: 0.01em;
  color: color-mix(in srgb, var(--glow) 22%, #fff);
  text-shadow:
    0 0 1px #fff,
    0 0 4px var(--glow),
    0 0 11px var(--glow),
    0 0 24px var(--glow),
    0 0 46px color-mix(in srgb, var(--glow) 70%, transparent);
}
.neon--pink { --glow: var(--pink); }
.neon--cyan { --glow: var(--cyan); }
.neon--amber { --glow: #ffae42; }
/* framed tube sign */
.neon--framed {
  padding: 0.18em 0.6em 0.24em;
  border: 2px solid color-mix(in srgb, var(--glow) 40%, #fff);
  border-radius: 18px;
  box-shadow: 0 0 6px var(--glow), 0 0 18px color-mix(in srgb, var(--glow) 60%, transparent), inset 0 0 12px color-mix(in srgb, var(--glow) 45%, transparent);
  background: rgba(11, 5, 24, 0.45);
}

.neon-script {
  --glow: var(--pink);
  display: inline-block;
  font-family: var(--font-script);
  font-weight: 400;
  color: color-mix(in srgb, var(--glow) 18%, #fff);
  text-shadow:
    0 0 1px #fff,
    0 0 5px var(--glow),
    0 0 14px var(--glow),
    0 0 30px var(--glow),
    0 0 60px color-mix(in srgb, var(--glow) 60%, transparent);
}
.neon-script--cyan { --glow: var(--cyan); }
.neon-script::selection, .neon-script *::selection {
  background: transparent;
  color: #fff;
  text-shadow: 0 0 2px #fff, 0 0 8px var(--glow), 0 0 22px var(--glow), 0 0 44px var(--glow), 0 0 80px var(--glow);
}

/* Signs switch on with a flicker when they come into view, then buzz now and then */
.js [data-neon] { opacity: 0.22; }
.js [data-neon].is-lit { opacity: 1; animation: neon-on 1.5s linear both; }
.js [data-neon].is-lit .buzz { animation: buzz 7s linear 2s infinite; }
@keyframes neon-on {
  0% { opacity: 0.22; }
  8% { opacity: 1; }
  11% { opacity: 0.25; }
  18% { opacity: 1; }
  21% { opacity: 0.3; }
  36% { opacity: 0.3; }
  40% { opacity: 1; }
  100% { opacity: 1; }
}
@keyframes buzz {
  0%, 90%, 100% { opacity: 1; }
  91% { opacity: 0.35; }
  92% { opacity: 1; }
  94% { opacity: 0.5; }
  95% { opacity: 1; }
}

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 46px; padding: 0 20px;
  border-radius: 10px; border: 1px solid transparent;
  font-family: var(--font-body); font-weight: 600; font-size: 16px; letter-spacing: 0.005em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform var(--t-fast) var(--ease), background-color var(--t-med), border-color var(--t-med), color var(--t-med);
}
.btn > .icon:last-of-type { width: 1.05em; height: 1.05em; transition: transform var(--t-med) var(--ease); }
.btn:hover > .icon:last-of-type { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--amber); color: #23103b; }
.btn--primary:hover { background: #ffd28c; }
.btn--ghost { border-color: rgba(220, 200, 255, 0.3); background: rgba(255, 255, 255, 0.04); color: var(--text); }
.btn--ghost:hover { border-color: rgba(220, 200, 255, 0.6); background: rgba(255, 255, 255, 0.08); }
.btn--sm { min-height: 38px; padding: 0 14px; font-size: 15px; }
.btn--lg { min-height: 52px; padding: 0 24px; font-size: 17px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: 0.6; cursor: progress; }

.icon-btn {
  display: inline-grid; place-items: center; width: 42px; height: 42px;
  border-radius: 12px; border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, 0.04); color: var(--text); cursor: pointer;
}
.icon-btn:hover { border-color: var(--cyan); }

.dots { display: inline-flex; gap: 6px; }
.dots i { width: 9px; height: 9px; border-radius: 50%; background: #4a3a6e; display: block; }

/* =========================================================
   Brand + navigation
   ========================================================= */
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; }
.brand__mark {
  display: grid; grid-template-columns: repeat(2, 8px); gap: 3px; padding: 6px;
  border-radius: 8px; border: 1px solid var(--line-2); background: var(--ink-2);
}
.brand__mark i { width: 8px; height: 8px; border-radius: 2px; background: #3a2766; }
.brand__mark i:nth-child(2) { background: var(--window); box-shadow: 0 0 8px var(--window); }
.brand__mark i:nth-child(3) { background: var(--pink); box-shadow: 0 0 6px var(--pink); }
.brand__name { font-family: var(--font-sign); font-weight: 700; font-size: 21px; letter-spacing: 0.02em; }

.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h);
  border-bottom: 1px solid transparent;
  transition: background-color var(--t-med), border-color var(--t-med);
}
.site-header.is-scrolled {
  background: rgba(18, 8, 40, 0.8);
  backdrop-filter: blur(14px) saturate(150%); -webkit-backdrop-filter: blur(14px) saturate(150%);
  border-bottom-color: var(--line);
}
.nav { height: 100%; display: flex; align-items: center; gap: 24px; }
.nav .brand { margin-right: auto; }
.nav__links { display: flex; align-items: center; gap: 2px; }
.nav__links a[data-nav] {
  position: relative; display: inline-flex; align-items: center;
  min-height: 40px; padding: 0 14px;
  font-family: var(--font-sign); font-size: 18px; font-weight: 600; letter-spacing: 0.03em;
  color: var(--muted); text-decoration: none;
  transition: color var(--t-fast), text-shadow var(--t-fast);
}
.nav__links a[data-nav]:hover,
.nav__links a[data-nav][aria-current="true"] { color: #fff; text-shadow: 0 0 10px var(--pink); }
.nav__links a[data-nav]::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 5px; height: 2px; border-radius: 2px;
  background: var(--pink); box-shadow: 0 0 8px var(--pink);
  transform: scaleX(0); transition: transform var(--t-med) var(--ease);
}
.nav__links a[data-nav][aria-current="true"]::after { transform: scaleX(1); }
.nav__cta-mobile { display: none; }
.nav__toggle {
  display: none; width: 44px; height: 44px; place-items: center;
  border-radius: 12px; border: 1px solid var(--line-2); background: rgba(27, 15, 58, 0.7); cursor: pointer;
}
.nav__toggle .icon { width: 22px; height: 22px; }
.nav__toggle .icon--close { display: none; }
.nav__toggle[aria-expanded="true"] .icon--open { display: none; }
.nav__toggle[aria-expanded="true"] .icon--close { display: block; }

/* =========================================================
   The city (sky, searchlights, generated skyline)
   ========================================================= */
.city {
  position: absolute; inset: 0; z-index: -1; overflow: hidden;
  background: linear-gradient(180deg, #0c0522 0%, #1d0b47 30%, #3d1574 52%, #7a2391 70%, #c8448e 84%, #ff8a6e 95%, #ffb07a 100%);
}
.city::after {
  /* keeps the headline readable over the lit skyline */
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(11, 5, 24, 0.86) 0%, rgba(11, 5, 24, 0.55) 38%, rgba(11, 5, 24, 0.05) 68%),
              linear-gradient(0deg, var(--ink-1) 0%, transparent 12%);
}
.city__stars {
  position: absolute; inset: 0 0 45% 0;
  background-image:
    radial-gradient(1.2px 1.2px at 12% 18%, #fff, transparent),
    radial-gradient(1px 1px at 28% 8%, #fff, transparent),
    radial-gradient(1.4px 1.4px at 46% 22%, #ffe9ff, transparent),
    radial-gradient(1px 1px at 63% 12%, #fff, transparent),
    radial-gradient(1.3px 1.3px at 78% 30%, #fff, transparent),
    radial-gradient(1px 1px at 88% 9%, #fff, transparent),
    radial-gradient(1px 1px at 36% 34%, #fff, transparent),
    radial-gradient(1.2px 1.2px at 94% 24%, #fff, transparent),
    radial-gradient(1px 1px at 6% 40%, #fff, transparent),
    radial-gradient(1px 1px at 55% 5%, #fff, transparent);
  opacity: 0.8;
  animation: twinkle 6s ease-in-out infinite alternate;
}
@keyframes twinkle { to { opacity: 0.45; } }
.city__moon {
  position: absolute; top: 6%; left: 72%;
  width: 96px; height: 96px; border-radius: 50%;
  background: radial-gradient(circle at 40% 38%, #fff6e3, #ffd9b0 60%, #f4b7a0);
  box-shadow: 0 0 40px 10px rgba(255, 210, 170, 0.35), 0 0 140px 60px rgba(255, 140, 200, 0.18);
  opacity: 0.92;
}
.city__beams { position: absolute; inset: 0; mix-blend-mode: screen; }
.city__beams i {
  position: absolute; bottom: 8%; width: 160px; height: 120%;
  margin-left: -80px;
  background: linear-gradient(0deg, rgba(255, 230, 255, 0.42), rgba(220, 200, 255, 0.1) 60%, transparent 90%);
  clip-path: polygon(47% 100%, 53% 100%, 100% 0, 0 0);
  transform-origin: 50% 100%;
  filter: blur(1.5px);
  animation: sweep 16s ease-in-out infinite alternate;
}
.city__beams i:nth-child(1) { left: 22%; transform: rotate(-22deg); }
.city__beams i:nth-child(2) { left: 66%; animation-duration: 21s; animation-delay: -7s; }
.city__beams i:nth-child(3) { left: 88%; animation-duration: 18s; animation-delay: -12s; opacity: 0.7; }
@keyframes sweep { from { transform: rotate(-24deg); } to { transform: rotate(20deg); } }
.city__skyline { position: absolute; left: 0; right: 0; bottom: 0; height: 74%; }
.city__skyline svg { display: block; width: 100%; height: 100%; }
.city__skyline .w { fill: var(--window); }
.city__skyline .w--pink { fill: #ff8ad8; }
.city__skyline .w--cyan { fill: #8cf0ff; }
.city__skyline .w--flick { animation: window-flick 11s steps(1) infinite; }
.city__skyline .w--flick:nth-of-type(3n) { animation-duration: 15s; animation-delay: -5s; }
.city__skyline .w--flick:nth-of-type(4n) { animation-duration: 19s; animation-delay: -9s; }
@keyframes window-flick { 0%, 100% { opacity: 1; } 40% { opacity: 0.1; } 47% { opacity: 1; } 70% { opacity: 0.15; } 72% { opacity: 1; } }
.city__skyline .beacon { animation: beacon 2.4s ease-in-out infinite; }
@keyframes beacon { 50% { opacity: 0.15; } }

.city__street {
  position: absolute; left: 0; right: 0; bottom: 0; height: 44px; overflow: hidden;
  background: linear-gradient(180deg, transparent, rgba(11, 5, 24, 0.9));
}
.trail { position: absolute; top: 18px; height: 3px; width: 200px; border-radius: 3px; animation: trail 10s linear infinite; }
.trail--a { background: linear-gradient(90deg, transparent, #ffd27a); box-shadow: 0 0 14px #ffd27a; }
.trail--b { top: 28px; width: 150px; animation-duration: 14s; animation-delay: -5s; animation-direction: reverse; background: linear-gradient(90deg, #ff5a7a, transparent); box-shadow: 0 0 14px #ff5a7a; }
@keyframes trail { from { transform: translateX(-240px); } to { transform: translateX(110vw); } }

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative; isolation: isolate;
  min-height: min(100svh, 900px);
  padding: calc(var(--header-h) + clamp(28px, 5vw, 64px)) 0 clamp(64px, 8vw, 100px);
  display: flex; align-items: center;
}
.hero__inner {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 64px); align-items: center;
}
.kicker {
  font-family: var(--font-sign); font-weight: 600; font-size: 16px;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--amber);
}
.hero__title { margin-top: 14px; }
.hero__title-main {
  display: block;
  font-family: var(--font-sign); font-weight: 800; text-transform: uppercase;
  font-size: clamp(44px, 5.4vw, 78px); line-height: 0.92; letter-spacing: 0.005em;
}
.hero__title .neon-script {
  font-size: clamp(76px, 9vw, 136px); line-height: 0.9;
  margin: -0.12em 0 0 0.04em;
  transform: rotate(-5deg); transform-origin: left center;
}
.hero__lede { margin-top: 12px; font-size: clamp(17px, 1.5vw, 20px); color: #ddd4f5; max-width: 44ch; }
.hero__actions { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero__perks { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 15.5px; color: var(--muted); }
.hero__perks li::before { content: ""; display: inline-block; vertical-align: middle; width: 6px; height: 6px; margin: -2px 8px 0 0; border-radius: 50%; background: var(--window); box-shadow: 0 0 8px var(--window); }
.hero__perks strong { color: #fff; font-weight: 600; }

.hero__stage { position: relative; padding-top: 46px; }
.hero__sign {
  position: absolute; top: 0; left: 6px; z-index: 3;
  font-family: var(--font-neon); font-size: 19px; white-space: nowrap;
  color: #ffe3f7; text-shadow: 0 0 4px var(--pink), 0 0 12px var(--pink), 0 0 26px var(--pink);
}
.hero__sign-label { color: var(--muted-2); text-shadow: none; font-family: var(--font-sign); font-weight: 600; font-size: 14px; letter-spacing: 0.14em; text-transform: uppercase; margin-right: 6px; }
.hero__sign-name { transition: opacity var(--t-med); }
.hero__window {
  position: relative;
  border-radius: 14px; overflow: hidden;
  transform: perspective(1600px) rotateY(-6deg);
  transform-origin: left center;
  background: #120a26; border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 0 1px rgba(255, 79, 216, 0.15), 0 40px 90px -30px rgba(255, 79, 216, 0.45), 0 30px 60px -30px #000;
}
.hero__window-bar { display: flex; align-items: center; height: 28px; padding: 0 12px; background: #1f1340; }
.hero__window-screen { position: relative; aspect-ratio: 16 / 10; background: #120a26; }
.hero__window-screen img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: top center;
  opacity: 0; transition: opacity 900ms var(--ease);
}
.hero__window-screen img.is-active { opacity: 1; }
/* Hero intro: plays once on load */
.intro { animation: intro 700ms var(--ease) both; }
.hero__copy .intro:nth-child(2) { animation-delay: 60ms; }
.hero__copy .intro:nth-child(3) { animation-delay: 120ms; }
.hero__copy .intro:nth-child(4) { animation-delay: 170ms; }
.hero__copy .intro:nth-child(5) { animation-delay: 210ms; }
.hero__stage.intro { animation-delay: 150ms; animation-duration: 900ms; }
@keyframes intro { from { opacity: 0; transform: translateY(12px); } }

/* =========================================================
   Sections
   ========================================================= */
.section { position: relative; padding: var(--section-y) 0; }
.section-head { margin-bottom: clamp(28px, 4vw, 44px); max-width: 760px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-lede { margin-top: 14px; color: var(--muted); font-size: clamp(16px, 1.4vw, 18.5px); max-width: 56ch; }
.section-head--center .section-lede { margin-inline: auto; }

/* =========================================================
   Portfolio: storefronts on a street
   ========================================================= */
.work {
  background:
    radial-gradient(900px 420px at 50% 0%, rgba(255, 79, 216, 0.14), transparent 70%),
    linear-gradient(180deg, var(--ink-1), #160a33);
}
.street {
  position: relative;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 44px 18px;
  padding-bottom: 6px;
}
.shop { --accent: var(--pink); position: relative; display: flex; flex-direction: column; }
.shop::after {
  /* sidewalk under each storefront */
  content: ""; display: block; height: 10px; margin: 0 -9px;
  background: linear-gradient(180deg, #3a2466, #1c0f3a);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.shop__btn {
  position: relative; display: flex; flex-direction: column; flex: 1;
  width: 100%; padding: 0; text-align: left; cursor: pointer;
  border: 0; border-radius: 10px 10px 0 0;
  background:
    repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.22) 0 1px, transparent 1px 13px),
    repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.16) 0 1px, transparent 1px 26px),
    linear-gradient(180deg, color-mix(in srgb, var(--accent) 10%, var(--brick)), #1d0e3c);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.07);
  transition: transform var(--t-med) var(--ease);
}
.shop__btn:hover { transform: translateY(-3px); }
.shop__btn:focus-visible { outline-offset: 4px; }
.shop__cornice {
  height: 16px; border-radius: 10px 10px 0 0;
  background: linear-gradient(180deg, #4a2f80, #2d1a58);
  border-bottom: 3px solid #1a0d36;
}
.shop:nth-child(3n+2) .shop__cornice { height: 26px; }
.shop:nth-child(3n) .shop__cornice { height: 10px; }
.shop__sign {
  align-self: center;
  margin: 14px 16px 12px;
  padding: 6px 16px 8px;
  border-radius: 10px;
  background: rgba(11, 5, 24, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-family: var(--font-neon); font-size: clamp(20px, 2vw, 26px); line-height: 1.15; text-align: center;
  color: color-mix(in srgb, var(--accent) 22%, #fff);
  text-shadow: 0 0 2px #fff, 0 0 6px var(--accent), 0 0 16px var(--accent), 0 0 30px var(--accent);
}
.shop.is-lit .shop__sign .buzz { animation: buzz 9s linear infinite; }
.shop:nth-child(2) .shop__sign .buzz { animation-delay: -3s; }
.shop:nth-child(3) .shop__sign .buzz { animation-delay: -6s; }
.shop__awning {
  height: 22px; margin: 0 12px;
  background: repeating-linear-gradient(90deg, var(--accent) 0 18px, #f5ecff 18px 36px);
  -webkit-mask: radial-gradient(10px 7px at 9px 100%, transparent 98%, #000) 0 0 / 18px 100%;
          mask: radial-gradient(10px 7px at 9px 100%, transparent 98%, #000) 0 0 / 18px 100%;
  opacity: 0.85;
  filter: saturate(0.9) brightness(0.92);
}
.shop__window {
  position: relative; margin: 0 16px;
  aspect-ratio: 4 / 3.2;
  border: 6px solid #160b30;
  border-radius: 4px;
  overflow: hidden;
  background: #fff;
  container-type: size;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1), 0 0 40px -6px color-mix(in srgb, var(--accent) 60%, transparent);
}
.shop__window img {
  position: absolute; top: 0; left: 0; width: 100%; height: auto;
  will-change: transform;
}
.shop.is-running .shop__window img { animation: browse 34s ease-in-out infinite alternate; }
.shop__btn:hover .shop__window img, .shop__btn:focus-visible .shop__window img { animation-play-state: paused; }
@keyframes browse {
  0%, 8% { transform: translateY(0); }
  92%, 100% { transform: translateY(calc(-100% + 100cqh)); }
}
.shop__window::after {
  /* glass reflection */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.16) 0%, transparent 26%, transparent 72%, rgba(255, 255, 255, 0.06));
}
.shop__enter {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) scale(0.96);
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 16px; border-radius: 10px;
  background: rgba(11, 5, 24, 0.88); color: #fff;
  font-family: var(--font-body); font-weight: 600; font-size: 15px;
  border: 1px solid color-mix(in srgb, var(--accent) 70%, transparent);
  box-shadow: 0 0 20px -4px var(--accent);
  white-space: nowrap;
  opacity: 0; transition: opacity var(--t-med), transform var(--t-med) var(--ease);
}
.shop__btn:hover .shop__enter, .shop__btn:focus-visible .shop__enter { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.shop__base {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  margin: 0 16px; padding: 12px 2px 14px;
  border-top: 4px solid #160b30;
}
.shop__meta { font-size: 15px; color: var(--muted); }
.shop__go {
  display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
  font-weight: 600; font-size: 15px;
  color: color-mix(in srgb, var(--accent) 35%, #fff);
}
.shop__glow {
  /* window light spilling onto the sidewalk */
  position: absolute; left: 10%; right: 10%; bottom: -14px; height: 26px; pointer-events: none;
  background: radial-gradient(ellipse at top, color-mix(in srgb, var(--accent) 45%, transparent), transparent 70%);
  filter: blur(6px); z-index: 1;
}

.work__cta {
  margin-top: clamp(28px, 4vw, 40px);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 20px;
  font-family: var(--font-sign); font-size: 22px; font-weight: 600;
}

/* =========================================================
   Project viewer dialog
   ========================================================= */
.viewer {
  width: min(1200px, calc(100vw - 32px));
  height: min(920px, calc(100dvh - 32px));
  max-width: none; max-height: none;
  padding: 0; border: 0; border-radius: 20px;
  background: var(--ink-1); color: var(--text);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1), 0 40px 120px -20px rgba(0, 0, 0, 0.9), 0 0 80px -30px var(--accent, var(--pink));
  overflow: hidden;
}
.viewer::backdrop { background: rgba(8, 3, 20, 0.82); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.viewer[open] { animation: pop 260ms var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(0.985); } }
.viewer__panel { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; height: 100%; }
.viewer__head {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  padding: 14px 16px 14px 22px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, var(--ink-2), var(--ink-1));
}
.viewer__title { margin-right: auto; min-width: 0; }
.viewer__name {
  font-family: var(--font-neon); font-weight: 400; font-size: 26px;
  color: color-mix(in srgb, var(--accent, var(--pink)) 22%, #fff);
  text-shadow: 0 0 4px var(--accent, var(--pink)), 0 0 14px var(--accent, var(--pink));
}
.viewer__meta { margin-top: 2px; font-size: 14.5px; color: var(--muted); }

.viewer__body {
  position: relative; overflow: hidden;
  background: radial-gradient(700px 300px at 50% 0%, color-mix(in srgb, var(--accent, var(--pink)) 14%, transparent), transparent 70%), #0d061e;
}
.viewer__stage { position: absolute; inset: 0; display: flex; justify-content: center; transition: opacity 220ms var(--ease); }
.viewer__stage.is-switching { opacity: 0; }
.frame { position: relative; width: 100%; height: 100%; background: #fff; }
.frame iframe { display: block; width: 100%; height: 100%; border: 0; background: #fff; }
.capture {
  height: 100%; overflow-y: auto; overscroll-behavior: contain;
  scrollbar-width: thin; scrollbar-color: rgba(157, 145, 196, 0.5) transparent;
}
.capture img { width: 100%; height: auto; }
.viewer__loading {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  background: rgba(13, 6, 30, 0.92); color: var(--muted);
}
.loader { display: inline-flex; gap: 6px; }
.loader i { width: 10px; height: 14px; border-radius: 2px; background: var(--window); animation: windows 1.4s ease-in-out infinite; }
.loader i:nth-child(2) { animation-delay: 0.2s; background: var(--pink); }
.loader i:nth-child(3) { animation-delay: 0.4s; }
@keyframes windows { 0%, 100% { opacity: 0.2; } 40% { opacity: 1; } }
.viewer__fallback { position: absolute; inset: 0; display: grid; place-items: center; padding: 24px; text-align: center; background: #0d061e; }
.viewer__fallback p { color: var(--muted); margin: 10px auto 18px; }

.viewer__foot {
  display: flex; gap: 20px 32px; align-items: center; flex-wrap: wrap;
  padding: 16px 22px; border-top: 1px solid var(--line); background: var(--ink-2);
}
.viewer__about { flex: 1 1 420px; min-width: 0; }
.viewer__desc { color: #e2daf7; font-size: 15.5px; max-width: 80ch; }
.viewer__note { margin-top: 8px; color: var(--muted-2); font-size: 13.5px; }
.viewer__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.tags { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 6px; }
.tags li { padding: 4px 11px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 13.5px; color: var(--muted); }

/* =========================================================
   Services + process
   ========================================================= */
.services { background: linear-gradient(180deg, #160a33, var(--ink-1)); }
.features {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 26px 28px;
}
.feature { display: flex; gap: 14px; align-items: flex-start; }
.feature > .icon {
  width: 40px; height: 40px; padding: 9px; border-radius: 12px;
  color: var(--cyan); background: rgba(79, 227, 255, 0.08);
  border: 1px solid rgba(79, 227, 255, 0.35);
  box-shadow: 0 0 16px -6px var(--cyan);
}
.feature h3 { font-family: var(--font-sign); font-weight: 700; font-size: 20px; letter-spacing: 0.01em; }
.feature p { margin-top: 4px; color: var(--muted); font-size: 15.5px; line-height: 1.45; }

.process {
  margin-top: clamp(32px, 5vw, 52px);
  display: grid; grid-template-columns: 160px 1fr; gap: 20px 28px; align-items: center;
  padding: 22px 26px; border-radius: var(--r-lg);
  background: linear-gradient(90deg, rgba(255, 79, 216, 0.08), rgba(79, 227, 255, 0.06));
  border: 1px solid var(--line);
}
.process__title { font-family: var(--font-neon); font-weight: 400; font-size: 26px; color: #fff; text-shadow: 0 0 10px var(--pink); }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.step { display: flex; gap: 14px; align-items: flex-start; }
.step__num {
  flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
  font-family: var(--font-neon); font-size: 20px; color: #fff4d9;
  border: 2px solid #ffd99a; box-shadow: 0 0 10px #ffae42, inset 0 0 8px #ffae42;
  text-shadow: 0 0 8px #ffae42;
}
.step h4 { font-family: var(--font-sign); font-weight: 700; font-size: 19px; }
.step p { margin-top: 3px; color: var(--muted); font-size: 15px; line-height: 1.45; }
.addons { margin-top: 18px; color: var(--muted-2); font-size: 15px; }
.addons strong { color: var(--amber); font-weight: 600; }

/* =========================================================
   Pricing with a theater marquee
   ========================================================= */
.pricing {
  background:
    radial-gradient(700px 360px at 50% 18%, rgba(255, 174, 66, 0.16), transparent 70%),
    linear-gradient(180deg, var(--ink-1), #1a0c3d);
}
.marquee {
  position: relative; max-width: 680px; margin: 0 auto;
  padding: 12px; border-radius: 20px;
  background: linear-gradient(180deg, #5a2a8e, #2c1557);
  border: 2px solid #7c47bd;
  box-shadow: 0 0 0 4px #1b0c38, 0 0 40px -6px rgba(255, 79, 216, 0.55), 0 30px 60px -30px #000;
}
.marquee__bulbs {
  position: relative; height: 16px; margin: 0 6px;
  background: radial-gradient(circle, #fff3cf 0 2.5px, #ffbb4d 3.5px, transparent 5.5px) 0 50% / 24px 16px repeat-x;
  filter: drop-shadow(0 0 4px #ffb347);
  animation: chase 0.9s steps(1) infinite reverse;
}
.marquee__bulbs::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle, #fff3cf 0 2.5px, #ffbb4d 3.5px, transparent 5.5px) 12px 50% / 24px 16px repeat-x;
  animation: chase 0.9s steps(1) infinite;
}
@keyframes chase { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0.3; } }
.marquee__board {
  margin: 8px 0; padding: 14px 20px 16px;
  border-radius: 8px;
  background: linear-gradient(180deg, #fffaf0, #f1e6d6);
  box-shadow: inset 0 0 0 3px #e3d2bb, inset 0 -10px 20px -10px rgba(120, 60, 20, 0.25), 0 0 40px rgba(255, 220, 160, 0.5);
  text-align: center; color: #23103b;
}
.marquee__line {
  font-family: var(--font-sign); font-weight: 800; text-transform: uppercase;
  font-size: clamp(32px, 5vw, 56px); line-height: 1; letter-spacing: 0.04em;
}
.marquee__line--price { margin-top: 6px; font-size: clamp(22px, 3.2vw, 34px); color: #8a1f74; letter-spacing: 0.06em; }
.quote {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 28px 40px;
  max-width: 980px; margin: clamp(28px, 4vw, 40px) auto 0;
  padding: clamp(24px, 3.4vw, 36px); border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(39, 21, 79, 0.85), rgba(22, 10, 51, 0.9));
  border: 1px solid rgba(255, 196, 107, 0.45);
  box-shadow: 0 30px 70px -36px rgba(255, 174, 66, 0.5);
}
.quote__title { font-family: var(--font-sign); font-weight: 700; font-size: clamp(26px, 2.8vw, 34px); line-height: 1.05; }
.quote__main p { margin-top: 12px; color: var(--muted); }
.quote__main strong { color: #fff; font-weight: 600; }
.quote__main .btn { margin-top: 22px; }
.quote__side { padding-left: 32px; border-left: 1px solid var(--line); }
.quote__label { font-family: var(--font-sign); font-weight: 600; font-size: 15px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--amber); }
.quote__list { margin-top: 14px; display: grid; gap: 12px; }
.quote__list li { display: flex; gap: 10px; align-items: flex-start; font-size: 16px; }
.quote__list .icon { color: var(--amber); margin-top: 3px; width: 17px; height: 17px; }

.pricing__note {
  display: flex; gap: 10px; align-items: flex-start; justify-content: center;
  max-width: 760px; margin: 22px auto 0; color: var(--muted-2); font-size: 14.5px; text-align: left;
}
.pricing__note .icon { margin-top: 2px; }

/* =========================================================
   FAQ
   ========================================================= */
.faq { background: linear-gradient(180deg, #1a0c3d, var(--ink-1)); }
.accordion {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; align-items: start;
  max-width: 1080px; margin: 0 auto;
}
.acc { border-bottom: 1px solid var(--line-2); }
.acc h3 { font: inherit; }
.acc__btn {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  width: 100%; min-height: 58px; padding: 14px 2px;
  border: 0; background: none; cursor: pointer; text-align: left;
  font-family: var(--font-sign); font-size: 19px; font-weight: 600; letter-spacing: 0.01em;
  transition: color var(--t-fast);
}
.acc__btn:hover { color: var(--amber); }
.acc__btn .icon {
  width: 28px; height: 28px; padding: 5px; border-radius: 50%; border: 1px solid var(--line-2); color: var(--muted);
  transition: transform var(--t-med) var(--ease), color var(--t-med), border-color var(--t-med);
}
.acc__btn[aria-expanded="true"] .icon { transform: rotate(45deg); color: var(--amber); border-color: var(--amber); }
.acc__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows var(--t-med) var(--ease); }
.acc__panel > div { overflow: hidden; }
.acc__panel p { padding: 0 40px 16px 2px; color: var(--muted); font-size: 15.5px; }
.acc.is-open .acc__panel { grid-template-rows: 1fr; }
html:not(.js) .acc__panel { grid-template-rows: 1fr; }

/* =========================================================
   Contact
   ========================================================= */
.contact {
  position: relative; isolation: isolate; overflow: hidden;
  padding: var(--section-y) 0 calc(var(--section-y) + 110px);
}
.city--low { background: linear-gradient(180deg, var(--ink-1) 0%, #2a0f5c 45%, #6d2190 75%, #b9408f 100%); }
.city--low::after { background: linear-gradient(180deg, var(--ink-1) 0%, rgba(18, 8, 40, 0.4) 40%, rgba(18, 8, 40, 0.2) 100%); }
.city--low .city__skyline { height: 32%; }
.contact__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.contact__title > span:first-child {
  display: block; font-family: var(--font-sign); font-weight: 800; text-transform: uppercase;
  font-size: clamp(38px, 4.8vw, 64px); line-height: 0.95;
}
.contact__title .neon-script { font-size: clamp(54px, 7vw, 96px); line-height: 1.05; transform: rotate(-4deg); transform-origin: left center; margin-top: 4px; }
.contact__lede { margin-top: 14px; color: #ddd4f5; font-size: 17.5px; max-width: 44ch; }
.contact__points { margin-top: 20px; display: grid; gap: 8px; }
.contact__points li { display: flex; gap: 10px; align-items: center; }
.contact__points .icon { color: var(--amber); width: 18px; height: 18px; }
.contact__direct { margin: 22px 0 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; }
.contact__direct dt { color: var(--muted-2); font-family: var(--font-sign); font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; font-size: 14px; padding-top: 2px; }
.contact__direct dd { margin: 0; }

.form {
  position: relative; display: grid; gap: 14px;
  padding: clamp(20px, 3vw, 32px); border-radius: var(--r-lg);
  background: rgba(22, 10, 51, 0.88);
  border: 1px solid rgba(255, 196, 107, 0.4);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.03) inset, 0 50px 100px -40px rgba(255, 174, 66, 0.5), 0 20px 60px -20px #000;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.form__title { font-family: var(--font-sign); font-weight: 800; font-size: 26px; letter-spacing: 0.03em; text-transform: uppercase; color: var(--amber); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 14.5px; font-weight: 500; color: #e2daf7; }
.optional { color: var(--muted-2); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 46px; padding: 11px 14px; border-radius: 10px;
  border: 1px solid var(--line-2); background: rgba(11, 5, 24, 0.65); font-size: 16px;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.field textarea { resize: vertical; min-height: 92px; line-height: 1.45; }
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23c2b7e3' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
}
.field select option { background: var(--ink-1); }
.field input::placeholder, .field textarea::placeholder { color: #7d70a6; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--amber); box-shadow: 0 0 0 3px rgba(255, 196, 107, 0.2); }
.field [aria-invalid="true"] { border-color: #ff8a9a; }
.field__error { color: #ffa3b0; font-size: 13.5px; }
.field__error:empty { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__status { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: 10px; font-size: 15px; border: 1px solid var(--line-2); }
.form__status .icon { margin-top: 2px; }
.form__status[data-tone="success"] { border-color: rgba(110, 231, 168, 0.45); background: rgba(110, 231, 168, 0.07); }
.form__status[data-tone="success"] .icon { color: #6ee7a8; }
.form__status[data-tone="warn"] { border-color: rgba(255, 196, 107, 0.45); background: rgba(255, 196, 107, 0.07); }
.form__status[data-tone="warn"] .icon { color: var(--amber); }
.form__status[data-tone="error"] { border-color: rgba(255, 138, 154, 0.45); background: rgba(255, 138, 154, 0.07); }
.form__status[data-tone="error"] .icon { color: #ffa3b0; }
.form__status strong { display: block; font-weight: 600; }
.form__status p { color: var(--muted); }
.form__status a { color: var(--cyan); }

/* =========================================================
   Footer
   ========================================================= */
.footer { background: var(--ink-0); border-top: 1px solid var(--line); padding: 32px 0 22px; }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; }
.footer__tagline { margin-top: 8px; color: var(--muted-2); font-size: 15px; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.footer__nav a { color: var(--muted); text-decoration: none; font-family: var(--font-sign); font-weight: 600; font-size: 17px; letter-spacing: 0.03em; }
.footer__nav a:hover { color: #fff; }
.footer__contact { display: grid; gap: 4px; }
.footer__contact a { color: var(--muted); }
.footer__base {
  margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px;
  color: var(--muted-2); font-size: 13.5px;
}

/* =========================================================
   Reveal on scroll
   ========================================================= */
.js .reveal { opacity: 0; transform: translateY(12px); transition: opacity 600ms var(--ease), transform 600ms var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1100px) {
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process { grid-template-columns: 1fr; }
}

@media (max-width: 960px) {
  :root { --header-h: 62px; }
  .nav__toggle { display: grid; }
  .nav__cta { display: none; }
  .nav__links {
    position: fixed; left: 0; right: 0; top: var(--header-h);
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 10px var(--gutter) 22px;
    background: rgba(18, 8, 40, 0.97);
    border-bottom: 1px solid var(--line);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity var(--t-med) var(--ease), transform var(--t-med) var(--ease), visibility 0s linear var(--t-med);
  }
  .nav__links.is-open { transform: none; opacity: 1; visibility: visible; transition-delay: 0s; }
  .nav__links a[data-nav] { min-height: 52px; font-size: 21px; padding: 0 4px; border-bottom: 1px solid var(--line); }
  .nav__links a[data-nav]::after { display: none; }
  .nav__cta-mobile { display: block; margin-top: 16px; }
  .site-header.menu-open { background: rgba(18, 8, 40, 0.97); }

  .hero { min-height: 0; }
  .hero__inner { grid-template-columns: 1fr; }
  .city::after { background: linear-gradient(180deg, rgba(11, 5, 24, 0.75) 0%, rgba(11, 5, 24, 0.45) 55%, rgba(11, 5, 24, 0.2) 80%), linear-gradient(0deg, var(--ink-1) 0%, transparent 10%); }
  .city__moon { left: auto; right: 8%; top: 12%; width: 64px; height: 64px; }
  .hero__stage { max-width: 600px; width: 100%; margin: 0 auto; }

  .street { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact__inner { grid-template-columns: 1fr; }
  .accordion { grid-template-columns: 1fr; max-width: 720px; }
}

@media (max-width: 720px) {
  /* storefronts become compact cards: all three fit on one phone screen */
  .street { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .shop, .shop__btn { min-width: 0; }
  .shop::after { height: 6px; margin: 0; }
  .shop__btn {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    grid-template-areas: "corn corn" "awn awn" "win sign" "win base";
    grid-template-rows: auto auto 1fr auto;
    border-radius: 8px 8px 0 0;
  }
  .shop__btn:hover { transform: none; }
  .shop__cornice { grid-area: corn; height: 6px !important; border-bottom-width: 2px; border-radius: 8px 8px 0 0; }
  .shop__awning { grid-area: awn; height: 9px; margin: 0 8px; }
  .shop__window { grid-area: win; margin: 10px 0 12px 10px; aspect-ratio: 4 / 3; border-width: 3px; align-self: start; }
  .shop__sign {
    grid-area: sign; align-self: end; justify-self: start;
    margin: 10px 10px 4px 12px; padding: 3px 10px 5px;
    font-size: 17px; text-align: left; max-width: calc(100% - 22px);
  }
  .shop__base {
    grid-area: base; flex-direction: column; align-items: flex-start; gap: 2px;
    margin: 0 10px 12px 14px; padding: 0; border-top: 0;
  }
  .shop__meta, .shop__go { font-size: 13.5px; }
  .shop__enter, .shop__glow { display: none; }
  .steps { grid-template-columns: 1fr; gap: 16px; }
  .quote { grid-template-columns: 1fr; }
  .quote__side { padding: 22px 0 0; border-left: 0; border-top: 1px solid var(--line); }
  .viewer { width: 100vw; height: 100dvh; border-radius: 0; }
  .viewer__head { padding: 12px 12px 12px 16px; gap: 10px; }
  .viewer__name { font-size: 22px; }
  .viewer__foot { padding: 12px 16px; gap: 12px; }
  .viewer__desc, .tags { display: none; }
  .viewer__actions { width: 100%; }
  .viewer__actions .btn { flex: 1; font-size: 15px; padding: 0 12px; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .features { grid-template-columns: 1fr; gap: 18px; }
  .form__row { grid-template-columns: 1fr; }
  .hero__actions .btn { flex: 1 1 auto; }
  .hero__stage { padding-top: 36px; }
  .hero__window { transform: none; }
  .hero__sign { font-size: 17px; }
  .city__beams i:nth-child(3) { display: none; }
  .marquee { padding: 8px; }
  .marquee__board { padding: 12px 10px 14px; }
  .acc__panel p { padding-right: 6px; }
  .footer__inner { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; }
  .js .reveal, .js [data-neon] { opacity: 1; transform: none; }
}
