/* Layout: one continuous Midnight canvas with a faint data grid; Indigo only inside panels; sections vary between split, centred and full-width compositions */
:root {
  --midnight: #0B0A14;
  --panel: #13102A;
  --panel-2: #1A1240;
  --white: #FFFFFF;
  --body: #DCD8EA;
  --soft: #A39EBA;
  --line: #262241;
  --line-2: #382F66;
  --magenta: #DE03FA;
  --sky: #7FB0FF;
  --electric: #3B82F6;
  --serif: "Cormorant Garamond", Garamond, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background: var(--midnight); color: var(--white); font-family: var(--sans); font-size: 1.0625rem; line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--midnight); }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--sky); outline-offset: 4px; border-radius: 6px; }
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 600; line-height: 1; letter-spacing: -0.01em; text-wrap: balance; }
h2 { font-size: clamp(2.6rem, 5.2vw, 4.3rem); }
h2 em, h1 em { font-style: italic; font-weight: 500; color: var(--magenta); }
.wrap { max-width: clamp(1200px, 80vw, 1760px); margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.label { font-weight: 700; font-size: 0.7rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--soft); }
.kicker { display: inline-flex; align-items: center; gap: 10px; }
.kicker::before { content: ""; width: 22px; height: 1px; background: var(--magenta); }
.num { font-family: var(--sans); font-weight: 800; letter-spacing: -0.045em; font-variant-numeric: tabular-nums lining-nums; line-height: 1; }
.pink { color: var(--magenta); }
.sky { color: var(--sky); }
.arrow { display: inline-block; transition: transform .25s ease; }
a:hover .arrow, button:hover .arrow { transform: translateX(4px); }

.btn { display: inline-flex; align-items: center; gap: 12px; padding: 16px 26px; border-radius: 999px; font-weight: 700; font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; border: 1px solid transparent; cursor: pointer; transition: background .25s, border-color .25s, box-shadow .3s; white-space: nowrap; }
.btn-main { background: var(--white); color: var(--midnight); }
.btn-main:hover { box-shadow: 0 0 0 6px rgba(222,3,250,.16), 0 10px 40px -10px rgba(222,3,250,.6); }
.btn-line { border-color: var(--line-2); color: var(--white); }
.btn-line:hover { border-color: var(--sky); }

/* Reveal: elements are visible by default; script arms only those below the fold */
.armed { opacity: 0; transform: translateY(22px); }
.shown { opacity: 1; transform: none; transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }

/* Header */
header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: color-mix(in srgb, var(--midnight) 78%, transparent); backdrop-filter: blur(16px); border-bottom: 1px solid transparent; transition: border-color .3s; }
header.scrolled { border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 16px; }
.logo { display: flex; align-items: center; gap: 12px; }
.logo img { width: 42px; height: 42px; filter: drop-shadow(0 0 10px rgba(127,176,255,.35)); }
.logo b { display: grid; line-height: 1.15; font-weight: 500; }
.logo b span:first-child { font-size: 0.86rem; letter-spacing: 0.42em; }
.logo b span:last-child { font-size: 0.56rem; letter-spacing: 0.5em; color: var(--soft); }
.links { display: flex; gap: 6px; padding: 5px; border: 1px solid var(--line); border-radius: 999px; background: rgba(19,16,42,.6); }
.links a { padding: 8px 16px; border-radius: 999px; font-weight: 500; font-size: 0.88rem; color: var(--soft); transition: color .2s, background .2s; }
.links a:hover { color: var(--white); background: var(--panel-2); }
.nav .btn { padding: 12px 20px; font-size: 0.7rem; }
@media (max-width: 960px) { .links { display: none; } }
@media (max-width: 340px) { .logo b { display: none; } }

