/* Country Club Collective — base styles */

:root {
  --navy-900: #141f33;
  --navy-800: #1a2740;
  --navy-700: #22324f;
  --gold: #a8875a;
  --gold-light: #c4a678;
  --cream: #f4f1ea;
  --ivory: #faf8f3;
  --ink: #1a2740;
  --muted: #5c6577;

  --serif: "Libre Caslon Text", Georgia, "Times New Roman", serif;
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;

  --max: 1200px;
  --gutter: clamp(16px, 4vw, 48px);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--ivory);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.eyebrow {
  font-family: var(--sans);
  font-size: 0.8rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 1rem;
}

.rule {
  width: 120px;
  height: 1px;
  background: var(--gold);
  border: 0;
  margin: 2rem auto;
}

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.2;
  margin: 0 0 1rem;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--navy-800);
  color: var(--cream);
  border-bottom: 1px solid rgba(168, 135, 90, 0.5);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 84px;
  gap: 1.5rem;
}

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

.brand img { width: 48px; height: 48px; }

.brand span {
  font-size: 0.95rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

.nav a {
  white-space: nowrap;
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--cream);
  padding: 0.5rem 0;
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--gold-light);
  border-bottom-color: var(--gold);
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(168, 135, 90, 0.6);
  color: var(--cream);
  width: 44px;
  height: 44px;
  cursor: pointer;
  padding: 0;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 20px;
  height: 1px;
  background: currentColor;
  margin: 0 auto;
  position: relative;
  content: "";
}

.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }

@media (max-width: 1140px) {
  .nav-toggle { display: block; }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--navy-800);
    border-bottom: 1px solid rgba(168, 135, 90, 0.5);
    display: none;
  }

  .nav.is-open { display: block; }

  .nav ul {
    flex-direction: column;
    gap: 0;
    padding: 0.5rem var(--gutter) 1.5rem;
  }

  .nav li { border-top: 1px solid rgba(244, 241, 234, 0.08); }
  .nav a { display: block; padding: 1rem 0; border-bottom: 0; }

  /* Client Login moves from the utility bar into the hamburger menu. */
  .site-header .utility { display: none; }
  .nav li.nav-login { border-top: 0; padding-top: 1rem; }
  .nav a.login-btn {
    display: flex;
    justify-content: center;
    padding: 0.85rem 1rem;
    color: var(--navy-900);
    border: 1px solid var(--gold);
  }
  .nav a.login-btn:hover { color: var(--navy-900); }
}

@media (min-width: 1141px) {
  .nav li.nav-login { display: none; }
}

@media (max-width: 480px) {
  .brand span { font-size: 0.72rem; letter-spacing: 0.18em; }
  .brand img { width: 40px; height: 40px; }
}

/* Utility bar above the main menu */
.site-header .utility {
  min-height: 0;
  justify-content: flex-end;
  padding-top: 0.6rem;
}

.login-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--navy-900);
  background: var(--gold);
  border: 1px solid var(--gold);
  padding: 0.45rem 1rem;
  transition: background 0.2s;
}

.login-btn svg { width: 12px; height: 12px; stroke-width: 1.6; }

.login-btn:hover,
.login-btn[aria-current="page"] {
  background: var(--gold-light);
  border-color: var(--gold-light);
}

/* ---------- Hero ---------- */

.hero {
  background: linear-gradient(160deg, var(--navy-700) 0%, var(--navy-800) 45%, var(--navy-900) 100%);
  color: var(--cream);
  text-align: center;
  padding: clamp(5rem, 14vw, 10rem) 0;
}

.hero h1 {
  font-size: clamp(2.2rem, 5.5vw, 4.25rem);
  margin: 0;
}

.hero .tagline,
.page-hero .tagline {
  font-size: clamp(0.8rem, 1.6vw, 1.05rem);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  line-height: 1.9;
  margin: 0 auto 3rem;
}

.btn {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 1rem 2.25rem;
  border: 1px solid var(--gold);
  color: var(--cream);
  transition: background 0.2s, color 0.2s;
}

.btn:hover { background: var(--gold); color: var(--navy-900); }

.btn--dark { color: var(--navy-800); }
.btn--dark:hover { color: var(--cream); }

/* The divider spans exactly the width of the tagline beneath it. */
.hero__sub { display: table; margin: 0 auto 3rem; max-width: 100%; }
.hero__sub .tagline { margin-bottom: 0; }
.hero__sub .rule { width: 100%; }
/* Offset the trailing letter-spacing so the text and line stay centered together. */
.hero__sub .tagline { margin-right: -0.25em; }

/* Keep each tagline line (split with <br>) on one line wherever it fits. */
@media (min-width: 760px) {
  .hero .tagline { white-space: nowrap; }
}

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

.section { padding: clamp(4rem, 9vw, 7rem) 0; }

.section--cream { background: var(--cream); }

.section--navy {
  background: var(--navy-800);
  color: var(--cream);
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3.5rem;
}

.section-head h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }

.section-head p { color: var(--muted); margin: 0; }
.section--navy .section-head p { color: rgba(244, 241, 234, 0.75); }

.intro {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  line-height: 1.75;
}

.grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.card {
  background: #fff;
  border: 1px solid rgba(26, 39, 64, 0.08);
  display: flex;
  flex-direction: column;
}

.card__media {
  aspect-ratio: 4 / 3;
  background:
    linear-gradient(160deg, rgba(34, 50, 79, 0.9), rgba(20, 31, 51, 0.95)),
    var(--navy-800);
  display: grid;
  place-items: center;
  color: rgba(168, 135, 90, 0.6);
}

