/* ============================================================
   Golfclub Dreibäumen e.V. — Design System
   "Heritage Modern": forest green, warm white and a restrained
   gold accent, with Cormorant Garamond for editorial headlines
   and Manrope for everything else (nav, buttons, body, cards).
   Elegant, natural, premium — welcoming, not exclusive.
   ============================================================ */

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

:root {
  /* Heritage Modern palette */
  --forest: #153B32;
  --deep-forest: #0E2B25;
  --gold: #B69A62;
  --warm-white: #F7F6F1;
  --sage-grey: #E9ECE8;
  --sage-green: #6F806C;
  --text: #202A25;
  --white: #FFFFFF;
  --border: #DDE2DA;
  --muted: #66716A;

  --success: #2F7654;
  --warning: #B7791F;
  --error: #B54747;

  /* legacy aliases kept so the existing markup needs no class renames */
  --paper: var(--warm-white);
  --paper-deep: var(--sage-grey);
  --paper-shadow: #dfe4da;
  --maroon: var(--forest);
  --maroon-deep: var(--deep-forest);
  --maroon-bright: #1c4a3f;
  --olive: var(--sage-green);
  --olive-dark: #4d5a4a;
  --gold-olive: var(--gold);
  --ink: var(--text);
  --ink-soft: rgba(32,42,37,0.72);
  --ink-faint: rgba(32,42,37,0.52);

  --border-line: var(--border);
  --border-bright: #c7cfc3;

  /* glass-over-photo tokens (2026-11-08 homepage redesign) */
  --glass-light: rgba(250,248,242,.74);
  --glass-dark: rgba(14,43,37,.42);
  --glass-border: rgba(255,255,255,.35);
  --glass-radius: 22px;
  --glass-shadow: 0 20px 60px rgba(8,24,18,.28);

  --font-logo: 'Cormorant Garamond', Georgia, serif;
  --font-display: 'Manrope', sans-serif;
  --font-sans: 'Manrope', sans-serif;
  --font-body: 'Manrope', sans-serif;

  --page-gutter: clamp(20px, 4vw, 72px);

  --radius-lg: 14px;
  --radius-md: 10px;
  --radius-sm: 6px;

  --ease: cubic-bezier(.22,.8,.25,1);
}

* { box-sizing: border-box; }
/* overflow-x here (not on body) so body never becomes its own scroll container —
   that would break position:sticky scenes, which stick to the real viewport. */
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.02rem;
  background: var(--warm-white);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }

.container {
  width: calc(100% - 2 * var(--page-gutter));
  margin-inline: auto;
}

/* ---------- Page backdrop: plain warm white, no texture ---------- */
.bg-field {
  position: fixed;
  inset: 0;
  z-index: -2;
  background: var(--warm-white);
}
.bg-field::after, .bg-field::before { content: none; }

/* ---------- Old Greek-key strip marker: no longer used with the floating nav ---------- */
.meander { display: none; }

/* ---------- Botanical divider (inline SVG, forest/gold) ---------- */
.olive-divider { display: flex; justify-content: center; gap: 34px; margin: 10px 0; opacity: .85; }
.olive-divider svg { width: 48px; height: 26px; }

/* ---------- Eyebrow / labels ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  font-size: 12.5px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--sage-green); font-weight: 700;
}
.eyebrow::before { content: ''; width: 30px; height: 1px; background: var(--gold); }

h1, h2, h3 { font-family: var(--font-display); font-weight: 700; margin: 0 0 .4em; color: var(--deep-forest); letter-spacing: 0; }
h1 { font-size: clamp(2.4rem, 5vw, 4rem); line-height: 1.08; font-family: var(--font-logo); font-weight: 600; letter-spacing: .01em; }
h2 { font-size: clamp(1.9rem, 3.2vw, 2.6rem); line-height: 1.18; font-family: var(--font-logo); font-weight: 600; text-transform: none; letter-spacing: 0; }
h3 { font-size: 1.1rem; text-transform: none; letter-spacing: 0; font-weight: 700; }
p { color: var(--muted); }
.lede { font-size: 1.2rem; color: var(--ink-soft); max-width: 54ch; font-style: normal; font-family: var(--font-logo); }

/* ---------- Header / nav: full-width glass bar fixed to the top ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  padding-block: 10px;
  background: rgba(14,43,37,.55);
  border-bottom: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 14px 34px rgba(14,43,37,.28);
  transition: box-shadow .25s var(--ease);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .site-header { background: rgba(14,43,37,.92); }
}
/* pages without a full-bleed hero/scene need room below the fixed header */
main { padding-top: 92px; }
main:has(> .hero), main:has(> .scene:first-of-type) { padding-top: 0; }
.nav-row { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--font-logo); font-size: 1.2rem; font-weight: 600; letter-spacing: .01em; color: var(--white); }
.brand-mark {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--warm-white);
  display: grid; place-items: center;
  position: relative;
  overflow: hidden;
}
.brand-mark svg { width: 20px; height: 20px; color: var(--forest); }
.brand-mark img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.brand small { display: block; font-family: var(--font-display); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); font-weight: 600; font-style: normal; }

