/* ============================================================
   Module scroll page — editorial briefing layout
   ============================================================ */

/* progress bar under masthead */
.progress { position: fixed; top: 0; left: 0; height: 3px; background: var(--amber); width: 0; z-index: 60; transition: width .1s linear; }

.masthead .time-pill { font-family: var(--font-mono); font-size: 11.5px; color: var(--text-soft); }

/* scene rail (chapter index) */
.rail { position: fixed; left: 26px; top: 50%; transform: translateY(-50%); z-index: 40; display: flex; flex-direction: column; gap: 3px; }
.rail a { display: flex; align-items: center; gap: 11px; padding: 5px 0; text-decoration: none; color: var(--text-faint); }
.rail a .rk { width: 22px; text-align: right; font-family: var(--font-mono); font-size: 10.5px; transition: color .2s; }
.rail a .rl { width: 22px; height: 2px; border-radius: 2px; background: var(--rule-strong); transition: width .25s ease, background .25s ease; }
.rail a:hover .rl { width: 30px; }
.rail a.active .rk { color: var(--amber); }
.rail a.active .rl { width: 38px; background: var(--amber); }
@media (max-width: 1180px) { .rail { display: none; } }

/* main column */
.mod { max-width: 716px; margin: 0 auto; padding: 0 32px; }
.scene { padding: 88px 0; border-top: 1px solid var(--rule); }
.scene:first-of-type { border-top: 0; }
.scene-tag { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 22px; display: flex; align-items: center; gap: 10px; }
.scene-tag b { color: var(--amber); font-weight: 600; white-space: nowrap; }
.scene h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); line-height: 1.12; margin-bottom: 24px; }
.scene p.tx { font-size: 1.18rem; line-height: 1.72; color: var(--text); margin-bottom: 18px; }
.scene p.tx:last-child { margin-bottom: 0; }
.scene p.tx b, .scene p.tx strong { color: var(--ink); font-weight: 600; }

/* opening hero scene */
.s-open { padding-top: 70px; min-height: 78vh; display: flex; flex-direction: column; justify-content: center; }
.s-open h1 { font-size: clamp(2.5rem, 5.6vw, 4.1rem); line-height: 1.06; letter-spacing: -.02em; margin-bottom: 30px; }
.s-open h1 .em { font-style: italic; color: var(--amber); }
.dropcap::first-letter { font-family: var(--font-display); font-weight: 700; float: left; font-size: 4.1rem; line-height: .82; padding: 6px 12px 0 0; color: var(--amber); }
.scrollcue { margin-top: 46px; display: flex; align-items: center; gap: 12px; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-faint); }
.scrollcue .dn { width: 30px; height: 30px; border: 1px solid var(--rule-strong); border-radius: 50%; display: grid; place-items: center; animation: bob 1.8s ease-in-out infinite; }
@keyframes bob { 0%,100%{transform:translateY(0)} 50%{transform:translateY(4px)} }

