/* =============================================================
   Vii Studio — Components & sections
   ============================================================= */

/* ---- Navigation ---- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  padding: 0 var(--gut);
  background: rgba(243, 241, 234, 0.68);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  backdrop-filter: blur(16px) saturate(150%);
  border-bottom: 1.5px solid var(--ink);
  transform: translateY(-100%);
  opacity: 0;
}
.entered .nav {
  transform: none;
  opacity: 1;
  transition: transform .85s cubic-bezier(.16, 1, .3, 1) .15s,
              opacity .6s ease .15s;
}

.logo {
  z-index: 310;
  display: flex;
  align-items: center;
  gap: 3px;
  font-family: var(--disp);
  font-weight: 800;
  font-size: clamp(17px, 3.2vw, 21px);
  letter-spacing: -.03em;
}
.logo sup { color: var(--acc); font-size: .5em; }

.nav-links {
  position: relative;
  display: flex;
  gap: 2px;
  margin: 0 auto;
  list-style: none;
}
.nav-links a {
  position: relative;
  z-index: 1;
  display: block;
  padding: 9px 15px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink-2);
  transition: color .3s;
}
.nav-links a:hover,
.nav-links a.lit { color: #fff; }

/* Sliding pill shared by hover + active section */
.nav-ind {
  position: absolute;
  top: 50%;
  left: 0;
  z-index: -1;
  width: 0;
  height: 30px;
  background: var(--acc);
  opacity: 0;
  transform: translateY(-50%);
  transition: left .4s cubic-bezier(.16, 1, .3, 1),
              width .4s cubic-bezier(.16, 1, .3, 1),
              opacity .3s;
  pointer-events: none;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #fff;
  background: var(--ink);
  transition: background .25s;
}
.nav-cta:hover { background: var(--acc); }

.burger {
  display: none;
  z-index: 310;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
}
.burger span {
  width: 26px;
  height: 2px;
  background: var(--ink);
  transition: transform .3s, opacity .3s;
}
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Language switcher */
.lang {
  z-index: 310;
  display: flex;
  align-items: center;
  margin-left: 18px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
}
.lang a {
  position: relative;
  padding: 7px 8px;
  font: inherit;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--ink3);
  background: none;
  border: none;
  cursor: pointer;
  transition: color .2s;
}
.lang a:hover { color: var(--acc); }
.lang a.on { color: var(--ink); }
.lang a.on::after {
  content: '';
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 2px;
  height: 2px;
  background: var(--acc);
}

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 250;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 4px;
  padding: 0 var(--pad);
  background: rgba(243, 241, 234, 0.72);
  -webkit-backdrop-filter: blur(24px) saturate(150%);
  backdrop-filter: blur(24px) saturate(150%);
  opacity: 0;
  pointer-events: none;
  transition: opacity .4s;
}
.mobile-menu.open { opacity: 1; pointer-events: auto; }
.mobile-menu a {
  font-family: var(--disp);
  font-weight: 800;
  font-size: clamp(34px, 11vw, 64px);
  letter-spacing: -.03em;
  color: var(--ink);
  opacity: 0;
  transform: translateX(-70px);
  transition: color .2s, transform .55s cubic-bezier(.16, 1, .3, 1), opacity .5s ease;
}
.mobile-menu a:hover { color: var(--acc); }
/* Items fly in from beyond the left edge, one after another, when the menu opens */
.mobile-menu.open a { opacity: 1; transform: none; }
.mobile-menu.open a:nth-child(1) { transition-delay: .07s; }
.mobile-menu.open a:nth-child(2) { transition-delay: .14s; }
.mobile-menu.open a:nth-child(3) { transition-delay: .21s; }
.mobile-menu.open a:nth-child(4) { transition-delay: .28s; }
.mobile-menu.open a:nth-child(5) { transition-delay: .35s; }
.mobile-menu.open a:nth-child(6) { transition-delay: .42s; }
/* Items fly out to the right, one after another, when the menu closes */
.mobile-menu.closing a {
  opacity: 0;
  transform: translateX(70px);
  transition: transform .42s cubic-bezier(.4, 0, 1, 1), opacity .35s ease;
}
.mobile-menu.closing a:nth-child(1) { transition-delay: 0s; }
.mobile-menu.closing a:nth-child(2) { transition-delay: .04s; }
.mobile-menu.closing a:nth-child(3) { transition-delay: .08s; }
.mobile-menu.closing a:nth-child(4) { transition-delay: .12s; }
.mobile-menu.closing a:nth-child(5) { transition-delay: .16s; }
.mobile-menu.closing a:nth-child(6) { transition-delay: .2s; }
@media (prefers-reduced-motion: reduce) {
  .mobile-menu a { transition: color .2s, opacity .3s; }
  .mobile-menu.open a,
  .mobile-menu.closing a { transform: none; transition-delay: 0s; }
}

/* ---- Hero ---- */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100svh;
  padding: 104px var(--gut) 40px;
  border-bottom: 1.5px solid var(--ink);
}
.hero .eyebrow { margin-bottom: clamp(22px, 4vh, 34px); }
.hero h1 {
  margin-bottom: clamp(26px, 4vh, 40px);
  font-family: var(--disp);
  font-weight: 800;
  font-size: clamp(36px, 5.8vw, 92px);
  line-height: .92;
  letter-spacing: -.045em;
}
.hero h1 em { font-style: normal; color: var(--acc); }

/* Hero two-column layout with illustration */
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: clamp(24px, 4vw, 60px);
  width: 100%;
}
.hero-main { min-width: 0; }
.hero-art { min-width: 0; display: flex; justify-content: center; }
.hero-art img { display: block; width: 100%; height: auto; }
@media (max-width: 900px) {
  /* Stacks below the text on smaller screens */
  .hero-grid { grid-template-columns: 1fr; gap: clamp(18px, 5vw, 36px); }
  .hero-art { order: 2; width: 100%; max-width: 480px; margin-inline: auto; }
}

