:root {
  --fg: #222;
  --muted: rgba(34, 34, 34, 0.75);
  --line: rgba(34, 34, 34, 0.12);
  --bg: #fff;
  --page: 1200px;
  --heading: Montserrat, sans-serif;
  --body: "Libre Baskerville", serif;
  --radius: 10px;
}

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

html {
  font-size: 62.5%;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: var(--muted);
  background: var(--bg);
  font-family: var(--body);
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: 0.06rem;
  line-height: 1.8;
}

main {
  flex: 1;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--fg);
  text-decoration-thickness: 0.1rem;
  text-underline-offset: 0.3rem;
}

h1,
h2,
h3,
.section-title,
.product-card__title,
.article-card__title {
  font-family: var(--heading);
  font-weight: 500;
  color: var(--fg);
  letter-spacing: 0.06rem;
  line-height: 1.3;
}

h1,
.hero__box h2,
.section-title {
  font-size: 3rem;
  margin: 0 0 1.6rem;
}

.page-width {
  width: min(100% - 3rem, var(--page));
  margin-inline: auto;
}

.page-width--narrow {
  width: min(100% - 3rem, 72rem);
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: #fff;
  padding: 0.8rem 1.2rem;
  z-index: 10;
}

.skip-link:focus {
  top: 1rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.announcement {
  border-bottom: 0.1rem solid var(--line);
  text-align: center;
}

.announcement p {
  margin: 0;
  padding: 1rem 1.5rem;
  color: var(--fg);
  font-family: var(--heading);
  font-size: 1.3rem;
  font-weight: 500;
  letter-spacing: 0.08rem;
}

.site-header {
  border-bottom: 0.1rem solid var(--line);
  display: flex;
  justify-content: center;
  padding: 1.2rem 1.5rem;
}

.logo-link {
  display: block;
  line-height: 0;
}

.logo-link img {
  width: 18rem;
  height: auto;
}

.hero {
  position: relative;
  height: 22rem;
  overflow: hidden;
  color: #fff;
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center center;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
}

.hero__content {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero__box {
  text-align: center;
  max-width: none;
}

.hero__box h2 {
  color: #fff;
  margin-bottom: 1.6rem;
  text-align: center;
  white-space: nowrap;
  font-size: clamp(2.2rem, 3.4vw, 4rem);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 4.5rem;
  min-width: 14rem;
  padding: 0 2.4rem;
  border-radius: var(--radius);
  border: 0.1rem solid #222;
  background: #222;
  color: #fff;
  font-family: var(--body);
  font-size: 1.5rem;
  letter-spacing: 0.1rem;
  text-decoration: none;
  cursor: pointer;
}

.button--outline {
  background: transparent;
  color: #fff;
  border-color: #fff;
}

.button:hover {
  opacity: 0.88;
}

.section {
  padding: 5.6rem 0;
}

.section-title {
  text-align: center;
}

.section-title--left {
  text-align: left;
}

.product-grid {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2.4rem 1.6rem;
  width: min(100% - 3rem, 148rem);
}

.product-card {
  display: block;
  width: min(100%, 32rem);
  text-decoration: none;
  text-align: center;
  color: var(--fg);
}

.product-card__media {
  position: relative;
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
  background: #f3f3f3;
}

.product-card__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

.product-card__hover {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.product-card:hover .product-card__hover,
.product-card:focus-visible .product-card__hover {
  opacity: 1;
}

.product-card__title {
  display: block;
  font-size: 1.6rem;
  padding: 0.8rem 1rem 1.2rem;
}

.product-name {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  line-height: 1.35;
}

.product-name em {
  font-family: var(--body);
  font-style: italic;
  font-weight: 400;
  font-size: 0.92em;
}

.article-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  justify-items: center;
  grid-template-columns: 1fr;
  gap: 0.8rem;
}

.article-card {
  display: block;
  width: min(100%, 36rem);
  margin-inline: auto;
  text-align: center;
  text-decoration: none;
  color: inherit;
}

.article-card__media {
  display: block;
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: #f3f3f3;
}

.article-card__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

.article-card__title {
  display: block;
  margin-top: 1.2rem;
  font-size: 1.8rem;
}

.article-card__excerpt {
  display: block;
  margin-top: 0.6rem;
}

.facts__inner {
  width: min(100% - 3rem, 73.4rem);
  margin: 0 auto;
}

.accordion {
  border-top: 0.1rem solid var(--line);
}

.accordion:last-of-type {
  border-bottom: 0.1rem solid var(--line);
}

.accordion summary {
  display: grid;
  grid-template-columns: 2rem 1fr 1.2rem;
  gap: 1.2rem;
  align-items: center;
  padding: 1.5rem 0;
  cursor: pointer;
  list-style: none;
  color: var(--fg);
  font-family: var(--heading);
  font-size: 1.6rem;
  font-weight: 500;
}

.accordion summary::-webkit-details-marker {
  display: none;
}

.accordion__check,
.accordion__caret {
  width: 1.6rem;
  height: 1.6rem;
}

.accordion__caret {
  justify-self: end;
  transition: transform 0.2s ease;
}

.accordion[open] .accordion__caret {
  transform: rotate(180deg);
}

.accordion .rte {
  padding: 0 0 1.6rem 3.2rem;
}

.rte p,
.rte ul {
  margin: 0 0 1.4rem;
}

.rte li + li {
  margin-top: 0.4rem;
}

.page {
  padding: 4rem 0 6rem;
}

.product {
  display: grid;
  gap: 3rem;
  padding: 3rem 0 6rem;
  justify-items: center;
}

.product__gallery {
  width: 28rem;
  max-width: 100%;
  min-width: 0;
}

.product__hero {
  display: block;
  width: 28rem;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  background: #f3f3f3;
}

.product__thumbs {
  display: flex;
  gap: 0.8rem;
  margin-top: 0.8rem;
}

.product__thumb {
  width: 7.2rem;
  height: 7.2rem;
  padding: 0;
  border: 0.1rem solid var(--line);
  background: #fff;
  cursor: pointer;
}

.product__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product__info h1 {
  margin-top: 0;
  text-align: center;
}

.product__info .product-name {
  align-items: center;
}

.product__note {
  margin-top: 0;
}

.article {
  padding: 4rem 0 6rem;
}

.article__image {
  width: 100%;
  margin: 0 0 2rem;
}

.back-link {
  margin-top: 3rem;
}

.empty {
  margin-top: 0;
}

.site-footer {
  border-top: 0.1rem solid var(--line);
  padding: 2rem 0 3rem;
  text-align: center;
  font-size: 1.3rem;
}

.site-footer p {
  margin: 0;
}

@media (min-width: 750px) {
  body {
    font-size: 1.6rem;
  }

  h1,
  .section-title {
    font-size: 4rem;
  }

  .page-width {
    width: min(100% - 10rem, var(--page));
  }

  .hero {
    height: 36rem;
  }

  .section {
    padding: 7.2rem 0;
  }

  .product-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 34rem));
    width: min(100% - 6rem, 148rem);
  }

  .product-card {
    width: 100%;
  }

  .product {
    grid-template-columns: 28rem minmax(0, 42rem);
    justify-content: center;
    align-items: center;
  }

  .logo-link img {
    width: 24rem;
  }
}


