/* Vizunexa Motion Studio portfolio
   Radius system: buttons are full pill, cards 20px, media 16px, inputs 12px.
   One accent (cobalt). Theme follows the system (light / dark). */

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

:root {
  /* Vizunexa design system v3 (see ../DESIGN.md). Neutral, near-black foundation; warm paper text;
     one signature accent (cyan). Purple appears only in the logo artwork. */
  color-scheme: dark;
  --bg: #07080d;
  --bg-2: #0b0d14;
  --surface: #10131c;
  --surface-2: #161a26;
  --ink: #f1efe9;
  --muted: #9ea3b0;
  --line: #1d212d;
  --line-2: #2a2f3d;
  --paper: #f1efe9;
  --accent: #6fd6ff;
  --accent-ink: #07080d;
  --accent-soft: #10202c;
  --cyan: #6fd6ff;
  --purple: #a98bff;
  --blue: #5b86ff;
  /* legacy names kept as aliases so every component reads from these tokens */
  --grad: var(--accent);
  --on-accent: #07080d;
  --focus: #6fd6ff;
  --shadow: 0 1px 2px rgb(0 0 0 / 0.4), 0 14px 36px rgb(0 0 0 / 0.38);
  --shadow-lg: 0 2px 4px rgb(0 0 0 / 0.4), 0 34px 80px rgb(0 0 0 / 0.55);
  --glow: 0 0 0 1px rgb(111 214 255 / 0.22);
  --error: #ff8a95;
  --ok: #4fdba6;

  --font-display: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --font-sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, monospace;

  --r-card: 14px;
  --r-media: 12px;
  --r-input: 10px;

  /* Motion tokens: one language for the whole site (see arzkar_motion_audit.md). */
  --ease-premium: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-control: cubic-bezier(0.2, 0.7, 0.3, 1);
  --ease-out: var(--ease-premium);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  --motion-micro: 180ms;
  --motion-fast: 350ms;
  --motion-standard: 650ms;
  --motion-reveal: 900ms;
  --motion-dramatic: 1400ms;

  --container: 1240px;
  --gutter: 24px;
  --nav-h: 68px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 12px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
video {
  display: block;
  max-width: 100%;
  height: auto;
}

h1,
h2,
h3,
h4,
p,
ol,
ul,
dl,
dd,
figure {
  margin: 0;
}

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

a {
  color: inherit;
}

button {
  font: inherit;
  color: inherit;
}

.ic {
  width: 1.15em;
  height: 1.15em;
  fill: currentColor;
  flex: none;
}

[hidden] {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--bg);
  text-decoration: none;
}
.skip:focus {
  top: 12px;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.005em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition:
    transform 0.25s var(--ease-out),
    background-color 0.25s var(--ease-out),
    box-shadow 0.25s var(--ease-out),
    border-color 0.25s var(--ease-out);
}
.btn:active {
  transform: translateY(1px) scale(0.98);
}
.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 8px 20px -8px color-mix(in srgb, var(--accent) 70%, transparent);
}
.btn-primary .ic {
  transition: transform 0.3s var(--ease-out);
}
.btn-primary:hover {
  background: color-mix(in srgb, var(--accent) 88%, var(--ink));
}
.btn-primary:hover .ic {
  transform: translateX(3px);
}
.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}
.btn-ghost:hover {
  background: var(--surface);
  border-color: color-mix(in srgb, var(--ink) 25%, var(--line));
}
.btn-sm {
  height: 42px;
  padding: 0 18px;
  font-size: 15px;
}

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav-h);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease-out);
}
.nav.scrolled {
  border-bottom-color: var(--line);
}
.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 650;
  letter-spacing: -0.02em;
  font-size: 17px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links a:not(.btn) {
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s;
}
.nav-links a:not(.btn):hover {
  color: var(--ink);
}
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.nav-toggle .ic {
  width: 22px;
  height: 22px;
}
.nav-toggle .ic-close {
  display: none;
}