.hero-foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 36px;
  flex-wrap: wrap;
}
.hero-lead {
  max-width: 480px;
  font-size: clamp(15px, 1.6vw, 18px);
  line-height: 1.6;
  color: var(--ink-2);
}
.hero-lead b { color: var(--ink); font-weight: 600; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 26px; }

.chips { display: flex; gap: 10px; flex-wrap: wrap; }
.chip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 15px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: var(--ink);
  border: 1.5px solid var(--line);
}
.chip i { color: var(--acc); }

.scroll-cue {
  position: absolute;
  bottom: 18px;
  right: var(--pad);
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink3);
}
.scroll-cue::after { content: '↓'; animation: scroll-bounce 2s infinite; }
@keyframes scroll-bounce {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(4px); }
}

.entered .hero h1         { animation: hero-clip 1.1s cubic-bezier(.16, 1, .3, 1) .28s both; }
.entered .hero .eyebrow   { animation: hero-fade .8s ease .08s both; }
.entered .hero .hero-foot { animation: hero-fade .9s cubic-bezier(.16, 1, .3, 1) .58s both; }
.entered .hero .scroll-cue{ animation: hero-fade .8s ease .85s both; }

/* ---- Marquee ---- */
.marquee {
  padding: 20px 0;
  background: var(--ink);
  border-bottom: 1.5px solid var(--ink);
  overflow: hidden;
}
.mq {
  display: flex;
  align-items: center;
  width: max-content;
  animation: marquee-scroll 32s linear infinite;
}
.marquee:hover .mq { animation-play-state: paused; }
.mq span {
  padding: 0 clamp(14px, 2vw, 26px);
  font-family: var(--disp);
  font-weight: 700;
  font-size: clamp(18px, 2.6vw, 30px);
  letter-spacing: -.02em;
  color: var(--paper);
  white-space: nowrap;
}
.mq i { color: var(--acc); font-size: .7em; }
@keyframes marquee-scroll { to { transform: translateX(-50%); } }

/* ---- Works ---- */
.works { border-bottom: 1.5px solid var(--ink); }

/* Horizontal project slider */
/* Full-bleed: the track runs to the screen edges (cards bleed off), while the
   section header + .slider-foot controls stay within the capped 1500px content.
   The first/last card align to the content edge via the track's gutter padding. */
.slider { overflow: hidden; margin-inline: calc(50% - 50vw); }
.track {
  display: flex;
  gap: clamp(16px, 1.6vw, 24px);
  padding-inline: var(--gut);
  scroll-padding-inline: var(--gut);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  cursor: grab;
}
.track::-webkit-scrollbar { display: none; }
.track.drag { cursor: grabbing; scroll-snap-type: none; }

.wcard {
  flex: 0 0 clamp(280px, 38vw, 440px);
  scroll-snap-align: start;
  color: var(--ink);
}
.wcard-img {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--ink);
}
.wcard-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s cubic-bezier(.16, 1, .3, 1);
}
.wcard:hover .wcard-img img { transform: scale(1.05); }
.wcard-arrow {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  font-size: 16px;
  color: #fff;
  background: var(--acc);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .35s, transform .35s;
}
.wcard:hover .wcard-arrow { opacity: 1; transform: none; }
.wcard-meta {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 14px;
  align-items: baseline;
  padding-top: 18px;
}
.wcard-no { font-family: var(--mono); font-size: 12px; color: var(--ink3); }
.wcard-name {
  font-family: var(--disp);
  font-weight: 700;
  font-size: clamp(17px, 1.7vw, 22px);
  line-height: 1.1;
  letter-spacing: -.02em;
  transition: color .25s;
}
.wcard:hover .wcard-name { color: var(--acc); }
.wcard-cat {
  grid-column: 2;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--ink-2);
}

/* Slider footer — progress bar + arrows */
.slider-foot {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 36px);
  margin-top: clamp(26px, 3.4vw, 44px);
}
.sld-progress { flex: 1; height: 2px; background: var(--line); overflow: hidden; }
.sld-progress span {
  display: block;
  height: 100%;
  background: var(--ink);
  transform: scaleX(.12);
  transform-origin: 0 50%;
  transition: transform .2s ease;
}
.sld-btns { display: flex; gap: 10px; }
.sld-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  font-size: 18px;
  color: var(--ink);
  background: transparent;
  border: 1.5px solid var(--ink);
  cursor: pointer;
  transition: background .25s, color .25s, opacity .25s;
}
.sld-btn:hover { background: var(--ink); color: var(--paper); }
.sld-btn:disabled { opacity: .25; cursor: default; }
.sld-btn:disabled:hover { background: transparent; color: var(--ink); }

