/* ==========================================================================
   Techleens — Global Stylesheet
   Palette: White #FFFFFF · Black #0A0A0A · Cyan #00B4D8
   ========================================================================== */

:root {
  --white: #ffffff;
  --black: #0a0a0a;
  --ink: #141414;
  --ink-2: #3a3a3a;
  --ink-3: #6b6b6b;
  --line: #e6e6e6;
  --line-dark: #222222;
  --paper: #f6f7f8;
  --cyan: #00b4d8;
  --cyan-dark: #0096b4;
  --cyan-soft: rgba(0, 180, 216, 0.12);
  --cyan-glow: rgba(0, 180, 216, 0.35);

  --font: "Manrope", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(10, 10, 10, 0.08);
  --shadow-lg: 0 30px 60px rgba(10, 10, 10, 0.16);

  --container: 1200px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }

::selection { background: var(--cyan); color: var(--white); }

/* ---------- Icon system ---------- */
.ico { width: 1em; height: 1em; display: inline-block; vertical-align: middle; fill: none; }
.ico .node { fill: var(--cyan); }
.service:hover .service__icon .ico .node,
.btn--primary .ico .node { fill: var(--black); }
.section--dark .pillar i .ico .node, .section--dark .vision__list i .ico .node { fill: var(--black); }

/* ---------- Layout helpers ---------- */
.container { width: min(100% - 48px, var(--container)); margin-inline: auto; }
.section { padding: clamp(72px, 9vw, 120px) 0; }
.section--tight { padding: clamp(48px, 6vw, 80px) 0; }
.section--dark { background: var(--black); color: var(--white); }
.section--paper { background: var(--paper); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan-dark);
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--cyan); }
.section--dark .eyebrow { color: var(--cyan); }

.h-display {
  font-size: clamp(2.4rem, 5.6vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 800;
}
.h-1 { font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.08; letter-spacing: -0.03em; font-weight: 800; }
.h-2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); line-height: 1.15; letter-spacing: -0.025em; font-weight: 800; }
.h-3 { font-size: 1.25rem; line-height: 1.3; letter-spacing: -0.015em; font-weight: 700; }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.25rem); line-height: 1.6; color: var(--ink-2); max-width: 62ch; }
.section--dark .lead { color: rgba(255, 255, 255, 0.72); }
.muted { color: var(--ink-3); }
.section--dark .muted { color: rgba(255, 255, 255, 0.6); }
.accent { color: var(--cyan); }

.section-head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head--split {
  max-width: none;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: end;
}
@media (max-width: 860px) { .section-head--split { grid-template-columns: 1fr; gap: 20px; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.005em;
  border: 2px solid transparent;
  transition: transform 0.25s var(--ease), background 0.25s, color 0.25s, border-color 0.25s, box-shadow 0.25s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; transition: transform 0.25s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--primary { background: var(--cyan); color: var(--black); border-color: var(--cyan); }
.btn--primary:hover { background: var(--black); color: var(--white); border-color: var(--black); transform: translateY(-2px); box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18); }
.section--dark .btn--primary:hover { background: var(--white); color: var(--black); border-color: var(--white); }
.btn--ghost { background: transparent; color: var(--black); border-color: var(--black); }
.btn--ghost:hover { background: var(--black); color: var(--white); transform: translateY(-2px); }
.btn--ghost-light { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, 0.4); }
.btn--ghost-light:hover { border-color: var(--white); background: var(--white); color: var(--black); transform: translateY(-2px); }
.btn--sm { padding: 10px 20px; font-size: 14px; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--black);
  position: relative;
}
.link-arrow svg { width: 18px; height: 18px; transition: transform 0.25s var(--ease); }
.link-arrow:hover svg { transform: translateX(5px); }
.link-arrow::after {
  content: "";
  position: absolute;
  left: 0; bottom: -3px;
  width: 0; height: 2px;
  background: var(--cyan);
  transition: width 0.3s var(--ease);
}
.link-arrow:hover::after { width: 100%; }
.section--dark .link-arrow { color: var(--white); }

/* ---------- Header ---------- */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background 0.3s, box-shadow 0.3s, backdrop-filter 0.3s;
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
  transition: height 0.3s;
}
.header { color: var(--white); }
.header .nav__link { color: rgba(255, 255, 255, 0.82); }
.header .nav__link:hover, .header .nav__link.is-active { color: var(--white); }
.header .burger span { background: var(--white); }
.header.is-scrolled { color: var(--black); background: rgba(255, 255, 255, 0.9); backdrop-filter: saturate(160%) blur(14px); box-shadow: 0 1px 0 var(--line); }
.header.is-scrolled .nav__link { color: var(--ink); }
.header.is-scrolled .burger span { background: var(--black); }
.header.is-scrolled .header__inner { height: 70px; }

.logo { display: inline-flex; align-items: center; }
.logo svg { height: 42px; width: auto; }

.nav { display: flex; align-items: center; gap: 36px; }
.nav__link {
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
  position: relative;
  padding: 6px 0;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  height: 2px; width: 0;
  background: var(--cyan);
  transition: width 0.3s var(--ease);
}
.nav__link:hover::after, .nav__link.is-active::after { width: 100%; }
.header__cta { display: flex; align-items: center; gap: 14px; }

.burger {
  display: none;
  width: 44px; height: 44px;
  border: 0; background: transparent;
  flex-direction: column; align-items: center; justify-content: center; gap: 6px;
}
.burger span { display: block; width: 24px; height: 2px; background: var(--black); transition: transform 0.3s var(--ease), opacity 0.3s; }
.burger.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 960px) {
  .nav {
    position: fixed;
    inset: 70px 0 0 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 32px 24px;
    gap: 22px;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s, transform 0.3s var(--ease);
    border-top: 1px solid var(--line);
  }
  .nav.is-open { opacity: 1; transform: none; pointer-events: auto; }
  .nav__link { font-size: 20px; }
  .header__cta .btn { display: none; }
  .burger { display: flex; }
  .header { background: var(--white); color: var(--black); }
  .header .nav__link, .header .nav__link:hover { color: var(--ink); }
  .header .burger span { background: var(--black); }
  .header__inner { height: 70px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 170px 0 90px;
  background: var(--black);
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
}
.hero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 60% 40%, #000 30%, transparent 75%);
  z-index: -2;
}
.hero__glow {
  position: absolute;
  pointer-events: none;
  width: 720px; height: 720px;
  right: -200px; top: -200px;
  background: radial-gradient(circle, var(--cyan-glow), transparent 65%);
  filter: blur(40px);
  z-index: -1;
  animation: drift 14s ease-in-out infinite alternate;
}
@keyframes drift { from { transform: translate(0, 0); } to { transform: translate(-80px, 60px); } }

