:root {
  --black: #11100d;
  --graphite: #24211b;
  --stone: #74706a;
  --sand: #d2cec2;
  --paper: #cbc8be;
  --white: #fffaf3;
  --amber: #df951b;
  --amber-dark: #8b4e12;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--black);
  background: var(--paper);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
}

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

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

.topbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 28px clamp(22px, 4vw, 52px);
  color: var(--white);
  background: linear-gradient(180deg, rgba(17, 16, 13, 0.72), rgba(17, 16, 13, 0));
}

.logo,
.call,
.nav a {
  min-height: 44px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--amber);
  font-size: 14px;
  font-weight: 900;
}

.logo strong {
  display: grid;
  gap: 3px;
  line-height: 1.05;
}

.logo b {
  font: inherit;
}

.logo small {
  color: rgba(255, 250, 243, 0.78);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.15;
}

.logo span {
  display: none;
}

.nav {
  justify-self: center;
  display: flex;
  gap: 4px;
}

.nav a,
.call {
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 800;
}

.nav a:hover,
.call:hover {
  color: var(--amber);
}

.menu-button {
  display: none;
}

.hero {
  position: relative;
  min-height: 56dvh;
  overflow: hidden;
  color: var(--white);
  background: var(--graphite);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(17, 16, 13, 0.88), rgba(17, 16, 13, 0.48) 44%, rgba(17, 16, 13, 0.2)),
    linear-gradient(0deg, rgba(17, 16, 13, 0.46), rgba(17, 16, 13, 0.08) 54%);
}

.hero-image {
  position: absolute;
  inset: 0;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% 48%;
  filter: saturate(0.92) contrast(1.08) brightness(0.82);
}

.hero-copy {
  position: relative;
  z-index: 2;
  display: grid;
  align-content: center;
  min-height: 56dvh;
  max-width: 790px;
  padding: 112px clamp(22px, 4vw, 52px) 92px;
  animation: heroCopyIntro 900ms cubic-bezier(0.22, 1, 0.36, 1) 1s both;
}

.kicker {
  margin: 0 0 16px;
  color: var(--amber);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  font-size: clamp(46px, 5.8vw, 84px);
  line-height: 1.02;
  letter-spacing: 0;
  text-transform: uppercase;
  text-wrap: balance;
  word-break: normal;
}

h2 {
  font-size: clamp(36px, 6vw, 78px);
  line-height: 0.96;
  letter-spacing: 0;
}

h3 {
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1;
  letter-spacing: 0;
}

.hero-copy p:not(.kicker) {
  max-width: 560px;
  margin-top: 28px;
  color: rgba(255, 250, 243, 0.78);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.4;
}

.actions {
  display: grid;
  justify-items: start;
  gap: 12px;
  margin-top: 38px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 14px 24px;
  border: 1px solid transparent;
  font-weight: 900;
}

.button.light {
  color: var(--black);
  background: var(--amber);
}

.button.ghost {
  color: var(--white);
  border-color: rgba(255, 250, 243, 0.34);
  background: rgba(255, 250, 243, 0.08);
}

.manager-card {
  width: min(100%, 390px);
  display: grid;
  gap: 4px;
  padding: 18px 20px;
  color: var(--white);
  border: 1px solid rgba(255, 250, 243, 0.18);
  background: rgba(17, 16, 13, 0.64);
  box-shadow: 0 18px 46px rgba(17, 16, 13, 0.24);
  backdrop-filter: blur(14px);
}

.manager-card span {
  color: var(--amber);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.manager-card strong {
  font-size: 24px;
  line-height: 1;
  text-transform: uppercase;
}

.manager-card b {
  color: rgba(255, 250, 243, 0.88);
  font-size: 18px;
  font-weight: 950;
}

.manager-card:hover {
  border-color: rgba(223, 149, 27, 0.74);
  background: rgba(17, 16, 13, 0.78);
}

.hero-strip {
  position: absolute;
  right: clamp(22px, 4vw, 52px);
  bottom: clamp(20px, 4vw, 42px);
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(280px, 1.25fr) minmax(230px, 0.95fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255, 250, 243, 0.18);
  background: rgba(255, 250, 243, 0.14);
  box-shadow: 0 22px 70px rgba(17, 16, 13, 0.34);
  backdrop-filter: blur(16px);
  animation: heroStripIntro 720ms cubic-bezier(0.22, 1, 0.36, 1) 1.45s both;
}

.hero-strip span {
  position: relative;
  display: grid;
  gap: 7px;
  min-height: 86px;
  align-content: center;
  padding: 18px 22px 18px 26px;
  color: rgba(255, 250, 243, 0.9);
  background: rgba(17, 16, 13, 0.58);
}

.hero-strip span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  bottom: 18px;
  width: 4px;
  background: var(--amber);
}

