:root {
  --bg: #080909;
  --bg-2: #101214;
  --surface: rgba(16, 18, 20, 0.82);
  --surface-strong: #151719;
  --line: rgba(255, 255, 255, 0.14);
  --line-strong: rgba(255, 255, 255, 0.22);
  --text: #f6f2eb;
  --muted: #aba49a;
  --muted-2: #766f66;
  --accent: #c9825c;
  --accent-2: #e1aa82;
  --accent-dark: #8f5135;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  --max: 1280px;
  --pad: clamp(40px, 4vw, 56px);
  color-scheme: dark;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.5;
  background: var(--bg);
  color: var(--text);
}

* {
  box-sizing: border-box;
}

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

body {
  min-width: 320px;
  margin: 0;
  overflow-x: clip;
  background: linear-gradient(180deg, #050606 0%, #0b0c0d 48%, #111315 100%);
}

body.menu-open {
  overflow: hidden;
}

[hidden] {
  display: none !important;
}

img,
svg {
  display: block;
}

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

button,
input,
textarea {
  font: inherit;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.scroll-progress {
  position: fixed;
  z-index: 40;
  top: 0;
  right: 0;
  left: 0;
  height: 2px;
  overflow: hidden;
  pointer-events: none;
}

.scroll-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--accent-2);
  box-shadow: 0 0 14px rgba(225, 170, 130, 0.5);
  transform: scaleX(0);
  transform-origin: left center;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 30px;
  min-height: 68px;
  padding: 12px var(--pad);
  border-bottom: 1px solid var(--line);
  background: rgba(5, 6, 6, 0.72);
  backdrop-filter: blur(18px);
  transition:
    min-height 180ms ease,
    background 180ms ease;
}

.site-header.is-scrolled {
  min-height: 62px;
  background: rgba(5, 6, 6, 0.9);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand__mark {
  display: block;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
}

.brand__mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand__name {
  display: block;
  font-size: 14px;
  font-weight: 760;
  letter-spacing: 0.16em;
  line-height: 1.1;
  text-transform: uppercase;
}

.brand__line {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: clamp(24px, 4vw, 58px);
}

.site-nav__mobile-contact {
  display: none;
}

.site-nav a,
.header-contact__link {
  color: rgba(246, 242, 235, 0.78);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition:
    color 160ms ease,
    border-color 160ms ease;
}

.site-nav > a {
  position: relative;
}

.site-nav > a::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 1px;
  background: var(--accent-2);
  content: "";
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 280ms cubic-bezier(0.22, 1, 0.36, 1);
}

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

.site-nav a:hover,
.header-contact__link:hover {
  color: var(--text);
}

.header-contact {
  display: grid;
  gap: 3px;
  justify-items: end;
}

.header-contact__phone {
  font-size: 14px;
  font-weight: 650;
  white-space: nowrap;
}

.header-contact__link {
  color: var(--accent-2);
  text-decoration: underline;
  text-underline-offset: 5px;
}

.menu-button {
  display: none;
}

.section-shell {
  width: min(100%, var(--max));
  margin-inline: auto;
  padding-inline: var(--pad);
}

.hero {
  width: 100%;
  max-width: none;
  position: relative;
  display: grid;
  min-height: 410px;
  padding-top: 112px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  background:
    linear-gradient(90deg, rgba(5, 6, 6, 0.95) 0%, rgba(5, 6, 6, 0.82) 32%, rgba(5, 6, 6, 0.22) 68%, rgba(5, 6, 6, 0.08) 100%),
    linear-gradient(180deg, rgba(5, 6, 6, 0.05) 0%, rgba(5, 6, 6, 0.72) 100%);
  pointer-events: none;
}

.hero::after {
  position: absolute;
  z-index: 2;
  top: 84px;
  bottom: 0;
  left: 42%;
  width: 1px;
  background: rgba(225, 170, 130, 0.58);
  box-shadow: 0 0 18px rgba(201, 130, 92, 0.3);
  content: "";
  opacity: 0;
  pointer-events: none;
}

.hero__media {
  position: absolute;
  inset: 68px 0 0 42%;
  overflow: hidden;
  background: #111;
}

.hero__media::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(225, 170, 130, 0.06) 48%,
    rgba(225, 170, 130, 0.28) 50%,
    rgba(225, 170, 130, 0.06) 52%,
    transparent 100%
  );
  content: "";
  opacity: 0;
  pointer-events: none;
  transform: translateY(-100%);
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.76) contrast(1.08) brightness(0.82);
  transform: scale(1.035);
}

.hero__media picture,
.split-section__visual picture {
  display: block;
  width: 100%;
  height: 100%;
}

.hero__content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 2px minmax(0, 520px);
  column-gap: 40px;
  row-gap: 0;
  align-content: start;
  padding-bottom: 0;
}

.hero__rule {
  grid-row: 1 / 4;
  width: 2px;
  min-height: 262px;
  background: linear-gradient(180deg, var(--accent), rgba(201, 130, 92, 0.1));
}

.hero h1 {
  grid-column: 2;
  max-width: 520px;
  margin: 0;
  font-size: clamp(40px, 3.7vw, 48px);
  font-weight: 760;
  letter-spacing: 0;
  line-height: 1;
}

.hero__lead {
  grid-column: 2;
  max-width: 420px;
  margin: 16px 0 0;
  color: rgba(246, 242, 235, 0.74);
  font-size: 17px;
  line-height: 1.55;
}

.hero__actions {
  grid-column: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  width: fit-content;
  max-width: 100%;
  margin-top: 20px;
}

.button {
  position: relative;
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  min-width: 186px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 0;
  isolation: isolate;
  overflow: hidden;
  cursor: pointer;
  font-size: 12.5px;
  font-weight: 760;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.button::after {
  position: absolute;
  z-index: -1;
  top: -40%;
  bottom: -40%;
  left: -30%;
  width: 16%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  content: "";
  opacity: 0;
  pointer-events: none;
  transform: skewX(-18deg) translateX(0);
}

.button:hover {
  transform: translateY(-1px);
}

.button:hover::after,
.button:focus-visible::after {
  opacity: 1;
  transform: skewX(-18deg) translateX(820%);
  transition:
    transform 720ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 160ms ease;
}

.button:disabled {
  cursor: wait;
  opacity: 0.74;
  transform: none;
}

.button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 4px;
}

