/* PadelGrids — glass-court stylesheet */
:root {
  --paper: #f4f3ee;
  --paper-2: #eceae1;
  --ink: #0c1a15;
  --ink-soft: #46584f;
  --court: #0e6f5c;
  --court-deep: #0a4d40;
  --line: #c9ff3d;
  --glass: rgba(255,255,255,.55);
  --hair: #d8d6cb;
  --amber: #e8973a;
  --blue: #3b7bd0;
  --radius: 18px;
  --shadow: 0 1px 0 rgba(12,26,21,.04), 0 18px 40px -24px rgba(10,77,64,.45);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Hanken Grotesk", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  background-image:
    linear-gradient(rgba(14,111,92,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14,111,92,.045) 1px, transparent 1px);
  background-size: 34px 34px;
}

h1, h2, h3, .display {
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.02;
  margin: 0;
}

a { color: inherit; text-decoration: none; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.eyebrow { font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--court); }

/* ---------- header ---------- */
.site-head {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(244,243,238,.78);
  border-bottom: 1px solid var(--hair);
}

.site-head .bar {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 22px;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 800;
  font-size: 1.32rem;
  letter-spacing: -.03em;
  flex-shrink: 0;
}

.brand .gd { color: var(--court); }
.brand svg { flex: 0 0 auto; }

.site-head .search {
  flex: 1;
  max-width: 420px;
  display: flex;
  align-items: center;
  gap: 9px;
  background: #fff;
  border: 1px solid var(--hair);
  border-radius: 999px;
  padding: 9px 16px;
  color: var(--ink-soft);
  box-shadow: var(--shadow);
}

.site-head .search input {
  border: 0;
  outline: 0;
  background: transparent;
  flex: 1;
  font: inherit;
  color: var(--ink);
}

.site-head nav {
  display: flex;
  gap: 22px;
  font-weight: 600;
  font-size: .94rem;
}

.site-head nav a { color: var(--ink-soft); }
.site-head nav a:hover { color: var(--court); }

@media (max-width: 820px) {
  .site-head nav, .site-head .search { display: none; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--court);
  color: #fff;
  font-weight: 700;
  border-radius: 999px;
  padding: 11px 20px;
  border: 0;
  cursor: pointer;
  font-size: 1rem;
  font-family: inherit;
  transition: background .2s, transform .2s;
  text-decoration: none;
}
.btn:hover { background: var(--court-deep); transform: translateY(-1px); }
.btn.line { background: var(--line); color: var(--ink); }
.btn.ghost { background: #fff; color: var(--ink); border: 1px solid var(--hair); }
.btn.ghost:hover { background: var(--paper-2); }

/* ---------- main wrapper ---------- */
main { max-width: 1120px; margin: 0 auto; padding: 0 24px 64px; }

/* ---------- hero (home) ---------- */
.home-hero { padding: 74px 0 40px; position: relative; }
.home-hero h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); max-width: 14ch; }
.home-hero h1 em {
  font-style: normal;
  color: var(--court);
  position: relative;
}
.home-hero h1 em::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: .08em;
  height: .16em;
  background: var(--line);
  z-index: -1;
  border-radius: 3px;
}
.home-hero .lede { font-size: 1.18rem; color: var(--ink-soft); max-width: 54ch; margin: 22px 0 26px; }
.home-hero .cta { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

/* stat strip */
.stat-strip { display: flex; gap: 30px; margin-top: 40px; flex-wrap: wrap; }
.stat .n { font-family: "Bricolage Grotesque", sans-serif; font-weight: 800; font-size: 2.1rem; color: var(--ink); line-height: 1; }
.stat .n b { color: var(--court); }
.stat .l { font-size: .82rem; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .1em; margin-top: 6px; }

/* new courts strip */
.newstrip {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 40px;
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius);
  padding: 14px 20px;
  overflow: hidden;
}
.newstrip .tag {
  flex: 0 0 auto;
  background: var(--line);
  color: var(--ink);
  font-weight: 800;
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 999px;
}
.newstrip .items { display: flex; gap: 26px; font-weight: 600; font-size: .92rem; white-space: nowrap; color: #dfe7e3; overflow: hidden; }
.newstrip .items b { color: #fff; }

/* ---------- section heading ---------- */
.shead { display: flex; align-items: flex-end; justify-content: space-between; margin: 64px 0 22px; gap: 20px; }
.shead h2 { font-size: clamp(1.6rem, 3.2vw, 2.2rem); }
.shead a { font-weight: 700; color: var(--court); font-size: .95rem; }

/* ---------- directory grid / club cards ---------- */
.clubs-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(265px, 1fr)); gap: 20px; }

