:root {
  --ink: #151719;
  --muted: #686b6d;
  --paper: #f7f7f5;
  --white: #ffffff;
  --line: rgba(21, 23, 25, 0.18);
  --blue: #e23832;
  --blue-dark: #bd2723;
  --radius: 18px;
  --page-margin: calc(2vw + clamp(2.25rem, 5vw, 6rem));
  --section-space: clamp(5.5rem, 10vw, 11rem);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: clip;
  color: var(--ink);
  background: var(--paper);
  font-family: "Suisse Intl", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

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

img {
  display: block;
  max-width: 100%;
}

button,
input,
textarea {
  font: inherit;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  color: var(--white);
  background: var(--ink);
  transform: translateY(-150%);
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 82px;
  padding: 0 4vw;
  border-bottom: 1px solid transparent;
  transition: background 180ms ease, border-color 180ms ease;
}

.site-header.scrolled {
  border-color: var(--line);
  background: rgba(243, 241, 235, 0.94);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  line-height: 0.95;
  text-transform: uppercase;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: var(--white);
  background: var(--blue);
  font-size: 1rem;
  letter-spacing: -0.04em;
}

.brand-name {
  font-size: 0.67rem;
  letter-spacing: 0.09em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.4vw, 2.5rem);
  font-size: 0.82rem;
  font-weight: 700;
}

.site-nav a {
  position: relative;
}

.site-nav a:not(.nav-cta)::after {
  position: absolute;
  right: 0;
  bottom: -0.35rem;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

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

.nav-cta {
  padding: 0.75rem 1rem;
  color: var(--white);
  background: var(--ink);
}

.menu-button {
  display: none;
}

.hero {
  position: relative;
  min-height: 100svh;
  padding: 6.7rem 2vw 2rem;
}

.hero-shell {
  position: relative;
  min-height: 0;
  overflow: hidden;
  border-radius: 28px;
  background: #e9e8e5;
  box-shadow: 0 24px 80px rgba(21, 23, 25, 0.08);
}

.hero-shell::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(247, 247, 245, 0.99) 0%, rgba(247, 247, 245, 0.94) 35%, rgba(247, 247, 245, 0.2) 66%, rgba(247, 247, 245, 0) 78%);
  content: "";
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 3;
  display: flex;
  width: min(64%, 920px);
  min-width: 0;
  flex-direction: column;
  justify-content: flex-start;
  padding: clamp(3.5rem, 6vh, 5.5rem) 2rem 1cm clamp(2.25rem, 5vw, 6rem);
}

.eyebrow,
.section-index {
  margin: 0 0 2rem;
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section-index {
  display: none;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 920px;
  margin-bottom: 2rem;
  font-size: clamp(4rem, 5.6vw, 6.8rem);
  font-weight: 700;
  letter-spacing: -0.065em;
  line-height: 0.92;
}

h1 em {
  color: var(--blue);
  font-family: inherit;
  font-style: normal;
  font-weight: 700;
}

.hero-lead {
  max-width: 38rem;
  margin-bottom: 2.5rem;
  color: #3f4244;
  font-size: clamp(1rem, 1.35vw, 1.3rem);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.35rem;
  border: 0;
  border-radius: 0;
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

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

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

.button-primary:hover {
  background: var(--blue-dark);
}

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

.hero-visual {
  position: absolute;
  inset: 0;
  margin: 0;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.88) contrast(1.02);
}

.hero-visual figcaption {
  position: absolute;
  right: 1rem;
  top: 1rem;
  bottom: auto;
  z-index: 4;
  display: flex;
  gap: 0.75rem;
  padding: 0.6rem 0.75rem;
  color: var(--white);
  background: rgba(21, 23, 25, 0.82);
  font-size: 0.64rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-projects {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  width: 100%;
  margin-top: clamp(2rem, 4vh, 3.4rem);
}

.hero-project-card {
  position: relative;
  display: block;
  min-width: 0;
  min-height: clamp(112px, 14vh, 142px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.hero-project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 30px rgba(21, 23, 25, 0.13);
}

.hero-project-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.04);
}

.section {
  width: var(--page);
  margin: 0 auto;
  padding: var(--section-space) 0;
}

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

.intro-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(3rem, 8vw, 10rem);
}

