/* ==========================================================================
   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) */
  --bg: #0B0B10;
  --surface: #141020;
  --surface-raised: #1B1530;
  --purple: #6D28D9;
  --purple-deep: #4C1D95;
  --purple-soft: #8B5CF6;
  --silver: #D9DCE3;
  --chrome-hi: #EDEFF3;
  --chrome-lo: #8E96A3;
  --text: #BFBACC;
  --line: rgba(139, 92, 246, 0.18);

  --font-display: "Outfit", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;

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

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

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

h1 { font-size: clamp(1.75rem, 5.5vw, 3rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 4vw, 2.25rem); font-weight: 600; }
h3 { font-size: 1.15rem; font-weight: 600; }

/* 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);
}

.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(139, 92, 246, 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.95rem;
    letter-spacing: 0.02em;
    color: var(--text);
    text-decoration: none;
    padding: 0.35rem 0;
    border-bottom: 2px 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(--purple);
  }

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

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

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

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(3rem, 9vw, 6rem) 0 clamp(3.5rem, 9vw, 6.5rem);
  text-align: center;
}

.hero-inner { position: relative; }

.hero-logo {
  width: min(78vw, 420px);
  height: auto;
  margin-bottom: 1.5rem;
  filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.55));
}

.eyebrow {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #FFFFFF;
  margin-bottom: 1rem;
}

.hero h1 {
  max-width: 22ch;
  margin-inline: auto;
}

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

.hero-tagline {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 3vw, 1.4rem);
  font-weight: 600;
  color: #FFFFFF;
  letter-spacing: 0.04em;
  margin: 0.75rem 0 1.25rem;
}

.hero-sub {
  max-width: 52ch;
  margin-inline: auto;
  font-size: 1.05rem;
}

/* --------------------------------------------------------------------------
   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: var(--purple-deep);
  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; }

/* Home page venue photo shown above the next-page button */
.home-photo {
  display: block;
  width: 100%;
  aspect-ratio: 1448 / 785;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  margin-bottom: 2rem;
}

/* 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: #EDEAF3;
  color: #141020;
  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, 16, 32, 0.72);
}

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

/* Weekly events page head: intro text with a venue photo alongside on desktop */
.page-head-row {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.page-head-photo {
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  align-self: start;
}

@media (min-width: 48rem) {
  .page-head-row {
    flex-direction: row;
    align-items: center;
    gap: 2.5rem;
  }

  .page-head-text { flex: 1; }

  .page-head-photo { width: min(30%, 18rem); }
}

/* 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 hub photo between the section links and the quote */
.series-photo {
  display: block;
  width: 100%;
  margin-top: 2rem;
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* Series hub quote */
.series-quote {
  margin: 3.5rem 0 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--silver);
}

.series-quote span {
  display: block;
  margin-top: 0.4rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: rgba(191, 186, 204, 0.6);
}

/* Series section sub-navigation pills */
.subnav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 1.75rem 0 0;
}

.subnav a {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 1.1rem;
  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.9rem;
  text-decoration: none;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.subnav a:hover { border-color: rgba(139, 92, 246, 0.45); }

.subnav a[aria-current="page"] {
  border-color: var(--purple);
  color: #FFFFFF;
}

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

/* 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(139, 92, 246, 0.55);
  transform: translateY(-2px);
}

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

/* --------------------------------------------------------------------------
   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-spade {
  opacity: 0.75;
  margin-bottom: 0.75rem;
}

.footer-fine { color: rgba(191, 186, 204, 0.6); }
