/* =====================================================================
   Ace Golfzone, site styles
   One stylesheet for every page. Colours and fonts live in :root.
   ===================================================================== */

:root {
  --navy-950: #070E18;
  --navy-900: #0A1320;
  --navy-800: #0F1B2D;
  --navy-700: #17283F;
  --blue: #5B8FDB;
  --brass: #C2A061;
  --brass-light: #E3CA92;
  --brass-dark: #8F6F35;
  --brass-line: rgba(194, 160, 97, 0.3);
  --ivory: #EEE8DA;
  --mist: #B9C1CD;
  --panel: rgba(255, 255, 255, 0.03);
  --error: #F2A7A0;

  /* Backgrounds from the design */
  --bg: #1C1C1C;          /* main sections */
  --bg-alt: #1B1F24;      /* rooms, alternate sections */
  --bg-deep: #1E2126;     /* footer */
  --bg-news: #2A2A2A;     /* newsletter */
  --field: #2C2C2C;       /* form fields */
  --band: #3D4B6E;        /* thick divider between sections */
  --bright-blue: #3381FF; /* announcement bar */
  --contact-blue: rgba(36, 78, 128, 0.88);

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Fraunces", Georgia, "Times New Roman", serif;

  --maxw: 72rem;
  --pad: clamp(1rem, 4vw, 2.5rem);
  --radius: 6px;
}

/* Bigger everything on large monitors (1920 screens) */
@media (min-width: 1600px) {
  html { font-size: 112.5%; }
  :root { --maxw: 80rem; }
}

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

html { scroll-behavior: smooth; scroll-padding-top: 5.5rem; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ivory);
  font-family: var(--sans);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.65;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
p { margin: 0 0 0.85rem; color: var(--mist); }
p:last-child { margin-bottom: 0; }
strong { color: var(--ivory); font-weight: 600; }

