/* =========================================================
   Modern Edge Construction — Version B "Apple Pro Dark"
   ========================================================= */

:root {
  --black: #000;
  --band-1: #0b0b0d;
  --band-2: #161617;
  --surface: #1c1c1e;
  --surface-2: #2c2c2e;
  --line: rgba(255, 255, 255, 0.12);
  --line-soft: rgba(255, 255, 255, 0.07);
  --text: #f5f5f7;
  --text-2: #a1a1a6;   /* 7.9:1 on #000 */
  --text-3: #86868b;   /* 5.6:1 on #000 */
  --blue: #0a84ff;
  --blue-hover: #409cff;
  --link: #2997ff;
  --titanium: linear-gradient(100deg, #f1f2f4 0%, #c9ced6 28%, #9aa6b8 52%, #8fb4e6 76%, #5aa0ff 100%);
  --font: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1100px;
  --gutter: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
  --gnav-h: 48px;
  --lnav-h: 52px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--lnav-h) + 8px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--black);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.47;
  letter-spacing: -0.012em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img, video, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, p, dl, dd, ol, ul, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; }

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

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 1000;
  background: var(--blue); color: #fff; padding: 10px 16px; border-radius: 980px; font-weight: 600;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 10px; text-decoration: none; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.band-black { background: var(--black); }
.band-0 { background: var(--black); }
.band-1 { background: var(--band-1); }
.band-2 { background: var(--band-2); }

/* Titanium gradient text */
.ti {
  background: var(--titanium);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #c9ced6;
}

/* ---------- Type ---------- */
.eyebrow {
  font-size: clamp(15px, 1.4vw, 19px); font-weight: 600; color: var(--text-2);
  letter-spacing: -0.01em; margin-bottom: 10px;
}
.section-head {
  font-size: clamp(40px, 7vw, 80px);
  line-height: 1.04;
  font-weight: 700;
  letter-spacing: -0.035em;
  max-width: 15ch;
}
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; max-width: 18ch; }
.section-lede {
  margin-top: 20px;
  font-size: clamp(19px, 2vw, 24px);
  line-height: 1.35;
  font-weight: 500;
  color: var(--text-2);
  max-width: 36ch;
  letter-spacing: -0.015em;
}
.section-lede--center { text-align: center; margin-left: auto; margin-right: auto; }
.body-sm { font-size: 15px; color: var(--text-2); line-height: 1.5; }
.fine { font-size: 12px; color: var(--text-3); letter-spacing: 0.01em; font-weight: 500; }
.center { text-align: center; }

/* ---------- Pills ---------- */
.pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 44px; padding: 10px 22px;
  border-radius: 980px; border: 1px solid transparent;
  background: var(--blue); color: #fff;
  font-size: 17px; font-weight: 500; letter-spacing: -0.01em; line-height: 1.2;
  cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}
