/* =============================================================
   MSV Group of Companies Inc.
   Design system + site styles
   ============================================================= */

/* ---------- Tokens ---------- */
:root {
  --navy: #040c76;
  --navy-700: #0a1596;
  --navy-100: #e9ebf7;
  --ink: #0b0b12;
  --ink-70: #4a4a58;
  --ink-50: #71717f;
  --paper: #ffffff;
  --paper-2: #f6f6f9;
  --hairline: #e4e4ec;

  /* brand accents */
  --klaudeville: #040c76;
  --nook: #d9542b;
  --tcgpinas: #0e7c66;
  --hub: #e0a400;
  --keeper: #1e2868;
  --eunoia: #b3607f;

  --container: 1240px;
  --gutter: clamp(20px, 5vw, 48px);
  --section: clamp(72px, 11vw, 160px);
  --radius: 4px;

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

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

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

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

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

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.02;
}
p { margin: 0 0 1.2em; }
p:last-child { margin-bottom: 0; }

::selection { background: var(--navy); color: #fff; }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: 820px; }

.section { padding-block: var(--section); }
.section--tight { padding-block: clamp(56px, 7vw, 96px); }
.section--paper2 { background: var(--paper-2); }
.section--navy { background: var(--navy); color: #fff; }

.rule { height: 1px; background: var(--hairline); border: 0; margin: 0; }

/* ---------- Type scale ---------- */
.display {
  font-size: clamp(2.9rem, 8.4vw, 7.2rem);
  letter-spacing: -0.045em;
  line-height: 0.94;
}
.h1 { font-size: clamp(2.2rem, 5.4vw, 4.2rem); }
.h2 { font-size: clamp(1.8rem, 3.8vw, 3rem); }
.h3 { font-size: clamp(1.25rem, 2.1vw, 1.7rem); letter-spacing: -0.02em; }

.eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-50);
  margin: 0 0 22px;
}
.section--navy .eyebrow { color: rgba(255, 255, 255, 0.6); }

.lede {
  font-size: clamp(1.1rem, 1.7vw, 1.4rem);
  line-height: 1.5;
  color: var(--ink-70);
  letter-spacing: -0.012em;
}
.section--navy .lede { color: rgba(255, 255, 255, 0.78); }

.muted { color: var(--ink-50); }
.measure { max-width: 62ch; }

/* ---------- Links & buttons ---------- */
.link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 650;
  letter-spacing: -0.01em;
  color: var(--navy);
  padding-bottom: 2px;
  border-bottom: 1.5px solid currentColor;
  transition: gap 0.35s var(--ease), opacity 0.25s;
}
.link:hover { gap: 15px; opacity: 0.72; }
.section--navy .link { color: #fff; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 999px;
  border: 1.5px solid var(--navy);
  background: var(--navy);
  color: #fff;
  font-weight: 650;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: transform 0.35s var(--ease), background 0.25s, color 0.25s,
    box-shadow 0.35s var(--ease);
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(4, 12, 118, 0.22);
}
.btn--ghost { background: transparent; color: var(--navy); }
.btn--ghost:hover { background: var(--navy); color: #fff; }
.section--navy .btn {
  background: #fff;
  border-color: #fff;
  color: var(--navy);
}
.section--navy .btn:hover { box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3); }

/* =============================================================
   Header
   ============================================================= */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0);
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease),
    border-color 0.4s;
  border-bottom: 1px solid transparent;
}
.site-header.is-stuck {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom-color: var(--hairline);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  height: clamp(72px, 8vw, 92px);
}
.brand img { width: clamp(168px, 22vw, 250px); }
.brand { display: block; transition: opacity 0.25s; }
.brand:hover { opacity: 0.65; }

.nav { display: flex; align-items: center; gap: 34px; }
.nav a {
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: -0.008em;
  color: var(--ink);
  position: relative;
  padding-block: 4px;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1.5px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.nav a:hover::after,
.nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--navy); }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-right: -10px;
  border: 0;
  background: none;
  cursor: pointer;
  position: relative;
}
.nav-toggle span {
  position: absolute;
  left: 11px;
  width: 22px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.4s var(--ease), opacity 0.25s;
}
.nav-toggle span:nth-child(1) { top: 18px; }
.nav-toggle span:nth-child(2) { top: 25px; }
body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }

