/* =========================================================
   S3 Programs — Cleaned & Consolidated
   ========================================================= */

/* ---------- Global tokens ---------- */
:root{
  --blue: #27B0FF;
  --text: #FFFFFF;
  --muted:#cfd8dc;

  --panel: rgba(0,0,0,.82);
  --panel-border: rgba(255,255,255,.06);
  --panel-glow: rgba(39,176,255,.16);

  /* Academy & 3×3 use the same logo sizing */
  --logo-ratio: 0.285;      /* height = width * ratio */
  --logo-w:     380px;      /* desktop */
  --logo-gap:     18px;
  --logo-w-m:   240px;      /* mobile/tablet */
  --logo-gap-m:   14px;

  /* update these paths to your files if needed */
  --logo-academy: url("Images/s3\ academy\ logo\ cut.png");
  --logo-3x3:     url("Images/S3\ 3x3\ cropped.png");
  --logo-1on1:    url("Images/s3\ logo\ transparent\ cropped.png");
}

/* ---------- Page wrapper ---------- */
.programs-page{
  max-width: clamp(1100px, 92vw, 1440px);
  margin: 0 auto;
  padding: 24px;
  color: var(--text);
  font-family: Montserrat, system-ui, Arial, sans-serif;
}

/* ---------- Hero ---------- */
.programs-page .pg-hero h1{
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .5px;
  font-size: clamp(32px, 5vw, 62px);
  margin: 0 0 6px;
  text-align: center;
}
.programs-page .pg-hero p{
  color: var(--muted);
  text-align: center;
  margin: 0 0 26px;
  font-size: clamp(15px, 1.2vw, 18px);
}
@media (min-width:1024px){
  .programs-page .pg-hero h1,
  .programs-page .pg-hero p{ text-align:left; margin-left:40px; }
}

