:root {
  --forest-950: #08271c;
  --forest-900: #0b2f22;
  --forest-800: #123d2b;
  --forest-700: #1b4d38;
  --cream-50: #fffdf8;
  --cream-100: #f6f0e4;
  --parchment-200: #e9dfc9;
  --gold-500: #c8a75a;
  --gold-600: #ad8a3e;
  --ink-900: #18251f;
  --white-overlay: rgba(255, 253, 248, 0.88);
  --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino,
    Georgia, serif;
  --sans: var(--font-geist-sans), Inter, "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  background: var(--cream-50);
  color: var(--ink-900);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

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

svg {
  display: block;
}

.skip-link {
  position: fixed;
  z-index: 100;
  left: 1rem;
  top: -4rem;
  border-radius: 0.4rem;
  background: var(--cream-50);
  color: var(--forest-900);
  padding: 0.7rem 1rem;
  font-weight: 700;
  transition: top 150ms ease;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  display: flex;
  min-height: 88px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--gold-500);
  background: rgba(8, 39, 28, 0.96);
  color: var(--cream-50);
  padding: 0 4vw;
  backdrop-filter: blur(12px);
}

.wordmark {
  font-family: var(--serif);
  font-size: clamp(2rem, 3vw, 2.75rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(1.6rem, 3.4vw, 3rem);
  font-size: 1rem;
}

.desktop-nav > a:not(.sign-in-link) {
  position: relative;
  padding: 0.6rem 0;
}

.desktop-nav > a:not(.sign-in-link)::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: var(--gold-500);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 160ms ease-out;
}

.desktop-nav > a:not(.sign-in-link):hover::after,
.desktop-nav > a:not(.sign-in-link):focus-visible::after {
  transform: scaleX(1);
}

.sign-in-link {
  border: 1px solid var(--gold-500);
  border-radius: 0.6rem;
  padding: 0.55rem 1.25rem;
  transition:
    background 160ms ease,
    color 160ms ease;
}

.sign-in-link:hover,
.sign-in-link:focus-visible {
  background: var(--gold-500);
  color: var(--forest-950);
}

.mobile-menu {
  display: none;
}

.hero {
  position: relative;
  display: grid;
  min-height: 620px;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--gold-500);
  background:
    linear-gradient(
      90deg,
      rgba(11, 47, 34, 1) 0%,
      rgba(11, 47, 34, 0.97) 36%,
      rgba(11, 47, 34, 0.72) 60%,
      rgba(11, 47, 34, 0.26) 100%
    ),
    url("assets/classic-club-hero.png");
  background-position: center, 68% 50%;
  background-size: cover;
  color: var(--cream-50);
}

.hero-content {
  width: min(760px, 54vw);
  padding: 5rem 4vw;
  animation: hero-in 420ms ease-out both;
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--gold-500);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.eyebrow-dark {
  color: var(--forest-700);
}

.hero h1,
.section-heading h2,
.league-copy h2,
.cta-card h2 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.04em;
}

.hero h1 {
  max-width: 730px;
  margin: 0;
  font-size: clamp(3.7rem, 6vw, 5.2rem);
  line-height: 0.98;
}

.gold-rule {
  width: 68px;
  height: 2px;
  margin: 2rem 0;
  background: var(--gold-500);
}

.hero-copy {
  max-width: 630px;
  margin: 0;
  color: var(--white-overlay);
  font-size: clamp(1.15rem, 1.8vw, 1.45rem);
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.2rem;
}

.button {
  display: inline-flex;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  border: 1px solid var(--gold-500);
  border-radius: 0.6rem;
  padding: 0.8rem 1.65rem;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  transition:
    transform 160ms ease-out,
    box-shadow 160ms ease-out,
    background 160ms ease-out,
    color 160ms ease-out;
}

.button svg,
.text-link svg {
  width: 1.2rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.button-primary {
  background: var(--cream-50);
  color: var(--forest-900);
}

.button-secondary {
  border-width: 2px;
  color: var(--gold-500);
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
}

.button-secondary:hover {
  background: var(--gold-500);
  color: var(--forest-950);
}

.button:active {
  transform: none;
  box-shadow: none;
}

.value-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--cream-100);
  padding: 2.6rem 4vw;
}

.value-strip > div {
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  border-left: 1px solid var(--parchment-200);
  padding: 0 2rem;
  text-align: left;
}

.value-strip > div:first-child {
  border-left: 0;
}

.value-strip p {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.3;
}

