/* ============================================================
   LightHouse.html - D130 platform-page additions (wiki/33 L-batch, DRAFT)
   + ROUND-1 owner rulings (2026-07-21, wiki/33 banner): hero recut to Site C
   copy/type (our shell + visual), the filing stack restored (its .rec-grid
   replacement retired from this file), the capstone figure moved to Home,
   three SITE-A sections appended (order TBD next round).
   New-section styles only; tokens from base.css :root (single source).
   D104 type ladder: section H2 = clamp(28px, 3vw, 40px) · 11px micro floor.
   Every animated state here carries reduced-motion + body.frozen coverage;
   elements riding .reveal/.r2/.r3 inherit the page's existing contracts.
   ============================================================ */

/* ---- L1 · hero product lockup (Site C harvest, above the eyebrow) ---- */
.iie-lockup { display: block; width: auto; height: 43px; margin-bottom: 26px; } /* round-12: +25% (34->43) per owner */
html.js .iie:not(.loaded) .iie-lockup { opacity: 0; transform: translateY(10px); }
.iie.loaded .iie-lockup { opacity: 1; transform: none; transition: opacity 760ms var(--ease-out-quint) 60ms, transform 760ms var(--ease-out-quint) 60ms; }
body.frozen .iie-lockup { opacity: 1 !important; transform: none !important; transition: none !important; }
@media (prefers-reduced-motion: reduce) { .iie-lockup { opacity: 1 !important; transform: none !important; transition: none !important; } }
@media (max-width: 760px) { .iie-lockup { height: 35px; margin-bottom: 20px; } } /* round-12: +25% (28->35) */

/* ---- L1R · round-1 hero recut: Site C lh-hero type re-tokened onto our
   shell. The .hline word-split entrance, the beam alignment and the
   First-light visual are untouched; only the copy block restyles. Site C's
   12ch H1 cap is dropped (our .hline pair IS the authored line control) and
   the scale is tempered to our wider grid. ---- */
/* ROUND-3 (C8.5/D134): brand all-caps restored on the hero H1 (Site C's
   lowercase display retired); sized to the house hero ladder */
.iie-h1--frag { text-transform: uppercase; font-size: clamp(46px, 5.6vw, 84px); line-height: 0.92; letter-spacing: -0.02em; max-width: none; }
.iie-h1--frag .hline-ac { color: var(--marigold); }
.iie-sub.lh-lead { max-width: 60ch; font-size: var(--fs-lead); } /* D154: was clamp(18,1.7vw,23) - the only hero lead off the house step */
.lh-human { margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--hair-strong); font-family: var(--font-ui); font-size: 15px; line-height: 1.6; color: var(--periwinkle); max-width: 56ch; }
/* entrance: rides the retired kicker's slot in the M2 reading order (0.95s) */
html.js .iie:not(.loaded) .lh-human { opacity: 0; }
.iie.loaded .lh-human { animation: iieUp 0.8s var(--ease-out-quint) 0.95s both; }
body.frozen .lh-human { opacity: 1 !important; transform: none !important; animation: none !important; }
@media (prefers-reduced-motion: reduce) { .lh-human { opacity: 1 !important; transform: none !important; animation: none !important; } }
@media (max-width: 760px) {
  .iie-h1--frag { font-size: clamp(32px, 9vw, 42px); }
  .iie-sub.lh-lead { max-width: 30ch; } /* D154: the 17px hard override dropped - the clamp floor (18px) now matches Home on phones */
  .lh-human { font-size: 14px; }
}

/* ---- THE DECISION (round-7, C8.9/D138): moved from Home by owner ruling.
   Ported at THIS page's type ladder (H2 40px, not Home's display scale);
   scanline cards + marigold hover underline carried over. ---- */
