@font-face {
  font-family: Literata;
  src: url("./assets/literata-lat.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 650;
  font-display: swap;
}

@font-face {
  font-family: Literata;
  src: url("./assets/literata-cyr.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 650;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

.landscape {
  --paper: #fafaf5;
  --ink: #17392f;
  --muted: #4c635b;
  --line: #cad3c9;
  --serif: Literata, Georgia, serif;
}

.landscape .site-header { border: 0; }
.landscape .brand { font-family: var(--serif); font-weight: 550; font-size: 1.22rem; }
.landscape .brand-cross { color: #307052; }
.landscape-intro { position: relative; display: grid; align-items: end; min-height: clamp(34rem, 75svh, 51rem); isolation: isolate; color: #fff; background: #193b31; }
.landscape-photo, .landscape-photo img, .landscape-intro::before { position: absolute; inset: 0; width: 100%; height: 100%; }
.landscape-photo { z-index: -2; }
.landscape-photo img { object-fit: cover; object-position: 57% center; }
.landscape-intro::before { z-index: -1; content: ""; background: linear-gradient(90deg, #112a23ef 0%, #112a23a8 40%, #112a2308 78%); }
.landscape-caption { --hero-heading-size: clamp(2.25rem, 7vw, 6.25rem); padding-block: 5rem clamp(3.4rem, 7.5vw, 7.25rem); }
.landscape-caption .place { margin-bottom: .65rem; color: #e5f2e4; font-size: .94rem; font-weight: 550; }
.landscape-caption h1 { font: 400 var(--hero-heading-size)/.99 var(--serif); letter-spacing: -.055em; }
.landscape-caption .tagline { margin-top: .3rem; color: #e5f2e4; font: 400 calc(var(--hero-heading-size) * .65)/1.2 var(--serif); letter-spacing: -.045em; }
.landscape-caption .street { margin-top: 1.45rem; font-size: clamp(1rem, 1.55vw, 1.25rem); }
.landscape-caption .hours { margin-top: .35rem; color: #e5f2e4; font-size: clamp(1rem, 1.25vw, 1.125rem); font-weight: 550; }
.landscape .map-picker {
  --map-panel-width: min(21rem, 100vw - 2 * clamp(1rem, 5vw, 5rem));
  margin-top: 1.6rem;
}
.landscape-intro:has(.map-picker[open]) { z-index: 1; }
.landscape .map-button { border-color: #d8ebde; color: #163b32; background: #e9f2e5; }
.landscape .map-button:hover { background: #fff; }
.landscape .map-button:focus-visible { outline-color: #fff; }
.landscape .map-options { width: var(--map-panel-width); }
.landscape .map-picker[open]::after {
  position: absolute;
  inset-inline-start: 0;
  inset-block-start: 100%;
  width: var(--map-panel-width);
  height: calc(var(--map-gap) + 1px);
  content: "";
}
.landscape .map-picker[open][data-opens-up]::after { inset-block: auto 100%; }

@media (prefers-reduced-motion: no-preference) {
  .landscape .map-picker[open] .map-options {
    --map-fold-angle: -42deg;
    transform-origin: center top;
    animation: unfold-map-options .36s cubic-bezier(.22, .65, .32, 1) both;
  }

  .landscape .map-picker[data-opens-up] .map-options {
    --map-fold-angle: 42deg;
    transform-origin: center bottom;
  }

  @keyframes unfold-map-options {
    from { opacity: 0; transform: perspective(700px) rotateX(var(--map-fold-angle)); }
    to { opacity: 1; transform: perspective(700px) rotateX(0deg); }
  }
}

.landscape-directory { display: grid; grid-template-columns: minmax(12rem, .85fr) minmax(0, 1.8fr); gap: clamp(1.4rem, 7vw, 7rem); margin-block: clamp(3.1rem, 7vw, 7.1rem); }
.landscape-directory h2, .landscape-information h2 { font-family: var(--serif); font-weight: 430; line-height: 1.06; letter-spacing: -.055em; }
.landscape-directory h2 { font-size: clamp(2.5rem, 5.75vw, 5.25rem); }
.landscape-location { padding-block: 1.55rem; border-top: 1px solid var(--line); }
.landscape-location:last-child { border-bottom: 1px solid var(--line); }
.landscape-location .location-state { margin-bottom: .38rem; color: #2e684f; }
.landscape-location .upcoming { color: #265a7d; }
.landscape-location h3 { font: 500 clamp(1.35rem, 2.85vw, 2.28rem)/1.16 var(--serif); letter-spacing: -.035em; }
.landscape-location h3 + p { margin-top: .58rem; color: var(--muted); }
.landscape-location .text-link { display: inline-flex; align-items: center; min-height: 2.75rem; margin-top: .2rem; }
.landscape-information { color: #f1f8f4; background: #173c35; }
.landscape-information-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 2.2rem clamp(2.5rem, 7vw, 7rem); padding-block: clamp(2.65rem, 6vw, 5rem); }
.landscape-information h2 { margin-bottom: 1.15rem; font-size: clamp(2.05rem, 4vw, 3.45rem); }
.landscape-information address { display: flex; flex-direction: column; align-items: flex-start; gap: .4rem; }
.landscape-information address a { padding-block: .3rem; font-size: clamp(1.12rem, 1.85vw, 1.6rem); text-decoration-color: #96b5a7; text-underline-offset: .23em; overflow-wrap: anywhere; }
.landscape-information address a:hover { text-decoration-color: #fff; }
.landscape-information .gmail-link { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: .15rem .65rem; min-height: 2.75rem; }
.landscape-information .mail-provider { font-size: .875rem; color: #c5dbd1; }
.landscape-information .mail-app-link { display: inline-flex; align-items: center; min-height: 2.75rem; font-size: .9rem; color: #c5dbd1; }
.landscape-information .license-authority { color: #c5dbd1; }
.landscape-information .text-link { display: inline-flex; align-items: center; min-height: 2.75rem; margin-top: .35rem; }
.landscape .footer { color: #c5dbd1; background: #173c35; border-color: #4a6a60; }

@media (max-width: 42rem) {
  .landscape .brand { font-size: 1.025rem; }
  .landscape-intro { min-height: max(33rem, 72svh); }
  .landscape-intro::before { background: linear-gradient(0deg, #102a21fc 0%, #102a21c2 37%, #102a213a 71%, #102a2100 100%); }
  .landscape-photo img { object-position: 91% center; }
  .landscape-caption { --hero-heading-size: clamp(2.14rem, 10.3vw, 4.25rem); padding-bottom: 2.4rem; }
  .landscape-caption .street { margin-top: 1.05rem; }
  .landscape-directory, .landscape-information-inner { grid-template-columns: 1fr; }
  .landscape-directory h2 br { display: none; }
}
