:root {
  --ink: #111111;
  --muted: #6f665b;
  --paper: #fff7ea;
  --panel: #ffffff;
  --line: rgba(17, 17, 17, .12);
  --orange: #f7931a;
  --orange-deep: #dd6500;
  --yellow: #ffd166;
  --cyan: #0ea5b7;
  --green: #2e7d32;
  --dark: #15110b;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(17, 17, 17, .035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(17, 17, 17, .035) 1px, transparent 1px),
    linear-gradient(135deg, #fff8ed 0%, #fff1d8 48%, #fffaf2 100%);
  background-size: 42px 42px, 42px 42px, auto;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  letter-spacing: 0;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 68px;
  padding: 0 30px;
  background: rgba(255, 247, 234, .86);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand,
nav {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 950;
  font-size: 18px;
}

.coin-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--orange);
  color: white;
  box-shadow: 0 0 0 6px rgba(247, 147, 26, .16), 0 16px 30px rgba(221, 101, 0, .22);
}

nav {
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

nav a:hover {
  color: var(--orange-deep);
}

.hero {
  width: min(1160px, calc(100% - 40px));
  min-height: calc(100vh - 68px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr .86fr;
  gap: 52px;
  align-items: center;
  padding: 54px 0 84px;
}

.hero-copy,
.map-copy,
.youtube-copy,
.contact > div,
.links-band > div {
  min-width: 0;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--orange-deep);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  letter-spacing: 0;
  line-height: .96;
}

h1 {
  max-width: 720px;
  margin-bottom: 22px;
  font-size: clamp(62px, 10vw, 128px);
  color: var(--dark);
  text-shadow: 8px 8px 0 rgba(247, 147, 26, .22);
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(34px, 5vw, 64px);
}

h3 {
  margin-bottom: 10px;
  font-size: 23px;
}

.lead,
.intro p,
.map-copy p,
.tile p,
.youtube-copy p,
.contact p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.lead {
  max-width: 680px;
  overflow-wrap: break-word;
}

.hero-actions,
.ticker {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-actions {
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 8px;
  font-weight: 950;
}

.button.primary {
  background: var(--dark);
  color: white;
  box-shadow: 0 16px 36px rgba(17, 17, 17, .18);
}

.button.secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .72);
}

.ticker {
  margin-top: 24px;
}

.ticker span {
  padding: 8px 11px;
  border: 1px solid rgba(247, 147, 26, .42);
  border-radius: 999px;
  background: rgba(255, 255, 255, .62);
  color: #5d3603;
  font-size: 13px;
  font-weight: 900;
}

.hero-youtube-preview {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  max-width: 100%;
  margin-top: 18px;
  padding: 12px 14px;
  border: 1px solid rgba(247, 147, 26, .42);
  border-radius: 8px;
  background: rgba(255, 255, 255, .72);
  box-shadow: 0 14px 34px rgba(221, 101, 0, .1);
  font-weight: 900;
}

.hero-youtube-preview strong {
  display: block;
  margin-bottom: 2px;
}

.mini-play {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--orange);
  color: white;
}

.hero-visual {
  position: relative;
  min-height: 540px;
}

.circuit-field {
  position: absolute;
  inset: 34px 18px 46px;
  overflow: hidden;
  border: 1px solid rgba(247, 147, 26, .24);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(247, 147, 26, .18) 1px, transparent 1px),
    linear-gradient(180deg, rgba(247, 147, 26, .18) 1px, transparent 1px),
    rgba(255, 255, 255, .42);
  background-size: 28px 28px;
  transform: rotate(-2deg);
}

.circuit-field span {
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 22px rgba(14, 165, 183, .82);
  animation: blink 2.4s ease-in-out infinite;
}

.circuit-field span:nth-child(1) { top: 18%; left: 18%; }
.circuit-field span:nth-child(2) { top: 34%; right: 20%; animation-delay: .4s; }
.circuit-field span:nth-child(3) { bottom: 24%; left: 28%; animation-delay: .8s; }
.circuit-field span:nth-child(4) { bottom: 18%; right: 16%; animation-delay: 1.2s; }

