@font-face {
  font-family: "Geist";
  src: url("/assets/fonts/Geist-Variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Geist Mono";
  src: url("/assets/fonts/GeistMono-Variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

/*
 * Hero island: every rule below is namespaced to .btg-hero (and its btg-*
 * descendants) so the site shell and the rest of the homepage keep their own
 * styles when this stylesheet is loaded alongside /assets/css/main.css.
 */

.btg-hero {
  color-scheme: dark;
  --ink: #05070a;
  --ink-raised: #090d12;
  --cream: #f4f0e4;
  --cream-dim: rgba(244, 240, 228, 0.63);
  --cream-faint: rgba(244, 240, 228, 0.38);
  --gold: #e4bd75;
  --gold-bright: #f9e1ad;
  --gold-deep: #ad7a35;
  --gold-rgb: 228, 189, 117;
  --line: rgba(244, 240, 228, 0.13);
  --line-gold: rgba(228, 189, 117, 0.28);
  --sans: "Geist", "Helvetica Neue", Arial, sans-serif;
  --mono: "Geist Mono", "SFMono-Regular", Consolas, monospace;
  --display: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
  --page-width: 1640px;
  --gutter: clamp(24px, 4.4vw, 72px);
  --header-h: 0px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.22, 1, 0.36, 1);
}

.btg-hero *,
.btg-hero *::before,
.btg-hero *::after {
  box-sizing: border-box;
}

.btg-hero {
  margin: 0;
  overflow-x: hidden;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  text-rendering: optimizeLegibility;
}

.btg-hero ::selection {
  background: var(--gold);
  color: #0a0803;
}

.btg-hero img,
.btg-hero svg,
.btg-hero canvas {
  display: block;
}

.btg-hero a {
  color: inherit;
  text-decoration: none;
}

.btg-hero button,
.btg-hero input {
  font: inherit;
}

.btg-hero button {
  color: inherit;
}

.btg-hero h1,
.btg-hero h2,
.btg-hero h3,
.btg-hero p,
.btg-hero ul,
.btg-hero dl,
.btg-hero dd,
.btg-hero dt {
  margin: 0;
}

.btg-hero ul {
  padding: 0;
  list-style: none;
}

.btg-hero :focus-visible {
  outline: 1px solid var(--gold-bright);
  outline-offset: 5px;
}

.btg-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.btg-skip-link {
  position: fixed;
  top: 14px;
  left: 14px;
  z-index: 200;
  padding: 11px 18px;
  border: 1px solid var(--gold);
  border-radius: 999px;
  background: var(--ink);
  color: var(--gold-bright);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  transform: translateY(-150%);
  transition: transform 180ms ease;
}

.btg-skip-link:focus {
  transform: translateY(0);
}

.micro-label {
  font-family: var(--mono);
  font-size: 8.5px;
  font-weight: 450;
  line-height: 1.45;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.btg-site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 80;
  height: var(--header-h);
  border-bottom: 1px solid transparent;
  transition:
    background-color 450ms var(--ease-soft),
    border-color 450ms var(--ease-soft),
    backdrop-filter 450ms var(--ease-soft);
}

.btg-site-header::after {
  position: absolute;
  right: var(--gutter);
  bottom: -1px;
  left: var(--gutter);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(var(--gold-rgb), 0.22) 20%, rgba(var(--gold-rgb), 0.22) 80%, transparent);
  content: "";
  opacity: 0.62;
}

.btg-site-header.is-scrolled {
  border-bottom-color: rgba(244, 240, 228, 0.08);
  background: rgba(5, 7, 10, 0.76);
  -webkit-backdrop-filter: blur(22px) saturate(1.2);
  backdrop-filter: blur(22px) saturate(1.2);
}

.btg-site-header__inner {
  display: grid;
  width: min(100%, var(--page-width));
  height: 100%;
  margin: 0 auto;
  padding: 0 var(--gutter);
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(28px, 3.4vw, 58px);
}

.btg-brand {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  justify-self: start;
}

.btg-brand__halo {
  position: absolute;
  top: 50%;
  left: 16px;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(var(--gold-rgb), 0.18);
  filter: blur(18px);
  opacity: 0.75;
  transform: translate(-50%, -50%);
  transition: opacity 300ms ease;
}

.btg-brand:hover .btg-brand__halo {
  opacity: 1;
}

.btg-brand__mark {
  position: relative;
  z-index: 1;
  width: 37px;
  height: 37px;
  object-fit: contain;
  filter:
    drop-shadow(0 5px 14px rgba(0, 0, 0, 0.52))
    drop-shadow(0 0 8px rgba(var(--gold-rgb), 0.16));
}

.btg-brand__type {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 1px;
}

.btg-brand__name {
  font-family: var(--display);
  font-size: 20px;
  font-weight: 600;
  line-height: 0.9;
  letter-spacing: 0.12em;
}

.btg-brand__sub {
  color: var(--gold);
  font-family: var(--mono);
  font-size: 6.5px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.41em;
}

.btg-primary-nav {
  display: flex;
  align-items: center;
  justify-self: center;
  gap: clamp(19px, 2.1vw, 34px);
}

.btg-nav-link {
  position: relative;
  padding: 10px 0;
  color: rgba(244, 240, 228, 0.54);
  font-size: 12.5px;
  font-weight: 450;
  letter-spacing: 0.025em;
  transition: color 220ms ease;
}

.btg-nav-link::after {
  position: absolute;
  right: 0;
  bottom: 3px;
  left: 0;
  height: 1px;
  background: var(--gold);
  content: "";
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 350ms var(--ease-out);
}

.btg-nav-link:hover {
  color: var(--cream);
}

.btg-nav-link:hover::after {
  transform: scaleX(1);
  transform-origin: left center;
}

.btg-nav-link--active {
  color: var(--cream);
}

.btg-nav-link--active::before {
  position: absolute;
  top: 4px;
  left: 50%;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 8px rgba(var(--gold-rgb), 0.75);
  content: "";
  transform: translateX(-50%);
}

.btg-nav-link--active::after {
  transform: scaleX(1);
  transform-origin: left center;
  opacity: 0.3;
}

.btg-header-tools {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 22px;
}

.btg-network-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(244, 240, 228, 0.48);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
}

.btg-network-status__dot {
  position: relative;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #b8d878;
  box-shadow: 0 0 10px rgba(184, 216, 120, 0.65);
}

.btg-network-status__dot::after {
  position: absolute;
  inset: -5px;
  border: 1px solid rgba(184, 216, 120, 0.35);
  border-radius: 50%;
  content: "";
  animation: status-pulse 2.8s ease-out infinite;
}