/* ---- Process ---- */
.proc { border-bottom: 1.5px solid var(--ink); }
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1.5px solid var(--line);
}
.step {
  position: relative;
  padding: clamp(28px, 3vw, 44px) clamp(20px, 2vw, 30px) clamp(40px, 5vw, 70px);
  border-right: 1.5px solid var(--line);
  transition: background .3s, color .3s;
}
.step:last-child { border-right: none; }
.step.is-active { background: var(--acc); color: #fff; }
@media (hover: hover) { .step:hover { background: var(--acc); color: #fff; } }
.step .n {
  margin-bottom: 24px;
  font-family: var(--disp);
  font-weight: 800;
  font-size: clamp(40px, 5vw, 68px);
  line-height: 1;
  letter-spacing: -.04em;
  color: var(--line);
  transition: color .3s;
}
.step.is-active .n { color: rgba(255, 255, 255, .5); }
@media (hover: hover) { .step:hover .n { color: rgba(255, 255, 255, .5); } }
.step h3 {
  margin-bottom: 12px;
  font-family: var(--disp);
  font-weight: 700;
  font-size: clamp(18px, 2vw, 24px);
  letter-spacing: -.02em;
}
.step p { font-size: 13px; line-height: 1.6; color: var(--ink-2); }
.step.is-active p { color: rgba(255, 255, 255, .85); }
@media (hover: hover) { .step:hover p { color: rgba(255, 255, 255, .85); } }

/* Slider indicators (mobile only — hidden on desktop) */
.steps-nav { display: none; justify-content: center; gap: 8px; padding: 20px 0 4px; }
.steps-nav button {
  width: 26px; height: 3px; padding: 0;
  border: 0; background: var(--line); cursor: pointer;
  transition: background-color .3s, width .3s;
}
.steps-nav button.on { background: var(--acc); width: 38px; }

/* ---- Services ---- */
.services { border-bottom: 1.5px solid var(--ink); }
.srv-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1.5px solid var(--line);
  border-left: 1.5px solid var(--line);
}
.srv {
  display: flex;
  flex-direction: column;
  padding: clamp(26px, 3vw, 44px);
  border-right: 1.5px solid var(--line);
  border-bottom: 1.5px solid var(--line);
  cursor: pointer;
  transition: background .3s, color .3s;
}
.srv:hover { background: var(--ink); color: var(--paper); }
.srv-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}
.srv .ic { font-size: 22px; color: var(--acc); }
.srv .no { font-family: var(--mono); font-size: 12px; color: var(--ink3); }
.srv .nm {
  margin-bottom: 12px;
  font-family: var(--disp);
  font-weight: 700;
  font-size: clamp(20px, 2.4vw, 30px);
  letter-spacing: -.03em;
}
.srv .ds {
  max-width: 42ch;
  margin-bottom: 22px;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--ink-2);
}
.srv:hover .ds { color: rgba(255, 255, 255, .8); }
.srv .pr {
  margin-top: auto;
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 600;
  color: var(--acc);
}

/* Guarantees strip — closes the services section */
.guarantees {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: clamp(40px, 5vw, 64px);
  border-top: 1.5px solid var(--line);
}
.guar {
  display: flex;
  gap: 16px;
  padding: clamp(24px, 2.6vw, 34px) clamp(18px, 2vw, 30px);
  border-right: 1.5px solid var(--line);
}
.guar:last-child { border-right: none; }
.guar > i {
  flex-shrink: 0;
  margin-top: 3px;
  font-size: 22px;
  color: var(--acc);
}
.guar b {
  display: block;
  margin-bottom: 6px;
  font-family: var(--disp);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -.01em;
}
.guar span {
  font-size: 13px;
  line-height: 1.55;
  color: var(--ink-2);
}
@media (max-width: 760px) {
  .guarantees { grid-template-columns: 1fr; }
  .guar { border-right: none; border-bottom: 1.5px solid var(--line); }
  .guar:last-child { border-bottom: none; }
}

/* ---- About ---- */
.about { border-bottom: 1.5px solid var(--ink); }
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(36px, 6vw, 90px);
  align-items: start;
}
.manifesto p {
  margin-bottom: 22px;
  font-family: var(--disp);
  font-weight: 600;
  font-size: clamp(20px, 2.4vw, 32px);
  line-height: 1.32;
  letter-spacing: -.02em;
}
.manifesto p:last-child { margin-bottom: 0; }
.manifesto em { font-style: normal; color: var(--acc); }
.manifesto .small {
  font-family: var(--sans);
  font-weight: 400;
  font-size: clamp(14px, 1.4vw, 16px);
  line-height: 1.7;
  letter-spacing: 0;
  color: var(--ink-2);
}
.manifesto .btn { margin-top: 8px; }
.about-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 22px; }
.about-actions .btn { margin-top: 0; }

.figs { display: grid; grid-template-columns: 1fr 1fr; }
.fig {
  padding: clamp(22px, 2.4vw, 32px);
  border-top: 1.5px solid var(--line);
  border-left: 1.5px solid var(--line);
}
.fig:nth-child(2n) { border-right: 1.5px solid var(--line); }
.fig:nth-last-child(-n + 2) { border-bottom: 1.5px solid var(--line); }
.fig-n {
  font-family: var(--disp);
  font-weight: 800;
  font-size: clamp(38px, 4.6vw, 60px);
  line-height: 1;
  letter-spacing: -.04em;
}
.fig-n .s { color: var(--acc); }
.fig-l {
  margin-top: 10px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink-2);
}

