/* style.css — shared stylesheet for the club website. Colour variables below are defaults;
   head.php sets --navy, --navy2, --gold, --green and --green2 from club.config.php. */

/* ── RESET & ROOT ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:       #24211e;
  --navy2:      #2f2b27;
  --green:      #7a6e60;
  --green2:     #665b4f;
  --gold:       #bd997a;
  --gold-text:  #8a6a4c;   /* darker tan for accent text on light backgrounds (--gold is too light on white) */
  --white:      #ffffff;
  --off-white:  #f5f5f3;
  --light-grey: #eeece8;
  --text:       #1e293b;
  --text-muted: #64748b;
  --border:     #e2e8f0;
  --radius:     12px;
  --shadow:     0 20px 40px rgba(0,0,0,0.12);
}

html, body {
  margin: 0; padding: 0; width: 100%;
  overflow-x: hidden;
  font-family: 'DM Sans', sans-serif;
  color: var(--text);
  line-height: 1.6;
  background: var(--white);
}

/* ── LOGO ── */
.site-logo {
  position: fixed;
  top: 0; left: 2rem;
  z-index: 1001;
  height: 110px;
  display: flex;
  align-items: center;
  text-decoration: none;
}
.site-logo img { height: 90px; width: auto; display: block; }

/* ── NAVBAR ── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: color-mix(in srgb, var(--navy) 95%, transparent);
  backdrop-filter: blur(8px);
  z-index: 1000;
  padding: 0;
}
.nav-container {
  width: 100%; padding: 0 2rem;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 2rem;
  height: 110px;
}
.nav-top-link {
  color: rgba(255,255,255,0.9);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: color 0.2s ease;
  background: none; border: none;
  cursor: pointer; font-family: 'Futura PT', 'DM Sans', sans-serif;
}
.nav-top-link:hover { color: var(--gold); }
/* ── FUTURA PT ── */
@font-face {
  font-family: 'Futura PT';
  src: url('fonts/FuturaCyrillicLight.ttf') format('truetype');
  font-weight: 300; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Futura PT';
  src: url('fonts/FuturaCyrillicBook.ttf') format('truetype');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Futura PT';
  src: url('fonts/FuturaCyrillicMedium.ttf') format('truetype');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Futura PT';
  src: url('fonts/FuturaCyrillicDemi.ttf') format('truetype');
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Futura PT';
  src: url('fonts/FuturaCyrillicBold.ttf') format('truetype');
  font-weight: 700; font-style: normal; font-display: swap;
}

.menu-toggle {
  display: flex; align-items: center; gap: 0.6rem;
  background: none; border: none;
  color: rgba(255,255,255,0.9);
  font-family: 'Futura PT', 'DM Sans', sans-serif;
  font-size: 1.1rem; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase;
  cursor: pointer; padding: 0;
  transition: color 0.2s ease;
}
.menu-toggle:hover { color: var(--gold); }
.hamburger { display: flex; flex-direction: column; gap: 5px; width: 28px; }
.hamburger span {
  display: block; height: 2px;
  background: rgba(255,255,255,0.9);
  border-radius: 2px;
  width: 100%;
  transition: width 0.25s ease;
}
.menu-toggle:hover .hamburger span:first-child { width: 50%; }
.menu-toggle:hover .hamburger span:nth-child(2)  { width: 100%; }
.menu-toggle:hover .hamburger span:last-child  { width: 66%; }

