/* =========================================================
   ISTIKA — PRODUCTS PAGE
========================================================= */

.products-page {
  background: var(--cream);
  color: var(--green);
  overflow: hidden;

  padding-top: 10px;
}


/* =========================================================
   PRODUCTS HERO
========================================================= */

.products-hero {
  padding: 55px 4vw 80px;

  min-height: auto;
  margin-top: 0;
}

.products-hero-inner {
  max-width: 1680px;
  margin: 0 auto;
}


/* TOP LABEL */

.products-page-tag {
  display: flex;
  align-items: center;

  gap: 18px;

  padding-bottom: 22px;
  margin-bottom: 65px;

  border-bottom: 1px solid rgba(0, 67, 53, 0.18);

  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
}

.products-page-tag span {
  color: var(--orange);
}


/* =========================================================
   HERO GRID
========================================================= */

.products-hero-grid {
  display: grid;

  grid-template-columns: 1.25fr 0.75fr;

  gap: 100px;

  align-items: start;
}


/* HERO LEFT */

.products-eyebrow {
  display: block;

  margin-bottom: 24px;

  color: var(--orange);

  font-size: 10px;
  font-weight: 600;

  letter-spacing: 0.18em;
}

.products-hero-heading h1 {
  max-width: 900px;

  margin: 0;

  color: var(--green);

  font-size: clamp(54px, 6.2vw, 108px);
  font-weight: 500;

  line-height: 0.94;
  letter-spacing: -0.055em;
}

.products-hero-heading h1 em {
  display: block;

  color: var(--orange);

  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-style: italic;
}


/* HERO RIGHT */

.products-hero-copy {
  max-width: 520px;

  padding-top: 55px;
}

.products-hero-copy p {
  margin: 0 0 22px;

  color: rgba(0, 67, 53, 0.68);

  font-size: 15px;
  line-height: 1.75;
}

.products-hero-copy .products-hero-lead {
  color: var(--green);

  font-size: 19px;
  line-height: 1.6;
}


/* =========================================================
   PRODUCT COUNT
========================================================= */

.products-count {
  display: flex;
  align-items: center;

  gap: 20px;

  margin-top: 45px;
  padding-top: 25px;

  border-top: 1px solid rgba(0, 67, 53, 0.18);
}

.products-count strong {
  color: var(--orange);

  font-size: 58px;
  font-weight: 500;

  line-height: 1;
}

.products-count span {
  color: var(--green);

  font-size: 9px;
  font-weight: 600;

  line-height: 1.5;
  letter-spacing: 0.14em;
}


/* HERO BOTTOM */

.products-hero-bottom {
  display: flex;
  justify-content: space-between;

  margin-top: 90px;
  padding-top: 22px;

  border-top: 1px solid rgba(0, 67, 53, 0.18);
}

.products-hero-bottom span {
  color: rgba(0, 67, 53, 0.48);

  font-size: 9px;
  font-weight: 600;

  letter-spacing: 0.14em;
}


/* =========================================================
   PRODUCT CATALOGUE
========================================================= */

.product-catalogue {
  padding: 100px 4vw 140px;

  background: var(--green);
}

.product-catalogue-inner {
  max-width: 1680px;

  margin: 0 auto;
}


/* =========================================================
   CATALOGUE HEADING
========================================================= */

.catalogue-heading {
  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 60px;

  align-items: end;

  margin-bottom: 65px;
  padding-bottom: 25px;

  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.catalogue-heading>div {
  display: flex;
  align-items: center;

  gap: 18px;
}

.catalogue-number {
  color: var(--orange);

  font-size: 10px;
  font-weight: 600;

  letter-spacing: 0.15em;
}

.catalogue-label {
  color: var(--cream);

  font-size: 10px;
  font-weight: 600;

  letter-spacing: 0.16em;
}

.catalogue-heading p {
  justify-self: end;

  max-width: 400px;

  margin: 0;

  color: rgba(255, 255, 255, 0.58);

  font-size: 13px;
  line-height: 1.7;
}


/* =========================================================
   PRODUCT GRID
========================================================= */

.catalogue-grid {
  display: grid;

  grid-template-columns: repeat(3, minmax(0, 1fr));

  column-gap: 32px;
  row-gap: 55px;

  background: transparent;

  border: none;
}


/* =========================================================
   PRODUCT CARD
========================================================= */

.catalogue-card {
  position: relative;

  min-width: 0;

  display: flex;
  flex-direction: column;

  overflow: hidden;

  background: var(--green);

  border: 1px solid rgba(255, 255, 255, 0.14);

  border-radius: 22px;

  transition:
    transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 0.45s ease,
    background 0.35s ease,
    border-radius 0.45s ease;
}

.catalogue-card:hover {
  transform: translateY(-8px);

  background: #073f35;

  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.16);
}


/* =========================================================
   ARCHITECTURAL CARD SHAPES
========================================================= */

.catalogue-card:nth-child(6n + 1) {
  border-radius: 32px;
}

.catalogue-card:nth-child(6n + 2) {
  border-radius: 70px 18px 70px 18px;
}

.catalogue-card:nth-child(6n + 3) {
  border-radius: 18px 70px 18px 70px;
}

.catalogue-card:nth-child(6n + 4) {
  border-radius: 55px 20px 35px 20px;
}

.catalogue-card:nth-child(6n + 5) {
  border-radius: 18px 55px 18px 55px;
}

.catalogue-card:nth-child(6n + 6) {
  border-radius: 20px 20px 75px 20px;
}


/* =========================================================
   PRODUCT IMAGE
========================================================= */

.catalogue-image {
  position: relative;

  height: 360px;
  flex-shrink: 0;

  overflow: hidden;

  background: #ffffff;

  display: flex;
  align-items: center;
  justify-content: center;
}


