@font-face {
  font-family: 'Baseball Club';
  src: url('baseball-club-solid.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #0d1f30;
  --ink: #f7f9fb;
  --muted: #93a5b8;
  --accent: #93170f;
  --line: #25415e;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Space Grotesk', system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.wordmark img { height: 44px; width: auto; display: block; }

.site-header nav { display: flex; gap: 24px; }
.site-header nav a {
  text-decoration: none;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--muted);
}
.site-header nav a:hover,
.site-header nav a[aria-current="page"] { color: var(--ink); }

main { max-width: 880px; margin: 0 auto; padding: 0 24px; }

.hero { padding: 96px 0 72px; border-bottom: 1px solid var(--line); }
.hero-small { padding: 64px 0 48px; }

.label {
  font-family: 'Yellowtail', 'Space Grotesk', cursive;
  font-size: 26px;
  line-height: 1.2;
  color: #f0654a;
  margin-bottom: 20px;
}
.panel .label { color: #f0654a; }

h1 {
  font-family: 'Baseball Club', 'Space Grotesk', system-ui, sans-serif;
  font-size: clamp(38px, 6.5vw, 62px);
  line-height: 1.08;
  font-weight: 400;
  letter-spacing: 0.02em;
  margin-bottom: 24px;
  color: var(--ink);
}

h2 {
  font-family: 'Baseball Club', 'Space Grotesk', system-ui, sans-serif;
  font-size: 28px;
  margin-bottom: 14px;
  letter-spacing: 0.02em;
  font-weight: 400;
  color: var(--ink);
}

.lede { font-size: 18px; color: var(--muted); max-width: 560px; }

.cta-row { display: flex; gap: 14px; margin-top: 36px; flex-wrap: wrap; }

.btn {
  display: inline-block;
  padding: 13px 22px;
  border: 1px solid var(--ink);
  text-decoration: none;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.14em;
  font-weight: 500;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-family: inherit;
}
.btn:hover { background: var(--ink); color: var(--bg); }
.btn-solid { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn-solid:hover { background: #7a120c; border-color: #7a120c; color: #fff; }

.panel { padding: 56px 0; border-bottom: 1px solid var(--line); }
.panel p { color: var(--muted); max-width: 620px; }
.panel .label { margin-bottom: 14px; }

.panel-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; border-bottom: 1px solid var(--line); }
.panel-grid .panel { border-bottom: none; }
@media (max-width: 720px) { .panel-grid { grid-template-columns: 1fr; gap: 0; } .panel-grid .panel { border-bottom: 1px solid var(--line); } }

.text-link { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--accent); }
.text-link:hover { border-color: var(--ink); }

.rules ul { list-style: none; }
.rules li { color: var(--muted); padding: 10px 0 10px 22px; position: relative; }
.rules li::before { content: ""; position: absolute; left: 0; top: 20px; width: 10px; height: 1px; background: var(--accent); }

.form-note { margin-bottom: 28px; }

form { max-width: 520px; }
label {
  display: block;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin: 22px 0 8px;
}
input {
  width: 100%;
  padding: 13px 14px;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink);
  font-family: inherit;
  font-size: 15px;
}
input:focus { outline: none; border-color: var(--ink); }
form .btn { margin-top: 28px; }

.form-done { margin-top: 20px; color: var(--ink); }

.site-footer {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 28px 24px 20px;
  font-size: 13px;
  color: var(--muted);
}
.footer-top {
  display: flex; align-items: center; gap: 28px; flex-wrap: wrap;
  padding-bottom: 18px;
}
.site-footer .footer-mark { height: 34px; width: auto; display: block; }
.footer-nav { display: flex; gap: 18px; flex-wrap: wrap; flex: 1; }
.footer-nav a {
  color: var(--muted); text-decoration: none; text-transform: uppercase;
  letter-spacing: .12em; font-size: 11px;
}
.footer-ig {
  color: #f0654a; text-decoration: none; font-weight: 500; letter-spacing: .04em;
}
.footer-bottom {
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,.06); padding-top: 14px; font-size: 12px;
}
.site-footer a:hover { color: var(--ink); }
.footer-ig:hover { color: #f0654a; opacity: .85; }
@media (max-width: 640px) {
  .footer-top { flex-direction: column; align-items: flex-start; gap: 14px; }
  .footer-bottom { flex-direction: column; }
}

/* Homepage jazz */
.script-accent {
  font-family: 'Yellowtail', 'Space Grotesk', cursive;
  color: #f0654a; font-size: 1.05em; letter-spacing: 0;
}
.marquee {
  overflow: hidden; border-bottom: 1px solid var(--line);
  padding: 16px 0; margin-bottom: 8px;
}
.marquee-track {
  display: flex; gap: 56px; width: max-content;
  white-space: nowrap; animation: hsf-scroll 26s linear infinite;
  font-family: 'Baseball Club', 'Space Grotesk', sans-serif;
  font-size: 15px; letter-spacing: .28em; text-transform: uppercase;
  color: rgba(245, 242, 236, .32);
}
.marquee-track span::after { content: '\2022'; margin-left: 56px; color: rgba(240,101,74,.6); }
@keyframes hsf-scroll { to { transform: translateX(-50%); } }
.panel { transition: transform .18s ease, border-color .18s ease; }
.panel:hover { transform: translateY(-3px); border-color: rgba(240,101,74,.5); }
.panel-feature { border-color: rgba(147,23,15,.65); }
.panel h3 { margin-top: 6px; }
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  .panel, .panel:hover { transition: none; transform: none; }
}