a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  padding: 0.6rem 1rem; border-radius: var(--radius);
  background: var(--ivory); color: var(--navy-900); font-weight: 600;
}
.skip-link:focus { top: 1rem; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---------- Layout ---------- */
.container { width: 100%; max-width: calc(var(--maxw) + var(--pad) * 2); margin: 0 auto; padding: 0 var(--pad); }
.container--narrow { max-width: calc(56rem + var(--pad) * 2); }
.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.section--alt { background: var(--bg-alt); }
.band { border-top: 10px solid var(--band); }
.section--tight { padding-top: clamp(2rem, 4vw, 3rem); }

.section-head { text-align: center; margin-bottom: clamp(2rem, 4vw, 3rem); }

.title {
  margin: 0 0 0.75rem;
  font-family: var(--serif);
  font-weight: 400;
  font-variation-settings: "opsz" 144, "SOFT" 60;
  font-size: clamp(2.25rem, 1.4rem + 3.4vw, 3.75rem);
  line-height: 1.02;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.lede {
  max-width: 46ch;
  margin: 0 auto;
  font-family: var(--serif);
  font-weight: 350;
  font-variation-settings: "opsz" 18;
  font-size: clamp(1.05rem, 0.95rem + 0.45vw, 1.2rem);
  line-height: 1.55;
  color: var(--mist);
  text-wrap: balance;
}
.eyebrow {
  margin: 0 0 0.6rem;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 350;
  font-variation-settings: "opsz" 18;
  font-size: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  color: var(--brass);
}
.h2 {
  margin: 0 0 0.5rem;
  font-family: var(--serif);
  font-weight: 500;
  font-variation-settings: "opsz" 72, "SOFT" 30;
  font-size: clamp(1.4rem, 1.15rem + 1vw, 1.85rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.h3 {
  margin: 0 0 0.6rem;
  font-family: var(--serif);
  font-weight: 500;
  font-variation-settings: "opsz" 72, "SOFT" 30;
  font-size: clamp(1.15rem, 1.05rem + 0.4vw, 1.35rem);
  line-height: 1.2;
}

.inline-link {
  color: var(--ivory);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--brass);
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}
@media (hover: hover) { .inline-link:hover { color: var(--brass); } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 2.75rem;
  padding: 0.6rem 1.35rem;
  border: 1px solid var(--brass);
  border-radius: 999px;
  background: transparent;
  color: var(--ivory);
  font: 500 0.95rem/1.2 var(--sans);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
  -webkit-tap-highlight-color: transparent;
}
.btn--solid { background: var(--brass); color: var(--navy-900); }
.btn--quiet { border-color: var(--brass-line); }
@media (hover: hover) {
  .btn:hover { background: var(--brass); color: var(--navy-900); }
  .btn--solid:hover { background: var(--ivory); border-color: var(--ivory); }
}
.btn:active { background: var(--brass); color: var(--navy-900); }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* Lists with small brass dots */
.dot-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.dot-list li {
  position: relative; padding-left: 1.15rem;
  line-height: 1.55; color: var(--ivory); overflow-wrap: break-word;
}
.dot-list li::before {
  content: ""; position: absolute; left: 0.1rem; top: 0.65em;
  width: 6px; height: 6px; border-radius: 50%; background: var(--brass);
}
.dot-list ul { margin-top: 0.4rem; gap: 0.25rem; }
.dot-list li li { color: var(--mist); }
.dot-list li li::before { height: 1px; border-radius: 0; top: 0.8em; }

.note {
  display: flex; align-items: center; gap: 0.65rem;
  margin: 0 0 1rem; padding: 0.75rem 0.9rem;
  border-left: 2px solid var(--brass);
  background: rgba(7, 14, 24, 0.45);
  font-size: 0.95rem; line-height: 1.55; color: var(--ivory);
}
.note--strong { font-weight: 600; }
.note svg { width: 20px; height: 20px; flex: none; stroke: var(--brass); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.fine { font-size: 0.85rem; line-height: 1.6; }

/* Simple two-column info table (hours, rates, facts) */
.table { list-style: none; margin: 0.25rem 0 1rem; padding: 0; border-top: 1px solid var(--brass-line); }
.table li {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
  padding: 0.7rem 0; border-bottom: 1px solid var(--brass-line);
}
.table span { font-size: 0.95rem; line-height: 1.45; color: var(--mist); }
.table span small { display: block; font-size: 0.82rem; opacity: 0.85; }
.table strong {
  flex: none; text-align: right;
  font-family: var(--serif); font-weight: 450;
  font-variation-settings: "opsz" 72, "SOFT" 30;
  font-size: clamp(1.05rem, 1rem + 0.3vw, 1.25rem); line-height: 1.25;
}
.table-title { margin: 0 0 0.4rem; font-size: 0.9rem; font-weight: 600; color: var(--brass); }

/* Social icon buttons */
.social { display: flex; gap: 0.7rem; }
.social a {
  display: grid; place-items: center; width: 2.75rem; height: 2.75rem;
  border: 1px solid var(--brass); border-radius: 50%; color: var(--ivory);
  transition: background-color .2s ease, color .2s ease;
}
.social svg { width: 1.2rem; height: 1.2rem; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
@media (hover: hover) { .social a:hover { background: var(--brass); color: var(--navy-900); } }

/* ---------- Announcement bar ---------- */
.announce {
  padding: 0.55rem var(--pad);
  background: var(--bright-blue);
  text-align: center;
  font-size: clamp(0.82rem, 0.78rem + 0.2vw, 0.92rem);
  line-height: 1.5;
  color: #FFFFFF;
  font-weight: 500;
  text-wrap: balance;
}
.announce a {
  color: #FFFFFF; font-weight: 700; white-space: nowrap;
  text-decoration: underline; text-decoration-color: rgba(255, 255, 255, 0.6); text-underline-offset: 3px;
}

/* ---------- Header and navigation ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(28, 28, 28, 0.97);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.header-inner {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1.5rem;
  min-height: 4.75rem;
}
.header-inner .book-btn { justify-self: end; }
.brand { display: block; flex: none; line-height: 0; }
.brand img { height: clamp(2.3rem, 1.9rem + 1.2vw, 2.9rem); width: auto; }
.nav { display: flex; align-items: center; justify-content: center; }
.nav ul { display: flex; gap: 1.75rem; margin: 0; padding: 0; list-style: none; }
.nav li { position: relative; }
.nav .sub {
  position: absolute; top: 100%; left: -1rem; z-index: 5;
  display: block; min-width: 12rem; margin-top: 0.6rem; padding: 0.5rem 1rem;
  background: var(--bg); border: 1px solid var(--brass-line); border-radius: var(--radius);
  opacity: 0; visibility: hidden; transform: translateY(-4px);
  transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
}
.nav .sub::before { content: ""; position: absolute; left: 0; right: 0; top: -0.7rem; height: 0.7rem; }
.nav .has-sub:hover > .sub, .nav .has-sub:focus-within > .sub {
  opacity: 1; visibility: visible; transform: none; transition: opacity .2s ease, transform .2s ease, visibility 0s;
}
.nav .sub a:not(.btn) { display: block; padding: 0.45rem 0; border-bottom: 0; }
.nav .caret { display: inline-block; width: 0.45em; height: 0.45em; margin-left: 0.4em; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-0.2em) rotate(45deg); }
.nav a:not(.btn) {
  font-size: 1.15rem; font-weight: 450; color: var(--ivory); text-decoration: none;
  padding: 0.35rem 0; border-bottom: 1px solid transparent;
  transition: color .2s ease, border-color .2s ease;
}
.nav a[aria-current="page"] { color: var(--brass); border-bottom-color: var(--brass); }
@media (hover: hover) { .nav a:not(.btn):hover { color: var(--brass); } }

.nav-toggle {
  display: none;
  width: 2.75rem; height: 2.75rem; padding: 0;
  border: 1px solid var(--brass-line); border-radius: 50%;
  background: transparent; color: var(--ivory); cursor: pointer;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 18px; height: 1.5px; margin: 0 auto;
  background: currentColor; position: relative; transition: transform .25s ease, background-color .25s ease;
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 899px) {
  .header-inner { display: flex; justify-content: space-between; gap: 0.75rem; min-height: 4.25rem; }
  .header-inner .book-btn { margin-left: auto; }
  .nav-toggle { display: grid; place-items: center; flex: none; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    display: none; flex-direction: column; align-items: stretch; gap: 1rem;
    padding: 1rem var(--pad) 1.5rem;
    background: var(--bg); border-bottom: 1px solid var(--brass-line);
    max-height: calc(100vh - 4.25rem); overflow-y: auto;
  }
  .nav-open .nav { display: flex; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav a:not(.btn) { display: block; padding: 0.8rem 0; border-bottom: 1px solid var(--brass-line); font-size: 1.05rem; }
  .nav a[aria-current="page"] { color: var(--brass); }
  .nav .btn { width: 100%; }
  .nav .sub { position: static; opacity: 1; visibility: visible; transform: none; min-width: 0; margin: 0; padding: 0 0 0 1.1rem; border: 0; background: none; }
  .nav .sub::before, .nav .caret { display: none; }
  .nav .sub a:not(.btn) { padding: 0.7rem 0; border-bottom: 1px solid var(--brass-line); font-size: 0.98rem; }
}

/* ---------- Hero (home) ---------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid; place-items: center;
  align-content: end;
  min-height: clamp(26rem, 62vh, 34rem);
  padding: clamp(3rem, 8vw, 5rem) 0 clamp(2.5rem, 5vw, 3.5rem);
  text-align: center;
  background: #14223C url("/assets/media/hero-poster.jpg") center / cover no-repeat;
}
/* Background video, plays silently on a loop */
.hero-video {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover;
}
/* Navy tint and fine texture over the video so the text stays readable */
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.28) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.28) 0 1px, transparent 1px 3px),
    linear-gradient(180deg, rgba(20, 34, 60, 0.72), rgba(16, 28, 50, 0.86));
}
.hero-title {
  margin: 0 0 1rem;
  font-family: var(--serif);
  font-weight: 380;
  font-variation-settings: "opsz" 144, "SOFT" 70;
  font-size: clamp(2.4rem, 1.8rem + 2.6vw, 3.6rem);
  line-height: 1;
  letter-spacing: -0.03em;
}
.hero .lede { color: var(--ivory); max-width: 40ch; }
.hero .btn-row { justify-content: center; margin-top: 1.75rem; }

.stats {
  list-style: none; margin: clamp(1.75rem, 4vw, 2.5rem) auto 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 52rem;
}
.stat { padding: 0.4rem clamp(0.5rem, 2vw, 1.25rem); min-width: 0; }
.stat + .stat { border-left: 1px solid var(--brass-line); }
.stat strong {
  display: block; margin-bottom: 0.35rem;
  font-family: var(--serif); font-weight: 500;
  font-variation-settings: "opsz" 72, "SOFT" 30;
  font-size: clamp(1.2rem, 1rem + 0.9vw, 1.6rem); line-height: 1.2;
}
.stat span { display: block; font-size: 0.92rem; line-height: 1.4; color: var(--mist); }
@media (max-width: 600px) {
  .stats { grid-template-columns: 1fr; max-width: 22rem; }
  .stat { padding: 0.9rem 0; }
  .stat + .stat { border-left: 0; border-top: 1px solid var(--brass-line); }
}

/* ---------- Two-column media rows (about, rooms) ---------- */
.row {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center;
}
.media { position: relative; width: 100%; overflow: hidden; border-radius: var(--radius); background: var(--navy-700); }
.media--video { aspect-ratio: 16 / 9; }
.media--video video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #000; }
.media--photo { aspect-ratio: 3 / 2; }
.media--photo img { width: 100%; height: 100%; object-fit: cover; }
.bay-tag {
  position: absolute; left: 0.9rem; bottom: 0.9rem;
  padding: 0.35rem 0.85rem 0.4rem; border-radius: 4px;
  background: var(--ivory); color: var(--navy-900);
  font-family: var(--serif); font-weight: 500; font-variation-settings: "opsz" 72, "SOFT" 30;
  font-size: clamp(1rem, 0.9rem + 0.4vw, 1.25rem); line-height: 1.1;
}
.copy { min-width: 0; }
.copy > .btn { margin-top: 1.4rem; }
.list-intro { margin: 1.1rem 0 0.5rem; color: var(--ivory); font-weight: 500; }
.rooms-head { margin-top: clamp(3.5rem, 7vw, 6rem); }
.room + .room { margin-top: clamp(2rem, 5vw, 4rem); padding-top: clamp(2rem, 5vw, 4rem); border-top: 1px solid var(--brass-line); }
@media (max-width: 760px) {
  .row { grid-template-columns: 1fr; align-items: start; max-width: 38rem; margin-left: auto; margin-right: auto; }
  .copy > .btn { width: 100%; }
}

/* ---------- Hours and rates ---------- */
.rates-layout {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: clamp(1.5rem, 6vw, 6rem); align-items: center;
}
.rates-layout .title { text-align: left; }
.hours { margin: 0; padding-left: 1rem; border-left: 1px solid var(--brass); display: grid; gap: 0.35rem; }
.hours p { margin: 0; }
.rates { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--brass-line); min-width: 0; }
.rate {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: clamp(0.75rem, 2vw, 1.5rem);
  align-items: center; padding: clamp(0.8rem, 1.4vw, 1rem) 0.25rem; border-top: 1px solid var(--brass-line);
}
.rate .h3 { grid-column: 1; grid-row: 1; margin: 0 0 0.15rem; font-size: clamp(1.2rem, 1rem + 0.8vw, 1.6rem); }
.rate .when { grid-column: 1; grid-row: 2; margin: 0; font-size: 0.9rem; }
.price {
  grid-column: 2; grid-row: 1 / span 2; margin: 0;
  font-family: var(--serif); font-weight: 400; font-variation-settings: "opsz" 144, "SOFT" 60;
  font-size: clamp(2rem, 1.4rem + 2.4vw, 3.25rem); line-height: 1; letter-spacing: -0.02em;
  font-variant-numeric: lining-nums tabular-nums; color: var(--ivory); white-space: nowrap;
}
.price small { margin-left: 2px; font: 400 0.85rem var(--sans); letter-spacing: 0; color: var(--mist); }
@media (max-width: 760px) {
  .rates-layout { grid-template-columns: 1fr; max-width: 36rem; margin: 0 auto; }
}
@media (max-width: 380px) {
  .price { font-size: 1.85rem; }
  .price small { display: block; margin: 0.25rem 0 0; text-align: right; }
}

