@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('../fonts/barlow-condensed-800.ttf') format('truetype');
}

@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/dm-sans-400.ttf') format('truetype');
}

:root {
  color-scheme: dark;
  --background: #090b09;
  --foreground: #eaeae2;
  --gold: #f0b90b;
  --muted: #8a9081;
  --line: #d4d7a61c;
  --mono: 'Courier New', monospace;
  --gutter: clamp(24px, 5.1vw, 92px);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: 'DM Sans', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--gold); color: var(--background); }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid var(--gold); outline-offset: 7px; }
p, h1 { margin: 0; }

.site-shell {
  max-width: 2000px;
  margin-inline: auto;
}

.site-header {
  height: 84px;
  margin-inline: var(--gutter);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font: 800 26px 'Barlow Condensed', Impact, sans-serif;
  letter-spacing: .25px;
  white-space: nowrap;
}

.brand img { display: block; }

.header-coordinate,
.header-status,
.edition-row,
.token-pair,
.coming-soon,
.street-marker,
.teaser-bottom,
.site-footer {
  font-family: var(--mono);
}

.header-coordinate { color: #858a79; font-size: 12px; letter-spacing: 1.5px; }
.coordinate-divider { margin-inline: 15px; color: #454a3e; }
.header-status { display: flex; align-items: center; gap: 10px; font-size: 11px; letter-spacing: 1.1px; color: #a6ab99; }
.header-actions { display: flex; align-items: center; gap: 26px; }
.social-link { display: inline-flex; align-items: center; justify-content: center; gap: 16px; min-height: 44px; padding: 10px 14px; border: 1px solid #f0b90b55; color: var(--gold); font: 12px var(--mono); letter-spacing: .7px; white-space: nowrap; transition: background .2s, border-color .2s; }
.social-link:hover { background: #f0b90b12; border-color: var(--gold); }
.social-link > span { font-size: 17px; }
.signal-dot { display: block; flex-shrink: 0; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 12px #f0b90b45; }

.teaser {
  position: relative;
  isolation: isolate;
  min-height: max(770px, calc(100svh - 150px));
  padding: 30px var(--gutter) 104px;
  overflow: hidden;
}

.city-art {
  position: absolute;
  z-index: -3;
  inset: 0;
  overflow: hidden;
}

.city-image {
  position: absolute;
  right: -8%;
  top: 0;
  height: 100%;
  width: auto;
  max-width: none;
  object-fit: contain;
  filter: saturate(.73) brightness(.77);
  opacity: .95;
  animation: city-arrive 1.8s ease-out both;
}

.city-art::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, var(--background) 0%, #090b0980 10%, transparent 30%, transparent 80%, #090b0955 100%),
    linear-gradient(90deg, var(--background) 0%, #090b09f5 23%, #090b09c9 34%, #090b0966 49%, transparent 73%);
}

.scene-grid {
  position: absolute;
  z-index: -2;
  inset: 0 var(--gutter);
  background-image: linear-gradient(90deg, #b8c38a09 1px, transparent 1px), linear-gradient(#b8c38a08 1px, transparent 1px);
  background-size: 12.5% 100%, 100% 144px;
  mask-image: linear-gradient(#000, #0009 80%, transparent);
  pointer-events: none;
}

.edition-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; position: relative; }
.eyebrow { display: flex; align-items: center; gap: 11px; font-size: 12px; letter-spacing: 1.8px; color: #b3b8a4; }
.tiny-cross { font-size: 16px; line-height: 1; color: var(--gold); }
.edition { color: #979b87; font-size: 12px; letter-spacing: 1px; }

.hero-copy { position: relative; width: fit-content; padding-top: clamp(46px, 5.2vh, 68px); animation: copy-arrive .9s ease-out both; }
.token-pair { font-size: 14px; letter-spacing: 2px; color: var(--gold); margin-bottom: 21px; }
.token-pair > span { color: #818775; margin-inline: 10px; }

.title-lockup { position: relative; width: fit-content; }
.always-on { position: absolute; top: 16px; right: 12px; padding: 6px 0 7px 19px; border-left: 1px solid #f0b90b66; color: var(--gold); font-family: var(--mono); }
.always-on-hours { display: block; font-size: 40px; line-height: 1.15; letter-spacing: -2px; }
.always-on-hours > span { color: #a38b47; margin-inline: 3px; }
.always-on-caption { display: block; margin-top: 8px; font-size: 10px; letter-spacing: 1.2px; color: #c9bb8a; }

h1 {
  font-family: 'Barlow Condensed', Impact, 'Arial Narrow', sans-serif;
  font-size: clamp(142px, 13vw, 220px);
  font-weight: 800;
  line-height: .83;
  letter-spacing: -3px;
}

h1 > span { color: var(--gold); }
h1 .title-period { color: var(--foreground); }
.tagline { margin-top: 27px; font-size: clamp(24px, 2vw, 30px); line-height: 1.4; letter-spacing: -.3px; }

.riddle { display: flex; align-items: flex-start; gap: 17px; margin-top: 35px; }
.riddle-index { padding-top: 4px; color: #b49b57; font: 12px var(--mono); letter-spacing: 1px; }
.riddle p { color: #a3a894; font-size: 17px; line-height: 1.8; }
.coming-soon { display: flex; align-items: center; gap: 14px; width: fit-content; margin-top: 29px; font-size: 14px; letter-spacing: 3px; color: var(--gold); }
.coming-soon .signal-dot { width: 6px; height: 6px; animation: signal-breathe 3s ease-in-out infinite; }
.signal-line { width: 54px; height: 1px; margin-left: 2px; background: linear-gradient(90deg, #b28b20, transparent); }

.street-marker {
  position: absolute;
  right: 9.5%;
  bottom: 15%;
  display: flex;
  flex-direction: column;
  width: 224px;
  padding: 21px 22px 19px;
  border: 1px solid #c9be7742;
  background: #0c100bc9;
  backdrop-filter: blur(12px);
  transform: rotate(-4deg);
  box-shadow: 0 16px 50px #0005;
}

.marker-cross { position: absolute; top: -7px; right: -5px; color: #c0ae69; font-size: 15px; line-height: 1; }
.marker-label { font-size: 10px; letter-spacing: 1.3px; color: #b1b69e; }
.marker-number { font-size: 70px; letter-spacing: -7px; line-height: 1.3; color: #e9c55a; }
.marker-number > span { font-size: 26px; vertical-align: top; line-height: 2; margin-left: 9px; }
.marker-rule { height: 1px; background: #b8b28c40; margin-bottom: 12px; }
.marker-caption { font-size: 10px; letter-spacing: 1px; color: #b5b8a4; }

.teaser-bottom {
  position: absolute;
  bottom: 0;
  left: var(--gutter);
  right: var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 66px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  letter-spacing: 1px;
  color: #939b83;
}

.bottom-location { display: flex; align-items: center; gap: 10px; }
.location-symbol { width: 11px; height: 11px; border: 1px solid #c3aa5f; border-radius: 50%; background: radial-gradient(circle, #c3aa5f 1px, transparent 2px); }
.bottom-message { font-size: 11px; color: #8b917d; letter-spacing: 1.7px; }
.sequence { display: inline-flex; align-items: center; gap: 12px; color: #737a66; font-size: 11px; }
.sequence i { width: 16px; height: 1px; background: #71795840; }
.sequence strong { color: var(--gold); font-weight: 400; }

.site-footer {
  min-height: 66px;
  padding: 18px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  font-size: 11px;
  letter-spacing: 1px;
  color: #818773;
}

.footer-note { color: #737b66; font-size: 10px; letter-spacing: 1.2px; }
.footer-signoff { display: inline-flex; align-items: center; min-height: 44px; color: #a9ae9a; }
.footer-signoff:hover { color: var(--gold); }
.footer-signoff > span { margin-left: 17px; font-size: 15px; color: var(--gold); }

@keyframes city-arrive {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: .95; transform: translateY(0); }
}

@keyframes copy-arrive {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes signal-breathe {
  0%, 100% { opacity: .5; box-shadow: 0 0 4px #f0b90b20; }
  50% { opacity: 1; box-shadow: 0 0 14px #f0b90b80; }
}

@media (min-width: 1700px) {
  .teaser { min-height: max(920px, calc(100svh - 150px)); }
  .hero-copy { padding-top: 65px; }
  .riddle { margin-top: 40px; }
}

@media (max-width: 1100px) {
  .header-coordinate { display: none; }
  .city-image { right: -26%; }
  .edition { font-size: 11px; letter-spacing: .6px; }
  .street-marker { right: 7%; bottom: 18%; }
  .bottom-message { display: none; }
}

@media (max-width: 700px) {
  .site-header { height: 70px; gap: 10px; }
  .brand { font-size: 22px; gap: 9px; }
  .brand img { width: 26px; height: 26px; }
  .header-status { display: none; }
  .header-actions { gap: 0; }
  .social-link { padding: 8px 10px; font-size: 10px; gap: 8px; letter-spacing: .3px; }
  .social-link > span { font-size: 14px; }
  .teaser { min-height: 930px; padding-top: 25px; padding-bottom: 370px; }
  .edition-row { flex-direction: column; align-items: flex-start; gap: 13px; }
  .eyebrow { font-size: 10px; letter-spacing: 1.1px; gap: 9px; }
  .edition { font-size: 10px; letter-spacing: .5px; padding-left: 19px; }
  .hero-copy { padding-top: 37px; }
  .token-pair { font-size: 13px; margin-bottom: 20px; letter-spacing: 1.6px; }
  h1 { font-size: clamp(94px, 28.5vw, 165px); letter-spacing: -2px; }
  .always-on { top: 4px; right: 4px; padding: 4px 0 5px 12px; }
  .always-on-hours { font-size: 28px; letter-spacing: -1.5px; }
  .always-on-caption { margin-top: 5px; font-size: 9px; letter-spacing: .5px; }
  .tagline { font-size: 24px; margin-top: 24px; }
  .riddle { margin-top: 28px; gap: 14px; }
  .riddle p { font-size: 15px; line-height: 1.8; }
  .coming-soon { margin-top: 25px; font-size: 13px; letter-spacing: 2.6px; }
  .city-image { top: auto; bottom: 38px; right: -19%; width: 140%; height: auto; filter: saturate(.7) brightness(.8); }
  .city-art::after {
    background:
      linear-gradient(0deg, var(--background) 0%, #090b0966 12%, transparent 28%, #090b09aa 44%, var(--background) 60%),
      linear-gradient(90deg, #090b0999, transparent 70%);
  }
  .scene-grid { background-size: 25% 100%, 100% 120px; }
  .street-marker { width: 170px; padding: 15px 16px 14px; right: 11%; bottom: 108px; }
  .marker-label { font-size: 9px; letter-spacing: .7px; }
  .marker-number { font-size: 50px; letter-spacing: -5px; }
  .marker-number > span { font-size: 20px; margin-left: 7px; }
  .marker-rule { margin-bottom: 9px; }
  .marker-caption { font-size: 9px; letter-spacing: .6px; }
  .teaser-bottom { min-height: 59px; gap: 10px; font-size: 10px; letter-spacing: .4px; }
  .sequence { gap: 6px; font-size: 10px; }
  .sequence i { width: 8px; }
  .site-footer { flex-wrap: wrap; min-height: 83px; padding-top: 12px; padding-bottom: 17px; gap: 6px 12px; font-size: 10px; }
  .footer-note { order: 3; width: 100%; font-size: 10px; letter-spacing: .5px; line-height: 1.6; }
  .footer-signoff > span { margin-left: 8px; font-size: 12px; }
}

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