/* =========================================================================
   Niblickbay — styles.css
   Sections:
   01. Reset
   02. Custom properties (palette, typography, spacing, radii, shadows)
   03. Base typography
   04. Layout primitives
   05. Buttons
   06. Header
   07. Hero — sea-haar (UNIQUE)
   08. Sections
   09. Brand cards — yardage-book pages (UNIQUE)
   10. Hole fixture cards (UNIQUE)
   11. Score multiplier tiles — −1/−2/−3/−4 (UNIQUE)
   12. Caddie's whisper pull-quote (UNIQUE)
   13. Six Hazards flow — tee-markers (UNIQUE)
   14. Three Tournaments format cards (UNIQUE)
   15. Heritage drop-cap
   16. Heritage stat call-outs (UNIQUE)
   17. Caddie-card reviews (UNIQUE)
   18. Responsibility — full hazards + commitment cards
   19. Caddie-hut contact layout (UNIQUE)
   20. Email subscription
   21. Footer + dune-horizon SVG (UNIQUE)
   22. Help links
   23. Age-verification modal
   24. Mobile menu offcanvas
   25. Yardage-leader divider (UNIQUE)
   26. Policy-content (cookies, privacy)
   27. Utilities
   28. Responsive breakpoints
   ========================================================================= */

/* 01. Reset */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; tab-size: 4; }
body { margin: 0; line-height: 1.6; }
img, picture, video, svg { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: none; padding: 0; }
a { color: inherit; text-decoration: none; }
ul, ol { padding-left: 1.25em; }
table { border-collapse: collapse; }
hr { border: none; }

/* 02. Custom properties */
:root {
    /* Palette — Coastal Links Sea-Haar */
    --color-primary:       #3B4A5E;   /* gunmetal sea-grey */
    --color-primary-deep:  #2A3645;
    --color-primary-light: #5A6A7E;
    --color-accent:        #8B2434;   /* claret jug */
    --color-accent-deep:   #6B1A26;
    --color-accent-light:  #A53A48;
    --color-background:    #ECE4D4;   /* sand-and-shell */
    --color-surface:       #FFFFFF;
    --color-surface-warm:  #F6F0E2;
    --color-text:          #1F1F1F;   /* charcoal */
    --color-text-muted:    #576275;   /* sea-grey muted */
    --color-border:        #D8CFB6;
    --color-highlight:     #D9A646;   /* gorse yellow — decorative only, 8px+ surfaces */
    --color-error:         #B22222;
    --color-success:       #2A6B3D;

    /* Typography */
    --ff-heading: 'Fraunces', 'Georgia', 'Times New Roman', serif;
    --ff-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    --fs-xs:    0.75rem;
    --fs-sm:    0.875rem;
    --fs-base:  1rem;
    --fs-md:    1.125rem;
    --fs-lg:    1.25rem;
    --fs-xl:    1.5rem;
    --fs-2xl:   1.875rem;
    --fs-3xl:   2.25rem;
    --fs-4xl:   3rem;
    --fs-5xl:   4rem;
    --fs-6xl:   5.5rem;

    --fw-regular: 400;
    --fw-medium:  500;
    --fw-semibold: 600;
    --fw-bold:    700;

    --lh-tight: 1.2;
    --lh-base:  1.6;
    --lh-loose: 1.8;

    /* Spacing */
    --sp-1:  0.25rem;
    --sp-2:  0.5rem;
    --sp-3:  0.75rem;
    --sp-4:  1rem;
    --sp-5:  1.5rem;
    --sp-6:  2rem;
    --sp-7:  3rem;
    --sp-8:  4rem;
    --sp-9:  6rem;

    /* Radii — kept very small / squared; coastal-links aesthetic does not use rounded corners */
    --radius-sm: 2px;
    --radius-md: 4px;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(31, 31, 31, 0.07);
    --shadow-md: 0 4px 12px rgba(31, 31, 31, 0.10);
    --shadow-lg: 0 8px 28px rgba(31, 31, 31, 0.14);

    /* Transitions */
    --tx-fast: 150ms ease;
    --tx-base: 250ms ease;

    /* Layout */
    --max-content: 1180px;
    --header-h:    72px;
}

/* 03. Base typography */
body {
    font-family: var(--ff-body);
    font-size: var(--fs-base);
    color: var(--color-text);
    background: var(--color-background);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--ff-heading);
    color: var(--color-primary);
    line-height: var(--lh-tight);
    margin: 0 0 var(--sp-4);
    font-weight: var(--fw-bold);
    letter-spacing: -0.005em;
}

h1 { font-size: clamp(var(--fs-3xl), 5vw, var(--fs-5xl)); font-weight: var(--fw-bold); }
h2 { font-size: clamp(var(--fs-2xl), 4vw, var(--fs-4xl)); font-weight: var(--fw-semibold); }
h3 { font-size: var(--fs-xl); font-weight: var(--fw-semibold); }
h4 { font-size: var(--fs-lg); font-weight: var(--fw-semibold); }

p { margin: 0 0 var(--sp-4); }

a {
    color: var(--color-accent);
    text-decoration: underline;
    text-decoration-color: var(--color-accent);
    text-underline-offset: 2px;
    transition: color var(--tx-fast);
}
a:hover { color: var(--color-accent-deep); }