.card__media img { width: 64px; opacity: 0.35; }

.card__body { padding: 1.75rem; flex: 1; display: flex; flex-direction: column; }
.card__body h3 { font-size: 1.4rem; }
.card__body p { color: var(--muted); margin: 0 0 1.5rem; flex: 1; }

.card__link {
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--gold);
}

.card__link:hover { color: var(--navy-800); }

.pillars {
  display: grid;
  gap: 3rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  text-align: center;
}

.pillars h3 { font-size: 1.35rem; color: var(--cream); }
.pillars p { color: rgba(244, 241, 234, 0.75); margin: 0; }

.pillar-num {
  font-family: var(--serif);
  font-size: 0.9rem;
  color: var(--gold);
  letter-spacing: 0.2em;
  display: block;
  margin-bottom: 1rem;
}

.center { text-align: center; margin-top: 3rem; }

/* ---------- Page header (interior pages) ---------- */

.page-hero {
  background: linear-gradient(160deg, var(--navy-700) 0%, var(--navy-900) 100%);
  color: var(--cream);
  text-align: center;
  padding: clamp(4rem, 10vw, 6.5rem) 0;
}

.page-hero h1 { font-size: clamp(2rem, 5vw, 3.4rem); margin: 0; }

.placeholder {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  color: var(--muted);
}

/* ---------- Contact form ---------- */

.form {
  max-width: 640px;
  margin: 0 auto;
  display: grid;
  gap: 1.25rem;
}

.form label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  color: var(--navy-800);
}

.form input,
.form textarea {
  width: 100%;
  font: inherit;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(26, 39, 64, 0.2);
  background: #fff;
  color: var(--ink);
}

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

.form textarea { min-height: 160px; resize: vertical; }

.form button { justify-self: start; background: none; cursor: pointer; }

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

.site-footer {
  position: relative;
  background: linear-gradient(180deg, var(--navy-800) 0%, var(--navy-900) 100%);
  color: rgba(244, 241, 234, 0.72);
  padding: clamp(4rem, 8vw, 5.5rem) 0 2rem;
  font-size: 0.92rem;
  border-top: 3px solid var(--gold);
  overflow: hidden;
}
.site-footer::before {
  /* the logo's arcs, large and faint, as a watermark */
  content: "";
  position: absolute;
  right: -120px;
  bottom: -140px;
  width: 520px;
  height: 520px;
  background: url("../img/logo-mark.svg") no-repeat center / contain;
  opacity: 0.04;
  pointer-events: none;
}

.footer-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.6fr 0.9fr 1.2fr 1.4fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(196, 166, 120, 0.3);
}

.footer-brand .brand { margin-bottom: 1.25rem; }
.footer-brand .brand span { white-space: normal; max-width: 15ch; line-height: 1.6; }
.footer-brand p { max-width: 32ch; line-height: 1.7; margin: 0 0 1.75rem; }
.footer-brand .btn { padding: 0.8rem 1.6rem; }

.footer-col h3 {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin: 0.5rem 0 1.25rem;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 0.7rem; line-height: 1.4; }
.footer-col a { color: rgba(244, 241, 234, 0.75); text-decoration: none; transition: color 0.2s, padding-left 0.2s; }
.footer-col a:hover { color: var(--cream); padding-left: 4px; }

.footer-bottom {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.75rem;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(244, 241, 234, 0.5);
}
.to-top { color: var(--gold-light); text-decoration: none; }
.to-top:hover { color: var(--cream); }

@media (max-width: 960px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ---------- Clubs mega menu ---------- */

.site-header .container { position: relative; }

.btn--gold { background: var(--gold); color: var(--navy-900); }
.btn--gold:hover { background: var(--navy-800); color: var(--cream); border-color: var(--navy-800); }
.btn--block { display: block; text-align: center; margin-top: 0.75rem; }

.mega { display: none; }

@media (min-width: 1141px) {
  .has-mega { position: static; }

  .mega {
    position: absolute;
    top: 100%;
    left: var(--gutter);
    right: var(--gutter);
    color: var(--ink);
    background: var(--ivory);
    border-top: 2px solid var(--gold);
    box-shadow: 0 40px 80px -20px rgba(10, 16, 28, 0.55);
    text-align: left;
    overflow: hidden;
  }

  .has-mega.is-open > .mega,
  .has-mega:focus-within > .mega { display: block; animation: mega-in 0.22s ease-out; }
  .has-mega.is-closed > .mega { display: none; }

  /* Invisible bridge over the gap between the menu link and the panel. */
  .mega::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 100%;
    height: 48px;
  }
}

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

.mega__grid {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  height: min(730px, calc(100vh - 140px));
}