/* ---------- Anchor pills ---------- */
.programs-page .pg-pills{
  display:flex; flex-wrap:wrap; gap:10px; justify-content:center; margin-bottom:18px;
}
.programs-page .pg-pills .pill{
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.35);
  background: rgba(255,255,255,.06);
  color: #fff;
  backdrop-filter: blur(4px);
  text-decoration: none;
  transition: transform .12s ease, filter .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.programs-page .pg-pills .pill:hover{ transform: translateY(-1px); filter: brightness(1.05); border-color:#fff; }

/* Academy pills */
.programs-page .pg-pills a[href="#u10"],
.programs-page .pg-pills a[href="#u12"],
.programs-page .pg-pills a[href="#u14"],
.programs-page .pg-pills a[href="#u16"]{
  background: linear-gradient(135deg,#16B8FF 0%, #00AEEF 100%);
  color:#001a22; border:none;
  box-shadow: 0 10px 22px rgba(0,174,239,.35), inset 0 0 0 1px rgba(255,255,255,.35);
}

/* Non-academy pills */
.programs-page .pg-pills a[href="#three-by-three"],
.programs-page .pg-pills a[href="#one-on-one"]{
  background: linear-gradient(135deg,#7F00FF 0%, #E100FF 100%);
  color:#fff; border:none; text-shadow: 0 1px 0 rgba(0,0,0,.25);
  box-shadow: 0 10px 22px rgba(127,0,255,.32);
}

/* ---------- Section heads ---------- */
.programs-page .pg-section{ margin: 34px 0; scroll-margin-top: 100px; }
.programs-page .pg-head{ display:flex; align-items:center; gap:12px; margin-bottom:12px; }
.programs-page .pg-head h2{ font-weight:800; font-size: clamp(22px, 2.6vw, 36px); margin:0; }
.programs-page .age-tag{
  display:inline-block; padding:6px 12px; border-radius:999px;
  background:var(--blue); color:#fff; font-weight:800; font-size:13px;
}

/* ---------- Grid ---------- */
.programs-page .pg-grid{ display:grid; gap:22px; align-items:stretch; }

/* 2×2 academy tiles on desktop, single column on mobile */
.programs-page .pg-grid.tiles{
  grid-template-columns: repeat(2, minmax(560px, 1fr));
  column-gap: clamp(22px, 2vw, 28px);
  row-gap: 34px;
}
@media (max-width:960px){
  .programs-page .pg-grid.tiles{ grid-template-columns: 1fr; }
}

/* =========================================================
   Glossy Panel (Academy tiles)
   ========================================================= */
.programs-page .program-tile{
  position: relative;
  display:flex; flex-direction:column;
  min-height: 320px;
  line-height: 1.55;

  /* reserve space on right for logo */
  padding: 34px calc(var(--logo-w) + var(--logo-gap)) 34px 32px;

  border-radius: 26px;
  background:
    radial-gradient(1000px 360px at 85% 20%, rgba(39,176,255,.14), transparent 60%),
    var(--panel);
  border: 1px solid var(--panel-border);
  box-shadow: 0 28px 70px rgba(0,0,0,.55);
  backdrop-filter: blur(6px);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  overflow: hidden;
}
.programs-page .program-tile:hover{
  transform: translateY(-3px);
  border-color: rgba(255,255,255,.12);
  box-shadow: 0 36px 90px rgba(0,0,0,.60), inset 0 10px 24px rgba(39,176,255,.16);
}
/* subtle left glow */
.programs-page .program-tile::before{
  content:""; position:absolute; inset:0; pointer-events:none;
  background: linear-gradient(90deg, var(--panel-glow), transparent 25%);
  mix-blend-mode: screen; opacity:.35;
}
/* academy logo on right */
.programs-page .program-tile::after{
  content:""; position:absolute;
  right: var(--logo-gap); top: 50%; transform: translateY(-50%);
  width: var(--logo-w); height: calc(var(--logo-w) * var(--logo-ratio));
  background-image: var(--logo-academy);
  background-repeat:no-repeat; background-size:contain; background-position:right center;
  opacity:.95; filter: drop-shadow(0 6px 18px rgba(0,0,0,.55));
  pointer-events:none;
}
@media (max-width:960px){
  .programs-page .program-tile{ padding-right: calc(var(--logo-w-m) + var(--logo-gap-m)); }
  .programs-page .program-tile::after{
    right: var(--logo-gap-m);
    width: var(--logo-w-m); height: calc(var(--logo-w-m) * var(--logo-ratio));
  }
}

/* inner spacing elements (if you use them) */
.programs-page .program-tile .tile-head{
  display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:12px;
}
.programs-page .program-tile h3{ margin:0; font-weight:800; font-size: clamp(20px,1.9vw,26px); }
.programs-page .program-tile .tile-meta{ margin:6px 0 12px; padding-left:18px; }
.programs-page .program-tile .tile-meta li{ margin:4px 0; }
.programs-page .program-tile .tile-meta li::marker{ color:#27B0FF; }
.programs-page .program-tile .tile-copy{ margin:0 0 16px; opacity:.92; }
.programs-page .program-tile .tile-cta{ margin-top:auto; display:flex; gap:10px; flex-wrap:wrap; }

/* hide any inline logos inside cards (we draw them with ::after) */
.programs-page .program-tile .logos,
.programs-page #three-by-three .program-card .logos,
.programs-page #one-on-one .program-card .logos{ display:none; }

/* =========================================================
   3×3 & 1-on-1 Panels (single-column cards, same glossy style)
   ========================================================= */
.programs-page #three-by-three .pg-grid,
.programs-page #one-on-one   .pg-grid{
  grid-template-columns: 1fr;
}

/* shared base look */
.programs-page #three-by-three .program-card,
.programs-page #one-on-one   .program-card{
  position:relative;
  width:100%;
  max-width: min(1720px, 86vw);   /* wide, thin card */
  margin: 0 auto;

  min-height: 260px;
  line-height: 1.55;
  border-radius: 26px;

  /* reserve space on right for logo (same as Academy) */
  padding: clamp(20px, 2.2vw, 36px);
  padding-right: calc(var(--logo-w) + var(--logo-gap));

  background:
    radial-gradient(1000px 360px at 85% 20%, rgba(39,176,255,.14), transparent 60%),
    var(--panel);
  border: 1px solid var(--panel-border);
  box-shadow: 0 28px 70px rgba(0,0,0,.55);
  backdrop-filter: blur(6px);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.programs-page #three-by-three .program-card:hover,
.programs-page #one-on-one   .program-card:hover{
  transform: translateY(-3px);
  border-color: rgba(255,255,255,.12);
  box-shadow: 0 36px 90px rgba(0,0,0,.60), inset 0 10px 24px rgba(39,176,255,.16);
}
/* left glow */
.programs-page #three-by-three .program-card::before,
.programs-page #one-on-one   .program-card::before{
  content:""; position:absolute; inset:0; pointer-events:none;
  background: linear-gradient(90deg, var(--panel-glow), transparent 25%);
  mix-blend-mode: screen; opacity:.35;
}

/* their logos — same size as Academy */
.programs-page #three-by-three .program-card::after,
.programs-page #one-on-one   .program-card::after{
  content:""; position:absolute;
  right: var(--logo-gap); top: 50%; transform: translateY(-50%);
  width: var(--logo-w); height: calc(var(--logo-w) * var(--logo-ratio));
  background-repeat:no-repeat; background-size:contain; background-position:right center;
  opacity:.95; filter: drop-shadow(0 6px 18px rgba(0,0,0,.55));
  pointer-events:none;
}
.programs-page #three-by-three .program-card::after{ background-image: var(--logo-3x3); }
.programs-page #one-on-one   .program-card::after{ background-image: var(--logo-1on1); }

