/* ==========================================================
   The Over/Under Club
   ========================================================== */
:root {
  --ink: #0e1511;
  --forest-900: #121a15;
  --forest-800: #18231c;
  --forest-700: #1f2d24;
  --forest-600: #2a3b30;
  --gold: #b8995f;
  --gold-light: #d4bc8a;
  --gold-dark: #8f7442;
  --cream: #f5f0e6;
  --cream-2: #ebe3d3;
  --text: #e9e3d6;
  --text-muted: #a9a594;
  --line: rgba(184, 153, 95, 0.28);
  --line-soft: rgba(233, 227, 214, 0.12);

  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;

  --radius: 2px;
  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --section-y: clamp(80px, 11vw, 150px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--forest-900);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.08; margin: 0 0 .5em; color: var(--cream); letter-spacing: -.005em; }
h1 em, h2 em { font-style: italic; color: var(--gold-light); font-weight: 400; }
h2 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); }
h3 { font-size: 1.6rem; }
p { margin: 0 0 1.1em; }
:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 3px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section-y) 0; position: relative; }

.skip-link { position: absolute; left: -999px; top: 8px; background: var(--gold); color: var(--ink); padding: 8px 14px; z-index: 200; }
.skip-link:focus { left: 8px; }

.eyebrow {
  font-family: var(--sans);
  font-size: .76rem;
  font-weight: 500;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 1.4em;
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: currentColor; opacity: .7; }

/* Buttons ------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 30px;
  font-family: var(--sans); font-size: .78rem; font-weight: 500;
  letter-spacing: .22em; text-transform: uppercase; text-decoration: none;
  border: 1px solid transparent; border-radius: var(--radius);
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
  white-space: nowrap;
}
.btn-gold { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.btn-gold:hover { background: var(--gold-light); border-color: var(--gold-light); }
.btn-ghost { background: rgba(255,255,255,.04); color: var(--cream); border-color: rgba(245,240,230,.45); backdrop-filter: blur(4px); }
.btn-ghost:hover { border-color: var(--cream); background: rgba(255,255,255,.1); }
.btn-outline { background: transparent; color: var(--gold-light); border-color: var(--gold); }
.btn-outline:hover { background: var(--gold); color: var(--ink); }
.btn-sm { padding: 11px 20px; font-size: .7rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* Header -------------------------------------------------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  transition: background .4s var(--ease), padding .4s var(--ease), border-color .4s var(--ease);
  padding: 22px 0;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(14, 21, 17, .92);
  backdrop-filter: blur(10px);
  padding: 12px 0;
  border-bottom-color: var(--line-soft);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand img { height: 46px; width: auto; transition: height .4s var(--ease); }
.is-scrolled .brand img { height: 38px; }
.main-nav { display: flex; align-items: center; gap: 36px; }
.main-nav ul { display: flex; gap: 30px; list-style: none; margin: 0; padding: 0; }
.main-nav ul a {
  text-decoration: none; font-size: .76rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 400;
  color: var(--text); position: relative; padding: 6px 0;
}
.main-nav ul a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold); transform: scaleX(0); transition: transform .35s var(--ease); transform-origin: left; }
.main-nav ul a:hover::after, .main-nav ul a.is-active::after { transform: scaleX(1); }
.nav-toggle { display: none; }

/* Hero ---------------------------------------------------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: flex-end;
  padding: 140px 0 clamp(80px, 12vh, 140px);
  overflow: hidden; isolation: isolate;
}
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero-shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(14,21,17,.7) 0%, rgba(14,21,17,.15) 30%, rgba(14,21,17,.35) 60%, rgba(14,21,17,.95) 100%),
    linear-gradient(90deg, rgba(14,21,17,.75) 0%, rgba(14,21,17,.1) 70%);
}
.hero-content { max-width: var(--container); }
.hero h1 { font-size: clamp(3rem, 8vw, 6.6rem); max-width: 13ch; margin-bottom: .35em; }
.hero h1 em { display: block; }
.hero-lede { max-width: 540px; font-size: clamp(1.02rem, 1.4vw, 1.18rem); color: var(--text); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-note { margin-top: 28px; font-size: .76rem; letter-spacing: .22em; text-transform: uppercase; color: var(--text-muted); }
.scroll-cue { position: absolute; left: 50%; bottom: 28px; width: 1px; height: 54px; background: rgba(245,240,230,.2); overflow: hidden; }
.scroll-cue span { position: absolute; left: 0; top: -50%; width: 1px; height: 50%; background: var(--gold-light); animation: cue 2.2s var(--ease) infinite; }
@keyframes cue { to { top: 100%; } }

/* Split layout -------------------------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.split-reverse .split-media { order: 2; }
.split-media { position: relative; }
.split-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.split-media::before {
  content: ""; position: absolute; inset: 22px -22px -22px 22px; border: 1px solid var(--line); z-index: -1;
}
.split-reverse .split-media::before { inset: 22px 22px -22px -22px; }
.split-copy p { color: var(--text); max-width: 520px; }



/* Experience ---------------------------------------------- */
.experience { background: var(--forest-800); }
.section-head { max-width: 720px; margin-bottom: clamp(44px, 6vw, 72px); }
.exp-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.exp-card { background: var(--forest-900); border: 1px solid var(--line-soft); display: flex; flex-direction: column; transition: border-color .4s var(--ease), transform .4s var(--ease); }
.exp-card:hover { border-color: var(--line); transform: translateY(-4px); }
.exp-img { overflow: hidden; aspect-ratio: 4 / 3.4; }
.exp-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.exp-card:hover .exp-img img { transform: scale(1.05); }
.exp-body { padding: 26px 24px 30px; }
.exp-num { font-size: .72rem; letter-spacing: .24em; color: var(--gold); }
.exp-body h3 { margin: 10px 0 12px; font-size: 1.55rem; }
.exp-body p { font-size: .95rem; color: var(--text-muted); margin: 0; }

