/* Geomehanika · Concept 1 "Mapa poverenja" · information grid, map-and-data clarity */

@font-face { font-family: "Hanken Grotesk"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("../fonts/hanken-grotesk-var.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2190-2199, U+2212, U+2215; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/ibm-plex-mono-latin-ext-400-normal.woff2") format("woff2");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("../fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2190-2199, U+2212, U+2215; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("../fonts/ibm-plex-mono-latin-ext-500-normal.woff2") format("woff2");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --navy: #25364c; --slate: #86909f; --sand: #d1be8a; --ink: #16191e; --text: #333333; --white: #ffffff;
  --paper: #f6f3ec; --tint: #f3f4f6; --sand-tint: #e8dec5; --line: #dcdfe4; --line-paper: #e4dccb;
  --on-navy: rgba(255, 255, 255, .78); --line-navy: rgba(255, 255, 255, .16);
  --sans: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --fs-d1: clamp(2.75rem, 1.55rem + 4.9vw, 5.75rem);
  --fs-d2: clamp(2rem, 1.45rem + 2.3vw, 3.5rem);
  --fs-d3: clamp(1.3rem, 1.12rem + .7vw, 1.75rem);
  --fs-num: clamp(2.75rem, 2rem + 3vw, 4.5rem);
  --fs-lead: clamp(1.125rem, 1.03rem + .4vw, 1.375rem);
  --fs-body: 1.0625rem; --fs-small: .9375rem; --fs-mono: .8125rem;
  --pad: 80px; --gutter: 20px; --gap: 24px; --max: 1280px; --read: 680px;
  --ease: cubic-bezier(.2, .6, .2, 1); --t: .2s;
  --header-h: 64px;
}
@media (min-width: 768px) { :root { --pad: 96px; --gutter: 32px; } }
@media (min-width: 1024px) { :root { --pad: 136px; --gutter: 40px; --header-h: 84px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; font-family: var(--sans); font-size: var(--fs-body); line-height: 1.6; color: var(--text); background: var(--white);
  font-feature-settings: "ss01" 0; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
picture { display: block; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; }
.band-navy :focus-visible, .site-header :focus-visible, .site-footer :focus-visible { outline-color: var(--sand); }
.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 { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--sand); color: var(--ink); padding: 10px 16px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }
main:focus { outline: none; }

.container { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- type */
.h1 { font-size: var(--fs-d1); line-height: 1; font-weight: 600; letter-spacing: -.035em; color: var(--ink); }
.h2 { font-size: var(--fs-d2); line-height: 1.06; font-weight: 600; letter-spacing: -.03em; color: var(--ink); text-wrap: balance; }
.h3 { font-size: var(--fs-d3); line-height: 1.2; font-weight: 600; letter-spacing: -.015em; color: var(--ink); }
.lead { font-size: var(--fs-lead); line-height: 1.5; max-width: 36em; }
.mono { font-family: var(--mono); font-size: var(--fs-mono); letter-spacing: .02em; }
.kicker { font-family: var(--mono); font-size: var(--fs-mono); font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--navy); margin-bottom: 20px; }
.kicker-dark { color: var(--sand); }
.lead-dark { color: var(--on-navy); }
.tag-new { display: inline-block; vertical-align: middle; font-family: var(--mono); font-size: .6875rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase;
  background: var(--sand); color: var(--ink); padding: 3px 7px 2px; margin-left: 6px; line-height: 1.2; }

/* ---------- bands (no two adjacent share a background) */
.band { padding-block: var(--pad); }
.band-white { background: var(--white); }
.band-tint { background: var(--tint); }
.band-paper { background: var(--paper); }
.band-navy { background: var(--navy); color: var(--white); }
.band-navy .h2, .band-navy .h3 { color: var(--white); }

.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 48px; }
.section-head .h2 { max-width: 18em; }

/* ---------- buttons & links */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 24px; border: 0; border-radius: 2px;
  font-weight: 600; font-size: 1rem; letter-spacing: -.005em; text-decoration: none; cursor: pointer;
  transition: background-color var(--t) var(--ease), color var(--t) var(--ease); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--ink); }
.btn-sand { background: var(--sand); color: var(--ink); }
.btn-sand:hover { background: var(--white); }
.link-arrow { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; color: var(--navy); text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; padding-bottom: 3px;
  transition: background-size var(--t) var(--ease); }
