/* Skypane v2 — cinematic, image-led. System fonts only, no external assets.
   Palette: ink #0a0f16 · deep #0e1622 · panel #131d2b · white #ffffff · bone #f3f1ec · accent cyan #3ee0d0 */

:root {
  --ink: #0a0f16;
  --deep: #0e1622;
  --panel: #131d2b;
  --line-d: rgba(255,255,255,0.12);
  --txt-d: rgba(255,255,255,0.68);
  --bone: #f3f1ec;
  --char: #10151c;
  --txt-l: #4a525e;
  --line-l: rgba(10,15,22,0.12);
  --accent: #3ee0d0;
  --accent-ink: #062a27;
  --max: 1320px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(.2,.7,.2,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--ink); color: #fff; font-family: var(--font);
  font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: -0.035em; line-height: 1.02; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 clamp(20px, 4vw, 56px); }

/* Eyebrow: small, uppercase, wide tracking */
.eyebrow {
  display: inline-block; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 22px;
}
.light .eyebrow { color: #0f8f84; }
.display { font-size: clamp(2.4rem, 5.4vw, 4.8rem); }
.h-lg { font-size: clamp(2rem, 4vw, 3.4rem); }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.25rem); color: var(--txt-d); max-width: 560px; }
.light .lead { color: var(--txt-l); }
.muted { color: var(--txt-d); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; font-size: 0.95rem;
  padding: 16px 28px; border-radius: 2px; letter-spacing: 0.01em; transition: background .25s, color .25s, border-color .25s;
}
.btn-p { background: var(--accent); color: var(--accent-ink); }
.btn-p:hover { background: #fff; }
.btn-g { border: 1px solid rgba(255,255,255,0.4); color: #fff; }
.btn-g:hover { border-color: #fff; background: rgba(255,255,255,0.08); }
.btn .arr { transition: transform .25s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.link {
  text-decoration: none; font-weight: 600; font-size: 0.9rem; border-bottom: 1px solid currentColor; padding-bottom: 2px;
}

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100; transition: background .35s, border-color .35s, backdrop-filter .35s;
  border-bottom: 1px solid transparent;
}
.nav.solid { background: rgba(10,15,22,0.86); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); border-color: var(--line-d); }
.nav .wrap { display: flex; align-items: center; height: 76px; gap: 36px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 34px; height: 34px; }
.brand b { font-size: 0.95rem; font-weight: 700; letter-spacing: 0.32em; text-transform: uppercase; }
.nav ul { list-style: none; margin: 0 0 0 auto; padding: 0; display: flex; gap: 30px; }
.nav ul a { text-decoration: none; font-size: 0.84rem; color: rgba(255,255,255,0.78); letter-spacing: 0.01em; }
.nav ul a:hover { color: #fff; }
.nav .btn { padding: 11px 18px; font-size: 0.84rem; }
@media (max-width: 1000px) { .nav ul { display: none; } .nav .btn { margin-left: auto; } }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; background: var(--deep) url(media/still.jpg) center/cover no-repeat; }
.hero video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,15,22,0.55) 0%, rgba(10,15,22,0.15) 35%, rgba(10,15,22,0.55) 65%, rgba(10,15,22,0.96) 100%),
              linear-gradient(90deg, rgba(10,15,22,0.6) 0%, rgba(10,15,22,0) 60%);
}
.hero .wrap { position: relative; z-index: 2; width: 100%; padding-bottom: clamp(56px, 9vh, 110px); }
.hero h1 { font-size: clamp(3.4rem, 8.4vw, 7.4rem); font-weight: 800; letter-spacing: -0.042em; line-height: 0.95; max-width: 12ch; }
.hero h1 span { color: var(--accent); }
.hero .sub { font-size: clamp(1.05rem, 1.6vw, 1.35rem); color: rgba(255,255,255,0.82); margin: 28px 0 38px; max-width: 520px; }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-foot {
  margin-top: clamp(48px, 8vh, 90px); padding-top: 22px; border-top: 1px solid var(--line-d);
  display: flex; flex-wrap: wrap; gap: 10px 48px; font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,0.6);
}
.hero .tag-cv { position: absolute; z-index: 2; right: clamp(20px, 4vw, 56px); bottom: 24px; font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.45); }

/* ---------- Sections ---------- */
.sec { padding: clamp(90px, 12vw, 170px) 0; position: relative; }
.light { background: var(--bone); color: var(--char); }
.deep { background: var(--deep); }