/* Backdrop grid */
.grid-bg { position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 64px 64px; opacity: .35; -webkit-mask-image: radial-gradient(ellipse 70% 60% at 70% 30%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse 70% 60% at 70% 30%, #000 20%, transparent 75%); }

/* Hero */
.hero { position: relative; overflow: hidden; padding-block: clamp(56px, 8vw, 110px) clamp(64px, 8vw, 100px); }
.glow { position: absolute; width: 820px; height: 820px; border-radius: 50%; pointer-events: none; transform: translate(-50%, -50%); left: 72%; top: 34%; background: radial-gradient(closest-side, rgba(59,130,246,.22), rgba(222,3,250,.10) 55%, transparent); transition: left 1s ease, top 1s ease; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.08fr 1fr; gap: clamp(40px, 6vw, 84px); align-items: center; }
.hero-grid > * { min-width: 0; }
.badge { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 8px; border: 1px solid var(--line-2); border-radius: 999px; background: rgba(26,18,64,.5); font-size: 0.82rem; color: var(--body); }
.badge b { padding: 3px 9px; border-radius: 999px; background: var(--magenta); color: var(--white); font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; }
.hero h1 { font-size: clamp(3.4rem, 7.2vw, 6.4rem); margin-top: 26px; line-height: .96; }
.hero .lede { margin-top: 26px; font-size: 1.14rem; color: var(--body); max-width: 44ch; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

.stack { position: relative; padding-bottom: 92px; }
.card { background: rgba(19,16,42,.86); border: 1px solid var(--line-2); border-radius: 22px; padding: 24px; box-shadow: 0 50px 120px -40px rgba(0,0,0,.9), inset 0 1px 0 rgba(255,255,255,.04); backdrop-filter: blur(6px); }
.card-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.live { display: inline-flex; align-items: center; gap: 8px; }
.live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--magenta); animation: ping 2s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(222,3,250,.6); } 70%, 100% { box-shadow: 0 0 0 10px rgba(222,3,250,0); } }
.card-big { display: flex; align-items: flex-end; gap: 14px; margin-top: 16px; }
.card-big .num { font-size: clamp(3.6rem, 7vw, 5.2rem); }
.card-big p { color: var(--soft); max-width: 17ch; line-height: 1.35; padding-bottom: 6px; }
.card svg { width: 100%; height: auto; margin-top: 6px; overflow: visible; }
.float { position: absolute; right: -22px; bottom: 0; width: min(270px, 70%); background: rgba(26,18,64,.92); border: 1px solid var(--line-2); border-radius: 18px; padding: 16px 18px; box-shadow: 0 30px 80px -30px rgba(0,0,0,.9); display: grid; gap: 6px; }
.float .row1 { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.float .num { font-size: 1.9rem; }
.float svg { width: 100%; height: 38px; }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; } .stack { padding-bottom: 0; } .float { position: relative; right: auto; width: 100%; margin-top: 12px; } }

/* Ticker */
.ticker { border-block: 1px solid var(--line); overflow: hidden; background: rgba(19,16,42,.5); }
.track { display: flex; gap: 0; width: max-content; animation: slide 46s linear infinite; }
.ticker:hover .track { animation-play-state: paused; }
.tick { display: flex; align-items: center; gap: 14px; padding: 20px 34px; border-right: 1px solid var(--line); white-space: nowrap; }
.tick .num { font-size: 1.5rem; }
.tick span:last-child { color: var(--soft); font-size: 0.9rem; }
@keyframes slide { to { transform: translateX(-50%); } }

/* Sections */
section.band { position: relative; padding-block: clamp(90px, 11vw, 150px); }
.center { text-align: center; display: grid; justify-items: center; gap: 18px; max-width: 760px; margin: 0 auto clamp(48px, 6vw, 72px); }
.center p:not(.label) { color: var(--body); max-width: 56ch; }
.split-head { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: end; margin-bottom: clamp(40px, 6vw, 64px); }
.split-head > * { min-width: 0; }
.split-head h2 { margin-top: 16px; }
.split-head p { color: var(--body); max-width: 46ch; justify-self: end; }
@media (max-width: 860px) { .split-head { grid-template-columns: 1fr; gap: 18px; } .split-head p { justify-self: start; } }

