/* adwe — portfolio one-pager (direction B2: black, violet + lime) */

/* ---------- fonts (latin + latin-ext → Polish letters render in the real font) ---------- */
@font-face { font-family: "Outfit"; src: url("/fonts/outfit.woff2") format("woff2"); font-weight: 100 900; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Outfit"; src: url("/fonts/outfit-ext.woff2") format("woff2"); font-weight: 100 900; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Jakarta"; src: url("/fonts/jakarta.woff2") format("woff2"); font-weight: 200 800; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Jakarta"; src: url("/fonts/jakarta-ext.woff2") format("woff2"); font-weight: 200 800; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Instrument Serif"; src: url("/fonts/instrument-serif-italic.woff2") format("woff2"); font-style: italic; font-weight: 400; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Instrument Serif"; src: url("/fonts/instrument-serif-italic-ext.woff2") format("woff2"); font-style: italic; font-weight: 400; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Outfit Fallback"; src: local("Arial"); size-adjust: 100%; ascent-override: 98%; descent-override: 26%; }

/* ---------- tokens ---------- */
:root {
  --bg: oklch(0.13 0.004 300);
  --bg-2: oklch(0.175 0.006 300);
  --bg-3: oklch(0.22 0.008 300);
  --line: oklch(1 0 0 / 0.1);
  --fg: oklch(0.97 0.004 300);
  --muted: oklch(0.76 0.008 300);
  --faint: oklch(0.64 0.01 300);
  --violet: oklch(0.616 0.219 296.9);
  --violet-soft: oklch(0.72 0.15 297);
  --lime: oklch(0.93 0.19 124);
  --lilac: oklch(0.82 0.09 300);
  --on-lime: oklch(0.16 0.03 124);
  --accent: var(--violet);
  --font-display: "Outfit", "Outfit Fallback", system-ui, sans-serif;
  --font-body: "Jakarta", system-ui, sans-serif;
  --font-serif: "Instrument Serif", Georgia, serif;
  --fs-h1: clamp(2.6rem, 1.4rem + 4.6vw, 6rem);
  --fs-h2: clamp(2.1rem, 1.3rem + 3vw, 4.4rem);
  --fs-lead: clamp(1.05rem, 1rem + 0.3vw, 1.25rem);
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --gutter: clamp(16px, 4vw, 56px);
  --z-path: 140; --z-topbar: 450; --z-intro: 500; --z-fx: 600; --z-skip: 1000; --z-cover: 9999;
}
html[data-pick="store"] { --accent: var(--lime); }
html[data-pick="ads"] { --accent: var(--lilac); }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
[hidden] { display: none !important; }
main:focus { outline: none; } /* focused only as the skip-link target */
html { background: var(--bg); color-scheme: dark; -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: clip; }
body { font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.6; color: var(--fg); background: var(--bg); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; font-synthesis: none; overflow-x: clip; }
img, svg, canvas { display: block; max-width: 100%; }
img { height: auto; -webkit-user-drag: none; user-select: none; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
button, a, input, summary { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid oklch(1 0 0 / 0.9); outline-offset: 3px; border-radius: 8px; }
::selection { background: color-mix(in oklch, var(--violet) 45%, transparent); }
em { font-family: var(--font-serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; color: var(--violet-soft); }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: var(--z-skip); background: var(--fg); color: var(--bg); padding: 10px 16px; border-radius: 10px; font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 16px; }
.wrap { width: min(1280px, 100% - var(--gutter) * 2); margin-inline: auto; }

.h1 { font-family: var(--font-display); font-weight: 700; font-size: var(--fs-h1); line-height: 1.02; letter-spacing: -0.035em; }
.h1 em, .h2 em { font-size: 1.08em; line-height: 0; }
.h2 { font-family: var(--font-display); font-weight: 700; font-size: var(--fs-h2); line-height: 1.04; letter-spacing: -0.03em; max-width: 18ch; }
.label { font-family: var(--font-display); font-weight: 600; font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--faint); margin-bottom: 20px; display: flex; align-items: center; gap: 10px; }
.label::before { content: ""; width: 18px; height: 3px; border-radius: 3px; background: var(--lime); }
.lead { font-size: var(--fs-lead); color: var(--muted); max-width: 46ch; margin-top: 22px; }
.eyebrow { font-family: var(--font-display); font-weight: 600; font-size: 0.82rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); margin-bottom: 26px; }
.caption { font-family: var(--font-display); font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--faint); margin-top: 16px; text-align: right; }

.w { display: inline-block; overflow: clip; vertical-align: top; padding-bottom: 0.1em; margin-bottom: -0.1em; overflow-clip-margin: 0.14em; }
.wi { display: inline-block; }
.js [data-split]:not(.is-revealed) .wi { transform: translateY(115%); }
.js.lang-pending main, .js.lang-pending .topbar, .js.lang-pending .footer { visibility: hidden; }
.js [data-hero] { opacity: 0; }

