@font-face {
  font-family: 'Work Sans';
  src: url('../fonts/work-sans-latin-ext.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, 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: 'Work Sans';
  src: url('../fonts/work-sans-latin.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --navy-950: #06112a;
  --navy-900: #0b1a33;
  --navy-800: #122a4f;
  --navy-700: #1d3a66;
  --ink: #0a1f5c;
  --ink-2: #3a4d72;
  --on-navy: #ffffff;
  --on-navy-2: #b8c6de;
  --blue: #064cb0;
  --blue-hover: #0a5dd4;
  --blue-press: #053e91;
  --cyan: #0ebfe9;
  --rule: #cfd9e8;
  --rule-strong: #93a9ca;
  --rule-navy: #2a4270;
  --paper: #ffffff;
  --paper-2: #f2f5f9;
  --error: #b3261e;

  --font: 'Work Sans', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-zh: 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans SC', 'Work Sans', sans-serif;

  --gutter: clamp(20px, 5.2vw, 88px);
  --hh: clamp(64px, 5vw, 80px);
  --max: 1680px;
  --section: clamp(72px, 9vw, 144px);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hh) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  font-feature-settings: 'kern' 1;
  text-rendering: optimizeLegibility;
}
:lang(zh) body, body:lang(zh) { font-family: var(--font-zh); }
:lang(zh) h1, :lang(zh) h2, :lang(zh) h3, :lang(zh) .sheet__lead { letter-spacing: 0.01em; }
:lang(zh) .hero h1 { line-height: 1.08; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
::selection { background: var(--blue); color: #fff; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
.sheet :focus-visible, .band--paper :focus-visible { outline-color: var(--blue); }
html { scrollbar-color: var(--rule-strong) var(--paper-2); }
h1, h2, h3 { margin: 0; line-height: 1.05; letter-spacing: -0.02em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
.tnum { font-variant-numeric: tabular-nums; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--paper); color: var(--ink); padding: 10px 16px; font-weight: 600;
}
.skip:focus { top: 12px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 40; height: var(--hh);
  display: flex; align-items: center; gap: clamp(20px, 2.4vw, 40px);
  padding: 0 var(--gutter);
  color: var(--on-navy);
  background: rgba(6, 17, 42, 0);
  border-bottom: 1px solid transparent;
  transition: background-color 0.35s ease, border-color 0.35s ease;
}
.site-header.is-solid { background: var(--navy-950); border-bottom-color: var(--rule-navy); }
body:has(.site-header.is-solid:not(.site-header--overlay)) { padding-top: var(--hh); }
.brand { display: block; flex: none; }
.brand img { height: clamp(28px, 2.6vw, 40px); width: auto; }
.site-footer .brand img { height: 40px; }
.call {
  flex: none; display: inline-flex; align-items: center; gap: 10px;
  background: var(--blue); color: #fff; text-decoration: none; border-radius: 3px;
  font-weight: 650; font-size: 1rem; font-variant-numeric: tabular-nums; letter-spacing: 0.01em;
  padding: 12px 18px; transition: background-color 0.2s ease;
}
.call svg { width: 18px; height: 18px; flex: none; }
.call:hover { background: var(--blue-hover); }
.call:active { background: var(--blue-press); }
.nav { margin-left: auto; display: flex; align-items: center; gap: clamp(20px, 2.6vw, 44px); }
.nav__links { display: flex; gap: clamp(20px, 2.8vw, 46px); }
.nav__links a, .lang a {
  text-decoration: none; font-weight: 500; font-size: 1.0625rem; letter-spacing: 0.005em;
  padding: 6px 0; position: relative;
}
.nav__links a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--cyan); transform: scaleX(0); transform-origin: left;
  transition: transform 0.35s var(--ease-out);
}
.nav__links a:hover::after, .nav__links a[aria-current='page']::after { transform: scaleX(1); }
.lang { display: flex; align-items: center; gap: 18px; padding-left: clamp(20px, 2.4vw, 36px); border-left: 1px solid rgba(255, 255, 255, 0.55); }
.lang a { font-size: 0.9375rem; font-weight: 600; }
.lang a[aria-current='true'] { color: var(--cyan); }
.lang a:hover { color: var(--cyan); }
.nav-toggle {
  display: none; margin-left: auto;
  background: none; border: 1px solid rgba(255, 255, 255, 0.5); color: inherit;
  font: inherit; font-weight: 600; font-size: 0.9375rem; padding: 10px 14px; cursor: pointer;
  align-items: center; gap: 10px;
}
.nav-toggle svg { width: 18px; height: 18px; }

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; margin-left: 0; order: 3; }
  .call { margin-left: auto; padding: 11px 13px; }
  .call span { display: none; }
  .nav {
    position: fixed; inset: 0; z-index: 50; margin: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--navy-950); padding: 96px var(--gutter) 40px;
    transform: translateY(-100%); visibility: hidden;
    transition: transform 0.5s var(--ease-out), visibility 0s linear 0.5s;
  }
  .nav.is-open { transform: none; visibility: visible; transition: transform 0.5s var(--ease-out); }
  .nav__links { flex-direction: column; gap: 0; }
  .nav__links a { display: block; font-size: 1.75rem; font-weight: 600; padding: 16px 0; border-bottom: 1px solid var(--rule-navy); }
  .nav__links a::after { display: none; }
  .lang { border: 0; padding: 28px 0 0; gap: 24px; }
  .lang a { font-size: 1.0625rem; }
  .nav-close { position: absolute; top: 22px; right: var(--gutter); }
}
@media (min-width: 961px) { .nav-close { display: none; } }

/* ---------- Home hero ---------- */
.fold { display: grid; grid-template-rows: minmax(0, 1fr) auto auto; height: 100svh; min-height: 640px; }
.hero { position: relative; min-height: 0; background: var(--navy-900); color: var(--on-navy); overflow: hidden; }
.hero__media, .hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__media img { object-fit: cover; object-position: 60% 30%; }
.hero__media::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 17, 42, 0.72) 0%, rgba(6, 17, 42, 0.35) 42%, rgba(6, 17, 42, 0) 70%),
    linear-gradient(180deg, rgba(6, 17, 42, 0.55) 0%, rgba(6, 17, 42, 0) 22%);
}
.hero__copy { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 14.5%; }
.hero h1 { font-size: clamp(2.6rem, 6.35vw, 6rem); font-weight: 760; line-height: 0.93; letter-spacing: -0.035em; }
.hero h1 span { display: block; }
.hero__sub { margin-top: 0.9em; font-size: clamp(1.0625rem, 1.5vw, 1.45rem); font-weight: 500; color: var(--on-navy-2); }

/* ---------- Folio ruler (drawing-sheet column ruler) ---------- */
.folio {
  position: relative; height: 30px; margin-top: 18px;
  display: grid; grid-template-columns: repeat(6, 1fr);
  border-bottom: 1px solid var(--rule-strong);
  color: var(--ink); font-size: 0.6875rem; font-weight: 600;
}
.folio span { position: relative; padding: 4px 0 0 max(12px, 3.3%); }
.folio span + span::before { content: ''; position: absolute; left: 0; bottom: 0; height: 12px; width: 1px; background: var(--rule-strong); }
.folio--navy { color: var(--on-navy-2); border-color: var(--rule-navy); margin-top: 0; }
.folio--navy span + span::before { background: var(--rule-navy); }

/* ---------- Sheet: first-viewport columns ---------- */
.sheet {
  display: grid;
  grid-template-columns: 22.46% 20.25% 24.35% 1fr;
}
.sheet > * { padding: clamp(20px, 2.3vw, 35px) 0 clamp(28px, 3vw, 44px) clamp(16px, 2vw, 31px); }
.sheet > * + * { border-left: 1px solid var(--rule); }
.sheet > *:first-child { padding-left: clamp(20px, 3.1vw, 48px); padding-right: 8px; padding-top: clamp(18px, 2.1vw, 32px); }
.sheet > *:last-child { padding-right: var(--gutter); }
.sheet__lead { font-size: clamp(1.25rem, 1.72vw, 1.65rem); font-weight: 680; line-height: 1.3; letter-spacing: -0.035em; }
.sheet .btn { margin-top: clamp(18px, 1.8vw, 28px); padding-inline: 34px; }
.seg { padding-right: clamp(16px, 2vw, 32px) !important; }
.seg__head { display: flex; align-items: center; gap: 22px; padding-bottom: 22px; border-bottom: 1px solid var(--rule); }
.seg__head h2 { font-size: clamp(1.9rem, 3vw, 3rem); font-weight: 700; letter-spacing: -0.035em; }
.seg ul { padding-top: 12px; }
.seg li { font-size: clamp(0.9375rem, 1.2vw, 1.1875rem); font-weight: 500; color: var(--ink); line-height: 1.85; letter-spacing: -0.015em; }