/* =============================================================
   Hero
   ============================================================= */
.hero {
  position: relative;
  min-height: min(94vh, 900px);
  display: flex;
  align-items: flex-end;
  padding-top: 156px;
  padding-bottom: clamp(56px, 8vw, 104px);
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(60% 55% at 78% 18%, rgba(4, 12, 118, 0.16), transparent 70%),
    radial-gradient(48% 46% at 12% 72%, rgba(217, 84, 43, 0.13), transparent 70%),
    radial-gradient(45% 42% at 62% 88%, rgba(14, 124, 102, 0.12), transparent 70%),
    linear-gradient(180deg, #fdfdff 0%, #f3f4fa 100%);
}
.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--hairline) 1px, transparent 1px),
    linear-gradient(90deg, var(--hairline) 1px, transparent 1px);
  background-size: 100px 100px;
  opacity: 0.5;
  mask-image: radial-gradient(70% 70% at 50% 40%, #000, transparent 100%);
  -webkit-mask-image: radial-gradient(70% 70% at 50% 40%, #000, transparent 100%);
}
.hero__inner { width: 100%; }
.hero .display { max-width: 15ch; }
.hero .lede { max-width: 54ch; margin-top: 30px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 42px; }

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 40px;
  margin-top: clamp(48px, 7vw, 88px);
  padding-top: 26px;
  border-top: 1px solid var(--hairline);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink-50);
}

/* =============================================================
   Stat band
   ============================================================= */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--hairline);
  border-block: 1px solid var(--hairline);
}
.stat { background: var(--paper); padding: clamp(30px, 4.4vw, 52px) clamp(20px, 2.6vw, 34px); }
.stat__num {
  font-size: clamp(2.1rem, 4.4vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1;
  color: var(--navy);
}
.stat__label {
  margin: 14px 0 0;
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--ink-50);
  max-width: 22ch;
}

/* =============================================================
   Company cards
   ============================================================= */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(248px, 1fr));
  gap: clamp(28px, 3.4vw, 48px) clamp(20px, 2.4vw, 32px);
}
.cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.card { display: block; }
.card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--accent, var(--navy));
  display: grid;
  place-items: center;
  isolation: isolate;
}
.card__media::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(70% 60% at 22% 12%, rgba(255, 255, 255, 0.26), transparent 62%),
    radial-gradient(80% 70% at 88% 96%, rgba(0, 0, 0, 0.34), transparent 60%);
  z-index: 1;
}
.card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: rgba(0, 0, 0, 0);
  transition: background 0.5s var(--ease);
}
.card:hover .card__media::after { background: rgba(0, 0, 0, 0.12); }

.card__mark {
  position: relative;
  z-index: 3;
  font-size: clamp(3.4rem, 6vw, 5.2rem);
  font-weight: 800;
  letter-spacing: -0.06em;
  color: rgba(255, 255, 255, 0.94);
  transform: scale(1);
  transition: transform 0.7s var(--ease);
}
.card:hover .card__mark { transform: scale(1.07); }

.card__tag {
  position: absolute;
  z-index: 3;
  left: 20px;
  bottom: 18px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
}
.card__body { padding-top: 22px; }
.card__status {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-50);
  border: 1px solid var(--hairline);
  border-radius: 999px;
  padding: 3px 10px;
  margin-left: 8px;
  vertical-align: 3px;
}
.card--past .card__media img { filter: saturate(0.72); }
.card--past:hover .card__media img { filter: saturate(1); }
.card__title {
  font-size: 1.3rem;
  font-weight: 750;
  letter-spacing: -0.028em;
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.card__title .arrow {
  font-weight: 500;
  transform: translateX(0);
  opacity: 0;
  transition: transform 0.4s var(--ease), opacity 0.3s;
}
.card:hover .card__title .arrow { opacity: 1; transform: translateX(4px); }
.card__desc {
  margin: 10px 0 0;
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--ink-50);
  max-width: 40ch;
}

