:root {
  --ink: #172025;
  --muted: #60717a;
  --line: #d7e0df;
  --paper: #fbfcfa;
  --mist: #eef4f1;
  --deep: #0d3b45;
  --blue: #28627c;
  --green: #5f7d4f;
  --gold: #c28a33;
  --stone: #c9c1b4;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(16, 35, 42, 0.18);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 48px);
  color: var(--white);
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.site-header.scrolled,
.site-header.menu-active {
  background: rgba(251, 252, 250, 0.96);
  color: var(--ink);
  box-shadow: 0 8px 30px rgba(16, 35, 42, 0.08);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand-mark-image {
  display: block;
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 50%;
}

.brand-text {
  color: currentColor;
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  text-shadow: 0 1px 16px rgba(0, 0, 0, 0.22);
}

.site-header.scrolled .brand-text,
.site-header.menu-active .brand-text {
  text-shadow: none;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 0.9rem;
  font-weight: 700;
}

.site-nav a {
  opacity: 0.82;
}

.site-nav a.active,
.site-nav a:hover {
  opacity: 1;
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: inherit;
  background: transparent;
  cursor: pointer;
  position: relative;
}

.menu-button span {
  position: absolute;
  left: 10px;
  display: block;
  width: 22px;
  height: 2px;
  margin: 0;
  border-radius: 999px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease, top 180ms ease;
}

.menu-button span:nth-child(1) {
  top: 13px;
}

.menu-button span:nth-child(2) {
  top: 20px;
}

.menu-button span:nth-child(3) {
  top: 27px;
}

.menu-button[aria-expanded="true"] span:nth-child(1) {
  top: 20px;
  transform: rotate(45deg);
}

.menu-button[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-button[aria-expanded="true"] span:nth-child(3) {
  top: 20px;
  transform: rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  align-items: end;
  gap: clamp(18px, 4vw, 52px);
  padding: 140px clamp(18px, 5vw, 72px) 54px;
  color: var(--white);
  overflow: hidden;
}

.hero-image,
.hero-scrim {
  position: absolute;
  inset: 0;
}

.hero-image {
  background-image: url("assets/capstone-hero.png");
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
}

.hero-scrim {
  background:
    linear-gradient(90deg, rgba(8, 22, 28, 0.82) 0%, rgba(8, 22, 28, 0.58) 42%, rgba(8, 22, 28, 0.18) 100%),
    linear-gradient(0deg, rgba(8, 22, 28, 0.72) 0%, rgba(8, 22, 28, 0.08) 54%);
}

.hero-content,
.hero-panel {
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 860px;
  margin-bottom: 14px;
  font-size: clamp(3rem, 9vw, 7.8rem);
  line-height: 0.9;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 5vw, 4.5rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.08rem;
  line-height: 1.2;
}

p {
  color: var(--muted);
  line-height: 1.7;
}

.hero p {
  color: rgba(255, 255, 255, 0.84);
}

.hero-lede {
  max-width: 640px;
  margin-bottom: 28px;
  font-size: clamp(1.02rem, 2vw, 1.35rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 22px;
  border: 1px solid transparent;
  font-weight: 800;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--gold);
  color: #111a1e;
}

.button-secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.64);
  background: rgba(255, 255, 255, 0.08);
}

.hero-panel {
  align-self: end;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius);
  background: rgba(13, 59, 69, 0.52);
  backdrop-filter: blur(16px);
}

.metric {
  display: block;
  font-size: 3.6rem;
  font-weight: 800;
  line-height: 1;
}

.metric-label {
  display: block;
  max-width: 260px;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.88rem;
}

