:root {
  --bg: #06111d;
  --panel: #0b1928;
  --ink: #f0e7d4;
  --muted: #c3b8a1;
  --gold: #d8b77d;
  --cyan: #8fc8d3;
  --line: rgba(143, 200, 211, 0.28);
  --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  font-family: "Trebuchet MS", "Segoe UI", Verdana, sans-serif;
  background:
    radial-gradient(circle at 80% 4%, rgba(64, 142, 168, 0.17), transparent 25%),
    radial-gradient(circle at 12% 33%, rgba(175, 124, 79, 0.1), transparent 24%),
    linear-gradient(180deg, #030a14 0%, var(--bg) 25%, #071321 72%, #030a13 100%);
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.35;
  background-image:
    radial-gradient(circle at 8% 16%, white 0 1px, transparent 2px),
    radial-gradient(circle at 65% 29%, white 0 1px, transparent 2px),
    radial-gradient(circle at 35% 69%, white 0 1px, transparent 2px),
    radial-gradient(circle at 91% 84%, white 0 1px, transparent 2px);
}
a { color: inherit; }
.page-shell { overflow: clip; position: relative; }
.hero {
  position: relative;
  min-height: 660px;
  display: flex;
  align-items: center;
  padding: 110px max(24px, calc((100vw - 1180px) / 2)) 100px;
  border-bottom: 1px solid rgba(216, 183, 125, 0.12);
}
.hero__inner { z-index: 1; max-width: 760px; }
.site-home-link {
  position: absolute;
  z-index: 3;
  top: 28px;
  left: max(24px, calc((100vw - 1180px) / 2));
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 17px;
  border: 1px solid rgba(216, 183, 125, 0.36);
  border-radius: 999px;
  background: rgba(4, 13, 23, 0.75);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-decoration: none;
  text-transform: uppercase;
}
.site-home-link span { color: var(--gold); font-size: 1.25rem; line-height: 0.7; }
.site-home-link:hover, .site-home-link:focus-visible,
.hero__jump:hover, .hero__jump:focus-visible,
.footer a:hover, .footer a:focus-visible { color: var(--cyan); outline-color: var(--cyan); }
.hero__kicker, .entry__phase {
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.hero__kicker { margin: 0 0 24px; }
h1, h2 { font-family: var(--serif); font-weight: 500; letter-spacing: -0.035em; }
h1 { margin: 0; font-size: clamp(3.7rem, 7.5vw, 7.1rem); line-height: 0.96; }
h1 em { color: #c8dce0; font-weight: 400; }
.hero__lead {
  max-width: 710px;
  margin: 32px 0 0;
  color: var(--muted);
  font-size: clamp(1.06rem, 1.6vw, 1.24rem);
  line-height: 1.8;
}
.hero__jump {
  display: inline-flex;
  gap: 18px;
  align-items: center;
  margin-top: 34px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--gold);
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-decoration: none;
  text-transform: uppercase;
}
.hero__jump span { font-size: 1.3rem; line-height: 0.8; }
.hero__orbit {
  position: absolute;
  width: 630px;
  aspect-ratio: 1;
  border: 1px solid rgba(143, 200, 211, 0.13);
  border-radius: 50%;
  box-shadow: inset 0 0 0 75px rgba(143, 200, 211, 0.025), inset 0 0 0 180px rgba(143, 200, 211, 0.018);
}
.hero__orbit--one { right: -210px; top: -160px; }
.hero__orbit--two { right: -360px; bottom: -410px; transform: rotate(24deg); }
.hero__figure {
  position: absolute;
  right: max(2%, calc((100vw - 1180px) / 2));
  top: 50%;
  width: clamp(220px, 27vw, 390px);
  aspect-ratio: 1;
  transform: translateY(-50%);
  border-radius: 50%;
  border: 1px solid rgba(143, 200, 211, 0.2);
  box-shadow: 0 0 0 38px rgba(143, 200, 211, 0.035), 0 0 0 96px rgba(143, 200, 211, 0.022);
  opacity: 0.72;
}
.hero__figure::before, .hero__figure::after, .hero__figure i { position: absolute; display: block; content: ""; border-radius: 50%; }
.hero__figure::before { inset: 19%; border: 1px solid rgba(216, 183, 125, 0.38); transform: rotate(38deg) scaleX(0.47); }
.hero__figure::after { inset: 19%; border: 1px solid rgba(143, 200, 211, 0.42); transform: rotate(-38deg) scaleX(0.47); }
.hero__figure i:nth-child(1) { inset: 43%; background: var(--gold); box-shadow: 0 0 42px 15px rgba(216, 183, 125, 0.45); }
.hero__figure i:nth-child(2) { top: 17%; right: 27%; width: 8px; height: 8px; background: var(--cyan); box-shadow: 0 0 20px var(--cyan); }
.hero__figure i:nth-child(3) { bottom: 19%; left: 22%; width: 6px; height: 6px; background: var(--gold); box-shadow: 0 0 20px var(--gold); }
.story { max-width: 1230px; margin: auto; padding: 0 24px; }
.story__intro { max-width: 710px; margin: 0 auto; padding: 72px 0 55px; text-align: center; }
.story__rule { display: block; height: 54px; width: 1px; margin: 0 auto 30px; background: linear-gradient(transparent, var(--gold)); }
.story__intro p { margin: 0; color: var(--muted); font-family: var(--serif); font-size: clamp(1.4rem, 2.4vw, 2rem); line-height: 1.35; }
.timeline { position: relative; padding: 4px 0 38px; }
.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: linear-gradient(transparent, var(--line) 6%, var(--line) 94%, transparent);
}
.entry { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 94px minmax(0, 1fr); align-items: center; margin: 0 0 32px; }
.entry__content {
  padding: clamp(25px, 3vw, 42px);
  border: 1px solid rgba(216, 183, 125, 0.19);
  border-radius: 30px;
  background: linear-gradient(155deg, rgba(14, 31, 47, 0.9), rgba(7, 18, 31, 0.96));
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.22);
}
.entry--left .entry__content { grid-column: 1; }
.entry--right .entry__content { grid-column: 3; }
.entry__phase { display: inline-block; padding: 7px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: 0.69rem; letter-spacing: 0.12em; }
.entry h2 { margin: 21px 0 19px; font-size: clamp(2rem, 2.7vw, 3rem); line-height: 1.04; }
.entry p { margin: 0; color: var(--muted); font-size: 1rem; line-height: 1.78; }
.entry p + p { margin-top: 16px; }
.entry__node {
  position: relative;
  grid-column: 2;
  grid-row: 1;
  justify-self: center;
  width: 54px;
  height: 54px;
  border: 1px solid rgba(216, 183, 125, 0.6);
  border-radius: 50%;
  background: radial-gradient(circle at 36% 32%, #f7dfaa, #668ca0 25%, #183851 52%, #07121f 78%);
  box-shadow: 0 0 0 12px rgba(143, 200, 211, 0.04), 0 0 35px rgba(143, 200, 211, 0.24);
}
.entry__node::after { content: ""; position: absolute; inset: -18px; border: 1px dashed rgba(216, 183, 125, 0.17); border-radius: 50%; }
.entry:nth-child(3n+2) .entry__node { background: radial-gradient(circle at 35% 30%, #f2deb0, #a7795a 30%, #34445d 65%, #091320 80%); }
.entry:nth-child(3n+3) .entry__node { background: radial-gradient(circle at 50% 50%, #ecfbfc 0 9%, #80c5d5 18%, #234d68 49%, #091320 77%); }
.story__end { display: grid; place-items: center; padding: 10px 0 70px; }
.story__end span { width: 12px; height: 12px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 22px var(--gold); }
.footer { padding: 0 24px 60px; text-align: center; }
.footer a { color: var(--gold); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.16em; text-decoration: none; text-transform: uppercase; }
.footer span { margin-left: 8px; }

@media (max-width: 900px) {
  .hero { min-height: auto; padding: 30px 24px 90px; display: block; }
  .site-home-link { position: relative; top: auto; left: auto; width: max-content; margin: 0 0 56px; }
  .hero__figure { right: -95px; top: 30%; opacity: 0.24; }
  .hero__inner { position: relative; }
  .timeline::before { left: 33px; }
  .entry { grid-template-columns: 66px minmax(0, 1fr); gap: 12px; align-items: start; }
  .entry__node { grid-column: 1; width: 54px; height: 54px; }
  .entry--left .entry__content, .entry--right .entry__content { grid-column: 2; grid-row: 1; }
}
@media (max-width: 560px) {
  .hero { padding: 24px 20px 76px; }
  .site-home-link { margin-bottom: 42px; }
  h1 { font-size: clamp(3.15rem, 12vw, 4.7rem); }
  .hero__lead { font-size: 1rem; }
  .story { padding: 0 14px; }
  .story__intro { padding: 52px 16px 42px; }
  .timeline::before { left: 23px; }
  .entry { grid-template-columns: 48px minmax(0, 1fr); gap: 8px; margin-bottom: 22px; }
  .entry__node { width: 38px; height: 38px; }
  .entry__node::after { inset: -10px; }
  .entry__content { padding: 22px 18px; border-radius: 22px; }
  .entry h2 { font-size: clamp(1.8rem, 7vw, 2.3rem); }
  .entry p { font-size: 0.95rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
