/* FMPC site stylesheet. Built from the Style B mockup with the Slate colors and Tall lettering the club chose. */
:root {
  --bg: #f3f1ec;
  --surface: #fdfcf9;
  --ink: #1b2631;
  --muted: #56626d;
  --brand: #3d566b;
  --brand-deep: #2f4557;
  --pop: #ead7b7;
  --pop-ink: #1b2631;
  --on-dark: #f3f1ec;
  --on-dark-muted: #bcc7d0;
  --rule: rgba(27, 38, 49, 0.14);
  --rule-dark: rgba(243, 241, 236, 0.2);

  --font-display: "Bebas Neue", sans-serif;
  --font-body: "DM Sans";
  --display-stretch: 100%;
  --display-weight: 400;
  --display-scale: 1.08;
  --display-leading: 0.92;
  --display-tracking: 0.01em;
}


:root {
  /* brand-tinted shades laid over photos so text stays readable */
  --shade-95: color-mix(in srgb, var(--brand-deep) 95%, transparent);
  --shade-86: color-mix(in srgb, var(--brand-deep) 86%, transparent);
  --shade-80: color-mix(in srgb, var(--brand-deep) 80%, transparent);
  --shade-55: color-mix(in srgb, var(--brand-deep) 55%, transparent);
  --shade-10: color-mix(in srgb, var(--brand-deep) 10%, transparent);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body), system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

.wrap { width: min(1240px, 100% - 48px); margin-inline: auto; }

/* ---------- Type ---------- */

/* Headline look comes from ../type.css; each headline sets its size with --fs */
.display {
  --fs: 1em;
  font-family: var(--font-display);
  font-size: calc(var(--fs) * var(--display-scale));
  font-stretch: var(--display-stretch);
  font-weight: var(--display-weight);
  text-transform: uppercase;
  line-height: var(--display-leading);
  letter-spacing: var(--display-tracking);
}
.h-xl { --fs: clamp(3.8rem, 10vw, 9.2rem); }
.h-lg { --fs: clamp(2.8rem, 6.4vw, 5.6rem); }

.lede { font-size: 1.18rem; line-height: 1.5; max-width: 32em; }
.pop-text { color: var(--pop); }
.caps {
  font-stretch: 75%; font-weight: 800; font-size: 0.88rem;
  letter-spacing: 0.1em; text-transform: uppercase;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 26px; border-radius: 4px; border: 2px solid transparent;
  font: inherit; font-stretch: 75%; font-weight: 800; font-size: 1rem;
  letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none;
  cursor: pointer; transition: transform 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn .arrow { transition: transform 0.15s ease; }
.btn:hover .arrow { transform: translateX(4px); }
.btn-pop { background: var(--pop); color: var(--pop-ink); }
.btn-ink { background: var(--ink); color: var(--on-dark); }
.btn-ghost { border-color: currentColor; color: inherit; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Header: floats over the hero photo until you scroll ---------- */

.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: transparent; color: var(--on-dark);
  transition: background 0.25s ease;
}
.scrolled .site-header, .menu-open .site-header { background: var(--brand-deep); }

.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px; gap: 24px;
}
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--on-dark); }
.logo svg { width: 34px; height: 34px; flex: none; }
.logo-text { --fs: 1.55rem; line-height: 0.82; }
.logo-text small {
  display: block; font-size: 0.6rem; letter-spacing: 0.34em;
  font-family: var(--font-body), sans-serif; font-stretch: 100%; font-weight: 700; margin-top: 5px; color: var(--pop);
}

.nav { display: flex; align-items: center; gap: 28px; }
.nav a {
  font-stretch: 75%; font-weight: 700; font-size: 0.9rem;
  letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none;
  padding: 6px 0; border-bottom: 2px solid transparent;
}
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--pop); }