/* ---------- Card media variants ---------- */
.card__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  transform: scale(1.01);
  transition: transform 0.9s var(--ease);
}
.card:hover .card__media img { transform: scale(1.06); }
.card__media--photo::before {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.34) 0%, transparent 34%,
    transparent 52%, rgba(0, 0, 0, 0.6) 100%);
  z-index: 2;
}
.card__media--photo .card__tag { z-index: 3; }

.card__media--mark { background: var(--accent, var(--navy)); aspect-ratio: 16 / 11; }
.card__media--mark img.is-square { width: min(30%, 120px); max-height: 62%; }
.card__media--mark img {
  position: relative;
  inset: auto;
  z-index: 3;
  width: min(52%, 210px);
  max-height: 46%;
  object-fit: contain;
  height: auto;
  object-fit: contain;
  transform: none;
}
.card:hover .card__media--mark img { transform: scale(1.04); }
.card__media--portrait { aspect-ratio: 4 / 5; }
.card__media--paper { background: #fff; border: 1px solid var(--hairline); }
.card__media--paper::before { display: none; }
.card__media--paper .card__tag { color: var(--accent, var(--ink-50)); }
.card:hover .card__media--paper::after { background: rgba(0, 0, 0, 0.02); }
/* a hairline of brand colour so a wall of white panels still reads as distinct brands */
.card__media--paper::after {
  border-top: 3px solid var(--accent, var(--navy));
  opacity: 0.9;
}

/* ---------- Full-bleed photo band ---------- */
.band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: var(--hairline);
}
.band figure { margin: 0; position: relative; overflow: hidden; aspect-ratio: 5 / 4; }
.band img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.band figure:hover img { transform: scale(1.05); }
.band figcaption {
  position: absolute;
  left: 18px;
  bottom: 16px;
  z-index: 2;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.7);
}

/* ---------- Media figures & galleries ---------- */
.figure { margin: 0; }
.figure img { width: 100%; border-radius: var(--radius); }
.figure figcaption {
  margin-top: 14px;
  font-size: 13.5px;
  color: var(--ink-50);
}
.figure--tall img { aspect-ratio: 4 / 5; object-fit: cover; }
.figure--square img { aspect-ratio: 1 / 1; object-fit: cover; }
.figure--wide img { aspect-ratio: 16 / 10; object-fit: cover; }

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(14px, 1.6vw, 22px);
}
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.gallery--feature { grid-template-columns: 2fr 1fr 1fr; }
.gallery--feature > :first-child { grid-row: span 2; }
.gallery--feature > :first-child img { aspect-ratio: 4 / 5; height: 100%; }

/* ---------- Brand logo row ---------- */
.logo-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  background: var(--paper);
  border-block: 1px solid var(--hairline);
}
/* cell borders drawn per-item, so a ragged last row leaves white space, not a grey block */
.logo-row a {
  background: var(--paper);
  display: grid;
  place-items: center;
  padding: clamp(26px, 3.4vw, 44px) 20px;
  box-shadow: inset -1px 0 0 var(--hairline), inset 0 -1px 0 var(--hairline);
  transition: background 0.3s;
}
.logo-row a:hover { background: var(--paper-2); }
.logo-row img {
  max-height: 40px;
  width: auto;
  max-width: 100%;
  opacity: 0.92;
  transition: opacity 0.3s, transform 0.4s var(--ease);
}
.logo-row a:hover img { opacity: 1; transform: translateY(-2px); }
.logo-row img.is-badge { max-height: 62px; }

/* ---------- Brand lockup on detail pages ---------- */
.lockup {
  display: flex;
  width: fit-content;
  align-items: center;
  padding: 18px 26px;
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  margin-bottom: 30px;
}
.lockup img { max-height: 46px; width: auto; }
.lockup--dark { background: var(--ink); border-color: var(--ink); }

.tagline {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent, var(--navy));
  margin: 0 0 18px;
}