@media (max-width:960px){
  .programs-page #three-by-three .program-card,
  .programs-page #one-on-one   .program-card{
    max-width: 94vw;
    padding-right: calc(var(--logo-w-m) + var(--logo-gap-m));
  }
  .programs-page #three-by-three .program-card::after,
  .programs-page #one-on-one   .program-card::after{
    right: var(--logo-gap-m);
    width: var(--logo-w-m); height: calc(var(--logo-w-m) * var(--logo-ratio));
  }
}

/* =========================================================
   Buttons / CTAs
   ========================================================= */
.programs-page .btn{
  background:var(--blue); border:1px solid var(--blue);
  color:#fff; font-weight:800; border-radius:14px; padding:12px 16px;
  text-decoration:none; display:inline-flex; align-items:center; justify-content:center;
  transition:filter .2s ease, transform .1s ease;
}
.programs-page .btn:hover{ filter:brightness(1.08); }
.programs-page .btn:active{ transform:translateY(1px); }
.programs-page .btn--outline{ background:transparent; border-color:rgba(255,255,255,.4); color:#fff; }
.programs-page .btn--outline:hover{ border-color:#fff; }
.programs-page .card-cta{ display:flex; gap:10px; flex-wrap:wrap; margin-top:auto; padding-top:6px; }

/* Optional: ensure unordered lists inside cards look neat */
.programs-page ul{ padding-left: 20px; }
.programs-page li{ margin: 4px 0; }

:root{
  --blue: #27B0FF;                /* brand */
  --footer-bg: rgba(0,0,0,.70);   /* glassy backdrop */
  --footer-border: rgba(255,255,255,.10);
  --footer-text: #e6f0f5;
  --footer-muted: #b7c4cc;
}

/* FOOTER */
:root{
  --footer-border: rgba(255,255,255,.10);
}

.s3-footer-min{
  margin-top: clamp(36px, 6vw, 64px);
  padding: 14px 0 8px;
  border-top: 1px solid var(--footer-border);
  background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,.18));
}

.s3f-inner{
  max-width: clamp(1100px, 92vw, 1440px);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.s3f-brand img{
  height: 38px;
  width: auto;
  opacity: .95;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,.45));
}

.s3f-tag{
  color: #fff;
  font-weight: 800;
  letter-spacing: .2px;
  opacity: .92;
  text-align: center;
  margin: 0;
}

.s3f-social{
  display: flex;
  gap: 12px;
}
.s3f-social .social{
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 999px;
  color: #fff;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(4px);
  transition: transform .15s ease, border-color .15s ease, background .2s ease;
}
.s3f-social .social svg{ width: 20px; height: 20px; fill: currentColor; }
.s3f-social .social:hover{
  transform: translateY(-2px);
  border-color: rgba(255,255,255,.35);
  background: radial-gradient(600px 220px at 80% 20%, rgba(39,176,255,.22), rgba(255,255,255,.08));
}

.s3f-legal{
  text-align: center;
  color: rgba(255,255,255,.65);
  font-size: .95rem;
  margin-top: 6px;
}

/* Stack neatly on small screens */
@media (max-width: 780px){
  .s3f-inner{
    flex-direction: column;
  }
  .s3f-tag{ order: 3; margin-top: 6px; font-size: 1rem; }
}


/* -------------------------
   MOBILE POLISH (<= 640px)
   ------------------------- */
