/* DearMaps landing — home.css
   Loaded after style.css (which the legal pages also use). The landing
   commits to one dark, night-globe look to match the app's map. */

body.home {
  --color-bg: #07070c;
  --color-bg-alt: #0d0d14;
  --color-surface: rgba(255, 255, 255, 0.045);
  --color-surface-hover: rgba(255, 255, 255, 0.08);
  --color-border: rgba(255, 255, 255, 0.09);
  --color-text: #f3f1ee;
  --color-text-secondary: #a8a6b3;
  --color-text-muted: #7a7886;
  --color-glass: rgba(20, 20, 28, 0.55);
  --color-glass-border: rgba(255, 255, 255, 0.1);
  --accent: #EC792F;
  --accent-2: #FFB36B;
  --accent-glow: rgba(236, 121, 47, 0.28);
  --accent-ink: #EC792F;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  background: var(--color-bg);
  color: var(--color-text);
  color-scheme: dark;
}

.home main { overflow-x: clip; }
.home .nav.scrolled { background: rgba(7, 7, 12, 0.72); }
.home .nav-links a { color: var(--color-text-secondary); }
.home .nav-links a:hover { color: var(--color-text); }

.h-grad {
  background: linear-gradient(100deg, var(--accent) 0%, var(--accent-2) 55%, #ffd9a8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ── Reveal on scroll ───────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
.reveal.is-in { opacity: 1; transform: none; }
.h-hero .reveal:nth-child(2) { transition-delay: 0.08s; }
.h-hero .reveal:nth-child(3) { transition-delay: 0.16s; }
.h-hero .reveal:nth-child(4) { transition-delay: 0.24s; }
.h-hero-stage.reveal { transition-delay: 0.2s; }

/* ── Phone frame (real screenshots) ─────────────────────── */
.h-phone {
  position: relative;
  aspect-ratio: 1206 / 2622;
  border-radius: 13% / 6%;
  padding: 2.4%;
  background: linear-gradient(145deg, #3a3a44, #121217 40%, #2a2a31);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08) inset,
    0 40px 80px -20px rgba(0, 0, 0, 0.8),
    0 0 60px -10px var(--accent-glow);
}
.h-phone img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 11% / 5.1%;
}

/* ── Hero ───────────────────────────────────────────────── */
.h-hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 7rem clamp(1.25rem, 5vw, 2rem) clamp(4rem, 9vh, 7rem);
  isolation: isolate;
}
.h-stars {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
}
.h-hero-glow {
  position: absolute;
  z-index: -1;
  width: min(900px, 120vw);
  aspect-ratio: 1;
  right: -15%;
  top: 50%;
  transform: translateY(-50%);
  background: radial-gradient(circle, rgba(236, 121, 47, 0.22) 0%, rgba(236, 121, 47, 0.06) 40%, transparent 68%);
  pointer-events: none;
}
.h-hero-inner {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.h-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--accent-ink);
  background: rgba(236, 121, 47, 0.1);
  border: 1px solid rgba(236, 121, 47, 0.25);
}
.h-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 var(--accent-glow);
  animation: h-pulse 2.4s infinite;
}
@keyframes h-pulse {
  0% { box-shadow: 0 0 0 0 rgba(236, 121, 47, 0.55); }
  70% { box-shadow: 0 0 0 10px rgba(236, 121, 47, 0); }
  100% { box-shadow: 0 0 0 0 rgba(236, 121, 47, 0); }
}
.h-hero h1 {
  margin: 1.4rem 0 1.2rem;
  font-size: clamp(3rem, 7.2vw, 5.8rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
  font-weight: 800;
}
.h-lede {
  max-width: 32rem;
  font-size: clamp(1.08rem, 1.6vw, 1.28rem);
  color: var(--color-text-secondary);
}
.h-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.4rem;
  margin-top: 2.2rem;
}
.h-note { font-size: 0.9rem; color: var(--color-text-muted); }

.h-store {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.72rem 1.35rem 0.72rem 1.1rem;
  border-radius: 14px;
  background: #fff;
  color: #000;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.15rem;
  line-height: 1.05;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
  box-shadow: 0 10px 30px -10px rgba(255, 255, 255, 0.35);
}
.h-store small { display: block; font-size: 0.68rem; font-weight: 500; }
.h-store:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 18px 40px -12px rgba(236, 121, 47, 0.6); }
.h-store:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.h-store--lg { font-size: 1.3rem; padding: 0.9rem 1.7rem 0.9rem 1.35rem; }

.h-hero-stage {
  position: relative;
  height: min(64svh, 600px);
  display: grid;
  place-items: center;
}
.h-phone--hero {
  --ph: min(64svh, 600px);
  height: var(--ph);
  width: calc(var(--ph) * 1206 / 2622);
  max-width: 100%;
  z-index: 2;
  will-change: transform;
}
.h-polaroid {
  position: absolute;
  margin: 0;
  width: clamp(104px, 10.5vw, 150px);
  padding: 8px 8px 0;
  background: #fbf8f3;
  border-radius: 6px;
  box-shadow: 0 25px 50px -15px rgba(0, 0, 0, 0.7);
  z-index: 3;
  will-change: transform;
  transition: box-shadow 0.4s;
}
.h-polaroid img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 3px;
}
.h-polaroid figcaption {
  padding: 0.35rem 0 0.5rem;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 600;
  color: #3b3530;
  letter-spacing: 0.02em;
}
.h-p1 { left: -6%; top: 6%; --rot: -9deg; z-index: 1; }
.h-p2 { right: -8%; top: 30%; --rot: 8deg; z-index: 1; }
.h-p3 { left: -13%; bottom: 10%; --rot: -6deg; }
.h-polaroid { transform: rotate(var(--rot)); }

