﻿/* ==========================================================================
   Invis.IT Solutions - v3 rebrand
   Warm paper, ink, cobalt. Editorial layouts, quiet technology.
   ========================================================================== */

@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/space-grotesk-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Public Sans";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("../fonts/public-sans-latin.woff2") format("woff2");
}

:root {
  --ink: #11161c;
  --ink-2: #1b232d;
  --paper: #f7f4ee;
  --paper-2: #efeae2;
  --white: #fffdfa;
  --accent: #1f3fe0;
  --accent-ink: #1630b4;
  --accent-soft: #e7eaff;
  --muted: #5c6570;
  --muted-2: #8a929b;
  --line: #ded7cc;
  --line-dark: rgba(255, 255, 255, 0.14);
  --font: "Public Sans", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --display: "Space Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --wrap: 1180px;
  --pad: clamp(20px, 4vw, 36px);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
body.is-locked { overflow: hidden; }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin: 0 0 0.55em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.5rem, 5.6vw, 4.4rem); }
h2 { font-size: clamp(1.85rem, 3.6vw, 2.9rem); }
h3 { font-size: clamp(1.1rem, 1.7vw, 1.35rem); letter-spacing: -0.01em; line-height: 1.2; }

p { margin: 0 0 1em; }
a { color: var(--accent); text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
a:hover { color: var(--accent-ink); }

ul, ol { margin: 0 0 1em; padding-left: 1.1em; }
li { margin-bottom: 0.4em; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 300;
  background: var(--ink);
  color: #fff;
  padding: 12px 18px;
  font-weight: 600;
}
.skip-link:focus { left: 0; }

/* ---------- wordmark ---------- */

.brand {
  display: inline-flex;
  flex-direction: column;
  text-decoration: none;
  flex: none;
}

.brand:hover .wordmark { color: var(--ink); }

.wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: -0.045em;
  color: var(--ink);
  text-decoration: none;
  line-height: 1;
}

.wordmark:hover { color: var(--ink); }
.wordmark .dot { color: var(--accent); }
.wordmark .tld { color: var(--ink); }
.wordmark__sub {
  display: block;
  font-family: var(--font);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-top: 6px;
}

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 244, 238, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 80px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: auto;
}

.nav a {
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  padding: 6px 0;
  border-bottom: 1.5px solid transparent;
}

.nav a:hover { border-bottom-color: var(--accent); color: var(--ink); }
.nav a.is-active { border-bottom-color: var(--ink); }

.header__actions { display: flex; align-items: center; gap: 14px; }

.header__phone {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}
.header__phone:hover { color: var(--accent); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 22px;
  border-radius: 2px;
  border: 1.5px solid transparent;
  font-family: var(--display);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.18s var(--ease), color 0.18s var(--ease), border-color 0.18s var(--ease), transform 0.18s var(--ease);
}