/* ---------- CTA ---------- */
.cta { --h: 56px; display: inline-flex; align-items: center; gap: 10px; height: var(--h); padding: 0 24px 0 26px; border-radius: 999px; background: var(--lime); color: var(--on-lime); font-family: var(--font-display); font-weight: 700; font-size: 1.02rem; text-decoration: none; white-space: nowrap; box-shadow: 0 10px 34px -14px var(--lime); transition: scale 160ms var(--ease-out), box-shadow 300ms var(--ease-out); }
.cta:active { scale: 0.96; }
.cta-arrow { display: inline-block; transition: transform 300ms var(--ease-out); }
.cta--sm { --h: 44px; padding: 0 16px 0 18px; font-size: 0.92rem; }
.cta--light { background: var(--fg); color: var(--bg); box-shadow: none; }
@media (hover: hover) and (pointer: fine) { .cta:hover .cta-arrow { transform: translate(3px, -3px); } .cta:hover { box-shadow: 0 14px 44px -10px var(--lime); } .cta--light:hover { box-shadow: 0 14px 44px -14px oklch(1 0 0 / 0.5); } }
.ghost-link { font-family: var(--font-display); font-weight: 600; color: var(--muted); text-decoration: none; padding: 14px 6px; transition: color 200ms ease; }
@media (hover: hover) and (pointer: fine) { .ghost-link:hover { color: var(--fg); } }

/* ---------- top bar ---------- */
.topbar { position: fixed; inset: 12px 0 auto; z-index: var(--z-topbar); display: flex; justify-content: center; padding-inline: 12px; pointer-events: none; }
.topbar-inner { pointer-events: auto; width: min(1280px, 100%); display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 7px 7px 7px 20px; border-radius: 999px; background: oklch(0.16 0.006 300 / 0.28); -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4); box-shadow: 0 0 0 1px oklch(1 0 0 / 0.07) inset; }

.logo { font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; letter-spacing: -0.05em; color: var(--violet); text-decoration: none; line-height: 1; padding: 9px 4px; }
.topbar-right { display: flex; align-items: center; gap: 10px; }
.flags { display: flex; gap: 2px; }
.flag-btn { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; opacity: 0.45; transition: opacity 200ms var(--ease-out), scale 160ms var(--ease-out); }
.flag-btn:active { scale: 0.92; }
.flag { width: 24px; height: 24px; border-radius: 50%; box-shadow: 0 0 0 1px oklch(1 0 0 / 0.25); }
html[lang="pl"] .flag-btn[data-lang-set="pl"], html[lang="en"] .flag-btn[data-lang-set="en"] { opacity: 1; }
@media (hover: hover) and (pointer: fine) { .flag-btn:hover { opacity: 1; } }

/* ---------- hero ---------- */
.hero { min-height: 100svh; display: flex; align-items: center; padding: 130px 0 60px; position: relative; overflow: clip; }
.hero::before { content: ""; position: absolute; width: 60vw; aspect-ratio: 1; right: -12vw; top: -18vw; background: radial-gradient(closest-side, color-mix(in oklch, var(--violet) 26%, transparent), transparent); pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; align-items: center; gap: 40px; position: relative; }
.hero .h1 { max-width: 14ch; }
.hero-dash { display: block; width: 64px; height: 5px; border-radius: 5px; background: var(--lime); margin: 30px 0 26px; }
.hero-sub { font-size: var(--fs-lead); color: var(--muted); max-width: 42ch; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-top: 34px; }
.hero-art { position: relative; display: grid; place-items: center; min-height: 340px; }

/* ---------- strips ---------- */
.strips { padding: 30px 0 40px; overflow: clip; }
.strip { display: flex; gap: 18px; width: max-content; padding-left: 4vw; }
.strip img { width: clamp(260px, 30vw, 440px); aspect-ratio: 4 / 3; object-fit: cover; object-position: top; border-radius: 18px; box-shadow: 0 0 0 1px var(--line), 0 30px 60px -30px oklch(0 0 0 / 0.8); flex: none; }
.strip--2 { margin-top: 18px; padding-left: 0; transform: translateX(-22vw); }
.strips .caption { margin-top: 22px; }

