:root {
  color-scheme: dark;
  
  --font-heading: "Inter", sans-serif;
  --font-body: "Inter", sans-serif;
  --font-weight-h1: 700;
  --font-weight-h2: 600;
  --font-weight-h3: 500;
  --font-weight-body: 400;
  --size-display: 70px;
  --size-h1: 70px;
  --size-h2: 60px;
  --size-h3: 40px;
  --size-body: 16px;
  --heading-line-height: 1.02;
  --body-line-height: 1.58;
  --heading-letter-spacing: -.045em;
  --section-space: 108px;
  --section-space-tight: 68px;
  --container-gutter: 72px;
  --layout-gap: 18px;
  --card-padding: 36px;
  --accent: #3f46ff;
  --accent-strong: #272de8;
  --accent-soft: #8c92ff;
  --gold: #c8a46a;
  --header-h: 84px;
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;
  --shadow: 0 28px 80px rgba(0,0,0,.24);
  --container: 1280px;
  --ease: cubic-bezier(.2,.8,.2,1);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #070b13;
  --bg-elevated: #0d1421;
  --surface: #111b2b;
  --surface-2: #172338;
  --surface-3: #1e2d45;
  --text: #f4f7fb;
  --text-strong: #ffffff;
  --muted: #abb7c8;
  --muted-strong: #d3dbe6;
  --line: rgba(221,231,244,.16);
  --line-strong: rgba(221,231,244,.3);
  --header-bg: rgba(7,11,19,.9);
  --glass: rgba(13,20,33,.76);
  --accent-wash: rgba(63,70,255,.14);
  --gold-wash: rgba(200,164,106,.12);
  --button-text: #fff;
  --image-backdrop: #0b1320;
  --accent: #161de3;
  --accent-strong: #304fe8;
  --accent-soft: #1160df;
}

:root[data-theme="light"] {
  color-scheme: light;
  --bg: #f4f5f7;
  --bg-elevated: #ffffff;
  --surface: #ffffff;
  --surface-2: #edf0f5;
  --surface-3: #e3e8ef;
  --text: #172033;
  --text-strong: #08101f;
  --muted: #5c687a;
  --muted-strong: #344054;
  --line: rgba(26,38,58,.14);
  --line-strong: rgba(26,38,58,.26);
  --header-bg: rgba(255,255,255,.92);
  --glass: rgba(255,255,255,.78);
  --accent-soft: #1160df;
  --accent-wash: rgba(63,70,255,.08);
  --gold-wash: rgba(151,108,45,.09);
  --button-text: #fff;
  --image-backdrop: #e9edf3;
  --shadow: 0 28px 80px rgba(35,48,70,.12);
  --accent: #161de3;
  --accent-strong: #304fe8;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 24px); background: var(--bg); }
body { margin: 0; min-width: 280px; background: var(--bg); color: var(--text); font-family: var(--font-body); font-size: var(--size-body); font-weight: var(--font-weight-body); line-height: var(--body-line-height); overflow-x: clip; }
body.nav-open { overflow: hidden; }
img, svg, canvas { max-width: 100%; }
img { display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }
::selection { background: var(--accent); color: #fff; }

.skip-link {
  position: fixed; left: 16px; top: 12px; z-index: 1000; padding: 10px 16px;
  background: var(--text-strong); color: var(--bg); border-radius: 999px; transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }

.container {
  width: min(calc(100% - var(--container-gutter)), var(--container));
  margin-inline: auto;
}

.section { padding-block: var(--section-space); background: var(--bg); }
.section--surface { background: var(--surface); }
.section--soft { background: var(--surface-2); }
.section--accent { background: linear-gradient(135deg, var(--surface), var(--accent-wash)); }
.section--tight { padding-block: var(--section-space-tight); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px; color: var(--accent-soft);
  font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 38px; height: 1px; background: currentColor; }

.display, .h1, .h2, .h3 { margin: 0; color: var(--text-strong); font-family: var(--font-heading); line-height: var(--heading-line-height); letter-spacing: var(--heading-letter-spacing); text-wrap: balance; overflow-wrap: anywhere; }
.display { font-size: var(--size-display); font-weight: var(--font-weight-h1); max-width: 11ch; }
.h1 { font-size: var(--size-h1); font-weight: var(--font-weight-h1); max-width: 13ch; }
.h2 { font-size: var(--size-h2); font-weight: var(--font-weight-h2); max-width: 15ch; }
.h3 { font-size: var(--size-h3); font-weight: var(--font-weight-h3); line-height: 1.08; letter-spacing: -.025em; }
.lead { margin: 24px 0 0; max-width: 66ch; color: var(--muted-strong); font-size: clamp(1.05rem, 1.45vw, 1.3rem); }
.copy { max-width: 70ch; color: var(--muted); }

.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 20px;
  border: 1px solid transparent; border-radius: 999px; background: var(--accent); color: var(--button-text);
  font-weight: 800; line-height: 1.1; transition: transform .24s var(--ease), background .24s var(--ease), border-color .24s var(--ease), box-shadow .24s var(--ease);
}
.btn:hover { transform: translateY(-2px); background: var(--accent-strong); box-shadow: 0 14px 30px rgba(63,70,255,.24); }
.btn--secondary { background: transparent; border-color: var(--line-strong); color: var(--text-strong); }
.btn--secondary:hover { background: var(--surface-2); border-color: var(--accent-soft); box-shadow: none; }
.btn--small { min-height: 42px; padding: 10px 16px; font-size: .91rem; }
.text-link { display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; color: var(--text-strong); font-weight: 800; }
.text-link::after { content: "↗"; color: var(--accent-soft); transition: transform .22s var(--ease); }
.text-link:hover::after { transform: translate(3px,-3px); }

.site-header {
  position: sticky; top: 0; z-index: 80; min-height: var(--header-h); background: var(--header-bg);
  border-bottom: 1px solid var(--line); backdrop-filter: blur(20px) saturate(1.25);
}
.header-inner { min-height: var(--header-h); display: flex; align-items: center; gap: clamp(14px, 2vw, 30px); }
.brand { display: inline-flex; align-items: center; flex: 0 1 auto; min-width: 0; }
.brand img { width: auto; height: auto; max-width: clamp(168px, 18vw, 230px); max-height: 58px; object-fit: contain; }
.site-nav { margin-left: auto; }
.site-nav ul { display: flex; align-items: center; gap: clamp(16px, 2vw, 30px); margin: 0; padding: 0; list-style: none; }
.site-nav a { position: relative; padding-block: 12px; color: var(--muted-strong); font-size: .94rem; font-weight: 750; white-space: nowrap; }
.site-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 5px; height: 2px; background: var(--accent); transition: right .24s var(--ease); }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--text-strong); }
.site-nav a:hover::after, .site-nav a[aria-current="page"]::after { right: 0; }
.header-tools { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }
.icon-btn, .lang-link, .menu-btn {
  display: inline-flex; align-items: center; justify-content: center; min-width: 42px; min-height: 42px; padding: 8px 11px;
  border: 1px solid var(--line-strong); border-radius: 999px; background: transparent; color: var(--text-strong); font-weight: 850; cursor: pointer;
}
.icon-btn:hover, .lang-link:hover, .menu-btn:hover { background: var(--surface-2); border-color: var(--accent-soft); }
.menu-btn { display: none; width: 44px; padding: 0; }
.menu-btn span, .menu-btn::before, .menu-btn::after { content: ""; display: block; width: 18px; height: 2px; background: currentColor; transition: .25s var(--ease); }
.menu-btn { flex-direction: column; gap: 4px; }
.menu-btn[aria-expanded="true"] span { opacity: 0; }
.menu-btn[aria-expanded="true"]::before { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"]::after { transform: translateY(-6px) rotate(-45deg); }
.mobile-nav { display: none; }

.hero { position: relative; min-height: min(820px, calc(100svh - var(--header-h))); display: grid; align-items: center; overflow: hidden; background: var(--bg); }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 72% 38%, var(--accent-wash), transparent 39%), linear-gradient(90deg, transparent 0 49.9%, var(--line) 50%, transparent 50.1%); opacity: .78; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(340px, .96fr); align-items: center; gap: clamp(40px, 7vw, 100px); padding-block: clamp(70px, 9vw, 130px); }
.hero-copy { min-width: 0; }
.hero-copy .lead { max-width: 58ch; }
.hero-art { position: relative; min-width: 0; aspect-ratio: 1.05; display: grid; place-items: center; }
.hero-art::before { content: ""; position: absolute; inset: 4%; border: 1px solid var(--line); border-radius: var(--radius-lg); background: linear-gradient(145deg, var(--surface), transparent); box-shadow: var(--shadow); }
.hero-art img { position: relative; width: 92%; height: 92%; object-fit: contain; }
.hero-art-badge { position: absolute; right: 0; bottom: 3%; width: min(320px, 78%); padding: 18px 20px; border: 1px solid var(--line-strong); border-radius: var(--radius-md); background: var(--glass); backdrop-filter: blur(16px); }
.hero-art-badge strong { display: block; color: var(--text-strong); }
.hero-art-badge span { display: block; margin-top: 5px; color: var(--muted); font-size: .92rem; }

.trust-strip { border-block: 1px solid var(--line); background: var(--surface); }
.trust-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); }
.trust-item { min-width: 0; padding: clamp(22px, 3vw, 34px); border-right: 1px solid var(--line); }
.trust-item:last-child { border-right: 0; }
.trust-item span { display: block; color: var(--muted); font-size: .78rem; font-weight: 750; letter-spacing: .11em; text-transform: uppercase; }
.trust-item strong { display: block; margin-top: 7px; color: var(--text-strong); line-height: 1.28; overflow-wrap: anywhere; }

.section-head { display: flex; align-items: end; justify-content: space-between; gap: 36px; margin-bottom: clamp(38px, 5vw, 70px); }
.section-head > div { min-width: 0; }
.section-head .lead { max-width: 64ch; }

.service-grid { display: grid; grid-template-columns: repeat(12, minmax(0,1fr)); gap: var(--layout-gap); }
.service-card { grid-column: span 4; min-height: 310px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface); overflow: hidden; }
.service-card--wide { grid-column: span 8; }
.service-card a { height: 100%; display: flex; flex-direction: column; padding: var(--card-padding); }
.card-index { color: var(--accent-soft); font-size: .78rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.service-card .h3 { margin-top: auto; max-width: 17ch; }
.service-card p { margin: 16px 0 0; color: var(--muted); }
.card-footer { display: flex; justify-content: space-between; align-items: center; gap: var(--layout-gap); margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--text-strong); font-weight: 800; }
.service-card:hover { border-color: var(--accent-soft); transform: translateY(-4px); transition: .25s var(--ease); }

.process-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; }
.process-step { min-width: 0; padding: clamp(24px, 3vw, 38px); border-right: 1px solid var(--line); background: var(--surface); }
.process-step:last-child { border-right: 0; }
.process-step strong { display: block; color: var(--accent-soft); font-size: 2rem; }
.process-step span { display: block; margin-top: 34px; color: var(--text-strong); font-weight: 800; line-height: 1.35; }

.project-grid { display: grid; grid-template-columns: repeat(12,minmax(0,1fr)); gap: var(--layout-gap); }
.project-card { grid-column: span 4; position: relative; min-height: 460px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface); overflow: hidden; }
.project-card--wide { grid-column: span 8; }
.project-card img { width: 100%; height: 60%; object-fit: cover; background: var(--image-backdrop); transition: transform .45s var(--ease); }
.project-card:hover img { transform: scale(1.025); }
.project-card-body { padding: 24px; }
.project-card-body p { color: var(--muted); }
.project-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.tag { display: inline-flex; padding: 6px 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted-strong); font-size: .78rem; font-weight: 750; }

