/* Homepage-specific composition; shared UI lives in site.css. */

/* Online quoting is a primary entry, with the real calculator one click away. */
.home-quote { max-width: var(--width); margin: auto; padding: 64px 40px; display: grid; grid-template-columns: 1.1fr 1fr; gap: 75px; border-bottom: 1px solid var(--line); }
.home-quote h2 { font-size: 36px; line-height: 1.4; margin: 15px 0 20px; }
.home-quote .quote-intro > p:not(.eyebrow):not(.quote-note) { color: var(--muted); font-size: 15px; line-height: 1.9; }
.home-quote .actions { gap: 18px 25px; }
.home-quote .quote-note, .quote-entry .quote-note { color: var(--muted); font-size: 12px; line-height: 1.8; margin-top: 20px; }
.quote-workflow { align-self: center; }
.quote-workflow > div { position: relative; padding: 19px 0 19px 48px; border-top: 1px solid var(--line); }
.quote-workflow > div:first-child { border-top: 0; }
.quote-workflow span { position: absolute; top: 22px; left: 0; color: var(--blue); font-size: 12px; }
.quote-workflow h3 { font-size: 19px; line-height: 1.5; margin-bottom: 7px; }
.quote-workflow p { font-size: 12px; line-height: 1.8; color: var(--muted); }
@media (max-width: 960px) { .home-quote { gap: 35px; } }
@media (max-width: 760px) { .home-quote { grid-template-columns: 1fr; padding: 50px 24px; gap: 23px; } .home-quote h2 { font-size: 29px; } .home-quote .quote-intro > p:not(.eyebrow):not(.quote-note) { font-size: 14px; } }
.page-home p, .page-home h1, .page-home h2, .page-home h3 { margin: 0; }
.home-text-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 25px; font-size: 14px; line-height: 1.7; }
.home-text-link > span { font-size: 21px; }
.home-text-link:hover { text-decoration: underline; text-underline-offset: 5px; }
.home-eyebrow { font-size: 11px; font-weight: 600; letter-spacing: 2px; line-height: 1.7; color: var(--blue); }
.home-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 32px; }