.nav-links { display: flex; align-items: center; gap: clamp(12px, 2vw, 28px); font-family: var(--font-display); font-size: .85rem; font-weight: 600; letter-spacing: .01em; }
.nav-links a { color: rgba(255,255,255,.82); position: relative; padding: 4px 0; transition: color .25s var(--ease); }
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-links a.active::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px;
  background: var(--gold);
}
.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 20px; border-radius: 999px;
  background: var(--gold);
  color: var(--deep-forest); font-weight: 700; font-size: .82rem;
  font-family: var(--font-display);
  box-shadow: 0 6px 16px rgba(182,154,98,.3);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
}
.nav-cta:hover { transform: translateY(-2px); background: #c7ac78; box-shadow: 0 10px 22px rgba(182,154,98,.4); }
.nav-links .nav-cta, .nav-links .nav-cta:hover {
  min-height: 46px; padding: 10px 20px; justify-content: center; line-height: 1.2;
  color: var(--deep-forest); white-space: nowrap;
}
.nav-links .nav-cta.active::after { display: none; }
.nav-admin { display: inline-flex; align-items: center; min-height: 36px; padding: 7px 13px !important; border: 1px solid rgba(255,255,255,.42); border-radius: 999px; font-size: .76rem; white-space: nowrap; }
.nav-admin:hover { background: rgba(255,255,255,.12); }

.nav-toggle { display: none; background: none; border: 1.5px solid rgba(255,255,255,.4); border-radius: 6px; width: 42px; height: 38px; cursor: pointer; }
.nav-toggle span { display: block; width: 18px; height: 2px; margin: 4px auto; background: var(--white); border-radius: 2px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 28px; border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 700; font-size: .85rem; text-transform: none; letter-spacing: .01em; cursor: pointer;
  border: 1.5px solid transparent;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease), background .25s var(--ease);
}
.btn--primary {
  background: var(--forest);
  color: var(--white);
  border-color: var(--forest);
  box-shadow: 0 8px 22px rgba(21,59,50,.25);
}
.btn--primary:hover { transform: translateY(-2px); background: var(--deep-forest); box-shadow: 0 12px 28px rgba(21,59,50,.35); }
.btn--ghost {
  background: transparent;
  border-color: var(--border-bright);
  color: var(--forest);
}
.btn--ghost:hover { background: rgba(21,59,50,.06); transform: translateY(-2px); }
.btn--gold {
  background: var(--gold);
  color: var(--deep-forest);
  border-color: var(--gold);
  box-shadow: 0 8px 20px rgba(182,154,98,.3);
}
.btn--gold:hover { transform: translateY(-2px); background: #c7ac78; box-shadow: 0 12px 26px rgba(182,154,98,.4); }

/* On a dark/photo backdrop, the ghost button needs a light outline */
.hero--photo .btn--ghost { border-color: rgba(255,255,255,.6); color: var(--white); }
.hero--photo .btn--ghost:hover { background: rgba(255,255,255,.1); }

/* ---------- Hero: simple crest variant (secondary pages) ---------- */
.hero {
  position: relative;
  padding: 150px 0 70px;
  overflow: hidden;
  text-align: center;
}
.hero-crest {
  width: 96px; height: 96px; border-radius: 50%;
  margin: 0 auto 24px;
  border: 1.5px solid var(--gold);
  outline: 1px solid var(--border);
  outline-offset: 5px;
  display: grid; place-items: center;
  background: radial-gradient(circle at 50% 35%, rgba(21,59,50,0.05), transparent 70%);
}
.hero-crest svg { width: 48px; height: 48px; color: var(--forest); }
.hero-arc { font-family: var(--font-display); font-size: .74rem; letter-spacing: .4em; text-transform: uppercase; color: var(--sage-green); margin-bottom: 6px; font-weight: 700; }
.hero h1 { margin-inline: auto; }
.hero .lede { margin-inline: auto; text-align: center; }
.hero-badges { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; justify-content: center; }
.badge {
  padding: 9px 18px; border-radius: 999px;
  border: 1px solid var(--border); background: var(--white);
  font-family: var(--font-display);
  font-size: .78rem; font-weight: 600; letter-spacing: .01em; color: var(--text);
  display: flex; align-items: center; gap: 8px;
}
.badge strong { color: var(--forest); font-family: var(--font-display); font-weight: 700; }
.hero-actions { display: flex; gap: 16px; margin-top: 34px; flex-wrap: wrap; justify-content: center; }

.hero-card {
  position: relative;
  max-width: 640px;
  margin: 48px auto 0;
  border-radius: var(--radius-lg);
  padding: 2px;
  background: linear-gradient(160deg, var(--forest), var(--gold) 50%, var(--forest));
}
.hero-card-inner {
  border-radius: calc(var(--radius-lg) - 2px);
  background: var(--white);
  padding: 32px;
  text-align: center;
  position: relative; overflow: hidden;
}
.hero-card-tag { font-family: var(--font-display); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--forest); font-weight: 700; }
.hero-card-inner h3 { margin-top: 8px; margin-bottom: 10px; }

