.lemon-home {
  --home-gap: clamp(12px, 1.7vw, 24px);
  --home-radius: 26px;
  --home-surface: #fffdf4;
  --home-mint: #e6ebd5;
  padding-block: clamp(16px, 2.6vw, 36px) clamp(44px, 6vw, 80px);
}

.lemon-home :is(h1, h2, h3, p, figure) {
  margin-block: 0;
}

.lemon-home h2 {
  color: inherit;
  font-size: clamp(30px, 4.2vw, 53px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -.057em;
}

.lemon-home img {
  display: block;
  width: 100%;
}

.lemon-home :is(.lemon-home-program, .lemon-home-activities, .lemon-home-story, .lemon-home-reviews, .lemon-home-visit) {
  margin-block-start: clamp(38px, 6vw, 78px);
}

.lemon-hero {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--home-gap);
  align-items: stretch;
}

.lemon-hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(24px, 3.8vw, 54px);
  border-radius: var(--home-radius);
  background: var(--lemon-yellow);
  color: var(--lemon-ink);
}

.lemon-hero-copy .lemon-hero-title {
  margin-block: 13px 14px;
  font-size: clamp(38px, 5vw, 68px);
  font-weight: 800;
  line-height: .98;
  letter-spacing: -.06em;
  text-wrap: initial;
}

.lemon-hero-copy .lemon-hero-lead {
  max-inline-size: 34ch;
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.46;
}

.lemon-hero-copy .lemon-hero-actions {
  margin-block-start: 20px;
}

.lemon-hero-copy .lemon-hero-note {
  margin-block-start: 9px;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.42;
}

.lemon-hero-copy .lemon-hero-next {
  margin-block-start: 10px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.45;
}

.lemon-hero-next a {
  color: var(--lemon-green);
  text-underline-offset: .22em;
}

.lemon-hero-photo,
.lemon-home-story-photo {
  position: relative;
  width: 100%;
  min-height: 330px;
  margin: 0;
  overflow: hidden;
  background: var(--home-mint);
}

.lemon-hero-photo {
  min-height: clamp(380px, 36.7vw, 528px);
  border-radius: var(--home-radius);
}

.lemon-home :is(.lemon-hero-photo, .lemon-home-story-photo) img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lemon-hero-photo img {
  object-position: center 38%;
}

.lemon-home .lemon-home-program {
  margin-block-start: clamp(34px, 4.1vw, 58px);
}

.lemon-home-program-grid,
.lemon-home-activities-grid {
  display: grid;
  gap: var(--home-gap);
}

.lemon-home-program .lemon-home-program-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-block-start: clamp(16px, 2.1vw, 26px);
}

.lemon-home-program-card {
  overflow: hidden;
  border: 1px solid var(--lemon-line);
  border-radius: 18px;
  background: var(--home-surface);
}

.lemon-home-program-card img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center 48%;
}

.lemon-home-program-copy {
  padding: clamp(14px, 1.8vw, 25px);
}

.lemon-home-program-copy h3,
.lemon-home-activity-copy h3 {
  margin-block-end: 6px;
  color: inherit;
  font-size: clamp(20px, 2.05vw, 28px);
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1.17;
}

.lemon-home :is(.lemon-home-program-copy, .lemon-home-activity-copy) p {
  color: var(--lemon-muted);
  font-size: clamp(15px, 1.25vw, 16px);
  line-height: 1.47;
}

.lemon-home-program .lemon-home-program-actions {
  margin-block-start: 10px;
}

.site-main .lemon-home-quick-links {
  display: none;
}

.lemon-home-activities .lemon-home-activities-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px 20px;
  margin-block-end: clamp(17px, 2.1vw, 28px);
}

.lemon-home-activities-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.lemon-home-activity {
  display: grid;
  grid-template-columns: minmax(0, .67fr) minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid var(--lemon-line);
  border-radius: 21px;
  background: var(--home-surface);
}

.lemon-home-featured {
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 1.42fr) minmax(0, 1fr);
  background: var(--home-mint);
}

