/* ==========================================================================
   124 Poker V1.0 brochure site
   Mobile-first. Design tokens below are the single source of truth for the
   brand palette; future pages/features should consume these same variables.
   ========================================================================== */

:root {
  /* Brand palette (approved 2026-07). Purple lives only in the logo art;
     no purple in CSS anywhere. */
  --bg: #0B0B10;
  --surface: #14141A;
  --surface-raised: #1C1C25;
  --silver: #D9DCE3;
  --chrome-hi: #EDEFF3;
  --chrome-lo: #8E96A3;
  --text: #BFBACC;
  --line: rgba(217, 220, 227, 0.16);

  --font-display: "Outfit", system-ui, sans-serif;
  --font-serif: "Fraunces", serif;
  --font-body: "Inter", system-ui, sans-serif;
  --cream: #EDE7DA;

  --container: 68rem;
  --header-h: 4rem;
}

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

html {
  height: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

/* Sticky footer: on a page short enough to leave empty space below the
   footer (short content on a tall/large viewport), pin the footer to the
   bottom of the screen instead of leaving a dead gap under it. Pages with
   enough content to already fill the viewport are unaffected - main just
   holds its natural height and the footer follows immediately after it. */
body {
  margin: 0;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* Every page has exactly one top-level <section> inside <main>. Centering
   it vertically means short pages (legal pages, empty-state pages, the
   home hero on a tall monitor) fill the available height instead of
   sitting at the top with a gap before the footer; long pages are
   unaffected since there's no free space left to distribute once content
   already fills or exceeds the viewport. */
body > main {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

img { max-width: 100%; height: auto; }

h1, h2, h3 {
  font-family: var(--font-serif);
  color: var(--cream);
  line-height: 1.1;
  margin: 0 0 0.6em;
  text-wrap: balance;
}

h1 { font-size: clamp(2rem, 6vw, 3.5rem); font-weight: 600; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.5rem, 4vw, 2.25rem); font-weight: 600; }
h3 { font-size: 1.15rem; font-weight: 600; }

h1 em, h2 em {
  font-style: italic;
  background: linear-gradient(180deg, #F4F5F7 0%, #9AA0AC 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Subpage h1s share the section-heading scale, not the hero scale */
.page-title { font-size: clamp(1.5rem, 4vw, 2.25rem); font-weight: 600; }

/* h2s used inside cards share the card-heading scale */
.card-title { font-size: 1.15rem; font-weight: 600; }

p { margin: 0 0 1em; }

a { color: #FFFFFF; }

.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

.container-narrow { max-width: 46rem; }

/* --------------------------------------------------------------------------
   Header / nav
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

/* Home page only: lets the full-bleed hero photo show through behind the
   nav instead of sitting under a solid bar. Stays sticky like every other
   page's header - it just paints transparent, so scrolling past the hero
   shows the same dark page background it always did. */
@media (min-width: 60rem) {
  .site-header--overlay {
    background: transparent;
    border-bottom: none;
  }
}

.nav {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav-brand { display: inline-flex; align-items: center; }

.nav-brand img { height: 34px; width: auto; }

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: none;
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--silver);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Mobile: dropdown panel under the header bar */
@media (max-width: 47.99rem) {
  .nav { flex-wrap: wrap; }

  .nav-menu {
    display: none;
    flex-basis: 100%;
    padding-bottom: 0.75rem;
  }

  .nav-menu.is-open { display: block; }

  .nav-menu a {
    display: block;
    padding: 0.7rem 0.25rem;
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 1.05rem;
    color: var(--silver);
    text-decoration: none;
    border-bottom: 1px solid rgba(217, 220, 227, 0.08);
  }
}

/* Desktop: inline links */
@media (min-width: 48rem) {
  .nav-toggle { display: none; }

  .nav-menu {
    display: flex;
    gap: 1.75rem;
  }

  .nav-menu a {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text);
    text-decoration: none;
    padding: 0.35rem 0;
    border-bottom: 1px solid transparent;
    transition: color 0.2s ease, border-color 0.2s ease;
  }

  .nav-menu a:hover,
  .nav-menu a:focus-visible {
    color: var(--chrome-hi);
    border-bottom-color: var(--silver);
  }

  .nav-menu a[aria-current="page"] {
    color: var(--chrome-hi);
    border-bottom-color: var(--silver);
  }
}

@media (max-width: 47.99rem) {
  .nav-menu a[aria-current="page"] { color: #FFFFFF; }
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(2.5rem, 6vw, 4rem) 0;
}

@media (min-width: 60rem) {
  /* Full-bleed hero photo: pull the section up behind the (now
     transparent) sticky header instead of leaving a gap under it, so the
     photo and the overlaid nav share the same top edge. */
  .hero {
    padding: 0;
    margin-top: calc(-1 * var(--header-h));
  }
}

.hero-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
  padding-inline: max(1.25rem, calc((100vw - var(--container)) / 2 + 1.25rem));
}

@media (min-width: 60rem) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    align-items: stretch;
    min-height: 100vh;
    gap: 4rem;
    padding-left: max(2.5rem, calc((100vw - var(--container)) / 2 + 1.25rem));
    padding-right: 0;
  }
}

.hero-text { min-width: 0; }

@media (min-width: 60rem) {
  .hero-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: calc(var(--header-h) + 3rem);
    padding-bottom: 3rem;
  }
}

.eyebrow {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--chrome-lo);
  margin-bottom: 1.25rem;
}

