/* Focused REAGENT scene refinements. The six source scenes and transitions remain intact. */
.stage1-copy, .stage2-copy {
  position: absolute;
  z-index: 8;
  pointer-events: none;
  opacity: 0;
  transition: opacity .55s ease, transform .7s ease;
}
.stage1-copy {
  top: 13%;
  left: 5.2%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .9rem;
  transform: translateY(20px);
  color: #fffdf2;
}
.section1[data-visible="true"] .stage1-copy {
  opacity: 1;
  transform: translateY(0);
}
.stage1-eyebrow, .stage1-caption {
  font: 700 clamp(11px, 1.1vw, 17px) "Jura", sans-serif;
  letter-spacing: .19em;
  color: #213a30;
  background: rgba(255, 252, 225, .88);
  padding: .48em .72em;
}
.stage1-copy strong {
  display: block;
  font: 900 clamp(60px, 6.45vw, 124px)/.9 Impact, "Bebas Neue", sans-serif;
  letter-spacing: -.025em;
  white-space: nowrap;
  -webkit-text-stroke: 3px #112c28;
  paint-order: stroke fill;
  text-shadow: 5px 6px 0 #112c28, 9px 10px 0 rgba(10, 40, 33, .18);
}
.stage1-caption {
  font-size: clamp(13px, 1.25vw, 19px);
  letter-spacing: .06em;
  text-transform: uppercase;
}
.stage2-copy {
  right: 6%;
  top: 17%;
  max-width: 32vw;
  display: flex;
  flex-direction: column;
  gap: .8rem;
  padding: clamp(20px, 2.5vw, 44px);
  background: rgba(246, 249, 246, .94);
  border-left: 8px solid #658873;
  box-shadow: 9px 11px 0 rgba(13, 34, 30, .78);
  color: #132522;
  transform: translateX(20px);
}
.section2[data-visible="true"] .stage2-copy {
  opacity: 1;
  transform: translateX(0);
}
.stage2-copy .stage2-index {
  font: 700 clamp(11px, 1vw, 16px) "Jura", sans-serif;
  letter-spacing: .18em;
}
.stage2-copy strong {
  font: 900 clamp(45px, 4.8vw, 96px)/.86 Impact, "Bebas Neue", sans-serif;
  letter-spacing: -.018em;
}
.stage2-copy > span:last-child {
  font: 700 clamp(12px, 1.05vw, 17px) "Jura", sans-serif;
  line-height: 1.35;
  max-width: 22em;
}
@media (hover:hover) and (pointer:fine) {
  body[data-section="1"], body[data-section="1"] * { cursor: none !important; }
  .reagent-cursor {
    position: fixed;
    left: 0; top: 0;
    width: 30px; height: 30px;
    z-index: 1000;
    border: 2px solid #143f30;
    border-radius: 50%;
    pointer-events: none;
    opacity: 0;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 0 2px rgba(255,255,245,.9), 0 0 18px rgba(220,255,212,.65);
    transition: opacity .2s, width .2s, height .2s;
  }
  body[data-section="1"] .reagent-cursor { opacity: 1; }
  .reagent-cursor::before, .reagent-cursor::after {
    content:""; position:absolute; background:#143f30; left:50%; top:50%; transform:translate(-50%,-50%);
  }
  .reagent-cursor::before { width: 12px; height: 2px; }
  .reagent-cursor::after { width: 2px; height: 12px; }
  .reagent-cursor.is-down { width: 21px; height: 21px; }
}
.section6-main-head {
  font-family: "Roboto Serif", serif;
  font-size: clamp(28px, 3.8vw, 78px);
  line-height: 1.13;
  margin-bottom: 28px;
  text-shadow: 0 2px 20px rgba(0,0,0,.34);
}
.section6-main-head #next {
  color: #d8efb0 !important;
  font-style: italic;
}
.reagent-final-links {
  width: min(450px, 84vw);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.reagent-final-links a,
.section6-main-link.reagent-final-links a {
  display: grid;
  grid-template-columns: 28px 1fr 20px;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 49px;
  padding: 10px 14px;
  border: 1px solid rgba(218,246,233,.5);
  border-radius: 4px;
  background: rgba(8,25,24,.62);
  backdrop-filter: blur(8px);
  color: #f5fff5;
  font: 700 clamp(13px, 1.05vw, 17px) "Jura", sans-serif;
  letter-spacing: .035em;
  text-decoration: none;
  transition: background .2s, border-color .2s, transform .2s;
}
.reagent-final-links a:hover {
  background: rgba(39,85,67,.84);
  border-color: #e3f8bc;
  transform: translateX(4px);
}
.reagent-link-icon {
  display: grid;
  place-items: center;
  width: 25px; height: 25px;
  border-radius: 3px;
  background: #d7ebaa;
  color: #183a2d;
  font: 900 18px/1 Arial, sans-serif;
}
.footer {
  height: 74px;
  display: grid;
  grid-template-columns: minmax(170px, 1fr) auto minmax(270px, 1fr);
  align-items: center;
  gap: 22px;
  padding: 0 3.2%;
  background: linear-gradient(96deg, #0c1716, #172920 54%, #0a1717);
  border-top: 1px solid #54775e;
  box-shadow: 0 -4px 25px rgba(0,0,0,.32);
}
.footer-brand {
  display: flex; align-items: center; gap: 9px;
  color: #e8f1d6;
}
.footer-brand-symbol {
  display: grid; place-items:center;
  width: 34px; height: 34px;
  border: 1px solid #a4d29b;
  border-radius: 4px;
  color:#d4edaf;
  font: 900 22px/1 Impact, sans-serif;
  transform: skew(-9deg);
}
.footer-brand-symbol span { font-size: 8px; margin-left: 2px; }
.footer-brand-name {
  font: 900 16px/1 "Jura", sans-serif;
  letter-spacing: .12em;
}
.footer-brand-name small {
  display:block;
  margin-top:4px;
  color:#86a696;
  font: 700 7px/1 "Jura", sans-serif;
  letter-spacing:.16em;
}
.footer-timeline {
  width: 180px;
  max-width: none;
  justify-content: space-between;
}
.footer-timeline::before {
  content:"";
  position:absolute;
  z-index:0;
  height:1px;
  top:50%;
  left:10px; right:10px;
  background:#6d9480;
}
.footer-timeline-item::after {
  background:#cdebb2;
  border:2px solid #143828;
  box-shadow: 0 0 0 1px #8abd9a;
}
.footer-timeline-item[data-state=viewing]::after {
  background:#e7f6ad;
  box-shadow:0 0 0 2px #e2f4bd, 0 0 12px #d9ffa1;
}
.footer-links {
  display:flex;
  justify-content:flex-end;
  align-items:center;
  gap:8px;
}
.footer-action, .footer-twitter.footer-action {
  position:static;
  top:auto; left:auto;
  transform:none;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  min-width:75px;
  height:32px;
  padding:0 9px;
  border:1px solid #5c836c;
  border-radius:3px;
  background:#1b342c;
  color:#e4f3db;
  opacity:1;
  pointer-events:auto;
  font:700 9px/1 "Jura",sans-serif;
  letter-spacing:.1em;
  text-decoration:none;
  transition:background .2s, color .2s, border-color .2s;
}
.footer-action:hover { background:#d7edbd; color:#133828; border-color:#d7edbd; }
.footer-action svg { width:15px; height:15px; }
.footer-pons-icon {
  display:grid; place-items:center;
  width:16px; height:16px;
  border-radius:3px;
  background:#cde5a3;
  color:#23442f;
  font:900 12px/1 Arial,sans-serif;
}
.footer-x-icon { font:700 19px/1 Arial,sans-serif; }
.footer-copyright { display:none; }
@media (max-width: 800px) {
  .stage1-copy { left:5%; top:13%; gap:.5rem; }
  .stage1-copy strong { font-size:clamp(43px, 12vw, 78px); -webkit-text-stroke:2px #112c28; text-shadow:3px 4px 0 #112c28; }
  .stage1-eyebrow { max-width:75vw; font-size:9px; }
  .stage1-caption { font-size:11px; }
  .stage2-copy { top:9%; right:5%; max-width:82vw; padding:15px 18px; box-shadow:5px 6px 0 rgba(13,34,30,.78); }
  .stage2-copy strong { font-size:clamp(38px, 10vw, 70px); }
  .section6-main-head { font-size:clamp(29px, 7.6vw, 49px); margin-bottom:22px; }
  .reagent-final-links { width:min(310px,85vw); gap:7px; }
  .reagent-final-links a,.section6-main-link.reagent-final-links a { min-height:43px; font-size:12px; }
  .footer { height:68px; grid-template-columns:auto 1fr auto; gap:9px; padding:0 3%; }
  .footer-brand-symbol { width:27px; height:27px; font-size:17px; }
  .footer-brand-name { display:none; }
  .footer-timeline { width:100%; max-width:148px; min-width:90px; padding-right:0; }
  .footer-timeline-item { width:17px; }
  .footer-links { gap:4px; }
  .footer-action,.footer-twitter.footer-action { min-width:27px; width:27px; height:27px; padding:0; }
  .footer-action span:last-child { display:none; }
}
/* Final frame: give the whole character an unobstructed silhouette. */
.section6-main { align-items:flex-end; padding-right:10vw; }
.section6-main-head { width:min(450px,84vw); }
@media (max-width:800px) {
  .section6-main { align-items:center; padding-right:0; }
  .section6-main-head { width:auto; }
}
/* The animated scan reticle replaces the previous SVG cursor everywhere. */
@media (hover:hover) and (pointer:fine) {
  body, body *, .content-wrapper, .section-wrap, button, a { cursor:none !important; }
  body .reagent-cursor { opacity:1; }
}
.section6-main-head { width:min(660px,50vw); white-space:nowrap; }
@media (max-width:800px) { .section6-main-head { width:auto; white-space:normal; } }
/* The original individual 3D letters occupy this measured title area. */
.stage1-copy strong { display:none; }
.stage1-copy { gap: .65rem; }
body[data-section="4"] .reagent-cursor { opacity:0 !important; }
.reagent-link-icon svg { width:17px; height:17px; }

.reagent-pointer-trail { position:fixed; inset:0; width:100vw; height:100vh; pointer-events:none; z-index:999; }
body[data-section="4"] .reagent-pointer-trail { display:none; }

/* Primary REAGENT research desk links. */
.reagent-final-links a:first-child { border-color:#d7ebaa; background:rgba(22,51,43,.82); }
.reagent-link-icon--agent, .footer-desk-badge { overflow:hidden; }
.reagent-link-icon--agent img, .footer-desk-badge img { display:block; width:100%; height:100%; object-fit:cover; transform:scale(1.5); }
.footer-desk-badge { display:grid; place-items:center; width:18px; height:18px; border-radius:3px; background:#d7ebaa; }
.footer-desk-action { border-color:#b5d79a !important; }

/* pump.fun pill in the finale and the footer */
.reagent-link-icon--pump { background:#eaf6ea; }
.reagent-link-icon--pump svg, .footer-pump-icon svg { width:100%; height:100%; display:block; }
.footer-pump-icon { background:transparent; width:18px; height:18px; }
