

:root {
  --bg: #0a0a0b;
  --bg-2: #131315;
  --bg-3: #1c1c1f;
  --line: rgba(255, 255, 255, 0.07);
  --line-2: rgba(255, 255, 255, 0.14);
  --fg: #f4f4f5;
  --fg-dim: #9d9da3;
  --fg-mute: #5e5e62;
  --accent: #ffffff;
  --serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --sans: "Geist", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

html {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  
  scroll-padding-top: 80px;
}

html.lenis,
html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  min-height: 100vh;
  background: var(--bg);
  overflow-x: hidden;
}

::selection { background: rgba(255,255,255,0.85); color: #000; }

.intro {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transform-origin: center;
  transition:
    opacity 1.5s cubic-bezier(.22,.85,.2,1),
    transform 1.5s cubic-bezier(.22,.85,.2,1),
    filter 1.5s cubic-bezier(.22,.85,.2,1);
}
.intro.is-leaving {
  opacity: 0;
  transform: scale(1.06);
  filter: blur(8px);
  pointer-events: none;
}

body.intro-active main {
  opacity: 0;
}
.intro-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.intro-enter {
  position: relative;
  z-index: 2;
  background: transparent;
  border: 0;
  padding: 14px 24px;
  margin: 0;
  color: #fff;
  font-family: var(--sans);
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 200;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 1.2s ease-out, transform 1.2s ease-out, letter-spacing .6s ease;
  animation: introPulse 2.5s ease-in-out infinite;
}
.intro-enter.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.intro-enter:hover { letter-spacing: 0.32em; }
@keyframes introPulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.55; }
}
body.intro-active { overflow: hidden; }

.starfield {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.9;
}

.hero-dither {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  opacity: 0.32;
  mix-blend-mode: screen;
}
.hero-dither.dither-fallback {

  opacity: 1;
  mix-blend-mode: normal;
  background:
    radial-gradient(ellipse 80% 60% at 30% 20%, rgba(120,140,180,0.08), transparent 60%),
    radial-gradient(ellipse 80% 60% at 70% 80%, rgba(140,120,180,0.06), transparent 60%),
    linear-gradient(180deg, #0a0a0b 0%, #14141a 50%, #0a0a0b 100%);
}
.hero-dither > * {
  width: 100%;
  height: 100%;
  display: block;
}
.hero-dither canvas {
  width: 100% !important;
  height: 100% !important;
  display: block;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: radial-gradient(
    ellipse 70% 60% at 50% 50%,
    rgba(10, 10, 11, 0.65) 0%,
    rgba(10, 10, 11, 0.35) 35%,
    rgba(10, 10, 11, 0.05) 70%,
    transparent 100%
  );
}

.ambient-glow {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}
.ambient-glow::before,
.ambient-glow::after {
  content: "";
  position: absolute;
  filter: blur(60px);
}
.ambient-glow::before {
  top: -10%; right: -8%;
  width: 60%; height: 70%;
  background: radial-gradient(closest-side at 50% 50%, rgba(255,255,255,0.10), rgba(255,255,255,0.02) 55%, transparent 80%);
}
.ambient-glow::after {
  bottom: -5%; left: -10%;
  width: 50%; height: 50%;
  background: radial-gradient(closest-side at 50% 50%, rgba(255,255,255,0.05), transparent 70%);
}

.hero-haze {
  position: absolute;
  inset: auto 0 0 0;
  height: 55%;
  z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(ellipse 110% 80% at 50% 110%,
      rgba(168,172,184,0.22) 0%,
      rgba(140,144,158,0.12) 28%,
      rgba(110,114,128,0.05) 55%,
      transparent 80%),
    linear-gradient(to top,
      rgba(150,154,168,0.10) 0%,
      rgba(120,124,138,0.04) 35%,
      transparent 75%);
  filter: blur(6px);
  animation: hazeBreathe 11s ease-in-out infinite;
  will-change: opacity, transform;
}
.hero-haze::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 30% 100%, rgba(180,184,200,0.10), transparent 70%),
    radial-gradient(ellipse 65% 55% at 75% 100%, rgba(160,164,180,0.08), transparent 70%);
  filter: blur(20px);
  mix-blend-mode: screen;
  animation: hazeDrift 17s ease-in-out infinite;
}
@keyframes hazeBreathe {
  0%, 100% { opacity: 0.85; transform: translateY(0); }
  50%      { opacity: 1;    transform: translateY(-1.5%); }
}
@keyframes hazeDrift {
  0%, 100% { transform: translateX(0); opacity: 0.9; }
  50%      { transform: translateX(4%); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-haze, .hero-haze::before { animation: none; }
}

@media (hover: hover) and (pointer: fine) {
  html, body, a, button { cursor: none; }
}

.cursor {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: difference;
  display: none;
}
@media (hover: hover) and (pointer: fine) {
  .cursor { display: block; }
}
.cursor-dot {
  position: absolute;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #fff;
  transform: translate(-50%, -50%);
  transition: width .2s ease, height .2s ease;
}
.cursor-ring {
  position: absolute;
  width: 36px; height: 36px;
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width .25s cubic-bezier(.2,.8,.2,1), height .25s cubic-bezier(.2,.8,.2,1), border-color .2s;
}
.cursor.is-hover .cursor-dot { width: 0; height: 0; }
.cursor.is-hover .cursor-ring {
  width: 56px; height: 56px;
  border-color: rgba(255,255,255,0.9);
}

.status {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 60;
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--fg-dim);
  background: rgba(11,11,10,0.65);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.status-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 8px rgba(255,255,255,0.6);
  animation: pulse 1.8s ease-in-out infinite;
}
.status-text { white-space: nowrap; }
.status-sep { color: var(--fg-mute); }

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(0.9); }
}

@media (max-width: 720px) {
  .status { font-size: 10px; gap: 8px; padding: 7px 10px; }
  .status-text:nth-child(4),
  .status-sep:nth-child(3) { display: none; }
}

main#top {
  
  transition:
    filter .55s cubic-bezier(.55, 0, .45, 1),
    opacity 1.0s cubic-bezier(.25, .7, .35, 1);
  will-change: filter, opacity;
}
body.is-page-transition main#top {
  filter: blur(22px) saturate(0.85);
  pointer-events: none;
}

