
/* Layout concept: the site is the demo. A living dot-field background, a hero stack you can pull apart, a pinned stage where each service builds itself as you scroll, a sideways gallery of work, and one bright call to action. Clean premium look: light by design in both viewer themes. */
:root {
  color-scheme: light;
  --bg: #05060b; --bg-2: #0b0d18; --fg: #f3f4fb; --muted: #9aa0b8; --line: rgba(255,255,255,.10);
  --glass: rgba(255,255,255,.045); --glass-2: rgba(255,255,255,.08);
  --violet: #8b6cff; --cyan: #2fe0e6; --coral: #ff6b8b; --lime: #c8ff5a; --amber: #ffbe5a;
  --grad: linear-gradient(100deg, #8b6cff 0%, #2fe0e6 55%, #c8ff5a 110%);
  --font-display: "Syne", "Arial Black", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --r: 22px;
  --dot: 170,180,255; --dot-hot: 47,224,230; --panel-muted: #d5d8ea; --on-btn: #07080f;
}
@property --n { syntax: "<integer>"; inherits: false; initial-value: 0; }
* { box-sizing: border-box; }
body { background: var(--bg); color: var(--fg); font-family: var(--font-body); font-size: 17px; line-height: 1.6; overflow-x: clip; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--bg); }
.wrap { max-width: 1200px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
h1, h2, h3 { font-family: var(--font-display); margin: 0; line-height: 1.02; letter-spacing: -0.03em; text-wrap: balance; }
p { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 8px; }
.mono { font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* living background */
#field { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.aurora { position: absolute; inset: 0 0 auto 0; height: 1100px; overflow: hidden; pointer-events: none; z-index: 0; }
.aurora i { position: absolute; border-radius: 50%; filter: blur(100px); opacity: .5; animation: drift 18s ease-in-out infinite alternate; }
.aurora i:nth-child(1) { width: 560px; height: 560px; left: -140px; top: -200px; background: var(--violet); }
.aurora i:nth-child(2) { width: 520px; height: 520px; right: -160px; top: 20px; background: #1596c9; animation-delay: -6s; }
.aurora i:nth-child(3) { width: 380px; height: 380px; left: 36%; top: 420px; background: var(--coral); opacity: .22; animation-delay: -11s; }
@keyframes drift { to { transform: translate(60px, 50px) scale(1.15); } }
.glow { position: fixed; left: 0; top: 0; width: 520px; height: 520px; margin: -260px 0 0 -260px; border-radius: 50%; background: radial-gradient(closest-side, rgba(139,108,255,.16), transparent); pointer-events: none; z-index: 0; opacity: 0; transition: opacity .4s; }
.progress { position: fixed; left: 0; right: 0; top: env(safe-area-inset-top, 0px); height: 3px; background: var(--grad); transform-origin: 0 50%; transform: scaleX(0); z-index: 70; }
main, .nav-shell, footer { position: relative; z-index: 1; }

/* nav */
.nav-shell { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 12px); z-index: 50; padding-top: 12px; }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 10px 10px 20px; border-radius: 999px; background: rgba(12,14,26,.62); backdrop-filter: blur(18px) saturate(160%); -webkit-backdrop-filter: blur(18px) saturate(160%); border: 1px solid var(--line); }
.brand { font-family: var(--font-display); font-weight: 800; font-size: 21px; letter-spacing: -0.04em; text-decoration: none; display: flex; align-items: center; gap: 10px; }
.brand-mark { display: grid; gap: 3px; }
.brand-mark i { display: block; height: 4px; border-radius: 2px; transition: width .3s; }
.brand-mark i:nth-child(1) { width: 12px; background: var(--lime); }
.brand-mark i:nth-child(2) { width: 18px; background: var(--cyan); }
.brand-mark i:nth-child(3) { width: 24px; background: var(--violet); }
.brand:hover .brand-mark i { width: 24px; }
.nav-links { display: flex; gap: 4px; align-items: center; font-weight: 600; font-size: 15px; }
.nav-links a.link { text-decoration: none; padding: 8px 14px; border-radius: 999px; color: var(--muted); transition: color .2s, background .2s; }
.nav-links a.link:hover { color: var(--fg); background: var(--glass-2); }
.btn { position: relative; white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-body); font-weight: 700; font-size: 16px; padding: 14px 24px; border-radius: 999px; border: 0; background: var(--fg); color: var(--on-btn); text-decoration: none; cursor: pointer; transition: box-shadow .2s; will-change: transform; }
.btn:hover { box-shadow: 0 10px 40px -8px rgba(47,224,230,.6); }
.btn .arrow { transition: transform .2s; }
.btn:hover .arrow { transform: translateX(4px); }
.btn.glowb { background: var(--grad); }
.btn.ghost { background: var(--glass); color: var(--fg); border: 1px solid var(--line); backdrop-filter: blur(10px); }
.btn.ghost:hover { box-shadow: none; background: var(--glass-2); }
.btn.sm { padding: 10px 18px; font-size: 15px; }

