/* Lindale Area Sports Complex — shared site styles.
   Colors and fonts from the LASC Brand Identity Guide v1-13 §02 and §04. (Owner, 2026-09-24: match the
   guide's colors and fonts; the guide's rules about where each color may be used don't bind the website.) */
:root {
  --forest: #1C3B24;        /* Forest Deep */
  --strawberry: #B5282E;    /* Strawberry */
  --gold: #C4882B;          /* Clay Gold */
  --mist: #EAF2EB;          /* Pine Mist */
  --charcoal: #252525;      /* Charcoal */
  --white: #FFFFFF;
  --forest-2: #2A5234;      /* hover shade of Forest Deep */
  --muted: #55605A;
  --line: #CFDCD1;
  --display: "Bahnschrift Condensed", "Bahnschrift SemiCondensed", Bahnschrift, "Arial Narrow", "Roboto Condensed", Arial, sans-serif;
  --sans: "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  --mono: Consolas, "Cascadia Mono", Menlo, "Courier New", monospace;
  --wrap: 68rem;
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
*, *::before, *::after { box-sizing: inherit; }
html { scroll-padding-top: 5rem; }
body { margin: 0; background: var(--white); color: var(--charcoal); font: 400 1rem/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: var(--forest); text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 4px; }
a:hover { color: var(--strawberry); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
img { max-width: 100%; height: auto; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 clamp(1.25rem, 5vw, 3rem); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 1rem; top: 1rem; z-index: 100; background: var(--white); padding: .5rem 1rem; }

/* Headings */
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.05; letter-spacing: .01em; color: var(--forest); margin: 0 0 .6rem; }
h1 { font-size: clamp(2.4rem, 7vw, 3.8rem); text-transform: uppercase; }
h2 { font-size: clamp(1.9rem, 4.5vw, 2.5rem); text-transform: uppercase; }
h3 { font-size: 1.45rem; }
.lede { font-size: clamp(1.05rem, 2.2vw, 1.2rem); color: var(--muted); max-width: 40em; }
.eyebrow { font: 700 .95rem/1 var(--display); letter-spacing: .12em; text-transform: uppercase; color: var(--strawberry); margin: 0 0 .6rem; }

/* Header + nav */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--forest); color: var(--white); border-bottom: 3px solid var(--strawberry); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4rem; }
.brand { display: flex; align-items: center; gap: .6rem; color: var(--white); text-decoration: none; font: 700 1.35rem/1 var(--display); letter-spacing: .04em; text-transform: uppercase; }
.brand:hover { color: var(--white); }
.brand .mark { width: 32px; height: 38px; flex: none; }  /* transparent master badge (2026-10-03) */
.brand .mark img, .brand .mark picture { display: block; width: 100%; height: 100%; object-fit: contain; }
.brand small { display: block; font-size: .8rem; letter-spacing: .08em; color: #CFE0D2; margin-top: .15rem; }
.nav-toggle { display: none; background: none; border: 2px solid rgba(255,255,255,.5); color: var(--white); border-radius: 4px; padding: .45rem .7rem; font: 600 .95rem var(--sans); cursor: pointer; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: .1rem; align-items: center; flex-wrap: nowrap; }
.site-nav li { white-space: nowrap; }
.site-nav a { display: block; color: var(--white); text-decoration: none; font: 600 1.05rem/1 var(--display); letter-spacing: .05em; text-transform: uppercase; padding: .7rem .55rem; border-bottom: 3px solid transparent; }
.site-nav a:hover, .site-nav a[aria-current="page"] { border-bottom-color: var(--gold); color: var(--white); }
.site-nav a.cta { background: var(--gold); color: var(--forest); border-radius: 3px; border: 0; margin-left: .4rem; padding: .7rem .9rem; }
.site-nav a.cta:hover { background: #D69A3E; }
@media (max-width: 1120px) {  /* seven menu items since "Partner with us" (2026-10-12) */
  .nav-toggle { display: inline-block; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--forest); border-bottom: 3px solid var(--strawberry); }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; padding: .5rem clamp(1.25rem, 5vw, 3rem) 1rem; }
  .site-nav a { padding: .9rem .25rem; border-bottom: 1px solid rgba(255,255,255,.12); }
  .site-nav a.cta { margin: .75rem 0 0; text-align: center; }
}