.hero__inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 960px) { .hero__inner { grid-template-columns: 1fr; } .hero { padding-top: 130px; } }

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px 8px 8px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 28px;
  background: rgba(255, 255, 255, 0.04);
}
.hero__badge i {
  display: inline-grid; place-items: center;
  width: 24px; height: 24px;
  border-radius: 999px;
  background: var(--cyan);
  color: var(--black);
  font-style: normal;
  font-size: 13px;
  font-weight: 800;
}
.hero h1 { margin-bottom: 24px; }
.hero h1 em { font-style: italic; color: var(--cyan); }
.hero .lead { margin-bottom: 36px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 48px; }

.hero__proof { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; font-size: 13px; color: rgba(255, 255, 255, 0.6); }
.hero__proof b { color: var(--white); font-weight: 700; }
.hero__proof span { display: inline-flex; align-items: center; gap: 8px; }
.hero__proof svg { width: 16px; height: 16px; color: var(--cyan); }

.hero__visual { position: relative; }
.hero__frame {
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(0, 180, 216, 0.1);
  transform: perspective(1200px) rotateY(-6deg) rotateX(2deg);
  transition: transform 0.6s var(--ease);
}
.hero__visual:hover .hero__frame { transform: perspective(1200px) rotateY(-2deg) rotateX(0); }
.hero__frame img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: center; }

.hero__card {
  position: absolute;
  background: var(--white);
  color: var(--black);
  border-radius: 14px;
  padding: 14px 18px;
  box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 12px;
  font-size: 13px; font-weight: 600;
  animation: float 6s ease-in-out infinite;
}
.hero__card b { display: block; font-size: 18px; letter-spacing: -0.02em; line-height: 1.1; }
.hero__card small { color: var(--ink-3); font-weight: 600; }
.hero__card--a { left: -28px; bottom: 36px; }
.hero__card--b { right: -18px; top: 28px; animation-delay: -3s; }
.hero__card i {
  width: 38px; height: 38px; border-radius: 10px;
  display: grid; place-items: center;
  background: var(--cyan-soft); color: var(--cyan-dark);
}
.hero__card i { font-size: 22px; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@media (max-width: 600px) { .hero__card--a { left: 8px; } .hero__card--b { right: 8px; } }

/* ---------- Stats bar ---------- */
.stats {
  background: var(--black);
  color: var(--white);
  border-top: 1px solid var(--line-dark);
  padding: 36px 0;
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}
@media (max-width: 960px) { .stats__grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .stats__grid { grid-template-columns: repeat(2, 1fr); } }
.stat b {
  display: block;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 8px;
}
.stat b span { color: var(--cyan); }
.stat p { font-size: 13px; color: rgba(255, 255, 255, 0.6); font-weight: 600; }

/* ---------- Platforms strip ---------- */
.platforms { padding: 30px 0; border-bottom: 1px solid var(--line); }
.platforms__inner {
  display: flex; flex-wrap: wrap;
  align-items: center; justify-content: space-between;
  gap: 18px 36px;
}
.platforms__label { font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); }
.platforms__list { display: flex; flex-wrap: wrap; gap: 14px 34px; }
.platforms__list a {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 15px; color: var(--ink-2);
  transition: color 0.25s;
}
.platforms__list a:hover { color: var(--black); }
.platforms__list svg { width: 22px; height: 22px; }

/* ---------- Services ---------- */
.services__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 1100px) { .services__grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 800px) { .services__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .services__grid { grid-template-columns: 1fr; } }

.service {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px 28px;
  display: flex; flex-direction: column; gap: 16px;
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s, border-color 0.35s;
}
.service::before {
  content: "";
  position: absolute; inset: auto 0 0 0;
  height: 3px;
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.service:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service:hover::before { transform: scaleX(1); }
.service__num { position: absolute; top: 22px; right: 24px; font-size: 12px; font-weight: 800; color: var(--ink-3); letter-spacing: 0.1em; }
.service__icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--black); color: var(--cyan);
  display: grid; place-items: center;
  transition: background 0.3s, color 0.3s;
}
.service__icon { font-size: 28px; color: var(--white); }
.service:hover .service__icon { background: var(--cyan); color: var(--black); }
.service h3 { font-size: 1.1rem; font-weight: 800; letter-spacing: -0.01em; }
.service p { font-size: 14.5px; color: var(--ink-2); flex: 1; }
.service .link-arrow { font-size: 14px; }

/* ---------- Work ---------- */
.work__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: auto auto;
  gap: 22px;
}
.work__card--lg { grid-row: span 2; }
@media (max-width: 900px) { .work__grid { grid-template-columns: 1fr; } .work__card--lg { grid-row: auto; } }