/* ── OVERLAY MENU ── */
.menu-overlay {
  position: fixed; inset: 0;
  z-index: 2000;
  display: flex;
  pointer-events: none;
  visibility: hidden;
  transition: visibility 0s linear 0.5s;
}
.menu-overlay.open {
  pointer-events: all;
  visibility: visible;
  transition: visibility 0s linear 0s;
}
.menu-panel {
  width: 520px; flex-shrink: 0;
  background: #1a1a1a;
  display: flex; flex-direction: column;
  justify-content: flex-start;
  padding: 5rem 3.5rem 3rem;
  transform: translateX(100%);
  transition: transform 0.5s cubic-bezier(0.77,0,0.175,1);
  overflow-y: auto; position: relative;
  margin-left: auto;
}
.menu-overlay.open .menu-panel { transform: translateX(0); }
.menu-close {
  position: absolute; top: 2rem; right: 2rem;
  background: none; border: none; color: white;
  font-family: 'Futura PT', sans-serif;
  font-size: 0.75rem; font-weight: 500;
  letter-spacing: 0.15em; text-transform: uppercase;
  cursor: pointer;
  display: flex; align-items: center; gap: 0.5rem;
  opacity: 0.6; transition: opacity 0.2s;
}
.menu-close:hover { opacity: 1; }
.menu-close-x { font-size: 1.3rem; line-height: 1; font-weight: 300; }

/* Accordion */
.overlay-accordion { display: flex; flex-direction: column; margin-bottom: 2.5rem; }
.acc-item { border-bottom: 1px solid rgba(255,255,255,0.08); }
.acc-heading {
  width: 100%; background: none; border: none;
  display: flex; align-items: center; justify-content: space-between;
  color: white; text-decoration: none;
  font-family: 'Futura PT', sans-serif;
  font-size: 1.6rem; font-weight: 400;
  letter-spacing: 0.01em;
  padding: 1rem 0;
  cursor: pointer; text-align: left;
  transition: color 0.2s;
}
.acc-heading--link { display: block; text-decoration: none; }
.acc-heading:hover { color: var(--gold); }
.acc-arrow {
  font-family: 'Futura PT', sans-serif;
  font-size: 1.4rem; font-weight: 300;
  color: var(--gold); line-height: 1; flex-shrink: 0;
}
.acc-body {
  display: flex; flex-direction: column;
  max-height: 0; overflow: hidden;
  transition: max-height 0.35s ease;
}
.overlay-sub-link {
  color: rgba(255,255,255,0.65); text-decoration: none;
  font-family: 'Futura PT', sans-serif;
  font-size: 1rem; font-weight: 400;
  padding: 0.45rem 0;
  transition: color 0.2s ease; display: block;
}
.overlay-sub-link:last-child { padding-bottom: 1rem; }
.overlay-sub-link:hover { color: white; }

/* Utility links — Futura PT */
.overlay-utility-links {
  display: flex; flex-direction: column; gap: 0.6rem;
  margin-bottom: 2rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1.5rem;
}
.overlay-utility-link {
  color: var(--gold); text-decoration: none;
  font-family: 'Futura PT', 'DM Sans', sans-serif;
  font-size: 0.75rem; font-weight: 500;
  letter-spacing: 0.15em; text-transform: uppercase;
  transition: opacity 0.2s;
  background: none; border: none; cursor: pointer;
  text-align: left; padding: 0;
}
.overlay-utility-link:hover { opacity: 0.65; }
.overlay-divider { border: none; border-top: 1px solid rgba(255,255,255,0.1); margin: 1.5rem 0; }
.overlay-footer { padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.08); }
.overlay-logo { height: 60px; width: auto; margin-bottom: 1.25rem; opacity: 0.9; }
.overlay-phone { font-family: 'Futura PT', sans-serif; font-size: 0.78rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.65); margin-bottom: 0.2rem; }
.overlay-credit { font-size: 0.75rem; color: var(--gold); letter-spacing: 0.08em; text-transform: uppercase; }

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  background: var(--navy);
  padding: 10rem 2rem 5rem;
  text-align: center;
}
.page-hero-eyebrow {
  font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1rem;
}
.page-hero-title {
  font-family: 'Futura PT', sans-serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 400; color: white; line-height: 1.1;
}
.page-hero-title em { font-style: italic; color: var(--gold); }

/* ── ANCHOR NAV ── */
.anchor-nav {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 110px; z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.anchor-nav-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; justify-content: center;
  gap: 0; overflow-x: auto;
}
.anchor-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem; font-weight: 600;
  letter-spacing: 0.05em; text-transform: uppercase;
  padding: 1.25rem 2rem;
  border-bottom: 3px solid transparent;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.anchor-link:hover { color: var(--navy); border-bottom-color: var(--gold); }