/* ---- Team ---- */
.team { border-bottom: 1.5px solid var(--ink); }
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1.5px solid var(--line);
}
.tm {
  padding: clamp(28px, 3vw, 44px);
  border-right: 1.5px solid var(--line);
  transition: background .3s, color .3s;
}
.tm:last-child { border-right: none; }
.tm:hover { background: var(--acc); color: #fff; }
.tm-av {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 74px;
  height: 74px;
  margin-bottom: 26px;
  font-family: var(--disp);
  font-weight: 800;
  font-size: 24px;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  transition: border-color .3s;
}
.tm:hover .tm-av { border-color: #fff; }
.tm-name {
  font-family: var(--disp);
  font-weight: 700;
  font-size: clamp(18px, 2vw, 24px);
  letter-spacing: -.02em;
}
.tm-role {
  margin-top: 6px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--acc);
}
.tm:hover .tm-role { color: #fff; }
.tm-bio { margin-top: 16px; font-size: 13px; line-height: 1.6; color: var(--ink-2); }
.tm:hover .tm-bio { color: rgba(255, 255, 255, .85); }
.tm-social { display: flex; gap: 16px; margin-top: 18px; }
.tm-social a { font-size: 16px; color: var(--ink-2); transition: color .25s, transform .25s; }
.tm:hover .tm-social a { color: #fff; }
.tm-social a:hover { transform: translateY(-3px); }

/* ---- AI ---- */
.ai {
  color: var(--paper);
  background: var(--ink);
  border-bottom: 1.5px solid var(--ink);
}
.ai .eyebrow { color: rgba(255, 255, 255, .6); }
.ai .eyebrow b { color: var(--acc); }
.ai .eyebrow::before { background: rgba(255, 255, 255, .4); }
.ai-inner {
  display: grid;
  grid-template-columns: 1.25fr 0.8fr;
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
}
.ai-copy { max-width: 728px; }
.ai-claim {
  margin: 18px 0 26px;
  max-width: 21ch;
  font-family: var(--disp);
  font-weight: 800;
  font-size: clamp(28px, 4.4vw, 64px);
  line-height: 1.02;
  letter-spacing: -.04em;
}
.ai-claim em { font-style: normal; color: var(--acc); }
.ai-text {
  max-width: 728px;
  font-size: clamp(15px, 1.5vw, 18px);
  line-height: 1.7;
  color: rgba(255, 255, 255, .7);
}
.ai-text b { color: #fff; font-weight: 600; }
.ai-visual { display: flex; justify-content: flex-end; }
.ai-visual img {
  width: 100%;
  max-width: 430px;
  filter: drop-shadow(0 0 70px rgba(43, 57, 255, .45));
}

/* ---- Tech stack ---- */
.tech { border-bottom: 1.5px solid var(--ink); }
.tech-head { margin-bottom: clamp(26px, 4vw, 46px); }
.tech-head .sec-h { margin-top: 14px; font-size: clamp(26px, 3.4vw, 44px); }

/* Tabbed tech stack */
.tech-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-bottom: 22px;
}
.tech-tab {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 19px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink);
  background: transparent;
  border: 1.5px solid var(--line);
  cursor: pointer;
  transition: background-color .25s, color .25s, border-color .25s;
}
.tech-tab i { color: var(--acc); font-size: 1.05em; transition: color .25s; }
.tech-tab.is-active { background: var(--acc); color: #fff; border-color: var(--acc); }
.tech-tab.is-active i { color: #fff; }
@media (hover: hover) {
  .tech-tab:not(.is-active):hover { background: var(--ink); color: #fff; border-color: var(--ink); }
  .tech-tab:not(.is-active):hover i { color: #fff; }
}

.tech-panel { display: none; }
.tech-panel.is-active { display: block; animation: techFade .45s cubic-bezier(.16, 1, .3, 1); }
@keyframes techFade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* Logo row — icon left, name right (no boxes) */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 16px 26px;
}
.tech-item {
  display: flex;
  align-items: center;
  gap: 12px;
}
.tech-ico {
  width: 34px;
  height: 34px;
  object-fit: contain;
  flex: none;
  transition: transform .25s;
}
.tech-mono {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  flex: none;
  font-family: var(--mono);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .02em;
  color: #fff;
  background: var(--ink);
}
.tech-name {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: .01em;
  line-height: 1.3;
  color: var(--ink);
  transition: color .2s;
}
@media (hover: hover) {
  .tech-item:hover .tech-name { color: var(--acc); }
  .tech-item:hover .tech-ico { transform: scale(1.1); }
}
@media (max-width: 560px) {
  .tech-grid { grid-template-columns: 1fr 1fr; gap: 14px 16px; }
}

/* ---- Contact ---- */
/* .contact has no bottom divider — the footer's own top border (.foot-grid) is the single separator above the footer */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 6vw, 90px);
}
.contact-big {
  margin: 16px 0 22px;
  font-family: var(--disp);
  font-weight: 800;
  font-size: clamp(36px, 6vw, 86px);
  line-height: .96;
  letter-spacing: -.04em;
}
.contact-big em { font-style: normal; color: var(--acc); }
.contact-q {
  max-width: 380px;
  margin-bottom: 30px;
  font-size: clamp(14px, 1.5vw, 17px);
  line-height: 1.6;
  color: var(--ink-2);
}
.clinks { display: flex; flex-direction: column; margin-top: 10px; border-top: 1.5px solid var(--line); }
.crow {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1.5px solid var(--line);
  transition: padding-left .3s;
}
.crow:hover { padding-left: 8px; }
.crow .lab {
  width: 72px;
  flex-shrink: 0;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink3);
}
.crow .cval {
  flex: 1;
  font-family: var(--disp);
  font-weight: 600;
  font-size: clamp(16px, 1.9vw, 20px);
  letter-spacing: -.01em;
  color: var(--ink);
}
a.crow:hover .cval { color: var(--acc); }
.crow-ic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: var(--acc);
  font-size: 18px;
  border: 1.5px solid var(--line);
  border-radius: 50%;
  transition: background .25s, color .25s, border-color .25s, transform .25s;
}
.crow-ic:hover { background: var(--acc); color: #fff; border-color: var(--acc); transform: translateY(-2px); }

/* WhatsApp icon — brand green, sits next to the phone */
.crow-wa { color: #25d366; }
.crow-wa:hover { background: #25d366; color: #fff; border-color: #25d366; }

/* Availability badge — anchored to the bottom of the contacts column */
.contact-left { display: flex; flex-direction: column; }
.avail {
  margin-top: auto;
  padding-top: 32px;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .03em;
  color: var(--ink);
}
.avail .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #2bd06a;
  animation: avail-pulse 2.2s ease-in-out infinite;
}
@keyframes avail-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(43, 208, 106, .55); }
  70%  { box-shadow: 0 0 0 9px rgba(43, 208, 106, 0); }
  100% { box-shadow: 0 0 0 0 rgba(43, 208, 106, 0); }
}

/* Creative form — numbered blocks + service picker, set on a raised panel */
.cform {
  display: flex;
  flex-direction: column;
  gap: clamp(22px, 2.8vw, 32px);
  padding: clamp(26px, 3.2vw, 44px);
  background: #e8e5da;
  border: 1.5px solid var(--line);
  box-shadow: 0 26px 55px -34px rgba(22, 20, 13, .22);
}
.fblock { display: flex; flex-direction: column; gap: 16px; }
.fnum {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.fnum b { color: var(--acc); font-weight: 600; }
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(18px, 2.4vw, 30px); }
.picks { display: flex; flex-wrap: wrap; gap: 10px; }
.pick {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 16px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .02em;
  color: var(--ink);
  border: 1.5px solid var(--line);
  cursor: pointer;
  user-select: none;
  transition: background .2s, color .2s, border-color .2s, transform .15s;
}
.pick input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.pick::before {
  content: '+';
  font-size: 13px;
  line-height: 1;
  color: var(--ink3);
  transition: color .2s;
}
.pick:hover { border-color: var(--ink); transform: translateY(-1px); }
.pick:has(input:checked) { color: #fff; background: var(--ink); border-color: var(--ink); }
.pick:has(input:checked)::before { content: '✓'; color: var(--acc); }
@media (max-width: 560px) { .frow { grid-template-columns: 1fr; } }

.field {
  position: relative;
  border-bottom: 1.5px solid var(--ink);
  transition: border-color .3s;
}
.field:focus-within { border-color: var(--acc); }
.field label {
  position: absolute;
  top: 18px;
  left: 0;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink3);
  pointer-events: none;
  transition: all .25s;
}
.field input:focus ~ label,
.field input:not(:placeholder-shown) ~ label,
.field textarea:focus ~ label,
.field textarea:not(:placeholder-shown) ~ label {
  top: 1px;
  font-size: 9px;
  color: var(--acc);
}
.field input,
.field textarea {
  width: 100%;
  padding: 24px 0 12px;
  font-family: var(--sans);
  font-size: 17px;
  color: var(--ink);
  background: transparent;
  border: none;
  outline: none;
  resize: none;
}
.field textarea { min-height: 80px; }
.form-foot { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 26px; }
.note { font-family: var(--mono); font-size: 11px; color: var(--ink-2); }

/* Honeypot (spam trap) — visually hidden, off accessibility tree */
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; opacity: 0; pointer-events: none; }