.work-card {
  position: relative;
  display: block;
  border-radius: 20px;
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
  min-height: 360px;
  isolation: isolate;
}
.work-card img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center top;
  transition: transform 0.8s var(--ease), filter 0.8s;
  z-index: -2;
}
.work-card::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10, 10, 10, 0) 30%, rgba(10, 10, 10, 0.92) 100%);
  z-index: -1;
  transition: opacity 0.5s;
}
.work-card:hover img { transform: scale(1.05); }
.work-card__body {
  position: absolute; inset: auto 0 0 0;
  padding: 28px;
  display: flex; flex-direction: column; gap: 10px;
}
.work-card__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 4px; }
.work-card__tags span {
  font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.12); backdrop-filter: blur(6px);
}
.work-card__tags span.is-cyan { background: var(--cyan); color: var(--black); }
.work-card h3 { font-size: 1.45rem; font-weight: 800; letter-spacing: -0.02em; }
.work-card--lg h3 { font-size: clamp(1.6rem, 2.5vw, 2.1rem); }
.work-card--lg img { object-fit: contain; object-position: center 20%; background: #e9eef1; transform: scale(1.12); }
.work-card--lg:hover img { transform: scale(1.16); }
.work-card p { font-size: 14.5px; color: rgba(255, 255, 255, 0.78); max-width: 52ch; }
.work-card__meta { display: flex; flex-wrap: wrap; gap: 18px; font-size: 13px; color: rgba(255, 255, 255, 0.7); margin-top: 6px; }
.work-card__meta b { color: var(--white); }
.work-card__cta {
  position: absolute; top: 22px; right: 22px;
  width: 46px; height: 46px; border-radius: 999px;
  background: var(--white); color: var(--black);
  display: grid; place-items: center;
  transform: translate(6px, -6px) scale(0.9);
  opacity: 0;
  transition: transform 0.4s var(--ease), opacity 0.4s;
}
.work-card__cta svg { width: 20px; height: 20px; }
.work-card:hover .work-card__cta { opacity: 1; transform: none; }

/* ---------- Why / Pillars ---------- */
.why__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 64px;
  align-items: center;
}
@media (max-width: 960px) { .why__layout { grid-template-columns: 1fr; gap: 40px; } }
.why__media { position: relative; }
.why__media img { width: 100%; border-radius: 22px; aspect-ratio: 4 / 3.2; object-fit: cover; background: var(--paper); }
.why__media::before {
  content: "";
  position: absolute; inset: 18px -18px -18px 18px;
  border: 2px solid var(--cyan);
  border-radius: 24px;
  z-index: -1;
}
.why__tile {
  position: absolute;
  right: -10px; bottom: -22px;
  background: var(--black); color: var(--white);
  padding: 20px 24px; border-radius: 16px;
  box-shadow: var(--shadow-lg);
  max-width: 250px;
}
.why__tile b { display: block; font-size: 1.7rem; font-weight: 800; letter-spacing: -0.03em; color: var(--cyan); line-height: 1; margin-bottom: 6px; }
.why__tile p { font-size: 13px; color: rgba(255, 255, 255, 0.7); }
@media (max-width: 600px) { .why__tile { right: 0; max-width: 220px; } .why__media::before { inset: 14px -8px -14px 14px; } }

.pillars { display: grid; gap: 22px; margin-top: 36px; }
.pillar { display: grid; grid-template-columns: 48px 1fr; gap: 18px; }
.pillar i {
  width: 48px; height: 48px; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--black); color: var(--white);
  font-style: normal; font-size: 26px;
}
.pillar h3 { font-size: 1.05rem; font-weight: 800; margin-bottom: 4px; }
.pillar p { font-size: 14.5px; color: var(--ink-2); }

/* ---------- Vision band ---------- */
.vision { position: relative; overflow: hidden; }
.vision__glow {
  position: absolute; left: 50%; top: 50%;
  width: 900px; height: 900px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(0, 180, 216, 0.18), transparent 60%);
  pointer-events: none;
}
.vision__inner { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
@media (max-width: 900px) { .vision__inner { grid-template-columns: 1fr; } }
.vision__list { display: grid; gap: 14px; margin-top: 8px; }
.vision__list li {
  display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  transition: border-color 0.3s, background 0.3s, transform 0.3s var(--ease);
}
.vision__list li:hover { border-color: var(--cyan); background: rgba(0, 180, 216, 0.06); transform: translateX(6px); }
.vision__list b { display: block; font-size: 1rem; margin-bottom: 2px; }
.vision__list p { font-size: 14px; color: rgba(255, 255, 255, 0.68); }
.vision__list i {
  width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--cyan); color: var(--black); font-style: normal; font-size: 24px;
}

/* ---------- Process ---------- */
.process__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  position: relative;
}
@media (max-width: 1100px) { .process__grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .process__grid { grid-template-columns: repeat(2, 1fr); } }
.step {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 22px;
  transition: transform 0.35s var(--ease), box-shadow 0.35s;
}
.step:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.step__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.step__num { font-size: 12px; font-weight: 800; letter-spacing: 0.12em; color: var(--ink-3); }
.step__icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--black); color: var(--white); font-size: 26px; }
.step:hover .step__icon { background: var(--cyan); color: var(--black); }
.step:hover .step__icon .node { fill: var(--black); }
.step h3 { font-size: 1.05rem; font-weight: 800; margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--ink-2); }

/* ---------- Team / Expertise ---------- */
.team__layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
@media (max-width: 900px) { .team__layout { grid-template-columns: 1fr; } }
.roles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (max-width: 520px) { .roles { grid-template-columns: 1fr; } }
.role {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--white);
  border: 1px solid var(--line);
  font-weight: 700; font-size: 14.5px;
  transition: border-color 0.3s, transform 0.3s var(--ease);
}
.role:hover { border-color: var(--cyan); transform: translateX(4px); }
.role i {
  width: 10px; height: 10px; border-radius: 999px;
  background: var(--cyan); flex: none;
  box-shadow: 0 0 0 4px var(--cyan-soft);
}

.stack { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.stack span {
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--white);
  font-size: 13.5px; font-weight: 700; color: var(--ink-2);
  transition: all 0.25s;
}
.stack span:hover { background: var(--black); color: var(--white); border-color: var(--black); }