/* ── SECTION BASE ── */
.section-inner { max-width: 1100px; margin: 0 auto; }
.section-eyebrow {
  font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--gold-text); margin-bottom: 1rem;
}
.section-heading {
  font-family: 'Futura PT', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400; line-height: 1.15;
  margin-bottom: 1.5rem; color: var(--navy);
}
.section-heading em { font-style: italic; color: var(--gold-text); }
.section-body { font-size: 1.1rem; line-height: 1.85; color: var(--text-muted); }
.section-body.light { color: rgba(255,255,255,0.85); }

/* ── BUTTONS ── */
.btn-cta {
  background: var(--green); color: white;
  padding: 0.85rem 2rem; border-radius: 9999px;
  font-family: 'Futura PT', 'DM Sans', sans-serif;
  font-weight: 500; font-size: 0.95rem;
  letter-spacing: 0.12em; text-transform: uppercase;
  text-decoration: none; transition: all 0.2s ease;
  white-space: nowrap; border: none; cursor: pointer;
  display: inline-block;
}
.btn-cta:hover { background: var(--green2); transform: translateY(-1px); box-shadow: 0 8px 20px color-mix(in srgb, var(--green) 35%, transparent); }
.btn-cta-gold {
  background: var(--gold); color: var(--navy);
  padding: 0.85rem 2rem; border-radius: 9999px;
  font-family: 'Futura PT', 'DM Sans', sans-serif;
  font-weight: 500; font-size: 0.95rem;
  letter-spacing: 0.12em; text-transform: uppercase;
  text-decoration: none; transition: all 0.2s ease;
  white-space: nowrap; display: inline-block;
}
.btn-cta-gold:hover { background: color-mix(in srgb, var(--gold) 85%, #000); transform: translateY(-1px); box-shadow: 0 8px 20px color-mix(in srgb, var(--gold) 40%, transparent); }
.btn-outline {
  background: transparent; color: white;
  padding: 0.85rem 2rem; border-radius: 9999px;
  font-family: 'Futura PT', 'DM Sans', sans-serif;
  font-weight: 500; font-size: 0.95rem;
  letter-spacing: 0.12em; text-transform: uppercase;
  text-decoration: none; transition: all 0.2s ease;
  white-space: nowrap; border: 2px solid rgba(255,255,255,0.6);
  display: inline-block;
}
.btn-outline:hover { border-color: white; background: rgba(255,255,255,0.1); }

/* ── HOMEPAGE TRANSPARENT NAVBAR ── */
body.homepage .navbar {
  background: transparent !important;
  backdrop-filter: none;
}
body.homepage .nav-container {
  background: linear-gradient(to bottom, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0) 100%);
}
body.homepage .nav-top-link {
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  text-shadow: 0 1px 6px rgba(0,0,0,0.6);
  color: white;
}
body.homepage .menu-toggle {
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  text-shadow: 0 1px 6px rgba(0,0,0,0.6);
  color: white;
}
body.homepage .menu-toggle .hamburger span {
  background: white;
}

/* ── COURSE STATUS MODAL ── */
.cs-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.55); z-index: 3000; align-items: flex-start; justify-content: center; padding-top: 130px; }
.cs-overlay.open { display: flex; }