strong { font-weight: var(--fw-bold); }

.eyebrow {
    display: block;
    font-family: var(--ff-heading);
    font-style: italic;
    font-size: var(--fs-sm);
    font-weight: var(--fw-regular);
    letter-spacing: 0.10em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: var(--sp-2);
}
/* On gunmetal sections, eyebrow becomes sand-tinged because claret on gunmetal fails WCAG */
.section--gunmetal .eyebrow,
.hero .eyebrow,
.pull-quote .eyebrow,
.responsible-play .eyebrow {
    color: var(--color-background);
    opacity: 0.85;
}

.text-center { text-align: center; }
.text-muted { color: var(--color-text-muted); }

/* 04. Layout primitives */
.container {
    width: 100%;
    max-width: var(--max-content);
    margin: 0 auto;
    padding: 0 var(--sp-5);
}

.site-main { display: block; }

.section {
    padding: var(--sp-8) 0;
}
.section--surface { background: var(--color-surface-warm); }
.section--surface-cream { background: var(--color-background); }
.section--white { background: var(--color-surface); }
.section--gunmetal {
    background: var(--color-primary);
    color: var(--color-background);
}
.section--gunmetal h2,
.section--gunmetal h3,
.section--gunmetal h4 { color: var(--color-background); }
.section--gunmetal p { color: var(--color-background); }

.section--gunmetal-deep {
    background: var(--color-primary-deep);
    color: var(--color-background);
}
.section--gunmetal-deep h2,
.section--gunmetal-deep h3,
.section--gunmetal-deep h4,
.section--gunmetal-deep p { color: var(--color-background); }

.no-scroll { overflow: hidden; }

/* 05. Buttons */
.btn {
    display: inline-block;
    padding: var(--sp-3) var(--sp-5);
    font-family: var(--ff-body);
    font-size: var(--fs-base);
    font-weight: var(--fw-semibold);
    text-decoration: none;
    border-radius: var(--radius-sm);
    border: 2px solid transparent;
    transition: background var(--tx-fast), color var(--tx-fast), border-color var(--tx-fast);
    text-align: center;
    letter-spacing: 0.02em;
}

/* Primary CTA — claret on sand, the most common pattern */
.btn--accent {
    background: var(--color-accent);
    color: var(--color-background);
    border-color: var(--color-accent);
}
.btn--accent:hover {
    background: var(--color-accent-deep);
    border-color: var(--color-accent-deep);
    color: var(--color-background);
}

/* CTA on gunmetal sections — sand-bg with charcoal text + claret border */
.btn--sand {
    background: var(--color-background);
    color: var(--color-text);
    border-color: var(--color-accent);
}
.btn--sand:hover {
    background: var(--color-accent);
    color: var(--color-background);
    border-color: var(--color-accent);
}

/* Ghost button on gunmetal — used on age-modal "Leave the site" */
.btn--ghost {
    background: transparent;
    color: var(--color-background);
    border-color: var(--color-accent);
}
.btn--ghost:hover {
    background: var(--color-accent);
    color: var(--color-background);
}

/* Primary gunmetal button — used as alt CTA */
.btn--primary {
    background: var(--color-primary);
    color: var(--color-background);
    border-color: var(--color-primary);
}
.btn--primary:hover {
    background: var(--color-primary-deep);
    border-color: var(--color-primary-deep);
    color: var(--color-background);
}

/* 06. Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--color-primary);
    border-bottom: 3px solid var(--color-accent);
    transition: box-shadow var(--tx-base);
}
.site-header--scrolled { box-shadow: var(--shadow-md); }
.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: var(--header-h);
}

.header-brand {
    display: flex;
    align-items: center;
    gap: var(--sp-3);
}
.header-brand__logo { height: 36px; width: auto; }
.header-brand__separator {
    width: 1px;
    height: 28px;
    background: var(--color-accent);
    opacity: 0.5;
}
.header-brand__18plus { width: 36px; height: 36px; }

.header-nav__list {
    display: flex;
    gap: var(--sp-5);
    list-style: none;
    margin: 0;
    padding: 0;
}
.header-nav__link {
    color: var(--color-background);
    text-decoration: none;
    font-family: var(--ff-heading);
    font-weight: var(--fw-semibold);
    font-size: var(--fs-md);
    letter-spacing: 0.01em;
    padding: var(--sp-2) 0;
    border-bottom: 2px solid transparent;
    transition: border-color var(--tx-fast), color var(--tx-fast);
}
.header-nav__link:hover {
    border-bottom-color: var(--color-accent);
    color: var(--color-background);
}

.menu-toggle {
    display: none;
    width: 36px;
    height: 36px;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
}
.menu-toggle__bar {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--color-accent);
}

/* 07. Hero — sea-haar */
.hero {
    position: relative;
    background-size: cover;
    background-position: center;
    background-color: var(--color-primary);
    padding: var(--sp-9) 0;
    overflow: hidden;
}
/* Gunmetal overlay — primary tint over the photo */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
        rgba(59, 74, 94, 0.78) 0%,
        rgba(42, 54, 69, 0.85) 100%);
}
/* Sea-haar veil — sand-buff mist that fades down */
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
        rgba(236, 228, 212, 0.30) 0%,
        rgba(236, 228, 212, 0.08) 40%,
        transparent 70%);
    pointer-events: none;
}
.hero .container {
    position: relative;
    z-index: 2;
}
.hero__card {
    max-width: 760px;
    margin: 0 auto;
    background: rgba(236, 228, 212, 0.94);
    border: 1px solid var(--color-accent);
    padding: var(--sp-7) var(--sp-6);
    text-align: center;
    box-shadow: var(--shadow-lg);
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
}
.hero__card h1 {
    color: var(--color-primary);
    margin-bottom: var(--sp-4);
}
.hero__card .hero__rule {
    width: 80px;
    height: 2px;
    background: var(--color-accent);
    margin: var(--sp-4) auto;
    border: none;
}
.hero__card p {
    color: var(--color-text-muted);
    font-size: var(--fs-md);
    max-width: 580px;
    margin-left: auto;
    margin-right: auto;
}
.hero__cta {
    margin-top: var(--sp-5);
}