.pill:hover { background: var(--blue-hover); text-decoration: none; }
.pill--ghost { background: transparent; color: var(--text); border-color: rgba(255,255,255,.4); }
.pill--ghost:hover { background: rgba(255,255,255,.08); border-color: #fff; }
.pill--sm { min-height: 30px; padding: 5px 14px; font-size: 13px; font-weight: 500; }
.pill--lg { min-height: 52px; padding: 14px 28px; font-size: 18px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.cta-row--center { justify-content: center; }
.link-btn {
  background: none; border: 0; padding: 0; color: var(--link); cursor: pointer; font-size: inherit; text-align: left;
}
.link-btn:hover { text-decoration: underline; }

/* ---------- Global nav ---------- */
.gnav {
  position: relative; z-index: 60;
  background: rgba(22, 22, 23, 0.8);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
}
.gnav-inner {
  max-width: 1024px; margin: 0 auto; height: var(--gnav-h);
  padding: 0 var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.gnav-brand { display: inline-flex; align-items: center; gap: 8px; color: var(--text); font-size: 14px; font-weight: 600; letter-spacing: -0.01em; }
.gnav-brand:hover { text-decoration: none; }
.gnav-menu { display: flex; align-items: center; gap: clamp(14px, 2.2vw, 32px); }
.gnav-menu a { color: rgba(245,245,247,.82); font-size: 12px; letter-spacing: -0.005em; transition: color .2s; }
.gnav-menu a:hover { color: #fff; text-decoration: none; }
.gnav-menu .gnav-phone { color: var(--text); font-weight: 600; }
.gnav-toggle {
  display: none; width: 44px; height: 44px; margin-right: -12px;
  background: none; border: 0; cursor: pointer; position: relative;
}
.gnav-toggle-bars, .gnav-toggle-bars::before {
  position: absolute; left: 13px; width: 18px; height: 1.5px; background: var(--text); border-radius: 2px;
  transition: transform .3s var(--ease), top .3s var(--ease);
}
.gnav-toggle-bars { top: 18px; }
.gnav-toggle-bars::before { content: ""; left: 0; top: 7px; }
.gnav.is-open .gnav-toggle-bars { top: 21.5px; transform: rotate(45deg); }
.gnav.is-open .gnav-toggle-bars::before { top: 0; transform: rotate(-90deg); }

@media (max-width: 833px) {
  .gnav-toggle { display: block; }
  .gnav-menu {
    position: absolute; left: 0; right: 0; top: var(--gnav-h);
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px var(--gutter) 28px;
    background: rgba(22,22,23,.97);
    -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s .25s;
    height: calc(100vh - var(--gnav-h)); height: calc(100dvh - var(--gnav-h)); overflow-y: auto;
  }
  .gnav.is-open .gnav-menu { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .gnav-menu a { display: block; font-size: 24px; font-weight: 600; padding: 10px 0; color: var(--text); letter-spacing: -0.02em; }
  .gnav-menu .gnav-phone { color: var(--link); }
}

/* ---------- Local nav ---------- */
.lnav {
  position: sticky; top: 0; z-index: 50;
  height: var(--lnav-h);
  background: rgba(0, 0, 0, 0.72);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line-soft);
  transition: background-color .3s var(--ease), border-color .3s var(--ease);
}
.lnav.is-stuck { background: rgba(22, 22, 23, 0.82); border-bottom-color: var(--line); }
.lnav-inner {
  max-width: calc(980px + var(--gutter) * 2); margin: 0 auto; height: 100%;
  padding: 0 var(--gutter);
  display: flex; align-items: center; gap: 24px;
}
.lnav-title { color: var(--text); font-size: 21px; font-weight: 600; letter-spacing: -0.02em; margin-right: auto; }
.lnav-title:hover { text-decoration: none; }
.lnav-links { display: flex; gap: 24px; }
.lnav-links a { color: rgba(245,245,247,.8); font-size: 12px; }
.lnav-links a:hover { color: #fff; text-decoration: none; }
@media (max-width: 733px) {
  .lnav-links { display: none; }
  .lnav-title { font-size: 19px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: min(92vh, 980px); min-height: min(92svh, 980px);
  display: flex; align-items: flex-end;
  padding: 120px 0 clamp(40px, 7vh, 80px);
  background: #000;
}
.hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-video { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.hero-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,0) 28%),
    linear-gradient(0deg, #000 0%, rgba(0,0,0,.82) 26%, rgba(0,0,0,.25) 62%, rgba(0,0,0,.1) 100%);
}
.hero-content { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); text-align: center; }
.hero-title {
  font-size: clamp(38px, 11vw, 136px);
  line-height: 0.98;
  font-weight: 700;
  letter-spacing: -0.045em;
}
.hero-title .ti { display: inline-block; padding-bottom: 0.06em; }
.hero-sub {
  margin: 20px auto 0; max-width: 30ch;
  font-size: clamp(19px, 2.2vw, 26px); line-height: 1.3; font-weight: 500; color: #d2d2d7; letter-spacing: -0.015em;
}
.hero .cta-row { justify-content: center; }
.hero-meta {
  margin: clamp(36px, 6vh, 64px) auto 0; max-width: 820px;
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
}
.hero-meta > div { padding: 14px 8px 0; }
.hero-meta dt { font-size: 12px; color: var(--text-3); }
.hero-meta dd { font-size: 14px; font-weight: 600; color: var(--text); margin-top: 2px; }
@media (max-width: 600px) {
  .hero-meta { grid-template-columns: repeat(2, 1fr); row-gap: 14px; }
}
.hero-pause {
  position: absolute; right: var(--gutter); top: 20px;
  width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(66,66,69,.6); border: 0; color: #fff; cursor: pointer;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.hero-pause:hover { background: rgba(90,90,94,.8); }
.hero-pause .i-play { display: none; }
.hero-pause.is-paused .i-play { display: block; }
.hero-pause.is-paused .i-pause { display: none; }

/* ---------- Reveal motion ---------- */
.js .reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.js .reveal--scale { transform: scale(.94); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .section-head.reveal { transform: translateY(36px) scale(.97); transform-origin: left bottom; }
.js .section-head--center.reveal { transform-origin: center bottom; }
.js .section-head.reveal.is-in { transform: none; }

/* ---------- Sections ---------- */
section { padding: clamp(80px, 12vw, 160px) 0; }


.statement-text {
  font-size: clamp(28px, 4.6vw, 56px); line-height: 1.12; font-weight: 700; letter-spacing: -0.03em;
  max-width: 22ch;
}
.statement-text .dim { color: #6e6e73; display: block; margin-top: 0.3em; }

/* ---------- Highlights carousel ---------- */
.highlights { overflow: hidden; }
.carousel { margin-top: clamp(40px, 6vw, 64px); }
.carousel-track {
  --peek: max(var(--gutter), calc((100vw - var(--wrap)) / 2));
  display: flex; gap: 20px;
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--peek);
  padding: 4px var(--peek) 8px;
  scrollbar-width: none;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track:focus-visible { outline-offset: -2px; border-radius: 0; }
.hl-card {
  position: relative; flex: 0 0 auto;
  width: min(82vw, 372px); height: clamp(500px, 62vw, 680px);
  border-radius: 28px; overflow: hidden;
  background: var(--band-2);
  scroll-snap-align: start;
  display: flex; flex-direction: column; justify-content: flex-end;
}
.hl-card picture { position: absolute; inset: 0; }
.hl-card picture img { width: 100%; height: 100%; object-fit: cover; }
.hl-card::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(0deg, rgba(0,0,0,.92) 0%, rgba(0,0,0,.6) 38%, rgba(0,0,0,0) 65%);
}
.hl-copy { position: relative; z-index: 1; padding: 28px 28px 30px; padding-right: 72px; }
.hl-kicker { font-size: 12px; font-weight: 600; color: var(--text-2); letter-spacing: 0.02em; text-transform: uppercase; margin-bottom: 6px; }
.hl-copy h3 { font-size: clamp(24px, 2.4vw, 28px); line-height: 1.12; font-weight: 700; letter-spacing: -0.025em; }
.hl-copy p:not(.hl-kicker) { margin-top: 8px; font-size: 15px; line-height: 1.45; color: #d2d2d7; }
.hl-plus {
  position: absolute; right: 22px; bottom: 26px;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(66,66,69,.75); border: 0; color: #fff;
  font-size: 24px; font-weight: 400; line-height: 1; cursor: pointer;
  display: grid; place-items: center; padding-bottom: 3px;
  transition: background-color .2s, transform .3s var(--ease);
}
.hl-plus:hover { background: var(--blue); transform: rotate(90deg); }
.hl-card--type { background: radial-gradient(120% 80% at 20% 10%, #1f2a3a 0%, #111214 55%, #0b0b0d 100%); }
.hl-card--type::after { background: none; }
.hl-type {
  position: absolute; inset: 28px 28px auto; display: flex; flex-wrap: wrap; gap: 4px 12px;
  font-size: clamp(30px, 3.4vw, 40px); font-weight: 700; letter-spacing: -0.035em; line-height: 1.1;
}
.hl-type span { background: var(--titanium); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: #c9ced6; }
.hl-type span:nth-child(even) { opacity: .45; }
.carousel-controls {
  display: flex; justify-content: flex-end; gap: 16px;
  max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 24px auto 0; padding: 0 var(--gutter);
}
.round-btn {
  width: 40px; height: 40px; border-radius: 50%; border: 0;
  display: grid; place-items: center; cursor: pointer;
  background: var(--surface-2); color: #e8e8ed;
  transition: background-color .2s, opacity .2s;
}
.round-btn:hover:not(:disabled) { background: #3a3a3c; }
.round-btn:disabled { opacity: .36; cursor: default; }

/* ---------- Compare ---------- */
.cmp-grid {
  margin-top: clamp(48px, 7vw, 88px);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px);
}
.cmp-col { text-align: center; display: flex; flex-direction: column; align-items: center; }
.cmp-media { width: 100%; aspect-ratio: 4 / 5; border-radius: 22px; overflow: hidden; background: var(--band-2); }
.cmp-media img { width: 100%; height: 100%; object-fit: cover; }
.cmp-name { margin-top: 28px; font-size: clamp(26px, 2.8vw, 32px); font-weight: 700; letter-spacing: -0.03em; }
.cmp-tag { margin: 8px 0 18px; font-size: 15px; color: var(--text-2); max-width: 28ch; min-height: 3em; }
.cmp-rows { width: 100%; margin-top: 28px; }
.cmp-rows > div { border-top: 1px solid var(--line); padding: 20px 4px; }
.cmp-rows dt { font-size: 12px; color: var(--text-3); margin-bottom: 4px; }
.cmp-rows dd { font-size: 15px; color: var(--text); line-height: 1.4; }
.cmp-big { font-size: 17px !important; font-weight: 600; }
.cmp-big .ti { font-size: clamp(36px, 4vw, 48px); font-weight: 700; letter-spacing: -0.04em; display: block; line-height: 1.05; }
@media (max-width: 833px) {
  .cmp-grid { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; gap: 72px; }
  .cmp-tag { min-height: 0; }
}

.ba { margin-top: clamp(80px, 10vw, 130px); }
.ba-title { font-size: clamp(32px, 5vw, 56px); font-weight: 700; letter-spacing: -0.035em; text-align: center; }
.ba-grid { margin-top: 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.ba-grid figure { position: relative; border-radius: 22px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--band-2); }
.ba-grid img { width: 100%; height: 100%; object-fit: cover; }
.ba-grid figcaption {
  position: absolute; left: 16px; top: 16px; padding: 5px 12px; border-radius: 980px;
  background: rgba(0,0,0,.6); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  font-size: 13px; font-weight: 600;
}
@media (max-width: 600px) { .ba-grid { grid-template-columns: 1fr; } }

/* ---------- Case study ---------- */
.case-hero {
  position: relative;
  width: calc(100% - var(--gutter) * 2); max-width: 1280px;
  margin: clamp(40px, 6vw, 72px) auto 0;
  border-radius: clamp(20px, 3vw, 32px); overflow: hidden;
  aspect-ratio: 16 / 10; background: #000;
}
.case-hero img { width: 100%; height: 100%; object-fit: cover; }
.case-hero figcaption, .case-grid figcaption { font-size: 12px; color: var(--text-3); }
.case-hero figcaption {
  position: absolute; left: 20px; bottom: 16px; color: #e8e8ed;
  background: rgba(0,0,0,.55); padding: 5px 12px; border-radius: 980px;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.spec-strip {
  margin: clamp(40px, 6vw, 64px) 0;
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.spec-strip > div { padding: 22px 16px 22px 0; }
.spec-strip > div + div { padding-left: 16px; border-left: 1px solid var(--line-soft); }
.spec-strip dt { font-size: 12px; color: var(--text-3); }
.spec-strip dd { margin-top: 4px; font-size: clamp(17px, 1.8vw, 21px); font-weight: 600; letter-spacing: -0.02em; }
.spec-strip .ti { font-size: 1.5em; }
@media (max-width: 733px) {
  .spec-strip { grid-template-columns: 1fr 1fr; }
  .spec-strip > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .spec-strip > div:nth-child(n+3) { border-top: 1px solid var(--line-soft); }
}
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 32px; }
.case-grid picture { border-radius: 20px; overflow: hidden; aspect-ratio: 3 / 4; background: #000; }
.case-grid img { width: 100%; height: 100%; object-fit: cover; }
.case-grid figcaption { margin-top: 10px; }
@media (max-width: 733px) {
  .case-grid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 72%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; scrollbar-width: none; }
  .case-grid::-webkit-scrollbar { display: none; }
  .case-grid figure { scroll-snap-align: start; }
}

/* ---------- Recent work ---------- */
.work-grid { margin: clamp(40px, 6vw, 72px) 0 28px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.work-tile { position: relative; border-radius: 24px; overflow: hidden; aspect-ratio: 3 / 4; background: var(--band-2); }
.work-tile picture, .work-tile img { width: 100%; height: 100%; }
.work-tile img { object-fit: cover; transition: transform 1.2s var(--ease); }
.work-tile:hover img { transform: scale(1.04); }
.work-cap {
  position: absolute; inset: auto 0 0 0; padding: 60px 22px 22px;
  background: linear-gradient(0deg, rgba(0,0,0,.85), rgba(0,0,0,0));
}
.work-cap .fine { color: #c7c7cc; }
.work-cap h3 { font-size: 21px; font-weight: 600; letter-spacing: -0.02em; margin-top: 2px; }
@media (max-width: 733px) { .work-grid { grid-template-columns: 1fr; max-width: 440px; margin-left: auto; margin-right: auto; } }

/* ---------- Media (walkthrough) ---------- */
.media-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.media-points { margin: 32px 0 24px; border-top: 1px solid var(--line); }
.media-points li { display: flex; gap: 16px; align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 17px; font-weight: 500; }
.media-points .num { font-size: 13px; color: var(--text-3); font-variant-numeric: tabular-nums; }
.media-frame {
  justify-self: center; width: 100%; max-width: 380px;
  border-radius: 36px; padding: 10px;
  background: linear-gradient(160deg, #3a3d42, #1a1b1e 40%, #2a2d33);
  box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 40px 120px -20px rgba(10,132,255,.25);
}
.media-frame video { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 28px; background: #000; }
@media (max-width: 833px) {
  .media-grid { grid-template-columns: 1fr; }
  .media-frame { max-width: 320px; }
}

/* ---------- Method ---------- */
.method .section-head { max-width: 18ch; }
.steps { margin-top: clamp(48px, 7vw, 88px); display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step { background: var(--band-2); border-radius: 24px; padding: 32px 28px 36px; }
.step-n { display: block; font-size: 13px; color: var(--text-3); font-weight: 600; font-variant-numeric: tabular-nums; margin-bottom: 40px; }
.step h3 { font-size: 26px; font-weight: 700; letter-spacing: -0.03em; }
.step p { margin-top: 10px; font-size: 15px; color: var(--text-2); }
.steps .step:nth-child(2) { transition-delay: .08s; }
.steps .step:nth-child(3) { transition-delay: .16s; }
.steps .step:nth-child(4) { transition-delay: .24s; }
@media (max-width: 1023px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } .step-n { margin-bottom: 20px; } }

/* ---------- Figures ---------- */
.fig-grid {
  margin-top: clamp(48px, 7vw, 88px);
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
}
.fig { padding: 32px 20px 8px; text-align: center; }
.fig + .fig { border-left: 1px solid var(--line-soft); }
.fig dt { font-size: 14px; font-weight: 600; color: var(--text-2); }
.fig-num {
  margin-top: 6px;
  font-size: clamp(56px, 7vw, 96px); font-weight: 700; letter-spacing: -0.05em; line-height: 1;
  font-variant-numeric: tabular-nums;
  padding-bottom: 0.06em;
}
.fig:first-child .fig-num { font-size: clamp(40px, 4.6vw, 64px); padding-top: 0.25em; }
.fig-note { margin-top: 12px; font-size: 14px; color: var(--text-2); max-width: 22ch; margin-left: auto; margin-right: auto; }
.fig:nth-child(2) { transition-delay: .08s; }
.fig:nth-child(3) { transition-delay: .16s; }
.fig:nth-child(4) { transition-delay: .24s; }
@media (max-width: 833px) {
  .fig-grid { grid-template-columns: 1fr 1fr; }
  .fig:nth-child(3) { border-left: 0; }
  .fig:nth-child(n+3) { border-top: 1px solid var(--line-soft); }
  .fig:first-child .fig-num { font-size: clamp(32px, 8vw, 56px); }
}
@media (max-width: 420px) {
  .fig { padding: 24px 8px 8px; }
  .fig:first-child .fig-num { font-size: 28px; }
}
.values { margin-top: clamp(56px, 8vw, 96px); display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.values li { background: var(--band-2); border-radius: 20px; padding: 24px; }
.values h3 { margin-top: 18px; font-size: 19px; font-weight: 600; letter-spacing: -0.02em; }
.values p { margin-top: 6px; font-size: 14px; color: var(--text-2); }
@media (max-width: 1023px) { .values { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .values { grid-template-columns: 1fr; } }

/* ---------- Coverage ---------- */
.coverage .section-head { max-width: 17ch; }
.cities-head { margin-top: clamp(48px, 7vw, 80px); font-size: 14px; font-weight: 600; color: var(--text-2); padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.cities {
  counter-reset: city;
  display: grid; grid-template-columns: repeat(4, 1fr); column-gap: 24px;
  margin-bottom: 28px;
}
.cities li {
  counter-increment: city;
  display: flex; justify-content: space-between; gap: 12px;
  padding: 14px 0; border-bottom: 1px solid var(--line-soft);
  font-size: 17px; font-weight: 500;
}
.cities li::after { content: counter(city, decimal-leading-zero); font-size: 12px; color: var(--text-3); font-variant-numeric: tabular-nums; align-self: center; }
@media (max-width: 1023px) { .cities { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 733px) { .cities { grid-template-columns: repeat(2, 1fr); column-gap: 16px; } .cities li { font-size: 15px; } }

/* ---------- Contact ---------- */
.contact { text-align: center; }
.contact-logo { width: 200px; margin: 0 auto 24px; }
.contact-grid { margin-top: clamp(56px, 8vw, 96px); display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; text-align: left; }
.contact-card { background: var(--surface); border-radius: 24px; padding: 28px; min-width: 0; }
.contact-big { display: block; margin: 8px 0 10px; font-size: clamp(19px, 2vw, 24px); font-weight: 600; color: var(--text); letter-spacing: -0.02em; overflow-wrap: anywhere; }
a.contact-big:hover { color: var(--link); text-decoration: none; }
.contact-email { font-size: clamp(16px, 1.6vw, 19px); }
@media (max-width: 833px) { .contact-grid { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; } }

/* ---------- Footer ---------- */
.footer { background: var(--band-2); color: var(--text-3); font-size: 12px; line-height: 1.5; padding: 24px 0 32px; }
.footer .wrap { max-width: calc(980px + var(--gutter) * 2); }
.footer-note { padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.footer-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 24px 0; }
.footer-cols h2 { font-size: 12px; font-weight: 600; color: #e8e8ed; margin-bottom: 8px; }
.footer-cols li { margin-bottom: 6px; color: var(--text-2); }
.footer-cols a, .footer-cols .link-btn { color: var(--text-2); font-size: 12px; }
.footer-cols a:hover, .footer-cols .link-btn:hover { color: var(--text); text-decoration: underline; }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding-top: 16px; border-top: 1px solid var(--line); }
@media (max-width: 733px) { .footer-cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 400px) { .footer-cols { grid-template-columns: 1fr; } }

/* =========================================================
   Chat widget (.mec-*) — injected by /shared/chat.js
   ========================================================= */
.mec { font-family: var(--font); letter-spacing: -0.01em; }
.mec-launcher {
  position: fixed; right: 20px; bottom: 20px; z-index: 900;
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 48px; padding: 12px 20px 12px 16px;
  border-radius: 980px; border: 1px solid rgba(255,255,255,.14);
  background: rgba(28,28,30,.88); color: var(--text);
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  font-size: 15px; font-weight: 600; cursor: pointer;
  box-shadow: 0 0 0 1px rgba(10,132,255,.15), 0 8px 32px rgba(0,0,0,.5), 0 0 40px rgba(10,132,255,.28);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), opacity .2s;
}
.mec-launcher:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(10,132,255,.35), 0 12px 36px rgba(0,0,0,.55), 0 0 56px rgba(10,132,255,.42); }
.mec-launcher-dot {
  width: 10px; height: 10px; border-radius: 50%; background: var(--blue);
  box-shadow: 0 0 0 4px rgba(10,132,255,.22), 0 0 12px rgba(10,132,255,.9);
}
@media (prefers-reduced-motion: no-preference) {
  .mec-launcher-dot { animation: mec-pulse 2.4s ease-in-out infinite; }
}
@keyframes mec-pulse { 0%,100% { box-shadow: 0 0 0 3px rgba(10,132,255,.25), 0 0 10px rgba(10,132,255,.8); } 50% { box-shadow: 0 0 0 7px rgba(10,132,255,0), 0 0 16px rgba(10,132,255,1); } }
.mec.is-open .mec-launcher { opacity: 0; pointer-events: none; transform: translateY(8px); }

.mec-panel {
  position: fixed; right: 20px; bottom: 20px; z-index: 950;
  width: 380px; max-width: calc(100vw - 40px);
  height: 560px; max-height: calc(100vh - 40px); max-height: calc(100dvh - 40px);
  display: none; flex-direction: column;
  background: var(--surface); color: var(--text);
  border-radius: 20px; border: 1px solid rgba(255,255,255,.1);
  box-shadow: 0 30px 80px rgba(0,0,0,.65), 0 0 60px rgba(10,132,255,.12);
  overflow: hidden;
}
.mec-panel.is-open { display: flex; }
@media (prefers-reduced-motion: no-preference) {
  .mec-panel.is-open { animation: mec-in .28s var(--ease); }
}
@keyframes mec-in { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }

.mec-head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 16px 16px 14px 20px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  background: rgba(44,44,46,.5);
}
.mec-title { font-size: 16px; font-weight: 600; letter-spacing: -0.015em; }
.mec-sub { font-size: 12px; color: var(--text-2); margin-top: 2px; }
.mec-close {
  flex: none; width: 32px; height: 32px; border-radius: 50%; border: 0;
  display: grid; place-items: center; cursor: pointer;
  background: var(--surface-2); color: #e8e8ed;
}
.mec-close:hover { background: #3a3a3c; }

.mec-log {
  flex: 1 1 auto; overflow-y: auto; overscroll-behavior: contain;
  padding: 16px; display: flex; flex-direction: column; gap: 8px;
  scrollbar-width: thin; scrollbar-color: #3a3a3c transparent;
}
.mec-msg {
  max-width: 84%; padding: 9px 14px; border-radius: 18px;
  font-size: 15px; line-height: 1.4; white-space: pre-wrap; overflow-wrap: anywhere;
}
.mec-msg--assistant { align-self: flex-start; background: var(--surface-2); color: #ececf0; border-bottom-left-radius: 6px; }
.mec-msg--user { align-self: flex-end; background: var(--blue); color: #fff; border-bottom-right-radius: 6px; }
.mec-typing { display: inline-flex; gap: 5px; align-items: center; padding: 13px 16px; }
.mec-typing span { width: 7px; height: 7px; border-radius: 50%; background: #8e8e93; }
@media (prefers-reduced-motion: no-preference) {
  .mec-typing span { animation: mec-dot 1.1s ease-in-out infinite; }
  .mec-typing span:nth-child(2) { animation-delay: .15s; }
  .mec-typing span:nth-child(3) { animation-delay: .3s; }
}
@keyframes mec-dot { 0%, 60%, 100% { opacity: .35; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }

.mec-suggestions { display: none; flex-wrap: wrap; gap: 8px; padding: 0 16px 12px; }
.mec-suggestions.is-visible { display: flex; }
.mec-chip {
  border: 1px solid rgba(10,132,255,.55); background: rgba(10,132,255,.08); color: #5eb0ff;
  border-radius: 980px; padding: 7px 13px; font-size: 13px; font-weight: 500; cursor: pointer;
  transition: background-color .2s, color .2s;
}
.mec-chip:hover { background: var(--blue); color: #fff; border-color: var(--blue); }

.mec-form {
  display: flex; align-items: flex-end; gap: 8px;
  padding: 12px; border-top: 1px solid rgba(255,255,255,.08); background: var(--surface);
}
.mec-input {
  flex: 1; min-height: 40px; max-height: 128px; resize: none;
  padding: 9px 14px; border-radius: 20px;
  border: 1px solid rgba(255,255,255,.14); background: #111113; color: var(--text);
  font: inherit; font-size: 16px; line-height: 1.35;
}
.mec-input::placeholder { color: #8e8e93; }
.mec-input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(10,132,255,.3); }
.mec-send {
  flex: none; width: 40px; height: 40px; border-radius: 50%; border: 0;
  display: grid; place-items: center; cursor: pointer;
  background: var(--blue); color: #fff;
}
.mec-send:hover { background: var(--blue-hover); }
.mec-sr {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

@media (max-width: 599px) {
  .mec-launcher { right: 16px; bottom: 16px; }
  .mec-panel {
    inset: 0; right: 0; bottom: 0; width: 100%; max-width: none;
    height: 100%; max-height: none; border-radius: 0; border: 0;
  }
  .mec-head { padding-top: max(16px, env(safe-area-inset-top)); }
  .mec-form { padding-bottom: max(12px, env(safe-area-inset-bottom)); }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; }
  .js .reveal, .js .section-head.reveal { opacity: 1; transform: none; }
  .work-tile:hover img { transform: none; }
}
