/* Shared styles for the single-page home and the unlisted join form.
   The fonts are subset to basic Latin plus curly quotes: no em or en dashes in copy.
   Public Sans 600 is the Fontsource latin subset (OFL), for real bold instead of faux bold. */
@font-face {
  font-family: "League Gothic"; src: url("/fonts/league-gothic.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: block;
}
@font-face {
  font-family: "Public Sans"; src: url("/fonts/public-sans-400.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Public Sans"; src: url("/fonts/public-sans-600.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
}
/* Palette drawn from LOSD school logos: Laker navy, Pacer blue, gold, sail red.
   --brand is navy, --accent is red. */
:root {
  --bg: #FBF8F1; --brand: #1D2454; --accent: #C23B37; --gold: #F2C94C; --sky: #8EAEDC;
  --ink: #1D2454; --muted: #555C70; --rule: #E6E0D2; --select: #F8E3A1; --field: #7A8390;
  --error: #9B2C2C;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 4.5rem; scrollbar-gutter: stable; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media (max-width: 40rem) { html { scroll-padding-top: 7rem; } }
::selection { background: var(--select); color: var(--brand); }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 1.0625rem/1.6 "Public Sans", system-ui, sans-serif;
  min-height: 100vh; display: flex; flex-direction: column;
}
a { color: var(--brand); text-underline-offset: .2em; text-decoration-thickness: 1px; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 2px; }
.gothic {
  font-family: "League Gothic", "Arial Narrow", sans-serif; font-weight: 400;
  text-transform: uppercase; letter-spacing: .03em; line-height: .95;
}

/* Sticky header: cream with a gold rule, so it never reads as the district's colored bar */
.mast { position: sticky; top: 0; z-index: 10; background: var(--bg); border-bottom: 4px solid var(--gold); }
.mast .inner {
  max-width: 72rem; margin: 0 auto; padding: .4rem clamp(1rem, 4vw, 2.5rem);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 1.5rem;
}
.mast .mark { color: var(--brand); text-decoration: none; font-size: clamp(1.5rem, 3.6vw, 2rem); min-height: 44px; display: inline-flex; align-items: center; }
.mast .mark span { color: var(--accent); margin-left: .25em; }
.mast nav { display: flex; align-items: center; gap: .25rem 1.25rem; }
.mast nav a {
  color: var(--brand); text-decoration: none; font-size: 1.3rem; display: inline-flex; align-items: center; min-height: 44px;
}
.mast nav a:hover { color: var(--accent); }
.mast nav a.cta { background: var(--accent); color: #fff; padding: .15rem 1rem 0; min-height: 40px; border-radius: 4px; }
.mast nav a.cta:hover { background: var(--brand); color: #fff; }
@media (max-width: 40rem) {
  .mast .inner { justify-content: center; }
  .mast nav { width: 100%; justify-content: space-between; gap: 0 .5rem; }
  .mast nav a { font-size: 1.1rem; white-space: nowrap; }
  .mast nav a.cta { padding: .15rem .7rem 0; }
}
@media (max-width: 23rem) {
  .mast nav { gap: 0 .35rem; }
  .mast nav a { font-size: .95rem; }
  .mast nav a.cta { padding: .15rem .5rem 0; }
}

main { flex: 1; width: 100%; max-width: 64rem; margin: 0 auto; padding: clamp(2rem, 6vh, 4rem) clamp(1rem, 4vw, 2.5rem); }
.prose { max-width: 38rem; }
h1.gothic { font-size: clamp(3rem, 9vw, 5.5rem); margin: 0 0 1.5rem; color: var(--brand); }
h2.gothic { font-size: clamp(1.9rem, 4.5vw, 2.6rem); margin: 3rem 0 1rem; }
h3 { font-size: 1.0625rem; margin: 1.75rem 0 .35rem; }
p { margin: 0 0 1.1rem; }
.lede { font-size: clamp(1.2rem, 2.4vw, 1.4rem); line-height: 1.5; }
.rule { border: 0; border-top: 1px solid var(--rule); margin: 3rem 0; }

/* About: bio beside a credentials column */
.cols { display: grid; gap: 2.5rem 4rem; grid-template-columns: minmax(0, 38rem) minmax(0, 1fr); align-items: start; }
@media (max-width: 52rem) { .cols { grid-template-columns: 1fr; } }
.creds { border-top: 6px solid var(--accent); padding-top: 1rem; font-size: .95rem; }
.creds h2 { font-size: 1.7rem; margin: 0 0 .75rem; }
.creds ul { list-style: none; margin: 0; padding: 0; }
.creds li { padding: .55rem 0; border-bottom: 1px solid var(--rule); }

/* Who I am: one line of roles, separated by accent dots */
.roles { list-style: none; margin: 0 0 2rem; padding: 0; display: flex; flex-wrap: wrap; gap: .1rem 0; font-size: clamp(1.5rem, 3.6vw, 2.1rem); color: var(--brand); }
.roles li + li::before { content: ""; display: inline-block; width: .32em; height: .32em; margin: 0 .55em; border-radius: 50%; background: var(--accent); vertical-align: .22em; }
.roles .br { flex-basis: 100%; height: 0; }
.roles .br::before, .roles .br + li::before { display: none; }
.roles .brs { display: none; flex-basis: 100%; height: 0; }
.roles .brs::before { display: none; }
@media (max-width: 40rem) { .roles .brs { display: block; } .roles .brs + li::before { display: none; } }
@media (max-width: 26rem) { .roles { font-size: 1.2rem; } }
@media (max-width: 23rem) { .roles { font-size: 1rem; } }

/* Photos */
.photo { margin: 2rem 0 2.5rem; }
.photo img { display: block; width: 100%; height: auto; border-radius: 6px; }
.photo figcaption { color: var(--muted); font-size: .9rem; margin-top: .5rem; }
.pair { display: grid; gap: .75rem; grid-template-columns: 4fr 3fr; }
@media (max-width: 30rem) { .pair { grid-template-columns: 1fr; } }
.photo.small { max-width: 22rem; }
.photo.wide img { aspect-ratio: 2 / 1; object-fit: cover; object-position: 60% 0%; }
.creds .portrait { margin: 0 0 1.75rem; }
.creds .portrait img { display: block; width: 100%; height: auto; border-radius: 6px; }
@media (max-width: 52rem) {
  .creds .portrait { max-width: 20rem; margin-inline: auto; }
  .photo.small { margin-inline: auto; }
}

/* Priorities: headline, one short paragraph, details on request */
.priority { border-top: 6px solid var(--accent); margin-top: 3.5rem; padding-top: 2.25rem; }
.priority h2.gothic { font-size: clamp(2.5rem, 6.5vw, 3.9rem); margin: 0 0 1rem; color: var(--brand); text-wrap: balance; }
.priority .lede { max-width: none; margin-bottom: 1.25rem; }
.priority details { max-width: none; }
.priority summary {
  display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; cursor: pointer;
  font-weight: 600; color: var(--brand); list-style: none;
  text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: .35em;
}
.priority summary::-webkit-details-marker { display: none; }
.priority summary:hover { text-decoration-color: var(--brand); }
.priority .chev { width: 1rem; height: 1rem; flex: none; transition: transform .35s cubic-bezier(.16, 1, .3, 1); }
.priority details[open] .chev { transform: rotate(180deg); }
.priority .less, .priority details[open] .more { display: none; }
.priority details[open] .less { display: inline; }
.ticks { list-style: none; margin: .75rem 0 0; padding: 0; max-width: 75%; }
@media (max-width: 48rem) { .ticks { max-width: none; } }
.ticks li { position: relative; padding: .7rem 0 .7rem 2rem; border-bottom: 1px solid var(--rule); }
.ticks li:last-child { border-bottom: 0; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 1.05rem; width: 1.1rem; height: 1.1rem; background: var(--brand);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2.5 8.5l3.5 3.5 7.5-8' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2.5 8.5l3.5 3.5 7.5-8' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.ticks strong { font-weight: 600; }
@supports (interpolate-size: allow-keywords) {
  .priority details { interpolate-size: allow-keywords; }
  .priority details::details-content {
    block-size: 0; overflow: hidden;
    transition: block-size .45s cubic-bezier(.16, 1, .3, 1), content-visibility .45s allow-discrete;
  }
  .priority details[open]::details-content { block-size: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .priority .chev, .priority details::details-content { transition: none; }
}

/* Single page: full-width color bands, each with a centered inner column */
main.bands { max-width: none; padding: 0; }
.band { padding: clamp(3rem, 8vw, 5.5rem) 0; }
.wrap { max-width: 72rem; margin: 0 auto; padding: 0 clamp(1rem, 4vw, 2.5rem); }
.band-gold { background: var(--gold); }
.band-navy { background: var(--brand); color: #fff; }
.band-red { background: var(--accent); color: #fff; }
.band-navy a, .band-red a { color: #fff; }
.band-navy .gothic, .band-red .gothic { color: #fff; }
.band-navy .priority h2.gothic { color: #fff; }
.band-gold .creds, .band-gold .roles li + li::before { border-color: var(--brand); }
.band-gold .roles li + li::before { background: var(--accent); }
.band-gold .creds li { border-color: rgba(29, 36, 84, .2); }
.band-navy .priority { border-top-color: var(--gold); }
.band-navy .priority summary { color: #fff; text-decoration-color: var(--gold); }
.band-navy .priority summary:hover { text-decoration-color: #fff; }
.band-navy .ticks li { border-color: rgba(255, 255, 255, .2); }
.band-navy .ticks li::before { background: var(--gold); }
.band-navy .photo img { border-radius: 6px; }
.band > .wrap > .priority:first-child { margin-top: 0; }
.gothic.big { font-size: clamp(4rem, 13vw, 9.5rem); margin: 0 0 1.5rem; line-height: .85; }

/* Hero: wide photo with the headline over it; stacks under the photo on phones */
.hero { display: grid; background: var(--brand); color: #fff; }
.hero > * { grid-area: 1 / 1; }
.hero img { width: 100%; height: min(80vh, 46rem); object-fit: cover; object-position: 70% 30%; display: block; }
.hero .shade { background: linear-gradient(90deg, rgba(29, 36, 84, .88) 0%, rgba(29, 36, 84, .55) 38%, rgba(29, 36, 84, 0) 62%); }
.hero .text { align-self: end; padding: 0 clamp(1rem, 4vw, 2.5rem) clamp(2rem, 6vh, 3.5rem); max-width: 72rem; width: 100%; justify-self: center; }
.hero h1 { font-size: clamp(3.5rem, 9vw, 7.5rem); margin: 0; color: #fff; line-height: .85; max-width: 9ch; }
.hero .seat { font-size: clamp(1.6rem, 3.4vw, 2.6rem); color: var(--gold); margin: .6rem 0 1.5rem; max-width: 22ch; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.button {
  display: inline-flex; align-items: center; min-height: 52px; padding: .2rem 1.6rem 0; border-radius: 4px; text-decoration: none;
  font: 400 1.6rem/1 "League Gothic", "Arial Narrow", sans-serif; letter-spacing: .06em; text-transform: uppercase;
}
.button.red { background: var(--accent); color: #fff; }
.button.red:hover { background: #fff; color: var(--accent); }
.button.ghost { color: #fff; box-shadow: inset 0 0 0 2px #fff; }
.button.ghost:hover { background: #fff; color: var(--brand); }
.button.navy { background: var(--brand); color: #fff; }
.button.navy:hover { background: #fff; color: var(--brand); }
@media (max-width: 40rem) {
  .hero > * { grid-area: auto; }
  .hero img { height: auto; aspect-ratio: 4 / 3; }
  .hero .shade { display: none; }
  .hero .text { padding-top: 1.75rem; }
}

.after { margin-top: 2rem; }
.mast nav a[aria-current="page"]:not(.cta) { color: var(--accent); }

/* Get involved: the email signup sits on the red band */
.signup { max-width: 34rem; margin-top: 2rem; }
.signup label { display: block; font-weight: 600; margin-bottom: .5rem; }
.signup .row { display: flex; gap: .5rem; }
.signup input[type=email] { flex: 1; min-width: 0; border-color: #fff; }
.signup .fine { font-size: .875rem; opacity: .9; margin: .6rem 0 0; }

/* Forms */
fieldset { border: 0; margin: 0 0 2.5rem; padding: 0; min-width: 0; }
legend.gothic { font-size: 1.9rem; margin: 1.5rem 0 .35rem; padding: 0; color: var(--brand); }
.hint { color: var(--muted); font-size: .95rem; margin: 0 0 1rem; }
.field { margin: 0 0 1.1rem; }
.field > label, .group-label { display: block; font-weight: 600; margin-bottom: .35rem; }
.opt { font-weight: 400; color: var(--muted); }
input[type=text], input[type=email], input[type=tel], textarea, select {
  width: 100%; min-height: 48px; padding: .6rem .8rem; font: inherit; color: var(--ink);
  background: #fff; border: 1px solid var(--field); border-radius: 4px; caret-color: var(--brand);
}
textarea { min-height: 7rem; resize: vertical; }
.row { display: grid; gap: 0 1rem; grid-template-columns: 2fr 1fr; }
.row3 { display: grid; gap: 0 1rem; grid-template-columns: 2fr 1.2fr 1fr; }
@media (max-width: 36rem) { .row, .row3 { grid-template-columns: 1fr; } }
.checks { display: grid; gap: .1rem 1.5rem; grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr)); margin: 0; padding: 0; list-style: none; }
.checks label {
  display: flex; gap: .65rem; align-items: flex-start; padding: .55rem 0; min-height: 44px; cursor: pointer;
}
.checks input { width: 1.2rem; height: 1.2rem; margin: .2rem 0 0; flex: none; accent-color: var(--brand); }
.followup { border-top: 3px solid var(--accent); padding-top: 1rem; margin: 0 0 2.5rem; }
.followup h3 { margin-top: 0; }
.preview { background: #fff; border: 1px dashed var(--field); border-radius: 4px; padding: .75rem 1rem; margin: .5rem 0 0; }
.preview .who { font-weight: 600; }
.btn {
  min-height: 52px; padding: .2rem 1.6rem 0; font: 400 1.6rem/1 "League Gothic", "Arial Narrow", sans-serif;
  letter-spacing: .06em; text-transform: uppercase; color: #fff; background: var(--brand);
  border: 0; border-radius: 4px; cursor: pointer;
}
.btn:hover { color: var(--gold); }
.btn[disabled] { opacity: .6; cursor: default; }
.msg { font-weight: 600; min-height: 1.6em; margin: 1rem 0 0; }
.msg.err { color: var(--error); }
.hp { position: absolute; left: -9999px; }
.thanks h1 { margin-bottom: 1rem; }

footer {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center;
  gap: .25rem 1.5rem; border-top: 1px solid var(--rule); color: var(--muted);
  font-size: .875rem; padding: .5rem clamp(1rem, 4vw, 2.5rem);
}
footer a { display: inline-flex; align-items: center; min-height: 44px; }
footer.big-foot { display: block; background: var(--sky); color: var(--brand); border: 0; padding: 2.5rem 0 1.5rem; font-size: .95rem; }
footer.big-foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 1rem 2rem; }
footer.big-foot .gothic { font-size: clamp(2rem, 5vw, 3rem); margin: 0; }
footer.big-foot p { margin: 0; }
