:root {
  --ink: #061821;
  --deep: #0a2f3a;
  --lagoon: #125a66;
  --mist: #c8d9d4;
  --paper: #e8f0ec;
  --amber: #d4a11a;
  --copper: #c56a2d;
  --glow: rgba(212, 161, 26, 0.22);
  --font-display: "Bricolage Grotesque", system-ui, sans-serif;
  --font-body: "Source Serif 4", Georgia, serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--paper);
  background: var(--ink);
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: var(--amber);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--paper);
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: var(--paper);
  padding: 0.75rem 1rem;
  z-index: 20;
}

.skip:focus {
  left: 1rem;
  top: 1rem;
}

.sky {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(120% 80% at 70% -10%, rgba(197, 106, 45, 0.35), transparent 55%),
    radial-gradient(90% 70% at 10% 20%, rgba(18, 90, 102, 0.55), transparent 50%),
    linear-gradient(180deg, #041018 0%, var(--deep) 42%, #0c3d48 72%, #163028 100%);
}

.sky__glow {
  position: absolute;
  width: 55vmin;
  height: 55vmin;
  right: 8%;
  top: 12%;
  border-radius: 50%;
  background: radial-gradient(circle, var(--glow), transparent 68%);
  animation: pulse 8s var(--ease) infinite alternate;
}

.sky__horizon {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 18%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(232, 240, 236, 0.35), transparent);
  box-shadow: 0 0 40px 8px rgba(212, 161, 26, 0.12);
}

.sky__routes {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.45;
}

.route {
  fill: none;
  stroke: rgba(200, 217, 212, 0.35);
  stroke-width: 1.25;
  stroke-dasharray: 8 14;
  animation: dash 28s linear infinite;
}

.route--b {
  stroke: rgba(212, 161, 26, 0.28);
  animation-duration: 36s;
  animation-direction: reverse;
}

.pin {
  fill: var(--amber);
  opacity: 0;
  animation: pin-in 1.2s var(--ease) forwards;
}

.pin--1 { animation-delay: 0.6s; }
.pin--2 { animation-delay: 1s; }
.pin--3 { animation-delay: 1.35s; }

.page {
  position: relative;
  z-index: 1;
  width: min(1080px, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 1.5rem 0 3rem;
}

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.5rem 0 2rem;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--paper);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand-mark img {
  display: block;
  width: 42px;
  height: 42px;
}

.top__meta {
  margin: 0;
  color: var(--mist);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: var(--font-display);
  font-weight: 500;
}

.hero {
  min-height: min(72vh, 720px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 3rem 0 4.5rem;
  max-width: 42rem;
}

.hero__kicker {
  margin: 0 0 1rem;
  color: var(--amber);
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero__brand {
  margin: 0 0 1.25rem;
  font-family: var(--font-display);
  font-size: clamp(3.4rem, 12vw, 6.5rem);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.045em;
  color: var(--paper);
  text-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.hero__copy {
  margin: 0 0 2rem;
  max-width: 34rem;
  color: var(--mist);
  font-size: clamp(1.15rem, 2.4vw, 1.35rem);
}

.hero__cta {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 0.9rem 1.35rem;
  border: 1px solid rgba(212, 161, 26, 0.55);
  color: var(--ink);
  background: var(--amber);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: transform 0.35s var(--ease), background 0.25s ease, border-color 0.25s ease;
}

.hero__cta:hover {
  color: var(--ink);
  background: #e6b83a;
  border-color: #e6b83a;
  transform: translateY(-2px);
}

.notes {
  padding: 1rem 0 2rem;
  border-top: 1px solid rgba(200, 217, 212, 0.18);
}

.notes__intro {
  max-width: 40rem;
  margin-bottom: 2.5rem;
}

.label {
  margin: 0 0 0.5rem;
  color: var(--amber);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.notes__intro h2,
.pillar h3 {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.notes__intro h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  color: var(--paper);
}

.notes__intro p,
.pillar p:last-child {
  margin: 0;
  color: var(--mist);
}

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem 2.5rem;
}

.pillar h3 {
  font-size: 1.35rem;
  color: var(--paper);
}

.foot {
  margin-top: 3rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(200, 217, 212, 0.14);
  color: var(--mist);
  font-size: 0.95rem;
}

.foot p {
  margin: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: rise 0.9s var(--ease) forwards;
}

.reveal--2 { animation-delay: 0.12s; }
.reveal--3 { animation-delay: 0.24s; }
.reveal--4 { animation-delay: 0.36s; }

@keyframes rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes dash {
  to {
    stroke-dashoffset: -400;
  }
}

@keyframes pin-in {
  from {
    opacity: 0;
    transform: scale(0.4);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes pulse {
  from { opacity: 0.55; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1.05); }
}

@media (max-width: 820px) {
  .pillars {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .hero {
    min-height: 68vh;
    padding-bottom: 3rem;
  }

  .page {
    width: min(1080px, calc(100% - 1.75rem));
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal,
  .pin,
  .route,
  .sky__glow {
    animation: none !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
  .pin {
    opacity: 1;
  }
}
