/* =====================================================================
   NEXORA DIGITAL — stylesheet
   ===================================================================== */

/* ---------- Fonts (self-hosted, GDPR-friendly: no third-party requests) ---------- */
@font-face {
  font-family: 'Space Grotesk';
  src: url('../fonts/space-grotesk-latin-wght-normal.woff2') format('woff2');
  font-weight: 300 700;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Space Grotesk';
  src: url('../fonts/space-grotesk-latin-ext-wght-normal.woff2') format('woff2');
  font-weight: 300 700;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter-latin-wght-normal.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter-latin-ext-wght-normal.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Instrument Serif';
  src: url('../fonts/instrument-serif-latin-400-italic.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --bg: #050608;
  --bg-1: #08090d;
  --bg-2: #0d0f15;
  --bg-3: #13161e;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --text: #f4f6fb;
  --text-2: #b3bbca;
  --text-3: #808a9b;
  --blue: #2f6bff;
  --blue-2: #4d8bff;
  --blue-3: #8db6ff;
  --violet: #8b5cf6;
  --violet-2: #b6a2ff;
  --ok: #4ade80;
  --warn: #fbbf24;
  --err: #ff8a8a;

  --font-display: 'Space Grotesk', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-serif: 'Instrument Serif', 'Times New Roman', serif;

  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 28px;
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --header-h: 76px;
  --gutter: clamp(16px, 4vw, 40px);
  --maxw: 1280px;
}

/* ---------- Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
  background: var(--bg);
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  font-feature-settings: 'ss01', 'cv11';
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
body.nav-open,
body.modal-open {
  overflow: hidden;
}
img,
svg,
canvas {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
}
h1,
h2,
h3,
h4,
p,
ul,
ol {
  margin: 0;
}
ul[role='list'],
ol.process {
  list-style: none;
  padding: 0;
}
::selection {
  background: rgba(47, 107, 255, 0.45);
  color: #fff;
}
:focus-visible {
  outline: 2px solid var(--blue-3);
  outline-offset: 3px;
  border-radius: 6px;
}
[hidden] {
  display: none !important;
}

.container {
  width: 100%;
  max-width: calc(var(--maxw) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--text);
  color: var(--bg);
  font-weight: 600;
  transform: translateY(-160%);
  transition: transform 0.2s;
}
.skip-link:focus {
  transform: none;
}

/* Typographic accent: italic serif with a soft blue→violet tint */
em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
  background: linear-gradient(100deg, #a9c8ff 0%, #c4b5fd 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-right: 0.06em;
}

/* ---------- Buttons ---------- */
.btn {
  --h: 48px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: var(--h);
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 550;
  letter-spacing: -0.005em;
  line-height: 1.1;
  white-space: nowrap;
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease), color 0.3s var(--ease), box-shadow 0.4s var(--ease),
    transform 0.3s var(--ease);
}
.btn svg {
  flex: none;
  transition: transform 0.3s var(--ease);
}
.btn:hover svg {
  transform: translateX(3px);
}
.btn:active {
  transform: translateY(1px) scale(0.99);
}
.btn[disabled] {
  opacity: 0.6;
  pointer-events: none;
}
.btn--primary {
  background: var(--blue);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 10px 30px -10px rgba(47, 107, 255, 0.7);
}
.btn--primary:hover {
  background: #4179ff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 14px 40px -10px rgba(47, 107, 255, 0.9), 0 0 0 4px rgba(47, 107, 255, 0.14);
  transform: translateY(-1px);
}
.btn--light {
  background: var(--text);
  color: #07080b;
}
.btn--light:hover {
  background: #fff;
  box-shadow: 0 10px 30px -12px rgba(255, 255, 255, 0.5);
  transform: translateY(-1px);
}
.btn--glass {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line-2);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.btn--glass:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.26);
  transform: translateY(-1px);
}
.btn--ghost {
  background: transparent;
  border-color: var(--line-2);
}
.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.06);
}
.btn--sm {
  --h: 40px;
  padding: 0 16px;
  font-size: 14px;
}
.btn--lg {
  --h: 56px;
  padding: 0 28px;
  font-size: 16px;
}
.btn--block {
  width: 100%;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 550;
  font-size: 15px;
  color: var(--text);
  transition: color 0.3s, gap 0.3s var(--ease);
}
.link-arrow svg {
  color: var(--blue-3);
  transition: transform 0.3s var(--ease);
}
.link-arrow:hover {
  color: var(--blue-3);
}
.link-arrow:hover svg {
  transform: translateX(4px);
}
.link-arrow--up:hover svg {
  transform: translateY(-3px);
}
.link-btn {
  background: none;
  border: 0;
  padding: 0;
  color: inherit;
  font-size: inherit;
  text-align: left;
}
.icon-btn {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  transition: background 0.2s, transform 0.3s var(--ease);
}
.icon-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: rotate(90deg);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, 0.04);
  font-size: 12px;
  font-weight: 550;
  letter-spacing: 0.01em;
  color: var(--text-2);
  white-space: nowrap;
}
.badge--accent {
  border-color: rgba(77, 139, 255, 0.45);
  background: rgba(47, 107, 255, 0.14);
  color: var(--blue-3);
}
.badge--concept {
  background: rgba(5, 6, 8, 0.72);
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.18);
}
.badge--concept::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--violet-2);
}

/* ---------- Glass + spotlight ---------- */
.glass {
  position: relative;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.spot {
  isolation: isolate;
}
.spot::before,
.spot::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s var(--ease);
}
.spot::before {
  z-index: -1;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(77, 139, 255, 0.1), transparent 60%);
}
.spot::after {
  inset: -1px;
  padding: 1px;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 0%), rgba(141, 182, 255, 0.55), transparent 65%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
.spot:hover::before,
.spot:hover::after {
  opacity: 1;
}

/* ---------- Reveal animations ---------- */
html.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 1s var(--ease-out) calc(var(--d, 0) * 90ms), transform 1s var(--ease-out) calc(var(--d, 0) * 90ms);
}
html.js .reveal.is-in {
  opacity: 1;
  transform: none;
}

/* =====================================================================
   HEADER
   ===================================================================== */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  transition: border-color 0.4s;
  border-bottom: 1px solid transparent;
}
/* The blur lives on a pseudo-element: a backdrop-filter on the header itself would make it
   the containing block of the fixed mobile menu and clip it. */
.site-header::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(5, 6, 8, 0.72);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  backdrop-filter: blur(18px) saturate(150%);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
.site-header.is-scrolled::before,
body.nav-open .site-header::before {
  opacity: 1;
}
.site-header.is-scrolled,
body.nav-open .site-header {
  border-bottom-color: var(--line);
}
.site-header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 24px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: none;
}
.logo__mark {
  transition: transform 0.6s var(--ease);
}
.logo:hover .logo__mark {
  transform: rotate(-8deg) scale(1.04);
}
.logo__word {
  display: flex;
  flex-direction: column;
  font-family: var(--font-display);
  font-weight: 650;
  font-size: 17px;
  line-height: 1;
  letter-spacing: 0.14em;
}
.logo__word span {
  margin-top: 4px;
  font-size: 9.5px;
  font-weight: 450;
  letter-spacing: 0.52em;
  color: var(--text-3);
}

.nav {
  margin-inline: auto;
}
.nav__list {
  display: flex;
  gap: 4px;
  list-style: none;
  padding: 5px;
  margin: 0;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
}
.nav__list a {
  position: relative;
  display: block;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-2);
  transition: color 0.25s, background-color 0.25s;
}
.nav__list a:hover {
  color: var(--text);
}
.nav__list a.is-active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.07);
}
.nav__mobile-cta {
  display: none;
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.lang-switch {
  display: inline-flex;
  padding: 3px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
}
.lang-switch a {
  display: inline-grid;
  place-items: center;
  min-width: 38px;
  height: 32px;
  padding: 0 10px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--text-3);
  font-size: 12.5px;
  font-weight: 650;
  letter-spacing: 0.06em;
  transition: color 0.2s, background-color 0.2s;
}
.lang-switch a:hover {
  color: var(--text);
}
.lang-switch a[aria-current='page'] {
  background: var(--text);
  color: var(--bg);
}

.burger {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, 0.04);
}
.burger span {
  position: absolute;
  left: 13px;
  right: 13px;
  height: 1.6px;
  border-radius: 2px;
  background: var(--text);
  transition: transform 0.4s var(--ease), top 0.4s var(--ease);
}
.burger span:first-child {
  top: 17px;
}
.burger span:last-child {
  top: 25px;
}
body.nav-open .burger span:first-child {
  top: 21px;
  transform: rotate(45deg);
}
body.nav-open .burger span:last-child {
  top: 21px;
  transform: rotate(-45deg);
}

@media (max-width: 1080px) {
  .burger {
    display: block;
  }
  .nav {
    position: fixed;
    inset: var(--header-h) 0 0;
    margin: 0;
    padding: 24px var(--gutter) 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: rgba(5, 6, 8, 0.96);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), visibility 0.35s;
    overflow-y: auto;
  }
  body.nav-open .nav {
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .nav__list {
    flex-direction: column;
    gap: 0;
    padding: 0;
    border: 0;
    background: none;
  }
  .nav__list a {
    padding: 16px 0;
    border-radius: 0;
    border-bottom: 1px solid var(--line);
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 6vw, 2.2rem);
    font-weight: 500;
    letter-spacing: -0.02em;
    color: var(--text);
  }
  .nav__list a.is-active {
    background: none;
    color: var(--blue-3);
  }
  .nav__mobile-cta {
    display: inline-flex;
    margin-top: 32px;
    align-self: flex-start;
  }
  .site-header__actions {
    margin-left: auto;
  }
}
@media (max-width: 640px) {
  .site-header__cta {
    display: none;
  }
  .logo__word {
    font-size: 15px;
  }
}

/* =====================================================================
   HERO
   ===================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: calc(var(--header-h) + 40px) 0 120px;
  overflow: hidden;
  isolation: isolate;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
.hero__bg::after {
  /* fade into page */
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 220px;
  background: linear-gradient(transparent, var(--bg));
}
.hero__grid {
  position: absolute;
  left: -50%;
  right: -50%;
  bottom: -10%;
  height: 70%;
  background-image: linear-gradient(rgba(141, 182, 255, 0.13) 1px, transparent 1px),
    linear-gradient(90deg, rgba(141, 182, 255, 0.13) 1px, transparent 1px);
  background-size: 72px 72px;
  transform: perspective(520px) rotateX(62deg);
  transform-origin: 50% 0;
  -webkit-mask-image: radial-gradient(ellipse 55% 70% at 50% 0%, #000 0%, transparent 75%);
  mask-image: radial-gradient(ellipse 55% 70% at 50% 0%, #000 0%, transparent 75%);
  animation: grid-move 6s linear infinite;
}
@keyframes grid-move {
  to {
    background-position: 0 72px;
  }
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  will-change: transform;
}
.orb--1 {
  width: 620px;
  height: 620px;
  top: -220px;
  left: -140px;
  background: radial-gradient(circle, rgba(47, 107, 255, 0.55), transparent 65%);
  animation: drift-1 18s ease-in-out infinite alternate;
}
.orb--2 {
  width: 520px;
  height: 520px;
  top: 8%;
  right: -180px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.42), transparent 65%);
  animation: drift-2 22s ease-in-out infinite alternate;
}
.orb--3 {
  width: 760px;
  height: 380px;
  bottom: 4%;
  left: 50%;
  margin-left: -380px;
  background: radial-gradient(ellipse, rgba(77, 139, 255, 0.32), transparent 65%);
  animation: drift-3 16s ease-in-out infinite alternate;
}
@keyframes drift-1 {
  to {
    transform: translate(140px, 90px) scale(1.12);
  }
}
@keyframes drift-2 {
  to {
    transform: translate(-120px, 120px) scale(0.92);
  }
}
@keyframes drift-3 {
  to {
    transform: translate(60px, -50px) scale(1.15);
  }
}
.hero__beam {
  position: absolute;
  top: -10%;
  left: 50%;
  width: 900px;
  height: 700px;
  margin-left: -450px;
  background: conic-gradient(from 180deg at 50% 0%, transparent 160deg, rgba(141, 182, 255, 0.14) 180deg, transparent 200deg);
  filter: blur(18px);
  animation: beam 9s ease-in-out infinite alternate;
}
@keyframes beam {
  from {
    opacity: 0.5;
    transform: rotate(-4deg);
  }
  to {
    opacity: 1;
    transform: rotate(4deg);
  }
}
.hero__canvas {
  position: absolute;
  inset: 0;
}