.lang-switch {
  position: relative;
  display: inline-flex;
  align-items: center;
  margin-left: 10px;
  padding: 3px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  user-select: none;
  flex-shrink: 0;
  transition: background .25s, border-color .25s;
}
.lang-switch:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.14);
}

.lang-switch button {
  position: relative;
  z-index: 1;
  background: none;
  border: none;
  padding: 5px 11px;
  font: inherit;
  letter-spacing: inherit;
  color: var(--fg-dim);
  cursor: pointer;
  transition: color .25s, transform .12s ease-out;
}
.lang-switch button:hover {
  color: var(--fg);
}
.lang-switch button.is-active {
  
  color: #0a0a0b;
}
.lang-switch button:active {
  transform: scale(0.94);
}

.ls-thumb {
  position: absolute;
  top: 3px;
  bottom: 3px;
  left: var(--thumb-x, 3px);
  width: var(--thumb-w, 36px);
  background: var(--fg);
  border-radius: 999px;
  z-index: 0;
  pointer-events: none;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
  transition:
    left .42s cubic-bezier(.4, 1.4, .55, 1),
    width .42s cubic-bezier(.4, 1.4, .55, 1);
}
@media (prefers-reduced-motion: reduce) {
  .ls-thumb { transition: none; }
}

.island {
  position: fixed;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  display: flex;
  align-items: center;
  height: 44px;
  width: 72px;
  background: rgba(13,13,15,0.92);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 999px;
  backdrop-filter: blur(20px) saturate(130%);
  -webkit-backdrop-filter: blur(20px) saturate(130%);
  overflow: hidden;
  transition: width .55s cubic-bezier(.22,.85,.2,1), background .3s, height .35s;
  box-shadow:
    0 12px 32px rgba(0,0,0,0.45),
    0 0 0 1px rgba(255,255,255,0.04) inset;
}
.island:hover {
  
  width: 590px;
  background: rgba(15,15,17,0.95);
  border-color: rgba(255,255,255,0.18);
  box-shadow:
    0 16px 40px rgba(0,0,0,0.5),
    0 0 0 1px rgba(255,255,255,0.06) inset,
    0 0 30px rgba(255,255,255,0.10);
}
.island-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 44px;
  flex-shrink: 0;
  color: var(--fg);
  text-decoration: none;
  transition: transform .4s cubic-bezier(.2,.85,.2,1);
}
.island-logo svg { transition: transform .5s cubic-bezier(.2,.85,.2,1); }
.island:hover .island-logo svg { transform: rotate(180deg); }

.island-menu {
  display: flex;
  align-items: center;
  gap: 2px;
  padding-right: 6px;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(-12px);
  transition:
    opacity .3s ease,
    transform .45s cubic-bezier(.2,.85,.2,1);
}
.island:hover .island-menu {
  opacity: 1;
  transform: translateX(0);
  transition-delay: .12s;
}
.island-menu a {
  color: var(--fg-dim);
  text-decoration: none;
  font-size: 13px;
  font-weight: 400;
  padding: 7px 14px;
  border-radius: 999px;
  transition: color .2s, background .2s;
}
.island-menu a:hover {
  color: var(--fg);
  background: rgba(255,255,255,0.06);
}
.island-menu a.is-cta {
  color: #0a0a0b;
  background: var(--fg);
  font-weight: 500;
  margin-left: 4px;
}
.island-menu a.is-cta:hover { background: #fff; color: #000; }

@media (hover: none), (pointer: coarse) {
  .island { width: auto; padding-right: 8px; }
  .island-menu { opacity: 1; transform: none; }
  .island-menu a { padding: 7px 10px; font-size: 12px; }
}
@media (max-width: 720px) {
  .island { height: 38px; width: 60px; }
  .island-logo { width: 60px; height: 38px; }
}

section { padding: 0 32px; }
@media (max-width: 720px) { section { padding: 0 16px; } }

.sect-head {
  max-width: 880px;
  margin: 0 0 64px;
  padding-top: 32px;
}
.sect-num {
  display: inline-block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-mute);
  margin-bottom: 24px;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
}
.sect-title {
  font-family: var(--sans);
  font-weight: 500;
  font-size: clamp(36px, 5.5vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin: 0 0 20px;
}
.sect-title em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--fg-dim);
}
.sect-lead {
  color: var(--fg-dim);
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.55;
  max-width: 640px;
  margin: 0;
}
.sect-lead em { font-family: var(--serif); font-style: italic; color: var(--fg); }

.hero-shell {
  position: relative;
  margin: 16px 16px 0;
}
@media (max-width: 720px) {
  .hero-shell { margin: 12px 12px 0; }
}