/* Funnel */
.funnel { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 24px; overflow: hidden; background: linear-gradient(180deg, rgba(19,16,42,.7), rgba(11,10,20,.2)); }
.stage { padding: clamp(26px, 3vw, 38px); display: grid; gap: 16px; align-content: start; position: relative; }
.stage + .stage { border-left: 1px solid var(--line); }
.stage .bar { height: 140px; display: flex; align-items: flex-end; }
.stage .bar i { display: block; width: 100%; border-radius: 10px 10px 0 0; background: linear-gradient(180deg, rgba(127,176,255,.55), rgba(127,176,255,.05)); }
.stage:nth-child(3) .bar i { background: linear-gradient(180deg, rgba(222,3,250,.75), rgba(222,3,250,.06)); }
.stage h3 { font-size: 2.3rem; }
.stage p { color: var(--body); }
.stage ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 7px; color: var(--soft); font-size: 0.93rem; }
.stage li::before { content: "→"; margin-right: 10px; color: var(--line-2); }
.proof { margin-top: 8px; padding-top: 18px; border-top: 1px solid var(--line); display: flex; align-items: baseline; gap: 12px; }
.proof .num { font-size: 2.1rem; }
.proof span:last-child { font-size: 0.84rem; color: var(--soft); line-height: 1.35; }
@media (max-width: 900px) { .funnel { grid-template-columns: 1fr; } .stage + .stage { border-left: 0; border-top: 1px solid var(--line); } .stage .bar { height: 70px; } }