@media (max-width: 640px){

  /* Container */
  .programs-page{
    padding-left: 14px;
    padding-right: 14px;
    max-width: 100%;
  }

  /* Hero */
  .programs-page .pg-hero h1{
    font-size: clamp(28px, 8vw, 40px);
    line-height: 1.05;
    margin-bottom: 8px;
    text-align: left;
    margin-left: 0;
  }
  .programs-page .pg-hero p{
    font-size: 15.5px;
    line-height: 1.45;
    margin-bottom: 14px;
    text-align: left;
    margin-left: 0;
  }

  /* Pills: swipeable row, bigger tap targets */
  .programs-page .pg-pills{
    margin: 8px -10px 18px;
    padding: 0 10px;
    gap: 10px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
  }
  .programs-page .pg-pills .pill{
    scroll-snap-align: start;
    padding: 12px 18px;
    font-weight: 800;
    border-radius: 999px;
    white-space: nowrap;
  }

  /* Grid: single column, tighter gaps */
  .programs-page .pg-grid,
  .programs-page .pg-grid.tiles{
    grid-template-columns: 1fr !important;
    row-gap: 18px;
    column-gap: 0;
  }

  /* Panels / tiles */
  .programs-page .program-tile,
  .programs-page #three-by-three .program-card,
  .programs-page #one-on-one .program-card{
    border-radius: 18px;
    padding: 18px 16px 72px; /* bottom space for the logo */
    min-height: 0;
    box-shadow: 0 18px 40px rgba(0,0,0,.45);
    line-height: 1.45;
  }

  /* Headings inside cards */
  .programs-page .program-tile h3,
  .programs-page #three-by-three .program-card h3,
  .programs-page #one-on-one .program-card h3{
    font-size: clamp(18px, 5.2vw, 22px);
    margin-bottom: 6px;
  }

  /* Age badge: smaller & snug */
  .programs-page .age-tag{
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 999px;
  }

  /* Meta list spacing */
  .programs-page .card-meta,
  .programs-page .program-tile .tile-meta{
    margin: 6px 0 10px;
    padding-left: 18px;
  }
  .programs-page .card-meta li,
  .programs-page .program-tile .tile-meta li{ margin: 4px 0; }

  /* Logo placement: bottom-right, fixed size */
  /* Academy tiles */
  .programs-page .program-tile{
    padding-right: 16px; /* remove text-reserved space on mobile */
  }
  .programs-page .program-tile::after{
    width: 140px !important;
    height: calc(140px * var(--tile-logo-ratio, .285)) !important;
    right: 14px !important;
    bottom: 14px !important;
    top: auto !important;
    transform: none !important;
    background-position: right bottom !important;
    opacity: .95;
  }

  /* 3×3 + 1-on-1 cards: same idea */
  .programs-page #three-by-three .program-card,
  .programs-page #one-on-one .program-card{
    padding-right: 16px !important;
  }
  .programs-page #three-by-three .program-card::after,
  .programs-page #one-on-one .program-card::after{
    width: 140px !important;
    height: calc(140px * var(--tile-logo-ratio, .285)) !important;
    right: 14px !important;
    bottom: 14px !important;
    top: auto !important;
    transform: none !important;
    background-position: right bottom !important;
  }

  /* CTAs: full-width primary, tidy secondary */
  .programs-page .card-cta{
    padding: 10px 0 0;
    gap: 10px;
  }
  .programs-page .btn{
    width: 100%;
    justify-content: center;
    padding: 14px 16px;
    font-size: 16px;
  }
  .programs-page .btn.btn--outline{
    background: transparent;
    width: auto;         /* keep secondary shorter */
    padding: 12px 16px;
  }

  /* Section heading */
  .programs-page .pg-head h2{
    font-size: clamp(20px, 6vw, 24px);
  }

  /* Footer (slimmer) */
  .site-footer{
    padding: 12px 0 22px;
  }
  .site-footer__brand img{ height: 22px; }
  .site-footer__tag{ font-size: 14px; margin-top: 10px; }
  .site-footer__icons .icon-btn{ width: 42px; height: 42px; }
}

/* Keep header clickable & on top */
.navbar{ position: sticky; top: 0; z-index: 10000; }

/* Prevent background scroll when menu is open */
.no-scroll{ overflow: hidden; }

/* Hamburger bars (you can keep your existing styles too) */
.hamburger{ width:40px; height:40px; align-items:center; justify-content:center; cursor:pointer; z-index:10001; }
.hamburger span{ display:block; width:22px; height:2px; background:#fff; margin:3px 0; border-radius:2px; transition:transform .15s ease, opacity .15s ease; }
.hamburger.is-open span:nth-child(1){ transform: translateY(5px) rotate(45deg); }
.hamburger.is-open span:nth-child(2){ opacity:0; }
.hamburger.is-open span:nth-child(3){ transform: translateY(-5px) rotate(-45deg); }



/* Smooth anchor jump + header offset */
html{ scroll-behavior:smooth; }
[id]{ scroll-margin-top: 84px; }

/* Keep age pills on one line and prevent flex-shrink */
.programs-page .age-tag{
  white-space: nowrap;   /* don’t wrap inside the pill */
  flex: 0 0 auto;        /* don't let flexbox shrink it */
  line-height: 1;        /* tidy vertical fit */
  padding: 8px 14px;     /* a touch more breathing room */
}

/* Make the header row behave nicely */
.programs-page .program-tile .tile-head{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: nowrap;     /* keep h3 + pill on one line as long as possible */
}

/* Allow the title to take remaining space without forcing the pill to wrap */
.programs-page .program-tile .tile-head h3{
  margin: 0;
  flex: 1 1 auto;
  min-width: 0;          /* lets the title wrap first, not the pill */
}

/* Do the same idea for section header pills (e.g., “All levels”, “By appointment”) */
.programs-page .pg-head .age-tag{ 
  white-space: nowrap; 
  flex: 0 0 auto; 
}

/* And (optional) ensure hero anchor pills never break words either */
.programs-page .pg-pills .pill{
  white-space: nowrap;
}


/* ===== Hero pills: pop upgrade ===== */
.programs-page .pg-pills { gap: 14px; }

.programs-page .pg-pills .pill{
  position: relative;
  padding: 14px 26px;                 /* a touch larger */
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: .2px;
  border: none;
  color: #fff;
  box-shadow:
    0 8px 24px rgba(0,0,0,.35),
    inset 0 0 0 1px rgba(255,255,255,.25);   /* thin glass edge */
  backdrop-filter: blur(6px);
  transition: transform .12s ease, box-shadow .2s ease, filter .2s ease;
}

/* soft specular highlight */
.programs-page .pg-pills .pill::before{
  content:"";
  position:absolute; inset:0; border-radius:inherit;
  background: radial-gradient(120% 100% at 10% 0%, rgba(255,255,255,.28) 0%, transparent 55%);
  pointer-events:none; mix-blend-mode: screen;
}

.programs-page .pg-pills .pill:hover{
  transform: translateY(-2px) scale(1.03);
  filter: saturate(1.12) brightness(1.05);
  box-shadow:
    0 14px 36px rgba(0,0,0,.45),
    inset 0 0 0 2px rgba(255,255,255,.35);
}

.programs-page .pg-pills .pill:active{
  transform: translateY(0) scale(.99);
}

/* clear, accessible focus ring */
.programs-page .pg-pills .pill:focus-visible{
  outline: none;
  box-shadow:
    0 0 0 3px rgba(255,255,255,.75),
    0 0 0 7px rgba(39,176,255,.45);
}



/* prevent background scroll when menu open (if you toggle .no-scroll) */
body.no-scroll{ overflow: hidden; }

/* Programs page — force the menu to open when JS toggles it */
@media (max-width:900px){
  .navbar.mobile-active .nav-links,
  .nav-links.active,
  .nav-links.open{
    display:flex !important;
    opacity:1 !important;
    transform:none !important;
    pointer-events:auto !important;
  }
}

/* 1) Free up width: reserve less space for the right logo on these cards */
.programs-page .program-tile,
.programs-page #three-by-three .program-card,
.programs-page #one-on-one .program-card{
  --logo-w: 280px;   /* was 380px — try 280–320 to taste */
  --logo-gap: 16px;  /* a touch tighter */
}

