@font-face {
  font-family: Manrope;
  src: url('../assets/manrope-latin.woff2') format('woff2');
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: Manrope;
  src: url('../assets/manrope-cyrillic.woff2') format('woff2');
  font-weight: 200 800;
  font-display: swap;
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}

:root {
  --ink: #112c33;
  --quiet: #4a5d62;
  --paper: #f8f8f5;
  --white: #fff;
  --line: #d1d9d8;
  --red: #c9103a;
  --red-hover: #a70d32;
  --frame: clamp(22px, 4.7vw, 88px);
  --header-scroll-padding: 98px;
  --ease: cubic-bezier(.2,.75,.2,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-scroll-padding); }
body { margin: 0; background: var(--paper); color: var(--ink); font: 500 18px/1.55 Manrope, Arial, sans-serif; }
.frame { width: calc(100% - 2 * var(--frame)); max-width: 1540px; margin-inline: auto; }
h1, h2, h3, p, figure { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; }
[hidden] { display: none !important; }
::selection { color: white; background: var(--red); }
:focus-visible { outline: 3px solid var(--red); outline-offset: 5px; }
.skip { position: fixed; top: 12px; left: 12px; z-index: 20; transform: translateY(-180%); color: white; background: var(--ink); padding: 12px; }
.skip:focus { transform: none; }

.header { position: sticky; inset-block-start: 0; z-index: 10; background: var(--paper); border-bottom: 1px solid var(--line); }
.header-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content minmax(0, 1fr);
  align-items: center;
  gap: clamp(12px, 1.8vw, 24px);
  min-height: 76px;
}
.header-left, .header-right { display: flex; align-items: center; gap: clamp(10px, 1.25vw, 22px); min-width: 0; }
.header-right { justify-content: flex-end; }
.brand { flex: none; }
.brand img { width: clamp(126px, 11vw, 182px); height: auto; }
.header-nav { display: flex; align-items: center; gap: clamp(12px, 1.4vw, 25px); }
.header-nav a, .header-email { font-size: 14px; font-weight: 750; white-space: nowrap; }
.header-nav a:hover, .header-email:hover, .header-contact-panel a:hover, .text-link:hover, .footer a:hover { text-decoration: underline; text-underline-offset: 5px; }
.header .header-quote { justify-content: center; min-height: 53px; min-width: 166px; padding: 10px 24px; font-size: 16px; }
.header-actions { position: relative; display: flex; align-items: center; gap: 6px; justify-self: end; }
.header-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  background: var(--white);
  cursor: pointer;
  list-style: none;
}
.header-icon::-webkit-details-marker { display: none; }
.header-icon:hover, .header-contact[open] .header-icon { border-color: var(--ink); }
.header-icon svg { width: 21px; height: 21px; }
.header-icon img { flex: none; }
.header-max-control { gap: 7px; padding-inline: 8px; text-align: left; }
.header-max-label { max-width: 120px; font-size: 11px; font-weight: 800; line-height: 1.25; }
.header-mobile-phone, .header-max-mobile-label, .mobile-quote-dock { display: none; }
.header-contact-panel {
  position: absolute;
  inset: calc(100% + 10px) 0 auto auto;
  display: grid;
  gap: 7px;
  width: min(292px, calc(100vw - 24px));
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--white);
  box-shadow: 0 10px 36px #112c3326;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 750;
}
.header-phone .header-contact-panel { width: max-content; }
.header-contact-note { color: var(--quiet); font-weight: 500; }
.header-contact-number { justify-self: start; font-size: 19px; font-weight: 800; white-space: nowrap; }

