/*
 * Revision 8: factory introduction, products, four report previews, then inquiry.
 * Preserve the established cobalt/navy system and all sections below inquiry.
 * DESIGN_VARIANCE 6 / MOTION_INTENSITY 2 / VISUAL_DENSITY 4.
 * Load after revision7.css and the existing quote-badge styles.
 */

#yh-landing.yh-redesign.yh-revision8 .yh-hero.yh-hero-v7 {
  padding-bottom: 0;
}

#yh-landing.yh-redesign.yh-revision8 .yh-hero-v7 .yh-hero-stage {
  min-height: 500px;
}

#yh-landing.yh-redesign.yh-revision8 .yh-hero-v7 .yh-banner-content {
  min-height: 500px;
  padding-block: 64px 62px;
}

#yh-landing.yh-redesign.yh-revision8 .yh-hero-v7 .yh-hero-copy {
  max-width: 690px;
}

#yh-landing.yh-redesign.yh-revision8 .yh-hero-v7 h1 {
  max-width: 690px;
  font-size: clamp(48px, 4.7vw, 68px);
  line-height: 1.12;
  letter-spacing: -.045em;
}

#yh-landing.yh-redesign.yh-revision8 .yh-hero-v7 h1 > span {
  color: var(--yh-blue);
  font-size: .76em;
  letter-spacing: -.045em;
}

#yh-landing.yh-redesign.yh-revision8 .yh-hero-v7 .yh-hero-sub {
  max-width: 56ch;
  margin-block: 23px 21px;
  font-size: 16px;
  line-height: 1.8;
}

#yh-landing.yh-redesign.yh-revision8 .yh-hero-v7 .yh-factory-offers {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 0;
  max-width: 620px;
  margin-bottom: 28px;
  color: var(--yh-ink);
}

#yh-landing.yh-redesign.yh-revision8 .yh-hero-v7 .yh-factory-offers > * {
  min-width: 0;
  font-size: 14px;
  line-height: 1.45;
}

#yh-landing.yh-redesign.yh-revision8 .yh-hero-v7 .yh-factory-offers > * + * {
  margin-left: 13px;
  padding-left: 13px;
  border-left: 1px solid #aebfd5;
}

#yh-landing.yh-redesign.yh-revision8 .yh-hero-v7 .yh-hero-buttons {
  flex-wrap: wrap;
  gap: 12px;
}

#yh-landing.yh-redesign.yh-revision8 .yh-hero-v7 .yh-hero-buttons .wp-block-button__link {
  min-height: 48px;
  font-size: 13px;
}

/* Two photographs support the factory introduction without adding claims. */
#yh-landing.yh-redesign.yh-revision8 .yh-factory-section {
  padding-block: clamp(56px, 5.3vw, 80px);
  background: #fff;
  border-bottom: 1px solid #e5ebf3;
}

#yh-landing.yh-redesign.yh-revision8 .yh-factory-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  align-items: end;
  gap: 28px 70px;
  margin-bottom: 30px;
}

#yh-landing.yh-redesign.yh-revision8 .yh-factory-heading h2 {
  max-width: 23ch;
  font-size: clamp(28px, 2.8vw, 38px);
  line-height: 1.2;
  letter-spacing: -.035em;
}

#yh-landing.yh-redesign.yh-revision8 .yh-factory-heading p {
  max-width: 55ch;
  color: var(--yh-body);
  font-size: 15px;
  line-height: 1.8;
}

#yh-landing.yh-redesign.yh-revision8 .yh-factory-heading .yh-factory-offers {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 9px 0;
  color: var(--yh-blue);
}

#yh-landing.yh-redesign.yh-revision8 .yh-factory-heading .yh-factory-offers p {
  max-width: none;
  color: inherit;
  font-size: 14px;
  line-height: 1.5;
}

#yh-landing.yh-redesign.yh-revision8 .yh-factory-heading .yh-factory-offers p + p {
  margin-left: 16px;
  padding-left: 16px;
  border-left: 1px solid #bdcce0;
}

#yh-landing.yh-redesign.yh-revision8 .yh-factory-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

#yh-landing.yh-redesign.yh-revision8 .yh-factory-image {
  min-width: 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid #dce5ef;
  border-radius: 6px;
  background: #f3f7fc;
}

#yh-landing.yh-redesign.yh-revision8 .yh-factory-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Keep the eight original product images and their existing card hierarchy. */
#yh-landing.yh-redesign.yh-revision8 .yh-products .yh-product-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 36px 24px;
}