/* Membership ---------------------------------------------- */
.membership { overflow: hidden; }
.membership-bg {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(14,21,17,.97) 0%, rgba(14,21,17,.88) 45%, rgba(14,21,17,.7) 100%), url("../img/DSC09243-lg.jpg") center / cover no-repeat;
}
.membership { isolation: isolate; }
.membership-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.membership-copy > p { max-width: 540px; }
.perks { list-style: none; padding: 0; margin: 34px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 30px; }
.perks li { position: relative; padding-left: 26px; font-size: .98rem; }
.perks li::before { content: ""; position: absolute; left: 0; top: .62em; width: 9px; height: 9px; background: var(--gold); transform: rotate(45deg); }

.price-card {
  background: var(--cream); color: var(--ink);
  padding: clamp(34px, 4vw, 52px);
  position: relative;
  box-shadow: 0 40px 80px rgba(0,0,0,.45);
}
.price-card::before { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(143,116,66,.4); pointer-events: none; }
.price-kicker { font-size: .74rem; letter-spacing: .3em; text-transform: uppercase; color: var(--gold-dark); font-weight: 500; text-align: center; margin-bottom: 14px; }
.price-main { display: flex; align-items: flex-start; justify-content: center; font-family: var(--serif); color: var(--forest-800); line-height: 1; }
.price-currency { font-size: 2rem; margin-top: 10px; }
.price-amount { font-size: clamp(4.5rem, 7vw, 5.6rem); font-weight: 500; }
.price-term { font-size: 1.15rem; align-self: flex-end; margin: 0 0 14px 6px; font-style: italic; color: #4c5249; }
.price-sub { text-align: center; color: #5b5f55; font-size: .9rem; margin: 10px 0 0; }
.price-divider { height: 1px; background: rgba(143,116,66,.4); margin: 26px 0; }
.price-lines { margin: 0 0 28px; }
.price-lines div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px dashed rgba(14,21,17,.14); font-size: .95rem; }
.price-lines dt { color: #4c5249; }
.price-lines dd { margin: 0; font-weight: 500; text-align: right; }
.price-lines small { font-weight: 300; color: #6b6f64; font-size: .78rem; display: block; }
.price-card .btn-gold { background: var(--forest-800); border-color: var(--forest-800); color: var(--cream); }
.price-card .btn-gold:hover { background: var(--forest-600); border-color: var(--forest-600); }
.price-fine { text-align: center; font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-dark); margin: 18px 0 0; }

/* Events -------------------------------------------------- */
.events { background: var(--forest-800); }
.feature-list { list-style: none; padding: 0; margin: 28px 0 38px; }
.feature-list li { padding: 14px 0; border-bottom: 1px solid var(--line-soft); color: var(--text-muted); font-size: .98rem; }
.feature-list li span { color: var(--cream); font-weight: 400; }

/* Gallery ------------------------------------------------- */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(160px, 18vw, 250px); gap: 12px; }
.g-item { display: block; overflow: hidden; position: relative; background: var(--forest-800); }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter .6s var(--ease); filter: saturate(.92); }
.g-item:hover img { transform: scale(1.06); filter: saturate(1.05); }
.g-item::after { content: ""; position: absolute; inset: 0; border: 1px solid transparent; transition: border-color .4s var(--ease); }
.g-item:hover::after { border-color: var(--gold); }
.g-wide { grid-column: span 2; grid-row: span 2; }

