:root {
  --ink: #f8f5e9;
  --soft: #cfd3ca;
  --dark: #10140f;
  --field: #536345;
  --field-dark: #273121;
  --steel: #c8cecb;
  --steel-deep: #68706b;
  --gold: #ffe3a0;
  --gold-deep: #c08a36;
  --leather: #704b34;
  --mist: #d6dcdd;
  --panel: rgba(16, 20, 15, 0.82);
  --line: rgba(248, 245, 233, 0.2);
  --shadow: 0 28px 88px rgba(0, 0, 0, 0.44);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 74% 8%, rgba(255, 227, 160, 0.25), transparent 20rem),
    radial-gradient(circle at 14% 18%, rgba(214, 220, 221, 0.2), transparent 24rem),
    linear-gradient(180deg, #293026 0%, #151b12 48%, #080a07 100%);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

button {
  font: inherit;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(1180px, calc(100% - 2rem));
  min-height: 78px;
  margin: 1rem auto 0;
  padding: 0.78rem;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: rgba(9, 12, 8, 0.72);
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.78rem;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  flex: 0 0 50px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 35%, #fff7d2 0 22%, transparent 23%),
    conic-gradient(from 120deg, var(--gold), var(--steel), var(--field), var(--gold));
  color: #11140f;
  font-size: 0.78rem;
  font-weight: 950;
  box-shadow: 0 0 32px rgba(255, 227, 160, 0.32);
}

.brand strong,
.brand small {
  display: block;
  max-width: min(44vw, 340px);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand strong {
  font-size: 1rem;
}

.brand small {
  margin-top: 0.12rem;
  color: var(--soft);
  font-weight: 850;
}

.nav-links,
.cta-row,
.ticker-line {
  display: flex;
  align-items: center;
  gap: 0.62rem;
  flex-wrap: wrap;
}

.nav-links a,
.button,
[data-copy] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 1px solid rgba(248, 245, 233, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--ink);
  font-weight: 900;
  white-space: nowrap;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.nav-links a {
  min-width: 56px;
  padding: 0 1rem;
}

.nav-links a:hover,
.button:hover,
[data-copy]:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 227, 160, 0.72);
  background: rgba(255, 227, 160, 0.11);
}

main {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}

.hero {
  padding: 1rem 0 0;
}

.banner {
  position: relative;
  min-height: clamp(245px, 38vw, 450px);
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 34px;
  background: var(--dark);
  box-shadow: var(--shadow);
}

.banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 47% 17%, rgba(255, 227, 160, 0.2), transparent 14rem),
    linear-gradient(90deg, rgba(8, 10, 7, 0.78), transparent 36%, rgba(8, 10, 7, 0.08)),
    linear-gradient(0deg, rgba(8, 10, 7, 0.86), transparent 46%);
  pointer-events: none;
}

.banner img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  display: block;
  object-fit: cover;
  object-position: center;
}

.signal-row {
  display: flex;
  gap: 0.55rem;
  width: min(420px, 60vw);
  margin: -1.35rem auto 0;
  padding: 0.6rem;
  border: 1px solid rgba(255, 227, 160, 0.22);
  border-radius: 999px;
  background: rgba(8, 10, 7, 0.82);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(14px);
}

.signal-dot {
  flex: 1;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 227, 160, 0.22), var(--gold));
  animation: signal-pulse 1.7s ease-in-out infinite alternate;
  animation-delay: var(--delay);
}

@keyframes signal-pulse {
  to {
    opacity: 0.35;
    transform: scaleX(0.72);
  }
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 410px);
  gap: 1rem;
  align-items: stretch;
  margin-top: 1rem;
}

.signal-panel,
.relic-card,
.status-grid article,
.brief {
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.signal-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(1.25rem, 4vw, 3rem);
  border-radius: 28px;
}

.signal-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(125deg, rgba(255, 227, 160, 0.16), transparent 38%),
    radial-gradient(circle at 82% 20%, rgba(200, 206, 203, 0.12), transparent 16rem);
  pointer-events: none;
}