/* ---------- Packages ---------- */
.pkgs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1px;
  background: var(--hairline);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  overflow: hidden;
}
.pkg { background: var(--paper); padding: clamp(26px, 3vw, 38px) clamp(20px, 2.4vw, 30px); }
.pkg--featured { background: var(--navy); color: #fff; }
.pkg__name { font-size: 1.05rem; font-weight: 750; letter-spacing: -0.02em; }
.pkg__badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  margin-bottom: 12px;
}
.pkg__price {
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  margin: 16px 0 4px;
}
.pkg__price span { font-size: 0.85rem; font-weight: 600; letter-spacing: -0.01em; }
.pkg__for { font-size: 13px; color: var(--ink-50); margin: 0 0 20px; }
.pkg--featured .pkg__for { color: rgba(255, 255, 255, 0.7); }
.pkg ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.pkg li { font-size: 14.5px; line-height: 1.45; padding-left: 20px; position: relative; color: var(--ink-70); }
.pkg--featured li { color: rgba(255, 255, 255, 0.85); }
.pkg li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 10px;
  height: 1.5px;
  background: currentColor;
  opacity: 0.55;
}

/* ---------- Proof / case study ---------- */
.proof {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: clamp(28px, 3.4vw, 48px);
}
.proof__item { padding-top: 26px; border-top: 1px solid var(--hairline); }
.section--navy .proof__item { border-top-color: rgba(255, 255, 255, 0.22); }
.proof__num {
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1;
  color: var(--navy);
}
.section--navy .proof__num { color: #fff; }
.proof__item h3 { font-size: 1.05rem; margin: 16px 0 8px; }
.proof__item p { font-size: 15px; color: var(--ink-50); }
.section--navy .proof__item p { color: rgba(255, 255, 255, 0.7); }

/* ---------- Quotes ---------- */
.quote {
  font-size: clamp(1.25rem, 2.4vw, 1.9rem);
  font-weight: 600;
  letter-spacing: -0.028em;
  line-height: 1.32;
  margin: 0;
}
.quote__by {
  margin-top: 22px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-50);
}

.quotes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: clamp(28px, 3.4vw, 48px);
}
.quotes--2 { grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); }

.testimonial {
  padding-top: 26px;
  border-top: 1px solid var(--hairline);
  display: flex;
  flex-direction: column;
}
.section--navy .testimonial,
.section--paper2 .testimonial { border-top-color: var(--hairline); }
.section--navy .testimonial { border-top-color: rgba(255, 255, 255, 0.22); }

.stars {
  display: flex;
  gap: 3px;
  color: var(--accent, var(--navy));
  font-size: 13px;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}
.section--navy .stars { color: #fff; }

.testimonial blockquote {
  margin: 0;
  font-size: clamp(1rem, 1.5vw, 1.12rem);
  line-height: 1.5;
  letter-spacing: -0.012em;
  color: var(--ink);
  font-weight: 500;
}
.section--navy .testimonial blockquote { color: rgba(255, 255, 255, 0.94); }

.testimonial figcaption {
  margin-top: auto;
  padding-top: 20px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ink-50);
  line-height: 1.6;
}
.section--navy .testimonial figcaption { color: rgba(255, 255, 255, 0.55); }

/* ---------- Client logo row ---------- */
.clients {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: clamp(24px, 3vw, 48px);
  align-items: center;
}
.clients img {
  width: 100%;
  max-height: 62px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.5;
  transition: filter 0.4s var(--ease), opacity 0.4s var(--ease);
}
.clients img:hover { filter: grayscale(0); opacity: 1; }
.clients img.is-tall { max-height: 78px; }
.clients-note {
  margin-top: clamp(28px, 3vw, 40px);
  font-size: 14px;
  color: var(--ink-50);
}

/* =============================================================
   Split / feature rows
   ============================================================= */
.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}
.split--center { align-items: center; }

.stack { display: grid; gap: clamp(26px, 3vw, 40px); }

.feature {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 4px 20px;
  padding-top: 26px;
  border-top: 1px solid var(--hairline);
}
.feature__num {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--ink-50);
  padding-top: 6px;
}
.feature h3 { font-size: 1.18rem; letter-spacing: -0.024em; }
.feature p { margin: 9px 0 0; font-size: 15.5px; color: var(--ink-50); max-width: 52ch; }

/* list of plain items */
.tick-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 13px; }
.tick-list li {
  position: relative;
  padding-left: 26px;
  font-size: 16px;
  color: var(--ink-70);
}
.tick-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 12px;
  height: 1.5px;
  background: var(--accent, var(--navy));
}

