  /* PAGE HERO */
  .page-hero {
    background: var(--deep-sea);
    color: var(--off-white);
    padding: 180px 0 100px;
    position: relative;
    overflow: hidden;
  }
  .page-hero-img {
    position: absolute; inset: 0;
    z-index: 0; opacity: 0.30;
  }
  .page-hero-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center 40%;
    animation: heroSlowZoom 16s ease-out forwards;
  }
  @keyframes heroSlowZoom {
    from { transform: scale(1.06); }
    to { transform: scale(1); }
  }
  .page-hero::before {
    content: '';
    position: absolute; inset: 0;
    z-index: 1;
    background:
      radial-gradient(ellipse at 100% 100%, rgba(123, 31, 44, 0.25) 0%, transparent 60%),
      radial-gradient(ellipse at 0% 0%, rgba(91, 143, 168, 0.18) 0%, transparent 50%),
      linear-gradient(180deg, rgba(14, 42, 56, 0.65) 0%, rgba(14, 42, 56, 0.88) 100%);
  }
  .page-hero .wrap { position: relative; z-index: 2; }
  .page-hero-eyebrow {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 32px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: rgba(247, 243, 236, 0.85);
  }
  .page-hero-eyebrow .dash { width: 32px; height: 1px; background: var(--marble-red); }
  .page-hero h1 {
    font-family: var(--serif);
    font-size: clamp(48px, 6.5vw, 84px);
    line-height: 1;
    color: var(--off-white);
    margin-bottom: 24px;
    max-width: 16ch;
  }
  .page-hero h1 em { color: var(--marble-red); font-style: italic; }
  .page-hero-sub {
    font-family: var(--serif);
    font-size: clamp(20px, 2vw, 28px);
    line-height: 1.45;
    color: rgba(247, 243, 236, 0.85);
    max-width: 56ch;
  }

