:root {
      --bg: #0a0f1c;
      --paper: #111a2d;
      --ink: #e8edf8;
      --muted: #9cadc8;
      --line: #23314a;
      --brand: #63a3ff;
      --lime: #a2ff00;
      --accent: #ffb703;
      --mint: #14b8a6;
      --radius: 18px;
      --shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
      --glass: rgba(14, 24, 42, 0.58);
      --glass-strong: rgba(17, 27, 45, 0.72);
      --glass-line: rgba(173, 205, 255, 0.16);
      --glass-highlight: rgba(255, 255, 255, 0.06);
    }

    * {
      box-sizing: border-box;
    }

    html,
    body {
      margin: 0;
      padding: 0;
      font-size: 16px;
      background: radial-gradient(circle at 12% -10%, #193967 0%, transparent 34%),
                  radial-gradient(circle at 95% 0%, #4a3b17 0%, transparent 28%),
                  var(--bg);
      color: var(--ink);
      font-family: "SF Pro Text", "SF Pro Display", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif;
      line-height: 1.45;
      scroll-behavior: smooth;
    }

    .wrap {
      width: min(1120px, 92vw);
      margin: 0 auto;
      position: relative;
      z-index: 1;
    }

    /* Position/size set in JS from visualViewport so buffer matches CSS pixels (avoids mobile 100vh skew). */
    #particle-background-canvas {
      position: fixed;
      z-index: 0;
      pointer-events: none;
    }

    .hero {
      position: relative;
      width: 100vw;
      margin-left: calc(50% - 50vw);
      background: transparent;
      color: #fff;
      min-height: 100vh;
      overflow: hidden;
      border-bottom: 1px solid var(--line);
    }

    .fixed-side-lines {
      position: fixed;
      top: 0;
      height: 100vh;
      z-index: 0;
      pointer-events: none;
      opacity: 1;
    }

    .hero-inner {
      width: min(1512px, 100vw);
      margin: 0 auto;
      min-height: 100vh;
      position: relative;
      z-index: 2;
    }

    .hero-topline,
    .hero-sub,
    .hero-copy,
    .hero-summer-callout,
    .hero-quiz-btn {
      font-family: "SF Pro Text", "SF Pro Display", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif;
    }

    .hero-topline {
      margin: 0;
      position: absolute;
      left: 32.1%;
      top: 10.3%;
      font-size: clamp(2rem, 5.6vw, 84.54px);
      font-weight: 700;
      letter-spacing: -0.03em;
      line-height: 1;
    }

    .hero-sub {
      margin: 0;
      position: absolute;
      left: 32.1%;
      top: 19.3%;
      font-size: clamp(1.35rem, 3.5vw, 53px);
      font-weight: 400;
      letter-spacing: -0.02em;
      line-height: 1;
    }

    .hero-title {
      margin: 0;
      position: absolute;
      left: 16.1%;
      top: 25.7%;
      width: min(68vw, 1023px);
      line-height: 0;
      opacity: 0;
    }

    .hero-title img {
      width: 100%;
      height: auto;
      display: block;
      /* transform: translateY(8px); */
    }

    /* EDIT 2026-03-25: One anchor for hero copy block — children use flow + margins (no chained % tops). -AY */
    .hero-text-stack {
      position: absolute;
      left: 16.1%;
      top: 65.1%;
      max-width: 700px;
      z-index: 2;
    }

    .hero-copy {
      margin: 0;
      position: relative;
      font-size: clamp(1rem, 1.85vw, 28px);
      letter-spacing: -0.01em;
      line-height: 1.2;
      font-weight: 400;
      max-width: 700px;
    }

    .course-title {
      position: relative;
      margin: clamp(0.55rem, 1.6vw, 1.1rem) 0 0;
      font-size: 24px;
    }

    .course-name {
      margin: 0;
      font-size: clamp(0.95rem, 1.15vw, 1.1rem);
      letter-spacing: 0.01em;
      color: rgba(255, 255, 255, 0.76);
      text-transform: uppercase;
    }

    .instructor-name {
      margin: 2px 0 0;
      font-size: clamp(1.25rem, 1.25vw, 1.25rem);
      letter-spacing: -0.01em;
      line-height: 1.35;
      color: rgba(255, 255, 255, 0.94);
    }

    .btn-start-learning {
      display: inline-block;
      margin-top: clamp(0.75rem, 1.5vw, 1.25rem);
      padding: 0.65em 1.6em;
      background: #39ff14;
      color: #0a0a0a;
      font-family: inherit;
      font-size: clamp(0.95rem, 1.1vw, 1.1rem);
      font-weight: 700;
      letter-spacing: 0.02em;
      text-decoration: none;
      border-radius: 4px;
      border: 1px solid transparent;
      transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.15s ease;
    }

    .btn-start-learning:hover {
      background: transparent;
      color: #86efac;
      border-color: rgba(134, 239, 172, 0.8);
      transform: translateY(-2px);
    }

    .btn-start-learning:active {
      transform: translateY(0);
    }

    .link-email {
      color: var(--lime);
    }

    .hero-summer-callout {
      display: inline-block;
      position: relative;
      margin: clamp(0.55rem, 1.6vw, 1rem) 0 0;
      font-size: clamp(1rem, 1.85vw, 28px);
      font-weight: 300;
      letter-spacing: -0.01em;
      color: var(--lime);
      text-decoration: none;
    }

    .hero-scroll-hint {
      margin: clamp(0.45rem, 1.15vw, 0.75rem) 0 0;
      position: relative;
      font-size: clamp(0.9rem, 1.1vw, 1.05rem);
      letter-spacing: 0.01em;
      color: rgba(255, 255, 255, 0.78);
      text-transform: lowercase;
    }

    .hero-quiz-btn {
      display: inline-block;
      position: absolute;
      left: 16.1%;
      top: 82.5%;
      padding: 10px 16px;
      border-radius: 999px;
      font-size: clamp(0.95rem, 1.35vw, 1.15rem);
      font-weight: 600;
      letter-spacing: -0.01em;
      background: var(--lime);
      color: #0a0f1c;
      text-decoration: none;
      text-transform: uppercase;
    }

    .hero-quiz-btn:hover {
      filter: brightness(0.94);
    }

    .hero-edge,
    .hero-center-lines {
      pointer-events: none;
      position: absolute;
      inset: 0 auto 0 0;
      z-index: 1;
    }

    .parallax-layer {
      will-change: transform;
      transform: translate3d(0, 0, 0);
    }

    .hero-center-lines {
      width: clamp(180px, 26.2vw, 396px);
      left: 51.8%;
      transform: translateX(-50%);
      background: repeating-linear-gradient(100deg, rgba(125, 151, 196, 0.34) 0 1px, transparent 1px 7px);
      opacity: 0.38;
    }

    h1,
    h2,
    h3 {
      margin: 0;
      line-height: 1.1;
      font-family: "SF Pro Display", "SF Pro Text", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif;
      letter-spacing: -0.02em;
    }

    h1 {
      font-size: clamp(2rem, 5.8vw, 4.35rem);
    }

    h2 {
      font-size: clamp(1.6rem, 3.2vw, 2.6rem);
      margin-bottom: 14px;
    }

    h3 {
      font-size: 1.3rem;
      margin-bottom: 10px;
    }

    .text-huge {
      font-size: 200px;
      line-height: 1;
      margin-bottom: 0;
      opacity: 0;
      text-align: left;
    }

    .lead {
      margin: 18px 0 24px;
      max-width: 63ch;
      color: var(--muted);
      font-size: 1.06rem;
    }

    .cta-row {
      display: flex;
      gap: 12px;
      flex-wrap: wrap;
      margin-bottom: 18px;
    }

    .btn {
      display: inline-block;
      padding: 12px 18px;
      border-radius: 999px;
      text-decoration: none;
      font-weight: 700;
      border: 1px solid transparent;
      transition: transform 220ms ease, box-shadow 220ms ease, background 220ms ease;
    }

    .btn-main {
      background: #dbe7ff;
      color: #0d1830;
      box-shadow: 0 10px 28px rgba(0, 0, 0, 0.34);
    }

    .btn-main:hover {
      transform: translateY(-2px);
    }

    .btn-alt {
      background: transparent;
      color: var(--ink);
      border-color: var(--line);
    }

    .btn-alt:hover {
      border-color: var(--ink);
      transform: translateY(-2px);
    }

    .hero-card {
      background: rgba(0, 0, 0, 0.64);
      border: 1px solid rgba(143, 182, 244, 0.18);
      border-radius: var(--radius);
      padding: 24px;
      box-shadow: 0 24px 60px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.06);
      backdrop-filter: blur(22px) saturate(135%);
      -webkit-backdrop-filter: blur(22px) saturate(135%);
    }

    .hero-card ul {
      margin: 0;
      padding-left: 18px;
      color: var(--muted);
      display: grid;
      gap: 10px;
    }

    .stats {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 10px;
      margin-top: 18px;
    }

    .stat {
      background: linear-gradient(180deg, rgba(16, 27, 45, 0.78) 0%, rgba(16, 24, 41, 0.58) 100%);
      border-radius: 12px;
      border: 1px solid var(--glass-line);
      padding: 12px;
      box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.05);
      backdrop-filter: blur(18px) saturate(130%);
      -webkit-backdrop-filter: blur(18px) saturate(130%);
    }

    .stat b {
      display: block;
      font-size: 1.45rem;
      line-height: 1;
      margin-bottom: 4px;
    }

    .section {
      position: relative;
      z-index: 1;
      min-height: 100vh;
      padding: 46px 0;
      display: flex;
      flex-direction: column;
      justify-content: flex-end;
    }

    .section-intro {
      color: white;
      max-width: 75ch;
      margin-bottom: 22px;
    }

    .grid-3 {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 14px;
    }

    .grid-2 {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 14px;
    }

    .card {
      position: relative;
      overflow: hidden;
      
      border: 1px solid var(--glass-line);
      border-radius: var(--radius);
      padding: 20px;
      box-shadow: 0 18px 48px rgba(0, 0, 0, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.05);
      backdrop-filter: blur(18px) saturate(135%);
      -webkit-backdrop-filter: blur(18px) saturate(135%);
      transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
    }

    .card::before {
      content: "";
      position: absolute;
      inset: 0;
      background:
        radial-gradient(circle at top left, rgba(162, 255, 0, 0.14) 0, transparent 36%),
        linear-gradient(180deg, var(--glass-highlight) 0%, transparent 42%);
      pointer-events: none;
    }

    .card:hover {
      transform: translateY(-3px);
      border-color: rgba(190, 219, 255, 0.24);
      box-shadow: 0 24px 56px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.07);
    }

    .card p,
    .card li {
      color: var(--muted);
    }

    .card ul {
      margin: 0;
      padding-left: 18px;
      display: grid;
      gap: 8px;
    }

    .tag-list {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
    }

    .tag {
      padding: 7px 12px;
      border-radius: 999px;
      border: 1px solid var(--line);
      background: #101a2d;
      font-size: 0.9rem;
      color: var(--ink);
    }

    .course-title-top {
      display: flex;
      flex-direction: column;
      gap: 51px;
      text-align: center;
      align-items: center;
      width: 100%;
    }

    .course-header {
      display: flex;
      flex-direction: column;
      gap: 11px;
      align-items: center;
      justify-content: center;
    }

    .header-tag {
      font-size: 0.825rem;
      font-weight: 400;
      color: var(--lime);
      margin: 0;
      letter-spacing: 0.5px;
    }

    .header-title {
      font-size: 2.75rem;
      font-weight: 700;
      color: var(--ink);
      margin: 0;
      letter-spacing: -0.5px;
      line-height: 1;
    }

    .header-instructor {
      font-size: 1rem;
      font-weight: 400;
      color: var(--ink);
    }

    .header-instructor p {
      margin: 0;
      line-height: 1.4;
    }

    .project-heading {
      font-size: 1.125rem;
      font-weight: 700;
      color: #f4ffde;
      margin: 0;
      text-shadow: 0 0 5px rgba(162, 255, 0, 0.6);
      line-height: 1.4;
    }

    .project-list {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 12px;
      margin-top: 16px;
      width: 100%;
    }

    .project-list a {
      display: flex;
      align-items: center;
      justify-content: center;
      position: relative;
      isolation: isolate;
      padding: 10px;
      border-radius: 18px;
      background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.24) 0%, rgba(255, 255, 255, 0.08) 100%),
        radial-gradient(circle at 18% 16%, rgba(255, 255, 255, 0.34) 0%, rgba(255, 255, 255, 0) 38%),
        radial-gradient(circle at 82% 86%, rgba(162, 255, 0, 0.16) 0%, rgba(162, 255, 0, 0) 42%),
        rgba(255, 255, 255, 0.08);
      border: 1px solid rgba(255, 255, 255, 0.22);
      box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.42),
        inset 0 -14px 24px rgba(255, 255, 255, 0.05),
        0 16px 34px rgba(0, 0, 0, 0.2);
      backdrop-filter: blur(18px) saturate(155%);
      -webkit-backdrop-filter: blur(18px) saturate(155%);
      transition: transform 220ms ease, background 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
      text-decoration: none;
      color: inherit;
      overflow: hidden;
      aspect-ratio: 1;
      animation: float 3s ease-in-out infinite;
    }

    .project-list a::before,
    .project-list a::after {
      content: "";
      position: absolute;
      inset: 0;
      pointer-events: none;
      z-index: 0;
    }

    .project-list a::before {
      inset: 1px;
      border-radius: inherit;
      background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.02) 42%, rgba(255, 255, 255, 0.12) 100%);
      mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
      mask-composite: exclude;
      padding: 1px;
      opacity: 0.8;
    }

    .project-list a::after {
      background:
        radial-gradient(circle at 24% 18%, rgba(255, 255, 255, 0.32) 0%, rgba(255, 255, 255, 0) 24%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0) 38%);
      opacity: 0.9;
    }

    .project-list a:nth-child(1) {
      rotate: -1.2deg;
      animation-delay: 0s;
    }

    .project-list a:nth-child(2) {
      rotate: 1.8deg;
      animation-delay: 0.4s;
    }

    .project-list a:nth-child(3) {
      rotate: -2.18deg;
      animation-delay: 0.8s;
    }

    .project-list a:nth-child(4) {
      rotate: 0.9deg;
      animation-delay: 1.2s;
    }

    .project-list a:nth-child(5) {
      rotate: -1.5deg;
      animation-delay: 1.6s;
    }

    .project-list a:nth-child(6) {
      rotate: 2.18deg;
      animation-delay: 2s;
    }

    .project-list a:hover {
      transform: scale(1.04);
      background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.12) 100%),
        radial-gradient(circle at 18% 16%, rgba(255, 255, 255, 0.42) 0%, rgba(255, 255, 255, 0) 38%),
        radial-gradient(circle at 82% 86%, rgba(162, 255, 0, 0.2) 0%, rgba(162, 255, 0, 0) 42%),
        rgba(255, 255, 255, 0.12);
      border-color: rgba(255, 255, 255, 0.34);
      box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.52),
        inset 0 -14px 24px rgba(255, 255, 255, 0.08),
        0 18px 38px rgba(0, 0, 0, 0.24);
    }

    .project-list img {
      position: relative;
      z-index: 1;
      width: 100%;
      height: 100%;
      object-fit: cover;
      border-radius: 12px;
    }

    .timeline {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 12px;
    }

    .timeline .card {
      border-left: 4px solid var(--mint);
    }

    .cta {
      margin: 48px 0 56px;
      padding: 28px;
      border-radius: calc(var(--radius) + 6px);
      background: linear-gradient(120deg, #2a5fc6 0%, #1d3f8c 100%);
      color: #fff;
      display: flex;
      justify-content: space-between;
      gap: 20px;
      align-items: center;
      flex-wrap: wrap;
    }

    .cta p {
      margin: 10px 0 0;
      color: rgba(255, 255, 255, 0.92);
    }

    .cta .btn {
      background: #e6efff;
      color: #122f73;
      font-weight: 700;
    }

    a {
      color: #8eb8ff;
    }

    a:hover {
      color: #b0ceff;
    }

    footer {
      border-top: 1px solid var(--line);
      padding: 16px 0 34px;
      color: var(--muted);
      font-size: 1.08rem;
    }

    footer a {
      color: var(--lime);
    }

    footer a:hover {
      color: #c3ff4d;
    }

    .reveal {
      opacity: 0;
      transform: translateY(10px);
      transition: 520ms ease;
    }

    .reveal.show {
      opacity: 1;
      transform: translateY(0);
    }

    .hero.reveal,
    .hero.reveal.show {
      opacity: 1;
      transform: none;
    }

    .particle-btn {
      position: fixed;
      right: max(20px, env(safe-area-inset-right));
      bottom: max(20px, calc(env(safe-area-inset-bottom) + 16px));
      z-index: 5;
      display: inline-flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 0;
      min-width: 160px;
      min-height: 64px;
      padding: 16px 18px 15px;
      border: 1px solid rgba(195, 255, 77, 0.26);
      border-radius: 22px;
      background:
        radial-gradient(circle at top left, rgba(195, 255, 77, 0.22) 0%, rgba(195, 255, 77, 0) 42%),
        linear-gradient(145deg, rgba(14, 24, 42, 0.92) 0%, rgba(8, 13, 26, 0.9) 100%);
      box-shadow:
        0 18px 48px rgba(0, 0, 0, 0.36),
        0 0 0 1px rgba(255, 255, 255, 0.05) inset,
        0 0 28px rgba(162, 255, 0, 0.2);
      backdrop-filter: blur(18px) saturate(160%);
      -webkit-backdrop-filter: blur(18px) saturate(160%);
      color: var(--ink);
      cursor: pointer;
      overflow: hidden;
      text-align: center;
      transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease, opacity 220ms ease;
    }

    .particle-btn::before {
      content: "";
      position: absolute;
      inset: 1px;
      border-radius: inherit;
      background: linear-gradient(155deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.02) 35%, rgba(162, 255, 0, 0.08) 100%);
      opacity: 0.9;
      pointer-events: none;
    }

    .particle-btn:focus-visible {
      outline: 2px solid rgba(195, 255, 77, 0.8);
      outline-offset: 3px;
    }

    .particle-btn:hover {
      transform: translateY(-3px) scale(1.02);
      border-color: rgba(195, 255, 77, 0.42);
      box-shadow:
        0 24px 56px rgba(0, 0, 0, 0.42),
        0 0 0 1px rgba(255, 255, 255, 0.08) inset,
        0 0 34px rgba(162, 255, 0, 0.28);
    }

    .particle-btn__halo {
      position: absolute;
      width: 110px;
      height: 110px;
      right: -28px;
      top: -42px;
      border-radius: 50%;
      background:
        radial-gradient(circle, rgba(162, 255, 0, 0.32) 0%, rgba(162, 255, 0, 0.08) 34%, rgba(162, 255, 0, 0) 70%);
      pointer-events: none;
      animation: particleBtnHalo 3.8s ease-in-out infinite;
    }

    .particle-btn__label,
    .btn-cta {
      position: relative;
      z-index: 1;
    }

    .particle-btn__label {
      display: block;
      width: 100%;
      font-size: 1rem;
      font-weight: 700;
      letter-spacing: -0.02em;
      color: #f6fbff;
      text-align: center;
    }

    .btn-cta {
      margin: 0;
      font-size: 0.76rem;
      font-weight: 700;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      color: transparent;
      background-image:
        linear-gradient(90deg, #b7ff5a 0%, #ffffff 36%, #93ff00 58%, #e3ffab 100%),
        repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.18) 0 1px, rgba(0, 0, 0, 0) 1px 3px);
      background-size: 200% 100%, 100% 4px;
      background-position: 0% 50%, 0 0;
      -webkit-background-clip: text;
      background-clip: text;
      -webkit-text-fill-color: transparent;
      text-shadow:
        0 0 8px rgba(162, 255, 0, 0.42),
        0 0 18px rgba(162, 255, 0, 0.28),
        -0.8px 0 rgba(0, 247, 255, 0.28),
        0.8px 0 rgba(255, 0, 187, 0.24);
      filter: drop-shadow(0 0 8px rgba(162, 255, 0, 0.32));
      opacity: 0;
      transition: opacity 220ms ease;
      animation: btnCtaSweep 2.8s linear infinite, btnCtaJitter 1100ms steps(2, end) infinite;
    }

    .particle-btn:hover .btn-cta {
      animation-duration: 1.5s, 800ms;
    }

    .btn-cta.is-visible {
      opacity: 1;
    }

    #examples-section {
      width: 100vw;
      margin-left: calc(50% - 50vw);
      margin-right: calc(50% - 50vw);
      isolation: isolate;
    }

    #examples-section::before {
      content: "";
      position: absolute;
      inset: 0;
      z-index: 0;
      pointer-events: none;
      opacity: 0;
      background:
        radial-gradient(circle at 50% 42%, rgba(7, 12, 22, 0.2) 0%, rgba(7, 12, 22, 0.58) 58%, rgba(4, 8, 16, 0.76) 100%),
        linear-gradient(180deg, rgba(3, 6, 12, 0.46) 0%, rgba(3, 6, 12, 0.68) 100%);
      transition: opacity 0.7s ease;
    }

    body.particle-launch-active #examples-section::before {
      opacity: 1;
    }

    #examples-section > * {
      position: relative;
      z-index: 1;
    }

    #examples-card {
      opacity: 0;
      transform: translateY(40px) scale(0.92);
      filter: blur(8px);
      pointer-events: none;
      width: min(1120px, 92vw);
      margin: 0 auto;
      padding-top: 64px;
      transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
                  transform 0.8s cubic-bezier(0.22, 1, 0.36, 1),
                  filter 0.8s cubic-bezier(0.22, 1, 0.36, 1);
    }

    #examples-card.is-revealed {
      opacity: 1;
      transform: translateY(0) scale(1);
      filter: blur(0);
      pointer-events: auto;
    }

    @keyframes btnCtaSweep {
      0% { background-position: 0% 50%, 0 0; }
      100% { background-position: 200% 50%, 0 0; }
    }

    @keyframes btnCtaJitter {
      0%, 100% { transform: translate(0, 0); }
      20% { transform: translate(0.8px, -0.4px); }
      40% { transform: translate(-0.7px, 0.5px); }
      60% { transform: translate(0.4px, 0.3px); }
      80% { transform: translate(-0.5px, -0.6px); }
    }

    @keyframes particleBtnHalo {
      0%, 100% { transform: scale(0.9); opacity: 0.75; }
      50% { transform: scale(1.1); opacity: 1; }
    }

    @keyframes float {
      0%, 100% { transform: translateY(0px); }
      50% { transform: translateY(-12px); }
    }

    /* ── Week Cards Section ─────────────────────────────── */
    #weekCards h2 {
      text-align: center;
    }

    #weekCards {
      width: min(1120px, 92vw);
      margin-left: auto;
      margin-right: auto;
    }

    .card-container {
      list-style: none;
      margin: 0;
      padding: 0;
      display: flex;
      flex-direction: column;
      gap: 10px;
      max-width: 720px;
      margin-left: auto;
      margin-right: auto;
    }

    .week-card {
      position: relative;
      overflow: hidden;
      display: flex;
      align-items: center;
      gap: 20px;
      padding: 20px 24px;
      border: 1px solid var(--glass-line);
      border-radius: var(--radius);
      background: linear-gradient(180deg, var(--glass-highlight) 0%, transparent 40%), var(--glass);
      box-shadow: 0 18px 48px rgba(0, 0, 0, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.05);
      backdrop-filter: blur(18px) saturate(135%);
      -webkit-backdrop-filter: blur(18px) saturate(135%);
      transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
    }

    .week-card::before {
      content: "";
      position: absolute;
      inset: 0;
      background:
        radial-gradient(circle at top left, rgba(162, 255, 0, 0.07) 0, transparent 40%),
        linear-gradient(180deg, var(--glass-highlight) 0%, transparent 42%);
      pointer-events: none;
    }

    .week-card:hover {
      transform: translateY(-2px);
      border-color: rgba(190, 219, 255, 0.24);
      box-shadow: 0 24px 56px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.07);
    }

    .week-card-text {
      flex: 1;
      min-width: 0;
    }

    .week-card h3 {
      margin: 0;
      font-size: clamp(0.95rem, 1.3vw, 1.1rem);
      font-weight: 600;
      color: var(--ink);
      letter-spacing: -0.01em;
    }

    .week-card p {
      margin: 4px 0 0;
      font-size: 0.875rem;
      color: var(--muted);
      line-height: 1.4;
    }

    .week-btn {
      flex-shrink: 0;
      display: inline-block;
      padding: 8px 18px;
      border-radius: 999px;
      border: 1px solid rgba(134, 239, 172, 0.55);
      background: transparent;
      color: #86efac;
      font-family: inherit;
      font-size: 0.875rem;
      font-weight: 600;
      letter-spacing: 0.01em;
      text-decoration: none;
      cursor: pointer;
      box-shadow: 0 0 8px rgba(134, 239, 172, 0.2), 0 0 20px rgba(134, 239, 172, 0.08);
      transition: border-color 220ms ease, background 220ms ease, color 220ms ease, box-shadow 220ms ease;
    }

    .week-btn:hover {
      border-color: rgba(134, 239, 172, 0.9);
      background: rgba(134, 239, 172, 0.08);
      color: #bbf7d0;
      box-shadow: 0 0 14px rgba(134, 239, 172, 0.38), 0 0 32px rgba(134, 239, 172, 0.18);
    }

    .week-btn--disabled {
      border-color: rgba(156, 173, 200, 0.2);
      color: var(--muted);
      box-shadow: none;
      cursor: not-allowed;
      opacity: 0.5;
      pointer-events: none;
    }

    @media (max-width: 960px) {
      .hero-inner {
        width: min(1120px, 92vw);
        min-height: auto;
        padding: 120px 0 56px;
      }
.topline-container {
  margin-left: auto;
  width: fit-content;
  text-align: left;
}
      .hero-text-stack {
        position: static;
        max-width: none;
      }

      .hero-topline,
      .hero-sub,
      .hero-title,
      .hero-copy,
      .course-title,
      .hero-summer-callout,
      .hero-scroll-hint,
      .hero-quiz-btn {
        position: static;
      }

      .hero-topline {
        font-size: clamp(2rem, 9vw, 3.25rem);
      }

      .hero-sub {
        margin-top: 6px;
        font-size: clamp(2rem, 5.6vw, 2rem);
        font-weight: 200;
      }

      .hero-title {
        margin-top: 14px;
        width: min(96%, 680px);
        margin-left: auto;
        margin-right: auto;
      }

      .hero-copy {
        margin-top: 8px;
        margin-left: 8px;
        max-width: 30ch;
        font-size: clamp(1.2rem, 4.2vw, 1.35rem);
        text-transform: uppercase;
        font-weight: 300;
        line-height: 1.5em;
      }

      .course-title {
        margin-top: 8px;
        margin-left: 8px;
      }

      .course-name {
        font-size: clamp(0.85rem, 2.8vw, 0.95rem);
      }

      .instructor-name {
        font-size: clamp(0.95rem, 3.8vw, 1.1rem);
      }

      .hero-summer-callout {
        margin-top: 10px;
        margin-left: 8px;
        font-size: clamp(1.6rem, 4.2vw, 1.35rem);
      }

      .hero-quiz-btn {
        margin-top: 12px;
        margin-left: 8px;
      }

      .hero-scroll-hint {
        margin-top: 6px;
        margin-left: 8px;
      }

      .stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }

      .grid-3,
      .grid-2,
      .timeline {
        grid-template-columns: 1fr;
      }

      .course-title-top {
        gap: 32px;
      }

      .header-tag {
        font-size: 0.75rem;
      }

      .header-title {
        font-size: 2rem;
      }

      .header-instructor {
        font-size: 0.875rem;
      }

      .project-heading {
        font-size: 1rem;
      }

      .project-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }

      .particle-btn {
        right: max(14px, env(safe-area-inset-right));
        bottom: max(14px, calc(env(safe-area-inset-bottom) + 10px));
        min-width: 144px;
        min-height: 58px;
        padding: 14px 16px 13px;
      }

      .week-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
      }

      .week-btn {
        align-self: flex-start;
      }
    }