:root {
  --bg: #0b0b0b;
  --paper: #f2f0ea;
  --muted: #8d8d8d;
  --line: rgba(242,240,234,.15);
  --burgundy: #7a1026;
  --burgundy-bright: #9b1734;
  --map-bg: #171717;
  --max: 1440px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--paper);
  font-family: "Manrope", Arial, sans-serif;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }

.site-shell { min-height: 100vh; background: var(--bg); }
.topbar {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  width: 100%;
  height: 74px;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  mix-blend-mode: normal;
  pointer-events: none;
}
.brand, .top-meta { pointer-events: auto; }
.brand { display: inline-flex; align-items: center; width: 108px; }
.brand img { display:block; width:100%; height:auto; }
.top-meta {
  display: flex;
  gap: 11px;
  align-items: center;
  font: 700 10px/1 "Space Mono", monospace;
  letter-spacing: .08em;
}
.slash { color: var(--burgundy-bright); }

.hero {
  position: relative;
  min-height: 100svh;
  padding: 74px 24px 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}
.hero-grid {
  position: absolute;
  inset: 0;
  opacity: .18;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
}
.noise {
  position: absolute;
  inset: 0;
  opacity: .035;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
}
.map-wrap {
  position: relative;
  flex: 1;
  min-height: 560px;
  border: 1px solid var(--line);
  overflow: hidden;
  isolation: isolate;
  background: var(--map-bg);
}
.static-map {
  position:absolute;
  inset:0;
  overflow:hidden;
  background:#171717;
}
#map .maplibregl-canvas {
  position:absolute !important;
  inset:0;
  width:100% !important;
  height:100% !important;
}
#map {
  cursor:default;
  touch-action:none;
}
.map-attribution {
  position:absolute;
  z-index:421;
  right:10px;
  bottom:8px;
  padding:4px 6px;
  color:rgba(242,240,234,.35);
  background:rgba(11,11,11,.52);
  font:7px/1 "Space Mono",monospace;
  letter-spacing:.02em;
  pointer-events:none;
}
.map-vignette {
  position:absolute; inset:0; z-index:400; pointer-events:none;
  background: radial-gradient(circle at 50% 50%, transparent 18%, rgba(11,11,11,.12) 55%, rgba(11,11,11,.82) 100%);
}
.map-label {
  position:absolute; z-index:420; font: 9px/1 "Space Mono", monospace; letter-spacing:.08em; color:rgba(242,240,234,.55); pointer-events:none;
}
.map-label--north { top:16px; left:18px; }
.map-label--south { bottom:16px; right:18px; color:rgba(242,240,234,.35); }

.pin-stage {
  position:absolute; z-index:430; left:50%; top:50%; width:72px; height:72px; transform:translate(-50%,-50%); padding:0; border:0; background:transparent; cursor:pointer; appearance:none;
}
.pin-core {
  position:absolute; left:50%; top:50%; width:18px; height:18px; transform:translate(-50%,-50%);
  background:var(--burgundy-bright); border:2px solid var(--paper); border-radius:50%; box-shadow:0 0 0 5px rgba(155,23,52,.2), 0 0 28px rgba(155,23,52,.65);
}
.pin-pulse {
  position:absolute; left:50%; top:50%; width:18px; height:18px; transform:translate(-50%,-50%); border:1px solid var(--burgundy-bright); border-radius:50%; opacity:0; animation:pulse 2.4s ease-out infinite;
}
.pin-cross { position:absolute; background:var(--paper); opacity:.8; }
.pin-cross--h { width:72px; height:1px; top:35px; left:0; }
.pin-cross--v { width:1px; height:72px; left:35px; top:0; }
.pin-stage:focus-visible { outline:1px solid var(--paper); outline-offset:8px; }
.click-ripple {
  position:absolute; z-index:425; left:50%; top:50%;
  width:18px; height:18px;
  transform:translate(-50%,-50%) scale(0);
  border:1px solid rgba(155,23,52,.9);
  border-radius:50%;
  pointer-events:none;
  box-shadow:0 0 18px rgba(155,23,52,.14);
  animation:clickRipple var(--ripple-duration) cubic-bezier(.12,.72,.18,1) forwards;
}
@keyframes clickRipple {
  0% { transform:translate(-50%,-50%) scale(0); opacity:.9; }
  12% { opacity:.82; }
  100% { transform:translate(-50%,-50%) scale(var(--ripple-scale)); opacity:0; }
}
@keyframes pulse { 0%{width:18px;height:18px;opacity:.9} 75%{width:100px;height:100px;opacity:0} 100%{opacity:0} }

