/* ============================================
   GAGE GROUP - Custom CSS
   Replicating gagegroup.ca exactly
   Font: Open Sans (loaded via Google Fonts)
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: "Open Sans", sans-serif;
  font-weight: 300;
  font-size: 1.4rem;
  color: #333333;
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: #0C6A73; text-decoration: none; font-family: "Open Sans", sans-serif; font-weight: 300; }
a:hover { text-decoration: underline; }
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid #249FAB;
  outline-offset: 3px;
}
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* --- Skip Link --- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  background: #333;
  color: #fff;
  padding: 8px 16px;
  z-index: 9999;
}
.skip-link:focus { top: 0; }

/* UserWay widget placement */
#userwayAccessibilityIcon,
.userway_buttons_wrapper {
  top: 50% !important;
  right: 18px !important;
  bottom: auto !important;
  left: auto !important;
  transform: translateY(-50%) !important;
  z-index: 2147483647 !important;
}

#userwayAccessibilityIcon button,
#userwayAccessibilityIcon [role="button"],
.userway_buttons_wrapper button,
.userway_buttons_wrapper [role="button"] {
  background-color: #0C6A73 !important;
  border-color: #0C6A73 !important;
}

/* ============================================
   HEADER
   ============================================ */
.site-header {
  background-color: #006A74;
  padding: 10px 25px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-logo a { display: block; }
.header-logo img { width: 100%; max-width: 160px; }

/* Nav */
.main-nav ul {
  display: flex;
  flex-direction: row;
  gap: 0;
  list-style: none;
  align-items: center;
}
.main-nav ul li { position: relative; margin: 0 20px; }
.main-nav ul li a {
  font-family: "Open Sans", sans-serif;
  font-size: 1.2rem;
  font-weight: 300;
  letter-spacing: 1.5px;
  color: #FFFFFF;
  text-decoration: none;
  padding: 20px 0;
  display: block;
}
.main-nav ul li a:hover { text-decoration: none; color: #FFFFFF; }

/* Dropdown */
.main-nav ul li .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  transform: none;
  background-color: #0C6A73;
  min-width: 280px;
  z-index: 100;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}
.main-nav ul li:hover .sub-menu,
.main-nav ul li:focus-within .sub-menu { display: flex; }
.main-nav ul li .sub-menu li { margin: 0; }
.main-nav ul li .sub-menu li a {
  padding: 12px 20px;
  font-size: 14px;
  letter-spacing: 1.5px;
  color: #FFFFFF;
  display: block;
  white-space: nowrap;
  text-align: left;
}
.main-nav ul li .sub-menu li a:hover { background-color: #333333; text-decoration: none; }

/* Mobile toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
  color: #FFFFFF;
}
.menu-toggle svg { fill: #FFFFFF; width: 24px; height: 24px; }
.menu-toggle-close { display: none; }

/* ============================================
   FOOTER
   ============================================ */
.site-footer { }

.footer-main {
  background-color: #0C6A73;
  padding: 50px 25px;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 0;
}

.footer-info {
  width: 20%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-info img { max-width: 200px; width: 100%; }
.footer-info ul { margin-top: 10px; }
.footer-info ul li { padding-bottom: 5px; }
.footer-info ul li,
.footer-info ul li a {
  font-family: "Open Sans", sans-serif;
  font-size: 22.4px;
  font-weight: 300;
  color: #FFFFFF;
  text-decoration: none;
}
.footer-info ul li a:hover { text-decoration: underline; }

.footer-nav {
  width: 80%;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  margin-top: 100px;
  gap: 15px;
}
.footer-nav a {
  font-family: "Open Sans", sans-serif;
  font-size: 1.4rem;
  font-weight: 300;
  line-height: 2.2rem;
  color: #FFFFFF;
  text-decoration: none;
}
.footer-nav a:hover { text-decoration: underline; }

.footer-bottom {
  background-color: #333333;
  padding: 10px 25px;
  text-align: center;
  font-family: "Open Sans", sans-serif;
  font-weight: 300;
  font-size: 1.3rem;
  color: #FFFFFF;
}
.footer-bottom a { color: #FFFFFF; }
.footer-bottom a:hover { text-decoration: underline; }

/* ============================================
   DIVIDER ACCENT LINES
   ============================================ */
.divider-wrap { display: flex; flex-direction: column; }
.divider-line-1 {
  border: none;
  border-top: 8px solid #249FAB;
  margin: 0;
}
.divider-line-2 {
  border: none;
  border-top: 8px solid rgba(19,171,185,0.6);
  margin: 0;
}
/* Width variants */
.divider-50 { width: 50%; }
.divider-33 { width: 33%; }
.divider-25 { width: 25%; }
.divider-200px { width: 200px; }
.divider-100px { width: 100px; }
.divider-75 { width: 75%; }
.divider-center { margin-left: auto; margin-right: auto; }
.divider-right { margin-left: auto; margin-right: 0; }

/* ============================================
   HOMEPAGE - HERO SECTION
   ============================================ */
.hero-section {
  min-height: 90vh;
  background-image: url('../images/image-01.jpg');
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 50px 0 0;
  position: relative;
}

.hero-box {
  width: 50%;
  max-width: 600px;
  border: 1px solid #333333;
  background-color: #FFFFFF;
  margin: 0 0 0 50px;
  padding: 50px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.hero-box h1 {
  font-family: "Open Sans", sans-serif;
  font-size: 2.5rem;
  font-weight: 300;
  text-transform: uppercase;
  line-height: 3.2rem;
  letter-spacing: 1.5px;
  color: #333333;
}

.hero-box .hero-desc {
  font-family: "Open Sans", sans-serif;
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 2.5rem;
  color: #333333;
}

.hero-label {
  display: inline-block;
  background-color: #333333;
  padding: 8px 10px;
  font-family: "Open Sans", sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  letter-spacing: 4px;
  color: #FFFFFF;
}

.hero-section > .hero-box > .hero-label {
  position: absolute;
  right: 0;
  bottom: 33px;
}

/* ============================================
   HOMEPAGE - DIVISION PANELS
   ============================================ */
.divisions-section {
  display: flex;
  flex-direction: row;
  background-color: #0C6A73;
}

.division-panel {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.division-panel + .division-panel { border-left: 5px solid #FFFFFF; }

.division-photo {
  min-height: 320px;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  border-bottom: 5px solid #FFFFFF;
}

.division-photo-metal { background-image: url('../images/TTC-407-Station-02.jpg'); }
.division-photo-aluminum { background-image: url('../images/Meadows-Community.jpg'); }
.division-photo-coatings { background-image: url('../images/Arch-2.jpg'); }

.photo-label {
  display: inline-block;
  background-color: #333333;
  padding: 8px 10px;
  font-family: "Open Sans", sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  letter-spacing: 4px;
  color: #FFFFFF;
}

.division-content {
  background-color: #0C6A73;
  padding: 50px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
}

.division-content h2 {
  font-family: "Open Sans", sans-serif;
  font-size: 2.4rem;
  font-weight: 300;
  line-height: 3.2rem;
  color: #FFFFFF;
  text-align: center;
}

.division-content .div-desc {
  font-family: "Open Sans", sans-serif;
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 2rem;
  color: #FFFFFF;
  text-align: center;
  margin: 0;
}

.division-content .div-link {
  text-align: center;
  font-family: "Open Sans", sans-serif;
  font-size: 1.4rem;
  font-weight: 300;
  text-decoration: underline;
  line-height: 2rem;
  color: #FFFFFF;
  display: block;
}
.division-content .div-link:hover { text-decoration: none; }

/* ============================================
   HOMEPAGE - ADVANCING TECHNOLOGY SECTION
   ============================================ */
.advancing-section {
  background-color: #F8F5F2;
  padding: 120px 0;
  display: flex;
  flex-direction: column;
}

.advancing-inner {
  padding: 0 25px;
}

.section-heading-large {
  font-family: "Open Sans", sans-serif;
  font-size: 4rem;
  font-weight: 300;
  text-transform: uppercase;
  line-height: 5rem;
  letter-spacing: 10px;
  color: #333333;
}

.advancing-text-box {
  max-width: 960px;
  margin: 0 auto;
  background-color: #FFFFFF;
  padding: 50px;
  font-family: "Open Sans", sans-serif;
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 2.4rem;
  color: #333333;
}

/* ============================================
   HOMEPAGE - COMMUNITY SECTION
   ============================================ */
.community-section {
  padding: 100px 25px 50px 25px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.community-section .section-heading-large { text-align: center; }

.community-desc {
  max-width: 1255px;
  text-align: center;
  font-family: "Open Sans", sans-serif;
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 2.4rem;
  color: #333333;
  margin: 20px 0 60px;
}

.portfolio-grid {
  width: 100%;
  max-width: 1400px;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0;
  margin-bottom: 50px;
}

.portfolio-row {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 50px;
}

.portfolio-tile {
  width: 256px;
  min-height: 256px;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  display: flex;
  align-items: flex-end;
  box-shadow: 2px 2px 6px 1px rgba(0,0,0,0.53);
}

.portfolio-tile-label {
  display: inline-block;
  background-color: #0C6A73;
  padding: 5px 10px;
  font-family: "Open Sans", sans-serif;
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 2rem;
  color: #FFFFFF;
}

.btn-portfolio {
  display: inline-block;
  background-color: #0C6A73;
  color: #FFFFFF;
  font-family: "Open Sans", sans-serif;
  font-size: 2.4rem;
  font-weight: 300;
  letter-spacing: 1px;
  text-decoration: none;
  border: 3px solid #0C6A73;
  padding: 10px 25px;
  transition: background-color 0.2s, border-color 0.2s;
  margin-top: 10px;
}
.btn-portfolio:hover { background-color: #333333; border-color: #333333; text-decoration: none; }

/* ============================================
   HOMEPAGE - 3 DIVISIONS TEXT SECTION
   ============================================ */
.three-divisions-section {
  padding: 50px 0 100px 0;
  background-color: #FFFFFF;
}

.three-divisions-inner {
  padding: 0 25px;
}

.three-divisions-divider-one {
  margin: 20px 0 20px;
}

.three-divisions-divider-two {
  margin: 0 0 50px;
}

.three-divisions-grid {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 60px;
  padding: 30px 25px 0 25px;
}

.three-divisions-cols {
  display: flex;
  flex-direction: column;
  gap: 50px;
  flex: 0 0 calc(50% - 30px);
  padding-right: 40px;
}

.division-col {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.division-col-heading {
  display: inline-block;
  align-self: flex-start;
  background-color: #0C6A73;
  padding: 10px 20px;
  font-family: "Open Sans", sans-serif;
  font-size: 2.4rem;
  font-weight: 300;
  color: #FFFFFF;
  margin-bottom: 0;
}

.division-col p {
  font-family: "Open Sans", sans-serif;
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 2.2rem;
  color: #333333;
  margin: 20px 0;
}

.division-col-link {
  font-family: "Open Sans", sans-serif;
  font-size: 1.6rem;
  font-weight: 600;
  text-decoration: underline;
  line-height: 20px;
  color: #0C6A73;
}
.division-col-link:hover { text-decoration: none; }

.three-divisions-image {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  flex: 0 0 calc(50% - 30px);
}

.three-divisions-image img {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: cover;
}

.three-divisions-image .img-label {
  position: absolute;
  bottom: 0;
  right: 0;
  background-color: #333333;
  padding: 8px 10px;
  font-family: "Open Sans", sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  letter-spacing: 4px;
  color: #FFFFFF;
}

/* ============================================
   HOMEPAGE - CONTACT SECTION
   ============================================ */
.contact-section {
  background-color: #F8F5F2;
  padding: 150px 25px;
}

.contact-inner {
  max-width: 940px;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 40px;
  align-items: flex-start;
}

.contact-left { flex: 1; min-width: 250px; }

.contact-left h2 {
  font-family: "Open Sans", sans-serif;
  font-size: 4rem;
  font-weight: 300;
  text-transform: uppercase;
  line-height: 5rem;
  letter-spacing: 10px;
  color: #333333;
}

.contact-subtext {
  margin-top: 20px;
  font-family: "Open Sans", sans-serif;
  font-size: 2rem;
  font-weight: 300;
  line-height: 42px;
  color: #333333;
}

.contact-right { flex: 1; min-width: 280px; }

.contact-form-box {
  background-color: #0C6A73;
  padding: 20px;
}

.contact-form-box label {
  font-family: "Open Sans", sans-serif;
  font-size: 1.4rem;
  font-weight: 300;
  line-height: 20px;
  color: #FFFFFF;
  display: block;
  margin-bottom: 5px;
}

.contact-form-box input[type="text"],
.contact-form-box input[type="tel"],
.contact-form-box input[type="email"],
.contact-form-box textarea {
  width: 100%;
  background-color: #FFFFFF;
  border: 1px solid #0C6A73;
  border-radius: 0;
  font-family: "Open Sans", sans-serif;
  font-size: 1.2rem;
  font-weight: 400;
  color: #333333;
  padding: 8px 12px;
  outline: none;
}

.contact-form-box textarea { resize: vertical; rows: 4; }

.contact-form-box .form-group { margin-bottom: 20px; }

.contact-form-box button[type="submit"] {
  background-color: #FFFFFF;
  color: #0C6A73;
  border: 1px solid #333333;
  border-radius: 0;
  font-family: "Open Sans", sans-serif;
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.5rem;
  padding: 8px 25px;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
}
.contact-form-box button[type="submit"]:hover {
  background-color: #333333;
  color: #FFFFFF;
  border-color: #333333;
}

/* ============================================
   INNER PAGE HERO (Division/Gallery/Contact pages)
   ============================================ */
.page-hero {
  min-height: 400px;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  display: flex;
  align-items: flex-start;
  padding: 50px 0 0;
}

.page-hero-box {
  background-color: #FFFFFF;
  border: 1px solid #333333;
  padding: 40px 50px;
  margin: 0 0 0 50px;
  max-width: 560px;
}

.page-hero-box h1 {
  font-family: "Open Sans", sans-serif;
  font-size: 2.5rem;
  font-weight: 300;
  text-transform: uppercase;
  line-height: 3.2rem;
  letter-spacing: 1.5px;
  color: #333333;
}

.page-hero-box p {
  font-family: "Open Sans", sans-serif;
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 2.5rem;
  color: #333333;
  margin-top: 15px;
}

/* ============================================
   DIVISION PAGE STYLES
   ============================================ */
.division-page-section {
  padding: 80px 25px;
}

.division-intro {
  max-width: 1400px;
  margin: 0 auto;
}

.division-intro h2 {
  display: inline-block;
  background-color: #0C6A73;
  padding: 10px 20px;
  font-family: "Open Sans", sans-serif;
  font-size: 2.4rem;
  font-weight: 300;
  color: #FFFFFF;
  margin-bottom: 30px;
}

.division-intro p {
  font-family: "Open Sans", sans-serif;
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 2.4rem;
  color: #333333;
  max-width: 900px;
  margin-bottom: 20px;
}

/* Services grid on division pages */
.services-grid {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 60px;
}

.service-card {
  flex: 1;
  min-width: 280px;
  border-top: 5px solid #0C6A73;
  padding-top: 20px;
}

.service-card h3 {
  font-family: "Open Sans", sans-serif;
  font-size: 2rem;
  font-weight: 300;
  color: #333333;
  margin-bottom: 15px;
}

.service-card p {
  font-family: "Open Sans", sans-serif;
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 2.4rem;
  color: #333333;
}

/* Photo gallery strip */
.photos-strip {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 60px;
}

.photos-strip img {
  width: calc(33.333% - 4px);
  height: 280px;
  object-fit: cover;
}

/* Manufacturer logos */
.manufacturers-section {
  background-color: #F8F5F2;
  padding: 60px 25px;
  text-align: center;
}

.manufacturers-section h2 {
  font-family: "Open Sans", sans-serif;
  font-size: 2.4rem;
  font-weight: 300;
  color: #333333;
  text-transform: uppercase;
  letter-spacing: 5px;
  margin-bottom: 40px;
}

.logos-row {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 40px;
}

.logos-row img { max-height: 60px; width: auto; filter: grayscale(30%); }

/* ============================================
   GALLERY PAGE
   ============================================ */
.gallery-section {
  padding: 80px 25px;
}

.gallery-title-section {
  background: #ffffff;
  padding: 88px 25px 28px;
}

.gallery-title-inner,
.gallery-block-inner {
  max-width: 1215px;
  margin: 0 auto;
}

.gallery-title-section h1 {
  margin: 0;
  color: #333333;
  font-family: "Open Sans", sans-serif;
  font-size: 48px;
  font-weight: 300;
  line-height: 58px;
  letter-spacing: 0;
}

.gallery-block {
  background: #ffffff;
  padding: 38px 25px 58px;
}

.gallery-block h2 {
  margin: 0 0 8px;
  color: #333333;
  font-family: "Open Sans", sans-serif;
  font-size: 36px;
  font-weight: 300;
  line-height: 46px;
  letter-spacing: 0;
}

.gallery-block h3 {
  margin: 0 0 28px;
  color: #333333;
  font-family: "Open Sans", sans-serif;
  font-size: 24px;
  font-weight: 300;
  line-height: 34px;
  letter-spacing: 0;
}

.gallery-image-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.gallery-image-grid a {
  display: block;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: #eeeeee;
}

.gallery-image-grid img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.gallery-image-grid a:hover img {
  opacity: 0.82;
  transform: scale(1.02);
}

body.lightbox-open {
  overflow: hidden;
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.92);
  padding: 72px 82px 52px;
}

.gallery-lightbox.is-open {
  display: flex;
}

.gallery-lightbox-frame {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: min(1180px, 100%);
  max-height: 100%;
  margin: 0;
}

.gallery-lightbox-image {
  max-width: 100%;
  max-height: calc(100vh - 165px);
  width: auto;
  height: auto;
  display: block;
  object-fit: contain;
  box-shadow: 0 18px 70px rgba(0, 0, 0, 0.45);
}

.gallery-lightbox-caption {
  margin-top: 16px;
  color: #ffffff;
  font-family: "Open Sans", sans-serif;
  font-size: 16px;
  font-weight: 300;
  line-height: 24px;
  text-align: center;
}

.gallery-lightbox button {
  appearance: none;
  border: 0;
  color: #ffffff;
  background: rgba(12, 106, 115, 0.92);
  cursor: pointer;
  font-family: "Open Sans", sans-serif;
  transition: background 0.2s ease, transform 0.2s ease;
}

.gallery-lightbox button:hover,
.gallery-lightbox button:focus-visible {
  background: #0c6a73;
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}

.gallery-lightbox-close {
  position: absolute;
  top: 22px;
  right: 24px;
  width: 48px;
  height: 48px;
  font-size: 38px;
  line-height: 44px;
}

.gallery-lightbox-nav {
  position: absolute;
  top: 50%;
  width: 54px;
  height: 70px;
  margin-top: -35px;
  font-size: 58px;
  line-height: 62px;
}

.gallery-lightbox-prev {
  left: 24px;
}

.gallery-lightbox-next {
  right: 24px;
}

.gallery-section h1 {
  font-family: "Open Sans", sans-serif;
  font-size: 4rem;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 10px;
  color: #333333;
  margin-bottom: 10px;
}

.gallery-filters {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 10px;
  margin: 30px 0 40px;
}

.gallery-filter-btn {
  background: none;
  border: 2px solid #0C6A73;
  color: #0C6A73;
  font-family: "Open Sans", sans-serif;
  font-size: 1.2rem;
  font-weight: 300;
  letter-spacing: 1px;
  padding: 8px 20px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.gallery-filter-btn.active,
.gallery-filter-btn:hover {
  background-color: #0C6A73;
  color: #FFFFFF;
}

.gallery-grid {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 0;
}

.gallery-project {
  width: calc(50%);
  position: relative;
  overflow: hidden;
}

.gallery-project-inner {
  position: relative;
  overflow: hidden;
  border: 3px solid #FFFFFF;
}

.gallery-project img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s;
}
.gallery-project:hover img { transform: scale(1.03); }

.gallery-project-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(12,106,115,0.9));
  padding: 40px 20px 15px;
  color: #FFFFFF;
}

.gallery-project-caption h3 {
  font-family: "Open Sans", sans-serif;
  font-size: 1.8rem;
  font-weight: 400;
  color: #FFFFFF;
}

.gallery-project-caption p {
  font-family: "Open Sans", sans-serif;
  font-size: 1.2rem;
  font-weight: 300;
  color: rgba(255,255,255,0.85);
}

/* Photo lightbox strip for individual projects */
.project-photos {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 5px;
}

.project-photos img {
  width: calc(25% - 4px);
  height: 200px;
  object-fit: cover;
  cursor: pointer;
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-page-section {
  padding: 80px 25px;
  max-width: 1400px;
  margin: 0 auto;
}

.contact-page-grid {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 60px;
}

.contact-page-info { flex: 1; min-width: 280px; }
.contact-page-info h2 {
  font-family: "Open Sans", sans-serif;
  font-size: 4rem;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 10px;
  color: #333333;
  margin-bottom: 15px;
}

.contact-info-item {
  margin-bottom: 20px;
  font-family: "Open Sans", sans-serif;
  font-size: 1.6rem;
  font-weight: 300;
  color: #333333;
  line-height: 2.4rem;
}

.contact-info-item a { color: #0C6A73; }
.contact-info-item a:hover { text-decoration: underline; }

.contact-page-form { flex: 1; min-width: 280px; }
.contact-page-form h2 {
  font-family: "Open Sans", sans-serif;
  font-size: 2.4rem;
  font-weight: 300;
  color: #333333;
  margin-bottom: 20px;
}

.jobs-section {
  margin-top: 80px;
  background-color: #F8F5F2;
  padding: 60px 25px;
}

.jobs-section h2 {
  font-family: "Open Sans", sans-serif;
  font-size: 2.4rem;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 5px;
  color: #333333;
  margin-bottom: 15px;
}

.jobs-section p {
  font-family: "Open Sans", sans-serif;
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 2.4rem;
  color: #333333;
  max-width: 800px;
  margin-bottom: 20px;
}

.jobs-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.job-tag {
  background-color: #0C6A73;
  color: #FFFFFF;
  font-family: "Open Sans", sans-serif;
  font-size: 1.3rem;
  font-weight: 300;
  padding: 6px 16px;
  letter-spacing: 0.5px;
}

/* ============================================
   SIMPLE PAGE (Legal pages)
   ============================================ */
.simple-page {
  max-width: 900px;
  margin: 0 auto;
  padding: 80px 25px;
}

.simple-page h1 {
  font-family: "Open Sans", sans-serif;
  font-size: 3rem;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 5px;
  color: #333333;
  margin-bottom: 30px;
}

.simple-page h2 {
  font-family: "Open Sans", sans-serif;
  font-size: 2rem;
  font-weight: 300;
  color: #333333;
  margin: 30px 0 15px;
}

.simple-page p, .simple-page li {
  font-family: "Open Sans", sans-serif;
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 2.4rem;
  color: #333333;
  margin-bottom: 15px;
}

.simple-page ul { list-style: disc; padding-left: 30px; }
.simple-page a { color: #0C6A73; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .hero-section { padding-top: 32px; }
  .hero-box { width: 70%; padding: 30px; margin-left: 25px; gap: 15px; }
  .hero-box h1 { font-size: 2rem; }
  .division-content { padding: 25px; }
  .division-content h2 { font-size: 2rem; }
  .section-heading-large { font-size: 2.8rem; line-height: 3.5rem; }
  .advancing-text-box { margin: 0 25px; max-width: 100%; }
  .three-divisions-cols { gap: 30px; }
  .three-divisions-section { padding: 25px 0 50px; }
  .portfolio-tile { width: 210px; min-height: 210px; }
  .contact-section { padding: 70px 25px; }
  .contact-left h2 { font-size: 2.8rem; }
  .footer-info { width: 40%; }
  .footer-nav { width: 60%; }
}

@media (max-width: 767px) {
  html { font-size: 9.5px; }

  /* Header */
  .site-header { padding: 10px 15px; }
  .header-logo { width: 85%; }
  .main-nav { width: 15%; position: relative; }
  .main-nav > ul { display: none; }
  .main-nav.open > ul {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    right: 0;
    background-color: #0C6A73;
    min-width: 220px;
    z-index: 200;
    padding: 10px 0;
  }
  .main-nav.open > ul li { margin: 0; }
  .main-nav.open > ul li a { padding: 12px 20px; }
  .main-nav .sub-menu { position: static !important; display: none !important; }
  .main-nav.open .has-dropdown.open .sub-menu { display: flex !important; flex-direction: column; }
  .menu-toggle { display: block; }

  /* Hero */
  .hero-section {
    min-height: auto;
    align-items: stretch;
    justify-content: flex-start;
    padding: 24px 15px 96px;
  }
  .hero-box {
    width: auto;
    max-width: none;
    align-self: stretch;
    margin: 0;
    padding: 24px 18px;
    gap: 18px;
    overflow-wrap: anywhere;
  }
  .hero-box h1 {
    font-size: 1.95rem;
    line-height: 2.65rem;
    letter-spacing: 1px;
  }
  .hero-box .hero-desc {
    font-size: 1.45rem;
    line-height: 2.35rem;
  }
  .hero-section > .hero-box > .hero-label {
    right: 15px;
    bottom: 24px;
    max-width: calc(100% - 30px);
    font-size: 12px;
    letter-spacing: 3px;
  }

  /* Divisions */
  .divisions-section { flex-direction: column; }
  .division-panel + .division-panel { border-left: none; border-top: 5px solid #FFFFFF; }
  .division-photo { min-height: 250px; }
  .division-content { padding: 25px; }

  /* Sections */
  .advancing-section { padding: 70px 0; }
  .section-heading-large { font-size: 2rem; line-height: 2.5rem; letter-spacing: 4px; }
  .advancing-text-box { padding: 25px; margin: 0 0; }
  .community-section { padding: 70px 15px 35px; }
  .community-desc { margin: 10px 0 30px; }
  .portfolio-row { flex-wrap: wrap; justify-content: center; gap: 10px; }
  .portfolio-tile { width: 100%; max-width: 320px; }
  .btn-portfolio { font-size: 1.5rem; }

  /* 3 Divisions */
  .three-divisions-grid { flex-direction: column; gap: 30px; }
  .three-divisions-cols { flex-direction: column; gap: 30px; padding-right: 0; }
  .three-divisions-section { padding: 25px 0 50px; }

  /* Contact */
  .contact-section { padding: 50px 15px; }
  .contact-inner { flex-direction: column; }
  .contact-left h2 { font-size: 2rem; letter-spacing: 4px; }

  /* Footer */
  .footer-main { flex-direction: column; gap: 0; }
  .footer-info { width: 100%; }
  .footer-nav { width: 100%; flex-direction: column; margin-top: 50px; gap: 15px; align-items: flex-start; }

  /* Gallery */
  .gallery-project { width: 100%; }
  .gallery-title-section {
    padding: 60px 18px 20px;
  }
  .gallery-title-section h1,
  .gallery-block h2 {
    font-size: 2.6rem;
    line-height: 3.4rem;
  }
  .gallery-block {
    padding: 32px 18px 48px;
  }
  .gallery-block h3 {
    font-size: 1.8rem;
    line-height: 2.6rem;
  }
  .gallery-image-grid {
    grid-template-columns: 1fr;
  }
  .gallery-lightbox {
    padding: 70px 18px 38px;
  }
  .gallery-lightbox-image {
    max-height: calc(100vh - 160px);
  }
  .gallery-lightbox-close {
    top: 14px;
    right: 14px;
    width: 44px;
    height: 44px;
  }
  .gallery-lightbox-nav {
    top: auto;
    bottom: 18px;
    width: 48px;
    height: 48px;
    margin-top: 0;
    font-size: 44px;
    line-height: 44px;
  }
  .gallery-lightbox-prev {
    left: 18px;
  }
  .gallery-lightbox-next {
    right: 18px;
  }
  .gallery-lightbox-caption {
    margin: 12px 58px 0;
    font-size: 1.3rem;
    line-height: 2rem;
  }
  .page-hero {
    min-height: 280px;
    align-items: flex-start;
    padding: 24px 15px 80px;
  }
  .page-hero-box {
    width: 100%;
    margin: 0;
    padding: 24px 18px;
  }
  .page-hero-box h1 {
    font-size: 2.2rem;
    line-height: 3rem;
    letter-spacing: 1px;
  }
  .photos-strip img { width: calc(50% - 3px); }
  .project-photos img { width: calc(50% - 3px); height: 160px; }
}

@media (min-width: 768px) {
  .hero-box { width: 50%; }
  .portfolio-tile { width: 256px; }
}

/* Live parity static sections */
.division-intro {
  max-width: 1200px;
  margin: 0 auto;
  padding: 90px 25px 55px;
}
.division-intro h2,
.learn-section h2,
.partners-section h2,
.coatings-band h2 {
  font-family: "Open Sans", sans-serif;
  font-size: 4rem;
  font-weight: 300;
  line-height: 5rem;
  letter-spacing: 10px;
  text-transform: uppercase;
  color: #333333;
  margin-bottom: 25px;
}
.division-intro p {
  font-size: 1.4rem;
  line-height: 2.5rem;
  margin-bottom: 20px;
}
.services-grid {
  max-width: 1400px;
  margin: 0 auto;
  padding: 40px 25px 90px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 35px;
}
.service-card {
  border: 1px solid #e0e0e0;
  background: #fff;
}
.service-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}
.service-card h2,
.service-card h3 {
  font-size: 1.6rem;
  font-weight: 300;
  line-height: 2.3rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #0C6A73;
  padding: 25px 25px 0;
}
.service-card p {
  padding: 15px 25px 30px;
  font-size: 1.2rem;
  line-height: 2rem;
}
.services-grid.compact {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.image-text-row,
.system-section {
  max-width: 1400px;
  margin: 0 auto;
  padding: 65px 25px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.image-text-row img,
.system-section img {
  width: 100%;
  height: auto;
}
.system-section ul {
  list-style: none;
  margin-top: 25px;
}
.system-section li {
  padding: 8px 0;
  border-bottom: 1px solid #ddd;
}
.partners-section {
  background: #0C6A73;
  padding: 80px 25px;
  text-align: center;
}
.partners-section h2 {
  color: #fff;
}
.partner-logos {
  max-width: 1200px;
  margin: 40px auto 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 50px;
}
.partner-logos img {
  max-width: 180px;
  max-height: 90px;
  object-fit: contain;
}
.learn-section,
.coatings-band {
  padding: 90px 25px;
  text-align: center;
}
.contact-live {
  max-width: 1050px;
  margin: 0 auto;
  padding: 90px 25px;
  display: flex;
  flex-direction: column;
  gap: 56px;
}
.contact-panel {
  background-color: #FFFFFF;
  border-top: 6px solid #0C6A73;
  padding: 42px;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.08);
}
.contact-panel-alt {
  background-color: #F3F0ED;
}
.contact-panel-copy {
  max-width: 850px;
  margin-bottom: 30px;
}
.contact-live h2 {
  font-size: 2.5rem;
  font-weight: 300;
  line-height: 3.2rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 25px;
}
.contact-panel-copy p {
  font-size: 1.45rem;
  line-height: 2.4rem;
  color: #333333;
  margin-bottom: 18px;
}
.contact-panel-copy p:last-child {
  margin-bottom: 0;
}
.contact-job-copy {
  margin-top: 0;
}
.contact-panel .contact-form-box {
  max-width: 720px;
}
.contact-panel-alt .contact-form-box {
  background-color: #0C6A73;
}
.legal-page {
  max-width: 1000px;
  margin: 0 auto;
  padding: 90px 25px;
}
.legal-page h1 {
  font-size: 4rem;
  font-weight: 300;
  letter-spacing: 8px;
  text-transform: uppercase;
  line-height: 5rem;
  margin-bottom: 35px;
}
.legal-page h2 {
  font-size: 2rem;
  font-weight: 300;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin: 35px 0 15px;
}
.not-found-page {
  min-height: 520px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.not-found-kicker {
  color: #0C6A73;
  font-size: 2rem;
  letter-spacing: 8px;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.not-found-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}
.legal-page p,
.legal-page li {
  margin-bottom: 18px;
}
.legal-page ul {
  list-style: disc;
  padding-left: 25px;
}

/* Division pages: live-style hero and staged content */
.division-live-hero {
  padding: 80px 25px 50px;
}
.division-live-hero-bg {
  max-width: 1215px;
  height: 468px;
  margin: 0 auto;
  position: relative;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  padding: 50px 0 0 50px;
}
.aluminum-live-hero .division-live-hero-bg {
  background-image: url('../images/TTC-407-Station-4.jpg');
}
.division-live-title {
  position: absolute;
  left: 50px;
  top: 50px;
  bottom: auto;
  width: 700px;
  background: #FFFFFF;
  padding: 15px 20px 15px 30px;
}
.division-live-title h1 {
  font-size: 80px;
  font-weight: 300;
  line-height: 80px;
  letter-spacing: 0;
  text-transform: uppercase;
  color: #333333;
}
.division-live-label {
  position: absolute;
  right: 0;
  bottom: 0;
}
.aluminum-live-section {
  padding: 50px 25px;
}
.aluminum-live-section.first {
  padding-top: 50px;
}
.aluminum-intro-section {
  padding: 50px 25px;
}
.aluminum-intro-inner,
.aluminum-section-inner,
.aluminum-cta-inner {
  max-width: 1215px;
  margin: 0 auto;
}
.aluminum-intro-inner {
  font-size: 22.4px;
  line-height: 35.2px;
  color: #333333;
}
.aluminum-intro-inner p {
  margin: 0 0 20px;
}
.aluminum-section-heading {
  font-size: 48px;
  font-weight: 300;
  line-height: 58px;
  letter-spacing: 0;
  color: #333333;
  margin: 0 0 35px;
}
.aluminum-live-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}
.aluminum-live-media img {
  width: 100%;
  height: auto;
  display: block;
}
.aluminum-live-copy {
  font-size: 22.4px;
  line-height: 35.2px;
  color: #333333;
}
.aluminum-live-copy p {
  margin: 0 0 20px;
  max-width: 900px;
}
.aluminum-live-copy ul {
  list-style: disc;
  padding-left: 40px;
  margin: 10px 0 0 -15px;
}
.aluminum-live-copy li {
  margin-bottom: 12px;
}
.aluminum-live-caption {
  display: inline-block;
  margin: 18px 0 0;
  background: #333333;
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 5px;
  padding: 14px 16px;
}
.aluminum-cta-divider {
  height: 1px;
  background: #0b7779;
  margin: 50px 0;
}
.aluminum-cta-section {
  padding: 0 25px 80px;
}
.aluminum-cta-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
  margin-bottom: 45px;
}
.aluminum-cta-row h2 {
  margin: 0;
  font-size: 40px;
  font-weight: 300;
  line-height: 50px;
  color: #333333;
}
.aluminum-cta-row p {
  margin: 0;
  font-size: 22.4px;
  line-height: 35.2px;
  color: #333333;
}
.aluminum-cta-button {
  justify-self: start;
  display: inline-block;
  background: #0b7779;
  color: #ffffff;
  padding: 16px 28px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}

/* Architectural Coatings live-style page */
.coatings-live-hero {
  padding: 80px 25px 50px;
}
.coatings-live-hero-bg {
  max-width: 1215px;
  height: 468px;
  margin: 0 auto;
  position: relative;
  background: url('../images/Arch-2.jpg') center center / cover no-repeat;
}
.coatings-live-title {
  position: absolute;
  left: 50px;
  top: 50px;
  bottom: auto;
  width: 760px;
  background: #ffffff;
  padding: 15px 20px 15px 30px;
}
.coatings-live-title h1 {
  font-size: 80px;
  font-weight: 300;
  line-height: 80px;
  letter-spacing: 0;
  text-transform: none;
  color: #333333;
}
.coatings-live-label {
  position: absolute;
  right: 0;
  bottom: 0;
}
.coatings-live-divider {
  height: 1px;
  background: #0b7779;
  margin: 50px 0;
}
.coatings-intro-section,
.coatings-project-section,
.coatings-applications-section,
.coatings-cta-section {
  padding: 50px 25px;
}
.coatings-intro-inner,
.coatings-project-inner,
.coatings-applications-inner,
.coatings-cta-inner {
  max-width: 1215px;
  margin: 0 auto;
}
.coatings-intro-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}
.coatings-intro-heading h2,
.coatings-project-inner h2,
.coatings-applications-inner h2,
.coatings-cta-row h2 {
  margin: 0;
  font-size: 48px;
  font-weight: 300;
  line-height: 58px;
  letter-spacing: 0;
  color: #333333;
}
.coatings-intro-copy,
.coatings-application-copy,
.coatings-cta-row p {
  font-size: 22.4px;
  line-height: 35.2px;
  color: #333333;
}
.coatings-intro-copy p,
.coatings-application-copy p {
  margin: 0 0 20px;
}
.coatings-project-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 520px;
  margin-bottom: 40px;
}
.coatings-project-image {
  min-height: 520px;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}
.coatings-project-image-one {
  background-image: url('../images/Arch-1.jpeg');
}
.coatings-project-image-two {
  background-image: url('../images/Arch-3.jpg');
}
.coatings-project-location {
  margin: 12px 0 0;
  font-size: 30px;
  font-weight: 300;
  line-height: 40px;
  color: #333333;
}
.coatings-applications-section {
  background: #0b7779;
}
.coatings-applications-inner h2,
.coatings-application-copy,
.coatings-application-copy h3 {
  color: #ffffff;
}
.coatings-application-copy {
  max-width: 980px;
  margin-top: 35px;
}
.coatings-application-copy h3 {
  margin: 0 0 28px;
  font-size: 32px;
  font-weight: 300;
  line-height: 42px;
}
.coatings-application-copy strong {
  font-weight: 600;
}
.coatings-application-copy span {
  color: #ffffff;
}
.coatings-cta-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
  margin-bottom: 45px;
}
.coatings-cta-row p {
  margin: 0 0 24px;
}
.coatings-cta-button {
  display: inline-block;
  background: #0b7779;
  color: #ffffff;
  padding: 16px 28px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}

/* Metal Cladding live-style page */
#content.post-22 {
  background: #f3f0ed;
}
.metal-hero-top {
  padding: 0;
}
.metal-hero-top-bg {
  min-height: 430px;
  position: relative;
  background: url('../images/SFC-Delta-Bridge.jpg') center center / cover no-repeat;
}
.metal-hero-label {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 3;
}
.metal-intro-inner,
.metal-products-inner,
.metal-partners-inner,
.metal-technology-inner,
.metal-gallery-inner,
.metal-contact-inner {
  max-width: 1180px;
  margin: 0 auto;
}
.metal-intro-section {
  background: #f3f0ed;
  padding: 0 25px 78px;
}
.metal-intro-inner {
  max-width: 1040px;
  position: relative;
  z-index: 2;
  margin-top: -320px;
  background: #ffffff;
  padding: 30px 42px 38px;
}
.metal-intro-inner h1 {
  margin: 0 0 24px;
  color: #8a8a8a;
  font-size: 42px;
  font-weight: 300;
  line-height: 50px;
  letter-spacing: 5px;
  text-align: center;
  text-transform: uppercase;
}
.metal-intro-inner p,
.metal-products-grid p,
.metal-technology-intro p,
.metal-system-copy p,
.metal-contact-row p {
  font-size: 14px;
  line-height: 24px;
  color: #333333;
  margin: 0 0 16px;
}
.metal-project-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  min-height: 160px;
}
.metal-strip-item {
  position: relative;
  min-height: 160px;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}
.metal-strip-item .hero-label {
  position: absolute;
  left: 0;
  bottom: 0;
}
.metal-strip-block { background-image: url('../images/Block-31.jpg'); }
.metal-strip-delta { background-image: url('../images/SFC-Delta-Bridge-02.jpg'); }
.metal-strip-uoft { background-image: url('../images/Architectural-Building-1.jpg'); }
.metal-strip-ttc { background-image: url('../images/TTC-407-Station-02.jpg'); }
.metal-strip-king { background-image: url('../images/King-Condo.jpg'); }
.metal-products-section {
  background: #f3f0ed;
  padding: 78px 25px 88px;
}
.metal-products-inner {
  text-align: center;
}
.metal-products-inner h2 {
  display: inline-block;
  margin: 0 0 50px;
  background: #0b7779;
  color: #ffffff;
  padding: 9px 16px;
  font-size: 32px;
  font-weight: 300;
  line-height: 40px;
  letter-spacing: 0;
}
.metal-products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 52px;
  max-width: 760px;
  margin: 0 auto;
}
.metal-products-grid article {
  position: relative;
  background: #ffffff;
  padding: 34px 38px 30px;
  text-align: left;
}
.metal-products-grid h3 {
  position: absolute;
  left: 0;
  top: -30px;
  margin: 0;
  background: #0b7779;
  color: #ffffff;
  padding: 9px 14px;
  font-size: 16px;
  font-weight: 300;
  line-height: 22px;
  letter-spacing: 0;
}
.metal-partners-section {
  background: #0b7779;
  padding: 76px 25px 82px;
  text-align: center;
}
.metal-partners-inner h2 {
  max-width: 640px;
  margin: 0 auto;
  color: #ffffff;
  font-size: 38px;
  font-weight: 300;
  line-height: 48px;
  letter-spacing: 0;
}
.metal-partner-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 45px;
  align-items: center;
  justify-content: center;
  margin: 48px auto 0;
  max-width: 760px;
}
.metal-partner-logos img {
  max-width: 190px;
  max-height: 105px;
  object-fit: contain;
}
.metal-block-banner {
  min-height: 320px;
  position: relative;
  background: url('../images/Block-31-99.jpg') center center / cover no-repeat;
}
.metal-block-banner .hero-label {
  position: absolute;
  right: 0;
  bottom: 0;
}
.metal-technology-section {
  background: #f3f0ed;
  padding: 0 25px 60px;
}
.metal-technology-intro {
  max-width: 960px;
  position: relative;
  z-index: 2;
  margin: -52px 0 66px 80px;
}
.metal-technology-intro h2 {
  display: inline-block;
  margin: 0 0 34px;
  background: #0b7779;
  color: #ffffff;
  padding: 10px 14px;
  font-size: 34px;
  font-weight: 300;
  line-height: 42px;
  letter-spacing: 0;
}
.metal-technology-intro p {
  max-width: 870px;
}
.metal-system-row {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  gap: 82px;
  align-items: center;
}
.metal-system-copy section {
  padding: 0 0 30px;
}
.metal-system-copy h2 {
  margin: 0 0 14px;
  color: #777777;
  font-size: 30px;
  font-weight: 300;
  line-height: 38px;
  letter-spacing: 0;
}
.metal-system-image {
  background: #6f9998;
  padding: 34px;
}
.metal-system-image img {
  width: 100%;
  height: auto;
  display: block;
}
.metal-gallery-cta {
  background: #f3f0ed;
  padding: 18px 25px 56px;
}
.metal-gallery-inner,
.metal-contact-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}
.metal-gallery-inner {
  max-width: 980px;
  align-items: center;
}
.metal-gallery-inner h2,
.metal-contact-row h2 {
  margin: 0;
  color: #777777;
  font-size: 24px;
  font-weight: 300;
  line-height: 32px;
  letter-spacing: 0;
  text-transform: uppercase;
}
.metal-cta-button {
  display: inline-block;
  background: #0b7779;
  color: #ffffff;
  padding: 11px 18px;
  font-size: 15px;
  font-weight: 400;
  text-decoration: none;
}
.metal-cta-divider {
  height: 1px;
  background: #dddddd;
  margin: 0;
}
.metal-contact-cta {
  background: #f3f0ed;
  padding: 58px 25px 80px;
}
.metal-contact-inner {
  max-width: 960px;
}
.metal-contact-row p:last-child {
  margin-bottom: 0;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 767px) {
  .services-grid,
  .services-grid.compact,
  .image-text-row,
  .system-section {
    grid-template-columns: 1fr;
  }
  .contact-live {
    padding: 55px 18px;
    gap: 34px;
  }
  .contact-panel {
    padding: 28px 20px;
  }
  .contact-panel .contact-form-box {
    max-width: none;
  }
  .division-intro h2,
  .learn-section h2,
  .partners-section h2,
  .coatings-band h2,
  .legal-page h1 {
    font-size: 2.4rem;
    line-height: 3.2rem;
    letter-spacing: 4px;
  }
  .division-live-hero {
    padding: 0;
  }
  .division-live-hero-bg {
    height: 70vh;
    padding: 30px 10px;
  }
  .division-live-title {
    left: 10px;
    right: 10px;
    top: 30px;
    bottom: auto;
    width: auto;
    padding: 10px 12px;
  }
  .division-live-title h1 {
    font-size: 2.2rem;
    line-height: 3rem;
    letter-spacing: 3px;
  }
  .aluminum-live-section,
  .aluminum-live-section.first {
    padding: 65px 25px;
  }
  .aluminum-intro-section,
  .aluminum-cta-section {
    padding: 65px 25px;
  }
  .aluminum-section-heading,
  .aluminum-cta-row h2 {
    font-size: 2.2rem;
    line-height: 3rem;
  }
  .aluminum-live-row {
    grid-template-columns: 1fr;
  }
  .aluminum-live-copy,
  .aluminum-intro-inner,
  .aluminum-cta-row p {
    font-size: 1.2rem;
    line-height: 2rem;
  }
  .aluminum-cta-row {
    grid-template-columns: 1fr;
  }
  .coatings-live-hero {
    padding: 0;
  }
  .coatings-live-hero-bg {
    height: 70vh;
  }
  .coatings-live-title {
    left: 10px;
    right: 10px;
    top: 30px;
    bottom: auto;
    width: auto;
    padding: 10px 12px;
  }
  .coatings-live-title h1 {
    font-size: 2.2rem;
    line-height: 3rem;
  }
  .coatings-intro-inner,
  .coatings-project-images,
  .coatings-cta-row {
    grid-template-columns: 1fr;
  }
  .coatings-intro-heading h2,
  .coatings-project-inner h2,
  .coatings-applications-inner h2,
  .coatings-cta-row h2 {
    font-size: 2.2rem;
    line-height: 3rem;
  }
  .coatings-intro-copy,
  .coatings-application-copy,
  .coatings-cta-row p {
    font-size: 1.2rem;
    line-height: 2rem;
  }
  .coatings-project-images,
  .coatings-project-image {
    min-height: 320px;
  }
  .metal-hero-top-bg {
    min-height: 52vh;
  }
  .metal-hero-label,
  .metal-block-banner .hero-label {
    left: 0;
    right: auto;
    bottom: 0;
  }
  .metal-intro-section,
  .metal-products-section,
  .metal-contact-cta {
    padding-left: 18px;
    padding-right: 18px;
  }
  .metal-intro-inner {
    margin-top: -32vh;
    padding: 22px 20px 26px;
  }
  .metal-intro-inner h1,
  .metal-products-inner h2,
  .metal-partners-inner h2,
  .metal-technology-intro h2,
  .metal-system-copy h2,
  .metal-gallery-inner h2,
  .metal-contact-row h2 {
    font-size: 2.2rem;
    line-height: 3rem;
  }
  .metal-intro-inner p,
  .metal-products-grid p,
  .metal-technology-intro p,
  .metal-system-copy p,
  .metal-contact-row p {
    font-size: 1.3rem;
    line-height: 2.1rem;
  }
  .metal-project-strip,
  .metal-system-row,
  .metal-gallery-inner,
  .metal-contact-row {
    grid-template-columns: 1fr;
  }
  .metal-project-strip {
    min-height: 0;
  }
  .metal-strip-item {
    min-height: 210px;
  }
  .metal-products-grid {
    gap: 46px;
  }
  .metal-products-grid article {
    padding: 32px 22px 24px;
  }
  .metal-products-grid h3 {
    font-size: 1.4rem;
    line-height: 2rem;
  }
  .metal-partner-logos {
    gap: 28px;
  }
  .metal-partner-logos img {
    max-width: 145px;
    max-height: 85px;
  }
  .metal-block-banner {
    min-height: 260px;
  }
  .metal-technology-section {
    padding-left: 18px;
    padding-right: 18px;
  }
  .metal-technology-intro {
    margin: -42px 0 44px;
  }
  .metal-system-row {
    gap: 30px;
  }
  .metal-system-image {
    padding: 22px;
  }
}