.club-card {
  background: #fff;
  border: 1px solid var(--hair);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .22s, box-shadow .22s, border-color .22s;
  display: flex;
  flex-direction: column;
  color: var(--ink);
  text-decoration: none;
}
.club-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 26px 50px -26px rgba(10,77,64,.55);
  border-color: #bfe7dd;
}

.club-card .thumb {
  position: relative;
  aspect-ratio: 3/2;
  background: var(--court-deep);
  overflow: hidden;
}
.club-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.club-card .thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(8,40,33,.55));
}
.club-card .thumb .placeholder-img {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.3);
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: .75rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.club-card .card-body { padding: 15px 16px 17px; flex: 1; display: flex; flex-direction: column; }
.club-card h3 { font-size: 1.12rem; margin-bottom: 3px; }
.club-card .loc {
  color: var(--ink-soft);
  font-size: .9rem;
  display: flex;
  align-items: center;
  gap: 6px;
}
.club-card .meta { display: flex; align-items: center; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.verified { margin-top: 11px; font-size: .74rem; color: var(--ink-soft); display: flex; align-items: center; gap: 6px; }
.verified .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--line); box-shadow: 0 0 0 3px rgba(201,255,61,.3); }

/* ---------- chips & badges ---------- */
.chip {
  font-size: .78rem;
  font-weight: 600;
  color: var(--ink);
  background: var(--paper-2);
  border: 1px solid var(--hair);
  border-radius: 999px;
  padding: 4px 10px;
  display: inline-flex;
  gap: 5px;
  align-items: center;
}
.chip b { color: var(--court); }

.badge {
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: 999px;
  white-space: nowrap;
}
.badge.open { background: rgba(14,111,92,.12); color: var(--court-deep); }
.badge.announced { background: rgba(232,151,58,.16); color: #9a5a12; }
.badge.under_construction { background: rgba(59,123,208,.14); color: #1f4f8f; }

/* ---------- hub pages (metro / state) ---------- */
.hub { padding: 40px 0; }
.hub .crumbs { font-size: .82rem; color: var(--ink-soft); margin-bottom: 18px; }
.hub .crumbs a { color: var(--court); }
.hub h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: 10px; }
.hub .lede { color: var(--ink-soft); margin-bottom: 28px; }

.club-list { list-style: none; padding: 0; display: grid; gap: 20px; }

/* hub list card */
.club-list-item {
  background: #fff;
  border: 1px solid var(--hair);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .22s, box-shadow .22s, border-color .22s;
  display: flex;
  flex-direction: column;
  color: var(--ink);
  text-decoration: none;
}
.club-list-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px -20px rgba(10,77,64,.45);
  border-color: #bfe7dd;
}
.club-list-item .thumb {
  position: relative;
  aspect-ratio: 4/1.5;
  background: var(--court-deep);
}
.club-list-item .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.club-list-item .card-body { padding: 14px 16px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.club-list-item h3 { font-size: 1.05rem; margin: 0; flex: 1; min-width: 140px; }
.club-list-item .loc { color: var(--ink-soft); font-size: .88rem; flex-shrink: 0; }
.club-list-item .meta { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }

/* ---------- feed (new courts) ---------- */
.feed { padding: 40px 0; }
.feed h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: 10px; }
.feed .lede { color: var(--ink-soft); margin-bottom: 28px; }
.feed-list { list-style: none; padding: 0; display: grid; gap: 16px; }
.feed-row {
  background: #fff;
  border: 1px solid var(--hair);
  border-radius: 14px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  box-shadow: var(--shadow);
}
.feed-row a { font-weight: 700; font-family: "Bricolage Grotesque", sans-serif; color: var(--ink); }
.feed-row a:hover { color: var(--court); }
.feed-row .loc { color: var(--ink-soft); font-size: .9rem; flex: 1; }