.menu-btn {
  display: none; width: 44px; height: 44px; border-radius: 4px;
  border: 2px solid var(--rule-dark); background: none; color: inherit;
  cursor: pointer; align-items: center; justify-content: center;
}
.menu-btn span, .menu-btn span::before, .menu-btn span::after {
  display: block; width: 18px; height: 2px; background: currentColor;
  position: relative; transition: transform 0.2s ease;
}
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; }
.menu-btn span::before { top: -6px; }
.menu-btn span::after { top: 6px; }
.menu-open .menu-btn span { background: transparent; }
.menu-open .menu-btn span::before { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-btn span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero: photo behind, tinted so it blends into the color ---------- */

.hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--brand-deep); color: var(--on-dark);
  display: flex; align-items: center;
  min-height: clamp(680px, 62vw, 880px); padding: 140px 0 96px;
}
.hero .bg {
  position: absolute; inset: 0; z-index: -2;
  background: url("../photos/courtside-xl.jpg") no-repeat 0% 32% / 130% auto;
}
.hero .bg.team { background-image: url("../photos/team-xl.jpg"); background-position: 100% 50%; background-size: 135% auto; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, var(--shade-95) 0%, var(--shade-80) 36%, var(--shade-10) 74%),
    linear-gradient(0deg, var(--shade-55), transparent 38%);
}
.hero .wrap > div { max-width: 640px; }
.hero h1 { margin-bottom: 36px; }
.hero h1 span { display: block; white-space: nowrap; }
.hero .lede { max-width: 24em; }
.hero .btn-row { margin-top: 44px; }

.hero.sub { min-height: clamp(560px, 48vw, 700px); }
.hero.sub h1 { --fs: clamp(3.4rem, 8.4vw, 7.4rem); }
.hero.sub .wrap > div { max-width: 760px; }
.hero.sub::after {
  background:
    linear-gradient(90deg, var(--shade-95) 0%, var(--shade-95) 46%, var(--shade-55) 64%, var(--shade-10) 86%),
    linear-gradient(0deg, var(--shade-55), transparent 38%);
}

/* ---------- Sections ---------- */

.section { padding: 136px 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 48px; margin-bottom: 64px; }

/* Half photo, half text */
.split { display: grid; grid-template-columns: 1fr 1fr; min-height: 640px; }
.split.air { margin-block: 136px; }
.split .media { position: relative; min-height: 380px; }
.split .media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.split .body {
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
  padding: 112px clamp(24px, 8vw, 128px);
}
.split .body h2 { margin-bottom: 32px; }
.split .body p { font-size: 1.12rem; max-width: 30em; color: var(--muted); }
.split .body p + p { margin-top: 16px; }
.split .body .btn { margin-top: 40px; }

/* Where to play: cards set on a tinted photo */
.where {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--brand-deep); color: var(--on-dark); padding: 136px 0 144px;
}
.where .bg { position: absolute; inset: 0; z-index: -2; background: url("../photos/bench.jpg") center 35% / cover no-repeat; }
.where::after { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--shade-80); }
.cities { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.city {
  display: flex; flex-direction: column; min-height: 400px; padding: 36px 32px 32px;
  background: var(--bg); color: var(--ink);
}
.city h3 { --fs: 2.6rem; white-space: nowrap; padding-bottom: 18px; margin-bottom: 22px; border-bottom: 3px solid var(--ink); }
.city ul { list-style: none; display: grid; gap: 12px; margin-bottom: 28px; color: var(--muted); }
.city a { margin-top: auto; align-self: flex-start; text-decoration: none; border-bottom: 2px solid var(--ink); padding-bottom: 3px; }
.city a:hover { border-bottom-color: transparent; }

/* Edge-to-edge photo strip */
.filmstrip { display: grid; grid-template-columns: repeat(4, 1fr); }
.filmstrip img { width: 100%; height: clamp(240px, 27vw, 420px); object-fit: cover; object-position: 50% 35%; }
.filmstrip figure:last-child img { object-position: 60% 100%; }

/* Resources: link cards on a color panel, beside a photo */
.split .body.brand { background: var(--brand); color: var(--on-dark); }
.split.spaced { margin-bottom: 136px; }
.links { display: grid; gap: 14px; width: 100%; margin-top: 10px; }
.links a {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 24px 24px 24px 28px; background: var(--bg); color: var(--ink);
  text-decoration: none; transition: background 0.15s ease, transform 0.15s ease;
}
.links a:hover { background: var(--pop); color: var(--pop-ink); transform: translateX(6px); }
.links h3 { --fs: 1.9rem; margin-bottom: 6px; }
.split .body .links p { font-size: 0.98rem; color: var(--muted); max-width: none; }
.links a:hover p { color: inherit; }
.links .go {
  flex: none; width: 46px; height: 46px; display: grid; place-content: center;
  background: var(--ink); color: var(--on-dark); font-size: 1.3rem; font-weight: 700;
}

/* Full-bleed photo with a card set over its bottom edge */
.feature { padding-bottom: 136px; }
.feature img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; object-position: 50% 83%; }
.feature .card {
  position: relative; max-width: 680px; margin-top: -120px; padding: 60px;
  background: var(--pop); color: var(--pop-ink);
}
.feature .card h2 { margin-bottom: 26px; }
.feature .card p { font-size: 1.12rem; margin-bottom: 36px; }

