/* =====================================================================
   ATELIER · LAGOS EDITION
   A Nigerian-grown AR marketplace. Adire indigo + terracotta clay +
   ankara gold + palm green on warm daylight paper. Hand-painted
   signage warmth, gallery-grade typography. No pattern-clichés.
   ===================================================================== */

:root {
  /* Surfaces — daylight paper */
  --paper:     #f6efe2;          /* aso-oke cream */
  --paper-2:   #ede4d0;
  --paper-3:   #dccfb5;
  --ink:       #1a1410;          /* charcoal ink */
  --ink-soft:  #2a221c;
  --ink-mute:  #7a6a58;
  --line:      #d6c9ac;
  --line-2:    #c0b08c;

  /* Accents */
  --indigo:    #1c3a64;          /* adire deep blue */
  --indigo-2:  #15294a;
  --terracotta: #c14a25;         /* clay red */
  --terracotta-2: #a23a18;
  --gold:      #e8a83a;          /* ankara gold */
  --palm:      #2f6b3f;          /* palm green */
  --hibiscus:  #b8345c;          /* hibiscus pink */

  /* Type */
  --display: 'Fraunces', 'Recoleta', Georgia, serif;
  --body:    'Outfit', 'Inter Tight', system-ui, sans-serif;
  --mono:    'JetBrains Mono', 'IBM Plex Mono', ui-monospace, monospace;

  --r-sm: 6px; --r-md: 12px; --r-lg: 18px; --r-xl: 28px;

  --ease:   cubic-bezier(0.22, 1, 0.36, 1);
  --ease-2: cubic-bezier(0.32, 0.72, 0.24, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { font-family: var(--body); background: var(--paper); color: var(--ink);
  font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased;
  font-feature-settings: 'ss01' on, 'cv11' on;
  overflow-x: hidden; }

/* Paper grain */
body::before {
  content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 1;
  opacity: 0.55;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.58 0 0 0 0 0.50 0 0 0 0 0.38 0 0 0 0.15 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}
/* Sunlight wash from upper-left + warm pool lower-right */
body::after {
  content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(800px circle at 6% 8%, rgba(232,168,58,0.10), transparent 50%),
    radial-gradient(700px circle at 96% 88%, rgba(193,74,37,0.08), transparent 55%);
}

main { position: relative; z-index: 2; }
::selection { background: var(--terracotta); color: var(--paper); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.wrap { max-width: 1320px; margin: 0 auto; padding: 0 28px; }
@media (max-width: 720px) { .wrap { padding: 0 18px; } }

.row { display: flex; align-items: center; }
.col { display: flex; flex-direction: column; }
.between { display: flex; justify-content: space-between; align-items: center; }
.flex-1 { flex: 1; }
.gap-2 { gap: 8px; } .gap-4 { gap: 16px; } .gap-6 { gap: 24px; } .gap-8 { gap: 32px; }
.mt-2 { margin-top: 8px; } .mt-4 { margin-top: 16px; } .mt-6 { margin-top: 24px; } .mt-8 { margin-top: 32px; }
.mb-2 { margin-bottom: 8px; } .mb-4 { margin-bottom: 16px; } .mb-6 { margin-bottom: 24px; } .mb-8 { margin-bottom: 32px; }
.hidden { display: none !important; }
.tnum { font-variant-numeric: tabular-nums; font-feature-settings: 'tnum'; }
.mute { color: var(--ink-mute); }
.center { text-align: center; }

.eyebrow {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--terracotta); font-weight: 500;
  display: inline-flex; align-items: center; gap: 8px;
}
.eyebrow::before { content: ''; width: 22px; height: 1px; background: var(--terracotta); }

/* =====================================================================
   NAV
   ===================================================================== */
.nav { position: sticky; top: 0; z-index: 50;
  background: linear-gradient(to bottom, var(--paper), rgba(246, 239, 226, 0.95));
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between;
  padding: 18px 28px; gap: 24px; }

/* =====================================================================
   BRAND LOGO — RIMSAC AR Live (with continuous orbital dust)
   ===================================================================== */
.brand { display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none; position: relative; padding: 6px 4px; }

/* Particle dust field — continuous orbital motion around the wordmark */
.brand-dust {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  /* This is the orbit center */
}
.dust {
  position: absolute; top: 50%; left: 50%;
  width: 3px; height: 3px;
  border-radius: 50%;
  transform-origin: 0 0;
  pointer-events: none;
  filter: blur(0.3px);
  will-change: transform, opacity;
}
/* 14 dust motes — varied colors / sizes / orbital radii / speeds / start times */
.dust:nth-child(1)  { background: var(--gold);       width: 4px; height: 4px;
  animation: dustOrbit-a 9s linear infinite; }
.dust:nth-child(2)  { background: var(--terracotta); width: 3px; height: 3px;
  animation: dustOrbit-b 13s linear infinite -1.5s; }
.dust:nth-child(3)  { background: var(--gold);       width: 2px; height: 2px;
  animation: dustOrbit-c 7s  linear infinite -2s;  opacity: 0.7; }
.dust:nth-child(4)  { background: var(--terracotta); width: 5px; height: 5px;
  animation: dustOrbit-a 11s linear infinite -3s; }
.dust:nth-child(5)  { background: var(--gold);       width: 3px; height: 3px;
  animation: dustOrbit-b 8s  linear infinite -4.5s; }
.dust:nth-child(6)  { background: var(--indigo);     width: 2px; height: 2px;
  animation: dustOrbit-c 10s linear infinite -5s; opacity: 0.8; }
.dust:nth-child(7)  { background: var(--gold);       width: 4px; height: 4px;
  animation: dustOrbit-a 14s linear infinite -2.5s; }
.dust:nth-child(8)  { background: var(--terracotta); width: 3px; height: 3px;
  animation: dustOrbit-b 6s  linear infinite -1s; }
.dust:nth-child(9)  { background: var(--gold);       width: 2px; height: 2px;
  animation: dustOrbit-c 12s linear infinite -6s; opacity: 0.6; }
.dust:nth-child(10) { background: var(--terracotta); width: 4px; height: 4px;
  animation: dustOrbit-a 7s  linear infinite -3.5s; }
.dust:nth-child(11) { background: var(--gold);       width: 3px; height: 3px;
  animation: dustOrbit-b 15s linear infinite -7s; }
.dust:nth-child(12) { background: var(--indigo);     width: 2px; height: 2px;
  animation: dustOrbit-c 9s  linear infinite -4s; opacity: 0.7; }
.dust:nth-child(13) { background: var(--gold);       width: 5px; height: 5px;
  animation: dustOrbit-a 16s linear infinite -8s; }
.dust:nth-child(14) { background: var(--terracotta); width: 2px; height: 2px;
  animation: dustOrbit-b 10s linear infinite -2s; }

/* Three orbit paths — different radii on x/y axes give the "dust cloud" feel */
@keyframes dustOrbit-a {
  0%   { transform: rotate(0deg)   translate(72px, 0)  rotate(0deg);   opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { transform: rotate(360deg) translate(72px, 0)  rotate(-360deg); opacity: 0; }
}
@keyframes dustOrbit-b {
  0%   { transform: rotate(80deg)  translate(54px, 8px) rotate(-80deg); opacity: 0; }
  15%  { opacity: 1; }
  85%  { opacity: 1; }
  100% { transform: rotate(-280deg) translate(54px, 8px) rotate(280deg); opacity: 0; }
}
@keyframes dustOrbit-c {
  0%   { transform: rotate(160deg) translate(90px, -4px) rotate(-160deg); opacity: 0; }
  20%  { opacity: 0.9; }
  80%  { opacity: 0.9; }
  100% { transform: rotate(-200deg) translate(90px, -4px) rotate(200deg); opacity: 0; }
}

.brand-word {
  font-family: var(--display); font-style: italic;
  font-weight: 600; font-size: 26px;
  letter-spacing: -0.022em; color: var(--ink);
  display: inline-flex; gap: 0.5px;
  position: relative; z-index: 1;
}
.brand-word .ltr {
  display: inline-block; opacity: 0;
  transform: translateY(8px);
  animation: ltrIn 0.55s var(--ease) forwards;
}
.brand-word .ltr:nth-child(1) { animation-delay: 0.05s; }
.brand-word .ltr:nth-child(2) { animation-delay: 0.10s; }
.brand-word .ltr:nth-child(3) { animation-delay: 0.15s; }
.brand-word .ltr:nth-child(4) { animation-delay: 0.20s; }
.brand-word .ltr:nth-child(5) { animation-delay: 0.25s; }
.brand-word .ltr:nth-child(6) { animation-delay: 0.30s; }
@keyframes ltrIn { to { opacity: 1; transform: translateY(0); } }

.brand-tag {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 9px; border-radius: 99px;
  background: var(--ink); color: var(--paper);
  font-family: var(--mono); font-size: 9.5px; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  opacity: 0; transform: scale(0.7); position: relative; z-index: 1;
  animation: tagIn 0.5s var(--ease-2) 0.55s forwards;
}
.brand-tag .live-dot {
  width: 5px; height: 5px; border-radius: 50%; background: var(--terracotta);
  box-shadow: 0 0 0 2px rgba(193,74,37,0.45);
  animation: liveDot 1.5s ease-in-out infinite;
}
@keyframes tagIn { to { opacity: 1; transform: scale(1); } }
@keyframes liveDot {
  0%, 100% { box-shadow: 0 0 0 2px rgba(193,74,37,0.45); }
  50%      { box-shadow: 0 0 0 5px rgba(193,74,37,0); }
}
/* Footer variant — inverted */
.foot .brand-word { color: var(--paper); }
.foot .brand-tag { background: var(--gold); color: var(--ink); }

@media (max-width: 540px) {
  .brand-word { font-size: 22px; }
  .brand-tag { font-size: 8.5px; padding: 3px 7px; }
}

.nav-links { display: flex; gap: 28px; }
.nav-links a { font-size: 14px; font-weight: 500; color: var(--ink-soft);
  position: relative; padding: 6px 0; transition: color 0.2s var(--ease); }
.nav-links a:hover, .nav-links a.active { color: var(--terracotta); }
.nav-links a.active::after {
  content: ''; position: absolute; left: -4px; right: -4px; bottom: 0;
  height: 2px; background: var(--terracotta); border-radius: 2px;
}
@media (max-width: 760px) { .nav-links { display: none; } }

.borough-chip { display: inline-flex; align-items: center; gap: 6px;
  background: var(--paper-2); border: 1px solid var(--line);
  padding: 6px 12px; border-radius: 99px;
  font-family: var(--mono); font-size: 11px; font-weight: 500;
  color: var(--ink-soft); cursor: pointer; transition: all 0.2s var(--ease); }
.borough-chip:hover { border-color: var(--terracotta); color: var(--terracotta); }
.borough-chip .pin { color: var(--terracotta); }
@media (max-width: 540px) { .borough-chip { display: none; } }

/* =====================================================================
   BUTTONS
   ===================================================================== */
.btn { display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; padding: 12px 22px; border-radius: 999px;
  font-family: var(--body); font-size: 14px; font-weight: 600;
  line-height: 1; cursor: pointer;
  border: 1.5px solid var(--ink); background: var(--paper); color: var(--ink);
  transition: transform 0.15s var(--ease), box-shadow 0.18s var(--ease),
    background 0.18s var(--ease);
  position: relative; user-select: none; }
.btn:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--ink); }
.btn:active { transform: translate(0, 0); box-shadow: 1px 1px 0 var(--ink); }
.btn-primary { background: var(--terracotta); color: var(--paper); border-color: var(--ink); }
.btn-primary:hover { background: var(--terracotta-2); }
.btn-indigo { background: var(--indigo); color: var(--paper); border-color: var(--ink); }
.btn-indigo:hover { background: var(--indigo-2); }
.btn-ghost { background: transparent; border-color: transparent; box-shadow: none; }
.btn-ghost:hover { background: var(--paper-2); transform: none; box-shadow: none; }
.btn-sm { padding: 8px 14px; font-size: 13px; }
.btn-lg { padding: 16px 28px; font-size: 16px; }
.btn-icon { width: 36px; height: 36px; padding: 0; border-radius: 50%; }
.btn.icon-only { padding: 8px 14px; }
.btn.disabled, .btn:disabled { opacity: 0.45; cursor: not-allowed; pointer-events: none; }

/* =====================================================================
   HERO
   ===================================================================== */
.hero { padding: 56px 0 24px; position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px;
  align-items: center; }
@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  /* On mobile/tablet, banner first for visual impact */
  .hero-grid > :first-child { order: 2; }
  .hero-grid > :last-child  { order: 1; }
}

.hero-eyebrow-row { display: flex; align-items: center; gap: 14px;
  margin-bottom: 24px; flex-wrap: wrap; }
.eyebrow-stamp {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.2em;
  text-transform: uppercase; padding: 6px 12px;
  background: var(--indigo); color: var(--paper);
  border-radius: 4px; transform: rotate(-1.5deg);
  display: inline-flex; align-items: center; gap: 8px;
}
.eyebrow-stamp .live {
  width: 6px; height: 6px; border-radius: 50%; background: var(--terracotta);
  box-shadow: 0 0 0 2px rgba(193, 74, 37, 0.4);
  animation: livePulse 1.6s ease-in-out infinite;
}
@keyframes livePulse {
  0%, 100% { box-shadow: 0 0 0 2px rgba(193,74,37,0.4); }
  50%      { box-shadow: 0 0 0 6px rgba(193,74,37,0); }
}

.hero-title {
  font-family: var(--display); font-weight: 500;
  font-size: clamp(48px, 8.5vw, 124px);
  line-height: 0.92; letter-spacing: -0.035em; color: var(--ink);
}
.hero-title em { font-style: italic; color: var(--terracotta); font-weight: 400; }
.hero-title .underline-stroke { position: relative; display: inline-block; }
.hero-title .underline-stroke::after {
  content: ''; position: absolute; left: -2%; right: -2%; bottom: 0.04em;
  height: 0.16em; background: var(--gold); z-index: -1;
  transform: skew(-3deg);
}
.hero-sub {
  font-size: 19px; line-height: 1.45; color: var(--ink-soft);
  max-width: 480px; margin-top: 24px;
}
.hero-actions { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }

.hero-trust { display: flex; align-items: center; gap: 14px; margin-top: 28px;
  flex-wrap: wrap; color: var(--ink-mute); font-size: 13px; }
.hero-trust .dotsep { width: 4px; height: 4px; border-radius: 50%;
  background: var(--ink-mute); opacity: 0.4; }
.hero-trust strong { color: var(--ink); font-weight: 600; }

.hero-meta { display: grid; grid-template-columns: repeat(3, auto); gap: 32px;
  align-items: end; padding-top: 28px;
  border-top: 1px dashed var(--line-2); max-width: 540px; margin-top: 32px; }
.hero-meta > div { display: flex; flex-direction: column; gap: 4px; }
.hero-meta span { font-family: var(--display); font-size: 32px; font-weight: 500;
  font-style: italic; color: var(--terracotta); line-height: 1; }
.hero-meta em { font-style: normal; font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-mute); }

/* =====================================================================
   HERO BANNER — "Trying AR at home in Lagos"
   Illustrated scene with continuous orbital particles around the AR product.
   ===================================================================== */
.ar-banner {
  position: relative; aspect-ratio: 4/5;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #f6efe2 0%, #ede4d0 62%, #b8946a 62.1%, #8a6a45 100%);
  box-shadow:
    0 20px 50px -30px rgba(28,58,100,0.30),
    0 40px 80px -40px rgba(193,74,37,0.20);
}
/* Subtle dust grain over the whole banner */
.ar-banner::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 1;
  opacity: 0.35;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.58 0 0 0 0 0.50 0 0 0 0 0.38 0 0 0 0.18 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}
.ar-banner svg.scene {
  position: absolute; inset: 0; width: 100%; height: 100%;
  display: block; z-index: 2;
}

/* CONTINUOUS ANIMATIONS — these are inside the SVG via CSS targeting */
/* Person breathing */
.ar-banner .person { transform-box: fill-box; transform-origin: center bottom;
  animation: personBreathe 4s ease-in-out infinite; }
@keyframes personBreathe {
  0%, 100% { transform: translateY(0) scaleY(1); }
  50%      { transform: translateY(-1px) scaleY(1.005); }
}
/* Phone subtle tilt */
.ar-banner .phone-held { transform-box: fill-box; transform-origin: center;
  animation: phoneSway 5s ease-in-out infinite; }
@keyframes phoneSway {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-1.5px) rotate(0.5deg); }
}
/* Phone screen glow pulse */
.ar-banner .phone-glow { animation: glowPulse 2.5s ease-in-out infinite; }
@keyframes glowPulse {
  0%, 100% { opacity: 0.25; }
  50%      { opacity: 0.55; }
}
/* AR chair: subtle scale pulse + opacity flicker (materializing feel) */
.ar-banner .ar-chair { transform-box: fill-box; transform-origin: center bottom;
  animation: chairMaterialize 3.5s ease-in-out infinite; }
@keyframes chairMaterialize {
  0%, 100% { transform: scale(1) translateY(0); opacity: 0.95; }
  50%      { transform: scale(1.012) translateY(-2px); opacity: 1; }
}
/* Placement ring pulse */
.ar-banner .placement-ring-outer { animation: ringPulse 2.4s ease-in-out infinite; transform-origin: center; transform-box: fill-box; }
.ar-banner .placement-ring-inner { animation: ringPulse 2.4s ease-in-out infinite -1.2s; transform-origin: center; transform-box: fill-box; }
@keyframes ringPulse {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50%      { opacity: 0.95; transform: scale(1.06); }
}
/* AR corner reticles around chair */
.ar-banner .reticle-svg { animation: reticleSvgPulse 1.8s ease-in-out infinite; }
@keyframes reticleSvgPulse {
  0%, 100% { opacity: 0.6; }
  50%      { opacity: 1; }
}
/* Scanning beam — dashed line marching from phone to chair */
.ar-banner .beam {
  stroke-dasharray: 6 6;
  stroke-dashoffset: 0;
  animation: beamMarch 1.4s linear infinite;
}
@keyframes beamMarch {
  to { stroke-dashoffset: -24; }
}

/* Window sunlight ray */
.ar-banner .light-ray { animation: rayPulse 4s ease-in-out infinite; transform-origin: center; }
@keyframes rayPulse {
  0%, 100% { opacity: 0.30; }
  50%      { opacity: 0.55; }
}

/* AR-magic particles orbiting the chair (HTML overlay, not SVG) */
.ar-banner .ar-particles {
  position: absolute;
  top: 64%; right: 22%;
  width: 1px; height: 1px;
  z-index: 3;
  pointer-events: none;
}
.ar-banner .ar-particle {
  position: absolute; top: 0; left: 0;
  border-radius: 50%;
  transform-origin: 0 0;
  pointer-events: none;
  will-change: transform, opacity;
  filter: blur(0.4px);
  box-shadow: 0 0 6px currentColor;
}
.ar-banner .ar-particle:nth-child(1)  { width: 5px; height: 5px; color: var(--gold);       background: currentColor;
  animation: arOrbit-a 5s linear infinite; }
.ar-banner .ar-particle:nth-child(2)  { width: 3px; height: 3px; color: var(--terracotta); background: currentColor;
  animation: arOrbit-b 7s linear infinite -0.5s; }
.ar-banner .ar-particle:nth-child(3)  { width: 4px; height: 4px; color: var(--gold);       background: currentColor;
  animation: arOrbit-c 6s linear infinite -1.5s; }
.ar-banner .ar-particle:nth-child(4)  { width: 2px; height: 2px; color: var(--terracotta); background: currentColor;
  animation: arOrbit-a 8s linear infinite -2s; opacity: 0.85; }
.ar-banner .ar-particle:nth-child(5)  { width: 6px; height: 6px; color: var(--gold);       background: currentColor;
  animation: arOrbit-b 9s linear infinite -3s; }
.ar-banner .ar-particle:nth-child(6)  { width: 3px; height: 3px; color: var(--terracotta); background: currentColor;
  animation: arOrbit-c 5.5s linear infinite -4s; }
.ar-banner .ar-particle:nth-child(7)  { width: 4px; height: 4px; color: var(--gold);       background: currentColor;
  animation: arOrbit-a 7s linear infinite -1s; }
.ar-banner .ar-particle:nth-child(8)  { width: 2px; height: 2px; color: var(--terracotta); background: currentColor;
  animation: arOrbit-b 6.5s linear infinite -2.5s; opacity: 0.8; }
.ar-banner .ar-particle:nth-child(9)  { width: 5px; height: 5px; color: var(--gold);       background: currentColor;
  animation: arOrbit-c 10s linear infinite -5s; }
.ar-banner .ar-particle:nth-child(10) { width: 3px; height: 3px; color: var(--terracotta); background: currentColor;
  animation: arOrbit-a 6s linear infinite -3.5s; }
.ar-banner .ar-particle:nth-child(11) { width: 2px; height: 2px; color: var(--gold);       background: currentColor;
  animation: arOrbit-b 8s linear infinite -6s; opacity: 0.7; }
.ar-banner .ar-particle:nth-child(12) { width: 4px; height: 4px; color: var(--terracotta); background: currentColor;
  animation: arOrbit-c 7.5s linear infinite -2s; }
.ar-banner .ar-particle:nth-child(13) { width: 6px; height: 6px; color: var(--gold);       background: currentColor;
  animation: arOrbit-a 9s linear infinite -7s; }
.ar-banner .ar-particle:nth-child(14) { width: 2px; height: 2px; color: var(--terracotta); background: currentColor;
  animation: arOrbit-b 5s linear infinite -1.5s; opacity: 0.9; }
.ar-banner .ar-particle:nth-child(15) { width: 3px; height: 3px; color: var(--gold);       background: currentColor;
  animation: arOrbit-c 8.5s linear infinite -4.5s; }

@keyframes arOrbit-a {
  0%   { transform: rotate(0deg)   translate(80px, -40px) rotate(0deg);    opacity: 0; }
  15%  { opacity: 1; }
  50%  { transform: rotate(180deg) translate(80px, -40px) rotate(-180deg); opacity: 0.9; }
  85%  { opacity: 1; }
  100% { transform: rotate(360deg) translate(80px, -40px) rotate(-360deg); opacity: 0; }
}
@keyframes arOrbit-b {
  0%   { transform: rotate(60deg)  translate(95px, -60px) rotate(-60deg);   opacity: 0; }
  20%  { opacity: 0.9; }
  80%  { opacity: 0.9; }
  100% { transform: rotate(-300deg) translate(95px, -60px) rotate(300deg); opacity: 0; }
}
@keyframes arOrbit-c {
  0%   { transform: rotate(140deg) translate(110px, -30px) rotate(-140deg); opacity: 0; }
  25%  { opacity: 1; }
  75%  { opacity: 1; }
  100% { transform: rotate(-220deg) translate(110px, -30px) rotate(220deg); opacity: 0; }
}

/* Floating annotation chips (kept) */
.banner-chip {
  position: absolute; z-index: 4;
  background: var(--paper); color: var(--ink);
  border: 1.5px solid var(--ink);
  padding: 7px 12px; border-radius: 99px;
  font-family: var(--mono); font-size: 10px; font-weight: 600;
  letter-spacing: 0.10em; text-transform: uppercase;
  box-shadow: 3px 3px 0 var(--ink);
  display: inline-flex; align-items: center; gap: 6px;
  white-space: nowrap;
  opacity: 0; transform: scale(0.6) translateY(8px);
  animation: chipIn 0.55s var(--ease-2) both;
}
.banner-chip .ic { font-family: var(--display); font-style: italic;
  color: var(--terracotta); font-size: 12px; line-height: 1; }
.banner-chip .live {
  width: 6px; height: 6px; border-radius: 50%; background: var(--terracotta);
  animation: liveDot 1.5s ease-in-out infinite;
}
@keyframes chipIn { to { opacity: 1; transform: scale(1) translateY(0); } }

.chip-arlive {
  top: 5%; left: 5%;
  background: var(--indigo); color: var(--paper);
  animation-delay: 0.8s;
}
.chip-tries {
  top: 11%; right: 6%;
  animation-delay: 1.1s;
}
.chip-tries .ic { color: var(--palm); }
.chip-price {
  top: 56%; right: 4%;
  background: var(--terracotta); color: var(--paper); border-color: var(--ink);
  animation-delay: 1.4s;
}

/* Hero sticker */
.hero-sticker {
  position: absolute; top: -10px; right: -22px;
  width: 92px; height: 92px; border-radius: 50%;
  background: var(--gold); border: 1.5px solid var(--ink);
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 2px;
  transform: rotate(8deg);
  font-family: var(--mono); font-size: 9px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink);
  box-shadow: 3px 3px 0 var(--ink); z-index: 5;
  animation: stickerIn 0.6s var(--ease-2) 1.8s both;
}
@keyframes stickerIn {
  from { opacity: 0; transform: rotate(20deg) scale(0); }
  to   { opacity: 1; transform: rotate(8deg) scale(1); }
}
.hero-sticker strong { font-family: var(--display); font-size: 21px;
  font-weight: 600; font-style: italic; letter-spacing: -0.02em; }

@media (max-width: 700px) {
  .ar-banner { aspect-ratio: 3/4; }
  .banner-chip { font-size: 9px; padding: 6px 10px; }
  .hero-sticker { width: 76px; height: 76px; right: -8px; }
  .hero-sticker strong { font-size: 18px; }
}


/* =====================================================================
   MARQUEE — adire-indigo signage
   ===================================================================== */
.marquee {
  margin-top: 56px; padding: 18px 0;
  background: var(--indigo); color: var(--paper);
  overflow: hidden; position: relative;
  border-top: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink);
}
.marquee-track {
  display: flex; gap: 36px; white-space: nowrap;
  animation: marquee 32s linear infinite;
  font-family: var(--display); font-size: 22px; font-style: italic;
}
.marquee-track span { display: inline-flex; align-items: center; gap: 36px; }
.marquee-track span::after { content: '◆'; color: var(--gold); font-style: normal;
  font-size: 12px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* =====================================================================
   LOCAL BAR
   ===================================================================== */
.local-bar { padding: 28px 0; border-bottom: 1px dashed var(--line-2); }
.local-bar .wrap { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.local-bar-label {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--ink-mute);
}
.local-chips { display: flex; gap: 8px; flex-wrap: wrap; flex: 1; }
.local-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; border-radius: 99px;
  background: var(--paper-2); border: 1px solid var(--line);
  font-size: 13px; font-weight: 500; color: var(--ink-soft);
  cursor: pointer; transition: all 0.2s var(--ease);
}
.local-chip:hover { border-color: var(--ink); background: var(--paper); }
.local-chip.active { background: var(--indigo); color: var(--paper); border-color: var(--indigo); }
.local-chip .dist { font-family: var(--mono); font-size: 10px;
  opacity: 0.7; font-weight: 500; }

/* =====================================================================
   PRODUCT GRID
   ===================================================================== */
.products-section { padding: 56px 0 32px; }
.section-head { display: flex; justify-content: space-between; align-items: end;
  margin-bottom: 32px; gap: 24px; flex-wrap: wrap; }
.section-head h2 {
  font-family: var(--display); font-size: clamp(36px, 5vw, 64px);
  font-weight: 500; line-height: 1.0; letter-spacing: -0.03em; color: var(--ink);
}
.section-head h2 em { font-style: italic; color: var(--terracotta); }
.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  padding: 8px 14px; border-radius: 99px;
  background: transparent; border: 1.5px solid var(--line);
  font-family: var(--body); font-size: 13px; font-weight: 500;
  color: var(--ink-soft); cursor: pointer;
  transition: all 0.18s var(--ease);
}
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip.active { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.product-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px 20px;
}
.product-card {
  background: var(--paper); border-radius: var(--r-md);
  cursor: pointer; position: relative;
  transition: transform 0.28s var(--ease);
}
.product-card:hover { transform: translateY(-4px); }
.product-card .thumb {
  aspect-ratio: 1; border-radius: var(--r-md);
  background: var(--paper-2); position: relative; overflow: hidden;
  border: 1px solid var(--line);
}
.product-card .thumb img,
.product-card .thumb model-viewer {
  width: 100%; height: 100%; object-fit: cover;
  --poster-color: var(--paper-2); background: var(--paper-2);
}
.product-card .thumb img { transition: transform 0.7s var(--ease); }
.product-card:hover .thumb img { transform: scale(1.04); }