/* ── FOOTER ── */
/* ── SITE FOOTER (Brampton style) ── */
.site-footer { position: relative; overflow: hidden; }
.footer-bg { position: absolute; inset: 0; z-index: 0; }
.footer-bg-img { width: 100%; height: 100%; object-fit: cover; object-position: center center; display: block; }
.footer-overlay { position: absolute; inset: 0; background: color-mix(in srgb, var(--navy) 80%, transparent); }
.footer-inner {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center;
  padding: 5rem 2rem 4.5rem; text-align: center;
}
.footer-logo {
  height: 120px; width: auto;
  margin-bottom: 2rem;
}
.footer-address {
  font-family: 'Futura PT', 'DM Sans', sans-serif;
  font-size: 0.95rem; font-weight: 400;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: white;
  margin-bottom: 1rem;
}
.footer-contact {
  font-family: 'Futura PT', 'DM Sans', sans-serif;
  font-size: 0.95rem; font-weight: 400;
  letter-spacing: 0.1em;
  color: white;
  margin-bottom: 2.25rem;
  display: flex; align-items: center; gap: 0; flex-wrap: wrap; justify-content: center;
}
.footer-contact a { color: white; text-decoration: none; transition: color 0.2s; }
.footer-contact a:hover { color: var(--gold); }
.footer-sep { margin: 0 1rem; color: var(--gold); font-size: 0.5rem; }
.footer-socials { display: flex; gap: 1.75rem; align-items: center; }
.footer-social-link {
  color: white; transition: color 0.2s;
  display: flex; align-items: center;
}
.footer-social-link:hover { color: var(--gold); }
.footer-bar {
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 0.5rem;
  border-top: 1px solid rgba(255,255,255,0.15);
  padding: 1.25rem 3rem;
  font-family: 'Futura PT', 'DM Sans', sans-serif;
  font-size: 0.78rem; font-weight: 400;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}
.footer-bar a { color: rgba(255,255,255,0.7); text-decoration: none; transition: color 0.2s; }
.footer-bar a:hover { color: var(--gold); }
.footer-bar-links { display: flex; align-items: center; gap: 0; }
@media (max-width: 600px) {
  .footer-bar { flex-direction: column; text-align: center; padding: 1.5rem; gap: 0.75rem; }
  .footer-bar-links { flex-wrap: wrap; justify-content: center; }
  .footer-inner { padding: 3.5rem 1.5rem 3rem; }
  .footer-logo { height: 90px; }
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .menu-panel { width: 100%; transform: translateX(0) translateY(100%); margin-left: 0; }
  .menu-overlay.open .menu-panel { transform: translateX(0) translateY(0); }
  .nav-top-link { display: none; }
  .site-logo img { height: 70px; }
  .nav-container { height: 90px; }
  .site-logo { height: 90px; }
}

/* =============================================
   SATELLITE MAP CONTACT SECTION (footer.php)
   ============================================= */
.contact-section-map {
  position: relative;
  height: 600px;
  overflow: hidden;
}
.contact-map-bg {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  border: none;
  filter: brightness(0.75) saturate(1.1);
  pointer-events: none;
}
.contact-map-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  padding: 4rem 2rem;
  pointer-events: none;
}
.contact-map-card {
  background: color-mix(in srgb, var(--navy) 88%, transparent);
  backdrop-filter: blur(8px);
  border-radius: var(--radius);
  padding: 2.5rem 3rem;
  max-width: 480px;
  pointer-events: all;
  border: 1px solid rgba(255,255,255,0.1);
}
.contact-map-card .contact-label {
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.2rem;
}
.contact-map-card .contact-value,
.contact-map-card .contact-value a {
  color: #444444;
  font-size: 0.9rem;
  text-decoration: none;
}
.contact-map-card .contact-value a:hover { color: var(--gold); }
.contact-map-card .contact-item {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  margin-bottom: 1.1rem;
}
.contact-map-card .contact-item:last-child { margin-bottom: 0; }
.contact-map-card .contact-icon { font-size: 1.1rem; margin-top: 0.1rem; }


/* =============================================
   SATELLITE MAP CONTACT SECTION (footer.php)
   ============================================= */
