/* ============================================================
   Home page
   ============================================================ */

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 460px; display: flex; align-items: center; overflow: hidden;
  background: linear-gradient(135deg, var(--blue-800), var(--blue-900));
}
.hero__video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  mix-blend-mode: luminosity; opacity: 0.85;
}
.hero__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(15,20,36,0.9) 0%, rgba(15,20,36,0.55) 55%, rgba(15,20,36,0.25) 100%);
}
.hero__content { position: relative; width: 100%; padding-top: 56px; padding-bottom: 96px; }
.hero__eyebrow {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.16em; color: var(--blue-300);
  text-transform: uppercase; margin-bottom: 20px; display: flex; gap: 16px; align-items: center;
}
.hero__eyebrow::before { content: ""; width: 30px; height: 2px; background: var(--blue-300); flex: none; }
.hero__title {
  font-size: clamp(34px, 5vw, 50px); line-height: 1.08; font-weight: 600; letter-spacing: -0.02em;
  color: #fff; margin: 0 0 18px; max-width: 660px; text-wrap: balance;
}
.hero__title em { font-style: normal; color: var(--blue-300); }
.hero__lede { font-size: 16px; line-height: 1.6; color: #cdd3e2; max-width: 480px; margin: 0 0 28px; text-wrap: pretty; }

/* ---------- Spec bar (title block) ---------- */
.specbar-wrap { position: relative; z-index: 2; margin-top: -48px; }
.specbar {
  border: 1.5px solid var(--blue-500); background: #fff; margin: 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, calc(50% - 1px)), 1fr));
  font-family: var(--font-mono); box-shadow: 0 12px 30px rgba(31,39,64,0.10);
}
.specbar__cell { padding: 16px 22px; border-right: 1px solid #d6deef; }
.specbar__cell:last-child { border-right: 0; }
.specbar dt { font-size: 10px; letter-spacing: 0.12em; color: #7a818c; text-transform: uppercase; margin-bottom: 6px; }
.specbar dd { font-size: 14px; color: var(--blue-900); margin: 0; }

/* ---------- Clients ---------- */
.clients { padding-top: 52px; }
.clients__label {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.18em; color: #7a818c;
  text-transform: uppercase; margin: 0 0 18px; text-align: center; font-weight: 400;
}
.clients__grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(min(180px, calc(50% - 1px)), 1fr));
  border-top: 1px solid #d6deef; border-left: 1px solid #d6deef; background: #fff;
}
.clients__grid li {
  height: 76px; display: flex; align-items: center; justify-content: center; padding: 12px 18px;
  border-right: 1px solid #d6deef; border-bottom: 1px solid #d6deef;
}
.clients__grid img {
  max-width: 100%; width: auto; object-fit: contain;
  filter: grayscale(1); opacity: 0.66; transition: filter 180ms ease, opacity 180ms ease;
}
.clients__grid img:hover { filter: grayscale(0); opacity: 1; }

/* ---------- 01 Services ---------- */
.services { padding-top: 68px; padding-bottom: 76px; }
.svc { display: flex; flex-wrap: wrap; gap: 40px 56px; align-items: center; }
.svc[hidden] { display: none; }
.svc__text { flex: 1 1 340px; }
.svc__kicker {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; color: var(--blue-500);
  text-transform: uppercase; margin-bottom: 12px;
}
.svc__title { font-size: 26px; font-weight: 600; color: var(--ink-900); margin: 0 0 14px; }
.svc__desc { font-size: 15px; line-height: 1.75; color: var(--ink-600); margin: 0 0 28px; max-width: 500px; text-wrap: pretty; }
.svc__figure {
  flex: 1 1 380px; position: relative; aspect-ratio: 5 / 4; margin: 0;
  border: 1.5px solid var(--blue-500); overflow: hidden; background: #f8f8f8;
}
.svc__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: center; }

/* ---------- 02 Process ---------- */
.process { padding: 68px clamp(20px, 4vw, 44px) 76px; background: var(--surface-lavender); }
.process .sec-head__rule { background: #cdd5ea; }
.process__intro { font-size: 15px; line-height: 1.7; color: var(--ink-600); max-width: 560px; margin: 0 0 32px; text-wrap: pretty; }
.process__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.pcard {
  background: #fff; border: 1px solid #d6deef; border-top: 3px solid var(--blue-500);
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.pcard:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(31,39,64,0.12); }
.pcard__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: linear-gradient(135deg, var(--blue-700), var(--blue-500)); }
.pcard__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.pcard__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,20,36,0) 50%, rgba(15,20,36,0.72) 100%); }
.pcard__n { position: absolute; left: 18px; top: 14px; font-family: var(--font-mono); font-size: 11px; color: rgba(255,255,255,0.92); }
.pcard__title { position: absolute; left: 18px; bottom: 14px; margin: 0; font-size: 22px; font-weight: 600; color: #fff; white-space: nowrap; }
.pcard__lines { list-style: none; margin: 0; padding: 14px 18px; display: flex; flex-direction: column; gap: 6px; }
.pcard__lines li { font-size: 13.5px; color: var(--ink-600); display: flex; gap: 10px; align-items: baseline; }
.pcard__lines li::before { content: ""; width: 6px; height: 6px; background: var(--blue-500); flex: none; transform: translateY(-2px); }

/* ---------- 03 Development ---------- */
.dev { position: relative; padding: 68px clamp(20px, 4vw, 44px); background: var(--blue-900); overflow: hidden; }
.dev__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; mix-blend-mode: luminosity; opacity: 0.16; }
.dev__inner { position: relative; display: flex; flex-wrap: wrap; gap: 48px 64px; align-items: flex-start; }
.dev__text { flex: 1 1 340px; }
.dev__eyebrow { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.16em; color: var(--blue-300); text-transform: uppercase; margin-bottom: 12px; }
.dev__title { font-size: 30px; font-weight: 600; letter-spacing: -0.02em; color: #fff; margin: 0 0 16px; line-height: 1.15; }
.dev__desc { font-size: 15px; line-height: 1.75; color: var(--blue-200); margin: 0 0 28px; text-wrap: pretty; }
.dev__list-wrap { flex: 1.2 1 400px; }
.dev__list-label { font-size: 14px; color: #cdd3e2; margin: 0 0 14px; }
.dev__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; border-top: 1px solid rgba(255,255,255,0.14); }
.dev__list li {
  display: grid; grid-template-columns: 44px minmax(0, 1fr); align-items: center;
  padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,0.14);
}
.dev__list .n { font-family: var(--font-mono); font-size: 12px; color: var(--blue-300); }
.dev__list .t { font-size: 15px; color: #fff; }
