.landing {
  --paper: #f4f1e9;
  --ink: #24251f;
  --line: #d3cdbc;
  --sand: #ebe3d5;
  --block-padding: clamp(3rem, 7vw, 7rem);
}
.landing :where(h2) { font-size: clamp(2.4rem, 4.4vw, 4.7rem); }
.landing .footer h2 { font-size: .95rem; }
.landing #main > section {
  display: grid;
  align-content: center;
  padding-block: var(--block-padding);
}
.landing #main > #portfolio, .landing #main > #uslugi, .landing #main > #komanda { min-block-size: 100svh; }
.landing #main > .landing-hero {
  position: relative;
  isolation: isolate;
  min-block-size: calc(100vh - var(--header-height));
  min-block-size: calc(100svh - var(--header-height));
  background: var(--deep);
  color: #fffdf4;
}
.landing-hero > img, .landing-hero::before {
  position: absolute;
  inset: 0;
}
.landing-hero > img {
  z-index: -2;
  height: 100%;
  object-fit: cover;
  object-position: 64% 54%;
}
.landing-hero::before {
  z-index: -1;
  content: "";
  background: linear-gradient(90deg, rgb(14 26 17 / .85), rgb(14 26 17 / .68) 36%, rgb(14 26 17 / .08) 83%), linear-gradient(0deg, rgb(14 26 17 / .65), transparent 28%);
}
.landing-hero h1 {
  font-size: clamp(3rem, 6.25vw, 6.6rem);
  max-width: 16ch;
  line-height: 1.04;
  letter-spacing: -.04em;
}
.hero-category { margin-bottom: .85rem; font-size: clamp(.95rem, 1.32vw, 1.2rem); }
.hero-summary {
  margin-top: 1.2rem;
  max-width: 36rem;
  font-size: clamp(1rem, 1.55vw, 1.3rem);
  line-height: 1.5;
}
.landing-hero-link { font-weight: 500; text-underline-offset: .27em; }
.landing-approach { border-bottom: 1px solid var(--line); }
.landing-approach .grid { align-items: start; gap: clamp(1.25rem, 5vw, 5rem); }
.landing-approach h2 { max-width: 16ch; text-wrap: initial; }
.landing-approach p { max-width: 48ch; font-size: clamp(1rem, 1.4vw, 1.2rem); }
.landing-approach .textlink { display: inline-block; margin-top: 1.15rem; }
.landing-services { background: var(--sand); }
.landing-portfolio h2, .landing-services h2 { font-size: clamp(3rem, 7vw, 6.6rem); }
.landing-portfolio .section-heading { flex-direction: row; align-items: baseline; flex-wrap: wrap; }
.landing-portfolio .card h3 { font-size: clamp(1.5rem, 2.45vw, 2.7rem); }
.landing-services .card h3 { font-size: clamp(1.55rem, 2.85vw, 3.1rem); }
:is(.landing-portfolio, .landing-services) .cards { column-gap: clamp(1rem, 2.6vw, 2.5rem); }
.portfolio-categories { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.portfolio-categories article > .textlink { font-size: .95rem; }
.landing-portfolio .card img { aspect-ratio: 1.65; }
.landing-services .card img { aspect-ratio: 1.82; }
.landing-services .card:hover h3 { text-decoration: none; }
.service-card .textlink { display: inline-block; margin-top: .95rem; text-decoration: underline; }
.service-card:hover .textlink { text-decoration-thickness: 2px; }
.landing-contacts { background: var(--sand); }
.landing-contacts-inner {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  align-items: start;
  gap: 1.25rem clamp(1.5rem, 5vw, 5rem);
}
.landing-contacts-inner .actions { grid-column: 2; margin: .3rem 0 0; }
@media (max-width: 820px) {
  .landing-hero::before { background: linear-gradient(90deg, rgb(14 26 17 / .88), rgb(14 26 17 / .64) 64%, rgb(14 26 17 / .25)), linear-gradient(0deg, rgb(14 26 17 / .6), transparent 28%); }
}
@media (max-width: 720px) {
  .landing #main > #portfolio, .landing #main > #uslugi, .landing #main > #komanda { min-block-size: auto; }
  .landing-approach .grid, .portfolio-categories { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 580px) {
  .landing-hero h1 { font-size: clamp(2.35rem, 9.6vw, 3.9rem); }
  .landing-hero > img { object-position: 61% center; }
  .landing-hero::before { background: linear-gradient(0deg, rgb(14 26 17 / .91), rgb(14 26 17 / .72) 58%, rgb(14 26 17 / .26)); }
  .landing-contacts-inner { grid-template-columns: 1fr; }
  .landing-contacts-inner .actions { grid-column: auto; }
}