.button--primary {
  background: var(--accent);
  color: #150d08;
}

.button--primary:hover {
  background: var(--accent-2);
}

.button--secondary {
  border-color: var(--line-strong);
  background: rgba(8, 9, 9, 0.35);
  color: var(--text);
}

.button--secondary:hover {
  border-color: rgba(246, 242, 235, 0.42);
  background: rgba(246, 242, 235, 0.07);
}

.hero-stats {
  position: absolute;
  z-index: 3;
  right: var(--pad);
  bottom: 23px;
  display: grid;
  grid-template-columns: 0.9fr 0.95fr 1.25fr 0.9fr;
  width: min(520px, calc(100% - var(--pad) * 2));
  margin: 0;
  border: 1px solid var(--line);
  background: rgba(11, 12, 13, 0.84);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  overflow: hidden;
}

.hero-stats::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 1px;
  background: var(--accent-2);
  content: "";
  transform: scaleX(0);
  transform-origin: left center;
}

.hero-stats div {
  padding: 12px 18px;
  border-left: 1px solid var(--line);
}

.hero-stats div:first-child {
  border-left: 0;
}

.hero-stats dt {
  margin: 0;
  font-size: 20px;
  font-weight: 720;
  line-height: 1;
  white-space: nowrap;
}

.hero-stats dd {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.42;
}

.services,
.projects,
.process,
.expertise,
.request-section,
.split-section,
.about-section {
  padding-top: clamp(76px, 10vw, 138px);
  padding-bottom: clamp(76px, 10vw, 138px);
}

.services {
  position: relative;
  display: grid;
  grid-template-columns: 248px minmax(0, 1fr);
  padding-top: 0;
  padding-bottom: 0;
  border-bottom: 1px solid var(--line);
}

.services::after {
  position: absolute;
  z-index: 2;
  right: auto;
  bottom: -1px;
  left: 0;
  width: 22%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  content: "";
  pointer-events: none;
  transform: translateX(-110%);
}

.services-intro {
  display: block;
  margin: 0;
  padding: 27px 40px 22px;
  border-right: 1px solid var(--line);
}

.services-intro h2 {
  max-width: 155px;
  font-size: 22px;
  line-height: 1.22;
}

.services-intro p {
  max-width: 170px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.5;
}

.services-intro p::before {
  display: block;
  width: 28px;
  height: 1px;
  margin-bottom: 14px;
  background: var(--accent);
  content: "";
}

.section-heading {
  display: grid;
  grid-template-columns: 78px minmax(0, 640px);
  gap: 20px 34px;
  margin-bottom: 52px;
}

.section-heading--wide {
  grid-template-columns: 78px minmax(0, 760px);
}

.section-index {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 8px 0 0;
  color: var(--accent-2);
  font-size: 12px;
  font-weight: 760;
  letter-spacing: 0.18em;
}

.section-index::after {
  width: 42px;
  height: 1px;
  background: var(--accent);
  content: "";
  transform: scaleX(0.34);
  transform-origin: left center;
  transition: transform 650ms cubic-bezier(0.22, 1, 0.36, 1);
}

.is-visible .section-index::after,
.section-index.is-visible::after {
  transform: scaleX(1);
}

.section-heading h2,
.split-section h2,
.request-section h2,
.about-section h2 {
  margin: 0;
  font-size: clamp(34px, 4.8vw, 64px);
  font-weight: 720;
  letter-spacing: 0;
  line-height: 1.02;
}

.section-heading p:not(.section-index),
.split-section__content > p,
.request-section__content > p,
.about-section__content > p:not(.section-index) {
  grid-column: 2;
  max-width: 680px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.services .services-intro h2 {
  display: block;
  width: 188px;
  max-width: 188px;
  font-size: 20px;
  line-height: 1.2;
}

.services .services-intro p {
  grid-column: auto;
  display: block;
  max-width: 180px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.4;
}

.services .services-intro {
  display: block;
  grid-template-columns: none;
  gap: 0;
  margin: 0;
  padding: 24px 18px 14px 40px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border: 0;
}

.service-card {
  position: relative;
  height: 180px;
  min-height: 0;
  padding: 20px 22px 14px;
  border-left: 1px solid var(--line);
  overflow: hidden;
  transition:
    background 280ms ease,
    border-color 280ms ease;
}

.service-card::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 1px;
  background: var(--accent);
  content: "";
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.service-card:hover {
  background: rgba(246, 242, 235, 0.035);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:first-child {
  border-left: 0;
}

.service-card__icon {
  display: grid;
  width: 34px;
  height: 34px;
  margin-bottom: 11px;
  place-items: center;
  color: var(--accent);
}

.service-card__icon svg {
  width: 34px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: square;
  stroke-linejoin: miter;
  stroke-width: 1.45;
}

.service-card h3,
.timeline h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 680;
  line-height: 1.25;
}

.service-card p,
.timeline p {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.56;
}

.service-card p {
  margin-top: 8px;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.78fr);
  gap: clamp(38px, 6vw, 86px);
  align-items: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.split-section__visual {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  background: #151719;
}

.split-section__visual::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(180deg, transparent, rgba(8, 9, 9, 0.52)),
    linear-gradient(90deg, rgba(201, 130, 92, 0.2), transparent 34%);
}

.split-section__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.74) contrast(1.08);
}

.split-section__content {
  display: grid;
  gap: 24px;
}

.split-section__content > p {
  grid-column: auto;
}

.check-list {
  display: grid;
  gap: 18px;
  padding: 16px 0 0;
  margin: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 32px;
  color: rgba(246, 242, 235, 0.82);
  font-size: 16px;
}

.check-list li::before {
  position: absolute;
  top: 0.55em;
  left: 0;
  width: 14px;
  height: 1px;
  background: var(--accent);
  content: "";
}