/* Floating geometry */
.geo {
  position: absolute;
  transition: translate 0.2s linear;
}
.geo--ring {
  width: 440px;
  height: 440px;
  top: 14%;
  right: -90px;
  border-radius: 50%;
  border: 1px solid rgba(141, 182, 255, 0.22);
  box-shadow: inset 0 0 60px rgba(47, 107, 255, 0.08), 0 0 60px rgba(47, 107, 255, 0.06);
  animation: ring-spin 26s linear infinite;
}
.geo--ring::before {
  content: '';
  position: absolute;
  top: -5px;
  left: 50%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--blue-3);
  box-shadow: 0 0 18px 4px rgba(77, 139, 255, 0.8);
}
.geo--ring::after {
  content: '';
  position: absolute;
  inset: 40px;
  border-radius: 50%;
  border: 1px dashed rgba(182, 162, 255, 0.16);
}
@keyframes ring-spin {
  from {
    transform: rotateX(68deg) rotateZ(0deg);
  }
  to {
    transform: rotateX(68deg) rotateZ(360deg);
  }
}
.geo--ring-sm {
  width: 120px;
  height: 120px;
  bottom: 20%;
  left: 9%;
  border-radius: 50%;
  border: 1px solid rgba(182, 162, 255, 0.28);
  animation: float 9s ease-in-out infinite;
}
.geo--cube {
  top: 24%;
  left: 7%;
  width: 84px;
  height: 84px;
  perspective: 600px;
  animation: float 11s ease-in-out infinite;
}
.cube {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  animation: cube-spin 20s linear infinite;
}
.cube span {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(141, 182, 255, 0.45);
  background: rgba(47, 107, 255, 0.05);
}
.cube span:nth-child(1) { transform: translateZ(42px); }
.cube span:nth-child(2) { transform: rotateY(180deg) translateZ(42px); }
.cube span:nth-child(3) { transform: rotateY(90deg) translateZ(42px); }
.cube span:nth-child(4) { transform: rotateY(-90deg) translateZ(42px); }
.cube span:nth-child(5) { transform: rotateX(90deg) translateZ(42px); }
.cube span:nth-child(6) { transform: rotateX(-90deg) translateZ(42px); }
@keyframes cube-spin {
  from { transform: rotateX(-24deg) rotateY(0deg); }
  to { transform: rotateX(-24deg) rotateY(360deg); }
}
.geo--tri {
  top: 64%;
  right: 13%;
  width: 70px;
  color: rgba(182, 162, 255, 0.5);
  animation: float-rot 13s ease-in-out infinite;
}
.geo--glass {
  top: 58%;
  right: 4%;
  width: 150px;
  height: 150px;
  border-radius: 34px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.01));
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.6);
  animation: float-rot-2 15s ease-in-out infinite;
}
.geo--dot {
  top: 30%;
  right: 24%;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fff, var(--blue-2) 50%, var(--violet));
  box-shadow: 0 0 24px 6px rgba(77, 139, 255, 0.5);
  animation: float 7s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-22px); }
}
@keyframes float-rot {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-26px) rotate(20deg); }
}
@keyframes float-rot-2 {
  0%, 100% { transform: translateY(0) rotate(12deg); }
  50% { transform: translateY(-18px) rotate(-4deg); }
}

.hero__content {
  position: relative;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero__status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px 7px 12px;
  margin-bottom: 32px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, 0.04);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-2);
}
.pulse-dot {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue-2);
}
.pulse-dot::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid var(--blue-2);
  animation: pulse 2s var(--ease-out) infinite;
}
@keyframes pulse {
  from { transform: scale(0.6); opacity: 1; }
  to { transform: scale(2); opacity: 0; }
}
.hero__title {
  max-width: 13ch;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.9rem, 8vw, 7rem);
  line-height: 0.98;
  letter-spacing: -0.048em;
  text-wrap: balance;
}
.hero__title em {
  font-size: 1.08em;
  letter-spacing: -0.02em;
}
.hero__sub {
  max-width: 600px;
  margin-top: 28px;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  line-height: 1.6;
  color: var(--text-2);
  text-wrap: pretty;
}
.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 40px;
}
.hero__tagline {
  display: flex;
  gap: 22px;
  margin-top: 56px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--text-3);
}
.hero__tagline span:nth-child(2) {
  color: var(--blue-3);
}
.hero__tagline span:nth-child(3) {
  color: var(--violet-2);
}
.hero .reveal:nth-child(1) { --d: 1; }
.hero .reveal:nth-child(2) { --d: 2; }
.hero .reveal:nth-child(3) { --d: 3; }
.hero .reveal:nth-child(4) { --d: 4; }
.hero .reveal:nth-child(5) { --d: 6; }

.hero__scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-3);
}
.hero__scroll i {
  position: relative;
  width: 1px;
  height: 44px;
  background: var(--line-2);
  overflow: hidden;
}
.hero__scroll i::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent, var(--blue-3));
  animation: scroll-line 2.2s var(--ease) infinite;
}
@keyframes scroll-line {
  from { transform: translateY(-100%); }
  to { transform: translateY(100%); }
}

@media (max-width: 900px) {
  .geo--ring { width: 300px; height: 300px; right: -140px; top: 10%; }
  .geo--glass { width: 96px; height: 96px; right: -20px; top: 70%; }
  .geo--cube { top: 13%; left: 4%; transform: scale(0.7); }
  .geo--tri { display: none; }
  .geo--ring-sm { bottom: 12%; left: -30px; }
}
@media (max-width: 560px) {
  .hero { padding-bottom: 100px; }
  .hero__tagline { gap: 12px; font-size: 11px; letter-spacing: 0.24em; margin-top: 44px; }
  .hero__ctas { width: 100%; flex-direction: column; }
  .hero__ctas .btn { width: 100%; }
  .geo--cube { display: none; }
  .hero__scroll { display: none; }
}

/* ---------- Marquee ---------- */
.marquee {
  position: relative;
  border-block: 1px solid var(--line);
  padding: 22px 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 48s linear infinite;
}
.marquee:hover .marquee__track {
  animation-play-state: paused;
}
.marquee__group {
  display: flex;
  flex: none;
}
.marquee__group span {
  display: inline-flex;
  align-items: center;
  gap: 40px;
  padding-right: 40px;
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-weight: 450;
  letter-spacing: -0.01em;
  color: var(--text-2);
  white-space: nowrap;
}
.marquee__group span::after {
  content: '';
  width: 7px;
  height: 7px;
  transform: rotate(45deg);
  border: 1px solid var(--blue-2);
}
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* =====================================================================
   SECTIONS
   ===================================================================== */
.section {
  position: relative;
  padding-block: clamp(88px, 12vw, 160px);
}
.section--alt {
  background: var(--bg-1);
  border-block: 1px solid rgba(255, 255, 255, 0.04);
}
.section--alt::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(900px 400px at 85% 0%, rgba(47, 107, 255, 0.07), transparent 70%),
    radial-gradient(700px 400px at 0% 100%, rgba(139, 92, 246, 0.05), transparent 70%);
}
.section > .container {
  position: relative;
}
.section-head {
  max-width: 780px;
  margin-bottom: clamp(48px, 6vw, 80px);
}
.section-head--center {
  margin-inline: auto;
  text-align: center;
}
.section-head--center .section-intro {
  margin-inline: auto;
}
.section-head--split {
  max-width: none;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 32px 64px;
  align-items: end;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue-3);
}
.eyebrow span:first-child {
  color: var(--text-3);
}
.eyebrow span:first-child::after {
  content: '';
  display: inline-block;
  width: 28px;
  height: 1px;
  margin-left: 12px;
  vertical-align: middle;
  background: var(--line-2);
}
.section-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.2rem, 4.8vw, 4rem);
  line-height: 1.03;
  letter-spacing: -0.04em;
  text-wrap: balance;
}
.section-title--xl {
  font-size: clamp(2.6rem, 6.4vw, 5.4rem);
}
.section-intro {
  max-width: 600px;
  margin-top: 22px;
  font-size: 1.125rem;
  color: var(--text-2);
  text-wrap: pretty;
}
.section-head--split .section-intro {
  margin-top: 0;
}
.notice {
  display: flex;
  gap: 12px;
  padding: 16px 18px;
  border-radius: var(--radius);
  border: 1px solid rgba(182, 162, 255, 0.22);
  background: rgba(139, 92, 246, 0.07);
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--text-2);
}
.notice svg {
  flex: none;
  margin-top: 2px;
  color: var(--violet-2);
}
@media (max-width: 860px) {
  .section-head--split {
    grid-template-columns: 1fr;
  }
}

/* ---------- Services ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.service {
  display: flex;
  flex-direction: column;
  padding: 32px 28px 28px;
  transition: transform 0.5s var(--ease), border-color 0.4s;
}
.service:hover {
  transform: translateY(-6px);
  border-color: var(--line-2);
}
html.js .service.reveal.is-in:hover {
  transform: translateY(-6px);
}
.service__icon,
.feature__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 15px;
  border: 1px solid rgba(141, 182, 255, 0.22);
  background: linear-gradient(145deg, rgba(47, 107, 255, 0.2), rgba(139, 92, 246, 0.08));
  color: var(--blue-3);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.service__num {
  position: absolute;
  top: 30px;
  right: 28px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-3);
}
.service__title {
  margin-top: 36px;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 550;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.service__desc {
  margin-top: 12px;
  font-size: 15px;
  color: var(--text-2);
}
.service__list,
.plan__list,
.product__inc {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 10px;
}
.service__list {
  margin: 24px 0 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.service__list li,
.plan__list li,
.product__inc li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14.5px;
  color: var(--text-2);
}
.service__list svg,
.plan__list svg,
.product__inc svg {
  flex: none;
  margin-top: 2px;
  color: var(--blue-2);
}
.service__cta {
  margin-top: auto;
}
@media (max-width: 1180px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .services-grid { grid-template-columns: 1fr; }
}

/* ---------- Why / Bento ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.feature {
  display: flex;
  flex-direction: column;
  padding: 30px;
  min-height: 240px;
  overflow: hidden;
}
.feature--hero {
  grid-column: span 2;
  grid-row: span 2;
  justify-content: flex-end;
  background: radial-gradient(500px 320px at 70% 0%, rgba(47, 107, 255, 0.16), transparent 70%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
}
.feature__icon {
  margin-bottom: auto;
}
.feature--hero .feature__icon {
  margin-bottom: 22px;
}
.feature__title {
  margin-top: 28px;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 550;
  letter-spacing: -0.02em;
}
.feature--hero .feature__title {
  margin-top: 0;
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  letter-spacing: -0.03em;
}
.feature__desc {
  margin-top: 10px;
  font-size: 15px;
  color: var(--text-2);
}
.feature--hero .feature__desc {
  font-size: 16.5px;
  max-width: 460px;
}
.feature__visual {
  flex: 1;
  display: grid;
  place-items: center;
  min-height: 200px;
  margin-bottom: 24px;
}
.flow {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 520px;
}
.flow__node {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  border-radius: 14px;
  border: 1px solid var(--line-2);
  background: rgba(13, 15, 21, 0.8);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-2);
}
.flow__node--ai {
  padding: 14px 18px;
  border-color: rgba(141, 182, 255, 0.5);
  background: linear-gradient(145deg, rgba(47, 107, 255, 0.35), rgba(139, 92, 246, 0.25));
  color: #fff;
  box-shadow: 0 0 40px -6px rgba(47, 107, 255, 0.7);
  animation: ai-glow 3s ease-in-out infinite;
}
.flow__node--ai svg {
  width: 20px;
  height: 20px;
}
.flow__node--out {
  padding: 10px;
  border-radius: 50%;
  color: var(--ok);
  border-color: rgba(74, 222, 128, 0.35);
}
@keyframes ai-glow {
  50% { box-shadow: 0 0 60px -2px rgba(139, 92, 246, 0.8); }
}
.flow__line {
  position: relative;
  flex: 1;
  height: 1px;
  min-width: 14px;
  background: var(--line-2);
  overflow: hidden;
}
.flow__line::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 40%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--blue-3), transparent);
  animation: flow 2.4s linear infinite;
}
.flow__line:nth-of-type(4)::after { animation-delay: 0.8s; }
.flow__line:nth-of-type(6)::after { animation-delay: 1.6s; }
@keyframes flow {
  from { transform: translateX(-100%); }
  to { transform: translateX(260%); }
}
@media (max-width: 1080px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .feature--hero { grid-row: auto; }
}
@media (max-width: 640px) {
  .bento { grid-template-columns: 1fr; }
  .feature--hero { grid-column: auto; }
  .flow__node { padding: 8px 10px; font-size: 12.5px; }
  .flow__node--ai { padding: 10px 12px; }
  .feature { min-height: 0; }
}

/* ---------- Filters ---------- */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 36px;
}
.filter {
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: transparent;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-2);
  transition: all 0.3s var(--ease);
}
.filter:hover {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.28);
}
.filter[aria-pressed='true'] {
  background: var(--text);
  border-color: var(--text);
  color: var(--bg);
}