#yh-landing.yh-redesign.yh-revision8 .yh-products .yh-product-note,
#yh-landing.yh-redesign.yh-revision8 .yh-products .yh-small-note {
  font-size: 14px;
  line-height: 1.7;
}

#yh-landing.yh-redesign.yh-revision8 .yh-products .wp-block-button__link {
  min-height: 44px;
  font-size: 12px;
}

/* Four visible reports, with the remaining nine inside native details. */
#yh-landing.yh-redesign.yh-revision8 .yh-reports .yh-section-head {
  max-width: 760px;
  margin-bottom: 34px;
}

#yh-landing.yh-redesign.yh-revision8 .yh-reports .yh-report-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 30px 24px;
}

#yh-landing.yh-redesign.yh-revision8 .yh-reports .yh-report-image {
  min-width: 0;
  margin: 0;
}

#yh-landing.yh-redesign.yh-revision8 .yh-reports .yh-report-image > a {
  padding: 9px;
  border: 1px solid #cad7e7;
  border-radius: 6px;
  background: #fff;
}

#yh-landing.yh-redesign.yh-revision8 .yh-reports .yh-report-image figcaption {
  margin-top: 13px;
  font-size: 14px;
  line-height: 1.6;
}

#yh-landing.yh-redesign.yh-revision8 .yh-reports .yh-report-image figcaption span {
  font-size: 12px;
  line-height: 1.7;
}

#yh-landing.yh-redesign.yh-revision8 .yh-reports .yh-more-reports {
  margin-top: 34px;
  padding: 0;
  border: 0;
  background: transparent;
}

#yh-landing.yh-redesign.yh-revision8 .yh-reports .yh-more-reports > summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: fit-content;
  max-width: 100%;
  min-height: 50px;
  margin-inline: auto;
  padding: 12px 23px;
  border: 1px solid #90afd7;
  border-radius: 6px;
  background: #fff;
  color: var(--yh-blue);
  font-family: "Poppins", system-ui, sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  list-style: none;
  cursor: pointer;
  transition: border-color .2s, background .2s;
}

#yh-landing.yh-redesign.yh-revision8 .yh-reports .yh-more-reports > summary::-webkit-details-marker {
  display: none;
}

#yh-landing.yh-redesign.yh-revision8 .yh-reports .yh-more-reports > summary::marker {
  content: "";
}

#yh-landing.yh-redesign.yh-revision8 .yh-reports .yh-more-reports > summary::after {
  content: "+";
  flex: none;
  margin-left: 4px;
  font-size: 21px;
  font-weight: 400;
  line-height: 1;
}

#yh-landing.yh-redesign.yh-revision8 .yh-reports .yh-more-reports[open] > summary::after {
  content: "\2212";
}

#yh-landing.yh-redesign.yh-revision8 .yh-reports .yh-more-reports > summary:hover {
  border-color: var(--yh-blue);
  background: #edf4fd;
}

#yh-landing.yh-redesign.yh-revision8 .yh-reports .yh-more-reports > summary:focus-visible {
  outline: 3px solid var(--yh-blue);
  outline-offset: 4px;
}

#yh-landing.yh-redesign.yh-revision8 .yh-reports .yh-report-stack {
  position: relative;
  flex: none;
  width: 18px;
  height: 22px;
  margin: 0 5px 4px 0;
  border: 1px solid currentColor;
  border-radius: 1px;
  background: #fff;
  box-shadow: 3px 3px 0 #fff, 3px 3px 0 1px #90afd7, 6px 6px 0 #fff, 6px 6px 0 1px #b5c9e3;
}

#yh-landing.yh-redesign.yh-revision8 .yh-reports .yh-report-stack::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 4px;
  width: 8px;
  height: 1px;
  background: currentColor;
  box-shadow: 0 4px 0 currentColor, 0 8px 0 currentColor;
}

#yh-landing.yh-redesign.yh-revision8 .yh-reports .yh-report-collapse-label,
#yh-landing.yh-redesign.yh-revision8 .yh-reports .yh-more-reports[open] .yh-report-expand-label {
  display: none;
}

#yh-landing.yh-redesign.yh-revision8 .yh-reports .yh-more-reports[open] .yh-report-collapse-label {
  display: inline;
}

#yh-landing.yh-redesign.yh-revision8 .yh-reports .yh-report-count {
  color: #587291;
  font-size: 13px;
  font-weight: 400;
}

#yh-landing.yh-redesign.yh-revision8 .yh-reports .yh-more-reports:not([open]) > .yh-report-extra {
  display: none;
}

#yh-landing.yh-redesign.yh-revision8 .yh-reports .yh-more-reports[open] > .yh-report-extra {
  display: grid;
  margin-top: 34px;
}

