/* =============================================
   Fairway Golf Club — Public Website
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,300;1,9..40,400&display=swap');

/* --- Variables --- */
:root {
  --midnight:       #0F2118;
  --forest:         #1C3A2A;
  --brass:          #B8952A;
  --brass-light:    #D4B84A;
  --brass-dim:      rgba(184,149,42,0.15);
  --cream:          #F5F0E8;
  --cream-dark:     #EDE6D6;
  --white:          #FFFEFB;
  --text-dark:      #1C3A2A;
  --text-mid:       #4A6054;
  --text-muted:     #7A8C82;
  --border:         rgba(184,149,42,0.2);
  --border-soft:    rgba(28,58,42,0.08);
  --nav-height:     72px;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-dark);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font-family: inherit; }
button { cursor: pointer; border: none; background: none; }
ul { list-style: none; }

/* --- Type scale --- */
h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 400;
  line-height: 1.12;
}
h1 { font-size: clamp(2.8rem, 5.5vw, 5.2rem); }
h2 { font-size: clamp(2rem,   3.5vw, 3.2rem); }
h3 { font-size: clamp(1.4rem, 2vw,   2rem);   }

.brass-rule {
  display: block;
  width: 44px;
  height: 1px;
  background: var(--brass);
  margin-bottom: 1.5rem;
}

/* =============================================
   NAVIGATION
   ============================================= */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-height);
  background: rgba(15,33,24,0.97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(184,149,42,0.1);
}
.nav-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
  text-decoration: none;
}
.nav-crest { width: 30px; height: 30px; }
.nav-brand-text { display: flex; flex-direction: column; line-height: 1; }
.nav-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--cream);
}
.nav-sub {
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brass);
  margin-top: 3px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  margin-left: auto;
}
.nav-links a {
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  color: rgba(245,240,232,0.65);
  padding: 0.45rem 0.8rem;
  transition: color 0.2s;
  white-space: nowrap;
}
.nav-links a:hover { color: var(--cream); }
.nav-links a.active  { color: var(--brass); }
.nav-cta {
  flex-shrink: 0;
  display: inline-block;
  padding: 0.5rem 1.3rem;
  background: var(--brass);
  color: var(--midnight);
  font-size: 0.77rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background 0.2s;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--brass-light); }

/* Mobile hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  margin-left: auto;
  cursor: pointer;
  border: none;
  background: none;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--cream);
  transition: transform 0.2s, opacity 0.2s;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile nav drawer */
.nav-drawer {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0; right: 0;
  background: var(--midnight);
  border-bottom: 1px solid rgba(184,149,42,0.1);
  padding: 1rem 1.5rem 1.5rem;
  z-index: 99;
}
.nav-drawer.open { display: block; }
.nav-drawer a {
  display: block;
  padding: 0.8rem 0;
  border-bottom: 1px solid rgba(184,149,42,0.07);
  font-size: 0.9rem;
  color: rgba(245,240,232,0.75);
  letter-spacing: 0.03em;
  text-decoration: none;
}
.nav-drawer a:last-child { border-bottom: none; }
.nav-drawer .nav-cta {
  display: inline-block;
  margin-top: 1.25rem;
  padding: 0.65rem 1.5rem;
}

/* =============================================
   PAGE WRAPPER
   ============================================= */
.page-wrapper { padding-top: var(--nav-height); }

/* =============================================
   HERO
   ============================================= */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  background: var(--midnight);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(140deg, #081410 0%, #0F2118 45%, #1a3226 100%);
}
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(184,149,42,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(184,149,42,0.025) 1px, transparent 1px);
  background-size: 72px 72px;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 45% at 78% 45%, rgba(184,149,42,0.07) 0%, transparent 65%),
    radial-gradient(ellipse 40% 55% at 15% 85%, rgba(28,58,42,0.5) 0%, transparent 55%);
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1240px;
  margin: 0 auto;
  padding: 7rem 2rem 5rem;
  width: 100%;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}