.chrome-text {
  color: var(--chrome-hi);
}

.hero-sub {
  max-width: 42ch;
  font-size: 1.05rem;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
  margin: 1.75rem 0 2.5rem;
}

.hero-photo-wrap { border-radius: 4px; overflow: hidden; }

@media (min-width: 60rem) {
  .hero-photo-wrap {
    border-radius: 0;
    position: relative;
  }

  /* Blend the photo into the text panel and darken its top edge so the
     overlaid nav stays legible over whatever part of the photo sits
     behind it, rather than a hard seam between the two. */
  .hero-photo-wrap::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
      linear-gradient(90deg, var(--bg) 0%, rgba(11, 11, 16, 0) 20%),
      linear-gradient(180deg, rgba(11, 11, 16, 0.55) 0%, rgba(11, 11, 16, 0) 24%);
  }
}

.hero-photo {
  display: block;
  width: 100%;
  aspect-ratio: 6 / 5;
  object-fit: cover;
}

@media (min-width: 60rem) {
  .hero-photo {
    aspect-ratio: auto;
    height: 100%;
    max-height: none;
  }
}

.stat-rail {
  display: flex;
  flex-wrap: wrap;
  gap: 1.75rem 2.25rem;
}

.stat {
  padding-left: 0;
  border-left: 0;
}

@media (min-width: 30rem) {
  .stat {
    padding-left: 1.5rem;
    border-left: 1px solid var(--line);
  }

  .stat:first-child { padding-left: 0; border-left: 0; }
}

.stat strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.75rem;
  color: var(--cream);
}

.stat span {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--chrome-lo);
}

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */

.section { padding: clamp(3rem, 8vw, 5.5rem) 0; }

.section-intro {
  max-width: 56ch;
  font-size: 1.05rem;
}

/* Cards */

.card-grid {
  display: grid;
  gap: 1.25rem;
  margin-top: 2rem;
}

@media (min-width: 48rem) {
  .card-grid { grid-template-columns: repeat(3, 1fr); }
  .card-grid-2 { grid-template-columns: repeat(2, 1fr); }
}

.card {
  background: var(--surface-raised);
  border: 0;
  border-radius: 0;
  padding: 1.5rem;
  transition: transform 0.25s ease;
}

.card:hover {
  transform: translateY(-3px);
}

/* Card heading sits in a solid full-width strip across the top of the card.
   Negative margins pull it out to the card edges regardless of contents. */
.card h3,
.card .card-title {
  background: #262631;
  color: var(--chrome-hi);
  margin: -1.5rem -1.5rem 1.25rem;
  padding: 0.85rem 1.5rem;
  font-size: 1.05rem;
}

/* Home page cards that act as links to the other pages */
.card-link {
  display: block;
  text-decoration: none;
  color: var(--text);
}

.card-link p { margin: 0.85rem 0 0; font-size: 0.95rem; }

.card-link-title {
  font-size: 1.15rem;
  font-weight: 600;
  margin: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
}

.card-link-title::after {
  content: "→";
  color: #FFFFFF;
  font-family: var(--font-body);
  transition: transform 0.2s ease;
}

.card-link:hover .card-link-title::after,
.card-link:focus-visible .card-link-title::after {
  transform: translateX(4px);
}

.card-facts {
  margin: 1rem 0 0;
  display: grid;
  gap: 0.6rem;
}

.card-facts > div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
}

.card-facts dt {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #FFFFFF;
}

.card-facts dd { margin: 0; text-align: right; }

/* Sub-page hero: full-bleed photo banner used at the top of Weekly Events,
   Major Events and About, echoing the home page's full-bleed treatment
   (same overlaid transparent header) at a shorter height, since these
   pages have real content to show below the fold. */
