:root {
  --ink: #181713;
  --muted: #69645b;
  --paper: #fbfaf6;
  --surface: #f0ede5;
  --forest: #253b2d;
  --forest-deep: #122019;
  --moss: #6f7f4b;
  --wood: #c7965f;
  --wood-light: #e6bd83;
  --line: rgba(24, 23, 19, 0.12);
  --white: #ffffff;
  --mx: 0;
  --my: 0;
  color-scheme: light;
  font-family: Manrope, "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  font-size: 16px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
}

body.menu-open {
  overflow: hidden;
}

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

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(170px, 1fr) auto minmax(170px, 1fr);
  align-items: center;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 54px);
  color: var(--white);
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease, padding 180ms ease;
}

.site-header.is-scrolled {
  padding-block: 12px;
  background: rgba(251, 250, 246, 0.92);
  color: var(--ink);
  box-shadow: 0 18px 60px rgba(18, 32, 25, 0.12);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  min-width: 0;
}

.brand__mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-weight: 800;
  line-height: 1;
}

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

.brand strong {
  font-family: Unbounded, Manrope, sans-serif;
  font-size: 0.95rem;
  letter-spacing: 0;
  text-transform: uppercase;
}

.brand small {
  margin-top: 2px;
  color: currentColor;
  font-size: 0.72rem;
  opacity: 0.74;
}

.nav {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 3vw, 38px);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
}

.nav a,
.site-footer a {
  position: relative;
}

.nav a::after,
.site-footer a::after {
  position: absolute;
  right: 0;
  bottom: -5px;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 160ms ease;
}

.nav a:hover::after,
.site-footer a:hover::after {
  transform: scaleX(1);
}

.header-call {
  justify-self: end;
  font-weight: 800;
  white-space: nowrap;
}

.hero {
  position: relative;
  display: grid;
  min-height: 84svh;
  overflow: hidden;
  background:
    linear-gradient(135deg, #08130d 0%, var(--forest-deep) 42%, #22301c 100%);
  color: var(--white);
  isolation: isolate;
}

.hero__media,
.contacts__media {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
}

.hero__media {
  z-index: -4;
  background-image:
    linear-gradient(90deg, rgba(8, 19, 13, 0.92), rgba(18, 32, 25, 0.72) 45%, rgba(18, 32, 25, 0.22)),
    url("assets/hero-bg-v2.png");
  filter: saturate(0.96) contrast(1.04);
  transform: translate3d(calc(var(--mx) * -10px), calc(var(--my) * -10px), 0) scale(1.08);
  transition: transform 500ms ease-out;
}

.hero::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(0deg, rgba(8, 19, 13, 0.9), transparent 42%),
    linear-gradient(110deg, rgba(230, 189, 131, 0.12), transparent 34%, rgba(255, 255, 255, 0.05) 58%, transparent 72%);
  content: "";
}

.hero__grain {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.045) 0 1px, transparent 1px 92px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 92px);
  mask-image: linear-gradient(90deg, black, transparent 78%);
  opacity: 0.5;
}

.hero__rings {
  position: absolute;
  right: min(5vw, 80px);
  bottom: -180px;
  z-index: -2;
  width: min(48vw, 560px);
  aspect-ratio: 1;
  border: 1px solid rgba(230, 189, 131, 0.22);
  border-radius: 50%;
  background:
    repeating-radial-gradient(circle at 50% 50%, transparent 0 22px, rgba(230, 189, 131, 0.12) 23px 24px),
    radial-gradient(circle at 50% 50%, transparent 0 52%, rgba(230, 189, 131, 0.08) 53%, transparent 70%);
  opacity: 0.7;
  transform: translate3d(calc(var(--mx) * 14px), calc(var(--my) * 14px), 0);
  transition: transform 500ms ease-out;
}

.hero__content {
  display: grid;
  width: min(1180px, calc(100% - 36px));
  grid-template-columns: minmax(0, 1.18fr) minmax(260px, 0.36fr);
  gap: clamp(36px, 7vw, 98px);
  align-items: end;
  margin: clamp(126px, 18svh, 184px) auto 5.5svh;
  padding-top: 0;
}

.hero__copy {
  min-width: 0;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--wood);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 820px;
  margin-bottom: 30px;
  font-family: Unbounded, Manrope, sans-serif;
  font-size: clamp(2.35rem, 4.05vw, 4.35rem);
  font-weight: 800;
  line-height: 1.07;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 span,
h1 em {
  display: block;
}

