/* Komer Studio — Tesla × Apple, in electric violet on black.
   Tesla: full-screen hero, name on top, two wide buttons at the bottom, minimal nav, order page.
   Apple: huge tight headlines, one idea per screen, bento tiles, "Learn more >" links. */
:root {
  --bg: #000;
  --bg-1: #0a0a0f;
  --bg-2: #121218;
  --tile: #0e0d14;
  --ink: #f5f5f7;
  --ink-2: #d2d2d7;
  --muted: #86868b;
  --v: #8b5cf6;
  --v-hi: #a78bfa;
  --v-soft: #c4b5fd;
  --v-deep: #5b21b6;
  --line: rgba(255, 255, 255, .09);
  --line-2: rgba(255, 255, 255, .16);
  --danger: #ff6b81;

  --f-head: "Onest", "SF Pro Display", system-ui, sans-serif;
  --f-wide: "Geologica", "Segoe UI", system-ui, sans-serif;

  --gut: clamp(16px, 4vw, 48px);
  --max: 1180px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --t-fast: 180ms;
  --t: 420ms;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1.0625rem/1.55 var(--f-head); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
*, *::before, *::after { font-feature-settings: "locl" 0 !important; }
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
em { font-style: normal; }
::selection { background: var(--v); color: #fff; }
:focus-visible { outline: 2px solid var(--v-hi); outline-offset: 3px; border-radius: 6px; }
.i { width: 1.1em; height: 1.1em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.wrap { width: min(100% - 2 * var(--gut), var(--max)); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 2000; background: var(--v); color: #fff; padding: 10px 16px; border-radius: 8px; font-weight: 600; transition: top var(--t-fast); }
.skip:focus { top: 16px; }

/* ---------- Type ---------- */
.eyebrow { margin: 0 0 18px; font: 500 .78rem/1 var(--f-wide); letter-spacing: .32em; text-transform: uppercase; color: var(--v-hi); }
.h2 { margin: 0 0 clamp(36px, 5vw, 64px); font: 600 clamp(2.4rem, 6vw, 4.8rem)/1.02 var(--f-head); letter-spacing: -.045em; text-wrap: balance; }
.h3 { margin: 0; font: 600 clamp(1.5rem, 2.6vw, 2.1rem)/1.1 var(--f-head); letter-spacing: -.03em; }
.h2 em, .say__big em, .closer__t em, .phero__title em {
  background: linear-gradient(95deg, var(--v-soft) 0%, var(--v) 55%, #6d7cff 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.muted { color: var(--muted); }

/* ---------- Buttons ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 999px; border: 1px solid transparent; font: 600 .95rem/1 var(--f-head); cursor: pointer; white-space: nowrap; touch-action: manipulation; transition: transform var(--t) var(--ease), background-color var(--t-fast), box-shadow var(--t) var(--ease), border-color var(--t-fast), color var(--t-fast); }
.btn:active { transform: scale(.97); }
.btn--block { width: 100%; }
.btn--violet { background: var(--v); color: #fff; box-shadow: 0 10px 40px -12px rgba(139, 92, 246, .8); }
.btn--violet:hover { background: #9b72f8; box-shadow: 0 0 0 6px rgba(139, 92, 246, .18), 0 14px 48px -10px rgba(139, 92, 246, .9); }
.btn--glass { background: rgba(255, 255, 255, .1); color: var(--ink); backdrop-filter: blur(20px) saturate(1.4); -webkit-backdrop-filter: blur(20px) saturate(1.4); border-color: rgba(255, 255, 255, .12); }
.btn--glass:hover { background: rgba(255, 255, 255, .18); }
.btn--ghost { background: transparent; border-color: var(--line-2); color: var(--ink); }
.btn--ghost:hover { border-color: var(--v-hi); color: var(--v-soft); }
/* Tesla buttons: wide, low radius */
.btn--tesla { min-width: min(264px, 42vw); min-height: 44px; border-radius: 6px; font-size: .9rem; letter-spacing: .01em; }
.more { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; margin-top: 28px; font-size: 1.1rem; color: var(--v-hi); }
.more:hover span { text-decoration: underline; text-underline-offset: 4px; }
.more .i { transition: transform var(--t) var(--ease); }
.more:hover .i { transform: translateX(3px); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 600; color: var(--v-hi); }
.link-arrow:hover { color: var(--v-soft); }

/* Hover text roll */
.roll { display: inline-block; position: relative; overflow: hidden; vertical-align: top; line-height: 1.2; }
.roll__a, .roll__b { display: block; transition: transform .5s var(--ease); }
.roll__b { position: absolute; left: 0; top: 0; transform: translateY(110%); }
a:hover .roll__a, button:hover .roll__a { transform: translateY(-110%); }
a:hover .roll__b, button:hover .roll__b { transform: none; }

/* ---------- Nav (Tesla) ---------- */
.progress { position: fixed; inset: 0 0 auto; height: 2px; z-index: 110; pointer-events: none; }
.progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--v-deep), var(--v-hi)); transform-origin: 0 50%; transform: scaleX(0); }
.nav { position: fixed; z-index: 100; inset: 0 0 auto; padding-top: env(safe-area-inset-top); transition: background-color var(--t), backdrop-filter var(--t), transform var(--t) var(--ease); }
.nav.is-solid { background: rgba(0, 0, 0, .86); backdrop-filter: saturate(1.6) blur(20px); -webkit-backdrop-filter: saturate(1.6) blur(20px); }
.nav { transform: translate3d(0, 0, 10px); }
.nav.is-hidden { transform: translate3d(0, -100%, 10px); }
.nav__inner { height: 60px; width: min(100% - 2 * var(--gut), 1440px); margin-inline: auto; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; justify-self: start; }
.brand__mark { width: 24px; height: 24px; color: var(--v-hi); filter: drop-shadow(0 0 8px rgba(139, 92, 246, .7)); transition: transform .9s var(--ease); }
.brand:hover .brand__mark { transform: rotate(180deg); }
.brand__name { font: 500 .95rem/1 var(--f-wide); letter-spacing: .42em; }
.nav__links { display: flex; gap: 2px; }
.nav__links a { padding: 8px 14px; border-radius: 6px; font-size: .88rem; font-weight: 500; color: var(--ink); transition: background-color var(--t-fast); }
.nav__links a:hover { background: rgba(255, 255, 255, .1); }
.nav__links a.is-active { color: var(--v-soft); }
.nav__right { justify-self: end; display: flex; align-items: center; gap: 8px; }
.lang { display: flex; padding: 3px; border-radius: 8px; background: rgba(255, 255, 255, .08); }
.lang button { min-width: 38px; min-height: 34px; border: 0; border-radius: 6px; background: none; font: 600 .74rem/1 var(--f-wide); letter-spacing: .12em; color: var(--muted); cursor: pointer; }
.lang button[aria-pressed="true"] { background: rgba(255, 255, 255, .16); color: var(--ink); }
.nav__burger { display: none; min-height: 40px; padding: 0 14px; border: 0; border-radius: 6px; background: rgba(255, 255, 255, .1); font-size: .86rem; font-weight: 600; cursor: pointer; }
@media (max-width: 1000px) {
  .nav__inner { grid-template-columns: 1fr auto; }
  .nav__links { position: fixed; top: 0; right: 0; bottom: 0; width: min(340px, 86vw); flex-direction: column; gap: 4px; padding: calc(84px + env(safe-area-inset-top)) 24px 32px; background: rgba(14, 13, 20, .96); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); transform: translateX(100%); visibility: hidden; transition: transform .5s var(--ease), visibility 0s .5s; box-shadow: -30px 0 80px rgba(0, 0, 0, .6); }
  .nav__links a { font-size: 1.1rem; padding: 14px 12px; }
  .nav.is-open .nav__links { transform: none; visibility: visible; transition: transform .5s var(--ease); }
  .nav__burger { display: inline-flex; align-items: center; position: relative; z-index: 2; }
}

/* ---------- Ring canvas ---------- */
.ring { position: fixed; inset: 0; width: 100%; height: 100vh; height: 100lvh; z-index: 0; pointer-events: none; opacity: 0; }
main, .footer { position: relative; z-index: 1; }

/* ---------- Hero (Tesla) ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: space-between; align-items: center; text-align: center; padding: calc(96px + env(safe-area-inset-top)) var(--gut) max(28px, env(safe-area-inset-bottom)); }
.no-webgl .hero { background: radial-gradient(50% 45% at 50% 50%, rgba(139, 92, 246, .35), transparent 70%), #000; }
.hero__name { margin: 0; font: 600 clamp(3.4rem, 10vw, 7.6rem)/.95 var(--f-head); letter-spacing: -.05em; }
.hero__name span[aria-hidden] { display: inline-block; background: linear-gradient(180deg, #fff 40%, #cbbcff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__sub { margin: 14px 0 0; font-size: clamp(1rem, 1.6vw, 1.25rem); color: var(--ink-2); }
.hero__bottom { display: grid; justify-items: center; gap: 22px; width: 100%; }
.hero__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 24px; }
.hero__down { display: grid; place-items: center; width: 44px; height: 44px; color: var(--ink-2); animation: bob 2.2s ease-in-out infinite; }
.hero__down .i { width: 26px; height: 26px; }
@keyframes bob { 50% { transform: translateY(6px); } }
@media (max-width: 600px) { .hero__btns { flex-direction: column; width: 100%; } .btn--tesla { width: 100%; min-width: 0; } }

/* ---------- Say (Apple: one idea per screen) ---------- */
.say { min-height: 88vh; display: flex; align-items: center; padding: 14vh 0; }
.say--center { text-align: center; }
.say--center .say__small { margin-inline: auto; }
.say__big { margin: 0; font: 600 clamp(2.4rem, 6.4vw, 5.6rem)/1.02 var(--f-head); letter-spacing: -.05em; text-wrap: balance; max-width: 16ch; }
.say--center .say__big { max-width: 20ch; margin-inline: auto; }
.say__big--xl { font-size: clamp(3rem, 9vw, 8rem); }
.say__small { margin: 28px 0 0; font-size: clamp(1.1rem, 1.8vw, 1.55rem); line-height: 1.4; color: var(--muted); max-width: 40ch; font-weight: 500; }
.say__read { margin: 0; font: 600 clamp(1.8rem, 4.2vw, 3.6rem)/1.15 var(--f-head); letter-spacing: -.035em; max-width: 22ch; }
.say__read .w { color: #2a2a31; transition: color .45s var(--ease); }
.say__read .w.is-lit { color: var(--ink); }
.say__split { display: grid; gap: 24px; }
.say__split .say__small { margin: 0; }
.build { list-style: none; margin: 40px auto 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 900px; }
.build li { padding: 12px 20px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(139, 92, 246, .06); font-size: clamp(.95rem, 1.4vw, 1.15rem); font-weight: 500; }
.versus { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 48px; max-width: 880px; }
.versus ul { list-style: none; margin: 0; padding: 28px; border-radius: 24px; display: grid; gap: 10px; font-size: clamp(1.05rem, 1.6vw, 1.35rem); font-weight: 600; letter-spacing: -.01em; }
.versus__less { background: var(--bg-1); color: var(--muted); border: 1px solid var(--line); }
.versus__less li { text-decoration: line-through; text-decoration-color: rgba(255, 255, 255, .25); }
.versus__more { background: linear-gradient(160deg, rgba(139, 92, 246, .28), rgba(91, 33, 182, .12)); border: 1px solid rgba(167, 139, 250, .35); }
@media (max-width: 700px) { .versus { grid-template-columns: 1fr; } .say { min-height: 70vh; padding: 10vh 0; } }

/* ---------- Services (Apple bento) ---------- */
.services, .process, .faq, .contact { padding: clamp(80px, 12vw, 150px) 0; background: var(--bg); }
.process { background: linear-gradient(180deg, #000 70%, rgba(0, 0, 0, 0)); }
.faq { background: linear-gradient(180deg, rgba(0, 0, 0, 0), #000 30%); }
.services { background: linear-gradient(180deg, transparent, var(--bg) 120px); }
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tile { position: relative; overflow: hidden; min-height: 320px; padding: 30px; border-radius: 28px; background: var(--tile); border: 1px solid var(--line); display: flex; flex-direction: column; justify-content: flex-end; transition: transform var(--t) var(--ease), border-color var(--t); }
.tile:hover { transform: translateY(-4px); border-color: rgba(167, 139, 250, .3); }
.tile--wide { grid-column: span 2; }
.tile h3 { margin: 0 0 8px; font: 600 1.45rem/1.15 var(--f-head); letter-spacing: -.025em; position: relative; }
.tile p { margin: 0; color: var(--muted); max-width: 44ch; position: relative; }
.tile__art { position: absolute; inset: 0 0 40% 0; display: grid; place-items: center; pointer-events: none; }
.tile::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 55% at 50% 30%, rgba(139, 92, 246, .22), transparent 70%); }
/* art: concentric light rings */
.art-ring i { position: absolute; border-radius: 50%; border: 1.5px solid rgba(167, 139, 250, .7); box-shadow: 0 0 24px rgba(139, 92, 246, .6), inset 0 0 24px rgba(139, 92, 246, .35); animation: spin 14s linear infinite; }
.art-ring i:nth-child(1) { width: 150px; height: 150px; border-top-color: transparent; }
.art-ring i:nth-child(2) { width: 104px; height: 104px; animation-direction: reverse; animation-duration: 9s; border-left-color: transparent; }
.art-ring i:nth-child(3) { width: 18px; height: 18px; background: var(--v-soft); box-shadow: 0 0 30px 8px rgba(139, 92, 246, .8); animation: none; }
@keyframes spin { to { transform: rotate(360deg); } }
/* art: code lines */
.art-code { align-content: center; justify-items: start; gap: 10px; padding: 0 30px; }
.art-code i { height: 8px; border-radius: 4px; background: linear-gradient(90deg, var(--v), rgba(139, 92, 246, .1)); animation: type 3s var(--ease) infinite; transform-origin: left; }
.art-code i:nth-child(1) { width: 60%; } .art-code i:nth-child(2) { width: 40%; margin-left: 24px; animation-delay: .3s; } .art-code i:nth-child(3) { width: 72%; margin-left: 24px; animation-delay: .6s; } .art-code i:nth-child(4) { width: 30%; animation-delay: .9s; }
@keyframes type { 0% { transform: scaleX(0); } 40%, 100% { transform: scaleX(1); } }
/* art: phone outline */
.art-phone i { width: 78px; height: 150px; border-radius: 18px; border: 2px solid rgba(196, 181, 253, .8); box-shadow: 0 0 30px rgba(139, 92, 246, .5), inset 0 0 30px rgba(139, 92, 246, .25); background: linear-gradient(180deg, rgba(139, 92, 246, .25), transparent); }
/* art: search results */
.art-seo { align-content: center; justify-items: center; gap: 10px; }
.art-seo i { width: min(340px, 70%); height: 14px; border-radius: 7px; background: rgba(255, 255, 255, .08); }
.art-seo i:first-child { background: linear-gradient(90deg, var(--v), var(--v-soft)); box-shadow: 0 0 24px rgba(139, 92, 246, .7); }
.art-seo i:nth-child(2) { width: min(280px, 58%); } .art-seo i:nth-child(3) { width: min(220px, 46%); }
.art-type span { font: 600 5.5rem/1 var(--f-head); letter-spacing: -.05em; background: linear-gradient(180deg, #fff, var(--v)); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 0 20px rgba(139, 92, 246, .5)); }
.art-care i { width: 90px; height: 90px; border-radius: 50%; background: conic-gradient(var(--v) 0 72%, rgba(255, 255, 255, .08) 0); -webkit-mask: radial-gradient(closest-side, transparent 78%, #000 80%); mask: radial-gradient(closest-side, transparent 78%, #000 80%); filter: drop-shadow(0 0 14px rgba(139, 92, 246, .7)); animation: spin 8s linear infinite; }
@media (max-width: 900px) { .bento { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .bento { grid-template-columns: 1fr; } .tile--wide { grid-column: auto; } .tile { min-height: 280px; } }

/* ---------- Process ---------- */
.flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.flow li { padding: 28px; border-radius: 24px; background: var(--tile); border: 1px solid var(--line); }
.flow__n { display: block; margin-bottom: 40px; font: 600 3rem/1 var(--f-head); letter-spacing: -.05em; background: linear-gradient(180deg, var(--v-soft), var(--v-deep)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.flow h3 { margin: 0 0 8px; font: 600 1.3rem/1.2 var(--f-head); letter-spacing: -.02em; }
.flow p { margin: 0; color: var(--muted); font-size: .98rem; }
@media (max-width: 900px) { .flow { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .flow { grid-template-columns: 1fr; } }

/* ---------- Closer (Tesla, ring returns) ---------- */
.closer { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: space-between; align-items: center; text-align: center; padding: 16vh var(--gut) 8vh; }
.closer__t { margin: 0; font: 600 clamp(2.2rem, 5.5vw, 4.4rem)/1.04 var(--f-head); letter-spacing: -.045em; text-wrap: balance; max-width: 18ch; }
.closer__p { margin: 18px auto 0; color: var(--ink-2); font-size: clamp(1rem, 1.5vw, 1.2rem); max-width: 44ch; }

/* ---------- FAQ ---------- */
.faq__inner { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.4fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.section-head { max-width: 760px; }
.section-head .label, .contact__head .label { margin: 0 0 18px; font: 500 .78rem/1 var(--f-wide); letter-spacing: .32em; text-transform: uppercase; color: var(--v-hi); }
.faq .h2, .contact .h2 { font-size: clamp(2.2rem, 4.6vw, 3.8rem); }
.qa + .qa { border-top: 1px solid var(--line); }
.faq__list { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.qa summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 72px; padding: 18px 0; cursor: pointer; list-style: none; font: 600 1.1rem/1.35 var(--f-head); letter-spacing: -.01em; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { color: var(--v-soft); }
.qa summary .i { width: 28px; height: 28px; padding: 5px; border-radius: 50%; background: rgba(255, 255, 255, .08); transition: transform var(--t) var(--ease), background-color var(--t-fast); }
.qa[open] summary .i { transform: rotate(45deg); background: var(--v); }
.qa p { margin: 0; padding: 0 40px 24px 0; color: var(--muted); max-width: 62ch; }
@media (max-width: 860px) { .faq__inner { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.contact__head .muted { margin: 16px 0 28px; max-width: 42ch; }
.contact__card { list-style: none; margin: 0; padding: 6px 22px; display: grid; max-width: 460px; border-radius: 24px; background: var(--tile); border: 1px solid var(--line); }
.contact__card li { display: flex; align-items: center; gap: 16px; padding: 16px 0; }
.contact__card li + li { border-top: 1px solid var(--line); }
.contact__card .i { width: 40px; height: 40px; padding: 10px; border-radius: 12px; color: var(--v-soft); background: rgba(139, 92, 246, .14); }
.contact__card div { display: grid; gap: 2px; min-width: 0; }
.contact__k { font-size: .82rem; color: var(--muted); }
.contact__v { font: 600 1.1rem/1.3 var(--f-head); color: var(--ink); overflow-wrap: anywhere; }
a.contact__v:hover { color: var(--v-soft); }
.form { padding: clamp(22px, 3vw, 36px); display: grid; gap: 20px; border-radius: 28px; background: var(--tile); border: 1px solid var(--line); }
.field { display: grid; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.field label, .field legend { font-weight: 600; font-size: .9rem; padding: 0; color: var(--ink-2); }
.field input, .field textarea { width: 100%; min-height: 52px; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line-2); background: #000; font-size: 1rem; resize: vertical; transition: border-color var(--t-fast), box-shadow var(--t-fast); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--v); box-shadow: 0 0 0 4px rgba(139, 92, 246, .25); }
.field [aria-invalid="true"] { border-color: var(--danger); }
.field__help { margin: 0; font-size: .86rem; color: var(--muted); }
.field__err { margin: 0; font-size: .88rem; color: var(--danger); font-weight: 500; }
.field--chips legend { margin-bottom: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { position: relative; cursor: pointer; }
.chips input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chips span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-2); font-size: .92rem; font-weight: 500; transition: background-color var(--t-fast), border-color var(--t-fast); }
.chips input:checked + span { background: var(--v); border-color: var(--v); color: #fff; }
.chips input:focus-visible + span { outline: 2px solid var(--v-hi); outline-offset: 3px; }

.form__status { margin: 0; text-align: center; color: var(--v-soft); font-weight: 600; min-height: 1.4em; }
@media (max-width: 960px) { .contact__inner { grid-template-columns: 1fr; } }

/* ---------- Configurator (Tesla order page) ---------- */
.page-order .footer { border-top: 1px solid var(--line); }
.order { display: grid; grid-template-columns: minmax(0, 1fr) 440px; min-height: 100vh; }
.order__stage { isolation: isolate; z-index: 0; position: sticky; top: 0; height: 100vh; display: grid; place-items: center; align-content: center; gap: 28px; padding: 90px 5vw 40px; overflow: hidden; background: radial-gradient(70% 60% at 50% 45%, #15102a, #000 75%); }
.order__glow { position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--pick, #8b5cf6) 45%, transparent), transparent); filter: blur(30px); opacity: .7; transition: background .6s var(--ease); }
.device { position: relative; width: min(100%, 880px); }
.device__screen { padding: 12px; border-radius: 22px; background: linear-gradient(160deg, #2a2833, #0d0c12); border: 1px solid rgba(255, 255, 255, .12); box-shadow: 0 60px 120px -40px rgba(0, 0, 0, .9), 0 0 80px -20px color-mix(in srgb, var(--pick, #8b5cf6) 60%, transparent); transform: perspective(1600px) rotateX(6deg); transition: box-shadow .6s var(--ease); }
.device__screen canvas { width: 100%; height: auto; aspect-ratio: 16 / 10; border-radius: 12px; background: #fff; }
.device__base { width: 22%; height: 14px; margin: 0 auto; border-radius: 0 0 12px 12px; background: linear-gradient(180deg, #3a3844, #16151c); }
.order__caption { position: relative; margin: 0; font: 500 .8rem/1 var(--f-wide); letter-spacing: .3em; text-transform: uppercase; color: var(--muted); }
.order__panel { padding: 96px 32px 40px; background: var(--bg); border-left: 1px solid var(--line); }
.order__title { margin: 0 0 10px; font: 600 2.4rem/1.05 var(--f-head); letter-spacing: -.04em; }
.order__lead { margin: 0 0 32px; color: var(--muted); font-size: .98rem; }
.group { margin: 0 0 32px; padding: 0; border: 0; min-width: 0; display: grid; gap: 10px; }
.group legend { margin-bottom: 14px; padding: 0; font: 500 .74rem/1 var(--f-wide); letter-spacing: .28em; text-transform: uppercase; color: var(--v-hi); }
.pick, .addon, .swatch { position: relative; cursor: pointer; display: block; }
.pick input, .addon input, .swatch input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.pick__box { display: grid; gap: 4px; padding: 16px 18px; border-radius: 12px; border: 1.5px solid var(--line-2); transition: border-color var(--t-fast), background-color var(--t-fast); }
.pick__t { font-weight: 600; }
.pick__d { font-size: .88rem; color: var(--muted); }
.pick input:checked + .pick__box { border-color: var(--v); background: rgba(139, 92, 246, .1); box-shadow: 0 0 0 1px var(--v) inset; }
.sws { display: flex; flex-wrap: wrap; gap: 14px; }
.swatch { display: grid; justify-items: center; gap: 8px; min-width: 56px; }
.swatch span { width: 40px; height: 40px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 3px #000, 0 0 0 4px var(--line-2); transition: box-shadow var(--t-fast), transform var(--t-fast); }
.swatch input:checked + span { box-shadow: 0 0 0 3px #000, 0 0 0 5px var(--c), 0 0 22px var(--c); transform: scale(1.05); }
.swatch em { font-size: .78rem; color: var(--muted); }
.swatch input:checked ~ em { color: var(--ink); }
.addon__box { display: grid; grid-template-columns: 1fr auto; column-gap: 12px; align-items: center; padding: 14px 18px; border-radius: 12px; border: 1.5px solid var(--line-2); transition: border-color var(--t-fast), background-color var(--t-fast); }
.addon__t { font-weight: 600; }
.addon__d { grid-column: 1; font-size: .86rem; color: var(--muted); }
.addon__box i { grid-row: 1 / span 2; grid-column: 2; width: 22px; height: 22px; border-radius: 6px; border: 1.5px solid var(--line-2); transition: background-color var(--t-fast), border-color var(--t-fast); }
.addon input:checked + .addon__box { border-color: var(--v); background: rgba(139, 92, 246, .08); }
.addon input:checked + .addon__box i { background: var(--v) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 14px no-repeat; border-color: var(--v); }
.pick input:focus-visible + .pick__box, .addon input:focus-visible + .addon__box, .swatch input:focus-visible + span { outline: 2px solid var(--v-hi); outline-offset: 3px; }
.opt { font-weight: 400; color: var(--muted); }
.order__bar { position: sticky; bottom: 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 0 -32px; padding: 16px 32px max(16px, env(safe-area-inset-bottom)); background: rgba(0, 0, 0, .85); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border-top: 1px solid var(--line); }
.order__sum { display: grid; gap: 2px; min-width: 0; }
.order__sum-t { font-weight: 600; }
.order__sum-d { font-size: .82rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.order__note { margin: 14px 0 0; font-size: .84rem; color: var(--muted); }
@media (max-width: 960px) {
  .order { grid-template-columns: 1fr; }
  .order__stage { position: relative; height: auto; min-height: 0; padding: calc(84px + env(safe-area-inset-top)) var(--gut) 28px; }
  .device__screen { transform: none; }
  .order__panel { padding: 32px var(--gut) 0; border-left: 0; }
  .order__bar { margin: 0 calc(-1 * var(--gut)); padding-inline: var(--gut); }
}

/* ---------- Projects page ---------- */
.page-sub main { background: radial-gradient(60% 40% at 80% 0%, rgba(139, 92, 246, .18), transparent 70%), #000; }
.phero { padding: clamp(130px, 18vw, 190px) 0 clamp(36px, 5vw, 64px); }
.phero .label { margin: 0 0 18px; font: 500 .78rem/1 var(--f-wide); letter-spacing: .32em; text-transform: uppercase; color: var(--v-hi); }
.phero__title { margin: 0 0 20px; font: 600 clamp(2.6rem, 7.4vw, 6rem)/1 var(--f-head); letter-spacing: -.05em; max-width: 15ch; text-wrap: balance; }
.phero__lead { margin: 0 0 16px; color: var(--muted); font-size: 1.15rem; max-width: 52ch; }
.phero__meta { margin: 0; font-weight: 600; color: var(--v-hi); }
.work--page { padding: 0 0 clamp(80px, 10vw, 140px); }
.glass { background: var(--tile); border: 1px solid var(--line); border-radius: 28px; }
.case { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; padding: clamp(18px, 3vw, 40px); }
.case__stage { position: relative; padding-bottom: 12%; perspective: 1400px; }
.browser { border-radius: 14px; overflow: hidden; background: #111; border: 1px solid var(--line-2); box-shadow: 0 40px 90px -30px rgba(139, 92, 246, .45); transform: rotateY(var(--ry, 0deg)) rotateX(var(--rx, 0deg)); transition: transform .6s var(--ease); }
.browser__bar { display: flex; align-items: center; gap: 7px; height: 34px; padding: 0 14px; background: #1b1a22; border-bottom: 1px solid var(--line); }
.browser__bar i { width: 10px; height: 10px; border-radius: 50%; background: #3a3844; }
.browser__bar span { margin-left: 12px; font-size: .74rem; color: var(--muted); }
.browser__screen { aspect-ratio: 16 / 10; overflow: hidden; }
.browser__screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.phone { position: absolute; right: -3%; bottom: 0; width: 26%; aspect-ratio: 9 / 19.5; border-radius: 24px; padding: 5px; background: linear-gradient(160deg, #2a2833, #0d0c12); border: 1px solid var(--line-2); box-shadow: 0 30px 70px -24px rgba(0, 0, 0, .9); transform: rotateY(var(--ry, 0deg)) rotateX(var(--rx, 0deg)); transition: transform .6s var(--ease); }
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 19px; }
.case__meta { margin: 0 0 10px; font: 500 .74rem/1 var(--f-wide); letter-spacing: .28em; text-transform: uppercase; color: var(--v-hi); }
.case__text { margin: 16px 0 20px; color: var(--muted); }
.svc__tags { list-style: none; margin: 0 0 24px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.svc__tags li { padding: 6px 12px; border-radius: 999px; font-size: .84rem; border: 1px solid var(--line-2); color: var(--ink-2); }
.case-strip { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 16px 0; }
.shot { margin: 0; border-radius: 28px; overflow: hidden; aspect-ratio: 16 / 10; border: 1px solid var(--line); }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.shot:hover img { transform: scale(1.04); }
.review { margin: 0; display: flex; flex-direction: column; gap: 18px; }
.review--wide { padding: clamp(24px, 4vw, 48px); }
.review__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.stars { display: flex; gap: 3px; color: #fbbf24; }
.stars .i { width: 20px; height: 20px; }
.js .stars .i { opacity: 0; transform: scale(.4); transition: opacity .5s var(--ease), transform .7s cubic-bezier(.34, 1.8, .64, 1); }
.js .is-in .stars .i { opacity: 1; transform: none; }
.is-in .stars .i:nth-child(2) { transition-delay: .08s; } .is-in .stars .i:nth-child(3) { transition-delay: .16s; } .is-in .stars .i:nth-child(4) { transition-delay: .24s; } .is-in .stars .i:nth-child(5) { transition-delay: .32s; }
.review__score { font: 600 .82rem/1 var(--f-head); padding: 8px 12px; border-radius: 999px; background: rgba(139, 92, 246, .16); color: var(--v-soft); }
.review__text { margin: 0; font: 600 clamp(1.3rem, 2.3vw, 1.9rem)/1.3 var(--f-head); letter-spacing: -.02em; max-width: 46ch; }
.review__text::before { content: "“"; display: block; height: .5em; margin-bottom: .25em; font-size: 3rem; line-height: 1; color: var(--v); }
.review__by { display: grid; gap: 2px; padding-top: 16px; border-top: 1px solid var(--line); }
.review__name { font-weight: 600; }
.review__meta { font-size: .9rem; color: var(--muted); }
.next-slot { margin-top: 16px; display: flex; align-items: center; gap: clamp(12px, 3vw, 32px); padding: clamp(20px, 3vw, 32px); transition: transform var(--t) var(--ease), border-color var(--t); }
.next-slot:hover { transform: translateY(-3px); border-color: rgba(167, 139, 250, .35); }
.next-slot__title { flex: 1; font: 600 clamp(1.3rem, 2.8vw, 2.2rem)/1.15 var(--f-head); letter-spacing: -.035em; }
.next-slot__status { font-size: .9rem; font-weight: 600; color: var(--v-hi); }
.next-slot__go { flex: none; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--v); color: #fff; }
@media (max-width: 960px) { .case { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .case-strip { grid-template-columns: 1fr; } .next-slot { flex-wrap: wrap; } .next-slot__title { flex-basis: 100%; } }

/* ---------- Footer ---------- */
.footer { padding: clamp(40px, 6vw, 64px) 0 max(28px, env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--bg-1); font-size: .9rem; }
.footer__inner { display: grid; gap: 24px; }
.footer__name { margin: 0 0 6px; font: 500 1rem/1 var(--f-wide); letter-spacing: .42em; text-transform: uppercase; }
.footer__tag { margin: 0; color: var(--muted); }
.footer__cols { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; }
.footer__contacts, .footer__links { margin: 0; display: flex; flex-wrap: wrap; gap: 4px 24px; }
.footer__contacts a, .footer__link { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink-2); }
.footer__contacts a:hover, .footer__link:hover { color: var(--v-soft); }
.footer__link { padding: 0; border: 0; background: none; font: inherit; cursor: pointer; }
.footer__row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); }
.footer__row p { margin: 0; }
.footer__top:hover .i { transform: translateY(-3px); }
.footer__top .i { transition: transform var(--t) var(--ease); }

/* ---------- Cookie pop-up ---------- */
.cookie { position: fixed; z-index: 120; left: var(--gut); bottom: max(16px, env(safe-area-inset-bottom)); width: min(420px, calc(100% - 2 * var(--gut))); display: grid; grid-template-columns: auto 1fr; gap: 14px 16px; padding: 20px; border-radius: 22px; background: rgba(22, 20, 32, .92); border: 1px solid var(--line-2); backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px); box-shadow: 0 30px 70px -24px rgba(0, 0, 0, .9); opacity: 0; transform: translateY(24px) scale(.97); transition: opacity .45s var(--ease), transform .6s cubic-bezier(.34, 1.4, .64, 1); }
.cookie.is-open { opacity: 1; transform: none; }
.cookie[hidden] { display: none; }
.cookie__icon { width: 40px; height: 40px; padding: 9px; border-radius: 12px; color: var(--v-soft); fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; background: rgba(139, 92, 246, .16); }
.cookie__title { margin: 0 0 4px; font-weight: 600; }
.cookie__text { margin: 0; font-size: .9rem; color: var(--muted); line-height: 1.5; }
.cookie__more { padding: 0; border: 0; background: none; font: inherit; color: var(--v-hi); font-weight: 600; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.cookie__actions { grid-column: 1 / -1; display: flex; gap: 8px; }
.cookie__actions .btn { flex: 1; }
.cookie .btn--primary { background: var(--v); color: #fff; }
.cookie .btn--ghost { background: rgba(255, 255, 255, .08); border-color: transparent; }
.btn--sm { min-height: 42px; padding: 0 16px; font-size: .9rem; }

/* ---------- Privacy dialog ---------- */
.pp { width: min(720px, calc(100% - 2 * var(--gut))); max-height: min(84vh, 820px); padding: 0; border: 1px solid var(--line-2); border-radius: 24px; background: #121118; color: var(--ink); box-shadow: 0 40px 120px -30px rgba(0, 0, 0, .9); overflow: hidden; }
.pp[open] { display: flex; flex-direction: column; animation: pp-in .5s var(--ease); }
.pp::backdrop { background: rgba(0, 0, 0, .7); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); animation: fade .4s var(--ease); }
@keyframes pp-in { from { opacity: 0; transform: translateY(24px) scale(.97); } }
@keyframes fade { from { opacity: 0; } }
.pp__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.pp__title { margin: 0; font: 600 1.5rem/1.15 var(--f-head); letter-spacing: -.025em; }
.pp__close { flex: none; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .08); cursor: pointer; }
.pp__close:hover { background: rgba(255, 255, 255, .16); }
.pp__body { padding: 8px 24px 24px; overflow-y: auto; overscroll-behavior: contain; color: var(--muted); font-size: .98rem; }
.pp__body h3 { margin: 24px 0 8px; font-size: 1.05rem; color: var(--ink); }
.pp__body p, .pp__body ul { margin: 0 0 10px; max-width: 65ch; }
.pp__body ul { padding-left: 20px; }
.pp__body strong { color: var(--ink); }
.pp__body a { color: var(--v-hi); text-decoration: underline; text-underline-offset: 3px; }
.pp__updated { font: 500 .74rem/1.4 var(--f-wide); letter-spacing: .2em; text-transform: uppercase; color: var(--v-hi) !important; margin-top: 16px !important; }
.pp__foot { padding: 14px 24px; border-top: 1px solid var(--line); display: flex; justify-content: flex-end; }
.pp .btn--primary { background: var(--v); color: #fff; }

/* ---------- Motion ---------- */
span.sw { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; min-width: 0; }
.sw__in { display: inline-block; }
em .sw__in { background: linear-gradient(95deg, var(--v-soft) 0%, var(--v) 55%, #6d7cff 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.is-split em { background: none; -webkit-text-fill-color: initial; color: inherit; }
.js [data-split].is-split .sw__in { transform: translateY(105%); transition: transform 1s var(--ease); transition-delay: calc(var(--i, 0) * 45ms + var(--d, 0ms)); }
.js [data-split].is-split.is-in .sw__in { transform: none; }
.js .fx-up { opacity: 0; transform: translateY(32px); transition: opacity .9s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0ms); }
.js .fx-fade { opacity: 0; transition: opacity 1.2s var(--ease); transition-delay: var(--d, 0ms); }
.js .fx-up.is-in, .js .fx-fade.is-in { opacity: 1; transform: none; }
/* hero entrance */
.js .hero__top, .js .hero__bottom { opacity: 0; transform: translateY(18px); transition: opacity 1.4s var(--ease), transform 1.4s var(--ease); }
.js .is-loaded .hero__top { opacity: 1; transform: none; transition-delay: .5s; }
.js .is-loaded .hero__bottom { opacity: 1; transform: none; transition-delay: .9s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js .fx-up, .js .fx-fade, .js .hero__top, .js .hero__bottom, .js [data-split].is-split .sw__in, .js .stars .i { opacity: 1 !important; transform: none !important; }
  .say__read .w { color: var(--ink); }
}

/* ---------- Fillers between the statements ---------- */
.say { min-height: 0; padding: clamp(72px, 12vh, 140px) 0; flex-direction: column; align-items: stretch; justify-content: center; }
.say > .wrap { width: min(100% - 2 * var(--gut), var(--max)); }
.say--lead { min-height: 80vh; }
.facts { list-style: none; margin: clamp(40px, 6vw, 72px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.facts li { padding: 22px; border-radius: 20px; background: var(--tile); border: 1px solid var(--line); display: grid; gap: 6px; }
.facts b { font: 600 clamp(1.8rem, 3.4vw, 2.6rem)/1 var(--f-head); letter-spacing: -.04em; background: linear-gradient(180deg, #fff, var(--v-soft)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.facts span { color: var(--muted); font-size: .95rem; }
.ticker { margin-top: clamp(40px, 6vw, 72px); overflow: hidden; border-block: 1px solid var(--line); padding: 18px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.ticker__row { display: flex; width: max-content; animation: tick 40s linear infinite; }
.ticker__row span { padding: 0 22px; font: 600 clamp(1.2rem, 2.4vw, 1.9rem)/1.2 var(--f-head); letter-spacing: -.02em; color: var(--ink-2); white-space: nowrap; display: flex; align-items: center; gap: 44px; }
.ticker__row span::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--v); box-shadow: 0 0 12px var(--v); margin-left: 22px; }
@keyframes tick { to { transform: translateX(-50%); } }
.spec { margin-top: clamp(36px, 5vw, 56px); display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 12px; max-width: 980px; }
.spec > div { border-radius: 22px; background: var(--tile); border: 1px solid var(--line); padding: 22px; min-height: 170px; }
.spec__type { display: flex; align-items: center; gap: 22px; }
.spec__aa { font: 600 5rem/1 var(--f-head); letter-spacing: -.05em; background: linear-gradient(180deg, #fff, var(--v)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.spec__scale { display: grid; gap: 6px; }
.spec__scale i { font-style: normal; font: 600 calc(var(--s) * 1.6rem)/1 var(--f-head); color: var(--ink-2); }
.spec__scale i::after { content: " px"; font-size: .6em; color: var(--muted); }
.spec__colors { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.spec__colors i { border-radius: 12px; background: var(--c); border: 1px solid var(--line-2); min-height: 56px; }
.spec__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.spec__grid i { border-radius: 6px; background: rgba(139, 92, 246, .14); border: 1px dashed rgba(167, 139, 250, .35); }
.spec__cap { grid-column: 1 / -1; margin: 4px 0 0; font: 500 .72rem/1.4 var(--f-wide); letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
.ms { display: grid; grid-template-columns: auto 1fr; align-items: baseline; column-gap: 10px; padding: 26px; border-radius: 24px; background: linear-gradient(160deg, rgba(139, 92, 246, .22), rgba(91, 33, 182, .08)); border: 1px solid rgba(167, 139, 250, .3); max-width: 520px; }
.ms b { font: 600 clamp(3rem, 7vw, 5rem)/1 var(--f-head); letter-spacing: -.05em; }
.ms span { font-size: 1.3rem; font-weight: 600; color: var(--v-soft); }
.ms p { grid-column: 1 / -1; margin: 10px 0 0; color: var(--ink-2); }
@media (max-width: 800px) {
  .facts { grid-template-columns: 1fr 1fr; }
  .spec { grid-template-columns: 1fr 1fr; }
  .spec__type { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .say { padding: 56px 0; }
  .say--lead { min-height: 0; padding-top: 80px; }
  .eyebrow { letter-spacing: .18em; }
  .spec > div { min-height: 130px; }
}
@media (prefers-reduced-motion: reduce) { .ticker__row { animation: none; } }

/* ---------- Hero product: a glass phone whose site builds itself ---------- */
@property --acc { syntax: "<color>"; inherits: true; initial-value: #8b5cf6; }
.hero__device { flex: 1; display: grid; place-items: center; align-content: center; gap: 18px; padding: 22px 0; min-height: 0; }
.mini { --acc: #8b5cf6; position: relative; height: clamp(260px, 42vh, 440px); aspect-ratio: 9 / 19; padding: 10% 7% 7%; border-radius: 13% / 6.2%; background: linear-gradient(160deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .03)); border: 1px solid rgba(255, 255, 255, .22); box-shadow: inset 0 0 0 5px rgba(0, 0, 0, .55), inset 0 1px 0 rgba(255, 255, 255, .3), 0 40px 90px -30px rgba(139, 92, 246, .8), 0 0 60px -10px color-mix(in srgb, var(--acc) 60%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); display: flex; flex-direction: column; gap: 7%; overflow: hidden; animation: float 7s ease-in-out infinite, acc 18s linear infinite; }
.mini::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, .16) 45%, transparent 55%); background-size: 250% 100%; animation: glare 6s ease-in-out infinite; pointer-events: none; }
.mini__notch { position: absolute; top: 3.2%; left: 50%; width: 30%; height: 3.2%; margin-left: -15%; border-radius: 99px; background: #000; }
.mini i, .mini b { display: block; border-radius: 99px; }
.mini__nav { display: flex; align-items: center; gap: 8%; }
.mini__nav i { height: 5px; flex: 1; background: rgba(255, 255, 255, .25); }
.mini__nav .mini__logo { flex: none; width: 14%; aspect-ratio: 1; height: auto; border-radius: 30%; background: var(--acc); }
.mini__hero { position: relative; height: 34%; border-radius: 10%; padding: 14% 10%; display: flex; flex-direction: column; gap: 9%; background: linear-gradient(150deg, var(--acc), color-mix(in srgb, var(--acc) 45%, #000)); }
.mini__hero i { height: 7%; background: rgba(255, 255, 255, .9); width: 78%; }
.mini__hero i + i { width: 52%; background: rgba(255, 255, 255, .55); }
.mini__hero b { margin-top: auto; width: 44%; height: 14%; background: #fff; border-radius: 99px; }
.mini__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7%; height: 17%; }
.mini__cards i { border-radius: 18%; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .12); }
.mini__cards i:first-child { background: color-mix(in srgb, var(--acc) 35%, transparent); }
.mini__rows { display: grid; gap: 10px; }
.mini__rows i { height: 6px; background: rgba(255, 255, 255, .18); }
.mini__rows i + i { width: 64%; }
.mini__cursor { position: absolute; left: 16%; top: 28%; width: 2px; height: 5%; background: #fff; animation: blink 1s steps(1) infinite; opacity: .8; }
.mini__shadow { width: clamp(120px, 20vh, 200px); height: 18px; margin-top: -8px; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--acc, #8b5cf6) 55%, transparent), transparent); filter: blur(4px); animation: shadow 7s ease-in-out infinite; }
.hero__tag { margin: 0; font: 500 .72rem/1 var(--f-wide); letter-spacing: .3em; text-transform: uppercase; color: var(--muted); }
/* the site "builds" itself: pieces pop in one after another, then reset */
.js .mini__nav, .js .mini__hero, .js .mini__cards, .js .mini__rows { animation: build 7s var(--ease) infinite both; }
.js .mini__hero { animation-delay: .35s; } .js .mini__cards { animation-delay: .7s; } .js .mini__rows { animation-delay: 1.05s; }
@keyframes build { 0% { opacity: 0; transform: translateY(14px) scale(.96); } 10%, 88% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(-6px); } }
@keyframes float { 50% { transform: translateY(-12px) rotate(-1.5deg); } }
@keyframes shadow { 50% { transform: scaleX(.8); opacity: .6; } }
@keyframes glare { 0%, 55% { background-position: 130% 0; } 100% { background-position: -30% 0; } }
@keyframes blink { 50% { opacity: 0; } }
@keyframes acc { 0%, 28% { --acc: #8b5cf6; } 34%, 61% { --acc: #22d3ee; } 67%, 94% { --acc: #ff7a5c; } 100% { --acc: #8b5cf6; } }
.hero { justify-content: flex-start; }
.hero__bottom { margin-top: auto; }
@media (max-height: 640px) { .mini { height: 200px; } .hero__tag { display: none; } }
@media (prefers-reduced-motion: reduce) { .mini, .mini::after, .mini__shadow, .mini__cursor { animation: none; } }

/* Tablet instead of phone (landscape, 4:3) */
.mini { height: auto; width: min(84vw, 560px, calc(40vh * 4 / 3)); aspect-ratio: 4 / 3; padding: 6% 5.5% 5%; border-radius: 5.5% / 7.3%; gap: 5%; }
.mini__notch { top: 2.1%; width: 1.4%; height: auto; aspect-ratio: 1; margin-left: -.7%; background: #1c1b24; box-shadow: 0 0 0 2px #000; }
.mini__nav .mini__logo { width: 5%; }
.mini__nav { gap: 4%; }
.mini__nav i:not(.mini__logo) { flex: none; width: 9%; }
.mini__nav i:nth-child(2) { margin-left: auto; }
.mini__hero { height: 42%; border-radius: 4.5% / 7%; padding: 5% 5%; gap: 7%; }
.mini__hero i { height: 9%; width: 46%; }
.mini__hero i + i { width: 30%; }
.mini__hero b { width: 20%; height: 15%; }
.mini__cards { height: 22%; gap: 3%; }
.mini__cards i { border-radius: 10% / 16%; }
.mini__rows { gap: 8px; }
.mini__rows i { width: 55%; }
.mini__rows i + i { width: 36%; }
.mini__cursor { left: 11%; top: 22%; height: 7%; }
.mini__shadow { width: min(60vw, 380px, 28vh); }
@keyframes float { 50% { transform: translateY(-10px) rotate(-1deg); } }
@media (max-height: 640px) { .mini { width: min(70vw, 320px); height: auto; } }

/* ---------- Crossing ribbons before the services ---------- */
.bands { position: relative; z-index: 1; height: clamp(170px, 22vw, 260px); overflow: hidden; display: grid; place-items: center; background: #000; }
.band { position: absolute; left: -10%; right: -10%; padding: 16px 0; overflow: hidden; }
.band--v { transform: rotate(-4deg); background: linear-gradient(90deg, #6d28d9, var(--v), #a78bfa, var(--v), #6d28d9); box-shadow: 0 0 60px rgba(139, 92, 246, .55); z-index: 2; }
.band--d { transform: rotate(3.5deg); background: #0e0d14; border-block: 1px solid rgba(167, 139, 250, .35); }
.band__row { display: flex; width: max-content; animation: tick 34s linear infinite; }
.band__row--rev { animation-direction: reverse; animation-duration: 42s; }
.band__row span { display: flex; align-items: center; gap: 28px; padding-right: 28px; font: 700 clamp(1.1rem, 2.4vw, 1.9rem)/1 var(--f-head); letter-spacing: -.02em; text-transform: uppercase; white-space: nowrap; }
.band--v span { color: #fff; }
.band--d span { color: transparent; -webkit-text-stroke: 1px rgba(196, 181, 253, .75); }
.band__row span::after { content: "✦"; font-size: .7em; -webkit-text-stroke: 0; }
.band--v span::after { color: #1b0b3d; }
.band--d span::after { color: var(--v); }
.services { padding-top: clamp(56px, 8vw, 110px); }
@media (prefers-reduced-motion: reduce) { .band__row { animation: none; } }
.bands { background: transparent; }
@media (max-width: 700px) {
  .bands { height: 190px; }
  .band { left: -30%; right: -30%; padding: 12px 0; }
  .band--v { transform: translateY(-26px) rotate(-6deg); }
  .band--d { transform: translateY(26px) rotate(5deg); }
  .say:has(+ .bands) { padding-bottom: 24px; }
}

/* ---------- Included in every site ---------- */
.services { padding-bottom: clamp(40px, 6vw, 72px); }
.incl { position: relative; z-index: 1; padding: 0 0 clamp(40px, 6vw, 72px); background: #000; }
.process { padding-top: clamp(40px, 6vw, 80px); }
.incl__box { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 28px 48px; align-items: center; padding: clamp(26px, 4vw, 52px); border-radius: 28px; background: radial-gradient(70% 120% at 0% 0%, rgba(139, 92, 246, .32), transparent 60%), linear-gradient(160deg, #15122a, #0b0a12); border: 1px solid rgba(167, 139, 250, .3); box-shadow: 0 30px 90px -40px rgba(139, 92, 246, .7); }
.incl__box::after { content: ""; position: absolute; right: -80px; bottom: -80px; width: 260px; height: 260px; border-radius: 50%; border: 1.5px solid rgba(167, 139, 250, .35); box-shadow: 0 0 40px rgba(139, 92, 246, .4), inset 0 0 40px rgba(139, 92, 246, .25); pointer-events: none; }
.incl__head .eyebrow { margin-bottom: 14px; }
.incl__t { margin: 0; font: 600 clamp(1.9rem, 4vw, 3.2rem)/1.05 var(--f-head); letter-spacing: -.04em; text-wrap: balance; }
.incl__t em { background: linear-gradient(95deg, var(--v-soft), var(--v) 55%, #6d7cff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.incl__list { position: relative; z-index: 1; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; }
.incl__list li { display: flex; align-items: center; gap: 12px; font-weight: 500; color: var(--ink-2); }
.incl__list .i { width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: var(--v); color: #fff; stroke-width: 2.6; box-shadow: 0 0 14px rgba(139, 92, 246, .7); }
@media (max-width: 800px) { .incl__box { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .incl__list { grid-template-columns: 1fr; } }

/* ---------- Closer: text up, template-vs-Komer slider below ---------- */
.closer { min-height: 0; justify-content: flex-start; gap: clamp(36px, 6vh, 64px); padding: clamp(80px, 12vh, 130px) var(--gut) clamp(56px, 8vh, 96px); }
.closer .hero__btns { margin-top: 0; }

/* ---------- Template vs Komer slider ---------- */
.vs { width: min(100%, 720px); display: grid; gap: 14px; }
.vs__frame { --p: 50%; position: relative; aspect-ratio: 16 / 10; border-radius: 20px; overflow: hidden; border: 1px solid var(--line-2); box-shadow: 0 40px 100px -40px rgba(139, 92, 246, .8); touch-action: pan-y; }
.vs__side { position: absolute; inset: 0; padding: 5% 6%; display: flex; flex-direction: column; gap: 6%; text-align: left; }
.vs__side i, .vs__side b { display: block; border-radius: 99px; }
.m-nav { display: flex; gap: 4%; align-items: center; }
.m-nav i { width: 10%; height: 8px; }
.m-nav i:first-child { width: 18%; }
.m-nav i:nth-child(2) { margin-left: auto; }
.m-hero { position: relative; flex: 1; border-radius: 14px; padding: 6%; display: flex; flex-direction: column; gap: 8%; justify-content: center; overflow: hidden; }
.m-hero i { height: 12px; width: 50%; }
.m-hero i + i { width: 34%; height: 9px; }
.m-hero b { width: 22%; height: 14%; margin-top: 4%; }
.m-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4%; height: 20%; }
.m-cols i { border-radius: 12px; }
/* generic template: grey, stock-photo box, same as everyone */
.vs__tpl { background: #e9ebef; }
.vs__tpl i, .vs__tpl b { background: #c3c8d0; }
.vs__tpl .m-hero { background: repeating-linear-gradient(45deg, #cfd4db 0 12px, #d8dce2 12px 24px); }
.vs__tpl .m-hero i { background: #fff; } .vs__tpl .m-hero b { background: #8a93a2; border-radius: 4px; }
.vs__tpl .m-cols i { background: #d6dae0; }
/* komer: dark, violet, the ring */
.vs__sgl { background: radial-gradient(80% 90% at 70% 30%, #1d1240, #07060d); clip-path: inset(0 0 0 var(--p)); }
.vs__sgl i, .vs__sgl b { background: rgba(255, 255, 255, .22); }
.vs__sgl .logo { width: 8% !important; aspect-ratio: 1; height: auto !important; border-radius: 50% !important; border: 2px solid var(--v-hi); background: transparent !important; box-shadow: 0 0 10px var(--v); }
.vs__sgl .m-hero { background: linear-gradient(140deg, rgba(139, 92, 246, .35), rgba(20, 14, 40, .9)); border: 1px solid rgba(167, 139, 250, .4); }
.vs__sgl .m-hero i { background: #fff; } .vs__sgl .m-hero i + i { background: var(--v-soft); }
.vs__sgl .m-hero b { background: var(--v); box-shadow: 0 0 16px var(--v); }
.m-ring { position: absolute; right: 8%; top: 0; bottom: 0; margin: auto 0; width: 34%; aspect-ratio: 1; border-radius: 50%; border: 2px solid rgba(196, 181, 253, .8); box-shadow: 0 0 30px rgba(139, 92, 246, .8), inset 0 0 30px rgba(139, 92, 246, .5); animation: spin 12s linear infinite; border-top-color: transparent; }
.vs__sgl .m-cols i { background: rgba(139, 92, 246, .16); border: 1px solid rgba(167, 139, 250, .3); }
.vs__tag { position: absolute; bottom: 5%; padding: 7px 12px; border-radius: 99px; font: 600 .72rem/1 var(--f-wide); letter-spacing: .2em; text-transform: uppercase; }
.vs__tpl .vs__tag { left: 5%; background: #fff; color: #4b5563; }
.vs__sgl .vs__tag { right: 5%; background: var(--v); color: #fff; }
.vs__handle { position: absolute; top: 0; bottom: 0; left: var(--p); width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 16px rgba(139, 92, 246, .9); pointer-events: none; }
.vs__handle span { position: absolute; top: 50%; left: 50%; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; background: #fff; box-shadow: 0 6px 20px rgba(0, 0, 0, .5); }
.vs__handle span::before, .vs__handle span::after { content: ""; position: absolute; top: 50%; width: 8px; height: 8px; margin-top: -4px; border: solid #5b21b6; border-width: 0 0 2px 2px; }
.vs__handle span::before { left: 11px; transform: rotate(45deg); }
.vs__handle span::after { right: 11px; transform: rotate(-135deg); }
.vs__range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.vs__range:focus-visible + .vs__handle, .vs__frame:focus-within .vs__handle span { outline: 3px solid var(--v-hi); outline-offset: 3px; }
.vs__cap { margin: 0; color: var(--muted); font-size: .92rem; }
@media (prefers-reduced-motion: reduce) { .m-ring { animation: none; } }

/* ---------- Platforms marquee (between FAQ and contact) ---------- */
.faq { padding-bottom: clamp(40px, 6vw, 72px); }
.plat { position: relative; z-index: 1; padding: clamp(24px, 4vw, 48px) 0 clamp(24px, 4vw, 56px); background: #000; overflow: hidden; }
.plat__t { margin: 0 0 clamp(24px, 4vw, 40px); font: 600 clamp(1.8rem, 4.2vw, 3.2rem)/1.05 var(--f-head); letter-spacing: -.04em; max-width: 20ch; text-wrap: balance; }
.plat__t em { background: linear-gradient(95deg, var(--v-soft), var(--v) 55%, #6d7cff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.plat__rail { display: grid; gap: 12px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.plat__row { display: flex; gap: 12px; width: max-content; animation: tick 36s linear infinite; }
.plat__row--rev { animation-direction: reverse; animation-duration: 44s; }
.chip { display: inline-flex; align-items: center; gap: 10px; padding: 14px 20px; border-radius: 999px; background: var(--tile); border: 1px solid var(--line-2); font-weight: 600; font-size: clamp(.95rem, 1.4vw, 1.1rem); white-space: nowrap; }
.chip .i { width: 20px; height: 20px; color: var(--v-hi); }
.plat__row--rev .chip { background: linear-gradient(160deg, rgba(139, 92, 246, .22), rgba(20, 16, 40, .8)); border-color: rgba(167, 139, 250, .35); }
.contact { padding-top: clamp(48px, 7vw, 96px); }
@media (prefers-reduced-motion: reduce) { .plat__row { animation: none; flex-wrap: wrap; width: auto; padding: 0 var(--gut); } }
.plat__t { margin-bottom: 14px; }
.plat__lead { margin: 0 0 clamp(24px, 4vw, 36px); color: var(--muted); max-width: 56ch; font-size: clamp(1rem, 1.4vw, 1.12rem); }

/* ---------- Mobile menu: full-screen, never clipped ---------- */
/* transform/backdrop-filter on .nav would trap the fixed drawer inside the 60px bar */
.nav.is-open { transform: none !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; background: transparent !important; }
@media (max-width: 1000px) {
  .nav__links { inset: 0; width: 100%; height: 100vh; height: 100dvh; padding: calc(96px + env(safe-area-inset-top)) var(--gut) max(32px, env(safe-area-inset-bottom)); gap: 0; justify-content: flex-start; background: rgba(6, 5, 12, .97); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); transform: translateY(-12px); opacity: 0; transition: opacity .35s var(--ease), transform .45s var(--ease), visibility 0s .45s; box-shadow: none; overflow-y: auto; }
  .nav.is-open .nav__links { opacity: 1; transform: none; transition: opacity .35s var(--ease), transform .45s var(--ease); }
  .nav__links a { padding: 18px 4px; border-radius: 0; border-bottom: 1px solid var(--line); font: 600 clamp(1.6rem, 7vw, 2.2rem)/1.1 var(--f-head); letter-spacing: -.03em; display: flex; justify-content: space-between; align-items: center; }
  .nav__links a::after { content: ""; width: 10px; height: 10px; border: solid var(--v-hi); border-width: 2px 2px 0 0; transform: rotate(45deg); }
  .nav__links a:hover { background: none; color: var(--v-soft); }
  .nav.is-open .brand, .nav.is-open .lang { position: relative; z-index: 2; }
  .nav.is-open .nav__right { position: relative; z-index: 2; }
}
/* Back to top: filled violet, like the other primary buttons */
.footer__top { gap: 10px; }
@media (max-width: 600px) { .footer__top { width: 100%; } }
.plat__row--big .chip { padding: 18px 26px; font-size: clamp(1.05rem, 1.8vw, 1.3rem); }
.plat__row--big .chip .i { width: 24px; height: 24px; }

/* ---------- Review fixes ---------- */
/* "Less is more": a struck-through "Less noise" read as the opposite; use −/+ markers instead */
.versus__less li { text-decoration: none; }
.versus li { display: flex; align-items: baseline; gap: 12px; }
.versus li::before { flex: none; width: 1.1em; font-weight: 700; text-align: center; }
.versus__less li::before { content: "−"; color: var(--muted); }
.versus__more li::before { content: "+"; color: var(--v-soft); }
/* Service tiles on phones: art sits above the text instead of behind it */
@media (max-width: 620px) {
  .tile { min-height: 0; justify-content: flex-start; }
  .tile__art { position: relative; inset: auto; height: 170px; margin: -6px 0 18px; }
}
/* ---------- Projects: portfolio in preparation ---------- */
.soon { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; padding: clamp(18px, 3vw, 40px); }
.soon__frame { border-radius: 14px; overflow: hidden; border: 1px solid var(--line-2); background: #0b0a12; box-shadow: 0 40px 90px -30px rgba(139, 92, 246, .45); }
.soon__bar { display: flex; align-items: center; gap: 7px; height: 34px; padding: 0 14px; background: #1b1a22; border-bottom: 1px solid var(--line); }
.soon__bar i { width: 10px; height: 10px; border-radius: 50%; background: #3a3844; }
.soon__bar span { margin-left: 12px; font-size: .74rem; color: var(--muted); }
.soon__screen { aspect-ratio: 16 / 10; display: grid; place-items: center; background: radial-gradient(60% 70% at 50% 50%, rgba(139, 92, 246, .22), transparent 70%), repeating-linear-gradient(90deg, rgba(255, 255, 255, .03) 0 1px, transparent 1px 48px), repeating-linear-gradient(0deg, rgba(255, 255, 255, .03) 0 1px, transparent 1px 48px); }
.soon__ring { width: 28%; aspect-ratio: 1; border-radius: 50%; border: 2px solid rgba(196, 181, 253, .8); border-top-color: transparent; box-shadow: 0 0 30px rgba(139, 92, 246, .8), inset 0 0 30px rgba(139, 92, 246, .5); animation: spin 10s linear infinite; }
@media (max-width: 960px) { .soon { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .soon__ring { animation: none; } }
/* ---------- "Studio" next to KOMER ---------- */
.brand__sub { margin-left: .5em; font-weight: 400; color: var(--v-soft); }
@media (max-width: 420px) { .brand__name { font-size: .82rem; letter-spacing: .3em; } }
.hero__name .hero__studio { display: block; margin: .22em 0 0 .6em; background: none; color: var(--v-soft); -webkit-text-fill-color: currentColor; font: 400 .17em/1 var(--f-wide); letter-spacing: .6em; text-transform: uppercase; }
.hero__name span.hero__studio[aria-hidden] { display: block; margin: .45em 0 0; padding-left: .7em; font: 400 clamp(.85rem, 1.5vw, 1.3rem)/1 var(--f-wide); letter-spacing: .7em; color: var(--v-soft); background: none; -webkit-text-fill-color: currentColor; }
.brand__mark { flex: none; }
@media (max-width: 380px) { .brand { gap: 8px; } .brand__name { font-size: .74rem; letter-spacing: .24em; } }
/* status line takes no room until there is a message */
.form__status { min-height: 0; }
.form__status:empty { display: none; }