/* Submit status / success state */
.form-status { margin-top: 14px; font-size: 14px; line-height: 1.5; }
.form-status.ok { color: #1c7a44; font-weight: 600; }
.form-status.err { color: #b3261e; }
.cform.sent .fblock,
.cform.sent .form-foot { display: none; }
.cform.sent .form-status { margin-top: 0; font-family: var(--disp); font-weight: 700; font-size: clamp(18px, 2.2vw, 26px); letter-spacing: -.02em; }

/* ---- Footer ---- */
.footer { padding: clamp(40px, 6vh, 64px) var(--gut) 30px; }
.foot-word {
  font-family: var(--disp);
  font-weight: 800;
  font-size: clamp(44px, 5.5vw, 96px);
  line-height: .82;
  letter-spacing: -.04em;
  text-align: left;
  margin: 0;
}
.foot-word em { font-style: normal; color: var(--acc); }
.foot-grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1.3fr;
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
  /* Full-bleed top divider (edge-to-edge on any width); content stays aligned to
     the 1500 grid via the --gut padding. vw-based so it ignores the page cap;
     html{overflow-x:clip} handles the scrollbar sliver. */
  margin: 0;
  margin-inline: calc(50% - 50vw);
  padding: clamp(32px, 4vw, 48px) var(--gutvw) 0;
  border-top: 1.5px solid var(--ink);
}
.foot-col { min-width: 0; }
.foot-h {
  margin-bottom: 16px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--ink);
}
.foot-tagline {
  margin: 20px 0 22px;
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.65;
  color: var(--ink-2);
}
.foot-social { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.foot-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  font-size: 15px;
  color: var(--ink);
  border: 1.5px solid var(--line);
  border-radius: 50%;
  transition: background .25s, color .25s, border-color .25s, transform .25s;
}
.foot-social a:hover { background: var(--acc); color: #fff; border-color: var(--acc); transform: translateY(-2px); }
.foot-nav { display: flex; flex-direction: column; gap: 12px; list-style: none; }
.foot-nav a {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink-2);
  transition: color .2s;
}
.foot-nav a:hover { color: var(--acc); }
.foot-addr {
  display: inline-block;
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.85;
  font-style: normal;
  color: var(--ink-2);
  transition: color .25s;
}
.foot-addr:hover { color: var(--acc); }
@media (max-width: 820px) {
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 34px 28px; }
  .foot-col-brand { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .foot-grid { grid-template-columns: 1fr; }
  .foot-word { font-size: clamp(40px, 13vw, 64px); }
}

/* ---- Back to top ---- */
.btop {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  color: var(--paper);
  background: var(--ink);
  border: none;
  cursor: pointer;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .4s, transform .4s, background .25s;
}
.btop.on { opacity: 1; transform: none; }
.btop:hover { background: var(--acc); }

/* Keep the invert hover smooth — the reveal transition would otherwise
   override these cards' colour transition (same specificity, later source). */
.srv,
.tm,
.step {
  transition: background-color .4s ease,
              color .4s ease,
              border-color .4s ease,
              box-shadow .4s ease,
              transform .55s cubic-bezier(.16, 1, .3, 1),
              opacity .7s ease !important;
}

/* ---- Responsive ---- */
@media (max-width: 980px) {
  .nav-links,
  .nav-cta { display: none; }
  .burger { display: flex; }
  .lang { margin-left: auto; margin-right: 14px; }

  .steps { grid-template-columns: 1fr 1fr; }
  .step { border-bottom: 1.5px solid var(--line); }
  .step:nth-child(2) { border-right: none; }

  .about-grid,
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }

  .ai-inner { grid-template-columns: 1fr; gap: 36px; }
  .ai-visual { justify-content: flex-start; }
  .ai-visual img { max-width: 280px; }
}

@media (max-width: 640px) {
  .srv-grid { grid-template-columns: 1fr; }

  /* Process → swipeable, snapping slides */
  .steps {
    display: flex;
    grid-template-columns: none;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-left: var(--pad);
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 22px var(--pad) 4px;
    margin: 0 calc(var(--pad) * -1);
  }
  .steps::-webkit-scrollbar { display: none; }
  .step {
    flex: 0 0 80%;
    scroll-snap-align: start;
    border: 1.5px solid var(--line);
    padding: 30px 26px 36px;
  }
  /* re-assert the right border the wider breakpoints strip off */
  .step:nth-child(2),
  .step:last-child { border-right: 1.5px solid var(--line); }
  .step .n { margin-bottom: 16px; }
  .steps-nav { display: flex; }

  .team-grid { grid-template-columns: 1fr; }
  .tm { border-right: none; border-bottom: 1.5px solid var(--line); }

  .figs { grid-template-columns: 1fr 1fr; }
  .hero-foot { flex-direction: column; align-items: flex-start; }
}

