/* Public registration site */
.site-footer { background: var(--ink); color: #fff; margin-top: 64px; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; padding: 40px 0 24px; }
.foot-grid b { font-family: var(--display); text-transform: uppercase; letter-spacing: .06em; }
.muted-light { color: rgba(255,255,255,.62); }
.fine { border-top: 1px solid rgba(255,255,255,.12); padding: 16px 0 24px; font-size: .8rem; color: rgba(255,255,255,.5); }
@media (max-width: 720px) { .foot-grid { grid-template-columns: 1fr; } }

/* Hero */
.hero { background: var(--ink); color: #fff; position: relative; overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: -30px; z-index: -1; }
.hero-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: blur(22px) saturate(1.2); opacity: 0; transform: scale(1.1); transition: opacity 1.2s ease; }
.hero-bg img.on { opacity: .28; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(13,13,13,.94) 0%, rgba(13,13,13,.82) 50%, rgba(13,13,13,.6) 100%); }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; padding: 48px 0 60px; }
.hero-logo { width: 150px; height: auto; margin-bottom: 18px; filter: drop-shadow(0 10px 30px rgba(0,0,0,.45)); }
.hero h1 span { color: var(--red); }
.hero h1 em { font-style: normal; color: var(--green); }
.hero p.lead { font-size: 1.12rem; color: rgba(255,255,255,.8); max-width: 560px; }
.hero .cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.hero-stats { display: flex; gap: 28px; margin-top: 30px; flex-wrap: wrap; }
.hero-stats div b { font-family: var(--display); font-size: 2.2rem; display: block; line-height: 1; }
.hero-stats div span { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: rgba(255,255,255,.6); }
.kicker { display: inline-block; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; color: var(--red); margin-bottom: 10px; }
.hero .kicker { background: rgba(215,25,32,.18); color: #ff7a7e; padding: 6px 12px; border-radius: 999px; }

/* Rotating photo showcase */
.showcase { position: relative; }
.showcase .frame { position: relative; aspect-ratio: 1 / 1; border-radius: 22px; overflow: hidden; background: #111; box-shadow: 0 30px 70px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.08); }
.showcase .frame::before { content: ""; position: absolute; inset: 0 0 auto; height: 6px; z-index: 3; background: linear-gradient(90deg, var(--red) 0 33.3%, var(--ink) 33.3% 66.6%, var(--green) 66.6%); }
.slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity .9s ease; }
.slide.on { opacity: 1; z-index: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 6s ease-out; }
.slide.on img { transform: scale(1); }
.slide figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 60px 22px 20px; background: linear-gradient(transparent, rgba(0,0,0,.82)); display: flex; flex-direction: column; }
.slide figcaption b { font-family: var(--display); text-transform: uppercase; font-size: 1.5rem; letter-spacing: .02em; line-height: 1.1; }
.slide figcaption span { font-size: .88rem; color: rgba(255,255,255,.78); }
.sl-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 4; width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(255,255,255,.88); color: var(--ink); font-size: 1.6rem; line-height: 1; display: grid; place-items: center; opacity: 0; transition: opacity .2s; }
.sl-nav.prev { left: 14px; } .sl-nav.next { right: 14px; }
.showcase:hover .sl-nav, .sl-nav:focus-visible { opacity: 1; }
.dots { display: flex; justify-content: center; gap: 8px; margin-top: 16px; }
.dots button { width: 10px; height: 10px; border-radius: 99px; border: 0; padding: 0; background: rgba(255,255,255,.3); transition: all .3s; }
.dots button.on { width: 30px; background: var(--red); }
@media (prefers-reduced-motion: reduce) { .slide img, .slide.on img { transform: none; transition: none; } }
@media (hover: none) { .sl-nav { opacity: .85; } }
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; padding: 32px 0 44px; gap: 30px; }
  .hero-logo { width: 120px; }
  .showcase .frame { aspect-ratio: 4 / 3.4; }
}