/* ---------- Hero: cinematic photo variant (homepage) ---------- */
/* Hero content inside the first .scene (replaces the old standalone photo hero) */
.scene-hero { position: relative; min-height: 100vh; min-height: 100svh; display: grid; place-items: center; text-align: center; padding: 120px 20px 80px; }
.scene-hero .hero-arc { color: var(--gold); }
.scene-hero h1 { color: var(--white); text-shadow: 0 2px 18px rgba(0,0,0,.25); }
.scene-hero .lede { color: rgba(255,255,255,.9); }
.scene-hero .hero-actions .btn--primary { background: var(--gold); border-color: var(--gold); color: var(--deep-forest); }
.scene-hero .hero-actions .btn--primary:hover { background: #c7ac78; }
.scene-hero .hero-badges .badge { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.3); color: var(--white); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.scene-hero .hero-badges .badge strong { color: var(--white); }
.scroll-hint {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  color: var(--white); font-size: 12px; letter-spacing: .2em; opacity: .8;
  animation: bob 2s infinite;
}
@keyframes bob { 50% { transform: translate(-50%, 6px); } }
@media (prefers-reduced-motion: reduce) { .scroll-hint { animation: none; } }

/* ---------- Section scaffolding ---------- */
.section { padding: 86px 0; position: relative; }
.section--tight { padding: 56px 0; }
.section-head { max-width: 640px; margin-bottom: 50px; }
.section-head.center { margin-inline: auto; text-align: center; }
.divider-line { height: 1px; background: linear-gradient(90deg, transparent, var(--border), transparent); margin: 0; }

/* ---------- Stat strip ---------- */
.stat-strip {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stat { padding: 26px 18px; text-align: center; border-right: 1px solid var(--border); }
.stat:last-child { border-right: none; }
.stat .num { font-family: var(--font-logo); font-size: 2.2rem; color: var(--forest); display: block; font-weight: 600; }
.stat .label { font-family: var(--font-display); font-size: .74rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; margin-top: 6px; font-weight: 600; }

/* ---------- Cards grid ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }

.card {
  --mx: 50%; --my: 50%;
  position: relative;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--white);
  padding: 30px;
  overflow: hidden;
  transition: border-color .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease);
}
.card::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(220px circle at var(--mx) var(--my), rgba(21,59,50,.05), transparent 60%);
  opacity: 0; transition: opacity .3s var(--ease);
  pointer-events: none;
}
@media (hover:hover) and (pointer:fine) {
  .card:hover::before { opacity: 1; }
  .card:hover { border-color: var(--sage-green); transform: translateY(-4px); box-shadow: 0 14px 30px rgba(21,59,50,.08); }
}
.card-icon {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--sage-grey);
  display: grid; place-items: center; margin-bottom: 16px;
}
.card-icon svg { width: 20px; height: 20px; color: var(--forest); }
.card h3 { font-size: 1.1rem; }

/* ---------- Gold rule ---------- */
.rule-gold { width: 56px; height: 2px; border-radius: 2px; background: var(--gold); margin: 16px 0 24px; }

/* ---------- Gastronomie: menu list ---------- */
.menu-block { border-top: 1px solid var(--border); padding-top: 16px; }
.menu-row { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding: 13px 0; border-bottom: 1px dotted var(--border-bright); }
.menu-row:last-child { border-bottom: none; }
.menu-row .name { font-family: var(--font-display); font-weight: 700; color: var(--deep-forest); font-size: .98rem; letter-spacing: 0; white-space: nowrap; }
.menu-row .leader { flex: 1; border-bottom: 1px dotted var(--border-bright); margin: 0 4px 5px; min-width: 20px; }
.menu-row .price { font-family: var(--font-display); font-weight: 700; color: var(--forest); white-space: nowrap; }
.menu-row .desc { color: var(--muted); font-size: .9rem; margin-top: 3px; }
.menu-group-title { font-family: var(--font-logo); color: var(--forest); text-align: center; font-size: 1.5rem; font-weight: 600; margin: 46px 0 18px; text-transform: none; }
.menu-group-title:first-child { margin-top: 0; }
.menu-tag {
  display: inline-block; font-family: var(--font-display); font-size: .68rem; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: var(--sage-green);
  border: 1px solid var(--sage-green); border-radius: 999px; padding: 3px 11px; margin-top: 8px;
}

/* ---------- Quote block ---------- */
.quote-block {
  position: relative;
  border-radius: var(--radius-lg);
  background: var(--sage-grey);
  border: 1px solid var(--border);
  border-top: 3px solid var(--gold);
  padding: 44px;
  text-align: center;
}
.quote-block::before {
  content: '"';
  position: absolute; top: -6px; left: 50%; transform: translateX(-50%);
  font-family: var(--font-logo); font-size: 5rem; color: var(--gold); opacity: .4; line-height: 1;
}
.quote-text { font-family: var(--font-logo); font-style: normal; font-size: 1.5rem; font-weight: 500; color: var(--deep-forest); line-height: 1.4; max-width: 50ch; margin-inline: auto; position: relative; z-index: 1; }
.quote-by { margin-top: 20px; display: flex; align-items: center; justify-content: center; gap: 12px; }
.avatar-ring {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--white); border: 1.5px solid var(--gold);
  display: grid; place-items: center; font-family: var(--font-logo); font-weight: 700; color: var(--forest);
}

/* ---------- Timeline ---------- */
.timeline { display: flex; flex-direction: column; gap: 0; }
.tl-item { display: grid; grid-template-columns: 110px 24px 1fr; gap: 0; }
.tl-year { font-family: var(--font-logo); color: var(--forest); font-size: 1.1rem; padding-top: 2px; font-weight: 600; }
.tl-rail { display: flex; flex-direction: column; align-items: center; }
.tl-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--gold); border: 2px solid var(--warm-white); box-shadow: 0 0 0 1px var(--border-bright); margin-top: 4px; }
.tl-line { flex: 1; width: 1px; background: var(--border-bright); margin: 4px 0; }
.tl-item:last-child .tl-line { display: none; }
.tl-content { padding-bottom: 36px; }
.tl-content h3 { margin-bottom: 6px; font-size: 1.1rem; }