/* Explorer */
.explorer { border-radius: 26px; padding: 1px; background: linear-gradient(135deg, rgba(222,3,250,.5), rgba(56,47,102,.6) 35%, rgba(127,176,255,.35)); }
.explorer-in { background: linear-gradient(180deg, #15112F, #0E0C1C); border-radius: 25px; padding: clamp(20px, 3vw, 36px); display: grid; gap: 26px; }
.ex-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; }
.seg { display: flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: 999px; background: rgba(11,10,20,.7); border: 1px solid var(--line); }
.seg button { all: unset; cursor: pointer; padding: 9px 16px; border-radius: 999px; font-size: 0.84rem; font-weight: 600; color: var(--soft); transition: background .2s, color .2s; }
.seg button:hover { color: var(--white); }
.seg button[aria-selected="true"], .seg button[aria-pressed="true"] { background: var(--white); color: var(--midnight); }
.seg button:focus-visible { outline: 2px solid var(--sky); outline-offset: 2px; }
.seg.small button { padding: 7px 13px; font-size: 0.78rem; }
.ex-main { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
.ex-main > * { min-width: 0; }
.ex-side { display: grid; gap: 18px; }
.ex-side h3 { font-size: clamp(1.9rem, 3vw, 2.5rem); }
.ex-side .num.big { font-size: clamp(3.4rem, 6vw, 4.8rem); }
.ex-side .cap { color: var(--soft); }
.ex-side .sector { color: var(--body); font-size: 0.95rem; }
#chart { width: 100%; height: auto; overflow: visible; }
.ex-foot { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.mini { background: rgba(11,10,20,.6); border: 1px solid var(--line); border-radius: 14px; padding: 16px; display: grid; gap: 6px; }
.mini .num { font-size: 1.6rem; }
.mini span:last-child { font-size: 0.82rem; color: var(--soft); line-height: 1.35; }
.note { font-size: 0.76rem; color: var(--soft); }
@media (max-width: 900px) { .ex-main { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .ex-foot { grid-template-columns: 1fr; } .ex-bar { display: grid; } .seg { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; max-width: 100%; } .seg button { flex: none; } }

/* Services */
.svc-list { border-top: 1px solid var(--line); }
.svc { display: grid; grid-template-columns: 90px 1.1fr 1.2fr 48px; gap: 28px; align-items: center; padding-block: 34px; border-bottom: 1px solid var(--line); position: relative; transition: padding .35s ease; }
.svc > * { min-width: 0; }
.svc::before { content: ""; position: absolute; inset: 0 -24px; border-radius: 18px; background: radial-gradient(ellipse at 20% 50%, rgba(222,3,250,.12), transparent 60%), var(--panel); opacity: 0; transition: opacity .35s; z-index: -1; }
.svc:hover::before { opacity: 1; }
.svc .n { font-family: var(--serif); font-style: italic; font-size: 2.2rem; color: var(--line-2); transition: color .3s; }
.svc:hover .n { color: var(--magenta); }
.svc h3 { font-size: clamp(1.9rem, 3vw, 2.6rem); }
.svc p { color: var(--body); }
.svc .tags { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 0.8rem; color: var(--soft); }
.svc .go { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; transition: background .3s, border-color .3s, transform .3s; }
.svc:hover .go { background: var(--white); color: var(--midnight); border-color: var(--white); transform: rotate(-45deg); }
@media (max-width: 860px) { .svc { grid-template-columns: 52px 1fr; gap: 8px 18px; } .svc p { grid-column: 2; } .svc .go { display: none; } .svc .n { font-size: 1.6rem; } }

/* Process */
.process { border: 1px solid var(--line); border-radius: 24px; padding: clamp(26px, 4vw, 48px); background: rgba(19,16,42,.55); }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; position: relative; }
.steps::before { content: ""; position: absolute; left: 8px; right: 8px; top: 8px; height: 2px; background: linear-gradient(90deg, var(--sky), var(--magenta)); opacity: .55; }
.step { position: relative; display: grid; gap: 12px; align-content: start; padding-top: 38px; }
.step::before { content: ""; position: absolute; top: 0; left: 0; width: 18px; height: 18px; border-radius: 50%; background: var(--midnight); border: 2px solid var(--sky); }
.step:last-child::before { border-color: var(--magenta); background: var(--magenta); box-shadow: 0 0 18px rgba(222,3,250,.7); }
.step .when { font-weight: 700; font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--sky); }
.step h3 { font-size: 2.1rem; }
.step p { color: var(--soft); font-size: 0.95rem; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; } .steps::before { display: none; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* Reviews */
.review { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: end; }
.review > * { min-width: 0; }
.quote { font-family: var(--serif); font-weight: 500; font-size: clamp(2.2rem, 4.6vw, 3.9rem); line-height: 1.06; letter-spacing: -0.01em; text-wrap: balance; transition: opacity .35s; }
.quote::before { content: "\201C"; display: block; font-size: 1.8em; line-height: .55; height: .5em; color: var(--magenta); }
.who { margin-top: 30px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; transition: opacity .35s; }
.who strong { font-weight: 600; }
.stars { letter-spacing: 3px; font-size: 0.85rem; }
.rv-nav { display: flex; gap: 10px; }
.rv-nav button { all: unset; cursor: pointer; width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; transition: background .25s, color .25s; }
.rv-nav button:hover { background: var(--white); color: var(--midnight); }
.rv-nav button:focus-visible { outline: 2px solid var(--sky); outline-offset: 3px; }
.dots { display: flex; gap: 8px; margin-top: 34px; }
.dots i { width: 28px; height: 3px; border-radius: 3px; background: var(--line-2); transition: background .3s; }
.dots i.on { background: var(--magenta); }
.fade { opacity: 0; }
@media (max-width: 700px) { .review { grid-template-columns: 1fr; } }

/* FAQs */
.faq-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(32px, 6vw, 88px); }
.faq-grid > * { min-width: 0; }
.faq-grid h2 { margin-top: 16px; }
.faq-grid .aside { margin-top: 22px; color: var(--soft); max-width: 32ch; }
.faq-grid .aside a { color: var(--white); border-bottom: 1px solid var(--magenta); }
details { border-top: 1px solid var(--line); }
.faqs { border-bottom: 1px solid var(--line); }
summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-block: 24px; font-weight: 600; font-size: 1.1rem; transition: color .2s; }
summary:hover { color: var(--sky); }
summary::-webkit-details-marker { display: none; }
summary .plus { flex: none; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; color: var(--soft); transition: transform .25s, border-color .25s, color .25s; }
details[open] summary .plus { transform: rotate(45deg); border-color: var(--magenta); color: var(--magenta); }
details p { padding-bottom: 26px; color: var(--body); max-width: 62ch; }
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; } }