/* ---------- Food delivery ---------- */
.food-layout {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: clamp(1.5rem, 6vw, 6rem); align-items: center;
}
.food-layout .title { text-align: left; }
.food-layout .lede { margin: 0 0 0.75rem; color: var(--ivory); max-width: 34ch; }
.kitchens { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--brass-line); min-width: 0; }
.kitchen {
  display: grid; grid-template-columns: auto minmax(0, 1fr);
  column-gap: clamp(0.75rem, 2vw, 1.5rem); row-gap: 0.35rem; align-items: center;
  padding: clamp(0.8rem, 1.4vw, 1rem) 0.25rem; border-top: 1px solid var(--brass-line);
}
.logo {
  grid-column: 1; grid-row: 1 / span 2; position: relative;
  width: clamp(2.75rem, 2.4rem + 1.3vw, 3.5rem); aspect-ratio: 1;
  border-radius: 14px; background: var(--ivory); overflow: hidden;
  display: grid; place-items: center;
}
.logo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 7px; }
.logo span { font-family: var(--serif); font-size: 1.3rem; color: var(--brass-dark); }
.kitchen .h3 { grid-column: 2; grid-row: 1; margin: 0; font-size: clamp(1.2rem, 1rem + 0.8vw, 1.6rem); }
.dish {
  grid-column: 2; grid-row: 2; margin: 0;
  font-family: var(--serif); font-style: italic; font-weight: 350; font-variation-settings: "opsz" 18;
  font-size: 0.95rem; line-height: 1.45;
}
@media (max-width: 760px) {
  .food-layout { grid-template-columns: 1fr; max-width: 36rem; margin: 0 auto; }
}