.hero-shell { overflow: hidden; background: #0c242b; color: #f4f8f6; }
.hero { display: grid; grid-template-columns: minmax(0, .91fr) minmax(0, 1.09fr); align-items: stretch; min-height: clamp(530px, 47vw, 700px); padding-block: 32px; }
.hero-content { align-self: center; padding: 42px clamp(18px, 3vw, 52px) 42px 0; }
h1, h2 { font-weight: 750; letter-spacing: -.04em; line-height: 1.05; }
.hero h1 { font-size: clamp(39px, 4.4vw, 74px); }
.hero-hook { max-width: 455px; margin-top: 19px; font-size: clamp(19px, 1.9vw, 27px); font-weight: 700; line-height: 1.28; }
.hero-hook strong { color: #ffd094; font-weight: 800; white-space: nowrap; }
.hero-copy { max-width: 455px; margin-top: 14px; font-size: clamp(17px, 1.55vw, 22px); line-height: 1.42; color: #e4eeec; }
.hero-developers { color: #d7e5e5; margin-block: 15px 22px; max-width: 455px; font-size: 14px; line-height: 1.38; }
.developer-rail { margin-top: 7px; }
.developer-logos, .developer-logos-copy { display: grid; grid-template-columns: repeat(auto-fit, minmax(122px, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
.developer-logos-copy { display: none; }
.developer-ticker li { display: grid; place-items: center; height: 80px; padding: 7px 12px; border-radius: 5px; background: white; }
.developer-ticker img { width: 152px; height: 48px; object-fit: contain; }
.developer-ticker .developer-logo-etalon { width: 152px; height: 61px; }

@media (prefers-reduced-motion: no-preference) {
  .developer-rail[data-animated] { overflow: hidden; }
  .developer-rail[data-animated] .developer-ticker { display: flex; width: max-content; animation: developer-ticker 33s linear infinite; }
  .developer-rail[data-animated] :is(.developer-logos, .developer-logos-copy) { display: flex; flex-wrap: nowrap; padding-inline-end: 8px; }
  .developer-rail[data-animated] li { width: clamp(150px, 42vw, 176px); }
}
@keyframes developer-ticker { to { transform: translateX(-50%); } }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; }
.hero-proof { min-height: 44px; }
.hero-shell :focus-visible { outline-color: white; }
.action { display: inline-flex; align-items: center; justify-content: space-between; gap: 23px; min-height: 58px; padding: 13px 21px; font-weight: 800; font-size: 17px; border: 0; border-radius: 4px; transition: background-color .18s ease; }
.primary { background: var(--red); color: white; }
.primary:hover { background: var(--red-hover); }
.action:disabled { color: #496066; background: #dce5e4; }
.arrow { display: inline-block; width: 18px; height: 14px; position: relative; flex: 0 0 18px; }
.arrow::before { content: ''; position: absolute; left: 0; right: 0; top: 6px; height: 2px; background: currentColor; }
.arrow::after { content: ''; position: absolute; right: 0; top: 2px; width: 10px; height: 10px; border-top: 2px solid; border-right: 2px solid; transform: rotate(45deg); }
.arrow.back { transform: rotate(180deg); }
.arrow.diagonal { transform: rotate(-45deg) scale(.76); }
.hero-image { position: relative; isolation: isolate; min-height: 100%; overflow: hidden; border-radius: 12px; background: #18343e; }
.hero-image > a { display: block; height: 100%; }
.hero-image > a:focus-visible { outline-offset: -6px; z-index: 2; }
.hero-image img, .hero-image video { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; object-position: 49% center; }
.hero-image video { opacity: 0; pointer-events: none; }
.hero-image.has-video video { opacity: 1; transition: opacity .38s var(--ease); }
.hero-caption { position: absolute; z-index: 1; inset: auto 0 0; display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; color: white; padding: 44px clamp(17px, 2.75vw, 42px) 22px; background: linear-gradient(transparent,#0d2535db 57%,#0d2535f2); }
.hero-case-title { display: grid; gap: 3px; font-size: clamp(22px, 2.7vw, 38px); font-weight: 750; line-height: 1.14; }
.hero-case-link-label { display: inline-flex; align-items: center; gap: 7px; font-size: 15px; line-height: 1.5; }
.hero-case-title:hover .hero-case-link-label { text-decoration: underline; text-underline-offset: 4px; }
.hero-pages { display: flex; gap: 8px; }
.hero-pages button { width: 47px; height: 47px; display: grid; place-items: center; border: 1px solid #e4eef08c; background: #0d2535a8; color: white; border-radius: 3px; }
.hero-pages button:hover { background: white; color: var(--ink); }
.hero-image.is-changing img { animation: reveal .45s var(--ease) both; }
@keyframes reveal { from { opacity: .72; transform: scale(1.018); } to { opacity: 1; transform: scale(1); } }

.measurements { background: #eef2ef; border-block: 1px solid #e1e8e4; }
.section-frame { padding-block: clamp(60px, 8vw, 114px); }
.section-heading { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: end; margin-bottom: 36px; }
h2 { font-size: clamp(36px, 5.1vw, 72px); }
.section-heading p { max-width: 480px; color: var(--quiet); }
.scope-atlas {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(20px, 3.1vw, 48px);
  margin-bottom: clamp(34px, 5.5vw, 70px);
}
.scope-drawing { align-self: start; overflow: hidden; border-radius: 12px; background: #102932; color: white; }
.atlas-art { position: relative; aspect-ratio: 16 / 10; isolation: isolate; }
.atlas-art img { width: 100%; height: 100%; object-fit: contain; }
.atlas-model {
  position: absolute; inset: 0; overflow: hidden; visibility: hidden; pointer-events: none;
  background: radial-gradient(ellipse at 58% 16%, #234452 0%, #142e39 59%, #0d222b 100%);
}
[data-renderer='3d'] .atlas-model { visibility: visible; pointer-events: auto; }
[data-renderer='3d'] .atlas-art img { visibility: hidden; }
.atlas-art video { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.atlas-art video { object-fit: contain; opacity: 0; transition: opacity .35s var(--ease); }
.atlas-art.has-video video { opacity: 1; }
.atlas-annotation {
  position: absolute; z-index: 1; top: 17px; left: 16px; padding: 6px 10px; border-radius: 4px;
  background: #0e252edd; color: #fff3f8; font-size: 14px; font-weight: 750; pointer-events: none;
}
.atlas-annotation::before { content: ''; display: inline-block; margin-right: 7px; width: 7px; height: 7px; border-radius: 50%; background: #ff7da7; }
.atlas-pins { position: absolute; inset: 0; pointer-events: none; }
.atlas-pin {
  position: absolute; left: var(--x); top: var(--y); translate: -50% -50%;
  display: grid; place-items: center; width: 42px; height: 42px; padding: 0;
  pointer-events: auto; border: 0; border-radius: 50%; background: transparent; color: white;
}
.atlas-pin > span {
  width: 16px; height: 16px; border: 2px solid currentColor; border-radius: 50%;
  background: #102932; box-shadow: 0 2px 10px #0616199c;
  transition: scale .2s var(--ease), background .2s var(--ease);
}
.atlas-pin:hover > span, .atlas-pin[aria-pressed='true'] > span { scale: 1.25; background: var(--red); }
.atlas-pin[aria-pressed='true'] { z-index: 1; }
.atlas-pin:focus-visible { z-index: 2; outline-color: white; outline-offset: -1px; }
.atlas-pin[data-scene-zone='buildings'] { --x: 27.7%; --y: 34.4%; }
.atlas-pin[data-scene-zone='pit'] { --x: 47.2%; --y: 66.3%; }
.atlas-pin[data-scene-zone='networks'] { --x: 20.2%; --y: 66.9%; }
.atlas-pin[data-scene-zone='new-buildings'] { --x: 75%; --y: 33%; }
.atlas-pin[data-scene-zone='foundation'] { --x: 58.5%; --y: 86.8%; }
.atlas-pin[data-scene-zone='water'] { --x: 70.5%; --y: 82.9%; }
.atlas-model-actions {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 12px;
  padding: 4px 13px 4px 16px; border-top: 1px solid #3d565d;
  background: #102932; color: #dbe8e9; font-size: 14px; line-height: 1.35;
}
.atlas-model-actions p { flex: 1 1 180px; padding-block: 4px; }
.atlas-view-buttons { display: flex; flex-wrap: wrap; gap: 4px 8px; }
.atlas-model-actions button {
  min-height: 44px; padding: 5px 10px;
  border: 1px solid transparent; border-radius: 4px; background: none; color: white; font-size: 14px; font-weight: 750;
}
.atlas-model-actions #atlas-focus-view { border-color: #708890; }
.atlas-model-actions #atlas-focus-view[aria-pressed='true'] { background: #f9f9f2; border-color: #f9f9f2; color: var(--ink); }
.atlas-model-actions button:hover { text-decoration: underline; text-underline-offset: 3px; }
.atlas-model-actions button:focus-visible { outline-color: white; }
.atlas-controls {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px; padding-top: 1px; background: #3d565d;
}
.atlas-control {
  min-height: 58px; padding: 9px 8px; border: 0; background: #102932; color: #e7eeed;
  font-size: clamp(14px, 1.25vw, 17px); font-weight: 750; line-height: 1.28;
}
.atlas-control:hover { background: #21404a; }
.atlas-control[aria-pressed='true'] { background: #f9f9f2; color: var(--ink); box-shadow: inset 0 -3px var(--red); }
.atlas-control:focus-visible { position: relative; z-index: 2; outline-offset: -4px; }
.atlas-reading {
  display: flex; flex-direction: column; align-items: flex-start; justify-content: center;
  padding: clamp(20px, 3.2vw, 47px);
  border: 1px solid #cbd5d0; border-radius: 12px; background: #fbfcf9;
}
.atlas-reading h3 { font-size: clamp(25px, 2.5vw, 39px); font-weight: 750; letter-spacing: -.025em; line-height: 1.14; overflow-wrap: anywhere; }
.atlas-reading ul { margin: 16px 0 0; padding-left: 21px; }
.atlas-reading li + li { margin-top: 8px; }
.atlas-reading li::marker { color: var(--red-hover); }
.atlas-outline { width: 100%; margin-top: 10px; }
.atlas-outline .select-work { width: 100%; max-width: 310px; justify-content: center; }
.atlas-reading .text-link { display: flex; min-height: 44px; align-items: center; margin-top: 5px; }

.measurement-layout { display: grid; grid-template-columns: minmax(0, 1.32fr) minmax(0, 1fr); align-items: start; gap: clamp(26px, 5vw, 80px); }
.measurement-list { border-top: 1px solid #aebdb8; }
summary { cursor: pointer; }
.measurement-list details { border-bottom: 1px solid #aebdb8; scroll-margin-top: 24px; }
.measurement-list summary { display: flex; list-style: none; align-items: center; justify-content: space-between; min-height: 65px; gap: 20px; padding-block: 14px; font-size: clamp(18px, 2.1vw, 29px); font-weight: 750; letter-spacing: -.028em; }
summary::-webkit-details-marker { display: none; }
.measurement-list summary::after { content: ''; width: 11px; height: 11px; flex: 0 0 11px; border-right: 2px solid; border-bottom: 2px solid; transform: rotate(45deg); margin: 0 6px 5px 0; }
.measurement-list details[open] summary::after { transform: rotate(225deg); margin-bottom: 0; }
.measurement-list details:target summary { color: var(--red-hover); }
.measurement-detail { padding-bottom: 23px; }
.measurement-detail ul { margin: 0; padding-left: 22px; }
.measurement-detail li + li { margin-top: 7px; }
.measurement-detail li::marker { color: var(--red); }
.select-work {
  display: inline-flex; align-items: center; gap: 11px; margin-top: 17px; padding: 10px 19px; min-height: 56px;
  border: 2px solid var(--red); border-radius: 6px; background: #fff; color: var(--red-hover); font-weight: 800;
  transition: background .18s var(--ease), color .18s var(--ease);
}
.select-work:hover { background: #fbe8eb; }
.select-work[aria-pressed='true'] { background: #fbe8eb; color: var(--red-hover); border-color: var(--red-hover); }
.plus { position: relative; flex: 0 0 15px; width: 15px; height: 15px; }
.plus::before, .plus::after { content: ''; position: absolute; background: currentColor; }
.plus::before { top: 7px; left: 0; width: 15px; height: 2px; }
.plus::after { top: 0; left: 7px; width: 2px; height: 15px; }
.select-work[aria-pressed='true'] .plus::after { display: none; }
.brief { padding: clamp(27px, 4vw, 58px); color: white; background: #0e2a34; border-radius: 12px; }
.brief h3 { font-size: clamp(31px, 3.8vw, 54px); line-height: 1.1; letter-spacing: -.035em; }
.brief p { margin-top: 17px; color: #dbe8e7; max-width: 33ch; }
.brief ul { list-style: none; padding: 0; margin: 15px 0 0; }
.brief ul:empty { margin: 0; }
.brief li { border-bottom: 1px solid #5a6e72; padding-block: 8px; }
.brief .action { margin-top: 25px; width: 100%; min-height: 64px; font-size: 19px; }
.brief :focus-visible, .request :focus-visible, .hero-caption :focus-visible { outline-color: white; }

.case-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: clamp(26px, 3.5vw, 48px); }
.case-switcher { display: flex; flex-wrap: wrap; gap: 8px; }
.case-switcher button {
  min-height: 48px; padding: 9px 16px; border: 1px solid #aebbb8; border-radius: 4px;
  color: var(--ink); background: #fff; font-weight: 750; font-size: 16px;
}
.case-switcher button:hover { background: #e6eeea; }
.case-switcher button[aria-pressed='true'] { border-color: var(--ink); background: var(--ink); color: white; }
.case-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  gap: clamp(26px, 5vw, 77px);
  padding-block: clamp(27px, 4.2vw, 58px);
  border-top: 1px solid var(--line);
}
.case-visual h3 {
  font-size: clamp(32px, 4.25vw, 60px);
  font-weight: 750;
  line-height: 1.09;
  letter-spacing: -.035em;
}
.case-summary { margin-block: 10px 17px; color: var(--quiet); }
.case-link { display: block; }
.case-link img {
  width: 100%;
  height: auto;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  object-position: center;
  background: #e1eae9;
}
.case-link .text-link { min-height: 46px; align-items: center; }
.case-link:hover .text-link { text-decoration: underline; text-underline-offset: 5px; }
.case-readings h4 { margin: 0 0 15px; font-size: clamp(23px, 2.2vw, 34px); font-weight: 750; letter-spacing: -.025em; line-height: 1.17; }
.case-measures { margin: 0; padding-left: 22px; line-height: 1.48; }
.case-measures li { padding-left: 3px; }
.case-measures li + li { margin-top: 9px; }
.case-measures li::marker { color: var(--red-hover); }
.measurement-pulse {
  --pulse-color: #ff8cac; --pulse-x: 44.214%;
  margin-top: 24px; padding: clamp(16px, 2.1vw, 28px); border-radius: 10px;
  background: #102a34; color: #f3f6f2;
}
.pulse-header h5 { margin: 0; font-size: clamp(20px, 1.75vw, 27px); font-weight: 750; line-height: 1.2; }
.pulse-header p { margin-top: 4px; color: #b9cccf; font-size: 14px; }
.pulse-readout {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px;
  min-height: 72px; margin: 9px 0 4px;
}
.pulse-metric { font-size: clamp(15px, 1.3vw, 18px); font-weight: 700; line-height: 1.22; }
.pulse-metric small { display: block; margin-top: 3px; color: #b9cccf; font-size: 13px; font-weight: 400; }
.pulse-reading { color: var(--pulse-color); font-size: 15px; white-space: nowrap; }
.pulse-reading strong { font-size: clamp(30px, 3.3vw, 44px); font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; }
.pulse-wave {
  overflow: hidden; border: 1px solid #3b555e; border-radius: 4px;
  color: var(--pulse-color); background: #0c222b;
}
.pulse-plot {
  position: relative; height: clamp(74px, 6.5vw, 95px); border-bottom: 1px solid #3b555e;
  background-image: linear-gradient(#26404a 1px, transparent 1px), linear-gradient(90deg, #26404a 1px, transparent 1px);
  background-position: -1px -1px; background-size: 22px 22px;
}
.pulse-plot svg { position: relative; display: block; width: 100%; height: 100%; }
.pulse-plot::before { content: ''; position: absolute; inset: 0 auto 0 var(--pulse-x); border-left: 1px dashed #66818a; }
.pulse-plot::after {
  content: ''; position: absolute; bottom: 0; left: var(--pulse-x); translate: -50% 0;
  width: 8px; height: 6px; background: currentColor; clip-path: polygon(50% 0, 100% 100%, 0 100%);
}
.pulse-marker {
  position: absolute; top: var(--pulse-crest-y, 23%); left: var(--pulse-x); translate: -50% -50%;
  width: 24px; height: 24px; border: 1px solid currentColor; border-radius: 50%;
  opacity: var(--pulse-burst-opacity, 0); scale: var(--pulse-burst-scale, 0.66);
  box-shadow: 0 0 9px color-mix(in srgb, currentColor 38%, transparent);
  pointer-events: none;
}
.pulse-marker::before, .pulse-marker::after {
  content: ''; position: absolute; top: 50%; left: 50%; translate: -50% -50%;
  background: currentColor;
}
.pulse-marker::before { width: 64%; height: 1px; }
.pulse-marker::after { width: 1px; height: 64%; }
.pulse-ruler { position: relative; display: flex; justify-content: space-between; height: 30px; margin-inline: 5%; }
.pulse-ruler::before {
  content: ''; position: absolute; inset: 0 0 auto; height: 4px;
  background: linear-gradient(90deg, #66818a 1px, transparent 1px) 0 0 / calc(100% / 14) 100% repeat-x;
}
.pulse-ruler-tick { position: relative; width: 0; }
.pulse-ruler-tick::before {
  content: ''; position: absolute; top: 0; width: 1px; height: 7px; background: #91a6ab;
}
.pulse-ruler-tick span {
  position: absolute; top: 9px; left: 0; translate: -50% 0;
  color: #cbdbdd; font-size: 12px; line-height: 1; font-variant-numeric: tabular-nums;
}
@media (min-width: 1230px) {
  .case-measures { columns: 2; column-gap: 35px; font-size: 17px; }
  .case-measures li { break-inside: avoid; margin-bottom: 8px; }
  .case-measures li + li { margin-top: 0; }
}

.request { background: #132029; color: white; }
.request-frame {
  --request-brand-mark: clamp(50px, 3.2vw, 62px);
  --request-brand-wordmark: clamp(164px, 9.6vw, 186px);
  --request-brand-gap: 14px;
  display: grid;
  grid-template-areas: "brand form" "intro form";
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  grid-template-rows: auto 1fr;
  gap: clamp(16px, 1.75vw, 26px) clamp(28px, 9vw, 94px);
  padding-block: clamp(61px, 8vw, 110px);
  align-items: start;
}
.request-intro { grid-area: intro; container-type: inline-size; }
.request-intro h2 { font-size: clamp(34px, min(5.1vw, 14cqi), 72px); }
.request-intro p { margin-block: 21px 25px; max-width: 410px; color: #dfebec; }
.request-intro a { display: block; width: fit-content; font-size: clamp(20px, 2.1vw, 29px); font-weight: 700; }
.request-intro a + a { margin-top: 10px; }
.request-intro a:hover { text-decoration: underline; text-underline-offset: 5px; }
.request-action { grid-area: form; background: white; color: var(--ink); padding: clamp(21px, 3.5vw, 45px); border-radius: 5px; }
.request-action :focus-visible { outline-color: var(--red); }
.request-brand {
  grid-area: brand;
  justify-self: start;
  display: grid;
  grid-template-columns: var(--request-brand-mark) minmax(0, var(--request-brand-wordmark));
  column-gap: var(--request-brand-gap);
  align-items: center;
  max-width: 100%;
  translate: clamp(-36px, -2vw, -10px) clamp(-40px, -2.4vw, -26px);
}
.request-brand-lettering { display: grid; gap: 4px; }
.request-brand-caption {
  padding-inline-start: 1px;
  color: #e3edef;
  font-size: clamp(11px, .7vw, 13px);
  font-weight: 650;
  line-height: 1.25;
}
.request-brand-crop {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: var(--crop-width) / var(--crop-height);
}
.request-brand-crop img {
  position: absolute;
  inset-inline-start: calc(-100% * var(--crop-left) / var(--crop-width));
  inset-block-start: calc(-100% * var(--crop-top) / var(--crop-height));
  width: calc(100% * 1654 / var(--crop-width));
  max-width: none;
  height: auto;
}
/* Pixel coordinates in the supplied 1654 × 1654 brand artwork. */
.request-brand-mark { --crop-left: 640; --crop-top: 490; --crop-width: 375; --crop-height: 376; }
.request-brand-wordmark { --crop-left: 288; --crop-top: 912; --crop-width: 1078; --crop-height: 193; }
.request-reply { margin-bottom: 19px; font-size: clamp(19px, 2vw, 24px); font-weight: 800; line-height: 1.25; }
form { display: grid; gap: 18px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fields > label { grid-template-rows: 1fr auto; }
form label { display: grid; gap: 8px; font-size: 16px; font-weight: 750; min-width: 0; }
.field-hint { color: var(--quiet); font-size: .875em; font-weight: 500; }
form input:not([type='checkbox']), form textarea { display: block; width: 100%; border: 1px solid #9aadaf; color: var(--ink); background: var(--paper); padding: 10px 12px; min-height: 49px; font-weight: 500; }
form textarea { resize: vertical; min-height: 90px; }
form textarea::placeholder { color: var(--quiet); }
.company-website { position: absolute; clip-path: inset(50%); overflow: hidden; width: 1px; height: 1px; }
.consent { grid-template-columns: 20px 1fr; align-items: start; font-size: 15px; font-weight: 500; }
.consent input { margin: 4px 0 0; height: 18px; width: 18px; accent-color: var(--red); }
.consent a { text-decoration: underline; text-underline-offset: 3px; }
#form-scope { color: var(--quiet); }
#lead-status[data-state='error'] { color: var(--red-hover); }
.footer { min-height: 80px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 15px 27px; padding-block: 23px; font-size: 15px; }
.footer a { display: inline-flex; align-items: center; gap: 8px; }

@media (max-width: 1130px) {
  :root { --header-scroll-padding: 118px; }
  .header-inner {
    grid-template-areas: "brand quote actions" "links links links";
    min-height: 0;
    gap: 4px 8px;
    padding-block: 8px 4px;
  }
  .header-left, .header-right { display: contents; }
  .header .header-inner .brand { grid-area: brand; min-width: 0; }
  .header .header-inner .brand img { width: min(100%, clamp(92px, 25vw, 155px)); }
  .header-quote { grid-area: quote; }
  .header-actions { grid-area: actions; }
  .header-nav { grid-area: links; justify-self: start; }
  .header-nav a, .header-email { display: inline-flex; align-items: center; min-height: 34px; }
  .header-email { grid-area: links; justify-self: end; }
}

@media (max-width: 690px), (max-width: 960px) and (hover: none) and (pointer: coarse) {
  :root { --mobile-dock-size: calc(66px + env(safe-area-inset-bottom)); }
  html { scroll-padding-bottom: var(--mobile-dock-size); }
  body { padding-block-end: var(--mobile-dock-size); }
  .header-inner {
    position: relative;
    width: auto;
    margin-inline: max(12px, env(safe-area-inset-left)) max(12px, env(safe-area-inset-right));
    grid-template-columns: minmax(0, 1fr) max-content;
    grid-template-areas: "brand nav" "contacts contacts";
    gap: 5px 8px;
    padding-block: calc(6px + env(safe-area-inset-top)) 6px;
  }
  .header .header-quote, .header-phone { display: none; }
  .header-right { display: flex; grid-area: contacts; gap: 8px; }
  .header-actions {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    flex: 1;
    min-width: 0;
    gap: 5px;
  }
  .header-actions > .header-max { min-width: 0; }
  .header-mobile-phone, .header-max-control {
    display: grid;
    grid-template-columns: 16px minmax(0, 1fr);
    gap: 4px;
    width: 100%;
    min-width: 0;
    padding: 3px 4px;
    font-size: clamp(10px, 3.3vw, 12px);
    font-weight: 800;
    line-height: 1.2;
  }
  .header-mobile-phone svg, .header-max-control img { width: 16px; height: 16px; }
  .header-max-label { display: none; }
  .header-max-mobile-label { display: block; }
  .header-nav { grid-area: nav; justify-self: end; gap: clamp(7px, 2.4vw, 16px); }
  .header-nav a, .header-email { font-size: 12px; }
  .header-email { grid-area: email; min-height: 44px; }
  .header-contact-panel {
    inset: calc(100% + 6px) 0 auto auto;
    width: min(292px, 100%);
    max-height: calc(100vh - var(--header-scroll-padding) - var(--mobile-dock-size));
    max-height: calc(100dvh - var(--header-scroll-padding) - var(--mobile-dock-size));
    overflow: auto;
    overscroll-behavior: contain;
  }
  .mobile-quote-dock {
    position: fixed;
    inset: auto 0 0;
    display: block;
    padding: 7px max(12px, env(safe-area-inset-right)) calc(7px + env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));
    border-block-start: 1px solid var(--line);
    background: var(--paper);
  }
  .mobile-quote-dock .mobile-quote {
    position: relative;
    justify-content: center;
    min-height: 51px;
    width: 100%;
    font-size: 17px;
    padding: 8px 48px;
  }
  .mobile-quote .arrow { position: absolute; inset-inline-end: 18px; }
  .mobile-quote-dock :focus-visible { outline-offset: 2px; }
}

@media (min-width: 1480px) {
  .request-frame {
    --request-brand-width: calc(var(--request-brand-mark) + var(--request-brand-wordmark) + var(--request-brand-gap));
    --request-gap: clamp(28px, 2.4vw, 52px);
    max-width: 1960px;
    grid-template-areas: "brand intro form";
    grid-template-columns: var(--request-brand-width) minmax(0, .81fr) minmax(0, 1.19fr);
    grid-template-rows: auto;
    column-gap: var(--request-gap);
    padding-inline-end: clamp(0px, 10vw - 40px, 174px);
  }
  .request-brand { margin-top: 8px; }
}

@media (max-width: 900px) {
  .hero { min-height: 465px; padding-block: 24px; }
  .hero h1 { font-size: clamp(32px, 4.5vw, 45px); }
  .fields { grid-template-columns: 1fr; }
}

@media (max-width: 780px) {
  .case-card { grid-template-columns: 1fr; gap: 15px; }
  .case-link img { aspect-ratio: 4 / 3; }
  .case-heading { align-items: flex-start; flex-direction: column; gap: 15px; }
}

@media (max-width: 690px) {
  .hero { display: block; min-height: 0; padding-block: 0 22px; }
  .hero-content { padding: 28px 0 24px; }
  .hero h1 { font-size: clamp(31px, 9.7vw, 58px); }
  .hero-hook { margin-top: 14px; }
  .hero-copy { margin-top: 12px; max-width: 365px; font-size: 16px; line-height: 1.4; }
  .hero-developers { margin-block: 12px 17px; }
  .hero-image { aspect-ratio: 1.09; min-height: 0; }
  .hero-caption { padding-bottom: 16px; }
  .hero-pages button { width: 43px; height: 43px; }
  .section-heading { grid-template-columns: 1fr; gap: 14px; margin-bottom: 25px; }
  .scope-atlas { grid-template-columns: 1fr; }
  .atlas-controls { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .atlas-pin { width: 32px; height: 32px; }
  .atlas-annotation { top: 8px; left: 8px; padding: 4px 6px; font-size: 12px; }
  .measurement-layout { grid-template-columns: 1fr; gap: 25px; }
  .measurement-list summary { min-height: 58px; font-size: 22px; }
  .request-frame { grid-template-areas: "brand" "intro" "form"; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; }
  .request-action { margin-top: 10px; }
}

@media (max-width: 365px) {
  .action { gap: 14px; }
}

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