/* Left rail */
.mega__rail {
  background: linear-gradient(180deg, var(--navy-800), var(--navy-900));
  color: var(--cream);
  padding: 1.75rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.mega__title { font-family: var(--serif); font-size: 1.45rem; line-height: 1.2; margin: 0; }
.mega__count {
  display: block;
  font-family: var(--sans);
  font-size: 0.66rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin: 0.45rem 0 1.25rem;
}

.mega__search {
  width: 100%;
  font: inherit;
  font-size: 0.88rem;
  padding: 0.7rem 0.9rem 0.7rem 2.3rem;
  color: var(--cream);
  background: rgba(244, 241, 234, 0.07) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23c4a678' stroke-width='1.6'%3E%3Ccircle cx='7' cy='7' r='5'/%3E%3Cpath d='m11 11 3.5 3.5'/%3E%3C/svg%3E") no-repeat 0.8rem center / 14px;
  border: 1px solid rgba(196, 166, 120, 0.45);
  margin-bottom: 1.25rem;
}
.mega__search::placeholder { color: rgba(244, 241, 234, 0.55); }
.mega__search:focus { outline: none; border-color: var(--gold-light); background-color: rgba(244, 241, 234, 0.12); }

/* The mega menu's lists are vertical, unlike the top menu bar's. */
.nav .mega ul { display: block; gap: 0; padding: 0; }
.nav .mega ul.mega__clubs { padding: 1.5rem 2rem 2rem; }

.mega__regions { list-style: none; margin: 0; padding: 0; }
.nav .mega__regions li { border: 0; }

.mega__tab {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  font: inherit;
  font-size: 0.82rem;
  text-align: left;
  color: rgba(244, 241, 234, 0.82);
  background: none;
  border: 0;
  border-left: 2px solid transparent;
  padding: 0.62rem 0.75rem;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.mega__tab span {
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: var(--gold-light);
  border: 1px solid rgba(196, 166, 120, 0.35);
  padding: 0.12rem 0.45rem;
  min-width: 2.2rem;
  text-align: center;
}
.mega__tab:hover { color: var(--cream); background: rgba(244, 241, 234, 0.05); }
.mega__tab.is-active { color: var(--cream); background: rgba(196, 166, 120, 0.14); border-left-color: var(--gold); }
.mega__tab.is-active span { background: var(--gold); color: var(--navy-900); border-color: var(--gold); }

.mega__toggle {
  font: inherit;
  font-size: 0.66rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-light);
  background: none;
  border: 0;
  border-top: 1px solid rgba(196, 166, 120, 0.25);
  margin-top: 0.75rem;
  padding: 0.9rem 0.75rem 0.6rem;
  text-align: left;
  cursor: pointer;
}
.mega__toggle::after { content: " +"; }
.mega__toggle[aria-expanded="true"]::after { content: " \2212"; }
.mega__toggle:hover { color: var(--cream); }

.nav .mega__all {
  margin-top: auto;
  padding: 1.1rem 0 0;
  font-size: 0.66rem;
  letter-spacing: 0.22em;
  color: var(--gold-light);
  border-bottom: 0;
}
.nav .mega__all:hover { color: var(--cream); }

/* Right pane */
.mega__pane { position: relative; overflow-y: auto; overscroll-behavior: contain; }

.mega__panel[hidden], .mega__results[hidden] { display: none; }

.nav a.mega__banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 100px;
  padding: 1rem 2rem;
  background-color: var(--navy-800);
  background-size: cover;
  background-position: center;
  color: var(--cream);
  text-transform: none;
  letter-spacing: 0;
  border-bottom: 0;
}
.mega__banner-name { font-family: var(--serif); font-size: 1.9rem; line-height: 1.15; text-shadow: 0 2px 18px rgba(0, 0, 0, 0.4); }
.mega__banner-go {
  font-size: 0.66rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-light);
  white-space: nowrap;
}
.nav a.mega__banner:hover .mega__banner-go { color: var(--cream); }

.mega__clubs {
  list-style: none;
  margin: 0;
  padding: 1.5rem 2rem 2rem;
  columns: 3 210px;
  column-gap: 2rem;
}
.nav .mega__clubs li { border: 0; break-inside: avoid; }
.nav .mega__clubs a {
  display: block;
  white-space: normal;
  font-size: 0.86rem;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink);
  padding: 0.38rem 0 0.38rem 0.75rem;
  border-bottom: 0;
  border-left: 1px solid transparent;
  line-height: 1.3;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}
.nav .mega__clubs a:hover { color: var(--navy-900); border-left-color: var(--gold); background: rgba(196, 166, 120, 0.1); }
.mega__city { display: block; color: var(--muted); font-size: 0.72rem; margin-top: 0.1rem; }
.mega__region-label { color: var(--gold); }

.mega__results-head {
  padding: 1.6rem 2rem 0;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}
.mega__empty { padding: 1.5rem 2rem; color: var(--muted); margin: 0; }

/* ---------- Club directory ---------- */

.dir-tools { max-width: 640px; margin: 0 auto 2rem; display: flex; }

.dir-jump {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 3.5rem;
}

.dir-jump a {
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.5rem 0.9rem;
  border: 1px solid rgba(26, 39, 64, 0.15);
}

.dir-jump a:hover { border-color: var(--gold); color: var(--gold); }
.dir-jump span { color: var(--gold); margin-left: 0.3rem; }

.dir-region { margin-bottom: 3.5rem; scroll-margin-top: 140px; }

.dir-region h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--gold);
  margin-bottom: 1.5rem;
}

.dir-region h2 span,
.page-hero .club-type {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-left: 0.5rem;
}

.dir-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}

.dir-card {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 1.1rem 1.25rem;
  background: #fff;
  border: 1px solid rgba(26, 39, 64, 0.08);
  border-left: 2px solid var(--gold);
  text-decoration: none;
  transition: box-shadow 0.2s, transform 0.2s;
}

.dir-card:hover { box-shadow: 0 8px 24px rgba(20, 31, 51, 0.12); transform: translateY(-1px); }

