/* Homepage composition; the global navigation remains in the shared stylesheet. */
.hm-home { color: var(--ink); }
.hm-home h1, .hm-home h2, .hm-home h3, .hm-home p, .hm-home figure { margin: 0; }
.hm-home a { text-underline-offset: 4px; }
.hm-home a:focus-visible { outline: 3px solid var(--blue); outline-offset: 5px; }
.hm-home h2 { color: var(--navy); font-size: clamp(28px, 3vw, 38px); line-height: 1.16; letter-spacing: -.035em; }
.hm-hero { background: var(--navy); color: #fff; }
.hm-hero-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 48px; padding-block: 50px; }
.hm-hero h1 { font-size: clamp(36px, 4.1vw, 54px); font-weight: 700; line-height: 1.08; letter-spacing: -.045em; max-width: 600px; }
.hm-hero-copy > p { max-width: 520px; margin-top: 22px; color: #d4dfe7; font-size: 16px; line-height: 1.7; }
.hm-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hm-button { display: inline-flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 48px; padding: 12px 19px; border: 1px solid transparent; border-radius: 5px; font-size: 13px; line-height: 1.4; font-weight: 600; text-decoration: none; transition: background .15s ease; }
.hm-button span { font-size: 17px; }
.hm-button-primary { background: #d94824; color: #fff; }
.hm-button-primary:hover { background: #b93619; }
.hm-button-outline { border-color: #6c8192; color: #fff; }
.hm-button-outline:hover { background: var(--navy-light); }
.hm-hero-image { position: relative; overflow: hidden; border-radius: 6px; background: var(--navy-dark); }
.hm-hero-image img { width: 100%; height: 360px; object-fit: cover; object-position: 47% center; }
.hm-hero-image figcaption { position: absolute; right: 0; bottom: 0; padding: 9px 15px; color: #fff; background: var(--navy-dark); font-size: 11px; line-height: 1.5; }
.hm-section { padding-block: 64px; }
.hm-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.hm-heading > p { color: var(--muted); font-size: 14px; line-height: 1.6; max-width: 390px; }
.hm-link { display: inline-flex; align-items: center; gap: 14px; color: var(--blue); font-size: 13px; line-height: 1.5; font-weight: 600; text-decoration: none; }
.hm-link:hover { color: var(--navy); text-decoration: underline; }
.hm-link span { font-size: 17px; }
.hm-solutions { scroll-margin-top: 95px; }
.hm-solutions-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.hm-solution { min-width: 0; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.hm-solution-image { width: 100%; height: auto; aspect-ratio: 1.75; object-fit: cover; }
.hm-solution-body { padding: 24px 22px 16px; }
.hm-solution h3 { color: var(--navy); font-size: 23px; letter-spacing: -.03em; line-height: 1.2; }
.hm-solution-body > p { margin-top: 14px; min-height: 72px; color: var(--muted); font-size: 14px; line-height: 1.7; }
.hm-solution-links { list-style: none; padding: 0; margin: 22px 0 0; border-top: 1px solid var(--line); }
.hm-solution-links li + li { border-top: 1px solid var(--line); }
.hm-solution-links a { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 45px; padding-block: 10px; font-size: 12px; font-weight: 600; line-height: 1.45; text-decoration: none; }
.hm-solution-links a > span { flex: none; color: var(--blue); font-size: 17px; }
.hm-solution-links a:hover { color: var(--blue); }
.hm-manufacturing, .hm-insights { background: var(--soft); border-block: 1px solid var(--line); }
.hm-proof-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 52px; }
.hm-workshop-images { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hm-workshop-images img { width: 100%; height: 206px; object-fit: cover; border-radius: 4px; }
.hm-workshop-images figcaption { margin-top: 10px; color: var(--navy); font-size: 13px; font-weight: 600; }
.hm-capabilities > p { margin-top: 22px; color: var(--muted); font-size: 14px; line-height: 1.75; }
.hm-capabilities > .hm-link { margin-top: 18px; }
.hm-quality { padding-left: 34px; border-left: 1px solid var(--line); }
.hm-quality h3 { font-size: 23px; line-height: 1.3; letter-spacing: -.025em; color: var(--navy); }
.hm-quality p { margin-top: 14px; color: var(--muted); font-size: 14px; line-height: 1.75; }
.hm-quality ul { list-style: none; padding: 0; margin: 22px 0; }
.hm-quality li { position: relative; padding: 10px 0 10px 20px; border-top: 1px solid var(--line); font-size: 13px; line-height: 1.5; }
.hm-quality li::before { position: absolute; left: 0; content: '✓'; color: var(--blue); }
.hm-certifications { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 32px; border-block: 1px solid var(--line); }
.hm-certifications a { position: relative; padding: 22px 35px 22px 24px; text-decoration: none; }
.hm-certifications a:first-child { padding-left: 0; }
.hm-certifications a + a { border-left: 1px solid var(--line); }
.hm-certifications strong { display: block; font-size: 17px; color: var(--navy); }
.hm-certifications span { display: block; margin-top: 6px; font-size: 12px; color: var(--muted); }
.hm-certifications .hm-cert-arrow { position: absolute; top: 20px; right: 18px; color: var(--blue); font-size: 17px; }
.hm-certifications a:hover strong { color: var(--blue); }
.hm-product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.hm-product { min-width: 0; display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: 6px; }
.hm-product-image { display: block; aspect-ratio: 1.65; overflow: hidden; background: var(--soft); border-bottom: 1px solid var(--line); }
.hm-product-image img { width: 100%; height: 100%; object-fit: cover; }
.hm-product-body { display: flex; flex: 1; flex-direction: column; align-items: start; padding: 23px; }
.hm-product-category { font-size: 11px; line-height: 1.4; color: var(--muted); }
.hm-product h3 { margin-top: 9px; font-size: 20px; line-height: 1.3; letter-spacing: -.025em; }
.hm-product h3 a { text-decoration: none; }
.hm-product h3 a:hover { color: var(--blue); }
.hm-product p { margin-top: 10px; margin-bottom: 21px; color: var(--muted); font-size: 13px; line-height: 1.7; }
.hm-product .hm-link { margin-top: auto; }
.hm-insights .insight-card { display: flex; flex-direction: column; border-radius: 6px; box-shadow: none; }
.hm-insights .insight-card-body { display: flex; flex: 1; flex-direction: column; align-items: start; padding: 22px; }
.hm-insights .insight-card h3 { margin-top: 12px; font-size: 19px; line-height: 1.4; }
.hm-insights .insight-card p { margin-top: 12px; margin-bottom: 20px; font-size: 13px; line-height: 1.7; }
.hm-insights .text-link { margin-top: auto; font-weight: 600; }
.hm-enquiry { background: var(--navy); color: #fff; }
.hm-enquiry-grid { display: grid; grid-template-columns: 1.05fr 1fr 1fr; gap: 40px; }
.hm-enquiry h2 { color: #fff; }
.hm-enquiry h3 { font-size: 21px; line-height: 1.3; }
.hm-enquiry p { margin-top: 17px; color: #cedae4; font-size: 14px; line-height: 1.7; }
.hm-enquiry-intro > a { display: inline-block; margin-top: 20px; font-size: 14px; }
.hm-enquiry-option { display: flex; flex-direction: column; align-items: start; padding-left: 30px; border-left: 1px solid #476074; }
.hm-enquiry-option p { flex: 1; padding-bottom: 24px; }
body[data-page-type="home"] .site-floating-contact-actions { display: none; }
@media (max-width: 1020px) {
  .hm-hero-grid { gap: 28px; }
  .hm-hero h1 { font-size: 39px; }
  .hm-hero-image img { height: 365px; }
  .hm-solution-body { padding: 20px 16px 12px; }
  .hm-solution h3 { font-size: 21px; }
  .hm-solution-body > p { min-height: 96px; }
  .hm-solution-links a { min-height: 52px; }
  .hm-proof-grid { gap: 28px; }
  .hm-quality { padding-left: 24px; }
  .hm-enquiry-grid { gap: 24px; }
  .hm-enquiry-option { padding-left: 22px; }
}
@media (max-width: 760px) {
  .hm-section { padding-block: 44px; }
  .hm-hero-grid { grid-template-columns: 1fr; padding-block: 36px; gap: 30px; }
  .hm-hero h1 { max-width: 570px; font-size: clamp(34px, 6.2vw, 43px); }
  .hm-hero-copy > p { font-size: 15px; }
  .hm-hero-image img { height: auto; aspect-ratio: 1.85; }
  .hm-actions { margin-top: 24px; }
  .hm-heading { align-items: start; flex-direction: column; gap: 14px; margin-bottom: 24px; }
  .hm-heading > p { max-width: none; }
  .hm-solutions-grid { grid-template-columns: 1fr; gap: 24px; }
  .hm-solution { display: grid; grid-template-columns: 38% 1fr; }
  .hm-solution-image { height: 100%; aspect-ratio: auto; }
  .hm-solution-body { padding: 22px; }
  .hm-solution-body > p { min-height: 0; }
  .hm-solution-links a { min-height: 44px; }
  .hm-proof-grid { grid-template-columns: 1fr; gap: 30px; }
  .hm-workshop-images img { height: 190px; }
  .hm-quality { border-left: 0; padding: 26px 0 0; border-top: 1px solid var(--line); }
  .hm-certifications { grid-template-columns: 1fr; }
  .hm-certifications a, .hm-certifications a:first-child { padding: 18px 35px 18px 0; }
  .hm-certifications a + a { border-left: 0; border-top: 1px solid var(--line); }
  .hm-certifications strong { font-size: 16px; }
  .hm-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
  .hm-product-body { padding: 18px; }
  .hm-product h3 { font-size: 18px; }
  .hm-insights .insight-grid { grid-template-columns: 1fr; gap: 20px; }
  .hm-insights .insight-card { display: grid; grid-template-columns: 34% 1fr; }
  .hm-insights .insight-image { height: 100%; aspect-ratio: auto; }
  .hm-enquiry-grid { grid-template-columns: 1fr; gap: 28px; }
  .hm-enquiry-option { border-left: 0; border-top: 1px solid #476074; padding: 26px 0 0; }
}
@media (max-width: 480px) {
  .hm-hero-grid { padding-top: 32px; }
  .hm-hero h1 { font-size: 35px; }
  .hm-actions { gap: 10px; }
  .hm-button { gap: 14px; padding-inline: 15px; font-size: 12px; }
  .hm-solution { display: block; }
  .hm-solution-image { height: auto; aspect-ratio: 1.8; }
  .hm-workshop-images { gap: 12px; }
  .hm-workshop-images img { height: 150px; }
  .hm-product-grid { grid-template-columns: 1fr; gap: 22px; }
  .hm-product-body { padding: 22px; }
  .hm-product h3 { font-size: 21px; }
  .hm-insights .insight-card { display: flex; }
  .hm-insights .insight-image { height: auto; aspect-ratio: 1.8; }
}
@media (prefers-reduced-motion: reduce) { .hm-home * { transition: none; } }