.btg-button {
  position: relative;
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 0 23px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 560;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  touch-action: manipulation;
  transition:
    color 300ms ease,
    border-color 300ms ease,
    background-color 300ms ease,
    box-shadow 400ms var(--ease-out),
    transform 400ms var(--ease-out);
}

.btg-button > svg {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.3;
}

.btg-button__arrow {
  display: grid;
  width: 25px;
  height: 25px;
  margin-right: -7px;
  border: 1px solid currentColor;
  border-radius: 50%;
  opacity: 0.55;
  place-items: center;
  transition:
    transform 400ms var(--ease-out),
    opacity 300ms ease;
}

.btg-button__arrow svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.2;
}

.btg-button:hover .btg-button__arrow {
  opacity: 1;
  transform: translateX(2px) rotate(-8deg);
}

.btg-button--header {
  min-height: 41px;
  padding: 0 8px 0 18px;
  border-color: rgba(var(--gold-rgb), 0.34);
  background: rgba(8, 11, 14, 0.34);
  color: var(--cream);
  font-size: 11px;
  letter-spacing: 0.02em;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.btg-button--header svg {
  width: 13px;
  height: 13px;
  margin-left: 2px;
  fill: none;
  stroke: var(--gold);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.3;
}

.btg-button--header:hover {
  border-color: var(--gold);
  background: var(--gold);
  color: #150f05;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.32);
  transform: translateY(-1px);
}

.btg-button--header:hover svg {
  stroke: currentColor;
}

.btg-button--gold {
  border-color: rgba(255, 239, 199, 0.56);
  background:
    linear-gradient(180deg, rgba(255, 246, 220, 0.36), transparent 38%),
    linear-gradient(120deg, #f5dda5 0%, #e3bd73 45%, #c7964e 100%);
  color: #171006;
  box-shadow:
    0 18px 44px rgba(0, 0, 0, 0.3),
    0 0 34px rgba(var(--gold-rgb), 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.btg-button--gold::after {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, 0.35) 46%, transparent 60%);
  content: "";
  opacity: 0;
  pointer-events: none;
  transform: translateX(-30%);
  transition:
    opacity 200ms ease,
    transform 700ms var(--ease-out);
}

.btg-button--gold:hover {
  box-shadow:
    0 22px 48px rgba(0, 0, 0, 0.38),
    0 0 46px rgba(var(--gold-rgb), 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.65);
  transform: translateY(-2px);
}

.btg-button--gold:hover::after {
  opacity: 1;
  transform: translateX(30%);
}

.btg-button--gold:active {
  transform: translateY(0);
}

.btg-button--ghost {
  border-color: rgba(244, 240, 228, 0.23);
  background: rgba(5, 8, 12, 0.28);
  color: rgba(244, 240, 228, 0.82);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.btg-button--ghost:hover {
  border-color: rgba(var(--gold-rgb), 0.68);
  color: var(--gold-bright);
  transform: translateY(-2px);
}

.btg-button--large {
  min-height: 55px;
  padding: 0 25px;
  font-size: 12.5px;
}

.btg-menu-button {
  display: none;
  width: 43px;
  height: 43px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  padding: 0;
  border: 1px solid rgba(244, 240, 228, 0.24);
  border-radius: 50%;
  background: rgba(7, 10, 14, 0.4);
  cursor: pointer;
}

.btg-menu-button span {
  display: block;
  width: 15px;
  height: 1px;
  background: var(--cream);
  transition: transform 300ms var(--ease-out);
}

.btg-menu-button:hover span:first-child {
  transform: translateY(-2px);
}

.btg-menu-button:hover span:last-child {
  transform: translateY(2px);
}

/* --------------------------------------------------------------------------
   Mobile menu
   -------------------------------------------------------------------------- */

.btg-mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  overflow-y: auto;
  padding: 24px var(--gutter) 32px;
  background:
    radial-gradient(circle at 80% 20%, rgba(var(--gold-rgb), 0.09), transparent 35%),
    #06080b;
  opacity: 0;
  visibility: hidden;
  flex-direction: column;
  transition:
    opacity 350ms var(--ease-soft),
    visibility 350ms;
}

.btg-mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
}

.btg-mobile-menu__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
  color: var(--gold);
}

.btg-mobile-menu__close {
  position: relative;
  width: 43px;
  height: 43px;
  border: 1px solid var(--line-gold);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.btg-mobile-menu__close span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 1px;
  background: var(--cream);
}

.btg-mobile-menu__close span:first-child {
  transform: translate(-50%, -50%) rotate(45deg);
}

.btg-mobile-menu__close span:last-child {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.btg-mobile-menu__nav {
  display: flex;
  margin: auto 0;
  flex-direction: column;
}

.btg-mobile-menu__nav a {
  display: flex;
  align-items: baseline;
  gap: 20px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(244, 240, 228, 0.08);
  font-family: var(--display);
  font-size: clamp(31px, 8vw, 47px);
  line-height: 1;
  letter-spacing: -0.035em;
  transition:
    color 200ms ease,
    padding-left 350ms var(--ease-out);
}

.btg-mobile-menu__nav a span {
  color: var(--gold);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.15em;
}

.btg-mobile-menu__nav a:hover,
.btg-mobile-menu__nav a:focus-visible {
  padding-left: 8px;
  color: var(--gold-bright);
}

.btg-mobile-menu__bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.btg-mobile-menu__bottom p {
  max-width: 26ch;
  color: var(--cream-faint);
  font-size: 12px;
  line-height: 1.6;
}

.btg-mobile-menu__bottom .btg-button {
  min-height: 48px;
  flex: 0 0 auto;
}

/* --------------------------------------------------------------------------
   Hero shell
   -------------------------------------------------------------------------- */

.btg-hero {
  --pointer-x: 72%;
  --pointer-y: 48%;
  position: relative;
  display: flex;
  min-height: max(100svh, 760px);
  overflow: hidden;
  padding: calc(var(--header-h) + 24px) var(--gutter) 25px;
  background: #04070a;
  isolation: isolate;
}

.btg-hero__fallback,
.btg-hero__cosmos,
.btg-hero__grade,
.btg-hero__pointer,
.btg-hero__grain {
  position: absolute;
  inset: 0;
}

.btg-hero__fallback {
  z-index: 0;
  background: #04070a url("/images/hero/openverse-universe-background.jpg") 76% 50% / cover no-repeat;
  transform: scale(1.02);
}

.btg-hero__cosmos {
  z-index: 1;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.4s var(--ease-soft);
  pointer-events: none;
}

.is-ready .btg-hero__cosmos {
  opacity: 1;
}

.btg-hero__grade {
  z-index: 2;
  background:
    linear-gradient(90deg, rgba(3, 5, 8, 0.96) 0%, rgba(3, 5, 8, 0.88) 19%, rgba(3, 5, 8, 0.7) 35%, rgba(3, 5, 8, 0.3) 58%, rgba(3, 5, 8, 0.02) 73%, rgba(3, 5, 8, 0.13) 100%),
    linear-gradient(180deg, rgba(3, 5, 8, 0.78) 0%, rgba(3, 5, 8, 0.05) 20%, rgba(3, 5, 8, 0.02) 59%, rgba(3, 5, 8, 0.84) 100%);
  pointer-events: none;
}

.btg-hero__grade::after {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 62% at 31% 48%, rgba(3, 5, 8, 0.58), transparent 72%),
    radial-gradient(ellipse 38% 48% at 73% 46%, rgba(4, 6, 9, 0.08), transparent 72%);
  content: "";
}

