@font-face {
  font-family: "Open Sans";
  src: url("/assets/fonts/OpenSans-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Open Sans";
  src: url("/assets/fonts/OpenSans-Semibold.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Open Sans";
  src: url("/assets/fonts/OpenSans-Bold.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  --brand: #0e1daa;
  --brand-deep: #0e1d46;
  --brand-soft: #e2e4f5;
  --ink: #333333;
  --muted: #686d76;
  --line: #d8dbe0;
  --surface: #f1f2f1;
  --white: #fcfcfd;
  --content: 1022px;
  --header-height: 91px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  color: var(--brand-deep);
  background: var(--white);
  font-family: Verdana, Geneva, sans-serif;
  font-size: 15px;
  line-height: 1.7;
}

body.menu-open { overflow: hidden; }

img { max-width: 100%; height: auto; }
a { color: var(--brand); }
a:hover { text-decoration-thickness: 2px; }
button, input, select { font: inherit; }

:focus-visible {
  outline: 3px solid #5f70ff;
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 100;
  padding: .7rem 1rem;
  color: var(--white);
  background: var(--brand-deep);
  transform: translateY(-180%);
}

.skip-link:focus { transform: translateY(0); }
.site-width { width: min(var(--content), calc(100% - 40px)); margin-inline: auto; }

.site-header {
  min-height: var(--header-height);
  color: var(--white);
  background: var(--brand-deep) url("/assets/images/background-pattern.png") repeat-y center top;
}

.header-inner {
  min-height: var(--header-height);
  display: grid;
  grid-template-columns: 304px 1fr;
  align-items: center;
  gap: 28px;
}

.brand-logo {
  display: block;
  width: 304px;
  height: 59px;
  background: url("/assets/images/logo-mizu-foam.png") no-repeat left center / contain;
  text-indent: -9999px;
  overflow: hidden;
}

.header-actions { display: flex; flex-direction: column; align-items: flex-end; }
.social-links { height: 36px; display: flex; align-items: center; background: var(--white); }

.social-links a {
  display: block;
  width: 23px;
  height: 23px;
  margin-inline: 6px;
  background-repeat: no-repeat;
  text-indent: -9999px;
  overflow: hidden;
}

.facebook { background-image: url("/assets/images/facebook-button.png"); }
.youtube { background-image: url("/assets/images/youtube-button.png"); }
.social-links a:hover { background-position-y: -23px; }

.primary-nav ul {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 30px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.primary-nav a {
  display: block;
  padding: 15px 0 8px;
  border-bottom: 1px solid transparent;
  color: var(--white);
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}

.primary-nav a:hover,
.primary-nav a[aria-current="page"] { color: #aeb6ff; border-color: #aeb6ff; }

.menu-toggle {
  display: none;
  width: 46px;
  height: 42px;
  border: 1px solid rgba(255,255,255,.5);
  color: var(--white);
  background: transparent;
  cursor: pointer;
}

.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  content: "";
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 390px;
  overflow: hidden;
  color: var(--white);
  background: var(--brand) url("/assets/images/background.jpg") center / cover no-repeat;
}

.hero-slides { position: relative; min-height: 390px; }
.hero-slide { position: absolute; inset: 0; opacity: 0; pointer-events: none; transition: opacity .55s ease; }
.hero-slide.is-active { opacity: 1; pointer-events: auto; }

.hero-grid {
  min-height: 390px;
  display: grid;
  grid-template-columns: minmax(260px, 44%) 1fr;
  align-items: center;
  gap: 34px;
  padding-block: 26px;
}

.hero-art { display: flex; align-items: end; justify-content: center; height: 338px; }
.hero-art img { max-height: 100%; width: auto; object-fit: contain; }
.hero-copy { font-family: "Open Sans", Arial, sans-serif; }

.hero h1,
.hero h2 {
  max-width: 550px;
  margin: 0 0 12px;
  color: var(--white);
  font-size: clamp(35px, 5vw, 54px);
  line-height: 1.08;
  letter-spacing: -.025em;
}

.hero h1 strong,
.hero h2 strong { color: #aeb6ff; font-style: italic; }
.hero p { max-width: 520px; margin: 0 0 22px; font-size: 20px; line-height: 1.45; }

.button {
  display: inline-flex;
  min-height: 45px;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border: 2px solid var(--brand);
  border-radius: 0;
  color: var(--white);
  background: var(--brand);
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .05em;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .16s ease, background-color .16s ease, color .16s ease;
}

.button:hover { color: var(--brand); background: var(--white); text-decoration: none; }
.button:active { transform: translateY(1px); }
.hero .button { border-color: var(--white); }

.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 16px;
  z-index: 2;
  display: flex;
  gap: 8px;
  transform: translateX(-50%);
}

.hero-dot {
  width: 34px;
  height: 5px;
  padding: 0;
  border: 0;
  background: rgba(255,255,255,.38);
  cursor: pointer;
}

.hero-dot.is-active { background: var(--white); }

.benefits-band {
  color: var(--white);
  background: var(--brand-deep) url("/assets/images/background-pattern.png") repeat-y center top;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin: 0;
  padding: 56px 0 52px;
  list-style: none;
}

.benefit {
  min-height: 168px;
  padding: 82px 10px 0;
  background-repeat: no-repeat;
  background-position: top center;
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 20px;
  line-height: 1.35;
  text-align: center;
}

.benefit:nth-child(1) { background-image: url("/assets/images/icon-environment.png"); }
.benefit:nth-child(2) { background-image: url("/assets/images/icon-temperature.png"); }
.benefit:nth-child(3) { background-image: url("/assets/images/icon-tradie.png"); }
.benefit:nth-child(4) { background-image: url("/assets/images/icon-stockie.png"); }

.home-content { background: var(--surface); }
.home-split { display: grid; grid-template-columns: 1.35fr .65fr; gap: 58px; padding: 68px 0; }
.home-split h2, .content-shell h1, .content-shell h2, .content-shell h3 { font-family: "Open Sans", Arial, sans-serif; color: var(--brand); }
.home-split h2 { margin: 0 0 15px; font-size: 32px; line-height: 1.2; }
.home-split p { margin: 0 0 18px; }
.home-product { text-align: center; }
.home-product img { max-height: 310px; }

.testimonial {
  margin: 0;
  padding: 32px;
  color: var(--brand-deep);
  background: var(--white);
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 19px;
  line-height: 1.65;
}

.testimonial p { margin: 0 0 16px; }
.testimonial cite { color: var(--muted); font-size: 13px; font-style: normal; font-weight: 700; }

.action-band { background: var(--brand-soft); }
.action-grid { display: grid; grid-template-columns: repeat(3, 1fr); }

.action-link {
  display: grid;
  min-height: 122px;
  grid-template-columns: 82px 1fr;
  align-items: center;
  padding: 18px 24px;
  color: var(--brand);
  background-repeat: no-repeat;
  background-position: 20px center;
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.25;
  text-decoration: none;
}

.action-link span { grid-column: 2; }
.action-link small { display: block; color: #6e77cc; font-size: 12px; font-weight: 700; text-transform: uppercase; }
.action-link:hover { background-color: rgba(255,255,255,.45); text-decoration: none; }
.action-link.facebook-action { background-image: url("/assets/images/icon-btm-facebook.png"); }
.action-link.play-action { background-image: url("/assets/images/icon-btm-play.png"); }
.action-link.contact-action { background-image: url("/assets/images/icon-btm-contact.png"); }

.page-banner {
  min-height: 235px;
  color: var(--white);
  background: var(--brand) url("/assets/images/background.jpg") center / cover no-repeat;
}

.page-banner .site-width { min-height: 235px; display: flex; flex-direction: column; justify-content: center; }
.page-banner h1 { margin: 0 0 10px; color: var(--white); font: 700 clamp(34px, 5vw, 48px)/1.1 "Open Sans", Arial, sans-serif; }
.page-banner p { max-width: 700px; margin: 0; font: 300 21px/1.5 "Open Sans", Arial, sans-serif; }

.content-area { background: var(--surface); }
.content-shell { padding: 55px 0 70px; }
.content-shell.article { max-width: 820px; }
.content-shell h1 { margin: 0 0 24px; font-size: 30px; }
.content-shell h2 { margin: 35px 0 10px; font-size: 27px; line-height: 1.25; }
.content-shell h3 { margin: 28px 0 8px; font-size: 22px; }
.content-shell p { margin: 0 0 18px; }
.content-shell li { margin-bottom: 8px; }
.content-shell table { width: 100%; margin: 25px 0; border-collapse: collapse; }
.content-shell th, .content-shell td { padding: 12px; border-bottom: 1px solid var(--line); text-align: left; }
.content-shell img[style*="float: right"] { margin: 0 0 24px 32px !important; }
.content-shell a.homeinsetbutton {
  display: inline-flex;
  min-height: 45px;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border: 2px solid var(--brand);
  color: var(--white);
  background: var(--brand);
  font: 700 13px/1.35 "Open Sans", Arial, sans-serif;
  letter-spacing: .05em;
  text-decoration: none;
  text-transform: uppercase;
}
.content-shell a.homeinsetbutton:hover { color: var(--brand); background: var(--white); }
.content-shell a.homeinsetbutton span { display: contents; }
.content-shell a.homeinsetbutton br { display: none; }
.content-shell [style] { max-width: 100%; }

.contact-details {
  max-width: 620px;
  padding: 8px 0 8px 84px;
  background: url("/assets/images/icon-contact-details.png") no-repeat left center;
}

.contact-details h2 { margin-top: 0; }
.contact-list { margin: 28px 0; padding: 0; list-style: none; }
.contact-list li { display: grid; grid-template-columns: 85px 1fr; margin: 0; padding: 10px 0; }
.contact-list span { color: var(--muted); font-family: "Open Sans", Arial, sans-serif; font-size: 17px; }
.contact-list strong { font-family: "Open Sans", Arial, sans-serif; font-size: 21px; }

.stockist-tools {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 230px;
  gap: 14px;
  margin: 25px 0 30px;
}

.field label { display: block; margin-bottom: 6px; color: var(--brand-deep); font-weight: 700; }
.field input, .field select {
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  border: 2px solid #aeb3ba;
  border-radius: 0;
  color: var(--brand-deep);
  background: var(--white);
}

.field input::placeholder { color: #676c74; }
.field input:focus, .field select:focus { border-color: var(--brand); outline: 3px solid rgba(14,29,170,.2); }
.results-summary { margin: 0 0 18px; font-family: "Open Sans", Arial, sans-serif; color: var(--muted); }

.stockist-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.stockist-card { padding: 24px; border-left: 4px solid var(--brand); background: var(--white); }
.stockist-card h2 { margin: 0 0 8px; font-size: 19px; }
.stockist-card p { margin: 0 0 8px; line-height: 1.55; }
.stockist-card a { font-weight: 700; }
.empty-state { display: none; padding: 34px; background: var(--white); text-align: center; }
.empty-state.is-visible { display: block; }

.site-footer { color: var(--white); background: #333333; }
.footer-top { display: grid; grid-template-columns: .7fr 1.1fr 1.2fr; align-items: center; gap: 28px; padding: 28px 0; }
.footer-top p { margin: 0; font: 700 14px/1.5 "Open Sans", Arial, sans-serif; }
.affiliates { text-align: right; }
.affiliates img { max-width: 290px; }
.footer-bottom { color: var(--white); background: var(--brand); }
.footer-bottom-inner { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 30px; padding: 18px 0; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 18px; margin: 0; padding: 0; list-style: none; }
.footer-nav a { color: var(--white); font: 600 10px/1.4 "Open Sans", Arial, sans-serif; text-transform: uppercase; }
.copyright { margin: 0; font: 400 11px/1.4 "Open Sans", Arial, sans-serif; text-align: right; }

.not-found { min-height: 55dvh; display: grid; place-items: center; text-align: center; }
.not-found h1 { font-size: clamp(54px, 12vw, 110px); margin: 0; }

@media (max-width: 900px) {
  .site-width { width: min(100% - 32px, 720px); }
  .header-inner { grid-template-columns: 1fr auto; }
  .brand-logo { width: 260px; height: 52px; }
  .header-actions { flex-direction: row; align-items: center; }
  .social-links { display: none; }
  .menu-toggle { display: block; }
  .primary-nav {
    position: fixed;
    inset: var(--header-height) 0 auto;
    z-index: 20;
    display: none;
    padding: 22px 16px 28px;
    background: var(--brand-deep);
    border-top: 1px solid rgba(255,255,255,.2);
  }
  .primary-nav.is-open { display: block; }
  .primary-nav ul { display: grid; gap: 4px; }
  .primary-nav a { padding: 13px 10px; font-size: 14px; }
  .hero-grid { grid-template-columns: .8fr 1.2fr; }
  .benefit-grid { grid-template-columns: repeat(2, 1fr); }
  .home-split { grid-template-columns: 1fr; }
  .home-product { order: -1; }
  .action-grid { grid-template-columns: 1fr; }
  .action-link { min-height: 105px; border-bottom: 1px solid rgba(14,29,170,.12); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .affiliates { grid-column: 1 / -1; text-align: left; }
}

@media (max-width: 680px) {
  :root { --header-height: 78px; }
  .site-width { width: calc(100% - 28px); }
  .site-header, .header-inner { min-height: var(--header-height); }
  .brand-logo { width: 220px; height: 45px; }
  .hero, .hero-slides, .hero-grid { min-height: 560px; }
  .hero-grid { grid-template-columns: 1fr; align-content: center; gap: 8px; padding: 22px 0 48px; }
  .hero-art { height: 265px; order: 2; }
  .hero-copy { order: 1; text-align: center; }
  .hero h1, .hero h2 { margin-inline: auto; font-size: 37px; }
  .hero p { margin-inline: auto; font-size: 17px; }
  .benefit-grid { grid-template-columns: 1fr; gap: 28px; }
  .benefit { min-height: 135px; }
  .home-split { padding: 48px 0; gap: 35px; }
  .testimonial { padding: 24px; font-size: 17px; }
  .page-banner, .page-banner .site-width { min-height: 205px; }
  .content-shell { padding: 42px 0 55px; }
  .content-shell img[style*="float: right"] { display: block; float: none !important; margin: 0 auto 24px !important; }
  .content-shell table { display: block; overflow-x: auto; }
  .contact-details { padding: 78px 0 0; background-position: left top; }
  .contact-list li { grid-template-columns: 1fr; gap: 2px; }
  .stockist-tools, .stockist-grid { grid-template-columns: 1fr; }
  .stockist-card { padding: 20px; }
  .footer-top, .footer-bottom-inner { grid-template-columns: 1fr; }
  .affiliates { grid-column: auto; }
  .copyright { text-align: left; }
}

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

@media print {
  .site-header, .hero-dots, .action-band, .site-footer, .stockist-tools { display: none; }
  body { color: #111; background: #fff; }
  .content-area, .home-content { background: #fff; }
}