.lemon-home-activity-photo {
  position: relative;
  min-height: 150px;
  overflow: hidden;
}

.lemon-home-featured .lemon-home-activity-photo {
  min-height: 0;
  aspect-ratio: 16 / 9;
}

.lemon-home-activity-photo img {
  position: absolute;
  inset: 0;
  height: 100%;
  object-fit: cover;
  object-position: center 43%;
}

.lemon-home-featured img {
  object-position: center 64%;
}

.lemon-home-activity-copy {
  align-content: center;
  padding: clamp(15px, 2.1vw, 24px);
}

.lemon-home-featured .lemon-home-activity-copy {
  padding: clamp(20px, 4vw, 52px);
}

.lemon-home-featured h3 {
  font-size: clamp(25px, 3.5vw, 46px);
}

.lemon-home-activity-copy .wp-block-buttons {
  margin-block-start: 5px;
}

.lemon-home-story {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 1fr);
  overflow: hidden;
  border-radius: var(--home-radius);
  background: var(--home-mint);
}

.lemon-home-story-copy {
  display: grid;
  justify-items: start;
  align-content: center;
  gap: 13px;
  padding: clamp(22px, 4vw, 56px);
}

.lemon-home-story-copy .lemon-home-story-ornament {
  width: clamp(126px, 14vw, 184px);
  max-width: 100%;
  aspect-ratio: 483 / 171;
}

.lemon-home-story-copy p:not(.lemon-kicker) {
  max-inline-size: 43ch;
}

.lemon-home-story-copy .wp-block-buttons {
  margin-block-start: 6px;
}

.lemon-home .lemon-home-reviews-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: end;
  gap: 10px 22px;
  margin-block-end: clamp(14px, 2vw, 25px);
}

.lemon-home-review-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--home-gap);
}

.lemon-home .lemon-home-review {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: clamp(17px, 2.2vw, 28px);
  margin: 0;
  padding: clamp(20px, 3.1vw, 39px);
  border: 1px solid var(--lemon-line);
  border-radius: var(--home-radius);
  background: var(--home-surface);
}

.lemon-home .lemon-home-review p {
  font-size: clamp(19px, 2.4vw, 30px);
  font-weight: 750;
  line-height: 1.3;
  letter-spacing: -.025em;
}

.lemon-home-review cite {
  display: block;
  color: var(--lemon-muted);
  font-size: 14px;
  font-style: normal;
  line-height: 1.55;
}

.lemon-home-review cite a {
  color: var(--lemon-ink);
  font-weight: 700;
  text-underline-offset: .2em;
}

.lemon-home .lemon-home-review-feature {
  margin: clamp(16px, 2.4vw, 32px) auto 0;
  border-inline-start: 3px solid var(--lemon-yellow);
}

.lemon-home .lemon-home-review-feature p {
  font-size: clamp(18px, 1.8vw, 25px);
}

.lemon-home-review-grid > :only-child {
  grid-column: 1 / -1;
}

.lemon-home-visit {
  display: grid;
  grid-template-columns: minmax(0, .93fr) minmax(0, 1fr);
  align-items: center;
  gap: 19px clamp(24px, 5.6vw, 80px);
  padding: clamp(21px, 4.1vw, 57px);
  border-radius: var(--home-radius);
  background: var(--lemon-yellow);
}

.lemon-home-visit-heading p {
  margin-block-start: 8px;
}

.lemon-home-visit-grid {
  display: grid;
  grid-row: span 2;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 14px clamp(10px, 2.4vw, 28px);
  padding: clamp(15px, 2.55vw, 29px);
  border-radius: 16px;
  background: var(--home-surface);
}

.lemon-home-visit-fact h3 {
  margin-block-end: 3px;
  color: var(--lemon-muted);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.4;
}

.lemon-home-visit-fact p {
  font-size: clamp(14px, 1.18vw, 17px);
  font-weight: 750;
  line-height: 1.4;
}

