/* ==========================================================================
   Rozen Design · studio site
   Deep navy + electric blue from the logo (a browser window with </> inside).
   Colours, fonts, base size and radius come from the admin panel (design_css()).
   ========================================================================== */

:root {
  --ink: #0f172a;
  --dark: #0b1120;
  --paper: #f8fafc;
  --brand: #2563eb;
  --brand2: #60a5fa;
  --brand3: #bfdbfe;
  --f-head: 'Rubik';
  --f-body: 'Heebo';
  --r: 18px;
  --base: 17px;
  --fs: 1;

  --text: color-mix(in oklab, var(--ink) 90%, #334155);
  --muted: color-mix(in oklab, var(--ink) 62%, var(--paper));
  --line: color-mix(in oklab, var(--ink) 10%, transparent);
  --line-2: color-mix(in oklab, var(--ink) 18%, transparent);
  --surface: #fff;
  --soft: color-mix(in oklab, var(--brand) 5%, var(--paper));
  --brand-soft: color-mix(in oklab, var(--brand) 12%, #fff);
  --brand-text: color-mix(in oklab, var(--brand) 85%, black);
  --deep: color-mix(in oklab, var(--dark) 82%, black);
  --on-dark: #e8eefb;
  --on-dark-muted: #9fb0cc;
  --dark-line: rgba(148, 163, 184, .16);
  --dark-card: rgba(255, 255, 255, .035);
  --ok: #16a34a;
  --bad: #dc2626;
  --shadow: 0 1px 2px rgba(15, 23, 42, .05), 0 12px 30px -16px rgba(15, 23, 42, .2);
  --shadow-lg: 0 2px 4px rgba(15, 23, 42, .06), 0 30px 70px -30px rgba(15, 23, 42, .35);
  --glow: 0 30px 80px -30px color-mix(in oklab, var(--brand) 70%, transparent);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --hdr-h: 78px;
  --mono: 'JetBrains Mono', ui-monospace, Consolas, monospace;
  --latin: 'Poppins', var(--f-body), sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 100px; font-size: calc(var(--base) * var(--fs)); }
body { margin: 0; font-family: var(--f-body), 'Heebo', system-ui, sans-serif; font-size: 1rem; line-height: 1.7; color: var(--text); background: var(--paper); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-family: var(--f-head), 'Heebo', sans-serif; font-weight: 700; line-height: 1.12; color: var(--ink); letter-spacing: -.01em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--brand); color: #fff; }
:focus-visible { outline: 3px solid var(--brand2); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }

.i { width: 1.2em; height: 1.2em; flex: none; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.i--s { width: 1em; height: 1em; }
.skip { position: fixed; top: -100px; right: 16px; z-index: 999; background: var(--brand); color: #fff; padding: 10px 18px; border-radius: 10px; font-weight: 700; }
.skip:focus { top: 16px; }

.wrap { width: min(1240px, 100% - 48px); margin-inline: auto; }
.wrap--read { width: min(780px, 100% - 40px); }
@media (max-width: 600px) { .wrap, .wrap--read { width: calc(100% - 32px); } }

/* ---------- brand ---------- */
.logo { width: 42px; height: auto; flex: none; color: currentColor; }
.wordmark { font-family: var(--latin); font-size: 1.3rem; line-height: 1; letter-spacing: -.01em; white-space: nowrap; }
.wordmark b { font-weight: 700; }
.wordmark span { font-weight: 300; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: #fff; }

/* ---------- type ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 16px; font-size: .92rem; font-weight: 600; letter-spacing: .02em; color: var(--brand-text); }
.eyebrow__dot { width: 8px; height: 8px; border-radius: 2px; background: var(--brand); box-shadow: 0 0 0 4px color-mix(in oklab, var(--brand) 18%, transparent); }
.eyebrow--light { color: var(--brand2); }
.eyebrow--light .eyebrow__dot { background: var(--brand2); box-shadow: 0 0 0 4px color-mix(in oklab, var(--brand2) 20%, transparent); }
.h2 { font-size: clamp(2rem, 4.2vw, 3.3rem); font-weight: 800; }
.h3 { font-size: clamp(1.4rem, 2.2vw, 1.8rem); margin: 1.6em 0 .7em; }
.hl { font-style: normal; background: linear-gradient(100deg, var(--brand2), var(--brand) 70%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 1.12rem; line-height: 1.75; color: var(--muted); }
.lead--lg { font-size: 1.22rem; color: var(--text); }

/* ---------- buttons ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 12px 24px; border-radius: 99px; font-weight: 600; font-size: 1rem; line-height: 1.2; border: 1.5px solid transparent; transition: transform .25s var(--ease), background .25s, box-shadow .25s, border-color .25s, color .25s; white-space: nowrap; isolation: isolate; }
.btn .i { transition: transform .3s var(--ease); }
.btn:hover .i:last-child { transform: translateX(-4px); }
.btn:active { transform: scale(.97); }
.btn--sm { min-height: 42px; padding: 8px 18px; font-size: .95rem; }
.btn--lg { min-height: 58px; padding: 14px 30px; font-size: 1.06rem; }
.btn--block { width: 100%; }
.btn--brand { background: var(--brand); color: #fff; box-shadow: 0 10px 26px -10px color-mix(in oklab, var(--brand) 80%, transparent); }
.btn--brand::after { content: ''; position: absolute; inset: 0; border-radius: inherit; z-index: -1; background: linear-gradient(100deg, var(--brand2), var(--brand)); opacity: 0; transition: opacity .3s; }
.btn--brand:hover { box-shadow: 0 16px 34px -12px color-mix(in oklab, var(--brand) 90%, transparent); }
.btn--brand:hover::after { opacity: 1; }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--brand); }
.btn--glass { background: rgba(255, 255, 255, .06); color: #fff; border-color: rgba(255, 255, 255, .2); backdrop-filter: blur(8px); }
.btn--glass:hover { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .35); }
.btn--line { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn--line:hover { border-color: var(--brand); color: var(--brand); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--brand-text); }
.link-arrow .i { transition: transform .3s var(--ease); }
.link-arrow:hover .i { transform: translateX(-5px); }
.link-ext { display: inline-flex; align-items: center; gap: 6px; font-size: .95rem; color: var(--muted); }
.link-ext:hover { color: var(--brand); }
.round-btn { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--line-2); color: var(--ink); transition: background .25s, color .25s, border-color .25s; }
.round-btn:hover { background: var(--brand); border-color: var(--brand); color: #fff; }
.spinner { display: inline-block; width: 20px; height: 20px; border: 2.5px solid currentColor; border-top-color: transparent; border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- sections ---------- */
.sec { position: relative; padding: clamp(80px, 11vw, 140px) 0; }
.sec--soft { background: var(--soft); }
.sec--dark { background: var(--dark); color: var(--on-dark); overflow: hidden; }
.sec--dark h1, .sec--dark h2, .sec--dark h3 { color: #fff; }
.sec--dark .lead { color: var(--on-dark-muted); }
.sec__head { margin-bottom: clamp(40px, 6vw, 64px); max-width: 760px; }
.sec__head--center { margin-inline: auto; text-align: center; }
.sec__head--center .eyebrow { justify-content: center; }
.sec__head--center .lead { margin: 18px auto 0; max-width: 620px; }
.sec__head--split { max-width: none; display: grid; grid-template-columns: 1.15fr 1fr; gap: 40px; align-items: end; }
.sec__head--split .lead { margin: 0 0 8px; }
.sec__foot { margin-top: 56px; display: flex; justify-content: center; }
@media (max-width: 860px) { .sec__head--split { grid-template-columns: 1fr; gap: 14px; } }

.glow { position: absolute; border-radius: 50%; filter: blur(80px); pointer-events: none; opacity: .55; }
.glow--a { width: 520px; height: 520px; background: color-mix(in oklab, var(--brand) 80%, transparent); top: -180px; left: -120px; }
.glow--b { width: 420px; height: 420px; background: color-mix(in oklab, var(--brand2) 50%, transparent); bottom: -200px; right: -100px; opacity: .35; }
.hero__grid { position: absolute; inset: 0; background-image: linear-gradient(var(--dark-line) 1px, transparent 1px), linear-gradient(90deg, var(--dark-line) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%); opacity: .55; }

/* reveal */
.js .reveal, .js [data-split] { opacity: 0; translate: 0 18px; transition: opacity .8s var(--ease), translate .8s var(--ease), transform .4s var(--ease), box-shadow .4s, border-color .4s; transition-delay: var(--d, 0s); }
.js .reveal.is-in, .js [data-split].is-in { opacity: 1; translate: none; }

/* ---------- announce ---------- */
.announce { position: relative; z-index: 210; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 9px 16px; background: var(--brand); color: #fff; font-size: .95rem; font-weight: 500; text-align: center; }

/* ---------- header ---------- */
.hdr { position: fixed; top: 0; inset-inline: 0; z-index: 200; color: #fff; transition: background .3s, box-shadow .3s, backdrop-filter .3s; }
.announce ~ .hdr { top: 40px; }
.hdr.is-scrolled { top: 0; background: color-mix(in oklab, var(--dark) 82%, transparent); backdrop-filter: blur(14px) saturate(1.4); box-shadow: 0 1px 0 var(--dark-line); }
.hdr__bar { width: min(1320px, 100% - 40px); margin-inline: auto; height: var(--hdr-h); display: flex; align-items: center; gap: 28px; }
.hdr .brand { margin-inline-end: auto; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav__link { display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 99px; font-weight: 500; font-size: .98rem; color: var(--on-dark); transition: background .2s, color .2s; }
.nav__link:hover, .nav__link.is-active, .nav__item.is-open .nav__link { background: rgba(255, 255, 255, .08); color: #fff; }
.nav__item { position: relative; }
.nav__item .i--s { transition: transform .3s; }
.nav__item.is-open .i--s { transform: rotate(180deg); }
.hdr__actions { display: flex; align-items: center; gap: 12px; margin-inline-start: auto; }
.hdr__phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .98rem; color: var(--on-dark); }
.hdr__phone .i { color: var(--brand2); }
.hdr__phone:hover { color: #fff; }

.mega { position: absolute; top: calc(100% + 14px); inset-inline-start: 50%; transform: translate(50%, 8px); width: min(820px, 92vw); opacity: 0; visibility: hidden; transition: opacity .25s, transform .3s var(--ease), visibility .25s; }
.nav__item.is-open .mega { opacity: 1; visibility: visible; transform: translate(50%, 0); }
.mega::before { content: ''; position: absolute; top: -16px; inset-inline: 0; height: 16px; }
.mega__inner { display: grid; grid-template-columns: 1fr 230px; gap: 12px; padding: 12px; border-radius: 22px; background: color-mix(in oklab, var(--dark) 94%, #fff); border: 1px solid var(--dark-line); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6); }
.mega__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.mega__link { display: flex; align-items: flex-start; gap: 12px; padding: 12px; border-radius: 14px; transition: background .2s; }
.mega__link:hover { background: rgba(255, 255, 255, .05); }
.mega__link strong { display: block; color: #fff; font-weight: 600; font-size: .98rem; }
.mega__link small { display: block; color: var(--on-dark-muted); font-size: .84rem; line-height: 1.45; margin-top: 2px; }
.mega__ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; flex: none; background: color-mix(in oklab, var(--brand) 22%, transparent); color: var(--brand2); }
.mega__cta { display: flex; flex-direction: column; gap: 6px; padding: 20px; border-radius: 16px; background: linear-gradient(160deg, var(--brand), color-mix(in oklab, var(--brand) 55%, var(--dark))); color: #fff; }
.mega__cta-ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .16); margin-bottom: 8px; }
.mega__cta strong { font-size: 1.05rem; line-height: 1.3; }
.mega__cta small { color: rgba(255, 255, 255, .8); font-size: .88rem; line-height: 1.5; }
.mega__cta-go { margin-top: auto; padding-top: 14px; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: .92rem; }

.burger { display: none; width: 46px; height: 46px; border-radius: 50%; background: rgba(255, 255, 255, .08); border: 1px solid var(--dark-line); position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 2px; border-radius: 2px; background: #fff; transition: transform .3s var(--ease), opacity .2s; }
.burger span:nth-child(1) { top: 16px; } .burger span:nth-child(2) { top: 22px; } .burger span:nth-child(3) { top: 28px; }
.menu-open .burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-open .burger span:nth-child(2) { opacity: 0; }
.menu-open .burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.menu { position: fixed; inset: 0; z-index: 190; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; padding: calc(var(--hdr-h) + 24px) 24px 32px; background: var(--dark); color: #fff; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; overflow-y: auto; }
.menu-open .menu { opacity: 1; visibility: visible; }
.menu-open { overflow: hidden; }
.menu__nav { display: grid; }
.menu__nav a { padding: 14px 4px; font-family: var(--f-head), sans-serif; font-size: 1.6rem; font-weight: 600; border-bottom: 1px solid var(--dark-line); transform: translateY(10px); opacity: 0; transition: transform .4s var(--ease), opacity .4s; }
.menu-open .menu__nav a { transform: none; opacity: 1; }
.menu-open .menu__nav a:nth-child(2) { transition-delay: .04s; } .menu-open .menu__nav a:nth-child(3) { transition-delay: .08s; } .menu-open .menu__nav a:nth-child(4) { transition-delay: .12s; } .menu-open .menu__nav a:nth-child(5) { transition-delay: .16s; } .menu-open .menu__nav a:nth-child(6) { transition-delay: .2s; } .menu-open .menu__nav a:nth-child(7) { transition-delay: .24s; }
.menu__foot { display: grid; gap: 10px; }
@media (max-width: 1180px) { .hdr__phone span { display: none; } }
@media (max-width: 1040px) { .nav, .hdr__phone { display: none; } .burger { display: block; } }
@media (max-width: 520px) { .hdr__cta { display: none; } .wordmark { font-size: 1.15rem; } .logo { width: 36px; } }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding: calc(var(--hdr-h) + 40px) 0 90px; background: var(--dark); color: var(--on-dark); overflow: clip; }
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.hero__wrap { position: relative; display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(30px, 5vw, 80px); align-items: center; }
.hero__title { font-size: clamp(2.6rem, 5.6vw, 4.6rem); font-weight: 800; line-height: 1.05; color: #fff; margin-bottom: 26px; }
.hero__line { display: block; }
.rotator { position: relative; display: inline-grid; vertical-align: top; }
.rotator__word { grid-area: 1 / 1; white-space: nowrap; background: linear-gradient(100deg, var(--brand3), var(--brand2) 40%, var(--brand)); -webkit-background-clip: text; background-clip: text; color: transparent; opacity: 0; transform: translateY(.35em); filter: blur(6px); transition: opacity .6s var(--ease), transform .6s var(--ease), filter .6s; }
.rotator__word.is-on { opacity: 1; transform: none; filter: none; }
.hero__text { font-size: 1.15rem; line-height: 1.8; color: var(--on-dark-muted); max-width: 560px; margin-bottom: 34px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__badges { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 38px; padding-top: 26px; border-top: 1px solid var(--dark-line); }
.hero__badges li { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; color: var(--on-dark); font-size: .98rem; }
.hero__badges li > span { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: color-mix(in oklab, var(--brand) 20%, transparent); color: var(--brand2); }
.hero__badges .i { width: 18px; height: 18px; }
.hero__visual { position: relative; min-width: 0; }
.hero__copy { min-width: 0; }
.hero__scroll { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); width: 28px; height: 44px; border-radius: 99px; border: 2px solid rgba(255, 255, 255, .25); }
.hero__scroll span { position: absolute; top: 8px; left: 50%; width: 4px; height: 8px; margin-left: -2px; border-radius: 4px; background: var(--brand2); animation: scrolly 2s var(--ease) infinite; }
@keyframes scrolly { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }
@media (max-width: 980px) {
  .hero { min-height: 0; padding-bottom: 70px; }
  .hero__wrap { grid-template-columns: 1fr; }
  .hero__visual { max-width: 620px; width: 100%; margin: 10px auto 0; }
  .hero__scroll { display: none; }
}

/* ---------- hero demo: a website builds itself ---------- */
.demo { --sk: rgba(148, 163, 184, .16); --t: .8s; --db: var(--brand); position: relative; font-size: clamp(7.5px, 1.1vw, 13.5px); padding: 3.2em 3.6em 4.2em; }
.demo__win { position: relative; border-radius: 1.4em; background: #0f1a33; border: 1px solid rgba(148, 163, 184, .2); box-shadow: 0 50px 100px -40px color-mix(in oklab, var(--brand) 75%, transparent), inset 0 1px 0 rgba(255, 255, 255, .05); overflow: hidden; display: flex; flex-direction: column; transform: perspective(1400px) rotateY(var(--ry, -6deg)) rotateX(var(--rx, 3deg)); transition: transform .6s var(--ease); }
.demo__bar { display: flex; align-items: center; gap: 1.2em; height: 3.2em; padding: 0 1.2em; background: rgba(255, 255, 255, .04); border-bottom: 1px solid rgba(255, 255, 255, .06); direction: ltr; }
.demo__dots { display: flex; gap: .5em; }
.demo__dots i { width: .85em; height: .85em; border-radius: 50%; background: var(--brand); }
.demo__dots i:nth-child(2) { background: var(--brand2); } .demo__dots i:nth-child(3) { background: var(--brand3); }
.demo__url { flex: 1; max-width: 26em; height: 2em; display: flex; align-items: center; gap: .6em; padding: 0 1em; border-radius: 99px; background: rgba(255, 255, 255, .06); color: #94a3b8; font: 1em/1 var(--mono); overflow: hidden; white-space: nowrap; }
.demo__url .i { width: 1em; height: 1em; color: #4ade80; }

.demo__page { position: relative; padding: 1.8em 2.2em 2.2em; background: #111c36; transition: background var(--t); min-height: 30em; }
.demo__nav { display: flex; align-items: center; justify-content: space-between; gap: 1em; height: 2.4em; }
.demo__brand { display: inline-flex; align-items: center; gap: .6em; font: 700 1.15em/1 var(--f-head), sans-serif; color: transparent; background: var(--sk); border-radius: .5em; padding-inline-end: .2em; transition: color var(--t), background var(--t); }
.demo__brand i { width: 1.8em; height: 1.8em; border-radius: .5em; background: var(--sk); transition: background var(--t); }
.demo__links { display: flex; gap: 1em; }
.demo__links i { width: 3.4em; height: .7em; border-radius: 99px; background: var(--sk); transition: background var(--t); }
.demo__navbtn { width: 6em; height: 2.2em; border-radius: 99px; background: var(--sk); transition: background var(--t); }
.demo__hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: 2em; margin-top: 2.4em; align-items: center; }
.demo__copy { display: flex; flex-direction: column; align-items: flex-start; gap: .9em; }
.demo__kicker { width: 40%; height: .8em; border-radius: 99px; background: var(--sk); transition: background var(--t); }
.demo__h { font: 800 2.5em/1.1 var(--f-head), sans-serif; color: transparent; background: var(--sk); border-radius: .25em; transition: color var(--t), background var(--t); }
.demo__line { width: 100%; height: .8em; border-radius: 99px; background: var(--sk); transition: background var(--t); }
.demo__line--s { width: 70%; }
.demo__btn { position: relative; margin-top: .5em; padding: .8em 1.8em; border-radius: 99px; font: 600 1.05em/1 var(--f-body), sans-serif; color: transparent; background: var(--sk); transition: color var(--t), background var(--t), transform .2s; }
.demo__btn::after { content: ''; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 0 color-mix(in oklab, var(--brand) 60%, transparent); }
.demo__img { position: relative; height: 15em; border-radius: 1.2em; background: var(--sk); overflow: hidden; transition: background var(--t); }
.demo__sun { position: absolute; top: 2.2em; left: 2.6em; width: 3.4em; height: 3.4em; border-radius: 50%; background: #fff; opacity: 0; transition: opacity var(--t); }
.demo__hill { position: absolute; bottom: -4em; right: -2em; width: 16em; height: 9em; border-radius: 50%; background: var(--db); opacity: 0; transition: opacity var(--t); }
.demo__hill--b { right: auto; left: -3em; bottom: -5em; width: 14em; background: var(--ink); }
.demo__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2em; margin-top: 2.2em; }
.demo__cards i { height: 6em; border-radius: 1em; background: var(--sk); padding: 1em; transition: background var(--t); }
.demo__cards b { display: block; width: 2em; height: 2em; border-radius: .6em; background: rgba(148, 163, 184, .22); transition: background var(--t); }

/* stage: blank -> wireframe (blocks pop in) */
.demo [class^="demo__"]:is(.demo__brand, .demo__links, .demo__navbtn, .demo__kicker, .demo__h, .demo__line, .demo__btn, .demo__img, .demo__cards) { opacity: 0; transform: translateY(.8em) scale(.97); transition: opacity .5s var(--ease), transform .6s var(--ease), color var(--t), background var(--t); }
.demo.is-wire :is(.demo__brand, .demo__links, .demo__navbtn, .demo__kicker, .demo__h, .demo__line, .demo__btn, .demo__img, .demo__cards) { opacity: 1; transform: none; }
.demo.is-wire .demo__links { transition-delay: .08s; } .demo.is-wire .demo__navbtn { transition-delay: .14s; }
.demo.is-wire .demo__kicker { transition-delay: .2s; } .demo.is-wire .demo__h { transition-delay: .26s; } .demo.is-wire .demo__line { transition-delay: .32s; }
.demo.is-wire .demo__line--s { transition-delay: .36s; } .demo.is-wire .demo__btn { transition-delay: .42s; } .demo.is-wire .demo__img { transition-delay: .3s; } .demo.is-wire .demo__cards { transition-delay: .5s; }
.demo.is-wire:not(.is-styled) :is(.demo__img, .demo__h, .demo__cards i) { background-image: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .07) 50%, transparent 70%); background-size: 200% 100%; animation: shimmer 1.4s linear infinite; }
@keyframes shimmer { from { background-position: 150% 0; } to { background-position: -50% 0; } }

/* stage: code is typed */
.demo__code { position: absolute; left: 1.4em; bottom: 1.4em; width: 68%; padding: 1.2em 1.4em; border-radius: 1em; background: rgba(2, 6, 23, .94); border: 1px solid color-mix(in oklab, var(--brand2) 35%, transparent); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6); direction: ltr; text-align: left; opacity: 0; transform: translateY(1.5em); transition: opacity .5s var(--ease), transform .5s var(--ease); pointer-events: none; }
.demo__code pre { margin: 0; font: .98em/1.65 var(--mono); color: #e2e8f0; white-space: pre; overflow: hidden; min-height: 9.9em; }
.demo__code [dir] { unicode-bidi: isolate; font-family: var(--f-body), sans-serif; }
.demo__code code::after { content: ''; display: inline-block; width: .55em; height: 1.1em; margin-left: 1px; vertical-align: -.15em; background: var(--brand2); animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.tk-tag { color: #60a5fa; } .tk-attr { color: #c4b5fd; } .tk-str { color: #86efac; } .tk-prop { color: #93c5fd; } .tk-val { color: #fda4af; } .tk-p { color: #94a3b8; }
.demo.is-code .demo__code { opacity: 1; transform: none; }
.demo.is-styled .demo__code { opacity: 0; transform: translateY(1.5em); transition-delay: .2s; }

/* stage: styles land */
.demo.is-styled .demo__page { background: #fff; }
.demo.is-styled .demo__brand { color: var(--ink); background: transparent; }
.demo.is-styled .demo__brand i { background: linear-gradient(135deg, color-mix(in oklab, var(--db) 60%, #fff), var(--db)); }
.demo.is-styled .demo__links i { background: #cbd5e1; }
.demo.is-styled .demo__navbtn { background: var(--ink); }
.demo.is-styled .demo__kicker { background: color-mix(in oklab, var(--db) 30%, #fff); }
.demo.is-styled .demo__h { color: var(--ink); background: transparent; }
.demo.is-styled .demo__line { background: #e2e8f0; }
.demo.is-styled .demo__btn { color: #fff; background: var(--db); }
.demo.is-styled .demo__img { background: linear-gradient(160deg, color-mix(in oklab, var(--db) 25%, #fff), color-mix(in oklab, var(--db) 65%, #fff)); }
.demo.is-styled .demo__sun, .demo.is-styled .demo__hill { opacity: 1; }
.demo.is-styled .demo__hill--b { opacity: .9; }
.demo.is-styled .demo__cards i { background: #f1f5f9; }
.demo.is-styled .demo__cards i:nth-child(1) b { background: var(--db); } .demo.is-styled .demo__cards i:nth-child(2) b { background: color-mix(in oklab, var(--db) 55%, #fff); } .demo.is-styled .demo__cards i:nth-child(3) b { background: var(--ink); }

.demo__progress { position: absolute; bottom: 0; left: 0; right: 0; height: 3px; background: rgba(255, 255, 255, .06); }
.demo__progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--brand2), var(--brand)); transition: width .4s; }

/* stage: live (phone, chips, a click) */
.demo__phone { position: absolute; left: .4em; bottom: 0; width: 23%; aspect-ratio: 9 / 18.5; padding: 2.2em .9em 1em; border-radius: 1.8em; background: #fff; border: .5em solid #1e293b; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .55); display: flex; flex-direction: column; gap: .7em; opacity: 0; transform: translateY(3em) rotate(-4deg); transition: opacity .6s var(--ease), transform .8s var(--ease); }
.demo__notch { position: absolute; top: .5em; left: 50%; width: 35%; height: .8em; margin-left: -17.5%; border-radius: 99px; background: #1e293b; }
.demo__p-h { font: 800 1.15em/1.1 var(--f-head), sans-serif; color: var(--ink); }
.demo__p-img { height: 6em; border-radius: .8em; background: linear-gradient(160deg, color-mix(in oklab, var(--db) 25%, #fff), color-mix(in oklab, var(--db) 65%, #fff)); }
.demo__p-line { height: .55em; border-radius: 99px; background: #e2e8f0; }
.demo__p-line--s { width: 65%; }
.demo__p-btn { height: 1.8em; border-radius: 99px; background: var(--db); margin-top: auto; }
.demo.is-live .demo__phone { opacity: 1; transform: rotate(-4deg); }

.demo__chip { position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: .55em; padding: .75em 1.15em; border-radius: 99px; font: 600 1.08em/1 var(--f-body), sans-serif; color: #fff; white-space: nowrap; background: rgba(15, 26, 51, .82); border: 1px solid rgba(148, 163, 184, .25); backdrop-filter: blur(10px); box-shadow: 0 20px 40px -18px rgba(0, 0, 0, .6); opacity: 0; transform: translateY(1em) scale(.9); transition: opacity .5s var(--ease), transform .6s var(--ease); }
.demo__chip .i { width: 1.25em; height: 1.25em; color: var(--brand2); }
.demo__chip--a { top: 1.2em; right: 0; }
.demo__chip--b { top: 46%; right: -1em; }
.demo__chip--c { bottom: 1.6em; right: 18%; }
.demo.is-live .demo__chip { opacity: 1; transform: none; }
.demo.is-live .demo__chip--b { transition-delay: .25s; } .demo.is-live .demo__chip--c { transition-delay: .5s; }
.demo.is-live .demo__chip { animation: bob 5s ease-in-out 1s infinite; }
.demo.is-live .demo__chip--b { animation-delay: 1.8s; } .demo.is-live .demo__chip--c { animation-delay: 2.6s; }
@keyframes bob { 50% { transform: translateY(-.5em); } }

.demo__cursor { position: absolute; z-index: 3; top: 96%; right: 8%; width: 2.6em; opacity: 0; transition: top 1.1s var(--ease), right 1.1s var(--ease), opacity .3s; }
.demo__cursor svg { width: 100%; fill: #fff; stroke: var(--ink); stroke-width: 1.4; stroke-linejoin: round; filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .4)); }
.demo.is-point .demo__cursor { opacity: 1; top: var(--cy, 52%); right: var(--cx, 60%); }
.demo.is-press .demo__cursor svg { transform: scale(.85); }
.demo.is-press .demo__btn { transform: scale(.95); }
.demo.is-press .demo__btn::after { animation: ping .7s var(--ease); }
@keyframes ping { from { box-shadow: 0 0 0 0 color-mix(in oklab, var(--brand) 60%, transparent); } to { box-shadow: 0 0 0 1.4em transparent; } }
@media (max-width: 560px) { .demo { padding: 2.6em 1.4em 3.6em; } .demo__chip--b { right: -.4em; } .demo__code { width: 72%; } }

/* ---------- services ---------- */
.sgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.scard { --mx: 50%; --my: 0%; position: relative; display: flex; flex-direction: column; gap: 12px; padding: 30px; border-radius: calc(var(--r) + 4px); background: var(--surface); border: 1px solid var(--line); overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s, border-color .4s; isolation: isolate; }
.scard__glow { position: absolute; inset: 0; z-index: -1; background: radial-gradient(420px circle at var(--mx) var(--my), color-mix(in oklab, var(--brand) 10%, transparent), transparent 60%); opacity: 0; transition: opacity .4s; }
.scard:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: color-mix(in oklab, var(--brand) 35%, transparent); }
.scard:hover .scard__glow { opacity: 1; }
.scard__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.scard__ico { width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; background: linear-gradient(140deg, var(--brand2), var(--brand)); color: #fff; box-shadow: 0 14px 28px -12px color-mix(in oklab, var(--brand) 80%, transparent); transition: transform .4s var(--ease); }
.scard__ico .i { width: 26px; height: 26px; }
.scard:hover .scard__ico { transform: rotate(-6deg) scale(1.05); }
.scard__num { font: 500 .95rem/1 var(--mono); color: color-mix(in oklab, var(--ink) 30%, transparent); }
.scard__title { font-size: 1.4rem; }
.scard__text { color: var(--muted); margin: 0; }
.scard__list { display: grid; gap: 6px; margin: 4px 0 6px; font-size: .95rem; }
.scard__list li { display: flex; align-items: flex-start; gap: 8px; }
.scard__list .i { color: var(--brand); margin-top: .35em; stroke-width: 2.4; }
.scard__more { margin-top: auto; padding-top: 8px; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--brand-text); }
.scard__more .i { transition: transform .3s var(--ease); }
.scard:hover .scard__more .i { transform: translateX(-5px); }
@media (max-width: 1000px) { .sgrid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .sgrid { grid-template-columns: 1fr; } .scard { padding: 24px; } }

/* ---------- portfolio ---------- */
.portfolio__glow { position: absolute; width: 900px; height: 600px; top: 10%; left: 50%; transform: translateX(-50%); background: radial-gradient(closest-side, color-mix(in oklab, var(--brand) 30%, transparent), transparent); pointer-events: none; }
.works { position: relative; display: grid; gap: clamp(60px, 9vw, 110px); }
.work { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.work:nth-child(even) { grid-template-columns: 1fr 1.35fr; }
.work:nth-child(even) .work__stage { order: 2; }
.work.is-gone { display: none; }
.work__stage { --rx: 0deg; --ry: 0deg; position: relative; display: block; padding: 7% 7% 9%; border-radius: 28px; perspective: 1400px; }
.work__bg { position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(120% 90% at 30% 10%, color-mix(in oklab, var(--pc) 85%, #fff 10%), color-mix(in oklab, var(--pc) 45%, var(--dark)) 70%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12); overflow: hidden; }
.work__bg::after { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px); background-size: 40px 40px; -webkit-mask-image: linear-gradient(transparent, #000); mask-image: linear-gradient(transparent, #000); }
.work__browser { position: relative; display: block; border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .65); transform: rotateX(var(--rx)) rotateY(var(--ry)); transition: transform .5s var(--ease); }
.work__bar { display: flex; align-items: center; gap: 12px; height: 34px; padding: 0 14px; background: #eef2f7; border-bottom: 1px solid #e2e8f0; direction: ltr; }
.work__dots { display: flex; gap: 6px; }
.work__dots i { width: 9px; height: 9px; border-radius: 50%; background: #cbd5e1; }
.work__dots i:first-child { background: #f87171; } .work__dots i:nth-child(2) { background: #fbbf24; } .work__dots i:nth-child(3) { background: #4ade80; }
.work__url { flex: 1; max-width: 260px; margin-inline: auto; height: 22px; display: grid; place-items: center; padding: 0 10px; border-radius: 99px; background: #fff; font: 500 .74rem/1 var(--mono); color: #64748b; overflow: hidden; white-space: nowrap; }
.work__shot { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #e2e8f0; }
.work__shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 1.2s var(--ease); }
.work__stage:hover .work__shot img { transform: scale(1.03); }
.work__phone { position: absolute; left: 3%; bottom: 4%; width: 22%; aspect-ratio: 390 / 844; border-radius: 22px; overflow: hidden; border: 5px solid #0f172a; background: #0f172a; box-shadow: 0 30px 50px -20px rgba(0, 0, 0, .7); transform: translateZ(40px) rotate(-3deg); transition: transform .6s var(--ease); }
.work__phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.work__stage:hover .work__phone { transform: translateY(-8px) rotate(-1deg); }
.work__client { margin: 0 0 10px; font-size: .95rem; font-weight: 600; color: var(--brand2); }
.work__title { font-size: clamp(1.9rem, 3.4vw, 2.7rem); font-weight: 800; margin-bottom: 14px; }
.work__title a:hover { color: var(--brand2); }
.work__text { color: var(--on-dark-muted); font-size: 1.08rem; }
.work__links { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 22px; }
.sec--dark .link-arrow { color: #fff; }
.sec--dark .link-ext { color: var(--on-dark-muted); }
.sec--dark .link-ext:hover { color: #fff; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.tags li { padding: 5px 12px; border-radius: 99px; font-size: .86rem; font-weight: 500; background: rgba(255, 255, 255, .06); border: 1px solid var(--dark-line); color: var(--on-dark); }
@media (max-width: 900px) { .work, .work:nth-child(even) { grid-template-columns: 1fr; } .work:nth-child(even) .work__stage { order: 0; } }

.tabs { position: relative; display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 5px; margin-bottom: 50px; border-radius: 99px; background: var(--surface); border: 1px solid var(--line); }
.tabs button { position: relative; z-index: 1; padding: 10px 20px; border-radius: 99px; font-weight: 600; font-size: .96rem; color: var(--muted); transition: color .3s; }
.tabs button.is-on { color: #fff; }
.tabs sup { font-size: .72em; opacity: .7; }
.tabs__pill { position: absolute; top: 5px; bottom: 5px; border-radius: 99px; background: var(--brand); transition: left .4s var(--ease), width .4s var(--ease); }
.tabs--dark { background: rgba(255, 255, 255, .04); border-color: var(--dark-line); }
.tabs--dark button { color: var(--on-dark-muted); }

/* ---------- about / why us ---------- */
.about__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.about__copy .prose { margin: 24px 0 30px; color: var(--muted); }
.values { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.value { --mx: 50%; --my: 0%; position: relative; padding: 28px; border-radius: calc(var(--r) + 4px); background: var(--surface); border: 1px solid var(--line); overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s; }
.value::before { content: ''; position: absolute; inset: 0; background: radial-gradient(320px circle at var(--mx) var(--my), color-mix(in oklab, var(--brand) 9%, transparent), transparent 60%); opacity: 0; transition: opacity .4s; }
.value:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.value:hover::before { opacity: 1; }
.value:nth-child(even) { transform: translateY(28px); }
.value:nth-child(even):hover { transform: translateY(24px); }
.value__ico { position: relative; width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px; background: var(--brand-soft); color: var(--brand); }
.value h3 { position: relative; font-size: 1.25rem; margin-bottom: 8px; }
.value p { position: relative; margin: 0; color: var(--muted); font-size: .98rem; }
@media (max-width: 960px) { .about__grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .values { grid-template-columns: 1fr; } .value:nth-child(even), .value:nth-child(even):hover { transform: none; } }

/* ---------- process ---------- */
.steps { position: relative; display: grid; grid-template-columns: repeat(var(--n), 1fr); gap: 24px; }
.steps__line { position: absolute; top: 34px; inset-inline: calc(100% / var(--n) / 2); height: 2px; background: var(--line-2); }
.steps__line span { position: absolute; inset: 0; background: linear-gradient(270deg, var(--brand2), var(--brand)); transform: scaleX(0); transform-origin: right; }
.step { position: relative; text-align: center; padding: 0 6px; }
.step__ico { position: relative; width: 70px; height: 70px; margin: 0 auto 22px; border-radius: 22px; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--line); color: var(--brand); box-shadow: var(--shadow); }
.step__ico .i { width: 28px; height: 28px; }
.step__num { position: absolute; top: -9px; inset-inline-end: -9px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: #fff; font: 600 .8rem/1 var(--latin); box-shadow: 0 0 0 4px var(--soft); }
.step h3 { font-size: 1.2rem; margin-bottom: 8px; }
.step p { margin: 0; color: var(--muted); font-size: .96rem; }
@media (max-width: 960px) {
  .steps { grid-template-columns: 1fr; gap: 0; max-width: 560px; margin-inline: auto; }
  .steps__line { top: 0; bottom: 0; inset-inline: auto; inset-inline-start: 34px; width: 2px; height: auto; }
  .steps__line span { transform-origin: top; }
  .step { display: grid; grid-template-columns: 70px 1fr; column-gap: 20px; text-align: start; padding: 0 0 34px; }
  .step__ico { grid-row: span 2; margin: 0; }
  .step h3 { align-self: end; }
}

/* ---------- packages ---------- */
.pkgs { display: grid; grid-template-columns: repeat(var(--n), 1fr); gap: 20px; align-items: stretch; }
.pkg { position: relative; display: flex; flex-direction: column; padding: 34px 30px; border-radius: calc(var(--r) + 6px); background: var(--surface); border: 1px solid var(--line); }
.pkg--hot { background: var(--dark); color: var(--on-dark); border-color: transparent; box-shadow: var(--glow); }
.pkg--hot::before { content: ''; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: linear-gradient(160deg, var(--brand2), transparent 40%, var(--brand)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.pkg__badge { position: absolute; top: -14px; inset-inline-start: 30px; display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 99px; background: var(--brand); color: #fff; font-size: .85rem; font-weight: 600; }
.pkg__name { font-size: 1.5rem; }
.pkg--hot .pkg__name { color: #fff; }
.pkg__tag { margin: 6px 0 22px; color: var(--muted); }
.pkg--hot .pkg__tag { color: var(--on-dark-muted); }
.pkg__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px; margin: 0 0 24px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.pkg--hot .pkg__price { border-color: var(--dark-line); }
.pkg__price strong { font: 800 2.2rem/1.1 var(--f-head), sans-serif; color: var(--ink); }
.pkg--hot .pkg__price strong { color: #fff; }
.pkg__price .pkg__quote { font-size: 1.45rem; }
.pkg__price small { color: var(--muted); font-size: .92rem; }
.pkg__list { display: grid; gap: 12px; margin-bottom: 30px; }
.pkg__list li { display: flex; align-items: flex-start; gap: 10px; }
.pkg__list span { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; flex: none; margin-top: 2px; background: var(--brand-soft); color: var(--brand); }
.pkg--hot .pkg__list span { background: color-mix(in oklab, var(--brand) 30%, transparent); color: var(--brand3); }
.pkg__list .i { width: 13px; height: 13px; stroke-width: 3; }
.pkg .btn { margin-top: auto; }
.pkg--hot .btn--line { color: #fff; border-color: rgba(255, 255, 255, .3); }
.pkgs__note { margin: 26px 0 0; text-align: center; color: var(--muted); font-size: .95rem; }
@media (max-width: 960px) { .pkgs { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; } }

/* ---------- testimonials ---------- */
.rating { display: inline-flex; align-items: center; gap: 14px; justify-self: end; padding: 14px 22px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.rating strong { font: 800 2.4rem/1 var(--f-head), sans-serif; color: var(--ink); }
.rating small { display: block; color: var(--muted); font-size: .9rem; }
.stars { display: inline-flex; gap: 2px; }
.star { width: 18px; height: 18px; fill: #e2e8f0; stroke: none; }
.star.is-on { fill: #f5b301; }
.carousel { overflow: hidden; padding: 4px 0 30px; cursor: grab; touch-action: pan-y; }
.carousel.is-drag { cursor: grabbing; }
.carousel__track { display: flex; gap: 18px; padding-inline: max(24px, calc((100vw - 1240px) / 2)); width: max-content; }
.tcard { width: min(440px, 82vw); margin: 0; padding: 30px; border-radius: calc(var(--r) + 4px); background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; user-select: none; }
.tcard__q { color: var(--brand); }
.tcard__q .i { width: 34px; height: 34px; fill: currentColor; stroke: none; opacity: .25; }
.tcard blockquote { margin: 0; font-size: 1.06rem; line-height: 1.75; color: var(--text); flex: 1; }
.tcard figcaption { display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line); }
.tcard figcaption strong { display: block; color: var(--ink); }
.tcard figcaption small { color: var(--muted); }
.tcard__avatar { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; flex: none; overflow: hidden; background: var(--brand-soft); color: var(--brand); font-weight: 700; }
.tcard__avatar img { width: 100%; height: 100%; object-fit: cover; }
.tcard__src { margin-inline-start: auto; font: 600 .78rem/1 var(--latin); color: var(--muted); padding: 5px 10px; border-radius: 99px; border: 1px solid var(--line); }
.carousel__nav { display: flex; align-items: center; gap: 16px; }
.testi__cta { display: flex; justify-content: center; margin-bottom: 26px; }
.testi__cta .i { color: #f5b301; fill: #f5b301; stroke: none; }
.carousel__bar { position: relative; flex: 1; height: 3px; border-radius: 3px; background: var(--line-2); overflow: hidden; }
.carousel__bar span { position: absolute; top: 0; bottom: 0; right: 0; width: 30%; background: var(--brand); border-radius: inherit; }

/* ---------- faq ---------- */
.faq__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(30px, 6vw, 80px); align-items: start; }
.faq__head { position: sticky; top: calc(var(--hdr-h) + 30px); }
.faq__head .lead { margin: 18px 0 26px; }
.acc { display: grid; gap: 10px; }
.acc__item { border-radius: calc(var(--r) - 2px); background: var(--surface); border: 1px solid var(--line); overflow: hidden; transition: border-color .3s, box-shadow .3s; }
.acc__item[open] { border-color: color-mix(in oklab, var(--brand) 45%, transparent); box-shadow: var(--shadow); }
.acc__item summary { display: flex; align-items: center; gap: 14px; padding: 20px 22px; cursor: pointer; list-style: none; font-weight: 600; font-size: 1.06rem; color: var(--ink); }
.acc__item summary::-webkit-details-marker { display: none; }
.acc__n { font: 500 .85rem/1 var(--mono); color: var(--brand); }
.acc__q { flex: 1; }
.acc__ico { position: relative; width: 32px; height: 32px; border-radius: 50%; flex: none; background: var(--soft); transition: background .3s; }
.acc__ico::before, .acc__ico::after { content: ''; position: absolute; top: 50%; left: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; background: var(--ink); border-radius: 2px; transition: transform .3s; }
.acc__ico::after { transform: rotate(90deg); }
.acc__item[open] .acc__ico { background: var(--brand); }
.acc__item[open] .acc__ico::before, .acc__item[open] .acc__ico::after { background: #fff; }
.acc__item[open] .acc__ico::after { transform: rotate(0); }
.acc__a { padding: 0 22px 22px; padding-inline-start: 56px; color: var(--muted); }
.acc__a p { margin: 0; }
@media (max-width: 900px) { .faq__grid { grid-template-columns: 1fr; } .faq__head { position: static; } .acc__a { padding-inline-start: 22px; } }

/* ---------- blog ---------- */
.agrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.acard { display: flex; flex-direction: column; border-radius: calc(var(--r) + 4px); background: var(--surface); border: 1px solid var(--line); overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s; }
.acard:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.acard__img { aspect-ratio: 16 / 9; display: grid; place-items: center; background: linear-gradient(140deg, var(--brand-soft), var(--soft)); color: var(--brand); overflow: hidden; }
.acard__img .i { width: 40px; height: 40px; opacity: .6; }
.acard__img img { width: 100%; height: 100%; object-fit: cover; }
.acard__body { display: flex; flex-direction: column; gap: 10px; padding: 22px 24px 26px; flex: 1; }
.acard__meta { font-size: .86rem; color: var(--muted); }
.acard__meta b { color: var(--brand-text); font-weight: 600; }
.acard__title { font: 700 1.22rem/1.35 var(--f-head), sans-serif; color: var(--ink); }
.acard__text { color: var(--muted); font-size: .97rem; flex: 1; }
.chips-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 34px; }
.chips-nav a { padding: 8px 16px; border-radius: 99px; border: 1px solid var(--line-2); font-weight: 500; }
.chips-nav a.is-on, .chips-nav a:hover { background: var(--brand); border-color: var(--brand); color: #fff; }
.empty { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 60px 20px; text-align: center; color: var(--muted); border: 1.5px dashed var(--line-2); border-radius: var(--r); }
.empty .i { width: 40px; height: 40px; color: var(--brand); }
.empty a { color: var(--brand-text); text-decoration: underline; }
@media (max-width: 960px) { .agrid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .agrid { grid-template-columns: 1fr; } }

/* ---------- contact ---------- */
.contact__bg { position: absolute; inset: 0; pointer-events: none; }
.contact__bg .glow--a { top: auto; bottom: -220px; left: -160px; }
.contact__bg .glow--b { top: -200px; bottom: auto; right: -140px; }
.contact__grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.contact__copy .lead { margin: 20px 0 26px; }
.checks { display: grid; gap: 12px; margin-bottom: 34px; }
.checks li { display: flex; align-items: center; gap: 12px; font-weight: 500; color: var(--on-dark); }
.checks li > span { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; flex: none; background: color-mix(in oklab, var(--brand) 28%, transparent); color: var(--brand3); }
.checks .i { width: 15px; height: 15px; stroke-width: 2.6; }
.contact__direct { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 10px; }
.direct { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 16px; background: var(--dark-card); border: 1px solid var(--dark-line); transition: background .25s, border-color .25s; }
.direct:hover { background: rgba(255, 255, 255, .07); border-color: rgba(148, 163, 184, .35); }
.direct small { display: block; color: var(--on-dark-muted); font-size: .84rem; }
.direct strong { display: block; color: #fff; font-weight: 600; }
.direct__ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; flex: none; background: color-mix(in oklab, var(--brand) 25%, transparent); color: var(--brand2); }
.direct__ico--wa { background: #1fa855; color: #fff; }
@media (max-width: 960px) { .contact__grid { grid-template-columns: 1fr; } }

/* ---------- lead form ---------- */
.lform { position: relative; padding: clamp(22px, 3.5vw, 34px); border-radius: calc(var(--r) + 6px); background: var(--surface); color: var(--text); box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .55); }
.lform__body { display: grid; gap: 14px; }
.lform__head { display: flex; align-items: center; gap: 14px; margin-bottom: 4px; }
.lform__head strong { display: block; font: 700 1.4rem/1.25 var(--f-head), sans-serif; color: var(--ink); }
.lform__head small { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: .92rem; }
.lform__avatar { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; flex: none; background: var(--dark); color: #fff; }
.lform__avatar .logo { width: 34px; }
.lform__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fl { position: relative; }
.fl__in { width: 100%; padding: 26px 16px 10px; border-radius: 12px; background: #fff; border: 1.5px solid var(--line-2); outline: none; font-size: 1.02rem; color: var(--ink); transition: border-color .2s, box-shadow .2s; }
textarea.fl__in { resize: vertical; min-height: 96px; }
select.fl__in { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f172a' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-size: 18px; background-position: left 14px center; padding-left: 42px; }
.fl label { position: absolute; top: 17px; inset-inline-start: 17px; color: var(--muted); pointer-events: none; transition: top .2s, font-size .2s, color .2s; font-size: 1rem; }
.fl__in:focus { border-color: var(--brand); box-shadow: 0 0 0 4px color-mix(in oklab, var(--brand) 15%, transparent); }
.fl__in:focus + label, .fl__in:not(:placeholder-shown) + label, .fl--select label { top: 6px; font-size: .78rem; color: var(--brand-text); font-weight: 600; }
.fl.is-bad .fl__in { border-color: var(--bad); }
.field__error { margin: 6px 4px 0; font-size: .9rem; color: var(--bad); }
.consent { position: relative; display: flex; align-items: flex-start; gap: 10px; font-size: .93rem; color: var(--text); cursor: pointer; line-height: 1.5; }
.consent a { text-decoration: underline; color: var(--ink); }
.consent input { position: absolute; opacity: 0; width: 24px; height: 24px; margin: 0; }
.consent__box { width: 24px; height: 24px; border-radius: 7px; border: 1.5px solid var(--line-2); display: grid; place-items: center; flex: none; background: #fff; margin-top: 1px; transition: background .2s, border-color .2s; }
.consent__box .i { width: 15px; height: 15px; stroke-width: 3; opacity: 0; }
.consent input:checked + .consent__box { background: var(--brand); border-color: var(--brand); color: #fff; }
.consent input:checked + .consent__box .i { opacity: 1; }
.consent input:focus-visible + .consent__box { outline: 3px solid var(--brand2); outline-offset: 2px; }
.consent.is-bad .consent__box { border-color: var(--bad); }
.lform__err { margin: 0; padding: 10px 14px; border-radius: 10px; background: #fef2f2; color: var(--bad); font-size: .95rem; }
.lform__submit { position: relative; }
.lform__submit .spinner { position: absolute; opacity: 0; }
.lform.is-sending .lform__submit > span, .lform.is-sending .lform__submit > .i { opacity: 0; }
.lform.is-sending .lform__submit .spinner { opacity: 1; }
.lform__privacy { display: flex; align-items: center; gap: 6px; justify-content: center; margin: 0; font-size: .86rem; color: var(--muted); text-align: center; }
.lform__done { text-align: center; padding: 26px 8px; }
.lform__done h3 { font-size: 1.9rem; margin: 12px 0 8px; }
.lform__done p { color: var(--muted); margin-bottom: 20px; }
.lform__done .btn--glass { background: #1fa855; border-color: #1fa855; color: #fff; }
.lform__check { width: 84px; height: 84px; margin: 0 auto; }
.lform__check circle { fill: none; stroke: var(--brand); stroke-width: 3; stroke-dasharray: 230; stroke-dashoffset: 230; animation: draw .8s var(--ease) forwards; }
.lform__check path { fill: none; stroke: var(--ink); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 60; stroke-dashoffset: 60; animation: draw .5s .5s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.hp { position: absolute; top: 0; inset-inline-start: 0; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); opacity: 0; }
@media (max-width: 560px) { .lform__row { grid-template-columns: 1fr; } }

/* ---------- modal ---------- */
.modal { padding: 0; border: 0; background: transparent; max-width: min(560px, 100vw - 24px); width: 100%; max-height: calc(100dvh - 24px); overflow: visible; }
.modal::backdrop { background: rgba(11, 17, 32, .7); backdrop-filter: blur(4px); }
.modal[open] { animation: pop .3s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.98); } }
@keyframes fade-in { from { opacity: 0; } }
.modal__card { position: relative; max-height: calc(100dvh - 24px); overflow-x: hidden; overflow-y: auto; border-radius: calc(var(--r) + 6px); }
.modal__close { position: absolute; top: 12px; inset-inline-end: 12px; z-index: 3; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--soft); color: var(--ink); }
.modal__close:hover { background: var(--brand-soft); }
.modal .lform { box-shadow: none; }

/* ---------- page hero ---------- */
.phero, .case-hero { position: relative; padding: calc(var(--hdr-h) + clamp(50px, 8vw, 100px)) 0 clamp(60px, 8vw, 100px); background: var(--dark); color: var(--on-dark); overflow: hidden; }
.phero__bg, .case-hero__bg { position: absolute; inset: 0; pointer-events: none; }
.phero__wrap { position: relative; }
.phero__wrap > * { max-width: 900px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; font-size: .9rem; color: var(--on-dark-muted); }
.crumbs a:hover { color: #fff; }
.crumbs span { opacity: .5; }
.phero__ico { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; margin-bottom: 22px; background: linear-gradient(140deg, var(--brand2), var(--brand)); color: #fff; box-shadow: var(--glow); }
.phero__ico .i { width: 30px; height: 30px; }
.phero__title { font-size: clamp(2.3rem, 5vw, 4rem); font-weight: 800; color: #fff; }
.phero__sub { margin: 20px 0 0; font-size: 1.15rem; line-height: 1.75; color: var(--on-dark-muted); max-width: 680px; }
.phero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* ---------- service page ---------- */
.svc { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(30px, 6vw, 80px); align-items: start; }
.svc__main { min-width: 0; }
.svc__main > .lead--lg:first-child { margin-bottom: 10px; }
.svc__side { position: sticky; top: calc(var(--hdr-h) + 24px); display: grid; gap: 16px; }
.incl { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 20px; }
.incl li { display: flex; align-items: flex-start; gap: 12px; padding: 16px 18px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); font-weight: 500; }
.incl li > span { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; flex: none; background: var(--brand); color: #fff; }
.incl .i { width: 14px; height: 14px; stroke-width: 3; }
.incl--tight { grid-template-columns: 1fr; gap: 8px; margin: 0 0 22px; }
.incl--tight li { padding: 0; border: 0; background: none; }
.side-card { padding: 26px; border-radius: calc(var(--r) + 4px); background: var(--surface); border: 1px solid var(--line); }
.side-card__h { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; font: 700 1.15rem/1.3 var(--f-head), sans-serif; color: var(--ink); }
.side-card__h .i { color: var(--brand); }
.side-card ul:not(.incl) { display: grid; gap: 10px; }
.side-card ul:not(.incl) li { position: relative; padding-inline-start: 18px; color: var(--text); }
.side-card ul:not(.incl) li::before { content: ''; position: absolute; inset-inline-start: 0; top: .7em; width: 7px; height: 7px; border-radius: 2px; background: var(--brand); }
.side-card--dark { background: var(--dark); color: var(--on-dark); border-color: transparent; box-shadow: var(--glow); display: grid; gap: 12px; }
.side-card--dark .side-card__h { color: #fff; margin: 0; }
.side-card--dark .side-card__h .i { color: var(--brand2); }
.side-card--dark p { color: var(--on-dark-muted); margin: 0 0 6px; }
@media (max-width: 1000px) { .svc { grid-template-columns: minmax(0, 1fr); } .svc__side { position: static; } }
@media (max-width: 640px) { .incl { grid-template-columns: 1fr; } }

/* ---------- project page ---------- */
.case-hero { padding-bottom: 0; }
.case-hero__bg::before { content: ''; position: absolute; inset: 0; background: radial-gradient(70% 60% at 50% 100%, color-mix(in oklab, var(--pc) 70%, transparent), transparent 70%); }
.case-hero .wrap { position: relative; }
.case-hero__head { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: end; margin-bottom: 60px; }
.case-facts { display: grid; gap: 14px; margin: 0; padding: 22px 24px; border-radius: 18px; background: var(--dark-card); border: 1px solid var(--dark-line); }
.case-facts div { display: grid; grid-template-columns: 80px 1fr; gap: 10px; }
.case-facts dt { color: var(--on-dark-muted); font-size: .9rem; }
.case-facts dd { margin: 0; color: #fff; font-weight: 500; }
.case-facts a { display: inline-flex; align-items: center; gap: 6px; }
.case-facts a:hover { color: var(--brand2); }
.case-stage { position: relative; max-width: 1040px; margin: 0 auto; transform: translateY(1px); }
.case-stage .work__browser { border-radius: 16px 16px 0 0; }
.case-stage .work__phone { left: -2%; bottom: 8%; width: 18%; }
.case { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(30px, 6vw, 80px); align-items: start; }
.case__story { display: grid; gap: 40px; }
.case__block .lead--lg { margin: 0; }
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 60px; }
.gallery figure { margin: 0; }
.gallery img { border-radius: var(--r); box-shadow: var(--shadow); }
.gallery figcaption { margin-top: 8px; color: var(--muted); font-size: .92rem; }
@media (max-width: 960px) { .case-hero__head, .case { grid-template-columns: 1fr; } .gallery { grid-template-columns: 1fr; } }

/* ---------- about page / article ---------- */
.about-page { display: grid; grid-template-columns: 380px 1fr; gap: clamp(30px, 6vw, 80px); align-items: start; }
.about-page__img { margin: 0; position: sticky; top: calc(var(--hdr-h) + 24px); }
.about-page__img img { border-radius: calc(var(--r) + 6px); box-shadow: var(--shadow-lg); }
@media (max-width: 900px) { .about-page { grid-template-columns: 1fr; } .about-page__img { position: static; max-width: 420px; } }
.article__cover { margin: 0 0 40px; }
.article__cover img { border-radius: calc(var(--r) + 4px); }
.article__cta { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-top: 50px; padding: 26px 28px; border-radius: calc(var(--r) + 4px); background: var(--dark); color: #fff; box-shadow: var(--glow); }
.article__cta strong { font: 700 1.25rem/1.3 var(--f-head), sans-serif; }

/* ---------- prose ---------- */
.prose { font-size: 1.05rem; line-height: 1.85; }
.prose--lg { font-size: 1.1rem; }
.prose > * + * { margin-top: 1.05em; }
.prose p { margin: 0; }
.prose h2 { font-size: clamp(1.5rem, 2.6vw, 1.95rem); margin-top: 1.7em; }
.prose h3 { font-size: 1.35rem; margin-top: 1.4em; }
.prose ul, .prose ol { display: grid; gap: .45em; }
.prose ul li { position: relative; padding-inline-start: 26px; }
.prose ul li::before { content: ''; position: absolute; inset-inline-start: 4px; top: .72em; width: 8px; height: 8px; border-radius: 2px; background: var(--brand); }
.prose ol { counter-reset: n; }
.prose ol li { position: relative; padding-inline-start: 40px; counter-increment: n; }
.prose ol li::before { content: counter(n); position: absolute; inset-inline-start: 0; top: .2em; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: #fff; font-size: .85rem; font-weight: 700; }
.prose blockquote { margin: 1.4em 0; padding: 20px 24px; border-radius: 12px; background: var(--brand-soft); border-inline-start: 4px solid var(--brand); font: 600 1.25rem/1.5 var(--f-head), sans-serif; color: var(--ink); }
.prose a { color: var(--brand-text); text-decoration: underline; text-underline-offset: 3px; }
.prose img { border-radius: var(--r); }

/* ---------- footer ---------- */
.ftr { position: relative; padding: clamp(70px, 10vw, 120px) 0 30px; background: var(--deep); color: var(--on-dark-muted); overflow: hidden; }
.ftr__glow { position: absolute; width: 900px; height: 500px; top: -260px; left: 50%; transform: translateX(-50%); background: radial-gradient(closest-side, color-mix(in oklab, var(--brand) 35%, transparent), transparent); pointer-events: none; }
.ftr .wrap { position: relative; }
.ftr__top { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 30px; padding-bottom: 60px; margin-bottom: 60px; border-bottom: 1px solid var(--dark-line); }
.ftr__title { font-size: clamp(2.4rem, 6vw, 4.4rem); font-weight: 800; color: #fff; }
.ftr__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.ftr__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; }
.ftr__about p { margin: 18px 0 20px; max-width: 340px; }
.ftr__social { display: flex; gap: 8px; margin-top: 14px; }
.ftr__review { display: inline-flex; align-items: center; gap: 12px; padding: 10px 18px 10px 14px; border-radius: 16px; background: var(--dark-card); border: 1px solid var(--dark-line); color: #fff; transition: background .25s, border-color .25s, transform .25s var(--ease); }
.ftr__review:hover { background: rgba(255, 255, 255, .07); border-color: rgba(148, 163, 184, .35); transform: translateY(-2px); }
.ftr__review-g { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; flex: none; background: #fff; font: 700 1.2rem/1 var(--latin); color: #4285f4; }
.ftr__review strong { display: block; font-weight: 600; font-size: .95rem; }
.ftr__review-stars { display: block; color: #f5b301; font-size: .85rem; letter-spacing: 2px; line-height: 1.2; }
.ftr__social a { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--dark-card); border: 1px solid var(--dark-line); color: #fff; transition: background .25s; }
.ftr__social a:hover { background: var(--brand); }
.ftr__h { margin-bottom: 16px; color: #fff; font-weight: 700; }
.ftr__list { display: grid; gap: 10px; }
.ftr__list a:hover { color: #fff; }
.ftr__list--contact li { display: flex; align-items: center; gap: 10px; }
.ftr__list--contact .i { color: var(--brand2); }
.ftr__legal { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; margin-top: 60px; padding-top: 24px; border-top: 1px solid var(--dark-line); font-size: .9rem; }
.ftr__legal-links { display: flex; flex-wrap: wrap; gap: 18px; }
.ftr__legal-links a:hover { color: #fff; }
.ftr__copy { margin: 0; }
@media (max-width: 900px) { .ftr__grid { grid-template-columns: 1fr 1fr; } .ftr__about { grid-column: span 2; } }
@media (max-width: 520px) { .ftr__grid { grid-template-columns: 1fr; } .ftr__about { grid-column: auto; } }

/* ---------- floating buttons ---------- */
.fab-wa { position: fixed; bottom: 20px; inset-inline-end: 20px; z-index: 150; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: #1fa855; color: #fff; box-shadow: 0 10px 26px -8px rgba(0, 0, 0, .45); transition: transform .3s var(--ease); }
.fab-wa:hover { transform: scale(1.06); }
.fab-wa .i { width: 30px; height: 30px; }
.totop { position: fixed; bottom: 88px; inset-inline-end: 26px; z-index: 150; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); color: var(--ink); border: 1px solid var(--line-2); box-shadow: var(--shadow); opacity: 0; pointer-events: none; transition: opacity .3s; }
.totop.is-on { opacity: 1; pointer-events: auto; }
.admin-pill { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); z-index: 150; display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border-radius: 99px; background: var(--ink); color: #fff; font-size: .9rem; font-weight: 600; box-shadow: var(--shadow); }

/* ---------- cookie banner ---------- */
.cookie { position: fixed; z-index: 170; bottom: 16px; left: 50%; transform: translateX(-50%); width: min(720px, calc(100vw - 32px)); display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding: 16px 20px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.cookie p { flex: 1; min-width: 240px; margin: 0; font-size: .95rem; }
.cookie a { text-decoration: underline; }
.cookie__btns { display: flex; gap: 8px; }

/* ---------- accessibility widget ---------- */
.a11y-btn { position: fixed; bottom: 20px; inset-inline-start: 20px; z-index: 150; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: #fff; box-shadow: var(--shadow-lg); }
.a11y-btn .i { width: 28px; height: 28px; }
.a11y { position: fixed; bottom: 84px; inset-inline-start: 20px; z-index: 160; width: min(340px, calc(100vw - 40px)); padding: 18px; border-radius: var(--r); background: #fff; color: var(--ink); box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.a11y__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; font-size: 1.05rem; }
.a11y__size { display: flex; align-items: center; justify-content: space-between; padding: 10px 12px; border-radius: 10px; background: var(--soft); margin-bottom: 10px; font-weight: 600; }
.a11y__size div { display: flex; align-items: center; gap: 8px; }
.a11y__size button { width: 36px; height: 36px; border-radius: 8px; background: #fff; border: 1px solid var(--line-2); font-weight: 700; }
.a11y__size output { min-width: 46px; text-align: center; }
.a11y__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.a11y__grid button { padding: 12px 10px; border-radius: 10px; background: var(--soft); font-size: .92rem; font-weight: 600; border: 2px solid transparent; }
.a11y__grid button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--brand2); }
.a11y__foot { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; font-size: .92rem; }
.a11y__foot a { text-decoration: underline; }
.a11y__reset { padding: 8px 14px; border-radius: 99px; border: 1px solid var(--line-2); }
html.a11y-contrast { --paper: #fff; --ink: #000; --text: #000; --muted: #1a1a1a; --line: #000; --line-2: #000; --soft: #fff; --on-dark-muted: #fff; --dark: #000; }
html.a11y-links a { text-decoration: underline !important; text-underline-offset: 3px; }
html.a11y-readable body, html.a11y-readable h1, html.a11y-readable h2, html.a11y-readable h3 { font-family: Arial, Helvetica, sans-serif !important; }
html.a11y-spacing body { line-height: 2.1; letter-spacing: .02em; word-spacing: .12em; }
html.a11y-gray { filter: grayscale(1); }
html.a11y-cursor, html.a11y-cursor * { cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 24 24'%3E%3Cpath d='M4 2l16 10-7 1.5L9.5 21z' fill='%23000' stroke='%23fff' stroke-width='1.2'/%3E%3C/svg%3E") 4 2, auto !important; }
html.a11y-focus :focus { outline: 4px solid #ffbf00 !important; outline-offset: 3px !important; }

/* ---------- toasts ---------- */
.toasts { position: fixed; top: 100px; left: 50%; transform: translateX(-50%); z-index: 450; display: grid; gap: 8px; width: min(460px, calc(100vw - 32px)); }
.toast { padding: 14px 18px; border-radius: 12px; background: var(--ink); color: #fff; font-weight: 500; box-shadow: var(--shadow-lg); border-inline-start: 4px solid var(--brand2); animation: fade-in .3s, fade-out .5s 6s forwards; }
@keyframes fade-out { to { opacity: 0; visibility: hidden; } }

/* ---------- error / maintenance ---------- */
.err { position: relative; min-height: 80vh; display: grid; place-items: center; padding: calc(var(--hdr-h) + 60px) 0 80px; text-align: center; background: var(--dark); color: var(--on-dark); overflow: hidden; }
.err__num { position: absolute; inset: 0; display: grid; place-items: center; font: 800 clamp(10rem, 34vw, 26rem)/1 var(--latin); color: transparent; -webkit-text-stroke: 1px var(--dark-line); pointer-events: none; }
.err__wrap { position: relative; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.err h1 { color: #fff; }
.err .lead { color: var(--on-dark-muted); }
.err__ctas { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 10px; }
.err__debug { text-align: left; direction: ltr; max-width: 100%; overflow: auto; font-size: .75rem; background: rgba(255, 255, 255, .06); padding: 16px; border-radius: 10px; white-space: pre-wrap; color: var(--on-dark); }
.err--maint { min-height: 100vh; padding-top: 80px; }
.err--maint .logo { width: 90px; color: #fff; }

/* ==========================================================================
   Closing strip, next project, solo FAQ
   ========================================================================== */
.cta { position: relative; overflow: hidden; padding: 0 0 clamp(70px, 9vw, 110px); background: linear-gradient(180deg, var(--dark), color-mix(in oklab, var(--dark) 70%, var(--brand) 30%)); color: var(--on-dark); }
.cta::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(var(--dark-line) 1px, transparent 1px), linear-gradient(90deg, var(--dark-line) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: linear-gradient(transparent, #000 60%); mask-image: linear-gradient(transparent, #000 60%); opacity: .5; pointer-events: none; }
.cta__ticker { position: relative; overflow: hidden; padding: 18px 0; margin-bottom: clamp(50px, 7vw, 80px); border-bottom: 1px solid var(--dark-line); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.cta__track { display: flex; align-items: center; gap: 28px; width: max-content; animation: ticker 38s linear infinite; }
.cta__track span { font: 600 1.05rem/1 var(--f-head), sans-serif; color: var(--on-dark-muted); white-space: nowrap; }
.cta__track i { font: 600 .95rem/1 var(--mono); font-style: normal; color: var(--brand2); }
@keyframes ticker { to { transform: translateX(50%); } }
.cta__wrap { position: relative; display: grid; grid-template-columns: auto 1fr auto; gap: clamp(24px, 4vw, 50px); align-items: center; }
.cta__mark { width: 110px; height: 110px; border-radius: 30px; display: grid; place-items: center; background: rgba(255, 255, 255, .05); border: 1px solid var(--dark-line); color: #fff; box-shadow: var(--glow); animation: float 6s ease-in-out infinite; }
.cta__mark .logo { width: 64px; }
@keyframes float { 50% { transform: translateY(-10px) rotate(-4deg); } }
.cta__copy .h2 { color: #fff; font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
.cta__copy .lead { margin: 14px 0 0; color: var(--on-dark-muted); max-width: 560px; }
.cta__btns { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 960px) { .cta__wrap { grid-template-columns: 1fr; text-align: center; justify-items: center; } .cta__copy .lead { margin-inline: auto; } .cta__btns { justify-content: center; } }

.next-case { display: block; position: relative; overflow: hidden; padding: clamp(40px, 6vw, 70px) 0; background: color-mix(in oklab, var(--pc) 18%, var(--dark)); color: #fff; border-top: 1px solid var(--dark-line); }
.next-case::before { content: ''; position: absolute; inset: 0; background: radial-gradient(60% 120% at 80% 50%, color-mix(in oklab, var(--pc) 55%, transparent), transparent 70%); opacity: .6; transition: opacity .4s; }
.next-case:hover::before { opacity: 1; }
.next-case__wrap { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.next-case small { display: block; color: var(--on-dark-muted); font-size: .95rem; margin-bottom: 6px; }
.next-case strong { display: block; font: 800 clamp(2rem, 5vw, 3.6rem)/1.05 var(--f-head), sans-serif; }
.next-case em { display: block; font-style: normal; color: var(--on-dark-muted); margin-top: 8px; }
.next-case__go { width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; flex: none; background: #fff; color: var(--ink); transition: transform .4s var(--ease); }
.next-case__go .i { width: 30px; height: 30px; }
.next-case:hover .next-case__go { transform: translateX(-10px) scale(1.06); }

.faq__grid--solo { grid-template-columns: minmax(0, 860px); justify-content: center; }
.ftr { padding-top: clamp(56px, 7vw, 80px); }
.ftr__glow { top: -320px; }

/* ==========================================================================
   Playful extras
   ========================================================================== */
/* scroll progress */
.progress { position: fixed; top: 0; inset-inline: 0; z-index: 300; height: 3px; pointer-events: none; }
.progress span { display: block; height: 100%; width: 100%; background: linear-gradient(270deg, var(--brand2), var(--brand), #a5b4fc); transform: scaleX(var(--p, 0)); transform-origin: right; }

/* a soft light that follows the mouse on dark sections */
.glowable { --gx: 50%; --gy: 50%; }
.glowable::after { content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 0; background: radial-gradient(520px circle at var(--gx) var(--gy), color-mix(in oklab, var(--brand2) 14%, transparent), transparent 60%); opacity: 0; transition: opacity .5s; }
.glowable.is-lit::after { opacity: 1; }
.glowable > .wrap, .glowable > .cta__ticker { position: relative; z-index: 1; }

/* click ripple */
.btn .ripple { position: absolute; border-radius: 50%; transform: scale(0); background: rgba(255, 255, 255, .45); pointer-events: none; animation: ripple .6s var(--ease) forwards; }
.btn--line .ripple { background: color-mix(in oklab, var(--brand) 25%, transparent); }
@keyframes ripple { to { transform: scale(4); opacity: 0; } }
.btn[data-magnetic] { transition: transform .35s var(--ease), background .25s, box-shadow .25s, border-color .25s, color .25s; }

/* headings that "decode" like code */
.scramble-ch { color: var(--brand2); opacity: .75; }

/* skeleton mode: the whole site as a wireframe */
.xray-btn { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 99px; border: 1px dashed rgba(148, 163, 184, .4); color: var(--on-dark-muted); font-size: .88rem; transition: color .25s, border-color .25s, background .25s; }
.xray-btn:hover { color: #fff; border-color: var(--brand2); }
.xray-btn[aria-pressed="true"] { color: #fff; background: var(--brand); border-style: solid; border-color: var(--brand); }
html.xray body { background: #0b1120 !important; }
html.xray body *:not(svg):not(svg *):not(.xray-btn):not(.xray-btn *):not(.xray-tag) { background: transparent !important; background-image: none !important; box-shadow: none !important; color: #93c5fd !important; border-color: rgba(96, 165, 250, .35) !important; text-shadow: none !important; -webkit-text-fill-color: currentColor !important; outline: 1px dashed rgba(96, 165, 250, .35); outline-offset: -1px; filter: none !important; backdrop-filter: none !important; }
html.xray img { opacity: .15; filter: grayscale(1) !important; }
html.xray .glow, html.xray .hero__grid { display: none !important; }
.xray-tag { position: fixed; top: 14px; left: 50%; transform: translateX(-50%); z-index: 999; padding: 8px 16px; border-radius: 99px; background: var(--brand); color: #fff; font: 600 .9rem/1 var(--mono); }

/* typing "rozen" anywhere: a little rain of </> */
.confetti { position: fixed; top: -40px; z-index: 600; pointer-events: none; font: 700 1.2rem/1 var(--mono); color: var(--brand2); animation: fall var(--t, 2.6s) cubic-bezier(.3, .2, .6, 1) forwards; }
@keyframes fall { to { transform: translate(var(--dx, 0), 110vh) rotate(var(--rot, 360deg)); opacity: .2; } }

/* 404: a browser window that fell apart */
.lost { position: relative; width: min(340px, 80vw); margin-bottom: 18px; }
.lost__win { border-radius: 16px; overflow: hidden; background: #0f1a33; border: 1px solid rgba(148, 163, 184, .25); box-shadow: var(--glow); transform: rotate(-6deg); animation: wobble 3.2s ease-in-out infinite; }
.lost__bar { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; background: rgba(255, 255, 255, .05); direction: ltr; }
.lost__bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--brand); }
.lost__bar i:nth-child(2) { background: var(--brand2); }
.lost__bar i:nth-child(3) { background: var(--brand3); }
.lost__bar span { margin-left: 10px; font: .78rem/1 var(--mono); color: #94a3b8; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.lost__body { display: grid; gap: 10px; justify-items: center; padding: 28px 24px 34px; }
.lost__face { font: 700 2.6rem/1 var(--mono); color: var(--brand2); }
.lost__line { width: 80%; height: 9px; border-radius: 99px; background: rgba(148, 163, 184, .18); }
.lost__line--s { width: 55%; }
.lost__piece { position: absolute; width: 46px; height: 14px; border-radius: 99px; background: rgba(148, 163, 184, .25); animation: drift 4s ease-in-out infinite; }
.lost__piece--a { bottom: -20px; left: 4%; transform: rotate(20deg); }
.lost__piece--b { bottom: -34px; right: 12%; width: 30px; height: 30px; border-radius: 8px; background: color-mix(in oklab, var(--brand) 50%, transparent); animation-delay: .8s; }
.lost__piece--c { top: 30%; right: -30px; width: 22px; height: 22px; border-radius: 50%; background: var(--brand2); animation-delay: 1.6s; }
@keyframes wobble { 50% { transform: rotate(-2deg) translateY(-6px); } }
@keyframes drift { 50% { translate: 0 -10px; } }

/* ---------- design round 2 ---------- */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* hero demo controls: your name, your colour */
.demo-ctl { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
.demo-ctl__name { display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px; border-radius: 99px; background: rgba(255, 255, 255, .05); border: 1px solid var(--dark-line); color: var(--on-dark-muted); transition: border-color .25s, background .25s; }
.demo-ctl__name:focus-within { border-color: var(--brand2); background: rgba(255, 255, 255, .08); }
.demo-ctl__name input { width: 210px; max-width: 52vw; border: 0; outline: 0; background: transparent; color: #fff; font-size: .95rem; }
.demo-ctl__name input::placeholder { color: var(--on-dark-muted); }
.demo-ctl__colors { display: flex; gap: 6px; padding: 6px; border-radius: 99px; background: rgba(255, 255, 255, .05); border: 1px solid var(--dark-line); }
.demo-ctl__colors button { width: 28px; height: 28px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .15); transition: transform .25s var(--ease), box-shadow .25s; }
.demo-ctl__colors button:hover { transform: scale(1.12); }
.demo-ctl__colors button[aria-checked="true"] { box-shadow: 0 0 0 2px var(--dark), 0 0 0 4px #fff; }

/* "available now" */
.avail { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 14px; padding: 6px 14px 6px 12px; border-radius: 99px; background: rgba(255, 255, 255, .06); border: 1px solid var(--dark-line); color: var(--on-dark); font-size: .9rem; font-weight: 500; }
.avail i { position: relative; width: 9px; height: 9px; border-radius: 50%; background: #94a3b8; }
.avail.is-open i { background: #22c55e; }
.avail.is-open i::after { content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid #22c55e; animation: pulse 1.8s ease-out infinite; }
@keyframes pulse { from { transform: scale(.6); opacity: 1; } to { transform: scale(1.8); opacity: 0; } }
.contact .avail { margin-top: -6px; margin-bottom: 22px; }

/* icons that sketch themselves when they appear */
.js .scard .scard__ico .i, .js .value .value__ico .i, .js .step .step__ico > .i { stroke-dasharray: 90; stroke-dashoffset: 90; }
.js .scard.is-in .scard__ico .i, .js .value.is-in .value__ico .i, .js .step.is-in .step__ico > .i { animation: sketch 1.4s var(--ease) forwards; animation-delay: calc(var(--d, 0s) + .25s); }
@keyframes sketch { to { stroke-dashoffset: 0; } }

/* project page: desktop / phone switch */
.devswitch { display: flex; justify-content: center; gap: 4px; width: max-content; margin: 0 auto 24px; padding: 5px; border-radius: 99px; background: rgba(255, 255, 255, .05); border: 1px solid var(--dark-line); }
.devswitch button { display: inline-flex; align-items: center; gap: 8px; padding: 9px 18px; border-radius: 99px; color: var(--on-dark-muted); font-weight: 600; font-size: .95rem; transition: background .25s, color .25s; }
.devswitch button[aria-checked="true"] { background: var(--brand); color: #fff; }
.case-stage .work__browser, .case-stage .work__phone { transition: transform .7s var(--ease), opacity .5s, left .7s var(--ease), width .7s var(--ease), bottom .7s var(--ease); }
.case-stage.is-mobile .work__browser { opacity: .18; transform: scale(.94); }
.case-stage.is-mobile .work__phone { left: 50%; bottom: 4%; width: min(300px, 46%); transform: translateX(-50%) rotate(0deg); z-index: 2; }

/* ---------- local area pages + footer areas ---------- */
.area-services { margin: 44px 0 10px; padding: 26px; border-radius: calc(var(--r) + 4px); background: var(--soft); border: 1px solid var(--line); }
.area-services__list { display: flex; flex-wrap: wrap; gap: 8px; }
.area-services__list a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 99px; background: var(--surface); border: 1px solid var(--line); font-weight: 500; transition: border-color .25s, color .25s; }
.area-services__list a:hover { border-color: var(--brand); color: var(--brand); }
.area-services__list .i { color: var(--brand); }
.ftr__h--sub { margin: 22px 0 10px; font-size: .95rem; }
.ftr__areas { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: .92rem; }
.ftr__areas a:hover { color: #fff; }

/* ---------- motion ---------- */
html[data-motion="off"] *, html.a11y-still *, html.a11y-still *::before, html.a11y-still *::after { animation: none !important; transition: none !important; }
html[data-motion="off"] .reveal, html[data-motion="off"] [data-split],
html.a11y-still .reveal, html.a11y-still [data-split] { opacity: 1 !important; translate: none !important; }
html[data-motion="calm"] .demo__win { transform: none; }
html[data-motion="off"] .cta__track, html.a11y-still .cta__track { animation: none; }
html[data-motion="off"] .js .i, html.a11y-still .i { stroke-dasharray: none !important; stroke-dashoffset: 0 !important; }
html[data-motion="calm"] .cta__track { animation-duration: 70s; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .reveal, .js [data-split] { opacity: 1; translate: none; }
}
@view-transition { navigation: auto; }

@media print { .hdr, .fab-wa, .totop, .a11y-btn, .cookie, .admin-pill { display: none !important; } }
