/* Ertone website styles. Built from Alexandra's V3 Figma design (desktop 1440, mobile 390). */

@font-face { font-family: "Archivo"; src: url("fonts/archivo.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("fonts/plex-mono-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/inter.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  color-scheme: dark;
  --bg: #202020;
  --panel: #323232;
  --panel-2: #434242;
  --grey: #94999e;
  --line: rgba(148, 153, 158, 0.5);
  --line-soft: rgba(240, 242, 244, 0.35);
  --text: #f0f2f4;
  --muted: #b4b8bc;
  --mint: #b6e3d5;
  --mint-hover: #cdeee3;
  --ink: #08090b;
  --light: #f0f2f4;
  --dark: #26292d;
  --dark-muted: #474d52;
  --green: #1f6b52;
  --logo-a: #42cca2;
  --logo-b: #195b9d;
  --sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --foot: "Inter", "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(20px, 2.4vw, 34px);
  --max: 1440px;
  --section: clamp(56px, 8.4vw, 120px);
  --nav-h: 88px;
  --radius: 12px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--sans); font-size: 18px; line-height: 1.6; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; }
.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; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--mint); color: var(--ink); padding: 10px 16px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.section { padding-top: var(--section); padding-bottom: var(--section); }
.section--tight-top { padding-top: 0; }
.section:not(.band-light) + .section:not(.band-light) { padding-top: 0; }

/* ---------- type ---------- */
.eyebrow { font-family: var(--mono); font-size: 12px; line-height: 1.2; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mint); }
.eyebrow--dark { color: var(--green); }
.h1 { font-size: clamp(48px, 8.9vw, 128px); line-height: 0.95; letter-spacing: -0.01em; text-transform: uppercase; font-weight: 600; }
.h1--service { font-size: clamp(42px, 6.7vw, 96px); }
.h1__kicker { display: block; margin-bottom: 0.7em; font-family: var(--mono, "IBM Plex Mono", monospace); font-size: clamp(13px, 1.1vw, 15px); font-weight: 400; line-height: 1.4; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.8; }
.h2 { font-size: clamp(36px, 3.9vw, 56px); line-height: 1.05; letter-spacing: -0.013em; text-transform: uppercase; font-weight: 600; }
.h2--xl { font-size: clamp(40px, 5vw, 72px); line-height: 0.95; letter-spacing: -0.01em; }
.h3 { font-size: clamp(22px, 1.95vw, 28px); line-height: 1.2; text-transform: uppercase; font-weight: 600; }
.lead { font-size: clamp(17px, 1.39vw, 20px); line-height: 1.45; }
.body { font-size: 18px; line-height: 1.6; }
.muted { color: var(--muted); }
.small { font-size: 15px; line-height: 1.5; }
.heading-group { display: flex; flex-direction: column; gap: 20px; }
.link-mono { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mint); text-decoration: none; padding-bottom: 3px; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; transition: color .2s; align-self: flex-start; justify-self: start; }
.link-mono:hover { color: var(--mint-hover); }
.link-arrow { font-weight: 600; font-size: 16px; color: var(--mint); text-decoration: none; }
.link-arrow:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 19px 26px; font-family: var(--sans); font-weight: 600; font-size: 15px; line-height: 18px; letter-spacing: 0.02em; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background-color .25s, color .25s, border-color .25s, translate .2s; white-space: nowrap; }
.btn--mint { background: var(--mint); color: var(--ink); }
.btn--mint:hover { background: var(--mint-hover); }
.btn--ghost { border-color: rgba(240, 242, 244, 0.7); color: var(--text); background: rgba(255, 255, 255, 0.08); }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.18); }
.btn--dark { background: var(--dark); color: var(--light); }
.btn--dark:hover { background: #000; }
.btn--ink { background: var(--ink); color: var(--light); }
.btn .arrow { font-family: var(--mono); font-size: 14px; display: inline-block; transition: translate .35s cubic-bezier(.2, .7, .2, 1); }
.btn:hover .arrow { translate: 5px 0; }
.btn:active { translate: 0 1px; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- nav ---------- */
.nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: var(--panel); view-transition-name: site-nav; transition: translate .45s cubic-bezier(.2, .7, .2, 1); }
.nav.is-tucked { translate: 0 -100%; }
.nav__bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--nav-h); }
.logo { display: inline-flex; align-items: center; justify-content: center; width: 146px; height: 60px; background: linear-gradient(90deg, var(--logo-a), var(--logo-b)); flex: none; }
.logo { color: #fff; }
.logo svg { width: 118px; height: auto; display: block; }
.nav__links { display: flex; align-items: center; gap: clamp(20px, 3.3vw, 48px); font-family: var(--mono); font-size: clamp(15px, 1.25vw, 18px); letter-spacing: 0.05em; text-transform: uppercase; }
.nav__item { position: relative; }
.nav__link { display: inline-flex; align-items: center; gap: 6px; height: var(--nav-h); text-decoration: none; color: var(--text); background: none; border: 0; padding: 0; cursor: pointer; letter-spacing: inherit; text-transform: inherit; font-family: inherit; font-size: inherit; }
.nav__link:hover, .nav__link[aria-current="page"], .nav__item.is-open > .nav__link { color: var(--mint); }
.nav__link[aria-current="page"] span { text-decoration: underline; text-underline-offset: 4px; }
.nav__link { transition: color .2s; }
.nav__link > span { padding-bottom: 2px; background: linear-gradient(var(--mint), var(--mint)) 0 100% / 0 1px no-repeat; transition: background-size .35s cubic-bezier(.7, 0, .2, 1); }
.nav__link:hover > span { background-size: 100% 1px; }
.nav__link[aria-current="page"] > span { background: none; }
.nav__link .chev { width: 10px; height: 10px; transition: transform .2s; }
.nav__item.is-open .chev { transform: rotate(180deg); }
.mega { position: absolute; top: calc(var(--nav-h) - 8px); left: 50%; transform: translateX(-50%); min-width: 560px; background: var(--panel); border: 1px solid var(--line); padding: 28px 32px; display: grid; visibility: hidden; opacity: 0; translate: 0 10px; transition: opacity .2s ease, translate .3s cubic-bezier(.2, .7, .2, 1), visibility 0s linear .3s; grid-template-columns: 1fr 1fr; gap: 12px 40px; text-transform: none; letter-spacing: 0; font-family: var(--sans); box-shadow: 0 24px 48px rgba(0,0,0,.35); }
.nav__item.is-open .mega { visibility: visible; opacity: 1; translate: 0 0; transition: opacity .2s ease, translate .3s cubic-bezier(.2, .7, .2, 1), visibility 0s; }
.mega__head { grid-column: 1 / -1; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--mint); margin-bottom: 4px; }
.mega a { font-size: 16px; line-height: 1.4; text-decoration: none; color: var(--text); padding: 6px 0; border-bottom: 1px solid transparent; }
.mega a { transition: color .2s, translate .25s cubic-bezier(.2, .7, .2, 1); }
.mega a:hover { color: var(--mint); translate: 4px 0; }
.mega a small { display: block; color: var(--muted); font-size: 13px; }
.mega__head--sub { margin-top: 14px; color: var(--grey); }
.also { margin-top: clamp(48px, 5.6vw, 80px); }
.also .lcards { margin-top: 20px; }
.mega__all { grid-column: 1 / -1; margin-top: 8px; padding-top: 14px !important; border-top: 1px solid var(--line) !important; font-family: var(--mono); font-size: 12px !important; letter-spacing: .08em; text-transform: uppercase; color: var(--mint) !important; }
.nav__cta { flex: none; }
.burger { display: none; width: 44px; height: 44px; border: 0; background: none; padding: 9px; cursor: pointer; }
.burger span { display: block; width: 26px; height: 2px; background: var(--text); margin: 6px 0; transition: transform .2s, opacity .2s; }
.nav.is-menu .burger span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav.is-menu .burger span:nth-child(2) { opacity: 0; }
.nav.is-menu .burger span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
.mobile-menu { display: none; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; color: var(--text); background: #2b3036; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.28) 45%, rgba(0,0,0,.05) 80%), linear-gradient(0deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,0) 45%); pointer-events: none; }
.hero--soft::after { background: linear-gradient(90deg, rgba(0,0,0,.42) 0%, rgba(0,0,0,.12) 55%, rgba(0,0,0,0) 85%), linear-gradient(0deg, rgba(0,0,0,.3) 0%, rgba(0,0,0,0) 45%); }
.hero__inner { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 24px; min-height: clamp(460px, 41.7vw, 600px); padding-top: 96px; padding-bottom: 56px; }
.hero--page .hero__inner { min-height: clamp(420px, 38.9vw, 560px); }
.hero--tall .hero__inner { min-height: clamp(480px, 48.8vw, 702px); }
.hero__text { max-width: 646px; }
.hero__text--wide { max-width: 760px; font-size: clamp(20px, 2.2vw, 32px); line-height: 1.3; }
.crumbs { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--text); opacity: .9; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--mint); }

