:root {
  --ink: #17090d;
  --wine-950: #2a0209;
  --wine-850: #4d0714;
  --wine-700: #761629;
  --berry: #df4969;
  --berry-soft: #f4a7b9;
  --blush: #f8d7df;
  --paper: #fffafa;
  --white: #ffffff;
  --line: rgba(77, 7, 20, 0.16);
  --shadow: 0 22px 50px rgba(77, 7, 20, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 12px clamp(20px, 5vw, 72px);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 250, 250, 0.92);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: var(--wine-850);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}

.brand img {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  border: 1px solid rgba(77, 7, 20, 0.14);
  border-radius: 8px;
  object-fit: cover;
}

.brand span {
  overflow-wrap: anywhere;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(14px, 3vw, 28px);
  color: var(--wine-850);
  font-size: 0.95rem;
  font-weight: 800;
}

.site-nav a {
  border-bottom: 2px solid transparent;
  padding-block: 4px;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  border-color: var(--berry);
}

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: calc(100svh - 160px);
  overflow: hidden;
  place-items: center;
  padding: clamp(36px, 6vw, 68px) clamp(20px, 5vw, 72px);
  background-color: var(--blush);
}

.hero::after {
  position: absolute;
  z-index: -1;
  right: -12vw;
  bottom: -2%;
  left: -12vw;
  height: clamp(120px, 18vw, 210px);
  border-top: 5px solid rgba(77, 7, 20, 0.28);
  border-bottom: 12px solid rgba(77, 7, 20, 0.14);
  content: "";
  transform: rotate(-2.5deg);
}

.hero-backdrop {
  position: absolute;
  z-index: -2;
  inset: 0;
  background-image: url("assets/runners-corral-logo.png");
  background-repeat: no-repeat;
  background-position: center 32%;
  background-size: min(92vw, 880px);
  opacity: 0.12;
}

.hero-content {
  display: grid;
  justify-items: center;
  width: min(100%, 860px);
  text-align: center;
}

.hero-logo {
  width: clamp(124px, 15vw, 160px);
  aspect-ratio: 1 / 1;
  margin-bottom: clamp(16px, 2.5vw, 22px);
  border: 1px solid rgba(77, 7, 20, 0.16);
  border-radius: 8px;
  box-shadow: var(--shadow);
  object-fit: cover;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--wine-700);
  font-size: clamp(0.78rem, 1.8vw, 0.9rem);
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 18ch;
  margin-bottom: 16px;
  color: var(--wine-950);
  font-size: clamp(2.8rem, 6.5vw, 5rem);
  font-weight: 1000;
  letter-spacing: 0;
  line-height: 0.88;
  text-transform: uppercase;
}

.hero-copy {
  width: min(100%, 650px);
  margin-bottom: 26px;
  color: #311016;
  font-size: clamp(1.02rem, 1.8vw, 1.18rem);
  font-weight: 650;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  max-width: 100%;
  border: 2px solid var(--wine-850);
  border-radius: 8px;
  padding: 12px 18px;
  font-weight: 900;
  text-align: center;
}

.button-primary {
  color: var(--white);
  background: var(--wine-850);
}

.button-secondary {
  color: var(--wine-850);
  background: rgba(255, 255, 255, 0.52);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.section {
  padding: clamp(56px, 9vw, 104px) clamp(20px, 5vw, 72px);
}

.section-heading {
  width: min(100%, 760px);
  margin: 0 auto clamp(28px, 5vw, 48px);
  text-align: center;
}

h2 {
  margin-bottom: 0;
  color: var(--wine-950);
  font-size: clamp(2rem, 5.4vw, 4rem);
  font-weight: 950;
  letter-spacing: 0;
  line-height: 1;
}

.section-intro {
  background: var(--paper);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 1120px;
  margin: 0 auto;
}

.feature-card {
  min-height: 245px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(22px, 3vw, 30px);
  background: var(--white);
  box-shadow: 0 14px 32px rgba(42, 2, 9, 0.08);
}

.feature-number {
  display: inline-block;
  margin-bottom: 38px;
  color: var(--berry);
  font-size: 0.9rem;
  font-weight: 950;
}

.feature-card h3 {
  margin-bottom: 10px;
  color: var(--wine-850);
  font-size: 1.32rem;
  line-height: 1.1;
}

.feature-card p {
  margin-bottom: 0;
  color: #43262c;
  font-weight: 600;
}

.club-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 430px);
  gap: clamp(28px, 6vw, 70px);
  align-items: center;
  background: var(--wine-950);
  color: var(--paper);
}

.club-copy {
  max-width: 720px;
}

.club-section .eyebrow {
  color: var(--berry-soft);
}

.club-section h2 {
  margin-bottom: 22px;
  color: var(--white);
}

.club-copy p:last-child {
  margin-bottom: 0;
  color: rgba(255, 250, 250, 0.82);
  font-size: clamp(1rem, 2vw, 1.16rem);
}

.club-panel {
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  padding: clamp(24px, 4vw, 36px);
  background: rgba(255, 255, 255, 0.08);
}

.club-panel p {
  margin-bottom: 10px;
  color: var(--berry-soft);
  font-size: 0.84rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.club-panel strong {
  display: block;
  margin-bottom: 18px;
  color: var(--white);
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  font-weight: 1000;
  letter-spacing: 0;
  line-height: 0.88;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.club-panel span {
  color: rgba(255, 250, 250, 0.72);
  font-weight: 750;
}

.site-footer {
  padding: 22px clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--line);
  background: var(--paper);
  color: var(--wine-850);
  text-align: center;
}

.site-footer p {
  margin-bottom: 0;
  font-size: 0.92rem;
  font-weight: 700;
}

@media (max-width: 820px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .site-nav {
    justify-content: flex-start;
    width: 100%;
  }

  .hero {
    min-height: auto;
    padding-block: 42px;
  }

  .feature-grid,
  .club-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .site-header {
    padding-inline: 16px;
  }

  .brand {
    font-size: 0.95rem;
  }

  .site-nav {
    gap: 18px;
    font-size: 0.9rem;
  }

  .hero {
    padding-inline: 16px;
  }

  .hero-actions {
    width: 100%;
  }

  .button {
    width: 100%;
  }

  .section {
    padding-inline: 16px;
  }
}
