/* Lewiston Event Center — site styles */

:root {
  --paper: #faf8f4;
  --ink: #211d17;
  --ink-soft: #5d564a;
  --ink-faint: #8b8375;
  --line: #e5dfd4;
  --card: #ffffff;
  --dark: #211d17;
  --dark-2: #2b2620;
  --dark-ink: #f5f0e6;
  --dark-soft: #beb5a4;
  --accent: #b06f1c;
  --accent-bright: #e9a83b;
  --accent-deep: #8a5512;
  --accent-wash: #f4e8d4;
  --good: #3d7a44;
  --bad: #a33c2e;
  --radius: 6px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Public Sans", "Segoe UI", system-ui, sans-serif;
  font-size: 16.5px;
  line-height: 1.6;
}

img { max-width: 100%; }

h1, h2, h3, .display {
  font-family: "Big Shoulders", "Arial Narrow", sans-serif;
  text-transform: uppercase;
  line-height: 0.95;
  letter-spacing: 0.015em;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0 0 14px; max-width: 62ch; }

a { color: var(--accent-deep); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.wrap { max-width: 1060px; margin: 0 auto; padding: 0 22px; }

/* ---------- header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding-top: 14px; padding-bottom: 14px; flex-wrap: wrap;
}
.wordmark {
  font-family: "Big Shoulders", "Arial Narrow", sans-serif;
  font-weight: 800; font-size: 22px; letter-spacing: 0.04em;
  text-transform: uppercase; text-decoration: none; color: var(--ink);
  display: flex; align-items: center; gap: 10px;
}
.wordmark .pin {
  background: var(--accent); color: #fff; font-size: 15px; font-weight: 800;
  width: 32px; height: 32px; display: grid; place-items: center; border-radius: 4px;
}
.site-nav { display: flex; gap: 4px; flex-wrap: wrap; }
.site-nav a {
  font-family: "Big Shoulders", "Arial Narrow", sans-serif;
  font-weight: 700; font-size: 17px; letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--ink-soft); text-decoration: none; padding: 6px 12px; border-radius: 4px;
}
.site-nav a:hover { color: var(--ink); background: var(--accent-wash); }
.site-nav a.active { color: var(--accent-deep); }
.site-nav a.cta {
  background: var(--accent); color: #fff;
}
.site-nav a.cta:hover { background: var(--accent-deep); color: #fff; }

/* ---------- hero ---------- */

.hero {
  background: linear-gradient(160deg, var(--dark) 0%, var(--dark-2) 70%, #34291a 100%);
  color: var(--dark-ink);
  padding: 72px 0 64px;
}
.hero .kicker {
  font-family: "Big Shoulders", "Arial Narrow", sans-serif;
  font-weight: 700; font-size: 16px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--accent-bright); margin: 0 0 16px;
}
.hero h1 { font-size: clamp(52px, 9vw, 96px); font-weight: 800; color: #fff; max-width: 14ch; }
.hero .lede { font-size: 19px; color: var(--dark-soft); margin: 22px 0 30px; max-width: 52ch; }
.hero.compact { padding: 52px 0 46px; }
.hero.compact h1 { font-size: clamp(40px, 7vw, 68px); }

.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
  display: inline-block; text-decoration: none; cursor: pointer; border: none;
  font-family: "Big Shoulders", "Arial Narrow", sans-serif;
  font-weight: 700; font-size: 19px; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 13px 26px 14px; border-radius: var(--radius);
}
.btn.primary { background: var(--accent); color: #fff; }
.btn.primary:hover { background: var(--accent-bright); color: var(--dark); }
.btn.ghost { background: transparent; color: var(--dark-ink); box-shadow: inset 0 0 0 1.5px var(--dark-soft); }
.btn.ghost:hover { box-shadow: inset 0 0 0 1.5px var(--accent-bright); color: var(--accent-bright); }
.btn.ghost.on-light { color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink-faint); }
.btn.ghost.on-light:hover { color: var(--accent-deep); box-shadow: inset 0 0 0 1.5px var(--accent); }
.btn[disabled] { opacity: 0.55; cursor: not-allowed; }

/* ---------- sections ---------- */

section { padding: 60px 0; }
.section-label {
  font-family: "Big Shoulders", "Arial Narrow", sans-serif;
  font-weight: 700; font-size: 15px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--accent-deep); margin: 0 0 10px;
}
h2 { font-size: clamp(34px, 5vw, 48px); font-weight: 800; margin-bottom: 18px; }
h3 { font-size: 22px; font-weight: 700; letter-spacing: 0.03em; margin-bottom: 8px; }
.muted { color: var(--ink-soft); }