/* Yardage-card stats strip — 4 mini tiles below hero card */
.hero-stats {
    margin-top: var(--sp-6);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--sp-3);
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 2;
}
.hero-stats__tile {
    background: var(--color-background);
    border-top: 3px solid var(--color-accent);
    padding: var(--sp-4) var(--sp-3);
    text-align: center;
}
.hero-stats__label {
    font-family: var(--ff-body);
    font-size: var(--fs-xs);
    font-weight: var(--fw-bold);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: var(--sp-2);
}
.hero-stats__value {
    font-family: var(--ff-heading);
    font-size: var(--fs-xl);
    font-weight: var(--fw-bold);
    color: var(--color-text);
    line-height: 1;
}

/* 09. Brand cards — yardage-book pages */
.brand-cards {
    padding: var(--sp-8) 0;
    background: var(--color-surface-warm);
}
.brand-cards__heading {
    text-align: center;
    margin-bottom: var(--sp-6);
}
.brand-cards__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--sp-4);
}
.brand-card {
    background: var(--color-background);
    border: 1px solid var(--color-border);
    padding: 0;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform var(--tx-base), box-shadow var(--tx-base);
}
.brand-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: var(--color-accent);
}
.brand-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}
.brand-card__contour {
    width: 100%;
    height: 56px;
    padding: var(--sp-3);
    background: var(--color-surface-warm);
    border-bottom: 1px solid var(--color-border);
}
.brand-card__contour svg {
    width: 100%;
    height: 100%;
}
.brand-card__contour svg path,
.brand-card__contour svg circle {
    fill: none;
    stroke: var(--color-accent);
    stroke-width: 1;
}
.brand-card__body {
    padding: var(--sp-5) var(--sp-4) var(--sp-4);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--sp-3);
    flex: 1;
}
.brand-card__logo-area {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 100px;
}
.brand-card__logo {
    max-width: 180px;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
}
.brand-card__license {
    font-size: var(--fs-xs);
    color: var(--color-text-muted);
    line-height: var(--lh-base);
}
.brand-card__cta {
    color: var(--color-accent);
    font-family: var(--ff-body);
    font-weight: var(--fw-semibold);
    text-decoration: none;
    border-bottom: 2px solid var(--color-accent);
    padding-bottom: 2px;
    margin-top: auto;
    transition: color var(--tx-fast);
}
.brand-card__cta:hover {
    color: var(--color-accent-deep);
    border-bottom-color: var(--color-accent-deep);
}

/* 10. Hole fixture cards */
.holes {
    padding: var(--sp-8) 0;
}
.holes__heading {
    text-align: center;
    margin-bottom: var(--sp-6);
}
.holes__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--sp-5);
}
.hole-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-top: 2px solid var(--color-accent);
    padding: var(--sp-5);
    box-shadow: var(--shadow-sm);
    transition: transform var(--tx-base), box-shadow var(--tx-base);
    display: flex;
    flex-direction: column;
}
.hole-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}
.hole-card__number {
    font-family: var(--ff-heading);
    font-style: italic;
    font-size: var(--fs-sm);
    font-weight: var(--fw-regular);
    color: var(--color-accent);
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin-bottom: var(--sp-3);
}
.hole-card__name {
    font-family: var(--ff-heading);
    font-size: var(--fs-xl);
    font-weight: var(--fw-semibold);
    color: var(--color-primary);
    margin-bottom: var(--sp-3);
    line-height: var(--lh-tight);
}
.hole-card__date,
.hole-card__venue {
    font-family: var(--ff-body);
    font-size: var(--fs-sm);
    color: var(--color-text-muted);
    margin-bottom: var(--sp-1);
}
.hole-card__broadcaster {
    font-family: var(--ff-body);
    font-style: italic;
    font-size: var(--fs-sm);
    color: var(--color-text-muted);
    margin-top: auto;
    padding-top: var(--sp-3);
    border-top: 1px dashed var(--color-border);
}

