

    /* ── Reset ─────────────────────────────────────────────── */
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

    html { height: 100%; }
    body {
      width: 100%;
      min-height: 100%;
      overflow-x: hidden;
      background: #0d1b2a;
      font-family: "Roboto", sans-serif;
      -webkit-font-smoothing: antialiased;
    }

    /* ── Scroll container ──────────────────────────────────── */
    #scroll-container {
      width: 100vw;
      height: 100vh;
      overflow: hidden;
      position: relative;
    }

    /* ── Slides track ──────────────────────────────────────── */
    #slides-track {
      display: flex;
      width: 700vw;
      height: 100vh;
      will-change: transform;
    }

    /* ── Slide base ────────────────────────────────────────── */
    .slide {
      position: relative;
      width: 100vw;
      height: 100vh;
      flex-shrink: 0;
      overflow: hidden;
    }

    /* ── Background ────────────────────────────────────────── */
    .slide-bg {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: top center;
      display: block;
      pointer-events: none;
      user-select: none;
    }

    /* "THE JOURNEY OF LIFE" — behind characters */
    #journey-text {
      position: absolute;
      top: calc(3% + 75px);
      left: 50%;
      width: 78vw;
      max-width: none;
      z-index: 2;
      pointer-events: none;
      user-select: none;
      will-change: opacity, transform;
    }

    /* Characters */
    #characters {
      position: absolute;
      bottom: -7.5vh;
      left: 50%;
      width: 121.25vw;
      max-width: none;
      z-index: 3;
      pointer-events: none;
      user-select: none;
      will-change: opacity, transform;
    }

    /* ── Popup card ────────────────────────────────────────── */
    #popup {
      position: absolute;
      left: 2.5%;
      top: 40%;
      transform: translateY(-50%);
      width: 22vw;
      z-index: 4;
      will-change: opacity, transform;
      pointer-events: auto;
      user-select: none;
    }

    #popup .popup-close {
      position: absolute;
      top: 4%;
      right: 9%;
      background: none;
      border: none;
      cursor: pointer;
      pointer-events: auto;
      font-size: 1.1vw;
      line-height: 1;
      color: #005ca6;
      font-weight: 700;
      z-index: 7;
    }

    #popup .popup-wrap,
    #s2-popup-1 .popup-wrap,
    #s2-popup-2 .popup-wrap,
    #s3-popup .popup-wrap,
    #s4-popup .popup-wrap,
    #s5-popup-1 .popup-wrap,
    #s5-popup-2 .popup-wrap,
    #s6-popup-1 .popup-wrap,
    #s6-popup-2 .popup-wrap,
    #s7-popup-1 .popup-wrap,
    #s7-popup-2 .popup-wrap {
      position: relative;
      width: 100%;
    }

    #popup .popup-bg-img,
    #s2-popup-1 .popup-bg-img,
    #s2-popup-2 .popup-bg-img,
    #s3-popup .popup-bg-img,
    #s4-popup .popup-bg-img,
    #s5-popup-1 .popup-bg-img,
    #s5-popup-2 .popup-bg-img,
    #s6-popup-1 .popup-bg-img,
    #s6-popup-2 .popup-bg-img,
    #s7-popup-1 .popup-bg-img,
    #s7-popup-2 .popup-bg-img {
      width: 100%;
      display: block;
    }

    #popup .popup-text,
    #s2-popup-1 .popup-text,
    #s2-popup-2 .popup-text,
    #s3-popup .popup-text,
    #s4-popup .popup-text,
    #s5-popup-1 .popup-text,
    #s5-popup-2 .popup-text,
    #s6-popup-1 .popup-text,
    #s6-popup-2 .popup-text,
    #s7-popup-1 .popup-text,
    #s7-popup-2 .popup-text {
      position: absolute;
      top: 5%;
      left: 11%;
      right: 9%;
      bottom: 8%;
      display: flex;
      flex-direction: column;
      justify-content: flex-start;
      overflow-x: hidden;
      overflow-y: auto;
      max-height: calc(100vh - 220px);
      -webkit-overflow-scrolling: touch;
      overscroll-behavior: contain;
    }

    #popup .popup-heading {
      font-weight: 500;
      font-size: 1.7vw;
      color: #005ca6;
      line-height: 1.2;
      margin-bottom: 0.45em;
      padding-right: 15px;
      padding-top: 1em;
    }

    #popup .popup-body,
    #s2-popup-1 .popup-body,
    #s2-popup-2 .popup-body,
    #s3-popup .popup-body,
    #s4-popup .popup-body,
    #s5-popup-1 .popup-body,
    #s5-popup-2 .popup-body,
    #s6-popup-1 .popup-body,
    #s6-popup-2 .popup-body,
    #s7-popup-1 .popup-body,
    #s7-popup-2 .popup-body {
      font-weight: 400;
      font-size: 0.8vw;
      color: #2d3e50;
      line-height: 1.6;
    }

    #s2-popup-1 .popup-heading,
    #s2-popup-2 .popup-heading,
    #s3-popup .popup-heading,
    #s4-popup .popup-heading,
    #s5-popup-1 .popup-heading,
    #s5-popup-2 .popup-heading,
    #s6-popup-1 .popup-heading,
    #s6-popup-2 .popup-heading,
    #s7-popup-1 .popup-heading,
    #s7-popup-2 .popup-heading {
      font-weight: 500;
      font-size: 1.9vw;
      color: #005ca6;
      line-height: 1.2;
      margin-bottom: 0.45em;
      padding-right: 20px;
    }

    /* ── Pointer dots ──────────────────────────────────────── */
    .pointer-dot {
      position: absolute;
      width: 2.4vw;
      height: 2.4vw;
      z-index: 5;
      background: none;
      border: none;
      padding: 0;
      cursor: pointer;
      pointer-events: auto;
      user-select: none;
      will-change: opacity, transform;
    }
    .pointer-dot img { width: 100%; height: 100%; display: block; }

    .pointer-dot.p1 { left: 63%; top: 58%; }
    .pointer-dot.p2 { left: 71%; top: 62%; }

    /* ── Scroll indicator ──────────────────────────────────── */
    #scroll-indicator {
      position: fixed;
      bottom: 3.5vh;
      right: 3.5vw;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 4px;
      background: rgba(255, 255, 255, 0.72);
      -webkit-backdrop-filter: blur(6px);
      backdrop-filter: blur(6px);
      padding: 6px 16px 8px;
      border-radius: 999px;
      color: #005ca6;
      font-weight: 700;
      font-size: 11px;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      z-index: 10;
      will-change: opacity;
    }

    #scroll-indicator .si-line {
      width: 32px;
      height: 1px;
      background: rgba(255,255,255,0.6);
    }

    #scroll-indicator .si-chevron {
      width: 7px;
      height: 7px;
      border-right: 1.5px solid rgba(255,255,255,0.75);
      border-bottom: 1.5px solid rgba(255,255,255,0.75);
      transform: rotate(-45deg);
      animation: si-bounce 1.5s ease-in-out infinite;
    }

    @keyframes si-bounce {
      0%, 100% { opacity: 0.4; transform: rotate(-45deg) translate(0, 0); }
      50%       { opacity: 1;   transform: rotate(-45deg) translate(4px, 4px); }
    }

    /* ── Slide 2 ────────────────────────────────────────────── */
    #s2-characters {
      position: absolute;
      bottom: 0;
      left: 55%;
      width: 100vw;
      max-width: none;
      z-index: 2;
      pointer-events: none;
      user-select: none;
      will-change: opacity, transform;
    }

    #s2-help {
      position: absolute;
      top: 28%;
      left: 74%;
      width: 28vw;
      max-width: none;
      z-index: 3;
      pointer-events: none;
      user-select: none;
      will-change: opacity, transform;
    }

    .s2-pointer {
      position: absolute;
      width: 2.4vw;
      height: 2.4vw;
      background: none;
      border: none;
      padding: 0;
      cursor: pointer;
      pointer-events: auto;
      z-index: 5;
      user-select: none;
    }
    .s2-pointer img { width: 100%; height: 100%; display: block; }
    .s2-pointer.p1  { left: 38%; top: 77%; }
    .s2-pointer.p2  { left: 55%; top: 68%; }

    #s2-popup-1 {
      position: absolute;
      left: 2.5%;
      top: 40%;
      width: 22vw;
      z-index: 6;
      will-change: opacity, transform;
      user-select: none;
    }

    #s2-popup-2 {
      position: absolute;
      right: 6.5%;
      top: 40%;
      width: 22vw;
      z-index: 6;
      will-change: opacity, transform;
      user-select: none;
    }

    #s2-popup-1 .popup-close,
    #s2-popup-2 .popup-close {
      position: absolute;
      top: 7%;
      right: 9%;
      background: none;
      border: none;
      cursor: pointer;
      pointer-events: auto;
      font-size: 1.1vw;
      line-height: 1;
      color: #005ca6;
      font-weight: 700;
      z-index: 7;
    }

    @media (max-width: 1599px) and (min-width: 1024px) {
      #s2-popup-1, #s2-popup-2  { width: 26vw; }
      #s2-popup-1 .popup-heading { font-size: 2.2vw; }, #s2-popup-2 .popup-heading { font-size: 2.2vw; }
      #s2-popup-1 .popup-body, #s2-popup-2 .popup-body    { font-size: 0.95vw; }, #s2-popup-2 .popup-body    { font-size: 0.95vw; }
      #s2-popup-1 .popup-close   { font-size: 1.3vw; }, #s2-popup-2 .popup-close   { font-size: 1.3vw; }
      #s2-help   { width: 28vw; top: 26%; left: 74%; }
      .s2-pointer { width: 2.2vw; height: 2.2vw; }
    }

    @media (max-width: 1023px) and (min-width: 768px) {
      #s2-characters { width: 130vw; }
      #s2-popup-1, #s2-popup-2  { width: 36vw; top: 45%; }
      #s2-popup-1 .popup-heading { font-size: 3vw; }, #s2-popup-2 .popup-heading { font-size: 3vw; }
      #s2-popup-1 .popup-body    { font-size: 1.35vw; }, #s2-popup-2 .popup-body    { font-size: 1.35vw; }
      #s2-popup-1 .popup-close   { font-size: 2vw; }, #s2-popup-2 .popup-close   { font-size: 2vw; }
      #s2-help   { width: 34vw; top: 24%; left: 62%; }
      .s2-pointer { width: 3.8vw; height: 3.8vw; }
      .s2-pointer.p1 { left: 46%; top: 58%; }
      .s2-pointer.p2 { left: 55%; top: 64%; }
    }

    @media (max-width: 767px) {
      #s2-characters { width: 216vw; left: -46%; }
      #s2-popup-1, #s2-popup-2 {
        left: 50%;
        top: auto;
        bottom: 3vh;
        width: 75vw;
      }
      #s2-popup-1 .popup-heading { font-size: 4.5vw; }, #s2-popup-2 .popup-heading { font-size: 4.5vw; }
      #s2-popup-1 .popup-body    { font-size: 2.2vw; }, #s2-popup-2 .popup-body    { font-size: 2.2vw; }
      #s2-popup-1 .popup-close   { font-size: 3.5vw; }, #s2-popup-2 .popup-close   { font-size: 3.5vw; }
      #s2-help   { width: 42vw; top: 40%; left: 55%; }
      .s2-pointer { width: 5.5vw; height: 5.5vw; }
      .s2-pointer.p1 { left: 44%; top: 56%; }
      .s2-pointer.p2 { left: 54%; top: 63%; }
      .p2 { margin-top: -60px;}
      #journey-text{top:20% !important;}
    }


    /* ── Responsive slide 1 ─────────────────────────────────── */
    @media (min-width: 1600px) {
      #journey-text   { width: 76vw; }
      #popup          { top:60% }
      #popup .popup-heading { font-size: 1.7vw; }
      #popup .popup-body    { font-size: 0.75vw; }
    }

    @media (max-width: 1599px) and (min-width: 1024px) {
      #journey-text   { width: 82vw; }
      #popup          { width: 26vw; top: 35% }
      #popup .popup-heading { font-size: 1.7vw; }
      #popup .popup-body    { font-size: 0.95vw; }
    }

    @media (max-width: 1023px) and (min-width: 768px) {
      #journey-text {
        width: 88vw;
        top: calc(2.5% + 75px);
      }
      #characters {
        width: 135vw;
        bottom: -5vh;
      }
      #popup {
        width: 34vw;
        left: 2%;
        top: 58%;
      }
      #popup .popup-heading { font-size: 3vw; }
      #popup .popup-body    { font-size: 1.35vw; }
      .pointer-dot          { width: 3.2vw; height: 3.2vw; }
      #scroll-indicator     { font-size: clamp(9px, 1.1vw, 13px); }
    }

    @media (max-width: 767px) and (min-width: 568px) {
      #journey-text {
        width: 90vw;
        top: calc(2% + 75px);
      }
      #characters {
        width: 150vw;
        bottom: -4vh;
        transform: translateX(-46%);
      }
      #popup {
        left: 50%;
        top: auto;
        bottom: 2.5vh;
        transform: translateX(-50%);
        width: 62vw;
      }
      #popup .popup-heading { font-size: 4.2vw; }
      #popup .popup-body    { font-size: 1.9vw; }
      .pointer-dot          { width: 4.5vw; height: 4.5vw; }
      .pointer-dot.p1       { left: 64%; top: 44%; }
      .pointer-dot.p2       { left: 71%; top: 55%; }
      #scroll-indicator     { font-size: clamp(9px, 1.8vw, 13px); right: 4vw; }
    }

    @media (max-width: 567px) {
      #journey-text {
        width: 94vw;
        top: calc(1.5% + 75px);
      }
      #characters {
        width: 170vw;
        bottom: -3vh;
        transform: translateX(-44%);
      }
      #popup {
        left: 50%;
        top: auto;
        bottom: 2vh;
        transform: translateX(-50%);
        width: 80vw;
      }
      #popup .popup-text {
        top: 8%;
        left: 10%;
        right: 8%;
      }
      #popup .popup-heading { font-size: 5.5vw; }
      #popup .popup-body    { font-size: 2.6vw; }
      .pointer-dot          { width: 6vw; height: 6vw; }
      .pointer-dot.p1       { left: 62%; top: 42%; }
      .pointer-dot.p2       { left: 70%; top: 53%; }
      #scroll-indicator {
        font-size: 2.4vw;
        right: 4vw;
        bottom: 2.5vh;
        gap: 6px;
      }
      #scroll-indicator .si-line { width: 20px; }
    }


    /* ── Slide 3 ─────────────────────────────────────────────── */
    #s3-characters {
      position: absolute;
      bottom: 0;
      left: 22%;
      width: 38vw;
      max-width: none;
      z-index: 2;
      pointer-events: none;
      user-select: none;
      will-change: opacity, transform;
    }

    #s3-ship {
      position: absolute;
      top: 40%;
      left: 47%;
      width: 9vw;
      max-width: none;
      z-index: 2;
      pointer-events: none;
      user-select: none;
      will-change: opacity;
    }

    #s3-help {
      position: absolute;
      top: 29%;
      left: 55%;
      width: 33vw;
      max-width: none;
      z-index: 3;
      pointer-events: none;
      user-select: none;
      will-change: opacity, transform;
    }

    .s3-pointer {
      position: absolute;
      width: 2.4vw;
      height: 2.4vw;
      background: none;
      border: none;
      padding: 0;
      cursor: pointer;
      pointer-events: auto;
      z-index: 5;
      user-select: none;
    }
    .s3-pointer img { width: 100%; height: 100%; display: block; }
    .s3-pointer.p1  { left: 40%; top: 81%; }
    .s3-pointer.p2  { left: 75%; top: 62%; }

    #s3-popup {
      position: absolute;
      left: 2.5%;
      top: 40%;
      width: 22vw;
      z-index: 6;
      will-change: opacity, transform;
      user-select: none;
    }

    #s3-popup .popup-close {
      position: absolute;
      top: 7%;
      right: 9%;
      background: none;
      border: none;
      cursor: pointer;
      pointer-events: auto;
      font-size: 1.1vw;
      line-height: 1;
      color: #005ca6;
      font-weight: 700;
      z-index: 7;
    }

    @media (max-width: 1599px) and (min-width: 1024px) {
      #s3-characters { width: 42vw; }
      #s3-help        { width: 33vw; left: 55%; }
      #s3-ship        { width: 9vw; }
      #s3-popup       { width: 26vw; }
      #s3-popup .popup-heading { font-size: 2.2vw; }
      #s3-popup .popup-body    { font-size: 0.95vw; }
      #s3-popup .popup-close   { font-size: 1.3vw; }
      .s3-pointer { width: 2.2vw; height: 2.2vw; }
    }

    @media (max-width: 1023px) and (min-width: 768px) {
      #s3-characters { width: 72vw; }
      #s3-help        { width: 54vw; left: 44%; top: 32%; }
      #s3-ship        { width: 26vw; left: 36%; }
      #s3-popup       { width: 36vw; top: 45%; }
      #s3-popup .popup-heading { font-size: 3vw; }
      #s3-popup .popup-body    { font-size: 1.35vw; }
      #s3-popup .popup-close   { font-size: 2vw; }
      .s3-pointer { width: 3.8vw; height: 3.8vw; }
      .s3-pointer.p1 { left: 22%; top: 58%; }
      .s3-pointer.p2 { left: 60%; top: 52%; }
    }

    @media (max-width: 767px) {
      #s3-characters { width: 90vw; left: 0; }
      #s3-help        { width: 70vw; left: 12%; top: 30%; }
      #s3-ship        { width: 19vw; left: 81%; top:37%;}
      #s3-popup {
        left: 50%;
        top: auto;
        bottom: 3vh;
        width: 75vw;
      }
      #s3-popup .popup-heading { font-size: 4.5vw; }
      #s3-popup .popup-body    { font-size: 2.2vw; }
      #s3-popup .popup-close   { font-size: 3.5vw; }
      .s3-pointer { width: 5.5vw; height: 5.5vw; }
      .s3-pointer.p1 { left: 18%; top: 56%; }
      .s3-pointer.p2 { left: 58%; top: 50%; }
    }


    /* ── Slide 4 ─────────────────────────────────────────────── */
    #s4-characters, #s4-rock, #s6-rock {
      position: absolute;
      top: 29%;
      left: 32%;
      width: 58vw;
      max-width: none;
      z-index: 2;
      pointer-events: none;
      user-select: none;
      will-change: opacity, transform;
    }

    #s4-ship {
      position: absolute;
      top: 40%;
      left: 50%;
      width: 8vw;
      max-width: none;
      z-index: 1;
      pointer-events: none;
      user-select: none;
      will-change: opacity;
    }

    .s4-pointer {
      position: absolute;
      width: 2.4vw;
      height: 2.4vw;
      background: none;
      border: none;
      padding: 0;
      cursor: pointer;
      pointer-events: auto;
      z-index: 5;
      user-select: none;
    }
    .s4-pointer img { width: 100%; height: 100%; display: block; }
    .s4-pointer.p1  { left: 42%; top: 72%; }
    .s4-pointer.p2  { left: 68%; top: 58%; }

    #s4-popup {
      position: absolute;
      left: 2.5%;
      top: 40%;
      width: 22vw;
      z-index: 6;
      will-change: opacity, transform;
      user-select: none;
    }

    #s4-popup .popup-close {
      position: absolute;
      top: 7%;
      right: 9%;
      background: none;
      border: none;
      cursor: pointer;
      pointer-events: auto;
      font-size: 1.1vw;
      line-height: 1;
      color: #005ca6;
      font-weight: 700;
      z-index: 7;
    }

    @media (max-width: 1599px) and (min-width: 1024px) {
      #s4-characters, #s4-rock, #s6-rock { width: 58vw; }
      #s4-ship        { width: 8vw; }
      #s4-popup       { width: 26vw; }
      #s4-popup .popup-heading { font-size: 2.2vw; }
      #s4-popup .popup-body    { font-size: 0.95vw; }
      #s4-popup .popup-close   { font-size: 1.3vw; }
      .s4-pointer { width: 2.2vw; height: 2.2vw; }
    }

    @media (max-width: 1023px) and (min-width: 768px) {
      #s4-characters { width: 100vw; left: 0; }
      #s4-ship        { width: 16vw; }
      #s4-popup       { width: 36vw; top: 45%; }
      #s4-popup .popup-heading { font-size: 3vw; }
      #s4-popup .popup-body    { font-size: 1.35vw; }
      #s4-popup .popup-close   { font-size: 2vw; }
      .s4-pointer { width: 3.8vw; height: 3.8vw; }
      .s4-pointer.p1 { left: 20%; top: 66%; }
      .s4-pointer.p2 { left: 64%; top: 54%; }
    }

    @media (max-width: 767px) {
      #s4-characters { width: 100vw; left: 0vw; top: 50% }
      #s4-rock { top: 67%; width: 82vw; }
      #s4-ship        { width: 20vw; }
      #s4-popup {
        left: 50%;
        top: auto;
        bottom: 3vh;
        width: 75vw;
      }
      #s4-popup .popup-heading { font-size: 4.5vw; }
      #s4-popup .popup-body    { font-size: 2.2vw; }
      #s4-popup .popup-close   { font-size: 3.5vw; }
      .s4-pointer { width: 5.5vw; height: 5.5vw; }
      .s4-pointer.p1 { left: 18%; top: 64%; }
      .s4-pointer.p2 { left: 62%; top: 52%; }
    }


    /* ── Slide 5 ─────────────────────────────────────────────── */
    #s5-characters {
      position: absolute;
      top: 32%;
      left: 25%;
      width: 60vw;
      max-width: none;
      z-index: 2;
      pointer-events: none;
      user-select: none;
      will-change: opacity, transform;
    }

    #s5-ship {
      position: absolute;
      top: 40%;
      left: 58%;
      width: 8vw;
      max-width: none;
      z-index: 0;
      pointer-events: none;
      user-select: none;
      will-change: opacity;
    }

    .s5-pointer {
      position: absolute;
      width: 2.4vw;
      height: 2.4vw;
      background: none;
      border: none;
      padding: 0;
      cursor: pointer;
      pointer-events: auto;
      z-index: 5;
      user-select: none;
    }
    .s5-pointer img { width: 100%; height: 100%; display: block; }
    .s5-pointer.p1  { left: 46%; top: 67%; }
    .s5-pointer.p2  { left: 72%; top: 57%; }

    #s5-popup-1 {
      position: absolute;
      left: 2.5%;
      top: 40%;
      width: 22vw;
      z-index: 6;
      will-change: opacity, transform;
      user-select: none;
    }

    #s5-popup-2 {
      position: absolute;
      right: 2.5%;
      top: 40%;
      width: 22vw;
      z-index: 6;
      will-change: opacity, transform;
      user-select: none;
    }

    #s5-popup-1 .popup-close,
    #s5-popup-2 .popup-close {
      position: absolute;
      top: 7%;
      right: 9%;
      background: none;
      border: none;
      cursor: pointer;
      pointer-events: auto;
      font-size: 1.1vw;
      line-height: 1;
      color: #005ca6;
      font-weight: 700;
      z-index: 7;
    }

    @media (max-width: 1599px) and (min-width: 1024px) {
      #s5-characters { width: 60vw; }
      #s5-ship        { width: 8vw; }
      #s5-popup-1, #s5-popup-2 { width: 26vw; }
      #s5-popup-1 .popup-heading, #s5-popup-2 .popup-heading { font-size: 2.2vw; }
      #s5-popup-1 .popup-body,    #s5-popup-2 .popup-body    { font-size: 0.95vw; }
      #s5-popup-1 .popup-close,   #s5-popup-2 .popup-close   { font-size: 1.3vw; }
      .s5-pointer { width: 2.2vw; height: 2.2vw; }
    }

    @media (max-width: 1023px) and (min-width: 768px) {
      #s5-characters { width: 100vw; left: 0; }
      #s5-ship        { width: 12vw; }
      #s5-popup-1, #s5-popup-2 { width: 36vw; top: 45%; }
      #s5-popup-2 { right: auto; left: 2%; }
      #s5-popup-1 .popup-heading, #s5-popup-2 .popup-heading { font-size: 3vw; }
      #s5-popup-1 .popup-body,    #s5-popup-2 .popup-body    { font-size: 1.35vw; }
      #s5-popup-1 .popup-close,   #s5-popup-2 .popup-close   { font-size: 2vw; }
      .s5-pointer { width: 3.8vw; height: 3.8vw; }
      .s5-pointer.p1 { left: 22%; top: 66%; }
      .s5-pointer.p2 { left: 64%; top: 66%; }
    }

    @media (max-width: 767px) {
      #s5-characters { width: 100vw; left: 0vw; top: 50%; }
      #s5-ship        { width: 16vw; }
      #s5-popup-1, #s5-popup-2 {
        left: 50%;
        right: auto;
        top: auto;
        bottom: 3vh;
        width: 75vw;
      }
      #s5-popup-1 .popup-heading, #s5-popup-2 .popup-heading { font-size: 4.5vw; }
      #s5-popup-1 .popup-body,    #s5-popup-2 .popup-body    { font-size: 2.2vw; }
      #s5-popup-1 .popup-close,   #s5-popup-2 .popup-close   { font-size: 3.5vw; }
      .s5-pointer { width: 5.5vw; height: 5.5vw; }
      .s5-pointer.p1 { left: 20%; top: 66%; }
      .s5-pointer.p2 { left: 62%; top: 66%; }
    }


    /* ── Slide 6 ─────────────────────────────────────────────── */
    #s6-characters {
      position: absolute;
      top: 29%;
      left: 32%;
      width: 58vw;
      max-width: none;
      z-index: 2;
      pointer-events: none;
      user-select: none;
      will-change: opacity, transform;
    }

    #s6-ship {
      position: absolute;
      top: 44%;
      left: 51%;
      width: 6vw;
      max-width: none;
      z-index: 0;
      pointer-events: none;
      user-select: none;
      will-change: opacity;
    }

    .s6-pointer {
      position: absolute;
      width: 2.4vw;
      height: 2.4vw;
      background: none;
      border: none;
      padding: 0;
      cursor: pointer;
      pointer-events: auto;
      z-index: 5;
      user-select: none;
    }
    .s6-pointer img { width: 100%; height: 100%; display: block; }
    .s6-pointer.p1  { left: 45%; top: 66%; }
    .s6-pointer.p2  { left: 65%; top: 60%; }

    #s6-popup-1 {
      position: absolute;
      left: 2.5%;
      top: 40%;
      width: 22vw;
      z-index: 6;
      will-change: opacity, transform;
      user-select: none;
    }

    #s6-popup-2 {
      position: absolute;
      right: 2.5%;
      top: 40%;
      width: 22vw;
      z-index: 6;
      will-change: opacity, transform;
      user-select: none;
    }

    #s6-popup-1 .popup-close,
    #s6-popup-2 .popup-close {
      position: absolute;
      top: 7%;
      right: 9%;
      background: none;
      border: none;
      cursor: pointer;
      pointer-events: auto;
      font-size: 1.1vw;
      line-height: 1;
      color: #005ca6;
      font-weight: 700;
      z-index: 7;
    }

    @media (max-width: 1599px) and (min-width: 1024px) {
      #s6-characters { width: 58vw; }
      #s6-ship        { width: 6vw; }
      #s6-popup-1, #s6-popup-2 { width: 26vw; }
      #s6-popup-1 .popup-heading, #s6-popup-2 .popup-heading { font-size: 2.2vw; }
      #s6-popup-1 .popup-body,    #s6-popup-2 .popup-body    { font-size: 0.95vw; }
      #s6-popup-1 .popup-close,   #s6-popup-2 .popup-close   { font-size: 1.3vw; }
      .s6-pointer { width: 2.2vw; height: 2.2vw; }
    }

    @media (max-width: 1023px) and (min-width: 768px) {
      #s6-characters { width: 100vw; left: 0; }
      #s6-ship        { width: 12vw; }
      #s6-popup-1, #s6-popup-2 { width: 36vw; top: 45%; }
      #s6-popup-2 { right: auto; left: 2%; }
      #s6-popup-1 .popup-heading, #s6-popup-2 .popup-heading { font-size: 3vw; }
      #s6-popup-1 .popup-body,    #s6-popup-2 .popup-body    { font-size: 1.35vw; }
      #s6-popup-1 .popup-close,   #s6-popup-2 .popup-close   { font-size: 2vw; }
      .s6-pointer { width: 3.8vw; height: 3.8vw; }
      .s6-pointer.p1 { left: 20%; top: 68%; }
      .s6-pointer.p2 { left: 62%; top: 55%; }
    }

    @media (max-width: 767px) {
      #s6-characters { width: 100vw; left: 0vw; top: 53%; }
      #s6-ship        { width: 16vw; top: 38%; }
      #s6-popup-1, #s6-popup-2 {
        left: 50%;
        right: auto;
        top: auto;
        bottom: 3vh;
        width: 75vw;
      }
      #s6-rock { top: 60%; left: 12%; width: 95vw; }
      #s6-popup-1 .popup-heading, #s6-popup-2 .popup-heading { font-size: 4.5vw; }
      #s6-popup-1 .popup-body,    #s6-popup-2 .popup-body    { font-size: 2.2vw; }
      #s6-popup-1 .popup-close,   #s6-popup-2 .popup-close   { font-size: 3.5vw; }
      .s6-pointer { width: 5.5vw; height: 5.5vw; }
      .s6-pointer.p1 { left: 18%; top: 68%; }
      .s6-pointer.p2 { left: 60%; top: 55%; }
      #slide-6 .s6-point { top: 50%; left: 31%; width: 68%; }
    }

    .s6-point {
      position: absolute;
      top: 26%;
      left: 31%;
      width: 68%;
      height: auto;
      pointer-events: none;
      user-select: none;
      z-index: 4;
      will-change: opacity, transform;
    }


    /* ── Slide 7 ─────────────────────────────────────────────── */
    #s7-characters {
      position: absolute;
      top: 44%;
      left: 26%;
      width: 30vw;
      max-width: none;
      z-index: 2;
      pointer-events: none;
      user-select: none;
      transform-origin: center center;
      will-change: opacity, transform;
    }

    #s7-ship {
      position: absolute;
      top: 40%;
      left: 48%;
      width: 6vw;
      max-width: none;
      z-index: 0;
      pointer-events: none;
      user-select: none;
      will-change: opacity;
    }

    #s7-rock {
      position: absolute;
      top: 58%;
      left: 34%;
      width: 24vw;
      max-width: none;
      z-index: 1;
      pointer-events: none;
      user-select: none;
      will-change: opacity;
    }

    .s7-pointer {
      position: absolute;
      width: 2.4vw;
      height: 2.4vw;
      background: none;
      border: none;
      cursor: pointer;
      padding: 0;
      z-index: 5;
      user-select: none;
    }
    .s7-pointer img { width: 100%; height: 100%; display: block; }
    .s7-pointer.p1  { left: 47%; top: 65%; }
    .s7-pointer.p2  { left: 52%; top: 53%; }

    #s7-popup-1 {
      position: absolute;
      left: 2.5%;
      top: 40%;
      width: 22vw;
      z-index: 6;
      will-change: opacity, transform;
      user-select: none;
    }

    #s7-popup-2 {
      position: absolute;
      right: 2.5%;
      top: 40%;
      width: 22vw;
      z-index: 6;
      will-change: opacity, transform;
      user-select: none;
    }

    #s7-popup-1 .popup-close,
    #s7-popup-2 .popup-close {
      position: absolute;
      top: 7%;
      right: 9%;
      background: none;
      border: none;
      cursor: pointer;
      pointer-events: auto;
      font-size: 1.1vw;
      line-height: 1;
      color: #005ca6;
      font-weight: 700;
      z-index: 7;
    }

    @media (max-width: 1599px) and (min-width: 1024px) {
      #s7-characters { width: 30vw; }
      #s7-ship        { width: 6vw; }
      #s7-popup-1, #s7-popup-2 { width: 26vw; }
      #s7-popup-1 .popup-heading, #s7-popup-2 .popup-heading { font-size: 2.2vw; }
      #s7-popup-1 .popup-body,    #s7-popup-2 .popup-body    { font-size: 0.95vw; }
      #s7-popup-1 .popup-close,   #s7-popup-2 .popup-close   { font-size: 1.3vw; }
      .s7-pointer { width: 2.2vw; height: 2.2vw; }
    }

    @media (max-width: 1023px) and (min-width: 768px) {
      #s7-characters { width: 100vw; left: 0; }
      #s7-ship        { width: 12vw; }
      #s7-popup-1, #s7-popup-2 { width: 36vw; top: 45%; }
      #s7-popup-2 { right: auto; left: 2%; }
      #s7-popup-1 .popup-heading, #s7-popup-2 .popup-heading { font-size: 3.5vw; }
      #s7-popup-1 .popup-body,    #s7-popup-2 .popup-body    { font-size: 1.5vw; }
      #s7-popup-1 .popup-close,   #s7-popup-2 .popup-close   { font-size: 2vw; }
      .s7-pointer { width: 3.8vw; height: 3.8vw; }
      .s7-pointer.p1 { left: 20%; top: 68%; }
      .s7-pointer.p2 { left: 62%; top: 55%; }
    }

    @media (max-width: 767px) {
      #s7-characters { width: 60vw; left: 10vw; top: 43%; }
      #s7-ship        { width: 16vw; }
      #s7-popup-1 .popup-heading, #s7-popup-2 .popup-heading { font-size: 4.5vw; }
      #s7-popup-1 .popup-body,    #s7-popup-2 .popup-body    { font-size: 2.2vw; }
      #s7-popup-1 .popup-close,   #s7-popup-2 .popup-close   { font-size: 3.5vw; }
      .s7-pointer { width: 5.5vw; height: 5.5vw; }
      .s7-pointer.p1 { left: 18%; top: 68%; }
      .s7-pointer.p2 { left: 60%; top: 55%; }
    }


    /* ── Landscape warning ───────────────────────────────────── */
    #landscape-warning {
      display: none;
      position: fixed;
      inset: 0;
      background: #0d1b2a;
      z-index: 9999;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      text-align: center;
      padding: 2rem;
      color: rgba(255,255,255,0.9);
      gap: 1.5rem;
    }
    .lw-icon {
      font-size: 3.5rem;
      display: inline-block;
      animation: lw-spin 2.5s ease-in-out infinite;
    }
    @keyframes lw-spin {
      0%, 40%  { transform: rotate(0deg); }
      60%, 100% { transform: rotate(-90deg); }
    }
    .lw-text {
      font-size: 1rem;
      line-height: 1.6;
      font-weight: 500;
      max-width: 260px;
      color: rgba(255,255,255,0.8);
    }
    @media (orientation: landscape) and (max-width: 1023px) {
      #landscape-warning { display: flex; }
    }


    /* ── Mobile layout (portrait, ≤ 1023px) ─────────────────── */
    @media (max-width: 1023px) {
      #scroll-container {
        height: auto;
        overflow: visible;
      }
      #slides-track {
        width: 100vw;
        height: auto;
        flex-direction: column;
        transform: none !important;
        will-change: auto;
      }
      html {
        scroll-snap-type: y mandatory;
      }
      .slide {
        width: 100vw;
        height: auto;
        min-height: 100svh;
        flex-shrink: unset;
        scroll-snap-align: start;
        scroll-snap-stop: always;
      }
      .s2-pointer, .s3-pointer, .s4-pointer,
      .s5-pointer, .s6-pointer, .s7-pointer {
        width: 10vw !important;
        height: 10vw !important;
        min-width: 44px;
        min-height: 44px;
      }
    }


    /* ── Mobile popup — full-screen overlay ─────────────────── */
    @media (max-width: 1023px) {
      #popup,
      #s2-popup-1, #s2-popup-2,
      #s3-popup,
      #s4-popup,
      #s5-popup-1, #s5-popup-2,
      #s6-popup-1, #s6-popup-2,
      #s7-popup-1, #s7-popup-2 {
        position: fixed !important;
        top: 0 !important; left: 0 !important;
        right: auto !important; bottom: auto !important;
        width: 100vw !important;
        height: 100vh !important;
        display: flex !important;
        align-items: center;
        justify-content: center;
        background: rgba(13, 27, 42, 0.88);
        z-index: 200;
        transform: none !important;
      }
      #popup .popup-wrap,
      #s2-popup-1 .popup-wrap,
    #s2-popup-2 .popup-wrap,
      #s3-popup .popup-wrap,
      #s4-popup .popup-wrap,
      #s5-popup-1 .popup-wrap, #s5-popup-2 .popup-wrap,
      #s6-popup-1 .popup-wrap, #s6-popup-2 .popup-wrap,
      #s7-popup-1 .popup-wrap, #s7-popup-2 .popup-wrap {
        width: 85vw;
        max-width: 380px;
      }
      #popup .popup-heading,
      #s2-popup-1 .popup-heading,
    #s2-popup-2 .popup-heading,
      #s3-popup .popup-heading,
      #s4-popup .popup-heading,
      #s5-popup-1 .popup-heading, #s5-popup-2 .popup-heading,
      #s6-popup-1 .popup-heading, #s6-popup-2 .popup-heading,
      #s7-popup-1 .popup-heading, #s7-popup-2 .popup-heading { font-size: 5.5vw; }
      #popup .popup-body,
      #s2-popup-1 .popup-body,
    #s2-popup-2 .popup-body,
      #s3-popup .popup-body,
      #s4-popup .popup-body,
      #s5-popup-1 .popup-body, #s5-popup-2 .popup-body,
      #s6-popup-1 .popup-body, #s6-popup-2 .popup-body,
      #s7-popup-1 .popup-body, #s7-popup-2 .popup-body { font-size: 3.4vw; }
      #popup .popup-close,
      #s2-popup-1 .popup-close, #s2-popup-2 .popup-close,
      #s3-popup .popup-close,
      #s4-popup .popup-close,
      #s5-popup-1 .popup-close, #s5-popup-2 .popup-close,
      #s6-popup-1 .popup-close, #s6-popup-2 .popup-close,
      #s7-popup-1 .popup-close, #s7-popup-2 .popup-close { font-size: 5vw; }
    }


    /* ── Slide 1 mobile ──────────────────────────────────────── */
    @media (max-width: 1023px) {
      #journey-text {
        width: 88vw;
        top: 10%;
      }
      #characters {
        width: 250vw;
        bottom: -2vh;
        left: 153%;
      }
      #popup {
        left: 4%;
        top: auto;
        bottom: 7%;
        width: 58vw;
        transform: none;
      }
      #popup .popup-heading { font-size: 4.5vw; }
      #popup .popup-body    { font-size: 2.8vw; }
      .pointer-dot {
        width: 8vw;
        height: 8vw;
      }
      .pointer-dot.p1 { left: 61%; top: 55%; }
      .pointer-dot.p2 { left: 70%; top: 60%; }
      .pointer-dot, .s2-pointer, .s3-pointer, .s4-pointer, .s5-pointer, .s6-pointer, .s7-pointer{left: 84% !important; top: 90% !important; width: 8vw !important; height: 8vw !important;}
      #scroll-indicator {
        font-size: clamp(9px, 2.8vw, 13px);
        bottom: 2.5vh;
        right: 4vw;
        color: #000;
        display: none;
      }
    }

    #scroll-indicator span
{
  display: block;
  width: 10px;
  height: 10px;
  -ms-transform: rotate(45deg); /* IE 9 */
  -webkit-transform: rotate(45deg); /* Chrome, Safari, Opera */
  transform: rotate(45deg);
   
  border-right: 2px solid #005ca6;
  border-bottom: 2px solid #005ca6;
  margin: 0;
}