/* ---------- Work / Portfolio ---------- */
.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.work.is-out {
  opacity: 0;
  transform: scale(0.97);
}
.work__btn {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  text-align: left;
  border-radius: var(--radius);
}
.work__media {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-2);
  container-type: inline-size;
  transform: translateZ(0);
}
.work__media .mock {
  transition: transform 1s var(--ease-out);
}
.work__btn:hover .work__media .mock {
  transform: scale(1.035);
}
.work__btn .badge--concept {
  position: absolute;
  top: 14px;
  left: 14px;
}
.work__meta {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 4px 0;
}
.work__cat,
.product__cat {
  display: block;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue-3);
}
.work__title {
  margin-top: 6px;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 550;
  letter-spacing: -0.02em;
}
.work__tag {
  margin-top: 4px;
  font-size: 14.5px;
  color: var(--text-3);
}
.work__arrow {
  flex: none;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  transition: all 0.4s var(--ease);
}
.work__btn:hover .work__arrow {
  background: var(--blue);
  border-color: var(--blue);
  transform: rotate(45deg);
}
@media (max-width: 1080px) {
  .work-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .work-grid { grid-template-columns: 1fr; }
}

/* ---------- Mockups (CSS rendered, scale with container) ---------- */
.mock {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: radial-gradient(circle at 80% 10%, color-mix(in srgb, var(--a) 22%, transparent), transparent 55%), var(--bg);
  color: var(--ink);
}

/* Brand board */
.mb-font--serif { font-family: var(--font-serif); font-style: italic; font-weight: 400; }
.mb-font--sans { font-family: var(--font-display); font-weight: 600; }
.mb-board {
  position: absolute;
  left: 7cqw;
  top: 9cqw;
  width: 50cqw;
  height: 57cqw;
  border-radius: 2.4cqw;
  background: color-mix(in srgb, var(--ink) 5%, transparent);
  border: 1px solid color-mix(in srgb, var(--ink) 14%, transparent);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3.4cqw;
  transition: transform 0.9s var(--ease-out);
}
.mb-logo {
  display: grid;
  place-items: center;
  width: 19cqw;
  height: 19cqw;
  background: var(--a);
  color: var(--bg);
  font-size: 11cqw;
  line-height: 1;
  box-shadow: 0 2cqw 5cqw -1cqw color-mix(in srgb, var(--a) 50%, transparent);
}
.mb-logo--circle { border-radius: 50%; }
.mb-logo--square { border-radius: 2.2cqw; transform: rotate(45deg); }
.mb-logo--square span { transform: rotate(-45deg); }
.mb-logo--arch { border-radius: 50% 50% 1.2cqw 1.2cqw; height: 22cqw; width: 16cqw; }
.mb-name {
  font-size: 3.6cqw;
  letter-spacing: 0.08em;
}
.mb-font--sans.mb-name {
  font-size: 2.6cqw;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}
.mb-swatches {
  display: flex;
  gap: 1.4cqw;
}
.mb-swatches i {
  width: 4.4cqw;
  height: 4.4cqw;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--ink) 20%, transparent);
}
.mb-swatches i:nth-child(1) { background: var(--a); }
.mb-swatches i:nth-child(2) { background: var(--b); }
.mb-swatches i:nth-child(3) { background: var(--ink); }
.mb-swatches i:nth-child(4) { background: var(--bg); }
.mb-card {
  position: absolute;
  right: 6cqw;
  top: 14cqw;
  width: 33cqw;
  height: 19cqw;
  padding: 2.4cqw;
  border-radius: 1.4cqw;
  background: var(--a);
  color: var(--bg);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  transform: rotate(8deg);
  box-shadow: 0 3cqw 6cqw -2cqw rgba(0, 0, 0, 0.6);
  transition: transform 0.9s var(--ease-out);
}
.mb-card__mono {
  font-size: 7cqw;
  line-height: 1;
}
.mb-card__lines {
  display: grid;
  gap: 0.9cqw;
  justify-items: end;
}
.mb-card__lines i {
  display: block;
  height: 0.7cqw;
  border-radius: 1cqw;
  background: currentColor;
  opacity: 0.7;
}
.mb-card__lines i:nth-child(1) { width: 12cqw; }
.mb-card__lines i:nth-child(2) { width: 9cqw; opacity: 0.45; }
.mb-card__lines i:nth-child(3) { width: 10cqw; opacity: 0.45; }
.mb-type {
  position: absolute;
  right: 8cqw;
  bottom: 5cqw;
  font-size: 19cqw;
  line-height: 1;
  color: var(--ink);
  opacity: 0.92;
}
.work__btn:hover .mb-card { transform: rotate(3deg) translate(-1cqw, -1.5cqw); }
.work__btn:hover .mb-board { transform: translateY(-1cqw); }

/* ---------- Pricing ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}
.plan {
  display: flex;
  flex-direction: column;
  padding: 36px 32px 32px;
}
.plan--featured {
  background: radial-gradient(500px 260px at 50% 0%, rgba(47, 107, 255, 0.2), transparent 70%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  border-color: rgba(141, 182, 255, 0.35);
  box-shadow: 0 30px 80px -30px rgba(47, 107, 255, 0.45);
}
.plan__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.plan__name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.plan__desc {
  margin-top: 14px;
  font-size: 15px;
  color: var(--text-2);
  min-height: 3.2em;
}
.plan__price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 10px;
  margin-top: 26px;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line);
}
.plan__amount {
  font-family: var(--font-display);
  font-size: clamp(3rem, 5vw, 3.8rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.05em;
}
.plan__per {
  font-size: 14px;
  color: var(--text-3);
}
.plan__inc {
  margin: 24px 0 16px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-3);
}
.plan__list {
  margin-bottom: 26px;
}
.plan__list li {
  font-size: 15.5px;
  color: var(--text);
}
.plan .btn {
  margin-top: auto;
}
.pricing-notes {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px 48px;
  align-items: center;
  margin-top: 28px;
  padding: 26px 30px;
  border-radius: var(--radius-lg);
  border: 1px dashed var(--line-2);
}
.pricing-notes ul {
  display: grid;
  gap: 8px;
  padding-left: 18px;
  font-size: 14px;
  color: var(--text-2);
}
.pricing-notes li::marker {
  color: var(--blue-2);
}
.pricing-notes__custom {
  display: grid;
  gap: 6px;
  justify-items: start;
  font-size: 14.5px;
  color: var(--text-3);
}
@media (max-width: 980px) {
  .pricing-grid { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .pricing-notes { grid-template-columns: 1fr; }
  .plan__desc { min-height: 0; }
}
@media (min-width: 981px) {
  .plan--featured { transform: translateY(-10px); }
  html.js .plan--featured.reveal.is-in { transform: translateY(-10px); }
}

/* ---------- Store ---------- */
.store-status {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 26px;
  padding: 14px 18px;
  border-radius: var(--radius);
  font-size: 14.5px;
  line-height: 1.5;
}
.store-status:empty {
  display: none;
}
.store-status svg {
  flex: none;
  margin-top: 2px;
}
.store-status--ok {
  border: 1px solid rgba(74, 222, 128, 0.2);
  background: rgba(74, 222, 128, 0.06);
  color: var(--text-2);
}
.store-status--ok svg { color: var(--ok); }
.store-status--warn {
  border: 1px solid rgba(251, 191, 36, 0.25);
  background: rgba(251, 191, 36, 0.06);
  color: var(--text-2);
}
.store-status--warn svg { color: var(--warn); }
.store-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.product {
  display: flex;
  flex-direction: column;
  padding: 12px;
  border-radius: var(--radius-lg);
  transition: transform 0.5s var(--ease), border-color 0.3s;
}
.product:hover {
  border-color: var(--line-2);
}
.product__cover {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: 18px;
  overflow: hidden;
  background: radial-gradient(circle at 30% 20%, color-mix(in srgb, var(--a) 28%, transparent), transparent 60%), var(--bg-2);
  border: 1px solid var(--line);
  container-type: inline-size;
}
.product__cover > div {
  transition: transform 0.9s var(--ease-out);
}
.product:hover .product__cover > div {
  transform: scale(1.05) rotate(-1deg);
}
.pc-label {
  position: absolute;
  left: 14px;
  bottom: 12px;
  padding: 4px 9px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.55);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: #fff;
}
.pc-grid {
  position: absolute;
  inset: 12% 14%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3cqw;
  transform: rotate(-6deg);
}
.pc-grid i {
  border-radius: 2.4cqw;
  background: var(--a);
  box-shadow: 0 2cqw 4cqw -2cqw rgba(0, 0, 0, 0.6);
}
.pc-grid i:nth-child(2n) { background: var(--b); }
.pc-grid i:nth-child(3) { background: #eef2ff; }
.pc-grid i:nth-child(4) { background: linear-gradient(135deg, var(--a), var(--b)); }
.pc-stack {
  position: absolute;
  inset: 0;
}
.pc-stack i {
  position: absolute;
  top: 18%;
  left: 50%;
  width: 34cqw;
  height: 42cqw;
  margin-left: -17cqw;
  border-radius: 3cqw;
  background: var(--b);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 3cqw 6cqw -2cqw rgba(0, 0, 0, 0.7);
}
.pc-stack i:nth-child(1) { transform: rotate(-14deg) translateX(-14cqw); }
.pc-stack i:nth-child(2) { transform: rotate(12deg) translateX(14cqw); background: color-mix(in srgb, var(--a) 40%, var(--b)); }
.pc-stack i:nth-child(3) {
  background: linear-gradient(160deg, var(--a), color-mix(in srgb, var(--a) 30%, #000));
  top: 12%;
}
.pc-doc {
  position: absolute;
  top: 12%;
  left: 22%;
  width: 34cqw;
  height: 46cqw;
  padding: 4cqw 3cqw;
  border-radius: 1.4cqw;
  background: var(--a);
  box-shadow: 0 3cqw 6cqw -2cqw rgba(0, 0, 0, 0.7);
  display: grid;
  align-content: start;
  gap: 2cqw;
  transform: rotate(-5deg);
}
.pc-doc i {
  height: 1.4cqw;
  border-radius: 1cqw;
  background: color-mix(in srgb, var(--b) 30%, #c9d1e0);
}
.pc-doc i:first-child {
  height: 6cqw;
  background: var(--b);
  border-radius: 1cqw;
}
.pc-doc i:last-child { width: 60%; }
.pc-doc--2 {
  left: 48%;
  top: 20%;
  transform: rotate(6deg);
  opacity: 0.92;
}
.pc-brand {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pc-brand i {
  width: 22cqw;
  height: 22cqw;
  margin-left: -6cqw;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 2cqw 5cqw -2cqw rgba(0, 0, 0, 0.7);
}
.pc-brand i:nth-child(1) { background: var(--a); margin-left: 0; }
.pc-brand i:nth-child(2) { background: var(--blue); }
.pc-brand i:nth-child(3) { background: #f4f6fb; }
.pc-brand i:nth-child(4) { background: #171a22; }
.pc-gradient {
  position: absolute;
  inset: -20%;
  background: radial-gradient(circle at 30% 40%, var(--a), transparent 45%), radial-gradient(circle at 70% 60%, var(--b), transparent 45%),
    radial-gradient(circle at 50% 100%, #0ea5e9, transparent 45%);
  filter: blur(18px);
}
.pc-icons {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3cqw;
}
.pc-icons i {
  width: 13cqw;
  height: 13cqw;
  border-radius: 50%;
  background: var(--b);
  border: 0.5cqw solid var(--a);
  box-shadow: 0 0 0 0.6cqw var(--b), 0 0 0 0.9cqw color-mix(in srgb, var(--a) 50%, transparent);
  position: relative;
}
.pc-icons i::after {
  content: '';
  position: absolute;
  inset: 32%;
  border: 0.4cqw solid #fff;
  border-radius: 0.8cqw;
}
.pc-icons i:nth-child(2)::after { border-radius: 50%; }
.pc-icons i:nth-child(3)::after { transform: rotate(45deg); }
.pc-icons i:nth-child(4)::after { border-radius: 50% 50% 0 50%; }
.product__body {
  padding: 22px 12px 4px;
}
.product__title {
  margin-top: 8px;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 550;
  letter-spacing: -0.02em;
  line-height: 1.25;
}
.product__desc {
  margin-top: 10px;
  font-size: 14.5px;
  color: var(--text-2);
}
.product__inc {
  margin-top: 16px;
  gap: 8px;
}
.product__inc li {
  font-size: 13.5px;
}
.product__foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding: 22px 12px 10px;
}
.product__price {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 500;
  letter-spacing: -0.03em;
}
.product__soon {
  position: absolute;
  top: 24px;
  right: 24px;
  padding: 4px 10px;
  border-radius: 99px;
  background: rgba(5, 6, 8, 0.7);
  border: 1px solid rgba(251, 191, 36, 0.35);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--warn);
}
.store-legal {
  margin-top: 28px;
  max-width: 820px;
  font-size: 13px;
  color: var(--text-3);
}
.store-legal a {
  color: var(--text-2);
  text-decoration: underline;
  text-underline-offset: 3px;
}
@media (max-width: 1080px) {
  .store-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .store-grid { grid-template-columns: 1fr; }
}

/* ---------- About ---------- */
.about__top {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px 80px;
  align-items: start;
}
.about__copy {
  display: grid;
  gap: 20px;
  padding-top: 52px;
  font-size: 1.06rem;
  color: var(--text-2);
}
.about__lead {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2vw, 1.6rem);
  line-height: 1.4;
  letter-spacing: -0.02em;
  color: var(--text);
}
.about__process-title {
  margin: clamp(72px, 9vw, 120px) 0 28px;
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-3);
}
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 0;
}
.process__step {
  position: relative;
  padding-top: 28px;
  border-top: 1px solid var(--line-2);
}
.process__step::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  height: 1px;
  width: 0;
  background: linear-gradient(90deg, var(--blue-2), var(--violet));
  transition: width 1.4s var(--ease-out) calc(var(--d, 0) * 150ms + 200ms);
}
.process__step.is-in::before {
  width: 100%;
}
.process__step:nth-child(2) { --d: 1; }
.process__step:nth-child(3) { --d: 2; }
.process__step:nth-child(4) { --d: 3; }
.process__num {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--blue-3);
}
.process__step h4 {
  margin-top: 16px;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 550;
  letter-spacing: -0.02em;
}
.process__step p {
  margin-top: 10px;
  font-size: 15px;
  color: var(--text-2);
}
@media (max-width: 980px) {
  .about__top { grid-template-columns: 1fr; }
  .about__copy { padding-top: 0; }
  .process { grid-template-columns: repeat(2, 1fr); gap: 36px 20px; }
}
@media (max-width: 560px) {
  .process { grid-template-columns: 1fr; }
}

/* ---------- Tagline band ---------- */
.band {
  padding: clamp(64px, 9vw, 120px) var(--gutter);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  text-align: center;
}
.band__text {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 10.5vw, 10rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.055em;
  white-space: nowrap;
}
.band__text span:nth-child(2) {
  color: transparent;
  -webkit-text-stroke: 1px rgba(244, 246, 251, 0.45);
}
.band__text span:nth-child(3) {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.03em;
  color: var(--blue-3);
}
@media (max-width: 760px) {
  .band__text { white-space: normal; display: grid; gap: 0.08em; font-size: clamp(3.2rem, 17vw, 6rem); }
}

/* ---------- Contact ---------- */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 56px 80px;
  align-items: start;
}
.contact__info {
  position: sticky;
  top: calc(var(--header-h) + 40px);
}
.contact__channels {
  display: grid;
  gap: 12px;
  margin-top: 40px;
}
.channel {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
  transition: border-color 0.3s, background 0.3s, transform 0.4s var(--ease);
}
.channel:hover {
  border-color: var(--line-2);
  background: rgba(255, 255, 255, 0.05);
  transform: translateX(4px);
}
.channel__icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(47, 107, 255, 0.14);
  color: var(--blue-3);
}
.channel--wa .channel__icon {
  background: rgba(37, 211, 102, 0.12);
  color: #4ade80;
}
.channel__body {
  display: grid;
  min-width: 0;
}
.channel__label {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
}
.channel__value {
  font-size: 16px;
  font-weight: 550;
  overflow: hidden;
  text-overflow: ellipsis;
}
.channel__arrow {
  margin-left: auto;
  color: var(--text-3);
  transition: color 0.3s, transform 0.4s var(--ease);
}
.channel:hover .channel__arrow {
  color: var(--text);
  transform: translate(2px, -2px);
}
.contact__langs {
  margin-top: 20px;
  font-size: 14px;
  color: var(--text-3);
}