.hero-shell::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 220px;
  height: 90px;
  background: radial-gradient(ellipse 50% 100% at 50% 0%,
    rgba(255,255,255,0.16),
    rgba(255,255,255,0.04) 45%,
    transparent 75%);
  filter: blur(10px);
  pointer-events: none;
  z-index: 5;
  opacity: 0.4;
  animation: islandIdleAura 4.2s ease-in-out infinite;
  transition: width .55s cubic-bezier(.22,.85,.2,1),
              height .55s cubic-bezier(.22,.85,.2,1),
              opacity .4s ease,
              filter .55s ease;
  will-change: width, opacity;
}
.hero-shell.is-island-hover::before {
  width: 720px;
  height: 160px;
  opacity: 1;
  filter: blur(18px);
  animation-play-state: paused;
}
@keyframes islandIdleAura {
  0%, 100% { opacity: 0.30; }
  50%      { opacity: 0.55; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-shell::before { animation: none; }
}

.hero-shell::after {
  content: "";
  position: absolute;
  top: 0;
  left: -30%;
  width: 30%;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(255,255,255,0.5) 50%,
    transparent 100%);
  pointer-events: none;
  opacity: 0;
  z-index: 6;
}
.hero-shell.is-island-hover::after {
  animation: islandSweep 1.6s cubic-bezier(.22,.85,.2,1);
}
@keyframes islandSweep {
  0%   { left: -30%; opacity: 0; }
  20%  { opacity: 1; }
  80%  { opacity: 1; }
  100% { left: 100%; opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-shell::after { display: none; }
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: calc(100svh - 32px);
  min-height: calc(100vh - 32px);
  padding: 0;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 32px;
  background: var(--bg);
  display: block;
  box-shadow:
    0 40px 80px -40px rgba(0,0,0,0.5),
    0 0 0 1px rgba(255,255,255,0.02) inset;
  transition: border-color .5s ease, box-shadow .5s ease;
}
@media (max-width: 720px) {
  .hero { border-radius: 24px; min-height: calc(100svh - 24px); }
}

.hero-shell.is-island-hover .hero {
  border-top-color: rgba(255,255,255,0.32);
  box-shadow:
    0 -14px 60px -10px rgba(255,255,255,0.10),
    0 40px 80px -40px rgba(0,0,0,0.5),
    0 0 0 1px rgba(255,255,255,0.04) inset;
}

.hero-content {
  position: relative;
  z-index: 5;
  min-height: inherit;
  padding: 120px 32px 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 28px;
}
@media (max-width: 720px) {
  .hero-content { padding: 100px 20px 50px; }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0;
  padding: 4px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 13px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.badge-tag {
  background: rgba(255,255,255,0.92);
  color: #0a0a0b;
  padding: 4px 12px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 12px;
  letter-spacing: -0.005em;
}
.badge-text {
  padding: 0 14px 0 10px;
  color: var(--fg-dim);
  letter-spacing: -0.005em;
}

.hero-title {
  font-family: "Boldonse", var(--sans);
  font-weight: 400;
  font-size: clamp(40px, 6vw, 96px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0;
  max-width: 1100px;
  color: var(--fg);
}

:lang(ru) .hero-title {
  font-family: "Unbounded", var(--sans);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.0;
}

.hero-title .line {
  display: block;
}
.hero-title .line > * {
  display: inline-block;
  white-space: nowrap;
}
.hero-title em {
  font-style: normal;
  color: var(--fg-dim);
}

.hero-sub {
  max-width: 540px;
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.55;
  color: var(--fg-dim);
  margin: 0 auto;
}

.hero-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 4px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform .2s cubic-bezier(.2,.8,.2,1), background .2s, color .2s, border-color .2s;
}
.btn.primary {
  background: #f5f5f7;
  color: #0a0a0b;
}
.btn.primary:hover { background: #fff; }
.btn.ghost {
  background: rgba(255,255,255,0.04);
  color: var(--fg);
  border-color: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.btn.ghost:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.18); }
.btn-arrow {
  display: inline-block;
  transition: transform .25s cubic-bezier(.2,.8,.2,1);
}
.btn:hover .btn-arrow { transform: translateY(2px); }

.work-pin {
  padding: 0;
  background: #000;
}

.pin-track {
  position: relative;
  height: 280vh;
  background: #000;
}

.pin-stage-wrap {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  background: #000;
}

.pin-bg-title {
  position: absolute;
  top: 6%;
  left: 50%;
  z-index: 0;
  margin: 0;
  font-family: var(--sans);
  font-weight: 800;
  font-size: clamp(96px, 16vw, 240px);
  line-height: 0.95;
  letter-spacing: -0.06em;
  color: rgba(255,255,255,0.045);
  text-transform: uppercase;
  white-space: nowrap;
  pointer-events: none;
  transform: translate(-50%, var(--bg-title-y, 24px));
  opacity: var(--bg-title-opacity, 0);
  will-change: opacity, transform;
}
@media (max-width: 720px) {
  .pin-bg-title { font-size: clamp(64px, 18vw, 120px); top: 8%; }
}

.pin-teaser {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 32px;
  text-align: center;
  z-index: 1;
  opacity: var(--t-opacity, 1);
  filter: blur(var(--t-blur, 0px));
  will-change: opacity, filter;
  pointer-events: none;
}
.pin-teaser .teaser-kicker {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.22);
}
.pin-teaser .teaser-title {
  font-family: var(--sans);
  font-weight: 300;
  font-size: clamp(44px, 7.6vw, 112px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  color: rgba(255,255,255,0.7);
  margin: 0;
  max-width: 1200px;
}

.pin-stage {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 32px;
  z-index: 2;
  transform: translate3d(0, var(--b-y, 100%), 0);
  will-change: transform;
}
.pin-stage .browser-shell {
  width: 100%;
  margin: 0;
}

@media (max-width: 720px) {
  .pin-track { height: 200vh; }
  .pin-stage { padding: 40px 16px; }
  .work-bottom { padding: 32px 16px 60px; }
}

@media (prefers-reduced-motion: reduce) {
  
  .pin-track { height: auto; }
  .pin-stage-wrap { position: relative; height: auto; }
  .pin-teaser { display: none; }
  .pin-stage { position: relative; transform: none; padding: 60px 32px; }
}

.work { padding-top: 60px; padding-bottom: 80px; }

.browser-shell {
  position: relative;
  max-width: 1080px;
  margin: 0 auto;
  border-radius: 14px;
  overflow: hidden;
  background: #16161a;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow:
    0 60px 120px -40px rgba(0,0,0,0.7),
    0 0 0 1px rgba(255,255,255,0.02) inset;
}

.browser-chrome {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  background: linear-gradient(180deg, #2c2c30 0%, #1f1f23 100%);
  border-bottom: 1px solid rgba(0,0,0,0.45);
}
.chrome-lights {
  display: flex;
  gap: 8px;
  margin-right: 6px;
}
.light {
  width: 12px; height: 12px;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,0.18);
  box-shadow: 0 1px 0 rgba(255,255,255,0.06) inset;
}
.light.red    { background: #ff5f57; }
.light.yellow { background: #febc2e; }
.light.green  { background: #28c840; }

.chrome-nav {
  display: flex;
  gap: 2px;
}
.nav-btn, .action-btn {
  width: 28px; height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  color: rgba(255,255,255,0.55);
  border-radius: 6px;
  cursor: pointer;
  transition: background .2s, color .2s;
}
.nav-btn:hover:not(:disabled),
.action-btn:hover:not(:disabled) {
  background: rgba(255,255,255,0.06);
  color: var(--fg);
}
.nav-btn:disabled,
.action-btn:disabled {
  opacity: 0.35;
  cursor: default;
}

.chrome-url {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  height: 30px;
  padding: 0 14px;
  background: rgba(0,0,0,0.4);
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: 8px;
  color: rgba(255,255,255,0.8);
  font-family: var(--sans);
  font-size: 13px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: background .2s, border-color .2s, color .2s;
}
.chrome-url:hover {
  background: rgba(0,0,0,0.55);
  border-color: rgba(255,255,255,0.12);
  color: var(--fg);
}
.url-lock { color: rgba(255,255,255,0.4); flex-shrink: 0; }
.url-text { font-weight: 500; letter-spacing: -0.005em; }
.url-hint {
  margin-left: auto;
  font-size: 11px;
  color: rgba(255,255,255,0.6);
  opacity: 0;
  transform: translateX(8px);
  transition: opacity .25s, transform .3s cubic-bezier(.2,.85,.2,1);
  white-space: nowrap;
}
.chrome-url:hover .url-hint {
  opacity: 1;
  transform: translateX(0);
}

.chrome-actions {
  display: flex;
  gap: 2px;
}

.browser-tabs {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: rgba(20,20,22,0.55);
  border-bottom: 1px solid rgba(255,255,255,0.04);
  font-family: var(--sans);
  font-size: 13px;
  overflow-x: auto;
  scrollbar-width: none;
}
.browser-tabs::-webkit-scrollbar { display: none; }

.tabs-label {
  color: rgba(255,255,255,0.55);
  font-size: 12px;
  font-weight: 500;
  padding: 0 6px;
  white-space: nowrap;
}
.tabs-divider {
  width: 1px;
  height: 14px;
  background: rgba(255,255,255,0.1);
  margin: 0 4px;
  flex-shrink: 0;
}
.tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: transparent;
  border: 1px solid transparent;
  color: rgba(255,255,255,0.6);
  font-size: 13px;
  font-family: inherit;
  border-radius: 999px;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
  flex-shrink: 0;
}
.tab:hover { color: var(--fg); background: rgba(255,255,255,0.04); }
.tab.is-active {
  background: rgba(50,50,55,0.85);
  color: var(--fg);
  border-color: rgba(255,255,255,0.1);
  box-shadow: 0 1px 0 rgba(255,255,255,0.04) inset;
}
.tab-icon {
  width: 14px; height: 14px;
  border-radius: 4px;
  flex-shrink: 0;
  border: 1px solid rgba(255,255,255,0.1);
}
.tab-name { font-weight: 500; letter-spacing: -0.01em; }

.tabs-overflow {
  margin-left: auto;
  color: var(--fg-mute);
  font-size: 12px;
  padding: 0 6px;
  white-space: nowrap;
  flex-shrink: 0;
}

.browser-screen {
  position: relative;
  aspect-ratio: 16 / 8.4;
  background: #0a0a0b;
  overflow: hidden;
}
.browser-screen iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  opacity: 0;
  pointer-events: none; 
  transition: opacity .35s ease;
  background: #0a0a0b;
}
.browser-screen iframe.is-active {
  opacity: 1;
}

.demo-cursor {
  position: absolute;
  top: 0;
  left: 0;
  width: 22px;
  height: 22px;
  z-index: 10;
  pointer-events: none;
  transform: translate(var(--cx, 50%), var(--cy, 50%)) translate(-50%, -50%);
  transition:
    transform 1.6s cubic-bezier(.22,.85,.2,1),
    opacity .4s ease;
  will-change: transform, opacity;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.55));
  opacity: 1;
}
.demo-cursor.is-hidden { opacity: 0; }
.demo-cursor-inner {
  width: 100%;
  height: 100%;
  transition: transform .25s ease;
}
.demo-cursor.is-pressing .demo-cursor-inner { transform: scale(0.78); }

.screen-loader {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  pointer-events: none;
  z-index: 0;
}
.screen-loader span {
  width: 6px; height: 6px;
  background: rgba(255,255,255,0.4);
  border-radius: 50%;
  animation: loaderBounce 1.2s ease-in-out infinite;
}
.screen-loader span:nth-child(2) { animation-delay: 0.15s; }
.screen-loader span:nth-child(3) { animation-delay: 0.3s; }
@keyframes loaderBounce {
  0%, 80%, 100% { transform: scale(0.6); opacity: 0.4; }
  40%           { transform: scale(1);   opacity: 1; }
}

.active-meta {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 20px 4px;
  margin: 20px auto 0;
  max-width: 1080px;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}
.active-num {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--fg);
  letter-spacing: 0.12em;
  font-weight: 500;
}
.active-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.active-tag {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-dim);
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
}
.active-role {
  flex: 1;
  margin: 0;
  color: var(--fg-dim);
  font-size: 14px;
  line-height: 1.5;
  min-width: 280px;
}