/* ---------- hi ---------- */
.hi { position: relative; }
.hi-stage { position: relative; height: 100svh; display: grid; place-items: center; align-content: center; gap: 18px; overflow: clip; padding: 0 var(--gutter); }
.hi-title { font-family: var(--font-display); font-weight: 800; font-size: clamp(3rem, 1.6rem + 7vw, 8.5rem); letter-spacing: -0.045em; line-height: 1; text-align: center; position: relative; z-index: 1; }
.hi-stage.is-canvas .hi-title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.hi-title .v { color: var(--violet); }
.hi-canvas { display: none; position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hi-stage.is-canvas .hi-canvas { display: block; }
.hi-stage.is-canvas .hi-text { position: absolute; left: 50%; top: 62%; translate: -50% 0; width: min(44ch, 88%); }
.hi-text { max-width: 44ch; text-align: center; font-size: var(--fs-lead); color: var(--muted); position: relative; z-index: 1; }
.hi-ico { position: absolute; width: clamp(70px, 9vw, 150px); height: auto; pointer-events: none; filter: drop-shadow(0 24px 40px oklch(0 0 0 / 0.6)); }
.hi-ico--1 { left: 7%; top: 22%; }
.hi-ico--2 { right: 11%; top: 17%; width: clamp(50px, 6vw, 96px); }
.hi-ico--3 { right: 6%; bottom: 20%; width: clamp(60px, 7vw, 120px); }
.hi-ico--4 { left: 12%; bottom: 16%; width: clamp(52px, 6vw, 100px); }

/* ---------- sections ---------- */
.section { padding: clamp(100px, 14vh, 160px) 0; position: relative; }

.svc { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: clamp(40px, 6vh, 60px); }
.svc-card { --c: var(--violet); position: relative; width: 100%; height: 100%; min-height: 380px; text-align: left; display: flex; flex-direction: column; gap: 10px; padding: 28px 26px; border-radius: 28px; background: var(--bg-2); box-shadow: 0 0 0 1px var(--line) inset; overflow: hidden; isolation: isolate; transition: transform 450ms var(--ease-out), box-shadow 450ms var(--ease-out); }
.svc-card::before { content: ""; position: absolute; inset: auto -20% -40% auto; width: 70%; aspect-ratio: 1; background: radial-gradient(closest-side, color-mix(in oklch, var(--c) 35%, transparent), transparent); z-index: -1; opacity: 0.6; transition: opacity 450ms var(--ease-out), transform 450ms var(--ease-out); }
.svc-num { font-family: var(--font-display); font-weight: 700; font-size: 0.85rem; letter-spacing: 0.1em; color: var(--c); }
.svc-title { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.6rem, 1.2rem + 1vw, 2.2rem); letter-spacing: -0.03em; line-height: 1.05; }
.svc-desc { color: var(--muted); font-size: 0.98rem; max-width: 30ch; }
.svc-icons { position: absolute; right: 22px; bottom: 22px; display: flex; align-items: end; gap: 4px; transition: transform 500ms var(--ease-out); }
.svc-icons img { width: clamp(90px, 10vw, 150px); }
.svc-title { font-size: clamp(1.8rem, 1.3rem + 1.5vw, 2.8rem) !important; max-width: 14ch; }
.svc-desc { max-width: 34ch !important; }
.svc-go { margin-top: auto; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--fg); color: var(--bg); font-weight: 700; transition: background-color 300ms var(--ease-out); }
.svc-card[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--c) inset; }
.svc-card:active { transform: scale(0.985); }
@media (hover: hover) and (pointer: fine) {
  .svc-card:hover { transform: translateY(-6px); box-shadow: 0 0 0 1px color-mix(in oklch, var(--c) 60%, transparent) inset; }
  .svc-card:hover::before { opacity: 1; transform: scale(1.2); }
  .svc-card:hover .svc-icons { transform: translateY(-8px) rotate(-5deg) scale(1.05); }
  .svc-card:hover .svc-go { background: var(--c); }
}