.form {
  padding: clamp(24px, 4vw, 40px);
  display: grid;
  gap: 20px;
}
.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.field {
  display: grid;
  gap: 8px;
  align-content: start;
}
.field label {
  font-size: 13.5px;
  font-weight: 550;
  color: var(--text-2);
}
.field label small {
  font-weight: 400;
  color: var(--text-3);
}
.field input:not([type='checkbox']),
.field select,
.field textarea {
  width: 100%;
  min-height: 52px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-2);
  background: rgba(5, 6, 8, 0.5);
  font-size: 15.5px;
  color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.field textarea {
  resize: vertical;
  min-height: 150px;
  line-height: 1.55;
}
.field ::placeholder {
  color: #6b7383;
}
.field input:hover,
.field select:hover,
.field textarea:hover {
  border-color: rgba(255, 255, 255, 0.24);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue-2);
  background: rgba(5, 6, 8, 0.7);
  box-shadow: 0 0 0 4px rgba(47, 107, 255, 0.18);
}
.field [aria-invalid='true'] {
  border-color: rgba(255, 138, 138, 0.7) !important;
}
.select {
  position: relative;
}
.select::after {
  content: '';
  position: absolute;
  right: 18px;
  top: 50%;
  width: 8px;
  height: 8px;
  margin-top: -6px;
  border-right: 1.6px solid var(--text-2);
  border-bottom: 1.6px solid var(--text-2);
  transform: rotate(45deg);
  pointer-events: none;
}
.select select {
  -webkit-appearance: none;
  appearance: none;
  padding-right: 44px;
  cursor: pointer;
}
.select option {
  background: var(--bg-2);
  color: var(--text);
}
.field__error {
  min-height: 0;
  font-size: 13px;
  color: var(--err);
}
.field__error:empty {
  display: none;
}
.field--hp {
  position: absolute !important;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.field--check {
  grid-template-columns: auto 1fr;
  align-items: start;
  column-gap: 12px;
}
.field--check input {
  width: 20px;
  height: 20px;
  margin: 1px 0 0;
  accent-color: var(--blue);
  cursor: pointer;
}
.field--check label {
  font-weight: 400;
  font-size: 14px;
  line-height: 1.5;
  cursor: pointer;
}
.field--check label a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.field--check .field__error {
  grid-column: 2;
}
.form__summary {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 138, 138, 0.35);
  background: rgba(255, 138, 138, 0.08);
  font-size: 14px;
  color: var(--err);
}
.form__status {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 16px 18px;
  border-radius: var(--radius);
  font-size: 14.5px;
  line-height: 1.55;
}
.form__status svg {
  flex: none;
  margin-top: 2px;
}
.form__status > div {
  display: grid;
  gap: 14px;
  justify-items: start;
}
.form__status a:not(.btn) {
  text-decoration: underline;
}
.form__status--ok {
  border: 1px solid rgba(74, 222, 128, 0.3);
  background: rgba(74, 222, 128, 0.08);
}
.form__status--ok svg { color: var(--ok); }
.form__status--warn {
  border: 1px solid rgba(251, 191, 36, 0.3);
  background: rgba(251, 191, 36, 0.07);
}
.form__status--warn > svg { color: var(--warn); }
.form__status--err {
  border: 1px solid rgba(255, 138, 138, 0.35);
  background: rgba(255, 138, 138, 0.08);
}
.form__status--err svg { color: var(--err); }
@media (max-width: 980px) {
  .contact__grid { grid-template-columns: 1fr; }
  .contact__info { position: static; }
}
@media (max-width: 560px) {
  .form__row { grid-template-columns: 1fr; }
}

/* =====================================================================
   FOOTER
   ===================================================================== */
.site-footer {
  padding: 80px 0 32px;
  border-top: 1px solid var(--line);
  background: var(--bg);
}
.site-footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 56px;
}
.site-footer__brand p {
  max-width: 340px;
  margin-top: 20px;
  font-size: 14.5px;
  color: var(--text-3);
}
.site-footer__brand .site-footer__slogan {
  margin-top: 16px;
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text-2);
}
.site-footer h2 {
  margin-bottom: 18px;
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-3);
}
.site-footer ul {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 10px;
}
.site-footer ul a,
.site-footer ul .link-btn {
  font-size: 14.5px;
  color: var(--text-2);
  transition: color 0.2s;
  word-break: break-word;
}
.site-footer ul a:hover,
.site-footer ul .link-btn:hover {
  color: var(--text);
}
.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--text-3);
}
.site-footer__bottom .link-arrow {
  font-size: 13px;
  color: var(--text-2);
}
@media (max-width: 900px) {
  .site-footer__top { grid-template-columns: 1fr 1fr; }
  .site-footer__brand { grid-column: 1 / -1; }
}

/* =====================================================================
   OVERLAYS: dialogs, cookie banner, toast
   ===================================================================== */
.dialog {
  width: min(560px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  padding: 0;
  border: 1px solid var(--line-2);
  border-radius: var(--radius-lg);
  background: var(--bg-2);
  color: var(--text);
  box-shadow: 0 40px 120px -20px rgba(0, 0, 0, 0.9);
  overflow: auto;
}
.dialog[open] {
  animation: dialog-in 0.45s var(--ease-out);
}
.dialog::backdrop {
  background: rgba(2, 3, 5, 0.72);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
@keyframes dialog-in {
  from { opacity: 0; transform: translateY(16px) scale(0.98); }
}
.dialog__inner {
  padding: 28px;
  display: grid;
  gap: 18px;
}
.dialog__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.dialog__head h2 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 550;
  letter-spacing: -0.02em;
}
.dialog__foot {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 6px;
}
.pref {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  padding: 18px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
}
.pref h3 {
  font-size: 15.5px;
  font-weight: 600;
}
.pref p {
  margin-top: 4px;
  font-size: 14px;
  color: var(--text-2);
}
.pref__always {
  flex: none;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ok);
}
.switch {
  position: relative;
  flex: none;
  width: 48px;
  height: 28px;
}
.switch input {
  position: absolute;
  inset: 0;
  opacity: 0;
  margin: 0;
  cursor: pointer;
  z-index: 1;
}
.switch__track {
  position: absolute;
  inset: 0;
  border-radius: 99px;
  background: var(--bg-3);
  border: 1px solid var(--line-2);
  transition: background 0.25s;
}
.switch__track::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--text-2);
  transition: transform 0.3s var(--ease), background 0.25s;
}
.switch input:checked + .switch__track {
  background: var(--blue);
  border-color: var(--blue);
}
.switch input:checked + .switch__track::after {
  transform: translateX(20px);
  background: #fff;
}
.switch input:focus-visible + .switch__track {
  outline: 2px solid var(--blue-3);
  outline-offset: 3px;
}

.cookie-banner {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 200;
  display: flex;
  gap: 14px;
  width: min(460px, calc(100% - 32px));
  padding: 20px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-2);
  background: rgba(13, 15, 21, 0.9);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.9);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s var(--ease), transform 0.5s var(--ease-out);
}
.cookie-banner.is-visible {
  opacity: 1;
  transform: none;
}
.cookie-banner__icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(47, 107, 255, 0.14);
  color: var(--blue-3);
}
.cookie-banner__title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
}
.cookie-banner__text {
  margin-top: 6px;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--text-2);
}
.cookie-banner__text a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
@media (max-width: 480px) {
  .cookie-banner { left: 8px; right: 8px; bottom: 8px; width: auto; }
  .cookie-banner__icon { display: none; }
  .cookie-banner__actions .btn { flex: 1 1 auto; }
}

/* Portfolio dialog */
.work-dialog {
  width: min(1100px, calc(100% - 32px));
}
.work-dialog__inner {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
}
.work-dialog__media {
  /* Fixed 4:3 box that stays in view while the text column scrolls.
     (Stretching it to the text height made it widen and squeeze the text.) */
  position: sticky;
  top: 0;
  align-self: start;
  min-width: 0;
  aspect-ratio: 4 / 3;
  container-type: inline-size;
  overflow: hidden;
}
.work-dialog__body {
  position: relative;
  padding: 40px 36px 36px;
  display: grid;
  align-content: start;
  gap: 14px;
}
.work-dialog__body .work__cat {
  margin-top: 8px;
}
.work-dialog__body .badge {
  justify-self: start;
}
.work-dialog__close {
  position: absolute;
  top: 18px;
  right: 18px;
}
.work-dialog__title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 550;
  letter-spacing: -0.035em;
  line-height: 1.05;
}
.work-dialog__tag {
  margin-top: -6px;
  font-size: 14.5px;
  color: var(--text-3);
}
.work-dialog__summary {
  font-size: 16px;
  color: var(--text-2);
}
.work-dialog__body h3 {
  margin-top: 8px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-3);
}
.work-dialog__body > p:not([class]) {
  font-size: 15px;
  color: var(--text-2);
}
.work-dialog__body .btn {
  justify-self: start;
  margin-top: 10px;
}
.work-dialog__note {
  display: flex;
  gap: 10px;
  margin-top: 6px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: rgba(139, 92, 246, 0.08);
  border: 1px solid rgba(182, 162, 255, 0.2);
  font-size: 13px;
  color: var(--text-2);
}
.work-dialog__note svg {
  flex: none;
  color: var(--violet-2);
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
}
.chips li {
  padding: 6px 12px;
  border-radius: 99px;
  border: 1px solid var(--line-2);
  font-size: 13.5px;
  color: var(--text-2);
}
@media (max-width: 860px) {
  .work-dialog__inner { grid-template-columns: 1fr; }
  .work-dialog__media { position: relative; border-bottom: 1px solid var(--line); }
  .work-dialog__body { padding: 28px 22px; }
  .work-dialog__close { position: fixed; top: 28px; right: 28px; z-index: 2; background: rgba(5, 6, 8, 0.7); }
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 300;
  max-width: calc(100% - 32px);
  padding: 14px 20px;
  border-radius: 99px;
  border: 1px solid var(--line-2);
  background: rgba(13, 15, 21, 0.92);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  font-size: 14.5px;
  box-shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.9);
  transform: translate(-50%, 20px);
  opacity: 0;
  transition: opacity 0.3s, transform 0.4s var(--ease-out);
}
.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* =====================================================================
   SUB-PAGES: legal, success, 404
   ===================================================================== */
