:root {
  --forest: #0b3128;
  --forest-2: #123f34;
  --mint: #dcebe2;
  --paper: #f5f1e8;
  --white: #ffffff;
  --ink: #18251f;
  --muted: #5f6f67;
  --line: rgba(24, 37, 31, 0.16);
  --orange: #f05a28;
  --gold: #e5b84a;
  --shadow: 0 24px 70px rgba(7, 35, 28, 0.18);
}

* {
  box-sizing: border-box;
  min-width: 0;
}

[hidden] {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.required-mark {
  color: var(--orange);
}

html {
  max-width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  max-width: 100%;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: "Montserrat", Arial, sans-serif;
  line-height: 1.5;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  top: -60px;
  left: 18px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--orange);
  color: var(--white);
}

.skip-link:focus {
  top: 18px;
}

.container {
  width: min(1180px, calc(100% - 48px));
  max-width: 100%;
  margin: 0 auto;
}

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  min-height: 76px;
  padding: 0 38px;
  color: var(--white);
  transition: background 180ms ease, box-shadow 180ms ease;
}

.topbar.is-solid {
  background: rgba(245, 241, 232, 0.96);
  color: var(--ink);
  box-shadow: 0 1px 0 var(--line);
  backdrop-filter: blur(12px);
}

.logo img {
  width: 150px;
  height: auto;
}

.topbar nav {
  justify-self: center;
  display: flex;
  gap: 28px;
  font-size: 13px;
  font-weight: 800;
}

.topbar nav a,
.call-link {
  text-decoration: none;
}

.topbar-actions {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.call-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 18px;
  border: 1px solid currentColor;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 900;
}

.menu-toggle {
  display: none;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(226, 96, 45, 0.32);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 3px;
  margin: 2.5px 0;
  background: currentColor;
  border-radius: 99px;
  transition: transform 160ms ease, opacity 160ms ease;
}

.topbar.is-menu-open .menu-toggle span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.topbar.is-menu-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.topbar.is-menu-open .menu-toggle span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: calc(100svh - 118px);
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-media {
  background: url("../images/optimized/hero-pallets.webp") center / cover no-repeat;
  animation: heroZoom 14s ease-out forwards;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(8, 29, 23, 0.92), rgba(8, 29, 23, 0.66) 46%, rgba(8, 29, 23, 0.16)),
    linear-gradient(0deg, rgba(8, 29, 23, 0.52), transparent 40%);
}

@keyframes heroZoom {
  from { transform: scale(1.08); }
  to { transform: scale(1); }
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 78px;
  padding-bottom: 52px;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(340px, 0.46fr);
  gap: 56px;
  align-items: center;
}

.hero-main {
  max-width: 780px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: var(--orange);
}

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

h1 {
  margin-bottom: 24px;
  font-size: clamp(52px, 7vw, 92px);
  line-height: 0.92;
  letter-spacing: 0;
  font-weight: 900;
}

h2 {
  margin-bottom: 24px;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.02;
  letter-spacing: 0;
  font-weight: 900;
}

h3 {
  margin-bottom: 14px;
  font-size: 22px;
  line-height: 1.16;
  font-weight: 900;
}

.hero-lead {
  max-width: 670px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(19px, 2.1vw, 27px);
  font-weight: 600;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border: 0;
  border-radius: 4px;
  font: inherit;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
  transition: transform 150ms ease, box-shadow 150ms ease, background-color 150ms ease, border-color 150ms ease, color 150ms ease;
}

.button.primary {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 8px 18px rgba(240, 90, 40, 0.18);
}

.button.secondary {
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--forest);
}

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

.button:active,
.button.is-applied {
  transform: translateY(1px) scale(0.99);
}

.button.primary:hover {
  background: #d9481d;
  box-shadow: 0 12px 24px rgba(240, 90, 40, 0.25);
}

.button.secondary:hover,
.button.secondary.is-applied {
  border-color: var(--orange);
  background: var(--white);
  color: var(--orange);
  box-shadow: none;
}

.button:focus-visible {
  outline: 3px solid rgba(240, 90, 40, 0.32);
  outline-offset: 3px;
}

