/* ═══════════════════════════════════════════════════════════
   AI BOOTH — THE AI PHOTO BOOTH
   Light, editorial, gallery-like. Ink on warm paper,
   pigment accents. One photo in, a spectrum out.
   ═══════════════════════════════════════════════════════════ */

:root {
  --bg: #f6f2ea;
  --bg-2: #efe9dd;
  --bg-3: #e9e2d3;
  --card: #fffdf8;
  --ink: #17130e;
  --ink-soft: #2c261d;
  --muted: #6f6857;
  --line: rgba(23, 19, 14, 0.14);
  --accent: #9a2f1f;
  --accent-dark: #642017;
  --accent-soft: #c9836f;
  --moss: #303a2c;
  --paper: #fbf8f1;
  --paper-ink: #17151d;
  --font-display: "Syne", sans-serif;
  --font-body: "Syne", sans-serif;
  --font-number: "Bricolage Grotesque", sans-serif;
  --font-serif: "Instrument Serif", serif;
  --pad-x: clamp(1.5rem, 8vw, 10rem);
  --radius: 20px;
  --shadow-soft: 0 18px 50px rgba(23, 19, 14, 0.14), 0 3px 10px rgba(23, 19, 14, 0.07);
  color-scheme: light;
}

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

html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

img, svg, canvas { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.05; }

.stat-num,
.step-num,
.occ-idx,
.price-hours,
.price-amount,
.price-amount sup,
.price-extra strong,
.addons-list em,
.print-meta i {
  font-family: var(--font-number);
  font-variant-numeric: tabular-nums;
}

.serif {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.06em;
  letter-spacing: 0.01em;
  color: var(--accent);
  padding-right: 0.06em;
}

/* ─── grain ─── */
.grain {
  position: fixed; inset: -50%;
  width: 200%; height: 200%;
  pointer-events: none;
  z-index: 9000;
  opacity: 0.035;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain-shift 0.9s steps(4) infinite;
}
@keyframes grain-shift {
  0% { transform: translate(0, 0); }
  25% { transform: translate(-2%, 1.5%); }
  50% { transform: translate(1.5%, -1%); }
  75% { transform: translate(-1%, -2%); }
  100% { transform: translate(2%, 1%); }
}

/* ─── custom cursor ─── */
.cursor { display: none; }
@media (pointer: fine) {
  .cursor { display: block; position: fixed; top: 0; left: 0; z-index: 9500; pointer-events: none; }
  .cursor-dot {
    position: fixed; top: -3px; left: -3px; width: 6px; height: 6px;
    border-radius: 50%; background: var(--ink);
  }
  .cursor-ring {
    position: fixed; top: -19px; left: -19px; width: 38px; height: 38px;
    border-radius: 50%; border: 1px solid rgba(23, 19, 14, 0.3);
    transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
  }
  .cursor.is-hover .cursor-ring {
    transform: scale(1.7);
    background: rgba(154, 47, 31, 0.08);
    border-color: rgba(154, 47, 31, 0.55);
  }
}

/* ─── buttons ─── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  font-family: var(--font-body); font-weight: 600; font-size: 0.95rem;
  padding: 0.95em 1.9em; border-radius: 100px;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), background 0.3s, color 0.3s, border-color 0.3s, box-shadow 0.3s;
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }
.btn-solid { background: var(--ink); color: var(--paper); }
.btn-solid:hover {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 28px rgba(154, 47, 31, 0.24);
  transform: translateY(-2px);
}
.btn-ghost { border: 1px solid rgba(23, 19, 14, 0.35); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); background: rgba(23, 19, 14, 0.05); transform: translateY(-2px); }
.btn-small { padding: 0.7em 1.4em; font-size: 0.85rem; }
.btn-full { width: 100%; }
.btn-lg { padding: 1.15em 2em; font-size: 1rem; }
.btn-arrow { transition: transform 0.3s; }
.btn:hover .btn-arrow { transform: translateX(4px); }

/* ─── preloader ─── */
#preloader {
  position: fixed; inset: 0; z-index: 10000;
  background: var(--paper);
  color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  animation: preloader-failsafe 0.6s ease 5s forwards;
}
@keyframes preloader-failsafe { to { opacity: 0; visibility: hidden; display: none; } }
.preloader-frame {
  display: flex; flex-direction: column; align-items: center; gap: 0.8rem;
  padding: 2.2rem 3rem;
  border: 1px solid var(--line); border-radius: 8px;
  position: relative;
}
.preloader-frame::before, .preloader-frame::after {
  content: ""; position: absolute; width: 14px; height: 14px;
  border-color: var(--accent); border-style: solid;
}
.preloader-frame::before { top: -1px; left: -1px; border-width: 2px 0 0 2px; }
.preloader-frame::after { bottom: -1px; right: -1px; border-width: 0 2px 2px 0; }
.preloader-word {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(1.6rem, 4vw, 2.4rem); letter-spacing: 0.35em; padding-left: 0.35em;
}
.preloader-sub { font-size: 0.75rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--muted); }
.preloader-sub .dots span { animation: dot-blink 1.2s infinite; }
.preloader-sub .dots span:nth-child(2) { animation-delay: 0.2s; }
.preloader-sub .dots span:nth-child(3) { animation-delay: 0.4s; }
@keyframes dot-blink { 0%, 60%, 100% { opacity: 0.2; } 30% { opacity: 1; } }
.preloader-flash { position: absolute; inset: 0; background: #fff; opacity: 0; pointer-events: none; }

/* ─── header ─── */
#siteHeader {
  position: fixed; top: 0; left: 0; right: 0; z-index: 8700;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem var(--pad-x);
  transition: background 0.4s, backdrop-filter 0.4s, padding 0.4s, border-color 0.4s;
  border-bottom: 1px solid transparent;
}
#siteHeader.scrolled {
  background: rgba(246, 242, 234, 0.78);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  padding: 0.75rem var(--pad-x);
  border-bottom-color: var(--line);
}
.logo {
  font-family: "Syne", var(--font-body); font-weight: 700; font-size: 1.14rem; letter-spacing: -0.012em;
  line-height: 1;
  display: inline-flex; align-items: center; gap: 0.3em;
  color: var(--ink);
}
.logo-mark {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 2.15em; height: 1.55em; border-radius: 0.42em;
  background: var(--ink); color: var(--paper);
  font-size: 0.78em; letter-spacing: 0.035em;
}
.logo-word { letter-spacing: -0.01em; }
.main-nav { display: flex; gap: 2.2rem; }
.main-nav a {
  font-size: 0.8rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted); position: relative; padding: 0.3em 0;
  transition: color 0.3s;
}
.main-nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%;
  background: var(--accent); transform: scaleX(0); transform-origin: right;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.main-nav a:hover { color: var(--ink); }
