:root {
  --ink: #141414;
  --charcoal: #2a2a2a;
  --paper: #f6f3ec;
  --paper-2: #ebe6dc;
  --muted: #6f6a62;
  --fairway: #16382c;
  --fairway-2: #1f4d3a;
  --lime: #c8f542;
  --lime-ink: #14210a;
  --gold: #d4b36a;
  --line: rgba(20, 20, 20, 0.1);
  --line-light: rgba(246, 243, 236, 0.14);
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.18);
  --font: "Outfit", system-ui, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.5;
  letter-spacing: 0.01em;
}

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

a {
  color: inherit;
}

.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 80;
  opacity: 0.07;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 0.9rem 6vw;
  background: rgba(246, 243, 236, 0.86);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  color: var(--ink);
}

.brand-mark {
  height: 56px;
  width: auto;
  display: block;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
}

.brand-name,
.brand-sub {
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  line-height: 1;
}

.brand-name {
  font-size: 0.72rem;
}

.brand-sub {
  font-size: 0.58rem;
  letter-spacing: 0.22em;
  color: var(--muted);
  font-weight: 500;
}

.hero-logo {
  height: 120px;
  width: auto;
  margin: 0 0 1.6rem;
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.35));
}

.nav-links {
  display: flex;
  gap: 1.25rem;
  margin-left: auto;
}

.nav-links a {
  text-decoration: none;
  font-size: 0.85rem;
  color: var(--charcoal);
}

.nav-links a:hover {
  color: var(--fairway-2);
}

.nav-cta {
  margin-left: 0.5rem;
}

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 999px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.nav-toggle span {
  width: 16px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3.75px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3.75px) rotate(-45deg);
}

.mobile-nav {
  position: sticky;
  top: 72px;
  z-index: 45;
  display: none;
  gap: 0.85rem;
  padding: 1rem 6vw 1.25rem;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.mobile-nav.is-open,
.mobile-nav:not([hidden]) {
  display: grid;
}

.mobile-nav[hidden] {
  display: none !important;
}

.mobile-nav a {
  text-decoration: none;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--line);
  font-weight: 500;
}

.menu-close {
  justify-self: start;
  margin-top: 0.35rem;
  border: 1px solid var(--line);
  background: transparent;
  font: inherit;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  cursor: pointer;
}

body.menu-open {
  overflow: hidden;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.75rem;
  padding: 0.95rem 1.35rem;
  border-radius: 999px;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-lime {
  background: var(--lime);
  color: var(--lime-ink);
}

.btn-ghost {
  background: transparent;
  color: var(--paper);
  border: 1px solid var(--line-light);
}

.btn-ink {
  background: var(--ink);
  color: var(--paper);
}

.hero {
  position: relative;
  min-height: calc(100vh - 72px);
  overflow: hidden;
  color: var(--paper);
  background: #0b0b0b;
  display: grid;
  align-content: end;
  padding: 8vh 6vw 0;
}

.hero-sky {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 55% at 70% 18%, rgba(212, 179, 106, 0.35), transparent 55%),
    radial-gradient(ellipse 60% 40% at 20% 10%, rgba(200, 245, 66, 0.08), transparent 50%),
    linear-gradient(180deg, #1a1410 0%, #24180f 28%, #16382c 72%, #0d1f18 100%);
}

.hero-fairway {
  position: absolute;
  left: -10%;
  right: -10%;
  bottom: -8%;
  height: 42%;
  background:
    repeating-linear-gradient(
      115deg,
      rgba(200, 245, 66, 0.04) 0 18px,
      transparent 18px 36px
    ),
    linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.25));
  border-radius: 50% 50% 0 0 / 28% 28% 0 0;
  box-shadow: 0 -40px 80px rgba(0, 0, 0, 0.25);
}

.hero-flag {
  position: absolute;
  right: 14vw;
  bottom: 18%;
  width: 56px;
  opacity: 0.9;
  filter: drop-shadow(0 12px 18px rgba(0, 0, 0, 0.4));
}

.hero-ball {
  position: absolute;
  right: 18vw;
  bottom: 14%;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 28%, #fff 0 18%, #e8e4dc 42%, #cfc8bb 100%);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.35);
}