/* =============================================================
   Stand-alone sub-pages (legal, 404, …) — native scroll, fixed nav
   ============================================================= */
.page-main { padding-top: 72px; min-height: 62vh; }

.legal { max-width: 970px; margin: 0 auto; padding: clamp(40px, 7vh, 80px) var(--pad) clamp(70px, 12vh, 130px); }
.legal-head { padding-bottom: clamp(22px, 4vh, 36px); margin-bottom: clamp(28px, 4vh, 44px); border-bottom: 1.5px solid var(--ink); }
.legal-head h1 { margin-top: 12px; font-family: var(--disp); font-weight: 800; font-size: clamp(32px, 5vw, 58px); line-height: 1.03; letter-spacing: -.03em; }
.legal-updated { margin-top: 14px; font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-2); }
.legal-intro { max-width: 78ch; margin-bottom: clamp(30px, 5vh, 50px); font-size: clamp(16px, 1.8vw, 20px); line-height: 1.6; color: var(--ink); }
.legal-sec { margin-bottom: clamp(26px, 4vh, 40px); }
.legal-sec h2 { display: flex; align-items: baseline; gap: 12px; margin-bottom: 10px; font-family: var(--disp); font-weight: 700; font-size: clamp(18px, 2.2vw, 26px); letter-spacing: -.02em; }
.legal-n { font-family: var(--mono); font-size: 13px; font-weight: 600; color: var(--acc); }
.legal-sec p { max-width: 82ch; font-size: clamp(14px, 1.5vw, 16px); line-height: 1.7; color: var(--ink-2); }
.legal a { color: var(--acc); text-decoration: underline; text-underline-offset: 3px; }

/* Footer legal row */
.foot-legal { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; margin-top: 26px; margin-inline: calc(50% - 50vw); padding-top: 22px; padding-inline: var(--gutvw); border-top: 1px solid var(--line); }
.foot-copy { font-family: var(--mono); font-size: 12px; color: var(--ink-2); }
.foot-legal-nav { display: flex; flex-wrap: wrap; gap: 18px; list-style: none; }
.foot-legal-nav a { font-family: var(--mono); font-size: 12px; color: var(--ink-2); transition: color .25s; }
.foot-legal-nav a:hover { color: var(--acc); }

/* 404 */
.err404 { max-width: 870px; margin: 0 auto; padding: clamp(56px, 11vh, 120px) var(--pad); text-align: center; }
.err404-code { font-family: var(--disp); font-weight: 900; font-size: clamp(90px, 20vw, 220px); line-height: 1; letter-spacing: -.04em; color: var(--acc); }
.err404 h1 { margin: 8px 0 14px; font-family: var(--disp); font-weight: 800; font-size: clamp(26px, 4vw, 44px); }
.err404 p { margin-bottom: 28px; font-size: clamp(15px, 1.6vw, 18px); color: var(--ink-2); }
.err404-btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 26px; font-family: var(--mono); font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: #fff; background: var(--ink); transition: background .25s; }
.err404-btn:hover { background: var(--acc); }

/* ============================================================
   About / История — standalone page (pages/about.php) — v2 premium
   ============================================================ */
.ab-h1 { font-family: var(--disp); font-weight: 800; font-size: clamp(40px, 7.4vw, 112px); line-height: .92; letter-spacing: -.035em; }
.ab-h1 em, .ab-h2 em, .ab-time-h em { font-style: normal; color: var(--acc); }
.ab-h2 { font-family: var(--disp); font-weight: 800; font-size: clamp(28px, 4vw, 56px); line-height: 1.04; letter-spacing: -.02em; }
.ab-lead { font-size: clamp(16px, 1.8vw, 21px); line-height: 1.6; }

