/* Self-hosted Archivo + JetBrains Mono (SIL OFL). Latin subset covers EN / ES / PT. */
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 400 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url(fonts/archivo-latin-400900.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/jetbrains-mono-latin-400.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #120e0c;
  --paper: #f6f1ea;
  --line: rgba(246, 241, 234, 0.18);
  --magenta: #e0307a;
  --cobalt: #3b6cf0;
  --tangerine: #f5842a;
  --gold: #f2c230;
  --muted: #b9ada1;
  --display: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --body: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --gl: max(16px, env(safe-area-inset-left, 0px));
  --gr: max(16px, env(safe-area-inset-right, 0px));
  --gt: max(16px, env(safe-area-inset-top, 0px));
  --gb: max(16px, env(safe-area-inset-bottom, 0px));
}

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

html,
body {
  margin: 0;
  height: 100%;
  background: var(--ink);
  color: var(--paper);
}

body {
  font: 400 16px/1.5 var(--body);
  overflow: hidden;
}

.stage {
  position: relative;
  min-height: 100dvh;
  height: 100dvh;
  overflow: hidden;
}

.city,
.city picture,
.city img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.city img {
  object-fit: cover;
  object-position: 50% 42%;
}

.stage::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: auto 0 0;
  height: min(42%, 280px);
  background: linear-gradient(to top, rgba(18, 14, 12, 0.88) 0%, rgba(18, 14, 12, 0.55) 45%, rgba(18, 14, 12, 0) 100%);
  pointer-events: none;
}

.brand {
  position: absolute;
  z-index: 2;
  top: calc(20px + env(safe-area-inset-top, 0px));
  left: var(--gl);
  right: var(--gr);
  max-width: 28rem;
  pointer-events: none;
}

/* Same wordmark as miami/ .zone-name + h1 on the city map. */
.zone-name {
  margin: 0;
  font: 900 clamp(48px, 9vw, 132px)/.85 var(--display);
  font-variation-settings: "wdth" 125;
  letter-spacing: -.02em;
  text-transform: uppercase;
  text-shadow: 0 4px 30px rgba(0, 0, 0, .45);
  white-space: nowrap;
}

.product {
  margin: 16px 0 0;
  font: 600 11px/1.3 var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--paper);
  text-shadow: 0 1px 10px rgba(18, 14, 12, 0.7);
}

.soon {
  margin: 10px 0 0;
  font: 900 clamp(28px, 8vw, 56px)/0.95 var(--display);
  font-variation-settings: "wdth" 118;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 18px rgba(18, 14, 12, 0.55);
}

/* Without JS, html lang="en" keeps only English visible. */
.soon span,
.legal p[lang] {
  display: none;
}

html[lang="en"] .soon span[lang="en"],
html[lang="es"] .soon span[lang="es"],
html[lang="pt"] .soon span[lang="pt"] {
  display: block;
}

html[lang="en"] .legal p[lang="en"],
html[lang="es"] .legal p[lang="es"],
html[lang="pt"] .legal p[lang="pt"] {
  display: block;
}

.soon span::after {
  content: "";
  display: block;
  width: 2.4rem;
  height: 3px;
  margin: 0.28em 0 0.12em;
  background: linear-gradient(90deg, var(--gold), var(--tangerine), var(--magenta));
}

.legal {
  position: absolute;
  z-index: 2;
  left: var(--gl);
  right: max(var(--gr), 132px);
  bottom: calc(62px + env(safe-area-inset-bottom, 0px));
  margin: 0;
}

.legal p {
  margin: 0;
  font: 400 10px/1.4 var(--mono);
  color: var(--muted);
  max-width: 72ch;
}

.legal .copy {
  margin-bottom: 0.55em;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--paper);
}

.legal a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Language switch: exact markup and styles from miami/styles.css */
.lang { position: absolute; right: 18px; bottom: 18px; z-index: 7; display: flex; padding: 3px; border-radius: 999px; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.3); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.lang button { font: 700 11px/1 'JetBrains Mono', monospace; letter-spacing: .06em; color: #fff; background: none; border: 0; padding: 8px 10px; border-radius: 999px; cursor: pointer; }
.lang button[aria-pressed="true"] { background: #fff; color: #120e0c; }
@media (max-width: 760px) { .lang { bottom: calc(14px + env(safe-area-inset-bottom, 0px)); right: 14px; } }

@media (min-width: 800px) {
  .product {
    font-size: 12px;
  }

  .soon {
    margin-top: 14px;
  }

  .legal p {
    font-size: 11px;
    line-height: 1.45;
  }
}

@media (max-width: 799px) {
  .legal p {
    font-size: 9px;
    line-height: 1.35;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}
