/* JGCC — heritage, not resort. */

/*
 * Metric-matched fallback for the hero's display font. Instrument Serif is
 * preloaded (inc/assets.php), but on a slow connection the fallback can
 * still paint first — these overrides make Georgia occupy the exact box
 * Instrument Serif would, so the swap causes no reflow. Values computed
 * from the woff2/ttf metrics with fontkit (unitsPerEm, ascent, descent,
 * average lowercase advance width); see the FIX 4 report for the script.
 */
@font-face {
	font-family: 'Instrument Serif Fallback';
	src: local('Georgia');
	font-style: normal;
	size-adjust: 78.58%;
	ascent-override: 125.98%;
	descent-override: 39.45%;
	line-gap-override: 0%;
}

@font-face {
	font-family: 'Instrument Serif Fallback';
	src: local('Georgia Italic');
	font-style: italic;
	size-adjust: 80.74%;
	ascent-override: 122.61%;
	descent-override: 38.39%;
	line-gap-override: 0%;
}

/*
 * Same technique for the UI font. The hero lede and the "Book Tee Time"
 * button/price text are Mulish, and measurement showed THIS swap — not the
 * display font above — was the one still moving pixels: macOS's system-ui
 * (San Francisco) is what paints before Mulish arrives, and its metrics
 * don't match Mulish's. San Francisco can't be targeted with local() (macOS
 * blocks matching its private system font names, to prevent fingerprinting),
 * so the fallback is pinned to Arial/Arial Bold instead — real local fonts,
 * metric-matched to Mulish at the two weights this theme actually uses.
 */
@font-face {
	font-family: 'Mulish Fallback';
	src: local('Arial');
	font-weight: 1 549;
	size-adjust: 106.86%;
	ascent-override: 94.05%;
	descent-override: 23.40%;
	line-gap-override: 0%;
}

@font-face {
	font-family: 'Mulish Fallback';
	src: local('Arial Bold');
	font-weight: 550 1000;
	size-adjust: 100.61%;
	ascent-override: 99.89%;
	descent-override: 24.85%;
	line-gap-override: 0%;
}

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

html, body { margin: 0; }
/* Anchored homepage sections (Club/Course/Rates/Facilities nav) must clear the fixed header. */
html { scroll-padding-top: 84px; }