.link-arrow::after { content: "→"; transition: transform var(--t) var(--ease); }
.link-arrow:hover { background-size: 100% 1.5px; }
.link-arrow:hover::after { transform: translateX(4px); }
.band-navy .link-arrow { color: var(--sand); }
.btn-line { min-height: 40px; padding: 8px 16px; border: 1px solid var(--line); background: transparent; border-radius: 2px; cursor: pointer;
  font-family: var(--mono); font-size: var(--fs-mono); letter-spacing: .04em; transition: background-color var(--t), border-color var(--t), color var(--t); }
.btn-line-dark { border-color: var(--line-navy); color: var(--white); }
.btn-line-dark:hover, .btn-line-dark[aria-pressed="true"] { border-color: var(--sand); color: var(--sand); }

/* ---------- header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--navy); color: var(--white); transition: box-shadow var(--t); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); transition: height .22s var(--ease); }
.brand { position: relative; display: block; width: 128px; height: 44px; flex: none; }
.brand img { position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: auto; transition: opacity .2s var(--ease); }
.logo-full { height: 44px; }
.logo-compact { height: 26px; opacity: 0; }
.site-header.is-compact { box-shadow: 0 1px 0 rgba(255, 255, 255, .08); }
.nav ul { display: flex; gap: 4px; }
.nav a:not(.btn) { display: block; padding: 10px 12px; color: var(--on-navy); text-decoration: none; font-weight: 500; font-size: .9875rem;
  background: linear-gradient(var(--sand), var(--sand)) 12px calc(100% - 4px) / 0 1.5px no-repeat; transition: color var(--t), background-size var(--t) var(--ease); }
.nav a:not(.btn):hover { color: var(--white); background-size: calc(100% - 24px) 1.5px; }
.nav a[aria-current="page"] { color: var(--white); background-size: calc(100% - 24px) 1.5px; }
.nav-toggle { display: none; }
@media (min-width: 1024px) {
  .brand { width: 152px; height: 52px; }
  .logo-full { height: 52px; }
  .logo-compact { height: 30px; }
  .site-header.is-compact { --header-h: 64px; }
  .site-header.is-compact .logo-full { opacity: 0; }
  .site-header.is-compact .logo-compact { opacity: 1; }
  .nav { display: flex; align-items: center; gap: 16px; }
  .nav-cta { min-height: 44px; padding: 10px 20px; }
}
@media (max-width: 1023px) {
  .js .nav-toggle { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 14px; background: transparent; border: 1px solid var(--line-navy);
    color: var(--white); border-radius: 2px; font-family: var(--mono); font-size: var(--fs-mono); letter-spacing: .06em; text-transform: uppercase; cursor: pointer; }
  .nav-toggle-bars { width: 16px; height: 10px; border-block: 1.5px solid currentColor; position: relative; }
  .nav-toggle-bars::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 1.5px solid currentColor; transform: translateY(-50%); }
  .js .nav { position: fixed; inset: var(--header-h) 0 auto 0; background: var(--navy); border-top: 1px solid var(--line-navy); padding: 16px var(--gutter) 28px; display: none; }
  .js .nav.is-open { display: block; }
  .nav ul { flex-direction: column; gap: 0; margin-bottom: 20px; }
  .nav a:not(.btn) { font-size: 1.25rem; padding: 12px 0; border-bottom: 1px solid var(--line-navy); background: none; }
  .nav a[aria-current="page"] { color: var(--sand); }
  html:not(.js) .header-inner { height: auto; flex-wrap: wrap; padding-block: 12px; }
  html:not(.js) .nav ul { flex-direction: row; flex-wrap: wrap; }
}

/* ---------- hero */
.hero { padding-top: calc(var(--pad) * .6); }
.hero-grid { display: grid; gap: 48px; }
.hero-h1 { margin-bottom: 28px; }
.hero-lead { margin-bottom: 36px; max-width: 30em; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-bottom: 40px; }
.hero-std { color: var(--navy); padding-top: 16px; border-top: 1px solid var(--line); max-width: 30em; }
.hero-fig img { width: 100%; aspect-ratio: 4 / 4.2; object-fit: cover; }
figcaption.mono { margin-top: 12px; color: var(--text); }
.band-navy figcaption.mono { color: var(--on-navy); }
@media (min-width: 1024px) {
  .hero-grid { grid-template-columns: repeat(12, 1fr); gap: var(--gap); align-items: center; }
  .hero-text { grid-column: 1 / span 6; padding-right: 24px; }
  .hero-fig { grid-column: 7 / span 6; }
  .hero-fig img { aspect-ratio: 1000 / 1050; }
}

