.home {
  --home-ink: #121212;
  --home-graphite: #474645;
  --home-blue: #dceef7;
  font-family: Inter, system-ui, sans-serif;
}

.home .site-footer > div {
  width: min(calc(100% - 2 * var(--landmark-gutter)), var(--landmark-width));
}

.home > main { width: 100%; padding: 0; }
.lm-hero,
.lm-video-section,
.lm-feature,
.lm-programs {
  width: min(calc(100% - 2 * var(--landmark-gutter)), var(--landmark-width));
  margin-inline: auto;
}

:is(.lm-hero, .lm-photos, .lm-video-section, .lm-feature, .lm-programs) > .wp-block-group__inner-container {
  display: contents;
}

.lm-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(30px, 5vw, 90px);
  padding: clamp(48px, 7.5vw, 110px) 0 clamp(50px, 7vw, 96px);
}

.lm-location {
  color: #205779;
  margin: 0 0 18px;
  font-weight: 650;
  font-size: .77rem;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.lm-hero h1,
.lm-feature h2,
.lm-programs h2,
.lm-video-section h2 {
  color: var(--home-ink);
  letter-spacing: -.055em;
  line-height: 1.02;
  margin: 0;
  text-wrap: balance;
}

.lm-hero h1 { font-size: clamp(2.65rem, 5.4vw, 5rem); }
.lm-hero .lm-lead { font-size: clamp(1rem, 1.55vw, 1.22rem); max-width: 37ch; margin-block: 22px 25px; }
.lm-hero .wp-block-buttons { gap: 10px; }
.home .lm-primary .wp-block-button__link,
.home .lm-secondary .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 20px;
  border-radius: 32px;
  background: #171717;
  color: #fff;
  font-size: .9rem;
  font-weight: 550;
  line-height: 1.25;
}

.home .lm-secondary .wp-block-button__link { background: var(--landmark-oat); color: var(--home-ink); }
.home .wp-block-button__link:hover { text-decoration: underline; }
.home a:focus-visible, .home summary:focus-visible { outline: 2px solid #136896; outline-offset: 4px; }

.lm-photos {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
  grid-template-rows: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: clamp(8px, 1.1vw, 16px);
  padding: clamp(10px, 1.35vw, 20px);
  aspect-ratio: 1.19;
  background: #f1f4f5;
  border-radius: clamp(20px, 3.2vw, 42px);
}

.lm-photos figure,
.lm-feature figure,
.lm-video-section figure { margin: 0; overflow: hidden; }
.lm-photos figure { border-radius: clamp(12px, 2vw, 26px); }
.lm-photos .lm-photo-main { grid-row: span 2; }
.home .lm-photos img, .home .lm-feature figure img { display: block; width: 100%; height: 100%; object-fit: cover; }
.lm-photos .lm-photo-main img { object-position: 54% center; }

.lm-video-section {
  display: grid;
  grid-template-columns: minmax(0, .65fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(20px, 5vw, 75px);
  padding: clamp(22px, 4vw, 55px);
  border-radius: clamp(20px, 3vw, 40px);
  background: var(--landmark-oat);
  scroll-margin-top: 20px;
}

.lm-video-section h2,
.lm-feature h2,
.lm-programs h2 { font-size: clamp(2rem, 4vw, 3.65rem); }
.lm-video-section p { max-width: 36ch; margin-bottom: 0; }
.lm-video-section video {
  display: block;
  width: 100%;
  max-height: 450px;
  aspect-ratio: 16 / 9;
  margin: 0;
  background: #181f23;
  object-fit: contain;
  border-radius: 16px;
}

.lm-feature {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(28px, 6vw, 95px);
  padding-block: clamp(52px, 8vw, 115px);
}

.lm-feature .lm-lead { color: var(--home-ink); font-size: clamp(1.1rem, 1.7vw, 1.4rem); line-height: 1.4; }
.lm-feature figure { aspect-ratio: 1.23; border-radius: clamp(16px, 2.8vw, 36px); background: var(--home-blue); }
.lm-feature p, .lm-programs p { max-width: 63ch; }
.lm-feature .wp-block-buttons, .lm-programs .wp-block-buttons { margin-top: 22px; }

.lm-programs {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1fr);
  align-items: center;
  gap: 18px 45px;
  padding: clamp(25px, 5vw, 66px);
  background: #eaf3f8;
  border-radius: clamp(20px, 3vw, 40px);
}
.lm-programs p:first-child { margin-top: 0; }
.lm-feature--reviews figure { aspect-ratio: 1.55; }
.home .site-footer { background: #fbfaf9; }
.home .site-footer > div { padding-block: 27px; }

@media (max-width: 740px) {
  .lm-hero, .lm-video-section, .lm-feature, .lm-programs { grid-template-columns: 1fr; }
  .lm-hero { gap: 26px; }
  .lm-hero h1 { max-width: 17ch; }
  .lm-photos { aspect-ratio: 1.42; }
  .lm-video-section video { border-radius: 12px; }
  .lm-feature--reviews figure { grid-row: 1; }
}