/* Family services band */
.family-band { background: var(--ink); color: #fff; padding: 56px 0; background-image: radial-gradient(circle at 10% 0%, rgba(26,154,75,.22), transparent 45%), radial-gradient(circle at 90% 100%, rgba(215,25,32,.2), transparent 45%); }
.family-band h2 { color: #fff; }
.family-band .kicker { color: #5fd38d; }
.family-band .prog { background: #fff; color: var(--ink); }
.ev-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin: 36px 0 14px; flex-wrap: wrap; }
.ev-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.ev-card { display: flex; gap: 12px; align-items: center; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 14px; padding: 14px; transition: background .15s; }
.ev-card:hover { background: rgba(255,255,255,.1); }
.ev-card .date { flex: none; width: 52px; text-align: center; background: #fff; color: var(--ink); border-radius: 10px; padding: 6px 0; }
.ev-card .date b { display: block; font-family: var(--display); font-size: 1.4rem; line-height: 1; }
.ev-card .date small { font-size: .64rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--red); }
.ev-card .info { flex: 1; min-width: 0; }
.ev-card .info b { display: block; font-size: .95rem; line-height: 1.2; }
.ev-card .info small { display: block; color: rgba(255,255,255,.65); font-size: .8rem; }
.ev-tag i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; vertical-align: 0; box-shadow: 0 0 0 2px rgba(255,255,255,.15); }
.ev-tag { display: inline-block; margin-top: 4px; font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: rgba(255,255,255,.55); }
.ev-card .btn { background: #fff; color: var(--ink); }
.ev-card .btn.btn-green { background: var(--green); color: #fff; }

/* Who are you registering? */
.who-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.who-card { position: relative; display: flex; gap: 14px; align-items: center; padding: 18px; border: 2px solid var(--line); border-radius: 14px; background: #fff; cursor: pointer; transition: all .15s; }
.who-card input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.who-card:hover { border-color: #bbb; }
.who-card.on { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(13,13,13,.1); background: #fcfcfa; }
.who-card.invalid { border-color: var(--red); }
.who-ico { flex: none; width: 50px; height: 50px; border-radius: 14px; background: var(--bg); display: grid; place-items: center; font-size: 1.5rem; }
.who-card.on .who-ico { background: var(--ink); }
.who-card b { display: block; font-size: 1rem; }
.who-card small { display: block; color: var(--muted); font-size: .84rem; line-height: 1.35; }
@media (max-width: 640px) { .who-grid { grid-template-columns: 1fr; } }

.section { padding: 64px 0 0; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }

/* Program cards */
.programs { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.prog { position: relative; display: flex; flex-direction: column; padding: 22px; border-radius: var(--radius); background: #fff; border: 1.5px solid var(--line); transition: transform .15s, box-shadow .15s, border-color .15s; overflow: hidden; }
.prog::before { content: ""; position: absolute; inset: 0 0 auto; height: 5px; background: var(--c, var(--ink)); }
.prog:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.prog .ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; color: #fff; background: var(--c, var(--ink)); font-size: 1.2rem; margin-bottom: 14px; }
.prog h3 { margin-bottom: 4px; }
.prog .meta { font-size: .8rem; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 10px; }
.prog p { font-size: .93rem; color: #3b3a37; flex: 1; }
.prog .foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 8px; }
.spots { font-size: .8rem; font-weight: 700; white-space: nowrap; }
.spots.low { color: var(--red); }
.fill { height: 6px; background: var(--bg); border-radius: 99px; overflow: hidden; margin-top: 12px; }
.fill i { display: block; height: 100%; background: var(--c, var(--ink)); border-radius: 99px; }

/* Selectable program card in the wizard */
.prog.selectable { cursor: pointer; padding-right: 48px; }
.prog.selectable input { position: absolute; opacity: 0; }
.prog.selectable .tick { position: absolute; top: 18px; right: 16px; width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--line); display: grid; place-items: center; color: #fff; font-size: .8rem; }
.prog.selectable.on { border-color: var(--c); box-shadow: 0 0 0 3px color-mix(in srgb, var(--c) 20%, transparent); }
.prog.selectable.on .tick { background: var(--c); border-color: var(--c); }
.prog.selectable .warn { font-size: .78rem; color: var(--amber); font-weight: 600; margin-top: 6px; }

.steps3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.steps3 .card { padding: 24px; }
.steps3 .n { font-family: var(--display); font-size: 3rem; font-weight: 800; color: var(--red); line-height: 1; }
@media (max-width: 720px) { .steps3 { grid-template-columns: 1fr; } }

/* Auth */
.auth { display: grid; grid-template-columns: 1fr 1fr; min-height: calc(100vh - 70px); }
.auth-side { background: var(--ink); color: #fff; padding: 56px; display: flex; flex-direction: column; justify-content: center; }
.auth-side ul { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.auth-side li { display: flex; gap: 12px; align-items: flex-start; color: rgba(255,255,255,.82); }
.auth-side li b { color: #fff; }
.auth-side li i { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--green); display: grid; place-items: center; font-style: normal; font-weight: 800; font-size: .8rem; }
.auth-main { display: flex; align-items: center; justify-content: center; padding: 40px 16px; }
.auth-card { width: min(460px, 100%); }
.tabs { display: flex; background: var(--bg); border-radius: 12px; padding: 4px; margin-bottom: 22px; }
.tabs button { flex: 1; border: 0; background: transparent; padding: 10px; border-radius: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; font-size: .85rem; color: var(--muted); }
.tabs button.on { background: #fff; color: var(--ink); box-shadow: 0 1px 4px rgba(0,0,0,.1); }
.form-error { background: var(--soft-red); color: var(--red-dark); border-radius: 10px; padding: 10px 14px; font-weight: 600; font-size: .88rem; margin-bottom: 14px; }
.pw-meter { height: 5px; border-radius: 99px; background: var(--bg); overflow: hidden; margin-top: 8px; }
.pw-meter i { display: block; height: 100%; width: 0; transition: width .2s, background .2s; }
@media (max-width: 860px) { .auth { grid-template-columns: 1fr; } .auth-side { padding: 36px 20px; } }

/* Wizard */
.wizard-top { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 70px; z-index: 30; }
.wizard-top .wrap { padding: 16px 0 14px; }
.progress-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 10px; }
.progress-row h2 { font-size: 1.5rem; margin: 0; }
.pct { font-family: var(--display); font-weight: 800; font-size: 1.5rem; }
.bar { height: 10px; background: var(--bg); border-radius: 99px; overflow: hidden; position: relative; }
.bar i { position: absolute; inset: 0 auto 0 0; background: linear-gradient(90deg, var(--red), var(--ink) 55%, var(--green)); border-radius: 99px; transition: width .45s cubic-bezier(.2,.8,.2,1); }
.step-dots { display: flex; justify-content: space-between; margin-top: 12px; gap: 6px; }
.step-dots button { flex: 1; border: 0; background: none; padding: 0; display: flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 600; color: var(--muted); text-align: left; }
.step-dots button i { flex: none; width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--line); display: grid; place-items: center; font-style: normal; font-weight: 800; font-size: .78rem; background: #fff; transition: all .2s; }
.step-dots button.done i { background: var(--green); border-color: var(--green); color: #fff; }
.step-dots button.cur { color: var(--ink); }
.step-dots button.cur i { background: var(--ink); border-color: var(--ink); color: #fff; box-shadow: 0 0 0 4px rgba(13,13,13,.1); }
.step-dots button:disabled { cursor: default; }
@media (max-width: 760px) { .step-dots button span { display: none; } .step-dots { justify-content: space-between; } .step-dots button { flex: none; } }

.wizard { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 24px; padding: 28px 0; align-items: start; }
.wizard .aside { position: sticky; top: 210px; }
@media (max-width: 960px) { .wizard { grid-template-columns: 1fr; } .wizard .aside { position: static; } }
.step-card h3 { font-size: 1.6rem; margin-bottom: 4px; }
.step-card .sub { color: var(--muted); margin-bottom: 22px; }
.step-anim { animation: stepIn .35s ease; }
@keyframes stepIn { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
.group-title { font-family: var(--display); text-transform: uppercase; font-weight: 700; letter-spacing: .06em; font-size: 1rem; margin: 26px 0 12px; display: flex; align-items: center; gap: 10px; }
.group-title::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.wiz-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.saved { font-size: .8rem; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.saved::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.aside .card { padding: 20px; }
.aside h4 { font-size: 1rem; margin-bottom: 12px; }
.aside .row { display: flex; justify-content: space-between; gap: 10px; font-size: .88rem; padding: 7px 0; border-bottom: 1px dashed var(--line); }
.aside .row:last-child { border: 0; }
.aside .row span:first-child { color: var(--muted); }
.aside .row span:last-child { font-weight: 600; text-align: right; }
.encourage { margin-top: 14px; background: var(--soft-green); color: var(--green-dark); border-radius: 12px; padding: 12px 14px; font-weight: 600; font-size: .88rem; }
.age-note { font-size: .8rem; font-weight: 700; color: var(--green-dark); margin-top: 4px; }

/* Waiver */
.waiver { border: 1.5px solid var(--line); border-radius: 12px; max-height: 300px; overflow: auto; padding: 18px 20px; background: #fcfcfb; font-size: .9rem; }
.waiver h5 { font-family: var(--display); text-transform: uppercase; font-size: 1rem; margin: 14px 0 6px; }
.waiver h5:first-child { margin-top: 0; }
.waiver ul { margin: 6px 0 10px; padding-left: 20px; }
.scroll-hint { font-size: .78rem; color: var(--muted); margin-top: 6px; }
.consent-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; flex-wrap: wrap; }
.consent-row.invalid { border-color: var(--red); }
.consent-row b { display: block; }
.consent-row small { color: var(--muted); }
.sig-wrap { border: 1.5px dashed #bdbab2; border-radius: 12px; background: #fff; position: relative; }
.sig-wrap canvas { width: 100%; height: 150px; display: block; touch-action: none; cursor: crosshair; }
.sig-wrap .sig-line { position: absolute; left: 20px; right: 20px; bottom: 34px; border-bottom: 1px solid var(--line); pointer-events: none; }
.sig-wrap .sig-x { position: absolute; left: 22px; bottom: 38px; color: #bbb; font-weight: 700; pointer-events: none; }
.sig-wrap.invalid { border-color: var(--red); }
.sig-tools { display: flex; justify-content: space-between; align-items: center; margin-top: 6px; font-size: .8rem; color: var(--muted); }

/* Review */
.review-block { border: 1.5px solid var(--line); border-radius: 12px; padding: 16px 18px; margin-bottom: 12px; background: #fff; }
.review-block header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.review-block header b { font-family: var(--display); text-transform: uppercase; letter-spacing: .05em; }
.review-block dl { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 6px 18px; margin: 0; font-size: .9rem; }
.review-block dt { color: var(--muted); font-size: .76rem; text-transform: uppercase; letter-spacing: .04em; }
.review-block dd { margin: 0 0 6px; font-weight: 600; }
.link-btn { border: 0; background: none; color: var(--red); font-weight: 700; font-size: .82rem; text-transform: uppercase; letter-spacing: .05em; }

/* Done */
.done-hero { background: var(--ink); color: #fff; text-align: center; padding: 56px 16px 64px; position: relative; overflow: hidden; }
.done-check { width: 92px; height: 92px; border-radius: 50%; background: var(--green); display: grid; place-items: center; margin: 0 auto 20px; animation: pop .5s cubic-bezier(.2,1.6,.4,1); }
.done-check svg { width: 46px; height: 46px; stroke: #fff; stroke-width: 4; fill: none; stroke-dasharray: 60; stroke-dashoffset: 60; animation: draw .5s .35s forwards; }
@keyframes pop { from { transform: scale(0); } to { transform: scale(1); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
.confetti { position: absolute; top: -12px; width: 9px; height: 14px; opacity: .9; animation: fall linear forwards; }
@keyframes fall { to { transform: translateY(110vh) rotate(720deg); } }
.member-id { display: inline-block; margin-top: 14px; background: rgba(255,255,255,.08); border: 1px dashed rgba(255,255,255,.35); padding: 8px 16px; border-radius: 10px; font-family: ui-monospace, Menlo, monospace; letter-spacing: .05em; }
.next-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: -36px; position: relative; }
.next-grid .card { padding: 22px; }
@media (max-width: 760px) { .next-grid { grid-template-columns: 1fr; } }

/* Dashboard */
.dash-head { background: var(--ink); color: #fff; padding: 36px 0 70px; }
.dash-head .wrap { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.dash-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 20px; margin-top: -44px; }
@media (max-width: 900px) { .dash-grid { grid-template-columns: 1fr; } }
.journey { display: flex; gap: 22px; align-items: center; }
.ring { --p: 0; width: 120px; height: 120px; flex: none; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--green) calc(var(--p) * 1%), var(--bg) 0); transition: --p .6s; }
.ring div { width: 92px; height: 92px; border-radius: 50%; background: #fff; display: grid; place-items: center; text-align: center; }
.ring b { font-family: var(--display); font-size: 1.9rem; line-height: 1; display: block; }
.ring small { font-size: .66rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.tasks { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 8px; }
.tasks li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; }
.tasks li.done { background: var(--soft-green); border-color: transparent; }
.tasks li .box { flex: none; width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--line); display: grid; place-items: center; font-size: .8rem; font-weight: 800; color: #fff; }
.tasks li.done .box { background: var(--green); border-color: var(--green); }
.tasks li .txt { flex: 1; }
.tasks li .txt b { display: block; font-size: .95rem; }
.tasks li .txt small { color: var(--muted); }
.tasks li.done .txt b { text-decoration: line-through; text-decoration-color: rgba(0,0,0,.3); }
.kid { display: flex; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.kid:last-child { border-bottom: 0; }
.avatar { flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 800; font-family: var(--display); font-size: 1.1rem; }
.kid .info { flex: 1; min-width: 0; }
.kid .info b { display: block; }
.kid .info small { color: var(--muted); }
.event { display: flex; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.event:last-child { border-bottom: 0; }
.event .date { flex: none; width: 54px; text-align: center; border-radius: 10px; background: var(--bg); padding: 6px 0; }
.event .date b { display: block; font-family: var(--display); font-size: 1.4rem; line-height: 1; }
.event .date small { font-size: .66rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; color: var(--red); }
.event .info { flex: 1; min-width: 0; }
.event .info b { display: block; font-size: .95rem; }
.event .info small { color: var(--muted); }
.badges { display: flex; gap: 10px; flex-wrap: wrap; }
.badge { width: 68px; text-align: center; font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.badge i { display: grid; place-items: center; width: 54px; height: 54px; margin: 0 auto 6px; border-radius: 50%; font-style: normal; font-size: 1.3rem; background: var(--bg); filter: grayscale(1); opacity: .45; }
.badge.on { color: var(--ink); }
.badge.on i { filter: none; opacity: 1; background: var(--soft-amber); box-shadow: inset 0 0 0 2px #f1cf6c; }

/* Program card cover + actions */
.prog.has-cover { padding-top: 0; }
.prog-cover { display: block; border: 0; padding: 0; margin: 0 -22px 16px; height: 150px; overflow: hidden; cursor: pointer; background: var(--bg); }
.prog-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.prog:hover .prog-cover img { transform: scale(1.05); }
.prog.has-cover .ico { margin-top: -38px; position: relative; border: 3px solid #fff; width: 48px; height: 48px; }
.prog-actions { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.details-link { align-self: flex-start; margin-top: 10px; padding: 0; position: relative; z-index: 2; }
.ph-art { display: grid; place-items: center; width: 100%; height: 100%; background: linear-gradient(135deg, var(--c), color-mix(in srgb, var(--c) 55%, #000)); color: rgba(255,255,255,.9); font-size: 2.6rem; position: relative; overflow: hidden; }
.ph-art::after { content: ""; position: absolute; inset: auto 0 0; height: 5px; background: linear-gradient(90deg, var(--red) 0 33.3%, var(--ink) 33.3% 66.6%, var(--green) 66.6%); }

/* Program details panel */
.pd-wrap { position: fixed; inset: 0; z-index: 75; }
.pd-bg { position: absolute; inset: 0; background: rgba(10,10,10,.55); animation: fadeIn .2s ease; }
@keyframes fadeIn { from { opacity: 0; } }
.pd { position: absolute; top: 0; right: 0; bottom: 0; width: min(640px, 100%); background: #fff; display: flex; flex-direction: column; box-shadow: -30px 0 70px rgba(0,0,0,.3); animation: pdIn .3s cubic-bezier(.2,.8,.2,1); }
@keyframes pdIn { from { transform: translateX(60px); opacity: 0; } }
.pd-top { display: flex; justify-content: space-between; align-items: center; padding: 12px 18px; border-bottom: 1px solid var(--line); border-top: 5px solid var(--c); }
.pd-scroll { flex: 1; overflow: auto; overscroll-behavior: contain; }
.pd-gallery { padding: 18px 18px 0; }
.pd-main { position: relative; aspect-ratio: 16 / 10; border-radius: 16px; overflow: hidden; background: var(--bg); }
.pd-main > img#pd-main { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; }
.pd-cap { position: absolute; left: 12px; bottom: 12px; background: rgba(0,0,0,.65); color: #fff; font-size: .8rem; font-weight: 600; padding: 4px 10px; border-radius: 99px; }
.pd-cap:empty { display: none; }
.pd-count { position: absolute; right: 12px; top: 12px; background: rgba(255,255,255,.92); font-size: .74rem; font-weight: 700; padding: 3px 9px; border-radius: 99px; }
.ph-art.big { font-size: 4rem; flex-direction: column; gap: 6px; }
.ph-art .ph-logo { position: absolute; right: 14px; bottom: 16px; width: 54px; opacity: .9; }
.ph-art em { font-style: normal; font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; opacity: .75; }
.pd-thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; padding-bottom: 4px; }
.pd-thumbs button { flex: none; width: 74px; height: 54px; border-radius: 10px; overflow: hidden; border: 2px solid transparent; padding: 0; opacity: .65; background: none; }
.pd-thumbs button.on { border-color: var(--c); opacity: 1; }
.pd-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pd-body { padding: 18px 22px 28px; }
.pd-body h2 { font-size: 2.1rem; margin-bottom: 6px; }
.pd-lead { font-size: 1.05rem; color: #34332f; }
.pd-facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 18px 0 6px; }
.pd-facts div { background: var(--bg); border-radius: 12px; padding: 10px 14px; }
.pd-facts small { display: block; font-size: .7rem; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); font-weight: 700; }
.pd-facts b { font-size: .92rem; }
.pd-body section { margin-top: 22px; }
.pd-body h4 { font-size: 1rem; letter-spacing: .06em; margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.pd-body h4::before { content: ""; width: 14px; height: 4px; border-radius: 4px; background: var(--c); }
.pd-body p { margin: 0; color: #3b3a37; font-size: .94rem; }
.pd-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.pd-list li { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; }
.pd-list li::before { content: "✓"; flex: none; width: 22px; height: 22px; border-radius: 50%; background: color-mix(in srgb, var(--c) 14%, white); color: var(--c); display: grid; place-items: center; font-size: .72rem; font-weight: 800; margin-top: 1px; }
.pd-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.pd-partners { display: flex; flex-wrap: wrap; gap: 8px; }
.pd-partners span { border: 1.5px solid var(--line); border-radius: 99px; padding: .35em .9em; font-size: .85rem; font-weight: 600; }
.pd-faq { border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; margin-bottom: 8px; }
.pd-faq summary { font-weight: 700; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 10px; }
.pd-faq summary::after { content: "+"; font-size: 1.2rem; line-height: 1; color: var(--muted); }
.pd-faq[open] summary::after { content: "–"; }
.pd-faq p { margin-top: 8px; }
.pd-foot { display: flex; align-items: center; gap: 16px; padding: 14px 18px; border-top: 1px solid var(--line); background: #fff; }
.pd-spots { flex: 1; min-width: 0; font-size: .85rem; }
.pd-spots b.low { color: var(--red); }
.pd-spots .fill { margin-top: 6px; }
.pd-spots .fill i { background: var(--c); }
@media (max-width: 640px) {
  .pd { width: 100%; animation-name: pdUp; }
  @keyframes pdUp { from { transform: translateY(40px); opacity: 0; } }
  .pd-grid2 { grid-template-columns: 1fr; }
  .pd-facts b { font-size: .84rem; }
  .pd-body h2 { font-size: 1.7rem; }
}

/* Share */
.share-btn { gap: 6px; }
.share-btn svg, .card-share svg { width: 16px; height: 16px; }
.card-share { margin-left: auto; display: grid; place-items: center; }
.card-share:hover { background: var(--ink); color: #fff; }
.share-pop { position: fixed; z-index: 120; background: #fff; border-radius: 16px; box-shadow: 0 20px 60px rgba(0,0,0,.28), 0 0 0 1px rgba(0,0,0,.06); padding: 14px; animation: popIn .15s ease; }
@keyframes popIn { from { opacity: 0; transform: translateY(-4px); } }
.share-pop > b { display: block; font-family: var(--display); text-transform: uppercase; letter-spacing: .03em; margin-bottom: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.share-native { width: 100%; border: 1.5px solid var(--line); background: var(--bg); border-radius: 10px; padding: 9px; font-weight: 700; margin-bottom: 10px; }
.share-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.sh { display: flex; flex-direction: column; align-items: center; gap: 5px; text-decoration: none; font-size: .72rem; font-weight: 600; color: var(--ink); padding: 8px 4px; border-radius: 10px; text-align: center; }
.sh:hover { background: var(--bg); }
.sh i { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: #fff; }
.sh i svg { width: 20px; height: 20px; }
.sh-facebook i { background: #1877f2; } .sh-x i { background: #000; } .sh-whatsapp i { background: #25d366; }
.sh-linkedin i { background: #0a66c2; } .sh-sms i { background: var(--green); } .sh-email i { background: var(--red); }
.share-copy { display: flex; gap: 6px; margin-top: 10px; }
.share-copy .input { padding: .5em .7em; font-size: .8rem; }

/* Account type + who cards */
.role-pick { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.role-pick label { position: relative; border: 2px solid var(--line); border-radius: 12px; padding: 12px 14px; cursor: pointer; transition: all .15s; }
.role-pick label.on { border-color: var(--ink); background: #fcfcfa; box-shadow: 0 0 0 3px rgba(13,13,13,.08); }
.role-pick input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.role-pick b { display: block; font-size: .95rem; }
.role-pick small { color: var(--muted); font-size: .8rem; }
.who-grid.three { grid-template-columns: repeat(3, 1fr); }
.who-grid.one { grid-template-columns: 1fr; max-width: 420px; }
.who-grid.three .who-card { flex-direction: column; align-items: flex-start; }
@media (max-width: 760px) { .who-grid.three { grid-template-columns: 1fr; } .who-grid.three .who-card { flex-direction: row; align-items: center; } }
@media (max-width: 420px) { .role-pick { grid-template-columns: 1fr; } }
.cta-note { margin: 12px 0 0; font-size: .85rem; color: rgba(255,255,255,.6); }

/* Guardian signature */
.guardian-sign { border: 1.5px dashed var(--line); border-radius: 14px; padding: 4px 16px 16px; margin-top: 14px; background: #fcfcfb; }
.sign-needed { max-width: 560px; margin: 22px auto 0; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.2); border-radius: 16px; padding: 16px 18px; text-align: left; }
.sign-needed p { margin: 6px 0 12px; color: rgba(255,255,255,.75); font-size: .92rem; }
.sign-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.sign-page { padding: 32px 0; }
.sign-head { display: flex; gap: 16px; align-items: center; margin-bottom: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.sign-head img { width: 72px; flex: none; }
.sign-head h2 { font-size: 1.6rem; }
.consent-row[data-k].invalid, .check[data-k].invalid { border-color: var(--red); }
.self-note { display: flex; gap: 14px; align-items: center; background: var(--soft-green); border-radius: 14px; padding: 14px 16px; }
.self-note > span { font-size: 1.6rem; }
.self-note b { display: block; }
.self-note small { color: var(--green-dark); }