@media (max-width: 720px) {
  .browser-chrome { gap: 8px; padding: 10px; }
  .chrome-nav, .chrome-actions { display: none; }
  .url-hint { display: none; }
  .chrome-url { font-size: 12px; padding: 0 10px; }
  .browser-tabs { padding: 8px 10px; }
  .tabs-label { display: none; }
  .tabs-divider { display: none; }
  .tab { padding: 5px 10px; font-size: 12px; }
  .browser-screen { aspect-ratio: 4 / 5; }
}

.cases-foot {
  margin-top: 60px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fg-mute);
  text-align: center;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.cards-pin {
  position: relative;
  background: #000;
  padding: 0;
  height: 280vh;
}
.cards-pin-track {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: #000;
}
.cards-pin-stage {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.cards-pin-head {
  flex-shrink: 0;
  text-align: center;
  padding: 80px 32px 30px;
  
  max-width: 1200px;
  margin: 0 auto;
}
.cards-pin-viewport {
  flex: 1;
  position: relative;
  overflow: hidden;
  min-height: 0;
}

.cards-pin-row {
  position: relative;
  width: 100%;
  height: 100%;
}

.big-card {
  position: absolute;
  top: 50%;
  left: 50%;
  width: clamp(340px, 44vw, 620px);
  height: clamp(300px, 48vh, 440px);
  background:
    linear-gradient(112deg, transparent 32%, rgba(255,255,255,0.035) 50%, transparent 68%),
    linear-gradient(165deg, var(--bg-2) 0%, var(--bg-3) 100%);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 48px 18px 48px 18px;
  padding: 36px 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  isolation: isolate;
  box-shadow:
    0 30px 60px -30px rgba(0,0,0,0.55),
    0 0 0 1px rgba(255,255,255,0.02) inset;
  transform: translate(calc(-50% + var(--tx, 0px)), -50%);
  opacity: var(--o, 1);
  will-change: transform, opacity;
  overflow: hidden;
}

.big-card .big-card-spot {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(
    circle 280px at var(--mx, 50%) var(--my, 50%),
    rgba(255, 255, 255, 0.10),
    rgba(255, 255, 255, 0.04) 35%,
    transparent 65%
  );
  opacity: var(--spot-opacity, 0);
  transition: opacity .45s cubic-bezier(.2, .85, .2, 1);
  mix-blend-mode: screen;
}

.big-card::before {
  content: "";
  position: absolute;
  top: -1px;
  right: -1px;
  width: 110px;
  height: 80px;
  background: #000;
  border-radius: 0 0 0 50px;
  z-index: 1;
  pointer-events: none;
  box-shadow: -1px 1px 0 rgba(255,255,255,0.06);
}

.big-card::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: -1px;
  width: 180px;
  height: 64px;
  background: #000;
  border-radius: 0 52px 0 0;
  z-index: 1;
  pointer-events: none;
  box-shadow: 1px -1px 0 rgba(255,255,255,0.06);
}

