/* =====================================================================
   WITT Printing — styles
   Brand: WITT green #56AD41 + graphite grey #7A7A7A
   ===================================================================== */

:root {
  /* brand */
  --brand: #56AD41;           /* logo green — accents, on-dark highlights */
  --brand-strong: #357F27;    /* AA-safe green for buttons/links on white */
  --brand-strong-hover: #2B6A1F;
  --brand-tint: #EEF7EB;
  --brand-grey: #7A7A7A;

  /* neutrals */
  --ink: #111418;
  --ink-2: #1B1F24;
  --ink-3: #2A2F36;
  --text: #16191D;
  --text-muted: #5B6168;
  --text-on-dark: #F4F5F6;
  --text-on-dark-muted: #B4BAC1;
  --bg: #FFFFFF;
  --surface: #F3F4F6;
  --surface-2: #FAFAFB;
  --card: #FFFFFF;
  --border: #E3E6EA;
  --border-strong: #C9CED4;

  /* feedback */
  --danger: #C62828;
  --warning-bg: #FFF6E5;
  --warning-border: #F0C36D;
  --warning-text: #7A4D00;
  --price: #D9480F;

  /* type */
  --font-head: 'Outfit', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* layout */
  --container: 1240px;
  --gutter: clamp(16px, 3vw, 32px);
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;
  --radius-pill: 999px;
  --header-h: 68px;

  /* elevation */
  --shadow-sm: 0 1px 2px rgba(17, 20, 24, .06);
  --shadow: 0 4px 16px rgba(17, 20, 24, .08);
  --shadow-lg: 0 16px 40px rgba(17, 20, 24, .14);

  /* motion */
  --ease-out: cubic-bezier(.2, .8, .2, 1);
  --t-fast: 150ms;
  --t: 220ms;

  /* z-index scale */
  --z-header: 100;
  --z-dropdown: 110;
  --z-drawer: 200;
  --z-modal: 300;
  --z-toast: 400;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: var(--brand-strong); text-underline-offset: 3px; }