.btg-hero__pointer {
  z-index: 3;
  width: 530px;
  height: 530px;
  margin: -265px 0 0 -265px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--gold-rgb), 0.115) 0%, rgba(var(--gold-rgb), 0.05) 24%, transparent 66%);
  filter: blur(4px);
  opacity: 0.9;
  pointer-events: none;
  transform: translate3d(var(--pointer-x), var(--pointer-y), 0);
  will-change: transform;
  mix-blend-mode: screen;
}

.btg-hero__grain {
  z-index: 8;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.54'/%3E%3C/svg%3E");
  background-size: 180px 180px;
  opacity: 0.035;
  pointer-events: none;
  mix-blend-mode: soft-light;
}

.btg-hero__frame {
  position: absolute;
  inset: 21px;
  z-index: 5;
  pointer-events: none;
}

.btg-hero__frame-corner {
  position: absolute;
  width: 13px;
  height: 13px;
  opacity: 0.34;
}

.btg-hero__frame-corner--tl {
  top: 0;
  left: 0;
  border-top: 1px solid var(--gold);
  border-left: 1px solid var(--gold);
}

.btg-hero__frame-corner--tr {
  top: 0;
  right: 0;
  border-top: 1px solid var(--gold);
  border-right: 1px solid var(--gold);
}

.btg-hero__frame-corner--bl {
  bottom: 0;
  left: 0;
  border-bottom: 1px solid var(--gold);
  border-left: 1px solid var(--gold);
}

.btg-hero__frame-corner--br {
  right: 0;
  bottom: 0;
  border-right: 1px solid var(--gold);
  border-bottom: 1px solid var(--gold);
}

.btg-hero__inner {
  position: relative;
  z-index: 6;
  display: flex;
  width: min(100%, var(--page-width));
  margin: 0 auto;
  flex: 1;
  flex-direction: column;
  justify-content: center;
}

.btg-hero__main {
  display: grid;
  flex: 1;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: center;
  gap: clamp(24px, 3vw, 52px);
}

.btg-hero__copy {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 690px;
  padding-top: 2vh;
}

@media (min-width: 1100px) {
  .btg-hero__copy {
    transform: translateX(calc(clamp(64px, 11vw, 200px) + 16px));
  }
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--gold);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  text-shadow: 0 1px 18px rgba(3, 5, 8, 0.6);
}

.eyebrow__mark {
  width: 29px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}

.eyebrow__divider {
  color: rgba(244, 240, 228, 0.23);
}

.btg-hero__title {
  margin-top: clamp(22px, 3vh, 34px);
  color: var(--cream);
  font-family: var(--display);
  font-size: clamp(60px, 6.35vw, 102px);
  font-weight: 400;
  line-height: 0.87;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.title-line {
  display: block;
  overflow: hidden;
  padding: 0.03em 0.04em 0.12em 0;
  margin-bottom: -0.12em;
}

.title-line__inner {
  display: block;
  transform: translateY(112%);
  transition: transform 1.25s var(--ease-out);
  transition-delay: var(--delay);
  will-change: transform;
}

.is-ready .title-line__inner {
  transform: translateY(0);
}

.title-line--gold .title-line__inner {
  background: linear-gradient(102deg, #fff3d2 1%, #f1d79a 28%, #ddb66d 55%, #f8e7bc 72%, #c6924e 96%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  filter: drop-shadow(0 2px 24px rgba(198, 146, 78, 0.08));
}

.btg-hero__title em {
  font-style: italic;
  font-weight: 400;
}

.title-dot {
  display: inline-block;
  width: 0.12em;
  height: 0.12em;
  margin-left: 0.075em;
  border-radius: 50%;
  background: var(--gold-bright);
  box-shadow: 0 0 16px rgba(var(--gold-rgb), 0.8);
  vertical-align: baseline;
}

.btg-hero__lede {
  max-width: 49ch;
  margin-top: clamp(24px, 3.3vh, 34px);
  color: var(--cream-dim);
  font-size: clamp(15px, 1.12vw, 17.5px);
  font-weight: 350;
  line-height: 1.72;
  letter-spacing: 0.002em;
  text-shadow: 0 2px 22px rgba(3, 5, 8, 0.75);
}

.btg-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  margin-top: clamp(28px, 3.8vh, 39px);
}

.btg-hero__proof {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: clamp(22px, 3vh, 31px);
  color: rgba(244, 240, 228, 0.4);
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.btg-hero__proof-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}

.btg-hero__proof svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: rgba(var(--gold-rgb), 0.7);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1;
}

.btg-hero__proof-divider {
  width: 1px;
  height: 12px;
  background: rgba(244, 240, 228, 0.13);
}

/* --------------------------------------------------------------------------
   Artifact stage
   -------------------------------------------------------------------------- */

.btg-hero__stage {
  --core-x: 55%;
  --core-y: 49%;
  position: relative;
  z-index: 2;
  width: 100%;
  height: clamp(455px, 57vh, 590px);
  min-width: 0;
  isolation: isolate;
  -webkit-user-select: none;
  user-select: none;
}

.stage__grid {
  position: absolute;
  inset: 5% -2% 7% 2%;
  background-image:
    linear-gradient(rgba(var(--gold-rgb), 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--gold-rgb), 0.04) 1px, transparent 1px);
  background-size: 61px 61px;
  opacity: 0.52;
  pointer-events: none;
  -webkit-mask-image: radial-gradient(ellipse 63% 63% at 55% 46%, #000 0%, transparent 76%);
  mask-image: radial-gradient(ellipse 63% 63% at 55% 46%, #000 0%, transparent 76%);
}

.stage__coordinates {
  position: absolute;
  top: 3.8%;
  left: 3.2%;
  display: flex;
  gap: 17px;
  color: rgba(244, 240, 228, 0.37);
}

.stage__halo {
  position: absolute;
  top: var(--core-y);
  left: var(--core-x);
  width: min(49vw, 660px);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(var(--gold-rgb), 0.2) 0%, rgba(var(--gold-rgb), 0.08) 24%, rgba(92, 132, 106, 0.035) 43%, transparent 66%);
  filter: blur(15px);
  pointer-events: none;
  transform: translate(-50%, -50%);
  animation: halo-breathe 9s ease-in-out infinite;
}

