:root {
  color-scheme: dark;
  --ink: #f4f8ff;
  --muted: #b9c7d8;
  --soft: #7f91aa;
  --blue: #4ea3ff;
  --cyan: #8ee7ff;
  --amber: #f2b35f;
  --deep: #020712;
  --night: #061122;
  --line: rgba(198, 226, 255, 0.22);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--deep);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.5;
  background:
    radial-gradient(circle at 20% 12%, rgba(68, 149, 255, 0.24), transparent 28rem),
    linear-gradient(180deg, #061122 0%, #020712 52%, #050914 100%);
}

a {
  color: inherit;
}

.hero {
  position: relative;
  min-height: 92svh;
  overflow: hidden;
  isolation: isolate;
  display: grid;
  align-items: center;
  padding: 5rem clamp(1.25rem, 4vw, 4.5rem) 8rem;
}

.sky,
.hero__image,
.hero__shade {
  position: absolute;
  inset: 0;
  z-index: -3;
}

.sky {
  opacity: 0.8;
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.85) 0 1px, transparent 1.4px),
    radial-gradient(circle, rgba(142, 231, 255, 0.9) 0 1px, transparent 1.3px),
    radial-gradient(circle, rgba(242, 179, 95, 0.72) 0 1px, transparent 1.2px);
  background-position: 0 0, 54px 88px, 130px 28px;
  background-size: 180px 180px, 240px 240px, 310px 310px;
  animation: drift 42s linear infinite;
}

.hero__image {
  z-index: -2;
  background-image: url("assets/blue-horizon.png");
  background-position: center;
  background-size: cover;
  filter: saturate(0.95) contrast(1.04);
}

.hero__shade {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(2, 7, 18, 0.95), rgba(2, 7, 18, 0.68) 42%, rgba(2, 7, 18, 0.2)),
    linear-gradient(180deg, rgba(2, 7, 18, 0.15), rgba(2, 7, 18, 0.2) 54%, #020712 98%);
}

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem clamp(1.25rem, 4vw, 4.5rem);
}

.wordmark,
.listen-link {
  text-decoration: none;
}

.wordmark {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
}

.listen-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.5rem;
  padding: 0.65rem 1rem;
  border: 1px solid var(--line);
  background: rgba(4, 13, 28, 0.42);
  backdrop-filter: blur(14px);
  font-size: 0.84rem;
  font-weight: 700;
  transition:
    border-color 180ms ease,
    background-color 180ms ease,
    transform 180ms ease;
}

.listen-link:hover {
  transform: translateY(-1px);
  border-color: rgba(142, 231, 255, 0.8);
  background: rgba(18, 54, 92, 0.5);
}

.hero__content {
  width: min(46rem, 100%);
  padding-top: 5rem;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--cyan);
  font-size: clamp(0.78rem, 1.7vw, 0.92rem);
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(5.2rem, 18vw, 13rem);
  font-weight: 400;
  line-height: 0.78;
  letter-spacing: 0;
  text-shadow: 0 0 34px rgba(78, 163, 255, 0.34);
}

.lede {
  max-width: 38rem;
  margin: 2rem 0 0;
  color: #e7f0fb;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 3vw, 2.35rem);
  line-height: 1.14;
}

.lyric {
  display: inline-block;
  margin: 2.3rem 0 0;
  padding-left: 1rem;
  border-left: 2px solid var(--amber);
  color: var(--muted);
  font-size: clamp(0.95rem, 1.8vw, 1.12rem);
  font-style: italic;
}

.reflection {
  padding: clamp(4.5rem, 9vw, 8rem) clamp(1.25rem, 4vw, 4.5rem);
  background:
    linear-gradient(180deg, #020712, rgba(6, 17, 34, 0.92)),
    radial-gradient(circle at 82% 20%, rgba(242, 179, 95, 0.14), transparent 20rem);
}

.reflection__inner {
  width: min(58rem, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 4rem);
}

.reflection p {
  margin: 0;
  color: var(--muted);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.25rem, 2.5vw, 2rem);
  line-height: 1.25;
}

.about {
  padding: clamp(3rem, 7vw, 6rem) clamp(1.25rem, 4vw, 4.5rem);
  border-top: 1px solid var(--line);
  background: rgba(3, 11, 25, 0.54);
}

.about__inner {
  width: min(58rem, 100%);
  margin: 0 auto;
}

.about h2 {
  max-width: 48rem;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 5vw, 4.25rem);
  font-weight: 400;
  line-height: 1;
}

.about p:last-child {
  max-width: 48rem;
  margin: 1.5rem 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.7vw, 1.18rem);
}

.constellation {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.constellation article {
  min-height: 18rem;
  padding: clamp(1.5rem, 4vw, 3rem);
  border-right: 1px solid var(--line);
  background: rgba(3, 11, 25, 0.42);
}

.constellation article:last-child {
  border-right: 0;
}

.constellation span {
  display: block;
  margin-bottom: 4rem;
  color: var(--soft);
  font-family: Georgia, "Times New Roman", serif;
}

.constellation h2 {
  margin: 0 0 0.75rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 400;
  line-height: 0.95;
}

.constellation p {
  max-width: 22rem;
  margin: 0;
  color: var(--muted);
}

footer {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  padding: clamp(2rem, 5vw, 4.5rem) clamp(1.25rem, 4vw, 4.5rem);
  color: var(--muted);
}

footer p {
  margin: 0;
}

footer p:first-child {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.6rem, 4vw, 3.6rem);
}

.note {
  max-width: 32rem;
  color: var(--soft);
  font-size: 0.88rem;
  text-align: right;
}

@keyframes drift {
  to {
    background-position: 180px 180px, 294px 328px, 440px 338px;
  }
}

@media (max-width: 760px) {
  .hero {
    min-height: 88svh;
    padding-bottom: 5rem;
  }

  .hero__shade {
    background:
      linear-gradient(90deg, rgba(2, 7, 18, 0.95), rgba(2, 7, 18, 0.7)),
      linear-gradient(180deg, rgba(2, 7, 18, 0.1), rgba(2, 7, 18, 0.18) 48%, #020712 98%);
  }

  .reflection__inner,
  .constellation {
    grid-template-columns: 1fr;
  }

  .constellation article {
    min-height: 15rem;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .constellation article:last-child {
    border-bottom: 0;
  }

  .constellation span {
    margin-bottom: 2.5rem;
  }

  footer {
    display: grid;
  }

  .note {
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }
}