/* Wide first-party production footage; the still is the mobile fallback. */
.home-hero { min-height: 690px; height: min(780px, calc(100svh - 100px)); position: relative; overflow: hidden; color: #fff; display: flex; align-items: center; isolation: isolate; background: #152633; }
.home-hero-film { position: absolute; inset: 0; z-index: -2; }
.home-hero-film img, .home-hero-film video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 55%; }
.home-hero-film video { opacity: 0; }
.home-hero-film video.is-playing { opacity: 1; }
.home-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(5, 20, 35, .87) 0%, rgba(5, 20, 35, .64) 44%, rgba(5, 20, 35, .10) 100%); }
.home-hero-copy { width: 100%; max-width: var(--width); margin: 0 auto; padding: 35px 40px 80px; }
.home-hero .home-eyebrow { color: #c9dfef; letter-spacing: 2px; font-size: 11px; }
.home-hero h1 { font-size: clamp(56px, 5.2vw, 78px); line-height: 1.2; letter-spacing: -.8px; font-weight: 600; margin: 28px 0 25px; }
.home-intro { font-size: 16px; line-height: 1.95; max-width: 505px; color: #e4ecf2; }
.home-hero .home-actions { margin-top: 35px; }
.home-hero .button { background: #fff; color: #173c5d !important; border-color: #fff; min-width: 170px; }
.home-hero .button:hover { background: #dfeaf2; }
.home-hero .home-text-link { border-bottom: 1px solid #b2c5d3; padding: 9px 0; }
.home-hero-bottom { position: absolute; bottom: 0; left: max(40px, calc((100vw - 1240px) / 2)); right: max(40px, calc((100vw - 1240px) / 2)); display: flex; justify-content: space-between; align-items: center; gap: 30px; padding: 22px 0; border-top: 1px solid #ffffff40; color: #dce7ef; font-size: 10px; letter-spacing: .7px; }
.home-hero-bottom > div { display: flex; align-items: center; gap: 28px; }
.home-hero-bottom a { display: flex; align-items: center; gap: 18px; }
.home-hero-bottom a span { font-size: 22px; }
.home-film-toggle { cursor: pointer; background: transparent; color: inherit; border: 0; padding: 6px 0; font-size: 10px !important; }
.home-film-toggle:hover { text-decoration: underline; }
.home-facts { display: grid; grid-template-columns: 1.15fr 1fr 1fr 1.25fr; gap: 35px; max-width: var(--width); margin: auto; padding: 40px; align-items: center; border-bottom: 1px solid var(--line); }
.home-facts-lead { font-size: 17px; line-height: 1.65; font-weight: 500; }
.manufacturing-stat { display: flex; gap: 17px; align-items: center; }
.manufacturing-stat strong { font-size: 52px; line-height: 1; color: var(--blue); font-weight: 500; }
.manufacturing-stat span { display: block; font-size: 13px; line-height: 1.6; }
.manufacturing-stat small { display: block; font-size: 10px; color: var(--muted); line-height: 1.6; margin-top: 5px; }

.home-section { max-width: var(--width); margin: auto; padding: 95px 40px; }
.home-section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 50px; margin-bottom: 38px; }
.home-section-heading h2 { margin-top: 16px; font-size: 37px; line-height: 1.4; letter-spacing: -.9px; }
.home-section-heading > p { max-width: 335px; font-size: 14px; line-height: 1.9; color: var(--muted); }
.home-product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.home-product-photo { position: relative; aspect-ratio: 3 / 2; background: #142331; overflow: hidden; }
.home-product-photo img { display: block; width: 100%; height: 100%; object-fit: contain; transition: transform .35s; }
.home-product:hover img { transform: scale(1.025); }
.home-product-photo > span { position: absolute; top: 12px; left: 14px; color: #fff; background: #142331cc; padding: 4px 7px; font-size: 10px; letter-spacing: .5px; }
.home-product-caption { padding-top: 22px; display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; }
.home-product-caption h3 { font-size: 22px; font-weight: 500; line-height: 1.5; }
.home-product-caption p { font-size: 13px; line-height: 1.8; color: var(--muted); margin-top: 7px; }
.home-product-caption > span { font-size: 25px; color: var(--blue); }
.home-applications { margin-top: 47px; padding-top: 27px; border-top: 1px solid var(--line); }
.home-applications > p { font-size: 11px; color: var(--muted); margin-bottom: 23px; }
.home-application-links { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 28px; }
.home-application-links h3 { font-size: 15px; font-weight: 500; line-height: 1.6; display: flex; justify-content: space-between; gap: 8px; }
.home-application-links h3 span { color: var(--blue); }
.home-application-links p { margin-top: 8px; font-size: 11px; line-height: 1.6; color: var(--muted); }
.home-application-links a:hover h3 { color: var(--blue); }

.home-factory { background: #102a40; color: #fff; }
.home-factory-inner { max-width: var(--width); margin: auto; padding: 85px 40px 65px; display: grid; grid-template-columns: .8fr 1.2fr; gap: 55px 75px; align-items: center; }
.home-factory .home-eyebrow { color: #90c4e7; }
.home-factory h2 { font-size: 43px; line-height: 1.35; letter-spacing: -.8px; margin: 23px 0; }
.home-factory-intro { font-size: 14px; line-height: 1.95; color: #bfd0dd; }
.home-factory-copy .home-text-link { margin-top: 29px; color: #fff; }
.home-factory-media video { width: 100%; aspect-ratio: 16/9; object-fit: cover; background: #081b29; }
.home-factory-media figcaption { display: flex; justify-content: space-between; gap: 20px; font-size: 10px; line-height: 1.7; color: #a8c0d2; margin-top: 16px; }
.home-factory-media figcaption span { letter-spacing: 1px; font-size: 9px; }
.home-factory-points { grid-column: 1/-1; border-top: 1px solid #476072; padding-top: 29px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 50px; }
.home-number { font-size: 11px; color: #89bcdd; letter-spacing: 1px; }
.manufacturing-advantage h3 { font-weight: 500; font-size: 20px; line-height: 1.5; margin: 15px 0 11px; }
.manufacturing-advantage p { font-size: 13px; color: #bfd0dd; line-height: 1.9; }
.home-process { padding-top: 75px; padding-bottom: 75px; }
.home-process .home-section-heading h2 { font-size: 31px; }
.home-process ol { list-style: none; padding: 0; margin: 35px 0 28px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px; }
.home-process li { border-top: 2px solid #d6e2eb; padding-top: 21px; }
.home-step-number { font-size: 27px; font-weight: 400; color: #7191a9; }
.home-process h3 { font-size: 18px; font-weight: 500; margin: 20px 0 10px; }
.home-process li p { font-size: 13px; line-height: 1.9; color: var(--muted); }
.home-resources { background: var(--pale); }
.home-resources .home-section { padding-top: 70px; padding-bottom: 65px; }
.home-resources .home-section-heading h2 { font-size: 31px; }
.home-choices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 35px; }
.home-choices > a { border-top: 1px solid #bacbd8; padding: 23px 0 17px; }
.home-choice-label { display: flex; justify-content: space-between; align-items: center; font-size: 11px; color: var(--blue); }
.home-choice-label > span { font-size: 23px; }
.home-choices h3 { font-size: 23px; font-weight: 500; line-height: 1.5; margin: 18px 0 10px; }
.home-choices p { font-size: 13px; line-height: 1.8; color: var(--muted); }
.home-records { display: flex; justify-content: space-between; align-items: center; gap: 55px; border-top: 1px solid #ced9e2; padding: 30px 0; margin-top: 25px; }
.home-records > div { max-width: 790px; }
.home-records h3, .home-news h3 { font-size: 17px; font-weight: 500; line-height: 1.5; margin-bottom: 10px; }
.home-records p, .home-news p { font-size: 12px; line-height: 1.9; color: var(--muted); }
.home-records .home-text-link { flex-shrink: 0; }
.home-detail { border-top: 1px solid #ced9e2; border-bottom: 1px solid #ced9e2; }
.home-detail summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 25px; padding: 19px 0; font-size: 13px; }
.home-detail summary::-webkit-details-marker { display: none; }
.home-detail summary > span { font-size: 23px; color: var(--blue); }
.home-detail[open] summary > span { transform: rotate(45deg); }
.home-specifications { padding: 10px 0 26px; font-size: 13px; line-height: 1.9; }
.home-specifications h2 { font-size: 23px; margin-bottom: 15px; }
.home-specifications h3 { font-size: 16px; margin: 24px 0 10px; }
.home-specifications ul { padding-left: 23px; }
.home-specifications a, .home-record-source a { text-decoration: underline; text-underline-offset: 4px; }
.home-record-source { font-size: 12px; padding-bottom: 25px; }
.comparison-scroll { overflow: auto; margin: 22px 0; }
.home-specifications table { border-collapse: collapse; width: 100%; min-width: 440px; background: #fff; text-align: left; }
.home-specifications caption { text-align: left; padding-bottom: 10px; font-size: 12px; }
.home-specifications th, .home-specifications td { padding: 12px 16px; border-bottom: 1px solid var(--line); }
.home-specifications th { font-weight: 500; }
.home-news { display: flex; justify-content: space-between; align-items: center; gap: 35px; margin-top: 27px; }
.home-contact { background: #0061b7; color: #fff; padding: 70px max(40px, calc((100vw - 1240px) / 2)); display: grid; grid-template-columns: 1.4fr .6fr; align-items: center; gap: 70px; }
.home-contact .home-eyebrow { color: #b6d9f6; }
.home-contact h2 { font-size: 43px; line-height: 1.4; letter-spacing: -.8px; margin: 16px 0; }
.home-contact p:not(.home-eyebrow) { font-size: 14px; color: #d0e7fa; line-height: 1.8; }
.home-contact .home-actions { margin-top: 27px; }
.home-contact .button { border-color: #fff; background: #fff; color: #005598 !important; }
.home-contact .button:hover { background: #e1effa; }
.home-contact-phone { display: flex; align-items: flex-start; flex-direction: column; gap: 15px; border-left: 1px solid #ffffff60; padding-left: 40px; }
.home-contact-phone > span { font-size: 12px; color: #d0e7fa; }
.home-contact-phone > a:first-of-type { font-size: 30px; white-space: nowrap; letter-spacing: -.8px; }
.home-company { font-size: 11px; line-height: 1.8; color: #d0e7fa !important; }

@media (min-width: 961px) {
  html[lang="en"] .home-hero h1 { font-size: clamp(53px, 4.6vw, 69px); }
  html[lang="en"] .home-facts-lead { font-size: 14px; }
}
@media (max-width: 1200px) {
  .home-facts { gap: 25px; }
  .manufacturing-stat { gap: 12px; }
  .manufacturing-stat strong { font-size: 45px; }
  .home-factory-inner { gap: 50px; }
  .home-factory h2 { font-size: 35px; }
  .home-section-heading h2 { font-size: 31px; }
  .home-contact { gap: 40px; }
  .home-contact-phone { padding-left: 25px; }
  .home-contact-phone > a:first-of-type { font-size: 27px; }
}
@media (max-width: 960px) {
  .home-hero { min-height: 620px; height: calc(85svh - 85px); }
  .home-hero h1 { font-size: 60px; }
  .home-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .home-facts-lead { grid-column: 1/-1; font-size: 14px; }
  .home-facts-lead br { display: none; }
  .home-section { padding-top: 75px; padding-bottom: 75px; }
  .home-section-heading { flex-direction: column; align-items: flex-start; gap: 18px; }
  .home-section-heading > p { max-width: 600px; }
  .home-product-grid { gap: 20px; }
  .home-product-caption h3 { font-size: 18px; }
  .home-product-caption p { font-size: 12px; }
  .home-application-links { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .home-factory-inner { gap: 36px; grid-template-columns: 1fr 1fr; padding-top: 65px; }
  .home-factory h2 { font-size: 30px; }
  .home-factory-points { gap: 30px; }
  .manufacturing-advantage h3 { font-size: 18px; }
  .home-process ol { gap: 23px; }
  .home-choices { gap: 25px; }
  .home-choices h3 { font-size: 19px; }
  .home-records { gap: 30px; }
  .home-contact { grid-template-columns: 1fr; gap: 32px; }
  .home-contact-phone { border-left: 0; border-top: 1px solid #ffffff50; padding: 25px 0 0; }
}
@media (max-width: 640px) {
  .home-hero { min-height: 590px; height: calc(88svh - 76px); max-height: 680px; }
  .home-hero::after { background: linear-gradient(90deg, #051423de, #0514234a); }
  .home-hero-film img, .home-hero-film video { object-position: 63% center; }
  .home-hero-copy { padding: 30px 24px 85px; }
  .home-hero .home-eyebrow { font-size: 9px; letter-spacing: 1px; }
  .home-hero h1 { font-size: 47px; line-height: 1.25; margin: 24px 0 22px; letter-spacing: -.5px; }
  html[lang="en"] .home-hero h1 { font-size: 40px; }
  .home-intro { font-size: 14px; line-height: 1.9; max-width: 345px; }
  .home-hero .home-actions { gap: 27px; margin-top: 30px; }
  .home-hero .button { min-width: 155px; }
  .home-text-link { font-size: 12px; gap: 15px; }
  .home-hero-bottom { left: 24px; right: 24px; padding: 18px 0; font-size: 9px; letter-spacing: 0; gap: 15px; }
  .home-hero-bottom > div { gap: 15px; }
  .home-hero-bottom a { gap: 12px; }
  .home-facts { padding: 30px 24px; gap: 22px 12px; }
  .home-facts-lead { font-size: 13px; }
  .manufacturing-stat { display: block; }
  .manufacturing-stat strong { display: block; font-size: 42px; margin-bottom: 11px; }
  .manufacturing-stat span { font-size: 11px; }
  .manufacturing-stat small { font-size: 9px; }
  .home-section { padding: 58px 24px; }
  .home-eyebrow { font-size: 9px; letter-spacing: 1.5px; }
  .home-section-heading { gap: 16px; margin-bottom: 27px; }
  .home-section-heading h2 { font-size: 29px; line-height: 1.4; margin-top: 13px; letter-spacing: -.5px; }
  .home-section-heading > p { font-size: 13px; }
  .home-product-grid { grid-template-columns: 1fr; gap: 34px; }
  .home-product-photo > span { top: 17px; left: 18px; font-size: 9px; }
  .home-product-caption { padding-top: 17px; }
  .home-product-caption h3 { font-size: 21px; }
  .home-product-caption p { font-size: 12px; margin-top: 5px; }
  .home-applications { margin-top: 34px; padding-top: 22px; }
  .home-application-links { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 22px; }
  .home-application-links h3 { font-size: 14px; }
  .home-application-links p { font-size: 10px; }
  .home-factory-inner { grid-template-columns: 1fr; padding: 55px 24px; gap: 34px; }
  .home-factory h2 { font-size: 37px; margin: 19px 0; }
  .home-factory-intro { font-size: 13px; }
  .home-factory-copy .home-text-link { margin-top: 24px; }
  .home-factory-media figcaption { gap: 15px; font-size: 9px; }
  .home-factory-media figcaption span { font-size: 8px; letter-spacing: .7px; }
  .home-factory-points { grid-template-columns: 1fr; gap: 28px; padding-top: 28px; }
  .manufacturing-advantage h3 { font-size: 20px; margin: 12px 0 9px; }
  .manufacturing-advantage p { font-size: 13px; }
  .home-process .home-section-heading h2, .home-resources .home-section-heading h2 { font-size: 28px; }
  .home-process ol { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 25px; }
  .home-process h3 { font-size: 18px; }
  .home-process li p { font-size: 12px; }
  .home-resources .home-section { padding: 55px 24px; }
  .home-choices { grid-template-columns: 1fr; gap: 15px; }
  .home-choices > a { padding: 20px 0 16px; }
  .home-choices h3 { font-size: 23px; margin-top: 15px; }
  .home-choices p { font-size: 12px; }
  .home-records { flex-direction: column; align-items: flex-start; gap: 20px; margin-top: 17px; padding: 25px 0; }
  .home-records h3, .home-news h3 { font-size: 18px; }
  .home-detail summary { font-size: 12px; }
  .home-specifications { font-size: 12px; }
  .home-specifications th, .home-specifications td { padding: 10px; }
  .home-news { flex-direction: column; align-items: flex-start; gap: 17px; }
  .home-contact { padding: 54px 24px; }
  .home-contact h2 { font-size: 34px; }
  .home-contact p:not(.home-eyebrow) { font-size: 13px; }
  .home-contact .home-actions { gap: 24px; }
  .home-contact-phone > a:first-of-type { font-size: 30px; }
}
@media (max-width: 360px) {
  .home-hero h1 { font-size: 41px; }
  html[lang="en"] .home-hero h1 { font-size: 35px; }
  .home-hero .home-actions { gap: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .home-product:hover img { transform: none; }
}
