.rescue-line {
  --rl-red: #ff5a4e;
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  min-height: 100vh;
  min-height: 100svh;
  background: #110d0e;
  color: #fff5ed;
  overflow: clip;
}
.rl-inner {
  width: min(calc(100% - clamp(40px, 11vw, 180px)), 1440px);
  margin: auto;
  padding: clamp(65px, 8vh, 110px) 0 clamp(28px, 5vh, 64px);
}
.rl-scene { position: relative; display: flex; align-items: center; min-height: clamp(305px, 46vh, 620px); }
.rl-heading { position: relative; z-index: 1; width: 54%; }
.rl-channel {
  display: flex; align-items: center; gap: 10px; margin: 0 0 16px;
  text-transform: uppercase; font-size: 11px; font-weight: 650; line-height: 1.4; letter-spacing: .17em; color: #ffb7a7;
}
.rl-channel span { width: 17px; height: 7px; background: repeating-linear-gradient(110deg, var(--rl-red) 0 3px, transparent 3px 6px); }
.rl-heading h2 { font-size: clamp(85px, 7.9vw, 158px); line-height: .82; letter-spacing: -.085em; margin: 0; font-weight: 640; }
.rl-heading h2 em { font-style: normal; color: var(--rl-red); }
.rl-pitch { font-size: clamp(17px, 1.33vw, 24px); line-height: 1.4; letter-spacing: -.035em; margin: 22px 0 19px; color: #f2ded8; }
.rl-call {
  display: inline-flex; align-items: center; justify-content: center; gap: .7em; min-height: 50px;
  padding: 12px 24px; background: var(--cta-fill); color: var(--cta-ink); border: 1px solid transparent;
  text-decoration: none; font-size: 16px; font-weight: 700; border-radius: 999px; transition: background .18s, transform .18s;
}
.rl-call:hover { background: var(--cta-hover); transform: translateY(-2px); }
.rl-call:focus-visible { outline: 3px solid var(--cta-hover); outline-offset: 5px; }
.rl-call svg { width: 20px; height: 20px; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; fill: none; flex: none; }
.rl-art { position: absolute; inset: -15% -5% -12% 37%; cursor: pointer; mix-blend-mode: screen; }
.rl-art:focus-visible { outline: 2px solid #ffb7a7; outline-offset: -10px; }
.rl-handset { position: absolute; inset: 0; display: block; pointer-events: none; transform-origin: 52% 52%; }
.rl-handset.rl-ringing { animation: rl-ring .64s ease-in-out; }
.rl-art img {
  width: 100%; height: 100%; object-fit: contain;
  mask-image: radial-gradient(ellipse 57% 55% at 53% 49%, black 54%, transparent 100%);
  animation: rl-float 8s ease-in-out infinite;
  transition: translate .36s cubic-bezier(.2,.8,.2,1);
}
.rl-art i { position: absolute; inset: auto 27% 10% 32%; height: 3%; background: #a7171a; filter: blur(22px); opacity: .45; }

.rl-timeline { --rl-green:#82ee97; position:relative; z-index:2; margin-top:32px; }
.rl-timeline h3 { font-size:clamp(28px,3vw,44px); margin:0 0 18px; letter-spacing:-.035em; }
.rl-plot { position:relative; height:390px; margin:0 38px; }
.rl-here { position:absolute; top:0; left:0; transform:translateX(-50%); text-align:center; font-size:14px; font-weight:650; white-space:nowrap; }
.rl-here span { display:block; font-size:26px; animation:rl-arrow 1.8s ease-in-out infinite; }
.rl-waves { position:absolute; left:0; top:10px; width:100%; height:180px; overflow:visible; pointer-events:none; }
.rl-wave-base { fill:none; stroke:#ff705d; stroke-width:1; }
.rl-wave-green { fill:none; stroke:var(--rl-green); stroke-width:1.4; }
.rl-stages { list-style:none; margin:0; padding:0; }
.rl-stages li { position:absolute; top:100px; left:calc(var(--at)*100%); width:0; }
.rl-node { position:absolute; width:68px; height:68px; top:0; left:0; transform:translate(-50%,-50%); border:2px solid #f2937e; background:#241315; color:#fff1e9; border-radius:50%; display:grid; place-items:center; cursor:pointer; transition:background .2s,border-color .2s; }
.rl-node svg { width:32px; height:32px; fill:none; stroke:currentColor; stroke-width:1.5; stroke-linecap:round; stroke-linejoin:round; }
.rl-node:hover,.rl-node:focus-visible,.rl-active .rl-node { background:#9d392c; border-color:#ffd1bf; box-shadow:0 3px 24px #ff614e70; }
.rl-node:focus-visible { outline:3px solid #ffe6a6; outline-offset:5px; }
.rl-done .rl-node { color:var(--rl-green); border-color:var(--rl-green); background:#14261a; }
.rl-check { display:none; position:absolute; bottom:-4px; right:-4px; background:var(--rl-green); color:#15251b; border-radius:50%; width:21px; height:21px; font-size:15px; }
.rl-done .rl-check { display:block; }
.rl-time,.rl-caption { position:absolute; left:0; transform:translateX(-50%); text-align:center; width:120px; }
.rl-time { top:45px; font-size:14px; }
.rl-caption { top:70px; font-size:16px; font-weight:650; line-height:1.25; }
.rl-note { position:absolute; z-index:5; top:118px; left:0; transform:translateX(-40%); width:340px; max-width:80vw; padding:16px 20px; border:1px solid #ca8d7d; border-radius:12px; background:#2b1819; box-shadow:0 12px 30px #08030450; }
.rl-stages li:first-child .rl-note { transform:none; left:-30px; }
.rl-stages li:last-child .rl-note { transform:translateX(-100%); left:30px; }
.rl-note[hidden] { display:none; }
.rl-note h4 { font-size:20px; margin:0 0 6px; }
.rl-note > span { font-size:14px; }
.rl-note p { color:#eed3ca; line-height:1.5; font-size:14px; margin:8px 0 0; }
.rl-note > span, #rl-note-3 > p:first-of-type { color:#ffb39a; }
.rl-qualifier { color:#d3b1a7; font-size:12px; font-style:italic; margin:0; }
.rl-work { position:absolute; top:100px; left:43%; right:0; height:0; }
.rl-tool { position:absolute; left:0; top:0; width:32px; height:32px; display:grid; place-items:center; color:#ffc6b4; border:0; background:#261419dd; border-radius:6px; transform:translate(-50%,-50%); cursor:default; }
.rl-tool img,.rl-tool svg { width:24px; height:24px; object-fit:contain; }
.rl-tool svg { fill:none; stroke:currentColor; stroke-width:1.7; }
.rl-tool-name { display:none; position:absolute; bottom:calc(100% + 8px); left:50%; transform:translateX(-50%); white-space:nowrap; background:#35201f; border:1px solid #a57266; color:#fff4eb; padding:5px 9px; border-radius:5px; font-size:12px; }
.rl-tool:hover,.rl-tool:focus-visible { z-index:10; outline:2px solid #ffbd9c; }
.rl-tool:hover .rl-tool-name,.rl-tool:focus-visible .rl-tool-name { display:block; }
.rl-fed .rl-node { animation:rl-feed .6s ease-out; }
@keyframes rl-feed { 40% { border-color:#a2ffa8; box-shadow:0 3px 28px #82ee9760; } }
@keyframes rl-arrow { 50% { transform:translateY(5px); } }
@keyframes rl-float { 50% { transform:translateY(-7px) rotate(-1.3deg); } }
@keyframes rl-ring { 25% { transform:rotate(-2deg); } 65% { transform:rotate(1deg); } }
@media(max-width:760px) {
 .rl-inner { width:calc(100% - 40px); padding-top:52px; }
 .rl-heading { width:80%; } .rl-heading h2 { font-size:88px; }
 .rl-art { inset:-8% -22% 20% 32%; opacity:.8; }
 .rl-scene { min-height:320px; } .rl-pitch { font-size:16px; }
 .rl-timeline { margin-top:24px; } .rl-plot { margin:0 25px; height:375px; }
 .rl-stages li:nth-child(2) { left:25%; } .rl-stages li:nth-child(3) { left:50%; } .rl-stages li:nth-child(4) { left:75%; }
 .rl-node { width:48px; height:48px; } .rl-node svg { width:24px; height:24px; }
 .rl-time { top:32px; font-size:12px; } .rl-caption { top:54px; font-size:12px; width:68px; }
 .rl-stages li:last-child { top:270px; } .rl-work { left:0; right:0; top:200px; }
 .rl-note { position:fixed; top:auto; bottom:24px; left:20px!important; width:calc(100vw - 40px); max-width:none; box-sizing:border-box; transform:none!important; }
 .rl-qualifier { max-width:45ch; line-height:1.5; } .rl-tool { width:28px; height:28px; }
}
@media(prefers-reduced-motion:reduce) { .rl-here span,.rl-art img,.rl-fed .rl-node { animation:none; } }

.rl-tool-code { font-size:11px; font-weight:750; letter-spacing:-.02em; }

/* App marks remain unboxed; only their hover labels carry text. */
.rl-tool { background:transparent; border-radius:0; }
.rl-tool img { filter:drop-shadow(0 2px 4px #100608); }
#rl-note-3 { width:390px; }
@media(max-width:760px) { #rl-note-3 { width:calc(100vw - 40px); } }
/* Hover and keyboard focus share the timeline's green interaction state. */
.rl-node:hover,.rl-node:focus-visible,.rl-active .rl-node {
 color:var(--rl-green); border-color:var(--rl-green); background:#14261a;
 box-shadow:0 3px 24px #82ee9740;
}
.rl-tool:hover,.rl-tool:focus-visible { color:var(--rl-green); outline-color:var(--rl-green); }
.rl-tool:hover img,.rl-tool:focus-visible img {
 filter:brightness(0) saturate(100%) invert(87%) sepia(33%) saturate(700%) hue-rotate(64deg) brightness(99%) contrast(94%) drop-shadow(0 2px 5px #82ee9740);
}
.rl-tool:hover .rl-tool-name,.rl-tool:focus-visible .rl-tool-name {
 color:var(--rl-green); border-color:var(--rl-green);
}

.rl-pitch { min-height:1.4em; }
.rl-typed::after { content:""; display:inline-block; width:1px; height:1em; margin-left:4px; vertical-align:-.12em; background:currentColor; animation:rl-caret 1s steps(1) infinite; }
@keyframes rl-caret { 50% { opacity:0; } }
@media(prefers-reduced-motion:reduce) { .rl-typed::after { animation:none; display:none; } }
