:root {
    --bg-0: #010611;
    --bg-1: #061a33;
    --card: rgba(4, 18, 38, 0.74);
    --card-2: rgba(3, 13, 31, 0.90);
    --cyan: #38d9ff;
    --cyan-2: #00a8ff;
    --orange: #ff6b2a;
    --blue: #1f65b7;
    --white: #f7fbff;
    --muted: #9fb8d4;
    --line: rgba(56, 217, 255, 0.38);
  }

  * { box-sizing: border-box; }
  html, body {
    margin: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #020713;
    font-family: "Inter", "Segoe UI", Arial, sans-serif;
    color: var(--white);
  }

  .slide {
    width: 100vw;
    height: 100vh;
    position: relative;
    overflow: hidden;
    padding: 4.4vh 3.8vw 4.2vh;
    background:
      radial-gradient(circle at 16% 12%, rgba(0, 128, 255, 0.18) 0%, transparent 30%),
      radial-gradient(circle at 72% 42%, rgba(56, 217, 255, 0.11) 0%, transparent 34%),
      radial-gradient(circle at 92% 6%, rgba(255, 107, 42, 0.10) 0%, transparent 24%),
      linear-gradient(135deg, #010611 0%, #06162d 48%, #010611 100%);
  }

  .slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
      linear-gradient(rgba(56, 217, 255, 0.040) 1px, transparent 1px),
      linear-gradient(90deg, rgba(56, 217, 255, 0.032) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,.68) 34%, rgba(0,0,0,.35) 100%);
    pointer-events: none;
  }

  .slide::after {
    content: "";
    position: absolute;
    left: -10vw;
    right: -10vw;
    bottom: -18vh;
    height: 42vh;
    background:
      radial-gradient(ellipse at center, rgba(0, 168, 255, 0.34) 0%, rgba(0, 168, 255, 0.09) 29%, transparent 67%);
    filter: blur(4px);
    opacity: .5;
    pointer-events: none;
  }

  .brand {
    position: absolute;
    top: 3.1vh;
    right: 3.5vw;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
  }
  .brand-logo {
    width: 132px;
    height: auto;
    display: block;
    filter: drop-shadow(0 6px 14px rgba(0,0,0,.35));
  }
  .brand-text {
    font-size: 28px;
    font-weight: 900;
    color: var(--blue);
    letter-spacing: .02em;
  }

  .header {
    position: relative;
    z-index: 2;
    max-width: 73vw;
    margin-bottom: 2.2vh;
  }

  .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--orange);
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    font-size: clamp(13px, 1.05vw, 18px);
    margin-bottom: 1.2vh;
  }
  .eyebrow::before {
    content: "";
    width: 44px;
    height: 3px;
    border-radius: 99px;
    background: var(--orange);
    box-shadow: 0 0 18px rgba(255,138,28,.6);
  }

  h1 {
    margin: 0;
    font-size: clamp(38px, 4.6vw, 78px);
    line-height: .98;
    letter-spacing: -0.045em;
    font-weight: 900;
  }
  h1 .blue {
    color: var(--cyan);
    text-shadow: 0 0 24px rgba(40, 216, 255, 0.38);
  }

  .subtitle {
    margin-top: 1.6vh;
    max-width: 950px;
    color: #d9e8ff;
    font-size: clamp(17px, 1.45vw, 25px);
    line-height: 1.35;
    font-weight: 500;
  }

  .content {
    position: relative;
    z-index: 2;
    height: calc(100vh - 30.5vh);
    margin-bottom: 5.2vh;
    display: grid;
    grid-template-columns: minmax(0, 1.28fr) minmax(360px, .82fr);
    gap: 2.1vw;
    align-items: stretch;
  }

  .studio-card, .side-card {
    border: 1px solid var(--line);
    border-radius: 24px;
    background:
      linear-gradient(180deg, rgba(5, 25, 52, 0.70), rgba(2, 10, 24, 0.94));
    box-shadow:
      inset 0 0 36px rgba(56, 217, 255, 0.07),
      0 0 34px rgba(0, 168, 255, 0.12);
    overflow: hidden;
    position: relative;
  }

  .studio-card::before, .side-card::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-radius: inherit;
    background:
      linear-gradient(135deg, rgba(40,216,255,.22), transparent 26%, transparent 70%, rgba(255,138,28,.10));
  }

  .studio-card {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
  }

  .card-head {
    padding: 1.35vh 1.45vw 1.0vh;
    border-bottom: 1px solid rgba(40,216,255,.20);
    display: flex;
    align-items: center;
    gap: 14px;
    position: relative;
    z-index: 1;
  }

  .num {
    font-size: clamp(24px, 2.1vw, 38px);
    font-weight: 900;
    color: var(--orange);
    line-height: 1;
  }

  .title-wrap {
    min-width: 0;
  }

  .card-title {
    font-size: clamp(22px, 2vw, 34px);
    font-weight: 900;
    line-height: 1.1;
    margin: 0;
    letter-spacing: -0.02em;
  }

  .card-desc {
    color: var(--muted);
    margin-top: .55vh;
    font-size: clamp(14px, 1vw, 18px);
    line-height: 1.28;
    font-weight: 500;
  }

  .keywords {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-left: auto;
    justify-content: flex-end;
  }

  .chip {
    font-size: clamp(12px, .86vw, 16px);
    font-weight: 800;
    color: #dff7ff;
    padding: 7px 11px;
    border: 1px solid rgba(40,216,255,.38);
    border-radius: 999px;
    background: rgba(0, 169, 255, .10);
    white-space: nowrap;
  }

  .studio-frame-wrap {
    position: relative;
    z-index: 1;
    padding: 1.05vh 1.0vw 1.1vh;
    min-height: 0;
  }

  .studio-frame-shell {
    height: 100%;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.12);
    background: #111;
    box-shadow: 0 14px 28px rgba(0,0,0,.35);
  }

  iframe.studio-frame {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
    background: #1e1e1e;
  }

  .side-stack {
    min-height: 0;
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: 1.7vh;
  }

  .side-card {
    display: grid;
    grid-template-columns: 44% 56%;
    min-height: 0;
  }

  .side-img-box {
    position: relative;
    z-index: 1;
    padding: 1.15vh .8vw 1.15vh 1vw;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .side-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 15px;
    background: #050b14;
    border: 1px solid rgba(56,217,255,.18);
    box-shadow: 0 12px 24px rgba(0,0,0,.42);
    filter: brightness(.88) contrast(1.04) saturate(.95);
  }

  .side-copy {
    position: relative;
    z-index: 1;
    padding: 1.55vh 1.25vw 1.35vh .9vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
  }

  .side-title-row {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: .8vh;
  }

  .side-title {
    margin: 0;
    font-size: clamp(21px, 1.7vw, 30px);
    line-height: 1.08;
    font-weight: 900;
    letter-spacing: -0.02em;
  }

  .side-desc {
    color: #d8e9ff;
    font-size: clamp(14px, 1.02vw, 18px);
    line-height: 1.35;
    margin: 0 0 1.2vh;
    font-weight: 500;
  }

  .side-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }

  .tag {
    color: #e5fbff;
    font-size: clamp(12px, .88vw, 16px);
    font-weight: 800;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255, 138, 28, .12);
    border: 1px solid rgba(255, 138, 28, .33);
  }

  .bottom-line {
    position: absolute;
    left: 3.8vw;
    right: 3.8vw;
    bottom: 2.0vh;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    color: #eaf8ff;
    font-size: clamp(16px, 1.25vw, 22px);
    font-weight: 850;
    letter-spacing: .01em;
    text-shadow: 0 2px 8px rgba(0,0,0,.72);
  }
  .bottom-line::before,
  .bottom-line::after {
    content: "";
    height: 2px;
    flex: 1;
    max-width: 300px;
    background: linear-gradient(90deg, transparent, rgba(40,216,255,.7), var(--orange));
  }
  .bottom-line::after {
    background: linear-gradient(90deg, var(--orange), rgba(40,216,255,.7), transparent);
  }

  @media (max-aspect-ratio: 1.45/1) {
    .content {
      grid-template-columns: 1fr;
      grid-template-rows: 1.05fr .95fr;
      height: calc(100vh - 31vh);
    }
    .side-stack { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr; }
    .brand-logo { width: 112px; }
  }

  /* Mobile responsiveness only: allow vertical scrolling and adapt the existing slide layout on phones */
  @media (max-width: 768px), (max-aspect-ratio: 0.75/1) {
    html,
    body {
      height: auto;
      min-height: 100%;
      overflow-x: hidden;
      overflow-y: auto;
      -webkit-overflow-scrolling: touch;
    }

    .slide {
      width: 100%;
      min-height: 100vh;
      min-height: 100svh;
      height: auto;
      overflow: visible;
      padding: 72px 16px 30px;
    }

    .brand {
      top: 18px;
      right: 16px;
    }

    .brand-logo {
      width: 86px;
      max-width: 24vw;
    }

    .header {
      max-width: 100%;
      margin-bottom: 18px;
    }

    .eyebrow {
      gap: 8px;
      font-size: 12px;
      line-height: 1.25;
      margin-bottom: 10px;
      letter-spacing: .08em;
    }

    .eyebrow::before {
      width: 28px;
      height: 2px;
    }

    h1 {
      font-size: clamp(34px, 10.8vw, 48px);
      line-height: 1.02;
      letter-spacing: -0.04em;
    }

    .subtitle {
      max-width: 100%;
      margin-top: 12px;
      font-size: 16px;
      line-height: 1.42;
    }

    .content {
      height: auto;
      margin-bottom: 0;
      display: grid;
      grid-template-columns: 1fr;
      grid-template-rows: auto;
      gap: 18px;
      align-items: start;
      overflow: visible;
    }

    .studio-card,
    .side-card {
      border-radius: 20px;
      overflow: visible;
    }

    .studio-card {
      grid-template-rows: auto auto;
    }

    .card-head {
      padding: 16px;
      flex-wrap: wrap;
      align-items: flex-start;
      gap: 12px;
    }

    .num {
      font-size: 26px;
    }

    .title-wrap {
      flex: 1 1 0;
    }

    .card-title {
      font-size: 24px;
      line-height: 1.12;
    }

    .card-desc {
      margin-top: 6px;
      font-size: 15px;
      line-height: 1.35;
    }

    .keywords {
      width: 100%;
      margin-left: 0;
      justify-content: flex-start;
      gap: 8px;
    }

    .chip {
      font-size: 12px;
      padding: 7px 10px;
      white-space: normal;
    }

    .studio-frame-wrap {
      padding: 12px;
      min-height: auto;
    }

    .studio-frame-shell {
      height: min(72vw, 420px);
      min-height: 260px;
      border-radius: 14px;
    }

    iframe.studio-frame {
      width: 100%;
      height: 100%;
    }

    .side-stack {
      min-height: auto;
      display: grid;
      grid-template-columns: 1fr;
      grid-template-rows: auto;
      gap: 18px;
    }

    .side-card {
      display: grid;
      grid-template-columns: 1fr;
      min-height: auto;
    }

    .side-img-box {
      padding: 14px 14px 0;
      min-height: auto;
    }

    .side-img {
      width: 100%;
      height: auto;
      max-height: 360px;
      object-fit: contain;
      border-radius: 14px;
    }

    .side-copy {
      padding: 14px 16px 18px;
      justify-content: flex-start;
    }

    .side-title-row {
      gap: 10px;
      align-items: center;
      margin-bottom: 9px;
    }

    .side-title {
      font-size: 24px;
      line-height: 1.12;
    }

    .side-desc {
      font-size: 15px;
      line-height: 1.42;
      margin-bottom: 12px;
    }

    .side-tags {
      gap: 8px;
    }

    .tag {
      font-size: 12px;
      padding: 6px 10px;
    }

    .bottom-line {
      position: relative;
      left: auto;
      right: auto;
      bottom: auto;
      margin: 24px 0 0;
      padding: 0 4px;
      gap: 10px;
      font-size: 16px;
      line-height: 1.28;
      text-align: center;
    }

    .bottom-line::before,
    .bottom-line::after {
      max-width: 42px;
      min-width: 24px;
      flex: 0 1 42px;
    }
  }

  @media (max-width: 480px) {
    .slide {
      padding: 68px 14px 28px;
    }

    .brand-logo {
      width: 78px;
    }

    .card-head {
      padding: 14px;
    }

    .studio-frame-wrap {
      padding: 10px;
    }

    .studio-frame-shell {
      height: 76vw;
      min-height: 240px;
    }

    .side-img {
      max-height: 320px;
    }

    .bottom-line {
      font-size: 15px;
    }
  }



  /* Mobile-only Studio iframe proportional scaling fix: keep the embedded desktop UI intact and scale it down as one complete frame */
  @media (max-width: 768px), (max-aspect-ratio: 0.75/1) {
    .studio-frame-wrap {
      padding: 12px;
      overflow: visible;
    }

    .studio-frame-shell {
      position: relative;
      width: 100%;
      height: auto;
      min-height: 0;
      aspect-ratio: 16 / 9;
      overflow: hidden;
      border-radius: 14px;
    }

    iframe.studio-frame {
      position: absolute;
      left: 0;
      top: 0;
      width: 260%;
      height: 260%;
      transform: scale(0.3846154);
      transform-origin: 0 0;
      border: 0;
    }
  }

  @media (max-width: 480px) {
    .studio-frame-shell {
      height: auto;
      min-height: 0;
      aspect-ratio: 16 / 9;
    }

    iframe.studio-frame {
      width: 360%;
      height: 360%;
      transform: scale(0.2777778);
      transform-origin: 0 0;
    }
  }