/* v9 additions: scroll story, live sadya batches, live journey map — in the green kasavu look */

/* ---------- Scroll story ---------- */
.s9 { background: var(--leaf-tint); }
.s9 .wrap9 { max-width: 1200px; margin: 0 auto; padding: 100px 24px 40px; }
.s9 .head9 h2 { font-size: clamp(32px, 3.6vw, 46px); color: var(--leaf-dark); }
.s9 .head9 p { color: var(--muted); font-size: 18px; margin-top: 12px; max-width: 34em; }
.story9 { display: grid; grid-template-columns: 1fr 340px; gap: 60px; }
.story9 .steps9 { display: grid; gap: 46vh; padding: 14vh 0 30vh; }
.story9 .st { opacity: .28; transition: opacity .4s; }
.story9 .st.on { opacity: 1; }
.story9 .st small { font-weight: 700; color: var(--turmeric); font-size: 15px; }
.story9 .st h3 { font-size: clamp(28px, 3vw, 40px); margin-top: 6px; color: var(--leaf-dark); }
.story9 .st p { color: var(--muted); margin-top: 10px; font-size: 17px; max-width: 30em; }
.story9 .stk { position: sticky; top: 90px; height: 640px; display: grid; place-items: center; }
.ph9 { width: 300px; height: 600px; border-radius: 44px; background: #10241A; padding: 10px; box-shadow: 0 40px 60px -30px rgba(15,59,34,.6); }
.ph9 .scr { position: relative; height: 100%; border-radius: 36px; overflow: hidden; background: var(--page); }
.ph9 .sc { position: absolute; inset: 0; opacity: 0; transform: translateY(18px); transition: opacity .5s ease, transform .5s ease; }
.ph9 .sc.on { opacity: 1; transform: none; }
.ph9 .top { background: var(--leaf-dark); color: #fff; padding: 36px 16px 14px; }
.ph9 .top small { color: var(--on-dark-muted); font-size: 12px; }
.ph9 .top b { display: block; font: 600 20px/1.15 var(--display); margin-top: 2px; }
.ph9 .bd { padding: 12px; display: grid; gap: 8px; }
.ph9 .it { display: flex; justify-content: space-between; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 9px 11px; font-size: 13px; }
.ph9 .it b { font-size: 14px; }
.ph9 .wa { background: #E7F4E4; border-color: #CDE6C9; display: block; }
.ph9 .waBtns { display: flex; justify-content: space-around; background: #E7F4E4; border: 1px solid #CDE6C9; border-radius: 12px; padding: 9px; font: 600 14px var(--ml); }
.ph9 .bigN { font: 700 80px/1 var(--display); color: var(--leaf-dark); text-align: center; margin-top: 60px; }
.dots9 { display: flex; gap: 6px; justify-content: center; margin-top: 16px; }
.dots9 i { width: 8px; height: 8px; border-radius: 50%; background: #CFE0D0; transition: all .3s; }
.dots9 i.on { width: 22px; border-radius: 4px; background: var(--leaf); }

/* ---------- Live sadya batches ---------- */
.b9 { background: var(--leaf-dark); color: #fff; position: relative; overflow: hidden; }
.b9 .wrap9 { max-width: 1200px; margin: 0 auto; padding: 100px 24px; }
.b9 h2 { font-size: clamp(32px, 3.6vw, 46px); color: #fff; }
.b9 .lede9 { color: var(--on-dark-muted); font-size: 18px; margin-top: 12px; max-width: 36em; }
.live9 { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; color: #FFB4AE; margin-bottom: 10px; }
.live9 i { width: 9px; height: 9px; border-radius: 50%; background: #FF6B61; animation: pulse9 1.4s infinite; }
@keyframes pulse9 { 0% { box-shadow: 0 0 0 0 rgba(255,107,97,.6); } 70% { box-shadow: 0 0 0 9px rgba(255,107,97,0); } }
.board9 { display: grid; grid-template-columns: 1fr 300px; gap: 20px; align-items: start; margin-top: 36px; }
.hall9 { background: rgba(0,0,0,.18); border: 1px solid rgba(255,255,255,.1); border-radius: 22px; padding: 20px; }
.hall9 .ctr { text-align: center; font-size: 13px; color: var(--on-dark-muted); border: 1px dashed rgba(255,255,255,.25); border-radius: 10px; padding: 5px; margin-bottom: 14px; }
.hr9 { display: grid; grid-template-columns: 54px 1fr; gap: 10px; align-items: center; margin: 8px 0; }
.hr9 > span { font-size: 12px; color: var(--on-dark-muted); font-weight: 600; }
.seats9 { display: grid; grid-template-columns: repeat(15, 1fr); gap: 5px; }
.seat9 { aspect-ratio: 1.6; border-radius: 40% 7px 40% 7px; background: rgba(255,255,255,.07); border: 1px dashed rgba(255,255,255,.2); position: relative; transition: background .35s, transform .35s; }
.seat9.sat { background: #3E9B48; border: 1px solid #6FBF73; transform: scale(1.05); }
.seat9.served::after { content: ""; position: absolute; inset: 22% 18%; border-radius: 50%; background: radial-gradient(circle at 30% 50%, #FBF6EC 0 22%, transparent 23%), radial-gradient(circle at 70% 35%, #E8B04A 0 14%, transparent 15%), radial-gradient(circle at 72% 70%, #C8323F 0 12%, transparent 13%); }
.seat9.done { background: rgba(62,155,72,.25); border: 1px solid rgba(111,191,115,.3); }
.side9 { display: grid; gap: 12px; }
.pn9 { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); border-radius: 18px; padding: 16px 18px; }
.pn9 small { color: var(--on-dark-muted); font-weight: 600; }
.pn9 .n { font: 600 50px/1 var(--display); margin-top: 4px; font-variant-numeric: tabular-nums; }
.pn9 .n span { font-size: 18px; color: var(--zari); }
.pn9 p { font-weight: 600; margin-top: 4px; }
.mt9 { height: 8px; border-radius: 999px; background: rgba(255,255,255,.12); overflow: hidden; margin-top: 10px; }
.mt9 i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #3E9B48, var(--zari)); transition: width .5s; }
.pn9.nx { background: var(--zari); color: var(--leaf-dark); border: 0; }
.pn9.nx small, .pn9.nx .n span { color: var(--leaf-dark); }

/* ---------- Live journey map ---------- */
.j9 { margin: 0 0 30px; padding: 56px 0; border-top: 1px solid var(--border); }
.j9 h3 { font-size: 32px; color: var(--leaf-dark); }
.j9 > p { margin-top: 14px; color: var(--muted); font-size: 17px; max-width: 36em; }
.jm9 { display: grid; grid-template-columns: 1fr 300px; gap: 18px; margin-top: 26px; }
.map9 { background: radial-gradient(700px 360px at 70% 70%, rgba(201,162,39,.16), transparent 70%), var(--leaf-dark); border-radius: 22px; overflow: hidden; }
.map9 text { font: 600 14px var(--body); fill: #D8E8DA; }
.arc9 { fill: none; stroke: rgba(201,162,39,.45); stroke-width: 2; stroke-dasharray: 6 8; animation: dash9 20s linear infinite; transition: stroke .3s, stroke-width .3s; }
.arc9.hi { stroke: #E2BE45; stroke-width: 3.5; stroke-dasharray: none; }
@keyframes dash9 { to { stroke-dashoffset: -280; } }
.gl9 { display: grid; gap: 8px; align-content: start; }
.g9 { width: 100%; text-align: left; background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 11px 13px; color: var(--ink); transition: transform .2s, border-color .2s; }
.g9:hover, .g9.on { transform: translateX(-4px); border-color: var(--leaf); }
.g9 .r { display: flex; justify-content: space-between; gap: 8px; }
.g9 b { font-size: 14px; } .g9 span { font-size: 12.5px; color: var(--muted); }
.g9 .pg { height: 5px; border-radius: 999px; background: var(--leaf-tint); margin-top: 8px; overflow: hidden; }
.g9 .pg i { display: block; height: 100%; background: linear-gradient(90deg, var(--leaf), var(--zari)); transition: width 1s linear; }

@media (prefers-reduced-motion: reduce) { .arc9, .live9 i { animation: none; } }
@media (max-width: 960px) {
  .story9, .board9, .jm9 { grid-template-columns: 1fr; }
  .story9 .stk { position: sticky; top: 60px; height: 340px; order: -1; z-index: 3; align-items: start; background: linear-gradient(var(--leaf-tint) 85%, transparent); }
  .ph9 { transform: scale(.52); transform-origin: top center; margin-bottom: -288px; }
  .dots9 { display: none; }
  .story9 .steps9 { gap: 55vh; padding: 6vh 0 30vh; }
  .seats9 { grid-template-columns: repeat(10, 1fr); }
  .s9 .wrap9, .b9 .wrap9 { padding-top: 72px; padding-bottom: 72px; }
}