.page {
  position: relative;
  min-height: 100vh;
  padding: calc(var(--header-h) + clamp(48px, 8vw, 100px)) 0 clamp(72px, 10vw, 120px);
  overflow: hidden;
}
.page::before {
  content: '';
  position: absolute;
  top: -300px;
  left: 50%;
  width: 1100px;
  height: 600px;
  margin-left: -550px;
  background: radial-gradient(ellipse, rgba(47, 107, 255, 0.18), transparent 65%);
  pointer-events: none;
}
.site-header--simple .nav { display: none; }
.site-header--simple .site-header__inner { justify-content: space-between; }
.legal {
  position: relative;
  max-width: 780px;
}
.legal h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.05;
}
.legal .updated {
  margin-top: 14px;
  font-size: 14px;
  color: var(--text-3);
}
.legal .draft-note {
  margin-top: 28px;
}
.legal h2 {
  margin: 48px 0 14px;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 550;
  letter-spacing: -0.02em;
}
.legal h3 {
  margin: 24px 0 8px;
  font-size: 1.05rem;
  font-weight: 600;
}
.legal p,
.legal li {
  font-size: 15.5px;
  color: var(--text-2);
}
.legal p + p {
  margin-top: 12px;
}
.legal ul {
  margin-top: 10px;
  padding-left: 20px;
  display: grid;
  gap: 6px;
}
.legal a {
  color: var(--blue-3);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.legal .ph {
  padding: 1px 6px;
  border-radius: 6px;
  background: rgba(251, 191, 36, 0.12);
  color: var(--warn);
  font-size: 0.92em;
}
.table-wrap {
  margin-top: 14px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}
.legal table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.legal th,
.legal td {
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
  color: var(--text-2);
}
.legal th {
  color: var(--text);
  font-weight: 600;
  background: rgba(255, 255, 255, 0.03);
}
.legal tr:last-child td {
  border-bottom: 0;
}
.legal .btn {
  margin-top: 16px;
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 36px;
  font-size: 14px;
  color: var(--text-2);
}
.back-link:hover {
  color: var(--text);
}

.order {
  position: relative;
  max-width: 620px;
  margin-inline: auto;
  padding: clamp(32px, 6vw, 56px);
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 18px;
}
.order h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 550;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.order p {
  color: var(--text-2);
}
.order__small {
  font-size: 14px;
  color: var(--text-3) !important;
}
.order__icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
}
.order__icon svg {
  width: 28px;
  height: 28px;
}
.order__icon--ok {
  background: rgba(74, 222, 128, 0.12);
  color: var(--ok);
}
.order__icon--warn {
  background: rgba(251, 191, 36, 0.12);
  color: var(--warn);
}
.order__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 12px;
}
.spinner {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--line-2);
  border-top-color: var(--blue-2);
  animation: spin 0.9s linear infinite;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
.nf {
  position: relative;
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 18px;
}
.nf__code {
  font-family: var(--font-display);
  font-size: clamp(6rem, 22vw, 14rem);
  font-weight: 500;
  line-height: 0.9;
  letter-spacing: -0.06em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(141, 182, 255, 0.5);
}
.nf h1 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 550;
  letter-spacing: -0.03em;
}
.nf p {
  color: var(--text-2);
}

/* =====================================================================
   PACKAGE DETAILS, FAQ, SOCIAL, WHATSAPP BUTTON
   ===================================================================== */
.plan__details {
  display: grid;
  gap: 10px;
  margin: -8px 0 30px;
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--line);
}
.plan__details {
  gap: 12px;
}
.plan__details div {
  display: grid;
  gap: 2px;
  font-size: 13.5px;
  line-height: 1.45;
}
.plan__details dt {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
}
.plan__details dd {
  margin: 0;
  color: var(--text-2);
}

/* FAQ */
.faq__grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px 80px;
  align-items: start;
}
.faq__head {
  position: sticky;
  top: calc(var(--header-h) + 40px);
}
.faq__more {
  margin-top: 28px;
}
.faq__list {
  border-top: 1px solid var(--line);
}
.faq__item {
  border-bottom: 1px solid var(--line);
}
.faq__item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 24px 4px;
  list-style: none;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.6vw, 1.22rem);
  font-weight: 500;
  letter-spacing: -0.015em;
  transition: color 0.25s;
}
.faq__item summary::-webkit-details-marker {
  display: none;
}
.faq__item summary:hover {
  color: var(--blue-3);
}
.faq__icon {
  position: relative;
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  transition: background 0.3s, border-color 0.3s, transform 0.4s var(--ease);
}
.faq__icon::before,
.faq__icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 1.6px;
  margin: -0.8px 0 0 -6px;
  border-radius: 2px;
  background: var(--text);
  transition: transform 0.4s var(--ease);
}
.faq__icon::after {
  transform: rotate(90deg);
}
.faq__item[open] .faq__icon {
  background: var(--blue);
  border-color: var(--blue);
  transform: rotate(180deg);
}
.faq__item[open] .faq__icon::after {
  transform: rotate(0deg);
}
.faq__answer {
  padding: 0 64px 26px 4px;
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--text-2);
}
.faq__item[open] .faq__answer {
  animation: faq-in 0.45s var(--ease-out);
}
@keyframes faq-in {
  from { opacity: 0; transform: translateY(-6px); }
}
@media (max-width: 980px) {
  .faq__grid { grid-template-columns: 1fr; }
  .faq__head { position: static; }
  .faq__answer { padding-right: 4px; }
}

/* Social links */
.contact__social {
  margin-top: 28px;
}
.contact__social-title {
  margin-bottom: 12px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
}
.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.social-links a {
  display: inline-flex;
  padding: 8px 16px;
  border-radius: 99px;
  border: 1px solid var(--line-2);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-2);
  transition: color 0.25s, border-color 0.25s, background 0.25s;
}
.social-links a:hover {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.05);
}
.site-footer__social-title {
  margin-top: 28px;
}

/* Floating WhatsApp button */
.wa-fab {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 150;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #062b14;
  box-shadow: 0 12px 30px -8px rgba(37, 211, 102, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.15) inset;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px) scale(0.9);
  transition: opacity 0.35s var(--ease), transform 0.45s var(--ease-out), visibility 0.35s, box-shadow 0.3s;
}
.wa-fab svg {
  width: 26px;
  height: 26px;
  stroke-width: 1.8;
}
.wa-fab.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.wa-fab:hover {
  box-shadow: 0 16px 40px -8px rgba(37, 211, 102, 0.75), 0 0 0 4px rgba(37, 211, 102, 0.18);
  transform: translateY(-2px);
}
/* Never cover the cookie banner, menu or dialogs */
body:has(.cookie-banner.is-visible) .wa-fab,
body.nav-open .wa-fab,
body.modal-open .wa-fab {
  opacity: 0;
  visibility: hidden;
}
@media (max-width: 560px) {
  .wa-fab { right: 16px; bottom: 16px; width: 52px; height: 52px; }
}

/* =====================================================================
   WEBSITE / DIGITALIZATION MOCKUPS (scale with the card via cqw)
   ===================================================================== */
/* Website: browser window + mobile view */
.mw-browser {
  position: absolute;
  left: 6cqw;
  top: 7cqw;
  width: 72cqw;
  height: 54cqw;
  border-radius: 1.8cqw;
  overflow: hidden;
  background: var(--bg);
  border: 1px solid color-mix(in srgb, var(--ink) 16%, transparent);
  box-shadow: 0 4cqw 9cqw -3cqw rgba(0, 0, 0, 0.85);
  transition: transform 0.9s var(--ease-out);
}
.mw-bar {
  display: flex;
  align-items: center;
  gap: 2cqw;
  height: 4.4cqw;
  padding: 0 1.8cqw;
  background: color-mix(in srgb, var(--ink) 9%, #0a0b0f);
}
.mw-dots {
  display: flex;
  gap: 0.7cqw;
}
.mw-dots i {
  width: 1.1cqw;
  height: 1.1cqw;
  border-radius: 50%;
  background: color-mix(in srgb, var(--ink) 30%, transparent);
}
.mw-url {
  flex: 1;
  max-width: 30cqw;
  margin: 0 auto;
  transform: translateX(-3cqw);
  height: 2.4cqw;
  border-radius: 1.2cqw;
  background: rgba(255, 255, 255, 0.07);
  font-size: 1.3cqw;
  line-height: 2.4cqw;
  text-align: center;
  color: color-mix(in srgb, var(--ink) 60%, transparent);
  white-space: nowrap;
  overflow: hidden;
}
.mw-page {
  display: flex;
  flex-direction: column;
  gap: 2.6cqw;
  height: calc(100% - 4.4cqw);
  padding: 2cqw 3cqw;
  background: radial-gradient(circle at 85% 20%, color-mix(in srgb, var(--a) 16%, transparent), transparent 55%), var(--bg);
}
.mw-nav {
  display: flex;
  align-items: center;
  gap: 2cqw;
}
.mw-logo {
  display: flex;
  align-items: center;
  gap: 0.8cqw;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.7cqw;
  color: var(--ink);
  white-space: nowrap;
}
.mw-logo i {
  width: 2cqw;
  height: 2cqw;
  border-radius: 0.6cqw;
  background: var(--a);
}
.mw-links {
  display: flex;
  gap: 1.4cqw;
  margin-left: auto;
}
.mw-links i {
  width: 4cqw;
  height: 0.6cqw;
  border-radius: 1cqw;
  background: color-mix(in srgb, var(--ink) 35%, transparent);
}
.mw-btn {
  width: 7cqw;
  height: 2.4cqw;
  border-radius: 1.2cqw;
  background: var(--a);
}
.mw-hero {
  flex: 1;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3cqw;
  align-items: center;
}
.mw-headline {
  margin-bottom: 1.6cqw;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 4cqw;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--ink);
}
.mw-line {
  display: block;
  width: 90%;
  height: 0.7cqw;
  margin-top: 1cqw;
  border-radius: 1cqw;
  background: color-mix(in srgb, var(--ink) 28%, transparent);
}
.mw-line--short {
  width: 60%;
}
.mw-cta {
  display: block;
  width: 11cqw;
  height: 3cqw;
  margin-top: 2cqw;
  border-radius: 1.5cqw;
  background: var(--a);
  box-shadow: 0 1cqw 3cqw -1cqw var(--a);
}
.mw-image {
  position: relative;
  aspect-ratio: 1.15;
  border-radius: 1.4cqw;
  overflow: hidden;
  background: linear-gradient(150deg, var(--a), var(--b) 75%);
}
.mw-image i:first-child {
  position: absolute;
  right: -10%;
  top: -15%;
  width: 60%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: color-mix(in srgb, var(--ink) 30%, transparent);
}
.mw-image i:last-child {
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: 0;
  height: 45%;
  border-radius: 1.4cqw 1.4cqw 0 0;
  background: color-mix(in srgb, var(--bg) 55%, transparent);
}
.mw-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6cqw;
}
.mw-cards span {
  height: 7cqw;
  padding: 1.2cqw;
  border-radius: 1cqw;
  background: color-mix(in srgb, var(--ink) 6%, transparent);
  border: 1px solid color-mix(in srgb, var(--ink) 10%, transparent);
}
.mw-cards i {
  display: block;
  width: 2.4cqw;
  height: 2.4cqw;
  border-radius: 0.6cqw;
  background: color-mix(in srgb, var(--a) 70%, transparent);
}
.mw-phone {
  position: absolute;
  right: 6cqw;
  bottom: 5cqw;
  width: 18cqw;
  height: 36cqw;
  padding: 1.4cqw 1.2cqw;
  display: flex;
  flex-direction: column;
  border-radius: 2.8cqw;
  border: 0.6cqw solid #1b1d23;
  background: var(--bg);
  overflow: hidden;
  box-shadow: 0 4cqw 8cqw -2cqw rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255, 255, 255, 0.06);
  transition: transform 0.9s var(--ease-out);
}
.mw-phone__bar {
  display: flex;
  justify-content: center;
}
.mw-phone__bar i {
  width: 5cqw;
  height: 0.9cqw;
  border-radius: 1cqw;
  background: #1b1d23;
}
.mw-phone__image {
  aspect-ratio: 1.2;
  margin: 0.8cqw 0 1.2cqw;
  border-radius: 1cqw;
  background: linear-gradient(150deg, var(--a), var(--b) 75%);
}
.mw-phone__headline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.1cqw;
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.mw-phone .mw-line {
  height: 0.5cqw;
  margin-top: 0.8cqw;
}
.mw-phone .mw-cta {
  width: 100%;
  height: 2.6cqw;
  margin-top: auto;
}
.work__btn:hover .mw-browser { transform: translateY(-1cqw); }
.work__btn:hover .mw-phone { transform: translateY(-2.5cqw) rotate(-2deg); }