#scroll-indicator .si-label {
  display: inline;
  width: auto;
  height: auto;
  transform: none;
  -webkit-transform: none;
  -ms-transform: none;
  border: none;
  margin: 0;
  color: #005ca6;
}

#scroll-indicator .unu
{
  margin-top: 6px;
}

#scroll-indicator .unu, #scroll-indicator .doi, #scroll-indicator .trei
{
    -webkit-animation: mouse-scroll 1s infinite;
    -moz-animation: mouse-scroll 1s infinite;
}

#scroll-indicator .unu
{
  -webkit-animation-delay: .1s;
  -moz-animation-delay: .1s;
  -webkit-animation-direction: alternate;
}

#scroll-indicator .doi
{
  -webkit-animation-delay: .2s;
  -moz-animation-delay: .2s;
  -webkit-animation-direction: alternate;
}

#scroll-indicator .trei
{
  -webkit-animation-delay: .3s;
  -moz-animation-delay: .3s;
  -webkit-animation-direction: alternate;
}




#scroll-indicator .mouse
{
height: 45px;
width: 28px;
  border-radius: 20px;
  transform: none;
  border: 2px solid #005ca6;
  top: 170px;
}

#scroll-indicator .wheel
{
  height: 5px;
  width: 2px;
  display: block;
  margin: 5px auto;
  background: #005ca6;
  position: relative;
}

