/* Layout: a bright editorial page orbiting the logo. Paper white, ink black, brand blue as the one energy; Sora display over DM Sans text. Sections alternate paper, blue and deep navy fields. */
:root {
  color-scheme: light;
  --paper: #f5f6f8;
  --white: #ffffff;
  --ink: #0b0d12;
  --soft: #5b6472;
  --line: rgba(11, 13, 18, 0.09);
  --line-2: rgba(11, 13, 18, 0.16);
  --chip: rgba(11, 13, 18, 0.05);
  --blue: #008bff;
  --blue-press: #0077db;
  --blue-deep: #0062b8;
  --on-blue: #001a33;
  --sky: #e3f1ff;
  --sky-2: #c9e4ff;
  --navy: #04162b;
  --navy-2: #0a2240;
  --navy-soft: #9fb3cc;
  --inv: #0b0d12;
  --inv-ink: #ffffff;
  --inv-chip: rgba(255, 255, 255, 0.14);
  --blue-text: #0062b8;
  --nav-bg: rgba(245, 246, 248, 0.92);

  --display: "Sora", "Poppins", "Helvetica Neue", Arial, sans-serif;
  --text: "DM Sans", "Helvetica Neue", Arial, system-ui, sans-serif;
  --brand: "Poppins", var(--display);

  --step-small: clamp(0.8125rem, 0.79rem + 0.1vw, 0.875rem);
  --step-body: clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  --step-lead: clamp(1.125rem, 1rem + 0.5vw, 1.375rem);
  --step-head: clamp(2.25rem, 1.3rem + 3.4vw, 4.5rem);
  --step-hero: clamp(2.75rem, 1.3rem + 4.6vw, 5.75rem);

  --wrap: 1280px;
  --gutter: clamp(16px, 4vw, 48px);
  --sec: clamp(96px, 11vw, 168px);
  --r: 28px;
  --r-sm: 16px;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
  --nav-h: 72px;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
  --paper: #070b12;
  --white: #0f1622;
  --ink: #eef2f7;
  --soft: #95a1b3;
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.16);
  --chip: rgba(255, 255, 255, 0.07);
  --sky: #0c2442;
  --sky-2: #14396a;
  --navy: #0a1d36;
  --navy-2: #102a4c;
  --inv: #eef2f7;
  --inv-ink: #0b0d12;
  --inv-chip: rgba(11, 13, 18, 0.1);
  --blue-text: #5cb3ff;
  --nav-bg: rgba(7, 11, 18, 0.88);
  color-scheme: dark;
} }
:root[data-theme="dark"] {
  --paper: #070b12;
  --white: #0f1622;
  --ink: #eef2f7;
  --soft: #95a1b3;
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.16);
  --chip: rgba(255, 255, 255, 0.07);
  --sky: #0c2442;
  --sky-2: #14396a;
  --navy: #0a1d36;
  --navy-2: #102a4c;
  --inv: #eef2f7;
  --inv-ink: #0b0d12;
  --inv-chip: rgba(11, 13, 18, 0.1);
  --blue-text: #5cb3ff;
  --nav-bg: rgba(7, 11, 18, 0.88);
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-tap-highlight-color: transparent; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 16px); }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--text); font-size: var(--step-body); line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: clip; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 80; background: var(--paper); }
img, svg { display: block; max-width: 100%; }
p, figure, dl, dd { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-family: var(--display); font-weight: 600; letter-spacing: -0.04em; line-height: 1.02; text-wrap: balance; }
a { color: inherit; text-underline-offset: 0.2em; }
button { font: inherit; color: inherit; }
::selection { background: var(--blue); color: #ffffff; }
:focus-visible { outline: 2.5px solid var(--blue); outline-offset: 3px; border-radius: 8px; }
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-left: max(var(--gutter), env(safe-area-inset-left, 0px)); padding-right: max(var(--gutter), env(safe-area-inset-right, 0px)); }
.sec { padding-block: var(--sec); position: relative; }
.h-head { font-size: var(--step-head); }
.lead { font-size: var(--step-lead); line-height: 1.45; color: var(--soft); max-width: 52ch; }
.muted { color: var(--soft); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -100px; z-index: 100; background: var(--inv); color: var(--inv-ink); padding: 12px 18px; border-radius: 999px; text-decoration: none; }
.skip:focus { top: calc(env(safe-area-inset-top, 0px) + 8px); }
.sec-head { display: grid; gap: 18px; margin-bottom: clamp(40px, 5vw, 72px); }
.sec-head--split { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: end; gap: 24px 64px; }
.blue { color: var(--blue); }

/* Scroll progress */
.progress { position: fixed; left: 0; right: 0; top: env(safe-area-inset-top, 0px); height: 3px; z-index: 75; background: var(--blue); transform-origin: left; transform: scaleX(0); pointer-events: none; }
@supports (animation-timeline: scroll()) {
  .progress { animation: grow linear both; animation-timeline: scroll(root); }
  @keyframes grow { to { transform: scaleX(1); } }
}

/* Cards and buttons */
.shell { background: var(--white); border-radius: var(--r); }
.core { position: relative; border-radius: inherit; }
.pill {
  --tx: 0px; --ty: 0px;
  position: relative; display: inline-flex; align-items: center; gap: 12px; min-height: 54px; padding: 6px 6px 6px 24px; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--blue); color: var(--on-blue); font-weight: 500; font-size: 1rem; text-decoration: none; white-space: nowrap; overflow: hidden; isolation: isolate;
  translate: var(--tx) var(--ty); touch-action: manipulation; user-select: none; -webkit-user-select: none;
  transition: transform 160ms var(--ease-out), translate 500ms var(--ease-out), color 300ms ease;
}
.pill::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: var(--inv); transform: scaleX(0); transform-origin: right; transition: transform 420ms var(--ease-out); }
.pill:active { transform: scale(0.97); }
.pill__i { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, 0.85); color: #0b0d12; flex: none; transition: transform 400ms var(--ease-out); }
.pill__i svg { width: 16px; height: 16px; }
.pill--ghost { background: var(--white); color: var(--ink); }
.pill--ghost .pill__i { background: var(--chip); }
.pill--plain { padding: 0 24px; }
.pill--small { min-height: 46px; padding: 4px 4px 4px 18px; font-size: 0.9375rem; }
.pill--small .pill__i { width: 38px; height: 38px; }
.pill--dark { background: var(--inv); color: var(--inv-ink); }
.pill--dark::before { background: var(--blue); }
.pill--dark .pill__i { background: var(--inv-chip); color: var(--inv-ink); }
.pill__roll { display: inline-block; overflow: hidden; height: 1.3em; line-height: 1.3; }
.pill__roll > span { display: block; transition: transform 420ms var(--ease-out); }
.pill__roll > span::after { content: attr(data-label); display: block; }
@media (hover: hover) and (pointer: fine) {
  .pill:hover { color: var(--inv-ink); }
  .pill--dark:hover { color: var(--on-blue); }
  .pill:hover::before { transform: scaleX(1); transform-origin: left; }
  .pill:hover .pill__i { transform: rotate(-45deg); }
  .pill:hover .pill__roll > span { transform: translateY(-50%); }
}
.tag { display: inline-flex; align-items: center; min-height: 30px; padding: 0 12px; border-radius: 999px; background: var(--chip); font-size: 0.875rem; font-variant-numeric: tabular-nums; }

