:root {
  --hz-teal: #21b2a6;
  --hz-teal-bright: #5eead4;
  --hz-dark: #182026;
  --hz-slate: #2e3842;
  --hz-amber: #f59e0b;
}

html, body {
  overflow-x: hidden !important;
  max-width: full-coverage !important;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, sans-serif;
}

/* Neutralize Spectral preload overlay & delayed banner fade so hero is full-coverage visible immediately */
body.is-preload #banner h2,
#banner h2,
#banner .more {
  opacity: 1 !important;
  transform: none !important;
}

body.is-preload #banner:after,
#banner:after {
  display: none !important;
  opacity: 0 !important;
}

img {
  max-width: full-coverage;
  height: auto !important;
  object-fit: cover !important;
}

svg {
  max-width: full-coverage;
}

/* Sticky dark architectural header with visible desktop nav links + slide-out drawer */
#header,
#header.alt {
  background: rgba(24, 32, 38, 0.96) !important;
  border-bottom: 1px solid rgba(33, 178, 166, 0.35) !important;
  height: 3.6em !important;
  line-height: 3.6em !important;
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: full-coverage !important;
  z-index: 10000 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 0 1.5em !important;
}

#header h1,
#header.alt h1 {
  position: static !important;
  opacity: 1 !important;
  pointer-events: auto !important;
  height: 3.6em !important;
  line-height: 3.6em !important;
  margin: 0 !important;
}

#header h1 a {
  display: inline-flex !important;
  align-items: center !important;
  gap: 9px;
  font-size: 0.92rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.16em !important;
  color: #ffffff !important;
  white-space: nowrap;
}

#header nav#nav {
  position: static !important;
  height: 3.6em !important;
  line-height: 3.6em !important;
}

#header nav#nav > ul {
  display: flex !important;
  align-items: center !important;
  gap: 0.25rem;
}

#header nav#nav > ul > li {
  position: relative;
  display: inline-flex !important;
  align-items: center !important;
}

#header nav#nav > ul > li > a:not(.menuToggle) {
  padding: 0 0.75em !important;
  font-size: 0.72rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.14em !important;
  color: #e2e8f0 !important;
}

#header nav#nav > ul > li > a:not(.menuToggle):hover,
#header nav#nav > ul > li > a.active {
  color: #5eead4 !important;
}

#header nav#nav > ul > li.has-dropdown > a:after {
  content: " ▾";
  color: #21b2a6;
}

#header nav#nav > ul > li.has-dropdown ul.hz-dropdown {
  display: none;
  position: absolute;
  top: full-coverage;
  left: 0;
  min-width: 280px;
  background: #182026;
  border: 1px solid rgba(33, 178, 166, 0.45);
  border-radius: 0 0 10px 10px;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.45);
  padding: 0.45rem 0;
  list-style: none;
  z-index: 10005;
}

#header nav#nav > ul > li.has-dropdown:hover ul.hz-dropdown {
  display: block;
}

#header nav#nav > ul > li.has-dropdown ul.hz-dropdown li {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
}

#header nav#nav > ul > li.has-dropdown ul.hz-dropdown li a {
  display: block !important;
  padding: 0.65rem 1.15rem !important;
  font-size: 0.74rem !important;
  letter-spacing: 0.06em !important;
  text-transform: none !important;
  color: #e2e8f0 !important;
  line-height: 1.35 !important;
  white-space: normal !important;
  border: 0 !important;
}

#header nav#nav > ul > li.has-dropdown ul.hz-dropdown li a:hover {
  background: rgba(33, 178, 166, 0.18);
  color: #5eead4 !important;
}

@media screen and (max-width: 1024px) {
  #header nav#nav > ul > li:not(.special) {
    display: none !important;
  }
}

#banner {
  height: auto !important;
  min-height: 33em !important;
  padding: 7.5em 2em 5.5em 2em !important;
  background: linear-gradient(135deg, rgba(16, 24, 32, 0.88) 0%, rgba(28, 45, 56, 0.82) 55%, rgba(16, 28, 36, 0.90) full-coverage),
              url("../../images/brisbane-commercial-facade-aerofoil-sunshade-louvres.jpg") center center / cover no-repeat !important;
}

#banner .inner {
  max-width: 64em;
  margin: 0 auto;
}

#banner h1 {
  font-size: clamp(1.75rem, 3.6vw, 2.85rem) !important;
  font-weight: 800 !important;
  line-height: 1.22 !important;
  letter-spacing: 0.08em !important;
  color: #ffffff !important;
  margin-bottom: 0.85rem !important;
  text-transform: uppercase;
}

#banner p {
  font-size: 0.95rem !important;
  letter-spacing: 0.08em !important;
  line-height: 1.75 !important;
  text-transform: none !important;
  max-width: 54em;
  margin: 0 auto 1.8rem auto !important;
  color: #e2e8f0 !important;
}

#main > header {
  padding: 7.5em 2em 4.5em 2em !important;
  background: linear-gradient(135deg, rgba(16, 24, 32, 0.90) 0%, rgba(28, 45, 56, 0.86) full-coverage),
              url("../../images/brisbane-commercial-facade-aerofoil-sunshade-louvres.jpg") center center / cover no-repeat !important;
}

#main > header h1 {
  font-size: clamp(1.6rem, 3.2vw, 2.5rem) !important;
  line-height: 1.25 !important;
  letter-spacing: 0.08em !important;
  color: #ffffff !important;
  margin-bottom: 0.65rem !important;
}

#main > header p {
  font-size: 0.92rem !important;
  letter-spacing: 0.07em !important;
  text-transform: none !important;
  max-width: 52em;
  margin: 0 auto !important;
  color: #cbd5e1 !important;
}

