#our-story > .page-width > .section-heading { margin-bottom: 30px; }
.story-player { max-width: 800px; margin: 0 auto; padding: 24px 30px 20px; border: 1px solid #e4bfce; border-radius: 26px; background: #fffaf8b8; box-shadow: 0 15px 45px #a66c8610; }
.story-player-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; color: var(--rose); }
.story-player-top .tiny-label { font-size: 8px; letter-spacing: 1.6px; }
.story-play-indicator { font: 25px/1 var(--serif); }
.story-player[data-state=playing] .story-play-indicator { animation: story-heartbeat 2s ease-in-out infinite; }
.story-track { position: relative; height: 73px; margin: 9px 11px 0; }
.story-rail-line, .story-rail-fill { position: absolute; left: 0; top: 35px; height: 3px; border-radius: 5px; }
.story-rail-line { width: 87.5%; background: #ebcbd7; }
.story-rail-fill { width: 0; background: linear-gradient(90deg, #edb8cb, #b5557b); box-shadow: 0 0 9px #d495b13d; }
.story-stop { position: absolute; left: var(--stop); top: 36px; transform: translate(-50%, -50%); width: 32px; height: 32px; display: grid; place-items: center; background: #fff9f7; border: 1px solid #dcb7c6; border-radius: 50%; color: #b192a0; font-size: 9px; transition: background .5s, color .5s, box-shadow .5s; }
.story-last-stop { width: 44px; height: 44px; border-style: dashed; font-size: 11px; box-shadow: 0 0 0 5px #f9e9ee; }
.story-stop.is-reached { color: #fff9fc; background: #b86185; border-color: #b86185; box-shadow: 0 0 0 5px #f6dce6; }
.story-last-stop.is-reached { background: #a74b72; border: 2px solid #e5c175; box-shadow: 0 0 0 6px #f7dfb85e, 0 0 25px #d49bb047; }
.story-stop.is-arriving:after { content: ""; position: absolute; inset: -5px; border: 2px solid #d79bb3; border-radius: 50%; animation: story-stop-ring 1s ease-out both; }
.story-heart { position: absolute; left: 0; top: 35px; z-index: 3; width: 29px; height: 29px; color: #a84b73; transform: translate(-50%, -50%); filter: drop-shadow(0 3px 3px #9856763b); }
.story-heart svg { width: 100%; height: 100%; stroke: #fff8fc; stroke-width: 1px; }
.story-player[data-state=playing] .story-heart svg { animation: story-heartbeat 1.5s ease-in-out infinite; }
.story-status { font-size: 10px; min-height: 34px; text-align: center; line-height: 1.65; margin: 0 auto 14px; color: #967082; }
.story-stage { display: grid; align-items: center; min-height: 350px; position: relative; }
.story-waiting { padding: 30px 20px; text-align: center; }
.story-waiting-flower { width: 62px; height: 62px; display: block; margin: 0 auto 20px; }
.story-waiting .handwritten { font-size: 39px; line-height: 1.3; color: var(--rose); }
.story-waiting > span { display: block; margin-top: 17px; font-size: 10px; color: var(--muted); }
.story-chapter { position: relative; overflow: hidden; width: 100%; max-width: 610px; margin: 0 auto; min-height: 318px; padding: 32px 45px 27px; text-align: center; border: 1px solid #ecd4da; border-radius: 18px; background: #fffefa; box-shadow: 0 8px 22px #a36b8010; }
.story-chapter:focus { outline: none; }
.story-chapter-number { display: grid; place-items: center; width: 35px; height: 35px; margin: 0 auto 16px; border-radius: 50%; border: 1px dashed #d4a2b7; color: var(--rose); font-size: 10px; }
.story-chapter .tiny-label { font-size: 8px; color: #a77488; letter-spacing: 1.6px; }
.story-chapter h3 { margin: 12px 0 15px; font-size: 34px; line-height: 1.25; letter-spacing: -.9px; }
.story-chapter > p { max-width: 440px; margin: 0 auto; font-size: 13px; line-height: 1.9; }
.story-chapter-note { display: block; font-size: 26px; color: var(--rose); margin-top: 18px; line-height: 1.3; }
.story-proposal { max-width: 100%; min-height: 455px; padding: 29px 40px 24px; border: 1px solid #d1a45b; background: radial-gradient(ellipse at 50% 5%, #fff5e2, transparent 60%), linear-gradient(145deg, #fffafa, #fae5ef); box-shadow: 0 0 0 5px #f7dfb437, 0 16px 40px #ae6f8a24; }
.story-proposal-heart { position: absolute; left: 25px; top: 19px; color: #cc8da7; font: 44px var(--serif); rotate: -13deg; }
.story-proposal h3 { font-size: 45px; line-height: 1.13; margin-top: 14px; }
.story-proposal h3 em { color: var(--rose); }
.story-proposal > p { max-width: 400px; font-size: 12px; }
.story-us-photos { display: flex; align-items: center; justify-content: center; gap: 26px; margin: 23px 0 0; }
.story-us-photos figure { width: 112px; padding: 6px 6px 0; border: 1px solid #e2c8c1; background: #fffdfa; box-shadow: 0 5px 13px #8e58701a; transform: rotate(-6deg); }
.story-us-photos figure:nth-child(2) { transform: rotate(7deg); }
.story-us-photos img { width: 100%; height: 109px; object-fit: cover; object-position: center 25%; }
.story-us-photos figcaption { padding: 5px 0 6px; color: var(--rose); font: 19px/1.1 var(--hand); }
.story-proposal .story-chapter-note { font-size: 28px; margin-top: 18px; }
.story-controls { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 12px 18px; margin-top: 24px; }
.story-controls .button { min-height: 44px; font-size: 10px; padding: 10px 18px; }
.story-text-button { border: 0; background: transparent; font-size: 10px; text-underline-offset: 4px; text-decoration: underline; color: var(--muted); min-height: 44px; padding: 6px 3px; border-radius: 7px; }
.story-text-button:disabled { opacity: .4; text-decoration: none; }
.story-stage.show-all { display: grid; gap: 22px; }
.story-stage.show-all .story-chapter { max-width: 100%; min-height: 0; }
#storyTogether { margin-top: 30px; }
.story-checkpoint-burst { position: absolute; z-index: 4; top: 35px; width: 0; height: 0; pointer-events: none; }
.story-celebration { position: fixed; inset: 0; z-index: 145; overflow: hidden; pointer-events: none; }
.story-flight-photo { position: absolute; top: 105%; width: 110px; padding: 6px 6px 0; background: #fffaf6; box-shadow: 0 6px 25px #74415830; border: 1px solid #e6c7d2; animation: story-photo-flight 7s cubic-bezier(.22,.45,.45,1) both; }
.story-flight-photo img { display: block; width: 100%; height: 112px; object-fit: cover; object-position: center 30%; }
.story-flight-photo figcaption { text-align: center; padding: 6px 0 7px; color: var(--rose); font: 19px/1 var(--hand); }
@keyframes story-heartbeat { 0%, 100% { scale: 1; } 40% { scale: 1.14; } 60% { scale: 1.03; } }
@keyframes story-stop-ring { from { opacity: .8; scale: .8; } to { opacity: 0; scale: 2.1; } }
@keyframes story-photo-flight {
  0% { opacity: 0; transform: translate(-50%, 0) scale(.65) rotate(var(--photo-start-turn)); }
  12% { opacity: .94; }
  80% { opacity: .9; }
  100% { opacity: 0; transform: translate(calc(-50% + var(--photo-drift)), -135svh) scale(1) rotate(var(--photo-turn)); }
}
@media (max-width: 760px) {
  #our-story > .page-width > .section-heading { margin-bottom: 25px; }
  .story-player { padding: 20px 22px 19px; border-radius: 21px; }
  .story-player-top .tiny-label { font-size: 7px; letter-spacing: 1.1px; }
  .story-stage { min-height: 340px; }
  .story-chapter { padding: 26px 29px; min-height: 310px; }
  .story-chapter h3 { font-size: 31px; }
  .story-chapter > p { font-size: 12px; }
  .story-chapter-note { font-size: 25px; }
  .story-proposal { min-height: 440px; padding: 26px 24px 22px; }
  .story-proposal h3 { font-size: 40px; }
  .story-proposal-heart { font-size: 34px; left: 15px; top: 14px; }
  .story-proposal .tiny-label { font-size: 7px; }
  .story-proposal .story-chapter-note { font-size: 25px; }
  .story-us-photos figure { width: 100px; }
  .story-us-photos img { height: 100px; }
  .story-controls { gap: 8px 14px; }
  .story-flight-photo { width: 82px; padding: 4px 4px 0; }
  .story-flight-photo img { height: 89px; }
  .story-flight-photo figcaption { font-size: 16px; }
}
@media (max-width: 480px) {
  #our-story > .page-width { padding-inline: 16px; }
  #our-story .section-heading h2 { font-size: 32px; }
  #our-story .section-heading p { font-size: 11px; }
  .story-player { padding: 16px 13px; border-radius: 18px; }
  .story-player-top .tiny-label { font-size: 6px; }
  .story-track { margin-inline: 5px; height: 69px; }
  .story-stop { width: 28px; height: 28px; font-size: 8px; }
  .story-last-stop { width: 38px; height: 38px; font-size: 9px; }
  .story-heart { width: 26px; height: 26px; }
  .story-status { font-size: 9px; min-height: 31px; margin-bottom: 10px; }
  .story-stage { min-height: 335px; }
  .story-chapter { min-height: 315px; padding: 25px 22px; }
  .story-chapter h3 { font-size: 29px; }
  .story-chapter .tiny-label { font-size: 6px; letter-spacing: 1.2px; }
  .story-chapter > p { font-size: 12px; line-height: 1.85; }
  .story-chapter-note { font-size: 24px; }
  .story-waiting .handwritten { font-size: 33px; }
  .story-waiting > span { font-size: 9px; }
  .story-proposal { min-height: 440px; padding: 28px 19px 23px; }
  .story-proposal h3 { font-size: 38px; }
  .story-proposal > p { font-size: 11px; }
  .story-proposal-heart { display: none; }
  .story-us-photos { gap: 20px; margin-top: 20px; }
  .story-us-photos figure { width: 91px; padding: 5px 5px 0; }
  .story-us-photos img { height: 93px; }
  .story-proposal .story-chapter-note { font-size: 24px; }
  .story-controls { gap: 5px 13px; margin-top: 18px; }
  .story-controls .button { font-size: 9px; padding-inline: 13px; }
  .story-text-button { font-size: 9px; }
  .story-flight-photo { width: 70px; }
  .story-flight-photo img { height: 77px; }
  .story-flight-photo figcaption { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .story-celebration, .story-checkpoint-burst { display: none; }
}
