/* Darting Basketball Academy - site styles. Tokens come from ../theme.css. */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0; background: var(--paper); color: var(--text);
  font-family: var(--font-body); font-size: 17px; line-height: 1.65;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 {
  font-family: var(--font-display); font-weight: 900; text-transform: uppercase;
  letter-spacing: 0.02em; line-height: 1.02; margin: 0 0 0.4em;
}
h1 { font-size: clamp(3rem, 9vw, 7.5rem); }
h2 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
p { margin: 0 0 1em; }
.wrap { width: min(1200px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(820px, 100% - 40px); margin-inline: auto; }
.accent { color: var(--accent); }
.center { text-align: center; }
.eyebrow {
  font-family: var(--font-display); color: var(--accent); font-size: 1rem;
  letter-spacing: 0.18em; text-transform: uppercase; display: block; margin-bottom: 10px;
}
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; z-index: 999; background: #fff; padding: 8px 14px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-display); font-size: 0.95rem; letter-spacing: 0.12em;
  text-transform: uppercase; text-decoration: none; padding: 16px 30px;
  border: 2px solid var(--accent); background: var(--accent); color: #fff;
  transition: transform .2s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); background: var(--accent-deep); border-color: var(--accent-deep); box-shadow: 0 10px 24px rgba(253,79,0,.35); }