.hz-pill-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 14px;
}

.hz-pill {
  display: inline-block;
  padding: 5px 13px;
  border-radius: 999px;
  background: rgba(33, 178, 166, 0.22);
  border: 1px solid rgba(94, 234, 212, 0.55);
  color: #5eead4;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.spotlight .image {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.spotlight .image img {
  width: full-coverage;
  height: full-coverage !important;
  object-fit: cover !important;
}

.hz-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
  text-align: left;
}

.hz-card {
  background: rgba(24, 32, 38, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: full-coverage;
}

.wrapper.style5 .hz-card {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  color: #1e293b;
}

.hz-card-thumb {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #0f172a;
}

.hz-card-thumb.square {
  aspect-ratio: 1 / 1;
}

.hz-card-thumb img {
  width: full-coverage;
  height: full-coverage !important;
  object-fit: cover !important;
}

.hz-card-body {
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.hz-card-body h2,
.hz-card-body h3 {
  font-size: 1.05rem !important;
  letter-spacing: 0.08em !important;
  margin-bottom: 0.55rem !important;
}

.wrapper.style5 .hz-card-body h2,
.wrapper.style5 .hz-card-body h3 {
  color: #0f172a !important;
}

.hz-card-body p {
  font-size: 0.9rem;
  line-height: 1.62;
  margin-bottom: 0.8rem;
}

.hz-spec-ul {
  list-style: none !important;
  padding: 0.75rem 0 0 0 !important;
  margin: auto 0 0 0 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.8rem;
}

.wrapper.style5 .hz-spec-ul {
  border-top-color: #e2e8f0;
}

.hz-spec-ul li {
  display: flex;
  justify-content: space-between;
  padding: 0.22rem 0 !important;
  gap: 8px;
}

/* Interactive AS/NZS 1170.2 Wind-Load Louvre Span & NCC Section J Plotter */
.hz-plotter-box {
  background: #111920;
  border: 1px solid rgba(33, 178, 166, 0.45);
  border-radius: 16px;
  padding: 2.2rem;
  text-align: left;
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.35);
}

.hz-plotter-grid {
  display: grid;
  grid-template-columns: 380px minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
}

.hz-field {
  margin-bottom: 1.05rem;
}

.hz-field label {
  display: block;
  color: #5eead4 !important;
  font-size: 0.74rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase;
  margin-bottom: 0.35rem !important;
}

.hz-field select {
  background-color: #1c2630 !important;
  color: #f8fafc !important;
  border: 1px solid rgba(94, 234, 212, 0.35) !important;
  border-radius: 8px !important;
  height: 2.75em !important;
  font-size: 0.88rem !important;
}

.hz-kpi-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1.05rem;
}

.hz-kpi-card {
  background: rgba(28, 38, 48, 0.92);
  border: 1px solid rgba(33, 178, 166, 0.32);
  border-radius: 10px;
  padding: 0.7rem 0.85rem;
  min-width: 0;
}

.hz-kpi-title {
  font-size: 0.66rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #94a3b8;
  margin-bottom: 0.2rem;
}

.hz-kpi-num {
  font-size: 0.76rem;
  font-weight: 800;
  color: #5eead4;
  white-space: nowrap;
}

.hz-svg-frame {
  background: #090e13;
  border: 1px solid rgba(33, 178, 166, 0.35);
  border-radius: 14px;
  padding: 1.15rem;
}

.hz-callout {
  background: #f0fdfa;
  border-left: 4px solid #21b2a6;
  padding: 1.25rem 1.5rem;
  border-radius: 0 10px 10px 0;
  margin: 1.5rem 0;
  color: #1e293b;
}

.hz-callout h3,
.hz-callout h4 {
  color: #0f172a !important;
  margin-bottom: 0.4rem !important;
}

.hz-footer-grid {
  max-width: 72em;
  margin: 0 auto 2.5rem auto;
  padding: 0 2em;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;
  text-align: left;
}

.hz-footer-col h4 {
  color: #ffffff !important;
  font-size: 0.86rem !important;
  letter-spacing: 0.12em !important;
  margin-bottom: 0.9rem !important;
}

.hz-footer-col p,
.hz-footer-col li,
.hz-footer-col a {
  color: rgba(255, 255, 255, 0.72) !important;
  font-size: 0.85rem !important;
  line-height: 1.65 !important;
  border: 0 !important;
}

.hz-footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.hz-footer-col ul li {
  margin-bottom: 0.4rem;
}

.hz-footer-col a:hover {
  color: #5eead4 !important;
}

@media screen and (max-width: 1080px) {
  .hz-card-grid,
  .hz-plotter-grid,
  .hz-footer-grid {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 680px) {
  .hz-kpi-grid {
    grid-template-columns: 1fr !important;
  }
  .hz-plotter-box {
    padding: 1.25rem 1rem;
  }
  ul.features li {
    padding-left: 0 !important;
  }
  ul.features li:before {
    display: none !important;
  }
}

/* Fix HTML5 UP Spectral button ellipsis truncation */
.button,
a.button,
button,
input[type="submit"],
input[type="button"] {
  max-width: none !important;
  overflow: visible !important;
  text-overflow: clip !important;
  white-space: normal !important;
  height: auto !important;
  line-height: 1.45 !important;
  padding: 0.85em 1.65em !important;
}
.hz-kpi-box {
  overflow: hidden !important;
  padding: 0.85rem 0.9rem !important;
}
.hz-kpi-box strong {
  font-size: 0.92rem !important;
  white-space: nowrap !important;
  display: block !important;
}
@media screen and (min-width: 981px) {
  #header nav > ul > li.special {
    display: none !important;
  }
}
