/* Linear keyboard-only slide progression; the progress rail is informational. */
.navigation,.navigation[hidden]{display:none!important}
#index{display:none!important}
#steps{pointer-events:none}
#steps [data-slide]{display:block;height:30px;min-width:10px;flex:1;position:relative}
#steps [data-slide]:before{content:'';height:3px;background:#d3d5e1;position:absolute;left:0;right:0;top:14px;border-radius:2px}
#steps [data-slide].done:before{background:#9ca6ff}
#steps [data-slide][aria-current=true]:before{background:var(--blue);height:5px;top:13px}

.family.parents{grid-template-columns:repeat(2,minmax(0,1fr));max-width:900px}
.story-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:24px 0}
.story-card,.scene-card,.theme-card{min-width:0;padding:clamp(18px,2.2vw,28px);border:1px solid #8395ff4a;border-radius:14px;background:linear-gradient(145deg,#172134ed,#101725dc);color:#e9edfa;backdrop-filter:blur(12px)}
.story-card>span,.scene-card>span{display:block;color:#b9c9ff;font-size:10px;letter-spacing:1.8px}
.story-card h3,.scene-card h3,.theme-card h3{font-size:clamp(20px,2.5vw,28px);margin:14px 0 10px;color:#f4f6ff}
.story-card p,.scene-card p,.theme-card p{font-size:clamp(14px,1.5vw,18px);line-height:1.55;color:#d5def3;margin:0}
.scene-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:24px 0}
.scene-card{padding:clamp(20px,3vw,34px);min-height:220px}
.scene-card small{display:block;margin-top:22px;padding-top:13px;border-top:1px solid #94a8df3c;color:#acbcdf;font-size:9px;letter-spacing:1.3px;line-height:1.6}
.theme-grid .theme-card{min-height:185px}
.theme-grid .theme-card small{font-size:10px;color:#b2c0e5;letter-spacing:1.7px}

@media(max-width:700px){
  #steps [data-slide]{height:24px;min-width:3px}
  #steps [data-slide]:before{top:11px;height:2px}
  #steps [data-slide][aria-current=true]:before{top:10px;height:4px}
  .family.parents,.story-grid,.scene-pair{grid-template-columns:1fr}
  .scene-card{min-height:0}
  .theme-grid .theme-card{min-height:0}
}