.hero-panel-feature {
  display: block;
  max-width: 280px;
  color: var(--white);
  font-size: clamp(1.25rem, 2.4vw, 2rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: 0;
}

.hero-panel ul {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.hero-panel li {
  padding-left: 18px;
  position: relative;
  color: rgba(255, 255, 255, 0.86);
}

.hero-panel li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
}

.preview-button {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 16px;
  color: var(--muted);
  background: var(--white);
  font-weight: 800;
  white-space: nowrap;
  cursor: pointer;
}

.section {
  padding: clamp(68px, 9vw, 120px) clamp(18px, 5vw, 72px);
}

.page-main {
  padding-top: 0;
}

.solid-header .page-main {
  padding-top: 80px;
}

.section-copy {
  position: sticky;
  top: 150px;
}

.section-copy p,
.preview-copy p,
.contact-copy p,
.technology-copy p {
  max-width: 630px;
}

.surface-preview,
.contact-form,
.contact-summary,
.map-card,
.result-card,
.testimonial-card,
.feature-card,
.trust-card,
.surface-card,
.product-card,
.science-card,
.cta-card,
.image-placeholder {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.section-heading {
  max-width: 900px;
  margin-bottom: 30px;
}

.section-heading p {
  max-width: 650px;
}

.intro-section {
  background: var(--paper);
}

.feature-grid,
.surface-card-grid,
.product-grid,
.science-grid {
  display: grid;
  gap: 16px;
}

.feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card,
.surface-card,
.product-card,
.science-card {
  padding: 24px;
}

.feature-card p,
.surface-card p,
.product-card p,
.science-card p {
  margin-bottom: 0;
}

.product-points {
  display: grid;
  gap: 9px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.product-points li {
  position: relative;
  padding-left: 18px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.product-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
}

.trust-section {
  background: var(--mist);
}

.certified-section {
  background: var(--mist);
}

.certified-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(22px, 4vw, 38px);
  justify-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(24px, 5vw, 46px);
  background: var(--white);
  box-shadow: var(--shadow);
}

.official-logo-row {
  display: grid;
  width: min(100%, 980px);
  grid-template-columns: 1fr;
  gap: 14px;
}

.official-logo-slot {
  display: grid;
  min-height: 190px;
  place-items: center;
  border: 1px dashed rgba(13, 59, 69, 0.34);
  border-radius: var(--radius);
  padding: 18px;
  background: var(--paper);
  text-align: center;
}

.official-logo-slot span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.4;
}

.official-logo-slot img {
  display: block;
  width: min(300px, 92%);
  height: auto;
}

.official-banner-slot {
  display: grid;
  grid-column: 1 / -1;
  place-items: center;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px;
  background: var(--white);
}

.official-banner-slot img {
  display: block;
  width: 100%;
  max-width: 980px;
  height: auto;
  border-radius: 4px;
}

.certified-copy {
  width: min(100%, 860px);
  justify-self: start;
}

.certified-copy p {
  max-width: 680px;
}

.certified-copy .button {
  margin-top: 12px;
}

.trust-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.7fr);
  gap: 28px;
  align-items: center;
  padding: clamp(24px, 4vw, 42px);
}

.trust-list {
  display: grid;
  gap: 10px;
}

.trust-list span {
  border-radius: 999px;
  padding: 10px 13px;
  color: var(--deep);
  background: var(--mist);
  font-size: 0.86rem;
  font-weight: 800;
}

.page-hero {
  position: relative;
  min-height: clamp(460px, 58vh, 680px);
  display: grid;
  grid-template-columns: minmax(0, 760px);
  gap: 0;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(8, 22, 28, 0.84) 0%, rgba(8, 22, 28, 0.58) 48%, rgba(8, 22, 28, 0.16) 100%),
    linear-gradient(0deg, rgba(8, 22, 28, 0.7) 0%, rgba(8, 22, 28, 0.08) 58%),
    url("assets/capstone-hero.png") center / cover no-repeat;
}

.page-hero h1,
.contact-copy h1 {
  font-size: clamp(2.4rem, 6vw, 5.2rem);
}

.page-hero h1 {
  color: var(--white);
}

.page-hero-copy p {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.84);
}

.image-placeholder {
  display: grid;
  min-height: 260px;
  place-items: center;
  margin: 0;
  padding: 24px;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(13, 59, 69, 0.82), rgba(40, 98, 124, 0.52)),
    repeating-linear-gradient(135deg, #313b3e 0 18px, #222b2f 18px 36px);
  text-align: center;
}

.image-placeholder span {
  border-radius: 999px;
  padding: 9px 13px;
  color: var(--white);
  background: rgba(16, 35, 42, 0.72);
  font-size: 0.82rem;
  font-weight: 800;
}

.molecular-diagram {
  display: grid;
  grid-template-rows: minmax(220px, 1fr) auto;
  gap: 12px;
  padding: 14px;
  background: var(--white);
}

.molecular-diagram img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: contain;
  border-radius: var(--radius);
  background: var(--paper);
}

