/* Homepage navigation uses landscape scenes. Product cards have a separate portrait format. */
#directions {
  padding: clamp(24px, 2.6vw, 48px) max(18px, 2.3vw) clamp(32px, 4vw, 72px);
}
#directions h2 {
  font-size: clamp(30px, 3.1vw, 56px);
}
#directions .directions {
  grid-template-columns: minmax(0, 1.32fr) minmax(0, .96fr) minmax(0, 1.04fr);
  gap: clamp(8px, .85vw, 16px);
  margin-top: clamp(16px, 1.6vw, 28px);
}
#directions .cover {
  height: clamp(156px, 22vw, 374px);
  aspect-ratio: auto;
}
#directions .cover img {
  aspect-ratio: auto;
  object-fit: cover;
}
#directions .card h3 {
  margin-top: 10px;
  font-size: clamp(19px, 2.2vw, 39px);
  padding-inline-end: 6px;
}
.intro .btn {
  background: #697859;
  border-color: #697859;
  color: #fffdf7;
}
.intro .btn:hover { background: #536247; }

@media (min-width: 701px) {
  .with-calc-entry:not([data-scrolled]) {
    background: linear-gradient(to bottom, #f5eee2ed, #f5eee2c2 48%, #f5eee200);
  }
  .hero {
    min-height: clamp(580px, 64vw, 1080px);
  }
  .shaft-art { left: 79%; transform: translate(-79%, -50%); }
  .lift-car { animation-name: home-lift-travel; }
  @keyframes home-lift-travel {
    from { transform: translateY(50px); }
    to { transform: translateY(var(--lift-upper-stop, 8px)); }
  }
  .intro { padding-block: clamp(45px, 5vw, 85px) clamp(55px, 8vw, 132px); }
  .intro h1 { font-size: clamp(54px, 5.9vw, 108px); }
  .intro em { font-size: 1.38em; }
  .intro p { max-width: 100%; }
}
@media (min-width: 1101px) {
  .hero { --lift-upper-stop: -12px; }
  .shaft-art { left: 73%; transform: translate(-73%, -50%); }
}
@media (max-width: 700px) {
  #directions .directions { grid-template-columns: minmax(0, 1fr); row-gap: 23px; }
  #directions .card { grid-column: auto; }
  #directions .cover { width: 100%; height: auto; aspect-ratio: 1.65; }
  #directions .card h3 { margin-top: 8px; font-size: clamp(23px, 5.4vw, 32px); }
  .with-calc-entry + main .hero {
    margin-top: 0;
    padding-top: 0;
    min-height: 0;
    background: #eee4d6 url(background.webp) left top / auto 145% no-repeat;
  }
  .intro {
    order: 0;
    width: 100%;
    margin: 0;
    padding: clamp(22px, 4vw, 30px) var(--pad) 20px;
    background: linear-gradient(150deg, #f4ecdfee, #f4ecdfe0);
  }
  .intro h1 { font-size: clamp(39px, 10.2vw, 62px); line-height: .97; }
  .intro em { font-size: 1.22em; }
  .intro p { max-width: 34ch; }
  .intro .actions { gap: 15px; }
  .lift-scene {
    position: relative;
    inset: auto;
    order: 1;
    z-index: 0;
    width: 100%;
    height: clamp(300px, 88vw, 470px);
    flex: none;
  }
  .shaft-art { left: 82%; transform: translate(-82%, -50%); }
}

.home-benefits { padding-block: clamp(36px, 5.4vw, 90px); }
.home-benefits h2, .project-map h2 { text-wrap: balance; }
.benefit-list {
  margin-top: clamp(23px, 3vw, 50px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(22px, 4vw, 72px);
}
.benefit-list article { border-top: 1px solid #a8ac9d; padding-top: 18px; }
.benefit-list h3 {
  font: 400 clamp(24px, 2.15vw, 40px)/1.06 Georgia, serif;
  letter-spacing: -.03em;
  max-width: 18ch;
}
.benefit-list p { margin-block: 12px; max-width: 39ch; line-height: 1.5; }
.benefit-list a { display: inline-block; color: #364e40; text-decoration: underline; text-underline-offset: .22em; }
@media (max-width: 740px) {
  .benefit-list { grid-template-columns: 1fr; gap: 22px; }
  .benefit-list article { padding-top: 15px; }
  .benefit-list h3, .benefit-list p { max-width: none; }
}

.project-map { background: #f4f2e9; color: #272e26; }
.project-map h2 { margin: 0 0 clamp(20px, 2.5vw, 36px); }
.pm-layout { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(290px, .9fr); gap: clamp(20px, 3.5vw, 64px); align-items: center; }
.pm-canvas { position: relative; width: 100%; min-width: 0; overflow: hidden; border: 1px solid #d4d7c9; border-radius: 3px; background: #e9ede4; }
.pm-land { display: block; width: 100%; height: auto; }
.pm-country { fill: #c8d2bb; }
.pm-grid-lines { fill: none; stroke: #aebba3; stroke-width: .75; }
.pm-marker { --pm-dot: #526549; position: absolute; z-index: 1; width: clamp(7px,1.45%,16px); aspect-ratio: 1; transform: translate(-50%,-50%); cursor: pointer; }
.pm-marker::before { position: absolute; content: ""; inset: 25%; border-radius: 50%; background: var(--pm-dot); }
.pm-tip { display: none; position: absolute; bottom: calc(100% + 3px); left: 50%; transform: translateX(-12%); width: max-content; max-width: 12em; border-radius: 2px; padding: 4px 7px; background: #fdfcf5; color: #233323; border: 1px solid #aab69e; font: 600 clamp(12px,1vw,16px)/1.2 'Segoe UI', Arial, sans-serif; pointer-events: none; }
.pm-marker:hover,.pm-marker:focus-visible{z-index:3}.pm-marker:hover .pm-tip,.pm-marker:focus-visible .pm-tip{display:block}
.pm-list { min-width: 0; margin: 0; padding: 0; border: 0; }
.pm-list legend { margin-bottom: 8px; padding: 0; font: 600 clamp(16px,1.35vw,21px)/1.3 'Segoe UI', Arial, sans-serif; }
.pm-options { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); column-gap: 10px; }
.pm-choice { position: relative; display: flex; align-items: center; gap: 7px; min-height: 42px; padding: 5px 2px; border-bottom: 1px solid #d5d7ca; line-height: 1.18; color: #354135; font-size: clamp(13px,1.1vw,17px); cursor: pointer; overflow-wrap: anywhere; }
.pm-choice input { appearance: none; -webkit-appearance: none; box-sizing: border-box; width: 10px; height: 10px; flex: 0 0 10px; margin: 0; border: 1px solid #74846b; border-radius: 50%; background: transparent; }
.pm-choice input:checked { border: 2px solid #f4f2e9; background: #334d34; box-shadow: 0 0 0 1px #334d34; }
.pm-choice:has(input:checked) { color: #1a331d; font-weight: 650; }
.pm-choice:has(input:focus-visible) { outline: 2px solid #3a654b; outline-offset: -2px; }
@media (max-width: 850px) {
  .pm-layout { grid-template-columns: minmax(0,1fr); gap: 17px; }
  .pm-options { grid-template-columns: repeat(4,minmax(0,1fr)); }
}
@media (max-width: 600px) {
  .pm-options { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .pm-choice { min-height: 44px; font-size: 15px; }
  .pm-tip { font-size: 12px; padding: 3px 5px; }
}
@media (forced-colors: active) {
  .pm-country { fill: Canvas; stroke: GrayText; }
  .pm-marker::before { background: ButtonText; }
  .pm-choice input { appearance: auto; }
}

.pm-choice{justify-content:space-between;min-height:44px}.pm-choice:hover,.pm-choice:focus-visible{text-decoration:underline}.pm-choice span{color:#63745f}.pm-marker::before{inset:10%}