/* Sections */
.section { padding: clamp(2.75rem, 7vw, 4.75rem) 0; }
.section.mist { background: var(--mist); }
.section.forest { background: var(--forest); color: var(--white); }
.section.forest h2, .section.forest h3 { color: var(--white); }
.section.forest .lede { color: #D5E4D8; }
.rule { height: 4px; width: 72px; background: var(--strawberry); border: 0; margin: 0 0 1.25rem; }
.grid-2 { display: grid; gap: clamp(2rem, 5vw, 4rem); grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
.grid-3 { display: grid; gap: 1.25rem; grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 860px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }
.card { background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--forest); padding: 1.35rem 1.4rem; }
.card h3 { margin-top: 0; }
.card p:last-child { margin-bottom: 0; }

/* Page hero (inner pages) */
.page-hero { background: var(--forest); color: var(--white); padding: clamp(2.5rem, 6vw, 4rem) 0 clamp(2rem, 5vw, 3rem); }
.page-hero h1 { color: var(--white); margin-bottom: .4rem; }
.page-hero p { color: #D5E4D8; margin: 0; max-width: 42em; font-size: 1.1rem; }

/* Home hero: the master logo has a white background, so it sits on a white panel */
.home-hero { background: var(--white); border-bottom: 1px solid var(--line); }
.home-hero .wrap { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(1.5rem, 5vw, 3.5rem); align-items: center; padding-top: clamp(2rem, 5vw, 3.5rem); padding-bottom: clamp(2rem, 5vw, 3.5rem); }
.home-hero .logo { width: clamp(150px, 24vw, 260px); padding: 16px; }  /* clear space around the mark */
.home-hero .logo img { display: block; width: 100%; height: auto; }
.home-hero .tagline { font: 700 clamp(1.3rem, 3vw, 1.7rem)/1.1 var(--display); color: var(--gold); letter-spacing: .06em; text-transform: uppercase; margin: .25rem 0 1rem; }
.home-hero .actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.25rem; }
@media (max-width: 640px) { .home-hero .wrap { grid-template-columns: 1fr; text-align: center; } .home-hero .logo { margin: 0 auto; } .home-hero .actions { justify-content: center; } .home-hero .lede { margin-left: auto; margin-right: auto; } }

/* Buttons */
.btn { display: inline-block; font: 700 1.05rem/1 var(--display); letter-spacing: .06em; text-transform: uppercase; text-decoration: none; padding: .95rem 1.35rem; border-radius: 3px; border: 2px solid var(--forest); background: var(--forest); color: var(--white); cursor: pointer; }
.btn:hover { background: var(--forest-2); color: var(--white); }
.btn.gold { background: var(--gold); border-color: var(--gold); color: var(--forest); }
.btn.gold:hover { background: #D69A3E; color: var(--forest); }
.btn.ghost { background: transparent; color: var(--forest); }
.btn.ghost:hover { background: var(--mist); }
.btn[disabled] { opacity: .6; cursor: progress; }

/* Supporter counts */
.counts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1rem; margin: 1.5rem 0 0; }
.count { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.18); border-top: 4px solid var(--gold); padding: 1rem 1.1rem; }
.section:not(.forest) .count { background: var(--white); border-color: var(--line); border-top-color: var(--gold); }
.count .n { display: block; font: 700 clamp(2.2rem, 6vw, 3rem)/1 var(--mono); color: var(--gold); font-variant-numeric: tabular-nums; }
.count .label { display: block; margin-top: .4rem; font: 700 1rem/1.2 var(--display); letter-spacing: .08em; text-transform: uppercase; }
.count[hidden] { display: none; }