.big-card-tab {
  position: absolute;
  top: 50%;
  right: -1px;
  transform: translate(50%, -50%);
  width: 8px;
  height: 56px;
  background: linear-gradient(180deg, var(--bg-2), var(--bg-3));
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 6px;
  z-index: 2;
  pointer-events: none;
}

.big-card-icon {
  position: absolute;
  top: 22px;
  right: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--fg-dim);
  z-index: 2;
  transition: color .3s, transform .35s cubic-bezier(.2,.85,.2,1);
}
.big-card:hover .big-card-icon {
  color: var(--fg);
  transform: rotate(-4deg) scale(1.05);
}
.big-card-icon svg {
  width: 36px;
  height: 36px;
  stroke-width: 1.4;
}

.big-card-tag {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.42);
  max-width: 60%;
  z-index: 2;
}

.big-card-frame {
  position: relative;
  padding: 28px 18px;
  margin: 12px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  z-index: 2;
}

.big-card-title {
  font-family: var(--sans);
  font-weight: 700;
  font-size: clamp(18px, 1.8vw, 26px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-align: center;
  color: var(--fg);
  margin: 0;
}

.big-card-label {
  position: absolute;
  bottom: 18px;
  left: 26px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg);
  font-weight: 500;
  z-index: 2;
}

@media (max-width: 720px) {
  .cards-pin { height: auto !important; }
  .cards-pin-track { position: relative; height: auto; }
  .cards-pin-head { padding: 60px 16px 20px; }
  .cards-pin-viewport { overflow: visible; height: auto; }
  .cards-pin-row {
    height: auto;
    padding: 0 16px 40px;
    display: flex;
    flex-direction: column;
    gap: 14px;
  }
  .big-card {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    height: auto;
    min-height: 340px;
    padding: 32px 28px;
    transform: none !important;
    opacity: 1 !important;
  }
}

.services-detail {
  background: var(--bg);
  padding: 100px 32px 80px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.dotted-surface {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.dotted-surface canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
}

.services-detail > .detail-head,
.services-detail > .detail-list,
.services-detail > .detail-cta {
  position: relative;
  z-index: 1;
}
.detail-head {
  text-align: center;
  margin: 0 auto 60px;
  max-width: 720px;
}
.detail-title {
  font-family: var(--sans);
  font-weight: 600;
  font-size: clamp(28px, 3.5vw, 44px);
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--fg);
  margin: 16px 0 12px;
}
.detail-lead {
  color: var(--fg-dim);
  font-size: 15px;
  margin: 0;
}
.detail-list {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 920px;
  border-top: 1px solid var(--line);
}
.detail-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  padding: 22px 8px;
  border-bottom: 1px solid var(--line);
  
}
.row-left { flex: 1; min-width: 0; }
.row-left h4 {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--fg);
}
.row-left p {
  margin: 0;
  color: var(--fg-dim);
  font-size: 14px;
  line-height: 1.5;
}
.row-meta {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-mute);
  white-space: nowrap;
  flex-shrink: 0;
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  margin-top: 4px;
}
.detail-cta {
  text-align: center;
  margin-top: 56px;
}
.detail-cta p {
  font-family: var(--sans);
  font-size: 16px;
  color: var(--fg-dim);
  margin: 0 0 16px;
}
.detail-cta a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 999px;
  color: var(--fg);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: background .2s, border-color .2s, gap .2s cubic-bezier(.22,.85,.2,1);
}
.detail-cta a:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.3);
  gap: 14px;
}

@media (max-width: 720px) {
  .services-detail { padding: 60px 16px 60px; }
  .detail-row { flex-wrap: wrap; gap: 12px; }
}

.services {
  padding-top: 120px;
  padding-bottom: 80px;
}
.services-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 60px;
}

.section-index {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 0 auto 36px;
  max-width: 100%;
  width: 100%;
  justify-content: center;
}
.section-index.align-left {
  margin: 0 0 36px;
  justify-content: flex-start;
}
.si-num {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.18em;
  color: var(--fg-mute);
  flex-shrink: 0;
}
.si-rule {
  display: inline-block;
  height: 1px;
  width: 80px;
  background: linear-gradient(to right, var(--line), transparent);
  flex-shrink: 0;
}