.trust-strip {
  min-height: 132px;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 12px 40px rgba(7, 35, 28, 0.06);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  align-items: center;
  min-height: 132px;
  color: var(--ink);
}

.quote-strip {
  position: relative;
  z-index: 2;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: stretch;
  padding: 24px;
  background: var(--white);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.quote-strip strong {
  display: block;
  margin-bottom: 2px;
  font-size: 20px;
  line-height: 1.15;
  font-weight: 900;
}

.trust-item {
  display: grid;
  grid-template-columns: 38px 1fr;
  column-gap: 14px;
  align-items: center;
}

.trust-icon {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: var(--forest);
  color: var(--gold);
}

.trust-icon svg {
  width: 21px;
  height: 21px;
  fill: currentColor;
}

.trust-item strong {
  display: block;
  align-self: end;
  font-size: 15px;
  line-height: 1.1;
  font-weight: 900;
}

.trust-item span:not(.trust-icon) {
  align-self: start;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

label {
  display: grid;
  gap: 7px;
}

.label-text,
.field-label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.field-group {
  position: relative;
  display: grid;
  gap: 7px;
}

.field-message {
  min-height: 16px;
  color: #a33d1f;
  font-size: 12px;
  font-weight: 800;
  text-transform: none;
}

fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

input,
select,
textarea {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 48px;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
}

textarea {
  resize: vertical;
}

button {
  max-width: 100%;
}

.hero,
.section,
.saving-panel,
.proof,
.quote-section,
.recycle-band,
.product-band,
.faq,
.footer {
  max-width: 100%;
}

.hero-layout > *,
.intro-grid > *,
.section-head > *,
.product-grid > *,
.recycle-grid > *,
.saving-grid > *,
.timeline > *,
.proof > *,
.faq-grid > *,
.quote-grid > *,
.two > *,
.trust-grid > *,
.quote-strip > *,
.review-form > *,
.form-step > *,
.calculator > *,
.calculator-row > *,
.contact-card > *,
.service-notes > *,
.confidence-grid > * {
  min-width: 0;
  max-width: 100%;
}

.input-suffix {
  position: relative;
  display: block;
}

.input-suffix input {
  padding-right: 48px;
}

.input-suffix span {
  position: absolute;
  top: 50%;
  right: 14px;
  color: var(--muted);
  font-weight: 900;
  transform: translateY(-50%);
  pointer-events: none;
}

.input-prefix {
  position: relative;
  display: block;
}

.input-prefix input {
  padding-left: 34px;
}

.input-prefix > span {
  position: absolute;
  top: 50%;
  left: 14px;
  color: var(--muted);
  font-weight: 900;
  opacity: 0;
  transform: translateY(-50%);
  pointer-events: none;
}

.input-prefix.has-value > span {
  opacity: 1;
}

.multi-select-trigger {
  position: relative;
  width: 100%;
  min-height: 48px;
  padding: 11px 42px 11px 13px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.multi-select-trigger::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 15px;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: translateY(-65%) rotate(45deg);
}

.multi-select-menu {
  position: absolute;
  z-index: 20;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  display: grid;
  gap: 2px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.multi-select-menu label {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  padding: 8px 9px;
  border-radius: 3px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.25;
  text-transform: none;
  cursor: pointer;
}

.multi-select-menu label:hover {
  background: var(--soft);
}

.multi-select-menu input {
  width: 17px;
  min-height: 17px;
  height: 17px;
  margin: 0;
  accent-color: var(--forest);
}

.quote-strip button,
.review-form button {
  min-height: 48px;
  border: 0;
  border-radius: 4px;
  background: var(--forest);
  color: var(--white);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.quote-strip button {
  background: var(--orange);
}

.review-form .multi-select-trigger {
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  font-weight: 700;
}

.review-form .multi-select-trigger:hover,
.review-form .multi-select-trigger[aria-expanded="true"] {
  border-color: var(--forest);
  box-shadow: 0 0 0 3px rgba(11, 49, 40, 0.12);
}

.review-form .multi-select-trigger [data-multiselect-label] {
  color: var(--muted);
}

.review-form .multi-select-trigger.has-selection [data-multiselect-label] {
  color: var(--ink);
}

.section {
  padding: 96px 0;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.78fr);
  gap: 72px;
  align-items: start;
}

.intro-copy {
  color: var(--muted);
  font-size: 20px;
}

.intro-copy > p {
  margin-bottom: 28px;
}

.check-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--ink);
  font-size: 16px;
  font-weight: 800;
}

.check-list li {
  position: relative;
  padding-left: 30px;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--orange);
}