/* Contact */
.cta-card { position: relative; overflow: hidden; border-radius: 30px; padding: 1px; background: linear-gradient(135deg, rgba(222,3,250,.6), rgba(56,47,102,.5) 40%, rgba(127,176,255,.45)); }
.cta-in { position: relative; border-radius: 29px; background: radial-gradient(ellipse 60% 70% at 0% 0%, rgba(222,3,250,.16), transparent 60%), radial-gradient(ellipse 60% 70% at 100% 100%, rgba(59,130,246,.16), transparent 60%), #120F26; padding: clamp(26px, 5vw, 64px); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 80px); }
.cta-in > * { min-width: 0; }
.cta-in h2 { margin-top: 16px; font-size: clamp(2.8rem, 6vw, 5rem); }
.cta-in .lede { margin-top: 20px; color: var(--body); max-width: 42ch; }
.john { display: flex; align-items: center; gap: 16px; margin-top: 30px; padding: 14px; border: 1px solid var(--line-2); border-radius: 18px; background: rgba(11,10,20,.45); max-width: 420px; }
.john img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; border: 2px solid var(--magenta); }
.john p { font-size: 0.92rem; color: var(--body); line-height: 1.45; }
.john strong { display: block; color: var(--white); }
.lines { margin-top: 24px; display: grid; gap: 4px; }
.lines div { display: flex; gap: 14px; align-items: baseline; flex-wrap: wrap; }
.lines strong { font-weight: 600; user-select: all; overflow-wrap: anywhere; }
form { display: grid; gap: 20px; align-content: start; background: rgba(11,10,20,.7); border: 1px solid var(--line-2); border-radius: 20px; padding: clamp(22px, 3vw, 32px); }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 520px) { .row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 4px; }
.field label { font-weight: 700; font-size: 0.64rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--soft); }
input, select, textarea { font: inherit; font-size: 1rem; color: var(--white); background: transparent; border: 0; border-bottom: 1px solid var(--line-2); border-radius: 0; padding: 10px 0 12px; width: 100%; transition: border-color .25s; }
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--soft) 50%), linear-gradient(135deg, var(--soft) 50%, transparent 50%); background-position: calc(100% - 10px) 55%, calc(100% - 5px) 55%; background-size: 5px 5px; background-repeat: no-repeat; }
select option { background: var(--panel-2); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--sky); }
textarea { min-height: 84px; resize: vertical; }
.err { color: #FF9AB0; font-size: 0.88rem; }
.ok { color: var(--sky); font-size: 0.92rem; }
form .btn { justify-self: stretch; justify-content: center; }
@media (max-width: 900px) { .cta-in { grid-template-columns: 1fr; } }

/* Footer */
footer.site { border-top: 1px solid var(--line); margin-top: clamp(80px, 10vw, 120px); }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; padding-block: 56px 40px; }
.foot-grid > * { min-width: 0; }
.foot-grid p { color: var(--soft); font-size: 0.92rem; margin-top: 16px; max-width: 34ch; }
.foot-grid ul { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; font-size: 0.92rem; color: var(--body); }
.foot-grid ul a:hover { color: var(--sky); }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 22px; border-top: 1px solid var(--line); font-size: 0.8rem; color: var(--soft); }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .foot-grid { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } .armed { opacity: 1; transform: none; } }

