@font-face {
  font-family: "Cormorant Garamond";
  src: url("/lomonosov-assets/cormorant.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

.home-heritage {
  display: grid;
  position: relative;
  isolation: isolate;
  align-items: center;
  justify-items: end;
  padding: clamp(36px, 4vw, 74px) clamp(38px, 9vw, 180px);
  background: var(--soft);
  color: var(--ink);
}

.home-heritage__plate {
  position: absolute;
  inset: 0;
  z-index: -1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 52%;
}

.home-heritage__panel {
  box-sizing: border-box;
  width: min(100%, 440px);
  padding: clamp(34px, 4vw, 66px) clamp(28px, 3.2vw, 56px) 30px;
  background: var(--bg);
  text-align: center;
}

.home-heritage__panel p { margin: 0; }
.home-heritage__panel a { color: inherit; text-underline-offset: .26em; }
.home-heritage__panel a:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

.home-heritage__place {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.home-heritage h2 {
  margin: clamp(30px, 3.6vw, 56px) 0 22px;
  color: inherit;
  font: 400 clamp(48px, 4.5vw, 72px)/.94 "Cormorant Garamond", Georgia, serif;
  letter-spacing: -.035em;
  text-transform: none;
  text-wrap: balance;
}

.home-heritage__story {
  font-size: 16px;
  line-height: 1.6;
  text-wrap: pretty;
}

.home-heritage__story + .home-heritage__story { margin-top: 14px; }

.home-heritage__shop {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 14px;
  font-size: 15px;
  text-decoration: underline;
}

.home-heritage p.home-heritage__credit {
  margin-top: clamp(28px, 3.3vw, 54px);
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
}

.home-heritage__credit a { text-decoration: underline; }

@media (max-width: 700px) {
  .home-heritage {
    display: block;
    padding: 0 0 16px;
    background: var(--bg);
  }

  .home-heritage__plate {
    position: static;
    width: 100%;
    height: auto;
    aspect-ratio: 1.65;
    object-position: center 43%;
  }

  .home-heritage__panel {
    position: relative;
    width: min(calc(100% - 32px), 440px);
    margin: -24px auto 0;
    padding: 32px 16px 16px;
  }

  .home-heritage h2 { margin: 22px 0 18px; }
}