.btn:hover { transform: translateY(-1px); }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: var(--accent); color: #fff; }
.btn--accent { background: var(--accent); color: #fff; }
.btn--accent:hover { background: var(--accent-ink); color: #fff; }
.btn--line { border-color: var(--ink); color: var(--ink); }
.btn--line:hover { background: var(--ink); color: var(--paper); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--ink); color: #fff; }

.btn--ghost-light { border-color: rgba(255, 255, 255, 0.4); color: #fff; }

.btn--ghost-light:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  border: 1.5px solid var(--ink);
  border-radius: 2px;
  background: transparent;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.nav-toggle span { display: block; width: 20px; height: 1.5px; background: var(--ink); position: relative; }
.nav-toggle span::before,
.nav-toggle span::after { content: ""; position: absolute; left: 0; width: 20px; height: 1.5px; background: var(--ink); }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--ink);
  color: var(--paper);
  display: none;
  flex-direction: column;
  padding: 22px var(--pad) 40px;
  overflow-y: auto;
}

.mobile-menu.is-open { display: flex; }

.mobile-menu__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.mobile-menu .wordmark { color: var(--paper); }
.mobile-menu .wordmark .dot { color: #6f86ff; }
.mobile-menu .wordmark .tld { color: var(--paper); }

.mobile-menu__close {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  width: 42px;
  height: 42px;
  font-size: 1.3rem;
  line-height: 1;
  border-radius: 2px;
  cursor: pointer;
}

.mobile-menu__links { display: flex; flex-direction: column; }
.mobile-menu__links a {
  color: var(--paper);
  text-decoration: none;
  font-family: var(--display);
  font-size: 1.9rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.mobile-menu__foot { margin-top: auto; padding-top: 30px; color: rgba(255, 255, 255, 0.65); font-size: 0.9rem; }
.mobile-menu__foot a { color: #fff; }

/* ---------- typography helpers ---------- */

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 18px;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex: none;
}

.eyebrow--light { color: rgba(255, 255, 255, 0.6); }
.eyebrow--light::before { background: #6f86ff; }

.lead { font-size: clamp(1.06rem, 1.5vw, 1.2rem); color: var(--muted); max-width: 62ch; }

.section { padding: clamp(56px, 8vw, 96px) 0; }
.section--tight { padding: clamp(36px, 5vw, 56px) 0; }
.section--paper2 { background: var(--paper-2); }
.section--dark { background: var(--ink); color: var(--paper); }
.section--dark h2, .section--dark h3 { color: var(--paper); }
.section--dark p, .section--dark li { color: rgba(255, 255, 255, 0.72); }
.section--dark .lead { color: rgba(255, 255, 255, 0.7); }
.section--dark .eyebrow { color: rgba(255, 255, 255, 0.55); }
.section--dark a:not(.btn) { color: #9fb0ff; }

.section__head { max-width: 70ch; margin-bottom: clamp(30px, 4vw, 50px); }
.section__head p { color: var(--muted); }
.section--dark .section__head p { color: rgba(255, 255, 255, 0.7); }

/* ---------- hero ---------- */

.hero { padding: clamp(48px, 7vw, 92px) 0 clamp(40px, 6vw, 72px); border-bottom: 1px solid var(--line); }

.hero__grid {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.hero h1 { margin-bottom: 0.35em; }
.hero h1 em {
  font-style: normal;
  color: var(--accent);
}

.hero__lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--muted); max-width: 46ch; }

.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.hero__note {
  margin-top: 26px;
  font-size: 0.85rem;
  color: var(--muted-2);
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero__note::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
}

.panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 26px;
}

.panel__title {
  font-family: var(--display);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 16px;
}

.panel__list { list-style: none; margin: 0; padding: 0; }

.panel__list li {
  display: grid;
  gap: 3px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  margin: 0;
}

.panel__list li:first-child { border-top: 0; padding-top: 0; }

.panel__list strong {
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.panel__list span { font-size: 0.88rem; color: var(--muted); }

.panel__foot {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.9rem;
}

.panel__foot a { font-weight: 600; }

/* dot grid motif */
.dotgrid {
  display: grid;
  grid-template-columns: repeat(6, 10px);
  gap: 10px;
  margin-top: 22px;
}

.dotgrid i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--line);
}

.dotgrid i.on { background: var(--accent); }

/* ---------- two-up ---------- */

.duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.duo__card {
  position: relative;
  display: block;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: clamp(24px, 3vw, 38px);
  text-decoration: none;
  color: var(--ink);
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.duo__card:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
  box-shadow: 0 20px 40px -32px rgba(17, 22, 28, 0.5);
  color: var(--ink);
}

.duo__card h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin-bottom: 0.35em; }
.duo__card p { color: var(--muted); margin-bottom: 20px; }
.duo__card .arrow { font-family: var(--display); font-size: 0.9rem; font-weight: 500; color: var(--accent); }
.duo__card .arrow::after { content: " \2192"; }

/* ---------- service rows ---------- */

.rows { border-top: 1px solid var(--line); }

.row {
  display: grid;
  grid-template-columns: 58px 1.1fr 1.4fr;
  gap: 20px;
  align-items: baseline;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: var(--ink);
  transition: background 0.18s var(--ease), padding 0.18s var(--ease);
}

a.row:hover { background: var(--paper-2); padding-left: 10px; padding-right: 10px; color: var(--ink); }

.row__num {
  font-family: var(--display);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  color: var(--muted-2);
}

.row__title { font-family: var(--display); font-size: clamp(1.15rem, 2vw, 1.5rem); font-weight: 500; letter-spacing: -0.02em; }
.row__desc { color: var(--muted); font-size: 0.95rem; }

.section--dark .rows { border-top-color: var(--line-dark); }
.section--dark .row { border-bottom-color: var(--line-dark); color: var(--paper); }
.section--dark a.row:hover { background: rgba(255, 255, 255, 0.04); color: var(--paper); }
.section--dark .row__num { color: rgba(255, 255, 255, 0.4); }
.section--dark .row__desc { color: rgba(255, 255, 255, 0.65); }

/* ---------- split ---------- */

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

.split--wide-left { grid-template-columns: 1.2fr 0.8fr; }
.split__media img { border-radius: 3px; width: 100%; }

/* ---------- steps ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  counter-reset: step;
}

.step {
  border-top: 2px solid var(--ink);
  padding-top: 18px;
}

.step__num {
  font-family: var(--display);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: 10px;
}

.step h3 { font-size: 1.15rem; margin-bottom: 0.35em; }
.step p { color: var(--muted); font-size: 0.95rem; margin: 0; }

.section--dark .step { border-top-color: rgba(255, 255, 255, 0.5); }
.section--dark .step__num { color: #9fb0ff; }

/* ---------- facts ---------- */

.fact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.fact { border-top: 1px solid var(--line); padding-top: 16px; }
.section--dark .fact { border-top-color: var(--line-dark); }

.fact strong {
  display: block;
  font-family: var(--display);
  font-size: clamp(1.6rem, 2.8vw, 2.3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 8px;
}

.section--dark .fact strong { color: var(--paper); }

.fact span { font-size: 0.85rem; color: var(--muted); }
.section--dark .fact span { color: rgba(255, 255, 255, 0.6); }

/* ---------- checks ---------- */

.checks { list-style: none; padding: 0; margin: 0; }

.checks li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 10px;
  color: var(--muted);
}

.section--dark .checks li { color: rgba(255, 255, 255, 0.75); }

.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 11px;
  height: 6px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}