/* 11. Score multiplier tiles */
.multipliers {
    background: var(--color-surface-warm);
    padding: var(--sp-8) 0;
}
.multipliers__heading {
    text-align: center;
    margin-bottom: var(--sp-6);
}
.multipliers__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--sp-4);
}
.multiplier {
    background: var(--color-background);
    border-top: 4px solid var(--color-accent);
    padding: var(--sp-5);
    text-align: center;
    box-shadow: var(--shadow-sm);
}
.multiplier__number {
    font-family: var(--ff-heading);
    font-size: var(--fs-6xl);
    font-weight: var(--fw-bold);
    color: var(--color-accent);
    line-height: 1;
    margin-bottom: var(--sp-3);
    letter-spacing: -0.02em;
}
.multiplier__title {
    font-family: var(--ff-heading);
    font-style: italic;
    font-size: var(--fs-sm);
    text-transform: uppercase;
    letter-spacing: 0.10em;
    color: var(--color-text-muted);
    margin-bottom: var(--sp-2);
}
.multiplier__copy {
    font-family: var(--ff-body);
    font-size: var(--fs-sm);
    color: var(--color-text);
    line-height: var(--lh-base);
}

/* 12. Caddie's whisper pull-quote */
.pull-quote {
    padding: var(--sp-8) 0;
    background: var(--color-primary-deep);
    color: var(--color-background);
}
.pull-quote__inner {
    max-width: 760px;
    margin: 0 auto;
    border: 1px solid var(--color-accent);
    padding: var(--sp-7) var(--sp-6);
    position: relative;
    text-align: center;
}
.pull-quote__inner::before {
    content: '▶';
    position: absolute;
    top: var(--sp-3);
    left: var(--sp-4);
    font-size: var(--fs-xl);
    color: var(--color-accent);
    line-height: 1;
}
.pull-quote__text {
    font-family: var(--ff-heading);
    font-style: italic;
    font-size: var(--fs-2xl);
    font-weight: var(--fw-regular);
    line-height: var(--lh-tight);
    color: var(--color-background);
    margin: 0 0 var(--sp-5);
}
.pull-quote__cite {
    display: block;
    font-family: var(--ff-heading);
    font-style: italic;
    font-size: var(--fs-sm);
    letter-spacing: 0.10em;
    text-transform: uppercase;
    color: var(--color-background);
    opacity: 0.75;
}

/* 13. Six Hazards flow */
.hazards-flow {
    padding: var(--sp-8) 0;
}
.hazards-flow__heading {
    text-align: center;
    margin-bottom: var(--sp-6);
}
.hazards-flow__row {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: var(--sp-3);
    position: relative;
    margin-top: var(--sp-6);
}
/* Horizontal claret connector line */
.hazards-flow__row::before {
    content: '';
    position: absolute;
    top: 30px;
    left: 8%;
    right: 8%;
    height: 1px;
    background: var(--color-accent);
    z-index: 0;
}
.hazards-flow__step {
    text-align: center;
    position: relative;
    z-index: 1;
}
.hazards-flow__badge {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--color-primary);
    color: var(--color-background);
    margin: 0 auto var(--sp-3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--ff-heading);
    font-weight: var(--fw-bold);
    font-size: var(--fs-xl);
    border: 2px solid var(--color-accent);
}
.hazards-flow__name {
    font-family: var(--ff-heading);
    font-weight: var(--fw-semibold);
    font-size: var(--fs-md);
    color: var(--color-primary);
    margin-bottom: var(--sp-2);
}
.hazards-flow__copy {
    font-family: var(--ff-body);
    font-size: var(--fs-sm);
    color: var(--color-text-muted);
    line-height: var(--lh-base);
}
/* Mini-rail variant for the homepage teaser */
.hazards-flow--mini .hazards-flow__row {
    margin-top: var(--sp-4);
}
.hazards-flow--mini .hazards-flow__badge {
    width: 48px;
    height: 48px;
    font-size: var(--fs-md);
}
.hazards-flow--mini .hazards-flow__name {
    font-size: var(--fs-sm);
}
.hazards-flow--mini .hazards-flow__copy {
    display: none;
}

/* 14. Three Tournaments format cards */
.tournaments {
    padding: var(--sp-8) 0;
}
.tournaments__heading {
    text-align: center;
    margin-bottom: var(--sp-6);
}
.tournaments__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--sp-5);
}
.tournament-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.tournament-card__band {
    height: 8px;
}
.tournament-card--open    .tournament-card__band { background: var(--color-primary); }
.tournament-card--senior  .tournament-card__band { background: var(--color-accent); }
.tournament-card--womens  .tournament-card__band { background: var(--color-highlight); }

.tournament-card__body { padding: var(--sp-5); }
.tournament-card__title {
    font-family: var(--ff-heading);
    font-weight: var(--fw-bold);
    font-size: var(--fs-2xl);
    color: var(--color-primary);
    margin-bottom: var(--sp-2);
    line-height: var(--lh-tight);
}
.tournament-card__tagline {
    font-family: var(--ff-heading);
    font-style: italic;
    font-size: var(--fs-sm);
    color: var(--color-text-muted);
    margin-bottom: var(--sp-4);
    padding-bottom: var(--sp-3);
    border-bottom: 1px solid var(--color-border);
}
.tournament-card__row {
    display: flex;
    flex-direction: column;
    gap: var(--sp-1);
    padding: var(--sp-2) 0;
}
.tournament-card__label {
    font-family: var(--ff-body);
    font-weight: var(--fw-bold);
    font-size: var(--fs-xs);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--color-accent);
}
.tournament-card__value {
    font-family: var(--ff-body);
    font-size: var(--fs-sm);
    color: var(--color-text);
}

