:root {
  --bg: #10243c;
  --ink: #f4efe6;
  --muted: #d5cbbd;
  --gold: #d7b56a;
  --gold-2: #f0d9a0;
  --line: rgba(244, 239, 230, 0.16);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  color: var(--ink);
  font-family: "Nunito", sans-serif;
  font-size: 16px;
  min-height: 100%;
}

body {
  overflow-x: hidden;
  background:
    linear-gradient(180deg, rgba(10,20,36,.18), rgba(8,14,24,.78) 78%, #070b12),
    url("assets/hero.jpg") center top / cover no-repeat fixed;
}

a { color: inherit; text-decoration: none; }

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  isolation: isolate;
  padding: 28px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10,20,36,.08), rgba(8,14,24,.55) 80%, #070b12),
    url("assets/hero.jpg") center/cover no-repeat;
  z-index: -2;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 38%, transparent 0%, rgba(8,14,24,.28) 70%);
}

.nav {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 28px;
  z-index: 2;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Allura", cursive;
  font-size: 30px;
  font-weight: 400;
}

.brand img {
  width: 28px;
  height: 28px;
  object-fit: cover;
  border-radius: 50%;
}

.nav-links {
  display: flex;
  gap: 22px;
  font-size: 14px;
  color: var(--muted);
}

.hero-inner {
  text-align: center;
  max-width: 920px;
  position: relative;
}

.name-wrap {
  position: relative;
  display: block;
  padding: 8px 0 0;
}

.wordmark {
  width: min(92vw, 640px);
  height: auto;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 10px 18px rgba(0,0,0,.35));
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

.tagline {
  margin: 10px auto 34px;
  max-width: 640px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
  font-style: italic;
  font-family: "Nunito", sans-serif;
}

.actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 148px;
  padding: 12px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 14px;
  transition: .2s ease;
}

.btn.primary {
  background: var(--gold);
  color: #111;
  border-color: var(--gold);
  font-weight: 600;
}

.btn:hover { transform: translateY(-1px); border-color: var(--gold); }

.section {
  width: min(980px, calc(100% - 48px));
  margin: 0 auto;
  padding: 72px 0;
  border-top: 1px solid var(--line);
}

.section h2 {
  font-family: "Caveat", cursive;
  font-style: normal;
  font-weight: 600;
  font-size: 36px;
  margin-bottom: 16px;
}

.section p {
  color: var(--muted);
  line-height: 1.7;
  max-width: 62ch;
  font-size: 16px;
  font-family: "Nunito", sans-serif;
}

.links {
  display: grid;
  gap: 10px;
  margin-top: 28px;
}

.link-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  backdrop-filter: blur(8px);
  background: rgba(8,14,24,.32);
}

.link-row span { color: var(--muted); font-size: 13px; }

footer {
  padding: 28px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}

.hidden { display: none !important; }

@media (max-width: 640px) {
  .nav-links { display: none; }
  .hero { padding-top: 88px; }
  .name-wrap { padding-right: 42px; }
}
