/* Kiwi Screw Piles. Brand: green #1E9E5A, charcoal #1F2A30, Archivo (variable weight and width). */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-var.woff2") format("woff2-variations"), url("../fonts/archivo-var.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}

:root {
  --green: #1E9E5A;
  --green-d: #167A45;
  --green-dd: #0F5C33;
  --green-l: #E6F4EC;
  --green-glow: #45D18A;
  --ink: #1F2A30;
  --ink-2: #26343B;
  --ink-3: #34444C;
  --ink-deep: #151D21;
  --muted: #56656C;
  --line: #DCE3E0;
  --paper: #F4F2ED;
  --white: #fff;
  --steel: #C5CED2;
  --amber: #F2B53A;

  --wrap: 1200px;
  --gutter: clamp(1rem, 4vw, 2rem);
  --radius: 10px;
  --shadow: 0 1px 2px rgba(21, 29, 33, .06), 0 8px 24px rgba(21, 29, 33, .08);
  --shadow-lg: 0 2px 4px rgba(21, 29, 33, .08), 0 24px 48px rgba(21, 29, 33, .16);
  --cut: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --logo-colour: var(--green);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  font-family: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  font-variant-numeric: tabular-nums;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--green-d); text-underline-offset: .18em; }
a:hover { color: var(--green-dd); }
h1, h2, h3 { margin: 0 0 .5em; line-height: 1.08; font-weight: 800; font-stretch: 80%; letter-spacing: -.01em; }
h1 { font-size: clamp(2.4rem, 5.4vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); }
h3 { font-size: 1.3rem; font-stretch: 88%; letter-spacing: 0; line-height: 1.2; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--green-glow); outline-offset: 2px; border-radius: 3px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -100px; z-index: 100; background: var(--ink); color: #fff; padding: .6rem 1rem; border-radius: 6px; }
.skip:focus { top: 1rem; }

.icon { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon-xs { width: .85em; height: .85em; }

.eyebrow { margin: 0 0 .9rem; font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--green-d); display: flex; align-items: center; gap: .6rem; }
.eyebrow::before { content: ""; width: 22px; height: 6px; background: var(--green); transform: skewY(-14deg); flex: none; }
.eyebrow-light { color: var(--green-glow); }
.lede { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.55; color: var(--muted); max-width: 46rem; }
.fineprint { font-size: .85rem; color: var(--muted); }
.text-link { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; text-decoration: none; }
.text-link .icon { transition: transform .2s var(--ease); }
.text-link:hover .icon { transform: translateX(4px); }

