/* ================================
   STARHOPPER — MINIMAL SITE
   ================================ */

:root {
  --white: #f4f5f7;
  --red: #c72138;
  --orange: #e06236;
  --gold: #d7a64b;
  --blue: #304c7a;

  --background: #101827;
  --surface: #182235;
  --text: var(--white);
  --muted: #aeb8c8;
  --border: rgba(244, 245, 247, 0.12);

  --max-width: 1180px;
  --spacing: clamp(4rem, 10vw, 9rem);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  line-height: 1.6;
}

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

.site-header,
.site-footer,
.section,
.hero {
  width: min(calc(100% - 3rem), var(--max-width));
  margin-inline: auto;
}

/* Header */

.site-header {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
}

.brand {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}

nav {
  display: flex;
  gap: 1.5rem;
}

nav a {
  color: var(--muted);
  font-size: 0.8rem;
  transition: color 180ms ease;
}

nav a:hover {
  color: var(--white);
}

/* Hero */

.hero {
  min-height: 78vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: var(--spacing);
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  right: 5%;
  top: 25%;
  border-radius: 50%;
  background: var(--blue);
  filter: blur(90px);
  opacity: 0.25;
  z-index: -1;
}

.eyebrow,
.section-label {
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.hero h1 {
  max-width: 900px;
  margin: 1rem 0;
  font-size: clamp(3.5rem, 9vw, 8rem);
  line-height: 1.10;
  letter-spacing: -0.09em;
}

.hero h1 span {
  color: var(--red);
  font-size: 90px;
  letter-spacing: -0.05em;
}

.intro {
  max-width: 560px;
  margin: 1.5rem 0 2rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.button {
  align-self: flex-start;
  padding: 0.8rem 1.2rem;
  border: 1px solid var(--red);
  background: var(--red);
  font-size: 0.8rem;
  font-weight: 700;
  transition:
    background 180ms ease,
    transform 180ms ease;
}

.button:hover {
  background: var(--orange);
  transform: translateY(-2px);
}

/* Sections */

.section {
  padding-block: var(--spacing);
  border-top: 1px solid var(--border);
}

.section-content {
  max-width: 800px;
  margin-left: 25%;
}

.section h2 {
  margin: 0 0 1.5rem;
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 1;
  letter-spacing: -0.08em;
}

.section-content > p {
  max-width: 560px;
  color: var(--muted);
}

/* Cards */

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 3rem;
  background: var(--border);
}

.card {
  min-height: 280px;
  padding: 2rem;
  background: var(--surface);
  transition: transform 180ms ease;
}

.card:hover {
  transform: translateY(-4px);
}

.card-number {
  color: var(--orange);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
}

.card h3 {
  margin-top: 5rem;
  margin-bottom: 0.5rem;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

/* Contact */

.contact-link {
  display: inline-block;
  color: var(--gold);
  font-size: clamp(1.5rem, 4vw, 3rem);
  border-bottom: 1px solid var(--gold);
}

/* Footer */

.site-footer {
  min-height: 100px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Mobile */

@media (max-width: 700px) {
  .site-header,
  .site-footer,
  .section,
  .hero {
    width: min(calc(100% - 2rem), var(--max-width));
  }

  nav {
    gap: 0.8rem;
  }

  nav a {
    font-size: 0.7rem;
  }

  .hero {
    min-height: 70vh;
  }

  .section-content {
    margin-left: 0;
    margin-top: 2rem;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .card {
    min-height: 220px;
  }

  .card h3 {
    margin-top: 3rem;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 0.4rem;
  }
}