/* ---------- numbers */
.num-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); }
.num-grid > div { padding: 24px 16px 4px 0; border-bottom: 1px solid var(--line); }
.num-grid > div:last-child { grid-column: 1 / -1; }
.num-grid dt { color: var(--text); order: 2; }
.num-grid > div { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 8px; }
.num-grid dd { font-size: var(--fs-num); line-height: 1; font-weight: 600; letter-spacing: -.04em; color: var(--navy); font-variant-numeric: tabular-nums; }
@media (min-width: 768px) {
  .num-grid { grid-template-columns: repeat(5, 1fr); border-bottom: 1px solid var(--line); }
  .num-grid > div, .num-grid > div:last-child { grid-column: auto; border-bottom: 0; border-left: 1px solid var(--line); padding: 28px 20px 8px; }
  .num-grid > div:first-child { border-left: 0; padding-left: 0; }
}

/* ---------- services index */
.svc-grid { display: grid; gap: 48px; }
.svc-intro .lead { margin: 20px 0 36px; }
.svc-fig img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.svc-list { border-top: 1px solid var(--ink); }
.svc-row { display: grid; grid-template-columns: 44px 1fr 24px; gap: 4px 16px; padding: 22px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--text); }
.svc-no { color: var(--navy); padding-top: 4px; }
.svc-name { font-size: 1.1875rem; font-weight: 600; color: var(--ink); line-height: 1.3; letter-spacing: -.01em; grid-column: 2; }
.svc-line { grid-column: 2; font-size: var(--fs-small); }
.svc-arrow { grid-column: 3; grid-row: 1; color: var(--navy); transition: transform var(--t) var(--ease); }
.svc-row:hover .svc-name { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
.svc-row:hover .svc-arrow { transform: translateX(4px); }
@media (min-width: 1024px) {
  .svc-grid { grid-template-columns: repeat(12, 1fr); gap: var(--gap); align-items: start; }
  .svc-intro { grid-column: 1 / span 4; position: sticky; top: calc(var(--header-h) + 32px); }
  .svc-list { grid-column: 6 / span 7; }
  .svc-row { grid-template-columns: 56px minmax(0, 1.1fr) minmax(0, 1fr) 24px; align-items: baseline; padding: 26px 0; }
  .svc-name, .svc-line { grid-column: auto; }
  .svc-arrow { grid-column: auto; grid-row: auto; }
}

/* ---------- map band */
.map-band { overflow: hidden; }
.map-head { display: grid; gap: 24px; margin-bottom: 32px; }
.map-head .h2 { margin-bottom: 16px; max-width: 14em; }
.map-meta { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.map-count { color: var(--sand); font-size: .9375rem; min-width: 8.5em; }
.map:not(.is-live) [data-list-toggle] { display: none; }
@media (min-width: 1024px) {
  .map-head { grid-template-columns: 1fr auto; align-items: end; }
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 40px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); cursor: pointer; font-size: .9375rem; font-weight: 500;
  transition: background-color var(--t), color var(--t), border-color var(--t); }
.chip:hover { border-color: var(--navy); }
.chip[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: var(--white); }
.chips-dark { margin-bottom: 32px; }
.chips-dark .chip { background: transparent; border-color: var(--line-navy); color: var(--on-navy); }
.chips-dark .chip:hover { border-color: var(--sand); color: var(--white); }
.chips-dark .chip[aria-pressed="true"] { background: var(--sand); border-color: var(--sand); color: var(--ink); }
.map:not(.is-live) .chips { display: none; }

.map-grid { display: grid; gap: 24px; }
.map-main { min-width: 0; }
.map-stage-wrap { border-top: 1px solid var(--line-navy); border-bottom: 1px solid var(--line-navy); padding-block: 12px 28px; }
.map-stage { position: relative; width: 100%; max-width: 600px; margin-inline: auto; aspect-ratio: 402.1 / 475; }
.map-compact .map-stage { max-width: 520px; }
.map-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.m-grid line { stroke: rgba(255, 255, 255, .09); stroke-width: 1; vector-effect: non-scaling-stroke; }
.m-land { fill: rgba(255, 255, 255, .055); stroke: var(--white); stroke-width: 1.25; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.m-river { fill: none; stroke: var(--slate); stroke-width: 1; stroke-linejoin: round; stroke-linecap: round; opacity: .7; vector-effect: non-scaling-stroke; }
.m-route { fill: none; stroke: var(--sand); stroke-width: 1.5; stroke-dasharray: 4 3; stroke-linejoin: round; vector-effect: non-scaling-stroke; opacity: .7; transition: opacity var(--t), stroke-width var(--t); }
.m-route.is-dim { opacity: .12; }
.m-route.is-active { opacity: 1; stroke-width: 2.5; }
.m-inset { fill: rgba(22, 25, 30, .28); stroke: rgba(255, 255, 255, .45); stroke-width: 1; vector-effect: non-scaling-stroke; }
.m-leader { stroke: rgba(255, 255, 255, .45); stroke-width: 1; stroke-dasharray: 2 3; vector-effect: non-scaling-stroke; }
.m-bg-dot { fill: var(--white); }
.m-overlay { position: absolute; inset: 0; pointer-events: none; }
.m-overlay > span { position: absolute; left: var(--x); top: var(--y); white-space: nowrap; }
.m-tick { font-family: var(--mono); font-size: .625rem; color: rgba(255, 255, 255, .42); letter-spacing: .04em; }
.m-tick-x { transform: translate(-50%, 6px); }
.m-tick-y { transform: translate(calc(-100% - 6px), -50%); }
.m-country { font-family: var(--mono); font-size: .625rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .36); transform: translate(-50%, -50%); }
.m-city { font-size: .75rem; font-weight: 500; color: rgba(255, 255, 255, .72); transform: translateY(-50%); }
.m-city::before { content: ""; position: absolute; top: 50%; width: 4px; height: 4px; background: var(--white); border-radius: 50%; transform: translateY(-50%); }
.m-city-r { padding-left: 10px; }
.m-city-r::before { left: -2px; }
.m-city-l { transform: translate(-100%, -50%); padding-right: 10px; }
.m-city-l::before { right: -2px; }
.m-inset-label { font-family: var(--mono); font-size: .625rem; letter-spacing: .08em; text-transform: uppercase; color: var(--sand); transform: translate(-100%, 0); }
.m-office { font-family: var(--mono); font-size: .6875rem; color: var(--ink); background: var(--sand); padding: 2px 6px 1px; transform: translate(-50%, calc(-100% - 12px)); }
.m-office::after { content: ""; position: absolute; left: 50%; bottom: -12px; width: 9px; height: 9px; margin-left: -4.5px; background: var(--sand); outline: 1.5px solid var(--navy); transform: translateY(50%); }
@media (max-width: 559px) { .m-country, .m-tick-y { display: none; } .m-city { font-size: .6875rem; } }

.pins { position: absolute; inset: 0; }
.pin { position: absolute; left: var(--x); top: var(--y); width: 26px; height: 26px; margin: -13px 0 0 -13px; padding: 0; border: 0; border-radius: 50%;
  background: transparent; cursor: pointer; z-index: 1; transition: opacity var(--t) var(--ease), transform .24s var(--ease); }
.pin::before { content: ""; position: absolute; inset: 7px; border-radius: 50%; background: var(--sand); box-shadow: 0 0 0 2px var(--navy); transition: transform .18s var(--ease), background-color .18s; }
.pin:hover::before, .pin:focus-visible::before { transform: scale(1.3); }
.pin:focus-visible { outline: 2px solid var(--white); outline-offset: 1px; }
.pin[aria-expanded="true"] { z-index: 3; }
.pin[aria-expanded="true"]::before { background: var(--white); box-shadow: 0 0 0 2px var(--navy), 0 0 0 4.5px var(--sand); transform: scale(1.3); }
.pin-name { position: absolute; left: calc(100% + 2px); top: 50%; transform: translateY(-50%); white-space: nowrap; pointer-events: none;
  background: var(--ink); color: var(--white); font-size: .8125rem; font-weight: 500; padding: 4px 8px; opacity: 0; transition: opacity .15s; }
.pin:hover, .pin:focus-visible { z-index: 4; }
.pin:hover .pin-name, .pin:focus-visible .pin-name { opacity: 1; }
.pin[style*="--x:8"] .pin-name, .pin[style*="--x:9"] .pin-name { left: auto; right: calc(100% + 2px); }
.pin.is-dim { opacity: .16; pointer-events: none; }
.map.pins-pending .pin { opacity: 0; transform: scale(.5); }
.map.demo-empty .pin, .map.demo-empty .m-route { opacity: 0; }
@media (min-width: 768px) { .pin { width: 28px; height: 28px; margin: -14px 0 0 -14px; } .pin::before { inset: 8px; } }

.map-legend { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 16px; color: var(--on-navy); font-size: .75rem; }
.map-legend li { display: flex; align-items: center; gap: 8px; }
.map-legend li:last-child { flex-basis: 100%; color: rgba(255, 255, 255, .55); }
.lg { display: inline-block; flex: none; }
.lg-pin { width: 10px; height: 10px; border-radius: 50%; background: var(--sand); box-shadow: 0 0 0 2px var(--navy), 0 0 0 3px rgba(255, 255, 255, .3); }
.lg-route { width: 22px; border-top: 1.5px dashed var(--sand); }
.lg-office { width: 10px; height: 10px; background: var(--sand); }

.map-list { margin-top: 32px; overflow-x: auto; }
.map.is-live .map-list { display: none; }
.map.is-live.is-list .map-list { display: block; margin-top: 0; }
.map.is-live.is-list .map-stage-wrap, .map.is-live.is-list .map-legend { display: none; }
.m-table { width: 100%; border-collapse: collapse; font-size: .9375rem; }
.m-table th, .m-table td { text-align: left; padding: 12px 12px 12px 0; border-bottom: 1px solid var(--line-navy); vertical-align: top; }
.m-table thead th { font-family: var(--mono); font-size: .75rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--sand); }
.m-table tbody th { font-weight: 600; color: var(--white); }
.m-table td { color: var(--on-navy); }
.m-table tr[hidden] { display: none; }
.m-list-open { color: var(--sand); font-weight: 600; text-decoration: none; white-space: nowrap; }
.m-list-open:hover { text-decoration: underline; text-underline-offset: 3px; }

