*, *::before, *::after { box-sizing: border-box; }
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
img { display: block; max-width: 100%; }
.grid { display: grid; }
.gap-6 { gap: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }


:root {
  color-scheme: light;
  --bg: #f5f5f5;
  --surface: #fff;
  --surface-alt: #ededed;
  --subtle: #ebebeb;
  --ink: #191919;
  --muted: #525252;
  --line: #d4d4d4;
  --red: #8c2020;
  --accent-text: var(--red);
  --action: #8c2020;
  --focus: #8c2020;
  --radius: 0.5rem;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    color-scheme: dark;
    --bg: #121212;
    --surface: #1d1d1d;
    --surface-alt: #292929;
    --subtle: #0d0d0d;
    --ink: #f6f6f6;
    --muted: #b8b8b8;
    --line: #404040;
    --red: #ab3535; --accent-text: var(--ink);
    --focus: #f6f6f6;
  }
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #121212;
  --surface: #1d1d1d;
  --surface-alt: #292929;
  --subtle: #0d0d0d;
  --ink: #f6f6f6;
  --muted: #b8b8b8;
  --line: #404040;
  --red: #ab3535; --accent-text: var(--ink);
  --focus: #f6f6f6;
}

body {
  margin: 0;
  min-width: 0;
  background: var(--bg);
  color: var(--ink);
  font: 1rem/1.55 system-ui, sans-serif;
}