.ar-badge {
  position: absolute; top: 10px; right: 10px;
  padding: 5px 10px; border-radius: 99px;
  background: var(--gold); color: var(--ink);
  font-family: var(--mono); font-size: 10px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  border: 1.2px solid var(--ink); box-shadow: 2px 2px 0 var(--ink);
  transform: rotate(2deg);
}
.local-badge {
  position: absolute; bottom: 10px; left: 10px;
  padding: 5px 10px; border-radius: 4px;
  background: var(--indigo); color: var(--paper);
  font-family: var(--mono); font-size: 9px; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 5px;
}
.local-badge::before { content: '◉'; color: var(--gold); }

.product-card .meta { padding: 14px 4px 0; display: flex; flex-direction: column; gap: 4px; }
.product-card .meta .name {
  font-family: var(--display); font-size: 18px; font-weight: 500;
  line-height: 1.15; color: var(--ink);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-card .meta .price {
  display: flex; align-items: baseline; gap: 8px; font-size: 14px;
  color: var(--ink-mute); margin-top: 2px;
}
.product-card .meta .price strong {
  font-family: var(--display); font-size: 19px; font-weight: 600;
  font-style: italic; color: var(--terracotta); letter-spacing: -0.01em;
}

/* "Tried in N rooms" social proof on cards */
.tried-badge {
  position: absolute; bottom: 10px; right: 10px;
  background: rgba(26, 20, 16, 0.85); color: var(--paper);
  padding: 4px 9px; border-radius: 4px;
  font-family: var(--mono); font-size: 9px; font-weight: 500;
  letter-spacing: 0.10em; text-transform: uppercase;
  backdrop-filter: blur(4px);
}
.tried-badge::before { content: '◯'; color: var(--gold); margin-right: 5px; }

/* =====================================================================
   PHOTO→AR BAND
   ===================================================================== */
.band { padding: 96px 0; }
.band-inner {
  display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 56px;
  align-items: center;
  background: var(--indigo); color: var(--paper);
  border-radius: var(--r-xl);
  padding: 64px 56px; position: relative; overflow: hidden;
}
.band-inner::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 80% 30%, rgba(193,74,37,0.22), transparent 50%),
    radial-gradient(circle at 10% 80%, rgba(232,168,58,0.16), transparent 60%);
  pointer-events: none;
}
.band-inner > * { position: relative; z-index: 1; }
.band-inner .eyebrow { color: var(--gold); }
.band-inner .eyebrow::before { background: var(--gold); }
.band-title {
  font-family: var(--display); font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 500; line-height: 0.96; letter-spacing: -0.03em;
}
.band-title em { font-style: italic; color: var(--terracotta); font-weight: 400; }
.band-sub {
  font-size: 17px; line-height: 1.55; margin-top: 22px;
  max-width: 480px; color: rgba(246, 239, 226, 0.78);
}
.band-sub code {
  font-family: var(--mono); color: var(--gold);
  background: rgba(232, 168, 58, 0.12); padding: 1px 6px;
  border-radius: 3px; font-size: 0.9em;
}
.band-pipeline { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pipe-step {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(246,239,226,0.15);
  border-radius: var(--r-md); padding: 18px 18px;
  display: flex; flex-direction: column; gap: 10px;
  transition: transform 0.25s var(--ease);
}
.pipe-step:hover { transform: translateY(-2px); }
.pipe-step.accent { background: var(--terracotta); border-color: var(--terracotta); }
.pipe-n { font-family: var(--mono); font-size: 10px; letter-spacing: 0.18em; color: var(--gold); }
.pipe-step strong { font-family: var(--display); font-weight: 500; font-size: 19px;
  line-height: 1.15; color: var(--paper); }
.pipe-step em { font-style: normal; font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.14em; color: rgba(246,239,226,0.55); text-transform: uppercase; }
.pipe-arrow { display: none; }
@media (max-width: 980px) {
  .band-inner { grid-template-columns: 1fr; padding: 40px 32px; }
}

/* =====================================================================
   FEATURES STRIP
   ===================================================================== */
.features-strip {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--line); border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line); margin: 56px 0;
}
.feature-tile {
  background: var(--paper); padding: 28px 24px;
  display: flex; flex-direction: column; gap: 6px;
}
.feature-tile .icon {
  font-family: var(--display); font-size: 24px; color: var(--terracotta);
  font-style: italic; font-weight: 600;
}
.feature-tile h4 { font-family: var(--display); font-size: 19px; font-weight: 500;
  color: var(--ink); margin-top: 4px; }
.feature-tile p { color: var(--ink-mute); font-size: 13px; line-height: 1.5; }
@media (max-width: 880px) { .features-strip { grid-template-columns: repeat(2, 1fr); } }

/* =====================================================================
   PRODUCT DETAIL
   ===================================================================== */
.detail-grid { display: grid; grid-template-columns: 1.15fr 0.85fr;
  gap: 64px; padding: 56px 0; align-items: start; }
@media (max-width: 980px) { .detail-grid { grid-template-columns: 1fr; gap: 40px; } }

.detail-stage {
  position: relative; aspect-ratio: 1;
  background: var(--paper-2); border-radius: var(--r-lg);
  border: 1px solid var(--line); overflow: hidden;
}
.detail-stage model-viewer {
  width: 100%; height: 100%;
  --poster-color: var(--paper-2);
  background: linear-gradient(180deg, #faf6ec, #ece1cb);
}
.detail-stage .hero-tag {
  bottom: 16px; left: 50%; transform: translateX(-50%);
  background: rgba(26,20,16,0.85); color: var(--paper);
  padding: 6px 14px; border-radius: 99px; font-size: 12px;
  font-family: var(--body); font-style: normal; font-weight: 500;
}

.detail-title {
  font-family: var(--display); font-size: clamp(36px, 5vw, 60px);
  font-weight: 500; line-height: 1.0; letter-spacing: -0.025em;
  color: var(--ink); margin-top: 8px;
}
.detail-rating { display: flex; align-items: center; gap: 10px; }
.detail-price {
  display: inline-flex; align-items: baseline; gap: 8px;
  font-family: var(--display); font-size: 38px; font-weight: 600;
  font-style: italic; color: var(--ink); letter-spacing: -0.015em;
  padding: 8px 16px; background: var(--gold);
  border: 1.5px solid var(--ink); border-radius: 6px;
  transform: rotate(-1deg); box-shadow: 3px 3px 0 var(--ink);
}
.detail-desc { color: var(--ink-soft); font-size: 16px; line-height: 1.6;
  margin-top: 20px; }

/* AR social proof — "Tried by 2,481 customers in their rooms" */
.ar-social {
  margin-top: 20px; padding: 16px 18px;
  background: rgba(28, 58, 100, 0.06);
  border-left: 3px solid var(--indigo);
  border-radius: 0 8px 8px 0;
}
.ar-social-num {
  font-family: var(--display); font-style: italic; font-size: 28px;
  font-weight: 600; color: var(--indigo); letter-spacing: -0.015em;
  line-height: 1;
}
.ar-social-cap { font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-mute);
  margin-top: 4px; }

/* Local delivery panel */
.local-panel {
  margin-top: 20px; padding: 18px 20px;
  background: var(--paper-2); border: 1.5px solid var(--ink);
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.local-panel .lp-head { font-family: var(--display); font-style: italic;
  font-size: 17px; color: var(--ink); font-weight: 500; }
.local-panel .lp-sub { font-size: 13px; color: var(--ink-mute); margin-top: 2px;
  font-family: var(--mono); letter-spacing: 0.06em; }
.local-panel .lp-when { font-family: var(--display); font-size: 22px;
  font-style: italic; font-weight: 600; color: var(--terracotta);
  letter-spacing: -0.015em; }

.meta-k { color: var(--ink-mute); font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.14em; text-transform: uppercase; }

/* =====================================================================
   REVIEWS
   ===================================================================== */
.reviews-section { padding: 56px 0;
  border-top: 1px dashed var(--line-2); margin-top: 32px; }
.reviews-head { display: flex; justify-content: space-between; align-items: end;
  margin-bottom: 32px; gap: 16px; flex-wrap: wrap; }
.reviews-head h2 { font-family: var(--display); font-size: 36px; font-weight: 500;
  letter-spacing: -0.02em; line-height: 1; color: var(--ink); }
.reviews-list { display: grid; gap: 14px;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
.review-card {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 22px; position: relative;
}
.review-card::before {
  content: '\201C'; position: absolute; top: -14px; right: 18px;
  font-family: var(--display); font-style: italic; font-size: 80px;
  font-weight: 500; color: var(--gold); line-height: 1;
}
.review-head { display: flex; gap: 12px; margin-bottom: 12px; }
.avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--terracotta); color: var(--paper);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--display); font-weight: 600; font-size: 16px;
  font-style: italic; flex-shrink: 0;
}
.review-name { font-weight: 600; font-size: 14px; color: var(--ink); }
.review-meta { display: flex; align-items: center; gap: 4px;
  font-size: 11px; margin-top: 2px; }
.review-body { color: var(--ink-soft); font-size: 14px; line-height: 1.6;
  font-family: var(--display); font-style: italic; font-weight: 400; }

.stars { display: inline-flex; gap: 1px; }
.stars .s { color: var(--paper-3); font-size: 14px; line-height: 1; }
.stars .s.on { color: var(--gold); }
.rating-num { font-size: 13px; color: var(--ink-soft); font-weight: 600; }
.star-pick { display: inline-flex; gap: 6px; font-size: 28px; cursor: pointer;
  user-select: none; }
.star-pick span { color: var(--paper-3); transition: color 0.15s; }
.star-pick span.on, .star-pick span:hover { color: var(--gold); }

/* =====================================================================
   STOREFRONT
   ===================================================================== */
.store-hero { padding-bottom: 32px;
  border-bottom: 1px dashed var(--line-2); margin-bottom: 32px; }
.store-banner {
  height: 220px; position: relative; overflow: hidden;
  background:
    repeating-linear-gradient(
      45deg, var(--indigo) 0 28px, var(--paper) 28px 56px, var(--gold) 56px 84px, var(--paper) 84px 112px
    );
  border-bottom: 1.5px solid var(--ink);
}
.store-banner::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 40%, var(--paper));
}
.store-hero-inner { padding: 32px 0 16px; position: relative; margin-top: -64px; }
.store-mark { display: flex; align-items: center; gap: 18px; margin-bottom: 16px;
  position: relative; z-index: 1; }
.store-logo {
  width: 84px; height: 84px; border-radius: 50%;
  background: var(--paper); border: 2px solid var(--ink);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--display); font-size: 36px; font-weight: 600;
  font-style: italic; color: var(--terracotta);
  box-shadow: 4px 4px 0 var(--ink);
}
.store-name { font-family: var(--display); font-size: clamp(38px, 5vw, 64px);
  font-weight: 500; letter-spacing: -0.025em; line-height: 1; color: var(--ink); }
.store-desc { color: var(--ink-soft); font-size: 17px; line-height: 1.55;
  max-width: 640px; font-family: var(--display); font-style: italic; }
.store-meta { display: flex; gap: 36px; margin-top: 24px; padding-top: 24px;
  border-top: 1px dashed var(--line-2); flex-wrap: wrap; }
.store-stat span { font-family: var(--display); font-size: 28px; font-weight: 600;
  font-style: italic; color: var(--terracotta); letter-spacing: -0.01em; }
.store-stat em { font-style: normal; font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-mute); }

/* =====================================================================
   PRICING
   ===================================================================== */
.pricing-hero { padding: 72px 0 28px; text-align: center; }
.pricing-title {
  font-family: var(--display); font-size: clamp(48px, 7vw, 92px);
  font-weight: 500; line-height: 0.95; letter-spacing: -0.035em;
}
.pricing-title em { font-style: italic; color: var(--terracotta); font-weight: 400; }
.pricing-sub { max-width: 560px; margin: 22px auto 0; color: var(--ink-soft);
  font-size: 17px; line-height: 1.55; }
.billing-toggle {
  display: inline-flex; margin-top: 36px;
  background: var(--paper-2); border: 1.5px solid var(--ink); border-radius: 99px;
  padding: 4px;
}
.billing-toggle button {
  padding: 10px 22px; border: 0; background: transparent;
  color: var(--ink-soft); font-family: var(--body); font-size: 13px;
  font-weight: 600; cursor: pointer; border-radius: 99px;
  transition: all 0.2s var(--ease);
}
.billing-toggle button.active { background: var(--ink); color: var(--paper); }
.billing-toggle em { font-style: italic; font-family: var(--display);
  font-size: 12px; margin-left: 4px; color: var(--terracotta); }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  padding: 48px 0; }