.main-nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.header-right { display: flex; align-items: center; gap: 1rem; }

#menuToggle {
  display: none; width: 44px; height: 44px; position: relative; z-index: 8600;
  flex-direction: column; align-items: center; justify-content: center; gap: 7px;
}
#menuToggle span {
  display: block; width: 26px; height: 2px; background: var(--ink);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s;
}
#menuToggle.open span:nth-child(1) { transform: translateY(4.5px) rotate(45deg); }
#menuToggle.open span:nth-child(2) { transform: translateY(-4.5px) rotate(-45deg); }

/* ─── mobile menu ─── */
#mobileMenu {
  position: fixed; inset: 0; z-index: 8500;
  background: rgba(246, 242, 234, 0.96);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  display: flex; flex-direction: column; justify-content: center; gap: 3rem;
  padding: 6rem var(--pad-x) 3rem;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.4s, visibility 0.4s;
}
#mobileMenu.open { opacity: 1; visibility: visible; pointer-events: auto; }
#mobileMenu nav { display: flex; flex-direction: column; gap: 0.4rem; }
.mm-link {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2rem, 9vw, 3rem); line-height: 1.25;
  color: var(--ink); opacity: 0; transform: translateY(30px);
  transition: color 0.3s;
}
#mobileMenu.open .mm-link { animation: mm-in 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards; }
#mobileMenu.open .mm-link:nth-child(1) { animation-delay: 0.08s; }
#mobileMenu.open .mm-link:nth-child(2) { animation-delay: 0.14s; }
#mobileMenu.open .mm-link:nth-child(3) { animation-delay: 0.2s; }
#mobileMenu.open .mm-link:nth-child(4) { animation-delay: 0.26s; }
#mobileMenu.open .mm-link:nth-child(5) { animation-delay: 0.32s; }
#mobileMenu.open .mm-link:nth-child(6) { animation-delay: 0.38s; }
@keyframes mm-in { to { opacity: 1; transform: translateY(0); } }
.mm-cta {
  color: var(--accent);
}
.mm-foot { display: flex; flex-wrap: wrap; gap: 1rem 2rem; color: var(--muted); font-size: 0.9rem; }
.mm-link-small { border-bottom: 1px solid var(--line); padding-bottom: 2px; color: var(--ink); }

/* ─── hero ─── */
.hero {
  position: relative; min-height: 100dvh;
  display: flex; align-items: center;
  padding: 6rem var(--pad-x) 4.75rem;
  overflow: hidden;
}
#heroCanvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-vignette {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(75% 60% at 70% 45%, transparent 40%, var(--bg) 100%),
    linear-gradient(to top, var(--bg) 0%, transparent 18%);
}
.hero-content { position: relative; z-index: 2; max-width: 760px; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 0.6em;
  font-size: 0.78rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted);
  border: 1px solid var(--line); border-radius: 100px; padding: 0.55em 1.1em;
  margin-bottom: 1.5rem; background: rgba(251, 248, 241, 0.55);
}
.pulse-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 0 0 rgba(154, 47, 31, 0.5);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(154, 47, 31, 0.45); }
  70% { box-shadow: 0 0 0 9px rgba(154, 47, 31, 0); }
  100% { box-shadow: 0 0 0 0 rgba(154, 47, 31, 0); }
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.45rem, 5vw, 5rem);
  font-weight: 740; letter-spacing: -0.045em; line-height: 0.96;
  margin-bottom: 1.35rem;
}
.hero-title .line { display: block; overflow: hidden; padding-bottom: 0.12em; margin-bottom: -0.12em; }
.hero-title .line-inner { display: inline-block; will-change: transform; }
.hero-sub { font-size: clamp(1rem, 1.4vw, 1.15rem); color: var(--muted); max-width: 46ch; margin-bottom: 1.65rem; font-weight: 400; }
.hero-sub, .hero-eyebrow { text-wrap: pretty; }
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.1rem; }
.hero-trust { font-size: 0.85rem; color: var(--muted); }
.hero-trust .stars { color: var(--accent); letter-spacing: 0.15em; margin-right: 0.5em; }