.stage__pulse {
  position: absolute;
  top: var(--core-y);
  left: var(--core-x);
  width: clamp(360px, 38vw, 560px);
  aspect-ratio: 1;
  border: 1px solid rgba(var(--gold-rgb), 0.5);
  border-radius: 50%;
  box-shadow:
    0 0 40px rgba(var(--gold-rgb), 0.16),
    inset 0 0 32px rgba(var(--gold-rgb), 0.08);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.48);
}

.treasure-rig {
  position: absolute;
  top: var(--core-y);
  left: var(--core-x);
  z-index: 3;
  width: clamp(260px, 46vw, 620px);
  aspect-ratio: 1;
  pointer-events: none;
  transform: translate(-50%, -50%);
}

.treasure-rig__orbits {
  position: absolute;
  inset: -10%;
  width: 120%;
  height: 120%;
  overflow: visible;
  pointer-events: none;
  transform: rotate(-4deg);
  transform-origin: center;
  filter: drop-shadow(0 0 10px rgba(var(--gold-rgb), 0.06));
}

.stage__links {
  position: absolute;
  inset: 0;
  z-index: 4;
  overflow: visible;
  pointer-events: none;
}

.stage__links svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.gravity-glow {
  fill: none;
  stroke-linecap: round;
  stroke-width: 9;
  opacity: 0.08;
  filter: blur(2px) drop-shadow(0 0 12px rgba(var(--gold-rgb), 0.3));
  transition:
    opacity 320ms ease,
    stroke-width 320ms ease;
}

.gravity-glow.is-active {
  stroke-width: 16;
  opacity: 0.24;
}

.gravity-link {
  fill: none;
  stroke-linecap: round;
  stroke-width: 1.6;
  stroke-dasharray: 1.5 6;
  opacity: 0.42;
  filter: drop-shadow(0 0 7px rgba(var(--gold-rgb), 0.42));
  transition:
    opacity 280ms ease,
    stroke-width 280ms ease;
}

.gravity-link.is-near {
  stroke-width: 2;
  opacity: 0.72;
}

.gravity-link.is-active {
  stroke-width: 3.2;
  stroke-dasharray: 1 0;
  opacity: 1;
  filter: drop-shadow(0 0 12px rgba(var(--gold-rgb), 1));
}

.gravity-node-ring {
  fill: none;
  stroke-width: 1;
  opacity: 0.38;
  transform-box: fill-box;
  transform-origin: center;
  transition:
    opacity 280ms ease,
    stroke-width 280ms ease;
}

.gravity-node-ring.is-active {
  stroke-width: 1.4;
  opacity: 0.95;
  animation: gravity-node-pulse 2.8s ease-out infinite;
}

.gravity-node {
  opacity: 0.78;
  filter: drop-shadow(0 0 7px rgba(var(--gold-rgb), 0.55));
  transition:
    opacity 280ms ease,
    r 280ms ease;
}

.gravity-node.is-active {
  opacity: 1;
}

.gravity-arrow {
  opacity: 0.2;
  stroke: rgba(3, 6, 9, 0.55);
  stroke-width: 0.6;
  paint-order: stroke fill;
  filter: drop-shadow(0 0 6px rgba(var(--gold-rgb), 0.5));
  transition: opacity 280ms ease;
  pointer-events: none;
}

.gravity-arrow.is-near {
  opacity: 0.52;
}

.gravity-arrow.is-active {
  opacity: 1;
  filter: drop-shadow(0 0 8px rgba(var(--gold-rgb), 0.95));
  animation: arrow-glow 2.2s ease-in-out infinite;
}

.btg-hero.is-pulsing .gravity-arrow {
  opacity: 0.86;
}

@keyframes arrow-glow {
  0%,
  100% {
    opacity: 0.72;
  }
  50% {
    opacity: 1;
  }
}

.gravity-packet-trail {
  opacity: 0;
  filter: blur(1.5px) drop-shadow(0 0 10px rgba(var(--gold-rgb), 0.75));
  transition: opacity 280ms ease;
}

.gravity-packet-trail.is-active {
  opacity: 0.34;
}

.gravity-packet {
  opacity: 0.86;
  filter: drop-shadow(0 0 9px rgba(var(--gold-rgb), 0.8));
  transition:
    opacity 280ms ease,
    r 280ms ease;
}

.gravity-packet.is-active {
  opacity: 1;
}

.btg-hero.is-pulsing .gravity-glow {
  opacity: 0.24;
}

.btg-hero.is-pulsing .gravity-link {
  opacity: 0.76;
}

.btg-hero.is-pulsing .gravity-link.is-active {
  opacity: 1;
}

@media (max-width: 720px) {
  .gravity-glow {
    stroke-width: 7;
    opacity: 0.06;
  }

  .gravity-glow.is-active {
    stroke-width: 12;
    opacity: 0.2;
  }

  .gravity-link {
    stroke-width: 1.1;
    opacity: 0.24;
  }

  .gravity-link.is-near {
    stroke-width: 1.4;
    opacity: 0.45;
  }

  .gravity-link.is-active {
    stroke-width: 2.4;
    opacity: 0.96;
  }
}

@keyframes gravity-node-pulse {
  0%,
  100% {
    opacity: 0.95;
    transform: scale(1);
  }
  50% {
    opacity: 0.35;
    transform: scale(1.55);
  }
}

.btg-hero.is-pulsing .stage__pulse {
  animation: stage-wave 1.3s var(--ease-out);
}

.artifact {
  --ax: 55%;
  --ay: 49%;
  --artifact-scale: 1;
  position: absolute;
  top: var(--ay);
  left: var(--ax);
  z-index: 6;
  width: clamp(140px, 11.5vw, 160px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%) scale(var(--artifact-scale));
  transform-style: preserve-3d;
  will-change: left, top, transform;
}

.orbit {
  stroke-width: 1.35;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
  filter: drop-shadow(0 0 7px rgba(var(--gold-rgb), 0.24));
}

.orbit--one {
  stroke: rgba(238, 202, 133, 0.36);
  stroke-dasharray: 1 8;
  animation: orbit-flow 42s linear infinite;
}

.orbit--two {
  stroke: rgba(238, 202, 133, 0.27);
  stroke-dasharray: 2 13;
  animation: orbit-flow-reverse 34s linear infinite;
}