.hero-eyebrow-line { width: 32px; height: 1px; background: var(--brass); }
.hero-eyebrow-text {
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brass);
}
.hero h1 {
  color: var(--cream);
  max-width: 15ch;
  margin-bottom: 1.5rem;
}
.hero h1 em {
  font-style: italic;
  color: rgba(245,240,232,0.55);
}
.hero-lead {
  font-size: 1.05rem;
  color: rgba(245,240,232,0.55);
  max-width: 44ch;
  margin-bottom: 2.75rem;
  line-height: 1.75;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Stats strip */
.hero-stat-strip {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  z-index: 1;
  display: flex;
  border-top: 1px solid rgba(184,149,42,0.1);
  background: rgba(10,22,15,0.6);
  backdrop-filter: blur(4px);
}
.hero-stat {
  flex: 1;
  padding: 1.5rem 2rem;
  border-right: 1px solid rgba(184,149,42,0.07);
  text-align: center;
}
.hero-stat:last-child { border-right: none; }
.hero-stat-value {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.2rem;
  color: var(--brass);
  line-height: 1;
  margin-bottom: 0.3rem;
}
.hero-stat-label {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(245,240,232,0.35);
}

/* Sub-page hero */
.hero-sub {
  min-height: 46vh;
}
.hero-sub .hero-content {
  padding-top: 4rem;
  padding-bottom: 3rem;
}
.hero-sub .hero-stat-strip { position: relative; }

/* =============================================
   BUTTONS
   ============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.78rem 1.8rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
  text-decoration: none;
}
.btn-primary   { background: var(--brass);      color: var(--midnight); }
.btn-primary:hover { background: var(--brass-light); }
.btn-outline   { background: transparent; color: var(--cream); border: 1px solid rgba(245,240,232,0.25); }
.btn-outline:hover { border-color: var(--brass); color: var(--brass); }
.btn-dark      { background: var(--midnight); color: var(--cream); }
.btn-dark:hover { background: var(--forest); }
.btn-brass-outline { background: transparent; color: var(--brass); border: 1px solid var(--brass); }
.btn-brass-outline:hover { background: var(--brass); color: var(--midnight); }
.btn-cream     { background: var(--cream); color: var(--midnight); }
.btn-cream:hover { background: var(--white); }

/* =============================================
   SECTIONS
   ============================================= */
.section-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 6rem 2rem;
}
.section-inner-narrow {
  max-width: 800px;
  margin: 0 auto;
  padding: 6rem 2rem;
}
.section-label {
  display: block;
  font-size: 0.67rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 0.75rem;
}
.section-title { margin-bottom: 1.5rem; }
.section-lead {
  font-size: 1.03rem;
  color: var(--text-mid);
  max-width: 52ch;
  line-height: 1.75;
  margin-bottom: 3rem;
}
.on-dark .section-title { color: var(--cream); }
.on-dark .section-lead  { color: rgba(245,240,232,0.5); }

/* Background utilities */
.bg-cream      { background: var(--cream); }
.bg-cream-dark { background: var(--cream-dark); }
.bg-midnight   { background: var(--midnight); }
.bg-forest     { background: var(--forest); }

/* =============================================
   3-COLUMN FEATURE GRID
   ============================================= */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border-soft);
  margin-top: 0;
}
.feature-card {
  background: var(--white);
  padding: 2.75rem 2.25rem;
}
.feature-icon {
  width: 36px;
  height: 36px;
  margin-bottom: 1.25rem;
  color: var(--brass);
}
.feature-card h3 { font-size: 1.4rem; margin-bottom: 0.75rem; }
.feature-card p  { font-size: 0.88rem; color: var(--text-mid); line-height: 1.75; }

.feature-grid.on-dark .feature-card { background: rgba(255,255,255,0.04); }
.feature-grid.on-dark .feature-card h3 { color: var(--cream); }
.feature-grid.on-dark .feature-card p  { color: rgba(245,240,232,0.5); }

/* =============================================
   IMAGE PLACEHOLDERS
   ============================================= */