.subhero {
  position: relative;
  overflow: hidden;
  min-height: 40vh;
  display: flex;
  align-items: flex-end;
}

@media (min-width: 60rem) {
  .subhero {
    min-height: 65vh;
    margin-top: calc(-1 * var(--header-h));
  }
}

.subhero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.subhero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 11, 16, 0.1) 0%, rgba(11, 11, 16, 0.6) 60%, rgba(11, 11, 16, 0.94) 100%);
}

.subhero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 2rem 0 clamp(2rem, 5vw, 3rem);
}

@media (min-width: 60rem) {
  .subhero-content { padding-bottom: clamp(3rem, 6vw, 4rem); }
}

/* Next-page button at the bottom of each page. One class controls the look
   everywhere; the markup on each page just applies .next-button. */
.next-button {
  display: block;
  background: #EDEFF3;
  color: #14141A;
  border: 0;
  border-radius: 14px;
  padding: 18px 24px;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.next-button:hover,
.next-button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.next-button .card-link-title {
  justify-content: center;
  font-weight: 500;
  color: inherit;
}

.next-button .card-link-title::after { color: inherit; }

.next-button p {
  margin: 0.4rem 0 0;
  font-size: 0.95rem;
  color: rgba(20, 20, 26, 0.72);
}

/* Major Events hub: section links listed down the left, photo on the right.
   Stacks to a single column on mobile. */
.series-row {
  margin-top: 2.5rem;
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 48rem) {
  .series-row {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
    gap: 3rem;
  }
}

.section-list {
  display: grid;
  gap: 0.5rem;
}

.section-list a {
  display: block;
  padding: 1rem 1.4rem;
  border-left: 3px solid var(--line);
  text-decoration: none;
  color: var(--text);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.section-list a:hover,
.section-list a:focus-visible {
  border-left-color: var(--silver);
  background: var(--surface-raised);
}

.section-list-title {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--silver);
}

.section-list a p {
  margin: 0.35rem 0 0;
  font-size: 0.95rem;
}

.card-note {
  margin: 1rem 0 0;
  font-size: 0.95rem;
}

/* Weekly events: one group per day so the schedule doesn't read as one long grid */
.day-group { margin-top: 4.5rem; }

.day-group:first-of-type { margin-top: 2.25rem; }

.day-heading {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 0;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--silver);
}

.day-heading::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

.day-group .card-grid { margin-top: 1.1rem; }

/* Small print at the end of a schedule page */
.schedule-fine {
  margin-top: 3rem;
  font-size: 0.9rem;
  color: rgba(191, 186, 204, 0.6);
}

.series-photo {
  display: block;
  width: 100%;
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* Series section sub-navigation: plain underline tabs */
.subnav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.75rem;
  margin: 1.75rem 0 0;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--line);
}

.subnav a {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0;
  color: rgba(191, 186, 204, 0.7);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.subnav a:hover { color: var(--chrome-hi); }

.subnav a[aria-current="page"] {
  color: var(--cream);
  font-weight: 600;
  border-bottom-color: var(--cream);
}

.subnav-intro { margin-top: 1.75rem; }

/* Quick-jump row of day anchors within a long schedule */
.day-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 2rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--line);
}

.day-jump a {
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(191, 186, 204, 0.7);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.day-jump a:hover,
.day-jump a:focus-visible { color: var(--chrome-hi); border-bottom-color: var(--line); }

/* Event schedule table (replaces boxed cards for dense tabular data) */
.event-table { margin-top: 1.25rem; }

.event-table-head,
.event-row {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) repeat(4, minmax(0, 1fr));
  gap: 1rem;
  align-items: baseline;
}

.event-table-head {
  padding: 0 1.1rem 0.6rem;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--chrome-lo);
}

.event-row {
  padding: 0.9rem 1.1rem;
  background: var(--surface);
  margin-bottom: 2px;
  font-size: 0.92rem;
}

.event-row .event-name { color: var(--cream); font-weight: 600; }

.event-row .event-name span { display: block; font-weight: 400; font-size: 0.8rem; color: rgba(191, 186, 204, 0.55); margin-top: 0.15rem; }

.event-row .event-final { color: var(--cream); font-weight: 600; }

@media (max-width: 47.99rem) {
  .event-table-head { display: none; }

  .event-row {
    grid-template-columns: 1fr 1fr;
    row-gap: 0.35rem;
  }

  .event-row .event-name { grid-column: 1 / -1; }

  .event-row > div::before {
    content: attr(data-label);
    display: block;
    font-family: var(--font-display);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--chrome-lo);
    margin-bottom: 0.15rem;
  }
}