.hero-copy {
  position: relative;
  max-width: 42rem;
  padding-bottom: 3rem;
}

.eyebrow {
  margin: 0 0 0.85rem;
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--lime);
}

.hero h1,
.section h2 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.hero h1 {
  font-size: clamp(3rem, 7vw, 6.1rem);
  margin: 0 0 1.1rem;
}

.hero h1 em {
  font-style: italic;
  color: var(--lime);
}

.lede {
  font-size: 1.08rem;
  max-width: 38rem;
  color: rgba(246, 243, 236, 0.82);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.hero-stats {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0 -6vw 0;
  padding: 1.4rem 6vw;
  background: rgba(10, 10, 10, 0.72);
  border-top: 1px solid var(--line-light);
  backdrop-filter: blur(12px);
}

.hero-stats dt {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(246, 243, 236, 0.55);
}

.hero-stats dd {
  margin: 0.2rem 0 0;
  font-size: clamp(1.3rem, 2.4vw, 1.9rem);
  font-weight: 600;
}

.strip {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding: 1rem 6vw;
  background: var(--lime);
  color: var(--lime-ink);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
}

.strip p {
  margin: 0;
}

.section {
  padding: 6.5rem 6vw;
}

.section-head {
  max-width: 40rem;
  margin-bottom: 3rem;
}

.section-head h2 {
  font-size: clamp(2.1rem, 4vw, 3.4rem);
  margin: 0 0 1rem;
}

.section-head.light,
.section-head.light p {
  color: var(--paper);
}

.section-dark {
  background: var(--ink);
  color: var(--paper);
}

.section-dark .eyebrow {
  color: var(--lime);
}

.section-fairway {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.28)),
    repeating-linear-gradient(
      125deg,
      #1a4738 0 14px,
      #16382c 14px 28px
    );
  color: var(--paper);
}

.cards {
  display: grid;
  gap: 1.1rem;
}

.cards.three {
  grid-template-columns: repeat(3, 1fr);
}

.card,
.schedule-grid article,
.points-notes,
.join-form {
  background: #fff;
  border: 1px solid var(--line);
  padding: 1.6rem;
  box-shadow: var(--shadow);
}

.card-num {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  color: var(--fairway-2);
  margin-bottom: 1.4rem;
}

.package-price {
  font-family: var(--serif);
  font-size: 3rem;
  line-height: 1;
  margin: 0 0 0.6rem;
}

.package-card.featured {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

.package-card.featured p,
.package-card.featured .card-num {
  color: rgba(246, 243, 236, 0.7);
}

.package-card.featured .package-price {
  color: var(--lime);
}

.section-head a {
  color: var(--fairway-2);
}

.card h3,
.schedule-grid h3,
.points-notes h3,
.split h3 {
  margin: 0 0 0.6rem;
  font-size: 1.2rem;
}

.card p,
.schedule-grid p {
  margin: 0;
  color: var(--muted);
}

.purse-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1rem;
  margin-bottom: 3rem;
}

.purse-hero {
  padding: 2.4rem;
  border: 1px solid var(--line-light);
  background: #1c1c1c;
}