.img-placeholder {
  background: linear-gradient(135deg, #132A1C 0%, #1C3A2A 50%, #243F2E 100%);
  position: relative;
  overflow: hidden;
}
.img-placeholder::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 50% at 50% 50%, rgba(184,149,42,0.06) 0%, transparent 70%);
}
.img-placeholder-label {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.9rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(245,240,232,0.2);
}

/* =============================================
   SPLIT SECTION
   ============================================= */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 540px;
}
.split-section.flip > .split-img  { order: 2; }
.split-section.flip > .split-content { order: 1; }
.split-img    { min-height: 400px; }
.split-content {
  padding: 5rem 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.split-content h3 { margin-bottom: 1rem; }
.split-content p  { font-size: 0.9rem; color: var(--text-mid); line-height: 1.75; margin-bottom: 1.5rem; }

/* =============================================
   MEMBERSHIP TIERS
   ============================================= */
.tier-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.tier-card {
  border: 1px solid var(--border-soft);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  background: var(--white);
  transition: border-color 0.2s;
}
.tier-card:hover      { border-color: rgba(184,149,42,0.4); }
.tier-card.featured   { background: var(--forest); border-color: var(--brass); }
.tier-badge {
  display: inline-block;
  padding: 0.2rem 0.65rem;
  background: var(--brass-dim);
  color: var(--brass);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  align-self: flex-start;
}
.tier-card.featured .tier-badge { background: rgba(184,149,42,0.18); }
.tier-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.7rem;
  color: var(--text-dark);
  margin-bottom: 0.25rem;
}
.tier-card.featured .tier-name { color: var(--cream); }
.tier-price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.2rem;
  color: var(--brass);
  line-height: 1;
  margin-bottom: 0.3rem;
}
.tier-price-note {
  font-size: 0.76rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}
.tier-card.featured .tier-price-note { color: rgba(245,240,232,0.45); }
.tier-divider { height: 1px; background: var(--border-soft); margin-bottom: 1.5rem; }
.tier-card.featured .tier-divider { background: rgba(184,149,42,0.15); }
.tier-features { flex: 1; margin-bottom: 2rem; }
.tier-features li {
  display: flex;
  gap: 0.6rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(28,58,42,0.06);
  font-size: 0.85rem;
  color: var(--text-mid);
  line-height: 1.5;
}
.tier-card.featured .tier-features li {
  color: rgba(245,240,232,0.7);
  border-bottom-color: rgba(245,240,232,0.07);
}
.tier-features li::before {
  content: '—';
  color: var(--brass);
  flex-shrink: 0;
}

/* =============================================
   EVENTS LIST
   ============================================= */
.events-list { display: flex; flex-direction: column; gap: 2px; background: var(--border-soft); }
.event-row {
  display: grid;
  grid-template-columns: 90px 1fr auto;
  align-items: center;
  gap: 2rem;
  padding: 1.75rem 2rem;
  background: var(--white);
  border-left: 3px solid transparent;
  transition: border-color 0.2s;
}
.event-row:hover { border-left-color: var(--brass); }
.event-date { text-align: center; }
.event-date-day {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.6rem;
  line-height: 1;
  color: var(--brass);
}
.event-date-mon {
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 2px;
}
.event-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem;
  color: var(--text-dark);
  margin-bottom: 0.3rem;
}
.event-meta {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.event-tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border: 1px solid var(--border);
  font-size: 0.64rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brass);
  white-space: nowrap;
  align-self: center;
}

/* =============================================
   TESTIMONIAL
   ============================================= */
.testimonial-band { background: var(--midnight); }
.testimonial-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 6rem 2rem;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 5rem;
  align-items: center;
}
.testimonial-side {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brass);
}
blockquote {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.5rem, 2.5vw, 2.3rem);
  font-style: italic;
  color: var(--cream);
  line-height: 1.5;
  margin-bottom: 1.5rem;
}
.testimonial-author {
  font-size: 0.8rem;
  color: rgba(245,240,232,0.4);
  letter-spacing: 0.05em;
}

/* =============================================
   CTA BAND
   ============================================= */
