:root {
  --ink: #071a34;
  --ink-soft: #24324a;
  --paper: #f7f5f0;
  --paper-strong: #fffdf8;
  --copper: #aa7447;
  --wine: #7b2031;
  --line: rgba(7, 26, 52, 0.18);
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
  color: var(--ink);
  font-family:
    "Avenir Next", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont,
    sans-serif;
  letter-spacing: 0;
}

body {
  margin: 0;
  min-width: 320px;
}

a {
  color: inherit;
  text-decoration-color: rgba(170, 116, 71, 0.5);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

a:hover {
  color: var(--copper);
  text-decoration-color: currentColor;
}

.hero {
  position: relative;
  min-height: 82svh;
  overflow: hidden;
  background: #080a10;
}

.hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% center;
}

.hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 8, 14, 0.94) 0%, rgba(5, 8, 14, 0.78) 34%, rgba(5, 8, 14, 0.32) 62%, rgba(5, 8, 14, 0.05) 100%),
    linear-gradient(0deg, rgba(5, 8, 14, 0.72) 0%, rgba(5, 8, 14, 0.02) 38%);
}

.hero__content {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 82svh;
  flex-direction: column;
  justify-content: space-between;
  padding: 42px 7vw 72px;
  color: var(--white);
}

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

.brand__mark {
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.46);
  border-radius: 50%;
  color: var(--copper);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 42px;
  line-height: 1;
}

.brand__overline,
.brand__name {
  display: block;
}

.brand__overline {
  margin-bottom: 5px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.74rem;
  font-weight: 600;
  text-transform: uppercase;
}

.brand__name {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  font-weight: 400;
}

.hero__title {
  max-width: 760px;
  padding-bottom: 24px;
}

.hero__title p {
  margin: 0 0 18px;
  color: var(--copper);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
}

.hero__title h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 5.6rem;
  font-weight: 400;
  line-height: 0.96;
}

.hero__mail {
  display: inline-block;
  margin-top: 34px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.2rem;
}

.details {
  position: relative;
  z-index: 2;
  margin-top: -34px;
  background: var(--paper-strong);
  border-top: 1px solid rgba(255, 255, 255, 0.4);
}

.details::before {
  content: "";
  position: absolute;
  top: 0;
  left: 7vw;
  right: 7vw;
  height: 3px;
  background: linear-gradient(90deg, var(--copper), var(--wine), var(--ink));
}

.details__inner {
  display: grid;
  max-width: 1180px;
  margin: 0 auto;
  grid-template-columns: 1.2fr 1fr 1.25fr auto;
  gap: 34px;
  align-items: center;
  padding: 54px 32px 48px;
}

.detail-block {
  display: grid;
  min-height: 74px;
  align-content: center;
  gap: 8px;
  margin: 0;
  padding: 0 30px 0 0;
  border-right: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 1.04rem;
  font-style: normal;
  line-height: 1.45;
}

.detail-block span,
.detail-block a {
  display: block;
}

.kirp {
  display: flex;
  justify-content: flex-end;
}

.kirp img {
  width: 72px;
  height: auto;
  opacity: 0.76;
}

@media (max-width: 980px) {
  .hero,
  .hero__content {
    min-height: 760px;
  }

  .hero__content {
    padding: 32px 32px 66px;
  }

  .hero__title h1 {
    font-size: 4.4rem;
  }

  .details {
    margin-top: 0;
  }

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

  .detail-block:nth-child(2) {
    border-right: 0;
  }

  .kirp {
    justify-content: flex-start;
  }
}

@media (max-width: 680px) {
  .hero,
  .hero__content {
    min-height: 700px;
  }

  .hero__image {
    object-position: 63% center;
  }

  .hero__shade {
    background:
      linear-gradient(90deg, rgba(5, 8, 14, 0.92) 0%, rgba(5, 8, 14, 0.66) 62%, rgba(5, 8, 14, 0.22) 100%),
      linear-gradient(0deg, rgba(5, 8, 14, 0.84) 0%, rgba(5, 8, 14, 0.12) 46%);
  }

  .hero__content {
    padding: 26px 22px 48px;
  }

  .brand {
    gap: 12px;
  }

  .brand__mark {
    width: 52px;
    height: 52px;
    font-size: 34px;
  }

  .brand__overline {
    font-size: 0.68rem;
  }

  .brand__name {
    font-size: 1.08rem;
  }

  .hero__title {
    padding-bottom: 0;
  }

  .hero__title p {
    margin-bottom: 14px;
    font-size: 0.82rem;
  }

  .hero__title h1 {
    font-size: 3.35rem;
    line-height: 1.02;
  }

  .hero__mail {
    margin-top: 24px;
    font-size: 1rem;
  }

  .details::before {
    left: 22px;
    right: 22px;
  }

  .details__inner {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 38px 22px 34px;
  }

  .detail-block {
    min-height: 0;
    padding: 20px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    font-size: 0.98rem;
  }

  .kirp {
    padding-top: 24px;
  }

  .kirp img {
    width: 58px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
  }
}