.hero-identity {
  position: absolute; z-index: 3;
  right: clamp(5.5rem, 12vw, 18rem);
  bottom: clamp(1.6rem, 5vw, 4rem);
  width: min(320px, 30vw);
  padding: 1rem 1.1rem 1.05rem;
  border: 1px solid rgba(23, 19, 14, 0.16);
  border-radius: 18px;
  background: rgba(251, 248, 241, 0.72);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 16px 42px rgba(23, 19, 14, 0.1);
}
.identity-tag {
  display: grid;
  gap: 0.35rem;
}
.identity-prefix {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  line-height: 1;
  text-transform: uppercase;
  color: var(--ink);
}
#identityLabel {
  font-family: var(--font-serif); font-style: italic; text-transform: none;
  font-size: clamp(1.62rem, 2.6vw, 2.05rem); letter-spacing: 0;
  line-height: 1.02;
  color: var(--accent);
  display: inline-block; min-width: 12ch;
}
/* ─── marquee ─── */
.marquee {
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 1.4rem 0; overflow: hidden; position: relative;
  background: var(--bg-2);
}
.marquee-track { display: flex; width: max-content; animation: marquee 46s linear infinite; }
.marquee-track span {
  font-family: var(--font-body); font-weight: 800;
  font-size: clamp(0.92rem, 1.65vw, 1.18rem); text-transform: uppercase; letter-spacing: 0.13em; word-spacing: 0.18em;
  color: rgba(23, 19, 14, 0.62);
  white-space: nowrap;
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ─── sections shared ─── */
section { padding: clamp(5.5rem, 11vw, 9.5rem) var(--pad-x); position: relative; }
.section-head { max-width: 900px; margin-bottom: clamp(3rem, 6vw, 5rem); }
.eyebrow {
  font-size: 0.75rem; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 1.4rem;
}
.eyebrow::before { content: ""; display: inline-block; width: 2rem; height: 1px; background: var(--accent); vertical-align: middle; margin-right: 0.9em; }
h2 { font-size: clamp(2.1rem, 4.6vw, 3.9rem); letter-spacing: -0.02em; margin-bottom: 1.5rem; }
.section-sub { color: var(--muted); max-width: 58ch; font-size: clamp(0.98rem, 1.3vw, 1.1rem); font-weight: 400; }

/* ─── style lab ─── */
.magic { background: radial-gradient(60% 45% at 85% 10%, rgba(154, 47, 31, 0.06), transparent 70%); }
.lab {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 6vw, 6rem); align-items: center;
}
.lab-label { font-size: 0.75rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted); margin: 2rem 0 0.9rem; }
.lab-label:first-child { margin-top: 0; }
.style-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
  max-width: 640px;
  grid-auto-rows: minmax(104px, 1fr);
}
.style-card {
  position: relative;
  min-height: 104px;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid rgba(23, 19, 14, 0.14);
  background: rgba(255, 250, 242, 0.74);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  gap: 0.8rem;
  align-items: stretch;
  text-align: left;
  padding: 0.95rem 1rem 1rem;
  color: var(--ink);
  isolation: isolate;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.58);
  transition: transform 0.24s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.24s, box-shadow 0.24s, background 0.24s, color 0.24s;
}
.style-card-index {
  display: block;
  width: fit-content;
  font: 800 0.68rem var(--font-number);
  letter-spacing: 0.14em;
  color: var(--accent);
  opacity: 0.82;
}
.style-card-copy {
  display: grid;
  align-content: end;
  gap: 0.45rem;
  min-width: 0;
}
.style-card-copy strong {
  font-size: clamp(0.96rem, 1.08vw, 1.08rem);
  line-height: 1.02;
  letter-spacing: 0;
  font-weight: 800;
}
.style-card-copy small {
  color: var(--muted);
  font-size: 0.74rem;
  line-height: 1.35;
  font-weight: 600;
}
.style-card:hover,
.style-card.is-active {
  border-color: rgba(154, 47, 31, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(23, 19, 14, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.72);
}
.style-card.is-active {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
  box-shadow: 0 16px 34px rgba(23, 19, 14, 0.16);
}
.style-card.is-active::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  height: 100%;
  border-radius: 0;
  background: var(--accent);
  pointer-events: none;
}
.style-card.is-active .style-card-index { color: var(--accent-soft); opacity: 1; }
.style-card.is-active .style-card-copy small { color: rgba(246, 242, 234, 0.68); }
.lab-note { font-size: 0.82rem; color: var(--muted); margin-top: 1.8rem; max-width: 44ch; font-style: italic; opacity: 0.9; }

