/* ============================================================
   Component styles: hero, stats, steps, why, quote, footer,
   filters, cards, modal.
   ============================================================ */

/* ---------------- HERO ---------------- */
.hero { position: relative; background: var(--teal); color: #fff; padding-top: 22px; overflow: hidden; }
.hero__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.hero__logobox { display: inline-flex; align-items: center; }
.hero__logobox img { height: 46px; width: auto; max-width: 60vw; display: block; filter: brightness(0) invert(1); }
.hero__switch {
  display: inline-flex; align-items: center; gap: 8px; max-width: 100%;
  background: rgba(255,255,255,.14); color: #fff; border: 1.5px solid rgba(255,255,255,.35);
  font-family: var(--font-display); font-weight: 600; font-size: .95rem;
  padding: 9px 18px; border-radius: 30px; transition: background .15s ease;
  white-space: nowrap; text-align: left; line-height: 1.2;
}
.hero__switch:hover { background: rgba(255,255,255,.24); }
.hero__switch strong { color: var(--gold); }
.hero__switch .chev-r, .hero__switch .chev-l { font-size: 1.3em; line-height: 0; }

.hero__grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center;
  padding: 26px 0 78px;
}
.hero__title { font-size: clamp(2.5rem, 5.6vw, 4.1rem); font-weight: 800; color: #fff; }
.hero__title-accent { color: var(--orange); }
.hero__underline { width: 230px; height: 3px; background: rgba(255,255,255,.5); margin: 16px 0; border-radius: 2px; }
.hero__tag { font-size: 1.12rem; font-weight: 600; color: rgba(255,255,255,.96); margin: 0; }
.hero__btns { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 26px; }

.hero__media { position: relative; z-index: 2; }
.hero__photo {
  display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 20px;
  box-shadow: 0 20px 40px -20px rgba(0,0,0,.4); border: 3px solid rgba(255,255,255,.25);
}
.hero__wave { position: absolute; left: 0; bottom: -1px; width: 100%; height: 62px; display: block; z-index: 1; }

/* ---------------- INTRO ---------------- */
.intro { padding: 40px 28px 6px; }
.intro__lede {
  max-width: 760px; margin: 0 auto; text-align: center;
  font-size: 1.28rem; font-weight: 600; color: var(--teal-ink); line-height: 1.5; text-wrap: balance;
}

/* ---------------- STATS ---------------- */
.stats { padding: 26px 0 8px; }
.stats__grid { display: flex; justify-content: center; gap: 0; flex-wrap: wrap; }
.stats__item { flex: 1; min-width: 180px; text-align: center; padding: 8px 24px; position: relative; }
.stats__item + .stats__item::before {
  content: ""; position: absolute; left: 0; top: 14%; height: 72%; width: 2px; background: var(--line);
}
.stats__num { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.2rem, 4vw, 3rem); color: var(--orange); line-height: 1; }
.stats__item:nth-child(2) .stats__num { color: var(--teal); }
.stats__item:nth-child(3) .stats__num { color: var(--coral); }
.stats__label { font-weight: 700; color: var(--muted); font-size: .92rem; margin-top: 6px; }

/* ---------------- generic block ---------------- */
.block { padding: 54px 28px; }

/* ---------------- STEPS ---------------- */
.steps { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.step {
  position: relative; display: flex; align-items: center; gap: 12px;
  background: var(--card); border: 1.5px solid var(--line); border-radius: 14px;
  padding: 16px 20px; flex: 1; min-width: 210px; box-shadow: var(--shadow-soft);
}
.step__num {
  flex: none; width: 38px; height: 38px; border-radius: 50%; color: #fff;
  font-family: var(--font-display); font-weight: 800; font-size: 1.15rem;
  display: flex; align-items: center; justify-content: center;
}
.step__num--coral { background: var(--coral); }
.step__num--gold  { background: var(--gold); }
.step__num--teal  { background: var(--teal); }
.step__num--green { background: var(--green); }
.step__txt { font-family: var(--font-display); font-weight: 600; color: var(--teal-ink); }
.step__arrow { position: absolute; right: -16px; top: 50%; transform: translateY(-50%); color: var(--teal); font-size: 1.8rem; font-weight: 700; z-index: 2; }

/* ---------------- WHY ---------------- */
.why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.why__item { text-align: center; }
.why__badge {
  width: 96px; height: 96px; border-radius: 50%; margin: 0 auto 14px;
  display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-soft);
}
.why__label { font-family: var(--font-display); font-weight: 700; color: var(--teal-ink); font-size: 1.04rem; }