.orbit--three {
  stroke: rgba(238, 202, 133, 0.18);
  stroke-dasharray: 1 18;
}

.orbit-node {
  fill: var(--gold-bright);
  filter: drop-shadow(0 0 5px rgba(var(--gold-rgb), 0.9));
  animation: node-twinkle 5.5s ease-in-out infinite;
}

.orbit-node--two {
  animation-delay: -2.4s;
}

.orbit-node--three {
  animation-delay: -4.1s;
}

.artifact__halo {
  position: absolute;
  inset: -52%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(var(--gold-rgb), 0.16), rgba(var(--gold-rgb), 0.04) 42%, transparent 68%),
    conic-gradient(from 120deg, transparent 0deg, rgba(255, 239, 199, 0.09) 70deg, transparent 150deg, transparent 250deg, rgba(var(--gold-rgb), 0.08) 310deg, transparent 360deg);
  filter: blur(10px);
  opacity: 0.9;
  pointer-events: none;
}

.artifact__ring {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.artifact__ring::after {
  position: absolute;
  top: -2px;
  left: 50%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #fff3cf;
  box-shadow:
    0 0 8px rgba(255, 236, 190, 0.95),
    0 0 18px rgba(var(--gold-rgb), 0.65);
  content: "";
  transform: translateX(-50%);
}

.artifact__ring--outer {
  inset: -36%;
  border: 1px dashed rgba(var(--gold-rgb), 0.16);
  animation: artifact-ring-spin 46s linear infinite;
}

.artifact__ring--mid {
  inset: -19%;
  border: 1px solid rgba(var(--gold-rgb), 0.2);
  border-top-color: rgba(255, 241, 204, 0.72);
  border-right-color: rgba(var(--gold-rgb), 0.42);
  box-shadow:
    0 0 22px rgba(var(--gold-rgb), 0.08),
    inset 0 0 18px rgba(var(--gold-rgb), 0.04);
  animation: artifact-ring-spin 27s linear infinite reverse;
}

.artifact__ring--inner {
  inset: -6%;
  border: 1px solid rgba(var(--gold-rgb), 0.24);
  border-bottom-color: rgba(255, 239, 199, 0.62);
  animation: artifact-ring-spin 15s linear infinite;
}

.artifact__aura {
  position: absolute;
  inset: 10%;
  border: 1px solid rgba(var(--gold-rgb), 0.09);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(var(--gold-rgb), 0.12), transparent 63%),
    conic-gradient(from 210deg, transparent 0deg, rgba(var(--gold-rgb), 0.08) 65deg, transparent 130deg, transparent 240deg, rgba(255, 239, 199, 0.06) 295deg, transparent 360deg);
  box-shadow:
    inset 0 0 65px rgba(var(--gold-rgb), 0.07),
    0 0 80px rgba(var(--gold-rgb), 0.04);
  pointer-events: none;
  transition:
    border-color 600ms ease,
    box-shadow 600ms ease;
  animation: artifact-aura-turn 26s linear infinite;
}

.artifact__float {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  animation: artifact-float 11s ease-in-out infinite;
  transform-style: preserve-3d;
  pointer-events: none;
}

.artifact__tilt {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  will-change: transform;
  pointer-events: none;
}

.artifact__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter:
    drop-shadow(0 28px 26px rgba(0, 0, 0, 0.55))
    drop-shadow(0 14px 30px rgba(64, 36, 5, 0.36))
    drop-shadow(0 0 32px rgba(var(--gold-rgb), 0.18));
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

.artifact__glint {
  position: absolute;
  inset: 0;
  background: linear-gradient(108deg, transparent 33%, rgba(255, 250, 228, 0.62) 46%, rgba(255, 226, 160, 0.14) 54%, transparent 64%);
  background-size: 260% 100%;
  mix-blend-mode: screen;
  opacity: 0.32;
  pointer-events: none;
  -webkit-mask: url("/assets/hero/bitgold-icon.webp") center / contain no-repeat;
  mask: url("/assets/hero/bitgold-icon.webp") center / contain no-repeat;
  animation: artifact-glint 8s ease-in-out infinite;
}

.artifact__pool {
  position: absolute;
  bottom: 8%;
  left: 23%;
  width: 54%;
  height: 12%;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(47, 28, 9, 0.82) 0%, rgba(12, 9, 5, 0.45) 43%, transparent 72%);
  filter: blur(13px);
  pointer-events: none;
  transform: translateZ(-10px);
}

.artifact__sparks {
  position: absolute;
  inset: -4%;
  z-index: 3;
  overflow: hidden;
  pointer-events: none;
}

.spark {
  position: absolute;
  border-radius: 50%;
  background: var(--gold-bright);
  box-shadow:
    0 0 5px 1px rgba(var(--gold-rgb), 0.56),
    0 0 13px 2px rgba(var(--gold-rgb), 0.12);
  opacity: 0;
  animation: spark-drift var(--duration, 7s) ease-in-out infinite;
  animation-delay: var(--delay, 0s);
  will-change: transform, opacity;
}

.artifact__hit {
  position: absolute;
  top: 12%;
  left: 12%;
  z-index: 5;
  width: 76%;
  height: 76%;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: grab;
  touch-action: none;
}

.btg-hero__stage.is-dragging .artifact__hit {
  cursor: grabbing;
}

.artifact__hit-ring {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(var(--gold-rgb), 0);
  border-radius: 50%;
  transition:
    border-color 450ms ease,
    transform 700ms var(--ease-out),
    opacity 450ms ease;
  opacity: 0;
}

.artifact__hit::before {
  position: absolute;
  inset: 18%;
  border: 1px dashed rgba(var(--gold-rgb), 0);
  border-radius: 50%;
  content: "";
  transition:
    border-color 450ms ease,
    transform 900ms var(--ease-out);
  transform: scale(0.92) rotate(0deg);
}

.artifact__hit:hover .artifact__hit-ring,
.artifact__hit:focus-visible .artifact__hit-ring {
  border-color: rgba(var(--gold-rgb), 0.3);
  transform: scale(1.06);
  opacity: 1;
}

.artifact__hit:hover::before,
.artifact__hit:focus-visible::before {
  border-color: rgba(var(--gold-rgb), 0.16);
  transform: scale(1.02) rotate(45deg);
}

.artifact__hit:focus-visible {
  outline: none;
}

.artifact__hit:focus-visible .artifact__hit-ring {
  box-shadow: 0 0 0 3px rgba(var(--gold-rgb), 0.22);
}