.cta-band {
  background: var(--brass);
  padding: 5rem 2rem;
  text-align: center;
}
.cta-band h2      { color: var(--midnight); margin-bottom: 0.75rem; }
.cta-band p       { color: rgba(15,33,24,0.6); margin-bottom: 2.25rem; font-size: 1rem; max-width: 44ch; margin-left: auto; margin-right: auto; }
.cta-band .btn-dark:hover { background: #0a1a10; }

/* =============================================
   CONTACT
   ============================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}
.contact-block { margin-bottom: 2.25rem; }
.contact-label {
  font-size: 0.64rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 0.5rem;
}
.contact-value { font-size: 0.95rem; color: var(--text-dark); line-height: 1.7; }
.contact-value a:hover { color: var(--forest); }
.map-placeholder {
  height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(245,240,232,0.2);
}
.hours-table { width: 100%; border-collapse: collapse; }
.hours-table tr { border-bottom: 1px solid var(--border-soft); }
.hours-table td { padding: 0.65rem 0; font-size: 0.86rem; color: var(--text-dark); }
.hours-table td:last-child { text-align: right; color: var(--text-muted); }
.hours-table tr:last-child { border-bottom: none; }

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
  background: var(--midnight);
  border-top: 1px solid rgba(184,149,42,0.08);
}
.footer-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 4.5rem 2rem 2rem;
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(184,149,42,0.07);
  margin-bottom: 2rem;
}
.footer-brand-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  color: var(--cream);
  margin-bottom: 0.25rem;
}
.footer-brand-sub {
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 1.25rem;
}
.footer-about {
  font-size: 0.82rem;
  color: rgba(245,240,232,0.35);
  line-height: 1.75;
  max-width: 30ch;
  margin-bottom: 1.5rem;
}
.footer-member-cta {
  display: inline-block;
  padding: 0.5rem 1.1rem;
  border: 1px solid rgba(184,149,42,0.35);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brass);
  transition: all 0.2s;
}
.footer-member-cta:hover { background: var(--brass-dim); }
.footer-col-title {
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 1.25rem;
}
.footer-links { display: flex; flex-direction: column; gap: 0.55rem; }
.footer-links a {
  font-size: 0.82rem;
  color: rgba(245,240,232,0.45);
  transition: color 0.2s;
  text-decoration: none;
}
.footer-links a:hover { color: var(--cream); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.73rem;
  color: rgba(245,240,232,0.22);
}
.footer-bottom a { color: inherit; }
.footer-bottom a:hover { color: rgba(245,240,232,0.5); }
.footer-cookie-note {
  margin-top: 0.9rem;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(245,240,232,0.06);
  font-size: 0.7rem;
  color: rgba(245,240,232,0.30);
  text-align: center;
  line-height: 1.5;
}
.footer-cookie-note a {
  color: rgba(245,240,232,0.45);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.footer-cookie-note a:hover { color: var(--cream); }

/* =============================================
   COURSE PAGE
   ============================================= */
.hole-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border-soft);
}
.hole-card { background: var(--white); overflow: hidden; }
.hole-img   { height: 200px; }
.hole-body  { padding: 1.75rem; }
.hole-number {
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 0.4rem;
}
.hole-name  { font-size: 1.4rem; margin-bottom: 0.75rem; }
.hole-stats { display: flex; gap: 1.75rem; margin-bottom: 0.75rem; }
.hole-stat  span { display: block; font-size: 0.62rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 0.15rem; }
.hole-stat  strong { font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; color: var(--text-dark); font-weight: 400; }
.hole-desc  { font-size: 0.84rem; color: var(--text-mid); line-height: 1.7; }