/* =============================================================
   Company detail page
   ============================================================= */
.page-hero {
  padding-top: 182px;
  padding-bottom: clamp(48px, 6vw, 84px);
  background: var(--paper-2);
  border-bottom: 1px solid var(--hairline);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  right: -8%;
  top: -30%;
  width: min(58vw, 640px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--accent, var(--navy));
  opacity: 0.1;
  filter: blur(10px);
}
.page-hero .container { position: relative; }
.page-hero .lede { margin-top: 24px; max-width: 60ch; }

.crumb {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-50);
  margin-bottom: 24px;
}
.crumb a:hover { color: var(--navy); }

.factbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 44px;
  margin-top: clamp(36px, 5vw, 56px);
  padding-top: 24px;
  border-top: 1px solid var(--hairline);
}
.fact__k {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-50);
  margin: 0 0 4px;
}
.fact__v { font-size: 16px; font-weight: 650; letter-spacing: -0.012em; margin: 0; }

/* =============================================================
   Contact
   ============================================================= */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(28px, 4vw, 56px);
}
.contact-block h3 { font-size: 1.05rem; margin-bottom: 10px; }
.contact-block p { font-size: 15.5px; color: var(--ink-70); }
.contact-block a:hover { color: var(--navy); }

.form { display: grid; gap: 20px; max-width: 620px; }
.field { display: grid; gap: 8px; }
.field label {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-50);
}
.field input,
.field select,
.field textarea {
  font: inherit;
  font-size: 16px;
  color: var(--ink);
  padding: 14px 16px;
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  background: #fff;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(4, 12, 118, 0.1);
}
.form__note { font-size: 13.5px; color: var(--ink-50); }

/* =============================================================
   CTA band
   ============================================================= */
.cta { text-align: center; }
.cta .h1 { max-width: 18ch; margin-inline: auto; }
.cta .lede { max-width: 52ch; margin: 26px auto 0; }
.cta__actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; margin-top: 40px; }

/* =============================================================
   Footer
   ============================================================= */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.62);
  padding-block: clamp(56px, 7vw, 88px) 40px;
  font-size: 14.5px;
}
.site-footer a { color: rgba(255, 255, 255, 0.62); transition: color 0.25s; }
.site-footer a:hover { color: #fff; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr));
  gap: clamp(32px, 4vw, 56px);
}
.site-footer img { width: 150px; margin-bottom: 22px; }
.footer-col h4 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 32px;
  margin-top: clamp(48px, 6vw, 72px);
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.42);
}

/* =============================================================
   Scroll reveal
   ============================================================= */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.09s; }
.reveal[data-delay="2"] { transition-delay: 0.18s; }
.reveal[data-delay="3"] { transition-delay: 0.27s; }
.reveal[data-delay="4"] { transition-delay: 0.36s; }

/* =============================================================
   Responsive
   ============================================================= */
@media (max-width: 980px) {
  .split { grid-template-columns: 1fr; }
  .cards--3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .logo-row { grid-template-columns: repeat(3, 1fr); }
  .clients { grid-template-columns: repeat(3, 1fr); }
  .gallery--feature { grid-template-columns: 1fr 1fr; }
  .gallery--feature > :first-child { grid-row: auto; }
  .gallery--feature > :first-child img { aspect-ratio: 4 / 3; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav-toggle { display: block; }
  .nav {
    position: fixed;
    inset: clamp(72px, 8vw, 92px) 0 auto 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--hairline);
    padding: 8px var(--gutter) 26px;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
  }
  body.nav-open .nav { opacity: 1; transform: none; pointer-events: auto; }
  .nav a { width: 100%; padding-block: 15px; font-size: 19px; font-weight: 700; letter-spacing: -0.02em; border-bottom: 1px solid var(--hairline); }
  .nav a::after { display: none; }
  body.nav-open { overflow: hidden; }
  .hero { min-height: auto; padding-top: 128px; }
  .stats { grid-template-columns: 1fr; }
  .band { grid-template-columns: 1fr 1fr; }
  .logo-row { grid-template-columns: 1fr 1fr; }
  .clients { grid-template-columns: 1fr 1fr; gap: 30px; }
  .gallery--feature { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .footer-col ul { gap: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