/* Mobile header wrap (7-item nav) */
@media (max-width: 760px) {
  .site-header { flex-direction: column; align-items: flex-start; gap: 14px; padding: 16px 20px; }
  .site-header nav { flex-wrap: wrap; gap: 10px 16px; }
  .site-header nav a { font-size: 11px; letter-spacing: .1em; }
  .hero { padding: 56px 0 44px; }
  .hero-small { padding: 44px 0 32px; }
  main { padding: 0 20px; }
}

/* Membership */
.member-chip {
  padding: 12px 14px; border: 1px dashed rgba(240, 101, 74, .55);
  border-radius: 10px; font-size: 14px; color: var(--muted); margin: 0 0 18px;
}
.member-chip.ok { border-style: solid; border-color: rgba(125, 201, 143, .55); }
.member-chip a { color: #f0654a; }
.member-count { color: var(--muted); font-size: 14px; letter-spacing: .04em; margin-top: 22px; }
.member-count strong { color: #f0654a; }

/* Photos + founder */
.photo-strip { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 40px 0 0; }
.photo-strip figure { margin: 0; border-radius: 14px; overflow: hidden; border: 1px solid rgba(255,255,255,.09); }
.photo-strip img { width: 100%; height: 320px; object-fit: cover; display: block; }
.photo-credit { font-size: 11px; color: var(--muted); letter-spacing: .04em; margin: 8px 0 0; }
.founder blockquote { font-size: clamp(19px, 2.4vw, 26px); line-height: 1.5; font-weight: 500; margin: 12px 0 18px; max-width: 46ch; }
.founder-sig { font-size: 20px; color: var(--muted); }
.founder-sig .script-accent { font-size: 36px; }
@media (max-width: 760px) {
  .photo-strip { grid-template-columns: 1fr; }
  .photo-strip img { height: 220px; }
}

/* hidden attribute must beat .btn display */
[hidden] { display: none !important; }
.join-tabs { display: flex; gap: 10px; margin-bottom: 22px; }
.at-wrap { display: flex; align-items: center; gap: 8px; }
.at-wrap span { color: #f0654a; font-weight: 700; }
.at-wrap input { flex: 1; }
.pass-note { font-size: 13px; color: var(--muted); line-height: 1.5; }
.pass-note strong { color: #f0654a; }
.join-panel input[type="text"], .join-panel input[type="password"], .join-panel select {
  width: 100%; padding: 12px 14px; margin-top: 6px; background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.14); border-radius: 10px; color: #fff; font-size: 15px;
}
.join-panel label { display: block; margin-bottom: 16px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.join-panel .check-row { display: flex; align-items: center; gap: 10px; text-transform: none; letter-spacing: 0; font-size: 14px; }
.join-panel .cf-turnstile { margin: 6px 0 18px; }
.join-panel .form-msg { margin-top: 12px; font-size: 14px; }
.join-panel h2 { margin-bottom: 8px; }
.join-panel .btn { margin-top: 4px; }
