@import url("main.css");

/* Product-page system: mirrors the main ExoLabs site. */
.product-page {
  background: var(--paper);
}

.product-main {
  overflow: hidden;
}

.product-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 6vw, 7rem);
  align-items: stretch;
  padding: clamp(3rem, 7vw, 7rem) clamp(1.25rem, 12vw, 12rem);
  background: var(--soft);
}

.product-hero-copy {
  align-self: center;
  max-width: 540px;
}

.product-hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(3rem, 6vw, 5.8rem);
}

.product-hero-copy > p:last-child {
  max-width: 42rem;
  font-size: 1.1rem;
  line-height: 1.65;
}

.product-hero-media {
  min-width: 0;
  min-height: 410px;
  background: linear-gradient(140deg, #7996a8, #d8e6e9 55%, #536f80);
}

.product-hero-media .video-embed {
  height: 100%;
  min-height: inherit;
}

.product-hero-media--silva {
  background: linear-gradient(145deg, #2e4b43, #78936d 52%, #cfdda2);
}

.product-hero-media--adele {
  background: linear-gradient(145deg, #1e3d52, #6ba1ac 45%, #d2d9a1);
}

.product-hero-media--graphic {
  display: grid;
  place-items: end start;
  padding: 2rem;
  color: var(--paper);
}

.product-hero-media--graphic span {
  max-width: 20rem;
  font-size: clamp(1.7rem, 3.4vw, 3.4rem);
  line-height: 1.06;
  letter-spacing: -0.05em;
}

.product-section,
.product-contact {
  padding: clamp(4.5rem, 7vw, 7rem) clamp(1.25rem, 12vw, 12rem);
}

.product-section--soft {
  background: var(--soft);
}

.product-section-heading {
  display: grid;
  grid-template-columns: minmax(11rem, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(2rem, 7vw, 8rem);
  margin-bottom: 3rem;
}

.product-section-heading h2,
.product-news h2 {
  margin: 0;
}

.product-section-heading > div {
  max-width: 50rem;
}

.product-section-heading p,
.product-grid p,
.partner-card p,
.news-item p {
  line-height: 1.65;
}

.product-grid,
.partner-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.product-grid article,
.partner-card {
  padding: 1.5rem;
  border: 1px solid #cfd7da;
}

.product-grid article > span {
  display: block;
  margin-bottom: 2.5rem;
  color: #60727a;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
}

.product-grid h3,
.partner-card h3 {
  margin: 0 0 0.8rem;
  font-size: 1.45rem;
  font-weight: 400;
  line-height: 1.2;
}

.product-grid p,
.partner-card p {
  margin: 0;
  color: #46545a;
}

.video-gallery {
  margin-top: 4rem;
}

.video-gallery h2 {
  margin-bottom: 1.5rem;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.video-card {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  background: #243c4b;
}

.video-card figcaption {
  padding: 1rem 1.15rem;
  color: var(--paper);
  font-size: 0.95rem;
}

.video-card .video-embed {
  background: #304e5e;
}

.product-news {
  display: grid;
  grid-template-columns: minmax(0, 0.6fr) minmax(0, 1.4fr);
  gap: clamp(2rem, 7vw, 8rem);
}

.news-item {
  padding-top: 1.2rem;
  border-top: 1px solid #aebdc2;
}

.news-item time {
  display: block;
  margin-bottom: 0.75rem;
  color: #5f7077;
  font-size: 0.85rem;
}

.news-item h3 {
  margin: 0 0 0.8rem;
  font-size: 1.45rem;
  font-weight: 400;
}

.news-item p {
  max-width: 50rem;
}

.partner-card a {
  display: inline-block;
  margin-top: 1.5rem;
  color: var(--ink);
  font-size: 0.85rem;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}

.product-contact {
  background: #203a4b;
  color: var(--paper);
}

.product-contact .section-label,
.product-contact .contact-link {
  color: var(--paper);
}

.product-contact h2 {
  margin: 0 0 1.5rem;
}

@media (max-width: 700px) {
  .product-hero,
  .product-section-heading,
  .product-news,
  .product-grid,
  .partner-grid,
  .video-grid {
    grid-template-columns: 1fr;
  }

  .product-hero {
    gap: 2rem;
    padding-top: 2.5rem;
  }

  .product-hero-media {
    width: 100%;
    height: 56.25vw;
    min-height: 0;
    max-height: 360px;
    aspect-ratio: auto;
  }

  .product-hero-media .video-embed {
    height: 100%;
    min-height: 0;
    aspect-ratio: auto;
  }

  .product-section-heading {
    gap: 1.25rem;
  }
}