.molecular-diagram figcaption {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  text-align: center;
}

.gonano-banner-card {
  grid-column: 1 / -1;
  display: grid;
  width: min(100%, 980px);
  min-height: auto;
  justify-self: center;
  grid-template-rows: auto;
  gap: 0;
  padding: 10px;
  background: var(--white);
}

.gonano-banner-card img {
  align-self: center;
  justify-self: center;
  width: 100%;
  max-width: 980px;
  height: auto;
  border-radius: 4px;
}

.gonano-banner-card figcaption {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  text-align: center;
}

.small-placeholder {
  min-height: 170px;
  margin-top: 18px;
  box-shadow: none;
}

.surfaces-section {
  background: var(--mist);
}

.surface-card-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  align-items: stretch;
  gap: 18px;
}

.surface-card {
  display: flex;
  flex-direction: column;
}

.surface-card:nth-child(-n + 2) {
  grid-column: span 3;
}

.surface-card:nth-child(n + 3) {
  grid-column: span 2;
}

.surface-card p {
  margin-bottom: 18px;
}

.surface-card-photo {
  min-height: 0;
  margin-top: auto;
  border-radius: calc(var(--radius) - 4px);
  aspect-ratio: auto;
}

.surface-card-photo img {
  position: static;
  display: block;
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.concrete-bead-card img {
  object-position: center 62%;
}

.product-section {
  background: var(--paper);
}

.surface-tech-section {
  background: #f4f2eb;
}

.product-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.roof-product-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.surface-product-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.product-card {
  min-height: 250px;
}

.surface-product-card strong {
  color: var(--ink);
}

.science-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(28px, 5vw, 72px);
  background: var(--mist);
}

.science-copy {
  position: sticky;
  top: 150px;
  align-self: start;
}

.science-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.gallery-placeholder {
  min-height: 360px;
  box-shadow: none;
}

.cta-section {
  background: #f4f2eb;
}

.cta-card {
  padding: clamp(26px, 5vw, 52px);
}

.cta-card p {
  max-width: 680px;
}

.preview-button.active {
  color: var(--white);
  border-color: var(--deep);
  background: var(--deep);
}

.preview-visual::before {
  content: "";
  position: absolute;
  inset: 0;
}

.technology-band {
  color: var(--white);
  background: var(--deep);
}

.technology-band p {
  color: rgba(255, 255, 255, 0.76);
}

.technology-copy {
  max-width: 860px;
  margin-bottom: 34px;
}

.technology-hero .technology-copy {
  margin-bottom: 0;
}

.technology-hero {
  position: relative;
  min-height: clamp(460px, 58vh, 680px);
  display: grid;
  grid-template-columns: minmax(0, 760px);
  gap: 0;
  align-items: center;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(8, 22, 28, 0.84) 0%, rgba(8, 22, 28, 0.58) 48%, rgba(8, 22, 28, 0.16) 100%),
    linear-gradient(0deg, rgba(8, 22, 28, 0.7) 0%, rgba(8, 22, 28, 0.08) 58%),
    url("assets/capstone-hero.png") center / cover no-repeat;
}

.technology-hero .button-secondary {
  color: var(--white);
}

.diagram-section {
  background: var(--paper);
}

.diagram-section .molecular-diagram {
  max-width: 980px;
}

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

.tech-card {
  min-height: 260px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
}

.tech-card span {
  color: var(--gold);
  font-weight: 800;
}

.learn-panel {
  display: grid;
  grid-template-columns: minmax(240px, 0.72fr) minmax(0, 1.28fr);
  gap: 24px;
  margin-top: 18px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
}

.learn-panel h3 {
  font-size: clamp(1.45rem, 3vw, 2.35rem);
}

.learn-panel h2 {
  color: var(--white);
  font-size: clamp(1.8rem, 4vw, 3.4rem);
}

.learn-list {
  display: grid;
  gap: 10px;
}

.learn-list details {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.07);
}

.learn-list summary {
  cursor: pointer;
  padding: 15px 16px;
  color: var(--white);
  font-weight: 800;
}

.learn-list p {
  margin: 0;
  padding: 0 16px 16px;
}

.tech-how-section .learn-panel {
  margin-top: 0;
}