.services-title {
  font-family: var(--sans);
  font-weight: 600;
  
  font-size: clamp(48px, 8.5vw, 122px);
  letter-spacing: -0.04em;
  line-height: 1.0;
  color: var(--fg);
  margin: 0;
  
  white-space: nowrap;
}
.services-title em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--fg-dim);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  max-width: 1280px;
  margin: 0 auto;
}
.service {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px 26px 30px;
  transition: border-color .25s ease, transform .25s cubic-bezier(.22,.85,.2,1), background .25s;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.service::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle 200px at var(--mx, 50%) var(--my, 0%),
    rgba(255,255,255,0.05),
    transparent 70%);
  opacity: 0;
  transition: opacity .35s ease;
  pointer-events: none;
  z-index: -1;
}
.service:hover {
  border-color: rgba(255,255,255,0.16);
  transform: translateY(-3px);
}
.service:hover::before { opacity: 1; }

.service-icon {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  margin-bottom: 22px;
  color: var(--fg);
}
.service-icon svg { display: block; }

.service-title {
  font-family: var(--sans);
  font-weight: 600;
  font-size: clamp(17px, 1.3vw, 20px);
  line-height: 1.25;
  letter-spacing: -0.012em;
  margin: 0 0 10px;
  color: var(--fg);
}
.service-meta {
  display: inline-block;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-mute);
  padding: 3px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  margin-bottom: 14px;
  align-self: flex-start;
}
.service-desc {
  font-family: var(--sans);
  color: var(--fg-dim);
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
  flex: 1;
}

.service-custom {
  background: linear-gradient(165deg, var(--bg-2) 0%, var(--bg-3) 100%);
  border-color: rgba(255,255,255,0.16);
}
.service-custom .service-icon {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.16);
}
.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  color: var(--fg);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  transition: gap .25s cubic-bezier(.22,.85,.2,1);
}
.service-link:hover { gap: 10px; }

@media (max-width: 1080px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .services-grid { grid-template-columns: 1fr; }
  .service { padding: 24px 22px 26px; border-radius: 16px; }
  .service-icon { margin-bottom: 18px; }
}

.about-pin {
  position: relative;
  background: var(--bg);
  height: 450vh; 
}
.about-pin-track {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 32px;
}
.about-pin-stage {
  max-width: 1080px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.about-title {
  font-family: var(--sans);
  font-weight: 600;
  font-size: clamp(48px, 7vw, 96px);
  line-height: 1.0;
  letter-spacing: -0.035em;
  color: var(--fg);
  margin: 0 0 56px;
}
.about-title em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--fg-dim);
}
.about-blocks {
  display: flex;
  flex-direction: column;
  gap: 28px;
  max-width: 880px;
}
.about-block {
  font-family: var(--sans);
  font-size: clamp(20px, 1.7vw, 28px);
  line-height: 1.45;
  letter-spacing: -0.01em;
  color: var(--fg);
  margin: 0;
}

.about-pin-stage .word {
  display: inline-block;
  white-space: nowrap;
}
.about-pin-stage .letter {
  display: inline;
  color: color-mix(
    in srgb,
    var(--fg) calc((1 - var(--p, 0)) * 100%),
    var(--fg-mute)
  );
  will-change: color;
}
.about-block em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--fg-dim);
}
.about-block strong {
  color: var(--fg);
  font-weight: 600;
  border-bottom: 1px solid rgba(255,255,255,0.4);
}

@media (max-width: 720px) {
  .about-pin { height: auto; }
  .about-pin-track { position: relative; height: auto; padding: 60px 16px; }
  .about-pin-stage .letter {
    color: var(--fg) !important;
  }
  .about-title { margin-bottom: 32px; }
  .about-blocks { gap: 20px; }
}

.about {
  padding-top: 120px;
  padding-bottom: 80px;
}
.about-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 60px;
  align-items: start;
}
.about-text p {
  font-size: clamp(17px, 1.5vw, 22px);
  line-height: 1.5;
  color: var(--fg);
  margin: 0 0 20px;
  max-width: 560px;
}
.about-text em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--fg-dim);
}
.about-text strong {
  color: var(--fg);
  font-weight: 600;
  border-bottom: 1px solid rgba(255,255,255,0.4);
}
.about-side {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.side-tile {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--bg-2);
  transition: border-color .2s, transform .2s;
}
.side-tile:hover {
  border-color: var(--line-2);
  transform: translateY(-2px);
}
.tile-k {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-mute);
}
.tile-v {
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--fg);
}
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
}

.contact {
  position: relative;
  padding: 100px 32px 60px;
  background: var(--bg);
  overflow: hidden;
  isolation: isolate;
}

.contact-inner {
  position: relative;
  z-index: 1;
  max-width: 1080px;
  margin: 0 auto;
}

.contact-kicker {
  display: inline-block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-mute);
  margin: 0 0 36px;
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 4px;
}

.contact-headline {
  font-family: var(--sans);
  font-weight: 600;
  font-size: clamp(64px, 9.5vw, 140px);
  line-height: 1.0;
  letter-spacing: -0.04em;
  margin: 0 0 80px;
  color: var(--fg-dim);
  text-align: center;
}

.contact-grid-v2 {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 80px;
  align-items: stretch;
  margin: 0;
}

.contact-rows {
  display: flex;
  flex-direction: column;
}

.cr {
  display: flex;
  align-items: baseline;
  gap: 24px;
  padding: 30px 4px 30px;
  border-top: 1px solid var(--line);
  text-decoration: none;
  color: var(--fg);
  position: relative;
  
  transition: padding-left .4s cubic-bezier(.2, .85, .2, 1);
}
.cr:last-child { border-bottom: 1px solid var(--line); }

.cr-tag {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-mute);
  flex-shrink: 0;
  width: 100px;
  transition: color .25s, transform .4s cubic-bezier(.2, .85, .2, 1);
}

.cr-leader {
  flex: 1;
  height: 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.12);
  transform: translateY(-7px);
  transition: border-color .3s;
}

.cr-target {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 400;
  letter-spacing: -0.012em;
  color: var(--fg);
  flex-shrink: 0;
  transition: color .25s;
}

.cr-arrow {
  font-family: var(--sans);
  font-size: 20px;
  color: var(--fg-mute);
  flex-shrink: 0;
  transform: translateX(0);
  
  transition: transform .35s cubic-bezier(.2, .85, .2, 1), color .25s;
}