.catalogue-image img {
  display: block;

  width: 100%;
  height: 100%;

  /* Show the COMPLETE product image */
  object-fit: contain;
  object-position: center;

  transition:
    transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1),
    filter 0.5s ease;
}


.catalogue-card:hover .catalogue-image img {
  transform: scale(1.015);
}


/* =========================================================
   PRODUCT INDEX
========================================================= */

.catalogue-index {
  position: absolute;

  top: 18px;
  left: 18px;

  display: flex;
  align-items: center;
  justify-content: center;

  width: 38px;
  height: 38px;

  border-radius: 50%;

  background: var(--green);

  color: var(--cream);

  font-size: 9px;
  font-weight: 600;

  letter-spacing: 0.08em;

  transition:
    transform 0.4s ease,
    background 0.4s ease,
    color 0.4s ease;
}

.catalogue-card:hover .catalogue-index {
  transform: translate(4px, -4px);

  background: var(--orange);
}


/* =========================================================
   CARD CONTENT
========================================================= */

.catalogue-content {
  display: flex;
  flex-direction: column;

  flex: 1;

  padding: 30px 30px 34px;
}


/* PRODUCT TYPE */

.catalogue-type {
  display: block;

  min-height: 14px;

  margin-bottom: 18px;

  color: var(--orange);

  font-size: 9px;
  font-weight: 600;

  letter-spacing: 0.16em;
}


/* DIMENSIONS */

.catalogue-content h2 {
  display: inline-block;

  margin: 0;

  color: var(--cream);

  font-size: clamp(34px, 3vw, 50px);
  font-weight: 500;

  line-height: 1;
  letter-spacing: -0.04em;

  transition: transform 0.4s ease;
}

.catalogue-card:hover .catalogue-content h2 {
  transform: translateX(4px);
}

.catalogue-unit {
  display: block;

  margin-top: 10px;
  margin-left: 0;

  color: rgba(255, 255, 255, 0.42);

  font-size: 8px;
  font-weight: 600;

  letter-spacing: 0.14em;
}


/* =========================================================
   PRODUCT DESCRIPTION
========================================================= */

.catalogue-description {
  max-width: 430px;

  margin: 24px 0 0;

  color: rgba(244, 240, 230, 0.64);

  font-size: 13px;

  line-height: 1.7;
}


/* =========================================================
   ENQUIRE LINK
========================================================= */

.catalogue-link {
  display: flex;
  align-items: center;
  justify-content: space-between;

  margin-top: auto;
  padding-top: 20px;

  border-top: 1px solid rgba(255, 255, 255, 0.16);

  color: rgba(255, 255, 255, 0.7);

  font-size: 11px;
  font-weight: 500;

  text-decoration: none;

  transition:
    color 0.25s ease,
    border-color 0.25s ease;
}


/*
   Creates consistent space between the description
   and enquiry link while allowing all cards in the
   same row to finish neatly.
*/

.catalogue-description+.catalogue-link {
  margin-top: 32px;
}

.catalogue-link span {
  display: inline-block;

  color: var(--orange);

  font-size: 17px;

  transition: transform 0.3s ease;
}

.catalogue-link:hover {
  color: var(--cream);

  border-color: rgba(255, 255, 255, 0.35);
}

.catalogue-link:hover span {
  transform: translate(4px, -4px);
}


/* =========================================================
   FINAL PRODUCT CTA
========================================================= */

.products-cta {
  padding: 140px 4vw;

  background: var(--orange);

  color: var(--cream);
}

.products-cta-inner {
  max-width: 1680px;

  margin: 0 auto;
}

.products-cta-label {
  display: block;

  margin-bottom: 45px;

  font-size: 9px;
  font-weight: 600;

  letter-spacing: 0.18em;
}

.products-cta h2 {
  max-width: 1050px;

  margin: 0;

  font-size: clamp(50px, 6vw, 100px);
  font-weight: 500;

  line-height: 0.98;
  letter-spacing: -0.05em;
}

.products-cta h2 em {
  font-family: Georgia, "Times New Roman", serif;

  font-weight: 400;
  font-style: italic;
}

.products-cta p {
  max-width: 470px;

  margin: 40px 0 35px;

  color: rgba(255, 255, 255, 0.72);

  font-size: 14px;
  line-height: 1.75;
}


/* CTA BUTTON */

.products-cta .primary-btn {
  display: inline-flex;
  align-items: center;

  gap: 50px;

  min-width: 290px;

  padding: 19px 22px;

  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 2px;

  color: var(--cream);

  font-size: 11px;
  font-weight: 600;

  text-decoration: none;

  transition:
    background 0.25s ease,
    color 0.25s ease;
}

.products-cta .primary-btn span {
  margin-left: auto;
}

.products-cta .primary-btn:hover {
  background: var(--cream);

  color: var(--green);
}


/* =========================================================
   PRODUCTS PAGE — TABLET
========================================================= */

@media (max-width: 1050px) {

  .products-hero {
    padding-top: 55px;
  }

  .products-hero-grid {
    grid-template-columns: 1fr;

    gap: 30px;
  }

  .products-hero-copy {
    max-width: 620px;

    padding-top: 10px;
  }

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

  .catalogue-image {
    height: 340px;
  }

}


/* =========================================================
   PRODUCTS PAGE — MOBILE
========================================================= */