.intro h2,
.section-heading h2,
.advantages h2 {
  margin: 0;
  font-size: clamp(2.6rem, 5vw, 6.5rem);
  letter-spacing: -0.065em;
  line-height: 0.96;
}

.intro h2 span {
  color: #9a9a95;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}

.intro-copy {
  align-self: start;
  max-width: 34rem;
  color: #46494b;
  font-size: 1.05rem;
}

.intro-copy p:last-child {
  margin-bottom: 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-weight: 700;
}

.intro-visual {
  height: clamp(260px, 28vw, 430px);
  margin-top: clamp(3rem, 6vw, 6rem);
  overflow: hidden;
  border-radius: 22px;
  background: #e9e8e5;
}

.intro-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 48%;
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr minmax(260px, 0.45fr);
  gap: 3rem;
  align-items: end;
  margin-bottom: clamp(3rem, 6vw, 6rem);
}

.section-heading > p {
  max-width: 32rem;
  margin-bottom: 0;
  color: var(--muted);
}

.direction-list {
  border-top: 1px solid var(--ink);
}

.direction-item {
  display: grid;
  grid-template-columns: 80px 1fr 180px 32px;
  gap: 2rem;
  align-items: center;
  padding: 2.2rem 0;
  border-bottom: 1px solid var(--line);
  transition: padding 180ms ease, color 180ms ease;
}

.direction-item:hover {
  padding-right: 1rem;
  padding-left: 1rem;
  color: var(--blue);
}

.direction-number {
  color: var(--muted);
  font-size: 0.75rem;
}

.direction-item h3 {
  margin-bottom: 0.35rem;
  font-size: clamp(1.5rem, 2.5vw, 2.7rem);
  letter-spacing: -0.04em;
}

.direction-item p {
  max-width: 45rem;
  margin-bottom: 0;
  color: var(--muted);
}

.direction-tag {
  color: var(--muted);
  font-size: 0.75rem;
  text-transform: uppercase;
}

.direction-arrow {
  font-size: 1.25rem;
}

.more-types {
  margin-top: 2.5rem;
}

.more-types summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 700;
  list-style: none;
  text-transform: uppercase;
}

.more-types summary::-webkit-details-marker {
  display: none;
}

.type-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  padding: 1.5rem 0 0.5rem;
}

.type-cloud span,
.cost-factors span {
  padding: 0.8rem 1rem;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.82rem;
}

.projects {
  width: 100%;
  background: var(--white);
}

.projects .section-heading {
  width: auto;
  margin-right: var(--page-margin);
  margin-left: var(--page-margin);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: repeat(6, minmax(96px, 1fr));
  gap: 0.9rem;
  min-height: 920px;
  margin: 0 var(--page-margin);
}

.project-card {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  background: #ddd;
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

.project-a {
  grid-column: 1 / span 7;
  grid-row: 1 / span 3;
}

.project-b {
  grid-column: 1 / span 7;
  grid-row: 4 / span 3;
}

.project-c {
  grid-column: 8 / span 5;
  grid-row: 1 / span 2;
}

.project-d {
  grid-column: 8 / span 5;
  grid-row: 3 / span 2;
}

.project-e {
  grid-column: 8 / span 5;
  grid-row: 5 / span 2;
}

.project-caption {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  padding: 1rem 1.1rem;
  border-radius: 14px;
  color: var(--ink);
  background: rgba(248, 248, 246, 0.93);
  backdrop-filter: blur(10px);
}

.project-caption h3 {
  margin-bottom: 0.2rem;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
}

.project-caption p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.project-caption {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
}

.project-caption button {
  flex: 0 0 auto;
  padding: 0 0 0.15rem;
  border: 0;
  border-bottom: 1px solid currentColor;
  color: var(--ink);
  background: transparent;
  cursor: pointer;
  font-size: 0.75rem;
  font-weight: 700;
}

.project-card:nth-child(n + 6) {
  grid-column: span 4;
  grid-row: auto;
  min-height: 320px;
}

.projects-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: clamp(1.5rem, 4vw, 4rem);
  margin: 1.25rem var(--page-margin) 0;
  padding: 1.5rem 0;
  border-top: 1px solid var(--line);
}