.artifact__hit-label {
  position: absolute;
  bottom: -7px;
  left: 50%;
  padding: 4px 9px;
  border: 1px solid rgba(var(--gold-rgb), 0.2);
  border-radius: 999px;
  background: rgba(5, 8, 11, 0.65);
  color: var(--gold);
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.16em;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 5px);
  transition:
    opacity 300ms ease,
    transform 400ms var(--ease-out);
  text-transform: uppercase;
}

.artifact__hit:hover .artifact__hit-label,
.artifact__hit:focus-visible .artifact__hit-label {
  opacity: 1;
  transform: translate(-50%, 0);
}

.stage__tag {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  color: rgba(244, 240, 228, 0.5);
  font-family: var(--mono);
  font-size: 7.5px;
  line-height: 1.45;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  pointer-events: none;
}

.stage__tag--tl {
  top: 16%;
  left: 0;
  gap: 9px;
}

.stage__tag-index {
  color: var(--gold);
  opacity: 0.75;
}

.stage__tag-line {
  width: 34px;
  height: 1px;
  background: linear-gradient(90deg, rgba(var(--gold-rgb), 0.5), transparent);
}

.stage__tag--tr {
  top: 16%;
  right: 0;
  gap: 7px;
  color: rgba(244, 240, 228, 0.52);
}

.stage__status-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #bbd97a;
  box-shadow: 0 0 9px rgba(187, 217, 122, 0.7);
}

.stage__tag--bl {
  bottom: 18%;
  left: 1%;
  gap: 10px;
  color: rgba(244, 240, 228, 0.3);
}

.stage__tag-rule {
  width: 1px;
  height: 30px;
  background: linear-gradient(180deg, transparent, rgba(var(--gold-rgb), 0.4), transparent);
}

.stage__tag--br {
  right: 0;
  bottom: 17%;
  align-items: flex-end;
  flex-direction: column;
  gap: 3px;
  text-align: right;
}

.stage__tag-number {
  color: rgba(249, 225, 173, 0.78);
  font-family: var(--display);
  font-size: 14px;
  line-height: 1;
  letter-spacing: 0.02em;
}

.stage__tag-caption {
  font-size: 6.5px;
  letter-spacing: 0.19em;
}

.stage__hint {
  position: absolute;
  bottom: -1.4%;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(244, 240, 228, 0.4);
  font-family: var(--mono);
  font-size: 7.5px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  transform: translateX(-50%);
  transition: color 400ms ease;
  white-space: nowrap;
}

.stage__hint-dot {
  width: 4px;
  height: 4px;
  border: 1px solid rgba(var(--gold-rgb), 0.5);
  border-radius: 50%;
}

.stage__hint-divider {
  width: 15px;
  height: 1px;
  background: rgba(244, 240, 228, 0.15);
}

.stage__hint.is-hot {
  color: rgba(249, 225, 173, 0.8);
}

/* --------------------------------------------------------------------------
   Footer metrics
   -------------------------------------------------------------------------- */

.btg-hero__footer {
  display: grid;
  padding-top: 19px;
  border-top: 1px solid rgba(244, 240, 228, 0.11);
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(24px, 3vw, 54px);
}

.btg-metrics {
  display: flex;
  gap: clamp(23px, 2.6vw, 42px);
}

.btg-metric {
  position: relative;
  min-width: 82px;
}

.btg-metric + .btg-metric::before {
  position: absolute;
  top: 2px;
  bottom: 2px;
  left: clamp(-21px, -1.3vw, -12px);
  width: 1px;
  background: rgba(244, 240, 228, 0.1);
  content: "";
}

.btg-metric dt {
  margin-bottom: 4px;
  color: rgba(244, 240, 228, 0.35);
  font-family: var(--mono);
  font-size: 7.5px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.btg-metric dd {
  display: flex;
  align-items: baseline;
  gap: 5px;
  color: var(--cream);
  font-family: var(--display);
  font-size: clamp(19px, 1.45vw, 24px);
  line-height: 1;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.btg-metric dd small {
  color: var(--gold);
  font-family: var(--mono);
  font-size: 6.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.focus-rail {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(13px, 1.65vw, 28px);
  color: rgba(244, 240, 228, 0.46);
  font-family: var(--mono);
  font-size: 7.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.focus-rail li {
  display: flex;
  align-items: baseline;
  gap: 6px;
  white-space: nowrap;
}

.focus-rail li span {
  color: rgba(var(--gold-rgb), 0.45);
  font-size: 6.5px;
}

.btg-hero__stamp {
  position: relative;
  display: grid;
  width: 76px;
  height: 76px;
  flex: 0 0 auto;
  place-items: center;
}

.btg-hero__stamp-orbit {
  position: absolute;
  inset: 0;
  animation: slow-spin 32s linear infinite;
}

.btg-hero__stamp-orbit svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.btg-hero__stamp-orbit text {
  fill: rgba(244, 240, 228, 0.38);
  font-family: var(--mono);
  font-size: 5.4px;
  letter-spacing: 0.16em;
}

.btg-hero__stamp-core {
  display: grid;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(var(--gold-rgb), 0.32);
  border-radius: 50%;
  color: var(--gold);
  font-family: var(--display);
  font-size: 11px;
  letter-spacing: 0.06em;
  place-items: center;
  box-shadow: inset 0 0 18px rgba(var(--gold-rgb), 0.06);
}

/* --------------------------------------------------------------------------
   Reveal + pulse states
   -------------------------------------------------------------------------- */

.js .reveal {
  opacity: 0;
  transform: translateY(17px);
  transition:
    opacity 1s var(--ease-soft),
    transform 1.15s var(--ease-out);
  transition-delay: var(--delay, 0s);
}

.js.is-ready .reveal {
  opacity: 1;
  transform: translateY(0);
}

.btg-hero.is-pulsing .stage__halo {
  animation: pulse-halo 1.45s var(--ease-out);
}

.btg-hero.is-pulsing .artifact__hit-ring {
  animation: pulse-hit 1.25s var(--ease-out);
}

.btg-hero.is-pulsing .artifact__float {
  animation: artifact-jolt 700ms var(--ease-out);
}

.btg-hero.is-pulsing .artifact__aura {
  animation: aura-flare 1.4s var(--ease-out);
}

.btg-hero__stage.is-engaged .artifact__aura {
  border-color: rgba(var(--gold-rgb), 0.15);
  box-shadow:
    inset 0 0 75px rgba(var(--gold-rgb), 0.1),
    0 0 100px rgba(var(--gold-rgb), 0.07);
}

.btg-hero__stage.is-engaged .stage__hint {
  color: rgba(249, 225, 173, 0.6);
}

.btg-hero__stage.is-engaged .stage__hint-dot {
  background: var(--gold);
  box-shadow: 0 0 8px rgba(var(--gold-rgb), 0.8);
}

.webgl-lost .btg-hero__cosmos {
  opacity: 0;
}

/* --------------------------------------------------------------------------
   Keyframes
   -------------------------------------------------------------------------- */

@keyframes status-pulse {
  0% {
    opacity: 0.7;
    transform: scale(0.55);
  }
  70%,
  100% {
    opacity: 0;
    transform: scale(1.35);
  }
}

@keyframes halo-breathe {
  0%,
  100% {
    opacity: 0.72;
    transform: translate(-50%, -50%) scale(0.98);
  }
  50% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.06);
  }
}

@keyframes slow-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes orbit-flow {
  to {
    stroke-dashoffset: -260;
  }
}

@keyframes orbit-flow-reverse {
  to {
    stroke-dashoffset: 260;
  }
}

@keyframes node-twinkle {
  0%,
  100% {
    opacity: 0.28;
  }
  50% {
    opacity: 1;
  }
}

@keyframes artifact-ring-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes artifact-aura-turn {
  to {
    transform: rotate(360deg);
  }
}

@keyframes artifact-float {
  0%,
  100% {
    transform: translate3d(-10px, -5px, 0) rotate(-1.1deg);
  }
  25% {
    transform: translate3d(6px, -13px, 0) rotate(0.7deg);
  }
  50% {
    transform: translate3d(12px, 5px, 0) rotate(1.3deg);
  }
  75% {
    transform: translate3d(-5px, 11px, 0) rotate(-0.6deg);
  }
}

@keyframes artifact-glint {
  0%,
  22% {
    background-position: 190% 0;
  }
  55%,
  100% {
    background-position: -90% 0;
  }
}

@keyframes spark-drift {
  0%,
  100% {
    opacity: 0;
    transform: translate3d(0, 7px, 0) scale(0.45);
  }
  32% {
    opacity: 0.85;
  }
  58% {
    opacity: 0.68;
    transform: translate3d(var(--dx, 6px), -9px, 0) scale(1);
  }
  82% {
    opacity: 0;
  }
}

@keyframes stage-wave {
  0% {
    opacity: 0.72;
    transform: translate(-50%, -50%) scale(0.48);
  }
  55% {
    opacity: 0.3;
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1.75);
  }
}

@keyframes pulse-halo {
  0% {
    opacity: 0.8;
    transform: translate(-50%, -50%) scale(0.96);
  }
  38% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.09);
  }
  100% {
    opacity: 0.72;
    transform: translate(-50%, -50%) scale(0.98);
  }
}

