/* Black & Blue Umpires — site styles
   Brand: true black #000000 + powder blue #63A6DA (umpire shirt), white, chalk.
   Signature device: the slanted blue bar from the logos (same angle as the B's lean). */
:root {
  --black: #000000;
  --blue: #63a6da;
  --blue-logo: #7ba6d7;
  --blue-ink: #1d5b8f;      /* links/text on white (AA contrast) */
  --white: #ffffff;
  --chalk: #f1f4f7;
  --line: #d6dde5;
  --text: #1a1d21;
  --muted: #59636e;
  --red: #b3261e;
  --slant: -14deg;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1180px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--text); font: 400 1.0625rem/1.6 var(--body); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-ink); text-underline-offset: 3px; }
a:hover { color: var(--black); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--white); color: var(--black); padding: 8px 14px; z-index: 50; }
.skip:focus { left: 8px; }

h1, h2, h3 { font-family: var(--display); font-weight: 800; font-style: italic; line-height: 1.02; letter-spacing: 0.005em; margin: 0 0 0.4em; text-transform: uppercase; }
h1 { font-size: clamp(2.6rem, 6.4vw, 5rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.6rem; }
p { margin: 0 0 1em; }
.lede { font-size: 1.2rem; max-width: 62ch; color: inherit; opacity: 0.88; }

/* slanted blue bar before section titles — echoes the logo divider */
.slash-title { display: flex; align-items: center; gap: 0.45em; }
.slash-title::before { content: ""; flex: 0 0 auto; width: 0.16em; height: 0.95em; background: var(--blue); transform: skewX(var(--slant)); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5em; padding: 0.8em 1.5em; font: 700 1.05rem/1 var(--display); text-transform: uppercase; letter-spacing: 0.04em; text-decoration: none; border: 2px solid transparent; cursor: pointer; position: relative; isolation: isolate; color: var(--black); background: none; }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--blue); transform: skewX(var(--slant)); transition: background .15s; }
.btn:hover { color: var(--black); }
.btn:hover::before { background: var(--white); }
.btn-dark { color: var(--white); }
.btn-dark::before { background: var(--black); }
.btn-dark:hover { color: var(--white); }
.btn-dark:hover::before { background: #2a2f36; }
.btn-ghost { color: var(--white); }
.btn-ghost::before { background: transparent; border: 2px solid var(--white); }
.btn-ghost:hover { color: var(--black); }
.btn-ghost:hover::before { background: var(--white); }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.actions { display: flex; flex-wrap: wrap; gap: 14px 22px; margin-top: 1.6rem; }

/* masthead */
.masthead { background: var(--black); color: var(--white); position: sticky; top: 0; z-index: 20; }
.masthead-row { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--white); text-decoration: none; margin-right: auto; }
.brand img { width: 80px; }
.brand-slash { width: 4px; height: 34px; background: var(--blue); transform: skewX(var(--slant)); }
.brand-name { font: 800 italic 1.45rem/0.95 var(--display); text-transform: uppercase; letter-spacing: 0.01em; }
.brand-name span { color: var(--blue); }
.brand:hover { color: var(--white); }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { color: #d9e1ea; text-decoration: none; font: 600 1.05rem/1 var(--display); text-transform: uppercase; letter-spacing: .05em; padding: 10px 10px; }
.nav a:hover, .nav a[aria-current] { color: var(--white); box-shadow: inset 0 -3px 0 var(--blue); }
.nav .nav-join { margin-left: 10px; color: var(--black); position: relative; isolation: isolate; padding: 10px 18px; }
.nav .nav-join::before { content: ""; position: absolute; inset: 0; background: var(--blue); transform: skewX(var(--slant)); z-index: -1; }
.nav .nav-join:hover { color: var(--black); box-shadow: none; }
.nav .nav-join:hover::before { background: var(--white); }
.nav-toggle { display: none; background: none; border: 2px solid #3a414a; color: var(--white); font: 700 1rem/1 var(--display); text-transform: uppercase; letter-spacing: .06em; padding: 9px 14px; }

.division-strip { background: var(--white); border-bottom: 1px solid var(--line); }
.division-strip-row { display: flex; justify-content: center; gap: clamp(18px, 5vw, 64px); padding: 10px 0; }
.division-strip a { display: block; padding: 4px 2px; border-bottom: 3px solid transparent; }
.division-strip a[aria-current] { border-color: var(--blue); }
.division-strip img { height: 34px; width: auto; }

/* hero */
.hero { background: var(--black); color: var(--white); position: relative; overflow: hidden; }
.hero::after { /* the big slash */
  content: ""; position: absolute; top: -10%; bottom: -10%; right: 31%; width: 22px; background: var(--blue); transform: skewX(var(--slant)); }
.hero-grid { display: grid; grid-template-columns: 1.4fr 0.6fr; gap: 48px; align-items: center; padding: clamp(56px, 9vw, 112px) 0; position: relative; z-index: 1; }
.hero h1 { font-size: clamp(2.8rem, 6.2vw, 5.4rem); line-height: 0.92; margin-bottom: 0.3em; }
.hero h1 .blue { color: var(--blue); display: block; }
.hero .lede { font-size: 1.25rem; color: #dbe3ec; opacity: 1; }
.hero-mark { justify-self: end; width: min(100%, 420px); filter: drop-shadow(0 18px 40px rgba(99,166,218,.25)); }
@media (prefers-reduced-motion: no-preference) {
  .hero-mark { animation: slide-in .7s cubic-bezier(.2,.8,.2,1) both .1s; }
  @keyframes slide-in { from { opacity: 0; transform: translateX(60px); } to { opacity: 1; transform: none; } }
}

/* sections */
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section-chalk { background: var(--chalk); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 28px; flex-wrap: wrap; }
.section-head h2 { margin: 0; }

/* division rows on home */
.divisions { display: grid; gap: 0; }
.division-row { display: grid; grid-template-columns: minmax(260px, 420px) 1fr; gap: clamp(24px, 5vw, 72px); align-items: center; padding: 40px 0; border-top: 1px solid var(--line); }
.division-row:last-child { border-bottom: 1px solid var(--line); }
.division-row img { width: 100%; max-width: 420px; }
.division-row h3 { font-size: 1.9rem; margin-bottom: .3em; }
.division-row p { max-width: 60ch; color: var(--muted); }
.division-row .more { font: 700 1.05rem/1 var(--display); text-transform: uppercase; letter-spacing: .05em; }

/* news list */
.news-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.news-item { border-top: 4px solid var(--black); padding-top: 16px; }
.news-item .cover { aspect-ratio: 16/9; object-fit: cover; width: 100%; margin-bottom: 14px; background: var(--chalk); }
.news-meta { font-size: .9rem; color: var(--muted); margin-bottom: 6px; }
.news-meta .cat { color: var(--blue-ink); font-weight: 600; margin-right: 10px; }
.news-item h3 { font-size: 1.55rem; text-transform: none; margin-bottom: .35em; }
.news-item h3 a { color: var(--black); text-decoration: none; }
.news-item h3 a:hover { color: var(--blue-ink); text-decoration: underline; }
.news-item p { color: var(--muted); margin: 0; }
.empty { color: var(--muted); padding: 24px 0; }

/* join band */
.band { background: var(--blue); color: var(--black); position: relative; overflow: hidden; }
.band::before { content: ""; position: absolute; top: -20%; bottom: -20%; left: -40px; width: 34%; background: var(--black); transform: skewX(var(--slant)); }
.band-grid { position: relative; display: grid; grid-template-columns: 30% 1fr; gap: 48px; align-items: center; padding: 64px 0; }
.band-mark { width: min(220px, 80%); }
.band h2 { margin-bottom: .2em; }
.band p { max-width: 58ch; }

/* inner page head */
.page-head { background: var(--black); color: var(--white); padding: clamp(48px, 7vw, 88px) 0 clamp(40px, 6vw, 72px); position: relative; overflow: hidden; }
.page-head::after { content: ""; position: absolute; right: 8%; top: -20%; bottom: -20%; width: 16px; background: var(--blue); transform: skewX(var(--slant)); }
.page-head .wrap { position: relative; z-index: 1; }
.page-head .lede { color: #dbe3ec; opacity: 1; }
.page-head .div-logo { width: min(520px, 100%); margin-bottom: 18px; }

/* prose */
.prose { max-width: 70ch; }
.prose h2 { font-size: 2rem; margin-top: 1.4em; }
.prose h3 { font-size: 1.5rem; margin-top: 1.2em; text-transform: none; }
.prose img { margin: 1.4em 0; }
.prose blockquote { margin: 1.4em 0; padding: .2em 0 .2em 1.2em; border-left: 5px solid var(--blue); font-size: 1.15rem; }
.prose ul, .prose ol { padding-left: 1.3em; }
.two-col { display: grid; grid-template-columns: 1fr 340px; gap: clamp(32px, 6vw, 80px); align-items: start; }
.aside { border-top: 4px solid var(--black); padding-top: 18px; }
.aside h2 { font-size: 1.6rem; }
.aside ul { padding-left: 1.1em; margin: 0 0 1.2em; }

.points { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 32px; }
.points li h3 { font-size: 1.45rem; text-transform: none; }
.points li p { color: var(--muted); margin: 0; }
.points li { border-top: 2px solid var(--line); padding-top: 16px; }

.people { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 32px; }
.person .ph { aspect-ratio: 4/5; background: var(--chalk) url(/img/bb-mark-sm.png) center/40% no-repeat; margin-bottom: 14px; }
.person h3 { font-size: 1.5rem; margin: 0; text-transform: none; }
.person .role { color: var(--blue-ink); font-weight: 600; margin: 0 0 6px; }
.person p { color: var(--muted); }

/* camps */
.camp-list { display: grid; gap: 0; }
.camp-row { display: grid; grid-template-columns: 180px 1fr auto; gap: 28px; align-items: center; padding: 28px 0; border-top: 1px solid var(--line); }
.camp-row:last-child { border-bottom: 1px solid var(--line); }
.camp-date { font: 800 italic 1.5rem/1.05 var(--display); text-transform: uppercase; }
.camp-row h3 { font-size: 1.7rem; text-transform: none; margin-bottom: .15em; }
.camp-row h3 a { color: var(--black); text-decoration: none; }
.camp-row p { margin: 0; color: var(--muted); }
.price { font: 800 1.8rem/1 var(--display); }
.facts { display: grid; grid-template-columns: auto 1fr; gap: 8px 18px; margin: 0 0 1.4em; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; font-weight: 600; }
.notice { background: var(--chalk); border-left: 5px solid var(--blue); padding: 14px 18px; margin: 0 0 1.4em; }
.notice.ok { border-color: #2e7d4f; }
.notice.err { border-color: var(--red); }

/* forms */
.form { display: grid; gap: 18px; max-width: 720px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field label, .field legend { display: block; font-weight: 600; margin-bottom: 6px; }
.field .hint { font-size: .92rem; color: var(--muted); margin: 4px 0 0; }
.field input[type=text], .field input[type=email], .field input[type=tel], .field input[type=date], .field input[type=number], .field input[type=datetime-local], .field select, .field textarea {
  width: 100%; font: inherit; padding: 11px 12px; border: 2px solid var(--line); background: var(--white); color: var(--text); border-radius: 0; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); outline: none; box-shadow: 0 0 0 3px rgba(99,166,218,.3); }
.field textarea { min-height: 140px; resize: vertical; }
fieldset.field { border: 0; padding: 0; margin: 0; }
.checks { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.checks label { font-weight: 400; display: flex; gap: 8px; align-items: center; margin: 0; }
.checks input { width: 18px; height: 18px; accent-color: var(--black); }
.req { color: var(--red); }
.hp { position: absolute; left: -5000px; }

/* footer */
.footer { background: var(--black); color: #c8d1db; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 32px; padding: 56px 0 36px; }
.footer h2 { font-size: 1.15rem; color: var(--white); margin-bottom: .7em; }
.footer nav a { display: block; color: #c8d1db; text-decoration: none; padding: 3px 0; }
.footer nav a:hover { color: var(--blue); }
.footer-tag { margin-top: 14px; max-width: 30ch; }
.footer-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 18px 0 28px; border-top: 1px solid #262b31; font-size: .92rem; }
.footer-base a { color: #c8d1db; margin-left: 16px; }

/* responsive */
@media (max-width: 980px) {
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--black); flex-direction: column; align-items: stretch; padding: 8px 16px 18px; border-top: 1px solid #262b31; }
  .nav.open { display: flex; }
  .nav a { padding: 14px 4px; }
  .nav .nav-join { margin: 10px 0 0; text-align: center; }
  .masthead-row { position: relative; }
  .hero-grid, .two-col, .band-grid { grid-template-columns: 1fr; }
  .hero::after { right: -40px; }
  .hero-mark { justify-self: start; width: min(70%, 320px); order: -1; }
  .band::before { width: 100%; height: 150px; top: 0; bottom: auto; left: 0; transform: none; }
  .band-grid { gap: 52px; padding: 34px 0 52px; }
  .band-mark { width: 200px; }
  .news-list { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .camp-row { grid-template-columns: 1fr; gap: 10px; }
}
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .brand-name { font-size: 1.15rem; }
  .brand img { width: 60px; }
  .division-strip img { height: 22px; }
  .division-strip-row { gap: 14px; }
  .division-row { grid-template-columns: 1fr; padding: 32px 0; }
  .form .row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .page-head::after { right: -6px; }
}
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
