
:root { --accent: #007a70; --data: #088c80; }
/* The stylesheet of Luxdrain: everything the site looks like. Edit it in the editor under
   Stylesheet; it is published like any other edit, after the automatic checks. The shared layout
   comes first, then the studio design. The colours set in Settings are added after it. */

/* Shared layout: reset, layout primitives, accessibility, and the pieces that depict data (bars,
   drawings to scale, grate swatches). The templates rely on these classes. --accent and --data are
   set from Settings when the site is built; the neutral colours below can be overridden in Settings
   (Background and text colours) or further down in this stylesheet. */

:root {
  color-scheme: light;
  --bg: #f4f6f6;
  --surface: #ffffff;
  --alt: #e8eeed;
  --ink: #141a1a;
  --muted: #536060;
  --line: #d2dbda;
  --gutter: 16px;
}
@media (min-width: 640px) { :root { --gutter: 24px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4, p, figure, blockquote, dl, dd { margin: 0; }
h1, h2, h3, h4 { text-wrap: balance; }
p, li, dd { text-wrap: pretty; }
a { color: inherit; text-underline-offset: 0.2em; }
button { font: inherit; }

:focus-visible { outline: 2px solid var(--focus, var(--accent)); outline-offset: 3px; }

.container { width: 100%; max-width: var(--container, 1180px); margin-inline: auto; padding-inline: var(--gutter); }

.skip-link {
  position: absolute; left: var(--gutter); top: -80px; z-index: 30;
  padding: 10px 16px; background: var(--ink); color: #fff; text-decoration: none;
}
.skip-link:focus { top: 12px; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}

.notfound__actions { margin-top: 1.75rem; }

details > summary { cursor: pointer; list-style: none; }
details > summary::-webkit-details-marker { display: none; }

/* Tables become one card per row on narrow screens; each cell shows its column name. */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; vertical-align: baseline; }
td.num { font-variant-numeric: tabular-nums; white-space: nowrap; }
@media (max-width: 719px) {
  thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  table, tbody, tr, th, td { display: block; }
  tbody td { display: flex; justify-content: space-between; gap: 16px; }
  tbody td::before { flex: none; content: attr(data-label); }
}

/* Bars beside the figures in a table: one scale per column, baseline on the left.
   The track is the data colour, see-through, so it shows on any background. */
.bar__track { fill: color-mix(in srgb, var(--data) 20%, transparent); }
.bar__fill { fill: var(--data); }
td.has-bar { white-space: nowrap; }
.cell-bar { display: inline-block; margin-right: 10px; vertical-align: middle; }
@media (max-width: 719px) {
  tbody td.has-bar { display: grid; grid-template-columns: minmax(0, 1fr) 64px 5.75rem; align-items: center; gap: 12px; }
  .cell-bar { margin: 0; }
  .cell-val { text-align: right; }
}

/* Drawings to scale: drain plans and tray footprints. */
.plan__body { fill: var(--plan-fill, var(--surface)); stroke: var(--plan-line, var(--muted)); stroke-width: 1px; }
.plan__channel,
.plan__drain { fill: var(--data); }
.plan__falls { fill: none; stroke: color-mix(in srgb, var(--plan-line, var(--muted)) 50%, transparent); stroke-width: 1px; }

/* Size chooser: the layout every design shares. Trays: tiles that share their rows (drawing,
   size, facts, links) so everything lines up across a row, drawings standing on one baseline.
   Drains: rows that switch from stacked to three columns on the width of the list itself. */
.chooser, .tiles, .tile__facts, .tile__links, .run__facts, .run__links { margin: 0; padding: 0; list-style: none; }
.chooser__group + .chooser__group { margin-top: clamp(2rem, 4vw, 2.75rem); }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(10rem, 1fr)); column-gap: 16px; }
.tile { display: grid; grid-row: span 4; grid-template-rows: subgrid; row-gap: 8px; margin-bottom: 24px; }
.tile__plan { grid-row: 1; display: flex; align-items: flex-end; }
.tile__size { grid-row: 2; }
.tile__facts { grid-row: 3; }
.tile__links { grid-row: 4; }
.tile__plan .plan,
.run__plan .plan { max-width: 100%; height: auto; }
.tile__facts { display: grid; align-content: start; }
.tile__links { display: grid; gap: 8px; align-content: end; }
.chooser--drain { container-type: inline-size; }
.run { display: grid; gap: 12px 24px; padding-block: 16px; }
.run__links { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
@container (min-width: 30rem) { .run__links { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@container (min-width: 52rem) { .run { grid-template-columns: 7.5rem minmax(0, 1fr) 30rem; align-items: center; } }
.grate { display: flex; align-items: center; gap: 8px; min-width: 0; min-height: 44px; overflow-wrap: anywhere; text-decoration: none; }

/* Grate swatches: a picture of each grate's top. Plain; round perforations in mixed sizes;
   rows of small squares. Anything else shows plain steel. */
.grate::before {
  content: ""; flex: none; width: 20px; height: 11px; border-radius: 1px;
  background: linear-gradient(180deg, #e6e9eb, #b4bbc1);
  box-shadow: inset 0 0 0 1px rgb(0 0 0 / 14%);
}
.grate--mistral::before {
  background:
    radial-gradient(circle, #4b535a 0 1.25px, transparent 1.6px) 1px 1px / 7px 10px,
    radial-gradient(circle, #4b535a 0 0.8px, transparent 1.1px) 4.5px 5px / 7px 10px,
    linear-gradient(180deg, #e6e9eb, #b4bbc1);
}
.grate--sirocco::before {
  background:
    conic-gradient(#4b535a 25%, transparent 0) 0 0 / 3px 3px,
    linear-gradient(180deg, #e6e9eb, #b4bbc1);
}

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

/* Design: studio (microcementdrains.co.uk). A monograph on one long page: large photographic
   plates, a wide calm headline face, captions that state materials and sizes. See docs/design.md. */

@font-face {
  font-family: "Archivo";
  src: url("/assets/fonts/archivo-pl.woff2") format("woff2");
  font-weight: 300 700;
  font-stretch: 100% 125%;
  font-style: normal;
  font-display: swap;
}

.design-studio {
  --container: 1440px;
  --gutter: clamp(20px, 4vw, 64px);
  --edge: max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter)));
  --font: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius: 3px;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
}

.design-studio h1,
.design-studio h2 { font-weight: 340; font-stretch: 125%; letter-spacing: -0.012em; line-height: 1.06; }
.design-studio h2 { font-size: clamp(1.75rem, 2.2vw + 0.8rem, 2.75rem); }
.design-studio h3,
.design-studio h4 { font-size: 1.0625rem; font-weight: 600; line-height: 1.35; }

.design-studio .prose a,
.design-studio .faq__answer a,
.design-studio .section__intro a { color: var(--accent); text-decoration-thickness: 1px; }
.design-studio .prose a:hover,
.design-studio .faq__answer a:hover { text-decoration-thickness: 2px; }

/* Buttons */
.design-studio .btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0.75rem 1.35rem;
  border: 1px solid transparent; border-radius: var(--radius);
  font: inherit; font-size: 1rem; font-weight: 560; font-stretch: 110%; line-height: 1.2; text-align: center; text-decoration: none;
  transition: background-color 0.15s, border-color 0.15s;
}
.design-studio .btn--primary { background: var(--accent); color: #fff; }
.design-studio .btn--primary:hover { background: color-mix(in srgb, var(--accent) 84%, #000); }
.design-studio .btn--secondary { border-color: var(--ink); color: var(--ink); }
.design-studio .btn--secondary:hover { background: var(--surface); }
.design-studio .btn--light { background: #fff; color: var(--ink); }
.design-studio .btn--light:hover { background: color-mix(in srgb, var(--accent) 10%, #fff); }
.design-studio .btn--outline-light { border-color: rgb(255 255 255 / 55%); color: #fff; }
.design-studio .btn--outline-light:hover { border-color: #fff; }
.design-studio .btn--small { min-height: 40px; padding: 0.45rem 1rem; font-size: 0.9375rem; }
.design-studio .actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.design-studio .lead { margin-top: 1.25rem; max-width: 38rem; color: var(--muted); font-size: 1.25rem; line-height: 1.55; }

/* Header */
.s-header { position: sticky; top: 0; z-index: 10; background: var(--bg); border-bottom: 1px solid var(--line); }
.s-header__inner { display: flex; align-items: center; gap: 28px; min-height: 72px; }
.s-brand { display: flex; align-items: center; gap: 14px; margin-right: auto; color: var(--muted); text-decoration: none; }
.s-brand__logo { height: 48px; width: auto; }
.s-brand__tagline { font-size: 0.875rem; font-weight: 500; line-height: 1.3; }
.s-nav { display: none; gap: 26px; }
.s-nav a { color: var(--ink); font-size: 0.9375rem; font-weight: 500; text-decoration: none; }
.s-nav a:hover { color: var(--accent); }
.s-header__phone { display: none; color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; text-decoration: none; }
.s-header__phone:hover { color: var(--accent); }
@media (min-width: 760px) { .s-header__phone { display: block; } .s-brand__logo { height: 56px; } }
@media (min-width: 1100px) { .s-nav { display: flex; } }
/* Language switch (Polski / English), last in the header */
.language-switcher__list { display: flex; gap: 2px; margin: 0; padding: 0; list-style: none; }
.language-switcher__link { display: block; padding: 6px 9px; border-radius: 4px; color: var(--muted); font-size: 0.875rem; font-weight: 600; text-decoration: none; }
.language-switcher__link:hover { color: var(--accent); }
.language-switcher__link[aria-current="page"] { color: var(--ink); background: var(--alt); }
.s-nav a, .s-header__phone, .s-header .btn { white-space: nowrap; }
@media (min-width: 1100px) { .s-brand__tagline { display: none; } }
@media (max-width: 519px) {
  .s-header__inner { gap: 12px; }
  .s-brand__logo { height: 40px; }
  .s-header .btn--small { padding-inline: 12px; }
  .language-switcher__link { padding: 6px 5px; }
}
@media (max-width: 519px) { .s-brand__tagline { display: none; } }
html:has(.design-studio) { scroll-padding-top: 96px; }

/* Hero: a monograph plate. Headline, photograph, then a caption stating what it is. */
.plate { padding-top: clamp(2.5rem, 6vw, 5rem); }
.plate__title { max-width: 30ch; font-size: clamp(2.3rem, 4.2vw + 0.5rem, 4.75rem); margin-bottom: clamp(1.75rem, 3.5vw, 2.75rem); }
/* The product photographed on white: shown whole, on a white plate. */
.plate__image img { width: 100%; max-height: 620px; object-fit: contain; background: var(--surface); border-radius: 2px; }
.plate__caption { display: grid; gap: 2rem; padding-block: clamp(1.75rem, 3vw, 2.5rem) clamp(3.5rem, 7vw, 6rem); }
@media (min-width: 900px) { .plate__caption { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 5rem; } }
.plate__product { font-size: 1.125rem; font-weight: 600; font-stretch: 112%; }
.plate__for { margin-top: 0.25rem; color: var(--muted); }
.plate__facts { display: grid; gap: 0.35rem; margin-top: 1.25rem; font-size: 0.9375rem; font-weight: 500; }
.plate__facts div { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr); gap: 1rem; }
.plate__facts dt { color: var(--muted); }
.plate__intro { max-width: 40rem; font-size: clamp(1.125rem, 0.5vw + 1rem, 1.3125rem); line-height: 1.55; }
.plate__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: 1.6rem; }
.plate__call { color: var(--ink); font-weight: 500; text-decoration-color: var(--line); }
.plate__call:hover { color: var(--accent); text-decoration-color: currentColor; }
.plate__note { margin-top: 1rem; color: var(--muted); font-size: 0.875rem; font-weight: 500; }

/* Sections */
.design-studio .section { padding-block: clamp(4rem, 8vw, 7rem); }
.design-studio .section--alt { background: var(--alt); }
.design-studio .section__head { max-width: 40rem; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.design-studio .section__intro { margin-top: 1rem; color: var(--muted); }
.design-studio .section__intro > * + * { margin-top: 0.75rem; }
.design-studio .section__intro strong { color: var(--ink); font-weight: 600; }
.design-studio .section__more { margin-top: 2.25rem; }
.design-studio .section__more a { color: var(--accent); font-weight: 560; }
.design-studio .container--narrow { max-width: 900px; }

/* Heading on the left, content on the right */
@media (min-width: 1000px) {
  .s-columns { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 4rem; align-items: start; }
  .s-columns > .section__head { position: sticky; top: 112px; margin-bottom: 0; }
}

.design-studio .prose { margin-top: 1.25rem; color: var(--muted); }
.design-studio .prose > * + * { margin-top: 1rem; }
.design-studio .prose strong { color: var(--ink); font-weight: 600; }
.design-studio .prose ul { margin: 0; padding-left: 1.15rem; }
.design-studio .prose li + li { margin-top: 0.5rem; }
.design-studio .prose li::marker { color: var(--accent); }

/* Text and photograph: two halves, the photograph running to the screen edge */
.bleed { display: grid; background: var(--bg); }
.bleed--alt { background: var(--alt); }
.bleed__text { padding: clamp(3.5rem, 7vw, 6rem) var(--gutter); }
.bleed__text > * { max-width: 36rem; }
.bleed__link { margin-top: 1.5rem; }
.bleed__link a { color: var(--accent); font-weight: 560; }
.bleed__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.bleed__media--contain img { object-fit: contain; background: var(--surface); }
@media (min-width: 900px) {
  .bleed { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 620px; }
  .bleed__text { align-self: center; padding: 5rem clamp(2.5rem, 5vw, 5.5rem) 5rem var(--edge); }
  .bleed__media { position: relative; }
  .bleed__media img { position: absolute; inset: 0; height: 100%; aspect-ratio: auto; }
  .bleed--image-left .bleed__media { order: -1; }
  .bleed--image-left .bleed__text { padding: 5rem var(--edge) 5rem clamp(2.5rem, 5vw, 5.5rem); }
}

/* Features: short paragraphs with a bold lead, in two columns */
.s-features { display: grid; gap: 2rem 3.5rem; margin: 0; padding: 0; list-style: none; }
.s-features p { margin-top: 0.35rem; color: var(--muted); }
@media (min-width: 640px) { .s-features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Generic features (another design's section type, if an editor adds one) */
.design-studio .features { display: grid; gap: 2rem 3rem; margin: 0; padding: 0; list-style: none; }
.design-studio .feature p { margin-top: 0.35rem; color: var(--muted); }
@media (min-width: 760px) { .design-studio .features { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Cards: samples on white, grouped by what they do */
.design-studio .cards-group + .cards-group { margin-top: clamp(2.5rem, 5vw, 4rem); }
.design-studio .cards-group__title { margin-bottom: 1.25rem; font-size: 1.125rem; font-stretch: 112%; }
.design-studio .cards { display: grid; gap: 32px 20px; margin: 0; padding: 0; list-style: none; }
.design-studio .card__image { width: 100%; aspect-ratio: 2 / 1; object-fit: contain; background: var(--surface); border-radius: 2px; }
.design-studio .card__body { padding-top: 0.9rem; }
.design-studio .card__body p { margin-top: 0.3rem; color: var(--muted); font-size: 0.9375rem; font-weight: 500; }
.design-studio .card__link { margin-top: 0.75rem; }
.design-studio .card__link a { color: var(--accent); font-weight: 560; }
@media (min-width: 560px) { .design-studio .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.design-studio .cards--1,
.design-studio .cards--2 { max-width: 60rem; }
@media (min-width: 1000px) {
  .design-studio .cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .design-studio .cards--4,
  .design-studio .cards--7,
  .design-studio .cards--8 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .design-studio .cards--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .design-studio .cards--6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Fitting steps: the one real sequence on the page, so the only numbers */
.design-studio .steps { display: grid; gap: 2.5rem; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.design-studio .step { counter-increment: step; }
.design-studio .step::before {
  content: counter(step); display: block; margin-bottom: 0.9rem;
  color: var(--accent); font-size: 3.25rem; font-stretch: 125%; font-weight: 300; line-height: 1;
}
.design-studio .step p { margin-top: 0.4rem; color: var(--muted); }
@media (min-width: 640px) { .design-studio .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .design-studio .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* Table: a specification sheet */
.design-studio table { font-size: 0.9375rem; font-weight: 500; }
.design-studio th,
.design-studio td { padding: 14px 24px 14px 0; }
.design-studio thead th { padding-top: 0; color: var(--muted); font-size: 0.875rem; font-weight: 500; border-bottom: 1px solid var(--ink); }
.design-studio tbody tr { border-bottom: 1px solid var(--line); }
.design-studio tbody th { font-weight: 600; }
.design-studio tbody td { color: var(--muted); }
.design-studio tbody td.num { color: var(--ink); }
.design-studio .table-note { margin-top: 1rem; color: var(--muted); font-size: 0.875rem; font-weight: 500; }
@media (max-width: 719px) {
  .design-studio tbody tr { padding: 14px 0; }
  .design-studio tbody th { padding: 0 0 8px; font-size: 1rem; }
  .design-studio tbody td { padding: 3px 0; }
  .design-studio tbody td::before { color: var(--muted); font-size: 0.875rem; }
}

/* Questions */
.design-studio .faq { border-top: 1px solid var(--line); }
.design-studio .faq__item { border-bottom: 1px solid var(--line); }
.design-studio .faq__item summary { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding: 18px 0; font-weight: 560; }
.design-studio .faq__item summary::after {
  content: ""; flex: none; width: 0.5em; height: 0.5em; margin-right: 4px;
  border-right: 1.5px solid var(--muted); border-bottom: 1.5px solid var(--muted); transform: translateY(-0.15em) rotate(45deg);
}
.design-studio .faq__item[open] summary::after { transform: translateY(0.1em) rotate(-135deg); }
.design-studio .faq__answer { max-width: 44rem; padding: 0 0 22px; color: var(--muted); }
.design-studio .faq__answer > * + * { margin-top: 0.75rem; }

/* Product with specification (another design's section type, if an editor adds one) */
.design-studio .product { display: grid; gap: clamp(2rem, 4vw, 4rem); align-items: start; }
.design-studio .product__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; background: var(--surface); }
.design-studio .product__info h2 { font-size: clamp(1.6rem, 1.4vw + 1rem, 2.2rem); }
.design-studio .product__specs { margin-top: 1.5rem; }
.design-studio .product__specs > div { display: grid; grid-template-columns: 9rem minmax(0, 1fr); gap: 1rem; padding: 10px 0; border-bottom: 1px solid var(--line); }
.design-studio .product__specs dt { color: var(--muted); }
.design-studio .product__cta { margin-top: 1.5rem; }
.design-studio .product__note { margin-top: 0.8rem; color: var(--muted); font-size: 0.875rem; font-weight: 500; }
@media (min-width: 900px) { .design-studio .product { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } }

/* Size chooser: samples on white, as the grates are shown */
.design-studio .chooser__title { margin-bottom: 1rem; font-size: 1.125rem; font-stretch: 112%; }
.design-studio .tile { padding: 14px; background: var(--surface); border-radius: 2px; }
.design-studio .tile__size,
.design-studio .run__size { font-weight: 600; font-variant-numeric: tabular-nums; }
.design-studio .tile__facts,
.design-studio .run__facts { color: var(--muted); font-size: 0.9375rem; font-weight: 500; }
.design-studio .tile__flag,
.design-studio .run__flag { color: var(--accent); }
.design-studio .chooser--drain { border-top: 1px solid var(--ink); }
.design-studio .run { border-bottom: 1px solid var(--line); }
.design-studio .grate { padding: 6px 12px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); color: var(--ink); font-size: 0.9375rem; font-weight: 500; }
.design-studio .grate:hover { border-color: var(--ink); }

/* Closing band */
.design-studio .cta { padding-block: clamp(3.5rem, 7vw, 5.5rem); background: var(--accent); color: #fff; }
.design-studio .cta__inner { display: grid; gap: 28px; align-items: center; }
.design-studio .cta h2 { color: #fff; }
.design-studio .cta p { max-width: 38rem; margin-top: 0.75rem; color: rgb(255 255 255 / 85%); }
.design-studio .cta :focus-visible { outline-color: #fff; }
@media (min-width: 900px) { .design-studio .cta__inner { grid-template-columns: 1fr auto; gap: 48px; } }

/* Sub-page heading (the studio design is one page; this covers pages an editor adds) */
.s-pagehead { padding-block: clamp(2.5rem, 5vw, 4rem); background: var(--alt); }
.s-pagehead h1 { font-size: clamp(2rem, 2.8vw + 1rem, 3.4rem); }
.s-pagehead__intro { max-width: 42rem; margin-top: 1rem; color: var(--muted); font-size: 1.1875rem; }
.design-studio .breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 1.25rem; padding: 0; list-style: none; color: var(--muted); font-size: 0.9375rem; }
.design-studio .breadcrumbs li + li::before { content: "/"; margin-right: 8px; opacity: 0.6; }

/* Footer */
.s-footer { padding-block: 3.5rem 2rem; background: var(--alt); color: var(--muted); font-size: 0.9375rem; font-weight: 500; }
.s-footer__grid { display: grid; gap: 2.25rem; }
.s-footer__grid p + p { margin-top: 0.5rem; }
@media (min-width: 800px) { .s-footer__grid { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1.2fr); gap: 3rem; } }
.s-footer__logo { height: 64px; width: auto; margin-bottom: 1rem; }
.s-footer__heading { margin-bottom: 0.7rem; color: var(--ink); font-weight: 600; }
.s-footer__phone { color: var(--ink); font-size: 1.125rem; font-weight: 600; font-variant-numeric: tabular-nums; text-decoration: none; }
.s-footer__links { margin: 0; padding: 0; list-style: none; }
.s-footer__links li + li { margin-top: 0.45rem; }
.s-footer a { color: var(--ink); text-decoration: none; }
.s-footer a:hover { text-decoration: underline; }
.s-footer__legal { display: grid; gap: 0.5rem; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line); font-size: 0.875rem; font-weight: 500; }
.design-studio .legal { display: flex; flex-wrap: wrap; gap: 0.35rem 1.5rem; margin: 0; padding: 0; list-style: none; }

/* Luxdrain: the top of the page. The drain is photographed on white, so the plate is a two-column sheet: name,
   claim, buttons and facts on the left; the drain whole on the right, on a steel-grey panel inside the logo's
   grey frame. The template's wrappers step aside (display: contents) so each piece can be placed. */
.s-brand__tagline { display: none; }
.plate { --frame-grey: #a5a5a5; display: grid; grid-template-columns: minmax(0, 1fr); max-width: var(--container); margin-inline: auto;
  padding: clamp(2rem, 5vw, 4.5rem) var(--gutter) clamp(3rem, 6vw, 5.5rem); }
.plate > .container:not(.plate__image), .plate__caption, .plate__label, .plate__text { display: contents; }
.plate__product { grid-row: 1; margin: 0 0 0.85rem; color: var(--accent); font-size: 1rem; font-weight: 600; font-stretch: 100%; }
.plate__title { grid-row: 2; max-width: 14ch; margin: 0; font-size: clamp(2.5rem, 4vw + 1rem, 4.6rem); font-weight: 600; line-height: 1.02; }
.plate__image { grid-row: 3; position: relative; max-width: none; margin: 1.75rem 0 0; padding: clamp(1.75rem, 4vw, 3rem) clamp(1rem, 3vw, 2.5rem);
  background: linear-gradient(165deg, #ffffff 0%, #e9eeed 100%); border-radius: 6px; }
.plate__image img { width: 100%; max-height: none; object-fit: contain; background: transparent; mix-blend-mode: multiply; border-radius: 0; }
.plate__image::before, .plate__image::after { content: ""; position: absolute; left: 12%; right: 12%; height: 18%; border: 2px solid var(--frame-grey); pointer-events: none; }
.plate__image::before { top: 12px; border-bottom: 0; }
.plate__image::after { bottom: 12px; border-top: 0; }
.plate__intro { grid-row: 4; max-width: 34rem; margin-top: 1.5rem; font-size: clamp(1.0625rem, 0.4vw + 0.95rem, 1.1875rem); line-height: 1.6; color: var(--muted); }
.plate__actions { grid-row: 5; margin-top: 1.75rem; }
.plate__note { grid-row: 6; margin-top: 0.9rem; }
.plate__facts { grid-row: 7; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1.5rem; margin-top: 2.25rem; border-top: 1px solid var(--line); }
.plate__facts div { display: block; padding: 0.85rem 0; border-bottom: 1px solid var(--line); }
.plate__facts dt { font-size: 0.8125rem; font-weight: 500; }
.plate__facts dd { margin-top: 0.15rem; font-weight: 600; }
@media (min-width: 900px) {
  .plate { grid-template-columns: minmax(0, 11fr) minmax(0, 10fr); column-gap: clamp(2.5rem, 5vw, 5.5rem); align-items: start; }
  .plate__product { grid-area: 1 / 1; }
  .plate__title { grid-area: 2 / 1; }
  .plate__intro { grid-area: 3 / 1; }
  .plate__actions { grid-area: 4 / 1; }
  .plate__note { grid-area: 5 / 1; }
  .plate__facts { grid-area: 6 / 1; }
  .plate__image { grid-area: 1 / 2 / 7 / 3; align-self: center; margin: 0; }
}

/* Lengths: the whole range at a glance, each drain drawn to scale as steel seen from above (channel and grate);
   a row is a link to that length in the shop. */
.range { display: grid; gap: 2px; max-width: 58rem; margin: clamp(1.75rem, 3vw, 2.5rem) 0 0; padding: 0; list-style: none; }
@media (min-width: 1000px) {
  .range-section { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); column-gap: clamp(2.5rem, 5vw, 5rem); align-items: start; }
  .range-section > :not(.range) { grid-column: 1; }
  .range-section > .range { grid-column: 2; grid-row: 1 / span 3; max-width: none; margin-top: 0; }
}
.range__link { display: grid; grid-template-columns: 4.25rem minmax(0, 1fr) 7rem; align-items: center; gap: clamp(0.75rem, 2vw, 1.5rem);
  padding: 8px 12px; border-radius: 6px; color: var(--ink); text-decoration: none; }
a.range__link:hover, a.range__link:focus-visible { background: var(--surface); }
.range__size { font-size: 1.0625rem; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.range__bar .steel { display: block; width: 100%; height: 26px; overflow: visible; }
.steel__body { stroke: #8f9999; stroke-width: 1px; }
.range__go { color: var(--accent); font-size: 0.9375rem; font-weight: 600; white-space: nowrap; }
a.range__link:hover .range__go, a.range__link:focus-visible .range__go { text-decoration: underline; }
a.range__link:hover .steel__body, a.range__link:focus-visible .steel__body { stroke: var(--accent); }
@media (max-width: 559px) {
  .range__link { grid-template-columns: 4.25rem minmax(0, 1fr); gap: 0.5rem; padding: 8px 6px; }
  .range__go { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}

:root { --bg: #f4f6f6; --alt: #e8eeed; --line: #d2dbda; --ink: #141a1a; --muted: #536060;
}