.dir-card__name { font-family: var(--serif); font-size: 1.1rem; line-height: 1.3; }
.dir-card__city { font-size: 0.85rem; color: var(--muted); }
.dir-card__meta { font-size: 0.68rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold); }

/* ---------- Club profile ---------- */

.page-hero--club .club-type { margin: 1.25rem 0 0; display: block; }

.breadcrumb {
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 2rem;
  color: rgba(244, 241, 234, 0.6);
}

.breadcrumb a { text-decoration: none; color: rgba(244, 241, 234, 0.8); }
.breadcrumb a:hover { color: var(--gold-light); }
.breadcrumb span { margin: 0 0.4rem; color: var(--gold); }

.club-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 4rem;
  align-items: start;
}

@media (max-width: 960px) {
  .club-layout { grid-template-columns: 1fr; gap: 3rem; }
}

.club-main h2 {
  font-size: 1.6rem;
  margin: 2.75rem 0 1rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid rgba(168, 135, 90, 0.5);
}

.club-main h2:first-child { margin-top: 0; }
.club-main p { margin: 0 0 1.1rem; font-size: 1.02rem; }

.table-wrap { overflow-x: auto; }

.golf-table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }

.golf-table th {
  text-align: left;
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  padding: 0.6rem 0.75rem 0.6rem 0;
  border-bottom: 1px solid rgba(26, 39, 64, 0.15);
}

.golf-table td {
  padding: 0.8rem 0.75rem 0.8rem 0;
  border-bottom: 1px solid rgba(26, 39, 64, 0.08);
  vertical-align: top;
}

.golf-table td small { display: block; color: var(--muted); font-size: 0.8rem; margin-top: 0.2rem; }

.highlights { padding-left: 1.1rem; margin: 0; }
.highlights li { margin-bottom: 0.5rem; }
.highlights li::marker { color: var(--gold); }

.sources ul { list-style: none; padding: 0; margin: 0; font-size: 0.8rem; }
.sources li { margin-bottom: 0.35rem; overflow-wrap: anywhere; }
.sources a { color: var(--muted); }
.club-main .sources h2 { font-size: 1.1rem; margin-top: 2.75rem; }

.club-main .verified { font-size: 0.8rem; color: var(--muted); margin-top: 2rem; font-style: italic; }

.club-aside {
  background: #fff;
  border: 1px solid rgba(26, 39, 64, 0.08);
  border-top: 2px solid var(--gold);
  padding: 2rem;
  position: sticky;
  top: 144px;
}

.club-aside h3 {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 1rem;
}

.facts { margin: 0 0 1.75rem; }
.fact { padding: 0.65rem 0; border-bottom: 1px solid rgba(26, 39, 64, 0.08); }
.fact dt { font-size: 0.68rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted); }
.fact dd { margin: 0.15rem 0 0; }
.fact dd a { color: var(--ink); }

.chips { list-style: none; padding: 0; margin: 0 0 1.75rem; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.chips li { font-size: 0.75rem; padding: 0.35rem 0.7rem; background: var(--cream); border: 1px solid rgba(168, 135, 90, 0.35); }

/* ---------- Club photography ---------- */

.page-hero--photo {
  position: relative;
  background-color: var(--navy-800);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  padding: clamp(7rem, 18vw, 12rem) 0 clamp(4rem, 9vw, 6rem);
}

.page-hero--photo h1 { text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35); }

.gallery { background: var(--navy-900); padding: 0 0 clamp(2.5rem, 5vw, 4rem); }

.gal {
  display: grid;
  gap: 6px;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: clamp(140px, 17vw, 230px);
  margin-top: -1px;
}

.gal__item { margin: 0; position: relative; overflow: hidden; background: var(--navy-700); }
.gal__item--lead { grid-column: span 2; grid-row: span 2; }
.gal--1 .gal__item--lead { grid-column: 1 / -1; }
.gal--2 .gal__item { grid-column: span 2; grid-row: span 2; }
.gal--3 .gal__item:not(.gal__item--lead) { grid-column: span 2; }
.gal--4 .gal__item:last-child { grid-column: span 2; }

.gal__item a { display: block; height: 100%; }

.gal__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease, filter 0.3s;
}

.gal__item a:hover img { transform: scale(1.04); filter: brightness(1.05); }

.gal__tag {
  position: absolute;
  left: 10px;
  bottom: 10px;
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cream);
  background: rgba(20, 31, 51, 0.7);
  padding: 0.3rem 0.55rem;
  pointer-events: none;
}

@media (max-width: 700px) {
  .gal { grid-template-columns: 1fr 1fr; grid-auto-rows: 130px; }
  .gal__item--lead,
  .gal--2 .gal__item,
  .gal--3 .gal__item:not(.gal__item--lead),
  .gal--4 .gal__item:last-child { grid-column: 1 / -1; grid-row: span 2; }
  .gal--3 .gal__item:not(.gal__item--lead) { grid-row: span 1; }
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(10, 16, 28, 0.94);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 1rem 1.5rem;
}

.lightbox[hidden] { display: none; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 9rem); object-fit: contain; }

.lightbox p {
  color: rgba(244, 241, 234, 0.8);
  font-size: 0.85rem;
  margin: 1rem 0 0;
  text-align: center;
  max-width: 70ch;
}

