/* Reference-aligned homepage refinements. Shared page styles remain in style.css. */
.home-page {
  --home-ink: #092b50;
  --home-green: #378619;
  color: var(--home-ink);
}
.home-page .top-inner {
  align-items: center;
}
.home-page .top small {
  color: #cfdae4;
  font-size: inherit;
}
.home-page .top-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
}
.home-page .nav-inner {
  min-height: 78px;
}
.home-page .nav-cta {
  flex: 0 0 auto;
}
.home-page .hero-v2 {
  min-height: clamp(430px, 39vw, 540px);
  background: linear-gradient(105deg, #f4f9fc 0%, #e8f3f8 52%, #d9eaf2 100%);
}
.home-page .hero-photo {
  left: 39%;
  background-position: center;
  background-size: cover;
  opacity: 0.94;
  mask-image: linear-gradient(to right, transparent 0%, #000 24%);
}
.home-page .hero-content {
  padding-block: clamp(76px, 8vw, 112px);
}
.home-page .hero-v2 h1 {
  max-width: 690px;
  font-size: clamp(44px, 5.2vw, 72px);
  line-height: 1.04;
  letter-spacing: -0.035em;
}
.home-page .hero-v2 p {
  max-width: 590px;
  line-height: 1.7;
}
.home-page .hero-v2 .eyebrow {
  color: #1c5a86;
}
.home-page .photo-label {
  right: 22px;
  bottom: 16px;
}
.home-page .features {
  background: #f5f8fa;
}
.home-page .feature-row {
  padding-block: 24px;
}
.home-page .feature {
  padding-inline: 18px;
}
.home-page .home-section {
  padding-block: clamp(48px, 5.2vw, 76px);
}
.home-page .center-title {
  margin-bottom: 30px;
}
.home-page .center-title .eyebrow {
  margin-bottom: 9px;
}
.home-page .center-title h2 {
  font-size: clamp(30px, 3.1vw, 40px);
}
.home-page .center-title p {
  max-width: 720px;
  margin-inline: auto;
}
.home-page .categories {
  gap: 16px;
}
.home-page .category-card {
  border-color: #d8e3eb;
  border-radius: 12px;
  box-shadow: 0 5px 16px #082d4c0b;
}
.home-page .category-card img {
  height: 126px;
}
.home-page .category-card span {
  min-height: 68px;
  padding: 14px 15px;
}
.home-page .about-home {
  background: #fff;
}
.home-page .about-row {
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(36px, 6vw, 84px);
}
.home-page .about-row figure img {
  height: 330px;
  border-radius: 14px;
}
.home-page .about-copy h2 {
  font-size: clamp(32px, 3.3vw, 43px);
}
.home-page .about-copy p {
  max-width: 650px;
  font-size: 16px;
  line-height: 1.75;
}
.home-page .about-points {
  gap: 16px 22px;
}
.home-page .facility-section {
  border-block: 1px solid #e5edf2;
}
.home-page .factory-row {
  grid-template-columns: minmax(220px, 0.72fr) minmax(0, 2fr);
  gap: clamp(28px, 4vw, 54px);
}
.home-page .facility-intro p {
  line-height: 1.7;
}
.home-page .factory-gallery {
  gap: 14px;
}
.home-page .factory-gallery img {
  height: 164px;
  border-radius: 10px;
}
.home-page .factory-gallery span {
  font-size: 12px;
  padding-top: 8px;
}
.home-page .documentation-section {
  background: #fff;
}
.home-page .quality-row {
  max-width: 1100px;
  gap: 14px;
}
.home-page .quality-row a {
  min-height: 68px;
  border-color: #d6e1e8;
  background: #fbfdfe;
}
.home-page .contact-band-section {
  padding-block: 0 30px;
}
.home-page .global-banner {
  min-height: 166px;
  border-radius: 14px;
  padding: 26px clamp(24px, 3.6vw, 48px);
  background: linear-gradient(104deg, #0d4774 0%, #0a3159 62%, #164b64 100%);
}
.home-page .global-banner img {
  width: 190px;
  height: 96px;
}
.home-page .global-copy {
  flex: 1;
}
.home-page .global-copy .eyebrow {
  color: #b8dba9;
  margin-bottom: 7px;
}
.home-page .global-copy h2 {
  max-width: 650px;
  font-size: clamp(22px, 2.2vw, 29px);
}
.home-page .global-copy h2 em {
  color: #c8e4b7;
}
.home-page .global-copy p {
  margin-bottom: 0;
}
.home-page .resource-section {
  padding-top: 52px;
}
.home-page .section-heading-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}
.home-page .section-heading-row h2 {
  margin: 0;
  font-size: clamp(29px, 3vw, 38px);
}
.home-page .section-heading-row .eyebrow {
  margin-bottom: 7px;
}
.home-page .text-link {
  color: #216a17;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}
.home-page .news-row {
  gap: 18px;
}
.home-page .news-tile {
  min-height: 110px;
  padding: 12px;
  border-radius: 11px;
}
.home-page .news-tile img {
  width: 34%;
  height: 86px;
  object-fit: cover;
}
.home-page .news-tile b {
  font-size: 15px;
}
.home-page footer {
  padding-top: 48px;
}
.home-page .footer-grid {
  grid-template-columns: 1.35fr 0.75fr 0.95fr 1fr;
}
.home-page .footer-brand > p {
  max-width: 300px;
  margin-top: 16px;
}
.home-page .draft {
  display: inline-block;
  line-height: 1.5;
}
.home-page .footer-contact p small {
  color: #b3c7d2;
}
.home-page .copyright {
  margin-top: 28px;
}

@media (max-width: 1100px) {
  .home-page .hero-v2 {
    min-height: 440px;
  }
  .home-page .feature {
    padding-inline: 10px;
  }
  .home-page .feature-row {
    gap: 10px;
  }
  .home-page .factory-row {
    grid-template-columns: 1fr;
  }
  .home-page .factory-gallery img {
    height: 150px;
  }
  .home-page .footer-grid {
    grid-template-columns: 1.2fr 1fr 1fr;
  }
  .home-page .footer-contact {
    grid-column: 1 / -1;
  }
}
@media (max-width: 900px) {
  .home-page .hero-photo {
    left: 31%;
  }
  .home-page .about-row {
    gap: 26px;
  }
  .home-page .factory-gallery {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .home-page .global-banner img {
    display: none;
  }
  .home-page .global-copy {
    min-width: 0;
  }
  .home-page .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .home-page .footer-contact {
    grid-column: auto;
  }
}
@media (max-width: 760px) {
  .home-page .top .wrap {
    justify-content: center;
  }
  .home-page .top-inner > span {
    display: none;
  }
  .home-page .top-links {
    justify-content: center;
    gap: 4px 12px;
  }
  .home-page .nav-inner {
    min-height: 65px;
  }
  .home-page .hero-v2 {
    min-height: 480px;
    align-items: flex-end;
    background: linear-gradient(180deg, #dcebf4 0%, #edf5fa 52%, #f7fbfd 100%);
  }
  .home-page .hero-photo {
    inset: 0 0 58% 0;
    left: 0;
    mask-image: linear-gradient(to bottom, #000 38%, transparent 100%);
  }
  .home-page .hero-content {
    padding-block: 186px 38px;
  }
  .home-page .hero-v2 h1 {
    font-size: clamp(37px, 10vw, 47px);
  }
  .home-page .hero-v2 p {
    max-width: 460px;
  }
  .home-page .photo-label {
    right: 12px;
    top: 10px;
    bottom: auto;
  }
  .home-page .feature-row {
    padding-block: 19px;
  }
  .home-page .home-section {
    padding-block: 45px;
  }
  .home-page .center-title {
    margin-bottom: 23px;
  }
  .home-page .category-card img {
    height: 110px;
  }
  .home-page .category-card span {
    min-height: 62px;
  }
  .home-page .about-row {
    grid-template-columns: 1fr;
  }
  .home-page .about-row figure img {
    height: 245px;
  }
  .home-page .factory-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .home-page .factory-gallery img {
    height: 126px;
  }
  .home-page .quality-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .home-page .global-banner {
    align-items: flex-start;
    flex-direction: column;
    padding: 24px;
  }
  .home-page .global-banner .btn {
    align-self: flex-start;
  }
  .home-page .global-copy h2 {
    font-size: 24px;
  }
  .home-page .resource-section {
    padding-top: 45px;
  }
  .home-page .section-heading-row {
    align-items: flex-end;
  }
  .home-page .news-row {
    grid-template-columns: 1fr;
  }
  .home-page .news-tile {
    min-height: 96px;
  }
  .home-page .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 20px;
  }
  .home-page .footer-brand {
    grid-column: 1 / -1;
  }
}
@media (max-width: 390px) {
  .home-page .top-links {
    gap: 2px 8px;
  }
  .home-page .top a {
    font-size: 10px;
  }
  .home-page .hero-v2 {
    min-height: 460px;
  }
  .home-page .hero-content {
    padding-top: 168px;
  }
  .home-page .hero-v2 h1 {
    font-size: 36px;
    letter-spacing: -1px;
  }
  .home-page .category-card span {
    padding-inline: 9px;
  }
  .home-page .quality-row {
    grid-template-columns: 1fr;
  }
  .home-page .section-heading-row {
    align-items: flex-start;
    flex-direction: column;
  }
  .home-page .footer-grid {
    grid-template-columns: 1fr;
  }
  .home-page .footer-brand {
    grid-column: auto;
  }
}
@media (prefers-reduced-motion: reduce) {
  .home-page .category-card {
    transition: none;
  }
}

/* Give the desktop hero a calmer text zone and clearer action hierarchy. */
@media (min-width: 1101px) {
  .home-page .hero-photo {
    left: 45%;
  }
  .home-page .hero-v2 p {
    max-width: 520px;
  }
}
.home-page .hero-v2 .actions {
  gap: 16px;
  margin-top: 24px;
}
.home-page .hero-v2 .actions .btn {
  min-height: 50px;
  padding-inline: 24px;
}
.home-page .hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 2px;
  color: #174d78;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}
.home-page .hero-secondary span {
  transition: transform 0.18s ease;
}
.home-page .hero-secondary:hover span {
  transform: translateX(3px);
}
.home-page .hero-secondary:focus-visible {
  outline: 3px solid #79b74a;
  outline-offset: 4px;
}
@media (max-width: 760px) {
  .home-page .hero-v2 .actions {
    gap: 12px;
    margin-top: 20px;
  }
  .home-page .hero-v2 .actions .btn {
    min-height: 48px;
  }
}

/* Prevent the illustrative hero image from competing with the copy at tablet widths. */
@media (min-width: 761px) and (max-width: 900px) {
  .home-page .hero-v2 {
    min-height: 500px;
    align-items: flex-end;
  }
  .home-page .hero-photo {
    inset: 0 0 42% 0;
    left: 0;
    background-position: center 46%;
    mask-image: linear-gradient(to bottom, #000 48%, transparent 100%);
  }
  .home-page .hero-content {
    padding-block: 246px 34px;
  }
  .home-page .hero-v2 h1 {
    max-width: 100%;
    font-size: 44px;
  }
  .home-page .hero-v2 p {
    max-width: 540px;
  }
}
@media (min-width: 901px) and (max-width: 1100px) {
  .home-page .hero-photo {
    left: 43%;
  }
  .home-page .hero-v2 h1 {
    font-size: 52px;
  }
  .home-page .hero-v2 p {
    max-width: 440px;
  }
}