/* ---------- Info / contact blocks ---------- */
.info-list { display: flex; flex-direction: column; gap: 22px; }
.info-row { display: flex; gap: 16px; align-items: flex-start; }
.info-icon { flex: none; width: 42px; height: 42px; border-radius: 50%; background: var(--sage-grey); display: grid; place-items: center; }
.info-icon svg { width: 19px; height: 19px; color: var(--forest); }
.info-row h3 { font-size: 1rem; margin-bottom: 4px; }
.info-row p { margin: 0; font-size: .96rem; }

.hours-table { width: 100%; border-collapse: collapse; }
.hours-table tr { border-bottom: 1px dotted var(--border-bright); }
.hours-table tr:last-child { border-bottom: none; }
.hours-table td { padding: 13px 4px; font-size: .98rem; font-family: var(--font-display); }
.hours-table td:first-child { color: var(--text); font-weight: 600; font-size: .85rem; letter-spacing: .02em; text-transform: uppercase; }
.hours-table td:last-child { text-align: right; color: var(--forest); font-weight: 700; }
.hours-table .closed { color: var(--muted); font-style: italic; font-weight: 400; }

.map-frame { border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--border); aspect-ratio: 16/11; }
.map-frame iframe { width: 100%; height: 100%; border: 0; }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
label { display: block; font-family: var(--font-display); font-size: .74rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--sage-green); margin-bottom: 8px; }
input, textarea, select {
  width: 100%; padding: 12px 16px; border-radius: var(--radius-sm);
  background: var(--white); border: 1px solid var(--border);
  color: var(--text); font-family: var(--font-body); font-size: 1rem;
  transition: border-color .25s var(--ease), background .25s var(--ease);
}
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--forest); }
textarea { resize: vertical; min-height: 120px; }

