:root {
  --green-900: #16261F;
  --green-800: #1F3A2E;
  --green-700: #2A4D3E;
  --green-600: #3A6352;
  --cream: #F5F0E8;
  --cream-soft: #EBE4D6;
  --paper: #FAF6EE;
  --ink: #1C1C1C;
  --ink-soft: #3A3A38;
  --ink-muted: #6B6A65;
  --rose: #B86B6B;
  --rose-deep: #8E4848;
  --rule: rgba(28, 28, 28, 0.12);

  --font-display: "Fraunces", ui-serif, Georgia, serif;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --max: 1200px;
  --gutter: clamp(1.25rem, 3vw, 2.5rem);
  --radius: 4px;
  --radius-lg: 10px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

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

a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-variation-settings: "opsz" 144;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0;
}
h1 { font-size: clamp(2.5rem, 6vw, 4.75rem); }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 500; }
h1 em, h2 em {
  font-style: italic;
  font-weight: 500;
  color: var(--green-800);
}

p { margin: 0 0 1em; }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--green-700);
  margin: 0 0 1.25rem;
}

/* ---------- NAV ---------- */

.nav {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.5rem var(--gutter) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  position: relative;
  z-index: 10;
}
.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
}
.nav-brand:hover { text-decoration: none; }
.nav-brand img { width: 36px; height: 36px; }
.nav-links {
  display: flex;
  gap: 1.75rem;
  font-size: 0.95rem;
  font-weight: 500;
}
.nav-links a { color: var(--ink-soft); }
.nav-links a:hover { color: var(--green-800); text-decoration: none; }

@media (max-width: 640px) {
  .nav { padding-top: 1rem; }
  .nav-links { display: none; }
}

/* ---------- HERO ---------- */

.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(2rem, 6vw, 5rem) var(--gutter) clamp(3rem, 8vw, 6rem);
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.hero-text h1 {
  margin: 0.75rem 0 1.5rem;
}
.hero-text .lede {
  font-size: 1.12rem;
  color: var(--ink-soft);
  max-width: 32em;
  margin-bottom: 2rem;
}

.hero-cta {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.hero-video {
  position: relative;
  aspect-ratio: 3 / 4;
  width: 100%;
  max-width: 420px;
  justify-self: end;
}
.hero-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
  background: var(--green-900);
}
.hero-video-frame {
  position: absolute;
  inset: -10px -10px 10px 10px;
  border: 1px solid var(--green-800);
  border-radius: var(--radius-lg);
  z-index: -1;
  opacity: 0.35;
}

@media (max-width: 860px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-top: 2rem;
  }
  .hero-video {
    order: -1;
    justify-self: stretch;
    max-width: none;
    aspect-ratio: 4 / 5;
  }
}

/* ---------- BUTTONS ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.95rem 1.35rem;
  font-size: 0.98rem;
  font-weight: 600;
  border-radius: 999px;
  transition: transform 120ms ease, background 200ms ease, color 200ms ease;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary {
  background: var(--green-800);
  color: var(--cream);
}
.btn-primary:hover { background: var(--green-900); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--rule);
}
.btn-ghost:hover { background: var(--cream-soft); }

/* ---------- SECTIONS ---------- */

.section {
  border-top: 1px solid var(--rule);
}
.section-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(3.5rem, 7vw, 6rem) var(--gutter);
}
.section-lede {
  font-size: 1.1rem;
  color: var(--ink-soft);
  max-width: 40em;
  margin-bottom: 2.5rem;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.two-col-reverse { grid-template-columns: 0.85fr 1fr; }
.two-col-reverse .col-media { order: -1; }

@media (max-width: 860px) {
  .two-col, .two-col-reverse {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .two-col-reverse .col-media { order: 0; }
}

.col-text h2 { margin-bottom: 1.25rem; }
.col-text p { color: var(--ink-soft); margin-bottom: 1em; }

/* ---------- FACT LIST (what is padel) ---------- */

.fact-list {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
  border-top: 1px solid var(--rule);
}
.fact-list li {
  display: flex;
  justify-content: space-between;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--rule);
  font-size: 0.98rem;
}
.fact-list strong {
  font-weight: 600;
  color: var(--ink);
}
.fact-list span {
  color: var(--ink-muted);
  font-variant-numeric: tabular-nums;
}

/* ---------- REEL FRAME ---------- */

.reel-frame {
  margin: 0;
  position: relative;
}
.reel-frame video {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border-radius: var(--radius-lg);
  background: var(--green-900);
  max-height: 70vh;
}
.reel-frame figcaption {
  margin-top: 0.75rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--ink-muted);
  letter-spacing: 0.02em;
}

/* ---------- WHERE TO PLAY / CLUB CARD ---------- */

.where h2 {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--green-800);
  color: var(--cream);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  position: relative;
  top: -0.25em;
}
.status-pill::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #A3D39C;
  box-shadow: 0 0 0 3px rgba(163, 211, 156, 0.25);
}

.club-card {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 4vw, 2.75rem);
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}
.club-facts dl {
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem 2rem;
}
.club-facts dt {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 600;
  color: var(--green-700);
  margin-bottom: 0.35rem;
}
.club-facts dd {
  margin: 0;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--ink);
}
.club-facts dd a { border-bottom: 1px solid var(--rule); }
.club-facts dd a:hover { border-color: var(--green-800); text-decoration: none; }
.club-facts .muted { color: var(--ink-muted); font-size: 0.9em; }

.club-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: stretch;
}
.club-actions .btn { justify-content: center; }

.note {
  margin-top: 2rem;
  font-size: 0.95rem;
  color: var(--ink-muted);
  font-style: italic;
}

@media (max-width: 760px) {
  .club-card { grid-template-columns: 1fr; }
  .club-facts dl { grid-template-columns: 1fr; gap: 1.25rem; }
}

/* ---------- NEW TO PADEL / HOW LIST ---------- */

.how-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  counter-reset: howto;
}
.how-list li {
  counter-increment: howto;
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  gap: 0.25rem 1.25rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--rule);
}
.how-list li::before {
  content: counter(howto, decimal-leading-zero);
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--rose);
  grid-row: 1 / 3;
  padding-top: 0.1em;
}
.how-list strong {
  display: block;
  font-weight: 600;
  font-size: 1.08rem;
  color: var(--ink);
  margin-bottom: 0.2rem;
}
.how-list span {
  color: var(--ink-soft);
}

/* ---------- FOOTER ---------- */

.footer {
  background: var(--green-900);
  color: var(--cream);
  margin-top: 2rem;
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(3rem, 6vw, 5rem) var(--gutter);
  text-align: center;
}
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}
.footer-brand img { filter: brightness(0) invert(1); opacity: 0.92; }
.footer-tagline {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.5vw, 1.6rem);
  font-style: italic;
  font-weight: 400;
  margin: 0 0 2rem;
  color: var(--cream);
}
.footer-links {
  display: inline-flex;
  gap: 1.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(245, 240, 232, 0.15);
  margin-bottom: 1.5rem;
}
.footer-links a {
  color: var(--cream);
  opacity: 0.85;
  font-size: 0.95rem;
}
.footer-links a:hover { opacity: 1; text-decoration: none; border-bottom: 1px solid var(--cream); }
.footer-fine {
  font-size: 0.82rem;
  color: rgba(245, 240, 232, 0.55);
  margin: 0;
  max-width: 36em;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- MOTION PREFERENCE ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-video video { display: none; }
  .hero-video { background-image: url("assets/hero-poster.jpg"); background-size: cover; background-position: center; }
}