.sh-decision { position: relative; padding: var(--section-y) 0; background: radial-gradient(ellipse 64% 50% at 18% 18%, rgba(136,156,231,0.045), transparent 68%), var(--canvas-2); }
.sh-decision .sh-section-head { max-width: 760px; margin-bottom: var(--head-gap); }
.sh-index { font-family: var(--font-mono); font-size: 11px; line-height: 1.2; letter-spacing: 0.2em; text-transform: uppercase; color: var(--periwinkle); margin-bottom: var(--eyebrow-gap); }
.sh-decision h2 { font-family: var(--rajd); font-weight: 600; text-transform: uppercase; line-height: 1.0; letter-spacing: 0; font-size: clamp(28px, 3vw, 40px); color: var(--text-primary); } /* D149: port fallout - home.css's .sh-section h2 uppercase rule never followed the sh-decision rename onto this page */
.sh-decision .sh-section-head > p:last-child { margin-top: var(--dek-gap); max-width: 68ch; font-size: var(--fs-dek); line-height: 1.65; color: var(--text-secondary); }
.sh-card-tag { display: block; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.17em; text-transform: uppercase; color: var(--periwinkle); }
.sh-decision-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(202,169,11,0.2); }
.sh-decision-grid article { min-height: 250px; padding: 26px 24px 32px; border-right: 1px solid var(--hair); position: relative; overflow: hidden; }
.sh-decision-grid article:last-child { border-right: 0; }
.sh-decision-grid article::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(0deg, rgba(255,255,255,0.016) 0 1px, transparent 1px 5px); opacity: 0.7; }
.sh-decision-grid article > * { position: relative; z-index: 1; }
.sh-decision-grid article:hover { background: rgba(255,255,255,0.018); }
.sh-decision-grid article::after { content: ''; position: absolute; left: 24px; bottom: 0; width: 0; height: 2px; background: var(--marigold); transition: width 320ms var(--ease-out-expo); }
.sh-decision-grid article:hover::after { width: 44px; }
.sh-decision-grid h3 { margin-top: 48px; font-size: clamp(19px, 1.6vw, 24px); color: var(--text-primary); }
.sh-decision-grid p { margin-top: 16px; font-size: 15px; line-height: 1.6; color: var(--text-secondary); }
.sh-section-out { margin-top: 44px; }
.sh-text-link { display: inline-flex; gap: 12px; align-items: center; padding-bottom: 6px; border-bottom: 1px solid rgba(202,169,11,0.5); font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--marigold); }
.sh-text-link span { transition: transform 180ms var(--ease-out-quint); }
.sh-text-link:hover span { transform: translateX(4px); }
@media (prefers-reduced-motion: reduce) {
  .sh-decision-grid article::after, .sh-text-link span { transition: none !important; }
}
@media (max-width: 900px) {
  .sh-decision-grid { grid-template-columns: repeat(2, 1fr); }
  .sh-decision-grid article:nth-child(even) { border-right: 0; }
  .sh-decision-grid article:nth-child(-n+2) { border-bottom: 1px solid var(--hair); }
}
@media (max-width: 600px) {
  /* D154: mobile padding retired - the --section-y clamp floor governs */
  .sh-decision-grid { grid-template-columns: 1fr; }
  .sh-decision-grid article { min-height: 0; padding: 24px 0 30px; border-right: 0; border-bottom: 1px solid var(--hair); }
  .sh-decision-grid article:last-child { border-bottom: 0; }
  .sh-decision-grid article::after { left: 0; }
  .sh-decision-grid h3 { margin-top: 30px; }
}

/* (L3 re-formed records band rules retired - the original filing-stack rules
   returned to the page's inline block per the round-1 restore.) */

/* (L5 capstone figure rules retired - the figure moved to Home per H6.) */

/* (L6 2-row apps-ledger retired ROUND-2 (C8.3/D132) - absorbed by the
   .lh-missions index below, which carries all seven missions.) */

/* ---- MISSIONS DOCKET (round-3, C8.5/D134): the round-2 ledger rows were
   rejected ("lazy design") - re-cut as a filed document artifact in the
   page's dossier grammar: hairline frame, mono doc header, staggered rows,
   marigold hover tick, One-discipline verdict chip. No numbering. ---- */
.lh-missions { position: relative; padding: var(--section-y) 0; background: radial-gradient(ellipse 60% 46% at 86% 12%, rgba(136,156,231,0.04), transparent 66%), var(--canvas); } /* round-8: subtle brand glow returns */
.lhm-h { font-family: var(--rajd); font-weight: 600; text-transform: uppercase; line-height: 1.0; letter-spacing: 0; font-size: clamp(28px, 3vw, 40px); max-width: 18ch; color: var(--text-primary); } /* round-4: bright white per page grammar; D149: uppercase ladder restored (case drop was an omission, not a ruling) */
.lhm-lead { margin-top: var(--dek-gap); max-width: 62ch; font-size: var(--fs-dek); line-height: 1.6; color: var(--text-secondary); }
.lhm-doc { margin: var(--head-gap) auto 0; max-width: 880px; background: rgba(255,255,255,0.012); border: 1px solid var(--hair-strong); padding: 30px 38px 28px; }
.lhm-doc-head { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 16px; border-bottom: 1px solid var(--hair-strong); font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-tertiary); }
.lhm-doc-ref { color: var(--marigold); }
.lhm-rows { list-style: none; margin: 0; padding: 0; }
/* D147: docket rows recut as an exclusive accordion (grid-rows 0fr->1fr, the didx mechanism).
   Authored all-open so no-JS and print file everything; JS collapses to the first row. */