/* ---------- Notice banner ---------- */
.notice {
  display: flex; gap: 14px; align-items: flex-start;
  border: 1px solid var(--border);
  background: var(--sage-grey);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  font-size: .95rem;
  color: var(--ink-soft);
}
.notice strong { color: var(--forest); }

/* ---------- Footer ---------- */
/* padding-top, not margin-top: margin doesn't paint/hit-test, which let the last
   homepage scene's sticky photo show through in the gap above the footer. */
.site-footer { position: relative; z-index: 2; background: var(--deep-forest); padding: 94px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer-grid h4 { font-family: var(--font-display); color: var(--gold); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 16px; }
.footer-grid p { color: rgba(255,255,255,.65); }
.footer-grid ul li { margin-bottom: 10px; }
.footer-grid a { overflow-wrap: anywhere; color: rgba(255,255,255,.75); font-size: .95rem; transition: color .2s; }
.footer-grid a:hover { color: var(--white); }
.footer-bottom {
  margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: .82rem; color: rgba(255,255,255,.55); font-family: var(--font-display); letter-spacing: .01em;
}
.site-footer h4[style] { color: var(--white) !important; }

/* ---------- Reveal-on-scroll ---------- */
[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { [data-reveal] { opacity: 1; transform: none; transition: none; } }

/* ---------- Photo reveal: muted by default, color follows cursor ---------- */
.photo-reveal { position: relative; overflow: hidden; border-radius: var(--radius-md); border: 1px solid var(--border); background: var(--sage-grey); }
.photo-reveal img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }
.photo-reveal .pr-color { z-index: 1; }
.photo-reveal .pr-gray { z-index: 2; filter: grayscale(1) contrast(1.02) brightness(1.02); transition: -webkit-mask-image .04s linear, mask-image .04s linear; }
@media (hover: none), (pointer: coarse) { .photo-reveal .pr-gray { -webkit-mask-image: none !important; mask-image: none !important; } }

.photo-frame { aspect-ratio: 4/3; }
.photo-frame--wide { aspect-ratio: 16/9; }
.photo-frame--tall { aspect-ratio: 3/4; }

.hero-photo-backdrop { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero-photo-backdrop img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo-backdrop::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, var(--warm-white) 0%, rgba(247,246,241,.88) 55%, var(--warm-white) 100%);
}

/* Full-screen booking hero using the existing course photograph. */
.booking-hero {
  display: flex; align-items: center; min-height: 100vh; min-height: 100svh;
  padding: 150px var(--page-gutter) 86px; text-align: left; color: var(--white);
}
.booking-hero-photo { position: absolute; inset: 0; z-index: 0; border: 0; border-radius: 0; background: var(--deep-forest); }
.booking-hero-photo img { object-fit: cover; object-position: center; }
.booking-hero-photo::after {
  content: ''; position: absolute; z-index: 3; inset: 0;
  background: linear-gradient(90deg, rgba(8,29,24,.84) 0%, rgba(8,29,24,.64) 43%, rgba(8,29,24,.24) 100%);
}
.booking-hero-content { position: relative; z-index: 4; width: min(100%, 1280px); margin-inline: 0; }
.booking-hero .hero-arc { color: var(--gold); }
.booking-hero h1 { max-width: 820px; margin: 0; color: var(--white); font-size: clamp(3rem, 5.2vw, 5rem); line-height: 1.04; text-shadow: 0 3px 24px rgba(0,0,0,.28); }
.booking-hero .lede { max-width: 58ch; margin: 24px 0 0; color: rgba(255,255,255,.9); text-align: left; font-size: clamp(1.1rem, 1.6vw, 1.35rem); }