.check-list li::after {
  content: "";
  position: absolute;
  left: 5px;
  top: calc(0.35em + 4px);
  width: 6px;
  height: 3px;
  border-left: 2px solid var(--white);
  border-bottom: 2px solid var(--white);
  transform: rotate(-45deg);
}

.product-band {
  background: var(--forest);
  color: var(--white);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1fr);
  gap: 60px;
  align-items: end;
  margin-bottom: 54px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.product-grid article {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.product-grid img {
  width: 100%;
  aspect-ratio: 1.12 / 0.82;
  height: clamp(240px, 22vw, 330px);
  object-fit: cover;
}

.product-grid h3,
.product-grid p {
  padding-inline: 24px;
}

.product-grid h3 {
  margin: 28px 0 14px;
}

.product-grid p {
  margin-bottom: 26px;
  color: rgba(255, 255, 255, 0.74);
}

.recycle-band {
  background: var(--forest);
  color: var(--white);
}

.recycle-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(380px, 1fr);
  gap: 70px;
  align-items: start;
}

.recycle-copy > p {
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 20px;
}

.recycle-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--white);
  line-height: 1;
}

.recycle-eyebrow span {
  font-family: "Segoe UI Symbol", "Arial Unicode MS", sans-serif;
  font-size: 36px;
  line-height: 1;
}

.service-notes {
  display: grid;
  gap: 14px;
}

.service-notes article {
  padding: 24px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-left: 4px solid var(--orange);
}

.service-notes h3 {
  margin: 0 0 10px;
  font-size: 18px;
}

.service-notes p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.saving-panel {
  padding: 88px 0;
  background: var(--orange);
  color: var(--white);
}

.saving-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.78fr);
  gap: 70px;
  align-items: center;
}

.saving-grid p {
  max-width: 690px;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 20px;
}

.calculator {
  display: grid;
  gap: 12px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.14);
}

.calculator-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 18px;
  background: var(--white);
  color: var(--ink);
}

.calculator label,
.calculator span {
  color: var(--muted);
  font-weight: 800;
}

.calculator strong {
  font-size: 24px;
  font-weight: 900;
}

.calculator .total {
  background: var(--forest);
  color: var(--white);
}

.calculator .total span {
  color: rgba(255, 255, 255, 0.74);
}

.slider-row {
  display: grid;
  grid-template-columns: 1fr auto;
  row-gap: 16px;
}

.slider-row input {
  grid-column: 1 / -1;
  --slider-thumb-size: 18px;
  width: 100%;
  height: 22px;
  min-height: 22px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  appearance: none;
  -webkit-appearance: none;
  background-color: transparent;
  background: linear-gradient(
    to right,
    var(--orange) 0 var(--slider-progress, 0%),
    #5f6f67 var(--slider-progress, 0%) 100%
  );
  background-size: calc(100% - var(--slider-thumb-size)) 6px;
  background-position: center;
  background-repeat: no-repeat;
  cursor: pointer;
}

.slider-row input::-webkit-slider-runnable-track {
  height: 6px;
  background: transparent;
  border: 0;
}

.slider-row input::-webkit-slider-thumb {
  width: var(--slider-thumb-size);
  height: var(--slider-thumb-size);
  margin-top: -6px;
  appearance: none;
  -webkit-appearance: none;
  background: var(--orange);
  border: 0;
  border-radius: 50%;
}

.slider-row input::-moz-range-track {
  height: 6px;
  background: transparent;
  border: 0;
}

.slider-row input::-moz-range-thumb {
  width: var(--slider-thumb-size);
  height: var(--slider-thumb-size);
  background: var(--orange);
  border: 0;
  border-radius: 50%;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 18px;
}

