/* Zaino Contractor preview. Tokens are documented in DESIGN.md. */
@font-face { font-family: 'Archivo'; src: url('/fonts/archivo-latin.woff2') format('woff2'); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Archivo'; src: url('/fonts/archivo-latin-ext.woff2') format('woff2'); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --bg: #F1EFEA;
  --bg-2: #E7E4DD;
  --surface: #FBFAF7;
  --ink: #14171C;
  --ink-2: #3D424B;
  --ink-3: #5B606A;
  --line: rgba(20, 23, 28, 0.12);
  --copper: #A8481F;
  --copper-hover: #8F3C18;
  --copper-wash: rgba(168, 72, 31, 0.09);
  --night: #14171C;
  --night-2: #1E232B;
  --on-night: #EDEBE6;
  --on-night-2: #A9AEB7;
  --water: #3F7FA6;
  --r-sm: 10px;
  --r: 18px;
  --r-lg: 28px;
  --wrap: 1240px;
  --pad: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --z-nav: 30;
  --z-badge: 40;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.6 'Archivo', system-ui, sans-serif; font-stretch: 100%; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 750; letter-spacing: -0.03em; line-height: 1.02; font-stretch: 88%; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--copper); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; padding: 10px 16px; background: var(--ink); color: #fff; border-radius: 8px; }