#yh-landing.yh-redesign.yh-revision8 .yh-reports .yh-section-note {
  font-size: 14px;
  line-height: 1.8;
}

/* This is the relocated first inquiry form; footer form rules stay untouched. */
#yh-landing.yh-redesign.yh-revision8 .yh-inquiry-section {
  background: #f4f7fc;
  border-block: 1px solid #e1e8f2;
}

#yh-landing.yh-redesign.yh-revision8 .yh-inquiry-layout {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  align-items: start;
  gap: clamp(38px, 5.5vw, 76px);
}

#yh-landing.yh-redesign.yh-revision8 .yh-inquiry-copy {
  min-width: 0;
  padding-top: 12px;
}

#yh-landing.yh-redesign.yh-revision8 .yh-inquiry-copy h2 {
  max-width: 16ch;
  font-size: clamp(32px, 3.2vw, 44px);
  line-height: 1.17;
  letter-spacing: -.04em;
}

#yh-landing.yh-redesign.yh-revision8 .yh-inquiry-copy p {
  max-width: 45ch;
  margin-top: 20px;
  color: var(--yh-body);
  font-size: 15px;
  line-height: 1.8;
}

#yh-landing.yh-redesign.yh-revision8 .yh-inquiry-copy a {
  color: var(--yh-blue);
  overflow-wrap: anywhere;
}

#yh-landing.yh-redesign.yh-revision8 .yh-inquiry-copy a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

#yh-landing.yh-redesign.yh-revision8 .yh-inquiry-copy .yh-inquiry-points {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid #d7e1ed;
}

#yh-landing.yh-redesign.yh-revision8 .yh-inquiry-copy .yh-inquiry-points p {
  margin-top: 10px;
  color: var(--yh-ink);
  font-size: 14px;
}

#yh-landing.yh-redesign.yh-revision8 .yh-inquiry-copy .yh-inquiry-points p:first-child {
  margin-top: 0;
}

#yh-landing.yh-redesign.yh-revision8 .yh-inquiry-section .yh-quote-card {
  min-width: 0;
  width: 100%;
  margin-top: 0;
  padding: clamp(24px, 2.6vw, 36px);
  border: 1px solid #d6e1ef;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 18px 50px -35px rgba(23, 62, 117, .3);
  scroll-margin-top: 98px;
}

#yh-landing.yh-redesign.yh-revision8 .yh-inquiry-section .yh-quote-head {
  margin-bottom: 24px;
}

#yh-landing.yh-redesign.yh-revision8 .yh-inquiry-section .yh-quote-head h2 {
  margin-bottom: 8px;
  font-size: clamp(23px, 2vw, 27px);
  line-height: 1.3;
}

#yh-landing.yh-redesign.yh-revision8 .yh-inquiry-section .yh-quote-head > p {
  font-size: 14px;
  line-height: 1.75;
}

#yh-landing.yh-redesign.yh-revision8 .yh-inquiry-section .yh-inquiry-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 17px;
  margin: 0;
}

#yh-landing.yh-redesign.yh-revision8 .yh-inquiry-section .yh-form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 17px;
}

#yh-landing.yh-redesign.yh-revision8 .yh-inquiry-section .yh-field {
  min-width: 0;
  margin: 0;
}

#yh-landing.yh-redesign.yh-revision8 .yh-inquiry-section .yh-field label {
  margin-bottom: 7px;
  font-size: 14px;
  line-height: 1.6;
}

#yh-landing.yh-redesign.yh-revision8 .yh-inquiry-section .yh-field input,
#yh-landing.yh-redesign.yh-revision8 .yh-inquiry-section .yh-field textarea {
  min-width: 0;
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid #afc2dc;
  border-radius: 6px;
  background: #fbfcff;
  color: var(--yh-ink);
  font-size: 16px;
  line-height: 1.6;
}

#yh-landing.yh-redesign.yh-revision8 .yh-inquiry-section .yh-field textarea {
  min-height: 118px;
  resize: vertical;
}

#yh-landing.yh-redesign.yh-revision8 .yh-inquiry-section .yh-field input::placeholder,
#yh-landing.yh-redesign.yh-revision8 .yh-inquiry-section .yh-field textarea::placeholder {
  color: #61718a;
  opacity: 1;
}

#yh-landing.yh-redesign.yh-revision8 .yh-inquiry-section .yh-field input:focus,
#yh-landing.yh-redesign.yh-revision8 .yh-inquiry-section .yh-field textarea:focus {
  border-color: var(--yh-blue);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(18, 97, 201, .12);
}