.technology-summary-card {
  margin-top: 18px;
  padding: clamp(24px, 4vw, 36px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
}

.technology-summary-card h3 {
  color: var(--white);
  font-size: clamp(1.55rem, 3vw, 2.5rem);
}

.technology-summary-card p:last-child {
  max-width: 820px;
  margin-bottom: 0;
  font-size: clamp(1.02rem, 2vw, 1.18rem);
}

.preview-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  background: var(--mist);
}

.surface-preview {
  display: grid;
  grid-template-columns: minmax(230px, 0.95fr) minmax(0, 1fr);
  overflow: hidden;
}

.preview-visual {
  position: relative;
  min-height: 480px;
  overflow: hidden;
  background: repeating-linear-gradient(135deg, #343f43 0 18px, #20282c 18px 36px);
  transition: background 260ms ease;
}

.preview-visual::before {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(13, 59, 69, 0.22));
}

.weather-layer,
.protection-layer,
.bead {
  position: absolute;
  pointer-events: none;
}

.weather-layer {
  inset: 0;
  display: none;
}

.protection-layer {
  inset: 18px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(194, 138, 51, 0.18), rgba(255, 255, 255, 0.06));
}

.bead {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 28%, rgba(255, 255, 255, 0.98), rgba(178, 226, 241, 0.48) 42%, rgba(40, 98, 124, 0.4));
  box-shadow: 0 18px 22px rgba(16, 35, 42, 0.22);
  animation: beadFloat 3.4s ease-in-out infinite;
}

.bead-one {
  left: 18%;
  top: 24%;
}

.bead-two {
  right: 24%;
  top: 48%;
  width: 32px;
  height: 32px;
  animation-delay: 500ms;
}

.bead-three {
  left: 42%;
  bottom: 18%;
  width: 54px;
  height: 54px;
  animation-delay: 900ms;
}

.preview-label {
  position: absolute;
  left: 18px;
  bottom: 18px;
  z-index: 2;
  border-radius: 999px;
  padding: 8px 12px;
  color: var(--white);
  background: rgba(16, 35, 42, 0.7);
  font-size: 0.82rem;
  font-weight: 800;
}

.preview-controls {
  display: grid;
  gap: 22px;
  padding: 24px;
}

.control-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.preview-info {
  display: grid;
  gap: 14px;
}

.preview-info div {
  display: grid;
  gap: 5px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.preview-info span {
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.preview-info p {
  margin: 0;
  font-size: 0.94rem;
}

.results-section {
  background: var(--paper);
}

.results-copy,
.testimonials-copy {
  max-width: 840px;
  margin-bottom: 30px;
}

.results-copy p,
.testimonials-copy p {
  max-width: 660px;
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
}

.result-card {
  display: flex;
  flex-direction: column;
  grid-column: span 3;
  overflow: hidden;
}

.result-card:first-child {
  grid-column: 1 / -1;
}

.comparison-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}

.photo-slot {
  position: relative;
  display: grid;
  min-height: 250px;
  place-items: center;
  margin: 0;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(13, 59, 69, 0.72), rgba(40, 98, 124, 0.34)),
    repeating-linear-gradient(135deg, #313b3e 0 18px, #222b2f 18px 36px);
}

.photo-slot::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px dashed rgba(255, 255, 255, 0.56);
  border-radius: var(--radius);
}

.photo-slot span {
  position: relative;
  z-index: 1;
  border-radius: 999px;
  padding: 8px 12px;
  color: var(--white);
  background: rgba(16, 35, 42, 0.68);
  font-size: 0.82rem;
  font-weight: 800;
}

.image-slot {
  background: #111a1e;
}

.image-slot::before {
  display: none;
}

.image-slot img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-slot.surface-card-photo {
  display: block;
  min-height: 0;
  aspect-ratio: auto;
}

.image-slot.surface-card-photo img {
  position: static;
  display: block;
  width: 100%;
  height: clamp(210px, 20vw, 270px);
  object-fit: cover;
}

.surface-card-photo figcaption {
  padding: 10px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.4;
}

.image-slot.commercial-surface-photo img {
  height: clamp(220px, 20vw, 270px);
  aspect-ratio: auto;
  object-fit: cover;
  object-position: center 44%;
}

.image-slot.concrete-bead-card img {
  height: clamp(220px, 20vw, 270px);
  object-position: center 62%;
}

.image-slot.shingle-closeup-photo img {
  height: clamp(220px, 20vw, 270px);
  object-position: center 48%;
}