/* offer */
.tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 40px; }
.tab { height: 72px; border-radius: 18px; padding: 0 24px; text-align: left; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.2rem, 1rem + 0.7vw, 1.7rem); letter-spacing: -0.02em; color: var(--muted); background: var(--bg-2); box-shadow: 0 0 0 1px var(--line) inset; transition: background-color 400ms var(--ease-out), color 400ms var(--ease-out), scale 160ms var(--ease-out); }
.tab-n { color: var(--faint); margin-right: 8px; font-weight: 600; transition: color 400ms var(--ease-out); }
.tab { position: relative; }
.tab-badge { position: absolute; top: -11px; right: 14px; display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 999px; background: var(--lime); color: var(--on-lime); font-size: 0.68rem; font-weight: 800; letter-spacing: 0.04em; white-space: nowrap; box-shadow: 0 6px 18px -6px oklch(0.85 0.2 125 / 0.7); }
.tab:active { scale: 0.97; }
.tab.is-on { background: var(--violet); color: oklch(0.99 0 0); box-shadow: 0 16px 50px -20px var(--violet); }
.tab.is-on .tab-n { color: var(--lime); }
@media (hover: hover) and (pointer: fine) { .tab:not(.is-on):hover { color: var(--fg); background: var(--bg-3); } }
.level { position: relative; display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(28px, 4vw, 60px); align-items: center; margin-top: 30px; }
.level-title { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.6rem); letter-spacing: -0.03em; line-height: 1.08; }
.level-desc { color: var(--muted); margin-top: 12px; }
.level-time { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; padding: 8px 14px 8px 10px; border-radius: 999px; background: oklch(0.93 0.19 124 / 0.12); box-shadow: 0 0 0 1px oklch(0.93 0.19 124 / 0.35) inset; color: var(--lime); font-family: var(--font-display); font-weight: 700; font-size: 0.92rem; }
.level-time svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; flex: none; }
.level-list { list-style: none; padding: 0; margin: 20px 0 28px; display: grid; gap: 10px; }
.level-list li { display: flex; gap: 12px; align-items: baseline; }
.level-list li::before { content: "✓"; color: var(--lime); font-weight: 700; }
.browser { border-radius: 20px; overflow: hidden; background: var(--bg-2); box-shadow: 0 0 0 1px var(--line), 0 40px 90px -40px oklch(0.3 0.15 297 / 0.7); }
.browser-bar { display: flex; align-items: center; gap: 7px; height: 40px; padding: 0 14px; border-bottom: 1px solid var(--line); }
.browser-bar i { width: 11px; height: 11px; border-radius: 50%; background: var(--bg-3); }
.browser-bar span { margin-left: 12px; flex: 1; min-width: 0; max-width: 300px; height: 24px; line-height: 24px; border-radius: 8px; background: var(--bg); display: block; padding: 0 12px; font-size: 0.76rem; color: var(--faint); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.browser-view { position: relative; aspect-ratio: 16 / 10; }
.browser-view img, .browser-view canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.browser-view canvas { opacity: 0; }
.browser-view.is-pixel canvas { opacity: 1; }
.browser-view.is-pixel img { visibility: hidden; }
.offer-emoji { position: absolute; right: -28px; top: -70px; width: clamp(72px, 8vw, 120px); pointer-events: none; filter: drop-shadow(0 20px 30px oklch(0 0 0 / 0.6)); }

/* before / after */
.ba { --pos: 50%; position: relative; margin-top: 44px; height: clamp(420px, 60vh, 600px); border-radius: 26px; overflow: hidden; box-shadow: 0 0 0 1px var(--line); user-select: none; container-type: inline-size; }
.ba:has(.ba-range:focus-visible) { outline: 2px solid var(--fg); outline-offset: 4px; }
.ba-pane { position: absolute; inset: 0; }
.ba-after { clip-path: inset(0 0 0 var(--pos)); color: oklch(0.98 0.01 85); }
.ba-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: #fff; z-index: 5; pointer-events: none; }
.ba-handle span { position: absolute; top: 50%; left: 50%; width: 56px; height: 56px; margin: -28px 0 0 -28px; border-radius: 50%; background: var(--lime); display: grid; place-items: center; box-shadow: 0 10px 30px -8px oklch(0 0 0 / 0.5), 0 0 0 4px #fff; }
.ba-handle svg { width: 24px; fill: none; stroke: var(--on-lime); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.ba-tag { position: absolute; bottom: 14px; z-index: 4; font-family: var(--font-display); font-weight: 700; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; padding: 7px 12px; border-radius: 8px; background: oklch(0 0 0 / 0.65); color: #fff; pointer-events: none; }
.ba-tag--l { left: 14px; }
.ba-tag--r { right: 14px; }
.ba-tag--me { background: var(--violet); color: var(--lime); text-transform: none; letter-spacing: -0.02em; font-size: 0.95rem; font-weight: 800; }
.ba-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; z-index: 6; touch-action: pan-y; }

/* how */
.how-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.how-head { position: sticky; top: 130px; }
.steps { list-style: none; padding: 0; position: relative; display: grid; gap: 26px; }
.steps-line { position: absolute; left: 23px; top: 24px; bottom: 60px; width: 2px; background: var(--line); }
.steps-line span { position: absolute; inset: 0; background: linear-gradient(var(--violet), var(--lime)); transform-origin: 0 0; transform: scaleY(0); }
.step { display: grid; grid-template-columns: 48px 1fr; gap: 22px; position: relative; }
.step-n { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; background: var(--bg-3); color: var(--muted); box-shadow: 0 0 0 6px var(--bg); transition: background-color 400ms var(--ease-out), color 400ms var(--ease-out); position: relative; z-index: 1; }
.step-card { padding: 22px 24px; border-radius: 22px; background: var(--bg-2); box-shadow: 0 0 0 1px var(--line) inset; transition: box-shadow 400ms var(--ease-out); }
.step h3 { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.6rem); letter-spacing: -0.02em; line-height: 1.15; transition: color 400ms var(--ease-out); }
.step p { color: var(--muted); margin-top: 6px; }
.js .steps[data-motion] .step:not(.is-on) h3 { color: oklch(0.62 0.01 300); }
.step.is-on .step-n { background: var(--violet); color: #fff; }
.step--last.is-on .step-n { background: var(--lime); color: var(--on-lime); }
.step--last.is-boom .step-card { box-shadow: 0 0 0 2px var(--lime) inset, 0 30px 80px -30px var(--lime); }

/* faq — grid-rows animation, nothing below jumps */
.faq-wrap { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(40px, 6vw, 96px); }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 0; cursor: pointer; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.1rem, 1rem + 0.4vw, 1.35rem); letter-spacing: -0.015em; }
.faq summary::-webkit-details-marker { display: none; }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 420ms var(--ease-out); }
.faq-a > p { overflow: hidden; min-height: 0; color: var(--muted); max-width: 60ch; transition: padding 420ms var(--ease-out); }
.faq details.is-open .faq-a { grid-template-rows: 1fr; }
.faq details.is-open .faq-a > p { padding-bottom: 24px; }
.plus { flex: none; width: 36px; height: 36px; border-radius: 50%; position: relative; box-shadow: 0 0 0 1px var(--line) inset; transition: background-color 300ms var(--ease-out), rotate 380ms var(--ease-out); }
.plus::before, .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.6px; margin: -0.8px 0 0 -6px; background: currentColor; }
.plus::after { rotate: 90deg; }
details.is-open .plus { rotate: 45deg; background: var(--lime); color: var(--on-lime); box-shadow: none; }