.timeline article {
  padding: 34px;
  background: var(--white);
  box-shadow: 0 1px 0 var(--line);
}

.timeline span {
  display: inline-block;
  margin-bottom: 52px;
  color: var(--orange);
  font-size: 15px;
  font-weight: 900;
}

.timeline p {
  margin-bottom: 0;
  color: var(--muted);
}

.proof {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1fr);
  min-height: 620px;
  background: var(--mint);
}

.proof-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.proof-copy {
  align-self: center;
  max-width: 650px;
  padding: 80px;
}

.proof-copy p {
  margin-bottom: 30px;
  color: var(--muted);
  font-size: 20px;
}

.confidence-grid {
  display: grid;
  gap: 16px;
  margin: 36px 0 34px;
}

.confidence-grid article {
  padding: 22px;
  background: rgba(255, 255, 255, 0.62);
  border-left: 4px solid var(--orange);
}

.confidence-grid h3 {
  margin: 0 0 8px;
  font-size: 17px;
}

.confidence-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.faq {
  position: relative;
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(380px, 1fr);
  gap: 84px;
  align-items: start;
}

.faq-intro {
  position: sticky;
  top: 110px;
}

.faq-intro p:not(.eyebrow) {
  margin-top: 18px;
  color: var(--muted);
  font-size: 19px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(24, 37, 31, 0.03);
}

.faq-list summary {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 66px;
  padding: 18px 58px 18px 22px;
  font-weight: 900;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "";
  position: absolute;
  right: 22px;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--orange);
  border-bottom: 2px solid var(--orange);
  transform: rotate(45deg);
  transition: transform 160ms ease;
}

.faq-list details[open] summary::after {
  transform: rotate(225deg);
}

.faq-list details p {
  margin: 0;
  padding: 0 58px 22px 22px;
  color: var(--muted);
}

.quote-section {
  background: var(--paper);
  border-top: 10px solid var(--forest);
}

.quote-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(380px, 1fr);
  gap: 80px;
  align-items: start;
}

.quote-grid > div > p {
  margin-top: 6px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 20px;
}

.contact-card {
  display: grid;
  gap: 8px;
  margin-top: 36px;
  padding: 26px;
  background: var(--white);
  border-left: 4px solid var(--orange);
}

.contact-card a {
  color: var(--forest);
  font-weight: 800;
}

.contact-socials {
  display: flex;
  gap: 10px;
  padding-top: 8px;
}

.contact-socials a {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--white);
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
}

.contact-socials a:hover {
  background: var(--forest);
}

.review-form {
  display: grid;
  gap: 22px;
  padding: 34px;
  background: var(--white);
  box-shadow: var(--shadow);
}

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

.form-success {
  display: grid;
  gap: 12px;
  padding: 22px;
  border-left: 4px solid var(--forest);
  background: var(--soft);
}

.form-success strong {
  color: var(--forest);
  font-size: 24px;
  line-height: 1.1;
  font-weight: 900;
}

.form-success p {
  margin: 0;
  color: var(--ink);
  font-weight: 700;
}

