:root {
  color-scheme: dark;
  --navy: #061225;
  --ink: #031022;
  --gold: #fed129;
  --gold-light: #ffe493;
  --white: #fdfdfe;
  --muted: #aebdd2;
  --line: #9ebbe033;
  font-family: "Segoe UI", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--white);
  background:
    radial-gradient(ellipse at 90% 15%, #18395d 0%, transparent 31rem),
    radial-gradient(ellipse at 10% 55%, #0e2340 0%, transparent 40rem),
    var(--navy);
}

.shell { width: min(90%, 80rem); margin-inline: auto; }

a { color: inherit; }
a:focus-visible { outline: 2px solid var(--gold); outline-offset: .3rem; }

.skip {
  position: absolute;
  z-index: 4;
  top: .75rem;
  left: .75rem;
  padding: .7rem 1rem;
  color: var(--ink);
  background: var(--gold);
  transform: translateY(-160%);
}
.skip:focus { transform: translateY(0); }

.header, .footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 5rem;
  padding-block: 1rem;
}

.header { border-bottom: 1px solid var(--line); }
.brand {
  font-size: 1.37rem;
  font-weight: 850;
  font-style: italic;
  letter-spacing: -.045em;
  text-decoration: none;
}
.brand span { color: var(--gold); }

nav { display: flex; align-items: center; gap: clamp(.9rem, 3.2vw, 3rem); }
nav a {
  display: grid;
  align-items: center;
  min-height: 2.75rem;
  color: var(--muted);
  font-size: .9rem;
  font-weight: 650;
  text-decoration: none;
}
nav a:hover, .email:hover { color: var(--gold-light); }

.hero {
  min-height: 39rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.04fr);
  gap: clamp(1.5rem, 4.5vw, 4.75rem);
  align-items: center;
  padding-block: clamp(3rem, 8vw, 7.25rem);
}

.hero-copy { animation: arrive .65s ease-out both; }

.status {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  border: 1px solid #e7c76255;
  border-radius: 100vw;
  background: #d5ad2510;
  color: var(--gold-light);
  padding: .45rem .8rem;
  margin: 0 0 1.4rem;
  font-size: .875rem;
  font-weight: 650;
}
.status::before {
  content: "";
  width: .4rem;
  height: .4rem;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 .65rem var(--gold);
}

h1, h2, h3, p { margin: 0; }

h1 {
  font-size: clamp(2.75rem, 5.85vw, 5.75rem);
  line-height: .99;
  font-weight: 850;
  letter-spacing: -.065em;
}
h1 em { display: block; color: var(--gold); font-weight: inherit; }

