/* Sydney Comedy Guide. Bright, airy content on a dark header and footer. Mobile first. */
:root {
  --bg: #faf8f4;
  --card: #ffffff;
  --ink: #1b1917;
  --muted: #5f574d;
  --line: #e2dccf;
  --line-soft: #eee9df;
  --amber: #8a5a00;
  --amber-hi: #5c3b00;
  --focus: #121110;
  --surface-2: #f1ede5;
  --accent: #ffc93c;
  --accent-hi: #ffd966;
  --accent-ink: #121110;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(18, 17, 16, .06), 0 4px 14px rgba(18, 17, 16, .06);
  --shadow-hi: 0 2px 4px rgba(18, 17, 16, .08), 0 14px 30px rgba(18, 17, 16, .14);
  --font: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --fs-xs: .8125rem;
  --fs-sm: .9rem;
  --fs-base: 1rem;
  --fs-md: 1.125rem;
  --header-h: 60px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --t-fast: 150ms;
  --t-med: 220ms;
}
/* Dark islands: header, footer, hero, mobile booking bar */
.dark {
  --bg: #121110; --card: #1b1917; --ink: #f2eee6; --muted: #bdb6a9; --line: #3a3630; --line-soft: #2a2724;
  --amber: #ffc93c; --amber-hi: #ffe08a; --focus: #ffc93c; --surface-2: #24211e;
  color: var(--ink);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font);
  font-size: var(--fs-base); line-height: 1.5; min-height: 100vh; display: flex; flex-direction: column;
}
main { flex: 1; padding-block: .75rem 2.5rem; }
main:focus { outline: none; }
.wrap { width: 100%; max-width: 72rem; margin-inline: auto; padding-inline: 16px; }

h1, h2, h3, h4 { font-family: var(--font); font-stretch: 78%; line-height: 1.12; margin: 0 0 .5em; }
h1 { font-weight: 900; font-size: clamp(1.75rem, 5.5vw, 2.5rem); letter-spacing: .005em; margin: .1em 0 .4em; }
.section-title {
  display: flex; align-items: center; gap: .75rem; font-weight: 800; font-size: var(--fs-sm); text-transform: uppercase;
  letter-spacing: .1em; color: var(--ink); margin: 2rem 0 .75rem;
}
.section-title::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.day-title { font-weight: 800; font-size: 1.35rem; margin: 2rem 0 .75rem; }
.day-title a { color: var(--ink); text-decoration: none; transition: color var(--t-fast) var(--ease); }
.day-title a:hover { color: var(--amber); text-decoration: underline; }
p { margin: 0 0 .85rem; }
main > p, main > article > p { max-width: 46rem; }
.lede { font-size: var(--fs-md); max-width: 46rem; margin-bottom: 1rem; }
.fine { font-size: var(--fs-sm); color: var(--muted); }
.muted { color: var(--muted); }
.count { color: var(--muted); font-size: var(--fs-sm); margin-left: .35rem; }
.more { margin: .25rem 0 0; }

a { color: var(--amber); text-underline-offset: .18em; transition: color var(--t-fast) var(--ease); }
a:hover { color: var(--amber-hi); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }

.sr {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 8px; top: -60px; z-index: 100; background: var(--accent); color: var(--accent-ink);
  padding: .75rem 1rem; border-radius: var(--radius-sm); font-weight: 700; text-decoration: none;
}
.skip:focus { top: 8px; }

/* Header: dark, sticky, slims on scroll. No border: it showed as a light line against the hero photo. */
.site-header {
  position: sticky; top: 0; z-index: 50; background: #121110;
  view-transition-name: site-header;
}
.site-header.is-scrolled { box-shadow: 0 6px 20px rgba(0, 0, 0, .35); }
.header-inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 .75rem;
  min-height: var(--header-h); transition: min-height var(--t-med) var(--ease);
}
.site-header.is-scrolled .header-inner { min-height: 52px; }
.brand {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px; min-width: 0; align-self: center;
  color: var(--ink); text-decoration: none; font-family: var(--font); font-weight: 800; font-stretch: 100%;
  letter-spacing: -.03em; font-size: clamp(.98rem, 4.8vw, 1.3rem); line-height: 1; white-space: nowrap;
  transition: transform var(--t-fast) var(--ease);
}
.brand:hover { color: var(--ink); }
.brand:active { transform: scale(.98); }
.brand:hover .brand-icon { transform: rotate(-2deg) scale(1.05); }
.brand-icon {
  flex: none; display: inline-flex; align-items: center; justify-content: center; width: 1.9em; height: 1.9em; border-radius: 27%;
  background: var(--accent); color: #121110; font-weight: 900; font-size: .9em; letter-spacing: -.04em; line-height: 1;
  transform: rotate(-6deg); transition: transform var(--t-med) var(--ease);
}
.brand-text { min-width: 0; }
.brand-sydney { color: var(--accent); }