.split { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: clamp(40px,7vw,100px); align-items: center; }
.visual-panel { min-width: 0; min-height: 440px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); overflow: hidden; }
.visual-panel img { width: 100%; height: 100%; object-fit: cover; }
.check-list { display: grid; gap: 14px; padding: 0; margin: 28px 0 0; list-style: none; }
.check-list li { position: relative; padding-left: 28px; color: var(--muted-strong); }
.check-list li::before { content: ""; position: absolute; left: 0; top: .65em; width: 11px; height: 11px; border: 2px solid var(--accent-soft); transform: rotate(45deg); }

.cta { padding: clamp(34px, 6vw, 76px); border: 1px solid var(--line-strong); border-radius: var(--radius-lg); background: radial-gradient(circle at 88% 12%, var(--accent-wash), transparent 32%), var(--surface); }
.cta .h2 { max-width: 18ch; }

.page-hero { position: relative; padding-block: clamp(74px, 9vw, 126px); background: var(--bg); overflow: hidden; }
.page-hero::after { content: ""; position: absolute; right: -10%; top: -25%; width: 54vw; aspect-ratio: 1; border: 1px solid var(--line); border-radius: 50%; box-shadow: inset 0 0 0 10vw var(--accent-wash); opacity: .36; }
.page-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0,1.1fr) minmax(300px,.9fr); gap: clamp(40px,7vw,90px); align-items: center; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 30px; color: var(--muted); font-size: .9rem; }
.page-visual { min-height: 380px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); overflow: hidden; }
.page-visual img { width: 100%; height: 100%; object-fit: contain; }
.facts { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,220px),1fr)); gap: 12px; margin-top: 34px; }
.fact { min-width: 0; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); }
.fact span { display: block; color: var(--muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; }
.fact strong { display: block; margin-top: 5px; color: var(--text-strong); overflow-wrap: anywhere; }
.branch-list { display: grid; border-top: 1px solid var(--line); }
.branch { display: grid; grid-template-columns: minmax(160px,.36fr) minmax(0,.64fr); gap: clamp(28px,5vw,78px); padding-block: clamp(30px,4vw,52px); border-bottom: 1px solid var(--line); }
.branch p { margin: 0; color: var(--muted); }
.branch-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.filter-btn { padding: 9px 14px; border: 1px solid var(--line-strong); border-radius: 999px; background: transparent; color: var(--muted-strong); font-weight: 800; cursor: pointer; }
.filter-btn[aria-pressed="true"], .filter-btn:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.gallery-grid { display: grid; grid-template-columns: repeat(12,minmax(0,1fr)); gap: var(--layout-gap); }
.gallery-item { grid-column: span 4; min-width: 0; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface); overflow: hidden; }
.gallery-item[hidden] { display: none; }
.gallery-item button { display: block; width: 100%; padding: 0; border: 0; background: none; color: inherit; text-align: left; cursor: zoom-in; }
.gallery-item img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.gallery-caption { padding: 20px; }
.gallery-caption p { margin: 9px 0 0; color: var(--muted); }

.office-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: var(--layout-gap); }
.office-card { min-width: 0; padding: clamp(24px,3vw,36px); border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface); }
.office-card .number { color: var(--accent-soft); font-weight: 900; }
.office-card .h3 { margin-top: 30px; }
.office-card p { color: var(--muted); }
.credential-grid { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(300px,.8fr); gap: var(--layout-gap); }
.credential-document, .credential-summary { min-width: 0; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface); overflow: hidden; }
.credential-media { min-height: 340px; display: grid; place-items: center; padding: clamp(28px,5vw,64px); background: var(--surface-2); }
.credential-media img { max-height: 220px; object-fit: contain; }
.credential-body, .credential-summary { padding: clamp(24px,4vw,44px); }
.credential-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.credential-list { display: grid; gap: 20px; margin: 26px 0 0; padding: 0; list-style: none; }
.credential-list li { padding-top: 18px; border-top: 1px solid var(--line); }
.credential-list strong { display: block; color: var(--text-strong); }
.credential-list span { display: block; margin-top: 5px; color: var(--muted); }

.contact-grid { display: grid; grid-template-columns: minmax(280px,.8fr) minmax(0,1.2fr); gap: var(--layout-gap); align-items: stretch; }
.contact-card, .form-card, .map-card { min-width: 0; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface); }
.contact-card, .form-card { padding: clamp(26px,4vw,46px); }
.contact-list { display: grid; gap: 16px; margin-top: 28px; }
.contact-row { min-width: 0; padding-top: 16px; border-top: 1px solid var(--line); }
.contact-row span { display: block; color: var(--muted); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; }
.contact-row a, .contact-row strong { display: block; margin-top: 5px; color: var(--text-strong); overflow-wrap: anywhere; }
.form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.field { display: grid; gap: 7px; min-width: 0; }
.field--full { grid-column: 1/-1; }
.field label { color: var(--muted-strong); font-weight: 750; }
.field input, .field textarea, .field select { width: 100%; min-height: 48px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: var(--bg-elevated); color: var(--text); padding: 12px 14px; outline: none; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--accent-soft); box-shadow: 0 0 0 4px var(--accent-wash); }
.form-note { color: var(--muted); font-size: .88rem; }
.map-card { position: relative; min-height: 520px; overflow: hidden; }
.map-consent { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; padding: 30px; background: radial-gradient(circle at 70% 25%, var(--accent-wash), transparent 35%), var(--surface-2); text-align: center; }
.map-consent-inner { max-width: 520px; }
.map-consent p { color: var(--muted); }
.map-frame { width: 100%; height: 100%; min-height: 520px; border: 0; }
.map-tools { position: absolute; z-index: 3; left: 16px; right: 16px; bottom: 16px; display: flex; flex-wrap: wrap; gap: 8px; pointer-events: none; }
.map-tools .btn { pointer-events: auto; }

.jobs { display: grid; gap: var(--layout-gap); }
.job { border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface); overflow: hidden; }
.job summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: clamp(24px,4vw,38px); cursor: pointer; list-style: none; }
.job summary::-webkit-details-marker { display:none; }
.job summary span { color: var(--accent-soft); font-weight: 900; }
.job-content { padding: 0 clamp(24px,4vw,38px) clamp(24px,4vw,38px); border-top: 1px solid var(--line); }
.job-columns { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; margin-top: 28px; }
.job-columns h3 { color: var(--text-strong); }
.job-columns ul { padding-left: 20px; color: var(--muted); }

.story { position: relative; min-height: 475svh; background: var(--bg); }
.story-sticky { position: sticky; top: var(--header-h); height: calc(100svh - var(--header-h)); overflow: hidden; }
.story-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.story-gradient { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, var(--bg) 0%, color-mix(in srgb, var(--bg) 88%, transparent) 39%, transparent 66%); }
.story-chapters { position: relative; z-index: 2; width: min(calc(100% - clamp(36px,7vw,96px)), var(--container)); margin: calc(-1 * (100svh - var(--header-h))) auto 0; }
.story-chapter { min-height: 95svh; display: flex; align-items: center; pointer-events: none; }
.story-card { width: min(610px, 48vw); padding: clamp(26px,4vw,48px); border: 1px solid var(--line-strong); border-radius: var(--radius-lg); background: var(--glass); backdrop-filter: blur(18px); box-shadow: var(--shadow); opacity: 0; transform: translateY(18px) scale(.97); transition: opacity .35s var(--ease), transform .35s var(--ease); }
.story-chapter.is-active .story-card { opacity: 1; transform: scale(1); }
.story-card p { color: var(--muted-strong); font-size: clamp(1rem,1.3vw,1.18rem); }
.story-controls { position: absolute; z-index: 5; right: clamp(18px,4vw,54px); top: 20px; display: flex; flex-wrap: wrap; justify-content: end; gap: 8px; }
.story-progress { position: absolute; z-index: 4; left: 0; bottom: 0; width: 100%; height: 4px; background: var(--line); }
.story-progress span { display: block; width: 0; height: 100%; background: var(--accent); }
.story-label { position: absolute; z-index: 4; right: 20px; bottom: 18px; color: var(--muted-strong); font-size: .82rem; font-weight: 800; }

.site-footer { border-top: 1px solid var(--line); background: var(--surface); }
.footer-main { display: grid; grid-template-columns: minmax(260px,1.2fr) repeat(3,minmax(150px,.6fr)); gap: clamp(30px,5vw,70px); padding-block: clamp(56px,7vw,94px); }
.footer-brand img { max-width: 230px; max-height: 62px; object-fit: contain; }
.footer-brand p { max-width: 42ch; color: var(--muted); }
.footer-col h2 { margin: 0 0 18px; color: var(--text-strong); font-size: .86rem; letter-spacing: .12em; text-transform: uppercase; }
.footer-col ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.footer-col a, .footer-col li { color: var(--muted); overflow-wrap: anywhere; }
.footer-col a:hover { color: var(--text-strong); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--layout-gap); padding-block: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: .88rem; }

.lightbox { width: min(1000px, calc(100% - 32px)); max-height: calc(100svh - 32px); padding: 0; border: 1px solid var(--line-strong); border-radius: var(--radius-md); background: var(--surface); color: var(--text); box-shadow: var(--shadow); overflow: hidden; }
.lightbox::backdrop { background: rgba(0,0,0,.78); backdrop-filter: blur(5px); }
.lightbox-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.lightbox-head strong { color: var(--text-strong); }
.lightbox-close { min-width: 42px; min-height: 42px; border: 1px solid var(--line-strong); border-radius: 50%; background: transparent; color: var(--text-strong); cursor: pointer; }
.lightbox-media { max-height: calc(100svh - 120px); overflow: auto; background: var(--surface-2); }
.lightbox-media img { width: 100%; height: auto; object-fit: contain; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s var(--ease), transform .65s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.only-dark, .only-light { display: none; }
:root[data-theme="dark"] .only-dark { display: block; }
:root[data-theme="light"] .only-light { display: block; }
.visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }

:focus-visible { outline: 3px solid var(--accent-soft); outline-offset: 4px; }