/* Buttons */
.btn {
  --bg: var(--ink); --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .85rem 1.35rem; border: 0; border-radius: 4px;
  background: var(--bg); color: var(--fg);
  font: inherit; font-weight: 700; font-size: 1rem; line-height: 1.1; text-decoration: none; cursor: pointer;
  transition: background-color .2s, color .2s, box-shadow .2s, transform .2s var(--ease);
}
.btn:hover { color: var(--fg); transform: translateY(-1px); }
.btn:active { transform: none; }
.btn .icon { transition: transform .2s var(--ease); }
.btn:hover .icon:last-child { transform: translateX(3px); }
.btn-primary { --bg: var(--green); clip-path: var(--cut); border-radius: 0; }
.btn-primary:hover { --bg: var(--green-d); }
.btn-light { --bg: #fff; --fg: var(--green-dd); clip-path: var(--cut); border-radius: 0; }
.btn-light:hover { --bg: var(--ink); --fg: #fff; }
.btn-ghost { --bg: transparent; --fg: var(--ink); box-shadow: inset 0 0 0 1.5px currentColor; }
.btn-ghost:hover { --bg: var(--ink); --fg: #fff; box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-outline-light { --bg: transparent; --fg: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .55); }
.btn-outline-light:hover { --bg: #fff; --fg: var(--ink); }
.btn-large { padding: 1.05rem 1.6rem; font-size: 1.06rem; }
.btn-small { padding: .6rem 1rem; font-size: .92rem; }
.btn-block { width: 100%; }

/* Top bar and header */
.topbar { background: var(--ink-deep); color: rgba(255, 255, 255, .78); font-size: .84rem; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 38px; }
.topbar p { margin: 0; }
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { color: var(--green-glow); }
.topbar-contact { display: flex; gap: 1.5rem; list-style: none; margin: 0; padding: 0; }
.topbar-contact li, .topbar-contact a { display: inline-flex; align-items: center; gap: .4rem; }
.topbar-contact .icon { color: var(--green-glow); }

/* The header never changes height, so nothing below it moves while scrolling. Once it sticks it slides up by
   --shrink (negative sticky top), its contents move down half that and the logo scales: transform-type properties
   only, which the browser animates without re-laying out the page. site.js sets .is-scrolled. */
.site-header { --shrink: 12px; position: sticky; top: calc(var(--shrink) * -1); z-index: 50; background: rgba(255, 255, 255, .96); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid transparent; transition: box-shadow .35s, border-color .35s; }
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px rgba(21, 29, 33, .08); }
.header-marker { height: 1px; margin-bottom: -1px; }
.header-inner { display: flex; align-items: center; gap: 2rem; min-height: 80px; }
.brand, .nav-toggle { transition: translate .45s var(--ease); }
.header-cta { transition: background-color .2s, color .2s, box-shadow .2s, transform .2s var(--ease), translate .45s var(--ease); }
.is-scrolled :is(.brand, .nav-toggle, .header-cta) { translate: 0 calc(var(--shrink) / 2); }
.brand { flex: none; display: block; }
.brand .logo { height: 52px; width: auto; transform-origin: left center; transition: scale .45s var(--ease); }
.is-scrolled .brand .logo { scale: .85; }
@media (min-width: 961px) {
  .nav { transition: translate .45s var(--ease); }
  .is-scrolled .nav { translate: 0 calc(var(--shrink) / 2); }
}
/* One-colour logo (templates/partials/logo.php fills with currentColor): green, or white on dark (--logo-colour). */
.logo { color: var(--logo-colour); }

.nav { margin-left: auto; display: flex; align-items: center; gap: 1.5rem; }
.nav ul { display: flex; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.nav a { display: block; padding: .5rem .8rem; color: var(--ink); font-weight: 600; text-decoration: none; position: relative; border-radius: 4px; }
.nav a.btn { color: var(--fg); }
.nav ul a::after { content: ""; position: absolute; left: .8rem; right: .8rem; bottom: .2rem; height: 3px; background: var(--green); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.nav ul a:hover::after, .nav ul a[aria-current]::after { transform: scaleX(1); }
.nav-phone, .nav-quote { display: none !important; }
.nav-toggle { display: none; margin-left: auto; width: 46px; height: 46px; border: 0; border-radius: 6px; background: var(--paper); color: var(--ink); cursor: pointer; place-items: center; }
.nav-toggle .icon { width: 24px; height: 24px; }
.nav-toggle .icon-close, .nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

/* Sections */
.section { padding-block: clamp(4rem, 8vw, 6.5rem); position: relative; }
.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.section-head p:not(.eyebrow) { color: var(--muted); font-size: 1.12rem; }
.section-head-row { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 1rem 2rem; flex-wrap: wrap; }
.section-head-row h2 { margin: 0; }
.h-section { font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin-bottom: 1.5rem; }
.h-small { font-size: 1.05rem; font-stretch: 90%; text-transform: uppercase; letter-spacing: .08em; margin: 2rem 0 .8rem; }

.hero-grid-bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px);
  background-size: 96px 96px, 96px 96px, 24px 24px, 24px 24px;
  mask-image: radial-gradient(ellipse at 70% 40%, #000 30%, transparent 80%);
}

/* Hero */
.hero { position: relative; overflow: hidden; background: radial-gradient(1200px 600px at 80% 10%, rgba(30, 158, 90, .22), transparent 60%), var(--ink-deep); color: #fff; }
.hero-inner { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; padding-block: clamp(3rem, 7vw, 5.5rem) clamp(3rem, 6vw, 4.5rem); }
.hero h1 { font-size: clamp(2.7rem, 6vw, 5rem); font-stretch: 74%; line-height: .98; margin-bottom: 1.4rem; }
.hero h1 span { display: block; color: var(--green-glow); }
.hero .lede { color: rgba(255, 255, 255, .78); margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 2rem; }
.hero-points { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; list-style: none; margin: 0; padding: 0; font-size: .95rem; color: rgba(255, 255, 255, .85); }
.hero-points li { display: inline-flex; align-items: center; gap: .45rem; }
.hero-points .icon { color: var(--green-glow); stroke-width: 2.4; }

/* The pile scene */
.pile-scene { position: relative; }
.pile-svg { width: 100%; height: auto; border-radius: 14px; overflow: hidden; }
.pile-svg text { font-family: "Archivo", sans-serif; }
.soil-top { fill: #4A3A2C; }
.soil-clay { fill: #77593E; }
.soil-sand { fill: #9C7B56; }
.soil-gravel { fill: #625B51; }
#dots-a circle { fill: rgba(0, 0, 0, .22); }
#dots-b circle { fill: rgba(255, 255, 255, .12); }
#dash-c path { stroke: rgba(0, 0, 0, .18); stroke-width: 2; stroke-linecap: round; }
.grass { fill: #2C8A4D; }
.grass-tufts { fill: none; stroke: #2C8A4D; stroke-width: 3; stroke-linejoin: round; }
.scale path { stroke: rgba(255, 255, 255, .7); stroke-width: 1.5; }
.scale text { fill: rgba(255, 255, 255, .85); font-size: 12px; font-weight: 600; }
.layer-names text { fill: rgba(255, 255, 255, .55); font-size: 11px; font-weight: 700; letter-spacing: .14em; }
.layer-names .bearing { fill: var(--green-glow); }
.cap { fill: #D3DBDE; stroke: #6F7D84; stroke-width: 1.5; }
.tip { fill: #8F9BA1; }
.threads path { stroke: rgba(31, 42, 48, .28); stroke-width: 3; }
.helix polygon { fill: var(--green); }
.helix-back polygon { fill: #12693B; }
.hose { stroke: #0E1417; stroke-width: 7; fill: none; }
.head-body { fill: #2C3A41; stroke: #0E1417; stroke-width: 2; }
.head-band { fill: var(--green); }
.head-collar { fill: #3E4F57; stroke: #0E1417; stroke-width: 1.5; }
.spoil circle { fill: #7E5F41; opacity: 0; }
.is-driving .spoil circle { animation: spoil .7s ease-out infinite; }
.is-driving .spoil circle:nth-child(2n) { animation-delay: .2s; }
.is-driving .spoil circle:nth-child(3n) { animation-delay: .45s; }
@keyframes spoil {
  0% { opacity: 0; transform: translate(0, 0); }
  20% { opacity: 1; }
  100% { opacity: 0; transform: translate(var(--sx, 8px), -18px); }
}
.spoil circle:nth-child(odd) { --sx: -10px; }
.is-done .cap { animation: capglow 1.6s ease-out 1; }
@keyframes capglow { 0% { fill: var(--green-glow); } 100% { fill: #D3DBDE; } }

.pile-log {
  position: absolute; top: 3%; right: 3%; width: min(44%, 230px);
  padding: .9rem 1rem; border-radius: 10px;
  background: rgba(21, 29, 33, .78); backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, .12); color: #fff; font-size: .85rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .3);
}
.pile-log-title { display: flex; align-items: center; gap: .45rem; margin: 0 0 .6rem; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: rgba(255, 255, 255, .7); }
.pile-log-title .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green-glow); box-shadow: 0 0 0 0 rgba(69, 209, 138, .7); }
.is-driving .pile-log-title .dot { background: #ff6a4d; animation: rec 1s infinite; }
@keyframes rec { 0% { box-shadow: 0 0 0 0 rgba(255, 106, 77, .7); } 100% { box-shadow: 0 0 0 8px rgba(255, 106, 77, 0); } }
.pile-log dl { margin: 0; display: grid; gap: .25rem; }
.pile-log dl div { display: flex; justify-content: space-between; gap: .5rem; align-items: baseline; }
.pile-log dt { color: rgba(255, 255, 255, .65); }
.pile-log dt small { font-size: .72rem; }
.pile-log dd { margin: 0; font-weight: 700; font-stretch: 90%; font-size: 1rem; }
.pile-log-bar { height: 6px; margin: .7rem 0 .55rem; border-radius: 3px; background: rgba(255, 255, 255, .14); overflow: hidden; }
.pile-log-bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--green), var(--green-glow)); border-radius: inherit; }
.pile-log-status { margin: 0; display: flex; gap: .4rem; align-items: flex-start; font-size: .8rem; line-height: 1.35; color: var(--green-glow); min-height: 2.2em; }
.pile-log-status .icon { stroke-width: 2.6; margin-top: .05em; }
.is-driving .pile-log-status { color: rgba(255, 255, 255, .7); }
.pile-replay { position: absolute; right: 3%; bottom: calc(3% + 2.2rem); display: inline-flex; align-items: center; gap: .4rem; padding: .5rem .8rem; border: 1px solid rgba(255, 255, 255, .3); border-radius: 999px; background: rgba(21, 29, 33, .7); color: #fff; font: inherit; font-size: .82rem; font-weight: 600; cursor: pointer; backdrop-filter: blur(4px); }
.pile-replay:hover { background: var(--green); border-color: var(--green); }
.pile-replay[hidden] { display: none; }

/* Proof strip */
.proof { background: var(--green); color: #fff; position: relative; overflow: hidden; }
.proof::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(-14deg, transparent 0 46px, rgba(255, 255, 255, .06) 46px 70px); }
.proof-list { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); list-style: none; margin: 0 auto; padding-block: 1.6rem; }
.proof-list li { display: flex; flex-direction: column; padding-inline: 1.25rem; border-left: 1px solid rgba(255, 255, 255, .25); }
.proof-list li:first-child { border-left: 0; padding-left: 0; }
.proof-list strong { font-size: clamp(1.35rem, 2.4vw, 1.9rem); font-stretch: 78%; font-weight: 800; line-height: 1.1; }
.proof-list span { font-size: .92rem; opacity: .9; }

/* Benefits */
.why { background: var(--paper); }
.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; list-style: none; margin: 0; padding: 0; }
.benefit { background: #fff; border-radius: var(--radius); padding: 1.6rem 1.5rem 1.3rem; border: 1px solid var(--line); transition: transform .3s var(--ease), box-shadow .3s; }
.benefit:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.benefit h3 { margin: 1rem 0 .4rem; }
.benefit p { margin: 0; color: var(--muted); font-size: 1rem; }
.benefit-icon, .info-icon { display: grid; place-items: center; width: 52px; height: 52px; background: var(--green-l); color: var(--green-d); clip-path: var(--cut); }
.benefit-icon .icon, .info-icon .icon { width: 26px; height: 26px; }

/* Timeline */
.timeline { margin: clamp(2.5rem, 5vw, 4rem) 0 0; background: var(--ink); color: #fff; border-radius: 14px; padding: clamp(1.25rem, 3vw, 2rem); }
.timeline figcaption { margin-bottom: 1.25rem; color: rgba(255, 255, 255, .7); font-size: .95rem; }
.timeline figcaption strong { color: #fff; font-size: 1.15rem; margin-right: .4rem; }
.timeline-grid { display: grid; grid-template-columns: 140px repeat(6, 1fr); gap: .6rem 0; align-items: center; }
.tl-head { font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .5); padding-left: .5rem; border-left: 1px dashed rgba(255, 255, 255, .15); }
.tl-head:first-child { border: 0; }
.tl-label { font-weight: 700; font-stretch: 88%; font-size: 1.05rem; }
.tl-track { grid-column: 2 / -1; position: relative; height: 48px; background: repeating-linear-gradient(90deg, transparent 0 calc(100% / 6 - 1px), rgba(255, 255, 255, .1) calc(100% / 6 - 1px) calc(100% / 6)); border-radius: 6px; }
.tl-seg { position: absolute; top: 4px; bottom: 4px; left: calc(var(--from) / 6 * 100% + 3px); width: calc(var(--span) / 6 * 100% - 6px); display: flex; align-items: center; gap: .4rem; padding: 0 .75rem; border-radius: 5px; font-size: .85rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tl-dig { background: #8A6A4B; }
.tl-pour { background: #77858C; }
.tl-cure { background: repeating-linear-gradient(-45deg, #3D4B52 0 8px, #34424A 8px 16px); color: rgba(255, 255, 255, .75); font-style: italic; }
.tl-build { background: #fff; color: var(--ink); }
.tl-install { background: var(--green); }
.tl-go { background: linear-gradient(90deg, var(--green-glow), rgba(69, 209, 138, .15)); color: var(--ink-deep); }
.js .timeline .tl-seg { transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease); }
.js .timeline.is-in .tl-seg { transform: none; }
.js .timeline.is-in .tl-seg:nth-child(2) { transition-delay: .25s; }
.js .timeline.is-in .tl-seg:nth-child(3) { transition-delay: .5s; }
.js .timeline.is-in .tl-seg:nth-child(4) { transition-delay: .9s; }

/* Applications */
.app-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; list-style: none; margin: 0; padding: 0; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.app a { display: flex; flex-direction: column; height: 100%; padding: 1.75rem 1.6rem; background: #fff; color: inherit; text-decoration: none; position: relative; transition: background-color .25s; }
.app a::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--green); transform: scaleY(0); transform-origin: bottom; transition: transform .3s var(--ease); }
.app a:hover { background: #FAFCFB; }
.app a:hover::before { transform: scaleY(1); }
.app-icon { color: var(--green-d); }
.app-icon .icon { width: 40px; height: 40px; stroke-width: 1.5; }
.app h3 { margin: 1rem 0 .4rem; }
.app p { color: var(--muted); font-size: .98rem; margin-bottom: 1rem; }
.app-more { margin-top: auto; display: inline-flex; align-items: center; gap: .35rem; font-weight: 700; font-size: .9rem; color: var(--green-d); }
.app a:hover .app-more .icon { transform: translateX(3px); }
.app-more .icon { transition: transform .2s var(--ease); }

/* Estimator teaser */
.estimator-teaser { background: var(--ink-deep); color: #fff; overflow: hidden; }
.estimator-teaser p:not(.eyebrow) { color: rgba(255, 255, 255, .75); }
.teaser-grid { position: relative; display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.mini-est { background: var(--ink-2); border: 1px solid rgba(255, 255, 255, .08); border-radius: 14px; padding: clamp(1.1rem, 2.5vw, 1.6rem); box-shadow: var(--shadow-lg); }
.seg { display: flex; flex-wrap: wrap; gap: .4rem; border: 0; margin: 0 0 1.2rem; padding: 0; }
.seg-opt input { position: absolute; opacity: 0; pointer-events: none; }
.seg-opt span { display: block; padding: .5rem .85rem; border-radius: 999px; background: rgba(255, 255, 255, .07); color: rgba(255, 255, 255, .85); font-size: .9rem; font-weight: 600; cursor: pointer; transition: background-color .2s, color .2s; }
.seg-opt span:hover { background: rgba(255, 255, 255, .14); }
.seg-opt input:checked + span { background: var(--green); color: #fff; }
.seg-opt input:focus-visible + span { outline: 3px solid var(--green-glow); outline-offset: 2px; }
.sliders { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; margin-bottom: 1.2rem; }
.slider span { display: block; font-size: .9rem; color: rgba(255, 255, 255, .7); margin-bottom: .35rem; }
.slider output { color: #fff; font-weight: 700; font-size: 1.05rem; }
.mini-out { display: grid; grid-template-columns: 1.4fr 1fr; gap: 1rem; align-items: center; }
.mini-plan { color: rgba(255, 255, 255, .9); background: rgba(0, 0, 0, .18); border-radius: 10px; padding: .4rem; min-height: 150px; display: grid; place-items: center; }
.mini-stats { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
.mini-stats div.wide { grid-column: 1 / -1; }
.mini-stats dt { font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: rgba(255, 255, 255, .55); }
.mini-stats dd { margin: 0; font-size: clamp(1.4rem, 2.6vw, 2rem); font-weight: 800; font-stretch: 78%; line-height: 1.1; }
.mini-stats .wide dd { color: var(--green-glow); }

/* Range inputs */
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; background: transparent; cursor: pointer; --p: 50%; }
input[type="range"]::-webkit-slider-runnable-track { height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--green) var(--p), rgba(127, 140, 146, .35) var(--p)); }
input[type="range"]::-moz-range-track { height: 6px; border-radius: 3px; background: rgba(127, 140, 146, .35); }
input[type="range"]::-moz-range-progress { height: 6px; border-radius: 3px; background: var(--green); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; margin-top: -8px; border-radius: 50%; background: #fff; border: 4px solid var(--green); box-shadow: 0 2px 6px rgba(0, 0, 0, .3); transition: transform .15s; }
input[type="range"]::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 4px solid var(--green); box-shadow: 0 2px 6px rgba(0, 0, 0, .3); }
input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.15); }

/* Plan drawing */
.plan { width: 100%; height: auto; overflow: visible; }
.plan text { font-family: "Archivo", sans-serif; }
.plan-outline { fill: rgba(30, 158, 90, .09); stroke: var(--green); stroke-width: 1.5; stroke-dasharray: 6 4; }
.plan-bearer { stroke: currentColor; stroke-opacity: .3; stroke-width: 3; }
.plan-pile { fill: currentColor; animation: pop .4s var(--ease) both; animation-delay: min(calc(var(--i) * 12ms), 700ms); transform-box: fill-box; transform-origin: center; }
@keyframes pop { from { transform: scale(0); opacity: 0; } to { transform: none; opacity: 1; } }
.plan .dwg-dim path { stroke: currentColor; stroke-opacity: .55; stroke-width: 1; fill: none; }
.plan .dwg-text { fill: currentColor; font-size: 19px; font-weight: 700; }
.plan-spacing { fill: var(--green); font-size: 17px; font-weight: 700; }
.estimator-teaser .plan-spacing, .est-card .plan-spacing { fill: var(--green-glow); }

/* Process */
.process { background: var(--paper); }
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.25rem; list-style: none; margin: 0; padding: 0; position: relative; counter-reset: step; }
.steps::before { content: ""; position: absolute; top: 22px; left: 22px; right: 10%; height: 2px; background: repeating-linear-gradient(90deg, var(--green) 0 10px, transparent 10px 18px); }
.step { position: relative; }
.step-num { position: relative; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--green); color: #fff; font-weight: 800; font-size: 1.15rem; box-shadow: 0 0 0 6px var(--paper); }
.step h3 { margin: 1.2rem 0 .4rem; }
.step p { margin: 0; color: var(--muted); font-size: .98rem; }

/* Product cards */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.4rem; }
.product-grid-3 { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.product-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s; }
.product-card[hidden] { display: none; }
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.product-card-art {
  position: relative; display: grid; place-items: center; height: 250px; padding: 1rem;
  background-color: #F3F6F5;
  background-image: linear-gradient(rgba(31, 42, 48, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(31, 42, 48, .06) 1px, transparent 1px);
  background-size: 20px 20px; border-bottom: 1px solid var(--line);
}
.product-card-art .dwg { height: 100%; width: auto; transition: transform .5s var(--ease); }
.product-card:hover .dwg { transform: scale(1.04); }
.product-code { position: absolute; top: .8rem; left: .8rem; padding: .25rem .55rem; background: var(--ink); color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: .1em; border-radius: 3px; }
.product-card-body { display: flex; flex-direction: column; flex: 1; padding: 1.25rem 1.3rem 1.4rem; }
.product-card-body .eyebrow { margin-bottom: .5rem; font-size: .72rem; }
.product-card-body .eyebrow::before { width: 14px; height: 4px; }
.product-card h3 { margin: 0 0 .35rem; }
.product-card h3 a { color: inherit; text-decoration: none; }
.product-card h3 a::after { content: ""; position: absolute; inset: 0; }
.product-card { position: relative; }
.product-card-body > p { color: var(--muted); font-size: .98rem; margin-bottom: .9rem; }
.product-card-body .btn { position: relative; z-index: 1; align-self: flex-start; }
.product-card-foot { margin-top: auto; display: flex; flex-direction: column; gap: .25rem; padding: .9rem 0; border-top: 1px dashed var(--line); }
.availability { display: flex; gap: .7rem; margin: 0; font-size: .8rem; color: var(--muted); }
.availability span { display: inline-flex; align-items: center; gap: .25rem; }
.chips { display: flex; flex-wrap: wrap; gap: .35rem; list-style: none; margin: 0 0 1rem; padding: 0; }
.chips li { padding: .2rem .6rem; background: var(--paper); border-radius: 999px; font-size: .8rem; font-weight: 600; color: var(--ink-3); }
.chips-large li { font-size: .9rem; padding: .35rem .8rem; }

/* Technical drawings */
.dwg text { font-family: "Archivo", sans-serif; }
.dwg-steel { fill: var(--steel); stroke: var(--ink); stroke-width: 1.5; stroke-linejoin: round; }
.dwg-flight { fill: var(--green); stroke: var(--green-dd); stroke-width: 1.2; stroke-linejoin: round; }
.dwg-shine { stroke: rgba(255, 255, 255, .8); stroke-width: 2.5; stroke-linecap: round; }
.dwg-dim path { stroke: var(--ink); stroke-opacity: .55; stroke-width: 1; fill: none; }
.dwg-text { fill: var(--ink); font-size: 11.5px; font-weight: 700; letter-spacing: .04em; }
.dwg-label { fill: var(--muted); font-size: 10px; letter-spacing: .12em; }
.dwg-bolt { fill: var(--ink); }
.dwg-hole { fill: #fff; stroke: var(--green-dd); stroke-width: 1.2; }
.dwg-hidden { fill: none; stroke: var(--ink); stroke-opacity: .5; stroke-dasharray: 4 3; }
.dwg-timber { fill: #DDBF92; stroke: #A4824F; stroke-width: 1.2; }
.dwg-ghost { opacity: .35; }
.dwg-thread { stroke: var(--ink); stroke-opacity: .55; stroke-width: 1.2; }

/* Compare table */
.compare { background: var(--paper); }
.table-scroll { overflow-x: auto; border-radius: var(--radius); box-shadow: var(--shadow); }
.compare-table { width: 100%; min-width: 620px; border-collapse: collapse; background: #fff; }
.compare-table th, .compare-table td { padding: 1rem 1.25rem; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare-table thead th { font-size: 1.15rem; font-stretch: 85%; background: var(--ink); color: #fff; }
.compare-table thead th.us { background: var(--green); }
.compare-table tbody th { font-weight: 600; color: var(--muted); width: 26%; }
.compare-table td.us { background: var(--green-l); font-weight: 700; color: var(--green-dd); }
.compare-table td.us .icon { display: inline; vertical-align: -.2em; stroke-width: 2.6; margin-right: .2rem; }
.compare-table tbody tr:last-child > * { border-bottom: 0; }

/* Family stack */
.family-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.family-copy p:not(.eyebrow) { color: var(--muted); font-size: 1.1rem; }
.stack { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.stack-layer { --w: 100%; width: var(--w); margin-inline: auto; transition: transform .3s var(--ease); }
.stack-layer:nth-child(1) { --w: 70%; }
.stack-layer:nth-child(2) { --w: 80%; }
.stack-layer:nth-child(3) { --w: 90%; }
.stack-layer a, .stack-layer > div { display: flex; align-items: center; gap: 1.2rem; padding: .9rem 1.2rem; background: #fff; border: 1px solid var(--line); border-radius: 8px; color: var(--muted); text-decoration: none; font-size: .9rem; box-shadow: var(--shadow); }
.stack-layer a:hover { border-color: var(--green); color: var(--ink); }
.stack-layer:hover { transform: translateX(6px); }
.stack-layer img { height: 46px; width: 120px; object-fit: contain; object-position: left center; flex: none; }
.stack-layer span { display: inline-flex; align-items: center; gap: .35rem; }
.stack-base > div { background: var(--ink); border-color: var(--ink); color: rgba(255, 255, 255, .8); --logo-colour: #fff; position: relative; overflow: hidden; }
.stack-base > div::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: repeating-linear-gradient(-45deg, var(--green) 0 8px, transparent 8px 16px); }
.stack-base .logo { height: 46px; width: 120px; flex: none; }

/* FAQ */
.faq-teaser { background: var(--paper); }
.faq-teaser-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.faq-list { display: grid; gap: .6rem; }
.faq { background: #fff; border: 1px solid var(--line); border-radius: 8px; transition: border-color .2s, box-shadow .2s; }
.faq[open] { border-color: var(--green); box-shadow: var(--shadow); }
.faq summary { position: relative; padding: 1.1rem 3.2rem 1.1rem 1.25rem; font-weight: 700; font-size: 1.06rem; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after { content: ""; position: absolute; right: 1.25rem; top: 50%; width: 14px; height: 2px; background: var(--green); transition: transform .25s var(--ease); }
.faq summary::after { transform: rotate(90deg); }
.faq[open] summary::after { transform: rotate(0); }
.faq-a { padding: 0 1.25rem 1.1rem; color: var(--muted); }
.faq-a p:last-child { margin-bottom: 0; }

/* CTA band */
.cta-band { position: relative; overflow: hidden; background: var(--green); color: #fff; padding-block: clamp(3rem, 6vw, 4.5rem); }
.cta-bars, .footer-bars { position: absolute; inset: 0; pointer-events: none; }
.cta-bars span, .footer-bars span { position: absolute; right: -5%; width: 46%; height: 54px; background: rgba(255, 255, 255, .1); transform: skewY(-14deg); }
.cta-bars span:first-child { top: 30%; }
.cta-bars span:last-child { top: 62%; right: -1%; width: 40%; }
.cta-inner { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; }
.cta-inner h2 { margin-bottom: .3rem; }
.cta-inner p { margin: 0; font-size: 1.12rem; opacity: .92; max-width: 40rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: .8rem; }

/* Footer */
.site-footer { position: relative; overflow: hidden; background: var(--ink-deep); color: rgba(255, 255, 255, .72); font-size: .95rem; --logo-colour: #fff; }
.footer-bars span { background: rgba(30, 158, 90, .08); }
.footer-bars span:first-child { top: 18%; }
.footer-bars span:last-child { top: 34%; width: 38%; right: -2%; }
.footer-grid { position: relative; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 2.5rem; padding-block: 4rem 2.5rem; }
.footer-logo .logo { height: 64px; width: auto; margin-bottom: 1.2rem; }
.footer-brand p { max-width: 22rem; }
.footer-col h2 { font-size: .8rem; font-stretch: 100%; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 1rem; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.site-footer a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.site-footer a:hover { color: var(--green-glow); }
.footer-contact li, .footer-contact a { display: flex; gap: .6rem; align-items: flex-start; }
.footer-contact .icon { color: var(--green-glow); margin-top: .2em; }
.footer-family { position: relative; display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; padding-block: 1.6rem; border-top: 1px solid rgba(255, 255, 255, .1); }
.footer-family p { margin: 0; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; }
.footer-family ul { display: flex; flex-wrap: wrap; gap: .8rem; list-style: none; margin: 0; padding: 0; }
.footer-family a { display: grid; place-items: center; height: 56px; padding: .5rem .9rem; background: #fff; border-radius: 6px; transition: transform .2s var(--ease); }
.footer-family a:hover { transform: translateY(-2px); }
.footer-family img { height: 38px; width: auto; }
.footer-legal { position: relative; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-block: 1.25rem 2rem; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .82rem; color: rgba(255, 255, 255, .5); }
.footer-legal p { margin: 0; }

/* Inner page hero */
.page-hero { position: relative; overflow: hidden; background: radial-gradient(900px 400px at 85% 0%, rgba(30, 158, 90, .22), transparent 60%), var(--ink-deep); color: #fff; padding-block: clamp(3.5rem, 7vw, 5.5rem); }
.page-hero .wrap { position: relative; }
.page-hero h1 { max-width: 18ch; font-stretch: 76%; }
.page-hero .lede { color: rgba(255, 255, 255, .75); margin: 0; }
.page-hero .lede a { color: var(--green-glow); }
.page-hero-tight { padding-block: clamp(3rem, 5vw, 4rem); }
.page-hero-tight h1 { max-width: 24ch; font-size: clamp(2.2rem, 4.6vw, 3.6rem); }
.page-hero::after { content: ""; position: absolute; right: 6%; bottom: -30px; width: 220px; height: 120px; background: linear-gradient(var(--green), var(--green)) 0 0 / 100% 34px no-repeat, linear-gradient(var(--green), var(--green)) 18px 64px / 86% 34px no-repeat; transform: skewY(-14deg); opacity: .5; }

/* Products page */
.filter { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1rem; }
.filter-chip { display: inline-flex; align-items: center; gap: .5rem; padding: .55rem 1rem; border: 1.5px solid var(--line); border-radius: 999px; color: var(--ink); font-weight: 600; text-decoration: none; transition: border-color .2s, background-color .2s, color .2s; }
.filter-chip span { display: grid; place-items: center; min-width: 1.5em; height: 1.5em; padding: 0 .35em; border-radius: 999px; background: var(--paper); font-size: .78rem; }
.filter-chip:hover { border-color: var(--ink); color: var(--ink); }
.filter-chip[aria-current] { background: var(--ink); border-color: var(--ink); color: #fff; }
.filter-chip[aria-current] span { background: var(--green); color: #fff; }
.filter-blurb { color: var(--muted); margin-bottom: 2rem; }
.split-info { background: var(--paper); }
.split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.info-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.5rem, 3vw, 2.2rem); }
.info-card h2 { font-size: 1.7rem; margin: 1.1rem 0 .6rem; }
.info-card p { color: var(--muted); }

/* Product detail */
.crumbs { padding-top: 1.4rem; font-size: .88rem; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: .3rem; list-style: none; margin: 0; padding: 0; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: .3rem; opacity: .5; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--green-d); }
.product-detail { padding-top: 2rem; }
.product-detail-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.product-sheet { position: sticky; top: 100px; }
.sheet-frame {
  position: relative; border: 2px solid var(--ink); border-radius: 4px; padding: 2rem 2rem 4.5rem; aspect-ratio: 4 / 5;
  background-color: #F3F6F5;
  background-image: linear-gradient(rgba(31, 42, 48, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(31, 42, 48, .07) 1px, transparent 1px);
  background-size: 24px 24px; display: grid; place-items: center;
}
.sheet-frame::before { content: ""; position: absolute; inset: 8px; border: 1px solid rgba(31, 42, 48, .35); pointer-events: none; }
.sheet-frame .dwg { width: 100%; height: 100%; }
.sheet-block { position: absolute; right: 8px; bottom: 8px; display: grid; grid-template-columns: auto; border-left: 1px solid rgba(31, 42, 48, .35); border-top: 1px solid rgba(31, 42, 48, .35); background: #fff; font-size: .66rem; letter-spacing: .12em; }
.sheet-block > * { padding: .25rem .7rem; border-bottom: 1px solid rgba(31, 42, 48, .2); }
.sheet-block strong { font-size: 1.1rem; letter-spacing: .06em; font-stretch: 85%; }
.sheet-block > *:last-child { border-bottom: 0; color: var(--muted); }
.product-info h1 { font-size: clamp(2.3rem, 4.4vw, 3.5rem); font-stretch: 76%; margin-bottom: .4rem; }
.product-info .lede { margin-bottom: 1rem; }
.product-buy { margin: 1.8rem 0; padding: 1.4rem; border-radius: var(--radius); background: var(--paper); }
.buy-lead { margin: 0; font-weight: 700; font-size: 1.08rem; }
.product-buy .availability { margin: .5rem 0 1.1rem; font-size: .9rem; }
.product-actions { display: flex; flex-wrap: wrap; gap: .7rem; }
.spec-table { margin: 0; border-top: 2px solid var(--ink); }
.spec-table div { display: grid; grid-template-columns: 40% 1fr; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid var(--line); }
.spec-table dt { color: var(--muted); font-weight: 600; }
.spec-table dd { margin: 0; font-weight: 700; }
.related { background: var(--paper); }

/* Services */
.service-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; list-style: none; margin: 0; padding: 0; }
.service { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.5rem, 3vw, 2.2rem); }
.service h2 { font-size: 1.75rem; margin: 1.1rem 0 .6rem; }
.service > p { color: var(--muted); }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.ticks li { display: flex; gap: .5rem; align-items: flex-start; font-weight: 600; font-size: .98rem; }
.ticks .icon { color: var(--green); stroke-width: 2.6; margin-top: .2em; }
.applications-detail { background: var(--paper); }
.app-index { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2.5rem; }
.app-index a { display: inline-flex; align-items: center; gap: .45rem; padding: .5rem .9rem; background: #fff; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); font-weight: 600; font-size: .92rem; text-decoration: none; }
.app-index a:hover { border-color: var(--green); color: var(--green-d); }
.app-rows { display: grid; gap: 1rem; }
.app-row { display: grid; grid-template-columns: 72px 1fr 280px; gap: 1.5rem 2rem; padding: 1.8rem; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); scroll-margin-top: 110px; }
.app-row:target { border-color: var(--green); box-shadow: 0 0 0 3px rgba(30, 158, 90, .2); }
.app-row-icon { display: grid; place-items: center; width: 72px; height: 72px; background: var(--green-l); color: var(--green-d); clip-path: var(--cut); }
.app-row-icon .icon { width: 38px; height: 38px; stroke-width: 1.5; }
.app-row h3 { font-size: 1.5rem; margin-bottom: .5rem; }
.app-row-body p { color: var(--muted); margin: 0; }
.app-row-products { border-left: 1px dashed var(--line); padding-left: 1.5rem; }
.app-row-products .eyebrow { font-size: .7rem; margin-bottom: .6rem; }
.app-row-products ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .4rem; }
.app-row-products a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; }
.app-row-products a:hover { color: var(--green-d); }
.code { display: inline-block; padding: .05rem .4rem; margin-right: .3rem; background: var(--ink); color: #fff; font-size: .7rem; letter-spacing: .08em; border-radius: 3px; vertical-align: .1em; }
.regions-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 3rem; align-items: center; }
.regions-grid p:not(.eyebrow) { color: var(--muted); font-size: 1.08rem; }
.region-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; }
.region-list li { display: flex; align-items: center; gap: .8rem; padding: 1.2rem 1.4rem; background: var(--ink); color: #fff; border-radius: 8px; font-size: 1.25rem; font-stretch: 85%; }
.region-list li:nth-child(1) { background: var(--green); }
.region-list .icon { color: var(--green-glow); }
.region-list li:nth-child(1) .icon { color: #fff; }

/* Estimator page */
.estimator { background: var(--paper); }
.est-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.est-form { display: grid; gap: 1.2rem; }
.est-step { margin: 0; padding: 1.5rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); min-width: 0; }
.est-step legend { float: left; width: 100%; display: flex; align-items: center; gap: .7rem; margin-bottom: 1.1rem; padding: 0; font-weight: 800; font-stretch: 88%; font-size: 1.25rem; }
.est-step legend + * { clear: both; }
.est-step .step-num { width: 34px; height: 34px; font-size: .95rem; box-shadow: none; flex: none; }
.legend-sub { margin: 1.2rem 0 .7rem; font-weight: 700; }
.choice-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: .6rem; }
.choice input, .pill input, .check input { position: absolute; opacity: 0; pointer-events: none; }
.choice-card { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .55rem; min-height: 112px; padding: 1rem .6rem; border: 1.5px solid var(--line); border-radius: 8px; text-align: center; font-weight: 600; font-size: .92rem; line-height: 1.25; cursor: pointer; transition: border-color .2s, background-color .2s, color .2s; }
.choice-card .icon { width: 36px; height: 36px; stroke-width: 1.5; color: var(--muted); }
.choice-card:hover { border-color: var(--ink-3); }
.choice input:checked + .choice-card { border-color: var(--green); background: var(--green-l); color: var(--green-dd); box-shadow: inset 0 0 0 1px var(--green); }
.choice input:checked + .choice-card .icon { color: var(--green-d); }
.choice input:focus-visible + .choice-card, .pill input:focus-visible + span, .check input:focus-visible + span::before { outline: 3px solid var(--green-glow); outline-offset: 2px; }
.size-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.size-field label { display: block; font-weight: 700; margin-bottom: .4rem; }
.size-inputs { display: grid; grid-template-columns: 1fr 92px; gap: .7rem; align-items: center; }
.hint { margin: 1rem 0 0; color: var(--muted); font-size: .92rem; }
.hint strong { color: var(--ink); }
.pill-group { display: flex; flex-wrap: wrap; gap: .45rem; }
.pill span { display: inline-block; padding: .6rem 1rem; border: 1.5px solid var(--line); border-radius: 999px; font-weight: 600; font-size: .94rem; cursor: pointer; transition: border-color .2s, background-color .2s, color .2s; }
.pill span:hover { border-color: var(--ink-3); }
.pill input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.check { display: flex; margin-top: 1.1rem; cursor: pointer; }
.check span { position: relative; padding-left: 2.1rem; font-weight: 600; }
.check span::before { content: ""; position: absolute; left: 0; top: .1em; width: 1.35rem; height: 1.35rem; border: 1.5px solid var(--ink-3); border-radius: 4px; background: #fff; transition: background-color .2s, border-color .2s; }
.check span::after { content: ""; position: absolute; left: .45rem; top: .3em; width: .45rem; height: .8rem; border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg) scale(0); transition: transform .2s var(--ease); }
.check input:checked + span::before { background: var(--green); border-color: var(--green); }
.check input:checked + span::after { transform: rotate(45deg) scale(1); }

.est-result { position: sticky; top: 92px; }
.est-card { position: relative; overflow: hidden; background: var(--ink-deep); color: #fff; border-radius: 14px; padding: clamp(1.3rem, 3vw, 1.9rem); box-shadow: var(--shadow-lg); }
.est-card::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px); background-size: 24px 24px; pointer-events: none; }
.est-card > * { position: relative; }
.est-headline { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem; }
.est-big { margin: 0; font-size: clamp(3rem, 6vw, 4.2rem); font-weight: 800; font-stretch: 72%; line-height: .9; }
.est-big small { font-size: 1.2rem; font-stretch: 90%; color: rgba(255, 255, 255, .7); }
.est-product { margin: .3rem 0 0; font-size: .9rem; color: rgba(255, 255, 255, .7); }
.est-product a { color: var(--green-glow); font-weight: 700; text-decoration: none; }
.est-side { text-align: right; }
.est-area { margin: 0; font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 800; font-stretch: 78%; color: var(--green-glow); line-height: 1.05; }
.est-area-label { margin: .15rem 0 0; font-size: .8rem; color: rgba(255, 255, 255, .6); }
.est-plan { color: rgba(255, 255, 255, .92); background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .08); border-radius: 10px; padding: .6rem; margin-bottom: 1rem; }
.est-facts { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem 1rem; margin: 0 0 1rem; }
.est-facts div { padding: .7rem .8rem; background: rgba(255, 255, 255, .05); border-radius: 8px; }
.est-facts dt { display: flex; align-items: center; gap: .4rem; font-size: .76rem; text-transform: uppercase; letter-spacing: .08em; color: rgba(255, 255, 255, .6); }
.est-facts dt .icon { color: var(--green-glow); }
.est-facts dd { margin: .15rem 0 0; font-size: 1.25rem; font-weight: 800; font-stretch: 85%; }
.est-notes { list-style: none; margin: 0 0 1.2rem; padding: 0; display: grid; gap: .5rem; }
.est-notes li { position: relative; padding: .65rem .8rem .65rem 2.1rem; background: rgba(242, 181, 58, .12); border-left: 3px solid var(--amber); border-radius: 0 6px 6px 0; font-size: .9rem; color: rgba(255, 255, 255, .9); }
.est-notes li::before { content: "!"; position: absolute; left: .75rem; top: .62rem; display: grid; place-items: center; width: 1rem; height: 1rem; border-radius: 50%; background: var(--amber); color: var(--ink-deep); font-size: .7rem; font-weight: 800; }
.est-card .fineprint { color: rgba(255, 255, 255, .5); margin: .9rem 0 0; font-size: .8rem; }
.is-loading [data-out] { transition: opacity .2s; }
.is-loading [data-out="plan"] { opacity: .55; }

/* Forms */
input:not([type="range"]):not([type="radio"]):not([type="checkbox"]), select, textarea {
  width: 100%; min-height: 50px; padding: .7rem .9rem; border: 1.5px solid #C9D3D0; border-radius: 6px; background: #fff;
  font: inherit; font-size: 1rem; color: var(--ink); transition: border-color .2s, box-shadow .2s;
}
textarea { min-height: 130px; resize: vertical; line-height: 1.5; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 4px rgba(30, 158, 90, .18); }
[aria-invalid="true"] { border-color: #C2412D !important; }
.field-error { margin: .35rem 0 0; color: #B33A28; font-size: .88rem; font-weight: 600; }
.contact { background: var(--paper); }
.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.quote-form { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: clamp(1.3rem, 3vw, 2.2rem); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.field { margin: 0; padding: 0; border: 0; min-width: 0; }
.field label, .field legend { display: block; margin-bottom: .4rem; padding: 0; font-weight: 700; }
.field-wide, fieldset.field { grid-column: 1 / -1; }
.optional { font-weight: 500; color: var(--muted); font-size: .85rem; margin-left: .3rem; }
.form-alert { margin-bottom: 1.4rem; padding: .9rem 1.1rem; border-radius: 8px; background: #FCEBE7; color: #8E2A1B; font-weight: 600; border-left: 4px solid #C2412D; }
.attached { display: grid; grid-template-columns: auto 1fr auto; gap: .9rem; align-items: center; margin-bottom: 1.3rem; padding: .9rem 1rem; background: var(--green-l); border: 1px solid rgba(30, 158, 90, .35); border-radius: 8px; }
.attached p { margin: 0; font-size: .92rem; color: var(--ink-3); }
.attached .attached-title { font-weight: 800; color: var(--green-dd); font-size: 1rem; }
.attached-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 8px; background: var(--green); color: #fff; }
.attached-icon .icon { width: 22px; height: 22px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; align-items: center; gap: 1rem 1.5rem; flex-wrap: wrap; margin-top: 1.6rem; }
.form-foot .fineprint { margin: 0; flex: 1; min-width: 200px; }
.contact-side { display: grid; gap: 1.2rem; }
.contact-card { background: var(--ink-deep); color: #fff; border-radius: 14px; padding: 1.6rem; }
.contact-card h2 { font-size: 1.5rem; }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.contact-list li { display: flex; gap: .9rem; align-items: flex-start; }
.contact-list .icon { width: 22px; height: 22px; color: var(--green-glow); margin-top: .15rem; }
.contact-list strong { display: block; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .55); }
.contact-list a { color: #fff; text-decoration: none; font-weight: 600; }
.contact-list a:hover { color: var(--green-glow); }
.map { border-radius: 14px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4 / 3; background: var(--line); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
.contact-family { font-size: .9rem; color: var(--muted); }

/* Thanks / 404 */
.thanks-inner { max-width: 44rem; text-align: center; padding-block: 2rem; }
.thanks-inner .lede { margin-inline: auto; }
.thanks-icon { display: inline-grid; place-items: center; width: 84px; height: 84px; margin-bottom: 1.5rem; border-radius: 50%; background: var(--green); color: #fff; animation: pop .5s var(--ease) both; }
.thanks-icon .icon { width: 44px; height: 44px; stroke-width: 2.6; }
.thanks-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: .7rem; margin-top: 2rem; }
.big-404 { font-size: clamp(6rem, 18vw, 11rem); font-weight: 900; font-stretch: 70%; line-height: 1; margin: 0 0 1rem; color: var(--ink); }
.big-404 span { color: var(--green); display: inline-block; transform: skewY(-14deg); }

/* About */
.about-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.prose { font-size: 1.1rem; }
.prose h2 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); margin-top: 1.5em; }
.prose h2:first-child { margin-top: 0; }
.prose p { color: var(--ink-3); }
.prose-narrow { max-width: 46rem; }
.about-card { position: sticky; top: 100px; background: var(--paper); border-radius: 14px; padding: 1.8rem; }
.about-card .logo { height: 70px; width: auto; margin-bottom: 1.4rem; }
.about-card dl { margin: 0; display: grid; gap: .8rem; }
.about-card dt { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.about-card dd { margin: 0; font-weight: 600; }
.values { background: var(--paper); }
.family { background: #fff; }

/* FAQ page */
.faq-layout { display: grid; grid-template-columns: 240px 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.faq-nav { position: sticky; top: 100px; }
.faq-nav ul { list-style: none; margin: 0 0 1.4rem; padding: 0; border-left: 2px solid var(--line); }
.faq-nav a { display: block; padding: .45rem 0 .45rem 1rem; margin-left: -2px; border-left: 2px solid transparent; color: var(--muted); font-weight: 600; text-decoration: none; }
.faq-nav a:hover, .faq-nav a.is-active { color: var(--ink); border-left-color: var(--green); }
.faq-groups { display: grid; gap: 3rem; }
.faq-group { scroll-margin-top: 100px; }
.faq-group h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }

/* Reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--d, 0) * 70ms); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1080px) {
  .nav ul a { padding-inline: .55rem; }
  .nav ul a::after { left: .55rem; right: .55rem; }
  .header-inner { gap: 1rem; }
  .steps { grid-template-columns: repeat(3, 1fr); row-gap: 2.2rem; }
  .steps::before { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .app-row { grid-template-columns: 72px 1fr; }
  .app-row-products { grid-column: 2; border-left: 0; padding-left: 0; border-top: 1px dashed var(--line); padding-top: 1rem; }
}

@media (max-width: 960px) {
  .topbar-family { display: none; }
  .topbar-inner { justify-content: center; }
  .nav-toggle { display: grid; }
  .header-cta { display: none; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    padding: .5rem var(--gutter) 1.5rem; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 20px 40px rgba(21, 29, 33, .12);
    visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .2s, transform .2s, visibility 0s .2s;
  }
  .nav.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity .2s, transform .2s; }
  .nav ul { flex-direction: column; }
  .nav ul a { padding: .9rem 0; font-size: 1.15rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav ul a::after { display: none; }
  .nav ul a[aria-current] { color: var(--green-d); }
  .nav-quote { display: flex !important; margin-top: 1.2rem; padding: 1rem !important; }
  .nav-phone { display: flex !important; align-items: center; justify-content: center; gap: .5rem; margin-top: .6rem; padding: .9rem; box-shadow: inset 0 0 0 1.5px var(--ink); color: var(--ink) !important; font-weight: 700; border-radius: 4px; }
  .hero-inner, .teaser-grid, .family-grid, .faq-teaser-grid, .est-grid, .contact-grid, .product-detail-grid, .about-grid, .regions-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 560px; width: 100%; margin-inline: auto; }
  .benefits, .app-grid { grid-template-columns: 1fr 1fr; }
  .proof-list { grid-template-columns: 1fr 1fr; gap: 1.2rem 0; }
  .proof-list li:nth-child(3) { border-left: 0; padding-left: 0; }
  .est-result, .product-sheet, .about-card, .faq-nav { position: static; }
  .product-sheet { max-width: 480px; }
  .faq-layout { grid-template-columns: 1fr; }
  .faq-nav ul { display: flex; flex-wrap: wrap; gap: .4rem; border: 0; }
  .faq-nav a { border: 1px solid var(--line) !important; border-radius: 999px; padding: .4rem .9rem; margin: 0; background: #fff; }
}

@media (max-width: 640px) {
  body { font-size: 1rem; }
  .topbar-contact li:first-child, .topbar-contact li:nth-child(2) { display: none; }
  .header-inner { min-height: 68px; }
  .brand .logo { height: 44px; }
  .benefits, .app-grid, .split-grid, .service-grid, .form-grid, .size-grid, .sliders { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .mini-out { grid-template-columns: 1fr; }
  .timeline { overflow-x: auto; }
  .timeline-grid { grid-template-columns: 96px repeat(6, 1fr); min-width: 620px; }
  .tl-label { font-size: .9rem; }
  .tl-seg { font-size: .78rem; padding: 0 .5rem; }
  .pile-log { position: static; width: auto; margin-top: .8rem; }
  .pile-replay { bottom: auto; top: 3%; right: 3%; }
  .app-row { grid-template-columns: 1fr; padding: 1.4rem; }
  .app-row-products { grid-column: auto; }
  .stack-layer:nth-child(n) { --w: 100%; }
  .stack-layer img, .stack-base .logo { width: 96px; height: 38px; }
  .est-side { text-align: left; }
  .page-hero::after { display: none; }
}

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

@media print {
  .topbar, .site-header, .cta-band, .site-footer, .pile-replay { display: none !important; }
}
