/* ============================================================
   Executive summary (live-ar/summary/): five short visual pages.
   Builds on live-ar.css; the version switch is shared with the full proposal (live-ar.css).
   ============================================================ */

@media (min-width: 1281px) { .sum .lar-section, .sum .lar-close { padding-left: var(--gutter); } }

/* ---------- Page 1: hero facts ---------- */
.sum-hero { padding-bottom: clamp(5.5rem, 9vw, 7rem) !important; }
.sum-proof img.is-right { object-position: 100% 50%; }
.sum-readtime { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1.1rem; margin-top: 1.6rem; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--paper); }
.sum-readtime span + span::before { content: "/"; margin-right: 1.1rem; color: var(--cyan); }
.sum-readtime a { margin-left: auto; color: var(--cyan); background: linear-gradient(currentColor, currentColor) left bottom / 100% 1px no-repeat; padding-bottom: 2px; }
.sum-keyfacts { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; margin: 3rem 0 0; background: rgba(242, 242, 237, 0.14); border: 1px solid rgba(242, 242, 237, 0.14); backdrop-filter: blur(10px); }
.sum-keyfacts div { padding: 1.2rem 1.3rem 1.35rem; background: rgba(9, 11, 14, 0.62); }
.sum-keyfacts dt { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--cyan); }
.sum-keyfacts dd { margin: 0.55rem 0 0; font-family: var(--font-title); font-size: clamp(1.05rem, 0.85rem + 0.55vw, 1.4rem); line-height: 1.2; color: var(--paper); }

/* ---------- Page shell ---------- */
.sum-page { padding-block: clamp(5rem, 9vw, 8.5rem); }
.sum-head { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(1.2rem, 3vw, 3rem); align-items: end; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.sum-head .title-xl { margin-bottom: 0; max-width: 16ch; }
.sum-count { font-family: var(--font-title); font-size: 1.1rem; line-height: 1; color: var(--silver); letter-spacing: 0.04em; }
.sum-count b { display: block; font-weight: 400; font-size: clamp(4.5rem, 3rem + 6vw, 9rem); line-height: 0.8; color: var(--cyan); }
[data-tone="paper"] .sum-count { color: var(--ink-soft); }
[data-tone="paper"] .sum-count b { color: var(--ink); -webkit-text-stroke: 0; }
.sum-statement { max-width: 46rem; font-size: clamp(1.15rem, 0.95rem + 0.6vw, 1.55rem); line-height: 1.45; }
.sum-sublabel { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--cyan); margin-bottom: 1rem; }
[data-tone="paper"] .sum-sublabel { color: var(--ink-soft); }
.sum-note { margin-top: 1.4rem; font-size: 0.85rem; color: var(--silver); }
[data-tone="paper"] .sum-note { color: var(--ink-soft); }
.sum-more { display: inline-flex; align-items: center; gap: 0.75rem; margin-top: clamp(2.2rem, 4vw, 3.2rem); padding: 0.9rem 1.2rem; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--paper); box-shadow: inset 0 0 0 1px rgba(242, 242, 237, 0.35); transition: background 400ms var(--ease-out), color 400ms var(--ease-out); }
.sum-more svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; transition: translate 400ms var(--ease-out); }
.sum-more:hover { background: var(--cyan); color: var(--ink); box-shadow: none; }
.sum-more:hover svg { translate: 4px 0; }
[data-tone="paper"] .sum-more { color: var(--ink); box-shadow: inset 0 0 0 1px rgba(9, 11, 14, 0.35); }
[data-tone="paper"] .sum-more:hover { background: var(--ink); color: var(--paper); }

/* ---------- Page 2: experience ---------- */
.sum-film-grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); align-items: start; }
.sum-film-copy .prose { color: var(--paper-soft); }
.sum-flow { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: rgba(242, 242, 237, 0.14); border: 1px solid rgba(242, 242, 237, 0.14); counter-reset: flow; }
.sum-flow li { counter-increment: flow; padding: 1rem 1rem 1.15rem; background: var(--ink); font-size: 0.84rem; line-height: 1.45; color: var(--paper-soft); }
.sum-flow b { display: block; margin-bottom: 0.4rem; font-family: var(--font-title); font-weight: 400; font-size: 1.25rem; color: var(--paper); }
.sum-flow b::before { content: "0" counter(flow) " "; font-family: var(--font-body); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.12em; color: var(--cyan); vertical-align: 0.35em; margin-right: 0.35rem; }
.sum-concept { margin: 1.6rem 0 0; }
.sum-concept img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }

/* ---------- Page 3: build ---------- */
.sum-caps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.6rem); margin-top: clamp(2.2rem, 4vw, 3.2rem); }
.sum-caps article { padding: 1.6rem 1.5rem 1.8rem; background: var(--ink); color: var(--paper-soft); }
.sum-cap-num { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.14em; color: var(--cyan); }
.sum-caps h3 { margin: 0.9rem 0 0.6rem; font-family: var(--font-title); font-weight: 400; font-size: clamp(1.4rem, 1.1rem + 0.8vw, 1.9rem); color: var(--paper); }
.sum-caps p { font-size: 0.92rem; line-height: 1.5; }
.sum-timeline { margin-top: clamp(2.8rem, 5vw, 4rem); }
.sum-timeline ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); position: relative; }
.sum-timeline ol::before { content: ""; position: absolute; left: 0; right: 0; top: 1.05rem; height: 1px; background: var(--rule-paper); }
.sum-timeline li { position: relative; padding-right: 1rem; font-size: 0.9rem; line-height: 1.4; color: var(--ink-soft); }
.sum-timeline b { position: relative; display: grid; place-items: center; width: 2.1rem; height: 2.1rem; margin-bottom: 0.9rem; border-radius: 50%; background: var(--ink); color: var(--cyan); font-family: var(--font-title); font-weight: 400; font-size: 1rem; }
.sum-timeline li:nth-child(4) b { background: var(--cyan); color: var(--ink); }
.sum-ashes { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(1.8rem, 4vw, 4rem); align-items: center; margin-top: clamp(2.8rem, 5vw, 4rem); }
.sum-ashes img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.sum-h3 { margin-bottom: 0.9rem; font-family: var(--font-title); font-weight: 400; font-size: clamp(1.5rem, 1.1rem + 1.1vw, 2.3rem); line-height: 1.1; color: var(--ink); }
.sum-ashes p { color: var(--ink-soft); }
.sum-deliver { margin-top: clamp(2.2rem, 4vw, 3rem); padding: 1.2rem 1.4rem; border-left: 3px solid var(--cyan); background: rgba(9, 11, 14, 0.05); font-size: 0.98rem; color: var(--ink); max-width: 52rem; }