.lightbox button {
  position: absolute;
  background: none;
  border: 1px solid rgba(168, 135, 90, 0.6);
  color: var(--cream);
  width: 44px;
  height: 44px;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

.lightbox button:hover { background: var(--gold); color: var(--navy-900); }
.lightbox .lb-close { top: 1rem; right: 1rem; }
.lightbox .lb-prev { left: 1rem; top: 50%; }
.lightbox .lb-next { right: 1rem; top: 50%; }

.page-hero--photo .eyebrow { color: var(--gold-light); text-shadow: 0 1px 12px rgba(0, 0, 0, 0.6); }
.page-hero--photo .breadcrumb,
.page-hero--photo .club-type { text-shadow: 0 1px 12px rgba(0, 0, 0, 0.6); }
.hero-tag { left: auto; right: 12px; bottom: 12px; }

/* ---------- Articles ---------- */

.card__media--photo { display: block; overflow: hidden; }
.card__media--photo img { width: 100%; height: 100%; object-fit: cover; opacity: 1; transition: transform 0.5s ease; }
.card:hover .card__media--photo img { transform: scale(1.04); }

.card__kicker {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold) !important;
  margin: 0 0 0.6rem !important;
  flex: 0 !important;
}

.card__title { color: inherit; text-decoration: none; }
.card__title:hover { color: var(--gold); }

.article__title { max-width: 22ch; margin: 0 auto; font-size: clamp(2rem, 4.5vw, 3.2rem); }

.prose {
  max-width: 720px;
  margin: 0 auto;
  font-size: 1.08rem;
  line-height: 1.8;
}

.prose .article__lede {
  font-family: var(--serif);
  font-size: 1.35rem;
  line-height: 1.6;
  color: var(--navy-800);
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(168, 135, 90, 0.5);
}

.prose h2 { font-size: 1.7rem; margin: 2.5rem 0 1rem; }
.prose h3 { font-size: 1.3rem; margin: 2rem 0 0.75rem; }
.prose p { margin: 0 0 1.25rem; }
.prose ul { margin: 0 0 1.5rem; padding-left: 1.25rem; }
.prose li { margin-bottom: 0.5rem; }
.prose li::marker { color: var(--gold); }
.prose a { color: var(--navy-800); text-decoration-color: var(--gold); text-underline-offset: 3px; }
.prose a:hover { color: var(--gold); }
.prose em { color: var(--muted); }
.prose .article__credit { font-size: 0.78rem; color: var(--muted); margin-top: 3rem; }
.prose .article__credit a { color: var(--muted); }

/* ---------- Articles: magazine layout ---------- */

/* Same height as the plain interior banners (e.g. Homes for Sale), with a photo behind. */
.page-hero--photo.mag-hero {
  /* Same height as a plain interior banner: 2 x padding + one h1 line. */
  padding: 0;
  min-height: calc(2 * clamp(4rem, 10vw, 6.5rem) + 1.2 * clamp(2rem, 5vw, 3.4rem));
  display: flex;
  align-items: center;
}
.page-hero--photo.mag-hero .container { width: 100%; }
.mag-hero .tagline { margin: 1rem auto 0; text-shadow: 0 1px 12px rgba(0, 0, 0, 0.6); }

.mag { padding-top: 2.25rem; }  /* same as the gap below the filter chips */

/* Category chips */
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; margin-bottom: 2.25rem; }
.chip {
  font: inherit;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.6rem 1.1rem;
  background: transparent;
  color: var(--navy-800);
  border: 1px solid rgba(26, 39, 64, 0.18);
  cursor: pointer;
  transition: all 0.2s;
}
.chip:hover { border-color: var(--gold); color: var(--gold); }
.chip.is-active { background: var(--navy-800); border-color: var(--navy-800); color: var(--cream); }

/* Photo tiles */
.tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 360px;
  gap: 1.25rem;
}
.tile {
  position: relative;
  overflow: hidden;
  display: block;
  text-decoration: none;
  color: var(--cream);
  background: var(--navy-700);
}
.tile--wide { grid-column: span 2; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s ease; }
.tile:hover img { transform: scale(1.06); }
.tile__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 31, 51, 0) 30%, rgba(20, 31, 51, 0.55) 60%, rgba(20, 31, 51, 0.95) 100%);
  transition: background 0.4s;
}
.tile:hover .tile__shade { background: linear-gradient(180deg, rgba(20, 31, 51, 0.1) 10%, rgba(20, 31, 51, 0.65) 55%, rgba(20, 31, 51, 0.97) 100%); }
.tile__body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.tile__cat {
  align-self: flex-start;
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--navy-900);
  background: var(--gold);
  padding: 0.3rem 0.6rem;
}
.tile__title { font-family: var(--serif); font-size: 1.4rem; line-height: 1.25; text-shadow: 0 2px 16px rgba(0, 0, 0, 0.35); }
.tile--wide .tile__title { font-size: clamp(1.5rem, 2.4vw, 2rem); max-width: 26ch; }
.tile__meta { font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-light); }
.tile[hidden] { display: none; }
.tiles.is-filtered .tile--wide { grid-column: span 1; }
.tiles.is-filtered .tile--wide .tile__title { font-size: 1.4rem; }

/* Closing band */
.cta-band {
  background-color: var(--navy-800);
  background-size: cover;
  background-position: center;
  color: var(--cream);
  padding: clamp(4.5rem, 10vw, 7.5rem) 0;
}
.cta-band h2 { font-size: clamp(1.9rem, 3.5vw, 2.8rem); max-width: 18ch; }
.cta-band p { color: rgba(244, 241, 234, 0.8); margin: 0 0 2rem; max-width: 40ch; }

