@font-face {
  font-family: Yapari;
  src: url('/assets/Yapari-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;
  font-family: Arial, Helvetica, sans-serif;
  color: #f7f2e8;
  background: #080b10;
  --gold: #ffce69;
  --mono: 'SFMono-Regular', Consolas, 'Liberation Mono', monospace;
  --gutter: clamp(28px, 5.1vw, 96px);
}

* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid #fff0c6; outline-offset: 7px; }
::selection { background: #edb84a; color: #0d1017; }

.hero {
  position: relative;
  isolation: isolate;
  min-height: 760px;
  min-height: max(760px, 100svh);
  display: grid;
  grid-template-rows: auto 1fr auto;
  overflow: clip;
}
.scene, .scene-shade { position: absolute; inset: 0; z-index: -2; pointer-events: none; }
.scene-image { width: 100%; height: 100%; object-fit: cover; object-position: 57% center; animation: scene-in 1.4s ease-out both; }
.scene-shade {
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(4, 8, 14, .62), transparent 24%, transparent 70%, rgba(4, 7, 12, .92)),
    linear-gradient(90deg, rgba(4, 8, 14, .96) 0%, rgba(4, 8, 14, .85) 23%, rgba(4, 8, 14, .47) 43%, rgba(4, 8, 14, .03) 64%, rgba(4, 8, 14, .08));
}

.masthead { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 29px var(--gutter); }
.brand { display: inline-flex; align-items: center; gap: 12px; font: 700 15px/1 Yapari, Arial, sans-serif; letter-spacing: -.04em; }
.brand img { width: 42px; height: 42px; object-fit: contain; }
.brand-suffix { color: var(--gold); }
.launch-status { display: inline-flex; align-items: center; gap: 10px; padding: 11px 16px; border: 1px solid #ead39d3d; border-radius: 4px; color: #f2dec0; background: #0b10195c; backdrop-filter: blur(10px); font: 10px/1 var(--mono); letter-spacing: .16em; white-space: nowrap; }
.status-light { width: 5px; height: 5px; border-radius: 50%; background: #ffd071; box-shadow: 0 0 9px #ffc24b80; animation: glow 3s ease-in-out infinite; }

.hero-copy { align-self: center; padding: 45px var(--gutter) 65px; width: fit-content; max-width: 100%; animation: copy-in .9s .15s ease-out both; }
.eyebrow { display: flex; align-items: center; gap: 12px; margin: 0 0 28px; color: #edc985; font: 10px/1.5 var(--mono); letter-spacing: .21em; }
.eyebrow > span { width: 28px; height: 1px; background: #dcb465; }
h1 { margin: 0; font: 700 clamp(38px, 4.05vw, 74px)/1.18 Yapari, Arial, sans-serif; letter-spacing: -.055em; text-shadow: 0 2px 24px #060b1760; }
.gold-text { color: #ffcf75; background: linear-gradient(180deg, #fff0b9 5%, #ffcf70 52%, #c68c38); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.built-line { display: block; }
.arc-title { display: block; padding-top: .45em; }
.arc-title img { display: block; width: auto; height: 1em; object-fit: contain; }
.description { margin: 27px 0 0; color: #e7e8ea; font-size: 16px; line-height: 1.85; letter-spacing: .015em; }
.description span { color: #a6aab1; }
.follow-area { margin-top: 33px; }
.follow-button { display: inline-flex; align-items: center; justify-content: center; gap: 13px; min-height: 56px; padding: 0 24px; border: 1px solid #ffdd90; border-radius: 5px; background: linear-gradient(110deg, #ffe29c, #efb94e); color: #19140b; font-size: 14px; font-weight: 700; box-shadow: 0 0 25px #e9ae2812, inset 0 1px 0 #fff5d5a6; transition: transform .2s, box-shadow .2s, filter .2s; }
.follow-button[href]:hover { transform: translateY(-2px); box-shadow: 0 5px 32px #e9ae2838; filter: brightness(1.06); }
.follow-button[href]:active { transform: translateY(0); }
.x-icon { width: 17px; height: 17px; fill: currentColor; }
.arrow-icon { width: 17px; height: 17px; margin-left: 15px; }
.follow-note { margin: 14px 0 0; color: #9398a3; font-size: 11px; letter-spacing: .02em; }

.hero-footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin: 0 var(--gutter); padding: 23px 0 26px; border-top: 1px solid #ece0bd21; font: 9px/1.5 var(--mono); letter-spacing: .15em; }
.hero-footer p { margin: 0; }
.footer-tagline { color: #c2b69d; }
.footer-network { display: flex; align-items: center; gap: 16px; color: #ded7c9; }
.footer-network img { display: block; width: auto; height: 20px; object-fit: contain; }
.footer-domain { color: #d8b970; }

@keyframes scene-in { from { opacity: 0; transform: scale(1.015); } to { opacity: 1; transform: scale(1); } }
@keyframes copy-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes glow { 50% { box-shadow: 0 0 14px #ffc24bb3; opacity: .65; } }

@media (min-width: 1800px) {
  .scene-image { object-position: center 55%; }
  .hero-copy { padding-bottom: 90px; }
}

@media (max-width: 1100px) and (min-width: 701px) {
  .hero { min-height: max(720px, 100svh); }
  h1 { font-size: clamp(32px, 4.1vw, 45px); }
  .scene-image { object-position: 61% center; }
  .scene-shade { background: linear-gradient(180deg, #05091170, transparent 25%, transparent 70%, #050911ed), linear-gradient(90deg, #050911e8, #050911a1 37%, #05091112 77%); }
  .hero-copy { padding-top: 70px; }
  .footer-tagline { max-width: 260px; }
}

@media (max-width: 700px) {
  :root { --gutter: 22px; }
  .hero {
    min-height: 100svh;
    grid-template-areas: 'header' 'art' 'copy' 'footer';
    grid-template-rows: auto minmax(200px, 1fr) auto auto;
  }
  .masthead {
    grid-area: header;
    padding: max(16px, env(safe-area-inset-top)) max(var(--gutter), env(safe-area-inset-right)) 12px max(var(--gutter), env(safe-area-inset-left));
    gap: 12px;
    z-index: 1;
    background: #080b10;
  }
  .brand { gap: 8px; font-size: 10px; }
  .brand img { width: 32px; height: 32px; }
  .launch-status { font-size: 8px; letter-spacing: .1em; padding: 9px 10px; gap: 7px; }
  .status-light { width: 4px; height: 4px; }
  .scene { grid-area: art; position: relative; inset: auto; z-index: 0; min-width: 0; overflow: hidden; }
  .scene-image { position: absolute; inset: 0; object-position: 69% 45%; }
  .scene::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, #080b100d 58%, #080b104d 76%, #080b10 100%);
  }
  .scene-shade { display: none; }
  .hero-copy {
    grid-area: copy;
    width: 100%;
    align-self: auto;
    padding: 8px max(var(--gutter), env(safe-area-inset-right)) 24px max(var(--gutter), env(safe-area-inset-left));
    text-align: center;
  }
  .eyebrow { justify-content: center; font-size: 8px; margin-bottom: 16px; letter-spacing: .12em; gap: 0; }
  .eyebrow > span { display: none; }
  h1 { font-size: clamp(38px, 11.3vw, 52px); line-height: 1.1; letter-spacing: -.06em; }
  .built-line { display: flex; justify-content: center; align-items: center; gap: 18px; margin-top: 14px; }
  .built-label { font: 700 10px/1.4 Yapari, Arial, sans-serif; letter-spacing: 0; color: #c6c5c4; }
  .arc-title { padding: 0; }
  .arc-title img { height: 26px; }
  .description { margin-top: 18px; font-size: 13px; line-height: 1.75; }
  .follow-area { margin: 20px auto 0; max-width: 340px; }
  .follow-button { width: 100%; min-height: 52px; padding: 0 22px; font-size: 14px; }
  .follow-note { font-size: 10px; margin-top: 12px; line-height: 1.5; }
  .hero-footer {
    grid-area: footer;
    margin-right: max(var(--gutter), env(safe-area-inset-right));
    margin-left: max(var(--gutter), env(safe-area-inset-left));
    padding: 14px 0 max(14px, env(safe-area-inset-bottom));
    font-size: 8px;
    letter-spacing: .08em;
    gap: 14px;
  }
  .footer-tagline { display: none; }
  .footer-network { font-size: 8px; gap: 12px; }
  .footer-domain { margin-left: auto; }
}

@media (max-width: 360px) {
  :root { --gutter: 18px; }
  .brand { font-size: 9px; gap: 6px; }
  .launch-status { font-size: 7px; padding: 8px; }
}

@media (max-width: 700px) and (max-height: 700px) {
  .hero { grid-template-rows: auto minmax(160px, 1fr) auto auto; }
  .hero-copy { padding-top: 4px; padding-bottom: 18px; }
  .eyebrow { margin-bottom: 12px; }
  h1 { font-size: 38px; }
  .built-line { margin-top: 10px; }
  .arc-title img { height: 24px; }
  .description { margin-top: 14px; }
  .follow-area { margin-top: 16px; }
  .follow-button { min-height: 48px; }
  .follow-note { margin-top: 9px; }
  .hero-footer { padding-top: 11px; padding-bottom: max(11px, env(safe-area-inset-bottom)); }
}

@media (min-width: 701px) and (max-height: 600px) {
  .hero { min-height: max(540px, 100svh); }
  .masthead { padding-top: 16px; padding-bottom: 16px; }
  .hero-copy { padding-top: 16px; padding-bottom: 20px; }
  .eyebrow { margin-bottom: 14px; }
  h1 { font-size: 30px; }
  .description { margin-top: 16px; }
  .follow-area { margin-top: 18px; }
  .hero-footer { padding-top: 14px; padding-bottom: 14px; }
}

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