/* 2) Let the title span wider (and let the pill drop below if needed) */
.programs-page .program-tile .tile-head{
  flex-wrap: wrap;     /* allow wrap instead of forcing one line */
  row-gap: 6px;
}
.programs-page .program-tile .tile-head h3{
  flex: 1 1 100%;      /* title can take the full row */
  min-width: 0;
}

/* Price block layout inside the bullet list */
.programs-page .price-line { margin: 6px 0 10px; }
.programs-page .price-line strong { margin-right: 6px; }

.programs-page .price-note{
  display: block;
  color: var(--muted);
  font-weight: 500;              /* not bold */
  margin-top: 2px;
}

.programs-page .price-row{
  display: block;
  margin-top: 2px;
  font-weight: 800;              /* price stands out */
}
.programs-page .price-row .detail{
  color: var(--muted);
  font-weight: 600;
}

/* Two registration buttons: Boys (blue) + Girls (purple/pink) */
.programs-page .card-cta{
  display:flex; gap:12px; flex-wrap:wrap;
}

/* make them sit nicely side-by-side and stack on small screens */
.programs-page .card-cta .btn{
  flex: 1 1 220px;              /* equal widths when there’s room */
  justify-content:center;
}

/* Boys – blue gradient */
.programs-page .btn-boy{
  background: linear-gradient(135deg,#16B8FF 0%, #00AEEF 100%);
  border: none;
  color:#fff;
  text-shadow: 0 1px 0 rgba(0,0,0,.18);
  box-shadow: 0 10px 22px rgba(0,174,239,.35), inset 0 0 0 1px rgba(255,255,255,.25);
}

/* Girls – purple/pink gradient (matches your hero pills) */
.programs-page .btn-girl{
  background: linear-gradient(135deg,#7F00FF 0%, #E100FF 100%);
  border: none;
  color:#fff;
  text-shadow: 0 1px 0 rgba(0,0,0,.25);
  box-shadow: 0 10px 22px rgba(127,0,255,.32), inset 0 0 0 1px rgba(255,255,255,.25);
}

/* Blended boys+girls style for U10 */
.btn.btn-blend {
  /* override the base .btn background */
  background: linear-gradient(135deg, #16B8FF 0%, #00AEEF 45%, #E100FF 100%);
  border: none;
  color: #fff;
  text-shadow: 0 1px 0 rgba(0,0,0,.22);
  /* subtle combo of both button shadows */
  box-shadow:
    0 10px 22px rgba(0,174,239,.30),
    0 10px 22px rgba(127,0,255,.18),
    inset 0 0 0 1px rgba(255,255,255,.25);
}

/* optional: a tiny sheen on hover */
.btn.btn-blend:hover {
  filter: brightness(1.05);
}


/* Hover/active polish (uses your existing .btn transitions) */
.programs-page .btn-boy:hover,
.programs-page .btn-girl:hover{
  filter: brightness(1.06) saturate(1.08);
  transform: translateY(-1px);
}
.programs-page .btn-boy:active,
.programs-page .btn-girl:active{
  transform: translateY(0);
}

/* Mobile: full-width buttons */
@media (max-width: 640px){
  .programs-page .card-cta .btn{ flex: 1 1 100%; }
}

/* Side-by-side CTAs and not so wide (desktop/tablet) */
@media (min-width: 641px){
  .programs-page .card-cta{
    display: flex;
    gap: 12px;
    flex-wrap: nowrap;           /* keep them on one line */
    justify-content: flex-start;
  }
  .programs-page .card-cta .btn{
    flex: 0 0 260px;             /* button width; try 240–280px */
    width: 260px;                /* prevents “auto” from stretching */
    justify-content: center;
  }
}

/* Keep stacking full-width on small screens */
@media (max-width: 640px){
  .programs-page .card-cta .btn{
    flex: 1 1 100%;
    width: 100%;
  }
}

/* 1-on-1 card: hero-style layout */
.programs-page #one-on-one .program-card{
  display: grid;
  place-items: center;
  text-align: center;
  padding: clamp(28px, 6vw, 72px) !important;
  min-height: 360px;
  /* don't reserve space on the right and hide the big logo */
  padding-right: clamp(28px, 6vw, 72px) !important;
}
.programs-page #one-on-one .program-card::after{ display: none !important; }

/* Hide any old bullet list/details if still present */
.programs-page #one-on-one .program-card .tile-meta{ display: none !important; }

/* Title + sub */
.programs-page #one-on-one .oo-title{
  margin: 0 0 10px;
  font-weight: 900;
  font-size: clamp(32px, 5.5vw, 64px);
  line-height: 1.08;
  color: var(--blue);
}
.programs-page #one-on-one .oo-title span{
  color: #fff;           /* “with Jaimee” in white */
}