.section--dark .checks li::before { border-color: #8f9dff; }

/* ---------- cards ---------- */

.cards { display: grid; gap: 20px; }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.cards--2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 26px;
}

.card h3 { font-size: 1.15rem; margin-bottom: 0.4em; }
.card p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.card ul { margin: 0; color: var(--muted); font-size: 0.95rem; }

/* ---------- cta ---------- */

.cta { background: var(--accent); color: #fff; }
.cta p { color: rgba(255, 255, 255, 0.82); }
.cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  padding: clamp(44px, 6vw, 72px) 0;
}
.cta h2 { margin-bottom: 0.25em; }
.cta p { margin: 0; color: rgba(255, 255, 255, 0.68); }
.cta__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- footer ---------- */

.site-footer { background: var(--paper); border-top: 1px solid var(--line); padding: clamp(44px, 6vw, 66px) 0 0; }

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.1fr;
  gap: clamp(24px, 4vw, 46px);
  padding-bottom: 44px;
}

.footer__brand p { color: var(--muted); font-size: 0.92rem; max-width: 34ch; margin-top: 14px; }

.site-footer h4 {
  font-family: var(--display);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 14px;
}

.footer__links { list-style: none; padding: 0; margin: 0; font-size: 0.93rem; }
.footer__links li { margin-bottom: 8px; }
.footer__links a { color: var(--ink); text-decoration: none; }
.footer__links a:hover { color: var(--accent); }

.footer__meta { font-size: 0.9rem; color: var(--muted); }
.footer__meta a { color: var(--ink); text-decoration: none; font-weight: 500; }
.footer__meta a:hover { color: var(--accent); }

.footer__bottom {
  border-top: 1px solid var(--line);
  padding: 18px 0 24px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: var(--muted-2);
}

/* ---------- page hero (interior) ---------- */

.page-head {
  padding: clamp(44px, 6vw, 76px) 0 clamp(30px, 4vw, 46px);
  border-bottom: 1px solid var(--line);
}

.page-head h1 { max-width: 18ch; }
.page-head p { color: var(--muted); max-width: 62ch; margin-bottom: 0; font-size: 1.08rem; }

/* ---------- form ---------- */

.form { background: var(--white); border: 1px solid var(--line); border-radius: 3px; padding: clamp(22px, 3vw, 34px); }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }

.field label {
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.field input,
.field select,
.field textarea {
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 12px 14px;
  width: 100%;
}

.field textarea { min-height: 150px; resize: vertical; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
  background: #fff;
}

.form__actions { margin-top: 20px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.form__hint { font-size: 0.84rem; color: var(--muted-2); margin: 0; }
.form__status { flex-basis: 100%; margin: 0; font-size: 0.92rem; font-weight: 600; }

/* ---------- contact list ---------- */

.contact-list { list-style: none; padding: 0; margin: 0; }

.contact-list li {
  padding: 16px 0;
  border-top: 1px solid var(--line);
  margin: 0;
  display: grid;
  gap: 2px;
}

.contact-list li:last-child { border-bottom: 1px solid var(--line); }
.contact-list b { font-family: var(--display); font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-2); font-weight: 500; }
.contact-list a, .contact-list span { font-size: 1.02rem; }

/* ---------- reveal ---------- */

.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.55s var(--ease), transform 0.55s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .btn:hover, .duo__card:hover { transform: none; }
}

/* ---------- responsive ---------- */

@media (max-width: 1040px) {
  .nav { gap: 16px; }
  .nav a { font-size: 0.85rem; }
  .header__phone { display: none; }
}

