/* Rise Girls Soccer Development — site styles
   One family (Archivo, variable width) does all the work: extra-condensed heavy for display,
   normal width for reading. Navy, white and black carry the site; pink, sky and black are the
   three division colors and only ever appear as division markers. */
:root {
  --navy: #001d5b;
  --navy-deep: #00133d;
  --royal: #0f57c6;
  --royal-dark: #0a439b;
  --sky: #71c0ff;
  --pink: #f67fa0;
  --black: #000000;
  --white: #ffffff;
  --mist: #eef3fa;
  --line: #d5deeb;
  --text: #0d1a33;
  --muted: #4a5875;
  --error: #b3261e;
  --wrap: 1200px;
  --gutter: clamp(20px, 4vw, 48px);
  --display: "Archivo", "Arial Narrow", Arial, sans-serif;
  --body: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; font-family: var(--body); font-variation-settings: "wdth" 100; font-size: 1.0625rem; line-height: 1.6; color: var(--text); background: var(--white); }
img { max-width: 100%; display: block; }
a { color: var(--royal); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--white); padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---- display type ---- */
.display, h1, h2 { font-family: var(--display); font-weight: 850; font-variation-settings: "wdth" 62; text-transform: uppercase; letter-spacing: -0.005em; line-height: 0.92; margin: 0; }
h1 { font-size: clamp(3.25rem, 11vw, 9.5rem); }
h2 { font-size: clamp(2.5rem, 6.5vw, 5rem); }
h3 { font-family: var(--display); font-variation-settings: "wdth" 75; font-weight: 800; font-size: 1.5rem; line-height: 1.1; margin: 0 0 .5rem; }
p { margin: 0 0 1rem; max-width: 64ch; }
.lede { font-size: clamp(1.125rem, 1.6vw, 1.3rem); line-height: 1.55; max-width: 52ch; }

/* ---- the stripe: three division colors, the site's one recurring mark ---- */
.stripe { display: flex; height: 10px; }
.stripe span { flex: 1; }
.stripe .s-pink { background: var(--pink); }
.stripe .s-sky { background: var(--sky); }
.stripe .s-black { background: var(--black); }

/* ---- header ---- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--navy); color: var(--white); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--white); text-decoration: none; }
.brand img { height: 46px; width: auto; }
.brand-word { font-family: var(--display); font-weight: 900; font-variation-settings: "wdth" 62; font-size: 2rem; letter-spacing: .02em; line-height: 1; }
.brand-sub { font-size: .72rem; line-height: 1.2; opacity: .8; max-width: 9em; }
.nav { display: flex; align-items: center; gap: 24px; }
.nav a { color: var(--white); text-decoration: none; font-weight: 600; font-size: .98rem; }
.nav a:hover, .nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.nav .btn { text-decoration: none; }
.menu-toggle { display: none; background: none; border: 2px solid rgba(255,255,255,.5); color: var(--white); font: inherit; font-weight: 700; padding: 8px 14px; border-radius: 4px; cursor: pointer; }
@media (max-width: 1200px) {
  .menu-toggle { display: block; }
  .nav { display: none; position: absolute; top: 72px; left: 0; right: 0; background: var(--navy); flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 24px; }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.15); font-size: 1.15rem; }
  .nav .btn { margin-top: 16px; text-align: center; border-bottom: 0; }
  .brand-sub { display: none; }
}

/* ---- buttons ---- */
.btn { display: inline-block; font-family: var(--body); font-weight: 750; font-size: 1rem; padding: 15px 28px; border-radius: 4px; text-decoration: none; border: 2px solid transparent; cursor: pointer; line-height: 1.2; }
.btn-primary { background: var(--royal); color: var(--white); }
.btn-primary:hover { background: var(--royal-dark); }
.btn-ghost { border-color: currentColor; color: inherit; background: transparent; }
.btn-ghost:hover { background: rgba(255,255,255,.1); }
.on-light .btn-ghost:hover { background: var(--mist); }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