/* contact */
.contact { padding-bottom: 60px; }
.contact-title { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.9rem, 0.4rem + 7.4vw, 7.4rem); letter-spacing: -0.045em; line-height: 0.98; text-transform: uppercase; position: relative; white-space: nowrap; width: max-content; max-width: 100%; }
.outline-stroke { color: transparent; -webkit-text-stroke: 1.5px oklch(1 0 0 / 0.5); display: block; }
.outline-fill { position: absolute; inset: 0; color: var(--fg); }
.js .outline[data-motion] .outline-fill { clip-path: inset(0 100% 0 0); }
.contact-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 44px; max-width: 980px; }
.contact-btn { display: flex; align-items: center; gap: 16px; min-height: 96px; padding: 16px 22px 16px 18px; border-radius: 26px; text-decoration: none; background: var(--bg-2); box-shadow: 0 0 0 1px var(--line) inset; transition: box-shadow 350ms var(--ease-out), scale 160ms var(--ease-out); }
.contact-btn--ig { background: var(--violet); color: #fff; box-shadow: 0 20px 60px -26px var(--violet); }
.contact-btn--ig:active { scale: 0.98; }
.contact-ico { width: 42px; height: 42px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; }
.contact-ico .fill { fill: currentColor; stroke: none; }
.contact-txt { display: grid; gap: 2px; min-width: 0; flex: 1; }
.contact-txt small { font-size: 0.86rem; opacity: 0.8; }
.contact-txt strong { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.15rem, 1rem + 0.6vw, 1.5rem); letter-spacing: -0.02em; line-height: 1.15; }
.contact-arrow { font-size: 1.5rem; transition: transform 300ms var(--ease-out); }
.contact-btn--mail { padding: 0; }
.contact-mail { display: flex; align-items: center; gap: 16px; padding: 16px 10px 16px 18px; text-decoration: none; flex: 1; min-width: 0; min-height: 96px; border-radius: 26px; }
.copy-btn { flex: none; height: 44px; margin-right: 14px; padding: 0 16px; border-radius: 999px; font-family: var(--font-display); font-weight: 700; font-size: 0.84rem; box-shadow: 0 0 0 1px var(--line) inset; color: var(--muted); }
.copy-btn.is-done { background: var(--lime); color: var(--on-lime); box-shadow: none; }
@media (hover: hover) and (pointer: fine) { .contact-btn--ig:hover .contact-arrow { transform: translate(4px, -4px); } .contact-btn--mail:hover { box-shadow: 0 0 0 1px var(--lime) inset; } }

/* footer */
.footer { position: relative; padding-top: 40px; border-top: 1px solid var(--line); overflow: clip; }
.footer-copy { margin-left: auto; color: var(--faint); }
.footer-mark { position: relative; height: clamp(180px, 30vw, 440px); margin-top: 20px; }
.footer-word { position: absolute; left: 0; right: 0; bottom: -0.16em; text-align: center; font-family: var(--font-display); font-weight: 800; font-size: clamp(9rem, 34vw, 32rem); line-height: 0.8; letter-spacing: -0.06em; color: var(--violet); user-select: none; }
.footer-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.js .footer-mark.has-canvas .footer-word { visibility: hidden; }

/* ---------- intro + gate ---------- */
.intro { display: none; }
.js .intro { display: grid; position: fixed; inset: 0; z-index: var(--z-intro); background: var(--bg); place-items: center; grid-template-rows: 1fr auto 1fr; overflow: clip; }
.intro.is-gone { display: none !important; }
.intro-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.intro-logo { grid-row: 2; font-family: var(--font-display); font-weight: 800; font-size: clamp(5rem, 20vw, 14rem); letter-spacing: -0.06em; line-height: 1; color: var(--violet); opacity: 0; }
.intro.is-static .intro-logo { opacity: 1; }
.gate { grid-row: 3; align-self: start; display: grid; justify-items: center; gap: 20px; margin-top: clamp(20px, 5vh, 50px); opacity: 0; visibility: hidden; position: relative; }
.gate.is-on { visibility: visible; }
.gate-q { font-family: var(--font-display); font-weight: 600; font-size: 0.82rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); text-align: center; padding-inline: 16px; }
.gate-btns { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; padding-inline: 16px; }
.gate-btn { display: inline-flex; align-items: center; gap: 12px; height: 60px; padding: 0 26px 0 14px; border-radius: 999px; background: var(--bg-2); box-shadow: 0 0 0 1px var(--line) inset; font-family: var(--font-display); font-weight: 700; font-size: 1.12rem; transition: background-color 250ms var(--ease-out), color 250ms var(--ease-out), scale 160ms var(--ease-out); }
.gate-btn .flag { width: 32px; height: 32px; }
.gate-btn:active { scale: 0.96; }
@media (hover: hover) and (pointer: fine) { .gate-btn:hover { background: var(--lime); color: var(--on-lime); } }
html.is-locked { overflow: hidden; }

