/* ----------------------------------------------------------
   AfrikaBurn Companion — dusty desert editorial
   ---------------------------------------------------------- */

:root {
  --paper: oklch(0.96 0.015 75);
  --paper-warm: oklch(0.93 0.025 70);
  --paper-deep: oklch(0.88 0.035 65);
  --ink: oklch(0.22 0.02 60);
  --ink-soft: oklch(0.38 0.02 60);
  --ink-mute: oklch(0.55 0.02 60);
  --ochre: oklch(0.68 0.14 55);
  --ochre-deep: oklch(0.55 0.15 45);
  --sunburn: oklch(0.58 0.16 35);
  --sage: oklch(0.55 0.04 120);
  --rule: oklch(0.22 0.02 60 / 0.12);
  --rule-soft: oklch(0.22 0.02 60 / 0.06);

  --font-display: "Fraunces", ui-serif, Georgia, serif;
  --font-body: "Inter Tight", ui-sans-serif, system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body::before {
  /* subtle paper grain */
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 200;
  opacity: 0.35;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.15  0 0 0 0 0.11  0 0 0 0 0.08  0 0 0 0.08 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

img { max-width: 100%; display: block; }
a { color: inherit; }

/* ---------- Typography ---------- */

.mono { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; }
.display {
  font-family: var(--font-display);
  font-variation-settings: "SOFT" 50, "WONK" 0, "opsz" 144;
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: -0.025em;
}

/* ---------- Shell ---------- */

.shell {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 clamp(24px, 6vw, 96px);
}

.rule {
  height: 1px;
  background: var(--rule);
  margin: 0;
  border: 0;
}

/* ---------- Nav ---------- */

.nav {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: transparent;
  border-bottom: 1px solid oklch(1 0 0 / 0.1);
  padding: 0 clamp(24px, 6vw, 96px);
}
.nav-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 14px 0 !important;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.nav .brand,
.nav .nav-links a { color: oklch(0.95 0.01 60); }
.nav .nav-links a:hover { color: var(--paper); }
.nav .brand em { color: oklch(0.9 0.01 60 / 0.7) !important; }
.nav-cta {
  background: var(--paper) !important;
  color: var(--ink) !important;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  text-decoration: none;
}
.brand-mark {
  width: 32px; height: 32px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}
.nav-links {
  display: flex;
  gap: 28px;
  font-size: 0.88rem;
}
.nav-links a {
  text-decoration: none;
  color: var(--ink-soft);
  transition: color .2s;
}
.nav-links a:hover { color: var(--ink); }
.nav-cta {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 999px;
  text-decoration: none;
}
@media (max-width: 760px) {
  .nav-links { display: none; }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: clamp(48px, 9vw, 140px) 0 clamp(48px, 7vw, 100px);
  overflow: hidden;
  background: #0b0a10;
  color: var(--paper);
  isolation: isolate;
  min-height: min(92vh, 900px);
  display: flex;
  align-items: flex-end;
}
.hero-photo {
  position: absolute;
  inset: 0;
  background-image: url('hero.jpg');
  background-size: cover;
  background-position: center 35%;
  z-index: 0;
  will-change: transform;
}
.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 80%, oklch(0.55 0.18 30 / 0.25), transparent 60%),
    linear-gradient(180deg,
      oklch(0.08 0.03 300 / 0.55) 0%,
      oklch(0.08 0.03 300 / 0.25) 35%,
      oklch(0.08 0.03 300 / 0.6) 75%,
      oklch(0.05 0.02 300 / 0.85) 100%);
}
.hero .shell { position: relative; z-index: 2; width: 100%; }

.hero-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: oklch(0.9 0.02 60 / 0.7);
  margin-bottom: clamp(28px, 5vw, 56px);
  padding-top: clamp(72px, 10vw, 110px);
}
.hero-meta .mono { color: oklch(0.9 0.02 60 / 0.7); }

.hero-title {
  font-size: clamp(3rem, 10.5vw, 10rem);
  margin: 0;
  position: relative;
  z-index: 3;
  color: var(--paper);
  text-shadow: 0 2px 40px oklch(0 0 0 / 0.4);
}
.hero-title .line { display: block; }
.hero-title em {
  font-style: italic;
  color: oklch(0.82 0.15 55);
  font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144;
}

.hero-dust {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  mix-blend-mode: screen;
  opacity: 0.7;
}