/* 15. Heritage drop-cap */
.heritage {
    padding: var(--sp-8) 0;
    background: var(--color-surface-warm);
}
.heritage__heading {
    text-align: center;
    margin-bottom: var(--sp-6);
}
.heritage-content {
    max-width: 880px;
    margin: 0 auto var(--sp-7);
    column-count: 2;
    column-gap: var(--sp-7);
}
.heritage-content p { break-inside: avoid-column; margin-bottom: var(--sp-4); }
.drop-cap p:first-of-type::first-letter {
    font-family: var(--ff-heading);
    font-style: italic;
    float: left;
    font-size: 5em;
    line-height: 0.85;
    margin: 0.05em 0.12em 0 0;
    color: var(--color-accent);
    font-weight: var(--fw-bold);
}
.drop-cap p { font-size: var(--fs-md); line-height: var(--lh-loose); }
@media (max-width: 767px) {
    .heritage-content { column-count: 1; }
}

/* 16. Heritage stat call-outs */
.heritage-stats {
    display: grid;
    gap: var(--sp-4);
    max-width: 880px;
    margin: 0 auto;
}
.heritage-stat {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: var(--sp-6);
    align-items: center;
    background: var(--color-background);
    border: 1px solid var(--color-accent);
    padding: var(--sp-5);
}
.heritage-stat__number {
    font-family: var(--ff-heading);
    font-size: var(--fs-5xl);
    font-weight: var(--fw-bold);
    color: var(--color-accent);
    text-align: center;
    line-height: 1;
}
.heritage-stat__copy {
    font-family: var(--ff-body);
    font-size: var(--fs-md);
    color: var(--color-text);
    line-height: var(--lh-base);
}
.heritage-stat__copy strong {
    color: var(--color-primary);
}

/* 17. Caddie-card reviews */
.reviews {
    padding: var(--sp-8) 0;
    background: var(--color-primary);
    color: var(--color-background);
}
.reviews__heading {
    text-align: center;
    color: var(--color-background);
    margin-bottom: var(--sp-6);
}
.reviews__stack {
    display: flex;
    flex-direction: column;
    gap: var(--sp-5);
    max-width: 920px;
    margin: 0 auto;
}
.review-card {
    background: var(--color-surface);
    border-top: 3px solid var(--color-accent);
    padding: var(--sp-5);
    position: relative;
    box-shadow: var(--shadow-md);
}
.review-card:nth-child(1) { width: 80%; align-self: flex-start; }
.review-card:nth-child(2) { width: 60%; align-self: flex-end; }
.review-card:nth-child(3) { width: 80%; align-self: flex-start; }

.review-card__signature {
    display: block;
    font-family: var(--ff-body);
    font-weight: var(--fw-bold);
    font-size: var(--fs-xs);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--color-accent);
    margin-bottom: var(--sp-3);
}
.review-card__text {
    font-family: var(--ff-heading);
    font-style: italic;
    font-size: var(--fs-md);
    line-height: var(--lh-base);
    color: var(--color-text);
}
.review-card__pin {
    position: absolute;
    bottom: var(--sp-4);
    right: var(--sp-4);
    font-size: var(--fs-2xl);
    color: var(--color-accent);
    opacity: 0.25;
}

/* 18. Responsibility — commitment cards (gunmetal section, sand-on-gunmetal cards) */
.responsible-play {
    padding: var(--sp-8) 0;
    background: var(--color-primary);
    color: var(--color-background);
}
.responsible-play__grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: var(--sp-7);
    align-items: start;
}
.responsible-play__left h2 { color: var(--color-background); margin-bottom: var(--sp-4); }
.responsible-play__left p {
    color: var(--color-background);
    font-size: var(--fs-md);
    opacity: 0.9;
}
.responsible-play__right {
    display: grid;
    gap: var(--sp-4);
}
.responsible-play__card {
    background: rgba(236, 228, 212, 0.06);
    border: 1px solid var(--color-accent);
    padding: var(--sp-4);
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: var(--sp-4);
    align-items: start;
}
.responsible-play__badge {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--color-accent);
    color: var(--color-background);
    font-family: var(--ff-heading);
    font-weight: var(--fw-bold);
    font-size: var(--fs-xl);
    display: flex;
    align-items: center;
    justify-content: center;
}
.responsible-play__card h3 {
    color: var(--color-background);
    font-size: var(--fs-md);
    margin-bottom: var(--sp-2);
}
.responsible-play__card p {
    color: var(--color-background);
    font-size: var(--fs-sm);
    margin: 0;
    opacity: 0.9;
}

/* Warning text — drop-cap on first paragraph, sand-buff section */
.warning-text {
    padding: var(--sp-8) 0;
    background: var(--color-surface-warm);
}
.warning-text__inner {
    max-width: 720px;
    margin: 0 auto;
}