/* ---------- fx ---------- */
.fx { position: fixed; top: calc(-60px - env(safe-area-inset-top, 0px)); left: 0; width: 100%; height: calc(100vh + 120px + env(safe-area-inset-top, 0px) + env(safe-area-inset-bottom, 0px)); height: calc(100lvh + 120px + env(safe-area-inset-top, 0px) + env(safe-area-inset-bottom, 0px)); z-index: var(--z-fx); pointer-events: none; will-change: transform; }
html.is-wiping { pointer-events: none; }

/* legal pages */
.legal { padding-block: 120px; max-width: 720px; }

/* ---------- fallbacks ---------- */
.reveal-all [data-split] .wi { transform: none !important; }
.reveal-all [data-hero] { opacity: 1 !important; }
.reveal-all .intro { display: none !important; }
.reveal-all .outline-fill { clip-path: none !important; }

/* ---------- responsive ---------- */

@media (max-width: 899px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { order: -1; min-height: 0; margin: -6px auto 6px; }
  .svc, .tabs { grid-template-columns: 1fr; }
  .svc li:last-child { grid-column: auto; }
  .svc-card { min-height: 250px; }
  .how-grid, .faq-wrap, .level { grid-template-columns: 1fr; }
  .how-head { position: static; }
  .contact-btns { grid-template-columns: 1fr; }
  .offer-emoji { right: 0; top: -60px; }
  .hi-ico--1 { left: 2%; top: 14%; } .hi-ico--2 { right: 4%; top: 12%; } .hi-ico--3 { right: 3%; bottom: 12%; } .hi-ico--4 { left: 5%; bottom: 10%; }
}
@media (max-width: 640px) {
  .section { padding: 90px 0; }
  .hero { padding-top: 110px; }
  .topbar { inset-block-start: 8px; padding-inline: 8px; }
  .topbar-inner { padding-left: 14px; gap: 6px; }
  .tab { height: 60px; }
  .contact-btn, .contact-mail { min-height: 86px; }
  .contact-mail strong { font-size: 1.05rem; }
  .ba { height: 440px; }
  .footer-copy { margin-left: 0; width: 100%; }
}
@media (max-width: 380px) { .cta--sm .cta-arrow { display: none; } }

@media (prefers-reduced-motion: reduce) {
  .cta-arrow, .contact-arrow, .svc-ico { transition: none; }
  .svc-card, .svc-card:hover { transform: none !important; transition-property: box-shadow; }
  .faq-a { transition: none; }
}