/* panel */
.map-panel { background: var(--white); color: var(--text); border-radius: 2px; overflow: auto; }
.map-panel:focus { outline: none; }
.panel-empty { padding: 28px; }
.panel-empty-title { font-size: 1.375rem; line-height: 1.3; font-weight: 600; letter-spacing: -.015em; color: var(--ink); margin-bottom: 16px; }
.panel-empty-text { font-size: var(--fs-small); margin-bottom: 28px; }
.panel-empty-facts { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.panel-empty-facts div { padding-top: 14px; }
.panel-empty-facts dt { color: var(--text); font-size: .75rem; }
.panel-empty-facts dd { font-family: var(--sans); font-size: 2rem; font-weight: 600; color: var(--navy); letter-spacing: -.03em; }
.panel-media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.panel-body { padding: 22px 24px 28px; position: relative; }
.panel-close { position: absolute; top: 14px; right: 14px; min-height: 36px; padding: 6px 12px; border: 1px solid var(--line); background: var(--white); border-radius: 2px; cursor: pointer;
  font-family: var(--mono); font-size: .75rem; letter-spacing: .04em; transition: border-color var(--t); }
.panel-close:hover { border-color: var(--navy); }
.panel-kicker { margin-bottom: 8px; padding-right: 92px; }
.panel-title { font-size: 1.5rem; line-height: 1.15; font-weight: 600; letter-spacing: -.02em; color: var(--ink); margin-bottom: 18px; padding-right: 8px; }
.panel-title:focus { outline: none; }
.panel-facts { border-top: 1px solid var(--line); margin-bottom: 20px; }
.panel-facts div { display: grid; grid-template-columns: 88px 1fr; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: var(--fs-small); }
.panel-facts dt { font-family: var(--mono); font-size: .75rem; color: var(--navy); padding-top: 2px; }
.depth { margin-bottom: 20px; }
.depth-title { font-family: var(--mono); font-size: .75rem; color: var(--navy); margin-bottom: 8px; }
.depth svg { width: 100%; height: auto; }
.depth text { font-family: var(--sans); font-size: 11px; fill: var(--text); }
.depth .d-tick { font-family: var(--mono); font-size: 9.5px; fill: var(--text); }
.depth .d-npv { font-family: var(--mono); font-size: 9.5px; fill: var(--navy); font-weight: 500; }
.depth figcaption { font-size: .75rem; line-height: 1.4; margin-top: 6px; color: var(--text); font-style: italic; }
@media (min-width: 1024px) {
  .map-grid { grid-template-columns: minmax(0, 1fr) 420px; gap: 40px; align-items: start; }
  .map-panel { position: sticky; top: calc(var(--header-h) + 24px); max-height: calc(100vh - var(--header-h) - 48px); }
}
@media (max-width: 1023px) {
  .map.is-live .map-panel { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; max-height: 84vh; border-radius: 10px 10px 0 0;
    box-shadow: 0 -12px 40px rgba(22, 25, 30, .35); transform: translateY(105%); visibility: hidden; transition: transform .25s var(--ease), visibility 0s linear .25s; }
  .map.is-live.sheet-open .map-panel { transform: none; visibility: visible; transition: transform .25s var(--ease); }
  .map.is-live .panel-empty { display: none; }
  .panel-media img { aspect-ratio: 16 / 8; }
}

/* ---------- cases */
.case-grid { display: grid; gap: 48px 24px; }
@media (min-width: 768px) { .case-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .case-grid { grid-template-columns: repeat(3, 1fr); } }
.case { display: flex; flex-direction: column; }
.case-media { overflow: hidden; margin-bottom: 20px; background: var(--tint); }
.case-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .25s var(--ease); }
.case:hover .case-media img { transform: scale(1.03); }
.case-kicker { margin-bottom: 10px; }
.case-title { margin-bottom: 14px; }
.case-scope { font-size: var(--fs-small); margin-bottom: 16px; }
.case-facts { border-top: 1px solid var(--line); margin-bottom: 20px; }
.case-facts div { display: grid; grid-template-columns: 76px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: var(--fs-small); }
.case-facts dt { font-family: var(--mono); font-size: .75rem; color: var(--navy); padding-top: 2px; }
.tbc { font-family: var(--mono); font-size: .75rem; color: var(--text); }
.case .link-arrow { margin-top: auto; align-self: flex-start; }
.case[hidden] { display: none; }
.filter-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; padding-bottom: 32px; margin-bottom: 48px; border-bottom: 1px solid var(--line); }
.filter-count { color: var(--navy); font-size: .9375rem; }