.cr:hover { padding-left: 16px; }
.cr:hover .cr-tag { color: var(--fg-dim); }
.cr:hover .cr-leader { border-color: rgba(255, 255, 255, 0.32); }
.cr:hover .cr-arrow {
  transform: translate(4px, -4px);
  color: var(--fg);
}

.social-stack {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}
.social-stack li:not(:last-child) .sr {
  border-bottom: 1px solid var(--line);
}

.sr {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 26px 6px;
  text-decoration: none;
  color: var(--fg);
  position: relative;
  
  transition: padding-left .4s cubic-bezier(.2, .85, .2, 1);
}

.sr-callsign {
  width: 42px;
  height: 42px;
  border: 1px solid var(--fg-mute);
  border-radius: 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--fg);
  flex-shrink: 0;
  transition: border-color .3s, background .3s, color .25s;
}
.sr-callsign svg {
  display: block;
  
  shape-rendering: geometricPrecision;
}

.sr-line {
  width: 22px;
  height: 1px;
  background: rgba(255, 255, 255, 0.15);
  flex-shrink: 0;
  transition:
    width .4s cubic-bezier(.2, .85, .2, 1),
    background .25s;
}

.sr-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.sr-platform {
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 500;
  color: var(--fg);
  letter-spacing: -0.008em;
}

.sr-handle {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--fg-mute);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sr-arrow {
  font-family: var(--sans);
  font-size: 18px;
  color: var(--fg-mute);
  flex-shrink: 0;
  transition: transform .35s cubic-bezier(.2, .85, .2, 1), color .25s;
}

.sr:hover { padding-left: 16px; }
.sr:hover .sr-callsign {
  border-color: var(--fg);
  background: rgba(255, 255, 255, 0.06);
}
.sr:hover .sr-line {
  width: 36px;
  background: rgba(255, 255, 255, 0.32);
}
.sr:hover .sr-arrow {
  transform: translate(4px, -4px);
  color: var(--fg);
}

.contact .contact-headline,
.contact .cr-wrap,
.contact .social-stack li {
  opacity: 0;
  transform: translateY(36px);
  filter: blur(14px);
  transition:
    opacity 1.1s cubic-bezier(.22, .85, .25, 1),
    transform 1.1s cubic-bezier(.22, .85, .25, 1),
    filter 1.1s cubic-bezier(.22, .85, .25, 1);
  will-change: opacity, transform, filter;
}
.contact.is-revealed .contact-headline,
.contact.is-revealed .cr-wrap,
.contact.is-revealed .social-stack li {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.contact .contact-headline                  { transition-delay: 0ms; }
.contact .cr-wrap:nth-of-type(1)            { transition-delay: 220ms; }
.contact .cr-wrap:nth-of-type(2)            { transition-delay: 340ms; }
.contact .social-stack li:nth-child(1)      { transition-delay: 460ms; }
.contact .social-stack li:nth-child(2)      { transition-delay: 560ms; }
.contact .social-stack li:nth-child(3)      { transition-delay: 660ms; }

@media (prefers-reduced-motion: reduce) {
  .contact .contact-headline,
  .contact .cr-wrap,
  .contact .social-stack li {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }
}

@media (max-width: 920px) {
  
  .contact-grid-v2 {
    grid-template-columns: 1fr;
    gap: 56px;
  }
  .contact-divider { display: none; }
}
@media (max-width: 720px) {
  .contact { padding: 100px 16px 60px; }
  .contact-prose { margin-bottom: 56px; }
  .cr { gap: 12px; padding: 22px 4px; flex-wrap: wrap; }
  .cr-tag { width: auto; font-size: 10px; }
  .cr-target { font-size: 22px; flex: 1; }
  .cr-leader { display: none; }
  .cr:hover { padding-left: 8px; }
  .sr { gap: 12px; padding: 16px 4px; }
  .sr-callsign { width: 30px; height: 30px; font-size: 10px; }
  .sr-line { width: 12px; }
  .sr-platform { font-size: 13px; }
  .sr-handle { font-size: 10px; }
}

.footer {
  position: relative;
  margin: 40px 0 0;
  padding: 0;
  border: none;
  
  height: clamp(600px, 75vh, 820px);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.foot-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(
      to bottom,
      var(--bg) 0%,
      rgba(10, 10, 11, 0.98) 4%,
      rgba(10, 10, 11, 0.90) 10%,
      rgba(10, 10, 11, 0.74) 18%,
      rgba(10, 10, 11, 0.52) 28%,
      rgba(10, 10, 11, 0.30) 40%,
      rgba(10, 10, 11, 0.13) 52%,
      rgba(10, 10, 11, 0.04) 62%,
      transparent 72%
    ),
    url('/img/footer-bg.jpg');
  background-position: center top, center bottom;
  background-size: 100% 100%, cover;
  background-repeat: no-repeat, no-repeat;
}

.foot-mark {
  position: relative;
  z-index: 1;
  font-family: var(--sans);
  font-weight: 700;
  font-size: clamp(110px, 33.5vw, 540px);
  line-height: 0.82;
  letter-spacing: -0.055em;
  text-align: center;
  margin: 0;
  padding: 0;
  color: var(--fg);
  white-space: nowrap;
  user-select: none;
  pointer-events: none;
  
  transform: translateY(22%);
  
  -webkit-mask-image: linear-gradient(
    to top,
    transparent 0%,
    rgba(0, 0, 0, 0.04) 14%,
    rgba(0, 0, 0, 0.35) 38%,
    rgba(0, 0, 0, 0.78) 68%,
    #000 100%
  );
  mask-image: linear-gradient(
    to top,
    transparent 0%,
    rgba(0, 0, 0, 0.04) 14%,
    rgba(0, 0, 0, 0.35) 38%,
    rgba(0, 0, 0, 0.78) 68%,
    #000 100%
  );
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s cubic-bezier(.2,.8,.2,1), transform .8s cubic-bezier(.2,.8,.2,1);
}
.reveal.is-in { opacity: 1; transform: translateY(0); }

.hero-title .line > * {
  opacity: 1;
}
.hero-title .char {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.35em);
  filter: blur(10px);
  transition:
    opacity .9s cubic-bezier(.22, .85, .25, 1),
    transform .9s cubic-bezier(.22, .85, .25, 1),
    filter .9s cubic-bezier(.22, .85, .25, 1);
  will-change: opacity, transform, filter;
}
.hero.is-in .hero-title .char {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .marquee-track { animation: none; }
}