/* subtle divider under title */
.programs-page #one-on-one .oo-title::after{
  content:"";
  display:block;
  width: 68px;
  height: 3px;
  margin: 12px auto 14px;
  background: var(--blue);
  border-radius: 3px;
}

.programs-page #one-on-one .oo-sub{
  max-width: 60ch;
  margin: 0 0 18px;
  color: var(--muted);
  font-size: clamp(16px, 1.6vw, 22px);
}

/* Center the single CTA */
.programs-page #one-on-one .card-cta{ justify-content: center; }

/* Mobile polish */
@media (max-width:640px){
  .programs-page #one-on-one .program-card{ padding: 22px 16px 28px !important; }
}

/* Center the entire 1-on-1 card content exactly in the middle */
.programs-page #one-on-one .program-card{
  display: flex;                 /* treat the content as one column */
  flex-direction: column;
  align-items: center;           /* horizontal centering */
  justify-content: center;       /* vertical centering */
  text-align: center;

  min-height: 420px;             /* adjust to taste (380–520px) */
  padding: clamp(28px, 6vw, 72px) !important;
  padding-right: clamp(28px, 6vw, 72px) !important; /* no right reserve */
}
.programs-page #one-on-one .program-card::after{ display:none !important; } /* hide right logo */

.programs-page #one-on-one .oo-title{ 
  margin: 0 0 10px; 
  line-height: 1.06;
}
.programs-page #one-on-one .oo-sub{
  max-width: 60ch;               /* pleasant line length */
  margin: 0 auto 18px;           /* keep it centered */
  color: var(--muted);
}
.programs-page #one-on-one .card-cta{ justify-content: center; }

/* Small gap between the blurb and the cards grid */
.programs-page .pg-section .pg-grid{
  margin-top: 26px !important;   /* adjust 12–24px */
}

/* 3x3 card extras */
.card-cta {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 18px;
}

@media (max-width: 900px) {
  .card-cta { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .card-cta { grid-template-columns: 1fr; }
}

.card-info {
  margin-top: 16px;
  display: grid;
  gap: 10px;
}

.card-info details {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 12px 14px;
}

.card-info summary {
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  outline: none;
}
.card-info summary::-webkit-details-marker { display: none; }

.card-info details[open] {
  background: rgba(255,255,255,0.07);
}

.card-info .compact {
  margin: 10px 0 0;
  padding-left: 18px;
}
.card-info p.compact { padding-left: 0; margin: 10px 0 0; }

.card-info summary {
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  outline: none;
  position: relative;
  padding-right: 20px;
}

.card-info summary::after {
  content: "▼";
  position: absolute;
  right: 0;
  transition: transform 0.2s;
}

.card-info details[open] summary::after {
  transform: rotate(180deg);
}

.hint {
  font-weight: 400;
  font-size: 0.85em;
  opacity: 0.7;
  margin-left: 4px;
}

/* --- 3x3 Key Info --- */
.card-info { margin-top: 18px; display: grid; gap: 12px; }
.card-info .info-title {
  font-size: 1rem; font-weight: 800; letter-spacing: .3px;
  opacity: .95; margin: 2px 0 2px 2px;
}

/* Remove default marker */
.card-info summary::-webkit-details-marker { display: none; }

/* Accordion row */
.acc summary {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding: 14px 16px;
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.04));
  border: 1px solid rgba(255,255,255,.10);
  border-left: 4px solid #3BB3FF;           /* accent strip to tie to your blue */
  border-radius: 12px;
  cursor: pointer; user-select: none;
  transition: transform .08s ease, box-shadow .2s ease, background .2s ease;
}
.acc summary:hover {
  background: rgba(255,255,255,.08);
  box-shadow: 0 6px 20px rgba(0,0,0,.25);
}
.acc summary:active { transform: translateY(1px); }