.image-slot.masonry-stone-photo img {
  height: clamp(220px, 20vw, 270px);
  object-position: center;
}

.image-slot.wood-surface-photo img {
  height: clamp(220px, 20vw, 270px);
  object-position: center 76%;
}

.wide-image {
  min-height: 360px;
}

.wide-image img {
  object-fit: contain;
  background: #111a1e;
}

.single-result {
  background: #111a1e;
}

.after-slot {
  background:
    radial-gradient(circle at 30% 36%, rgba(255, 255, 255, 0.36), transparent 10%),
    linear-gradient(135deg, rgba(95, 125, 79, 0.78), rgba(194, 138, 51, 0.38)),
    repeating-linear-gradient(135deg, #343f43 0 18px, #20282c 18px 36px);
}

.concrete-photo {
  background:
    linear-gradient(135deg, rgba(13, 59, 69, 0.36), rgba(194, 138, 51, 0.22)),
    repeating-linear-gradient(90deg, #c6c2b8 0 70px, #a9a79f 70px 72px);
}

.result-caption {
  flex: 1;
  padding: 20px;
}

.result-caption p {
  margin-bottom: 0;
}

.process-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.6fr) minmax(0, 1.4fr);
  gap: clamp(28px, 5vw, 72px);
}

.process-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.process-list li {
  min-height: 250px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.process-list span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  margin-bottom: 28px;
  border-radius: 50%;
  color: var(--white);
  background: var(--blue);
  font-weight: 800;
}

.service-area {
  padding-top: 0;
}

.map-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 26px;
  align-items: center;
  padding: clamp(22px, 4vw, 40px);
  overflow: hidden;
  background: linear-gradient(135deg, var(--white), #eef6f7);
}

.province-map {
  position: relative;
  min-height: 250px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 34% 51%, rgba(194, 138, 51, 0.32), transparent 18%),
    linear-gradient(135deg, #dce8e6, #f7f7f2);
}

.province-map span {
  position: absolute;
  display: grid;
  width: 86px;
  height: 106px;
  place-items: center;
  color: var(--white);
  background: var(--deep);
  font-weight: 800;
  clip-path: polygon(18% 0, 100% 12%, 86% 100%, 0 86%);
}

.province-map .bc {
  left: 54px;
  top: 62px;
}

.province-map .ab {
  right: 58px;
  top: 58px;
  background: var(--blue);
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(28px, 5vw, 72px);
  background: #f4f2eb;
}

.contact-page-hero .image-placeholder {
  min-height: 320px;
}

.assessment-form-section {
  grid-template-columns: 1fr;
  gap: clamp(24px, 4vw, 42px);
}

.assessment-form-section .section-heading {
  max-width: 820px;
}

.assessment-support,
.assessment-next-steps {
  display: grid;
  gap: 14px;
  max-width: 980px;
}

.assessment-support h2 {
  max-width: 760px;
}

.assessment-support p {
  max-width: 780px;
}