.lab-stage { position: relative; display: flex; justify-content: center; padding: 1rem 0; }
.print-card {
  position: relative; width: min(370px, 82vw);
  background: var(--paper); border-radius: 6px;
  padding: 13px 13px 0;
  box-shadow: 0 26px 60px rgba(23, 19, 14, 0.22), 0 4px 14px rgba(23, 19, 14, 0.1);
  transform: rotate(1.8deg);
  transform-style: preserve-3d;
  will-change: transform;
}
.print-media { position: relative; overflow: hidden; border-radius: 3px; aspect-ratio: 4 / 5; background: #dcd5c6; }
#printCanvas { width: 100%; height: 100%; }
#printImage { width: 100%; height: 100%; object-fit: cover; display: block; }
#printCanvas[hidden],
#printImage[hidden] { display: none; }
.print-scan {
  position: absolute; left: 0; right: 0; top: -25%; height: 22%;
  background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.55), transparent);
  mix-blend-mode: overlay; opacity: 0; pointer-events: none;
}
.print-caption { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding: 0.9rem 0.35rem 1.1rem; }
.print-caption .serif {
  font-size: 1.7rem; color: var(--paper-ink);
  background: none; -webkit-text-fill-color: var(--paper-ink);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.print-meta { font-size: 0.62rem; letter-spacing: 0.18em; text-transform: uppercase; color: #8d8a96; white-space: nowrap; }
.print-meta i { font-style: normal; }
.print-shadow {
  position: absolute; bottom: -7%; left: 50%; transform: translateX(-50%);
  width: 62%; height: 36px; border-radius: 50%;
  background: radial-gradient(ellipse, rgba(23, 19, 14, 0.3), transparent 70%);
  filter: blur(16px);
}
.compare-card {
  position: relative;
  width: min(640px, 100%);
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  box-shadow: none;
  transform-style: preserve-3d;
  will-change: transform;
}
.compare-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.2rem 0.15rem 0.85rem;
}
.compare-kicker {
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
#compareTitle {
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
  white-space: nowrap;
}
.compare-grid {
  position: relative;
  min-height: clamp(370px, 39vw, 560px);
}
.compare-frame {
  position: relative;
  margin: 0;
  min-width: 0;
  background: #fffdf8;
}
.compare-frame-before {
  position: absolute;
  left: 3%;
  bottom: clamp(4rem, 19%, 7rem);
  z-index: 3;
  width: clamp(150px, 34%, 210px);
  aspect-ratio: 1;
  overflow: hidden;
  border: 6px solid rgba(255, 253, 248, 0.96);
  border-radius: 8px;
  box-shadow: 0 18px 34px rgba(23, 19, 14, 0.22);
  transform: rotate(-4deg);
}
.compare-frame-after {
  width: min(78%, 470px);
  margin: 0 0 0 auto;
  padding: clamp(0.62rem, 1.1vw, 0.82rem) clamp(0.62rem, 1.1vw, 0.82rem) clamp(2.1rem, 4.4vw, 3rem);
  overflow: visible;
  border-radius: 9px;
  box-shadow: 0 26px 54px rgba(23, 19, 14, 0.2), 0 4px 10px rgba(23, 19, 14, 0.08);
  transform: rotate(1.2deg);
}
.compare-frame img {
  width: 100%;
  aspect-ratio: 1;
  height: auto;
  object-fit: cover;
  display: block;
  border-radius: 5px;
}
.compare-frame-before img {
  height: 100%;
  border-radius: 3px;
}
.compare-frame-after img {
  box-shadow: inset 0 0 0 1px rgba(23, 19, 14, 0.08);
}
.compare-label {
  position: absolute;
  left: 0.6rem;
  top: 0.6rem;
  z-index: 2;
  padding: 0.35em 0.55em;
  border-radius: 4px;
  background: rgba(251, 248, 241, 0.78);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: var(--ink);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.compare-frame-after .compare-label {
  background: rgba(23, 19, 14, 0.72);
  color: var(--paper);
}
/* ─── how it works ─── */
.how {
  overflow: hidden;
  background:
    radial-gradient(55% 42% at 84% 14%, rgba(154, 47, 31, 0.055), transparent 72%),
    linear-gradient(180deg, rgba(251, 248, 241, 0.42), transparent 24%, rgba(23, 19, 14, 0.025)),
    var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.how-pin {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  max-width: min(1500px, calc(100% - (var(--pad-x) * 2)));
  margin-inline: auto;
}
.steps { position: relative; }
.steps-rail { height: 1px; background: rgba(23, 19, 14, 0.13); margin-bottom: clamp(1.8rem, 3.4vw, 3.1rem); position: relative; }
.steps-progress { position: absolute; inset: 0 auto 0 0; width: 0%; background: linear-gradient(90deg, var(--accent), rgba(154, 47, 31, 0.28)); }
.steps-list { position: relative; min-height: 390px; }
.step {
  position: absolute; inset: 0;
  display: grid; grid-template-columns: minmax(240px, clamp(320px, 24vw, 600px)) minmax(0, 1fr);
  gap: clamp(2.25rem, 5vw, 5.5rem); align-items: center;
  opacity: 0; visibility: hidden; pointer-events: none;
}
.step.is-active { opacity: 1; visibility: visible; pointer-events: auto; }
.step-visual {
  position: relative;
  max-width: clamp(320px, 24vw, 600px); width: 100%; margin-inline: auto;
  aspect-ratio: 1;
  padding: 8px;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid rgba(23, 19, 14, 0.12);
  background: rgba(251, 248, 241, 0.68);
  box-shadow: 0 20px 48px rgba(23, 19, 14, 0.13), inset 0 1px 0 rgba(255, 255, 255, 0.65);
  isolation: isolate;
  transform: rotate(-0.35deg);
}
.step:nth-child(even) .step-visual { transform: rotate(0.45deg); }
.step-visual::after {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.48);
  box-shadow: inset 0 0 0 1px rgba(23, 19, 14, 0.05);
  pointer-events: none;
}
.step-visual svg { width: 100%; height: auto; }
.step-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  filter: saturate(0.88) contrast(0.99) brightness(1.02);
}
.sv-paper { fill: var(--paper); stroke: var(--accent-dark); stroke-width: 4; }
.sv-muted { fill: #d8c9b7; stroke: var(--accent-dark); stroke-width: 3; }
.sv-accent { fill: var(--accent); stroke: var(--accent-dark); stroke-width: 3; }
.sv-line { stroke: var(--accent-dark); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.sv-blink { animation: sv-blink 1.6s ease-in-out infinite; }
@keyframes sv-blink { 0%, 100% { opacity: 0.15; } 50% { opacity: 1; } }
.sv-spin-slow { transform-origin: 60px 52px; animation: sv-spin 14s linear infinite; }
@keyframes sv-spin { to { transform: rotate(360deg); } }
.step-num {
  display: block; font-family: var(--font-number); font-weight: 800;
  font-size: clamp(2.6rem, 5vw, 4rem); line-height: 1;
  color: transparent; -webkit-text-stroke: 1px rgba(23, 19, 14, 0.4);
  margin-bottom: 1rem;
}
.step-body { max-width: 620px; }
.step-body h3 { font-size: clamp(1.5rem, 2.6vw, 2.2rem); margin-bottom: 1rem; text-wrap: balance; }
.step-body p { color: var(--muted); max-width: 52ch; font-weight: 400; font-size: clamp(0.95rem, 1.25vw, 1.08rem); }

/* ─── bento ─── */
.bento {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: minmax(230px, 1fr);
  gap: 14px;
  max-width: 1180px;
  margin-inline: auto;
}
.tile {
  position: relative;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--card);
  padding: 1.7rem 1.5rem 1.6rem;
  display: flex; flex-direction: column;
  min-height: 220px;
  transition: border-color 0.35s, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s;
}
.tile:hover {
  border-color: rgba(154, 47, 31, 0.45);
  transform: translateY(-5px);
  box-shadow: 0 16px 34px rgba(23, 19, 14, 0.1);
}
.tile-lg { grid-column: span 1; }
.tile-glyph {
  font-size: clamp(2.8rem, 4vw, 4.2rem); line-height: 1; margin-bottom: auto;
  color: var(--accent);
}
.tile-glyph i { display: block; }
.tile-badge {
  position: absolute;
  top: 1.15rem;
  right: 1.15rem;
  border: 1px solid rgba(154, 47, 31, 0.32);
  border-radius: 999px;
  padding: 0.38em 0.72em;
  color: var(--accent);
  background: rgba(154, 47, 31, 0.07);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
}
.tile h3 { font-size: 1.08rem; margin: 2.2rem 0 0.5rem; }
.tile p { font-size: 0.88rem; color: var(--muted); font-weight: 400; }

/* ─── occasions ─── */
.occ-list { border-bottom: 1px solid var(--line); }
.occ-row {
  position: relative;
  display: grid; grid-template-columns: 3.5rem minmax(220px, 0.85fr) minmax(320px, 0.95fr) 3rem;
  gap: clamp(1.35rem, 3vw, 2.8rem); align-items: center;
  padding: 2.35rem 0.5rem;
  border-top: 1px solid var(--line);
  overflow: hidden;
  --hue: 12;
}
.occ-row::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, hsl(var(--hue) 55% 48% / 0.13), transparent 65%);
  opacity: 0; transition: opacity 0.4s;
}
.occ-row:hover::before { opacity: 1; }
.occ-idx { font-size: 0.75rem; letter-spacing: 0.2em; color: var(--muted); }
.occ-row h3 { font-size: clamp(1.35rem, 2.6vw, 2.1rem); transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1); }
.occ-row:hover h3 { transform: translateX(10px); }
.occ-row p {
  color: var(--muted);
  max-width: 50ch;
  font-size: clamp(1rem, 1.22vw, 1.12rem);
  font-weight: 400;
  line-height: 1.55;
}
.occ-arrow {
  position: relative;
  z-index: 1;
  width: 44px; height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid hsl(var(--hue) 45% 38% / 0.28);
  border-radius: 50%;
  font-size: 1.35rem; justify-self: end;
  opacity: 0; transform: translateX(-12px);
  transition: opacity 0.35s, transform 0.35s, background 0.35s, border-color 0.35s;
  color: hsl(var(--hue) 60% 36%);
}
.occ-row:hover .occ-arrow { opacity: 1; transform: translateX(0); }
.occ-arrow:hover { background: hsl(var(--hue) 55% 48% / 0.12); border-color: hsl(var(--hue) 55% 38% / 0.5); }

