/* ==========================================================================
   DHC Software Services — "Tiles & Diamond" layout
   Brand: Navy #283891 · Blue #0F75BC · Sky #25AAE1 (from logo)
   Signature elements: solid label tiles, a rotated-square photo frame,
   white pill buttons with a round arrow, soft floating cards.
   ========================================================================== */

:root {
  --navy: #283891;
  --navy-900: #141c4d;
  --navy-950: #0b1136;
  --blue: #0f75bc;
  --sky: #25aae1;
  --sky-50: #eaf6fd;
  --blue-50: #eef4fc;

  --ink: #0e1530;
  --text: #4a5170;
  --muted: #7a819c;
  --line: #e6eaf2;
  --line-strong: #d3dae8;
  --bg: #ffffff;
  --band: #f3f5f9;

  --font-display: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --r-sm: 10px;
  --r: 16px;
  --r-lg: 22px;

  --soft: 0 22px 48px -22px rgba(20, 28, 77, .16), 0 4px 14px -6px rgba(20, 28, 77, .06);
  --soft-lg: 0 40px 80px -30px rgba(20, 28, 77, .28);
  --tile-shadow: 0 26px 40px -24px rgba(15, 117, 188, .75);

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(72px, 9vw, 132px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 88px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font-body); font-size: 1rem; line-height: 1.7; color: var(--text);
  background: var(--bg); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--navy); }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); line-height: 1.2; margin: 0 0 .55em; font-weight: 600; letter-spacing: -0.015em; }
h1 { font-size: clamp(2.1rem, 4.2vw, 3.3rem); line-height: 1.12; }
h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
h3 { font-size: 1.1rem; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
::selection { background: var(--sky); color: #fff; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 6px; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 300; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: var(--r-sm); transition: top .2s; }
.skip-link:focus { top: 16px; color: #fff; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container-narrow { max-width: 820px; }
.section { padding: var(--section) 0; }
.section-tight { padding: clamp(48px, 6vw, 80px) 0; }
.band { background: var(--band); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 16px;
  font-family: var(--font-display); font-size: .74rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--blue);
}
.eyebrow::before {
  content: ""; width: 24px; height: 7px; flex: none; transform: skewX(-30deg);
  background: linear-gradient(var(--navy), var(--navy)) 0 0 / 6px 100% no-repeat, linear-gradient(var(--blue), var(--blue)) 9px 0 / 6px 100% no-repeat, linear-gradient(var(--sky), var(--sky)) 18px 0 / 6px 100% no-repeat;
}
.lead { font-size: clamp(1.02rem, 1.3vw, 1.12rem); color: var(--text); }
.muted { color: var(--muted); }
.note { font-size: .88rem; color: var(--muted); font-style: italic; }

/* ---------- Pill buttons (white pill + round arrow) ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 22px; height: 56px; padding: 0 7px 0 26px;
  border-radius: 999px; background: #fff; color: var(--ink); box-shadow: var(--soft); border: 0; cursor: pointer;
  font-family: var(--font-display); font-weight: 500; font-size: .9rem; white-space: nowrap;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), color .2s;
}
.pill .dot {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; flex: none;
  background: var(--blue); color: #fff; transition: background .25s, transform .3s var(--ease);
}
.pill .dot svg { width: 16px; height: 16px; }
.pill:hover { color: var(--navy); transform: translateY(-2px); box-shadow: var(--soft-lg); }
.pill:hover .dot { background: var(--navy); transform: translateX(2px); }
.pill.dark { background: var(--navy); color: #fff; }
.pill.dark .dot { background: var(--sky); }
.pill.dark:hover { color: #fff; background: var(--navy-900); }
.pill.sm { height: 46px; gap: 16px; padding-left: 20px; font-size: .84rem; }
.pill.sm .dot { width: 34px; height: 34px; }
.pill.flat { box-shadow: 0 0 0 1px var(--line-strong); }
.pill.flat:hover { box-shadow: 0 0 0 1px var(--navy), var(--soft); }
.pill.no-dot { padding: 0 26px; }
.pill-group { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

.round-btn {
  width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center;
  background: #fff; color: var(--blue); box-shadow: var(--soft); transition: all .25s var(--ease);
}
.round-btn svg { width: 18px; height: 18px; }
.round-btn:hover { background: var(--blue); color: #fff; }
.round-btn:disabled { opacity: .35; cursor: default; background: #fff; color: var(--blue); }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 600; font-size: .9rem; color: var(--navy); }
.link-arrow svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
a:hover .link-arrow svg, .link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Label tiles ---------- */
.tile {
  position: relative; overflow: hidden; aspect-ratio: 1; border-radius: var(--r);
  display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(18px, 2.2vw, 28px);
  background: var(--blue); color: #fff; box-shadow: var(--tile-shadow);
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: .01em;
  font-size: clamp(1.05rem, 1.7vw, 1.5rem); line-height: 1.1;
}
.tile::after {
  content: ""; position: absolute; top: 18px; right: 18px; width: 34px; height: 12px; transform: skewX(-30deg); opacity: .45;
  background: linear-gradient(#fff, #fff) 0 0 / 8px 100% no-repeat, linear-gradient(#fff, #fff) 13px 0 / 8px 100% no-repeat, linear-gradient(#fff, #fff) 26px 0 / 8px 100% no-repeat;
}
.tile.navy { background: var(--navy); box-shadow: 0 26px 40px -24px rgba(40, 56, 145, .8); }
.tile.sky { background: var(--sky); box-shadow: 0 26px 40px -24px rgba(37, 170, 225, .8); }
.tile .tile-icon { position: absolute; top: clamp(18px, 2.2vw, 28px); left: clamp(18px, 2.2vw, 28px); width: 30px; height: 30px; opacity: .95; }
.tile-label { display: block; }
.tile-head { width: clamp(150px, 16vw, 200px); margin-bottom: 32px; }
.tile-head.sm { width: clamp(120px, 12vw, 150px); }

/* ---------- Photo tiles & diamond ---------- */
.ph { position: relative; overflow: hidden; border-radius: var(--r); box-shadow: var(--soft); background: var(--blue-50); }
.ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.ph:hover img { transform: scale(1.04); }
.ph.tint::after { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, rgba(40,56,145,.22), rgba(37,170,225,0) 55%); pointer-events: none; }

.diamond { position: absolute; aspect-ratio: 1; transform: rotate(45deg); overflow: hidden; border-radius: clamp(28px, 4vw, 60px); box-shadow: var(--soft-lg); background: var(--navy); }
.diamond img { position: absolute; width: 142%; height: 142%; max-width: none; left: -21%; top: -21%; object-fit: cover; transform: rotate(-45deg); }
.diamond::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(11,17,54,.55), rgba(40,56,145,.18) 45%, rgba(37,170,225,.05)); }