/* ============================================================
   PHASE → YEAR migration
   
   Replace the 5 per-phase background hooks with the new .year-* hooks.
   Everything else in the .phase / .phase-* ruleset stays as-is, since
   the shared structural classes are unchanged.
   
   OLD (delete):
     .phase-foundations { background: var(--off-white); }
     .phase-bridging    { background: var(--olympus-stone); }
     .phase-integration { background: var(--off-white); }
     .phase-application { background: var(--olympus-stone); }
     .phase-research    { background: var(--deep-sea); color: var(--off-white); }
   
   Also update the dark-treatment override:
     .phase-research .phase-toggle           { border-color: var(--off-white); }
     .phase-research .phase-toggle::before,
     .phase-research .phase-toggle::after    { background: var(--off-white); }
     .phase-research .phase-title            { color: var(--off-white); }
     .phase-research .phase-summary          { color: rgba(247, 243, 236, 0.75); }
   
   NEW (paste):
   ============================================================ */

   .year-1 { background: var(--off-white); }
   .year-2 { background: var(--olympus-stone); }
   .year-3 { background: var(--off-white); }
   .year-4 { background: var(--olympus-stone); }
   .year-5 { background: var(--deep-sea); color: var(--off-white); }
   
   /* Dark-treatment overrides — Year 5 only */
   .year-5 .phase-toggle { border-color: var(--off-white); }
   .year-5 .phase-toggle::before,
   .year-5 .phase-toggle::after { background: var(--off-white); }
   .year-5 .phase-title { color: var(--off-white); }
   .year-5 .phase-summary { color: rgba(247, 243, 236, 0.75); }
     

  /* THE NUMBERS */
  .numbers {
    padding: 120px 0 80px;
    background: var(--off-white);
  }
  .numbers-header {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    margin-bottom: 80px;
    align-items: end;
  }
  .numbers-header .eyebrow { display: block; margin-bottom: 16px; }
  .numbers-header h2 {
    font-family: var(--serif);
    font-size: clamp(34px, 4.4vw, 52px); letter-spacing: -0.01em;
    line-height: 1.1;
  }
  .numbers-header h2 em { color: var(--marble-red); font-style: italic; }
  .numbers-header-text p {
    font-size: 17px;
    line-height: 1.65;
    color: var(--ink-soft);
    max-width: 50ch;
  }
  .numbers-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0;
    border-top: 1px solid var(--rule);
    border-bottom: 1px solid var(--rule);
  }
  .num-cell {
    padding: 36px 24px;
    border-right: 1px solid var(--rule);
  }
  .num-cell:last-child { border-right: none; }
  .num-value {
    font-family: var(--serif);
    font-size: clamp(40px, 4.5vw, 64px);
    line-height: 1;
    color: var(--ink);
    margin-bottom: 8px;
    letter-spacing: -0.03em;
  }
  .num-value em { color: var(--marble-red); font-style: italic; }
  .num-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--ink-soft);
    font-weight: 600;
  }
  .num-label-soft {
    text-transform: none;
    letter-spacing: 0;
    font-style: italic;
    font-family: var(--serif);
  }

  /* PHASE */
  .phase {
    padding: 100px 0;
  }
  .phase-foundations { background: var(--off-white); }
  .phase-bridging    { background: var(--olympus-stone); }
  .phase-integration { background: var(--off-white); }
  .phase-application { background: var(--olympus-stone); }
  .phase-research    { background: var(--deep-sea); color: var(--off-white); }

  .phase-header {
    display: grid;
    grid-template-columns: 200px 1fr 60px;
    gap: 64px;
    margin-bottom: 64px;
    align-items: baseline;
    cursor: pointer;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    transition: opacity var(--transition), margin var(--transition);
    width: 100%;
    background: transparent;
    border: none;
    padding: 0;
    text-align: left;
    font: inherit;
    color: inherit;
  }
  .phase-header:hover { opacity: 0.92; }
  .phase-header:focus-visible {
    outline: 2px solid var(--marble-red);
    outline-offset: 8px;
  }

  .phase-toggle {
    width: 56px;
    height: 56px;
    border: 1px solid var(--ink);
    border-radius: 50%;
    position: relative;
    flex-shrink: 0;
    align-self: start;
    margin-top: 12px;
    transition: background var(--transition), border-color var(--transition);
    justify-self: end;
  }
  .phase-research .phase-toggle { border-color: var(--off-white); }
  .phase-toggle::before,
  .phase-toggle::after {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    background: var(--ink);
    transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1), background var(--transition), opacity 0.3s ease;
  }
  .phase-research .phase-toggle::before,
  .phase-research .phase-toggle::after { background: var(--off-white); }
  .phase-toggle::before {
    width: 18px; height: 1.5px;
    transform: translate(-50%, -50%);
  }
  .phase-toggle::after {
    width: 1.5px; height: 18px;
    transform: translate(-50%, -50%);
  }
  .phase-header[aria-expanded="true"] .phase-toggle::after {
    transform: translate(-50%, -50%) rotate(-90deg);
    opacity: 0;
  }
  .phase-header:hover .phase-toggle {
    background: var(--marble-red);
    border-color: var(--marble-red);
  }
  .phase-header:hover .phase-toggle::before,
  .phase-header:hover .phase-toggle::after {
    background: var(--off-white);
  }

  .phase-body {
    overflow: hidden;
    transition: max-height 0.7s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease;
    max-height: 20000px;
    opacity: 1;
  }
  .phase-body.collapsed {
    max-height: 0;
    opacity: 0;
  }
  .phase-header.is-collapsed {
    margin-bottom: 0;
  }
  .phase.is-collapsed {
    padding-bottom: 60px;
  }
  .phase-num {
    font-family: var(--serif);
    font-size: clamp(80px, 10vw, 144px);
    color: var(--marble-red);
    line-height: 0.85;
    letter-spacing: -0.04em;
  }
  .phase-title-block .eyebrow { display: block; margin-bottom: 12px; }
  .phase-title {
    font-family: var(--serif);
    font-size: clamp(34px, 4.4vw, 52px); letter-spacing: -0.01em;
    line-height: 1.1;
    margin-bottom: 16px;
  }
  .phase-title em { color: var(--marble-red); font-style: italic; }
  .phase-research .phase-title { color: var(--off-white); }
  .phase-summary {
    font-family: var(--serif);
    font-size: 19px;
    line-height: 1.5;
    color: var(--ink-soft);
    max-width: 56ch;
  }
  .phase-research .phase-summary { color: rgba(247, 243, 236, 0.75); }

  /* SEMESTERS */
  .semesters { display: grid; gap: 40px; }
  .semester {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 64px;
    padding: 32px 0;
    border-top: 1px solid var(--rule);
  }
  .phase-research .semester { border-top: 1px solid rgba(247, 243, 236, 0.15); }
  .semester-meta { padding-top: 4px; }
  .semester-num {
    font-family: var(--sans);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--marble-red);
    line-height: 1;
    margin-bottom: 12px;
  }
  .semester-name {
    font-family: var(--serif);
    font-size: 22px;
    line-height: 1.15;
    color: var(--ink);
    margin-bottom: 12px;
  }
  .phase-research .semester-name { color: var(--off-white); }
  .semester-stats {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--ink-soft);
    line-height: 1.6;
  }
  .phase-research .semester-stats { color: rgba(247, 243, 236, 0.55); }

  .courses { display: grid; gap: 0; }
  .course {
    display: grid;
    grid-template-columns: 60px 1fr 80px;
    gap: 24px;
    padding: 22px 0;
    border-bottom: 1px solid var(--rule);
    align-items: baseline;
    transition: background var(--transition);
  }
  .phase-research .course { border-bottom: 1px solid rgba(247, 243, 236, 0.12); }
  .course:last-child { border-bottom: none; }
  .course:hover { background: rgba(123, 31, 44, 0.03); }
  .phase-research .course:hover { background: rgba(247, 243, 236, 0.03); }

  .course-code {
    font-family: var(--serif);
    font-size: 14px;
    color: var(--marble-red);
    line-height: 1.5;
  }
  .course-content { min-width: 0; }
  .course-name {
    font-family: var(--serif);
    font-size: 19px;
    line-height: 1.25;
    color: var(--ink);
    margin-bottom: 6px;
  }
  .phase-research .course-name { color: var(--off-white); }
  .course-name em { font-style: italic; }
  .course-desc {
    font-size: 14px;
    line-height: 1.55;
    color: var(--ink-soft);
    max-width: 64ch;
  }
  .phase-research .course-desc { color: rgba(247, 243, 236, 0.7); }
  .course-ects {
    font-family: var(--serif);
    font-size: 16px;
    color: var(--ink);
    text-align: right;
    line-height: 1.5;
  }
  .phase-research .course-ects { color: var(--off-white); }
  .course-ects-label {
    font-family: var(--sans);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--ink-soft);
    font-style: normal;
    display: block;
    margin-top: 2px;
  }
  .phase-research .course-ects-label { color: rgba(247, 243, 236, 0.55); }

  .course.elective-slot .course-name {
    color: var(--ink-soft);
  }
  .phase-research .course.elective-slot .course-name { color: rgba(247, 243, 236, 0.6); }

  /* ELECTIVES SECTION */
  .electives {
    padding: 140px 0;
    background: var(--off-white);
  }
  .electives-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    margin-bottom: 80px;
    align-items: end;
  }
  .electives-header .eyebrow { display: block; margin-bottom: 16px; }
  .electives-header h2 {
    font-family: var(--serif);
    font-size: clamp(34px, 4.4vw, 52px); letter-spacing: -0.01em;
    line-height: 1.1;
  }
  .electives-header h2 em { color: var(--marble-red); font-style: italic; }
  .electives-header-text p {
    font-size: 17px;
    line-height: 1.65;
    color: var(--ink-soft);
    max-width: 50ch;
    margin-bottom: 16px;
  }
  .electives-note {
    font-family: var(--sans);
    font-size: 14px;
    color: var(--ink-soft);
    line-height: 1.55;
    max-width: 64ch;
  }

  .clusters {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 64px 32px;
  }
  .cluster {
    background: var(--off-white);
    border-top: 3px solid var(--marble-red);
    padding: 36px 0 0;
  }
  .cluster-header { margin-bottom: 32px; }
  .cluster-eye {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--marble-red);
    font-weight: 600;
    margin-bottom: 10px;
  }
  .cluster h3 {
    font-family: var(--serif);
    font-size: 28px;
    line-height: 1.15;
    color: var(--ink);
    margin-bottom: 12px;
  }
  .cluster h3 em { color: var(--marble-red); font-style: italic; }
  .cluster-desc {
    font-size: 14px;
    color: var(--ink-soft);
    line-height: 1.5;
  }
  .cluster-courses { border-top: 1px solid var(--rule); }
  .elective-course {
    display: grid;
    grid-template-columns: 50px 1fr;
    gap: 16px;
    padding: 18px 0;
    border-bottom: 1px solid var(--rule);
    align-items: baseline;
    transition: background var(--transition);
  }
  .elective-course:last-child { border-bottom: none; }
  .elective-course:hover { background: rgba(123, 31, 44, 0.02); }
  .elective-course:hover .elective-name { color: var(--marble-red); }
  .elective-code {
    font-family: var(--serif);
    font-size: 14px;
    color: var(--marble-red);
    line-height: 1.3;
  }
  .elective-name {
    font-family: var(--serif);
    font-size: 17px;
    line-height: 1.25;
    color: var(--ink);
    margin-bottom: 4px;
    transition: color var(--transition);
  }
  .elective-desc {
    font-size: 13px;
    line-height: 1.5;
    color: var(--ink-soft);
    max-width: 50ch;
  }

  /* THESIS FEATURE */
  .thesis {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 0;
    background: var(--deep-sea);
    color: var(--off-white);
    align-items: stretch;
  }
  .thesis-content {
    padding: 120px 64px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
  }
  .thesis-content::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
      radial-gradient(ellipse at 0% 100%, rgba(123, 31, 44, 0.20) 0%, transparent 60%),
      radial-gradient(ellipse at 100% 0%, rgba(91, 143, 168, 0.14) 0%, transparent 50%);
    pointer-events: none;
  }
  .thesis-content > * { position: relative; z-index: 1; }
  .thesis-eye {
    color: var(--marble-red);
    margin-bottom: 16px;
    display: block;
    font-family: var(--sans);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.18em;
  }
  .thesis-content h2 {
    font-family: var(--serif);
    font-size: clamp(34px, 4.4vw, 52px); letter-spacing: -0.01em;
    line-height: 1.1;
    color: var(--off-white);
    margin-bottom: 32px;
  }
  .thesis-content h2 em { color: var(--marble-red); font-style: italic; }
  .thesis-content p {
    font-size: 17px;
    line-height: 1.65;
    color: rgba(247, 243, 236, 0.85);
    margin-bottom: 24px;
    max-width: 52ch;
  }
  .thesis-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid rgba(247, 243, 236, 0.15);
  }
  .thesis-stat-num {
    font-family: var(--serif);
    font-size: clamp(32px, 4vw, 48px);
    color: var(--marble-red);
    line-height: 1;
    margin-bottom: 8px;
  }
  .thesis-stat-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: rgba(247, 243, 236, 0.7);
  }
  .thesis-img {
    overflow: hidden;
    position: relative;
    min-height: 600px;
  }
  .thesis-img img { width: 100%; height: 100%; object-fit: cover; }

  /* PATH FORWARD */
  .path-forward {
    background: var(--off-white);
    padding: 140px 0;
  }
  .path-forward-header {
    text-align: center;
    margin-bottom: 80px;
  }
  .path-forward-header h2 {
    font-family: var(--serif);
    font-size: clamp(34px, 4.4vw, 52px); letter-spacing: -0.01em;
    line-height: 1.1;
    max-width: 18ch;
    margin: 16px auto 0;
  }
  .path-forward-header h2 em { color: var(--marble-red); font-style: italic; }
  .path-forward-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
  .path-card {
    aspect-ratio: 4/5;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    background: var(--deep-sea);
    color: var(--off-white);
    transition: transform var(--transition);
  }
  .path-card:hover { transform: translateY(-6px); }
  .path-card img {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0.55;
    transition: opacity var(--transition), transform 1.2s cubic-bezier(0.4, 0, 0.2, 1);
  }
  .path-card:hover img {
    opacity: 0.75;
    transform: scale(1.05);
  }
  .path-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(14, 42, 56, 0.3) 0%, rgba(14, 42, 56, 0.85) 100%);
    z-index: 1;
  }
  .path-card-content {
    position: relative;
    z-index: 2;
    height: 100%;
    padding: 36px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  .path-num {
    font-family: var(--serif);
    font-size: 13px;
    font-style: italic;
    color: var(--off-white);
    letter-spacing: 0.05em;
  }
  .path-card h3 {
    font-family: var(--serif);
    font-size: clamp(24px, 2.5vw, 32px);
    line-height: 1.1;
    color: var(--off-white);
    margin-bottom: 12px;
  }
  .path-card p {
    font-size: 14px;
    line-height: 1.5;
    color: rgba(247, 243, 236, 0.85);
    margin-bottom: 16px;
  }
  .path-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--off-white);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 500;
    border-bottom: 1px solid rgba(247, 243, 236, 0.4);
    padding-bottom: 4px;
    align-self: flex-start;
    transition: border-color var(--transition), gap var(--transition);
  }
  .path-card:hover .path-link {
    border-bottom-color: var(--off-white);
    gap: 14px;
  }

  /* ============================================================
     RESPONSIVE — consolidated block (was previously two duplicated blocks)
     ============================================================ */

  @media (max-width: 1100px) {
    .page-hero {
      padding: 160px 0 90px;
    }

    .numbers,
    .phase,
    .electives,
    .path-forward {
      padding: 88px 0;
    }

    .numbers-header,
    .electives-header {
      grid-template-columns: 1fr;
      gap: 32px;
      margin-bottom: 56px;
    }

    .numbers-header-text p,
    .electives-header-text p {
      max-width: 64ch;
    }

    .numbers-grid {
      grid-template-columns: repeat(3, 1fr);
      border: 1px solid var(--rule);
    }
    .num-cell {
      border-right: 1px solid var(--rule);
      border-bottom: 1px solid var(--rule);
    }
    .num-cell:nth-child(3n) { border-right: none; }
    .num-cell:nth-last-child(-n + 3) { border-bottom: none; }

    .phase-header {
      grid-template-columns: 120px 1fr 52px;
      gap: 32px;
      margin-bottom: 48px;
    }
    .phase-num {
      font-size: clamp(72px, 12vw, 112px);
    }
    .phase-toggle {
      width: 48px;
      height: 48px;
    }

    .semester {
      grid-template-columns: 1fr;
      gap: 24px;
    }
    .semester-meta {
      padding-bottom: 20px;
      border-bottom: 1px solid var(--rule);
    }
    .phase-research .semester-meta {
      border-bottom-color: rgba(247, 243, 236, 0.15);
    }

    .clusters {
      grid-template-columns: 1fr;
      gap: 56px;
    }

    .thesis {
      grid-template-columns: 1fr;
    }
    .thesis-img {
      order: -1;
      min-height: 420px;
    }
    .thesis-content {
      padding: 90px 48px;
    }
    .thesis-stats {
      grid-template-columns: 1fr;
      gap: 24px;
    }

    .path-forward-grid {
      grid-template-columns: 1fr;
      gap: 18px;
    }
    .path-card {
      aspect-ratio: 16 / 9;
    }
  }

  @media (max-width: 760px) {
    .wrap { padding: 0 24px; }
    .nav-primary { display: none; }
    .nav-toggle { display: flex; }

    .page-hero {
      padding: 140px 0 72px;
    }
    .page-hero-eyebrow {
      font-size: 10px;
      letter-spacing: 0.16em;
      gap: 10px;
      margin-bottom: 24px;
    }
    .page-hero-eyebrow .dash { width: 24px; }
    .page-hero h1 {
      font-size: clamp(40px, 13vw, 60px);
      max-width: 12ch;
    }
    .page-hero-sub {
      font-size: 18px;
    }

    .numbers,
    .phase,
    .electives,
    .path-forward {
      padding: 72px 0;
    }

    .numbers-header,
    .electives-header {
      margin-bottom: 44px;
    }

    .numbers-grid {
      grid-template-columns: repeat(2, 1fr);
    }
    .num-cell {
      padding: 28px 20px;
      border-right: 1px solid var(--rule);
      border-bottom: 1px solid var(--rule);
    }
    .num-cell:nth-child(2n) { border-right: none; }
    .num-cell:nth-last-child(-n + 2) { border-bottom: none; }

    .num-value {
      font-size: 42px;
    }
    .num-label {
      font-size: 10px;
      letter-spacing: 0.13em;
    }

    .phase-header {
      grid-template-columns: 1fr 46px;
      gap: 16px;
      margin-bottom: 36px;
      align-items: start;
    }
    .phase-num {
      grid-column: 1;
      font-size: 64px;
    }
    .phase-title-block {
      grid-column: 1 / -1;
      grid-row: 2;
    }
    .phase-toggle {
      grid-column: 2;
      grid-row: 1;
      width: 46px;
      height: 46px;
      margin-top: 4px;
    }

    .phase-summary {
      font-size: 17px;
    }

    .phase.is-collapsed {
      padding-bottom: 56px;
    }

    .semesters { gap: 28px; }
    .semester { padding: 26px 0; }
    .semester-name { font-size: 21px; }
    .semester-stats {
      font-size: 10px;
      letter-spacing: 0.13em;
    }

    .course {
      grid-template-columns: 44px 1fr;
      gap: 14px;
      padding: 20px 0;
    }
    .course-code { font-size: 13px; }
    .course-name { font-size: 18px; }
    .course-desc { font-size: 13.5px; }
    .course-ects {
      grid-column: 2;
      text-align: left;
      font-size: 15px;
      padding-top: 2px;
    }
    .course-ects-label {
      display: inline-block;
      margin-top: 0;
      margin-left: 5px;
      font-size: 10px;
    }

    .cluster {
      padding-top: 30px;
    }
    .cluster-header { margin-bottom: 24px; }
    .cluster h3 { font-size: 25px; }

    .elective-course {
      grid-template-columns: 42px 1fr;
      gap: 14px;
      padding: 18px 0;
    }
    .elective-name { font-size: 16.5px; }
    .elective-desc { font-size: 13px; }

    .thesis-img { min-height: 360px; }
    .thesis-content {
      padding: 72px 24px;
    }
    .thesis-content p { font-size: 16px; }

    .path-forward-header { margin-bottom: 48px; }
    .path-card {
      aspect-ratio: auto;
      min-height: 360px;
    }
    .path-card-content { padding: 30px 24px; }
  }

  @media (max-width: 480px) {
    .page-hero { padding: 128px 0 64px; }
    .page-hero h1 {
      font-size: clamp(38px, 14vw, 52px);
    }
    .page-hero-sub { font-size: 17px; }

    .numbers,
    .phase,
    .electives,
    .path-forward {
      padding: 64px 0;
    }

    .numbers-grid {
      grid-template-columns: 1fr;
    }
    .num-cell,
    .num-cell:nth-child(2n),
    .num-cell:nth-child(3n) {
      border-right: none;
      border-bottom: 1px solid var(--rule);
    }
    .num-cell:last-child { border-bottom: none; }

    .phase-header {
      grid-template-columns: 1fr 42px;
    }
    .phase-num { font-size: 56px; }
    .phase-toggle {
      width: 42px;
      height: 42px;
    }
    .phase-toggle::before { width: 16px; }
    .phase-toggle::after { height: 16px; }

    .course {
      grid-template-columns: 1fr;
      gap: 8px;
    }
    .course-code { margin-bottom: 2px; }
    .course-ects { grid-column: 1; }

    .elective-course {
      grid-template-columns: 1fr;
      gap: 8px;
    }

    .thesis-img { min-height: 300px; }
    .thesis-content { padding: 64px 20px; }

    .path-card { min-height: 340px; }
    .path-card-content { padding: 28px 22px; }
  }