/* ─── stats ─── */
.stats {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: var(--bg-2);
  padding: clamp(2.5rem, 5vw, 4rem) var(--pad-x);
}
.stat { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 0.45rem; min-width: 0; }
.stat-num {
  font-family: var(--font-number); font-weight: 800;
  font-size: clamp(3rem, 6vw, 5.2rem); line-height: 0.9;
  color: var(--accent);
}
.stat-label { font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); }

/* ─── pricing ─── */
.pricing { background: radial-gradient(50% 40% at 15% 20%, rgba(154, 47, 31, 0.06), transparent 70%); }
.price-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px;
  align-items: stretch; margin: 0 auto 2rem;
  max-width: 1500px;
}
.price-card {
  position: relative;
  border: 1px solid var(--line); border-radius: 26px;
  background: var(--card);
  padding: clamp(2rem, 2vw, 2.5rem) clamp(1.35rem, 1.6vw, 2rem) 2rem;
  display: flex; flex-direction: column;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.35s, box-shadow 0.35s;
}
.price-card:hover { transform: translateY(-6px); border-color: rgba(23, 19, 14, 0.35); box-shadow: var(--shadow-soft); }
.price-card.is-featured {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
  box-shadow: 0 24px 55px rgba(23, 19, 14, 0.3);
}
.price-card.is-featured .price-hours { color: rgba(251, 248, 241, 0.55); }
.price-card.is-featured .price-blurb { color: rgba(251, 248, 241, 0.68); }
.price-card.is-featured .price-amount sup { color: rgba(251, 248, 241, 0.55); }
.price-card.is-featured .btn-solid { background: var(--paper); color: var(--ink); }
.price-card.is-featured .btn-solid:hover { background: var(--accent); color: #fff; }
.price-flag {
  position: absolute; top: -13px; left: 2rem;
  font-size: 0.68rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  background: var(--accent); color: #fff;
  padding: 0.45em 1.1em; border-radius: 100px;
}
.price-card h3 { font-size: 1.3rem; margin-bottom: 0.3rem; }
.price-hours { font-size: 0.78rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); margin-bottom: 1.6rem; }
.price-amount { font-family: var(--font-number); font-weight: 800; font-size: clamp(2.6rem, 4vw, 3.4rem); line-height: 1; margin-bottom: 1.2rem; }
.price-amount sup { font-size: 0.45em; font-weight: 700; vertical-align: super; margin-right: 0.08em; color: var(--muted); }
.price-blurb { color: var(--muted); font-size: 0.92rem; font-weight: 400; margin-bottom: 2rem; flex: 1; }
.price-extra {
  max-width: 760px;
  margin: 0 auto clamp(3.5rem, 7vw, 5.5rem);
  text-align: center;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.35vw, 1.2rem);
  line-height: 1.55;
}
.price-extra strong { color: var(--ink); }