.h-scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 1.6rem;
  transform: translateX(-50%);
  width: 26px; height: 42px;
  border: 2px solid rgba(255, 255, 255, 0.28);
  border-radius: 14px;
}
.h-scroll-cue span {
  position: absolute;
  left: 50%; top: 8px;
  width: 4px; height: 8px;
  margin-left: -2px;
  border-radius: 2px;
  background: var(--accent);
  animation: h-cue 1.8s var(--ease-out) infinite;
}
@keyframes h-cue {
  0% { opacity: 0; transform: translateY(0); }
  30% { opacity: 1; }
  100% { opacity: 0; transform: translateY(14px); }
}

/* ── Photo reel ─────────────────────────────────────────── */
.h-reel {
  position: relative;
  z-index: 3;
  padding: 0.5rem 0 1.5rem;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.h-reel-track {
  display: flex;
  gap: 1.25rem;
  width: max-content;
  animation: h-marquee 60s linear infinite;
}
.h-reel:hover .h-reel-track { animation-play-state: paused; }
@keyframes h-marquee { to { transform: translateX(-50%); } }
.h-reel-item {
  position: relative;
  margin: 0;
  width: clamp(160px, 18vw, 230px);
  aspect-ratio: 3 / 4;
  border-radius: 18px;
  overflow: hidden;
  transform: rotate(var(--tilt, 0deg));
  transition: transform 0.5s var(--ease-out);
}
.h-reel-item:nth-child(odd) { --tilt: -1.5deg; margin-top: 1.2rem; }
.h-reel-item:nth-child(even) { --tilt: 1.5deg; }
.h-reel-item:hover { transform: rotate(0deg) scale(1.05); }
.h-reel-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.h-reel-item figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 2.2rem 0.9rem 0.8rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.72));
  font-weight: 600;
  font-size: 0.95rem;
  color: #fff;
}
.h-reel-item figcaption span { font-weight: 400; opacity: 0.75; margin-left: 0.25rem; }

/* ── Section headers ────────────────────────────────────── */
.h-section-head {
  max-width: var(--max-width);
  margin: 0 auto clamp(3rem, 6vw, 5rem);
  text-align: center;
}
.h-kicker {
  display: inline-block;
  margin-bottom: 1rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-ink);
}
.h-section-head h2,
.h-download h2 {
  font-size: clamp(2.1rem, 4.6vw, 3.6rem);
  line-height: 1.06;
  letter-spacing: -0.035em;
  font-weight: 800;
}

/* ── Scroll story ───────────────────────────────────────── */
.h-story { padding: clamp(6rem, 12vw, 10rem) clamp(1.25rem, 5vw, 2rem) 4rem; }
.h-story-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 6rem);
}
.h-step {
  min-height: 82svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0.28;
  transition: opacity 0.6s var(--ease-out);
}
.h-step.is-active { opacity: 1; }
.h-step-num {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--accent-ink);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.1em;
}
.h-step h3 {
  margin: 0.6rem 0 1rem;
  font-size: clamp(1.9rem, 3.4vw, 2.8rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 750;
}
.h-step p {
  max-width: 28rem;
  font-size: 1.13rem;
  color: var(--color-text-secondary);
}
.h-step-phone { display: none; }

.h-story-sticky {
  position: sticky;
  top: 0;
  height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}
.h-story-halo {
  position: absolute;
  width: 80%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(236, 121, 47, 0.2), transparent 65%);
  transition: transform 1s var(--ease-out);
}
.h-phone--story {
  --ph: min(78svh, 700px);
  height: var(--ph);
  width: calc(var(--ph) * 1206 / 2622);
}
.h-phone--story img {
  position: absolute;
  inset: 2.4%;
  width: 95.2%;
  height: 95.6%;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 0.7s var(--ease-out), transform 0.9s var(--ease-out);
}
.h-phone--story img.is-active { opacity: 1; transform: none; }
.h-story-dots {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.h-story-dots li {
  width: 6px; height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.22);
  transition: height 0.5s var(--ease-out), background 0.5s;
}
.h-story-dots li.is-active { height: 26px; background: var(--accent); }

