/* zuif.ru — portfolio (light theme), RU / EN / VI. Local fonts only (OFL): Geologica, Onest, Be Vietnam Pro (VI). */
@font-face { font-family: "Geologica"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("/fonts/geologica-cyrillic-wght-normal.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Geologica"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("/fonts/geologica-latin-wght-normal.woff2") format("woff2");
  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: "Onest"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("/fonts/onest-cyrillic-wght-normal.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Onest"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("/fonts/onest-latin-wght-normal.woff2") format("woff2");
  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: "Be Vietnam Pro"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/be-vietnam-pro-vietnamese-400-normal.woff2") format("woff2"); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: "Be Vietnam Pro"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/be-vietnam-pro-latin-400-normal.woff2") format("woff2"); 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: "Be Vietnam Pro"; font-style: normal; font-weight: 500; font-display: swap; src: url("/fonts/be-vietnam-pro-vietnamese-500-normal.woff2") format("woff2"); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: "Be Vietnam Pro"; font-style: normal; font-weight: 500; font-display: swap; src: url("/fonts/be-vietnam-pro-latin-500-normal.woff2") format("woff2"); 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: "Be Vietnam Pro"; font-style: normal; font-weight: 600; font-display: swap; src: url("/fonts/be-vietnam-pro-vietnamese-600-normal.woff2") format("woff2"); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: "Be Vietnam Pro"; font-style: normal; font-weight: 600; font-display: swap; src: url("/fonts/be-vietnam-pro-latin-600-normal.woff2") format("woff2"); 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: "Be Vietnam Pro"; font-style: normal; font-weight: 700; font-display: swap; src: url("/fonts/be-vietnam-pro-vietnamese-700-normal.woff2") format("woff2"); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: "Be Vietnam Pro"; font-style: normal; font-weight: 700; font-display: swap; src: url("/fonts/be-vietnam-pro-latin-700-normal.woff2") format("woff2"); 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; }

:root {
  --bg: #f6f5ef;          /* warm off-white */
  --bg-2: #eeede4;
  --card: #ffffff;
  --card-2: #f3f2eb;
  --line: rgba(22, 24, 15, 0.09);
  --line-2: rgba(22, 24, 15, 0.16);
  --text: #16180f;        /* 16.4:1 on --bg */
  --muted: #4e5047;       /* 7.5:1 */
  --dim: #62645b;         /* 5.5:1 */
  --accent: #c6f041;      /* fills only (buttons, marks) */
  --accent-ink: #13170a;  /* text on --accent, 13.8:1 */
  --accent-d: #3f5a00;    /* accent as text, 7.2:1 */
  --accent-soft: rgba(150, 196, 20, 0.14);
  --violet: #5a43d1;      /* 6.1:1 */
  --violet-soft: rgba(90, 67, 209, 0.09);
  --shadow-sm: 0 1px 2px rgba(22, 24, 15, .05), 0 4px 14px -6px rgba(22, 24, 15, .10);
  --shadow-lg: 0 2px 6px rgba(22, 24, 15, .05), 0 28px 56px -26px rgba(22, 24, 15, .30);
  --radius: 22px;
  --radius-sm: 14px;
  --wrap: 1240px;
  --font-d: "Geologica", "Onest", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font: "Onest", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}
/* Vietnamese: Geologica/Onest have no Vietnamese glyphs */
html[lang="vi"] { --font-d: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; --font: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; }
html[lang="vi"] .hero__title, html[lang="vi"] .sec__title, html[lang="vi"] .contact__title { letter-spacing: -0.03em; line-height: 1.12; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-d); margin: 0; font-weight: 600; letter-spacing: -0.02em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }

