/* National Bag Players Association — styles */

:root {
  --navy: #0F2545;
  --navy-light: #1B3A6B;
  --navy-dark: #0A1A33;
  --accent: #B23A48;
  --gold: #C8A85A;
  --cream: #FAF7F2;
  --paper: #FFFFFF;
  --ink: #1A1A1A;
  --muted: #6B7280;
  --line: #E5E7EB;
  --max: 1080px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--navy);
  text-decoration: none;
  transition: color 0.15s ease;
}

a:hover { color: var(--accent); }

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ---------- Nav ---------- */
.nav {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  padding: 0.85rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--navy);
}

.nav__brand img { height: 42px; width: auto; }

.nav__brand-text {
  font-family: 'Oswald', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy);
  line-height: 1.1;
}

.nav__brand-text small {
  display: block;
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  color: var(--muted);
  margin-top: 0.15rem;
}

.nav__links { display: flex; gap: 1.5rem; align-items: center; }

.nav__links a {
  font-family: 'Oswald', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
}

@media (max-width: 640px) {
  .nav__brand-text { display: none; }
  .nav__links { gap: 1rem; }
  .nav__links a { font-size: 0.75rem; letter-spacing: 0.1em; }
}

/* ---------- Hero (home) ---------- */
.hero {
  background: var(--navy);
  color: var(--paper);
  padding: 4.5rem 0 5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before,
.hero::after {
  content: '';
  position: absolute;
  width: 60%;
  height: 1px;
  background: rgba(255,255,255,0.15);
  top: 50%;
}

.hero::before { left: -30%; }
.hero::after { right: -30%; }

.hero__inner { position: relative; z-index: 1; }

.hero__logo {
  width: 170px;
  margin: 0 auto 2rem;
}

.hero__title {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(2.25rem, 5.5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.05;
  margin-bottom: 0.75rem;
}

.hero__divider {
  width: 60px;
  height: 3px;
  background: var(--gold);
  margin: 1.25rem auto;
}

.hero__tagline {
  font-size: 1.1rem;
  max-width: 560px;
  margin: 0 auto;
  color: rgba(255,255,255,0.85);
  line-height: 1.55;
}

.hero__estd {
  margin-top: 1.5rem;
  font-family: 'Oswald', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}

/* ---------- Games index ---------- */
.games { padding: 4.5rem 0 5rem; }

.section-label {
  font-family: 'Oswald', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  text-align: center;
  margin-bottom: 0.5rem;
}

.section-title {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-align: center;
  margin-bottom: 0.5rem;
  color: var(--navy);
}

.section-subtitle {
  text-align: center;
  color: var(--muted);
  margin-bottom: 3rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.games__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}

.game-card {
  display: block;
  background: var(--paper);
  border: 2px solid var(--navy);
  border-radius: 4px;
  padding: 2.25rem 1.5rem;
  text-align: center;
  color: var(--navy);
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
  position: relative;
  overflow: hidden;
}

.game-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.game-card:hover {
  background: var(--navy);
  color: var(--paper);
  transform: translateY(-2px);
}

.game-card:hover::before { transform: scaleX(1); }

.game-card__num {
  font-family: 'Oswald', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  opacity: 0.55;
  margin-bottom: 0.5rem;
}

.game-card__name {
  font-family: 'Oswald', sans-serif;
  font-size: 1.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.5rem;
  line-height: 1;
}

.game-card__tagline {
  font-size: 0.95rem;
  line-height: 1.5;
  opacity: 0.9;
}

/* ---------- Game page ---------- */
.game-hero {
  background: var(--navy);
  color: var(--paper);
  padding: 4rem 0 4.5rem;
  text-align: center;
  position: relative;
}

.game-hero__crumb {
  font-family: 'Oswald', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 1rem;
}

.game-hero__crumb a { color: rgba(255,255,255,0.7); }
.game-hero__crumb a:hover { color: var(--gold); }

.game-hero__title {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(2.75rem, 7vw, 5rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1;
  margin-bottom: 1.25rem;
}

.game-hero__towin {
  display: inline-block;
  font-family: 'Oswald', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.game-hero__objective {
  font-size: 1.15rem;
  max-width: 580px;
  margin: 0 auto;
  color: rgba(255,255,255,0.92);
  line-height: 1.5;
}

/* Hero CTA (used on footbags) */
.hero-cta {
  display: inline-block;
  margin-top: 1.75rem;
  padding: 0.95rem 1.75rem;
  background: var(--gold);
  color: var(--navy);
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border-radius: 4px;
  transition: background 0.15s ease, transform 0.1s ease;
}
.hero-cta:hover { background: #D4B66A; color: var(--navy); transform: translateY(-1px); }

/* Section blocks within a game page */
.game-section {
  padding: 3.5rem 0;
  border-bottom: 1px solid var(--line);
}

.game-section:last-of-type { border-bottom: none; }

.game-section__label {
  font-family: 'Oswald', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
  display: block;
}

.game-section__title {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(1.6rem, 3.5vw, 2.1rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--navy);
  margin-bottom: 1.25rem;
  line-height: 1.1;
}

.game-section__lead {
  font-size: 1.05rem;
  color: var(--ink);
  margin-bottom: 1.5rem;
  max-width: 640px;
}

/* Spec grid — Players, Bags, Distance summary cards */
.spec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 0.85rem;
  margin-top: 1rem;
}

.spec {
  background: var(--cream);
  border-left: 4px solid var(--accent);
  padding: 1.1rem 1.25rem;
  border-radius: 2px;
}

.spec__label {
  font-family: 'Oswald', sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.35rem;
}

.spec__value {
  font-family: 'Oswald', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.03em;
  line-height: 1;
}

.spec__sub {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--muted);
  letter-spacing: 0;
  text-transform: none;
  margin-top: 0.4rem;
}

/* Direction steps */
.steps { display: grid; gap: 1.25rem; }

.step {
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 1.5rem 1.5rem 1.4rem;
  background: var(--paper);
  border-left: 4px solid var(--navy);
}

.step__head {
  font-family: 'Oswald', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 0.6rem;
}

.step__body { font-size: 1rem; color: var(--ink); }
.step__body p + p { margin-top: 0.75rem; }
.step__body em { font-style: normal; color: var(--accent); font-weight: 600; }

/* Numbered tips */
.tips {
  list-style: none;
  counter-reset: tip;
  display: grid;
  gap: 1rem;
  max-width: 720px;
}

.tips li {
  counter-increment: tip;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 0.25rem 0;
}

.tips li::before {
  content: counter(tip);
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  color: var(--paper);
  border-radius: 50%;
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  margin-top: 0.1rem;
}

/* Glossary entries */
.glossary { display: grid; gap: 1.25rem; max-width: 720px; }

.glossary__term {
  font-family: 'Oswald', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 0.4rem;
}

.glossary__def { font-size: 1rem; color: var(--ink); }

/* Events page, common benefits row */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.benefit {
  background: var(--cream);
  border-left: 4px solid var(--accent);
  padding: 1.5rem 1.5rem 1.4rem;
  border-radius: 2px;
}

.benefit__icon {
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
}

.benefit__name {
  font-family: 'Oswald', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--navy);
  margin-bottom: 0.6rem;
  line-height: 1.2;
}

.benefit__desc {
  font-size: 0.95rem;
  color: var(--ink);
  line-height: 1.55;
}

.benefit__desc a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

@media (max-width: 900px) {
  .benefits-grid { grid-template-columns: 1fr; }
}

/* Events page, pricing tiers */
.events-tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.tier {
  background: var(--paper);
  border: 2px solid var(--navy);
  border-radius: 4px;
  padding: 2rem 1.5rem 1.75rem;
  display: flex;
  flex-direction: column;
  position: relative;
}

.tier__label {
  font-family: 'Oswald', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.6rem;
}

.tier__name {
  font-family: 'Oswald', sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--navy);
  margin-bottom: 0.6rem;
  line-height: 1;
}

.tier__pitch {
  font-size: 0.95rem;
  color: var(--ink);
  margin-bottom: 1.25rem;
  line-height: 1.5;
}

.tier__price {
  font-family: 'Oswald', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 0.3rem;
}

.tier__price-from {
  font-size: 1.5rem;
  color: var(--accent);
  font-weight: 600;
  margin-left: 0.15rem;
}

.tier--featured .tier__price-from { color: var(--gold); }

.tier__price-sub {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.tier__features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
  display: grid;
  gap: 0.55rem;
}

.tier__features li {
  font-size: 0.93rem;
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  line-height: 1.45;
}

.tier__features li::before {
  content: '✓';
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 0.05rem;
}

.tier__best {
  font-size: 0.85rem;
  color: var(--muted);
  font-style: italic;
  margin-bottom: 1.25rem;
  padding-top: 1rem;
  border-top: 1px dashed var(--line);
}

.tier__cta {
  display: inline-block;
  margin-top: auto;
  padding: 0.85rem 1.25rem;
  background: var(--accent);
  color: var(--paper);
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.85rem;
  font-weight: 600;
  text-align: center;
  border-radius: 3px;
  transition: background 0.15s ease;
}

.tier__cta:hover { background: var(--navy); color: var(--paper); }

.tier__cta--primary {
  background: var(--navy);
  font-size: 0.95rem;
  padding: 1rem 1.75rem;
  margin-top: 1rem;
}

.tier__cta--primary:hover { background: var(--accent); }

/* Featured tier (top tier, navy fill) */
.tier--featured {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--paper);
}