/* ---------- Map ---------- */
.map {
  position: relative; overflow: hidden;
  border: 1px solid var(--brass-line); border-radius: var(--radius); background: var(--navy-700);
  height: clamp(18rem, 40vw, 30rem);
}
.map iframe {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0;
  /* Dark map look. Delete this line for the normal light Google map */
  filter: invert(90%) hue-rotate(180deg) brightness(0.95) contrast(0.9);
}
.map-wrap { max-width: 40rem; margin: 0 auto; }
.map-wrap .map { height: clamp(18rem, 42vw, 31rem); }
.map-details {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 1rem 1.5rem; padding-top: 1.25rem;
}
.map-details address { font-style: normal; }
.map-details address strong { display: block; font-family: var(--serif); font-weight: 500; font-size: 1.35rem; }
.map-details address span { color: var(--mist); }
@media (max-width: 600px) {
  .map-details { flex-direction: column; align-items: stretch; }
}

/* ---------- Page header (inner pages) ---------- */
.page-head { padding: clamp(3rem, 7vw, 5rem) 0 clamp(1.5rem, 3vw, 2.5rem); text-align: center; }

/* ---------- Events ---------- */
.featured {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center;
  padding: clamp(1.4rem, 3vw, 2.5rem);
  border: 1px solid var(--brass-line); border-top: 2px solid var(--brass);
  border-radius: var(--radius); background: var(--navy-800);
}
.status { display: inline-flex; align-items: center; gap: 0.5rem; }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--brass); }
.event-title {
  margin: 0 0 0.35rem;
  font-family: var(--serif); font-weight: 450; font-variation-settings: "opsz" 144, "SOFT" 50;
  font-size: clamp(1.9rem, 1.3rem + 2.4vw, 2.9rem); line-height: 1.05; letter-spacing: -0.02em;
}
.event-sub { margin: 0 0 1rem; color: var(--ivory); }
.featured .btn-row { margin-top: 1.4rem; }
.featured + .featured { margin-top: clamp(1.5rem, 3vw, 2rem); }
.btn--disabled { opacity: 0.55; cursor: not-allowed; pointer-events: none; }
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.25rem, 3vw, 2rem); margin-top: clamp(1.5rem, 3vw, 2rem); }
.card { min-width: 0; padding: clamp(1.25rem, 2.5vw, 1.9rem); border: 1px solid var(--brass-line); border-radius: var(--radius); }
.card--soon { border-style: dashed; }
.card .social { margin-top: 1.1rem; }
@media (max-width: 760px) {
  .featured, .cards { grid-template-columns: 1fr; }
  .featured .btn { flex: 1 1 100%; }
}