#scroll-indicator .wheel
{
  -webkit-animation: mouse-wheel 1.2s ease infinite;
  -moz-animation: mouse-wheel 1.2s ease infinite;
}

@-webkit-keyframes mouse-wheel
{
   0% {
    opacity: 1;
    -webkit-transform: translateY(0);
    -ms-transform: translateY(0);
    transform: translateY(0);
  }

  100% {
    opacity: 0;
    -webkit-transform: translateY(6px);
    -ms-transform: translateY(6px);
    transform: translateY(6px);
  }
}

@-moz-keyframes mouse-wheel
{
  0% { top: 1px; }
  50% { top: 2px; }
  100% { top: 3px;}
}

@-webkit-keyframes mouse-scroll {

  0%   { opacity: 0;}
  50%  { opacity: .5;}
  100% { opacity: 1;}
}
@-moz-keyframes mouse-scroll {

  0%   { opacity: 0; }
  50%  { opacity: .5; }
  100% { opacity: 1; }
}
@-o-keyframes mouse-scroll {

  0%   { opacity: 0; }
  50%  { opacity: .5; }
  100% { opacity: 1; }
}
@keyframes mouse-scroll {

  0%   { opacity: 0; }
  50%  { opacity: .5; }
  100% { opacity: 1; }
}


/* ── Navbar overrides ─────────────────────────────────────── */
  header#navbar .nav-links a{font-size: 0.9rem;}
  header#navbar.scrolled .logo img{width: 100%;}