.pricing-grid.compact { padding: 0; }
.price-card {
  position: relative; background: var(--paper);
  border: 1.5px solid var(--ink); border-radius: var(--r-lg);
  padding: 36px 28px; display: flex; flex-direction: column; gap: 14px;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.price-card:hover { transform: translateY(-4px); box-shadow: 6px 6px 0 var(--ink); }
.price-card.featured { background: var(--indigo); color: var(--paper); }
.price-card.featured .tier-tag,
.price-card.featured .tier-commission { color: rgba(246,239,226,0.7); }
.price-card.featured .tier-features li { color: rgba(246,239,226,0.85); }
.price-card.current { box-shadow: 4px 4px 0 var(--terracotta); }
.flag {
  position: absolute; top: -14px; left: 24px;
  background: var(--terracotta); color: var(--paper);
  font-family: var(--mono); font-size: 10px; padding: 5px 12px;
  border-radius: 4px; letter-spacing: 0.14em; text-transform: uppercase;
  font-weight: 600; transform: rotate(-2deg);
  border: 1.5px solid var(--ink); box-shadow: 2px 2px 0 var(--ink);
}
.tier-name { font-family: var(--display); font-size: 32px; font-weight: 500;
  letter-spacing: -0.02em; font-style: italic; }
.tier-tag { color: var(--ink-mute); font-size: 13px; line-height: 1.4; }
.tier-price { display: flex; align-items: baseline; gap: 6px; margin-top: 6px; }
.tier-price strong {
  font-family: var(--display); font-size: 56px; font-weight: 600;
  font-style: italic; line-height: 1; letter-spacing: -0.03em; color: var(--terracotta);
}
.price-card.featured .tier-price strong { color: var(--gold); }
.tier-price em { font-style: normal; color: var(--ink-mute); font-size: 14px; }
.price-card.featured .tier-price em { color: rgba(246,239,226,0.6); }
.tier-commission { color: var(--ink-soft); font-size: 13px; font-family: var(--mono); }
.tier-features {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 10px;
  padding: 18px 0; border-top: 1px dashed var(--line-2);
}
.price-card.featured .tier-features { border-top-color: rgba(246,239,226,0.18); }
.tier-features li {
  font-size: 14px; color: var(--ink-soft); padding-left: 22px;
  position: relative; line-height: 1.4;
}
.tier-features li::before {
  content: '\2713'; position: absolute; left: 0; top: 0;
  color: var(--terracotta); font-weight: 700;
}
.price-card.featured .tier-features li::before { color: var(--gold); }
.price-card .btn { width: 100%; }
@media (max-width: 880px) { .pricing-grid { grid-template-columns: 1fr; } }

.pricing-faq { padding: 64px 0 96px;
  border-top: 1px dashed var(--line-2); margin-top: 32px; }
.pricing-faq h2 { font-family: var(--display); font-size: 40px; font-weight: 500;
  letter-spacing: -0.025em; margin-bottom: 32px; }
.faq-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.faq-grid h3 { font-family: var(--display); font-size: 19px; font-weight: 600;
  font-style: italic; margin-bottom: 8px; color: var(--ink); }
.faq-grid p { color: var(--ink-soft); font-size: 14px; line-height: 1.6; }
.faq-grid code { font-family: var(--mono); color: var(--terracotta);
  background: rgba(193,74,37,0.08); padding: 1px 4px; border-radius: 3px;
  font-size: 0.9em; }
@media (max-width: 720px) { .faq-grid { grid-template-columns: 1fr; } }

/* =====================================================================
   DASHBOARDS
   ===================================================================== */
.dashboard { display: grid; grid-template-columns: 240px 1fr;
  min-height: calc(100vh - 80px); }
.sidebar {
  background: var(--paper-2); border-right: 1px solid var(--line);
  padding: 32px 24px; display: flex; flex-direction: column; gap: 4px;
}
.group-label { font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--terracotta);
  padding: 0 12px; margin: 18px 0 8px; }
.group-label:first-child { margin-top: 0; }
.side-link {
  padding: 9px 14px; border-radius: 8px;
  font-size: 14px; color: var(--ink-soft); cursor: pointer; font-weight: 500;
  transition: all 0.18s var(--ease);
}
.side-link:hover { background: var(--paper); color: var(--ink); }
.side-link.active { background: var(--ink); color: var(--paper); font-weight: 600; }
.panel { padding: 32px 36px; }
.panel-head {
  display: flex; justify-content: space-between; align-items: end;
  gap: 16px; flex-wrap: wrap; margin-bottom: 32px;
}
.panel-head h1 { font-family: var(--display); font-size: 38px; font-weight: 500;
  letter-spacing: -0.025em; line-height: 1; color: var(--ink); }
.plan-pill {
  display: inline-flex; align-items: center;
  background: var(--gold); color: var(--ink);
  border: 1.5px solid var(--ink); padding: 6px 12px; border-radius: 99px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em;
  text-transform: uppercase; font-weight: 600;
  box-shadow: 2px 2px 0 var(--ink);
}

@media (max-width: 880px) {
  .dashboard { grid-template-columns: 1fr; }
  .sidebar { border-right: 0; border-bottom: 1px solid var(--line);
    flex-direction: row; flex-wrap: wrap; padding: 16px 20px; }
  .group-label { display: none; }
  .panel { padding: 24px 20px; }
}

.card { background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 24px; }
.stat-row { display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px; }
.stat { background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 18px 20px; }
.stat .label { font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--terracotta); }
.stat .value { font-family: var(--display); font-size: 36px; font-weight: 600;
  font-style: italic; line-height: 1; margin-top: 8px;
  letter-spacing: -0.02em; color: var(--ink); }
.stat .delta { font-size: 11px; color: var(--ink-mute); margin-top: 4px;
  font-family: var(--mono); letter-spacing: 0.06em; }
.stat .delta.neg { color: var(--terracotta); }

.table-wrap { overflow-x: auto; border: 1px solid var(--line);
  border-radius: var(--r-md); background: var(--paper); }
.data { width: 100%; border-collapse: collapse; font-size: 13px; }
.data th, .data td { text-align: left; padding: 14px 16px;
  border-bottom: 1px solid var(--line); }
.data th { font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-mute);
  background: var(--paper-2); font-weight: 600; }
.data tbody tr:hover { background: var(--paper-2); }
.data tbody tr:last-child td { border-bottom: 0; }

.status-pill {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 10px; border-radius: 99px;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em;
  text-transform: uppercase; font-weight: 600;
  border: 1px solid var(--line); background: var(--paper-2);
  color: var(--ink-soft);
}
.status-pill.active, .status-pill.paid, .status-pill.delivered, .status-pill.ready, .status-pill.shipped {
  background: rgba(47,107,63,0.10); color: var(--palm);
  border-color: rgba(47,107,63,0.30);
}
.status-pill.pending, .status-pill.processing, .status-pill.draft, .status-pill.queued, .status-pill.trialing {
  background: rgba(232,168,58,0.14); color: #9a6c00;
  border-color: rgba(232,168,58,0.40);
}
.status-pill.cancelled, .status-pill.archived, .status-pill.failed {
  background: rgba(193,74,37,0.10); color: var(--terracotta);
  border-color: rgba(193,74,37,0.30);
}

.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-mute);
  font-weight: 600; }
.input, .select, .textarea {
  width: 100%; padding: 11px 14px;
  background: var(--paper); border: 1.5px solid var(--line);
  border-radius: 8px;
  font-family: var(--body); font-size: 14px; color: var(--ink);
  transition: border-color 0.2s var(--ease);
}
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--ink); }
.textarea { min-height: 90px; resize: vertical; }

.empty { padding: 56px 24px; text-align: center; color: var(--ink-mute); }
.empty .icon { font-size: 48px; color: var(--paper-3);
  font-family: var(--display); margin-bottom: 8px; }
.spinner {
  width: 32px; height: 32px; margin: 0 auto;
  border: 2.5px solid var(--paper-3); border-top-color: var(--terracotta);
  border-radius: 50%; animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* =====================================================================
   CART DRAWER
   ===================================================================== */
.cart-drawer {
  position: fixed; top: 0; right: 0; height: 100dvh; width: 440px;
  max-width: 100vw; background: var(--paper);
  border-left: 1.5px solid var(--ink);
  display: flex; flex-direction: column; z-index: 90;
  transform: translateX(100%);
  transition: transform 0.36s var(--ease-2);
  box-shadow: -20px 0 60px -20px rgba(0,0,0,0.12);
}
body.cart-open .cart-drawer { transform: translateX(0); }
.cart-backdrop {
  position: fixed; inset: 0; background: rgba(26,20,16,0.4);
  backdrop-filter: blur(3px); opacity: 0; pointer-events: none; z-index: 89;
  transition: opacity 0.32s var(--ease);
}
body.cart-open .cart-backdrop { opacity: 1; pointer-events: auto; }
.cart-head { display: flex; justify-content: space-between; align-items: center;
  padding: 22px 24px; border-bottom: 1px dashed var(--line-2); }
.cart-body { flex: 1; overflow-y: auto; padding: 16px 24px; }
.cart-foot { padding: 22px 24px; border-top: 1.5px solid var(--ink);
  background: var(--paper-2); }
.cart-line { display: grid; grid-template-columns: 72px 1fr; gap: 14px;
  padding: 16px 0; border-bottom: 1px dashed var(--line-2); }
.cart-line:last-child { border-bottom: 0; }
.cart-thumb { width: 72px; height: 72px; border-radius: 8px; overflow: hidden;
  background: var(--paper-2); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-mute); font-size: 22px; font-family: var(--display); }
.cart-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-line-name { font-family: var(--display); font-size: 16px; font-weight: 500;
  line-height: 1.2; color: var(--ink); }
.cart-line-price { color: var(--terracotta); font-family: var(--display);
  font-style: italic; font-size: 16px; font-weight: 600; margin-top: 4px; }
.cart-line-controls { display: flex; align-items: center; gap: 8px; margin-top: 10px; }
.qty-btn {
  width: 26px; height: 26px; border: 1.5px solid var(--ink);
  background: var(--paper); color: var(--ink); border-radius: 50%;
  cursor: pointer; font-family: var(--mono); font-weight: 600;
  transition: all 0.15s var(--ease);
}
.qty-btn:hover { background: var(--ink); color: var(--paper); }
.qty { font-family: var(--mono); font-size: 13px; min-width: 22px;
  text-align: center; font-weight: 600; }
.cart-remove { background: transparent; border: 0; color: var(--ink-mute);
  font-size: 11px; letter-spacing: 0.1em; cursor: pointer; margin-left: auto;
  text-transform: uppercase; padding: 4px 8px; font-weight: 600;
  font-family: var(--mono); }
.cart-remove:hover { color: var(--terracotta); }
.cart-empty { padding: 60px 20px; text-align: center; color: var(--ink-mute); }
.cart-empty-icon { font-size: 56px; color: var(--paper-3); margin-bottom: 12px;
  font-family: var(--display); font-style: italic; }
.cart-empty p { margin: 4px 0; }
.cart-foot .between span:last-child { font-family: var(--display);
  font-size: 26px; font-style: italic; font-weight: 600; color: var(--terracotta);
  letter-spacing: -0.015em; }

.cart-glyph { font-size: 18px; }
.cart-count {
  display: inline-flex; align-items: center; justify-content: center;
  margin-left: 6px; min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: 99px;
  background: var(--paper-2); color: var(--ink-mute);
  font-family: var(--mono); font-size: 10px; font-weight: 600;
  transition: all 0.2s;
}
.cart-count.on { background: var(--terracotta); color: var(--paper); }

/* =====================================================================
   CHECKOUT
   ===================================================================== */
.checkout-grid { display: grid; grid-template-columns: 1.4fr 1fr;
  gap: 56px; padding: 56px 0 96px; }
.checkout-title {
  font-family: var(--display); font-size: clamp(36px, 4.5vw, 56px);
  font-weight: 500; letter-spacing: -0.03em; line-height: 1.0;
}
.form-h { font-family: var(--display); font-size: 22px; font-weight: 500;
  font-style: italic; letter-spacing: -0.015em; margin: 0; padding-top: 8px; }
.payment-stub { background: var(--paper-2); border: 1.5px dashed var(--line-2); }
.checkout-summary {
  background: var(--paper); border: 1.5px solid var(--ink);
  border-radius: var(--r-lg); padding: 28px;
  height: fit-content; position: sticky; top: 96px;
  box-shadow: 4px 4px 0 var(--ink);
}
.checkout-items { display: flex; flex-direction: column; gap: 14px;
  padding-bottom: 16px; border-bottom: 1px dashed var(--line-2); }
.co-row { display: grid; grid-template-columns: 60px 1fr auto; gap: 12px;
  align-items: center; }
.co-thumb { width: 60px; height: 60px; border-radius: 8px; overflow: hidden;
  background: var(--paper-2); border: 1px solid var(--line); }
.co-thumb img { width: 100%; height: 100%; object-fit: cover; }
.co-name { font-family: var(--display); font-size: 15px; font-weight: 500;
  line-height: 1.2; }
.co-line-total { font-family: var(--display); font-style: italic;
  font-size: 15px; font-weight: 600; color: var(--terracotta); }
.checkout-totals { padding-top: 18px; display: flex; flex-direction: column; gap: 8px; }
.co-tot { display: flex; justify-content: space-between; font-size: 13px; }
.co-tot.co-grand { padding-top: 14px; border-top: 1.5px solid var(--ink);
  margin-top: 8px; font-family: var(--display); font-size: 22px; font-weight: 600;
  font-style: italic; letter-spacing: -0.015em; }
.co-tot.co-grand .tnum { color: var(--terracotta); }
@media (max-width: 880px) {
  .checkout-grid { grid-template-columns: 1fr; }
  .checkout-summary { position: static; }
}

.order-success { text-align: center; padding: 96px 0; }
.success-mark {
  width: 90px; height: 90px; border-radius: 50%;
  background: var(--gold); border: 2.5px solid var(--ink);
  color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  font-size: 42px; margin: 0 auto 24px;
  box-shadow: 6px 6px 0 var(--ink);
  transform: rotate(-3deg);
}
.order-title {
  font-family: var(--display); font-size: clamp(40px, 5vw, 72px);
  font-weight: 500; letter-spacing: -0.03em; line-height: 1.0;
}
.order-title em { font-style: italic; color: var(--terracotta); font-weight: 400; }
.order-sub { color: var(--ink-soft); font-size: 16px; margin-top: 14px; }

/* =====================================================================
   AR FULLSCREEN + new AR features
   ===================================================================== */
.ar-fullscreen { position: fixed; inset: 0; background: var(--ink); z-index: 100;
  display: flex; align-items: center; justify-content: center; flex-direction: column; }
.ar-fullscreen model-viewer { width: 100%; height: 100%;
  --poster-color: var(--ink); background: var(--ink); }
.ar-fullscreen .close-btn {
  position: absolute; top: 20px; right: 20px; z-index: 3;
  background: var(--paper); color: var(--ink); border: 0; width: 44px; height: 44px;
  border-radius: 50%; cursor: pointer; box-shadow: 3px 3px 0 var(--terracotta);
}
.ar-controls {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  z-index: 3; background: var(--paper); padding: 8px 12px;
  border-radius: 99px; box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

/* AR Toolbar — overlays the AR view with measure / multi-place / add to cart */
.ar-toolbar {
  position: absolute; top: 20px; left: 50%; transform: translateX(-50%);
  z-index: 3; display: flex; gap: 6px;
  background: rgba(246, 239, 226, 0.96); padding: 6px;
  border-radius: 99px; box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  backdrop-filter: blur(8px);
}
.ar-tool {
  background: transparent; border: 0; padding: 8px 14px;
  border-radius: 99px;
  font-family: var(--mono); font-size: 11px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft);
  cursor: pointer; transition: all 0.2s var(--ease);
  display: inline-flex; align-items: center; gap: 6px;
}
.ar-tool:hover { background: var(--paper-2); color: var(--ink); }
.ar-tool.active { background: var(--ink); color: var(--paper); }
.ar-tool .glyph { font-family: var(--display); font-style: italic; font-size: 14px; }
@media (max-width: 540px) {
  .ar-tool .label { display: none; }
  .ar-toolbar { top: 12px; padding: 4px; }
}