/* ── Features bento ─────────────────────────────────────── */
.h-features { padding: clamp(6rem, 12vw, 9rem) clamp(1.25rem, 5vw, 2rem); }
.h-bento {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: minmax(230px, auto);
  gap: 1.1rem;
}
.h-card {
  --mx: 50%; --my: 50%;
  position: relative;
  overflow: hidden;
  padding: 1.8rem;
  border-radius: 26px;
  background:
    radial-gradient(420px circle at var(--mx) var(--my), rgba(236, 121, 47, 0.14), transparent 55%),
    var(--color-surface);
  border: 1px solid var(--color-border);
  transition: transform 0.5s var(--ease-out), border-color 0.4s;
  transform-style: preserve-3d;
}
.h-card:hover { border-color: rgba(236, 121, 47, 0.35); }
.h-card h3 { font-size: 1.35rem; letter-spacing: -0.02em; margin-bottom: 0.45rem; }
.h-card p { color: var(--color-text-secondary); font-size: 1rem; }
.h-card-icon {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  margin-bottom: 1.3rem;
  border-radius: 15px;
  color: var(--accent);
  background: rgba(236, 121, 47, 0.12);
}
.h-card--wide { grid-column: span 2; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 1rem; }
.h-card--tall { grid-row: span 2; display: flex; flex-direction: column; }
.h-scan-stack { position: relative; height: 210px; }
.h-scan-stack img {
  position: absolute;
  left: 50%; top: 50%;
  width: 118px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border: 5px solid #fbf8f3;
  border-radius: 6px;
  box-shadow: 0 18px 30px -12px rgba(0, 0, 0, 0.7);
  transform: translate(-50%, -50%) rotate(var(--r, 0deg));
  transition: transform 0.7s var(--ease-out);
}
.h-scan-stack img:nth-child(1) { --r: -14deg; }
.h-scan-stack img:nth-child(2) { --r: -5deg; }
.h-scan-stack img:nth-child(3) { --r: 5deg; }
.h-scan-stack img:nth-child(4) { --r: 14deg; }
.h-card:hover .h-scan-stack img:nth-child(1) { transform: translate(-150%, -50%) rotate(-14deg); }
.h-card:hover .h-scan-stack img:nth-child(2) { transform: translate(-85%, -56%) rotate(-5deg); }
.h-card:hover .h-scan-stack img:nth-child(3) { transform: translate(-15%, -56%) rotate(5deg); }
.h-card:hover .h-scan-stack img:nth-child(4) { transform: translate(50%, -50%) rotate(14deg); }
.h-scan-badge {
  position: absolute;
  left: 50%; bottom: -4px;
  transform: translateX(-50%);
  white-space: nowrap;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), #ff8f4f);
  box-shadow: 0 8px 20px -6px var(--accent-glow);
}
.h-map-crop {
  height: 210px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--color-border);
}
.h-map-crop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 32%;
  transform: scale(1.35);
  transition: transform 1.2s var(--ease-out);
}
.h-card:hover .h-map-crop img { transform: scale(1.5); }
.h-card-shot {
  flex: 1;
  margin: 1.5rem -1.8rem -1.8rem;
  position: relative;
  min-height: 320px;
  overflow: hidden;
}
.h-card-shot img {
  position: absolute;
  left: 50%;
  top: 0;
  width: 78%;
  transform: translateX(-50%) translateY(6%);
  border-radius: 34px 34px 0 0;
  box-shadow: 0 -10px 60px -10px rgba(236, 121, 47, 0.35);
  transition: transform 0.7s var(--ease-out);
}
.h-card--tall:hover .h-card-shot img { transform: translateX(-50%) translateY(0); }

/* ── Privacy ────────────────────────────────────────────── */
.h-privacy {
  padding: clamp(6rem, 12vw, 9rem) clamp(1.25rem, 5vw, 2rem);
  background:
    radial-gradient(60% 80% at 50% 0%, rgba(236, 121, 47, 0.12), transparent 70%),
    var(--color-bg-alt);
  border-block: 1px solid var(--color-border);
}
.h-privacy-inner { max-width: 900px; margin: 0 auto; text-align: center; }
.h-privacy-statement {
  font-size: clamp(2.3rem, 5.6vw, 4.4rem);
  line-height: 1.04;
  letter-spacing: -0.04em;
  font-weight: 800;
}
.h-facts {
  list-style: none;
  margin-top: 3.5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  text-align: left;
}
.h-facts li { padding-top: 1.1rem; border-top: 2px solid rgba(236, 121, 47, 0.45); }
.h-facts strong { display: block; font-size: 1.1rem; margin-bottom: 0.35rem; }
.h-facts span { color: var(--color-text-secondary); }

/* ── Download ───────────────────────────────────────────── */
.h-download {
  position: relative;
  padding: clamp(6rem, 12vw, 9rem) clamp(1.25rem, 5vw, 2rem) clamp(5rem, 10vw, 7rem);
  text-align: center;
  overflow: hidden;
}
.h-download-fan {
  position: relative;
  height: clamp(300px, 42vw, 460px);
  max-width: 720px;
  margin: 0 auto 3rem;
}
.h-download-fan .h-phone {
  position: absolute;
  bottom: 0;
  left: 50%;
  height: 100%;
  width: calc(clamp(300px, 42vw, 460px) * 1206 / 2622);
  transform-origin: 50% 110%;
  transition: transform 0.9s var(--ease-out);
}
.h-fan-c { transform: translateX(-50%); z-index: 2; }
.h-fan-l { transform: translateX(-50%) rotate(0deg); filter: brightness(0.7); }
.h-fan-r { transform: translateX(-50%) rotate(0deg); filter: brightness(0.7); }
.h-download-fan.is-in .h-fan-l { transform: translateX(-95%) rotate(-12deg); }
.h-download-fan.is-in .h-fan-r { transform: translateX(-5%) rotate(12deg); }
.h-download-copy p { color: var(--color-text-secondary); font-size: 1.15rem; margin: 1rem 0 2rem; }
.h-download-copy .h-fineprint { font-size: 0.85rem; color: var(--color-text-muted); margin: 1.6rem auto 0; max-width: 30rem; }

