/* ==========================================================================
   Lumatic product catalogue
   The printed catalogue's own furniture, made interactive: the yellow
   "Description / Item No." strip, zinc-grey product bars, striped rows and
   a DIN-style grotesk. Yellow is spent in one place: the tables and search.
   ========================================================================== */

/* ---- fonts (self-hosted, SIL OFL) ---------------------------------------- */
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/barlow-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/barlow-latin-ext-400-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("../fonts/barlow-latin-500-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("../fonts/barlow-latin-ext-500-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("../fonts/barlow-latin-600-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("../fonts/barlow-latin-ext-600-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("../fonts/barlow-condensed-latin-600-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("../fonts/barlow-condensed-latin-ext-600-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* ---- tokens ------------------------------------------------------------- */
:root {
  --yellow: #ffed00;      /* catalogue header strip */
  --yellow-soft: #fff7a8;
  --steel: #24292d;       /* ink, masthead */
  --steel-2: #3a4147;
  --zinc: #dadada;        /* product bars */
  --stripe: #f2f2f2;      /* alternate rows */
  --slate: #5a636a;       /* secondary text, 6.1:1 on white */
  --rule: #d3d6d8;
  --paper: #ffffff;
  --sheet: #e7e9ea;       /* behind page images */

  --font: "Barlow", "Bahnschrift", "DIN Alternate", "Arial Nova", Arial, sans-serif;
  --font-display: "Barlow Condensed", "Bahnschrift SemiBold Condensed", "Arial Narrow", "Barlow", sans-serif;

  --step--1: 0.875rem;
  --step-0: 1rem;
  --step-1: 1.1875rem;
  --step-2: 1.5rem;
  --step-3: clamp(1.875rem, 1.4rem + 1.8vw, 2.625rem);
  --step-4: clamp(2.375rem, 1.5rem + 3.6vw, 4.25rem);

  --wrap: 78rem;
  --gutter: clamp(1rem, 3.5vw, 2.25rem);
  --radius: 2px;
}

/* ---- base --------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 1rem; }
body {
  margin: 0;
  font: 400 var(--step-0)/1.55 var(--font);
  color: var(--steel);
  background: var(--paper);
  font-feature-settings: "kern", "tnum";
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { margin: 0; line-height: 1.15; }
p { margin: 0 0 1em; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 2px; }
button, input { font: inherit; color: inherit; }
mark { background: var(--yellow); color: inherit; padding: 0 0.08em; }
main { display: block; outline: none; }

:focus-visible { outline: 3px solid var(--steel); outline-offset: 2px; }
.masthead :focus-visible, .btn--dark:focus-visible { outline-color: var(--yellow); }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.visually-hidden {
  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 { position: absolute; left: 1rem; top: -4rem; z-index: 50; background: var(--yellow); padding: 0.5rem 1rem; font-weight: 600; }
.skip:focus { top: 1rem; }

.code {
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

/* ---- buttons ------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; gap: 0.4em;
  min-height: 2.75rem; padding: 0.5rem 1rem;
  border: 2px solid var(--steel); border-radius: var(--radius);
  background: var(--paper); color: var(--steel);
  font-weight: 600; text-decoration: none; cursor: pointer; white-space: nowrap;
}
.btn:hover { background: var(--stripe); }
.btn--dark { background: var(--steel); color: var(--paper); }
.btn--dark:hover { background: var(--steel-2); border-color: var(--steel-2); }
.btn--small { min-height: 2.25rem; padding: 0.25rem 0.75rem; }
.btn.is-disabled { opacity: 0.35; cursor: default; }

/* ---- masthead ----------------------------------------------------------- */
.masthead { background: var(--steel); color: #eef0f1; }
.masthead__inner {
  display: flex; align-items: center; gap: 0.75rem 2rem; flex-wrap: wrap;
  min-height: 4rem; padding-block: 0.625rem;
}
.wordmark { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; color: #fff; }
.wordmark__bar { width: 0.45rem; height: 1.9rem; background: var(--yellow); }
.wordmark__name { font: 600 1.5rem/1 var(--font-display); letter-spacing: 0.01em; }
.wordmark__sub { font-size: var(--step--1); color: #b9bfc4; padding-top: 0.2rem; }

.mainnav ul { display: flex; flex-wrap: wrap; gap: 0.25rem 1.25rem; margin: 0; padding: 0; list-style: none; }
.mainnav a { color: #eef0f1; text-decoration: none; font-weight: 500; padding-block: 0.35rem; display: inline-block;
  border-bottom: 2px solid transparent; }
.mainnav a:hover { border-bottom-color: var(--yellow); }

.quicksearch { position: relative; margin-left: auto; display: flex; flex: 0 1 20rem; min-width: 14rem; }
.quicksearch input {
  flex: 1; min-width: 0; height: 2.5rem; padding: 0 0.75rem;
  background: #31383d; color: #fff; border: 1px solid #505a61; border-right: 0;
  border-radius: var(--radius) 0 0 var(--radius);
}
.quicksearch input::placeholder { color: #aab1b7; }
.quicksearch input:focus { background: #fff; color: var(--steel); outline: 3px solid var(--yellow); outline-offset: 0; }
.quicksearch__go {
  width: 2.75rem; height: 2.5rem; display: grid; place-items: center; cursor: pointer;
  background: var(--yellow); color: var(--steel); border: 0; border-radius: 0 var(--radius) var(--radius) 0;
}

/* ---- breadcrumbs -------------------------------------------------------- */
.crumbs { margin-top: 1rem; font-size: var(--step--1); color: var(--slate); }
.crumbs ol { display: flex; flex-wrap: wrap; margin: 0; padding: 0; list-style: none; }
.crumbs li + li::before { content: "/"; margin: 0 0.5rem; color: #a3a9ae; }
.crumbs a { color: var(--slate); }

/* ---- home: hero --------------------------------------------------------- */
.hero { padding-top: clamp(2rem, 6vw, 4.5rem); }
.hero__grid {
  display: grid; gap: 2rem 4rem; align-items: end;
  grid-template-columns: minmax(0, 1fr) minmax(12rem, 17rem);
}
.hero__title {
  font: 600 var(--step-4)/0.98 var(--font-display);
  letter-spacing: -0.005em; max-width: 19ch; margin-bottom: 1.25rem;
}
.hero__lede { font-size: var(--step-1); max-width: 40rem; color: var(--steel-2); margin-bottom: 2.5rem; }
.hero__cover { position: relative; display: block; text-decoration: none; margin-bottom: -3.25rem; z-index: 2; }
.hero__cover img {
  box-shadow: 0 1px 2px rgba(36, 41, 45, 0.3), 0 18px 32px -18px rgba(36, 41, 45, 0.55);
}
.hero__cover-label {
  display: block; margin-top: 0.6rem; font-weight: 600; font-size: var(--step--1);
  text-decoration: underline; text-underline-offset: 0.2em;
}

/* the search slab: the catalogue's yellow table header, full width */
.finder { background: var(--yellow); padding-block: 1.25rem 1rem; }
.finder__form { max-width: var(--wrap); }
.finder__label { display: block; font-weight: 600; margin-bottom: 0.35rem; }
.finder__field { position: relative; display: flex; gap: 0; max-width: 46rem; }
.finder__field input {
  flex: 1; min-width: 0; height: 3.5rem; padding: 0 1rem;
  font-size: var(--step-1); background: #fff;
  border: 2px solid var(--steel); border-right: 0; border-radius: var(--radius) 0 0 var(--radius);
}
.finder__field input:focus { outline: 3px solid var(--steel); outline-offset: -5px; }
.finder__field .btn { height: 3.5rem; border-radius: 0 var(--radius) var(--radius) 0; padding-inline: 1.5rem; }
.finder__hint { margin: 0.5rem 0 0; font-size: var(--step--1); }
.finder--inline { background: none; padding: 0; margin: 1.25rem 0 1.5rem; }
.finder--inline .finder__field { max-width: 40rem; }
.finder--inline .finder__field input { background: #fff; }
.finder--inline .finder__label { color: var(--slate); font-weight: 500; }

/* ---- typeahead ---------------------------------------------------------- */
.typeahead {
  position: absolute; z-index: 40; left: 0; right: 0; top: calc(100% + 4px);
  background: #fff; color: var(--steel); border: 2px solid var(--steel);
  box-shadow: 0 16px 32px -16px rgba(36, 41, 45, 0.5);
  max-height: min(70vh, 34rem); overflow: auto;
  transform-origin: top; animation: drop 140ms ease-out;
}
.quicksearch .typeahead { left: auto; width: min(30rem, calc(100vw - 2rem)); }
@keyframes drop { from { opacity: 0; transform: scaleY(0.96); } to { opacity: 1; transform: none; } }
.typeahead ul { margin: 0; padding: 0; list-style: none; }
.ta-opt {
  display: grid; grid-template-columns: 3.25rem minmax(0, 1fr) auto; gap: 0.75rem; align-items: center;
  padding: 0.5rem 0.75rem; cursor: pointer; border-left: 4px solid transparent;
}
.ta-opt + .ta-opt { border-top: 1px solid var(--stripe); }
.ta-opt[aria-selected="true"] { background: var(--stripe); border-left-color: var(--yellow); }
.ta-opt__img { width: 3.25rem; height: 2.5rem; object-fit: contain; }
.ta-opt__noimg { width: 3.25rem; height: 2.5rem; background: var(--stripe); }
.ta-opt__title { display: block; font-weight: 600; line-height: 1.25; }
.ta-opt__meta { display: block; font-size: var(--step--1); color: var(--slate); line-height: 1.35;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ta-opt__page { font-size: var(--step--1); color: var(--slate); font-variant-numeric: tabular-nums; }
.ta-all { display: block; padding: 0.6rem 0.9rem; font-weight: 600; background: var(--zinc); cursor: pointer; border-left: 4px solid transparent; }
.ta-all[aria-selected="true"] { border-left-color: var(--steel); }
.ta-empty { padding: 0.75rem 0.9rem; color: var(--slate); }

/* ---- home: contents ----------------------------------------------------- */
.contents { padding-block: 4.5rem 4rem; }
.contents__title { font: 600 var(--step-3)/1 var(--font-display); margin-bottom: 1.5rem; }
.toc { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 3rem; }
.toc__col { margin: 0; padding: 0; list-style: none; border-top: 2px solid var(--steel); }
.toc__row {
  display: flex; align-items: center; gap: 1rem;
  padding: 0.75rem 0.25rem; min-height: 5.25rem;
  border-bottom: 1px solid var(--rule); text-decoration: none;
}
.toc__row:hover { background: var(--stripe); }
.toc__row:hover .toc__name { text-decoration: underline; }
.toc__thumb { width: 2.75rem; flex: none; border: 1px solid var(--rule); }
.toc__text { display: flex; flex-direction: column; min-width: 0; max-width: 24rem; }
.toc__name { font-weight: 600; font-size: 1.0625rem; line-height: 1.25; }
.toc__summary { font-size: var(--step--1); color: var(--slate); line-height: 1.4; }
.toc__leader { flex: 1; align-self: flex-end; margin-bottom: 1.35rem; min-width: 1rem;
  border-bottom: 2px dotted #b8bdc1; }
.toc__page { font: 600 1.5rem/1 var(--font-display); font-variant-numeric: tabular-nums; min-width: 1.6em; text-align: right; }

.reference { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; margin-top: 3rem; background: var(--rule); border: 1px solid var(--rule); }
.reference__link { display: block; background: var(--paper); padding: 1rem 1.1rem; text-decoration: none; }
.reference__link:hover { background: var(--stripe); }
.reference__name { display: block; font-weight: 600; }
.reference__text { display: block; font-size: var(--step--1); color: var(--slate); }

/* ---- page heads --------------------------------------------------------- */
.pagehead { padding-block: 1.5rem 2rem; max-width: 52rem; }
.pagehead__title { font: 600 var(--step-3)/1.02 var(--font-display); margin-bottom: 0.6rem; }
.pagehead__lede { font-size: var(--step-1); color: var(--steel-2); margin-bottom: 0.4rem; }
.pagehead__meta { color: var(--slate); margin: 0; }
.aside-title { font-size: var(--step-0); font-weight: 600; margin: 0 0 0.75rem; }

/* ---- section page ------------------------------------------------------- */
.section-grid { display: grid; grid-template-columns: minmax(0, 1fr) 15rem; gap: 3rem; padding-bottom: 4rem; }
.pagegroup + .pagegroup { margin-top: 2.25rem; }
.pagegroup__title { margin-bottom: 0.25rem; }
.pagegroup__title a {
  display: flex; align-items: baseline; gap: 0.75rem; text-decoration: none;
  padding: 0.4rem 0.75rem; background: var(--yellow);
}
.pagegroup__title a:hover .pagegroup__name { text-decoration: underline; }
.pagegroup__num { font: 600 1.25rem/1 var(--font-display); font-variant-numeric: tabular-nums; }
.pagegroup__name { font-size: var(--step-0); font-weight: 600; }
.pagegroup__overview { padding: 0.75rem; margin: 0; background: var(--stripe); }

.pagethumbs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; margin: 0; padding: 0; list-style: none; position: sticky; top: 1rem; }
.pagethumbs a { display: block; text-decoration: none; font-size: var(--step--1); }
.pagethumbs img { border: 1px solid var(--rule); }
.pagethumbs a:hover img { outline: 3px solid var(--yellow); }
.pagethumbs__num { display: block; margin-top: 0.2rem; color: var(--slate); }

/* ---- product list rows (catalogue grey bar feel) ----------------------- */
.plist { margin: 0; padding: 0; list-style: none; }
.prow + .prow { border-top: 1px solid var(--rule); }
.prow__link {
  display: grid; grid-template-columns: minmax(0, 1fr) 7rem; gap: 1.25rem; align-items: center;
  padding: 0.85rem 0.75rem; text-decoration: none;
}
.prow__link:hover { background: var(--stripe); }
.prow__link:hover .prow__title { text-decoration: underline; }
.prow__title { display: block; font-weight: 600; font-size: 1.0625rem; line-height: 1.3; }
.prow__sub { display: block; color: var(--slate); font-size: var(--step--1); line-height: 1.4; margin-top: 0.1rem; }
.prow__codes { display: flex; flex-wrap: wrap; gap: 0.2rem 0.9rem; margin-top: 0.35rem; font-size: 0.9375rem; }
.prow__more { color: var(--slate); }
.prow__img { justify-self: end; }
.prow__img img { max-height: 4.5rem; width: auto; max-width: 7rem; object-fit: contain; }
.noimg { display: block; width: 4rem; height: 3rem; background: var(--stripe); }
.plist--compact .prow__link { grid-template-columns: minmax(0, 1fr) 4.5rem; padding-inline: 0.25rem; }
.plist--compact .prow__img img { max-height: 3.25rem; max-width: 4.5rem; }

/* ---- product page ------------------------------------------------------- */
.product { padding-bottom: 4rem; }
.product__head { background: var(--zinc); padding: 1.1rem 1.25rem 1rem; margin: 1rem 0 1.75rem; }
.product__title { font: 600 var(--step-3)/1.02 var(--font-display); }
.product__sub { margin: 0.35rem 0 0; font-size: var(--step-1); }
.product__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(16rem, 22rem); gap: 2.5rem 3rem; align-items: start; }
.product__note { max-width: 44rem; }
.product__note--after { margin-top: 1.25rem; color: var(--steel-2); }
.product__note--flag { padding: 0.75rem 1rem; background: var(--stripe); border-left: 4px solid var(--yellow); }

.spec { position: relative; overflow-x: auto; margin-top: 1.25rem; -webkit-overflow-scrolling: touch; }
.spec:focus-visible { outline-offset: 4px; }
.spec__caption { margin: 1rem 0 0.25rem; font-weight: 600; }
.spec__table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; line-height: 1.4; }
.spec__table thead th {
  background: var(--yellow); text-align: left; font-weight: 500;
  padding: 0.35rem 0.75rem; white-space: nowrap; vertical-align: bottom;
}
.spec__table tbody th, .spec__table tbody td { padding: 0.3rem 0.75rem; text-align: left; vertical-align: middle; border-bottom: 1px solid #e3e5e6; }
.spec__table tbody th { font-weight: 400; min-width: 12rem; }
.spec__table tbody tr:nth-child(even):not(.spec__sub) { background: var(--stripe); }
.spec__table .spec__sub th { background: var(--zinc); font-weight: 600; padding-top: 0.35rem; padding-bottom: 0.35rem; }
.spec__codehead { white-space: nowrap; }
.spec__code { white-space: nowrap; width: 1%; }
.spec__table--matrix .spec__code { width: auto; }
.spec__table--matrix tbody th { min-width: 10rem; }
.spec__none { color: #a3a9ae; }
.codecell { display: flex; align-items: center; gap: 0.35rem; min-height: 1.75rem; }
.codecell + .codecell { margin-top: 0.2rem; }
.copy {
  display: inline-grid; place-items: center; width: 1.75rem; height: 1.75rem; flex: none;
  border: 1px solid transparent; border-radius: var(--radius); background: none; color: var(--slate); cursor: pointer;
  opacity: 0; transition: opacity 120ms;
}
tr:hover .copy, .copy:focus-visible { opacity: 1; }
.copy:hover { border-color: var(--rule); color: var(--steel); background: #fff; }
.copy.is-done { opacity: 1; color: var(--steel); background: var(--yellow); }
@media (hover: none) { .copy { opacity: 1; } }
.code:target, tr:has(.code:target) { animation: found 3s ease-out; }
tr:has(.code:target) { background: var(--yellow-soft) !important; }
@keyframes found { 0%, 35% { background: var(--yellow); } 100% { background: var(--yellow-soft); } }

.enquire { margin-top: 2rem; padding: 1.1rem 1.25rem; border: 2px solid var(--steel); max-width: 44rem; }
.enquire__text { margin-bottom: 0.75rem; font-weight: 500; }
.enquire__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.gallery { margin: 0 0 1.5rem; }
.gallery__stage {
  display: grid; place-items: center; width: 100%; min-height: 12rem; padding: 1rem;
  background: #fff; border: 1px solid var(--rule); cursor: zoom-in;
}
.gallery__main { max-height: 22rem; width: auto; object-fit: contain; }
.gallery__thumbs { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.5rem; }
.gallery__thumb { width: 4rem; height: 3.25rem; padding: 0.2rem; background: #fff; border: 1px solid var(--rule); cursor: pointer; }
.gallery__thumb img { width: 100%; height: 100%; object-fit: contain; }
.gallery__thumb[aria-pressed="true"] { border: 2px solid var(--steel); }

.printed { display: flex; gap: 0.9rem; align-items: flex-start; text-decoration: none; padding: 0.75rem; background: var(--stripe); }
.printed:hover .printed__action { text-decoration-thickness: 2px; }
.printed__thumb { width: 4.5rem; flex: none; border: 1px solid var(--rule); }
.printed__label { display: block; font-weight: 600; }
.printed__title { display: block; font-size: var(--step--1); color: var(--slate); line-height: 1.35; }
.printed__action { display: inline-block; margin-top: 0.4rem; font-size: var(--step--1); font-weight: 600; text-decoration: underline; text-underline-offset: 0.2em; }

.related { margin-top: 3.5rem; border-top: 2px solid var(--steel); padding-top: 1rem; }
.related__title { font: 600 var(--step-2)/1.1 var(--font-display); margin-bottom: 0.5rem; }

/* ---- zoom dialog -------------------------------------------------------- */
.zoom { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: transparent; }
.zoom::backdrop { background: rgba(36, 41, 45, 0.9); }
.zoom form { position: fixed; top: 1rem; right: 1rem; z-index: 2; }
.zoom__body { height: 100%; overflow: auto; display: grid; place-items: center; padding: 4rem 1rem 2rem; }
.zoom__body img { background: #fff; max-width: min(100%, 60rem); max-height: calc(100vh - 6rem); object-fit: contain; }
.zoom--page .zoom__body { place-items: start center; }
.zoom--page .zoom__body img { max-width: none; max-height: none; width: min(1400px, 100%); }

/* ---- page viewer -------------------------------------------------------- */
.viewer { padding-bottom: 3rem; }
.viewer__bar { display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap; margin: 1rem 0; }
.jump { display: flex; align-items: center; gap: 0.5rem; margin-inline: auto; }
.jump label { font-weight: 600; }
.jump input { width: 4.5rem; height: 2.25rem; padding: 0 0.5rem; border: 2px solid var(--steel); border-radius: var(--radius); font-variant-numeric: tabular-nums; }
.viewer__grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(18rem, 1fr); gap: 2.5rem; align-items: start; }
.sheet { margin: 0; background: var(--sheet); padding: clamp(0.5rem, 2vw, 1.5rem); }
.sheet__zoom { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.sheet__zoom img { width: auto; max-height: calc(100vh - 6rem); margin-inline: auto; box-shadow: 0 1px 2px rgba(36, 41, 45, 0.25), 0 10px 24px -14px rgba(36, 41, 45, 0.5); background: #fff; }
.sheet__caption { margin-top: 0.6rem; font-size: var(--step--1); color: var(--slate); }
.viewer__where { color: var(--slate); margin-bottom: 0.35rem; }
.viewer__title { font: 600 var(--step-3)/1.02 var(--font-display); margin-bottom: 0.4rem; }
.viewer__sub { font-size: var(--step-1); color: var(--steel-2); }
.viewer__note { padding: 0.75rem 1rem; background: var(--stripe); border-left: 4px solid var(--yellow); }
.viewer__text .aside-title { margin-top: 2rem; padding-bottom: 0.4rem; border-bottom: 2px solid var(--steel); }

.prose { max-width: 38rem; }
.prose__h { font-size: var(--step-0); font-weight: 600; margin: 1.5rem 0 0.5rem; }
.prose ul { padding-left: 1.1rem; margin: 0 0 1rem; }
.prose li { margin-bottom: 0.3rem; }
.prose li::marker { color: var(--slate); }
.features { list-style: none; padding: 0 !important; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.features li { margin: 0; padding: 0.2rem 0.6rem; background: var(--stripe); border-left: 3px solid var(--yellow); font-size: var(--step--1); }

.filmstrip { margin-top: 2.5rem; border-top: 1px solid var(--rule); padding-top: 1rem; }
.filmstrip ol { position: relative; display: flex; gap: 0.75rem; margin: 0; padding: 0 0 0.5rem; list-style: none; overflow-x: auto; }
.filmstrip a { display: block; width: 5.25rem; text-decoration: none; font-size: var(--step--1); text-align: center; }
.filmstrip img { border: 1px solid var(--rule); }
.filmstrip a:hover img { outline: 3px solid var(--zinc); }
.filmstrip a[aria-current="page"] img { outline: 4px solid var(--yellow); outline-offset: 0; }
.filmstrip a[aria-current="page"] span { font-weight: 600; }

/* ---- search ------------------------------------------------------------- */
.searchpage { padding: 1.5rem 0 4rem; }
.results__summary { font-size: var(--step-1); }
.results { margin: 0; padding: 0; list-style: none; border-top: 2px solid var(--steel); }
.result { border-bottom: 1px solid var(--rule); padding: 0.9rem 0; }
.result__head { display: grid; grid-template-columns: 5.5rem minmax(0, 1fr); gap: 1rem; align-items: center; text-decoration: none; }
.result__head:hover .result__title { text-decoration: underline; }
.result__img img { max-height: 4rem; width: auto; margin-inline: auto; }
.result__title { display: block; font-weight: 600; font-size: var(--step-1); line-height: 1.25; }
.result__sub, .result__page { display: block; color: var(--slate); font-size: var(--step--1); }
.result__codes { margin: 0.6rem 0 0 6.5rem; padding: 0; list-style: none; }
.result__codes a { display: grid; grid-template-columns: 9.5rem minmax(0, 1fr); gap: 1rem; padding: 0.3rem 0.6rem; text-decoration: none; }
.result__codes li:nth-child(odd) a { background: var(--stripe); }
.result__codes a:hover { background: var(--yellow-soft); }
.result__desc { color: var(--steel-2); }
.results__more { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3rem; margin-top: 2.5rem; }
.pagelinks { margin: 0; padding: 0; list-style: none; }
.pagelinks a { display: block; padding: 0.3rem 0; }
.pagelinks__num { font-weight: 600; font-variant-numeric: tabular-nums; margin-right: 0.35rem; }
.empty { padding: 1.25rem; background: var(--stripe); border-left: 4px solid var(--yellow); max-width: 44rem; }

/* ---- indexes ------------------------------------------------------------ */
.indexbar { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem 2rem;
  position: sticky; top: 0; z-index: 5; background: var(--paper); padding: 0.75rem 0; border-bottom: 2px solid var(--steel); }
.letters { display: flex; flex-wrap: wrap; gap: 0.25rem; }
.letters a, .letters span {
  display: grid; place-items: center; min-width: 2.25rem; height: 2.25rem; padding: 0 0.4rem;
  font-weight: 600; text-decoration: none; background: var(--stripe);
}
.letters a:hover { background: var(--yellow); }
.letters span { color: #b3b8bc; background: none; }
.letters--wide { margin-bottom: 1.5rem; padding-bottom: 0.75rem; border-bottom: 2px solid var(--steel); }
.filter label { display: block; font-size: var(--step--1); font-weight: 600; }
.filter input { height: 2.5rem; width: 16rem; padding: 0 0.75rem; border: 2px solid var(--steel); border-radius: var(--radius); }
.filter__empty { padding: 1rem 0; font-size: var(--step-1); }

.codegroup { margin-top: 1.75rem; }
.codegroup__key { font: 600 var(--step-2)/1 var(--font-display); padding: 0.3rem 0.6rem; background: var(--zinc); margin-bottom: 0.25rem; }
.codelist { display: grid; grid-template-columns: repeat(auto-fill, minmax(19rem, 1fr)); gap: 0 2rem; margin: 0; padding: 0; list-style: none; }
.codelist a { display: grid; grid-template-columns: 9.25rem minmax(0, 1fr) auto; gap: 0.75rem; padding: 0.3rem 0.4rem; text-decoration: none; border-bottom: 1px solid var(--stripe); }
.codelist a:hover { background: var(--yellow-soft); }
.codelist__title { color: var(--slate); font-size: var(--step--1); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; align-self: center; }
.codelist__page { color: var(--slate); font-size: var(--step--1); font-variant-numeric: tabular-nums; align-self: center; }

.azcols { columns: 2 24rem; column-gap: 3rem; padding-bottom: 4rem; }
.azgroup { break-inside: avoid; margin-bottom: 1.5rem; }
.azlist { margin: 0; padding: 0; list-style: none; }
.azlist__row { display: flex; align-items: baseline; gap: 0.5rem; padding: 0.25rem 0.25rem; }
.azlist__term { text-decoration: none; }
.azlist__term:hover { text-decoration: underline; }
.azlist__leader { flex: 1; border-bottom: 2px dotted #c3c7ca; min-width: 1rem; transform: translateY(-0.25em); }
.azlist__pages { font-variant-numeric: tabular-nums; font-weight: 500; text-align: right; }
.azlist--short .azlist__row { justify-content: space-between; border-bottom: 1px solid var(--stripe); }

.notfound { padding: 2rem 0 5rem; }

/* ---- footer ------------------------------------------------------------- */
.colophon { background: var(--steel); color: #d5d9dc; margin-top: 2rem; }
.colophon__inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem 3rem; padding-block: 2.5rem; }
.colophon a { color: #fff; }
.colophon p { margin-bottom: 0.4rem; }
.colophon__name { color: #fff; font-weight: 600; }
.colophon__small { font-size: var(--step--1); color: #aab1b7; margin-top: 1rem; max-width: 34rem; }
.colophon__links ul { margin: 0; padding: 0; list-style: none; }
.colophon__links li { margin-bottom: 0.4rem; }

/* ---- responsive --------------------------------------------------------- */
@media (max-width: 64rem) {
  .toc { grid-template-columns: 1fr; }
  .toc__col + .toc__col { border-top: 0; }
  .reference { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section-grid { grid-template-columns: minmax(0, 1fr); }
  .section-grid__aside { order: -1; }
  .pagethumbs { position: relative; top: auto; display: flex; overflow-x: auto; }
  .pagethumbs li { flex: 0 0 5rem; }
  .product__grid { grid-template-columns: minmax(0, 1fr); }
  .product__aside { order: -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 14rem); gap: 1rem; align-items: start; }
  .viewer__grid { grid-template-columns: minmax(0, 1fr); }
  .colophon__inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 44rem) {
  .masthead__inner { gap: 0.5rem 1rem; }
  .mainnav { order: 3; width: 100%; overflow-x: auto; position: relative; }
  .mainnav ul { gap: 0 0.9rem; flex-wrap: nowrap; font-size: 0.9375rem; }
  .mainnav li { flex: none; }
  .gallery__stage { min-height: 8rem; }
  .gallery__main { max-height: 14rem; }
  .quicksearch { flex: 1 1 100%; order: 4; margin-left: 0; }
  .quicksearch .typeahead { width: auto; left: 0; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__cover { display: none; }
  .hero__lede { margin-bottom: 1.5rem; }
  .finder__field .btn { padding-inline: 1rem; }
  .toc__leader, .toc__summary { display: none; }
  .toc__row { min-height: 4rem; }
  .toc__page { margin-left: auto; }
  .reference { grid-template-columns: 1fr; }
  .product__aside { display: contents; }
  .gallery { order: -1; margin-bottom: 0; }
  .printed { order: 2; }
  .prow__link { grid-template-columns: minmax(0, 1fr) 4.5rem; gap: 0.75rem; padding-inline: 0.25rem; }
  .prow__img img { max-width: 4.5rem; max-height: 3.5rem; }
  .result__head { grid-template-columns: 4rem minmax(0, 1fr); }
  .result__codes { margin-left: 0; }
  .result__codes a { grid-template-columns: 1fr; gap: 0; }
  .results__more { grid-template-columns: 1fr; }
  .jump { order: 3; width: 100%; margin: 0; }
  .viewer__bar { justify-content: space-between; }
  .indexbar { position: static; }
  .filter input { width: 100%; }
  .filter { width: 100%; }
  .codelist a { grid-template-columns: 8.5rem minmax(0, 1fr); }
  .codelist__page { display: none; }
  .colophon__inner { grid-template-columns: 1fr; }
}

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

@media print {
  .masthead, .crumbs, .finder, .quicksearch, .copy, .enquire, .filmstrip, .viewer__bar, .colophon__links, .related { display: none !important; }
  .colophon { background: none; color: #000; }
  .spec__table thead th { background: #eee; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .product__grid, .viewer__grid { grid-template-columns: 1fr; }
  a { text-decoration: none; }
}

/* ---- contact page -------------------------------------------------------- */
.contact { padding-bottom: 4rem; }
.contactblock { margin-top: 2.5rem; }
.contactblock:first-of-type { margin-top: 0.5rem; }
.contactblock__title { font: 600 var(--step-2)/1.1 var(--font-display); padding-bottom: 0.5rem; border-bottom: 2px solid var(--steel); margin-bottom: 1.25rem; }
.contactgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr)); gap: 1.5rem 2rem; }
.contactgrid--2 { grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr)); }
.contactcard { padding: 1rem 1.1rem; background: var(--stripe); }
.contactcard--feature { background: var(--paper); border: 2px solid var(--steel); border-top: 6px solid var(--yellow); padding: 1.25rem 1.35rem; }
.contactcard__label { margin: 0 0 0.35rem; font-size: var(--step--1); font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: var(--slate); }
.contactcard__name { font-size: 1.0625rem; font-weight: 600; line-height: 1.3; }
.contactcard--feature .contactcard__name { font: 600 var(--step-2)/1.1 var(--font-display); }
.contactcard__division { margin: 0.15rem 0 0; font-weight: 500; }
.contactcard__address { font-style: normal; margin: 0.6rem 0 0.75rem; line-height: 1.45; }
.contactcard__links { margin: 0; padding: 0; list-style: none; overflow-wrap: anywhere; }
.contactcard__links li + li { margin-top: 0.15rem; }
.contactcard__key { display: inline-block; min-width: 3.25rem; font-size: var(--step--1); color: var(--slate); }
.contactcard--feature .contactcard__links { font-size: var(--step-1); }
.contactcard--feature .contactcard__links a { font-weight: 600; }
.contact__source { margin-top: 2.5rem; font-size: var(--step--1); color: var(--slate); }
@media print { .contactcard--feature { border-top-width: 2px; } }