h1 em {
  color: var(--wood-light);
  font-style: normal;
  text-shadow: 0 0 32px rgba(230, 189, 131, 0.22);
}

h2 {
  margin-bottom: 0;
  font-family: Unbounded, Manrope, sans-serif;
  font-size: clamp(2rem, 4vw, 4.2rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.12rem;
  line-height: 1.2;
}

.hero__lead {
  max-width: 660px;
  margin-bottom: 36px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1rem, 1.7vw, 1.22rem);
  line-height: 1.48;
}

.hero__actions,
.contacts__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 7px;
  padding: 0 18px;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.16);
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
}

.button--primary {
  background: linear-gradient(135deg, var(--wood-light), var(--wood));
  color: #15110c;
}

.button--ghost {
  border-color: rgba(255, 255, 255, 0.55);
  color: var(--white);
}

.button--line {
  border-color: var(--line);
  color: var(--ink);
}

.hero__hours {
  display: inline-grid;
  grid-template-columns: auto auto auto;
  gap: 8px 12px;
  align-items: center;
  max-width: min(100%, 520px);
  border: 1px solid rgba(230, 189, 131, 0.28);
  border-radius: 8px;
  background: rgba(8, 19, 13, 0.48);
  padding: 12px 14px;
  color: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(14px);
}

.hero__hours span {
  color: var(--wood-light);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero__hours strong {
  font-size: 0.9rem;
  font-weight: 700;
  white-space: nowrap;
}

.hero__showcase {
  position: relative;
  min-height: 430px;
  transform: translate3d(calc(var(--mx) * 18px), calc(var(--my) * 18px), 0);
  transition: transform 500ms ease-out;
}

.product-slider {
  position: absolute;
  right: 0;
  bottom: 30px;
  width: min(28vw, 340px);
  height: 380px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(251, 250, 246, 0.1);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(16px);
}

.product-slider::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 0 42%, rgba(255, 255, 255, 0.2) 49%, transparent 56% 100%);
  content: "";
  transform: translateX(-120%);
  animation: sheen 6s ease-in-out infinite;
}

.showcase-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateX(18%) scale(0.97);
  transition: opacity 560ms ease, transform 560ms ease;
}

.showcase-slide.is-active {
  opacity: 1;
  transform: translateX(0) scale(1);
  z-index: 1;
}

.showcase-slide.is-leaving {
  opacity: 0;
  transform: translateX(-18%) scale(0.97);
}

.showcase-slide::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(0deg, rgba(8, 19, 13, 0.72), transparent 52%);
  content: "";
}

.showcase-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.showcase-slide span {
  position: absolute;
  right: 18px;
  bottom: 16px;
  left: 18px;
  z-index: 1;
  font-family: Unbounded, Manrope, sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
}

.slider-dots {
  position: absolute;
  right: 18px;
  top: 18px;
  z-index: 3;
  display: flex;
  gap: 7px;
}

.slider-dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.36);
  transition: width 260ms ease, background 260ms ease;
}

.slider-dots span.is-active {
  width: 22px;
  border-radius: 999px;
  background: var(--wood-light);
}

.hero__material {
  position: absolute;
  right: min(29vw, 360px);
  bottom: 12px;
  display: grid;
  width: 220px;
  gap: 8px;
  border: 1px solid rgba(230, 189, 131, 0.35);
  border-radius: 8px;
  padding: 16px;
  background: rgba(8, 19, 13, 0.72);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.3);
  color: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(16px);
}

.hero__material-number {
  color: var(--wood-light);
  font-family: Unbounded, Manrope, sans-serif;
  font-size: 1.55rem;
  font-weight: 700;
}

.hero__copy > *,
.hero__showcase {
  animation: hero-in 680ms ease both;
}

.hero__copy > :nth-child(2) {
  animation-delay: 80ms;
}

.hero__copy > :nth-child(3) {
  animation-delay: 150ms;
}

.hero__copy > :nth-child(4) {
  animation-delay: 220ms;
}

.hero__copy > :nth-child(5),
.hero__showcase {
  animation-delay: 300ms;
}

