:root {
  --brand: #da291c;
  --brand-dark: #b91f16;
  --ink: #1f2a30;
  --muted: #5f686e;
  --line: #dde1e3;
  --soft: #f4f5f5;
  --white: #ffffff;
  --header-height: 106px;
  --shell: min(1420px, calc(100vw - 96px));
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Arial Nova", Arial, "Helvetica Neue", sans-serif;
  font-size: 17px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

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

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 12px 16px;
  color: var(--white);
  background: var(--ink);
  transform: translateY(-150%);
  transition: transform 180ms ease;
}

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

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

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  height: var(--header-height);
  background: rgb(255 255 255 / 96%);
  border-bottom: 1px solid transparent;
  transition: border-color 220ms ease, box-shadow 220ms ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 12px 30px rgb(31 42 48 / 5%);
}

.header-inner {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  width: 104px;
  align-items: center;
  text-decoration: none;
}

.brand-logo {
  display: block;
  width: 100%;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(24px, 3vw, 54px);
}

.site-nav a {
  position: relative;
  padding-block: 10px;
  font-size: 0.93rem;
  font-weight: 800;
  letter-spacing: 0.025em;
  text-decoration: none;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 2px;
  background: var(--brand);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms var(--ease);
}

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

.site-nav .nav-contact {
  padding: 12px 18px;
  color: var(--white);
  background: var(--brand);
}

.site-nav .nav-contact::after {
  display: none;
}

.site-nav .nav-contact:hover {
  background: var(--brand-dark);
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 11px;
  border: 0;
  color: var(--ink);
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin-block: 6px;
  background: currentColor;
  transition: transform 220ms ease, opacity 180ms ease;
}

.hero {
  display: grid;
  min-height: calc(100svh - var(--header-height));
  padding-top: 46px;
  grid-template-columns: minmax(0, 1fr) minmax(520px, 1.3fr);
  grid-template-rows: 1fr auto;
  column-gap: clamp(44px, 6vw, 108px);
}

.hero-copy {
  min-width: 0;
  align-self: center;
  padding-block: 42px 74px;
  container-type: inline-size;
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(3.8rem, 5vw, 5.2rem);
  font-size: clamp(3.8rem, 14cqi, 5.2rem);
  font-weight: 850;
  letter-spacing: -0.055em;
  line-height: 0.93;
}

.hero-copy > p {
  max-width: 630px;
  margin: 42px 0 0;
  color: var(--muted);
  font-size: clamp(1.15rem, 1.5vw, 1.6rem);
  line-height: 1.35;
}

.hero-actions {
  display: flex;
  margin-top: 42px;
  align-items: center;
  gap: 30px;
}

.button {
  display: inline-flex;
  min-height: 58px;
  padding: 15px 24px;
  align-items: center;
  justify-content: center;
  gap: 20px;
  border: 2px solid var(--brand);
  font-size: 0.98rem;
  font-weight: 850;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: color 200ms ease, background-color 200ms ease, transform 200ms var(--ease);
}

.button svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: square;
  stroke-linejoin: miter;
  stroke-width: 2;
}

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

.button-primary {
  color: var(--white);
  background: var(--brand);
}

.button-primary:hover {
  border-color: var(--brand-dark);
  background: var(--brand-dark);
}

.button-outline {
  margin-top: 52px;
  color: var(--brand);
  background: var(--white);
}

.button-outline:hover {
  color: var(--white);
  background: var(--brand);
}

.text-link {
  position: relative;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 850;
  text-decoration: none;
}

.text-link::after {
  position: absolute;
  right: 0;
  bottom: -5px;
  left: 0;
  height: 2px;
  background: var(--brand);
  content: "";
}

.hero-rule {
  display: block;
  width: 92px;
  height: 6px;
  margin-top: 72px;
  background: var(--brand);
}

.hero-media {
  display: grid;
  align-self: stretch;
  margin: 0;
  grid-template-rows: minmax(560px, 1fr) auto;
}

.hero-media img {
  height: 100%;
  min-height: 560px;
  object-fit: cover;
  object-position: center 44%;
}