.home .footer-bottom a { color: inherit; }

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 900px) {
  .h-hero { padding-top: 6.5rem; }
  .h-hero-inner { grid-template-columns: 1fr; text-align: center; }
  .h-lede { margin: 0 auto; }
  .h-hero-actions { justify-content: center; }
  .h-hero-stage { height: 560px; }
  .h-p1 { left: 4%; }
  .h-p2 { right: 4%; }
  .h-p3 { right: 8%; }
  .h-scroll-cue { display: none; }

  .h-story-grid { grid-template-columns: 1fr; }
  .h-story-sticky { display: none; }
  .h-step { min-height: 0; opacity: 1; padding: 2.5rem 0; align-items: center; text-align: center; }
  .h-step p { margin: 0 auto; }
  .h-step-phone { display: block; width: min(260px, 70vw); margin-top: 2rem; }

  .h-bento { grid-template-columns: 1fr; }
  .h-card--wide { grid-column: auto; grid-template-columns: 1fr; }
  .h-card--tall { grid-row: auto; }
  .h-facts { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
  .h-reel { overflow-x: auto; }
  .h-reel-track { animation: none; }
  .h-dot, .h-scroll-cue span { animation: none; }
  .h-download-fan .h-fan-l { transform: translateX(-95%) rotate(-12deg); }
  .h-download-fan .h-fan-r { transform: translateX(-5%) rotate(12deg); }
}


/* ── Beyond the map: daily maze + feed ──────────────────── */
.h-more { padding: clamp(6rem, 12vw, 9rem) clamp(1.25rem, 5vw, 2rem); }
.h-more-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
}
.h-more-card {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  align-items: center;
  gap: clamp(1.5rem, 5vw, 4rem);
  padding: clamp(1.75rem, 4vw, 3rem);
  border-radius: 32px;
  border: 1px solid var(--color-border);
  background:
    radial-gradient(80% 120% at 85% 20%, rgba(236, 121, 47, 0.12), transparent 60%),
    var(--color-surface);
}
.h-more-card--flip .h-more-copy { order: 2; }
.h-more-card h3 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  letter-spacing: -0.03em;
  margin-bottom: 0.8rem;
}
.h-more-card p { color: var(--color-text-secondary); font-size: 1.08rem; }
.h-ticks { list-style: none; margin-top: 1.5rem; display: grid; gap: 0.65rem; }
.h-ticks li {
  position: relative;
  padding-left: 1.75rem;
  color: var(--color-text-secondary);
}
.h-ticks li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.45em;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(236, 121, 47, 0.18);
}
.h-phone--tilt-l,
.h-phone--tilt-r {
  width: min(260px, 70vw);
  justify-self: center;
  transition: transform 0.8s var(--ease-out);
}
.h-phone--tilt-l { transform: rotate(-3deg); }
.h-phone--tilt-r { transform: rotate(3deg); }
.h-more-card:hover .h-phone--tilt-l,
.h-more-card:hover .h-phone--tilt-r { transform: rotate(0deg) translateY(-6px); }

/* ── Colours ────────────────────────────────────────────── */
.h-colors {
  position: relative;
  padding: clamp(6rem, 12vw, 9rem) 0 clamp(5rem, 10vw, 7rem);
  overflow: hidden;
}
.h-rainbow {
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, #EC792F, #FF2D55, #FFCC00, #28C76F, #0A84FF, #BF2FD4, #EC792F);
  background-size: 200% 100%;
  animation: h-rainbow-slide 12s linear infinite;
}
@keyframes h-rainbow-slide { to { background-position: -200% 0; } }
.h-rainbow-text {
  background: linear-gradient(90deg, #EC792F, #FF2D55, #FFCC00, #28C76F, #0A84FF, #BF2FD4, #EC792F);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: h-rainbow-slide 12s linear infinite;
}
.h-colors .h-section-head { padding: 0 clamp(1.25rem, 5vw, 2rem); margin-bottom: 2rem; }
.h-colors-lede {
  max-width: 34rem;
  margin: 1rem auto 0;
  color: var(--color-text-secondary);
  font-size: 1.1rem;
}
.h-swatches {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: clamp(2rem, 5vw, 3rem);
}
.h-swatch {
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 2px solid transparent;
  background: var(--c);
  cursor: pointer;
  padding: 0;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}
.h-swatch:hover { transform: scale(1.12); }
.h-swatch.is-active {
  transform: scale(1.15);
  border-color: var(--color-text);
  box-shadow: 0 0 22px -2px var(--c);
}
.h-swatch:focus-visible { outline: 3px solid var(--c); outline-offset: 3px; }

.h-color-strip {
  display: flex;
  gap: clamp(0.75rem, 2vw, 1.5rem);
  justify-content: center;
  align-items: center;
  padding: 0 clamp(1.25rem, 5vw, 2rem);
  overflow-x: auto;
  scrollbar-width: none;
}
.h-color-strip::-webkit-scrollbar { display: none; }
.h-color-shot {
  flex: 0 0 auto;
  width: clamp(110px, 13vw, 168px);
  margin: 0;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  opacity: 0.5;
  transform: scale(0.92);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out), box-shadow 0.6s;
}
.h-color-shot img { display: block; width: 100%; }
.h-color-shot.is-active {
  opacity: 1;
  transform: scale(1);
  box-shadow: 0 30px 60px -25px rgba(0, 0, 0, 0.9);
}