.section-shell.projects {
  padding: clamp(76px, 10vw, 138px) var(--pad);
  border-bottom: 1px solid var(--line);
}

.projects__intro {
  margin-bottom: clamp(36px, 5vw, 64px);
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-right: 1px solid var(--line);
}

.case-card {
  position: relative;
  display: grid;
  min-width: 0;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  border-left: 1px solid var(--line);
  background: rgba(15, 17, 18, 0.9);
  transition: background 280ms ease;
}

.case-card::before {
  position: absolute;
  z-index: 2;
  top: 0;
  right: 0;
  left: 0;
  height: 1px;
  background: var(--accent-2);
  content: "";
  transform: scaleX(0.12);
  transform-origin: left center;
  transition: transform 480ms cubic-bezier(0.22, 1, 0.36, 1);
}

.case-card:hover {
  background: rgba(246, 242, 235, 0.045);
}

.case-card:hover::before {
  transform: scaleX(1);
}

.case-card__media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #111;
}

.case-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.88) contrast(1.04) brightness(0.92);
  transition:
    filter 600ms ease,
    transform 850ms cubic-bezier(0.22, 1, 0.36, 1);
}

.case-card:hover .case-card__media img {
  filter: saturate(1) contrast(1.05) brightness(1);
  transform: scale(1.025);
}

.case-card__body {
  display: grid;
  min-height: 260px;
  grid-template-rows: auto auto 1fr auto;
  align-content: start;
  padding: 30px;
}

