/* Layout: a fabricator's spec sheet. Cool brushed-steel neutrals, one brand blue (matches the
   email signature), a steel→straw→bronze→violet→blue "weld bead" line under each page title. */
:root {
  --bg: #eef1f3;
  --surface: #e2e7ea;
  --panel: #f8f9fa;
  --fg: #151a1e;
  --muted: #56626b;
  --line: #c7cfd5;
  --brand: #2b6fd6;        /* signature blue: logo ".CA", buttons, weld end */
  --brand-deep: #1f5bbf;   /* button hover */
  --accent: #2563c7;       /* small text on light backgrounds (AA on --surface) */
  --accent-fg: #ffffff;
  --weld: linear-gradient(90deg, #d6d9de 0%, #c9a24a 30%, #9a5a2a 50%, #6a3a6e 68%, #2b6fd6 100%);
  --steel: linear-gradient(135deg, #f7f9fa 0%, #d9dfe3 45%, #f1f4f6 55%, #cfd6db 100%);

  --f-display: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --f-body: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --s-1: .375rem; --s-2: .75rem; --s-3: 1rem; --s-4: 1.5rem; --s-5: 2.5rem; --s-6: 4rem; --s-7: 6rem;
  --radius: 4px;
  --wrap: 72rem;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0f1417; --surface: #172027; --panel: #1b252c; --fg: #e7ecef; --muted: #98a5ae;
    --line: #2b363e; --brand: #6ea2f0; --brand-deep: #8ab4f8; --accent: #6ea2f0; --accent-fg: #0b1220;
    --steel: linear-gradient(135deg, #2a343b 0%, #1b242a 45%, #2d383f 55%, #1a2227 100%);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0f1417; --surface: #172027; --panel: #1b252c; --fg: #e7ecef; --muted: #98a5ae;
  --line: #2b363e; --brand: #6ea2f0; --brand-deep: #8ab4f8; --accent: #6ea2f0; --accent-fg: #0b1220;
  --steel: linear-gradient(135deg, #2a343b 0%, #1b242a 45%, #2d383f 55%, #1a2227 100%);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5rem; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 400 1.0625rem/1.6 var(--f-body); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: .5rem; background: var(--fg); color: var(--bg); padding: .5rem 1rem; z-index: 50; }
.skip:focus { left: 1rem; }
.muted { color: var(--muted); }
.mono { font-family: var(--f-mono); font-feature-settings: "zero"; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: max(1rem, 4vw); }

/* Type scale */
/* 8.4vw keeps one-word titles ("BACKSPLASHES") inside a 320px phone; break-word is a last resort below that. */
.h1 { font: 800 clamp(1.6rem, 8.4vw, 4.6rem)/0.98 var(--f-display); font-stretch: 125%; letter-spacing: -.01em; margin: 0; text-wrap: balance; text-transform: uppercase; overflow-wrap: break-word; }
.h2 { font: 750 clamp(1.6rem, 3vw, 2.2rem)/1.05 var(--f-display); font-stretch: 118%; margin: 0; text-transform: uppercase; letter-spacing: .005em; text-wrap: balance; }
.h3 { font: 700 1.2rem/1.2 var(--f-display); font-stretch: 112%; margin: 0; display: block; }
.eyebrow { font: 500 .8rem/1.45 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0 0 var(--s-3); }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.5; max-width: 36rem; margin: 0; color: var(--fg); }
.lead-sm { max-width: 32rem; margin: var(--s-3) 0 var(--s-4); }
.prose { max-width: 40rem; }
.prose p { margin: 0 0 var(--s-3); }
.weld { height: 4px; width: min(14rem, 60%); background: var(--weld); border-radius: 2px; margin: var(--s-4) 0; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: .5rem; background: var(--brand); color: var(--accent-fg); border: 1px solid var(--brand);
  font: 600 .95rem/1 var(--f-body); padding: .95rem 1.35rem; border-radius: var(--radius); text-decoration: none; cursor: pointer;
  transition: background .15s, color .15s, border-color .15s; }
.btn:hover { background: var(--brand-deep); border-color: var(--brand-deep); color: var(--accent-fg); }
.btn-ghost { background: transparent; color: var(--fg); border-color: var(--line); }
.btn-ghost:hover { background: transparent; color: var(--accent); border-color: var(--accent); }
.btn-sm { padding: .6rem .9rem; font-size: .875rem; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* Header */
.bar { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(1.2) blur(10px); border-bottom: 1px solid var(--line); }
.bar-in { max-width: var(--wrap); margin-inline: auto; padding: .7rem max(1rem, 4vw); display: flex; align-items: center; gap: var(--s-4); }
.brand { display: inline-flex; align-items: center; gap: .45em; font: 800 1.15rem/1 var(--f-display); font-stretch: 125%; letter-spacing: .02em; text-decoration: none; white-space: nowrap; }
.brand .ca { color: var(--brand); }
.brand:hover { color: inherit; }
/* Leaf-and-grain mark: one cached 2 KB SVG used as a mask, so it follows the text colour in light and dark mode. */
.brand-mark { flex: none; width: 1.55em; height: 1.55em; background: currentColor;
  -webkit-mask: url(/logo-mark.svg) center / contain no-repeat; mask: url(/logo-mark.svg) center / contain no-repeat; }
.tagline-coast { font-style: italic; color: var(--muted); margin: var(--s-4) 0 0; }
.nav { display: flex; gap: var(--s-4); list-style: none; margin: 0 0 0 auto; padding: 0; font-size: .95rem; }
.nav a { text-decoration: none; color: var(--muted); }
.nav a:hover { color: var(--fg); }
.nav a[aria-current="page"] { color: var(--fg); text-decoration: underline; text-decoration-color: var(--brand); text-decoration-thickness: 2px; text-underline-offset: .5em; }
.bar-end { display: flex; align-items: center; gap: var(--s-3); }
.lang { font: 500 .8rem/1 var(--f-mono); text-decoration: none; border: 1px solid var(--line); padding: .45rem .55rem; border-radius: var(--radius); }
.btn-sm { white-space: nowrap; }
@media (max-width: 760px) { .nav { display: none; } .bar-end { margin-left: auto; } }
@media (max-width: 420px) { .bar-in { gap: var(--s-2); } .bar-end { gap: var(--s-2); } .bar .brand { font-size: .9rem; } .bar .btn-sm { padding: .55rem .65rem; font-size: .8rem; } }
@media (max-width: 340px) { .bar .btn-sm { display: none; } }

/* Hero */
.hero { padding-block: var(--s-6) var(--s-6); border-bottom: 1px solid var(--line); }
.hero-in { display: grid; grid-template-columns: 1.05fr 1fr; gap: var(--s-6); align-items: center; }
.hero-copy { min-width: 0; }
.actions { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-top: var(--s-5); }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-3); margin: var(--s-5) 0 0; padding-top: var(--s-4); border-top: 1px solid var(--line); }
.facts div { min-width: 0; }
.facts dt { font: 750 1.5rem/1 var(--f-display); font-stretch: 118%; }
.facts dd { margin: .35rem 0 0; font-size: .85rem; color: var(--muted); line-height: 1.35; }
.hero-fig { margin: 0; position: relative; }
.hero-fig img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; border-radius: var(--radius); background: var(--steel); }
.hero-fig figcaption { position: absolute; left: var(--s-3); bottom: var(--s-3); background: var(--bg); color: var(--fg); font-size: .75rem;
  letter-spacing: .06em; text-transform: uppercase; padding: .4rem .6rem; border-radius: 2px; }
/* Two-column hero: the text column is ~45% of the page, sized so "INOXYDABLE," (8.7em) fits. */
@media (min-width: 861px) { .hero .h1 { font-size: min(4.9vw, 3.4rem); } }
@media (max-width: 860px) { .hero-in { grid-template-columns: 1fr; gap: var(--s-5); } .hero { padding-block: var(--s-5); } }
@media (max-width: 420px) { .facts dt { font-size: 1.2rem; } }

/* Bands */
.band { padding-block: var(--s-7); }
.band-alt { background: var(--surface); }
.video { margin-top: var(--s-5); aspect-ratio: 16 / 9; max-width: 960px; }
.video iframe { width: 100%; height: 100%; border: 0; display: block; }
.sec-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: var(--s-2) var(--s-4); margin-bottom: var(--s-5); }
.sec-head p { margin: 0; max-width: 34rem; }
@media (max-width: 700px) { .band { padding-block: var(--s-6); } }

.about { display: grid; grid-template-columns: 14rem 1fr; gap: var(--s-5); }
.sign { font-family: var(--f-mono); font-size: .85rem; color: var(--muted); }
@media (max-width: 760px) { .about { grid-template-columns: 1fr; gap: var(--s-4); } }

/* Products */
.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.product { display: flex; flex-direction: column; background: var(--panel); text-decoration: none; color: var(--fg); min-width: 0; }
.product:hover { color: var(--fg); }
.product-img { display: grid; place-items: center; aspect-ratio: 16 / 10; background: var(--steel); padding: var(--s-4); border-bottom: 1px solid var(--line); }
.product-img img { max-height: 100%; width: auto; mix-blend-mode: multiply; transition: transform .3s ease; }
.product:hover .product-img img { transform: translateY(-3px) scale(1.03); }
.product-body { display: flex; flex-direction: column; gap: var(--s-2); padding: var(--s-4); flex: 1; }
.more { margin-top: auto; font: 500 .85rem/1 var(--f-mono); color: var(--accent); text-decoration: none; padding-top: var(--s-2); }
@media (max-width: 860px) { .products { grid-template-columns: 1fr; } }

/* Services: a real sequence (quote → ship → install) */
.steps { list-style: none; counter-reset: s; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-5); padding: 0; margin: var(--s-5) 0 0; }
.steps li { counter-increment: s; border-top: 2px solid var(--fg); padding-top: var(--s-3); min-width: 0; }
.steps li::before { content: "0" counter(s); font: 500 .8rem/1 var(--f-mono); color: var(--accent); display: block; margin-bottom: var(--s-3); }
.steps p { margin: var(--s-2) 0 0; color: var(--muted); }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; gap: var(--s-4); } }