/* AR "Add to cart" floating button (only visible in AR session) */
.ar-add-cart {
  position: absolute; bottom: 90px; left: 50%; transform: translateX(-50%);
  z-index: 3; padding: 14px 24px; border-radius: 99px;
  background: var(--terracotta); color: var(--paper);
  border: 1.5px solid var(--ink); box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  font-family: var(--body); font-size: 15px; font-weight: 600;
  cursor: pointer; display: inline-flex; align-items: center; gap: 8px;
  transition: transform 0.2s var(--ease);
}
.ar-add-cart:hover { transform: translateX(-50%) translateY(-2px); }
.ar-add-cart.added { background: var(--palm); }

/* Measurement HUD */
.ar-measure-hud {
  position: absolute; top: 80px; left: 20px; z-index: 3;
  background: rgba(26,20,16,0.92); color: var(--paper);
  padding: 12px 16px; border-radius: 10px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em;
  backdrop-filter: blur(8px); max-width: 220px;
}
.ar-measure-hud .val {
  font-family: var(--display); font-style: italic; font-weight: 600;
  font-size: 26px; color: var(--gold); letter-spacing: -0.015em;
  display: block; margin-top: 4px;
}
.ar-measure-hud .hint { color: rgba(246,239,226,0.55); margin-top: 6px;
  font-size: 10px; line-height: 1.4; }

/* AR receipts — thumbnail strip in customer dashboard */
.ar-receipts {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px; margin-top: 16px;
}
.ar-receipt {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--r-md); overflow: hidden;
  transition: transform 0.25s var(--ease);
  cursor: pointer;
}
.ar-receipt:hover { transform: translateY(-3px); border-color: var(--ink); }
.ar-receipt .thumb {
  aspect-ratio: 1; background: var(--paper-2);
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-mute); font-family: var(--display); font-size: 32px;
  font-style: italic;
}
.ar-receipt .thumb img { width: 100%; height: 100%; object-fit: cover; }
.ar-receipt .meta { padding: 10px; }
.ar-receipt .meta .name { font-family: var(--display); font-size: 14px;
  font-weight: 500; line-height: 1.2; }
.ar-receipt .meta .when { font-family: var(--mono); font-size: 10px;
  color: var(--ink-mute); letter-spacing: 0.06em; margin-top: 4px; }

/* =====================================================================
   AR GENERATOR
   ===================================================================== */
.gen-title { font-family: var(--display); font-size: 34px; font-weight: 500;
  font-style: italic; letter-spacing: -0.02em; line-height: 1.15;
  margin-top: 4px; color: var(--ink); }
.dropzone {
  margin-top: 24px; border: 2.5px dashed var(--line-2);
  border-radius: var(--r-lg); padding: 56px 32px; background: var(--paper-2);
  text-align: center; transition: all 0.25s var(--ease);
  position: relative; overflow: hidden;
}
.dropzone::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(45deg, transparent 0 14px,
    rgba(193,74,37,0.04) 14px 15px);
  pointer-events: none;
}
.dropzone.active { border-color: var(--terracotta); background: var(--paper);
  box-shadow: 0 0 0 3px rgba(193,74,37,0.15); }
.dz-icon { font-size: 48px; color: var(--terracotta); margin-bottom: 10px;
  font-family: var(--display); font-style: italic; font-weight: 600; }
.dz-title { font-family: var(--display); font-size: 24px; font-weight: 500;
  font-style: italic; margin-bottom: 6px; }
.dz-sub { color: var(--ink-mute); font-size: 13px; }
.gen-settings { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 720px) { .gen-settings { grid-template-columns: 1fr; } }
.gen-advanced { margin-top: 16px; padding-top: 16px;
  border-top: 1px dashed var(--line-2); }

.gen-stages { display: flex; flex-direction: column; gap: 12px; }
.gen-stage {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--mono); font-size: 12px; color: var(--ink-mute);
}
.gen-stage .dot { width: 10px; height: 10px; border-radius: 50%;
  background: var(--paper-3); border: 1px solid var(--line);
  transition: all 0.25s var(--ease); flex-shrink: 0; }
.gen-stage.active { color: var(--ink); font-weight: 600; }
.gen-stage.active .dot { background: var(--terracotta); border-color: var(--terracotta);
  box-shadow: 0 0 14px rgba(193,74,37,0.5); animation: pulseDot 1.4s ease-in-out infinite; }
.gen-stage.done { color: var(--ink-soft); }
.gen-stage.done .dot { background: var(--palm); border-color: var(--palm);
  box-shadow: none; animation: none; }
@keyframes pulseDot { 0%,100%{transform:scale(1);} 50%{transform:scale(1.4);} }

.progress-bar { height: 6px; background: var(--paper-2); border-radius: 99px;
  overflow: hidden; border: 1px solid var(--line); }
.progress-bar > span { display: block; height: 100%; width: 0;
  background: linear-gradient(90deg, var(--terracotta), var(--gold));
  transition: width 0.3s var(--ease);
}

.gen-list { display: flex; flex-direction: column; gap: 10px; }
.gen-row { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px;
  align-items: center; padding: 10px;
  background: var(--paper-2); border: 1px solid var(--line);
  border-radius: var(--r-md); }
.gen-thumb { width: 64px; height: 64px; border-radius: 6px;
  overflow: hidden; background: var(--paper);
  display: flex; align-items: center; justify-content: center; }
.gen-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gen-method { font-family: var(--display); font-size: 16px; font-weight: 500;
  font-style: italic; }
.err-text { color: var(--terracotta); font-size: 11px; margin-top: 4px;
  font-family: var(--mono); }
.gen-actions { display: flex; align-items: center; gap: 8px; }

/* AR Studio — seller's hero-angle locker */
.ar-studio-wrap { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 24px;
  margin-top: 24px; }
@media (max-width: 880px) { .ar-studio-wrap { grid-template-columns: 1fr; } }
.ar-studio-stage {
  aspect-ratio: 1; border-radius: var(--r-lg); overflow: hidden;
  background: var(--ink); border: 1.5px solid var(--ink);
  box-shadow: 4px 4px 0 var(--terracotta); position: relative;
}
.ar-studio-stage model-viewer {
  width: 100%; height: 100%;
  --poster-color: var(--ink); background: var(--ink);
}
.ar-studio-controls .field { margin-bottom: 12px; }
.slider-row { display: flex; align-items: center; gap: 10px; }
.slider-row input[type=range] { flex: 1; }
.slider-row .val { font-family: var(--mono); font-size: 12px; min-width: 50px;
  text-align: right; color: var(--ink-soft); }

/* =====================================================================
   METERS
   ===================================================================== */
.meter { margin-bottom: 16px; }
.meter:last-child { margin-bottom: 0; }
.meter-label { display: flex; justify-content: space-between;
  font-size: 13px; margin-bottom: 6px; color: var(--ink-soft); }
.meter-bar { background: var(--paper-2); height: 8px; border-radius: 99px;
  overflow: hidden; position: relative; border: 1px solid var(--line); }
.meter-bar span { display: block; height: 100%;
  background: linear-gradient(90deg, var(--palm), var(--gold));
  border-radius: 99px;
  transition: width 0.6s var(--ease); }
.meter-bar.hot span { background: linear-gradient(90deg, var(--gold), var(--terracotta)); }

/* =====================================================================
   CHARTS / FUNNEL / LIFT
   ===================================================================== */
.chart-h { position: relative; height: 240px; }
.chart-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 880px) { .chart-row { grid-template-columns: 1fr; } }

.funnel { display: flex; flex-direction: column; gap: 10px; }
.funnel-row { display: grid; grid-template-columns: 180px 1fr 80px 60px;
  gap: 14px; align-items: center; font-size: 13px; }
.funnel-label { display: flex; align-items: center; gap: 10px; color: var(--ink-soft); }
.funnel-step { display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; border-radius: 50%; background: var(--paper-2);
  border: 1px solid var(--line);
  color: var(--terracotta); font-family: var(--mono); font-size: 11px; font-weight: 600; }
.funnel-bar { background: var(--paper-2); height: 28px; border-radius: 6px;
  overflow: hidden; border: 1px solid var(--line); }
.funnel-bar span { display: block; height: 100%;
  background: linear-gradient(90deg, var(--terracotta), var(--gold));
  transition: width 0.8s var(--ease); }
.funnel-val { font-family: var(--mono); font-size: 13px; text-align: right;
  font-weight: 600; }
.funnel-rate { font-family: var(--mono); font-size: 11px; color: var(--ink-mute);
  text-align: right; }
@media (max-width: 720px) {
  .funnel-row { grid-template-columns: 130px 1fr 60px; }
  .funnel-rate { display: none; }
}

.lock-note { background: rgba(193,74,37,0.06);
  border: 1px solid rgba(193,74,37,0.3); padding: 12px 14px;
  border-radius: 8px; font-size: 13px; color: var(--ink-soft);
  margin-bottom: 16px; }
.lock-note a { color: var(--terracotta); font-weight: 600; }

.lift-grid { display: grid; grid-template-columns: 1fr auto 1fr 1.4fr;
  gap: 24px; align-items: center; }
.lift-side { text-align: center; padding: 24px;
  background: var(--paper-2); border-radius: var(--r-md);
  border: 1px dashed var(--line-2); }
.lift-label { font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-mute);
  margin-bottom: 8px; }
.lift-pct { font-family: var(--display); font-size: 48px; font-weight: 600;
  font-style: italic; letter-spacing: -0.025em; line-height: 1;
  color: var(--ink-soft); }
.lift-pct.on { color: var(--terracotta); }
.lift-arrow { font-size: 30px; color: var(--ink-mute); }
.lift-headline { background: var(--indigo); color: var(--paper);
  border-radius: var(--r-md); padding: 22px; text-align: center;
  box-shadow: 4px 4px 0 var(--terracotta); }
.lift-headline-num { font-family: var(--display); font-size: 64px; font-weight: 600;
  font-style: italic; letter-spacing: -0.03em; line-height: 1;
  color: var(--gold); }
.lift-headline-cap { font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.12em; text-transform: uppercase; color: rgba(246,239,226,0.7);
  margin-top: 8px; }
@media (max-width: 880px) {
  .lift-grid { grid-template-columns: 1fr 1fr; }
  .lift-arrow { display: none; }
  .lift-headline { grid-column: 1 / -1; }
}

.billing-current .plan-name { font-family: var(--display); font-size: 40px;
  font-weight: 500; font-style: italic; letter-spacing: -0.025em; }
.billing-current .plan-price { font-family: var(--display); font-size: 26px;
  font-style: italic; color: var(--terracotta); font-weight: 600; }

/* Admin plan editor */
.plan-editor-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; }
@media (max-width: 880px) { .plan-editor-grid { grid-template-columns: 1fr; } }

.audit-row { display: grid; grid-template-columns: 110px 1fr; gap: 16px;
  padding: 12px 0; border-bottom: 1px dashed var(--line-2); font-size: 13px; }
.audit-row:last-child { border-bottom: 0; }
.audit-time { font-family: var(--mono); font-size: 11px; color: var(--ink-mute); }

/* =====================================================================
   AUTH MODAL
   ===================================================================== */
.modal-back {
  position: fixed; inset: 0; z-index: 110;
  background: rgba(26,20,16,0.55); backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  padding: 24px; overflow-y: auto;
  animation: fadeIn 0.2s var(--ease);
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.modal {
  background: var(--paper);
  border: 2px solid var(--ink); border-radius: var(--r-lg);
  padding: 36px; max-width: 480px; width: 100%;
  box-shadow: 8px 8px 0 var(--ink);
  animation: modalIn 0.32s var(--ease-2);
  max-height: calc(100vh - 48px); overflow-y: auto;
  position: relative;
}
.modal.large { max-width: 680px; }
.modal.xl { max-width: 960px; }
@keyframes modalIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.modal h2 { font-family: var(--display); font-size: 28px; font-weight: 500;
  font-style: italic; letter-spacing: -0.02em; line-height: 1; }
.modal .sub { color: var(--ink-mute); font-size: 14px; margin-top: 6px; }
.modal-close { position: absolute; top: 18px; right: 18px;
  background: transparent; border: 0; cursor: pointer;
  font-size: 18px; color: var(--ink-mute); }
.auth-tabs { display: flex; gap: 4px; margin: 22px 0 18px;
  background: var(--paper-2); padding: 4px; border-radius: 99px;
  border: 1.5px solid var(--ink); }
.auth-tabs button { flex: 1; padding: 8px 14px;
  border: 0; background: transparent; cursor: pointer;
  font-family: var(--body); font-size: 13px; font-weight: 600;
  color: var(--ink-soft); border-radius: 99px;
  transition: all 0.2s; }
.auth-tabs button.active { background: var(--ink); color: var(--paper); }

/* =====================================================================
   TOASTS
   ===================================================================== */
.toast-host { position: fixed; bottom: 24px; left: 50%;
  transform: translateX(-50%); z-index: 200;
  display: flex; flex-direction: column; gap: 10px; pointer-events: none; }
.toast {
  background: var(--ink); color: var(--paper);
  padding: 12px 22px; border-radius: 99px;
  font-size: 13px; font-weight: 500;
  box-shadow: 0 12px 30px rgba(0,0,0,0.25), 0 0 0 1px var(--terracotta);
  pointer-events: auto; max-width: 360px;
  animation: toastIn 0.3s var(--ease-2);
}
.toast.err { box-shadow: 0 12px 30px rgba(0,0,0,0.25), 0 0 0 1.5px var(--terracotta); }
.toast.ok::before { content: '\2713 '; color: var(--palm); font-weight: 700; }
@keyframes toastIn { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

/* =====================================================================
   FOOTER
   ===================================================================== */
.foot {
  margin-top: 96px; padding: 56px 0 32px;
  background: var(--ink); color: var(--paper);
  position: relative; overflow: hidden;
}
.foot::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 8px;
  background:
    repeating-linear-gradient(90deg,
      var(--palm) 0 33%, var(--paper) 33% 67%, var(--palm) 67% 100%);
}
.foot .brand .mark { color: var(--paper); }
.foot-grid { display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr); gap: 36px;
  padding-bottom: 32px; border-bottom: 1px solid rgba(246,239,226,0.10); }