/* ---------- Multi-page additions ---------- */
.links a[aria-current="page"] { color: var(--white); background: var(--panel-2); }
.nav-right { display: flex; align-items: center; gap: 10px; }
.menu-btn { all: unset; cursor: pointer; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); display: none; place-items: center; }
.menu-btn span { display: block; width: 16px; height: 1.5px; background: var(--white); position: relative; transition: background .2s; }
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; width: 16px; height: 1.5px; background: var(--white); transition: transform .25s; }
.menu-btn span::before { top: -5px; } .menu-btn span::after { top: 5px; }
header.open .menu-btn span { background: transparent; }
header.open .menu-btn span::before { transform: translateY(5px) rotate(45deg); }
header.open .menu-btn span::after { transform: translateY(-5px) rotate(-45deg); }
.menu-btn:focus-visible { outline: 2px solid var(--sky); outline-offset: 3px; }
.mnav { display: none; border-top: 1px solid var(--line); padding-block: 10px 22px; }
.mnav a { display: flex; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid var(--line); font-family: var(--serif); font-size: 1.7rem; font-weight: 600; }
.mnav a[aria-current="page"] { color: var(--magenta); }
.mnav .sub { padding-left: 16px; font-family: var(--sans); font-size: 0.98rem; font-weight: 500; color: var(--soft); }
@media (max-width: 960px) { .menu-btn { display: grid; } header.open .mnav { display: block; } }
@media (max-width: 520px) { .nav .btn-main { display: none; } }

/* Inner page hero */
.page-hero { position: relative; overflow: hidden; padding-block: clamp(56px, 8vw, 104px) clamp(56px, 7vw, 88px); border-bottom: 1px solid var(--line); }
.page-hero .glow { left: 82%; top: 20%; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 0.82rem; color: var(--soft); }
.crumbs a:hover { color: var(--white); }
.crumbs span[aria-hidden] { color: var(--line-2); }
.page-hero h1 { margin-top: 26px; font-size: clamp(3rem, 6.6vw, 5.6rem); line-height: .98; max-width: 16ch; }
.page-hero .lede { margin-top: 24px; font-size: 1.14rem; color: var(--body); max-width: 56ch; }
.ph-grid { position: relative; display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: end; }
.ph-grid > * { min-width: 0; }
.ph-stat { border: 1px solid var(--line-2); border-radius: 22px; padding: 26px; background: rgba(19,16,42,.8); display: grid; gap: 10px; }
.ph-stat .num { font-size: clamp(3.2rem, 6vw, 4.6rem); }
.ph-stat p { color: var(--soft); }
.ph-stat svg { width: 100%; height: auto; overflow: visible; }
@media (max-width: 900px) { .ph-grid { grid-template-columns: 1fr; } }