@media (max-width: 650px) {

  .products-hero {
    padding: 45px 20px 60px;
  }

  .products-page-tag {
    margin-bottom: 40px;
  }

  .products-hero-heading h1 {
    font-size: 48px;

    line-height: 0.98;
  }

  .products-hero-copy .products-hero-lead {
    font-size: 16px;
  }

  .products-count strong {
    font-size: 48px;
  }

  .products-hero-bottom {
    flex-direction: column;

    gap: 12px;

    margin-top: 55px;
  }


  /* CATALOGUE */

  .product-catalogue {
    padding: 70px 20px 90px;
  }

  .catalogue-heading {
    grid-template-columns: 1fr;

    gap: 20px;

    margin-bottom: 40px;
  }

  .catalogue-heading p {
    justify-self: start;
  }

  .catalogue-grid {
    grid-template-columns: 1fr;

    row-gap: 35px;
  }

  .catalogue-image {
    height: 300px;
  }

  .catalogue-content {
    padding: 25px 22px 30px;
  }

  .catalogue-content h2 {
    font-size: 40px;
  }

  .catalogue-description {
    font-size: 12px;

    line-height: 1.65;
  }


  /* Reduce extreme card curves on small screens */

  .catalogue-card,
  .catalogue-card:nth-child(6n + 1),
  .catalogue-card:nth-child(6n + 2),
  .catalogue-card:nth-child(6n + 3),
  .catalogue-card:nth-child(6n + 4),
  .catalogue-card:nth-child(6n + 5),
  .catalogue-card:nth-child(6n + 6) {
    border-radius: 22px;
  }


  /* CTA */

  .products-cta {
    padding: 90px 20px;
  }

  .products-cta h2 {
    font-size: 48px;
  }

  .products-cta .primary-btn {
    width: 100%;
  }

}


/* =========================================================
   ACCESSIBILITY — REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

  .catalogue-card,
  .catalogue-image img,
  .catalogue-index,
  .catalogue-content h2,
  .catalogue-link span {
    transition: none;

    transform: none !important;
  }

}

/* =========================================================
   TESTED PERFORMANCE — FINAL
========================================================= */

.performance-section {
  padding: 110px 5vw 120px;

  background: #083f35;
  color: #f4f0e6;
}

/* SECTION TAG */

.performance-tag {
  display: flex;
  gap: 18px;
  align-items: center;

  padding-bottom: 24px;

  border-bottom: 1px solid rgba(244, 240, 230, 0.18);

  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
}

.performance-tag span,
.performance-eyebrow {
  color: #d56b42;
}

/* =========================================================
   INTRO
========================================================= */

.performance-heading {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;

  gap: 80px;
  align-items: end;

  padding: 80px 0 90px;
}

.performance-eyebrow {
  display: block;

  margin-bottom: 20px;

  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
}

.performance-heading h2 {
  margin: 0;

  max-width: 900px;

  font-size: clamp(52px, 6.2vw, 100px);
  font-weight: 500;
  line-height: 0.94;
  letter-spacing: -0.055em;
}

.performance-heading h2 em,
.sample-results-heading h3 em,
.original-report-copy h3 em {
  color: #d56b42;

  font-family: Georgia, serif;
  font-weight: 400;
}

.performance-intro {
  max-width: 470px;
}

.performance-intro p {
  margin: 0;

  color: rgba(244, 240, 230, 0.67);

  font-size: 14px;
  line-height: 1.85;
}

/* =========================================================
   TEST OVERVIEW
========================================================= */

.test-overview {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;

  border-top: 1px solid rgba(244, 240, 230, 0.18);
  border-bottom: 1px solid rgba(244, 240, 230, 0.18);
}

/* HERO RESULT */

.test-result-hero {
  padding: 65px 65px 65px 0;

  border-right: 1px solid rgba(244, 240, 230, 0.18);
}

.result-label {
  display: block;

  max-width: 220px;

  color: rgba(244, 240, 230, 0.55);

  font-size: 9px;
  line-height: 1.5;
  letter-spacing: 0.18em;
}

.result-value {
  display: flex;
  align-items: flex-end;
  gap: 15px;

  margin: 35px 0 28px;
}

.result-value strong {
  color: #d56b42;

  font-size: clamp(80px, 10vw, 155px);
  font-weight: 500;
  line-height: 0.8;
  letter-spacing: -0.07em;
}

.result-value span {
  padding-bottom: 9px;

  font-size: 14px;
}

.test-result-hero>p {
  max-width: 320px;

  color: rgba(244, 240, 230, 0.58);

  font-size: 12px;
  line-height: 1.75;
}

.result-standard {
  margin-top: 60px;
  padding-top: 22px;

  border-top: 1px solid rgba(244, 240, 230, 0.15);
}

.result-standard span,
.result-standard strong {
  display: block;
}

.result-standard span {
  margin-bottom: 9px;

  color: rgba(244, 240, 230, 0.42);

  font-size: 8px;
  letter-spacing: 0.18em;
}

.result-standard strong {
  font-size: 14px;
  font-weight: 500;
}

/* =========================================================
   TEST DETAILS
========================================================= */

.test-details {
  padding: 65px 0 65px 65px;
}

.test-details-header,
.test-detail-row {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;

  gap: 30px;
}

.test-details-header {
  padding-bottom: 22px;

  color: #d56b42;

  font-size: 9px;
  letter-spacing: 0.14em;
}

.test-detail-row {
  padding: 18px 0;

  border-top: 1px solid rgba(244, 240, 230, 0.13);
}

.test-detail-row span {
  color: rgba(244, 240, 230, 0.43);

  font-size: 10px;
}

.test-detail-row strong {
  color: rgba(244, 240, 230, 0.88);

  font-size: 11px;
  font-weight: 500;
}

/* =========================================================
   SAMPLE RESULTS
========================================================= */

.sample-results {
  padding-top: 110px;
}

.sample-results-heading {
  margin-bottom: 55px;
}