.foot-grid h4 { font-family: var(--display); font-size: 17px; font-style: italic;
  font-weight: 500; margin-bottom: 14px; color: var(--gold); }
.foot-grid a { display: block; color: rgba(246,239,226,0.7); font-size: 14px;
  padding: 3px 0; transition: color 0.2s; }
.foot-grid a:hover { color: var(--paper); }
.foot-grid .muted { color: rgba(246,239,226,0.55); font-size: 13px; line-height: 1.55; }
.foot-bottom { display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px; color: rgba(246,239,226,0.45);
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em;
  flex-wrap: wrap; gap: 12px; }
@media (max-width: 720px) { .foot-grid { grid-template-columns: 1fr 1fr; } }

/* =====================================================================
   ANIMATIONS
   ===================================================================== */
.fade-in-up { animation: fadeUp 0.8s var(--ease) both; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
.stagger > * { animation: fadeUp 0.7s var(--ease) both; }
.stagger > *:nth-child(1) { animation-delay: 0.04s; }
.stagger > *:nth-child(2) { animation-delay: 0.10s; }
.stagger > *:nth-child(3) { animation-delay: 0.16s; }
.stagger > *:nth-child(4) { animation-delay: 0.22s; }
.stagger > *:nth-child(5) { animation-delay: 0.28s; }
.stagger > *:nth-child(6) { animation-delay: 0.34s; }
.stagger > *:nth-child(7) { animation-delay: 0.40s; }
.stagger > *:nth-child(8) { animation-delay: 0.46s; }

/* =====================================================================
   MOBILE RESPONSIVE — comprehensive pass
   Breakpoints: tablet ≤ 880px · mobile ≤ 640px · small ≤ 420px
   ===================================================================== */

/* Touch targets — 44×44 minimum on touch devices */
@media (hover: none) and (pointer: coarse) {
  .btn { min-height: 44px; }
  .btn-sm { min-height: 38px; }
  .btn-icon { width: 44px; height: 44px; }
  .side-link { min-height: 40px; display: flex; align-items: center; }
  .qty-btn { width: 32px; height: 32px; }
  .chip, .local-chip { min-height: 36px; }
  .ar-tool { min-height: 38px; padding: 10px 14px; }
  /* Disable hover lift transforms on touch */
  .btn:hover { transform: none; box-shadow: 2px 2px 0 var(--ink); }
  .product-card:hover { transform: none; }
  .product-card:hover .thumb img { transform: none; }
  .price-card:hover { transform: none; box-shadow: 4px 4px 0 var(--ink); }
}

/* ============ TABLET ≤ 880px ========================================= */
@media (max-width: 880px) {
  .wrap { padding: 0 20px; }

  /* Hero: stack and shrink */
  .hero { padding: 36px 0 16px; }
  .hero-grid { gap: 32px; }
  .hero-meta { gap: 20px; max-width: 100%; padding-top: 20px; margin-top: 24px; }
  .hero-meta span { font-size: 26px; }

  /* Sections */
  .products-section { padding: 36px 0 24px; }
  .section-head { margin-bottom: 24px; gap: 16px; }
  .band { padding: 56px 0; }
  .band-inner { padding: 36px 28px; gap: 32px; }
  .features-strip { margin: 36px 0; }

  /* Reviews */
  .reviews-list { grid-template-columns: 1fr; }

  /* Detail */
  .detail-grid { padding: 32px 0; gap: 32px; }

  /* Checkout */
  .checkout-grid { padding: 32px 0 56px; gap: 32px; }

  /* Footer */
  .foot { margin-top: 56px; padding: 36px 0 24px; }
}

/* ============ MOBILE ≤ 640px ========================================= */
@media (max-width: 640px) {
  html, body { font-size: 15px; }
  .wrap { padding: 0 16px; }

  /* NAV — compact, hide secondary actions */
  .nav-inner { padding: 12px 16px; gap: 10px; }
  .nav-links { display: none; }
  .borough-chip { display: none; }
  #navCta { display: none; }
  #navAccount { padding: 6px 10px; font-size: 12px; }

  /* Brand mark — shrink + dust pulled in */
  .brand { gap: 7px; padding: 4px 2px; }
  .brand-word { font-size: 21px; }
  .brand-tag { font-size: 8.5px; padding: 3px 7px; letter-spacing: 0.14em; }
  /* Dust orbit radius tightens so it doesn't overflow the nav */
  .brand-dust .dust { animation-duration: inherit; }

  /* HERO */
  .hero { padding: 24px 0 8px; }
  .hero-eyebrow-row { gap: 8px; margin-bottom: 16px; }
  .eyebrow-stamp { font-size: 9px; padding: 5px 10px; }
  .hero-title { font-size: clamp(40px, 11vw, 64px); line-height: 0.96; }
  .hero-sub { font-size: 16px; margin-top: 18px; max-width: 100%; }
  .hero-actions { gap: 10px; margin-top: 22px; }
  .hero-actions .btn-lg { padding: 14px 22px; font-size: 14px; flex: 1; min-width: 0; }
  .hero-trust { font-size: 12px; gap: 10px; margin-top: 20px; }
  .hero-trust .dotsep { display: none; }
  .hero-meta { grid-template-columns: 1fr 1fr; gap: 16px; }
  .hero-meta span { font-size: 24px; }

  /* HERO BANNER — keep illustrated scene but tighten everything */
  .ar-banner { aspect-ratio: 5/6; border-radius: 14px; }
  .ar-particles { top: 60%; right: 18%; }
  .ar-particle:nth-child(n) {
    /* Tighter orbit on mobile so particles stay near the chair */
  }
  /* Override orbit translations to keep particles in-view on small screens */
  @keyframes arOrbit-a {
    0%   { transform: rotate(0deg)   translate(56px, -28px) rotate(0deg);    opacity: 0; }
    15%  { opacity: 1; }
    50%  { transform: rotate(180deg) translate(56px, -28px) rotate(-180deg); opacity: 0.9; }
    85%  { opacity: 1; }
    100% { transform: rotate(360deg) translate(56px, -28px) rotate(-360deg); opacity: 0; }
  }
  @keyframes arOrbit-b {
    0%   { transform: rotate(60deg)  translate(68px, -42px) rotate(-60deg);   opacity: 0; }
    20%  { opacity: 0.9; }
    80%  { opacity: 0.9; }
    100% { transform: rotate(-300deg) translate(68px, -42px) rotate(300deg); opacity: 0; }
  }
  @keyframes arOrbit-c {
    0%   { transform: rotate(140deg) translate(78px, -20px) rotate(-140deg); opacity: 0; }
    25%  { opacity: 1; }
    75%  { opacity: 1; }
    100% { transform: rotate(-220deg) translate(78px, -20px) rotate(220deg); opacity: 0; }
  }
  /* Banner chips shrink + reposition */
  .banner-chip { font-size: 9px; padding: 6px 10px; letter-spacing: 0.08em; }
  .chip-arlive { top: 4%; left: 4%; }
  .chip-tries  { top: 10%; right: 4%; }
  .chip-price  { top: 54%; right: 3%; }
  .hero-sticker { width: 64px; height: 64px; right: -6px; top: -6px; }
  .hero-sticker strong { font-size: 16px; }
  .hero-sticker { font-size: 7px; }

  /* MARQUEE */
  .marquee-track { font-size: 18px; gap: 28px; }
  .marquee-track span { gap: 28px; }

  /* LOCAL BAR — horizontal scroll instead of wrap */
  .local-bar { padding: 18px 0; }
  .local-bar .wrap { flex-direction: column; align-items: stretch; gap: 12px; }
  .local-bar-label { font-size: 10px; }
  .local-chips {
    flex-wrap: nowrap; overflow-x: auto; padding: 4px 16px 8px;
    margin: 0 -16px;
    scrollbar-width: none; -ms-overflow-style: none;
    scroll-snap-type: x proximity;
  }
  .local-chips::-webkit-scrollbar { display: none; }
  .local-chip { flex-shrink: 0; scroll-snap-align: start; }

  /* SECTION HEAD */
  .section-head { flex-direction: column; align-items: stretch; }
  .section-head h2 { font-size: clamp(28px, 8vw, 42px); }
  /* Category filter — scrollable strip */
  .filters {
    flex-wrap: nowrap; overflow-x: auto; padding: 4px 16px;
    margin: 0 -16px;
    scrollbar-width: none;
  }
  .filters::-webkit-scrollbar { display: none; }
  .filters .chip { flex-shrink: 0; }

  /* PRODUCT GRID — 2 columns on mobile, never just 1 (feels empty) */
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 16px 12px; }
  .product-card .meta .name { font-size: 15px; }
  .product-card .meta .price strong { font-size: 16px; }
  .ar-badge { font-size: 9px; padding: 4px 8px; top: 8px; right: 8px; }
  .local-badge { font-size: 8px; padding: 4px 7px; bottom: 8px; left: 8px; }

  /* FEATURES STRIP — 2 col grid */
  .features-strip { grid-template-columns: 1fr 1fr; margin: 36px 0; }
  .feature-tile { padding: 22px 18px; }
  .feature-tile h4 { font-size: 17px; }
  .feature-tile p { font-size: 12px; }

  /* PHOTO→AR BAND */
  .band { padding: 40px 0; }
  .band-inner { padding: 28px 22px; gap: 24px; border-radius: 20px; }
  .band-title { font-size: clamp(28px, 9vw, 48px); }
  .band-sub { font-size: 15px; margin-top: 16px; }
  .band-pipeline { grid-template-columns: 1fr; gap: 10px; }
  .pipe-step { padding: 14px 14px; }
  .pipe-step strong { font-size: 16px; }
  .band-inner .hero-actions .btn-lg { flex: 1; }

  /* PRODUCT DETAIL */
  .detail-grid { padding: 24px 0; gap: 24px; }
  .detail-title { font-size: clamp(28px, 8vw, 44px); }
  .detail-price { font-size: 28px; padding: 6px 12px; }
  .detail-desc { font-size: 14px; margin-top: 14px; }
  .ar-social { padding: 12px 14px; }
  .ar-social-num { font-size: 22px; }
  .local-panel { padding: 14px 16px; gap: 10px; }
  .local-panel .lp-when { font-size: 18px; }
  .hero-actions .btn-lg { padding: 14px 18px; font-size: 14px; }

  /* REVIEWS */
  .reviews-section { padding: 32px 0; }
  .reviews-head { gap: 12px; }
  .reviews-head h2 { font-size: 26px; }
  .review-card { padding: 18px; }
  .review-body { font-size: 13px; }

  /* STOREFRONT */
  .store-banner { height: 140px; }
  .store-hero-inner { margin-top: -44px; }
  .store-logo { width: 62px; height: 62px; font-size: 26px; box-shadow: 3px 3px 0 var(--ink); }
  .store-mark { gap: 12px; }
  .store-name { font-size: clamp(28px, 8vw, 44px); }
  .store-desc { font-size: 14px; }
  .store-meta { gap: 20px; }
  .store-stat span { font-size: 22px; }

  /* PRICING */
  .pricing-hero { padding: 40px 0 16px; }
  .pricing-title { font-size: clamp(36px, 10vw, 60px); }
  .pricing-sub { font-size: 15px; }
  .billing-toggle { margin-top: 24px; }
  .billing-toggle button { padding: 9px 16px; font-size: 12px; }
  .pricing-grid { padding: 28px 0; gap: 14px; }
  .price-card { padding: 28px 22px; }
  .tier-name { font-size: 26px; }
  .tier-price strong { font-size: 44px; }
  .pricing-faq { padding: 40px 0 56px; }
  .pricing-faq h2 { font-size: 28px; }

  /* DASHBOARDS — sidebar becomes top scroller, content full-width */
  .dashboard { grid-template-columns: 1fr; min-height: auto; }
  .sidebar {
    border-right: 0; border-bottom: 1px solid var(--line);
    padding: 12px 16px;
    flex-direction: row; flex-wrap: nowrap;
    overflow-x: auto; gap: 4px;
    scrollbar-width: none;
    position: sticky; top: 56px; z-index: 40;
    background: var(--paper-2);
  }
  .sidebar::-webkit-scrollbar { display: none; }
  .group-label { display: none; }
  .side-link {
    flex-shrink: 0; padding: 8px 14px;
    font-size: 13px; white-space: nowrap;
    border-radius: 99px;
  }
  .side-link.active { background: var(--ink); }
  .panel { padding: 24px 16px; }
  .panel-head { flex-direction: column; align-items: stretch; gap: 14px; margin-bottom: 20px; }
  .panel-head h1 { font-size: 28px; }
  .panel-head .row { flex-wrap: wrap; gap: 8px; }
  .plan-pill { font-size: 10px; padding: 5px 10px; }

  /* Cards / stats */
  .stat-row { grid-template-columns: 1fr 1fr; gap: 10px; }
  .stat { padding: 14px 16px; }
  .stat .value { font-size: 26px; }

  /* TABLES — fluid horizontal scroll with sticky first col */
  .table-wrap { margin: 0 -16px; border-radius: 0; border-left: 0; border-right: 0; }
  .data { font-size: 12px; }
  .data th, .data td { padding: 10px 12px; }
  .data th:first-child, .data td:first-child {
    position: sticky; left: 0;
    background: var(--paper);
    box-shadow: 2px 0 4px -2px rgba(0,0,0,0.1);
    z-index: 1;
  }
  .data thead th:first-child { background: var(--paper-2); }

  /* Funnel */
  .funnel-row { grid-template-columns: 100px 1fr 50px; gap: 10px; font-size: 11px; }
  .funnel-rate { display: none; }
  .funnel-bar { height: 22px; }
  .funnel-label { font-size: 11px; gap: 6px; }
  .funnel-step { width: 18px; height: 18px; font-size: 9px; }

  /* Lift report */
  .lift-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .lift-arrow { display: none; }
  .lift-headline { grid-column: 1 / -1; padding: 18px; }
  .lift-headline-num { font-size: 44px; }
  .lift-pct { font-size: 36px; }
  .lift-side { padding: 16px; }

  /* AR Generator */
  .gen-title { font-size: 26px; }
  .dropzone { padding: 36px 20px; }
  .dz-icon { font-size: 36px; }
  .dz-title { font-size: 19px; }
  .gen-settings { grid-template-columns: 1fr; }
  .gen-stages { font-size: 11px; }
  .gen-row { grid-template-columns: 52px 1fr auto; gap: 10px; padding: 8px; }
  .gen-thumb { width: 52px; height: 52px; }
  .gen-method { font-size: 14px; }
  .gen-actions { flex-direction: column; gap: 4px; align-items: stretch; }

  /* AR Studio */
  .ar-studio-wrap { grid-template-columns: 1fr; gap: 16px; }
  .ar-studio-stage { aspect-ratio: 4/3; box-shadow: 3px 3px 0 var(--terracotta); }

  /* Plan editor */
  .plan-editor-grid { grid-template-columns: 1fr 1fr; gap: 10px; }

  /* CART DRAWER — full screen */
  .cart-drawer { width: 100vw; border-left: 0; }
  .cart-head { padding: 16px 18px; }
  .cart-body { padding: 12px 18px; }
  .cart-foot { padding: 16px 18px; }
  .cart-line { grid-template-columns: 56px 1fr; gap: 12px; padding: 12px 0; }
  .cart-thumb { width: 56px; height: 56px; }
  .cart-line-name { font-size: 14px; }
  .cart-line-price { font-size: 14px; }

  /* CHECKOUT */
  .checkout-grid { grid-template-columns: 1fr; padding: 24px 0 48px; gap: 24px; }
  .checkout-title { font-size: clamp(28px, 8vw, 44px); }
  .form-h { font-size: 18px; }
  .checkout-summary { position: static; padding: 22px; box-shadow: 3px 3px 0 var(--ink); }
  .co-row { grid-template-columns: 48px 1fr auto; gap: 10px; }
  .co-thumb { width: 48px; height: 48px; }

  /* ORDER SUCCESS */
  .order-success { padding: 56px 0; }
  .success-mark { width: 70px; height: 70px; font-size: 32px; }
  .order-title { font-size: clamp(32px, 10vw, 56px); }

  /* AR FULLSCREEN — bigger touch zones */
  .ar-fullscreen .close-btn { top: 16px; right: 16px; width: 48px; height: 48px; }
  .ar-toolbar { top: 14px; padding: 5px; gap: 4px; }
  .ar-tool { padding: 9px 12px; font-size: 10px; min-height: 40px; }
  .ar-tool .label { display: none; }
  .ar-tool .glyph { font-size: 15px; }
  .ar-add-cart { bottom: 100px; padding: 14px 20px; font-size: 14px; }
  .ar-measure-hud { top: 78px; left: 14px; max-width: 180px; padding: 10px 12px; }
  .ar-measure-hud .val { font-size: 22px; }
  /* AR receipts grid */
  .ar-receipts { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .ar-receipt .meta { padding: 8px; }

  /* MODAL */
  .modal-back { padding: 12px; align-items: flex-start; padding-top: 60px; }
  .modal { padding: 24px 22px; box-shadow: 4px 4px 0 var(--ink); }
  .modal h2 { font-size: 24px; }
  .modal-close { top: 14px; right: 14px; }

  /* TOASTS */
  .toast-host { left: 16px; right: 16px; transform: none; bottom: 16px; }
  .toast { font-size: 12px; padding: 10px 16px; max-width: none; }

  /* FOOTER */
  .foot { margin-top: 48px; padding: 32px 0 20px; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .foot-grid > div:first-child { grid-column: 1 / -1; }
  .foot-bottom { padding-top: 20px; font-size: 10px; flex-direction: column; align-items: flex-start; gap: 6px; }
}

/* ============ SMALL ≤ 420px ========================================== */
@media (max-width: 420px) {
  .hero-title { font-size: clamp(36px, 13vw, 54px); }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn-lg { flex: none; width: 100%; }
  .hero-meta { grid-template-columns: 1fr; gap: 12px; }
  .hero-meta span { font-size: 22px; }

  .ar-banner { aspect-ratio: 1/1.2; }
  .hero-sticker { width: 54px; height: 54px; right: -4px; top: -4px; font-size: 6px; }
  .hero-sticker strong { font-size: 13px; }
  .banner-chip { font-size: 8px; padding: 5px 8px; }

  .marquee-track { font-size: 16px; }

  .product-grid { gap: 14px 10px; }
  .product-card .meta { padding: 10px 2px 0; }
  .product-card .meta .name { font-size: 14px; line-height: 1.1; }
  .product-card .meta .price strong { font-size: 15px; }

  .stat-row { grid-template-columns: 1fr; }
  .features-strip { grid-template-columns: 1fr; }

  .plan-editor-grid { grid-template-columns: 1fr; }
  .pricing-grid { gap: 12px; }
  .price-card { padding: 24px 20px; }

  .ar-receipts { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .foot-grid > div:first-child { grid-column: auto; }
}

/* ============ LANDSCAPE PHONE — short height ========================= */
@media (max-height: 520px) and (orientation: landscape) {
  .hero { padding: 16px 0; }
  .hero-title { font-size: clamp(32px, 6vw, 48px); }
  .ar-banner { aspect-ratio: 16/9; max-height: 70vh; }
  .modal-back { padding-top: 20px; align-items: center; }
}

/* ============ SAFE AREAS (iPhone notch / home bar) =================== */
@supports (padding: max(0px)) {
  .nav-inner { padding-left: max(16px, env(safe-area-inset-left));
               padding-right: max(16px, env(safe-area-inset-right)); }
  .cart-drawer { padding-bottom: env(safe-area-inset-bottom); }
  .cart-foot { padding-bottom: max(22px, env(safe-area-inset-bottom)); }
  .ar-fullscreen .close-btn { top: max(20px, env(safe-area-inset-top)); right: max(20px, env(safe-area-inset-right)); }
  .ar-toolbar { top: max(14px, env(safe-area-inset-top)); }
  .ar-add-cart { bottom: max(90px, calc(env(safe-area-inset-bottom) + 70px)); }
  .toast-host { bottom: max(16px, env(safe-area-inset-bottom)); }
}

/* ============ REDUCED MOTION ========================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  /* But keep critical state indicators visible */
  .live-dot, .ar-status .d { opacity: 1 !important; }
}

/* =====================================================================
   MOBILE MENU — hamburger drawer
   ===================================================================== */
.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  padding: 0; border: 0; background: transparent;
  cursor: pointer; position: relative;
  align-items: center; justify-content: center;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--ink); border-radius: 2px;
  position: absolute;
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease), top 0.3s var(--ease);
}
.nav-toggle span:nth-child(1) { top: 13px; }
.nav-toggle span:nth-child(2) { top: 19px; }
.nav-toggle span:nth-child(3) { top: 25px; }
body.nav-open .nav-toggle span:nth-child(1) { top: 19px; transform: rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { top: 19px; transform: rotate(-45deg); }

.nav-mobile-drawer {
  position: fixed; top: 0; right: 0;
  width: min(320px, 86vw); height: 100dvh;
  background: var(--paper); z-index: 95;
  transform: translateX(100%);
  transition: transform 0.35s var(--ease-2);
  display: flex; flex-direction: column;
  padding: 80px 24px 32px;
  border-left: 1.5px solid var(--ink);
  box-shadow: -20px 0 60px -20px rgba(0,0,0,0.18);
}
.nav-mobile-drawer a {
  font-family: var(--display); font-size: 28px; font-weight: 500;
  font-style: italic; color: var(--ink);
  padding: 14px 0; border-bottom: 1px dashed var(--line-2);
  display: flex; justify-content: space-between; align-items: center;
}
.nav-mobile-drawer a:last-of-type { border-bottom: 0; }
.nav-mobile-drawer a::after {
  content: '→'; color: var(--terracotta);
  font-style: normal; font-size: 20px;
}
.nav-mobile-drawer .borough-row {
  margin-top: auto; padding-top: 20px;
  border-top: 1px dashed var(--line-2);
  font-family: var(--mono); font-size: 11px;
  color: var(--ink-mute); letter-spacing: 0.14em;
  text-transform: uppercase;
  display: flex; align-items: center; gap: 8px;
}
.nav-mobile-drawer .borough-row .pin { color: var(--terracotta); }
body.nav-open .nav-mobile-drawer { transform: translateX(0); }
body.nav-open { overflow: hidden; }
.nav-backdrop {
  position: fixed; inset: 0; background: rgba(26,20,16,0.4);
  backdrop-filter: blur(4px);
  opacity: 0; pointer-events: none; z-index: 94;
  transition: opacity 0.3s var(--ease);
}
body.nav-open .nav-backdrop { opacity: 1; pointer-events: auto; }

@media (max-width: 760px) {
  .nav-toggle { display: inline-flex; }
}

/* Drawer auth slot — terracotta CTA inside the menu */
.nav-drawer-auth {
  margin-top: 16px; padding-top: 16px;
  border-top: 1.5px solid var(--ink);
  display: flex; flex-direction: column; gap: 8px;
}
.nav-drawer-auth a {
  font-family: var(--body); font-size: 14px; font-style: normal;
  font-weight: 600; color: var(--paper);
  background: var(--terracotta);
  padding: 12px 18px; border-radius: 99px;
  border: 1.5px solid var(--ink);
  border-bottom: 1.5px solid var(--ink);
  text-align: center; justify-content: center;
  box-shadow: 3px 3px 0 var(--ink);
}
.nav-drawer-auth a::after { display: none; }
.nav-drawer-auth a + a {
  background: transparent; color: var(--ink);
  box-shadow: none;
}

/* =====================================================================
   MOBILE RESPONSIVE OVERHAUL — proper handling for ≤900px / ≤700px / ≤480px
   ===================================================================== */

/* ---- Hamburger menu trigger ---- */
.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  border: 1.5px solid var(--ink); border-radius: 50%;
  background: var(--paper); cursor: pointer;
  align-items: center; justify-content: center;
  padding: 0; transition: all 0.2s var(--ease);
  position: relative;
}
.nav-toggle:hover { background: var(--ink); }
.nav-toggle:hover span { background: var(--paper); }
.nav-toggle span {
  display: block; position: absolute; left: 12px;
  width: 16px; height: 1.8px; background: var(--ink); border-radius: 2px;
  transition: all 0.25s var(--ease);
}
.nav-toggle span:nth-child(1) { top: 13px; }
.nav-toggle span:nth-child(2) { top: 19px; }
.nav-toggle span:nth-child(3) { top: 25px; }
body.menu-open .nav-toggle span:nth-child(1) { top: 19px; transform: rotate(45deg); }
body.menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.menu-open .nav-toggle span:nth-child(3) { top: 19px; transform: rotate(-45deg); }