.site-nav { flex: 1 0 100%; min-width: 0; }
.site-nav ul { list-style: none; margin: 0; padding: 0 0 .5rem; display: flex; gap: .25rem; overflow-x: auto; scrollbar-width: none; }
.site-nav ul::-webkit-scrollbar { display: none; }
.site-nav a {
  position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 .75rem; white-space: nowrap;
  color: var(--ink); text-decoration: none; font-weight: 600; font-size: var(--fs-sm); border-radius: var(--radius-sm);
}
.site-nav a::after {
  content: ""; position: absolute; left: .75rem; right: .75rem; bottom: 6px; height: 2px; background: var(--accent);
  transform: scaleX(0); transform-origin: left; transition: transform var(--t-med) var(--ease);
}
.site-nav a:hover { color: var(--accent); }
.site-nav a:hover::after, .site-nav a[aria-current="page"]::after { transform: scaleX(1); }
.site-nav a[aria-current="page"] { color: var(--accent); }

.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; margin-right: -8px;
  background: transparent; border: 1px solid transparent; border-radius: var(--radius-sm); color: var(--ink); cursor: pointer;
  transition: background-color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}
.nav-toggle:hover { background: var(--surface-2); border-color: var(--line); }
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
  display: block; width: 20px; height: 2px; background: currentColor; border-radius: 2px;
  transition: transform var(--t-med) var(--ease), background-color var(--t-fast);
}
.nav-toggle-bars { position: relative; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 819px) {
  .js .site-nav {
    position: absolute; top: 100%; left: 0; right: 0; background: var(--bg); border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 28px rgba(0, 0, 0, .45);
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity var(--t-med) var(--ease), transform var(--t-med) var(--ease), visibility 0s linear var(--t-med);
  }
  .js .nav-open .site-nav { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .js .site-nav ul { flex-direction: column; gap: 0; padding: .5rem 16px .75rem; overflow: visible; }
  .js .site-nav a { width: 100%; padding: 0 .5rem; font-size: var(--fs-base); border-bottom: 1px solid var(--line-soft); border-radius: 0; }
  .js .site-nav li:last-child a { border-bottom: 0; }
  .js .site-nav a::after { left: .5rem; right: auto; width: 1.5rem; bottom: 8px; }
}
@media (min-width: 820px) {
  .site-nav { flex: 0 1 auto; }
  .site-nav ul { padding: 0; overflow: visible; }
  .nav-toggle { display: none !important; }
}

/* Breadcrumbs */
.crumbs ol { list-style: none; margin: 0 0 .25rem; padding: 0; display: flex; flex-wrap: wrap; font-size: var(--fs-sm); color: var(--muted); }
.crumbs li + li::before { content: "/"; margin: 0 .5rem; color: var(--line); }
.crumbs a { color: var(--muted); display: inline-block; padding-block: .5rem; }
.crumbs a:hover { color: var(--amber); }
.crumbs [aria-current] { color: var(--ink); }

/* Hero banner */
.hero { position: relative; display: flow-root; background: #121110; color: #fff; }
.hero-media { position: absolute; inset: 0; overflow: hidden; background: #121110; }
.hero-img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 45%; display: block; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(18, 17, 16, .82) 0%, rgba(18, 17, 16, .55) 45%, rgba(18, 17, 16, .18) 100%),
    linear-gradient(180deg, rgba(18, 17, 16, .25) 0%, rgba(18, 17, 16, 0) 40%, rgba(18, 17, 16, .6) 100%);
}
.hero-inner { position: relative; z-index: 2; padding-top: 2rem; }
.hero-short .hero-inner { padding-block: 1.75rem 1.5rem; }
.hero-tall .hero-inner { padding-top: 2.25rem; }
.hero h1 { color: #fff; font-size: clamp(1.9rem, 6.4vw, 3.25rem); max-width: 40rem; text-shadow: 0 2px 18px rgba(0, 0, 0, .45); }
.hero-short h1 { font-size: clamp(1.7rem, 5vw, 2.4rem); margin-bottom: .25em; }
.hero-sub { color: #f2eee6; font-size: var(--fs-md); max-width: 38rem; margin-bottom: 1.25rem; text-shadow: 0 1px 10px rgba(0, 0, 0, .5); }
.hero-short .hero-sub { margin-bottom: 0; }
.hero-credit { position: absolute; z-index: 3; top: 6px; right: 16px; margin: 0; font-size: .72rem; color: rgba(242, 238, 230, .85); }
.hero-credit a { color: #f2eee6; }
.hero-credit a:hover { color: var(--accent); }
.hero :focus-visible { outline-color: #ffc93c; }

/* Search panel overlapping the hero's lower edge */
.search {
  position: relative; display: grid; gap: .6rem; padding: .85rem; margin-bottom: -2.75rem; max-width: 52rem;
  background: #fff; color: #1b1917; border-radius: 16px; box-shadow: 0 12px 36px rgba(0, 0, 0, .3);
}
.search-field { display: grid; gap: .15rem; min-width: 0; }
.search-field label { font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: #5f574d; }
.search select { width: 100%; min-height: 44px; font-weight: 600; background-color: #faf8f4; color: #1b1917; border-color: #e2dccf; }
.search-go { width: 100%; align-self: end; }
.search input[type="date"] { width: 100%; min-height: 44px; font: inherit; font-weight: 600; padding: .55rem .75rem; border: 1px solid #e2dccf; border-radius: 10px; background: #faf8f4; color: #1b1917; box-sizing: border-box; }
@media (min-width: 720px) {
  .search { grid-template-columns: repeat(3, minmax(0, 1fr)) auto; gap: .75rem; padding: 1rem; align-items: end; }
  .search-go { width: auto; min-width: 9.5rem; min-height: 44px; font-size: var(--fs-base); }
}
main.after-search { padding-top: 4rem; }

/* Chips */
.chips ul { list-style: none; margin: 0 0 .25rem; padding: 2px 2px 6px; display: flex; gap: .5rem; overflow-x: auto; scrollbar-width: none; }
.chips ul::-webkit-scrollbar { display: none; }
.chips a {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 1rem; white-space: nowrap; border-radius: 999px;
  background: var(--card); border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 700; font-size: var(--fs-sm);
  transition: transform var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}
.chips a:hover { transform: translateY(-1px); border-color: var(--accent); background: #fff8e1; box-shadow: var(--shadow); color: var(--ink); }
.chips a:active { transform: scale(.97); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: .45rem 1.1rem;
  background: var(--accent); color: var(--accent-ink); font-family: var(--font); font-weight: 800; font-size: var(--fs-base);
  text-decoration: none; border: 2px solid var(--accent); border-radius: 10px; cursor: pointer; text-align: center;
  transition: transform var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}
.btn:hover { background: var(--accent-hi); border-color: var(--accent-hi); color: var(--accent-ink); transform: translateY(-1px); box-shadow: 0 6px 16px rgba(255, 201, 60, .4); }
.btn:active { transform: translateY(0) scale(.98); box-shadow: none; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--surface-2); border-color: var(--ink); color: var(--ink); box-shadow: none; }
.btn-lg { min-height: 48px; padding-inline: 1.5rem; font-size: var(--fs-md); }
.btn-sm { min-height: 40px; padding: .3rem 1rem; font-size: var(--fs-sm); }
.btn-block { width: 100%; }

/* Card grid: image-led vertical cards */
.cards { list-style: none; margin: 0 0 .75rem; padding: 0; display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 600px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 900px) { .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1180px) { .cards { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.card {
  display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line-soft); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow);
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease), border-color var(--t-med) var(--ease), opacity var(--t-med) var(--ease);
}
.card:hover, .card:focus-within { transform: translateY(-3px); box-shadow: var(--shadow-hi); border-color: var(--line); }
.card:active { transform: translateY(0) scale(.995); }
.card.is-filtered, .day.is-filtered { display: none; }
.card-top { position: relative; }
.card-media { display: block; aspect-ratio: 2 / 1; overflow: hidden; background: var(--accent, #FFC93C); }
.card-img { display: block; width: 100%; height: 100%; object-fit: contain; transition: filter 300ms var(--ease); }
.card:hover .card-img { filter: brightness(1.08); }
.card-flag { position: absolute; top: .6rem; left: .6rem; background: var(--accent); color: var(--accent-ink); border-color: var(--accent); box-shadow: 0 2px 8px rgba(0, 0, 0, .25); }
.card-body { flex: 1; min-width: 0; padding: .75rem .9rem 0; position: relative; }
.card-body.has-club .card-when, .card-body.has-club .card-title { padding-right: 46px; }
.card-club { position: absolute; top: .7rem; right: .8rem; width: 40px; height: 40px; border-radius: 10px; overflow: hidden; background: #fff; border: 1px solid var(--line); display: block; transition: transform 200ms var(--ease); }
.card-club:hover { transform: scale(1.06); }
.card-club img { width: 100%; height: 100%; object-fit: contain; display: block; }
.card-when { margin: 0 0 .15rem; display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 .6rem; color: var(--amber); font-weight: 800; font-size: var(--fs-sm); }
.doors { color: var(--muted); font-weight: 500; font-size: var(--fs-xs); }
.card-title {
  margin: 0; font-stretch: 85%; font-weight: 800; font-size: 1.15rem; line-height: 1.2;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden;
}
.card-title a {
  color: var(--ink); text-decoration: none; background: linear-gradient(var(--accent), var(--accent)) 0 100% / 0 3px no-repeat;
  transition: background-size var(--t-med) var(--ease);
}
.card:hover .card-title a, .card-title a:focus-visible { background-size: 100% 3px; }
.card-meta { margin: .2rem 0 0; color: var(--muted); font-size: var(--fs-sm); }
.card-meta a { color: var(--muted); text-decoration-color: var(--line); }
.card-meta a:hover { color: var(--amber); }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: .7rem .9rem .85rem; }
.card-foot .price { font-size: 1.05rem; }
.card-extra { margin: .35rem 0 0; display: flex; flex-wrap: wrap; gap: .25rem .75rem; align-items: center; font-size: var(--fs-sm); }
.price { font-weight: 800; color: var(--ink); }
.badge {
  display: inline-block; padding: .1rem .6rem; border: 1px solid var(--amber); color: var(--amber);
  border-radius: 999px; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em;
}

/* Horizontal rail (home, this weekend) */
.rail { position: relative; }
.cards-rail {
  display: flex; gap: .75rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 2px;
  padding: 4px 2px 14px; margin: 0 -2px; scrollbar-width: thin; overscroll-behavior-x: contain;
}
.cards-rail > .card { flex: 0 0 min(78vw, 17.5rem); scroll-snap-align: start; }
.rail-btn {
  position: absolute; top: 5.5rem; z-index: 3; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line);
  background: #fff; color: #1b1917; box-shadow: var(--shadow-hi); cursor: pointer; font-size: 1.1rem; line-height: 1;
  display: none; align-items: center; justify-content: center;
  transition: transform var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease), opacity var(--t-fast) var(--ease);
}
.rail-btn:hover { background: var(--accent); transform: scale(1.06); }
.rail-btn[disabled] { opacity: 0; pointer-events: none; }
.rail-prev { left: -18px; }
.rail-next { right: -18px; }
@media (min-width: 900px) and (hover: hover) { .rail-btn { display: inline-flex; } }

/* Filter */
.filter { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .75rem; margin: .5rem 0 1rem; padding: .5rem .75rem; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.filter label { font-weight: 700; font-size: var(--fs-sm); }
select, input, textarea {
  font: inherit; color: var(--ink); background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-sm); min-height: 44px; padding: .5rem .75rem; max-width: 100%;
  transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}
select { cursor: pointer; }
.filter select { min-height: 40px; padding-block: .3rem; }
select:hover, input:hover, textarea:hover { border-color: #b9b0a0; }
input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 2px solid var(--focus); outline-offset: 1px; }
.filter-empty { flex-basis: 100%; margin: 0; color: var(--muted); }

/* Notices, lists, tiles, facts */
.notice { padding: .85rem 1rem; background: var(--card); border: 1px dashed #b9b0a0; border-radius: var(--radius); color: var(--ink); }
ul.plain { list-style: none; margin: 0; padding: 0; }
ul.plain.inline { display: flex; flex-wrap: wrap; gap: .1rem 1rem; }
ul.plain.inline a, ul.plain.cols a { display: inline-block; padding-block: .5rem; }
ul.plain.cols { columns: 2; column-gap: 1.5rem; }
.date-list { list-style: none; margin: 0 0 .75rem; padding: 0; display: grid; gap: .5rem; grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr)); }
.date-list li { padding: .6rem .9rem; background: var(--card); border: 1px solid var(--line-soft); border-radius: 10px; box-shadow: var(--shadow); transition: transform var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease); }
.date-list li:hover { transform: translateY(-1px); box-shadow: var(--shadow-hi); }
.tiles { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; grid-template-columns: repeat(auto-fill, minmax(10.5rem, 1fr)); }
.tile {
  display: flex; flex-direction: column; gap: .1rem; padding: .7rem .9rem; background: var(--card); border: 1px solid var(--line-soft);
  border-radius: 10px; box-shadow: var(--shadow); text-decoration: none; color: var(--ink);
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease), border-color var(--t-med) var(--ease);
}
.tile:hover { transform: translateY(-2px); box-shadow: var(--shadow-hi); border-color: var(--accent); color: var(--ink); }
.tile-name { font-weight: 800; font-stretch: 90%; }
.tile-count { color: var(--muted); font-size: var(--fs-xs); }
.teaser {
  margin-top: 2rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.25rem; background: #121110; color: #f2eee6; border-radius: 16px;
}
.teaser h2 { color: #f2eee6; font-size: 1.4rem; margin-bottom: .25rem; }
.teaser p { margin: 0; color: #d9d3c6; }
.teaser-actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.teaser .btn-ghost { color: #f2eee6; border-color: #5a5247; }
.teaser .btn-ghost:hover { background: #24211e; border-color: var(--accent); color: #f2eee6; }

.facts { margin: 1rem 0; padding: .25rem 1rem; display: grid; background: var(--card); border: 1px solid var(--line-soft); border-radius: var(--radius); box-shadow: var(--shadow); max-width: 46rem; }
.facts > div { display: grid; grid-template-columns: 5.5rem 1fr; gap: .5rem; padding: .6rem 0; border-bottom: 1px solid var(--line-soft); }
.facts > div:last-child { border-bottom: 0; }
.facts dt { color: var(--muted); font-weight: 600; font-size: var(--fs-sm); }
.facts dd { margin: 0; }
.eyebrow { margin: 0; }
.pager { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: 1rem; }
.pager a { display: inline-block; padding-block: .5rem; }
main > section > p > a, main > p > a { display: inline-block; padding-block: .25rem; }

/* Show page */
.show-media { margin-top: .5rem; border-radius: var(--radius); overflow: hidden; background: var(--accent, #FFC93C); aspect-ratio: 2 / 1; box-shadow: var(--shadow); }
.show-img { display: block; width: 100%; height: 100%; object-fit: contain; }
.show-layout { display: grid; gap: 1.25rem; margin-top: 1.25rem; }
.show-main { min-width: 0; }
.show-main h1 { margin-top: 0; }
.booking {
  background: var(--card); border: 1px solid var(--line-soft); border-radius: 16px; padding: 1.25rem; box-shadow: var(--shadow-hi);
}
.booking-price { margin: 0 0 .5rem; font-size: 2rem; font-weight: 900; font-stretch: 85%; line-height: 1; }
.booking-price-na { font-size: 1.1rem; font-stretch: 100%; font-weight: 700; }
.booking-from { font-size: var(--fs-sm); font-weight: 600; color: var(--muted); font-stretch: 100%; }
.booking-when { margin: 0 0 1rem; color: var(--muted); }
.booking .fine { margin: .75rem 0 0; }
.book-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: .75rem;
  padding: .6rem 16px calc(.6rem + env(safe-area-inset-bottom)); background: rgba(18, 17, 16, .96); border-top: 1px solid #3a3630;
}
.book-bar > div { display: grid; line-height: 1.2; }
.book-bar-price { font-weight: 900; font-size: 1.15rem; color: #fff; }
.book-bar-when { font-size: var(--fs-xs); color: #bdb6a9; }
.book-bar .btn { min-width: 9rem; }
main:has(.book-bar) { padding-bottom: 5.5rem; }
@media (min-width: 900px) {
  .show-media { aspect-ratio: 2 / 1; max-height: 600px; }
  .show-layout { grid-template-columns: minmax(0, 1fr) 21rem; gap: 2.5rem; align-items: start; }
  .booking { position: sticky; top: calc(var(--header-h) + 16px); }
  .book-bar { display: none; }
  main:has(.book-bar) { padding-bottom: 2.5rem; }
}

/* Forms */
.form { max-width: 38rem; }
.field { display: grid; gap: .25rem; margin: 0 0 .85rem; }
.field label { font-weight: 600; font-size: var(--fs-sm); }
.hp { display: none; }
.cf-turnstile { margin: 0 0 .85rem; min-height: 65px; }
textarea { min-height: 6.5rem; }

/* Footer: dark */
.site-footer { border-top: 1px solid var(--line); background: #0d0c0b; padding-block: 1.5rem; color: var(--muted); font-size: var(--fs-sm); }
.footer-cols { display: grid; gap: 1.25rem 1rem; grid-template-columns: 1fr 1fr; margin-bottom: 1rem; }
.footer-cols > :first-child { grid-column: 1 / -1; }
.footer-title { color: var(--ink); font-weight: 800; font-stretch: 85%; margin: 0 0 .25rem; }
.site-footer a { color: var(--ink); text-decoration-color: var(--line); }
.site-footer a:hover { color: var(--accent); }
.site-footer ul.plain li a { padding-block: .35rem; display: inline-block; }
@media (min-width: 720px) {
  .footer-cols { grid-template-columns: 1.2fr 1fr 1.3fr 1fr 1.2fr; }
  .footer-cols > :first-child { grid-column: auto; }
}

/* Rooms page */
.room-list { display: grid; gap: .75rem; }
@media (min-width: 720px) { .room-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.room {
  background: var(--card); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: .75rem 1rem; box-shadow: var(--shadow);
  transition: transform var(--t-med) var(--ease), border-color var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease);
}
.room:hover { transform: translateY(-2px); box-shadow: var(--shadow-hi); }
.room:target { border-color: var(--accent); animation: target-glow 1.4s var(--ease); }
@keyframes target-glow { 0% { box-shadow: 0 0 0 0 rgba(255, 201, 60, .7); } 100% { box-shadow: 0 0 0 12px rgba(255, 201, 60, 0); } }
.room-title { margin: 0 0 .1rem; font-stretch: 85%; font-weight: 800; font-size: 1.1rem; }
.room-title a { color: var(--ink); text-decoration: none; }
.room-title a:hover { color: var(--amber); text-decoration: underline; }
.room .card-meta { margin: 0 0 .25rem; }
.room .card-extra { margin: .25rem 0 0; }
.room-jump { margin: .5rem 0 .1rem; }
.room-signup { color: var(--muted); }
.badge-open { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.badge-semipro { background: transparent; color: var(--amber); border: 1px solid var(--amber); }

/* Reveal on scroll. The hidden state exists only when JS has set html.js. */
.js .rv { opacity: 0; transform: translateY(12px); }
.js .rv.in { opacity: 1; transform: none; transition: opacity 260ms var(--ease), transform 260ms var(--ease); }

/* Filter in and out */
.is-leaving { opacity: 0 !important; transform: scale(.98) translateY(-4px) !important; pointer-events: none; transition: opacity 160ms var(--ease), transform 160ms var(--ease) !important; }
.is-entering { animation: item-in 240ms var(--ease) both; }
@keyframes item-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* Page to page transitions (progressive enhancement) */
@view-transition { navigation: auto; }
main { view-transition-name: page; }
::view-transition-old(root), ::view-transition-new(root) { animation: none; }
::view-transition-group(site-header) { animation-duration: 0s; }
::view-transition-old(page) { animation: vt-out 120ms var(--ease) both; }
::view-transition-new(page) { animation: vt-in 260ms var(--ease) both; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-4px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(10px); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: 0s !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  .js .rv { opacity: 1; transform: none; }
  .card:hover, .card:focus-within, .room:hover, .btn:hover, .tile:hover, .date-list li:hover { transform: none; }
  .card:hover .card-img { transform: none; }
  @view-transition { navigation: none; }
}

/* Club logos */
.club-head { display: flex; align-items: center; gap: .75rem; margin: 0 0 .5rem; min-width: 0; }
.club-head .room-title { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.club-hero { display: flex; align-items: center; gap: 1rem; margin: .1em 0 .4em; min-width: 0; }
.club-hero h1 { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.club-logo {
  flex: none; width: 56px; height: 56px; border-radius: 12px; border: 1px solid var(--line);
  background: #fff; object-fit: contain; padding: 6px;
}
.club-logo-lg { width: 88px; height: 88px; }
.club-initials {
  display: inline-flex; align-items: center; justify-content: center; padding: 0;
  background: #ffc93c; border-color: #ffc93c; color: #121110;
  font-family: var(--font); font-weight: 900; font-stretch: 100%; font-size: 1.35rem; letter-spacing: .01em; line-height: 1;
}
.club-logo-lg.club-initials { font-size: 2.1rem; }

/* Search: date field shown when "Pick a date" is chosen */
.search-page .search { margin: 1rem 0; max-width: none; border: 1px solid var(--line); }
.search-summary { font-weight: 700; margin: 0 0 1rem; }
.search-summary:empty { display: none; }

/* Instagram icon links */
.insta { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 10px; color: #121110; background: #f1ece3; vertical-align: middle; transition: background 200ms var(--ease, ease), color 200ms var(--ease, ease), transform 200ms var(--ease, ease); }
.insta:hover, .insta:focus-visible { background: var(--accent, #ffc93c); color: #121110; transform: translateY(-1px); }
.insta-row { margin: .25rem 0 1rem; }

/* Image fitting (set by site.js) */
.card-media, .show-media { position: relative; }
.card-img.fit-cover, .show-img.fit-cover { object-fit: cover; object-position: center; }
.card-img.is-fallback, .show-img.is-fallback { object-fit: cover; object-position: center; }
.has-blur::before { content: ""; position: absolute; inset: -20px; background: var(--img) center / cover no-repeat; filter: blur(18px) brightness(.7); }
.has-blur > img { position: relative; }

/* Terms checkbox on the submit form */
.field-check { display: flex; align-items: flex-start; gap: .65rem; margin: .5rem 0 1rem; }
.field-check input[type="checkbox"] { width: 22px; height: 22px; min-width: 22px; margin: .15rem 0 0; accent-color: #121110; cursor: pointer; }
.field-check label { font-weight: 400; line-height: 1.5; cursor: pointer; }

/* Search panel date picker (progressive enhancement of the native date inputs) */
.search-field.has-dp { position: relative; }
.dp-field {
  display: flex; align-items: center; gap: .55rem; width: 100%; min-height: 44px; padding: .55rem .75rem; margin: 0;
  font: inherit; font-weight: 600; text-align: left; color: #1b1917; background: #faf8f4; border: 1px solid #e2dccf;
  border-radius: 10px; cursor: pointer; box-sizing: border-box;
  transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease);
}
.dp-field:hover { border-color: var(--accent); background: #fff; }
.dp-field[aria-expanded="true"] { border-color: var(--accent); background: #fff; box-shadow: 0 0 0 3px rgba(255, 201, 60, .35); }
.dp-field:focus-visible, .dp-pop :focus-visible { outline: 3px solid #121110; outline-offset: 2px; }
.dp-icon { display: inline-flex; flex: none; color: #5f574d; }
.dp-icon svg { display: block; }
.dp-text { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.dp-pop {
  position: absolute; top: calc(100% + 6px); left: 0; z-index: 60; width: min(21rem, calc(100vw - 16px)); padding: .75rem;
  background: #fff; color: #1b1917; border: 1px solid #e2dccf; border-radius: 16px;
  box-shadow: 0 2px 4px rgba(18, 17, 16, .08), 0 18px 40px rgba(18, 17, 16, .24);
  text-transform: none; letter-spacing: normal; font-weight: 400;
}
.dp-pop[hidden] { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .dp-pop { animation: dp-in 160ms var(--ease) both; }
  @keyframes dp-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
}
.dp-chips { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: .6rem; }
.dp-chip {
  min-height: 40px; padding: 0 .85rem; font: inherit; font-size: var(--fs-sm); font-weight: 700; color: #1b1917;
  background: #faf8f4; border: 1px solid #e2dccf; border-radius: 999px; cursor: pointer;
  transition: border-color var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}
.dp-chip:hover { border-color: var(--accent); background: #fff8e1; }
.dp-chip:active { transform: scale(.97); }
.dp-head { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-bottom: .25rem; }
.dp-title { flex: 1; text-align: center; font-weight: 800; font-size: var(--fs-base); }
.dp-nav {
  display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; color: #1b1917;
  background: transparent; border: 1px solid transparent; border-radius: 10px; cursor: pointer;
  transition: background-color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}
.dp-nav:hover:not(:disabled) { background: #fff8e1; border-color: var(--accent); }
.dp-nav:disabled { opacity: .3; cursor: default; }
.dp-grid { width: 100%; border-collapse: separate; border-spacing: 0 2px; table-layout: fixed; }
.dp-grid th { padding: .25rem 0; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: #5f574d; text-align: center; }
.dp-grid td { padding: 0; text-align: center; }
.dp-day {
  position: relative; display: block; width: 100%; height: 44px; padding: 0; margin: 0; font: inherit; font-weight: 600;
  color: #1b1917; background: transparent; border: 0; border-radius: 10px; cursor: pointer;
  transition: background-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.dp-day:hover:not(:disabled) { background: #fff1c2; }
.dp-day:disabled { color: #b3ab9d; cursor: default; text-decoration: none; }
.dp-day.in-range { background: #fff4cf; border-radius: 0; }
.dp-day.is-edge { background: #ffe9a3; border-radius: 10px; }
.dp-day.is-today { box-shadow: inset 0 0 0 2px #121110; border-radius: 10px; }
.dp-day.is-selected, .dp-day.is-selected:hover:not(:disabled) { background: #ffc93c; color: #121110; font-weight: 800; border-radius: 10px; }
@media (min-width: 720px) { .dp-day { height: 40px; } }

/* Venue map on /areas/ */
.map-section { margin: 0 0 1.5rem; }
.areas-map {
  position: relative; z-index: 0; isolation: isolate; height: 320px; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; background: var(--surface-2); box-shadow: var(--shadow); font-family: var(--font);
}
@media (min-width: 720px) { .areas-map { height: 420px; } }
.map-note { margin: .5rem 0 0; }
.cg-pin { background: none; border: 0; }
.cg-pin span {
  position: relative; display: block; width: 28px; height: 28px; background: #ffc93c; border: 3px solid #121110;
  border-radius: 50% 50% 50% 0; transform: rotate(-45deg); box-shadow: 0 3px 6px rgba(18, 17, 16, .35);
  transition: transform var(--t-fast) var(--ease);
}
.cg-pin span::after { content: ""; position: absolute; inset: 5px; background: #121110; border-radius: 50%; }
.cg-pin:hover span, .cg-pin:focus-visible span { transform: rotate(-45deg) scale(1.12); }
.areas-map .leaflet-popup-content-wrapper { border-radius: 12px; }
.areas-map .leaflet-popup-content { margin: .75rem 1rem; font-size: var(--fs-sm); line-height: 1.4; color: #1b1917; }
.cg-popup { display: grid; gap: .1rem; }
.cg-popup strong { font-size: var(--fs-base); font-weight: 800; }
.cg-popup-sub, .cg-popup-count { color: #5f574d; }
.areas-map a.cg-popup-link { margin-top: .4rem; font-weight: 700; color: #8a5a00; }
.areas-map a.cg-popup-link:hover { color: #5c3b00; }
.areas-map .leaflet-container a { color: #8a5a00; }
.areas-map .leaflet-control-attribution { font-size: .7rem; }

/* Newsletter: Subscribe pill in the menu, and the sign-up dialog */
.nav-subscribe { display: flex; align-items: center; }
.site-nav .nav-sub {
  display: inline-flex; align-items: center; justify-content: center; min-height: 36px; padding: 0 1rem; margin-left: .5rem;
  background: var(--accent); color: var(--accent-ink); border: 2px solid var(--accent); border-radius: 999px; cursor: pointer;
  font-family: var(--font); font-weight: 800; font-size: var(--fs-sm); white-space: nowrap;
  transition: background-color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}
.site-nav .nav-sub:hover { background: var(--accent-hi); border-color: var(--accent-hi); }
.site-nav .nav-sub:active { transform: scale(.97); }
@media (max-width: 819px) {
  .js .site-nav .nav-subscribe { padding-top: .6rem; }
  .js .site-nav .nav-sub { min-height: 44px; margin-left: .5rem; font-size: var(--fs-base); }
}
body:has(.nl-dialog[open]) { overflow: hidden; }
.nl-dialog {
  width: min(26rem, calc(100vw - 32px)); max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); padding: 0; margin: auto;
  background: #fff; color: #1b1917; border: 1px solid #e2dccf; border-radius: 16px; overflow: auto; overscroll-behavior: contain;
  box-shadow: 0 2px 4px rgba(18, 17, 16, .08), 0 18px 40px rgba(18, 17, 16, .3);
}
.nl-dialog::backdrop { background: rgba(18, 17, 16, .6); }
.nl-card { position: relative; }
.nl-body { padding: 1.5rem 1.25rem 1.25rem; }
.nl-body h2 { margin: 0 2.5rem .4rem 0; font-stretch: 85%; font-weight: 800; font-size: 1.4rem; line-height: 1.15; }
.nl-lede { margin: 0 0 1rem; color: #5f574d; }
.nl-close {
  position: absolute; top: .5rem; right: .5rem; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0;
  background: transparent; color: #1b1917; border: 1px solid transparent; border-radius: 50%; cursor: pointer;
  transition: background-color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}
.nl-close:hover { background: var(--surface-2); border-color: var(--line); }
.nl-form .field { margin-bottom: .75rem; }
.nl-form input[aria-invalid="true"] { border-color: #b3261e; }
.nl-form .field-check { margin: .25rem 0 .5rem; }
.nl-form .field-check label { font-size: var(--fs-sm); }
.nl-err { color: #b3261e; font-size: var(--fs-xs); font-weight: 600; line-height: 1.35; }
.nl-err-block { display: block; margin: 0 0 .5rem; }
.nl-status { margin: 0 0 .75rem; padding: .6rem .75rem; background: #fff3f1; border: 1px solid #b3261e; border-radius: var(--radius-sm); color: #7a1912; font-size: var(--fs-sm); font-weight: 600; }
.nl-actions { margin: .5rem 0 0; }
.nl-actions .btn[disabled] { opacity: .6; cursor: progress; transform: none; box-shadow: none; }
.nl-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.nl-done { margin: 0; padding: .9rem 1rem; background: #fff8e1; border: 1px solid var(--accent); border-radius: var(--radius-sm); font-weight: 600; line-height: 1.5; }
.nl-done:focus { outline: none; }
@media (prefers-reduced-motion: no-preference) {
  .nl-dialog[open] { animation: dp-in 180ms var(--ease) both; }
}

/* Guide pages */
.faq h3 { margin: 1rem 0 .25rem; font-size: 1.05rem; }
.faq p { max-width: 46rem; margin-top: 0; }
.more-guides { margin-top: 1.5rem; }