/* home hero */
.hero--home .hero__inner { min-height: clamp(560px, 49.3vw, 710px); padding-bottom: 136px; justify-content: center; padding-top: 120px; }
.hero--home .hero__img { transform: none; }
.hero__video { background: #2b3036; }
.hero--home::after { background: linear-gradient(90deg, rgba(0,0,0,.66) 0%, rgba(0,0,0,.42) 48%, rgba(0,0,0,.14) 85%), linear-gradient(0deg, rgba(0,0,0,.42) 0%, rgba(0,0,0,0) 50%); }
@media (prefers-reduced-motion: reduce) { .hero__video { display: none; } }
.home-title { text-transform: uppercase; font-weight: 600; color: #f5f5f5; }
.home-title__l1 { display: block; font-size: clamp(52px, 8.2vw, 118px); line-height: 1; letter-spacing: -0.005em; }
.home-title__l2 { display: block; font-family: var(--mono); font-weight: 400; font-size: clamp(26px, 4.45vw, 64px); line-height: 1.5; letter-spacing: 0.01em; }
.hero__eyebrow-mobile, .hero__text-mobile { display: none; }
.stats { position: relative; z-index: 2; margin-top: -107px; }
.stats__bar { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--panel-2); border: 1px solid var(--grey); min-height: 107px; }
.stat { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 18px 12px; text-align: center; }
.stat + .stat { border-left: 1px solid var(--grey); }
.stat__label { font-family: var(--mono); font-size: clamp(12px, 1.03vw, 14.8px); letter-spacing: .08em; text-transform: uppercase; color: var(--mint); }
.stat__value { font-weight: 600; font-size: clamp(24px, 2.6vw, 37.6px); line-height: 1.1; }
.stat--mobile { display: none; }

/* ---------- capabilities accordion (home) ---------- */
.cap { display: grid; grid-template-columns: minmax(0, 664fr) minmax(0, 620fr); gap: clamp(32px, 4.6vw, 66px); align-items: start; margin-top: clamp(40px, 5.8vw, 84px); }
.cap__img { position: relative; border-radius: 15px; overflow: hidden; aspect-ratio: 664 / 512; background: #33383d; }
.cap__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; clip-path: inset(0 100% 0 0); scale: 1.08; transition: clip-path .85s cubic-bezier(.7, 0, .2, 1), scale 1.4s cubic-bezier(.2, .7, .2, 1), opacity .8s ease; }
.cap__img img.is-on { z-index: 2; clip-path: inset(0); scale: 1; }
.cap__img img.was-on { z-index: 1; clip-path: inset(0); scale: 1; transition: none; }
.acc { border-top: 1px solid var(--grey); }
.acc__item { border-bottom: 1px solid var(--grey); }
.acc__item summary { list-style: none; display: grid; grid-template-columns: 65px 1fr auto; align-items: baseline; gap: 0; padding: 26px 0; cursor: pointer; }
.acc__item summary::-webkit-details-marker { display: none; }
.acc__num { font-family: var(--mono); font-size: 13px; color: var(--grey); }
.acc__title { font-weight: 600; font-size: clamp(22px, 2.36vw, 34px); line-height: 1.2; letter-spacing: .005em; text-transform: uppercase; }
.acc__sign { color: var(--grey); margin-left: 12px; }
.acc__item summary:hover .acc__title, .acc__item summary:hover .acc__sign { color: var(--mint); }
.acc__title { transition: color .2s; }
.acc__body { padding: 0 0 28px 65px; display: flex; flex-direction: column; gap: 18px; }
.acc__body p { color: var(--mint); font-size: 17px; line-height: 1.55; max-width: 540px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--mint); border: 1px solid var(--grey); padding: 8px 10px; line-height: 1.2; }

/* ---------- cards + carousels ---------- */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 34px); }
.carousel { position: relative; margin-top: clamp(32px, 4.4vw, 64px); }
.carousel__track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 2 * clamp(20px, 2.4vw, 34px)) / 3); gap: clamp(20px, 2.4vw, 34px); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track > * { scroll-snap-align: start; }
.carousel__btn { position: absolute; top: calc((100% - 0px) * 0); width: 52px; height: 52px; border-radius: 50%; border: 0; padding: 0; background: rgba(32, 34, 36, .35); color: var(--text); cursor: pointer; display: grid; place-items: center; backdrop-filter: blur(4px); transition: background .2s, opacity .2s; }
.carousel__btn:hover { background: rgba(32, 34, 36, .6); }
.carousel__btn[disabled] { opacity: 0; pointer-events: none; }
.carousel__btn--next { right: 16px; }
.carousel__btn--prev { left: 16px; transform: scaleX(-1); }
.carousel__btn svg { width: 52px; height: 52px; }
.card { display: flex; flex-direction: column; gap: 14px; text-decoration: none; color: inherit; }
.card__img { position: relative; aspect-ratio: 436 / 327; overflow: hidden; background: #33383d; }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s cubic-bezier(.2, .7, .2, 1), opacity .8s ease; }
.card:hover .card__img img { transform: scale(1.05); }
.card .card__title { transition: color .2s; }
.card__title { font-weight: 600; font-size: clamp(22px, 1.95vw, 28px); line-height: 1.2; text-transform: uppercase; margin-top: 10px; }
.card__text { font-size: 16px; line-height: 1.5; color: var(--muted); max-width: 400px; }
.card .link-mono { margin-top: 2px; }
.card:hover .card__title { color: var(--mint); }

/* line cards (capabilities, related, next steps) */
.lcards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: clamp(32px, 3.9vw, 56px); }
.lcard { border-top: 1px solid var(--line-soft); padding-top: 28px; display: flex; flex-direction: column; gap: 14px; }
.lcard__num { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; color: var(--mint); }
.lcard__title { font-weight: 600; font-size: clamp(22px, 1.95vw, 28px); line-height: 1.2; text-transform: uppercase; }
.lcard__text { font-size: 15px; line-height: 1.5; color: var(--muted); }
a.lcard { text-decoration: none; }
a.lcard:hover .lcard__title { color: var(--mint); }

/* ---------- light band: process, numbers, products, newsletter ---------- */
.band-light { background: var(--light); color: var(--dark); }
.band-light .h2 { color: var(--dark); }
.process__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; }
.process__head .h2 { max-width: 900px; }
.process__head p { max-width: 360px; font-size: 17px; line-height: 1.6; color: var(--dark-muted); }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; margin-top: clamp(32px, 3.9vw, 56px); }
.step { border-top: 1px solid var(--dark); padding-top: 22px; display: flex; flex-direction: column; gap: 12px; }
.step__num { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; color: var(--green); }
.step__icon { height: 46px; display: flex; align-items: flex-end; }
.step__icon svg { height: 40px; width: auto; color: var(--dark); }
.step__title { font-weight: 600; font-size: clamp(18px, 1.67vw, 24px); line-height: 1.2; text-transform: uppercase; color: var(--dark); }
.step__text { font-size: 15px; line-height: 1.5; color: var(--dark-muted); }
.steps--divided { gap: 0; border-top: 1px solid var(--dark); }
.steps--divided .step { border-top: 0; padding: 26px 32px 6px; }
.steps--divided .step:first-child { padding-left: 0; }
.steps--divided .step + .step { border-left: 1px solid var(--dark); }

.numbers__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; }
.numbers__head p { max-width: 380px; font-size: 16px; color: var(--dark-muted); }
.numbers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; margin-top: clamp(40px, 4.4vw, 64px); }
.number__value { font-weight: 600; font-size: clamp(56px, 7.2vw, 104px); line-height: 1; letter-spacing: -0.02em; color: var(--dark); }
.number__label { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--dark); margin-top: 20px; }
.number__text { font-size: 15px; color: var(--dark-muted); margin-top: 10px; }