.tier--featured .tier__name,
.tier--featured .tier__price { color: var(--paper); }

.tier--featured .tier__label { color: var(--gold); }

.tier--featured .tier__pitch,
.tier--featured .tier__features li { color: rgba(255,255,255,0.9); }

.tier--featured .tier__price-sub,
.tier--featured .tier__best { color: rgba(255,255,255,0.65); }

.tier--featured .tier__features li::before { color: var(--gold); }

.tier--featured .tier__best { border-top-color: rgba(255,255,255,0.2); }

.tier--featured .tier__cta {
  background: var(--gold);
  color: var(--navy);
}

.tier--featured .tier__cta:hover {
  background: var(--paper);
  color: var(--navy);
}

@media (max-width: 900px) {
  .events-tiers { grid-template-columns: 1fr; }
}

/* Creed page */
.creed-content {
  max-width: 640px;
  margin: 0 auto;
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--ink);
}

.creed-content p { margin-bottom: 1.5rem; }

.creed__lead {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(1.5rem, 3.2vw, 2.1rem) !important;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--navy);
  text-align: center;
  margin-bottom: 2.5rem !important;
  line-height: 1.2 !important;
}

.creed__weird {
  font-family: 'Oswald', sans-serif;
  font-size: 1.25rem !important;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent);
  text-align: center;
  margin: 2rem 0 !important;
}

.creed__signoff {
  font-style: italic;
  color: var(--muted);
  text-align: center;
  margin-top: 2.5rem !important;
  font-size: 1rem;
}

/* Back link */
.back-row { padding: 2rem 0 4rem; }
.back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Oswald', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--navy);
}

.back::before { content: '←'; }

/* Footer */
.footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.7);
  padding: 3rem 0 2.75rem;
  text-align: center;
}

.footer__logo {
  width: 70px;
  margin: 0 auto 1rem;
  opacity: 0.85;
}

.footer__brand {
  font-family: 'Oswald', sans-serif;
  font-size: 0.95rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--paper);
  margin-bottom: 0.4rem;
}

.footer__estd {
  font-family: 'Oswald', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 1rem;
}

.footer__quip {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.55);
  font-style: italic;
  max-width: 420px;
  margin: 0 auto;
}

@media (max-width: 640px) {
  .hero { padding: 3.5rem 0 4rem; }
  .game-hero { padding: 3rem 0 3.5rem; }
  .game-section { padding: 2.5rem 0; }
  .games { padding: 3.5rem 0 4rem; }
}