/* Included grid */
.incl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; }
.incl > div { background: var(--midnight); padding: clamp(24px, 3vw, 34px); display: grid; gap: 10px; align-content: start; transition: background .3s; }
.incl > div:hover { background: var(--panel); }
.incl .ic { width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line-2); display: grid; place-items: center; color: var(--sky); }
.incl .ic svg { width: 20px; height: 20px; }
.incl h3 { font-family: var(--sans); font-weight: 600; font-size: 1.15rem; letter-spacing: 0; line-height: 1.3; }
.incl p { color: var(--soft); font-size: 0.95rem; }
@media (max-width: 900px) { .incl { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .incl { grid-template-columns: 1fr; } }

/* Two column prose */
.two { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.two > * { min-width: 0; }
.two h2 { margin-top: 16px; }
.prose { display: grid; gap: 18px; color: var(--body); font-size: 1.05rem; }
.prose strong { color: var(--white); font-weight: 600; }
.ticks { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 12px; }
.ticks li { display: grid; grid-template-columns: 26px 1fr; gap: 10px; }
.ticks li::before { content: ""; width: 20px; height: 20px; margin-top: 3px; border-radius: 50%; background: rgba(222,3,250,.14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.5 2.5L14 7.5' fill='none' stroke='%23DE03FA' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat; }
@media (max-width: 860px) { .two { grid-template-columns: 1fr; } }

/* Service cards (overview) */
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.scard { position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: 22px; padding: clamp(26px, 3vw, 36px); background: var(--panel); display: grid; gap: 14px; align-content: start; transition: border-color .3s, transform .3s; }
.scard::after { content: ""; position: absolute; right: -120px; bottom: -160px; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(closest-side, rgba(222,3,250,.16), transparent); opacity: 0; transition: opacity .4s; pointer-events: none; }
.scard:hover { border-color: var(--line-2); transform: translateY(-4px); }
.scard:hover::after { opacity: 1; }
.scard .n { font-family: var(--serif); font-style: italic; font-size: 1.6rem; color: var(--magenta); }
.scard h3 { font-size: clamp(2rem, 3vw, 2.6rem); }
.scard p { color: var(--body); }
.scard ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; color: var(--soft); font-size: 0.93rem; }
.scard li::before { content: "→"; margin-right: 10px; color: var(--line-2); }
.scard .more { margin-top: 8px; display: inline-flex; gap: 10px; font-weight: 700; font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--sky); }
@media (max-width: 760px) { .cards { grid-template-columns: 1fr; } }

/* Comparison table */
.tbl-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 20px; }
table.cmp { width: 100%; border-collapse: collapse; min-width: 640px; font-size: 0.95rem; }
.cmp th, .cmp td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line); }
.cmp thead th { font-weight: 700; font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--soft); background: var(--panel); }
.cmp tbody th { font-weight: 600; color: var(--white); }
.cmp td { color: var(--body); }
.cmp tr:last-child th, .cmp tr:last-child td { border-bottom: 0; }

/* Case studies */
.case { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(28px, 5vw, 72px); padding-block: clamp(48px, 6vw, 80px); border-top: 1px solid var(--line); }
.case > * { min-width: 0; }
.case h2 { margin-top: 14px; font-size: clamp(2.4rem, 4.4vw, 3.6rem); }
.case .prose { margin-top: 20px; }
.case-data { display: grid; gap: 14px; }
.chart-card { border: 1px solid var(--line-2); border-radius: 20px; padding: 22px; background: rgba(19,16,42,.8); display: grid; gap: 8px; }
.chart-card .head-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.chart-card .num { font-size: 1.9rem; }
.chart-card svg { width: 100%; height: auto; overflow: visible; }
.kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 900px) { .case { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .kpis { grid-template-columns: 1fr; } }

/* Values, areas */
.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.value { border: 1px solid var(--line); border-radius: 20px; padding: 28px; display: grid; gap: 10px; align-content: start; background: rgba(19,16,42,.55); }
.value .n { font-family: var(--serif); font-style: italic; font-size: 1.4rem; color: var(--magenta); }
.value h3 { font-size: 1.9rem; }
.value p { color: var(--soft); }
@media (max-width: 900px) { .values { grid-template-columns: 1fr; } }
.areas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.areas span { padding: 9px 16px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 0.9rem; color: var(--body); }
.portrait { position: relative; }
.portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 26px; border: 1px solid var(--line-2); filter: saturate(.9); }
.portrait .tag { position: absolute; left: 18px; bottom: 18px; right: 18px; padding: 14px 16px; border-radius: 14px; background: rgba(11,10,20,.82); backdrop-filter: blur(8px); border: 1px solid var(--line-2); display: grid; gap: 2px; }
.portrait .tag strong { font-weight: 600; }