@keyframes pulse-hit {
  0% {
    border-color: rgba(var(--gold-rgb), 0.65);
    opacity: 1;
    transform: scale(0.82);
  }
  100% {
    border-color: rgba(var(--gold-rgb), 0);
    opacity: 0;
    transform: scale(1.45);
  }
}

@keyframes artifact-jolt {
  0%,
  100% {
    transform: translate3d(0, -5px, 0) scale(1);
  }
  32% {
    transform: translate3d(0, -9px, 0) scale(1.026);
  }
  65% {
    transform: translate3d(0, 2px, 0) scale(0.995);
  }
}

@keyframes aura-flare {
  0% {
    opacity: 1;
    transform: scale(1);
  }
  35% {
    opacity: 1;
    transform: scale(1.06);
  }
  100% {
    opacity: 0.7;
    transform: scale(1);
  }
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1320px) {
  .btg-primary-nav {
    gap: 18px;
  }

  .btg-network-status {
    display: none;
  }

  .btg-hero__title {
    font-size: clamp(58px, 6.5vw, 90px);
  }
}

@media (max-width: 1120px) {
  .btg-primary-nav {
    display: none;
  }

  .btg-menu-button {
    display: flex;
  }

  .btg-site-header__inner {
    grid-template-columns: auto 1fr auto;
  }

  .btg-header-tools {
    grid-column: 3;
  }

  .btg-hero__main {
    grid-template-columns: minmax(0, 0.98fr) minmax(0, 1.02fr);
    gap: 18px;
  }

  .btg-hero__title {
    font-size: clamp(54px, 6.4vw, 76px);
  }

  .artifact {
    width: 140px;
  }

  .stage__tag--bl,
  .stage__tag--br {
    bottom: 15%;
  }
}