.form-progress {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.form-progress span {
  display: grid;
  align-items: center;
  min-height: 42px;
  padding: 8px 10px;
  border-bottom: 3px solid var(--line);
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.form-progress span.is-active {
  border-color: var(--orange);
  color: var(--forest);
}

.form-step {
  display: grid;
  gap: 18px;
}

.form-step legend {
  margin-bottom: 4px;
  font-size: 27px;
  line-height: 1.1;
  font-weight: 900;
}

.form-step > p {
  margin: -8px 0 4px;
  color: var(--muted);
}

.two {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.review-form .button {
  justify-self: start;
}

.form-actions {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding-top: 4px;
}

.form-actions .button {
  min-width: 140px;
}

.form-status {
  margin: 0;
  color: var(--forest);
  font-weight: 800;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 38px;
  background: #050505;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  font-weight: 800;
}

.footer a {
  text-decoration: none;
}

.builder-page {
  background: var(--paper);
}

.builder-page .topbar {
  color: var(--ink);
}

.builder-hero {
  padding: 142px 0 54px;
  background:
    linear-gradient(90deg, rgba(11, 49, 40, 0.95), rgba(11, 49, 40, 0.76)),
    url("../images/optimized/product-custom-export.jpg") center / cover no-repeat;
  color: var(--white);
}

.builder-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.34fr);
  gap: 54px;
  align-items: end;
}

.builder-hero h1 {
  max-width: 900px;
  margin-bottom: 22px;
  font-size: clamp(44px, 6vw, 78px);
}

.builder-hero p:not(.eyebrow) {
  max-width: 780px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 20px;
  font-weight: 650;
}

.builder-summary {
  display: grid;
  gap: 8px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.builder-summary span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.builder-summary strong {
  font-size: 28px;
  line-height: 1.1;
  font-weight: 900;
}

.builder-summary p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
  font-weight: 800;
}

.builder-workshop {
  padding-top: 62px;
}

.builder-layout {
  display: grid;
  grid-template-columns: minmax(300px, 380px) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.builder-controls,
.builder-stage,
.drawing-panel {
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(24, 37, 31, 0.04);
}

.builder-controls {
  position: sticky;
  top: 98px;
  display: grid;
  gap: 20px;
  padding: 24px;
}

.builder-panel-head h2 {
  margin: 0;
  font-size: 30px;
}

.builder-panel-head .eyebrow {
  margin-bottom: 8px;
}

.builder-fieldset {
  display: grid;
  gap: 14px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.builder-fieldset summary {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 42px;
  padding-right: 28px;
  color: var(--forest);
  font-size: 16px;
  font-weight: 900;
  cursor: pointer;
  list-style: none;
}

.builder-fieldset summary::-webkit-details-marker {
  display: none;
}

.builder-fieldset summary::after {
  content: "";
  position: absolute;
  right: 4px;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--orange);
  border-bottom: 2px solid var(--orange);
  transform: rotate(45deg);
  transition: transform 160ms ease;
}

.builder-fieldset[open] summary {
  margin-bottom: 14px;
}

.builder-fieldset[open] summary::after {
  transform: rotate(225deg);
}

.three {
  display: grid;
  grid-template-columns: 0.75fr 1fr 1fr;
  gap: 12px;
}

.segmented {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.segmented label {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--forest);
  cursor: pointer;
}

.segmented input {
  width: 16px;
  min-height: 16px;
  margin: 0 8px 0 0;
}

.builder-quote-link {
  width: 100%;
}

.board-type-list {
  display: grid;
  gap: 12px;
}

.board-type-card {
  display: grid;
  gap: 12px;
  padding: 14px;
  background: var(--paper);
  border: 1px solid var(--line);
}

.board-type-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.board-type-head strong {
  color: var(--forest);
  font-size: 14px;
  font-weight: 900;
}

.board-type-remove {
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--white);
  color: var(--forest);
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

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

.board-type-add {
  width: 100%;
}

.layer-spacing-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: end;
}

.quick-size-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.quick-size-grid .button {
  min-height: 42px;
  padding-inline: 10px;
  font-size: 12px;
  white-space: nowrap;
}

.layer-spacing-grid .button {
  min-height: 48px;
  padding-inline: 14px;
  white-space: nowrap;
}

.builder-stage {
  display: grid;
  gap: 0;
  overflow: hidden;
}

.builder-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  min-height: 78px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
}

.builder-toolbar div {
  display: grid;
  gap: 2px;
}

.builder-toolbar strong {
  font-size: 18px;
  font-weight: 900;
}

.builder-toolbar span,
.drawing-title span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.builder-toolbar span.is-warning {
  color: var(--orange);
}

.view-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 14px 18px 0;
  background: var(--paper);
}

.view-tabs button {
  min-height: 44px;
  border: 1px solid var(--line);
  border-bottom-color: transparent;
  border-radius: 4px 4px 0 0;
  background: rgba(255, 255, 255, 0.72);
  color: var(--forest);
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

.view-tabs button[aria-selected="true"] {
  background: var(--white);
  color: var(--orange);
}

.drawing-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  padding: 18px;
  background: var(--paper);
}

.drawing-panel {
  padding: 18px;
}

.drawing-title {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: baseline;
  margin-bottom: 14px;
}