.contact-section-map {
  position: relative !important;
  height: 600px;
  overflow: hidden;
  display: block;
}
.contact-map-bg {
  position: absolute !important;
  top: 0; left: 0;
  width: 100% !important;
  height: 100% !important;
  border: none;
  filter: brightness(0.75) saturate(1.1);
  pointer-events: none;
  z-index: 1;
}
.contact-map-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  padding: 4rem 2rem;
  z-index: 2;
}
.contact-map-card {
  background: color-mix(in srgb, var(--navy) 88%, transparent);
  backdrop-filter: blur(8px);
  border-radius: var(--radius);
  padding: 2.5rem 3rem;
  max-width: 480px;
  border: 1px solid rgba(255,255,255,0.1);
}
.contact-map-card .contact-label {
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.2rem;
}
.contact-map-card .contact-value,
.contact-map-card .contact-value a {
  color: #444444;
  font-size: 0.9rem;
  text-decoration: none;
}
.contact-map-card .contact-value a:hover { color: var(--gold); }
.contact-map-card .contact-item {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  margin-bottom: 1.1rem;
}
.contact-map-card .contact-item:last-child { margin-bottom: 0; }
.contact-map-card .contact-icon { font-size: 1.1rem; margin-top: 0.1rem; }

@media (max-width: 600px) {
  .contact-section-map { height: 700px; }
  .contact-map-bg { height: 700px; }
  .contact-map-overlay { padding: 1.25rem; align-items: flex-start; padding-top: 1.5rem; }
  .contact-map-card { padding: 1.25rem 1.5rem; max-width: 100%; width: 100%; background: color-mix(in srgb, var(--navy) 92%, transparent); }
  .contact-map-card h2 { font-size: 1.5rem !important; margin-bottom: 1rem !important; }
  .contact-map-card .contact-item { margin-bottom: 0.75rem; }
  .contact-map-card .contact-value { font-size: 0.85rem; }
  .contact-map-card .contact-icon { font-size: 1rem; }
}

/* ── POLICY PAGES ── */
.policy-content { background: #fff; }
.policy-inner {
  max-width: 820px; margin: 0 auto;
  padding: 4rem 2rem 5rem;
}
.policy-intro {
  font-size: 1.1rem; line-height: 1.85;
  color: var(--text-muted); margin-bottom: 2.5rem;
  padding-bottom: 2rem; border-bottom: 1px solid var(--border);
}
.policy-inner h2 {
  font-family: 'DM Serif Display', serif;
  font-size: 1.6rem; color: var(--navy);
  margin: 2.5rem 0 0.75rem;
}
.policy-inner h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--green); margin: 1.75rem 0 0.5rem;
}
.policy-inner p { color: var(--text); line-height: 1.85; margin-bottom: 1rem; font-size: 0.97rem; }
.policy-inner ul { margin: 0.5rem 0 1rem 1.5rem; }
.policy-inner ul li { color: var(--text); line-height: 1.85; font-size: 0.97rem; margin-bottom: 0.35rem; }
.policy-inner a { color: var(--green); text-decoration: underline; }
.policy-inner a:hover { color: var(--gold-text); }
.policy-table {
  width: 100%; border-collapse: collapse;
  margin: 1.5rem 0 2rem; font-size: 0.9rem;
}
.policy-table th {
  background: var(--navy); color: white;
  padding: 0.75rem 1rem; text-align: left;
  font-family: 'Futura PT', sans-serif;
  font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase;
}
.policy-table td {
  padding: 0.75rem 1rem; border-bottom: 1px solid var(--border);
  color: var(--text); vertical-align: top;
}
.policy-table tr:last-child td { border-bottom: none; }
.policy-table tr:nth-child(even) td { background: var(--off-white); }
@media (max-width: 600px) {
  .policy-inner { padding: 2.5rem 1.25rem 3rem; }
  .policy-table { font-size: 0.82rem; }
  .policy-table th, .policy-table td { padding: 0.6rem 0.6rem; }
}

/* ── SAMPLE CONTENT TAG ──
   Marks a block as generic sample content rather than the club's own information.
   Usage: <h2>Heading <span class="sample-tag">Sample content</span></h2> */