.skip:focus { left: 8px; }
.icon { width: 18px; height: 18px; fill: currentColor; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); }
.eyebrow::before { content: ''; width: 22px; height: 2px; background: var(--copper); }
.muted { color: var(--ink-3); }
.num { font-variant-numeric: tabular-nums; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 12px; min-height: 52px; padding: 6px 6px 6px 22px; border: 0; border-radius: 999px; font: 600 16px/1 'Archivo', sans-serif; text-decoration: none; cursor: pointer; transition: transform 0.4s var(--ease), background 0.3s; }
.btn:active { transform: scale(0.98); }
.btn__icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 999px; transition: transform 0.4s var(--ease); }
.btn:hover .btn__icon { transform: translateX(2px) rotate(-8deg); }
.btn--copper { background: var(--copper); color: #fff; }
.btn--copper:hover { background: var(--copper-hover); }
.btn--copper .btn__icon { background: rgba(255, 255, 255, 0.16); }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn--ghost .btn__icon { background: var(--bg-2); }
.btn--light { background: var(--on-night); color: var(--ink); }
.btn--light .btn__icon { background: rgba(20, 23, 28, 0.08); }
.btn--plain { padding: 0 22px; }

/* ---------- nav ---------- */
.nav-wrap { position: fixed; inset: 12px 0 auto; z-index: var(--z-nav); padding: 0 var(--pad); pointer-events: none; }
.nav { pointer-events: auto; display: flex; align-items: center; gap: 24px; max-width: var(--wrap); margin: 0 auto; padding: 8px 8px 8px 20px; border-radius: 999px; transition: background 0.4s, box-shadow 0.4s, backdrop-filter 0.4s; }
.nav.is-scrolled { background: rgba(241, 239, 234, 0.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: inset 0 0 0 1px var(--line), 0 10px 30px -18px rgba(20, 23, 28, 0.35); }
.mark { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.mark__glyph { width: 34px; height: 34px; }
.mark__name { font-weight: 800; font-size: 20px; letter-spacing: -0.02em; font-stretch: 80%; }
.mark__sub { display: block; font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); line-height: 1.2; }
.nav__links { display: none; gap: 28px; margin-left: auto; font-size: 15px; font-weight: 500; }
.nav__links a { text-decoration: none; opacity: 0.8; }
.nav__links a:hover, .nav__links a[aria-current="page"] { opacity: 1; }
.nav__cta { display: none; }
.nav__menu-btn { margin-left: auto; display: grid; place-content: center; gap: 6px; width: 48px; height: 48px; border: 0; border-radius: 999px; background: var(--ink); cursor: pointer; }
.nav__menu-btn span { display: block; width: 18px; height: 2px; background: #fff; transition: transform 0.4s var(--ease); }
.menu-open .nav__menu-btn span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-open .nav__menu-btn span:last-child { transform: translateY(-4px) rotate(-45deg); }
.menu { pointer-events: auto; position: fixed; inset: 0; z-index: -1; display: flex; flex-direction: column; justify-content: space-between; padding: 110px var(--pad) 32px; background: var(--bg); opacity: 0; transition: opacity 0.45s var(--ease); }
.menu-open .menu { opacity: 1; }
.menu ul { display: grid; gap: 6px; }
.menu ul a { font-size: clamp(36px, 10vw, 56px); font-weight: 750; letter-spacing: -0.03em; font-stretch: 85%; text-decoration: none; }
.menu__foot { display: grid; gap: 10px; }
@media (min-width: 980px) {
  .nav__links { display: flex; }
  .nav__cta { display: inline-flex; }
  .nav__menu-btn, .menu { display: none; }
}

/* ---------- hero ---------- */
.hero { position: relative; padding: clamp(120px, 16vw, 170px) 0 clamp(56px, 8vw, 96px); }
.hero__grid { display: grid; gap: clamp(36px, 5vw, 64px); align-items: end; }
.hero__title { font-size: clamp(48px, 9.4vw, 128px); font-stretch: 78%; margin: 18px 0 26px; }
.hero__title em { font-style: normal; color: var(--copper); }
.line { display: block; overflow: hidden; padding-bottom: 0.04em; }
.line__in { display: block; }
.hero__sub { max-width: 34ch; font-size: clamp(18px, 1.6vw, 21px); color: var(--ink-2); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero__card { position: relative; padding: 26px; border-radius: var(--r-lg); background: var(--night); color: var(--on-night); overflow: hidden; }
.hero__card h2 { font-size: 15px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--on-night-2); font-stretch: 100%; }
.hero__card dl { display: grid; gap: 18px; margin: 22px 0 0; }
.hero__card dt { font-size: 13px; color: var(--on-night-2); }
.hero__card dd { margin: 2px 0 0; font-size: 20px; font-weight: 600; }
.hero__card dd a { text-decoration: none; }
.pulse { display: inline-flex; align-items: center; gap: 8px; }
.pulse::before { content: ''; width: 9px; height: 9px; border-radius: 50%; background: #4CC38A; box-shadow: 0 0 0 0 rgba(76, 195, 138, 0.6); animation: pulse 2.4s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(76, 195, 138, 0); } 100% { box-shadow: 0 0 0 0 rgba(76, 195, 138, 0); } }
.hero__spark { position: absolute; right: -30px; bottom: -40px; width: 200px; opacity: 0.12; }
@media (min-width: 900px) { .hero__grid { grid-template-columns: 1.55fr 1fr; } }

/* ---------- two trades strip ---------- */
.trades { padding: 0 0 clamp(64px, 9vw, 120px); }
.trades__grid { display: grid; gap: 16px; }
.trade { position: relative; padding: clamp(26px, 3vw, 40px); border-radius: var(--r-lg); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; min-height: 300px; display: flex; flex-direction: column; }
.trade__no { font-size: 13px; font-weight: 600; letter-spacing: 0.12em; color: var(--ink-3); }
.trade h3 { font-size: clamp(34px, 4vw, 52px); margin: 14px 0 14px; font-stretch: 80%; }
.trade p { color: var(--ink-2); max-width: 36ch; }
.trade__art { margin-top: auto; padding-top: 24px; height: 120px; }
.trade__art svg { width: 100%; height: 100%; }
@media (min-width: 800px) { .trades__grid { grid-template-columns: 1fr 1fr; } }

/* ---------- signature: the wire and the pipe ---------- */
.run { position: relative; background: var(--night); color: var(--on-night); }
.run__pin { position: relative; min-height: 100svh; display: grid; align-items: center; overflow: hidden; }
.run__inner { display: grid; gap: 32px; padding-top: 96px; padding-bottom: 96px; }
.run__copy h2 { font-size: clamp(40px, 6vw, 84px); font-stretch: 78%; }
.run__copy h2 em { font-style: normal; color: #E07A4A; }
.run__copy p { margin-top: 18px; max-width: 38ch; color: var(--on-night-2); font-size: 18px; }
.run__steps { display: grid; gap: 10px; margin-top: 28px; }
.run__step { display: flex; gap: 14px; align-items: baseline; color: var(--on-night-2); transition: color 0.4s; }
.run__step b { font-weight: 600; font-size: 13px; letter-spacing: 0.1em; }
.run__step.is-on { color: var(--on-night); }
.run__svg { width: 100%; max-width: 620px; justify-self: center; }
.run__svg .track { stroke: rgba(237, 235, 230, 0.1); }
.run__svg .wire { stroke: #E07A4A; }
.run__svg .pipe { stroke: #6FB0D6; }
.run__svg .glow { opacity: 0; }
.run__svg .drop { opacity: 0; fill: #6FB0D6; }
.run__svg text { fill: var(--on-night-2); font: 600 13px 'Archivo', sans-serif; letter-spacing: 0.1em; }
@media (min-width: 960px) { .run__inner { grid-template-columns: 1fr 1.1fr; align-items: center; gap: 64px; } }

/* ---------- how a job goes ---------- */
.section { padding: clamp(72px, 10vw, 140px) 0; }
.section__head { display: grid; gap: 18px; margin-bottom: clamp(36px, 5vw, 64px); }
.section__head h2 { font-size: clamp(38px, 5.6vw, 76px); font-stretch: 80%; max-width: 15ch; }
.section__head p { max-width: 44ch; color: var(--ink-2); font-size: 18px; }
@media (min-width: 900px) { .section__head { grid-template-columns: 1.3fr 1fr; align-items: end; } }
.steps { display: grid; gap: 0; border-top: 1px solid var(--line); }
.step { display: grid; grid-template-columns: 64px 1fr; gap: 16px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.step__no { font-size: 14px; font-weight: 600; color: var(--copper); padding-top: 6px; }
.step h3 { font-size: clamp(24px, 2.6vw, 32px); font-stretch: 85%; letter-spacing: -0.02em; }
.step p { grid-column: 2; margin-top: 8px; color: var(--ink-2); max-width: 52ch; }
@media (min-width: 900px) { .step { grid-template-columns: 120px 1fr 1fr; align-items: baseline; } .step p { grid-column: auto; margin: 0; } }

/* ---------- call band ---------- */
.band { padding: 0 0 clamp(72px, 10vw, 140px); }
.band__box { position: relative; display: grid; gap: 28px; padding: clamp(30px, 5vw, 64px); border-radius: var(--r-lg); background: var(--copper); color: #fff; overflow: hidden; }
.band__box h2 { font-size: clamp(36px, 5.4vw, 72px); font-stretch: 78%; max-width: 14ch; }
.band__box p { max-width: 40ch; color: rgba(255, 255, 255, 0.86); font-size: 18px; }
.band__phone { font-size: clamp(40px, 7vw, 96px); font-weight: 750; letter-spacing: -0.03em; font-stretch: 75%; text-decoration: none; line-height: 1; }
.band__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
@media (min-width: 900px) { .band__box { grid-template-columns: 1.2fr 1fr; align-items: end; } }

/* ---------- inner page hero ---------- */
.page-hero { padding: clamp(130px, 16vw, 180px) 0 clamp(40px, 6vw, 72px); }
.page-hero h1 { font-size: clamp(46px, 8vw, 112px); font-stretch: 78%; margin: 18px 0 22px; max-width: 13ch; }
.page-hero p { max-width: 46ch; font-size: clamp(18px, 1.6vw, 21px); color: var(--ink-2); }

/* about */
.facts { display: grid; gap: 16px; }
.fact { padding: 28px; border-radius: var(--r-lg); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.fact dt { font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); }
.fact dd { margin: 10px 0 0; font-size: clamp(22px, 2.4vw, 30px); font-weight: 650; letter-spacing: -0.02em; line-height: 1.2; }
.fact dd small { display: block; margin-top: 8px; font-size: 16px; font-weight: 400; letter-spacing: 0; color: var(--ink-2); }
@media (min-width: 800px) { .facts { grid-template-columns: repeat(3, 1fr); } }
.prose { display: grid; gap: 20px; max-width: 62ch; font-size: 19px; color: var(--ink-2); }
.prose strong { color: var(--ink); font-weight: 600; }
.split { display: grid; gap: 40px; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1.4fr; } }
.split h2 { font-size: clamp(32px, 4vw, 52px); font-stretch: 82%; }
.map-card { position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--night); color: var(--on-night); padding: 28px; min-height: 320px; display: flex; flex-direction: column; justify-content: flex-end; }
.map-card svg.streets { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.55; }
.map-card .pin { position: absolute; left: 52%; top: 38%; width: 22px; height: 22px; border-radius: 50%; background: #E07A4A; box-shadow: 0 0 0 8px rgba(224, 122, 74, 0.25); }
.map-card p { position: relative; }
.map-card a { position: relative; margin-top: 14px; align-self: flex-start; }

/* ---------- enquiry flow ---------- */
.flow { display: grid; gap: 28px; }
@media (min-width: 980px) { .flow { grid-template-columns: 1.5fr 1fr; align-items: start; } }
.form-card { padding: clamp(22px, 3.5vw, 40px); border-radius: var(--r-lg); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line), 0 24px 60px -40px rgba(20, 23, 28, 0.4); }
.progress { display: flex; gap: 6px; margin-bottom: 26px; }
.progress span { flex: 1; height: 4px; border-radius: 4px; background: var(--bg-2); transition: background 0.4s; }
.progress span.is-on { background: var(--copper); }
.q { border: 0; margin: 0; padding: 0; }
.q legend, .q__title { font-size: clamp(26px, 3vw, 36px); font-weight: 750; letter-spacing: -0.03em; font-stretch: 85%; line-height: 1.1; margin-bottom: 8px; padding: 0; }
.q__hint { color: var(--ink-3); margin-bottom: 20px; }
.choices { display: grid; gap: 10px; }
@media (min-width: 640px) { .choices--3 { grid-template-columns: repeat(3, 1fr); } .choices--2 { grid-template-columns: repeat(2, 1fr); } }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice label { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 18px; border-radius: var(--r); background: var(--bg); box-shadow: inset 0 0 0 1.5px transparent; cursor: pointer; transition: box-shadow 0.3s, background 0.3s; }
.choice label b { font-size: 18px; font-weight: 650; }
.choice label span { font-size: 14px; color: var(--ink-3); }
.choice label:hover { box-shadow: inset 0 0 0 1.5px var(--line); }
.choice input:checked + label { background: var(--copper-wash); box-shadow: inset 0 0 0 2px var(--copper); }
.choice input:focus-visible + label { outline: 2px solid var(--copper); outline-offset: 3px; }
.field { display: grid; gap: 8px; margin-bottom: 16px; }
.field label { font-size: 14px; font-weight: 600; }
.input, .textarea { width: 100%; min-height: 52px; padding: 14px 16px; border: 0; border-radius: var(--r-sm); background: var(--bg); box-shadow: inset 0 0 0 1.5px var(--line); font: 400 17px/1.4 'Archivo', sans-serif; color: var(--ink); }
.textarea { min-height: 130px; resize: vertical; }
.input:focus, .textarea:focus { outline: none; box-shadow: inset 0 0 0 2px var(--copper); }
.field__err { font-size: 14px; color: #A3261B; min-height: 0; }
.form-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 28px; }
.link-btn { border: 0; background: none; padding: 10px 0; font: 600 16px 'Archivo', sans-serif; color: var(--ink-2); cursor: pointer; text-decoration: underline; text-underline-offset: 4px; }
.link-btn[hidden] { display: none; }
.summary { display: grid; gap: 10px; margin: 8px 0 22px; padding: 20px; border-radius: var(--r); background: var(--bg); }
.summary div { display: flex; justify-content: space-between; gap: 16px; font-size: 15px; }
.summary dt { color: var(--ink-3); }
.summary dd { margin: 0; font-weight: 600; text-align: right; }
.done { text-align: left; }
.done__tick { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--copper); color: #fff; margin-bottom: 18px; }
.done__tick .icon { width: 26px; height: 26px; }
.demo-note { margin-top: 18px; padding: 14px 16px; border-radius: var(--r-sm); background: var(--copper-wash); font-size: 14px; color: var(--ink-2); }
.aside { display: grid; gap: 16px; }
.aside__card { padding: 26px; border-radius: var(--r-lg); background: var(--night); color: var(--on-night); }
.aside__card h2 { font-size: 26px; font-stretch: 85%; }
.aside__card p { color: var(--on-night-2); margin-top: 10px; }
.aside__list { display: grid; gap: 14px; margin-top: 20px; }
.aside__list a { display: flex; align-items: center; gap: 14px; text-decoration: none; font-weight: 600; font-size: 18px; }
.aside__list .ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(237, 235, 230, 0.08); }

/* ---------- footer ---------- */
.foot { background: var(--night); color: var(--on-night-2); padding: 64px 0 120px; }
.foot__grid { display: grid; gap: 32px; }
.foot__big { font-size: clamp(44px, 9vw, 120px); font-weight: 800; letter-spacing: -0.04em; color: var(--on-night); font-stretch: 72%; line-height: 0.9; }
.foot__cols { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); font-size: 15px; }
.foot__cols h3 { font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--on-night); font-weight: 600; font-stretch: 100%; margin-bottom: 10px; }
.foot__cols a { text-decoration: none; }
.foot__cols a:hover { color: var(--on-night); }
.foot__base { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(237, 235, 230, 0.1); font-size: 13px; }

/* ---------- preview badge ---------- */
.badge { position: fixed; left: 16px; bottom: 16px; z-index: var(--z-badge); display: flex; align-items: center; gap: 10px; padding: 6px 6px 6px 16px; border-radius: 999px; background: rgba(251, 250, 247, 0.78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: inset 0 0 0 1px var(--line), 0 10px 30px -14px rgba(20, 23, 28, 0.4); font-size: 13px; color: var(--ink-2); }
.badge a { text-decoration: none; }
.badge strong { color: var(--ink); font-weight: 600; }
.badge__close { display: grid; place-items: center; width: 28px; height: 28px; border: 0; border-radius: 999px; background: var(--bg-2); color: var(--ink); cursor: pointer; }
.badge__close .icon { width: 14px; height: 14px; }
.badge.is-hidden { display: none; }

/* ---------- motion defaults (only when JS + GSAP run) ---------- */
html.js [data-reveal] { opacity: 0; transform: translateY(28px); }
html.js [data-hero-fade] { opacity: 0; transform: translateY(18px); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html.js [data-reveal], html.js [data-hero-fade] { opacity: 1; transform: none; }
}