/* Gallery */
.gallery { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-3); }
.gallery li { min-width: 0; }
.g-item { display: block; width: 100%; padding: 0; border: 0; background: var(--steel); border-radius: var(--radius); overflow: hidden; cursor: zoom-in; }
.g-item img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .4s ease; }
.g-item:hover img { transform: scale(1.04); }
.g-cap { display: block; font-size: .85rem; color: var(--muted); margin-top: .45rem; }
@media (max-width: 760px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(92vw, 1200px); }
.lightbox::backdrop { background: rgb(8 11 13 / .88); }
.lightbox img { max-height: 82vh; width: auto; margin-inline: auto; border-radius: var(--radius); }
.lb-cap { color: #e7ecef; text-align: center; margin: .75rem 0 0; font-size: .9rem; }
.lb-close { position: fixed; top: calc(env(safe-area-inset-top, 0px) + 1rem); right: 1rem; width: 2.75rem; height: 2.75rem; border-radius: 50%;
  border: 0; background: #e7ecef; color: #151a1e; font-size: 1.6rem; line-height: 1; cursor: pointer; }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1.3fr; gap: var(--s-6); }
.contact > * { min-width: 0; }
.contact-list { margin: 0; display: grid; gap: var(--s-3); }
.contact-list div { display: grid; grid-template-columns: 6.5rem 1fr; gap: var(--s-3); padding-top: var(--s-3); border-top: 1px solid var(--line); }
.contact-list dt { font: 500 .78rem/1.6 var(--f-mono); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.contact-list dd { margin: 0; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; gap: var(--s-5); } }

.form { display: grid; gap: var(--s-3); background: var(--panel); border: 1px solid var(--line); padding: var(--s-4); border-radius: var(--radius); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-3); }
@media (max-width: 560px) { .row2 { grid-template-columns: 1fr; } }
.field { display: grid; gap: .35rem; min-width: 0; margin: 0; border: 0; padding: 0; }
.field label, .field legend { font-size: .85rem; font-weight: 500; }
.field legend { margin-bottom: .35rem; padding: 0; }
input, textarea { font: inherit; color: var(--fg); background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: .7rem .8rem; width: 100%; }
input:focus, textarea:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: transparent; }
textarea { resize: vertical; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chips legend { width: 100%; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span { display: inline-block; font-size: .875rem; padding: .45rem .75rem; border: 1px solid var(--line); border-radius: 999px; cursor: pointer; background: var(--bg); }
.chip input:checked + span { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; }
.form-end { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3); }
.form-status { margin: 0; font-size: .9rem; min-width: 0; flex: 1 1 14rem; }
.form-status.ok { color: #2e7a4a; }
.form-status.err { color: #b3372a; }
:root[data-theme="dark"] .form-status.ok { color: #7fd09c; }
:root[data-theme="dark"] .form-status.err { color: #f08a7c; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .form-status.ok { color: #7fd09c; }
  :root:not([data-theme="light"]) .form-status.err { color: #f08a7c; }
}

/* Sub pages */
.sub-hero { padding-block: var(--s-6) var(--s-5); border-bottom: 1px solid var(--line); }
.sub-hero-tall { padding-block: var(--s-7); border: 0; }
.crumbs { font: 500 .8rem/1 var(--f-mono); color: var(--muted); margin: 0 0 var(--s-4); }
.crumbs a { text-decoration: none; }
.ticks { list-style: none; padding: 0; margin: var(--s-4) 0 0; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.ticks li { padding-left: 1.2rem; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .62em; width: .6rem; height: 2px; background: var(--accent); }
.sinks .ticks { flex-direction: column; }

.models { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.models-3 { grid-template-columns: repeat(3, 1fr); }
.model { background: var(--panel); padding: var(--s-4); display: flex; flex-direction: column; gap: .3rem; min-width: 0; margin: 0; }
.model img { height: 7.5rem; width: 100%; object-fit: contain; margin-bottom: var(--s-3); mix-blend-mode: multiply; }
.model-id { font-size: .85rem; color: var(--accent); margin: 0; }
.model-name { margin: 0; font-weight: 600; }
.model-lg img { height: 14rem; }
.model a.m-zoom:has(img) { display: block; cursor: zoom-in; border-radius: var(--radius); transition: transform .15s ease; }
.model a.m-zoom:has(img):hover { transform: scale(1.04); }
.lightbox img { background: #fff; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .model img, :root:not([data-theme="light"]) .product-img img { mix-blend-mode: normal; background: #e9edef; border-radius: var(--radius); padding: .5rem; } }
:root[data-theme="dark"] .model img, :root[data-theme="dark"] .product-img img { mix-blend-mode: normal; background: #e9edef; border-radius: var(--radius); padding: .5rem; }
@media (max-width: 900px) { .models { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .models, .models-3 { grid-template-columns: 1fr; } }

.sinks { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-6); align-items: start; }
.sinks > * { min-width: 0; }
.sink-img { max-width: 18rem; margin-top: var(--s-4); background: #fff; border-radius: var(--radius); padding: .5rem; }
.table-wrap { overflow-x: auto; }
.sink-table { width: 100%; border-collapse: collapse; font-family: var(--f-mono); font-size: .9rem; font-variant-numeric: tabular-nums; background: var(--panel); }
.sink-table caption { text-align: left; font-family: var(--f-body); font-weight: 600; padding-bottom: var(--s-2); }
.sink-table th, .sink-table td { padding: .6rem .8rem; border-bottom: 1px solid var(--line); text-align: left; white-space: nowrap; }
.sink-table th { font-weight: 500; color: var(--muted); }
@media (max-width: 860px) { .sinks { grid-template-columns: 1fr; gap: var(--s-5); } }

.split { display: grid; grid-template-columns: 1.2fr 1fr; gap: var(--s-6); align-items: start; }
.split > * { min-width: 0; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

.adv { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-5) var(--s-5); margin: var(--s-5) 0 0; }
.adv div { min-width: 0; }
.adv dt { font: 700 1.05rem/1.2 var(--f-display); font-stretch: 112%; text-transform: uppercase; }
.adv dd { margin: .4rem 0 0; color: var(--muted); }
@media (max-width: 860px) { .adv { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .adv { grid-template-columns: 1fr; } }

.cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-4); }
.cta-text { font-size: 1.2rem; max-width: 42rem; margin: 0; }

/* FAQ: native <details> accordion, numbered like a spec sheet */
.faq-group { max-width: 54rem; }
.faq-group + .faq-group { margin-top: var(--s-6); }
.faq-group-title { font-size: .8rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0 0 var(--s-3); }
.faq { max-width: 54rem; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); scroll-margin-top: 5rem; interpolate-size: allow-keywords; }
.faq-item summary { list-style: none; display: grid; grid-template-columns: 3.25rem 1fr 1.25rem; gap: var(--s-3); align-items: baseline;
  padding: var(--s-4) 0; cursor: pointer; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:focus-visible { outline-offset: -2px; }
.faq-n { font-size: .8rem; letter-spacing: .04em; color: var(--muted); transition: color .15s; }
.faq-q { font: 700 clamp(1.05rem, 1.7vw, 1.3rem)/1.3 var(--f-display); font-stretch: 108%; text-wrap: pretty; transition: color .15s; }
.faq-item summary:hover .faq-q { color: var(--accent); }
.faq-ico { position: relative; width: 1rem; height: 1rem; align-self: center; justify-self: end; }
.faq-ico::before, .faq-ico::after { content: ""; position: absolute; left: 0; top: 50%; width: 100%; height: 2px; margin-top: -1px; background: currentColor; border-radius: 1px; transition: transform .25s ease; }
.faq-ico::after { transform: rotate(90deg); }
.faq-item[open] .faq-ico::after { transform: rotate(0deg); }
.faq-item[open] .faq-n { color: var(--accent); }
.faq-item[open] summary::after { content: ""; position: absolute; left: 0; bottom: .55rem; width: 2.25rem; height: 3px; border-radius: 2px; background: var(--weld); }
.faq-a { padding: 0 2.25rem var(--s-5) calc(3.25rem + var(--s-3)); max-width: 48rem; }
.faq-a p, .faq-a ul { margin: 0 0 var(--s-3); }
.faq-a > :last-child { margin-bottom: 0; }
.faq-a ul { padding-left: 1.15rem; }
.faq-a li { margin-bottom: .4rem; }
.faq-a li::marker { color: var(--accent); }
.faq-a a { color: var(--accent); }
.faq-item::details-content { block-size: 0; overflow: clip; transition: block-size .3s ease, content-visibility .3s allow-discrete; }
.faq-item[open]::details-content { block-size: auto; }
.faq-more .cta-text { margin-top: var(--s-3); }
@media (max-width: 560px) {
  .faq-item summary { grid-template-columns: 2.5rem 1fr 1rem; gap: var(--s-2); }
  .faq-a { padding: 0 0 var(--s-4) calc(2.5rem + var(--s-2)); }
}
@media (max-width: 380px) { .faq-a { padding-left: 0; } }

/* Footer */
.foot { border-top: 1px solid var(--line); padding-block: var(--s-5); background: var(--bg); }
.foot-in { display: grid; grid-template-columns: 1fr 1fr auto; gap: var(--s-4); align-items: start; }
.foot-in > * { min-width: 0; }
.brand-foot { margin: 0 0 .4rem; }
.foot .tagline-coast { margin: .4rem 0 0; font-size: .95rem; }
.foot p { margin: 0; }
.foot-contact { display: grid; gap: .25rem; font-size: .95rem; }
.social { list-style: none; margin: 0; padding: 0; display: grid; gap: .25rem; font-size: .95rem; }
@media (max-width: 760px) { .foot-in { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* 404: French block under the English one */
.nf-alt { margin-top: var(--s-6); padding-top: var(--s-5); border-top: 1px solid var(--line); }
.nf-alt .lead { margin: var(--s-3) 0 var(--s-4); }

/* Black theme for all visitors. :not(#_) outranks the light and dark token blocks above. */
:root:not(#_) {
  --bg: #000; --surface: #0a0a0a; --panel: #111; --fg: #fff; --muted: #b8c0c6;
  --line: #2a2a2a; --brand: #6ea2f0; --brand-deep: #8ab4f8; --accent: #6ea2f0; --accent-fg: #0b1220;
  --steel: linear-gradient(135deg, #1c1c1c 0%, #0d0d0d 45%, #202020 55%, #0b0b0b 100%);
  color-scheme: dark;
}
.form-status.ok { color: #7fd09c; }
.form-status.err { color: #f08a7c; }
/* All product images are transparent now, so no pale backing, and they fit the card without stretching it. */
.model img, .product-img img { mix-blend-mode: normal !important; background: transparent !important; padding: 0 !important; }
.product-img { position: relative; overflow: hidden; }
.product-img img { position: absolute; inset: var(--s-4); width: calc(100% - 2 * var(--s-4)); height: calc(100% - 2 * var(--s-4)); max-height: none; object-fit: contain; }

/* Panel hover: light shade and a small lift to show selection. */
li.model, a.product { position: relative; transition: background-color .2s ease, transform .2s ease, box-shadow .2s ease; }
@media (hover: hover) {
  li.model:hover, a.product:hover { background: #1f1f1f; transform: translateY(-4px); box-shadow: 0 0 0 1px rgb(255 255 255 / .28), 0 14px 32px rgb(255 255 255 / .08); z-index: 1; }
}
li.model:focus-within, a.product:focus-visible { background: #1f1f1f; box-shadow: 0 0 0 1px rgb(255 255 255 / .28); z-index: 1; }
@media (prefers-reduced-motion: reduce) {
  li.model, a.product { transition: none; }
  li.model:hover, a.product:hover { transform: none; }
}

/* Drawing pop-ups: black image, PDF download, back to home. */
.lightbox img { background: #000; max-height: 72vh; outline: 1px solid var(--line); }
.lb-actions { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; align-items: center; margin-top: .75rem; }
.lb-actions[hidden], .lb-home[hidden] { display: none; }
.lb-msg { width: 100%; margin: 0; text-align: center; color: #e7ecef; font-size: .9rem; min-height: 1.4em; }
.lb-dl[aria-busy="true"] { opacity: .6; cursor: progress; }
.lb-home { color: #fff; }
.sink-img { background: transparent; padding: 0; }
.sink-zoom { display: inline-block; cursor: zoom-in; }