@media (max-width: 960px) {
  .tiles { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 320px; }
}
@media (max-width: 600px) {
  .tiles { grid-template-columns: 1fr; grid-auto-rows: 300px; }
  .tile--wide { grid-column: span 1; }
}

.homes-note { margin-top: 2.25rem; }

/* ---------- Contact ---------- */

.contact { padding-top: clamp(3rem, 6vw, 4.5rem); }

.contact__card {
  display: grid;
  grid-template-columns: 0.9fr 1.3fr;
  background: #fff;
  box-shadow: 0 30px 70px -30px rgba(20, 31, 51, 0.45);
  border-top: 3px solid var(--gold);
}

.contact__aside {
  background-color: var(--navy-800);
  background-size: cover;
  background-position: center;
  color: var(--cream);
  padding: clamp(2rem, 4vw, 3.25rem);
}
.contact__aside h2 { font-size: clamp(1.7rem, 2.6vw, 2.2rem); }
.contact__aside > p { color: rgba(244, 241, 234, 0.78); margin: 0 0 2rem; }

.contact__help { list-style: none; padding: 0; margin: 0; }
.contact__help li {
  display: flex;
  gap: 1rem;
  padding: 1rem 0;
  border-top: 1px solid rgba(196, 166, 120, 0.25);
}
.contact__num { font-family: var(--serif); color: var(--gold-light); font-size: 1.05rem; min-width: 1.75rem; }
.contact__help strong { display: block; font-weight: 500; letter-spacing: 0.04em; margin-bottom: 0.15rem; }
.contact__help span:not(.contact__num) { color: rgba(244, 241, 234, 0.7); font-size: 0.9rem; }

.contact__form { padding: clamp(2rem, 4vw, 3.25rem); }
.contact__form h2 { font-size: clamp(1.6rem, 2.4vw, 2rem); margin-bottom: 0.4rem; }
.contact__lead { color: var(--muted); margin: 0 0 2rem; }

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.field { margin-bottom: 1.35rem; }
.field label {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--navy-800);
  margin-bottom: 0.45rem;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  font: inherit;
  font-size: 0.98rem;
  color: var(--ink);
  background: var(--ivory);
  border: 1px solid rgba(26, 39, 64, 0.14);
  padding: 0.8rem 0.95rem;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none' stroke='%23a8875a' stroke-width='1.5'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.95rem center;
  background-size: 11px;
  padding-right: 2.4rem;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  background-color: #fff;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(168, 135, 90, 0.18);
}
.contact__submit { padding: 1rem 2.5rem; margin-top: 0.5rem; }

@media (max-width: 900px) {
  .contact__card { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .field-row { grid-template-columns: 1fr; gap: 0; }
}

/* ---------- About ---------- */

.about-intro__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
.about-intro__media { position: relative; }
.about-intro__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; box-shadow: 0 30px 60px -30px rgba(20, 31, 51, 0.5); }
.about-intro__media::after {
  content: "";
  position: absolute;
  inset: 1.25rem -1.25rem -1.25rem 1.25rem;
  border: 1px solid var(--gold);
  z-index: -1;
}
.about-kicker { font-size: 0.72rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); margin: 0 0 1rem; }
.about-intro__text h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); }
.about-intro__text p { color: var(--muted); font-size: 1.05rem; line-height: 1.8; margin: 0 0 1.25rem; }
.about-intro__text .btn { margin-top: 1rem; }

.stats-band { background: linear-gradient(160deg, var(--navy-700), var(--navy-900)); color: var(--cream); padding: clamp(3rem, 6vw, 4.5rem) 0; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); text-align: center; }
.stat { padding: 0 1rem; }
.stat + .stat { border-left: 1px solid rgba(196, 166, 120, 0.35); }
.stat__num { display: block; font-family: var(--serif); font-size: clamp(2.6rem, 5vw, 3.8rem); color: var(--gold-light); line-height: 1.1; }
.stat__label { display: block; margin-top: 0.5rem; font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(244, 241, 234, 0.75); }

.pillar-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.pillar-card { position: relative; overflow: hidden; min-height: 420px; color: var(--cream); background: var(--navy-700); }
.pillar-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s ease; }
.pillar-card:hover img { transform: scale(1.05); }
.pillar-card__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 2rem; }
.pillar-card h3 { font-size: 1.7rem; color: var(--cream); margin-bottom: 0.5rem; }
.pillar-card p { color: rgba(244, 241, 234, 0.85); margin: 0; }