/* 19. Caddie-hut contact */
.contact-section {
    padding: var(--sp-8) 0;
    background: var(--color-background);
}
.contact-grid {
    display: grid;
    grid-template-columns: 40% 60%;
    gap: var(--sp-7);
    align-items: start;
}
.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--sp-4);
}
.contact-info__card {
    background: var(--color-surface);
    border-top: 3px solid var(--color-accent);
    box-shadow: var(--shadow-sm);
    padding: var(--sp-5);
}
.contact-info__icon {
    font-size: var(--fs-3xl);
    color: var(--color-accent);
    line-height: 1;
    margin-bottom: var(--sp-3);
}
.contact-info__card h3 {
    font-family: var(--ff-heading);
    font-weight: var(--fw-semibold);
    font-size: var(--fs-lg);
    color: var(--color-primary);
    margin-bottom: var(--sp-2);
}
.contact-info__card p {
    font-size: var(--fs-sm);
    color: var(--color-text);
    margin: 0;
}
.contact-info__card a {
    color: var(--color-accent);
    text-decoration: none;
    border-bottom: 1px solid var(--color-accent);
}
.contact-info__card a:hover { color: var(--color-accent-deep); border-bottom-color: var(--color-accent-deep); }

.contact-form-card {
    background: var(--color-surface-warm);
    border-top: 3px solid var(--color-accent);
    padding: var(--sp-7) var(--sp-6);
    box-shadow: var(--shadow-sm);
    transition: border-top-color var(--tx-fast);
}
.contact-form-card:focus-within { border-top-color: var(--color-primary); }

.contact-form__field {
    margin-bottom: var(--sp-4);
    position: relative;
}
.contact-form__field label {
    display: block;
    font-family: var(--ff-body);
    font-weight: var(--fw-semibold);
    font-size: var(--fs-xs);
    letter-spacing: 0.10em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin-bottom: var(--sp-1);
}
.contact-form__field input,
.contact-form__field select,
.contact-form__field textarea {
    width: 100%;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    color: var(--color-text);
    padding: var(--sp-3);
    font-size: var(--fs-base);
    font-family: var(--ff-body);
    transition: border-color var(--tx-fast);
}
.contact-form__field input:focus,
.contact-form__field select:focus,
.contact-form__field textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    border-width: 2px;
    padding: calc(var(--sp-3) - 1px);
}
.contact-form__field textarea {
    min-height: 140px;
    resize: vertical;
}
.contact-form__error {
    display: none;
    color: var(--color-error);
    font-size: var(--fs-xs);
    margin-top: var(--sp-1);
}
.contact-form__field--error .contact-form__error { display: block; }
.contact-form__field--error input,
.contact-form__field--error select,
.contact-form__field--error textarea { border-color: var(--color-error); }

.contact-form__submit {
    margin-top: var(--sp-3);
}
.contact-form__status {
    margin-top: var(--sp-4);
    padding: var(--sp-3);
    font-size: var(--fs-sm);
    display: none;
}
.contact-form__status--success {
    display: block;
    background: rgba(42, 107, 61, 0.1);
    border: 1px solid var(--color-success);
    color: var(--color-success);
}
.contact-form__status--error {
    display: block;
    background: rgba(178, 34, 34, 0.1);
    border: 1px solid var(--color-error);
    color: var(--color-error);
}

/* 20. Email subscription */
.email-subscription {
    background: var(--color-surface-warm);
    padding: var(--sp-7) 0;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    text-align: center;
}
.email-subscription h2 {
    font-size: var(--fs-2xl);
    margin-bottom: var(--sp-4);
}
.email-subscription__form {
    max-width: 580px;
    margin: 0 auto;
    display: flex;
    gap: var(--sp-2);
}
.email-subscription__input {
    flex: 1;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    color: var(--color-text);
    padding: var(--sp-3) var(--sp-4);
    font-family: var(--ff-body);
    font-size: var(--fs-base);
    transition: border-color var(--tx-fast);
}
.email-subscription__input:focus {
    outline: none;
    border-color: var(--color-accent);
}
.email-sub__status {
    margin-top: var(--sp-3);
    font-size: var(--fs-sm);
}
.email-sub__status--success { color: var(--color-success); }
.email-sub__status--error   { color: var(--color-error); }

/* 21. Footer */
.site-footer {
    background: var(--color-primary-deep);
    color: var(--color-background);
    position: relative;
    padding: 0 0 var(--sp-6);
}
.site-footer__horizon {
    display: block;
    width: 100%;
    height: 36px;
    fill: var(--color-surface-warm);
}
.site-footer .container {
    padding-top: var(--sp-7);
}
.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--sp-4);
    margin-bottom: var(--sp-5);
}
.footer-logo { height: 36px; width: auto; }
.footer-nav {
    display: flex;
    gap: var(--sp-5);
}
.footer-nav__link {
    color: var(--color-background);
    text-decoration: none;
    font-family: var(--ff-heading);
    font-weight: var(--fw-medium);
    font-size: var(--fs-md);
    border-bottom: 2px solid transparent;
    transition: border-color var(--tx-fast);
}
.footer-nav__link:hover {
    border-bottom-color: var(--color-accent);
    color: var(--color-background);
}
.footer-description {
    color: var(--color-background);
    font-size: var(--fs-sm);
    line-height: var(--lh-loose);
    max-width: 720px;
    opacity: 0.9;
}
.footer-hairline {
    height: 1px;
    background: rgba(236, 228, 212, 0.2);
    margin: var(--sp-5) 0;
    border: none;
}
.footer-regulators {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--sp-5);
    align-items: center;
}
.footer-regulators img {
    max-height: 40px;
    width: auto;
    opacity: 0.85;
    transition: opacity var(--tx-fast);
}
.footer-regulators a:hover img { opacity: 1; }
.footer-bottom {
    text-align: center;
    color: var(--color-background);
    opacity: 0.75;
    font-size: var(--fs-xs);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-top: var(--sp-5);
}

