.stack-hero {
      position: relative;
      background: linear-gradient(180deg, #fff9f4 0%, #fff3ec 48%, #fff9f4 100%);
    }

    .stack-card {
      position: sticky;
      top: 0;
      z-index: 1;
      min-height: 100svh;
      display: grid;
      align-items: center;
      padding: 96px 0 38px;
      overflow: hidden;
      background: var(--bg);
    }

    .stack-card:nth-child(2) {
      z-index: 2;
    }

    .stack-card:nth-child(3) {
      z-index: 3;
    }

    .stack-card::before {
      content: "";
      position: absolute;
      inset: 0;
      pointer-events: none;
      opacity: 1;
      background:
        linear-gradient(90deg, rgba(255, 249, 244, 1), rgba(255, 249, 244, 0.9) 48%, rgba(255, 249, 244, 0.72)),
        url("../images/texture-soft-paper.png") center / cover no-repeat;
    }

    .stack-card:nth-child(2)::before {
      background:
        linear-gradient(90deg, rgba(220, 237, 234, 0.98), rgba(255, 249, 244, 0.92)),
        url("../images/texture-soft-paper.png") center / cover no-repeat;
    }

    .stack-card:nth-child(3)::before {
      background:
        linear-gradient(135deg, rgba(255, 249, 244, 0.96), rgba(243, 220, 226, 0.92), rgba(220, 237, 234, 0.94)),
        url("../images/texture-soft-paper.png") center / cover no-repeat;
    }

    @keyframes softLift {
      0% { transform: translateY(0); }
      50% { transform: translateY(-8px); }
      100% { transform: translateY(0); }
    }

    .stack-inner {
      position: relative;
      z-index: 1;
      width: var(--inner);
      margin: 0 auto;
      display: grid;
      grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
      gap: 46px;
      align-items: center;
    }

    .hero-brand {
      margin: 0 0 12px;
      color: var(--teal);
      font-family: var(--font-latin);
      font-weight: 700;
      line-height: 1.3;
    }

    .stack-card h1 {
      font-size: 44px;
      word-break: keep-all;
      overflow-wrap: normal;
    }

    .stack-card:nth-child(2) h2 {
      font-size: 34px;
    }

    .hero-copy {
      margin-top: 16px;
      font-family: var(--font-head);
      font-size: 26px;
      font-weight: 700;
      line-height: 1.65;
    }

    .hero-text {
      margin-top: 20px;
      color: var(--muted);
      line-height: 2.05;
    }

    .hero-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
      margin-top: 28px;
    }

    .hero-photo {
      position: relative;
      min-height: 520px;
      border-radius: var(--radius);
      overflow: hidden;
      box-shadow: var(--shadow);
      border: 1px solid rgba(45, 37, 37, 0.1);
    }

    .hero-photo::after {
      content: "";
      position: absolute;
      inset: 0;
      pointer-events: none;
      background: linear-gradient(180deg, rgba(255, 249, 244, 0), rgba(143, 47, 69, 0.12));
      mix-blend-mode: soft-light;
    }

    .hero-photo img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      position: absolute;
      inset: 0;
    }

    .hero-note {
      position: absolute;
      left: 22px;
      bottom: 22px;
      max-width: 310px;
      padding: 18px;
      border-radius: var(--radius);
      background: rgba(255, 255, 255, 0.88);
      box-shadow: 0 12px 28px rgba(45, 37, 37, 0.12);
      font-weight: 700;
      line-height: 1.7;
      animation: softLift 7s ease-in-out infinite;
    }

    .mini-badges {
      display: grid;
      grid-template-columns: 92px 92px 92px;
      gap: 10px;
      margin-top: 24px;
    }

    .mini-badges img {
      width: 92px;
      height: 92px;
      object-fit: contain;
      filter: drop-shadow(0 8px 16px rgba(45, 37, 37, 0.08));
    }

    .stack-visual {
      align-self: stretch;
      display: grid;
      align-items: center;
    }

    .stack-visual .media-frame {
      max-height: 78svh;
    }

    .stack-visual img {
      width: 100%;
      object-fit: contain;
    }

    .offer-panel {
      padding: 34px;
      border-radius: var(--radius);
      background: rgba(255, 255, 255, 0.9);
      border: 1px solid rgba(45, 37, 37, 0.1);
      box-shadow: var(--shadow);
    }

    .offer-number {
      display: flex;
      align-items: baseline;
      gap: 10px;
      margin: 18px 0;
      color: var(--rose);
      font-family: var(--font-latin);
      font-weight: 700;
      line-height: 1;
    }

    .offer-number strong {
      font-size: 72px;
    }

    .offer-number span {
      font-size: 24px;
    }

    .scene-line {
      display: grid;
      grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr) minmax(0, 1fr);
      gap: 18px;
      margin-top: 30px;
    }

    .scene {
      min-height: 190px;
      padding: 24px;
      border-left: 4px solid var(--gold);
      background: rgba(255, 255, 255, 0.72);
    }

    .scene strong {
      display: block;
      margin-bottom: 10px;
      color: var(--rose);
      font-family: var(--font-head);
      font-size: 20px;
    }

    .comic-layout {
      display: grid;
      grid-template-columns: minmax(0, 0.84fr) minmax(0, 1.16fr);
      gap: 42px;
      align-items: center;
    }

    .comic-copy {
      display: grid;
      gap: 18px;
    }

    .case-grid {
      display: grid;
      grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr) minmax(0, 1fr);
      gap: 18px;
      margin-top: 26px;
    }

    .case-card {
      display: grid;
      gap: 16px;
      align-content: start;
    }

    .case-card img {
      width: 100%;
      aspect-ratio: 4 / 3;
      object-fit: cover;
      border-radius: 6px;
    }

    .before-after {
      display: grid;
      gap: 12px;
      margin-top: 16px;
      color: var(--muted);
      font-size: 14px;
      line-height: 1.75;
    }

    .before-after b {
      color: var(--teal);
    }

    .diagram-stack {
      display: grid;
      gap: 46px;
    }

    .diagram-row {
      display: grid;
      grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
      gap: 34px;
      align-items: center;
    }

    .diagram-row.reverse {
      grid-template-columns: minmax(0, 1.22fr) minmax(0, 0.78fr);
    }

    .course-grid {
      display: grid;
      grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
      gap: 28px;
      align-items: stretch;
    }

    .course-list {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 10px;
      margin-top: 24px;
    }

    .course-list span {
      display: flex;
      align-items: center;
      min-height: 46px;
      padding: 10px 14px;
      border-radius: var(--radius);
      background: rgba(255, 255, 255, 0.72);
      border: 1px solid rgba(45, 37, 37, 0.1);
      font-weight: 700;
      line-height: 1.45;
    }

    .voice-grid {
      display: grid;
      grid-template-columns: minmax(0, 1fr) minmax(0, 1.06fr) minmax(0, 0.94fr);
      gap: 18px;
    }

    .voice-card {
      display: grid;
      gap: 14px;
    }

    .voice-person {
      display: flex;
      align-items: center;
      gap: 12px;
    }

    .voice-person img {
      width: 62px;
      height: 62px;
      border-radius: 50%;
      object-fit: cover;
    }

    .voice-steps {
      display: grid;
      gap: 8px;
      font-size: 14px;
      color: var(--muted);
    }

    .voice-steps b {
      color: var(--rose);
    }

    .teacher-layout {
      display: grid;
      grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
      gap: 38px;
      align-items: center;
    }

    .profile-photo {
      aspect-ratio: 1 / 1;
      object-fit: cover;
      width: 100%;
      border-radius: var(--radius);
      box-shadow: var(--shadow);
    }

    .price-layout {
      display: grid;
      grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
      gap: 28px;
      align-items: start;
    }

    .price-panel {
      padding: 32px;
      background: #fff;
    }

    .price-main {
      margin: 16px 0 8px;
      color: var(--rose);
      font-family: var(--font-latin);
      font-size: 48px;
      font-weight: 700;
      line-height: 1.1;
    }

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

    .step-card {
      padding: 20px 16px;
    }

    .step-no {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 32px;
      height: 32px;
      margin-bottom: 12px;
      border-radius: 50%;
      background: var(--teal);
      color: #fff;
      font-family: var(--font-latin);
      font-weight: 700;
    }

    .comic-strip {
      display: grid;
      grid-template-columns: minmax(0, 0.96fr) minmax(0, 1.08fr) minmax(0, 0.96fr);
      gap: 18px;
      margin-top: 30px;
    }

    .comic-strip .media-frame {
      box-shadow: 0 12px 28px rgba(45, 37, 37, 0.07);
    }

    @media (max-width: 960px) {
      .stack-card {
        position: relative;
        min-height: auto;
        padding: 110px 0 56px;
      }

      .stack-inner,
      .comic-layout,
      .diagram-row,
      .diagram-row.reverse,
      .course-grid,
      .teacher-layout,
      .price-layout {
        grid-template-columns: 1fr;
      }

      .stack-inner {
        gap: 30px;
      }

      .hero-photo {
        min-height: 420px;
      }

      .scene-line,
      .case-grid,
      .voice-grid,
      .step-grid,
      .comic-strip {
        grid-template-columns: 1fr;
      }

      .course-list {
        grid-template-columns: 1fr;
      }
    }

    @media (max-width: 768px) {
      .stack-card {
        padding-bottom: 48px;
      }

      .stack-visual .media-frame {
        max-height: none;
      }
    }

    @media (max-width: 640px) {
      .stack-card {
        padding-top: 96px;
      }

      .hero-copy {
        font-size: 22px;
      }

      .stack-card h1 {
        font-size: 32px;
        white-space: nowrap;
      }

      .hero-actions {
        display: grid;
      }

      .hero-photo {
        min-height: 330px;
      }

      .hero-note {
        left: 14px;
        right: 14px;
        bottom: 14px;
        max-width: none;
      }

      .mini-badges {
        grid-template-columns: 78px 78px 78px;
      }

      .mini-badges img {
        width: 78px;
        height: 78px;
      }

      .offer-panel {
        padding: 24px;
      }

      .offer-number strong {
        font-size: 54px;
      }

      .price-main {
        font-size: 38px;
      }
    }

    @media (prefers-reduced-motion: reduce) {
      .hero-note {
        animation: none;
      }

      .reveal {
        transition: none;
      }
    }