.lhm-rows li { position: relative; display: block; padding: 4px 0 4px 18px; border-bottom: 1px solid var(--hair); }
.lhm-rows li::before { content: ''; position: absolute; left: 0; top: 16px; bottom: 16px; width: 2px; background: var(--marigold); transform: scaleY(0); transform-origin: top; transition: transform 300ms var(--ease-out-expo); }
.lhm-rows li:hover::before { transform: scaleY(1); } /* D159: hover only - an always-on 2px marigold bar on the open row is the side-stripe the Hairline Rule bans; the +/- affordance carries open state */
.lhm-rows h3 { margin: 0; font-size: clamp(19px, 1.9vw, 25px); } /* D104 card-heading step (was 17-21) */
.lhm-q button { display: flex; width: 100%; justify-content: space-between; align-items: center; gap: 18px; min-height: 44px; padding: 8px 0; background: none; border: 0; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.lhm-q button:focus-visible { outline: 2px solid var(--marigold-hover); outline-offset: 3px; }
.lhm-x { position: relative; flex: 0 0 auto; width: 12px; height: 12px; opacity: 0.75; }
.lhm-x::before, .lhm-x::after { content: ''; position: absolute; left: 0; top: 5.25px; width: 12px; height: 1.5px; background: var(--text-tertiary); transition: transform 300ms var(--ease-out-expo); }
.lhm-x::after { transform: rotate(90deg); }
.lhm-rows li.open .lhm-x::after { transform: rotate(0deg); }
.lhm-panel { display: grid; grid-template-rows: 1fr; transition: grid-template-rows 360ms var(--ease-out-quint); }
.lhm-panel-in { overflow: hidden; }
html.js .lhm-rows li:not(.open) .lhm-panel { grid-template-rows: 0fr; }
.lhm-rows p { margin: 0; padding: 2px 0 16px; font-size: 15px; line-height: 1.6; color: var(--text-secondary); max-width: 62ch; }
.lhm-verdict { margin-top: 22px; display: inline-block; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--marigold); border: 1px solid rgba(202,169,11,0.5); padding: 8px 14px; }
html.js .lhm-rows li { opacity: 0; transform: translateY(8px); } /* round-5: hidden base state - the ddRow stagger was a no-op without it */
html.js .lh-missions .reveal.in .lhm-rows li { animation: ddRow 560ms var(--ease-out-quint) both; animation-delay: calc(140ms + var(--i, 0) * 90ms); }
@media (prefers-reduced-motion: reduce) {
  .lhm-rows li { opacity: 1 !important; transform: none !important; animation: none !important; }
  .lhm-rows li::before { transition: none !important; }
  .lhm-panel { transition: none !important; }
  .lhm-x::before, .lhm-x::after { transition: none !important; }
}
body.frozen .lhm-rows li { opacity: 1 !important; transform: none !important; animation: none !important; }
body.frozen .lhm-panel { transition: none !important; } /* M9: frozen kills motion, never layout */
body.snap .lhm-rows li .lhm-panel { grid-template-rows: 1fr !important; } /* deterministic QA frame: all filed open */
@media (max-width: 760px) {
  /* D154: mobile padding retired - the --section-y clamp floor governs */
  .lhm-doc { margin-top: 40px; padding: 22px 20px; }
  .lhm-rows li { padding: 2px 0 2px 14px; }
}

/* ---- FOLDER READOUTS (round-3, C8.5/D134): mini-ledger under each fviz -
   fills the folder's empty band and lands each card's verdict pair ---- */
.f-read { margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--hair); display: grid; grid-template-columns: auto 1fr; gap: 7px 14px; align-items: baseline; }
.f-read .rk { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-tertiary); } /* round-5: dim measured ~2.6:1 - lifted to the AA floor */
.f-read .rv { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-secondary); text-align: right; }