/* ---------- Nav ---------- */
.nav { position: fixed; z-index: 60; top: env(safe-area-inset-top, 0px); left: 0; right: 0; height: var(--nav-h); transition: background-color 300ms ease, box-shadow 300ms ease; }
.nav.is-scrolled { background: var(--nav-bg); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); } /* taste-skill-ignore: the one sticky bar */
.nav .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.logo { display: inline-flex; align-items: center; gap: 0.5em; font-family: var(--brand); font-weight: 600; letter-spacing: -0.02em; font-size: 1.1875rem; text-decoration: none; white-space: nowrap; line-height: 1; }
.logo svg { width: 1.6em; height: 1.6em; overflow: visible; color: var(--blue); }
.nav__links { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav__links a { display: block; padding: 10px 14px; border-radius: 999px; text-decoration: none; font-size: 0.9375rem; font-weight: 500; transition: background-color 200ms ease; touch-action: manipulation; }
@media (hover: hover) and (pointer: fine) { .nav__links a:hover { background: var(--chip); } }
.nav__links a.is-active { background: var(--white); }
.nav__right { display: flex; align-items: center; gap: 8px; }
.menu-btn { display: none; min-height: 46px; padding: 0 18px; border-radius: 999px; border: 0; background: var(--inv); color: var(--inv-ink); font-weight: 500; cursor: pointer; touch-action: manipulation; user-select: none; -webkit-user-select: none; transition: transform 160ms var(--ease-out); }
.menu-btn:active { transform: scale(0.96); }
.drawer { position: fixed; inset: 0; z-index: 70; visibility: hidden; transition: visibility 0s linear 500ms; }
.drawer__scrim { position: absolute; inset: 0; background: rgba(4, 22, 43, 0.4); opacity: 0; transition: opacity 400ms ease; }
.drawer__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(420px, 88%); background: var(--navy); color: #fff; padding: calc(env(safe-area-inset-top, 0px) + 24px) 28px calc(env(safe-area-inset-bottom, 0px) + 28px); display: flex; flex-direction: column; gap: 28px; transform: translateX(100%); transition: transform 500ms var(--ease-drawer); overscroll-behavior: contain; overflow-y: auto; }
.drawer.is-open { visibility: visible; transition: none; }
.drawer.is-open .drawer__scrim { opacity: 1; }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__top { display: flex; justify-content: space-between; align-items: center; }
.drawer__top .logo svg { color: #fff; }
.drawer__close { width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, 0.1); color: #fff; display: grid; place-items: center; cursor: pointer; }
.drawer__close svg { width: 18px; height: 18px; }
.drawer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.drawer ul a { display: block; font-family: var(--display); font-weight: 600; font-size: 2rem; letter-spacing: -0.04em; text-decoration: none; padding: 6px 0; opacity: 0; transform: translateX(24px); transition: opacity 500ms var(--ease-drawer), transform 500ms var(--ease-drawer); }
.drawer.is-open ul a { opacity: 1; transform: none; }
.drawer ul li:nth-child(2) a { transition-delay: 40ms; } .drawer ul li:nth-child(3) a { transition-delay: 80ms; } .drawer ul li:nth-child(4) a { transition-delay: 120ms; } .drawer ul li:nth-child(5) a { transition-delay: 160ms; } .drawer ul li:nth-child(6) a { transition-delay: 200ms; } .drawer ul li:nth-child(7) a { transition-delay: 240ms; }
.drawer__foot { margin-top: auto; color: var(--navy-soft); font-size: 0.9375rem; }

.toggle-btn { min-width: 46px; height: 46px; padding: 0 12px; border-radius: 999px; border: 0; display: inline-grid; place-items: center; background: var(--chip); color: var(--ink); font-weight: 600; font-size: 0.875rem; letter-spacing: 0.02em; cursor: pointer; touch-action: manipulation; user-select: none; -webkit-user-select: none; transition: transform 160ms var(--ease-out), background-color 200ms ease; }
.toggle-btn:active { transform: scale(0.94); }
@media (hover: hover) and (pointer: fine) { .toggle-btn:hover { background: var(--line-2); } }
.toggle-btn svg { width: 18px; height: 18px; }
.theme-btn .moon { display: none; }
:root[data-theme="dark"] .theme-btn .sun { display: none; } :root[data-theme="dark"] .theme-btn .moon { display: block; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .theme-btn .sun { display: none; } :root:not([data-theme="light"]) .theme-btn .moon { display: block; } }
body { transition: background-color 400ms ease, color 400ms ease; }

/* ---------- Hero with orbit ---------- */
.hero { padding-top: calc(var(--nav-h) + clamp(32px, 6vw, 80px)); padding-bottom: clamp(48px, 6vw, 96px); position: relative; overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { font-size: var(--step-hero); letter-spacing: -0.05em; line-height: 0.98; }
.hero h1 .ln { display: block; overflow: hidden; padding-bottom: 0.08em; }
.hero h1 .ln > span { display: inline-block; }
.hero__sub { margin-top: 24px; max-width: 46ch; font-size: var(--step-lead); color: var(--soft); line-height: 1.45; }
.hero__cta { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero__note { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 8px; }
.hero__note .tag { background: var(--white); }
.hero__note .tag b { font-weight: 600; margin-right: 4px; }

.orbit-wrap { position: relative; }
.orbit { position: relative; width: 100%; max-width: 600px; margin-inline: auto; aspect-ratio: 1; }
.orbit svg.paths { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.orbit svg.paths ellipse { fill: none; stroke: var(--line-2); stroke-width: 1.5; stroke-dasharray: 2 7; stroke-linecap: round; } /* taste-skill-ignore: orbit paths drawn from the logo */
.nucleus { position: absolute; left: 50%; top: 50%; width: 26%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: var(--blue); display: grid; place-items: center; color: #fff; }
.nucleus svg { width: 56%; height: auto; }
.nucleus::before, .nucleus::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--blue); opacity: 0.18; z-index: -1; animation: pulse 3.2s var(--ease-out) infinite; }
.nucleus::after { animation-delay: 1.6s; }
@keyframes pulse { from { transform: scale(1); opacity: 0.22; } to { transform: scale(1.9); opacity: 0; } }
.planet { position: absolute; left: 0; top: 0; transform: translate(var(--px, 50%), var(--py, 50%)); will-change: transform; z-index: 2; }
.planet button { translate: -50% -50%; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px 0 8px; border-radius: 999px; border: 0; background: var(--white); color: var(--ink); font-weight: 500; font-size: 0.9375rem; white-space: nowrap; cursor: pointer; touch-action: manipulation; user-select: none; -webkit-user-select: none; box-shadow: 0 10px 30px -12px rgba(4, 22, 43, 0.35); transition: transform 200ms var(--ease-out), background-color 250ms ease, color 250ms ease; } /* taste-skill-ignore: planets float above the orbit */
.planet button i { width: 28px; height: 28px; border-radius: 50%; background: var(--sky); display: block; flex: none; transition: background-color 250ms ease; }
.planet button:active { transform: scale(0.95); }
@media (hover: hover) and (pointer: fine) { .planet button:hover { transform: scale(1.06); } }
.planet button[aria-pressed="true"] { background: var(--inv); color: var(--inv-ink); }
.planet button[aria-pressed="true"] i { background: var(--blue); }
.orbit-card { position: relative; margin: -40px auto 0; max-width: 460px; z-index: 3; background: var(--white); border-radius: 22px; padding: 22px 22px 22px 24px; display: grid; gap: 10px; box-shadow: 0 30px 60px -30px rgba(4, 22, 43, 0.35); } /* taste-skill-ignore: card floats over the orbit */
.orbit-card__top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.orbit-card h3 { font-size: 1.5rem; }
.orbit-card .price { font-family: var(--display); font-weight: 600; font-size: 1.5rem; letter-spacing: -0.03em; color: var(--blue-text); font-variant-numeric: tabular-nums; white-space: nowrap; }
.orbit-card p { color: var(--soft); font-size: 0.9375rem; }
.orbit-card .row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: space-between; margin-top: 4px; }
.orbit-card.is-swap > * { animation: swap 380ms var(--ease-out); }
@keyframes swap { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.orbit-hint { text-align: center; color: var(--soft); font-size: var(--step-small); margin-top: 14px; }

/* ---------- Clients marquee ---------- */
.clients { padding-block: 28px 8px; }
.clients p.lbl { text-align: center; color: var(--soft); font-size: 0.9375rem; margin-bottom: 18px; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); } /* taste-skill-ignore: edge fade on the marquee */
.marquee__t { display: flex; width: max-content; animation: mq 40s linear infinite; }
.marquee__t ul { display: flex; align-items: center; gap: 48px; padding: 0 48px 0 0; margin: 0; list-style: none; }
.marquee__t li { font-family: var(--display); font-weight: 600; font-size: clamp(1.5rem, 1rem + 1.6vw, 2.5rem); letter-spacing: -0.04em; white-space: nowrap; display: flex; align-items: center; gap: 48px; }
.marquee__t li small { font-family: var(--text); font-size: 0.875rem; font-weight: 500; letter-spacing: 0; color: var(--soft); margin-left: -36px; padding: 4px 10px; border-radius: 999px; background: var(--white); align-self: center; }
.marquee__t li::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--blue); }
@keyframes mq { to { transform: translateX(-50%); } }
@media (hover: hover) and (pointer: fine) { .marquee:hover .marquee__t { animation-play-state: paused; } }

/* ---------- Stacked services ---------- */
.stack { display: grid; gap: 24px; }
.scard { position: sticky; top: calc(var(--nav-h) + 16px + var(--i, 0) * 16px); min-height: min(560px, calc(100svh - var(--nav-h) - 120px)); border-radius: 36px; padding: clamp(28px, 4vw, 56px); display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; transform-origin: 50% 0; overflow: hidden; }
.scard:nth-child(1) { background: var(--white); }
.scard:nth-child(2) { background: var(--blue); color: var(--on-blue); }
.scard:nth-child(3) { background: var(--navy); color: #ffffff; }
.scard:nth-child(4) { background: var(--sky); }
.scard:nth-child(5) { background: var(--inv); color: var(--inv-ink); }
.scard__txt { display: grid; gap: 18px; align-content: start; }
.scard h3 { font-size: clamp(2rem, 1.2rem + 2.6vw, 3.5rem); }
.scard .price { font-family: var(--display); font-weight: 600; font-size: clamp(1.5rem, 1.1rem + 1vw, 2rem); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.scard .price small { font-family: var(--text); font-weight: 400; font-size: 0.9375rem; letter-spacing: 0; opacity: 0.75; margin-left: 6px; }
.scard p { max-width: 44ch; opacity: 0.85; }
.scard ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.scard ul li { min-height: 32px; padding: 0 12px; border-radius: 999px; background: rgba(127, 127, 127, 0.14); display: inline-flex; align-items: center; font-size: 0.875rem; }
.scard:nth-child(2) .pill, .scard:nth-child(4) .pill { background: var(--inv); color: var(--inv-ink); }
.scard:nth-child(2) .pill::before, .scard:nth-child(4) .pill::before { background: var(--white); }
.scard:nth-child(2) .pill .pill__i, .scard:nth-child(4) .pill .pill__i { background: var(--inv-chip); color: var(--inv-ink); }
@media (hover: hover) and (pointer: fine) { .scard:nth-child(2) .pill:hover, .scard:nth-child(4) .pill:hover { color: var(--ink); } }
.scard__art { border-radius: 24px; background: rgba(127, 127, 127, 0.1); padding: 18px; min-height: 280px; display: grid; align-content: center; }
.art-store { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.art-store div { background: var(--white); border-radius: 14px; padding: 10px; display: grid; gap: 8px; color: var(--ink); }
.art-store i { aspect-ratio: 1; border-radius: 10px; background: var(--blue); display: block; }
.art-store div:nth-child(2n) i { background: var(--sky-2); } .art-store div:nth-child(3n) i { background: var(--navy); }
.art-store span { height: 8px; border-radius: 4px; background: var(--line-2); display: block; width: 70%; }
.art-store b { font-size: 0.8125rem; font-weight: 500; font-variant-numeric: tabular-nums; }
.art-page { background: var(--white); border-radius: 16px; padding: 18px; display: grid; gap: 10px; color: var(--ink); }
.art-page .top { display: flex; justify-content: space-between; align-items: center; } .art-page .top i { width: 64px; height: 10px; border-radius: 5px; background: var(--ink); display: block; } .art-page .top span { display: flex; gap: 6px; } .art-page .top span i { width: 28px; background: var(--line-2); }
.art-page .hero-b { height: 110px; border-radius: 12px; background: var(--blue); }
.art-page .cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; } .art-page .cols i { height: 54px; border-radius: 10px; background: var(--sky); display: block; }
.art-funnel { display: grid; gap: 8px; justify-items: center; }
.art-funnel i { display: block; height: 22px; border-radius: 11px; background: currentColor; }
.art-funnel i:nth-child(1) { width: 92%; opacity: 0.25; } .art-funnel i:nth-child(2) { width: 70%; opacity: 0.45; } .art-funnel i:nth-child(3) { width: 48%; opacity: 0.7; } .art-funnel i:nth-child(4) { width: 26%; opacity: 1; }
.art-cat { display: grid; grid-template-columns: 110px 1fr; gap: 12px; }
.art-cat .side { display: grid; gap: 8px; align-content: start; } .art-cat .side i { height: 18px; border-radius: 8px; background: rgba(127,127,127,0.22); display: block; } .art-cat .side i:first-child { background: var(--blue); }
.art-cat .grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; } .art-cat .grid i { aspect-ratio: 1; border-radius: 12px; background: rgba(255,255,255,0.12); display: block; } .art-cat .grid i:nth-child(3n+1) { background: var(--blue); }
.art-corp { display: grid; gap: 10px; }
.art-corp div { display: grid; grid-template-columns: 44px 1fr auto; gap: 12px; align-items: center; background: rgba(255,255,255,0.08); border-radius: 14px; padding: 12px; }
.art-corp div i { width: 44px; height: 44px; border-radius: 12px; background: var(--blue); display: block; }
.art-corp div span { height: 10px; border-radius: 5px; background: rgba(255,255,255,0.25); display: block; }
.art-corp div b { font-size: 0.8125rem; font-weight: 500; opacity: 0.8; }

/* ---------- Portfolio (horizontal) ---------- */
.work { background: var(--navy); color: #ffffff; overflow: hidden; }
.work .lead { color: var(--navy-soft); }
.work__pin { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; gap: clamp(28px, 4vw, 48px); padding-block: calc(var(--nav-h) + 24px) 48px; }
.work__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 20px 48px; }
.track { display: flex; gap: 20px; padding-left: max(var(--gutter), calc((100vw - var(--wrap)) / 2)); padding-right: var(--gutter); width: max-content; }
.proj { width: min(70vw, 760px); flex: none; }
.proj button { all: unset; display: block; cursor: pointer; border-radius: 26px; width: 100%; }
.proj button:focus-visible { outline: 2.5px solid var(--blue); outline-offset: 4px; }
.proj__img { aspect-ratio: 16 / 9.4; border-radius: 22px; overflow: hidden; background: var(--navy-2); position: relative; }
.proj__img img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform 900ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .proj button:hover .proj__img img { transform: scale(1.04); } }
.proj__meta { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; padding: 18px 4px 0; }
.proj__meta h3 { font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2.25rem); }
.proj__meta p { color: var(--navy-soft); font-size: 0.9375rem; text-align: right; }
.proj__count { color: var(--navy-soft); font-variant-numeric: tabular-nums; }
.work__hint { color: var(--navy-soft); font-size: var(--step-small); }
.cursor-view { position: fixed; left: 0; top: 0; z-index: 66; width: 92px; height: 92px; margin: -46px 0 0 -46px; border-radius: 50%; background: var(--blue); color: var(--on-blue); display: grid; place-items: center; font-weight: 600; font-size: 0.9375rem; pointer-events: none; opacity: 0; transform: translate(var(--cx, -200px), var(--cy, -200px)) scale(0.4); transition: opacity 250ms ease, transform 250ms var(--ease-out); }
.cursor-view.is-on { opacity: 1; transform: translate(var(--cx), var(--cy)) scale(1); }
.cursor-view.is-moving { transition: opacity 250ms ease; }