/* ---------- League ---------- */
.glance {
  list-style: none; margin: 0 auto; padding: 0; max-width: 56rem;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); text-align: center;
}
.glance li { padding: 0.4rem clamp(0.5rem, 2vw, 1.25rem); }
.glance li + li { border-left: 1px solid var(--brass-line); }
.glance span { display: block; margin-bottom: 0.25rem; font-size: 0.85rem; color: var(--mist); }
.glance strong {
  display: block; font-family: var(--serif); font-weight: 450; font-variation-settings: "opsz" 72, "SOFT" 30;
  font-size: clamp(1.25rem, 1rem + 1.1vw, 1.75rem); line-height: 1.2;
}
.signup {
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  margin-top: clamp(2rem, 4vw, 3rem); padding: clamp(1.25rem, 2.5vw, 1.75rem) 0;
  border-top: 1px solid var(--brass-line); border-bottom: 1px solid var(--brass-line);
}
.signup-col { display: grid; gap: clamp(1.5rem, 3vw, 2rem); min-width: 0; }
.signup .dot-list { margin-bottom: 1rem; }
.soon { margin-top: 0.9rem; font-family: var(--serif); font-style: italic; color: var(--brass); }
.weeks {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--brass-line);
}
.week { padding: 0.9rem 1rem; border-bottom: 1px solid var(--brass-line); }
.week:not(:nth-child(3n + 1)) { border-left: 1px solid var(--brass-line); }
.week span { display: block; margin-bottom: 0.1rem; font-size: 0.82rem; color: var(--mist); }
.week strong { display: block; font-family: var(--serif); font-weight: 500; font-size: clamp(1rem, 0.95rem + 0.3vw, 1.2rem); line-height: 1.3; }
.week--playoff strong { color: var(--brass); }
.rule-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.75rem, 4vw, 3rem) clamp(1.75rem, 5vw, 4rem); }
.rule { min-width: 0; padding-top: 1rem; border-top: 1px solid var(--brass); }
.rule .note { margin-top: 0.9rem; }
@media (max-width: 760px) {
  .glance { grid-template-columns: 1fr; max-width: 22rem; }
  .glance li { padding: 0.75rem 0; }
  .glance li + li { border-left: 0; border-top: 1px solid var(--brass-line); }
  .signup, .rule-grid { grid-template-columns: 1fr; }
  .signup .btn { width: 100%; }
  .weeks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .week:not(:nth-child(3n + 1)) { border-left: 0; }
  .week:nth-child(2n) { border-left: 1px solid var(--brass-line); }
}

/* ---------- FAQ accordion ---------- */
.faq { border-top: 1px solid var(--brass-line); }
.faq-item { border-bottom: 1px solid var(--brass-line); }
.faq-item h2 { margin: 0; }
.faq-q {
  display: flex; align-items: center; justify-content: space-between; gap: 1.25rem;
  width: 100%; padding: clamp(1.1rem, 2.2vw, 1.5rem) 0.25rem;
  border: 0; background: none; color: var(--ivory); text-align: left; cursor: pointer;
  font-family: var(--serif); font-weight: 500; font-variation-settings: "opsz" 72, "SOFT" 30;
  font-size: clamp(1.1rem, 1rem + 0.6vw, 1.45rem); line-height: 1.3; letter-spacing: -0.01em;
  transition: color .2s ease; -webkit-tap-highlight-color: transparent;
}
@media (hover: hover) { .faq-q:hover { color: var(--brass); } }
.faq-icon {
  position: relative; flex: none; width: 2rem; height: 2rem;
  border: 1px solid var(--brass-line); border-radius: 50%; transition: border-color .2s ease;
}
.faq-icon::before, .faq-icon::after {
  content: ""; position: absolute; top: 50%; left: 50%;
  width: 12px; height: 1.5px; margin: -0.75px 0 0 -6px; background: var(--brass);
  transition: transform .35s ease;
}
.faq-icon::after { transform: rotate(90deg); }
.faq-item.open .faq-icon { border-color: var(--brass); }
.faq-item.open .faq-icon::after { transform: rotate(0deg); }
.faq-a { display: grid; grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows .35s ease, visibility 0s linear .35s; }
.faq-item.open .faq-a { grid-template-rows: 1fr; visibility: visible; transition: grid-template-rows .35s ease, visibility 0s linear 0s; }
.faq-a-inner { overflow: hidden; min-height: 0; }
.faq-a-body { padding: 0 0.25rem clamp(1.25rem, 2.4vw, 1.6rem); opacity: 0; transform: translateY(-4px); transition: opacity .35s ease, transform .35s ease; }
.faq-item.open .faq-a-body { opacity: 1; transform: none; }
.faq-a-body > .btn { margin: 0.25rem 0 1rem; }
.faq-more { margin-top: clamp(1.5rem, 3.5vw, 2.5rem); text-align: center; font-family: var(--serif); font-size: 1.1rem; color: var(--ivory); }
@media (prefers-reduced-motion: reduce) {
  .faq-a, .faq-a-body, .faq-icon::before, .faq-icon::after { transition: none; }
}