@media (max-width: 720px) {

  .hero-shell {
    min-height: 92vh;
    padding-top: 60px;
  }
  .hero-content {
    padding: 80px 18px 60px;
    gap: 18px;
  }
  .hero-badge { font-size: 11px; padding: 5px 10px; }
  .hero-title {
    font-size: clamp(26px, 8.5vw, 44px);
    letter-spacing: -0.025em;
    line-height: 1.05;
  }
  :lang(ru) .hero-title {
    font-size: clamp(22px, 7vw, 38px);
    letter-spacing: -0.04em;
  }
  .hero-title .line > * {
    white-space: normal;
    overflow-wrap: anywhere;
    display: inline;
  }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 320px;
    gap: 10px;
  }
  .btn { width: 100%; justify-content: center; padding: 14px 18px; }

  .work-pin { height: auto; }
  .pin-track { position: relative; height: auto; overflow: visible; }
  .pin-stage-wrap { position: relative; height: auto; padding: 60px 0 80px; }
  .pin-bg-title { display: none; }
  .pin-teaser { display: none; }
  .pin-stage {
    position: relative;
    transform: none;
    padding: 0 16px;
    opacity: 1;
  }
  .pin-stage .browser-shell {
    transform: none;
    width: 100%;
    max-width: 100%;
    margin: 0;
  }
  .browser-shell {
    border-radius: 14px;
  }
  .browser-chrome {
    padding: 8px 10px;
    gap: 10px;
  }
  .chrome-lights .light { width: 9px; height: 9px; }
  .chrome-nav { display: none; }
  .chrome-actions { display: none; }
  .chrome-url {
    height: 32px;
    padding: 0 12px;
    font-size: 12px;
  }
  .url-text { font-size: 12px; }
  .url-hint { display: none; }
  .browser-tabs {
    padding: 6px 8px;
    gap: 6px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .browser-tabs::-webkit-scrollbar { display: none; }
  .tabs-label, .tabs-divider, .tabs-overflow { display: none; }
  .tab { padding: 5px 10px; flex-shrink: 0; }
  .tab-icon { width: 12px; height: 12px; }
  .tab-name { font-size: 11px; }
  .browser-screen { aspect-ratio: 9/16; }

  .cards-pin { height: auto; padding: 70px 0 50px; }
  .cards-pin-track {
    position: relative;
    height: auto;
    overflow: visible;
    display: block;
  }
  .cards-pin-stage { display: block; }
  .cards-pin-head { padding: 0 16px 36px; }
  .services-title {
    font-size: clamp(40px, 14vw, 72px);
    white-space: normal;
  }
  .cards-pin-viewport {
    height: auto;
    overflow: visible;
  }
  .cards-pin-row {
    position: relative;
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 0 16px;
  }
  .big-card {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    height: auto;
    min-height: 300px;
    transform: none;
    opacity: 1;
    padding: 70px 22px 56px;
    border-radius: 24px;
  }

  .big-card::before,
  .big-card::after { display: none; }

  .big-card-icon {
    top: 22px;
    right: 22px;
  }
  .big-card-icon svg { width: 30px; height: 30px; }
  .big-card-tag {
    position: absolute;
    top: 28px;
    left: 22px;
    max-width: calc(100% - 80px);
    font-size: 10px;
  }
  .big-card-frame {
    padding: 16px 4px;
    margin: 8px 0;
  }
  .big-card-title {
    font-size: 17px;
    line-height: 1.3;
  }
  .big-card-label {
    bottom: 22px;
    left: 22px;
    font-size: 10px;
  }

  .services-detail { padding: 70px 16px 50px; }
  .detail-head { margin-bottom: 40px; }
  .detail-title { font-size: clamp(26px, 6vw, 36px); }
  .detail-list { gap: 16px; }
  .detail-row { padding: 18px 0; flex-direction: column; gap: 8px; }
  .row-meta { align-self: flex-start; font-size: 11px; }
  .row-left h4 { font-size: 16px; }
  .row-left p { font-size: 14px; }

  .about-pin { height: auto; }
  .about-pin-track { position: relative; height: auto; overflow: visible; }
  .about-pin-stage {
    position: relative;
    transform: none;
    padding: 70px 18px 60px;
    opacity: 1;
  }
  .about-title { font-size: clamp(36px, 9vw, 56px); margin-bottom: 32px; }
  .about-blocks { gap: 18px; }
  .about-block { font-size: 16px; line-height: 1.55; }

  .contact { padding: 70px 18px 40px; }
  .contact-headline {
    font-size: clamp(38px, 11vw, 64px);
    margin-bottom: 44px;
  }

  .footer { height: clamp(360px, 60vh, 480px); }
  .foot-mark {
    font-size: clamp(96px, 36vw, 200px);
    transform: translateY(15%);
  }

  .island {
    width: auto;
    height: 40px;
    padding-right: 8px;
    top: 12px;
  }
  .island:hover { width: auto; }
  .island-logo { width: 50px; height: 40px; }
  .island-menu {
    opacity: 1;
    transform: none;
    gap: 0;
    padding-right: 4px;
  }
  .island-menu a {
    padding: 6px 8px;
    font-size: 11px;
  }
  .lang-switch {
    margin-left: 4px;
    font-size: 10px;
    padding: 2px;
  }
  .lang-switch button { padding: 3px 7px; }
}

@media (max-width: 720px) {
  .ambient-glow::before,
  .ambient-glow::after { opacity: 0.5; }
  .hero-haze { animation: none; opacity: 0.6; }
  .demo-cursor { display: none !important; }
}

@media (max-width: 720px), (hover: none), (pointer: coarse) {
  .intro { display: none !important; }
  body.intro-active main,
  body.intro-active { overflow: visible !important; }
  body.intro-active main { opacity: 1 !important; }
}

html.skip-intro .intro { display: none !important; }
html.skip-intro body.intro-active main { opacity: 1 !important; }
html.skip-intro body.intro-active { overflow: visible !important; }
