@font-face {
  font-family: "Montserrat";
  src: url("../fonts/Montserrat-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("../fonts/Montserrat-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("../fonts/Montserrat-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("../fonts/Montserrat-ExtraBold.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --heading: #0b435e;
  --product: #0b435e;
  --card: #f5f5f5;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: #fff; }
body { font-family: "Montserrat", Arial, sans-serif; }

.products-section {
  width: 100%;
  overflow: hidden;
  background: #fff;
}

.product-stage {
  container-type: inline-size;
  position: relative;
  width: min(100%, 2560px);
  margin: 0 auto;
  line-height: 1;
  color: #000;
}

.product-art {
  display: block;
  width: 100%;
}
.product-art img {
  display: block;
  width: 100%;
  height: auto;
  user-select: none;
}

.section-title,
.product-tabs {
  position: absolute;
  z-index: 4;
}

.section-title {
  margin: 0;
  top: 3.44cqw;
  left: 50%;
  transform: translateX(-50%);
  color: var(--heading);
  font-size: 3.15cqw;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}

.product-tabs {
  top: 8.55cqw;
  left: 18.9cqw;
  width: 62.2cqw;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.product-tab {
  appearance: none;
  position: relative;
  border: 0;
  background: transparent;
  padding: 0.35em 0.15em;
  margin: 0;
  color: #000;
  font: inherit;
  font-size: 1.68cqw;
  font-weight: 400;
  line-height: 1;
  cursor: pointer;
  white-space: nowrap;
  border-radius: 0.25em;
}
.product-tab:focus-visible {
  outline: 2px solid var(--heading);
  outline-offset: 5px;
}
.product-tab.is-active { font-weight: 600; }

.product-tab::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -0.28em;
  width: 0;
  height: 0.12em;
  border-radius: 999px;
  background: var(--heading);
  transform: translateX(-50%);
  transition: width 180ms ease;
}

.product-tab.is-active::after {
  width: calc(100% - 0.25em);
}

.product-copy {
  position: static;
  pointer-events: auto;
}

.product-name,
.product-line,
.product-tagline,
.quote-link,
.learn-link {
  position: absolute;
  margin: 0;
  font-family: "Montserrat", Arial, sans-serif;
  z-index: 2;
}

.product-name {
  left: 8.45cqw;
  top: 19.10cqw;
  color: var(--product);
  font-size: 7.89cqw;
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: 0;
  white-space: nowrap;
}
.product-stage[data-product="koreantec"] .product-name { font-size: 7.03cqw; letter-spacing: 0; }
.product-stage[data-product="royalplex"] .product-name { font-size: 6.99cqw; letter-spacing: 0; }
.product-stage[data-product="kiteply"] .product-name { font-size: 7.58cqw; letter-spacing: 0; }

.product-line {
  left: 8.52cqw;
  top: 27.15cqw;
  color: var(--product);
  font-size: 2.97cqw;
  font-weight: 400;
  line-height: 1;
  white-space: nowrap;
}
.product-tagline {
  left: 8.52cqw;
  top: 30.70cqw;
  color: var(--product);
  font-size: 2.38cqw;
  font-weight: 400;
  line-height: 1;
  white-space: nowrap;
}
.product-stage[data-product="koreantec"] .product-tagline { font-size: 2.38cqw; }

.quote-link,
.learn-link {
  pointer-events: auto;
  text-decoration: none;
  z-index: 10;
  cursor: pointer;
  touch-action: manipulation;
}
.quote-link {
  left: 8.28cqw;
  top: 34.49cqw;
  width: 13.75cqw;
  height: 3.67cqw;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 2.02cqw;
  font-weight: 400;
  line-height: 1;
  white-space: nowrap;
}
.learn-link {
  left: 8.75cqw;
  top: 38.62cqw;
  min-width: 10.5cqw;
  min-height: 3.1cqw;
  padding: .55cqw .65cqw;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #000;
  font-size: 1.90cqw;
  font-weight: 400;
  line-height: 1;
  white-space: nowrap;
}
.quote-link:focus-visible,
.learn-link:focus-visible {
  outline: 2px solid #000;
  outline-offset: 4px;
}

.kite-title-cover { display: none; }

/* Mobile reference layout: 1000 x 1510 */
@media (max-width: 767px) {
  .product-stage {
    width: 100%;
  }

  .section-title {
    top: 5.40cqw;
    font-size: 6.00cqw;
    font-weight: 600;
  }

  .product-tabs {
    top: 17.60cqw;
    left: 6.8cqw;
    width: 86.5cqw;
  }
  .product-tab {
    font-size: 3.70cqw;
    padding: 0.35em 0.05em;
  }

  .product-name {
    left: 50%;
    top: 100.8cqw;
    transform: translateX(-50%);
    font-size: 13.90cqw;
    line-height: .95;
    text-align: center;
    letter-spacing: 0;
  }
  .product-stage[data-product="koreantec"] .product-name {
    top: 101.2cqw;
    font-size: 13.10cqw;
    letter-spacing: 0;
  }
  .product-stage[data-product="royalplex"] .product-name {
    top: 100.4cqw;
    font-size: 13.10cqw;
    letter-spacing: 0;
  }
  .product-stage[data-product="kiteply"] .product-name {
    top: 101.0cqw;
    font-size: 13.50cqw;
    letter-spacing: 0;
  }

  .product-line {
    left: 50%;
    top: 115.1cqw;
    transform: translateX(-50%);
    font-size: 5.05cqw;
    text-align: center;
  }
  .product-tagline {
    left: 50%;
    top: 121.5cqw;
    transform: translateX(-50%);
    font-size: 4.15cqw;
    text-align: center;
  }
  .product-stage[data-product="koreantec"] .product-tagline {
    top: 121.9cqw;
    font-size: 3.88cqw;
  }
  .product-stage[data-product="royalplex"] .product-tagline {
    top: 121.5cqw;
    font-size: 3.95cqw;
  }
  .product-stage[data-product="kiteply"] .product-tagline {
    top: 121.5cqw;
    font-size: 4.15cqw;
  }

  .learn-link {
    left: 20.8cqw;
    top: 130.35cqw;
    min-width: 28cqw;
    min-height: 8.5cqw;
    padding: 1.5cqw 2cqw;
    font-size: 4.20cqw;
  }
  .quote-link {
    left: 50.7cqw;
    top: 130.40cqw;
    width: 30.2cqw;
    height: 8.1cqw;
    font-size: 4.20cqw;
  }

  /* The supplied mobile Kite clean artwork still contains the word KITEPLY.
     Cover it with the same card tone so every visible word is live HTML text. */
  .product-stage[data-product="kiteply"] .kite-title-cover {
    display: block;
    position: absolute;
    z-index: 1;
    left: 14.5cqw;
    top: 101.0cqw;
    width: 72cqw;
    height: 15.5cqw;
    background: #f5f5f5;
  }
}

@media (prefers-reduced-motion: no-preference) {
  #desktop-art { transition: opacity 140ms ease; }
}


/* Product copy reveal: subtle bottom-to-top motion with staggered timing. */
@keyframes product-copy-rise {
  from {
    opacity: 0;
    translate: 0 1.1em;
  }
  to {
    opacity: 1;
    translate: 0 0;
  }
}

.product-copy.is-animating .product-name {
  animation: product-copy-rise 420ms cubic-bezier(.22,.7,.25,1) 0ms both;
}
.product-copy.is-animating .product-line {
  animation: product-copy-rise 420ms cubic-bezier(.22,.7,.25,1) 65ms both;
}
.product-copy.is-animating .product-tagline {
  animation: product-copy-rise 420ms cubic-bezier(.22,.7,.25,1) 125ms both;
}
.product-copy.is-animating .learn-link {
  animation: product-copy-rise 380ms cubic-bezier(.22,.7,.25,1) 185ms both;
}
.product-copy.is-animating .quote-link {
  animation: product-copy-rise 380ms cubic-bezier(.22,.7,.25,1) 225ms both;
}

@media (prefers-reduced-motion: reduce) {
  .product-copy.is-animating .product-name,
  .product-copy.is-animating .product-line,
  .product-copy.is-animating .product-tagline,
  .product-copy.is-animating .learn-link,
  .product-copy.is-animating .quote-link {
    animation: none !important;
  }
}


.product-stage[data-product="koreantec-pp"] .product-name {
  font-size: 7.03cqw;
  letter-spacing: 0;
}
.product-stage[data-product="koreantec-pp"] .product-line {
  font-size: 2.82cqw;
}
.product-stage[data-product="koreantec-pp"] .product-tagline {
  font-size: 2.20cqw;
}


@media (max-width: 767px) {
  .product-tabs {
    left: 3.2cqw;
    width: 93.6cqw;
  }
  .product-tab {
    font-size: 3.05cqw;
  }

  .product-stage[data-product="koreantec-pp"] .product-name {
    top: 101.0cqw;
    font-size: 13.1cqw;
  }
  .product-stage[data-product="koreantec-pp"] .product-line {
    top: 115.2cqw;
    font-size: 4.85cqw;
  }
  .product-stage[data-product="koreantec-pp"] .product-tagline {
    top: 121.6cqw;
    font-size: 3.82cqw;
  }
}