.label {
  font-size: 0.9rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue);
}
.reftable { width: 100%; border-collapse: collapse; margin-top: 6px; }
.reftable td { padding: clamp(6px, 0.55vw, 9px) 0 clamp(5px, 0.48vw, 8px); font-weight: 500; letter-spacing: -0.015em; border-bottom: 1px solid var(--rule); font-size: clamp(0.9375rem, 1.17vw, 1.125rem); letter-spacing: -0.005em; }
.reftable td:first-child { color: var(--blue); font-weight: 700; width: 7ch; font-variant-numeric: tabular-nums; }
.more { display: inline-flex; align-items: center; gap: 10px; margin-top: clamp(14px, 1.3vw, 20px); color: var(--blue); font-weight: 600; text-decoration: none; }
.more svg { width: 16px; height: 16px; transition: transform 0.3s var(--ease-out); }
.more:hover svg { transform: translateX(4px); }
.more:hover { text-decoration: underline; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 14px;
  background: var(--blue); color: #fff; text-decoration: none; border: 0; border-radius: 3px;
  font: inherit; font-weight: 600; font-size: 1.0625rem; line-height: 1;
  padding: 19px 26px; cursor: pointer;
  transition: background-color 0.2s ease;
}
.btn svg { width: 18px; height: 18px; transition: transform 0.3s var(--ease-out); }
.btn:hover { background: var(--blue-hover); }
.btn:hover svg { transform: translateX(4px); }
.btn:active { background: var(--blue-press); }
.btn[disabled] { background: #8a9bb8; cursor: not-allowed; }
.btn--ghost { background: transparent; border: 1px solid rgba(255, 255, 255, 0.6); }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.08); }

/* ---------- Generic sections ---------- */
.wrap { padding-left: var(--gutter); padding-right: var(--gutter); max-width: var(--max); margin: 0 auto; }
.section { padding-top: var(--section); padding-bottom: var(--section); }
.band--navy { background: var(--navy-900); color: var(--on-navy); }
.band--paper2 { background: var(--paper-2); }
.h2 { font-size: clamp(2.1rem, 4vw, 3.75rem); font-weight: 650; letter-spacing: -0.03em; }
.intro { font-size: clamp(1.125rem, 1.4vw, 1.3125rem); color: var(--ink-2); max-width: 44ch; margin-top: 22px; line-height: 1.5; }
.band--navy .intro { color: var(--on-navy-2); }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 112px); align-items: start; }

.spec { border-top: 1px solid var(--ink); }
.spec > div { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 9fr); gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--rule); }
.spec dt { font-weight: 650; font-size: 1.1875rem; display: flex; gap: 14px; align-items: baseline; }
.spec dt small { font-size: 0.75rem; font-weight: 600; color: var(--blue); font-variant-numeric: tabular-nums; min-width: 2.2em; }
.spec dd { color: var(--ink-2); font-size: 1.0625rem; max-width: 58ch; }
.band--navy .spec { border-color: var(--on-navy); }
.band--navy .spec > div { border-color: var(--rule-navy); }
.band--navy .spec dd { color: var(--on-navy-2); }

.photo-band { position: relative; background: var(--navy-900); }
.photo-band img { width: 100%; height: clamp(260px, 42vw, 640px); object-fit: cover; }
.photo-band figcaption { position: absolute; left: var(--gutter); bottom: 16px; color: rgba(255, 255, 255, 0.78); font-size: 0.75rem; }

.split.split--form { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }

/* ---------- Map ---------- */
.map { position: relative; }
.map__canvas { position: relative; aspect-ratio: 1000 / 700; background: var(--navy-950); }
.map__canvas > img, .map__canvas > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.map .site { cursor: pointer; }
.map .site circle.dot { fill: var(--cyan); transition: fill 0.25s ease, opacity 0.35s ease, r 0.35s var(--ease-out); }
.map .site.is-industry circle.dot { fill: #ffffff; }
.map .site circle.hit { fill: transparent; }
.map svg { overflow: visible; }
.map .site text { fill: #fff; font-size: 15px; font-weight: 500; font-family: var(--font); paint-order: stroke; stroke: var(--navy-950); stroke-width: 4px; opacity: 0; transition: opacity 0.2s ease; pointer-events: none; }
.map .site.is-labelled text, .map .site:hover text, .map .site:focus text, .map .site.is-active text { opacity: 1; }
.map .site.is-off circle.dot { opacity: 0.14; }
.map .site.is-off { pointer-events: none; }
.map .site:focus { outline: none; }
.map .site:focus circle.dot, .map .site.is-active circle.dot { fill: var(--blue-hover); stroke: #fff; stroke-width: 2; }
.map .home circle { fill: none; stroke: var(--cyan); stroke-width: 3; }
.map .home circle.core { fill: var(--blue-hover); stroke: none; }
.map .home text { fill: #fff; font-size: 17px; font-weight: 700; font-family: var(--font); paint-order: stroke; stroke: var(--navy-950); stroke-width: 4px; }

.map-panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 360px); background: var(--navy-950); color: var(--on-navy); }
.map-side { border-left: 1px solid var(--rule-navy); padding: 28px; display: flex; flex-direction: column; gap: 24px; }
.controls { display: flex; flex-direction: column; gap: 22px; }
.seg-switch { display: flex; flex-wrap: wrap; gap: 8px; }
.seg-switch button {
  font: inherit; font-size: 0.9375rem; font-weight: 600; color: var(--on-navy); background: transparent;
  border: 1px solid var(--rule-navy); border-radius: 3px; padding: 9px 12px; cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px;
}
.seg-switch button i { width: 9px; height: 9px; border-radius: 50%; background: var(--cyan); display: inline-block; }
.seg-switch button[data-sector='industry'] i { background: #fff; }
.seg-switch button[data-sector='all'] i { display: none; }
.seg-switch button[aria-pressed='true'] { background: var(--blue); border-color: var(--blue); }
.seg-switch button:hover:not([aria-pressed='true']) { border-color: var(--on-navy-2); }
.range label { display: flex; justify-content: space-between; align-items: baseline; font-size: 0.9375rem; color: var(--on-navy-2); }
.range output { font-size: 2.25rem; font-weight: 700; color: #fff; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.range input { width: 100%; margin-top: 10px; accent-color: var(--cyan); }
.range .scale { display: flex; justify-content: space-between; font-size: 0.75rem; color: var(--on-navy-2); font-variant-numeric: tabular-nums; }
.count { font-size: 0.9375rem; color: var(--on-navy-2); }
.count strong { color: #fff; font-size: 1.25rem; font-variant-numeric: tabular-nums; }
.site-detail { border-top: 1px solid var(--rule-navy); padding-top: 18px; min-height: 120px; }
.site-detail h3 { font-size: 1.25rem; font-weight: 650; letter-spacing: -0.01em; }
.site-detail ul { margin-top: 10px; }
.site-detail li { display: flex; justify-content: space-between; gap: 16px; font-size: 0.9375rem; padding: 6px 0; border-bottom: 1px solid var(--rule-navy); color: var(--on-navy-2); }
.site-detail li span:last-child { color: #fff; font-variant-numeric: tabular-nums; white-space: nowrap; }
.site-detail p { color: var(--on-navy-2); font-size: 0.9375rem; }
.offmap { font-size: 0.8125rem; color: var(--on-navy-2); }

.map-teaser { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 96px); align-items: center; }
.map-teaser .map__canvas { background: transparent; }
.sector-list { margin-top: 36px; border-top: 1px solid var(--rule-navy); }
.sector-list li { display: flex; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid var(--rule-navy); font-size: 1.0625rem; }
.sector-list li span:last-child { color: var(--on-navy-2); font-variant-numeric: tabular-nums; }

/* ---------- Reference list ---------- */
.reflist { columns: 2 420px; column-gap: clamp(32px, 5vw, 96px); margin-top: 48px; }
.reflist .sector { break-inside: avoid; margin-bottom: 44px; }
.reflist summary { list-style: none; cursor: default; }
.reflist summary::-webkit-details-marker { display: none; }
.reflist h3 { font-size: 1.375rem; font-weight: 650; padding-bottom: 12px; border-bottom: 1px solid var(--ink); display: flex; justify-content: space-between; align-items: baseline; }
.reflist h3 span { font-size: 0.875rem; color: var(--ink-2); font-weight: 500; font-variant-numeric: tabular-nums; }
.reflist li { display: grid; grid-template-columns: 9.5ch 1fr; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--rule); font-size: 1rem; }
.reflist li span:first-child { color: var(--blue); font-weight: 650; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* ---------- Page header (sub pages) ---------- */
.page-head { background: var(--navy-900); color: var(--on-navy); }
.page-head__inner { padding-top: clamp(36px, 4vw, 72px); padding-bottom: clamp(32px, 3.4vw, 60px); }
.page-head h1 { font-size: clamp(2.4rem, 4.8vw, 4.75rem); font-weight: 700; letter-spacing: -0.035em; max-width: 16ch; }
.page-head .intro { color: var(--on-navy-2); }

/* ---------- Services ---------- */
.segments { display: grid; grid-template-columns: 1fr 1fr; }
.segments article { border-right: 1px solid var(--rule); }
.segments article:last-child { border-right: 0; }
.segments figure { margin: 0; position: relative; }
.segments figure img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.segments figcaption { position: absolute; right: 16px; bottom: 12px; color: rgba(255, 255, 255, 0.8); font-size: 0.75rem; }
.segments .seg-body { padding: clamp(28px, 3vw, 48px) var(--gutter) clamp(32px, 3.4vw, 56px); }
.segments .seg__head h2 { font-size: clamp(2.2rem, 3.6vw, 3.5rem); }
.roles { margin-top: 8px; }
.roles li { display: flex; gap: 18px; align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--rule); font-size: 1.1875rem; font-weight: 500; }
.roles li small { color: var(--blue); font-weight: 650; font-size: 0.875rem; font-variant-numeric: tabular-nums; min-width: 3.4ch; }
.prose p { max-width: 64ch; font-size: 1.1875rem; line-height: 1.65; color: var(--ink); }
.prose p + p { margin-top: 1.1em; }
.band--navy .prose p { color: var(--on-navy); }

/* ---------- Contact ---------- */
.lines { border-top: 1px solid var(--ink); }
.lines a, .lines div { display: grid; grid-template-columns: 5.5ch minmax(0, 1fr) auto 20px; gap: 16px; align-items: baseline; padding: 18px 0; border-bottom: 1px solid var(--rule); text-decoration: none; }
.lines .k { color: var(--blue); font-weight: 700; font-variant-numeric: tabular-nums; }
.lines .v { font-size: clamp(1.25rem, 2vw, 1.75rem); font-weight: 600; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.lines .n { color: var(--ink-2); font-size: 0.9375rem; }
.lines a:hover .v { color: var(--blue); }
.lines .k-ico { width: 18px; height: 18px; display: block; }
.lines svg { width: 20px; height: 20px; align-self: center; color: var(--blue); transition: transform 0.3s var(--ease-out); }
.band--navy .lines svg { color: var(--cyan); }
.lines a:hover svg { transform: translateX(3px); }
.band--navy .lines { border-color: #fff; }
.band--navy .lines a, .band--navy .lines div { border-color: var(--rule-navy); }
.band--navy .lines .k { color: var(--cyan); }
.band--navy .lines .n { color: var(--on-navy-2); }
.band--navy .lines a:hover .v { color: var(--cyan); }

.form { display: grid; gap: 22px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field label { display: block; font-weight: 600; font-size: 0.9375rem; margin-bottom: 8px; }
.field input, .field textarea {
  width: 100%; font: inherit; color: var(--ink); background: var(--paper);
  border: 1px solid var(--rule-strong); border-radius: 3px; padding: 14px 16px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field input::placeholder, .field textarea::placeholder { color: #5d6f90; }
.field textarea { min-height: 180px; resize: vertical; }
.field input:hover, .field textarea:hover { border-color: var(--ink-2); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(6, 76, 176, 0.18); }
.field.is-invalid input, .field.is-invalid textarea { border-color: var(--error); }
.field .err { display: none; color: var(--error); font-size: 0.875rem; margin-top: 6px; }
.field.is-invalid .err { display: block; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 0.9375rem; color: var(--ink-2); }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--blue); flex: none; }
.hp { position: absolute; left: -9999px; }
.form-note { font-size: 0.875rem; color: var(--ink-2); }
.form-status { font-weight: 600; color: var(--blue); }
.form-status:empty { display: none; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: var(--on-navy-2); font-size: 0.9375rem; }
.site-footer .wrap { padding-top: 72px; padding-bottom: 36px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 3fr) minmax(0, 3fr) minmax(0, 2fr); gap: 40px; padding-bottom: 56px; border-bottom: 1px solid var(--rule-navy); }
.site-footer h2 { font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: #fff; margin-bottom: 18px; }
.site-footer p { max-width: 46ch; }
.site-footer .brand img { margin-bottom: 24px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer li + li { margin-top: 8px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-top: 24px; font-size: 0.8125rem; }
.footer-bottom ul { display: flex; gap: 24px; }
.footer-bottom li + li { margin-top: 0; }
.tnum-list { font-variant-numeric: tabular-nums; }

/* ---------- Motion: the sheet draws in once ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .folio--draw { transform-origin: left; animation: rule 1.1s var(--ease-out) 0.15s both; }
  .js .sheet--draw > * { animation: rise 0.9s var(--ease-out) both; }
  .js .sheet--draw > *:nth-child(2) { animation-delay: 0.12s; }
  .js .sheet--draw > *:nth-child(3) { animation-delay: 0.22s; }
  .js .sheet--draw > *:nth-child(4) { animation-delay: 0.32s; }
  .js .hero--draw .hero__media img { animation: settle 1.8s var(--ease-out) both; }
  .js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out); }
  .js .reveal.is-in { opacity: 1; transform: none; }
}
@keyframes rule { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes rise { from { opacity: 0.001; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes settle { from { transform: scale(1.06); } to { transform: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .sheet { grid-template-columns: 1fr 1fr; }
  .sheet > * { padding-right: var(--gutter) !important; }
  .sheet > *:nth-child(3) { border-left: 0; }
  .sheet > *:nth-child(n+3) { border-top: 1px solid var(--rule); }
  .sheet > *:first-child, .sheet > *:nth-child(3) { padding-left: var(--gutter); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .map-panel { grid-template-columns: 1fr; }
  .map-side { border-left: 0; border-top: 1px solid var(--rule-navy); }
}
@media (max-width: 760px) {
  body { font-size: 1rem; }
  .fold { display: block; height: auto; min-height: 0; }
  .hero { height: min(80svh, 640px); }
  .hero__media img { object-position: 62% 30%; }
  .hero__copy { bottom: 44px; }
  .sheet { grid-template-columns: 1fr; min-height: 0; }
  .sheet > * { border-left: 0 !important; padding-left: var(--gutter) !important; }
  .sheet > * + * { border-top: 1px solid var(--rule); }
  .seg__head { padding-bottom: 16px; }
  .folio { grid-template-columns: repeat(3, 1fr); }
  .folio span:nth-child(n+4) { display: none; }
  .split, .split.split--form, .map-teaser, .segments { grid-template-columns: 1fr; }
  .segments article { border-right: 0; }
  .spec > div { grid-template-columns: 1fr; gap: 6px; }
  .form .row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .lines a, .lines div { grid-template-columns: 3.4ch minmax(0, 1fr) 20px; gap: 12px; padding: 16px 0; align-items: center; }
  .lines .n { grid-column: 2; grid-row: 2; margin-top: -4px; font-size: 0.875rem; }
  .lines .v { font-size: 1.25rem; }
  .lines svg { grid-column: 3; grid-row: 1; }
  .reflist li { grid-template-columns: 9.5ch 1fr; gap: 10px; font-size: 0.9375rem; }
  .map .site:not(.is-labelled):not(.is-active) text, .map .site[data-t="Neckarsulm"]:not(.is-active) text, .map .site[data-t="Ingolstadt"]:not(.is-active) text, .map .site[data-t="Mladá Boleslav"]:not(.is-active) text { display: none; }
  .map-teaser .map .site text { font-size: 34px; }
  .map-teaser .map .home text { font-size: 36px; }
  .hero__sub { color: #fff; }
  .hero__media::after { background: linear-gradient(180deg, rgba(6, 17, 42, 0.55) 0%, rgba(6, 17, 42, 0) 22%, rgba(6, 17, 42, 0.15) 45%, rgba(6, 17, 42, 0.82) 100%); }
  .map .site text { font-size: 30px; stroke-width: 7px; }
  .map .home text { font-size: 32px; stroke-width: 7px; }
  .map .site circle.dot { r: 9; }
  .map-side { padding: 22px var(--gutter); }
}
.sheet .more { font-size: clamp(0.9375rem, 1.02vw, 1rem); margin-top: clamp(10px, 0.9vw, 14px); }
.sheet > *:last-child { padding-top: clamp(18px, 2vw, 31px); }

/* Touch targets: every standalone control is at least 44px tall */
.brand { padding-block: 8px; }
.more { min-height: 44px; }
.range input { height: 44px; margin-top: 0; }

/* Section headings stay in view beside long right-hand columns */
@media (min-width: 761px) {
  .split > .h2:first-child, .split > div:first-child:has(> .h2) { position: sticky; top: calc(var(--hh) + 32px); align-self: start; }
}
@media (max-width: 760px) {
  .split--form > div:last-child { order: -1; }
  .hero__media::after { background: linear-gradient(180deg, rgba(6, 17, 42, 0.75) 0%, rgba(6, 17, 42, 0) 18%, rgba(6, 17, 42, 0.15) 45%, rgba(6, 17, 42, 0.82) 100%); }
}

/* Reference map: title lives in the side panel, map fills the window below the header */
.map-side__head h1 { font-size: clamp(2rem, 2.6vw, 2.75rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1.05; }
.map-side__head p { margin-top: 12px; color: var(--on-navy-2); font-size: 0.9375rem; line-height: 1.5; }
@media (min-width: 761px) {
  .map-panel { height: calc(100svh - var(--hh)); min-height: 520px; grid-template-columns: minmax(0, 1fr) clamp(300px, 24vw, 400px); }
  .map-panel .map__canvas { aspect-ratio: auto; height: 100%; }
  .map-panel .map__canvas > img { object-fit: cover; }
  .map-side { overflow: auto; }
}

/* ---------- Mobile: sticky call bar, collapsible reference sectors, tighter footer ---------- */
.callbar { display: none; }
@media (max-width: 760px) {
  .site-footer { padding-bottom: 58px; }
  .callbar {
    display: flex; align-items: center; gap: 12px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
    height: calc(58px + env(safe-area-inset-bottom)); padding: 0 var(--gutter) env(safe-area-inset-bottom);
    background: var(--blue); color: #fff; text-decoration: none;
    border-top: 1px solid rgba(255, 255, 255, 0.25);
  }
  .callbar svg { width: 22px; height: 22px; flex: none; }
  .callbar span { font-size: 0.9375rem; font-weight: 500; opacity: 0.85; }
  .callbar strong { margin-left: auto; font-size: 1.0625rem; font-weight: 650; font-variant-numeric: tabular-nums; }
  .callbar:active { background: var(--blue-press); }
  .callbar { transform: translateY(calc(100% + 24px)); transition: transform 0.4s var(--ease-out); }
  .callbar.is-shown { transform: none; }
  .call { display: inline-flex !important; margin-left: auto; padding: 11px 13px; }
  .nav-toggle { margin-left: 0 !important; }

  .seg li { font-size: 1.0625rem; line-height: 1.5; padding: 10px 0; border-bottom: 1px solid var(--rule); }
  .seg ul { padding-top: 4px; }
  .seg__head { padding-bottom: 14px; }
  .sheet > * { padding-top: 28px !important; padding-bottom: 28px !important; }

  .reflist { margin-top: 28px; }
  .reflist .sector { margin-bottom: 0; border-bottom: 1px solid var(--rule); }
  .reflist summary { cursor: pointer; padding: 18px 0; }
  .reflist summary h3 { border: 0; padding: 0; font-size: 1.1875rem; }
  .reflist summary h3::after { content: ''; width: 10px; height: 10px; margin-left: 12px; border-right: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(45deg) translateY(-3px); transition: transform 0.3s var(--ease-out); flex: none; }
  .reflist details[open] summary h3::after { transform: rotate(225deg) translateY(-3px); }
  .reflist summary h3 span { margin-left: auto; }
  .reflist ul { padding-bottom: 16px; }

  .map-side { gap: 18px; }
  .seg-switch { display: grid; grid-template-columns: 1fr 1fr 1fr; }
  .seg-switch button { justify-content: center; padding: 10px 6px; font-size: 0.8125rem; min-height: 44px; }
  .range output { font-size: 1.75rem; }
  .offmap { font-size: 0.75rem; }

  .site-footer .wrap { padding-top: 48px; padding-bottom: 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; padding-bottom: 32px; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .footer-grid > div:first-child p { display: none; }
  .footer-grid > div:first-child .brand img { margin-bottom: 0; }
  .footer-grid > div:nth-child(3) { grid-column: 1 / -1; order: -1; display: none; }
  .band--navy.section { padding-top: 56px; padding-bottom: 56px; }
  .section { padding-top: 56px; padding-bottom: 56px; }
}

@media (max-width: 760px) {
  .folio { display: none; }
  /* Elektro and Mechanika side by side: same roles, two trades */
  .sheet { grid-template-columns: 1fr 1fr; }
  .sheet > *:first-child, .sheet > *:last-child { grid-column: 1 / -1; }
  .sheet > .seg { border-top: 1px solid var(--rule); }
  .sheet > .seg + .seg { border-left: 1px solid var(--rule) !important; padding-left: 16px !important; }
  .sheet > .seg:first-of-type { padding-right: 16px !important; }
  .seg__head h2 { font-size: 1.5rem; }
  .seg li { font-size: 0.9375rem; line-height: 1.35; padding: 9px 0; }
  .seg-switch { display: flex; flex-wrap: nowrap; }
  .seg-switch button { flex: 1 1 auto; white-space: nowrap; font-size: 0.8125rem; padding: 10px 8px; }
  .map-side__head { order: -1; }
  .map-panel .map__canvas { order: 1; }
  .map-panel { display: flex; flex-direction: column; }
  .map-side { display: contents; }
  .map-side__head { padding: 28px var(--gutter) 20px; }
  .map-side > .label, .map-side > .controls, .map-side > .site-detail, .map-side > .offmap { order: 2; margin: 0 var(--gutter); }
  .map-side > .controls { margin-top: 20px; }
  .map-side > .site-detail:empty { display: none; }
  .map-side > .offmap { margin-bottom: 24px; margin-top: 16px; }
  .reflist ul.is-clipped li:nth-child(n+11) { display: none; }
  .show-all { margin: 4px 0 16px; background: none; border: 1px solid var(--rule-strong); color: var(--blue); font: inherit; font-weight: 600; font-size: 0.9375rem; padding: 12px 16px; width: 100%; border-radius: 3px; cursor: pointer; min-height: 44px; }
}

/* ---------- Mockup: facts to be confirmed by the client ---------- */
mark.tbc {
  background: rgba(14, 191, 233, 0.14); color: inherit; font: inherit;
  border-bottom: 1.5px dashed var(--blue); padding: 0 0.2em; border-radius: 2px;
}
.band--navy mark.tbc, .comply mark.tbc, .map-side mark.tbc, .site-footer mark.tbc { background: rgba(14, 191, 233, 0.18); border-bottom-color: var(--cyan); color: #fff; }
.footer-bottom .legend { display: flex; align-items: center; gap: 8px; }
.pdf-soon { opacity: 0.85; }

/* ---------- Hero third line, header request button ---------- */
.hero h1 .h1b { display: block; font-size: 0.5em; font-weight: 600; letter-spacing: -0.02em; color: var(--cyan); margin-top: 0.35em; line-height: 1.1; }
.hero__sub { max-width: 52ch; }
.req {
  flex: none; display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.6); border-radius: 3px; color: #fff; text-decoration: none; font-weight: 650; font-size: 1rem;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}
.req:hover { background: rgba(255, 255, 255, 0.1); border-color: #fff; }
@media (max-width: 1180px) { .req { display: none; } }

/* ---------- Proof table, brands line ---------- */
.reftable.proof td:first-child { font-size: 1.25em; width: 5ch; }
.brands { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.brands .wrap { display: flex; gap: 28px; align-items: baseline; padding-top: 22px; padding-bottom: 22px; }
.brands span { flex: none; font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue); }
.brands p { font-size: clamp(1rem, 1.35vw, 1.25rem); font-weight: 650; color: var(--ink); letter-spacing: -0.01em; }
.brands i { font-style: normal; color: var(--rule-strong); margin: 0 0.6em; }
.values { margin-top: 28px; font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-2); }

/* ---------- Section heads, steps ---------- */
.sec-head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 112px); align-items: end; margin-bottom: clamp(36px, 4vw, 64px); }
.sec-head .intro { margin-top: 0; }
.steps { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--ink); }
.steps li { padding: 24px clamp(16px, 1.6vw, 28px) 8px 0; }
.steps li + li { padding-left: clamp(16px, 1.6vw, 28px); border-left: 1px solid var(--rule); }
.steps__n { display: block; font-size: clamp(2.5rem, 4vw, 3.75rem); font-weight: 700; line-height: 1; color: var(--blue); letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.steps h3 { font-size: 1.25rem; font-weight: 700; margin: 18px 0 10px; }
.steps p { color: var(--ink-2); font-size: 1rem; line-height: 1.55; }

/* ---------- Compliance strip ---------- */
.comply { background: var(--navy-950); color: var(--on-navy); }
.comply__inner { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(28px, 5vw, 96px); padding-top: clamp(40px, 4.5vw, 72px); padding-bottom: clamp(40px, 4.5vw, 72px); align-items: start; }
.comply h2 { font-size: clamp(1.5rem, 2.2vw, 2.1rem); font-weight: 700; letter-spacing: -0.02em; }
.comply__inner > div p { margin-top: 12px; color: var(--on-navy-2); }
.comply ul { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid #fff; }
.comply li { padding: 18px 16px 0 0; }
.comply li + li { padding-left: 16px; border-left: 1px solid var(--rule-navy); }
.comply strong { display: block; color: var(--cyan); font-size: 1.125rem; font-weight: 700; margin-bottom: 8px; }
.comply li span { color: var(--on-navy-2); font-size: 0.9375rem; line-height: 1.5; display: block; }

/* ---------- Services: domains, teams, FAQ ---------- */
.domains { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ink); }
.domains li { padding: 22px 20px 22px 0; border-bottom: 1px solid var(--rule); font-size: 1.0625rem; font-weight: 600; line-height: 1.35; }
.domains li:not(:nth-child(4n+1)) { padding-left: 20px; border-left: 1px solid var(--rule); }
.teams { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); }
.teams li { padding: 24px 24px 8px 0; }
.teams li + li { padding-left: 24px; border-left: 1px solid var(--rule); }
.teams h3 { font-size: 1.375rem; font-weight: 700; margin-bottom: 10px; }
.teams p { color: var(--ink-2); line-height: 1.55; }
.faq { border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 20px 0; font-size: 1.1875rem; font-weight: 650; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 10px; height: 10px; border-right: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(45deg) translateY(-3px); transition: transform 0.3s var(--ease-out); }
.faq details[open] summary::after { transform: rotate(225deg) translateY(-3px); }
.faq summary:hover { color: var(--blue); }
.faq details p { padding: 0 0 22px; color: var(--ink-2); max-width: 64ch; line-height: 1.6; }

/* ---------- References: cases, recent ---------- */
.cases { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); margin-top: clamp(28px, 3vw, 48px); }
.cases article { padding: 26px 26px 8px 0; }
.cases article + article { padding-left: 26px; border-left: 1px solid var(--rule); }
.cases h3 { font-size: 1.5rem; font-weight: 700; }
.cases__note { color: var(--blue); font-weight: 600; margin: 8px 0 18px; }
.cases dl > div { display: grid; grid-template-columns: 11ch 1fr; gap: 12px; padding: 10px 0; border-top: 1px solid var(--rule); font-size: 0.9375rem; }
.cases dt { color: var(--ink-2); font-weight: 600; }
.map-side .recent { font-size: 0.875rem; color: var(--on-navy-2); }
.leader-slot { margin-top: 28px; aspect-ratio: 4 / 3; max-width: 320px; border: 1.5px dashed var(--rule-strong); display: grid; place-items: center; padding: 16px; text-align: center; font-size: 0.9375rem; }

/* ---------- Request form ---------- */
.form__head h2 { font-size: clamp(1.6rem, 2.4vw, 2.2rem); font-weight: 700; letter-spacing: -0.02em; }
.form__head p { margin-top: 8px; color: var(--ink-2); }
.form fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 20px; min-width: 0; }
.form legend { padding: 0 0 14px; margin-bottom: 4px; width: 100%; border-bottom: 1px solid var(--ink); font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue); }
.form fieldset + fieldset { margin-top: 12px; }
.form .row--3 { grid-template-columns: repeat(3, 1fr); }
.field label small { font-weight: 400; color: var(--ink-2); font-size: 0.8125rem; margin-left: 4px; }
.field__label { display: block; font-weight: 600; font-size: 0.9375rem; margin-bottom: 8px; }
.field select {
  width: 100%; font: inherit; color: var(--ink); border: 1px solid var(--rule-strong); border-radius: 3px; padding: 14px 40px 14px 16px; min-height: 52px;
  appearance: none; background-color: var(--paper);
  background-image: linear-gradient(45deg, transparent 50%, var(--blue) 50%), linear-gradient(135deg, var(--blue) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat;
}
.field select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(6, 76, 176, 0.18); }
.field.is-invalid select { border-color: var(--error); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chips span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 1px solid var(--rule-strong); border-radius: 3px; font-weight: 600; cursor: pointer; }
.chips input:checked + span { background: var(--blue); border-color: var(--blue); color: #fff; }
.chips input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }

/* ---------- Mobile call bar: call + request ---------- */
@media (max-width: 760px) {
  .callbar { display: grid; grid-template-columns: 1fr auto; padding: 0 0 env(safe-area-inset-bottom); height: auto; }
  .callbar a { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; padding: 0 var(--gutter); height: 58px; }
  .callbar__call strong { font-size: 1.0625rem; font-weight: 650; font-variant-numeric: tabular-nums; }
  .callbar__req { background: var(--navy-900); font-weight: 650; gap: 8px; border-left: 1px solid rgba(255, 255, 255, 0.25); }
  .callbar__req svg { width: 16px; height: 16px; }
  .callbar svg.go { width: 20px; height: 20px; }
  .sec-head { grid-template-columns: 1fr; gap: 12px; }
  .steps, .teams, .cases { grid-template-columns: 1fr; }
  .steps li { padding: 20px 0 !important; border-left: 0 !important; border-bottom: 1px solid var(--rule); display: grid; grid-template-columns: 2.4ch 1fr; column-gap: 14px; }
  .steps__n { font-size: 2rem; grid-row: span 2; }
  .steps h3 { margin: 2px 0 4px; }
  .teams li, .cases article { padding: 20px 0 !important; border-left: 0 !important; border-bottom: 1px solid var(--rule); }
  .comply__inner { grid-template-columns: 1fr; }
  .comply ul { grid-template-columns: 1fr 1fr; }
  .comply li { padding: 16px 12px 16px 0 !important; border-left: 0 !important; border-bottom: 1px solid var(--rule-navy); }
  .domains { grid-template-columns: 1fr; }
  .domains li { padding: 16px 0 !important; border-left: 0 !important; }
  .brands .wrap { flex-direction: column; align-items: stretch; gap: 8px; }
  .brands p { line-height: 1.7; }
  .form .row--3 { grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
  .form .row--3 label { font-size: 0.8125rem; }
  .form .row--3 small { display: none; }
  .hero h1 .h1b { font-size: 0.55em; }
}
@media (min-width: 761px) and (max-width: 1180px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
  .steps li:nth-child(4) { border-left: 0; padding-left: 0; }
  .domains { grid-template-columns: repeat(2, 1fr); }
  .domains li:nth-child(odd) { padding-left: 0; border-left: 0; }
  .comply ul { grid-template-columns: 1fr 1fr; }
}
.brands .nb { white-space: nowrap; font: inherit; color: inherit; letter-spacing: inherit; text-transform: none; }
/* Headline stays on the calm left half of the photo, whatever the language length */
@media (min-width: 761px) {
  .hero__copy { right: auto; max-width: min(46vw, 780px); bottom: 12%; }
  .hero h1 { font-size: clamp(2.4rem, 4.1vw, 5rem); }
  .sheet .btn { white-space: nowrap; font-size: 0.9375rem; padding-inline: 20px; gap: 10px; }
  .hero h1 span:not(.h1b) { display: inline; }
}
@media (min-width: 761px) { .sheet__lead { font-size: clamp(1.05rem, 1.3vw, 1.45rem); line-height: 1.35; } .hero__media img { object-position: 64% 30%; } }

/* =====================================================================
   Services extension (2026-10): menu panel, linked service columns,
   lifecycle line (signature), service hub index, service detail page.
   ===================================================================== */

/* ---------- Header: services link + disclosure panel ---------- */
.nav__item { display: flex; align-items: center; gap: 4px; }
.nav__more { display: inline-grid; place-items: center; width: 28px; height: 28px; padding: 0; background: none; border: 0; color: inherit; cursor: pointer; border-radius: 3px; }
.nav__more svg { width: 12px; height: 12px; transition: transform 0.3s var(--ease-out); }
.nav__more[aria-expanded='true'] svg { transform: rotate(180deg); }
.nav__more:hover { color: var(--cyan); }
.nav__panel { display: none; }
@media (min-width: 961px) {
  .nav__panel { position: fixed; left: 0; right: 0; top: var(--hh); background: var(--navy-950); border-top: 1px solid var(--rule-navy); border-bottom: 1px solid var(--rule-navy); }
  .nav__panel.is-open { display: block; animation: panelIn 0.2s ease both; }
  .nav__panel-in { max-width: var(--max); margin: 0 auto; padding: 28px var(--gutter) 32px; display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: end; }
  .nav__panel ul { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid #fff; }
  .nav__panel li { padding: 16px 20px 0 0; }
  .nav__panel li + li { padding-left: 20px; border-left: 1px solid var(--rule-navy); }
  .nav__panel li a { display: block; text-decoration: none; padding: 0; }
  .nav__panel li a::after { display: none; }
  .nav__panel strong { display: block; color: #fff; font-size: 1.125rem; font-weight: 650; }
  .nav__panel li span { display: block; margin-top: 6px; color: var(--on-navy-2); font-size: 0.9375rem; font-weight: 400; }
  .nav__panel li a:hover strong, .nav__panel li a[aria-current='page'] strong { color: var(--cyan); }
  .nav__all { display: inline-flex; gap: 10px; align-items: center; color: var(--cyan) !important; font-weight: 600; white-space: nowrap; text-decoration: none; }
  .nav__all svg { width: 16px; height: 16px; }
  .nav__all::after { display: none; }
}
@keyframes panelIn { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .nav__panel.is-open { animation: none; } }
@media (max-width: 960px) {
  .nav__item { display: block; }
  .nav__more { display: none; }
  .nav__panel { display: block; }
  .nav__panel ul { border-bottom: 1px solid var(--rule-navy); }
  .nav__panel li a { display: block; padding: 12px 0 12px 20px; font-size: 1.0625rem; font-weight: 500; color: var(--on-navy-2); border-bottom: 1px solid var(--rule-navy); text-decoration: none; }
  .nav__panel li a strong { font-weight: 500; }
  .nav__panel li span { display: none; }
  .nav__all { display: none; }
}

/* ---------- Home sheet: linked services under Elektro / Mechanika ---------- */
.seg__svc { padding-top: 6px !important; }
.seg__svc li { padding: 0 !important; border: 0 !important; line-height: 1.3 !important; }
.seg__svc a { display: grid; grid-template-columns: 1fr 18px; column-gap: 10px; align-items: center; padding: 12px 0; min-height: 44px; border-bottom: 1px solid var(--rule); text-decoration: none; color: var(--ink); }
.seg__svc strong { font-size: clamp(1rem, 1.25vw, 1.25rem); font-weight: 650; letter-spacing: -0.01em; }
.seg__svc span { grid-column: 1; font-size: 0.875rem; color: var(--ink-2); margin-top: 2px; }
.seg__svc svg { grid-column: 2; grid-row: 1 / span 2; width: 16px; height: 16px; color: var(--blue); transition: transform 0.3s var(--ease-out); }
.seg__svc a:hover strong { color: var(--blue); }
.seg__svc a:hover svg { transform: translateX(4px); }
@media (min-width: 761px) { .sheet .seg__head h2 { font-size: clamp(1.6rem, 2.3vw, 2.4rem); } }

/* ---------- Lifecycle line ---------- */
.lifeline-sec .sec-head { margin-bottom: clamp(20px, 2.4vw, 36px); }
.lifeline .folio { margin-top: 0; }
.lifeline__stages { display: grid; grid-template-columns: repeat(6, 1fr); }
.lifeline__stage { padding: 18px clamp(12px, 1.2vw, 22px) 22px; transition: background-color 0.25s ease; }
.lifeline__stage + .lifeline__stage { border-left: 1px solid var(--rule); }
.lifeline__stage:first-child { padding-left: 0; }
.lifeline__n { display: none; }
.lifeline__stage h3 { font-size: clamp(1rem, 1.15vw, 1.125rem); font-weight: 700; line-height: 1.25; transition: color 0.25s ease; }
.lifeline__stage p { margin-top: 8px; color: var(--ink-2); font-size: 0.9375rem; line-height: 1.5; }
.lifeline__go { display: none; }
.lifeline__dims { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: 46px; border-top: 1px solid var(--rule); padding-top: 8px; }
.lifeline__dim { grid-column: var(--from) / var(--to); position: relative; }
.lifeline__dim::before { content: ''; position: absolute; left: 0; right: 0; top: 30px; border-top: 1.5px solid var(--ink); }
.lifeline__dim::after { content: ''; position: absolute; left: 0; right: 0; top: 24px; height: 12px; border-left: 1.5px solid var(--ink); border-right: 1.5px solid var(--ink); }
.lifeline__dim a, .lifeline__dim > span { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 8px; min-height: 28px; padding: 0 10px 0 10px; font-size: 0.9375rem; font-weight: 650; color: var(--ink); text-decoration: none; transition: color 0.2s ease; }
.lifeline__dim a svg { width: 14px; height: 14px; color: var(--blue); transition: transform 0.3s var(--ease-out); }
.lifeline__dim a:hover svg, .lifeline__dim a:focus-visible svg { transform: translateX(4px); }
.lifeline__dim--tick::before { left: 50%; right: auto; width: 26px; margin-left: -13px; }
.lifeline__dim--tick::after { left: 50%; right: auto; width: 26px; margin-left: -13px; }
.lifeline__note { margin-top: 18px; font-size: 0.875rem; color: var(--ink-2); }
.lifeline__close { margin-top: clamp(28px, 3vw, 44px); max-width: 64ch; font-size: clamp(1.0625rem, 1.3vw, 1.25rem); font-weight: 600; color: var(--ink); }
/* cross-highlight: hovering a service lights up its stages */
.lifeline:has(.lifeline__dim a:is(:hover, :focus-visible)) .lifeline__dim:not(:has(a:is(:hover, :focus-visible))) a { color: var(--ink-2); }
.lifeline:has(.lifeline__dim[data-svc='mech'] a:is(:hover, :focus-visible)) .lifeline__stage[data-svc~='mech'],
.lifeline:has(.lifeline__dim[data-svc='elektro'] a:is(:hover, :focus-visible)) .lifeline__stage[data-svc~='elektro'],
.lifeline:has(.lifeline__dim[data-svc='auto'] a:is(:hover, :focus-visible)) .lifeline__stage[data-svc~='auto'],
.lifeline:has(.lifeline__dim[data-svc='servis'] a:is(:hover, :focus-visible)) .lifeline__stage[data-svc~='servis'] { background: var(--paper-2); }
.lifeline:has(.lifeline__dim[data-svc='mech'] a:is(:hover, :focus-visible)) .lifeline__stage[data-svc~='mech'] h3,
.lifeline:has(.lifeline__dim[data-svc='elektro'] a:is(:hover, :focus-visible)) .lifeline__stage[data-svc~='elektro'] h3,
.lifeline:has(.lifeline__dim[data-svc='auto'] a:is(:hover, :focus-visible)) .lifeline__stage[data-svc~='auto'] h3,
.lifeline:has(.lifeline__dim[data-svc='servis'] a:is(:hover, :focus-visible)) .lifeline__stage[data-svc~='servis'] h3 { color: var(--blue); }
/* compact variant on service pages: current stages permanently marked */
.lifeline--compact .lifeline__stage { padding-bottom: 14px; }
.lifeline--compact .lifeline__stage.is-current { background: var(--paper-2); }
.lifeline--compact .lifeline__stage.is-current h3 { color: var(--blue); }
.lifeline--compact .lifeline__dim:not(.is-current) a { color: var(--ink-2); font-weight: 600; }
.lifeline--compact .lifeline__dim:not(.is-current) a:hover { color: var(--ink); }
.lifeline--compact .lifeline__dim.is-current::before, .lifeline--compact .lifeline__dim.is-current::after { border-color: var(--blue); }
.lifeline--compact .lifeline__dim.is-current > span { color: var(--blue); }
@media (prefers-reduced-motion: no-preference) {
  .js .lifeline-sec .reveal .lifeline__dim { clip-path: inset(0 100% 0 0); transition: clip-path 0.7s var(--ease-out); }
  .js .lifeline-sec .reveal.is-in .lifeline__dim { clip-path: inset(0 0 0 0); }
  .js .lifeline-sec .reveal.is-in .lifeline__dim:nth-child(2) { transition-delay: 0.08s; }
  .js .lifeline-sec .reveal.is-in .lifeline__dim:nth-child(3) { transition-delay: 0.16s; }
  .js .lifeline-sec .reveal.is-in .lifeline__dim:nth-child(4) { transition-delay: 0.24s; }
  .js .lifeline-sec .reveal.is-in .lifeline__dim:nth-child(5) { transition-delay: 0.32s; }
}
@media (max-width: 760px) {
  .lifeline .folio, .lifeline__dims { display: none; }
  .lifeline__stages { grid-template-columns: 1fr; position: relative; }
  .lifeline__stage { display: grid; grid-template-columns: 2.4ch 1fr; column-gap: 14px; padding: 16px 0 !important; border-left: 0 !important; border-bottom: 1px solid var(--rule); }
  .lifeline__n { display: block; grid-row: span 3; font-size: 1.75rem; font-weight: 700; line-height: 1; color: var(--blue); font-variant-numeric: tabular-nums; }
  .lifeline__stage p { margin-top: 4px; }
  .lifeline__go { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 8px !important; }
  .lifeline__go a { display: inline-flex; gap: 6px; align-items: center; min-height: 36px; color: var(--blue); font-weight: 600; text-decoration: none; }
  .lifeline__go svg { width: 14px; height: 14px; }
  .lifeline--compact .lifeline__stage.is-current { background: none; }
  .lifeline--compact .lifeline__stage.is-current .lifeline__n { color: var(--blue); }
  .lifeline--compact .lifeline__stage:not(.is-current) .lifeline__n { color: var(--rule-strong); }
}

/* ---------- Services hub index ---------- */
.svc-index { display: grid; gap: 0; }
.svc-index__row { padding: clamp(32px, 3.4vw, 56px) 0; border-top: 1px solid var(--ink); }
.svc-index__row:first-child { border-top: 0; padding-top: 0; }
.svc-index__row .seg__head { border-bottom: 0; padding-bottom: 6px; }
.svc-index__row .seg__head h2 { font-size: clamp(1.75rem, 2.6vw, 2.6rem); font-weight: 700; letter-spacing: -0.03em; }
.svc-index__row .intro { margin-top: 10px; }
.svc-index__groups { border-top: 1px solid var(--ink); }
.svc-index__groups a { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; padding: 16px 0; min-height: 44px; border-bottom: 1px solid var(--rule); text-decoration: none; font-size: 1.125rem; font-weight: 600; color: var(--ink); }
.svc-index__groups .tnum { color: var(--blue); font-weight: 700; }
.svc-index__groups a:hover { color: var(--blue); }
.teams--2 { grid-template-columns: repeat(3, 1fr); }
.roles { counter-reset: none; }

/* ---------- Service detail page ---------- */
.svc-hero { position: relative; height: clamp(360px, calc(100svh - var(--hh) - 330px), 760px); background: var(--navy-900); color: #fff; overflow: hidden; }
.svc-hero .hero__media img { object-position: 62% 35%; }
.svc-hero__copy { position: absolute; left: var(--gutter); bottom: clamp(28px, 4vw, 64px); max-width: min(52vw, 860px); }
.svc-hero h1 { font-size: clamp(2.2rem, 4vw, 4.4rem); font-weight: 700; line-height: 1; letter-spacing: -0.035em; text-wrap: balance; }
.svc-hero .hero__sub { margin-top: 0.8em; }
.crumbs { font-size: 0.875rem; color: var(--on-navy-2); margin-bottom: 14px; }
.crumbs a { color: var(--on-navy-2); text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; }
.crumbs [aria-current] { color: #fff; }
.sheet--svc .btn { white-space: normal; }
.anchors { border-top: 1px solid var(--ink); margin-top: 8px; }
.anchors a { display: block; padding: 10px 0; min-height: 44px; border-bottom: 1px solid var(--rule); text-decoration: none; font-weight: 600; color: var(--ink); line-height: 1.35; }
.anchors a:hover { color: var(--blue); }
.kv { border-top: 1px solid var(--ink); margin-top: 8px; }
.kv > div { padding: 10px 0; border-bottom: 1px solid var(--rule); }
.kv dt { font-size: 0.8125rem; color: var(--ink-2); }
.kv dd { font-weight: 600; }
.caps .split { align-items: start; }
.caps__h { font-size: clamp(1.6rem, 2.4vw, 2.4rem); font-weight: 700; letter-spacing: -0.03em; }
.caps__key { border-top: 1px solid var(--ink); }
.caps__key li { padding: 16px 0; border-bottom: 1px solid var(--rule); font-size: clamp(1.0625rem, 1.2vw, 1.1875rem); font-weight: 600; }
.scope { margin-top: 4px; border-bottom: 1px solid var(--rule); }
.scope summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 0; min-height: 44px; font-weight: 650; color: var(--blue); }
.scope summary::-webkit-details-marker { display: none; }
.scope summary::after { content: ''; flex: none; width: 9px; height: 9px; border-right: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(45deg) translateY(-3px); transition: transform 0.3s var(--ease-out); }
.scope[open] summary::after { transform: rotate(225deg) translateY(-3px); }
.scope summary .tnum { margin-left: auto; color: var(--ink-2); font-weight: 600; }
.scope__all { padding-bottom: 16px; }
.scope__all li { padding: 9px 0 9px 18px; border-top: 1px solid var(--rule); color: var(--ink-2); font-size: 1rem; position: relative; }
.scope__all li::before { content: ''; position: absolute; left: 0; top: 1.05em; width: 8px; border-top: 1.5px solid var(--blue); }
.svc-refs { border-top: 1px solid var(--ink); columns: 2 220px; column-gap: 32px; }
.svc-refs li { display: grid; grid-template-columns: 6ch 1fr; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--rule); break-inside: avoid; }
.svc-refs li span:first-child { color: var(--blue); font-weight: 650; font-variant-numeric: tabular-nums; }
.svc-pager { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--ink); padding-bottom: var(--section); }
.svc-pager a { display: block; padding: 22px 0; text-decoration: none; color: var(--ink); min-height: 44px; }
.svc-pager a + a { text-align: right; border-left: 1px solid var(--rule); padding-left: 24px; }
.svc-pager strong { display: block; margin-top: 6px; font-size: clamp(1.25rem, 1.8vw, 1.75rem); font-weight: 700; letter-spacing: -0.02em; }
.svc-pager a:hover strong { color: var(--blue); }
@media (max-width: 1180px) {
  .sheet--svc > *:nth-child(3) { border-left: 0; }
}
@media (max-width: 760px) {
  .svc-hero { height: auto; }
  .svc-hero .hero__media { position: relative; height: min(46svh, 340px); }
  .svc-hero .hero__media::after { display: none; }
  .svc-hero__copy { position: static; max-width: none; padding: 24px var(--gutter) 28px; background: var(--navy-900); }
  .sheet--svc { grid-template-columns: 1fr 1fr; }
  .sheet--svc > *:first-child { grid-column: 1 / -1; }
  .sheet--svc > *:nth-child(3) { display: none; }
  .sheet--svc > *:nth-child(2), .sheet--svc > *:nth-child(4) { border-top: 1px solid var(--rule); }
  .sheet--svc > *:nth-child(4) { border-left: 1px solid var(--rule) !important; padding-left: 16px !important; }
  .sheet--svc > *:nth-child(2) { padding-right: 16px !important; }
  .teams--2 { grid-template-columns: 1fr; }
  .svc-pager { grid-template-columns: 1fr; }
  .svc-pager a + a { text-align: left; border-left: 0; padding-left: 0; border-top: 1px solid var(--rule); }
  .svc-index__row { padding: 32px 0; }
}

/* Services extension: header fit at 1280–1440, five-column footer, headline clear of the subject */
.nav__links a, .lang a { white-space: nowrap; }
@media (min-width: 961px) and (max-width: 1500px) {
  .site-header { gap: 18px; }
  .nav { gap: 18px; }
  .nav__links { gap: 20px; }
  .nav__links a { font-size: 0.9375rem; }
  .lang { gap: 12px; padding-left: 16px; }
  .lang a { font-size: 0.8125rem; }
  .req { padding: 0 14px; font-size: 0.9375rem; }
  .call { padding: 12px 14px; font-size: 0.9375rem; }
}
.footer-grid { grid-template-columns: minmax(0, 4fr) minmax(0, 3fr) minmax(0, 3fr) minmax(0, 3fr) minmax(0, 2fr); }
@media (max-width: 1180px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 761px) { .hero__copy { max-width: min(42vw, 760px); } }
/* Mobile home hero: photo on top, headline on navy below, so text never sits on the worker or the logo */
@media (max-width: 760px) {
  .hero { height: auto !important; }
  .hero__media { position: relative !important; height: min(44svh, 330px); }
  .hero__media::after { background: linear-gradient(180deg, rgba(6, 17, 42, 0.7) 0%, rgba(6, 17, 42, 0) 30%) !important; }
  .hero__media img { object-position: 62% 25% !important; }
  .hero__copy { position: static !important; padding: 22px var(--gutter) 28px; max-width: none !important; }
}
@media (max-width: 760px) {
  .lifeline__go a { min-height: 44px; }
  .crumbs a { display: inline-flex; align-items: center; min-height: 44px; }
  .lifeline--compact .lifeline__stage:not(.is-current) .lifeline__n { color: var(--ink-2); }
}
@media (max-width: 760px) { .crumbs a { min-width: 44px; } }

/* Review fixes (services extension) */
/* 1. short desktop viewports: headline block never climbs into the header */
@media (min-width: 761px) and (max-height: 880px) {
  .hero h1 { font-size: clamp(2.2rem, min(3.9vw, 6.6svh), 4.6rem); }
  .hero__copy { bottom: 9%; }
  .hero__sub { font-size: clamp(0.9375rem, 1.15vw, 1.125rem); margin-top: 0.6em; }
}
@media (min-width: 761px) and (max-height: 760px) { .hero__sub { display: none; } }
/* 5. capability groups as one ruled band */
.caps__row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 112px); padding: clamp(28px, 3vw, 44px) 0; border-top: 1px solid var(--ink); }
.caps__row:first-child { border-top: 0; padding-top: 0; }
.caps__side p { margin-top: 10px; color: var(--ink-2); max-width: 44ch; line-height: 1.5; }
.caps__row .caps__key { border-top: 0; }
.caps__row .caps__key li:first-child { padding-top: 4px; }
@media (min-width: 761px) { .caps__side { position: sticky; top: calc(var(--hh) + 24px); align-self: start; } }
@media (max-width: 760px) { .caps__row { grid-template-columns: 1fr; gap: 12px; } }
/* 6. dimension lines: extension ticks reach up to the stage rules */
.lifeline__dim::after { top: 0; height: 36px; }
/* 7. multi-select chips read differently from single-choice chips */
.chips--multi span { gap: 10px; }
.chips--multi span::before { content: ''; width: 16px; height: 16px; flex: none; border: 1.5px solid var(--rule-strong); border-radius: 2px; background: var(--paper); }
.chips--multi input:checked + span::before { border-color: #fff; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='%23064cb0' stroke-width='2.2'/%3E%3C/svg%3E") center / 14px no-repeat; }
.field__label small { font-weight: 400; color: var(--ink-2); font-size: 0.8125rem; margin-left: 4px; }
/* Client's original logo (cyan plate + EP cube, 2.08:1): needs more height than the retired wordmark to stay legible */
.brand img { height: clamp(42px, 3.4vw, 56px); }
.site-footer .brand img { height: 72px; }
@media (max-width: 760px) { .brand img { height: 42px; } }

/* ---------- White header: the client's original logo sits on its native white ground (2026-10-12) ---------- */
.brand { background: none; padding: 0 !important; line-height: 0; }
.brand img { height: clamp(44px, 3.4vw, 56px); width: auto; }
.site-header, .site-header.is-solid, .site-header--overlay, .site-header--overlay.is-solid {
  background: #fff !important; color: var(--ink); border-bottom: 1px solid var(--rule) !important;
}
.site-header .nav__links a, .site-header .lang a, .site-header .nav__more, .site-header .nav-toggle { color: var(--ink); }
.site-header .lang { border-left-color: var(--rule-strong); }
.site-header .lang a[aria-current='true'], .site-header .lang a:hover, .site-header .nav__more:hover { color: var(--blue); }
.site-header .nav__links a::after { background: var(--blue); }
.site-header .req { color: var(--ink); border-color: var(--rule-strong); }
.site-header .req:hover { background: var(--paper-2); border-color: var(--ink); }
.site-header .nav-toggle { border-color: var(--rule-strong); }
.site-header :focus-visible { outline-color: var(--blue); }
.fold { padding-top: var(--hh); }
.hero__media::after { background: linear-gradient(90deg, rgba(6, 17, 42, 0.72) 0%, rgba(6, 17, 42, 0.35) 42%, rgba(6, 17, 42, 0) 70%); }
/* footer: a full-width white band carries the logo, then the navy columns */
.site-footer > .wrap { padding-top: 48px; }
.footer-brand { background: #fff; color: var(--ink); border-top: 1px solid var(--rule); }
.footer-brand .wrap { display: flex; align-items: center; gap: clamp(24px, 4vw, 64px); padding-top: 22px; padding-bottom: 22px; }
.footer-brand .brand img { height: 64px; margin: 0 !important; }
.footer-brand p { color: var(--ink-2); max-width: 52ch; font-size: 0.9375rem; }
@media (max-width: 960px) {
  .nav { background: var(--navy-950); }
  .nav .nav__links a, .nav .lang a, .nav .nav-close { color: #fff; }
  .nav .nav-close { border-color: rgba(255, 255, 255, 0.5); }
  .nav .lang a[aria-current='true'] { color: var(--cyan); }
}
@media (max-width: 760px) {
  .brand img { height: 42px; }
  .fold { padding-top: 0; }
  .hero { margin-top: var(--hh); }
  .hero__media::after { background: none !important; }
  .footer-brand .wrap { flex-direction: column; align-items: flex-start; gap: 10px; }
  .footer-brand .brand img { height: 52px; }
}
.footer-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1180px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 760px) {
  .footer-grid > div:first-child { grid-column: auto; }
  .footer-grid > div:first-child p { display: block; }
  .footer-grid > div:nth-child(3) { display: block; order: 0; grid-column: auto; }
}

/* ---------- Real site photos: strips, gallery, lightbox (2026-10-14) ---------- */
.work-strip__head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: clamp(24px, 2.6vw, 40px); }
.work-strip__head .more { margin-top: 0; }
.shots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.shots li { margin: 0; }
.shot { display: block; position: relative; overflow: hidden; background: var(--paper-2); aspect-ratio: 4 / 3; }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease-out); }
@media (prefers-reduced-motion: no-preference) { .shot:hover img { transform: scale(1.04); } }
.shot:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.work-strip .shots li:first-child { grid-column: span 2; grid-row: span 2; }
.work-strip .shots li:first-child .shot { aspect-ratio: auto; height: 100%; }
.work-filter { margin-bottom: clamp(28px, 3vw, 48px); }
.work-filter button { color: var(--ink); border-color: var(--rule-strong); }
.work-filter button[aria-pressed="true"] { color: #fff; }
.work-filter button .tnum { opacity: 0.7; margin-left: 6px; }
.work-group + .work-group { margin-top: clamp(40px, 5vw, 80px); }
.work-group[hidden] { display: none; }
.work-group__head { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding-bottom: 14px; margin-bottom: 18px; border-bottom: 1px solid var(--ink); }
.work-group__head h2 { font-size: clamp(1.5rem, 2.2vw, 2.2rem); font-weight: 700; letter-spacing: -0.02em; }
.work-group__head .more { margin-top: 0; }
.work-note { margin-top: 36px; font-size: 0.875rem; color: var(--ink-2); }
.lightbox { border: 0; padding: 0; max-width: none; max-height: none; width: 100vw; height: 100dvh; background: rgba(6, 17, 42, 0.96); color: #fff; }
.lightbox::backdrop { background: rgba(6, 17, 42, 0.96); }
.lightbox figure { margin: 0; height: 100%; display: grid; grid-template-rows: 1fr auto; place-items: center; padding: 56px 72px 20px; }
.lightbox img { max-width: 100%; max-height: calc(100dvh - 130px); object-fit: contain; }
.lightbox figcaption { padding-top: 14px; color: var(--on-navy-2); font-size: 0.9375rem; }
.lightbox__btn, .lightbox__close { position: absolute; display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid var(--rule-navy); border-radius: 3px; background: var(--navy-950); color: #fff; cursor: pointer; }
.lightbox__btn svg, .lightbox__close svg { width: 20px; height: 20px; }
.lightbox__btn:hover, .lightbox__close:hover { border-color: var(--cyan); color: var(--cyan); }
.lightbox__prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 14px; top: 50%; transform: translateY(-50%); }
.lightbox__close { right: 14px; top: 14px; }
@media (max-width: 760px) {
  .shots { grid-template-columns: 1fr 1fr; gap: 4px; }
  .work-strip .shots li:nth-child(n+6) { display: none; }
  .work-strip__head { flex-direction: column; align-items: flex-start; gap: 6px; }
  .lightbox figure { padding: 64px 8px 16px; }
  .lightbox__prev, .lightbox__next { top: auto; bottom: 14px; transform: none; }
}

/* ---------- Legal pages ---------- */
.legal__title { font-size: clamp(1.5rem, 2vw, 1.9rem); font-weight: 700; letter-spacing: -0.02em; color: var(--ink); margin-bottom: 8px; }
.legal h2 { font-size: clamp(1.25rem, 1.6vw, 1.5rem); font-weight: 700; letter-spacing: -0.01em; margin: 40px 0 12px; padding-top: 18px; border-top: 1px solid var(--rule); }
.legal p, .legal li { color: var(--ink); line-height: 1.65; }
.legal p + p { margin-top: 12px; }
.legal ul { margin: 10px 0 0; padding-left: 0; }
.legal li { position: relative; padding: 6px 0 6px 20px; border-bottom: 1px solid var(--rule); }
.legal li::before { content: ""; position: absolute; left: 0; top: 1.05em; width: 10px; border-top: 1.5px solid var(--blue); }
.legal { max-width: var(--max); }
.legal > * { max-width: 78ch; }
@media (max-width: 760px) { .work-filter { display: flex; flex-wrap: wrap !important; } .work-filter button { flex: 0 1 auto; white-space: normal; } }
/* Brands line: names spread across the width, no dot separators, one line in every language */
.brands p { flex: 1; display: flex; flex-wrap: wrap; justify-content: space-between; column-gap: 22px; row-gap: 2px; font-size: clamp(1rem, 1.1vw, 1.1875rem); }
.brands p i { display: none; }
@media (max-width: 1500px) {
  .brands .wrap { flex-direction: column; align-items: stretch; gap: 8px; }
}
@media (max-width: 1100px) {
  .brands p { justify-content: flex-start; column-gap: 20px; }
}

/* Footer: company profile PDF, pick a language */
.pdf-pick { position: relative; }
.pdf-pick summary { cursor: pointer; list-style: none; display: inline-flex; align-items: center; gap: 8px; }
.pdf-pick summary::-webkit-details-marker { display: none; }
.pdf-pick summary::after { content: ''; width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .15s; }
.pdf-pick[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.pdf-pick ul { list-style: none; margin: 10px 0 0; padding: 0; border-top: 1px solid currentColor; min-width: 13rem; }
.pdf-pick li { margin: 0 !important; }
.pdf-pick a { display: flex; gap: 10px; padding: 7px 0; border-bottom: 1px solid rgba(127,140,170,.35); }
.pdf-pick a b { width: 2.2em; font-weight: 700; }
@media (prefers-reduced-motion: reduce) { .pdf-pick summary::after { transition: none; } }

/* Full map: labels never spill outside the panel */
.map-panel .map__canvas { overflow: hidden; }
.map-panel svg { overflow: hidden; }
.pdf-pick ul { min-width: 0; width: min(13rem, 100%); }
.pdf-pick a { min-height: 44px; align-items: center; padding: 0; }
