:root {
  --ink: #101114;
  --muted: #666b73;
  --line: rgba(16, 17, 20, 0.12);
  --paper: #f6f5f1;
  --paper-strong: #ffffff;
  --charcoal: #1b1d1f;
  --accent: #b08a52;
  --accent-dark: #7a5931;
  --forest: #44544b;
  --shadow: 0 28px 80px rgba(16, 17, 20, 0.14);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

body.intro-running {
  overflow: hidden;
}

body.intro-running main,
body.intro-running .site-footer {
  filter: blur(10px);
  transform: scale(0.992);
}

body.intro-done main,
body.intro-done .site-footer {
  filter: none;
  transform: none;
  transition: filter 760ms ease, transform 760ms ease;
}

body.intro-running .site-header {
  filter: blur(10px);
  transform: translateX(-50%) scale(0.992);
}

body.intro-done .site-header {
  filter: none;
  transform: translateX(-50%);
  transition: filter 760ms ease, transform 760ms ease;
}

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

a {
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  transform: translateY(-150%);
  background: var(--ink);
  color: white;
  padding: 10px 14px;
  border-radius: var(--radius);
}

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

.intro-loader {
  display: none;
}

.has-js .intro-loader {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: white;
  background:
    radial-gradient(circle at 52% 42%, rgba(176, 138, 82, 0.2), transparent 32rem),
    linear-gradient(135deg, #101114, #202121 48%, #44544b);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 720ms ease, visibility 720ms ease, transform 720ms ease;
}

.intro-running .intro-loader {
  opacity: 1;
  visibility: visible;
}

.intro-done .intro-loader {
  opacity: 0;
  transform: translateY(-18px) scale(1.02);
  visibility: hidden;
}

.intro-loader__glow {
  position: absolute;
  width: min(62vw, 760px);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  box-shadow:
    inset 0 0 80px rgba(255, 255, 255, 0.05),
    0 0 90px rgba(176, 138, 82, 0.14);
  animation: introHalo 2600ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.intro-loader__content {
  position: relative;
  z-index: 1;
  width: min(920px, calc(100vw - 48px));
  text-align: center;
}

.intro-loader__mark {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 28px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  font-weight: 780;
  letter-spacing: 0;
  animation: introRise 760ms cubic-bezier(0.2, 0.7, 0.2, 1) 120ms both;
}

.intro-loader p {
  margin: 0 0 16px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.78rem;
  font-weight: 760;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  animation: introRise 760ms cubic-bezier(0.2, 0.7, 0.2, 1) 260ms both;
}

.intro-loader h2 {
  max-width: 980px;
  margin: 0 auto 20px;
  color: white;
  font-size: clamp(2.45rem, 7.4vw, 6.3rem);
  line-height: 0.96;
  animation: introRise 840ms cubic-bezier(0.2, 0.7, 0.2, 1) 410ms both;
}

.intro-loader__content > span:last-of-type {
  display: block;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(1rem, 1.7vw, 1.32rem);
  animation: introRise 760ms cubic-bezier(0.2, 0.7, 0.2, 1) 620ms both;
}

.intro-loader__line {
  width: min(360px, 62vw);
  height: 1px;
  margin: 34px auto 0;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.16);
}

.intro-loader__line i {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, #d7bb92, white);
  transform-origin: left;
  animation: introLine 1850ms cubic-bezier(0.2, 0.7, 0.2, 1) 360ms both;
}

.scroll-progress {
  position: fixed;
  z-index: 90;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), #f1dfbf);
  transform: scaleX(0);
  transform-origin: left;
  pointer-events: none;
}

.site-header {
  position: fixed;
  z-index: 50;
  top: 18px;
  left: 50%;
  width: min(calc(100% - 32px), var(--max));
  height: 64px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.46);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.52);
  backdrop-filter: blur(24px) saturate(140%);
  box-shadow: 0 12px 34px rgba(16, 17, 20, 0.08);
  transition: background 240ms ease, box-shadow 240ms ease, transform 240ms ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 60px rgba(16, 17, 20, 0.12);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--ink);
  color: #f6f5f1;
  font-weight: 680;
  letter-spacing: 0;
}

