:root {
  --ink: #07131c;
  --ink-2: #0b1c27;
  --sea: #4d7f92;
  --sea-soft: #8fa6b3;
  --amber: #ffd27a;
  --sand: #f6e6c4;
  --paper: #e8eef2;
  --muted: #9fb3bf;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  min-height: 100%;
}

body {
  background: radial-gradient(120% 90% at 50% 0%, #0e2431 0%, var(--ink) 55%, #040b11 100%);
  color: var(--paper);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ---------- atmosphere ---------- */

.sky {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.stars {
  position: absolute;
  inset: -20%;
  background-image:
    radial-gradient(1.4px 1.4px at 12% 18%, rgba(255,255,255,.75) 50%, transparent 51%),
    radial-gradient(1.2px 1.2px at 78% 12%, rgba(255,255,255,.6) 50%, transparent 51%),
    radial-gradient(1.6px 1.6px at 42% 8%, rgba(255,255,255,.55) 50%, transparent 51%),
    radial-gradient(1.1px 1.1px at 88% 42%, rgba(255,255,255,.5) 50%, transparent 51%),
    radial-gradient(1.3px 1.3px at 26% 46%, rgba(255,255,255,.45) 50%, transparent 51%),
    radial-gradient(1px 1px at 62% 30%, rgba(255,255,255,.5) 50%, transparent 51%),
    radial-gradient(1.2px 1.2px at 8% 68%, rgba(255,255,255,.35) 50%, transparent 51%),
    radial-gradient(1px 1px at 94% 74%, rgba(255,255,255,.3) 50%, transparent 51%);
  opacity: .9;
  animation: drift 90s linear infinite alternate;
}

@keyframes drift {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-2%, 1.5%, 0); }
}

.beam {
  position: absolute;
  top: 46%;
  left: 50%;
  width: 190vmax;
  height: 190vmax;
  margin: -95vmax 0 0 -95vmax;
  background: conic-gradient(
    from 0deg,
    rgba(255, 210, 122, 0) 0deg,
    rgba(255, 210, 122, .10) 6deg,
    rgba(255, 210, 122, .22) 9deg,
    rgba(255, 210, 122, .10) 12deg,
    rgba(255, 210, 122, 0) 18deg,
    rgba(255, 210, 122, 0) 360deg
  );
  animation: sweep 26s linear infinite;
  opacity: .55;
  filter: blur(2px);
}

.beam--delay {
  animation-duration: 26s;
  animation-delay: -13s;
  opacity: .3;
}

@keyframes sweep {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* ---------- layout ---------- */

.stage {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: clamp(1.5rem, 4vw, 3rem);
  max-width: 60rem;
  margin: 0 auto;
}

/* ---------- brand ---------- */

.brand {
  display: flex;
  align-items: center;
  gap: .7rem;
  align-self: flex-start;
  opacity: .92;
}

.mark {
  width: 34px;
  height: 34px;
  flex: none;
}

.brand__name {
  font-size: .78rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--sea-soft);
  font-weight: 400;
}

/* ---------- hero ---------- */

.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: clamp(2rem, 8vh, 5rem) 0;
  max-width: 40rem;
}

.eyebrow {
  margin: 0 0 1.4rem;
  font-size: .72rem;
  letter-spacing: .38em;
  text-transform: uppercase;
  color: var(--amber);
  font-weight: 500;
}

.eyebrow::before,
.eyebrow::after {
  content: "";
  display: inline-block;
  width: 1.6rem;
  height: 1px;
  background: currentColor;
  vertical-align: middle;
  opacity: .5;
  margin: 0 .8rem;
}

h1 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 300;
  font-size: clamp(2.4rem, 7vw, 4.2rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--sand);
}

h1 em {
  font-style: italic;
  color: var(--sea-soft);
}

.lede {
  margin: 1.6rem 0 0;
  font-size: clamp(.95rem, 2.2vw, 1.05rem);
  line-height: 1.75;
  color: var(--muted);
  max-width: 34rem;
}

.rule {
  width: 4rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--sea), transparent);
  margin: 2.2rem 0 1.6rem;
}

.note {
  margin: 0 0 2rem;
  font-size: .9rem;
  line-height: 1.7;
  color: var(--sea-soft);
  letter-spacing: .01em;
}

/* ---------- cta ---------- */

.cta {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .85rem 1.6rem;
  border: 1px solid rgba(255, 210, 122, .35);
  border-radius: 999px;
  color: var(--sand);
  text-decoration: none;
  font-size: .82rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 400;
  background: rgba(255, 210, 122, .04);
  transition: background .3s ease, border-color .3s ease, transform .3s ease, box-shadow .3s ease;
}

.cta svg {
  width: 15px;
  height: 15px;
  transition: transform .3s ease;
}

.cta:hover,
.cta:focus-visible {
  background: rgba(255, 210, 122, .12);
  border-color: rgba(255, 210, 122, .7);
  box-shadow: 0 0 40px -8px rgba(255, 210, 122, .45);
  transform: translateY(-1px);
  outline: none;
}

.cta:hover svg,
.cta:focus-visible svg {
  transform: translateX(3px);
}

/* ---------- footer ---------- */

.foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: .5rem;
  padding-top: 1.5rem;
  font-size: .72rem;
  letter-spacing: .06em;
  color: rgba(159, 179, 191, .55);
  text-align: center;
}

.dot { opacity: .5; }

/* ---------- motion preferences ---------- */

@media (prefers-reduced-motion: reduce) {
  .stars, .beam { animation: none; }
  .cta, .cta svg { transition: none; }
}

@media (max-width: 480px) {
  .brand { align-self: center; }
  .eyebrow::before, .eyebrow::after { width: 1rem; margin: 0 .5rem; }
}