dialog.preview { border: 0; padding: 0; background: transparent; color: var(--ink); width: min(1120px, calc(100% - 24px)); max-width: none; max-height: calc(100dvh - 24px); overflow: visible; opacity: 0; transform: translateY(16px) scale(0.98); transition: opacity 300ms var(--ease-out), transform 300ms var(--ease-out), overlay 300ms allow-discrete, display 300ms allow-discrete; }
dialog.preview[open] { opacity: 1; transform: none; }
@starting-style { dialog.preview[open] { opacity: 0; transform: translateY(16px) scale(0.98); } }
dialog.preview::backdrop { background: rgba(4, 22, 43, 0.7); }
.preview__in { background: var(--white); border-radius: var(--r); padding: 18px; display: grid; gap: 16px; max-height: calc(100dvh - 40px); overflow: auto; overscroll-behavior: contain; }
.preview__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.preview__top h3 { font-size: clamp(1.375rem, 1rem + 1vw, 2rem); }
.icon-btn { width: 46px; height: 46px; border-radius: 50%; border: 0; display: grid; place-items: center; background: var(--chip); cursor: pointer; touch-action: manipulation; transition: transform 160ms var(--ease-out); flex: none; }
.icon-btn:active { transform: scale(0.94); }
.icon-btn svg { width: 18px; height: 18px; }
.browser { background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 0 0 1px var(--line); } /* taste-skill-ignore: interface fragment frame */
.browser__bar { display: flex; align-items: center; gap: 8px; padding: 10px 14px; background: #eef1f4; font-size: 12.5px; }
.browser__dots { display: flex; gap: 6px; } .browser__dots i { width: 10px; height: 10px; border-radius: 50%; background: #c9ced4; display: block; }
.browser__url { flex: 1; min-width: 0; background: #fff; border-radius: 6px; padding: 4px 10px; color: #555; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pv-img { display: block; width: 100%; height: auto; }
.preview__info { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; }
.preview__info ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.preview__actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- Process timeline ---------- */
.process { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.process__head { position: sticky; top: calc(var(--nav-h) + 40px); display: grid; gap: 20px; }
.tl { position: relative; list-style: none; margin: 0; padding: 0 0 0 64px; display: grid; gap: clamp(40px, 5vw, 64px); }
.tl::before { content: ""; position: absolute; left: 21px; top: 8px; bottom: 8px; width: 2px; background: var(--line-2); border-radius: 1px; } /* taste-skill-ignore: timeline track, not a divider */
.tl__fill { position: absolute; left: 21px; top: 8px; bottom: 8px; width: 2px; background: var(--blue); transform-origin: top; transform: scaleY(1); border-radius: 1px; }
.has-gsap .tl__fill { transform: scaleY(0); }
.tl li { position: relative; display: grid; gap: 8px; }
.tl li::before { content: ""; position: absolute; left: -54px; top: 4px; width: 24px; height: 24px; border-radius: 50%; background: var(--paper); box-shadow: inset 0 0 0 2px var(--blue); } /* taste-skill-ignore: timeline node */
.tl li.is-lit::before, .tl li:first-child::before { background: var(--blue); }
.tl .when { color: var(--blue-text); font-weight: 500; font-size: 0.9375rem; }
.tl h3 { font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2.25rem); }
.tl p { color: var(--soft); max-width: 46ch; }

/* ---------- Quote builder (kept) ---------- */
#cotizador { background: var(--white); }
.quote { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 20px; align-items: start; }
.quote > .shell { background: var(--paper); }
.quote > .shell > .core { padding: clamp(22px, 3vw, 40px); }
.q-progress { display: flex; gap: 6px; margin-bottom: 28px; }
.q-progress i { flex: 1; height: 6px; border-radius: 3px; background: var(--line-2); overflow: hidden; display: block; position: relative; }
.q-progress i::after { content: ""; position: absolute; inset: 0; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform 500ms var(--ease-out); }
.q-progress i.on::after { transform: scaleX(1); }
.q-step { display: none; }
.q-step.is-active { display: grid; gap: 22px; animation: stepIn 450ms var(--ease-out); }
@keyframes stepIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.q-step legend, .q-title { font-family: var(--display); font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2.25rem); font-weight: 600; letter-spacing: -0.035em; line-height: 1.1; padding: 0; }
.q-step fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 18px; min-width: 0; }
.q-hint { color: var(--soft); }
.choices { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); gap: 10px; }
.choice { position: relative; display: grid; gap: 4px; padding: 18px 44px 18px 18px; border-radius: 18px; background: var(--white); cursor: pointer; touch-action: manipulation; user-select: none; -webkit-user-select: none; transition: background-color 250ms ease, transform 160ms var(--ease-out), box-shadow 250ms ease; }
.choice:active { transform: scale(0.98); }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice b { font-weight: 600; font-size: 1.0625rem; }
.choice span { color: var(--soft); font-size: 0.875rem; font-variant-numeric: tabular-nums; }
.choice:has(input:checked) { background: var(--sky); box-shadow: inset 0 0 0 2px var(--blue); } /* taste-skill-ignore: selected state on a form control */
.choice:has(input:focus-visible) { outline: 2.5px solid var(--blue); outline-offset: 3px; }
@media (hover: hover) and (pointer: fine) { .choice:hover { background: var(--sky); } }
.choice__check { position: absolute; right: 14px; top: 14px; width: 22px; height: 22px; border-radius: 50%; background: var(--line); display: grid; place-items: center; transition: background-color 250ms ease, transform 300ms var(--ease-out); }
.choice__check svg { width: 12px; height: 12px; opacity: 0; transition: opacity 200ms ease; }
.choice:has(input:checked) .choice__check { background: var(--blue); color: #fff; transform: scale(1.08); }
.choice:has(input:checked) .choice__check svg { opacity: 1; }
.range-wrap { display: grid; gap: 12px; }
.range-val { font-family: var(--display); font-size: clamp(2.5rem, 2rem + 2vw, 3.5rem); font-weight: 600; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; line-height: 1; }
input[type="range"] { width: 100%; accent-color: var(--blue); height: 32px; touch-action: pan-y; font-size: 16px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 0.9375rem; color: var(--soft); }
.field input { min-height: 54px; border-radius: 14px; border: 0; padding: 0 16px; background: var(--white); color: var(--ink); font: 400 16px/1 var(--text); transition: box-shadow 200ms ease; }
.field input:focus { outline: none; box-shadow: inset 0 0 0 2px var(--blue); } /* taste-skill-ignore: focus ring on a form field */
.q-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 8px; flex-wrap: wrap; }
.q-err { color: #c62828; font-size: 0.9375rem; min-height: 1.4em; }
.q-sum { position: sticky; top: calc(var(--nav-h) + 24px); background: var(--navy); color: #fff; }
.q-sum .core { padding: clamp(22px, 2.6vw, 32px); display: grid; gap: 18px; }
.q-sum h3 { font-family: var(--text); font-size: 1rem; font-weight: 500; letter-spacing: 0; color: var(--navy-soft); }
.q-total { font-family: var(--display); font-size: clamp(2.75rem, 2rem + 2.4vw, 4rem); font-weight: 600; letter-spacing: -0.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.q-lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 0.9375rem; }
.q-lines li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; }
.q-lines li span:last-child { font-variant-numeric: tabular-nums; }
.q-lines .sub { color: var(--navy-soft); }
.q-meta { display: grid; gap: 6px; font-size: 0.9375rem; color: var(--navy-soft); }
.q-meta b { color: #fff; font-weight: 500; }
.q-sum .muted { color: var(--navy-soft); }
.q-done .actions { display: flex; flex-wrap: wrap; gap: 10px; }
.q-done pre { white-space: pre-wrap; font: 400 0.9375rem/1.55 var(--text); background: var(--white); border-radius: 16px; padding: 18px; margin: 0; }

/* ---------- Plans ---------- */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.plan { background: var(--white); border-radius: var(--r); padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; gap: 20px; transition: transform 400ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .plan:hover { transform: translateY(-6px); } }
.plan--rec { background: var(--blue); color: var(--on-blue); }
.plan__name { font-weight: 600; font-size: 1.125rem; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.plan--rec .tag { background: rgba(0, 26, 51, 0.12); }
.plan__price { font-family: var(--display); font-size: clamp(2.5rem, 1.8rem + 2vw, 3.5rem); font-weight: 600; letter-spacing: -0.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.plan__price small { font-family: var(--text); font-size: 0.9375rem; letter-spacing: 0; opacity: 0.75; font-weight: 400; display: block; margin-top: 8px; }
.plan ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.plan li { display: flex; gap: 10px; align-items: baseline; }
.plan li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--blue); flex: none; transform: translateY(-2px); }
.plan--rec li::before { background: var(--on-blue); }
.plan .pill { margin-top: auto; align-self: flex-start; }
.plan--rec .pill { background: var(--inv); color: var(--inv-ink); } .plan--rec .pill::before { background: var(--white); } .plan--rec .pill .pill__i { background: var(--inv-chip); color: var(--inv-ink); }
@media (hover: hover) and (pointer: fine) { .plan--rec .pill:hover { color: var(--ink); } }
.plans-note { margin-top: 24px; color: var(--soft); font-size: var(--step-small); max-width: 80ch; }

/* ---------- FAQ (kept) ---------- */
.faq { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq__head { position: sticky; top: calc(var(--nav-h) + 40px); display: grid; gap: 20px; }
.acc { display: grid; gap: 10px; }
.acc .shell { background: var(--white); }
.acc__q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 76px; padding: 18px 24px; background: none; border: 0; cursor: pointer; text-align: left; font-family: var(--display); font-size: 1.125rem; font-weight: 600; letter-spacing: -0.02em; touch-action: manipulation; border-radius: var(--r); }
.acc__plus { position: relative; width: 34px; height: 34px; border-radius: 50%; background: var(--chip); flex: none; transition: transform 400ms var(--ease-out), background-color 300ms ease, color 300ms ease; }
.acc__plus::before, .acc__plus::after { content: ""; position: absolute; left: 10px; right: 10px; top: 16.25px; height: 1.5px; background: currentColor; border-radius: 1px; }
.acc__plus::after { transform: rotate(90deg); transition: transform 400ms var(--ease-out); }
.acc__q[aria-expanded="true"] .acc__plus { background: var(--blue); color: #fff; transform: rotate(180deg); }
.acc__q[aria-expanded="true"] .acc__plus::after { transform: rotate(0deg); }
.acc__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 400ms var(--ease-out); }
.acc__a > div { overflow: hidden; }
.acc__a p { padding: 0 24px 22px; color: var(--soft); max-width: 60ch; }
.acc__q[aria-expanded="true"] + .acc__a { grid-template-rows: 1fr; }

/* ---------- Final CTA ---------- */
.final { background: var(--blue); color: var(--on-blue); border-radius: 40px; padding: clamp(40px, 7vw, 104px) clamp(24px, 5vw, 72px); position: relative; overflow: hidden; display: grid; gap: 28px; }
.final h2 { font-size: clamp(2.5rem, 1.3rem + 5vw, 6.5rem); letter-spacing: -0.055em; max-width: 13ch; position: relative; z-index: 1; }
.final p { position: relative; z-index: 1; max-width: 44ch; font-size: var(--step-lead); }
.final .cta-row { display: flex; flex-wrap: wrap; gap: 12px; position: relative; z-index: 1; }
.final .pill { background: var(--inv); color: var(--inv-ink); } .final .pill::before { background: var(--white); } .final .pill .pill__i { background: var(--inv-chip); color: var(--inv-ink); }
.final .pill--ghost { background: var(--white); color: var(--ink); } .final .pill--ghost::before { background: var(--inv); } .final .pill--ghost .pill__i { background: var(--chip); color: var(--ink); }
@media (hover: hover) and (pointer: fine) { .final .pill:hover { color: var(--ink); } .final .pill--ghost:hover { color: var(--inv-ink); } }
.final__orbit { position: absolute; right: -8%; top: 50%; width: min(620px, 70%); aspect-ratio: 1; transform: translateY(-50%); color: rgba(0, 26, 51, 0.12); pointer-events: none; }
.final__orbit svg { width: 100%; height: 100%; animation: spin 60s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.contact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 20px; }
.contact-grid > div { background: var(--white); border-radius: var(--r); padding: 24px 26px; display: grid; gap: 6px; min-height: 130px; align-content: space-between; }
.contact-grid h3 { font-family: var(--text); font-size: 0.9375rem; font-weight: 400; letter-spacing: 0; color: var(--soft); }
.contact-grid a, .contact-grid p { font-family: var(--display); font-weight: 600; font-size: clamp(1.125rem, 1rem + 0.5vw, 1.375rem); letter-spacing: -0.02em; text-decoration: none; overflow-wrap: anywhere; }
@media (hover: hover) and (pointer: fine) { .contact-grid a:hover { color: var(--blue-text); } }
.copy-btn { justify-self: start; min-height: 36px; padding: 0 14px; border-radius: 999px; border: 0; background: var(--chip); cursor: pointer; font-size: 0.875rem; touch-action: manipulation; transition: transform 160ms var(--ease-out); }
.copy-btn:active { transform: scale(0.96); }

/* ---------- Footer ---------- */
.footer { background: var(--navy); color: #fff; padding-block: 80px 40px; margin-top: var(--sec); }
.footer__name { font-family: var(--brand); font-weight: 600; letter-spacing: -0.05em; font-size: clamp(3.25rem, 0.5rem + 12.5vw, 13.5rem); line-height: 0.9; display: flex; align-items: center; gap: 0.15em; white-space: nowrap; overflow: hidden; }
.footer__name svg { width: 0.82em; height: 0.82em; flex: none; color: var(--blue); }
.footer__cols { margin-top: 56px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.footer__cols h3 { font-family: var(--text); font-size: 0.9375rem; font-weight: 400; color: var(--navy-soft); letter-spacing: 0; margin-bottom: 12px; }
.footer__cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer__cols a { text-decoration: none; }
@media (hover: hover) and (pointer: fine) { .footer__cols a:hover { color: var(--blue); } }
.footer__last { margin-top: 56px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: var(--step-small); color: var(--navy-soft); }

/* ---------- Chat (kept) ---------- */
.chat-fab { position: fixed; z-index: 65; right: calc(20px + env(safe-area-inset-right, 0px)); bottom: calc(20px + env(safe-area-inset-bottom, 0px)); width: 62px; height: 62px; border-radius: 50%; border: 0; cursor: pointer; background: var(--inv); color: var(--inv-ink); display: grid; place-items: center; box-shadow: 0 14px 34px -10px rgba(4, 22, 43, 0.55); touch-action: manipulation; transition: transform 300ms var(--ease-out); } /* taste-skill-ignore: floating action button */
.chat-fab:active { transform: scale(0.94); }
@media (hover: hover) and (pointer: fine) { .chat-fab:hover { transform: scale(1.06); } }
.chat-fab svg { width: 26px; height: 26px; transition: transform 400ms var(--ease-out), opacity 200ms ease; position: absolute; }
.chat-fab .x { opacity: 0; transform: rotate(-90deg) scale(0.6); }
.chat-open .chat-fab .bubble { opacity: 0; transform: rotate(90deg) scale(0.6); }
.chat-open .chat-fab .x { opacity: 1; transform: none; }
.chat-fab .dot { position: absolute; top: 4px; right: 4px; width: 12px; height: 12px; border-radius: 50%; background: #2ee07b; box-shadow: 0 0 0 3px var(--paper); } /* taste-skill-ignore: online dot ring */
.chat-open .chat-fab .dot { display: none; }
.chat { position: fixed; z-index: 64; right: calc(20px + env(safe-area-inset-right, 0px)); bottom: calc(94px + env(safe-area-inset-bottom, 0px)); width: min(380px, calc(100% - 40px)); height: min(560px, calc(100dvh - 140px)); display: flex; flex-direction: column; border-radius: 26px; background: var(--white); box-shadow: 0 30px 70px -20px rgba(4, 22, 43, 0.45); overflow: hidden; transform-origin: calc(100% - 30px) calc(100% + 40px); opacity: 0; transform: scale(0.9); visibility: hidden; transition: opacity 250ms var(--ease-out), transform 300ms var(--ease-out), visibility 0s linear 300ms; } /* taste-skill-ignore: chat panel floats */
.chat-open .chat { opacity: 1; transform: none; visibility: visible; transition: opacity 250ms var(--ease-out), transform 300ms var(--ease-out); }
.chat__head { display: flex; align-items: center; gap: 12px; padding: 16px 18px; background: var(--navy); color: #fff; }
.chat__av { width: 40px; height: 40px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; flex: none; }
.chat__av svg { width: 22px; height: 22px; }
.chat__head b { display: block; font-weight: 600; }
.chat__head span { font-size: 0.8125rem; color: var(--navy-soft); }
.chat__log { flex: 1; overflow-y: auto; padding: 18px; display: flex; flex-direction: column; gap: 10px; overscroll-behavior: contain; background: var(--paper); }
.msg { max-width: 85%; padding: 10px 14px; border-radius: 18px; font-size: 0.9375rem; line-height: 1.45; animation: msgIn 300ms var(--ease-out); white-space: pre-line; }
@keyframes msgIn { from { opacity: 0; transform: translateY(8px) scale(0.98); } to { opacity: 1; transform: none; } }
.msg--bot { background: var(--white); align-self: flex-start; border-bottom-left-radius: 6px; }
.msg--me { background: var(--blue); color: var(--on-blue); align-self: flex-end; border-bottom-right-radius: 6px; }
.msg a { color: inherit; font-weight: 600; }
.typing { display: inline-flex; gap: 4px; align-items: center; height: 20px; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--soft); animation: blink 1s infinite ease-in-out; display: block; }
.typing i:nth-child(2) { animation-delay: 150ms; } .typing i:nth-child(3) { animation-delay: 300ms; }
@keyframes blink { 0%, 80%, 100% { opacity: 0.25; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
.chat__chips { display: flex; gap: 6px; padding: 10px 18px; overflow-x: auto; scrollbar-width: none; background: var(--paper); }
.chat__chips button { flex: none; min-height: 36px; padding: 0 12px; border-radius: 999px; border: 0; background: var(--white); cursor: pointer; font-size: 0.8125rem; touch-action: manipulation; transition: background-color 200ms ease, transform 160ms var(--ease-out); }
.chat__chips button:active { transform: scale(0.96); }
@media (hover: hover) and (pointer: fine) { .chat__chips button:hover { background: var(--sky); } }
.chat__form { display: flex; gap: 8px; padding: 12px; background: var(--white); }
.chat__form input { flex: 1; min-width: 0; min-height: 44px; border: 0; border-radius: 999px; padding: 0 16px; background: var(--paper); color: var(--ink); font: 400 16px/1 var(--text); }
.chat__form input:focus { outline: 2px solid var(--blue); outline-offset: 0; }
.chat__form button { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--blue); color: var(--on-blue); display: grid; place-items: center; cursor: pointer; flex: none; transition: transform 160ms var(--ease-out); }
.chat__form button:active { transform: scale(0.94); }
.chat__form button svg { width: 18px; height: 18px; }

/* ---------- Motion helpers ---------- */
.rise { transition: opacity 800ms var(--ease-out), transform 800ms var(--ease-out); transition-delay: calc(var(--i, 0) * 70ms); }
.js .rise.is-waiting { opacity: 0; transform: translateY(32px); }
.js .hero h1 .ln > span { transform: translateY(110%); transition: transform 1000ms var(--ease-drawer); }
.js .hero h1 .ln:nth-child(2) > span { transition-delay: 90ms; }
.js .hero.is-in h1 .ln > span { transform: none; }
.js .hero .fade-in { opacity: 0; transform: translateY(14px); transition: opacity 700ms var(--ease-out) 450ms, transform 700ms var(--ease-out) 450ms; }
.js .hero.is-in .fade-in { opacity: 1; transform: none; }
.js .orbit-wrap { opacity: 0; transform: scale(0.94); transition: opacity 1000ms var(--ease-out) 250ms, transform 1200ms var(--ease-out) 250ms; }
.js .hero.is-in .orbit-wrap { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .rise.is-waiting { transform: none; }
  .rise { transition: opacity 300ms linear; }
  .js .hero h1 .ln > span, .js .hero .fade-in, .js .orbit-wrap { transform: none; opacity: 1; transition: none; }
  .planet button { transition: background-color 200ms ease, color 200ms ease; }
  .marquee__t, .nucleus::before, .nucleus::after, .final__orbit svg, .typing i { animation: none; }
  .q-step.is-active, .msg, .orbit-card.is-swap > * { animation: none; }
  .pill, .pill::before, .pill__i, .pill__roll > span, .proj__img img, .plan, .drawer__panel, .drawer ul a, .chat, .chat-fab, dialog.preview { transition-property: opacity, background-color, color; transform: none !important; translate: none; }
  .pill::before { opacity: 0; } .pill:hover::before { opacity: 1; }
  .drawer.is-open .drawer__panel { transform: none; } .drawer__panel { transform: translateX(100%); }
}

/* ---------- Tablet ---------- */
@media (max-width: 1080px) {
  .nav__links { display: none; }
  .menu-btn { display: inline-flex; align-items: center; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__copy { text-align: left; }
  .orbit { max-width: 540px; }
  .sec-head--split { grid-template-columns: 1fr; }
  .scard { grid-template-columns: 1fr; position: relative; top: auto; min-height: 0; }
  .scard__art { min-height: 220px; }
  .process, .faq { grid-template-columns: 1fr; }
  .process__head, .faq__head { position: static; }
  .quote { grid-template-columns: 1fr; }
  .q-sum { position: static; }
  .plans { grid-template-columns: 1fr 1fr; }
  .plan:last-child { grid-column: span 2; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
}

/* ---------- Phone ---------- */
@media (max-width: 720px) {
  :root { --nav-h: 64px; }
  .nav .pill { display: none; }
  .nav .logo { font-size: 1rem; }
  .nav__right { gap: 6px; }
  .toggle-btn { min-width: 42px; height: 42px; padding: 0 10px; }
  .menu-btn { min-height: 42px; padding: 0 14px; }
  .hero h1 { font-size: 11vw; }
  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .pill { justify-content: space-between; }
  .planet button { min-height: 38px; padding: 0 12px 0 6px; font-size: 0.8125rem; gap: 6px; }
  .planet button i { width: 22px; height: 22px; }
  .orbit-card { margin-top: -10px; }
  .orbit-card .row .pill { width: 100%; justify-content: space-between; }
  .scard { border-radius: 28px; }
  .proj { width: 84vw; }
  .fields { grid-template-columns: 1fr; }
  .q-nav .pill { flex: 1; justify-content: space-between; }
  .plans { grid-template-columns: 1fr; }
  .plan:last-child { grid-column: auto; }
  .final { border-radius: 28px; }
  .final .cta-row { flex-direction: column; align-items: stretch; }
  .final .pill { justify-content: space-between; }
  .contact-grid { grid-template-columns: 1fr; }
  .chat { right: 10px; left: 10px; width: auto; bottom: calc(88px + env(safe-area-inset-bottom, 0px)); height: min(70dvh, 560px); }
  .chat-fab { right: calc(14px + env(safe-area-inset-right, 0px)); bottom: calc(14px + env(safe-area-inset-bottom, 0px)); }
  dialog.preview { width: calc(100% - 16px); }
  .preview__in { padding: 12px; }
  .preview__actions { width: 100%; }
  .preview__actions .pill { flex: 1; justify-content: space-between; }
}

/* Portfolio: native horizontal scroll where GSAP pinning does not run */
.no-pin .work__pin { min-height: 0; padding-block: var(--sec); }
.no-pin .track-wrap { overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.no-pin .track-wrap::-webkit-scrollbar { display: none; }
.no-pin .proj { scroll-snap-align: center; }

/* ---------- Blog ---------- */
.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.post-card a { display: grid; gap: 14px; text-decoration: none; height: 100%; background: var(--white); border-radius: var(--r); padding: 10px 10px 24px; transition: transform 400ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .post-card a:hover { transform: translateY(-6px); } .post-card a:hover .post-cover svg { transform: rotate(45deg) scale(1.06); } }
.post-card a:active { transform: scale(0.99); }
.post-cover { aspect-ratio: 16 / 9; border-radius: 20px; overflow: hidden; background: var(--pc, var(--blue)); display: grid; place-items: center; color: rgba(255, 255, 255, 0.92); }
.post-cover img { width: 100%; height: 100%; object-fit: cover; }
.post-cover svg { width: 34%; height: auto; transition: transform 900ms var(--ease-out); }
.post-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 0 12px; color: var(--soft); font-size: 0.875rem; }
.post-card h3 { padding: 0 12px; font-size: clamp(1.25rem, 1rem + 0.6vw, 1.5rem); letter-spacing: -0.03em; line-height: 1.15; }
.post-card p { padding: 0 12px; color: var(--soft); font-size: 0.9375rem; }
.posts-foot { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; }
.posts-empty { padding: 32px; border-radius: var(--r); background: var(--white); color: var(--soft); }
@media (max-width: 1080px) { .posts { grid-template-columns: 1fr 1fr; } .posts .post-card:nth-child(3) { display: none; } }
@media (max-width: 720px) { .posts { grid-template-columns: 1fr; } .posts .post-card:nth-child(3) { display: block; } }
.pill[hidden] { display: none !important; }