/* ---- L7 · continuous-monitoring eyebrow (now binds the band to the
   missions index's Continuous monitoring row) ---- */
.ftl .seclabel.ftl-eyebrow { justify-content: center; margin-bottom: 0; }

/* ---- L8 · outputs-taxonomy line (LX-A absorption, one home) ---- */
.dos-outputs { margin-top: 26px; max-width: 44ch; font-family: var(--font-ui); font-size: 15px; line-height: 1.6; color: var(--text-tertiary); }

/* ---- L9 · governance outro (one typographic line under the deploy grid) ---- */
.work-outro { margin-top: 40px; max-width: 62ch; font-family: var(--font-ui); font-size: 14px; line-height: 1.6; color: var(--text-tertiary); }

/* ============================================================
   SITE-A survivor (round-3): only sa-engine remains - the owner removed
   sa-rules + sa-mission and moved this band to sit after #trust.
   House grammar only: band/big/lead idiom; mono chips; entrances ride
   .reveal/.r2/.r3 (page contracts).
   ============================================================ */

/* ---- SA-1 · engine band, round-4 recut (C8.6/D135): icon narrative,
   visual LEFT / text RIGHT. Eight stroke-icon fragments flow through three
   quiet labeled lanes into the gold decision-product record (rhymes with
   the Home hero's record card). Chip rows retired. ---- */
.sa-engine { background: radial-gradient(ellipse 58% 44% at 14% 16%, rgba(202,169,11,0.045), transparent 66%), var(--canvas-2); position: relative; z-index: 0; } /* round-8: subtle brand glow returns */
.sa-grid { display: grid; grid-template-columns: minmax(340px, 460px) 1fr; gap: clamp(40px, 5vw, 84px); align-items: center; }
.sa-copy { order: 2; }
.sa-visual { order: 1; }
.sa-copy .big { font-size: clamp(28px, 3vw, 40px); max-width: 17ch; }
.sa-copy .lead { margin-top: var(--dek-gap); max-width: 58ch; font-size: var(--fs-dek); line-height: 1.6; }
.sa-visual svg { width: 100%; height: auto; overflow: visible; }
.sa-ic g { fill: none; stroke: rgba(136,156,231,0.78); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.sa-conv path { fill: none; stroke: rgba(136,156,231,0.20); stroke-width: 1; }
.sa-lanes path { fill: none; stroke: rgba(255,255,255,0.15); stroke-width: 1.1; }
/* round-5 audit: 9px --text-dim measured ~2.5:1 on canvas-2 - lifted to the
   house AA floor (the lw-link precedent: tertiary at 10px+) */
.sa-lanes text { font-family: var(--font-mono); font-size: calc(11px / var(--dscale, 1)); letter-spacing: 0.18em; text-transform: uppercase; fill: var(--text-tertiary); }
.sa-rec-glow { fill: rgba(202,169,11,0.09); }
.sa-rec-link { stroke: var(--marigold); stroke-width: 1.6; }
.sa-rec-card { fill: rgba(20,20,22,0.88); stroke: rgba(202,169,11,0.60); stroke-width: 1.5; }
.sa-rec-line { stroke: rgba(255,255,255,0.22); stroke-width: 4.5; }
.sa-rec-line.dim { stroke: rgba(255,255,255,0.11); }
.sa-rec-seal { fill: var(--marigold); }
@media (max-width: 900px) {
  .sa-grid { grid-template-columns: 1fr; gap: 34px; }
  .sa-copy { order: 1; }
  .sa-visual { order: 2; max-width: 520px; }
}

/* (SA-2 rules band + SA-3 mission band styles retired ROUND-3 - the
   sections were removed by owner ruling.) */

/* ---- ROUND-8 (C8.10/D139): the subtle section tone glows return - brand
   tints at 3-5% alpha so the bands breathe instead of sitting flat black.
   (The decision section already carries its periwinkle radial.) ---- */
.trustband { background: radial-gradient(ellipse 56% 44% at 12% 18%, rgba(136,156,231,0.04), transparent 66%); }
.apps { background: radial-gradient(ellipse 58% 46% at 88% 14%, rgba(136,156,231,0.035), transparent 66%), var(--canvas-2); }