.sample-results-heading>span {
  display: block;

  margin-bottom: 17px;

  color: #d56b42;

  font-size: 9px;
  letter-spacing: 0.18em;
}

.sample-results-heading h3 {
  margin: 0;

  font-size: clamp(40px, 4.5vw, 68px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.04em;
}

/* FIVE RESULTS */

.sample-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);

  border-top: 1px solid rgba(244, 240, 230, 0.18);
  border-bottom: 1px solid rgba(244, 240, 230, 0.18);
}

.sample-card {
  position: relative;

  padding: 35px 28px 32px;

  min-height: 300px;

  transition:
    background 0.35s ease,
    transform 0.35s ease;
}

.sample-card+.sample-card {
  border-left: 1px solid rgba(244, 240, 230, 0.18);
}

.sample-card:hover {
  background: rgba(244, 240, 230, 0.055);
  transform: translateY(-6px);
}

.sample-number {
  display: block;

  margin-bottom: 55px;

  color: #d56b42;

  font-size: 9px;
  letter-spacing: 0.18em;
}

.sample-strength {
  display: block;

  font-size: clamp(38px, 4vw, 62px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.045em;
}

.sample-unit {
  display: block;

  margin-top: 8px;

  color: rgba(244, 240, 230, 0.48);

  font-size: 9px;
}

.sample-meta {
  margin-top: 40px;
}

.sample-meta p {
  display: flex;
  justify-content: space-between;
  gap: 15px;

  margin: 8px 0;

  color: rgba(244, 240, 230, 0.78);

  font-size: 9px;
}

.sample-meta p span {
  color: rgba(244, 240, 230, 0.38);
}

/* COMMON DATA */

.sample-common {
  display: grid;
  grid-template-columns: repeat(4, 1fr);

  margin-top: 28px;
}

.sample-common>div {
  padding: 18px 22px 18px 0;
}

.sample-common span,
.sample-common strong {
  display: block;
}

.sample-common span {
  margin-bottom: 8px;

  color: rgba(244, 240, 230, 0.4);

  font-size: 8px;
  letter-spacing: 0.15em;
}

.sample-common strong {
  font-size: 11px;
  font-weight: 500;
}

/* =========================================================
   ORIGINAL REPORT
========================================================= */

.original-report {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;

  gap: 90px;
  align-items: center;

  margin-top: 120px;
  padding-top: 100px;

  border-top: 1px solid rgba(244, 240, 230, 0.18);
}

.original-report-copy h3 {
  margin: 0 0 28px;

  font-size: clamp(42px, 5vw, 76px);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.original-report-copy p {
  max-width: 430px;

  color: rgba(244, 240, 230, 0.58);

  font-size: 12px;
  line-height: 1.8;
}

/* BUTTON */

.report-view-button {
  display: flex;
  justify-content: space-between;
  align-items: center;

  width: 100%;
  max-width: 410px;

  margin-top: 42px;
  padding: 20px 22px;

  border: 1px solid rgba(244, 240, 230, 0.28);

  background: transparent;
  color: #f4f0e6;

  font: inherit;
  font-size: 11px;

  cursor: pointer;

  transition:
    background 0.3s ease,
    color 0.3s ease;
}

.report-view-button:hover {
  background: #f4f0e6;
  color: #083f35;
}

/* =========================================================
   REPORT PREVIEW
========================================================= */

.report-preview {
  position: relative;

  display: block;

  width: min(100%, 620px);

  margin-left: auto;
  padding: 0;

  overflow: hidden;

  border: 0;
  background: transparent;

  cursor: pointer;

  transform: rotate(1.5deg);

  box-shadow: 0 35px 70px rgba(0, 0, 0, 0.25);

  transition: transform 0.55s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.report-preview:hover {
  transform: rotate(0deg) translateY(-8px);
}

.report-preview img {
  display: block;

  width: 100%;
  height: auto;
}

.report-preview-overlay {
  position: absolute;
  inset: auto 0 0;

  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 20px 22px;

  background: rgba(8, 63, 53, 0.93);
  color: #f4f0e6;
}

.report-preview-overlay span {
  font-size: 8px;
  letter-spacing: 0.16em;
}

.report-preview-overlay strong {
  font-size: 10px;
  font-weight: 500;
}

/* =========================================================
   REPORT MODAL — MULTIPLE REPORTS
========================================================= */

.report-modal {
  position: fixed;
  inset: 0;

  z-index: 99999;

  display: flex;
  align-items: flex-start;
  justify-content: center;

  padding: 80px 20px 70px;

  overflow-x: hidden;
  overflow-y: auto;

  background: rgba(4, 25, 21, 0.96);

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transition:
    opacity 0.35s ease,
    visibility 0.35s ease;
}


/* OPEN STATE */

.report-modal.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}


/* =========================================================
   REPORT CONTAINER
========================================================= */

.report-modal-inner {
  width: min(850px, 94vw);

  display: flex;
  flex-direction: column;

  gap: 45px;

  margin: 0 auto;
}


/* EACH REPORT */

.report-modal-inner img {
  display: block;

  width: 100%;
  height: auto;

  flex-shrink: 0;

  background: white;

  box-shadow:
    0 30px 90px rgba(0, 0, 0, 0.45);
}


/* =========================================================
   CLOSE BUTTON
========================================================= */

.report-modal-close {
  position: fixed;

  top: 22px;
  right: 30px;

  z-index: 100001;

  display: flex;
  align-items: center;
  justify-content: center;

  width: 45px;
  height: 45px;

  padding: 0;

  border:
    1px solid rgba(255, 255, 255, 0.3);

  border-radius: 50%;

  background: rgba(4, 25, 21, 0.7);

  color: white;

  font-size: 27px;
  line-height: 1;

  cursor: pointer;

  backdrop-filter: blur(8px);

  transition:
    transform 0.3s ease,
    background 0.3s ease;
}


.report-modal-close:hover {
  transform: rotate(90deg);

  background: #c96743;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

  .report-modal {
    padding:
      75px 12px 40px;
  }

  .report-modal-inner {
    width: 100%;

    gap: 25px;
  }

  .report-modal-close {
    top: 15px;
    right: 15px;

    width: 42px;
    height: 42px;
  }

}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 900px) {
  .performance-section {
    padding: 85px 24px;
  }

  .performance-heading,
  .test-overview,
  .original-report {
    grid-template-columns: 1fr;
  }

  .performance-heading {
    gap: 35px;
    padding: 60px 0;
  }

  .test-result-hero {
    padding: 50px 0;

    border-right: 0;
    border-bottom: 1px solid rgba(244, 240, 230, 0.18);
  }

  .test-details {
    padding: 50px 0;
  }

  .sample-grid {
    grid-template-columns: 1fr 1fr;
  }

  .sample-card {
    border-bottom: 1px solid rgba(244, 240, 230, 0.18);
  }

  .sample-card+.sample-card {
    border-left: 0;
  }

  .sample-card:nth-child(even) {
    border-left: 1px solid rgba(244, 240, 230, 0.18);
  }

  .sample-common {
    grid-template-columns: 1fr 1fr;
  }

  .original-report {
    gap: 55px;

    margin-top: 80px;
    padding-top: 70px;
  }

  .report-preview {
    margin: 0 auto;
  }
}

@media (max-width: 560px) {
  .performance-section {
    padding-left: 18px;
    padding-right: 18px;
  }

  .sample-grid {
    grid-template-columns: 1fr;
  }

  .sample-card {
    min-height: auto;
    padding: 30px 5px;
  }

  .sample-card:nth-child(even) {
    border-left: 0;
  }

  .sample-number {
    margin-bottom: 30px;
  }

  .sample-common {
    grid-template-columns: 1fr 1fr;
  }

  .test-details-header,
  .test-detail-row {
    grid-template-columns: 1fr;

    gap: 8px;
  }

  .result-value strong {
    font-size: 78px;
  }
}

/* =========================================================
   TESTED PERFORMANCE — COMPACT SIZE OVERRIDE
========================================================= */

.performance-section {
  padding: 85px 5vw 90px;
}

/* INTRO */

.performance-heading {
  gap: 60px;
  padding: 60px 0 65px;
}

.performance-heading h2 {
  font-size: clamp(44px, 5vw, 78px);
}

.performance-intro {
  max-width: 420px;
}

.performance-intro p {
  font-size: 13px;
}

/* MAIN RESULT */

.test-result-hero {
  padding: 50px 50px 50px 0;
}

.result-value {
  margin: 28px 0 24px;
}

.result-value strong {
  font-size: clamp(68px, 8vw, 120px);
}

.result-value span {
  font-size: 12px;
}

.test-result-hero>p {
  font-size: 11px;
}

.result-standard {
  margin-top: 42px;
}

/* REPORT DETAILS */

.test-details {
  padding: 50px 0 50px 50px;
}

.test-detail-row {
  padding: 14px 0;
}

/* SAMPLE RESULTS */

.sample-results {
  padding-top: 80px;
}

.sample-results-heading {
  margin-bottom: 40px;
}

.sample-results-heading h3 {
  font-size: clamp(36px, 4vw, 58px);
}

.sample-card {
  padding: 28px 22px;
  min-height: 250px;
}

.sample-number {
  margin-bottom: 38px;
}

.sample-strength {
  font-size: clamp(34px, 3.4vw, 52px);
}

.sample-meta {
  margin-top: 30px;
}

/* ORIGINAL REPORT SECTION */

.original-report {
  grid-template-columns: 0.9fr 1.1fr;

  gap: 65px;

  margin-top: 85px;
  padding-top: 75px;
}

.original-report-copy h3 {
  font-size: clamp(38px, 4.2vw, 62px);
}

.original-report-copy {
  max-width: 480px;
}

/* DECREASE TEST REPORT IMAGE */

.report-preview {
  width: min(100%, 480px);
}

/* SMALLER BUTTON */

.report-view-button {
  max-width: 360px;

  margin-top: 32px;
  padding: 17px 19px;
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {
  .performance-section {
    padding: 70px 24px 75px;
  }

  .performance-heading {
    padding: 50px 0;
  }

  .test-result-hero,
  .test-details {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .sample-results {
    padding-top: 65px;
  }

  .original-report {
    margin-top: 65px;
    padding-top: 60px;
  }

  .report-preview {
    width: min(100%, 430px);
  }
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 560px) {
  .performance-section {
    padding: 60px 18px 65px;
  }

  .performance-heading h2 {
    font-size: 42px;
  }

  .result-value strong {
    font-size: 68px;
  }

  .sample-results-heading h3,
  .original-report-copy h3 {
    font-size: 38px;
  }

  .report-preview {
    width: min(100%, 360px);
  }
}

/* =========================================================
   PRODUCT DETAIL MODAL — BASE STATE
   Hidden until JavaScript adds .active.
========================================================= */

.product-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;

  display: flex;
  align-items: center;
  justify-content: center;

  width: 100%;
  height: 100%;
  padding: 30px;
  box-sizing: border-box;

  background: rgba(4, 25, 21, 0.58);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.product-modal.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.product-modal-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  cursor: pointer;
}

/* =========================================================
   PRODUCT MODAL PANEL — DESKTOP
========================================================= */

.product-modal-panel {
  position: relative;
  z-index: 2;

  /* Smaller premium modal */
  width: min(1020px, calc(100vw - 160px));

  height: min(570px, calc(100vh - 190px));
  max-height: 570px;

  display: grid;

  grid-template-columns:
    minmax(0, 1.05fr) minmax(0, 0.95fr);

  overflow: hidden;

  background: #f3f0e7;

  border-radius: 4px;

  box-shadow:
    0 30px 90px rgba(0, 0, 0, 0.32);

  transform:
    translateY(25px) scale(0.97);

  transition:
    transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.product-modal.active .product-modal-panel {
  transform:
    translateY(0) scale(1);
}


/* =========================================================
   CLOSE BUTTON
========================================================= */

.product-modal-close {
  position: absolute;

  top: 16px;
  right: 16px;

  z-index: 100;

  width: 40px;
  height: 40px;

  padding: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  border: 1px solid rgba(6, 76, 63, 0.2);
  border-radius: 50%;

  background: #f3f0e7;

  color: #064c3f;

  font-family: Arial, sans-serif;
  font-size: 23px;
  font-weight: 300;
  line-height: 1;

  cursor: pointer;

  box-shadow:
    0 4px 15px rgba(0, 0, 0, 0.08);

  transition:
    background 0.3s ease,
    color 0.3s ease,
    transform 0.3s ease;
}

.product-modal-close:hover {
  background: #df6337;
  color: #ffffff;

  transform: rotate(90deg);
}


/* =========================================================
   IMAGE SIDE
========================================================= */

.product-modal-image {
  position: relative;

  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 42px;

  overflow: hidden;

  background: #ffffff;
}

.product-modal-image img {
  display: block;

  width: 100%;
  height: 100%;

  max-width: 100%;
  max-height: 100%;

  object-fit: contain;
  object-position: center;

  margin: auto;
}


/* =========================================================
   PRODUCT NUMBER
========================================================= */

.product-modal-index {
  position: absolute;

  top: 24px;
  left: 24px;

  z-index: 5;

  width: 44px;
  height: 44px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;

  background: #df6337;

  color: #ffffff;

  font-size: 9px;
  font-weight: 700;

  letter-spacing: 0.08em;
}


/* =========================================================
   PRODUCT MODAL — CONTENT
========================================================= */

.product-modal-content {
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;

  padding: 48px 42px 34px;

  display: flex;
  flex-direction: column;

  overflow-y: auto;
  overflow-x: hidden;

  box-sizing: border-box;

  color: #064c3f;

  scrollbar-width: thin;
}

.product-modal-content::-webkit-scrollbar {
  width: 5px;
}

.product-modal-content::-webkit-scrollbar-track {
  background: transparent;
}

.product-modal-content::-webkit-scrollbar-thumb {
  background: rgba(6, 76, 63, 0.22);
  border-radius: 20px;
}


/* =========================================================
   TOP LABEL
========================================================= */

.product-modal-label {
  display: block;

  margin-bottom: 28px;
  padding-right: 55px;

  font-size: 8px;
  font-weight: 700;

  letter-spacing: 0.22em;

  color: #df6337;
}


/* =========================================================
   PRODUCT TYPE
========================================================= */

.product-modal-type {
  display: block;

  margin-bottom: 10px;

  font-size: 9px;
  font-weight: 700;
  line-height: 1.4;

  letter-spacing: 0.17em;
  text-transform: uppercase;

  color: #df6337;
}


/* =========================================================
   PRODUCT SIZE
========================================================= */

.product-modal-content h2 {
  margin: 0;

  width: 100%;
  max-width: 100%;

  font-size: clamp(42px, 4vw, 64px);
  line-height: 0.95;

  letter-spacing: -0.055em;

  font-weight: 500;

  color: #064c3f;

  overflow-wrap: break-word;
}

.product-modal-unit {
  display: block;

  margin-top: 10px;

  font-size: 8px;
  font-weight: 700;

  letter-spacing: 0.2em;

  color: rgba(6, 76, 63, 0.45);
}


/* =========================================================
   DIVIDER
========================================================= */

.product-modal-divider {
  flex-shrink: 0;

  width: 100%;
  height: 1px;

  margin: 24px 0;

  background: rgba(6, 76, 63, 0.15);
}


/* =========================================================
   DESCRIPTION
========================================================= */

.product-modal-info {
  width: 100%;
  min-width: 0;
}

.product-modal-info>span {
  display: block;

  margin-bottom: 10px;

  font-size: 8px;
  font-weight: 700;

  letter-spacing: 0.18em;

  color: #df6337;
}

.product-modal-info p {
  width: 100%;
  max-width: 520px;

  margin: 0;

  font-size: 13px;
  line-height: 1.65;

  color: #65746f;

  overflow-wrap: break-word;
}


/* =========================================================
   SPECIFICATIONS
========================================================= */

.product-modal-specs {
  display: grid;

  grid-template-columns:
    minmax(0, 1fr) minmax(0, 1fr);

  width: 100%;

  flex-shrink: 0;

  margin-top: 22px;

  border-top: 1px solid rgba(6, 76, 63, 0.15);
  border-bottom: 1px solid rgba(6, 76, 63, 0.15);
}

.product-modal-specs>div {
  min-width: 0;
  padding: 16px 0;
}

.product-modal-specs>div:first-child {
  padding-right: 18px;

  border-right: 1px solid rgba(6, 76, 63, 0.15);
}

.product-modal-specs>div:last-child {
  padding-left: 18px;
}

.product-modal-specs small {
  display: block;

  margin-bottom: 6px;

  font-size: 7px;
  font-weight: 700;

  letter-spacing: 0.16em;

  color: #df6337;
}

.product-modal-specs strong {
  display: block;

  max-width: 100%;

  font-size: 12px;
  line-height: 1.4;

  font-weight: 500;

  color: #064c3f;

  overflow-wrap: break-word;
}


/* =========================================================
   ACTION BUTTONS
========================================================= */

.product-modal-actions {
  display: grid;

  grid-template-columns:
    minmax(0, 1.35fr) minmax(0, 0.65fr);

  gap: 9px;

  width: 100%;

  flex-shrink: 0;

  margin-top: auto;
  padding-top: 25px;
}

.product-modal-actions a {
  min-width: 0;
  min-height: 50px;

  padding: 0 16px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 12px;

  box-sizing: border-box;

  text-decoration: none;

  font-size: 8px;
  font-weight: 700;

  letter-spacing: 0.11em;

  white-space: normal;

  transition:
    background 0.3s ease,
    color 0.3s ease,
    transform 0.3s ease;
}


/* =========================================================
   ESTIMATE BUTTON
========================================================= */

.product-modal-estimate {
  background: #064c3f;
  color: #f3f0e7;
}

.product-modal-estimate:hover {
  background: #df6337;
  color: #ffffff;

  transform: translateY(-2px);
}


/* =========================================================
   ENQUIRE BUTTON
========================================================= */

.product-modal-enquire {
  border: 1px solid rgba(6, 76, 63, 0.25);
  color: #064c3f;
}

.product-modal-enquire:hover {
  background: #064c3f;
  color: #ffffff;

  transform: translateY(-2px);
}


/* =========================================================
   MEDIUM DESKTOP
========================================================= */

@media (max-width: 1200px) {

  .product-modal-panel {
    width: min(980px, calc(100vw - 40px));

    height: min(600px, calc(100vh - 60px));
  }

  .product-modal-image {
    padding: 34px;
  }

  .product-modal-content {
    padding: 42px 35px 30px;
  }

  .product-modal-content h2 {
    font-size: clamp(40px, 4.4vw, 58px);
  }
}


/* =========================================================
   TABLET — 769px TO 900px
========================================================= */

@media (min-width: 769px) and (max-width: 900px) {

  .product-modal {
    padding: 16px;
  }

  .product-modal-panel {
    width: min(680px, calc(100vw - 32px));

    height: auto;

    max-height: calc(100dvh - 32px);

    display: block;

    overflow-y: auto;
    overflow-x: hidden;
  }

  .product-modal-image {
    width: 100%;
    height: 360px;

    padding: 35px;

    box-sizing: border-box;
  }

  .product-modal-image img {
    width: 100%;
    height: 100%;

    object-fit: contain;
  }

  .product-modal-content {
    width: 100%;
    height: auto;

    overflow: visible;

    padding: 40px 34px 34px;
  }

  .product-modal-label {
    margin-bottom: 25px;
  }

  .product-modal-content h2 {
    font-size: clamp(44px, 8vw, 60px);
  }
}


/* =========================================================
   MOBILE — FINAL
========================================================= */

@media (max-width: 768px) {

  html,
  body {
    width: 100%;
    max-width: 100%;

    overflow-x: hidden;
  }

  body {
    margin: 0;
  }


  /* =====================================================
     CATALOGUE
  ===================================================== */

  .catalogue-grid {
    grid-template-columns: 1fr;

    width: 100%;
    max-width: 100%;
  }

  .catalogue-card {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .catalogue-image {
    width: 100%;
    max-width: 100%;

    overflow: hidden;
  }

  .catalogue-image img {
    width: 100%;
    max-width: 100%;
    height: 100%;

    object-fit: contain;
  }


  /* =====================================================
     MODAL
  ===================================================== */

  .product-modal {
    width: 100%;
    max-width: 100vw;

    padding: 0;

    align-items: stretch;
    justify-content: stretch;

    overflow: hidden;

    box-sizing: border-box;
  }


  /* =====================================================
     PANEL — FORCE ONE COLUMN
  ===================================================== */

  .product-modal-panel {
    width: 100%;
    max-width: 100%;

    height: 100dvh;
    max-height: 100dvh;

    display: flex;
    flex-direction: column;

    grid-template-columns: none;

    overflow-x: hidden;
    overflow-y: auto;

    border-radius: 0;

    box-sizing: border-box;

    -webkit-overflow-scrolling: touch;
  }


  /* =====================================================
     IMAGE
  ===================================================== */

  .product-modal-image {
    position: relative;

    width: 100%;
    max-width: 100%;

    height: 300px;
    min-height: 300px;

    flex: 0 0 300px;

    padding: 50px 20px 24px;

    box-sizing: border-box;

    background: #ffffff;

    overflow: hidden;
  }

  .product-modal-image img {
    display: block;

    width: 100%;
    height: 100%;

    max-width: 100%;
    max-height: 100%;

    margin: 0 auto;

    object-fit: contain;
    object-position: center;
  }


  /* =====================================================
     PRODUCT NUMBER
  ===================================================== */

  .product-modal-index {
    top: 16px;
    left: 16px;

    width: 38px;
    height: 38px;

    font-size: 8px;
  }


  /* =====================================================
     CLOSE
  ===================================================== */

  .product-modal-close {
    position: fixed;

    top: 16px;
    right: 16px;

    z-index: 99999;

    width: 40px;
    height: 40px;

    background: rgba(243, 240, 231, 0.97);

    font-size: 22px;

    box-shadow:
      0 4px 18px rgba(0, 0, 0, 0.08);
  }


  /* =====================================================
     CONTENT
  ===================================================== */

  .product-modal-content {
    width: 100%;
    max-width: 100%;

    height: auto;
    min-height: auto;

    flex: 0 0 auto;

    padding: 30px 20px 32px;

    overflow: visible;

    box-sizing: border-box;
  }

  .product-modal-label {
    margin-bottom: 24px;

    padding-right: 0;

    font-size: 7px;
  }

  .product-modal-type {
    margin-bottom: 9px;

    font-size: 8px;
  }


  /* =====================================================
     PRODUCT SIZE
  ===================================================== */

  .product-modal-content h2 {
    width: 100%;
    max-width: 100%;

    font-size: clamp(40px, 13vw, 56px);

    line-height: 0.95;

    letter-spacing: -0.05em;

    white-space: normal;

    overflow-wrap: normal;
  }

  .product-modal-unit {
    margin-top: 8px;

    font-size: 7px;
  }


  /* =====================================================
     DIVIDER
  ===================================================== */

  .product-modal-divider {
    margin: 21px 0;
  }


  /* =====================================================
     DESCRIPTION
  ===================================================== */

  .product-modal-info {
    width: 100%;
    max-width: 100%;
  }

  .product-modal-info>span {
    font-size: 7px;
  }

  .product-modal-info p {
    width: 100%;
    max-width: none;

    font-size: 12.5px;
    line-height: 1.65;
  }


  /* =====================================================
     SPECIFICATIONS
  ===================================================== */

  .product-modal-specs {
    width: 100%;
    max-width: 100%;

    grid-template-columns: 1fr;

    margin-top: 20px;
  }

  .product-modal-specs>div {
    width: 100%;

    padding: 14px 0;
  }

  .product-modal-specs>div:first-child {
    padding-right: 0;

    border-right: 0;

    border-bottom:
      1px solid rgba(6, 76, 63, 0.15);
  }

  .product-modal-specs>div:last-child {
    padding-left: 0;
  }

  .product-modal-specs strong {
    font-size: 12px;
  }


  /* =====================================================
     BUTTONS
  ===================================================== */

  .product-modal-actions {
    width: 100%;
    max-width: 100%;

    grid-template-columns: 1fr;

    gap: 9px;

    margin-top: 0;

    padding-top: 22px;
  }

  .product-modal-actions a {
    width: 100%;
    max-width: 100%;

    min-height: 52px;

    padding: 0 17px;

    box-sizing: border-box;
  }
}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 390px) {

  .product-modal-image {
    height: 260px;
    min-height: 260px;

    flex-basis: 260px;

    padding: 45px 12px 20px;
  }

  .product-modal-content {
    padding: 27px 17px 28px;
  }

  .product-modal-content h2 {
    font-size: 40px;
  }

  .product-modal-info p {
    font-size: 12px;
  }
}


/* =========================================================
   SHORT DESKTOP / LAPTOP ONLY
========================================================= */

@media (min-width: 901px) and (max-height: 750px) {

  .product-modal {
    padding: 18px;
  }

  .product-modal-panel {
    height: calc(100vh - 36px);

    max-height: 620px;
  }

  .product-modal-content {
    padding: 38px 36px 28px;
  }

  .product-modal-label {
    margin-bottom: 22px;
  }

  .product-modal-divider {
    margin: 19px 0;
  }

  .product-modal-specs {
    margin-top: 18px;
  }

  .product-modal-actions {
    padding-top: 18px;
  }
}


/* =========================================================
   FINAL PRODUCT MODAL OVERRIDE
   KEEP THIS AT THE VERY BOTTOM OF style-clean.css
========================================================= */

@media (min-width: 901px) {

  .product-modal {
    position: fixed !important;
    inset: 0 !important;

    z-index: 99999 !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    padding: 110px 30px 30px !important;

    box-sizing: border-box !important;
  }


  .product-modal-panel {
    position: relative !important;

    width: min(1000px, calc(100vw - 120px)) !important;
    height: 540px !important;
    max-height: calc(100vh - 150px) !important;

    grid-template-columns:
      minmax(0, 1fr) minmax(0, 1fr) !important;

    overflow: hidden !important;

    margin: 0 !important;

    background: #f3f0e7 !important;

    border-radius: 4px !important;
  }


  .product-modal-image {
    width: 100% !important;
    height: 100% !important;

    min-width: 0 !important;
    min-height: 0 !important;

    padding: 35px !important;

    box-sizing: border-box !important;

    overflow: hidden !important;
  }


  .product-modal-image img {
    width: 100% !important;
    height: 100% !important;

    max-width: 100% !important;
    max-height: 100% !important;

    object-fit: contain !important;
  }


  .product-modal-content {
    width: 100% !important;
    height: 100% !important;

    min-width: 0 !important;
    min-height: 0 !important;

    padding: 45px 38px 30px !important;

    box-sizing: border-box !important;

    overflow-y: auto !important;
    overflow-x: hidden !important;
  }


  /* CLOSE BUTTON */

  .product-modal-close {
    position: absolute !important;

    top: 14px !important;
    right: 14px !important;

    z-index: 999 !important;

    width: 42px !important;
    height: 42px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    padding: 0 !important;

    border: 1px solid rgba(6, 76, 63, 0.25) !important;
    border-radius: 50% !important;

    background: #f3f0e7 !important;
    color: #064c3f !important;

    font-size: 25px !important;
    line-height: 1 !important;

    cursor: pointer !important;

    visibility: visible !important;
    opacity: 1 !important;

    transform: none !important;
  }


  .product-modal-close:hover {
    background: #df6337 !important;
    color: #ffffff !important;

    transform: rotate(90deg) !important;
  }


  .product-modal-content h2 {
    font-size: clamp(42px, 4vw, 60px) !important;
  }


  .product-modal-actions {
    margin-top: auto !important;
    padding-top: 20px !important;
  }

}


