/* ==========================================================================
   Hands On Hoops — styles
   Tokens first (change colors/fonts in ONE place), then components by section.
   Matches the Figma Make mockup (rHandsOnHoops).
   ========================================================================== */

:root {
  --orange:        #F47B20;   /* Basketball Orange — primary action */
  --orange-dark:   #D9650F;
  --blue:          #1B75BC;   /* Columbia Blue */
  --navy:          #0D1B2A;   /* Deep Navy */
  --charcoal:      #1A1A1A;
  --charcoal-mid:  #2C2C2C;
  --charcoal-input:#3A3A3A;
  --cream:         #F7F3EE;   /* Warm Cream */
  --cream-dark:    #EDE8E1;
  --peach:         #FFD9BF;
  --line-light:    #D4CFC9;

  --font-display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --font-body:    'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --maxw: 1000px;          /* ADJUST ME: content width (mockup = 1000px) */
  --section-pad: 30px;     /* ADJUST ME: vertical section padding (mockup = 30px; 48–72px feels roomier) */
  --radius: 16px;
}

/* ── Base ─────────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-body); background: var(--cream); color: var(--charcoal); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 900; text-transform: uppercase; line-height: .93; margin: 0; }
p { margin: 0; }
button { font: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 200; background: var(--orange); color: #fff; padding: 10px 16px; border-radius: 999px; font-weight: 700; }
.skip:focus { left: 12px; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.wrap--narrow { max-width: 680px; }

.hl-orange { color: var(--orange); }
.hl-blue   { color: var(--blue); }

/* ── Buttons ──────────────────────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px;
  font-family: var(--font-display); font-weight: 900; text-transform: uppercase; letter-spacing: .06em;
  font-size: 1.1rem; line-height: 1.1; text-decoration: none; text-align: center;
  padding: 12px 26px; border-radius: 999px; border: 2px solid transparent; cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s, border-color .2s; }
.btn:hover { transform: scale(1.04); box-shadow: 0 12px 28px rgba(0,0,0,.22); }
.btn:active { transform: scale(.97); }
.btn--orange { background: var(--orange); color: #fff; }
.btn--navy   { background: var(--navy); color: #fff; }
.btn--ghost  { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); font-weight: 800; }
.btn--ghost:hover { border-color: #fff; }
.btn--sm { font-size: 1.02rem; padding: 9px 20px; }
.btn--lg { font-size: 1.15rem; padding: 14px 28px; }
.btn--xl { font-size: 1.25rem; padding: 16px 28px; letter-spacing: .08em; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .6; pointer-events: none; }

/* ── Section scaffolding ─────────────────────────────────────────────────── */
.section { padding: var(--section-pad) 0; }
.section--cream    { background: var(--cream); }
.section--blue     { background: var(--blue); }
.section--dark     { background: var(--charcoal); color: #fff; }
.section--charcoal { background: var(--charcoal-mid); color: #fff; }
.section--navy     { background: var(--navy); color: #fff; }

.sec-head { margin-bottom: 44px; }
.sec-head--center { text-align: center; }
.sec-head--center .sec-lead { margin-left: auto; margin-right: auto; }
.eyebrow { font-weight: 600; font-size: .75rem; text-transform: uppercase; letter-spacing: .2em; color: var(--orange); margin-bottom: 12px; }
.eyebrow--light { color: rgba(255,255,255,.7); }
.eyebrow--peach { color: var(--peach); }
.sec-title { font-size: clamp(2.4rem, 7vw, 4.5rem); line-height: .9; color: var(--charcoal); }
.sec-title--light { color: #fff; }
.sec-lead { font-weight: 500; max-width: 36rem; margin-top: 20px; color: rgba(26,26,26,.7); }
.sec-lead--light { color: rgba(255,255,255,.88); }
.sec-lead--muted { color: rgba(255,255,255,.66); }
.sec-note { margin-top: 14px; font-size: .9rem; font-weight: 600; color: rgba(26,26,26,.6); }
.body-copy { font-weight: 500; color: rgba(26,26,26,.72); margin-bottom: 16px; }
.body-copy--light { color: rgba(255,255,255,.74); }
.stars { color: #F5B82E; letter-spacing: .12em; }
.stars--lg { font-size: 1.7rem; margin-bottom: 10px; }
.center-link { text-align: center; margin-top: 28px; }
.center-link a { font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; letter-spacing: .04em; text-transform: uppercase; color: var(--blue); text-decoration: none; }
.center-link a:hover { text-decoration: underline; }

.card-lift { transition: transform .25s ease, box-shadow .25s ease; }
.card-lift:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(0,0,0,.12); }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ── Nav ─────────────────────────────────────────────────────────────────── */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background-color .35s, backdrop-filter .35s, box-shadow .35s; }
.nav--scrolled { background: rgba(26,26,26,.97); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 1px 0 rgba(255,255,255,.06); }
.nav__bar { display: flex; align-items: center; justify-content: space-between; padding-top: 10px; padding-bottom: 10px; }
.nav__logo img { height: 80px; width: auto; filter: drop-shadow(0 0 12px rgba(255,255,255,.15)); transition: height .3s; }
.nav--scrolled .nav__logo img { height: 60px; }
.nav__links { display: none; align-items: center; gap: 32px; }
.nav__links > a:not(.btn) { color: rgba(255,255,255,.78); text-decoration: none; font-weight: 600; font-size: .9rem; letter-spacing: .02em; }
.nav__links > a:not(.btn):hover { color: #fff; }
.nav__burger { display: flex; flex-direction: column; gap: 6px; background: none; border: 0; padding: 12px; cursor: pointer; }
.nav__burger span { display: block; width: 24px; height: 2px; background: #fff; transition: transform .3s, opacity .3s; }
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
.nav__drawer { background: rgba(26,26,26,.97); max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.nav__drawer.open { max-height: 320px; border-top: 1px solid rgba(255,255,255,.1); }
.nav__drawer-inner { display: flex; flex-direction: column; gap: 18px; padding-top: 20px; padding-bottom: 22px; }
.nav__drawer-inner > a:not(.btn) { color: rgba(255,255,255,.85); text-decoration: none; font-weight: 600; }
@media (min-width: 768px) {
  .nav__links { display: flex; }
  .nav__burger, .nav__drawer { display: none; }
  .nav__logo img { height: 112px; }
  .nav--scrolled .nav__logo img { height: 72px; }
}

/* ── Hero (video) ────────────────────────────────────────────────────────── */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; background: #111; color: #fff; }
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__video { width: 100%; height: 100%; object-fit: cover; object-position: center; background: #111; }
/* ADJUST ME: left-to-right darkening where the headline sits (first stop .55–.97) */
.hero__shade { position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(to top, rgba(18,18,18,.92) 0%, rgba(18,18,18,.65) 38%, rgba(18,18,18,.15) 70%, rgba(18,18,18,.35) 100%); }
.hero__fade { position: absolute; inset: auto 0 0 0; height: 8rem; z-index: 2; background: linear-gradient(to top, rgba(18,18,18,.6), transparent); }
.hero__accent { position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--orange); z-index: 60; }
.hero__copy { position: relative; z-index: 3; width: 100%; padding-top: 140px; padding-bottom: 56px; }
.hero__badge { display: inline-block; margin-bottom: 18px; padding: 6px 14px; border-radius: 999px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); color: #fff; font-size: .8rem; font-weight: 700; text-decoration: none; }
.hero__badge .stars { margin-right: 6px; letter-spacing: .05em; }
@media (max-width: 520px) {
  .hero__ctas .btn { flex: 1 1 100%; }
  .hero__copy { padding-bottom: 84px; }   /* clears the pause button */
}
.hero__title { font-size: clamp(3rem, 13vw, 6.5rem); line-height: .9; letter-spacing: -.01em; margin-bottom: 22px; text-shadow: 0 2px 24px rgba(0,0,0,.35); }
.hero__sub { max-width: 28rem; font-size: 1.05rem; font-weight: 500; line-height: 1.6; color: rgba(255,255,255,.86); margin-bottom: 34px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__toggle { position: absolute; right: 16px; bottom: 16px; z-index: 4; width: 44px; height: 44px; border-radius: 999px; border: 1px solid rgba(255,255,255,.35);
  background: rgba(0,0,0,.35); color: #fff; display: grid; place-items: center; cursor: pointer; }
.hero__toggle svg { width: 18px; height: 18px; fill: currentColor; }
.hero__toggle .i-play { display: none; }
.hero__toggle.paused .i-play { display: block; }
.hero__toggle.paused .i-pause { display: none; }
@media (min-width: 768px) {
  .hero__shade { background: linear-gradient(to right, rgba(18,18,18,.95) 0%, rgba(18,18,18,.82) 30%, rgba(18,18,18,.45) 55%, rgba(18,18,18,.1) 78%, rgba(18,18,18,0) 100%); }
  .hero__copy { padding-bottom: 72px; }
  .hero__toggle { right: 24px; bottom: 24px; }
}

/* ── Values ──────────────────────────────────────────────────────────────── */
.values { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 640px)  { .values { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .values { grid-template-columns: repeat(4, 1fr); } }
.value { position: relative; overflow: hidden; min-height: 320px; border-radius: var(--radius); background: var(--cream-dark); padding: 30px; display: flex; flex-direction: column; }
.value__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); opacity: .42; transition: transform .7s ease; }
.value:hover .value__img { transform: scale(1.05); }
.value__scrim { position: absolute; inset: 0; background: linear-gradient(to top, var(--cream) 18%, rgba(247,243,238,.85) 45%, rgba(247,243,238,.45) 72%, rgba(247,243,238,.15) 100%); }
.value__body { position: relative; display: flex; flex-direction: column; }
.value__num { font-family: var(--font-display); font-weight: 900; font-size: 3.5rem; line-height: 1; color: var(--orange); margin-bottom: 18px; }
.value__icon { font-size: 1.5rem; margin-bottom: 10px; }
.value__title { font-size: 1.9rem; line-height: .95; margin-bottom: 10px; }
.value p { font-size: .9rem; font-weight: 500; line-height: 1.6; color: rgba(26,26,26,.72); }

/* ── Skills ──────────────────────────────────────────────────────────────── */
.skills { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 22px 32px; max-width: 48rem; }
@media (min-width: 640px) { .skills { grid-template-columns: 1fr 1fr; } }
.skills__title { font-weight: 700; color: #fff; }
.skills__body { font-weight: 500; color: rgba(255,255,255,.8); }

/* ── Programs ────────────────────────────────────────────────────────────── */
.programs { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 768px) { .programs { grid-template-columns: 1fr 1fr; } }
.program { --pc: var(--charcoal); position: relative; overflow: hidden; min-height: 440px; border-radius: var(--radius); background: var(--pc); display: flex; flex-direction: column; }
.program__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.program:hover .program__img { transform: scale(1.05); }
.program__scrim { position: absolute; inset: 0; background: linear-gradient(to top, var(--pc) 8%, rgba(13,27,42,.85) 42%, rgba(13,27,42,.25) 72%, rgba(13,27,42,.05) 100%); }
.program__bar { position: absolute; inset: 0 0 auto 0; height: 6px; background: var(--pc); z-index: 2; }
.program__age-mark { position: absolute; top: 14px; right: 20px; z-index: 2; font-family: var(--font-display); font-weight: 900; font-size: clamp(3.5rem, 10vw, 5.5rem); line-height: 1; color: rgba(255, 255, 255, 0.44); opacity: 1; letter-spacing: -.01em; text-shadow: 0 2px 18px rgba(0,0,0,.55); pointer-events: none; }
.program__age-mark::before { content: 'Ages'; display: block; text-align: right; font-size: .9rem; letter-spacing: .2em; text-transform: uppercase; color: #fff; margin-bottom: 2px; }
.program__body { position: relative; flex: 1; display: flex; flex-direction: column; justify-content: flex-end; padding: 30px; }
.program__pill { align-self: flex-start; background: var(--orange); color: #fff; font-weight: 800; font-size: .85rem; text-transform: uppercase; letter-spacing: .18em; padding: 4px 12px; border-radius: 999px; margin-bottom: 8px; box-shadow: 0 0 0 1px rgba(255,255,255,.18); }
.program__name { font-size: clamp(1.8rem, 5vw, 2.6rem); line-height: .95; margin-bottom: 4px; }
.program__focus { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: rgba(255,255,255,.78); margin-bottom: 14px; }
.program__desc { font-size: .9rem; font-weight: 500; color: rgba(255,255,255,.9); margin-bottom: 18px; }
.program__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.program__tags span { font-size: .75rem; font-weight: 600; padding: 4px 12px; border-radius: 999px; background: rgba(255,255,255,.18); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.program__link { font-family: var(--font-display); font-weight: 800; font-size: 1.1rem; letter-spacing: .04em; color: #fff; text-decoration: none; display: inline-flex; gap: 8px; transition: gap .2s; min-height: 44px; align-items: center; }
.program__link:hover { gap: 14px; }

/* ── Offer + tiles ───────────────────────────────────────────────────────── */
.offer { background: var(--orange); color: #fff; border-radius: var(--radius); padding: 32px 28px; display: flex; flex-direction: column; gap: 22px; align-items: center; text-align: center; margin-bottom: 24px; }
.offer__title { font-size: clamp(1.8rem, 5vw, 2.6rem); line-height: .95; margin-bottom: 10px; }
.offer__body { font-weight: 600; color: rgba(255,255,255,.95); max-width: 36rem; }
.offer__detail { margin-top: 12px; display: inline-block; background: rgba(13,27,42,.25); padding: 8px 14px; border-radius: 10px; font-weight: 700; }
@media (min-width: 768px) { .offer { flex-direction: row; justify-content: space-between; text-align: left; padding: 40px; } .offer .btn { flex-shrink: 0; } }
.tiles { display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--line-light); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-light); }
@media (min-width: 640px)  { .tiles { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .tiles { grid-template-columns: repeat(3, 1fr); } }
.tile { background: #fff; padding: 28px; }
.tile__icon { font-size: 1.9rem; display: block; margin-bottom: 14px; }
.tile__title { font-size: 1.45rem; line-height: 1; margin-bottom: 8px; }
.tile p { font-size: .9rem; font-weight: 500; color: rgba(26,26,26,.65); }

/* ── Approach ────────────────────────────────────────────────────────────── */
.approach { display: grid; grid-template-columns: 1fr; gap: 32px; align-items: center; }
@media (min-width: 768px) { .approach { grid-template-columns: 1fr 1fr; } }
.approach__photo { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; }
.approach__photo img { width: 100%; height: 100%; object-fit: cover; }
.approach__photo figcaption { position: absolute; inset: auto 0 0 0; padding: 60px 24px 22px; background: linear-gradient(to top, rgba(26,26,26,.92), transparent); color: #fff; }
.approach__photo figcaption p { font-weight: 600; font-style: italic; font-size: .95rem; }
.approach__photo figcaption span { font-size: .75rem; color: rgba(255,255,255,.65); }
.approach .sec-title { font-size: clamp(2.2rem, 6vw, 3.8rem); margin-bottom: 22px; }
.approach__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; border-radius: 12px; overflow: hidden; margin-top: 26px; }
.approach__grid div { aspect-ratio: 1; overflow: hidden; }
.approach__grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.approach__grid img:hover { transform: scale(1.05); }

/* ── About ───────────────────────────────────────────────────────────────── */
.about { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; }
.about__mosaic { order: -1; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (min-width: 768px) { .about { grid-template-columns: 1fr 1fr; } .about__mosaic { order: 0; } }
.about .sec-title { margin-bottom: 22px; }
.about__mosaic { height: clamp(340px, 60vw, 460px); }
.about__tall { height: 100%; border-radius: var(--radius); overflow: hidden; }
.about__stack { min-height: 0; }
.about__stack div { min-height: 0; }
.about__stack { display: grid; grid-template-rows: 1fr 1fr; gap: 12px; }
.about__stack div { border-radius: var(--radius); overflow: hidden; }
.about__mosaic img { width: 100%; height: 100%; object-fit: cover; }
.about__team { display: flex; align-items: center; gap: 16px; margin-top: 30px; }
.about__avatar { width: 56px; height: 56px; border-radius: 999px; object-fit: cover; border: 2px solid var(--orange); flex-shrink: 0; }
.about__team-line { font-weight: 600; font-size: .9rem; color: #fff; }
.about__team-sub { font-size: .78rem; font-weight: 500; color: rgba(255,255,255,.5); }

/* ── Testimonials ────────────────────────────────────────────────────────── */
.quotes { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 700px)  { .quotes { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .quotes { grid-template-columns: repeat(3, 1fr); } }
.quote { margin: 0; background: #fff; border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; }
.quote__mark { font-family: Georgia, serif; font-size: 3.4rem; line-height: .7; color: var(--orange); margin-bottom: 8px; height: 28px; }
.quote blockquote { margin: 0 0 22px; flex: 1; font-size: .92rem; font-weight: 500; font-style: italic; line-height: 1.65; color: rgba(26,26,26,.78); }
.quote figcaption { display: flex; align-items: center; gap: 12px; border-top: 1px solid rgba(26,26,26,.08); padding-top: 18px; }
.quote__initials { width: 36px; height: 36px; border-radius: 999px; background: var(--blue); color: #fff; display: grid; place-items: center; font-family: var(--font-display); font-weight: 900; font-size: .8rem; flex-shrink: 0; }
.quote figcaption strong { display: block; font-size: .9rem; }
.quote figcaption small { display: block; font-size: .75rem; font-weight: 500; color: rgba(26,26,26,.5); }

/* ── Review links ────────────────────────────────────────────────────────── */
.review-links { display: grid; grid-template-columns: 1fr; gap: 16px; max-width: 42rem; margin: 0 auto; }
@media (min-width: 640px) { .review-links { grid-template-columns: 1fr 1fr; } }
.review-links a { display: flex; align-items: center; gap: 16px; padding: 20px; border-radius: var(--radius); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); color: #fff; text-decoration: none; font-weight: 700; font-size: .9rem; transition: transform .2s, background-color .2s; }
.review-links a:hover { transform: scale(1.02); background: rgba(255,255,255,.1); }
.review-links__icon { font-size: 1.5rem; }
.review-links__arrow { margin-left: auto; color: var(--orange); }

/* ── Forms ───────────────────────────────────────────────────────────────── */
.form { background: var(--charcoal-mid); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.form--bare { background: none; padding: 0; }
@media (min-width: 640px) { .form { padding: 32px; } .form--bare { padding: 0; } }
.form__row { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 560px) { .form__row { grid-template-columns: 1fr 1fr; } }
.field { display: block; border: 0; margin: 0; padding: 0; min-width: 0; }
.field > span, .field > legend { display: block; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: rgba(255,255,255,.55); margin-bottom: 6px; padding: 0; }
.field input, .field select, .field textarea { width: 100%; padding: 12px 16px; min-height: 46px; border-radius: 12px; font: 500 .95rem var(--font-body); background: var(--charcoal-input); color: #fff; border: 1.5px solid rgba(255,255,255,.1); transition: border-color .2s; }
.field textarea { resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: rgba(255,255,255,.38); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--orange); }
.field select { appearance: none; -webkit-appearance: none; 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' stroke='%23fff' stroke-width='2' fill='none' opacity='.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.field.invalid input, .field.invalid select, .chips.invalid .chip span { border-color: #ff7b7b; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips > legend { width: 100%; margin-bottom: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 16px; border-radius: 999px; font-weight: 700; font-size: .875rem; background: var(--charcoal-input); color: #fff; border: 1.5px solid rgba(255,255,255,.1); transition: background-color .15s, border-color .15s; user-select: none; }
.chip input:checked + span { background: var(--orange); border-color: var(--orange); }
.chip input:focus-visible + span { outline: 3px solid var(--peach); outline-offset: 2px; }
.form__status { min-height: 1.2em; font-weight: 600; font-size: .9rem; color: #ffb4a0; }
.form__status:empty { display: none; }
.form__micro { text-align: center; font-size: .78rem; font-weight: 500; color: rgba(255,255,255,.4); }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.invited { display: flex; align-items: center; gap: 16px; background: var(--blue); border: 1px solid rgba(255,255,255,.18); border-radius: var(--radius); padding: 20px; margin-bottom: 24px; }
.invited__icon { font-size: 2rem; }
.invited__title { font-family: var(--font-display); font-weight: 900; text-transform: uppercase; font-size: 1.3rem; line-height: 1; }
.invited__body { font-size: .9rem; font-weight: 500; color: rgba(255,255,255,.88); margin-top: 4px; }
.invited__body strong { color: var(--peach); }
.notice { border-radius: 12px; padding: 14px 18px; margin-bottom: 20px; font-weight: 600; }
.notice--ok { background: rgba(27,117,188,.25); }
.notice--err { background: rgba(255,90,90,.2); }

.success { background: var(--charcoal-mid); border-radius: var(--radius); padding: 36px 24px; text-align: center; outline: none; }
.success__emoji { font-size: 3rem; margin-bottom: 12px; }
.success__title { font-size: 2.2rem; margin-bottom: 12px; }
.success__body { color: rgba(255,255,255,.7); font-weight: 500; margin-bottom: 24px; }
.success__body strong { color: var(--peach); }
.success__actions .btn { font-size: 1rem; padding: 10px 20px; }
.success__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-bottom: 28px; }
.upsell { background: var(--orange); border-radius: var(--radius); padding: 26px; text-align: left; }
.upsell__title { font-family: var(--font-display); font-weight: 900; text-transform: uppercase; font-size: clamp(1.5rem, 5vw, 2rem); line-height: 1; margin-bottom: 8px; }
.upsell__body { font-weight: 600; font-size: .92rem; color: rgba(255,255,255,.94); margin-bottom: 20px; }

/* ── Invite page ─────────────────────────────────────────────────────────── */
.page-invite { background: var(--charcoal); color: #fff; }
.invite { padding: 130px 0 60px; }
.back-link { display: inline-block; margin-bottom: 26px; color: rgba(255,255,255,.6); font-weight: 600; font-size: .9rem; text-decoration: none; }
.back-link:hover { color: #fff; }
.invite .sec-title { margin-bottom: 4px; }
.invite .sec-lead { margin-bottom: 30px; }
.invite .sec-lead strong { color: #fff; }
.carried { background: var(--charcoal-mid); border-radius: var(--radius); padding: 20px; margin-bottom: 28px; }
.carried__label { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: rgba(255,255,255,.5); margin-bottom: 10px; }
.carried dl { margin: 0; display: grid; gap: 6px; }
.carried dl div { display: flex; justify-content: space-between; gap: 16px; }
.carried dt { color: rgba(255,255,255,.55); font-size: .9rem; }
.carried dd { margin: 0; font-weight: 600; font-size: .9rem; text-align: right; }
.carried .code { color: var(--peach); letter-spacing: .04em; }
.friend { background: var(--charcoal-mid); border: 0; border-radius: var(--radius); padding: 20px; margin: 0 0 16px; display: flex; flex-direction: column; gap: 14px; }
.friend > legend { float: left; width: 100%; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: rgba(255,255,255,.55); margin-bottom: 4px; padding: 0; }
.friend__help { font-size: .88rem; color: rgba(255,255,255,.65); }
.add-friend { align-self: flex-start; background: none; border: 0; color: var(--orange); font-weight: 700; padding: 10px 0; cursor: pointer; min-height: 44px; }
.add-friend[hidden] { display: none; }
.linkbox { background: var(--charcoal); border: 1px solid rgba(255,255,255,.12); border-radius: 12px; padding: 16px; text-align: left; margin-bottom: 24px; }
.linkbox__label { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: rgba(255,255,255,.5); margin-bottom: 6px; }
.linkbox__url { font-size: .8rem; color: var(--peach); word-break: break-all; margin-bottom: 10px; }

/* ── Footer ──────────────────────────────────────────────────────────────── */
.footer { background: #111; border-top: 1px solid rgba(255,255,255,.07); color: rgba(255,255,255,.5); padding: 40px 0 28px; }
.footer__top { display: flex; flex-direction: column; gap: 28px; }
@media (min-width: 768px) { .footer__top { flex-direction: row; justify-content: space-between; align-items: center; } }
.footer__logo { height: 64px; width: auto; margin-bottom: 12px; }
.footer__note { font-size: .8rem; font-weight: 500; max-width: 20rem; color: rgba(255,255,255,.45); }
.footer__contact { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: .9rem; font-weight: 500; }
.footer__contact a { text-decoration: none; display: inline-flex; gap: 8px; min-height: 32px; align-items: center; }
.footer__contact a:hover { color: #fff; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin-top: 28px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.07); font-size: .75rem; color: rgba(255,255,255,.35); }

/* ── Motion + a11y floor ─────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