h2 { font-size: clamp(1.65rem, 3.1vw, 2.9rem); letter-spacing: -.045em; line-height: 1.12; }
.hero h2 { margin-top: 1.45rem; max-width: 28ch; font-size: clamp(1.2rem, 2vw, 1.8rem); }
.intro, .card p, .connect p { color: var(--muted); line-height: 1.6; }
.intro { margin-top: .8rem; max-width: 42ch; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: .75rem 1.2rem;
  border: 1px solid var(--gold-light);
  border-radius: .5rem;
  background: linear-gradient(145deg, #ffe38a, #fec72c 68%);
  color: var(--ink);
  box-shadow: 0 .55rem 1.7rem #eabc221f;
  font-weight: 780;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}
.button:hover { transform: translateY(-2px); box-shadow: 0 .6rem 2rem #eabc2250; }
.hero .button { margin-top: 1.65rem; }

.hero-art {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  min-width: 0;
  aspect-ratio: 1.19;
  border: 1px solid var(--line);
  border-radius: 1.4rem;
  overflow: hidden;
  background:
    radial-gradient(ellipse at center, #42648c 0%, #183858 41%, transparent 72%),
    linear-gradient(145deg, #203653a3, #060e1d88);
  box-shadow: inset 0 1px #c7dfff24, 0 2rem 5rem #01091372;
}

.orbits {
  position: absolute;
  inset: 8% 10%;
  border-radius: 50%;
  background: repeating-radial-gradient(ellipse closest-side, transparent 0 30%, #f8daa430 31% 31.35%, transparent 32% 33%);
  transform: rotate(-17deg);
}

.brand-logo {
  position: relative;
  display: block;
  width: 91%;
  height: auto;
  border-radius: .6rem;
  filter: drop-shadow(0 .65rem 1rem #0009);
  animation: arrive .9s .12s ease-out both;
}

@supports (mask-image: url("assets/logo-mask.png")) {
  .brand-logo { mask: url("assets/logo-mask.png") center / 100% 100% no-repeat; border-radius: 0; }
}

.particles { position: absolute; inset: 0; }
.particles i {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: .23rem;
  height: .23rem;
  border-radius: 50%;
  background: var(--gold-light);
  box-shadow: 0 0 .65rem .1rem #fed12980;
  animation: glimmer 4s var(--delay) ease-in-out infinite alternate;
}
.particles i:nth-child(1) { --x: 11%; --y: 20%; --delay: -.4s; }
.particles i:nth-child(2) { --x: 23%; --y: 84%; --delay: -2.6s; }
.particles i:nth-child(3) { --x: 59%; --y: 14%; --delay: -1.2s; }
.particles i:nth-child(4) { --x: 83%; --y: 22%; --delay: -3s; }
.particles i:nth-child(5) { --x: 91%; --y: 66%; --delay: -2s; }
.particles i:nth-child(6) { --x: 70%; --y: 87%; --delay: -.6s; }

.features { padding: 2.4rem 0 4.5rem; border-top: 1px solid var(--line); }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 1.5rem; }
.card {
  padding: clamp(1.1rem, 2.5vw, 2.1rem);
  border: 1px solid var(--line);
  border-radius: .9rem;
  background: linear-gradient(145deg, #20395796, #0a172b80);
  box-shadow: inset 0 1px #c7dfff12;
}
.icon {
  display: grid;
  place-items: center;
  width: 2.9rem;
  height: 2.9rem;
  margin-bottom: 1.15rem;
  border: 1px solid #fed12954;
  border-radius: .65rem;
  background: #fed12912;
  color: var(--gold-light);
}
.icon svg { width: 1.5rem; height: 1.5rem; }
.card h3 { font-size: 1.23rem; letter-spacing: -.025em; }
.card p { margin-top: .5rem; }

.connect {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.6rem;
  padding: clamp(1.5rem, 4vw, 3.4rem);
  border: 1px solid #d6b75c74;
  border-radius: 1rem;
  background:
    radial-gradient(ellipse at 100% 0, #e5b24132, transparent 65%),
    linear-gradient(130deg, #132744, #0e1c32);
}
.connect p { margin-top: .7rem; }
.connect-action { display: grid; justify-items: center; gap: .75rem; }
.email { color: var(--muted); font-size: .875rem; text-underline-offset: .2em; }

.footer { margin-top: 3.5rem; border-top: 1px solid var(--line); }
.footer p { font-size: .875rem; color: var(--muted); }

@keyframes arrive {
  from { opacity: 0; transform: translateY(.85rem); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes glimmer {
  from { opacity: .35; transform: translateY(.35rem); }
  to { opacity: .85; transform: translateY(-.35rem); }
}

@media (max-width: 50rem) {
  .hero { min-height: 0; grid-template-columns: 1fr; }
  .hero-art { width: 100%; max-width: 36rem; aspect-ratio: 1.46; }
  .brand-logo { width: 84%; }
}
@media (max-width: 40rem) {
  .cards, .connect { grid-template-columns: 1fr; }
  .features { padding-bottom: 3rem; }
  .connect-action { justify-items: start; }
  .footer { margin-top: 2.4rem; }
}
@media (max-width: 23rem) {
  .header { gap: .5rem; }
  .header .brand { font-size: 1.15rem; }
  nav { gap: .65rem; }
  nav a { font-size: .875rem; }
  .footer { align-items: flex-start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-copy, .brand-logo, .particles i { animation: none; }
  .button { transition: none; }
  .button:hover { transform: none; }
}