/* Statement */
.statement h2 { font-size: clamp(2.2rem, 5.2vw, 4.6rem); max-width: 16ch; }
.statement h2 em { font-style: normal; color: rgba(255,255,255,0.38); }
.triad { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; margin-top: clamp(60px, 8vw, 110px); }
.triad div { border-top: 1px solid var(--line-d); padding-top: 24px; }
.triad b { display: block; font-size: 1.15rem; letter-spacing: -0.01em; margin-bottom: 8px; }
.triad p { color: var(--txt-d); font-size: 0.97rem; margin: 0; }
@media (max-width: 800px) { .triad { grid-template-columns: 1fr; gap: 32px; } }

/* Image frames: CSS backgrounds so missing photos fall back to a dark gradient */
.img {
  position: relative; overflow: hidden; background-color: var(--panel);
  background-image: linear-gradient(135deg, #1a2738 0%, #0e1622 100%);
}
.img .bg {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  transition: transform 1.2s var(--ease);
}
.zoom:hover .bg { transform: scale(1.05); }

/* Split: full-bleed half image / half text */
.split { display: grid; grid-template-columns: 1fr 1fr; min-height: 86vh; }
.split .img { min-height: 420px; }
.split .txt { display: flex; flex-direction: column; justify-content: center; padding: clamp(60px, 8vw, 130px) clamp(24px, 6vw, 110px); }
.split.rev .img { order: 2; }
.split h2 { font-size: clamp(2.1rem, 4vw, 3.6rem); margin-bottom: 26px; max-width: 14ch; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; min-height: 0; } .split.rev .img { order: 0; } .split .img { min-height: 62vw; } }

.split video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cv { position: absolute; left: 22px; right: 22px; bottom: 18px; z-index: 2; font-size: 0.66rem; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.6); }

.steps2 { margin: 30px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line-d); }
.steps2 li { display: grid; grid-template-columns: 120px 1fr; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--line-d); }
.steps2 b { font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); padding-top: 4px; }
.steps2 span { color: var(--txt-d); font-size: 0.98rem; }
.light .steps2, .light .steps2 li { border-color: var(--line-l); }
.light .steps2 span { color: var(--txt-l); }

/* Section header row */
.head { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: end; margin-bottom: clamp(48px, 6vw, 84px); }
.head .lead { margin: 0; }
@media (max-width: 860px) { .head { grid-template-columns: 1fr; gap: 20px; } }

/* Services */
.svc { display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px 28px; }
@media (max-width: 1000px) { .svc { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .svc { grid-template-columns: 1fr; } }
.svc article .img { aspect-ratio: 4 / 3; margin-bottom: 22px; }
.svc .n { font-size: 0.72rem; letter-spacing: 0.2em; color: #0f8f84; font-weight: 600; }
.svc h3 { font-size: 1.45rem; letter-spacing: -0.025em; margin: 8px 0 10px; }
.svc p { color: var(--txt-l); font-size: 0.98rem; margin: 0; max-width: 40ch; }

/* Full-width image band */
.band {
  position: relative; min-height: 78vh; display: flex; align-items: center; overflow: hidden;
  background: #0e1622 url(media/aerial-dusk.jpg) center/cover no-repeat;
  background-attachment: fixed;
}
@media (max-width: 900px), (hover: none) { .band { background-attachment: scroll; } }
.band::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,15,22,0.85) 0%, rgba(10,15,22,0.35) 70%); }
.band .wrap { position: relative; z-index: 1; width: 100%; }
.band h2 { font-size: clamp(2.4rem, 6vw, 5.4rem); max-width: 13ch; font-weight: 800; letter-spacing: -0.045em; }
.band p { margin-top: 24px; }

/* Packages */
.pk { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-d); }
@media (max-width: 1050px) { .pk { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .pk { grid-template-columns: 1fr; } }
.pk article { padding: 34px 30px 40px 0; border-right: 1px solid var(--line-d); display: flex; flex-direction: column; position: relative; }
.pk article + article { padding-left: 30px; }
.pk article:last-child { border-right: 0; }
@media (max-width: 1050px) { .pk article { padding: 34px 24px 40px !important; border-right: 0; border-bottom: 1px solid var(--line-d); } }
.pk .lbl { font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,0.5); min-height: 1.4em; }
.pk article.feat::before { content: ""; position: absolute; top: -1px; left: 0; right: 0; height: 2px; background: var(--accent); }
.pk article.feat .lbl { color: var(--accent); }
.pk h3 { font-size: 1.9rem; margin: 14px 0 8px; }
.pk .for { color: var(--txt-d); font-size: 0.93rem; margin-bottom: 26px; }
.pk ul { list-style: none; padding: 0; margin: 0 0 32px; flex: 1; }
.pk li { padding: 10px 0; border-top: 1px solid var(--line-d); font-size: 0.93rem; color: rgba(255,255,255,0.86); }