a:hover { color: var(--brand-strong-hover); }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 .5em; color: var(--ink); letter-spacing: -.01em; text-wrap: balance; }
h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); font-weight: 700; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 4px; }
[hidden] { display: none !important; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 1000; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm); }
.skip-link:focus { top: 12px; color: #fff; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(56px, 8vw, 104px); }
.section--surface { background: var(--surface); }
.section--dark { background: var(--ink); color: var(--text-on-dark); }
.section--dark h2, .section--dark h3 { color: #fff; }
.section-head { max-width: 720px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head p { color: var(--text-muted); font-size: 1.0625rem; }
.section--dark .section-head p { color: var(--text-on-dark-muted); }
.eyebrow { display: inline-block; font-family: var(--font-head); font-size: .8125rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--brand-strong); margin-bottom: 12px; }
.section--dark .eyebrow, .hero .eyebrow { color: var(--brand); }
.icon { width: 20px; height: 20px; flex: none; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon--lg { width: 28px; height: 28px; }

/* ---------- buttons ---------- */
.btn {
  --btn-bg: var(--brand-strong); --btn-fg: #fff; --btn-border: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 22px;
  border-radius: var(--radius-pill); border: 1.5px solid var(--btn-border);
  background: var(--btn-bg); color: var(--btn-fg);
  font-family: var(--font-body); font-weight: 600; font-size: .9375rem; line-height: 1.2;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color var(--t-fast) ease, border-color var(--t-fast) ease, color var(--t-fast) ease, transform var(--t-fast) ease, box-shadow var(--t-fast) ease;
  touch-action: manipulation;
}
.btn:hover { --btn-bg: var(--brand-strong-hover); color: var(--btn-fg); }
.btn:active { transform: scale(.98); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; transform: none; }
.btn--lg { min-height: 52px; padding: 14px 30px; font-size: 1rem; }
.btn--sm { min-height: 36px; padding: 6px 16px; font-size: .875rem; }
.btn--block { width: 100%; }
.btn--outline { --btn-bg: transparent; --btn-fg: var(--brand-strong); --btn-border: var(--brand-strong); }
.btn--outline:hover { --btn-bg: var(--brand-tint); --btn-fg: var(--brand-strong-hover); }
.btn--ghost-light { --btn-bg: rgba(255,255,255,.14); --btn-fg: #fff; --btn-border: rgba(255,255,255,.28); backdrop-filter: blur(6px); }
.btn--ghost-light:hover { --btn-bg: rgba(255,255,255,.24); }
.btn--outline-light { --btn-bg: transparent; --btn-fg: #fff; --btn-border: rgba(255,255,255,.7); }
.btn--outline-light:hover { --btn-bg: rgba(255,255,255,.1); }
.btn .spinner { width: 18px; height: 18px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- top bar + header ---------- */
.topbar { background: var(--ink); color: var(--text-on-dark-muted); font-size: .8125rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 36px; }
.topbar a { color: var(--text-on-dark); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.topbar a:hover { color: var(--brand); }
.topbar__links { display: flex; gap: 20px; }
.topbar .icon { width: 15px; height: 15px; }

.site-header { position: sticky; top: 0; z-index: var(--z-header); background: rgba(255,255,255,.96); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--border); transition: background-color var(--t) ease, border-color var(--t) ease; }
.site-header .container { display: flex; align-items: center; gap: 20px; height: var(--header-h); }
.brand-logo { display: flex; align-items: center; flex: none; color: var(--ink); }
.brand-logo svg { height: 40px; width: auto; }
.logo-wave { fill: var(--brand); }
.logo-mark { fill: var(--brand-grey); }
/* sizes match SVG/WITT 3DP.svg; PRINTING is spaced to its original width via textLength */
.logo-text { fill: var(--brand-grey); font-family: var(--font-head); font-weight: 500; font-size: 85px; letter-spacing: 0; }
.logo-accent { fill: var(--brand); font-family: var(--font-head); font-weight: 700; font-size: 85px; letter-spacing: .2em; }

/* transparent header over dark hero (home page) */
.has-hero .site-header:not(.is-scrolled):not(.nav-open) { background: transparent; border-color: transparent; backdrop-filter: none; }
.has-hero .site-header:not(.is-scrolled):not(.nav-open) .main-nav > ul > li > a,
.has-hero .site-header:not(.is-scrolled):not(.nav-open) .main-nav > ul > li > button,
.has-hero .site-header:not(.is-scrolled):not(.nav-open) .nav-toggle { color: #fff; }
.has-hero .site-header:not(.is-scrolled):not(.nav-open) .logo-mark,
.has-hero .site-header:not(.is-scrolled):not(.nav-open) .logo-text { fill: #E6E8EA; }
.has-hero .site-header:not(.is-scrolled):not(.nav-open) .header-actions .btn--outline { --btn-fg: #fff; --btn-border: rgba(255,255,255,.75); }
.has-hero .site-header:not(.is-scrolled):not(.nav-open) .header-actions .btn--outline:hover { --btn-bg: rgba(255,255,255,.12); }
.has-hero main { margin-top: calc(-1 * var(--header-h)); }

.main-nav { flex: 1; }
.main-nav > ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.main-nav > ul > li { position: relative; }
.main-nav > ul > li > a, .main-nav > ul > li > button {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 8px 10px;
  background: none; border: 0; border-radius: var(--radius-sm);
  color: var(--text); font-weight: 500; font-size: .9688rem; text-decoration: none; white-space: nowrap;
  transition: color var(--t-fast) ease;
}
.main-nav > ul > li > a:hover, .main-nav > ul > li > button:hover { color: var(--brand-strong); }
.main-nav a[aria-current="page"] { color: var(--brand-strong); box-shadow: inset 0 -2px 0 var(--brand); }
.main-nav .chev { width: 14px; height: 14px; transition: transform var(--t-fast) ease; }
.main-nav button[aria-expanded="true"] .chev { transform: rotate(180deg); }

.mega {
  position: absolute; left: -12px; top: calc(100% + 12px); z-index: var(--z-dropdown);
  width: min(720px, 90vw); background: var(--card); color: var(--text);
  border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity var(--t-fast) ease, transform var(--t-fast) ease, visibility 0s linear var(--t-fast);
}
.mega.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.mega__grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 8px 32px; padding: 24px; }
.mega__title { font-size: .8125rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--text-muted); margin: 0 0 10px; }
.mega__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.mega__link { display: flex; align-items: center; gap: 14px; padding: 10px; border-radius: var(--radius-sm); color: var(--text); text-decoration: none; }
.mega__link:hover { background: var(--surface); color: var(--text); }
.mega__link strong { display: block; font-weight: 600; font-size: .9375rem; }
.mega__link span { display: block; font-size: .8125rem; color: var(--text-muted); line-height: 1.4; }
/* .mega__link .mega__icon beats the generic ".mega__link span" text rule above (display/colour) */
.mega__link .mega__icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 10px; background: var(--brand-tint); color: var(--brand-strong); flex: none; line-height: 0; }
.mega__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 24px; background: var(--surface); border-top: 1px solid var(--border); border-radius: 0 0 var(--radius) var(--radius); font-size: .875rem; }

.header-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.nav-toggle { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; border: 0; background: none; color: var(--ink); border-radius: var(--radius-sm); }
.nav-toggle .icon { width: 26px; height: 26px; }

@media (max-width: 1200px) {
  .nav-toggle { display: inline-flex; }
  .header-actions .btn--outline { display: none; }
  /* backdrop-filter would make the header the containing block for the fixed drawer */
  .site-header { backdrop-filter: none; background: #fff; }
  .main-nav {
    position: fixed; inset: var(--nav-top, var(--header-h)) 0 0 0; z-index: var(--z-drawer);
    background: var(--bg); overflow-y: auto; padding: 16px var(--gutter) 40px;
    transform: translateX(100%); visibility: hidden;
    transition: transform var(--t) var(--ease-out), visibility 0s linear var(--t);
  }
  .nav-open .main-nav { transform: none; visibility: visible; transition-delay: 0s; }
  .main-nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav > ul > li { border-bottom: 1px solid var(--border); }
  .main-nav > ul > li > a, .main-nav > ul > li > button { width: 100%; justify-content: space-between; min-height: 56px; font-size: 1.0625rem; color: var(--text) !important; }
  .main-nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--brand); padding-left: 16px; }
  .mega { position: static; width: auto; border: 0; box-shadow: none; transform: none; display: none; opacity: 1; visibility: visible; }
  .mega.is-open { display: block; }
  .mega__grid { grid-template-columns: 1fr; padding: 0 0 12px; }
  .mega__foot { display: none; }
  body.nav-open { overflow: hidden; }
}
@media (max-width: 640px) {
  .topbar__links, .topbar__more { display: none; }
  .brand-logo svg { height: 30px; }
  .site-header .container { gap: 12px; }
  .header-actions { gap: 6px; }
  .header-actions .btn { padding-inline: 14px; font-size: .875rem; }
  .header-actions .btn .icon { display: none; } /* room for the wide logo */
}

/* ---------- hero slider ---------- */
.hero { position: relative; min-height: min(780px, 100svh); color: #fff; background: var(--ink); overflow: hidden; isolation: isolate; }
.hero__slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 700ms ease, visibility 0s linear 700ms; }
.hero__slide.is-active { opacity: 1; visibility: visible; transition-delay: 0s; }
.hero__slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 7s linear; }
.hero__slide.is-active img { transform: scale(1); }
.hero__slide::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,12,14,.88) 0%, rgba(10,12,14,.62) 45%, rgba(10,12,14,.15) 100%), linear-gradient(0deg, rgba(10,12,14,.5), transparent 35%); }
.hero__content { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: center; min-height: min(780px, 100svh); padding-top: calc(var(--header-h) + 40px); padding-bottom: 120px; }
.hero__kicker { font-family: var(--font-head); font-size: clamp(1.125rem, 2vw, 1.625rem); font-weight: 400; color: #E6E8EA; margin-bottom: 12px; }
.hero h1, .hero h2.hero__title { color: #fff; max-width: 13ch; margin-bottom: 18px; font-size: clamp(2.375rem, 5.6vw, 4.25rem); font-weight: 700; }
.hero__lead { font-size: clamp(1rem, 1.4vw, 1.1875rem); color: #DCE0E4; max-width: 46ch; margin-bottom: 32px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__text { max-width: 640px; }
.hero__text[hidden] { display: none; }
.hero__controls { position: absolute; z-index: 3; left: 50%; bottom: 44px; transform: translateX(-50%); display: flex; align-items: center; gap: 16px; }
.hero__dots { display: flex; gap: 14px; }
.hero__dot { position: relative; width: clamp(48px, 9vw, 128px); height: 24px; border: 0; padding: 0; background: none; }
.hero__dot::before, .hero__dot span { content: ''; position: absolute; left: 0; top: 50%; height: 3px; margin-top: -1.5px; border-radius: 2px; }
.hero__dot::before { right: 0; background: rgba(255,255,255,.35); }
.hero__dot span { width: 0; background: #fff; }
.hero__dot.is-active span { animation: heroProgress var(--hero-interval, 6500ms) linear forwards; }
.hero.is-paused .hero__dot.is-active span { animation-play-state: paused; }
@keyframes heroProgress { from { width: 0; } to { width: 100%; } }
.hero__pause { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(255,255,255,.4); background: rgba(0,0,0,.25); color: #fff; }
.hero__pause .icon { width: 16px; height: 16px; }

/* ---------- page hero (inner pages) ---------- */
.page-hero { background: var(--ink); color: var(--text-on-dark); padding-block: clamp(48px, 7vw, 88px); position: relative; overflow: hidden; }
.page-hero::before { content: ''; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(86,173,65,.28), transparent 65%); pointer-events: none; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4.4vw, 3.25rem); max-width: 18ch; }
.page-hero p { color: var(--text-on-dark-muted); font-size: 1.125rem; max-width: 60ch; margin: 0; }
.breadcrumbs { font-size: .875rem; margin-bottom: 18px; color: var(--text-on-dark-muted); }
.breadcrumbs a { color: var(--text-on-dark); }
.breadcrumbs ol { list-style: none; display: flex; gap: 8px; padding: 0; margin: 0; flex-wrap: wrap; }
.breadcrumbs li + li::before { content: '/'; margin-right: 8px; opacity: .6; }

/* ---------- service tabs (like reference "on demand") ---------- */
.svc { display: grid; grid-template-columns: 220px 1fr 400px; gap: clamp(24px, 4vw, 56px); align-items: center; }
.svc__tabs { display: flex; flex-direction: column; border-bottom: 1px solid var(--border); }
.svc__tab { text-align: left; border: 0; background: none; padding: 14px 0; font-size: 1rem; color: var(--text-muted); min-height: 44px; position: relative; transition: color var(--t-fast) ease; }
.svc__tab:hover { color: var(--ink); }
.svc__tab[aria-selected="true"] { color: var(--ink); font-family: var(--font-head); font-size: 1.5rem; font-weight: 600; padding-bottom: 18px; }
.svc__tab[aria-selected="true"]::after { content: ''; position: absolute; left: 0; bottom: 4px; width: 85%; height: 3px; background: var(--ink); border-radius: 2px; }
.svc__media { aspect-ratio: 4 / 3; border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); }
.svc__media img { width: 100%; height: 100%; object-fit: cover; }
.svc__panel[hidden] { display: none; }
.svc__card { background: var(--card); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 32px; }
.svc__card h3 { font-size: 1.5rem; }
.svc__list { list-style: none; padding: 16px 20px; margin: 16px 0 24px; background: var(--surface); border-radius: var(--radius); display: grid; gap: 12px; }
.svc__list li { display: flex; gap: 10px; color: var(--text); }
.svc__list li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); margin-top: .62em; flex: none; }
.svc__actions { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 1080px) {
  .svc { grid-template-columns: 1fr 1fr; }
  .svc__tabs { grid-column: 1 / -1; flex-direction: row; overflow-x: auto; gap: 24px; border-bottom: 1px solid var(--border); scrollbar-width: none; }
  .svc__tab, .svc__tab[aria-selected="true"] { font-size: 1rem; white-space: nowrap; padding: 12px 0; }
  .svc__tab[aria-selected="true"]::after { width: 100%; bottom: -1px; }
}
@media (max-width: 760px) { .svc { grid-template-columns: 1fr; } .svc__card { padding: 24px; } }