@media (max-width: 900px) {
  .h-more-card { grid-template-columns: 1fr; text-align: center; }
  .h-more-card--flip .h-more-copy { order: 0; }
  .h-ticks li { text-align: left; }
  .h-ticks { max-width: 22rem; margin-inline: auto; }
  .h-color-strip { justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  .h-rainbow, .h-rainbow-text { animation: none; }
}


/* ── Hero CTA ───────────────────────────────────────────── */
.h-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.95rem 1.8rem;
  border-radius: 999px;
  font-size: 1.12rem;
  font-weight: 650;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), #ff9147);
  box-shadow: 0 14px 34px -12px var(--accent-glow), 0 0 0 1px rgba(255, 255, 255, 0.08) inset;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}
.h-cta::after { content: "\2192"; transition: transform 0.35s var(--ease-out); }
.h-cta:hover { transform: translateY(-3px); box-shadow: 0 22px 46px -14px var(--accent-glow); }
.h-cta:hover::after { transform: translateX(4px); }
.h-cta:focus-visible { outline: 3px solid var(--accent-2); outline-offset: 3px; }
.h-store--sm { font-size: 1rem; padding: 0.6rem 1.1rem 0.6rem 0.9rem; background: transparent; color: var(--color-text); border: 1px solid var(--color-border); box-shadow: none; }
.h-store--sm:hover { background: var(--color-surface-hover); box-shadow: none; transform: translateY(-2px); }

/* ── Problem ────────────────────────────────────────────── */
.h-problem {
  position: relative;
  z-index: 3;
  background: var(--color-bg);
  padding: clamp(5rem, 11vw, 8rem) 0 clamp(3rem, 6vw, 5rem);
}
.h-problem .h-section-head { padding: 0 clamp(1.25rem, 5vw, 2rem); margin-bottom: clamp(2.5rem, 6vw, 4rem); }
.h-questions {
  max-width: var(--max-width);
  margin: 0 auto clamp(3rem, 7vw, 5rem);
  padding: 0 clamp(1.25rem, 5vw, 2rem);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.25rem, 3vw, 2.25rem);
}
.h-q {
  padding: 1.9rem 1.7rem;
  border-radius: 26px;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  transition: border-color 0.4s, transform 0.5s var(--ease-out);
}
.h-q:hover { border-color: rgba(236, 121, 47, 0.32); transform: translateY(-4px); }
.h-q-num {
  display: block;
  margin-bottom: 1rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--accent-ink);
  font-variant-numeric: tabular-nums;
}
.h-q h3 {
  font-size: clamp(1.18rem, 1.7vw, 1.45rem);
  line-height: 1.22;
  letter-spacing: -0.02em;
  margin-bottom: 0.7rem;
}
.h-q p { color: var(--color-text-secondary); font-size: 1rem; }
.h-problem-line {
  max-width: 44rem;
  margin: 0 auto clamp(2rem, 4vw, 3rem);
  padding: 0 clamp(1.25rem, 5vw, 2rem);
  text-align: center;
  font-size: clamp(1.05rem, 1.6vw, 1.22rem);
  color: var(--color-text-secondary);
}
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }

/* ── Story closing line ─────────────────────────────────── */
.h-story-close {
  max-width: 46rem;
  margin: clamp(2rem, 5vw, 4rem) auto 0;
  text-align: center;
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.35;
}
.h-story-close span {
  display: block;
  margin-top: 0.7rem;
  font-size: 0.97rem;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--color-text-secondary);
}
.h-signature { font-style: italic; opacity: 0.85; }

@media (max-width: 900px) {
  .h-questions { grid-template-columns: 1fr; }
}

/* ── Language selector ──────────────────────────────────── */
.nav-end {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}
.lang { position: relative; }
.lang > summary {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  color: var(--color-text-secondary);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
  white-space: nowrap;
  transition: color 0.25s, border-color 0.25s, background 0.25s;
}
.lang > summary::-webkit-details-marker { display: none; }
.lang > summary:hover { color: var(--color-text); border-color: rgba(236, 121, 47, 0.4); }
.lang > summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.lang[open] > summary { color: var(--color-text); border-color: rgba(236, 121, 47, 0.45); }
.lang-caret { transition: transform 0.25s var(--ease-out); }
.lang[open] .lang-caret { transform: rotate(180deg); }

