/* Show Goes On Tournament — site styles */

:root {
  --blue: #0e1add;
  --ink: #000000;
  --text: #000000;
  --text-muted: #6b6b6b;
  --host-muted: #9b9b9b;
  --white: #ffffff;
  --bg-light: #f4f4f5;
  --border: #e2e2e6;
  --max-width: 1080px;
  --header-max-width: 1220px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

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

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

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

/* Header / Nav */

.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: var(--header-max-width);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.brand {
  color: var(--ink);
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  white-space: nowrap;
}
.brand span { color: inherit; }
.brand:hover { text-decoration: none; opacity: 0.75; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 20px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--ink);
  border-radius: 2px;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 2px;
}

.site-nav a {
  color: var(--ink);
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 0.74rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 7px 8px;
  border-radius: 4px;
  border: 1px solid transparent;
  white-space: nowrap;
}
.site-nav a:hover,
.site-nav a.active {
  border-color: var(--ink);
  text-decoration: none;
}

/* Hero */

.hero {
  position: relative;
  background: linear-gradient(180deg, rgba(0,0,0,0.5), rgba(0,0,0,0.72)), var(--ink);
  background-size: cover;
  background-position: center 12%;
  color: var(--white);
  text-align: center;
  padding: 56px 24px 40px;
  min-height: clamp(440px, 34vw, 640px);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  box-sizing: border-box;
}

.hero-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 700;
  color: var(--blue);
  margin: 0 0 8px;
}

.hero h1 {
  font-size: clamp(2.2rem, 6vw, 3.8rem);
  margin: 0 0 12px;
  font-weight: 900;
  line-height: 1.05;
  color: var(--blue);
  text-shadow: 0 2px 14px rgba(0,0,0,0.55);
}

.hero-sub {
  font-size: 1.15rem;
  margin: 0 0 6px;
  font-weight: 600;
  text-shadow: 0 1px 4px rgba(0,0,0,0.9), 0 2px 12px rgba(0,0,0,0.7);
}

.hero-date {
  font-size: 1.4rem;
  font-weight: 800;
  margin: 18px 0 4px;
  text-shadow: 0 1px 4px rgba(0,0,0,0.9), 0 2px 12px rgba(0,0,0,0.7);
}

.hero-host {
  color: rgba(255,255,255,0.9);
  margin: 0;
  text-shadow: 0 1px 4px rgba(0,0,0,0.9), 0 2px 12px rgba(0,0,0,0.7);
}

.hero-footer {
  background: var(--bg-light);
  border-bottom: 1px solid var(--border);
  text-align: center;
  padding: 32px 24px;
}

.badge {
  display: inline-block;
  padding: 9px 26px;
  border-radius: 999px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.85rem;
}
.badge-closed {
  background: var(--ink);
  border: 1px solid var(--ink);
  color: var(--white);
}
.badge-open {
  background: var(--blue);
  border: 1px solid var(--blue);
  color: var(--white);
}
.badge-open:hover {
  background: var(--ink);
  border-color: var(--ink);
  text-decoration: none;
}

.countdown-title {
  margin: 20px 0 0;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.countdown {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 12px;
  flex-wrap: wrap;
}
.countdown div {
  background: #eaecfa;
  border: 1px solid #d3d7f4;
  border-radius: 10px;
  padding: 12px 18px;
  min-width: 80px;
}
.countdown .num {
  display: block;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--blue);
}
.countdown .label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

/* Sections */

.section {
  padding: 56px 24px;
}
.section-alt { background: var(--bg-light); }

.section h2 {
  font-size: 1.8rem;
  margin: 0 0 24px;
  color: var(--blue);
  text-align: center;
}

.page-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  color: var(--ink);
  text-align: center;
  padding: 48px 24px 36px;
}
.page-header h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.8rem, 5vw, 2.6rem);
  display: inline-block;
  border-bottom: 3px solid var(--blue);
  padding-bottom: 10px;
}

/* Teams grid */