/* ---------- generic grids & cards ---------- */
.grid { display: grid; gap: clamp(16px, 2.4vw, 28px); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 980px) { .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; transition: box-shadow var(--t) ease, transform var(--t) ease, border-color var(--t) ease; }
.card--link { text-decoration: none; color: inherit; display: block; }
.card--link:hover { box-shadow: var(--shadow); border-color: transparent; transform: translateY(-2px); color: inherit; }
.card p { color: var(--text-muted); margin: 0; }
.card__icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 14px; background: var(--brand-tint); color: var(--brand-strong); margin-bottom: 18px; }
.section--dark .card { background: var(--ink-2); border-color: var(--ink-3); }
.section--dark .card p { color: var(--text-on-dark-muted); }
.section--dark .card__icon { background: rgba(86,173,65,.14); color: var(--brand); }

/* steps */
.steps { counter-reset: step; }
.step { position: relative; padding-top: 8px; }
.step__num { font-family: var(--font-head); font-size: .875rem; font-weight: 600; color: var(--brand-strong); display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.step__num::after { content: ''; flex: 1; height: 1px; background: var(--border-strong); }
.step:last-child .step__num::after { display: none; }
.step h3 { margin-bottom: 8px; }
.step p { color: var(--text-muted); margin: 0; }
.section--dark .step__num { color: var(--brand); }
.section--dark .step__num::after { background: var(--ink-3); }

/* materials cards */
.mat-card { display: flex; flex-direction: column; gap: 14px; }
.mat-card__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.mat-card__head h3 { margin: 0; }
.mat-card__price { font-size: .875rem; color: var(--text-muted); white-space: nowrap; }
.swatches { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.swatch { width: 26px; height: 26px; border-radius: 50%; border: 1px solid rgba(0,0,0,.15); box-shadow: inset 0 0 0 2px rgba(255,255,255,.35); }
.props { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px 16px; margin: 0; font-size: .875rem; }
.props dt { color: var(--text-muted); }
.props dd { margin: 0; font-weight: 600; }
.meter { display: inline-flex; gap: 3px; vertical-align: middle; }
.meter i { width: 14px; height: 6px; border-radius: 3px; background: var(--border); }
.meter i.on { background: var(--brand); }

/* split feature */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.split--rev > :first-child { order: 2; }
.split__media { border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.ticks { list-style: none; padding: 0; margin: 20px 0 28px; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; }
.ticks .icon { color: var(--brand-strong); margin-top: 3px; }
.section--dark .ticks .icon { color: var(--brand); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split--rev > :first-child { order: 0; } }

/* before/after CAD → real pairs */
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pair figure { margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--surface); position: relative; aspect-ratio: 4 / 5; }
.pair img { width: 100%; height: 100%; object-fit: cover; }
.pair figure.is-render img { object-fit: contain; background: #E9EAEB; }
.pair figcaption { position: absolute; left: 10px; top: 10px; background: rgba(17,20,24,.78); color: #fff; font-size: .75rem; font-weight: 600; letter-spacing: .04em; padding: 4px 10px; border-radius: var(--radius-pill); }

/* stats */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px 32px; }
.stat strong { display: block; font-family: var(--font-head); font-size: clamp(1.75rem, 2.6vw, 2.25rem); white-space: nowrap; font-weight: 700; color: #fff; line-height: 1.1; font-variant-numeric: tabular-nums; }
.stat span { color: var(--text-on-dark-muted); }
@media (max-width: 1200px) { .stats { grid-template-columns: repeat(2, minmax(0,1fr)); } }

/* gallery */
.gallery { columns: 3 280px; column-gap: 16px; }
.gallery__item { break-inside: avoid; margin: 0 0 16px; position: relative; border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.gallery__item button { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.gallery__item img { width: 100%; transition: transform 400ms var(--ease-out); }
.gallery__item button:hover img { transform: scale(1.03); }
.gallery__item figcaption { position: absolute; inset: auto 0 0 0; padding: 32px 14px 12px; background: linear-gradient(transparent, rgba(10,12,14,.82)); color: #fff; font-size: .875rem; font-weight: 500; pointer-events: none; }
.gallery__item[hidden] { display: none; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.chip { min-height: 40px; padding: 8px 18px; border-radius: var(--radius-pill); border: 1px solid var(--border-strong); background: var(--bg); color: var(--text); font-weight: 500; font-size: .9375rem; transition: background-color var(--t-fast) ease, color var(--t-fast) ease, border-color var(--t-fast) ease; }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.mini-gallery { display: grid; grid-template-columns: repeat(6, minmax(0,1fr)); gap: 12px; }
.mini-gallery a { display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3 / 4; background: var(--surface); }
.mini-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 400ms var(--ease-out); }
.mini-gallery a:hover img { transform: scale(1.05); }
@media (max-width: 980px) { .mini-gallery { grid-template-columns: repeat(3, minmax(0,1fr)); } }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: var(--z-modal); background: rgba(8,10,12,.94); display: none; align-items: center; justify-content: center; padding: 56px 16px; }
.lightbox.is-open { display: flex; }
.lightbox img { max-height: 100%; max-width: min(1100px, 100%); object-fit: contain; border-radius: var(--radius-sm); }
.lightbox__cap { position: absolute; bottom: 16px; left: 0; right: 0; text-align: center; color: #E6E8EA; font-size: .9375rem; padding: 0 64px; }
.lightbox__btn { position: absolute; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; border: 0; background: rgba(255,255,255,.12); color: #fff; }
.lightbox__btn:hover { background: rgba(255,255,255,.22); }
.lightbox__close { top: 12px; right: 12px; }
.lightbox__prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 12px; top: 50%; transform: translateY(-50%); }

/* CTA band */
.cta-band { background: var(--brand-strong); color: #fff; border-radius: var(--radius-lg); padding: clamp(32px, 5vw, 56px); display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; position: relative; overflow: hidden; }
.cta-band::after { content: ''; position: absolute; right: -60px; bottom: -80px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.16), transparent 65%); }
.cta-band h2 { color: #fff; margin-bottom: 8px; }
.cta-band p { margin: 0; color: #E4F2E0; max-width: 52ch; }
.cta-band .btn { --btn-bg: #fff; --btn-fg: var(--brand-strong); position: relative; z-index: 1; }
.cta-band .btn:hover { --btn-bg: #F0F7EE; }
.cta-band .btn--outline-light { --btn-bg: transparent; --btn-fg: #fff; }
.cta-band .btn--outline-light:hover { --btn-bg: rgba(255,255,255,.12); }
.cta-band__actions { display: flex; gap: 12px; flex-wrap: wrap; position: relative; z-index: 1; }

/* ---------- forms ---------- */
/* align-content: start keeps inputs level when one field in a row has extra hint text */
.field { display: grid; gap: 6px; align-content: start; }
.field label, .field .label { font-weight: 600; font-size: .875rem; color: var(--text); }
.field .req { color: var(--danger); margin-left: 2px; }
.field .hint { font-size: .8125rem; color: var(--text-muted); }
.input, .select, .textarea {
  width: 100%; min-height: 44px; padding: 10px 14px;
  background: var(--bg); border: 1px solid var(--border-strong); border-radius: var(--radius-sm);
  font-size: 1rem; transition: border-color var(--t-fast) ease, box-shadow var(--t-fast) ease;
}
.textarea { min-height: 120px; resize: vertical; }
.select { appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235B6168' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; }
.input:hover, .select:hover, .textarea:hover { border-color: var(--text-muted); }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--brand-strong); box-shadow: 0 0 0 3px rgba(86,173,65,.25); }
.field.has-error .input, .field.has-error .select, .field.has-error .textarea { border-color: var(--danger); }
.field .error { display: none; color: var(--danger); font-size: .8125rem; font-weight: 500; }
.field.has-error .error { display: block; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .9375rem; cursor: pointer; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--brand-strong); flex: none; }
.form-status { margin-top: 16px; padding: 14px 16px; border-radius: var(--radius-sm); font-size: .9375rem; display: none; }
.form-status.is-success { display: block; background: var(--brand-tint); color: #1F5216; border: 1px solid #BFDDB5; }
.form-status.is-error { display: block; background: #FDECEC; color: #8A1C1C; border: 1px solid #F3BDBD; }
.error-summary { display: none; padding: 14px 16px; border: 2px solid var(--danger); border-radius: var(--radius-sm); margin-bottom: 18px; background: #FFF7F7; }
.error-summary.is-visible { display: block; }
.error-summary h3 { font-size: 1rem; color: var(--danger); margin-bottom: 6px; }
.error-summary ul { margin: 0; padding-left: 18px; }
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- FAQ accordion ---------- */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); transition: border-color var(--t-fast) ease, box-shadow var(--t-fast) ease; }
.faq details[open] { border-color: var(--border-strong); box-shadow: var(--shadow-sm); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 20px; min-height: 44px; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-weight: 600; font-size: 1.0313rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { transition: transform var(--t-fast) ease; color: var(--text-muted); }
.faq details[open] summary .icon { transform: rotate(45deg); }
.faq .faq__body { padding: 0 20px 20px; color: var(--text-muted); }
.faq .faq__body p:last-child { margin: 0; }

/* design guide table */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); background: var(--card); }
table.spec { width: 100%; border-collapse: collapse; font-size: .9375rem; min-width: 560px; }
table.spec th, table.spec td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--border); vertical-align: top; }
table.spec thead th { background: var(--surface); font-size: .8125rem; text-transform: uppercase; letter-spacing: .06em; color: var(--text-muted); font-weight: 600; }
table.spec tbody tr:last-child td, table.spec tbody tr:last-child th { border-bottom: 0; }
table.spec tbody th { font-weight: 600; }
table.spec td.num { font-variant-numeric: tabular-nums; white-space: nowrap; }

.callout { display: flex; gap: 14px; padding: 16px 18px; border-radius: var(--radius); background: var(--warning-bg); border: 1px solid var(--warning-border); color: var(--warning-text); font-size: .9375rem; }
.callout .icon { margin-top: 2px; }
.callout--info { background: var(--brand-tint); border-color: #BFDDB5; color: #1F5216; }

/* contact cards */
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list .card__icon { width: 44px; height: 44px; margin: 0; flex: none; }
.contact-list strong { display: block; }
.contact-list span, .contact-list a { color: var(--text-muted); }

/* ---------- footer ---------- */
.site-footer { background: var(--ink-2); color: var(--text-on-dark-muted); font-size: .9375rem; }
.footer-contact { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; padding-block: 44px; border-bottom: 1px solid var(--ink-3); }
.footer-contact a.footer-contact__title { color: #fff; font-family: var(--font-head); font-size: 1.1875rem; font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.footer-contact a.footer-contact__title:hover { color: var(--brand); }
.footer-contact p { margin: 0; color: var(--text-on-dark); }
.footer-contact small { display: block; margin-top: 4px; color: var(--text-on-dark-muted); font-size: .875rem; }
.footer-main { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)) 1.4fr; gap: 28px; padding-block: 44px; }
.footer-main h2 { color: #fff; font-family: var(--font-body); font-size: .9688rem; font-weight: 600; margin-bottom: 14px; letter-spacing: 0; }
.footer-main ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-main a { color: var(--text-on-dark-muted); text-decoration: none; }
.footer-main a:hover { color: #fff; text-decoration: underline; }
.footer-brand > svg { width: 100%; max-width: 320px; height: auto; margin-bottom: 14px; }
.footer-brand .logo-mark, .footer-brand .logo-text { fill: #D7DADD; }
.footer-bottom { border-top: 1px solid var(--ink-3); padding-block: 20px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .8125rem; }
.footer-bottom a { color: var(--text-on-dark-muted); }
@media (max-width: 980px) { .footer-main { grid-template-columns: repeat(2, minmax(0,1fr)); } .footer-brand { grid-column: 1 / -1; order: -1; } }
@media (max-width: 640px) { .footer-contact { grid-template-columns: 1fr; } }

/* ---------- quote page ---------- */
.quote-page { background: var(--surface); padding-block: 28px 72px; }

.quote-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 20px; align-items: start; }
@media (max-width: 1024px) { .quote-layout { grid-template-columns: 1fr; } }
.panel { background: var(--card); border-radius: var(--radius); padding: 22px 24px; }
.panel + .panel { margin-top: 16px; }
.panel__head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.panel__head h2, .panel h2.panel__title { font-family: var(--font-body); font-size: 1.0625rem; font-weight: 600; margin: 0; letter-spacing: 0; }
.panel__links { display: flex; gap: 20px; font-size: .9375rem; }
.panel__links a { color: var(--text); text-decoration: none; display: inline-flex; align-items: center; gap: 4px; }
.panel__links a:hover { color: var(--brand-strong); }

.dropzone { position: relative; border: 2px dashed #B9D9AE; background: #F3F9F1; border-radius: var(--radius); padding: clamp(28px, 5vw, 48px) 20px; text-align: center; transition: background-color var(--t-fast) ease, border-color var(--t-fast) ease; }
.dropzone.is-drag { background: #E4F2E0; border-color: var(--brand-strong); }
.dropzone__btn { font-size: 1.0625rem; padding-inline: 32px; }
.dropzone p { margin: 16px 0 0; color: var(--text-muted); font-size: .9375rem; }
.dropzone small { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; color: var(--text-muted); font-size: .8125rem; }
.dropzone small .icon { width: 14px; height: 14px; }
.dropzone input[type=file] { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.notice-line { display: flex; gap: 8px; align-items: flex-start; font-size: .875rem; color: var(--text-muted); margin: 12px 0 0; }
.notice-line .icon { width: 16px; height: 16px; margin-top: 3px; }

.parts { display: grid; gap: 14px; margin-top: 20px; }
.parts__empty { text-align: center; color: var(--text-muted); padding: 8px 0 0; font-size: .9375rem; }
.part { border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; display: grid; grid-template-columns: 120px minmax(0, 1fr) auto; gap: 18px; align-items: start; transition: border-color var(--t-fast) ease, box-shadow var(--t-fast) ease; }
.part.is-selected { border-color: var(--brand-strong); box-shadow: 0 0 0 1px var(--brand-strong); }
.part__thumb { width: 120px; height: 120px; border-radius: var(--radius-sm); background: linear-gradient(160deg, #F4F5F6, #E3E6E9); border: 0; padding: 0; display: grid; place-items: center; overflow: hidden; cursor: pointer; position: relative; }
.part__thumb img { width: 100%; height: 100%; object-fit: contain; }
.part__thumb .tag { position: absolute; left: 6px; top: 6px; font-size: .6875rem; font-weight: 600; background: var(--brand-strong); color: #fff; padding: 2px 6px; border-radius: 4px; }
.part__thumb .spinner { width: 28px; height: 28px; border: 3px solid var(--border-strong); border-right-color: transparent; border-radius: 50%; animation: spin .8s linear infinite; }
.part__name { font-weight: 600; margin: 0 0 2px; overflow-wrap: anywhere; }
.part__meta { font-size: .8125rem; color: var(--text-muted); margin: 0 0 12px; font-variant-numeric: tabular-nums; }
.part__specs { display: grid; grid-template-columns: repeat(auto-fill, minmax(165px, 1fr)); gap: 10px; }
.part__specs .field label { font-size: .75rem; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: .04em; }
.part__specs .select, .part__specs .input { min-height: 40px; padding-block: 7px; font-size: .9375rem; }
.part__warn { margin-top: 10px; font-size: .8125rem; padding: 8px 12px; }
.part__side { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; min-width: 120px; }
.part__price { font-family: var(--font-head); font-size: 1.25rem; font-weight: 600; color: var(--price); font-variant-numeric: tabular-nums; }
.part__price small { display: block; text-align: right; font-family: var(--font-body); font-size: .75rem; color: var(--text-muted); font-weight: 400; }
.qty { display: inline-flex; align-items: stretch; border: 1px solid var(--border-strong); border-radius: var(--radius-sm); overflow: hidden; }
.qty button { flex: none; width: 36px; border: 0; background: var(--surface); display: grid; place-items: center; color: var(--text); }
.qty button:hover { background: var(--border); }
.qty input { width: 52px; text-align: center; border: 0; border-inline: 1px solid var(--border-strong); min-height: 38px; font-variant-numeric: tabular-nums; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.link-btn { border: 0; background: none; padding: 4px 0; color: var(--text-muted); font-size: .8125rem; display: inline-flex; align-items: center; gap: 4px; min-height: 32px; }
.link-btn:hover { color: var(--danger); }
.link-btn .icon { width: 15px; height: 15px; }
@media (max-width: 760px) {
  .part { grid-template-columns: 76px minmax(0, 1fr); gap: 4px 14px; }
  .part > div:nth-child(2) { display: contents; }
  .part__thumb { width: 76px; height: 76px; grid-row: span 2; }
  .part__name, .part__meta { grid-column: 2; }
  .part__specs, .part__warn { grid-column: 1 / -1; margin-top: 10px; }
  .part__specs { grid-template-columns: 1fr 1fr; }
  .viewer { aspect-ratio: 4 / 3; }
  .viewer__hint { display: none; }
  .part__side { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; min-width: 0; }
}

.viewer { position: relative; margin-top: 20px; border-radius: var(--radius); overflow: hidden; background: radial-gradient(circle at 50% 35%, #FFFFFF, #E6E9EC); aspect-ratio: 16 / 9; display: none; }
.viewer.is-visible { display: block; }
.viewer canvas { width: 100% !important; height: 100% !important; touch-action: none; }
.viewer__bar { position: absolute; left: 12px; right: 12px; top: 12px; display: flex; justify-content: space-between; gap: 8px; pointer-events: none; }
.viewer__bar > * { pointer-events: auto; }
.viewer__label { background: rgba(255,255,255,.9); border-radius: var(--radius-pill); padding: 6px 14px; font-size: .8125rem; font-weight: 600; box-shadow: var(--shadow-sm); max-width: 70%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.viewer__tools { display: flex; gap: 6px; }
.viewer__tools button { width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); box-shadow: var(--shadow-sm); display: grid; place-items: center; color: var(--text); }
.viewer__tools button:hover { background: #fff; color: var(--brand-strong); }
.viewer__tools .icon { width: 17px; height: 17px; }
.viewer__hint { position: absolute; bottom: 10px; left: 0; right: 0; text-align: center; font-size: .75rem; color: var(--text-muted); pointer-events: none; }

.summary { position: sticky; top: calc(var(--header-h) + 16px); }
.summary__row { display: flex; justify-content: space-between; gap: 12px; font-size: .9375rem; padding: 6px 0; font-variant-numeric: tabular-nums; }
.summary__row span:first-child { color: var(--text-muted); }
.summary__total { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 0 4px; margin-top: 6px; border-top: 1px solid var(--border); }
.summary__total span:first-child { font-weight: 600; font-size: 1.0625rem; }
.summary__total strong { font-family: var(--font-head); font-size: 1.75rem; color: var(--price); font-variant-numeric: tabular-nums; }
.summary__note { font-size: .8125rem; color: var(--text-muted); margin: 4px 0 0; }
.summary fieldset { border: 0; padding: 0; margin: 18px 0 0; }
.summary legend { font-weight: 600; font-size: .9375rem; margin-bottom: 8px; padding: 0; }
.radio-card { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border: 1px solid var(--border); border-radius: var(--radius-sm); cursor: pointer; transition: border-color var(--t-fast) ease, background-color var(--t-fast) ease; }
.radio-card + .radio-card { margin-top: 8px; }
.radio-card:hover { border-color: var(--border-strong); }
.radio-card:has(input:checked) { border-color: var(--brand-strong); background: var(--brand-tint); }
.radio-card input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--brand-strong); flex: none; }
.radio-card span { display: block; font-size: .9375rem; font-weight: 500; }
.radio-card small { display: block; color: var(--text-muted); font-size: .8125rem; }
.radio-card em { font-style: normal; margin-left: auto; font-size: .875rem; color: var(--text-muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.summary .check { margin: 18px 0 14px; font-size: .875rem; }
.summary .btn + .btn { margin-top: 10px; }

.toast { position: fixed; z-index: var(--z-toast); left: 50%; bottom: 24px; transform: translate(-50%, 20px); background: var(--ink); color: #fff; padding: 12px 20px; border-radius: var(--radius-pill); box-shadow: var(--shadow-lg); font-size: .9375rem; opacity: 0; pointer-events: none; transition: opacity var(--t) ease, transform var(--t) var(--ease-out); max-width: calc(100% - 32px); }
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* prose (terms) */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.5rem; margin-top: 2em; }
.prose li { margin-bottom: .4em; }

/* reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity 500ms var(--ease-out), transform 500ms var(--ease-out); }
.js .reveal.is-in { opacity: 1; transform: none; }

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