/* ---------------- QUOTE ---------------- */
.quote-sec { padding: 30px 0 64px; }
.quote {
  position: relative; background: var(--teal); border-radius: 28px;
  padding: 46px 220px 46px 46px; min-height: 150px; display: flex; align-items: center;
}
.quote__bubble { background: var(--cream); border-radius: 20px; padding: 24px 28px; max-width: 560px; box-shadow: var(--shadow-card); position: relative; }
.quote__bubble { min-height: 150px; display: flex; flex-direction: column; justify-content: center; }
.quote__bubble::after {
  content: ""; position: absolute; right: -16px; bottom: 30px; border: 12px solid transparent;
  border-left-color: var(--cream); border-right: 0;
}
.quote__text { font-family: var(--font-hand); font-size: 1.7rem; line-height: 1.25; color: var(--teal-ink); margin: 0 0 8px; }
.quote__who { font-family: var(--font-display); font-weight: 700; color: var(--coral); margin: 0; }
.quote__avatar {
  position: absolute; right: 46px; top: 50%; transform: translateY(-50%);
  width: 132px; height: 132px; border-radius: 50%; border: 5px solid #fff; object-fit: cover;
  box-shadow: 0 12px 24px -12px rgba(0,0,0,.4);
}

/* ---------------- FOOTER ---------------- */
.footer { background: var(--coral); color: #fff; padding: 44px 0; }
.footer__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: center; }
.footer__h { color: #fff; font-size: 1.5rem; font-weight: 700; }
.footer__rule { width: 90px; height: 3px; background: rgba(255,255,255,.6); border-radius: 2px; margin: 8px 0 16px; }
.footer__line { display: inline-block; color: #fff; text-decoration: none; font-weight: 600; margin-bottom: 16px; }
.footer__addr { font-style: normal; color: rgba(255,255,255,.92); font-weight: 600; line-height: 1.5; margin-bottom: 14px; }

/* ---------- share menu (shared, injected by app/share.js) ---------- */
.share-menu { position: fixed; z-index: 9500; background: #fff; border-radius: 16px; box-shadow: 0 20px 50px -16px rgba(0,0,0,.45); padding: 16px; width: 268px; font-family: var(--font-body); animation: shareIn .16s ease both; }
@keyframes shareIn { from { opacity: 0; transform: translateY(6px) scale(.98); } to { opacity: 1; transform: none; } }
.share-menu__title { font-family: var(--font-display); font-weight: 800; color: var(--teal-ink); font-size: .95rem; margin-bottom: 12px; }
.share-menu__row { display: flex; gap: 9px; margin-bottom: 12px; }
.share-btn { flex: 1; aspect-ratio: 1; display: flex; align-items: center; justify-content: center; border-radius: 11px; color: #fff; text-decoration: none; transition: transform .1s ease, filter .1s ease; }
.share-btn:hover { transform: translateY(-2px); filter: brightness(1.06); }
.share-btn svg { width: 20px; height: 20px; }
.share-btn--fb { background: #1877f2; } .share-btn--x { background: #14171a; } .share-btn--wa { background: #25d366; }
.share-btn--li { background: #0a66c2; } .share-btn--em { background: var(--teal); }
.share-copy { width: 100%; display: flex; align-items: center; justify-content: center; gap: 8px; background: var(--cream); border: 1.5px solid var(--line); border-radius: 11px; padding: 11px; font-family: var(--font-display); font-weight: 700; color: var(--teal-ink); cursor: pointer; }
.share-copy:hover { border-color: var(--teal); }
.share-copy.ok { background: #e3f3e6; border-color: var(--green); color: var(--green-dk); }
.share-copy svg { width: 17px; height: 17px; }
.share-more { width: 100%; margin-top: 8px; background: none; border: none; color: var(--teal-deep); font-family: var(--font-display); font-weight: 700; font-size: .88rem; cursor: pointer; padding: 4px; }
.share-more:hover { color: var(--orange); }

/* share trigger button on cards */
.card__share { display: inline-flex; align-items: center; gap: 7px; background: none; border: 1.5px solid var(--line); color: var(--teal-deep); font-family: var(--font-display); font-weight: 700; font-size: .9rem; padding: 8px 14px; border-radius: 10px; cursor: pointer; transition: border-color .12s ease, color .12s ease; }
.card__share:hover { border-color: var(--teal); color: var(--orange); }
.card__share svg { width: 16px; height: 16px; }
.footer__line:hover { text-decoration: underline; }
.footer__social { display: flex; gap: 10px; }
.footer__soc {
  width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.18); color: #fff; text-decoration: none;
  display: flex; align-items: center; justify-content: center; transition: background .14s ease, transform .12s ease;
}
.footer__soc:hover { background: rgba(255,255,255,.32); transform: translateY(-2px); }
.footer__soc svg { width: 18px; height: 18px; }
.footer__cta { text-align: right; border-left: 2px solid rgba(255,255,255,.25); padding-left: 30px; }
.footer__q { font-style: italic; font-size: 1.15rem; margin: 0 0 4px; color: rgba(255,255,255,.95); }
.footer__link {
  background: none; border: none; color: #fff; font-family: var(--font-hand); font-size: 1.9rem; font-weight: 700;
  text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; padding: 0;
}
.footer__link:hover { color: var(--gold); }
.footer__base { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 26px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.2); font-size: .85rem; color: rgba(255,255,255,.8); flex-wrap: wrap; }
.footer__staff { color: rgba(255,255,255,.9); text-decoration: none; font-weight: 700; }
.footer__staff:hover { color: var(--gold); }

/* ---------------- FILTERS ---------------- */
.filters { padding: 22px 24px; margin-bottom: 20px; }
.searchrow { display: flex; align-items: center; gap: 10px; background: #fff; border: 1.5px solid var(--line); border-radius: 13px; padding: 4px 14px; margin-bottom: 18px; transition: border-color .15s ease, box-shadow .15s ease; }
.searchrow:focus-within { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(26,140,156,.16); }
.searchrow__ic { color: var(--muted); display: flex; flex: none; }
.searchrow__input { flex: 1; border: none; background: none; font-family: var(--font-body); font-size: 1.02rem; padding: 12px 0; color: var(--ink); outline: none; }
.searchrow__input::-webkit-search-cancel-button { display: none; }
.searchrow__clear { border: none; background: var(--cream-2); color: var(--teal-ink); width: 26px; height: 26px; border-radius: 50%; flex: none; font-size: .8rem; }
.searchrow__clear:hover { background: var(--line); }
.filters__top { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.filters__age { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.filters__age-label { font-family: var(--font-display); font-weight: 700; color: var(--teal-ink); font-size: 1.05rem; }
.filters__req { font-size: .8rem; font-weight: 700; color: var(--orange); }
.filters__toggle {
  background: none; border: none; color: var(--teal-deep); font-family: var(--font-display); font-weight: 700;
  display: inline-flex; align-items: center; gap: 4px;
}

.ageseg { display: inline-flex; background: var(--cream-2); border-radius: 11px; padding: 4px; gap: 4px; }
.ageseg__btn {
  border: none; background: none; font-family: var(--font-display); font-weight: 700; font-size: .95rem;
  color: var(--teal-ink); padding: 8px 16px; border-radius: 8px; transition: all .12s ease;
}
.ageseg__btn.on { background: var(--teal); color: #fff; box-shadow: 0 2px 0 var(--teal-deep); }
.ageseg__btn:not(.on):hover { background: rgba(26,140,156,.12); }
.ageseg--locked { padding: 0; background: none; }
.ageseg__lockpill {
  display: inline-flex; align-items: center; gap: 8px; background: var(--green); color: #fff;
  font-family: var(--font-display); font-weight: 700; padding: 9px 16px; border-radius: 10px;
}

.filters__body { display: grid; gap: 16px; margin-top: 20px; padding-top: 18px; border-top: 1.5px dashed var(--line); }
.fgroup { display: grid; grid-template-columns: 110px 1fr; gap: 14px; align-items: start; }
.fgroup__label { font-family: var(--font-display); font-weight: 700; color: var(--teal-ink); padding-top: 6px; }
.fgroup__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.fchip {
  display: inline-flex; align-items: center; gap: 5px;
  border: 1.5px solid var(--line); background: var(--white); color: var(--teal-ink);
  font-family: var(--font-body); font-weight: 700; font-size: .86rem;
  padding: 7px 14px; border-radius: 30px; transition: all .12s ease;
}
.fchip:hover { border-color: var(--teal); }
.fchip--on { color: #fff; border-color: transparent; }
.fchip--on.fchip--orange { background: var(--orange); }
.fchip--on.fchip--green  { background: var(--green); }
.fchip--on.fchip--coral  { background: var(--coral); }
.fchip--on.fchip--teal   { background: var(--teal); }

/* result count */
.listing__count { font-weight: 700; color: var(--teal-ink); margin: 6px 2px 22px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.listing__count strong { color: var(--orange); font-size: 1.15rem; }
.listing__sort { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; }
.listing__sort label { font-size: .85rem; color: var(--muted); font-weight: 700; }
.listing__sort select { font-family: var(--font-body); font-weight: 700; font-size: .9rem; color: var(--teal-ink); background: #fff; border: 1.5px solid var(--line); border-radius: 9px; padding: 7px 12px; cursor: pointer; }
.listing__sort select:focus { outline: none; border-color: var(--teal); }
.listing__clear {
  background: none; border: none; color: var(--coral); font-weight: 700; text-decoration: underline;
  text-underline-offset: 3px; cursor: pointer; font-family: var(--font-body);
}

/* ---------------- GRID + CARDS ---------------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 26px; align-items: stretch; }
.card {
  background: var(--card); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-card);
  display: flex; flex-direction: column; height: 100%;
  transition: box-shadow .2s ease, transform .2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 20px 40px -20px rgba(27,75,84,.4); }
.card--open:hover { transform: none; }
.card--open { grid-column: 1 / -1; box-shadow: 0 24px 50px -22px rgba(27,75,84,.45); }

.card__head { position: relative; min-height: 154px; color: #fff; display: flex; align-items: flex-end; overflow: hidden; }
.card__head--orange { background: var(--orange); }
.card__head--coral  { background: var(--coral); }
.card__head--green  { background: var(--green); }
.card__head--teal   { background: var(--teal); }
.card__head--gold   { background: var(--gold); }
.card__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.card__scrim { position: absolute; inset: 0; }
.card__head--orange .card__scrim { background: linear-gradient(to top, rgba(214,90,30,.97), rgba(214,90,30,.5) 48%, rgba(214,90,30,.05) 82%, rgba(214,90,30,0)); }
.card__head--coral  .card__scrim { background: linear-gradient(to top, rgba(198,63,43,.97), rgba(198,63,43,.5) 48%, rgba(198,63,43,.05) 82%, rgba(198,63,43,0)); }
.card__head--green  .card__scrim { background: linear-gradient(to top, rgba(106,160,46,.97), rgba(106,160,46,.52) 48%, rgba(106,160,46,.06) 82%, rgba(106,160,46,0)); }
.card__head--teal   .card__scrim { background: linear-gradient(to top, rgba(19,109,124,.97), rgba(19,109,124,.5) 48%, rgba(19,109,124,.05) 82%, rgba(19,109,124,0)); }
.card__head--gold   .card__scrim { background: linear-gradient(to top, rgba(224,148,42,.97), rgba(224,148,42,.52) 48%, rgba(224,148,42,.06) 82%, rgba(224,148,42,0)); }
.card__head-text { flex: 1; position: relative; z-index: 2; padding: 16px 20px; }
.card__role { color: #fff; font-size: 1.45rem; font-weight: 800; line-height: 1.05; text-shadow: 0 1px 5px rgba(0,0,0,.32); }
.card__org { color: rgba(255,255,255,.95); font-weight: 700; font-size: .9rem; margin-top: 3px; text-shadow: 0 1px 4px rgba(0,0,0,.32); }
.card__logo {
  position: absolute; top: 14px; right: 14px; z-index: 2; flex: none; width: 46px; height: 46px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.95); color: var(--teal-ink); font-family: var(--font-display);
  font-weight: 800; font-size: 1rem; border: none; box-shadow: 0 4px 10px -4px rgba(0,0,0,.4);
}

.card__body { padding: 18px 22px 20px; display: flex; flex-direction: column; flex: 1; }
.card__meta { display: flex; flex-wrap: wrap; gap: 8px 18px; font-weight: 700; color: var(--teal-ink); font-size: .92rem; }
.card__meta span { display: inline-flex; align-items: center; gap: 6px; }
.card__blurb { color: var(--ink); margin: 0 0 14px; }
.card__tags { display: flex; flex-wrap: wrap; gap: 8px; }

.card__detail { animation: fadeUp .3s ease both; }
.card__detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.card__sub { font-size: 1.05rem; font-weight: 700; color: var(--teal-ink); margin-bottom: 8px; }
.card__full { color: var(--ink); margin: 0; }
.card__list { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 8px; }
.card__list li { display: flex; gap: 9px; align-items: flex-start; }
.card__list li svg { flex: none; margin-top: 5px; }
.card__facts { display: grid; gap: 8px; background: var(--cream); border-radius: 12px; padding: 14px 16px; }
.card__facts > div { display: flex; justify-content: space-between; gap: 12px; font-size: .92rem; align-items: baseline; }
.card__fact-k { color: var(--muted); font-weight: 700; flex: none; }
.card__fact-v { color: var(--teal-ink); font-weight: 700; text-align: right; }
.card__consent-note { margin: 12px 0 0; font-size: .86rem; font-weight: 700; color: var(--green-dk); display: flex; gap: 8px; align-items: flex-start; }
.card__consent-note::before { content: ""; flex: none; width: 8px; height: 8px; margin-top: 6px; border-radius: 50%; background: var(--green); }

.card__actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 16px; }

/* small share icon at the top-right of each card */
.card__sharetop { position: absolute; top: 12px; left: 12px; z-index: 4; width: 36px; height: 36px; border-radius: 50%; border: none; background: rgba(255,255,255,.92); color: var(--teal-ink); display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 2px 8px -3px rgba(0,0,0,.35); transition: transform .12s ease, background .12s ease; }
.card__sharetop:hover { transform: scale(1.08); background: #fff; color: var(--orange); }
.card__sharetop svg { width: 17px; height: 17px; }
.card__more {
  background: none; border: none; color: var(--teal-deep); font-family: var(--font-display); font-weight: 700;
  font-size: .98rem; display: inline-flex; align-items: center; gap: 4px; padding: 4px 0;
}
.card__more:hover { color: var(--orange); }
.card__more-chev { display: inline-block; font-size: 1.3em; line-height: 0; transition: transform .2s ease; }
.card__more-chev.up { transform: rotate(-90deg); }

/* empty state */
.empty { padding: 48px 30px; text-align: center; }
.empty__big { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; color: var(--teal-ink); margin-bottom: 6px; }

/* ---------------- MODAL ---------------- */
.modal { position: fixed; inset: 0; z-index: 100; background: rgba(27,75,84,.55); backdrop-filter: blur(3px); display: flex; align-items: flex-start; justify-content: center; padding: 40px 18px; overflow-y: auto; animation: fadeUp .2s ease; }
.modal__card { position: relative; background: var(--cream); border-radius: 22px; width: 100%; max-width: 620px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.5); overflow: hidden; }
.modal__card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 8px; background: var(--teal); }
.modal__card--orange::before { background: var(--orange); }
.modal__card--coral::before  { background: var(--coral); }
.modal__card--green::before  { background: var(--green); }
.modal__card--teal::before   { background: var(--teal); }
.modal__card--gold::before   { background: var(--gold); }
.modal__close { position: absolute; top: 16px; right: 16px; background: rgba(27,75,84,.08); border: none; border-radius: 50%; width: 38px; height: 38px; display: flex; align-items: center; justify-content: center; color: var(--teal-ink); }
.modal__close:hover { background: rgba(27,75,84,.18); }

.modal__head { padding: 30px 32px 6px; }
.modal__eyebrow { font-family: var(--font-display); font-weight: 700; color: var(--orange); font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; margin: 0 0 4px; }
.modal__title { font-size: 1.85rem; font-weight: 800; }
.modal__sub { color: var(--muted); font-weight: 600; margin: 4px 0 0; }
.modal__youthnote { background: #eef6ee; border-radius: 10px; padding: 10px 14px; color: var(--green-dk); font-weight: 600; font-size: .92rem; margin: 14px 0 0; }

.modal__note { display: flex; align-items: flex-start; gap: 9px; border-radius: 10px; padding: 12px 15px; font-weight: 600; font-size: .94rem; line-height: 1.5; margin: 0; text-wrap: pretty; }
.modal__note strong { font-weight: 800; white-space: nowrap; }
.modal__note svg { flex: none; margin-top: 2px; }

/* audience info block — icon badge + title + supporting line */
.agebox { display: flex; align-items: flex-start; gap: 13px; border-radius: 14px; padding: 14px 16px; margin: 0; }
.agebox__ic { flex: none; width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.agebox__txt { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.agebox__txt strong { font-family: var(--font-display); font-weight: 800; font-size: 1.04rem; line-height: 1.15; }
.agebox__txt span { font-size: .9rem; line-height: 1.5; font-weight: 500; text-wrap: pretty; }
.agebox--adult { background: #e4eff1; }
.agebox--adult .agebox__ic { background: var(--teal); }
.agebox--adult strong { color: var(--teal-deep); }
.agebox--adult span { color: var(--teal-ink); }
.agebox--youth { background: #eaf5e7; }
.agebox--youth .agebox__ic { background: var(--green); }
.agebox--youth strong { color: var(--green-dk); }
.agebox--youth span { color: #4a6b39; }
.agebox--ask { background: #fdeede; }
.agebox--ask .agebox__ic { background: var(--orange); }
.agebox--ask strong { color: var(--orange-dk); }
.agebox--ask span { color: #9a5a32; }
.modal__note--adult { background: #e2eff1; color: var(--teal-deep); }
.modal__note--youth { background: #eef6ee; color: var(--green-dk); }
.modal__note--ask   { background: #fdeede; color: var(--orange-dk); }
.modal__note--block { background: #fde6e2; color: var(--coral-dk); }

/* guardian sub-section reveals when applicant is under 18 */
.guardian { background: #f3faf3; border: 1.5px dashed #bfe0bf; border-radius: 12px; padding: 14px; display: grid; gap: 12px; animation: revIn .3s ease both; }
.guardian__head { margin: 0; font-weight: 700; color: var(--green-dk); font-size: .9rem; }

/* celebration confetti */
.confetti { position: absolute; inset: 0; overflow: hidden; pointer-events: none; border-radius: 22px; }
.confetti span { position: absolute; top: -16px; display: block; opacity: 0; animation-name: confettiFall; animation-timing-function: cubic-bezier(.3,.6,.4,1); animation-iteration-count: 1; }
@keyframes confettiFall {
  0%   { opacity: 0; transform: translateY(-10px) rotate(0deg); }
  10%  { opacity: 1; }
  100% { opacity: 0; transform: translateY(360px) rotate(320deg); }
}
@keyframes revIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.modal__form { padding: 18px 32px 30px; display: grid; gap: 14px; }
.modal__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 5px; }
.field__label { font-family: var(--font-display); font-weight: 700; color: var(--teal-ink); font-size: .92rem; }
.field__req { color: var(--coral); }
.field__hint { font-size: .8rem; color: var(--muted); }
.field__err { font-size: .82rem; color: var(--coral); font-weight: 700; }
.field__err--block { margin-top: -6px; }
.inp { font-family: var(--font-body); font-size: 1rem; padding: 11px 14px; border-radius: 10px; border: 1.5px solid var(--line); background: #fff; color: var(--ink); width: 100%; }
.inp:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(26,140,156,.18); }
textarea.inp { resize: vertical; }

.consent { display: flex; gap: 11px; align-items: flex-start; background: #fff; border: 1.5px solid var(--line); border-radius: 12px; padding: 14px; font-size: .9rem; color: var(--ink); font-weight: 600; line-height: 1.45; }
.consent input { margin-top: 3px; width: 20px; height: 20px; flex: none; accent-color: var(--teal); }
.consent--err { border-color: var(--coral); background: #fdf0ee; }
.modal__fineprint { text-align: center; font-size: .8rem; color: var(--muted); margin: 4px 0 0; }

/* Cloudflare Turnstile bot-protection badge (forms) */
.turnstile { display: flex; align-items: center; gap: 11px; background: #f7f9fb; border: 1.5px solid #e3e8ee; border-radius: 10px; padding: 10px 13px; margin: 4px 0 14px; }
.turnstile__check { flex: none; width: 26px; height: 26px; border-radius: 6px; background: #34a853; color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: .9rem; }
.turnstile__txt { flex: 1; line-height: 1.3; }
.turnstile__txt b { display: block; font-size: .82rem; color: var(--ink); }
.turnstile__txt span { font-size: .74rem; color: var(--muted); }
.turnstile__logo { flex: none; font-size: .58rem; font-weight: 800; letter-spacing: .05em; color: #f6821f; }

/* registration interest chips */
.orgbanner { display: flex; align-items: center; justify-content: space-between; gap: 16px; background: var(--teal); color: #fff; border-radius: 16px; padding: 16px 22px; margin: 0 0 20px; flex-wrap: wrap; }
.orgbanner__eyebrow { display: block; font-size: .82rem; color: rgba(255,255,255,.8); font-weight: 700; }
.orgbanner strong { font-family: var(--font-display); font-size: 1.4rem; font-weight: 800; }
.orgbanner__clear { background: rgba(255,255,255,.18); border: none; color: #fff; font-family: var(--font-display); font-weight: 700; padding: 9px 16px; border-radius: 10px; cursor: pointer; }
.orgbanner__clear:hover { background: rgba(255,255,255,.3); }
.regchips { display: flex; flex-wrap: wrap; gap: 7px; }
.regchip { border: 1.5px solid var(--line); background: #fff; color: var(--teal-ink); font-family: var(--font-body); font-weight: 700; font-size: .85rem; padding: 7px 13px; border-radius: 20px; cursor: pointer; transition: all .12s ease; }
.regchip:hover { border-color: var(--teal); }
.regchip.on { background: var(--teal); color: #fff; border-color: transparent; }
.regchip--area.on { background: var(--coral); }

/* listing extras + downloads (expanded card) */
.card__extras { margin-top: 4px; display: grid; gap: 14px; }
.card__xfig { margin: 0; }
.card__xfig img { width: 100%; max-height: 280px; object-fit: cover; border-radius: 12px; }
.card__xfig figcaption { font-size: .85rem; color: var(--muted); margin-top: 6px; }
.card__files { margin-top: 16px; }
.card__filelist { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.card__file { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1.5px solid var(--line); border-radius: 10px; padding: 10px 14px; font-weight: 700; color: var(--teal-ink); text-decoration: none; transition: border-color .12s ease; }
.card__file:hover { border-color: var(--teal); }

/* share */
.card__share { margin-top: 18px; }
.card__sharebtn { display: inline-flex; align-items: center; gap: 8px; background: var(--cream); border: 1.5px solid var(--line); border-radius: 30px; padding: 9px 16px; font-family: var(--font-display); font-weight: 700; font-size: .9rem; color: var(--teal-ink); transition: border-color .12s ease, color .12s ease; }
.card__sharebtn:hover { border-color: var(--teal); color: var(--teal-deep); }
.card__sharebtn svg { color: var(--teal); }

/* yes/no toggle for custom questions */
.yesno { display: flex; gap: 10px; }
.yesno__btn { flex: 1; padding: 11px; border: 1.5px solid var(--line); background: #fff; border-radius: 10px; font-family: var(--font-display); font-weight: 700; color: var(--teal-ink); transition: all .12s ease; }
.yesno__btn:hover { border-color: var(--teal); }
.yesno__btn.on { background: var(--teal); color: #fff; border-color: transparent; }

/* confirmation-email box on the success screen */
.mailconf { display: flex; align-items: center; gap: 14px; text-align: left; background: #eef6ee; border: 1.5px solid #cfe6cf; border-radius: 14px; padding: 14px 16px; margin: 18px 0 4px; }
.mailconf__ic { flex: none; width: 40px; height: 40px; border-radius: 10px; background: var(--green); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; }
.mailconf strong { display: block; color: var(--teal-ink); font-family: var(--font-display); }
.mailconf span { font-size: .9rem; color: var(--ink); }

/* account-created box on the success screen */
.acctconf { display: flex; align-items: flex-start; gap: 14px; text-align: left; background: #eef4f5; border: 1.5px solid #bfdde0; border-radius: 14px; padding: 14px 16px; margin: 12px 0 4px; }
.acctconf__ic { flex: none; width: 40px; height: 40px; border-radius: 10px; background: var(--teal); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.15rem; }
.acctconf strong { display: block; color: var(--teal-ink); font-family: var(--font-display); }
.acctconf span { font-size: .9rem; color: var(--ink); display: block; }
.acctconf__link { display: inline-block; margin-top: 7px; font-family: var(--font-display); font-weight: 700; color: var(--teal-deep); text-decoration: none; }
.acctconf__link:hover { color: var(--orange); }

/* applicant age chooser (mixed-age roles) */
.applicant { display: flex; flex-direction: column; gap: 8px; background: #fff; border: 1.5px solid var(--line); border-radius: 12px; padding: 14px; }
.applicant--err { border-color: var(--coral); background: #fdf0ee; }
.applicant .ageseg { align-self: flex-start; flex-wrap: wrap; }

.modal__done { padding: 44px 36px; text-align: center; }
.modal__done h2 { font-size: 1.9rem; margin-bottom: 10px; }
.modal__tick { width: 76px; height: 76px; border-radius: 50%; background: var(--green); display: flex; align-items: center; justify-content: center; margin: 0 auto 18px; box-shadow: 0 8px 20px -8px var(--green); }
.modal__done .btn { margin-top: 18px; }

/* ---------------- POLISH: motion & detail ---------------- */
/* scroll reveal */
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .65s ease, transform .65s cubic-bezier(.2,.7,.3,1); }
[data-reveal].is-in { opacity: 1; transform: none; }

/* hero load-in (staggered) */
@keyframes heroIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
.hero__title    { animation: heroIn .7s .05s ease both; }
.hero__underline{ animation: heroIn .7s .15s ease both; }
.hero__tag      { animation: heroIn .7s .22s ease both; }
.hero__btns     { animation: heroIn .7s .30s ease both; }
.hero__media    { animation: heroIn .8s .18s ease both; }
.hero__switch   { animation: heroIn .6s ease both; }

/* gently floating hero blobs */
@keyframes floatY { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.hero__media .blob { animation: floatY 6s ease-in-out infinite; }
.hero__media .blob:nth-child(3) { animation-duration: 7.5s; animation-delay: .4s; }
.hero__media .blob:nth-child(4) { animation-duration: 5.5s; animation-delay: .9s; }

/* card photo zoom on hover */
.card__photo { transition: transform .5s cubic-bezier(.2,.7,.3,1); }
.card:hover .card__photo { transform: scale(1.07); }

/* testimonial fade on rotate + dots */
@keyframes qfade { from { opacity: 0; } to { opacity: 1; } }
.quote__text { animation: qfade .5s ease both; }
.quote__avatar { animation: qfade .5s ease both; }
.quote__dots { display: flex; gap: 8px; margin-top: 16px; }
.quote__dot { width: 10px; height: 10px; border-radius: 50%; border: none; background: rgba(27,75,84,.18); padding: 0; transition: background .2s ease, transform .2s ease; }
.quote__dot.on { background: var(--coral); transform: scale(1.25); }
.quote__dot:hover { background: rgba(27,75,84,.35); }

/* footer wave */
.footer { position: relative; }
.footer__wave { position: absolute; top: -1px; left: 0; width: 100%; height: 52px; display: block; }
.footer__grid { position: relative; padding-top: 26px; }

/* why badge wiggle on hover */
.why__badge { transition: transform .25s ease; }
.why__item:hover .why__badge { transform: translateY(-5px) rotate(-4deg); }

/* step number pop on hover */
.step { transition: transform .18s ease, box-shadow .18s ease; }
.step:hover { transform: translateY(-3px); box-shadow: 0 14px 26px -14px rgba(27,75,84,.4); }

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .hero__media .blob { animation: none !important; }
}

/* ---------------- RESPONSIVE ---------------- */
@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; padding-bottom: 64px; }
  .hero__media { max-width: 460px; width: 100%; margin-inline: auto; }
  .hero__copy { text-align: center; }
  .hero__underline { margin-inline: auto; }
  .hero__btns { justify-content: center; }
  .why { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .quote { padding: 40px 26px 130px; }
  .quote__avatar { top: auto; bottom: 26px; right: 50%; transform: translateX(50%); width: 96px; height: 96px; }
  .card__detail-grid { grid-template-columns: 1fr; gap: 18px; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__cta { text-align: left; border-left: none; border-top: 2px solid rgba(255,255,255,.25); padding-left: 0; padding-top: 22px; }
  .step__arrow { display: none; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .wrap { padding: 0 18px; }
  .modal__cols { grid-template-columns: 1fr; }
  .fgroup { grid-template-columns: 1fr; gap: 6px; }
  .stats__item + .stats__item::before { display: none; }
  .why { grid-template-columns: 1fr 1fr; }

  .hero { padding-top: 16px; }
  .hero__switch { white-space: normal; font-size: .85rem; padding: 8px 14px; }
  .hero__btns .btn { flex: 1 1 auto; justify-content: center; }
  .intro__lede { font-size: 1.1rem; }
  .block { padding: 40px 18px; }

  .filters { padding: 18px 16px; }
  .filters__top { flex-direction: column; align-items: stretch; gap: 12px; }
  .filters__age { align-items: stretch; }
  .ageseg { width: 100%; }
  .ageseg__btn { flex: 1; padding: 9px 8px; font-size: .9rem; }
  .filters__toggle { align-self: flex-end; }

  .modal { padding: 0; align-items: stretch; }
  .modal__card { border-radius: 0; min-height: 100%; max-width: none; }
  .modal__head { padding: 26px 20px 4px; }
  .modal__form { padding: 16px 20px 28px; }
  .modal__title { font-size: 1.5rem; }
  .card__role { font-size: 1.3rem; }
  .stats__num { font-size: 2.1rem; }
}

@media (max-width: 380px) {
  .why { grid-template-columns: 1fr; }
}

/* Respect reduced-motion preferences (helps assistive / UserWay users) */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}

/* Visually-hidden helper (skip link) */
.sr-skip {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--teal); color: #fff; padding: 12px 18px; border-radius: 10px;
  font-family: var(--font-display); font-weight: 700; text-decoration: none;
  transition: top .15s ease;
}
.sr-skip:focus { top: 12px; }

/* ---- Laravel app additions: generic form grid, modal action row, age gate ---- */
.form { display: grid; gap: 14px; }
.form__actions { display: flex; gap: 12px; align-items: center; justify-content: flex-end; margin-top: 4px; }
.modal__back { background: none; border: none; color: var(--teal); font-family: var(--font-display); font-weight: 700; font-size: .95rem; cursor: pointer; margin-right: auto; padding: 6px 2px; }
.modal__back:hover { text-decoration: underline; }
.agegate { padding: 8px 32px 30px; text-align: center; }
.agegate__q { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; color: var(--teal-ink); margin: 0 0 16px; }
.agegate__btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.agegate__btn { font-family: var(--font-display); font-weight: 700; font-size: 1rem; padding: 14px 22px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; color: var(--teal-ink); cursor: pointer; transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease; }
.agegate__btn:hover { border-color: var(--teal); box-shadow: 0 8px 20px -12px rgba(26,140,156,.5); transform: translateY(-2px); }