.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: clamp(32px, 3.9vw, 56px); }
.product { background: #fff; padding: 28px; display: flex; flex-direction: column; gap: 20px; }
.product__img { height: 220px; display: grid; place-items: center; overflow: hidden; }
.product__img img { width: 100%; height: 100%; object-fit: contain; }
.product__name { font-weight: 600; font-size: 22px; color: var(--dark); }
.product__text { font-size: 16px; line-height: 1.5; color: var(--dark-muted); }

/* ---------- overview + facts ---------- */
.split { display: grid; grid-template-columns: minmax(0, 520fr) minmax(0, 788fr); gap: clamp(32px, 4.4vw, 64px); align-items: start; }
.split__text { display: flex; flex-direction: column; gap: 28px; }
.split__text .prose p + p { margin-top: 1em; }
.split__img { border-radius: var(--radius); overflow: hidden; aspect-ratio: 788 / 560; }
.split__img img { width: 100%; height: 100%; object-fit: cover; }
.split__img--tall { aspect-ratio: 788 / 600; }
/* The image holds its place while the longer text column scrolls past, then both finish level at the bottom. */
@media (min-width: 901px) { .split__img { position: sticky; top: calc(var(--nav-h) + 32px); } }
.facts { border-top: 1px solid var(--line); }
.fact { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.fact dt { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); flex: none; }
.fact dd { margin: 0; font-size: clamp(17px, 1.39vw, 20px); line-height: 1.3; text-align: right; max-width: 480px; }
.facts-panel { background: var(--panel); border-radius: var(--radius); padding: clamp(28px, 3.9vw, 56px); display: grid; grid-template-columns: minmax(0, 460fr) minmax(0, 788fr); gap: 40px; }

/* ---------- chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.chip { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--text); border: 1px solid var(--line-soft); padding: 12px 18px; line-height: 1.2; text-decoration: none; background: none; cursor: default; }
a.chip { cursor: pointer; transition: color .2s, border-color .2s, background-color .2s; }
a.chip:hover, button.chip:hover { border-color: var(--mint); color: var(--mint); }
.chip.is-active, .chip[aria-pressed="true"] { background: var(--mint); color: var(--ink); border-color: var(--mint); }
button.chip { cursor: pointer; }

/* ---------- FAQ ---------- */
.faq { margin-top: clamp(32px, 3.9vw, 56px); }
.faq__item { border-top: 1px solid var(--grey); }
.faq__item:last-child { border-bottom: 1px solid var(--grey); }
.faq__item summary { list-style: none; display: grid; grid-template-columns: 34px 1fr auto; gap: 0; align-items: baseline; padding: 24px 0; cursor: pointer; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__num { font-family: var(--mono); font-size: 12px; color: var(--grey); }
.faq__q { font-weight: 600; font-size: clamp(18px, 1.87vw, 27px); line-height: 1.25; text-transform: uppercase; }
.faq__sign { color: var(--grey); margin-left: 16px; }
.faq__item summary:hover .faq__q, .faq__item summary:hover .faq__sign { color: var(--mint); }
.faq__q { transition: color .2s; }
.faq__a { padding: 0 0 26px 34px; max-width: 840px; font-size: 17px; line-height: 1.6; color: var(--mint); }
.faq--plain .faq__item { border-color: var(--panel); }
.faq--plain .faq__q { text-transform: none; font-size: clamp(18px, 1.8vw, 26px); }
.faq--plain .faq__a { color: var(--muted); font-size: 18px; }
.faq--plain .faq__sign { color: var(--mint); width: 18px; height: 18px; }
.faq--plain .faq__sign::before, .faq--plain .faq__sign::after { height: 2px; margin-top: -1px; }
.faq--plain .faq__item summary { grid-template-columns: 1fr auto; }
.faq--plain .faq__a { padding-left: 0; }

/* ---------- forms ---------- */
.quote { background: var(--panel); border-radius: var(--radius); padding: clamp(28px, 3.9vw, 56px); display: grid; grid-template-columns: minmax(0, 520fr) minmax(0, 620fr); gap: clamp(32px, 4.4vw, 64px); }
.quote__intro { display: flex; flex-direction: column; gap: 24px; }
.quote__intro p.muted { font-size: 18px; line-height: 1.6; }
.qsteps { border-top: 1px solid var(--line); }
.qsteps li { display: grid; grid-template-columns: 36px 1fr; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; line-height: 1.5; }
.qsteps li span { font-family: var(--mono); font-size: 12px; color: var(--mint); padding-top: 3px; }
.quote__call { font-size: 14px; color: var(--muted); }
.quote__call a { color: var(--text); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-content: start; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label, .field .label { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.field label .opt { text-transform: none; letter-spacing: 0; color: var(--grey); }
.input { width: 100%; background: var(--bg); border: 1px solid var(--grey); color: var(--text); padding: 14px 16px; font-size: 15px; line-height: 22px; border-radius: 0; transition: border-color .2s; }
.input::placeholder { color: var(--grey); }
.input:focus { outline: none; border-color: var(--mint); box-shadow: 0 0 0 1px var(--mint); }
textarea.input { min-height: 140px; resize: vertical; }
select.input { appearance: none; background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 6L8 10L12 6' stroke='%23B6E3D5' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 44px; }
.field.is-invalid .input { border-color: #ff9a8a; }
.field__error { font-size: 13px; color: #ffb4a8; display: none; }
.field.is-invalid .field__error { display: block; }
.file { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px; border: 1px dashed var(--grey); background: var(--bg); padding: 14px 16px; cursor: pointer; font-size: 15px; color: var(--grey); }
.file:hover, .file.is-drag { border-color: var(--mint); }
.field label.file { font-family: var(--sans); font-size: 15px; letter-spacing: 0; text-transform: none; color: var(--grey); }
.field label.file.has-file { color: var(--text); }
.file input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.file__browse { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--text); }
.file.has-file { color: var(--text); border-style: solid; }
.form__foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 8px; }
.form__note { font-size: 13px; color: var(--muted); max-width: 360px; }
.form__note a { color: var(--text); }
.form__status { grid-column: 1 / -1; font-size: 15px; display: none; padding: 14px 16px; border: 1px solid var(--line); }
.form__status.is-error { display: block; border-color: #ff9a8a; color: #ffd2ca; }
.form__status.is-ok { display: block; border-color: var(--mint); color: var(--mint); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.btn[aria-busy="true"] { opacity: .7; cursor: progress; }
.progress { grid-column: 1 / -1; height: 3px; background: var(--line); display: none; }
.progress span { display: block; height: 100%; width: 0; background: var(--mint); transition: width .2s; }
.progress.is-on { display: block; }

/* contact page */
.contact { display: grid; grid-template-columns: minmax(0, 520fr) minmax(0, 788fr); gap: clamp(32px, 4.4vw, 64px); align-items: start; }
.contact__details { display: flex; flex-direction: column; gap: 40px; }
.details { border-top: 1px solid var(--line); }
.detail { border-bottom: 1px solid var(--line); padding: 20px 0; display: flex; flex-direction: column; gap: 8px; }
.detail .eyebrow { font-size: 12px; }
.detail__value { font-size: clamp(18px, 1.53vw, 22px); line-height: 1.3; text-decoration: none; overflow-wrap: anywhere; }
a.detail__value:hover { color: var(--mint); }
.form-panel { background: var(--panel); border-radius: var(--radius); padding: clamp(28px, 3.9vw, 56px); }
.map { position: relative; border-radius: var(--radius); overflow: hidden; height: clamp(320px, 30.6vw, 440px); background: #33383d; }
.map img { width: 100%; height: 100%; object-fit: cover; }
.map__card { position: absolute; left: 32px; bottom: 32px; width: min(360px, calc(100% - 40px)); background: var(--panel); border-radius: 8px; padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.map__card p { font-size: 20px; line-height: 1.3; }

/* ---------- banner + CTA ---------- */
.banner { position: relative; border-radius: 15px; overflow: hidden; min-height: clamp(380px, 40vw, 577px); display: flex; align-items: flex-end; }
.banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,.45) 100%), linear-gradient(90deg, rgba(0,0,0,.25), rgba(0,0,0,0) 60%); }
.banner__inner { position: relative; z-index: 1; padding: clamp(28px, 3.3vw, 48px); display: flex; flex-direction: column; gap: 18px; max-width: min(1040px, 60%); }
.banner__title { font-weight: 600; font-size: clamp(36px, 5vw, 72px); line-height: 0.95; text-transform: uppercase; letter-spacing: -0.01em; }
.banner__text { font-size: clamp(16px, 1.39vw, 20px); max-width: 820px; }
.cta-panel { background: var(--panel); border-radius: var(--radius); padding: clamp(28px, 3.9vw, 56px); display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }

/* ---------- news ---------- */
.featured { display: grid; grid-template-columns: minmax(0, 760fr) minmax(0, 556fr); gap: clamp(32px, 3.9vw, 56px); align-items: center; margin-top: 40px; text-decoration: none; }
.featured__img { border-radius: var(--radius); overflow: hidden; aspect-ratio: 760 / 480; }
.featured__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s cubic-bezier(.2, .7, .2, 1), opacity .8s ease; }
.featured:hover .featured__img img { transform: scale(1.02); }
.featured__text { display: flex; flex-direction: column; gap: 22px; }
.featured__title { font-weight: 600; font-size: clamp(28px, 2.8vw, 40px); line-height: 1.25; text-transform: uppercase; letter-spacing: -0.012em; }
.cat-tag { display: inline-block; border: 1px solid var(--mint); color: var(--mint); font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; padding: 6px 10px; }
.meta { display: flex; gap: 16px; align-items: center; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.meta .cat { color: var(--mint); }
.articles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px 24px; margin-top: 48px; }
.article-card { display: flex; flex-direction: column; gap: 16px; text-decoration: none; }
.article-card[hidden] { display: none; }
.article-card__img { aspect-ratio: 441 / 280; overflow: hidden; background: #33383d; }
.article-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s cubic-bezier(.2, .7, .2, 1), opacity .8s ease; }
.article-card:hover .article-card__img img { transform: scale(1.03); }
.article-card__title { font-weight: 600; font-size: clamp(19px, 1.67vw, 24px); line-height: 1.2; text-transform: uppercase; }
.article-card:hover .article-card__title { color: var(--mint); }
.article-card__text { font-size: 14px; line-height: 1.55; color: var(--muted); }
.load-more { display: flex; justify-content: center; margin-top: 48px; }
.newsletter { display: flex; justify-content: space-between; align-items: center; gap: 40px; }
.newsletter__form { display: flex; gap: 12px; width: min(620px, 100%); }
.newsletter__form .input { background: #fff; color: var(--dark); border-color: rgba(38, 41, 45, .45); padding: 18px 16px; }
.newsletter__form .input::placeholder { color: #6b737a; }

/* article page */
.article-head { padding-top: clamp(56px, 6.9vw, 100px); padding-bottom: clamp(32px, 3.9vw, 56px); }
.article-head .h2 { max-width: 1040px; margin-top: 24px; text-transform: none; font-size: clamp(32px, 3.9vw, 56px); line-height: 1.1; }
.article-head .lead { max-width: 760px; margin-top: 24px; color: var(--muted); }
.article-hero { border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 7; }
.article-hero img { width: 100%; height: 100%; object-fit: cover; }
.article-body { max-width: 760px; margin: clamp(40px, 4.4vw, 64px) auto 0; }
.prose { font-size: 18px; line-height: 1.7; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: clamp(24px, 2.2vw, 32px); line-height: 1.2; margin-top: 1.8em; }
.prose h3 { font-size: 22px; margin-top: 1.5em; }
.prose ul { list-style: disc; padding-left: 1.2em; }
.prose ol { list-style: decimal; padding-left: 1.2em; }
.prose li + li { margin-top: .4em; }
.prose a { color: var(--mint); }
.pending { border: 1px dashed var(--mint); padding: 20px 24px; color: var(--mint); font-size: 15px; border-radius: 8px; }

/* downloads */
.dl-list { border-top: 1px solid var(--line); margin-top: clamp(32px, 3.9vw, 56px); }
.dl { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; padding: 28px 0; border-bottom: 1px solid var(--line); }
.dl__title { font-weight: 600; font-size: clamp(20px, 1.95vw, 28px); text-transform: uppercase; }
.dl__text { color: var(--muted); font-size: 15px; margin-top: 6px; }
.dl__type { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--grey); margin-left: 12px; }
.dl__soon { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--grey); border: 1px solid var(--line); padding: 18px 22px; }

/* about */
.stat-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.stat-row > div { border-top: 1px solid var(--line); padding-top: 28px; }
.stat-row__value { font-weight: 600; font-size: clamp(48px, 6.1vw, 88px); line-height: 1; letter-spacing: -0.02em; }
.stat-row__label { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--mint); margin-top: 22px; }
.stat-row__text { font-size: 15px; color: var(--muted); margin-top: 10px; }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 40px; }
.duo--three { grid-template-columns: repeat(3, 1fr); }
.duo--three .duo__title { font-size: clamp(26px, 2.4vw, 36px); }
.duo__panel { background: var(--panel); border-radius: var(--radius); padding: clamp(28px, 3.3vw, 48px); display: flex; flex-direction: column; gap: 18px; }
.duo__title { font-weight: 600; font-size: clamp(30px, 3.3vw, 48px); line-height: 1; text-transform: uppercase; }
.team { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-top: clamp(32px, 3.9vw, 56px); }
.person__img { aspect-ratio: 325 / 380; overflow: hidden; background: #33383d; }
.person__img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); }
.person__name { font-weight: 600; font-size: 20px; text-transform: uppercase; margin-top: 18px; }
.person__role { font-size: 14px; color: var(--muted); }

/* thank you + 404 */
.notice { min-height: 60vh; display: flex; flex-direction: column; justify-content: center; gap: 24px; padding-top: var(--section); padding-bottom: var(--section); }

/* ---------- footer ---------- */
.footer { background: var(--bg); padding-top: clamp(56px, 5.6vw, 80px); padding-bottom: 54px; font-family: var(--foot); }
.footer__logo svg { width: clamp(220px, 22.5vw, 324px); height: auto; display: block; }
.footer__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 54px; padding: clamp(40px, 5vw, 72px) 0; }
.footer__col { display: flex; flex-direction: column; gap: 18px; font-size: 15.75px; line-height: 1.45; }
.footer__head { font-weight: 700; font-size: 15.75px; letter-spacing: .1em; text-transform: uppercase; color: var(--mint); margin-bottom: 9px; }
.footer__col a { text-decoration: none; transition: color .2s; }
.footer__col a:hover { color: var(--mint); }
.footer__col button { background: none; border: 0; padding: 0; text-align: left; cursor: pointer; font: inherit; color: inherit; }
.footer__col button:hover { color: var(--mint); }
.footer__addr { font-style: normal; line-height: 1.62; }
.footer__icons { display: flex; gap: 18px; align-items: center; margin-top: 6px; }
.footer__icons a { display: inline-flex; width: 24px; height: 24px; align-items: center; justify-content: center; }
.footer__icons svg { max-width: 22px; max-height: 22px; }
.footer__icons a { color: var(--text); }
.footer__icons a:hover { color: var(--mint); }
.footer__bottom { border-top: 1.125px solid var(--text); padding-top: 36px; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; font-size: 15px; }
.footer__badges { display: flex; gap: 36px; font-weight: 600; font-size: 13.5px; letter-spacing: .1em; text-transform: uppercase; }

/* cookie banner */
.cookie { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 80; max-width: 560px; background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 22px; display: none; flex-direction: column; gap: 16px; box-shadow: 0 20px 40px rgba(0,0,0,.4); font-size: 15px; line-height: 1.5; }
.cookie.is-open { display: flex; }
.cookie a { color: var(--mint); }
.cookie .btns .btn { padding: 14px 20px; }

/* preview ribbon */
.preview-ribbon { position: fixed; right: 12px; bottom: 12px; z-index: 90; background: var(--mint); color: var(--ink); font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; padding: 8px 12px; border-radius: 4px; pointer-events: none; }

/* highlight boxes (capabilities, sector strengths, how we work) */
.highlights { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 1.8vw, 24px); margin-top: clamp(32px, 3.9vw, 56px); }
.highlight { background: var(--panel); border-radius: var(--radius); padding: clamp(24px, 2.8vw, 40px); display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.highlight__icon { width: 64px; height: 64px; border-radius: 50%; background: var(--mint); color: var(--ink); display: grid; place-items: center; margin-bottom: clamp(12px, 1.7vw, 24px); flex: none; }
.highlight__icon svg { width: 30px; height: 30px; }
.highlight__title { font-weight: 600; font-size: clamp(20px, 1.8vw, 26px); line-height: 1.15; text-transform: uppercase; }
.highlight__text { font-size: 15px; line-height: 1.55; color: var(--muted); }

/* process flow: one thread from drawing to dispatch */
.flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(40px, 4.4vw, 64px); }
.flow__step { position: relative; display: flex; flex-direction: column; gap: 10px; padding-right: 28px; min-width: 0; }
.flow__node { position: relative; z-index: 1; width: 72px; height: 72px; border-radius: 50%; background: #fff; border: 1.5px solid var(--dark); color: var(--dark); display: grid; place-items: center; margin-bottom: 14px; }
.flow__node svg { width: 34px; height: 34px; }
.flow__step:last-child .flow__node { background: var(--mint); border-color: var(--mint); }
.flow__step:not(:last-child)::before { content: ""; position: absolute; top: 36px; left: 86px; right: 14px; border-top: 2px solid var(--dark); }
.flow__step:not(:last-child)::after { content: ""; position: absolute; top: 31px; right: 15px; width: 10px; height: 10px; border-top: 2px solid var(--dark); border-right: 2px solid var(--dark); transform: rotate(45deg); }
.flow .step__num { color: var(--green); }
.flow .step__text { max-width: 260px; }
@media (max-width: 900px) {
  .flow { grid-template-columns: 1fr; }
  .flow__step { display: grid; grid-template-columns: 72px minmax(0, 1fr); column-gap: 20px; row-gap: 6px; align-content: start; padding: 0 0 36px; }
  .flow__step:last-child { padding-bottom: 0; }
  .flow__node { grid-row: 1 / span 3; margin: 0; }
  .flow .step__num { padding-top: 10px; }
  .flow__step:not(:last-child)::before { top: 80px; bottom: 8px; left: 35px; right: auto; border-top: 0; border-left: 2px solid var(--dark); }
  .flow__step:not(:last-child)::after { top: auto; bottom: 9px; left: 31px; right: auto; transform: rotate(135deg); }
}
@media (max-width: 700px) {
  .highlights { grid-template-columns: 1fr; }
  .highlight { flex-direction: row; flex-wrap: wrap; align-items: center; column-gap: 18px; }
  .highlight__icon { width: 56px; height: 56px; margin: 0; }
  .highlight__title { flex: 1 1 0; min-width: 0; }
  .highlight__text { flex-basis: 100%; }
}

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .nav__links { display: none; }
  .nav__cta { display: none; }
  .burger { display: block; }
  :root { --nav-h: 72px; }
  .logo { width: 110px; height: 45px; }
  .logo svg { width: 88px; }
  .mobile-menu { position: fixed; inset: var(--nav-h) 0 0 0; background: var(--panel); overflow-y: auto; padding: 24px var(--gutter) 40px; flex-direction: column; gap: 4px; }
  .nav.is-menu .mobile-menu { display: flex; }
  .mobile-menu a { font-family: var(--mono); text-transform: uppercase; letter-spacing: .06em; font-size: 18px; text-decoration: none; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .mobile-menu a.sub { font-family: var(--sans); text-transform: none; letter-spacing: 0; font-size: 16px; padding: 10px 0 10px 16px; color: var(--muted); border-bottom: 0; }
  .mobile-menu .btn { margin-top: 24px; justify-content: center; font-family: var(--sans); text-transform: none; letter-spacing: .02em; font-size: 15px; border-bottom: 0; }
  .cards, .lcards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .carousel__track { grid-auto-columns: calc((100% - clamp(20px, 2.4vw, 34px)) / 2); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps--divided .step:nth-child(3) { border-left: 0; padding-left: 0; }
  .numbers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .articles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .team { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .cap, .split, .contact, .quote, .featured, .facts-panel { grid-template-columns: 1fr; }
  .split__img { order: 2; }
  .process__head, .numbers__head, .newsletter { flex-direction: column; align-items: flex-start; }
  .duo { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: 1fr; }
  .products { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  body { font-size: 16px; }
  .wrap { --gutter: 20px; }
  .hero--home .hero__inner { padding-top: 48px; padding-bottom: 48px; justify-content: flex-end; min-height: 680px; }
  .hero--home .hero__img { object-position: 70% center; }
  .hero__eyebrow-mobile, .hero__text-mobile { display: block; }
  .hero__text-mobile { color: #dfe3e6; font-size: 18px; line-height: 1.45; }
  .hero::after { background: linear-gradient(0deg, rgba(0,0,0,.72) 0%, rgba(0,0,0,.42) 55%, rgba(0,0,0,.3) 100%); }
  .home-title__l1, .home-title__l2 { font-family: var(--sans); font-weight: 600; font-size: 48px; line-height: 46px; letter-spacing: -0.01em; }
  .hero--home .btns { flex-direction: column; }
  .hero--home .btns .btn { justify-content: center; }
  .btns .btn { flex: 1 1 auto; justify-content: center; }
  .stats { margin-top: 0; }
  .stats .wrap { padding: 0; }
  .stats__bar { grid-template-columns: 1fr; background: var(--panel); border: 0; padding: 8px 20px; }
  .stat { align-items: flex-start; text-align: left; padding: 20px 0; gap: 6px; }
  .stat + .stat { border-left: 0; border-top: 1px solid var(--bg); }
  .stat--mobile { display: flex; }
  .stat__value { font-size: 32px; }
  .acc__item summary { grid-template-columns: 40px 1fr auto; padding: 20px 0; }
  .acc__title { font-size: 20px; }
  .acc__body { padding-left: 40px; }
  .cards, .lcards, .steps, .numbers, .articles, .team, .footer__grid { grid-template-columns: 1fr; }
  .carousel__track { grid-auto-flow: row; grid-auto-columns: auto; overflow: visible; gap: 40px; }
  .carousel__btn { display: none; }
  .steps--divided { border-top: 0; gap: 24px; }
  .steps--divided .step { border-top: 1px solid var(--dark); border-left: 0 !important; padding: 20px 0 4px !important; }
  .form { grid-template-columns: 1fr; }
  .faq__item summary { grid-template-columns: 28px 1fr auto; }
  .faq__a { padding-left: 28px; }
  .fact { flex-direction: column; align-items: flex-start; gap: 6px; }
  .fact dd { text-align: left; }
  .newsletter__form { flex-direction: column; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .footer__badges { flex-direction: column; gap: 8px; }
  .map__card { left: 16px; bottom: 16px; padding: 20px; }
  .cta-panel .btns { width: 100%; }
  .dl { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Motion
   Precise and mechanical, like the presses. Short confident moves that slide
   and lock into place. The head script adds .motion only when the visitor has
   not asked their device to reduce motion, and removes it again if site.js
   does not start, so the page always renders in full without it.
   ========================================================================== */
:root { --ease-out: cubic-bezier(.2, .7, .2, 1); --ease-snap: cubic-bezier(.7, 0, .2, 1); }
@keyframes rv-up { from { opacity: 0; transform: translate3d(0, 28px, 0); } to { opacity: 1; transform: none; } }
@keyframes rv-up-sm { from { opacity: 0; transform: translate3d(0, 8px, 0); } to { opacity: 1; transform: none; } }
@keyframes rv-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes pop { from { opacity: 0; scale: .4; } to { opacity: 1; scale: 1; } }

/* 1. Scroll reveals. Keep this list in step with REVEAL in site.js */
.motion :is(.heading-group, .wrap > .eyebrow, .also > .eyebrow, .split__text .prose, .split__img, .card, .lcard, .highlight, .fact, .cap__img, .acc__item, .faq__item, .chips > li, .product, .stats__bar, .stat-row > div, .numbers > div, .duo__panel, .person, .article-card, .featured, .dl, .quote__intro, .quote > .form, .form-panel, .contact__details, .map, .cta-panel, .banner, .process__head > p, .newsletter, .article-body, .article-hero, .loop-panel, .mould, .footer__col, .notice > *):not(.is-in) { opacity: 0; }
.motion :is(.heading-group, .wrap > .eyebrow, .also > .eyebrow, .split__text .prose, .split__img, .card, .lcard, .highlight, .fact, .cap__img, .acc__item, .faq__item, .chips > li, .product, .stats__bar, .stat-row > div, .numbers > div, .duo__panel, .person, .article-card, .featured, .dl, .quote__intro, .quote > .form, .form-panel, .contact__details, .map, .cta-panel, .banner, .process__head > p, .newsletter, .article-body, .article-hero, .loop-panel, .mould, .footer__col, .notice > *).is-in { animation: rv-up .9s var(--ease-out) backwards; animation-delay: calc(var(--i, 0) * 80ms); }
.motion .stats__bar.is-in { animation-delay: .65s; }
.motion .highlight.is-in .highlight__icon { animation: pop .7s var(--ease-out) backwards; animation-delay: calc(var(--i, 0) * 80ms + .25s); }

/* 2. Page transitions. Browsers without view transitions load pages as normal */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .22s ease both; }
::view-transition-new(root) { animation: vt-in .5s var(--ease-out) both; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; transform: translate3d(0, 14px, 0); } }
.hero:not(.hero--home) { view-transition-name: hero-img; }
::view-transition-group(hero-img) { animation-duration: .6s; animation-timing-function: var(--ease-out); overflow: clip; }
::view-transition-old(hero-img), ::view-transition-new(hero-img) { width: 100%; height: 100%; object-fit: cover; animation-duration: .45s; }
::view-transition-group(site-nav) { animation-duration: .45s; animation-timing-function: var(--ease-out); }
@media (prefers-reduced-motion: reduce) { @view-transition { navigation: none; } }

/* 3. Odometer figures. Each digit rolls on its own reel and locks into place */
.motion :is(.stat__value, .stat-row__value, .number__value):not(.odo-ready) { visibility: hidden; }
.odo-row { white-space: nowrap; font-variant-numeric: tabular-nums; }
.odo, .odo-s { display: inline-block; vertical-align: top; height: 1em; height: 1lh; }
.odo { overflow: hidden; }
.odo-s { white-space: pre; }
.odo__reel { display: block; transform: translate3d(0, 0, 0); }
.odo-in .odo__reel { transform: translate3d(0, calc((10 + var(--d)) * -5%), 0); transition: transform 1.9s cubic-bezier(.15, .75, .15, 1); transition-delay: calc(var(--k) * 90ms); }
.stats .odo-in .odo__reel { transition-delay: calc(.8s + var(--k) * 90ms); }

/* 4. Images fade in once they have loaded, instead of popping in */
.motion img[loading="lazy"]:not(.is-loaded) { opacity: 0; }
.motion img[loading="lazy"] { transition: opacity .8s ease; }
.motion .card__img img[loading="lazy"], .motion .featured__img img, .motion .article-card__img img { transition: transform .9s var(--ease-out), opacity .8s ease; }
.motion .cap__img img { transition: clip-path .85s var(--ease-snap), scale 1.4s var(--ease-out), opacity .8s ease; }
.motion .cap__img img.was-on { transition: none; }

/* 5. Hovers */
@keyframes ul-redraw { 0% { background-size: 100% 1px; background-position: 100% 100%; } 45% { background-size: 0 1px; background-position: 100% 100%; } 46% { background-size: 0 1px; background-position: 0 100%; } 100% { background-size: 100% 1px; background-position: 0 100%; } }
@media (hover: hover) {
  .link-mono:hover, .card:hover .link-mono, a.lcard:hover .link-mono { animation: ul-redraw .65s var(--ease-snap); }
  .card { transition: translate .5s var(--ease-out); }
  .card:hover { translate: 0 -6px; }
  .article-card { transition: translate .5s var(--ease-out); }
  .article-card:hover { translate: 0 -6px; }
}
a.lcard { position: relative; }
a.lcard::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px; background: var(--mint); transform: scaleX(0); transform-origin: left center; transition: transform .55s var(--ease-snap); }
a.lcard:hover::before { transform: scaleX(1); }
a.lcard .lcard__title { transition: color .2s; }
.acc__sign, .faq__sign { position: relative; width: 14px; height: 14px; align-self: center; flex: none; }
.acc__sign::before, .acc__sign::after, .faq__sign::before, .faq__sign::after { content: ""; position: absolute; left: 0; top: 50%; width: 100%; height: 1.5px; margin-top: -.75px; background: currentColor; transition: transform .45s var(--ease-snap); }
.acc__sign::after, .faq__sign::after { transform: rotate(90deg); }
details[open]:not(.is-closing) > summary .acc__sign::after, details[open]:not(.is-closing) > summary .faq__sign::after { transform: rotate(180deg); }
.cookie.is-open { animation: rv-up .5s var(--ease-out) both; }

/* 6. Process flow. Each step lights up in turn and the arrows draw on to the next */
.motion .flow .flow__step::before { transform-origin: left center; transition: transform .5s var(--ease-snap); transition-delay: calc(var(--s, 0) * .5s + .35s); }
.motion .flow .flow__step::after { transition: opacity .2s ease; transition-delay: calc(var(--s, 0) * .5s + .78s); }
.motion .flow:not(.is-run) .flow__step::before { transform: scaleX(0); }
.motion .flow:not(.is-run) .flow__step::after { opacity: 0; }
.motion .flow:not(.is-run) .flow__node, .motion .flow:not(.is-run) .flow__step > :not(.flow__node) { opacity: 0; }
.motion .flow.is-run .flow__node { animation: node-pass 1.2s var(--ease-out) backwards; animation-delay: calc(var(--s, 0) * .5s); }
.motion .flow.is-run .flow__step:last-child .flow__node { animation-name: node-arrive; }
.motion .flow.is-run .flow__step > :not(.flow__node) { animation: rv-up .8s var(--ease-out) backwards; animation-delay: calc(var(--s, 0) * .5s + .12s); }
@keyframes node-pass { 0% { opacity: 0; scale: .6; } 30% { opacity: 1; scale: 1.1; background: var(--mint); border-color: var(--mint); } 100% { scale: 1; } }
@keyframes node-arrive { 0% { opacity: 0; scale: .6; background: #fff; border-color: var(--dark); } 30% { opacity: 1; scale: 1.14; background: var(--mint); border-color: var(--mint); } 100% { scale: 1; background: var(--mint); border-color: var(--mint); } }
@media (max-width: 900px) {
  .motion .flow .flow__step::before { transform-origin: center top; }
  .motion .flow:not(.is-run) .flow__step::before { transform: scaleY(0); }
}

/* 8. Page heroes. Slow push in on the photo, headline rises word by word */
@keyframes hero-push { from { scale: 1; } to { scale: 1.08; } }
@keyframes hero-drift { from { translate: 0 0; } to { translate: 0 30%; } }
@keyframes img-drift { from { translate: 0 -7%; } to { translate: 0 7%; } }
@keyframes word-up { from { transform: translate3d(0, 110%, 0); } to { transform: none; } }
.motion .hero:not(.hero--home) .hero__img { animation: hero-push 18s var(--ease-out) both; }
.motion .hero h1:not(.is-split) { visibility: hidden; }
.hero h1 .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
.hero h1 .w > span { display: inline-block; }
.motion .hero h1.is-split .w > span { animation: word-up 1s var(--ease-out) backwards; animation-delay: calc(.12s + var(--wi, 0) * 70ms); }
.motion .hero__inner > :not(h1) { animation: rv-up .9s var(--ease-out) backwards; animation-delay: .45s; }
.motion .hero__inner > .crumbs { animation-delay: .05s; }
.motion .hero__inner > .btns { animation-delay: .6s; }

/* 9. Menus. Dropdowns slide in with links staggered, the bar tucks away on the way down */
.nav__item.is-open .mega > * { animation: rv-up-sm .4s var(--ease-out) backwards; animation-delay: calc(var(--i, 0) * 22ms + 40ms); }
@keyframes menu-in { from { opacity: 0; clip-path: inset(0 0 100% 0); } to { opacity: 1; clip-path: inset(0); } }
.nav.is-menu .mobile-menu { animation: menu-in .4s var(--ease-out) both; }
.nav.is-menu .mobile-menu > * { animation: rv-up-sm .45s var(--ease-out) backwards; animation-delay: calc(var(--i, 0) * 20ms + 90ms); }
@media (min-width: 901px) {
  .split__img { transition: top .45s var(--ease-out); }
  body:has(.nav.is-tucked) .split__img { top: 32px; }
}

/* 10. Depth. Hero and banner photos move a little slower than the page */
@supports (animation-timeline: scroll()) {
  .motion .hero:not(.hero--home) .hero__img { animation: hero-push 18s var(--ease-out) both, hero-drift linear both; animation-timeline: auto, scroll(root); animation-range: normal, 0px 100vh; }
  .motion .hero--home .hero__img { animation: hero-drift linear both; animation-timeline: scroll(root); animation-range: 0px 100vh; }
  .motion .banner > img, .motion .article-hero img { scale: 1.18; animation: img-drift linear both; animation-timeline: view(); }
}

/* 11. Closed loop. The loop draws on, then a marker runs round it lighting each station */
.loop { display: block; width: 100%; height: auto; overflow: visible; }
.loop__track { fill: none; stroke: rgba(240, 242, 244, .2); stroke-width: 1; stroke-dasharray: 2 7; }
.loop__inner { fill: none; stroke: rgba(182, 227, 213, .14); stroke-width: 1; }
.loop__draw { fill: none; stroke: var(--mint); stroke-width: 2; stroke-dasharray: 1; stroke-dashoffset: 0; transition: stroke-dashoffset 1.6s var(--ease-snap); }
.loop__chev { fill: none; stroke: var(--mint); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.loop__node circle { fill: var(--bg); stroke: var(--mint); stroke-width: 1.5; }
.loop__node text { fill: var(--mint); font-family: var(--mono); font-size: 14px; text-anchor: middle; dominant-baseline: central; }
.loop__label { fill: var(--text); font-family: var(--mono); font-size: 15px; letter-spacing: .08em; }
.loop__core { fill: var(--mint); font-family: var(--mono); font-size: 15px; letter-spacing: .14em; text-anchor: middle; }
.loop__runner { display: none; fill: var(--mint); }
.motion .loop__runner { display: inline; transform-box: view-box; transform-origin: 260px 240px; opacity: 0; }
.motion [data-loop]:not(.is-in) .loop__draw { stroke-dashoffset: 1; }
.motion [data-loop]:not(.is-in) :is(.loop__node, .loop__chev, .loop__label, .loop__core) { opacity: 0; }
.motion [data-loop].is-in .loop__node { transform-box: fill-box; transform-origin: center; animation: pop .6s var(--ease-out) backwards; animation-delay: calc(var(--k) * .28s + .1s); }
.motion [data-loop].is-in .loop__label { animation: rv-fade .6s ease backwards; animation-delay: calc(var(--k) * .28s + .3s); }
.motion [data-loop].is-in :is(.loop__chev, .loop__core) { animation: rv-fade .6s ease backwards; animation-delay: 1.4s; }
.motion [data-loop].is-in .loop__runner { opacity: 1; animation: loop-spin 10s linear 1.6s infinite, rv-fade .4s ease 1.6s backwards; }
.motion [data-loop].is-in .loop__node circle { animation: loop-pulse-c 10s linear infinite; animation-delay: calc(1.6s + var(--k) * 2s); }
.motion [data-loop].is-in .loop__node text { animation: loop-pulse-t 10s linear infinite; animation-delay: calc(1.6s + var(--k) * 2s); }
@keyframes loop-spin { from { rotate: 0deg; } to { rotate: 360deg; } }
@keyframes loop-pulse-c { 0%, 5% { fill: var(--mint); } 15%, 100% { fill: var(--bg); } }
@keyframes loop-pulse-t { 0%, 5% { fill: var(--ink); } 15%, 100% { fill: var(--mint); } }
.banner__loop { position: absolute; z-index: 1; right: clamp(24px, 4.4vw, 64px); top: 50%; translate: 0 -50%; width: clamp(280px, 30vw, 440px); pointer-events: none; }
.banner__loop .loop__node circle { fill: #1c1f22; }
.loop__bg { fill: rgba(14, 16, 18, .52); }
.banner:has(.banner__loop)::after { background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,.45) 100%), linear-gradient(90deg, rgba(0,0,0,.3), rgba(0,0,0,0) 55%), linear-gradient(270deg, rgba(0,0,0,.35), rgba(0,0,0,0) 45%); }
@keyframes loop-pulse-c-dark { 0%, 5% { fill: var(--mint); } 15%, 100% { fill: #1c1f22; } }
.motion .banner__loop.is-in .loop__node circle { animation-name: loop-pulse-c-dark; }
.loop-panel { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(32px, 4.4vw, 64px); align-items: center; margin-top: clamp(32px, 3.9vw, 56px); background: var(--panel); border-radius: var(--radius); padding: clamp(28px, 3.9vw, 56px); }
.loop-panel .loop__node circle { fill: var(--panel); }
@keyframes loop-pulse-c-panel { 0%, 5% { fill: var(--mint); } 15%, 100% { fill: var(--panel); } }
.motion .loop-panel.is-in .loop__node circle { animation-name: loop-pulse-c-panel; }
.loop-steps { border-top: 1px solid var(--line); }
.loop-steps li { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 8px; padding: 18px 14px 18px 12px; border-bottom: 1px solid var(--line); }
.loop-steps .n { grid-row: span 2; font-family: var(--mono); font-size: 12px; color: var(--mint); padding-top: 5px; }
.loop-steps h3 { font-size: clamp(18px, 1.6vw, 22px); line-height: 1.25; text-transform: uppercase; }
.loop-steps p { font-size: 15px; line-height: 1.5; color: var(--muted); margin-top: 4px; }
.motion .loop-panel:not(.is-in) .loop-steps li { opacity: 0; }
.motion .loop-panel.is-in .loop-steps li { animation: rv-up .7s var(--ease-out) backwards, step-pulse 10s linear infinite; animation-delay: calc(var(--k) * 90ms + .2s), calc(1.6s + var(--k) * 2s); }
@keyframes step-pulse { 0%, 5% { background-color: rgba(182, 227, 213, .12); } 18%, 100% { background-color: rgba(182, 227, 213, 0); } }

/* 12. Inside the tool. Scroll runs one moulding cycle: inject, cool, open, eject */
.mould { display: grid; grid-template-columns: minmax(0, 2.1fr) minmax(0, 1fr); gap: clamp(28px, 3.3vw, 48px); align-items: center; margin-top: clamp(32px, 3.9vw, 56px); background: var(--panel); border-radius: var(--radius); padding: clamp(24px, 3.3vw, 48px); }
.mould__svg { display: block; width: 100%; height: auto; }
.mould-track { margin-top: clamp(32px, 3.9vw, 56px); }
.mould-track > .mould { margin-top: 0; }
.mould-spacer { display: none; }
/* On larger screens the panel holds in the middle of the screen while the cycle plays, then carries on up the page */
.motion .mould-track.is-pinned > .mould { position: sticky; top: var(--mould-top, 100px); z-index: 2; }
.motion .mould-track.is-pinned > .mould-spacer { display: block; height: 130vh; }
.m-steel { fill: #4a4f55; stroke: #80878e; stroke-width: 1.5; }
.m-hatch { fill: url(#m-hatch); }
.m-void { fill: var(--panel); }
.m-pin { fill: #cfd4d8; }
.m-pellet { fill: var(--mint); opacity: .8; }
.m-flight { stroke: #80878e; stroke-width: 1.5; }
.m-plastic { fill: var(--mint); }
.m-label { fill: var(--muted); font-family: var(--mono); font-size: 13px; letter-spacing: .08em; }
.m-label--mint { fill: var(--mint); }
.mould__steps { border-top: 1px solid var(--line); }
.mould__steps li { position: relative; display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: 6px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.mould__steps li::before { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--mint); transform: scaleX(0); transform-origin: left center; transition: transform .6s var(--ease-snap); }
.mould__steps .n { grid-row: span 2; font-family: var(--mono); font-size: 12px; color: var(--mint); padding-top: 5px; }
.mould__steps h3 { font-size: clamp(18px, 1.6vw, 22px); line-height: 1.25; text-transform: uppercase; transition: color .3s; }
.mould__steps p { font-size: 15px; line-height: 1.5; color: var(--muted); margin-top: 4px; }
.mould__hint { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--grey); margin-top: 18px; display: none; }
.motion .mould__hint { display: block; }
.motion .mould__steps li { opacity: .4; transition: opacity .35s ease; }
.motion .mould__steps li.is-on { opacity: 1; }
.motion .mould__steps li.is-on::before { transform: scaleX(1); }
.motion .mould__steps li.is-on h3 { color: var(--mint); }

@media (max-width: 900px) {
  .banner { flex-direction: column; align-items: stretch; justify-content: flex-end; }
  .banner__loop { position: relative; right: auto; top: auto; translate: none; width: min(320px, 82%); margin: 28px auto 0; }
  .banner__inner { max-width: none; }
  .loop-panel, .mould { grid-template-columns: 1fr; }
  .loop-panel__fig { max-width: 440px; margin: 0 auto; width: 100%; }
  .mould { padding: 20px 16px 24px; }
  .mould__svg { position: sticky; top: calc(var(--nav-h) + 8px); z-index: 1; align-self: start; background: var(--panel); padding: 10px 0 14px; transition: top .45s var(--ease-out); }
  body:has(.nav.is-tucked) .mould__svg { top: 8px; }
}
@media (max-width: 700px) {
  .m-label { display: none; }
  .banner__loop { width: min(340px, 92%); }
}

/* ---------- Instant estimate (preview mock-up) ---------- */
.est { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 4.4vw, 64px); margin-top: clamp(32px, 3.9vw, 56px); align-items: start; }
.est__form { display: flex; flex-direction: column; gap: clamp(28px, 2.8vw, 40px); }
.est__group { border: 0; margin: 0; padding: 0; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.est__legend { padding: 0 0 14px; margin-bottom: 4px; width: 100%; border-bottom: 1px solid var(--line); font-size: clamp(18px, 1.5vw, 22px); line-height: 1.2; font-weight: 600; text-transform: uppercase; letter-spacing: 0.01em; }
.est__dims { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.est__dims--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.est .field label .opt { font-family: var(--sans); font-size: 13px; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg label { position: relative; flex: 1 1 0; min-width: 132px; cursor: pointer; }
.seg--two label { min-width: 180px; }
.seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg label, .field .seg label { font-family: var(--sans); font-size: 15px; letter-spacing: 0; text-transform: none; }
.seg span { display: flex; align-items: center; justify-content: center; min-height: 52px; height: 100%; padding: 10px 14px; border: 1px solid var(--grey); background: var(--bg); color: var(--muted); font-size: 15px; line-height: 1.3; text-align: center; transition: background-color .2s, color .2s, border-color .2s; }
.seg label:hover span { border-color: var(--text); color: var(--text); }
.seg input:checked + span { background: var(--mint); border-color: var(--mint); color: var(--ink); font-weight: 600; }
.seg input:focus-visible + span { outline: 2px solid var(--mint); outline-offset: 3px; }
.est input[type=number] { -moz-appearance: textfield; }
.est input[type=number]::-webkit-inner-spin-button, .est input[type=number]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }

.est__result { background: var(--panel); border-radius: var(--radius); padding: clamp(24px, 2.8vw, 40px); display: flex; flex-direction: column; gap: 20px; }
@media (min-width: 901px) { .est__result { position: sticky; top: calc(var(--nav-h) + 24px); } }
.est__result [data-out-body], .est__result [data-out-msg] { display: flex; flex-direction: column; gap: 20px; }
.est__result [hidden] { display: none; }
.est__title { font-family: var(--sans); font-size: clamp(28px, 2.6vw, 38px); line-height: 1.05; letter-spacing: -0.01em; text-transform: uppercase; font-weight: 600; color: var(--text); }
.est__label, .est__keys dt, .est__spec dt, .est__breaks th, .est__plate-label { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 400; }
.est__big { font-size: clamp(34px, 3.3vw, 48px); line-height: 1; font-weight: 600; letter-spacing: -0.01em; color: var(--mint); font-variant-numeric: tabular-nums; margin-top: -10px; }
.est__big--msg { text-transform: uppercase; }
.est__sub { font-size: 15px; color: var(--muted); margin-top: -8px; }
.est__keys, .est__spec { margin: 0; border-top: 1px solid var(--line); }
.est__keys > div, .est__spec > div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.est__keys dd, .est__spec dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; }
.est__keys dd { font-size: 20px; font-weight: 600; }
.est__spec dd { font-size: 15px; }
.est__hint { font-size: 14px; color: #ffd9a8; }
.est__breaks { overflow-x: auto; }
.est__breaks table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; font-size: 15px; }
.est__breaks th { text-align: left; padding: 10px 12px; background: var(--panel-2); }
.est__breaks th:last-child, .est__breaks td:last-child { text-align: right; }
.est__breaks td { padding: 10px 12px; border-bottom: 1px solid var(--line); }
.est__breaks tr.is-mine td { color: var(--mint); font-weight: 600; }
.est__basis { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: center; }
.est__plate-wrap svg { display: block; width: 100%; height: auto; }
.est__plate { fill: var(--panel-2); stroke: var(--line); }
.est__cav { fill: rgba(182, 227, 213, 0.14); stroke: var(--mint); stroke-width: 1.5; }
.est__runner { stroke: var(--mint); stroke-width: 1.5; stroke-dasharray: 3 4; opacity: .7; }
.est__sprue { fill: var(--mint); }
.est__plate-label { margin-top: 8px; text-align: center; letter-spacing: .06em; }
.est__note { font-size: 13px; line-height: 1.5; color: var(--grey); }
.est__result .btns { display: flex; flex-wrap: wrap; gap: 12px; }
.est__result .btn { white-space: normal; }
@media (max-width: 1180px) { .est__basis { grid-template-columns: 1fr; } }
@media (max-width: 900px) {
  .est { grid-template-columns: 1fr; }
  .est__basis { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
/* ---------- Live Calculator / Estimator Chatbot ---------- */
.est-mode { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; margin-top: clamp(28px, 3vw, 44px); border: 1px solid var(--grey); background: var(--bg); }
.est-mode button { font-family: var(--sans); font-size: 16px; font-weight: 600; letter-spacing: 0.01em; padding: 14px 22px; border: 0; background: transparent; color: var(--muted); cursor: pointer; transition: background-color .2s, color .2s; }
.est-mode button:hover { color: var(--text); }
.est-mode button[aria-selected="true"] { background: var(--mint); color: var(--ink); }
.est-mode button:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; }
.est-mode + .est { margin-top: clamp(24px, 2.4vw, 36px); }
.est__left { min-width: 0; }
.est__form[hidden] { display: none; }
.est__wait { font-size: 17px; line-height: 1.5; color: var(--muted); }
.est__from { font-size: 13px; line-height: 1.4; color: var(--muted); margin-bottom: -6px; }
.chat { display: flex; flex-direction: column; gap: 16px; }
.chat[hidden] { display: none; }
.chat__log { display: flex; flex-direction: column; gap: 14px; min-height: 280px; max-height: min(64vh, 640px); overflow-y: auto; overscroll-behavior: contain; padding: clamp(16px, 2vw, 24px); background: var(--panel); border-radius: var(--radius); }
.chat__msg { max-width: 88%; padding: 14px 16px; font-size: 15px; line-height: 1.5; border-radius: 10px; overflow-wrap: anywhere; }
.chat__msg p + p { margin-top: 8px; }
.chat__msg--bot { align-self: flex-start; background: var(--panel-2); color: var(--text); border-bottom-left-radius: 2px; }
.chat__msg--you { align-self: flex-end; background: var(--mint); color: var(--ink); border-bottom-right-radius: 2px; }
.chat__assume { margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.chat__assume-title { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 6px; }
.chat__assume ul { margin: 0; padding-left: 18px; }
.chat__assume li + li { margin-top: 4px; }
.chat__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.chat__action { font-family: var(--sans); font-size: 14px; font-weight: 600; line-height: 1.2; padding: 10px 14px; border: 1px solid var(--mint); background: transparent; color: var(--mint); text-decoration: none; cursor: pointer; transition: background-color .2s, color .2s; }
.chat__action:hover { background: var(--mint); color: var(--ink); }
.chat__action--phone { display: none; }
.chat__typing { display: flex; gap: 6px; padding: 18px 16px; }
.chat__typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: chat-dot 1.2s infinite ease-in-out; }
.chat__typing span:nth-child(2) { animation-delay: .15s; }
.chat__typing span:nth-child(3) { animation-delay: .3s; }
@keyframes chat-dot { 0%, 80%, 100% { opacity: .3; translate: 0 0; } 40% { opacity: 1; translate: 0 -3px; } }
.chat__thumbs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.chat__msg--you .chat__file { background: rgba(8, 9, 11, 0.12); color: var(--ink); }
.chat__starters { display: flex; flex-wrap: wrap; gap: 8px; }
.chat__starters[hidden] { display: none; }
.chat__chip { font-family: var(--sans); font-size: 14px; line-height: 1.35; text-align: left; padding: 10px 14px; border: 1px solid var(--grey); background: var(--bg); color: var(--muted); cursor: pointer; transition: border-color .2s, color .2s; }
.chat__chip:hover { border-color: var(--text); color: var(--text); }
.chat__composer { display: flex; flex-direction: column; gap: 12px; transition: outline-color .2s; outline: 2px dashed transparent; outline-offset: 6px; }
.chat__composer.is-drag { outline-color: var(--mint); }
.chat__composer.is-off { opacity: .55; }
.chat__text { resize: vertical; min-height: 96px; font-family: var(--sans); }
.chat__files { display: flex; flex-wrap: wrap; gap: 8px; }
.chat__files[hidden] { display: none; }
.chat__file { display: inline-flex; align-items: center; gap: 8px; max-width: 100%; padding: 6px 8px; background: var(--panel-2); color: var(--text); font-size: 13px; border-radius: 6px; }
.chat__file img { width: 36px; height: 36px; object-fit: cover; border-radius: 4px; background: #fff; }
.chat__file-kind { font-family: var(--mono); font-size: 11px; letter-spacing: .06em; padding: 10px 6px; background: var(--bg); color: var(--mint); border-radius: 4px; }
.chat__file-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 180px; }
.chat__file-x { border: 0; background: none; color: var(--muted); font-size: 20px; line-height: 1; padding: 0 4px; cursor: pointer; }
.chat__file-x:hover { color: var(--text); }
.chat__error { font-size: 14px; color: #ffb4a8; }
.chat__error[hidden] { display: none; }
.chat__bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.chat__attach { display: inline-flex; align-items: center; gap: 10px; padding: 15px 18px; border: 1px dashed var(--grey); color: var(--text); font-size: 15px; cursor: pointer; transition: border-color .2s; }
.chat__attach:hover, .chat__attach:focus-within { border-color: var(--mint); }
.chat__attach svg { color: var(--mint); flex: none; }
.chat__send { display: flex; align-items: center; gap: 16px; }
.chat__restart { border: 0; background: none; padding: 0; color: var(--muted); font-size: 14px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.chat__restart:hover { color: var(--text); }
.chat__restart[hidden] { display: none; }
.chat__turnstile:empty { display: none; }
.chat__note { font-size: 13px; line-height: 1.5; color: var(--grey); }
@media (max-width: 900px) {
  .chat__log { max-height: 60vh; min-height: 220px; }
  .chat__action--phone { display: inline-block; }
}
@media (max-width: 520px) {
  .est-mode { display: flex; }
  .est-mode button { flex: 1 1 0; padding: 13px 10px; font-size: 15px; }
  .chat__msg { max-width: 94%; }
  .chat__bar { flex-direction: column; align-items: stretch; }
  .chat__attach { justify-content: center; }
  .chat__send { justify-content: space-between; }
  .chat__send .btn { flex: 1 1 auto; justify-content: center; }
}
.est__bar { display: none; }
@media (max-width: 900px) {
  .est__bar { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); z-index: 40; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 18px; background: var(--mint); color: var(--ink); text-decoration: none; border-radius: var(--radius); box-shadow: 0 8px 28px rgba(0, 0, 0, .35); transition: opacity .25s, translate .25s; }
  .est__bar strong { font-size: 18px; font-variant-numeric: tabular-nums; }
  .est__bar span { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
  .est__bar.is-hidden { opacity: 0; translate: 0 20px; pointer-events: none; }
}
@media (max-width: 520px) {
  .est__dims { gap: 10px; }
  .seg { gap: 6px; }
  .seg label, .seg--two label { min-width: 0; flex: 1 1 0; }
  .seg span { font-size: 13px; padding: 8px 8px; min-height: 56px; }
  .est__basis { grid-template-columns: 1fr; }
}
@media (max-width: 900px) { body[data-preview] .est__bar { bottom: calc(64px + env(safe-area-inset-bottom, 0px)); } }