/* Mosaic: tile + square photo + wide photo (reference "About" block) */
.mosaic { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(12px, 1.4vw, 18px); }
.mosaic > * { aspect-ratio: 1; }
.mosaic > .wide { grid-column: 1 / -1; aspect-ratio: 2.6 / 1; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.92); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px); transition: background .3s, box-shadow .3s; }
.site-header.is-scrolled { box-shadow: 0 10px 30px -22px rgba(14,21,48,.45); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 24px; }
.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { height: 32px; width: auto; }
.nav { display: flex; align-items: center; margin-left: auto; }
.nav-list { display: flex; list-style: none; gap: 2px; }
.nav-link {
  position: relative; display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 999px; border: 0; background: none; cursor: pointer;
  font-family: var(--font-display); font-weight: 500; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink);
  transition: color .2s, background .2s;
}
.nav-link:hover { color: var(--blue); }
.nav-link[aria-current="page"] { color: var(--blue); }
.nav-link[aria-current="page"]::after { content: ""; position: absolute; left: 50%; bottom: 2px; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: currentColor; }
.nav-link .chev { width: 13px; height: 13px; transition: transform .2s; }
.has-dropdown { position: relative; }
.dropdown {
  position: absolute; top: calc(100% + 12px); right: -120px; width: 580px; padding: 12px; background: #fff; border-radius: var(--r-lg); box-shadow: var(--soft-lg);
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s, transform .25s var(--ease), visibility .2s;
}
.dropdown::before { content: ""; position: absolute; top: -14px; left: 0; right: 0; height: 14px; }
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown, .has-dropdown.open .dropdown { opacity: 1; visibility: visible; transform: none; }
.has-dropdown:hover .chev, .has-dropdown.open .chev { transform: rotate(180deg); }
.dropdown a { display: flex; gap: 12px; padding: 12px; border-radius: 12px; color: var(--ink); }
.dropdown a:hover { background: var(--band); }
.dd-icon { flex: none; width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--blue); color: #fff; }
.dd-icon svg { width: 19px; height: 19px; }
.dropdown strong { display: block; font-family: var(--font-display); font-weight: 600; font-size: .88rem; line-height: 1.3; }
.dropdown .dd-desc { display: block; font-size: .78rem; color: var(--muted); line-height: 1.4; margin-top: 2px; }
.dropdown .dd-all { grid-column: 1 / -1; justify-content: space-between; align-items: center; background: var(--band); font-family: var(--font-display); font-weight: 600; font-size: .86rem; color: var(--navy); }
.dropdown .dd-all svg { width: 16px; height: 16px; }
.header-cta { display: flex; align-items: center; gap: 12px; margin-left: 12px; }
.nav-toggle { display: none; width: 48px; height: 48px; border-radius: 50%; border: 0; background: #fff; box-shadow: var(--soft); cursor: pointer; place-items: center; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; transition: transform .25s var(--ease), background .2s; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; } .nav-toggle span::after { top: 6px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }
.nav .mobile-cta { display: none; }

/* Home: header floats over the diamond photo */
@media (min-width: 1025px) {
  .home .site-header { position: fixed; left: 0; right: 0; background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .home .site-header:not(.is-scrolled) .nav-list > li > .nav-link { color: #fff; text-shadow: 0 1px 12px rgba(11,17,54,.35); }
  .home .site-header:not(.is-scrolled) .nav-link[aria-current="page"]::after { background: var(--sky); }
  .home .site-header:not(.is-scrolled) .header-cta .pill { background: #fff; color: var(--navy); }
  .home .site-header:not(.is-scrolled) .header-cta .pill .dot { background: var(--blue); }
  .home .site-header.is-scrolled { background: rgba(255,255,255,.94); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px); }
}

@media (max-width: 1024px) {
  .nav-toggle { display: grid; }
  .header-cta .pill { display: none; }
  .nav { position: fixed; inset: var(--header-h) 0 0 0; z-index: 99; flex-direction: column; align-items: stretch; padding: 12px var(--gutter) 32px; background: #fff; overflow-y: auto; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s, transform .25s var(--ease), visibility .25s; }
  .nav-open .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
  .nav-open .nav { opacity: 1; visibility: visible; transform: none; }
  .nav-open { overflow: hidden; }
  .nav-list { flex-direction: column; gap: 0; }
  .nav-list > li { border-bottom: 1px solid var(--line); }
  .nav-link { width: 100%; justify-content: space-between; padding: 18px 4px; font-size: .95rem; border-radius: 0; }
  .nav-link[aria-current="page"]::after { display: none; }
  .dropdown { position: static; transform: none; width: auto; display: none; grid-template-columns: 1fr; box-shadow: none; padding: 0 0 12px; opacity: 1; visibility: visible; }
  .has-dropdown.open .dropdown { display: grid; }
  .has-dropdown:not(.open):hover .chev { transform: none; }
  .nav .mobile-cta { display: flex; margin-top: 24px; }
}

/* ---------- Home hero ---------- */
.hero { position: relative; overflow: hidden; min-height: max(700px, 50vw); padding: calc(var(--header-h) + clamp(40px, 6vw, 96px)) 0 clamp(64px, 7vw, 100px); }
.hero .diamond { width: 54vw; left: 46vw; top: -23vw; }
.hero-inset { position: absolute; left: 46vw; top: 30vw; width: 13.5vw; aspect-ratio: 1; border-radius: var(--r); overflow: hidden; border: 7px solid #fff; box-shadow: var(--soft-lg); z-index: 2; }
.hero-inset img { width: 100%; height: 100%; object-fit: cover; }
.hero-chip { position: absolute; left: 58.6vw; top: 28.4vw; width: 3vw; aspect-ratio: 1; border-radius: 12px; background: var(--sky); box-shadow: var(--soft); z-index: 2; }
.hero-text { position: relative; z-index: 2; max-width: min(520px, 40vw); }
.hero h1 { font-weight: 700; text-transform: uppercase; font-size: clamp(2.3rem, 3.8vw, 3.6rem); line-height: 1.04; letter-spacing: -0.01em; margin-bottom: 26px; }
.hero h1 .hl { color: var(--blue); }
.hero .lead { max-width: 440px; font-size: .98rem; color: var(--muted); margin-bottom: 34px; }
.hero-note { display: flex; align-items: center; gap: 10px; margin-top: 30px; color: var(--muted); font-size: .86rem; }
.hero-note svg { width: 17px; height: 17px; color: var(--blue); flex: none; }
.hero-dots { position: absolute; left: var(--gutter); bottom: 32px; display: flex; gap: 8px; }

@media (max-width: 1024px) {
  .hero { min-height: 0; padding-top: clamp(32px, 6vw, 56px); }
  .hero-text { max-width: 640px; }
  .hero-media { position: relative; height: min(92vw, 560px); margin-top: 40px; }
  .hero .diamond { width: min(64vw, 396px); left: 50%; top: 50%; margin: calc(min(64vw, 396px) / -2) 0 0 calc(min(64vw, 396px) / -2); }
  .hero-inset { left: auto; right: max(4vw, calc(50% - 300px)); top: auto; bottom: 4%; width: min(30vw, 180px); }
  .hero-chip { left: max(6vw, calc(50% - 290px)); top: 12%; width: min(9vw, 56px); }
}

/* ---------- Inner page hero ---------- */
.page-hero { position: relative; overflow: hidden; padding: clamp(40px, 6vw, 80px) 0 clamp(56px, 7vw, 96px); }
.page-hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.page-hero h1 { max-width: 640px; }
.page-hero .lead { max-width: 600px; }
.page-hero .pill-group { margin-top: 30px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; font-size: .82rem; color: var(--muted); margin-bottom: 26px; font-family: var(--font-display); }
.breadcrumb li { display: inline-flex; align-items: center; gap: 8px; }
.breadcrumb li + li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--line-strong); }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--blue); }
.breadcrumb [aria-current] { color: var(--ink); font-weight: 500; }

.hero-art { position: relative; aspect-ratio: 1 / .92; }
.hero-art .diamond { width: 66%; left: 24%; top: 6%; }
.hero-art .tile { position: absolute; width: 38%; left: 0; bottom: 4%; z-index: 2; font-size: clamp(.82rem, 1.15vw, 1.05rem); padding: clamp(14px, 1.6vw, 20px); hyphens: auto; }
.hero-art .tile .tile-icon { top: clamp(14px, 1.6vw, 20px); left: clamp(14px, 1.6vw, 20px); width: 26px; height: 26px; }
.hero-art .acc { position: absolute; width: 11%; aspect-ratio: 1; right: 2%; bottom: 10%; border-radius: 10px; background: var(--sky); box-shadow: var(--soft); z-index: 2; }
.hero-art figcaption { position: absolute; right: 0; bottom: -6px; font-size: .74rem; color: var(--muted); }

.tile-art { position: relative; aspect-ratio: 1 / .8; }
.tile-art .tile { position: absolute; }
.tile-art .t1 { width: 46%; left: 14%; top: 4%; }
.tile-art .t2 { width: 28%; left: 64%; top: 22%; }
.tile-art .t3 { width: 20%; left: 34%; top: 66%; }
.tile-art .t2::after, .tile-art .t3::after { display: none; }
.tile-art .t2 svg { width: 42%; height: 42%; margin: auto; color: #fff; }
.tile-art .t2 { justify-content: center; align-items: center; }
.tile-art .ring { position: absolute; width: 30%; aspect-ratio: 1; left: 66%; top: 60%; border-radius: var(--r); border: 2px dashed var(--line-strong); }

/* ---------- Feature (text + mosaic) ---------- */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 8vw, 120px); align-items: center; }
.feature.top { align-items: start; }
.feature.wide-right { grid-template-columns: .8fr 1.2fr; }
.feature.rev > :first-child { order: 2; }
.feature-text h2 { font-weight: 500; }
.feature-text p { color: var(--muted); }
.feature-text .lead { color: var(--text); }
.feature-text .pill { margin-top: 18px; }