.value-mark {
  min-width: 64px;
  color: var(--forest-800);
  font-family: var(--serif);
  font-size: 1.65rem;
  font-weight: 700;
  text-align: center;
}

.value-people {
  font-size: 1.2rem;
}

.section {
  padding: clamp(5rem, 8vw, 8rem) 4vw;
}

.section-heading {
  max-width: 760px;
}

.section-heading h2,
.league-copy h2,
.cta-card h2 {
  margin: 0;
  font-size: clamp(2.8rem, 4.5vw, 4.3rem);
  line-height: 1.05;
}

.section-heading > p:last-child,
.league-copy > p {
  max-width: 680px;
  margin: 1.4rem 0 0;
  color: #53625b;
  font-size: 1.08rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  margin-top: 3.5rem;
}

.feature-card {
  min-height: 300px;
  border-top: 2px solid var(--gold-500);
  background: var(--cream-100);
  padding: clamp(1.6rem, 3vw, 2.4rem);
}

.feature-card > span {
  color: var(--gold-600);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.feature-card h3,
.steps h3 {
  margin: 2.2rem 0 0.75rem;
  color: var(--forest-900);
  font-family: var(--serif);
  font-size: 1.75rem;
  font-weight: 600;
  line-height: 1.2;
}

.feature-card p,
.steps p {
  margin: 0;
  color: #53625b;
  line-height: 1.65;
}

.league-section {
  padding: 0 4vw;
}

.league-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: 5vw;
  background: var(--forest-900);
  color: var(--cream-50);
  padding: clamp(3rem, 6vw, 6rem);
}

.league-copy > p {
  color: var(--white-overlay);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: 1.8rem;
  border-bottom: 1px solid var(--gold-500);
  color: var(--gold-500);
  font-weight: 700;
}