.hero-bottom {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: end;
  margin-top: clamp(32px, 5vw, 64px);
  position: relative;
  z-index: 3;
}
@media (max-width: 820px) {
  .hero-bottom { grid-template-columns: 1fr; }
}

.hero-lede {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1.7vw, 1.35rem);
  line-height: 1.4;
  max-width: 46ch;
  color: oklch(0.95 0.01 60);
  font-weight: 400;
}
.hero-lede em { color: oklch(0.82 0.15 55); font-style: italic; }

.hero-cta-col { text-align: left; }
@media (min-width: 821px) {
  .hero-cta-col { text-align: right; }
}

.store-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
@media (min-width: 821px) {
  .hero-cta-col .store-row { justify-content: flex-end; }
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  border: 1px solid var(--paper);
  background: var(--paper);
  color: var(--ink);
  border-radius: 14px;
  text-decoration: none;
  transition: transform .2s, background .2s;
  min-width: 180px;
}
.store-btn:hover { transform: translateY(-2px); }
.store-btn.ghost {
  background: transparent;
  color: var(--paper);
  border-color: oklch(0.9 0.01 60 / 0.5);
}
.store-btn.ghost:hover { background: oklch(1 0 0 / 0.1); }
.store-btn .sb-label {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.1;
}
.store-btn .sb-small {
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.75;
  font-family: var(--font-mono);
}
.store-btn .sb-big {
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.store-btn svg { width: 24px; height: 24px; }

.hero-coords {
  margin-top: 18px;
  color: oklch(0.85 0.02 60 / 0.7);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}

/* ---------- Countdown ---------- */

.countdown {
  padding: clamp(48px, 7vw, 96px) 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background: var(--paper-warm);
}
.cd-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: clamp(24px, 4vw, 48px);
}
.cd-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  margin: 0;
  letter-spacing: -0.02em;
  line-height: 1.05;
}
.cd-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(10px, 2vw, 28px);
}
@media (max-width: 640px) {
  .cd-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
}
.cd-unit {
  padding: clamp(18px, 3vw, 28px) clamp(14px, 2vw, 22px);
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 14px;
  position: relative;
  overflow: hidden;
}
.cd-num {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 5.5rem);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--ink);
  font-feature-settings: "tnum";
  display: block;
}
.cd-label {
  margin-top: 8px;
  color: var(--ink-mute);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.cd-tick {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sunburn);
  animation: tick 1s steps(2) infinite;
}
@keyframes tick { 0%{opacity:1} 50%{opacity:0.2} 100%{opacity:1} }

/* ---------- Features ---------- */

.features {
  padding: clamp(72px, 9vw, 140px) 0;
}
.sec-head {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: clamp(20px, 4vw, 56px);
  align-items: start;
  margin-bottom: clamp(36px, 5vw, 72px);
}
@media (max-width: 760px) {
  .sec-head { grid-template-columns: 1fr; gap: 16px; }
}
.sec-head h2 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 4rem);
  margin: 8px 0 0;
  letter-spacing: -0.025em;
  line-height: 1;
}
.sec-head p {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  color: var(--ink-soft);
  max-width: 52ch;
  line-height: 1.45;
  margin: 0;
}

.feat-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  border-radius: 14px;
  overflow: hidden;
}
.feat {
  grid-column: span 2;
  background: var(--paper);
  padding: clamp(24px, 3vw, 40px);
  min-height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  transition: background .25s;
}
.feat:hover { background: var(--paper-warm); }
.feat.wide { grid-column: span 3; }
.feat.full { grid-column: span 6; }
@media (max-width: 900px) {
  .feat-grid { grid-template-columns: 1fr 1fr; }
  .feat, .feat.wide, .feat.full { grid-column: span 1; }
  .feat.full { grid-column: span 2; }
}
@media (max-width: 560px) {
  .feat-grid { grid-template-columns: 1fr; }
  .feat, .feat.wide, .feat.full { grid-column: span 1; }
}

.feat-num {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.feat h3 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0;
  font-weight: 400;
}
.feat p {
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0;
  max-width: 40ch;
}
.feat-glyph {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--rule);
  border-radius: 50%;
  color: var(--ochre-deep);
}
.feat-glyph svg { width: 22px; height: 22px; }

/* ---------- Phone + map ---------- */