/* ---------- Gallery ---------- */
.gallery-wrap { container-type: inline-size; }
.gallery {
  --cols: 4; --gap: clamp(8px, 1.2vw, 14px); --ratio: 1;
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr));
  grid-auto-rows: calc((100cqi - (var(--cols) - 1) * var(--gap)) / var(--cols) * var(--ratio));
  gap: var(--gap);
}
.tile { min-width: 0; }
/* First photo large, the rest fill in around it */
.tile:first-child { grid-column: span 2; grid-row: span 2; }
.shot {
  display: block; width: 100%; height: 100%; padding: 0; border: 0;
  border-radius: var(--radius); overflow: hidden; background: var(--navy-700); cursor: zoom-in;
}
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease, filter .3s ease; }
@media (hover: hover) { .shot:hover img { transform: scale(1.04); filter: brightness(1.06); } }
@media (max-width: 1000px) {
  .gallery { --cols: 3; --ratio: 0.9; }
}
@media (max-width: 600px) {
  .gallery { --cols: 2; --ratio: 1.1; }
  .tile:first-child { grid-row: span 1; }
}

.lightbox {
  position: fixed; inset: 0; z-index: 90;
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-rows: auto minmax(0, 1fr) auto;
  align-items: center; gap: 0.5rem; padding: 0.75rem;
  background: rgba(7, 14, 24, 0.96);
  opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility 0s linear .25s;
}
.lightbox.open { opacity: 1; visibility: visible; transition: opacity .25s ease, visibility 0s linear 0s; }
.lb-top { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; font-size: 0.9rem; color: var(--mist); }
.lb-figure { grid-column: 2; grid-row: 2; margin: 0; height: 100%; min-height: 0; display: grid; place-items: center; }
.lb-figure img { max-width: 100%; max-height: 100%; border-radius: 4px; object-fit: contain; }
.lb-caption { grid-column: 1 / -1; margin: 0; min-height: 1.4em; text-align: center; font-family: var(--serif); color: var(--ivory); }
.lb-btn {
  display: grid; place-items: center; width: 2.75rem; height: 2.75rem; padding: 0;
  border: 1px solid var(--brass); border-radius: 50%; background: rgba(10, 19, 32, 0.6); color: var(--ivory); cursor: pointer;
}
.lb-btn svg { width: 1.2rem; height: 1.2rem; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@media (hover: hover) { .lb-btn:hover { background: var(--brass); color: var(--navy-900); } }
.lb-prev { grid-column: 1; grid-row: 2; }
.lb-next { grid-column: 3; grid-row: 2; }
@media (max-width: 600px) {
  .lightbox { grid-template-columns: 1fr; grid-template-rows: auto minmax(0, 1fr) auto auto; }
  .lb-figure { grid-column: 1; }
  .lb-caption { grid-row: 3; }
  .lb-prev, .lb-next { grid-column: 1; grid-row: 4; }
  .lb-prev { justify-self: start; }
  .lb-next { justify-self: end; }
}

/* ---------- Contact ---------- */
.ways { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(0.9rem, 2vw, 1.5rem); }
.way {
  display: flex; flex-direction: column; min-width: 0;
  padding: clamp(1.25rem, 2.4vw, 1.75rem);
  border: 1px solid var(--brass-line); border-top: 2px solid var(--brass);
  border-radius: var(--radius); background: var(--navy-800);
}
.way > svg { width: 1.6rem; height: 1.6rem; margin-bottom: 0.9rem; stroke: var(--brass); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.way > div { margin-bottom: 1.1rem; }
.way > div:last-child { margin-bottom: 0; }
.way .btn { margin-top: auto; align-self: flex-start; }
.big-link { display: inline-block; margin-bottom: 0.25rem; font-size: clamp(1.02rem, 0.95rem + 0.35vw, 1.2rem); font-weight: 500; line-height: 1.4; text-decoration: none; overflow-wrap: anywhere; }
@media (hover: hover) { .big-link:hover { text-decoration: underline; text-decoration-color: var(--brass); text-underline-offset: 4px; } }
.small-label { display: block; margin-top: 0.6rem; font-size: 0.82rem; color: var(--mist); }
.visit { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: clamp(1.5rem, 4vw, 3rem); margin-top: clamp(2rem, 4.5vw, 3.5rem); align-items: stretch; }
.visit .map { height: auto; min-height: 22rem; }
.visit .social { margin-top: 0.75rem; }
@media (max-width: 860px) {
  .ways { grid-template-columns: 1fr; }
  .way { flex-direction: row; flex-wrap: wrap; align-items: flex-start; column-gap: 1rem; }
  .way > svg { margin: 0.1rem 0 0; }
  .way > div { flex: 1 1 0; min-width: 0; margin-bottom: 0; }
  .way .btn { margin-top: 0.9rem; }
}
@media (max-width: 760px) {
  .visit { grid-template-columns: 1fr; }
  .visit .map { min-height: 18rem; }
}
@media (max-width: 600px) { .way .btn { flex: 1 1 100%; } }

/* Contact form */
.form-layout { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(1.75rem, 5vw, 4.5rem); align-items: start; }
.form-layout .title { text-align: left; }
.contact-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 1.1rem; }
.field { display: grid; gap: 0.35rem; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 0.9rem; font-weight: 600; color: var(--ivory); }
.field .req { color: var(--brass); }
.field input, .field select, .field textarea {
  width: 100%; padding: 0.75rem 0.9rem;
  border: 1px solid transparent; border-radius: 2px;
  background: var(--field); color: var(--ivory);
  font: 400 1rem/1.4 var(--sans); /* 16px stops iPhones zooming in */
  transition: border-color .2s ease;
}
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--brass) 50%), linear-gradient(135deg, var(--brass) 50%, transparent 50%); background-position: calc(100% - 18px) 55%, calc(100% - 13px) 55%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 2.25rem; }
.field textarea { min-height: 2.9rem; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--mist); opacity: 0.7; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brass); outline: none; box-shadow: 0 0 0 2px rgba(194, 160, 97, 0.3); }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { grid-column: 1 / -1; }
.form-actions .btn { width: 100%; min-height: 2.9rem; background: var(--field); color: var(--ivory); border-color: var(--brass); }
@media (hover: hover) { .form-actions .btn:hover { background: var(--brass); color: var(--navy-900); } }
.form-status { min-height: 1.5em; margin: 0.75rem 0 0; text-align: center; font-size: 0.95rem; color: var(--ivory); }
.form-status.is-error { color: var(--error); }
@media (max-width: 760px) { .form-layout { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .contact-form { grid-template-columns: 1fr; } }

/* Section with a soft photo behind it */
.section--photo { position: relative; isolation: isolate; overflow: hidden; }
.section--photo::before {
  content: ""; position: absolute; inset: -20px; z-index: -2;
  background: url("/assets/media/bar-front.jpg") center / cover no-repeat;
  filter: blur(2px);
}
.section--photo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--contact-blue); }
.contact-heading { margin: 0; font-family: var(--serif); font-weight: 450; font-variation-settings: "opsz" 72, "SOFT" 40; font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.15rem); line-height: 1.2; letter-spacing: -0.01em; }
.contact-ways { list-style: none; margin: 1.75rem 0 0; padding: 0; display: grid; gap: 1.1rem; }
.contact-ways li { display: grid; grid-template-columns: 1.4rem minmax(0, 1fr); column-gap: 0.85rem; align-items: start; }
.contact-ways svg { width: 1.4rem; height: 1.4rem; margin-top: 0.15rem; stroke: var(--brass); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.contact-ways span { display: block; font-size: 0.85rem; color: var(--mist); }
.contact-ways a { color: var(--ivory); text-decoration: none; overflow-wrap: anywhere; }
@media (hover: hover) { .contact-ways a:hover { text-decoration: underline; text-decoration-color: var(--brass); text-underline-offset: 3px; } }
.form-layout .social { margin-top: 1.75rem; padding-top: 1.5rem; border-top: 1px solid rgba(238, 232, 218, 0.25); }

/* ---------- Waiver ---------- */
.waiver-card {
  max-width: 40rem; margin: 0 auto; padding: clamp(1.75rem, 4vw, 3rem);
  text-align: center; border: 1px solid var(--brass-line); border-top: 2px solid var(--brass);
  border-radius: var(--radius); background: var(--navy-800);
}
.waiver-card svg { width: 2.5rem; height: 2.5rem; margin: 0 auto 1rem; stroke: var(--brass); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.waiver-card .btn { margin-top: 1.5rem; min-height: 3rem; padding: 0.75rem 1.75rem; font-size: 1rem; }
.waiver-card .fine { margin-top: 1.25rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-deep); padding: clamp(2.5rem, 5vw, 3.5rem) 0 1.25rem; }
.footer-top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); gap: clamp(1.5rem, 4vw, 3.5rem); }
.wordmark { display: inline-block; font-family: var(--serif); font-weight: 450; font-variation-settings: "opsz" 144, "SOFT" 40; font-size: clamp(1.8rem, 1.5rem + 1vw, 2.3rem); letter-spacing: -0.02em; line-height: 1; text-decoration: none; }
.tagline { margin: 0.4rem 0 1.1rem; font-family: var(--serif); font-style: italic; color: var(--brass); }
.footer-brand .social { margin-top: 1.25rem; }
.footer-brand .social a { width: 2.5rem; height: 2.5rem; border-color: var(--brass-line); }
.footer-col h2 { margin: 0 0 0.75rem; font-size: 0.85rem; font-weight: 600; color: var(--brass); }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.footer-col li, .footer-col p { margin: 0; font-size: 0.95rem; color: var(--mist); }
.footer-col a { color: var(--ivory); text-decoration: none; overflow-wrap: anywhere; }
@media (hover: hover) { .footer-col a:hover { text-decoration: underline; text-decoration-color: var(--brass); text-underline-offset: 3px; } }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 1.5rem; margin-top: clamp(1.75rem, 4vw, 2.75rem); padding-top: 1rem; border-top: 1px solid var(--brass-line); font-size: 0.82rem; color: var(--mist); }
.footer-bottom p { margin: 0; }
@media (max-width: 600px) {
  .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; }
}
@media (max-width: 380px) { .footer-top { grid-template-columns: 1fr; } }