.addons { max-width: 860px; margin: 0 auto; }
.addons-title { font-size: 1.25rem; margin-bottom: 1.2rem; }
.addons-list li {
  display: grid; grid-template-columns: minmax(150px, 0.6fr) 1.4fr auto;
  gap: 1.2rem; align-items: baseline;
  padding: 1.15rem 0.3rem; border-top: 1px solid var(--line);
  transition: background 0.3s;
}
.addons-list li:last-child { border-bottom: 1px solid var(--line); }
.addons-list li:hover { background: rgba(23, 19, 14, 0.03); }
.addons-list strong { font-family: var(--font-display); font-weight: 700; font-size: 1rem; }
.addons-list span { color: var(--muted); font-size: 0.88rem; font-weight: 400; }
.addons-list em { font-style: normal; font-weight: 600; color: var(--accent); white-space: nowrap; font-size: 0.95rem; }
.travel-note {
  margin-top: 1.7rem;
  color: var(--muted);
  font-size: clamp(0.98rem, 1.18vw, 1.08rem);
  line-height: 1.6;
  font-weight: 400;
}
.travel-note strong { color: var(--ink); font-weight: 700; }

/* ─── faq ─── */
.faq-list { max-width: 820px; margin-inline: auto; }
.faq-item { border-top: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none; cursor: pointer; position: relative;
  font-family: var(--font-display); font-weight: 700; font-size: clamp(1.05rem, 1.9vw, 1.3rem);
  padding: 1.5rem 3.5rem 1.5rem 0.2rem;
  transition: color 0.3s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--accent); }
.faq-icon { position: absolute; right: 0.6rem; top: 50%; width: 16px; height: 16px; transform: translateY(-50%); }
.faq-icon::before, .faq-icon::after {
  content: ""; position: absolute; background: var(--muted); transition: transform 0.35s, background 0.35s;
}
.faq-icon::before { top: 50%; left: 0; right: 0; height: 2px; margin-top: -1px; }
.faq-icon::after { left: 50%; top: 0; bottom: 0; width: 2px; margin-left: -1px; }
.faq-item[open] .faq-icon::after { transform: scaleY(0); }
.faq-item[open] .faq-icon::before { background: var(--accent); }
.faq-a { overflow: hidden; }
.faq-a p { color: var(--muted); font-weight: 400; max-width: 56ch; padding: 0 0.2rem 1.6rem; }

/* ─── booking ─── */
.book {
  background:
    radial-gradient(55% 50% at 80% 0%, rgba(154, 47, 31, 0.07), transparent 70%),
    radial-gradient(40% 40% at 10% 100%, rgba(48, 58, 44, 0.06), transparent 70%),
    var(--bg-2);
  border-top: 1px solid var(--line);
}
.book-inner {
  display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(3rem, 6vw, 6rem); align-items: start;
}
.book-title span { white-space: nowrap; }
.book-direct { margin-top: 2.4rem; display: flex; flex-direction: column; gap: 0.9rem; }
.direct-link {
  display: inline-flex; align-items: center; gap: 0.8em;
  font-size: 1rem; color: var(--ink); width: fit-content;
  border-bottom: 1px solid var(--line); padding-bottom: 0.4em;
  transition: border-color 0.3s, color 0.3s;
}
.direct-link:hover { border-color: var(--accent); color: var(--accent); }
.direct-ico {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.1em; height: 2.1em; border-radius: 50%; border: 1px solid var(--line);
  font-size: 0.9em;
}
.direct-note {
  color: var(--muted);
  font-size: 0.9rem;
  max-width: 32ch;
}

