:root {
  color-scheme: dark;
  --black: #050505;
  --white: #f8f8f8;
  --gold: #e6d30b;
  --gold-deep: #b89f07;
  --text: rgba(255, 255, 255, 0.78);
  --muted: rgba(255, 255, 255, 0.6);
  --border: rgba(255, 255, 255, 0.14);
  --card: rgba(255, 255, 255, 0.04);
  --page-x: clamp(1.25rem, 4vw, 3rem);
  --max-w: 1100px;
  --ui-font: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  font-family: var(--ui-font);
  background: var(--black);
  color: var(--white);
  line-height: 1.6;
  letter-spacing: 0.01em;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(60vw 60vw at 110% -10%, rgba(230, 211, 11, 0.18), transparent 60%),
    radial-gradient(40vw 40vw at -10% 30%, rgba(230, 211, 11, 0.12), transparent 65%),
    linear-gradient(180deg, rgba(5, 5, 5, 0.96) 0%, rgba(9, 9, 9, 0.92) 40%, rgba(5, 5, 5, 1) 100%);
  z-index: -2;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 180px 180px;
  opacity: 0.06;
  z-index: -1;
  mask-image: radial-gradient(circle at 50% 20%, rgba(0, 0, 0, 0.9), transparent 70%);
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

a:focus-visible {
  outline: 2px solid rgba(230, 211, 11, 0.6);
  outline-offset: 2px;
}

.hero {
  position: relative;
  min-height: 100vh;
  padding: 1.5rem var(--page-x) 3rem;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  right: -15vw;
  top: -10vh;
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, rgba(230, 211, 11, 0.28), rgba(230, 211, 11, 0.06), transparent 70%);
  opacity: 0.9;
  filter: blur(20px);
  z-index: 0;
  pointer-events: none;
}

.nav {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
}

.brand {
  text-decoration: none;
  display: grid;
  justify-items: center;
  gap: 0.2rem;
  color: var(--white);
}

.brand-logo {
  width: 96px;
  height: auto;
}

.brand-text {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.nav-links a {
  text-decoration: none;
  opacity: 0.7;
}

.nav-links a:hover,
.nav-links a:focus {
  opacity: 1;
}

.nav-cta {
  justify-self: end;
  text-decoration: none;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0.45rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  opacity: 0.9;
}

.nav-cta:hover,
.nav-cta:focus {
  opacity: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  margin: auto;
  width: min(var(--max-w), 92vw);
  display: grid;
  justify-items: center;
  gap: 1.25rem;
  text-align: center;
  padding: clamp(2rem, 10vh, 6rem) 0;
}

.hero-mark {
  display: grid;
  justify-items: center;
  gap: 0.6rem;
}

.goat {
  width: clamp(120px, 20vw, 220px);
}

.hero-tag {
  font-size: 0.62rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: rgba(230, 211, 11, 0.8);
}

.hero-title {
  margin: 0;
  font-weight: 200;
  font-size: clamp(1.9rem, 6vw, 4.2rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(230, 211, 11, 0.9);
}

.hero-copy {
  margin: 0;
  max-width: 980px;
  font-size: 1rem;
  color: var(--text);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.btn {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.5rem;
  border-radius: 999px;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.btn-primary {
  background: linear-gradient(120deg, var(--gold), var(--gold-deep));
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #121212;
  box-shadow: 0 16px 34px rgba(230, 211, 11, 0.2);
}

.btn-primary:hover,
.btn-primary:focus {
  transform: translateY(-1px);
  box-shadow: 0 18px 38px rgba(230, 211, 11, 0.28);
}

.btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.04);
  color: var(--white);
  opacity: 0.9;
}

.btn-ghost:hover,
.btn-ghost:focus {
  opacity: 1;
  transform: translateY(-1px);
}

.section {
  padding: clamp(3rem, 10vh, 6rem) var(--page-x);
}

.section-head {
  max-width: var(--max-w);
  margin: 0 auto 2.5rem;
  text-align: left;
}

.section-head h2 {
  margin: 0.4rem 0 0.6rem;
  font-weight: 300;
  font-size: clamp(1.5rem, 4vw, 2.6rem);
}

.section-head p {
  margin: 0;
  max-width: 70ch;
  color: var(--muted);
}

.eyebrow {
  display: inline-block;
  font-size: 0.6rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(230, 211, 11, 0.7);
}

.cards {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.5rem;
  backdrop-filter: blur(6px);
}

.card h3 {
  margin: 0 0 0.8rem;
  font-weight: 500;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.card ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
  font-size: 0.95rem;
  color: var(--muted);
}

.card li {
  position: relative;
  padding-left: 1.1rem;
}

.card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: linear-gradient(120deg, var(--gold), var(--gold-deep));
}

.section-compact {
  padding-top: 1.5rem;
}

.stack-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.8rem;
}

.stack-grid span {
  padding: 0.6rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  text-align: center;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.callout {
  padding-bottom: clamp(4rem, 12vh, 7rem);
}

.callout-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: center;
  padding: clamp(1.5rem, 4vw, 2.6rem);
  border-radius: 20px;
  border: 1px solid var(--border);
  background: rgba(10, 10, 10, 0.7);
  position: relative;
  overflow: hidden;
}

.callout-inner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 10%, rgba(230, 211, 11, 0.18), transparent 55%);
  opacity: 0.9;
  pointer-events: none;
}

.callout-inner > * {
  position: relative;
  z-index: 1;
}

.callout-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: flex-start;
}

.footer {
  padding: 2rem var(--page-x) 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted);
  font-size: 0.75rem;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer-logo {
  width: 88px;
  height: auto;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  animation: reveal 0.8s ease forwards;
  animation-delay: var(--delay, 0s);
}

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

@media (max-width: 900px) {
  .nav {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .nav-links {
    flex-wrap: wrap;
  }

  .nav-cta {
    justify-self: center;
  }

  .callout-inner {
    grid-template-columns: 1fr;
  }

  .callout-actions {
    width: 100%;
    align-items: stretch;
  }
}

@media (max-width: 600px) {
  .nav-links {
    gap: 0.9rem;
    letter-spacing: 0.14em;
  }

  .hero-title {
    letter-spacing: 0.04em;
  }

  .footer {
    flex-direction: column;
    text-align: center;
  }
}

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