/* ---------- Footer ---------- */

.site-footer { background: var(--ink); color: var(--on-dark); padding: 72px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; }
.footer-grid .logo-text { --fs: 2.4rem; }
.footer-grid p { color: var(--on-dark-muted); margin-top: 18px; max-width: 22em; }
.site-footer ul { list-style: none; display: grid; gap: 12px; }
.site-footer li a { text-decoration: none; color: var(--on-dark); font-weight: 500; }
.site-footer a:hover { text-decoration: underline; text-decoration-color: var(--pop); text-underline-offset: 4px; }
.footer-base {
  margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--rule-dark);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 0.9rem; color: var(--on-dark-muted);
}
.footer-base a { color: var(--on-dark); text-decoration: none; }
.footer-base a + a { margin-left: 22px; }

/* ---------- Memberships page ---------- */

/* Plans as stacked color cards */
.plan-rows { display: grid; gap: 28px; }
.plan-row {
  display: grid; grid-template-columns: 1.15fr 1fr auto; gap: 56px; align-items: center;
  padding: 60px 64px; background: var(--brand); color: var(--on-dark);
}
.plan-row.pop { background: var(--pop); color: var(--pop-ink); }
.plan-row h2 { --fs: clamp(2.8rem, 5vw, 4.6rem); margin-bottom: 12px; }
.plan-row h2 + p { font-size: 1.08rem; max-width: 24em; opacity: 0.92; }
.checks { list-style: none; display: grid; gap: 14px; }
.checks li { display: flex; gap: 14px; align-items: flex-start; font-size: 1.04rem; font-weight: 500; }
.checks li::before {
  content: "✓"; flex: none; width: 26px; height: 26px; border-radius: 50%;
  background: var(--pop); color: var(--pop-ink);
  display: grid; place-content: center; font-size: 0.85rem; font-weight: 900; margin-top: 1px;
}
.plan-row.pop .checks li::before { background: var(--ink); color: var(--pop); }
.buy { display: flex; flex-direction: column; align-items: flex-end; gap: 20px; min-width: 250px; }
.price { display: flex; align-items: baseline; gap: 10px; }
.price b { --fs: 4.6rem; line-height: 0.85; color: var(--pop); }
.plan-row.pop .price b { color: inherit; }
.price span { font-weight: 600; }

/* Where your dues go: photo cards */
.dues { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.due {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 500px; padding: 40px; background: var(--brand-deep); color: var(--on-dark);
}
.due img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.due::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(0deg, var(--shade-95) 0%, var(--shade-86) 34%, var(--shade-10) 72%);
}
.due h3 { --fs: 3rem; margin-bottom: 12px; }
.due p { opacity: 0.95; }

.faq-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 64px; align-items: start; }
.faq details { border-bottom: 2px solid var(--rule); }
.faq details:first-child { border-top: 2px solid var(--rule); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 0;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  font-weight: 700; font-size: 1.16rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex: none; width: 34px; height: 34px; border-radius: 50%;
  background: var(--ink); color: var(--pop);
  display: grid; place-content: center; font-size: 1.3rem; font-weight: 500;
}
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 54px 24px 0; color: var(--muted); }