/* Blind structure tables */
.blinds-details { margin-top: 1.25rem; }

.blinds-details summary {
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  color: #FFFFFF;
}

.blinds-wrap { overflow-x: auto; margin-top: 1.25rem; }

.blinds {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.blinds th {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #FFFFFF;
}

.blinds th,
.blinds td {
  padding: 0.45rem 0.75rem;
  text-align: right;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

.blinds th:first-child,
.blinds td:first-child { text-align: left; }

.blinds .break td {
  color: rgba(191, 186, 204, 0.6);
  font-size: 0.85rem;
}

/* Contact */

.contact-list {
  list-style: none;
  margin: 2rem 0;
  padding: 0;
  display: grid;
  gap: 0.9rem;
}

.contact-list li {
  display: flex;
  align-items: baseline;
  gap: 1rem;
}

.contact-label {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #FFFFFF;
  min-width: 4.5rem;
}

.social {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-raised);
  color: var(--silver);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.social-link:hover,
.social-link:focus-visible {
  border-color: rgba(217, 220, 227, 0.55);
  transform: translateY(-2px);
}

.social-link svg { color: #FFFFFF; }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 1.5rem;
  background: var(--cream);
  color: var(--bg);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  border-radius: 6px;
  box-shadow: 0 20px 40px -18px rgba(0, 0, 0, 0.6);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 24px 48px -16px rgba(0, 0, 0, 0.7);
}

.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--silver);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.btn-link:hover,
.btn-link:focus-visible { color: var(--chrome-hi); }

/* --------------------------------------------------------------------------
   Closing / foot bars (bottom-of-page CTA row shared across pages)
   -------------------------------------------------------------------------- */

.foot {
  margin-top: 3rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  align-items: center;
  justify-content: space-between;
}

.foot-note { font-size: 0.95rem; color: rgba(191, 186, 204, 0.65); margin: 0; }

/* Single-link .foot instances (no note text) sit at the right instead of
   the default space-between, which only makes sense with two children. */
.foot-end { justify-content: flex-end; }

.closing-bar {
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
  justify-content: flex-end;
}

.closing-bar h2 { margin: 0; }

.closing-bar-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   About: numbered values list
   -------------------------------------------------------------------------- */

.value-list { display: grid; gap: 0; margin-top: 2.5rem; }

@media (min-width: 40rem) {
  .value-list { grid-template-columns: 1fr 1fr; column-gap: 3rem; }
}

.value-row {
  display: flex;
  gap: 1.25rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--line);
}

.value-num {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--chrome-lo);
  min-width: 2ch;
}

.value-title { font-family: var(--font-serif); font-size: 1.3rem; font-weight: 600; color: var(--cream); margin-bottom: 0.4rem; }

.value-text { font-size: 0.92rem; color: rgba(191, 186, 204, 0.75); max-width: 36ch; }

/* --------------------------------------------------------------------------
   Major Events: next-series block + arrow link list
   -------------------------------------------------------------------------- */

.next-series {
  margin: 2rem 0 2.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
}

.next-series .eyebrow { margin-bottom: 0.75rem; }

.next-series h2 { margin-bottom: 0.5rem; }

.next-series p { color: rgba(191, 186, 204, 0.7); margin-bottom: 1.5rem; max-width: 40ch; }

.events-list { border-top: 1px solid var(--line); }

.events-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
}

.events-row:last-child { border-bottom: 0; }

.events-row-title { display: block; font-family: var(--font-serif); font-size: 1.4rem; font-weight: 600; color: var(--cream); margin-bottom: 0.3rem; }

.events-row-desc { display: block; font-size: 0.9rem; color: rgba(191, 186, 204, 0.65); }

.events-row-arrow { flex-shrink: 0; color: var(--chrome-lo); font-size: 1.3rem; transition: transform 0.2s ease, color 0.2s ease; }

.events-row:hover .events-row-arrow,
.events-row:focus-visible .events-row-arrow { transform: translateX(4px); color: #FFFFFF; }

/* --------------------------------------------------------------------------
   Weekly Events: day-by-day rail
   -------------------------------------------------------------------------- */

.day-rail { margin-top: 2.5rem; border-top: 1px solid var(--line); }

.day-row {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
}

.day-row:last-child { border-bottom: 0; }

@media (min-width: 40rem) {
  .day-row {
    display: grid;
    grid-template-columns: 4.5rem repeat(3, 1fr);
    gap: 0.75rem 2rem;
  }
}

.day-name { font-family: var(--font-serif); font-size: 1.35rem; font-weight: 600; color: var(--cream); grid-column: 1; }

.venue { display: flex; flex-direction: column; gap: 0.15rem; }

.venue-name { font-size: 0.95rem; font-weight: 600; color: var(--silver); }

.venue-facts { font-size: 0.82rem; color: rgba(191, 186, 204, 0.65); }

.venue-late { font-size: 0.72rem; letter-spacing: 0.05em; text-transform: uppercase; color: rgba(191, 186, 204, 0.45); }

/* --------------------------------------------------------------------------
   Contact: detail rows
   -------------------------------------------------------------------------- */

.contact-rows { margin-top: 3.5rem; padding-top: 3.5rem; border-top: 1px solid var(--line); }

.contact-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
}