.drawing-title h2 {
  margin: 0;
  font-size: 24px;
}

.pallet-canvas {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  border: 1px solid rgba(24, 37, 31, 0.24);
  background:
    linear-gradient(rgba(24, 37, 31, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(24, 37, 31, 0.07) 1px, transparent 1px),
    #faf8f1;
  background-size: 24px 24px;
  user-select: none;
  touch-action: none;
}

.top-canvas {
  aspect-ratio: 1 / 1;
  max-height: min(58svh, 620px);
}

.side-canvas {
  aspect-ratio: 3 / 0.72;
  max-height: 260px;
}

.pallet-footprint,
.inset-guide,
.pallet-board,
.dimension-label {
  position: absolute;
}

.pallet-footprint {
  border: 2px solid rgba(11, 49, 40, 0.45);
  background: rgba(220, 235, 226, 0.34);
}

.inset-guide {
  border: 1px dashed rgba(240, 90, 40, 0.62);
  pointer-events: none;
}

.pallet-board {
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(89, 51, 27, 0.32);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.14), transparent 34%, rgba(99, 54, 25, 0.08)),
    #b9864f;
  color: #321d11;
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
  cursor: grab;
}

.pallet-board.is-dragging {
  z-index: 10;
  cursor: grabbing;
  box-shadow: 0 12px 30px rgba(24, 37, 31, 0.28);
}

.pallet-board[data-board-type="bearer"] {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.12), transparent 38%, rgba(51, 28, 13, 0.12)),
    #8c5f34;
  color: #fff7ea;
}

.pallet-board[data-board-type="bottom"] {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.16), transparent 40%, rgba(51, 28, 13, 0.1)),
    #d5a066;
}

.pallet-board[data-board-type="top"] {
  z-index: 3;
}

.pallet-board[data-board-type="bearer"] {
  z-index: 2;
}

.pallet-board[data-board-type="bottom"] {
  z-index: 3;
}

.pallet-board[data-group-role="leading"] {
  outline: 2px solid rgba(240, 90, 40, 0.54);
  outline-offset: -2px;
}

.side-canvas .pallet-board {
  cursor: default;
}

.dimension-label {
  z-index: 5;
  padding: 4px 7px;
  background: var(--forest);
  color: var(--white);
  font-size: 10px;
  font-weight: 900;
  pointer-events: none;
}

.dimension-label.light {
  background: var(--orange);
}