/* ---------- state index ---------- */
.index { padding: 40px 0; }
.index h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: 24px; }
.state-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 10px;
}
.state-list li a {
  display: block;
  background: #fff;
  border: 1px solid var(--hair);
  border-radius: 12px;
  padding: 12px 16px;
  font-weight: 600;
  transition: border-color .2s, transform .2s;
  box-shadow: var(--shadow);
}
.state-list li a:hover { border-color: #bfe7dd; transform: translateY(-2px); }
.state-list li a span { color: var(--ink-soft); font-weight: 400; font-size: .88rem; }

/* ---------- club profile ---------- */
.club-profile { padding: 40px 0 0; }

.crumbs { font-size: .8rem; color: var(--ink-soft); margin-bottom: 18px; font-weight: 600; }
.crumbs a { color: var(--court); }
.crumbs a:hover { text-decoration: underline; }

/* profile hero */
.proheadwrap {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--hair);
  margin-bottom: 26px;
}
.prohero {
  aspect-ratio: 16/7;
  position: relative;
  background: var(--court-deep);
}
.prohero img { width: 100%; height: 100%; object-fit: cover; display: block; }
.prohero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8,40,33,.05) 30%, rgba(8,40,33,.82));
}
.proheadtext {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 30px 32px;
  color: #fff;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 18px;
  flex-wrap: wrap;
}
.proheadtext .crumbs-inline { font-size: .8rem; color: #bfe7dd; margin-bottom: 9px; font-weight: 600; }
.proheadtext h1 { font-size: clamp(2rem, 4.5vw, 3.1rem); color: #fff; }
.proheadtext .sub { color: #dfe7e3; margin-top: 8px; font-weight: 500; }

/* profile grid layout */
.prograde {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 26px;
}
@media (max-width: 860px) { .prograde { grid-template-columns: 1fr; } }

.panel {
  background: #fff;
  border: 1px solid var(--hair);
  border-radius: var(--radius);
  padding: 22px 24px;
  box-shadow: var(--shadow);
}
.panel + .panel { margin-top: 18px; }

/* stat grid inside profile */
.statgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--hair);
  border: 1px solid var(--hair);
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 18px;
}
.statgrid .c { background: #fff; padding: 15px 16px; }
.statgrid .c .k {
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--ink-soft);
  font-weight: 700;
}
.statgrid .c .v {
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 700;
  font-size: 1.32rem;
  margin-top: 4px;
}
.statgrid .c .v.green { color: var(--court); }

/* editorial + tips inside profile */
.editorial { margin: 0 0 0; }
.editorial p, .tips-section p { color: var(--ink-soft); }
.editorial p b, .tips-section p b { color: var(--ink); }

.panel h3 { font-size: 1.05rem; margin-bottom: 10px; }

/* rating + booking aside */
.aside-panel { display: flex; flex-direction: column; gap: 18px; }
.rate-line { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.1rem; }
.rate-line .stars { color: var(--court); }
.rate-line .rcount { color: var(--ink-soft); font-weight: 600; font-size: .9rem; }
.review-link { display: block; font-size: .85rem; color: var(--court); font-weight: 600; margin-top: 6px; }
.review-link:hover { text-decoration: underline; }

.book-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.book-actions .btn { width: 100%; justify-content: center; }

/* nearby list in aside */
.nearby-label { font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-soft); font-weight: 700; margin-bottom: 10px; }
.nearby-list { list-style: none; padding: 0; margin: 0; }
.nearby-list li + li { margin-top: 8px; }
.nearby-list a { font-weight: 600; display: block; }
.nearby-list a:hover { color: var(--court); }

/* claim button (no url) */
.btn-claim {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  gap: 8px;
  background: var(--line);
  color: var(--ink);
  font-weight: 700;
  border-radius: 999px;
  padding: 11px 20px;
  font-size: 1rem;
  font-family: inherit;
  text-decoration: none;
  transition: opacity .2s;
}
.btn-claim:hover { opacity: .85; }

/* ---------- generic prose pages ---------- */
.prose { max-width: 68ch; padding: 48px 0; }
.prose h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: 18px; }
.prose p { color: var(--ink-soft); margin: 0 0 16px; }

/* ---------- search page ---------- */
.search-page { padding: 40px 0; }
.search-page h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: 18px; }
.search-page form input {
  width: 100%;
  max-width: 480px;
  border: 1px solid var(--hair);
  border-radius: 999px;
  padding: 12px 20px;
  font: inherit;
  font-size: 1rem;
  outline: none;
  background: #fff;
  box-shadow: var(--shadow);
}
.search-page form input:focus { border-color: var(--court); }
.search-page .club-list { margin-top: 28px; }

/* ---------- footer ---------- */
.site-foot {
  margin-top: 90px;
  background: var(--ink);
  color: #cfe0da;
  padding: 46px 0 40px;
}
.site-foot .wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 30px;
}
@media (max-width: 760px) { .site-foot .wrap { grid-template-columns: 1fr; } }