.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.value { background: #fff; padding: 2.25rem 2rem; border-top: 3px solid var(--gold); box-shadow: 0 20px 40px -30px rgba(20, 31, 51, 0.4); }
.value h3 { font-size: 1.35rem; }
.value p { color: var(--muted); margin: 0; }

@media (max-width: 900px) {
  .about-intro__grid { grid-template-columns: 1fr; }
  .about-intro__media::after { display: none; }
  .about-intro__media img { aspect-ratio: 16 / 10; }
  .pillar-cards, .values { grid-template-columns: 1fr; }
  .pillar-card { min-height: 320px; }
}
@media (max-width: 600px) {
  .stats { grid-template-columns: 1fr; gap: 1.75rem; }
  .stat + .stat { border-left: 0; border-top: 1px solid rgba(196, 166, 120, 0.35); padding-top: 1.75rem; }
}
.pillar-card .pillar-num { color: var(--gold-light); font-size: 0.95rem; margin-bottom: 0.4rem; text-shadow: 0 1px 10px rgba(0, 0, 0, 0.6); }
.pillar-card .tile__shade { background: linear-gradient(180deg, rgba(20, 31, 51, 0) 25%, rgba(20, 31, 51, 0.7) 60%, rgba(20, 31, 51, 0.96) 100%); }

/* ---------- Homepage ---------- */

.hero--photo {
  position: relative;
  background-color: var(--navy-800);
  background-size: cover;
  background-position: center;
  /* Leave the next section visible below the fold. */
  min-height: clamp(460px, 68vh, 680px);
  padding: 4rem 0;
  display: flex;
  align-items: center;
}
.hero--photo .container { width: 100%; }
.hero--photo h1 { text-shadow: 0 2px 30px rgba(0, 0, 0, 0.35); }
.hero--photo .tagline { color: var(--gold-light); text-shadow: 0 1px 14px rgba(0, 0, 0, 0.6); }
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }
.hero__actions .btn { min-width: 220px; }
.hero__actions .btn:not(.btn--gold) { background: rgba(20, 31, 51, 0.35); }

.tiles--three .tile { grid-column: span 1; }

.club-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.club-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  text-decoration: none;
  color: var(--ink);
  box-shadow: 0 24px 50px -30px rgba(20, 31, 51, 0.45);
  transition: transform 0.3s, box-shadow 0.3s;
}
.club-card:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -28px rgba(20, 31, 51, 0.55); }
.club-card__media { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--navy-700); }
.club-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s ease; }
.club-card:hover .club-card__media img { transform: scale(1.05); }
.club-card__body { display: flex; flex-direction: column; gap: 0.4rem; padding: 1.75rem; border-top: 3px solid var(--gold); }
.club-card__city { font-size: 0.68rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); }
.club-card__name { font-family: var(--serif); font-size: 1.5rem; line-height: 1.25; }
.club-card__meta { color: var(--muted); font-size: 0.9rem; margin-bottom: 0.75rem; }

@media (max-width: 900px) {
  .club-cards { grid-template-columns: 1fr; }
}

/* ---------- Club profile refresh ---------- */

.page-hero--club.page-hero--photo { padding: clamp(6rem, 13vw, 9.5rem) 0 clamp(3.5rem, 7vw, 5rem); }
.page-hero--club .breadcrumb { margin-bottom: 2.25rem; }
.club-city {
  font-size: 0.78rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin: 0 0 0.9rem;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.6);
}
.page-hero--club h1 { font-size: clamp(2.3rem, 5.5vw, 4rem); }
.club-pills { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem; padding: 0; margin: 1.75rem 0 0; }
.club-pills li {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cream);
  border: 1px solid rgba(196, 166, 120, 0.7);
  background: rgba(20, 31, 51, 0.45);
  padding: 0.5rem 1rem;
  backdrop-filter: blur(2px);
}

/* Section headings with a fine gold accent */
.club-main h2 {
  border-bottom: 0;
  padding-bottom: 0;
  position: relative;
  padding-top: 1.1rem;
}
.club-main h2::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 44px;
  height: 2px;
  background: var(--gold);
}
.club-main > p:first-of-type { font-family: var(--serif); font-size: 1.25rem; line-height: 1.65; color: var(--navy-800); }

/* Membership / community cards */
.info-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.25rem; margin: 2.5rem 0 0; }
.info-card { background: #fff; padding: 1.75rem; border-top: 3px solid var(--gold); box-shadow: 0 20px 40px -30px rgba(20, 31, 51, 0.45); }
.info-card h3 { font-size: 0.72rem; font-family: var(--sans); letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.75rem; }
.info-card p { margin: 0; font-size: 0.98rem; color: var(--ink); }

/* Golf course cards */
.courses { display: grid; gap: 1.25rem; }
.course { background: var(--navy-800); color: var(--cream); padding: 1.75rem 2rem; position: relative; overflow: hidden; }
.course::after { content: ""; position: absolute; right: -40px; top: -40px; width: 160px; height: 160px; border: 1px solid rgba(196, 166, 120, 0.25); border-radius: 50%; }
.course h3 { font-size: 1.45rem; color: var(--cream); margin: 0 0 0.25rem; }
.course__arch { color: var(--gold-light); font-size: 0.82rem; letter-spacing: 0.08em; margin: 0 0 1.25rem !important; }
.course__stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid rgba(196, 166, 120, 0.3); }
.course__stat { padding: 1rem 0.5rem 0.25rem 0; }
.course__stat span { display: block; font-family: var(--serif); font-size: 1.8rem; color: var(--cream); line-height: 1.1; }
.course__stat small { font-size: 0.64rem; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(244, 241, 234, 0.65); }
.course__notes { color: rgba(244, 241, 234, 0.75); font-size: 0.88rem; margin: 1rem 0 0 !important; }

/* Sources & credits, collapsed */
.refs { margin-top: 3rem; border-top: 1px solid rgba(26, 39, 64, 0.12); border-bottom: 1px solid rgba(26, 39, 64, 0.12); }
.refs summary {
  cursor: pointer;
  list-style: none;
  padding: 1rem 0;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--navy-800);
}
.refs summary::-webkit-details-marker { display: none; }
.refs summary::after { content: "+"; float: right; color: var(--gold); font-size: 1rem; }
.refs[open] summary::after { content: "\2212"; }
.refs h3 { font-family: var(--sans); font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); margin: 0.5rem 0; }
.refs ul { list-style: none; padding: 0; margin: 0 0 1.25rem; font-size: 0.8rem; }
.refs li { margin-bottom: 0.35rem; overflow-wrap: anywhere; color: var(--muted); }
.refs a { color: var(--muted); }