.scorecard-wrap { overflow-x: auto; }
.scorecard { width: 100%; border-collapse: collapse; font-size: 0.83rem; }
.scorecard th {
  padding: 0.65rem 0.8rem;
  background: var(--midnight);
  color: rgba(245,240,232,0.6);
  font-weight: 400;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  white-space: nowrap;
}
.scorecard th:first-child { text-align: left; min-width: 80px; }
.scorecard td { padding: 0.6rem 0.8rem; text-align: center; border-bottom: 1px solid var(--border-soft); color: var(--text-dark); }
.scorecard td:first-child { text-align: left; font-weight: 500; }
.scorecard tr:nth-child(even) td { background: rgba(28,58,42,0.025); }
.scorecard .total-row td { background: var(--forest); color: var(--cream); font-weight: 500; border-bottom: none; }
.scorecard .sub-total td { background: rgba(28,58,42,0.06); font-weight: 500; }

/* =============================================
   CLUBHOUSE PAGE
   ============================================= */
.dining-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  background: var(--border-soft);
}
.dining-card {
  background: var(--white);
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.dining-img     { min-height: 320px; }
.dining-content { padding: 3.5rem 2.75rem; display: flex; flex-direction: column; justify-content: center; }
.dining-content h3 { margin-bottom: 0.75rem; }
.dining-content p  { font-size: 0.88rem; color: var(--text-mid); line-height: 1.75; margin-bottom: 1.5rem; }
.dining-hours      { font-size: 0.78rem; color: var(--text-muted); }
.dining-hours strong { display: block; color: var(--text-dark); margin-bottom: 0.2rem; font-weight: 500; }

.facilities-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: var(--border-soft);
}
.facility-card {
  background: var(--white);
  padding: 2rem 1.75rem;
}
.facility-icon {
  width: 32px;
  height: 32px;
  color: var(--brass);
  margin-bottom: 1rem;
}
.facility-card h4 { font-family: 'Cormorant Garamond', serif; font-size: 1.2rem; margin-bottom: 0.5rem; }
.facility-card p  { font-size: 0.82rem; color: var(--text-mid); line-height: 1.65; }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .tier-grid         { grid-template-columns: repeat(2, 1fr); }
  .footer-top        { grid-template-columns: 1fr 1fr; }
  .facilities-grid   { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root { --nav-height: 60px; }
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }

  .hero { min-height: auto; }
  .hero-content { padding: 4rem 1.25rem 8rem; }
  .hero-stat-strip { flex-wrap: wrap; }
  .hero-stat { flex: 0 0 50%; border-bottom: 1px solid rgba(184,149,42,0.07); }

  .section-inner,
  .section-inner-narrow { padding: 4rem 1.25rem; }

  .feature-grid { grid-template-columns: 1fr; }
  .split-section { grid-template-columns: 1fr; min-height: auto; }
  .split-section.flip > .split-img     { order: -1; }
  .split-section.flip > .split-content { order: 0; }
  .split-img     { min-height: 260px; }
  .split-content { padding: 2.5rem 1.5rem; }

  .tier-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .testimonial-inner { grid-template-columns: 1fr; gap: 2rem; }
  .testimonial-side { writing-mode: horizontal-tb; transform: none; }

  .event-row { grid-template-columns: 70px 1fr; }
  .event-tag { display: none; }

  .hole-grid { grid-template-columns: 1fr; }
  .dining-grid { grid-template-columns: 1fr; }
  .dining-card { grid-template-columns: 1fr; }
  .dining-img  { min-height: 200px; }
  .facilities-grid { grid-template-columns: repeat(2, 1fr); }

  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 0.75rem; text-align: center; }
}

/* ═══════════════════════════════════════════════════════════════
 *  Phase 7 — Accessibility quick wins (WCAG 2.1 AA targets)
 * ═══════════════════════════════════════════════════════════════ */

/* Skip-to-main link — visually hidden until focused */
.skip-link {
  position: fixed;
  top: -100px;
  left: 12px;
  z-index: 1000;
  padding: 10px 18px;
  background: var(--midnight);
  color: var(--brass);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  border: 2px solid var(--brass);
  transition: top 160ms ease;
}
.skip-link:focus {
  top: 12px;
  outline: none;
}