.site-foot .brand { color: #fff; margin-bottom: 14px; display: flex; }
.site-foot .brand .gd { color: var(--line); }

.affiliate-disclosure {
  font-size: .82rem;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 10px;
  color: #cfe0da;
}
.affiliate-disclosure strong { color: #fff; }

.attribution {
  font-size: .82rem;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 10px;
  padding: 12px 14px;
  color: #cfe0da;
}

.site-foot .foot-col h4 {
  color: #fff;
  font-family: "Bricolage Grotesque", sans-serif;
  margin: 0 0 12px;
  font-size: 1rem;
}
.site-foot .foot-col a {
  display: block;
  color: #9fb8b0;
  font-weight: 500;
  margin: 7px 0;
}
.site-foot .foot-col a:hover { color: #fff; }
.site-foot .foot-links { margin-top: 16px; }
.site-foot .foot-links a { color: #9fb8b0; font-weight: 500; font-size: .9rem; }
.site-foot .foot-links a:hover { color: #fff; }
.site-foot .foot-links span { color: #46584f; margin: 0 4px; }

/* ── AEO blocks: key takeaways + outbound sources (glass-court theme) ───────── */
.aeo-takeaways, .aeo-sources {
  margin: 18px 0 0;
  padding: 18px 20px;
  background: rgba(14,111,92,.06);
  border: 1px solid var(--hair);
  border-left: 3px solid var(--court);
  border-radius: var(--radius);
}
.aeo-h {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: .76rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  color: var(--court); margin: 0 0 10px;
}
.aeo-list, .aeo-srclist { margin: 0; padding: 0; list-style: none; }
.aeo-list li {
  position: relative; padding: 0 0 0 22px; margin: 0 0 9px;
  color: var(--ink); font-size: .96rem; line-height: 1.5;
}
.aeo-list li:last-child { margin-bottom: 0; }
.aeo-list li::before {
  content: ""; position: absolute; left: 4px; top: .55em;
  width: 7px; height: 7px; border-radius: 2px; background: var(--line);
  box-shadow: 0 0 0 3px rgba(201,255,61,.25);
}
.aeo-srclist li { margin: 0 0 7px; font-size: .92rem; }
.aeo-srclist li:last-child { margin-bottom: 0; }
.aeo-srclist a { color: var(--court); font-weight: 600; text-decoration: none; }
.aeo-srclist a:hover { text-decoration: underline; }

/* ── Research / data-study pages ───────────────────────────────────────────── */
.research-report, .research-hub { max-width: 760px; margin: 0 auto; padding: 8px 0 40px; }
.research-report h1, .research-hub h1 { font-family: "Bricolage Grotesque", sans-serif; font-weight: 800; font-size: 2.3rem; line-height: 1.08; margin: 6px 0 12px; color: var(--ink); }
.research-report h2 { font-family: "Bricolage Grotesque", sans-serif; font-weight: 700; font-size: 1.4rem; margin: 30px 0 10px; color: var(--ink); }
.research-report p { color: var(--ink-soft); line-height: 1.62; margin: 0 0 12px; }
.research-report p strong { color: var(--ink); }
.research-report .lede, .research-hub .lede { font-size: 1.16rem; color: var(--ink-soft); margin: 0 0 22px; }
.rs-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; margin: 24px 0; }
.rs-card { background: var(--glass); border: 1px solid var(--hair); border-radius: var(--radius); padding: 18px; text-align: center; }
.rs-big { font-family: "Bricolage Grotesque", sans-serif; font-weight: 800; font-size: 2.2rem; color: var(--court); line-height: 1; }
.rs-lab { font-size: .82rem; color: var(--ink-soft); margin-top: 8px; line-height: 1.35; }
.rs-table { width: 100%; border-collapse: collapse; margin: 14px 0 6px; font-size: .95rem; }
.rs-table th { text-align: left; font-size: .76rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-soft); border-bottom: 2px solid var(--hair); padding: 8px 10px; }
.rs-table td { padding: 8px 10px; border-bottom: 1px solid var(--hair); color: var(--ink); }
.rs-table td a { color: var(--court); font-weight: 600; text-decoration: none; }
.rs-table td a:hover { text-decoration: underline; }
.rs-note { font-size: .85rem; color: var(--ink-soft); }
.rs-cite { margin: 30px 0 0; padding: 18px 20px; background: rgba(14,111,92,.06); border: 1px solid var(--hair); border-left: 3px solid var(--court); border-radius: var(--radius); }
.rs-cite p { margin: 0 0 10px; }
.rs-citation code { display: block; background: var(--paper-2); border: 1px solid var(--hair); border-radius: 8px; padding: 12px; font-size: .82rem; color: var(--ink); white-space: pre-wrap; word-break: break-word; }
.rs-list { display: grid; gap: 16px; margin-top: 18px; }
.rs-item { display: block; background: var(--glass); border: 1px solid var(--hair); border-radius: var(--radius); padding: 22px; text-decoration: none; transition: transform .15s, box-shadow .15s; }
.rs-item:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.rs-item h2 { font-family: "Bricolage Grotesque", sans-serif; font-weight: 700; font-size: 1.3rem; color: var(--ink); margin: 0 0 8px; }
.rs-item p { color: var(--ink-soft); margin: 0 0 10px; }
.rs-link { color: var(--court); font-weight: 700; font-size: .95rem; }