@media (max-width: 800px) {
  .lemon-hero-copy .lemon-hero-title {
    font-size: clamp(33px, 5.4vw, 44px);
  }

  .lemon-home-activities-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 680px) {
  .lemon-home-review-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .lemon-home {
    --home-radius: 20px;
  }

  .lemon-home :is(.lemon-hero, .lemon-home-story, .lemon-home-visit, .lemon-home-program-grid) {
    grid-template-columns: minmax(0, 1fr);
  }

  .lemon-hero-copy {
    padding: clamp(18px, 4.7vw, 32px);
  }

  .lemon-hero-copy .lemon-hero-title {
    font-size: clamp(34px, 8.6vw, 54px);
  }

  .lemon-hero-photo {
    min-height: 0;
    height: clamp(142px, 43vw, 250px);
  }

  .lemon-hero-photo img {
    object-position: center 27%;
  }

  .lemon-home-program-card {
    display: grid;
    grid-template-columns: clamp(82px, 24vw, 140px) minmax(0, 1fr);
    align-items: start;
    gap: 12px;
    padding: 10px;
  }

  .lemon-home-program-card img {
    aspect-ratio: 1;
    border-radius: 10px;
  }

  .lemon-home-program-copy {
    padding: 0;
  }

  .site-main .lemon-home-quick-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-block-start: 12px;
  }

  .lemon-home-quick-links .wp-block-button {
    border-radius: 8px;
    background: var(--home-mint);
  }

  .lemon-home-quick-links .wp-block-button__link {
    width: 100%;
    text-align: start;
  }

  .lemon-home-story-copy {
    grid-row: 1;
  }

  .lemon-home-story-photo {
    min-height: 0;
    aspect-ratio: 1.9;
  }

  .lemon-home-visit-grid {
    grid-row: auto;
  }
}

@media (max-width: 560px) {
  .lemon-hero {
    gap: 0;
    overflow: hidden;
    border-radius: var(--home-radius);
    background: var(--lemon-yellow);
  }

  .lemon-hero-photo {
    grid-row: 1;
    height: clamp(136px, 43vw, 223px);
    border-radius: 0;
  }

  .lemon-hero-copy {
    padding: 14px clamp(15px, 4.8vw, 25px) 16px;
    border-radius: 0;
  }

  .site-main .lemon-hero-copy .lemon-hero-kicker {
    display: none;
  }

  .lemon-hero-copy .lemon-hero-title {
    margin-block: 0 8px;
    line-height: .96;
  }

  .lemon-hero-copy .lemon-hero-lead {
    font-size: 16px;
    line-height: 1.36;
  }

  .lemon-hero-copy .lemon-hero-actions {
    margin-block-start: 12px;
  }

  .lemon-hero-copy .lemon-hero-note {
    margin-block-start: 7px;
  }

  .lemon-hero-actions,
  .lemon-hero-actions .wp-block-button,
  .lemon-hero-actions .wp-block-button__link,
  .lemon-home-program-actions .wp-block-button,
  .lemon-home-program-actions .wp-block-button__link {
    width: 100%;
  }

  .lemon-home-program-actions .wp-block-button__link {
    border-radius: 8px;
    background: var(--home-mint);
    text-align: start;
  }

  .lemon-home-program-card {
    display: block;
    padding: 0 0 16px;
    border: 0;
    border-block-end: 1px solid var(--lemon-line);
    border-radius: 0;
    background: transparent;
  }

  .lemon-home-program-card img {
    height: clamp(114px, 38vw, 184px);
    aspect-ratio: auto;
  }

  .lemon-home-program-copy {
    padding-block-start: 10px;
  }

  .site-main .lemon-home-quick-links {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    border-block-start: 1px solid var(--lemon-line);
  }

  .lemon-home-quick-links .wp-block-button {
    border-block-end: 1px solid var(--lemon-line);
    border-radius: 0;
    background: transparent;
  }

  .lemon-home-featured {
    grid-template-columns: minmax(0, 1fr);
  }

  .lemon-home-featured .lemon-home-activity-copy {
    padding: 16px;
  }
}

@media (max-width: 430px) {
  .lemon-home-visit-actions .wp-block-button,
  .lemon-home-visit-actions .wp-block-button__link {
    width: 100%;
  }
}