@media (max-width: 1180px) {
  :root { --header-h: 76px; }
  .site-nav, .header-cta { display: none; }
  .menu-btn { display: inline-flex; }
  .header-tools { margin-left: auto; }
  .brand img { max-width: 205px; max-height: 52px; }
  .mobile-nav { position: fixed; inset: var(--header-h) 0 0; z-index: 79; display: grid; align-content: start; padding: 28px clamp(22px,7vw,64px); background: var(--bg); transform: translateX(100%); transition: transform .3s var(--ease); overflow-y: auto; }
  body.nav-open .mobile-nav { transform: none; }
  .mobile-nav ul { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; }
  .mobile-nav a { display: block; padding: 18px 0; border-bottom: 1px solid var(--line); color: var(--text-strong); font-size: clamp(1.4rem,4vw,2.2rem); font-weight: 800; }
  .mobile-nav .btn { margin-top: 28px; width: fit-content; font-size: 1rem; }
  .hero-grid, .page-hero-grid { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .hero-copy { max-width: 850px; }
  .hero-art { width: min(760px,100%); margin-inline: auto; }
  .trust-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .trust-item:nth-child(2) { border-right: 0; }
  .trust-item:nth-child(-n + 2) { border-bottom: 1px solid var(--line); }
  .service-card { grid-column: span 6; }
  .service-card--wide { grid-column: span 6; }
  .project-card, .project-card--wide { grid-column: span 6; }
  .office-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .gallery-item { grid-column: span 6; }
  .footer-main { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .story-gradient { background: linear-gradient(90deg, var(--bg) 0%, color-mix(in srgb, var(--bg) 82%, transparent) 55%, transparent 88%); }
  .story-card { width: min(580px, 58vw); }
}

@media (max-width: 820px) {
  :root { --header-h: 72px; }
  .container { width: min(calc(100% - 36px), var(--container)); }
  .brand img { max-width: 178px; max-height: 48px; }
  .lang-link { min-width: 40px; padding-inline: 8px; }
  .display { font-size: clamp(3rem, 15vw, 5.5rem); }
  .h1 { font-size: clamp(2.8rem, 13vw, 5rem); }
  .h2 { font-size: clamp(2.1rem, 9.5vw, 3.8rem); }
  .section-head { align-items: start; flex-direction: column; }
  .service-card, .service-card--wide, .project-card, .project-card--wide, .gallery-item { grid-column: 1/-1; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .process-step:nth-child(2) { border-right: 0; }
  .process-step:nth-child(-n + 2) { border-bottom: 1px solid var(--line); }
  .split, .contact-grid, .credential-grid { grid-template-columns: 1fr; }
  .branch { grid-template-columns: 1fr; gap: 16px; }
  .office-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .field--full { grid-column: auto; }
  .job-columns { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .story { min-height: 500svh; }
  .story-sticky { height: calc(100svh - var(--header-h)); }
  .story-gradient { background: linear-gradient(180deg, var(--bg) 0%, color-mix(in srgb, var(--bg) 72%, transparent) 53%, transparent 80%); }
  .story-chapter { align-items: end; min-height: 100svh; padding-bottom: 22px; }
  .story-card { width: 100%; max-height: 48svh; overflow: auto; padding: 22px; border-radius: var(--radius-md); }
  .story-controls { left: 18px; right: 18px; top: 12px; justify-content: start; }
  .story-controls .btn { min-height: 40px; padding: 8px 13px; font-size: .82rem; }
  .story-label { display: none; }
  .map-card, .map-frame { min-height: 440px; }
}

@media (max-width: 520px) {
  .brand img { max-width: 145px; max-height: 44px; }
  .header-tools { gap: 5px; }
  .icon-btn, .lang-link, .menu-btn { min-width: 38px; min-height: 38px; }
  .hero-grid { padding-block: 58px 76px; }
  .hero-art-badge { position: relative; right: auto; bottom: auto; width: 100%; margin-top: 12px; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-item { border-right: 0; border-bottom: 1px solid var(--line); }
  .trust-item:last-child { border-bottom: 0; }
  .process-grid { grid-template-columns: 1fr; }
  .process-step { border-right: 0; border-bottom: 1px solid var(--line); }
  .process-step:last-child { border-bottom: 0; }
  .actions .btn { width: 100%; }
  .gallery-caption, .project-card-body { padding: 18px; }
  .credential-media { min-height: 260px; }
}

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

.language-switch {
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  min-height: 42px;
  padding: 3px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 72%, transparent);
}
.language-switch a,
.language-switch .language-option {
  display: grid;
  place-items: center;
  min-width: 38px;
  min-height: 34px;
  padding-inline: 9px;
  border-radius: 999px;
  color: var(--muted-strong);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .04em;
}
.language-switch a:hover { color: var(--text-strong); background: var(--surface-2); }
.language-switch .is-active { background: var(--text-strong); color: var(--bg); box-shadow: 0 6px 16px rgba(0,0,0,.15); }

.gallery-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 22px; margin-bottom: 30px; }
.gallery-toolbar .filters { margin-bottom: 0; }
.gallery-count { margin: 0; color: var(--muted); font-size: .9rem; font-weight: 800; white-space: nowrap; }
.gallery-grid--projects { gap: 22px; }
.gallery-trigger,
.credential-trigger { height: 100%; }
.gallery-media { position: relative; overflow: hidden; background: var(--image-backdrop); }
.gallery-media img { transition: transform .55s var(--ease), filter .55s var(--ease); }
.gallery-open-label {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 13px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 999px;
  background: rgba(7,11,19,.76);
  color: #fff;
  font-size: .78rem;
  font-weight: 850;
  backdrop-filter: blur(12px);
  transform: translateY(8px);
  opacity: 0;
  transition: .3s var(--ease);
}
.gallery-trigger:hover .gallery-media img,
.gallery-trigger:focus-visible .gallery-media img { transform: scale(1.035); filter: contrast(1.04); }
.gallery-trigger:hover .gallery-open-label,
.gallery-trigger:focus-visible .gallery-open-label { transform: none; opacity: 1; }
.gallery-caption .h3 { margin-top: 14px; line-height: 1.08; }
.gallery-caption p { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.gallery-more { display: inline-flex; margin-top: 18px; color: var(--text-strong); font-size: .84rem; font-weight: 850; }

body.viewer-open { overflow: hidden; }
.portfolio-viewer {
  width: min(1500px, calc(100% - 24px));
  height: min(920px, calc(100svh - 24px));
  max-width: none;
  max-height: none;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: clamp(18px, 2vw, 30px);
  background: var(--surface);
  color: var(--text);
  box-shadow: 0 35px 120px rgba(0,0,0,.48);
  overflow: hidden;
}
.portfolio-viewer::backdrop { background: rgba(2,5,10,.84); backdrop-filter: blur(10px); }
.viewer-shell { display: grid; grid-template-rows: auto minmax(0,1fr); height: 100%; }
.viewer-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 14px clamp(16px,2vw,28px);
  border-bottom: 1px solid var(--line);
  background: var(--bg-elevated);
}
.viewer-heading { min-width: 0; }
.viewer-heading span { display: block; color: var(--accent-soft); font-size: .73rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.viewer-heading strong { display: block; max-width: 70ch; margin-top: 2px; color: var(--text-strong); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.viewer-actions { display: flex; gap: 8px; flex: 0 0 auto; }
.viewer-tool {
  display: inline-grid;
  place-items: center;
  min-width: 42px;
  min-height: 42px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: transparent;
  color: var(--text-strong);
  font-size: 1.15rem;
  font-weight: 800;
  cursor: pointer;
}
.viewer-tool:hover { border-color: var(--accent-soft); background: var(--surface-2); }
.viewer-layout { display: grid; grid-template-columns: minmax(0,1.55fr) minmax(330px,.65fr); min-height: 0; }
.viewer-stage { position: relative; min-width: 0; min-height: 0; display: grid; place-items: center; background: var(--image-backdrop); overflow: hidden; }
.viewer-image-wrap { width: 100%; height: 100%; display: grid; place-items: center; overflow: auto; cursor: zoom-in; }
.viewer-image-wrap img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; transition: transform .35s var(--ease); transform-origin: center; }
.viewer-image-wrap.is-zoomed { cursor: zoom-out; place-items: start; }
.viewer-image-wrap.is-zoomed img { max-width: none; max-height: none; width: 160%; transform: none; }
.viewer-nav {
  position: absolute;
  z-index: 4;
  top: 50%;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 50%;
  background: rgba(7,11,19,.72);
  color: #fff;
  font-size: 1.25rem;
  cursor: pointer;
  backdrop-filter: blur(12px);
  transform: translateY(-50%);
}
.viewer-nav:hover { background: var(--accent); border-color: var(--accent); }
.viewer-nav:disabled { opacity: .28; cursor: default; }
.viewer-nav--prev { left: 18px; }
.viewer-nav--next { right: 18px; }
.viewer-counter { position: absolute; left: 20px; bottom: 18px; z-index: 4; padding: 7px 11px; border-radius: 999px; background: rgba(7,11,19,.72); color: #fff; font-size: .8rem; font-weight: 850; backdrop-filter: blur(12px); }
.viewer-detail { min-width: 0; padding: clamp(24px,3vw,44px); border-left: 1px solid var(--line); background: var(--surface); overflow-y: auto; }
.viewer-description { margin: 0; color: var(--muted-strong); font-size: clamp(1rem,1.2vw,1.15rem); }
.viewer-facts { display: grid; gap: 0; margin: 30px 0 0; }
.viewer-facts div { padding: 18px 0; border-top: 1px solid var(--line); }
.viewer-facts dt { color: var(--accent-soft); font-size: .72rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.viewer-facts dd { margin: 7px 0 0; color: var(--text-strong); font-weight: 700; }
.viewer-help { display: flex; gap: 12px; align-items: start; margin-top: 26px; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface-2); }
.viewer-help span { flex: 0 0 auto; color: var(--accent-soft); font-weight: 900; }
.viewer-help p { margin: 0; color: var(--muted); font-size: .84rem; }
.viewer-thumbs { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 8px; margin-top: 22px; }
.viewer-thumb { aspect-ratio: 1.25; padding: 0; border: 2px solid transparent; border-radius: 9px; background: var(--surface-2); overflow: hidden; cursor: pointer; opacity: .62; }
.viewer-thumb img { width: 100%; height: 100%; object-fit: cover; }
.viewer-thumb:hover, .viewer-thumb.is-active { opacity: 1; border-color: var(--accent); }

.credential-gallery { display: grid; grid-template-columns: minmax(0,1.2fr); gap: 20px; }
.credential-tile { border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); overflow: hidden; }
.credential-trigger { display: grid; grid-template-columns: minmax(260px,.8fr) minmax(0,1.2fr); width: 100%; padding: 0; border: 0; background: transparent; color: inherit; text-align: left; cursor: pointer; }
.credential-tile-media { min-height: 360px; display: grid; place-items: center; padding: clamp(30px,5vw,72px); background: var(--surface-2); overflow: hidden; }
.credential-tile-media img { max-height: 240px; object-fit: contain; transition: transform .4s var(--ease); }
.credential-trigger:hover .credential-tile-media img { transform: scale(1.045); }
.credential-tile-body { align-self: center; padding: clamp(28px,5vw,68px); }
.credential-tile-body .h3 { margin-top: 20px; }
.credential-tile-body p { color: var(--muted); }
.qualification-band { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1px; margin-top: 24px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--line); overflow: hidden; }
.qualification-band article { min-width: 0; padding: clamp(24px,3vw,38px); background: var(--surface); }
.qualification-band span { color: var(--accent-soft); font-weight: 900; }
.qualification-band h3 { margin: 22px 0 0; color: var(--text-strong); font-size: 1.15rem; }
.qualification-band p { margin-bottom: 0; color: var(--muted); }

.upload-field { margin-top: 2px; }
.upload-zone {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 7px;
  min-height: 170px;
  padding: 28px;
  border: 1.5px dashed var(--line-strong);
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--surface-2), var(--accent-wash));
  text-align: center;
  cursor: pointer;
  transition: .25s var(--ease);
}
.upload-zone:hover, .upload-zone.is-dragging { border-color: var(--accent-soft); background: var(--accent-wash); transform: translateY(-2px); }
.upload-zone input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.upload-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--accent); color: #fff; font-size: 1.4rem; }
.upload-zone strong { color: var(--text-strong); }
.upload-zone small { color: var(--muted); }
.upload-list { display: grid; gap: 8px; margin-top: 10px; }
.upload-file { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 11px 13px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface-2); }
.upload-file span { min-width: 0; color: var(--text-strong); font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.upload-file small { flex: 0 0 auto; color: var(--muted); }
.upload-summary { margin: 3px 0 0; color: var(--muted); font-size: .82rem; }
.upload-summary.is-error { color: #ef6a6a; }

@media (max-width: 1320px) {
  :root { --header-h: 76px; }
  .site-nav, .header-cta { display: none; }
  .menu-btn { display: inline-flex; }
  .header-tools { margin-left: auto; }
  .brand img { max-width: 205px; max-height: 52px; }
  .mobile-nav { position: fixed; inset: var(--header-h) 0 0; z-index: 79; display: grid; align-content: start; padding: 28px clamp(22px,7vw,64px); background: var(--bg); transform: translateX(100%); transition: transform .3s var(--ease); overflow-y: auto; }
  body.nav-open .mobile-nav { transform: none; }
}

@media (max-width: 980px) {
  .viewer-layout { grid-template-columns: 1fr; grid-template-rows: minmax(45svh,1fr) auto; }
  .viewer-detail { border-left: 0; border-top: 1px solid var(--line); max-height: 38svh; }
  .viewer-thumbs { grid-template-columns: repeat(6,minmax(64px,1fr)); overflow-x: auto; }
  .credential-trigger { grid-template-columns: 1fr; }
  .credential-tile-media { min-height: 280px; }
  .qualification-band { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .language-switch a, .language-switch .language-option { min-width: 34px; min-height: 32px; padding-inline: 7px; }
  .gallery-toolbar { align-items: flex-start; flex-direction: column; }
  .portfolio-viewer { width: 100%; height: 100svh; border: 0; border-radius: 0; }
  .viewer-topbar { min-height: 68px; padding-inline: 12px; }
  .viewer-heading strong { max-width: 52vw; }
  .viewer-layout { grid-template-rows: minmax(42svh,1fr) minmax(0,1fr); }
  .viewer-detail { max-height: none; padding: 22px 18px 34px; }
  .viewer-nav { width: 44px; height: 44px; }
  .viewer-nav--prev { left: 10px; }
  .viewer-nav--next { right: 10px; }
  .viewer-thumbs { grid-template-columns: repeat(4,minmax(72px,1fr)); }
}
@media (min-width: 1181px) and (max-width: 1320px) {
  .mobile-nav ul { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; }
  .mobile-nav a { display: block; padding: 18px 0; border-bottom: 1px solid var(--line); color: var(--text-strong); font-size: clamp(1.4rem,4vw,2.2rem); font-weight: 800; }
  .mobile-nav .btn { margin-top: 28px; width: fit-content; font-size: 1rem; }
}


.page-visual--motion {
  display: block;
  min-height: 0;
  border-color: var(--line-strong);
  background: var(--surface);
  box-shadow: var(--shadow);
}
.service-motion { position: relative; isolation: isolate; }
.motion-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 48px;
  padding: 10px 16px;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface-2) 82%, transparent);
  color: var(--muted-strong);
  font-size: .69rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.motion-bar-label { display: inline-flex; align-items: center; gap: 9px; min-width: 0; }
.motion-live-dot {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 5px var(--accent-wash);
}
.motion-stage {
  position: relative;
  aspect-ratio: 1000 / 620;
  min-height: 310px;
  overflow: hidden;
  background: var(--image-backdrop);
}
.motion-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.motion-stage-meta {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 14px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  pointer-events: none;
  color: var(--muted-strong);
  font-size: .65rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.motion-stage-meta span {
  padding: 7px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: color-mix(in srgb, var(--glass) 88%, transparent);
  backdrop-filter: blur(10px);
}
.motion-info {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 20px;
  padding: clamp(20px, 3vw, 30px);
  border-top: 1px solid var(--line);
  background: var(--surface);
}
.motion-copy { min-width: 0; }
.motion-copy > span {
  display: block;
  margin-bottom: 7px;
  color: var(--accent-soft);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.motion-copy strong {
  display: block;
  color: var(--text-strong);
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 2vw, 1.65rem);
  font-weight: var(--font-weight-h3);
  line-height: 1.08;
  letter-spacing: -.025em;
}
.motion-copy p {
  max-width: 60ch;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: .91rem;
  line-height: 1.55;
}
.motion-controls { display: flex; flex-wrap: wrap; justify-content: end; gap: 8px; }
.motion-control {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 9px 13px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: transparent;
  color: var(--text-strong);
  font-size: .78rem;
  font-weight: 850;
  cursor: pointer;
  transition: border-color .2s var(--ease), background .2s var(--ease), transform .2s var(--ease);
}
.motion-control:hover { transform: translateY(-1px); border-color: var(--accent-soft); background: var(--surface-2); }
.motion-control span:first-child { min-width: 1.05em; color: var(--accent-soft); text-align: center; }
.motion-timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  background: var(--surface-2);
}
.motion-phase {
  min-width: 0;
  min-height: 62px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 0;
  border-right: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  text-align: left;
  cursor: pointer;
  transition: color .22s var(--ease), background .22s var(--ease);
}
.motion-phase:last-child { border-right: 0; }
.motion-phase span {
  color: var(--muted);
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .08em;
}
.motion-phase strong {
  min-width: 0;
  overflow: hidden;
  color: inherit;
  font-size: .73rem;
  font-weight: 850;
  letter-spacing: .02em;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.motion-phase:hover { color: var(--text-strong); background: var(--surface-3); }
.motion-phase.is-active { color: var(--text-strong); background: var(--accent-wash); }
.motion-phase.is-active span { color: var(--accent-soft); }
.motion-progress {
  position: relative;
  height: 4px;
  overflow: hidden;
  background: var(--line);
}
.motion-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--gold));
  transition: width .12s linear;
}
.service-motion-fallback { width: 100%; height: 100%; object-fit: contain; background: var(--image-backdrop); }