.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--accent); color: var(--accent-ink); padding: 8px 14px; border-radius: 10px; }
.skip:focus { left: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Buttons */
.btn {
  --h: 46px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: var(--h); padding: 0 20px; border-radius: 999px;
  font: 600 15px/1 var(--font); text-decoration: none; white-space: nowrap;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .25s var(--ease), background-color .25s, border-color .25s, box-shadow .25s;
}
.btn:hover { transform: translateY(-1px); }
.btn--accent { background: var(--accent); color: var(--accent-ink); border-color: rgba(22,24,15,.08); box-shadow: 0 8px 24px -12px rgba(110, 150, 0, .7); }
.btn--accent:hover { box-shadow: 0 14px 30px -12px rgba(110, 150, 0, .85); }
.btn--dark { background: var(--text); color: #fff; box-shadow: 0 10px 24px -14px rgba(22,24,15,.8); }
.btn--dark:hover { background: #2a2d20; }
.btn--ghost { border-color: var(--line-2); color: var(--text); background: rgba(255,255,255,.55); }
.btn--ghost:hover { border-color: rgba(22,24,15,.32); background: #fff; }
.btn--sm { --h: 38px; padding: 0 16px; font-size: 14px; }
.btn--lg { --h: 54px; padding: 0 26px; font-size: 16px; }
.btn--xl { --h: 62px; padding: 0 34px; font-size: 18px; }
.btn__ic { width: 18px; height: 18px; fill: currentColor; flex: none; }

/* Header */
.hdr {
  position: sticky; top: 0; z-index: 40;
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  background: rgba(246, 245, 239, .66);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background-color .3s, box-shadow .3s;
}
.hdr.is-scrolled { border-bottom-color: var(--line); background: rgba(246, 245, 239, .86); box-shadow: 0 6px 24px -18px rgba(22,24,15,.35); }
.hdr__in { display: flex; align-items: center; gap: 28px; height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 700 19px/1 var(--font-d); letter-spacing: -0.02em; }
.logo__mark { display: block; width: 32px; height: 32px; object-fit: contain; flex: none; }
.logo__txt span { color: var(--dim); font-weight: 500; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { color: var(--muted); text-decoration: none; font-size: 14.5px; padding: 8px 12px; border-radius: 999px; transition: color .2s, background-color .2s; }
.nav a:hover { color: var(--text); background: rgba(22,24,15,.05); }

/* Language switch */
.lang { display: inline-flex; gap: 2px; padding: 3px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255,255,255,.6); flex: none; }
.lang a { min-width: 34px; height: 30px; display: grid; place-items: center; padding: 0 8px; border-radius: 999px; font: 650 12.5px/1 var(--font); letter-spacing: .04em; color: var(--muted); text-decoration: none; transition: color .2s, background-color .2s; }
.lang a:hover { color: var(--text); background: rgba(22,24,15,.06); }
.lang a[aria-current="page"] { background: var(--text); color: #fff; }

/* Hero */
.hero { position: relative; padding: 36px 0 0; overflow: hidden; }
.hero__bg {
  position: absolute; inset: -10% -10% 30%; pointer-events: none;
  background:
    radial-gradient(620px 420px at 82% 22%, rgba(198, 240, 65, .38), transparent 70%),
    radial-gradient(560px 460px at 98% 70%, rgba(150, 132, 255, .20), transparent 70%),
    radial-gradient(520px 360px at 6% 4%, rgba(255, 214, 170, .35), transparent 70%);
  mask-image: linear-gradient(#000 60%, transparent);
  -webkit-mask-image: linear-gradient(#000 60%, transparent);
}
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 60% 40%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 60% 40%, #000 20%, transparent 75%);
  opacity: .7;
}
.hero__top { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 20px 64px; align-items: end; padding-bottom: 36px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--muted); padding: 7px 14px 7px 12px; border: 1px solid var(--line-2); border-radius: 999px; background: rgba(255,255,255,.6); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #7fae00; box-shadow: 0 0 0 4px rgba(127,174,0,.16); animation: pulse 2.4s ease-in-out infinite; flex: none; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(127,174,0,0); } }
.hero__title { margin-top: 22px; font-size: clamp(38px, 4.3vw, 62px); line-height: 1.02; letter-spacing: -0.045em; font-weight: 650; }
.hero__title em { font-style: normal; background: linear-gradient(transparent 58%, var(--accent) 58%, var(--accent) 92%, transparent 92%); padding: 0 .06em; }
.hero__lead { max-width: 540px; font-size: clamp(16px, 1.3vw, 18px); color: var(--muted); line-height: 1.6; }
.hero__cta { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero__facts { margin: 26px 0 0; display: grid; grid-template-columns: repeat(2, auto); justify-content: start; gap: 16px 40px; padding-top: 20px; border-top: 1px solid var(--line-2); }
.hero__facts div { min-width: 0; }
.hero__facts div:last-child { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; }
.hero__facts div:last-child dd { margin: 0; }
.hero__facts dt { font: 650 24px/1 var(--font-d); white-space: nowrap; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.hero__facts dd { margin: 8px 0 0; font-size: 13px; color: var(--muted); line-height: 1.4; }

/* Hero entrance (first screen, CSS only) */
.js .hero__copy > *, .js .hero__side > *, .js .slider { animation: rise .9s var(--ease) both; }
.js .hero__copy > :nth-child(2) { animation-delay: .06s; }
.js .hero__side > :nth-child(1) { animation-delay: .1s; }
.js .hero__side > :nth-child(2) { animation-delay: .16s; }
.js .hero__side > :nth-child(3) { animation-delay: .22s; }
.js .slider { animation-delay: .22s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }

/* Showcase slider: full-bleed band, screenshot shown whole (contain in a frame) over a blurred copy */
.slider { position: relative; --sl-delay: 6s; --sl-h: clamp(280px, 48vh, 520px); background: #10131f; color: #fff; isolation: isolate; }
.slider__viewport { position: relative; overflow: hidden; touch-action: pan-y; -webkit-user-select: none; user-select: none; }
.slider__track { display: flex; transition: transform .8s var(--ease); will-change: transform; }
.slider.is-dragging .slider__track { transition: none; }
.slide { position: relative; flex: 0 0 100%; min-width: 0; overflow: hidden; }
.slide__blur { position: absolute; inset: -60px; width: calc(100% + 120px); height: calc(100% + 120px); max-width: none; object-fit: cover; filter: blur(48px) saturate(1.25); opacity: .75; z-index: -2; pointer-events: none; }
.slide::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(12,14,24,.86) 0%, rgba(12,14,24,.62) 38%, rgba(12,14,24,.42) 100%); pointer-events: none; }
.slide__in { display: grid; grid-template-columns: minmax(280px, 380px) minmax(0, 1fr); gap: 48px; align-items: stretch; padding: 40px 0; }
.slide__frame { margin: 0; justify-self: end; max-width: 100%; border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 0 40px 80px -30px rgba(0,0,0,.75), 0 0 0 1px rgba(255,255,255,.1); }
.slide__bar { display: flex; align-items: center; gap: 7px; height: 32px; padding: 0 14px; background: #e9eaee; color: #5c606c; }
.slide__bar i { width: 10px; height: 10px; border-radius: 50%; background: #c8cad2; flex: none; }
.slide__bar span { margin-left: 10px; height: 20px; min-width: 0; flex: 0 1 260px; border-radius: 6px; background: #fff; padding: 0 10px; font: 500 12px/20px var(--font); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.slide__img { display: block; width: calc(var(--sl-h) * 1.6); max-width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: contain; background: #0f1220; -webkit-user-drag: none; }
.slide__frame--plain { background: #121729; }
.js .slide__frame { transform: scale(.965) translateY(10px); opacity: .6; transition: transform .9s var(--ease), opacity .7s var(--ease); }
.js .slide.is-active .slide__frame { transform: none; opacity: 1; }
.slide__cap { align-self: start; display: grid; gap: 12px; justify-items: start; padding-top: 6px; }
.js .slide__cap { opacity: 0; transform: translateY(14px); transition: opacity .5s var(--ease) .2s, transform .6s var(--ease) .2s; }
.js .slide.is-active .slide__cap { opacity: 1; transform: none; }
.slide__meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.slide__num { font: 600 13px/1 var(--font-d); color: rgba(255,255,255,.55); font-variant-numeric: tabular-nums; letter-spacing: .04em; }
.slide__type { font-size: 13.5px; color: rgba(255,255,255,.72); }
.slide__title { font: 600 clamp(22px, 2.1vw, 30px)/1.15 var(--font-d); letter-spacing: -0.025em; }
.slide__desc { color: rgba(255,255,255,.76); font-size: 15px; line-height: 1.55; }
.slide__go { margin-top: 6px; }
.btn--light { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.28); }
.btn--light:hover { background: rgba(255,255,255,.18); border-color: rgba(255,255,255,.5); }
.slide .badge--real { background: rgba(198,240,65,.16); color: #d6f78a; }
.slider__ui { position: absolute; left: 0; right: 0; bottom: 40px; z-index: 2; pointer-events: none; }
.slider__ui .wrap { display: flex; align-items: center; gap: 10px; }
.slider__ui .wrap > * { pointer-events: auto; }
.slider__dots { display: flex; gap: 5px; flex: 0 1 170px; }
.slider__dot { position: relative; flex: 1 1 0; min-width: 18px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer; }
.slider__dot::before, .slider__dot span { content: ""; position: absolute; left: 0; right: 0; top: 10px; height: 4px; border-radius: 4px; }
.slider__dot::before { background: rgba(255,255,255,.22); transition: background-color .2s; }
.slider__dot:hover::before, .slider__dot[aria-current="true"]::before { background: rgba(255,255,255,.36); }
.slider__dot span { background: var(--accent); transform: scaleX(0); transform-origin: left; }
.slider__dot[aria-current="true"] span { transform: scaleX(1); }
.slider.is-auto .slider__dot[aria-current="true"] span { animation: sl-progress var(--sl-delay) linear both; }
.slider.is-paused .slider__dot[aria-current="true"] span { animation-play-state: paused; }
@keyframes sl-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.slider__btn {
  width: 44px; height: 44px; flex: none; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,.28); background: rgba(255,255,255,.08); color: #fff; cursor: pointer;
  transition: transform .25s var(--ease), background-color .2s, border-color .2s;
}
.slider__btn:hover { background: rgba(255,255,255,.18); border-color: rgba(255,255,255,.5); transform: translateY(-1px); }
.slider__btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.slider__btn .ic-play { display: none; }
.slider__btn[aria-pressed="true"] .ic-play { display: block; }
.slider__btn[aria-pressed="true"] .ic-pause { display: none; }
.slider__count { font: 600 14px/1 var(--font-d); color: rgba(255,255,255,.7); font-variant-numeric: tabular-nums; min-width: 48px; text-align: center; }
.slider :focus-visible { outline-color: #fff; }

/* Language hint (no redirect) */
.lhint { position: fixed; left: 16px; bottom: 16px; z-index: 55; display: flex; align-items: center; gap: 12px; max-width: min(440px, calc(100vw - 32px)); padding: 10px 10px 10px 18px; border-radius: 16px; background: var(--text); color: #fff; font-size: 14px; box-shadow: 0 20px 40px -16px rgba(22,24,15,.6); }
.lhint p { flex: 1; }
.lhint a { color: var(--accent); font-weight: 650; }
.lhint__x { width: 34px; height: 34px; flex: none; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); background: transparent; color: #fff; font-size: 18px; cursor: pointer; }
.js .lhint { animation: rise .6s var(--ease) both; }

/* Lightbox */
.lb { width: min(1200px, calc(100vw - 24px)); max-height: calc(100vh - 24px); padding: 0; border: 0; border-radius: 18px; background: #10131f; color: #fff; box-shadow: 0 40px 80px -20px rgba(0,0,0,.7); overflow: hidden; }
.lb::backdrop { background: rgba(12,14,22,.78); backdrop-filter: blur(6px); }
.lb__fig { margin: 0; display: grid; }
.lb__img { width: 100%; height: auto; max-height: calc(100vh - 110px); object-fit: contain; background: #0b0d16; }
.lb__cap { display: flex; align-items: center; gap: 12px; padding: 14px 16px 14px 20px; }
.lb__title { flex: 1; font: 600 16px/1.3 var(--font-d); }
.lb__count { color: rgba(255,255,255,.6); font-size: 13.5px; font-variant-numeric: tabular-nums; }
.lb__btn { width: 40px; height: 40px; flex: none; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.06); color: #fff; font-size: 20px; line-height: 1; cursor: pointer; display: grid; place-items: center; }
.lb__btn:hover { background: rgba(255,255,255,.16); }
.lb__btn[hidden] { display: none !important; }

/* Sections */
.sec { padding: 110px 0; position: relative; }
.sec--alt { background: linear-gradient(180deg, var(--bg-2), #f2f1e9); border-block: 1px solid var(--line); }
.sec__head { max-width: 760px; margin-bottom: 52px; }
.sec__kicker { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-d); font-weight: 700; }
.sec__title { margin-top: 14px; font-size: clamp(30px, 4vw, 52px); line-height: 1.05; letter-spacing: -0.035em; }
.sec__lead { margin-top: 18px; color: var(--muted); font-size: clamp(16px, 1.3vw, 18px); max-width: 640px; }

/* Services */
.svc { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.svc__card {
  grid-column: span 2; position: relative; padding: 30px; border-radius: var(--radius);
  background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: border-color .3s, transform .45s var(--ease), box-shadow .45s var(--ease);
  overflow: hidden;
}
.svc__card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(420px 220px at 0% 0%, rgba(198,240,65,.28), transparent 70%); opacity: 0; transition: opacity .4s; pointer-events: none; }
.svc__card:hover { border-color: var(--line-2); transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.svc__card:hover::before { opacity: 1; }
.svc__card > * { position: relative; }
.svc__card--wide { grid-column: span 3; }
.svc__ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--text); color: var(--accent); }
.svc__ic svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.svc__card h3 { margin-top: 26px; font-size: 22px; line-height: 1.2; }
.svc__card p { margin-top: 12px; color: var(--muted); }
.svc__card ul { margin-top: 20px; display: grid; gap: 8px; }
.svc__card li { position: relative; padding-left: 22px; font-size: 15px; }
.svc__card li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 10px; height: 3px; background: #8fbf0a; border-radius: 2px; }

/* Project cards */
.pgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cgrid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.pc {
  position: relative; display: flex; flex-direction: column; border-radius: var(--radius);
  background: var(--card); border: 1px solid var(--line); overflow: hidden; text-decoration: none; color: inherit;
  box-shadow: var(--shadow-sm);
  transition: border-color .3s, transform .45s var(--ease), box-shadow .45s var(--ease);
}
.pc:hover { border-color: var(--line-2); transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.pc--feat { grid-column: span 2; }
.pc--fill .pc__cover { aspect-ratio: auto; flex: 1 1 auto; min-height: 240px; }
.pc--fill .pc__body { flex: 0 0 auto; }
.pc__cover { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--card-2); border-bottom: 1px solid var(--line); }
.pc__cover > img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .8s var(--ease); }
.pc:hover .pc__cover > img { transform: scale(1.045); }
.pc__body { display: flex; flex-direction: column; gap: 12px; padding: 22px 24px 24px; flex: 1; }
.pc__meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.pc__type { font-size: 13px; color: var(--dim); }
.pc__title { font-size: 21px; line-height: 1.22; letter-spacing: -0.02em; }
.pc--feat .pc__title { font-size: 28px; }
.pc__desc { color: var(--muted); font-size: 15px; line-height: 1.6; }
.pc__link { margin-top: auto; padding-top: 6px; display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; color: var(--accent-d); font-weight: 650; font-size: 15px; text-decoration: none; }
.pc__link span { display: inline-block; transition: transform .3s var(--ease); }
.pc:hover .pc__link span, a.pc__link:hover span { transform: translateX(3px); }
a.pc__link:hover { text-decoration: underline; text-underline-offset: 4px; }
.badge { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px; border-radius: 999px; font-size: 12px; font-weight: 650; letter-spacing: .02em; }
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge--real { background: #eaf5c9; color: var(--accent-d); }
.badge--concept, .badge--wip { background: #ecebfb; color: var(--violet); }
.badge--wip::before { animation: pulse-v 2.4s ease-in-out infinite; }
@keyframes pulse-v { 50% { opacity: .35; } }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tags li { font-size: 12.5px; color: var(--muted); padding: 4px 10px; border-radius: 8px; background: var(--card-2); border: 1px solid var(--line); }

/* CSS covers (product mock-ups keep their own dark "screen" palettes) */
.cv { display: grid; place-items: center; }
.cv > * { transition: transform .8s var(--ease); }
.pc:hover .cv > .cv-win, .pc:hover .cv > .cv-chat { transform: scale(1.03); }
.cv--app { background: radial-gradient(120% 100% at 0% 0%, #2a4a26, #12201a 60%); padding: 26px; }
.cv-win { width: 100%; max-width: 420px; border-radius: 12px; background: #f5f6f2; color: #1b1e1a; box-shadow: 0 30px 50px -20px rgba(0,0,0,.7); overflow: hidden; font-size: 11px; }
.cv-win__bar { display: flex; align-items: center; gap: 5px; height: 26px; padding: 0 10px; background: #e6e8e1; }
.cv-win__bar i { width: 8px; height: 8px; border-radius: 50%; background: #c7cac0; }
.cv-win__bar span { margin-left: 8px; font-weight: 600; color: #3b4136; }
.cv-win__body { display: grid; grid-template-columns: 70px 1fr; min-height: 150px; }
.cv-win__side { background: #17261a; padding: 12px 10px; display: grid; gap: 9px; align-content: start; }
.cv-win__side b, .cv-win__side s { display: block; height: 6px; border-radius: 4px; background: #3b5a3a; }
.cv-win__side b { background: #8bc34a; width: 70%; height: 8px; }
.cv-win__main { position: relative; padding: 10px 12px; display: grid; gap: 6px; align-content: start; }
.cv-row { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 10px; align-items: center; height: 18px; border-bottom: 1px solid #e5e7df; }
.cv-row span { height: 6px; border-radius: 4px; background: #d5d8ce; }
.cv-row span.g { background: #7cb342; width: 70%; }
.cv-row span.o { background: #f2a33a; width: 70%; }
.cv-row--h span { height: auto; background: none; color: #8a8f83; font-weight: 600; font-size: 10px; }
.cv-chip { position: absolute; right: -14px; bottom: -14px; background: #1b1e1a; color: #d2f65a; padding: 8px 12px; border-radius: 10px; font-weight: 600; font-size: 12px; box-shadow: 0 14px 30px -10px rgba(0,0,0,.6); }

.cv--bot { background: radial-gradient(120% 120% at 100% 0%, #24366a, #10162a 60%); padding: 22px; grid-template-rows: 1fr auto; gap: 12px; }
.cv-chat { width: 100%; max-width: 330px; display: flex; flex-direction: column; gap: 7px; font-size: 12.5px; }
.cv-chat p { padding: 8px 12px; border-radius: 14px; max-width: 82%; line-height: 1.35; }
.cv-chat .in { align-self: flex-end; background: #2b5cff; color: #fff; border-bottom-right-radius: 4px; }
.cv-chat .out { background: #1e2433; color: #e5e8f0; border-bottom-left-radius: 4px; }
.cv-chat .out.ok { color: #d2f65a; }
.cv-chat .act { padding: 0; max-width: 82%; }
.cv-chat .act span { display: block; text-align: center; padding: 7px 12px; border-radius: 10px; background: rgba(255,255,255,.1); color: #fff; }
.cv-chans { display: flex; gap: 6px; }
.cv-chans span { font-size: 11.5px; padding: 4px 10px; border-radius: 999px; border: 1px solid rgba(255,255,255,.18); color: #c9cfdd; }

.cv--ngo { background: radial-gradient(100% 100% at 30% 20%, #23604f, #113128 70%); grid-template-columns: auto auto; gap: 22px; align-content: center; justify-content: center; }
.cv--ngo img { width: 108px; height: 108px; border-radius: 26px; box-shadow: 0 24px 40px -14px rgba(0,0,0,.7); }
.cv-ngo { background: #f4f1e4; color: #173d34; border-radius: 14px; padding: 14px 16px; box-shadow: 0 24px 40px -14px rgba(0,0,0,.7); }
.cv-ngo span { font-size: 11.5px; color: #557067; display: block; }
.cv-ngo b { display: block; font: 700 21px/1.2 var(--font-d); margin: 4px 0 2px; }
.cv-ngo small { font-size: 11.5px; color: #557067; }
.cv-langs { position: absolute; right: 14px; top: 14px; display: flex; gap: 4px; }
.cv-langs span { font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 6px; background: rgba(244,241,228,.14); color: #f4f1e4; }

.cv--phone { background: radial-gradient(90% 100% at 50% 0%, #22495a, #0e1a20 70%); overflow: hidden; }
.cv-phone { width: 42%; max-width: 170px; margin-top: 18%; border-radius: 26px; padding: 6px; background: #05080a; border: 1px solid rgba(255,255,255,.16); box-shadow: 0 30px 60px -20px rgba(0,0,0,.8); transition: transform .8s var(--ease); }
.cv-phone img { border-radius: 20px; width: 100%; height: auto; }
.pc:hover .cv-phone { transform: translateY(-14px); }

.pgrid > .pc--cta { grid-column: span 2; }
.pc--cta { align-items: flex-start; justify-content: center; gap: 14px; padding: 32px; border: 1.5px dashed rgba(100, 140, 0, .45); background: radial-gradient(120% 80% at 0% 0%, rgba(198,240,65,.30), transparent 60%), var(--card); min-height: 320px; }
.pc--cta__plus { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: var(--text); color: var(--accent); font: 300 34px/1 var(--font-d); transition: transform .45s var(--ease); }
.pc--cta:hover .pc--cta__plus { transform: rotate(90deg); }
.pc--cta__title { font: 600 24px/1.2 var(--font-d); letter-spacing: -0.02em; }
.pc--cta__text { color: var(--muted); }
.pc--cta .btn { margin-top: 6px; }

.pc--concept { grid-column: span 2; }
button.pc { font: inherit; text-align: left; padding: 0; cursor: zoom-in; width: 100%; }
button.pc .pc__cover, button.pc .pc__title, button.pc .pc__desc { display: block; }
button.pc .pc__title { font-family: var(--font-d); font-weight: 600; }
.pc__zoom { position: absolute; right: 12px; top: 12px; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.92); color: var(--text); box-shadow: var(--shadow-sm); opacity: 0; transform: scale(.9); transition: opacity .3s, transform .3s var(--ease); }
.pc__zoom svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.pc:hover .pc__zoom, .pc:focus-visible .pc__zoom { opacity: 1; transform: none; }
.pc__shots { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.pc__shots span { font-size: 13px; color: var(--dim); margin-right: 2px; }
.pc__shot { padding: 0; width: 88px; aspect-ratio: 16 / 10; border-radius: 8px; overflow: hidden; border: 1px solid var(--line-2); background: var(--card-2); cursor: zoom-in; transition: transform .25s var(--ease), border-color .2s; }
.pc__shot:hover { transform: translateY(-2px); border-color: rgba(22,24,15,.35); }
.pc__shot img { width: 100%; height: 100%; object-fit: cover; }
button.pc__cover { display: block; width: 100%; padding: 0; border: 0; border-bottom: 1px solid var(--line); cursor: zoom-in; font: inherit; }
.pc:target { border-color: rgba(100,140,0,.6); box-shadow: 0 0 0 4px rgba(198,240,65,.45), var(--shadow-lg); }
.pgrid > .pc { scroll-margin-top: 90px; }
.pc--c-big { grid-column: span 3; }
.pc--concept .pc__cover > img { object-position: top left; }

.cv--text { background: radial-gradient(120% 100% at 0% 0%, rgba(198,240,65,.45), transparent 60%), var(--card-2); padding: 28px; }
.cv-text { font: 650 clamp(22px, 2.4vw, 30px)/1.1 var(--font-d); letter-spacing: -0.03em; text-align: center; max-width: 90%; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; counter-reset: s; }
.step { position: relative; padding: 28px 24px 26px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.step::after { content: ""; position: absolute; top: 46px; right: -17px; width: 18px; height: 1px; background: var(--line-2); }
.step:last-child::after { display: none; }
.step__n { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--accent); color: var(--accent-ink); font: 650 14px/1 var(--font-d); }
.step h3 { margin-top: 22px; font-size: 19px; }
.step p { margin-top: 10px; color: var(--muted); font-size: 15px; }

/* Live video */
.live { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.live__item { margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.live__item:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.live__media { position: relative; aspect-ratio: 16 / 9; background: #0f1512; }
.live__media video { width: 100%; height: 100%; object-fit: cover; }
.live__toggle {
  position: absolute; right: 14px; bottom: 14px; height: 40px; padding: 0 14px 0 12px; display: inline-flex; align-items: center; gap: 8px;
  border-radius: 999px; border: 1px solid rgba(255,255,255,.4); background: rgba(255,255,255,.9); color: var(--text);
  font: 600 13.5px/1 var(--font); cursor: pointer; box-shadow: 0 10px 24px -12px rgba(0,0,0,.6);
  transition: transform .25s var(--ease), background-color .2s;
}
.live__toggle:hover { transform: translateY(-1px); background: #fff; }
.live__toggle svg { width: 16px; height: 16px; fill: currentColor; }
.live__toggle .ic-pause { display: none; }
.live__item.is-playing .live__toggle .ic-pause { display: block; }
.live__item.is-playing .live__toggle .ic-play { display: none; }
.live__cap { padding: 18px 22px 22px; display: grid; gap: 6px; }
.live__cap b { font: 600 18px/1.3 var(--font-d); letter-spacing: -0.02em; }
.live__cap span { color: var(--muted); font-size: 15px; }

/* Stack */
.stack { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.stack__g { padding: 26px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--card); box-shadow: var(--shadow-sm); }
.stack__g h3 { font-size: 15px; color: var(--muted); font-weight: 500; letter-spacing: 0; font-family: var(--font); }
.chips { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { font-size: 15px; font-weight: 500; padding: 8px 14px; border-radius: 999px; background: var(--card-2); border: 1px solid var(--line); transition: border-color .2s, background-color .2s, transform .25s var(--ease); }
.chips li:hover { border-color: rgba(100,140,0,.5); background: #eef7d2; transform: translateY(-1px); }

/* Blog */
.blog { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.post { text-align: left; font: inherit; color: inherit; cursor: pointer; display: flex; flex-direction: column; gap: 10px; padding: 0 0 22px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--card); box-shadow: var(--shadow-sm); overflow: hidden; transition: border-color .3s, transform .45s var(--ease), box-shadow .45s var(--ease); }
.post:hover { border-color: var(--line-2); transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.post img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.post__meta { padding: 18px 22px 0; font-size: 13px; color: var(--dim); }
.post img + .post__meta { padding-top: 8px; }
.post__title { padding: 0 22px; font: 600 19px/1.3 var(--font-d); }
.post__desc { padding: 0 22px; color: var(--muted); font-size: 15px; }

/* Contact */
.contact { padding-top: 40px; }
.contact__box { position: relative; overflow: hidden; text-align: center; padding: 90px 30px; border-radius: 32px; border: 1px solid var(--line-2); background: linear-gradient(180deg, #fffefa, #f3f2ea); box-shadow: var(--shadow-lg); }
.contact__glow { position: absolute; inset: 0; background: radial-gradient(640px 320px at 50% 0%, rgba(198,240,65,.42), transparent 70%), radial-gradient(520px 300px at 50% 120%, rgba(150,132,255,.22), transparent 70%); pointer-events: none; }
.contact__box > * { position: relative; }
.contact__title { margin: 18px auto 0; font-size: clamp(32px, 5vw, 64px); line-height: 1.02; letter-spacing: -0.04em; max-width: 900px; }
.contact__lead { margin: 20px auto 36px; max-width: 560px; color: var(--muted); font-size: 18px; }
.contact__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.contact__links .btn { flex-shrink: 0; }

.ftr { border-top: 1px solid var(--line); padding: 28px 0; color: var(--dim); font-size: 14px; }
.ftr__brand { display: inline-flex; align-items: center; gap: 10px; }
.ftr__brand img { display: block; width: 32px; height: 32px; object-fit: contain; flex: none; }
.ftr__in { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.ftr a { text-decoration: none; color: var(--muted); }
.ftr a:hover { color: var(--text); }

/* Reveal on scroll (stagger via --rd set in script.js) */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease) var(--rd, 0s), transform .8s var(--ease) var(--rd, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* Reader dialog */
.reader { width: min(760px, calc(100vw - 24px)); max-height: calc(100vh - 40px); padding: 0; border: 1px solid var(--line-2); border-radius: 24px; background: #fffefa; color: var(--text); box-shadow: var(--shadow-lg); }
.reader::backdrop { background: rgba(22,24,15,.45); backdrop-filter: blur(4px); }
.reader__close { position: sticky; top: 12px; float: right; margin: 12px 12px 0 0; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); background: #fff; color: var(--text); font-size: 22px; cursor: pointer; }
.reader__body { padding: 34px clamp(20px, 5vw, 48px) 44px; }
.reader__meta { font-size: 13px; color: var(--accent-d); font-weight: 600; }
.reader__title { margin-top: 10px; font-size: clamp(26px, 4vw, 38px); line-height: 1.1; }
.reader__img { margin-top: 24px; border-radius: 16px; width: 100%; }
.reader__lead { margin-top: 18px; font-size: 18px; color: var(--muted); }
.reader__content { margin-top: 20px; line-height: 1.75; }
.reader__content h3 { margin: 28px 0 10px; font-size: 22px; }
.reader__content p { margin: 0 0 14px; }
.reader__content ul, .reader__content ol { padding-left: 22px; margin: 0 0 14px; list-style: disc; }
.reader__content img { border-radius: 12px; margin: 16px 0; }
.reader__content a { color: var(--accent-d); }

/* Admin */
.admin-fab { position: fixed; right: 20px; bottom: 20px; z-index: 60; height: 46px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--text); color: #fff; font: 600 14px var(--font); cursor: pointer; box-shadow: 0 12px 30px -10px rgba(22,24,15,.6); }
.admin { position: fixed; z-index: 70; top: 0; right: 0; bottom: 0; width: min(440px, 100vw); overflow-y: auto; padding: 24px; background: #fffefa; border-left: 1px solid var(--line-2); box-shadow: -30px 0 60px -20px rgba(22,24,15,.35); }
.admin__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.admin__eyebrow { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--accent-d); font-weight: 700; }
.admin__head h2 { font-size: 22px; margin-top: 4px; }
.admin__x { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; color: var(--text); font-size: 20px; cursor: pointer; }
.admin__tabs { display: flex; gap: 6px; margin: 20px 0 16px; padding: 4px; border-radius: 999px; background: var(--card-2); border: 1px solid var(--line); }
.admin__tab { flex: 1; height: 36px; border: 0; border-radius: 999px; background: transparent; color: var(--muted); font: 600 14px var(--font); cursor: pointer; }
.admin__tab.is-active { background: #fff; color: var(--text); box-shadow: var(--shadow-sm); }
.admin__form { display: grid; gap: 14px; }
.admin__form label { display: grid; gap: 6px; font-size: 13.5px; color: var(--muted); }
.admin__form input, .admin__form textarea, .rich__ed { width: 100%; padding: 11px 13px; border-radius: 12px; border: 1px solid var(--line-2); background: #fff; color: var(--text); font: 15px/1.5 var(--font); }
.admin__form input:focus, .admin__form textarea:focus, .rich__ed:focus { outline: none; border-color: #7fae00; box-shadow: 0 0 0 3px rgba(127,174,0,.18); }
.rich { display: grid; gap: 6px; }
.rich__bar { display: flex; gap: 6px; flex-wrap: wrap; }
.rich__bar button { height: 32px; padding: 0 12px; border-radius: 8px; border: 1px solid var(--line-2); background: var(--card-2); color: var(--text); font: 13px var(--font); cursor: pointer; }
.rich__ed { min-height: 140px; }
.admin__status { font-size: 13.5px; color: var(--muted); min-height: 1em; }
.admin__logout { margin-top: 22px; width: 100%; height: 42px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; color: var(--muted); font: 600 14px var(--font); cursor: pointer; }

/* Responsive */
@media (max-width: 1100px) {
  .hero__top { grid-template-columns: 1fr; gap: 22px; }
  .hero__lead { max-width: 640px; }
  .slide__in { grid-template-columns: minmax(280px, 340px) minmax(0, 1fr); gap: 32px; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .step::after { display: none; }
}
@media (max-width: 900px) {
  .nav { display: none; }
  .hdr__in { justify-content: space-between; gap: 12px; }
  .lang { margin-left: auto; }
  .pgrid { grid-template-columns: repeat(2, 1fr); }
  .pc--feat { grid-column: span 2; }
  .pc--fill .pc__cover { aspect-ratio: 16 / 10; flex: none; min-height: 0; }
  .cgrid { grid-template-columns: repeat(2, 1fr); }
  .pc--concept, .pc--c-big { grid-column: span 1; }
  .pc--concept:last-child { grid-column: span 2; }
  .svc { grid-template-columns: repeat(2, 1fr); }
  .svc__card, .svc__card--wide { grid-column: span 1; }
  .svc__card:last-child { grid-column: span 2; }
  .stack, .blog { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .sec { padding: 84px 0; }
  /* slider: frame on top, compact caption below — nothing overlaps the screenshot */
  .slide__in { grid-template-columns: 1fr; gap: 20px; padding: 28px 0 92px; align-items: start; }
  .slider__ui { bottom: 28px; }
  .slider__dots { flex: 0 1 360px; }
  .slide__frame { justify-self: center; order: -1; }
  .slide__img { width: 100%; }
  .slide::after { background: linear-gradient(180deg, rgba(12,14,24,.45), rgba(12,14,24,.8) 70%); }
  .slide__cap { padding: 0; gap: 8px; }
}
@media (max-width: 640px) {
  .wrap { width: min(var(--wrap), 100% - 32px); }
  .hdr__in { height: 60px; }
  .logo__txt { display: none; }
  .hdr .btn--sm { --h: 36px; padding: 0 14px; font-size: 13px; }
  .lang a { min-width: 30px; height: 28px; padding: 0 6px; font-size: 12px; }
  .hero { padding-top: 28px; }
  .hero__top { padding-bottom: 28px; }
  .hero__title { font-size: clamp(32px, 9.4vw, 44px); }
  .hero__lead { font-size: 15.5px; }
  .hero__cta { margin-top: 20px; gap: 10px; }
  .hero__cta .btn { flex: 1 1 100%; --h: 50px; }
  .hero__facts { gap: 14px 28px; margin-top: 22px; }
  .hero__facts dt { font-size: 22px; }
  .hero__facts dd { font-size: 12.5px; }
  .slide__in { padding: 18px 0 84px; gap: 16px; }
  .slide__frame { border-radius: 10px; }
  .slide__bar { height: 24px; padding: 0 10px; gap: 5px; }
  .slide__bar i { width: 7px; height: 7px; }
  .slide__bar span { height: 15px; font-size: 10px; line-height: 15px; margin-left: 6px; }
  .slide__title { font-size: 20px; }
  .slide__desc { font-size: 14px; }
  .slide__go { --h: 40px; }
  .slider__ui { bottom: 22px; }
  .slider__dots { flex: 1 1 auto; }
  .slider__btn { width: 40px; height: 40px; }
  .slider__count { display: none; }
  .sec { padding: 68px 0; }
  .sec__head { margin-bottom: 34px; }
  .pgrid, .cgrid, .svc, .stack, .blog, .steps, .live { grid-template-columns: 1fr; }
  .pgrid > .pc--cta, .pc--feat, .pc--concept, .pc--c-big, .pc--concept:last-child, .svc__card, .svc__card--wide, .svc__card:last-child { grid-column: auto; }
  .pc__body { padding: 20px; }
  .pc--feat .pc__title { font-size: 23px; }
  .svc__card { padding: 24px; }
  .contact__box { padding: 60px 20px; border-radius: 24px; }
  .contact__box .btn--xl { --h: 56px; padding: 0 24px; font-size: 16px; }
  .contact__lead { font-size: 16px; }
  .lb__cap { padding: 10px 12px 12px 14px; }
}
@media (max-height: 760px) and (min-width: 901px) {
  .slider { --sl-h: clamp(260px, 46vh, 480px); }
}
@media (hover: none) {
  .pc:hover, .svc__card:hover, .step:hover, .live__item:hover, .post:hover { transform: none; }
  .pc__zoom { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  .js .slide__frame { transform: none; opacity: 1; }
  .js .slide__cap { opacity: 1; transform: none; }
}