.feature-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 14px; margin-top: 28px;
}
.feature {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 22px 18px;
}
.feature .num {
  font-family: "Big Shoulders", "Arial Narrow", sans-serif;
  font-weight: 800; font-size: 34px; color: var(--accent); line-height: 1;
}
.feature p { font-size: 15px; color: var(--ink-soft); margin: 0; }

.band {
  background: var(--dark); color: var(--dark-ink);
  padding: 56px 0;
}
.band h2 { color: #fff; }
.band p { color: var(--dark-soft); }

/* ---------- visit / contact ---------- */

.visit-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 28px; margin-top: 24px; }
.visit-grid h3 { color: var(--accent-deep); }
.visit-grid a { color: var(--ink); font-weight: 600; }
.hours { width: 100%; border-collapse: collapse; font-size: 15.5px; max-width: 340px; }
.hours td { padding: 5px 0; border-bottom: 1px solid var(--line); color: var(--ink-soft); }
.hours td:last-child { text-align: right; color: var(--ink); font-variant-numeric: tabular-nums; }
.fineprint { font-size: 13.5px; color: var(--ink-faint); }

/* ---------- league details ---------- */

.notice {
  background: var(--accent-wash); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 14px 18px; margin: 20px 0; font-size: 15.5px; max-width: 640px;
}
.detail-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px; margin: 24px 0 8px;
}
.detail {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 14px 16px;
}
.detail .d-label {
  font-family: "Big Shoulders", "Arial Narrow", sans-serif; font-weight: 700;
  font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-faint);
}
.detail .d-value { font-size: 19px; font-weight: 700; margin-top: 2px; }
.detail .d-value.tba { color: var(--ink-faint); font-weight: 500; }

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin-top: 24px; }
.step { border-left: 3px solid var(--accent); padding: 4px 0 4px 16px; }
.step h3 { font-size: 19px; }
.step p { font-size: 15px; color: var(--ink-soft); margin: 0; }

/* ---------- forms ---------- */

.form-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; max-width: 720px; margin-top: 26px;
}
.seg {
  display: inline-flex; border: 1.5px solid var(--accent); border-radius: var(--radius);
  overflow: hidden; margin-bottom: 22px;
}
.seg button {
  font-family: "Big Shoulders", "Arial Narrow", sans-serif;
  font-weight: 700; font-size: 17px; letter-spacing: 0.05em; text-transform: uppercase;
  background: transparent; color: var(--accent-deep); border: none; cursor: pointer;
  padding: 10px 22px;
}
.seg button[aria-pressed="true"] { background: var(--accent); color: #fff; }

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.field { margin-bottom: 16px; }
label {
  display: block; font-weight: 600; font-size: 14.5px; margin-bottom: 5px;
}
label .opt { color: var(--ink-faint); font-weight: 400; }
input, select, textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink);
  background: var(--paper); border: 1px solid var(--line); border-radius: 4px;
  padding: 10px 12px;
}
textarea { min-height: 90px; resize: vertical; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

.member-row { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; margin-bottom: 10px; }
@media (max-width: 640px) { .member-row { grid-template-columns: 1fr; gap: 6px; margin-bottom: 16px; } }

.form-msg { margin-top: 14px; font-weight: 600; }
.form-msg.error { color: var(--bad); }
.form-msg.ok { color: var(--good); }

.success-card {
  background: var(--card); border: 1.5px solid var(--good); border-radius: var(--radius);
  padding: 28px; max-width: 720px; margin-top: 26px;
}
.success-card h3 { color: var(--good); font-size: 26px; }

/* ---------- footer ---------- */

.site-footer {
  background: var(--dark); color: var(--dark-soft);
  padding: 44px 0 36px; margin-top: 40px; font-size: 15px;
}
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 24px 60px; justify-content: space-between; }
.site-footer a { color: var(--dark-ink); }
.site-footer .fm {
  font-family: "Big Shoulders", "Arial Narrow", sans-serif;
  font-weight: 800; font-size: 20px; letter-spacing: 0.05em; text-transform: uppercase; color: #fff;
  margin-bottom: 6px;
}