.hero-strip small {
  color: var(--amber);
  font-size: 11px;
  font-weight: 950;
  line-height: 1;
  text-transform: uppercase;
}

.hero-strip strong {
  max-width: 330px;
  font-size: clamp(15px, 1.2vw, 19px);
  font-weight: 950;
  line-height: 1.15;
  text-transform: uppercase;
}

.ticker {
  overflow: hidden;
  border-block: 1px solid rgba(17, 16, 13, 0.12);
  background: var(--amber);
}

.ticker div {
  display: flex;
  width: max-content;
  animation: marquee 28s linear infinite;
}

.ticker span {
  padding: 18px 34px;
  color: var(--black);
  font-size: clamp(18px, 2vw, 28px);
  font-weight: 950;
  text-transform: uppercase;
  white-space: nowrap;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@keyframes heroCopyIntro {
  from {
    opacity: 0;
    transform: translateX(-72px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes heroStripIntro {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.catalog,
.statement,
.service,
.contacts {
  padding: clamp(72px, 8vw, 132px) clamp(22px, 4vw, 52px);
}

.catalog {
  background: #bfbbae;
}

.service {
  background: #bfbbae;
}


.section-title {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  align-items: end;
  gap: 28px;
  margin-bottom: 34px;
}

.materials {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: minmax(280px, 35vw);
  gap: 12px;
}

.material {
  position: relative;
  overflow: hidden;
  min-height: 280px;
  background: var(--graphite);
  isolation: isolate;
}

.material.large {
  grid-column: span 2;
  grid-row: span 2;
}

.material.wide {
  grid-column: span 2;
}

.material::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(17, 16, 13, 0.82), rgba(17, 16, 13, 0.02) 62%);
  transition: opacity 350ms ease;
}

.material img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 450ms ease;
}

.material:hover img {
  transform: scale(1.045);
}

.material:hover::after {
  opacity: 0.74;
}

.material-info {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  z-index: 2;
  display: grid;
  gap: 10px;
}

.material h3 {
  color: var(--white);
  text-transform: uppercase;
}

.material-info p {
  max-width: 520px;
  color: rgba(255, 250, 243, 0.76);
  font-size: clamp(14px, 1.2vw, 18px);
  font-weight: 800;
  line-height: 1.35;
  text-transform: uppercase;
}

.statement {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(30px, 7vw, 104px);
  color: var(--white);
  background: var(--black);
}

.about-text {
  align-self: end;
  display: grid;
  gap: 22px;
}

.about-text p {
  color: rgba(255, 250, 243, 0.72);
  font-size: clamp(18px, 1.65vw, 23px);
  line-height: 1.55;
}

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

.service-heading {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.55fr);
  align-items: end;
  gap: 28px;
  margin-bottom: 18px;
}

.service-heading h2 {
  max-width: 760px;
}

.service-heading p:not(.kicker) {
  color: #4f4b44;
  font-size: clamp(17px, 1.45vw, 21px);
  font-weight: 700;
  line-height: 1.45;
}

.service-card {
  display: grid;
  align-content: space-between;
  min-height: 330px;
  padding: clamp(22px, 4vw, 36px);
  background: var(--sand);
  border: 1px solid rgba(17, 16, 13, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 250, 243, 0.28);
  transition:
    transform 300ms ease,
    box-shadow 300ms ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 28px 80px rgba(17, 16, 13, 0.16);
}

.service-card.dark {
  color: var(--white);
  background: var(--graphite);
}

.service-card span {
  color: var(--amber-dark);
  font-weight: 950;
}

.service-card.dark span {
  color: var(--amber);
}

.service-card p {
  margin-top: 18px;
  color: var(--stone);
  font-size: 18px;
}

.map-button {
  margin-top: 30px;
  color: var(--black);
  background: var(--amber);
}

.map-frame {
  grid-column: 1 / -1;
  min-height: 460px;
  overflow: hidden;
  border: 1px solid rgba(255, 250, 243, 0.14);
  background: rgba(255, 250, 243, 0.07);
  box-shadow: 0 28px 80px rgba(17, 16, 13, 0.22);
}

.map-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 460px;
  border: 0;
}