/* ---- hero ---- */
.hero { background: var(--navy); color: var(--white); position: relative; overflow: hidden; }
.hero .wrap { padding-top: clamp(56px, 9vw, 120px); padding-bottom: clamp(56px, 9vw, 110px); display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px; align-items: end; }
.hero h1 span { display: block; }
.hero h1 .rise { color: var(--sky); }
.hero .lede { margin-top: 28px; color: #dbe6f7; }
.hero-art { align-self: stretch; display: flex; align-items: center; justify-content: center; }
.hero-art img { width: 100%; max-width: 440px; }
.hero.has-photo { background-size: cover; background-position: center; }
.hero.has-photo::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,19,61,.92) 0%, rgba(0,29,91,.7) 55%, rgba(0,29,91,.25) 100%); }
.hero.has-photo .wrap { position: relative; }
.hero.has-photo .hero-art { display: none; }
@media (max-width: 860px) { .hero .wrap { grid-template-columns: 1fr; } .hero-art { order: -1; justify-content: flex-start; } .hero-art img { max-width: 240px; } }

/* page hero (inner pages) */
.page-hero { background: var(--navy); color: var(--white); }
.page-hero .wrap { padding-top: clamp(48px, 7vw, 96px); padding-bottom: clamp(40px, 6vw, 72px); }
.page-hero .lede { margin-top: 20px; color: #dbe6f7; }
.page-hero.div-littles { --div: var(--pink); }
.page-hero.div-juniors { --div: var(--sky); }
.page-hero.div-premier { --div: var(--black); }
.div-band { height: 14px; background: var(--div, var(--royal)); }
.page-hero .div-tag { display: inline-block; margin-bottom: 20px; font-weight: 700; padding: 4px 12px; border-radius: 3px; background: var(--div); color: var(--navy); }
.page-hero.div-premier .div-tag { color: var(--white); outline: 1px solid rgba(255,255,255,.35); }

/* ---- sections ---- */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section.tight { padding: clamp(48px, 6vw, 80px) 0; }
.section.mist { background: var(--mist); }
.section.navy { background: var(--navy); color: var(--white); }
.section.black { background: var(--black); color: var(--white); }
.section-head { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 32px 48px; align-items: end; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head p { margin: 0; }
@media (max-width: 860px) { .section-head { grid-template-columns: 1fr; } }

/* pillars */
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 3px solid var(--navy); }
.pillar { padding: 28px 28px 8px 0; }
.pillar + .pillar { padding-left: 28px; border-left: 1px solid var(--line); }
.pillar h3 { font-size: 2rem; text-transform: uppercase; font-variation-settings: "wdth" 62; font-weight: 850; }
@media (max-width: 760px) { .pillars { grid-template-columns: 1fr; } .pillar + .pillar { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); } }

/* division cards */
.divisions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.division { --div: var(--royal); position: relative; display: flex; flex-direction: column; background: var(--white); color: var(--text); text-decoration: none; border-top: 14px solid var(--div); min-height: 360px; padding: 28px 28px 30px; transition: transform .2s ease; }
.division:hover { transform: translateY(-4px); }
.division.littles { --div: var(--pink); }
.division.juniors { --div: var(--sky); }
.division.premier { --div: var(--black); }
.division .who { font-weight: 700; color: var(--muted); margin-bottom: 14px; }
.division .name { font-family: var(--display); font-weight: 900; font-variation-settings: "wdth" 62; text-transform: uppercase; font-size: clamp(2.6rem, 4.4vw, 3.6rem); line-height: .9; margin-bottom: 18px; }
.division p { flex: 1; }
.division .more { font-weight: 750; color: var(--royal); }
.division .kit { font-size: .92rem; color: var(--muted); margin-bottom: 18px; }
.division .status { font-size: .92rem; font-weight: 700; margin-bottom: 12px; color: var(--navy); }
@media (max-width: 900px) { .divisions { grid-template-columns: 1fr; } .division { min-height: 0; } }