/* Inquiry ------------------------------------------------- */
.inquire { background: var(--forest-800); border-top: 1px solid var(--line-soft); }
.inquire-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.visit > p { max-width: 460px; }
.visit-block { margin-top: 34px; padding-top: 26px; border-top: 1px solid var(--line-soft); }
.visit-block h3 { font-family: var(--sans); font-size: .74rem; font-weight: 500; letter-spacing: .26em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.visit-block address, .visit-block p { font-style: normal; font-size: 1.05rem; color: var(--cream); margin: 0 0 8px; }
.text-link { color: var(--gold-light); font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; border-bottom: 1px solid var(--line); padding-bottom: 2px; }
.text-link:hover { border-color: var(--gold-light); }
.contacts { list-style: none; padding: 0; margin: 0; }
.contacts li { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; flex-wrap: wrap; }
.contacts span { color: var(--text-muted); }
.contacts a { color: var(--cream); text-decoration: none; }
.contacts a:hover { color: var(--gold-light); }

.form-card { background: var(--forest-900); border: 1px solid var(--line); padding: clamp(28px, 4vw, 50px); position: relative; }
.inquiry-form { display: grid; gap: 20px; }
.interest-toggle { border: 0; padding: 0; margin: 0 0 6px; display: flex; flex-wrap: wrap; gap: 10px; }
.interest-toggle legend { width: 100%; font-size: .74rem; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; padding: 0; }
.interest-toggle label { flex: 1 1 0; min-width: 120px; }
.interest-toggle input { position: absolute; opacity: 0; pointer-events: none; }
.interest-toggle span {
  display: block; text-align: center; padding: 13px 12px; border: 1px solid var(--line-soft);
  font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; cursor: pointer; color: var(--text-muted);
  transition: all .25s var(--ease);
}
.interest-toggle input:checked + span { border-color: var(--gold); color: var(--ink); background: var(--gold); }
.interest-toggle input:focus-visible + span { outline: 2px solid var(--gold-light); outline-offset: 2px; }

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field-row[hidden] { display: none; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field[hidden] { display: none; }
.field label { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted); }
.field abbr { text-decoration: none; color: var(--gold); }
.field input, .field select, .field textarea {
  width: 100%; background: transparent; color: var(--cream);
  border: 0; border-bottom: 1px solid rgba(233,227,214,.25); border-radius: 0;
  padding: 10px 2px; font: inherit; font-size: 1rem; font-weight: 300;
  transition: border-color .25s var(--ease);
  -webkit-appearance: none; appearance: none;
}
.field select {
  background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%);
  background-position: calc(100% - 14px) 52%, calc(100% - 9px) 52%;
  background-size: 5px 5px; background-repeat: no-repeat; padding-right: 30px;
}
.field select option { background: var(--forest-900); color: var(--cream); }
.field textarea { resize: vertical; min-height: 110px; border: 1px solid rgba(233,227,214,.25); padding: 12px 14px; }
.field input::placeholder, .field textarea::placeholder { color: rgba(169,165,148,.6); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); }
.field input[type="date"] { color-scheme: dark; }
.field.has-error input, .field.has-error textarea { border-color: #d98a7a; }
.field-error { color: #e2a092; font-size: .8rem; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 0; font-size: .92rem; min-height: 1.2em; }
.form-status.is-error { color: #e2a092; }
.form-fine { font-size: .78rem; color: var(--text-muted); margin: -8px 0 0; text-align: center; }

.form-success { text-align: center; padding: 40px 10px; }
.form-success:focus { outline: none; }
.success-mark { width: 70px; height: 70px; border-radius: 50%; border: 1px solid var(--gold); color: var(--gold-light); display: flex; align-items: center; justify-content: center; margin: 0 auto 24px; }
.form-success h3 { font-size: 2.4rem; }
.form-success p { color: var(--text-muted); max-width: 400px; margin: 0 auto; }

.map-wrap { height: 380px; filter: grayscale(.85) invert(.9) hue-rotate(180deg) contrast(.9); border-top: 1px solid var(--line-soft); }
.map-wrap iframe { width: 100%; height: 100%; border: 0; display: block; }

/* Footer -------------------------------------------------- */
.site-footer { background: var(--ink); padding: 80px 0 40px; text-align: center; border-top: 1px solid var(--line); }
.footer-logo { height: 58px; width: auto; margin: 0 auto 18px; }
.footer-tag { font-family: var(--serif); font-size: 1.3rem; color: var(--gold-light); }
.footer-nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px 30px; margin: 30px 0; }
.footer-nav a { text-decoration: none; font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; color: var(--text-muted); }
.footer-nav a:hover { color: var(--gold-light); }
.footer-meta, .footer-copy { font-size: .85rem; color: var(--text-muted); margin: 0 0 8px; }
.footer-meta a { color: var(--text); text-decoration: none; }
.footer-credit { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-muted); margin: 18px 0 0; opacity: .8; }
.footer-credit a { color: var(--gold); text-decoration: none; }
.footer-credit a:hover { color: var(--gold-light); }

/* Modals -------------------------------------------------- */
.modal { position: fixed; inset: 0; z-index: 300; display: flex; align-items: center; justify-content: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(8,12,10,.92); }
.modal-body { position: relative; width: min(1100px, 100%); }
.modal-body video { width: 100%; aspect-ratio: 16 / 9; background: #000; }
.modal-close { position: absolute; top: -50px; right: 0; background: none; border: 0; color: var(--cream); font-size: 2.4rem; line-height: 1; padding: 4px 10px; z-index: 2; }
.lightbox .modal-close { top: 16px; right: 16px; }
.lb-img { position: relative; max-width: min(1400px, 92vw); max-height: 86vh; object-fit: contain; box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; background: rgba(14,21,17,.6); border: 1px solid var(--line); color: var(--cream); width: 52px; height: 52px; font-size: 2rem; line-height: 1; display: flex; align-items: center; justify-content: center; }
.lb-prev { left: 16px; }
.lb-next { right: 16px; }
.lb-nav:hover { border-color: var(--gold); color: var(--gold-light); }
body.modal-open { overflow: hidden; }

/* Reveal animation ---------------------------------------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* Responsive ---------------------------------------------- */
@media (max-width: 1100px) {
  .exp-grid { grid-template-columns: repeat(2, 1fr); }
  .main-nav ul { gap: 22px; }
}

@media (max-width: 960px) {
  .nav-toggle {
    display: flex; flex-direction: column; justify-content: center; gap: 7px;
    width: 44px; height: 44px; background: none; border: 0; padding: 10px; z-index: 110;
  }
  .nav-toggle span { display: block; height: 1px; background: var(--cream); transition: transform .3s var(--ease); }
  .nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .main-nav {
    position: fixed; inset: 0; background: var(--forest-900);
    flex-direction: column; justify-content: center; gap: 40px;
    opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility .35s;
  }
  .main-nav.is-open { opacity: 1; visibility: visible; }
  .main-nav ul { flex-direction: column; align-items: center; gap: 22px; }
  .main-nav ul a { font-family: var(--serif); font-size: 2rem; letter-spacing: 0; text-transform: none; }
  .brand { position: relative; z-index: 110; }
  /* backdrop-filter would trap the fixed overlay inside the header */
  .site-header.nav-open { backdrop-filter: none; -webkit-backdrop-filter: none; background: transparent; border-bottom-color: transparent; }
}

@media (max-width: 860px) {
  .split, .membership-inner, .inquire-grid { grid-template-columns: 1fr; }
  .split-reverse .split-media { order: 0; }
  .split-media::before { display: none; }
  .split-media img { aspect-ratio: 4 / 3; }
  .intro .split-copy { margin-top: 20px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .eyebrow { letter-spacing: .22em; font-size: .7rem; }
  .eyebrow::before { width: 22px; }
  .brand img { height: 36px; }
  .is-scrolled .brand img { height: 32px; }
  .hero { align-items: flex-end; padding-bottom: 96px; }
  .hero-actions .btn { width: 100%; }
  .exp-grid { grid-template-columns: 1fr; }
  .perks { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .gallery-grid { grid-auto-rows: 140px; gap: 8px; }
  .g-wide { grid-row: span 1; }
  .lb-nav { width: 42px; height: 42px; }
  .map-wrap { height: 300px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .scroll-cue span { animation: none; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