/* ---- Mobile menu drawer ---- */
.nav-mobile-drawer {
  position: fixed; inset: 0; z-index: 95;
  background: var(--paper);
  display: flex; flex-direction: column;
  padding: 88px 28px 32px;
  transform: translateY(-100%);
  transition: transform 0.4s var(--ease-2);
  visibility: hidden;
  overflow-y: auto;
}
body.menu-open .nav-mobile-drawer { transform: translateY(0); visibility: visible; }
.nav-mobile-drawer a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 0;
  font-family: var(--display); font-size: 30px; font-weight: 500;
  font-style: italic; letter-spacing: -0.02em;
  color: var(--ink); text-decoration: none;
  border-bottom: 1px dashed var(--line-2);
  transition: color 0.2s var(--ease);
}
.nav-mobile-drawer a:hover { color: var(--terracotta); }
.nav-mobile-drawer a::after { content: '→'; font-style: normal; opacity: 0.5; transition: transform 0.2s; }
.nav-mobile-drawer a:hover::after { transform: translateX(4px); opacity: 1; }
.nav-drawer-auth { margin-top: 24px; padding-top: 16px;
  display: flex; flex-direction: column; gap: 12px;
  border-top: 1px dashed var(--line-2); }
.nav-drawer-auth .btn { width: 100%; }
.borough-row { margin-top: auto; padding-top: 24px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--ink-mute);
  display: flex; align-items: center; gap: 8px; }
.borough-row .pin { color: var(--terracotta); }
.nav-backdrop {
  position: fixed; inset: 0; z-index: 94;
  background: rgba(26,20,16,0.4);
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s var(--ease);
}
body.menu-open { overflow: hidden; }