/* split */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.split .kit-art { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.kit-swatch { aspect-ratio: 3 / 4; display: flex; align-items: flex-end; padding: 14px; font-weight: 750; color: var(--navy); border-radius: 4px; }
.kit-swatch.pink { background: var(--pink); }
.kit-swatch.sky { background: var(--sky); }
.kit-swatch.black { background: var(--black); color: var(--white); }
.photo-slot img { width: 100%; height: 100%; object-fit: cover; border-radius: 4px; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* closing CTA */
.closer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 32px; }
.closer h2 { font-size: clamp(3rem, 9vw, 7.5rem); }

/* lists, details */
.facts { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.facts li { display: grid; grid-template-columns: minmax(140px, 220px) 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.facts strong { font-weight: 750; }
@media (max-width: 600px) { .facts li { grid-template-columns: 1fr; gap: 4px; } }
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 750; font-size: 1.15rem; padding: 18px 40px 18px 0; position: relative; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font-size: 1.8rem; font-weight: 400; color: var(--royal); }
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding: 0 0 18px; }
.prose h2 { font-size: clamp(2rem, 4vw, 3rem); margin: 48px 0 16px; }
.prose h3 { margin-top: 32px; }
.prose ol, .prose ul { max-width: 64ch; padding-left: 1.2em; }
.prose li { margin-bottom: .6rem; }
.note { background: var(--mist); border-left: 6px solid var(--royal); padding: 18px 22px; max-width: 64ch; }

/* ---- forms ---- */
.form-shell { max-width: 760px; }
.wform { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 18px 20px; }
.wform .f { grid-column: span 12; display: flex; flex-direction: column; gap: 6px; }
.wform .f.half { grid-column: span 6; }
@media (max-width: 640px) { .wform .f.half { grid-column: span 12; } }
.wform .f-head { grid-column: span 12; font-family: var(--display); font-variation-settings: "wdth" 62; font-weight: 850; text-transform: uppercase; font-size: 1.9rem; line-height: 1; margin-top: 22px; padding-top: 22px; border-top: 3px solid var(--navy); }
.wform .f-head:first-child { margin-top: 0; }
.wform label { font-weight: 650; font-size: .98rem; }
.wform .req { color: var(--royal); margin-left: 2px; }
.wform input[type="text"], .wform input[type="email"], .wform input[type="tel"], .wform input[type="number"], .wform input[type="date"], .wform select, .wform textarea {
  font: inherit; font-size: 1rem; padding: 13px 14px; border: 2px solid var(--line); border-radius: 4px; background: var(--white); color: var(--text); width: 100%; }
.wform textarea { min-height: 120px; resize: vertical; }
.wform input:focus, .wform select:focus, .wform textarea:focus { border-color: var(--royal); }
.wform .check { flex-direction: row; align-items: flex-start; gap: 12px; }
.wform .check input { width: 22px; height: 22px; margin-top: 2px; flex: none; accent-color: var(--royal); }
.wform .check label { font-weight: 500; }
.wform .err { color: var(--error); font-size: .92rem; font-weight: 600; }
.wform .invalid input, .wform .invalid select, .wform .invalid textarea { border-color: var(--error); }
.wform .submit-row { grid-column: span 12; display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 10px; }
.form-error { grid-column: span 12; color: var(--error); font-weight: 650; background: #fdecea; padding: 14px 16px; border-radius: 4px; }
.form-done { border-top: 6px solid var(--royal); background: var(--mist); padding: 28px; max-width: 640px; }
.form-done h3 { font-size: 2rem; text-transform: uppercase; font-variation-settings: "wdth" 62; font-weight: 850; }
.loading { color: var(--muted); }

/* registration summary */
.reg-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
.reg-summary { position: sticky; top: 96px; border-top: 14px solid var(--div, var(--royal)); background: var(--mist); padding: 26px; }
.reg-summary .name { font-family: var(--display); font-weight: 900; font-variation-settings: "wdth" 62; text-transform: uppercase; font-size: 2.6rem; line-height: .9; margin-bottom: 14px; }
.reg-summary dl { margin: 18px 0 0; display: grid; gap: 10px; }
.reg-summary dt { font-size: .85rem; color: var(--muted); font-weight: 650; }
.reg-summary dd { margin: 0; font-weight: 700; }
@media (max-width: 900px) { .reg-grid { grid-template-columns: 1fr; } .reg-summary { position: static; order: -1; } }

/* ---- footer ---- */
.site-footer { background: var(--navy-deep); color: #c8d5ea; padding: 56px 0 40px; font-size: .95rem; }
.site-footer .wrap { display: grid; grid-template-columns: minmax(0, 5fr) repeat(2, minmax(0, 2fr)); gap: 32px; }
.site-footer a { color: var(--white); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer .foot-word { font-family: var(--display); font-weight: 900; font-variation-settings: "wdth" 62; font-size: 3rem; color: var(--white); line-height: 1; }
.site-footer .legal { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.15); padding-top: 20px; margin-top: 12px; font-size: .85rem; }
@media (max-width: 760px) { .site-footer .wrap { grid-template-columns: 1fr 1fr; } .site-footer .foot-brand { grid-column: 1 / -1; } }

/* ---- media ---- */
.hero-video { position: relative; width: 100%; max-width: 330px; aspect-ratio: 9 / 16; border-radius: 6px; overflow: hidden; background: var(--navy-deep); box-shadow: 0 0 0 6px rgba(255,255,255,.08); }
.hero-video video { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-video .stripe { position: absolute; left: 0; right: 0; bottom: 0; height: 8px; }
.photo { width: 100%; height: auto; border-radius: 4px; display: block; }
.kit-photo { margin: 0; max-width: 440px; justify-self: end; width: 100%; }
.kit-strip { display: flex; gap: 8px; margin-top: 12px; }
.kit-strip span { flex: 1; padding: 8px 10px; font-size: .85rem; font-weight: 750; border-radius: 3px; color: var(--navy); }
.kit-strip .pink { background: var(--pink); }
.kit-strip .sky { background: var(--sky); }
.kit-strip .black { background: var(--black); color: var(--white); }
.about-photo { margin-top: 32px; max-width: 420px; }
.split.top { align-items: start; }
.foot-logo { height: 80px; width: auto; margin-bottom: 14px; }
@media (max-width: 860px) { .hero-art.has-video { order: 0; justify-content: flex-start; } .hero-video { max-width: 260px; } .kit-photo { justify-self: start; } }

/* ---- coach page ---- */
.mt { margin-top: 24px; }
.coach-photo { margin: 0; }
.pull { font-family: var(--display); font-variation-settings: "wdth" 62; font-weight: 850; text-transform: uppercase; font-size: clamp(2.8rem, 8vw, 6.5rem); line-height: .92; max-width: 14ch; margin: 0; }
.nav a { white-space: nowrap; }
.section-head p + p { margin-top: 14px; }
.why-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 32px 48px; align-items: start; }
.why-grid p + p { margin-top: 14px; }
.statement { font-family: var(--display); font-variation-settings: "wdth" 62; font-weight: 850; text-transform: uppercase; font-size: clamp(2.2rem, 4.6vw, 3.6rem); line-height: .95; color: var(--navy); margin: 0 0 20px; max-width: 16ch; }
.why-pillars { margin-top: clamp(48px, 6vw, 80px); }
@media (max-width: 860px) { .why-grid { grid-template-columns: 1fr; } }

/* ---- What Rise stands for: letters styled after the logo lettering ---- */
.rise-letters { list-style: none; margin: 0; padding: 0; border-top: 3px solid var(--navy); }
.rise-row { display: grid; grid-template-columns: minmax(130px, 240px) minmax(0, 1fr); gap: 16px 56px; align-items: center; padding: 30px 0; border-bottom: 1px solid var(--line); }
.rise-row h3 { font-size: clamp(2rem, 3.4vw, 2.75rem); text-transform: uppercase; font-variation-settings: "wdth" 62; font-weight: 850; color: var(--navy); margin-bottom: 10px; }
.rise-row p { margin: 0; }
.rise-letter { display: block; font-family: var(--display); font-weight: 900; font-style: italic; font-variation-settings: "wdth" 100; font-size: clamp(6.5rem, 13vw, 11rem); line-height: .82; color: var(--sky); -webkit-text-stroke: 6px var(--navy); paint-order: stroke fill; text-shadow: 6px 6px 0 var(--navy); padding: 0 10px 8px 0; }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .rise-letter { background: linear-gradient(180deg, #ade3ff 0%, #71c0ff 55%, #58aaf3 100%); -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: none; filter: drop-shadow(6px 6px 0 var(--navy)); }
}
@media (max-width: 640px) { .rise-row { grid-template-columns: 1fr; padding: 24px 0; } .rise-letter { font-size: 6.5rem; } }

/* ---- Division tile photos (kit colors) ---- */
.division-photo { margin: -28px -28px 26px; background: #000; overflow: hidden; aspect-ratio: 3 / 4; }
.division-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; display: block; transition: transform .5s ease; }
.division:hover .division-photo img { transform: scale(1.04); }
@media (max-width: 900px) { .division-photo { aspect-ratio: 4 / 5; } }
@media (prefers-reduced-motion: reduce) { .division-photo img { transition: none; } .division:hover .division-photo img { transform: none; } }