/* hero */
.hero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 24px; align-items: center; padding-block: 72px 56px; min-height: min(86vh, 860px); }
.hero-copy { display: grid; gap: 26px; justify-items: start; }
.badge { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 12px; border-radius: 999px; background: var(--glass); border: 1px solid var(--line); font-size: 14px; font-weight: 600; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(200,255,90,.7); } 100% { box-shadow: 0 0 0 10px rgba(200,255,90,0); } }
.hero h1 { font-size: clamp(38px, 5.4vw, 74px); font-weight: 800; }
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
.w > span { display: inline-block; }
.split .w > span { transform: translateY(110%) rotate(6deg); transition: transform .9s cubic-bezier(.2,.8,.2,1); transition-delay: calc(var(--d) * 70ms); }
.split.in .w > span { transform: none; }
.hero .lead { font-size: clamp(18px, 1.6vw, 21px); color: var(--muted); max-width: 33em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.hint { font-family: var(--font-mono); font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.hint::before { content: ""; width: 26px; height: 1px; background: var(--muted); }

/* interactive isometric stack */
.iso-wrap { position: relative; height: 520px; min-width: 0; --gap: 52px; --tx: 0deg; --ty: 0deg; cursor: grab; }
.iso { position: absolute; left: 40%; top: 68%; width: 230px; height: 230px; margin: -115px 0 0 -115px; border-radius: 26px; transform: rotateX(calc(58deg + var(--ty))) rotateZ(calc(-45deg + var(--tx))) translateZ(calc(var(--i) * var(--gap))); transition: transform .7s cubic-bezier(.2,.8,.2,1), opacity .3s, filter .3s; border: 1.5px solid rgba(255,255,255,.35); background: linear-gradient(135deg, var(--c1), var(--c2)); box-shadow: 0 0 60px -10px var(--c1), inset 0 0 40px rgba(255,255,255,.12); opacity: .92; }
.iso::after { content: ""; position: absolute; inset: 18px; border-radius: 14px; border: 1px dashed rgba(255,255,255,.35); }
.iso-wrap[data-focus] .iso { opacity: .25; filter: saturate(.4); }
.iso-wrap[data-focus="0"] .iso[data-i="0"], .iso-wrap[data-focus="1"] .iso[data-i="1"], .iso-wrap[data-focus="2"] .iso[data-i="2"], .iso-wrap[data-focus="3"] .iso[data-i="3"], .iso-wrap[data-focus="4"] .iso[data-i="4"] { opacity: 1; filter: none; }
.chip { position: absolute; left: calc(40% + 150px); top: calc(68% - var(--i) * var(--gap) * .848 - 14px); display: flex; align-items: center; gap: 10px; white-space: nowrap; font-weight: 700; font-size: 15px; transition: top .7s cubic-bezier(.2,.8,.2,1), opacity .3s; background: none; border: 0; color: var(--fg); font-family: inherit; padding: 4px 0; cursor: pointer; text-align: left; }
.chip::before { content: ""; width: 34px; height: 1px; background: var(--c1); transition: width .3s; }
.chip:hover::before, .chip:focus-visible::before { width: 54px; }
.chip small { font-family: var(--font-mono); font-weight: 400; font-size: 12px; color: var(--muted); display: block; }

/* marquee */
.marquee { overflow: hidden; padding-block: 10px; }
.marquee-track { display: flex; gap: 40px; width: max-content; animation: slide 46s linear infinite; font-family: var(--font-display); font-weight: 800; font-size: clamp(34px, 6vw, 84px); letter-spacing: -0.04em; line-height: 1.1; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.28); }
.marquee-track.rev { animation-direction: reverse; animation-duration: 58s; }
.marquee-track b { font-weight: 800; color: var(--fg); -webkit-text-stroke: 0; }
.marquee-track span::after { content: "✦"; margin-left: 40px; -webkit-text-stroke: 0; color: var(--violet); font-size: .5em; vertical-align: middle; }
@keyframes slide { to { transform: translateX(-50%); } }

section { padding-block: 96px; }
.section-head { display: grid; gap: 16px; margin-bottom: 44px; max-width: 46em; }
.section-head h2 { font-size: clamp(34px, 5vw, 62px); font-weight: 800; }
.section-head p { color: var(--muted); font-size: 18px; }

/* ---------- services scrollytelling ---------- */
.scrolly { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: start; }
.sstep { min-height: 78vh; display: grid; align-content: center; gap: 14px; justify-items: start; opacity: .28; transition: opacity .5s; }
.sstep.on { opacity: 1; }
.sstep h3 { font-size: clamp(30px, 4vw, 52px); font-weight: 800; }
.sstep p { color: var(--muted); max-width: 26em; font-size: 18px; }
.sstep ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; font-size: 16px; }
.sstep li { display: flex; gap: 10px; }
.sstep li::before { content: "→"; color: var(--cyan); }
.price { font-family: var(--font-mono); font-size: 13px; display: inline-flex; padding: 5px 12px; border-radius: 999px; background: rgba(255,255,255,.07); border: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.stage-col { position: sticky; top: 13vh; height: 74vh; display: grid; align-content: center; min-width: 0; }
.stage { position: relative; aspect-ratio: 4 / 3; max-height: 70vh; width: 100%; border-radius: 28px; background: linear-gradient(160deg, rgba(255,255,255,.08), rgba(255,255,255,.02)); border: 1px solid rgba(255,255,255,.16); box-shadow: 0 40px 120px -40px rgba(139,108,255,.55), inset 0 1px 0 rgba(255,255,255,.12); transform: perspective(1400px) rotateY(var(--sx, -6deg)) rotateX(var(--sy, 3deg)); transition: transform .5s cubic-bezier(.2,.8,.2,1); overflow: hidden; }
.stage-dots { position: absolute; left: 50%; bottom: -34px; transform: translateX(-50%); display: flex; gap: 8px; }
.stage-dots i { width: 8px; height: 8px; border-radius: 4px; background: rgba(255,255,255,.2); transition: width .4s, background .4s; }
.stage-dots i.on { width: 28px; background: var(--cyan); }
.scene { position: absolute; inset: 0; padding: 5%; opacity: 0; transform: scale(.94) translateY(16px); transition: opacity .5s, transform .6s cubic-bezier(.2,.8,.2,1); pointer-events: none; }
.scene.on { opacity: 1; transform: none; }
.win { height: 100%; border-radius: 16px; background: #0c0e1a; border: 1px solid rgba(255,255,255,.12); overflow: hidden; display: flex; flex-direction: column; }
.win-bar { display: flex; align-items: center; gap: 6px; padding: 10px 12px; border-bottom: 1px solid rgba(255,255,255,.08); flex: none; }
.win-bar i { width: 9px; height: 9px; border-radius: 50%; background: #ff6b6b; }
.win-bar i:nth-child(2) { background: #ffc24a; } .win-bar i:nth-child(3) { background: #7be37b; }
.win-bar span { margin-left: 10px; flex: 1; height: 20px; border-radius: 10px; background: rgba(255,255,255,.06); font-family: var(--font-mono); font-size: 10.5px; color: var(--muted); display: flex; align-items: center; padding: 0 10px; white-space: nowrap; overflow: hidden; }
.win-body { flex: 1; position: relative; padding: 5%; display: grid; gap: 4%; align-content: start; min-height: 0; }
.blk { border-radius: 10px; background: rgba(255,255,255,.08); }

/* scene 1: website builds itself */
.sc-web .win-body { grid-template-columns: 1.1fr .9fr; grid-template-rows: auto auto 1fr; }
.sc-web .b-nav { grid-column: 1 / -1; height: 14px; width: 60%; }
.sc-web .b-h { height: 26px; background: var(--grad); }
.sc-web .b-img { grid-row: 2 / 4; grid-column: 2; background: linear-gradient(140deg, rgba(255,107,139,.6), rgba(139,108,255,.4)); min-height: 90px; }
.sc-web .b-txt { display: grid; gap: 8px; align-content: start; }
.sc-web .b-txt i { display: block; height: 9px; border-radius: 5px; background: rgba(255,255,255,.14); }
.sc-web .b-txt i:nth-child(2) { width: 80%; } .sc-web .b-txt i:nth-child(3) { width: 55%; }
.sc-web .b-cta { display: inline-block; margin-top: 8px; width: 96px; height: 26px; border-radius: 13px; background: var(--fg); }
.scene.on.sc-web .blk, .scene.on.sc-web .b-txt { animation: dropin .7s cubic-bezier(.2,.9,.2,1.1) both; }
.scene.on.sc-web .b-h { animation-delay: .25s; } .scene.on.sc-web .b-txt { animation-delay: .5s; } .scene.on.sc-web .b-img { animation-delay: .75s; }
.scene.on.sc-web .b-cta { animation: dropin .7s 1s both, btnpulse 1.6s 1.9s infinite; }
@keyframes dropin { from { opacity: 0; transform: translateY(-26px) scale(.96); } }
@keyframes btnpulse { 50% { box-shadow: 0 0 0 8px rgba(255,255,255,.14); } }
.tagfloat { position: absolute; right: 6%; bottom: 8%; font-family: var(--font-mono); font-size: 11.5px; padding: 7px 12px; border-radius: 999px; background: var(--lime); color: #0b1400; font-weight: 500; }
.scene.on .tagfloat { animation: dropin .6s 1.5s both; }

/* scene 2: store */
.sc-store .win-body { grid-template-columns: repeat(3, 1fr); }
.prod { border-radius: 12px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); padding: 8%; display: grid; gap: 8px; }
.prod i { display: block; aspect-ratio: 1; border-radius: 8px; background: linear-gradient(160deg, var(--p1), var(--p2)); }
.prod b { font-size: 12px; font-weight: 600; } .prod small { font-family: var(--font-mono); font-size: 10.5px; color: var(--muted); }
.scene.on.sc-store .prod { animation: dropin .6s both; } .scene.on.sc-store .prod:nth-child(2) { animation-delay: .15s; } .scene.on.sc-store .prod:nth-child(3) { animation-delay: .3s; }
.scene.on.sc-store .prod:nth-child(2) { animation: dropin .6s .15s both, pick 4s 1.2s infinite; }
@keyframes pick { 0%, 100% { transform: none; border-color: rgba(255,255,255,.08); } 12%, 40% { transform: translateY(-8px) scale(1.04); border-color: var(--cyan); box-shadow: 0 16px 40px -12px rgba(47,224,230,.6); } }
.cart { position: absolute; right: 5%; top: -34px; font-family: var(--font-mono); font-size: 11px; padding: 4px 10px; border-radius: 999px; background: var(--fg); color: #07080f; }
.cart b { display: inline-block; min-width: 16px; text-align: center; margin-left: 4px; border-radius: 8px; background: var(--coral); color: #fff; opacity: 0; }
.scene.on .cart b { animation: badge 4s 1.2s infinite; }
@keyframes badge { 0%, 18% { opacity: 0; transform: scale(.3); } 24% { opacity: 1; transform: scale(1.4); } 30%, 94% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.paid { position: absolute; left: 50%; bottom: 7%; transform: translateX(-50%); white-space: nowrap; font-weight: 700; font-size: 14px; padding: 10px 18px; border-radius: 999px; background: var(--lime); color: #0b1400; opacity: 0; }
.scene.on .paid { animation: toast 4s 1.2s infinite; }
@keyframes toast { 0%, 44% { opacity: 0; transform: translate(-50%, 20px); } 52%, 88% { opacity: 1; transform: translate(-50%, 0); } 100% { opacity: 0; transform: translate(-50%, 0); } }

/* scene 3: web app dashboard */
.sc-app .win-body { grid-template-columns: repeat(3, 1fr); grid-template-rows: auto 1fr; }
.kpi { border-radius: 12px; background: rgba(255,255,255,.05); padding: 10%; display: grid; gap: 2px; }
.kpi small { font-size: 10.5px; color: var(--muted); }
.kpi b { font-family: var(--font-display); font-size: clamp(18px, 2.4vw, 30px); font-variant-numeric: tabular-nums; }
.bars { grid-column: 1 / -1; display: flex; align-items: flex-end; gap: 3%; padding: 4% 4% 0; border-radius: 12px; background: rgba(255,255,255,.04); min-height: 0; }
.bars i { flex: 1; border-radius: 6px 6px 0 0; background: var(--grad); height: var(--h); transform-origin: bottom; }
.scene.on .bars i { animation: grow 1s cubic-bezier(.2,.9,.2,1.1) both, wob 3s ease-in-out infinite alternate; animation-delay: calc(var(--k) * 80ms), calc(1s + var(--k) * 200ms); }
@keyframes grow { from { transform: scaleY(0); } }
@keyframes wob { to { transform: scaleY(.78); } }

/* scene 4: mobile */
.sc-mob { display: grid; place-items: center; }
.phone { height: 100%; aspect-ratio: 9 / 18; border-radius: 30px; background: #0c0e1a; border: 2px solid rgba(255,255,255,.3); padding: 5% 4%; position: relative; overflow: hidden; display: grid; gap: 4%; align-content: start; box-shadow: 0 30px 80px -20px rgba(255,107,139,.5); }
.phone::before { content: ""; justify-self: center; width: 34%; height: 12px; border-radius: 6px; background: rgba(255,255,255,.16); }
.map { aspect-ratio: 1; border-radius: 16px; background: radial-gradient(circle at 30% 30%, rgba(200,255,90,.3), transparent 50%), radial-gradient(circle at 70% 70%, rgba(47,224,230,.3), transparent 50%), #121a22; position: relative; overflow: hidden; }
.map::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(35deg, transparent 0 18px, rgba(255,255,255,.05) 18px 19px); }
.pin { position: absolute; left: 56%; top: 46%; width: 12px; height: 12px; border-radius: 50%; background: var(--coral); }
.pin::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--coral); animation: ring 1.6s infinite; }
@keyframes ring { to { transform: scale(3); opacity: 0; } }
.route { position: absolute; left: 14%; top: 78%; width: 46%; height: 2px; background: repeating-linear-gradient(90deg, #fff 0 6px, transparent 6px 12px); transform-origin: left; transform: rotate(-33deg); }
.scene.on .route { animation: draw 1.6s .4s both; }
@keyframes draw { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
.plist { display: grid; gap: 8px; }
.plist i { display: block; height: 26px; border-radius: 10px; background: rgba(255,255,255,.07); }
.notif { position: absolute; left: 6%; right: 6%; top: 9%; padding: 10px 12px; border-radius: 14px; background: rgba(255,255,255,.94); color: #10121f; font-size: 11.5px; font-weight: 600; line-height: 1.3; box-shadow: 0 12px 30px rgba(0,0,0,.4); }
.notif small { display: block; font-weight: 500; opacity: .6; font-size: 10px; }
.scene.on .notif { animation: notif 4.5s 1.4s infinite both; }
@keyframes notif { 0% { transform: translateY(-160%); } 10%, 70% { transform: none; } 82%, 100% { transform: translateY(-160%); } }

/* scene 5: old to new */
.sc-sys { display: grid; place-items: center; }
.old, .new { position: absolute; inset: 9% 12%; border-radius: 4px; }
.old { background: #c3c3c3; color: #111; border: 2px solid; border-color: #fff #555 #555 #fff; font-family: "Courier New", monospace; font-size: 12px; display: flex; flex-direction: column; }
.old-bar { background: #0a1f7a; color: #fff; padding: 4px 8px; font-weight: 700; display: flex; justify-content: space-between; }
.old-body { padding: 10px; display: grid; gap: 8px; }
.old-body div { display: grid; grid-template-columns: 90px 1fr; gap: 8px; align-items: center; }
.old-body i { display: block; height: 18px; background: #fff; border: 2px solid; border-color: #555 #fff #fff #555; }
.old-err { margin: auto 10px 10px; padding: 6px; background: #fff; border: 1px solid #111; }
.new { border-radius: 18px; background: #0c0e1a; border: 1px solid rgba(255,255,255,.16); padding: 6%; display: grid; gap: 5%; align-content: start; box-shadow: 0 30px 80px -20px rgba(47,224,230,.5); }
.new h4 { margin: 0; font-family: var(--font-display); font-size: 18px; }
.new .f { display: grid; gap: 4px; font-size: 11px; color: var(--muted); }
.new .f i { display: block; height: 30px; border-radius: 10px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); }
.new .ok { justify-self: start; font-weight: 700; font-size: 12.5px; padding: 8px 16px; border-radius: 999px; background: var(--grad); color: #07080f; }
.scene.on .old { animation: oldout 6s infinite; }
.scene.on .new { animation: newin 6s infinite; }
@keyframes oldout { 0%, 30% { opacity: 1; transform: none; filter: none; } 34% { transform: translateX(-6px) skewX(4deg); filter: hue-rotate(90deg); } 38% { transform: translateX(6px) skewX(-4deg); } 44%, 94% { opacity: 0; transform: scale(.9); } 100% { opacity: 1; } }
@keyframes newin { 0%, 38% { opacity: 0; transform: scale(1.08); } 48%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; } }

.care { margin-top: 40px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px 32px; align-items: center; padding: 28px; border-radius: var(--r); border: 1px solid var(--line); background: linear-gradient(100deg, rgba(139,108,255,.25), rgba(47,224,230,.18) 60%, rgba(200,255,90,.14)); }
.care h3 { font-size: 28px; } .care p { color: var(--panel-muted); }
.care .big { font-family: var(--font-display); font-weight: 800; font-size: clamp(26px, 3.4vw, 44px); letter-spacing: -0.03em; white-space: nowrap; color: var(--fg); }
.care .big small { font-family: var(--font-mono); font-size: 13px; font-weight: 400; color: var(--muted); letter-spacing: 0; }

/* ---------- work: sideways gallery ---------- */
.hwrap { position: relative; }
.hsticky { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; justify-content: center; gap: 24px; overflow: hidden; padding-top: 84px; }
.hsticky .section-head h2 { font-size: clamp(28px, 3.6vw, 46px); }
.htrack { display: flex; gap: 22px; padding-left: max(16px, calc((100vw - 1200px) / 2 + 16px)); padding-right: 10vw; width: max-content; will-change: transform; }
.case { position: relative; flex: none; width: min(78vw, 440px); display: flex; flex-direction: column; border-radius: var(--r); overflow: hidden; background: var(--bg-2); border: 1px solid var(--line); transform: perspective(1200px) rotateY(var(--cx, 0deg)) rotateX(var(--cy, 0deg)); transition: transform .3s; }
.cover { position: relative; height: clamp(150px, 26vh, 240px); background: radial-gradient(120% 120% at 0% 0%, var(--c1), transparent 60%), radial-gradient(120% 120% at 100% 100%, var(--c2), transparent 60%), #10121f; overflow: hidden; }
.cover::after { content: attr(data-word); position: absolute; left: 18px; bottom: -26px; font-family: var(--font-display); font-weight: 800; font-size: 118px; letter-spacing: -0.06em; line-height: 1; color: rgba(255,255,255,.16); white-space: nowrap; transition: transform .6s; }
.case:hover .cover::after { transform: translateX(-22px); }
.cover .mono { position: absolute; left: 18px; top: 16px; color: #fff; padding: 5px 10px; border-radius: 999px; background: rgba(0,0,0,.35); backdrop-filter: blur(6px); font-size: 11px; }
.cover .num { position: absolute; right: 18px; top: 12px; font-family: var(--font-display); font-weight: 800; font-size: 34px; color: rgba(255,255,255,.5); }
.case-body { display: grid; gap: 10px; padding: 24px; }
.case h3 { font-size: 27px; font-weight: 700; }
.case p { color: var(--muted); font-size: 16px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.tag { font-family: var(--font-mono); font-size: 11.5px; padding: 4px 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); }
.hbar { height: 2px; background: rgba(255,255,255,.1); border-radius: 2px; overflow: hidden; }
.hbar i { display: block; height: 100%; background: var(--grad); transform-origin: 0 50%; transform: scaleX(var(--hp, 0)); }

/* stats */
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.stat { padding: 26px 28px; border-radius: var(--r); border: 1px solid var(--line); background: var(--glass); }
.stat b { display: block; font-family: var(--font-display); font-weight: 800; font-size: clamp(38px, 5vw, 64px); letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.stat span { color: var(--muted); font-size: 15.5px; }

/* process */
.pline { height: 3px; border-radius: 2px; background: rgba(255,255,255,.1); margin-bottom: 20px; overflow: hidden; }
.pline i { display: block; height: 100%; background: var(--grad); transform-origin: 0 50%; transform: scaleX(var(--pp, 0)); transition: transform .2s linear; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: s; }
.steps li { counter-increment: s; display: grid; gap: 10px; align-content: start; padding: 26px; border-radius: var(--r); border: 1px solid var(--line); background: var(--glass); transition: border-color .4s, transform .4s, background .4s; }
.steps li.lit { border-color: rgba(47,224,230,.6); transform: translateY(-6px); background: rgba(47,224,230,.07); }
.steps li::before { content: "0" counter(s); font-family: var(--font-display); font-weight: 800; font-size: 54px; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.steps h3 { font-size: 23px; } .steps p { color: var(--muted); font-size: 15.5px; }

/* cta */
.cta-panel { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; padding: clamp(24px, 5vw, 56px); border-radius: 34px; border: 1px solid rgba(255,255,255,.2); background: radial-gradient(90% 120% at 0% 0%, rgba(139,108,255,.55), transparent 60%), radial-gradient(90% 120% at 100% 100%, rgba(47,224,230,.4), transparent 60%), var(--bg-2); }
.cta-panel h2 { font-size: clamp(34px, 5vw, 60px); font-weight: 800; }
.about { display: grid; gap: 18px; align-content: start; min-width: 0; }
.about p { color: var(--panel-muted); max-width: 32em; }
.mono.on-panel { color: var(--panel-muted); }
form { display: grid; gap: 14px; padding: 26px; border-radius: var(--r); background: rgba(6,7,13,.72); backdrop-filter: blur(14px); border: 1px solid var(--line); min-width: 0; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: 14.5px; }
input, select, textarea { font: inherit; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255,255,255,.06); color: var(--fg); width: 100%; transition: border-color .2s; }
input:focus, select:focus, textarea:focus { border-color: var(--cyan); outline: none; }
select option { background: #10121f; }
textarea { min-height: 100px; resize: vertical; }
.form-note { font-size: 14px; color: var(--muted); }
.email-line { font-family: var(--font-mono); color: var(--fg); user-select: all; overflow-wrap: anywhere; }
footer { padding-block: 36px 44px; color: var(--muted); font-size: 14px; display: flex; flex-wrap: wrap; gap: 8px 32px; justify-content: space-between; }

.pre { opacity: 0; transform: translateY(28px); }
.reveal { transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }

@media (max-width: 940px) {
  .hero { grid-template-columns: minmax(0, 1fr); padding-block: 48px 24px; min-height: 0; }
  .iso-wrap { height: 460px; }
  .nav-links a.link { display: none; }
  section { padding-block: 64px; }
  .scrolly { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .stage-col { order: -1; top: calc(env(safe-area-inset-top, 0px) + 84px); height: auto; z-index: 5; padding-block: 10px 40px; background: linear-gradient(var(--bg) 86%, rgba(5,6,11,0)); }
  .stage { max-height: none; width: 100%; transform: none; }
  .sstep { min-height: 56vh; align-content: start; padding-top: 24px; }
  .stage-col > div { width: min(100%, 48vh); margin: 0 auto; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cta-panel { grid-template-columns: minmax(0, 1fr); }
  .hsticky { position: static; height: auto; overflow: visible; padding-block: 64px; }
  .htrack { width: auto; overflow-x: auto; scroll-snap-type: x mandatory; padding-left: 16px; padding-right: 16px; padding-bottom: 12px; transform: none !important; }
  .case { scroll-snap-align: center; }
  .hbar { display: none; }
}
@media (max-width: 600px) {
  .steps, .stats { grid-template-columns: minmax(0, 1fr); }
  .care { grid-template-columns: minmax(0, 1fr); }
  .care .big { white-space: normal; }
  .iso-wrap { height: 400px; }
  .iso { left: 50%; width: 170px; height: 170px; margin: -85px 0 0 -85px; }
  .chip { display: none; }
  .brand { font-size: 18px; } .nav { padding-left: 14px; } .btn.sm { padding: 9px 13px; font-size: 14px; }
  .cover { height: 190px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .split .w > span { transform: none; }
}


/* ---------- Clean premium look ---------- */
body {color-scheme: light; }
body .nav {background: rgba(255,255,255,.78); }
body .marquee-track {-webkit-text-stroke: 1px rgba(0,0,0,.32); }
body .price {background: rgba(0,0,0,.05); }
body .stage {background: var(--bg-2); border-color: var(--line); }
body .stage-dots i {background: rgba(0,0,0,.18); }
body .stage-dots i.on {background: var(--cyan); }
body .hbar, body .pline {background: rgba(0,0,0,.1); }
body form {background: #fff; backdrop-filter: none; }
body input, body select, body textarea {background: #fff; border-color: rgba(0,0,0,.22); }
body select option {background: #fff; }
body .iso {opacity: 1; }
body {--bg: #ffffff; --bg-2: #ffffff; --fg: #0d1220; --muted: #535c72; --line: #e3e7ef; --glass: #f6f8fc; --glass-2: #eef1f7;
  --violet: #6d5efc; --cyan: #3b5bdb; --coral: #f0527a; --lime: #0e9f6e; --grad: linear-gradient(100deg, #3b5bdb, #a855f7 60%, #f0527a 120%);
  --font-display: "Inter", system-ui, sans-serif; --font-body: "Inter", system-ui, sans-serif; --r: 20px;
  --dot: 59,91,219; --dot-hot: 168,85,247; --panel-muted: #535c72; --on-btn: #ffffff; }
body h1, body h2, body h3 {font-weight: 700; letter-spacing: -0.04em; }
body .aurora i:nth-child(1) {background: #c9d6ff; opacity: .9; }
body .aurora i:nth-child(2) {background: #f3d1ff; opacity: .8; }
body .aurora i:nth-child(3) {background: #ffd9e4; opacity: .6; }
body .glow {background: radial-gradient(closest-side, rgba(59,91,219,.10), transparent); }
body .nav {box-shadow: 0 10px 40px -18px rgba(30,50,120,.35); }
body .stage, body .case, body .stat, body .steps li, body form {box-shadow: 0 30px 70px -32px rgba(30,50,120,.35); }
body .btn {background: #0d1220; }
body .btn.glowb {color: #fff; }
body .btn.ghost {background: #fff; color: #0d1220; }
body .btn:hover {box-shadow: 0 12px 34px -10px rgba(59,91,219,.55); }
body .iso {border-color: rgba(255,255,255,.9); box-shadow: 0 24px 50px -18px rgba(59,91,219,.45); backdrop-filter: blur(6px); }
body .iso[data-i="0"] {background: linear-gradient(135deg, #c7d2fe, #a5b4fc); }
body .iso[data-i="1"] {background: linear-gradient(135deg, #bfdbfe, #93c5fd); }
body .iso[data-i="2"] {background: linear-gradient(135deg, #ddd6fe, #c4b5fd); }
body .iso[data-i="3"] {background: linear-gradient(135deg, #fbcfe8, #f9a8d4); }
body .iso[data-i="4"] {background: linear-gradient(135deg, #fde68a, #fca5a5); }
body .care {background: linear-gradient(100deg, #eef2ff, #fdf2f8); }
body .cta-panel {background: radial-gradient(90% 120% at 0% 0%, #dfe7ff, transparent 60%), radial-gradient(90% 120% at 100% 100%, #ffe6f1, transparent 60%), #f8f9fd; border-color: var(--line); }
body .steps li.lit {background: #eef2ff; border-color: #3b5bdb; }
body .marquee-track b {color: #0d1220; }

.visit { justify-self: start; align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; padding: 9px 16px; border-radius: 999px; background: var(--fg); color: var(--bg); font-weight: 600; font-size: 14px; text-decoration: none; transition: transform .25s, box-shadow .25s; }
.visit:hover { transform: translateY(-2px); box-shadow: 0 12px 26px -12px rgba(30,40,110,.6); }
.visit:focus-visible { outline: 2px solid var(--fg); outline-offset: 3px; }
.cover .shot { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.cover.has-shot { height: auto; aspect-ratio: 16 / 10; background: #10121f; }
.cover.has-shot::after, .cover.has-shot .num { display: none; }
.cover.has-shot .mono { z-index: 1; background: rgba(10,12,24,.72); }
.case:hover .shot, .case-lg:hover .shot { transform: scale(1.04); }
.case-lg .cover.has-shot { aspect-ratio: 16 / 10; min-height: 0; align-self: center; margin: 18px; border-radius: 16px; box-shadow: 0 18px 40px -22px rgba(20,30,80,.5); }
.case-lg { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
.case-lg:nth-child(even) { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
@media (max-width: 860px) { .case-lg, .case-lg:nth-child(even) { grid-template-columns: minmax(0, 1fr); } .case-lg .cover.has-shot { margin: 12px 12px 0; } }
.win { color: #f2f3fb; }
.win .kpi small, .win-bar span { color: rgba(255,255,255,.6); }
/* ---------- multi-page additions ---------- */
.nav-links a.link[aria-current="page"] { color: var(--fg); background: var(--glass-2); }
.page-hero { padding-block: 96px 24px; display: grid; gap: 22px; max-width: 58em; }
.page-hero h1 { font-size: clamp(40px, 6.4vw, 84px); font-weight: 700; }
.page-hero .lead { font-size: clamp(18px, 1.6vw, 21px); color: var(--muted); max-width: 36em; }
section.tight { padding-block: 64px; }
.rows2 { display: grid; gap: clamp(64px, 9vw, 120px); }
.row2 { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: center; }
.row2:nth-child(even) .row2-stage { order: -1; }
.row2-copy { display: grid; gap: 16px; justify-items: start; min-width: 0; }
.row2-copy h2 { font-size: clamp(32px, 4.4vw, 56px); }
.row2-copy p { color: var(--muted); font-size: 18px; max-width: 30em; }
.row2-copy h3 { font-family: var(--font-mono); font-weight: 500; font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--fg); margin-top: 6px; }
.row2-stage { min-width: 0; }
.ticks { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 24px; font-size: 16px; }
.ticks li { display: flex; gap: 10px; }
.ticks li::before { content: "✓"; color: var(--lime); font-weight: 700; }
.care.wide { margin-top: clamp(64px, 9vw, 120px); }
.case-list { display: grid; gap: 28px; }
.case-lg { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); border-radius: 28px; overflow: hidden; background: var(--bg-2); border: 1px solid var(--line); box-shadow: 0 30px 70px -32px rgba(30,50,120,.35); transform: perspective(1600px) rotateY(var(--cx, 0deg)) rotateX(var(--cy, 0deg)); transition: transform .3s; }
.case-lg:nth-child(even) .cover { order: 2; }
.case-lg .cover { height: auto; min-height: 300px; }
.case-lg .cover::after { font-size: clamp(64px, 9vw, 128px); }
.case-lg:hover .cover::after { transform: translateX(-22px); }
.case-lg .case-body { padding: clamp(22px, 4vw, 48px); gap: 14px; align-content: center; }
.case-lg h2 { font-size: clamp(28px, 3.6vw, 46px); }
.case-lg p { font-size: 17px; color: var(--muted); }
.case-lg p b { color: var(--fg); font-weight: 700; }
.values { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.vcard { display: grid; gap: 10px; align-content: start; padding: 30px; border-radius: var(--r); border: 1px solid var(--line); background: var(--bg-2); box-shadow: 0 30px 70px -32px rgba(30,50,120,.35); transition: transform .3s; }
.vcard:hover { transform: translateY(-6px); }
.vcard h3 { font-size: 25px; }
.vcard p { color: var(--muted); }
.vcard .ico { width: 44px; height: 44px; border-radius: 14px; background: var(--grad); display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 20px; }
.story { display: grid; gap: 20px; max-width: 40em; font-size: clamp(18px, 1.7vw, 22px); line-height: 1.55; }
.story p { color: var(--muted); }
.story p:first-child { color: var(--fg); }
.cta-panel.solo { grid-template-columns: minmax(0, 1fr); justify-items: start; }
.cta-panel.solo p { color: var(--panel-muted); max-width: 34em; font-size: 18px; }
.contact-points { display: grid; gap: 16px; margin-top: 8px; }
.contact-points div { display: grid; gap: 2px; }
footer nav { display: flex; flex-wrap: wrap; gap: 6px 20px; }
footer a { text-decoration: none; }
footer a:hover { color: var(--fg); }
@media (max-width: 940px) {
  .row2, .case-lg { grid-template-columns: minmax(0, 1fr); }
  .row2 { gap: 28px; }
  .row2 .row2-stage { order: -1; }
  .row2 .stage { transform: none; }
  .case-lg:nth-child(even) .cover { order: 0; }
  .case-lg .cover { min-height: 190px; }
  .page-hero { padding-block: 56px 8px; }
}
@media (max-width: 600px) { .ticks, .values { grid-template-columns: minmax(0, 1fr); } }