.message {
  position:absolute; z-index:430; left: calc(50% + 54px); top: calc(50% + 32px); max-width: 480px; pointer-events:none;
}
.message-kicker { display:block; margin-bottom:10px; color:var(--burgundy-bright); font:700 9px/1 "Space Mono",monospace; letter-spacing:.13em; }
.message h1 { margin:0; font-size:clamp(30px, 4vw, 62px); line-height:.94; letter-spacing:-.055em; text-transform:uppercase; font-weight:800; text-shadow:0 2px 20px rgba(0,0,0,.5); }
.message h1 em { color:var(--burgundy-bright); font-style:normal; }
.message { transition:opacity .18s ease, transform .18s ease; }
.message.is-changing { opacity:0; transform:translateY(6px); }

.hero-bottom { display:flex; align-items:end; justify-content:space-between; gap:20px; padding-top:16px; }
.motto { color:#aaa; font: 10px/1.35 "Space Mono",monospace; text-transform:uppercase; letter-spacing:.02em; }
.motto strong { color:var(--paper); font-weight:700; }
.cta {
  display:flex; align-items:center; justify-content:space-between; gap:32px; min-width:190px; padding:16px 17px; background:var(--burgundy); border:1px solid rgba(255,255,255,.2); font:700 11px/1 "Space Mono",monospace; text-transform:uppercase; letter-spacing:.05em; transition:background .2s ease, transform .2s ease;
}
.cta:hover { background:var(--burgundy-bright); transform:translateY(-2px); }
.cta-arrow { font-size:16px; }
.scroll-hint { position:absolute; left:50%; bottom:27px; transform:translateX(-50%); display:flex; align-items:center; gap:8px; color:rgba(242,240,234,.35); font:8px/1 "Space Mono",monospace; letter-spacing:.12em; }
.scroll-hint span { width:5px;height:5px;border-radius:50%;background:var(--burgundy-bright); animation:scrollDot 1.7s ease-in-out infinite; }
@keyframes scrollDot { 0%,100%{transform:translateY(-3px);opacity:.5} 50%{transform:translateY(3px);opacity:1} }

.manifesto { min-height: 76svh; padding: 100px 24px; display:grid; grid-template-columns:1fr 2fr; gap:40px; border-top:1px solid var(--line); }
.manifesto-index { color:var(--muted); font:9px/1 "Space Mono",monospace; letter-spacing:.08em; }
.manifesto-copy { max-width:820px; }
.eyebrow { margin:0 0 24px; color:var(--burgundy-bright); font:700 10px/1 "Space Mono",monospace; letter-spacing:.12em; }
.manifesto h2 { margin:0; font-size:clamp(48px,8vw,120px); line-height:.86; letter-spacing:-.07em; text-transform:uppercase; }
.manifesto h2 span { color:#777; }
.manifesto-text { max-width:520px; margin:45px 0 25px; color:#999; font-size:16px; line-height:1.5; }
.text-link { display:inline-flex; gap:15px; align-items:center; padding-bottom:7px; border-bottom:1px solid var(--paper); font:700 11px/1 "Space Mono",monospace; text-transform:uppercase; }
.text-link span { color:var(--burgundy-bright); font-size:15px; }
.footer { padding:24px; border-top:1px solid var(--line); display:flex; align-items:center; justify-content:space-between; gap:20px; }
.footer-logo { width:90px; }
.footer-meta { display:flex; gap:20px; color:#666; font:8px/1 "Space Mono",monospace; }

@media (max-width: 700px) {
  .topbar { height:64px; padding:13px 16px; }
  .brand { width:88px; }
  .top-meta { font-size:8px; }
  .hero { padding:64px 10px 12px; }
  .map-wrap { min-height:calc(100svh - 145px); }
  .map-label { font-size:7px; }
  .map-label--north { top:12px; left:12px; max-width:170px; }
  .map-label--south { bottom:12px; right:12px; }
  .message { left:24px; right:24px; top:auto; bottom:44px; max-width:none; }
  .message-kicker { margin-bottom:8px; font-size:8px; }
  .message h1 { font-size:clamp(28px,8.4vw,43px); line-height:.9; }
  .hero-bottom { position:absolute; z-index:450; left:10px; right:10px; bottom:12px; padding:0; align-items:center; }
  .motto { display:none; }
  .cta { min-width:170px; padding:14px 15px; }
  .scroll-hint { display:none; }
  .manifesto { min-height:auto; padding:72px 18px 90px; display:block; }
  .manifesto-index { margin-bottom:70px; }
  .manifesto h2 { font-size:clamp(50px,15vw,86px); }
  .manifesto-text { margin-top:32px; font-size:14px; }
  .footer { padding:18px; align-items:flex-end; }
  .footer-logo { width:70px; }
  .footer-meta { gap:8px; flex-direction:column; align-items:flex-end; font-size:7px; }
}

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