/* Source Serif 4 and Source Sans 3 — locally hosted; licenses in assets/licenses/. */
@font-face {
  font-family: "Source Serif 4";
  src: url("../fonts/source-serif-4-latin-400-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Source Sans 3";
  src: url("../fonts/source-sans-3-latin-400-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Source Sans 3";
  src: url("../fonts/source-sans-3-latin-600-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

:root {
  --color-paper: #f9f8f2;
  --color-green: #02432a;
  --color-green-hover: #01301e;
  --color-ink: #233f32;
  --color-muted: #536357;
  --color-gold: #756334;
  --color-gold-light: #d6c594;
  --color-line: #d6d4c6;
  --color-sage: #efeee6;
  --font-serif: "Source Serif 4", Georgia, serif;
  --font-sans: "Source Sans 3", Arial, sans-serif;
  --text-base: 1.125rem;
  --text-small: 1rem;
  --width-content: 1280px;
  --width-reading: 54ch;
  --gutter: clamp(1.25rem, 4.2vw, 5rem);
  --space-1: .5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-5: 3rem;
  --space-6: 4rem;
  --space-section: clamp(3.5rem, 5.3vw, 5rem);
  --bs-body-bg: var(--color-paper);
  --bs-body-color: var(--color-ink);
  --bs-body-font-family: var(--font-sans);
  --bs-body-font-size: var(--text-base);
  --bs-body-line-height: 1.6;
  --bs-link-color: var(--color-green);
  --bs-link-hover-color: var(--color-green-hover);
}

html { scroll-padding-top: 2rem; }
body { margin: 0; -webkit-font-smoothing: antialiased; }
::selection { background: var(--color-green); color: var(--color-paper); }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--color-green); text-underline-offset: .25em; }
a, button { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
:focus-visible { outline: 2px solid var(--color-green); outline-offset: 5px; }
[tabindex="-1"]:focus:not(:focus-visible) { outline: none; }
[id] { scroll-margin-top: 1rem; }
p { margin: 0 0 var(--space-3); }
h1, h2, h3 { font-family: var(--font-serif); font-weight: 400; color: var(--color-green); }
h1, h2 { letter-spacing: -.045em; }
h2 { font-size: clamp(2.3rem, 3.8vw, 3.4rem); line-height: 1.13; margin: 0; }
h3 { font-size: 1.5rem; letter-spacing: -.02em; }
.site-container { width: calc(100% - var(--gutter) * 2); max-width: var(--width-content); padding-inline: 0; }
.row { --bs-gutter-x: 3rem; }
.section-space { padding-block: var(--space-section); }
.skip-link { position: absolute; top: 1rem; left: var(--gutter); z-index: 10; padding: .75rem 1.25rem; background: var(--color-green); color: var(--color-paper); transform: translateY(-200%); }
.skip-link:focus { transform: translateY(0); color: var(--color-paper); outline-color: var(--color-gold); }

/* Light masthead, original crest and progressive navigation. */
.site-header { border-bottom: 1px solid var(--color-line); }
.header-inner { min-height: 110px; display: flex; justify-content: space-between; align-items: center; gap: var(--space-4); }
.brand { display: inline-flex; align-items: center; gap: .9rem; flex-shrink: 0; text-decoration: none; color: var(--color-green); }
.brand-crest { width: 84px; height: 84px; object-fit: contain; flex: 0 0 84px; }
.brand-crest-wrap { position: relative; display: block; flex: 0 0 124px; width: 124px; height: 88px; }
.site-header .brand-crest { position: absolute; z-index: 3; top: -10px; left: -10px; width: 144px; height: 144px; max-width: none; }
.brand-name { display: flex; flex-direction: column; line-height: 1.35; }
.brand-name span:first-child { font-family: var(--font-sans); font-size: .8rem; letter-spacing: .075em; text-transform: uppercase; }
.brand-name span:last-child { font-family: var(--font-serif); font-size: 1.4rem; letter-spacing: -.025em; }
.site-nav { display: flex; align-items: center; gap: var(--space-4); }
.nav-list { display: flex; align-items: center; gap: 1.55rem; list-style: none; padding: 0; margin: 0; }
.nav-list a { display: block; padding-block: .8rem; font-size: 1rem; text-decoration: none; }
.nav-list a:hover { text-decoration: underline; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 52px; padding: .8rem 1.4rem; border: 1px solid var(--color-green); border-radius: 0; font-size: 1rem; font-weight: 600; line-height: 1.4; text-decoration: none; transition: background-color 160ms ease, color 160ms ease; }
.button span { font-size: 1.3rem; font-weight: 400; line-height: 1; }
.button-light { background: var(--color-paper); border-color: var(--color-paper); color: var(--color-green); }
.button-light:hover { background: #e9e5d8; color: var(--color-green); }
.header-cta { gap: 1rem; min-height: 46px; padding: .7rem 1rem; font-size: .95rem; color: var(--color-paper); background: var(--color-green); }
.header-cta:hover { background: var(--color-green-hover); color: var(--color-paper); }
.menu-toggle { display: inline-flex; align-items: center; gap: .8rem; min-height: 48px; padding: .5rem .2rem; border: 0; background: transparent; color: var(--color-green); font-size: 1rem; }
.menu-toggle[hidden] { display: none; }
.menu-symbol { display: grid; align-content: center; gap: 6px; width: 21px; height: 21px; }
.menu-symbol span { display: block; height: 1px; background: currentColor; }
.menu-toggle[aria-expanded="true"] .menu-symbol { gap: 0; }
.menu-toggle[aria-expanded="true"] .menu-symbol span:first-child { transform: translateY(.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-symbol span:last-child { transform: translateY(-.5px) rotate(-45deg); }

/* Full-width landscape. The overlay protects text contrast; the photograph is not retouched. */
.hero { position: relative; isolation: isolate; background: var(--color-green); color: var(--color-paper); }
.hero-background { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 56%; }
.hero::before { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, rgba(0, 27, 16, .83) 0%, rgba(0, 27, 16, .62) 39%, rgba(0, 27, 16, .12) 76%); }
.hero-inner { min-height: 560px; display: flex; align-items: center; padding-block: 4rem 5rem; }
.hero-copy { max-width: 650px; }
.eyebrow { display: flex; align-items: center; gap: var(--space-2); margin-bottom: 1.2rem; text-transform: uppercase; font-size: .78rem; font-weight: 600; letter-spacing: .15em; color: var(--color-gold-light); }
.eyebrow-line { display: block; flex-shrink: 0; width: 52px; height: 1px; background: currentColor; }
.eyebrow-dark { color: var(--color-gold); }
h1 { font-size: clamp(4rem, 6.5vw, 6.15rem); line-height: 1.01; margin: 0 0 1.5rem; color: var(--color-paper); }
.hero-intro { max-width: 43ch; font-size: 1.25rem; line-height: 1.5; margin-bottom: 1.75rem; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1rem 2rem; }
.text-link { display: inline-flex; align-items: center; gap: 1rem; font-size: 1rem; text-decoration: none; border-bottom: 1px solid currentColor; padding-block: .5rem; }
.text-link:hover { border-bottom-color: transparent; }
.hero .text-link { color: var(--color-paper); }
.hero :focus-visible, .site-footer :focus-visible { outline-color: var(--color-gold-light); }

/* Three confirmed facts, without invented benefits or icons. */
.facts-band { background: var(--color-sage); border-bottom: 1px solid var(--color-line); }
.facts-list { display: grid; grid-template-columns: repeat(3, 1fr); margin-block: 0; padding-block: 1.75rem; }
.facts-list > div { padding-inline: 2rem; border-right: 1px solid #b8ac87; }
.facts-list > div:first-child { padding-left: 0; }
.facts-list > div:last-child { border-right: 0; }
.facts-list dt { font-family: var(--font-serif); font-size: 1.5rem; line-height: 1.3; font-weight: 400; color: var(--color-green); }
.facts-list dd { margin: .3rem 0 0; font-size: .75rem; text-transform: uppercase; letter-spacing: .095em; color: var(--color-muted); }

/* Text and landscape share one editorial row. */
.club-row { --bs-gutter-x: 5rem; --bs-gutter-y: 2rem; }
.club-copy h2 { margin-bottom: 1.5rem; }
.club-intro { max-width: var(--width-reading); margin-bottom: 1.5rem; }
.playing-options { padding-top: 1.5rem; border-top: 1px solid var(--color-line); }
.playing-options h3 { margin-bottom: .7rem; }
.playing-options p { color: var(--color-muted); margin-bottom: .75rem; font-size: 1.05rem; }
.editorial-photo { margin: 0; }
.editorial-photo img { width: 100%; object-fit: cover; background: var(--color-sage); }
.club-photo img { aspect-ratio: 1.5; height: auto; object-position: 50% 60%; }

/* Three principal contracts, followed by all remaining contracts in a visible list. */
.fees-section { padding-top: 1.5rem; }
.fees-intro { text-align: center; margin-bottom: 2rem; }
.fees-intro .eyebrow { justify-content: center; }
.fees-intro h2 { margin-bottom: .75rem; }
.fees-intro > p:not(.eyebrow) { color: var(--color-muted); margin: 0; }
.fee-list { margin: 0; }
.principal-fees { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; margin-bottom: 2.75rem; }
.fee-row { display: grid; grid-template-columns: minmax(0, 1fr) 11rem; align-items: start; gap: 2rem; padding-block: 1.15rem; border-bottom: 1px solid var(--color-line); }
.fee-row dt { font-weight: 400; font-size: 1.125rem; line-height: 1.5; }
.fee-row dd { margin: 0; text-align: right; }
.fee-amount { display: block; font-size: 1.3rem; font-variant-numeric: tabular-nums; line-height: 1.3; color: var(--color-green); white-space: nowrap; }
.fee-amount-text { font-size: 1.125rem; padding-top: .12rem; }
.fee-period { display: block; font-size: .85rem; color: var(--color-muted); line-height: 1.5; }
.principal-fees .fee-row { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .8rem; min-height: 192px; padding: 2rem 1rem; border: 1px solid var(--color-line); text-align: center; }
.principal-fees dt { font-family: var(--font-serif); font-size: 1.4rem; }
.principal-fees dd { text-align: center; }
.principal-fees .fee-amount { font-size: clamp(1.8rem, 2.6vw, 2.2rem); }
.principal-fees .fee-period { font-size: 1rem; margin-top: .3rem; }
.principal-fees .fee-row:first-child { background: var(--color-green); border-color: var(--color-green); outline: 1px solid #b9a66d; outline-offset: -6px; color: var(--color-paper); }
.principal-fees .fee-row:first-child .fee-amount, .principal-fees .fee-row:first-child .fee-period { color: var(--color-paper); }
.remaining-fees { max-width: 1040px; margin-inline: auto; }
.remaining-fees-title { font-size: 1.45rem; margin-bottom: 1.5rem; }
.fee-list-heading { display: flex; justify-content: space-between; gap: 2rem; padding-bottom: .85rem; border-bottom: 1px solid var(--color-green); text-transform: uppercase; font-size: .78rem; letter-spacing: .1em; font-weight: 600; color: var(--color-green); }
.fee-description { display: block; margin-top: .3rem; font-size: 1rem; color: var(--color-muted); line-height: 1.5; }
.note-ref { display: inline-block; min-width: 25px; padding: .1rem .2rem; font-size: .9rem; white-space: nowrap; text-decoration-thickness: 1px; }
.fee-notes { padding-top: 1.75rem; }
.fee-notes h3 { font-family: var(--font-sans); font-size: 1rem; font-weight: 600; letter-spacing: 0; margin-bottom: 1rem; }
.fee-notes p { display: flex; align-items: baseline; gap: 1rem; font-size: 1rem; line-height: 1.55; color: var(--color-muted); margin-bottom: .75rem; }
.fee-notes p:last-child { margin-bottom: 0; }
.note-marker { min-width: 1.5rem; color: var(--color-green); }

/* Operator's message and document status; no unavailable download controls. */
.information-section { padding-top: 0; }
.information-panel { margin: 0; padding: 2.25rem 1rem; border: 1px solid #b8ac87; }
.information-panel h2 { font-size: clamp(2rem, 3vw, 2.8rem); margin: 0; }
.operator-letter { max-width: var(--width-reading); margin-bottom: var(--space-4); }
.operator-letter h3 { margin-bottom: var(--space-2); }
.operator-letter p:last-child { margin-bottom: 0; }
.document-status { border-top: 1px solid var(--color-line); padding-top: 1.5rem; }
.small-label { display: block; font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 600; margin-bottom: .6rem; }
.document-status p { margin: 0; color: var(--color-muted); max-width: 44ch; }

/* Original crest remains unchanged on a light field in the dark footer. */
.site-footer { background: var(--color-green); color: var(--color-paper); padding-top: 2.5rem; }
.footer-main { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding-bottom: 2rem; }
.footer-brand { color: var(--color-paper); }
.footer-brand .brand-crest { background: var(--color-paper); padding: .3rem; }
.back-to-top { font-size: .95rem; color: var(--color-paper); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; border-top: 1px solid #486b50; padding-block: 1.2rem; color: #e2e7d9; font-size: .9rem; letter-spacing: .025em; }
.footer-bottom a { color: var(--color-paper); }
.legal-main { min-height: 60vh; padding-block: 6rem; }
.legal-main h1 { color: var(--color-green); font-size: clamp(3rem, 5vw, 4.5rem); margin-bottom: 2rem; }
.legal-contact { font-style: normal; font-size: 1.2rem; }

/* Same breakpoint as main.js. Full navigation is visible without JavaScript. */
@media (max-width: 1199.98px) {
  .header-inner { flex-wrap: wrap; gap: 0 1rem; min-height: 104px; padding-block: .6rem; }
  .site-nav { width: 100%; justify-content: space-between; margin-top: 1.5rem; padding-block: 1rem; border-top: 1px solid var(--color-line); }
  .nav-enhanced .site-nav:not(.is-open) { display: none; }
  .header-cta { min-height: 48px; }
}

@media (min-width: 1200px) {
  .menu-toggle { display: none; }
}

@media (max-width: 991.98px) {
  :root { --gutter: 2rem; }
  .row { --bs-gutter-x: 2rem; }
  .hero-inner { min-height: 560px; }
  h1 { font-size: 5.5rem; }
  .hero-copy { max-width: 600px; }
  .hero::before { background: linear-gradient(90deg, rgba(0, 27, 16, .85), rgba(0, 27, 16, .25)); }
  .facts-list > div { padding-inline: 1.25rem; }
  .facts-list dt { font-size: 1.3rem; }
  .facts-list dd { font-size: .7rem; }
  .club-row { --bs-gutter-y: 2rem; }
  .club-copy { max-width: 62ch; }
  .club-photo img { aspect-ratio: 1.9; }
  .information-panel { --bs-gutter-y: 1.5rem; }
}

@media (max-width: 767.98px) {
  .site-nav { align-items: stretch; flex-direction: column; gap: 1rem; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list a { min-height: 48px; border-bottom: 1px solid var(--color-line); }
  .header-cta { align-self: flex-start; }
  .legal-page .header-inner { padding-bottom: 1.5rem; gap: 2rem 1rem; }
  .legal-nav { margin-left: auto; }
  .principal-fees { gap: .8rem; }
  .principal-fees .fee-row { min-height: 165px; }
  .principal-fees .fee-amount { font-size: 1.65rem; }
}

@media (max-width: 575.98px) {
  :root { --gutter: 1.25rem; --space-section: 3.25rem; }
  .header-inner { min-height: 96px; gap: 0 .5rem; }
  .brand { gap: .4rem; }
  .brand-crest { width: 62px; height: 62px; flex-basis: 62px; }
  .brand-crest-wrap { width: 78px; height: 72px; flex-basis: 78px; }
  .site-header .brand-crest { width: 104px; height: 104px; top: 6px; left: -13px; }
  .brand-name span:first-child { font-size: .61rem; letter-spacing: .03em; }
  .brand-name span:last-child { font-size: 1rem; }
  .menu-toggle { font-size: .9rem; gap: .5rem; }
  .menu-symbol { width: 18px; }
  .hero-inner { min-height: 600px; padding-block: 3.5rem 6.5rem; }
  .hero-background { object-position: 58% center; }
  .hero::before { background: rgba(0, 27, 16, .64); }
  .eyebrow { font-size: .7rem; letter-spacing: .12em; }
  .eyebrow-line { width: 30px; }
  h1 { font-size: clamp(3.35rem, 12.5vw, 4.5rem); }
  .hero-intro { font-size: 1.15rem; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 1rem; }
  .hero .button { gap: 1rem; padding-inline: 1rem; }
  .facts-list { grid-template-columns: 1fr; padding-block: .5rem; }
  .facts-list > div, .facts-list > div:first-child { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem 0; border-right: 0; border-bottom: 1px solid var(--color-line); }
  .facts-list > div:last-child { border-bottom: 0; }
  .facts-list dt { font-size: 1.1rem; }
  .facts-list dd { max-width: 21ch; margin: 0; font-size: .63rem; line-height: 1.5; text-align: right; }
  h2 { font-size: 2.35rem; }
  .club-photo img { aspect-ratio: 1.3; }
  .fees-intro { text-align: left; }
  .fees-intro .eyebrow { justify-content: flex-start; }
  .fees-intro .eyebrow-line { display: none; }
  .fees-intro h2 { font-size: 2.25rem; }
  .principal-fees { grid-template-columns: 1fr; gap: 1rem; margin-bottom: 2rem; }
  .principal-fees .fee-row { min-height: 170px; padding: 1.5rem; gap: .5rem; }
  .principal-fees .fee-amount { font-size: 2rem; }
  .fee-list-heading { font-size: .73rem; }
  .fee-row { grid-template-columns: 1fr; gap: .65rem; padding-block: 1.35rem; }
  .fee-row dd { display: flex; align-items: baseline; flex-wrap: wrap; gap: .55rem; text-align: left; }
  .principal-fees dd { display: block; text-align: center; }
  .fee-period { font-size: .95rem; }
  .fee-notes p { gap: .5rem; }
  .information-panel { padding: .5rem .25rem 1.75rem; }
  .information-panel h2 { font-size: 2.1rem; }
  .footer-main { align-items: flex-start; flex-direction: column; gap: 1.5rem; }
  .footer-brand .brand-crest { width: 76px; height: 76px; flex-basis: 76px; }
  .footer-brand .brand-name span:first-child { font-size: .73rem; }
  .footer-brand .brand-name span:last-child { font-size: 1.15rem; }
}

@media (max-width: 359.98px) {
  .brand-name span:last-child { font-size: .91rem; }
  .brand-crest { width: 48px; height: 48px; flex-basis: 48px; }
  .brand-crest-wrap { width: 60px; flex-basis: 60px; }
  .site-header .brand-crest { width: 96px; height: 96px; top: 10px; left: -18px; }
  .brand-name span:first-child { font-size: .57rem; }
  .menu-toggle { gap: .4rem; }
  h1 { font-size: 3.1rem; }
  .hero .button { font-size: .91rem; }
  .facts-list > div { gap: .5rem; }
  .facts-list dt { font-size: 1rem; }
  .facts-list dd { font-size: .59rem; }
  .fees-intro h2 { font-size: 2.05rem; }
}

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

@media print {
  body { background: #fff; color: #000; }
  .site-container { width: 100%; }
  .site-nav, .menu-toggle, .skip-link, .hero-background, .button, .back-to-top, .hero::before { display: none !important; }
  .hero, .site-footer { background: #fff; color: #000; }
  h1, .hero .text-link, .footer-brand { color: #000; }
  .hero-inner { min-height: 0; padding-block: 1.5rem; }
  .section-space { padding-block: 1.5rem; }
  .fee-row, .fee-notes { break-inside: avoid; }
}