.brand strong,
.brand small {
  display: block;
  white-space: nowrap;
}

.brand strong {
  font-size: 0.94rem;
  line-height: 1.1;
}

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
  margin-top: 2px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-nav a,
.footer-links a,
.footer-links button {
  border: 0;
  background: transparent;
  text-decoration: none;
  color: rgba(16, 17, 20, 0.72);
  cursor: pointer;
}

.site-nav a {
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 0.92rem;
  transition: background 180ms ease, color 180ms ease;
}

.site-nav a:hover {
  background: rgba(16, 17, 20, 0.07);
  color: var(--ink);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(16, 17, 20, 0.08);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
  transition: transform 220ms ease, opacity 220ms ease;
}

.nav-open .nav-toggle span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.nav-open .nav-toggle span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

.hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: 88vh;
  padding: 140px max(24px, calc((100vw - var(--max)) / 2)) 46px;
  overflow: hidden;
  color: white;
}

.hero-media,
.hero-media::after {
  position: absolute;
  inset: 0;
}

.hero-media {
  z-index: -2;
  background: var(--charcoal);
  will-change: transform;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.08);
  animation: heroDrift 18s ease-in-out infinite alternate;
  filter: saturate(0.82) contrast(1.08);
}

.hero-media::after {
  content: "";
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.68), rgba(0, 0, 0, 0.18) 58%, rgba(0, 0, 0, 0.3)),
    linear-gradient(0deg, rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0.02) 46%);
}

.hero-content {
  width: min(860px, 100%);
  padding-bottom: 32px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 16px;
  color: var(--accent-dark);
  font-size: 0.76rem;
  font-weight: 760;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: rgba(255, 255, 255, 0.78);
}

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

h1,
h2 {
  line-height: 0.98;
  letter-spacing: 0;
  hyphens: none;
  overflow-wrap: normal;
  text-wrap: balance;
}

h1 {
  max-width: 790px;
  margin-bottom: 24px;
  font-size: clamp(3rem, 5.6vw, 5.05rem);
  font-weight: 730;
}

h2 {
  font-size: clamp(2.05rem, 4.25vw, 4.35rem);
  font-weight: 720;
}

h3 {
  margin-bottom: 14px;
  font-size: 1.25rem;
  line-height: 1.16;
}

.hero-copy {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.12rem, 2vw, 1.36rem);
}

.hero-actions,
.offer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 19px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 680;
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

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

.button-primary {
  background: white;
  color: var(--ink);
  box-shadow: 0 16px 46px rgba(0, 0, 0, 0.22);
}

.button-ghost {
  border-color: rgba(255, 255, 255, 0.42);
  color: white;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(18px);
}

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

.hero-panel {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  width: min(620px, 100%);
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
  backdrop-filter: blur(22px);
}

.hero-panel div {
  padding: 20px;
  background: rgba(255, 255, 255, 0.08);
}

.hero-panel span {
  display: block;
  margin-bottom: 5px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.78rem;
}

.hero-panel strong {
  display: block;
  font-size: clamp(1.05rem, 2vw, 1.36rem);
}

.section {
  padding: clamp(76px, 11vw, 144px) max(24px, calc((100vw - var(--max)) / 2));
}

.intro {
  background: var(--paper-strong);
}

.intro-grid,
.process,
.offers,
.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.76fr);
  gap: clamp(34px, 7vw, 96px);
  align-items: start;
}

.intro-copy {
  color: var(--muted);
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
}

.intro-copy p + p {
  margin-top: 22px;
}

.team-block {
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: center;
  margin-top: clamp(40px, 7vw, 86px);
  padding: clamp(24px, 4vw, 42px) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.team-portrait {
  margin: 0;
  aspect-ratio: 1054 / 1492;
  border-radius: var(--radius);
  overflow: hidden;
  background: #ddd7cc;
  box-shadow: var(--shadow);
}

.team-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}