/* ---------- Page 4: budget ---------- */
.sum-budget { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.sum-total { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.5rem 1.2rem; }
.sum-total span { font-family: var(--font-title); font-size: clamp(3.6rem, 2rem + 6vw, 7.5rem); line-height: 0.9; color: var(--paper); }
.sum-total small { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cyan); }
.sum-bar { display: flex; height: 22px; margin: 2rem 0 1.6rem; gap: 3px; }
.sum-bar span { width: var(--w); background: var(--c); transform-origin: left center; }
.js .sum-bar span { transform: scaleX(0); transition: transform 1.2s var(--ease-out); }
.js .sum-bar.is-in span { transform: scaleX(1); }
.sum-bar span:nth-child(2) { transition-delay: 90ms; } .sum-bar span:nth-child(3) { transition-delay: 180ms; } .sum-bar span:nth-child(4) { transition-delay: 270ms; } .sum-bar span:nth-child(5) { transition-delay: 360ms; }
.c1 { --c: var(--cyan); } .c2 { --c: var(--violet); } .c3 { --c: #5E9BD6; } .c4 { --c: var(--silver); } .c5 { --c: #3E4A55; }
.sum-legend { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.sum-legend li { display: grid; grid-template-columns: 6.2rem minmax(0, 1fr); column-gap: 1.2rem; padding: 0.95rem 0 0.95rem 1.1rem; border-top: 1px solid var(--rule-ink); position: relative; }
.sum-legend li::before { content: ""; position: absolute; left: 0; top: 1.15rem; width: 8px; height: 8px; background: var(--c); }
.sum-legend b { grid-row: span 2; font-family: var(--font-title); font-weight: 400; font-size: 1.35rem; color: var(--paper); }
.sum-legend span { font-weight: 700; color: var(--paper); }
.sum-legend small { font-size: 0.84rem; color: var(--silver); }
.sum-support { padding: 1.8rem 1.6rem; background: rgba(242, 242, 237, 0.05); box-shadow: inset 0 0 0 1px rgba(242, 242, 237, 0.12); }
.sum-support-total { font-family: var(--font-title); font-size: clamp(2.4rem, 1.6rem + 2vw, 3.4rem); line-height: 1; color: var(--paper); }
.sum-support-total small { display: block; margin-top: 0.6rem; font-family: var(--font-body); font-size: 0.86rem; line-height: 1.4; color: var(--silver); }
.sum-support ul { list-style: none; margin: 1.4rem 0 0; padding: 0; }
.sum-support li { display: flex; justify-content: space-between; gap: 1rem; padding: 0.7rem 0; border-top: 1px solid var(--rule-ink); font-size: 0.9rem; color: var(--paper-soft); }
.sum-support li b { color: var(--paper); font-weight: 700; }

/* ---------- Page 5: track record ---------- */
.sum-proof { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(0.8rem, 1.5vw, 1.3rem); margin-top: clamp(2.2rem, 4vw, 3.2rem); }
.sum-proof figure { margin: 0; }
.sum-proof img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; background: #15181c; }
.sum-proof figcaption { margin-top: 0.85rem; font-size: 0.84rem; line-height: 1.45; color: var(--ink-soft); }
.sum-proof figcaption b { display: block; margin-bottom: 0.2rem; font-size: 0.92rem; color: var(--ink); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .sum-keyfacts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sum-film-grid, .sum-budget, .sum-ashes { grid-template-columns: 1fr; }
  .sum-film-grid .lar-film-player { order: 0; }
  .sum-proof { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .sum-caps { grid-template-columns: 1fr; }
  .sum-timeline ol { grid-template-columns: 1fr; gap: 0.9rem; }
  .sum-timeline ol::before { left: 1.05rem; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
  .sum-timeline li { display: flex; align-items: center; gap: 1rem; }
  .sum-timeline b { flex: none; margin: 0; }
  .sum-proof { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sum-flow { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .sum-keyfacts { grid-template-columns: 1fr; margin-top: 2rem; }
  .sum-head { grid-template-columns: 1fr; gap: 0.6rem; }
  .sum-count b { display: inline; font-size: 3.2rem; margin-right: 0.15em; }
  .sum-legend li { grid-template-columns: 5.2rem minmax(0, 1fr); }
  .sum-readtime a { margin-left: 0; }
}

/* ============================================================
   v6.3 decor: the full proposal's veins, ink edges, ash field,
   stage line and mask wipe, fitted to the summary pages.
   ============================================================ */
.sum-page.has-vein { position: relative; }
.sum-page > .lar-vein.is-field { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; }
.sum-vein-soft { opacity: 0.55; }
.sum-page > .lar-vein.is-crown { position: absolute; z-index: 0; top: 0; right: 0; width: min(48%, 44rem); height: clamp(16rem, 30vw, 26rem); }
.sum-hero-meta { margin-top: 1.4rem; }

/* Page 2: neuron + quote beside the heading */
.sum-head:has(.sum-neuron) { grid-template-columns: auto minmax(0, 1fr) minmax(0, 0.9fr); }
.sum-neuron { align-self: stretch; display: flex; flex-direction: column; justify-content: flex-end; }
.sum-neuron .lar-quote { margin-top: 0; color: var(--paper); opacity: 0.2; text-align: right; }
.sum-neuron .lar-vein.is-neuron { height: clamp(8rem, 13vw, 12rem); margin-top: 0.6rem; }
.sum-concept .lar-ink { width: 100%; }
.sum-concept video { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: transparent; }

/* Page 3: bus vein feeds the three capability cards */
.lar-bus + .sum-caps { margin-top: 0; }
.sum-cap-icon { display: block; width: 2.6rem; height: 2.6rem; margin-bottom: 1rem; }
.sum-cap-icon svg { width: 100%; height: 100%; fill: none; stroke: var(--cyan); stroke-width: 1.6; }
.sum-stages { margin-top: 1.4rem; }
[data-tone="paper"] .sum-stages .lar-stage p { color: var(--ink-soft); font-size: 0.92rem; }
[data-tone="paper"] .sum-stages .lar-stage-n { color: var(--ink); }
[data-tone="paper"] .sum-stages .lar-stage-dot { background: var(--paper); border-color: var(--ink-soft); }
[data-tone="paper"] .sum-stages .lar-stage.is-on .lar-stage-dot { background: var(--cyan); border-color: var(--ink); box-shadow: 0 0 0 6px rgba(114, 229, 222, 0.25); }
[data-tone="paper"] .sum-stages .lar-stages-line { background: var(--rule-paper); }

/* Ashes band: dark, full-bleed, falling ash + outline word */
.sum-ashes.lar-ashes { position: relative; margin-inline: calc(-1 * var(--gutter)); padding: clamp(3rem, 7vw, 6rem) var(--gutter); background: var(--ink); color: var(--paper-soft); }
.sum-ashes .sum-h3 { color: var(--paper); }
.sum-ashes p { color: var(--paper-soft); }
.sum-ashes .sum-sublabel { color: var(--cyan); }
.sum-ashes .lar-ashes-word { top: clamp(1rem, 3vw, 2.5rem); font-size: clamp(6rem, 18vw, 19rem); }
.sum-ashes-media { margin: 0; }
.sum-ashes-media .lar-ink { width: 100%; }

/* Page 5: the Flora Face tile wipes from solid to material */
.sum-mask .lar-mask-frame { aspect-ratio: 3 / 4; }
.sum-mask .lar-mask-frame img { aspect-ratio: auto; }

@media (max-width: 900px) {
  .sum-head:has(.sum-neuron) { grid-template-columns: 1fr; }
  .sum-neuron .lar-quote { text-align: left; }
  .sum-ashes.lar-ashes { grid-template-columns: 1fr; }
}