/* ---------- Industries ---------- */
.industries { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 960px) { .industries { grid-template-columns: repeat(2, 1fr); } }
.industry {
  padding: 26px 24px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  transition: border-color 0.3s, transform 0.3s var(--ease), background 0.3s;
}
.industry:hover { border-color: var(--cyan); transform: translateY(-4px); background: rgba(0, 180, 216, 0.06); }
.industry.is-primary { border-color: var(--cyan); background: rgba(0, 180, 216, 0.1); }
.industry h3 { font-size: 1.05rem; font-weight: 800; margin-bottom: 8px; display: flex; align-items: center; gap: 10px; }
.industry h3 small { font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; background: var(--cyan); color: var(--black); padding: 3px 8px; border-radius: 999px; font-weight: 800; }
.industry p { font-size: 14px; color: rgba(255, 255, 255, 0.68); }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin-inline: auto; }
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 4px 0;
}
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 0;
  font-size: 1.1rem; font-weight: 800; letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary i {
  flex: none;
  width: 34px; height: 34px; border-radius: 999px;
  border: 2px solid var(--black);
  display: grid; place-items: center;
  font-style: normal; font-weight: 700;
  transition: transform 0.3s var(--ease), background 0.3s, color 0.3s;
}
.faq details[open] summary i { transform: rotate(45deg); background: var(--cyan); border-color: var(--cyan); color: var(--black); }
.faq__body { padding: 0 0 24px; color: var(--ink-2); font-size: 15.5px; max-width: 70ch; }

/* ---------- CTA ---------- */
.cta {
  position: relative;
  background: var(--black);
  color: var(--white);
  border-radius: 28px;
  padding: clamp(48px, 6vw, 84px);
  overflow: hidden;
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center;
}
@media (max-width: 860px) { .cta { grid-template-columns: 1fr; } }
.cta::before {
  content: "";
  position: absolute; right: -120px; top: -120px;
  width: 420px; height: 420px; border-radius: 999px;
  background: radial-gradient(circle, rgba(0, 180, 216, 0.4), transparent 65%);
}
.cta h2 { margin-bottom: 16px; }
.cta p { color: rgba(255, 255, 255, 0.72); max-width: 54ch; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: flex-end; }
@media (max-width: 860px) { .cta__actions { justify-content: flex-start; } }

/* ---------- Footer ---------- */
.footer { background: var(--black); color: rgba(255, 255, 255, 0.72); padding: 72px 0 32px; border-top: 1px solid var(--line-dark); }
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--line-dark);
}
@media (max-width: 960px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } }
.footer__brand p { font-size: 14.5px; max-width: 38ch; margin-top: 18px; }
.footer__brand .logo svg text { fill: var(--white); }
.footer h4 { color: var(--white); font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 18px; }
.footer li { margin-bottom: 10px; }
.footer li a { font-size: 14.5px; transition: color 0.25s; }
.footer li a:hover { color: var(--cyan); }
.footer__bottom {
  display: flex; flex-wrap: wrap; gap: 12px 28px;
  justify-content: space-between; align-items: center;
  padding-top: 26px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}
.footer__social { display: flex; gap: 10px; }
.footer__social a {
  width: 38px; height: 38px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  display: grid; place-items: center;
  transition: all 0.25s;
}
.footer__social a:hover { background: var(--cyan); border-color: var(--cyan); color: var(--black); }
.footer__social svg { width: 16px; height: 16px; }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }
.reveal[data-delay="4"] { transition-delay: 0.32s; }
.reveal[data-delay="5"] { transition-delay: 0.4s; }
.reveal[data-delay="6"] { transition-delay: 0.48s; }
.reveal[data-delay="7"] { transition-delay: 0.56s; }
.reveal[data-delay="8"] { transition-delay: 0.64s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Back to top ---------- */
.to-top {
  position: fixed; right: 22px; bottom: 22px;
  width: 46px; height: 46px; border-radius: 999px;
  background: var(--black); color: var(--white);
  border: 0; display: grid; place-items: center;
  box-shadow: var(--shadow-lg);
  opacity: 0; transform: translateY(12px); pointer-events: none;
  transition: opacity 0.3s, transform 0.3s var(--ease), background 0.3s;
  z-index: 90;
}
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--cyan); color: var(--black); }
.to-top svg { width: 18px; height: 18px; }

/* ---------- Skip link ---------- */
.skip { position: absolute; left: -999px; top: 8px; background: var(--cyan); color: var(--black); padding: 10px 14px; border-radius: 8px; font-weight: 700; z-index: 200; }
.skip:focus { left: 8px; }

/* ==========================================================================
   Inner pages — shared
   ========================================================================== */
.hero--page { padding: 160px 0 80px; }
@media (max-width: 960px) { .hero--page { padding-top: 120px; } }
.hero__frame--tall { transform: perspective(1200px) rotateY(-5deg) rotateX(1deg); }
.hero__frame--tall img { aspect-ratio: 8 / 7; object-fit: cover; }

.crumbs { display: flex; gap: 10px; font-size: 13px; font-weight: 600; color: rgba(255,255,255,.55); margin-bottom: 26px; }
.crumbs a:hover { color: var(--cyan); }
.crumbs [aria-current] { color: var(--white); }

/* ---------- Our Goal: mission ---------- */
.mission { max-width: 1040px; }
.mission .h-1 { max-width: 20ch; }
.mission__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 36px; font-size: 1.05rem; line-height: 1.75; color: var(--ink-2); }
.mission__cols p:first-child { position: relative; padding-left: 24px; }
.mission__cols p:first-child::before { content: ""; position: absolute; left: 0; top: 6px; bottom: 6px; width: 3px; background: var(--cyan); border-radius: 2px; }
@media (max-width: 860px) { .mission__cols { grid-template-columns: 1fr; gap: 24px; } }

/* ---------- Our Goal: shift ---------- */
.shift { display: grid; grid-template-columns: 1fr 72px 1fr; gap: 24px; align-items: stretch; }
@media (max-width: 900px) { .shift { grid-template-columns: 1fr; } .shift__arrow { transform: rotate(90deg); justify-self: center; } }
.shift__col { border-radius: 20px; padding: 36px 34px; }
.shift__col--old { background: var(--white); border: 1px solid var(--line); color: var(--ink-2); }
.shift__col--new { background: var(--black); color: var(--white); position: relative; overflow: hidden; }
.shift__col--new::after { content: ""; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 999px; background: radial-gradient(circle, rgba(0,180,216,.4), transparent 65%); }
.shift__label { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 22px; color: var(--ink-3); }
.shift__col--new .shift__label { color: var(--cyan); }
.shift__col li { position: relative; padding: 12px 0 12px 30px; border-bottom: 1px solid var(--line); font-size: 15.5px; }
.shift__col--new li { border-color: rgba(255,255,255,.1); }
.shift__col li:last-child { border-bottom: 0; }
.shift__col li::before { content: ""; position: absolute; left: 0; top: 20px; width: 14px; height: 14px; border-radius: 999px; border: 2px solid currentColor; opacity: .4; }
.shift__col--new li::before { background: var(--cyan); border-color: var(--cyan); opacity: 1; }
.shift__arrow { display: grid; place-items: center; }
.shift__arrow .ico { width: 56px; height: 56px; color: var(--cyan); }