/* ---------- Services track (reference "Products" block) ---------- */
.track-wrap { display: grid; grid-template-columns: clamp(200px, 20vw, 250px) minmax(0, 1fr); gap: clamp(24px, 3vw, 40px); align-items: start; }
.track-side .tile { margin-bottom: 28px; }
.track-side h2 { font-size: clamp(1.3rem, 1.8vw, 1.55rem); font-weight: 500; }
.track-side .pill { margin-top: 12px; }
.track-nav { display: flex; gap: 10px; margin: 8px 0 22px; }
.track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 48px) / 3); gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scroll-padding: 0 20px; padding: 20px 20px 50px; margin: -20px -20px -50px; scrollbar-width: none; }
.track::-webkit-scrollbar { display: none; }
@media (min-width: 681px) { .track { -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); mask-image: linear-gradient(90deg, #000 88%, transparent); } }
.s-card { position: relative; scroll-snap-align: start; display: flex; flex-direction: column; background: #fff; border-radius: var(--r-lg); box-shadow: var(--soft); padding: 12px 12px 24px; color: inherit; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.s-card:hover { color: inherit; transform: translateY(-6px); box-shadow: var(--soft-lg); }
.s-card .ph { aspect-ratio: 16 / 11; box-shadow: none; border-radius: 12px; }
.s-card .bubble { position: absolute; top: 18px; right: 18px; width: 42px; height: 42px; border-radius: 50%; background: #fff; color: var(--blue); display: grid; place-items: center; box-shadow: var(--soft); z-index: 2; }
.s-card .bubble svg { width: 20px; height: 20px; }
.s-card .body { padding: 20px 12px 0; display: flex; flex-direction: column; flex: 1; }
.s-card h3 { font-size: 1rem; margin-bottom: 8px; }
.s-card p { font-size: .9rem; color: var(--muted); margin-bottom: 22px; }
.s-card .pill { margin-top: auto; align-self: flex-start; }
.s-num { font-family: var(--font-display); font-size: .74rem; font-weight: 600; letter-spacing: .14em; color: var(--sky); margin-bottom: 6px; }

/* ---------- Staggered process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; padding-bottom: 120px; }
.step { position: relative; background: #fff; border-radius: var(--r-lg); box-shadow: var(--soft); padding: 28px 26px 30px; }
.step:nth-child(2) { transform: translateY(40px); }
.step:nth-child(3) { transform: translateY(80px); }
.step:nth-child(4) { transform: translateY(120px); background: var(--blue); }
.step:nth-child(4) h3, .step:nth-child(4) p { color: #fff; }
.step:nth-child(4) .step-n { -webkit-text-stroke-color: #fff; }
.step-n { display: block; font-family: var(--font-display); font-weight: 700; font-size: 3rem; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--blue); margin-bottom: 22px; }
.step h3 { font-size: 1.05rem; }
.step p { font-size: .92rem; color: var(--muted); margin: 0; }
.steps-head { display: flex; align-items: flex-end; gap: clamp(24px, 4vw, 48px); margin-bottom: clamp(40px, 5vw, 64px); }
.steps-head .tile { width: clamp(140px, 14vw, 180px); flex: none; }
.steps-head h2 { font-weight: 500; max-width: 520px; margin: 0; }

/* ---------- Work rows ---------- */
.work-list { display: grid; gap: 22px; }
.work-row { display: grid; grid-template-columns: 46% 1fr; gap: 26px; align-items: center; background: #fff; border-radius: var(--r-lg); box-shadow: var(--soft); padding: 12px 28px 12px 12px; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.work-row:hover { transform: translateY(-4px); box-shadow: var(--soft-lg); }
.work-row .ph { aspect-ratio: 16 / 10; box-shadow: none; border-radius: 12px; }
.work-row h3 { font-size: 1.02rem; margin-bottom: 6px; }
.work-row p { font-size: .88rem; color: var(--muted); margin-bottom: 12px; }
.tag-row { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.tag { display: inline-flex; align-items: center; height: 26px; padding: 0 11px; border-radius: 999px; background: var(--blue-50); color: var(--blue); font-size: .72rem; font-weight: 600; font-family: var(--font-display); }

.project { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.project + .project { margin-top: clamp(64px, 8vw, 110px); }
.project:nth-child(even) > :first-child { order: 2; }
.project .ph { aspect-ratio: 16 / 10; border-radius: var(--r-lg); box-shadow: var(--soft-lg); }
.project-num { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.project-num .tile { width: 64px; padding: 0; justify-content: center; align-items: center; font-size: 1.05rem; border-radius: 12px; }
.project-num .tile::after { display: none; }
.project h2 { font-weight: 500; font-size: clamp(1.4rem, 2.2vw, 1.85rem); }
.project p { color: var(--muted); }

/* ---------- Statement (partner) ---------- */
.statement { text-align: center; max-width: 820px; margin: 0 auto clamp(48px, 6vw, 72px); }
.statement h2 { font-weight: 500; font-size: clamp(1.8rem, 3.2vw, 2.7rem); }
.statement .lead { color: var(--ink); }
.statement p { color: var(--muted); max-width: 680px; margin-left: auto; margin-right: auto; }
.points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.point { background: #fff; border-radius: var(--r-lg); box-shadow: var(--soft); padding: 30px 28px; }
.bubble-icon { width: 52px; height: 52px; border-radius: 14px; background: var(--blue); color: #fff; display: grid; place-items: center; margin-bottom: 22px; box-shadow: var(--tile-shadow); }
.bubble-icon svg { width: 24px; height: 24px; }
.point h3 { font-size: 1.02rem; margin-bottom: 6px; }
.point p { color: var(--muted); font-size: .92rem; margin: 0; }
.point:nth-child(2) .bubble-icon { background: var(--navy); }
.point:nth-child(3) .bubble-icon { background: var(--sky); }

/* ---------- Editorial blog block ---------- */
.feature-post { display: block; background: #fff; border-radius: var(--r-lg); box-shadow: var(--soft); padding: 12px; color: inherit; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.feature-post:hover { color: inherit; transform: translateY(-4px); box-shadow: var(--soft-lg); }
.feature-post .ph { aspect-ratio: 16 / 8; box-shadow: none; border-radius: 12px; }
.feature-post .body { padding: 22px 16px 12px; }
.post-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: .78rem; color: var(--muted); margin-bottom: 10px; font-family: var(--font-display); }
.post-meta .cat { color: var(--blue); font-weight: 600; }
.feature-post h3 { font-size: 1.2rem; }
.feature-post p { color: var(--muted); font-size: .92rem; }
.mini-post { display: grid; grid-template-columns: 130px 1fr; gap: 20px; align-items: center; padding: 12px; border-radius: var(--r-lg); color: inherit; transition: background .25s, box-shadow .25s; margin-top: 14px; }
.mini-post:hover { background: #fff; box-shadow: var(--soft); color: inherit; }
.mini-post .ph { aspect-ratio: 1; box-shadow: none; border-radius: 12px; }
.mini-post h3 { font-size: .98rem; margin-bottom: 4px; }
.mini-post p { font-size: .85rem; color: var(--muted); margin: 0; }

.post-card { position: relative; display: flex; flex-direction: column; background: #fff; border-radius: var(--r-lg); box-shadow: var(--soft); padding: 12px; color: inherit; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.post-card:hover { color: inherit; transform: translateY(-6px); box-shadow: var(--soft-lg); }
.post-card .ph { aspect-ratio: 16 / 11; box-shadow: none; border-radius: 12px; }
.post-card .chip { position: absolute; top: 24px; left: 24px; z-index: 2; background: #fff; color: var(--blue); font-family: var(--font-display); font-size: .72rem; font-weight: 600; padding: 6px 12px; border-radius: 999px; box-shadow: var(--soft); }
.post-card .body { padding: 20px 12px 8px; display: flex; flex-direction: column; flex: 1; }
.post-card h3 { font-size: 1.05rem; }
.post-card p { color: var(--muted); font-size: .9rem; }
.post-card .pill { margin-top: auto; align-self: flex-start; }

.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 44px; }
.filter-btn { height: 44px; padding: 0 20px; border-radius: 999px; border: 0; background: #fff; box-shadow: 0 0 0 1px var(--line-strong); cursor: pointer; font-family: var(--font-display); font-weight: 500; font-size: .84rem; color: var(--text); transition: all .2s; }
.filter-btn:hover { box-shadow: 0 0 0 1px var(--navy); color: var(--navy); }
.filter-btn.is-active { background: var(--blue); color: #fff; box-shadow: var(--tile-shadow); }
.empty-state { display: none; padding: 48px; text-align: center; border: 1px dashed var(--line-strong); border-radius: var(--r-lg); color: var(--muted); }
.empty-state.show { display: block; }
.empty-state .filter-btn { height: auto; padding: 0; box-shadow: none; background: none; color: var(--blue); }

/* ---------- Capability strip (reference logo row) ---------- */
.cap-strip { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 18px 24px; padding: clamp(36px, 4vw, 56px) 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cap-strip span { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-style: italic; font-size: clamp(.9rem, 1.1vw, 1.05rem); letter-spacing: -0.02em; color: var(--ink); opacity: .78; white-space: nowrap; }
.cap-strip span::before { content: ""; width: 10px; height: 10px; background: var(--sky); transform: skewX(-30deg); }
.cap-strip span:nth-child(3n+1)::before { background: var(--navy); }
.cap-strip span:nth-child(3n+2)::before { background: var(--blue); }

/* ---------- Contact band (reference "Contact" block) ---------- */
.contact-band { background: var(--band); padding: clamp(64px, 8vw, 110px) 0; }
.contact-grid { display: grid; grid-template-columns: clamp(170px, 17vw, 220px) minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(18px, 2.4vw, 32px); align-items: stretch; }
.contact-grid > .tile { align-self: start; }
.c-card { background: #fff; border-radius: var(--r-lg); box-shadow: var(--soft); padding: clamp(26px, 3vw, 38px); display: flex; flex-direction: column; }
.c-card h2 { font-size: clamp(1.3rem, 2vw, 1.6rem); font-weight: 600; }
.c-card > p { color: var(--muted); font-size: .94rem; }
.c-list { list-style: none; display: grid; gap: 14px; margin: 8px 0 26px; }
.c-list li { display: flex; gap: 12px; align-items: flex-start; font-size: .9rem; color: var(--ink); line-height: 1.5; }
.c-list svg { width: 18px; height: 18px; color: var(--blue); flex: none; margin-top: 2px; }
.c-list a { color: var(--ink); }
.c-list a:hover { color: var(--blue); }
.c-list small, .address-note { display: block; color: var(--muted); font-size: .75rem; }
.c-card .pill { margin-top: auto; align-self: flex-start; }
.map { position: relative; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--soft); min-height: 320px; background: #eef1f6; }
.map > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-pin svg { width: 100%; height: auto; }
.map-pin { position: absolute; left: 50%; top: 46%; transform: translate(-50%, -100%); width: 34px; color: var(--blue); filter: drop-shadow(0 8px 10px rgba(15,117,188,.35)); }
.map-pin::after { content: ""; position: absolute; left: 50%; top: 100%; width: 60px; height: 60px; margin: -30px 0 0 -30px; border-radius: 50%; background: rgba(37,170,225,.18); animation: pulse 2.4s ease-out infinite; z-index: -1; }
.map-label { position: absolute; left: 20px; bottom: 20px; background: #fff; border-radius: 12px; padding: 10px 14px; box-shadow: var(--soft); font-family: var(--font-display); font-size: .8rem; font-weight: 600; color: var(--ink); }
@keyframes pulse { 0% { transform: scale(.4); opacity: 1; } 100% { transform: scale(1.4); opacity: 0; } }

/* ---------- Generic soft cards ---------- */
.soft-card { background: #fff; border-radius: var(--r-lg); box-shadow: var(--soft); padding: clamp(26px, 3vw, 38px); }
.soft-card.blue { background: var(--blue); color: rgba(255,255,255,.88); box-shadow: var(--tile-shadow); }
.soft-card.blue h3 { color: #fff; }
.soft-card.blue .bubble-icon { background: #fff; color: var(--blue); box-shadow: none; }
.soft-card p:last-child { margin: 0; }
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

.check-list { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.check-list li { display: flex; gap: 14px; align-items: center; padding: 16px 18px; background: #fff; border-radius: var(--r); box-shadow: var(--soft); font-family: var(--font-display); font-weight: 500; font-size: .92rem; color: var(--ink); line-height: 1.4; }
.check-list li::before { content: ""; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 14px no-repeat; }

.values { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.value { background: #fff; border-radius: var(--r-lg); box-shadow: var(--soft); padding: 26px; display: flex; gap: 18px; }
.value .bubble-icon { margin: 0; flex: none; width: 46px; height: 46px; border-radius: 12px; }
.value .bubble-icon svg { width: 21px; height: 21px; }
.value h3 { font-size: 1rem; margin-bottom: 4px; }
.value p { color: var(--muted); font-size: .9rem; margin: 0; }
.value:last-child { grid-column: 1 / -1; }

.roles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.role { display: flex; flex-direction: column; justify-content: space-between; aspect-ratio: 1.35; background: #fff; border-radius: var(--r-lg); box-shadow: var(--soft); padding: 22px; }
.role svg { width: 28px; height: 28px; color: var(--blue); }
.role h3 { margin: 0; font-size: 1rem; }
.role:nth-child(2) { background: var(--navy); } .role:nth-child(2) svg, .role:nth-child(2) h3 { color: #fff; }
.role:nth-child(3) { background: var(--sky); } .role:nth-child(3) svg, .role:nth-child(3) h3 { color: #fff; }

.sector-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.sector-list span { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 20px; border-radius: 999px; background: #fff; box-shadow: var(--soft); font-family: var(--font-display); font-weight: 500; font-size: .86rem; color: var(--ink); }
.sector-list span::before { content: ""; width: 8px; height: 8px; background: var(--sky); transform: skewX(-30deg); }

/* Services archive rows */
.svc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.svc-row { display: grid; grid-template-columns: 96px 1fr; gap: 22px; align-items: start; background: #fff; border-radius: var(--r-lg); box-shadow: var(--soft); padding: 22px 26px 26px 22px; color: inherit; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.svc-row:hover { color: inherit; transform: translateY(-4px); box-shadow: var(--soft-lg); }
.svc-row .tile { width: 96px; padding: 14px; font-size: .95rem; }
.svc-row .tile::after { display: none; }
.svc-row .tile svg { position: absolute; top: 14px; left: 14px; width: 24px; height: 24px; }
.svc-row h3 { font-size: 1.08rem; margin: 6px 0 6px; }
.svc-row p { color: var(--muted); font-size: .92rem; margin-bottom: 16px; }
.svc-row:nth-child(4n+2) .tile, .svc-row:nth-child(4n+3) .tile { background: var(--navy); }

.chips { display: flex; flex-wrap: wrap; gap: 12px; }
.chips a { display: inline-flex; align-items: center; gap: 12px; height: 54px; padding: 0 22px 0 8px; border-radius: 999px; background: #fff; box-shadow: var(--soft); font-family: var(--font-display); font-weight: 500; font-size: .88rem; color: var(--ink); transition: all .25s var(--ease); }
.chips a span { width: 38px; height: 38px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; }
.chips a span svg { width: 18px; height: 18px; }
.chips a:hover { transform: translateY(-3px); color: var(--navy); }

/* ---------- Article ---------- */
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(40px, 6vw, 80px); align-items: start; }
.prose { font-size: 1.06rem; line-height: 1.8; color: var(--text); max-width: 720px; }
.prose > p:first-child { font-size: 1.22rem; line-height: 1.65; color: var(--ink); font-family: var(--font-display); font-weight: 400; }
.prose h2 { font-size: 1.4rem; margin: 2em 0 .5em; font-weight: 600; }
.prose ol { list-style: none; counter-reset: li; display: grid; gap: 16px; margin: 1.6em 0; }
.prose ol li { position: relative; padding: 22px 24px 22px 80px; background: #fff; box-shadow: var(--soft); border-radius: var(--r); counter-increment: li; }
.prose ol li::before { content: counter(li); position: absolute; left: 22px; top: 22px; width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--blue); color: #fff; font-family: var(--font-display); font-weight: 700; }
.prose ol li strong { display: block; color: var(--ink); font-family: var(--font-display); font-weight: 600; margin-bottom: 2px; }
.article-cta { margin-top: 48px; display: grid; grid-template-columns: 120px 1fr; gap: 24px; align-items: center; padding: 18px; border-radius: var(--r-lg); background: #fff; box-shadow: var(--soft); }
.article-cta .tile { width: 120px; padding: 16px; font-size: .9rem; }
.article-cta p { margin: 0 0 14px; font-family: var(--font-display); font-weight: 600; font-size: 1.08rem; color: var(--ink); line-height: 1.4; }
.aside-card { position: sticky; top: 110px; padding: 26px; border-radius: var(--r-lg); background: #fff; box-shadow: var(--soft); }
.aside-card h3 { font-size: .78rem; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); margin-bottom: 12px; }
.aside-list { list-style: none; display: grid; }
.aside-list a { display: block; padding: 14px 0; border-top: 1px solid var(--line); color: var(--ink); font-family: var(--font-display); font-weight: 500; font-size: .92rem; line-height: 1.4; }
.aside-list a:hover { color: var(--blue); }
.aside-list small { display: block; color: var(--muted); font-weight: 400; font-size: .76rem; margin-top: 4px; }
.aside-card .pill { margin-top: 16px; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border-radius: var(--r); box-shadow: var(--soft); transition: box-shadow .2s; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 14px 20px 24px; font-family: var(--font-display); font-weight: 500; font-size: .98rem; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq .pm { position: relative; flex: none; width: 38px; height: 38px; border-radius: 50%; background: var(--blue); }
.faq .pm::before, .faq .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: #fff; border-radius: 2px; transform: translate(-50%, -50%); transition: transform .25s var(--ease); }
.faq .pm::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq details[open] .pm { background: var(--navy); }
.faq details[open] .pm::after { transform: translate(-50%, -50%) rotate(0); }
.faq .answer { padding: 0 24px 22px; color: var(--muted); font-size: .94rem; }
.faq .answer p { margin: 0; }

/* ---------- Contact form ---------- */
.contact-layout { display: grid; grid-template-columns: 1.3fr .9fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
.form-card { background: #fff; border-radius: var(--r-lg); box-shadow: var(--soft-lg); padding: clamp(26px, 4vw, 44px); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-family: var(--font-display); font-weight: 500; font-size: .86rem; color: var(--ink); }
.field label .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; min-height: 54px; padding: 12px 20px; border-radius: 999px; border: 0; background: var(--band); font-size: .96rem; transition: box-shadow .2s, background .2s; }
.field textarea { min-height: 160px; resize: vertical; line-height: 1.55; border-radius: 22px; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 48px; cursor: pointer; background: var(--band) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f75bc' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 18px center / 18px no-repeat; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; background-color: #fff; box-shadow: 0 0 0 2px var(--blue), 0 0 0 6px rgba(37,170,225,.18); }
.field .error { display: none; font-size: .8rem; color: #c0392b; padding-left: 12px; }
.field.invalid input, .field.invalid select, .field.invalid textarea { box-shadow: 0 0 0 2px #d9534f; }
.field.invalid .error { display: block; }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 28px; }
.form-foot small { color: var(--muted); max-width: 300px; font-size: .8rem; }
.form-success { display: none; text-align: center; padding: 24px 8px; }
.form-success .ok { width: 72px; height: 72px; border-radius: 20px; margin: 0 auto 22px; display: grid; place-items: center; background: var(--blue); color: #fff; box-shadow: var(--tile-shadow); }
.form-success .ok svg { width: 32px; height: 32px; }
.form-card.sent form { display: none; }
.form-card.sent .form-success { display: block; animation: pop .4s var(--ease); }
@keyframes pop { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }
.side-stack { display: grid; gap: 18px; }
.side-stack .map { min-height: 240px; }
.expect h3 { font-size: 1rem; }
.expect ol { list-style: none; counter-reset: e; display: grid; gap: 14px; }
.expect li { display: flex; gap: 12px; font-size: .9rem; counter-increment: e; }
.expect li::before { content: counter(e); flex: none; width: 26px; height: 26px; border-radius: 8px; background: var(--sky); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: .78rem; font-family: var(--font-display); }

/* ---------- Legal ---------- */
.legal h2 { font-size: 1.25rem; margin-top: 2em; }
.callout { padding: 20px 24px; border-radius: var(--r); background: var(--sky-50); color: var(--ink); font-size: .95rem; margin-bottom: 32px; }

/* ---------- Footer (light, reference style) ---------- */
.site-footer { background: #fff; padding-top: clamp(56px, 7vw, 88px); font-size: .9rem; color: var(--muted); }
.footer-top { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding-bottom: clamp(40px, 5vw, 56px); }
.footer-top h2 { font-weight: 500; font-size: clamp(1.3rem, 2.4vw, 1.9rem); max-width: 620px; margin: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1.3fr; gap: 40px; padding: clamp(40px, 5vw, 56px) 0; border-top: 1px solid var(--line); }
.footer-brand img { height: 32px; width: auto; margin-bottom: 18px; }
.footer-brand p { max-width: 300px; }
.site-footer h3 { font-size: .72rem; text-transform: uppercase; letter-spacing: .16em; color: var(--ink); margin-bottom: 18px; font-weight: 600; }
.footer-links { list-style: none; display: grid; gap: 10px; }
.footer-links a { color: var(--muted); font-family: var(--font-display); font-size: .84rem; }
.footer-links a:hover { color: var(--blue); }
.footer-contact { list-style: none; display: grid; gap: 14px; }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; line-height: 1.55; }
.footer-contact svg { width: 18px; height: 18px; color: var(--blue); flex: none; margin-top: 3px; }
.footer-contact a { color: var(--ink); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 22px 0 30px; border-top: 1px solid var(--line); font-size: .82rem; }
.footer-bottom p { margin: 0; }
.footer-bottom ul { list-style: none; display: flex; gap: 22px; }
.footer-bottom a { color: var(--muted); font-family: var(--font-display); }
.footer-bottom a:hover { color: var(--blue); }
.footer-round { display: flex; gap: 10px; }
.footer-round a { width: 42px; height: 42px; border-radius: 50%; background: #fff; box-shadow: var(--soft); color: var(--blue); display: grid; place-items: center; transition: all .25s; }
.footer-round a:hover { background: var(--blue); color: #fff; }
.footer-round svg { width: 17px; height: 17px; }

.to-top { position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 50px; height: 50px; border-radius: 50%; border: 0; cursor: pointer; background: var(--blue); color: #fff; display: grid; place-items: center; box-shadow: var(--tile-shadow); opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .3s var(--ease); }
.to-top svg { width: 20px; height: 20px; }
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--navy); }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js .step.reveal.in:nth-child(2) { transform: translateY(40px); }
.js .step.reveal.in:nth-child(3) { transform: translateY(80px); }
.js .step.reveal.in:nth-child(4) { transform: translateY(120px); }
.js .reveal.d1 { transition-delay: .08s; } .js .reveal.d2 { transition-delay: .16s; } .js .reveal.d3 { transition-delay: .24s; } .js .reveal.d4 { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- 404 ---------- */
.notfound { text-align: center; }
.notfound .tile { width: 180px; margin: 0 auto 32px; justify-content: center; align-items: center; font-size: 3rem; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .track { grid-auto-columns: calc((100% - 24px) / 2); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid > .tile { display: none; }
}
@media (max-width: 960px) {
  .feature, .feature.wide-right, .page-hero-grid, .contact-layout, .article-layout, .project { grid-template-columns: 1fr; }
  .feature-text[style*="sticky"] { position: static !important; }
  .feature.rev > :first-child, .project:nth-child(even) > :first-child { order: 0; }
  .track-wrap { grid-template-columns: 1fr; }
  .track-side .tile { width: 150px; margin-bottom: 22px; }
  .steps { grid-template-columns: repeat(2, 1fr); padding-bottom: 40px; }
  .step:nth-child(3) { transform: none; } .step:nth-child(4) { transform: translateY(40px); }
  .js .step.reveal.in:nth-child(3) { transform: none; } .js .step.reveal.in:nth-child(4) { transform: translateY(40px); }
  .points, .grid-3 { grid-template-columns: 1fr 1fr; }
  .svc-grid { grid-template-columns: 1fr; }
  .aside-card { position: static; }
  .hero-art, .tile-art { max-width: 520px; width: 100%; margin: 0 auto; }
}
@media (max-width: 680px) {
  :root { --header-h: 74px; }
  .brand img { height: 28px; }
  .mosaic { gap: 10px; }
  .track { grid-auto-columns: 82%; margin: -20px calc(-1 * var(--gutter)) -50px; padding: 20px var(--gutter) 50px; scroll-padding: 0 var(--gutter); }
  .steps, .points, .grid-2, .grid-3, .values, .check-list, .form-grid, .contact-grid { grid-template-columns: 1fr; }
  .step:nth-child(n) { transform: none !important; }
  .value:last-child { grid-column: auto; }
  .work-row { grid-template-columns: 1fr; padding: 12px 12px 22px; }
  .work-row > div:last-child { padding: 0 10px; }
  .mini-post { grid-template-columns: 96px 1fr; gap: 14px; }
  .mini-post p { display: none; }
  .svc-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .pill-group .pill { flex: 0 1 auto; }
  .hero h1 { font-size: clamp(2.1rem, 10vw, 2.8rem); }
  .steps-head { flex-direction: column; align-items: flex-start; gap: 20px; }
  .article-cta { grid-template-columns: 1fr; }
  .prose ol li { padding: 20px 20px 20px 72px; }
  .prose ol li::before { left: 18px; }
  .map { min-height: 260px; }
  .tile-art { max-width: 300px; }
}

/* Google Maps embed */
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.9) contrast(1.05) brightness(1.02); transition: filter .4s var(--ease); }
.map:hover iframe, .map:focus-within iframe { filter: none; }

/* Site-wide light greyscale background photo */
body { position: relative; isolation: isolate; }
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: url("../img/photos/services-overview.webp") center / cover no-repeat;
  filter: grayscale(1) contrast(.9); opacity: .08;
}
body::after {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,.35), rgba(255,255,255,0) 30%, rgba(255,255,255,0) 70%, rgba(255,255,255,.35));
}
.band, .contact-band { background: rgba(243, 245, 249, .82); }
.site-footer { background: rgba(255, 255, 255, .88); }