/* Newsletter section */
.news { background: var(--bg-news); padding: clamp(2.25rem, 5vw, 3rem) 0; }
.news-inner { max-width: 34rem; margin: 0 auto; }
.news h2 { margin: 0 0 1.25rem; font-family: var(--serif); font-weight: 450; font-variation-settings: "opsz" 144, "SOFT" 40; font-size: clamp(2rem, 1.5rem + 2.2vw, 3rem); line-height: 1.05; letter-spacing: -0.015em; }
.news form { display: grid; gap: 0.9rem; }
.news label.field-label { display: block; margin-bottom: 0.35rem; font-size: 0.9rem; font-weight: 600; }
.news input[type="email"] { width: 100%; padding: 0.6rem 0.8rem; border: 0; border-radius: 0; background: #FFFFFF; color: #1C1C1C; font: 400 1rem/1.3 var(--sans); }
.news input[type="email"]:focus-visible { outline: 2px solid var(--brass); outline-offset: 2px; }
.news label.check { display: flex; gap: 0.6rem; align-items: center; font-size: 0.95rem; font-weight: 600; cursor: pointer; }
.news input[type="checkbox"] { width: 1rem; height: 1rem; margin: 0; accent-color: var(--brass); flex: none; }
.news .btn { width: 100%; border-radius: 4px; border-color: var(--ivory); }
.news .form-status { margin: 0; text-align: left; }

/* ---------- Floating Book now button ---------- */
@property --spin { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
.book-btn {
  --spin: 0deg;
  display: block; height: 3.1rem; padding: 2px; border-radius: 999px;
  background: conic-gradient(from var(--spin), var(--brass-dark) 0deg, var(--brass-light) 60deg, #FFFFFF 90deg, var(--brass-light) 120deg, var(--brass-dark) 200deg, var(--brass-dark) 360deg);
  text-decoration: none;
  animation: book-spin 3.2s linear infinite, book-glow 2.6s ease-out infinite;
  transition: transform .25s cubic-bezier(.3, 1.4, .5, 1);
  -webkit-tap-highlight-color: transparent;
}
@keyframes book-spin { to { --spin: 360deg; } }
@keyframes book-glow {
  0%   { box-shadow: 0 4px 14px rgba(7, 14, 24, 0.6), 0 0 0 0 rgba(194, 160, 97, 0.6); }
  70%  { box-shadow: 0 4px 14px rgba(7, 14, 24, 0.6), 0 0 0 10px rgba(194, 160, 97, 0); }
  100% { box-shadow: 0 4px 14px rgba(7, 14, 24, 0.6), 0 0 0 0 rgba(194, 160, 97, 0); }
}
.book-btn .face {
  display: flex; align-items: center; justify-content: center; gap: 0.6em;
  height: 100%; padding: 0 1.4em; border-radius: 999px;
  background: radial-gradient(120% 140% at 30% 0%, var(--brass-light) 0%, var(--brass) 45%, var(--brass-dark) 100%);
  color: var(--navy-900); font: 700 1.1rem/1 var(--sans); letter-spacing: 0.02em; white-space: nowrap;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.35);
  transition: background .25s ease;
}
.book-btn .ball { width: 1.25em; height: 1.25em; flex: none; transition: transform .6s cubic-bezier(.3, 1.2, .5, 1); }
.book-btn .ball .b { fill: #FFFFFF; stroke: rgba(10, 19, 32, 0.25); stroke-width: 1; }
.book-btn .ball .d { fill: rgba(143, 111, 53, 0.45); }
.book-btn .arrow { width: 1em; height: 1em; flex: none; stroke: currentColor; fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s ease; }
@media (hover: hover) {
  .book-btn:hover { transform: translateY(-2px) scale(1.02); }
  .book-btn:hover .face { background: var(--ivory); text-shadow: none; }
  .book-btn:hover .ball { transform: rotate(360deg); }
  .book-btn:hover .arrow { transform: translateX(4px); }
}
.book-btn:active { transform: scale(0.97); }
@media (max-width: 899px) {
  .book-btn { height: 2.75rem; }
  .book-btn .face { padding: 0 1em; font-size: 0.98rem; }
}
@media (max-width: 380px) {
  .book-btn .arrow { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .book-btn { animation: none; }
  .book-btn, .book-btn .ball, .book-btn .arrow { transition: none; }
  .book-btn:hover, .book-btn:hover .ball, .book-btn:hover .arrow { transform: none; }
}

/* ---------- 404 ---------- */
.not-found { min-height: 55vh; display: grid; place-items: center; text-align: center; }
.not-found .btn-row { justify-content: center; margin-top: 1.5rem; }