.experience {
  padding: clamp(72px, 9vw, 140px) 0;
  background: var(--ink);
  color: var(--paper);
  position: relative;
  overflow: hidden;
}
.experience::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 10%, oklch(0.45 0.12 35 / 0.35), transparent 50%),
    radial-gradient(ellipse at 85% 90%, oklch(0.45 0.10 55 / 0.3), transparent 55%);
  pointer-events: none;
}
.experience .shell { position: relative; }
.experience .sec-head h2 { color: var(--paper); }
.experience .sec-head p { color: oklch(0.78 0.02 60); }
.experience .mono { color: oklch(0.70 0.08 55); }

.exp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}
@media (max-width: 860px) {
  .exp-grid { grid-template-columns: 1fr; gap: 48px; }
}

/* Phone mock */
.phone-wrap {
  display: flex;
  justify-content: center;
  perspective: 1400px;
}
.phone {
  width: 280px;
  aspect-ratio: 9/19;
  border-radius: 44px;
  background: oklch(0.14 0.01 60);
  padding: 10px;
  box-shadow:
    0 40px 80px -20px oklch(0 0 0 / 0.6),
    0 0 0 1px oklch(0.35 0.02 60 / 0.4),
    inset 0 0 0 2px oklch(0.28 0.02 60);
  position: relative;
  transform: rotate(-2deg);
  transition: transform .4s;
}
.phone:hover { transform: rotate(0deg) translateY(-4px); }
.phone-screen {
  width: 100%;
  height: 100%;
  background: var(--paper);
  border-radius: 34px;
  overflow: hidden;
  position: relative;
}
.phone-notch {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 24px;
  background: oklch(0.14 0.01 60);
  border-radius: 14px;
  z-index: 3;
}

.phone-slider {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform .5s cubic-bezier(.4,.2,.2,1);
}
.phone-slide {
  min-width: 100%;
  height: 100%;
  position: relative;
  color: var(--ink);
  background: var(--paper);
  display: flex;
  flex-direction: column;
}
.phone-slide .ps-top {
  padding: 48px 18px 14px;
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  color: var(--ink-mute);
}
.phone-slide .ps-title {
  padding: 0 18px;
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 4px 0 14px;
}
.phone-slide .ps-title em { color: var(--sunburn); font-style: italic; }
.phone-slide .ps-body { flex: 1; padding: 0 14px 18px; overflow: hidden; }

/* Home slide */
.ps-chips {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 14px;
  padding: 0 4px;
}
.ps-chip {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 9px;
  border-radius: 999px;
  border: 1px solid var(--rule);
  color: var(--ink-soft);
}
.ps-chip.on { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.ps-card {
  background: var(--paper-warm);
  border-radius: 12px;
  padding: 10px 12px;
  margin: 0 4px 8px;
  display: flex;
  gap: 10px;
  align-items: center;
}
.ps-card .thumb {
  width: 34px; height: 34px; border-radius: 8px;
  background: linear-gradient(135deg, var(--ochre), var(--sunburn));
  flex-shrink: 0;
}
.ps-card .thumb.b { background: linear-gradient(135deg, var(--sage), oklch(0.35 0.05 180)); }
.ps-card .thumb.c { background: linear-gradient(135deg, oklch(0.7 0.1 300), oklch(0.55 0.12 340)); }
.ps-card .meta { flex: 1; min-width: 0; }
.ps-card .meta .t { font-size: 0.72rem; font-weight: 500; color: var(--ink); line-height: 1.2; }
.ps-card .meta .s { font-size: 0.58rem; color: var(--ink-mute); font-family: var(--font-mono); letter-spacing: 0.06em; margin-top: 2px; }

/* Map slide */
.ps-map {
  position: relative;
  margin: 0 4px;
  aspect-ratio: 1;
  border-radius: 12px;
  background:
    radial-gradient(circle at 50% 50%, var(--paper) 0 18%, transparent 18.5%),
    repeating-conic-gradient(from 0deg, oklch(0.92 0.03 70) 0 10deg, oklch(0.88 0.035 70) 10deg 20deg);
  overflow: hidden;
  border: 1px solid var(--rule);
}
.ps-map::after {
  content: "";
  position: absolute;
  inset: 30%;
  border-radius: 50%;
  border: 1px dashed var(--ochre-deep);
  opacity: 0.5;
}
.ps-map .pin {
  position: absolute;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--sunburn);
  box-shadow: 0 0 0 3px oklch(0.58 0.16 35 / 0.25);
  transform: translate(-50%, -50%);
}
.ps-map .pin.me {
  background: var(--ink);
  width: 12px; height: 12px;
  box-shadow: 0 0 0 4px oklch(0.22 0.02 60 / 0.2);
}
.ps-map .pin.me::after {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 1px solid var(--ink);
  animation: ping 2s ease-out infinite;
}
@keyframes ping {
  0% { transform: scale(0.6); opacity: 1; }
  100% { transform: scale(1.8); opacity: 0; }
}

