/* Homepage. Tokens, type, and colors match css/th-order.css.
   System font stack so the first paint does not wait on a web font. */

:root {
  --navy: #0b1f4d;
  --red: #c8102e;
  --gold: #f5b700;
  --cream: #f6f4ef;
  --ink: #0b1f4d;
  --muted: #3d4a63;
  --line: #e4e2dc;
  --card: #ffffff;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.45;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); }
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}
h1, h2, h3 { line-height: 1.15; }

.site-header {
  background: var(--navy);
  color: #fff;
  padding: 12px 16px;
  border-bottom: 4px solid var(--red);
  position: relative;
}
.site-header-row {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 1;
  color: #fff;
  text-decoration: none;
}
.brand-logo {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  object-fit: cover;
  background: #fff;
  flex: none;
}
.brand-name { font-weight: 800; font-size: 1.05rem; }
.header-order, .menu-toggle {
  background: var(--red);
  color: #fff;
  border: 0;
  text-decoration: none;
  font-weight: 800;
  border-radius: 999px;
  padding: 8px 14px;
  cursor: pointer;
}
.menu-toggle { background: transparent; }
.site-menu {
  display: none;
  position: absolute;
  right: 12px;
  top: 62px;
  z-index: 20;
  background: #fff;
  color: var(--navy);
  border-radius: 12px;
  box-shadow: 0 10px 28px rgba(11, 31, 77, 0.2);
  min-width: min(240px, calc(100vw - 24px));
  padding: 6px;
}
.site-menu.open { display: flex; flex-direction: column; }
.site-menu a {
  color: var(--navy);
  text-decoration: none;
  font-weight: 700;
  padding: 10px 12px;
  border-radius: 8px;
}
.site-menu a:hover { background: #f1f3f8; }

.wrap { width: min(1080px, calc(100% - 32px)); margin: 0 auto; }
.hero { padding: 20px 0 8px; }
.hero-grid { display: grid; gap: 16px; align-items: center; }
.kicker {
  margin: 0 0 8px;
  color: var(--red);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.78rem;
}
h1 { margin: 0 0 10px; font-size: clamp(1.8rem, 5vw, 2.7rem); color: var(--navy); }
.lede { margin: 0 0 14px; font-size: 1.05rem; max-width: 42rem; }
h2.store-picker-label {
  margin: 0 0 8px;
  font-size: 1.05rem;
  line-height: 1.2;
  font-weight: 800;
  color: var(--navy);
}
.store-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 0 0 14px;
}
.store-card-wrap { min-width: 0; }
.store-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  width: 100%;
  min-height: 72px;
  text-align: center;
  text-decoration: none;
  font-weight: 800;
  color: #fff;
  background: var(--red);
  border-radius: 12px;
  padding: 12px 8px;
}
.store-card-note {
  margin: 6px 0 0;
  text-align: center;
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.25;
  color: var(--muted);
}
.store-card .store-seg-name { font-size: 1.05rem; line-height: 1.2; }
.store-card .store-seg-addr {
  font-weight: 600;
  font-size: 0.75rem;
  line-height: 1.25;
  color: rgba(255, 255, 255, 0.92);
}
.hours-card {
  background: #fff7e0;
  border: 1px solid var(--gold);
  border-radius: 14px;
  padding: 12px 14px;
  min-height: 7.5rem;
}
.hours-card.is-open { background: #eef8ef; border-color: #8fbf96; }
.hours-card.is-closed { background: #fff7e0; border-color: var(--gold); }
.hours-card p { margin: 0; }
.hours-status { font-weight: 800; min-height: 2.8em; }
.hours-note { margin-top: 4px !important; color: var(--muted); }
.hero-photo {
  width: 100%;
  border-radius: 18px;
  background: transparent;
  object-fit: contain;
  height: auto;
}

.section { padding: 28px 0; }
h2 { margin: 0 0 12px; font-size: 1.45rem; color: var(--navy); }
h3 { margin: 0 0 8px; font-size: 1.15rem; }
.panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
}
.stack { display: grid; gap: 12px; }
.menu-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.menu-list a { font-weight: 800; text-decoration: none; }
.menu-list a:hover { text-decoration: underline; }
.feature-photos { width: 100%; }
.thumb {
  display: block;
  width: 100%;
  max-width: none;
  border-radius: 14px;
  height: auto;
  object-fit: contain;
}
.loc-grid { display: grid; gap: 12px; }
.loc-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.loc-actions a { font-weight: 800; }
.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 12px;
}
.faq summary { font-weight: 800; cursor: pointer; }
.faq p { margin: 8px 0 0; }
.signup { background: var(--navy); color: #fff; }
.signup h2, .signup .kicker { color: #fff; }
.signup p { color: rgba(255, 255, 255, 0.85); }
.club-form { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 12px; }
.club-input {
  flex: 1;
  min-width: 12rem;
  border: 2px solid var(--gold);
  border-radius: 10px;
  padding: 12px 14px;
  font: inherit;
  color: var(--navy);
  background: #fff;
}
.club-btn {
  background: var(--red);
  color: #fff;
  border: 0;
  border-radius: 10px;
  font-weight: 800;
  padding: 12px 16px;
  cursor: pointer;
}
.club-fine { color: rgba(255, 255, 255, 0.75); font-size: 0.85rem; margin: 0 0 6px; }

.site-footer {
  background: var(--navy);
  color: #fff;
  padding: 28px 0;
  margin-top: 12px;
}
.site-footer a { color: #fff; }
.footer-grid { display: grid; gap: 16px; }
.social { display: flex; gap: 12px; flex-wrap: wrap; }
.fine { color: rgba(255, 255, 255, 0.75); font-size: 0.9rem; }

@media (min-width: 800px) {
  .hero-grid { grid-template-columns: 1.15fr 0.85fr; }
  .hero-photo { order: -1; }
  .loc-grid, .footer-grid { grid-template-columns: 1fr 1fr; }
}