.case-card__meta {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  color: var(--accent-2);
  font-size: 12px;
  font-weight: 720;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.case-card__meta span:first-child {
  flex: 0 0 auto;
}

.case-card__meta span:last-child {
  min-width: 0;
  max-width: 78%;
  color: var(--muted);
  line-height: 1.35;
  overflow-wrap: anywhere;
  text-align: right;
}

.case-card h3 {
  max-width: 470px;
  margin: 36px 0 0;
  font-size: 28px;
  line-height: 1.12;
}

.case-card address {
  align-self: end;
  margin-top: 22px;
  color: var(--muted);
  font-size: 15px;
  font-style: normal;
  line-height: 1.45;
}

.case-card__action,
.insight-card__action {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  align-self: end;
  width: 100%;
  min-height: 44px;
  margin-top: 24px;
  padding-top: 15px;
  border-top: 1px solid var(--line-strong);
  color: var(--text);
  font-size: 12.5px;
  font-weight: 720;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.case-card__action svg,
.insight-card__action svg {
  width: 18px;
  height: 18px;
  fill: none;
  color: var(--accent-2);
  stroke: currentColor;
  stroke-width: 1.6;
  transition: transform 180ms ease;
}

.case-card:hover .case-card__action svg,
.insight-card:hover .insight-card__action svg {
  transform: translateX(4px);
}

.compact-form {
  position: relative;
  align-content: start;
  min-height: 212px;
  padding: 20px 40px 13px;
  border: 0;
  border-left: 1px solid var(--line);
  background: rgba(12, 13, 14, 0.92);
  box-shadow: none;
}

.compact-form h2 {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 20px;
  line-height: 1.15;
}

.compact-form > p {
  grid-column: 1 / -1;
  max-width: 360px;
  margin: -4px 0 2px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.compact-form input {
  min-height: 27px;
  padding: 0 10px;
  font-size: 14px;
}

.compact-form textarea {
  height: 37px;
  min-height: 37px;
  padding: 10px;
  font-size: 14px;
  resize: none;
}

.compact-form .button {
  min-height: 34px;
  font-size: 12px;
}

.compact-form .consent {
  margin: 0;
}

.compact-form .consent input {
  width: 14px;
  min-width: 14px;
  height: 14px;
  min-height: 14px;
}

.compact-form .consent span {
  font-size: 12.5px;
}

.compact-form.projects__form {
  display: grid;
  height: auto;
  min-height: 0;
  grid-template-areas:
    "copy name phone email"
    "copy message message message"
    "copy consent consent submit"
    "copy status status status";
  grid-template-columns: minmax(280px, 0.82fr) repeat(3, minmax(0, 1fr));
  gap: 12px;
  align-items: start;
  padding: 34px 40px;
  border: 1px solid var(--line);
  border-top: 0;
}

.projects__form-copy {
  grid-area: copy;
  align-self: stretch;
  padding-right: 40px;
  border-right: 1px solid var(--line);
}

.projects__form-copy > span {
  display: block;
  margin-bottom: 16px;
  color: var(--accent-2);
  font-size: 11px;
  font-weight: 760;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.compact-form.projects__form .projects__form-copy h2 {
  margin: 0;
  font-size: 28px;
  line-height: 1.12;
}

.projects__form-copy p {
  max-width: 360px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.compact-form.projects__form .projects__form-name {
  grid-area: name;
}

.compact-form.projects__form .projects__form-phone {
  grid-area: phone;
}

.compact-form.projects__form .projects__form-email {
  grid-area: email;
}

.compact-form.projects__form .projects__form-message {
  grid-area: message;
}

.compact-form.projects__form .projects__form-consent {
  grid-area: consent;
  align-self: center;
}

.compact-form.projects__form .projects__form-submit {
  grid-area: submit;
  width: 100%;
  min-width: 0;
  margin: 0;
}

.compact-form.projects__form .form-status {
  grid-area: status;
  min-height: 18px;
  font-size: 12px;
  line-height: 1.45;
}

.about-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1fr);
  gap: clamp(48px, 8vw, 112px);
  align-items: end;
  border-top: 1px solid var(--line);
}

.about-section__content {
  display: grid;
  gap: 22px;
}

.about-section__content > p {
  grid-column: auto;
}

.about-section__facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.about-section__facts div {
  min-height: 148px;
  padding: 28px 24px;
  border-left: 1px solid var(--line);
}

.about-section__facts div:first-child {
  border-left: 0;
}

.about-section__facts dt {
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 720;
  line-height: 1;
}

.about-section__facts dd {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.52;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.timeline li {
  min-height: 300px;
  padding: 38px 34px;
  border-left: 1px solid var(--line);
}

.timeline li:first-child {
  border-left: 0;
}

.timeline span {
  display: block;
  margin-bottom: 48px;
  color: var(--accent-2);
  font-size: 14px;
  font-weight: 760;
  letter-spacing: 0.16em;
}

.expertise {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.expertise__intro {
  margin-bottom: clamp(36px, 5vw, 64px);
}

.insight-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-right: 1px solid var(--line);
}

.insight-card {
  display: grid;
  min-width: 0;
  grid-template-rows: auto 1fr;
  border-bottom: 1px solid var(--line);
  border-left: 1px solid var(--line);
  background: rgba(15, 17, 18, 0.9);
  transition: background 240ms ease;
}

.insight-card:hover {
  background: rgba(246, 242, 235, 0.045);
}

.insight-card__media {
  aspect-ratio: 1672 / 941;
  overflow: hidden;
  background: #eee9e2;
}

.insight-card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: saturate(0.9) contrast(1.02) brightness(0.9);
  transition: filter 400ms ease, transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

.insight-card:hover .insight-card__media img {
  filter: saturate(1) contrast(1) brightness(1);
  transform: scale(1.025);
}

.insight-card__body {
  display: grid;
  min-height: 330px;
  grid-template-rows: auto auto 1fr auto;
  align-content: start;
  padding: 30px;
}

.insight-card__body > span:first-child {
  color: var(--accent-2);
  font-size: 12px;
  font-weight: 720;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.insight-card h3 {
  margin: 30px 0 0;
  font-size: 28px;
  line-height: 1.14;
}

.insight-card p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.64;
}

.request-section {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(420px, 0.9fr);
  gap: clamp(34px, 6vw, 96px);
  align-items: start;
  border-top: 1px solid var(--line);
}

.request-section__content {
  display: grid;
  gap: 24px;
  position: sticky;
  top: 110px;
}

.request-section__content > p {
  grid-column: auto;
}

.request-note {
  margin-top: 12px;
  padding: 24px;
  border-left: 2px solid var(--accent);
  background: rgba(246, 242, 235, 0.045);
  color: var(--muted);
}

.request-note strong {
  display: block;
  margin-bottom: 6px;
  color: var(--text);
}

.lead-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid var(--line);
  background: rgba(12, 13, 14, 0.86);
  box-shadow: var(--shadow);
}

.lead-form label {
  display: grid;
  gap: 9px;
}

.lead-form span {
  color: rgba(246, 242, 235, 0.72);
  font-size: 12px;
  font-weight: 680;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lead-form input,
.lead-form textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.035);
  color: var(--text);
  font-size: 15px;
  line-height: 1.4;
  transition:
    border-color 220ms ease,
    background 220ms ease,
    box-shadow 220ms ease;
}

.lead-form .honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  min-height: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.lead-form input:focus,
.lead-form textarea:focus {
  border-color: rgba(225, 170, 130, 0.72);
  background: rgba(255, 255, 255, 0.055);
  box-shadow: inset 2px 0 0 var(--accent);
}

.lead-form input {
  min-height: 54px;
  padding: 0 16px;
}

.lead-form textarea {
  min-height: 126px;
  padding: 16px;
  resize: vertical;
}

.lead-form input::placeholder,
.lead-form textarea::placeholder {
  color: rgba(171, 164, 154, 0.82);
}

.lead-form__wide {
  grid-column: 1 / -1;
}

.consent {
  display: flex !important;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 12px !important;
}

.consent input {
  width: 18px;
  min-width: 18px;
  height: 18px;
  min-height: 18px;
  margin-top: 2px;
  accent-color: var(--accent);
}

.consent span {
  text-transform: none;
  letter-spacing: 0;
  font-size: 13px;
  line-height: 1.45;
}

.consent a {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: rgba(225, 170, 130, 0.56);
  text-underline-offset: 3px;
}

.consent a:hover,
.consent a:focus-visible {
  color: var(--accent-2);
  text-decoration-color: currentColor;
}

.form-status {
  min-height: 20px;
  margin: 0;
  color: var(--accent-2);
  font-size: 14px;
}

.form-status[data-state="error"] {
  color: #efad9b;
}

.form-status[data-state="success"] {
  color: #b8d5b0;
}

.motion-ready .motion-reveal {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition:
    opacity 700ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 850ms cubic-bezier(0.22, 1, 0.36, 1),
    clip-path 950ms cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

.motion-ready .motion-reveal--left {
  transform: translate3d(-34px, 0, 0);
}

.motion-ready .motion-reveal--right {
  transform: translate3d(34px, 0, 0);
}

.motion-ready .motion-reveal--clip {
  clip-path: inset(0 100% 0 0);
  opacity: 0.72;
  transform: none;
}

.motion-ready .motion-reveal.is-visible {
  clip-path: inset(0 0 0 0);
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.motion-ready .service-card__icon path {
  stroke-dasharray: 96;
  stroke-dashoffset: 96;
  transition: stroke-dashoffset 950ms cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: calc(var(--reveal-delay, 0ms) + 180ms);
}

.motion-ready .service-card.is-visible .service-card__icon path {
  stroke-dashoffset: 0;
}

.motion-ready .site-header .brand__mark img {
  opacity: 0;
  transform: scale(0.88);
  transition:
    opacity 500ms ease,
    transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

.motion-ready .hero__media,
.motion-ready .hero h1,
.motion-ready .hero__lead,
.motion-ready .hero__actions,
.motion-ready .hero-stats {
  opacity: 0;
}

.motion-ready .hero__media {
  transform: scale(1.015);
  transition:
    opacity 1000ms ease,
    transform 1400ms cubic-bezier(0.22, 1, 0.36, 1);
}

.motion-ready .hero__rule {
  opacity: 0;
  transform: scaleY(0);
  transform-origin: top center;
  transition:
    opacity 300ms ease,
    transform 900ms cubic-bezier(0.22, 1, 0.36, 1);
}

.motion-ready .hero h1,
.motion-ready .hero__lead,
.motion-ready .hero__actions,
.motion-ready .hero-stats {
  transform: translate3d(0, 24px, 0);
  transition:
    opacity 700ms ease,
    transform 850ms cubic-bezier(0.22, 1, 0.36, 1);
}

.motion-ready body.is-loaded .hero__media,
.motion-ready body.is-loaded .hero h1,
.motion-ready body.is-loaded .hero__lead,
.motion-ready body.is-loaded .hero__actions,
.motion-ready body.is-loaded .hero-stats {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.motion-ready body.is-loaded .hero__rule {
  opacity: 1;
  transform: scaleY(1);
}

.motion-ready body.is-loaded .hero__media {
  transition-delay: 40ms;
}

.motion-ready body.is-loaded .hero__rule {
  transition-delay: 140ms;
}

.motion-ready body.is-loaded .hero h1 {
  transition-delay: 210ms;
}

.motion-ready body.is-loaded .hero__lead {
  transition-delay: 330ms;
}

.motion-ready body.is-loaded .hero__actions {
  transition-delay: 430ms;
}

.motion-ready body.is-loaded .hero-stats {
  transition-delay: 540ms;
}

.motion-ready body.is-loaded .hero-stats::before {
  transform: scaleX(1);
  transition: transform 1100ms 720ms cubic-bezier(0.22, 1, 0.36, 1);
}

.motion-ready body.is-loaded .site-header .brand__mark img {
  opacity: 1;
  transform: scale(1);
  transition-delay: 100ms;
}

.motion-ready body.is-loaded .services::after {
  animation: rail-line 8s 1.2s ease-in-out infinite;
}

.timeline li,
.about-section__facts div {
  position: relative;
  overflow: hidden;
  transition: background 280ms ease;
}

.timeline li::before,
.about-section__facts div::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 1px;
  background: var(--accent);
  content: "";
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 450ms cubic-bezier(0.22, 1, 0.36, 1);
}

.timeline li:hover,
.about-section__facts div:hover {
  background: rgba(246, 242, 235, 0.03);
}

.timeline li:hover::before,
.about-section__facts div:hover::before {
  transform: scaleX(1);
}

@keyframes hero-trace {
  0%,
  12% {
    opacity: 0;
    transform: translateX(0);
  }

  22% {
    opacity: 0.58;
  }

  78% {
    opacity: 0.22;
  }

  100% {
    opacity: 0;
    transform: translateX(47vw);
  }
}

@keyframes media-scan {
  0%,
  18% {
    opacity: 0;
    transform: translateY(-100%);
  }

  32% {
    opacity: 0.52;
  }

  82% {
    opacity: 0.2;
  }

  100% {
    opacity: 0;
    transform: translateY(100%);
  }
}

@keyframes rail-line {
  0%,
  12% {
    opacity: 0;
    transform: translateX(-110%);
  }

  24% {
    opacity: 0.9;
  }

  76% {
    opacity: 0.7;
  }

  100% {
    opacity: 0;
    transform: translateX(520%);
  }
}

@keyframes hero-scroll-drift {
  from {
    transform: translateY(-1.5%) scale(1.045);
  }

  to {
    transform: translateY(3.5%) scale(1.095);
  }
}

@keyframes section-scroll-drift {
  from {
    transform: translateY(-3%) scale(1.08);
  }

  to {
    transform: translateY(3%) scale(1.08);
  }
}

@media (min-width: 901px) and (prefers-reduced-motion: no-preference) {
  .motion-ready body.is-loaded .hero::after {
    animation: hero-trace 8.5s 1s cubic-bezier(0.45, 0, 0.55, 1) infinite;
  }

  .motion-ready body.is-loaded .hero__media::after {
    animation: media-scan 9.5s 1.4s ease-in-out infinite;
  }

  @supports (animation-timeline: view()) {
    .hero__media img {
      animation: hero-scroll-drift linear both;
      animation-range: entry 0% exit 100%;
      animation-timeline: view(block);
    }

    .split-section__visual img {
      animation: section-scroll-drift linear both;
      animation-range: entry 0% exit 100%;
      animation-timeline: view(block);
    }
  }
}

@media (min-width: 1181px) {
  .services {
    height: 280px;
    overflow: hidden;
  }

  .service-card {
    height: 280px;
  }

  .compact-form {
    height: 300px;
    min-height: 300px;
  }

  .compact-form {
    gap: 7px;
    grid-template-columns: repeat(3, 1fr);
    padding: 20px 40px 14px;
  }

  .compact-form h2 {
    font-size: 20px;
  }

  .compact-form > p {
    margin: -2px 0 2px;
    font-size: 13.5px;
  }

  .compact-form label {
    gap: 0;
  }

  .compact-form input {
    min-height: 36px;
    padding: 0 10px;
    font-size: 14px;
  }

  .compact-form textarea {
    height: 48px;
    min-height: 48px;
    padding: 9px 10px;
    font-size: 14px;
  }

  .compact-form .button {
    min-height: 40px;
    font-size: 12px;
  }

  .compact-form .consent input {
    width: 14px;
    min-width: 14px;
    height: 14px;
    min-height: 14px;
  }

  .compact-form .consent span {
    font-size: 12.5px;
  }

  .compact-form .form-status {
    min-height: 0;
    font-size: 9px;
  }
}

@media (min-width: 1600px) {
  :root {
    --frame-side: clamp(32px, 2vw, 56px);
    --frame-gutter: clamp(64px, 4vw, 112px);
    --max: calc(100% - var(--frame-gutter));
  }

  .site-header {
    min-height: 84px;
    padding-inline: calc(var(--frame-side) + var(--pad));
  }

  .site-header.is-scrolled {
    min-height: 72px;
  }

  .brand__mark {
    width: 46px;
    height: 46px;
    flex-basis: 46px;
  }

  .brand__name {
    font-size: 16px;
  }

  .brand__line {
    font-size: 12.5px;
  }

  .site-nav a,
  .header-contact__link {
    font-size: 14px;
  }

  .header-contact__phone {
    font-size: 16px;
  }

  .hero {
    width: var(--max);
    margin-inline: auto;
  }

  .hero {
    min-height: 430px;
    padding-top: 126px;
  }

  .hero__media {
    inset: 84px 0 0 42%;
  }

  .hero__content {
    grid-template-columns: 2px minmax(0, 610px);
    column-gap: 46px;
  }

  .hero__rule {
    min-height: 292px;
  }

  .hero h1 {
    max-width: 610px;
    font-size: 56px;
  }

  .hero__lead {
    max-width: 500px;
    margin-top: 20px;
    font-size: 18px;
  }

  .hero__actions {
    gap: 16px;
    margin-top: 24px;
  }

  .hero .button {
    min-width: 212px;
    min-height: 50px;
    font-size: 14px;
  }

  .hero-stats {
    width: 680px;
    bottom: 24px;
  }

  .hero-stats div {
    padding: 16px 22px;
  }

  .hero-stats dt {
    font-size: 26px;
  }

  .hero-stats dd {
    font-size: 15px;
  }

  .services,
  .projects {
    padding-inline: 0;
  }

  .services {
    grid-template-columns: 340px minmax(0, 1fr);
    height: 280px;
  }

  .services .services-intro {
    padding: 31px 28px 22px 46px;
  }

  .services .services-intro h2 {
    width: 260px;
    max-width: 260px;
    font-size: 28px;
  }

  .services .services-intro p {
    max-width: 250px;
    font-size: 15px;
    line-height: 1.5;
  }

  .service-card {
    height: 280px;
    padding: 34px 32px 26px;
  }

  .service-card__icon,
  .service-card__icon svg {
    width: 38px;
    height: 38px;
  }

  .service-card h3 {
    font-size: 18px;
  }

  .service-card p {
    max-width: 230px;
    font-size: 15px;
    line-height: 1.5;
  }

  .compact-form {
    height: 310px;
    min-height: 310px;
  }

  .compact-form {
    gap: 10px;
    padding: 26px 36px 20px;
  }

  .compact-form h2 {
    font-size: 24px;
  }

  .compact-form > p {
    max-width: 480px;
    font-size: 15px;
  }

  .compact-form input {
    min-height: 40px;
    font-size: 15px;
  }

  .compact-form textarea {
    height: 54px;
    min-height: 54px;
    font-size: 15px;
  }

  .compact-form .consent span {
    font-size: 13px;
  }

  .compact-form .button {
    min-height: 44px;
    font-size: 13px;
  }

  .section-index {
    font-size: 14px;
  }

  .timeline li {
    padding: 36px 34px;
  }

  .timeline span {
    margin-bottom: 52px;
    font-size: 14.5px;
  }

  .timeline h3 {
    font-size: 19px;
  }

  .timeline p {
    font-size: 16px;
    line-height: 1.56;
  }

  .about-section__facts dd {
    font-size: 15px;
  }

  .insight-card__body {
    min-height: 360px;
    padding: 36px;
  }

  .insight-card h3 {
    font-size: 32px;
  }

  .insight-card p {
    font-size: 17px;
  }
}

.footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: clamp(48px, 8vw, 112px);
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 48px var(--pad);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer__identity {
  display: grid;
  gap: 24px;
}

.footer__legal {
  display: flex;
  max-width: 760px;
  flex-wrap: wrap;
  gap: 8px 20px;
  font-size: 13px;
  line-height: 1.5;
}

.footer__legal strong {
  flex-basis: 100%;
  color: var(--text);
  font-size: 15px;
  font-weight: 680;
}

.footer__legal span:last-child {
  flex-basis: 100%;
}

.footer address {
  display: grid;
  gap: 8px;
  align-content: start;
  font-style: normal;
  line-height: 1.55;
  text-align: right;
}

.footer__phone {
  color: var(--text);
  font-size: 16px;
  font-weight: 680;
}

.footer a:hover {
  color: var(--text);
}

.footer__documents {
  display: flex;
  grid-column: 1 / -1;
  flex-wrap: wrap;
  gap: 10px 26px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.footer__documents a,
.footer__documents button {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 13px;
  line-height: 1.45;
  text-align: left;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.22);
  text-underline-offset: 4px;
  cursor: pointer;
}

.footer__documents a:hover,
.footer__documents a:focus-visible,
.footer__documents button:hover,
.footer__documents button:focus-visible {
  color: var(--text);
  text-decoration-color: var(--accent-2);
}

.cookie-gate {
  position: fixed;
  z-index: 70;
  right: 0;
  bottom: max(20px, env(safe-area-inset-bottom));
  left: 0;
  display: grid;
  justify-items: center;
  padding-inline: 20px;
  pointer-events: none;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 180ms ease, transform 180ms ease;
}

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

.cookie-notice {
  display: grid;
  width: min(920px, 100%);
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 22px;
  border: 1px solid var(--line-strong);
  background: rgba(12, 13, 14, 0.97);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.58);
  backdrop-filter: blur(18px);
  pointer-events: auto;
}

.cookie-notice strong {
  display: block;
  margin-bottom: 6px;
  color: var(--text);
  font-size: 17px;
  line-height: 1.25;
}

.cookie-notice p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.cookie-notice p a {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: rgba(225, 170, 130, 0.56);
  text-underline-offset: 3px;
}

.cookie-notice__actions {
  display: flex;
  gap: 10px;
}

.cookie-notice__actions .button {
  min-width: 180px;
  min-height: 46px;
  padding-inline: 22px;
  white-space: nowrap;
}

@media (max-width: 820px) {
  .cookie-notice {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .cookie-notice__actions .button {
    flex: 1 1 0;
  }
}

.floating-cta {
  position: fixed;
  z-index: 32;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  display: flex;
  width: min(248px, calc(100vw - 36px));
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 18px 0 22px;
  border: 1px solid var(--accent-2);
  border-radius: 2px;
  background: var(--accent);
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.48);
  color: #150d08;
  font-size: 12.5px;
  font-weight: 780;
  letter-spacing: 0;
  line-height: 1.2;
  text-transform: uppercase;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate3d(0, 18px, 0);
  transition:
    opacity 240ms ease,
    visibility 240ms ease,
    transform 360ms cubic-bezier(0.22, 1, 0.36, 1),
    background 180ms ease;
}

.floating-cta svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  transition: transform 180ms ease;
}

.floating-cta.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate3d(0, 0, 0);
}

.floating-cta.is-visible:hover {
  background: var(--accent-2);
  transform: translate3d(0, -2px, 0);
}

.floating-cta:hover svg {
  transform: translateX(3px);
}

body.menu-open .floating-cta {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate3d(0, 18px, 0);
}

@media (min-width: 1600px) {
  .footer__legal {
    font-size: 14px;
  }

  .footer__legal strong {
    font-size: 16px;
  }

  .footer address {
    font-size: 17px;
  }
}

@media (max-width: 1180px) {
  .site-header {
    min-height: 72px;
    grid-template-columns: 1fr auto;
  }

  .site-header.is-scrolled {
    min-height: 72px;
  }

  .menu-button {
    display: inline-flex;
    width: 44px;
    height: 44px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border: 1px solid var(--line-strong);
    background: transparent;
    color: var(--text);
    cursor: pointer;
  }

  .menu-button span:not(.visually-hidden) {
    width: 20px;
    height: 1px;
    background: currentColor;
    transition: transform 180ms ease, opacity 180ms ease;
  }

  .menu-button[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .menu-button[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .menu-button[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .site-nav,
  .header-contact {
    display: none;
  }

  .site-nav.is-open {
    position: fixed;
    z-index: 19;
    inset: 72px 0 auto 0;
    display: grid;
    max-height: calc(100vh - 72px);
    gap: 0;
    padding: 8px var(--pad) 24px;
    overflow-y: auto;
    border-bottom: 1px solid var(--line);
    background: #050606;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.38);
  }

  .site-nav.is-open > a {
    padding: 17px 0;
    border-bottom: 1px solid var(--line);
    font-size: 13px;
  }

  .site-nav__mobile-contact {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
    align-items: center;
    padding-top: 22px;
  }

  .site-nav__mobile-contact a {
    color: var(--text);
    font-size: 12px;
    font-weight: 650;
  }

  .site-nav__mobile-contact a:first-child {
    white-space: nowrap;
  }

  .site-nav__mobile-contact a:last-child {
    color: var(--accent-2);
    text-decoration: underline;
    text-underline-offset: 5px;
  }

  .hero {
    min-height: auto;
    padding-top: 120px;
  }

  .hero-stats,
  .timeline {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-stats {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    margin-bottom: 48px;
  }

  .hero-stats div:nth-child(3) {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .hero-stats div:nth-child(4) {
    border-top: 1px solid var(--line);
  }

  .services {
    display: block;
    height: auto;
    overflow: clip;
  }

  .services-intro,
  .services .services-intro {
    padding: 34px 40px 30px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .services .services-intro h2 {
    width: auto;
    max-width: 360px;
    font-size: 28px;
  }

  .services .services-intro p {
    max-width: 480px;
    font-size: 13px;
  }

  .service-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .service-card {
    height: 250px;
    padding: 30px 28px 24px;
  }

  .service-card:nth-child(4) {
    border-left: 0;
  }

  .service-card:nth-child(n + 4) {
    border-top: 1px solid var(--line);
  }

  .compact-form {
    grid-column: 1 / -1;
    grid-template-columns: repeat(3, 1fr);
    min-height: 0;
    gap: 12px;
    padding: 30px 40px;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .compact-form h2 {
    font-size: 26px;
  }

  .compact-form > p {
    max-width: 560px;
    margin: -4px 0 4px;
    font-size: 13px;
  }

  .compact-form input {
    min-height: 44px;
    padding: 0 14px;
    font-size: 14px;
  }

  .compact-form textarea {
    height: 72px;
    min-height: 72px;
    padding: 14px;
    font-size: 14px;
    resize: vertical;
  }

  .compact-form .button {
    min-height: 44px;
    font-size: 12.5px;
  }

  .compact-form .consent span {
    font-size: 12px;
  }

  .about-section {
    grid-template-columns: 1fr;
  }

  .about-section__facts {
    max-width: 760px;
  }
}

@media (max-width: 900px) {
  .hero {
    padding-top: 112px;
  }

  .hero__media {
    inset: 0;
    opacity: 0.7;
  }

  .hero::before {
    background:
      linear-gradient(180deg, rgba(5, 6, 6, 0.62) 0%, rgba(5, 6, 6, 0.9) 58%, rgba(5, 6, 6, 0.98) 100%),
      linear-gradient(90deg, rgba(5, 6, 6, 0.84), rgba(5, 6, 6, 0.22));
  }

  .hero__content {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-bottom: 38px;
  }

  .hero__rule {
    grid-row: auto;
    width: 96px;
    min-height: 2px;
    height: 2px;
  }

  .hero h1,
  .hero__lead,
  .hero__actions {
    grid-column: auto;
  }

  .hero h1 {
    font-size: clamp(40px, 9vw, 64px);
  }

  .hero__lead,
  .hero__actions {
    margin-top: 0;
  }

  .services,
  .split-section,
  .request-section,
  .about-section {
    grid-template-columns: 1fr;
  }

  .services-intro,
  .services .services-intro {
    padding: 42px var(--pad) 30px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .services .services-intro h2 {
    width: auto;
    max-width: 320px;
    font-size: 30px;
  }

  .services .services-intro p {
    max-width: 300px;
    font-size: 13px;
    line-height: 1.55;
  }

  .section-heading,
  .section-heading--wide {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .section-heading p:not(.section-index) {
    grid-column: auto;
  }

  .split-section__visual {
    min-height: 360px;
  }

  .split-section h2,
  .about-section h2,
  .section-heading h2 {
    font-size: clamp(34px, 7vw, 52px);
  }

  .compact-form {
    grid-column: auto;
    grid-template-columns: repeat(2, 1fr);
    padding: 32px;
  }

  .compact-form h2 {
    font-size: 28px;
  }

  .compact-form > p {
    font-size: 14px;
  }

  .about-section__facts {
    max-width: none;
  }

  .about-section__content,
  .about-section__facts {
    min-width: 0;
  }

  .about-section__content {
    grid-template-columns: minmax(0, 1fr);
  }

  .about-section__content > p:not(.section-index) {
    grid-column: auto;
  }

  .request-section__content {
    position: static;
  }

  .insight-grid {
    grid-template-columns: 1fr;
  }

  .insight-card {
    grid-template-columns: minmax(240px, 0.8fr) minmax(0, 1fr);
    grid-template-rows: 1fr;
  }

  .insight-card__media {
    min-height: 280px;
    aspect-ratio: auto;
  }

  .footer {
    grid-template-columns: 1fr;
  }

  .footer address {
    text-align: left;
  }
}

@media (max-width: 620px) {
  .floating-cta {
    right: 16px;
    bottom: max(14px, env(safe-area-inset-bottom));
    left: 16px;
    width: auto;
    min-height: 56px;
  }

  .hero h1 {
    font-size: clamp(34px, 10vw, 42px);
    line-height: 1.04;
  }

  .brand__mark {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
  }

  .brand__name {
    font-size: 14px;
    letter-spacing: 0.1em;
  }

  .brand__line {
    font-size: 10.5px;
    letter-spacing: 0.12em;
  }

  .hero__actions,
  .button {
    width: 100%;
  }

  .service-grid,
  .timeline,
  .lead-form,
  .about-section__facts {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    margin-bottom: 30px;
  }

  .hero-stats div:nth-child(3) {
    border-left: 0;
  }

  .hero-stats div:nth-child(2),
  .hero-stats div:nth-child(4) {
    border-left: 1px solid var(--line);
  }

  .hero-stats div:nth-child(3),
  .hero-stats div:nth-child(4),
  .service-card,
  .service-card:nth-child(2),
  .service-card:nth-child(3),
  .service-card:nth-child(4),
  .timeline li {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .service-card:first-child,
  .timeline li:first-child {
    border-top: 0;
  }

  .service-card,
  .timeline li {
    height: auto;
    min-height: auto;
    padding-inline: 0;
  }

  .service-card {
    padding-block: 34px;
  }

  .service-card h3 {
    font-size: 18px;
  }

  .service-card p {
    max-width: 340px;
    font-size: 15px;
    line-height: 1.58;
  }

  .compact-form {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 28px 24px;
  }

  .compact-form h2 {
    font-size: 25px;
  }

  .compact-form > p {
    font-size: 13px;
    line-height: 1.5;
  }

  .compact-form input {
    min-height: 50px;
    font-size: 15px;
  }

  .compact-form textarea {
    height: 116px;
    min-height: 116px;
    font-size: 15px;
  }

  .compact-form .button {
    min-height: 48px;
  }

  .compact-form .consent span {
    font-size: 12px;
  }

  .insight-card {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
  }

  .insight-card__media {
    min-height: 0;
    aspect-ratio: 1672 / 941;
  }

  .insight-card__body {
    min-height: 0;
    padding: 28px 24px;
  }

  .insight-card h3 {
    margin-top: 24px;
    font-size: 26px;
  }

  .about-section__facts div {
    min-height: 112px;
    padding: 24px 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .about-section__facts div:first-child {
    border-top: 0;
  }
}

@media (min-width: 1600px) {
  .case-card__body {
    min-height: 310px;
    padding: 38px;
  }

  .case-card__meta {
    font-size: 13px;
  }

  .case-card h3 {
    font-size: 32px;
  }

  .case-card address {
    font-size: 17px;
  }

  .compact-form.projects__form {
    grid-template-columns: minmax(360px, 0.9fr) repeat(3, minmax(0, 1fr));
    gap: 14px;
    padding: 40px 46px;
  }

  .projects__form-copy {
    padding-right: 46px;
  }

  .compact-form.projects__form .projects__form-copy h2 {
    font-size: 32px;
  }

  .projects__form-copy p {
    font-size: 15px;
  }
}

@media (max-width: 1180px) {
  .case-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .case-card:nth-child(3) {
    grid-column: 1 / -1;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
    grid-template-rows: 1fr;
  }

  .case-card:nth-child(3) .case-card__media {
    min-height: 320px;
    aspect-ratio: auto;
  }

  .compact-form.projects__form {
    grid-template-areas:
      "copy copy"
      "name phone"
      "email email"
      "message message"
      "consent submit"
      "status status";
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 32px 40px;
  }

  .projects__form-copy {
    padding: 0 0 28px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 900px) {
  .case-grid {
    grid-template-columns: 1fr;
  }

  .case-card:nth-child(3) {
    grid-column: auto;
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
  }

  .case-card:nth-child(3) .case-card__media {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 620px) {
  .section-shell.projects {
    padding-block: 72px;
  }

  .case-card__body {
    min-height: 0;
    padding: 28px 24px;
  }

  .case-card__meta {
    align-items: flex-start;
    font-size: 11.5px;
  }

  .case-card h3 {
    margin-top: 28px;
    font-size: 26px;
  }

  .compact-form.projects__form {
    grid-template-areas:
      "copy"
      "name"
      "phone"
      "email"
      "message"
      "consent"
      "submit"
      "status";
    grid-template-columns: 1fr;
    padding: 28px 24px;
  }

  .projects__form-copy {
    padding-bottom: 24px;
  }

  .cookie-gate {
    bottom: max(10px, env(safe-area-inset-bottom));
    padding-inline: 10px;
  }

  .cookie-notice {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 20px;
  }

  .cookie-notice__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .cookie-notice__actions .button {
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 360px) {
  .site-nav__mobile-contact {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .motion-reveal,
  .hero__media,
  .hero h1,
  .hero__lead,
  .hero__actions,
  .hero-stats,
  .hero__rule {
    clip-path: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .service-card__icon path {
    stroke-dashoffset: 0 !important;
  }

  .site-header .brand__mark img {
    opacity: 1 !important;
    transform: none !important;
  }

  .hero::after,
  .hero__media::after,
  .services::after {
    display: none;
  }
}