@media (max-width: 1180px) {
  .page-visual--motion { width: min(820px, 100%); margin-inline: auto; }
}

@media (max-width: 680px) {
  .motion-stage { min-height: 260px; }
  .motion-info { grid-template-columns: 1fr; align-items: start; padding: 20px 18px; }
  .motion-controls { justify-content: start; }
  .motion-timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .motion-phase:nth-child(2) { border-right: 0; }
  .motion-phase:nth-child(-n + 2) { border-bottom: 1px solid var(--line); }
  .motion-stage-meta { left: 10px; right: 10px; bottom: 10px; }
  .motion-stage-meta span:last-child { display: none; }
}

@media (max-width: 420px) {
  .motion-bar { padding-inline: 12px; }
  .motion-stage { min-height: 224px; }
  .motion-control { flex: 1 1 auto; }
  .motion-phase { min-height: 58px; padding: 10px 11px; gap: 7px; }
}

@media (prefers-reduced-motion: reduce) {
  .motion-controls, .motion-progress { display: none; }
}

.service-story {
  position: relative;
  isolation: isolate;
  background: var(--bg);
  border-block: 1px solid var(--line);
}
.service-story-sticky {
  position: sticky;
  top: var(--header-h);
  height: calc(100svh - var(--header-h));
  min-height: 620px;
  overflow: hidden;
  background: var(--image-backdrop);
}
.service-story-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.service-story-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, var(--bg) 0%, color-mix(in srgb, var(--bg) 96%, transparent) 18%, color-mix(in srgb, var(--bg) 82%, transparent) 38%, transparent 67%),
    linear-gradient(180deg, color-mix(in srgb, var(--bg) 52%, transparent), transparent 18%, transparent 79%, color-mix(in srgb, var(--bg) 82%, transparent));
}
.service-story-topline {
  position: absolute;
  z-index: 4;
  top: clamp(18px, 3vw, 34px);
  left: clamp(20px, 4vw, 64px);
  right: clamp(20px, 4vw, 64px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  color: var(--muted-strong);
  font-size: .72rem;
  font-weight: 850;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.service-story-topline > span { display: inline-flex; align-items: center; gap: 10px; }
.service-story-topline i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-soft);
  box-shadow: 0 0 0 6px var(--accent-wash);
}
.service-story-counter {
  position: absolute;
  z-index: 4;
  right: clamp(22px, 5vw, 80px);
  top: 50%;
  display: grid;
  grid-template-columns: auto auto;
  align-items: end;
  transform: translateY(-50%);
  color: var(--text-strong);
  pointer-events: none;
}
.service-story-counter span { grid-column: 1 / -1; color: var(--muted); font-size: .67rem; font-weight: 850; letter-spacing: .16em; text-transform: uppercase; }
.service-story-counter strong { font-size: clamp(2.8rem, 5vw, 5.8rem); line-height: .9; font-weight: 300; letter-spacing: -.08em; }
.service-story-counter small { margin: 0 0 .25rem .42rem; color: var(--muted); font-size: .8rem; font-weight: 800; }
.service-story-rail {
  position: absolute;
  z-index: 5;
  right: clamp(20px, 2.4vw, 38px);
  top: 50%;
  display: grid;
  gap: 8px;
  transform: translateY(-50%);
}
.service-story-rail button {
  display: grid;
  grid-template-columns: 26px 22px;
  align-items: center;
  min-width: 0;
  padding: 4px 0;
  border: 0;
  color: var(--muted);
  background: transparent;
  font: inherit;
  cursor: pointer;
}
.service-story-rail button span { font-size: .64rem; font-weight: 850; letter-spacing: .08em; opacity: 0; transform: translateX(5px); transition: opacity .25s var(--ease), transform .25s var(--ease), color .25s var(--ease); }
.service-story-rail button i { display: block; width: 7px; height: 7px; margin-left: auto; border: 1px solid var(--line-strong); border-radius: 50%; background: var(--bg); transition: width .25s var(--ease), border-radius .25s var(--ease), background .25s var(--ease), border-color .25s var(--ease); }
.service-story-rail button:hover span,
.service-story-rail button.is-active span { opacity: 1; transform: none; color: var(--text-strong); }
.service-story-rail button.is-active i { width: 22px; border-radius: 999px; border-color: var(--accent-soft); background: var(--accent-soft); }