.teams-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
  max-width: 720px;
  margin: 0 auto;
}
.team-chip {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 14px 10px;
  text-align: center;
  font-weight: 700;
  color: var(--blue);
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

/* Info cards */

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}
.info-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 22px;
}
.info-card h3 {
  margin: 0 0 8px;
  color: var(--blue);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.info-card p { margin: 0; color: var(--text-muted); }

/* Prose content */

.prose {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 24px;
}
.prose p { margin: 0 0 18px; }
.prose h2 { color: var(--blue); margin-top: 36px; }
.prose ul { padding-left: 20px; }
.prose li { margin-bottom: 8px; }

.callout {
  background: var(--bg-light);
  border-left: 4px solid var(--blue);
  border-radius: 8px;
  padding: 18px 20px;
  margin: 24px 0;
}

.donor-cta {
  background: var(--blue);
  color: var(--white);
  border-radius: 12px;
  padding: 28px 26px;
  max-width: 700px;
  width: calc(100% - 48px);
  margin: 32px auto;
  text-align: center;
  box-sizing: border-box;
}
.donor-cta h2 {
  color: var(--white);
  margin: 0 0 10px;
  font-size: 1.4rem;
}
.donor-cta p {
  margin: 0 0 20px;
  color: rgba(255,255,255,0.9);
}
.donor-cta-buttons {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* Forms */

.form-wrap {
  max-width: 560px;
  margin: 0 auto;
  padding: 48px 24px 64px;
}
.form-note {
  color: var(--text-muted);
  margin-bottom: 24px;
}
.required-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.field {
  margin-bottom: 18px;
}
.field label {
  display: block;
  font-weight: 700;
  margin-bottom: 6px;
  font-size: 0.9rem;
}
.field-row {
  display: flex;
  gap: 12px;
}
.field-row .field { flex: 1; }

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  background: var(--white);
}
textarea { min-height: 120px; resize: vertical; }

.btn {
  display: inline-block;
  background: var(--blue);
  color: var(--white);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border: none;
  border-radius: 999px;
  padding: 13px 32px;
  font-size: 0.95rem;
  cursor: pointer;
}
.btn:hover { background: var(--ink); text-decoration: none; }

.form-status {
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.92rem;
}
.form-status-success {
  background: #e7f6ec;
  color: #1a7a3c;
}
.form-status-error {
  background: #fdeceb;
  color: #b3261e;
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--white);
  color: var(--white);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--blue);
  text-decoration: none;
}

.btn-white {
  background: var(--white);
  border: 1px solid var(--white);
  color: var(--blue);
}
.btn-white:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
  text-decoration: none;
}


.flyer-section {
  text-align: center;
}
.flyer-img {
  max-width: 380px;
  margin: 0 auto;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.12);
}

.venmo-block {
  text-align: center;
  margin: 24px 0;
}
.venmo-block img {
  max-width: 160px;
  margin: 0 auto;
  border: 1px solid var(--border);
  border-radius: 8px;
}
.venmo-label {
  font-weight: 700;
  color: var(--blue);
  margin: 0 0 10px;
}

/* History */

.history-year {
  max-width: 720px;
  margin: 0 auto 28px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 22px 26px;
}
.history-year h3 {
  margin: 0 0 12px;
  color: var(--white);
  background: var(--blue);
  display: inline-block;
  padding: 4px 16px;
  border-radius: 999px;
  font-size: 1rem;
}
.history-results p { margin: 4px 0; font-weight: 700; }
.history-results .runner-up,
.history-results .third { font-weight: 500; color: var(--text-muted); }
.history-participants {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin: 10px 0 14px;
}

/* Footer */

.site-footer {
  background: var(--white);
  border-top: 1px solid var(--border);
  color: var(--host-muted);
  text-align: center;
  padding: 32px 24px;
  font-size: 0.9rem;
}
.site-footer p { margin: 4px 0; }
.site-footer a { color: var(--blue); }

/* Mobile nav */

@media (max-width: 1024px) {
  .nav-toggle { display: flex; }
  .site-nav {
    display: none;
    flex-direction: column;
    width: 100%;
    padding-top: 10px;
  }
  .site-nav.open { display: flex; }
  .header-inner { flex-wrap: wrap; }
  .field-row { flex-direction: column; gap: 0; }
}

@media (max-width: 600px) {
  .hero {
    background-position: center 0%;
    padding: 40px 20px 36px;
  }
  .hero-sub { font-size: 1rem; margin-bottom: 4px; }
  .hero-date { font-size: 1.15rem; margin: 12px 0 2px; }
  .hero-host { font-size: 0.9rem; margin-bottom: 18px; }
  .countdown { margin-top: 20px; }
}