.lang-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 0.5rem);
  z-index: 120;
  min-width: 232px;
  max-height: min(70svh, 420px);
  overflow-y: auto;
  padding: 0.4rem;
  margin: 0;
  list-style: none;
  border-radius: 16px;
  border: 1px solid var(--color-glass-border);
  background: rgba(14, 14, 20, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.85);
  animation: lang-in 0.22s var(--ease-out);
}
@keyframes lang-in {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: none; }
}
.lang-menu a {
  display: block;
  padding: 0.55rem 0.8rem;
  border-radius: 10px;
  color: var(--color-text-secondary);
  font-size: 0.92rem;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.lang-menu a:hover { background: var(--color-surface-hover); color: var(--color-text); }
.lang-menu a.is-current {
  color: var(--accent-2);
  font-weight: 600;
  background: rgba(236, 121, 47, 0.12);
}

@media (max-width: 760px) {
  .lang > summary span { display: none; }
  .lang > summary { padding: 0.45rem 0.55rem; }
}
@media (prefers-reduced-motion: reduce) {
  .lang-menu { animation: none; }
  .lang-caret { transition: none; }
}

/* ── CJK type scale ─────────────────────────────────────────
   Japanese, Korean and Chinese glyphs are full-width, so the Latin
   display sizes overflow. Scale the big type down and loosen leading. */
html[lang="ja"] .h-hero h1,
html[lang="ko"] .h-hero h1,
html[lang^="zh"] .h-hero h1 {
  font-size: clamp(2.35rem, 4.9vw, 4rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
}
html[lang="ja"] .h-section-head h2,
html[lang="ko"] .h-section-head h2,
html[lang^="zh"] .h-section-head h2,
html[lang="ja"] .h-download h2,
html[lang="ko"] .h-download h2,
html[lang^="zh"] .h-download h2 {
  font-size: clamp(1.75rem, 3.4vw, 2.7rem);
  line-height: 1.28;
  letter-spacing: -0.01em;
}
html[lang="ja"] .h-privacy-statement,
html[lang="ko"] .h-privacy-statement,
html[lang^="zh"] .h-privacy-statement {
  font-size: clamp(1.9rem, 4.2vw, 3.3rem);
  line-height: 1.24;
  letter-spacing: -0.01em;
}
html[lang="ja"] .h-step h3,
html[lang="ko"] .h-step h3,
html[lang^="zh"] .h-step h3 {
  font-size: clamp(1.55rem, 2.7vw, 2.2rem);
  line-height: 1.32;
}
html[lang="ja"] .h-more-card h3,
html[lang="ko"] .h-more-card h3,
html[lang^="zh"] .h-more-card h3 { font-size: clamp(1.45rem, 2.5vw, 1.95rem); }
html[lang="ja"] body, html[lang="ko"] body, html[lang^="zh"] body { line-break: strict; }

/* ── Personalization ────────────────────────────────────── */
.h-yours { padding: clamp(6rem, 12vw, 9rem) clamp(1.25rem, 5vw, 2rem); }
.y-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: start;
}
.y-questions {
  display: grid;
  gap: 1.9rem;
  position: sticky;
  top: 6.5rem;
}
.y-q { border: 0; padding: 0; margin: 0; min-width: 0; }
.y-q legend {
  padding: 0;
  margin-bottom: 0.85rem;
  font-size: 1.12rem;
  font-weight: 650;
  letter-spacing: -0.01em;
}
.y-chips { display: flex; flex-wrap: wrap; gap: 0.55rem; }
.y-chip { position: relative; cursor: pointer; }
.y-chip input {
  position: absolute;
  opacity: 0;
  inset: 0;
  margin: 0;
  cursor: pointer;
}
.y-chip span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.62rem 1.05rem;
  border-radius: 999px;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  color: var(--color-text-secondary);
  font-size: 0.97rem;
  font-weight: 500;
  transition: background 0.3s, color 0.3s, border-color 0.3s, transform 0.3s var(--ease-out);
}
.y-chip span::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  opacity: 0.55;
  transition: background 0.3s, border-color 0.3s, opacity 0.3s;
}
.y-chip:hover span { color: var(--color-text); border-color: rgba(236, 121, 47, 0.4); }
.y-chip input:checked + span {
  color: #fff;
  background: rgba(236, 121, 47, 0.2);
  border-color: rgba(236, 121, 47, 0.75);
}
.y-chip input:checked + span::before { background: var(--accent); border-color: var(--accent); opacity: 1; }
.y-chip input:focus-visible + span { outline: 3px solid var(--accent-2); outline-offset: 2px; }
.y-chip input:active + span { transform: scale(0.97); }
.y-privacy {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: var(--color-text-muted);
}

.y-result {
  padding: clamp(1.1rem, 2.5vw, 1.6rem);
  border-radius: 30px;
  border: 1px solid var(--color-border);
  background:
    radial-gradient(90% 70% at 80% 0%, rgba(236, 121, 47, 0.1), transparent 60%),
    var(--color-surface);
}
.y-map {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 22px;
  overflow: hidden;
  isolation: isolate;
  background: radial-gradient(120% 90% at 50% 110%, #16213d 0%, #0a0e1a 65%);
  transition: background 0.8s var(--ease-out);
}
/* world mode: NASA imagery projected onto a globe (public domain) */
.y-globe {
  position: absolute;
  left: 30%; top: -69.5%;
  width: 230%;
  aspect-ratio: 1;
  transform: translateX(-50%);
  border-radius: 50%;
  background: url("/screens/map-globe-real.webp") center / cover no-repeat;
  box-shadow: 0 0 70px 8px rgba(90, 140, 255, 0.2);
  filter: brightness(1.25) saturate(1.1);
  transition: opacity 0.7s var(--ease-out), transform 0.9s var(--ease-out);
}
/* city mode: OpenStreetMap streets of Barcelona, restyled dark */
.y-city {
  position: absolute;
  inset: 0;
  opacity: 0;
  background: url("/screens/map-city.jpg") center / cover no-repeat;
  filter: brightness(0.85) saturate(1.1);
  transition: opacity 0.7s var(--ease-out);
}
.y-map[data-mode="city"] .y-globe { opacity: 0; transform: translateX(-50%) scale(1.25); }
.y-map[data-mode="city"] .y-city { opacity: 1; }
.y-attrib {
  position: absolute;
  right: 0.55rem; top: 0.55rem;
  z-index: 4;
  padding: 0.12rem 0.45rem;
  border-radius: 6px;
  font-size: 0.62rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.7);
  background: rgba(0, 0, 0, 0.45);
  text-decoration: none;
  transition: opacity 0.5s;
}
.y-attrib--city { opacity: 0; pointer-events: none; }
.y-map[data-mode="city"] .y-attrib--city { opacity: 1; pointer-events: auto; }
.y-map[data-mode="city"] .y-attrib--world { opacity: 0; }