.signal-panel > * {
  position: relative;
}

.eyebrow {
  margin: 0 0 0.82rem;
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 950;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
p,
strong {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 9ch;
  margin: 0;
  color: #fff9e9;
  font-size: clamp(3.25rem, 8.2vw, 7rem);
  line-height: 0.88;
  letter-spacing: 0;
  text-transform: uppercase;
  text-wrap: balance;
}

.lead {
  max-width: 58ch;
  margin: 1.15rem 0 0;
  color: #e7e7dc;
  font-size: clamp(1rem, 1.65vw, 1.22rem);
  line-height: 1.62;
}

.ticker-line {
  margin-top: 1.25rem;
}

.ticker-line > span {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 1rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold), #fff8d8 50%, var(--steel));
  color: #11140f;
  font-weight: 950;
}

[data-copy] {
  cursor: pointer;
  padding: 0 1rem;
}

.cta-row {
  margin-top: 1.45rem;
}

.button {
  min-width: 128px;
  padding: 0.78rem 1.05rem;
}

.button.primary {
  border-color: transparent;
  background: linear-gradient(135deg, var(--gold), #fff8d8);
  color: #11140f;
}

.relic-card {
  overflow: hidden;
  padding: 0.75rem;
  border-radius: 28px;
}

.relic-card img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  display: block;
  object-fit: cover;
  object-position: center;
  border-radius: 22px;
}

.status-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  margin: 1rem 0;
}

.status-grid article {
  min-height: 142px;
  padding: 1rem;
  border-radius: 24px;
}

.status-grid span {
  display: block;
  color: var(--soft);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.status-grid strong {
  display: block;
  margin-top: 0.58rem;
  color: var(--gold);
  font-size: clamp(1.3rem, 2.6vw, 2rem);
}

.status-grid p {
  margin: 0.65rem 0 0;
  color: #dce1d7;
  line-height: 1.5;
}

.brief {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: 1.5rem;
  align-items: start;
  margin-bottom: 1rem;
  padding: clamp(1.2rem, 4vw, 2.4rem);
  border-radius: 28px;
}

.brief .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: -0.7rem;
}

.brief h2 {
  margin: 0;
  color: #fff9e9;
  font-size: clamp(1.9rem, 4vw, 3.8rem);
  line-height: 1;
  letter-spacing: 0;
  text-wrap: balance;
}

.brief > p:not(.eyebrow) {
  margin: 0;
  color: #e2e5da;
  font-size: clamp(1rem, 1.7vw, 1.16rem);
  line-height: 1.7;
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1rem 0 2rem;
  color: var(--soft);
  font-weight: 900;
}

@media (max-width: 900px) {
  .hero-layout,
  .brief {
    grid-template-columns: 1fr;
  }

  h1 {
    max-width: 10ch;
    font-size: clamp(3rem, 14vw, 5.3rem);
  }

  .relic-card img {
    min-height: 0;
    aspect-ratio: 16 / 10;
  }

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

@media (max-width: 620px) {
  main,
  .topbar,
  footer {
    width: min(100% - 1rem, 1180px);
  }

  .topbar,
  footer {
    flex-direction: column;
    align-items: stretch;
  }

  .brand strong,
  .brand small {
    max-width: calc(100vw - 7rem);
  }

  .nav-links,
  .cta-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
  }

  .nav-links a,
  .button {
    min-width: 0;
    width: 100%;
    padding-inline: 0.45rem;
  }

  .banner {
    min-height: 255px;
    border-radius: 24px;
  }

  .banner img {
    object-position: 48% center;
  }

  .signal-row {
    width: min(90vw, 420px);
  }

  .signal-panel,
  .relic-card,
  .brief {
    border-radius: 22px;
  }

  h1 {
    font-size: clamp(2.7rem, 16vw, 4.1rem);
  }
}