.member-login {
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px;
  margin-bottom: 34px; padding: 26px; border: 1px solid var(--glass-border); border-radius: 20px;
  background: rgba(255,255,255,.72); box-shadow: 0 14px 36px rgba(21,59,50,.08);
}
.member-login__intro .eyebrow { color: var(--sage-green); }
.member-login__intro h2 { margin: 6px 0 8px; font-size: 1.7rem; }
.member-login__intro p { margin: 0; font-size: .95rem; line-height: 1.6; }
.member-login__fields { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; align-items: end; gap: 12px; }
.member-login__fields label { min-width: 0; margin: 0; font-size: 12px; line-height: 1.5; letter-spacing: .02em; text-transform: none; }
.member-login__fields input { min-width: 0; width: 100%; margin-top: 6px; padding: 12px; font-size: 14px; line-height: 1.5; }
.member-login__fields input::placeholder { font-size: 13px; }
.member-login__fields .btn { min-height: 48px; white-space: nowrap; }
.member-login__status { grid-column: 1 / -1; margin: 0; padding-top: 13px; border-top: 1px solid var(--border); font-size: .85rem; }
.member-login__status[data-state="error"] { color: var(--error); }
.member-login__status[data-state="success"] { color: var(--success); }

/* ---------- Service cards (club amenities) ---------- */
.service-card { border-radius: var(--radius-md); border: 1px solid var(--border); background: var(--white); overflow: hidden; transition: border-color .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease); }
.service-card:hover { border-color: var(--sage-green); transform: translateY(-4px); box-shadow: 0 14px 30px rgba(21,59,50,.08); }
.service-card .photo-reveal { border: none; border-radius: 0; aspect-ratio: 4/3; }
.service-card .service-body { padding: 22px 24px 26px; }
.service-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.service-card p { font-size: .95rem; margin: 0; }

/* ============================================================
   Homepage: glass-over-photo scenes, alternating with plain
   bands (2026-11-08). Technique from prototypes/glass-scroll.html.
   ============================================================ */

/* Sticky photo + scrolling glass content */
.scene { position: relative; }
.scene-bg {
  position: sticky; top: 0;
  height: 100vh; height: 100svh;
  margin-bottom: -100vh; margin-bottom: -100svh;
  overflow: hidden; z-index: 0;
}
.scene-bg img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(calc(1.12 - .12 * var(--p, 0)));
  transform-origin: center;
  will-change: transform;
}
.scene-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,28,21,.4), rgba(10,28,21,.18) 40%, rgba(10,28,21,.58));
}
.scene-content {
  position: relative; z-index: 1;
  padding: 62vh var(--page-gutter) 38vh;
  display: grid; gap: 28px; justify-items: center;
}
.scene:first-of-type .scene-content { padding-top: 0; }

/* Glass cards (photo sections only) */
.glass {
  width: 100%;
  background: var(--glass-light);
  border: 1px solid var(--glass-border);
  border-radius: var(--glass-radius);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  box-shadow: var(--glass-shadow);
  padding: clamp(24px, 4vw, 48px);
  color: var(--text);
}
.glass.dark { background: var(--glass-dark); color: var(--white); border-color: rgba(255,255,255,.22); }
.glass.dark p { color: rgba(255,255,255,.86); }
.glass.dark .eyebrow { color: var(--gold); }
.glass.dark h2, .glass.dark h3 { color: var(--white); }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass { background: rgba(250,248,242,.94); }
  .glass.dark { background: rgba(14,43,37,.9); }
}
.glass.center { text-align: center; }
.glass.center .eyebrow { justify-content: center; }
.glass .icon {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(21,59,50,.08); margin-bottom: 16px; font-size: 18px;
}
.glass.dark .icon { background: rgba(255,255,255,.14); }
.glass .rule-gold { margin-top: 2px; }

/* Card rows inside scenes/bands */
.row { display: grid; gap: 20px; width: 100%; }
.row-2 { grid-template-columns: 1.25fr 1fr; }
.row-3 { grid-template-columns: repeat(3, 1fr); }
.row-4 { grid-template-columns: repeat(4, 1fr); }
.row .glass { width: 100%; padding: 28px; }
.row-sub { display: grid; gap: 20px; }

/* Glass stat tile */
.glass-stat { text-align: center; padding: 30px 16px !important; }
.glass-stat b { display: block; font-family: var(--font-logo); font-size: clamp(36px, 5vw, 50px); font-weight: 600; color: var(--forest); line-height: 1; }
.glass-stat span { display: block; margin-top: 10px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 700; }

