.ae-home { --home-x: 100px; }
.ae-home > .section { padding-inline: var(--home-x); }
.ae-home .hero-inner { padding-inline: var(--home-x); padding-bottom: 100px; gap: 80px; }
.ae-home .hero-title { letter-spacing: 0; font-size: 120px; }
.home-project { display: grid; grid-template-columns: minmax(0, 393px) 174px; gap: 20px; width: 647px; max-width: 100%; padding: 30px; border-radius: 14px; background: #fff; color: #000; }
.home-project h2 { margin: 0 0 6px; font-size: 20px; line-height: 33px; font-weight: 400; }
.home-project p { max-width: 338px; margin: 0; font-size: 16px; line-height: 1.5; }
.home-project-logo { grid-column: 2; grid-row: 1 / 3; width: 174px; height: auto; }
.home-project-link { width: 229px; min-height: 52px; padding-block: 14px; font-size: 16px; line-height: 24px; }
.home-products { padding-block: 100px; }
.home-products h2 { margin: 0 0 40px; font-size: 56px; font-weight: 400; line-height: 1.05; }
.home-products-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px 10px; }
.home-product { display: flex; flex-direction: column; min-width: 0; gap: 20px; color: var(--red); }
.home-product-media { position: relative; display: block; overflow: hidden; border-radius: 14px; aspect-ratio: 423 / 380; background: #f3f3f3; }
.home-product-media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 350ms ease; }
.home-product--ply img { object-position: center bottom; }
.home-product-name { font-size: 24px; line-height: 1.2; font-weight: 500; overflow-wrap: anywhere; }
.home-product-size { position: absolute; left: 12px; bottom: 12px; padding: 4px 8px; border-radius: 6px; background: #000; color: #fff; font-size: 16px; line-height: 23px; }
.ae-home .big5-section { padding-block: 100px; }
.ae-home .big5-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.ae-home .big5-banner { grid-column: 2; grid-row: 1; overflow: hidden; border-radius: 14px; }
.ae-home .big5-copy { grid-column: 1; grid-row: 1; max-width: 561px; }
.ae-home .big5-copy h2 { font-size: 56px; line-height: 1.05; margin: 15px 0 40px; }
.ae-home .big5-copy .big5-eyebrow { font-size: 16px; line-height: 24px; }
.ae-home .big5-description { font-size: 22px; line-height: 33px; margin-bottom: 20px; }
.ae-home .big5-stand { font-size: 22px; line-height: 33px; margin-bottom: 40px; }
.ae-home .big5-stand span { display: block; line-height: 24px; }
.ae-home .big5-stand br { display: none; }
.ae-home .big5-open { max-width: none; }
.ae-home .split-gallery { margin-top: 0; padding-block: 100px; grid-template-columns: minmax(0, 1fr) minmax(0, 2.05fr) minmax(0, 1fr); gap: 20px; }
.ae-home .landscape-placeholder { border-radius: 14px; }
.ae-home .certificates-section { margin-top: 0; padding-block: 100px; grid-template-columns: minmax(0, 1fr) minmax(0, 3.1fr); gap: 20px; }
.ae-home .certificates-grid { grid-column: 2; }
.ae-home .certificate-card { border-radius: 14px; }
.ae-home .ae-quote { margin-top: 0; padding-block: 140px; }
.ae-home .ae-quote form { max-width: 850px; }
.ae-home .ae-quote .ae-enquiry-fields { margin-top: 32px; }
.ae-home .ae-quote .ae-form-status:empty { display: none; }
.ae-home .ae-quote-details { margin-top: 40px; }
.ae-home :focus-visible { outline: 2px solid var(--red); outline-offset: 4px; }
.ae-home .hero :focus-visible { outline-offset: 6px; }
@media (hover: hover) {
  .home-product:hover img { transform: scale(1.025); }
  .home-product:hover .home-product-name { text-decoration: underline; text-underline-offset: 4px; }
  .ae-home .ae-send:not(:disabled):hover { background: #7f1b1f; }
}
@media (max-width: 1599px) {
  .ae-home { --home-x: 60px; }
  .ae-home .hero-title { font-size: 96px; }
  .ae-home .big5-copy h2 { font-size: 40px; }
  .ae-home .big5-description { font-size: 18px; line-height: 27px; }
  .ae-home .big5-stand { margin-bottom: 24px; }
  .ae-home .split-sticky-top .text-xl { font-size: 26px; }
}
@media (max-width: 1199px) {
  .ae-home { --home-x: 40px; }
  .ae-home .hero-title { font-size: 72px; }
  .ae-home .split-gallery { grid-template-columns: 1fr; }
  .ae-home .split-sticky-top, .ae-home .split-sticky-bottom { position: static; min-height: 0; }
  .ae-home .certificates-section { grid-template-columns: 1fr; gap: 30px; }
  .ae-home .certificates-grid { grid-column: 1; }
  .ae-home .big5-copy h2 { font-size: 32px; margin-bottom: 24px; }
  .home-product-name { font-size: 20px; }
}
@media (max-width: 767px) {
  .ae-home { --home-x: 12px; }
  .ae-home .hero { background: #fff; min-height: 0; }
  .ae-home .hero-inner { display: block; min-height: 0; padding: calc(var(--header-h) + 20px) 12px 0; }
  .ae-home .hero-inner > div:first-child { min-height: calc(500px - var(--header-h) - 20px); }
  .ae-home .hero-title { font-size: 34px; line-height: 1; }
  .ae-home .hero.has-media .section-bg-video, .ae-home .hero.has-media::before { height: 500px; }
  .home-project { position: relative; grid-template-columns: minmax(0, 1fr) 132px; gap: 22px 35px; width: 100%; padding: 30px 0 25px; border-radius: 0; }
  .home-project h2 { font-size: 18px; line-height: 27px; }
  .home-project p { font-size: 13px; line-height: 19.5px; }
  .home-project-logo { grid-row: 1; width: 132px; }
  .home-project-link { grid-column: 1 / -1; width: 100%; }
  .home-products { padding-block: 40px; }
  .home-products h2 { font-size: 22px; line-height: 26px; margin-bottom: 15px; }
  .home-products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 8px; }
  .home-product { gap: 10px; order: 5; }
  .home-product--ties { order: 1; }
  .home-product--beams { order: 2; }
  .home-product--props { order: 3; }
  .home-product--ply { order: 4; }
  .home-product-media { border-radius: 6px; }
  .home-product-name { font-size: 16px; line-height: 19.2px; }
  .home-product-size { display: none; }
  .ae-home .big5-section { padding-block: 40px; }
  .ae-home .big5-inner { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .ae-home .big5-copy { display: contents; }
  .ae-home .big5-copy .big5-eyebrow { grid-row: 1; font-size: 14px; line-height: 21px; }
  .ae-home .big5-copy h2 { grid-row: 2; font-size: 28px; line-height: 32.2px; margin: 8px 0 15px; }
  .ae-home .big5-banner { grid-column: 1; grid-row: 3; margin-bottom: 15px; border-radius: 6px; }
  .ae-home .big5-description { grid-row: 4; font-size: 16px; line-height: 24px; margin-bottom: 15px; }
  .ae-home .big5-stand { grid-row: 5; font-size: 24px; line-height: 36px; margin-bottom: 15px; }
  .ae-home .big5-open { grid-row: 6; }
  .ae-home .split-gallery { padding-block: 40px; gap: 20px; }
  .ae-home .split-sticky-top .text-xl { font-size: 20px; line-height: 26px; }
  .ae-home .split-sticky-bottom .paragraph { font-size: 14px; line-height: 21.7px; }
  .ae-home .landscape-placeholder { border-radius: 4px; }
  .ae-home .certificates-section { padding-block: 40px; gap: 24px; }
  .ae-home .certificates-title { font-size: 22px; line-height: 26px; }
  .ae-home .certificates-description { margin-top: 15px; font-size: 14px; line-height: 21.7px; }
  .ae-home .certificates-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .ae-home .certificate-card { border-radius: 4px; }
  .ae-home .ae-quote { padding-block: 40px; }
  .ae-home .ae-quote .contact-title { text-align: left; font-size: 22px; line-height: 27px; }
  .ae-home .ae-quote .ae-enquiry-fields { grid-template-columns: 1fr; margin-top: 15px; }
  .ae-home .ae-quote-details { line-height: 20px; }
  body.home .ae-footer { padding: 40px 12px; }
  body.home .ae-footer-top { align-items: center; gap: 24px; padding-bottom: 24px; }
  body.home .ae-footer-top nav { flex-direction: column; align-items: center; gap: 12px; }
  body.home .ae-footer-top a[href*="/floor-props/"] { order: -1; }
  body.home .ae-footer-bottom { align-items: flex-start; padding-top: 32px; }
}
@media (max-width: 359px) {
  .ae-home .hero-title { font-size: 28px; }
  .home-project { grid-template-columns: minmax(0, 1fr) 96px; column-gap: 16px; }
  .home-project-logo { width: 96px; }
  .home-product-name { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .home-product-media img { transition: none; }
}