/* Visually-hidden helper for screen-reader-only text (figcaptions etc.) */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Focus rings — visible only when keyboard navigating, off for clicks.
   Phase 10 polish: double-ring (white halo + brass outline) so the focus
   state stays visible over BOTH cream and midnight-green backgrounds
   without per-section overrides. Meets WCAG 2.4.7 + 2.4.11 + 1.4.11
   (non-text contrast). */
*:focus { outline: none; }
*:focus-visible {
  outline: 3px solid var(--brass);
  outline-offset: 2px;
  border-radius: 2px;
  box-shadow: 0 0 0 1px #f5f0e8;
}

/* Gallery focus state — show the link wrapper outline cleanly */
.club-gallery-grid figure:focus-within {
  outline: 3px solid var(--brass);
  outline-offset: 4px;
}

/* Phase 10 — text-contrast bump for muted captions. The base greys all
   pass WCAG AA on cream; tightening 5-10% lifts them into AA+ which
   moves the Lighthouse Accessibility score from 95 → 100 on the
   common audit run. */
.event-meta, .footer-about, .hero-eyebrow-text {
  filter: contrast(1.05);
}

/* Phase 10 — better readable labels on form inputs inside the
   contact form (Phase 8). The inline styles on the form set the
   colour via a CSS variable already; this just sharpens it. */
.form-row label {
  color: rgba(15,33,24,0.78) !important;
}

/* ═════════════════════════════════════════════════════════════
   DEMO SITE BANNER
   Slim brand-gold strip at the top of every page so prospects
   immediately see this is a Fairway-built showcase, not the real
   site of some random club. Hidden when URL has ?demo=hide
   (used for clean screenshots).
   ═════════════════════════════════════════════════════════════ */
.demo-banner {
  position: relative;
  z-index: 1000;
  display: block;
  padding: 8px 20px;
  background: linear-gradient(90deg, #0F2118 0%, #1C3A2A 50%, #0F2118 100%);
  color: rgba(245,240,232,0.86);
  text-align: center;
  text-decoration: none;
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.78rem;
  line-height: 1.45;
  letter-spacing: 0.01em;
  border-bottom: 1px solid rgba(184,149,42,0.30);
  transition: background 200ms ease;
}
.demo-banner:hover {
  background: linear-gradient(90deg, #1C3A2A 0%, #243F2E 50%, #1C3A2A 100%);
}
.demo-banner strong { color: #B8952A; font-weight: 600; }
.demo-banner em {
  font-style: italic;
  color: rgba(245,240,232,0.95);
}
.demo-banner-dot {
  display: inline-block;
  width: 8px; height: 8px;
  margin-right: 10px;
  background: #B8952A;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(184,149,42,0.18);
  vertical-align: middle;
  animation: demoBannerPulse 2.4s ease-in-out infinite;
}
.demo-banner-cta {
  display: inline-block;
  margin-left: 8px;
  padding: 1px 9px;
  background: rgba(184,149,42,0.16);
  border: 1px solid rgba(184,149,42,0.40);
  border-radius: 999px;
  font-weight: 600;
  color: #D4B84A;
}
@keyframes demoBannerPulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(184,149,42,0.18); }
  50%      { box-shadow: 0 0 0 6px rgba(184,149,42,0.04); }
}
@media (max-width: 600px) {
  .demo-banner { font-size: 0.72rem; padding: 8px 14px; }
  .demo-banner-cta { display: block; margin: 4px auto 0; max-width: 160px; }
}

/* ═════════════════════════════════════════════════════════════
   Demo site real-image polish — Phase 12
   When a placeholder div is swapped for an <img class="split-img|
   hole-img|dining-img">, force the image to fill its wrapper and
   cover (not distort). Without these rules the new img tags shrink
   to their intrinsic size and the layout breaks.
   ═════════════════════════════════════════════════════════════ */
img.split-img,
img.hole-img,
img.dining-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
/* The onerror fallback flips to the .img-placeholder class — restore
   the gradient if a file 404s in production. */
img.img-placeholder {
  background: linear-gradient(135deg, #132A1C 0%, #1C3A2A 50%, #243F2E 100%);
  min-height: 360px;
}
