:root {
  --bg: #0a1628;
  --deep: #06101c;
  --gold: #f4c430;
  --algae: #72c7b2;
  --lake: #1b6ca8;
  --mist: #f0f4f8;
  --muted: #8ba3b8;
  --edge: clamp(20px, 5vw, 56px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: radial-gradient(1200px 800px at 80% -10%, #143a5c 0%, var(--bg) 55%);
  color: var(--mist);
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, "Times New Roman", serif;
  line-height: 1.55;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--gold);
}

.corner-stack {
  position: fixed;
  left: 16px;
  bottom: 20px;
  z-index: 20;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px 14px;
  background: rgba(10, 22, 40, 0.82);
  border: 1px solid rgba(244, 196, 48, 0.28);
}

.corner-stack a {
  font-family: ui-rounded, "SF Pro Rounded", system-ui, sans-serif;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--algae);
}

.corner-stack a.is-here {
  color: var(--gold);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.35fr);
  min-height: 88vh;
  align-items: stretch;
}

.hero-copy {
  padding: 12vh var(--edge) 8vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: linear-gradient(180deg, transparent, rgba(6, 16, 28, 0.45));
}

.eyebrow {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--algae);
  margin: 0 0 18px;
}

.hero h1 {
  font-size: clamp(3.2rem, 7vw, 6.4rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  margin: 0;
  line-height: 0.9;
}

.hero-line2 {
  font-size: clamp(1.2rem, 2.4vw, 1.8rem);
  color: var(--gold);
  margin: 16px 0 0;
  max-width: 18ch;
}

.tagline {
  font-family: ui-rounded, "SF Pro Rounded", system-ui, sans-serif;
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 32ch;
  margin: 28px 0 0;
}

.hero-visual {
  position: relative;
  min-height: 52vh;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  clip-path: polygon(8% 0, 100% 0, 100% 100%, 0 100%);
}

.about {
  padding: 4rem var(--edge) 2rem;
  display: grid;
  justify-items: end;
}

.intro {
  font-family: ui-rounded, "SF Pro Rounded", system-ui, sans-serif;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 12px;
}

.intro-left { text-align: left; }
.intro-center { text-align: center; }
.intro-right { text-align: right; }

.lede {
  max-width: 42ch;
  font-size: 1.35rem;
  margin: 0;
  color: var(--mist);
}

.ritual {
  padding: 3rem var(--edge) 5rem;
}

.timeline {
  list-style: none;
  margin: 0;
  padding: 0 0 0 28px;
  border-left: 1px solid rgba(114, 199, 178, 0.35);
  max-width: 42rem;
}

.timeline li {
  position: relative;
  padding: 0 0 2.4rem 1.4rem;
}

.timeline h2 {
  margin: 0 0 8px;
  font-size: 1.6rem;
  font-weight: 600;
}

.timeline p {
  margin: 0;
  font-family: ui-rounded, "SF Pro Rounded", system-ui, sans-serif;
  color: var(--muted);
}

.node {
  position: absolute;
  left: -34px;
  top: 8px;
  width: 11px;
  height: 11px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 0 4px var(--bg);
}

.plates {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 12px;
}

.plates img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.plates img:nth-child(2) {
  margin-top: 36px;
}

.screens {
  padding: 2rem var(--edge) 5rem;
}

.screens .intro {
  margin-bottom: 2rem;
}

.device-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(16px, 4vw, 48px);
  max-width: 920px;
  margin: 0 auto;
  align-items: end;
}

.device-pair figure {
  margin: 0;
}

.device-pair figure:last-child {
  transform: translateY(-28px);
}

.device-pair img {
  width: 100%;
  border: 10px solid #132033;
  border-radius: 28px;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.35);
}

.device-pair figcaption {
  font-family: ui-rounded, "SF Pro Rounded", system-ui, sans-serif;
  font-size: 13px;
  color: var(--algae);
  margin-top: 12px;
}

.legal {
  padding: 1.5rem var(--edge) 2.5rem;
  max-width: 46rem;
}

.legal h2 {
  font-size: 2rem;
  margin: 0 0 1rem;
}

.dropcap::first-letter {
  float: left;
  font-size: 4.2rem;
  line-height: 0.8;
  padding: 8px 10px 0 0;
  color: var(--gold);
  font-weight: 600;
}

.legal p {
  font-family: ui-rounded, "SF Pro Rounded", system-ui, sans-serif;
  color: var(--muted);
}

.support {
  margin-left: auto;
}

.colophon {
  padding: 2rem var(--edge) 6rem;
  font-family: ui-monospace, Menlo, monospace;
  font-size: 12px;
  color: var(--muted);
}

@media (max-width: 860px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-visual img {
    clip-path: none;
    height: 42vh;
    object-fit: cover;
  }

  .hero-copy {
    padding: 4rem var(--edge) 2rem;
  }

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

  .device-pair figure:last-child {
    transform: none;
  }

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

  .plates img,
  .plates img:nth-child(2) {
    margin-top: 0;
    height: 180px;
  }

  .about {
    justify-items: start;
  }

  .corner-stack {
    left: 8px;
    bottom: 10px;
  }
}