.photo-main {
  position: absolute;
  display: block;
  object-fit: cover;
  border: 8px solid #fffaf2;
  box-shadow: 0 26px 70px rgba(17, 17, 17, .24);
}

.photo-main {
  top: 58px;
  left: 72px;
  z-index: 2;
  width: 64%;
  aspect-ratio: 1 / 1.1;
  border-radius: 18px;
}

.btc-orbit {
  position: absolute;
  right: 58px;
  top: 44px;
  z-index: 4;
  width: 112px;
  height: 112px;
  border-radius: 50%;
  border: 2px dashed rgba(17, 17, 17, .2);
  animation: spin 9s linear infinite;
}

.btc-orbit span {
  position: absolute;
  top: -18px;
  left: 34px;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--orange);
  color: white;
  font-size: 30px;
  font-weight: 950;
  box-shadow: 0 16px 30px rgba(221, 101, 0, .28);
}

.section,
.map-section,
.youtube-section,
.links-band,
.contact {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: 74px 0;
}

.intro {
  max-width: 960px;
}

.map-section,
.youtube-section {
  display: grid;
  grid-template-columns: .86fr 1.14fr;
  gap: 42px;
  align-items: center;
}

.map-board {
  position: relative;
  min-height: 430px;
}

.map-card {
  position: absolute;
  z-index: 2;
  width: min(290px, 48%);
  padding: 18px;
  border: 1px solid rgba(17, 17, 17, .1);
  border-radius: 8px;
  background: rgba(255, 255, 255, .78);
  box-shadow: 0 20px 52px rgba(17, 17, 17, .12);
}

.map-card strong,
.map-card span {
  display: block;
}

.map-card strong {
  margin-bottom: 10px;
  font-size: 22px;
}

.map-card span {
  color: var(--orange-deep);
  font-weight: 950;
}

.map-card svg {
  display: block;
  width: 100%;
  height: 210px;
}

.map-card path:first-child {
  fill: rgba(247, 147, 26, .2);
  stroke: var(--dark);
  stroke-width: 5;
  stroke-linejoin: round;
}

.map-card circle {
  fill: var(--cyan);
}

.map-line {
  fill: none;
  stroke: var(--orange);
  stroke-width: 5;
  stroke-linecap: round;
  stroke-dasharray: 10 12;
  animation: dash 1.15s linear infinite;
}

.switzerland {
  top: 0;
  left: 0;
}

.peru {
  right: 0;
  bottom: 0;
}

.signal-line {
  position: absolute;
  inset: 120px 12%;
  width: 76%;
  height: 150px;
}

.signal-line path {
  fill: none;
  stroke: var(--orange);
  stroke-width: 6;
  stroke-dasharray: 14 14;
  stroke-linecap: round;
  animation: dash 1.2s linear infinite;
}

.signal-line circle {
  fill: var(--dark);
}

.section-head {
  display: grid;
  grid-template-columns: .7fr 1fr;
  gap: 34px;
  align-items: start;
  margin-bottom: 28px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.tile {
  min-height: 284px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .74);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.tile:hover {
  transform: translateY(-5px);
  border-color: rgba(247, 147, 26, .58);
  box-shadow: 0 18px 40px rgba(221, 101, 0, .14);
}

.tile-icon {
  display: inline-grid;
  place-items: center;
  min-width: 48px;
  height: 48px;
  margin-bottom: 28px;
  padding: 0 10px;
  border-radius: 8px;
  background: var(--orange);
  color: white;
  font-weight: 950;
}

.youtube-section {
  grid-template-columns: .78fr 1.22fr;
  padding-top: 42px;
}

.youtube-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 8px solid var(--dark);
  border-radius: 8px;
  background: var(--dark);
  box-shadow: 0 28px 70px rgba(17, 17, 17, .18);
}