/* Plain bands (no photo) */
.band {
  position: relative; z-index: 2;
  padding: clamp(80px, 11vw, 140px) var(--page-gutter);
  display: grid; gap: 28px; justify-items: center;
  background: var(--warm-white);
}
.band.white { background: var(--white); }
.band.dark { background: var(--deep-forest); color: var(--white); }
.band.dark p { color: rgba(255,255,255,.82); }
.band.dark .eyebrow { color: var(--gold); }
html:has(.club-video) { scroll-snap-type: y proximity; }
.club-video {
  position: relative; isolation: isolate; display: flex; align-items: flex-end;
  width: 100%; min-height: 100vh; min-height: 100dvh; scroll-snap-align: start; scroll-margin-top: 0;
  overflow: hidden; padding: clamp(42px, 8vw, 112px) var(--page-gutter);
  color: var(--white); background: #10251e;
}
.club-video__media { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; background: #10251e; }
.club-video__content { position: relative; z-index: 1; width: min(100%, 780px); margin-top: auto; padding-bottom: calc(clamp(8px, 2vh, 26px) + 50px); }
.club-video__glass {
  padding: clamp(22px, 3vw, 38px);
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 26px;
  background: rgba(18,43,35,.48);
  box-shadow: 0 18px 52px rgba(0,0,0,.18);
  -webkit-backdrop-filter: blur(18px) saturate(135%);
  backdrop-filter: blur(18px) saturate(135%);
  opacity: 1;
  transform: translateY(0) scale(1);
  visibility: visible;
  transition: opacity .48s var(--ease), transform .48s var(--ease), visibility .48s;
}
.club-video .eyebrow { color: var(--gold); }
.club-video h2 { max-width: none; margin: 14px 0 16px; color: var(--white); font-size: clamp(2.35rem, 4.2vw, 4.25rem); line-height: 1.04; text-shadow: 0 3px 28px rgba(0,0,0,.34); }
.club-video h2 > span { display: block; white-space: nowrap; }
.club-video__glass > p { max-width: 46ch; margin: 0; color: rgba(255,255,255,.9); font-size: clamp(.95rem, 1.1vw, 1.08rem); line-height: 1.65; }
.club-video__play { display: inline-flex; align-items: center; gap: 12px; min-height: 54px; margin-top: 26px; padding-inline: 24px 28px; box-shadow: 0 12px 32px rgba(0,0,0,.24); }
.club-video__play svg { width: 19px; height: 19px; }
.club-video__play:hover { transform: translateY(-3px); }
.club-video__play:focus-visible { outline: 3px solid var(--white); outline-offset: 4px; }
.club-video__pause-icon, .club-video.is-playing .club-video__play-icon { display: none; }
.club-video.is-playing .club-video__pause-icon { display: initial; }
@media (width > 760px) {
  .club-video.is-playing .club-video__glass { opacity: 0; transform: translateY(12px) scale(.985); visibility: hidden; pointer-events: none; }
}
.band .glass {
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: 0 10px 30px rgba(21,59,50,.06);
  backdrop-filter: none; -webkit-backdrop-filter: none;
}
.band.white .glass { background: var(--warm-white); }
.band .glass.flat { background: transparent; border: 0; box-shadow: none; padding-top: 0; padding-bottom: 0; }
.band.dark .glass { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); box-shadow: none; }
.band + .scene .scene-content { padding-top: 62vh; }

/* Reveal-in for homepage glass/row items (reuses the site's [data-reveal] system) */
[data-reveal].glass, [data-reveal].row > [data-reveal] { transform: translateY(48px) scale(.98); }
[data-reveal].glass.is-visible, [data-reveal].row > [data-reveal].is-visible { transform: none; }
.row > [data-reveal]:nth-child(2) { transition-delay: .12s; }
.row > [data-reveal]:nth-child(3) { transition-delay: .24s; }
.row > [data-reveal]:nth-child(4) { transition-delay: .36s; }

@media (prefers-reduced-motion: reduce) {
  .scene-bg img { transform: none !important; }
}

/* Quote block on the dark band */
.band blockquote { font-family: var(--font-logo); font-size: clamp(24px, 3vw, 34px); line-height: 1.35; color: var(--white); margin: 0; }
.band .who { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 24px; color: var(--white); }
.band .who .av { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--gold); display: grid; place-items: center; font-family: var(--font-logo); flex: none; }
.band .who small { display: block; color: rgba(255,255,255,.7); }
.band .who .quote-attribution { text-align: left; }
.scene-club-actions { justify-content: flex-start; margin-top: 10px; }