/* ---------- Responsive ---------- */

@media (max-width: 1100px) {
  .nav { gap: 20px; }
  .nav a { font-size: 0.82rem; }
  .cities { grid-template-columns: repeat(2, 1fr); }
  .city { min-height: 0; }
  .plan-row { grid-template-columns: 1fr 1fr; gap: 32px 40px; }
  .buy { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: space-between; }
}

@media (max-width: 900px) {
  .menu-btn { display: inline-flex; }
  .nav {
    position: fixed; inset: 72px 0 0 0; background: var(--brand-deep);
    flex-direction: column; align-items: flex-start; gap: 0;
    padding: 12px 24px 32px; overflow-y: auto;
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  }
  .menu-open .nav { transform: none; opacity: 1; visibility: visible; }
  .menu-open { overflow: hidden; }
  .nav a {
    width: 100%; padding: 16px 0; border-bottom: 1px solid var(--rule-dark);
    font-family: var(--font-display); font-stretch: var(--display-stretch); font-weight: var(--display-weight);
    font-size: calc(2.2rem * var(--display-scale)); letter-spacing: 0; line-height: 1.1;
  }
  .nav a[aria-current="page"] { color: var(--pop); border-bottom-color: var(--rule-dark); }

  .section { padding: 88px 0; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 22px; margin-bottom: 44px; }
  .split.air { margin-block: 0; }

  /* On phones the photo sits behind the top, the text at the bottom */
  .hero, .hero.sub { align-items: flex-end; min-height: 700px; padding: 300px 0 48px; }
  .hero.sub { min-height: 600px; }
  .hero .bg { background-size: auto 540px; background-position: 44% 0; }
  .hero .bg.team { background-size: auto 440px; background-position: 50% 0; }
  .hero::after, .hero.sub::after {
    background: linear-gradient(0deg, var(--shade-95) 0%, var(--shade-95) 44%, var(--shade-55) 68%, var(--shade-10) 100%);
  }
  .hero h1 { --fs: clamp(4rem, 19vw, 8rem); }
  .hero.sub h1 { --fs: clamp(3.2rem, 15vw, 6rem); }
  .hero .lede { max-width: 32em; }

  .split { grid-template-columns: 1fr; min-height: 0; }
  .split .media { min-height: 0; aspect-ratio: 4 / 3; }
  .split .body { padding: 64px 24px 88px; }

  .where { padding: 88px 0 96px; }

  .filmstrip { grid-template-columns: repeat(2, 1fr); }
  .filmstrip img { height: 46vw; }

  .split.spaced { margin-bottom: 88px; }
  .links .go { width: 40px; height: 40px; }

  .feature img { aspect-ratio: 3 / 2; }
  .feature .card { margin-top: -36px; padding: 36px 28px; }
  .feature { padding-bottom: 88px; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }

  .plan-row { grid-template-columns: 1fr; gap: 28px; padding: 40px 28px; }
  .plan-rows { gap: 20px; }
  .buy { flex-direction: column; align-items: flex-start; }
  .dues { grid-template-columns: 1fr; gap: 20px; }
  .due { min-height: 380px; padding: 32px 28px; }
  .faq-grid { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 600px) {
  .cities { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  body { font-size: 16px; }
  .wrap { width: calc(100% - 40px); }
  .site-header .wrap { height: 64px; }
  .nav { inset: 64px 0 0 0; padding-inline: 20px; }
  .logo-text { --fs: 1.4rem; }
  .btn-row .btn, .card .btn, .buy .btn { width: 100%; justify-content: center; }
  .buy { align-items: stretch; }
  .lede { font-size: 1.08rem; }
  .split .body { padding-inline: 20px; }
  .split .body .btn { align-self: stretch; justify-content: center; }
}

/* ---------- Inner pages ---------- */

/* Compact solid title block (Style A's colors, no photo) */
.page-top.brand { background: var(--brand); color: var(--on-dark); padding: 160px 0 72px; }
.page-top.brand .lede { opacity: 0.94; }
/* stacked head: title, then the two paragraphs in one column exactly as wide as the title (Bob's choice, 2026-11-13) */
.section-head.stacked { display: block; }
.lede-pair { display: grid; gap: 14px; }
.section-head.stacked .lede { max-width: none; }
.section-head.stacked h2 { margin-bottom: 28px; }
.page-top.brand .lede a { color: inherit; text-decoration: underline; text-underline-offset: 4px; }
.page-top .wrap.with-cta { position: relative; }
.page-top .page-cta { position: absolute; right: 0; bottom: 4px; }

/* Style A's hero: solid color with a framed photo */
.hero-a { position: relative; overflow: hidden; background: var(--brand); color: var(--on-dark); padding: 150px 0 96px; }
.hero-a .wrap { position: relative; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; }
.hero-a h1 { --fs: clamp(3.4rem, 8.4vw, 7.4rem); margin-bottom: 24px; }
.hero-a .lede { opacity: 0.94; max-width: 26em; }
.hero-a .btn-row { margin-top: 34px; }
.court-lines { position: absolute; right: -140px; top: 50%; width: 780px; transform: translateY(-50%) rotate(-12deg); color: var(--on-dark); opacity: 0.11; pointer-events: none; }
.hero-photo { position: relative; justify-self: end; width: min(100%, 440px); }
.hero-photo .frame { transform: rotate(2.5deg); border: 8px solid var(--bg); border-radius: 6px; box-shadow: 14px 14px 0 var(--brand-deep); overflow: hidden; }
.hero-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.hero-ball { position: absolute; left: -46px; bottom: -42px; width: 124px; height: 124px; transform: rotate(-14deg); filter: drop-shadow(6px 6px 0 var(--brand-deep)); }

/* Style A's accent band */
.band { background: var(--pop); color: var(--pop-ink); }
.band .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.band p { font-size: 1.18rem; line-height: 1.5; max-width: 30em; margin-bottom: 28px; }

/* Style A's flat link tiles */
.tiles { display: grid; gap: 20px; }
.tiles.cols-2 { grid-template-columns: repeat(2, 1fr); }
.tiles.cols-3 { grid-template-columns: repeat(3, 1fr); }
.tiles.cols-4 { grid-template-columns: repeat(4, 1fr); }
.tile { display: flex; flex-direction: column; min-height: 240px; padding: 30px; text-decoration: none; background: var(--pop); color: var(--pop-ink); transition: background 0.15s ease, color 0.15s ease; }
.tile:hover { background: var(--brand); color: var(--on-dark); }
.section.sand { background: var(--pop); color: var(--pop-ink); }
.tiles.light .tile { background: var(--surface); color: var(--ink); }
.tiles.light .tile p { color: var(--muted); opacity: 1; }
.tiles.light .tile:hover { background: var(--brand); color: var(--on-dark); }
.tiles.light .tile:hover p { color: inherit; opacity: 0.9; }
.tile h3 { --fs: 2.1rem; margin-bottom: 14px; }
.tile p { opacity: 0.86; margin-bottom: 24px; }
.tile .more { margin-top: auto; font-stretch: 75%; font-weight: 800; font-size: 0.88rem; letter-spacing: 0.1em; text-transform: uppercase; }
/* No small all-caps text anywhere (Bob, 2026-10-28): links, tile links, buttons and the nav are plain mixed case. Headlines keep the Bebas caps. */
.caps, .tile .more { font-stretch: 100%; font-weight: 700; font-size: 1rem; letter-spacing: 0; text-transform: none; }
.btn { font-stretch: 100%; font-weight: 700; font-size: 1.02rem; letter-spacing: 0; text-transform: none; }
.nav a { font-stretch: 100%; font-weight: 600; font-size: 1rem; letter-spacing: 0; text-transform: none; }

/* Tighter sections and a slate block (About) */
.section.tight { padding: 88px 0; }
.split.even { margin-block: 88px; }
.section.tight .section-head { margin-bottom: 48px; }
.section.dark { background: var(--brand); color: var(--on-dark); }
.section.dark .lede { color: inherit; opacity: 0.92; }
.section.dark .lede a { color: inherit; }
.section.dark .person { color: var(--ink); border-top-color: var(--ink); }
.section.dark .person p { color: var(--muted); }
.minutes { margin-top: 40px; max-width: 42em; opacity: 0.92; }
.minutes a { color: inherit; }
/* About: heading beside the text */
.about-text { display: grid; grid-template-columns: 1fr 1.4fr; gap: 56px; align-items: start; }
.about-text p { font-size: 1.12rem; color: var(--muted); max-width: 32em; }
.about-text p + p { margin-top: 16px; }

/* Memberships: both rows share the same columns, buttons the same width, checks centered on their text */
.plan-row { grid-template-columns: 1.1fr 1fr 290px; }
.buy { width: 100%; min-width: 0; align-items: stretch; }
.buy .price { justify-content: flex-end; }
.buy .btn { justify-content: center; }
.checks li { align-items: center; }
.checks li::before { margin-top: 0; }


.hero.cover .bg { background-size: cover; }
/* Home: the Resources panel follows the Where to play block directly, so give it room */
.split.spaced { margin-top: 136px; }
/* GPN: photo wider than the panel so its seam does not line up with the split above */
.split.wide-photo { grid-template-columns: 1.35fr 1fr; }
/* Home hero and Where to play backgrounds (Facebook photos, 2026-10-18) */
.hero .bg { background-image: url("../photos/indoor-doubles-rally.jpg"); background-size: cover; background-position: 50% 100%; }
.where .bg { background-image: url("../photos/hansmann-park-courts.jpg"); background-position: center 50%; }
/* Pages with no photo behind the header keep it solid */
.solid .site-header { background: var(--brand-deep); }
.split .body.brand p { color: inherit; opacity: 0.92; }
.hero .lede a { color: inherit; }

.page-top { padding: 150px 0 56px; }
.page-top:not(.brand) { padding-bottom: 72px; }
.page-top h1:last-child { margin-bottom: 0; }
.page-top h1 { --fs: clamp(3.4rem, 8.4vw, 7.4rem); margin-bottom: 20px; }

.confirm { display: inline-block; padding: 2px 8px; background: #ffe88a; color: #4a3b00; font-size: 0.85rem; font-weight: 700; border-radius: 3px; }

/* People and trainers */
.people, .trainers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.trainers { grid-template-columns: repeat(3, 1fr); gap: 28px; }
.person, .trainer { background: var(--surface); border-top: 6px solid var(--brand); padding: 28px 26px 26px; }
.person h3 { --fs: 1.9rem; margin-bottom: 4px; }
.person p { color: var(--muted); }
.trainer { padding: 34px 30px 30px; }
.trainer h3 { --fs: 2.3rem; margin-bottom: 10px; }
.trainer p { color: var(--muted); }
.trainer .contact { margin-top: 18px; font-weight: 600; color: var(--ink); }
/* Trainers: one coach per row, a tilted framed snapshot (the About hero's frame) beside the name and bio */
.coach-list { display: grid; gap: 112px; }
.coach-row { display: grid; grid-template-columns: 400px 1fr; gap: 72px; align-items: center; }
.coach-row .snap { width: 90%; margin: 10px auto; transform: rotate(-2.5deg); border: 8px solid var(--surface); border-radius: 6px; box-shadow: 14px 14px 0 var(--brand-deep); overflow: hidden; background: var(--surface); }
.coach-row .snap.tilt-r { transform: rotate(2.5deg); }
.coach-row .snap img, .coach-row .snap .placeholder { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.coach-row .snap .placeholder { display: flex; align-items: center; justify-content: center; background: var(--brand); color: var(--on-dark-muted); font-weight: 600; }
.coach-text h2 { --fs: 3.2rem; margin-bottom: 18px; }
.coach-text .bio { font-size: 1.12rem; color: var(--muted); max-width: 34em; }
.coach-text .cta { margin-top: 30px; }
html { scroll-behavior: smooth; }
.band .picked { display: block; margin-top: 10px; font-weight: 600; }
.band .picked:empty { display: none; }
.band p a { color: inherit; }

.note { background: var(--brand); color: var(--on-dark); padding: 48px 56px; }
.note h2 { --fs: 2.6rem; margin-bottom: 12px; }
.note p { max-width: 36em; font-size: 1.08rem; }
.note a { color: var(--pop); }

.docs { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.doc-card { display: flex; flex-direction: column; min-height: 260px; padding: 40px; background: var(--ink); color: var(--on-dark); text-decoration: none; transition: background 0.15s ease; }
.doc-card.pop { background: var(--pop); color: var(--pop-ink); }
.doc-card:hover { background: var(--brand); color: var(--on-dark); }
.doc-card h3 { --fs: 2.6rem; margin-bottom: 12px; }
.doc-card p { opacity: 0.9; max-width: 26em; margin-bottom: 24px; }
.doc-card .caps { margin-top: auto; }

/* Where to play */
/* Where to play: one block per city, photo beside the list, cream and slate alternating */
.town { padding: 88px 0; }
.town.dark { background: var(--brand); color: var(--on-dark); }
.town.dark .lede { color: inherit; opacity: 0.92; }
.town-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 56px; align-items: start; }
.town.flip .town-grid { grid-template-columns: 1.2fr 0.8fr; }
.town.flip .town-intro { order: 2; }
.town-intro h2 { margin-bottom: 20px; }
.town-intro .lede { margin-bottom: 28px; max-width: 28em; }
.town-intro .lede a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.town-photo { margin-top: 12px; }
.town-photo img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.town-photo figcaption { margin-top: 10px; font-size: 0.92rem; color: var(--muted); }
.town.dark .town-photo figcaption { color: var(--on-dark-muted); }
.courts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.town.dark .court { color: var(--ink); }
.town.dark .court .caps { color: var(--ink); }
.town.dark .court.indoor { border-top-color: var(--ink); }
.court { display: flex; flex-direction: column; background: var(--surface); border-top: 6px solid var(--pop); padding: 28px 26px 26px; }
.court.indoor { border-top-color: var(--brand); }
.court h3 { --fs: 2.1rem; margin-bottom: 6px; }
.court .meta { font-weight: 700; margin-bottom: 10px; }
.court p { color: var(--muted); }
.court p a { color: inherit; text-decoration: none; }
.court .caps { margin-top: auto; padding-top: 18px; text-decoration: none; color: var(--ink); }
.court .caps:hover { text-decoration: underline; text-underline-offset: 4px; }
.section-head .lede a { color: inherit; }

/* Steps */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.steps li { background: var(--brand); color: var(--on-dark); padding: 32px 28px 30px; min-height: 260px; display: flex; flex-direction: column; }
.steps li:nth-child(even) { background: var(--ink); }
.steps b { --fs: 3.6rem; color: var(--pop); margin-bottom: auto; padding-bottom: 28px; }
.steps h3 { --fs: 1.9rem; margin-bottom: 8px; }
.steps p { opacity: 0.9; }
.steps li:has(> a) { padding: 0; }
.steps li > a { display: flex; flex-direction: column; flex: 1; padding: 32px 28px 30px; color: inherit; text-decoration: none; transition: background 0.15s ease; }
.steps li > a:hover { background: var(--brand-deep); }
.steps li > a .arrow { display: inline-block; transition: transform 0.15s ease; }
.steps li > a:hover .arrow { transform: translateX(4px); }

/* Contact */
.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.contact-card { display: flex; flex-direction: column; min-height: 320px; padding: 44px; background: var(--brand); color: var(--on-dark); text-decoration: none; transition: transform 0.15s ease; }
.contact-card.pop { background: var(--pop); color: var(--pop-ink); }
.contact-card:hover { transform: translateY(-4px); }
.contact-card h2 { --fs: 3rem; margin-bottom: 12px; }
.contact-card p { opacity: 0.9; max-width: 26em; margin-bottom: 28px; }
.contact-card .big { margin-top: auto; font-weight: 700; font-size: 1.15rem; word-break: break-word; }
/* Contact: the two ways to reach the club as photo cards (same component as "Where your dues go") */
.due-link { text-decoration: none; color: var(--on-dark); transition: transform 0.15s ease; }
.due-link:hover { transform: translateY(-4px); }
.due-link .go-line { margin-top: 18px; font-weight: 700; }
.contact-due { text-decoration: none; min-height: 440px; transition: transform 0.15s ease; }
.contact-due:hover { transform: translateY(-4px); }
.contact-due h3 { --fs: 3rem; margin-bottom: 12px; }
.contact-due p { max-width: 26em; margin-bottom: 28px; }
.contact-due .big { font-weight: 700; font-size: 1.15rem; word-break: break-word; }
/* Contact: the photo strip with 68 of cream above it and 68 of sand below it */
.strip-band { padding: 0; }
.strip-band .filmstrip { border-top: 68px solid var(--pop); }

/* Long documents */
.doc { max-width: 760px; font-size: 1.08rem; }
.doc h2 { --fs: 2.4rem; margin: 52px 0 16px; }
.doc h2:first-child { margin-top: 0; }
.doc p, .doc ul { margin-bottom: 16px; color: var(--ink); }
.doc ul { padding-left: 22px; display: grid; gap: 8px; }
.doc b { font-weight: 700; }

@media (max-width: 1100px) {
  .hero .bg { background-size: auto 125%; background-position: 50% 100%; }
  .people { grid-template-columns: repeat(3, 1fr); }
  .plan-row { grid-template-columns: 1fr 1fr; }
  .buy { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: space-between; }
  .buy .btn { width: auto; }
  .tiles.cols-3, .tiles.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .courts { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .split.wide-photo .media { order: 2; }
  .page-top .page-cta { position: static; margin-top: 28px; }
  .coach-list { gap: 80px; }
  .coach-row { grid-template-columns: 1fr; gap: 36px; }
  .coach-row .snap { width: 78%; max-width: 340px; margin-left: 4px; }
  .contact-due { min-height: 360px; }
  .strip-band .filmstrip { border-top-width: 44px; }
  .split.wide-photo { grid-template-columns: 1fr; }
  .section.tight { padding: 64px 0; }
  .split.even { margin-block: 0; }
  .town { padding: 64px 0; }
  .town-grid, .town.flip .town-grid { grid-template-columns: 1fr; gap: 36px; }
  .town.flip .town-intro { order: 0; }
  .town-photo img { aspect-ratio: 16 / 10; }
  .courts { grid-template-columns: 1fr; }
  .split.spaced { margin-top: 88px; }
  .page-top { padding: 120px 0 36px; }
  .page-top.brand { padding: 120px 0 48px; }
  .hero-a { padding: 120px 0 80px; }
  .hero-a .wrap { grid-template-columns: 1fr; gap: 48px; }
  .hero-photo { width: min(100%, 360px); justify-self: start; }
  .hero-ball { width: 96px; height: 96px; left: -30px; bottom: -34px; }
  .court-lines { width: 620px; right: -280px; top: 70%; }
  .band .wrap { grid-template-columns: 1fr; gap: 24px; }
  .tiles, .tiles.cols-3, .tiles.cols-4 { grid-template-columns: 1fr; }
  .tile { min-height: 0; }
  .about-text { grid-template-columns: 1fr; gap: 24px; }
  .plan-row { grid-template-columns: 1fr; }
  .buy { flex-direction: column; align-items: stretch; }
  .buy .price { justify-content: flex-start; }
  .people, .trainers, .docs, .contact-cards { grid-template-columns: 1fr; gap: 16px; }
  .people { grid-template-columns: 1fr 1fr; }
  .note { padding: 32px 26px; }
  .doc-card, .contact-card { min-height: 0; padding: 30px 26px; }
  .steps li { min-height: 0; }
}
@media (max-width: 600px) {
  .tiles.cols-2, .tiles.cols-3, .tiles.cols-4 { grid-template-columns: 1fr; }
  .people, .courts, .steps { grid-template-columns: 1fr; }
}