.team-copy {
  max-width: 520px;
}

.team-copy h3 {
  max-width: 480px;
  margin-bottom: 18px;
  font-size: clamp(1.7rem, 3vw, 2.75rem);
  line-height: 1.02;
  letter-spacing: 0;
  hyphens: none;
  overflow-wrap: normal;
  text-wrap: balance;
}

.team-copy p:not(.section-kicker) {
  color: var(--muted);
  font-size: clamp(1.02rem, 1.5vw, 1.18rem);
}

.image-showcase {
  display: grid;
  grid-template-columns: 1.16fr 0.84fr;
  grid-template-rows: repeat(2, minmax(190px, 1fr));
  gap: 14px;
  margin-top: clamp(38px, 7vw, 76px);
}

.image-showcase figure,
.process-image,
.offer-visual {
  margin: 0;
}

.image-showcase figure {
  min-height: 220px;
  border-radius: var(--radius);
  overflow: hidden;
  background: #ddd7cc;
  box-shadow: 0 18px 60px rgba(16, 17, 20, 0.09);
}

.image-showcase .showcase-large {
  grid-row: 1 / span 2;
  min-height: 454px;
}

.image-showcase img,
.process-image img,
.offer-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-band {
  background: #ece9e1;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.38fr) minmax(0, 1fr);
  gap: 40px;
  margin-bottom: 46px;
}

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

.service-card {
  min-height: 292px;
  padding: 28px;
  border: 1px solid rgba(16, 17, 20, 0.08);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 60px rgba(16, 17, 20, 0.06);
  transition: transform 260ms ease, box-shadow 260ms ease, background 260ms ease;
  will-change: transform;
}

.service-card:hover {
  transform: translateY(-8px);
  background: white;
  box-shadow: var(--shadow);
}

.service-number {
  display: block;
  margin-bottom: 72px;
  color: var(--accent-dark);
  font-weight: 760;
}

.service-card p,
.process-copy p,
.offer-copy p {
  color: var(--muted);
  font-size: 1.05rem;
}

.object-types {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.object-types span {
  padding: 10px 14px;
  border: 1px solid rgba(16, 17, 20, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.54);
  color: rgba(16, 17, 20, 0.72);
  font-size: 0.92rem;
}

.process {
  background: var(--charcoal);
  color: white;
}

.process .section-kicker {
  color: #d7bb92;
}

.process-copy p {
  max-width: 500px;
  color: rgba(255, 255, 255, 0.68);
}

.process-image {
  width: min(100%, 500px);
  aspect-ratio: 4 / 3;
  margin-top: 34px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.22);
}

.process-image img {
  filter: saturate(0.86) contrast(1.03);
}

.timeline {
  display: grid;
  gap: 1px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  overflow: hidden;
}

.timeline-item {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 18px;
  align-items: center;
  min-height: 112px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.06);
}

.timeline-item.is-visible span {
  animation: timelinePop 620ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.timeline-item span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #d7bb92;
  font-weight: 760;
}

.timeline-item p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}

.offers {
  background: var(--paper-strong);
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1fr);
  align-items: center;
}

.offer-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 430px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.offer-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(16, 17, 20, 0.02), rgba(16, 17, 20, 0.18));
  pointer-events: none;
}

.text-link {
  color: var(--accent-dark);
  font-weight: 720;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.contact {
  background: #e6e0d4;
}

address {
  margin: 28px 0;
  color: var(--muted);
  font-style: normal;
}

.contact-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.contact-list a {
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 22px;
  border: 1px solid rgba(16, 17, 20, 0.08);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: rgba(16, 17, 20, 0.72);
  font-size: 0.88rem;
  font-weight: 720;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(16, 17, 20, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  outline: none;
  padding: 13px 14px;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(176, 138, 82, 0.72);
  background: white;
  box-shadow: 0 0 0 4px rgba(176, 138, 82, 0.14);
}

.form-button {
  width: 100%;
  margin-top: 6px;
}

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

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 34px max(24px, calc((100vw - var(--max)) / 2));
  background: var(--ink);
  color: white;
}

.site-footer p {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.62);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: flex-end;
}

