/* Assurance page */
.stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }

.as-hero { position: relative; min-height: 100vh; min-height: 100svh; display: grid; align-items: end; padding: calc(var(--hdr) + 40px) 0 clamp(56px, 10vh, 112px); overflow: hidden; }
.as-hero-bg { position: absolute; inset: 0; }
.as-hero-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,11,13,.55) 0%, rgba(10,11,13,.25) 35%, rgba(10,11,13,.92) 88%, var(--k) 100%), linear-gradient(90deg, rgba(10,11,13,.7) 0%, rgba(10,11,13,0) 60%); }
.as-hero-in { position: relative; z-index: 2; display: grid; gap: 28px; }
.as-big { color: var(--mist); }
.as-acc { color: var(--paper); }

/* three commitments */
.as-pillars { height: 330vh; }
.as-media { position: absolute; top: 0; right: 0; bottom: 0; width: 56%; }
.as-m { position: absolute; inset: 0; opacity: 0; transition: opacity .9s var(--ease); }
.as-m.on { opacity: 1; }
.as-m::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, var(--k) 0%, rgba(10,11,13,.4) 22%, rgba(10,11,13,0) 55%), linear-gradient(180deg, rgba(10,11,13,.35), rgba(10,11,13,0) 30%, rgba(10,11,13,0) 75%, rgba(10,11,13,.6)); }
.as-copy { position: relative; height: 100%; display: grid; grid-template-columns: 64px minmax(0, 30em); align-items: center; gap: var(--gut); z-index: 2; }
.as-idx { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; align-self: center; }
.as-idx li { font-family: var(--mono); font-size: 12px; color: var(--steel-t); display: flex; align-items: center; gap: 10px; transition: color .3s; }
.as-idx li::before { content: ''; width: 14px; height: 1px; background: currentColor; transition: width .4s var(--ease), background .3s; }
.as-idx li.on { color: var(--paper); }
.as-idx li.on::before { width: 28px; background: var(--marron); }
.as-p { grid-column: 2; grid-row: 1; display: grid; gap: 22px; opacity: 0; transform: translateY(24px); transition: opacity .55s var(--ease), transform .8s var(--ease-out); pointer-events: none; }
.as-p.on { opacity: 1; transform: none; pointer-events: auto; }
.as-p .label { color: var(--marron-hi); }
.as-list { list-style: none; margin: 0; padding: 0; display: grid; border-top: 1px solid var(--line); }
.as-list li { padding: 13px 0 13px 22px; border-bottom: 1px solid var(--line); position: relative; color: var(--tint); font-size: 16.5px; line-height: 1.45; }
.as-list li::before { content: ''; position: absolute; left: 0; top: 1.35em; width: 9px; height: 1px; background: var(--marron); }
.as-lead { margin: 0; color: var(--tint); font-size: 18px; line-height: 1.5; }
.as-six { display: grid; gap: 12px; }
.as-six ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.as-six li { padding: 16px 14px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 16px; }

/* the evidence chain */
.as-chain { height: 280vh; }
.ch-in { height: 100%; display: grid; grid-template-rows: auto 1fr auto; padding-top: calc(var(--hdr) + 5vh); padding-bottom: 7vh; }
.ch-head { display: grid; gap: 18px; }
.ch-links { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--gut); align-self: center; position: relative; }
.ch-l { display: grid; gap: 10px; align-content: start; padding-top: 34px; position: relative; opacity: .28; transition: opacity .5s var(--ease); }
.ch-l.on { opacity: 1; }
.ch-dot { position: absolute; top: 0; left: 0; width: 13px; height: 13px; border-radius: 50%; border: 1.5px solid var(--steel); background: var(--k); transition: background .35s, border-color .35s; z-index: 2; }
.ch-l.on .ch-dot { background: var(--marron); border-color: var(--marron); }
.ch-l.now .ch-dot { background: var(--paper); border-color: var(--paper); box-shadow: 0 0 0 5px rgba(155,97,49,.45); }
.ch-l .label { color: var(--marron-hi); }
.ch-l p { margin: 0; color: var(--mist); font-size: 15px; line-height: 1.45; }
.ch-rail { position: relative; height: 1px; background: var(--line-2); margin-top: -1px; }
.ch-links::before { content: ''; position: absolute; left: 6px; right: calc((100% - 5 * var(--gut)) / 6 - 6px); top: 6px; height: 1px; background: var(--line-2); }
.ch-links::after { content: ''; position: absolute; left: 6px; top: 6px; height: 1px; width: calc((100% - (100% - 5 * var(--gut)) / 6) * var(--p, 0)); background: var(--marron); }
.ch-rail { display: none; }
.ch-foot { max-width: 40em; color: var(--tint); }

/* the record */
.rec-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: calc(var(--gut) * 3); align-items: center; }
.rec-copy { display: grid; gap: 24px; }
.rec-stack { position: relative; height: 300px; }
.rec-card { position: absolute; width: 78%; padding: 22px 24px; border: 1px solid var(--line-2); background: var(--k2); display: grid; gap: 10px; }
.rec-card .label { color: var(--marron-hi); margin-bottom: 6px; }
.rec-f { font-size: 17px; padding-top: 10px; border-top: 1px solid var(--line); }
.rec-card.r0 { left: 0; top: 0; background: var(--paper); color: var(--k); border-color: var(--paper); }
.rec-card.r0 .label { color: #6B4322; }
.rec-card.r0 .rec-f { border-color: var(--line-l); }
.rec-card.r1 { right: 0; bottom: 0; z-index: 2; box-shadow: 0 -1px 0 var(--line-2); }

@media (max-width: 900px) {
  .as-big { font-size: clamp(48px, 15vw, 72px); }
  .as-pillars { height: 330vh; }
  .as-media { top: 0; left: 0; right: 0; bottom: auto; width: auto; height: 42%; }
  .as-m::after { background: linear-gradient(180deg, rgba(10,11,13,.4), rgba(10,11,13,0) 30%, rgba(10,11,13,.6) 75%, var(--k)); }
  .as-copy { grid-template-columns: 1fr; align-items: end; padding-bottom: 28px; }
  .as-idx { display: none; }
  .as-p { grid-column: 1; gap: 14px; }
  .as-p .h1 { font-size: clamp(30px, 8.6vw, 40px); }
  .as-list li { font-size: 14.5px; padding: 9px 0 9px 18px; }
  .as-lead { font-size: 15.5px; }
  .as-six li { padding: 10px; font-size: 14px; }
  .as-chain { height: auto; }
  .as-chain .stage { position: relative; height: auto; overflow: visible; }
  .ch-in { padding: 96px var(--m) 96px; gap: 36px; }
  .ch-links { grid-template-columns: 1fr; gap: 0; }
  .ch-links::before, .ch-links::after { display: none; }
  .ch-l { opacity: 1; padding: 0 0 26px 34px; border-left: 1px solid var(--line-2); margin-left: 6px; }
  .ch-l:last-child { border-left-color: transparent; }
  .ch-dot { left: -7px; background: var(--marron); border-color: var(--marron); }
  .rec-grid { grid-template-columns: 1fr; gap: 48px; }
  .rec-stack { height: 270px; }
  .rec-card { width: 86%; }
}