/* ---------- Our Goal: dimensions ---------- */
.dims { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; position: relative; }
@media (max-width: 960px) { .dims { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .dims { grid-template-columns: 1fr; } }
.dim { padding: 30px 28px; border-radius: 18px; border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.03); transition: border-color .3s, transform .3s var(--ease), background .3s; }
.dim:hover { border-color: var(--cyan); transform: translateY(-5px); background: rgba(0,180,216,.06); }
.dim i { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--white); color: var(--black); font-size: 28px; margin-bottom: 20px; }
.dim h3 { font-size: 1.15rem; font-weight: 800; margin-bottom: 8px; }
.dim p { font-size: 14.5px; color: rgba(255,255,255,.7); }

/* ---------- Our Goal: journey ---------- */
.journey-media { margin: 0 0 56px; }
.journey-media img { border-radius: 22px; box-shadow: var(--shadow-lg); }
.journey-media figcaption { font-size: 13px; margin-top: 14px; text-align: center; }
.journey, .roadmap { list-style: none; margin: 0; padding: 0; }
.journey { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; counter-reset: j; position: relative; }
.journey::before { content: ""; position: absolute; left: 0; right: 0; top: 11px; height: 2px; background: var(--line); }
@media (max-width: 1000px) { .journey { grid-template-columns: 1fr; gap: 0; } .journey::before { left: 11px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; } }
.journey li { position: relative; padding: 36px 22px 0 0; counter-increment: j; }
.journey li::before { content: ""; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 999px; background: var(--white); border: 3px solid var(--cyan); box-shadow: 0 0 0 5px var(--cyan-soft); }
@media (max-width: 1000px) { .journey li { padding: 0 0 36px 40px; } .journey li::before { left: 3px; top: 0; } }
.journey__stage { display: block; font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--cyan-dark); margin-bottom: 8px; }
.journey b { display: block; font-size: 1.05rem; letter-spacing: -.01em; margin-bottom: 8px; }
.journey p { font-size: 14px; color: var(--ink-2); }

/* ---------- Our Goal: stats ---------- */
.goal-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-self: center; }
@media (max-width: 520px) { .goal-stats { grid-template-columns: 1fr; } }
.goal-stat { background: var(--black); color: var(--white); border-radius: 20px; padding: 34px 28px; position: relative; overflow: hidden; }
.goal-stat:nth-child(2), .goal-stat:nth-child(3) { background: var(--white); color: var(--black); border: 1px solid var(--line); }
.goal-stat b { display: block; font-size: clamp(2.2rem, 3.4vw, 3rem); font-weight: 800; letter-spacing: -.035em; line-height: 1; margin-bottom: 10px; color: var(--cyan); }
.goal-stat:nth-child(2) b, .goal-stat:nth-child(3) b { color: var(--black); }
.goal-stat p { font-size: 14px; opacity: .75; }

/* ---------- Our Goal: roadmap ---------- */
.roadmap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; position: relative; }
@media (max-width: 1000px) { .roadmap { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .roadmap { grid-template-columns: 1fr; } }
.roadmap__item { position: relative; padding: 32px 28px; border-radius: 20px; border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.03); }
.roadmap__item::before { content: ""; position: absolute; left: 28px; right: 28px; top: 0; height: 3px; border-radius: 0 0 3px 3px; background: rgba(255,255,255,.14); }
.roadmap__item.is-done::before { background: var(--white); }
.roadmap__item.is-now::before { background: var(--cyan); box-shadow: 0 0 18px var(--cyan-glow); }
.roadmap__item.is-now { border-color: var(--cyan); background: rgba(0,180,216,.08); }
.roadmap__phase { display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.55); margin-bottom: 18px; }
.roadmap__item.is-now .roadmap__phase { color: var(--cyan); }
.roadmap__item h3 { font-size: 1.15rem; font-weight: 800; margin-bottom: 10px; }
.roadmap__item p { font-size: 14.5px; color: rgba(255,255,255,.7); }

/* ---------- Our Goal: principles ---------- */
.principles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media (max-width: 800px) { .principles { grid-template-columns: 1fr; } }
.principle { display: grid; grid-template-columns: 56px 1fr; gap: 22px; padding: 30px; border-radius: 20px; border: 1px solid var(--line); background: var(--white); transition: transform .3s var(--ease), box-shadow .3s; }
.principle:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.principle i { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--black); color: var(--white); font-size: 30px; }
.principle h3 { font-size: 1.1rem; font-weight: 800; margin-bottom: 8px; grid-column: 2; }
.principle p { font-size: 14.5px; color: var(--ink-2); grid-column: 2; }
.principle i { grid-row: 1 / span 2; }

/* ==========================================================================
   Portfolio page
   ========================================================================== */