@media (max-width: 860px) {
  .row-3, .row-2, .row-4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .row-3, .row-2, .row-4 { grid-template-columns: 1fr; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  main, .site-footer { text-align: center; }
  main :is(input, select, textarea, legend) { text-align: center; }
  main select { text-align-last: center; }
  main .btn { justify-content: center; text-align: center; }
  main .lede, main .rule-gold, main .card-icon { margin-inline: auto; }
  main .notice { justify-content: center; }
  .scene-club-actions { justify-content: center; }
  .band .who { flex-direction: column; }
  .band .who .quote-attribution { text-align: center; }
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open {
    display: flex; position: absolute; top: 100%; inset-inline: var(--page-gutter);
    flex-direction: column; align-items: center; text-align: center;
    background: var(--deep-forest); padding: 20px 6%;
    border-radius: 18px; gap: 20px;
  }
  .nav-links.open .nav-cta { display: inline-flex; width: fit-content; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid p { margin-inline: auto; }
  .footer-bottom { justify-content: center; }
  .section { padding: 56px 0; }
  .hero { padding: 130px 0 44px; }
  .hero--photo { min-height: 86vh; margin-top: -84px; }
  .booking-hero { min-height: 92vh; min-height: 92svh; padding: 132px var(--page-gutter) 58px; text-align: center; }
  .booking-hero h1 { font-size: clamp(2.4rem, 8vw, 3.75rem); }
  .booking-hero .lede { max-width: 38ch; margin-inline: auto; font-size: 1.05rem; text-align: center; }
  .booking-hero-photo img { object-fit: cover; object-position: 72% center; }
  .form-grid { grid-template-columns: 1fr; }
  .member-login { grid-template-columns: 1fr; padding: 22px; }
  .member-login__fields { grid-template-columns: 1fr; }
  .tl-item { grid-template-columns: minmax(0, 1fr); }
  .tl-rail { display: none; }
  .hours-table td:last-child { text-align: center; }
  .quote-block { padding: 26px; }
  .stat-strip { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: none; }
  .menu-row { flex-wrap: wrap; }
  .site-header { padding-block: 8px; }
  .club-video {
    flex-direction: column; align-items: center; justify-content: center;
    gap: 20px; padding: 78px var(--page-gutter) 32px;
  }
  .club-video__media, .club-video__content { width: 100%; }
  .club-video__media {
    position: static; z-index: auto; height: auto;
    /* Match the active picture in shots with embedded letterboxing. */
    aspect-ratio: 1920 / 1012; object-fit: cover; border-radius: 16px;
  }
  .club-video__content { margin-top: 0; padding-bottom: 0; }
  .club-video h2 { font-size: clamp(2.1rem, 8.5vw, 3.4rem); }
  .club-video h2 > span { white-space: normal; }
  .club-video__glass { padding: 22px; border-radius: 22px; }
  .club-video__glass > p { max-width: none; font-size: .98rem; }
  .club-video__play { margin-top: 22px; }
}

@media (min-width: 1200px) {
  .nav-row { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); }
  .nav-row > .brand { justify-self: start; }
  .nav-row > .nav-links { justify-self: center; }
  .nav-row > .nav-toggle { justify-self: end; }
  .nav-links .nav-admin { position: absolute; top: 50%; right: 0; transform: translateY(-50%); }
}

.customer-profile-link { border: 0; background: transparent; padding: 0; color: var(--forest); font: inherit; font-weight: 700; text-align: left; cursor: pointer; text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 5px; }
.customer-profile-link:focus-visible { outline: 2px solid var(--gold); outline-offset: 5px; }
.customer-profile { width: min(720px, calc(100vw - 32px)); max-height: 85svh; margin: auto; padding: clamp(22px, 4vw, 38px); border: 1px solid var(--border); border-radius: 24px; background: var(--warm-white); color: var(--text); overflow-y: auto; box-shadow: 0 30px 100px #0005; }
.customer-profile::backdrop { background: #0e2b2599; backdrop-filter: blur(5px); }
.customer-profile > .btn { display: flex; margin-left: auto; }
.customer-profile-avatar { width: 64px; height: 64px; display: grid; place-items: center; border-radius: 50%; background: var(--forest); color: var(--gold); font-size: 24px; margin: 12px 0; }
.customer-profile h2 { font-size: 32px; margin-bottom: 8px; }
.customer-profile-membership { color: var(--forest); font-weight: 600; }
.customer-profile-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin: 24px 0; }
.customer-profile-facts dt { font-size: 12px; color: var(--muted); }
.customer-profile-facts dd { margin: 4px 0 0; overflow-wrap: anywhere; }
.customer-profile-booking { padding: 18px; margin-top: 14px; background: white; border: 1px solid var(--border); border-radius: 16px; }
.customer-profile-booking p { margin: 8px 0 0; font-size: 14px; }
@media (max-width: 520px) { .customer-profile-facts { grid-template-columns: 1fr; } }