.acc[open] summary {
  background: rgba(255,255,255,.10);
  border-color: rgba(255,255,255,.14);
}

/* Chevron icon on the right */
.acc .chev { width: 22px; height: 22px; flex: 0 0 22px; opacity: .85; transition: transform .2s ease; fill: none; stroke: currentColor; stroke-width: 2.4; }
.acc[open] .chev { transform: rotate(180deg); }

/* Body content */
.acc > *:not(summary) { padding: 12px 16px 14px 16px; }
.card-info .compact { margin: 8px 0 0; padding-left: 18px; }
.card-info p.compact { padding-left: 0; margin: 10px 0 0; }

/* Make the group feel intentional */
.card-info .acc { border-radius: 14px; overflow: hidden; }

.chips-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 6px; }
.chip {
  font-weight: 700; font-size: .9rem;
  padding: 8px 12px; border-radius: 999px;
  background: rgba(59,179,255,.18); border: 1px solid rgba(59,179,255,.35);
  backdrop-filter: blur(2px);
}

.acc summary {
  background: rgba(255,255,255,.05);
  border-left: 4px solid #3BB3FF;
}

.acc summary {
  justify-content: space-between;
}
.acc .chev {
  margin-left: auto;
  stroke: #fff;
  opacity: .7;
}
.acc summary:hover .chev {
  opacity: 1;
  stroke: #3BB3FF;
}

.card-info .info-title {
  font-size: 1.6rem;   /* bigger */
  font-weight: 900;
  color: #3BB3FF;      /* electric blue highlight */
  margin: 14px 0 10px;
  letter-spacing: .5px;
}

.chips-row { 
  display: flex; 
  flex-wrap: wrap; 
  gap: 10px; 
  margin: 8px 0 14px; 
}

.chip {
  font-weight: 700; 
  font-size: .95rem;
  padding: 10px 18px; 
  border-radius: 999px; 
  background: #3BB3FF;         /* solid S3 blue */
  color: #fff;
  box-shadow: 0 4px 14px rgba(59,179,255,.35);
  transition: transform .15s ease, box-shadow .15s ease;
}

.chip:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(59,179,255,.55);
}

.card-info {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 14px;
}

/* Remove native browser arrows */
summary::-webkit-details-marker { display: none !important; }
summary::marker { display: none !important; }

/* Accordion wrapper */
.acc summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px;
  background: rgba(255,255,255,0.05);
  border-radius: 10px;
  cursor: pointer;
  font-weight: 700;
  color: #fff;
  transition: background .2s ease;
}

.acc summary:hover {
  background: rgba(255,255,255,0.08);
}

/* Slim chevron styling */
.acc .chev {
  width: 20px;
  height: 20px;
  stroke: #3BB3FF;
  stroke-width: 2.4;
  fill: none;
  transition: transform .25s ease;
}

/* Rotate chevron when open */
.acc[open] .chev {
  transform: rotate(180deg);
}

/* Accordion content */
.acc > *:not(summary) {
  padding: 12px 18px 16px;
  font-weight: 400;
  line-height: 1.5;
  color: #ddd;
}

/* KILL ALL DEFAULT/FALLBACK ARROWS ON SUMMARY */
.acc > summary {
  list-style: none !important;              /* Safari/Firefox */
  -webkit-appearance: none;                  /* WebKit */
  appearance: none;
}

/* Hide the UA disclosure marker across engines */
.acc > summary::-webkit-details-marker { 
  display: none !important;                  /* Chrome/Safari */
}
.acc > summary::marker { 
  content: "" !important;                    /* Firefox */
  font-size: 0 !important;
  color: transparent !important;
}

/* If any previous CSS added a text/icon arrow via ::before/::after, kill it */
.acc > summary::before,
.acc > summary::after {
  content: none !important;
  background: none !important;
  mask: none !important;
  -webkit-mask: none !important;
  border: 0 !important;
}

/* Your slim blue chevron stays */
.acc > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.acc > summary .chev {
  width: 20px;
  height: 20px;
  stroke: #3BB3FF;
  stroke-width: 2.4;
  fill: none;
  transition: transform .25s ease;
}
.acc[open] > summary .chev { transform: rotate(180deg); }

.acc summary {
  border: 1px solid rgba(59,179,255,0.35);
  background: rgba(255,255,255,0.03);
  box-shadow: 0 3px 12px rgba(0,0,0,.3);
}
.acc summary:hover {
  border-color: #3BB3FF;
  background: rgba(59,179,255,0.08);
  box-shadow: 0 4px 14px rgba(59,179,255,.25);
}