.sample-tag {
  display: inline-block;
  vertical-align: middle;
  margin-left: 0.5rem;
  padding: 0.15rem 0.6rem;
  border: 1px dashed currentColor;
  border-radius: 9999px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.65rem; font-weight: 600; font-style: normal;
  line-height: 1.4; letter-spacing: 0.1em; text-transform: uppercase;
  white-space: nowrap;
  color: #6b6259;
  background: rgba(255,255,255,0.75);
  opacity: 1;
}
/* On dark backgrounds (hero, navy panels) */
.page-hero .sample-tag,
.bar-hero .sample-tag,
.media-hero .sample-tag,
.dark-bg .sample-tag,
.site-footer .sample-tag {
  color: rgba(255,255,255,0.85);
  background: rgba(0,0,0,0.25);
}

/* =====================================================================
   BIRTLEY LOOK — theme layer (overrides the template above)
   Plain sans-serif type, centred crest header, crest red on near-black,
   squarer buttons. Keep headings plain: no italic or coloured accent words.
   ===================================================================== */
:root {
  --font-head: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'Source Sans 3', 'Helvetica Neue', Arial, sans-serif;
  --gold-text: #a3283a;          /* crest red, readable on white */
  --text: #1f1a1b;
  --text-muted: #555052;
  --off-white: #f6f4f3;
  --light-grey: #ece8e7;
  --border: #e3dedd;
  --radius: 6px;
  --hdr-h: 136px;
}
html, body { font-family: var(--font-body); font-size: 17px; }
h1, h2, h3, h4, h5,
.page-hero-title, .section-heading, .hero-title, .cs-header h3 {
  font-family: var(--font-head) !important;
  font-style: normal !important;
  font-weight: 700 !important;
  letter-spacing: -0.01em;
}
h1 em, h2 em, h3 em, .section-heading em, .page-hero-title em, .hero-title em {
  font-style: normal !important; color: inherit !important;
}
.section-eyebrow, .page-hero-eyebrow { display: none; }