.footer-links a,
.footer-links button {
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.94rem;
  padding: 0;
}

.legal-dialog {
  width: min(760px, calc(100vw - 32px));
  max-height: min(78vh, 720px);
  border: 1px solid rgba(16, 17, 20, 0.12);
  border-radius: var(--radius);
  padding: 34px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.28);
}

.legal-dialog::backdrop {
  background: rgba(16, 17, 20, 0.38);
  backdrop-filter: blur(10px);
}

.legal-dialog h2 {
  margin-bottom: 24px;
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.legal-dialog p {
  color: var(--muted);
}

.dialog-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: rgba(16, 17, 20, 0.08);
  cursor: pointer;
}

.dialog-close::before,
.dialog-close::after {
  content: "";
  position: absolute;
  top: 17px;
  left: 10px;
  width: 16px;
  height: 2px;
  background: var(--ink);
}

.dialog-close::before {
  transform: rotate(45deg);
}

.dialog-close::after {
  transform: rotate(-45deg);
}

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

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

@keyframes introRise {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes introLine {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

@keyframes introHalo {
  from {
    opacity: 0;
    transform: scale(0.78);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes timelinePop {
  0% {
    transform: scale(0.82);
  }
  62% {
    transform: scale(1.08);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes heroDrift {
  from {
    transform: scale(1.08) translate3d(-1.2%, -0.8%, 0);
  }
  to {
    transform: scale(1.14) translate3d(1.2%, 0.8%, 0);
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }

  body.intro-running {
    overflow: auto;
  }

  .has-js .intro-loader,
  .scroll-progress {
    display: none;
  }

  body.intro-running main,
  body.intro-running .site-footer {
    filter: none;
    transform: none;
  }

  body.intro-running .site-header {
    filter: none;
    transform: translateX(-50%);
  }
}

@media (max-width: 880px) {
  .site-header {
    height: 58px;
  }

  .brand strong {
    max-width: 190px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    display: grid;
    gap: 4px;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.42);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

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

  .site-nav a {
    padding: 14px;
  }

  .hero {
    min-height: 84vh;
    padding-top: 118px;
  }

  .hero-content {
    padding-bottom: 34px;
  }

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

  .hero-panel div {
    padding: 16px 14px;
  }

  .intro-grid,
  .team-block,
  .process,
  .offers,
  .contact,
  .section-heading {
    grid-template-columns: 1fr;
  }

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

  .service-card {
    min-height: 230px;
  }

  .service-number {
    margin-bottom: 44px;
  }

  .offers {
    gap: 34px;
  }

  .image-showcase {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .image-showcase .showcase-large,
  .image-showcase figure {
    grid-row: auto;
    min-height: auto;
    aspect-ratio: 4 / 3;
  }

  .offer-visual {
    min-height: 300px;
  }

  .site-footer {
    display: grid;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

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

  .brand small {
    display: none;
  }

  .brand strong {
    max-width: 150px;
  }

  h1 {
    font-size: clamp(2.35rem, 9.1vw, 3.12rem);
  }

  h2 {
    font-size: clamp(1.92rem, 8.2vw, 2.65rem);
    line-height: 1.04;
  }

  .team-block {
    margin-top: 34px;
    padding: 22px 0 30px;
  }

  .team-copy h3 {
    font-size: clamp(1.55rem, 7vw, 2.2rem);
  }

  .hero-actions,
  .offer-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

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

  .timeline-item {
    grid-template-columns: 42px 1fr;
    padding: 18px;
  }

  .legal-dialog {
    padding: 28px 20px;
  }
}