.service-story-scrollcue {
  position: absolute;
  z-index: 4;
  left: clamp(22px, 4vw, 64px);
  bottom: clamp(28px, 4vw, 52px);
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--muted);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: opacity .3s var(--ease);
}
.service-story-scrollcue span { position: relative; width: 22px; height: 34px; border: 1px solid var(--line-strong); border-radius: 999px; }
.service-story-scrollcue span::after { content: ""; position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; border-radius: 99px; background: var(--accent-soft); transform: translateX(-50%); animation: service-story-scroll 1.6s ease-in-out infinite; }
.service-story.is-started .service-story-scrollcue { opacity: 0; }
@keyframes service-story-scroll { 0%,100% { transform: translate(-50%,0); opacity: .35; } 50% { transform: translate(-50%,10px); opacity: 1; } }
.service-story-progress { position: absolute; z-index: 8; left: 0; bottom: 0; width: 100%; height: 4px; background: var(--line); }
.service-story-progress > span { display: block; width: 0; height: 100%; background: linear-gradient(90deg, var(--accent), var(--accent-soft)); box-shadow: 0 0 22px var(--accent); }
.service-story-chapters {
  position: relative;
  z-index: 3;
  width: min(calc(100% - (2 * var(--gutter))), var(--container));
  margin: calc(-1 * (100svh - var(--header-h))) auto 0;
}
.service-story-chapter {
  min-height: 94svh;
  display: flex;
  align-items: center;
  pointer-events: none;
}
.service-story-card {
  position: relative;
  width: min(610px, 48vw);
  padding: clamp(26px, 3.6vw, 48px);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background: color-mix(in srgb, var(--surface) 84%, transparent);
  box-shadow: 0 24px 80px color-mix(in srgb, var(--bg) 62%, transparent);
  backdrop-filter: blur(22px) saturate(1.08);
  opacity: .08;
  transform: translateY(22px) scale(.975);
  transition: opacity .38s var(--ease), transform .38s var(--ease), border-color .38s var(--ease);
  pointer-events: auto;
}
.service-story-card::before,
.service-story-card::after { content: ""; position: absolute; pointer-events: none; }
.service-story-card::before { inset: 0 auto auto 0; width: 82px; height: 2px; background: var(--accent-soft); box-shadow: 0 0 18px var(--accent); }
.service-story-card::after { right: 18px; top: 18px; width: 24px; height: 24px; border-top: 1px solid var(--line-strong); border-right: 1px solid var(--line-strong); }
.service-story-chapter.is-active .service-story-card { opacity: 1; transform: none; border-color: color-mix(in srgb, var(--accent-soft) 46%, var(--line-strong)); }
.service-story-card-head { display: flex; justify-content: space-between; align-items: center; gap: 18px; margin-bottom: clamp(18px, 2.6vw, 30px); }
.service-story-card-head span { color: var(--accent-soft); font-size: .74rem; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.service-story-card-head b { color: var(--muted); font-size: .74rem; font-weight: 850; }
.service-story-card .h2 { max-width: 15ch; margin: 0 0 16px; font-size: clamp(1.8rem, 3vw, 3.35rem); line-height: .98; }
.service-story-card > p { max-width: 54ch; margin-bottom: 22px; color: var(--muted-strong); font-size: clamp(1rem, 1.15vw, 1.14rem); }
.service-story-focus { display: grid; gap: 5px; margin: 0 0 20px; padding: 14px 16px; border-left: 2px solid var(--gold); background: color-mix(in srgb, var(--gold) 9%, transparent); }
.service-story-focus span { color: var(--muted); font-size: .65rem; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.service-story-focus strong { color: var(--text-strong); font-size: .96rem; }
.service-story-card ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.service-story-card li { position: relative; padding-left: 20px; color: var(--muted-strong); font-size: .92rem; }
.service-story-card li::before { content: ""; position: absolute; left: 0; top: .62em; width: 9px; height: 1px; background: var(--accent-soft); }
.service-story-card .actions { margin-top: 24px; }

@media (max-width: 1100px) {
  .service-story-counter { display: none; }
  .service-story-card { width: min(580px, 57vw); }
  .service-story-overlay { background: linear-gradient(90deg, var(--bg) 0%, color-mix(in srgb, var(--bg) 91%, transparent) 30%, transparent 76%); }
}
@media (max-width: 820px) {
  .service-story-sticky { min-height: 600px; }
  .service-story-chapters { width: min(calc(100% - 28px), var(--container)); }
  .service-story-chapter { min-height: 100svh; align-items: end; padding-bottom: 18px; }
  .service-story-card { width: 100%; max-height: 52svh; padding: 22px; overflow: auto; border-radius: var(--radius-md); }
  .service-story-card .h2 { font-size: clamp(1.65rem, 7vw, 2.65rem); }
  .service-story-card > p { font-size: .96rem; }
  .service-story-overlay { background: linear-gradient(180deg, color-mix(in srgb, var(--bg) 18%, transparent) 0%, transparent 38%, color-mix(in srgb, var(--bg) 94%, transparent) 66%, var(--bg) 100%); }
  .service-story-topline { left: 16px; right: 16px; top: 14px; font-size: .62rem; }
  .service-story-topline > span:last-child { display: none; }
  
  
  
  .service-story-rail { display: none; }
  .service-story-scrollcue { left: 16px; top: 52px; bottom: auto; max-width: 170px; font-size: .58rem; }
  .service-story-scrollcue span { width: 18px; height: 28px; flex: 0 0 auto; }
}
@media (max-width: 520px) {
  .service-story-card { max-height: 56svh; padding: 20px 18px; }
  .service-story-card-head { margin-bottom: 14px; }
  .service-story-focus { padding: 11px 13px; margin-bottom: 14px; }
  .service-story-card ul { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .service-story-scrollcue span::after { animation: none; }
  
  .service-story-card { transition: none; }
}



.home-story .service-story-card { width: min(570px, 46vw); }
.home-story .service-story-card .h2 { max-width: 16ch; }
.home-story .service-story-overlay {
  background:
    linear-gradient(90deg, var(--bg) 0%, color-mix(in srgb, var(--bg) 95%, transparent) 17%, color-mix(in srgb, var(--bg) 80%, transparent) 40%, transparent 68%),
    linear-gradient(180deg, color-mix(in srgb, var(--bg) 54%, transparent), transparent 20%, transparent 78%, color-mix(in srgb, var(--bg) 84%, transparent));
}
.home-story-intro {
  position: absolute;
  z-index: 4;
  left: clamp(22px, 4vw, 64px);
  top: clamp(72px, 11vh, 116px);
  max-width: 34ch;
  color: var(--muted);
  font-size: .84rem;
  letter-spacing: .04em;
}
.home-story-intro { transition: opacity .28s var(--ease), transform .28s var(--ease); }
.home-story-intro strong { color: var(--text-strong); }
.home-story.is-started .home-story-intro { opacity: 0; transform: translateY(-10px); }

@media (max-width: 820px) {
  :root {
    --size-display: clamp(2.45rem, 11vw, 4.4rem);
    --size-h1: clamp(2.2rem, 9vw, 3.65rem);
    --size-h2: clamp(1.75rem, 7vw, 2.8rem);
    --size-h3: clamp(1.16rem, 5vw, 1.6rem);
  }
  .home-story .service-story-card { width: 100%; }
  .home-story-intro { display: none; }
}
@media (hover: none), (pointer: coarse), (prefers-reduced-motion: reduce) {
}

.brand img {
  width: auto;
  height: clamp(46px, 4.4vw, 58px);
  max-width: min(255px, 22vw);
  max-height: none;
  object-fit: contain;
}
.footer-brand img {
  width: min(330px, 100%);
  max-height: 118px;
  object-fit: contain;
}
:root[data-theme="dark"] .brand img,
:root[data-theme="dark"] .footer-brand img {
  filter: drop-shadow(0 0 1px rgba(255,255,255,.48));
}


.service-story { min-height: auto; }
.service-story-chapters {
  padding-bottom: 34svh;
}
.service-story-chapter {
  min-height: 105svh;
}
.service-story-card {
  max-height: calc(100svh - var(--header-h) - 112px);
  overflow: auto;
  scrollbar-width: thin;
}
.service-story-chapter:not(.is-active) .service-story-card {
  opacity: 0;
  visibility: hidden;
  transform: translateY(18px) scale(.985);
  pointer-events: none;
}
.service-story-chapter.is-active .service-story-card {
  visibility: visible;
}

.map-tools .btn--secondary {
  background: rgba(7,11,19,.9);
  border-color: rgba(255,255,255,.42);
  color: #fff;
  box-shadow: 0 10px 28px rgba(0,0,0,.26);
  backdrop-filter: blur(14px);
}
.map-tools .btn--secondary:hover {
  background: #111b2b;
  border-color: rgba(255,255,255,.7);
  color: #fff;
}
.map-consent[hidden] { display: none; }

.cookie-banner {
  position: fixed;
  z-index: 140;
  left: clamp(14px, 3vw, 34px);
  right: clamp(14px, 3vw, 34px);
  bottom: clamp(14px, 3vw, 28px);
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  align-items: center;
  gap: 24px;
  width: min(1180px, calc(100% - 28px));
  margin-inline: auto;
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background: color-mix(in srgb, var(--surface) 94%, transparent);
  box-shadow: 0 28px 90px rgba(0,0,0,.38);
  backdrop-filter: blur(24px) saturate(1.15);
}
.cookie-banner[hidden] { display: none; }
.cookie-banner-copy { max-width: 72ch; }
.cookie-banner-copy strong { display: block; color: var(--text-strong); font-size: 1.08rem; }
.cookie-banner-copy p { margin: 8px 0 0; color: var(--muted); font-size: .92rem; }
.cookie-banner-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 9px; }
.cookie-dialog {
  width: min(720px, calc(100% - 28px));
  max-height: min(820px, calc(100svh - 28px));
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background: var(--surface);
  color: var(--text);
  box-shadow: 0 34px 110px rgba(0,0,0,.48);
}
.cookie-dialog::backdrop { background: rgba(3,7,13,.7); backdrop-filter: blur(7px); }
.cookie-dialog-inner { padding: clamp(24px, 5vw, 46px); }
.cookie-dialog-head { display: flex; align-items: start; justify-content: space-between; gap: 20px; }
.cookie-dialog-head p { margin: 10px 0 0; color: var(--muted); }
.cookie-close {
  display: grid; place-items: center; flex: 0 0 auto; width: 42px; height: 42px;
  border: 1px solid var(--line-strong); border-radius: 50%; background: transparent; cursor: pointer;
}
.cookie-options { display: grid; gap: 12px; margin-top: 28px; }
.cookie-option {
  display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 18px; align-items: center;
  padding: 19px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface-2);
}
.cookie-option strong { display: block; color: var(--text-strong); }
.cookie-option p { margin: 5px 0 0; color: var(--muted); font-size: .88rem; }
.cookie-status { color: var(--accent-soft); font-size: .76rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.cookie-switch { position: relative; width: 52px; height: 30px; }
.cookie-switch input { position: absolute; opacity: 0; }
.cookie-switch > span[aria-hidden="true"] { position: absolute; inset: 0; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--surface-3); cursor: pointer; }
.cookie-switch > span[aria-hidden="true"]::after { content: ""; position: absolute; left: 4px; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: var(--muted-strong); transition: .22s var(--ease); }
.cookie-switch input:checked + span[aria-hidden="true"] { background: var(--accent); border-color: var(--accent); }
.cookie-switch input:checked + span[aria-hidden="true"]::after { transform: translateX(22px); background: #fff; }
.cookie-dialog-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; margin-top: 28px; }
.cookie-settings-link { appearance: none; padding: 0; border: 0; background: transparent; color: inherit; cursor: pointer; text-align: left; }
.cookie-settings-link:hover { color: var(--text-strong); }

.credential-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 28px; }
.credential-filters { display: flex; flex-wrap: wrap; gap: 9px; }
.credential-count { color: var(--muted); font-weight: 800; }
.credential-gallery { gap: 28px; }
.credential-tile-media { min-height: clamp(420px, 56vw, 620px); padding: clamp(24px, 4vw, 52px); background: #eef2f5; }
.credential-tile-media img { width: 100%; height: 100%; max-height: 540px; object-fit: contain; filter: drop-shadow(0 18px 30px rgba(15,28,50,.16)); }
.credential-tile-body { padding: clamp(30px, 5vw, 62px); }
.credential-trigger { grid-template-columns: minmax(360px, 1fr) minmax(320px, .85fr); }
.portfolio-viewer[data-gallery-group="credentials"] .viewer-stage { background: #e9edf1; }
.portfolio-viewer[data-gallery-group="credentials"] .viewer-image-wrap { padding: 18px; }
.portfolio-viewer[data-gallery-group="credentials"] .viewer-image-wrap img { background: #fff; box-shadow: 0 18px 60px rgba(18,30,50,.18); }
.portfolio-viewer[data-gallery-group="credentials"] .viewer-thumb { background: #fff; }
.portfolio-viewer[data-gallery-group="credentials"] .viewer-thumb img { object-fit: contain; }

.association-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: var(--layout-gap); }
.association-card {
  min-width: 0; display: grid; grid-template-rows: 190px auto; border: 1px solid var(--line); border-radius: var(--radius-md);
  background: var(--surface); overflow: hidden; transition: transform .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.association-card:hover { transform: translateY(-5px); border-color: var(--accent-soft); box-shadow: var(--shadow); }
.association-logo { display: grid; place-items: center; padding: 30px; background: #fff; }
.association-logo img { width: 100%; height: 100%; object-fit: contain; }
.association-body { padding: 24px; }
.association-body span { color: var(--accent-soft); font-size: .72rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.association-body h3 { margin: 13px 0 0; }
.association-body p { margin-bottom: 0; color: var(--muted); }

@media (max-width: 900px) {
  .cookie-banner { grid-template-columns: 1fr; }
  .cookie-banner-actions { justify-content: flex-start; }
  .credential-trigger { grid-template-columns: 1fr; }
  .credential-tile-media { min-height: 390px; }
  .association-grid { grid-template-columns: 1fr; }
  .association-card { grid-template-columns: 180px 1fr; grid-template-rows: auto; }
}
@media (max-width: 620px) {
  .brand img { height: 47px; max-width: 174px; }
  .footer-brand img { width: min(280px,100%); }
  .cookie-banner { width: calc(100% - 20px); left: 10px; right: 10px; bottom: 10px; padding: 18px; border-radius: var(--radius-md); }
  .cookie-banner-actions .btn { flex: 1 1 100%; }
  .cookie-dialog-actions .btn { flex: 1 1 100%; }
  .service-story-chapters { padding-bottom: 24svh; }
  .service-story-chapter { min-height: 112svh; }
  .service-story-card { max-height: 58svh; }
  .association-card { grid-template-columns: 1fr; }
  .association-logo { min-height: 170px; }
}

.service-story-counter { display: none; }
@media (min-width: 1321px) {
  :root { --header-h: 92px; }
  .brand img { height: 70px; max-width: 230px; }
}
.service-story-topline { justify-content: flex-end; }
.service-story-topline > span:first-child { display: none; }
@media (max-width: 620px) {
  .brand img { height: 54px; max-width: 150px; }
}

:root {
  --story-visual-height: calc(100svh - var(--header-h));
}

.page-visual--motion {
  width: min(100%, 780px);
  margin-inline: auto;
}

.motion-stage {
  min-height: clamp(240px, 32vw, 420px);
  max-height: 460px;
}

.service-story-sticky {
  top: var(--header-h);
  height: var(--story-visual-height);
  min-height: 560px;
}

.service-story-chapters {
  width: min(calc(100% - var(--container-gutter)), 1280px);
  margin-top: calc(-1 * var(--story-visual-height));
  padding-bottom: clamp(180px, 28svh, 360px);
}

.service-story-chapter {
  min-height: 100svh;
}

.service-story-card {
  width: min(560px, 42vw);
  max-height: calc(var(--story-visual-height) - 96px);
}



.service-story-overlay {
  background:
    linear-gradient(90deg, var(--bg) 0%, color-mix(in srgb, var(--bg) 97%, transparent) 20%, color-mix(in srgb, var(--bg) 78%, transparent) 43%, transparent 70%),
    linear-gradient(180deg, color-mix(in srgb, var(--bg) 48%, transparent), transparent 20%, transparent 78%, color-mix(in srgb, var(--bg) 82%, transparent));
}

@media (min-width: 2200px) {
  :root {
    --story-visual-height: min(calc(100svh - var(--header-h)), 1100px);
  }

  .service-story-sticky {
    top: min(460px, max(var(--header-h), calc((100svh - 1100px) / 2)));
    min-height: 0;
  }

  .service-story-chapters {
    width: min(calc(100% - 12vw), 1680px);
    padding-bottom: min(30svh, 420px);
  }

  .service-story-chapter {
    min-height: min(100svh, 1280px);
  }

  .service-story-card {
    width: min(620px, 34vw);
    max-height: calc(var(--story-visual-height) - 72px);
  }

  .service-story-topline {
    left: max(5vw, calc((100% - 1680px) / 2));
    right: max(5vw, calc((100% - 1680px) / 2));
  }

  .service-story-rail {
    right: max(4vw, calc((100% - 1680px) / 2));
  }

  .service-story-scrollcue {
    left: max(5vw, calc((100% - 1680px) / 2));
  }
}

@media (max-width: 1100px) {
  .service-story-card {
    width: min(520px, 52vw);
  }
}

@media (max-width: 820px) {
  :root {
    --story-visual-height: calc(100svh - var(--header-h));
  }

  .page-visual--motion {
    width: 100%;
  }

  .motion-stage {
    min-height: clamp(220px, 68vw, 360px);
    max-height: 380px;
  }

  .service-story-sticky {
    top: var(--header-h);
    height: var(--story-visual-height);
    min-height: 0;
  }

  .service-story-chapters {
    width: min(calc(100% - 28px), var(--container));
    margin-top: calc(-1 * var(--story-visual-height));
    padding-bottom: 18svh;
  }

  .service-story-chapter {
    min-height: 100svh;
    align-items: end;
    padding-bottom: 14px;
  }

  .service-story-card {
    width: 100%;
    max-height: min(55svh, 520px);
    padding: clamp(18px, 5vw, 24px);
    border-radius: var(--radius-md);
    background: color-mix(in srgb, var(--surface) 96%, transparent);
    backdrop-filter: blur(18px) saturate(1.05);
  }

  .service-story-card .h2 {
    max-width: 18ch;
    font-size: clamp(1.48rem, 6.4vw, 2.25rem);
    line-height: 1.02;
  }

  .service-story-card > p {
    font-size: .94rem;
    line-height: 1.5;
  }

  .service-story-focus {
    padding: 10px 12px;
    margin-bottom: 12px;
  }

  .service-story-card ul {
    display: none;
  }

  .service-story-overlay {
    background:
      linear-gradient(180deg, color-mix(in srgb, var(--bg) 14%, transparent) 0%, transparent 31%, color-mix(in srgb, var(--bg) 72%, transparent) 50%, var(--bg) 76%, var(--bg) 100%);
  }

  .service-story-topline {
    top: 12px;
    left: 14px;
    right: 14px;
  }

  .service-story-scrollcue {
    top: 46px;
    left: 14px;
    bottom: auto;
    max-width: 160px;
  }
}

@media (max-width: 520px) {
  .motion-info {
    padding: 17px 15px;
  }

  .motion-copy strong {
    font-size: clamp(1.08rem, 5.5vw, 1.42rem);
  }

  .motion-copy p {
    font-size: .86rem;
  }

  .motion-phase {
    min-height: 54px;
    padding: 9px 10px;
  }

  .service-story-chapters {
    width: calc(100% - 20px);
    padding-bottom: 14svh;
  }

  .service-story-card {
    max-height: min(57svh, 500px);
    padding: 18px 16px;
  }

  .service-story-card-head {
    margin-bottom: 12px;
  }

  .service-story-card .actions {
    margin-top: 16px;
  }
}

@media (max-width: 980px) and (max-height: 560px) and (orientation: landscape) {
  .service-story-overlay {
    background: linear-gradient(90deg, var(--bg) 0%, color-mix(in srgb, var(--bg) 92%, transparent) 34%, transparent 67%);
  }

  .service-story-chapters {
    width: calc(100% - 24px);
  }

  .service-story-chapter {
    align-items: center;
    padding-bottom: 0;
  }

  .service-story-card {
    width: min(46vw, 470px);
    max-height: calc(100svh - var(--header-h) - 24px);
    padding: 16px;
  }

  .service-story-card .h2 {
    font-size: clamp(1.25rem, 3.6vw, 1.9rem);
  }

  .service-story-card > p {
    margin-bottom: 12px;
    font-size: .86rem;
  }

  .service-story-focus,
  .service-story-card ul,
  .service-story-scrollcue {
    display: none;
  }
}

.service-story-chapter {
  position: relative;
  display: block;
  padding-top: clamp(104px, 14svh, 170px);
}

.service-story-card {
  position: sticky;
  top: calc(var(--header-h) + clamp(34px, 8svh, 84px));
}

@media (min-width: 2200px) {
  .service-story-card {
    top: calc(min(460px, max(var(--header-h), calc((100svh - 1100px) / 2))) + 110px);
  }
}

@media (max-width: 820px) and (orientation: portrait) {
  .service-story-chapter {
    display: block;
    padding-top: 42svh;
  }

  .service-story-card {
    position: sticky;
    top: calc(var(--header-h) + 40svh);
  }
}

@media (max-width: 980px) and (max-height: 560px) and (orientation: landscape) {
  :root {
    --story-visual-height: calc(100svh - var(--header-h));
  }

  .service-story-sticky {
    top: var(--header-h);
    height: var(--story-visual-height);
    min-height: 0;
  }

  .service-story-chapters {
    margin-top: calc(-1 * var(--story-visual-height));
  }

  .service-story-chapter {
    display: block;
    min-height: 100svh;
    padding-top: 14px;
  }

  .service-story-card {
    position: sticky;
    top: calc(var(--header-h) + 12px);
  }
}

.service-story.is-visible .service-story-chapter.is-active .service-story-card {
  position: fixed;
  z-index: 12;
  left: max(calc(var(--container-gutter) / 2), calc((100vw - 1280px) / 2));
  top: calc(var(--header-h) + clamp(34px, 8svh, 84px));
}

@media (min-width: 2200px) {
  .service-story.is-visible .service-story-chapter.is-active .service-story-card {
    left: calc((100vw - 1680px) / 2);
    top: calc(min(460px, max(var(--header-h), calc((100svh - 1100px) / 2))) + 110px);
  }
}

@media (max-width: 820px) and (orientation: portrait) {
  .service-story-chapter {
    padding-top: 34svh;
  }

  .service-story-card {
    top: calc(var(--header-h) + 32svh);
  }

  .service-story.is-visible .service-story-chapter.is-active .service-story-card {
    left: 10px;
    right: 10px;
    top: auto;
    bottom: 12px;
    width: auto;
  }
}

@media (max-width: 980px) and (max-height: 560px) and (orientation: landscape) {
  .service-story.is-visible .service-story-chapter.is-active .service-story-card {
    left: 12px;
    right: auto;
    top: calc(var(--header-h) + 12px);
    bottom: auto;
    width: min(46vw, 470px);
  }
}


h1, h2, h3, .h1, .h2, .h3 {
  text-wrap: balance;
  overflow-wrap: normal;
  word-break: normal;
}

.service-grid {
  grid-auto-rows: 1fr;
}
.service-card,
.service-card--wide {
  grid-column: span 4;
  min-height: 330px;
}
.service-card a {
  min-height: 100%;
}
.service-card .h3 {
  margin-top: 36px;
}

.gallery-grid--projects {
  grid-auto-rows: 1fr;
}
.gallery-grid--projects .gallery-item,
.gallery-grid--projects .gallery-trigger {
  height: 100%;
}
.gallery-grid--projects .gallery-trigger {
  display: flex;
  flex-direction: column;
  width: 100%;
}
.gallery-grid--projects .gallery-caption {
  display: flex;
  flex: 1;
  flex-direction: column;
  width: 100%;
}
.gallery-grid--projects .gallery-caption p {
  margin-bottom: 22px;
}
.gallery-grid--projects .gallery-more {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--text-strong);
  font-size: .82rem;
  font-weight: 850;
  letter-spacing: .01em;
}
.gallery-grid--projects .gallery-more::after {
  content: "↗";
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--accent-soft);
  transition: transform .22s var(--ease), background .22s var(--ease), color .22s var(--ease);
}
.gallery-grid--projects .gallery-trigger:hover .gallery-more::after,
.gallery-grid--projects .gallery-trigger:focus-visible .gallery-more::after {
  transform: translate(2px,-2px);
  background: var(--accent);
  color: #fff;
}

.credential-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 22px;
}
.credential-tile {
  display: flex;
  min-width: 0;
  border-radius: var(--radius-md);
}
.credential-trigger {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 0;
}
.credential-tile-media {
  min-height: 0;
  aspect-ratio: .76;
  padding: 18px;
}
.credential-tile-media img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: contain;
}
.credential-tile-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: 24px;
}
.credential-tile-body .h3 {
  margin-top: 14px;
  font-size: clamp(1.08rem,1.55vw,1.45rem);
}
.credential-tile-body p {
  margin-bottom: 18px;
  font-size: .9rem;
}
.credential-tile-body .gallery-more {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  width: 100%;
}

.footer-main {
  grid-template-columns: minmax(270px,1.15fr) minmax(150px,.55fr) minmax(235px,.72fr) minmax(170px,.58fr);
}
.footer-email {
  white-space: nowrap;
  overflow-wrap: normal;
  word-break: normal;
}

.map-intro {
  position: absolute;
  z-index: 4;
  top: 18px;
  right: 18px;
  display: grid;
  gap: 7px;
  width: min(390px, calc(100% - 36px));
  padding: 18px 20px;
  border: 1px solid rgba(255,255,255,.38);
  border-radius: var(--radius-md);
  background: rgba(7,11,19,.88);
  color: #fff;
  box-shadow: 0 16px 42px rgba(0,0,0,.25);
  backdrop-filter: blur(16px);
  pointer-events: none;
}
.map-intro .eyebrow { color: #aeb2ff; }
.map-intro strong { font-size: clamp(.95rem,1.2vw,1.12rem); line-height: 1.35; }

.service-story {
  --story-section-opacity: 1;
  contain: paint;
}
.service-story-sticky {
  opacity: var(--story-section-opacity);
  transition: opacity .16s linear;
}
.service-story-chapter {
  display: block;
  min-height: 100svh;
  padding-top: clamp(104px,14svh,170px);
}
.service-story-card,
.service-story.is-visible .service-story-chapter.is-active .service-story-card {
  position: sticky !important;
  left: auto !important;
  right: auto !important;
  top: calc(var(--header-h) + clamp(34px,8svh,84px)) !important;
  bottom: auto !important;
  width: min(560px,42vw);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.service-story-chapter.is-active .service-story-card,
.service-story.is-visible .service-story-chapter.is-active .service-story-card {
  opacity: var(--story-section-opacity);
  visibility: visible;
  pointer-events: auto;
}
.service-story-chapters {
  padding-bottom: clamp(96px,14svh,190px);
}

@media (max-width: 1100px) {
  .service-card, .service-card--wide { grid-column: span 6; }
  .credential-gallery { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .footer-main { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .footer-email { white-space: normal; overflow-wrap: anywhere; }
}

@media (max-width: 820px) {
  .service-card, .service-card--wide { grid-column: 1/-1; min-height: 280px; }
  .service-story-chapter { min-height: 100svh; padding-top: 38svh; }
  .service-story-card,
  .service-story.is-visible .service-story-chapter.is-active .service-story-card {
    position: sticky !important;
    top: calc(var(--header-h) + 34svh) !important;
    width: 100%;
    max-height: min(56svh,520px);
  }
  .map-intro { top: 12px; right: 12px; width: calc(100% - 24px); padding: 14px 16px; }
}

@media (max-width: 620px) {
  .credential-gallery { grid-template-columns: 1fr; }
  .credential-tile-media { aspect-ratio: .82; }
  .footer-main { grid-template-columns: 1fr; }
  .footer-email { white-space: normal; overflow-wrap: anywhere; }
  .map-tools { bottom: 12px; left: 12px; right: 12px; }
  .map-tools .btn { flex: 1 1 auto; }
}

@media (max-width: 980px) and (max-height: 560px) and (orientation: landscape) {
  .service-story-chapter { padding-top: 14px; }
  .service-story-card,
  .service-story.is-visible .service-story-chapter.is-active .service-story-card {
    top: calc(var(--header-h) + 12px) !important;
    width: min(46vw,470px);
  }
}

:root {
  --success: #38c77a;
}

body[data-page="services"] .page-hero-grid {
  grid-template-columns: minmax(0, .78fr) minmax(520px, 1.22fr);
  gap: clamp(42px, 5vw, 78px);
}

body[data-page="services"] .page-visual--motion {
  width: 100%;
  max-width: 860px;
  justify-self: center;
}

body[data-page="services"] .motion-stage {
  aspect-ratio: 4 / 3;
  min-height: clamp(390px, 36vw, 540px);
  max-height: none;
}

.service-grid {
  align-items: stretch;
  grid-auto-rows: 1fr;
}

.service-card,
.service-card--wide {
  display: flex;
  min-height: 350px;
}

.service-card > a {
  width: 100%;
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

.service-card .h3 {
  margin-top: 34px;
}

.service-card p {
  margin-bottom: 0;
}

.service-card .card-footer {
  margin-top: auto;
  padding-top: 20px;
}

.project-card-body {
  display: flex;
  flex-direction: column;
  min-height: 190px;
}

.project-card-body p {
  margin-bottom: 0;
}

.credential-gallery {
  align-items: stretch;
}

.credential-tile-body {
  min-height: 180px;
}

.credential-tile-body .gallery-more {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  color: var(--text-strong);
  font-weight: 850;
}

.credential-tile-body .gallery-more::after {
  content: "↗";
  color: var(--accent-soft);
}

.credential-viewer .viewer-layout {
  grid-template-columns: minmax(0, 1fr) minmax(120px, 170px);
}

.credential-viewer .viewer-description,
.credential-viewer .viewer-facts,
.credential-viewer .viewer-help {
  display: none;
}

.credential-viewer .viewer-detail {
  display: flex;
  align-items: stretch;
  padding: 14px;
}

.credential-viewer .viewer-thumbs {
  width: 100%;
  grid-template-columns: 1fr;
  align-content: start;
}

@media (max-width: 1180px) {
  body[data-page="services"] .page-hero-grid {
    grid-template-columns: minmax(0, .9fr) minmax(460px, 1.1fr);
  }

  body[data-page="services"] .motion-stage {
    min-height: clamp(350px, 42vw, 500px);
  }
}

@media (max-width: 980px) {
  body[data-page="services"] .page-hero-grid {
    grid-template-columns: 1fr;
  }

  body[data-page="services"] .page-visual--motion {
    max-width: 780px;
  }

  body[data-page="services"] .motion-stage {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .credential-viewer .viewer-layout {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(0, 1fr) auto;
  }

  .credential-viewer .viewer-detail {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 10px 14px;
  }

  .credential-viewer .viewer-thumbs {
    grid-template-columns: repeat(4, minmax(72px, 1fr));
    overflow-x: auto;
  }
}

@media (max-width: 680px) {
  body[data-page="services"] .motion-stage {
    aspect-ratio: 1 / 1;
  }

  .service-card,
  .service-card--wide {
    min-height: 300px;
  }
}

.gallery-grid--projects .gallery-caption p {
  display: block;
  overflow: visible;
  -webkit-line-clamp: unset;
  -webkit-box-orient: initial;
}

.service-grid {
  grid-auto-rows: minmax(350px, 1fr);
}

.service-card .card-footer {
  min-height: 46px;
}

.page-hero-grid > *,
.hero-grid > * {
  min-width: 0;
}

.motion-bar {
  justify-content: flex-start;
}

.service-story-topline {
  justify-content: space-between;
}

.service-story-topline > span:first-child {
  display: inline-flex;
  max-width: min(62vw, 720px);
}

body[data-page="services"] .page-hero-grid {
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: clamp(34px, 4vw, 62px);
}

body[data-page="services"] .page-visual--motion {
  width: min(100%, 700px);
  max-width: 700px;
  min-width: 0;
  justify-self: center;
  overflow: hidden;
}

body[data-page="services"] .motion-stage {
  min-height: 0;
  max-height: none;
  aspect-ratio: 1000 / 620;
}

.service-grid {
  grid-auto-rows: 1fr;
  align-items: stretch;
}

.service-card,
.service-card--wide {
  height: 100%;
  min-height: 350px;
}

.service-card > a {
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  width: 100%;
  height: 100%;
}

.service-card .h3 {
  margin: 34px 0 0;
}

.service-card p {
  align-self: start;
  margin-bottom: 0;
}

.service-card .card-footer {
  align-self: end;
  width: 100%;
  min-height: 48px;
  margin-top: 28px;
}

.association-grid {
  align-items: stretch;
}

.association-card {
  display: flex;
  flex-direction: column;
  min-height: 410px;
}

.association-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 205px;
  height: 205px;
  padding: 28px;
  overflow: hidden;
}

.association-logo img {
  width: auto;
  height: auto;
  max-width: 88%;
  max-height: 138px;
  object-fit: contain;
}

.association-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-height: 0;
  padding: 26px;
  background: var(--surface);
}

.association-body h3 {
  margin: 14px 0 0;
}

.association-body p {
  margin-top: 16px;
  color: var(--muted);
}

.credential-tile-body p {
  display: none;
}

.credential-tile-body {
  min-height: 150px;
}

.map-card:not([data-map-loaded]) {
  background:
    radial-gradient(circle at 72% 28%, var(--accent-wash), transparent 34%),
    var(--image-backdrop);
}

.map-card:not([data-map-loaded]) .map-consent {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .24s var(--ease), visibility .24s var(--ease);
}

.map-card:not([data-map-loaded]):hover .map-consent,
.map-card:not([data-map-loaded]):focus .map-consent,
.map-card:not([data-map-loaded]):focus-within .map-consent {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.map-consent-inner .actions {
  justify-content: center;
}

.site-footer {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--surface);
  opacity: .58;
  transition: opacity .28s var(--ease);
}

.site-footer:hover::before,
.site-footer:focus-within::before {
  opacity: .72;
}

.site-footer > .container {
  position: relative;
  z-index: 2;
}

.service-story-sticky {
  top: var(--header-h);
  height: calc(100svh - var(--header-h));
  min-height: 580px;
}

.service-story-chapters {
  width: min(calc(100% - var(--container-gutter)), 1440px);
  margin-top: calc(-1 * (100svh - var(--header-h)));
}

.service-story-card,
.service-story.is-visible .service-story-chapter.is-active .service-story-card {
  width: min(570px, 42vw);
}

@media (max-width: 1240px) {
  body[data-page="services"] .page-hero-grid {
    grid-template-columns: 1fr;
  }

  body[data-page="services"] .page-visual--motion {
    width: min(100%, 760px);
    max-width: 760px;
  }
}

@media (max-width: 900px) {
  .association-card {
    display: flex;
    min-height: 0;
  }

  .association-logo {
    flex-basis: 180px;
    height: 180px;
  }
}

@media (max-width: 820px) {
  .service-story-topline > span:first-child {
    max-width: 72vw;
    font-size: .6rem;
  }

  body[data-page="services"] .page-visual--motion {
    width: 100%;
  }

  body[data-page="services"] .motion-stage {
    aspect-ratio: 4 / 3;
  }
}

@media (hover: none), (pointer: coarse) {
  .map-card:not([data-map-loaded]) .map-consent {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
}

@media (min-width: 2200px) {
  :root {
    --container: min(82vw, 2900px);
    --container-gutter: clamp(90px, 6vw, 230px);
    --header-h: 104px;
    --size-body: clamp(1.08rem, .52vw, 1.55rem);
    --size-h1: clamp(4rem, 2.8vw, 7rem);
    --size-h2: clamp(3rem, 2.05vw, 5.2rem);
    --size-h3: clamp(1.7rem, 1.08vw, 2.7rem);
    --section-space: clamp(130px, 8vw, 270px);
    --card-padding: clamp(44px, 2.2vw, 78px);
  }

  .brand img {
    max-width: 330px;
    max-height: 82px;
  }

  .site-nav a,
  .header-cta,
  .language-switch,
  .icon-btn {
    font-size: 1.1rem;
  }

  body[data-page="services"] .page-hero-grid {
    grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
    gap: clamp(80px, 5vw, 170px);
  }

  body[data-page="services"] .page-visual--motion {
    width: min(45vw, 1500px);
    max-width: 1500px;
  }

  .service-story-sticky {
    top: var(--header-h);
    height: calc(100svh - var(--header-h));
    min-height: 0;
  }

  .service-story-chapters {
    width: min(86vw, 3200px);
    margin-top: calc(-1 * (100svh - var(--header-h)));
    padding-bottom: 18svh;
  }

  .service-story-chapter {
    min-height: 100svh;
    padding-top: clamp(150px, 12svh, 360px);
  }

  .service-story-card,
  .service-story.is-visible .service-story-chapter.is-active .service-story-card {
    width: min(29vw, 1120px);
    max-height: calc(100svh - var(--header-h) - 10svh);
    padding: clamp(40px, 2.2vw, 82px);
  }

  .service-story-card .h2 {
    font-size: clamp(2.8rem, 1.75vw, 5.4rem);
  }

  .service-story-card > p {
    font-size: clamp(1.15rem, .72vw, 2rem);
  }

  .service-card,
  .service-card--wide {
    min-height: clamp(430px, 21vw, 650px);
  }

  .association-logo {
    flex-basis: clamp(230px, 11vw, 360px);
    height: clamp(230px, 11vw, 360px);
  }

  .association-logo img {
    max-height: clamp(150px, 7vw, 250px);
  }
}

@media (min-width: 3600px) {
  :root {
    --container: min(80vw, 4400px);
    --header-h: 128px;
    --size-body: clamp(1.45rem, .48vw, 2.25rem);
    --size-h1: clamp(5.5rem, 2.45vw, 9rem);
    --size-h2: clamp(4rem, 1.8vw, 6.8rem);
    --size-h3: clamp(2.2rem, .95vw, 3.6rem);
  }

  body[data-page="services"] .page-visual--motion {
    width: min(46vw, 2200px);
    max-width: 2200px;
  }

  .service-story-chapters {
    width: min(84vw, 4400px);
  }

  .service-story-card,
  .service-story.is-visible .service-story-chapter.is-active .service-story-card {
    width: min(27vw, 1500px);
  }
}

.page-visual--motion > .motion-bar,
.page-visual--motion > .motion-stage,
.page-visual--motion > .motion-info,
.page-visual--motion > .motion-timeline,
.page-visual--motion > .motion-progress {
  width: 100%;
}

body[data-page="services"] .page-hero .h1 {
  max-width: 15ch;
  font-size: clamp(2.8rem, 4vw, 4.55rem);
  overflow-wrap: break-word;
  hyphens: auto;
}

@media (max-width: 680px) {
  body[data-page="services"] .page-hero .h1 {
    max-width: 100%;
    font-size: clamp(2.45rem, 11.5vw, 3.7rem);
  }
}

@media (max-width: 820px) and (orientation: portrait) {
  .service-story-card,
  .service-story.is-visible .service-story-chapter.is-active .service-story-card {
    width: calc(100vw - 28px) !important;
    max-width: calc(100vw - 28px);
    max-height: 54svh;
    margin-inline: auto;
    padding: 20px 18px;
    overflow-y: auto;
  }

  .service-story-card .h2 {
    max-width: 100%;
    font-size: clamp(1.45rem, 7vw, 2.2rem);
  }

  .service-story-card > p {
    font-size: .93rem;
    line-height: 1.48;
  }
}

.map-card:not([data-map-consent-state="declined"]) .map-consent {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.map-card[data-map-consent-state="declined"]:hover .map-consent,
.map-card[data-map-consent-state="declined"]:focus .map-consent,
.map-card[data-map-consent-state="declined"]:focus-within .map-consent {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

@media (hover: none), (pointer: coarse) {
  .map-card[data-map-consent-state="declined"] .map-consent {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }
}


.site-nav > ul > li { position: relative; }
.services-nav-item > a { position: relative; z-index: 2; }
.services-dropdown {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  z-index: 95;
  display: grid;
  width: min(390px, calc(100vw - 36px));
  padding: 10px;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  background: color-mix(in srgb, var(--bg-elevated) 96%, transparent);
  box-shadow: 0 24px 64px rgba(0,0,0,.28);
  backdrop-filter: blur(20px) saturate(1.15);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, 8px);
  transition: opacity .18s var(--ease) .32s, transform .18s var(--ease) .32s, visibility 0s linear .5s;
}
.services-dropdown::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -18px;
  height: 20px;
}
.services-nav-item:hover .services-dropdown,
.services-nav-item:focus-within .services-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
  transition-delay: .06s, .06s, 0s;
}
.services-dropdown a {
  display: grid;
  grid-template-columns: 34px minmax(0,1fr);
  gap: 10px;
  align-items: center;
  min-height: 48px;
  padding: 9px 11px;
  border: 0;
  border-radius: 12px;
  color: var(--muted-strong);
  font-size: .88rem;
  line-height: 1.22;
  transition: background .18s var(--ease), color .18s var(--ease), transform .18s var(--ease);
}
.services-dropdown a:hover,
.services-dropdown a:focus-visible {
  background: var(--surface-2);
  color: var(--text-strong);
  transform: translateX(3px);
}
.services-dropdown a span {
  color: var(--accent-soft);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .12em;
}
.services-dropdown a strong { font-weight: 700; }

.mobile-services-head { display: grid; grid-template-columns: minmax(0,1fr) 50px; align-items: stretch; border-bottom: 1px solid var(--line); }
.mobile-services-head > a { border-bottom: 0 !important; }
.mobile-services-toggle {
  border: 0;
  border-left: 1px solid var(--line);
  background: transparent;
  color: var(--text-strong);
  font-size: 1.5rem;
  cursor: pointer;
}
.mobile-services-toggle[aria-expanded="true"] { color: var(--accent-soft); }
.mobile-services-submenu {
  display: grid !important;
  gap: 0 !important;
  padding: 4px 0 14px 18px !important;
}
.mobile-services-submenu[hidden] { display: none !important; }
.mobile-services-submenu a {
  padding: 11px 0 !important;
  border-bottom: 0 !important;
  color: var(--muted-strong) !important;
  font-size: 1rem !important;
  font-weight: 600 !important;
}

.motion-controls { grid-template-columns: 1fr; }
.motion-stage-meta { display: none !important; }

.site-footer::before { display: none !important; }
.site-footer { background: var(--surface); }

@media (max-width: 820px) {
  :root {
    --size-display: clamp(46px, 13vw, 68px);
    --size-h1: clamp(42px, 11.5vw, 62px);
    --size-h2: clamp(34px, 9vw, 52px);
    --size-h3: clamp(25px, 6.5vw, 36px);
    --size-body: 16px;
    --section-space: 76px;
    --section-space-tight: 52px;
    --container-gutter: 36px;
    --card-padding: 24px;
    --radius-lg: 24px;
  }
  .display, .h1, .h2, .h3 { overflow-wrap: normal; word-break: normal; }
}

@media (min-width: 2000px) {
  :root {
    --container: 2400px;
    --container-gutter: 120px;
    --size-body: 22px;
    --size-display: 100px;
    --size-h1: 96px;
    --size-h2: 76px;
    --size-h3: 48px;
    --section-space: 140px;
    --section-space-tight: 92px;
    --story-visual-height: min(calc(100svh - var(--header-h)), 1200px);
  }

  .container,
  .site-header .container {
    width: min(calc(100% - 120px), 2400px);
    max-width: 2400px;
  }

  .hero {
    min-height: 920px;
  }

  .hero-grid,
  .page-hero-grid {
    gap: 120px;
  }

  .site-nav a {
    font-size: 1rem;
  }

  .service-story-sticky {
    width: min(calc(100% - 120px), 2400px);
    height: var(--story-visual-height);
    min-height: 0;
    margin-inline: auto;
  }

  .service-story-chapters {
    width: min(calc(100% - 120px), 2400px);
    margin-top: calc(-1 * var(--story-visual-height));
    padding-bottom: 200px;
  }

  .service-story-chapter {
    min-height: 760px;
    padding-top: 110px;
  }

  .service-story-card,
  .service-story.is-visible .service-story-chapter.is-active .service-story-card {
    width: 900px;
    max-width: 900px;
    max-height: 1000px;
    padding: 54px;
  }

  .service-story-card .h2 {
    font-size: 64px;
  }

  .service-story-card > p {
    font-size: 24px;
  }

  .service-story-card li {
    font-size: 21px;
  }

  .service-story.is-visible .service-story-chapter.is-active .service-story-card {
    left: max(60px, calc((100vw - 2400px) / 2));
    top: calc(var(--header-h) + 72px);
  }

  .service-story-topline {
    left: max(60px, calc((100% - 2400px) / 2));
    right: max(60px, calc((100% - 2400px) / 2));
  }

  .service-story-rail {
    right: max(60px, calc((100% - 2400px) / 2));
  }

  .page-visual--motion {
    width: min(100%, 1120px);
  }

  .motion-stage {
    min-height: 560px;
    max-height: 620px;
  }
}

@media (min-width: 2000px) {
  .home-story .service-story-card,
  .home-story.service-story.is-visible .service-story-chapter.is-active .service-story-card {
    width: 900px;
    max-width: 900px;
  }
}


.services-dropdown {
  width: min(440px, calc(100vw - 36px));
}
.services-dropdown a {
  min-width: 0;
  white-space: normal;
}
.services-dropdown a strong {
  min-width: 0;
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: auto;
}

.section--beam-cta .cta {
  background:
    radial-gradient(circle at 88% 12%, var(--accent-wash), transparent 32%),
    color-mix(in srgb, var(--surface) 70%, transparent);
}

body[data-page="error"] {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
body[data-page="error"] .site-header {
  flex: 0 0 auto;
}
.error-page {
  flex: 1 0 auto;
  display: grid;
  align-items: center;
  min-height: calc(100svh - var(--header-h));
  padding-block: clamp(72px, 10vw, 150px);
}
.error-shell {
  width: min(var(--container), calc(100% - var(--container-gutter)));
  margin-inline: auto;
}
.error-panel {
  width: min(760px, 100%);
  padding: clamp(34px, 6vw, 76px);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 88% 12%, var(--accent-wash), transparent 34%),
    color-mix(in srgb, var(--surface) 88%, transparent);
}
.error-code {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--accent-soft);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.error-panel h1 {
  max-width: 15ch;
  margin: 0;
  color: var(--text-strong);
  font-family: var(--font-heading);
  font-size: clamp(2.6rem, 6vw, 5.2rem);
  font-weight: var(--font-weight-h1);
  line-height: 1.02;
  letter-spacing: var(--heading-letter-spacing);
}
.error-panel p {
  max-width: 54ch;
  margin: 22px 0 0;
  color: var(--muted-strong);
  font-size: clamp(1rem, 1.4vw, 1.2rem);
}
.error-panel .actions {
  margin-top: 30px;
}
@media (max-width: 680px) {
  .error-page {
    padding-block: 54px 72px;
  }
  .error-panel {
    padding: 30px 24px;
  }
  .error-panel h1 {
    font-size: clamp(2.3rem, 12vw, 3.7rem);
  }
}


:root {
  --blueprint-fine: rgba(116, 137, 176, .024);
  --blueprint-major: rgba(120, 145, 190, .045);
  --blueprint-node: rgba(115, 130, 255, .055);
  --blueprint-pattern:
    radial-gradient(circle at 0 0, var(--blueprint-node) 0 1px, transparent 1.25px),
    linear-gradient(90deg, var(--blueprint-major) 1px, transparent 1px),
    linear-gradient(0deg, var(--blueprint-major) 1px, transparent 1px),
    linear-gradient(90deg, var(--blueprint-fine) 1px, transparent 1px),
    linear-gradient(0deg, var(--blueprint-fine) 1px, transparent 1px);
  --blueprint-size: 160px 160px, 160px 160px, 160px 160px, 32px 32px, 32px 32px;
}

:root[data-theme="light"] {
  --blueprint-fine: rgba(30, 63, 108, .034);
  --blueprint-major: rgba(30, 63, 108, .058);
  --blueprint-node: rgba(43, 64, 205, .07);
}

body {
  background-color: var(--bg);
  background-image: var(--blueprint-pattern);
  background-size: var(--blueprint-size);
  background-position: center top;
  background-attachment: scroll;
}

.hero,
.page-hero,
.section,
.service-story,
.error-page {
  background-image: var(--blueprint-pattern);
  background-size: var(--blueprint-size);
  background-position: center top;
  background-color: var(--bg);
}

.section--surface,
.trust-strip,
.site-footer {
  background-image: var(--blueprint-pattern);
  background-size: var(--blueprint-size);
  background-position: center top;
  background-color: var(--surface);
  background-blend-mode: normal;
}

.section--soft {
  background-image: var(--blueprint-pattern);
  background-size: var(--blueprint-size);
  background-position: center top;
  background-color: var(--surface-2);
  background-blend-mode: normal;
}

.section--accent {
  background-image:
    radial-gradient(circle at 84% 18%, var(--accent-wash), transparent 34%),
    var(--blueprint-pattern);
  background-size: auto, var(--blueprint-size);
  background-position: center, center top;
  background-color: var(--surface);
}


.hero::before,
.page-hero::after {
  opacity: .5;
}

@media (max-width: 820px) {
  :root {
    --blueprint-fine: rgba(116, 137, 176, .018);
    --blueprint-major: rgba(120, 145, 190, .034);
    --blueprint-node: rgba(115, 130, 255, .042);
  }

  :root[data-theme="light"] {
    --blueprint-fine: rgba(30, 63, 108, .025);
    --blueprint-major: rgba(30, 63, 108, .044);
    --blueprint-node: rgba(43, 64, 205, .052);
  }
}

@media (prefers-reduced-motion: reduce) {
  body {
    background-attachment: scroll;
  }
}