.intro {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.intro__item {
  min-height: 150px;
  padding: clamp(22px, 4vw, 44px);
  border-right: 1px solid var(--line);
}

.intro__item:last-child {
  border-right: 0;
}

.metric {
  display: block;
  margin-bottom: 10px;
  color: var(--forest);
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 900;
  line-height: 1;
}

.intro__item span:last-child {
  color: var(--muted);
  line-height: 1.45;
}

.section {
  width: min(1180px, calc(100% - 36px));
  margin-inline: auto;
  padding: clamp(72px, 11vw, 128px) 0;
}

.section__head {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(280px, 0.52fr);
  gap: clamp(28px, 7vw, 92px);
  align-items: end;
  margin-bottom: 42px;
}

.section__head .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: -18px;
}

.section__head p:last-child,
.copy p,
.product p {
  color: var(--muted);
  line-height: 1.62;
}

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

.product {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.product img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 260ms ease;
}

.product:hover img {
  transform: scale(1.04);
}

.product__body {
  padding: 20px;
}

.product p {
  margin-bottom: 0;
}

.split {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(300px, 1fr);
  gap: clamp(30px, 8vw, 96px);
  border-top: 1px solid var(--line);
}

.copy {
  max-width: 680px;
  font-size: 1.08rem;
}

.copy p:last-child {
  margin-bottom: 0;
}

.band {
  background: var(--forest);
  color: var(--white);
}

.band__inner {
  display: grid;
  width: min(1180px, calc(100% - 36px));
  margin-inline: auto;
  grid-template-columns: repeat(3, 1fr);
}

.band__inner > div {
  min-height: 180px;
  padding: clamp(24px, 4vw, 46px);
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.band__inner > div:last-child {
  border-right: 0;
}

.band__label {
  display: block;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.band strong {
  font-size: clamp(1.5rem, 3vw, 2.45rem);
  line-height: 1.05;
}

.contacts {
  display: grid;
  width: auto;
  max-width: none;
  margin: 0;
  padding: 0;
  grid-template-columns: minmax(0, 0.88fr) minmax(360px, 0.72fr);
  background: var(--surface);
}

.contacts__media {
  position: relative;
  min-height: 620px;
  background-image: linear-gradient(90deg, rgba(18, 32, 25, 0.06), transparent), url("assets/contacts-bg-v2.png");
}

.contacts__content {
  align-self: center;
  padding: clamp(46px, 8vw, 92px);
}

.contact-list {
  display: grid;
  gap: 15px;
  margin: 34px 0;
  color: var(--muted);
  font-size: 1.06rem;
}

.contact-list a {
  width: fit-content;
  color: var(--ink);
  font-weight: 800;
}

address {
  max-width: 420px;
  font-style: normal;
  line-height: 1.5;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(18px, 4vw, 54px);
  background: var(--ink);
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.9rem;
}

@keyframes hero-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

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

@keyframes sheen {
  0%,
  42% {
    transform: translateX(-120%);
  }

  58%,
  100% {
    transform: translateX(120%);
  }
}

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

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav {
    display: none;
  }

  .section__head,
  .split,
  .contacts {
    grid-template-columns: 1fr;
  }

  .hero__content {
    grid-template-columns: 1fr;
    align-items: end;
  }

  .hero__showcase {
    display: none;
  }

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

  .contacts__media {
    min-height: 360px;
  }
}

@media (max-width: 720px) {
  .site-header {
    gap: 14px;
  }

  .brand small {
    display: none;
  }

  .header-call {
    font-size: 0.86rem;
  }

  .hero {
    min-height: 86svh;
  }

  .hero__content {
    margin: 108px auto 32px;
    padding-top: 0;
  }

  h1 {
    font-size: clamp(2.25rem, 14vw, 4rem);
  }

  h2 {
    font-size: clamp(1.82rem, 8vw, 3.1rem);
  }

  .intro,
  .band__inner {
    grid-template-columns: 1fr;
  }

  .intro__item,
  .band__inner > div {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .band__inner > div {
    border-bottom-color: rgba(255, 255, 255, 0.14);
  }

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

  .contacts__content {
    padding-inline: 18px;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 430px) {
  .site-header {
    padding-inline: 14px;
  }

  .brand__mark {
    width: 36px;
    height: 36px;
  }

  .brand strong {
    font-size: 0.78rem;
  }

  .header-call {
    max-width: 132px;
    text-align: right;
    white-space: normal;
  }

  .hero__content {
    width: calc(100% - 28px);
  }

  h1 {
    font-size: clamp(1.48rem, 6.7vw, 1.72rem);
    line-height: 1.08;
    text-transform: none;
  }

  .hero__lead {
    font-size: 0.98rem;
  }

  .hero__actions,
  .contacts__actions {
    display: grid;
  }

  .button {
    width: 100%;
  }
}