.contacts {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  row-gap: clamp(12px, 1.8vw, 28px);
  column-gap: clamp(28px, 6vw, 86px);
  color: var(--white);
  background: #242119;
}

.contacts-heading p:not(.kicker) {
  max-width: 470px;
  margin-top: 22px;
  color: rgba(255, 250, 243, 0.68);
  font-size: 18px;
  line-height: 1.55;
}

address {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  font-style: normal;
}

address a {
  display: grid;
  align-content: start;
  min-height: 154px;
  padding: 24px;
  background: rgba(255, 250, 243, 0.07);
  border: 1px solid rgba(255, 250, 243, 0.1);
  font-size: clamp(19px, 2vw, 28px);
  font-weight: 900;
  overflow-wrap: anywhere;
}

address span {
  margin-bottom: 16px;
  color: var(--amber);
  font-size: 12px;
  text-transform: uppercase;
}

footer {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, auto));
  justify-content: space-between;
  gap: 18px 28px;
  padding: 24px clamp(22px, 4vw, 52px);
  color: rgba(255, 250, 243, 0.68);
  background: var(--black);
  font-weight: 800;
}

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

.reveal {
  opacity: 0;
  transform: translateY(42px);
  transition:
    opacity 700ms ease,
    transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

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

.reveal.is-visible .material,
.reveal.is-visible .service-card,
.reveal.is-visible .map-frame,
.reveal.is-visible address a {
  animation: rise 760ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.reveal.is-visible .material:nth-child(2),
.reveal.is-visible .service-card:nth-child(2),
.reveal.is-visible address a:nth-child(2) {
  animation-delay: 90ms;
}

.reveal.is-visible .material:nth-child(3),
.reveal.is-visible .service-card:nth-child(3),
.reveal.is-visible address a:nth-child(3) {
  animation-delay: 180ms;
}

.reveal.is-visible .material:nth-child(4),
.reveal.is-visible address a:nth-child(4) {
  animation-delay: 270ms;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(28px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 980px) {
  .topbar {
    grid-template-columns: auto auto;
  }

  .menu-button {
    justify-self: end;
    display: grid;
    gap: 6px;
    width: 48px;
    height: 48px;
    place-content: center;
    border: 1px solid rgba(255, 250, 243, 0.24);
    background: rgba(17, 16, 13, 0.42);
  }

  .menu-button span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--white);
  }

  .nav {
    display: none;
  }

  .call {
    display: none;
  }

  .nav.is-open {
    grid-column: 1 / -1;
    display: grid;
    justify-self: stretch;
    gap: 1px;
    background: rgba(17, 16, 13, 0.92);
  }

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

  .section-title,
  .statement,
  .contacts {
    grid-template-columns: 1fr;
  }

  .materials {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .material.large,
  .material.wide {
    grid-column: span 1;
    grid-row: span 1;
  }

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

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

@media (max-width: 640px) {
  .logo strong {
    max-width: 142px;
  }

  .hero::after {
    background:
      linear-gradient(180deg, rgba(17, 16, 13, 0.72), rgba(17, 16, 13, 0.28) 48%, rgba(17, 16, 13, 0.18)),
      linear-gradient(90deg, rgba(17, 16, 13, 0.84), rgba(17, 16, 13, 0.22) 68%, rgba(17, 16, 13, 0.08));
  }

  .hero-image img {
    object-position: 76% 48%;
    filter: saturate(0.98) contrast(1.06) brightness(0.9);
  }

  h1 {
    max-width: 430px;
    font-size: 43px;
    line-height: 1.04;
  }

  .hero,
  .hero-copy {
    min-height: 76dvh;
  }

  .hero-copy {
    align-content: start;
    padding-top: 172px;
    padding-bottom: 270px;
  }

  .hero-strip,
  .materials,
  address {
    grid-template-columns: 1fr;
  }

  .hero-strip {
    left: 18px;
    right: 18px;
  }

  .map-frame,
  .map-frame iframe {
    min-height: 340px;
  }

  .actions {
    justify-items: stretch;
  }

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

  .button {
    width: 100%;
  }
}

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