/* Digital menu / price list + QR card */
.mm-phone {
  position: absolute;
  left: 12cqw;
  top: 11cqw;
  width: 34cqw;
  height: 62cqw;
  display: flex;
  flex-direction: column;
  border-radius: 4.6cqw;
  border: 0.8cqw solid #1b1d23;
  background: color-mix(in srgb, var(--bg) 85%, #000);
  overflow: hidden;
  box-shadow: 0 4cqw 8cqw -2cqw rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(255, 255, 255, 0.06);
  z-index: 2;
  transition: transform 0.9s var(--ease-out);
}
.mm-head {
  padding: 4.6cqw 2.6cqw 2.4cqw;
  background: linear-gradient(160deg, var(--b), color-mix(in srgb, var(--bg) 85%, #000));
}
.mm-head p {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 4.2cqw;
  line-height: 1;
  color: var(--ink);
}
.mm-head p::after {
  content: '';
  display: block;
  width: 5cqw;
  height: 0.4cqw;
  margin-top: 1.4cqw;
  border-radius: 1cqw;
  background: var(--a);
}
.mm-tabs {
  display: flex;
  gap: 1cqw;
  padding: 1.8cqw 2.4cqw;
}
.mm-tabs span {
  padding: 0.7cqw 1.4cqw;
  border-radius: 2cqw;
  border: 1px solid color-mix(in srgb, var(--ink) 18%, transparent);
  font-size: 1.5cqw;
  font-weight: 600;
  white-space: nowrap;
  color: color-mix(in srgb, var(--ink) 70%, transparent);
}
.mm-tabs .is-on {
  background: var(--a);
  border-color: var(--a);
  color: var(--bg);
}
.mm-list {
  display: grid;
  gap: 2.4cqw;
  margin: 0;
  padding: 0.8cqw 2.4cqw;
  list-style: none;
}
.mm-list li {
  display: flex;
  align-items: baseline;
  gap: 1cqw;
  font-size: 1.75cqw;
  color: var(--ink);
}
.mm-list span {
  max-width: 72%;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.mm-list i {
  flex: 1;
  border-bottom: 1px dotted color-mix(in srgb, var(--ink) 35%, transparent);
}
.mm-list b {
  font-weight: 600;
  color: var(--a);
}
.mm-qr {
  position: absolute;
  right: 9cqw;
  top: 16cqw;
  width: 28cqw;
  padding: 2.4cqw;
  border-radius: 2.4cqw;
  background: #fff;
  color: #0b0c10;
  text-align: center;
  transform: rotate(6deg);
  box-shadow: 0 4cqw 8cqw -2cqw rgba(0, 0, 0, 0.8);
  transition: transform 0.9s var(--ease-out);
}
.mm-qr svg {
  display: block;
  width: 100%;
  height: auto;
}
.mm-qr p {
  margin-top: 1.6cqw;
  font-family: var(--font-display);
  font-size: 2.6cqw;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.mm-qr p::before {
  content: '';
  display: block;
  height: 0.5cqw;
  margin: 0 30% 1.4cqw;
  border-radius: 1cqw;
  background: var(--a);
}
.work__btn:hover .mm-phone { transform: translateY(-1.5cqw); }
.work__btn:hover .mm-qr { transform: rotate(2deg) translateX(1cqw); }

/* Digital catalog: tablet + PDF page */
.mc-tablet {
  position: absolute;
  left: 5cqw;
  top: 13cqw;
  width: 66cqw;
  height: 50cqw;
  display: flex;
  flex-direction: column;
  gap: 1.8cqw;
  padding: 2.2cqw;
  border-radius: 2.6cqw;
  border: 1cqw solid #1b1d23;
  background: var(--bg);
  overflow: hidden;
  box-shadow: 0 4cqw 9cqw -3cqw rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(255, 255, 255, 0.06);
  z-index: 2;
  transition: transform 0.9s var(--ease-out);
}
.mc-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.mc-top p {
  font-family: var(--font-display);
  font-size: 2.6cqw;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.mc-search {
  width: 16cqw;
  height: 2.6cqw;
  border-radius: 1.3cqw;
  background: color-mix(in srgb, var(--ink) 9%, transparent);
  border: 1px solid color-mix(in srgb, var(--ink) 14%, transparent);
}
.mc-chips {
  display: flex;
  gap: 1cqw;
}
.mc-chips span {
  width: 7cqw;
  height: 2.2cqw;
  border-radius: 1.1cqw;
  background: color-mix(in srgb, var(--ink) 10%, transparent);
}
.mc-chips .is-on {
  background: var(--a);
}
.mc-grid {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4cqw;
}
.mc-card {
  display: flex;
  flex-direction: column;
  gap: 0.7cqw;
  padding: 0.9cqw;
  border-radius: 1.2cqw;
  background: color-mix(in srgb, var(--ink) 5%, transparent);
  border: 1px solid color-mix(in srgb, var(--ink) 10%, transparent);
}
.mc-img {
  position: relative;
  flex: 1;
  border-radius: 0.8cqw;
  overflow: hidden;
  background: linear-gradient(150deg, color-mix(in srgb, var(--a) 70%, var(--b)), var(--b));
}
.mc-card:nth-child(even) .mc-img {
  background: linear-gradient(150deg, var(--b), color-mix(in srgb, var(--a) 45%, var(--b)));
}
.mc-img i {
  position: absolute;
  left: 25%;
  top: 22%;
  width: 50%;
  aspect-ratio: 1;
  border-radius: 30%;
  background: color-mix(in srgb, var(--ink) 25%, transparent);
}
.mc-card:nth-child(3n) .mc-img i {
  border-radius: 50%;
}
.mc-card > i {
  display: block;
  width: 80%;
  height: 0.6cqw;
  border-radius: 1cqw;
  background: color-mix(in srgb, var(--ink) 30%, transparent);
}
.mc-card > .mc-price {
  width: 40%;
  background: var(--a);
}
.mc-doc {
  position: absolute;
  right: 5cqw;
  top: 20cqw;
  width: 26cqw;
  height: 38cqw;
  display: flex;
  flex-direction: column;
  gap: 1.4cqw;
  padding: 2.4cqw 2cqw;
  border-radius: 1.2cqw;
  background: #f4f6fb;
  transform: rotate(7deg);
  box-shadow: 0 3cqw 7cqw -2cqw rgba(0, 0, 0, 0.8);
  transition: transform 0.9s var(--ease-out);
}
.mc-doc__head {
  height: 7cqw;
  border-radius: 0.8cqw;
  background: linear-gradient(150deg, var(--a), var(--b));
}
.mc-doc i {
  height: 0.8cqw;
  border-radius: 1cqw;
  background: #c9d0dc;
}
.mc-doc i:last-of-type {
  width: 60%;
}
.mc-doc__tag {
  position: absolute;
  right: 2cqw;
  bottom: 2cqw;
  padding: 0.5cqw 1.2cqw;
  border-radius: 0.6cqw;
  background: #e5484d;
  color: #fff;
  font-size: 1.6cqw;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.work__btn:hover .mc-tablet { transform: translateY(-1cqw); }
.work__btn:hover .mc-doc { transform: rotate(11deg) translateX(2cqw); }

/* =====================================================================
   PRICING: custom projects card
   ===================================================================== */
.plan--custom {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1.3fr 1fr minmax(220px, auto);
  gap: 24px 48px;
  align-items: center;
  padding: 32px 36px;
  background: linear-gradient(120deg, rgba(139, 92, 246, 0.1), rgba(47, 107, 255, 0.06) 60%, rgba(255, 255, 255, 0.02));
  border-color: rgba(182, 162, 255, 0.28);
}
.plan--custom .plan__name {
  margin-top: 14px;
  font-size: 1.3rem;
}
.plan--custom .plan__desc {
  min-height: 0;
  margin-top: 10px;
}
.plan--custom .plan__list {
  margin: 0;
}
.plan--custom__cta {
  display: grid;
  gap: 14px;
}
.plan__quote {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.plan--custom .btn {
  margin-top: 0;
}
.pricing-notes {
  grid-template-columns: 1fr;
}
@media (max-width: 980px) {
  .plan--custom {
    grid-template-columns: 1fr;
    padding: 30px 28px;
  }
}

/* =====================================================================
   STORE: preview, actions, new covers
   ===================================================================== */
.product__cover-btn {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 18px;
  background: none;
}
.product__foot {
  flex-wrap: wrap;
}
.product__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}
.product__actions .btn--ghost svg {
  color: var(--blue-3);
}
.product__actions .btn--ghost:hover svg {
  transform: none;
}
.work-dialog__media--product .product__cover {
  position: absolute;
  inset: 0;
  aspect-ratio: auto;
  border: 0;
  border-radius: 0;
}
.product__foot--dialog {
  margin-top: 6px;
  padding: 18px 0 0;
  border-top: 1px solid var(--line);
}
.product__foot--dialog .btn {
  margin-top: 0 !important;
}
.pc-sheet {
  position: absolute;
  inset: 12% 14%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 5.2cqw;
  align-content: start;
  border-radius: 2cqw;
  background: #fff;
  overflow: hidden;
  transform: rotate(-4deg);
  box-shadow: 0 3cqw 6cqw -2cqw rgba(0, 0, 0, 0.7);
}
.pc-sheet__head {
  grid-column: 1 / -1;
  background: var(--a);
}
.pc-sheet i {
  border-right: 1px solid #dfe4ec;
  border-bottom: 1px solid #dfe4ec;
}
.pc-sheet i:nth-child(4n + 1) {
  background: #f1f4f8;
}
.pc-sheet__chart {
  position: absolute;
  right: 4cqw;
  bottom: 3cqw;
  width: 26cqw;
  height: 15cqw;
  display: flex;
  align-items: flex-end;
  gap: 1.4cqw;
  padding: 1.6cqw;
  border-radius: 1.2cqw;
  background: #fff;
  box-shadow: 0 1.5cqw 4cqw -1cqw rgba(0, 0, 0, 0.3);
}
.pc-sheet__chart b {
  flex: 1;
  border-radius: 0.6cqw 0.6cqw 0 0;
  background: var(--a);
}
.pc-sheet__chart b:nth-child(1) { height: 40%; }
.pc-sheet__chart b:nth-child(2) { height: 65%; }
.pc-sheet__chart b:nth-child(3) { height: 50%; background: var(--b); }
.pc-sheet__chart b:nth-child(4) { height: 85%; }
.pc-sheet__chart b:nth-child(5) { height: 72%; }
.pc-menu {
  position: absolute;
  left: 22%;
  top: 9%;
  width: 32cqw;
  height: 46cqw;
  display: flex;
  flex-direction: column;
  gap: 2cqw;
  padding: 3cqw 2.6cqw;
  border-radius: 1.4cqw;
  background: #fbf6ea;
  transform: rotate(-5deg);
  box-shadow: 0 3cqw 6cqw -2cqw rgba(0, 0, 0, 0.7);
}
.pc-menu__title {
  width: 60%;
  height: 3.4cqw;
  margin: 0 auto 1cqw;
  border-radius: 1cqw;
  background: var(--b);
}
.pc-menu i {
  height: 1.2cqw;
  border-radius: 1cqw;
  background: #d9cfb9;
}
.pc-menu i:nth-child(odd) {
  width: 80%;
}
.pc-menu-qr {
  position: absolute;
  right: 16%;
  top: 30%;
  width: 19cqw;
  aspect-ratio: 1;
  padding: 2cqw;
  border-radius: 1.4cqw;
  background: #fff;
  border-bottom: 1cqw solid var(--a);
  transform: rotate(8deg);
  box-shadow: 0 3cqw 6cqw -2cqw rgba(0, 0, 0, 0.7);
}
.pc-menu-qr::before {
  content: '';
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 0.4cqw;
  background: repeating-conic-gradient(#0b0c10 0 25%, transparent 0 50%) 0 0 / 2.8cqw 2.8cqw;
}

/* "Why" flow: last node now has a label */
.flow__node--out {
  padding: 10px 14px;
  border-radius: 14px;
}
@media (max-width: 640px) {
  .flow__line { min-width: 6px; }
  .flow__node svg { width: 15px; height: 15px; }
  .flow__node--out { padding: 8px; border-radius: 50%; }
  .flow__node--out b { display: none; }
}

/* =====================================================================
   STORE PREVIEW VIEWER + PREVIEW PAGES
   Pages are containers: everything inside is sized in cqw (% of page width),
   so a page looks identical at any size.
   ===================================================================== */
.work-dialog__inner.is-product {
  grid-template-columns: 1.35fr 1fr;
}
.pv {
  position: sticky;
  top: 0;
  align-self: start;
  min-width: 0;
  display: flex;
  flex-direction: column;
  background: #090b10;
  border-right: 1px solid var(--line);
}
.pv > .product__cover {
  aspect-ratio: 4 / 3;
  border: 0;
  border-radius: 0;
}
.pv__viewer {
  position: relative;
  height: min(70vh, 680px);
  container-type: size;
  background: radial-gradient(circle at 50% 30%, #1a2030, #090b10 75%);
  touch-action: pan-y;
}
.pv__viewer:focus-visible {
  outline: 2px solid var(--blue-3);
  outline-offset: -2px;
  border-radius: 0;
}
.pv__slide {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  animation: pv-in 0.35s var(--ease-out);
}
@keyframes pv-in {
  from { opacity: 0; transform: translateY(8px); }
}
.pv__nav {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-top: -22px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  background: rgba(5, 6, 8, 0.72);
  color: var(--text);
  transition: background 0.2s, border-color 0.2s;
}
.pv__nav:hover {
  background: var(--blue);
  border-color: var(--blue);
}
.pv__nav--prev { left: 12px; }
.pv__nav--next { right: 12px; }
.pv__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 16px;
  padding: 12px 16px;
  border-top: 1px solid var(--line);
}
.pv__caption {
  font-size: 13.5px;
  color: var(--text-2);
}
.pv__thumbs {
  display: flex;
  gap: 6px;
}
.pv__thumb {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  border: 1px solid var(--line-2);
  background: transparent;
  color: var(--text-2);
  font-size: 13px;
  font-weight: 600;
  transition: all 0.2s;
}
.pv__thumb:hover {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.3);
}
.pv__thumb[aria-current='true'] {
  background: var(--text);
  border-color: var(--text);
  color: var(--bg);
}
@media (max-width: 860px) {
  .work-dialog__inner.is-product { grid-template-columns: 1fr; }
  .pv { position: relative; border-right: 0; border-bottom: 1px solid var(--line); }
  .pv__viewer { height: 62vh; }
}

/* ---------- Page base ---------- */
.pv-page {
  position: relative;
  container-type: inline-size;
  overflow: hidden;
  border-radius: 3px;
  background: #fff;
  color: #1f2937;
  font-family: var(--font-body);
  line-height: 1.4;
  text-align: left;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(255, 255, 255, 0.06);
  -webkit-user-select: none;
  user-select: none;
}
.pv-page--a4 { width: min(92cqw, calc(92cqh * 210 / 297)); aspect-ratio: 210 / 297; }
.pv-page--land { width: min(94cqw, calc(88cqh * 1.414)); aspect-ratio: 1.414; }
.pv-page--square { width: min(92cqw, 90cqh); aspect-ratio: 1; }
.pv-page--phone {
  width: min(60cqw, calc(90cqh * 0.49));
  aspect-ratio: 9 / 18.4;
  border-radius: 28px;
  border: 8px solid #15171c;
  background: var(--pb);
}
.pv-page::after {
  content: attr(data-wm);
  position: absolute;
  inset: -30%;
  z-index: 5;
  display: grid;
  place-items: center;
  font: 700 10cqw/1 var(--font-display);
  letter-spacing: 0.12em;
  color: rgba(47, 107, 255, 0.11);
  transform: rotate(-32deg);
  pointer-events: none;
}
.pv-page em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  background: none;
  -webkit-background-clip: border-box;
  background-clip: border-box;
  color: var(--pa);
}
.pv-page p,
.pv-page h1,
.pv-page h2,
.pv-page ul,
.pv-page ol,
.pv-page dl {
  margin: 0;
}

/* ---------- Documents ---------- */
.pv-doc {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  gap: 2.4cqw;
  padding: 8cqw 8cqw 6cqw;
  font-size: 2.3cqw;
}
.pv-logo {
  display: inline-grid;
  place-items: center;
  width: 12cqw;
  height: 6cqw;
  border-radius: 1.2cqw;
  border: 0.35cqw dashed var(--pa);
  color: var(--pa);
  font: 700 1.7cqw/1 var(--font-display);
  letter-spacing: 0.14em;
}
.pv-company {
  margin-top: 1.2cqw !important;
  font: 700 2.7cqw/1.2 var(--font-display);
  color: var(--pb);
}
.pv-muted {
  font-size: 1.9cqw;
  color: #6b7280;
}
.pv-kicker {
  font: 700 1.9cqw/1.2 var(--font-display);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--pa);
}
.pv-h1 {
  font: 600 7cqw/1.05 var(--font-display);
  letter-spacing: -0.03em;
  color: var(--pb);
}
.pv-h2 {
  margin-top: 1.4cqw !important;
  padding-bottom: 1cqw;
  border-bottom: 0.3cqw solid color-mix(in srgb, var(--pa) 30%, transparent);
  font: 600 3cqw/1.2 var(--font-display);
  color: var(--pb);
}
.pv-p { font-size: 2.3cqw; color: #374151; }
.pv-right { text-align: right; }
.pv-lead { max-width: 85%; font-size: 3cqw; color: #4b5563; }
.pv-list {
  display: grid;
  gap: 1cqw;
  padding-left: 4cqw !important;
  color: #374151;
}
.pv-list li::marker { color: var(--pa); }
.pv-steps {
  display: grid;
  gap: 2cqw;
  padding: 0 !important;
  list-style: none;
}
.pv-steps li {
  display: flex;
  align-items: flex-start;
  gap: 2.4cqw;
}
.pv-steps b {
  flex: none;
  display: grid;
  place-items: center;
  width: 6cqw;
  height: 6cqw;
  border-radius: 50%;
  background: var(--pa);
  color: #fff;
  font: 700 2.2cqw/1 var(--font-display);
}
.pv-steps span {
  display: grid;
  gap: 0.4cqw;
  color: #4b5563;
}
.pv-steps strong {
  font-size: 2.5cqw;
  color: var(--pb);
}
.pv-dochead {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 3cqw;
  margin-bottom: 1cqw;
  border-bottom: 0.4cqw solid var(--pa);
}
.pv-dochead__title { text-align: right; }
.pv-dochead__title .pv-kicker { font-size: 2.6cqw; }
.pv-docfoot {
  margin-top: auto;
  padding-top: 2cqw;
  border-top: 0.25cqw solid #e5e7eb;
  font-size: 1.55cqw;
  color: #9ca3af;
  text-align: center;
}
.pv-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 2.05cqw;
}
.pv-table th {
  padding: 1.4cqw 1.6cqw;
  background: var(--pb);
  color: #fff;
  font-weight: 600;
  text-align: left;
}
.pv-table td {
  padding: 1.3cqw 1.6cqw;
  border-bottom: 0.2cqw solid #e5e7eb;
  color: #374151;
}
.pv-table .pv-num,
.pv-table tfoot td {
  text-align: right;
}
.pv-table tfoot td { border-bottom: 0; font-weight: 600; }
.pv-total td {
  background: color-mix(in srgb, var(--pa) 12%, #fff);
  color: var(--pb);
  font-size: 2.3cqw;
  font-weight: 700 !important;
}
.pv-note { font-size: 1.8cqw; font-style: italic; color: #6b7280; }
.pv-timeline { display: grid; gap: 1.6cqw; }
.pv-timeline div {
  display: grid;
  grid-template-columns: 17cqw 1fr;
  align-items: center;
  gap: 2cqw;
}
.pv-timeline b { font: 600 2.2cqw var(--font-display); color: var(--pa); }
.pv-timeline span {
  margin-left: calc(var(--i) * 9cqw);
  padding: 1.6cqw 2cqw;
  border-radius: 1cqw;
  background: color-mix(in srgb, var(--pa) 14%, #fff);
  color: var(--pb);
  font-weight: 500;
}
.pv-sign {
  display: flex;
  gap: 8cqw;
  margin-top: 5cqw;
}
.pv-sign div {
  flex: 1;
  display: grid;
  gap: 1.2cqw;
  font-size: 1.9cqw;
  color: #6b7280;
}
.pv-sign span { height: 7cqw; border-bottom: 0.25cqw solid #9ca3af; }

/* Cover */
.pv-cover {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  padding: 9cqw 8cqw;
  background: linear-gradient(165deg, #fff 55%, color-mix(in srgb, var(--pa) 10%, #fff));
}
.pv-cover__top { display: flex; justify-content: space-between; align-items: center; }
.pv-cover__main { display: grid; gap: 3cqw; margin-top: 30cqw; }
.pv-meta {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr);
  gap: 3cqw;
  margin-top: auto !important;
  padding-top: 4cqw;
  border-top: 0.3cqw solid #e5e7eb;
}
.pv-meta dt { font-size: 1.6cqw; letter-spacing: 0.12em; text-transform: uppercase; color: #9ca3af; }
.pv-meta dd { margin: 0.6cqw 0 0; font-size: 2.2cqw; font-weight: 600; color: var(--pb); }
.pv-band {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2.4cqw;
  background: linear-gradient(90deg, var(--pa), var(--pb));
}

/* Letters, receipts, forms */
.pv-letterhead {
  display: flex;
  align-items: center;
  gap: 3cqw;
  padding-bottom: 3cqw;
  border-bottom: 0.4cqw solid var(--pa);
}
.pv-letterhead .pv-company { margin-top: 0 !important; }
.pv-to { width: 46%; margin: 3cqw 0 0 auto; font-size: 2.2cqw; color: #374151; }
.pv-signature { font-family: var(--font-serif); font-style: italic; font-size: 4.4cqw; color: var(--pb); }
.pv-boxes { display: grid; grid-template-columns: 1fr 1fr; gap: 3cqw; }
.pv-boxes > div { padding: 2.4cqw; border-radius: 1.2cqw; background: #f5f7fb; font-size: 2.2cqw; }
.pv-amount {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 2cqw 0;
  padding: 3.4cqw 4cqw;
  border-radius: 1.6cqw;
  background: var(--pb);
  color: #fff;
}
.pv-amount span { font-size: 2.2cqw; opacity: 0.8; }
.pv-amount b { font: 600 5.6cqw/1 var(--font-display); }
.pv-fields { display: grid; }
.pv-fields div {
  display: grid;
  grid-template-columns: 30cqw 1fr;
  padding: 2cqw 0;
  border-bottom: 0.2cqw solid #e5e7eb;
  font-size: 2.2cqw;
}
.pv-fields dt { color: #6b7280; }
.pv-fields dd { margin: 0; font-weight: 500; color: #111827; }
.pv-check {
  display: inline-block;
  width: 2.4cqw;
  height: 2.4cqw;
  margin: 0 0.8cqw 0 1.6cqw;
  border: 0.3cqw solid #9ca3af;
  border-radius: 0.5cqw;
  vertical-align: -0.3cqw;
}
.pv-check.is-on {
  background: var(--pa);
  border-color: var(--pa);
  box-shadow: inset 0 0 0 0.5cqw #fff;
}
.pv-lines { display: grid; gap: 3.2cqw; margin-top: 3cqw; }
.pv-line { display: block; height: 0.3cqw; background: #e5e7eb; }

/* ---------- Spreadsheets ---------- */
.pv-sheet {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  background: #fff;
  font-size: 1.45cqw;
}
.pv-sheet__bar {
  display: flex;
  align-items: center;
  gap: 1.2cqw;
  padding: 0.9cqw 1.4cqw;
  border-bottom: 0.15cqw solid #e2e8f0;
  background: #f8fafc;
  color: #334155;
  font-family: ui-monospace, 'Cascadia Mono', Consolas, monospace;
}
.pv-sheet__cell { padding: 0.3cqw 1cqw; border: 0.15cqw solid #cbd5e1; border-radius: 0.4cqw; background: #fff; }
.pv-sheet__fx { font-style: italic; font-weight: 700; color: var(--pa); }
.pv-sheet__grid { flex: 1; overflow: hidden; }
.pv-sheet .pv-table { font-size: 1.45cqw; }
.pv-sheet .pv-table th { padding: 1cqw 1.2cqw; background: color-mix(in srgb, var(--pa) 88%, #000); }
.pv-sheet .pv-table td { padding: 0.95cqw 1.2cqw; border: 0.12cqw solid #e2e8f0; }
.pv-sheet .pv-table tbody tr:nth-child(even) td { background: #f8fafc; }
.pv-sheet__tabs {
  display: flex;
  gap: 0.4cqw;
  padding: 0.8cqw 1.4cqw 0;
  border-top: 0.15cqw solid #e2e8f0;
  background: #f1f5f9;
}
.pv-sheet__tabs span {
  padding: 0.7cqw 2cqw;
  border-radius: 0.6cqw 0.6cqw 0 0;
  font-size: 1.3cqw;
  color: #64748b;
}
.pv-sheet__tabs .is-on {
  background: #fff;
  color: var(--pa);
  font-weight: 700;
  box-shadow: inset 0 0.3cqw 0 var(--pa);
}
.pv-dash {
  flex: 1;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: auto 1fr;
  gap: 1.8cqw;
  padding: 2cqw;
  background: #f8fafc;
  min-height: 0;
}
.pv-kpis { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6cqw; }
.pv-kpis div {
  display: grid;
  gap: 0.4cqw;
  padding: 1.6cqw 2cqw;
  border-radius: 1cqw;
  border: 0.15cqw solid #e2e8f0;
  background: #fff;
}
.pv-kpis span { font-size: 1.25cqw; letter-spacing: 0.1em; text-transform: uppercase; color: #64748b; }
.pv-kpis b { font: 600 3cqw/1.1 var(--font-display); color: var(--pb); }
.pv-kpis .is-accent { background: var(--pa); border-color: var(--pa); }
.pv-kpis .is-accent span,
.pv-kpis .is-accent b { color: #fff; }
.pv-chart,
.pv-donut {
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: 1.8cqw;
  border-radius: 1cqw;
  border: 0.15cqw solid #e2e8f0;
  background: #fff;
}
.pv-chart__title { margin-bottom: 1.2cqw !important; font-size: 1.5cqw; font-weight: 600; color: #334155; }
.pv-bars {
  flex: 1;
  display: flex;
  align-items: flex-end;
  gap: 2cqw;
  margin-bottom: 2.4cqw;
  border-bottom: 0.15cqw solid #e2e8f0;
}
.pv-bars > div { position: relative; flex: 1; height: 100%; display: flex; align-items: flex-end; gap: 0.5cqw; }
.pv-bars span { flex: 1; border-radius: 0.4cqw 0.4cqw 0 0; background: var(--pa); }
.pv-bars .is-exp { background: #f59e0b; }
.pv-bars em {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2.4cqw;
  font-size: 1.2cqw;
  font-style: normal;
  text-align: center;
  color: #64748b;
}
.pv-donut__ring {
  display: block;
  width: 12cqw;
  aspect-ratio: 1;
  margin: 0.5cqw auto 1.6cqw;
  border-radius: 50%;
  background: conic-gradient(#1f9d55 0 46%, #7bd39a 0 72%, #2b5f3e 0 84%, #c7ecd3 0);
  -webkit-mask: radial-gradient(circle, transparent 52%, #000 53%);
  mask: radial-gradient(circle, transparent 52%, #000 53%);
}
.pv-donut ul { display: grid; gap: 0.7cqw; padding: 0; list-style: none; font-size: 1.3cqw; color: #334155; }
.pv-donut i { display: inline-block; width: 1.2cqw; height: 1.2cqw; margin-right: 0.8cqw; border-radius: 0.3cqw; background: var(--c); }

/* ---------- Social templates ---------- */
.pv-social {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5cqw;
  background: #eef1f8;
}
.pv-posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3cqw; }
.pv-post {
  position: relative;
  display: flex;
  flex-direction: column;
  aspect-ratio: 4 / 5;
  padding: 3cqw 2.6cqw;
  overflow: hidden;
  border-radius: 1.6cqw;
  color: #fff;
  box-shadow: 0 2cqw 4cqw -2cqw rgba(15, 23, 42, 0.45);
}
.pv-post__kicker { max-width: 60%; font: 700 1.4cqw/1.2 var(--font-display); letter-spacing: 0.14em; }
.pv-post__title { margin-top: auto !important; font: 700 3.2cqw/1.02 var(--font-display); letter-spacing: -0.02em; }
.pv-post__foot { margin-top: 1.4cqw; font-size: 1.5cqw; opacity: 0.85; }
.pv-post__handle { position: absolute; top: 3cqw; right: 2.6cqw; font-size: 1.2cqw; opacity: 0.7; }
.pv-post--p1 { background: var(--pa); }
.pv-post--p1 .pv-post__title { font-size: 8cqw; }
.pv-post--p2 { background: #fff; color: #1e1b4b; border: 0.3cqw solid #dfe3f0; }
.pv-post--p2 .pv-post__kicker { color: var(--pa); }
.pv-post--p3 { background: linear-gradient(160deg, var(--pb), #1e1b4b); }
.pv-post--p3::before {
  content: '';
  position: absolute;
  right: -20%;
  top: 10%;
  width: 75%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}
.pv-post--p4 { background: #111827; box-shadow: inset 0 -1.6cqw 0 #f2c14e, 0 2cqw 4cqw -2cqw rgba(15, 23, 42, 0.45); }
.pv-post--p5 { background: #f2c14e; color: #1f2937; }
.pv-post--p6 { background: linear-gradient(140deg, var(--pa), var(--pb)); }
.pv-stories { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3.4cqw; padding: 0 5cqw; }
.pv-stories .pv-post { aspect-ratio: 9 / 16; padding: 4cqw 2.6cqw; }
.pv-post--s1 { background: #111827; }
.pv-post--s1 .pv-post__title { margin: auto 0 !important; font-family: ui-monospace, Consolas, monospace; font-size: 4.2cqw; text-align: center; }
.pv-post--s2 { background: #fff; color: #1e1b4b; border: 0.3cqw solid #dfe3f0; }
.pv-post--s2 .pv-post__kicker { color: var(--pa); }
.pv-post--s2 .pv-post__foot { padding: 1.2cqw; border-radius: 1cqw; background: #eef1f8; text-align: center; font-weight: 700; }
.pv-post--s3 { background: linear-gradient(170deg, var(--pb), var(--pa)); }
.pv-guide { justify-content: flex-start; gap: 3.4cqw; padding: 8cqw; background: #fff; }
.pv-guide .pv-h1 { font-size: 6.4cqw; }
.pv-guide .pv-steps { gap: 3cqw; }
.pv-guide .pv-steps b { width: 7cqw; height: 7cqw; font-size: 2.8cqw; }
.pv-guide .pv-steps span { font-size: 2.4cqw; }
.pv-guide .pv-steps strong { font-size: 3cqw; }
.pv-highlights { display: flex; gap: 3cqw; margin-top: auto; }
.pv-highlights span { display: grid; justify-items: center; gap: 1.2cqw; font-size: 1.9cqw; color: #475569; }
.pv-highlights i {
  width: 10cqw;
  aspect-ratio: 1;
  border-radius: 50%;
  background: linear-gradient(140deg, var(--pa), var(--pb));
  box-shadow: 0 0 0 0.6cqw #fff, 0 0 0 1cqw color-mix(in srgb, var(--pa) 40%, transparent);
}

/* ---------- Starter kit ---------- */
.pv-cards {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-content: center;
  gap: 5cqw;
  padding: 6cqw;
  background: #ece9f5;
}
.pv-bcard {
  display: flex;
  flex-direction: column;
  aspect-ratio: 85 / 55;
  padding: 3cqw;
  border-radius: 1.4cqw;
  box-shadow: 0 2cqw 5cqw -2cqw rgba(20, 18, 31, 0.5);
}
.pv-bcard--front { align-items: center; justify-content: center; gap: 2cqw; background: var(--pb); color: #fff; }
.pv-bcard--front .pv-logo { border-color: var(--pa); color: #fff; }
.pv-bcard--front p { font: 600 1.9cqw/1.2 var(--font-display); letter-spacing: 0.1em; }
.pv-bcard--back { justify-content: flex-end; background: #fff; color: #374151; font-size: 1.45cqw; border-top: 1.2cqw solid var(--pa); }
.pv-bcard__name { font: 600 2.8cqw/1.1 var(--font-display); color: var(--pb); }
.pv-bcard__role { margin-bottom: 1.8cqw !important; font-weight: 600; color: var(--pa); }
.pv-cards__note { grid-column: 1 / -1; text-align: center; font-size: 1.6cqw; color: #6b7280; }
.pv-brandguide { gap: 1.8cqw; }
.pv-brandguide .pv-h1 { font-size: 5.4cqw; }
.pv-logos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2cqw; }
.pv-logos span { display: grid; place-items: center; height: 12cqw; border-radius: 1.2cqw; background: #f4f1fb; }
.pv-logos .is-dark { background: var(--pb); }
.pv-logos .is-accent { background: var(--pa); }
.pv-logos .is-dark .pv-logo,
.pv-logos .is-accent .pv-logo { border-color: #fff; color: #fff; }
.pv-swatches { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2cqw; }
.pv-swatches div { display: grid; gap: 0.5cqw; font-size: 1.8cqw; }
.pv-swatches i { height: 9cqw; border-radius: 1cqw; border: 0.2cqw solid #e5e7eb; }
.pv-swatches b { color: var(--pb); }
.pv-swatches span { color: #6b7280; font-family: ui-monospace, Consolas, monospace; }
.pv-type p { font-size: 2.4cqw; }
.pv-type .pv-type__display { font: 600 4.4cqw/1.2 var(--font-display); color: var(--pb); }
.pv-checklist { display: grid; gap: 1.6cqw; padding: 0 !important; list-style: none; font-size: 2.3cqw; color: #374151; }
.pv-checklist li { display: flex; align-items: center; }
.pv-checklist .pv-check { margin: 0 2cqw 0 0; }

/* ---------- Restaurant menu ---------- */
.pv-menu {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  gap: 3cqw;
  padding: 8cqw 9cqw;
  background: #fbf7ee;
  font-size: 2.2cqw;
}
.pv-menu__head { display: grid; justify-items: center; gap: 1.4cqw; text-align: center; }
.pv-menu__name { font-family: var(--font-serif); font-style: italic; font-size: 7cqw; line-height: 1; color: var(--pb); }
.pv-menu__rule { width: 12cqw; height: 0.4cqw; background: var(--pa); }
.pv-menu__sec h2 {
  margin: 0 0 1.6cqw;
  font: 700 2.2cqw/1.2 var(--font-display);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-align: center;
  color: var(--pa);
}
.pv-dish { display: flex; align-items: baseline; gap: 1.4cqw; margin-bottom: 1.6cqw; }
.pv-dish > div { display: grid; gap: 0.3cqw; }
.pv-dish b { font-size: 2.5cqw; font-weight: 600; color: var(--pb); }
.pv-dish span { font-size: 1.9cqw; font-style: italic; color: #6b7280; }
.pv-dish i { flex: 1; border-bottom: 0.25cqw dotted #c4b89a; }
.pv-dish em { font-family: var(--font-body); font-style: normal; font-weight: 600; font-size: 2.3cqw; color: var(--pb); }
.pv-dish sup { font-size: 1.4cqw; color: #9ca3af; }
.pv-menu__legend { margin-top: auto !important; font-size: 1.6cqw; text-align: center; color: #6b7280; }
.pv-phone { position: absolute; inset: 0; display: flex; flex-direction: column; background: var(--pb); color: #fff7e6; font-size: 3.6cqw; }
.pv-phone__head { padding: 12cqw 6cqw 5cqw; background: linear-gradient(160deg, color-mix(in srgb, var(--pa) 30%, var(--pb)), var(--pb)); }
.pv-phone__head p { font-family: var(--font-serif); font-style: italic; font-size: 9cqw; line-height: 1; }
.pv-phone__tabs { display: flex; gap: 2cqw; padding: 4cqw 5cqw; overflow: hidden; }
.pv-phone__tabs span { padding: 1.6cqw 3.4cqw; border-radius: 6cqw; border: 0.3cqw solid rgba(255, 255, 255, 0.2); font-size: 3.2cqw; white-space: nowrap; }
.pv-phone__tabs .is-on { background: var(--pa); border-color: var(--pa); color: var(--pb); font-weight: 700; }
.pv-phone__list { padding: 0 5cqw; overflow: hidden; }
.pv-phone .pv-menu__sec h2 { margin: 4cqw 0 2.4cqw; font-size: 3.4cqw; letter-spacing: 0.14em; text-align: left; color: var(--pa); }
.pv-phone .pv-dish { margin-bottom: 3cqw; }
.pv-phone .pv-dish b { font-size: 3.8cqw; font-weight: 500; color: #fff7e6; }
.pv-phone .pv-dish em { font-size: 3.6cqw; color: var(--pa); }
.pv-phone .pv-dish i { border-color: rgba(255, 255, 255, 0.25); }
.pv-qrcard { position: absolute; inset: 0; display: grid; place-items: center; background: radial-gradient(circle at 30% 20%, #26425a, var(--pb)); }
.pv-qrcard__card {
  display: grid;
  justify-items: center;
  gap: 2.4cqw;
  width: 56%;
  padding: 6cqw 5cqw;
  border-radius: 3cqw;
  border-bottom: 2cqw solid var(--pa);
  background: #fbf7ee;
  text-align: center;
  box-shadow: 0 4cqw 8cqw -2cqw rgba(0, 0, 0, 0.6);
}
.pv-qrcard .pv-menu__name { font-size: 6cqw; }
.pv-qrcard__cta { font: 700 2.4cqw/1.2 var(--font-display); letter-spacing: 0.12em; text-transform: uppercase; color: var(--pb); }
.pv-qrcard__qr { width: 70%; }
.pv-qrcard__qr svg { display: block; width: 100%; height: auto; }

/* ---------- Portfolio: live demo links ---------- */
.work__demo {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 12px 4px 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--blue-3);
  transition: color 0.2s, gap 0.3s var(--ease);
}
.work__demo:hover {
  gap: 9px;
  color: var(--text);
}
.work-dialog__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}
.work-dialog__actions .btn {
  margin-top: 0 !important;
}

/* =====================================================================
   Reduced motion
   ===================================================================== */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  html.js .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Print */
@media print {
  .site-header,
  .hero__bg,
  .cookie-banner,
  .toast,
  .marquee {
    display: none !important;
  }
  body {
    background: #fff;
    color: #000;
  }
}