#yh-landing.yh-redesign.yh-revision8 .yh-inquiry-section .yh-submit {
  min-height: 49px;
  margin: 3px 0 0;
  font-size: 14px;
}

#yh-landing.yh-redesign.yh-revision8 .yh-inquiry-section .yh-form-privacy {
  margin: -2px 0 0;
  font-size: 12px;
  line-height: 1.8;
}

#yh-landing.yh-redesign.yh-revision8 .yh-inquiry-section .yh-form-status:empty {
  display: none;
}

#yh-landing.yh-redesign.yh-revision8 .yh-inquiry-section .yh-form-status:not(:empty),
#yh-landing.yh-redesign.yh-revision8 .yh-inquiry-section noscript p {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
}

@media (max-width: 1024px) {
  #yh-landing.yh-redesign.yh-revision8 .yh-hero-v7 .yh-hero-copy {
    max-width: 615px;
  }

  #yh-landing.yh-redesign.yh-revision8 .yh-hero-v7 h1 {
    font-size: 57px;
  }

  #yh-landing.yh-redesign.yh-revision8 .yh-factory-heading {
    gap: 26px 40px;
  }

  #yh-landing.yh-redesign.yh-revision8 .yh-products .yh-product-grid,
  #yh-landing.yh-redesign.yh-revision8 .yh-reports .yh-report-grid {
    gap: 30px 18px;
  }

  #yh-landing.yh-redesign.yh-revision8 .yh-inquiry-layout {
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
    gap: 35px;
  }
}

@media (max-width: 820px) {
  #yh-landing.yh-redesign.yh-revision8 .yh-hero-v7 .yh-banner-content {
    padding-block: 50px 54px;
  }

  #yh-landing.yh-redesign.yh-revision8 .yh-hero-v7 h1 {
    font-size: clamp(45px, 7.1vw, 57px);
  }

  #yh-landing.yh-redesign.yh-revision8 .yh-factory-heading {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  #yh-landing.yh-redesign.yh-revision8 .yh-factory-heading h2 {
    max-width: 27ch;
  }

  #yh-landing.yh-redesign.yh-revision8 .yh-factory-heading p {
    max-width: 68ch;
  }

  #yh-landing.yh-redesign.yh-revision8 .yh-products .yh-product-grid,
  #yh-landing.yh-redesign.yh-revision8 .yh-reports .yh-report-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px 22px;
  }

  #yh-landing.yh-redesign.yh-revision8 .yh-inquiry-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
  }

  #yh-landing.yh-redesign.yh-revision8 .yh-inquiry-copy {
    padding-top: 0;
  }

  #yh-landing.yh-redesign.yh-revision8 .yh-inquiry-copy h2 {
    max-width: none;
  }

  #yh-landing.yh-redesign.yh-revision8 .yh-inquiry-copy p {
    max-width: 65ch;
  }
}