.assessment-support-details {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.assessment-support-details span {
  border-radius: 999px;
  padding: 10px 13px;
  color: var(--deep);
  background: var(--mist);
  font-size: 0.86rem;
  font-weight: 800;
}

.assessment-support-details a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.social-links a {
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.social-links a:hover,
.social-links a:focus-visible {
  transform: translateY(-1px);
}

.contact-social-links {
  justify-content: flex-start;
  margin-top: 2px;
}

.contact-social-links a {
  border: 1px solid var(--line);
  color: var(--deep);
  background: var(--white);
}

.contact-social-links a:hover,
.contact-social-links a:focus-visible {
  border-color: rgba(13, 59, 69, 0.38);
  background: var(--mist);
}

.assessment-form-section .contact-grid {
  grid-template-columns: 1fr;
}

.assessment-form-section .contact-form,
.assessment-next-steps {
  width: 100%;
  max-width: 980px;
}

.assessment-next-steps {
  border-top: 1px solid var(--line);
  padding-top: 22px;
}

.assessment-next-steps > p {
  max-width: 760px;
  margin-bottom: 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(260px, 0.95fr);
  gap: 16px;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.contact-form,
.contact-summary {
  padding: 22px;
}

.contact-badge {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 14px;
  border-radius: 999px;
  padding: 7px 11px;
  color: var(--deep);
  background: rgba(194, 138, 51, 0.18);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-form {
  display: grid;
  gap: 14px;
}

.wizard-form {
  gap: 20px;
}

.assessment-progress {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.assessment-progress li {
  display: grid;
  gap: 6px;
  min-width: 0;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.assessment-progress span {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--muted);
  background: var(--paper);
}

.assessment-progress li.active span,
.assessment-progress li.complete span {
  color: var(--white);
  border-color: var(--deep);
  background: var(--deep);
}

.wizard-step {
  display: none;
  min-width: 0;
  border: 0;
  margin: 0;
  padding: 0;
}

.wizard-step.active {
  display: grid;
  gap: 16px;
}

.wizard-step legend {
  margin-bottom: 16px;
  color: var(--ink);
  font-size: clamp(1.25rem, 3vw, 2rem);
  font-weight: 800;
  line-height: 1.15;
}

.surface-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.surface-choice {
  cursor: pointer;
}

.surface-choice input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.surface-choice span {
  display: grid;
  gap: 8px;
  min-height: 150px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  background: var(--paper);
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.surface-choice input:checked + span {
  border-color: var(--deep);
  background: var(--mist);
  transform: translateY(-2px);
}

.surface-choice strong {
  color: var(--ink);
  font-size: 1.02rem;
}

.surface-choice small {
  color: var(--muted);
  line-height: 1.55;
}

.surface-panel {
  display: none;
  gap: 14px;
}

.surface-panel.active {
  display: grid;
}

.review-card {
  display: grid;
  gap: 12px;
}

.review-card div {
  display: grid;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 15px;
  background: var(--paper);
}

.review-card span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.review-card strong {
  color: var(--ink);
  line-height: 1.35;
}

.review-card p {
  margin-bottom: 0;
}

.wizard-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.wizard-actions .button[hidden] {
  display: none;
}

.dark-secondary {
  color: var(--deep);
  border-color: rgba(13, 59, 69, 0.28);
  background: var(--paper);
}

.helper-note {
  border-left: 3px solid var(--gold);
  padding-left: 12px;
  font-size: 0.94rem;
}

.assessment-side {
  display: grid;
  align-content: start;
  gap: 18px;
}

label {
  display: grid;
  gap: 6px;
  color: var(--ink);
  font-size: 0.84rem;
  font-weight: 800;
}

.hidden-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.hidden-field input {
  width: 1px;
  height: 1px;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 13px;
  color: var(--ink);
  background: var(--paper);
}

.custom-select {
  position: relative;
  display: block;
  width: 100%;
}

.custom-select select {
  position: absolute;
  inset: 0 auto auto 0;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.custom-select-button {
  position: relative;
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 44px 12px 13px;
  color: var(--muted);
  background: var(--paper);
  text-align: left;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.custom-select.has-value .custom-select-button {
  color: var(--ink);
}

.custom-select-button::after {
  content: "";
  position: absolute;
  right: 16px;
  top: 50%;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--deep);
  border-bottom: 2px solid var(--deep);
  transform: translateY(-65%) rotate(45deg);
  transition: transform 160ms ease;
}

.custom-select.open .custom-select-button {
  border-color: var(--gold);
  background: var(--white);
  box-shadow: 0 14px 28px rgba(13, 59, 69, 0.1);
}

.custom-select.open .custom-select-button::after {
  transform: translateY(-35%) rotate(225deg);
}

.custom-select-button:focus-visible {
  outline: 2px solid rgba(194, 138, 51, 0.42);
  outline-offset: 2px;
}

.custom-select-options {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 60;
  display: none;
  max-height: min(270px, 48vh);
  overflow-y: auto;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 8px;
  background: rgba(251, 252, 250, 0.98);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.custom-select.open .custom-select-options {
  display: grid;
}

.custom-select-option {
  width: 100%;
  border: 0;
  border-radius: 999px;
  padding: 10px 12px;
  color: var(--muted);
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition: background 150ms ease, color 150ms ease;
}

.custom-select-option:hover,
.custom-select-option:focus-visible,
.custom-select-option[aria-selected="true"] {
  color: var(--ink);
  background: var(--mist);
  outline: 0;
}

.custom-select-option.placeholder-option {
  color: var(--muted);
}

.file-drop {
  position: relative;
  display: grid;
  gap: 10px;
  min-height: 118px;
  place-items: center;
  border: 1px dashed rgba(13, 59, 69, 0.36);
  border-radius: var(--radius);
  padding: 18px;
  background: linear-gradient(180deg, rgba(247, 250, 249, 0.96), var(--paper));
  text-align: center;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
  overflow: hidden;
}

.file-drop:hover,
.file-drop:focus-within {
  border-color: rgba(13, 59, 69, 0.72);
  background: var(--mist);
  transform: translateY(-1px);
}

.file-drop input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  padding: 0;
  opacity: 0;
  cursor: pointer;
}

.file-drop span {
  display: grid;
  justify-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.45;
  pointer-events: none;
}

.file-drop span::before {
  content: "Choose photo";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 1px solid rgba(13, 59, 69, 0.18);
  border-radius: 999px;
  padding: 0 18px;
  background: var(--deep);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 12px 24px rgba(13, 59, 69, 0.12);
}

.file-drop.has-files span::before {
  content: "Photo selected";
  background: var(--gold);
  color: var(--ink);
}

.disclaimer {
  margin-bottom: 0;
  border-left: 3px solid var(--gold);
  padding-left: 12px;
  font-size: 0.88rem;
}

.select-wrap {
  position: relative;
  display: block;
}

.select-wrap::after {
  content: "";
  position: absolute;
  right: 14px;
  top: 50%;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--deep);
  border-bottom: 2px solid var(--deep);
  pointer-events: none;
  transform: translateY(-65%) rotate(45deg);
}

.select-wrap select {
  appearance: none;
  padding-right: 42px;
  cursor: pointer;
}

.surface-select-button {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 42px 12px 13px;
  color: var(--ink);
  background: var(--paper);
  text-align: left;
  cursor: pointer;
}

.surface-options {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 30;
  display: none;
  gap: 4px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(251, 252, 250, 0.98);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.select-wrap.open .surface-options {
  display: grid;
}

.surface-options button {
  width: 100%;
  border: 0;
  border-radius: 999px;
  padding: 10px 12px;
  color: var(--muted);
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.surface-options button:hover,
.surface-options button[aria-selected="true"] {
  color: var(--ink);
  background: var(--mist);
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(194, 138, 51, 0.42);
  border-color: var(--gold);
}

.form-status {
  min-height: 24px;
  margin-bottom: 0;
  font-weight: 800;
  color: var(--green);
}

.summary-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0;
}

.summary-chips span {
  border-radius: 999px;
  padding: 7px 10px;
  color: var(--deep);
  background: var(--mist);
  font-size: 0.82rem;
  font-weight: 800;
}

.contact-box {
  display: grid;
  gap: 8px;
  margin-top: auto;
  padding: 16px;
  border-radius: var(--radius);
  background: var(--mist);
  color: var(--muted);
  font-size: 0.92rem;
}

.contact-box strong {
  color: var(--ink);
}

.testimonials-section {
  background: var(--mist);
}

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

.testimonial-card {
  min-height: 220px;
  padding: 28px;
}

.testimonial-card p {
  color: var(--ink);
  font-size: clamp(1.08rem, 2vw, 1.28rem);
  font-weight: 700;
  line-height: 1.55;
}

.testimonial-card span {
  display: block;
  margin-top: 26px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 18px;
  padding: 28px clamp(18px, 5vw, 72px);
  color: rgba(255, 255, 255, 0.78);
  background: #0b2026;
  text-align: center;
}

.site-footer strong,
.site-footer span {
  display: block;
}

.footer-logo {
  display: block;
  width: 220px;
  max-width: 52vw;
  height: auto;
  margin: 0 auto 14px;
  border-radius: 6px;
}

.site-footer strong {
  color: var(--white);
}

.footer-contact-link,
.footer-email,
.footer-privacy-link {
  display: block;
  margin-top: 6px;
  color: var(--white);
}

.footer-privacy-link {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
}

.footer-social-links {
  justify-content: center;
  margin-top: 14px;
}

.footer-social-links a {
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.footer-social-links a:hover,
.footer-social-links a:focus-visible {
  border-color: rgba(194, 138, 51, 0.62);
  background: rgba(194, 138, 51, 0.18);
}

.site-footer a {
  font-weight: 800;
}

.thanks-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  background: var(--deep);
}

.thanks-wrap {
  width: min(680px, calc(100vw - 32px));
  padding: clamp(28px, 6vw, 58px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}

.thanks-wrap h1 {
  margin-bottom: 16px;
}

.thanks-wrap p:not(.eyebrow) {
  max-width: 500px;
  color: rgba(255, 255, 255, 0.78);
}

.thanks-logo {
  display: block;
  width: 220px;
  max-width: 60vw;
  height: auto;
  margin-bottom: 30px;
}

.privacy-section {
  background: var(--mist);
}

.privacy-content {
  display: grid;
  gap: 18px;
  max-width: 920px;
  margin: 0 auto;
}

.privacy-updated {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
}

.privacy-content article {
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--soft-shadow);
}

.privacy-content h2 {
  margin-bottom: 10px;
  color: var(--deep);
  font-size: clamp(1.16rem, 2vw, 1.45rem);
}

.privacy-content p {
  color: var(--muted);
}

.privacy-content a {
  color: var(--deep);
  font-weight: 800;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 620ms ease, transform 620ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes weatherSweep {
  from {
    transform: translateX(-20%);
  }

  to {
    transform: translateX(20%);
  }
}

@keyframes beadFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-9px);
  }
}

@media (max-width: 1060px) {
  .preview-section,
  .process-section,
  .contact-section,
  .science-section {
    grid-template-columns: 1fr;
  }

  .section-copy,
  .science-copy {
    position: static;
  }

  .process-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .learn-panel {
    grid-template-columns: 1fr;
  }

  .results-grid,
  .testimonials-grid,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .surface-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .surface-card,
  .surface-card:nth-child(-n + 2),
  .surface-card:nth-child(n + 3) {
    grid-column: auto;
  }

  .surface-card:last-child {
    grid-column: 1 / -1;
  }

  .result-card,
  .result-card:first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 820px) {
  .menu-button {
    display: block;
    position: relative;
    z-index: 45;
  }

  .site-nav {
    position: fixed;
    top: 68px;
    right: 16px;
    z-index: 44;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    width: min(300px, calc(100vw - 32px));
    padding: 12px;
    color: var(--ink);
    background: rgba(251, 252, 250, 0.98);
    border: 1px solid var(--line);
    border-radius: 24px;
    box-shadow: var(--shadow);
    backdrop-filter: blur(14px);
    font-size: 1rem;
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    display: block;
    border-radius: 999px;
    padding: 12px 14px;
  }

  .site-nav a:hover,
  .site-nav a.active {
    background: var(--mist);
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: 92svh;
    padding-top: 116px;
  }

  .hero-panel {
    max-width: 420px;
  }

  .surface-preview,
  .map-card,
  .contact-grid,
  .page-hero,
  .technology-hero,
  .trust-card,
  .certified-card,
  .product-grid,
  .science-grid {
    grid-template-columns: 1fr;
  }

  .comparison-row {
    grid-template-columns: 1fr;
  }

  .preview-visual {
    min-height: 340px;
  }

  .assessment-progress {
    grid-template-columns: repeat(5, 1fr);
  }

  .assessment-progress li {
    font-size: 0;
  }

  .assessment-progress span {
    width: 30px;
    height: 30px;
    font-size: 0.74rem;
  }
}

@media (max-width: 620px) {
  .site-header {
    padding: 12px 16px;
  }

  .brand-mark-image {
    width: 42px;
    height: 42px;
  }

  .brand-text {
    font-size: 0.9rem;
  }

  .hero {
    padding: 104px 16px 36px;
  }

  h1 {
    font-size: clamp(2.7rem, 16vw, 4.4rem);
  }

  .section {
    padding: 62px 16px;
  }

  .contact-form,
  .contact-summary {
    width: 100%;
    min-width: 0;
    padding: 18px;
  }

  .process-list {
    grid-template-columns: 1fr;
  }

  .tech-grid {
    grid-template-columns: 1fr;
  }

  .field-grid {
    grid-template-columns: 1fr;
  }

  .surface-choice-grid {
    grid-template-columns: 1fr;
  }

  .surface-card-grid {
    grid-template-columns: 1fr;
  }

  .surface-card:last-child {
    grid-column: auto;
  }

  .official-logo-row {
    grid-template-columns: 1fr;
  }

  .surface-choice span {
    min-height: 120px;
  }

  .site-footer {
    align-items: center;
  }
}