.league-list {
  display: grid;
  align-content: center;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.league-list li {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 1rem;
  border-top: 1px solid rgba(233, 223, 201, 0.22);
  padding: 1.25rem 0;
}

.league-list li:first-child {
  border-top: 0;
}

.league-list svg {
  width: 28px;
  fill: none;
  stroke: var(--gold-500);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.league-list li > span:first-child {
  color: var(--gold-500);
  font-size: 1.25rem;
  font-weight: 700;
}

.centered {
  margin: 0 auto;
  text-align: center;
}

.book-section {
  display: grid;
  grid-template-columns: minmax(220px, 360px) minmax(0, 680px);
  align-items: center;
  justify-content: center;
  gap: clamp(3rem, 7vw, 7rem);
  background:
    linear-gradient(rgba(246, 240, 228, 0.94), rgba(246, 240, 228, 0.94)),
    radial-gradient(circle at 18% 42%, rgba(200, 167, 90, 0.36), transparent 35%);
}

.book-cover-wrap {
  position: relative;
  padding: 1.1rem;
}

.book-cover-wrap::before {
  position: absolute;
  inset: 0;
  border: 1px solid var(--gold-500);
  content: "";
  transform: translate(-0.9rem, 0.9rem);
}

.book-cover {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  box-shadow: 0 24px 50px rgba(11, 47, 34, 0.22);
}

.book-copy h2 {
  margin: 0;
  color: var(--forest-900);
  font-family: var(--serif);
  font-size: clamp(2.8rem, 4.5vw, 4.3rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.book-copy > p:not(.eyebrow):not(.book-title) {
  margin: 1.3rem 0 0;
  color: #53625b;
  font-size: 1.08rem;
}

.book-title {
  display: grid;
  gap: 0.25rem;
  margin: 1.5rem 0 0;
  color: var(--forest-800);
}

.book-title cite {
  font-family: var(--serif);
  font-size: 1.55rem;
  font-style: italic;
  font-weight: 600;
  line-height: 1.25;
}

.book-title span {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.book-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
  margin-top: 2rem;
}

.button-book {
  background: var(--forest-900);
  color: var(--cream-50);
}

.book-audio-link {
  color: var(--forest-800);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--gold-500);
  text-underline-offset: 5px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin: 4rem 0 6rem;
  padding: 0;
  counter-reset: steps;
  list-style: none;
}

.steps li {
  position: relative;
  border-top: 1px solid var(--parchment-200);
  padding-top: 2rem;
}

.steps li > span {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid var(--gold-500);
  border-radius: 50%;
  background: var(--cream-100);
  color: var(--forest-900);
  font-weight: 700;
}

.steps h3 {
  margin-top: 1.5rem;
}

.cta-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  background: var(--forest-800);
  color: var(--cream-50);
  padding: clamp(2rem, 5vw, 4.5rem);
}

.cta-card h2 {
  max-width: 680px;
  font-size: clamp(2.5rem, 4vw, 4rem);
}

.cta-actions {
  display: flex;
  min-width: 260px;
  flex-direction: column;
  gap: 1rem;
  text-align: center;
}

.button-light {
  background: var(--cream-50);
  color: var(--forest-900);
}

.quiet-link {
  color: var(--cream-100);
  font-size: 0.88rem;
  text-decoration: underline;
  text-underline-offset: 4px;
}

footer {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 2rem;
  border-top: 1px solid rgba(200, 167, 90, 0.36);
  background: var(--forest-950);
  color: var(--cream-100);
  padding: 2.5rem 4vw;
}

.footer-wordmark {
  font-size: 2rem;
}

footer p {
  margin: 0;
  color: rgba(255, 253, 248, 0.7);
  font-size: 0.83rem;
}

:focus-visible {
  outline: 3px solid var(--gold-500);
  outline-offset: 4px;
}

@keyframes hero-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 900px) {
  .site-header {
    min-height: 72px;
    padding: 0 1.25rem;
  }

  .desktop-nav {
    display: none;
  }

  .mobile-menu {
    position: relative;
    display: block;
  }

  .mobile-menu summary {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    border: 1px solid var(--gold-500);
    border-radius: 0.5rem;
    padding: 0.45rem 0.7rem;
    cursor: pointer;
    font-size: 0.9rem;
    list-style: none;
  }

  .mobile-menu summary::-webkit-details-marker {
    display: none;
  }

  .menu-lines,
  .menu-lines::before,
  .menu-lines::after {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--cream-50);
    content: "";
  }

  .menu-lines {
    position: relative;
  }

  .menu-lines::before {
    position: absolute;
    top: -5px;
  }

  .menu-lines::after {
    position: absolute;
    top: 5px;
  }

  .mobile-menu nav {
    position: absolute;
    top: calc(100% + 0.75rem);
    right: 0;
    display: grid;
    width: min(76vw, 320px);
    border: 1px solid var(--gold-500);
    background: var(--forest-950);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.24);
    padding: 0.6rem;
  }

  .mobile-menu nav a {
    border-bottom: 1px solid rgba(233, 223, 201, 0.18);
    padding: 0.8rem 0.75rem;
  }

  .mobile-menu nav a:last-child {
    border-bottom: 0;
  }

  .hero {
    min-height: 610px;
    background:
      linear-gradient(
        180deg,
        rgba(11, 47, 34, 0.84) 0%,
        rgba(11, 47, 34, 0.94) 58%,
        rgba(11, 47, 34, 1) 100%
      ),
      url("assets/classic-club-hero.png");
    background-position: center, 62% 50%;
    background-size: cover;
  }

  .hero-content {
    width: 100%;
    padding: 5rem 1.25rem;
  }

  .value-strip {
    grid-template-columns: 1fr;
    padding: 0 1.25rem;
  }

  .value-strip > div {
    justify-content: flex-start;
    border-top: 1px solid var(--parchment-200);
    border-left: 0;
    padding: 1.1rem 0;
  }

  .value-strip > div:first-child {
    border-top: 0;
  }

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

  .book-section {
    justify-items: center;
  }

  .book-cover-wrap {
    width: min(72vw, 320px);
  }

  .book-copy {
    max-width: 680px;
  }

  .feature-card {
    min-height: auto;
  }

  .league-panel {
    grid-template-columns: 1fr;
  }

  .cta-card {
    align-items: stretch;
    flex-direction: column;
  }

  .cta-actions {
    min-width: 0;
  }

  footer {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }
}

@media (max-width: 560px) {
  html {
    scroll-padding-top: 72px;
  }

  .wordmark {
    font-size: 2rem;
  }

  .hero {
    min-height: 640px;
  }

  .hero-content {
    padding-block: 4.5rem;
  }

  .hero h1 {
    font-size: clamp(3rem, 14vw, 4rem);
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
    min-height: 54px;
    padding-inline: 1rem;
  }

  .book-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .book-audio-link {
    text-align: center;
  }

  .section {
    padding: 4.5rem 1.25rem;
  }

  .league-section {
    padding: 0;
  }

  .league-panel {
    padding: 4.5rem 1.25rem;
  }

  .feature-card h3 {
    margin-top: 1.5rem;
  }

  .steps {
    margin-bottom: 4rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
