/* Shared layout for the next Gutenberg homepage sections. */
.nevis-home-section { padding-block: 100px; color: var(--nevis-black); background: var(--nevis-white); }
.nevis-home-section .nevis-home-section__inner { width: min(calc(100% - var(--nevis-gutter) * 2), var(--nevis-wide)); margin-inline: auto; }
.nevis-home-section :where(h2, h3, p, figure, .wp-block-buttons) { margin: 0; }
.nevis-home-section :where(.wp-block-group) { margin-block: 0; }
.nevis-home-section .nevis-section-heading { display: flex; flex-direction: column; gap: 14px; margin-bottom: 48px; }
.nevis-home-section .nevis-section-kicker { color: var(--nevis-primary); font: 700 14px/1.4 var(--nevis-font); }
.nevis-home-section h2 { font: 700 clamp(2rem, 3.01vw, 3.25rem)/1.154 var(--nevis-font); }
.nevis-home-section .nevis-section-copy { max-width: 850px; color: var(--nevis-muted); font: 400 18px/1.5 var(--nevis-font); }
.nevis-home-story, .nevis-home-machines { background: var(--nevis-warm); }
.nevis-home-story { padding-block: 90px; }
.nevis-home-story .nevis-home-section__inner { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; align-items: center; }
.nevis-home-story__graphic { position: relative; min-width: 0; height: 456px; border-radius: 20px; overflow: hidden; background: var(--nevis-highlight); display: flex; flex-direction: column; justify-content: end; gap: 16px; padding: 48px; }
.nevis-home-story__graphic img { position: absolute; width: 54.32%; height: 88.16%; top: 3.51%; left: 35.17%; max-width: none; }
.nevis-home-story__graphic p { position: relative; color: var(--nevis-white); }
.nevis-home-story .nevis-home-story__display { font: 700 clamp(2.5rem, 4.4vw, 4.75rem)/1 var(--nevis-font); }
.nevis-home-story .nevis-home-story__caption { font: 700 14px/1.4 var(--nevis-font); }
.nevis-home-story .nevis-section-heading { gap: 24px; margin-bottom: 24px; }
.nevis-home-story .nevis-section-copy { font-size: 20px; }
.nevis-home-process .nevis-section-heading, .nevis-home-moments .nevis-section-heading { text-align: center; align-items: center; }
.nevis-home-process__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.nevis-process-step { min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.nevis-process-step .nevis-process-step__number { font: 700 48px/1.2 var(--nevis-font); color: var(--nevis-primary); border-bottom: 2px solid var(--nevis-border); padding-bottom: 14px; }
.nevis-process-step h3 { font-size: 24px; }
.nevis-process-step p:last-child { color: var(--nevis-muted); font-size: 17px; }
.nevis-home-machines__products { margin-bottom: 48px; }
.nevis-home-machines .wp-block-buttons, .nevis-home-moments .wp-block-buttons { justify-content: center; }
.nevis-home-machines .nevis-machines__collection ul.products { margin-block: 0; padding: 0; }
.nevis-home-moments { padding-block: 120px; background: linear-gradient(rgb(36 26 21 / 90%), rgb(36 26 21 / 90%)), url('../images/home/moments.png') center / cover no-repeat, var(--nevis-dark); color: var(--nevis-white); }
.nevis-home-moments .nevis-section-kicker { color: var(--nevis-highlight); }
.nevis-home-moments .nevis-section-copy { color: var(--nevis-white); }
@media (max-width: 74.999rem) {
  .nevis-home-story .nevis-home-section__inner { gap: 28px; }
  .nevis-home-story__graphic { padding: 28px; }
  .nevis-home-process__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 48rem) {
  .nevis-home-section { padding-block: 56px; }
  .nevis-home-section .nevis-section-heading { margin-bottom: 28px; text-align: left; align-items: flex-start; }
  .nevis-home-section h2 { font-size: 32px; line-height: 1.25; }
  .nevis-home-section .nevis-section-copy { font-size: 16px; }
  .nevis-home-story .nevis-home-section__inner { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .nevis-home-story__graphic { height: 300px; padding: 24px 20px; }
  .nevis-home-story .nevis-home-story__display { font-size: 40px; }
  .nevis-home-story .nevis-section-heading { gap: 20px; margin-bottom: 20px; }
  .nevis-home-process__grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .nevis-process-step .nevis-process-step__number, .nevis-process-step h3 { font-size: 18px; }
  .nevis-process-step p:last-child { font-size: 16px; }
  .nevis-home-machines .nevis-machines__collection ul.products { width: 100%; grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: min(312px, 90%); gap: 20px; overflow-x: auto; padding-bottom: 12px; scroll-snap-type: x proximity; }
  .nevis-home-machines .nevis-machines__collection ul.products li.product { scroll-snap-align: start; }
  .nevis-home-machines__products { margin-bottom: 28px; }
  .nevis-home-moments .wp-block-buttons { justify-content: flex-start; }
}
