/* =========================================================================
   Wavespace clone — design tokens and components.
   Token values sampled from wavespace.agency (see DESIGN.md).
   ========================================================================= */

:root {
  /* Brand — NexPixel Studio. Charcoal leads; copper is an accent only. */
  --brand-primary: #17191C;
  --brand-accent: #B9826B;      /* decorative copper: lines, hovers, highlights, large text */
  --brand-accent-deep: #8F5A45; /* copper for small text and white-on-copper fills (AA) */
  --brand-accent-soft: #E6CBBD; /* light copper for fills under charcoal text */
  --brand-background: #FAFAF8;
  --brand-surface: #F3F2EF;
  --brand-text: #17191C;
  --brand-muted: #6B6B6B;

  /* Neutrals */
  --ink: var(--brand-primary);
  --ink-2: #26292D;
  --gray-900: #1B1B1B;
  --gray-500: var(--brand-muted);
  --gray-400: #8C8C8C;
  --panel: #E9E7E3;
  --bg: #FFFFFF;
  --bg-2: var(--brand-surface);
  --bg-3: #EFEDE9;
  --line: #E4E2DE;
  --line-dark: #2A2A2A;

  /* Gradients */
  --grad-warm: linear-gradient(90deg, #9C6450 0%, #B9826B 100%);
  --grad-cool: linear-gradient(90deg, #17191C 0%, #8F5A45 100%);
  --grad-awards: linear-gradient(135deg, #17191C 0%, #3A2E29 55%, #8F5A45 100%);

  /* Type */
  --sans: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --fs-display: clamp(40px, 5.2vw, 76px);
  --fs-h2: clamp(30px, 3.2vw, 48px);
  --fs-h3: clamp(22px, 2vw, 32px);
  --fs-stat: clamp(34px, 3.6vw, 54px);
  --fs-body: 16px;
  --fs-sm: 14px;
  --fs-xs: 12px;
  --fs-eyebrow: 11px;

  /* Layout */
  --container: 1360px;
  --gutter: clamp(20px, 4vw, 80px);
  --section-y: clamp(64px, 8vw, 128px);
  --nav-h: 76px;
  --ease: cubic-bezier(.22, .68, .22, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--gray-900);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { list-style: none; }
::selection { background: var(--brand-accent-deep); color: #fff; }
:focus-visible { outline: 2px solid var(--brand-accent); outline-offset: 3px; }

/* ---------- Layout primitives ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(48px, 5vw, 80px); }
.section--dark { background: var(--ink); color: #fff; }
.section--grey { background: var(--bg-3); }
.section--mist { background: var(--bg-2); }

/* ---------- Type ---------- */
.eyebrow {
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 18px;
}
.section--dark .eyebrow { color: rgba(255, 255, 255, .55); }

h1, h2, h3, h4 { font-weight: 700; letter-spacing: -.02em; line-height: 1.12; }
.display { font-size: var(--fs-display); line-height: 1.05; letter-spacing: -.03em; }
.h2 { font-size: var(--fs-h2); max-width: 20ch; }
.h3 { font-size: var(--fs-h3); font-weight: 600; }
.muted { color: var(--gray-500); }
.section--dark .muted { color: rgba(255, 255, 255, .45); }
.lede { color: var(--gray-500); max-width: 56ch; }
.section--dark .lede { color: rgba(255, 255, 255, .6); }
.grad-warm { background: var(--grad-warm); -webkit-background-clip: text; background-clip: text; color: transparent; }
.grad-cool { background: var(--grad-cool); -webkit-background-clip: text; background-clip: text; color: transparent; }

.hero__sub { margin: 18px 0 32px; font-size: clamp(18px, 1.6vw, 22px); font-weight: 500; line-height: 1.4; color: var(--ink-2); max-width: 34ch; }

/* ---------- Brand philosophy ---------- */
.philosophy { position: relative; overflow: hidden; }
.philosophy::before { content: ""; position: absolute; right: var(--gutter); top: clamp(40px, 6vw, 96px); width: 14px; height: 14px; background: var(--brand-accent); box-shadow: 22px 0 0 rgba(185,130,107,.55), 0 22px 0 rgba(185,130,107,.3); }
.philosophy__lines { display: grid; gap: .1em; margin-top: 20px; font-size: clamp(34px, 5vw, 76px); line-height: 1.06; letter-spacing: -.035em; }
.philosophy__lines span:nth-child(2) { color: rgba(255, 255, 255, .72); }
.philosophy__lines span:nth-child(3) { color: rgba(255, 255, 255, .5); }
.philosophy__foot { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 32px; align-items: end; margin-top: clamp(36px, 5vw, 72px); padding-top: 28px; border-top: 1px solid var(--brand-accent); }
.philosophy__sign { font-size: clamp(20px, 2vw, 28px); font-weight: 700; color: var(--brand-accent); }
@media (max-width: 760px) { .philosophy__foot { grid-template-columns: 1fr; } }

/* ---------- 404 ---------- */
.notfound .display { max-width: 16ch; margin: 18px 0 22px; }
.notfound .hero__actions { margin-top: 32px; }
.notfound__pixels { display: grid; grid-template-columns: repeat(2, 14px); gap: 6px; margin-bottom: 22px; }
.notfound__pixels span { width: 14px; height: 14px; background: var(--ink); animation: np-drift 2.4s var(--ease) infinite alternate; }
.notfound__pixels span:nth-child(2) { background: var(--brand-accent); animation-delay: .3s; }
.notfound__pixels span:nth-child(3) { animation-delay: .6s; }
.notfound__pixels span:last-child { opacity: .25; transform: translate(18px, 10px); animation: none; }
@keyframes np-drift { to { transform: translateY(-6px); } }
@media (prefers-reduced-motion: reduce) { .notfound__pixels span { animation: none; } }

.section-head { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-end; justify-content: space-between; margin-bottom: 48px; }
.section-head__aside { max-width: 44ch; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  font-size: var(--fs-sm);
  font-weight: 600;
  border: 1px solid transparent;
  border-radius: 0;
  transition: background-color .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease);
  white-space: nowrap;
}
.btn .arw { transition: transform .18s var(--ease); }
.btn:hover .arw { transform: translateX(4px); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--brand-accent-deep); }
.btn--indigo { background: var(--brand-primary); color: #fff; border-radius: 4px; }
.btn--indigo:hover { background: var(--brand-accent-deep); }
.btn--ghost { border-color: var(--line); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--ink); color: #fff; }
.btn--lime { background: var(--brand-accent-soft); color: var(--ink); }
.btn--lime:hover { background: var(--brand-accent); }
.btn--sm { padding: 10px 16px; font-size: var(--fs-xs); }
.section--dark .btn--ghost { border-color: rgba(255, 255, 255, .25); color: #fff; }
.section--dark .btn--ghost:hover { border-color: #fff; }

.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px;
  font-size: var(--fs-xs); font-weight: 500; color: var(--gray-900);
}
.pill .dot { width: 7px; height: 7px; border-radius: 50%; background: #22C55E; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 60;
  background: #fff;
  border-bottom: 1px solid transparent;
  transition: border-color .2s var(--ease), background-color .2s var(--ease);
}
.header.is-stuck { border-bottom-color: var(--line); }
.header__inner { display: flex; align-items: center; gap: 24px; height: var(--nav-h); }
.logo { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 21px; letter-spacing: -.05em; }
.logo__mark { width: auto; height: 26px; flex: none; }
.logo__word { white-space: nowrap; }
.logo__word span { font-weight: 500; }
.logo__img { width: 132px; height: auto; display: block; flex: none; } /* legacy logo markup still stored in the CMS database */

/* NexPixel Studio project imagery */
.art--indigo { background-image: linear-gradient(135deg, rgba(23,25,28,.18), rgba(23,25,28,.28)), url('../images/projects/karji.webp'); background-size: cover; background-position: center; }
.art--dark { background-image: linear-gradient(135deg, rgba(8,12,28,.18), rgba(58,46,41,.25)), url('../images/projects/nexora-signin.png'); background-size: cover; background-position: center; }
.art--sky { background-image: linear-gradient(135deg, rgba(255,255,255,.08), rgba(23,25,28,.16)), url('../images/projects/touch-of-oud.webp'); background-size: cover; background-position: center; }
.art--grey { background-image: linear-gradient(135deg, rgba(242,244,255,.14), rgba(23,25,28,.16)), url('../images/projects/invitara-1.webp'); background-size: cover; background-position: center; }
.art--magenta { background-image: linear-gradient(135deg, rgba(18,12,42,.18), rgba(185,130,107,.22)), url('../images/projects/nexora-signin-mobile.png'); background-size: cover; background-position: center; }
.art--sunset { background-image: linear-gradient(135deg, rgba(255,246,230,.08), rgba(23,25,28,.14)), url('../images/projects/mechaura.webp'); background-size: cover; background-position: center; }
.art--ember { background-image: linear-gradient(135deg, rgba(5,16,54,.12), rgba(143,90,69,.2)), url('../images/projects/finora-signin.png'); background-size: cover; background-position: center; }
.art--lime { background-image: linear-gradient(135deg, rgba(230,203,189,.08), rgba(23,25,28,.18)), url('../images/projects/flower-district.webp'); background-size: cover; background-position: center; }
.nav { display: flex; align-items: center; gap: 26px; margin-inline: auto; }
.nav__link { position: relative; font-size: var(--fs-sm); font-weight: 500; padding-block: 6px; }
.nav__link sup { font-size: 9px; color: var(--gray-400); margin-left: 2px; vertical-align: super; }
.nav__link::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 0;
  background: var(--ink); transition: width .2s var(--ease);
}
.nav__link:hover::after, .nav__link[aria-current="page"]::after { width: 100%; }
.nav__caret { display: inline-block; width: 14px; height: 14px; margin-left: 4px; vertical-align: -2px; }
.header__cta { display: flex; align-items: center; gap: 12px; }

.burger { display: none; width: 40px; height: 40px; place-items: center; border: 1px solid var(--line); }
.burger span { display: block; width: 16px; height: 1.5px; background: var(--ink); position: relative; transition: transform .2s var(--ease); }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; width: 16px; height: 1.5px; background: var(--ink); transition: transform .2s var(--ease), top .2s var(--ease); }
.burger span::before { top: -5px; }
.burger span::after { top: 5px; }
.burger.is-open span { transform: rotate(45deg); }
.burger.is-open span::before { top: 0; transform: rotate(-90deg); }
.burger.is-open span::after { top: 0; opacity: 0; }

/* Mega menu */
.mega {
  position: absolute; inset-inline: 0; top: 100%;
  background: #fff; border-block: 1px solid var(--line);
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
}
.mega.is-open { opacity: 1; visibility: visible; transform: none; }
.mega__grid { display: grid; grid-template-columns: repeat(4, 1fr) minmax(220px, .8fr); gap: 1px; background: var(--line); }
.mega__col { background: #fff; padding: 32px 28px; }
.mega__n { font-size: var(--fs-xs); color: var(--gray-400); }
.mega__title { font-size: var(--fs-eyebrow); font-weight: 700; letter-spacing: .14em; margin: 4px 0 18px; }
.mega__col a { display: block; font-size: var(--fs-sm); padding-block: 7px; color: var(--gray-900); transition: color .15s var(--ease), padding-left .15s var(--ease); }
.mega__col a:hover { color: var(--brand-accent-deep); padding-left: 6px; }
.mega__cta { background: var(--ink); color: #fff; padding: 32px 28px; display: flex; flex-direction: column; gap: 12px; justify-content: center; }
.mega__cta p { font-size: var(--fs-sm); color: rgba(255, 255, 255, .6); }
.mega__tiles { display: grid; grid-template-columns: repeat(7, 1fr); gap: 1px; background: var(--line); border-top: 1px solid var(--line); }
.mega__tile { background: #fff; padding: 18px 14px; text-align: center; font-size: var(--fs-xs); font-weight: 500; transition: background-color .15s var(--ease); }
.mega__tile:hover { background: var(--bg-2); }
.mega__tile .ico { width: 30px; height: 30px; margin: 0 auto 10px; background: var(--bg-3); display: grid; place-items: center; font-size: 13px; font-weight: 700; color: var(--brand-accent-deep); }

/* Mobile drawer */
.drawer { position: fixed; inset: var(--nav-h) 0 0; z-index: 55; background: #fff; overflow-y: auto; padding: 24px var(--gutter) 64px; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s; }
.drawer.is-open { opacity: 1; visibility: visible; transform: none; }
.drawer a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 18px; font-weight: 600; }
.drawer .drawer__sub a { font-size: var(--fs-sm); font-weight: 500; color: var(--gray-500); padding: 9px 0; border: 0; }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(56px, 7vw, 104px) clamp(48px, 6vw, 88px); }
.hero__grid { display: grid; grid-template-columns: 1.55fr 1fr; gap: clamp(32px, 5vw, 88px); align-items: start; }
.hero .display { margin: 22px 0 34px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__aside p { font-size: var(--fs-sm); color: var(--gray-500); }
.hero__proof { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-top: 28px; }
.avatars { display: flex; }
.avatars .av { width: 34px; height: 34px; border-radius: 50%; border: 2px solid #fff; margin-left: -10px; display: grid; place-items: center; font-size: 11px; font-weight: 700; color: #fff; }
.avatars .av:first-child { margin-left: 0; }
.proof__label { font-size: var(--fs-xs); line-height: 1.35; }
.rating { display: flex; align-items: center; gap: 10px; }
.rating__score { width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: var(--fs-xs); font-weight: 700; }
.stars { color: var(--brand-accent-deep); letter-spacing: 1px; font-size: 13px; }
.rating small { display: block; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--gray-500); }

/* Interior page hero */
.page-hero { padding-block: clamp(56px, 6vw, 96px) clamp(40px, 4vw, 64px); }
.page-hero .display { max-width: 18ch; }
.page-hero .lede { margin-top: 20px; font-size: 17px; }
.page-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; contain: paint; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee__track { display: flex; width: max-content; animation: marquee var(--dur, 46s) linear infinite; }
.marquee--rev .marquee__track { animation-direction: reverse; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
/* ---------- Brands / client logo strip ----------
   Three rows scroll independently behind gradient edge shadows. */
.marquee-item-wrapper { position: relative; overflow: hidden; display: grid; gap: 10px; padding-block: 8px; }
.marquee-one, .marquee-two, .marquee-three { overflow: hidden; contain: paint; }
.marquee-track { display: flex; width: max-content; }
.marquee-item-wrapper:hover .marquee-track { animation-play-state: paused; }

/* Rows alternate direction: 1 left, 2 right, 3 left. Each direction is its own
   keyframe rather than `animation-direction: reverse`, so the rows start at the
   right offset and the intent is readable in the CSS. */
@keyframes marquee-left  { from { transform: translateX(0); }      to { transform: translateX(-50%); } }
@keyframes marquee-right { from { transform: translateX(-50%); }   to { transform: translateX(0); } }

.marquee-one   .marquee-track { animation: marquee-left  var(--dur, 40s) linear infinite; }
.marquee-two   .marquee-track { animation: marquee-right var(--dur, 32s) linear infinite; }
.marquee-three .marquee-track { animation: marquee-left  var(--dur, 46s) linear infinite; }

.service-clients-logo {
  flex: none;
  display: grid;
  place-items: center;
  min-width: 190px;
  height: 76px;
  padding-inline: 26px;
}
.slider-logo {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  max-width: 100%;
  white-space: nowrap;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -.02em;
  color: #1B1B1B;
  opacity: .85;
  transition: opacity .2s var(--ease), filter .2s var(--ease);
}
.service-clients-logo:hover .slider-logo { opacity: 1; }

/* Placeholder wordmark treatments. Swap these elements for <img class="slider-logo">
   when you have licensed logo files. */
/* Variety comes from weight, tracking and case — the whole site stays on Manrope. */
.slider-logo--serif { font-weight: 800; letter-spacing: .04em; }
.slider-logo--mono { font-weight: 500; font-size: 15px; letter-spacing: .14em; text-transform: uppercase; }
.slider-logo--light { font-weight: 500; letter-spacing: .06em; color: #6E6E72; }
.slider-logo--gold { color: #A9862F; }
.slider-logo--stack { flex-direction: column; gap: 0; line-height: 1.05; font-size: 14px; text-align: center; white-space: normal; max-width: 130px; }
.slider-logo--gradient { background: var(--grad-warm); -webkit-background-clip: text; background-clip: text; color: transparent; }
.slider-logo--badge::before { content: ""; width: 20px; height: 20px; flex: none; background: var(--brand-accent); }
.slider-logo--dots::before { content: ""; width: 18px; height: 18px; flex: none; border-radius: 50%; background: radial-gradient(circle at 30% 30%, var(--brand-primary) 45%, transparent 46%), radial-gradient(circle at 72% 68%, var(--brand-accent-deep) 45%, transparent 46%); }
.slider-logo--pin::before { content: ""; width: 13px; height: 13px; flex: none; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--brand-accent); }

.left-shadow, .right-shadow { position: absolute; inset-block: 0; width: clamp(40px, 8%, 120px); pointer-events: none; z-index: 2; }
.left-shadow { left: 0; background: linear-gradient(90deg, var(--bg) 12%, transparent); }
.right-shadow { right: 0; background: linear-gradient(270deg, var(--bg) 12%, transparent); }
.section--grey .left-shadow, .section--mist .left-shadow { background: linear-gradient(90deg, var(--bg-3) 12%, transparent); }
.section--grey .right-shadow, .section--mist .right-shadow { background: linear-gradient(270deg, var(--bg-3) 12%, transparent); }
.section--dark .left-shadow { background: linear-gradient(90deg, var(--ink) 12%, transparent); }
.section--dark .right-shadow { background: linear-gradient(270deg, var(--ink) 12%, transparent); }
.section--dark .slider-logo { color: #fff; opacity: .7; }

/* ---------- Grid cards (butt-joined) ---------- */
.grid-hair { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.grid-hair > * { background: #fff; }

/* Stats */
.stats { grid-template-columns: repeat(3, 1fr); }
.stat { padding: clamp(22px, 2.4vw, 34px); min-height: 200px; display: flex; flex-direction: column; }
.stat__n { font-size: var(--fs-xs); color: var(--gray-400); margin-bottom: auto; }
.stat__v { font-size: var(--fs-stat); font-weight: 600; letter-spacing: -.03em; line-height: 1.05; }
.stat__l { font-size: var(--fs-sm); color: var(--gray-500); margin-top: 8px; }
.stat--wide { grid-column: span 2; }

/* ---------- Work cards ---------- */
.work { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.work__card { background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; transition: border-color .2s var(--ease); }
.work__card:hover { border-color: var(--ink); }
.work__card--split { grid-column: span 2; display: grid; grid-template-columns: 1fr 1fr; }
.work__body { padding: clamp(24px, 2.4vw, 40px); display: flex; flex-direction: column; gap: 12px; flex: 1; }
.work__cat { font-size: var(--fs-xs); color: var(--gray-500); }
.work__title { font-size: var(--fs-h3); font-weight: 600; }
.work__desc { font-size: var(--fs-sm); color: var(--gray-500); }
.work__foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-top: auto; padding-top: 20px; }
.work__metric { font-size: clamp(24px, 2.2vw, 32px); font-weight: 700; color: var(--brand-accent-deep); letter-spacing: -.02em; line-height: 1; }
.work__metric small { display: block; margin-top: 6px; font-size: 10px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--gray-500); }
.work__media { min-height: 280px; position: relative; overflow: hidden; }
.work__card--split .work__media { min-height: 100%; }

/* Project artwork */
.art { position: relative; height: 100%; min-height: 120px; overflow: hidden; background: var(--bg-3); }
.art::before,
.art::after {
  content: none !important;
  display: none !important;
  background: none !important;
  background-image: none !important;
}
.art--indigo { background: linear-gradient(140deg, #17191C, #3A2E29 60%, #8F5A45); }
.art--sky { background: linear-gradient(140deg, #4A4F55, #8C8C8C 55%, #D9D5CF); }
.art--magenta { background: linear-gradient(140deg, #3A2E29, #8F5A45 60%, #D4A48C); }
.art--sunset { background: linear-gradient(140deg, #8F5A45, #B9826B 70%, #E6CBBD); }
.art--lime { background: linear-gradient(140deg, #D9D5CF, #EFEDE9 60%, #FAFAF8); }
.art--ember { background: linear-gradient(140deg, #17191C, #8F5A45 60%, #B9826B); }
.art--dark { background: linear-gradient(140deg, #090909, #242424 60%, #3A3A3A); }
.art--grey { background: linear-gradient(140deg, #C9C9C9, #E8E8E8 60%, #F6F5F5); }
.art--yellow { background: linear-gradient(140deg, #D4A48C, #E6CBBD 60%, #F3F2EF); }
.art--orange { background: linear-gradient(140deg, #8F5A45, #B9826B 60%, #D4A48C); }
.art--indigo { background-image: linear-gradient(135deg, rgba(23,25,28,.18), rgba(23,25,28,.28)), url('../images/projects/karji.webp'); background-size: cover; background-position: center; }
.art--dark { background-image: linear-gradient(135deg, rgba(8,12,28,.18), rgba(58,46,41,.25)), url('../images/projects/nexora-signin.png'); background-size: cover; background-position: center; }
.art--sky { background-image: linear-gradient(135deg, rgba(255,255,255,.08), rgba(23,25,28,.16)), url('../images/projects/touch-of-oud.webp'); background-size: cover; background-position: center; }
.art--grey { background-image: linear-gradient(135deg, rgba(242,244,255,.14), rgba(23,25,28,.16)), url('../images/projects/invitara-1.webp'); background-size: cover; background-position: center; }
.art--magenta { background-image: linear-gradient(135deg, rgba(18,12,42,.18), rgba(185,130,107,.22)), url('../images/projects/nexora-signin-mobile.png'); background-size: cover; background-position: center; }
.art--sunset { background-image: linear-gradient(135deg, rgba(255,246,230,.08), rgba(23,25,28,.14)), url('../images/projects/mechaura.webp'); background-size: cover; background-position: center; }
.art--ember { background-image: linear-gradient(135deg, rgba(5,16,54,.12), rgba(143,90,69,.2)), url('../images/projects/finora-signin.png'); background-size: cover; background-position: center; }
.art--lime { background-image: linear-gradient(135deg, rgba(230,203,189,.08), rgba(23,25,28,.18)), url('../images/projects/flower-district.webp'); background-size: cover; background-position: center; }
.art__label { position: absolute; left: 20px; bottom: 18px; z-index: 1; font-size: var(--fs-xs); font-weight: 600; color: rgba(255, 255, 255, .82); letter-spacing: .04em; }
.art--grey .art__label, .art--yellow .art__label, .art--lime .art__label { color: rgba(0, 0, 0, .55); }

/* ---------- Video testimonials ---------- */
.vtest { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.vtest__card { position: relative; aspect-ratio: 4 / 5; display: flex; flex-direction: column; justify-content: flex-end; }
.vtest__card > .art { position: absolute; inset: 0; }
.vtest__foot { position: relative; z-index: 1; margin: 12px; padding: 16px; background: rgba(255, 255, 255, .94); color: var(--ink); }
.vtest__quote { font-size: var(--fs-sm); line-height: 1.45; }
.vtest__who { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-top: 14px; }
.vtest__who strong { display: block; font-size: var(--fs-sm); }
.vtest__who span { font-size: 11px; color: var(--gray-500); }

/* ---------- Service panels ---------- */
.panels { display: grid; gap: 24px; }
.panel { display: grid; grid-template-columns: 1fr 1fr; min-height: 520px; position: sticky; top: calc(var(--nav-h) + 16px); }
.panel__body { padding: clamp(28px, 3.4vw, 56px); display: flex; flex-direction: column; gap: 18px; }
.panel__body .h3 { font-size: clamp(24px, 2.4vw, 36px); }
.panel__desc { font-size: var(--fs-sm); max-width: 46ch; opacity: .82; }
.panel__bullets { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 24px; }
.panel__bullets li { font-size: var(--fs-sm); position: relative; padding-left: 16px; }
.panel__bullets li::before { content: ""; position: absolute; left: 0; top: 9px; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.panel__body .btn { align-self: flex-start; margin-top: auto; }
.panel--indigo { background: var(--brand-primary); color: #fff; }
.panel--grey { background: var(--panel); color: var(--ink); }
.panel--yellow { background: var(--brand-accent-soft); color: var(--ink); }
.panel--orange { background: var(--brand-accent-deep); color: #fff; }
.panel--dark { background: var(--ink-2); color: #fff; }
.panel--purple { background: #3A2E29; color: #fff; }
.panel--green { background: #4A4F55; color: #fff; }

/* Mosaic filler for the panel's media half */
.mosaic { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 1fr; gap: 6px; padding: 6px; background: #fff; }
.mosaic > span { display: block; }
.mosaic > span:nth-child(4) { grid-row: span 2; }
.mosaic > span:nth-child(7) { grid-column: span 2; }

/* ---------- Awards ---------- */
.awards { background: var(--grad-awards); color: #fff; padding-block: clamp(64px, 7vw, 112px); overflow: hidden; }
.awards__title { font-size: clamp(46px, 8.5vw, 128px); line-height: .98; letter-spacing: -.04em; font-weight: 700; text-align: center; }
.awards__title span { display: block; }
.awards__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255, 255, 255, .35); margin-top: clamp(40px, 5vw, 80px); }
.awards__cell { background: #fff; color: var(--ink); padding: clamp(20px, 2vw, 30px); min-height: 190px; display: flex; flex-direction: column; }
.awards__cell .n { font-size: var(--fs-sm); color: var(--gray-400); margin-bottom: auto; }
.awards__cell p { font-size: clamp(16px, 1.4vw, 20px); font-weight: 500; letter-spacing: -.01em; }

/* ---------- Industry cards ---------- */
.industries { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ind { position: relative; min-height: 320px; padding: 24px; color: #fff; display: flex; flex-direction: column; }
.ind > .art { position: absolute; inset: 0; }
.ind__t { position: relative; z-index: 1; font-size: 18px; font-weight: 600; }
.ind__d { position: relative; z-index: 1; font-size: var(--fs-xs); line-height: 1.5; margin-top: 8px; color: rgba(255, 255, 255, .85); max-width: 42ch; }

/* ---------- Comparison ---------- */
.compare { background: var(--brand-primary); color: #fff; }
.compare .eyebrow { color: rgba(255, 255, 255, .55); }
.compare .muted { color: rgba(255, 255, 255, .5); }
.compare__cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); margin-top: 48px; }
.compare__col + .compare__col { border-left: 1px solid rgba(255, 255, 255, .25); padding-left: clamp(32px, 5vw, 80px); }
.compare__col h3 { font-size: clamp(20px, 1.8vw, 26px); font-weight: 600; margin-bottom: 30px; }
.compare__row { display: grid; grid-template-columns: 22px 1fr; gap: 10px; padding-block: 18px; }
.compare__row strong { font-size: var(--fs-sm); font-weight: 600; }
.compare__row p { font-size: var(--fs-xs); line-height: 1.55; color: rgba(255, 255, 255, .72); margin-top: 4px; }
.compare__ic { font-size: 13px; opacity: .85; line-height: 1.6; }

/* ---------- Reviews ---------- */
.reviews { background: #fff; border: 1px solid var(--line); display: grid; grid-template-columns: minmax(220px, .8fr) repeat(3, 1fr); }
.reviews__score { padding: clamp(24px, 2.4vw, 40px); border-right: 1px solid var(--line); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 6px; }
.reviews__score .n { font-size: clamp(38px, 4vw, 58px); font-weight: 700; color: var(--gray-500); letter-spacing: -.03em; line-height: 1; }
.reviews__score small { font-size: var(--fs-xs); color: var(--gray-500); }
.reviews__marks { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 22px; font-size: var(--fs-xs); font-weight: 700; }
.review { padding: clamp(24px, 2.4vw, 40px); border-right: 1px solid var(--line); display: flex; flex-direction: column; }
.review:last-child { border-right: 0; }
.review__co { font-size: var(--fs-xs); color: var(--gray-500); margin-bottom: 18px; }
.review__q { font-size: var(--fs-sm); line-height: 1.5; }
.review__who { display: flex; align-items: center; gap: 10px; margin-top: auto; padding-top: 24px; }
.review__who .av { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 700; color: #fff; flex: none; }
.review__who strong { display: block; font-size: var(--fs-sm); }
.review__who span { font-size: 11px; color: var(--gray-500); }
.dots { display: flex; gap: 7px; justify-content: center; margin-top: 26px; }
.dots button { width: 7px; height: 7px; border-radius: 50%; background: #C9C9C9; transition: background-color .15s var(--ease); }
.dots button[aria-current="true"] { background: var(--ink); }

/* ---------- Team marquee ---------- */
.team-shot { flex: none; width: 250px; margin-right: 14px; }
.team-shot .art { height: auto; aspect-ratio: 4 / 3; }
.team-shot span { display: block; font-size: 11px; color: var(--gray-500); margin-top: 8px; }

/* ---------- FAQ ---------- */
.faq-layout { display: grid; grid-template-columns: 1.6fr .6fr; gap: clamp(32px, 4vw, 72px); align-items: start; }
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px 0; text-align: left; font-size: var(--fs-sm); font-weight: 500; }
.faq__q .ic { flex: none; transition: transform .22s var(--ease); }
.faq__item.is-open .faq__q .ic { transform: rotate(45deg); }
/* Height is driven by JS so the transition works without relying on 0fr→1fr
   grid sizing, which collapses under overflow:hidden in some engines. */
.faq__a { overflow: hidden; transition: height .28s var(--ease); }
.js .faq__a { height: 0; }
.faq__a p { font-size: var(--fs-sm); color: var(--gray-500); padding-bottom: 16px; max-width: 74ch; }
.faq__a p:first-child { padding-top: 4px; }
.ceo-card { background: var(--ink); color: #fff; padding: 26px; position: sticky; top: calc(var(--nav-h) + 24px); }
.ceo-card .av { width: 44px; height: 44px; background: var(--brand-primary); display: grid; place-items: center; font-weight: 700; margin-bottom: 18px; }
.ceo-card p { font-size: var(--fs-sm); color: rgba(255, 255, 255, .72); margin-bottom: 22px; }

/* ---------- Contact ---------- */
.contact-layout { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 4vw, 72px); align-items: start; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; font-size: var(--fs-sm); padding-block: 6px; }
.checklist .tick { flex: none; width: 15px; height: 15px; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 9px; margin-top: 4px; }
.book-card { border: 1px solid var(--line); background: #fff; padding: 16px; margin-top: 34px; max-width: 340px; }
.book-card__who { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.book-card__who .av { width: 40px; height: 40px; border-radius: 50%; background: var(--ink-2); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: var(--fs-xs); flex: none; }
.book-card__who strong { display: block; font-size: var(--fs-sm); }
.book-card__who span { font-size: 11px; color: var(--gray-500); }
.book-card .btn { width: 100%; justify-content: center; }

.form-card { background: #fff; border: 1px solid var(--line); padding: clamp(20px, 2.4vw, 32px); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
.field { width: 100%; padding: 13px 14px; font: inherit; font-size: var(--fs-sm); color: var(--gray-900); background: #fff; border: 1px solid #F0F0F0; border-radius: 2px; transition: border-color .15s var(--ease); }
.field::placeholder { color: #7E7E81; }
.field:focus { outline: 0; border-color: var(--brand-accent); }
textarea.field { min-height: 110px; resize: vertical; }
select.field { appearance: none; background-image: linear-gradient(45deg, transparent 50%, #7E7E81 50%), linear-gradient(135deg, #7E7E81 50%, transparent 50%); background-position: calc(100% - 18px) 19px, calc(100% - 13px) 19px; background-size: 5px 5px; background-repeat: no-repeat; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 22px; }
.chips label { font-size: var(--fs-xs); padding: 8px 13px; border: 1px solid var(--line); cursor: pointer; transition: border-color .15s var(--ease), background-color .15s var(--ease); }
.chips input { position: absolute; opacity: 0; width: 0; height: 0; }
.chips input:checked + span, .chips label:hover { border-color: var(--ink); }
.chips label:has(input:checked) { background: var(--ink); color: #fff; border-color: var(--ink); }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.form-foot small { font-size: var(--fs-xs); color: var(--gray-500); text-align: right; }
.form-foot a { text-decoration: underline; font-weight: 600; color: var(--ink); }
.form-label { font-size: var(--fs-sm); font-weight: 500; margin-top: 4px; }
.form-note { font-size: var(--fs-xs); margin-top: 14px; }
.form-note.is-ok { color: #16803C; }

/* ---------- Badges ---------- */
.badges { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.badge { background: #fff; border: 1px solid var(--line); padding: 26px 20px; text-align: center; min-height: 150px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; }
.badge strong { font-size: 17px; }
.badge span { font-size: 11px; color: var(--gray-500); line-height: 1.45; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #fff; padding-top: clamp(56px, 6vw, 88px); }
.footer__top { display: grid; grid-template-columns: minmax(240px, 1.1fr) repeat(3, 1fr); gap: clamp(28px, 3vw, 56px); }
.footer__tagline { margin-top: 16px; font-size: var(--fs-sm); font-weight: 600; color: var(--brand-accent); }
.footer__tagline + .footer__blurb { margin-top: 6px; }
.footer__blurb { font-size: var(--fs-sm); color: rgba(255, 255, 255, .6); margin: 18px 0 22px; max-width: 38ch; }
.footer__social { display: flex; gap: 10px; margin-top: 22px; }
.footer__social a { width: 32px; height: 32px; border-radius: 50%; background: var(--ink-2); display: grid; place-items: center; font-size: 11px; font-weight: 700; transition: background-color .15s var(--ease); }
.footer__social a:hover { background: var(--brand-accent-deep); }
.footer__col h4 { font-size: var(--fs-sm); font-weight: 600; margin-bottom: 16px; }
.footer__col a { display: block; font-size: var(--fs-sm); color: rgba(255, 255, 255, .6); padding-block: 6px; transition: color .15s var(--ease); }
.footer__col a:hover { color: #fff; }
.footer__mid { display: grid; grid-template-columns: minmax(240px, 1.1fr) 1fr 1fr 1fr; gap: clamp(28px, 3vw, 56px); margin-top: 40px; }
.footer__contact strong { display: block; font-size: var(--fs-sm); font-weight: 600; }
.footer__contact a { color: rgba(255, 255, 255, .75); font-size: var(--fs-sm); }
.footer__offices { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--line-dark); }
.office { background: var(--ink-2); padding: 18px; min-height: 128px; position: relative; overflow: hidden; }
.office strong { display: flex; align-items: center; gap: 8px; font-size: var(--fs-sm); }
.office p { font-size: 11px; color: rgba(255, 255, 255, .5); margin-top: 8px; line-height: 1.5; position: relative; z-index: 1; }
.office::after { content: ""; position: absolute; inset: auto 0 0 0; height: 44px; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .07) 0 10px, transparent 10px 16px, rgba(255, 255, 255, .05) 16px 22px, transparent 22px 30px); }
.footer__all { margin-top: 14px; border: 1px solid var(--line-dark); }
.footer__all > summary { list-style: none; cursor: pointer; padding: 18px 20px; font-size: var(--fs-sm); font-weight: 600; display: flex; align-items: center; justify-content: space-between; }
.footer__all > summary::-webkit-details-marker { display: none; }
.footer__all[open] > summary { border-bottom: 1px solid var(--line-dark); }
.footer__all__body { padding: 24px 20px; display: grid; gap: 26px; }
.footer__all__body h5 { font-size: var(--fs-eyebrow); letter-spacing: .14em; color: var(--gray-400); margin-bottom: 12px; }
.footer__all__links { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px 24px; }
.footer__all__links a { font-size: var(--fs-sm); color: rgba(255, 255, 255, .65); padding-block: 5px; }
.footer__all__links a:hover { color: #fff; }
.footer__legal { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 40px; padding-block: 24px; border-top: 1px solid var(--line-dark); font-size: var(--fs-xs); color: rgba(255, 255, 255, .5); }

/* ---------- Service detail ---------- */
.hero-quote { font-style: italic; color: var(--gray-500); margin-top: 20px; font-size: 17px; max-width: 46ch; }

.speed { display: grid; grid-template-columns: 1.2fr .9fr; gap: clamp(28px, 4vw, 64px); align-items: start; }
.speed__list { background: var(--ink-2); }
.speed__list li { display: flex; align-items: center; gap: 14px; padding: 20px 24px; font-size: 17px; font-weight: 600; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.speed__list li:last-child { border-bottom: 0; }
.speed__list .n { font-size: var(--fs-xs); font-weight: 500; color: var(--gray-400); }
.speed__quote p { font-size: var(--fs-sm); color: rgba(255, 255, 255, .78); }
.speed__who { display: flex; align-items: center; gap: 10px; margin: 18px 0 20px; }
.speed__who .av { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 700; color: #fff; flex: none; }
.speed__who strong { display: block; font-size: var(--fs-sm); }
.speed__who span { font-size: 11px; color: rgba(255, 255, 255, .5); }

/* Horizontal process rail */
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); overflow-x: auto; scroll-snap-type: x mandatory; }
.rail__card { background: #fff; padding: clamp(20px, 2vw, 28px); display: flex; flex-direction: column; gap: 10px; scroll-snap-align: start; min-height: 300px; }
.rail__card .n { font-size: var(--fs-sm); color: var(--gray-400); margin-bottom: 24px; }
.rail__card h3 { font-size: 17px; font-weight: 600; }
.rail__card p { font-size: var(--fs-sm); color: var(--gray-500); }
.rail__card ul { margin-top: auto; padding-top: 12px; }
.rail__card li { font-size: var(--fs-xs); padding-left: 14px; position: relative; padding-block: 3px; }
.rail__card li::before { content: ""; position: absolute; left: 0; top: 10px; width: 4px; height: 4px; border-radius: 50%; background: var(--ink); }

/* Industry tiles: label only, pinned bottom */
.ind--tile { justify-content: flex-end; min-height: 300px; }
.ind--tile .ind__t { font-size: 17px; }

.trial { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 64px); background: #fff; border: 1px solid var(--line); padding: clamp(24px, 3vw, 44px); align-items: start; }

/* ---------- Case study detail ---------- */
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: var(--fs-xs); color: var(--gray-500); }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.cs-metrics { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-top: 0; }
.cs-metric { background: #fff; padding: clamp(22px, 2.4vw, 34px); }
.cs-metric .v { font-size: var(--fs-stat); font-weight: 700; letter-spacing: -.03em; line-height: 1; color: var(--brand-accent-deep); }
.cs-metric p { font-size: var(--fs-sm); color: var(--gray-500); margin-top: 10px; max-width: 30ch; }
.cs-block { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(28px, 4vw, 72px); align-items: start; margin-top: 12px; }
.cs-bullets li { font-size: var(--fs-sm); color: var(--gray-500); padding-left: 18px; position: relative; padding-block: 6px; }
.cs-bullets li::before { content: ""; position: absolute; left: 0; top: 15px; width: 5px; height: 5px; border-radius: 50%; background: var(--brand-accent); }

/* ---------- Misc page bits ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.filter { display: inline-flex; align-items: baseline; gap: 6px; padding: 9px 15px; border: 1px solid var(--line); font-size: var(--fs-sm); transition: background-color .15s var(--ease), color .15s var(--ease), border-color .15s var(--ease); }
.filter sup { font-size: 10px; color: var(--gray-400); }
.filter:hover { border-color: var(--ink); }
.filter.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.filter.is-active sup { color: rgba(255, 255, 255, .6); }

.svc-group { border-top: 1px solid var(--line); padding-top: 40px; margin-top: 40px; }
.svc-group__head { display: grid; grid-template-columns: 1fr 1.2fr; gap: 32px; margin-bottom: 32px; }
.svc-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.svc-list > * { background: #fff; padding: 20px; display: flex; flex-direction: column; gap: 8px; min-height: 108px; transition: background-color .15s var(--ease); }
.svc-list a:hover { background: var(--bg-2); }
.svc-list .n { font-size: var(--fs-xs); color: var(--gray-400); }
.svc-list .t { font-size: var(--fs-sm); font-weight: 600; }
.svc-list .soon { color: var(--gray-400); }

.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cards-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.card { border: 1px solid var(--line); background: #fff; padding: clamp(22px, 2.2vw, 32px); display: flex; flex-direction: column; gap: 12px; }
.card .n { font-size: var(--fs-xs); color: var(--gray-400); }
.card h3 { font-size: 19px; font-weight: 600; }
.card p { font-size: var(--fs-sm); color: var(--gray-500); }
.card ul li { font-size: var(--fs-sm); padding-left: 16px; position: relative; padding-block: 3px; }
.card ul li::before { content: ""; position: absolute; left: 0; top: 12px; width: 5px; height: 5px; border-radius: 50%; background: var(--brand-accent); }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; }
.plan { border: 1px solid var(--line); background: #fff; padding: clamp(22px, 2.2vw, 30px); display: flex; flex-direction: column; gap: 14px; }
.plan.is-featured { border-color: var(--ink); }
.plan__head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.plan__name { font-size: 20px; font-weight: 700; }
.plan__tag { font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; background: var(--brand-primary); color: #fff; padding: 4px 8px; }
.plan__spots { font-size: 10px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--brand-accent-deep); }
.plan__desc { font-size: var(--fs-sm); color: var(--gray-500); }
.plan__price { font-size: clamp(28px, 2.8vw, 38px); font-weight: 700; letter-spacing: -.03em; }
.plan__price span { font-size: var(--fs-sm); font-weight: 500; color: var(--gray-500); letter-spacing: 0; }
.plan__alt { font-size: var(--fs-xs); color: var(--gray-400); }
.plan__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.plan__actions .btn { justify-content: center; }
.plan__feats { border-top: 1px solid var(--line); padding-top: 16px; display: grid; gap: 10px; }
.plan__feats li { font-size: var(--fs-sm); padding-left: 20px; position: relative; }
.plan__feats li::before { content: "✓"; position: absolute; left: 0; color: var(--brand-accent-deep); font-size: 12px; }
.plan__quote { border-top: 1px solid var(--line); padding-top: 16px; font-size: var(--fs-xs); color: var(--gray-500); }
.plan__quote strong { display: block; color: var(--gray-900); font-size: var(--fs-sm); margin-top: 8px; }
.billing { display: inline-flex; border: 1px solid var(--line); margin-bottom: 14px; }
.billing button { padding: 11px 20px; font-size: var(--fs-sm); font-weight: 500; display: inline-flex; align-items: center; gap: 8px; }
.billing button + button { border-left: 1px solid var(--line); }
.billing button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.billing .save { font-size: 10px; font-weight: 700; color: var(--brand-accent-deep); }
.billing button[aria-pressed="true"] .save { color: var(--brand-accent-soft); }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 10px; }
.tag-cloud span { font-size: var(--fs-sm); padding: 10px 16px; border: 1px solid var(--line); background: #fff; }

/* Blog */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post { display: flex; flex-direction: column; gap: 14px; }
.post .art { height: auto; aspect-ratio: 16 / 10; }
.post__meta { display: flex; align-items: center; gap: 10px; font-size: var(--fs-xs); color: var(--gray-500); }
.post__tag { border: 1px solid var(--line); padding: 3px 9px; }
.post h3 { font-size: 17px; font-weight: 600; line-height: 1.35; }
.post__by { display: flex; align-items: center; gap: 9px; font-size: var(--fs-xs); color: var(--gray-500); margin-top: auto; padding-top: 6px; }
.post__by .av { width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 10px; font-weight: 700; }

/* Locations */
.loc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.loc { background: #fff; padding: 22px; display: flex; flex-direction: column; gap: 4px; min-height: 120px; transition: background-color .15s var(--ease); }
.loc:hover { background: var(--bg-2); }
.loc strong { font-size: 17px; font-weight: 600; }
.loc span { font-size: var(--fs-xs); color: var(--gray-500); }
.loc .go { margin-top: auto; font-size: var(--fs-xs); color: var(--brand-accent-deep); font-weight: 600; }

/* Case study detail */
.cs-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.cs-hero__body { background: #fff; padding: clamp(28px, 3vw, 48px); display: flex; flex-direction: column; gap: 16px; }
.cs-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); align-self: start; }
.cs-fact { background: #fff; padding: 24px; }
.cs-fact .k { font-size: var(--fs-xs); color: var(--gray-400); }
.cs-fact .v { font-size: 20px; font-weight: 600; margin-top: 8px; }
.prose { max-width: 74ch; display: grid; gap: 18px; }
.prose h2 { font-size: clamp(24px, 2.2vw, 32px); margin-top: 18px; }
.prose p { font-size: var(--fs-sm); color: var(--gray-500); }
.prose li { font-size: var(--fs-sm); color: var(--gray-500); padding-left: 18px; position: relative; padding-block: 3px; }
.prose li::before { content: ""; position: absolute; left: 0; top: 12px; width: 5px; height: 5px; border-radius: 50%; background: var(--brand-accent); }

.cta-band { background: var(--ink); color: #fff; }
.cta-band .lede { color: rgba(255, 255, 255, .6); }
.cta-band .btn--ghost { border-color: rgba(255, 255, 255, .25); color: #fff; }
.cta-band .btn--ghost:hover { border-color: #fff; }
.cta-band .display { max-width: 16ch; }
.cta-band__grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(28px, 4vw, 64px); align-items: end; }

/* ---------- Reveal animation ----------
   Scoped to .js so content stays visible when scripting is unavailable. */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .nav { display: none; }
  .burger { display: grid; }
  .header__cta .btn--indigo { display: none; }
  .header__cta { margin-left: auto; }
  .mega { display: none; }
  .footer__offices { grid-template-columns: repeat(3, 1fr); }
  .badges { grid-template-columns: repeat(3, 1fr); }
  .reviews { grid-template-columns: repeat(2, 1fr); }
  .reviews__score { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .review { border-bottom: 1px solid var(--line); }
  .review:nth-child(even) { border-right: 0; }
}

@media (max-width: 1024px) {
  .hero__grid { grid-template-columns: 1fr; }
  .panel { grid-template-columns: 1fr; position: static; }
  .panel__body { order: 1; }
  .mosaic { min-height: 320px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat--wide { grid-column: span 2; }
  .awards__grid { grid-template-columns: repeat(2, 1fr); }
  .industries, .vtest, .cards-3, .posts, .plans { grid-template-columns: repeat(2, 1fr); }
  .svc-list { grid-template-columns: repeat(2, 1fr); }
  .loc-grid { grid-template-columns: repeat(2, 1fr); }
  .faq-layout, .contact-layout, .cs-hero, .svc-group__head, .cta-band__grid,
  .speed, .trial, .cs-block { grid-template-columns: 1fr; }
  .rail { grid-auto-columns: minmax(230px, 78%); }
  .ceo-card { position: static; }
  .footer__top, .footer__mid { grid-template-columns: repeat(2, 1fr); }
  .cs-facts { grid-template-columns: repeat(2, 1fr); }
  .footer__all__links { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  :root { --nav-h: 64px; }
  .work, .work__card--split { grid-template-columns: 1fr; }
  .work__card--split { grid-column: auto; }
  .stats, .industries, .vtest, .cards-3, .cards-2, .posts, .plans, .badges,
  .svc-list, .loc-grid, .awards__grid, .cs-facts, .footer__offices,
  .form-row, .plan__actions, .footer__top, .footer__mid, .panel__bullets,
  .compare__cols, .reviews, .cs-metrics { grid-template-columns: 1fr; }
  .stat--wide { grid-column: auto; }
  .compare__col + .compare__col { border-left: 0; padding-left: 0; border-top: 1px solid rgba(255, 255, 255, .25); padding-top: 32px; }
  .reviews__score, .review { border-right: 0; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .team-shot { width: 190px; }
  .service-clients-logo { min-width: 150px; height: 64px; padding-inline: 18px; }
  .slider-logo { font-size: 15px; }
  .footer__all__links { grid-template-columns: 1fr; }
}
.project-screens details{margin-top:28px;border-top:1px solid #d4d4d4;padding-top:20px}
.project-screens summary{cursor:pointer;font-weight:600;padding:12px 0}
.project-screens summary:focus-visible{outline:2px solid currentColor;outline-offset:4px}
.project-screens__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin-top:24px}
.project-screens__grid figure{margin:0;min-width:0}
.project-screens__grid a{display:block;background:#e8e8e8;border-radius:12px;overflow:hidden}
.project-screens__grid img{display:block;width:100%;height:240px;object-fit:contain;object-position:top}
.project-screens__grid figcaption{padding:12px 0;font-size:14px;text-transform:capitalize;overflow-wrap:anywhere}
@media(max-width:900px){.project-screens__grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:540px){.project-screens__grid{grid-template-columns:minmax(0,1fr)}}
.cs-fact{min-width:0;overflow-wrap:anywhere}