@media (max-width: 940px) {
  .container {
    width: min(1180px, calc(100% - 32px));
  }

  .topbar {
    grid-template-columns: auto 1fr;
    justify-content: space-between;
    gap: 12px;
    min-height: 64px;
    padding: 0 16px;
  }

  .topbar nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 16px;
    right: 16px;
    display: none;
    justify-self: stretch;
    gap: 0;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 4px;
    background: rgba(245, 241, 232, 0.98);
    color: var(--ink);
    box-shadow: var(--shadow);
    backdrop-filter: blur(12px);
  }

  .topbar.is-menu-open nav {
    display: grid;
  }

  .topbar nav a {
    min-height: 44px;
    padding: 12px;
    border-radius: 3px;
  }

  .topbar nav a:hover,
  .topbar nav a:focus-visible {
    background: var(--mint);
  }

  .topbar-actions {
    justify-self: end;
  }

  .menu-toggle {
    display: grid;
  }

  .logo img {
    width: 118px;
  }

  .call-link {
    font-size: 13px;
    padding-inline: 14px;
  }

  .hero {
    min-height: auto;
    padding-top: 70px;
    padding-bottom: 0;
  }

  .hero-media {
    background-position: 62% center;
  }

  .hero-content {
    padding-top: 32px;
    padding-bottom: 38px;
  }

  .hero-layout {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .hero-lead {
    display: none;
  }

  h1 {
    font-size: clamp(42px, 13vw, 52px);
    overflow-wrap: anywhere;
  }

  h2,
  h3,
  p,
  li,
  summary,
  label,
  .button {
    overflow-wrap: anywhere;
  }

  .intro-grid,
  .section-head,
  .product-grid,
  .recycle-grid,
  .saving-grid,
  .timeline,
  .proof,
  .faq-grid,
  .quote-grid,
  .builder-hero-grid,
  .builder-layout,
  .two {
    grid-template-columns: 1fr;
  }

  .builder-hero {
    padding-top: 104px;
  }

  .builder-hero h1 {
    font-size: 44px;
  }

  .builder-controls {
    position: static;
  }

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

  .board-type-grid {
    grid-template-columns: 1fr;
  }

  .layer-spacing-grid {
    grid-template-columns: 1fr;
  }

  .quick-size-grid {
    grid-template-columns: 1fr;
  }

  .builder-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .trust-strip {
    min-height: auto;
  }

  .trust-grid {
    grid-template-columns: 1fr;
    gap: 0;
    min-height: auto;
    padding-top: 18px;
    padding-bottom: 18px;
  }

  .quote-strip {
    grid-template-columns: 1fr;
    margin-top: 6px;
    padding: 22px;
    overflow: hidden;
  }

  .quote-strip label,
  .review-form label,
  .field-group {
    min-width: 0;
  }

  .quote-strip select,
  .quote-strip input,
  .review-form select,
  .review-form input,
  .review-form textarea,
  .multi-select-trigger {
    min-width: 0;
    max-width: 100%;
  }

  .trust-item {
    min-height: 64px;
    padding: 10px 0;
    border-left: 0;
    border-bottom: 1px solid var(--line);
  }

  .trust-item:last-child {
    border-bottom: 0;
  }

  .section {
    padding: 70px 0;
  }

  .product-grid img {
    height: 260px;
  }

  .product-grid h3,
  .product-grid p {
    padding-inline: 20px;
  }

  h2 {
    font-size: 36px;
    overflow-wrap: anywhere;
  }

  .intro-grid,
  .recycle-grid,
  .saving-grid,
  .quote-grid {
    gap: 34px;
  }

  .proof-copy {
    padding: 52px 24px;
  }

  .proof {
    min-height: auto;
  }

  .proof-image img {
    height: 320px;
  }

  .faq-grid {
    gap: 30px;
  }

  .faq-list summary {
    padding-right: 48px;
  }

  .faq-list details p {
    padding-right: 22px;
  }

  .review-form {
    padding: 24px;
  }

  .form-actions {
    flex-wrap: wrap;
  }

  .form-actions .button {
    flex: 1 1 100%;
    min-width: 0;
  }

  .faq-intro {
    position: static;
  }

  .footer {
    align-items: center;
    flex-direction: column;
    padding-inline: 24px;
    text-align: center;
  }
}

@media (max-width: 520px) {
  .container {
    width: min(1180px, calc(100% - 24px));
  }

  .topbar {
    padding-inline: 12px;
  }

  .logo img {
    width: 112px;
  }

  .call-link {
    min-height: 34px;
    padding-inline: 12px;
    font-size: 12px;
  }

  .hero-content {
    padding-top: 24px;
  }

  h1 {
    font-size: clamp(38px, 12.5vw, 46px);
  }

  h2 {
    font-size: 32px;
  }

  .quote-strip,
  .review-form,
  .contact-card,
  .service-notes article,
  .timeline article,
  .confidence-grid article,
  .calculator {
    padding: 20px;
  }

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

  .section {
    padding: 58px 0;
  }

  .product-grid img {
    height: 230px;
  }

  .proof-copy {
    padding: 42px 20px;
  }

  .faq-list summary {
    padding-left: 18px;
    padding-right: 44px;
  }

  .faq-list details p {
    padding-left: 18px;
    padding-right: 18px;
  }
}