/* ── HEADER ── */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: var(--navy);
  box-shadow: 0 2px 12px rgba(0,0,0,0.25);
}
.hdr-util { background: #120b0c; font-size: 0.82rem; }
.hdr-util-inner {
  max-width: 1320px; margin: 0 auto; padding: 0 1.5rem; height: 38px;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.hdr-util a { color: rgba(255,255,255,0.82); text-decoration: none; }
.hdr-util a:hover { color: #fff; }
.hdr-util-left, .hdr-util-right { display: flex; align-items: center; gap: 1.1rem; white-space: nowrap; }
.hdr-util-sep { color: rgba(255,255,255,0.3); }
.hdr-util-fb { display: inline-flex; align-items: center; gap: 0.35rem; }
.hdr-book {
  background: var(--gold); color: #fff !important; font-weight: 700;
  padding: 0 1rem; height: 38px; display: inline-flex; align-items: center;
}
.hdr-book:hover { background: var(--green); }
.hdr-main {
  max-width: 1320px; margin: 0 auto; padding: 0 1.5rem; height: 98px;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1.5rem;
}
.hdr-crest { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; }
.hdr-crest img { height: 82px; width: auto; display: block; }
.hdr-name { display: none; font-family: var(--font-head); font-weight: 700; font-size: 1.25rem; color: #fff; white-space: nowrap; }
.hn { list-style: none; display: flex; gap: 0.25rem; align-items: center; }
.hn-left { justify-content: flex-end; }
.hn-right { justify-content: flex-start; }
.hn-item { position: relative; }
.hn-link {
  display: block; padding: 0.75rem 0.8rem;
  font-family: var(--font-head); font-weight: 600; font-size: 0.95rem;
  color: #fff; text-decoration: none; white-space: nowrap;
}
.hn-has-sub > .hn-link::after {
  content: ''; display: inline-block; margin-left: 0.4rem; vertical-align: 0.2em;
  border: 4px solid transparent; border-top-color: rgba(255,255,255,0.6); border-bottom: 0;
}
.hn-item:hover > .hn-link, .hn-item:focus-within > .hn-link { color: #ff9aa6; }
.hn-sub {
  list-style: none; position: absolute; top: 100%; left: 0; min-width: 220px;
  background: #fff; box-shadow: 0 14px 30px rgba(0,0,0,0.18);
  border-top: 3px solid var(--gold); padding: 0.4rem 0;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity 0.15s, transform 0.15s, visibility 0.15s; z-index: 10;
}
.hn-right .hn-item:last-child .hn-sub { left: auto; right: 0; }
.hn-item:hover > .hn-sub, .hn-item:focus-within > .hn-sub { opacity: 1; visibility: visible; transform: none; }
.hn-sub-link {
  display: block; padding: 0.55rem 1.1rem; color: var(--text); text-decoration: none;
  font-size: 0.95rem; font-weight: 500;
}
.hn-sub-link:hover { background: var(--off-white); color: var(--gold-text); }
.site-header .menu-toggle {
  display: none; position: absolute; right: 1.25rem; top: 50%; transform: translateY(-50%);
  color: #fff; font-family: var(--font-head); font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.06em; font-size: 0.9rem;
}
.site-header .menu-toggle .hamburger span { background: #fff; }
.hdr-main { position: relative; }
@media (max-width: 1180px) {
  .hn-link { padding: 0.75rem 0.55rem; font-size: 0.88rem; }
}
@media (max-width: 1060px) {
  :root { --hdr-h: 116px; }
  .hn { display: none; }
  .hdr-main { display: flex; justify-content: center; height: 78px; }
  .hdr-crest img { height: 64px; }
  .site-header .menu-toggle { display: flex; }
  .hdr-main { justify-content: flex-start; padding-left: 1.25rem; }
  .hdr-name { display: block; }
}
@media (max-width: 640px) {
  :root { --hdr-h: 112px; }
  .hdr-util-inner { padding: 0 0 0 0.9rem; }
  .hdr-util-email, .hdr-util-sep, .hdr-util-members, .hdr-util-admin, .hdr-util-fb span { display: none; }
  .hdr-util-right { gap: 0.8rem; }
  .hdr-main { justify-content: flex-start; padding-left: 1rem; height: 74px; }
  .hdr-crest img { height: 58px; }
  .hdr-name { font-size: 1.05rem; }
  .site-header .menu-toggle { font-size: 0; gap: 0; }
}

/* Slide-in menu buttons */
.overlay-cta-row { display: flex; flex-wrap: wrap; gap: 0.75rem; padding: 1.25rem 1.5rem 0.5rem; }
.overlay-cta-btn {
  flex: 1 1 140px; display: block; text-align: center; padding: 0.9rem 1rem;
  border-radius: 4px; font-weight: 700; font-size: 0.95rem; text-decoration: none;
}
.overlay-cta-btn--tee { background: var(--gold); color: #fff !important; }
.overlay-cta-btn--open { background: #fff; color: var(--navy) !important; }
.acc-heading { font-family: var(--font-head) !important; font-weight: 600 !important; }

/* Old template header pieces are not used */
.site-logo, .navbar { display: none !important; }

/* ── PAGE BANNERS & ANCHORS ── */
.page-hero {
  padding: calc(var(--hdr-h) + 4.5rem) 1.5rem 4rem;
  background: linear-gradient(rgba(20,12,13,0.62), rgba(20,12,13,0.62)), url('img/page-hero.jpg') center 55% / cover no-repeat;
  border-bottom: 4px solid var(--gold);
}
.page-hero-title { color: #fff; font-size: clamp(2.2rem, 4.5vw, 3.4rem); }
.anchor-nav { top: var(--hdr-h); }
.anchor-link { font-family: var(--font-head); text-transform: none; letter-spacing: 0; font-size: 0.95rem; padding: 1.1rem 1.4rem; }
.anchor-link:hover { border-bottom-color: var(--gold); color: var(--gold-text); }
.section-heading { color: var(--navy); font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.section-body { color: var(--text-muted); }

/* ── BUTTONS ── */
.btn-cta, .btn-cta-gold, .btn-outline {
  border-radius: 4px !important; font-family: var(--font-head) !important;
  text-transform: none !important; letter-spacing: 0 !important; font-weight: 700 !important;
}
.btn-cta { background: var(--navy); color: #fff; }
.btn-cta:hover { background: var(--gold); box-shadow: none; }
.btn-cta-gold { background: var(--gold); color: #fff; }
.btn-cta-gold:hover { background: var(--green); box-shadow: none; }

/* ── FOOTER ── */
.footer-overlay { background: rgba(18,11,12,0.88); }
.footer-logo { height: 150px; }
@media (max-width: 768px) { .footer-logo { height: 120px; } }
.footer-sep { color: var(--gold); }
.footer-bar { font-family: var(--font-body); }

/* ── HOMEPAGE POP-UP (popup.php, set on popup-admin.php) ── */
.pu-overlay {
  position: fixed; inset: 0; z-index: 3100;
  display: flex; align-items: center; justify-content: center; padding: 1.5rem;
  background: rgba(18,11,12,0.72);
  opacity: 0; transition: opacity 0.2s ease;
}
.pu-overlay[hidden] { display: none; }
.pu-overlay.is-open { opacity: 1; }
html.pu-lock, html.pu-lock body { overflow: hidden; }
.pu-box {
  position: relative; width: 100%; max-width: 560px; max-height: calc(100vh - 3rem); overflow-y: auto;
  display: grid; grid-template-columns: 1fr;
  background: #fff; border-top: 5px solid var(--gold); border-radius: 6px;
  box-shadow: 0 30px 70px rgba(0,0,0,0.4);
  transform: translateY(14px); transition: transform 0.2s ease;
}
.pu-overlay.is-open .pu-box { transform: none; }
.pu-box--photo { max-width: 900px; grid-template-columns: 1.1fr 1fr; }
.pu-photo { order: 2; position: relative; min-height: 340px; background: var(--light-grey); }
.pu-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.pu-body { padding: 2.6rem 2.4rem 2.4rem; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.pu-title { color: var(--navy); font-size: clamp(1.6rem, 3vw, 2.1rem); line-height: 1.15; margin: 0 2.5rem 1rem 0; }
.pu-box--photo .pu-title { margin-right: 0; }
.pu-text { color: var(--text); font-size: 1.05rem; line-height: 1.65; }
.pu-text p + p { margin-top: 0.8rem; }
.pu-text strong { font-weight: 700; color: var(--navy); }
.pu-btn { display: inline-block; margin-top: 1.6rem; padding: 0.85rem 1.6rem; text-decoration: none; font-size: 1rem; }
.pu-close {
  position: absolute; top: 0.75rem; right: 0.75rem; z-index: 2;
  width: 42px; height: 42px; display: flex; align-items: center; justify-content: center;
  background: var(--navy); color: #fff; border: 0; border-radius: 4px; cursor: pointer;
}
.pu-close:hover { background: var(--gold); }
.pu-close:focus-visible, .pu-btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.pu-preview {
  background: #fff6e0; color: #6b4a00; border: 1px solid #ecd59a; border-radius: 4px;
  font-size: 0.88rem; padding: 0.5rem 0.75rem; margin: 0 2.5rem 1.1rem 0;
}
@media (max-width: 760px) {
  .pu-overlay { padding: 1rem; }
  .pu-box, .pu-box--photo { grid-template-columns: 1fr; max-height: calc(100vh - 2rem); max-height: calc(100dvh - 2rem); }
  .pu-photo { order: 0; min-height: 0; height: 190px; }
  .pu-body { padding: 1.6rem 1.4rem 1.6rem; }
  .pu-box--photo .pu-body { padding-top: 1.4rem; }
  .pu-title { font-size: 1.5rem; }
  .pu-text { font-size: 1rem; }
  .pu-btn { margin-top: 1.25rem; width: 100%; text-align: center; }
}
@media (max-width: 760px) and (max-height: 640px) { .pu-photo { display: none; } }
@media (prefers-reduced-motion: reduce) { .pu-overlay, .pu-box { transition: none; } }