.btn--ghost { background: transparent; border-color: #fff; color: #fff; }
.btn--ghost:hover { background: #fff; color: var(--ink); border-color: #fff; box-shadow: none; }
.btn--dark { background: var(--ink); border-color: var(--ink); }
.btn--dark:hover { background: #000; border-color: #000; box-shadow: 0 10px 24px rgba(0,0,0,.3); }
.btn--sm { padding: 11px 20px; font-size: .8rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.center .btn-row { justify-content: center; }

/* ---------- announcement + header ---------- */
.announce {
  background: var(--accent); color: #fff; text-align: center;
  font-family: var(--font-display); letter-spacing: .1em; font-size: .85rem;
  padding: 10px 16px; text-transform: uppercase;
}
.announce a { color: #fff; margin-left: 10px; text-underline-offset: 3px; }
.header {
  position: sticky; top: 0; z-index: 50; background: rgba(33,39,33,.96);
  backdrop-filter: blur(6px); border-bottom: 1px solid rgba(255,255,255,.06);
}
.header__in { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.logo img { height: 50px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav > a, .nav__drop > button {
  color: #fff; text-decoration: none; font-family: var(--font-display);
  font-size: .82rem; letter-spacing: .12em; text-transform: uppercase;
  padding: 10px 13px; background: none; border: 0; cursor: pointer; position: relative;
}
.nav > a::after, .nav__drop > button::after {
  content: ""; position: absolute; left: 13px; right: 13px; bottom: 4px; height: 2px;
  background: var(--accent); transform: scaleX(0); transition: transform .25s ease; transform-origin: left;
}
.nav > a:hover::after, .nav > a[aria-current="page"]::after,
.nav__drop:hover > button::after, .nav__drop > button[aria-current="page"]::after { transform: scaleX(1); }
.nav > a[aria-current="page"], .nav__drop > button[aria-current="page"] { color: var(--accent); }
.nav .btn { margin-left: 10px; padding: 12px 20px; font-size: .8rem; }
.nav .btn::after { display: none; }
.nav__drop { position: relative; }
.nav__menu {
  position: absolute; top: 100%; left: 0; min-width: 270px; background: var(--ink);
  border-top: 3px solid var(--accent); padding: 8px 0; box-shadow: 0 18px 40px rgba(0,0,0,.35);
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .2s ease;
}
.nav__drop:hover .nav__menu, .nav__drop:focus-within .nav__menu { opacity: 1; visibility: visible; transform: none; }
.nav__menu a {
  display: block; color: #fff; text-decoration: none; padding: 10px 20px; font-size: .92rem;
}
.nav__menu a:hover { background: var(--ink-2); color: var(--accent); }
.burger { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.burger span { display: block; width: 26px; height: 2px; background: #fff; margin: 6px 0; transition: .25s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 1080px) {
  .burger { display: block; }
  .nav {
    position: fixed; inset: 76px 0 0 0; background: var(--ink); flex-direction: column;
    align-items: stretch; gap: 0; padding: 12px 20px 40px; overflow-y: auto;
    transform: translateX(100%); visibility: hidden; transition: transform .3s ease, visibility .3s;
  }
  .nav.open { transform: none; visibility: visible; }
  .nav > a, .nav__drop > button { font-size: 1.05rem; padding: 16px 4px; text-align: left; border-bottom: 1px solid rgba(255,255,255,.08); width: 100%; }
  .nav > a::after, .nav__drop > button::after { display: none; }
  .nav__menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; background: transparent; padding: 0 0 8px 12px; min-width: 0; }
  .nav .btn { margin: 20px 0 0; }
}

/* ---------- parallax ---------- */
.parallax { position: relative; overflow: hidden; isolation: isolate; }
.parallax__bg {
  position: absolute; left: 0; right: 0; top: -20%; height: 140%; z-index: -2;
  background-size: cover; background-position: center; will-change: transform;
}
.parallax__shade { position: absolute; inset: 0; z-index: -1; }

/* ---------- hero ---------- */
.hero { min-height: min(92vh, 900px); display: grid; place-items: center; text-align: center; color: #fff; padding: 120px 0 140px; }
.hero .parallax__bg { filter: grayscale(1) contrast(1.05); }
.hero .parallax__shade { background: linear-gradient(180deg, rgba(33,39,33,.55) 0%, rgba(33,39,33,.72) 60%, rgba(33,39,33,.95) 100%); }
.hero__logo { width: 120px; margin: 0 auto 26px; }
.hero h1 { font-size: clamp(3.4rem, 11vw, 9rem); margin-bottom: 18px; text-shadow: 0 6px 30px rgba(0,0,0,.4); }
.hero h1 span { display: block; color: var(--accent); }
.hero p { font-size: clamp(1.05rem, 1.6vw, 1.3rem); max-width: 620px; margin: 0 auto 34px; color: var(--on-dark-muted); }
.hero .btn-row { justify-content: center; }
.play { display: inline-flex; align-items: center; gap: 12px; color: #fff; background: none; border: 0; cursor: pointer; font-family: var(--font-display); letter-spacing: .12em; font-size: .9rem; text-transform: uppercase; }
.play i { width: 54px; height: 54px; border-radius: 50%; border: 2px solid #fff; display: grid; place-items: center; transition: .25s; }
.play:hover i { background: var(--accent); border-color: var(--accent); }
.hero__scroll { position: absolute; bottom: 26px; left: 50%; width: 2px; height: 46px; background: rgba(255,255,255,.35); overflow: hidden; }
.hero__scroll::after { content: ""; position: absolute; left: 0; top: -50%; width: 100%; height: 50%; background: var(--accent); animation: drop 1.8s infinite; }
@keyframes drop { to { top: 100%; } }

/* inner page header */
.page-hero { color: #fff; padding: 150px 0 110px; text-align: center; clip-path: polygon(0 0, 100% 0, 100% 86%, 0 100%); }
.page-hero .parallax__bg { filter: grayscale(1); }
.page-hero .parallax__shade { background: rgba(33,39,33,.7); }
.page-hero h1 { font-size: clamp(3rem, 9vw, 7rem); margin: 0; }
.page-hero p { color: var(--on-dark-muted); max-width: 640px; margin: 12px auto 0; font-size: 1.15rem; }

/* ---------- sections ---------- */
.section { padding: 110px 0; position: relative; }
.section--tight { padding: 70px 0; }
.section--dark { background: var(--ink); color: #fff; }
.section--dark p { color: var(--on-dark-muted); }
.section--orange { background: var(--accent); color: #fff; }
.section--orange p { color: rgba(255,255,255,.9); }
.section--gray { background: var(--paper-2); }
.slant-top { clip-path: polygon(0 8%, 100% 0, 100% 100%, 0 100%); margin-top: -60px; padding-top: 170px; }
.section-head { margin-bottom: 56px; }
.section-head p { max-width: 640px; color: var(--muted); font-size: 1.1rem; }
.section--dark .section-head p { color: var(--on-dark-muted); }
.center .section-head p, .section-head.center p { margin-inline: auto; }

/* Game-is-changing intro with the giant 0.6 */
.changing { overflow: hidden; }
.changing .parallax__bg { background-size: min(1100px, 90vw) auto; background-repeat: no-repeat; background-position: left 40px; opacity: .08; }
.changing__head { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: end; margin-bottom: 60px; }
.changing__head h2:last-child { text-align: right; }

/* program cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 18px; }
.card {
  background: var(--ink); color: #fff; padding: 36px 26px 30px; display: flex; flex-direction: column;
  position: relative; overflow: hidden; transition: transform .3s ease, box-shadow .3s ease; min-height: 330px;
}
.card::before { content: ""; position: absolute; left: 0; top: 0; height: 4px; width: 0; background: var(--accent); transition: width .35s ease; }
.card:hover { transform: translateY(-8px); box-shadow: 0 24px 50px rgba(33,39,33,.35); }
.card:hover::before { width: 100%; }
.card h3 { color: var(--accent); font-size: 1.55rem; }
.card p { color: var(--on-dark-muted); font-size: .95rem; flex: 1; }
.card .btn { align-self: flex-start; }

/* quote slider (parallax) */
.quotes { color: #fff; padding: 170px 0 140px; }
.quotes .parallax__bg { filter: grayscale(.4); }
.quotes .parallax__shade { background: rgba(20,24,20,.72); }
.slider { position: relative; min-height: 230px; }
.slide { position: absolute; inset: 0; opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; pointer-events: none; }
.slide.on { opacity: 1; transform: none; position: relative; pointer-events: auto; }
.slide blockquote { margin: 0 0 26px; font-size: clamp(1.25rem, 2.3vw, 1.75rem); line-height: 1.45; border-left: 4px solid var(--accent); padding-left: 24px; font-weight: 600; }
.who { display: flex; align-items: center; gap: 16px; padding-left: 28px; }
.who img { width: 64px; height: 64px; object-fit: cover; border-radius: 50%; border: 2px solid var(--accent); }
.who b { font-family: var(--font-display); color: var(--accent); letter-spacing: .06em; font-size: 1.15rem; display: block; font-weight: 900; }
.who small { color: var(--on-dark-muted); font-size: .88rem; line-height: 1.35; display: block; }
.dots { display: flex; gap: 10px; margin-top: 34px; padding-left: 28px; }
.dots button { width: 34px; height: 4px; border: 0; background: rgba(255,255,255,.3); cursor: pointer; padding: 0; transition: .3s; }
.dots button.on { background: var(--accent); width: 54px; }
.badge-icon { width: 64px; margin: -32px auto 0; position: relative; z-index: 2; }

/* stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat b { font-family: var(--font-display); font-size: clamp(3.6rem, 7vw, 6rem); color: var(--accent); line-height: 1; display: block; font-weight: 900; }
.stat span { font-family: var(--font-display); letter-spacing: .1em; text-transform: uppercase; font-size: 1rem; }

/* ball for all */
.ballforall { color: #fff; padding: 170px 0; background: var(--accent); }
.ballforall .parallax__bg { mix-blend-mode: multiply; opacity: .28; background-position: right center; }
.ballforall h2 { font-size: clamp(3rem, 8vw, 6rem); }
.ballforall p { max-width: 560px; font-size: 1.15rem; }

/* CTA band */
.cta-band { background: var(--ink); color: #fff; padding: 70px 0; }
.cta-band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta-band h2 { margin: 0; font-size: clamp(1.9rem, 4vw, 3rem); }

/* numbered approach blocks */
.num { font-family: var(--font-display); color: var(--accent); font-size: clamp(3rem, 6vw, 4.5rem); line-height: 1; display: block; margin-bottom: 8px; font-weight: 900; }
.point6 { color: #fff; padding: 170px 0; }
.point6 .parallax__shade { background: linear-gradient(120deg, rgba(253,79,0,.94), rgba(217,68,0,.9)); }
.point6 .parallax__bg { filter: grayscale(1); }
.point6 p { color: #fff; font-size: 1.15rem; }
.pct { display: flex; justify-content: center; gap: 50px; margin: 40px 0; flex-wrap: wrap; }
.pct div { text-align: center; }
.pct b { font-family: var(--font-display); font-size: clamp(3.4rem, 8vw, 5.5rem); line-height: 1; display: block; font-weight: 900; }
.pct span { font-family: var(--font-display); letter-spacing: .12em; font-size: .85rem; text-transform: uppercase; }

/* people */
.people { display: grid; gap: 70px; }
.person { display: grid; grid-template-columns: 340px 1fr; gap: 50px; align-items: center; }
.person:nth-child(even) { grid-template-columns: 1fr 340px; }
.person:nth-child(even) .person__img { order: 2; }
.person__img { position: relative; }
.person__img img { width: 100%; aspect-ratio: 4/5; object-fit: cover; filter: grayscale(1); transition: filter .5s ease; }
.person:hover .person__img img { filter: grayscale(0); }
.person__img::after { content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 3px solid var(--accent); z-index: -1; }
.person h3 { color: var(--accent); font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin-bottom: 4px; }
.person h4 { font-family: var(--font-body); text-transform: none; letter-spacing: 0; font-weight: 700; font-size: 1.1rem; margin-bottom: 18px; }
.section--dark .person__img::after { border-color: var(--accent); }

/* programs page */
.prog { padding: 100px 0; border-bottom: 1px solid #e6e6e2; scroll-margin-top: 90px; }
.prog:last-of-type { border-bottom: 0; }
.prog__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: start; }
.facts { background: var(--ink); color: #fff; padding: 36px; position: relative; }
.facts::before { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 5px; background: var(--accent); }
.facts dl { margin: 0 0 26px; display: grid; gap: 14px; }
.facts dt { font-family: var(--font-display); color: var(--accent); letter-spacing: .12em; font-size: .8rem; text-transform: uppercase; }
.facts dd { margin: 0; font-size: 1.05rem; }
.price { font-family: var(--font-display); font-size: 3.4rem; line-height: 1; color: #fff; font-weight: 900; }
.price small { font-family: var(--font-body); font-size: .95rem; color: var(--on-dark-muted); display: block; margin-top: 6px; font-weight: 400; }
.perks { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; margin: 30px 0; }
.perk { background: var(--ink); color: #fff; padding: 20px 16px; text-align: center; border-bottom: 3px solid var(--accent); }
.perk img { width: 48px; height: 48px; object-fit: contain; margin: 0 auto 10px; }
.perk span { font-family: var(--font-display); text-transform: uppercase; letter-spacing: .05em; font-size: .92rem; line-height: 1.2; display: block; }
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 20px 0; }
.tier { border: 2px solid rgba(255,255,255,.15); padding: 18px 12px; text-align: center; }
.tier b { font-family: var(--font-display); font-size: 2rem; display: block; color: var(--accent); font-weight: 900; }
.tier span { font-size: .85rem; color: var(--on-dark-muted); }
.times { display: flex; flex-wrap: wrap; gap: 8px; }
.times span { background: var(--ink-2); padding: 6px 12px; font-size: .9rem; }
.subnav { position: sticky; top: 76px; z-index: 40; background: #fff; border-bottom: 1px solid #e6e6e2; }
.subnav .wrap { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.subnav a { white-space: nowrap; text-decoration: none; font-family: var(--font-display); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; padding: 16px 12px; border-bottom: 3px solid transparent; }
.subnav a.on, .subnav a:hover { color: var(--accent); border-color: var(--accent); }
.events { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.event { border: 2px solid var(--ink); padding: 28px; display: flex; flex-direction: column; gap: 6px; }
.event h3 { font-size: 1.5rem; margin: 0; }
.event .when { color: var(--accent); font-family: var(--font-display); letter-spacing: .08em; }
.event .btn { margin-top: auto; align-self: flex-start; }
.note { font-size: .92rem; color: var(--muted); }
.note--dark { color: var(--on-dark-muted); }

/* foundation */
.board { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.board figure { margin: 0; text-align: center; }
.board img { width: 100%; aspect-ratio: 1; object-fit: cover; filter: grayscale(1); margin-bottom: 16px; }
.board h3 { font-size: 1.5rem; margin: 0; color: var(--accent); }
.board figcaption span { display: block; color: var(--muted); font-size: .95rem; line-height: 1.4; }
.partners { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; align-items: center; }
.partners a { background: #fff; display: grid; place-items: center; height: 120px; padding: 18px; border: 1px solid #e6e6e2; transition: .25s; }
.partners a:hover { border-color: var(--accent); transform: translateY(-3px); }
.partners img { max-height: 80px; width: auto; object-fit: contain; filter: grayscale(1); transition: .25s; }
.partners a:hover img { filter: none; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }

/* lists, faq */
.checks { list-style: none; padding: 0; margin: 0 0 1em; display: grid; gap: 12px; }
.checks li { padding-left: 34px; position: relative; }
.checks li::before { content: ""; position: absolute; left: 0; top: 7px; width: 18px; height: 18px; background: var(--accent); clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%); }
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 30px 0; }
.timeline div { border-top: 4px solid var(--accent); padding: 18px 16px 0 0; }
.timeline b { font-family: var(--font-display); letter-spacing: .08em; text-transform: uppercase; display: block; font-size: .95rem; }
.timeline span { color: var(--muted); font-size: .95rem; }
details { border-bottom: 1px solid #e0e0dc; }
details summary { cursor: pointer; list-style: none; padding: 22px 40px 22px 0; font-weight: 700; font-size: 1.08rem; position: relative; }
details summary::-webkit-details-marker { display: none; }
details summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font-size: 1.8rem; color: var(--accent); transition: transform .25s; }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--muted); padding-bottom: 12px; }
.req-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.req { background: var(--paper-2); padding: 28px; border-left: 4px solid var(--accent); }
.req h3 { font-size: 1.3rem; }
.req p { margin: 0; color: var(--muted); font-size: .98rem; }

/* contact */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.contact-card { background: var(--ink); color: #fff; padding: 36px 30px; text-decoration: none; transition: .3s; position: relative; }
.contact-card:hover { transform: translateY(-6px); background: var(--ink-2); }
.contact-card svg { width: 34px; height: 34px; color: var(--accent); margin-bottom: 16px; }
.contact-card b { font-family: var(--font-display); letter-spacing: .1em; text-transform: uppercase; display: block; margin-bottom: 6px; }
.contact-card span { color: var(--on-dark-muted); word-break: break-word; }
.map { width: 100%; height: 420px; border: 0; filter: grayscale(1) contrast(1.1); display: block; }

/* video modal */
.modal { position: fixed; inset: 0; z-index: 200; background: rgba(0,0,0,.88); display: none; place-items: center; padding: 20px; }
.modal.open { display: grid; }
.modal__box { width: min(1000px, 100%); aspect-ratio: 16/9; position: relative; }
.modal__box iframe { width: 100%; height: 100%; border: 0; }
.modal__x { position: absolute; top: -48px; right: 0; background: none; border: 0; color: #fff; font-size: 2.2rem; cursor: pointer; line-height: 1; }

/* footer */
.footer { background: var(--ink); color: #fff; padding: 80px 0 30px; position: relative; overflow: hidden; }
.footer::before { content: ""; position: absolute; right: -80px; bottom: -60px; width: 440px; height: 270px; background: url("img/footerbg.png") no-repeat center / contain; opacity: .5; pointer-events: none; }
.footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; position: relative; }
.footer img.flogo { width: 190px; margin-bottom: 18px; }
.footer p, .footer li { color: var(--on-dark-muted); font-size: .95rem; }
.footer h4 { font-size: 1rem; letter-spacing: .14em; color: var(--accent); margin-bottom: 16px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer a { color: #fff; text-decoration: none; }
.footer a:hover { color: var(--accent); }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.2); transition: .25s; }
.socials a:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.socials svg { width: 18px; height: 18px; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 60px; padding-top: 24px; font-size: .85rem; color: var(--on-dark-muted); display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; position: relative; }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .1s; }
.reveal[data-delay="2"] { transition-delay: .2s; }
.reveal[data-delay="3"] { transition-delay: .3s; }
.reveal[data-delay="4"] { transition-delay: .4s; }
@media (prefers-reduced-motion: reduce) {
  /* calm, not dead: shorter travel, same choreography (see MOTION in site.js) */
  .reveal { transform: translateY(16px); }
  html { scroll-behavior: auto; }
}

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  body { font-size: 16px; }
  .section { padding: 80px 0; }
  .changing__head, .prog__grid, .split { grid-template-columns: 1fr; gap: 30px; }
  .changing__head h2:last-child { text-align: left; }
  .stats { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .person, .person:nth-child(even) { grid-template-columns: 1fr; gap: 30px; }
  .person:nth-child(even) .person__img { order: 0; }
  .person__img { max-width: 340px; }
  .board { grid-template-columns: 1fr 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .contact-grid, .req-grid { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr 1fr; row-gap: 24px; }
  .quotes, .ballforall, .point6 { padding: 110px 0; }
}
@media (max-width: 560px) {
  .wrap, .narrow { width: calc(100% - 32px); }
  .card { min-height: 0; }
  .card p { margin-bottom: 22px; }
  .hero { padding: 90px 0 110px; }
  .page-hero { padding: 110px 0 80px; }
  .board { grid-template-columns: 1fr; max-width: 320px; margin-inline: auto; }
  .footer__grid { grid-template-columns: 1fr; }
  .tiers { grid-template-columns: 1fr; }
  .slant-top { padding-top: 130px; }
  .btn { width: 100%; }
  .nav .btn, .card .btn, .event .btn { width: auto; }
}

/* =====================================================================
   2026-09-19 build 2: parent messaging, custom A2P forms, dart map, legal
   ===================================================================== */

/* ---------- parent-first sections ---------- */
.lead-in { font-size: clamp(1.1rem, 1.5vw, 1.3rem); color: var(--muted); max-width: 720px; }
.section--dark .lead-in { color: var(--on-dark-muted); }
.worry { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.worry__card { background: #fff; border: 2px solid var(--ink); padding: 32px 26px 28px; position: relative; transition: transform .3s ease, box-shadow .3s ease; }
.worry__card::after { content: ""; position: absolute; left: -2px; right: -2px; bottom: -2px; height: 5px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .35s ease; }
.worry__card:hover { transform: translateY(-6px); box-shadow: 0 22px 44px rgba(33,39,33,.16); }
.worry__card:hover::after { transform: scaleX(1); }
.worry__card .num { font-size: 2.6rem; margin-bottom: 14px; }
.worry__card h3 { font-size: 1.4rem; }
.worry__card p { margin: 0; color: var(--muted); font-size: .98rem; }
.proofbar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 64px; background: var(--ink); color: #fff; }
.proofbar div { padding: 30px 20px; text-align: center; border-left: 1px solid rgba(255,255,255,.1); }
.proofbar div:first-child { border-left: 0; }
.proofbar b { font-family: var(--font-display); font-weight: 900; font-size: clamp(2.2rem, 4vw, 3.2rem); color: var(--accent); line-height: 1; display: block; }
.proofbar span { font-family: var(--font-display); letter-spacing: .1em; text-transform: uppercase; font-size: .82rem; color: var(--on-dark-muted); }
.outcomes { color: #fff; padding: 150px 0; }
.outcomes .parallax__bg { filter: grayscale(1); }
.outcomes .parallax__shade { background: linear-gradient(100deg, rgba(20,24,20,.94) 0%, rgba(20,24,20,.82) 55%, rgba(20,24,20,.6) 100%); }
.outcomes__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 34px 56px; margin-top: 50px; max-width: 980px; }
.outcome { padding-left: 26px; border-left: 4px solid var(--accent); }
.outcome h3 { font-size: 1.5rem; margin-bottom: 8px; }
.outcome p { margin: 0; color: var(--on-dark-muted); }
.faq-split { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; align-items: start; }
.faq-split .section-head { position: sticky; top: 120px; margin: 0; }
.sched { display: grid; gap: 8px; margin: 0; }
.sched div { display: flex; justify-content: space-between; gap: 16px; background: var(--ink-2); padding: 10px 14px; font-size: .95rem; }
.sched div b { font-weight: 700; }
.sched div span { color: var(--on-dark-muted); text-align: right; }
.facts .fine { font-size: .85rem; color: var(--on-dark-muted); margin: -10px 0 22px; }

/* ---------- custom forms (A2P 3-box consent) ---------- */
.start { background: var(--paper-2); }
.start__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: start; }
.start__grid .checks { margin-top: 26px; }
.form-card { background: var(--ink); color: #fff; padding: 40px 38px 36px; position: relative; box-shadow: 0 40px 80px -40px rgba(33,39,33,.55); scroll-margin-top: 110px; }
.form-card::before { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 5px; background: var(--accent); }
.form-card > h3 { font-size: 1.7rem; margin-bottom: 4px; }
.form-card > p { color: var(--on-dark-muted); font-size: .98rem; margin-bottom: 26px; }
.form-card h4 { font-size: .85rem; letter-spacing: .16em; color: var(--accent); margin: 30px 0 14px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); }
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.field { display: grid; gap: 7px; min-width: 0; align-content: start; }
.field--full { grid-column: 1 / -1; }
.field > span { font-family: var(--font-display); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-muted); }
.field > span em { font-style: normal; color: rgba(255,255,255,.4); letter-spacing: .08em; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: #fff; background: var(--ink-2); border: 0; border-bottom: 2px solid rgba(255,255,255,.18);
  padding: 14px 14px; border-radius: 0; outline: 0; transition: border-color .2s ease, background .2s ease; -webkit-appearance: none; appearance: none;
}
.field textarea { min-height: 120px; resize: vertical; }
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23fd4f00' stroke-width='2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; color: rgba(255,255,255,.5); }
.field select.is-filled { color: #fff; }
.field select option { color: #fff; background: var(--ink); }
.field input::placeholder, .field textarea::placeholder { color: rgba(255,255,255,.35); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); background: var(--ink-3); }
.field [aria-invalid="true"] { border-color: #ff7a6b; background: rgba(255,90,70,.08); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { cursor: pointer; position: relative; }
.chips input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chips span { display: block; padding: 10px 16px; border: 2px solid rgba(255,255,255,.18); font-family: var(--font-display); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; transition: .2s; }
.chips input:checked + span { background: var(--accent); border-color: var(--accent); }
.chips input:focus-visible + span { outline: 2px solid #fff; outline-offset: 2px; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.consent { display: grid; gap: 12px; margin: 26px 0 22px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); }
.consent label { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-size: .8rem; line-height: 1.5; color: var(--on-dark-muted); cursor: pointer; }
.consent input { -webkit-appearance: none; appearance: none; width: 22px; height: 22px; margin: 1px 0 0; border: 2px solid rgba(255,255,255,.35); background: transparent; cursor: pointer; position: relative; transition: .15s; }
.consent input:checked { background: var(--accent); border-color: var(--accent); }
.consent input:checked::after { content: ""; position: absolute; inset: 3px; background: #fff; clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%); }
.consent input:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.consent input[aria-invalid="true"] { border-color: #ff7a6b; }
.consent a { color: #fff; text-underline-offset: 3px; }
.consent--check { border-top: 0; padding-top: 0; margin: 20px 0 0; }
.consent--check label { font-size: .95rem; color: #fff; }
.form-error { background: rgba(255,90,70,.12); border-left: 4px solid #ff7a6b; color: #ffd9d3; padding: 12px 16px; font-size: .95rem; margin-bottom: 18px; }
.form-card .btn { width: 100%; position: relative; }
.form-card .btn .arr { transition: transform .25s ease; }
.form-card .btn:hover .arr { transform: translateX(6px); }
.form-card .btn.is-busy { color: transparent; pointer-events: none; }
.form-card .btn.is-busy::after { content: ""; position: absolute; left: 50%; top: 50%; width: 22px; height: 22px; margin: -11px 0 0 -11px; border: 3px solid rgba(255,255,255,.35); border-top-color: #fff; border-radius: 50%; animation: dba-spin .7s linear infinite; }
@keyframes dba-spin { to { transform: rotate(360deg); } }
.form-foot { font-size: .8rem; color: rgba(255,255,255,.5); margin: 14px 0 0; text-align: center; }
.form-done { text-align: center; padding: 30px 10px 20px; outline: 0; }
.form-done h3 { font-size: 2rem; color: var(--accent); }
.form-done p { color: var(--on-dark-muted); max-width: 440px; margin: 0 auto; }
.form-done__tick { width: 84px; height: 84px; margin: 0 auto 22px; display: block; fill: none; stroke: var(--accent); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; }
.form-done__tick circle { stroke-dasharray: 183; stroke-dashoffset: 183; animation: dba-draw .7s ease-out forwards; }
.form-done__tick path { stroke: #fff; stroke-dasharray: 44; stroke-dashoffset: 44; animation: dba-draw .4s .55s ease-out forwards; }
@keyframes dba-draw { to { stroke-dashoffset: 0; } }

/* ---------- live location map + thrown darts ---------- */
.locs { background: var(--ink); color: #fff; overflow: hidden; }
.locs .lead-in { color: var(--on-dark-muted); }
.loc-split { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(28px, 4.4vw, 64px); align-items: center; }
.loc-list { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 10px; }
.loc-item { width: 100%; display: grid; grid-template-columns: 26px 1fr auto; gap: 16px; align-items: center; text-align: left; padding: 15px 18px; color: #fff; font: inherit; cursor: pointer; border: 2px solid rgba(255,255,255,.12); background: var(--ink-2); transition: border-color .25s, transform .25s, background .25s; }
.loc-item b { display: block; font-family: var(--font-display); font-weight: 900; font-size: 1.3rem; text-transform: uppercase; letter-spacing: .04em; line-height: 1.05; }
.loc-item small { color: var(--on-dark-muted); font-size: .85rem; }
.loc-item .arr { color: var(--accent); transition: transform .25s; }
.loc-item__dart { width: 26px; height: 34px; display: grid; place-items: center; }
.loc-item__dart svg { width: 13px; height: 38px; transform: rotate(38deg); transition: transform .35s cubic-bezier(.3,1.6,.5,1); }
.loc-item:hover, .loc-item.is-on { border-color: var(--accent); transform: translateX(6px); background: linear-gradient(90deg, rgba(253,79,0,.2), transparent 70%), var(--ink-2); }
.loc-item:hover .arr { transform: translateX(4px); }
.loc-item:hover .loc-item__dart svg, .loc-item.is-on .loc-item__dart svg { transform: rotate(-90deg) translateY(-3px); }
.loc-all { margin-top: 16px; background: none; border: 0; color: var(--on-dark-muted); font-family: var(--font-display); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; cursor: pointer; padding: 6px 0; }
.loc-all:hover { color: var(--accent); }
.map-frame { position: relative; overflow: hidden; border: 2px solid rgba(255,255,255,.12); box-shadow: 0 50px 100px -50px rgba(253,79,0,.45), 0 40px 80px -40px rgba(0,0,0,.9); isolation: isolate; }
.map-frame::before { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 5px; background: var(--accent); z-index: 700; }
.map-frame::after { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 500; box-shadow: inset 0 0 90px 20px rgba(20,24,20,.8); }
.dbamap { height: clamp(400px, min(46vw, 66vh), 580px); background: #141814 radial-gradient(circle at 50% 50%, rgba(253,79,0,.14), transparent 60%); font-family: var(--font-body); position: relative; }
.dbamap:not(.is-live)::before { content: "Loading live map"; position: absolute; inset: 0; display: grid; place-items: center; color: var(--on-dark-muted); font-family: var(--font-display); font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; }
.dbamap.map-failed::before { content: "Topeka, Manhattan, Emporia, Salina and Netawaka / Sabetha, Kansas"; padding: 30px; text-align: center; }
.dbamap .leaflet-tile-pane { filter: invert(1) hue-rotate(200deg) grayscale(.82) brightness(.98) contrast(1.2); }
.dbamap.leaflet-container { background: #141814; }
.map-live { position: absolute; left: 16px; top: 20px; z-index: 600; display: inline-flex; align-items: center; gap: 9px; padding: 8px 14px; background: rgba(20,24,20,.86); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.14); font-family: var(--font-display); font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; }
.map-live .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(253,79,0,.7); animation: dba-dot 1.8s ease-out infinite; }
@keyframes dba-dot { to { box-shadow: 0 0 0 10px rgba(253,79,0,0); } }

/* the dart: anchor = centre of the 44px box = exactly where the tip sticks */
.dartpin-wrap { background: none; border: 0; }
.dartpin { position: relative; display: block; width: 44px; height: 44px; }
.dartpin__bull { position: absolute; left: 50%; top: 50%; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--accent); border: 2px solid #fff; box-shadow: 0 0 18px 5px rgba(253,79,0,.55); }
.dartpin__rings i, .dartpin__burst { position: absolute; left: 50%; top: 50%; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; opacity: 0; }
.dartpin__rings i { border: 2px solid var(--accent); }
.dartpin__burst { background: #fff; }
.dartpin__fly { position: absolute; left: 50%; bottom: 50%; width: 20px; height: 60px; margin-left: -10px; transform-origin: 50% 100%; transform: rotate(38deg); filter: drop-shadow(-5px 7px 4px rgba(0,0,0,.6)); pointer-events: none; }
.dartpin__body { display: block; width: 20px; height: 60px; transform-origin: 50% 100%; }
.dartpin__body svg { display: block; }
.dartpin.is-away .dartpin__fly, .dartpin.is-away .dartpin__bull { opacity: 0; }
.dartpin.is-thrown .dartpin__fly { animation: dart-fly .5s cubic-bezier(.6,.02,.95,.7) var(--d, 0s) both; }
.dartpin.is-thrown .dartpin__body { animation: dart-wobble 1s ease-out calc(var(--d, 0s) + .5s) both, dart-idle 5s ease-in-out calc(var(--d, 0s) + 1.6s) infinite; }
.dartpin.is-thrown .dartpin__bull { animation: dart-bull .45s cubic-bezier(.3,1.8,.5,1) calc(var(--d, 0s) + .47s) both; }
.dartpin.is-thrown .dartpin__burst { animation: dart-burst .55s ease-out calc(var(--d, 0s) + .48s) both; }
.dartpin.is-thrown .dartpin__rings i { animation: dart-ring 2.6s cubic-bezier(.2,.6,.3,1) calc(var(--d, 0s) + .55s) infinite; }
.dartpin.is-thrown .dartpin__rings i + i { animation-delay: calc(var(--d, 0s) + 1.85s); }
@keyframes dart-fly {
  0% { transform: translate(190px, -243px) rotate(38deg) scale(1.9); opacity: 0; }
  18% { opacity: 1; }
  100% { transform: translate(0, 0) rotate(38deg) scale(1); opacity: 1; }
}
@keyframes dart-wobble { 0% { transform: rotate(0); } 12% { transform: rotate(-11deg); } 30% { transform: rotate(8deg); } 48% { transform: rotate(-5deg); } 66% { transform: rotate(3deg); } 84% { transform: rotate(-1.5deg); } 100% { transform: rotate(0); } }
@keyframes dart-idle { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(2.5deg); } }
@keyframes dart-bull { 0% { transform: scale(0); } 100% { transform: scale(1); } }
@keyframes dart-burst { 0% { transform: scale(.4); opacity: .95; } 100% { transform: scale(7); opacity: 0; } }
@keyframes dart-ring { 0% { transform: scale(1); opacity: .85; } 100% { transform: scale(5.5); opacity: 0; } }
.dart-arc { stroke-dasharray: 3 9; stroke-linecap: round; animation: dart-arc 1.4s linear infinite; filter: drop-shadow(0 0 4px rgba(253,79,0,.7)); }
@keyframes dart-arc { to { stroke-dashoffset: -24; } }
.dba-popup .leaflet-popup-content-wrapper { background: rgba(20,24,20,.97); color: #fff; border: 1px solid rgba(255,255,255,.16); border-top: 4px solid var(--accent); border-radius: 0; box-shadow: 0 24px 60px -20px #000; }
.dba-popup .leaflet-popup-tip { background: rgba(20,24,20,.97); border: 1px solid rgba(255,255,255,.16); }
.dba-popup .leaflet-popup-content { margin: 16px 18px; min-width: 210px; max-width: 250px; }
.map-pop small { display: block; font-family: var(--font-display); font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); }
.map-pop b { display: block; font-family: var(--font-display); font-weight: 900; font-size: 1.5rem; text-transform: uppercase; line-height: 1.05; margin: 4px 0 6px; }
.map-pop span { display: block; font-size: .85rem; line-height: 1.5; color: var(--on-dark-muted); }
.map-pop a { display: inline-block; margin-top: 10px; font-family: var(--font-display); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent) !important; text-decoration: none; }
.dbamap.leaflet-container .leaflet-control-zoom a { background: rgba(20,24,20,.92); color: #fff; border-color: rgba(255,255,255,.14); border-radius: 0; }
.dbamap.leaflet-container .leaflet-control-zoom a:hover { background: var(--accent); }
.dbamap.leaflet-container .leaflet-control-attribution { background: rgba(20,24,20,.7); color: #8a8f8a; font-size: 10px; }
.dbamap.leaflet-container .leaflet-control-attribution a { color: #b9beb9; }
.dbamap.leaflet-container .leaflet-bar { border: 0; box-shadow: none; }
/* calm, not dead (same rule as Dream Chaser): the throw is a half-second one-shot on a tiny element, so it
   still plays with reduced motion ON (Rosano's Windows has it on). Only the endless loops slow down. */
@media (prefers-reduced-motion: reduce) {
  .dartpin.is-thrown .dartpin__body { animation: dart-wobble 1s ease-out calc(var(--d, 0s) + .5s) both; }
  .dartpin.is-thrown .dartpin__rings i { animation-duration: 3.8s; }
  .dart-arc { animation-duration: 3s; }
}

/* ---------- legal pages ---------- */
.legal { padding-bottom: clamp(60px, 8vw, 110px); }
.legal-hero { background: var(--ink); color: #fff; padding: clamp(70px, 9vw, 120px) 20px clamp(50px, 6vw, 80px); text-align: center; clip-path: polygon(0 0, 100% 0, 100% 88%, 0 100%); }
.legal-hero h1 { font-size: clamp(2.6rem, 6vw, 5rem); margin: 0; }
.legal-meta { color: var(--on-dark-muted); margin: 12px 0 0; }
.legal-body { width: min(820px, 100% - 40px); margin: 50px auto 0; }
.legal-body h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin: 48px 0 16px; scroll-margin-top: 100px; }
.legal-body h3 { font-family: var(--font-body); text-transform: none; font-weight: 700; font-size: 1.1rem; line-height: 1.35; letter-spacing: 0; margin: 26px 0 10px; }
.legal-body a { color: var(--accent-deep); text-underline-offset: 3px; }
.legal-body li { margin-bottom: 8px; }
.legal-toc { background: var(--paper-2); border-left: 4px solid var(--accent); padding: 22px 26px; font-size: .95rem; }
.legal-toc h2 { font-family: var(--font-display); font-size: .8rem; letter-spacing: .18em; color: var(--muted); margin: 0 0 6px; }
.legal-toc ol { margin: 8px 0 0; padding-left: 0; list-style: none; columns: 2; column-gap: 30px; }
.footer__legal { display: flex; gap: 20px; flex-wrap: wrap; }

@media (max-width: 1000px) {
  .worry { grid-template-columns: 1fr 1fr; }
  .start__grid, .loc-split, .faq-split { grid-template-columns: 1fr; gap: 40px; }
  .faq-split .section-head { position: static; }
}
@media (max-width: 900px) {
  .outcomes { padding: 110px 0; }
  .proofbar { grid-template-columns: 1fr 1fr; }
  .proofbar div:nth-child(3) { border-left: 0; }
  .proofbar div:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.1); }
}
@media (max-width: 560px) {
  .worry, .outcomes__grid, .fgrid { grid-template-columns: 1fr; }
  .form-card { padding: 32px 22px 28px; }
  .legal-toc ol { columns: 1; }
  .dbamap { height: 420px; }
}

/* confirmation replaces the form: drop the card intro so the thank-you stands alone */
.form-card.is-done > h3, .form-card.is-done > p { display: none; }
/* compact contact cards beside the form */
.start .contact-card { padding: 20px 24px; display: grid; grid-template-columns: 34px 1fr; column-gap: 18px; align-items: center; }
.start .contact-card svg { grid-row: span 2; margin: 0; }
.start .contact-card b { margin: 0; }

/* =====================================================================
   2026-09-19 build 3: full-colour hero, slanted transitions, motion
   ===================================================================== */
:root { --slant: clamp(36px, 5.5vw, 92px); --expo: cubic-bezier(.16, 1, .3, 1); }

/* ---------- hero: his photo in full colour, like dartingbasketball.com ----------
   The court logo in the photo is orange. The old grayscale(1) + flat dark wash killed it.
   Now: colour on, and only a soft pool of shade behind the words. */
.hero .parallax__bg { filter: saturate(1.18) contrast(1.05); transform-origin: 50% 40%; }
.hero .parallax__shade {
  background:
    radial-gradient(ellipse 62% 50% at 50% 54%, rgba(16,20,16,.62), rgba(16,20,16,.16) 72%, rgba(16,20,16,0) 100%),
    linear-gradient(180deg, rgba(16,20,16,.42) 0%, rgba(16,20,16,0) 26%, rgba(16,20,16,.18) 100%);
}
.hero { padding-bottom: calc(150px + var(--slant) * .5); }
.hero .wrap { will-change: transform, opacity; }
.hero h1 { text-shadow: none; filter: drop-shadow(0 8px 26px rgba(0,0,0,.5)); }
.hero h1 span { color: #fff; }
.hero p { color: #fff; font-weight: 600; max-width: 640px; text-shadow: 0 2px 14px rgba(0,0,0,.55); }
.hero__scroll { bottom: calc(var(--slant) + 14px); }
.page-hero .parallax__bg { filter: grayscale(.45) saturate(1.1); }
.outcomes .parallax__bg { filter: grayscale(.4) saturate(1.1); }
.quotes .parallax__bg { filter: grayscale(.15) saturate(1.05); }

/* ---------- slanted section transitions (his site's tilt dividers) ----------
   .cut-l / .cut-r slice the BOTTOM of a section. The next section gets .under: it slides up
   behind the slice, so its own background (or parallax photo) is what shows in the wedge. */
.cut-l, .cut-r { position: relative; z-index: 2; }
.cut-l { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 calc(100% - var(--slant))); }
.cut-r { clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--slant)), 0 100%); }
.section.cut-l, .section.cut-r { padding-bottom: calc(110px + var(--slant)); }
.under { margin-top: calc(-1 * var(--slant)); }
.section.under { padding-top: calc(110px + var(--slant)); }
.outcomes.under { padding-top: calc(150px + var(--slant)); }
.ballforall.under { padding-top: calc(170px + var(--slant)); }
.cta-band.under { padding-top: calc(70px + var(--slant)); }

/* ---------- the 0.6 section: parallax starts right under the hero, in his orange ---------- */
.changing { background: #fff; }
.changing .parallax__bg { opacity: .62; background-size: min(1500px, 112vw) auto; background-position: center 40px; }
.changing .card { box-shadow: 0 18px 40px -22px rgba(33,39,33,.55); }

/* ---------- reveals: longer, softer, expo ease ---------- */
.reveal { transform: translateY(46px); transition: opacity .9s ease, transform 1.15s var(--expo); }
.cards, .worry, .stats { perspective: 1300px; }
.card.reveal, .worry__card.reveal { transform: translateY(80px) rotateX(-24deg) scale(.95); transform-origin: 50% 100%; }
.card.reveal.in, .worry__card.reveal.in { transform: none; }
.card.reveal.in:hover { transform: translateY(-8px); }
.worry__card.reveal.in:hover { transform: translateY(-6px); }
.outcome { border-left: 0; position: relative; }
.outcome::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--accent); transform: scaleY(0); transform-origin: top; transition: transform 1s var(--expo) .25s; }
.outcome.in::before { transform: scaleY(1); }

/* headlines rise word by word from behind a mask */
.words.reveal { opacity: 1; transform: none; }
.w { display: inline-block; overflow: hidden; vertical-align: top; padding: .06em .02em .1em; margin: -.06em -.02em -.1em; }
.w__i { display: inline-block; transform: translateY(112%) rotate(5deg); transform-origin: 0 100%; transition: transform 1s var(--expo); transition-delay: calc(var(--i) * 60ms + var(--wd, 0ms)); will-change: transform; }
.words.in .w__i { transform: none; }
.words[data-delay="1"] { --wd: 140ms; }
.words[data-delay="2"] { --wd: 260ms; }

/* ---------- odometer counters: each digit is a reel ---------- */
.odo { display: flex !important; justify-content: center; align-items: flex-start; line-height: 1; }
.odo__c { display: block; line-height: 1; }
.odo__d { display: block; height: 1em; overflow: hidden; }
.odo__r { display: block; transition-property: transform; transition-timing-function: cubic-bezier(.12, .78, .12, 1); transition-duration: 2s; will-change: transform; }
.odo__r i { display: block; height: 1em; line-height: 1; font-style: normal; text-align: center; }

/* ---------- velocity marquee: scrubs with the page, leans with scroll speed ---------- */
.marquee { overflow: hidden; padding: 30px 0 70px; background: #fff; }
.marquee__row { display: flex; gap: .45em; width: max-content; white-space: nowrap; font-family: var(--font-display); font-weight: 900; font-size: clamp(3.2rem, 9.5vw, 9rem); line-height: 1; text-transform: uppercase; letter-spacing: .02em; will-change: transform; }
.marquee__row + .marquee__row { margin-top: .1em; font-size: clamp(1.5rem, 3.6vw, 3.2rem); letter-spacing: .14em; color: var(--ink); }
.marquee__row .o { color: transparent; -webkit-text-stroke: 2px var(--ink); }
.marquee__row .f { color: var(--accent); }
.marquee__row .s { color: var(--accent); }

/* ---------- scroll dart: page progress, lands in a bullseye at the bottom ---------- */
.sdart { position: fixed; right: 26px; top: 50%; width: 24px; height: min(44vh, 360px); transform: translateY(-50%); z-index: 45; opacity: 0; transition: opacity .6s ease; pointer-events: none; }
.sdart.is-on { opacity: 1; }
.sdart__track { position: absolute; left: 11px; top: 0; bottom: 0; width: 2px; background: rgba(140,146,140,.45); }
.sdart__track i { position: absolute; inset: 0; background: var(--accent); transform: scaleY(0); transform-origin: top; }
.sdart__bull { position: absolute; left: 50%; bottom: -9px; width: 18px; height: 18px; margin-left: -9px; border-radius: 50%; background: #fff; border: 3px solid var(--accent); box-shadow: 0 0 0 3px rgba(33,39,33,.85), 0 0 0 5px #fff, 0 0 0 7px var(--accent); }
.sdart__bull i { position: absolute; inset: -3px; border-radius: 50%; border: 2px solid var(--accent); opacity: 0; }
.sdart__dart { position: absolute; left: 50%; top: -48px; margin-left: -8px; width: 16px; height: 48px; filter: drop-shadow(0 3px 5px rgba(0,0,0,.55)); will-change: transform; }
.sdart__wob { display: block; transform-origin: 50% 100%; }
.sdart__wob svg { display: block; }
.sdart.is-hit .sdart__wob { animation: dart-wobble 1s ease-out both; }
.sdart.is-hit .sdart__bull i { animation: dart-ring 1.6s cubic-bezier(.2,.6,.3,1) 2; }
.sdart.is-hit .sdart__bull i + i { animation-delay: .35s; }
.sdart.is-hit .sdart__bull { background: var(--accent); transition: background .2s; }
@media (max-width: 1180px) { .sdart { display: none; } }

@media (max-width: 900px) {
  .section.cut-l, .section.cut-r { padding-bottom: calc(80px + var(--slant)); }
  .section.under { padding-top: calc(80px + var(--slant)); }
  .outcomes.under, .ballforall.under { padding-top: calc(110px + var(--slant)); }
  .changing .parallax__bg { background-position: center 24px; opacity: .34; }
}
@media (max-width: 560px) { .hero { padding-bottom: calc(120px + var(--slant) * .5); } .marquee { padding: 10px 0 50px; } }
.cut-l, .cut-r { z-index: var(--z, 2); }
/* odometer cells are spans: shield them from label rules like .proofbar span / .stat span */
.odo .odo__c, .odo .odo__d, .odo .odo__r { font: inherit; letter-spacing: inherit; text-transform: inherit; color: inherit; }
.stat .odo, .proofbar .odo { margin-bottom: .14em; }

/* ---------- logo marquee (partners): endless + seamless ---------- */
.lm { display: block; width: 100vw; margin-left: calc(50% - 50vw); overflow: hidden; padding: 12px 0 18px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%); }
.lm__track { display: flex; width: max-content; will-change: transform; backface-visibility: hidden; animation: lm-slide var(--lm-dur, 30s) linear infinite; }
.lm__group { display: flex; flex: none; gap: 18px; padding-right: 18px; }
.lm__group a { flex: none; width: 230px; height: 130px; }
.lm:hover .lm__track, .lm:focus-within .lm__track { animation-play-state: paused; }
@keyframes lm-slide { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(calc(-1 * var(--lm-w, 50%)), 0, 0); } }
.partners.reveal.lm { transform: none; }
@media (max-width: 560px) { .lm__group a { width: 170px; height: 104px; } .lm__group { gap: 12px; padding-right: 12px; } }

/* ---------- pre-registration pop-up (every Upper Hand link opens this first) ---------- */
.reg { width: min(640px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); margin: auto; padding: 0; border: 0; background: transparent; overflow: visible; }
.reg::backdrop { background: rgba(14, 17, 14, .72); backdrop-filter: blur(3px); }
.reg[open] { animation: regIn .32s cubic-bezier(.2, .8, .2, 1); }
@keyframes regIn { from { opacity: 0; transform: translateY(18px) scale(.98); } to { opacity: 1; transform: none; } }
.reg__card { max-height: calc(100dvh - 24px); overflow-y: auto; overscroll-behavior: contain; }
.reg__x { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; border: 0; background: rgba(255,255,255,.08); color: #fff; font-size: 26px; line-height: 1; cursor: pointer; transition: background .2s; }
.reg__x:hover { background: var(--accent); }
.reg__kicker { margin: 0 0 8px !important; padding-right: 48px; font-family: var(--font-display); font-size: .8rem !important; letter-spacing: .16em; text-transform: uppercase; color: var(--accent) !important; }
.reg .form-card > h3, .reg__card > h3 { padding-right: 40px; }
.reg .btn { width: 100%; justify-content: center; margin-top: 6px; }
@media (max-width: 640px) {
  .reg__card { padding: 30px 20px 24px; }
  .reg .fgrid { grid-template-columns: 1fr; gap: 12px; }
}
@media (prefers-reduced-motion: reduce) { .reg[open] { animation: none; } }