/* ---------- clients */
.client-wall { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.client-wall li { background: var(--white); min-height: 112px; display: flex; align-items: center; justify-content: center; text-align: center; padding: 20px 12px;
  font-size: clamp(1.125rem, 1rem + .6vw, 1.5rem); font-weight: 600; letter-spacing: -.02em; line-height: 1.15; color: var(--slate); transition: color var(--t); }
.client-wall li:hover { color: var(--navy); }
@media (min-width: 768px) { .client-wall { grid-template-columns: repeat(4, 1fr); } .client-wall li { min-height: 140px; } }

/* ---------- lab */
.lab-grid { display: grid; gap: 48px; }
.lab-main img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.lab-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }
.lab-pair img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.lab-text .lead { margin: 16px 0 28px; }
.tick-list { border-top: 1px solid var(--line-paper); margin-bottom: 32px; }
.tick-list li { padding: 12px 0 12px 28px; border-bottom: 1px solid var(--line-paper); position: relative; }
.tick-list li::before { content: ""; position: absolute; left: 0; top: 21px; width: 14px; border-top: 2px solid var(--navy); }
.iso-grid { display: grid; gap: 12px; margin-bottom: 32px; }
.iso { background: var(--white); border: 1px solid var(--line-paper); border-top: 3px solid var(--navy); padding: 18px 20px 20px; }
.iso-code { color: var(--navy); font-weight: 500; margin-bottom: 6px; }
.iso-name { font-size: var(--fs-small); line-height: 1.4; color: var(--ink); }
@media (min-width: 768px) { .iso-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) {
  .lab-grid { grid-template-columns: repeat(12, 1fr); gap: var(--gap); align-items: start; }
  .lab-media { grid-column: 1 / span 6; }
  .lab-text { grid-column: 8 / span 5; }
  .lab-text .iso-grid { grid-template-columns: 1fr; }
}

