/* Intro: how collection firms work today → "Claimi acts." Plays once, then the page scrolls on. */
.intro {
  --pain: #C62828;
  --legacy-ground: #DCDFE4;
  position: relative;
  height: calc(100svh - 72px);
  min-height: 560px;
  overflow: hidden;
  background: var(--legacy-ground);
  isolation: isolate;
}
.intro-head { position: absolute; z-index: 30; left: var(--gutter, clamp(20px, 4vw, 56px)); right: var(--gutter, clamp(20px, 4vw, 56px)); top: clamp(20px, 3.5vw, 44px); transition: opacity .4s; }
.intro-head .eyebrow { display: block; font: 700 13px/1.3 var(--display); letter-spacing: .12em; text-transform: uppercase; color: #9F1D1D; margin-bottom: 8px; }
.intro-head h2 { font: 700 clamp(28px, 3.6vw, 52px)/1.1 var(--display); letter-spacing: -0.035em; color: var(--ink, #0B0C1A); }
@media (min-width: 761px) { .intro-head h2 { white-space: nowrap; } }

.intro-wrap { position: absolute; inset: 0; }
.intro-stage { position: absolute; left: 0; top: 0; width: 1920px; height: 1080px; transform-origin: 0 0; transition: transform 3s ease-out; }
.intro.peak .intro-zoom { transform: scale(1.03); }
.intro-zoom { position: absolute; inset: 0; transform-origin: center; transition: transform 3s ease-out; }
.intro-vignette { position: absolute; inset: 0; z-index: 20; pointer-events: none; opacity: 0; transition: opacity 2.4s;
  background: radial-gradient(ellipse at center, rgba(198,40,40,0) 45%, rgba(198,40,40,.34) 100%); }
.intro.peak .intro-vignette { opacity: 1; }

/* legacy windows (deliberately dense, illustrative) */
.lw { position: absolute; background: #ECE9D8; border: 1px solid #7a7a7a; box-shadow: 0 18px 50px rgba(0,0,0,.32);
  font: 11px Tahoma, Verdana, sans-serif; color: #000; opacity: 0; transform: translateY(40px) scale(.97);
  transition: opacity .25s, transform .35s cubic-bezier(.16,1,.3,1); }
.lw.in { opacity: 1; transform: rotate(var(--r, 0deg)); }
.lw .tb { height: 24px; background: linear-gradient(#5c7cc4, #2b4c94); color: #fff; font: bold 11px Tahoma, sans-serif; display: flex; align-items: center; padding: 0 6px; white-space: nowrap; overflow: hidden; }
.lw .tb .btns { margin-left: auto; display: flex; gap: 2px; }
.lw .tb .btns i { width: 16px; height: 14px; background: #d4d0c8; border: 1px solid #fff; border-right-color: #404040; border-bottom-color: #404040; display: block; }
.lw .menu { border-bottom: 1px solid #aca899; padding: 2px 6px; display: flex; gap: 12px; white-space: nowrap; }
.lw .tools { display: flex; gap: 3px; padding: 3px 6px; border-bottom: 1px solid #aca899; overflow: hidden; }
.lw .tools i { width: 18px; height: 18px; background: linear-gradient(#fff, #cfcbbd); border: 1px solid #9d9a8c; display: block; flex: none; }
.lw .tabs { display: flex; gap: 1px; padding: 4px 6px 0; white-space: nowrap; overflow: hidden; }
.lw .tabs span { padding: 2px 7px; border: 1px solid #919b9c; border-bottom: none; background: #f4f3ee; font-size: 10px; }
.lw .tabs span.a { background: #fff; font-weight: bold; }
.lw .grid { width: 100%; border-collapse: collapse; background: #fff; font: 9px Tahoma, Verdana, sans-serif; table-layout: fixed; }
.lw .grid th { background: #d6d3c4; border: 1px solid #a4a094; padding: 1px 3px; text-align: left; white-space: nowrap; overflow: hidden; }
.lw .grid td { border: 1px solid #e0ddd2; padding: 0 3px; white-space: nowrap; overflow: hidden; height: 13px; }
.lw .grid tr:nth-child(even) td { background: #f6f5ef; }
.lw .grid td.bad { color: #b00000; font-weight: bold; }
.lw .grid td.sel { background: #316ac5 !important; color: #fff; }
.lw .banner { background: #ffffe1; border: 1px solid #c9b74a; padding: 3px 8px; margin: 4px 6px; font: bold 11px Tahoma, sans-serif; }
.lw .status { border-top: 1px solid #aca899; padding: 2px 6px; display: flex; gap: 16px; font-size: 10px; white-space: nowrap; overflow: hidden; }
.lw .field { display: flex; align-items: center; gap: 6px; margin: 4px 0; }
.lw .field label { width: 130px; text-align: right; font-size: 10px; }
.lw .inp { border: 1px solid #7f9db9; background: #fff; height: 18px; padding: 1px 4px; font: 11px Tahoma, sans-serif; width: 250px; }
.lw .squig { text-decoration: underline wavy #e00000; text-underline-offset: 3px; }
.lw .small { font-size: 9.5px; color: #333; line-height: 1.35; }
.lw .btn98 { display: inline-block; border: 1px solid #003c74; border-radius: 3px; background: linear-gradient(#fff, #e3e0d5); padding: 2px 12px; font: 11px Tahoma, sans-serif; }
.lw .nores { color: #b00000; font: bold 12px Tahoma, sans-serif; margin: 8px 0; }
.lw .step { display: flex; align-items: center; gap: 10px; margin: 7px 0; }
.lw .step b { width: 24px; height: 24px; border-radius: 50%; background: #C62828; color: #fff; font: bold 13px Tahoma, sans-serif; display: flex; align-items: center; justify-content: center; }
.lw .step span { border: 1px solid #7f9db9; background: #fff; padding: 3px 6px; width: 360px; font: 11px Tahoma, sans-serif; }

.lfrag { position: absolute; z-index: 15; background: #fff; border: 1px solid #8a8a8a; box-shadow: 0 8px 22px rgba(0,0,0,.26);
  font: 10px Tahoma, Verdana, sans-serif; padding: 6px 8px; opacity: 0; transform: scale(.6); white-space: nowrap;
  transition: opacity .15s, transform .3s cubic-bezier(.16,1,.3,1); }
.lfrag.in { opacity: 1; transform: scale(1) rotate(var(--r, 0deg)); }
.lfrag .t { font-weight: bold; background: #2b4c94; color: #fff; margin: -6px -8px 5px; padding: 2px 6px; }
.lfrag.note { background: #fff59d; border-color: #d4c04f; font: 600 15px 'Marker Felt', 'Comic Sans MS', cursive; padding: 10px 12px; }

/* callouts live outside the scaled stage so they stay readable */
.intro-callouts { position: absolute; inset: 0; z-index: 25; list-style: none; margin: 0; padding: 0; pointer-events: none; }
.intro-callouts li { position: absolute; background: var(--pain); color: #fff; border-radius: 12px; padding: 12px 18px;
  font: 700 clamp(15px, 1.35vw, 24px)/1.2 var(--display); letter-spacing: -0.01em; max-width: 30ch;
  box-shadow: 0 10px 28px rgba(11,12,26,.28); opacity: 0; transform: scale(.7);
  transition: opacity .2s, transform .35s cubic-bezier(.16,1,.3,1); }
.intro-callouts li.in { opacity: 1; transform: scale(1); }
.intro-callouts li small { display: block; font: 500 clamp(12px, .95vw, 16px)/1.3 var(--display); opacity: .92; margin-top: 3px; letter-spacing: 0; }

.intro-cursor { position: absolute; z-index: 26; width: 22px; height: 22px; opacity: 0; transition: left .18s, top .18s, opacity .2s; pointer-events: none; }

/* the cut */
.intro-cut { position: absolute; inset: 0; z-index: 40; background: #1B1160; color: #fff; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center; padding: 0 var(--gutter, clamp(20px, 4vw, 56px));
  opacity: 0; visibility: hidden; }
.intro.cut .intro-cut { opacity: 1; visibility: visible; }
.intro-cut .l1 { font: 700 clamp(38px, 6.4vw, 104px)/1.05 var(--display); letter-spacing: -0.04em; margin: 0; }
.intro-cut .l2 { font: 800 clamp(38px, 6.4vw, 104px)/1.05 var(--display); letter-spacing: -0.04em; margin: 0; color: #C9BEFF;
  opacity: 0; transform: translateY(16px); transition: opacity .45s .8s, transform .45s .8s; }
.intro.cut .l2 { opacity: 1; transform: none; }
.intro-cut .sub { margin: 26px 0 0; font: 500 clamp(17px, 1.6vw, 24px)/1.4 var(--display); color: #E8E3FF; opacity: 0; transition: opacity .5s 1.5s; }
.intro.cut .sub { opacity: 1; }
.intro-more { margin-top: 40px; display: inline-flex; align-items: center; color: #3E26B8; background: #fff; text-decoration: none;
  font: 600 17px/1.3 var(--display); border-radius: 8px; padding: 16px 26px;
  opacity: 0; transition: opacity .5s 2.1s, background .2s; }
.intro.cut .intro-more { opacity: 1; }
.intro-more:hover { background: #F3F0FF; }
.intro-more:focus-visible, .intro-skip:focus-visible { outline: 3px solid #C9BEFF; outline-offset: 3px; }
.intro-more svg { width: 16px; height: 16px; }

.intro-skip { position: absolute; z-index: 45; right: var(--gutter, clamp(20px, 4vw, 56px)); bottom: 20px; font: 600 15px/1 var(--display);
  color: #3B3F55; background: rgba(255,255,255,.85); border: 1px solid #C9CCDA; border-radius: 8px; padding: 10px 14px; cursor: pointer; }
.intro.cut .intro-skip { display: none; }
.intro-cap { position: absolute; z-index: 28; left: var(--gutter, clamp(20px, 4vw, 56px)); bottom: 22px; margin: 0; max-width: 60ch;
  font: 500 13px/1.35 var(--display); color: #3B3F55; }
.intro.cut .intro-cap { display: none; }

/* phones: callouts become a stack at the bottom; the collage stays behind as texture */
@media (max-width: 760px) {
  .intro { height: calc(100svh - 64px); }
  .intro-callouts { top: auto; bottom: 64px; left: 16px; right: 16px; display: flex; flex-direction: column; gap: 8px; }
  .intro-callouts li { position: static; max-width: none; }
  .intro-callouts li.hide-sm { display: none; }
  .intro-cap { display: none; }
  .intro-skip { bottom: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .intro-stage, .intro-zoom, .lw, .lfrag, .intro-callouts li, .intro-cut .l2, .intro-cut .sub, .intro-more { transition: none !important; }
}
