.story-engine {
    position: relative;
    padding: 88px 0 94px;
    overflow: hidden;
    border-top: 1px solid rgba(255,255,255,.06);
    background:
        radial-gradient(circle at 18% 24%, rgba(32,230,255,.06), transparent 28%),
        radial-gradient(circle at 82% 78%, rgba(255,77,163,.055), transparent 30%),
        rgba(5,8,13,.58);
}
.story-head {
    display: grid;
    grid-template-columns: minmax(0,1.2fr) minmax(260px,.8fr);
    gap: 48px;
    align-items: end;
}
.story-head h2 {
    max-width: 920px;
    margin: 14px 0 0;
    color: #fff;
    font-size: clamp(2.3rem, 4vw, 4.15rem);
    line-height: .94;
    letter-spacing: -.055em;
}
.story-head > p {
    max-width: 520px;
    margin: 0 0 3px auto;
    color: rgba(255,255,255,.38);
    font-size: .68rem;
    line-height: 1.72;
    text-align: right;
}
.story-stage {
    margin-top: 34px;
    display: grid;
    grid-template-columns: 1.35fr .65fr;
    min-height: 540px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 24px;
    background: rgba(7,11,17,.78);
    box-shadow: 0 26px 90px rgba(0,0,0,.22);
}
.story-visual {
    position: relative;
    min-height: 540px;
    overflow: hidden;
    background: #070b11;
}
.story-visual img {
    width: 100%;
    height: 100%;
    min-height: 540px;
    object-fit: cover;
    display: block;
    transform: scale(1.02);
    transition: opacity .35s ease, transform 6s ease;
}
.story-stage.is-changing .story-visual img {
    opacity: .2;
    transform: scale(1.05);
}
.story-visual-shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, transparent 50%, rgba(5,8,13,.36) 100%),
        linear-gradient(180deg, transparent 60%, rgba(5,8,13,.55) 100%);
    pointer-events: none;
}
.story-counter {
    position: absolute;
    left: 20px;
    bottom: 18px;
    display: flex;
    align-items: baseline;
    gap: 6px;
    padding: 8px 10px;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 999px;
    color: #fff;
    background: rgba(5,9,14,.62);
    backdrop-filter: blur(14px);
    font: 600 .52rem/1 monospace;
}
.story-counter i {
    color: rgba(255,255,255,.28);
    font-style: normal;
}
.story-copy {
    position: relative;
    padding: 42px 34px 30px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background:
        linear-gradient(160deg, rgba(255,255,255,.035), transparent 45%),
        rgba(7,11,17,.94);
}
.story-copy::before {
    content: "";
    position: absolute;
    width: 220px;
    height: 220px;
    right: -80px;
    top: -80px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(155,98,255,.14), transparent 68%);
    pointer-events: none;
}
.story-copy > span {
    position: relative;
    z-index: 1;
    margin-bottom: auto;
    color: var(--cyan);
    font: 650 .52rem/1 monospace;
    letter-spacing: .12em;
}
.story-copy h3 {
    position: relative;
    z-index: 1;
    margin: 0 0 14px;
    color: #fff;
    font-size: clamp(1.9rem, 3vw, 3.3rem);
    line-height: .95;
    letter-spacing: -.05em;
}
.story-copy p {
    position: relative;
    z-index: 1;
    margin: 0;
    color: rgba(255,255,255,.45);
    font-size: .68rem;
    line-height: 1.75;
}
.story-controls {
    position: relative;
    z-index: 1;
    margin-top: 28px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 12px;
}
.story-controls button {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 50%;
    color: #fff;
    background: rgba(255,255,255,.025);
    cursor: pointer;
    transition: .2s ease;
}
.story-controls button:hover {
    border-color: rgba(32,230,255,.3);
    transform: translateY(-2px);
}
.story-progress {
    height: 2px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255,255,255,.08);
}
.story-progress b {
    display: block;
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, var(--cyan), var(--violet), var(--pink));
}
.story-rail {
    margin-top: 12px;
    display: grid;
    grid-template-columns: repeat(6,minmax(0,1fr));
    gap: 8px;
}
.story-thumb {
    position: relative;
    min-height: 86px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 12px;
    background: #070b11;
    cursor: pointer;
    opacity: .55;
    transition: .2s ease;
}
.story-thumb:hover,
.story-thumb.is-active {
    opacity: 1;
    border-color: rgba(32,230,255,.3);
    transform: translateY(-2px);
}
.story-thumb img {
    width: 100%;
    height: 86px;
    object-fit: cover;
    display: block;
}
.story-thumb::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 45%, rgba(4,7,11,.72));
}
.story-local-note {
    margin-top: 15px;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 16px;
    align-items: start;
}
.story-local-note span {
    color: var(--orange);
    font: 650 .48rem/1 monospace;
    letter-spacing: .1em;
}
.story-local-note p {
    margin: 0;
    color: rgba(255,255,255,.24);
    font-size: .5rem;
    line-height: 1.6;
}
@media (max-width: 900px) {
    .story-head {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .story-head > p {
        margin: 0;
        text-align: left;
    }
    .story-stage {
        grid-template-columns: 1fr;
    }
    .story-visual,
    .story-visual img {
        min-height: 430px;
    }
    .story-copy {
        min-height: 320px;
    }
    .story-rail {
        grid-template-columns: repeat(3,minmax(0,1fr));
    }
}
@media (max-width: 560px) {
    .story-engine {
        padding: 64px 0 72px;
    }
    .story-visual,
    .story-visual img {
        min-height: 340px;
    }
    .story-copy {
        padding: 28px 22px 24px;
        min-height: 290px;
    }
    .story-rail {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }
    .story-local-note {
        grid-template-columns: 1fr;
        gap: 7px;
    }
}
@media (prefers-reduced-motion: reduce) {
    .story-visual img,
    .story-thumb,
    .story-controls button {
        transition: none;
    }
}

/* STORY V2 COMPACT — keep imagery supportive instead of dominating the viewport */
.story-stage{min-height:0!important;max-height:none}
.story-visual{min-height:0!important;height:clamp(340px,42vw,420px);max-height:54vh}
.story-visual img{min-height:0!important;height:100%;object-fit:cover;object-position:center 28%}
.story-copy{min-height:0!important;padding:30px 28px 24px}
@media(max-width:900px){
  .story-stage{grid-template-columns:1fr}
  .story-visual{height:clamp(300px,58vw,380px);max-height:48vh}
  .story-copy{min-height:240px!important}
}
@media(max-width:560px){
  .story-visual{height:clamp(260px,78vw,330px);max-height:46vh}
  .story-copy{min-height:220px!important;padding:24px 20px 22px}
}