.book-form {
  position: relative;
  border: 1px solid var(--line); border-radius: 26px;
  background: rgba(255, 253, 248, 0.82);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  display: flex; flex-direction: column; gap: 1.1rem;
  box-shadow: var(--shadow-soft);
}
.book-form.is-complete > :not(.form-success) {
  pointer-events: none;
}
.ff-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.ff { display: flex; flex-direction: column; gap: 0.45rem; min-width: 0; }
.ff label { font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.ff label .opt { text-transform: none; letter-spacing: 0.02em; opacity: 0.7; }
.ff input, .ff select, .ff textarea {
  width: 100%; background: #fff;
  border: 1px solid var(--line); border-radius: 12px;
  color: var(--ink); font-family: var(--font-body); font-size: 0.98rem;
  padding: 0.8em 1em; outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.ff input:focus, .ff select:focus, .ff textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(154, 47, 31, 0.12); }
.ff select {
  min-height: 48px;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  padding-right: 3rem;
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%2317130e' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1rem;
}
.ff select option {
  color: var(--ink);
  background: #fff;
}
.ff input[type="date"] {
  position: relative;
  cursor: pointer;
  padding-right: 2.8em;
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%2317130e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 2v4'/%3E%3Cpath d='M16 2v4'/%3E%3Crect x='3' y='4' width='18' height='18' rx='2'/%3E%3Cpath d='M3 10h18'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1em center;
  background-size: 1em;
}
.ff input[type="date"]::-webkit-calendar-picker-indicator {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}
.ff textarea { resize: vertical; min-height: 5em; }
.ff input.is-invalid, .ff select.is-invalid, .ff textarea.is-invalid { border-color: #b3261e; }
.form-error { color: #b3261e; font-size: 0.85rem; }

.form-success {
  position: absolute; inset: 0; border-radius: 26px;
  min-height: 100%;
  background:
    radial-gradient(42% 34% at 52% 18%, rgba(154, 47, 31, 0.09), transparent 72%),
    #fffdf8;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  gap: 0.9rem; padding: clamp(1.5rem, 4vw, 2.6rem);
  z-index: 2;
}
.form-success:focus { outline: none; }
.form-success:focus-visible {
  box-shadow:
    0 0 0 2px rgba(23, 19, 14, 0.18),
    0 22px 56px rgba(23, 19, 14, 0.14);
}
.form-success[hidden] { display: none; }
.fs-spark {
  display: grid;
  place-items: center;
  width: 4.25rem;
  height: 4.25rem;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-size: 2rem;
  box-shadow: 0 16px 36px rgba(23, 19, 14, 0.16);
}
.thank-kicker {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 800;
  margin-top: 0.2rem;
}
.form-success h3 {
  max-width: 13ch;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 0.98;
}
.form-success p { color: var(--muted); max-width: 46ch; font-weight: 400; }
.thank-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  margin-top: 0.6rem;
}
.thank-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.thank-actions .btn { min-width: 150px; }

/* ─── footer — ink closes the page ─── */
.footer {
  background: var(--ink); color: var(--paper);
  padding: clamp(3rem, 6vw, 5rem) var(--pad-x) 1.8rem;
}
.footer-top {
  display: flex; align-items: baseline; justify-content: space-between; gap: 2rem; flex-wrap: wrap;
  margin-bottom: 3rem;
}
.logo-foot { font-size: 1.14rem; }
.footer .logo { color: var(--paper); }
.footer .logo-mark {
  background: var(--bg-2);
  color: var(--ink);
}
.footer-tag {
  font-size: clamp(1.3rem, 2.6vw, 1.9rem);
  color: #e9d5c7;
}
.footer-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem;
  padding-bottom: 3rem; border-bottom: 1px solid rgba(251, 248, 241, 0.14);
}
.f-col h4 { font-family: var(--font-body); font-weight: 500; font-size: 0.72rem; letter-spacing: 0.24em; text-transform: uppercase; color: rgba(251, 248, 241, 0.5); margin-bottom: 1.1rem; }
.f-col a { display: block; padding: 0.28rem 0; color: rgba(251, 248, 241, 0.82); font-size: 0.95rem; transition: color 0.3s; }
.f-col a:hover { color: #e8a87c; }
.footer-explore a {
  display: table;
  position: relative;
  width: fit-content;
}
.footer-explore a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0.2rem;
  width: 100%;
  height: 1px;
  background: var(--bg-2);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.footer-explore a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}
.f-col p { color: rgba(251, 248, 241, 0.82); font-size: 0.95rem; font-weight: 400; }
.footer-contact-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-top: 0.12rem;
}
.f-col .footer-contact-strong {
  display: inline-block;
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}
.f-col .footer-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 1.9rem;
  padding: 0.28rem 0.68rem;
  border: 1px solid rgba(239, 233, 221, 0.24);
  border-radius: 999px;
  color: rgba(251, 248, 241, 0.82);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1;
}
.f-col .footer-whatsapp:hover {
  border-color: var(--bg-2);
  color: var(--paper);
  background: rgba(239, 233, 221, 0.08);
}
.footer-base {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  padding-top: 1.6rem; font-size: 0.8rem; color: rgba(251, 248, 241, 0.5);
}
.footer-base p {
  font-size: 0;
}
.footer-base p::before {
  content: "© 2026 AI Booth";
  font-size: 0.8rem;
}
.back-top { transition: color 0.3s; }
.back-top:hover { color: var(--paper); }