/* 22. Help links */
.help-links {
    list-style: none;
    padding: 0;
    margin: var(--sp-5) 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: var(--sp-4) var(--sp-5);
    justify-content: center;
}
.help-links li {
    position: relative;
    padding-left: 0;
}
.help-links li::before {
    content: '▶';
    color: var(--color-accent);
    margin-right: var(--sp-2);
    font-size: 0.85em;
}
.help-links a {
    color: var(--color-accent);
    text-decoration: none;
    font-weight: var(--fw-semibold);
    border-bottom: 1px solid var(--color-accent);
    padding-bottom: 1px;
}
.section--gunmetal .help-links a,
.responsible-play .help-links a {
    color: var(--color-background);
    border-bottom-color: var(--color-accent);
}
.help-links a:hover {
    border-bottom-color: var(--color-accent-deep);
}

/* 23. Age-verification modal */
.age-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(42, 54, 69, 0.92);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--sp-5);
}
.age-modal-overlay.hidden { display: none; }
.age-modal {
    background: var(--color-surface-warm);
    border: 2px solid var(--color-accent);
    max-width: 480px;
    width: 100%;
    padding: var(--sp-7) var(--sp-6);
    text-align: center;
    box-shadow: var(--shadow-lg);
}
.age-modal__badge {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--color-accent);
    color: var(--color-background);
    font-family: var(--ff-heading);
    font-weight: var(--fw-bold);
    font-size: var(--fs-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--sp-4);
}
.age-modal h2 {
    font-size: var(--fs-2xl);
    color: var(--color-primary);
    margin-bottom: var(--sp-3);
}
.age-modal p {
    color: var(--color-text-muted);
    font-size: var(--fs-sm);
    margin-bottom: var(--sp-5);
}
.age-modal__fields {
    display: grid;
    grid-template-columns: 1fr 1fr 1.4fr;
    gap: var(--sp-3);
    margin-bottom: var(--sp-4);
}
.age-modal__field label {
    display: block;
    font-size: var(--fs-xs);
    font-weight: var(--fw-bold);
    letter-spacing: 0.10em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin-bottom: var(--sp-1);
}
.age-modal__field input {
    width: 100%;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    padding: var(--sp-3);
    font-size: var(--fs-md);
    font-family: var(--ff-body);
    text-align: center;
    color: var(--color-text);
}
.age-modal__field input:focus {
    outline: none;
    border-color: var(--color-accent);
    border-width: 2px;
    padding: calc(var(--sp-3) - 1px);
}
.age-modal__checkbox {
    display: flex;
    align-items: center;
    gap: var(--sp-2);
    margin-bottom: var(--sp-5);
    font-size: var(--fs-sm);
    color: var(--color-text);
    text-align: left;
    justify-content: center;
}
.age-modal__submit {
    width: 100%;
    background: var(--color-accent);
    color: var(--color-background);
    border: none;
    padding: var(--sp-3) var(--sp-5);
    font-family: var(--ff-body);
    font-weight: var(--fw-bold);
    font-size: var(--fs-base);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background var(--tx-fast);
}
.age-modal__submit:hover {
    background: var(--color-accent-deep);
}
.age-modal__error {
    display: none;
    margin-top: var(--sp-3);
    color: var(--color-error);
    font-size: var(--fs-sm);
}
.age-modal__error.is-active { display: block; }

/* 24. Mobile menu offcanvas */
.offcanvas {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 75%;
    max-width: 400px;
    background: var(--color-primary-deep);
    transform: translateX(100%);
    transition: transform var(--tx-base);
    z-index: 999;
    padding: var(--sp-6) var(--sp-5);
    overflow-y: auto;
}
.offcanvas.is-active { transform: translateX(0); }
.offcanvas-overlay {
    position: fixed;
    inset: 0;
    background: rgba(42, 54, 69, 0.5);
    z-index: 998;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--tx-base);
}
.offcanvas-overlay.is-active {
    opacity: 1;
    pointer-events: auto;
}
.offcanvas__close {
    position: absolute;
    top: var(--sp-3);
    right: var(--sp-4);
    color: var(--color-background);
    font-size: var(--fs-3xl);
    line-height: 1;
}
.offcanvas__nav {
    display: flex;
    flex-direction: column;
    gap: var(--sp-4);
    margin-top: var(--sp-7);
}
.offcanvas__link {
    color: var(--color-background);
    font-family: var(--ff-heading);
    font-size: var(--fs-xl);
    font-weight: var(--fw-semibold);
    text-decoration: none;
    border-bottom: 1px solid rgba(236, 228, 212, 0.15);
    padding-bottom: var(--sp-3);
    transition: color var(--tx-fast);
}
.offcanvas__link:hover { color: var(--color-background); border-bottom-color: var(--color-accent); }

