:root {
    --teal: #14A99E;
    --teal-dark: #119990;
    --gray: #F1F2F2;
    --ink: #1a1a1a;
    --dim: #555;
    --border: #e6e7ea;
    --bg: #fff;
    --accent: var(--teal);

    --maxw: 1180px;
    --radius: 14px;
  }

  * { box-sizing: border-box; margin: 0; padding: 0; }

  html { scroll-behavior: smooth; }

  body {
    font-family: 'Open Sans', system-ui, sans-serif;
    background: var(--bg);
    color: var(--ink);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
  }

  h1, h2, h3, .flogo, .num, .week-no, .timeline .mark {
    font-family: 'Bebas Neue', sans-serif;
    font-weight: 400;
  }

  /* ---------- Brand decor: 986 half-circle + molecular motif ---------- */
  .bg-decor { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
  .bg-decor .shape { position: absolute; border-radius: 999px; }
  .bg-decor .s1 { width: 440px; height: 440px; background: var(--gray); left: -230px; top: -170px; }
  .bg-decor .s2 { width: 360px; height: 360px; background: rgba(20,169,158,0.08); right: -200px; top: 70px; }
  .bg-decor .s3 { width: 320px; height: 320px; background: var(--gray); right: -180px; bottom: -150px; }
  .bg-decor .hex { position: absolute; color: var(--teal); }
  .bg-decor .hex.a { left: 3%; top: 44%; width: 150px; opacity: 0.10; }
  .bg-decor .hex.b { right: 4%; bottom: 16%; width: 170px; opacity: 0.10; }

  .wrap {
    position: relative;
    z-index: 1;
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 22px;
  }

  /* ---------- Progress bar ---------- */
  .progress-wrap {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    padding: 12px 0 14px;
  }
  .progress-inner { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
  .progress-label {
    display: flex;
    justify-content: space-between;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--dim);
    margin-bottom: 7px;
  }
  .progress-track { height: 6px; border-radius: 99px; background: var(--gray); overflow: hidden; }
  .progress-fill {
    height: 100%;
    width: 100%;
    border-radius: 99px;
    background: linear-gradient(90deg, var(--teal), #46c7bd, var(--teal-dark), var(--teal));
    background-size: 300% 100%;
    animation: shimmer 8s linear infinite;
  }
  @keyframes shimmer {
    0%   { background-position: 0% 50%; }
    100% { background-position: 300% 50%; }
  }

  /* ---------- Hero ---------- */
  .hero { text-align: center; padding: 72px 0 54px; }
  .hero .brandmark { display: block; margin: 0 auto 18px; }
  .hero .eyebrow {
    display: inline-block;
    font-weight: 700;
    font-size: 0.72rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--teal);
    border: 1px solid rgba(20,169,158,0.45);
    border-radius: 99px;
    padding: 6px 16px;
    margin-bottom: 22px;
  }
  .hero h1 {
    font-size: clamp(3rem, 9vw, 5.6rem);
    line-height: 1;
    letter-spacing: 1px;
    color: var(--ink);
    margin-bottom: 14px;
  }
  .hero h1 .num { color: var(--teal); }
  .hero .proposal {
    max-width: 580px;
    margin: 4px auto 16px;
    font-size: clamp(1rem, 2.6vw, 1.22rem);
    font-weight: 600;
    color: var(--ink);
  }
  .hero .proposal::before {
    content: "Proposal";
    display: inline-block;
    font-family: 'Bebas Neue', sans-serif;
    font-weight: 400;
    font-size: 0.8rem;
    letter-spacing: 0.16em;
    color: #fff;
    background: var(--teal);
    border-radius: 99px;
    padding: 3px 12px;
    margin-right: 10px;
    vertical-align: middle;
  }
  .hero .proposal strong { color: var(--teal); }
  .hero .tagline {
    font-size: clamp(1.05rem, 3vw, 1.45rem);
    color: var(--dim);
    margin-bottom: 40px;
  }
  .hero .tagline .accent {
    font-family: 'Dancing Script', cursive;
    font-size: 1.3em;
    color: var(--teal);
    font-weight: 600;
  }

  /* ---------- Stats ---------- */
  .stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    max-width: 880px;
    margin: 0 auto;
  }
  .stat {
    flex: 1 1 130px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 18px 14px;
    min-width: 120px;
    box-shadow: 0 10px 26px -20px rgba(20,169,158,0.5);
  }
  .stat .num { font-size: 2.4rem; line-height: 1; letter-spacing: 1px; color: var(--teal); }
  .stat .lbl {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--dim);
    margin-top: 4px;
  }

  /* ---------- Section heading ---------- */
  .section-head { text-align: center; margin: 70px 0 36px; }
  .section-head h2 {
    letter-spacing: 1px;
    font-size: clamp(2rem, 4.5vw, 2.9rem);
    margin-bottom: 8px;
    color: var(--ink);
  }
  .section-head p { color: var(--dim); }

  /* ---------- Session grid ---------- */
  .grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    padding-bottom: 30px;
  }
  .card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--border);
    border-top: 4px solid var(--accent);
    border-radius: var(--radius);
    padding: 26px 26px 24px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  }
  .card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 100% 0%, var(--accent), transparent 60%);
    opacity: 0.06;
    pointer-events: none;
  }
  .card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 46px -20px rgba(20,169,158,0.55);
    border-color: var(--accent);
  }
  .card:focus-visible { outline: 3px solid rgba(20,169,158,0.5); outline-offset: 3px; }

  .card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
  }
  .week-no {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--dim);
  }
  .badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-weight: 700;
    font-size: 0.72rem;
    letter-spacing: 0.04em;
    color: var(--accent);
    background: color-mix(in srgb, var(--accent) 12%, transparent);
    border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent);
    padding: 6px 13px;
    border-radius: 99px;
    white-space: nowrap;
  }

  .card h3 {
    font-size: 1.75rem;
    line-height: 1.12;
    letter-spacing: 0.3px;
    margin-bottom: 10px;
    color: var(--ink);
  }
  .card .desc { color: var(--dim); font-size: 0.95rem; margin-bottom: 20px; }

  /* DAY 1 banner */
  .day1-banner {
    display: flex;
    align-items: center;
    gap: 9px;
    font-weight: 700;
    font-size: 0.74rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--teal);
    background: color-mix(in srgb, var(--teal) 10%, transparent);
    border: 1px solid color-mix(in srgb, var(--teal) 35%, transparent);
    border-radius: 8px;
    padding: 8px 14px;
    margin-bottom: 18px;
  }
  .day1-banner .dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--teal);
    animation: pulse 2.1s ease-in-out infinite;
  }
  @keyframes pulse {
    0%   { box-shadow: 0 0 0 0 rgba(20,169,158,0.5); }
    70%  { box-shadow: 0 0 0 9px transparent; }
    100% { box-shadow: 0 0 0 0 transparent; }
  }

  /* ---------- Mini timeline ---------- */
  .timeline { list-style: none; margin: 0 0 22px; padding-left: 6px; }
  .timeline li { position: relative; padding: 0 0 13px 26px; font-size: 0.93rem; color: var(--dim); }
  .timeline li::before {
    content: "";
    position: absolute;
    left: 0; top: 6px;
    width: 11px; height: 11px;
    border-radius: 50%;
    background: var(--accent);
  }
  .timeline li::after {
    content: "";
    position: absolute;
    left: 5px; top: 16px;
    width: 1px;
    height: calc(100% - 12px);
    background: linear-gradient(var(--accent), transparent);
  }
  .timeline li:last-child::after { display: none; }
  .timeline .mark { font-size: 1rem; letter-spacing: 0.04em; color: var(--accent); margin-right: 8px; }
  .timeline .what { color: var(--ink); font-weight: 600; }

  /* ---------- Deliverable line ---------- */
  .deliverable {
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--teal-dark);
    background: color-mix(in srgb, var(--accent) 8%, transparent);
    border: 1px dashed color-mix(in srgb, var(--accent) 45%, transparent);
    border-radius: 12px;
    padding: 12px 15px;
  }
  .deliverable .glabel {
    font-size: 0.66rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--dim);
    font-weight: 700;
    display: block;
  }

  .open-cue {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 16px;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.1rem;
    letter-spacing: 1px;
    color: var(--teal);
  }
  .open-cue .arrow { transition: transform 0.2s ease; }
  .card:hover .open-cue { color: var(--teal-dark); }
  .card:hover .open-cue .arrow { transform: translateX(4px); }

  /* ---------- Session detail modal ---------- */
  .week-modal {
    width: min(780px, 94vw);
    max-height: 90vh;
    padding: 0;
    border: none;
    border-radius: 18px;
    color: var(--ink);
    background: #fff;
    box-shadow: 0 40px 90px -25px rgba(0,0,0,0.45);
    overflow: hidden;
  }
  .week-modal::backdrop { background: rgba(8,18,18,0.55); backdrop-filter: blur(3px); }
  .week-modal[open] { animation: modal-in 0.22s ease; }
  @keyframes modal-in {
    from { transform: translateY(14px); opacity: 0; }
    to   { transform: none; opacity: 1; }
  }
  .modal-scroll { max-height: 90vh; overflow-y: auto; }

  .modal-head { position: relative; background: var(--teal); color: #fff; padding: 26px 30px 24px; }
  .modal-head .m-eyebrow { display: flex; align-items: center; gap: 10px; }
  .modal-head .week-no { color: rgba(255,255,255,0.9); }
  .modal-head .badge { color: #fff; background: rgba(255,255,255,0.18); border-color: rgba(255,255,255,0.5); }
  .modal-head h2 { color: #fff; font-size: clamp(1.9rem, 5vw, 2.5rem); letter-spacing: 0.5px; margin-top: 10px; line-height: 1.04; }
  .modal-close {
    position: absolute; top: 16px; right: 16px;
    width: 38px; height: 38px; border-radius: 50%;
    border: none; background: rgba(255,255,255,0.2); color: #fff;
    font-size: 1.1rem; line-height: 1; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: background 0.2s ease;
  }
  .modal-close:hover { background: rgba(255,255,255,0.34); }

  .modal-body { padding: 26px 30px 8px; }
  .m-block { margin-bottom: 28px; }
  .m-h {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.55rem; letter-spacing: 1px; color: var(--ink);
    margin-bottom: 13px; display: flex; align-items: center; gap: 11px;
  }
  .m-h::before { content: ""; width: 20px; height: 3px; border-radius: 2px; background: var(--teal); }
  .m-block > p { color: var(--dim); margin-bottom: 12px; }
  .m-list { list-style: none; }
  .m-list li { position: relative; padding-left: 23px; margin-bottom: 9px; color: var(--ink); }
  .m-list li::before { content: ""; position: absolute; left: 0; top: 10px; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); }

  .build-steps { list-style: none; counter-reset: step; }
  .build-steps li { position: relative; counter-increment: step; padding: 2px 0 18px 48px; color: var(--ink); }
  .build-steps li::before {
    content: counter(step);
    position: absolute; left: 0; top: -1px;
    width: 32px; height: 32px; border-radius: 50%;
    background: color-mix(in srgb, var(--teal) 14%, transparent);
    border: 1px solid var(--teal); color: var(--teal-dark);
    font-family: 'Bebas Neue', sans-serif; font-size: 1.1rem;
    display: flex; align-items: center; justify-content: center;
  }
  .build-steps li::after {
    content: ""; position: absolute; left: 16px; top: 32px;
    width: 1px; height: calc(100% - 32px);
    background: linear-gradient(var(--teal), transparent);
  }
  .build-steps li:last-child::after { display: none; }

  .checklist { list-style: none; }
  .checklist li { margin-bottom: 8px; }
  .checklist label {
    display: flex; align-items: flex-start; gap: 12px;
    cursor: pointer; color: var(--ink); font-size: 0.97rem;
    padding: 10px 13px; border: 1px solid var(--border); border-radius: 10px;
    transition: border-color 0.2s ease, background 0.2s ease;
  }
  .checklist label:hover { border-color: var(--teal); background: color-mix(in srgb, var(--teal) 5%, transparent); }
  .checklist input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--teal); flex-shrink: 0; }
  .checklist input:checked + span { color: var(--dim); text-decoration: line-through; }

  .m-foot { display: flex; flex-wrap: wrap; gap: 18px; background: var(--gray); padding: 20px 30px 24px; margin-top: 8px; }
  .m-foot > div { flex: 1 1 240px; }
  .m-foot .glabel { font-size: 0.66rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--dim); font-weight: 700; display: block; margin-bottom: 4px; }
  .m-foot .v { color: var(--ink); font-weight: 600; font-size: 0.95rem; }

  /* ---------- Live embed (finished-project preview) ---------- */
  .live-embed {
    margin: 0 0 26px;
    border: 1px solid color-mix(in srgb, var(--teal) 40%, transparent);
    border-radius: 14px;
    overflow: hidden;
    background: color-mix(in srgb, var(--teal) 6%, #fff);
    box-shadow: 0 6px 22px -14px color-mix(in srgb, var(--teal) 60%, transparent);
  }
  .live-embed .le-head {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 11px 16px;
    background: color-mix(in srgb, var(--teal) 12%, #fff);
    border-bottom: 1px solid color-mix(in srgb, var(--teal) 30%, transparent);
  }
  .live-embed .le-label {
    font-size: 0.66rem; letter-spacing: 0.16em; text-transform: uppercase;
    color: var(--teal-dark); font-weight: 700;
    display: flex; align-items: center; gap: 8px;
  }
  .live-embed .le-label::before {
    content: ""; width: 9px; height: 9px; border-radius: 50%;
    background: var(--teal); box-shadow: 0 0 0 4px color-mix(in srgb, var(--teal) 22%, transparent);
  }
  .live-embed .le-open {
    flex-shrink: 0; text-decoration: none;
    font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em;
    color: #fff; background: var(--teal);
    padding: 7px 13px; border-radius: 999px;
    transition: background 0.2s ease, transform 0.2s ease;
  }
  .live-embed .le-open:hover { background: var(--teal-dark); transform: translateY(-1px); }
  .live-embed .le-frame {
    position: relative;
    height: 440px;
    background: repeating-conic-gradient(var(--gray) 0% 25%, #fff 0% 50%) 0 / 22px 22px;
  }
  .live-embed .le-iframe {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    border: 0; display: block; background: #fff;
  }
  .live-embed .le-cap {
    margin: 0; padding: 11px 16px;
    font-size: 0.85rem; color: var(--dim); font-weight: 600;
    border-top: 1px solid var(--border); background: #fff;
  }
  @media (max-width: 560px) { .live-embed .le-frame { height: 340px; } }

  /* ---------- Footer ---------- */
  footer {
    text-align: center;
    padding: 56px 0 70px;
    margin-top: 30px;
    border-top: 1px solid var(--border);
  }
  footer .flogo { font-size: 2rem; letter-spacing: 1px; color: var(--ink); margin-bottom: 6px; }
  footer .flogo .num { color: var(--teal); }
  footer p { color: var(--dim); font-weight: 500; font-size: 0.9rem; }

  /* ---------- Responsive ---------- */
  @media (max-width: 820px) {
    .grid { grid-template-columns: 1fr; gap: 20px; }
    .hero { padding: 54px 0 40px; }
  }
  @media (max-width: 520px) {
    .modal-head { padding: 22px 20px 18px; }
    .modal-body { padding: 22px 20px 4px; }
    .m-foot { padding: 18px 20px; }
  }
  @media (max-width: 400px) {
    .wrap { padding: 0 16px; }
    .progress-inner { padding: 0 16px; }
    .card { padding: 22px 18px 20px; }
    .stat { flex: 1 1 100%; }
  }

  /* ---------- Print ---------- */
  @media print {
    body { background: #fff; color: #000; }
    .bg-decor, .progress-wrap, .day1-banner, .hero .eyebrow, .open-cue { display: none !important; }
    .card::before { display: none; }
    .wrap { max-width: 100%; }
    .hero { padding: 10px 0 20px; }
    .grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .card {
      border: 1px solid #999;
      border-top: 3px solid var(--teal);
      box-shadow: none;
      break-inside: avoid;
      page-break-inside: avoid;
    }
    .deliverable { background: none; border-color: #999; color: #000; }
    .stat { border: 1px solid #999; box-shadow: none; }
  }

  @media (prefers-reduced-motion: reduce) {
    .progress-fill, .day1-banner .dot, .week-modal[open] { animation: none; }
    .open-cue .arrow { transition: none; }
    html { scroll-behavior: auto; }
  }

  /* ---------- Enrollment / sign-up ---------- */
  .cta-btn {
    display: inline-block; margin-top: 26px;
    font-family: 'Bebas Neue', sans-serif; font-size: 1.25rem; letter-spacing: 1px;
    background: var(--teal); color: #fff; text-decoration: none;
    padding: 14px 30px; border-radius: 12px;
    box-shadow: 0 14px 30px -12px color-mix(in srgb, var(--teal) 70%, transparent);
    transition: background .2s ease, transform .12s ease;
  }
  .cta-btn:hover { background: var(--teal-dark); transform: translateY(-1px); }

  .enroll { max-width: 760px; margin: 26px auto 78px; padding: 0 22px; scroll-margin-top: 80px; }
  .enroll-card {
    background: #fff; border: 1px solid var(--border); border-radius: 18px;
    padding: 30px 30px 26px; box-shadow: 0 26px 60px -34px rgba(0,0,0,0.42);
  }
  .enroll .field { margin-bottom: 18px; }
  .enroll label {
    display: block; font-weight: 700; font-size: 0.9rem; color: var(--ink);
    margin-bottom: 7px;
  }
  .enroll label .req { color: var(--teal-dark); }
  .enroll input, .enroll select {
    width: 100%; font-family: 'Open Sans', sans-serif; font-size: 1rem; color: var(--ink);
    padding: 12px 14px; border: 1px solid var(--border); border-radius: 10px;
    background: #fff; outline: none; transition: border-color .18s ease, box-shadow .18s ease;
  }
  .enroll input:focus, .enroll select:focus {
    border-color: var(--teal); box-shadow: 0 0 0 3px rgba(20,169,158,0.15);
  }
  .kids-legend { font-weight: 700; font-size: 0.9rem; margin-bottom: 9px; }
  .kid-row { display: flex; gap: 10px; margin-bottom: 10px; align-items: center; }
  .kid-row .kid-name { flex: 3 1 0; }
  .kid-row .kid-age  { flex: 1 1 90px; min-width: 84px; }
  .kid-remove {
    flex: 0 0 auto; width: 40px; height: 44px; border: 1px solid var(--border);
    background: #fff; color: var(--dim); border-radius: 10px; cursor: pointer;
    font-size: 1.2rem; line-height: 1; transition: .18s;
  }
  .kid-remove:hover { border-color: var(--red, #e0556b); color: var(--red, #e0556b); }
  .btn-add {
    display: inline-flex; align-items: center; gap: 7px; margin: 2px 0 22px;
    font-family: 'Open Sans', sans-serif; font-weight: 700; font-size: 0.9rem;
    color: var(--teal-dark); background: color-mix(in srgb, var(--teal) 8%, #fff);
    border: 1px dashed color-mix(in srgb, var(--teal) 55%, transparent);
    border-radius: 10px; padding: 10px 16px; cursor: pointer; transition: .18s;
  }
  .btn-add:hover { background: color-mix(in srgb, var(--teal) 15%, #fff); }
  .btn-submit {
    width: 100%; font-family: 'Bebas Neue', sans-serif; font-size: 1.3rem; letter-spacing: 1px;
    background: var(--teal); color: #fff; border: none; border-radius: 12px;
    padding: 15px; cursor: pointer; transition: background .2s ease;
  }
  .btn-submit:hover { background: var(--teal-dark); }
  .enroll-note { text-align: center; color: var(--dim); font-size: 0.82rem; margin-top: 12px; }
  .enroll-success {
    display: none; text-align: center; background: color-mix(in srgb, var(--teal) 9%, #fff);
    border: 1px solid color-mix(in srgb, var(--teal) 40%, transparent); border-radius: 14px;
    padding: 26px; color: var(--ink);
  }
  .enroll-success.show { display: block; }
  .enroll-success .big { font-family: 'Bebas Neue', sans-serif; font-size: 1.8rem; letter-spacing: 1px; color: var(--teal-dark); }
  @media (max-width: 520px) {
    .kid-row { flex-wrap: wrap; }
    .kid-row .kid-name, .kid-row .kid-age { flex: 1 1 100%; }
  }

  .enroll .sched-note {
    background: color-mix(in srgb, var(--teal) 8%, #fff);
    border: 1px solid color-mix(in srgb, var(--teal) 30%, transparent);
    border-radius: 12px; padding: 12px 15px; margin: 4px 0 20px;
    color: var(--ink); font-size: 0.92rem;
  }

  .enroll .laptop-note { background: color-mix(in srgb, #f0a500 12%, #fff); border-color: color-mix(in srgb, #f0a500 45%, transparent); }
  .laptop-confirm { display: flex; align-items: flex-start; gap: 11px; cursor: pointer; font-size: 0.95rem; color: var(--ink); padding: 12px 14px; border: 1px solid var(--border); border-radius: 10px; }
  .laptop-confirm:hover { border-color: var(--teal); background: color-mix(in srgb, var(--teal) 5%, #fff); }
  .laptop-confirm input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--teal); flex-shrink: 0; }

  .laptop-confirm .opt { color: var(--dim); font-weight: 400; font-size: 0.85em; }