/* Audiences: editorial rows */
.aud { border-top: 1px solid var(--line-l); }
.aud a {
  display: grid; grid-template-columns: 1fr 1.3fr auto; gap: 32px; align-items: baseline; padding: 34px 0;
  border-bottom: 1px solid var(--line-l); text-decoration: none; transition: padding .35s var(--ease);
}
.aud a:hover { padding-left: 14px; }
.aud h3 { font-size: clamp(1.5rem, 2.6vw, 2.2rem); }
.aud p { margin: 0; color: var(--txt-l); }
.aud .go { font-size: 1.4rem; color: #0f8f84; transition: transform .35s var(--ease); }
.aud a:hover .go { transform: translateX(6px); }
@media (max-width: 760px) { .aud a { grid-template-columns: 1fr; gap: 8px; } .aud .go { display: none; } }

/* Process */
.proc { display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px; }
@media (max-width: 900px) { .proc { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .proc { grid-template-columns: 1fr; } }
.proc div { border-top: 1px solid var(--line-d); padding-top: 26px; }
.proc .num { font-size: clamp(3rem, 5vw, 4.4rem); font-weight: 200; letter-spacing: -0.05em; color: var(--accent); line-height: 1; }
.proc h3 { font-size: 1.25rem; margin: 22px 0 10px; letter-spacing: -0.02em; }
.proc p { color: var(--txt-d); font-size: 0.95rem; margin: 0; }

/* Comparison */
.cmp { border-top: 1px solid var(--line-l); }
.cmp .row { display: grid; grid-template-columns: 0.8fr 1fr 1fr; gap: 32px; padding: 26px 0; border-bottom: 1px solid var(--line-l); align-items: baseline; }
.cmp .row.hd { padding: 0 0 18px; font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--txt-l); }
.cmp .row.hd .us { color: #0f8f84; }
.cmp .k { font-weight: 700; font-size: 1.05rem; letter-spacing: -0.01em; }
.cmp .them { color: #8a919b; }
.cmp .us { font-weight: 600; }
@media (max-width: 760px) {
  .cmp .row { grid-template-columns: 1fr 1fr; gap: 8px 18px; }
  .cmp .k { grid-column: 1 / -1; }
}

/* Safety */
.comp { display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; margin-top: 34px; }
.comp div { border-top: 1px solid var(--line-l); padding: 22px 0; }
.comp b { display: block; font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: #0f8f84; margin-bottom: 8px; }
.comp p { margin: 0; color: var(--txt-l); font-size: 0.96rem; }
@media (max-width: 600px) { .comp { grid-template-columns: 1fr; } }

/* FAQ */
.faq { border-top: 1px solid var(--line-d); max-width: 920px; }
.faq details { border-bottom: 1px solid var(--line-d); }
.faq summary {
  list-style: none; cursor: pointer; padding: 28px 60px 28px 0; position: relative;
  font-size: clamp(1.1rem, 1.8vw, 1.4rem); font-weight: 600; letter-spacing: -0.02em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 16px; height: 1.5px; background: var(--accent); transition: transform .3s var(--ease);
}
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0deg); }
.faq details p { color: var(--txt-d); margin: 0; padding: 0 60px 30px 0; max-width: 70ch; }

/* Quote */
.quote { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 100px); align-items: start; }
@media (max-width: 900px) { .quote { grid-template-columns: 1fr; } }
.contacts { margin-top: 44px; border-top: 1px solid var(--line-d); }
.contacts div { display: grid; grid-template-columns: 140px 1fr; padding: 16px 0; border-bottom: 1px solid var(--line-d); font-size: 0.95rem; }
.contacts b { font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,0.5); padding-top: 3px; font-weight: 600; }
.ph-t { color: rgba(255,255,255,0.45); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.85em; }
form.qf { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 24px; }
form.qf .full { grid-column: 1 / -1; }
@media (max-width: 560px) { form.qf { grid-template-columns: 1fr; } }
form.qf label { display: block; font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,0.55); margin-bottom: 6px; }
form.qf input, form.qf select, form.qf textarea {
  width: 100%; font: inherit; font-size: 1rem; color: #fff; background: transparent; border: 0; border-bottom: 1px solid rgba(255,255,255,0.25);
  padding: 10px 0; border-radius: 0; -webkit-appearance: none; appearance: none;
}
form.qf select option { color: #000; }
form.qf textarea { resize: vertical; }
form.qf input:focus, form.qf select:focus, form.qf textarea:focus { outline: 0; border-bottom-color: var(--accent); }
form.qf button { font: inherit; font-weight: 600; cursor: pointer; border: 0; }
.formnote { font-size: 0.8rem; color: rgba(255,255,255,0.45); margin: 14px 0 0; }

/* Footer */
footer { border-top: 1px solid var(--line-d); padding: 56px 0 46px; font-size: 0.85rem; color: rgba(255,255,255,0.55); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 20px 48px; justify-content: space-between; align-items: center; }
footer .brand b { color: #fff; }

/* Reveal motion (only when JS is on and motion is allowed) */
.js .rv { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .rv.in { opacity: 1; transform: none; }
.js .rv.d1 { transition-delay: .08s; } .js .rv.d2 { transition-delay: .16s; } .js .rv.d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .rv { opacity: 1; transform: none; transition: none; }
  .img .bg, .aud a, .btn .arr { transition: none; }
  .band { background-attachment: scroll; }
}

/* Print */
@media print {
  body { background: #fff; color: #000; font-size: 10.5pt; }
  .nav, .hero video, .split video, form.qf, .band::before { display: none !important; }
  .hero, .deep, .sec, .band, .split .txt { background: #fff !important; color: #000 !important; min-height: 0 !important; }
  .hero::after { display: none; }
  .hero h1, .band h2 { color: #000; font-size: 28pt; }
  .js .rv { opacity: 1 !important; transform: none !important; }
  .img { display: none; }
  .split { grid-template-columns: 1fr; min-height: 0; }
  .lead, .muted, .triad p, .proc p, .pk li, .pk .for, .faq details p, .steps2 span { color: #333 !important; }
  .faq details { break-inside: avoid; }
}

/* Dark variant for compliance grid */
.dk .comp div { border-color: var(--line-d); }
.dk .comp b { color: var(--accent); }
.dk .comp p { color: var(--txt-d); }
form.qf select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%233ee0d0' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 2px center; padding-right: 24px;
}
@media (max-width: 760px) { .cmp .row.hd span:first-child { display: none; } }

/* ---------- v3: film ---------- */
.film { background: var(--ink); padding-top: clamp(40px, 6vw, 80px); }
.player { position: relative; aspect-ratio: 16 / 9; background-color: #0e1622; background-image: url(media/demo-poster.jpg), url(media/hero-golden.jpg); background-size: cover; background-position: center; background-repeat: no-repeat; overflow: hidden; }
.player video { width: 100%; height: 100%; object-fit: cover; }
.cv-r { position: absolute; right: 22px; bottom: 18px; z-index: 2; font-size: 0.66rem; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.6); pointer-events: none; }
.player .cv-r { bottom: auto; top: 18px; }
.chapters { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line-d); }
.chapters button {
  font: inherit; text-align: left; background: none; border: 0; color: rgba(255,255,255,0.55); cursor: pointer;
  padding: 18px 12px 18px 0; border-top: 2px solid transparent; margin-top: -1px; font-size: 0.95rem; font-weight: 600;
  transition: color .25s, border-color .25s;
}
.chapters button b { display: block; font-size: 0.68rem; letter-spacing: 0.2em; color: rgba(255,255,255,0.4); margin-bottom: 4px; font-weight: 600; }
.chapters button:hover, .chapters button.on { color: #fff; border-top-color: var(--accent); }
.chapters button.on b, .chapters button:hover b { color: var(--accent); }
.chapters button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (max-width: 600px) { .chapters { grid-template-columns: repeat(5, minmax(64px, 1fr)); overflow-x: auto; } .chapters button { font-size: 0.82rem; } }

/* ---------- v3: intelligence ---------- */
.intel { background: linear-gradient(180deg, var(--ink) 0%, #0b1420 100%); }
.intel-img { position: relative; margin-bottom: clamp(50px, 6vw, 80px); }
.intel-img .img { aspect-ratio: 21 / 9; }
.intel-img .img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,15,22,0) 50%, rgba(10,15,22,0.7) 100%); }
@media (max-width: 700px) { .intel-img .img { aspect-ratio: 4 / 3; } }
.tl5 { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 32px; position: relative; }
.tl5::before { content: ""; position: absolute; left: 0; right: 0; top: 6px; height: 1px; background: linear-gradient(90deg, var(--accent), rgba(62,224,208,0.15)); }
.tl5 > li { position: relative; padding-top: 34px; }
.tl5 .dot { position: absolute; top: 0; left: 0; width: 13px; height: 13px; border-radius: 50%; background: var(--ink); border: 2px solid var(--accent); box-shadow: 0 0 0 5px rgba(62,224,208,0.12); }
.tl5 b { font-size: 0.7rem; letter-spacing: 0.2em; color: var(--accent); }
.tl5 h3 { font-size: 1.2rem; letter-spacing: -0.02em; margin: 8px 0 10px; }
.tl5 p { color: var(--txt-d); font-size: 0.93rem; margin: 0 0 10px; }
.env { list-style: none; padding: 0; margin: 0; }
.env li { font-size: 0.85rem; color: rgba(255,255,255,0.82); padding: 7px 0; border-top: 1px solid var(--line-d); }
@media (max-width: 1000px) {
  .tl5 { grid-template-columns: 1fr; gap: 0; }
  .tl5::before { left: 6px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; background: linear-gradient(180deg, var(--accent), rgba(62,224,208,0.15)); }
  .tl5 > li { padding: 0 0 34px 40px; }
}

/* ---------- v3: process (7 steps) ---------- */
.proc { grid-template-columns: repeat(7, 1fr); gap: 24px; }
.proc .num { font-size: clamp(2.4rem, 3.6vw, 3.4rem); }
@media (max-width: 1100px) { .proc { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 700px) { .proc { grid-template-columns: 1fr 1fr; } }

/* ---------- v3: before / after ---------- */
.ba { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--panel); user-select: none; -webkit-user-select: none; touch-action: pan-y; cursor: ew-resize; }
@media (max-width: 700px) { .ba { aspect-ratio: 4 / 3; } }
.ba-img { position: absolute; inset: 0; background-size: cover; background-position: center; }
.ba-before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba-handle {
  position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; background: var(--accent); transform: translateX(-1px); pointer-events: none;
}
.ba-handle span {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 52px; height: 52px; border-radius: 50%;
  background: var(--accent); color: var(--accent-ink); display: flex; align-items: center; justify-content: center; font-weight: 800;
  box-shadow: 0 6px 24px rgba(0,0,0,0.35); font-size: 1rem; letter-spacing: 0.1em;
}
.ba-lbl { position: absolute; top: 18px; z-index: 2; font-size: 0.68rem; letter-spacing: 0.22em; text-transform: uppercase; color: #fff; background: rgba(10,15,22,0.55); padding: 6px 10px; pointer-events: none; }
.ba-lbl.l { left: 18px; } .ba-lbl.r { right: 18px; }
.ba-range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; margin: 0; z-index: 3; pointer-events: none; -webkit-appearance: none; appearance: none; }
.ba:focus-within .ba-handle span { box-shadow: 0 0 0 4px rgba(255,255,255,0.6), 0 6px 24px rgba(0,0,0,0.35); }
.hero { background-image: url(media/hero-golden.jpg); }

@media print { .player, .chapters, .ba, .intel-img { display: none !important; } .tl5 p, .env li { color: #333 !important; } }

/* v4: chapter descriptions + process rows */
.chapters button i { display: block; font-style: normal; font-weight: 400; font-size: 0.78rem; color: rgba(255,255,255,0.45); margin-top: 4px; line-height: 1.4; padding-right: 10px; }
.chapters button.on i, .chapters button:hover i { color: rgba(255,255,255,0.7); }
@media (max-width: 700px) { .chapters button i { display: none; } }
.proc { grid-template-columns: 1fr !important; gap: 0; border-bottom: 1px solid var(--line-d); }
.proc > div { display: grid; grid-template-columns: 110px minmax(180px, 300px) 1fr; gap: 28px; align-items: baseline; padding: 30px 0; }
.proc .num { font-size: clamp(2.2rem, 3.2vw, 3rem); }
.proc h3 { margin: 0; font-size: clamp(1.2rem, 1.8vw, 1.5rem); }
.proc p { font-size: 1rem; max-width: 62ch; }
@media (max-width: 760px) { .proc > div { grid-template-columns: 64px 1fr; gap: 6px 16px; } .proc > div p { grid-column: 2; } .proc .num { font-size: 1.8rem; } }
.chapters button { display: flex; flex-direction: column; justify-content: flex-start; align-items: flex-start; }