body {
	background: var(--wp--preset--color--paper);
	color: var(--wp--preset--color--ink);
	font-family: var(--wp--preset--font-family--ui);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

a { color: var(--wp--preset--color--club-green); text-decoration: none; }

::selection { background: var(--wp--preset--color--club-green); color: #fff; }

img { max-width: 100%; height: auto; }

/* ---------- header ---------- */

.site-header {
	position: fixed;
	inset: 0 0 auto 0;
	z-index: 200;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 22px clamp(20px, 4vw, 56px);
	background: transparent;
	transition: background .45s ease, box-shadow .45s ease, padding .45s ease;
}

.site-header__wordmark {
	font-family: var(--wp--preset--font-family--display);
	font-size: clamp(19px, 1.7vw, 24px);
	color: #fff;
	transition: color .45s ease;
}

/* Interior pages open on the paper background — start solid so the ink is
   dark from first paint (before site.js runs), not invisible white. */
.site-header--solid {
	background: rgba(246,241,231,.94);
	box-shadow: 0 1px 0 rgba(20,22,15,.08);
	padding-top: 14px;
	padding-bottom: 14px;
}
.site-header--solid .site-header__wordmark,
.site-header--solid .site-nav a { color: #14160F; }
.site-header--solid [data-hdr-bar] { background: #14160F; }

.site-nav { display: flex; align-items: center; gap: clamp(10px, 1.3vw, 20px); }
.site-nav a { font-size: 12px; font-weight: 600; color: #fff; transition: color .45s ease; }

.btn--book {
	padding: 11px 22px;
	border-radius: 999px;
	background: var(--wp--preset--color--club-green);
	color: #fff !important;
	font-weight: 800;
}

.menu-btn {
	display: none;
	width: 44px;
	height: 44px;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 5px;
	padding: 0;
	background: transparent;
	border: 0;
	cursor: pointer;
}
.menu-btn span { display: block; width: 22px; height: 2px; background: #fff; transition: background .45s ease; }

/* ---------- mobile menu ---------- */

.menu {
	position: fixed;
	inset: 0;
	z-index: 250;
	display: flex;
	flex-direction: column;
	padding: 22px clamp(20px, 5vw, 40px) calc(28px + env(safe-area-inset-bottom));
	background: var(--wp--preset--color--ground);
}
.menu[hidden] { display: none; }
.menu__top { display: flex; align-items: center; justify-content: space-between; }
.menu__wordmark { font-family: var(--wp--preset--font-family--display); font-size: 19px; color: #fff; }
.menu__close {
	width: 44px; height: 44px;
	display: flex; align-items: center; justify-content: center;
	background: transparent; border: 0; color: #fff;
	font-size: 26px; line-height: 1; cursor: pointer;
}
.menu__nav { display: flex; flex-direction: column; margin-block-start: clamp(28px, 6vh, 56px); }
.menu__nav a {
	font-family: var(--wp--preset--font-family--display);
	font-size: 32px;
	color: #EEF4EE;
	padding-block: 11px;
}
.menu__foot { margin-block-start: auto; padding-block-start: 24px; border-top: 1px solid rgb(255 255 255 / .1); }
.menu__foot a { color: var(--wp--preset--color--mist); font-weight: 600; }

/* ---------- bottom booking bar ---------- */

.bookbar {
	position: fixed;
	inset: auto 0 0 0;
	z-index: 210;
	display: none;
	align-items: center;
	gap: 12px;
	padding: 14px 20px calc(14px + env(safe-area-inset-bottom));
	background: var(--wp--preset--color--club-green);
}
.bookbar a { color: #fff !important; }
.bookbar__call {
	flex: 0 0 56px;
	height: 44px;
	display: flex; align-items: center; justify-content: center;
	border-radius: 12px;
	background: rgb(255 255 255 / .16);
	font-size: 24px;
}
.bookbar__book {
	flex: 1;
	display: flex; align-items: center; justify-content: space-between;
	gap: 12px;
}
.bookbar strong { display: block; font-size: 15px; font-weight: 800; }
.bookbar small { display: block; font-size: 11px; opacity: .85; }
.bookbar__arrow {
	width: 44px; height: 44px;
	display: flex; align-items: center; justify-content: center;
	border-radius: 50%;
	background: rgb(255 255 255 / .16);
	font-size: 20px;
}

/* ---------- footer ---------- */

.site-footer { background: var(--wp--preset--color--ground); color: #A9C4B1; padding: clamp(56px, 8vh, 90px) clamp(20px, 5vw, 80px) 40px; }
.site-footer__grid { max-width: 1280px; margin-inline: auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 36px; }
.site-footer__name { font-family: var(--wp--preset--font-family--display); font-size: 26px; color: #F3EEE1; }
.site-footer a { color: #A9C4B1; }
.site-footer__label { font-size: 10.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #89A892; }
.site-footer__legal { max-width: 1280px; margin: 40px auto 0; padding-block-start: 22px; border-top: 1px solid rgb(255 255 255 / .08); font-size: 12px; color: var(--wp--preset--color--mist); }

/* ---------- responsive ---------- */

[data-wm-short] { display: none; }

@media (max-width: 767px) {
	[data-desknav] { display: none; }
	[data-wm-full] { display: none; }
	[data-wm-short] { display: inline; }
	.menu-btn { display: flex; }
	.bookbar { display: flex; }
	.site-footer { padding-block-end: 108px; }
}

/* ---------- shared ---------- */

.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; margin: 0; }
.eyebrow--green { color: var(--wp--preset--color--club-green); }
.eyebrow--mist { color: var(--wp--preset--color--mist); }

h1, h2 { font-family: var(--wp--preset--font-family--display); font-weight: 400; line-height: 1.02; }
h2 { font-size: clamp(38px, 5vw, 68px); }
em { font-style: italic; }

.btn { display: inline-block; border-radius: 999px; font-weight: 800; }
.btn--hero { padding: 16px 34px; background: #fff; color: #053218 !important; }
.btn--rate { display: block; width: 100%; text-align: center; padding: 15px 0; background: var(--wp--preset--color--club-green); color: #fff !important; margin-block-start: 24px; }

/* ---------- hero ---------- */

.hero { position: relative; min-height: 100svh; overflow: hidden; }
.hero__field { position: absolute; inset: 0; background: radial-gradient(80% 70% at 78% 6%, rgb(206 220 158 / .30), transparent 55%), linear-gradient(158deg, #124A28, #0A3319 55%, #05200F); }
.hero__slides { position: absolute; inset: 0; overflow: hidden; }
.hero__slide { position: absolute; inset: 0; opacity: 0; }
.hero__slide.is-active { opacity: 1; }
/* The first slide must paint opaque instantly (it's the LCP element); a fade-in
   from opacity 0 would delay LCP. JS adds .is-ready after load, so only the
   later crossfades transition. */
.hero__slides.is-ready .hero__slide { transition: opacity 1s ease; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.4) brightness(.9); }
/* No-JS / single-slide: the first slide has .is-active from the server; a
   second-plus slide with no JS stays at opacity 0 behind it (harmless). */
/* Dots only work once JS wires the slideshow, so hide them without JS. */
.hero__dots { display: none; }
.js .hero__dots { position: absolute; z-index: 3; right: clamp(20px, 5vw, 80px); bottom: clamp(28px, 6vh, 56px); display: flex; gap: 10px; }
.hero__dot { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 50%; background: rgb(255 255 255 / .4); cursor: pointer; transition: background .3s ease; }
.hero__dot.is-active { background: #fff; }
.hero__dot:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.hero__scrim { position: absolute; inset: 0; background: linear-gradient(to top, rgb(3 16 8 / .86), rgb(3 16 8 / .18) 46%, rgb(3 16 8 / .5)); }
.hero__inner { position: relative; max-width: 1320px; margin-inline: auto; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; padding: 0 clamp(20px, 5vw, 80px) clamp(96px, 15vh, 160px); }
.hero__eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .32em; text-transform: uppercase; color: rgb(255 255 255 / .82); }
.hero__title { font-size: var(--wp--preset--font-size--display); color: #fff; margin: 16px 0 0; line-height: .98; }
.hero__title span, .hero__title em { display: block; }
.hero__lede { color: rgb(255 255 255 / .9); max-width: 52ch; margin-block-start: 24px; }
.hero__actions { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-block-start: 34px; }
.hero__price { color: rgb(255 255 255 / .85); font-weight: 600; font-size: 14px; }

/* ---------- club ---------- */

.club { background: var(--wp--preset--color--paper); padding: clamp(80px, 13vh, 170px) clamp(20px, 5vw, 80px); }
.club__inner { max-width: 1280px; margin-inline: auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: clamp(36px, 5vw, 80px); align-items: center; }
.club p { color: #4C4838; line-height: 1.7; max-width: 54ch; }
.club__frame { height: clamp(360px, 48vh, 520px); border-radius: 20px; overflow: hidden; background: radial-gradient(90% 80% at 25% 10%, rgb(206 220 158 / .30), transparent 55%), linear-gradient(150deg, #176038, #0B3A20); }
.club__frame--photo { background: none; }
.club__frame--photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.35); }
.link-arrow { font-weight: 800; font-size: 14px; }

/* ---------- course ---------- */

.course { position: relative; overflow: hidden; background: #05200F; }
.course__field { position: absolute; inset: 0; background: radial-gradient(70% 90% at 80% 0%, rgb(206 220 158 / .22), transparent 55%), linear-gradient(120deg, #0A3319, #0E4526 55%, #062A13); }
.course__photo { position: absolute; inset: 0; overflow: hidden; }
.course__photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.4) brightness(.9); }
.course__scrim { position: absolute; inset: 0; background: linear-gradient(90deg, rgb(3 16 8 / .8), rgb(3 16 8 / .25) 60%, transparent); }
.course__inner { position: relative; max-width: 1280px; margin-inline: auto; padding: clamp(90px, 14vh, 150px) clamp(20px, 5vw, 80px); }
.course h2 { color: #fff; }
.course p { color: rgb(255 255 255 / .86); max-width: 48ch; }
.facts { display: flex; gap: clamp(24px, 4vw, 52px); flex-wrap: wrap; margin-block-start: 34px; }
.facts dd { margin: 0; font-family: var(--wp--preset--font-family--display); font-size: clamp(34px, 4vw, 52px); color: #fff; line-height: 1; font-variant-numeric: tabular-nums; }
.facts dt { font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--wp--preset--color--mist); margin-block-start: 4px; }

/* ---------- facilities ---------- */

.facilities { background: var(--wp--preset--color--paper); padding: clamp(80px, 13vh, 170px) clamp(20px, 5vw, 80px); }
.facilities__inner { max-width: 1280px; margin-inline: auto; }
.facilities__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 22px; margin-block-start: clamp(40px, 6vh, 64px); }
.facility { position: relative; height: 300px; border-radius: 18px; overflow: hidden; }
.facility__frame { position: absolute; inset: 0; background: linear-gradient(150deg, #1C5A33, #0D3C21); }
.facility__frame--photo { background: none; }
.facility__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.facility__caption { position: absolute; left: 16px; bottom: 14px; }
.facility__name { display: block; font-family: var(--wp--preset--font-family--display); font-size: 23px; color: #fff; }
.facility__note { display: block; font-size: 12.5px; color: rgb(255 255 255 / .8); }
.renovation { margin-block-start: 24px; font-size: 13.5px; font-weight: 500; color: var(--wp--preset--color--muted); }

/* ---------- rates ---------- */

.rates { background: var(--wp--preset--color--ground-rates); padding: clamp(80px, 13vh, 170px) clamp(20px, 5vw, 80px); }
.rates__inner { max-width: 1280px; margin-inline: auto; }
.rates__head { text-align: center; max-width: 640px; margin-inline: auto; }
.rates__head h2 { color: #fff; }
.rates__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; margin-block-start: clamp(40px, 6vh, 60px); }
.rate { background: var(--wp--preset--color--paper); border-radius: 22px; padding: 32px 30px; }
.rate__top { display: flex; align-items: baseline; justify-content: space-between; }
.rate__tier { font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--wp--preset--color--club-green); }
.rate__note { font-size: 12px; font-weight: 600; color: var(--wp--preset--color--muted); }
.rate__price { font-family: var(--wp--preset--font-family--display); font-size: 60px; line-height: 1; margin-block-start: 16px; font-variant-numeric: tabular-nums; }
.rate__incl { font-size: 13.5px; font-weight: 500; color: var(--wp--preset--color--muted); }
.rates__foot { text-align: center; margin-block-start: 26px; font-size: 13px; color: var(--wp--preset--color--mist); }
/* Membership sits on the dark rates section — light, readable text (it was
   inheriting dark body text before, illegible on the dark green). */
.rates__membership { max-width: 680px; margin-inline: auto; margin-block-start: clamp(44px, 6vh, 68px); padding-block-start: clamp(28px, 4vh, 40px); border-block-start: 1px solid rgb(255 255 255 / .16); }
.rates__membership h3 { color: #fff; font-family: var(--wp--preset--font-family--display); font-size: clamp(22px, 2.4vw, 30px); text-align: center; margin-block-end: 16px; }
.rates__membership p { color: rgb(255 255 255 / .84); line-height: 1.9; font-size: 15px; }

/* ---------- heritage ---------- */

.heritage { background: var(--wp--preset--color--ground-heritage); padding: clamp(80px, 13vh, 170px) clamp(20px, 5vw, 80px); }
.heritage__inner { max-width: 1080px; margin-inline: auto; }
.heritage__head { text-align: center; }
.heritage__head h2 { color: #fff; }
.heritage__head p { color: var(--wp--preset--color--mist); max-width: 54ch; margin-inline: auto; }

.tl { position: relative; margin-block-start: clamp(48px, 8vh, 90px); padding-inline-start: clamp(24px, 6vw, 80px); }
.tl__rail { position: absolute; left: clamp(4px, 3vw, 30px); top: 8px; bottom: 8px; width: 2px; background: rgb(255 255 255 / .14); overflow: hidden; }
.tl__fill { position: absolute; inset: 0 0 auto 0; height: 0; background: linear-gradient(#7FB08F, #9EC3A8); }
.tl__entry { position: relative; padding-block-end: clamp(40px, 6vh, 64px); }
.tl__dot { position: absolute; left: calc(clamp(4px, 3vw, 30px) - clamp(24px, 6vw, 80px) - 5px); top: 16px; width: 13px; height: 13px; border-radius: 50%; background: var(--wp--preset--color--ground-heritage); border: 2px solid var(--wp--preset--color--mist); }
.tl__year { font-family: var(--wp--preset--font-family--display); font-size: clamp(40px, 5vw, 68px); color: #EEF4EE; line-height: 1; font-variant-numeric: tabular-nums; }
.tl__title { font-size: 15px; font-weight: 700; color: #D6E6DA; margin-block-start: 8px; }
.tl__body { font-size: 15px; color: #8FB59A; max-width: 56ch; }
.tl__coda { font-family: var(--wp--preset--font-family--display); font-style: italic; font-size: 15px; color: var(--wp--preset--color--mist); }

.tl__peak { position: relative; margin: 0 0 clamp(40px, 6vh, 64px) calc(0px - clamp(24px, 6vw, 80px)); padding: clamp(32px, 5vw, 56px) clamp(24px, 6vw, 80px); background: linear-gradient(135deg, #0B4527, #052F18); border-block: 1px solid rgb(255 255 255 / .16); }
.tl__label { font-size: 11px; font-weight: 800; letter-spacing: .28em; text-transform: uppercase; color: var(--wp--preset--color--mist); }
.tl__year--gold { font-size: clamp(96px, 17vw, 230px); line-height: .84; color: var(--wp--preset--color--royal-gold); }
.tl__title--peak { font-family: var(--wp--preset--font-family--display); font-style: italic; font-size: clamp(22px, 3vw, 34px); color: #fff; font-weight: 400; }
.tl__peak .tl__body { color: #CFE0D3; font-size: 16px; }

/* ---------- cta ---------- */

.cta { position: relative; overflow: hidden; background: #05200F; }
.cta__field { position: absolute; inset: 0; background: radial-gradient(80% 90% at 50% 0%, rgb(206 220 158 / .20), transparent 55%), linear-gradient(160deg, #0C3D20, #0A3319 55%, #05200F); }
.cta__scrim { position: absolute; inset: 0; background: rgb(3 16 8 / .5); }
.cta__inner { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: clamp(90px, 12vh, 140px) 24px; }
.cta h2 { font-size: clamp(44px, 7vw, 104px); color: #fff; margin: 0; }
.cta p { color: rgb(255 255 255 / .85); }
.cta__actions { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; justify-content: center; }
.cta__actions a[href^="tel:"] { color: rgb(255 255 255 / .85); font-weight: 600; }

/* ---------- route shell (all page-*.php routes) ---------- */

.route__inner { max-width: 900px; margin-inline: auto; }

/* ---------- the-course route ---------- */

.the-course__intro { background: var(--wp--preset--color--paper); padding: clamp(140px, 18vh, 200px) clamp(20px, 5vw, 80px) clamp(40px, 6vh, 64px); }
.the-course__lede { color: #4C4838; line-height: 1.7; max-width: 54ch; margin-block-start: 16px; }

.the-course__facts { background: #05200F; }
.the-course__facts-inner { max-width: 1280px; margin-inline: auto; padding: clamp(56px, 9vh, 100px) clamp(20px, 5vw, 80px); }
.the-course__facts .facts dd { color: #fff; }
.the-course__meta { color: rgb(255 255 255 / .8); font-size: 13.5px; font-weight: 500; margin-block-start: 30px; }

.the-course__layout { background: var(--wp--preset--color--paper); padding: clamp(60px, 9vh, 110px) clamp(20px, 5vw, 80px); }
.the-course__layout-inner { max-width: 900px; margin-inline: auto; }
.the-course__layout p { color: #4C4838; line-height: 1.7; margin-block-start: 16px; }

.the-course__documents { background: var(--wp--preset--color--ground); padding: clamp(60px, 9vh, 110px) clamp(20px, 5vw, 80px); }
.the-course__documents-inner { max-width: 900px; margin-inline: auto; }
.the-course__documents h2 { color: #F3EEE1; }
.the-course__doc-list { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.the-course__doc-list a { color: #EEF4EE; font-weight: 700; }
.the-course__doc-empty { color: #A9C4B1; margin-block-start: 16px; }

/* ---------- rates route ---------- */

.rates-page__intro { background: var(--wp--preset--color--paper); padding: clamp(140px, 18vh, 200px) clamp(20px, 5vw, 80px) clamp(40px, 6vh, 64px); }
.rates-page__lede { color: #4C4838; line-height: 1.7; max-width: 54ch; margin-block-start: 16px; }

.rates-page__table { background: var(--wp--preset--color--ground-rates); padding: clamp(60px, 9vh, 110px) clamp(20px, 5vw, 80px); }
.rates-page__table-inner { max-width: 1280px; margin-inline: auto; }
.rates-page__note { text-align: center; margin-block-start: 26px; font-size: 13px; color: var(--wp--preset--color--mist); }

.rates-page__promo { background: var(--wp--preset--color--paper); padding: clamp(40px, 6vh, 64px) clamp(20px, 5vw, 80px); }
.rates-page__promo-inner { max-width: 900px; margin-inline: auto; text-align: center; }
.rates-page__promo p { color: #4C4838; }
.rates-page__promo a { color: var(--wp--preset--color--club-green); font-weight: 700; }

.rates-page__documents { background: var(--wp--preset--color--ground); padding: clamp(60px, 9vh, 110px) clamp(20px, 5vw, 80px); }
.rates-page__documents-inner { max-width: 900px; margin-inline: auto; }
.rates-page__documents h2 { color: #F3EEE1; }
.rates-page__doc-list { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.rates-page__doc-list a { color: #EEF4EE; font-weight: 700; }
.rates-page__doc-empty { color: #A9C4B1; margin-block-start: 16px; }

/* ---------- facilities route ---------- */

.facilities-page__intro { background: var(--wp--preset--color--paper); padding: clamp(140px, 18vh, 200px) clamp(20px, 5vw, 80px) clamp(40px, 6vh, 64px); }
.facilities-page__lede { color: #4C4838; line-height: 1.7; max-width: 54ch; margin-block-start: 16px; }

.facilities-page__grid { background: var(--wp--preset--color--paper); padding: 0 clamp(20px, 5vw, 80px) clamp(60px, 9vh, 110px); }
.facilities-page__grid-inner { max-width: 1280px; margin-inline: auto; }
.facilities__grid--large { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 28px; }
.facility--large { height: 380px; }

.facilities-page__enquiry { background: var(--wp--preset--color--ground-rates); padding: clamp(60px, 9vh, 110px) clamp(20px, 5vw, 80px); }
.facilities-page__enquiry-inner { max-width: 640px; margin-inline: auto; text-align: center; }
.facilities-page__enquiry h2 { color: #fff; }
.facilities-page__enquiry p { color: rgb(255 255 255 / .85); margin-block-start: 10px; }
.facilities-page__enquiry .btn { margin-block-start: 24px; }

/* ---------- gallery route ---------- */

.gallery-page__intro { background: var(--wp--preset--color--paper); padding: clamp(108px, 13vh, 148px) clamp(20px, 5vw, 80px) clamp(20px, 3vh, 36px); }
.gallery-page__group { margin-block-start: clamp(40px, 6vh, 64px); }
.gallery-page__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 22px; margin-block-start: 20px; }
.gallery-page__item { display: block; border-radius: 18px; overflow: hidden; cursor: zoom-in; }
.gallery-page__item:focus-visible { outline: 2px solid var(--wp--preset--color--club-green); outline-offset: 3px; }
.gallery-page__photo { border-radius: 18px; overflow: hidden; width: 100%; height: 300px; object-fit: cover; transition: transform .4s ease; }
.gallery-page__item:hover .gallery-page__photo { transform: scale(1.03); }
.gallery-page__photo--duotone { filter: grayscale(0.4) sepia(0.15); }

/* Lightbox (built by site.js on click; no-JS opens the full image directly).
   Prev/next controls + a thumbnail strip to jump between photos. */
.lightbox { position: fixed; inset: 0; z-index: 300; display: none; flex-direction: column; align-items: center; justify-content: flex-start; gap: 14px; padding: clamp(12px, 3vw, 36px); background: rgb(3 16 8 / .94); }
.lightbox.is-open { display: flex; }
/* Image fills the space above the thumbnail strip (which is pinned to the
   bottom); object-fit keeps it letterboxed and centred within that area. */
.lightbox__img { flex: 1 1 auto; min-height: 0; max-width: 100%; object-fit: contain; border-radius: 8px; }
.lightbox__nav, .lightbox__close { background: rgb(255 255 255 / .12); border: 0; color: #fff; border-radius: 50%; cursor: pointer; line-height: 1; transition: background .2s ease; }
.lightbox__nav:hover, .lightbox__close:hover { background: rgb(255 255 255 / .26); }
.lightbox__nav:focus-visible, .lightbox__close:focus-visible, .lightbox__thumb:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.lightbox__close { position: absolute; top: clamp(10px, 2.5vw, 22px); right: clamp(12px, 3vw, 28px); width: 44px; height: 44px; font-size: 28px; }
.lightbox__nav { position: absolute; top: calc(50% - 40px); transform: translateY(-50%); width: 52px; height: 52px; font-size: 32px; }
.lightbox__nav--prev { left: clamp(6px, 2vw, 24px); }
.lightbox__nav--next { right: clamp(6px, 2vw, 24px); }
.lightbox__thumbs { flex: 0 0 auto; margin-block-start: auto; display: flex; gap: 8px; max-width: 100%; overflow-x: auto; padding: 4px; scrollbar-width: thin; }
.lightbox__thumb { flex: 0 0 auto; width: 72px; height: 48px; padding: 0; border: 2px solid transparent; border-radius: 6px; overflow: hidden; background: none; cursor: pointer; opacity: .55; transition: opacity .2s ease; }
.lightbox__thumb.is-active { opacity: 1; border-color: #fff; }
.lightbox__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- the-club route ---------- */

.the-club__intro { background: var(--wp--preset--color--paper); padding: clamp(140px, 18vh, 200px) clamp(20px, 5vw, 80px) clamp(40px, 6vh, 64px); }
.the-club__lede { color: #4C4838; line-height: 1.7; max-width: 60ch; margin-block-start: 16px; }

.the-club__committee { background: var(--wp--preset--color--paper); padding: clamp(60px, 9vh, 110px) clamp(20px, 5vw, 80px); }
.the-club__committee-inner { max-width: 1280px; margin-inline: auto; }
.the-club__committee h2 { color: #14351F; }
.the-club__committee-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; margin-block-start: clamp(32px, 5vh, 48px); }
.committee-card { text-align: center; }
.committee-card__photo { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; margin-inline: auto; }
.committee-card__name { display: block; font-family: var(--wp--preset--font-family--display); font-size: 19px; color: #14351F; margin-block-start: 14px; }
.committee-card__position { display: block; font-size: 13px; font-weight: 700; color: var(--wp--preset--color--club-green); margin-block-start: 4px; }
.committee-card__term { display: block; font-size: 12px; color: var(--wp--preset--color--muted); margin-block-start: 2px; }
.the-club__committee-empty { color: #6B6552; margin-block-start: 16px; }

.the-club__documents { background: var(--wp--preset--color--ground); padding: clamp(60px, 9vh, 110px) clamp(20px, 5vw, 80px); }
.the-club__documents-inner { max-width: 900px; margin-inline: auto; }
.the-club__documents h2 { color: #F3EEE1; }
.the-club__doc-list { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.the-club__doc-list a { color: #EEF4EE; font-weight: 700; }
.the-club__doc-empty { color: #A9C4B1; margin-block-start: 16px; }

/* ---------- contact route ---------- */

.contact-page__intro { background: var(--wp--preset--color--paper); padding: clamp(140px, 18vh, 200px) clamp(20px, 5vw, 80px) clamp(40px, 6vh, 64px); }
.contact-page__lede { color: #4C4838; line-height: 1.7; max-width: 54ch; margin-block-start: 16px; }

.contact-page__details { background: #05200F; }
.contact-page__details-inner { max-width: 900px; margin-inline: auto; padding: clamp(56px, 9vh, 100px) clamp(20px, 5vw, 80px); }
.contact-page__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; }
.contact-page__list dt { font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--wp--preset--color--mist); }
.contact-page__list dd { margin: 8px 0 0; color: #fff; font-size: 17px; line-height: 1.6; }
.contact-page__list a { color: #EEF4EE; font-weight: 700; }
.contact-page__socials { display: flex; gap: 20px; margin-block-start: clamp(32px, 5vh, 48px); }
.contact-page__socials a { color: #EEF4EE; font-weight: 700; }

.contact-page__map { background: var(--wp--preset--color--ground); padding: clamp(40px, 6vh, 64px) clamp(20px, 5vw, 80px); text-align: center; }
.contact-page__map-link { color: #EEF4EE; font-weight: 700; }

.contact-page__enquiry { background: var(--wp--preset--color--ground-rates); padding: clamp(60px, 9vh, 110px) clamp(20px, 5vw, 80px); }
.contact-page__enquiry-inner { max-width: 640px; margin-inline: auto; text-align: center; }
.contact-page__enquiry h2 { color: #fff; }
.contact-page__enquiry p { color: rgb(255 255 255 / .85); margin-block-start: 10px; }
.contact-page__enquiry .btn { margin-block-start: 24px; }

/* ---------- news route ---------- */

.news-page__intro { background: var(--wp--preset--color--paper); padding: clamp(108px, 13vh, 148px) clamp(20px, 5vw, 80px) clamp(20px, 3vh, 36px); }

.news-page__promotions { background: var(--wp--preset--color--ground-rates); padding: clamp(60px, 9vh, 110px) clamp(20px, 5vw, 80px); }
.news-page__promotions h2 { color: #fff; }
.news-page__promo-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; margin-block-start: clamp(32px, 5vh, 48px); }
.promo-card { background: var(--wp--preset--color--paper); border-radius: 22px; padding: 26px 26px 30px; }
.promo-card__frame { border-radius: 16px; overflow: hidden; margin-block-end: 18px; }
.promo-card__photo { display: block; width: 100%; height: 200px; object-fit: cover; }
.promo-card__title { font-family: var(--wp--preset--font-family--display); font-size: 22px; margin: 0; }
.promo-card__body { color: #4C4838; line-height: 1.6; margin-block-start: 8px; }

.news-page__list { background: var(--wp--preset--color--paper); padding: 0 clamp(20px, 5vw, 80px) clamp(60px, 9vh, 110px); }
.news-item { padding-block: 26px; border-block-end: 1px solid rgb(20 22 15 / .1); }
.news-item:first-child { padding-block-start: 0; }
.news-item__date { display: block; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--wp--preset--color--muted); }
.news-item__title { font-family: var(--wp--preset--font-family--display); font-size: 26px; margin: 6px 0 0; }
.news-item__title a { color: inherit; text-decoration: none; }
.news-item__title a:hover { color: var(--wp--preset--color--club-green); }
.news-item__body { color: #4C4838; line-height: 1.6; margin-block-start: 8px; max-width: 62ch; }
.news-item__more { display: inline-block; margin-block-start: 12px; font-size: 14px; font-weight: 800; color: var(--wp--preset--color--club-green); }
.news-item--has-media { display: grid; grid-template-columns: 340px 1fr; gap: clamp(20px, 3vw, 40px); align-items: start; }
.news-item__media { display: block; border-radius: 14px; overflow: hidden; }
.news-item__photo { display: block; width: 100%; height: 220px; object-fit: cover; transition: transform .4s ease; }
.news-item__media:hover .news-item__photo { transform: scale(1.03); }
@media (max-width: 767px) { .news-item--has-media { grid-template-columns: 1fr; } }

/* ---------- news detail (single-news.php) ---------- */

.news-single__intro { background: var(--wp--preset--color--paper); padding: clamp(108px, 13vh, 148px) clamp(20px, 5vw, 80px) clamp(16px, 2.5vh, 28px); }
.news-single__date { margin-block-start: 14px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--wp--preset--color--muted); }
.news-single__media { background: var(--wp--preset--color--paper); padding: 0 clamp(20px, 5vw, 80px) clamp(20px, 4vh, 40px); }
.news-single__photo { display: block; width: 100%; max-height: 520px; object-fit: cover; border-radius: 16px; }
.news-single__body { background: var(--wp--preset--color--paper); padding: clamp(8px, 2vh, 20px) clamp(20px, 5vw, 80px) clamp(64px, 10vh, 120px); }
.news-single__prose { max-width: 68ch; color: #4C4838; line-height: 1.8; }
.news-single__prose p { margin-block: 0 1.1em; }
.news-single__back { margin-block-start: 36px; }
.news-single__back a { font-weight: 800; font-size: 14px; color: var(--wp--preset--color--club-green); }

/* ---------- honours route ---------- */

.honours-page__intro { background: var(--wp--preset--color--paper); padding: clamp(108px, 13vh, 148px) clamp(20px, 5vw, 80px) clamp(20px, 3vh, 36px); }

.honours-page__section { background: var(--wp--preset--color--paper); padding: 0 clamp(20px, 5vw, 80px) clamp(36px, 5vh, 64px); }
.honours-page__section h2 { margin-block-end: 18px; }
/* Empty Hole-in-One: a compact one-liner, not a screen-tall section. */
.honours-page__section--note { padding-block-end: clamp(48px, 8vh, 88px); }
.honours-page__note { color: var(--wp--preset--color--muted); font-size: 15px; }
.honours-page__note strong { color: #4C4838; font-weight: 700; }
.honours-page__table-wrap { overflow-x: auto; }
.honours-page__table { width: 100%; min-width: 480px; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.honours-page__table th, .honours-page__table td { text-align: left; padding: 12px 16px; border-block-end: 1px solid rgb(20 22 15 / .1); }
.honours-page__table th { font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--wp--preset--color--muted); }
.honours-page__table td { color: #4C4838; }

/* ---------- club-life route ---------- */

.club-life-page__intro { background: var(--wp--preset--color--paper); padding: clamp(108px, 13vh, 148px) clamp(20px, 5vw, 80px) clamp(20px, 3vh, 36px); }

.club-life-page__section { background: var(--wp--preset--color--paper); padding: 0 clamp(20px, 5vw, 80px) clamp(60px, 9vh, 110px); }
.club-life-page__section h2 { margin-block-end: 16px; }
.club-life-page__section p { color: #4C4838; line-height: 1.7; max-width: 62ch; }

/* ---------- policies route ---------- */

.policies-page__intro { background: var(--wp--preset--color--paper); padding: clamp(108px, 13vh, 148px) clamp(20px, 5vw, 80px) clamp(20px, 3vh, 36px); }

.policies-page__section { background: var(--wp--preset--color--paper); padding: 0 clamp(20px, 5vw, 80px) clamp(60px, 9vh, 110px); }
.policies-page__section h2 { margin-block-end: 16px; }
.policies-page__section p { color: #4C4838; line-height: 1.7; max-width: 62ch; }

/* ---------- promotion popup (site-wide, footer.php) ---------- */

.promo-popup {
	position: fixed;
	inset: 0;
	z-index: 300;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	background: rgb(5 32 15 / .72);
	opacity: 0;
	transition: opacity .35s ease;
}
.promo-popup[hidden] { display: none; }
.promo-popup.is-open { opacity: 1; }
.promo-popup__dialog {
	position: relative;
	max-width: 420px;
	width: 100%;
	background: var(--wp--preset--color--paper);
	border-radius: 20px;
	padding: clamp(28px, 5vw, 40px);
	transform: translateY(12px) scale(.98);
	transition: transform .35s ease;
}
.promo-popup.is-open .promo-popup__dialog { transform: none; }
.promo-popup__close {
	position: absolute;
	top: 14px;
	right: 14px;
	width: 36px;
	height: 36px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: transparent;
	border: 0;
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
	color: var(--wp--preset--color--muted);
}
.promo-popup__image { border-radius: 14px; overflow: hidden; margin-block-end: 18px; }
.promo-popup__title { font-family: var(--wp--preset--font-family--display); font-size: 26px; margin: 0; }
.promo-popup__body { color: #4C4838; line-height: 1.6; margin-block-start: 10px; }

/* ---------- empty-state (deferred routes via page.php) ---------- */

.route__empty-state { margin-block-start: 24px; padding: clamp(32px, 5vh, 48px) 0 clamp(56px, 8vh, 90px); }
.route__empty-state p { color: #4C4838; line-height: 1.7; max-width: 54ch; }
.route__empty-actions { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; margin-block-start: 24px; }
.route__empty-actions a:first-child { color: var(--wp--preset--color--club-green); font-weight: 700; }

/* ---------- motion ---------- */

.js [data-reveal] {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1);
}

[data-reveal].is-revealed {
	opacity: 1;
	transform: none;
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation: none !important;
		transition: none !important;
		scroll-behavior: auto !important;
	}

	[data-reveal] {
		opacity: 1 !important;
		transform: none !important;
	}
}