@media (max-width: 680px) {
  #yh-landing.yh-redesign.yh-revision8 .yh-hero-v7 .yh-hero-stage,
  #yh-landing.yh-redesign.yh-revision8 .yh-hero-v7 .yh-banner-content {
    min-height: 0;
  }

  #yh-landing.yh-redesign.yh-revision8 .yh-hero-v7 .yh-banner-content {
    padding-block: 40px 45px;
  }

  #yh-landing.yh-redesign.yh-revision8 .yh-hero-v7 h1 {
    font-size: clamp(39px, 8.4vw, 51px);
    line-height: 1.14;
  }

  #yh-landing.yh-redesign.yh-revision8 .yh-hero-v7 h1 > span {
    font-size: .77em;
  }

  #yh-landing.yh-redesign.yh-revision8 .yh-hero-v7 .yh-hero-sub {
    max-width: 43ch;
    margin-block: 20px;
    font-size: 15px;
    line-height: 1.8;
  }

  #yh-landing.yh-redesign.yh-revision8 .yh-hero-v7 .yh-factory-offers {
    gap: 9px 0;
    margin-bottom: 25px;
  }

  #yh-landing.yh-redesign.yh-revision8 .yh-hero-v7 .yh-factory-offers > * {
    font-size: 14px;
  }

  #yh-landing.yh-redesign.yh-revision8 .yh-hero-v7 .yh-factory-offers > * + * {
    margin-left: 10px;
    padding-left: 10px;
  }

  #yh-landing.yh-redesign.yh-revision8 .yh-hero-v7 .yh-hero-buttons {
    gap: 10px;
  }

  #yh-landing.yh-redesign.yh-revision8 .yh-hero-v7 .yh-hero-buttons .wp-block-button__link {
    min-height: 46px;
    padding-inline: 15px;
    font-size: 12px;
  }

  #yh-landing.yh-redesign.yh-revision8 .yh-factory-section {
    padding-block: 46px;
  }

  #yh-landing.yh-redesign.yh-revision8 .yh-factory-heading {
    gap: 16px;
    margin-bottom: 24px;
  }

  #yh-landing.yh-redesign.yh-revision8 .yh-factory-heading h2 {
    font-size: 29px;
    line-height: 1.23;
  }

  #yh-landing.yh-redesign.yh-revision8 .yh-factory-heading p {
    font-size: 14px;
  }

  #yh-landing.yh-redesign.yh-revision8 .yh-factory-heading .yh-factory-offers p + p {
    margin-left: 11px;
    padding-left: 11px;
  }

  #yh-landing.yh-redesign.yh-revision8 .yh-factory-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  #yh-landing.yh-redesign.yh-revision8 .yh-products .yh-product-grid,
  #yh-landing.yh-redesign.yh-revision8 .yh-reports .yh-report-grid {
    gap: 27px 16px;
  }

  #yh-landing.yh-redesign.yh-revision8 .yh-products .yh-product-body h3 {
    font-size: clamp(21px, 5.6vw, 25px);
  }

  #yh-landing.yh-redesign.yh-revision8 .yh-products .yh-product-note {
    font-size: 14px;
    line-height: 1.65;
  }

  #yh-landing.yh-redesign.yh-revision8 .yh-reports .yh-section-head {
    margin-bottom: 27px;
  }

  #yh-landing.yh-redesign.yh-revision8 .yh-reports .yh-report-image > a {
    padding: 5px;
  }

  #yh-landing.yh-redesign.yh-revision8 .yh-reports .yh-report-image figcaption {
    margin-top: 10px;
    font-size: 13px;
  }

  #yh-landing.yh-redesign.yh-revision8 .yh-reports .yh-report-image figcaption span {
    font-size: 12px;
  }

  #yh-landing.yh-redesign.yh-revision8 .yh-reports .yh-more-reports {
    margin-top: 29px;
  }

  #yh-landing.yh-redesign.yh-revision8 .yh-reports .yh-more-reports > summary {
    gap: 8px;
    min-height: 49px;
    padding: 12px 16px;
    font-size: 12px;
  }

  #yh-landing.yh-redesign.yh-revision8 .yh-reports .yh-report-count {
    font-size: 12px;
  }

  #yh-landing.yh-redesign.yh-revision8 .yh-reports .yh-more-reports[open] > .yh-report-extra {
    margin-top: 29px;
  }

  #yh-landing.yh-redesign.yh-revision8 .yh-inquiry-copy h2 {
    font-size: 32px;
  }

  #yh-landing.yh-redesign.yh-revision8 .yh-inquiry-copy p {
    margin-top: 17px;
    font-size: 14px;
  }

  #yh-landing.yh-redesign.yh-revision8 .yh-inquiry-section .yh-quote-card {
    padding: 25px 21px;
  }

  #yh-landing.yh-redesign.yh-revision8 .yh-inquiry-section .yh-form-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 17px;
  }
}

@media (max-width: 370px) {
  #yh-landing.yh-redesign.yh-revision8 .yh-hero-v7 h1 {
    font-size: 37px;
  }

  #yh-landing.yh-redesign.yh-revision8 .yh-hero-v7 .yh-hero-buttons .wp-block-button__link {
    padding-inline: 12px;
  }

  #yh-landing.yh-redesign.yh-revision8 .yh-products .yh-product-grid,
  #yh-landing.yh-redesign.yh-revision8 .yh-reports .yh-report-grid {
    column-gap: 13px;
  }

  #yh-landing.yh-redesign.yh-revision8 .yh-reports .yh-more-reports > summary {
    gap: 7px;
    padding-inline: 12px;
  }

  #yh-landing.yh-redesign.yh-revision8 .yh-inquiry-section .yh-quote-card {
    padding-inline: 18px;
  }
}

/* Keep the closing contact copy after removing its duplicate inquiry form. */
#yh-landing.yh-redesign.yh-revision8 .yh-cta-grid {
  max-width: 760px;
  grid-template-columns: minmax(0, 1fr);
}

@media (prefers-reduced-motion: reduce) {
  #yh-landing.yh-redesign.yh-revision8 .yh-reports .yh-more-reports > summary,
  #yh-landing.yh-redesign.yh-revision8 .yh-inquiry-section .yh-field input,
  #yh-landing.yh-redesign.yh-revision8 .yh-inquiry-section .yh-field textarea {
    transition: none;
  }
}