/* Aside polish */
.club-aside { box-shadow: 0 30px 60px -35px rgba(20, 31, 51, 0.5); }
.club-aside .chips li { background: var(--ivory); border-color: rgba(168, 135, 90, 0.45); }

.tiles--short { grid-auto-rows: 260px; }
.tiles--short .tile__title { font-size: 1.25rem; }

@media (max-width: 600px) {
  .course__stats { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Club directory refresh ---------- */

.dir-hero .tagline { line-height: 2; }

.dir .dir-tools { max-width: 680px; margin: 0 auto 1.5rem; }
.dir .dir-search {
  width: 100%;
  font-size: 1.02rem;
  padding: 1.05rem 1.25rem 1.05rem 3.2rem;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23a8875a' stroke-width='1.6'%3E%3Ccircle cx='7' cy='7' r='5'/%3E%3Cpath d='m11 11 3.5 3.5'/%3E%3C/svg%3E") no-repeat 1.2rem center / 17px;
  border: 1px solid rgba(26, 39, 64, 0.14);
  box-shadow: 0 18px 40px -26px rgba(20, 31, 51, 0.45);
}
.dir .dir-search:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(168, 135, 90, 0.18), 0 18px 40px -26px rgba(20, 31, 51, 0.45); }

.dir .dir-jump { margin-bottom: 3rem; }
.dir .dir-jump .chip { text-decoration: none; }
.dir .dir-jump .chip span { color: var(--gold); margin-left: 0.35rem; }
.dir .dir-jump .chip:hover span { color: inherit; }

.dir .dir-region { margin-bottom: 4rem; scroll-margin-top: 150px; }
.dir-region__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 140px;
  padding: 1.5rem 2.25rem;
  margin-bottom: 1.5rem;
  background-color: var(--navy-800);
  background-size: cover;
  background-position: center;
  color: var(--cream);
  border-bottom: 3px solid var(--gold);
}
.dir-region__head h2 { margin: 0; font-size: clamp(1.6rem, 3vw, 2.3rem); text-shadow: 0 2px 18px rgba(0, 0, 0, 0.4); border: 0; padding: 0; }
.dir-region__head span { font-size: 0.7rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-light); white-space: nowrap; }

.dir .dir-grid { grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 1rem; }
.dir .dir-card {
  flex-direction: row;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem;
  border: 0;
  border-left: 0;
  box-shadow: 0 12px 30px -24px rgba(20, 31, 51, 0.5);
  transition: transform 0.2s, box-shadow 0.2s;
}
.dir .dir-card:hover { transform: translateY(-2px); box-shadow: 0 18px 36px -22px rgba(20, 31, 51, 0.55); }
.dir-card__img { flex: 0 0 88px; height: 88px; overflow: hidden; background: var(--navy-700); }
.dir-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.dir .dir-card:hover .dir-card__img img { transform: scale(1.08); }
.dir-card__text { display: flex; flex-direction: column; gap: 0.2rem; min-width: 0; }
.dir .dir-card__name { font-size: 1.05rem; }

@media (max-width: 600px) {
  .dir-region__head { flex-direction: column; align-items: flex-start; justify-content: flex-end; }
}

@media (max-width: 600px) {
  .hero--photo .tagline { letter-spacing: 0.16em; }
}
.tagline .nw { white-space: nowrap; }
@media (max-width: 600px) {
  .hero--photo .h1-line { display: block; }
}
@media (max-width: 380px) {
  .hero--photo h1 { font-size: 1.85rem; }
}

.footer-credits { color: inherit; text-decoration: none; }
.footer-credits:hover { color: var(--cream); }
.credits-list { list-style: none; padding: 0; margin: 0 auto; max-width: 860px; display: grid; gap: 0.75rem; }
.credits-list li { display: flex; gap: 1rem; align-items: center; background: #fff; padding: 0.6rem; font-size: 0.85rem; color: var(--muted); overflow-wrap: anywhere; }
.credits-list img { flex: 0 0 72px; width: 72px; height: 54px; object-fit: cover; }
.credits-list strong { display: block; color: var(--ink); font-weight: 500; }
.credits-list a { color: var(--muted); }

/* Neighborhoods within a club community */
.hoods__intro { color: var(--muted); }
.hoods { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1rem; margin-top: 1.5rem; }
.hood { background: #fff; padding: 1.4rem 1.5rem; border-left: 3px solid var(--gold); box-shadow: 0 16px 34px -28px rgba(20, 31, 51, 0.5); }
.hood h3 { font-size: 1.2rem; margin: 0 0 0.5rem; display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; }
.hood__tag { font-family: var(--sans); font-size: 0.6rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); border: 1px solid rgba(168, 135, 90, 0.5); padding: 0.15rem 0.45rem; }
.hood p { font-size: 0.92rem; color: var(--ink); margin: 0 0 0.75rem !important; line-height: 1.6; }
.hood__facts { margin: 0; display: grid; gap: 0.35rem; }
.hood__facts div { display: flex; gap: 0.5rem; font-size: 0.82rem; }
.hood__facts dt { flex: 0 0 7.5rem; color: var(--muted); letter-spacing: 0.04em; }
.hood__facts dd { margin: 0; color: var(--ink); }