/* ---------- CTA + forms */
.cta-grid { display: grid; gap: 48px; }
.cta-text .lead { margin: 16px 0 32px; }
.cta-contacts { border-top: 1px solid var(--line); }
.cta-contacts div { display: grid; grid-template-columns: 88px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.cta-contacts dt { color: var(--navy); }
.cta-contacts a, .office-dl a { text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size var(--t) var(--ease); }
.cta-contacts a:hover, .office-dl a:hover { background-size: 100% 1px; }
@media (min-width: 1024px) {
  .cta-grid { grid-template-columns: repeat(12, 1fr); gap: var(--gap); }
  .cta-text { grid-column: 1 / span 5; }
  .cta-form { grid-column: 7 / span 6; }
}
.qform { display: grid; gap: 20px; }
.qform-compact { background: var(--tint); padding: 28px 24px; }
@media (min-width: 768px) { .qform-compact { padding: 36px; } }
.field { display: grid; gap: 6px; align-content: start; }
.field-row { display: grid; gap: 20px; }
@media (min-width: 768px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field label { font-weight: 600; font-size: .9375rem; color: var(--ink); }
.req { color: var(--navy); }
.opt { font-family: var(--mono); font-size: .6875rem; font-weight: 400; color: var(--text); margin-left: 6px; letter-spacing: .04em; }
.hint { font-size: .875rem; color: var(--text); }
.field input:not([type="file"]), .field select, .field textarea { width: 100%; min-height: 48px; padding: 11px 14px; border: 1px solid var(--slate); border-radius: 2px; background: var(--white);
  transition: border-color var(--t), box-shadow var(--t); }
.field textarea { resize: vertical; min-height: 120px; }
.field input[type="file"] { padding: 10px 0; font-size: .9375rem; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 2px var(--navy); }
.field input[type="file"]:focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; }
.field [aria-invalid="true"] { border-color: #a3261f; box-shadow: 0 0 0 1px #a3261f; }
.field-error { font-size: .875rem; font-weight: 600; color: #a3261f; }
.field-error::before { content: "! "; }
.form-summary { border: 2px solid #a3261f; background: var(--white); padding: 16px 20px; }
.form-summary:focus { outline: none; }
.form-summary p { font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.form-summary ul { list-style: disc; padding-left: 20px; }
.form-summary a { color: #a3261f; font-weight: 600; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.form-note, .qform-more { font-size: .875rem; }
.qform-more a { color: var(--navy); font-weight: 600; }
.form-success { border-top: 3px solid var(--navy); background: var(--tint); padding: 32px 28px; }
.form-success:focus { outline: none; }
.form-success-title { font-size: var(--fs-d3); line-height: 1.25; font-weight: 600; color: var(--ink); letter-spacing: -.015em; margin-bottom: 14px; }
.form-success-note { color: var(--text); }

/* ---------- inner pages */
.page-head { padding-block: calc(var(--pad) * .75) calc(var(--pad) * .6); }
.crumb { margin-bottom: 28px; color: var(--text); }
.crumb a { color: var(--navy); }
.page-lead { margin-top: 24px; }
.page-head .h1 { max-width: 15em; font-size: clamp(2.5rem, 1.6rem + 3.6vw, 4.75rem); }

.table-wrap { overflow-x: auto; }
.ov-table { width: 100%; border-collapse: collapse; border-top: 1px solid var(--ink); }
.ov-table th, .ov-table td { text-align: left; vertical-align: baseline; padding: 18px 20px 18px 0; border-bottom: 1px solid var(--line); }
.ov-table thead th { font-family: var(--mono); font-size: .75rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--navy); padding-block: 14px; }
.ov-table tbody th { font-weight: 600; font-size: 1.0625rem; color: var(--ink); }
.ov-table tbody th a { text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; transition: background-size var(--t) var(--ease); }
.ov-table tbody th a:hover { background-size: 100% 1.5px; }
.ov-table td.mono { color: var(--navy); }
@media (max-width: 767px) {
  .ov-table thead { display: none; }
  .ov-table tr { display: grid; grid-template-columns: 40px 1fr; gap: 4px 12px; padding: 16px 0; border-bottom: 1px solid var(--line); }
  .ov-table th, .ov-table td { padding: 0; border: 0; }
  .ov-table tbody th, .ov-table td:nth-child(3), .ov-table td:nth-child(4) { grid-column: 2; }
  .ov-table td:first-child { grid-row: 1 / span 3; }
}
.svc-detail-grid { display: grid; gap: 40px; }
.svc-detail-fig img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.svc-detail-text .lead { margin: 16px 0 28px; }
.spec { border-top: 1px solid var(--ink); margin-bottom: 28px; max-width: var(--read); }
.spec div { display: grid; grid-template-columns: 112px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.band-paper .spec div { border-bottom-color: var(--line-paper); }
.spec dt { color: var(--navy); padding-top: 3px; }
@media (min-width: 1024px) {
  .svc-detail-grid { grid-template-columns: repeat(12, 1fr); gap: var(--gap); align-items: center; }
  .svc-detail-fig { grid-column: 1 / span 5; }
  .svc-detail-text { grid-column: 7 / span 6; }
}

.story-grid, .team-grid, .cert-grid, .contact-grid { display: grid; gap: 48px; }
.story-text .h2 { margin-bottom: 32px; }
.ledger { border-top: 1px solid var(--ink); max-width: var(--read); }
.ledger-row { display: grid; gap: 6px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.ledger-row dt { display: flex; gap: 14px; align-items: baseline; }
.ledger-key { color: var(--navy); min-width: 96px; font-weight: 500; }
.ledger-title { font-weight: 600; color: var(--ink); }
.story-fig img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; }
.team-text .lead { margin: 16px 0 28px; }
.team-media { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.team-a { grid-column: 1 / -1; }
.team-media img { width: 100%; height: 100%; object-fit: cover; }
.team-a img { aspect-ratio: 5 / 4; }
.team-b img, .team-c img { aspect-ratio: 3 / 4; }
.cert-fig { max-width: 360px; }
.cert-fig img { border: 1px solid var(--line); }
.iso-grid-wide { margin-bottom: 0; }
.band-white .iso { border-color: var(--line); border-top-color: var(--navy); background: var(--tint); }
.partners { border-top: 1px solid var(--ink); }
.partners li { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 24px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.partner-name { font-size: var(--fs-d3); font-weight: 600; letter-spacing: -.02em; color: var(--ink); }
.partners .mono { color: var(--navy); }
@media (min-width: 1024px) {
  .story-grid, .team-grid { grid-template-columns: repeat(12, 1fr); gap: var(--gap); align-items: start; }
  .story-text { grid-column: 1 / span 6; }
  .story-fig { grid-column: 8 / span 5; position: sticky; top: calc(var(--header-h) + 32px); }
  .team-text { grid-column: 1 / span 5; }
  .team-media { grid-column: 7 / span 6; }
  .cert-grid { grid-template-columns: repeat(12, 1fr); gap: var(--gap); }
  .cert-grid > div:first-child { grid-column: 1 / span 4; }
  .cert-grid .iso-grid { grid-column: 5 / span 8; grid-template-columns: repeat(2, 1fr); }
  .cert-fig { grid-column: 5 / span 4; }
}

.contact-form .h2 { margin-bottom: 32px; }
.offices { display: grid; gap: 16px; align-content: start; }
.office { border-top: 3px solid var(--navy); background: var(--tint); padding: 28px; }
.office .h3 { margin-bottom: 12px; }
.office address { font-style: normal; margin-bottom: 18px; }
.office-dl div { display: grid; grid-template-columns: 56px 1fr; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.office-dl dt { color: var(--navy); }
@media (min-width: 1024px) {
  .contact-grid { grid-template-columns: repeat(12, 1fr); gap: var(--gap); }
  .contact-form { grid-column: 1 / span 7; }
  .offices { grid-column: 9 / span 4; position: sticky; top: calc(var(--header-h) + 32px); }
}

/* ---------- footer */
.site-footer { background: var(--ink); color: var(--on-navy); padding-block: 88px 32px; }
.footer-grid { display: grid; gap: 40px; padding-bottom: 56px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.footer-brand img { height: 52px; width: auto; margin-bottom: 20px; }
.footer-brand p { max-width: 24em; font-size: var(--fs-small); }
.site-footer address { font-style: normal; font-size: var(--fs-small); line-height: 1.8; }
.site-footer a { color: var(--white); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer-col ul li { padding: 3px 0; font-size: var(--fs-small); }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 28px; color: rgba(255, 255, 255, .6); }
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 5fr 3fr 3fr 2fr; } }

/* ---------- motion policy */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0s !important; animation: none !important; }
}
html.capture *, html.capture *::before, html.capture *::after { transition: none !important; animation: none !important; }