@media (max-width: 940px) {
  html,
  body,
  main,
  section,
  header,
  footer,
  nav,
  form,
  fieldset,
  article,
  div,
  ul,
  ol,
  li,
  img,
  picture,
  canvas,
  svg,
  input,
  select,
  textarea,
  button {
    max-width: 100% !important;
  }

  body * {
    min-width: 0 !important;
  }

  .container,
  .hero-content,
  .intro-grid,
  .section-head,
  .product-grid,
  .recycle-grid,
  .saving-grid,
  .timeline,
  .proof,
  .faq-grid,
  .quote-grid,
  .builder-hero-grid,
  .builder-layout,
  .two,
  .three,
  .trust-grid,
  .quote-strip,
  .review-form,
  .form-step,
  .form-progress,
  .service-notes,
  .confidence-grid,
  .calculator,
  .calculator-row,
  .contact-card {
    width: 100% !important;
    max-width: 100% !important;
  }

  .intro-grid,
  .section-head,
  .product-grid,
  .recycle-grid,
  .saving-grid,
  .timeline,
  .proof,
  .faq-grid,
  .quote-grid,
  .builder-hero-grid,
  .builder-layout,
  .two,
  .three,
  .trust-grid,
  .form-progress {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .hero-layout {
    width: 100% !important;
    max-width: 100% !important;
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .section-head h2,
  .saving-grid h2,
  .faq-intro h2,
  .quote-grid h2,
  h1,
  h2,
  h3,
  p,
  li,
  summary,
  label,
  strong,
  span {
    max-width: 100% !important;
    overflow-wrap: anywhere;
    word-break: normal;
  }

  .product-band,
  .saving-panel,
  .recycle-band,
  .quote-section,
  .faq,
  .section {
    overflow-x: clip;
  }

  .calculator-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }

  .calculator-row strong {
    max-width: 100%;
    text-align: left;
    overflow-wrap: anywhere;
  }

  .form-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }

  .form-actions .button,
  .review-form .button,
  .quote-strip button {
    width: 100%;
    min-width: 0 !important;
  }
}

@media (max-width: 520px) {
  .container {
    width: calc(100% - 24px) !important;
  }

  .section-head h2,
  .saving-grid h2,
  .faq-intro h2,
  .quote-grid h2 {
    font-size: clamp(30px, 10vw, 38px);
    line-height: 1.05;
  }

  .intro-copy,
  .saving-grid p,
  .quote-grid > div > p,
  .recycle-copy > p,
  .proof-copy p {
    font-size: 17px;
  }

  .product-grid article,
  .timeline article,
  .service-notes article,
  .confidence-grid article,
  .contact-card,
  .quote-strip,
  .review-form,
  .calculator {
    width: 100%;
    max-width: 100% !important;
  }
}

body.layout-debug *,
body.layout-debug *::before,
body.layout-debug *::after {
  outline: 1px solid rgba(0, 120, 255, 0.45) !important;
}

body.layout-debug header,
body.layout-debug main,
body.layout-debug footer,
body.layout-debug section {
  outline: 3px solid rgba(240, 90, 40, 0.9) !important;
}

body.layout-debug .container,
body.layout-debug .hero-content,
body.layout-debug .intro-grid,
body.layout-debug .section-head,
body.layout-debug .product-grid,
body.layout-debug .saving-grid,
body.layout-debug .recycle-grid,
body.layout-debug .faq-grid,
body.layout-debug .quote-grid,
body.layout-debug .review-form,
body.layout-debug .quote-strip,
body.layout-debug .calculator,
body.layout-debug .contact-card,
body.layout-debug .service-notes,
body.layout-debug .timeline,
body.layout-debug .proof {
  outline: 3px dashed rgba(229, 184, 74, 0.95) !important;
}

body.layout-debug .is-overflowing {
  outline: 4px solid #ff1744 !important;
  box-shadow: inset 0 0 0 2px rgba(255, 23, 68, 0.45), 0 0 0 2px rgba(255, 23, 68, 0.45) !important;
}

.layout-debug-panel {
  position: fixed;
  z-index: 9999;
  right: 10px;
  bottom: 10px;
  width: min(420px, calc(100vw - 20px));
  max-height: 46vh;
  overflow: auto;
  padding: 12px;
  border: 2px solid #ff1744;
  background: rgba(5, 5, 5, 0.92);
  color: #fff;
  font-family: Arial, sans-serif;
  font-size: 12px;
  line-height: 1.35;
}

.layout-debug-panel strong {
  display: block;
  margin-bottom: 8px;
  color: #ffd166;
}

.layout-debug-panel ol {
  margin: 0;
  padding-left: 18px;
}

.layout-debug-panel li {
  margin-bottom: 7px;
  overflow-wrap: anywhere;
}