.purse-hero.gold {
  background: linear-gradient(160deg, #2a2418, #1a160f 55%, #12100c);
  border-color: rgba(212, 179, 106, 0.28);
}

.purse-hero .giant {
  font-family: var(--serif);
  font-size: clamp(4rem, 8vw, 6.5rem);
  margin: 0;
  line-height: 0.9;
  color: var(--lime);
}

.purse-hero.gold .giant {
  color: var(--gold);
}

.purse-hero p:last-child {
  margin: 0.8rem 0 0;
  color: rgba(246, 243, 236, 0.7);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.muted,
.form-fine,
.fine {
  color: var(--muted);
}

.section-dark .muted,
.section-dark .form-fine {
  color: rgba(246, 243, 236, 0.62);
}

.split-bars {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.1rem;
}

.split-meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.4rem;
  font-size: 0.92rem;
}

.bar {
  height: 8px;
  background: #2c2c2c;
  border-radius: 99px;
  overflow: hidden;
}

.bar span {
  display: block;
  height: 100%;
  background: var(--lime);
}

.bar-dashed {
  background: repeating-linear-gradient(
    90deg,
    #3a3a3a 0 10px,
    transparent 10px 16px
  );
}

.points-wrap {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 1.25rem;
  align-items: start;
}

.scorecard {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  box-shadow: var(--shadow);
}

.scorecard caption {
  text-align: left;
  padding: 1rem 1.2rem 0.4rem;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.scorecard th,
.scorecard td {
  padding: 0.85rem 1.2rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.scorecard th {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}

.scorecard td:nth-child(even) {
  font-weight: 650;
  font-variant-numeric: tabular-nums;
}

.points-notes ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
}

.points-notes li + li {
  margin-top: 0.55rem;
}

.schedule-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.schedule-grid article {
  background: rgba(246, 243, 236, 0.94);
  color: var(--ink);
}

.math-grid,
.gear-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}

.math-card,
.gear-card {
  background: #191919;
  border: 1px solid var(--line-light);
  padding: 1.7rem;
  color: var(--paper);
}

.math-eq {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  margin: 0.2rem 0 1.2rem;
}

.math-eq em {
  color: var(--lime);
  font-style: italic;
}

.math-card ul {
  list-style: none;
  margin: 0 0 1.1rem;
  padding: 0;
}

.math-card li {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  gap: 0 1rem;
  padding: 0.7rem 0;
  border-top: 1px solid var(--line-light);
}

.math-card li strong {
  font-variant-numeric: tabular-nums;
}

.math-card li small {
  grid-column: 1;
  color: rgba(246, 243, 236, 0.5);
  font-size: 0.75rem;
}

.date-table-wrap {
  margin-top: 2rem;
  overflow-x: auto;
  background: rgba(246, 243, 236, 0.94);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.date-table {
  width: 100%;
  border-collapse: collapse;
}

.date-table caption {
  text-align: left;
  padding: 1rem 1.2rem 0.35rem;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.date-table th,
.date-table td {
  padding: 0.8rem 1.2rem;
  border-top: 1px solid var(--line);
  text-align: left;
}

.date-table th {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.gear-card .btn {
  margin-top: 1.2rem;
}

.finals-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  padding: 2.5rem;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.4rem;
}

.steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
}

.steps span {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  color: var(--fairway-2);
  padding-top: 0.25rem;
}

.steps p {
  margin: 0.25rem 0 0;
  color: var(--muted);
}

.join-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3rem;
}

.join-bullets {
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.45rem;
}

.join-bullets a {
  color: var(--lime);
}

.join-form {
  background: #191919;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.join-form label {
  display: grid;
  gap: 0.4rem;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.join-form .full {
  grid-column: 1 / -1;
}

.join-form input,
.join-form textarea,
.join-form select {
  font: inherit;
  letter-spacing: 0;
  text-transform: none;
  padding: 0.8rem 0.85rem;
  border: 1px solid var(--line-light);
  background: #111;
  color: var(--paper);
  border-radius: 10px;
}

.join-form input:focus,
.join-form textarea:focus,
.join-form select:focus {
  outline: 2px solid var(--lime);
  outline-offset: 1px;
}

.form-status {
  grid-column: 1 / -1;
  min-height: 1.2em;
  margin: 0;
  color: var(--lime);
}

.footer {
  padding: 2.5rem 6vw 3rem;
  display: grid;
  gap: 0.75rem;
  background: var(--paper-2);
}

.footer .fine {
  font-size: 0.8rem;
}

@media (min-width: 981px) {
  .mobile-nav {
    display: none !important;
  }
}

@media (max-width: 980px) {
  .nav-links,
  .nav-cta {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .hero-stats,
  .cards.three,
  .purse-grid,
  .split,
  .points-wrap,
  .schedule-grid,
  .finals-panel,
  .join-grid,
  .join-form,
  .math-grid,
  .gear-grid {
    grid-template-columns: 1fr;
  }

  .hero-flag,
  .hero-ball {
    display: none;
  }
}