.hero-media figcaption,
.media-card figcaption {
  padding-top: 12px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-summary {
  display: grid;
  padding-block: 36px 34px;
  border-top: 1px solid var(--line);
  grid-column: 1 / -1;
  grid-template-columns: repeat(3, 1fr);
}

.hero-summary span {
  position: relative;
  padding: 8px 34px 8px 0;
  font-size: clamp(1.05rem, 1.3vw, 1.35rem);
  font-weight: 850;
}

.hero-summary span:not(:first-child) {
  padding-left: 42px;
  border-left: 1px solid var(--line);
}

.hero-summary span::after {
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 72px;
  height: 4px;
  background: var(--brand);
  content: "";
}

.hero-summary span:not(:first-child)::after {
  left: 42px;
}

.section {
  padding-block: clamp(112px, 10vw, 172px);
}

.section-heading {
  max-width: 1180px;
  margin-bottom: clamp(68px, 7vw, 110px);
}

.section-index {
  margin: 0 0 24px;
  color: var(--brand);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section h2,
.contact h2 {
  margin: 0;
  font-size: clamp(3rem, 5vw, 6rem);
  font-weight: 850;
  letter-spacing: -0.05em;
  line-height: 0.98;
}

.section-lead {
  max-width: 1020px;
  margin: 34px 0 0;
  color: var(--muted);
  font-size: clamp(1.1rem, 1.5vw, 1.42rem);
  line-height: 1.45;
}

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

.services-layout {
  display: grid;
  align-items: start;
  grid-template-columns: minmax(0, 1.22fr) minmax(360px, 0.7fr);
  gap: clamp(52px, 7vw, 120px);
}

.service-list {
  border-top: 1px solid var(--line);
}

.service-row {
  display: grid;
  padding-block: 28px;
  border-bottom: 1px solid var(--line);
  grid-template-columns: 84px 1fr;
  gap: 18px;
}

.service-number {
  color: var(--brand);
  font-size: 1.55rem;
  font-weight: 900;
  line-height: 1.15;
}

.service-row > div {
  padding-left: 22px;
  border-left: 5px solid var(--brand);
}

.service-row h3,
.sector-grid h4,
.process-list h3,
.project-card h3 {
  margin: 0;
  font-size: 1.22rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.service-row p {
  max-width: 720px;
  margin: 7px 0 0;
  color: var(--muted);
}

.services-media {
  position: sticky;
  top: calc(var(--header-height) + 30px);
  display: grid;
  gap: 28px;
}

.media-card {
  margin: 0;
}

.media-card img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.media-card-tall img {
  aspect-ratio: 5 / 4;
}

.sectors {
  padding-top: clamp(90px, 9vw, 144px);
}

.sectors > h3 {
  margin: 0 0 34px;
  color: var(--brand);
  font-size: 0.86rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.sector-grid {
  display: grid;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  grid-template-columns: repeat(4, 1fr);
}

.sector-grid article {
  position: relative;
  min-height: 190px;
  padding: 34px 34px 34px 30px;
}

.sector-grid article:not(:first-child) {
  border-left: 1px solid var(--line);
}

.sector-grid article::before {
  position: absolute;
  top: 36px;
  bottom: 36px;
  left: 0;
  width: 5px;
  background: var(--brand);
  content: "";
}

.sector-grid h4 {
  font-size: 1.5rem;
}

.sector-grid p {
  margin: 13px 0 0;
  color: var(--muted);
  line-height: 1.45;
}

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

.projects-heading {
  margin-bottom: 74px;
}

.project-feature {
  display: grid;
  padding-block: 28px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  align-items: stretch;
  grid-template-columns: minmax(0, 3fr) minmax(300px, 1fr);
}

.project-feature figure,
.project-card figure {
  margin: 0;
  overflow: hidden;
}

.project-feature img {
  height: clamp(500px, 52vw, 760px);
  object-fit: cover;
  object-position: center;
  transition: transform 800ms var(--ease);
}

.project-feature:hover img,
.project-card:hover img {
  transform: scale(1.025);
}

.project-feature-copy {
  display: flex;
  padding: 54px 0 54px clamp(38px, 5vw, 76px);
  flex-direction: column;
  justify-content: center;
}

.project-feature-copy span,
.project-card > span {
  color: var(--brand);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.project-feature-copy span::before {
  display: block;
  width: 60px;
  height: 5px;
  margin-bottom: 24px;
  background: var(--brand);
  content: "";
}

.project-feature-copy h3 {
  margin: 18px 0 0;
  font-size: clamp(2rem, 3vw, 3.6rem);
  letter-spacing: -0.04em;
  line-height: 1;
}

.project-feature-copy p {
  margin: 26px 0 0;
  color: var(--muted);
  line-height: 1.5;
}

.project-grid {
  display: grid;
  margin-top: 32px;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.project-card {
  min-width: 0;
}

.project-card figure {
  margin-bottom: 22px;
}

.project-card img {
  height: 310px;
  object-fit: cover;
  transition: transform 700ms var(--ease);
}

.project-card:nth-child(2) img {
  object-position: center 72%;
}

.project-card h3 {
  margin-top: 9px;
  font-size: 1.24rem;
}

.before-after {
  margin-top: clamp(100px, 10vw, 160px);
  padding-top: clamp(72px, 7vw, 110px);
  border-top: 1px solid var(--line);
}

.before-after-heading {
  display: grid;
  margin-bottom: 46px;
  align-items: end;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.65fr);
  gap: 48px;
}

.before-after-heading .section-index {
  grid-column: 1 / -1;
  margin-bottom: -20px;
}

.before-after-heading h3 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(2.5rem, 4.3vw, 5.1rem);
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.before-after-heading > p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.before-after-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(42px, 5vw, 76px);
}

.comparison-case {
  min-width: 0;
}

.comparison-title {
  margin-bottom: 20px;
}

.comparison-title span {
  color: var(--brand);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.comparison-title h4 {
  margin: 8px 0 0;
  font-size: 1.45rem;
  letter-spacing: -0.025em;
}

.comparison-images {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.comparison-images figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: var(--soft);
}

.comparison-images img {
  aspect-ratio: 4 / 3;
  height: 100%;
  object-fit: cover;
}

.comparison-images-portrait img {
  aspect-ratio: 3 / 4;
}

.comparison-images figcaption {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 7px 11px;
  color: var(--white);
  background: var(--ink);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.comparison-images figure:last-child figcaption {
  background: var(--brand);
}

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

.about-grid {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.95fr);
  gap: clamp(60px, 8vw, 140px);
}

.about-media {
  margin: 0;
}

.about-media img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.about-copy h2 {
  font-size: clamp(3rem, 4.8vw, 5.8rem);
}

.about-copy > p:not(.section-index) {
  max-width: 720px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 1.18rem;
}

.about-copy small {
  display: block;
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.82rem;
}

.process {
  margin-top: clamp(110px, 11vw, 180px);
}

.process-heading {
  display: grid;
  margin-bottom: 58px;
  align-items: end;
  grid-template-columns: 1fr 2fr;
}

.process-heading .section-index {
  margin-bottom: 12px;
}

.process-heading h2 {
  font-size: clamp(2.8rem, 4.4vw, 5.2rem);
}

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

.process-list li {
  min-height: 220px;
  padding: 38px 30px;
}

.process-list li:not(:first-child) {
  border-left: 1px solid var(--line);
}

.process-list span {
  display: block;
  margin-bottom: 26px;
  color: var(--brand);
  font-size: 2rem;
  font-weight: 900;
}

.process-list p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.4;
}

.contact {
  padding-bottom: clamp(76px, 8vw, 130px);
}

.contact-panel {
  position: relative;
  display: grid;
  padding: clamp(44px, 6vw, 86px);
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  gap: 64px;
}

.contact-panel::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 8px;
  background: var(--brand);
  content: "";
}

.contact-label {
  margin: 0 0 22px;
  color: #d9dddf;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.contact h2 {
  max-width: 850px;
  font-size: clamp(2.8rem, 4.5vw, 5.3rem);
}

.contact-panel > div > p:last-child {
  max-width: 700px;
  margin: 26px 0 0;
  color: #d9dddf;
  font-size: 1.1rem;
}

.contact-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 12px;
}

.contact-actions > a,
.contact-trigger {
  position: relative;
  color: var(--white);
  font-size: clamp(1.25rem, 2vw, 2rem);
  font-weight: 850;
  text-decoration-color: var(--brand);
  text-decoration-thickness: 3px;
  text-underline-offset: 7px;
}

.contact-trigger {
  padding: 0 0 5px;
  border: 0;
  border-bottom: 3px solid var(--brand);
  background: transparent;
  cursor: pointer;
}

.contact-trigger:hover {
  color: #f0f2f3;
}

.contact-actions address {
  margin-top: 24px;
  color: #d9dddf;
  font-size: 1rem;
  font-style: normal;
}

.site-footer {
  padding-block: 42px;
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: grid;
  align-items: end;
  grid-template-columns: 1fr auto auto;
  gap: 50px;
}

.brand-footer {
  width: 76px;
}

.footer-inner p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.footer-company {
  display: grid;
  gap: 9px;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.footer-legal a {
  color: var(--muted);
  font-size: 0.78rem;
  text-underline-offset: 3px;
}

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

.contact-dialog {
  width: min(980px, calc(100% - 40px));
  max-height: calc(100dvh - 40px);
  overflow-y: auto;
  padding: 0;
  border: 0;
  color: var(--ink);
  background: var(--white);
  box-shadow: 0 24px 100px rgb(0 0 0 / 24%);
}

.contact-dialog::backdrop {
  background: rgb(31 42 48 / 74%);
  backdrop-filter: blur(3px);
}

.dialog-card {
  position: relative;
  padding: clamp(34px, 5vw, 68px);
}

.dialog-card::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 7px;
  background: var(--brand);
  content: "";
}

.dialog-close {
  position: absolute;
  z-index: 2;
  top: 18px;
  right: 20px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  color: var(--ink);
  background: transparent;
  font-size: 2.1rem;
  line-height: 1;
  cursor: pointer;
}

.dialog-heading {
  padding-right: 54px;
}

.dialog-heading .section-index {
  margin-bottom: 15px;
}

.dialog-heading h2 {
  margin: 0;
  font-size: clamp(2.5rem, 5vw, 4.6rem);
  letter-spacing: -0.05em;
  line-height: 0.98;
}

.dialog-heading > p:last-child {
  margin: 18px 0 0;
  color: var(--muted);
}

.contact-form {
  position: relative;
  margin-top: 36px;
}

.contact-trap {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid #bbc2c6;
  border-radius: 0;
  color: var(--ink);
  background: var(--white);
  font: inherit;
}

.contact-form input,
.contact-form select {
  min-height: 50px;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--brand);
  outline: 2px solid rgb(218 41 28 / 18%);
  outline-offset: 0;
}

.form-message {
  margin-top: 24px;
}

.privacy-check {
  display: flex !important;
  margin-top: 22px;
  align-items: flex-start;
  gap: 12px !important;
  font-weight: 600 !important;
}

.privacy-check input {
  width: 20px;
  min-height: 20px;
  margin: 2px 0 0;
  accent-color: var(--brand);
}

.privacy-check a {
  color: var(--brand-dark);
}

.form-privacy {
  max-width: 820px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.45;
}

.form-actions {
  display: flex;
  margin-top: 28px;
  align-items: center;
  gap: 20px;
}

.form-status {
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.form-status.is-success {
  color: #18743a;
  font-weight: 800;
}

.form-status.is-error {
  color: var(--brand-dark);
  font-weight: 800;
}

.contact-form button:disabled {
  cursor: wait;
  opacity: 0.65;
  transform: none;
}

.cookie-notice {
  position: fixed;
  z-index: 120;
  right: 22px;
  bottom: 22px;
  left: 22px;
  display: flex;
  max-width: 960px;
  margin-inline: auto;
  padding: 18px 20px;
  border-left: 6px solid var(--brand);
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: var(--ink);
  box-shadow: 0 14px 50px rgb(0 0 0 / 20%);
}

.cookie-notice[hidden] {
  display: none;
}

.cookie-notice p {
  margin: 0;
  color: #f0f2f3;
  font-size: 0.88rem;
}

.cookie-notice a {
  color: var(--white);
}

.cookie-notice button {
  flex: 0 0 auto;
  padding: 10px 16px;
  border: 0;
  color: var(--white);
  background: var(--brand);
  font-weight: 850;
  cursor: pointer;
}

.legal-main {
  min-height: 65vh;
  padding-block: clamp(70px, 8vw, 124px);
}

.legal-hero {
  max-width: 1040px;
  padding-bottom: clamp(54px, 6vw, 84px);
  border-bottom: 1px solid var(--line);
}

.legal-hero h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(3.2rem, 6vw, 6.8rem);
  letter-spacing: -0.055em;
  line-height: 0.94;
}

.legal-hero > p:last-child {
  max-width: 820px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 1.1rem;
}

.legal-note {
  max-width: 980px;
  margin: 42px 0 0;
  padding: 20px 22px;
  border-left: 5px solid var(--brand);
  background: var(--soft);
  color: var(--muted);
}

.legal-content {
  max-width: 980px;
  padding-top: 30px;
}

.legal-section {
  padding-block: 34px;
  border-bottom: 1px solid var(--line);
}

.legal-section h2 {
  margin: 0 0 18px;
  font-size: clamp(1.7rem, 2.6vw, 2.5rem);
  letter-spacing: -0.03em;
}

.legal-section h3 {
  margin: 28px 0 10px;
  font-size: 1.15rem;
}

.legal-section p,
.legal-section li {
  color: var(--muted);
}

.legal-section p {
  margin: 12px 0 0;
}

.legal-section ul {
  margin: 14px 0 0;
  padding-left: 22px;
}

.legal-section li + li {
  margin-top: 8px;
}

.legal-section a {
  color: var(--brand-dark);
}

.legal-return {
  margin-top: 42px;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 760ms var(--ease), transform 760ms var(--ease);
}

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

@media (max-width: 1180px) {
  :root {
    --shell: min(100% - 64px, 1200px);
  }

  .hero {
    grid-template-columns: minmax(340px, 0.9fr) minmax(420px, 1.1fr);
    column-gap: 48px;
  }

  .hero h1 {
    font-size: clamp(3.4rem, 5.2vw, 4.4rem);
    font-size: clamp(3.4rem, 13.5cqi, 4.4rem);
  }

  .services-layout {
    grid-template-columns: minmax(0, 1.4fr) minmax(300px, 0.6fr);
    gap: 60px;
  }

  .project-grid {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 44px;
  }

  .before-after-grid {
    grid-template-columns: 1fr;
  }

  .about-grid {
    grid-template-columns: 1fr 1fr;
    gap: 60px;
  }
}

@media (min-width: 901px) and (max-width: 1000px) {
  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .hero h1 {
    max-width: 720px;
    font-size: clamp(3.4rem, 7vw, 4.5rem);
  }
}

@media (max-width: 900px) {
  :root {
    --header-height: 84px;
    --shell: calc(100% - 40px);
  }

  .brand {
    width: 84px;
  }

  .menu-toggle {
    display: block;
  }

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

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

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

  .site-nav {
    position: fixed;
    z-index: 99;
    top: var(--header-height);
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    padding: 34px 20px 60px;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    background: var(--white);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-18px);
    transition: opacity 200ms ease, transform 240ms var(--ease);
  }

  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav a {
    padding: 18px 6px;
    border-bottom: 1px solid var(--line);
    font-size: 1.45rem;
  }

  .site-nav .nav-contact {
    margin-top: 24px;
    padding: 18px;
    border-bottom: 0;
    text-align: center;
  }

  .hero {
    min-height: auto;
    padding-top: 34px;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .hero-copy {
    padding-block: 42px 68px;
  }

  .hero h1 {
    max-width: 720px;
    font-size: clamp(3.4rem, 10vw, 6rem);
  }

  .hero-media {
    grid-template-rows: minmax(440px, 64vh) auto;
  }

  .hero-media img {
    min-height: 440px;
  }

  .hero-summary {
    grid-template-columns: 1fr;
  }

  .hero-summary span,
  .hero-summary span:not(:first-child) {
    padding: 24px 0;
    border-left: 0;
  }

  .hero-summary span:not(:last-child) {
    border-bottom: 1px solid var(--line);
  }

  .hero-summary span::after,
  .hero-summary span:not(:first-child)::after {
    right: 0;
    bottom: auto;
    left: auto;
    width: 52px;
    top: 50%;
    transform: translateY(-50%);
  }

  .services-layout {
    grid-template-columns: 1fr;
  }

  .services-media {
    position: static;
    grid-template-columns: 1fr 1fr;
  }

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

  .sector-grid article:nth-child(3) {
    border-left: 0;
  }

  .sector-grid article:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .project-feature {
    grid-template-columns: 1fr;
  }

  .project-feature img {
    height: min(70vw, 620px);
  }

  .project-feature-copy {
    padding: 46px 0 28px;
  }

  .before-after-heading {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .before-after-heading .section-index {
    margin-bottom: 0;
  }

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

  .about-media {
    order: 2;
  }

  .process-heading {
    display: block;
  }

  .process-list {
    grid-template-columns: 1fr 1fr;
  }

  .process-list li:nth-child(3) {
    border-left: 0;
  }

  .process-list li:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .contact-panel {
    grid-template-columns: 1fr;
  }

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

  .footer-company {
    grid-column: 1 / -1;
    grid-row: 2;
  }
}

@media (max-width: 600px) {
  :root {
    --shell: calc(100% - 32px);
  }

  body {
    font-size: 16px;
  }

  .hero-copy {
    padding-top: 28px;
  }

  .hero h1 {
    font-size: clamp(3.05rem, 15vw, 4.6rem);
    letter-spacing: -0.06em;
  }

  .hero-copy > p {
    margin-top: 30px;
    font-size: 1.15rem;
  }

  .hero-actions {
    margin-top: 34px;
    flex-direction: column;
    align-items: stretch;
    gap: 22px;
  }

  .hero-actions .text-link {
    align-self: flex-start;
  }

  .button {
    width: 100%;
    min-height: 56px;
    padding-inline: 18px;
  }

  .hero-rule {
    margin-top: 54px;
  }

  .hero-media {
    grid-template-rows: 420px auto;
  }

  .hero-media img {
    min-height: 420px;
  }

  .section {
    padding-block: 100px;
  }

  .section-heading {
    margin-bottom: 58px;
  }

  .section h2,
  .contact h2 {
    font-size: clamp(2.7rem, 13vw, 4rem);
  }

  .service-row {
    grid-template-columns: 56px 1fr;
    gap: 8px;
  }

  .service-row > div {
    padding-left: 16px;
    border-left-width: 4px;
  }

  .services-media {
    grid-template-columns: 1fr;
  }

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

  .sector-grid article,
  .sector-grid article:nth-child(3) {
    border-left: 0;
  }

  .sector-grid article:not(:first-child) {
    border-top: 1px solid var(--line);
  }

  .project-feature img {
    height: 420px;
  }

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

  .project-card img {
    height: 360px;
  }

  .process-list {
    grid-template-columns: 1fr;
  }

  .process-list li,
  .process-list li:nth-child(3) {
    min-height: 0;
    border-left: 0;
  }

  .process-list li:not(:first-child) {
    border-top: 1px solid var(--line);
  }

  .contact {
    width: 100%;
    padding-bottom: 0;
  }

  .contact-panel {
    padding: 54px 26px 58px 34px;
    gap: 48px;
  }

  .contact-actions > a,
  .contact-trigger {
    font-size: 1.28rem;
  }

  .comparison-images {
    gap: 8px;
  }

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

  .form-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .cookie-notice {
    right: 12px;
    bottom: 12px;
    left: 12px;
    align-items: stretch;
    flex-direction: column;
    gap: 14px;
  }

  .cookie-notice button {
    width: 100%;
  }

  .site-footer {
    padding-block: 34px;
  }

  .footer-inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }

  .footer-company {
    order: 2;
  }
}

@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;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