/* Contact page */
.contact-page { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(36px, 6vw, 88px); align-items: start; }
.contact-page > * { min-width: 0; }
.cblock { display: grid; gap: 4px; padding-block: 20px; border-bottom: 1px solid var(--line); }
.cblock strong { font-weight: 600; font-size: 1.25rem; user-select: all; overflow-wrap: anywhere; }
.cblock p { color: var(--soft); font-size: 0.92rem; }
.next { display: grid; gap: 0; margin-top: 34px; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.next div { display: grid; grid-template-columns: 44px 1fr; gap: 14px; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.next div:last-child { border-bottom: 0; }
.next b { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; font-size: 0.85rem; color: var(--sky); }
.next p { color: var(--body); font-size: 0.96rem; }
.next p strong { display: block; color: var(--white); font-weight: 600; }
@media (max-width: 900px) { .contact-page { grid-template-columns: 1fr; } }

/* Strip CTA */
.strip { border: 1px solid var(--line-2); border-radius: 24px; padding: clamp(26px, 4vw, 44px); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; background: radial-gradient(ellipse 50% 90% at 0% 50%, rgba(222,3,250,.14), transparent 70%), var(--panel); }
.strip h2 { font-size: clamp(2.2rem, 4.4vw, 3.4rem); max-width: 18ch; }
.strip .cta { margin-top: 0; }
.related { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.related a { border: 1px solid var(--line); border-radius: 16px; padding: 20px; display: flex; justify-content: space-between; align-items: center; gap: 12px; font-weight: 600; transition: border-color .25s, background .25s; }
.related a:hover { border-color: var(--line-2); background: var(--panel); }
@media (max-width: 760px) { .related { grid-template-columns: 1fr; } }
body { margin: 0; }

/* Stats band */
.stats { background: var(--panel-2); border-block: 1px solid var(--line-2); }
.stats .wrap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stat { padding: 44px 26px 44px 0; display: grid; gap: 10px; align-content: start; }
.stat + .stat { padding-left: 26px; border-left: 1px solid var(--line-2); }
.stat .num { font-size: clamp(2.6rem, 4.6vw, 3.9rem); }
.stat p { color: #C4BEDB; font-size: 0.95rem; line-height: 1.45; }
.stat .who { font-weight: 700; font-size: 0.66rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--white); opacity: .65; }
@media (max-width: 900px) { .stats .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); } .stat:nth-child(3) { padding-left: 0; border-left: 0; } .stat:nth-child(n+3) { border-top: 1px solid var(--line-2); } }
@media (max-width: 480px) { .stats .wrap { grid-template-columns: 1fr; } .stat, .stat + .stat { padding-left: 0; border-left: 0; } .stat + .stat { border-top: 1px solid var(--line-2); } }
@media (max-width: 900px) { .contact-page > div:last-child { order: -1; } }
.ex-bar > * { min-width: 0; }
@media (max-width: 860px) { .svc::before { inset: 0 -14px; } }

/* Mobile polish */
.mbar { display: none; }
@media (max-width: 760px) {
  .mbar { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; padding: 10px max(12px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(12px, env(safe-area-inset-left, 0px)); background: color-mix(in srgb, var(--midnight) 88%, transparent); backdrop-filter: blur(14px); border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .35s ease; }
  .mbar.on { transform: none; }
  .mbar .btn { justify-content: center; padding: 14px 10px; font-size: 0.68rem; letter-spacing: 0.1em; }
  footer.site { padding-bottom: 80px; }
}
@media (max-width: 900px) { .stage .bar { display: none; } }
@media (max-width: 600px) {
  .hero h1 { font-size: clamp(3rem, 13vw, 3.6rem); }
  .cta .btn { flex: 1 1 auto; justify-content: center; }
  .card { padding: 18px; }
  .explorer-in { padding: 16px; }
  .svc { padding-block: 26px; }
  .svc h3 { font-size: 1.9rem; }
  .quote { font-size: 2rem; }
  .rv-nav button { width: 46px; height: 46px; }
}

/* Large monitors: widen the layout and scale everything up a little */
@media (min-width: 1700px) { html { font-size: 106.25%; } }
@media (min-width: 2200px) { html { font-size: 118.75%; } }
@media (min-width: 2200px) { .hero-grid { gap: 7vw; } }
@media (min-width: 1700px) { .stack { padding-bottom: 7.5rem; } }