/* sam scene */
.sam2 { text-align: center; max-width: 620px; margin: 0 auto; }
.sam2 .av { width: 84px; height: 84px; border-radius: 50%; margin: 0 auto 26px; background: linear-gradient(140deg, var(--amber), var(--amber-deep)); color: #fff; display: grid; place-items: center; font-family: var(--font-display); font-size: 2.3rem; font-weight: 700; box-shadow: 0 0 0 7px var(--amber-soft); }
.sam2 .q { font-family: var(--font-display); font-style: italic; font-size: clamp(1.5rem, 3vw, 2.1rem); line-height: 1.36; color: var(--ink); }
.sam2 .by { font-family: var(--font-ui); font-size: 14.5px; color: var(--text-soft); margin-top: 26px; }
.sam2 .by b { color: var(--amber); }

/* big stat scene */
.stat-hero { text-align: center; }
.stat-hero .big { font-family: var(--font-display); font-weight: 700; line-height: .86; font-size: clamp(6rem, 19vw, 13rem); letter-spacing: -.02em; }
.stat-hero .lab { font-family: var(--font-display); font-size: clamp(1.4rem, 3vw, 2rem); color: var(--ink); margin-top: 8px; }
.stat-hero .ctx { font-size: 1.12rem; line-height: 1.7; color: var(--text-soft); max-width: 30em; margin: 22px auto 0; }

/* asset class figure */
.assets { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.asset { border-radius: 14px; padding: 22px 20px; background: var(--surface-2); border: 1px solid var(--rule); display: flex; flex-direction: column; gap: 12px; }
.asset.hl { background: var(--amber-soft); border: 1.5px solid var(--amber-line); }
.asset .an { font-family: var(--font-ui); font-weight: 700; font-size: 15px; color: var(--ink); letter-spacing: -.01em; }
.asset .ar { font-family: var(--font-mono); font-weight: 700; font-size: 1.9rem; letter-spacing: -.02em; line-height: 1; }
.asset .au { font-family: var(--font-mono); font-size: 11px; color: var(--text-faint); text-transform: uppercase; letter-spacing: .08em; margin-top: -6px; }
.asset ul { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 7px; }
.asset li { font-family: var(--font-ui); font-size: 13px; color: var(--text-soft); line-height: 1.4; display: flex; gap: 8px; align-items: baseline; }
.asset li::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: currentColor; flex-shrink: 0; opacity: .5; transform: translateY(-2px); }

/* leverage figure */
.lev { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
.lev-row { display: flex; gap: 12px; }
.lev-box { flex: 1; border-radius: 13px; padding: 18px; text-align: center; background: var(--surface-2); border: 1.5px solid var(--rule); }
.lev-box .k { font-family: var(--font-mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 5px; }
.lev-box .v { font-family: var(--font-mono); font-weight: 700; font-size: 1.7rem; letter-spacing: -.02em; line-height: 1; color: var(--ink); }
.lev-box .s { font-family: var(--font-ui); font-size: 11.5px; color: var(--text-faint); margin-top: 5px; }
.lev-box.amber { background: var(--amber-soft); border-color: var(--amber-line); }
.lev-box.amber .v { color: var(--amber); }
.lev-box.slate { background: var(--slate-soft); border-color: var(--slate-line); }
.lev-box.slate .v { color: var(--slate); }
.lev-plus { display: grid; place-items: center; font-family: var(--font-display); font-size: 1.6rem; color: var(--text-faint); flex: 0 0 22px; }
.lev-conn { display: flex; justify-content: center; padding: 9px 0; }
.lev-conn .ln { width: 1.5px; background: var(--rule-strong); height: 22px; }
.lev-grow { display: flex; flex-direction: column; align-items: center; padding: 4px 0; }
.lev-grow .badge { font-family: var(--font-mono); font-size: 11.5px; font-weight: 600; color: var(--moss); padding: 6px 14px; border-radius: 20px; background: var(--moss-soft); border: 1px solid var(--moss-line); }
.lev-result { border-radius: 13px; padding: 20px; background: var(--moss-soft); border: 1.5px solid var(--moss-line); display: grid; grid-template-columns: 1fr 1fr; gap: 18px; text-align: center; }
.lev-result .k { font-family: var(--font-mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 5px; }
.lev-result .v { font-family: var(--font-mono); font-weight: 700; font-size: 1.7rem; letter-spacing: -.02em; line-height: 1; color: var(--ink); }
.lev-result .v.win { color: var(--moss); }
.lev-result .p { font-family: var(--font-mono); font-size: 11.5px; font-weight: 600; color: var(--moss); margin-top: 5px; }
.lev-note { margin-top: 14px; border-radius: 11px; padding: 13px 16px; background: var(--surface-2); border: 1px solid var(--rule); font-family: var(--font-ui); font-size: 13.5px; color: var(--text-soft); text-align: center; }
.lev-note b { color: var(--ink); font-weight: 600; }

/* australia factors */
.factors { display: flex; flex-direction: column; gap: 14px; }
.factor { display: grid; grid-template-columns: 210px 1fr; gap: 26px; align-items: center; padding: 22px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--rule); }
.factor .fnum { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.7rem,3.6vw,2.4rem); letter-spacing: -.02em; line-height: 1.05; color: var(--slate); white-space: nowrap; }
.factor .fl { font-family: var(--font-ui); font-size: 14.5px; color: var(--text); line-height: 1.5; }
.factor .fl b { color: var(--ink); font-weight: 600; }
.factor .chips { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 9px; }
.factor .chips span { font-family: var(--font-mono); font-size: 11px; padding: 4px 9px; border-radius: 6px; background: var(--bg); border: 1px solid var(--rule); color: var(--text-soft); }

/* tax table */
.taxtable { width: 100%; border-collapse: collapse; border-radius: 14px; overflow: hidden; border: 1px solid var(--rule); font-family: var(--font-ui); }
.taxtable th { text-align: left; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-soft); padding: 13px 16px; background: var(--surface-2); border-bottom: 1px solid var(--rule); }
.taxtable td { padding: 16px; font-size: 14px; color: var(--text); vertical-align: top; border-bottom: 1px solid var(--rule); line-height: 1.5; }
.taxtable tr:last-child td { border-bottom: 0; }
.taxtable td.adv { font-weight: 600; color: var(--ink); font-size: 14.5px; width: 150px; }
.taxtable tr.hl td { background: var(--amber-soft); }
.taxtable .st { font-family: var(--font-mono); font-size: 11.5px; line-height: 1.45; }
.taxtable .st.chg { color: var(--terra); }
.taxtable .st.ok { color: var(--moss); }

/* what property isn't */
.nots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 30px; }
.notcard { border-radius: 14px; padding: 22px; background: var(--terra-soft); border: 1px solid var(--terra-line); }
.notcard .x { width: 30px; height: 30px; border-radius: 8px; background: color-mix(in srgb, var(--terra) 16%, transparent); display: grid; place-items: center; color: var(--terra); margin-bottom: 14px; }
.notcard h4 { font-family: var(--font-display); font-size: 1.4rem; color: var(--ink); margin-bottom: 7px; }
.notcard p { font-family: var(--font-ui); font-size: 13.5px; color: var(--text-soft); line-height: 1.5; }

