:root {
  color-scheme: light;
  --white: #ffffff;
  --ink: #0b0b0d;
  --muted: #414249;
  --line: #dadce4;
  --surface: #f7f8fb;
  --blue: #1735d1;
  --violet: #6657d9;
  --red: #e10b08;
  --page: min(1440px, calc(100vw - 104px));
  --font: Arial, "Yu Gothic", "Yu Gothic UI", "Hiragino Kaku Gothic ProN", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

body.is-menu-open,
body:has(dialog[open]) {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  color: inherit;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 10px 14px;
  color: #fff;
  background: #000;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto 138px;
  align-items: center;
  min-height: 92px;
  padding: 0 40px;
  border-bottom: 1px solid transparent;
  background: rgb(255 255 255 / 96%);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  border-color: var(--line);
  box-shadow: 0 8px 30px rgb(20 22 33 / 4%);
}

.brand {
  display: inline-flex;
  width: 206px;
}

.brand img,
.footer__brand img {
  display: block;
  width: 100%;
  height: auto;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(24px, 2.45vw, 44px);
  margin-right: 38px;
}

.desktop-nav a {
  position: relative;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.desktop-nav a::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 1px;
  background: var(--blue);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.desktop-nav a:hover::after,
.desktop-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-cta {
  min-height: 54px;
  border: 0;
  color: #fff;
  background: var(--red);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
}

.menu-button,
.mobile-menu {
  display: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(600px, 1.08fr) minmax(500px, 0.92fr);
  align-items: start;
  width: var(--page);
  min-height: 680px;
  margin: 0 auto;
  padding: 96px 0 78px;
}

.section-label {
  margin: 0 0 28px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.2;
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(58px, 4.7vw, 76px);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 1.14;
}

.hero__lead {
  margin: 36px 0 0;
  font-size: clamp(17px, 1.22vw, 20px);
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.95;
}

.hero__actions {
  display: flex;
  gap: 18px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  min-height: 62px;
  padding: 0 28px;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: transparent;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.35;
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button svg {
  width: 22px;
  height: 22px;
  margin-left: 34px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: square;
  stroke-linejoin: miter;
  stroke-width: 1.5;
}

.button--primary {
  border-color: var(--red);
  color: #fff;
  background: var(--red);
}

.button--primary:hover,
.button--primary:focus-visible {
  border-color: #bd0806;
  background: #bd0806;
}

.button--outline:hover,
.button--outline:focus-visible {
  color: #fff;
  background: var(--ink);
}

.button--large {
  min-width: min(420px, 100%);
  min-height: 78px;
  padding-inline: 36px;
  font-size: 16px;
}

.hero__proof {
  margin: 26px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.hero__art {
  min-width: 0;
  margin-top: -34px;
  margin-right: -32px;
}

.blueprint {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.flow-line {
  stroke-dasharray: 480;
  stroke-dashoffset: 480;
  animation: draw-flow 5.8s cubic-bezier(0.55, 0, 0.25, 1) forwards;
}

.flow-line--2 { animation-delay: 180ms; }
.flow-line--3 { animation-delay: 360ms; }
.flow-line--4 { animation-delay: 540ms; }
.flow-line--5 { animation-delay: 720ms; }

.bp-system {
  opacity: 0;
  animation: reveal-system 1.2s ease 2.1s forwards;
}

.bp-inputs > rect,
.bp-inputs > circle,
.bp-inputs + g rect,
.bp-system circle {
  transform-box: fill-box;
  transform-origin: center;
  animation: node-pulse 4s ease-in-out infinite;
}

@keyframes draw-flow {
  to { stroke-dashoffset: 0; }
}

@keyframes reveal-system {
  to { opacity: 1; }
}

@keyframes node-pulse {
  0%, 100% { opacity: 0.52; transform: scale(0.92); }
  50% { opacity: 1; transform: scale(1); }
}

.section {
  width: var(--page);
  margin: 0 auto;
  padding: 150px 0;
  border-top: 1px solid var(--line);
}

.section h2 {
  margin: 0;
  font-size: clamp(44px, 4.15vw, 70px);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.18;
}

.positioning {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 9vw;
  padding-top: 92px;
}

.positioning__body {
  padding-top: 48px;
}

.positioning__body > p {
  margin: 0 0 24px;
  font-size: 17px;
  line-height: 2;
}

.positioning__statement {
  margin-top: 54px !important;
  padding: 34px 0 34px 38px;
  border-left: 2px solid var(--blue);
  font-size: clamp(24px, 2.05vw, 34px) !important;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.65 !important;
}

.services__intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7vw;
}

.services__intro .section-label {
  grid-column: 1 / -1;
  margin-bottom: -10px;
}

.services__intro > p:last-child {
  align-self: end;
  margin: 0 0 6px;
  font-size: 17px;
  line-height: 2;
}

.service-map {
  position: relative;
  height: 188px;
  margin: 60px 0 28px;
}

.service-map__line {
  position: absolute;
  top: 93px;
  right: 5%;
  left: 5%;
  height: 1px;
  background: var(--blue);
}

.service-map__line::after {
  position: absolute;
  top: -4px;
  right: -1px;
  width: 8px;
  height: 8px;
  border-top: 1px solid var(--blue);
  border-right: 1px solid var(--blue);
  content: "";
  transform: rotate(45deg);
}

.service-map__scatter {
  position: absolute;
  top: 38px;
  left: 10%;
  width: 29%;
  height: 112px;
}

.service-map__scatter i {
  position: absolute;
  width: 8px;
  height: 8px;
  border: 1px solid var(--blue);
}

.service-map__scatter i:nth-child(1) { top: 5%; left: 4%; }
.service-map__scatter i:nth-child(2) { top: 70%; left: 14%; border-radius: 50%; }
.service-map__scatter i:nth-child(3) { top: 30%; left: 34%; width: 5px; height: 5px; background: var(--blue); }
.service-map__scatter i:nth-child(4) { top: 8%; left: 58%; border-style: dashed; }
.service-map__scatter i:nth-child(5) { top: 78%; left: 70%; width: 5px; height: 5px; background: var(--violet); }
.service-map__scatter i:nth-child(6) { top: 44%; left: 92%; border-radius: 50%; }

.service-map__build {
  position: absolute;
  top: 43px;
  left: 45%;
  width: 112px;
  height: 102px;
  border: 1px solid var(--blue);
  box-shadow: -14px 12px 0 -13px #fff, -15px 13px 0 -13px var(--violet), 14px -12px 0 -13px #fff, 15px -13px 0 -13px var(--blue);
}

.service-map__cycle {
  position: absolute;
  top: 31px;
  right: 13%;
  width: 126px;
  height: 126px;
  border: 1px solid var(--blue);
  border-right-color: transparent;
  border-radius: 50%;
}

.service-map__cycle::before,
.service-map__cycle::after {
  position: absolute;
  width: 10px;
  height: 10px;
  background: var(--blue);
  content: "";
}

.service-map__cycle::before { top: -5px; left: 58px; }
.service-map__cycle::after { bottom: -5px; left: 58px; }

.service-rail {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--blue);
}

.service {
  min-width: 0;
  padding: 30px 34px 0 0;
}

.service + .service {
  padding-left: 34px;
  border-left: 1px solid var(--line);
}

.service__index {
  display: flex;
  align-items: center;
  gap: 18px;
}

.service__index strong {
  font-size: 52px;
  font-weight: 400;
  letter-spacing: -0.05em;
  line-height: 1;
}

.service__index > span {
  color: var(--blue);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.service__index small {
  display: block;
  margin-top: 4px;
  font-size: 10px;
  letter-spacing: 0.08em;
}

.service h3 {
  min-height: 66px;
  margin: 42px 0 18px;
  font-size: 23px;
  line-height: 1.45;
}

.service > p {
  min-height: 92px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
}

.service ul {
  margin: 28px 0 34px;
  padding: 22px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.service li {
  position: relative;
  margin: 8px 0;
  padding-left: 16px;
  font-size: 13px;
}

.service li::before {
  position: absolute;
  top: 0.79em;
  left: 0;
  width: 4px;
  height: 4px;
  background: var(--blue);
  content: "";
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--ink);
  font-size: 13px;
  font-weight: 700;
}

.text-link span {
  color: var(--blue);
  transition: transform 180ms ease;
}

.text-link:hover span,
.text-link:focus-visible span {
  transform: translateX(5px);
}

.challenges {
  display: grid;
  grid-template-columns: 0.84fr 1.16fr;
  gap: 8vw;
}

.challenges__intro h2 {
  font-size: clamp(42px, 3.25vw, 54px);
}

.challenges__intro > p:last-child {
  margin: 32px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 2;
}

.challenge-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 46px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.challenge-list li {
  display: grid;
  grid-template-columns: 36px 1fr 32px;
  align-items: center;
  gap: 16px;
  min-height: 98px;
  border-bottom: 1px solid var(--line);
}

.challenge-list span {
  color: var(--blue);
  font-size: 15px;
}

.challenge-list strong {
  font-size: 14px;
  line-height: 1.55;
}

.challenge-list button {
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  color: var(--blue);
  background: transparent;
  font-size: 22px;
  cursor: pointer;
  transition: transform 180ms ease;
}

.challenge-list button:hover,
.challenge-list button:focus-visible {
  transform: translateX(5px);
}

.process__heading {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 8vw;
}

.process__heading .section-label {
  grid-column: 1 / -1;
  margin-bottom: -10px;
}

.process__heading > p:last-child {
  align-self: end;
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 15px;
  line-height: 2;
}

.process-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 82px 0 0;
  padding: 0;
  list-style: none;
}

.process-steps::before {
  position: absolute;
  top: 212px;
  right: 0;
  left: 0;
  height: 1px;
  background: var(--blue);
  content: "";
}

.process-steps li {
  position: relative;
  min-height: 326px;
  padding: 0 26px;
}

.process-steps li:first-child { padding-left: 0; }
.process-steps li:last-child { padding-right: 0; }

.process-steps__no {
  display: block;
  color: var(--blue);
  font-size: 34px;
  line-height: 1;
}

.process-steps h3 {
  margin: 16px 0 12px;
  font-size: 17px;
}

.process-steps p {
  max-width: 250px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.85;
}

.process-glyph {
  position: absolute;
  top: 184px;
  left: 28px;
  width: 154px;
  height: 58px;
  background: #fff;
}

.process-steps li:first-child .process-glyph { left: 2px; }

.process-glyph::before,
.process-glyph::after,
.process-glyph i {
  position: absolute;
  border: 1px solid var(--blue);
  content: "";
}

.process-glyph--find::before { inset: 4px 62px 4px 5px; border-style: dashed; }
.process-glyph--find::after { top: 10px; right: 20px; width: 40px; height: 40px; border-radius: 50%; }
.process-glyph--find i:nth-child(1) { top: 26px; left: 38px; width: 8px; height: 8px; background: var(--blue); }
.process-glyph--find i:nth-child(2) { top: 3px; right: 38px; width: 6px; height: 6px; }
.process-glyph--find i:nth-child(3) { right: 2px; bottom: 6px; width: 5px; height: 5px; }

.process-glyph--design::before { inset: 4px 24px 4px 24px; }
.process-glyph--design::after { inset: 10px 18px -2px 31px; border-color: var(--violet); }
.process-glyph--design i:nth-child(1) { top: 18px; left: 44px; width: 64px; height: 1px; border: 0; background: var(--blue); }
.process-glyph--design i:nth-child(2) { top: 29px; left: 44px; width: 54px; height: 1px; border: 0; background: var(--blue); }
.process-glyph--design i:nth-child(3) { top: 40px; left: 44px; width: 72px; height: 1px; border: 0; background: var(--blue); }

.process-glyph--build::before { top: 6px; left: 38px; width: 76px; height: 46px; transform: skewY(-20deg); }
.process-glyph--build::after { top: 18px; left: 28px; width: 96px; height: 34px; border-color: var(--violet); transform: skewY(-20deg); }
.process-glyph--build i:nth-child(1) { top: 28px; left: 18px; width: 116px; height: 24px; transform: skewY(-20deg); }
.process-glyph--build i:nth-child(2), .process-glyph--build i:nth-child(3) { display: none; }

.process-glyph--support::before { inset: 3px 24px; }
.process-glyph--support::after { top: 16px; left: 42px; width: 56px; height: 1px; border: 0; background: var(--blue); box-shadow: 0 10px 0 var(--blue), 0 20px 0 var(--blue); }
.process-glyph--support i:nth-child(1) { top: 14px; right: 32px; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }
.process-glyph--support i:nth-child(2) { top: 26px; right: 32px; width: 6px; height: 6px; border-radius: 50%; }
.process-glyph--support i:nth-child(3) { top: 38px; right: 32px; width: 6px; height: 6px; border-radius: 50%; background: var(--violet); }

.process__summary {
  margin: 36px 0 0;
  padding: 28px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--blue);
  font-size: clamp(16px, 1.45vw, 22px);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-align: center;
}

.process__summary span {
  margin: 0 2vw;
  font-weight: 400;
}

.quality {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 8vw;
}

.quality__intro > p:not(.section-label) {
  margin: 30px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 2;
}

.quality h2,
.about h2 {
  font-size: clamp(42px, 3.25vw, 54px);
}

.quality-list {
  margin: 44px 0 34px;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.quality-list li {
  display: flex;
  gap: 22px;
  align-items: center;
  min-height: 62px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  font-weight: 700;
}

.quality-list span {
  color: var(--red);
  font-size: 13px;
  font-weight: 400;
}

.audit-visual {
  position: relative;
  min-height: 610px;
  overflow: hidden;
}

.audit-visual::before,
.audit-visual::after {
  position: absolute;
  background: var(--line);
  content: "";
}

.audit-visual::before { top: 10%; bottom: 8%; left: 50%; width: 1px; }
.audit-visual::after { top: 50%; right: 8%; left: 8%; height: 1px; }

.audit-visual__label {
  position: absolute;
  top: 12%;
  right: 8%;
  color: var(--blue);
  font-family: Consolas, monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
}

.audit-sheet {
  position: absolute;
  top: 22%;
  left: 27%;
  width: 49%;
  aspect-ratio: 0.78;
  border: 1px solid var(--blue);
  background: #fff;
  box-shadow: 28px 24px 0 -27px #fff, 29px 25px 0 -27px var(--violet), -22px -18px 0 -21px #fff, -23px -19px 0 -21px var(--blue);
}

.audit-sheet i {
  position: absolute;
  left: 23%;
  width: 58%;
  height: 1px;
  background: var(--line);
}

.audit-sheet i::before {
  position: absolute;
  top: -5px;
  left: -18%;
  width: 8px;
  height: 4px;
  border-bottom: 1px solid var(--blue);
  border-left: 1px solid var(--blue);
  content: "";
  transform: rotate(-45deg);
}

.audit-sheet i:nth-child(1) { top: 28%; }
.audit-sheet i:nth-child(2) { top: 43%; }
.audit-sheet i:nth-child(3) { top: 58%; }
.audit-sheet i:nth-child(4) { top: 73%; }

.audit-node {
  position: absolute;
  width: 8px;
  height: 8px;
  background: var(--blue);
}

.audit-node--1 { top: 18%; left: 17%; }
.audit-node--2 { top: 64%; left: 12%; background: var(--violet); }
.audit-node--3 { top: 25%; right: 13%; }
.audit-node--4 { right: 20%; bottom: 12%; background: var(--red); }

.about {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 8vw;
}

.about__copy > p:not(.section-label) {
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 2;
}

.about__copy .text-link {
  margin-top: 22px;
}

.history-panel {
  position: relative;
  display: flex;
  min-height: 470px;
  padding: 46px;
  border: 1px solid var(--line);
  overflow: hidden;
  background:
    linear-gradient(90deg, transparent calc(50% - 0.5px), #e5e6ed 50%, transparent calc(50% + 0.5px)),
    linear-gradient(transparent calc(50% - 0.5px), #e5e6ed 50%, transparent calc(50% + 0.5px));
}

.history-panel::before {
  position: absolute;
  right: -12%;
  bottom: -35%;
  width: 62%;
  aspect-ratio: 1;
  border: 1px solid var(--blue);
  border-radius: 50%;
  content: "";
}

.history-panel::after {
  position: absolute;
  top: 0;
  right: 21%;
  bottom: 0;
  width: 1px;
  background: var(--blue);
  content: "";
  opacity: 0.35;
}

.history-panel__year strong {
  display: block;
  font-size: clamp(76px, 7vw, 116px);
  font-weight: 400;
  letter-spacing: -0.06em;
  line-height: 0.9;
}

.history-panel__year span {
  color: var(--blue);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.history-panel__track {
  position: absolute;
  right: 42px;
  bottom: 82px;
  left: 46px;
  display: grid;
  grid-template-columns: repeat(4, auto);
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--blue);
}

.history-panel__track span {
  color: var(--blue);
  font-family: Consolas, monospace;
  font-size: 9px;
}

.history-panel > p {
  position: absolute;
  bottom: 22px;
  left: 46px;
  margin: 0;
  font-size: 14px;
  font-weight: 700;
}

.facts {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: 0.7fr 1.3fr 1fr;
  margin-top: 20px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.fact {
  padding: 30px 34px;
}

.fact:first-child { padding-left: 0; }
.fact + .fact { border-left: 1px solid var(--line); }

.fact strong {
  display: block;
  font-size: clamp(24px, 2.2vw, 36px);
  letter-spacing: -0.03em;
}

.fact span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}

.contact {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 7vw;
  padding-block: 112px;
}

.contact h2 {
  font-size: clamp(44px, 3.35vw, 54px);
}

.mobile-break {
  display: none;
}

.contact__copy > p:last-child {
  margin: 30px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 2;
}

.footer {
  display: grid;
  grid-template-columns: 1.35fr repeat(3, 0.8fr);
  gap: 6vw;
  padding: 74px max(52px, calc((100vw - 1440px) / 2));
  border-top: 1px solid var(--line);
}

.footer__brand img {
  width: 130px;
}

.footer__brand > p {
  margin: 22px 0 0;
  font-size: 14px;
  font-weight: 700;
}

.footer address {
  margin-top: 22px;
  color: var(--muted);
  font-size: 11px;
  font-style: normal;
  line-height: 1.9;
}

.footer__column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
}

.footer__column strong {
  margin-bottom: 8px;
  color: var(--blue);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.footer__column a,
.footer__column button {
  padding: 0;
  border: 0;
  background: transparent;
  font-size: 11px;
  cursor: pointer;
}

.footer__column a:hover,
.footer__column a:focus-visible,
.footer__column button:hover,
.footer__column button:focus-visible {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer__bottom {
  display: flex;
  grid-column: 1 / -1;
  justify-content: space-between;
  margin-top: 18px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  font-size: 10px;
}

.contact-dialog {
  width: min(720px, calc(100vw - 40px));
  max-height: calc(100svh - 40px);
  padding: 0;
  border: 0;
  border-radius: 0;
  color: var(--ink);
  background: #fff;
  box-shadow: 0 28px 90px rgb(0 0 0 / 18%);
}

.contact-dialog::backdrop {
  background: rgb(8 9 14 / 48%);
  backdrop-filter: blur(3px);
}

.dialog-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 36px 42px 30px;
  border-bottom: 1px solid var(--line);
}

.dialog-header .section-label {
  margin-bottom: 12px;
}

.dialog-header h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 46px);
  letter-spacing: -0.04em;
}

.dialog-close {
  display: grid;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  margin-left: 24px;
  padding: 10px;
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
}

.dialog-close svg {
  width: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}

.contact-form,
.contact-success {
  padding: 30px 42px 42px;
}

.dialog-lead {
  margin: 0 0 26px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

.contact-form > label:not(.consent) {
  display: block;
  margin-top: 20px;
  font-size: 13px;
  font-weight: 700;
}

.contact-form label > span {
  margin-left: 9px;
  color: var(--red);
  font-size: 10px;
  font-weight: 700;
}

.contact-form input:not([type="checkbox"]),
.contact-form select,
.contact-form textarea {
  display: block;
  width: 100%;
  margin-top: 7px;
  padding: 12px 14px;
  border: 1px solid #bdc0ca;
  border-radius: 0;
  color: var(--ink);
  background: #fff;
  font-size: 16px;
}

.contact-form input:not([type="checkbox"]),
.contact-form select {
  height: 50px;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--blue);
  outline: 2px solid rgb(23 53 209 / 18%);
  outline-offset: 0;
}

.consent {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 24px 0;
  font-size: 12px;
  font-weight: 400;
}

.consent input {
  width: 18px;
  height: 18px;
  accent-color: var(--blue);
}

.consent span {
  margin: 0 !important;
  color: var(--ink) !important;
  font-size: 12px !important;
  font-weight: 400 !important;
}

.contact-success {
  min-height: 330px;
}

.contact-success > span {
  color: var(--blue);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.contact-success h3 {
  margin: 24px 0 12px;
  font-size: 32px;
}

.contact-success p {
  margin-bottom: 38px;
  color: var(--muted);
  font-size: 14px;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 4px;
}

@media (max-width: 1180px) {
  :root { --page: calc(100vw - 64px); }
  .site-header { grid-template-columns: 186px 1fr 118px; padding-inline: 32px; }
  .desktop-nav { gap: 18px; margin-right: 22px; }
  .desktop-nav a { font-size: 11px; }
  .hero { grid-template-columns: 1.06fr 0.94fr; }
  .hero h1 { font-size: clamp(50px, 5.2vw, 68px); }
  .hero__actions { flex-direction: column; max-width: 370px; }
  .service { padding-right: 24px; }
  .service + .service { padding-left: 24px; }
}

@media (max-width: 900px) {
  :root { --page: calc(100vw - 48px); }
  .site-header { grid-template-columns: 1fr auto; min-height: 76px; padding-inline: 24px; }
  .brand { width: 145px; }
  .desktop-nav, .header-cta { display: none; }
  .menu-button { display: flex; flex-direction: column; justify-content: center; gap: 7px; width: 48px; height: 48px; padding: 11px; border: 0; background: #fff; cursor: pointer; }
  .menu-button span { width: 100%; height: 1px; background: var(--ink); transition: transform 180ms ease; }
  .menu-button[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-button[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .mobile-menu { position: fixed; top: 76px; right: 0; bottom: 0; left: 0; z-index: 49; padding: 32px 24px; border-top: 1px solid var(--line); background: #fff; }
  .mobile-menu:not([hidden]) { display: block; }
  .mobile-menu nav { display: flex; flex-direction: column; }
  .mobile-menu nav a { padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 18px; font-weight: 700; }
  .mobile-menu .button { width: 100%; margin-top: 32px; }
  .hero { grid-template-columns: 1fr; min-height: auto; padding: 76px 0 70px; }
  .hero__copy { max-width: 700px; }
  .hero h1 { font-size: clamp(50px, 9vw, 74px); }
  .hero__actions { flex-direction: row; max-width: none; }
  .hero__art { width: min(760px, 100%); margin: 32px auto -24px; }
  .section { padding-block: 112px; }
  .positioning, .challenges, .quality, .about { grid-template-columns: 1fr; gap: 64px; }
  .positioning__body { padding-top: 0; }
  .services__intro, .process__heading { grid-template-columns: 1fr; gap: 34px; }
  .service-map { height: 146px; }
  .service-map__cycle { top: 14px; width: 112px; height: 112px; }
  .service-rail { grid-template-columns: 1fr; }
  .service { padding: 34px 0 54px; }
  .service + .service { padding-left: 0; border-top: 1px solid var(--line); border-left: 0; }
  .service h3, .service > p { min-height: 0; }
  .challenge-list { margin-top: 0; }
  .process-steps { grid-template-columns: 1fr 1fr; gap: 64px 0; }
  .process-steps::before { display: none; }
  .process-steps li { min-height: 300px; padding: 0 32px 0 0; }
  .process-glyph { left: 0; }
  .audit-visual { min-height: 520px; }
  .history-panel { min-height: 430px; }
  .contact { grid-template-columns: 1fr; }
  .footer { grid-template-columns: 1.2fr 1fr 1fr; padding-inline: 24px; }
  .footer__column:last-of-type { grid-column: 2; }
}

@media (max-width: 620px) {
  :root { --page: calc(100vw - 40px); }
  html { scroll-padding-top: 76px; }
  body { font-size: 15px; }
  .site-header { padding-inline: 20px; }
  .brand { width: 126px; }
  .section-label { margin-bottom: 20px; font-size: 11px; }
  .hero { padding: 56px 0 64px; }
  .hero h1 { font-size: clamp(35px, 9vw, 50px); line-height: 1.2; }
  .hero__lead { margin-top: 28px; font-size: 15px; line-height: 1.9; }
  .hero__lead br { display: none; }
  .hero__actions { flex-direction: column; gap: 10px; }
  .button { width: 100%; min-height: 58px; padding-inline: 20px; font-size: 14px; }
  .hero__proof { margin-top: 20px; font-size: 11px; line-height: 1.7; }
  .hero__art { width: 104%; margin: 18px -2% -36px; }
  .section { padding-block: 88px; }
  .section h2 { font-size: clamp(36px, 10.4vw, 48px); line-height: 1.24; }
  .challenges__intro h2,
  .quality h2,
  .about h2,
  .contact h2 { font-size: 32px; line-height: 1.34; }
  .mobile-break { display: inline; }
  .positioning, .challenges, .quality, .about { gap: 48px; }
  .positioning__body > p { font-size: 15px; }
  .positioning__body br { display: none; }
  .positioning__statement { margin-top: 38px !important; padding: 22px 0 22px 22px; font-size: 22px !important; }
  .services__intro > p:last-child br, .challenges__intro > p:last-child br, .process__heading > p:last-child br, .quality__intro > p:not(.section-label) br { display: none; }
  .service-map { height: 104px; margin: 40px 0 18px; }
  .service-map__line { top: 52px; }
  .service-map__scatter { top: 15px; left: 3%; height: 72px; }
  .service-map__build { top: 19px; left: 44%; width: 68px; height: 64px; }
  .service-map__cycle { top: 12px; right: 4%; width: 80px; height: 80px; }
  .service-map__cycle::before, .service-map__cycle::after { left: 35px; }
  .service__index strong { font-size: 44px; }
  .service h3 { margin-top: 28px; font-size: 21px; }
  .challenge-list { grid-template-columns: 1fr; }
  .challenge-list li { min-height: 82px; }
  .process-steps { grid-template-columns: 1fr; gap: 0; margin-top: 58px; }
  .process-steps li { min-height: 276px; padding: 32px 0; border-top: 1px solid var(--line); }
  .process-steps li:last-child { border-bottom: 1px solid var(--line); }
  .process-glyph, .process-steps li:first-child .process-glyph { top: 172px; right: 0; left: auto; }
  .process__summary { display: none; }
  .quality-list li { align-items: flex-start; min-height: 0; padding: 18px 0; }
  .audit-visual { min-height: 430px; }
  .history-panel { min-height: 390px; padding: 30px; }
  .history-panel__track { right: 24px; bottom: 76px; left: 30px; grid-template-columns: 1fr 1fr; gap: 7px; }
  .history-panel > p { bottom: 22px; left: 30px; }
  .facts { grid-template-columns: 1fr; }
  .fact { padding: 24px 0; }
  .fact + .fact { border-top: 1px solid var(--line); border-left: 0; }
  .contact { padding-block: 82px; }
  .contact__copy > p:last-child br { display: none; }
  .footer { grid-template-columns: 1fr 1fr; gap: 44px 24px; padding: 56px 20px 32px; }
  .footer__brand { grid-column: 1 / -1; }
  .footer__column:last-of-type { grid-column: auto; }
  .footer__bottom { margin-top: 0; }
  .dialog-header { padding: 26px 22px 22px; }
  .dialog-header h2 { font-size: 30px; }
  .contact-form, .contact-success { padding: 24px 22px 30px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .flow-line { stroke-dashoffset: 0; }
  .bp-system, .reveal { opacity: 1; transform: none; }
}
