.bp-story { max-width: 1160px; margin: 1.4rem auto 2rem; color: #103463; border: 1px solid #fff; border-radius: 1.4rem; background: rgb(240 249 255 / 88%); box-shadow: 0 15px 40px rgb(17 60 144 / 15%); }
.bp-story-summary { list-style: none; display: flex; align-items: center; gap: 1rem; padding: 1.3rem 1.5rem; cursor: pointer; border-radius: inherit; }
.bp-story-summary::-webkit-details-marker { display: none; }
.bp-story-summary > span:first-child { display: grid; gap: .2rem; }
.bp-story-summary small { color: #41617e; font-size: .88rem; }
.bp-story-summary strong { font-family: var(--plus1-title); font-size: 1.7rem; font-weight: 400; }
.bp-story-summary > b { margin-inline-start: auto; display: flex; align-items: center; gap: .8rem; color: #1257a8; font-size: .9rem; font-weight: 400; }
.bp-story-summary svg { width: 1.5rem; height: 1.5rem; fill: none; stroke: currentColor; stroke-width: 1.6; transition: rotate 220ms ease; }
.bp-story[open] .bp-story-summary svg { rotate: 180deg; }
.bp-story :focus-visible { outline: 3px solid #1260cf; outline-offset: 4px; }
.bp-story-body { border-radius: 0 0 1.4rem 1.4rem; overflow: clip; }
.bp-story-track { position: relative; }
.bp-story-stage { position: relative; padding: 2rem; min-height: 32rem; background: #edf6ff; isolation: isolate; overflow: clip; }
.bp-story-stage::before { content: ''; position: absolute; z-index: -2; inset: -5%; background: linear-gradient(100deg,rgb(243 250 255 / 98%) 12%,rgb(235 247 255 / 88%) 60%,rgb(225 242 255 / 66%)),url('assets/kerman-panorama-v45.webp?v=45.1') center / cover; }
.bp-story-toolbar { display: none; align-items: center; gap: .5rem; flex-wrap: wrap; position: relative; z-index: 5; }
.bp-story-ready .bp-story-toolbar { display: flex; }
.bp-story-toolbar button,.bp-story-gallery-tools button { border: 1px solid #b7d7ef; border-radius: 2rem; padding: .45rem .9rem; background: #ffffffbd; color: #174575; cursor: pointer; font: inherit; font-size: .85rem; transition: background 220ms ease,color 220ms ease; }
.bp-story-toolbar button[aria-current='step'] { color: #fff; background: #124d95; border-color: #124d95; }
.bp-story-close { margin-inline-start: auto; }
.bp-story-layout { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 2rem; min-height: 29rem; }
.bp-story-copy { position: relative; z-index: 2; }
.bp-story-chapter + .bp-story-chapter { margin-block-start: 2rem; }
.bp-story-chapter small { color: #14748d; font-size: .9rem; }
.bp-story-chapter h2 { font-family: var(--plus1-title); font-weight: 400; font-size: clamp(2rem,3.3vw,3.1rem); line-height: 1.7; margin: .55rem 0; }
.bp-story-chapter p { color: #385872; font-size: 1rem; line-height: 2; max-width: 31rem; margin: 0; }
.bp-story-line { display: block; overflow: clip; }
.bp-story-line > span { display: inline-block; }
.bp-story-object { position: relative; min-height: 25rem; perspective: 1100px; display: grid; place-items: center; }
.bp-story-orbit { position: absolute; width: 22rem; height: 22rem; max-width: 100%; color: #42aac7; opacity: .45; fill: none; stroke: currentColor; stroke-width: 1; }
.bp-story-orbit path { stroke-dasharray: 1000; stroke-dashoffset: calc(1000 * (1 - var(--story-p,1))); }
.bp-story-stack { width: min(21rem,90%); height: 17rem; position: relative; transform-style: preserve-3d; }
.bp-story-plate { position: absolute; inset: 0; display: flex; flex-direction: column; gap: 1.1rem; padding: 1.5rem; border: 1px solid #fff; border-radius: 1.2rem; background: linear-gradient(135deg,rgb(255 255 255 / 95%),rgb(196 228 251 / 85%)); box-shadow: 0 20px 38px -22px rgb(17 60 144 / 48%),inset 0 1px 0 #fff; overflow: hidden; backface-visibility: hidden; }
.bp-story-plate::after { content: ''; position: absolute; inset: -100%; background: linear-gradient(115deg,transparent 42%,#ffffffb3 49%,transparent 57%); transform: translateX(-25%); pointer-events: none; }
.bp-story-plate b { font-size: 1.2rem; color: #113c90; order: 5; margin-top: auto; }
.bp-story-plate span { height: .5rem; border-radius: 1rem; background: #93c6e9; width: 85%; }
.bp-story-plate span:nth-child(3) { width: 64%; background: #22c8ee; }
.bp-story-plate span:nth-child(4) { width: 74%; }
.bp-story-plate:nth-child(1) { transform: translate3d(0,26px,-55px) rotate(-5deg); }
.bp-story-plate:nth-child(2) { transform: translate3d(0,13px,-28px) rotate(-2deg); }
.bp-story-plate:nth-child(3) { background: linear-gradient(135deg,#fff,#d7efff); }
.bp-story-plate svg { width: 2rem; height: 2rem; fill: none; stroke: #1260cf; stroke-width: 1.5; }
.bp-story-glow { position: absolute; z-index: -1; width: 17rem; height: 17rem; border-radius: 45% 55% 62% 38%; background: radial-gradient(circle at 35% 35%,#b3e8ff,#22c8ee45 60%,#f1c66d3d); filter: blur(10px); }
.bp-story-particles { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: -1; }
.bp-story-particles i { position: absolute; width: 3px; height: 3px; border-radius: 50%; background: #b18a35; left: calc(8% + var(--n) * 8%); top: calc(12% + var(--n) * 6%); opacity: .35; }
.bp-story-gallery-heading { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.5rem 1.5rem .5rem; }
.bp-story-gallery-heading h3 { font-family: var(--plus1-title); font-size: 1.5rem; font-weight: 400; margin: 0; }
.bp-story-gallery-tools { display: flex; gap: .4rem; }
.bp-story:not(.bp-story-ready) .bp-story-gallery-tools { display: none; }
.bp-story-gallery { display: flex; gap: 1rem; padding: 1rem 1.5rem 2rem; overflow-x: auto; overscroll-behavior-inline: contain; scroll-snap-type: x proximity; scrollbar-color: #82b8dd transparent; touch-action: pan-x pan-y; }
.bp-story-feature { flex: 0 0 46%; min-width: 16rem; scroll-snap-align: start; border: 1px solid white; border-radius: 1rem; padding: 1.5rem; background: linear-gradient(145deg,#fff,#dcefff); box-shadow: 0 8px 20px #113c9010; }
.bp-story-feature strong { color: #1260cf; font-family: var(--plus1-number); font-size: 1.5rem; }
.bp-story-feature h4 { margin: .8rem 0 .4rem; font-size: 1.1rem; }
.bp-story-feature p { color: #41617e; line-height: 1.9; margin: 0; font-size: .93rem; }
.bp-story-gallery.is-dragging { scroll-snap-type: none; scroll-behavior: auto; user-select: none; }
.bp-story-cursor { position: fixed; top: 0; left: 0; z-index: 10040; width: 2.6rem; height: 2.6rem; display: grid; place-items: center; background: rgb(255 255 255 / 72%); border: 1px solid #6bbadd; color: #1260cf; border-radius: 50%; box-shadow: 0 4px 20px #1260cf20; pointer-events: none; font-family: sans-serif; }
.bp-story-cursor[hidden] { display: none; }
.bp-story-enhanced .bp-story-track { height: 300vh; height: 300svh; }
.bp-story-enhanced .bp-story-stage { position: sticky; top: 0; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: space-around; }
.bp-story-enhanced .bp-story-layout { flex: 1; }
.bp-story-enhanced .bp-story-stage::before { transform: translate3d(0,calc(var(--story-p,0) * -22px),0) scale(calc(1 + var(--story-p,0) * .04)); }
.bp-story-enhanced .bp-story-chapter { position: absolute; inset: 50% 0 auto; translate: 0 -50%; margin: 0; visibility: hidden; opacity: 0; }
.bp-story-enhanced .bp-story-chapter.is-active { visibility: visible; opacity: 1; }
.bp-story-enhanced .bp-story-stack { transform: perspective(1100px) rotateX(calc(8deg - var(--story-p,0) * 10deg)) rotateY(calc(-15deg + var(--story-p,0) * 30deg)) scale(calc(.94 + var(--story-spread,0) * .08)); }
.bp-story-enhanced .bp-story-plate:nth-child(1) { transform: translate3d(calc(var(--story-spread,0) * 18px),calc(26px + var(--story-spread,0) * 74px),calc(-55px - var(--story-spread,0) * 45px)) rotate(-5deg); }
.bp-story-enhanced .bp-story-plate:nth-child(2) { transform: translate3d(0,13px,-28px) rotate(-2deg); }
.bp-story-enhanced .bp-story-plate:nth-child(3) { transform: translate3d(calc(var(--story-spread,0) * -18px),calc(var(--story-spread,0) * -85px),calc(var(--story-spread,0) * 80px)); }
.bp-story-enhanced .bp-story-plate::after { transform: translateX(calc(-35% + var(--story-p,0) * 75%)); }
.bp-story-running .bp-story-glow { animation: bp-fluid-orbit 12s ease-in-out infinite alternate; }
.bp-story-running .bp-story-particles i { animation: bp-dust 8s ease-in-out infinite alternate; animation-delay: calc(var(--n) * -.65s); }
@keyframes bp-fluid-orbit { 0% { border-radius: 45% 55% 62% 38%; transform: translate(10px,-8px) rotate(0); } 100% { border-radius: 64% 36% 40% 60%; transform: translate(-15px,12px) rotate(30deg); } }
@keyframes bp-dust { from { translate: 0 0; opacity: .12; } to { translate: 15px -22px; opacity: .5; } }
@media (max-width: 720px) {
  .bp-story-summary { padding: 1rem; gap: .5rem; flex-wrap: wrap; }
  .bp-story-summary strong { font-size: 1.45rem; }
  .bp-story-summary > b { font-size: .8rem; }
  .bp-story-stage { padding: 1rem; }
  .bp-story-layout { grid-template-columns: 1fr; gap: .7rem; min-height: 0; }
  .bp-story-object { min-height: 15rem; grid-row: 1; }
  .bp-story-stack { width: min(15rem,76%); height: 11rem; }
  .bp-story-plate { padding: .9rem; gap: .7rem; }
  .bp-story-glow,.bp-story-orbit { width: 15rem; height: 15rem; }
  .bp-story-copy { min-height: 12rem; }
  .bp-story-chapter h2 { font-size: 1.8rem; }
  .bp-story-chapter p { font-size: .9rem; line-height: 1.85; }
  .bp-story-toolbar { gap: .3rem; }
  .bp-story-toolbar button { font-size: .75rem; padding: .4rem .6rem; }
  .bp-story-enhanced .bp-story-track { height: 260svh; }
  .bp-story-feature { flex-basis: 88%; min-width: 0; }
}
@media (max-height: 580px), (prefers-reduced-motion: reduce) {
  .bp-story-enhanced .bp-story-track { height: auto; }
  .bp-story-enhanced .bp-story-stage { position: relative; min-height: 0; }
  .bp-story-enhanced .bp-story-chapter { position: static; translate: none; visibility: visible; opacity: 1; margin-block: 1rem; }
  .bp-story-enhanced .bp-story-stack { transform: none; }
  .bp-story-enhanced .bp-story-plate:nth-child(1) { transform: translate3d(0,26px,-55px) rotate(-5deg); }
  .bp-story-enhanced .bp-story-plate:nth-child(3) { transform: none; }
  .bp-story-stage::before { transform: none !important; }
  .bp-story-running .bp-story-glow,.bp-story-running .bp-story-particles i { animation: none; }
  .bp-story-cursor { display: none !important; }
}
@media print { .bp-story { display: none !important; } }
@media (prefers-reduced-motion: reduce) { .bp-story * { transition: none !important; animation: none !important; } }