/* Detail slide */
.ps-hero {
  margin: 0 4px 10px;
  height: 90px;
  border-radius: 12px;
  background:
    linear-gradient(180deg, transparent 40%, oklch(0 0 0 / 0.3)),
    linear-gradient(135deg, var(--sunburn), var(--ochre));
  position: relative;
  overflow: hidden;
}
.ps-hero .tag {
  position: absolute;
  bottom: 8px;
  left: 10px;
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.ps-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 8px;
  border-bottom: 1px solid var(--rule);
  font-size: 0.7rem;
}
.ps-row .k { color: var(--ink-mute); font-family: var(--font-mono); font-size: 0.58rem; letter-spacing: 0.08em; text-transform: uppercase; }
.ps-row .v { color: var(--ink); font-weight: 500; }

.ps-btn {
  margin: 12px 4px 0;
  padding: 10px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 10px;
  text-align: center;
  font-size: 0.72rem;
  font-weight: 500;
}

/* Slider controls */
.phone-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}
.phone-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: oklch(0.55 0.02 60);
  border: 0;
  cursor: pointer;
  padding: 0;
  transition: background .2s, transform .2s;
}
.phone-dot.on { background: var(--ochre); transform: scale(1.3); }

.exp-content .label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: oklch(0.72 0.08 55);
}
.exp-content h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.6rem);
  line-height: 0.98;
  letter-spacing: -0.025em;
  margin: 12px 0 22px;
  color: var(--paper);
}
.exp-content h2 em { color: var(--ochre); font-style: italic; }
.exp-content p {
  color: oklch(0.78 0.02 60);
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.3vw, 1.2rem);
  line-height: 1.45;
  max-width: 46ch;
  margin: 0 0 28px;
}

.exp-list {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid oklch(0.4 0.02 60);
}
.exp-list li {
  padding: 16px 0;
  border-bottom: 1px solid oklch(0.4 0.02 60);
  display: grid;
  grid-template-columns: 40px 1fr auto;
  gap: 18px;
  align-items: center;
  color: oklch(0.85 0.015 60);
  cursor: pointer;
  transition: padding .2s;
}
.exp-list li:hover { padding-left: 10px; }
.exp-list li.on { color: var(--paper); }
.exp-list li.on .exp-list-n { color: var(--ochre); }
.exp-list-n {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: oklch(0.5 0.02 60);
}
.exp-list-t {
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: -0.01em;
}
.exp-list-arrow { opacity: 0; transition: opacity .2s, transform .2s; color: var(--ochre); }
.exp-list li.on .exp-list-arrow { opacity: 1; transform: translateX(4px); }

/* ---------- Screenshots ---------- */

.screenshots {
  padding: clamp(72px, 9vw, 140px) 0;
  background: var(--paper-warm);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.ss-scroll {
  display: flex;
  gap: clamp(16px, 2.5vw, 28px);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 16px;
  scrollbar-width: thin;
  scrollbar-color: var(--ochre) var(--paper-deep);
}
.ss-item {
  flex: 0 0 auto;
  width: clamp(200px, 22vw, 260px);
  scroll-snap-align: start;
  text-align: center;
}
.ss-item img {
  width: 100%;
  max-height: 520px;
  object-fit: contain;
  border-radius: 18px;
  border: 1px solid var(--rule);
  background: var(--paper);
  box-shadow: 0 8px 32px oklch(0 0 0 / 0.08);
}
.ss-caption {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  color: var(--ink-mute);
  margin-top: 12px;
  line-height: 1.4;
}

/* ---------- Map preview ---------- */

.mapsec {
  padding: clamp(72px, 9vw, 140px) 0;
}
.map-wrap {
  position: relative;
  aspect-ratio: 2048/1139;
  border-radius: 18px;
  border: 1px solid var(--rule);
  background: oklch(0.98 0.005 70);
  overflow: hidden;
  cursor: grab;
  touch-action: none;
  user-select: none;
}
.map-wrap:active { cursor: grabbing; }
@media (max-width: 640px) { .map-wrap { aspect-ratio: 4/5; } }

.map-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform-origin: 0 0;
  transition: transform .25s cubic-bezier(.4,.2,.2,1);
  will-change: transform;
  pointer-events: none;
}
.map-wrap.panning .map-img { transition: none; }