.contact-row:last-child { border-bottom: 0; }

.contact-row-label {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--chrome-lo);
  display: block;
  margin-bottom: 0.5rem;
}

.contact-row-value {
  font-family: var(--font-serif);
  font-size: clamp(1.15rem, 3vw, 1.5rem);
  color: var(--cream);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.15rem;
}

.contact-row-value:hover,
.contact-row-value:focus-visible { color: #FFFFFF; border-bottom-color: var(--silver); }

.contact-row-arrow { color: var(--chrome-lo); font-size: 1.2rem; flex-shrink: 0; }

/* --------------------------------------------------------------------------
   Contact: forms
   -------------------------------------------------------------------------- */

.forms-grid {
  display: grid;
  gap: 3rem;
  margin-top: 3.5rem;
  padding-top: 3.5rem;
  border-top: 1px solid var(--line);
}

.forms-grid-top { margin-top: 2.5rem; padding-top: 0; border-top: 0; }

@media (min-width: 60rem) {
  .forms-grid { grid-template-columns: 1fr 1fr; }
}

.form-block-intro { color: rgba(191, 186, 204, 0.75); max-width: 38ch; margin: 0.5rem 0 1.75rem; }

.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }

.form-row { display: flex; flex-direction: column; gap: 0.5rem; }

.form-row label {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--chrome-lo);
}

.form-row input,
.form-row textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--chrome-hi);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0.85rem 1rem;
  resize: vertical;
}

.form-row input::placeholder,
.form-row textarea::placeholder { color: var(--chrome-lo); }

.form-row input:focus,
.form-row textarea:focus { outline: none; border-color: var(--silver); }

.contact-form button.btn {
  border: none;
  cursor: pointer;
  font-family: var(--font-display);
  align-self: flex-start;
}

.contact-form button.btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }

.form-error { color: #E8A0A0; font-size: 0.9rem; margin: 0; }

.form-success {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--cream);
  margin-top: 1.5rem;
}

/* --------------------------------------------------------------------------
   Legal pages: long-form policy body copy
   -------------------------------------------------------------------------- */

.policy-body h2 {
  font-size: 1.35rem;
  margin-top: 2.5rem;
}

.policy-body ul {
  margin: 0 0 1em;
  padding-left: 1.25rem;
}

.policy-body li { margin-bottom: 0.5em; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 2.5rem 0;
  text-align: center;
  font-size: 0.9rem;
}

.footer-inner p { margin: 0.25rem 0; }

.footer-legal-links {
  font-size: 0.85rem;
  color: rgba(191, 186, 204, 0.6);
}

.footer-legal-links a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }

.footer-legal-links a:hover,
.footer-legal-links a:focus-visible { color: var(--chrome-hi); }

.footer-spade {
  opacity: 0.75;
  margin-bottom: 0.75rem;
}

/* --------------------------------------------------------------------------
   Cookie consent banner
   -------------------------------------------------------------------------- */

.cookie-banner {
  position: fixed;
  left: 1.25rem;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 100;
  max-width: 40rem;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: var(--surface-raised);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 20px 40px -18px rgba(0, 0, 0, 0.6);
}

.cookie-banner p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text);
}

.cookie-banner-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.cookie-banner .btn {
  border: none;
  cursor: pointer;
  font-family: var(--font-display);
  padding: 0.65rem 1.25rem;
  font-size: 0.85rem;
}

.cookie-banner .btn-link {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  font-family: var(--font-body);
}

@media (min-width: 40rem) {
  .cookie-banner { flex-direction: row; align-items: center; justify-content: space-between; }
}

/* Used whenever a fixed banner would land on top of the footer instead of
   over scrollable content, so it docks in normal flow after the footer
   instead. Keeps the same centred, width-capped block as the fixed
   version, just without pinning it to the viewport. */
.cookie-banner-inline {
  position: static;
  left: auto;
  right: auto;
  bottom: auto;
  margin: 2rem auto 1.25rem;
}