/* investor mindset */
.principles { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 30px; }
.principle { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start; }
.principle .pn { font-family: var(--font-display); font-weight: 700; font-size: 2.2rem; line-height: 1; color: var(--amber); }
.principle h4 { font-family: var(--font-ui); font-weight: 700; font-size: 15.5px; color: var(--ink); margin-bottom: 5px; }
.principle p { font-family: var(--font-ui); font-size: 13.5px; color: var(--text-soft); line-height: 1.55; }

/* verified note */
.vnote { font-family: var(--font-ui); font-size: 12.5px; color: var(--text-faint); margin-top: 26px; padding-top: 16px; border-top: 1px solid var(--rule); line-height: 1.55; }
.vnote.warn { color: var(--terra); }

/* module complete */
.complete { padding: 80px 0; }
.complete-card { max-width: 640px; margin: 0 auto; text-align: center; background: var(--surface); border: 1px solid var(--rule); border-radius: 20px; padding: 46px 40px; box-shadow: var(--shadow-lift); }
.complete-card .chk { width: 58px; height: 58px; border-radius: 50%; margin: 0 auto 22px; background: var(--moss-soft); border: 1.5px solid var(--moss-line); display: grid; place-items: center; color: var(--moss); }
.complete-card .lbl { font-family: var(--font-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--moss); margin-bottom: 12px; }
.complete-card h2 { font-size: clamp(1.7rem, 3.2vw, 2.3rem); margin-bottom: 14px; }
.complete-card p { font-family: var(--font-ui); font-size: 15px; color: var(--text-soft); line-height: 1.6; margin-bottom: 28px; }
.complete-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* new-to-narration prompt bar (appears in scene 1 opening) */
.startbar { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin: 30px 0 8px; padding: 16px 18px; border: 1px solid var(--amber-line); background: var(--amber-soft); border-radius: 14px; }
.startbar .t { font-family: var(--font-ui); font-size: 14px; color: var(--text); flex: 1; min-width: 220px; }
.startbar .t b { color: var(--ink); }

/* footer nav */
.modnav { padding: 40px 0; border-top: 1px solid var(--rule); display: flex; align-items: center; justify-content: space-between; font-family: var(--font-ui); font-size: 14.5px; font-weight: 600; }
.modnav a { display: inline-flex; align-items: center; gap: 9px; color: var(--text-soft); transition: color .15s; }
.modnav a:hover { color: var(--amber); }
.modnav a.next { color: var(--amber); }

@media (max-width: 640px) {
  .scene { padding: 64px 0; }
  .assets, .nots, .principles { grid-template-columns: 1fr; }
  .factor { grid-template-columns: 1fr; gap: 10px; }
  .lev-result { grid-template-columns: 1fr; gap: 14px; }
}