/* ---------- v3 additions ---------- */
/* eyes that follow the cursor */
.eyes { position: relative; display: flex; gap: clamp(10px, 1.6vw, 22px); }
.eyes::before { content: ""; position: absolute; left: 6%; right: 6%; bottom: -18%; height: 40%; border-radius: 50%; background: radial-gradient(closest-side, oklch(0.42 0.17 297 / 0.5), transparent); pointer-events: none; z-index: -1; }
.eye { will-change: transform; --s: clamp(118px, 14vw, 230px); position: relative; width: var(--s); height: calc(var(--s) * 1.12); border-radius: 50%; overflow: hidden;
  background: radial-gradient(circle at 34% 26%, #ffffff 0%, #f6f3fb 34%, #ddd5ee 66%, #a597cf 100%);
  box-shadow: inset -10px -18px 34px oklch(0.45 0.12 297 / 0.45), inset 8px 10px 20px #fff, 0 0 0 3px oklch(0.2 0.02 300); }
.iris { position: absolute; left: 50%; top: 50%; width: 52%; aspect-ratio: 1; margin: -26% 0 0 -26%; border-radius: 50%;
  background: radial-gradient(circle at 42% 38%, #2a2630 0%, #0d0c10 46%, #050407 100%);
  box-shadow: 0 0 0 2px #050407; will-change: transform; }
.pupil { position: absolute; inset: 27%; border-radius: 50%; background: transparent; }
.pupil::after { content: ""; position: absolute; width: 34%; height: 34%; left: 14%; top: 10%; border-radius: 50%; background: #fff; opacity: 0.95; }
.iris::after { content: ""; position: absolute; width: 16%; height: 16%; right: 18%; bottom: 20%; border-radius: 50%; background: #fff; opacity: 0.55; }
.lid { position: absolute; inset: -2px; background: linear-gradient(oklch(0.32 0.12 297), var(--violet)); transform: scaleY(0); transform-origin: 50% 0; border-bottom: 3px solid var(--lime); }

.pill { display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border-radius: 999px; background: var(--lime); color: var(--on-lime); font-family: var(--font-display); font-weight: 800; font-size: 0.74rem; letter-spacing: 0.06em; text-shadow: none; }
/* level preview is a link */
a.browser { display: block; text-decoration: none; color: inherit; transition: translate 400ms var(--ease-out), box-shadow 400ms var(--ease-out); }
.browser-hint { position: absolute; right: 14px; bottom: 14px; z-index: 3; height: 36px; display: inline-flex; align-items: center; padding: 0 14px; border-radius: 999px; background: var(--lime); color: var(--on-lime); font-family: var(--font-display); font-weight: 700; font-size: 0.82rem; box-shadow: 0 10px 30px -10px #000; pointer-events: none; }
@media (hover: hover) and (pointer: fine) { a.browser:hover { translate: 0 -6px; box-shadow: 0 0 0 2px var(--lime), 0 40px 90px -40px var(--lime); } }

/* path indicator 1-2-3 */
.path { position: fixed; z-index: var(--z-path); left: 50%; bottom: max(14px, env(safe-area-inset-bottom)); translate: -50% 140%; display: flex; align-items: center; gap: 6px; padding: 6px; border-radius: 999px; background: oklch(0.16 0.006 300 / 0.72); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 0 0 1px var(--line) inset, 0 16px 40px -14px #000; transition: translate 600ms var(--ease-out), opacity 400ms var(--ease-out); opacity: 0; }
.path.is-on { translate: -50% 0; opacity: 1; }
.path a { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px 0 6px; border-radius: 999px; text-decoration: none; color: var(--muted); font-family: var(--font-display); font-weight: 600; font-size: 0.86rem; white-space: nowrap; transition: background-color 300ms var(--ease-out), color 300ms var(--ease-out); }
.path b { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-3); color: var(--fg); font-size: 0.8rem; transition: background-color 300ms var(--ease-out), color 300ms var(--ease-out); }
.path i { width: 14px; height: 2px; border-radius: 2px; background: var(--line); }
.path a.is-done b { background: var(--violet); }
.path a.is-cur { background: var(--lime); color: var(--on-lime); }
.path a.is-cur b { background: var(--on-lime); color: var(--lime); }

/* phones / under 900px: page transitions fade the page itself (no overlay), see PixelKit simpleTx */
html.pt-out body { opacity: 0; pointer-events: none; transition: opacity 180ms cubic-bezier(0.23, 1, 0.32, 1); }
html.pt-anim body { transition: opacity 250ms cubic-bezier(0.23, 1, 0.32, 1); }
@media (prefers-reduced-motion: reduce) { html.pt-out body, html.pt-anim body { transition: none; } }
/* arriving from a demo: cover until the pixel dissolve starts */
html.tx-cover, html.tx-cover body { background-color: var(--violet) !important; }
html.tx-cover body *:not(canvas) { visibility: hidden !important; } /* arriving at /#offer etc.: no uncovered page at any scroll position */
.gate.is-picked { pointer-events: none; }
html.tx-cover::after { content: ""; position: absolute; top: -150px; left: 0; right: 0; height: calc(100vh + 370px); height: calc(100lvh + 370px); z-index: var(--z-cover); background: var(--violet); }

@media (max-width: 899px) {
  .ads-grid { grid-template-columns: 1fr; }
  .ads-video { max-width: 340px; margin: 0 auto; }
  .svc { grid-template-columns: 1fr; }
  .svc-card { min-height: 300px; }
}
@media (max-width: 560px) {
  .path { gap: 2px; }
  .path a { padding: 0 10px 0 4px; font-size: 0.78rem; gap: 6px; }
  .path i { width: 6px; }
  .eye { --s: 34vw; }
}
@media (max-width: 560px) {
  .svc-desc { max-width: 100% !important; padding-right: 0; margin-bottom: 70px; }
  .svc-icons img { width: 76px; }
  .svc-icons { right: 16px; bottom: 16px; }
}

/* before/after: 2015 shoe shop vs a live STRIDE page */
.st { --bg: #C8F560; --fg: #141414; position: absolute; inset: 0; background: var(--bg); color: var(--fg); overflow: hidden; font-family: var(--font-display); transition: color 500ms var(--ease-out); }
.st-fill { position: absolute; inset: 0; clip-path: circle(0% at 90% 90%); }
.st-big { position: absolute; left: 50%; top: 52%; translate: -50% -50%; font-weight: 800; font-size: 34cqi; letter-spacing: -0.06em; line-height: 1; color: var(--fg); opacity: 0.07; white-space: nowrap; pointer-events: none; }
.st-nav { position: relative; display: flex; align-items: center; gap: clamp(10px, 2.6cqi, 26px); padding: clamp(14px, 2.6cqi, 24px) clamp(16px, 3.4cqi, 34px); font-weight: 600; font-size: clamp(11px, 1.3cqi, 14px); }
.st-nav b { font-weight: 800; font-size: clamp(14px, 2cqi, 20px); letter-spacing: -0.03em; margin-right: auto; }
.st-nav i { width: clamp(26px, 3.4cqi, 36px); aspect-ratio: 1; border-radius: 50%; box-shadow: 0 0 0 1.5px currentColor inset; }
.st-stage { position: absolute; left: 60%; top: 53%; width: 34cqi; aspect-ratio: 640 / 469; translate: -50% -50%; animation: st-float 3.2s ease-in-out infinite; }
.st-shoe { position: absolute; inset: 0; width: 100%; height: 100%; rotate: -12deg; opacity: 0; }
.st-shoe:first-child { opacity: 1; }
@keyframes st-float { 50% { translate: -50% calc(-50% - 12px); } }
.st-copy { position: absolute; right: clamp(16px, 3.4cqi, 34px); top: 18%; text-align: right; }
.st-chip { display: inline-block; padding: 5px 10px; border-radius: 999px; background: #141414; color: var(--bg); font-weight: 800; font-size: clamp(9px, 1cqi, 11px); letter-spacing: 0.14em; }
.st-h { font-weight: 800; font-size: clamp(2rem, 7.4cqi, 5.4rem); line-height: 0.88; letter-spacing: -0.05em; margin-top: 10px; }
.st-way { margin-top: 8px; font-weight: 600; font-size: clamp(12px, 1.5cqi, 16px); opacity: 0.8; }
.st-bottom { position: absolute; right: clamp(16px, 3.4cqi, 34px); bottom: 62px; display: flex; align-items: center; gap: 14px; }
.st-btn { padding: 12px 20px; border-radius: 999px; background: #141414; color: #fff; font-weight: 700; font-size: clamp(12px, 1.4cqi, 15px); animation: st-pulse 2.4s var(--ease-out) infinite; }
@keyframes st-pulse { 0%, 70%, 100% { box-shadow: 0 0 0 0 oklch(0.15 0 0 / 0.35); } 35% { box-shadow: 0 0 0 10px oklch(0.15 0 0 / 0); } }
.st-sw { display: flex; gap: 8px; }
.st-sw i { width: 18px; height: 18px; border-radius: 50%; box-shadow: 0 0 0 2px oklch(1 0 0 / 0.75) inset; transition: scale 300ms var(--ease-out); }
.st-sw i.is-on { scale: 1.3; box-shadow: 0 0 0 2px currentColor; }
@media (max-width: 700px) { .st-stage { left: 58%; width: 56cqi; top: 52%; } .st-h { font-size: 2.1rem; } .st-copy { top: 15%; } .st-nav span { display: none; } }
@media (prefers-reduced-motion: reduce) { .st-btn, .st-stage { animation: none; } }

/* "others": a tidy but forgettable stock template */
.ba-before { background: #fff; color: #333; font-family: Arial, "Helvetica Neue", sans-serif; font-size: 14px; }
.ob-bar { padding: 7px; background: #f1f1f1; color: #666; font-size: 12px; text-align: center; }
.ob-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 22px; padding: 16px 28px; border-bottom: 1px solid #e6e6e6; color: #555; font-size: 14px; }
.ob-nav b { color: #222; font-size: 20px; margin-right: 18px; }
.ob-cart { color: #222; margin-left: auto; }
.ob-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: center; padding: 34px 28px; }
.ob-h { font-size: clamp(20px, 2.6cqi, 30px); font-weight: 700; color: #222; line-height: 1.25; }
.ob-p { margin: 10px 0 18px; color: #777; line-height: 1.5; }
.ob-btn { display: inline-block; padding: 10px 20px; border-radius: 3px; background: #2f6fb5; color: #fff; font-size: 14px; }
.ob-img { background: #f3f3f3; border-radius: 4px; padding: 18px; }
.ob-img img { width: 100%; height: auto; }
.ob-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding: 0 28px 28px; }
.ob-row div { display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 10px; padding: 10px; border: 1px solid #e6e6e6; border-radius: 4px; }
.ob-row i { width: 44px; height: 44px; border-radius: 3px; background: #eee; }
.ob-row span { color: #444; } .ob-row b { color: #222; }
@media (max-width: 700px) { .ob-hero { grid-template-columns: 1fr; padding: 22px 18px; } .ob-img { display: none; } .ob-row { grid-template-columns: 1fr; padding: 0 18px 18px; } .ob-nav span { display: none; } .ob-nav .ob-cart { display: inline; } }

/* contact: how to write the first message */
.contact-how { list-style: none; counter-reset: h; padding: 0; margin-top: 28px; display: grid; gap: 10px; max-width: 760px; }
.contact-how li { position: relative; padding-left: 40px; color: var(--muted); line-height: 1.5; }
.contact-how li::before { counter-increment: h; content: counter(h); position: absolute; left: 0; top: -1px; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: var(--violet); color: var(--lime); font: 800 0.8rem var(--font-display); }
.contact-how b { color: var(--fg); font-weight: 700; }

/* ---------- phones & tablets ---------- */
/* never wider than the screen (iOS ignores overflow on <body> alone) */
html { overflow-x: hidden; }
@supports (overflow-x: clip) { html { overflow-x: clip; } }
a, button, summary, label { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
@media (hover: none) {
  /* visible press feedback */
  .cta:active, .tab:active, .flag-btn:active, .copy-btn:active, .contact-btn:active, a.browser:active, .faq summary:active { scale: 0.96; }
  .svc-card:active { transform: scale(0.97); }
  /* cheaper surfaces while scrolling */
  .topbar-inner { -webkit-backdrop-filter: none; backdrop-filter: none; background: oklch(0.16 0.006 300 / 0.94); }
  .hi-ico, .offer-emoji { filter: none; }
  .hi-stage { height: auto; min-height: 0; padding-block: 120px 100px; }
}
/* the 1-2-3 path bar covered buttons on small screens */
@media (hover: none), (max-width: 760px) { .path { display: none !important; } }
.contact-phone { margin-top: 18px; max-width: 60ch; color: var(--faint); font-size: 0.95rem; }
.contact-phone:empty { display: none; }