.acc summary span {
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
}

.acc .chev {
  stroke: #3BB3FF;
  stroke-width: 2.2;
  opacity: .9;
  transition: transform .25s ease, stroke .2s ease;
}
.acc summary:hover .chev {
  stroke: #66c6ff;
}

.acc { margin-top: 6px; }
.acc:not(:last-child) { margin-bottom: 8px; }

/* ---- Registration actions block ---- */
.reg-actions { margin-top: 18px; }
.reg-title {
  font-size: 1.15rem;
  font-weight: 900;
  letter-spacing: .4px;
  margin: 0 0 8px;
  color: #3BB3FF; /* matches your S3 blue */
}

/* Responsive grid: 3 → 2 → 1 columns */
.reg-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(220px, 1fr));
  gap: 16px;
}
@media (max-width: 1100px) { .reg-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .reg-grid { grid-template-columns: 1fr; } }

/* Base button inherits your .btn styles, add a consistent height + polish */
.reg-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  text-align: center;
  font-weight: 800;
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(0,0,0,.25);
  transition: transform .12s ease, box-shadow .18s ease, filter .18s ease;
}
.reg-btn:hover { transform: translateY(-2px); filter: brightness(1.05); }
.reg-btn:active { transform: translateY(0); }

/* Color themes (tweak hex to your exact brand if needed) */
:root{
  --s3-blue:  #3BB3FF;   /* boys */
  --s3-pink:  #C461FF;   /* girls (your pink-purple) */
  --s3-green: #54E36A;   /* 3×3 lime/green */
}

.reg-btn.boys  { background: var(--s3-blue);  color:#fff; box-shadow: 0 8px 22px rgba(59,179,255,.35); }
.reg-btn.girls { background: var(--s3-pink);  color:#fff; box-shadow: 0 8px 22px rgba(196,97,255,.35); }
.reg-btn.solo  { background: var(--s3-green); color:#0a1a0e; box-shadow: 0 8px 22px rgba(84,227,106,.35); }

/* Optional: subtle divider above the block to separate from info list */
.reg-actions { border-top: 1px solid rgba(255,255,255,.08); padding-top: 16px; }

/* --- 3x3 Registration Buttons --- */
/* --- 3x3 Registration Buttons --- */
.reg-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 24px;
  border-radius: 14px;
  font-weight: 800;
  font-size: 1rem;
  text-align: center;
  color: #fff;
  border: none;              /* no outline */
  outline: none;             /* no focus outline */
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, filter .2s ease;
}

/* Boys = bright blue */
.reg-btn.boys {
  background: linear-gradient(180deg, #3BB3FF, #0099FF);
  box-shadow: 0 4px 14px rgba(59,179,255,.35);
}
.reg-btn.boys:hover {
  filter: brightness(1.1);
  box-shadow: 0 6px 20px rgba(59,179,255,.55);
}

/* Girls = pink/purple */
.reg-btn.girls {
  background: linear-gradient(180deg, #C461FF, #8A2EFF);
  box-shadow: 0 4px 14px rgba(196,97,255,.35);
}
.reg-btn.girls:hover {
  filter: brightness(1.1);
  box-shadow: 0 6px 20px rgba(196,97,255,.55);
}

/* Solo = S3 3×3 green */
.reg-btn.solo {
  background: linear-gradient(180deg, #54E36A, #1DB954);
  color: #0a1a0e; /* dark text for contrast */
  box-shadow: 0 4px 14px rgba(84,227,106,.35);
}
.reg-btn.solo:hover {
  filter: brightness(1.08);
  box-shadow: 0 6px 20px rgba(84,227,106,.55);
}

/* Hover lift */
.reg-btn:hover { transform: translateY(-2px); }
.reg-btn:active { transform: translateY(0); }


.reg-btn {
  border: none !important;      /* kill any border */
  outline: none !important;     /* remove browser focus outline */
  box-shadow: none;             /* optional: if you only want your custom shadows */
}

.reg-btn:focus {
  outline: none !important;
  box-shadow: 0 4px 14px rgba(0,0,0,.25); /* keep your custom glow instead */
}

/* Unify sub-section headings (Register by Division + 3x3 Key Info) */
.reg-title,
.card-info .info-title {
  font-size: 1.6rem;        /* same as your other bold headings */
  font-weight: 900;
  color: #fff;              /* white like the rest */
  margin: 20px 0 12px;
  letter-spacing: .3px;
  text-transform: none;     /* keep consistent with other headings */
}

.solo-note {
  margin-top: 12px;
  font-size: 0.95rem;
  color: #ccc; /* light grey so it doesn’t fight headings */
  text-align: center;
  font-style: italic;
}

.solo-note strong {
  color: #54E36A; /* matches your Solo button green */
  font-weight: 700;
}
