:root {
  --bg: #071820;
  --deep: #0e3344;
  --card: #143f52;
  --accent: #5ee1f5;
  --accent2: #ffb14a;
  --text: #eaf9fc;
  --muted: #7a99a8;
  --frost: #d5f4fa;
  --ink-dark: #0c2530;
  --max: 1080px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "IBM Plex Sans", system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(94, 225, 245, 0.18), transparent 60%),
    radial-gradient(900px 500px at -10% 40%, rgba(255, 177, 74, 0.12), transparent 55%),
    linear-gradient(180deg, #05141c 0%, var(--bg) 40%, #0a2430 100%);
  min-height: 100vh;
  line-height: 1.55;
}

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

a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent2); }

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--accent2);
  color: var(--ink-dark);
  padding: 0.6rem 1rem;
  z-index: 100;
}
.skip:focus { left: 1rem; top: 1rem; }

.pill-nav {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 50;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: center;
  max-width: min(92vw, 420px);
  padding: 0.55rem 0.7rem;
  border-radius: 999px;
  background: rgba(14, 51, 68, 0.88);
  border: 1px solid rgba(94, 225, 245, 0.35);
  backdrop-filter: blur(12px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.pill-brand {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--frost);
  text-decoration: none;
  padding: 0.35rem 0.65rem;
}

.pill-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem;
}

.pill-links a {
  color: var(--frost);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 500;
  padding: 0.4rem 0.65rem;
  border-radius: 999px;
}

.pill-links a:hover {
  background: rgba(94, 225, 245, 0.16);
  color: var(--accent);
}

.hero {
  position: relative;
  min-height: min(92vh, 760px);
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
}

.hero-band {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 42%, rgba(94, 225, 245, 0.16) 42.2%, rgba(255, 177, 74, 0.18) 68%, transparent 68.3%);
  z-index: 2;
  pointer-events: none;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.05);
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 24, 32, 0.15) 0%, rgba(7, 24, 32, 0.72) 55%, rgba(7, 24, 32, 0.96) 100%);
}

.hero-copy {
  position: relative;
  z-index: 3;
  width: min(100% - 2.5rem, var(--max));
  margin: 0 auto 4.5rem;
  padding-top: 6rem;
}

.kicker {
  margin: 0 0 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--accent2);
  font-weight: 600;
}

.hero h1 {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 8vw, 4.6rem);
  line-height: 1.02;
  font-weight: 700;
}

.tagline {
  max-width: 34rem;
  margin: 0 0 1.5rem;
  color: var(--frost);
  font-size: 1.1rem;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.2rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
}

.btn.primary {
  background: linear-gradient(135deg, var(--accent), #1fa8c4);
  color: var(--ink-dark);
}

.btn.ghost {
  border-color: rgba(234, 249, 252, 0.35);
  color: var(--text);
  background: rgba(20, 63, 82, 0.45);
}

.facts {
  width: min(100% - 2.5rem, var(--max));
  margin: -1.5rem auto 3rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.fact {
  background: rgba(20, 63, 82, 0.75);
  border: 1px solid rgba(94, 225, 245, 0.2);
  border-radius: 18px;
  padding: 1rem 1.1rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.fact span {
  display: block;
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.holes,
.catch,
.legal-panel,
.support-panel {
  width: min(100% - 2.5rem, var(--max));
  margin: 0 auto 4.5rem;
}

.section-intro { margin-bottom: 1.75rem; max-width: 38rem; }
.section-intro.left { margin-right: auto; text-align: left; }
.section-intro.right { margin-left: auto; text-align: right; }

.section-intro h2 {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 4vw, 2.35rem);
}

.section-intro p { margin: 0; color: var(--muted); }

.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  border-left: 2px solid rgba(94, 225, 245, 0.35);
}

.timeline li {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: 1rem;
  padding: 0 0 1.75rem 1.25rem;
  position: relative;
}

.timeline li::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 0.35rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent2);
  box-shadow: 0 0 0 4px rgba(255, 177, 74, 0.2);
}

.timeline time {
  font-family: var(--font-display);
  color: var(--accent);
  font-weight: 700;
  font-size: 1.2rem;
}

.timeline h3 {
  margin: 0 0 0.35rem;
  font-size: 1.2rem;
}

.timeline p { margin: 0; color: var(--frost); }

.polaroids {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  align-items: start;
  padding: 1rem 0 2rem;
}

.polaroid {
  margin: 0;
  background: #f4fbfd;
  color: var(--ink-dark);
  padding: 0.7rem 0.7rem 1rem;
  border-radius: 6px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.polaroid img {
  aspect-ratio: 1;
  object-fit: cover;
  width: 100%;
}

.polaroid figcaption {
  margin-top: 0.65rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  text-align: center;
}

.tilt-a { transform: rotate(-3.5deg) translateY(12px); }
.tilt-b { transform: rotate(2.2deg) translateY(-8px); }
.tilt-c { transform: rotate(-1.4deg) translateY(18px); }

.legal-prose,
.support-card {
  background: rgba(20, 63, 82, 0.55);
  border: 1px solid rgba(94, 225, 245, 0.18);
  border-radius: 22px;
  padding: 1.5rem 1.35rem;
}

.legal-prose h3 {
  margin: 1.35rem 0 0.45rem;
  font-size: 1.05rem;
  color: var(--accent);
}

.legal-prose h3:first-child { margin-top: 0; }
.legal-prose p { margin: 0 0 0.35rem; color: var(--frost); }

.support-card p { margin: 0 0 1rem; color: var(--frost); }

.site-foot {
  width: min(100% - 2.5rem, var(--max));
  margin: 0 auto 6rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(122, 153, 168, 0.35);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.site-foot a { color: var(--muted); }

@media (max-width: 820px) {
  .facts { grid-template-columns: 1fr; }
  .polaroids { grid-template-columns: 1fr; max-width: 360px; margin-inline: auto; }
  .tilt-a, .tilt-b, .tilt-c { transform: none; }
  .section-intro.right { text-align: left; margin-left: 0; }
  .timeline li { grid-template-columns: 3rem 1fr; }
  .pill-nav {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    bottom: 0.85rem;
    justify-content: center;
  }
  .site-foot { flex-direction: column; }
}
