*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  background: #fff;
  color: #000;
  font: 400 16px/1.5 Poppins, sans-serif;
}

img { display: block; max-width: 100%; }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 3px solid #e31e24; outline-offset: 4px; }

.page { max-width: 1140px; margin: 0 auto; }
.pattern { margin-inline: 10px; background: url("assets/banner.jpg") left top / cover no-repeat; }
.pattern--top { height: 310px; }
.pattern--bottom { height: 310px; margin-top: 50px; }

.intro { margin: 35px 8px 52px; text-align: center; }
.intro h1 { margin: 0; }
.intro__logo { width: min(450px, 100%); height: auto; margin: 0 auto; }
.intro p { margin: 20px 0 0; }

.showcase { position: relative; height: 600px; margin-inline: 10px; overflow: hidden; }
.showcase__slide { position: absolute; inset: 0; opacity: 0; transition: opacity .5s ease; }
.showcase__slide.is-active { opacity: 1; }
.showcase__slide img { width: 100%; height: 100%; object-fit: cover; }
.showcase__arrow {
  position: absolute;
  z-index: 1;
  top: 50%;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 5px;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
  transform: translateY(-50%);
}
.showcase__arrow:hover { background: rgb(0 0 0 / 18%); }
.showcase__arrow svg { width: 36px; height: 36px; fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 1px 2px rgb(0 0 0 / 45%)); }
.showcase__arrow--prev { left: 10px; }
.showcase__arrow--next { right: 10px; }

.products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 3.55%; row-gap: 10px; padding: 110px 8px 0; }
.product { text-align: center; }
.product__image { display: block; }
.product__image img { width: auto; height: auto; margin: 0 auto; }
.product__copy { padding: 0 12px; }
.product h2 { margin: 8px 0 0; font-size: 30px; line-height: 1.25; font-weight: 500; }
.product h2 a { text-decoration: none; }
.product h2 a:hover { text-decoration: underline; }
.product p { margin: 0 0 18px; }
.product__subtitle { font-size: 20px; font-weight: 500; }
.product__designer { font-size: 16px; font-weight: 200; }

@media (max-width: 767px) {
  .intro { margin: 35px 20px 30px; }
  .intro p { font-size: 16px; line-height: 1.45; }
  .showcase { height: auto; aspect-ratio: 1.3; }
  .showcase__arrow { width: 40px; height: 40px; }
  .showcase__arrow svg { width: 28px; height: 28px; }
  .products { grid-template-columns: 1fr; row-gap: 30px; padding: 50px 8px 0; }
  .product__copy { padding: 0 20px; }
  .pattern--bottom { margin-top: 30px; }
}

@media (prefers-reduced-motion: reduce) {
  .showcase__slide { transition: none; }
}