/* ═══ responsive ═══ */
@media (min-width: 861px) {
  /* keep the pinned section inside one viewport */
  .how {
    min-height: 100dvh;
    display: flex; flex-direction: column; justify-content: center;
    padding-top: 4.5rem; padding-bottom: 3rem;
  }
  .how .section-head { margin-bottom: 2.2rem; }
  .how h2 { font-size: clamp(1.9rem, 3.4vw, 2.9rem); }
  .steps-list { min-height: clamp(360px, 30vw, 720px); }
}

@media (min-width: 1025px) {
  .magic .section-head {
    max-width: 740px;
    margin-bottom: 2.6rem;
  }
  .lab { align-items: start; }
  .lab-stage {
    justify-content: flex-end;
    margin-top: 0;
    padding-right: clamp(1rem, 4vw, 5rem);
  }
}

@media (min-width: 1600px) and (min-height: 1000px) {
  .how {
    justify-content: flex-start;
    padding-top: clamp(7rem, 10vh, 14rem);
  }
}

@media (max-width: 1280px) {
  .book-inner { grid-template-columns: 1fr; }
}

@media (max-width: 1120px) {
  .main-nav { display: none; }
  #menuToggle { display: flex; }
  .header-right .btn { display: none; }
}

@media (max-width: 1024px) {
  .bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: auto; }
  .tile { min-height: 180px; }
  .lab { grid-template-columns: 1fr; }
  .lab-stage { margin-top: 0; padding-right: 0; justify-content: center; }
  .book-inner { grid-template-columns: 1fr; }
  .price-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  .main-nav { display: none; }
  #menuToggle { display: flex; }
  .header-right .btn { display: none; }

  .hero { padding-bottom: 10.5rem; }
  .hero-title {
    font-size: clamp(1.85rem, 7.8vw, 2.1rem);
    line-height: 0.98;
  }
  .hero-title .line { white-space: nowrap; }
  .hero-identity {
    left: var(--pad-x);
    right: var(--pad-x);
    bottom: 2.2rem;
    width: auto;
    padding: 0.9rem 1rem;
  }
  #identityLabel { font-size: 1.55rem; min-width: 9ch; }
  .steps-list { min-height: 0; }
  .step {
    position: static; opacity: 1; visibility: visible; pointer-events: auto;
    grid-template-columns: 90px 1fr; gap: 1.5rem; align-items: start;
    padding: 2rem 0;
  }
  .step + .step { border-top: 1px solid var(--line); }
  .steps-rail { display: none; }
  .step-visual { max-width: 104px; margin: 0; padding: 4px; border-radius: 10px; transform: none !important; }
  .step-visual::after { inset: 4px; border-radius: 6px; }
  .step-visual img { border-radius: 6px; }

  .price-grid { grid-template-columns: 1fr; max-width: 440px; margin-inline: auto; }
  .price-card.is-featured { order: -1; }

  .occ-row { grid-template-columns: 2.4rem 1fr; grid-template-rows: auto auto; gap: 0.4rem 1rem; }
  .occ-row p { grid-column: 2; max-width: none; }
  .occ-arrow { display: none; }
  .occ-row::before { opacity: 0.55; }

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

  .addons-list li { grid-template-columns: 1fr auto; }
  .addons-list span { grid-column: 1 / -1; grid-row: 2; }

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

@media (max-width: 560px) {
  .bento { grid-template-columns: 1fr; }
  .tile, .tile-lg { grid-column: span 1; min-height: 0; }
  .tile h3 { margin-top: 1.4rem; }
  .style-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: minmax(104px, 1fr); gap: 0.55rem; }
  .style-card { min-height: 104px; padding: 0.82rem; }
  .style-card-copy strong { font-size: 0.86rem; }
  .style-card-copy small { font-size: 0.68rem; line-height: 1.28; }
  .compare-card { width: min(100%, 460px); padding: 0; }
  .compare-head { align-items: flex-start; flex-direction: column; gap: 0.2rem; padding-bottom: 0.8rem; }
  .compare-grid { min-height: clamp(320px, 86vw, 430px); }
  .compare-frame-before { width: 44%; left: 1.5%; bottom: 14%; border-width: 4px; }
  .compare-frame-after { width: 86%; padding: 0.5rem 0.5rem 2rem; border-radius: 8px; }
  .compare-label { left: 0.45rem; top: 0.45rem; font-size: 0.52rem; }
  .stats { grid-template-columns: 1fr; }
  .ff-row { grid-template-columns: 1fr; }
  .hero-ctas .btn { flex: 1 1 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 2.1rem; }
  .footer-contact-row { gap: 0.5rem; }
  .f-col .footer-contact-strong { font-size: 0.95rem; }
}

/* ═══ reduced motion ═══ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
  }
  .marquee-track { animation: none; }
  html { scroll-behavior: auto; }
}
