/* =====================================================================
   claudewebsites.com — the build studio
   Deep plum + lavender paper, the SSTA spectrum used as "build layers".
   Bricolage Grotesque for everything; JetBrains-free, pill buttons.
   ===================================================================== */
@font-face { font-family: 'Bricolage Grotesque'; src: url('../fonts/bricolage.woff2') format('woff2'); font-weight: 200 800; font-stretch: 75% 100%; font-display: swap; }

:root {
  --plum: #140d2c; --plum-2: #1d1540; --plum-3: #2c2160; --ink: #170f30; --muted: #5d5678;
  --lav: #f5f3fb; --lav-2: #ebe7f7; --white: #fff; --line: rgba(23, 15, 48, .1); --line-d: rgba(255, 255, 255, .12);
  --c1: #5c94ff; --c2: #a67df2; --c3: #e266a7; --c4: #ef675a; --c5: #f2a516; --c6: #2eb45c; --c7: #00b5c1;
  --spectrum: linear-gradient(90deg, var(--c1), var(--c2), var(--c3), var(--c4), var(--c5), var(--c6), var(--c7));
  --font: 'Bricolage Grotesque', 'Helvetica Neue', Arial, sans-serif; --font-ui: var(--font);
  --wrap: 1240px; --gut: clamp(18px, 4vw, 48px); --sec: clamp(84px, 10vw, 140px);
  --ease: cubic-bezier(.2, .7, .2, 1); --r-card: 26px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.6; color: var(--ink); background: #fff; font-variation-settings: 'opsz' 14; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
h1, h2 { font-weight: 720; letter-spacing: -.035em; line-height: 1; font-variation-settings: 'opsz' 96, 'wdth' 88; text-wrap: balance; }
h2 { font-size: clamp(2.1rem, 4.2vw, 3.5rem); }
h3 { font-size: 1.24rem; font-weight: 680; letter-spacing: -.015em; line-height: 1.2; font-variation-settings: 'opsz' 36; }
p { text-wrap: pretty; }
.wrap { width: min(var(--wrap), 100% - 2 * var(--gut)); margin-inline: auto; }
.lede { font-size: clamp(1.08rem, 1.5vw, 1.24rem); line-height: 1.55; color: var(--muted); max-width: 34em; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 200; background: #fff; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--c2); outline-offset: 3px; border-radius: 6px; }
.hp { position: absolute; left: -9999px; }

/* buttons: pills */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 52px; padding: 0 26px; border-radius: 999px; border: 1.5px solid transparent; font: inherit; font-weight: 650; text-decoration: none; cursor: pointer; white-space: nowrap; transition: transform .25s var(--ease), background-color .25s, border-color .25s, box-shadow .25s, color .25s; }
.btn:hover { transform: translateY(-1px); }
.btn .ico { transition: transform .25s var(--ease); }
.btn:hover .ico { transform: translateX(3px); }
.btn-sm { min-height: 42px; padding: 0 20px; font-size: .95rem; }
.btn-light { background: #fff; color: var(--plum); }
.btn-light:hover { box-shadow: 0 12px 30px -12px rgba(255,255,255,.5); }
.btn-ghost { color: #fff; border-color: rgba(255,255,255,.35); }
.btn-ghost:hover { border-color: #fff; }
.btn-plum { background: var(--plum); color: #fff; }
.btn-plum:hover { background: var(--plum-3); box-shadow: 0 14px 30px -14px rgba(20,13,44,.7); }
.btn-outline { color: var(--plum); border-color: var(--line); }

/* logo + nav */
.logo { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; }
.logo img { border-radius: 9px; }
.logo-word { font-size: 1.2rem; letter-spacing: -.02em; font-weight: 400; font-variation-settings: 'opsz' 36; }
.logo-word b { font-weight: 760; }
.nav { position: fixed; inset: 0 0 auto 0; z-index: 100; color: #fff; transition: background-color .35s, box-shadow .35s; }
.nav-in { width: min(var(--wrap), 100% - 2 * var(--gut)); margin-inline: auto; display: flex; align-items: center; gap: 28px; height: 76px; }
.nav.is-solid, .is-simple .nav { background: rgba(20, 13, 44, .86); backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3); box-shadow: 0 1px 0 var(--line-d); }
.nav-links { display: flex; gap: 28px; margin-left: auto; }
.nav-links a { text-decoration: none; font-weight: 520; font-size: .97rem; color: rgba(255,255,255,.78); transition: color .2s; }
.nav-links a:hover { color: #fff; }
.nav-burger, .menu { display: none; }

/* hero */
.hero, .case-hero { position: relative; isolation: isolate; overflow: hidden; background: var(--plum); color: #fff; }
.hero { padding: 150px 0 110px; }
.hero-glow { position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(40% 50% at 78% 30%, rgba(166,125,242,.42), transparent 70%),
  radial-gradient(35% 45% at 95% 80%, rgba(92,148,255,.3), transparent 70%),
  radial-gradient(30% 40% at 55% 100%, rgba(226,102,167,.25), transparent 70%); }
.hero-glow::after { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(70% 70% at 70% 40%, #000, transparent); -webkit-mask-image: radial-gradient(70% 70% at 70% 40%, #000, transparent); }
.hero-in { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 4vw, 64px); align-items: center; }
.hero-copy { display: grid; gap: 26px; justify-items: start; }
.hero h1 { font-size: clamp(2.8rem, 5.6vw, 5rem); }
.hero h1 .ln { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.hero h1 .ln > span { display: block; transform: translateY(105%); animation: rise 1s var(--ease) forwards; }
.hero h1 .ln:nth-child(2) > span { animation-delay: .08s; } .hero h1 .ln:nth-child(3) > span { animation-delay: .16s; }
.hero-lede { font-size: 1.14rem; color: rgba(255,255,255,.78); max-width: 32em; opacity: 0; animation: fade .9s ease .45s forwards; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-copy .hero-cta, .hero-proof { opacity: 0; animation: fade .9s ease .6s forwards; }
.hero-proof { font-size: .95rem; color: rgba(255,255,255,.6); }
.hero-proof a { color: #fff; }
.hero-art { opacity: 0; animation: fade 1.1s ease .3s forwards; }

/* ---------- build stage ---------- */
.stage { --T: 12s; position: relative; font-size: clamp(7.5px, .95vw, 13.5px); width: 52em; max-width: 100%; height: 38em; margin-left: auto; }
.win { position: absolute; left: 0; top: 0; width: 44em; height: 31em; border-radius: 1.2em; background: #0f0a22; box-shadow: 0 0 0 1px rgba(255,255,255,.12), 0 3em 6em -2em rgba(0,0,0,.6); overflow: hidden; display: flex; flex-direction: column; }
.win-bar { display: flex; align-items: center; gap: .45em; padding: .8em 1em; background: rgba(255,255,255,.05); border-bottom: 1px solid rgba(255,255,255,.08); }
.win-bar > i { width: .7em; height: .7em; border-radius: 50%; background: #ff6b6b; } .win-bar > i:nth-child(2) { background: #ffcc4d; } .win-bar > i:nth-child(3) { background: #4dd88a; }
.win-url { margin-left: 1em; flex: 1; max-width: 22em; display: flex; align-items: center; gap: .45em; padding: .35em .8em; border-radius: 1em; background: rgba(255,255,255,.07); font-size: .95em; color: rgba(255,255,255,.75); }
.win-url svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2.2; animation: lock var(--T) ease infinite; }
.url-a { display: inline-block; overflow: hidden; white-space: nowrap; width: 0; animation: type var(--T) steps(16) infinite; }
.ph { position: absolute; right: 0; bottom: 0; width: 15.5em; height: 31em; padding: .5em; border-radius: 2.4em; background: #0b0719; box-shadow: 0 0 0 1px rgba(255,255,255,.14), 0 3em 5em -2em rgba(0,0,0,.65); }
.ph > .bs { border-radius: 2em; height: 100%; padding-top: 2.4em; }
.ph::before { content: ''; position: absolute; z-index: 3; top: 1.05em; left: 50%; width: 4.2em; height: 1.15em; margin-left: -2.1em; border-radius: 1em; background: #000; }

/* the mock site */
.bs { position: relative; flex: 1; overflow: hidden; display: flex; flex-direction: column; gap: 1.4em; padding: 1.4em 1.8em; animation: bs-bg var(--T) ease infinite; color: #0d1330; }
.bs-nav { display: flex; align-items: center; gap: 1em; }
.bs-logo { width: 1.6em; height: 1.6em; border-radius: .5em; --fill: linear-gradient(135deg, var(--c4), var(--c5)); animation: fillx var(--T) ease infinite; }
.bs-links { display: flex; gap: .8em; margin-left: auto; }
.bs-links i { width: 3em; height: .55em; border-radius: .3em; background: rgba(255,255,255,.2); animation: bar var(--T) ease infinite; }
.bs-btn { width: 5.5em; height: 1.9em; border-radius: 1em; --fill: var(--plum); animation: fillx var(--T) ease infinite; }
.bs-hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 1.6em; align-items: center; }
.bs-copy { display: grid; gap: .55em; justify-items: start; }
.bs-h { font-size: 1.9em; font-weight: 760; letter-spacing: -.03em; line-height: 1.02; font-variation-settings: 'opsz' 96, 'wdth' 88; animation: txt var(--T) ease infinite; border-radius: .2em; }
.bs-p { width: 100%; height: .6em; border-radius: .3em; animation: bar var(--T) ease infinite; background: rgba(255,255,255,.2); }
.bs-p.short { width: 70%; }
.bs-cta { margin-top: .5em; padding: .6em 1.2em; border-radius: 1em; font-size: .95em; font-weight: 700; animation: cta var(--T) ease infinite; }
.bs-img { position: relative; height: 12em; border-radius: 1em; overflow: hidden; --fill: linear-gradient(160deg, #ffd3a8, var(--c3) 60%, var(--c2)); animation: fillx var(--T) ease infinite; }
.bs-sun { position: absolute; width: 4em; height: 4em; border-radius: 50%; right: 22%; top: 18%; background: #fff3c4; animation: show var(--T) ease infinite; }
.bs-hill { position: absolute; left: -10%; right: -10%; bottom: -30%; height: 60%; border-radius: 50% 50% 0 0; background: var(--c7); animation: show var(--T) ease infinite; box-shadow: 6em -1em 0 -1em var(--c6); }
.bs-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1em; }
.bs-cards span { display: grid; gap: .5em; }
.bs-cards b { height: 4.4em; border-radius: .7em; --fill: var(--lav-2); animation: fillx var(--T) ease infinite; }
.bs-cards span:nth-child(1) b { --fill: linear-gradient(135deg, #cfe0ff, var(--c1)); } .bs-cards span:nth-child(2) b { --fill: linear-gradient(135deg, #ffe2b5, var(--c5)); } .bs-cards span:nth-child(3) b { --fill: linear-gradient(135deg, #d4f5df, var(--c6)); }
.bs-cards i { height: .55em; width: 80%; border-radius: .3em; background: rgba(255,255,255,.2); animation: bar var(--T) ease infinite; }
/* mobile mock */
.bs-mob { padding: 2.6em 1em 1em; gap: 1em; }
.bs-mob .bs-links { display: none; }
.bs-mob .bs-hero { grid-template-columns: 1fr; gap: 1em; }
.bs-mob .bs-h { font-size: 1.45em; }
.bs-mob .bs-img { height: 7.5em; order: -1; }
.bs-mob .bs-cards { grid-template-columns: 1fr 1fr; }
.bs-mob .bs-cards span:nth-child(3) { display: none; }
.bs-mob, .bs-mob * { animation-delay: .35s !important; }
/* floating checklist + cursor */
.checks { position: absolute; left: -1.5em; bottom: 0; list-style: none; margin: 0; padding: 0; display: grid; gap: .5em; }
.checks li { display: flex; align-items: center; gap: .6em; width: max-content; padding: .55em 1em .55em .6em; border-radius: 2em; font-size: 1.05em; font-weight: 650; color: #fff; background: rgba(29,21,64,.82); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 0 0 1px rgba(255,255,255,.12), 0 1em 2em -1em rgba(0,0,0,.6); opacity: 0; animation: check var(--T) var(--ease) infinite; }
.checks li::before { content: ''; width: 1.3em; height: 1.3em; border-radius: 50%; background: var(--c) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 70% no-repeat; }
.checks li:nth-child(2) { animation-delay: .5s; } .checks li:nth-child(3) { animation-delay: 1s; } .checks li:nth-child(4) { animation-delay: 1.5s; }
.cursor { position: absolute; left: 0; top: 0; width: 1.8em; height: 1.8em; animation: cur var(--T) var(--ease) infinite; filter: drop-shadow(0 .2em .3em rgba(0,0,0,.5)); }
.cursor svg { width: 100%; height: 100%; fill: #fff; stroke: var(--plum); stroke-width: 1.4; stroke-linejoin: round; }

/* phases: 0-14 url types · 14-30 wireframe · 30-44 type · 44-60 colour · 60-90 live · 92-100 reset */
@keyframes type { 0% { width: 0; } 14%, 92% { width: 9.4em; } 100% { width: 0; } }
@keyframes lock { 0%, 58% { stroke: currentColor; } 62%, 92% { stroke: #4dd88a; } 100% { stroke: currentColor; } }
@keyframes bs-bg { 0%, 44% { background: transparent; color: #fff; } 52%, 92% { background: #fff; color: #0d1330; } 100% { background: transparent; color: #fff; } }
@keyframes fillx { 0%, 14% { background: transparent; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,0); } 20%, 44% { background: transparent; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.32); } 52%, 92% { background: var(--fill); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,0); } 100% { background: transparent; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,0); } }
@keyframes bar { 0%, 14% { opacity: 0; background: rgba(255,255,255,.2); } 20%, 44% { opacity: 1; background: rgba(255,255,255,.2); } 52%, 92% { opacity: 1; background: rgba(13,19,48,.13); } 100% { opacity: 0; } }
@keyframes txt { 0%, 14% { color: transparent; background: transparent; } 20%, 30% { color: transparent; background: rgba(255,255,255,.2); } 36%, 44% { color: #fff; background: transparent; } 52%, 92% { color: #0d1330; background: transparent; } 100% { color: transparent; background: transparent; } }
@keyframes cta { 0%, 14% { color: transparent; background: transparent; box-shadow: none; } 20%, 30% { color: transparent; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.32); } 36%, 44% { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.5); background: transparent; } 52%, 92% { color: #fff; background: var(--c1); box-shadow: none; } 100% { color: transparent; background: transparent; box-shadow: none; } }
@keyframes show { 0%, 46% { opacity: 0; transform: translateY(.6em); } 54%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes check { 0%, 56% { opacity: 0; transform: translateY(.6em) scale(.96); } 62%, 90% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; transform: none; } }
@keyframes cur { 0% { transform: translate(40em, 26em); } 12% { transform: translate(14em, 2.2em); } 16% { transform: translate(14em, 2.2em) scale(.85); } 18% { transform: translate(14em, 2.2em); } 40% { transform: translate(8em, 13.5em); } 48% { transform: translate(8em, 13.5em) scale(.85); } 52% { transform: translate(8em, 13.5em); } 70% { transform: translate(46em, 20em); } 100% { transform: translate(40em, 26em); } }
@keyframes rise { to { transform: none; } }
@keyframes fade { to { opacity: 1; } }
.is-paused, .is-paused * { animation-play-state: paused !important; }

/* section heads */
.sec-head { display: grid; gap: 14px; max-width: 44em; margin-bottom: 52px; }
.sec-head p { color: var(--muted); font-size: 1.12rem; max-width: 36em; }
.sec-dark p { color: rgba(255,255,255,.7); }

/* services */
.services { padding: var(--sec) 0; background: var(--lav); }
.offers { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.offer { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 28px 26px 30px; border-radius: var(--r-card); background: #fff; box-shadow: 0 0 0 1px var(--line); transition: box-shadow .35s, translate .35s var(--ease); overflow: hidden; }
.offer:hover { translate: 0 -4px; box-shadow: 0 0 0 1px var(--line), 0 30px 50px -30px color-mix(in srgb, var(--c) 60%, transparent); }
.offer::after { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--c); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.offer:hover::after { transform: scaleX(1); }
.offer-ico { width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center; color: color-mix(in srgb, var(--c) 70%, #000); background: color-mix(in srgb, var(--c) 15%, #fff); margin-bottom: 8px; }
.offer p { color: var(--muted); font-size: .97rem; }
.offer ul { list-style: none; margin: 8px 0 0; padding: 14px 0 0; border-top: 1px solid var(--line); display: grid; gap: 6px; font-size: .92rem; font-weight: 540; }
.offer ul li { display: flex; gap: 8px; align-items: baseline; }
.offer ul li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--c); flex: none; transform: translateY(-2px); }
.offer-more { background: var(--plum); color: #fff; box-shadow: none; justify-content: flex-end; }
.offer-more p { color: rgba(255,255,255,.7); }
.offer-more .btn { margin-top: 10px; align-self: flex-start; }

/* work */
.work { padding: var(--sec) 0; background: var(--plum); color: #fff; }
.cases { display: grid; gap: 22px; }
.case { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); border-radius: 30px; overflow: hidden; text-decoration: none; background: var(--plum-2); box-shadow: 0 0 0 1px rgba(255,255,255,.08); transition: box-shadow .4s, translate .4s var(--ease); }
.case:hover { translate: 0 -4px; box-shadow: 0 0 0 1px color-mix(in srgb, var(--p-accent) 50%, transparent), 0 40px 80px -40px color-mix(in srgb, var(--p-accent) 60%, transparent); }
.case-flip { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }
.case-flip .case-media { order: 2; }
.case-media { display: block; min-height: 360px; background: var(--p-bg); overflow: hidden; }
.case-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.case:hover .case-media img { transform: scale(1.04); }
.case-body { display: grid; gap: 12px; align-content: center; padding: clamp(26px, 4vw, 48px); }
.case-kind { display: flex; align-items: center; gap: 10px; font-size: .92rem; font-weight: 600; color: rgba(255,255,255,.65); }
.case-kind img { border-radius: 9px; }
.case-body strong { font-size: clamp(1.9rem, 3vw, 2.6rem); font-weight: 740; letter-spacing: -.03em; line-height: 1.02; font-variation-settings: 'opsz' 96, 'wdth' 90; }
.case-sum { color: rgba(255,255,255,.75); }
.case-built { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.case-built em { width: 100%; font-style: normal; font-size: .85rem; font-weight: 650; color: rgba(255,255,255,.55); }
.case-built i { font-style: normal; font-size: .82rem; font-weight: 560; padding: 4px 11px; border-radius: 99px; background: rgba(255,255,255,.08); }
.case-go { display: inline-flex; align-items: center; gap: 8px; font-weight: 650; color: var(--p-accent2); margin-top: 6px; }

/* process */
.process { padding: var(--sec) 0; background: #fff; }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; position: relative; }
.timeline::before { content: ''; position: absolute; left: 24px; right: 24px; top: 23px; height: 2px; background: var(--spectrum); opacity: .55; }
.timeline li { position: relative; display: grid; gap: 18px; align-content: start; padding-right: 22px; }
.tl-n { position: relative; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: #fff; box-shadow: inset 0 0 0 2px var(--plum); font-weight: 750; font-size: 1.1rem; }
.timeline h3 { margin-bottom: 6px; }
.timeline p { color: var(--muted); font-size: .97rem; }

/* packages */
.packages { padding: var(--sec) 0; background: var(--lav); }
.pkgs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.pkg { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 34px 30px; border-radius: var(--r-card); background: #fff; box-shadow: 0 0 0 1px var(--line); }
.pkg h3 { font-size: 1.6rem; font-variation-settings: 'opsz' 96, 'wdth' 90; font-weight: 720; letter-spacing: -.025em; }
.pkg > p { color: var(--muted); }
.pkg ul { list-style: none; margin: 10px 0 18px; padding: 18px 0 0; border-top: 1px solid var(--line); display: grid; gap: 10px; flex: 1; }
.pkg li { display: flex; gap: 10px; align-items: baseline; font-weight: 520; }
.pkg li::before { content: ''; width: 16px; height: 16px; flex: none; transform: translateY(3px); border-radius: 50%; background: var(--lav-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23140d2c' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 70% no-repeat; }
.pkg .btn { align-self: flex-start; }
.pkg-feat { background: var(--plum); color: #fff; box-shadow: 0 40px 80px -40px rgba(20,13,44,.7); }
.pkg-feat > p { color: rgba(255,255,255,.7); }
.pkg-feat ul { border-color: var(--line-d); }
.pkg-feat li::before { background-color: rgba(255,255,255,.14); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.pkg-badge { position: absolute; top: -13px; left: 30px; padding: 5px 13px; border-radius: 99px; font-size: .8rem; font-weight: 700; color: #fff; background: var(--spectrum); }

/* faq */
.faq { padding: var(--sec) 0; background: #fff; }
.faq-in { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq-list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; cursor: pointer; list-style: none; font-size: 1.15rem; font-weight: 650; letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary span { position: relative; width: 28px; height: 28px; flex: none; border-radius: 50%; background: var(--lav); transition: background-color .3s, transform .4s var(--ease); }
.faq summary span::before, .faq summary span::after { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; border-radius: 2px; background: var(--plum); transition: transform .4s var(--ease); }
.faq summary span::after { transform: rotate(90deg); }
.faq details[open] summary span { background: var(--plum); transform: rotate(180deg); }
.faq details[open] summary span::before, .faq details[open] summary span::after { background: #fff; }
.faq details[open] summary span::after { transform: rotate(0); }
.faq details p { padding: 0 48px 24px 0; color: var(--muted); }
.faq details[open] p { animation: open .45s var(--ease); }
@keyframes open { from { opacity: 0; transform: translateY(-6px); } }

/* quote */
.quote { padding: var(--sec) 0; background: var(--lav); }
.quote-in { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(36px, 6vw, 96px); align-items: start; }
.quote .lede { margin-top: 20px; }
.contact-list { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 14px; }
.contact-list li { display: flex; gap: 12px; align-items: flex-start; }
.contact-list a { font-weight: 650; }
.form { display: grid; gap: 20px; padding: clamp(22px, 3vw, 38px); border-radius: var(--r-card); background: #fff; box-shadow: 0 40px 80px -50px rgba(20,13,44,.45); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 7px; border: 0; margin: 0; padding: 0; min-width: 0; }
.field > label, .field legend { font-weight: 650; font-size: .95rem; padding: 0; }
.field label span { font-weight: 450; color: var(--muted); }
.field input, .field textarea { font: inherit; color: var(--ink); width: 100%; padding: 13px 16px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--lav); transition: border-color .2s, box-shadow .2s, background-color .2s; }
.field input:focus, .field textarea:focus { outline: none; background: #fff; border-color: var(--c2); box-shadow: 0 0 0 4px rgba(166,125,242,.2); }
.field textarea { resize: vertical; min-height: 130px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips legend { margin-bottom: 8px; }
.chips label { position: relative; cursor: pointer; }
.chips input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.chips span { display: inline-block; padding: 8px 15px; border-radius: 99px; font-size: .92rem; font-weight: 560; background: var(--lav); box-shadow: inset 0 0 0 1.5px transparent; transition: background-color .2s, color .2s; }
.chips input:checked + span { background: var(--plum); color: #fff; }
.chips input:focus-visible + span { outline: 3px solid var(--c2); outline-offset: 2px; }
.form .btn { justify-self: start; }
.form-note { font-size: .9rem; color: var(--muted); }

/* footer */
.footer { background: var(--plum); color: rgba(255,255,255,.68); padding: 0 0 36px; font-size: .95rem; }
.footer-cta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; padding: 72px 0; border-bottom: 1px solid var(--line-d); }
.footer-cta h2 { color: #fff; font-size: clamp(2rem, 4.4vw, 3.6rem); }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 40px; padding-top: 56px; }
.footer-brand { display: grid; gap: 16px; align-content: start; }
.footer-brand .logo { color: #fff; }
.footer-brand p { max-width: 24em; }
.footer-col { display: grid; gap: 9px; align-content: start; }
.footer-col h2 { font-size: .9rem; letter-spacing: 0; color: #fff; margin-bottom: 4px; font-variation-settings: 'opsz' 14; font-weight: 700; }
.footer-col a { text-decoration: none; }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 28px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line-d); font-size: .86rem; }

/* case page */
.case-hero { background: var(--p-bg); color: var(--p-fg); padding: 140px 0 80px; }
.case-glow { position: absolute; inset: 0; z-index: -1; background: radial-gradient(55% 70% at 80% 35%, color-mix(in srgb, var(--p-accent) 35%, transparent), transparent 70%), radial-gradient(40% 50% at 0% 100%, color-mix(in srgb, var(--p-accent2) 18%, transparent), transparent 70%); }
.case-glow.on-video { background: linear-gradient(90deg, var(--p-bg), color-mix(in srgb, var(--p-bg) 75%, transparent) 50%, color-mix(in srgb, var(--p-bg) 25%, transparent)), linear-gradient(0deg, var(--p-bg), transparent 45%); }
.case-video { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .6; }
.case-hero-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.case-copy { display: grid; gap: 18px; justify-items: start; }
.crumbs { display: flex; gap: 8px; font-size: .9rem; color: var(--p-muted, rgba(255,255,255,.6)); }
.crumbs a { color: inherit; }
.case-k { display: flex; align-items: center; gap: 12px; font-weight: 600; color: var(--p-muted); }
.case-k img { border-radius: 11px; }
.case-copy h1 { font-size: clamp(2.8rem, 6vw, 5.2rem); }
.case-tag { font-size: clamp(1.3rem, 2.2vw, 1.8rem); font-weight: 650; letter-spacing: -.02em; line-height: 1.2; color: var(--p-accent2); }
.case-sum2 { font-size: 1.1rem; color: var(--p-muted); max-width: 32em; }
.case-hero .btn-ghost { color: var(--p-fg); }
.case-art { display: grid; place-items: center; min-height: 460px; font-size: clamp(8px, 1.1vw, 13.5px); }
.cs-built { padding: var(--sec) 0; background: #fff; }
.cs-built-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 96px); align-items: start; }
.cs-built .lede { margin-top: 20px; }
.built-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.built-list li { display: flex; align-items: center; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 1.1rem; font-weight: 620; }
.built-list span { width: 14px; height: 14px; border-radius: 4px; background: var(--c); flex: none; }
.cs-plat { padding: 64px 0; background: var(--lav); }
.cs-plat h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin-bottom: 28px; }
.plat-row { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.plat-row li { display: flex; align-items: center; gap: 12px; padding: 16px 22px; border-radius: 18px; background: #fff; font-weight: 650; box-shadow: 0 0 0 1px var(--line); }
.cs-feats { padding: var(--sec) 0; background: #fff; }
.feats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.feats li { padding: 30px 28px; border-radius: var(--r-card); background: var(--lav); display: grid; gap: 10px; align-content: start; }
.feats .ico { color: var(--p-accent, var(--c2)); margin-bottom: 6px; }
.feats p { color: var(--muted); font-size: .98rem; }
.cs-next { padding: 0 0 var(--sec); background: #fff; }
.cs-next-in { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.next { position: relative; isolation: isolate; overflow: hidden; display: grid; gap: 6px; align-content: end; min-height: 240px; padding: 32px; border-radius: var(--r-card); background: var(--n-bg); color: #fff; text-decoration: none; }
.next::before { content: ''; position: absolute; z-index: -1; inset: 0; background: radial-gradient(70% 80% at 100% 0%, color-mix(in srgb, var(--n-accent) 45%, transparent), transparent 70%); }
.next span { color: rgba(255,255,255,.65); font-weight: 600; }
.next strong { font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 740; letter-spacing: -.03em; line-height: 1.05; font-variation-settings: 'opsz' 96, 'wdth' 90; }
.next .ico { position: absolute; right: 30px; top: 30px; transition: transform .35s var(--ease); }
.next:hover .ico { transform: translateX(5px); }
.next-q { display: grid; gap: 14px; align-content: center; justify-items: start; padding: 32px; border-radius: var(--r-card); background: var(--lav); }
.next-q h2 { font-size: clamp(1.7rem, 2.8vw, 2.4rem); }
.next-q p { color: var(--muted); }

/* simple */
.simple { padding: 190px 0 120px; background: var(--lav); min-height: 70vh; }
.simple h1 { font-size: clamp(2.6rem, 5.4vw, 4.4rem); margin-bottom: 18px; }
.simple .hero-cta { margin-top: 32px; }

/* reveal */
.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease), box-shadow .35s, translate .35s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* responsive */
@media (max-width: 1080px) {
  .hero-in, .case-hero-in, .quote-in, .faq-in, .cs-built-in { grid-template-columns: 1fr; }
  .stage { margin: 10px auto 0; font-size: clamp(6px, 1.6vw, 12px); }
  .offers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .timeline { grid-template-columns: 1fr; gap: 26px; }
  .timeline::before { left: 23px; right: auto; top: 24px; bottom: 24px; width: 2px; height: auto; background: linear-gradient(180deg, var(--c1), var(--c2), var(--c3), var(--c4), var(--c5), var(--c6), var(--c7)); }
  .timeline li { grid-template-columns: 48px 1fr; gap: 18px; padding-right: 0; }
  .pkgs, .feats { grid-template-columns: 1fr 1fr; }
  .case, .case-flip { grid-template-columns: 1fr; }
  .case-flip .case-media { order: 0; }
  .case-media { min-height: 0; aspect-ratio: 16 / 10; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .case-art { min-height: 0; font-size: clamp(8px, 2vw, 13px); }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav-in { height: 64px; }
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: grid; gap: 6px; place-content: center; width: 44px; height: 44px; margin-left: auto; background: none; border: 0; color: inherit; cursor: pointer; }
  .nav-burger span { width: 22px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .3s var(--ease); }
  .nav-burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .nav-burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .nav.is-open { background: var(--plum); }
  .menu { display: grid; gap: 2px; padding: 8px var(--gut) 24px; background: var(--plum); }
  .menu[hidden] { display: none; }
  .menu a:not(.btn) { padding: 13px 0; font-size: 1.3rem; font-weight: 650; text-decoration: none; border-bottom: 1px solid var(--line-d); }
  .menu .btn { margin-top: 16px; }
  .hero { padding: 112px 0 70px; }
  .hero h1 { font-size: clamp(2.5rem, 11.5vw, 3.4rem); }
  .stage { font-size: 6.6px; width: 52em; }
  .checks { left: 0; font-size: 1.2em; }
  .offers, .pkgs, .feats, .form-row, .cs-next-in { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .faq details p { padding-right: 0; }
  .case-hero { padding-top: 108px; }
  .hero-cta .btn { flex: 1 1 auto; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .hero h1 .ln > span, .hero-lede, .hero-copy .hero-cta, .hero-proof, .hero-art { opacity: 1; transform: none; }
  .js [data-reveal] { opacity: 1; transform: none; }
  /* show the finished site instead of the build loop */
  .stage * { animation-delay: calc(var(--T) * -.7) !important; animation-play-state: paused !important; animation-duration: var(--T) !important; }
}

/* frozen state for still renders */
.is-still .stage * { animation-delay: -8.2s !important; animation-play-state: paused !important; }
.is-still .bs-mob, .is-still .bs-mob * { animation-delay: -8.2s !important; }
.is-still .cursor { display: none; }

.cs-next-in > :only-child { grid-column: 1 / -1; }
.case-hero-in > *, .hero-in > * { min-width: 0; }
@media (max-width: 1080px) { .case-art { font-size: clamp(5.5px, 2.05vw, 13px); } }

/* case hero where the background video is the visual */
.case-hero.video-only .case-video { opacity: 1; }
.case-hero.video-only .case-glow.on-video { background: linear-gradient(90deg, var(--p-bg) 0%, color-mix(in srgb, var(--p-bg) 78%, transparent) 36%, transparent 62%), linear-gradient(0deg, var(--p-bg), transparent 28%); }
.case-hero.video-only .case-art { min-height: 520px; }
@media (max-width: 1080px) { .case-hero.video-only .case-art { min-height: 0; } .case-hero.video-only .case-glow.on-video { background: linear-gradient(0deg, var(--p-bg) 0%, color-mix(in srgb, var(--p-bg) 82%, transparent) 55%, color-mix(in srgb, var(--p-bg) 30%, transparent) 100%); } }

/* ===== Device mockups (shared by both sites) ===== */
@property --c1 { syntax: '<color>'; inherits: true; initial-value: #e8452c; }
@property --c2 { syntax: '<color>'; inherits: true; initial-value: #f28c26; }

.dev { position: relative; font-family: var(--font-ui, system-ui, sans-serif); color: #f2f2f4; line-height: 1.25; -webkit-font-smoothing: antialiased; }
.dev svg { display: block; }
.dev-screen { position: relative; overflow: hidden; height: 100%; }

/* Phone */
.dev-phone { width: 16em; height: 34.6em; padding: .5em; border-radius: 2.7em; background: linear-gradient(145deg, #2a2d36, #0d0e12 45%, #1b1d24); box-shadow: 0 0 0 .08em rgba(255,255,255,.12) inset, 0 2.2em 4em -1.4em rgba(4,8,30,.55), 0 .8em 1.6em -.8em rgba(4,8,30,.4); }
.dev-phone::before { content: ''; position: absolute; z-index: 5; top: 1.15em; left: 50%; width: 4.6em; height: 1.3em; margin-left: -2.3em; border-radius: 1em; background: #050507; }
.dev-phone > .dev-screen { border-radius: 2.25em; }

/* Watch */
.dev-watch { width: 9.4em; height: 11.2em; padding: .55em; border-radius: 2.7em; background: linear-gradient(150deg, #34373f, #101115 55%, #24262d); box-shadow: 0 0 0 .07em rgba(255,255,255,.14) inset, 0 1.4em 2.6em -1em rgba(4,8,30,.55); }
.dev-watch > .dev-screen { border-radius: 2.2em; background: #000; }
.dev-crown { position: absolute; right: -.32em; top: 3.1em; width: .42em; height: 1.6em; border-radius: .2em; background: linear-gradient(90deg, #4a4d56, #23252b); }

/* Car display */
.dev-car { width: 31em; height: 13.2em; padding: .55em; border-radius: 1.6em; background: linear-gradient(160deg, #2a2c33, #0c0d10 60%); box-shadow: 0 0 0 .07em rgba(255,255,255,.1) inset, 0 1.8em 3.4em -1.4em rgba(4,8,30,.55); }
.dev-car > .dev-screen { border-radius: 1.15em; }

/* ---------- Oncast ---------- */
.oc-scope { transition: --c1 1.2s ease, --c2 1.2s ease; }
.oc-screen { background: radial-gradient(120% 70% at 10% 0%, color-mix(in srgb, var(--c1) 38%, transparent), transparent 62%), radial-gradient(90% 60% at 100% 100%, color-mix(in srgb, var(--c2) 26%, transparent), transparent 60%), #09090d; display: flex; flex-direction: column; padding: 2.9em 1.05em 1.1em; gap: .8em; }
.oc-top { display: flex; justify-content: space-between; align-items: center; }
.oc-logo { display: inline-flex; align-items: center; gap: .4em; font-size: 1.02em; letter-spacing: -.01em; }
.oc-logo b { font-weight: 800; }
.oc-glyph { width: 1.45em; height: 1.45em; flex: none; }
.oc-round { width: 1.9em; height: 1.9em; border-radius: 50%; background: rgba(255,255,255,.1); display: grid; place-items: center; }
.oc-round svg, .oc-actions svg, .oc-check svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.oc-card { border-radius: 1.2em; padding: .95em 1em 1em; background: linear-gradient(160deg, rgba(255,255,255,.11), rgba(255,255,255,.04)); box-shadow: 0 0 0 .06em rgba(255,255,255,.12) inset; display: grid; gap: .3em; }
.oc-live { display: inline-flex; align-items: center; gap: .4em; width: max-content; padding: .28em .62em; border-radius: 1em; background: rgba(255,255,255,.12); font-size: .62em; font-weight: 800; letter-spacing: .08em; }
.oc-live b { width: .55em; height: .55em; border-radius: 50%; background: var(--c1); box-shadow: 0 0 0 0 var(--c1); animation: oc-ping 1.8s ease-out infinite; }
.oc-name { font-size: 2em; font-weight: 800; letter-spacing: -.02em; line-height: 1.05; margin-top: .1em; }
.oc-show { font-size: .74em; color: rgba(255,255,255,.7); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.oc-show em { font-style: normal; color: var(--c1); }
.oc-dots { display: flex; justify-content: center; gap: .3em; }
.oc-dots i { width: .38em; height: .38em; border-radius: .2em; background: rgba(255,255,255,.25); transition: width .5s, background-color .5s; }
.oc-dots i.on { width: 1.2em; background: var(--c1); }
.oc-play { position: relative; height: 7.4em; display: grid; place-items: center; }
.oc-btn { position: relative; z-index: 2; width: 5.2em; height: 5.2em; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 30% 25%, color-mix(in srgb, var(--c2) 85%, #fff), var(--c1) 70%); box-shadow: 0 0 2.4em -.2em color-mix(in srgb, var(--c1) 70%, transparent); }
.oc-btn svg { width: 1.7em; height: 1.7em; fill: #fff; }
.oc-ring { position: absolute; width: 5.2em; height: 5.2em; border-radius: 50%; border: .16em solid var(--c1); opacity: 0; animation: oc-ring 3s ease-out infinite; }
.oc-ring.r2 { animation-delay: 1s; } .oc-ring.r3 { animation-delay: 2s; }
.oc-caption { border-radius: 1em; padding: .75em .85em; background: rgba(255,255,255,.06); box-shadow: 0 0 0 .06em rgba(255,255,255,.08) inset; min-height: 6.4em; display: grid; gap: .3em; align-content: start; }
.oc-who { font-size: .62em; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--c2); }
.oc-caption p { margin: 0; font-size: .74em; line-height: 1.38; color: rgba(255,255,255,.92); min-height: 4.1em; }
.oc-caption p.typing::after { content: ''; display: inline-block; width: .45em; height: .95em; margin-left: .1em; vertical-align: -.12em; background: var(--c2); animation: oc-blink .8s steps(2) infinite; }
.oc-check { display: inline-flex; align-items: center; gap: .35em; width: max-content; font-size: .6em; font-weight: 700; padding: .25em .6em .25em .45em; border-radius: 1em; color: #c8f7d6; background: rgba(46,180,92,.18); transition: opacity .4s, transform .4s; }
.oc-check.off { opacity: 0; transform: translateY(.3em); }
.oc-wave { display: flex; align-items: center; justify-content: center; gap: .16em; height: 1.6em; }
.oc-wave i { width: .2em; height: 100%; border-radius: .2em; background: linear-gradient(var(--c2), var(--c1)); transform-origin: center; animation: oc-bar 1.1s ease-in-out infinite; animation-delay: calc(var(--i) * -97ms); }
.oc-wave i:nth-child(3n) { animation-duration: .9s; } .oc-wave i:nth-child(4n+1) { animation-duration: 1.3s; }
.oc-actions { margin-top: auto; display: grid; grid-template-columns: 1fr 1fr; gap: .5em; font-size: .68em; font-weight: 700; }
.oc-actions span { display: inline-flex; align-items: center; justify-content: center; gap: .45em; padding: .85em .4em; border-radius: 1.2em; background: rgba(255,255,255,.08); }

/* Oncast watch */
.ow-screen { display: grid; justify-items: center; align-content: center; gap: .45em; padding: .8em; background: radial-gradient(90% 70% at 50% 0%, color-mix(in srgb, var(--c1) 45%, transparent), transparent 70%), #000; }
.ow-top { display: inline-flex; align-items: center; gap: .35em; font-size: .78em; font-weight: 800; }
.ow-top b { width: .5em; height: .5em; border-radius: 50%; background: var(--c1); animation: oc-ping 1.8s ease-out infinite; }
.ow-wave { display: flex; align-items: center; gap: .14em; height: 1.7em; }
.ow-wave i { width: .22em; height: 100%; border-radius: .2em; background: linear-gradient(var(--c2), var(--c1)); animation: oc-bar 1s ease-in-out infinite; animation-delay: calc(var(--i) * -83ms); }
.ow-show { font-size: .6em; color: rgba(255,255,255,.7); font-weight: 600; white-space: nowrap; }
.ow-btn { width: 2.3em; height: 2.3em; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--c2), var(--c1)); }
.ow-btn svg { width: .9em; height: .9em; fill: #fff; }

/* Oncast car */
.car-screen { display: grid; grid-template-columns: 3.5em 1fr; background: #0b0b10; }
.car-dock { display: grid; align-content: center; justify-items: center; gap: .55em; background: rgba(255,255,255,.05); padding: .6em 0; }
.car-dock span { width: 2.3em; height: 2.3em; border-radius: .6em; display: grid; place-items: center; background: rgba(255,255,255,.08); color: rgba(255,255,255,.7); }
.car-dock span.on { background: none; }
.car-dock span.on .oc-glyph { width: 2.3em; height: 2.3em; }
.car-dock svg { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.car-main { display: grid; grid-template-columns: auto 1fr; gap: 1.1em; align-items: center; padding: .9em 1.2em; background: radial-gradient(70% 90% at 0% 50%, color-mix(in srgb, var(--c1) 28%, transparent), transparent 70%); }
.car-art { width: 9.4em; height: 9.4em; border-radius: 1em; padding: .8em; display: flex; flex-direction: column; justify-content: space-between; background: linear-gradient(140deg, var(--c1), var(--c2)); }
.car-art .oc-live { background: rgba(0,0,0,.22); }
.car-art .oc-live b { background: #fff; }
.car-art strong { font-size: 1.7em; font-weight: 800; letter-spacing: -.02em; line-height: 1; }
.car-meta { display: grid; gap: .2em; min-width: 0; }
.car-k { font-size: .66em; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.car-meta strong { font-size: 1.25em; font-weight: 800; letter-spacing: -.01em; }
.car-meta > span:not(.car-k) { font-size: .78em; color: rgba(255,255,255,.65); font-weight: 600; }
.car-wave { justify-content: flex-start; height: 1.3em; margin: .45em 0 .2em; }
.car-ctrl { display: flex; align-items: center; gap: 1em; }
.car-ctrl > svg { width: 1.3em; height: 1.3em; fill: none; stroke: rgba(255,255,255,.75); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.car-ctrl .oc-btn { width: 2.6em; height: 2.6em; box-shadow: none; }
.car-ctrl .oc-btn svg { width: 1em; height: 1em; }

/* ---------- Shelter Navigator ---------- */
.sh-screen { background: #eef1f4; color: #0b1a2b; }
.sh-map { position: absolute; inset: 0; width: 100%; height: 100%; }
.sh-route-under { fill: none; stroke: rgba(11,26,43,.12); stroke-width: 15; stroke-linejoin: round; stroke-linecap: round; }
.sh-route { fill: none; stroke: #2eb45c; stroke-width: 7; stroke-linejoin: round; stroke-linecap: round; stroke-dasharray: 560; stroke-dashoffset: 560; animation: sh-draw 8s cubic-bezier(.45,.05,.25,1) infinite; }
.sh-pulse { fill: #f2a516; opacity: 0; transform-box: fill-box; transform-origin: center; animation: sh-pulse 2.2s ease-out infinite; }
.sh-dest { animation: sh-dest 8s ease infinite; }
.sh-top { position: absolute; top: 2.75em; left: .8em; right: .8em; display: flex; gap: .45em; }
.sh-search { flex: 1; display: flex; align-items: center; gap: .45em; padding: .62em .8em; border-radius: 1em; background: #fff; font-size: .72em; font-weight: 700; box-shadow: 0 .3em 1em -.3em rgba(11,26,43,.25); }
.sh-search svg { width: 1.1em; height: 1.1em; fill: none; stroke: #0b1a2b; stroke-width: 2.2; stroke-linecap: round; flex: none; }
.sh-lang { display: flex; padding: .2em; border-radius: 1em; background: #fff; box-shadow: 0 .3em 1em -.3em rgba(11,26,43,.25); font-size: .66em; }
.sh-lang b { display: grid; place-items: center; min-width: 2.1em; border-radius: .8em; font-weight: 800; color: #5b6773; transition: background-color .4s, color .4s; }
.sh-scope:not(.is-ar) .sh-lang b[data-sh-lang="en"], .sh-scope.is-ar .sh-lang b[data-sh-lang="ar"] { background: #0b1a2b; color: #fff; }
.sh-offline { position: absolute; top: 9.4em; left: 1.4em; display: inline-flex; align-items: center; gap: .35em; padding: .32em .65em .32em .45em; border-radius: 1em; background: rgba(11,26,43,.82); color: #fff; font-size: .58em; font-weight: 700; }
.sh-offline svg { width: 1.1em; height: 1.1em; fill: none; stroke: #6ee39a; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.sh-sheet { position: absolute; left: .55em; right: .55em; bottom: .55em; padding: .9em 1em 1em; border-radius: 1.6em; background: #fff; box-shadow: 0 -.5em 2em -.6em rgba(11,26,43,.25); display: grid; gap: .25em; animation: sh-sheet 8s ease infinite; }
.sh-row { display: flex; justify-content: space-between; align-items: baseline; gap: .6em; font-size: .86em; }
.sh-row strong { font-weight: 800; }
.sh-dist { font-weight: 800; color: #00792f; font-variant-numeric: tabular-nums; }
.sh-sub { font-size: .7em; color: #5b6773; font-weight: 600; }
.sh-go { margin-top: .55em; display: block; text-align: center; padding: .75em; border-radius: .9em; background: #2eb45c; color: #fff; font-weight: 800; font-size: .78em; }
.sh-scope.is-ar .sh-sheet, .sh-scope.is-ar .sh-search { direction: rtl; font-family: system-ui, 'Geeza Pro', 'Noto Sans Arabic', sans-serif; }

/* ---------- Compositions ---------- */
.comp, .wall { position: relative; transform-style: preserve-3d; will-change: transform; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.comp-oncast { width: 34em; height: 43em; }
.comp-oncast .comp-phone { position: absolute; right: 2em; top: 0; transform: translateZ(-30px); }
.comp-oncast .comp-car { position: absolute; left: 0; top: 28em; transform: translateZ(40px); }
.comp-oncast .comp-watch { position: absolute; left: 2.5em; top: 7em; transform: rotate(-5deg) translateZ(20px); }
.comp-shelter { width: 18em; height: 36em; display: grid; place-items: center; }

.wall { width: 34em; height: 40em; }
.wall-shelter { position: absolute; right: .5em; top: 0; transform: rotate(5deg) translateZ(-60px); opacity: .97; }
.wall-oncast { position: absolute; left: 4em; top: 4.2em; transform: rotate(-3deg); }
.wall-watch { position: absolute; left: 0; bottom: 1.2em; transform: rotate(-6deg) translateZ(60px); }
.wall-chip { position: absolute; font-family: var(--font-ui, system-ui, sans-serif); display: inline-flex; align-items: center; gap: .5em; padding: .55em .9em .55em .7em; border-radius: 2em; font-size: .78em; font-weight: 700; color: #fff; background: rgba(12,18,48,.62); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 0 0 1px rgba(255,255,255,.14) inset, 0 .8em 1.6em -.8em rgba(0,0,0,.5); white-space: nowrap; animation: chip-float 7s ease-in-out infinite; }
.wall-chip i { width: .6em; height: .6em; border-radius: 50%; background: var(--c); box-shadow: 0 0 .7em var(--c); }
.chip-ai { left: -1.5em; top: 7em; }
.chip-geo { right: -1.2em; top: 26em; animation-delay: -2.3s; }
.chip-lang { right: 6em; bottom: -.5em; animation-delay: -4.6s; }

/* idle float on composed devices */
.wall-oncast > .dev, .comp-phone > .dev { animation: dev-float 9s ease-in-out infinite; }
.wall-shelter > .dev, .comp-car > .dev { animation: dev-float 11s ease-in-out -3s infinite; }
.wall-watch > .dev, .comp-watch > .dev { animation: dev-float 8s ease-in-out -5s infinite; }

/* pause everything when off-screen */
.dev-paused *, .dev-paused, .dev-paused *::before, .dev-paused *::after { animation-play-state: paused !important; }

@keyframes oc-ping { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--c1) 70%, transparent); } 100% { box-shadow: 0 0 0 .6em transparent; } }
@keyframes oc-ring { 0% { transform: scale(1); opacity: .55; } 100% { transform: scale(1.75); opacity: 0; } }
@keyframes oc-bar { 0%, 100% { transform: scaleY(.25); } 50% { transform: scaleY(1); } }
@keyframes oc-blink { 50% { opacity: 0; } }
@keyframes sh-draw { 0% { stroke-dashoffset: 560; } 35%, 82% { stroke-dashoffset: 0; opacity: 1; } 92% { stroke-dashoffset: 0; opacity: 0; } 100% { stroke-dashoffset: 560; opacity: 0; } }
@keyframes sh-pulse { 0% { opacity: .5; transform: scale(.4); } 100% { opacity: 0; transform: scale(1.6); } }
@keyframes sh-dest { 0%, 30% { opacity: .35; } 38%, 90% { opacity: 1; } 100% { opacity: .35; } }
@keyframes sh-sheet { 0%, 34% { transform: translateY(.6em); opacity: .0; } 42%, 88% { transform: none; opacity: 1; } 96%, 100% { transform: translateY(.6em); opacity: 0; } }
@keyframes chip-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-.5em); } }
@keyframes dev-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -.6em; } }

@media (prefers-reduced-motion: reduce) {
  .dev *, .dev, .wall-chip, .wall > div > .dev, .comp > div > .dev { animation: none !important; }
  .sh-route { stroke-dashoffset: 0; }
  .sh-sheet { opacity: 1; transform: none; }
  .oc-ring { display: none; }
  .comp, .wall { transition: none; }
}

/* Frozen state for still renders (og:images, covers) */
.is-still .dev *, .is-still .wall-chip { animation: none !important; transition: none !important; }
.is-still .sh-route { stroke-dashoffset: 0; }
.is-still .sh-sheet { opacity: 1; transform: none; }
.is-still .oc-ring.r1 { opacity: .35; transform: scale(1.25); }
.is-still .oc-ring.r2 { opacity: .15; transform: scale(1.55); }
.is-still .oc-wave i, .is-still .ow-wave i { transform: scaleY(calc(.3 + .7 * var(--h, .5))); }
.is-still .oc-wave i:nth-child(5n+1), .is-still .ow-wave i:nth-child(5n+1) { --h: .9; }
.is-still .oc-wave i:nth-child(5n+2), .is-still .ow-wave i:nth-child(5n+2) { --h: .35; }
.is-still .oc-wave i:nth-child(5n+3), .is-still .ow-wave i:nth-child(5n+3) { --h: .7; }
.is-still .oc-wave i:nth-child(5n+4), .is-still .ow-wave i:nth-child(5n+4) { --h: .15; }
.is-still .oc-wave i:nth-child(5n), .is-still .ow-wave i:nth-child(5n) { --h: .55; }

/* Screenshot composition */
.comp-screens { width: 40em; height: 37em; }
.comp-screens > div { position: absolute; top: 1.2em; }
.comp-screens .dev-screen img { width: 100%; height: 100%; object-fit: cover; display: block; }
.comp-screens .cs-0 { left: 0; transform: rotate(-7deg) translateZ(-40px); top: 2.4em; }
.comp-screens .cs-1 { left: 12em; z-index: 2; top: 0; }
.comp-screens .cs-2 { right: 0; transform: rotate(7deg) translateZ(-40px); top: 2.4em; }
.comp-screens.n1 { width: 18em; } .comp-screens.n1 .cs-0 { left: 1em; transform: none; }
.comp-screens .cs-1 > .dev { animation: dev-float 9s ease-in-out infinite; }
.comp-screens .cs-0 > .dev, .comp-screens .cs-2 > .dev { animation: dev-float 11s ease-in-out -4s infinite; }
@media (prefers-reduced-motion: reduce) { .comp-screens .dev { animation: none !important; } }
.comp-screens .dev-phone::before { display: none; }

.sh-go2 { display: grid; grid-template-columns: 1fr 1fr; gap: .45em; margin-top: .55em; }
.sh-go2 .sh-go { margin-top: 0; }
.sh-go-alt { background: #0b1a2b !important; }
.sh-lang-one b { background: #0b1a2b; color: #fff; }
.sh-go2 .sh-go { white-space: nowrap; font-size: .7em; }