/* 25. Yardage-leader divider */
.yardage-leader {
    display: flex;
    align-items: center;
    gap: var(--sp-5);
    margin: var(--sp-8) auto;
    max-width: 720px;
    padding: 0 var(--sp-5);
}
.yardage-leader__line {
    flex: 1;
    height: 1px;
    background-image: linear-gradient(90deg, var(--color-accent) 50%, transparent 50%);
    background-size: 6px 1px;
    background-repeat: repeat-x;
    background-position: center;
}
.yardage-leader__caption {
    font-family: var(--ff-heading);
    font-style: italic;
    font-size: var(--fs-sm);
    color: var(--color-text-muted);
    letter-spacing: 0.05em;
    white-space: nowrap;
}
.section--gunmetal .yardage-leader__line,
.section--gunmetal-deep .yardage-leader__line {
    background-image: linear-gradient(90deg, var(--color-accent) 50%, transparent 50%);
}
.section--gunmetal .yardage-leader__caption,
.section--gunmetal-deep .yardage-leader__caption {
    color: var(--color-background);
    opacity: 0.75;
}

/* 26. Policy-content */
.policy-content {
    padding: var(--sp-8) 0;
    background: var(--color-background);
}
.policy-content .container {
    max-width: 880px;
}
.policy-content h1 {
    margin-bottom: var(--sp-5);
    color: var(--color-primary);
}
.policy-content h2 {
    margin-top: var(--sp-7);
    margin-bottom: var(--sp-4);
    color: var(--color-primary);
    position: relative;
    padding-bottom: var(--sp-2);
}
.policy-content h2::after {
    content: '';
    display: block;
    width: 30px;
    height: 3px;
    background: var(--color-accent);
    margin-top: var(--sp-2);
}
.policy-content p {
    font-size: var(--fs-md);
    line-height: var(--lh-loose);
    color: var(--color-text);
}
.policy-content p:first-of-type::first-letter {
    font-family: var(--ff-heading);
    font-style: italic;
    font-weight: var(--fw-bold);
    font-size: 5em;
    color: var(--color-accent);
    float: left;
    line-height: 0.85;
    margin: 0.05em 0.12em 0 0;
}
.policy-content ul {
    list-style: none;
    padding: 0;
    margin: var(--sp-4) 0;
}
.policy-content ul li {
    padding-left: var(--sp-4);
    position: relative;
    margin-bottom: var(--sp-2);
    font-size: var(--fs-md);
    line-height: var(--lh-loose);
}
.policy-content ul li::before {
    content: '▶';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--color-accent);
    font-size: 0.85em;
}
.policy-content a {
    color: var(--color-accent);
    text-decoration: underline;
    text-underline-offset: 2px;
}
.policy-content a:hover { color: var(--color-accent-deep); }

/* 27. Utilities */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.text-accent { color: var(--color-accent); }
.text-primary { color: var(--color-primary); }
.text-sand { color: var(--color-background); }

/* 28. Responsive breakpoints */
@media (max-width: 1199px) {
    .brand-cards__grid { grid-template-columns: repeat(2, 1fr); }
    .holes__grid { grid-template-columns: repeat(2, 1fr); }
    .multipliers__grid { grid-template-columns: repeat(2, 1fr); }
    .tournaments__grid { grid-template-columns: 1fr; }
    .hazards-flow__row { grid-template-columns: repeat(3, 1fr); row-gap: var(--sp-5); }
    .hazards-flow__row::before { display: none; }
}

@media (max-width: 767px) {
    :root { --header-h: 60px; }

    .header-nav { display: none; }
    .menu-toggle { display: flex; }

    .hero { padding: var(--sp-7) 0; }
    .hero__card { padding: var(--sp-5) var(--sp-4); }
    .hero-stats { grid-template-columns: 1fr 1fr; gap: var(--sp-2); }

    .brand-cards__grid { grid-template-columns: 1fr; }
    .holes__grid { grid-template-columns: 1fr; }
    .multipliers__grid { grid-template-columns: 1fr; }

    .hazards-flow__row { grid-template-columns: 1fr; gap: var(--sp-5); }

    .heritage-stat {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .review-card,
    .review-card:nth-child(1),
    .review-card:nth-child(2),
    .review-card:nth-child(3) { width: 100%; }

    .responsible-play__grid { grid-template-columns: 1fr; }

    .contact-grid { grid-template-columns: 1fr; }

    .email-subscription__form { flex-direction: column; }

    .footer-top { flex-direction: column; align-items: center; text-align: center; }

    .pull-quote__inner { padding: var(--sp-5) var(--sp-4); }
    .pull-quote__text { font-size: var(--fs-xl); }
}

@media (max-width: 480px) {
    .hero-stats { grid-template-columns: 1fr; }
    .age-modal__fields { grid-template-columns: 1fr; }
}