.y-example {
  position: absolute;
  top: 0.8rem; left: 0.8rem;
  z-index: 4;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.y-pins { position: absolute; inset: 0; z-index: 2; }
.y-pin {
  position: absolute;
  width: clamp(34px, 4.6vw, 48px);
  aspect-ratio: 1;
  transform: translate(-50%, -100%);
  animation: y-pop 0.55s var(--ease-out) both;
}
.y-pin img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 2.5px solid #fff;
  box-shadow: 0 0 0 2px var(--accent), 0 10px 22px -6px rgba(0, 0, 0, 0.8);
}
.y-pin::after {
  content: "";
  position: absolute;
  left: 50%; bottom: -7px;
  width: 8px; height: 8px;
  transform: translateX(-50%) rotate(45deg);
  background: var(--accent);
  border-radius: 1px;
  z-index: -1;
}
@keyframes y-pop {
  from { opacity: 0; transform: translate(-50%, -70%) scale(0.4); }
  to { opacity: 1; transform: translate(-50%, -100%) scale(1); }
}
.y-card {
  position: absolute;
  right: 4%; bottom: 7%;
  z-index: 3;
  width: clamp(88px, 27%, 176px);
  margin: 0;
  padding: 7px 7px 0;
  border-radius: 10px;
  background: #fbf8f3;
  color: #2d2823;
  box-shadow: 0 24px 44px -14px rgba(0, 0, 0, 0.85);
  transform: rotate(3deg);
  transition: transform 0.6s var(--ease-out);
}
.y-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 6px;
  transition: opacity 0.35s;
}
.y-card figcaption { padding: 0.45rem 0.1rem 0.55rem; display: grid; gap: 0.1rem; }
.y-card-title { font-size: 0.82rem; line-height: 1.2; }
.y-card-meta { font-size: 0.72rem; color: #7a7068; }
.y-card-with {
  justify-self: start;
  margin-top: 0.25rem;
  padding: 0.12rem 0.5rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 650;
  color: #fff;
  background: var(--accent);
}
.y-card.is-swapping img { opacity: 0.2; }
/* the "who" card sits behind and to the left of the memory card */
.y-card-who {
  right: 31%;
  bottom: 12%;
  z-index: 2;
  width: clamp(80px, 21%, 140px);
  transform: rotate(-6deg);
}
.y-card-who figcaption { gap: 0.3rem; }
.y-people { display: flex; gap: 2px; color: var(--accent); }
.y-people span {
  display: grid;
  place-items: center;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: rgba(236, 121, 47, 0.14);
  animation: y-pop-in 0.35s var(--ease-out) both;
}
.y-people span:nth-child(2) { animation-delay: 60ms; }
.y-people span:nth-child(3) { animation-delay: 120ms; }
@keyframes y-pop-in { from { opacity: 0; transform: scale(0.4); } to { opacity: 1; transform: none; } }
.y-card-who .y-card-with { margin-top: 0; }
@media (prefers-reduced-motion: reduce) { .y-people span { animation: none; } }
.y-stat {
  position: absolute;
  left: 0.8rem; bottom: 0.8rem;
  z-index: 3;
  max-width: 58%;
  padding: 0.45rem 0.75rem;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.3;
  color: #fff;
  background: rgba(10, 12, 20, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.y-text { margin-top: 1.4rem; }
.y-head {
  font-size: clamp(1.45rem, 2.6vw, 2rem);
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin-bottom: 0.7rem;
}
.y-copy { color: var(--color-text-secondary); font-size: 1.05rem; }
.y-text.is-changing .y-head,
.y-text.is-changing .y-copy { animation: y-fade 0.45s var(--ease-out); }
@keyframes y-fade { from { opacity: 0.15; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.y-note { margin: 1rem 0 1.4rem; font-size: 0.85rem; color: var(--color-text-muted); }

html[lang="ja"] .y-head, html[lang="ko"] .y-head, html[lang^="zh"] .y-head { line-height: 1.35; letter-spacing: 0; }

@media (max-width: 900px) {
  .y-grid { grid-template-columns: 1fr; }
  .y-questions { position: static; }
}
@media (max-width: 520px) {
  .y-card { padding: 5px 5px 0; right: 3%; }
  .y-card-who { right: 31%; }
  .y-pin { width: 30px; }
  .y-people span { width: 16px; height: 16px; }
  .y-people svg { width: 10px; height: 10px; }
  .y-card figcaption { padding: 0.3rem 0.05rem 0.4rem; }
  .y-card-title { font-size: 0.72rem; }
  .y-card-with { font-size: 0.6rem; }
  .y-stat { font-size: 0.7rem; max-width: 52%; top: 0.8rem; right: 0.8rem; left: auto; bottom: auto; }
  .y-attrib { top: auto; bottom: 0.45rem; right: auto; left: 0.55rem; }
  .y-card-who .y-card-with { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .y-pin, .y-text.is-changing .y-head, .y-text.is-changing .y-copy { animation: none; }
}

/* ── FAQ ────────────────────────────────────────────────── */
.h-faq { padding: clamp(6rem, 12vw, 9rem) clamp(1.25rem, 5vw, 2rem); }
.f-list {
  max-width: 820px;
  margin: 0 auto;
  display: grid;
  gap: 0.75rem;
}
.f-item {
  border-radius: 20px;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  transition: border-color 0.3s, background 0.3s;
}
.f-item[open] { border-color: rgba(236, 121, 47, 0.35); background: rgba(255, 255, 255, 0.06); }
.f-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.25rem 1.4rem;
  cursor: pointer;
  list-style: none;
  border-radius: 20px;
}
.f-item summary::-webkit-details-marker { display: none; }
.f-item summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.f-item summary h3 {
  margin: 0;
  font-size: clamp(1.02rem, 1.6vw, 1.15rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.35;
}
.f-icon {
  position: relative;
  flex: 0 0 auto;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: rgba(236, 121, 47, 0.12);
}
.f-icon::before, .f-icon::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 12px; height: 2px;
  margin: -1px 0 0 -6px;
  border-radius: 1px;
  background: var(--accent);
  transition: transform 0.35s var(--ease-out);
}
.f-icon::after { transform: rotate(90deg); }
.f-item[open] .f-icon::after { transform: rotate(0deg); }
.f-item p {
  margin: 0;
  padding: 0 1.4rem 1.35rem;
  max-width: 68ch;
  color: var(--color-text-secondary);
  font-size: 1rem;
  line-height: 1.65;
}
.f-item[open] p { animation: f-in 0.35s var(--ease-out); }
@keyframes f-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .f-item[open] p { animation: none; }
  .f-icon::before, .f-icon::after { transition: none; }
}


/* ── Light mode ─────────────────────────────────────────────
   Follows the visitor's system setting. Photos, phone screenshots
   and the example map stay dark on purpose: they show the app's
   night globe. Small accent text uses a darker orange so it keeps
   WCAG contrast on the light ground. */
@media (prefers-color-scheme: light) {
  body.home {
    --color-bg: #faf8f5;
    --color-bg-alt: #f2eee8;
    --color-surface: rgba(28, 20, 12, 0.035);
    --color-surface-hover: rgba(28, 20, 12, 0.07);
    --color-border: rgba(28, 20, 12, 0.11);
    --color-text: #1c1814;
    --color-text-secondary: #57504a;
    --color-text-muted: #726962;
    --color-glass: rgba(255, 255, 255, 0.75);
    --color-glass-border: rgba(28, 20, 12, 0.1);
    --accent-2: #C0561C;
    --accent-ink: #B04C16;
    --accent-glow: rgba(236, 121, 47, 0.2);
    color-scheme: light;
  }
  .home .nav.scrolled { background: rgba(250, 248, 245, 0.82); }
  .h-stars { display: none; }
  .h-hero-glow { opacity: 0.75; }
  .h-grad { background-image: linear-gradient(100deg, #DE6420 0%, #C4501A 55%, #A2400F 100%); }
  .h-rainbow-text { background-image: linear-gradient(90deg, #D9621F, #E0264F, #C99A00, #1E9E57, #0A6FD6, #A322B8, #D9621F); }

  .h-store:not(.h-store--sm) {
    background: #141210;
    color: #fff;
    box-shadow: 0 12px 30px -14px rgba(0, 0, 0, 0.45);
  }
  .h-store:not(.h-store--sm):hover { box-shadow: 0 18px 40px -16px rgba(236, 121, 47, 0.55); }

  .h-phone { box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08) inset, 0 36px 70px -26px rgba(40, 28, 16, 0.45), 0 0 60px -14px var(--accent-glow); }
  .h-polaroid { box-shadow: 0 22px 40px -18px rgba(40, 28, 16, 0.45); }
  .h-scroll-cue { border-color: rgba(28, 20, 12, 0.25); }
  .h-story-dots li { background: rgba(28, 20, 12, 0.16); }

  .lang-menu {
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 24px 60px -24px rgba(40, 28, 16, 0.35);
  }
  .y-chip input:checked + span { color: var(--color-text); background: rgba(236, 121, 47, 0.14); }
  .y-result { background: radial-gradient(90% 70% at 80% 0%, rgba(236, 121, 47, 0.08), transparent 60%), #fff; }
  .h-more-card, .h-q, .h-card, .f-item { background-color: #fff; }
  .f-item[open] { background: #fff; box-shadow: 0 16px 40px -28px rgba(40, 28, 16, 0.35); }
  .h-card { background: radial-gradient(420px circle at var(--mx) var(--my), rgba(236, 121, 47, 0.1), transparent 55%), #fff; }
}

/* ── Footer: social ─────────────────────────────────────── */
.footer-social a { display: inline-flex; align-items: center; gap: 0.5rem; }
.footer-social svg { flex: 0 0 auto; opacity: 0.85; }
.footer-maker { display: inline-flex; align-items: center; gap: 0.55rem; }
.footer-maker a {
  display: inline-grid;
  place-items: center;
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  color: var(--color-text-secondary);
  transition: color 0.2s, border-color 0.2s;
}
.footer-maker a:hover { color: var(--color-text); border-color: rgba(236, 121, 47, 0.45); opacity: 1; }
.footer-maker a:focus-visible, .footer-social a:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