.projects-count {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.projects-count strong {
  color: var(--blue);
  font-size: clamp(2.8rem, 5vw, 5rem);
  letter-spacing: -0.07em;
  line-height: 1;
}

.projects-count span,
.projects-note {
  max-width: 20rem;
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.process {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: clamp(3rem, 10vw, 10rem);
  width: 100%;
  max-width: none;
  padding-right: 4vw;
  padding-left: 4vw;
  color: var(--white);
  background: var(--ink);
}

.section-index-light {
  color: #84a1ff;
}

.process-intro h2,
.brief h2 {
  margin: 0 0 2rem;
  font-size: clamp(2.7rem, 5vw, 6.5rem);
  letter-spacing: -0.06em;
  line-height: 0.95;
}

.process-intro > p:last-child {
  max-width: 25rem;
  color: #a8abad;
}

.process-steps {
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  list-style: none;
}

.process-steps li {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 1.5rem;
  padding: 2rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.process-steps li > span {
  color: #84a1ff;
  font-size: 0.72rem;
}

.process-steps h3 {
  margin-bottom: 0.4rem;
  font-size: 1.35rem;
}

.process-steps p {
  max-width: 34rem;
  margin-bottom: 0;
  color: #a8abad;
}

.advantages {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(3rem, 8vw, 8rem);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.advantages-intro > p:last-child {
  max-width: 40rem;
  margin: 2.5rem 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.advantages-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--ink);
  border-left: 1px solid var(--line);
}

.advantages-list article {
  min-height: 190px;
  padding: 1.5rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.advantages-list article > span {
  color: var(--blue);
  font-size: 0.72rem;
}

.advantages-list h3 {
  margin: 2.4rem 0 0.45rem;
  font-size: 1.25rem;
}

.advantages-list p {
  max-width: 24rem;
  margin: 0;
  color: var(--muted);
}

.cost-factors {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.project-catalog {
  padding-top: 10rem;
}

.catalog-heading {
  display: grid;
  grid-template-columns: 1fr minmax(260px, 0.45fr);
  gap: 3rem;
  align-items: end;
  margin-bottom: clamp(3rem, 6vw, 6rem);
}

.catalog-heading > p:first-child {
  grid-column: 1 / -1;
  margin-bottom: -1rem;
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.catalog-heading h1 {
  margin: 0;
  font-size: clamp(4.5rem, 9vw, 10rem);
  line-height: 0.85;
}

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

.catalog-list {
  border-top: 1px solid var(--ink);
}

.catalog-list a,
.catalog-list button {
  display: grid;
  grid-template-columns: 56px 1fr 24px;
  gap: 1.25rem;
  align-items: center;
  width: 100%;
  padding: 1.25rem 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  background: transparent;
  cursor: pointer;
  font-size: clamp(1.1rem, 2vw, 2rem);
  letter-spacing: -0.025em;
  text-align: left;
  text-transform: uppercase;
  transition: padding 180ms ease, color 180ms ease;
}

.catalog-list a:hover,
.catalog-list button:hover {
  padding-right: 1rem;
  padding-left: 1rem;
  color: var(--blue);
}

.catalog-list span {
  color: var(--muted);
  font-size: 0.7rem;
}

.catalog-list b {
  font-size: 1rem;
}

.brief {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(3rem, 8vw, 8rem);
  width: 100%;
  padding-right: 4vw;
  padding-left: 4vw;
  color: var(--white);
  background: var(--blue);
}

.brief-copy > p:not(.section-index) {
  max-width: 33rem;
  color: rgba(255, 255, 255, 0.78);
}

.contact-placeholder {
  margin-top: 3rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  font-size: 0.75rem;
  text-transform: uppercase;
}

.brief-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
  align-self: center;
}

.brief-form label span {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.brief-form input,
.brief-form textarea {
  width: 100%;
  padding: 0.9rem 0;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 0;
  outline: 0;
  color: var(--white);
  background: transparent;
}

.brief-form input::placeholder,
.brief-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.55);
}

.brief-form input:focus,
.brief-form textarea:focus {
  border-color: var(--white);
}

.form-wide {
  grid-column: 1 / -1;
}

.button-light {
  color: var(--ink);
  background: var(--white);
}

.form-status {
  min-height: 1.5em;
  margin: 0;
  font-size: 0.78rem;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: 2rem;
  align-items: end;
  padding: 3rem 4vw;
  color: #afb1b2;
  background: var(--ink);
  font-size: 0.75rem;
}

.site-footer p {
  margin-bottom: 0;
}

.site-footer > a:last-child {
  color: var(--white);
  font-weight: 700;
}

.brand-footer {
  color: var(--white);
}

.form-trap {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.lead-modal {
  width: min(92vw, 880px);
  max-height: 92vh;
  padding: clamp(1.5rem, 4vw, 3rem);
  border: 0;
  color: var(--ink);
  background: var(--paper);
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.3);
}

.lead-modal::backdrop {
  background: rgba(15, 17, 18, 0.72);
  backdrop-filter: blur(5px);
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  background: transparent;
  cursor: pointer;
  font-size: 1.5rem;
}

.modal-copy h2 {
  max-width: 11ch;
  margin: 0 0 1rem;
  font-size: clamp(2.5rem, 6vw, 5rem);
  letter-spacing: -0.06em;
  line-height: 0.95;
}

.modal-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2rem;
}

.text-page {
  padding-top: 11rem;
}

.text-page h1 {
  max-width: 12ch;
}

.prose {
  max-width: 760px;
  color: #424547;
  font-size: 1.1rem;
  line-height: 1.7;
}

@media (max-width: 1050px) {
  .site-header {
    min-height: 72px;
  }

  .menu-button {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border: 0;
    color: var(--ink);
    background: transparent;
    cursor: pointer;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
  }

  .menu-button i,
  .menu-button i::after {
    display: block;
    width: 22px;
    height: 1px;
    background: currentColor;
    content: "";
    transition: transform 180ms ease;
  }

  .menu-button i::after {
    transform: translateY(6px);
  }

  .menu-button[aria-expanded="true"] i {
    transform: rotate(45deg);
  }

  .menu-button[aria-expanded="true"] i::after {
    transform: rotate(-90deg);
  }

  .site-nav {
    position: fixed;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 7rem 6vw;
    background: var(--paper);
    font-size: clamp(2rem, 6vw, 4rem);
    letter-spacing: -0.05em;
    transform: translateX(100%);
    transition: transform 250ms ease;
  }

  .site-nav.open {
    transform: translateX(0);
  }

  .nav-cta {
    margin-top: 1rem;
    font-size: 1rem;
    letter-spacing: 0;
  }

  .hero {
    min-height: auto;
    padding: 6rem 2vw 2rem;
  }

  .hero-shell {
    min-height: 0;
  }

  .hero-copy {
    width: min(78%, 720px);
    padding: 3rem 3rem 1cm;
  }

  .hero-visual {
    height: auto;
    min-height: 0;
  }

  .hero-visual img {
    min-height: 0;
  }

  .hero-projects {
    width: 100%;
  }

  .intro-grid,
  .advantages,
  .process,
  .brief {
    grid-template-columns: 1fr;
  }

  .intro-copy,
  .advantages-list {
    max-width: 48rem;
  }

  .direction-item {
    grid-template-columns: 50px 1fr 32px;
  }

  .direction-tag {
    display: none;
  }

  .project-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: none;
    min-height: 0;
  }

  .project-a,
  .project-b,
  .project-c,
  .project-d,
  .project-e {
    grid-column: auto;
    grid-row: auto;
    min-height: 360px;
  }

  .project-a {
    grid-column: 1 / -1;
    min-height: 56vw;
  }

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

@media (max-width: 700px) {
  :root {
    --page: 90vw;
    --section-space: 5.5rem;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
  }

  .hero {
    padding: 5.5rem 0 1.5rem;
  }

  .hero-shell {
    display: flex;
    min-height: auto;
    flex-direction: column;
    overflow: hidden;
    border-radius: 0 0 26px 26px;
  }

  .hero-shell::after {
    display: none;
  }

  .hero-copy {
    position: relative;
    top: auto;
    left: auto;
    order: 1;
    width: auto;
    padding: 2.4rem 5vw 1cm;
    background: var(--paper);
  }

  h1 {
    max-width: 11ch;
    font-size: clamp(2.8rem, 12.3vw, 4rem);
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 1.2rem;
  }

  .hero-visual {
    position: relative;
    inset: auto;
    order: 2;
    height: 72vw;
    min-height: 330px;
    margin: 0;
  }

  .hero-visual img {
    object-position: 68% center;
  }

  .hero-visual figcaption {
    right: 0.75rem;
    top: 0.75rem;
    bottom: auto;
    flex-direction: column;
    gap: 0.15rem;
  }

  .hero-projects {
    position: relative;
    right: auto;
    bottom: auto;
    left: auto;
    display: grid;
    grid-auto-columns: min(82vw, 330px);
    grid-auto-flow: column;
    grid-template-columns: none;
    gap: 0.65rem;
    width: calc(100% + 10vw);
    margin: 2rem -5vw -2rem;
    padding: 0.9rem 5vw 1.2rem;
    overflow-x: auto;
    background: var(--ink);
    scroll-snap-type: x mandatory;
  }

  .hero-project-card {
    min-height: 108px;
    scroll-snap-align: start;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .catalog-heading {
    grid-template-columns: 1fr;
  }

  .catalog-heading h1 {
    font-size: clamp(4rem, 22vw, 7rem);
  }

  .catalog-list a {
    grid-template-columns: 34px 1fr 18px;
    gap: 0.75rem;
    font-size: 1rem;
  }

  .catalog-list button {
    grid-template-columns: 34px 1fr 18px;
    gap: 0.75rem;
    font-size: 1rem;
  }

  .project-card:nth-child(n + 6) {
    grid-column: auto;
    min-height: 66vw;
  }

  .project-caption {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .intro h2,
  .section-heading h2,
  .advantages h2,
  .process-intro h2,
  .brief h2 {
    font-size: clamp(2.6rem, 12vw, 4.2rem);
  }

  .direction-item {
    grid-template-columns: 32px 1fr 24px;
    gap: 1rem;
    padding: 1.5rem 0;
  }

  .direction-item p {
    font-size: 0.88rem;
  }

  .projects,
  .process,
  .brief {
    padding-right: 5vw;
    padding-left: 5vw;
  }

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

  .project-a,
  .project-b,
  .project-c,
  .project-d,
  .project-e {
    grid-column: auto;
    min-height: 66vw;
  }

  .project-caption {
    right: 0.65rem;
    bottom: 0.65rem;
    left: 0.65rem;
  }

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

  .projects-footer .button {
    width: 100%;
  }

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

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

  .brief-form > * {
    grid-column: 1;
  }

  .site-footer {
    grid-template-columns: 1fr;
    align-items: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