/* Forms */
.form-panel { background: var(--forest); color: var(--white); padding: clamp(1.5rem, 3vw, 2.25rem); border-left: 6px solid var(--gold); align-self: start; }
.form-panel h2 { color: var(--white); }
.form-panel p { color: #D5E4D8; margin: 0 0 1.25rem; }
.form-panel label { display: block; font-weight: 600; font-size: .95rem; margin: 0 0 .35rem; color: var(--white); }
.form-panel .opt { font-weight: 400; color: #BCD1C0; }
.field { margin-bottom: 1rem; }
.row-2 { display: grid; grid-template-columns: 2fr 1fr; gap: 0 1rem; }
@media (max-width: 420px) { .row-2 { grid-template-columns: 1fr; } }
input[type=text], input[type=email], input[type=url], input[type=number], input[type=tel] {
  width: 100%; font: inherit; padding: .7rem .85rem; border: 1px solid var(--line); background: var(--white); color: var(--charcoal); border-radius: 2px; }
.check { display: flex; gap: .6rem; align-items: flex-start; font-weight: 400 !important; margin: .25rem 0 1.25rem; cursor: pointer; }
.check input { width: 1.15rem; height: 1.15rem; margin-top: .2rem; accent-color: var(--gold); flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-panel .fine { font-size: .8125rem; color: #BCD1C0; margin: 1rem 0 0; }
.form-panel .fine a, .form-panel .msg a { color: var(--white); }
.msg { min-height: 1.5em; margin: .75rem 0 0; font-size: .95rem; }
.form-panel .msg.ok { color: #F2D29B; }
.form-panel .msg.err { color: #FFB4A8; }

/* Community clubs strip */
.clubs-strip { text-align: center; }
.clubs-strip .sub { color: var(--muted); margin: 0 auto 1.5rem; max-width: 36em; }
.marquee { position: relative; overflow: hidden; margin: 0 auto 1.5rem;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.track { display: flex; width: max-content; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; padding: .5rem 0; animation: scroll var(--dur, 40s) linear infinite; }
.marquee:hover .track, .marquee:focus-within .track { animation-play-state: paused; }
.club { display: flex; align-items: center; justify-content: center; height: clamp(56px, 12vw, 80px); flex: none; }
.club img { max-height: 100%; max-width: clamp(110px, 28vw, 180px); object-fit: contain; display: block; }
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .track { animation: none; width: auto; flex-wrap: wrap; justify-content: center; }
  .track [aria-hidden="true"] { display: none; }
}

/* Lists on the Founding Supporters page */
.name-list { columns: 3 14rem; column-gap: 2rem; list-style: none; padding: 0; margin: 0; }
.name-list li { break-inside: avoid; padding: .3rem 0; border-bottom: 1px solid var(--line); }
.logo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 1rem; }
.logo-grid .tile { background: var(--white); border: 1px solid var(--line); padding: 1rem; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; min-height: 130px; text-decoration: none; color: var(--charcoal); }
.logo-grid .tile img { max-height: 70px; object-fit: contain; margin-bottom: .5rem; }
.logo-grid .tile .nm { font-weight: 600; font-size: .95rem; }
.logo-grid .tile .sp { font-size: .82rem; color: var(--muted); }
.empty-note { color: var(--muted); font-style: italic; }

/* Facts list on the Project page */
.facts { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.facts li { background: var(--white); border: 1px solid var(--line); border-left: 5px solid var(--strawberry); padding: 1rem 1.1rem; }
.facts .fig { display: block; font: 700 2rem/1 var(--mono); color: var(--gold); }
.facts .what { display: block; font: 700 1.15rem/1.2 var(--display); text-transform: uppercase; letter-spacing: .04em; color: var(--forest); margin-top: .35rem; }
.facts .more { display: block; font-size: .92rem; color: var(--muted); margin-top: .3rem; }
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.steps li { counter-increment: step; background: var(--white); border: 1px solid var(--line); padding: 1rem 1.1rem 1.1rem; }
.steps li::before { content: counter(step); display: block; font: 700 1.8rem/1 var(--mono); color: var(--gold); margin-bottom: .4rem; }
.steps li strong { display: block; font: 700 1.15rem/1.2 var(--display); text-transform: uppercase; color: var(--forest); }
.steps .step-label { display: inline-block; font: 700 .8rem/1 var(--display); letter-spacing: .1em; text-transform: uppercase; color: var(--white); background: var(--forest); padding: .3rem .5rem; border-radius: 2px; margin-bottom: .5rem; }
.steps li.now .step-label { background: var(--gold); color: var(--forest); }
.steps li.now { border-color: var(--gold); box-shadow: inset 0 4px 0 var(--gold); }
details.faq { border-bottom: 1px solid var(--line); padding: .9rem 0; }
details.faq summary { cursor: pointer; font: 700 1.2rem/1.3 var(--display); color: var(--forest); list-style: none; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; float: right; font-family: var(--mono); color: var(--gold); }
details.faq[open] summary::after { content: "–"; }
details.faq p { margin: .6rem 0 0; }

/* Legal text */
.legal { max-width: 46em; }
.legal h2 { font-size: 1.6rem; margin-top: 2rem; }
.legal li { margin-bottom: .35rem; }

/* Footer */
.site-footer { background: var(--forest); color: #D5E4D8; font-size: .92rem; border-top: 4px solid var(--strawberry); }
.site-footer .wrap { padding-top: 2rem; padding-bottom: 2rem; display: flex; flex-wrap: wrap; gap: 1rem 2.5rem; justify-content: space-between; }
.site-footer a { color: var(--white); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem 1.25rem; }
.site-footer p { margin: 0 0 .3rem; }

/* Draft/placeholder highlighting (only when <body class="draft">) */
.ph { }
body.draft .ph { background: #FFF4C2; color: #4A3B00; outline: 1px dashed #B59A1A; }
/* Placeholder text that must not appear on the live page at all: visible only in ?draft review mode */
.ph-pending { display: none; }
body.draft .ph-pending { display: block; }

@media print {
  .site-header, .site-footer, .nav-toggle { display: none !important; }
}

/* Light forms (club registration) */
.form-light { background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--gold); padding: clamp(1.25rem, 4vw, 2rem); }
.form-light fieldset { border: 0; padding: 0; margin: 0 0 1.75rem; min-width: 0; }
.form-light legend { font: 700 1.4rem/1.2 var(--display); color: var(--forest); text-transform: uppercase; letter-spacing: .03em; padding: 0; margin: 0 0 .85rem; }
.form-light label { display: block; font-weight: 600; font-size: .95rem; margin: 0 0 .35rem; }
.form-light .opt { font-weight: 400; color: var(--muted); }
.form-light .hint { font-size: .82rem; color: var(--muted); margin: .3rem 0 0; }
.form-light .check { margin: .5rem 0 .75rem; }
.form-light .other-text { margin: 0 0 .75rem 1.75rem; }
.form-light input[type=file] { font: inherit; max-width: 100%; }
.form-light .preview { display: none; margin-top: .75rem; padding: .75rem; background: var(--mist); border: 1px dashed var(--line); text-align: center; }
.form-light .preview img { max-height: 140px; object-fit: contain; }
.form-light .row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
@media (max-width: 420px) { .form-light .row { grid-template-columns: 1fr; } }
.form-light button[type=submit] { width: 100%; }
.form-light .msg.ok { color: #1F6B45; font-weight: 600; }
.form-light .msg.err { color: var(--strawberry); font-weight: 600; }
.note { font-size: .9rem; background: var(--mist); border-left: 4px solid var(--gold); padding: .75rem 1rem; margin: 1.5rem 0 0; }
.form-light .fine { font-size: .82rem; color: var(--muted); margin: 1rem 0 0; }
.narrow { max-width: 44rem; }

/* Vertical timeline (Project page, "Where things stand") */
.timeline { list-style: none; margin: 0; padding: 0 0 0 2rem; position: relative; max-width: 44rem; }
.timeline::before { content: ""; position: absolute; left: .55rem; top: .4rem; bottom: .4rem; width: 3px; background: var(--forest); border-radius: 2px; }
.timeline li { position: relative; padding: 0 0 1.6rem 1rem; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: calc(-2rem + .55rem - 7px + 1.5px); top: .35rem; width: 14px; height: 14px; border-radius: 50%; background: var(--forest); border: 3px solid var(--white); box-shadow: 0 0 0 2px var(--forest); }
.timeline .tl-date { display: inline-block; font: 700 .95rem/1.2 var(--mono); color: var(--gold); margin-right: .6rem; }
.timeline .tl-title { display: block; font: 700 1.3rem/1.2 var(--display); text-transform: uppercase; letter-spacing: .03em; color: var(--forest); margin: .2rem 0 .25rem; }
.timeline .tl-blurb { display: block; color: var(--charcoal); max-width: 38em; }
.timeline li.here { background: var(--mist); border-left: 4px solid var(--gold); padding: .9rem 1rem 1rem 1.1rem; margin-left: .25rem; }
.timeline li.here::before { left: calc(-2rem + .55rem - 11px + 1.5px - .25rem); top: 1rem; width: 22px; height: 22px; background: var(--gold); box-shadow: 0 0 0 3px var(--gold); }
.timeline .tl-here { display: inline-block; font: 700 .8rem/1 var(--display); letter-spacing: .1em; text-transform: uppercase; background: var(--gold); color: var(--forest); padding: .3rem .55rem; border-radius: 2px; vertical-align: middle; }
@media (prefers-reduced-motion: no-preference) {
  .timeline li.here::before { animation: tl-pulse 2.4s ease-in-out infinite; }
  @keyframes tl-pulse { 0%, 100% { box-shadow: 0 0 0 3px var(--gold); } 50% { box-shadow: 0 0 0 9px rgba(196,136,43,.25); } }
}

/* Timeline, the road ahead: dashed line, hollow dots, Grand Opening marker */
.timeline + .timeline-ahead { margin-top: 0 !important; }
.timeline-ahead::before { top: 0; bottom: 1.9rem; background: repeating-linear-gradient(to bottom, var(--forest) 0 6px, transparent 6px 12px); opacity: .55; }
.timeline-ahead + p { margin-top: 2rem !important; }
.timeline-ahead li.tl-empty { height: 2.1rem; padding: 0; }
.timeline-ahead li.tl-empty::before { top: .9rem; background: var(--white); box-shadow: 0 0 0 2px var(--forest); border-color: var(--white); opacity: .8; }
.timeline-ahead li.tl-goal { padding-top: .9rem; }
.timeline-ahead li.tl-goal::before { top: 1.25rem; width: 22px; height: 22px; left: calc(-2rem + .55rem - 11px + 1.5px); background: var(--white); border: 3px solid var(--white); box-shadow: 0 0 0 3px var(--gold); }
.timeline-ahead li.tl-future { padding: .55rem 0 .55rem 1rem; }
.timeline-ahead li.tl-future::before { top: .95rem; background: var(--white); border-color: var(--white); box-shadow: 0 0 0 2px var(--forest); opacity: .8; }
.timeline-ahead li.tl-future .tl-title { font-size: 1.1rem; margin: 0; color: #4A6150; }

/* ================= Supporter Program v2 ================= */
textarea { width: 100%; font: inherit; padding: .7rem .85rem; border: 1px solid var(--line); background: var(--white); color: var(--charcoal); border-radius: 2px; min-height: 5.5rem; resize: vertical; }
select { width: 100%; font: inherit; padding: .7rem .85rem; border: 1px solid var(--line); background: var(--white); color: var(--charcoal); border-radius: 2px; }
details.notes { margin: 0 0 1.1rem; }
details.notes > summary { cursor: pointer; font-weight: 600; }
details.notes .field { margin-top: .8rem; }
.form-panel details.notes > summary { color: var(--white); }
.form-panel .hint { font-size: .82rem; color: #BCD1C0; margin: .3rem 0 0; }
.closed-note { background: #FDF3E1; border-left: 4px solid var(--gold); padding: .75rem 1rem; color: var(--charcoal) !important; }
[hidden] { display: none !important; }
.preview-bar { background: #FDF3E1; color: #252525; border-bottom: 2px solid var(--gold); padding: .5rem 1rem; font-size: .9rem; text-align: center; }
.preview-bar a { color: var(--forest); font-weight: 600; }
.tl-target { margin: 1rem 0 0; font-size: .95rem; color: var(--muted); }