/* ---------- Type ---------- */
.eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.h2 {
  font-size: clamp(32px, 4.2vw, 52px);
  line-height: 1.06;
  letter-spacing: -0.035em;
  font-weight: 650;
  max-width: 20ch;
  text-wrap: balance;
}
.h3 {
  font-size: 22px;
  letter-spacing: -0.02em;
  font-weight: 620;
}
.h4 {
  font-size: 17px;
  font-weight: 620;
  letter-spacing: -0.01em;
}
.lead {
  margin-top: 18px;
  font-size: 19px;
  color: var(--muted);
  max-width: 58ch;
  text-wrap: pretty;
}

.section {
  padding: 120px 0;
}

/* ---------- Intro: full-screen logo build (motion in intro.js) ----------
   Always the dark brand palette, whatever the page theme. */
.intro {
  --intro-bg: #02030b;
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 560px;
  overflow: hidden;
  isolation: isolate;
  background: var(--intro-bg);
  color: #fff;
}
.intro-bg {
  position: absolute;
  inset: -12%;
  background:
    radial-gradient(48% 44% at 22% 26%, rgb(82 22 178 / 0.5), transparent 72%),
    radial-gradient(46% 42% at 84% 38%, rgb(0 76 160 / 0.48), transparent 72%),
    radial-gradient(34% 30% at 50% 44%, rgb(32 54 170 / 0.24), transparent 72%),
    linear-gradient(180deg, #050a24 0%, #02030b 78%);
}
.intro-inner,
.intro-far,
.intro-waves {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.intro-far,
.intro-stage,
/* The stage keeps the source logo's 1254 square. It is sized from the wordmark:
   wordmark width = 0.69 of the stage, so the ring is far bigger than the screen on purpose. */
.intro-stage {
  --S: min(133vw, 124vh, 1260px);
  position: absolute;
  left: 50%;
  top: 47%;
  width: var(--S);
  height: var(--S);
  margin: calc(var(--S) / -2) 0 0 calc(var(--S) / -2);
}
.is-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.is-ringglow,
.is-markglow,
.is-pulse {
  will-change: transform, opacity;
}
.is-pulse {
  opacity: 0;
}
.intro-foot {
  position: absolute;
  left: 0;
  right: 0;
  bottom: max(28px, 4.5vh);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}
.intro-cue {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgb(255 255 255 / 0.6);
}
.intro-cue i {
  position: relative;
  width: 1px;
  height: 34px;
  overflow: hidden;
  background: rgb(255 255 255 / 0.18);
}
.intro-cue i::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent, #fff, transparent);
  animation: cue 2.4s var(--ease-io) infinite;
}
@keyframes cue {
  from { transform: translateY(-100%); }
  to { transform: translateY(100%); }
}
.intro-cue:hover {
  color: #fff;
}
.intro-cta {
  box-shadow: 0 10px 40px -8px rgb(70 110 255 / 0.65);
}
/* Hidden until intro.js has set the starting state; appears by itself after 2.5s if it never runs. */
@media (prefers-reduced-motion: no-preference) {
  .js .intro[data-state="pending"] .intro-inner,
  .js .intro[data-state="pending"] .intro-foot {
    visibility: hidden;
    animation: intro-failsafe 0s 2.5s forwards;
  }
  @keyframes intro-failsafe {
    to { visibility: visible; }
  }
}
@media (max-width: 640px) {
  .intro-stage {
    top: 42%;
  }
  /* portrait screens crop the wave art to its middle; lift it so the ribbons sit under the lettering */
  .intro-waves {
    inset: -18% 0 18% 0;
    overflow: visible;
  }
}

/* ---------- Hero ---------- */
.hero {
  padding: 72px 0 96px;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  gap: 56px;
  align-items: center;
}
.hero-title {
  font-size: clamp(38px, 3.5vw, 52px);
  line-height: 1.04;
  letter-spacing: -0.045em;
  font-weight: 680;
  text-wrap: balance;
}
.hero-sub {
  margin-top: 24px;
  font-size: 19px;
  color: var(--muted);
  max-width: 42ch;
  text-wrap: pretty;
}
.hero-ctas {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.hero-media {
  position: relative;
}
.hero-caption {
  margin-top: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--muted);
}

/* ---------- Work ---------- */
.work {
  background: var(--surface);
  border-block: 1px solid var(--line);
}
.player {
  position: relative;
  margin-top: 48px;
  border-radius: var(--r-media);
  overflow: hidden;
  background: #0d0f14;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 16 / 9;
}
.player video {
  width: 100%;
  height: 100%;
}
.player-cover {
  position: absolute;
  inset: 0;
  border: 0;
  padding: 0;
  background: linear-gradient(180deg, transparent 55%, rgb(13 15 20 / 0.45));
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: #fdfdfe;
  transition: opacity 0.35s var(--ease-out);
}
.player-cover.hidden {
  opacity: 0;
  pointer-events: none;
}
.play-disc {
  width: 84px;
  height: 84px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgb(13 15 20 / 0.62);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgb(253 253 254 / 0.25);
  transition: transform 0.35s var(--ease-out), background-color 0.35s var(--ease-out);
}
.play-disc .ic {
  width: 30px;
  height: 30px;
  margin-left: 4px;
}
.play-label {
  font-size: 15px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgb(13 15 20 / 0.62);
}
.player-cover:hover .play-disc {
  transform: scale(1.06);
  background: var(--accent);
}

.notice {
  margin-top: 20px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 16px 20px;
  border-radius: var(--r-input);
  background: var(--accent-soft);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.55;
}
.notice .ic {
  margin-top: 3px;
  color: var(--accent);
}

.specs {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.specs dt {
  font-size: 14px;
  color: var(--muted);
}
.specs dd {
  margin-top: 4px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
}

.work .h3 {
  margin-top: 72px;
}
.beats {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.beat {
  width: 100%;
  text-align: left;
  border: 0;
  padding: 0;
  background: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}
.beat img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 12px;
  outline: 2px solid transparent;
  outline-offset: 3px;
  transition: outline-color 0.25s var(--ease-out), transform 0.4s var(--ease-out);
}
.beat:hover img {
  transform: translateY(-3px);
}
.beat.active img {
  outline-color: var(--accent);
}
.beat-time {
  margin-top: 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.beat-title {
  margin-top: 2px;
  font-size: 17px;
  font-weight: 620;
  letter-spacing: -0.01em;
}
.beat-text {
  margin-top: 4px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--muted);
}

/* ---------- Process ---------- */
.timing {
  margin-top: 56px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  padding: 14px 20px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
}
.timing .ic {
  color: var(--accent);
}

/* ---------- Pricing ---------- */
.pricing {
  background: var(--bg-2);
}
.price-card {
  margin-top: 48px;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  border-radius: var(--r-card);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.price-main {
  padding: 44px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.price-name {
  font-size: 18px;
  font-weight: 620;
}
.price {
  margin-top: 12px;
  font-size: 88px;
  line-height: 1;
  letter-spacing: -0.05em;
  font-weight: 680;
  font-variant-numeric: tabular-nums;
}
.price-cur {
  font-size: 0.45em;
  vertical-align: 0.95em;
  margin-right: 4px;
  letter-spacing: 0;
  color: var(--muted);
}
.price-note {
  margin-top: 12px;
  color: var(--muted);
  margin-bottom: 32px;
}
.price-main .btn {
  margin-top: auto;
}
.price-list {
  padding: 44px;
  display: grid;
  gap: 16px;
  align-content: center;
}
.price-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 17px;
}
.price-list .ic {
  width: 26px;
  height: 26px;
  padding: 5px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
}
.materials {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
}
.materials ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.materials li {
  font-size: 15px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
}

.packages-title {
  margin-top: 64px;
}
.packages {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 16px;
}
.package {
  display: flex;
  flex-direction: column;
  padding: 28px 24px;
  border-radius: var(--r-card);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
}
.package:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.package-ic {
  width: 36px;
  height: 36px;
  padding: 8px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
}
.package-name {
  margin-top: 18px;
  font-size: 17px;
  font-weight: 620;
  letter-spacing: -0.01em;
}
.package-price {
  margin-top: 8px;
  font-size: 40px;
  line-height: 1.1;
  letter-spacing: -0.04em;
  font-weight: 680;
  font-variant-numeric: tabular-nums;
}
.package-price .price-cur {
  vertical-align: 0.7em;
}
.package-from {
  font-size: 14px;
  letter-spacing: 0;
  font-weight: 500;
  color: var(--muted);
}
.package-price-quote {
  font-size: 28px;
  line-height: 1.43;
}
.package-scope {
  margin-top: 12px;
  font-size: 15px;
  color: var(--muted);
}
.package-quote {
  background: var(--accent-soft);
  border-color: transparent;
  box-shadow: none;
}
.terms {
  margin-top: 28px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 15px;
  color: var(--muted);
  max-width: 78ch;
}
.terms .ic {
  flex: none;
  margin-top: 2px;
  color: var(--accent);
}
@media (prefers-reduced-motion: reduce) {
  .package,
  .package:hover {
    transition: none;
    transform: none;
  }
}

/* ---------- FAQ ---------- */
.faq-grid {
  display: grid;
  grid-template-columns: 4fr 8fr;
  gap: 48px;
  align-items: start;
}
.faq-list {
  border-top: 1px solid var(--line);
}
.faq-list details {
  border-bottom: 1px solid var(--line);
}
.faq-list summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 24px 0;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.015em;
}
.faq-list summary::-webkit-details-marker {
  display: none;
}
.faq-list summary .ic {
  width: 22px;
  height: 22px;
  color: var(--muted);
  transition: transform 0.35s var(--ease-out);
}
.faq-list details[open] summary .ic {
  transform: rotate(45deg);
  color: var(--accent);
}
.faq-a {
  padding: 0 0 24px;
  color: var(--muted);
  max-width: 62ch;
}

/* ---------- Contact ---------- */
.contact {
  padding-top: 40px;
}
.contact-card {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 48px;
  padding: 56px;
  border-radius: var(--r-card);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.field-wide {
  grid-column: 1 / -1;
}
.field label {
  font-size: 15px;
  font-weight: 600;
}
.opt {
  font-weight: 400;
  color: var(--muted);
}
.field input,
.field textarea {
  width: 100%;
  font: inherit;
  font-size: 16px;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid color-mix(in srgb, var(--ink) 22%, var(--line));
  border-radius: var(--r-input);
  padding: 13px 14px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea {
  resize: vertical;
  min-height: 120px;
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 22%, transparent);
}
.field [aria-invalid="true"] {
  border-color: var(--error);
}
.help {
  font-size: 14px;
  color: var(--muted);
}
.err {
  display: flex;
  gap: 6px;
  align-items: center;
  font-size: 14px;
  font-weight: 500;
  color: var(--error);
}
.form-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}
.form-status {
  font-size: 15px;
  color: var(--ink);
  padding: 12px 16px;
  border-radius: var(--r-input);
  background: var(--accent-soft);
  flex: 1 1 100%;
}
.form-status p + p {
  margin-top: 6px;
}
.form-status a {
  color: var(--accent);
  font-weight: 600;
  text-underline-offset: 3px;
}
.form-explain {
  flex: 1 1 100%;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
  color: var(--muted);
}
.form-explain .ic {
  margin-top: 2px;
  color: var(--accent);
}

/* Direct email block in the contact card */
.direct {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.direct-label {
  font-size: 14px;
  color: var(--muted);
}
.direct-email {
  display: inline-block;
  margin-top: 4px;
  font-size: 22px;
  font-weight: 620;
  letter-spacing: -0.015em;
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, var(--accent) 45%, transparent);
  text-underline-offset: 5px;
  text-decoration-thickness: 2px;
  overflow-wrap: anywhere;
  transition: text-decoration-color 0.2s;
}
.direct-email:hover {
  text-decoration-color: var(--accent);
}
.direct-actions {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.direct-note {
  margin-top: 10px;
  min-height: 1.5em;
  font-size: 14px;
  color: var(--muted);
}
.footer-email {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  text-underline-offset: 3px;
}

/* ---------- Footer ---------- */
.footer {
  padding: 56px 0 64px;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.footer-note,
.footer-copy {
  font-size: 14px;
  color: var(--muted);
}

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-enter] {
    opacity: 0;
    transform: translateY(18px);
    filter: blur(6px);
    animation: enter 0.9s var(--ease-out) forwards;
    animation-delay: calc(var(--d, 0) * 1ms);
  }
  .js [data-enter="0"] { --d: 60; }
  .js [data-enter="1"] { --d: 180; }
  .js [data-enter="2"] { --d: 300; }
  .js .hero-media[data-enter] {
    transform: translateY(24px) scale(0.97);
    --d: 220;
  }
  @keyframes enter {
    to {
      opacity: 1;
      transform: none;
      filter: none;
    }
  }

  .js .reveal {
    opacity: 0;
    transform: translateY(22px);
    transition:
      opacity 0.8s var(--ease-out),
      transform 0.8s var(--ease-out);
    transition-delay: calc(var(--i, 0) * 70ms);
  }
  .js .reveal.in {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-title {
    max-width: 16ch;
  }
  .beats {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: minmax(240px, 42%);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 12px;
    margin-inline: calc(var(--gutter) * -1);
    padding-inline: var(--gutter);
    scroll-padding-inline: var(--gutter);
  }
  .beats li {
    scroll-snap-align: start;
  }
  .contact-card {
    grid-template-columns: 1fr;
    padding: 40px;
  }
  .faq-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 860px) {
  .nav-toggle {
    display: inline-flex;
  }
  .nav-links {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 12px 16px 20px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition:
      opacity 0.25s var(--ease-out),
      transform 0.25s var(--ease-out),
      visibility 0s linear 0.25s;
  }
  .nav.open .nav-links {
    transform: none;
    opacity: 1;
    visibility: visible;
    transition:
      opacity 0.25s var(--ease-out),
      transform 0.25s var(--ease-out),
      visibility 0s;
  }
  .nav-links a:not(.btn) {
    padding: 12px 8px;
    font-size: 17px;
    color: var(--ink);
  }
  .nav-cta {
    margin-top: 8px;
    height: 50px;
  }
  .nav.open .ic-open {
    display: none;
  }
  .nav.open .ic-close {
    display: block;
  }
  .price-card {
    grid-template-columns: 1fr;
  }
  .price-main {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 640px) {
  :root {
    --gutter: 16px;
    --nav-h: 62px;
  }
  body {
    font-size: 16px;
  }
  .section {
    padding: 80px 0;
  }
  .hero {
    padding: 40px 0 64px;
  }
  .hero-sub,
  .lead {
    font-size: 17px;
  }
  .hero-ctas .btn {
    flex: 1 1 100%;
  }
  .specs {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .beats {
    grid-auto-columns: 78%;
  }
  .timing {
    border-radius: var(--r-input);
    align-items: flex-start;
  }
  .price-main,
  .price-list {
    padding: 28px;
  }
  .price {
    font-size: 72px;
  }
  .price-main .btn {
    width: 100%;
  }
  .contact-card {
    padding: 24px;
    gap: 28px;
  }
  .form {
    grid-template-columns: 1fr;
  }
  .form-foot .btn {
    width: 100%;
  }
  .faq-list summary {
    font-size: 17px;
  }
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
