  .sticky-wrap {
    position: sticky;
    top: 0;
    height: 100svh;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .sticky-grid {
    display: grid;
    grid-template-columns: 1fr 0.8fr;
    gap: 20rem;
    align-items: center;
    width: min(1100px, 92vw);
  }

  /* Slides */
  #slides {
    position: relative;
    height: 60vh;
  }

  .slide {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.4s ease, transform 0.4s ease;
  }

.slide-visible {
    opacity: 1;
    transform: translateY(0);
  }

  .slide h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 700;
    margin: 0;
  }

  /* Phone mockup
  #phone {
    width: 260px;
    height: 520px;
    border-radius: 2rem;
    background: #0b0f19;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45),
                inset 0 0 0 1px rgba(255, 255, 255, 0.08);
    position: relative;
    overflow: hidden;
    transform: translateZ(0);
    will-change: transform;
  }

  #notch {
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 28px;
    background: #000;
    border-radius: 16px;
  }

  #screen {
    position: absolute;
    inset: 10px;
    border-radius: 1.5rem;
    display: grid;
    place-items: center;
    font-weight: 600;
    color: var(--accent);
    background: #0c1a2a;
  }*/


@media (max-width: 768px) {
  /* 1-col layout */
  .sticky-grid { grid-template-columns: 1fr; gap: 2rem; }

  /* Phone scales by width, keeps aspect ratio (no fixed height)
  #phone {
    width: min(50vw, 250px);
    height: auto;               /* allow aspect-ratio to control height /
    aspect-ratio: 9 / 19.5;     /* iPhone-ish /
    border-radius: 8vw;         /* softer radius for small size /
    bottom: 7rem;
    margin: 0 auto;
  }*/

  /* Inner screen insets track the rounded frame */
  #screen {
    inset: max(8px, 2.5vw);
    border-radius: calc(8vw - max(8px, 2.5vw));
  }
}