@media (max-width: 900px) {
  :root {
    --header-h: 78px;
  }

  .btg-hero {
    min-height: 100svh;
    padding-top: calc(var(--header-h) + 42px);
    padding-bottom: 28px;
  }

  .btg-hero__fallback {
    background-position: 70% 50%;
  }

  .btg-hero__grade {
    background:
      linear-gradient(180deg, rgba(3, 5, 8, 0.72) 0%, rgba(3, 5, 8, 0.22) 30%, rgba(3, 5, 8, 0.16) 62%, rgba(3, 5, 8, 0.58) 84%, rgba(3, 5, 8, 0.94) 100%),
      linear-gradient(90deg, rgba(3, 5, 8, 0.8) 0%, rgba(3, 5, 8, 0.28) 60%, rgba(3, 5, 8, 0.04) 100%);
  }

  .btg-hero__grade::after {
    background:
      radial-gradient(ellipse 100% 55% at 35% 67%, rgba(3, 5, 8, 0.65), transparent 78%);
  }

  .btg-hero__inner {
    justify-content: flex-start;
  }

  .btg-hero__main {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .btg-hero__copy {
    max-width: 660px;
    padding-top: 2vh;
  }

  .btg-hero__title {
    font-size: clamp(54px, 10vw, 80px);
  }

  .btg-hero__lede {
    max-width: 53ch;
  }

  .btg-hero__stage {
    width: min(100%, 620px);
    height: 410px;
    margin: -10px auto 0;
  }

  .artifact {
    width: 130px;
  }

  .stage__tag--bl,
  .stage__tag--br {
    display: none;
  }

  .stage__tag--tl {
    left: 2%;
  }

  .stage__tag--tr {
    right: 2%;
  }

  .btg-hero__footer {
    margin-top: 4px;
    grid-template-columns: 1fr auto;
  }

  .focus-rail {
    display: none;
  }

  .btg-hero__stamp {
    display: none;
  }

  .btg-metrics {
    gap: 30px;
  }

  .btg-metric + .btg-metric::before {
    left: -15px;
  }

  .btg-hero__frame {
    inset: 13px;
  }
}

@media (max-width: 640px) {
  .btg-site-header {
    height: 72px;
  }

  .btg-site-header__inner {
    padding-inline: 18px;
    gap: 14px;
  }

  .btg-brand {
    gap: 8px;
  }

  .btg-brand__mark {
    width: 32px;
    height: 32px;
  }

  .btg-brand__name {
    font-size: 17px;
  }

  .btg-brand__sub {
    font-size: 5.5px;
  }

  .btg-button--header {
    display: none;
  }

  .btg-menu-button {
    width: 40px;
    height: 40px;
  }

  .btg-hero {
    min-height: max(100svh, 800px);
    padding: 88px 20px 18px;
  }

  .eyebrow {
    gap: 8px;
    font-size: 7.5px;
    letter-spacing: 0.14em;
  }

  .eyebrow__mark {
    width: 20px;
  }

  .btg-hero__title {
    margin-top: 23px;
    font-size: clamp(44px, 12.6vw, 56px);
    line-height: 0.9;
  }

  .btg-hero__lede {
    margin-top: 19px;
    font-size: 14px;
    line-height: 1.6;
  }

  .btg-hero__actions {
    display: grid;
    margin-top: 21px;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .btg-button--large {
    min-height: 48px;
    justify-content: space-between;
    padding: 0 19px;
    font-size: 12px;
  }

  .btg-hero__proof {
    gap: 10px;
    margin-top: 16px;
    font-size: 7px;
    letter-spacing: 0.06em;
  }

  .btg-hero__proof-item {
    gap: 4px;
  }

  .btg-hero__proof svg {
    width: 12px;
    height: 12px;
  }

  .btg-hero__stage {
    height: 296px;
    margin-top: 2px;
  }

  .stage__grid {
    opacity: 0.34;
  }

  .stage__coordinates {
    display: none;
  }

  .artifact {
    width: 108px;
  }

  .stage__pulse {
    width: 300px;
  }

  .stage__halo {
    width: 96vw;
    opacity: 0.75;
  }

  .treasure-rig {
    width: 82%;
  }

  .stage__tag--tl {
    top: 17%;
    left: 3%;
    font-size: 6.5px;
  }

  .stage__tag--tr {
    top: 17%;
    right: 3%;
    font-size: 6.5px;
  }

  .stage__tag-line {
    width: 18px;
  }

  .stage__hint {
    bottom: 2.5%;
    font-size: 6.5px;
    gap: 6px;
  }

  .stage__hint-divider {
    width: 9px;
  }

  .btg-hero__footer {
    padding-top: 13px;
    gap: 16px;
  }

  .btg-metrics {
    width: 100%;
    justify-content: space-between;
    gap: 12px;
  }

  .btg-metric {
    min-width: 0;
  }

  .btg-metric + .btg-metric::before {
    left: -7px;
  }

  .btg-metric dt {
    font-size: 6.5px;
    letter-spacing: 0.08em;
  }

  .btg-metric dd {
    gap: 3px;
    font-size: 17px;
  }

  .btg-metric dd small {
    font-size: 5.5px;
  }

  .btg-hero__frame {
    inset: 9px;
  }

  .btg-hero__frame-corner {
    width: 9px;
    height: 9px;
  }

  .btg-mobile-menu {
    padding: 18px 20px 24px;
  }

  .btg-mobile-menu__nav a {
    padding: 11px 0;
    font-size: clamp(30px, 10vw, 40px);
  }

  .btg-mobile-menu__bottom {
    align-items: stretch;
    flex-direction: column;
    gap: 16px;
  }

  .btg-mobile-menu__bottom p {
    max-width: 40ch;
  }

  .btg-mobile-menu__bottom .btg-button {
    width: 100%;
    justify-content: space-between;
  }
}

@media (max-width: 640px) and (max-height: 820px) {
  .btg-hero {
    min-height: max(100svh, 760px);
    padding-top: 82px;
    padding-bottom: 14px;
  }

  .btg-hero__title {
    margin-top: 19px;
    font-size: clamp(40px, 12vw, 52px);
  }

  .btg-hero__lede {
    margin-top: 16px;
    font-size: 13.4px;
    line-height: 1.55;
  }

  .btg-hero__actions {
    margin-top: 18px;
  }

  .btg-hero__proof {
    margin-top: 13px;
  }

  .btg-hero__stage {
    height: 258px;
    margin-top: 0;
  }

  .artifact {
    width: 100px;
  }

  .stage__pulse {
    width: 265px;
  }

  .stage__tag--tl,
  .stage__tag--tr {
    top: 13%;
  }

  .stage__hint {
    bottom: 0;
  }
}

@media (max-width: 380px) {
  .btg-hero {
    min-height: max(100svh, 735px);
  }

  .btg-hero__title {
    font-size: 44px;
  }

  .btg-hero__stage {
    height: 300px;
  }

  .artifact {
    width: 94px;
  }

  .stage__pulse {
    width: 250px;
  }

  .btg-hero__proof-divider {
    display: none;
  }

  .btg-hero__proof {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }
}

@media (max-width: 640px) and (max-height: 820px) and (max-width: 380px) {
  .btg-hero__title {
    font-size: 42px;
  }

  .btg-hero__stage {
    height: 258px;
  }

  .artifact {
    width: 88px;
  }

  .stage__pulse {
    width: 245px;
  }
}

@media (max-width: 640px) and (max-height: 760px) {
  .btg-hero {
    min-height: 100svh;
    padding-top: 76px;
    padding-bottom: 12px;
  }

  .btg-hero__title {
    margin-top: 15px;
    font-size: 38px;
  }

  .btg-hero__lede {
    margin-top: 13px;
    font-size: 12.8px;
    line-height: 1.5;
  }

  .btg-hero__actions {
    margin-top: 14px;
    gap: 7px;
  }

  .btg-button--large {
    min-height: 43px;
    padding-inline: 16px;
    font-size: 11.5px;
  }

  .btg-button__arrow {
    width: 22px;
    height: 22px;
  }

  .btg-hero__proof {
    display: none;
  }

  .btg-hero__stage {
    height: 226px;
    margin-top: 3px;
  }

  .artifact {
    width: 82px;
  }

  .stage__pulse {
    width: 215px;
  }

  .stage__tag--tl,
  .stage__tag--tr {
    top: 12%;
    font-size: 6px;
  }

  .stage__hint {
    bottom: 1%;
    font-size: 6px;
  }

  .btg-hero__footer {
    padding-top: 9px;
    gap: 10px;
  }

  .btg-metric dt {
    font-size: 6px;
  }

  .btg-metric dd {
    font-size: 15px;
  }
}

@media (hover: none) {
  .btg-hero__pointer {
    display: none;
  }

  .stage__hint {
    color: rgba(244, 240, 228, 0.38);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }

  .title-line__inner {
    transform: none;
  }

  .btg-hero__cosmos {
    opacity: 1;
  }
}