.ab-shot { margin: 0; }
.ab-shot img { display: block; width: 100%; height: auto; object-fit: contain; transition: transform 1s cubic-bezier(.16, 1, .3, 1); }
@media (hover: hover) { .ab-shot:hover img { transform: scale(1.03); } }
/* "Сегодня" — favicon wall (digital world) */
.ab-favwall { display: grid; grid-template-columns: repeat(4, 1fr); aspect-ratio: 4 / 3; background: #fff; border: 1.5px solid var(--line); overflow: hidden; }
.ab-favwall span { display: flex; align-items: center; justify-content: center; border: .75px solid rgba(20, 22, 40, .06); }
.ab-favwall img { width: 44%; height: auto; object-fit: contain; transition: transform .35s; }
@media (hover: hover) { .ab-favwall span:hover img { transform: scale(1.2); } }

/* Hero — immersive, dark, parallax */
.ab-hero2 { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 92svh; overflow: hidden; background: var(--ink); border-bottom: 1.5px solid var(--ink); }
.ab-hero2-bg { position: absolute; inset: -14% 0; will-change: transform; }
.ab-hero2-bg img { width: 100%; height: 100%; object-fit: cover; }
.ab-hero2-veil { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,11,14,.5) 0%, rgba(11,11,14,.28) 38%, rgba(11,11,14,.94) 100%); }
.ab-hero2-in { position: relative; padding-top: clamp(120px, 18vh, 220px); padding-bottom: clamp(46px, 8vh, 96px); }
.ab-hero2 .eyebrow { margin-bottom: 24px; color: rgba(243, 241, 234, .85); }
.ab-hero2 .eyebrow b { color: var(--acc); }
.ab-hero2 .ab-h1 { margin-bottom: 26px; color: #fff; }
.ab-hero2 .ab-lead { max-width: 600px; color: rgba(243, 241, 234, .8); }
.ab-hero2-stats { position: absolute; right: var(--gut); bottom: clamp(150px, 22vh, 240px); z-index: 2; margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: clamp(15px, 2.2vh, 30px); text-align: right; }
.ab-hero2-stats li { list-style: none; }
.ab-hero2-stats b { display: block; font-family: var(--disp); font-weight: 800; font-size: clamp(34px, 3.6vw, 58px); line-height: .9; letter-spacing: -.03em; color: #fff; }
.ab-hero2-stats span { display: block; margin-top: 7px; font-family: var(--mono); font-weight: 500; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: rgba(243, 241, 234, .6); }
@media (max-width: 860px) { /* mobile/tablet: clean 2×2 grid, centered, with bottom breathing room */
  .ab-hero2 { padding-bottom: 30px; }
  .ab-hero2-stats { position: static; transform: none; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 38px) clamp(18px, 5vw, 48px); text-align: center; margin-top: 30px; padding: 0 var(--pad); }
  .ab-hero2-stats li { min-width: 0; }
  .ab-hero2-stats b { font-size: clamp(36px, 11vw, 56px); }
  .ab-hero2-stats span { font-size: 11px; }
}
.ab-cue { position: absolute; right: var(--pad); bottom: clamp(46px, 8vh, 96px); display: flex; flex-direction: column; align-items: center; gap: 10px; font-family: var(--mono); font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: rgba(243, 241, 234, .6); }
.ab-cue i { width: 1px; height: 48px; background: linear-gradient(rgba(243, 241, 234, .65), transparent); animation: abCue 1.8s ease-in-out infinite; }
@keyframes abCue { 0%, 100% { transform: scaleY(.35); transform-origin: top; opacity: .5; } 50% { transform: scaleY(1); opacity: 1; } }
@media (max-width: 700px) { .ab-cue { display: none; } }
@media (max-height: 720px) { .ab-cue { display: none; } } /* short windows: avoid collision with the taller hero stats */

/* Timeline — editorial */
.ab-time-h { margin: 12px 0 clamp(24px, 4vw, 44px); font-family: var(--disp); font-weight: 800; font-size: clamp(30px, 5vw, 70px); line-height: .98; letter-spacing: -.03em; }
.ab-mile { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(30px, 5vw, 84px); margin-top: clamp(58px, 9vw, 130px); }
.ab-mile-rev .ab-shot { order: 2; }
.ab-mile .ab-shot { align-self: center; }
/* 2019 milestone sits on a full-bleed white band (image bg is pure white → seamless) */
.ab-mile-white { margin-left: calc(var(--pad) * -1); margin-right: calc(var(--pad) * -1); padding: clamp(48px, 7vw, 96px) var(--pad); background: #fff; }
.ab-year { display: block; margin: 0 0 -.08em -.04em; font-family: var(--disp); font-weight: 800; font-size: clamp(58px, 9vw, 150px); line-height: 1; letter-spacing: -.045em; color: transparent; -webkit-text-stroke: 1.5px var(--line); }
.ab-mile-h { margin: 12px 0 16px; font-family: var(--disp); font-weight: 800; font-size: clamp(24px, 3.2vw, 46px); line-height: 1.03; letter-spacing: -.02em; }
.ab-mile-txt p { max-width: 46ch; font-size: clamp(15px, 1.55vw, 18px); line-height: 1.66; color: var(--ink-2); }

/* Vii Engine — dark showcase */
.ab-engine { background: var(--ink); color: var(--paper); }
.ab-engine-in { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: clamp(28px, 5vw, 70px); }
.ab-engine .eyebrow, .ab-engine .ab-h2 { color: var(--paper); }
.ab-engine .eyebrow b { color: var(--acc); }
.ab-engine .ab-h2 { margin: 14px 0 20px; font-size: clamp(20px, 2.8vw, 39px); }
.ab-engine-txt p { max-width: 52ch; font-size: clamp(15px, 1.5vw, 17px); line-height: 1.65; color: rgba(243, 241, 234, .72); }
.ab-engine-shot { display: flex; justify-content: center; }
.ab-engine-shot img { max-height: 480px; width: auto; max-width: 100%; height: auto; }
.ab-stats { display: flex; flex-wrap: wrap; gap: clamp(22px, 4vw, 48px); margin: 26px 0; }
.ab-stat b { display: block; font-family: var(--disp); font-weight: 800; font-size: clamp(26px, 3.4vw, 46px); color: #fff; line-height: 1; letter-spacing: -.02em; }
.ab-stat span { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: rgba(243, 241, 234, .55); }
.ab-engine-note { font-style: italic; color: rgba(243, 241, 234, .88) !important; }

/* CTA */
.ab-cta { text-align: center; border-top: 1.5px solid var(--ink); }
.ab-cta-h { margin: 0 auto 16px; }
.ab-cta-sub { max-width: 520px; margin: 0 auto 30px; font-size: clamp(15px, 1.5vw, 17px); line-height: 1.6; color: var(--ink-2); }
.ab-cta-btn { display: inline-flex; align-items: center; gap: 12px; padding: 17px 34px; font-family: var(--mono); font-size: 14px; text-transform: uppercase; letter-spacing: .04em; color: #fff; background: var(--acc); transition: transform .25s, background .25s; }
.ab-cta-btn:hover { transform: translateY(-2px); background: var(--ink); }

@media (max-width: 760px) {
  .ab-mile, .ab-engine-in { grid-template-columns: 1fr; gap: 22px; }
  .ab-mile-rev .ab-shot { order: 0; }
  .ab-mile { margin-top: clamp(50px, 13vw, 90px); }
  .ab-hero2 { min-height: 86svh; }
}

/* ============================================================
   Vii Engine — product page (/<lang>/vii-engine)
   ============================================================ */
/* "Подробнее" link on the About engine band */
.ab-engine-more { display: inline-flex; align-items: center; gap: 10px; margin-top: 26px; font-family: var(--mono); font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: #fff; border-bottom: 1.5px solid rgba(243, 241, 234, .35); padding: 0 6px 6px 0; transition: border-color .25s; }
.ab-engine-more i { color: var(--acc); transition: transform .25s; }
@media (hover: hover) { .ab-engine-more:hover { border-color: var(--acc); } .ab-engine-more:hover i { transform: translateX(5px); } }

/* Hero */
.ve-hero { padding-top: clamp(120px, 16vh, 200px); }
.ve-h1 { font-family: var(--disp); font-weight: 900; font-size: clamp(52px, 8vw, 104px); line-height: .95; letter-spacing: -.04em; color: #fff; }
.ve-h1 em { font-style: normal; color: var(--acc); }
.ve-tagline { margin: 14px 0 22px; font-family: var(--disp); font-weight: 700; font-size: clamp(18px, 2.2vw, 28px); letter-spacing: -.01em; color: var(--paper); }
/* Demo button (hero). Active = filled accent <a>; .is-soon = muted outline, non-interactive (no demo yet). */
.ve-demo { display: inline-flex; align-items: center; gap: 11px; margin: clamp(18px, 2.4vw, 28px) 0 6px; padding: 15px 26px; font-family: var(--mono); font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: #fff; background: var(--acc); transition: transform .25s, background .25s, color .25s; }
.ve-demo i { font-size: 15px; }
.ve-demo b { padding: 3px 9px; font-size: 9.5px; letter-spacing: .12em; border-radius: 3px; background: rgba(255, 255, 255, .22); }
a.ve-demo:hover { transform: translateY(-2px); background: #fff; color: var(--ink); }
.ve-demo.is-soon { background: transparent; border: 1.5px solid rgba(243, 241, 234, .28); color: rgba(243, 241, 234, .82); cursor: default; }
.ve-demo.is-soon i { color: var(--acc); }
.ve-demo.is-soon b { background: rgba(243, 241, 234, .14); color: rgba(243, 241, 234, .7); }

/* Modules grid */
.ve-h2 em { font-style: normal; color: var(--acc); }
.ve-lead { max-width: 60ch; margin: 14px 0 0; font-size: clamp(15px, 1.5vw, 18px); line-height: 1.66; color: var(--ink-2); }
.ve-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 1.6vw, 24px); margin-top: clamp(30px, 4vw, 52px); }
.ve-card { position: relative; overflow: hidden; padding: clamp(22px, 2.2vw, 30px); min-height: clamp(158px, 13vw, 188px); border: 1.5px solid var(--line); background: #fff; transition: transform .3s cubic-bezier(.16, 1, .3, 1), border-color .3s; }
.ve-card h3, .ve-card p { position: relative; z-index: 1; }
.ve-card h3 { margin: 0 0 8px; font-family: var(--disp); font-weight: 700; font-size: clamp(17px, 1.5vw, 20px); letter-spacing: -.01em; line-height: 1.12; }
.ve-card p { max-width: 86%; font-size: clamp(13.5px, 1.3vw, 15px); line-height: 1.55; color: var(--ink-2); }
/* big soft-gradient watermark icon as the card's background */
.ve-card i { position: absolute; z-index: 0; right: -6px; bottom: -22px; font-size: clamp(94px, 8.5vw, 128px); line-height: 1; opacity: .8; color: #c6c6c6; pointer-events: none; }
@media (hover: hover) { .ve-card:hover { transform: translateY(-4px); border-color: var(--acc); } .ve-card:hover i { opacity: 1; } }
.ve-more { margin-top: clamp(24px, 3vw, 40px); font-size: clamp(15px, 1.5vw, 17px); color: var(--ink-2); }
.ve-more b { color: var(--ink); }

/* Why band */
.ve-why { background: var(--ink); color: var(--paper); }
.ve-why .eyebrow { color: rgba(243, 241, 234, .85); }
.ve-why .eyebrow b { color: var(--acc); }
.ve-why .ab-h2 { color: var(--paper); }
.ve-why-year { margin-top: clamp(24px, 3.6vw, 50px); font-family: var(--disp); font-weight: 900; font-size: clamp(88px, 12vw, 190px); line-height: .82; letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1.5px rgba(243, 241, 234, .26); }
.ve-why-year-cap { display: block; margin-top: 16px; font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; line-height: 1.5; color: rgba(243, 241, 234, .5); }
.ve-why-in { display: grid; grid-template-columns: .9fr 1.1fr; align-items: start; gap: clamp(28px, 5vw, 70px); }
.ve-why-txt p { margin-bottom: 18px; max-width: 56ch; font-size: clamp(15px, 1.5vw, 17px); line-height: 1.7; color: rgba(243, 241, 234, .74); }
.ve-why-note { font-style: italic; color: rgba(243, 241, 234, .92) !important; }

@media (max-width: 860px) { .ve-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) { .ve-why-in { grid-template-columns: 1fr; gap: 18px; } }
@media (max-width: 540px) { .ve-grid { grid-template-columns: 1fr; } }

/* Copyright / registration proof */
.ve-cert-sec { padding-top: clamp(28px, 4vw, 56px); }
.ve-cert { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 34px); padding: clamp(22px, 2.6vw, 34px); border: 1.5px solid var(--line); background: #fff; }
.ve-cert-ico { flex: 0 0 auto; font-size: 34px; color: var(--acc); }
.ve-cert-main { flex: 1 1 auto; min-width: 0; }
.ve-cert-kick { display: block; margin-bottom: 8px; font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--acc); }
.ve-cert-main p { max-width: 70ch; font-size: clamp(14px, 1.4vw, 16px); line-height: 1.62; color: var(--ink-2); }
.ve-cert-main b { color: var(--ink); font-weight: 700; }
.ve-cert-acts { flex: 0 0 auto; display: flex; flex-direction: column; gap: 12px; }
.ve-cert-btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 13px 22px; font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: #fff; background: var(--ink); white-space: nowrap; transition: background .25s, transform .2s; }
.ve-cert-btn:hover { background: var(--acc); transform: translateY(-2px); }
.ve-cert-link { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--ink); white-space: nowrap; transition: color .25s; }
.ve-cert-link i { font-size: 11px; color: var(--acc); }
.ve-cert-link:hover { color: var(--acc); }
@media (max-width: 820px) {
  .ve-cert { flex-direction: column; align-items: flex-start; gap: 18px; }
  .ve-cert-acts { flex-direction: row; flex-wrap: wrap; width: 100%; }
}
