/* One continuous, reversible story; it never captures or replaces page scrolling. */
.story-page{display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,36%);gap:44px;max-width:1500px;margin:auto;padding:0 40px;--header-height:78px}
.story-content{grid-column:1;grid-row:1;min-width:0}
.story-content .container{width:100%;max-width:none}
.story-content .hero{overflow:visible;padding-top:64px}
.story-content .hero-grid{grid-template-columns:1fr;gap:38px}
.story-content h1{font-size:clamp(42px,4.6vw,68px);max-width:700px}
.story-content .hero-slogan{font-size:clamp(22px,2vw,28px)}
.story-content .section{padding:70px 0}
.story-content .section-white{background:transparent}
.story-content .section-head h2{font-size:clamp(30px,3.15vw,44px)}
.story-content .hero-card .card-inner{display:grid;grid-template-columns:42% 1fr;gap:0 8px}
.story-content .photo-frame{grid-row:1/5;height:100%;min-height:340px}
.story-content .master-top{padding-top:14px}
.story-content .hero-card .quote{font-size:14px;margin:12px;padding:12px}
.story-content .price-pill{padding:10px}.story-content .price-pill small{font-size:11px}.story-content .price-pill strong{font-size:20px}
.story-content .problem-grid,.story-content .steps{grid-template-columns:repeat(2,minmax(0,1fr))}
.story-content .work-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}
.story-content .honesty{grid-template-columns:1fr;gap:28px}
.story-content .map-wrap{grid-template-columns:1fr}
.story-content .map-info{padding:30px}
.story-content .map-info h2{font-size:32px}
.story-content .map-info .tariff{max-width:560px}
.story-content .map-scroll,.story-content .map-scroll img{height:auto;max-height:none}
.story-content .map-scroll img{min-width:0}
.story-content .map-scroll.is-zoomed{max-height:530px}
.story-content .map-scroll.is-zoomed img{min-width:850px}
.story-content .contact{padding:36px;display:block}
.story-content .contact .btn{margin-top:24px}
.story-content .contact h2{font-size:36px}
.story-rail{grid-column:2;grid-row:1;position:sticky;top:calc(var(--header-height) + 18px);align-self:start;height:calc(100svh - var(--header-height) - 36px);max-height:820px;min-height:520px;z-index:10;padding:26px 0}
.story-card{height:100%;display:flex;flex-direction:column;border:1px solid #dbe7ef;border-radius:32px;background:radial-gradient(ellipse at 50% 42%,#fff 0%,#edf5f9 70%);box-shadow:0 24px 70px #183d5710;overflow:hidden;position:relative}
.story-card:before{content:'';position:absolute;inset:0;pointer-events:none;background-image:radial-gradient(#b0c5d544 .8px,transparent .8px);background-size:22px 22px;mask-image:linear-gradient(#0005,transparent 75%)}
.story-top{position:relative;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:22px 24px 0}
.story-top .kicker{font-size:10px;letter-spacing:.12em}
.story-toggle{position:relative;width:36px;height:36px;flex-shrink:0;border:1px solid #ccdae5;border-radius:50%;background:#ffffffb3;color:#35576f;cursor:pointer;display:grid;place-items:center;padding:0}
.story-toggle svg{width:13px;height:13px;fill:currentColor}
.story-toggle[hidden]{display:none}
.story-toggle .play-icon{display:none}.story-toggle[aria-pressed=true] .play-icon{display:block}.story-toggle[aria-pressed=true] .pause-icon{display:none}
.story-toggle:focus-visible{outline:3px solid #2165d5;outline-offset:3px}
.story-visual{min-height:0;flex:1;position:relative;display:grid;place-items:center;padding:0 6px}
.fridge-svg{display:block;width:100%;height:100%;max-height:580px;overflow:visible}
.fridge-svg [data-story-part]{transform-box:view-box}
.story-caption{position:relative;padding:0 24px 24px}
.story-track{height:3px;background:#d5e2eb;border-radius:4px;margin-bottom:20px;overflow:hidden}
.story-track span{display:block;height:100%;background:linear-gradient(90deg,#2165d5,#20a974);transform:scaleX(0);transform-origin:left;will-change:transform}
.story-phase{display:none}.story-phase.is-current{display:block;animation:none}
.story-stage-title{display:flex;align-items:center;gap:10px;margin-bottom:7px;font-size:19px;line-height:1.25;letter-spacing:-.02em}
.story-stage-title small{font-size:11px;color:#7192a9;font-weight:700;letter-spacing:.05em;white-space:nowrap}
.story-phase p{font-size:13px;color:#647d8e;line-height:1.5;margin:0;min-height:40px}
.story-caption .story-hint{font-size:10px;color:#7a909f;line-height:1.5;margin:14px 0 0}
.story-content .step{background:#fff;transition:border-color .3s,box-shadow .3s}
.story-content .step.is-story-active{border-color:#83b3e8;box-shadow:0 8px 28px #2165d510}
.story-content .step.is-story-active .step-num{background:#2165d5}
.story-mobile-phase{display:none}
@media(min-width:1550px){.story-page{gap:70px}}
@media(min-width:901px) and (max-height:720px){.story-rail{min-height:450px;padding:12px 0}.story-top{padding-top:12px}.story-caption{padding-bottom:16px}.story-caption .story-hint{display:none}.story-track{margin-bottom:12px}.story-phase p{font-size:12px}}
@media(max-width:1100px) and (min-width:901px){.story-page{padding:0 26px;gap:28px;grid-template-columns:minmax(0,1fr) 330px}.story-content .hero-card .card-inner{display:block}.story-content .photo-frame{height:320px;min-height:0}.story-content h1{font-size:48px}.story-content .master-top{padding-top:18px}}
@media(max-width:900px){
  .story-page{display:block;width:min(100% - 28px,760px);padding:0;--header-height:78px}
  .story-rail{position:sticky;top:var(--header-height);height:168px;min-height:0;max-height:none;z-index:35;padding:0;margin:0 -14px;background:#f5f8fbef;backdrop-filter:blur(14px)}
  .story-card{display:grid;grid-template-columns:154px minmax(0,1fr);grid-template-rows:1fr;gap:0;border-radius:0;border-width:0 0 1px;box-shadow:0 7px 24px #16385208;max-width:790px;margin:auto;background:linear-gradient(100deg,#eaf3f9,#f8fbfd)}
  .story-top{position:absolute;right:12px;top:8px;z-index:2;padding:0}.story-top .kicker{display:none}.story-toggle{width:28px;height:28px}.story-toggle svg{width:10px;height:10px}
  .story-visual{grid-column:1;grid-row:1;width:154px;height:166px;padding:0}.fridge-svg{width:154px;height:166px}
  .story-caption{grid-column:2;grid-row:1;align-self:center;padding:16px 16px 12px 4px}
  .story-track{margin:0 30px 12px 0;height:2px}.story-stage-title{display:block;font-size:15px;margin-bottom:5px;padding-right:8px}.story-stage-title small{display:block;font-size:9px;margin-bottom:4px}.story-phase p{font-size:11px;line-height:1.4;min-height:0}.story-caption .story-hint{display:none}
  .story-content .hero{padding-top:32px}.story-content .hero-grid{gap:30px}.story-content h1{font-size:clamp(38px,8vw,60px)}
  .story-content .section{padding:54px 0}.story-content .section-head h2{font-size:clamp(30px,6vw,40px)}
  .story-content .photo-frame{min-height:280px}.story-content .contact{padding:28px}.story-content .contact h2{font-size:30px}
  .story-page section[id]{scroll-margin-top:168px}
}
@media(max-width:560px){.story-content .hero-card .card-inner{display:block}.story-content .photo-frame{height:auto;min-height:0;aspect-ratio:1/1}.story-content .master-top{padding-top:20px}.story-content .hero-card .quote{font-size:15px;padding:16px}.story-content .price-pill{padding:14px}.story-content .price-pill small{font-size:13px}.story-content .price-pill strong{font-size:22px}.story-content .steps,.story-content .problem-grid{grid-template-columns:1fr}.story-content .map-info{padding:24px}.story-content .map-info h2{font-size:30px}.story-content .hero-slogan{font-size:23px}}
@media(max-width:360px){.story-card{grid-template-columns:132px minmax(0,1fr)}.story-visual,.fridge-svg{width:132px}.story-stage-title{font-size:14px}.story-phase p{font-size:10px}.story-caption{padding-right:12px}}
@media(prefers-reduced-motion:reduce){.story-track span,.story-content .step{transition:none}.story-caption .story-hint{display:none}}