a, button, summary { -webkit-tap-highlight-color: transparent; }
button, summary { cursor: pointer; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
[hidden] { display: none !important; }

h1, h2, h3 { font-weight: 800; line-height: 1.12; text-wrap: balance; overflow-wrap: anywhere; }
h1 { font-size: clamp(2.3rem, 6.5vw, 4.6rem); letter-spacing: -.065em; }
h2 { font-size: clamp(1.55rem, 3.1vw, 2.55rem); letter-spacing: -.045em; }
h3 { font-size: 1.2rem; letter-spacing: -.025em; }

.shell { width: min(76rem, calc(100% - 3rem)); margin-inline: auto; }
.skip-link { position: absolute; top: 0; left: 1rem; z-index: 5; transform: translateY(-140%); padding: .75rem 1rem; background: var(--surface); }
.skip-link:focus { transform: translateY(0); }
.site-header { position: relative; z-index: 2; background: var(--surface); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: .85rem; min-height: 4.5rem; }
.brand { display: inline-flex; gap: 0; align-items: center; color: var(--ink); font-weight: 850; font-size: clamp(1.12rem, 3vw, 1.45rem); letter-spacing: -.045em; white-space: nowrap; }
.brand-mark, .home-page .section-heading h2::before { transform: skewX(-22deg); background: var(--action); }
.brand-mark { display: inline-block; width: .65rem; height: 1.05rem; margin-right: .62rem; }
.desktop-nav, .header-actions { display: flex; align-items: center; gap: clamp(.65rem, 2.5vw, 2.4rem); }
.site-header .brand:hover { color: var(--ink); }
.desktop-nav a, .mobile-nav a { font-weight: 650; font-size: .95rem; }
.site-header a:hover, .site-header [aria-current="page"] { color: var(--accent-text); text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: .25em; }
.theme-toggle, .mobile-nav summary { padding: .4rem .7rem; min-height: 2.75rem; min-width: 2.75rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.theme-toggle { font-size: 1.3rem; line-height: 1; }
.theme-toggle:hover, .mobile-nav summary:hover { border-color: var(--accent-text); }
.mobile-nav { display: none; }
.mobile-nav summary { list-style: none; font-weight: 650; display: inline-flex; align-items: center; }
.mobile-nav nav { position: absolute; top: calc(100% + 1px); right: 0; left: 0; padding: .65rem max(1rem, calc((100vw - 76rem) / 2)); background: var(--surface); border-bottom: 1px solid var(--line); }
.mobile-nav a { display: block; padding: .85rem; }

.hero { position: relative; isolation: isolate; overflow: hidden; background: #111; color: #fff; --focus: #fff; }
.hero-photo, .hero-photo img, .hero::after { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-photo { z-index: -2; }
.hero-photo img { object-fit: cover; object-position: center 56%; filter: saturate(.68); }
.hero::after { content: ''; z-index: -1; background: linear-gradient(90deg, #090909ee 0%, #090909d6 28%, #09090962 59%, #09090910 100%), linear-gradient(0deg, #090909ab, transparent 25%); }
.hero-content { display: flex; align-items: center; min-height: clamp(31rem, 47vw, 43rem); padding-block: 3rem 4rem; }
.hero h1 { font-size: clamp(2.85rem, 7.1vw, 6.8rem); font-weight: 900; line-height: .97; letter-spacing: -.045em; }
.hero h1 span { color: #d54b45; }
.hero-content p { margin: 1.35rem 0 1.75rem; max-width: 32ch; font-size: clamp(1rem, 2.1vw, 1.35rem); color: #f0f0f0; }

.button { display: inline-flex; align-items: center; justify-content: center; min-height: 2.85rem; padding: .7rem 1rem; border: 1px solid transparent; border-radius: var(--radius); font-weight: 750; }
.primary { color: #fff; background: var(--action); }
.primary:hover { background: #6f1717; }
.secondary { background: var(--surface); border-color: var(--line); }
.secondary:hover { color: var(--accent-text); border-color: var(--accent-text); }
.home-section { padding-block: clamp(2.75rem, 7vw, 6rem); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 1.1rem; margin-bottom: 1.6rem; }
.home-page .section-heading h2 { display: flex; align-items: flex-start; gap: .45em; }
.home-page .section-heading h2::before { content: ""; flex: 0 0 .3em; height: .7em; margin-top: .2em; margin-left: .14em; }
.section-heading p, .page-heading p { margin-top: .65rem; color: var(--muted); }
.card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .95rem; }
.panel, .category-card { min-width: 0; padding: clamp(1rem, 2vw, 1.55rem); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.glossary-list { margin: 0; }
.glossary-list dt { font-size: 1.15rem; font-weight: 750; }
.glossary-full-name { display: block; margin-top: .15rem; font-size: .9rem; font-weight: 550; }
.glossary-list dd { margin: .45rem 0 0; color: var(--muted); }
.category-card { display: block; border-top: 3px solid var(--line); }
.category-card:hover, .category-card:focus-visible { border-top-color: var(--accent-text); }
.category-card:hover h3, .category-card:focus-visible h3 { color: var(--accent-text); }
.category-card p, .business-card > p { margin: .55rem 0 0; color: var(--muted); }
.business-card h3 { margin: .6rem 0; }
.business-card a, .profile-grid a, .prose a, .text-list a, article h2 a { text-decoration: underline; text-underline-offset: .2em; overflow-wrap: anywhere; }
.card-meta { display: block; font-size: .875rem; font-weight: 650; color: var(--muted); }
.category-card .card-meta { margin-top: .55rem; }
.empty-state { color: var(--muted); }
.badge, .business-card .badge, .page-heading .badge { display: inline-block; width: fit-content; padding: .2rem .55rem; color: var(--accent-text); border: 1px solid currentColor; border-radius: .25rem; font-size: .875rem; font-weight: 750; }

.page-spacing { padding-block: clamp(2rem, 6vw, 5rem); }
.page-heading { margin-bottom: clamp(1.75rem, 4vw, 3rem); }
.page-heading .badge { margin: 0 0 .8rem; }
.page-heading .button { margin-top: 1rem; }
.page-heading .pills { margin-top: 1rem; }
.directory-group + .directory-group { margin-top: 2.5rem; }
.directory-group h2 { margin-bottom: .95rem; }
.breadcrumb { display: inline-block; margin-bottom: 1.15rem; color: var(--accent-text); text-decoration: underline; text-underline-offset: .2em; }
.pills { display: flex; flex-wrap: wrap; gap: .55rem; padding: 0; list-style: none; }
.pills li { padding: .4rem .75rem; background: var(--surface); border: 1px solid var(--line); border-radius: 1rem; }
.pills a { text-decoration: underline; text-underline-offset: .2em; }
.profile-grid { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); align-items: start; }
.flow > * + *, .prose > * + * { margin-top: .85rem; }
.prose { max-width: 70ch; }
.prose ul, .text-list { list-style: disc; padding-left: 1.25rem; }
.prose ol { list-style: decimal; padding-left: 1.25rem; }
.site-footer { padding-block: 2.4rem; background: var(--surface); border-top: 1px solid var(--line); }
.footer-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.7rem; }
.footer-inner p { margin-top: .6rem; max-width: 35ch; color: var(--muted); }

@media (max-width: 760px) {
  .shell { width: calc(100% - 2rem); }
  .desktop-nav { display: none; }
  .mobile-nav { display: block; }
  .hero-content { align-items: end; min-height: 34rem; }
  .hero-photo img { object-position: 76% center; }
  .hero::after { background: linear-gradient(0deg, #090909f5 7%, #090909d9 38%, #09090920 85%); }
  .card-grid, .footer-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .profile-grid { grid-template-columns: 1fr; }
}
@media (max-width: 510px) {
  .section-heading { align-items: start; flex-direction: column; }
  .card-grid, .footer-inner { grid-template-columns: 1fr; }
}


.hero-actions { display: flex; flex-wrap: wrap; gap: .65rem; }
.hero-secondary { background: #171717d9; border-color: #ccc; color: #fff; }
.hero-secondary:hover { background: #292929; }
.editorial-card { display: grid; align-content: start; gap: .7rem; }
.editorial-card h2, .article-copy h2 { font-size: clamp(1.25rem, 3vw, 1.55rem); }
.editorial-card a:hover { color: var(--accent-text); }
.editorial-card > p:last-child { color: var(--muted); }
.article-copy > section { margin-top: 1.75rem; }

.upcoming-section { padding-top: clamp(2rem, 5vw, 4.25rem); }
.events-list a { text-decoration: underline; text-underline-offset: .2em; }
.game-section + .game-section, .empty-state + .game-section { margin-top: 2.5rem; }
.game-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .95rem; }
.game-card { display: grid; grid-template-rows: auto 1fr auto; gap: .65rem; }
.game-card .button { justify-self: start; }
@media (max-width: 510px) { .game-grid { grid-template-columns: 1fr; } }

.article-copy { max-width: none; }
.article-figure { margin: 0 0 clamp(1.5rem, 4vw, 2.5rem); }
.article-figure img, .editorial-image { width: 100%; height: auto; object-fit: cover; border-radius: var(--radius); }
.article-figure img { aspect-ratio: 5 / 2; }
.article-figure figcaption { margin-top: .5rem; color: var(--muted); font-size: .875rem; }
.editorial-image { aspect-ratio: 16 / 9; }
@media (max-width: 510px) { .article-figure img { aspect-ratio: 16 / 9; } }

.site-stats { margin-block: clamp(1.1rem, 3vw, 2rem) 0; }
.stats-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1px; overflow: hidden; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); }
.stats-grid li { background: var(--surface); }
@media (max-width: 600px) {
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats-grid li:first-child { grid-column: 1 / -1; }
}
.stats-grid a { display: grid; gap: .25rem; height: 100%; padding: clamp(.65rem, 2.3vw, 1.5rem); }
.stats-grid a:focus-visible { outline-offset: -4px; }
.stats-grid a:hover { background: var(--subtle); }
.stats-grid strong { font-size: clamp(1.45rem, 4vw, 2.6rem); line-height: 1; font-variant-numeric: tabular-nums; }
.stats-grid span { color: var(--muted); font-size: clamp(.875rem, 1.7vw, 1rem); overflow-wrap: anywhere; }

.business-website { display: inline-block; text-decoration: underline; text-underline-offset: .2em; }

.event-table-wrap { overflow: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.event-table { width: 100%; border-collapse: collapse; background: var(--surface); text-align: left; }
.event-table th, .event-table td { padding: .9rem clamp(.55rem, 2vw, 1.25rem); border-bottom: 1px solid var(--line); vertical-align: top; }
.event-table thead th { background: var(--subtle); }
.event-table .event-month th { color: #fff; background: var(--action); text-transform: capitalize; padding-block: .38rem; }
.event-table tbody tr:last-child > * { border-bottom: 0; }
.event-table tbody tr:not(.event-month):hover { background: var(--subtle); }
.event-table a { text-decoration: underline; text-underline-offset: .2em; }
.event-table .card-meta { margin-top: .25rem; }
.event-date { color: var(--accent-text); font-weight: 750; }
@media (max-width: 510px) {
  .event-table th, .event-table td { font-size: .875rem; overflow-wrap: anywhere; }
}

.home-latest { padding-bottom: clamp(2rem, 5vw, 4rem); }

.suggestion-types { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .95rem; }
.suggestion-contact { margin-top: clamp(2rem, 5vw, 3.5rem); }
.suggestion-actions { display: flex; flex-wrap: wrap; gap: .65rem; }
.suggestion-actions a { overflow-wrap: anywhere; }
@media (max-width: 650px) { .suggestion-types { grid-template-columns: 1fr; } }

.category-card[data-entry-count] { position: relative; }
.category-card[data-entry-count] > h3 { padding-inline-end: 2.7rem; }
.category-card .entry-count {
  position: absolute;
  inset-block-start: clamp(1rem, 2vw, 1.55rem);
  inset-inline-end: clamp(1rem, 2vw, 1.55rem);
}
.entry-count { display: inline-flex; min-width: 1.8em; justify-content: center; padding: .12em .38em; border: 1px solid var(--line); border-radius: 999px; color: var(--accent-text); background: var(--subtle); font: 700 .875rem/1.25 system-ui, sans-serif; font-variant-numeric: tabular-nums; }

.card-grid > .category-card:nth-child(even),
[data-auto-clubs] > li:nth-child(even) > .category-card,
[data-business-list] > .card-grid > .panel:nth-child(even),
[data-latest-directory] > .panel:nth-child(even),
.events-list > .panel:nth-child(even),
.pills > li:nth-child(even) {
  background: var(--surface-alt);
}

.category-suggest { margin-top: clamp(1.5rem, 4vw, 2.5rem); }

.collection-intro { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); align-items: center; gap: clamp(1rem, 4vw, 3rem); }
.collection-intro .page-heading { margin-bottom: 0; }
.collection-cover { margin: 0; }
.collection-cover img, .collection-gallery img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius); background: var(--subtle); }
.collection-cover figcaption { margin-top: .45rem; color: var(--muted); font-size: .875rem; }
.collection-cover a, .collection-model a { text-decoration: underline; text-underline-offset: .2em; }
.collection-section { margin-top: clamp(2.5rem, 6vw, 5rem); }
.collection-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .95rem; }
.collection-gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .75rem; }
@media (max-width: 760px) { .collection-intro, .collection-grid { grid-template-columns: 1fr; } .collection-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.registry-section { padding-bottom: clamp(2rem, 5vw, 4.25rem); }
.registry-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); gap: 1rem; }
.registry-post { min-width: 0; overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.registry-post iframe { display: block; width: 100%; height: clamp(24rem, 54vw, 33rem); border: 0; background: #fff; }
.registry-post > a { display: block; padding: .65rem 1rem; text-decoration: underline; text-underline-offset: .2em; }

.footer-partners h2 { font-size: 1.2rem; }
.footer-partners a { color: var(--ink); font-weight: 700; text-decoration: underline; text-underline-offset: .2em; }
.footer-partners a:hover { color: var(--accent-text); }

.business-plans { margin-top: clamp(2rem, 5vw, 3.5rem); }
.business-plan ul { padding-inline-start: 1.25rem; list-style: disc; }
.business-plan li + li { margin-top: .35rem; }
.plan-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: .35rem; }
.plan-price strong { font-size: clamp(1.6rem, 4vw, 2.3rem); line-height: 1; }
.plan-price span, .business-plans > p { color: var(--muted); }

.business-accent { position: relative; overflow: hidden; padding-inline-end: 4.6rem; }
.business-ribbon {
  position: absolute;
  margin: 0;
  top: 1.25rem;
  right: -2.85rem;
  width: 9rem;
  padding-block: .24rem;
  transform: rotate(45deg);
  background: var(--action);
  color: #fff;
  text-align: center;
  font-size: .75rem;
  font-weight: 750;
  line-height: 1.25;
}

.suggestion-business, .business-plan-highlight { background: var(--action); border-color: var(--action); color: #fff; --focus: #fff; }

.business-plan-highlight .plan-price span { color: inherit; }

.footer-partner-description { display: block; font-size: .875rem; }

.article-figure-full img, .article-press-photo img { width: 100%; height: auto; aspect-ratio: auto; border-radius: var(--radius); }
.article-press-gallery { margin-block: 1.75rem; }
.article-press-photo { margin: 0; }
.article-press-photo figcaption { margin-top: .5rem; color: var(--muted); font-size: .875rem; }
.article-press-photo a, .article-figure-full a { text-decoration: underline; text-underline-offset: .2em; }