.hero--portfolio .crumbs { margin-bottom: 10px; }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-row span { font-size: 11.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 6px 11px; border-radius: 999px; background: var(--paper-2, #eef0f2); color: var(--ink-2); }
.tag-row span.is-cyan { background: var(--cyan); color: var(--black); }
.case--dark .tag-row span { background: rgba(255,255,255,.1); color: rgba(255,255,255,.85); }
.case--dark .tag-row span.is-cyan { background: var(--cyan); color: var(--black); }

/* index */
.case-index { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 960px) { .case-index { grid-template-columns: 1fr; } }
.case-index__item { position: relative; display: block; background: var(--white); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s; }
.case-index__item:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.case-index__item img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.case-index__item > div { padding: 22px 24px 26px; }
.case-index__item h3 { font-size: 1.2rem; font-weight: 800; margin: 12px 0 6px; letter-spacing: -.01em; }
.case-index__item p { font-size: 14.5px; color: var(--ink-2); }
.case-index__num { position: absolute; top: 16px; left: 16px; z-index: 2; font-size: 12px; font-weight: 800; letter-spacing: .12em; padding: 6px 10px; border-radius: 8px; background: var(--black); color: var(--white); }

/* case study article */
.case { padding: 110px 0 0; background: var(--white); }
.case--dark { background: var(--black); color: var(--white); }
.case__head .container { max-width: 1100px; }
.case__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-bottom: 26px; }
.case__num { font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--cyan-dark); }
.case--dark .case__num { color: var(--cyan); }
.case__head .h-display { font-size: clamp(2.4rem, 5vw, 4.2rem); max-width: 18ch; }
.case__head .lead { margin-top: 22px; max-width: 70ch; }
.case--dark .lead { color: rgba(255,255,255,.72); }
.case__facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--line); }
.case--dark .case__facts { border-color: rgba(255,255,255,.12); }
@media (max-width: 860px) { .case__facts { grid-template-columns: repeat(2, 1fr); } }
.case__facts li { display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.case__facts b { font-size: 11.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.case--dark .case__facts b { color: rgba(255,255,255,.5); }
.case__facts a { color: var(--cyan-dark); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.case--dark .case__facts a { color: var(--cyan); }

.case__media { margin: 64px auto 0; max-width: 1360px; padding: 0 24px; }
.case__media img { width: 100%; border-radius: 24px; box-shadow: var(--shadow-lg); }
.case__media--contain img { box-shadow: none; border: 1px solid var(--line); }
.case--dark .case__media--contain img { border-color: rgba(255,255,255,.1); }
.case__media figcaption { font-size: 13px; color: var(--ink-3); margin-top: 16px; text-align: center; }
.case--dark .case__media figcaption { color: rgba(255,255,255,.5); }
.case__media + .container, .case__media:last-child { padding-bottom: 110px; }

.case__body { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(300px, 1fr); gap: 64px; padding-top: 80px; align-items: start; }
@media (max-width: 960px) { .case__body { grid-template-columns: 1fr; gap: 40px; } }
.case__text h3 { font-size: 1.5rem; font-weight: 800; letter-spacing: -.02em; margin: 44px 0 16px; }
.case__text h3:first-child { margin-top: 0; }
.case__text p { font-size: 1.02rem; line-height: 1.75; color: var(--ink-2); margin-bottom: 16px; }
.case--dark .case__text p { color: rgba(255,255,255,.74); }
.case__text strong { color: inherit; font-weight: 800; }
.case--dark .case__text strong { color: var(--white); }
.case__results { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 8px; }
@media (max-width: 600px) { .case__results { grid-template-columns: 1fr; } }
.case__results li { padding: 20px 22px; border-radius: 16px; background: var(--paper); font-size: 14.5px; color: var(--ink-2); line-height: 1.5; }
.case--dark .case__results li { background: rgba(255,255,255,.06); color: rgba(255,255,255,.78); }
.case__results b { display: block; font-size: 1.6rem; font-weight: 800; letter-spacing: -.03em; color: var(--black); margin-bottom: 4px; }
.case--dark .case__results b { color: var(--cyan); }

.case__side { display: grid; gap: 18px; position: sticky; top: 100px; }
.case__card { padding: 26px 26px 28px; border-radius: 20px; border: 1px solid var(--line); background: var(--white); }
.case__card h4 { font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 16px; }
.case__card--dark { background: var(--black); color: var(--white); border-color: var(--black); }
.case__card--dark h4 { color: var(--cyan); }
.case--dark .case__card { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.12); color: var(--white); }
.case--dark .case__card h4 { color: rgba(255,255,255,.55); }
.case--dark .case__card--dark { background: var(--cyan); border-color: var(--cyan); color: var(--black); }
.case--dark .case__card--dark h4 { color: rgba(0,0,0,.6); }
.case--dark .case__card--dark .check-list li::before { background: var(--black); }
.chip-list { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-list li { font-size: 13px; font-weight: 600; padding: 7px 12px; border-radius: 999px; background: var(--paper); color: var(--ink-2); }
.case--dark .chip-list li { background: rgba(255,255,255,.08); color: rgba(255,255,255,.85); }
.check-list li { position: relative; padding: 9px 0 9px 26px; font-size: 14.5px; border-bottom: 1px solid rgba(127,127,127,.15); }
.check-list li:last-child { border-bottom: 0; }
.check-list li::before { content: ""; position: absolute; left: 0; top: 15px; width: 12px; height: 12px; border-radius: 999px; background: var(--cyan); }
.dims--light .dim { background: var(--white); border-color: var(--line); color: var(--black); }
.dims--light .dim p { color: var(--ink-2); }
.dims--light .dim i { background: var(--black); color: var(--white); }
.dims--light .dim:hover { background: var(--white); }

/* ==========================================================================
   Services page
   ========================================================================== */
.subnav { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.92); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.subnav__inner { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-top: 10px; padding-bottom: 10px; }
.subnav__inner::-webkit-scrollbar { display: none; }
.subnav a { flex: 0 0 auto; font-size: 13.5px; font-weight: 700; padding: 9px 14px; border-radius: 999px; color: var(--ink-2); white-space: nowrap; transition: background .2s, color .2s; }
.subnav a:hover, .subnav a.is-active { background: var(--black); color: var(--white); }

.svc { padding: 100px 0; background: var(--white); scroll-margin-top: 70px; }
.svc--paper { background: var(--paper); }
.svc--dark { background: var(--black); color: var(--white); }
.svc__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.svc__grid--flip .svc__text { order: 2; }
.svc__grid--single { grid-template-columns: minmax(0, 900px); }
@media (max-width: 960px) { .svc { padding: 72px 0; } .svc__grid { grid-template-columns: 1fr; gap: 36px; } .svc__grid--flip .svc__text { order: 0; } }
.svc__head { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; }
.svc__num { font-size: 13px; font-weight: 800; letter-spacing: .14em; color: var(--cyan-dark); }
.svc--dark .svc__num { color: var(--cyan); }
.svc__icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--black); color: var(--white); font-size: 28px; }
.svc--dark .svc__icon { background: var(--cyan); color: var(--black); }
.svc__text .lead { margin: 18px 0 16px; }
.svc--dark .lead, .svc--dark .svc__text > p { color: rgba(255,255,255,.72); }
.svc__text > p { color: var(--ink-2); line-height: 1.75; margin-bottom: 16px; }
.svc__text a:not(.link-arrow) { color: var(--cyan-dark); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.svc--dark .svc__text a:not(.link-arrow) { color: var(--cyan); }
.svc__list { margin: 22px 0 28px; display: grid; gap: 10px; }
.svc__list--cols { grid-template-columns: 1fr 1fr; gap: 10px 28px; }
@media (max-width: 640px) { .svc__list--cols { grid-template-columns: 1fr; } }
.svc__list li { position: relative; padding-left: 28px; font-size: 15px; color: var(--ink-2); line-height: 1.5; }
.svc--dark .svc__list li { color: rgba(255,255,255,.8); }
.svc__list li::before { content: ""; position: absolute; left: 0; top: 6px; width: 14px; height: 14px; border-radius: 999px; background: var(--cyan); mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><circle cx="12" cy="12" r="12"/></svg>'); }
.svc__media img { border-radius: 22px; box-shadow: var(--shadow-lg); }

.models { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .models { grid-template-columns: 1fr; } }
.model { padding: 32px 30px 34px; border-radius: 20px; border: 1px solid var(--line); background: var(--white); }
.model.is-featured { background: var(--black); color: var(--white); border-color: var(--black); }
.model__tag { display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; padding: 6px 10px; border-radius: 8px; background: var(--paper); color: var(--ink-2); margin-bottom: 18px; }
.model.is-featured .model__tag { background: var(--cyan); color: var(--black); }
.model h3 { font-size: 1.3rem; font-weight: 800; margin-bottom: 10px; }
.model p { font-size: 14.5px; color: var(--ink-2); }
.model.is-featured p { color: rgba(255,255,255,.75); }

.tech { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 900px) { .tech { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .tech { grid-template-columns: 1fr; } }
.tech__group { padding: 26px; border-radius: 18px; border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.03); }
.tech__group h4 { font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--cyan); margin-bottom: 14px; }
.tech__group li { font-size: 15px; padding: 7px 0; border-bottom: 1px solid rgba(255,255,255,.08); color: rgba(255,255,255,.85); }
.tech__group li:last-child { border-bottom: 0; }

/* ==========================================================================
   Contact page
   ========================================================================== */
.hero--compact { padding-bottom: 70px; }
.hero--compact .h-display { max-width: 16ch; }
.hero--compact .lead { max-width: 62ch; }
.contact { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(300px, 1fr); gap: 56px; align-items: start; }
@media (max-width: 960px) { .contact { grid-template-columns: 1fr; gap: 36px; } }
.contact__form { background: var(--white); border: 1px solid var(--line); border-radius: 24px; padding: 40px; }
@media (max-width: 600px) { .contact__form { padding: 26px 20px; } }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .form__row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.field span { font-size: 13px; font-weight: 700; color: var(--ink-2); }
.field input, .field select, .field textarea { font: inherit; font-size: 15px; padding: 13px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--paper); color: var(--black); transition: border-color .2s, background .2s, box-shadow .2s; width: 100%; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--cyan); background: var(--white); box-shadow: 0 0 0 4px var(--cyan-soft); }
.field textarea { resize: vertical; min-height: 140px; }
.field input:user-invalid, .field select:user-invalid, .field textarea:user-invalid { border-color: #e5484d; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 8px; }
.consent { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--ink-2); }
.consent input { width: 18px; height: 18px; accent-color: var(--cyan); }
.form__status { margin-top: 16px; font-size: 14px; font-weight: 600; min-height: 1.4em; }
.form__status.is-ok { color: #178a5a; }
.form__status.is-err { color: #e5484d; }
.contact__side { display: grid; gap: 18px; }
.contact__card { padding: 26px 28px; border-radius: 20px; border: 1px solid var(--line); background: var(--white); }
.contact__card h3 { font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 14px; }
.contact__card p { font-size: 15px; line-height: 1.6; color: var(--ink-2); }
.contact__card--dark { background: var(--black); color: var(--white); border-color: var(--black); }
.contact__card--dark h3 { color: var(--cyan); }
.contact__list li { display: flex; flex-direction: column; gap: 2px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.contact__list li:last-child { border-bottom: 0; }
.contact__list b { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.contact__list a { font-size: 15.5px; font-weight: 700; color: var(--black); }
.contact__list a:hover { color: var(--cyan-dark); }
.contact__steps { list-style: none; counter-reset: s; display: grid; gap: 14px; }
.contact__steps li { position: relative; padding-left: 40px; font-size: 14.5px; line-height: 1.55; color: rgba(255,255,255,.75); counter-increment: s; }
.contact__steps li::before { content: counter(s, decimal-leading-zero); position: absolute; left: 0; top: 1px; font-size: 12px; font-weight: 800; color: var(--cyan); letter-spacing: .06em; }
.contact__steps b { color: var(--white); }
.contact__visual img { border-radius: 20px; }
.reach { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .reach { grid-template-columns: 1fr; } }
.reach__item { display: flex; flex-direction: column; gap: 10px; padding: 30px; border-radius: 20px; border: 1px solid var(--line); background: var(--white); transition: transform .3s var(--ease), box-shadow .3s; }
.reach__item:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.reach__item i { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--black); color: var(--white); font-size: 28px; margin-bottom: 6px; }
.reach__item h3 { font-size: 1.15rem; font-weight: 800; }
.reach__item p { font-size: 14.5px; color: var(--ink-2); flex: 1; }
.reach__item .link-arrow { margin-top: 6px; }

/* ==========================================================================
   Careers page
   ========================================================================== */
.benefits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; list-style: none; }
@media (max-width: 960px) { .benefits { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .benefits { grid-template-columns: 1fr; } }
.benefits li { position: relative; padding: 20px 20px 20px 48px; border-radius: 16px; border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.03); font-size: 15px; font-weight: 600; }
.benefits li::before { content: ""; position: absolute; left: 20px; top: 24px; width: 14px; height: 14px; border-radius: 999px; background: var(--cyan); }
.jobs { display: grid; gap: 14px; }
.job { border: 1px solid var(--line); border-radius: 20px; background: var(--white); overflow: hidden; }
.job summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 26px 28px; }
.job summary::-webkit-details-marker { display: none; }
.job h3 { font-size: 1.25rem; font-weight: 800; letter-spacing: -.01em; }
.job__meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.job__meta span { font-size: 12px; font-weight: 700; padding: 5px 10px; border-radius: 999px; background: var(--paper); color: var(--ink-2); }
.job summary i { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; border: 1.5px solid var(--line); font-size: 22px; transition: transform .3s var(--ease), background .3s, color .3s, border-color .3s; }
.job[open] summary i { transform: rotate(90deg); background: var(--black); color: var(--white); border-color: var(--black); }
.job__body { padding: 0 28px 30px; max-width: 72ch; }
.job__body > p { color: var(--ink-2); line-height: 1.7; margin-bottom: 14px; }
.job__body a:not(.btn) { color: var(--cyan-dark); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.job__body h4 { font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin: 20px 0 10px; }
.job__body ul { display: grid; gap: 8px; margin-bottom: 8px; }
.job__body ul li { position: relative; padding-left: 22px; font-size: 15px; color: var(--ink-2); line-height: 1.55; }
.job__body ul li::before { content: ""; position: absolute; left: 0; top: 9px; width: 10px; height: 10px; border-radius: 999px; background: var(--cyan); }
.job__body .btn { margin-top: 22px; }
.hire { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: h; }
@media (max-width: 960px) { .hire { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .hire { grid-template-columns: 1fr; } }
.hire li { padding: 30px 28px; border-radius: 20px; border: 1px solid var(--line); background: var(--white); }
.hire b { display: block; font-size: 13px; font-weight: 800; letter-spacing: .14em; color: var(--cyan-dark); margin-bottom: 14px; }
.hire h3 { font-size: 1.15rem; font-weight: 800; margin-bottom: 8px; }
.hire p { font-size: 14.5px; color: var(--ink-2); }

.footer__contact { margin-top: 18px; display: grid; gap: 6px; font-size: 13.5px; color: rgba(255,255,255,.6); }
.footer__contact a { color: rgba(255,255,255,.85); font-weight: 600; }
.footer__contact a:hover { color: var(--cyan); }

/* ==========================================================================
   About page
   ========================================================================== */
.story { position: relative; display: grid; gap: 28px; max-width: 980px; margin-top: 56px; padding-left: 40px; }
.story::before { content: ""; position: absolute; left: 11px; top: 10px; bottom: 10px; width: 2px; background: linear-gradient(var(--cyan), var(--line)); }
.story__block { position: relative; padding: 34px 36px; border-radius: 22px; border: 1px solid var(--line); background: var(--white); }
.story__block::before { content: ""; position: absolute; left: -36px; top: 40px; width: 16px; height: 16px; border-radius: 999px; background: var(--cyan); box-shadow: 0 0 0 5px var(--white), 0 0 0 7px var(--cyan-soft); }
.story__year { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--cyan-dark); margin-bottom: 12px; }
.story__block h3 { font-size: 1.45rem; font-weight: 800; letter-spacing: -.015em; margin-bottom: 14px; }
.story__block p { color: var(--ink-2); line-height: 1.8; font-size: 16px; }
.story__block p + p { margin-top: 14px; }
.story__block a { color: var(--cyan-dark); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 640px) { .story { padding-left: 26px; } .story::before { left: 5px; } .story__block { padding: 26px 22px; } .story__block::before { left: -27px; width: 12px; height: 12px; } }

.people { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 48px; }
@media (max-width: 900px) { .people { grid-template-columns: 1fr; } }
.person { display: flex; gap: 24px; padding: 34px; border-radius: 22px; border: 1px solid var(--line); background: var(--white); }
.people--lead .person { background: var(--black); color: var(--white); border-color: var(--black); }
@media (max-width: 560px) { .person { flex-direction: column; } }
.person__avatar { flex: 0 0 auto; width: 84px; height: 84px; border-radius: 22px; display: grid; place-items: center; background: var(--cyan); color: var(--black); font-weight: 800; font-size: 26px; letter-spacing: -.02em; }
.people--lead .person__avatar { background: var(--cyan); }
.person--compact .person__avatar { width: 72px; height: 72px; font-size: 22px; background: var(--paper); color: var(--black); border: 1.5px solid var(--line); }
.person__role { font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--cyan-dark); margin-bottom: 8px; }
.people--lead .person__role { color: var(--cyan); }
.person h3 { font-size: 1.45rem; font-weight: 800; letter-spacing: -.015em; margin-bottom: 12px; }
.person__body > p:not(.person__role) { font-size: 15.5px; line-height: 1.75; color: var(--ink-2); }
.people--lead .person__body > p:not(.person__role) { color: rgba(255,255,255,.75); }
.person .link-arrow { margin-top: 16px; color: var(--cyan); }

.team-note { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; margin-top: 56px; padding: 36px; border-radius: 24px; background: var(--paper); border: 1px solid var(--line); }
@media (max-width: 900px) { .team-note { grid-template-columns: 1fr; gap: 28px; padding: 24px; } }
.team-note__img img { border-radius: 18px; box-shadow: var(--shadow-lg); }
.team-note h3 { margin: 10px 0 14px; }
.team-note p:not(.eyebrow) { color: var(--ink-2); line-height: 1.75; }
.team-note a { color: var(--cyan-dark); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

.where { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: start; }
@media (max-width: 900px) { .where { grid-template-columns: 1fr; gap: 32px; } }
.where__text .h-1 { margin: 10px 0 18px; }
.where__text > p { color: var(--ink-2); line-height: 1.75; max-width: 60ch; }
.where__list { margin-top: 24px; }
.where__list span { font-size: 15.5px; font-weight: 600; color: var(--black); }
.where__cards { display: grid; gap: 18px; }