.youtube-preview-card {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 16px;
  padding: clamp(24px, 5vw, 54px);
  color: white;
  background:
    linear-gradient(135deg, rgba(247, 147, 26, .92), rgba(21, 17, 11, .94)),
    linear-gradient(90deg, rgba(255, 255, 255, .16) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, .14) 1px, transparent 1px);
  background-size: auto, 34px 34px, 34px 34px;
}

.youtube-preview-card strong {
  font-size: clamp(32px, 5vw, 62px);
  line-height: .95;
}

.youtube-preview-card p {
  max-width: 560px;
  margin: 0;
  color: rgba(255, 255, 255, .82);
  font-size: 18px;
  line-height: 1.55;
}

.youtube-preview-card a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 8px;
  background: white;
  color: var(--dark);
  font-weight: 950;
}

.play-badge {
  display: grid;
  place-items: center;
  width: 66px;
  height: 66px;
  border-radius: 50%;
  background: white;
  color: var(--orange);
  font-size: 28px;
  box-shadow: 0 18px 42px rgba(17, 17, 17, .24);
}

.youtube-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14);
}

.youtube-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.links-band {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 40px;
  align-items: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.link-list {
  display: grid;
  gap: 12px;
}

.link-list a,
.contact-box a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 68px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .76);
  font-weight: 950;
}

.link-list span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--orange);
  color: white;
}

.contact {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 42px;
}

.contact-box {
  display: grid;
  gap: 12px;
}

.contact-box a {
  display: grid;
  justify-content: stretch;
}

.contact-box span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
}

.contact-box strong {
  margin-top: 5px;
  font-size: 18px;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 30px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity .55s ease, transform .55s ease;
}

@keyframes blink {
  0%, 100% {
    transform: scale(.8);
    opacity: .35;
  }
  50% {
    transform: scale(1.45);
    opacity: 1;
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes dash {
  to {
    stroke-dashoffset: -28;
  }
}

@media (max-width: 930px) {
  .topbar {
    position: static;
    align-items: flex-start;
    flex-direction: column;
    padding: 17px 20px;
  }

  nav {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 10px;
  }

  .hero,
  .map-section,
  .youtube-section,
  .section-head,
  .links-band,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero {
    width: min(100% - 28px, 1160px);
    min-height: auto;
    padding: 52px 0 42px;
  }

  .lead {
    max-width: calc(100vw - 28px);
  }

  .hero-visual {
    min-height: 470px;
  }

  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 610px) {
  h1 {
    max-width: 100%;
    font-size: clamp(44px, 14vw, 58px);
    text-shadow: 5px 5px 0 rgba(247, 147, 26, .22);
    overflow-wrap: anywhere;
  }

  .hero,
  .section,
  .map-section,
  .youtube-section,
  .links-band,
  .contact {
    width: min(100% - 44px, 1160px);
  }

  .hero-copy {
    width: 100%;
    max-width: calc(100vw - 44px);
  }

  .lead,
  .intro p,
  .map-copy p,
  .tile p,
  .youtube-copy p,
  .contact p {
    max-width: min(100%, 318px);
    font-size: 15px;
    overflow-wrap: break-word;
  }

  .hero-visual {
    min-height: 380px;
  }

  .photo-main {
    top: 46px;
    left: 50%;
    width: 76%;
    transform: translateX(-50%);
  }

  .btc-orbit {
    right: 14px;
    top: 24px;
    width: 86px;
    height: 86px;
  }

  .btc-orbit span {
    width: 48px;
    height: 48px;
    font-size: 25px;
  }

  .grid {
    grid-template-columns: 1fr;
  }

  .map-board {
    min-height: 560px;
  }

  .map-card {
    width: 76%;
  }

  .peru {
    bottom: 0;
  }

  .signal-line {
    inset: 230px 2%;
    width: 96%;
  }

  footer {
    display: block;
  }

  footer span {
    display: block;
    margin: 6px 0;
  }
}