.map-zoom {
  position: absolute;
  top: 16px;
  left: 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 12px;
  padding: 4px;
  z-index: 3;
}
.map-zoom button {
  width: 32px;
  height: 32px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 1.1rem;
  cursor: pointer;
  border-radius: 8px;
  font-family: var(--font-mono);
  line-height: 1;
}
.map-zoom button:hover { background: var(--paper-warm); }

.map-caption {
  position: absolute;
  bottom: 16px;
  right: 16px;
  padding: 8px 12px;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 999px;
  color: var(--ink-soft);
  z-index: 3;
}

.map-hint {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--ink);
  color: var(--paper);
  padding: 8px 12px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  pointer-events: none;
}

/* ---------- FAQ ---------- */

.faq {
  padding: clamp(72px, 9vw, 140px) 0;
  border-top: 1px solid var(--rule);
}
.faq-list { border-top: 1px solid var(--ink); }
.faq-item { border-bottom: 1px solid var(--rule); }
.faq-q {
  width: 100%;
  background: none;
  border: 0;
  padding: clamp(18px, 2.5vw, 28px) 0;
  display: grid;
  grid-template-columns: 60px 1fr 40px;
  gap: 20px;
  align-items: center;
  text-align: left;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.2vw, 1.75rem);
  letter-spacing: -0.015em;
  color: var(--ink);
  line-height: 1.15;
  font-weight: 400;
}
.faq-q:hover { color: var(--sunburn); }
.faq-n { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.1em; color: var(--ink-mute); }
.faq-plus {
  width: 28px; height: 28px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  justify-self: end;
  transition: transform .3s, background .3s, color .3s;
  font-size: 1rem;
  line-height: 1;
  color: var(--ink);
}
.faq-item.open .faq-plus {
  background: var(--ink);
  color: var(--paper);
  transform: rotate(45deg);
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s cubic-bezier(.4,.2,.2,1), padding .4s;
  padding: 0 0 0 80px;
  color: var(--ink-soft);
  font-family: var(--font-display);
  font-size: 1.05rem;
  line-height: 1.55;
  max-width: 72ch;
}
.faq-item.open .faq-a {
  max-height: 500px;
  padding: 0 0 clamp(18px, 2.5vw, 28px) 80px;
}
@media (max-width: 640px) {
  .faq-q { grid-template-columns: 34px 1fr 28px; gap: 12px; }
  .faq-a { padding-left: 46px; }
  .faq-item.open .faq-a { padding-left: 46px; }
}

/* ---------- Footer ---------- */

.foot {
  padding: clamp(60px, 8vw, 120px) 0 clamp(24px, 3vw, 40px);
  background: var(--ink);
  color: var(--paper);
}
.foot-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: clamp(28px, 4vw, 56px);
  margin-bottom: clamp(40px, 5vw, 72px);
}
@media (max-width: 760px) {
  .foot-grid { grid-template-columns: 1fr; }
}
.foot-h {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: oklch(0.7 0.02 60);
  margin: 0 0 14px;
}
.foot-big {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 0.98;
  letter-spacing: -0.025em;
  margin: 0 0 24px;
  max-width: 24ch;
}
.foot-big em { color: var(--ochre); font-style: italic; }
.foot ul { list-style: none; padding: 0; margin: 0; }
.foot li { margin-bottom: 10px; }
.foot a {
  color: oklch(0.85 0.015 60);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color .2s;
}
.foot a:hover { color: var(--ochre); }
.foot-fine {
  border-top: 1px solid oklch(0.35 0.02 60);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: oklch(0.6 0.02 60);
}

/* ---------- Utility ---------- */

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1);
}
.reveal.in {
  opacity: 1;
  transform: none;
}