/* ===================================================================== */
/* TABLET ≤900px                                                         */
/* ===================================================================== */
@media (max-width: 900px) {
  .wrap { padding: 0 20px; }

  /* Nav: hide secondary actions, show hamburger */
  .nav-inner { padding: 14px 20px; gap: 12px; }
  .nav-links { display: none; }
  .borough-chip { display: none; }
  #navAccount, #navCta { display: none; }
  .nav-toggle { display: inline-flex; }

  /* Hero */
  .hero { padding: 36px 0 16px; }
  .hero-grid { gap: 32px; grid-template-columns: 1fr; }
  .hero-eyebrow-row { gap: 10px; margin-bottom: 18px; }
  .hero-meta { gap: 20px; max-width: 100%; margin-top: 24px; padding-top: 22px; }
  .hero-meta span { font-size: 26px; }

  /* Section heads */
  .section-head { margin-bottom: 24px; }
  .filters { gap: 6px; }
  .chip { padding: 7px 12px; font-size: 12px; }

  /* Band */
  .band { padding: 56px 0; }
  .band-inner { padding: 36px 28px; gap: 32px; }

  /* Features strip 2x2 */
  .features-strip { grid-template-columns: repeat(2, 1fr); margin: 40px 0; }
  .feature-tile { padding: 22px 18px; }

  /* Dashboard: collapse sidebar into horizontal scroller */
  .dashboard { grid-template-columns: 1fr; }
  .sidebar {
    border-right: 0; border-bottom: 1px solid var(--line);
    padding: 12px 16px; gap: 4px;
    flex-direction: row; flex-wrap: nowrap;
    overflow-x: auto; -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .sidebar::-webkit-scrollbar { display: none; }
  .group-label { display: none; }
  .side-link {
    padding: 8px 14px; white-space: nowrap;
    border-radius: 99px; font-size: 13px;
    background: var(--paper); border: 1px solid var(--line);
  }
  .side-link.active { background: var(--ink); color: var(--paper); border-color: var(--ink); }
  .panel { padding: 24px 20px; }
  .panel-head { margin-bottom: 22px; }
  .panel-head h1 { font-size: 30px; }

  /* Checkout */
  .checkout-grid { grid-template-columns: 1fr; gap: 28px; padding: 32px 0 64px; }
  .checkout-summary { position: static; padding: 22px; }

  /* Detail */
  .detail-grid { grid-template-columns: 1fr; gap: 28px; padding: 32px 0; }

  /* Lift report */
  .lift-grid { grid-template-columns: 1fr 1fr; }
  .lift-arrow { display: none; }
  .lift-headline { grid-column: 1 / -1; }

  /* Charts */
  .chart-row { grid-template-columns: 1fr; }
  .chart-h { height: 200px; }

  /* Cart drawer */
  .cart-drawer { width: 100vw; }

  /* AR Studio: stack */
  .ar-studio-wrap { grid-template-columns: 1fr; }
}

/* ===================================================================== */
/* PHONE ≤640px                                                          */
/* ===================================================================== */
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }

  /* Nav refinements */
  .nav-inner { padding: 12px 16px; gap: 8px; }

  /* Brand: scale down + tighten dust radii */
  .brand-word { font-size: 21px; }
  .brand-tag { font-size: 8px; padding: 3px 7px; letter-spacing: 0.12em; }
  /* Smaller orbit radii so dust stays in nav bar */
  @keyframes dustOrbit-a {
    0%   { transform: rotate(0deg)   translate(56px, 0)  rotate(0deg);   opacity: 0; }
    10%  { opacity: 1; } 90% { opacity: 1; }
    100% { transform: rotate(360deg) translate(56px, 0)  rotate(-360deg); opacity: 0; }
  }
  @keyframes dustOrbit-b {
    0%   { transform: rotate(80deg)  translate(42px, 6px) rotate(-80deg); opacity: 0; }
    15%  { opacity: 1; } 85% { opacity: 1; }
    100% { transform: rotate(-280deg) translate(42px, 6px) rotate(280deg); opacity: 0; }
  }
  @keyframes dustOrbit-c {
    0%   { transform: rotate(160deg) translate(70px, -3px) rotate(-160deg); opacity: 0; }
    20%  { opacity: 0.9; } 80% { opacity: 0.9; }
    100% { transform: rotate(-200deg) translate(70px, -3px) rotate(200deg); opacity: 0; }
  }

  /* Hide cart count badge but keep cart button */
  #navCart { width: 36px; height: 36px; padding: 0; border-radius: 50%; }
  .cart-glyph { font-size: 16px; }
  .cart-count { position: absolute; top: -2px; right: -2px;
    margin: 0; min-width: 16px; height: 16px; font-size: 9px;
    border: 1.5px solid var(--paper); }
  #navCart { position: relative; }

  /* Hero typography */
  .hero { padding: 28px 0 12px; }
  .hero-title { font-size: clamp(40px, 11vw, 56px); line-height: 0.96; }
  .hero-sub { font-size: 16px; margin-top: 18px; }
  .hero-actions { margin-top: 24px; gap: 10px; flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-eyebrow-row { gap: 8px; }
  .eyebrow-stamp { font-size: 9px; padding: 5px 10px; }
  .hero-trust { font-size: 12px; gap: 10px; margin-top: 22px; }
  .hero-trust .dotsep { display: none; }
  .hero-meta {
    grid-template-columns: 1fr 1fr; gap: 18px;
    margin-top: 22px; padding-top: 20px;
  }
  .hero-meta > div:nth-child(3) { grid-column: 1 / -1; }
  .hero-meta span { font-size: 24px; }
  .hero-meta em { font-size: 9px; }

  /* AR banner mobile sizing */
  .ar-banner { aspect-ratio: 4/5; max-height: 60vh; }
  .ar-particles { top: 60%; right: 24%; }
  /* Smaller orbit radii so particles stay inside the banner */
  @keyframes arOrbit-a {
    0%   { transform: rotate(0deg)   translate(48px, -24px) rotate(0deg);    opacity: 0; }
    15%  { opacity: 1; } 85% { opacity: 1; }
    100% { transform: rotate(360deg) translate(48px, -24px) rotate(-360deg); opacity: 0; }
  }
  @keyframes arOrbit-b {
    0%   { transform: rotate(60deg)  translate(58px, -36px) rotate(-60deg);  opacity: 0; }
    20%  { opacity: 0.9; } 80% { opacity: 0.9; }
    100% { transform: rotate(-300deg) translate(58px, -36px) rotate(300deg); opacity: 0; }
  }
  @keyframes arOrbit-c {
    0%   { transform: rotate(140deg) translate(66px, -18px) rotate(-140deg); opacity: 0; }
    25%  { opacity: 1; } 75% { opacity: 1; }
    100% { transform: rotate(-220deg) translate(66px, -18px) rotate(220deg); opacity: 0; }
  }
  .banner-chip { font-size: 8.5px; padding: 5px 9px; gap: 4px; box-shadow: 2px 2px 0 var(--ink); }
  .banner-chip .ic { font-size: 11px; }
  .chip-arlive { top: 4%; left: 4%; }
  .chip-tries { top: 8%; right: 4%; }
  .chip-price { top: 55%; right: 3%; }
  .hero-sticker { width: 64px; height: 64px; right: -8px; top: -8px;
    font-size: 7.5px; box-shadow: 2px 2px 0 var(--ink); }
  .hero-sticker strong { font-size: 16px; }

  /* Section heads */
  .section-head h2 { font-size: 32px; }
  .products-section { padding: 36px 0 24px; }

  /* Product grid: 2 cols on phone */
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 14px 10px; }
  .product-card .meta { padding: 10px 2px 0; }
  .product-card .meta .name { font-size: 14px; }
  .product-card .meta .price strong { font-size: 15px; }
  .product-card .meta .price { font-size: 12px; }
  .ar-badge, .local-badge { font-size: 8px; padding: 3px 7px; }
  .ar-badge { top: 6px; right: 6px; }
  .local-badge { bottom: 6px; left: 6px; }

  /* Marquee */
  .marquee-track { font-size: 18px; gap: 24px; }
  .marquee-track span { gap: 24px; }
  .marquee { padding: 14px 0; margin-top: 36px; }

  /* Local bar */
  .local-bar { padding: 20px 0; }
  .local-bar .wrap { gap: 12px; }
  .local-chip { font-size: 12px; padding: 6px 11px; }
  .local-chip .dist { font-size: 9px; }

  /* Features tile single column */
  .features-strip { grid-template-columns: 1fr; }
  .feature-tile { padding: 20px 18px; }

  /* Band */
  .band { padding: 44px 0; }
  .band-inner { padding: 28px 22px; gap: 24px; border-radius: var(--r-lg); }
  .band-title { font-size: clamp(32px, 8vw, 48px); }
  .band-sub { font-size: 15px; }
  .band-pipeline { grid-template-columns: 1fr; gap: 10px; }
  .pipe-step { padding: 14px 16px; }
  .pipe-step strong { font-size: 17px; }

  /* Pricing */
  .pricing-hero { padding: 48px 0 16px; }
  .pricing-title { font-size: clamp(40px, 11vw, 60px); }
  .pricing-sub { font-size: 15px; margin-top: 16px; }
  .billing-toggle { margin-top: 24px; }
  .billing-toggle button { padding: 9px 18px; font-size: 12px; }
  .pricing-grid { gap: 14px; padding: 28px 0; }
  .price-card { padding: 28px 22px; }
  .tier-name { font-size: 26px; }
  .tier-price strong { font-size: 44px; }
  .pricing-faq { padding: 40px 0 64px; }
  .pricing-faq h2 { font-size: 30px; }

  /* Detail */
  .detail-title { font-size: clamp(28px, 8vw, 40px); }
  .detail-price { font-size: 28px; padding: 6px 12px; }
  .detail-desc { font-size: 15px; }
  .local-panel { flex-direction: column; align-items: flex-start; gap: 10px; padding: 14px 16px; }
  .local-panel .lp-when { font-size: 18px; }
  .ar-social { padding: 14px 16px; }
  .ar-social-num { font-size: 24px; }

  /* Reviews */
  .reviews-list { grid-template-columns: 1fr; }
  .reviews-head h2 { font-size: 28px; }
  .review-card { padding: 18px; }

  /* Cart drawer */
  .cart-head { padding: 18px 18px; }
  .cart-body { padding: 12px 18px; }
  .cart-foot { padding: 18px; }
  .cart-line { grid-template-columns: 60px 1fr; gap: 12px; }
  .cart-thumb { width: 60px; height: 60px; }
  .cart-line-name { font-size: 14px; }
  .cart-line-price { font-size: 14px; }

  /* Checkout summary stays static and gets a bit smaller */
  .checkout-title { font-size: clamp(28px, 8vw, 40px); }
  .form-h { font-size: 19px; }
  .input, .select, .textarea { padding: 10px 12px; font-size: 14px; }
  .checkout-summary { padding: 20px; }
  .co-name { font-size: 14px; }

  /* Order confirmation */
  .order-title { font-size: clamp(34px, 9vw, 52px); }
  .order-sub { font-size: 14px; }
  .success-mark { width: 72px; height: 72px; font-size: 34px; }

  /* Dashboard */
  .panel-head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .panel-head h1 { font-size: 26px; }
  .plan-pill { font-size: 10px; padding: 5px 10px; }
  .stat-row { grid-template-columns: 1fr 1fr; gap: 10px; }
  .stat { padding: 14px 16px; }
  .stat .value { font-size: 28px; }

  /* Tables: card-style stack on mobile */
  .table-wrap { border-radius: var(--r-md); overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .data { font-size: 12px; min-width: 560px; }
  .data th, .data td { padding: 10px 12px; }

  /* Funnel: collapse to 2-col */
  .funnel-row { grid-template-columns: 100px 1fr 50px; gap: 10px; font-size: 12px; }
  .funnel-rate { display: none; }
  .funnel-bar { height: 22px; }

  /* AR fullscreen */
  .ar-fullscreen .close-btn { top: 14px; right: 14px; width: 40px; height: 40px; }
  .ar-toolbar { top: 14px; padding: 4px; }
  .ar-tool { padding: 8px 10px; }
  .ar-tool .label { display: none; }
  .ar-add-cart { bottom: 80px; padding: 12px 20px; font-size: 14px; }
  .ar-measure-hud { top: 70px; left: 14px; max-width: 180px; padding: 10px 12px; }
  .ar-measure-hud .val { font-size: 22px; }

  /* AR receipts: 2-col */
  .ar-receipts { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .ar-receipt .meta { padding: 8px; }
  .ar-receipt .meta .name { font-size: 13px; }

  /* AR generator dropzone */
  .dropzone { padding: 36px 20px; }
  .dz-icon { font-size: 40px; }
  .dz-title { font-size: 20px; }

  /* AR studio sliders */
  .slider-row .val { font-size: 11px; min-width: 42px; }

  /* Auth modal */
  .modal { padding: 28px 22px; }
  .modal h2 { font-size: 24px; }
  .modal-back { padding: 16px; }

  /* Toasts */
  .toast { max-width: calc(100vw - 32px); font-size: 12px; padding: 10px 18px; }
  .toast-host { bottom: 16px; }

  /* Footer */
  .foot { margin-top: 56px; padding: 36px 0 24px; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .foot-grid > div:first-child { grid-column: 1 / -1; }
  .foot-bottom { padding-top: 18px; flex-direction: column;
    align-items: flex-start; gap: 6px; }

  /* Storefront */
  .store-banner { height: 140px; }
  .store-hero-inner { margin-top: -52px; }
  .store-logo { width: 64px; height: 64px; font-size: 28px; }
  .store-name { font-size: clamp(28px, 8vw, 44px); }
  .store-desc { font-size: 15px; }
  .store-meta { gap: 20px; margin-top: 18px; padding-top: 18px; }
  .store-stat span { font-size: 22px; }

  /* Plan editor: stack */
  .plan-editor-grid { grid-template-columns: 1fr; gap: 12px; }
  .audit-row { grid-template-columns: 1fr; gap: 4px; padding: 10px 0; }
}

/* ===================================================================== */
/* SMALL PHONE ≤380px                                                    */
/* ===================================================================== */
@media (max-width: 380px) {
  .wrap { padding: 0 14px; }
  .nav-inner { gap: 6px; padding: 10px 14px; }
  .brand-word { font-size: 19px; }
  .brand-tag { display: none; }
  .product-grid { grid-template-columns: 1fr; gap: 14px; }
  .stat-row { grid-template-columns: 1fr; }
  .lift-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: clamp(34px, 11vw, 44px); }
  .hero-meta { grid-template-columns: 1fr; }
  .hero-meta > div { flex-direction: row; align-items: baseline; gap: 8px; }
  .ar-receipts { grid-template-columns: 1fr; }
}

/* ===================================================================== */
/* SHORT VIEWPORTS (landscape phones)                                    */
/* ===================================================================== */
@media (max-height: 560px) and (orientation: landscape) {
  .hero { padding: 24px 0 8px; }
  .hero-stage, .ar-banner { max-height: 70vh; }
  .ar-fullscreen { flex-direction: row; }
}

/* ===================================================================== */
/* Touch-target safety — never below 44×44 on coarse pointers            */
/* ===================================================================== */
@media (pointer: coarse) {
  .btn-sm { padding: 10px 16px; }
  .qty-btn { width: 32px; height: 32px; font-size: 14px; }
  .side-link { padding: 12px 16px; }
  .chip, .local-chip { padding: 10px 14px; font-size: 13px; }
  .auth-tabs button { padding: 12px 16px; }
}

/* ===================================================================== */
/* Reduced motion — respect user preference                              */
/* ===================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .dust, .ar-particle, .marquee-track, .beam,
  .person, .phone-held, .phone-glow, .ar-chair,
  .placement-ring-outer, .placement-ring-inner, .reticle-svg, .light-ray {
    animation: none !important;
  }
}
