/* ==========================================================================
   Nilimpa Technologies
   ========================================================================== */

:root {
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: "SF Mono", ui-monospace, Menlo, Consolas, monospace;

  --text: #1d1d1f;
  --text-2: #6e6e73;
  --text-3: #86868b;
  --bg: #ffffff;
  --bg-alt: #f5f5f7;
  --line: #d2d2d7;
  --dark: #000000;
  --dark-tile: #161617;
  --dark-text: #f5f5f7;
  --dark-text-2: #a1a1a6;
  --blue: #0071e3;
  --blue-hover: #0077ed;
  --link: #0066cc;
  --link-dark: #2997ff;
  --danger: #e30000;

  --brand-1: #2997ff;
  --brand-2: #7a5cff;
  --brand-3: #ff5c8a;
  --brand-gradient: linear-gradient(90deg, var(--brand-1), var(--brand-2) 55%, var(--brand-3));
  --brand-gradient-diag: linear-gradient(135deg, var(--brand-1), var(--brand-2) 55%, var(--brand-3));

  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;

  --container: 1200px;
  --gutter: 22px;
  --nav-h: 52px;

  --ease: cubic-bezier(.28, .11, .32, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

/* ---------- Base ---------- */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
}

html.is-locked { overflow: hidden; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.47;
  letter-spacing: -0.022em;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4, p, dl, dd, figure { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
button { cursor: pointer; }

a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -100px;
  z-index: 1000;
  padding: 10px 16px;
  border-radius: 980px;
  background: var(--text);
  color: #fff;
}
.skip-link:focus { top: 8px; }

/* ---------- Layout ---------- */

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container--narrow { max-width: calc(1000px + var(--gutter) * 2); }

.section { padding-block: clamp(88px, 12vw, 160px); }
.section--alt { background: var(--bg-alt); }
.section--dark { background: var(--dark); color: var(--dark-text); }

.section-header { max-width: 860px; }
.section-header .lead { margin-top: 24px; max-width: 720px; }

/* ---------- Typography ---------- */

.eyebrow {
  font-size: clamp(17px, 1.6vw, 21px);
  font-weight: 600;
  letter-spacing: .01em;
  color: var(--text-2);
  margin-bottom: 14px;
}
.section--dark .eyebrow { color: var(--dark-text-2); }

.headline {
  font-size: clamp(40px, 6vw, 80px);
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.headline--md { font-size: clamp(32px, 4.4vw, 56px); line-height: 1.07; }

.headline .muted { color: var(--text-3); }
.section--dark .headline .muted { color: #6e6e73; }

.lead {
  font-size: clamp(19px, 1.9vw, 24px);
  line-height: 1.38;
  letter-spacing: -.012em;
  font-weight: 500;
  color: var(--text-3);
  text-wrap: pretty;
}
.lead strong { color: var(--text); font-weight: 600; }

.gradient-text {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* ---------- Buttons & links ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 24px;
  border: 0;
  border-radius: 980px;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none !important;
  white-space: nowrap;
  transition: background-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.btn:active { transform: scale(.97); }

.btn--primary { background: var(--blue); color: #fff; }
.btn--primary:hover { background: var(--blue-hover); }

.btn--small { min-height: 30px; padding: 6px 14px; font-size: 13px; }
.btn--block { width: 100%; min-height: 52px; font-size: 17px; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  font-size: 17px;
  color: var(--link);
}
.link-arrow::after {
  content: "";
  width: .5em;
  height: .8em;
  margin-left: .35em;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 14'%3E%3Cpath d='M1 1l6 6-6 6' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 14'%3E%3Cpath d='M1 1l6 6-6 6' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform .3s var(--ease);
}
.link-arrow:hover::after { transform: translateX(3px); }

/* ---------- Global navigation ---------- */

.globalnav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
}

/* The blur lives on a pseudo-element so the mobile menu's position: fixed
   is relative to the viewport rather than to the nav bar. */
.globalnav::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(251, 251, 253, .8);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  transition: box-shadow .3s var(--ease), background-color .3s var(--ease);
}
.globalnav.is-scrolled::before { box-shadow: 0 1px 0 rgba(0, 0, 0, .08); }

/* Over dark sections the bar switches to a dark material (toggled in main.js). */
.globalnav--dark::before { background: rgba(22, 22, 23, .8); }
.globalnav--dark.is-scrolled::before { box-shadow: 0 1px 0 rgba(255, 255, 255, .06); }
.globalnav--dark .globalnav__logo { color: var(--dark-text); }
.globalnav--dark .globalnav__logo-sub { color: var(--dark-text-2); }
.globalnav--dark .globalnav__links a { color: rgba(255, 255, 255, .72); }
.globalnav--dark .globalnav__links a:hover,
.globalnav--dark .globalnav__links a.is-active { color: #fff; }
.globalnav--dark .globalnav__toggle span { background: var(--dark-text); }
.globalnav__logo,
.globalnav__logo-sub,
.globalnav__toggle span { transition: color .3s var(--ease), background-color .3s var(--ease), transform .35s var(--ease); }

.globalnav__inner {
  height: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.globalnav__logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -.02em;
  text-decoration: none !important;
}
.globalnav__logo img { width: 28px; height: 28px; }
.globalnav__logo-sub { font-weight: 400; color: var(--text-2); }

.globalnav__menu { display: flex; align-items: center; gap: 36px; }
.globalnav__links { display: flex; gap: 32px; }
.globalnav__links a {
  font-size: 14px;
  color: rgba(0, 0, 0, .72);
  text-decoration: none;
  transition: color .2s var(--ease);
}
.globalnav__links a:hover,
.globalnav__links a.is-active { color: var(--text); }

.globalnav__toggle {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  margin-right: -12px;
  border: 0;
  background: none;
}
.globalnav__toggle span {
  position: absolute;
  left: 13px;
  width: 18px;
  height: 1.5px;
  border-radius: 2px;
  background: var(--text);
  transition: transform .35s var(--ease);
}
.globalnav__toggle span:first-child { transform: translateY(-3.5px); }
.globalnav__toggle span:last-child { transform: translateY(3.5px); }
.globalnav.is-open .globalnav__toggle span:first-child { transform: rotate(45deg); }
.globalnav.is-open .globalnav__toggle span:last-child { transform: rotate(-45deg); }

@media (max-width: 833px) {
  .globalnav__toggle { display: block; }
  .globalnav.is-open::before { background: rgba(251, 251, 253, .98); box-shadow: none; }

  .globalnav__menu {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    height: calc(100vh - var(--nav-h));
    height: calc(100dvh - var(--nav-h));
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
    padding: 20px 44px 40px;
    background: rgba(251, 251, 253, .98);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    backdrop-filter: saturate(180%) blur(20px);
    overflow-y: auto;
    visibility: hidden;
    opacity: 0;
    transition: opacity .3s var(--ease), visibility 0s linear .3s;
  }
  .globalnav.is-open .globalnav__menu {
    visibility: visible;
    opacity: 1;
    transition: opacity .3s var(--ease);
  }

  .globalnav__links { flex-direction: column; gap: 6px; }
  .globalnav__links li {
    opacity: 0;
    transform: translateY(-6px);
    transition: opacity .3s var(--ease), transform .3s var(--ease);
  }
  .globalnav.is-open .globalnav__links li {
    opacity: 1;
    transform: none;
    transition-delay: calc(var(--i) * 40ms + 60ms);
  }
  .globalnav__links a { font-size: 28px; font-weight: 600; line-height: 1.5; color: var(--text); }
  .globalnav__cta { min-height: 44px; padding: 11px 24px; font-size: 17px; }
}

@media (max-width: 420px) {
  .globalnav__logo-sub { display: none; }
}

/* ---------- Reveal on scroll ---------- */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 1s var(--ease-out) var(--delay, 0s),
    transform 1s var(--ease-out) var(--delay, 0s);
}
.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding-top: clamp(64px, 9vw, 120px);
  padding-bottom: clamp(48px, 7vw, 100px);
  text-align: center;
}

.hero__eyebrow {
  font-size: clamp(19px, 2vw, 24px);
  font-weight: 600;
  letter-spacing: -.01em;
  margin-bottom: 10px;
}

.hero__title {
  font-size: clamp(48px, 9vw, 112px);
  line-height: 1.02;
  font-weight: 700;
  letter-spacing: -0.045em;
}

.hero__subtitle {
  max-width: 680px;
  margin: 24px auto 0;
  font-size: clamp(19px, 2vw, 24px);
  line-height: 1.38;
  font-weight: 500;
  letter-spacing: -.012em;
  color: var(--text-2);
  text-wrap: balance;
}

.hero__ctas {
  margin-top: 36px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px 32px;
}

[data-hero-anim] { animation: hero-in 1.2s var(--ease-out) var(--delay, 0s) both; }

@keyframes hero-in {
  from { opacity: 0; transform: translateY(30px); }
}

.hero__stage {
  position: relative;
  isolation: isolate;
  width: 100%;
  max-width: calc(1040px + var(--gutter) * 2);
  margin: clamp(56px, 8vw, 96px) auto 0;
  padding-inline: var(--gutter);
  perspective: 2000px;
}

.hero__glow {
  position: absolute;
  z-index: -1;
  left: 50%;
  top: 8%;
  width: 115%;
  height: 90%;
  translate: -50% 0;
  background:
    radial-gradient(38% 50% at 28% 55%, rgba(41, 151, 255, .45), transparent 70%),
    radial-gradient(34% 46% at 52% 40%, rgba(122, 92, 255, .4), transparent 70%),
    radial-gradient(36% 50% at 74% 58%, rgba(255, 92, 138, .38), transparent 70%);
  filter: blur(50px);
  opacity: .55;
  pointer-events: none;
}

/* --p (0 → 1) is driven by scroll in main.js: the devices start tilted back and settle flat. */
.hero__devices {
  position: relative;
  transform-origin: 50% 100%;
  transform:
    rotateX(calc((1 - var(--p, 1)) * 22deg))
    scale(calc(.9 + var(--p, 1) * .1));
  will-change: transform;
}

/* Laptop */
.laptop { width: 84%; margin-left: 3%; }

.laptop__screen {
  padding: 1.5%;
  border-radius: 2.4% / 3.8%;
  background: #0d0d0f;
  box-shadow:
    inset 0 0 0 1.5px #2c2c2f,
    0 50px 100px -30px rgba(15, 20, 60, .45);
}

.laptop__display {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 1.2% / 1.9%;
  background: #fbfbfd;
  container-type: inline-size;
}

.laptop__base {
  position: relative;
  width: 116%;
  margin-left: -8%;
  height: 0;
  padding-bottom: 2.4%;
  border-radius: 0 0 50% 50% / 0 0 100% 100%;
  background: linear-gradient(#e6e7ea, #b9bac0 70%, #8e8f95);
}
.laptop__base::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 13%;
  height: 40%;
  translate: -50% 0;
  border-radius: 0 0 12px 12px;
  background: #a9aab0;
}

/* Laptop screen content (sized with container query units so it scales as one image) */
.mock-app {
  display: grid;
  grid-template-columns: 15% 1fr;
  height: 100%;
  text-align: left;
  letter-spacing: -.01em;
}

.mock-app__side {
  display: flex;
  flex-direction: column;
  gap: 1.5cqw;
  padding: 2.4cqw 1.8cqw;
  background: #f2f2f6;
  border-right: 1px solid #e5e5ea;
}
.mock-logo {
  width: 3.4cqw;
  aspect-ratio: 1;
  margin-bottom: 1.4cqw;
  border-radius: .9cqw;
  background: var(--brand-gradient-diag);
}
.mock-nav { height: 1.1cqw; width: 78%; border-radius: 1cqw; background: #dcdce2; }
.mock-nav:nth-child(odd) { width: 60%; }
.mock-nav.is-active { width: 90%; background: rgba(0, 113, 227, .75); }

.mock-app__main {
  display: flex;
  flex-direction: column;
  gap: 2cqw;
  min-width: 0;
  padding: 2.4cqw 2.8cqw;
}
.mock-app__top { display: flex; align-items: center; justify-content: space-between; }

.mock-label { font-size: 1.15cqw; font-weight: 500; color: var(--text-3); }
.mock-heading { font-size: 2.4cqw; font-weight: 700; letter-spacing: -.03em; line-height: 1.15; }
.mock-avatar {
  width: 3.4cqw;
  aspect-ratio: 1;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffd36e, #ff7a59);
}

.mock-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6cqw; }
.mock-kpi, .mock-card {
  border-radius: 1.4cqw;
  padding: 1.6cqw;
  background: #fff;
  box-shadow: 0 .15cqw .8cqw rgba(0, 0, 0, .06);
}
.mock-value { margin-top: .4cqw; font-size: 2.6cqw; font-weight: 700; letter-spacing: -.03em; }
.mock-delta { margin-top: .2cqw; font-size: 1.05cqw; font-weight: 600; color: #1f9d55; }
.mock-delta--muted { color: var(--text-3); font-weight: 500; }

.mock-grid {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 1.6cqw;
}
.mock-card { display: flex; flex-direction: column; gap: 1.3cqw; min-height: 0; }
.mock-chart { flex: 1; width: 100%; min-height: 0; }

.mock-row { display: flex; align-items: center; gap: 1cqw; }
.mock-dot { width: 1.2cqw; aspect-ratio: 1; border-radius: 50%; background: var(--c); }
.mock-mono { flex: 1; font-family: var(--mono); font-size: 1.1cqw; color: var(--text-2); }
.mock-pill {
  padding: .3cqw .9cqw;
  border-radius: 1cqw;
  font-size: .95cqw;
  font-weight: 600;
  color: #1f9d55;
  background: #e6f6ec;
}
.mock-pill--blue { color: var(--blue); background: #e5f0fd; }

/* Phone */
.phone {
  position: absolute;
  right: 3%;
  bottom: -2%;
  width: 20%;
  aspect-ratio: 9 / 19.5;
  padding: .6%;
  border-radius: 15% / 7%;
  background: #0d0d0f;
  box-shadow:
    inset 0 0 0 1.5px #3a3a3d,
    0 40px 80px -24px rgba(15, 20, 60, .5);
  container-type: inline-size;
}

.phone__display {
  position: relative;
  height: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 4cqw;
  padding: 18cqw 7cqw 6cqw;
  border-radius: 13% / 6%;
  background: #fbfbfd;
  text-align: left;
  letter-spacing: -.01em;
}

.phone__island {
  position: absolute;
  top: 4cqw;
  left: 50%;
  width: 30cqw;
  height: 8.5cqw;
  translate: -50% 0;
  border-radius: 10cqw;
  background: #000;
}
.phone__label { font-size: 5.2cqw; font-weight: 600; color: var(--text-3); }
.phone__heading { margin-top: -3cqw; font-size: 9.5cqw; font-weight: 700; letter-spacing: -.03em; line-height: 1.1; }

.phone__card {
  padding: 6cqw;
  border-radius: 7cqw;
  color: #fff;
  background: var(--brand-gradient-diag);
}
.phone__card-label { font-size: 4.6cqw; opacity: .85; }
.phone__card-title { font-size: 8cqw; font-weight: 700; letter-spacing: -.02em; }
.phone__progress {
  display: block;
  height: 2.4cqw;
  margin-top: 3cqw;
  border-radius: 2cqw;
  background: rgba(255, 255, 255, .3);
}
.phone__progress span { display: block; width: 72%; height: 100%; border-radius: inherit; background: #fff; }

.phone__row { display: flex; align-items: center; gap: 3cqw; padding-bottom: 3cqw; border-bottom: 1px solid #ececf0; }
.phone__dot { width: 4cqw; aspect-ratio: 1; border-radius: 50%; background: var(--c); }
.phone__row-text { flex: 1; font-size: 5.4cqw; font-weight: 600; }
.phone__time { font-size: 4.8cqw; color: var(--text-3); }

.phone__tabbar { display: flex; justify-content: space-around; margin-top: auto; }
.phone__tabbar span { width: 6cqw; aspect-ratio: 1; border-radius: 2cqw; background: #d8d8de; }
.phone__tabbar .is-active { background: var(--blue); }

/* ---------- Manifesto ---------- */

.manifesto {
  position: relative;
  background: var(--dark);
  color: var(--dark-text);
  padding-block: clamp(100px, 14vw, 180px);
}

.manifesto__text {
  font-size: clamp(30px, 4.4vw, 60px);
  line-height: 1.14;
  font-weight: 700;
  letter-spacing: -0.035em;
}
.manifesto__text .accent {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Scroll-scrubbed variant: enabled by main.js unless reduced motion is preferred. */
.manifesto--scrub { height: 230vh; padding-block: 0; }
.manifesto--scrub .manifesto__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  display: flex;
  align-items: center;
}
.manifesto--scrub .word {
  color: #3a3a3c;
  transition: color .35s var(--ease);
}
.manifesto--scrub .word.is-lit { color: var(--dark-text); }
.manifesto--scrub .accent { background: none; color: inherit; }
.manifesto--scrub .accent .word.is-lit {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Services (bento) ---------- */

.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: clamp(48px, 6vw, 80px);
}

.tile {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 340px;
  padding: clamp(28px, 3.2vw, 44px);
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--bg);
}
.tile--wide { grid-column: span 2; }

.tile--split {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}

.tile--dark { background: var(--dark); color: var(--dark-text); }

.tile--aurora {
  background:
    radial-gradient(60% 80% at 100% 0%, rgba(255, 92, 138, .14), transparent 70%),
    radial-gradient(70% 90% at 0% 100%, rgba(41, 151, 255, .14), transparent 70%),
    linear-gradient(135deg, #f7f5ff, #fdfcff);
}

.tile__icon {
  width: 40px;
  height: 40px;
  margin-bottom: 28px;
  fill: none;
  stroke: var(--blue);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.tile--dark .tile__icon { stroke: var(--link-dark); }
.tile--aurora .tile__icon { stroke: var(--brand-2); }

.tile__eyebrow {
  margin-bottom: 8px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -.01em;
  color: var(--text-2);
}
.tile--dark .tile__eyebrow { color: var(--dark-text-2); }

.tile__title {
  font-size: clamp(26px, 2.5vw, 34px);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -.03em;
  text-wrap: balance;
}

.tile__text {
  margin-top: 14px;
  font-size: 17px;
  color: var(--text-2);
  text-wrap: pretty;
}
.tile--dark .tile__text { color: var(--dark-text-2); }

/* Code block (Xcode-inspired palette) */
.code {
  margin: 0;
  padding: 22px;
  overflow-x: auto;
  border: 1px solid #2c2c2e;
  border-radius: var(--radius-md);
  background: var(--dark-tile);
  color: #e5e5ea;
  font-family: var(--mono);
  font-size: clamp(12px, 1.15vw, 14.5px);
  line-height: 1.75;
  letter-spacing: 0;
}
.tok-k { color: #fc5fa3; }
.tok-s { color: #fc6a5d; }
.tok-f { color: #67b7a4; }
.tok-p { color: #d0a8ff; }
.tok-c { color: #6c7986; }

/* AI chat visual */
.chat { display: flex; flex-direction: column; gap: 14px; }
.chat__msg {
  max-width: 88%;
  padding: 14px 18px;
  border-radius: 22px;
  font-size: 15px;
  line-height: 1.45;
}
.chat__msg--user {
  align-self: flex-end;
  border-bottom-right-radius: 6px;
  background: var(--blue);
  color: #fff;
}
.chat__msg--ai {
  display: flex;
  gap: 10px;
  border-bottom-left-radius: 6px;
  background: #fff;
  box-shadow: 0 10px 30px -12px rgba(60, 40, 140, .25);
}
.chat__spark {
  flex: none;
  font-size: 16px;
  line-height: 1.4;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Work (gallery) ---------- */

.gallery-wrap { margin-top: clamp(40px, 5vw, 64px); }

.gallery {
  --inset: max(var(--gutter), calc((100% - var(--container)) / 2));
  display: flex;
  gap: 20px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--inset);
  padding: 12px var(--inset) 28px;
  scrollbar-width: none;
}
.gallery::-webkit-scrollbar { display: none; }
.gallery:focus-visible { outline-offset: -2px; border-radius: 0; }

.card {
  position: relative;
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  width: clamp(290px, 31vw, 400px);
  height: clamp(540px, 46vw, 620px);
  padding: clamp(26px, 2.6vw, 34px);
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--bg-alt);
  scroll-snap-align: start;
  cursor: pointer;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.card:hover {
  transform: scale(1.015);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .35);
}

.card--dark { color: var(--dark-text); }
.card--fabindia { background: linear-gradient(180deg, #f6ece0, #fbf7f1); }
.card--hugoboss { background: linear-gradient(180deg, #121212, #000); }
.card--rahulmishra { background: linear-gradient(180deg, #f2ebdf, #faf6ef); }
.card--bookasto { background: linear-gradient(180deg, #102a6e, #0b1d4d); }
.card--tradevade { background: radial-gradient(120% 80% at 100% 0%, #13264a 0%, #0b1220 60%); }

.card__eyebrow { font-size: 14px; font-weight: 600; color: var(--text-2); }
.card--dark .card__eyebrow { color: var(--dark-text-2); }
.card__title {
  margin-top: 6px;
  font-size: clamp(24px, 2.2vw, 28px);
  line-height: 1.14;
  font-weight: 700;
  letter-spacing: -.028em;
  text-wrap: balance;
}

.card__visual { margin-top: auto; margin-bottom: 44px; }

.card__more {
  position: absolute;
  right: 20px;
  bottom: 20px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: #333336;
  color: #fff;
  transition: transform .3s var(--ease), background-color .3s var(--ease);
}
.card--dark .card__more { background: rgba(255, 255, 255, .18); }
.card:hover .card__more { transform: scale(1.08); }
.card__more svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
}

.gallery-controls { display: flex; justify-content: flex-end; gap: 14px; margin-top: 4px; }
.gallery-btn {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: #e8e8ed;
  color: rgba(0, 0, 0, .6);
  transition: background-color .2s var(--ease), opacity .2s var(--ease);
}
.gallery-btn:hover:not(:disabled) { background: #dcdce1; }
.gallery-btn:disabled { opacity: .4; cursor: default; }
.gallery-btn svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Shared bits for card visuals */
.v-strong { font-size: 15px; font-weight: 600; letter-spacing: -.015em; }
.v-muted { font-size: 13px; color: var(--text-2); }
.card--dark .v-muted { color: var(--dark-text-2); }

/* Fabindia */
.v-fab { display: flex; flex-direction: column; gap: 14px; }
.v-fab__chips,
.v-fab__perks { display: flex; flex-wrap: wrap; gap: 6px; }
.v-fab__chips span {
  padding: 6px 12px;
  border-radius: 980px;
  font-size: 13px;
  font-weight: 600;
  color: #7a5a3a;
  background: rgba(122, 90, 58, .1);
}
.v-fab__chips .is-active { color: #fff; background: #2b3a67; }
.v-fab__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.v-fab__item {
  display: flex;
  flex-direction: column;
  padding: 8px 8px 12px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 28px -18px rgba(90, 50, 10, .4);
}
.v-fab__img { aspect-ratio: 4 / 5; margin-bottom: 10px; border-radius: 12px; }
.v-fab__img--block {
  background:
    radial-gradient(circle, #f1e3c8 0 2.5px, transparent 3px) 0 0 / 14px 14px,
    radial-gradient(circle, #d39a2c 0 1.5px, transparent 2px) 7px 7px / 14px 14px,
    #2b3a67;
}
.v-fab__img--ikat {
  background:
    repeating-linear-gradient(90deg, transparent 0 12px, rgba(255, 240, 220, .5) 12px 14px, transparent 14px 26px),
    repeating-linear-gradient(0deg, #b5432f 0 18px, #c9603f 18px 22px, #e2a36b 22px 24px, #b5432f 24px 36px);
}
.v-fab__name,
.v-fab__price { padding-inline: 4px; font-size: 13px; }
.v-fab__name { font-weight: 600; }
.v-fab__price { color: var(--text-2); }
.v-fab__perks span {
  padding: 6px 12px;
  border-radius: 980px;
  font-size: 12px;
  font-weight: 600;
  color: #1f7a45;
  background: rgba(48, 160, 90, .12);
}

/* HUGO BOSS */
.v-boss { display: flex; flex-direction: column; gap: 12px; }
.v-boss__bar { display: flex; align-items: center; justify-content: space-between; }
.v-boss__seg { display: inline-flex; padding: 3px; border-radius: 980px; background: rgba(255, 255, 255, .1); }
.v-boss__seg span {
  padding: 5px 14px;
  border-radius: 980px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--dark-text-2);
}
.v-boss__seg .is-active { color: #000; background: #fff; }
.v-boss__locale { font-size: 12px; font-weight: 600; letter-spacing: .06em; color: var(--dark-text-2); }
.v-boss__look {
  position: relative;
  display: grid;
  place-items: center;
  height: 210px;
  overflow: hidden;
  border-radius: 20px;
  background: linear-gradient(180deg, #ededee, #cfcfd2);
}
.v-boss__jacket { width: auto; height: 82%; filter: drop-shadow(0 18px 20px rgba(0, 0, 0, .25)); }
.v-boss__tag {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 5px 10px;
  border-radius: 980px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #fff;
  background: #000;
}
.v-boss__member {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  border-radius: 14px;
  font-size: 13px;
  font-weight: 600;
  background: rgba(255, 255, 255, .08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1);
}
.v-boss__member span { color: #d4b06a; }

/* Rahul Mishra */
.v-couture { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.v-couture__motif { width: min(230px, 82%); }
.v-couture__ring { transform-origin: 100px 100px; animation: spin 80s linear infinite; }
.v-couture__row { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.v-couture__chip,
.v-couture__btn {
  padding: 7px 14px;
  border-radius: 980px;
  font-size: 12px;
  font-weight: 600;
}
.v-couture__chip { color: #8a6a3a; box-shadow: inset 0 0 0 1px rgba(168, 131, 74, .5); }
.v-couture__btn { color: #fff; background: var(--text); }

@keyframes spin { to { transform: rotate(360deg); } }

/* Bookasto */
.v-audio { display: flex; flex-direction: column; gap: 14px; }
.v-audio__now { display: flex; align-items: center; gap: 12px; }
.v-audio__cover {
  flex: none;
  display: grid;
  place-items: center;
  align-content: center;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  font-size: 20px;
  font-weight: 800;
  line-height: 1;
  color: #0b1d4d;
  background: linear-gradient(135deg, #fde047, #f59e0b);
}
.v-audio__cover small { font-size: 10px; font-weight: 700; }
.v-audio__wave { width: 100%; height: auto; }
.v-audio__time {
  display: flex;
  justify-content: space-between;
  margin-top: -6px;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  color: rgba(255, 255, 255, .6);
}
.v-audio__controls { display: flex; align-items: center; justify-content: center; gap: 28px; }
.v-audio__skip { font-size: 13px; font-weight: 700; color: rgba(255, 255, 255, .75); }
.v-audio__play { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: #facc15; }
.v-audio__play svg { width: 22px; height: 22px; margin-left: 2px; fill: #0b1d4d; }
.v-audio__transcript {
  padding: 12px 14px;
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.45;
  color: rgba(255, 255, 255, .8);
  background: rgba(255, 255, 255, .07);
}
.v-audio__transcript mark { padding: 0 3px; border-radius: 4px; color: #0b1d4d; background: #facc15; }

/* TradeVade */
.v-trade { display: flex; flex-direction: column; gap: 14px; }
.v-trade__head { display: flex; align-items: flex-end; justify-content: space-between; }
.v-trade__value { font-size: 30px; font-weight: 700; letter-spacing: -.03em; line-height: 1.15; }
.v-trade__pnl {
  padding: 6px 10px;
  border-radius: 980px;
  font-size: 13px;
  font-weight: 700;
  color: #30d158;
  background: rgba(48, 209, 88, .14);
}
.v-trade__chart { width: 100%; height: 150px; }
.v-trade__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.v-trade__stats div {
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(56, 189, 248, .08);
  box-shadow: inset 0 0 0 1px rgba(56, 189, 248, .2);
}
.v-trade__stats strong { display: block; font-size: 22px; font-weight: 700; letter-spacing: -.02em; color: #38bdf8; }
.v-trade__stats span { font-size: 12px; color: var(--dark-text-2); }

/* ---------- Process ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 28px;
  margin-top: clamp(56px, 7vw, 96px);
  counter-reset: step;
}

.step { position: relative; padding-top: 32px; }
.step::before,
.step::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 2px;
  border-radius: 2px;
}
.step::before { right: 0; background: #2c2c2e; }
.step::after {
  width: 100%;
  background: var(--brand-gradient);
  transform-origin: left;
  transition: transform 1.2s var(--ease-out) calc(var(--delay, 0s) + .2s);
}
.js .step:not(.is-visible)::after { transform: scaleX(0); }

.step__num {
  display: inline-block;
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .04em;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.step__title {
  margin-top: 14px;
  font-size: clamp(24px, 2.2vw, 28px);
  font-weight: 700;
  letter-spacing: -.03em;
}
.step__text { margin-top: 10px; color: var(--dark-text-2); text-wrap: pretty; }

/* Technology marquee */
.stack { margin-top: clamp(100px, 13vw, 180px); }
.stack__title { margin-bottom: clamp(36px, 4vw, 56px); }

.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee + .marquee { margin-top: 14px; }

.marquee__track { display: flex; }
.marquee__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  padding-inline: var(--gutter);
}

/* Infinite scroll: main.js duplicates the list and adds .is-running. */
.marquee.is-running .marquee__track {
  width: max-content;
  animation: marquee 60s linear infinite;
}
.marquee.is-running .marquee__list { flex-wrap: nowrap; padding: 0 14px 0 0; }
.marquee--reverse.is-running .marquee__track { animation-direction: reverse; animation-duration: 70s; }
.marquee:hover .marquee__track { animation-play-state: paused; }

@keyframes marquee { to { transform: translateX(-50%); } }

.pill {
  padding: 14px 26px;
  border-radius: 980px;
  font-size: clamp(16px, 1.5vw, 19px);
  font-weight: 600;
  white-space: nowrap;
  color: var(--dark-text);
  background: var(--dark-tile);
  box-shadow: inset 0 0 0 1px #2a2a2c;
}

/* ---------- About ---------- */

.values {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: clamp(48px, 6vw, 80px);
}
.value {
  padding: clamp(28px, 2.6vw, 36px);
  border-radius: var(--radius-lg);
  background: var(--bg-alt);
}
.value__icon {
  width: 34px;
  height: 34px;
  margin-bottom: 24px;
  fill: none;
  stroke: var(--brand-2);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.value__title { font-size: 21px; font-weight: 700; letter-spacing: -.02em; }
.value__text { margin-top: 8px; color: var(--text-2); text-wrap: pretty; }

/* ---------- Contact ---------- */

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(48px, 7vw, 112px);
  align-items: start;
}
.contact__intro .lead { margin-top: 24px; }

.contact__list { display: grid; gap: 24px; margin-top: 44px; }
.contact__list dt {
  margin-bottom: 4px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text-3);
}
.contact__list dd { font-size: 19px; font-weight: 500; letter-spacing: -.015em; }

.form {
  display: grid;
  gap: 16px;
  padding: clamp(24px, 3.5vw, 48px);
  border-radius: var(--radius-lg);
  background: var(--bg);
  box-shadow: 0 30px 80px -40px rgba(0, 0, 0, .25);
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.field { position: relative; }
.field__input {
  display: block;
  width: 100%;
  height: 58px;
  padding: 24px 16px 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg);
  font-size: 17px;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background-color .2s var(--ease);
}
.field__input:hover { border-color: #b0b0b6; }
.field__input:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(0, 113, 227, .16);
}
textarea.field__input { height: auto; min-height: 150px; padding-top: 30px; resize: vertical; line-height: 1.45; }

.field__label {
  position: absolute;
  top: 18px;
  left: 17px;
  font-size: 17px;
  color: var(--text-3);
  pointer-events: none;
  transform-origin: left top;
  transition: transform .2s var(--ease), color .2s var(--ease);
}
.field__input:focus + .field__label,
.field__input:not(:placeholder-shown) + .field__label,
.field--select .field__label { transform: translateY(-10px) scale(.72); }
.field__input:focus + .field__label { color: var(--blue); }

.field--select .field__input {
  padding-right: 44px;
  background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 8'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%2386868b' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 18px center / 13px;
  cursor: pointer;
}

.field__error { display: none; margin-top: 6px; padding-left: 4px; font-size: 13px; color: var(--danger); }
.field.is-invalid .field__input { border-color: var(--danger); background-color: #fff5f5; }
.field.is-invalid .field__input:focus { box-shadow: 0 0 0 4px rgba(227, 0, 0, .12); }
.field.is-invalid .field__label { color: var(--danger); }
.field.is-invalid .field__error { display: block; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0; padding: 0; border: 0; }
.chips__legend { margin-bottom: 12px; padding: 0; font-size: 15px; font-weight: 600; color: var(--text-2); }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span {
  display: inline-block;
  padding: 9px 16px;
  border-radius: 980px;
  font-size: 15px;
  border: 1px solid var(--line);
  background: var(--bg);
  transition: border-color .2s var(--ease), background-color .2s var(--ease), color .2s var(--ease);
}
.chip:hover span { border-color: #b0b0b6; }
.chip input:checked + span { border-color: var(--blue); color: var(--blue); background: rgba(0, 113, 227, .07); }
.chip input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }

.form__status { font-size: 15px; text-align: center; color: var(--text-2); }
.form__status:empty { display: none; }

.btn:disabled { opacity: .6; cursor: progress; }

/* Spam trap: invisible to people, filled in by bots. */
.form__honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.form.is-sent > :not(.form__success) { display: none; }
.form__success { display: grid; justify-items: center; align-content: center; gap: 12px; padding-block: 56px; text-align: center; }
.form__success[hidden] { display: none; }
.form__success-icon {
  width: 64px;
  height: 64px;
  margin-bottom: 8px;
  fill: none;
  stroke: #1f9d55;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.form__success-icon circle,
.form__success-icon path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw .7s var(--ease-out) forwards; }
.form__success-icon path { animation-delay: .35s; }
.form__success-title { font-size: 32px; font-weight: 700; letter-spacing: -.03em; }
.form__success-title:focus { outline: none; }
.form__success-text { max-width: 380px; color: var(--text-2); }
.form__success-text strong { color: var(--text); font-weight: 600; }
.form__again { margin-top: 8px; padding: 0; border: 0; background: none; cursor: pointer; }

@keyframes draw { to { stroke-dashoffset: 0; } }

/* ---------- Footer ---------- */

.footer {
  padding-block: 48px 28px;
  font-size: 13px;
  line-height: 1.6;
  letter-spacing: -.01em;
  color: var(--text-2);
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
}
.footer a { color: var(--text-2); }
.footer a:hover { color: var(--text); }

.footer__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}
.footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text) !important;
  text-decoration: none !important;
}
.footer__tagline { font-size: 15px; }

.footer__cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 220px));
  gap: 28px;
  padding-block: 28px;
}
.footer__heading { margin-bottom: 8px; font-size: 13px; font-weight: 600; color: var(--text); }
.footer__cols li + li { margin-top: 4px; }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--text-3);
}

/* ---------- Case-study modal ---------- */

.modal {
  width: 100%;
  max-width: min(980px, calc(100% - 32px));
  max-height: calc(100% - 48px);
  margin: auto;
  padding: 0;
  border: 0;
  overflow: visible;
  background: transparent;
  color: var(--text);
}
.modal::backdrop {
  background: rgba(0, 0, 0, .48);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}
.modal[open] .modal__panel { animation: modal-in .55s var(--ease-out); }
.modal[open]::backdrop { animation: fade-in .4s var(--ease); }

@keyframes modal-in { from { opacity: 0; transform: translateY(48px) scale(.98); } }
@keyframes fade-in { from { opacity: 0; } }

.modal__panel {
  position: relative;
  border-radius: var(--radius-lg);
  background: var(--bg);
  box-shadow: 0 40px 100px -20px rgba(0, 0, 0, .5);
}
.modal__scroll {
  max-height: calc(100vh - 48px);
  max-height: calc(100dvh - 48px);
  overflow-y: auto;
  padding: clamp(56px, 7vw, 88px) clamp(24px, 7vw, 88px) clamp(40px, 6vw, 72px);
}

.modal__close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: #e8e8ed;
  color: rgba(0, 0, 0, .7);
  transition: background-color .2s var(--ease);
}
.modal__close:hover { background: #dcdce1; }
.modal__close svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }

.modal__eyebrow { font-size: 17px; font-weight: 600; color: var(--text-2); }
.modal__title {
  margin-top: 8px;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.06;
  font-weight: 700;
  letter-spacing: -.04em;
  text-wrap: balance;
}
.modal__intro {
  margin-top: 20px;
  max-width: 680px;
  font-size: clamp(19px, 2vw, 22px);
  line-height: 1.4;
  font-weight: 500;
  color: var(--text-2);
}
.modal__stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 20px;
  margin-top: 36px;
  padding-block: 24px;
  border-block: 1px solid var(--line);
}
.modal__stats div { display: flex; flex-direction: column-reverse; gap: 4px; }
.modal__stats dd {
  font-size: clamp(32px, 4vw, 44px);
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -.04em;
  background: var(--brand-gradient-diag);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.modal__stats dt { font-size: 14px; color: var(--text-2); }

.modal__facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin-top: 32px;
}
.modal__facts > div { padding: 26px; border-radius: 20px; background: var(--bg-alt); }
.modal__facts h3 { margin-bottom: 8px; font-size: 17px; font-weight: 700; letter-spacing: -.02em; }
.modal__facts p { color: var(--text-2); }
.modal__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.modal__tags li {
  padding: 7px 14px;
  border-radius: 980px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-2);
  border: 1px solid var(--line);
}
.modal__link { margin-top: 28px; }

/* ---------- Responsive ---------- */

@media (max-width: 1068px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); row-gap: 48px; }
  .values { grid-template-columns: repeat(2, 1fr); }
  .contact__grid { grid-template-columns: 1fr; }
  .contact__intro { max-width: 720px; }
}

@media (max-width: 734px) {
  :root { --gutter: 16px; }

  .bento { grid-template-columns: 1fr; gap: 14px; }
  .tile { min-height: 0; }
  .tile--wide { grid-column: auto; }
  .tile--split { grid-template-columns: 1fr; }

  .steps { grid-template-columns: 1fr; row-gap: 36px; }
  .values { grid-template-columns: 1fr; gap: 14px; }
  .form__row { grid-template-columns: 1fr; }
  .modal__facts { grid-template-columns: 1fr; }
  .footer__cols { grid-template-columns: 1fr 1fr; }

  .laptop { width: 92%; margin-left: 0; }
  .phone { width: 24%; right: 0; }
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    transition-delay: 0s !important;
  }
  .js [data-reveal] { opacity: 1; transform: none; }
}
