/* Lower Providence Youth Archery — palette lifted from the team jersey:
   a sunset that runs orange → magenta → purple → near-black, with the
   arrow-fletching yellow as the accent. No web fonts, no external assets. */

:root {
  --sun: #fbc02d;
  --gold: #f2c230;
  --orange-light: #f9a13a;
  --orange: #f26b2b;
  --red-orange: #ef4a2a;
  --magenta: #e4177a;
  --plum: #8b2a6b;
  --purple: #4a1d4f;
  --night: #241a2b;
  --ink: #17131c;
  --paper: #fff8f1;
  --paper-2: #ffefe0;
  --text: #2a2130;
  --muted: #6e5f74;
  --line: #ebd9cb;
  --ok: #1f8f5f;
  --err: #c62828;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(36, 26, 43, .12);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --display: "Avenir Next", "Avenir", "Segoe UI", -apple-system, BlinkMacSystemFont, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { animation: none !important; transition: none !important; } }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--plum); }
a:hover { color: var(--magenta); }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.15; margin: 0 0 .5em; color: var(--night); letter-spacing: -.01em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { width: min(1120px, calc(100% - 2.5rem)); margin: 0 auto; }
.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  color: var(--magenta); margin-bottom: .6rem;
}
.lead { font-size: 1.15rem; color: var(--muted); max-width: 62ch; }
.muted { color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------------------------------- buttons --------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem; padding: .8rem 1.35rem; border-radius: 999px;
  font-weight: 700; text-decoration: none; border: 2px solid transparent; cursor: pointer; font-size: 1rem;
  font-family: var(--font); transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--gold); outline-offset: 2px;
}
.btn-primary { background: linear-gradient(90deg, var(--orange), var(--magenta)); color: #fff; box-shadow: 0 8px 22px rgba(228, 23, 122, .25); }
.btn-primary:hover { color: #fff; box-shadow: 0 10px 26px rgba(228, 23, 122, .35); }
.btn-ghost { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.55); }
.btn-ghost:hover { background: rgba(255,255,255,.22); color: #fff; }
.btn-dark { background: var(--night); color: #fff; }
.btn-dark:hover { background: var(--purple); color: #fff; }
.btn-outline { background: transparent; color: var(--night); border-color: var(--night); }
.btn-outline:hover { background: var(--night); color: #fff; }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }

/* ----------------------------------- nav ----------------------------------- */
.nav {
  position: sticky; top: 0; z-index: 50; background: rgba(23, 19, 28, .92); backdrop-filter: blur(10px);
  color: #fff; border-bottom: 1px solid rgba(255,255,255,.08);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 64px; }
.brand { display: flex; align-items: center; gap: .7rem; color: #fff; text-decoration: none; font-family: var(--display); font-weight: 800; letter-spacing: .02em; }
.brand img { height: 42px; width: auto; }
.brand span small { display: block; font-weight: 600; font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--orange-light); }
.nav-links { display: flex; gap: .2rem; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: rgba(255,255,255,.85); text-decoration: none; padding: .5rem .7rem; border-radius: 8px; font-weight: 600; font-size: .95rem; }
.nav-links a:hover { background: rgba(255,255,255,.1); color: #fff; }
.nav-links a.cta { background: var(--orange); color: var(--ink); margin-left: .4rem; }
.nav-links a.cta:hover { background: var(--gold); }
.nav-toggle { display: none; background: none; border: 2px solid rgba(255,255,255,.4); color: #fff; border-radius: 8px; padding: .4rem .6rem; font-size: 1.1rem; cursor: pointer; }
@media (max-width: 900px) {
  .nav-toggle { display: inline-block; }
  .nav-links { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; background: var(--ink); padding: .6rem 1rem 1rem; border-bottom: 1px solid rgba(255,255,255,.1); }
  .nav-links.open { display: flex; }
  .nav-links a { display: block; padding: .8rem .6rem; }
  .nav-links a.cta { margin: .4rem 0 0; text-align: center; }
}

/* ----------------------------------- hero ---------------------------------- */
.hero {
  position: relative; color: #fff; overflow: hidden; isolation: isolate;
  background: linear-gradient(180deg, #f9a13a 0%, #f47a2f 38%, #ef3f4a 62%, #a1276f 82%, var(--night) 100%);
  min-height: min(92dvh, 860px); display: flex; align-items: flex-start;
}
.hero-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 72% 50%; }
/* keep the left third readable over the bright sky without dimming the sun and eagle */
.hero-scrim { position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(36,26,43,.55) 0%, rgba(36,26,43,.25) 40%, rgba(36,26,43,0) 62%), linear-gradient(180deg, rgba(23,19,28,.35) 0%, rgba(23,19,28,0) 22%); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); gap: 2rem; align-items: center; padding: .5rem 0 5rem; }
.pill.hero-tag { display: inline-block; }
.hero-crest { width: 192px; height: auto; margin: 0 0 1rem; filter: drop-shadow(0 6px 16px rgba(0,0,0,.4)); }
.hero h1 { color: #fff; text-shadow: 0 2px 18px rgba(0,0,0,.25); }
.hero h1 em { font-style: normal; color: var(--sun); }
.hero .lead { color: rgba(255,255,255,.92); font-size: 1.2rem; text-shadow: 0 1px 12px rgba(0,0,0,.3); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.4rem; }
.hero-logo { justify-self: center; width: min(100%, 360px); filter: drop-shadow(0 12px 30px rgba(0,0,0,.45)); }
.hero-badges { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.8rem; }
.pill { display: inline-block; padding: .35rem .8rem; border-radius: 999px; background: rgba(23,19,28,.45); border: 1px solid rgba(255,255,255,.3); font-size: .85rem; font-weight: 700; letter-spacing: .04em; }
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; padding: .5rem 0 4rem; text-align: center; }
  .hero-bg { object-position: 62% 50%; }
  .hero-scrim { background: linear-gradient(180deg, rgba(36,26,43,.35) 0%, rgba(36,26,43,.45) 60%, rgba(36,26,43,.6) 100%); }
  .hero-crest { width: 160px; margin-inline: auto; }
  .hero-actions, .hero-badges { justify-content: center; }
  .hero .lead { margin-inline: auto; }
}

/* --------------------------------- sections -------------------------------- */
section { padding: 4.5rem 0; }
section.hero { padding: 0; }   /* hero spacing is set by its .wrap, not the section rule */
section.alt { background: var(--paper-2); }
section.dark { background: var(--night); color: #f3e9f0; }
section.dark h2, section.dark h3 { color: #fff; }
section.dark .lead, section.dark .muted { color: rgba(255,255,255,.72); }
section.dark a { color: var(--orange-light); }
.section-head { max-width: 70ch; margin-bottom: 2.2rem; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
@media (max-width: 900px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }

.card {
  background: #fff; border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow); border-top: 6px solid var(--orange);
  display: flex; flex-direction: column; gap: .4rem;
}
.card.magenta { border-top-color: var(--magenta); }
.card.plum { border-top-color: var(--plum); }
.card h3 { margin-bottom: .2rem; }
.card .when { font-weight: 700; color: var(--magenta); font-size: .95rem; }
.card p { color: var(--muted); }
.card a.more { margin-top: auto; font-weight: 700; text-decoration: none; }

.photo { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--night); }
.photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.photo figcaption { font-size: .85rem; color: #fff; padding: .6rem .9rem; background: var(--night); }
.photo.wide img { aspect-ratio: 16 / 9; }

.facts { list-style: none; padding: 0; margin: 1.2rem 0 0; display: grid; gap: .5rem; }
.facts li { display: grid; grid-template-columns: 110px 1fr; gap: .8rem; padding: .55rem 0; border-bottom: 1px solid var(--line); }
.facts li b { color: var(--night); font-weight: 800; font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; padding-top: .15rem; }
section.dark .facts li { border-color: rgba(255,255,255,.12); }
section.dark .facts li b { color: var(--orange-light); }

.styles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 1.4rem; }
.styles div { background: #fff; border-radius: 10px; padding: 1rem; border-left: 4px solid var(--gold); }
.styles div b { display: block; color: var(--night); }
.styles div span { font-size: .9rem; color: var(--muted); }
@media (max-width: 900px) { .styles { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .styles { grid-template-columns: 1fr; } }

.weeks { list-style: none; padding: 0; margin: 1.4rem 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
.weeks li { display: grid; grid-template-columns: 56px 1fr; gap: .8rem; align-items: start; background: #fff; border-radius: 10px; padding: .8rem .9rem; }
.weeks li span { font-family: var(--display); font-weight: 800; color: var(--orange); font-size: 1.1rem; }
@media (max-width: 720px) { .weeks { grid-template-columns: 1fr; } }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2rem; }
.gallery figure { margin: 0; }
@media (max-width: 720px) { .gallery { grid-template-columns: 1fr; } }

.schedule { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.schedule th, .schedule td { padding: .95rem 1.1rem; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.schedule th { background: var(--night); color: #fff; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; }
.schedule td:first-child { font-weight: 800; color: var(--night); white-space: nowrap; }
.schedule tr:last-child td { border-bottom: 0; }
.table-scroll { overflow-x: auto; }

.range { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-top: 1.5rem; }
.range div { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 12px; padding: 1.2rem; }
.range b { display: block; color: var(--sun); font-size: 1.05rem; margin-bottom: .3rem; }
@media (max-width: 800px) { .range { grid-template-columns: 1fr; } }

/* ----------------------------------- forms ---------------------------------- */
.form-card { background: #fff; border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow); }
.dark .form-card { color: var(--text); }
form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 640px) { form .row { grid-template-columns: 1fr; } }
label.field { display: block; margin-bottom: 1rem; font-weight: 700; color: var(--night); font-size: .95rem; }
label.field small { display: block; font-weight: 500; color: var(--muted); }
input[type=text], input[type=email], input[type=number], select, textarea {
  display: block; width: 100%; margin-top: .35rem; padding: .75rem .9rem; border: 1.5px solid var(--line); border-radius: 10px;
  font: inherit; color: var(--text); background: #fff;
}
input:focus, select:focus, textarea:focus { border-color: var(--magenta); }
textarea { min-height: 120px; resize: vertical; }
fieldset { border: 0; padding: 0; margin: 0 0 1.2rem; }
legend { font-weight: 700; color: var(--night); margin-bottom: .5rem; padding: 0; }
.choices { display: flex; flex-wrap: wrap; gap: .5rem; }
.choices label {
  display: inline-flex; align-items: center; gap: .45rem; padding: .5rem .9rem; border: 1.5px solid var(--line); border-radius: 999px;
  cursor: pointer; font-weight: 600; font-size: .95rem; background: #fff; user-select: none;
}
.choices label:has(input:checked) { border-color: var(--magenta); background: #fdeaf3; color: var(--plum); }
.choices input { accent-color: var(--magenta); margin: 0; }
.archer-rows { display: grid; gap: .6rem; margin: .4rem 0 .6rem; }
.archer-rows .row { grid-template-columns: 2fr 1fr auto; align-items: end; }
.archer-rows input { margin-top: 0; }
.link-btn { background: none; border: 0; color: var(--plum); font-weight: 700; cursor: pointer; padding: .4rem 0; font: inherit; text-decoration: underline; }
.hp { position: absolute; left: -9999px; top: -9999px; opacity: 0; height: 0; width: 0; }
.form-actions { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; margin-top: .5rem; }
.form-msg { font-weight: 600; }
.form-msg.ok { color: var(--ok); }
.form-msg.err { color: var(--err); }
.form-done { display: none; text-align: center; padding: 2rem 1rem; }
.form-done h3 { font-size: 1.6rem; }
.form-done .big { font-size: 3rem; line-height: 1; }
form.is-done { display: none; }
form.is-done + .form-done { display: block; }
.privacy { font-size: .85rem; color: var(--muted); margin-top: 1rem; }

/* ----------------------------------- misc ----------------------------------- */
.split-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
@media (max-width: 800px) { .split-cta { grid-template-columns: 1fr; } }
.cta-box { border-radius: var(--radius); padding: 2rem; color: #fff; background: linear-gradient(135deg, var(--plum), var(--night)); }
.cta-box.warm { background: linear-gradient(135deg, var(--orange), var(--magenta)); }
.cta-box h3 { color: #fff; font-size: 1.5rem; }
.cta-box p { color: rgba(255,255,255,.85); }
.cta-box .btn { margin-top: .4rem; background: #fff; color: var(--night); }
.cta-box .btn:hover { background: var(--paper); color: var(--night); }

.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 2.5rem; align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.addr { font-style: normal; line-height: 1.7; }
.addr b { display: block; color: var(--night); font-size: 1.1rem; }

.footer { background: var(--ink); color: rgba(255,255,255,.75); padding: 3rem 0 2rem; font-size: .92rem; }
.footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1fr; gap: 2rem; }
@media (max-width: 900px) { .footer .cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer .cols { grid-template-columns: 1fr; } }
.footer h4 { color: #fff; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: .8rem; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: .45rem; }
.footer a { color: rgba(255,255,255,.85); text-decoration: none; }
.footer a:hover { color: var(--orange-light); }
.footer .brand img { height: 56px; }
.footer .fine { margin-top: 2rem; padding-top: 1.2rem; border-top: 1px solid rgba(255,255,255,.1); font-size: .8rem; color: rgba(255,255,255,.5); display: flex; justify-content: space-between; flex-wrap: wrap; gap: .6rem; }
.footer .fine a { color: rgba(255,255,255,.5); }

.sunset-bar { height: 8px; background: linear-gradient(90deg, var(--sun), var(--orange), var(--magenta), var(--plum), var(--night)); }

/* ---------------------------------- survey ---------------------------------- */
.page-head { color: #fff; padding: 4rem 0 3rem; background: linear-gradient(160deg, var(--orange) 0%, var(--magenta) 55%, var(--purple) 100%); }
.page-head h1 { color: #fff; }
.page-head .lead { color: rgba(255,255,255,.9); }
.survey-steps { counter-reset: q; }
.survey-steps fieldset, .survey-steps .q { padding: 1.4rem 0; border-bottom: 1px solid var(--line); }
.survey-steps legend, .survey-steps .q > label.field { font-size: 1.05rem; }
.survey-steps legend::before, .survey-steps .q > label.field::before {
  counter-increment: q; content: counter(q); display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
  background: var(--orange); color: #fff; font-size: .85rem; margin-right: .6rem; font-weight: 800;
}
.survey-steps .q > label.field { margin-bottom: 0; }
.center { text-align: center; }

/* social links (contact section + footer) */
.social { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.social a { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; font-weight: 600; }
.social svg { width: 22px; height: 22px; flex: none; }
#contact .social a { color: var(--plum); }
#contact .social a:hover { color: var(--magenta); }
.footer .social a:hover { color: var(--orange-light); }