@media (max-width: 900px) {
  .nav { display: none; }
  .nav-toggle { display: flex; }
  .header__actions .btn { display: none; }
  .hero__grid { grid-template-columns: 1fr; }
  .duo, .split, .cards--3, .cards--2 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 26px; }
  .fact-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .row { grid-template-columns: 44px 1fr; }
  .row__desc { grid-column: 2 / -1; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .form__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .fact-grid { grid-template-columns: 1fr 1fr; gap: 18px; }
  .cta__inner { flex-direction: column; align-items: flex-start; }
}

@media print {
  .site-header, .site-footer, .cta, .btn, .nav-toggle { display: none !important; }
  body { background: #fff; color: #000; }
}


/* new brand logo: outline shield + ROG wordmark + earth period */
.brand__logo{display:block;height:46px;width:auto}
.mobile-menu .brand__logo{height:42px;max-width:none}
.footer__brand .brand__logo{height:54px;margin-bottom:16px}
@media (max-width:560px){.brand__logo{height:40px}}

/* ===== cobalt accent pass ===== */
.site-header { border-top: 3px solid var(--accent); }
.nav a.is-active { border-bottom-color: var(--accent); }
.section__head h2 { position: relative; padding-bottom: 16px; }
.section__head h2::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 56px; height: 4px; border-radius: 2px; background: var(--accent);
}
.section--dark .section__head h2::after { background: #6f86ff; }
.duo__card, .card, .panel { border-top: 3px solid var(--accent); }
.duo__card:hover, .card:hover { border-color: var(--accent); }
.fact strong { color: var(--accent); }
.section--dark .fact strong { color: #9fb0ff; }
.step__num { color: var(--accent); }
.section--dark .step__num { color: #9fb0ff; }
.row__num { color: var(--accent); }
.section--dark .row__num { color: #9fb0ff; }
.btn--line { border-color: var(--accent); color: var(--accent); }
.btn--line:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.site-footer { border-top: 2px solid var(--accent); }

.ai-cta{ margin-top: 28px; max-width: 62ch; }


/* ---------- imagery ---------- */
.media-band{ overflow: hidden; }
.media-band img{ display:block; width:100%; height:clamp(200px, 28vw, 340px); object-fit:cover; }
.duo__img{ display:block; width:100%; height:clamp(140px, 18vw, 190px); object-fit:cover; border-radius:3px; margin-bottom:20px; }
.ai-media{ border-radius:3px; overflow:hidden; margin-bottom:clamp(24px, 4vw, 44px); }
.ai-media img{ display:block; width:100%; height:clamp(180px, 24vw, 300px); object-fit:cover; }

/* image aspect tweaks (real job photos) */
.duo__img { height: auto; aspect-ratio: 3 / 2; }
.ai-media img { height: auto; aspect-ratio: 5 / 2; }
.media-band img { height: auto; aspect-ratio: 16 / 5; min-height: 220px; }


/* ---------- clients strip ---------- */
.clients__title{ font-family:var(--display); font-size:clamp(1.4rem,2.4vw,2rem); letter-spacing:-0.02em; margin:0 0 26px; }
.client-list{ list-style:none; padding:0; margin:0; display:grid; grid-template-columns:repeat(4,1fr); gap:0 26px; border-top:1px solid var(--line); }
.client-list li{ border-bottom:1px solid var(--line); }
.client-list a{ display:flex; align-items:center; justify-content:space-between; gap:10px; padding:16px 2px; color:var(--ink); text-decoration:none; font-family:var(--display); font-weight:500; font-size:1.02rem; letter-spacing:-0.01em; transition:color .18s var(--ease); }
.client-list a::after{ content:"\2197"; color:var(--accent); font-size:.9em; }
.client-list a:hover{ color:var(--accent); }
@media (max-width:900px){ .client-list{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:520px){ .client-list{ grid-template-columns:1fr; } }


/* ---------- client logo bar ---------- */
.logo-bar{ display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:26px 40px; background:#fff; border:1px solid var(--line); border-radius:4px; padding:26px 34px; }
.logo-bar a{ display:flex; align-items:center; justify-content:center; flex:0 0 auto; text-decoration:none; }
.logo-bar img{ display:block; height:40px; width:auto; max-width:150px; object-fit:contain; filter:grayscale(1); opacity:.72; transition:filter .2s var(--ease), opacity .2s var(--ease); }
.logo-bar a:hover img, .logo-bar a:focus-visible img{ filter:none; opacity:1; }
@media (max-width:760px){ .logo-bar{ justify-content:center; gap:22px 30px; padding:22px; } .logo-bar img{ height:34px; max-width:120px; } }


.brand { flex-direction: row; align-items: center; gap: 10px; }
.brand__mark { display: block; width: 58px; height: 58px; flex: none; }
.brand__wordmark { display: block; height: 46px; width: auto; }
@media (max-width: 560px) {
  .brand__mark { width: 48px; height: 48px; }
  .brand__wordmark { height: 40px; }
}
