/* Look and behaviour live in these variables. Change a line, reload.
   Pages are designed on A4 landscape (297 x 210). --pw is the page width; --u is one hundredth of it, and every size on a
   page is a multiple of --u, so a page scales as a whole: on screen, on a phone (reflowed) and in print.
   Theme: surfaces are white, dark (--dark) is type and the occasional dark page, yellow is an accent only. */
:root {
  --white: #ffffff;           /* every product surface */
  --dark: #111111;            /* type; the closing page */
  --yellow: #F9A800;          /* accent only: price tag, quote underlines, opener numerals, cover shape outline, the selected language on the cover */
  --muted: #6b6b6b;           /* quiet text */
  --hair: #d9d9d9;            /* table lines (family and multi tables only) */
  --surround: #ececec;        /* behind the pages on screen only */
  --radius: 4px;              /* the only radius: price tag, quote button, the Contents control */
  --ring: 0.35;               /* thickness of the yellow outline on the cover shape, in --u */
  --gap: 28px;                /* between pages on screen */
  --font: "Instrument Sans", "Noto Sans Arabic", system-ui, -apple-system, "Segoe UI", sans-serif;
  --fw: 400; --fw-m: 500; --fw-b: 600;
  --tap: 44px;
  --ico: max(calc(var(--pw) / 100 * 2.4), 20px);   /* the shipping icons: one size, same line weight as the box drawing */
  --pk-x: calc(var(--pw) / 100 * 3.2); --pk-y: calc(var(--pw) / 100 * 1.6);      /* the shipping group: space between the drawing unit and the figures unit */
  --pk-col: calc(var(--pw) / 100 * 2.6); --pk-row: calc(var(--pw) / 100 * 1.2);      /* between figures */
  --page-max: 1500px;         /* widest a page gets on screen */
  --pw: min(calc(100vw - 48px), var(--page-max), calc((100svh - 24px) * 297 / 210));
}
.page {
  --u: calc(var(--pw) / 100);
  --m: calc(var(--u) * 5);                 /* page margin */
  --bg: var(--white); --ink: var(--dark); --label: var(--muted);
  --t-xs: max(calc(var(--u) * .95), 8.5px);
  --t-s: max(calc(var(--u) * 1.2), 9.5px);
  --t-m: max(calc(var(--u) * 1.5), 11px);
  --t-l: calc(var(--u) * 2.3);
  --t-xl: calc(var(--u) * 4);
  --t-cover: calc(var(--u) * 19);
  --t-display: calc(var(--u) * 7.5);       /* section names: opener, about */
  --t-num: calc(var(--u) * 3);             /* big figures: container counts, family sizes */
  --t-numeral: calc(var(--u) * 24);        /* opener numeral */
  --ls-s: -.01em; --ls-m: -.02em; --ls-l: -.03em; --ls-xl: -.045em;   /* tracking: small, medium, display, cover */
  /* spacing scale: every gap and margin is one of these (or the page margin --m, the column gutter --gut) */
  --s1: calc(var(--u) * .3); --s2: calc(var(--u) * .6); --s3: calc(var(--u) * 1); --s4: calc(var(--u) * 1.5); --s5: calc(var(--u) * 2.2);
  --gut: calc(var(--u) * 2);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--surround); color: var(--dark); font-family: var(--font); font-size: 14px; font-weight: var(--fw); line-height: 1.35; padding: 24px 0 1px; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
img { display: block; }
h1, h2, h3, p, ol, dl, dd, table, figure { margin: 0; padding: 0; }
.num { direction: ltr; unicode-bidi: isolate; display: inline-block; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.page { position: relative; width: var(--pw); aspect-ratio: 297 / 210; margin: 0 auto var(--gap); overflow: hidden; background: var(--bg); color: var(--ink); font-size: var(--t-s); }
.closing { --bg: var(--dark); --ink: var(--white); --label: #a9a9a9; }

/* ---------- pictures: the product with its shadow baked into the file; nothing is added on the page ---------- */
.fig { position: relative; display: flex; align-items: center; justify-content: center; }
.stand { position: relative; width: min(100%, calc(var(--fh) * var(--ar, 1.5))); aspect-ratio: var(--ar, 1.5); }
.stage { position: relative; width: 100%; aspect-ratio: var(--ar, 1.5); }
.stand .pic, .stage .pic { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.rep { display: flex; align-items: flex-end; aspect-ratio: auto !important; width: 100%; }
.rep .pic { position: relative !important; inset: auto !important; width: calc(100% / (1 + .55 * (var(--n) - 1))) !important; height: auto !important; margin-inline-start: calc(-.45 * 100% / (1 + .55 * (var(--n) - 1))); }
.rep .pic:first-child { margin-inline-start: 0; }

/* ---------- colour circles: real colour, a pair is split top / legs; selection never changes size or position ---------- */
.colours { display: flex; flex-direction: column; gap: var(--s2); }
.sws { display: flex; flex-wrap: wrap; gap: var(--s2); }
.sw { position: relative; width: max(calc(var(--u) * 3.6), 32px); height: max(calc(var(--u) * 3.6), 32px); display: grid; place-items: center; margin-inline: calc((max(calc(var(--u) * 2.2), 20px) - max(calc(var(--u) * 3.6), 32px)) / 2) 0; }
.sw i, .dot { display: block; width: max(calc(var(--u) * 2.2), 20px); aspect-ratio: 1; border-radius: 50%; background: linear-gradient(var(--a) 50%, var(--b) 50%); box-shadow: 0 0 0 1px rgba(17, 17, 17, .3); transition: box-shadow .15s; }
.dot { flex: none; }
.sw:hover i { box-shadow: 0 0 0 1px var(--ink); }
.sw.on i { box-shadow: 0 0 0 2px var(--bg), 0 0 0 3.5px var(--ink); }
.sw.still { cursor: default; }
.sws { align-items: center; }
.cwish { font-size: var(--t-s); color: var(--label); margin-inline-start: var(--s3); }
.cname { font-size: var(--t-s); color: var(--label); min-height: 1.4em; }
@media (pointer: coarse) { .sw { width: var(--tap); height: var(--tap); } }

/* ---------- type: one definition per kind of thing ---------- */
/* name: the page title (single, family, multi) is --t-xl; a name inside a multi cell is --t-l; the code under either is .code */
.head h2 { font-size: var(--t-xl); font-weight: var(--fw-b); line-height: 1.02; letter-spacing: var(--ls-m); }
.cell h3 { font-size: var(--t-l); font-weight: var(--fw-b); line-height: 1.1; letter-spacing: var(--ls-s); }
.code { font-size: var(--t-s); color: var(--label); margin-top: var(--s2); }

/* price: one tag, two sizes. Large = a product's own price on its page or in its cell; .tag.s = a price inside a table. Same colour, weight, radius and padding ratio. */
.price { margin-block: var(--s5) var(--s4); }
.tag { display: inline-block; background: var(--yellow); color: var(--dark); font-size: var(--t-l); font-weight: var(--fw-b); line-height: 1; padding: .24em .48em; border-radius: var(--radius); }
.tag.s { font-size: var(--t-s); }

.dim { font-size: var(--t-l); font-weight: var(--fw-m); letter-spacing: var(--ls-s); line-height: 1.1; }
.phr { margin-top: var(--s3); font-size: var(--t-m); color: var(--label); display: flex; flex-direction: column; gap: var(--s1); }
.bl { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: var(--s1); }
.bl.many { display: block; columns: 2; column-gap: var(--s5); }      /* a long list (the gaming chairs) runs in two columns so the side column keeps its room */
.single-c .bl.many { columns: 1; }      /* c has a narrow facts column with plenty of height */
.bl.many li { break-inside: avoid; margin-bottom: var(--s1); }
.bl li { position: relative; padding-inline-start: 1.1em; }
.bl li::before { content: ""; position: absolute; inset-inline-start: .1em; top: .62em; width: .32em; height: .32em; border-radius: 50%; background: currentColor; opacity: .55; }
.pack { display: flex; flex-wrap: wrap; align-items: flex-end; gap: var(--pk-y) var(--pk-x); }      /* the drawing unit and the figures unit: real space between them */
.pack:not(.many) { flex-wrap: nowrap; }      /* one box: the drawing and the figures sit side by side, the drawing gives way before anything wraps */
.single-c .pack { flex-wrap: wrap; }
.pack:not(.many) .boxes { min-width: 0; flex: 0 1 auto; }
@media (min-width: 701px) { .single .pack.many .boxes { flex-wrap: nowrap; max-width: 100%; } .single .pack.many .bx { min-width: 0; flex: 0 1 auto; } }      /* two boxes on a page: the drawings stay side by side */
.pack:not(.many) .bx { min-width: 0; flex-shrink: 1; }
.boxes { display: flex; flex-wrap: wrap; align-items: flex-end; gap: var(--pk-x); }
.bx { flex: none; width: calc(var(--vw) * var(--t-xs) / 13); }   /* the drawing's labels are --t-xs whatever the box */
.bx svg { width: 100%; height: auto; display: block; overflow: visible; }
.bx text { font-family: var(--font); fill: currentColor; }
.pack .figs { display: grid; grid-template-columns: repeat(2, minmax(0, max-content)); min-width: 0; gap: var(--pk-row) var(--pk-col); align-items: start; }      /* four figures in two columns: beside the drawing when there is width, under it when there is not */
.single-c .pack .figs { grid-template-columns: max-content; }
.fg { display: grid; grid-template-columns: var(--ico) auto; grid-template-areas: "i v" ". l"; column-gap: var(--s3); row-gap: var(--s1); align-items: center; }
.fg .ic { grid-area: i; display: block; width: var(--ico); height: var(--ico); }
.fg .ic svg { display: block; width: 100%; height: 100%; }
.fg dd { grid-area: v; }
.fg dt { grid-area: l; white-space: normal; }      /* a long label may wrap before the value ever does */
dt { color: var(--label); font-size: var(--t-xs); white-space: nowrap; }
dd { margin: 0; font-size: var(--t-m); font-weight: var(--fw-m); white-space: nowrap; }
.num { white-space: nowrap; }
.counts { display: flex; gap: var(--s5); align-items: flex-end; }
.counts > div { display: flex; flex-direction: column-reverse; gap: var(--s1); }
.counts dd, .vl b { font-size: var(--t-num); font-weight: var(--fw-b); line-height: 1; letter-spacing: var(--ls-m); }
.folio { position: absolute; inset-inline: var(--m); bottom: calc(var(--u) * 2); display: flex; align-items: baseline; gap: var(--s4); font-size: var(--t-xs); color: var(--label); }
.folio .pn { color: var(--ink); font-weight: var(--fw-b); }
.folio .em { margin-inline-start: auto; }
.wm { position: absolute; inset-inline-end: var(--m); top: calc(var(--u) * 2); font-size: var(--t-xs); line-height: 1; color: var(--label); }      /* the running mark: same grey and size as the folio */

/* ---------- the quote: one unit everywhere. The phrase (yellow underline), then two equal buttons: WhatsApp (yellow, primary) and Email (outline).
   On paper the buttons become plain lines with the number and address written out. ---------- */
.quote { display: flex; flex-direction: column; gap: var(--s3); align-items: flex-start; }
.q { font-size: var(--t-l); font-weight: var(--fw-b); line-height: 1.1; letter-spacing: var(--ls-s); text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: .14em; text-underline-offset: .14em; text-decoration-skip-ink: none; white-space: nowrap; }
.qo { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: var(--s2); }
.btn { display: inline-flex; align-items: center; justify-content: center; min-width: calc(var(--u) * 9); min-height: max(calc(var(--u) * 3.2), 36px); padding: 0 var(--s4); border: 1.5px solid var(--yellow); border-radius: var(--radius); background: var(--yellow); color: var(--dark); font-size: var(--t-m); font-weight: var(--fw-b); line-height: 1; white-space: nowrap; transition: opacity .15s; }
.btn.alt { background: none; border-color: currentColor; color: inherit; }
.btn:hover { opacity: .8; }
.pv { display: none; }
@media (pointer: coarse) { .btn { min-height: var(--tap); } }

/* ---------- single product pages: one design, three arrangements ----------
   Four groups, each in its own area: identity + what it is (.info), how it ships (.pack), container counts (.counts), the quote.
   The product is the hero; the groups sit in the free areas around it. A group that is absent leaves no hole: the others share the space. */
.single { display: grid; grid-template-columns: repeat(12, 1fr); grid-template-rows: repeat(12, minmax(0, 1fr)); column-gap: var(--gut); padding: var(--m) var(--m) calc(var(--u) * 6); --fh: calc(var(--u) * 48); }
.single > * { min-width: 0; }
.info { display: flex; flex-direction: column; align-items: flex-start; gap: var(--s3); }
.info .price, .info .facts { margin: 0; }
.side { display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; gap: var(--s2); }
.single .counts { align-self: end; }
/* a: product at the start; one side column holds identity and facts (top), shipping (middle), quote (bottom); the container counts sit under the product. b: mirrored. */
.single-a .fig { grid-column: 1 / 7; grid-row: 1 / 12; }
.single-b .fig { grid-column: 7 / 13; grid-row: 1 / 12; }
.single-a .side { grid-column: 7 / 13; grid-row: 1 / 13; }
.single-b .side { grid-column: 1 / 7; grid-row: 1 / 13; }
.single-a .counts { grid-column: 1 / 7; grid-row: 12 / 13; }
.single-b .counts { grid-column: 7 / 13; grid-row: 12 / 13; }
/* c: the product in the middle; identity and facts on one side, shipping and the quote on the other, the counts along the bottom */
.single-c { --fh: calc(var(--u) * 44); }
.single-c .info, .single-c .side { display: contents; }
.single-c .fig { grid-column: 3 / 11; grid-row: 1 / 12; }
.single-c .head { grid-column: 1 / 5; grid-row: 1 / 4; }
.single-c .price { grid-column: 10 / 13; grid-row: 1 / 3; justify-self: end; align-self: start; }
.single-c .colours { grid-column: 1 / 5; grid-row: 4 / 6; align-self: start; }
.single-c .facts { grid-column: 1 / 4; grid-row: 6 / 11; align-self: end; }
.single-c .pack { grid-column: 10 / 13; grid-row: 4 / 11; align-self: center; justify-self: end; }
.single-c .counts { grid-column: 1 / 10; grid-row: 12 / 13; }
.single-c .quote { grid-column: 10 / 13; grid-row: 11 / 13; align-self: end; justify-self: end; }

/* ---------- tables: only where several things are compared (family sizes, multi-product page) ---------- */
.sizes { width: 100%; border-collapse: collapse; font-size: var(--t-s); font-variant-numeric: tabular-nums; }
.sizes th, .sizes td { padding: var(--s2) var(--s3) var(--s2) 0; text-align: start; white-space: nowrap; border-bottom: 1px solid var(--hair); font-weight: var(--fw); vertical-align: baseline; }
.sizes thead th { font-size: var(--t-xs); color: var(--label); border-bottom: 1.5px solid var(--ink); }
.sizes tbody th { font-weight: var(--fw-b); }

.fam, .multi { display: grid; grid-template-columns: repeat(12, 1fr); grid-template-rows: auto 1fr auto; column-gap: var(--gut); padding: var(--m) var(--m) calc(var(--u) * 6); }
.fam .head, .multi .head { grid-column: 1 / 5; grid-row: 1; }
.fam .colours { grid-column: 5 / 7; grid-row: 1; }
.fam .phr, .multi .phr { grid-column: 7 / 10; grid-row: 1; margin-top: 0; }
.fam .quote, .multi .quote { grid-column: 10 / 13; grid-row: 1; justify-self: end; }
.fam .figs { grid-column: 1 / 13; grid-row: 2; display: flex; align-items: flex-end; justify-content: space-evenly; align-self: center; gap: var(--gut); margin-block: var(--s4); }
.mem { flex: none; width: calc(var(--mw) * var(--u)); min-width: 0; display: flex; flex-direction: column; align-items: center; }
.vl { margin-top: var(--s4); display: flex; align-items: baseline; gap: var(--s2); }
.vl small { font-size: var(--t-xs); color: var(--label); }
.fam .sizes, .multi .sizes { grid-column: 1 / 13; grid-row: 3; }
.multi .cells { grid-column: 1 / 13; grid-row: 2; display: grid; grid-template-columns: repeat(var(--cells), 1fr); align-self: center; margin-block: var(--s4); }
.cell { display: flex; flex-direction: column; align-items: center; padding-inline: var(--s4); text-align: center; }
.cell + .cell { border-inline-start: 1px solid var(--hair); }
.cell .stage { width: min(100%, calc(var(--u) * 23 * var(--ar, 1))); max-width: 100%; margin-bottom: var(--s4); }
.cell .code { margin-top: var(--s1); }
.cell .price { margin: var(--s3) 0 0; }

/* ---------- colours page: one product in every colour, small and equal ---------- */
.colourpage { display: grid; grid-template-rows: auto 1fr; padding: var(--m) var(--m) calc(var(--u) * 6); }
.colourpage .head .code { margin-top: var(--s2); }
.cgrid { display: grid; grid-template-columns: repeat(var(--cols), 1fr); grid-template-rows: repeat(var(--rows), 1fr); column-gap: var(--gut); row-gap: var(--s4); align-items: stretch; min-height: 0; margin-top: var(--s4); }
.ct { margin: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--s2); min-height: 0; }
.ct .stage { width: min(100%, calc(var(--u) * 22 * var(--ar, 1.5))); flex: none; }
.ct figcaption { display: flex; align-items: center; gap: var(--s2); font-size: var(--t-s); }
.ct .dot { width: max(calc(var(--u) * 1.6), 14px); }

/* ---------- covers: a room picture held by one shape (a circle), the wordmark, language and currency ---------- */
.cover h1, .closing h2 { position: absolute; inset-inline-start: var(--m); top: calc(var(--u) * 3.5); z-index: 2; font-size: var(--t-cover); font-weight: var(--fw-b); letter-spacing: var(--ls-xl); line-height: 1; }
.shape { position: absolute; --sx: -1; }
[dir="rtl"] .shape { --sx: 1; }
.shape::before { content: ""; position: absolute; inset: 0; border-radius: inherit; border: max(calc(var(--u) * var(--ring)), 2px) solid var(--yellow); transform: translate(calc(var(--u) * 2.4 * var(--sx)), calc(var(--u) * 2.4)); }
.shape img { position: relative; display: block; width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.circle .shape { inset-inline-end: var(--m); top: calc(var(--u) * 13.4); width: calc(var(--u) * 52);   /* placed so the wordmark crosses only the empty wall of the picture, never the furniture (see the cover's data-keep box) */
   aspect-ratio: 1; border-radius: 50%; }
/* the title line and the year: a printed cover carries both. The year is set large, in yellow (the one place yellow is a big shape of type). */
.ctitle { position: absolute; inset-inline-start: var(--m); top: calc(var(--u) * 24.5); z-index: 2; font-size: var(--t-num); font-weight: var(--fw-b); letter-spacing: var(--ls-m); line-height: 1; }
.cyear { position: absolute; inset-inline-start: var(--m); bottom: calc(var(--u) * 5.5 + var(--tap) * 2 + var(--s1)); z-index: 2; font-size: calc(var(--u) * 13.5); font-weight: var(--fw-b); letter-spacing: var(--ls-xl); line-height: .8; color: var(--yellow); }
.pickers { position: absolute; inset-inline-start: var(--m); bottom: calc(var(--u) * 3.5); display: flex; flex-direction: column; gap: var(--s1); z-index: 2; }
.seg { display: flex; gap: var(--s3); }
.seg button { min-width: var(--tap); height: var(--tap); padding: 0 var(--s1); font-size: var(--t-m); font-weight: var(--fw-b); opacity: .4; border-bottom: 3px solid transparent; transition: opacity .15s, border-color .15s; }
.seg button:hover { opacity: .8; }
.seg button[aria-pressed="true"] { opacity: 1; border-bottom-color: var(--yellow); }

/* ---------- contents ---------- */
.toc { padding: var(--m); }
.toc h2 { font-size: var(--t-m); font-weight: var(--fw); color: var(--label); }
.toc ol { list-style: none; position: absolute; inset-inline: var(--m); bottom: calc(var(--u) * 5); }
.toc li { border-top: 1px solid var(--hair); }
.toc a { display: flex; justify-content: space-between; align-items: center; padding: var(--s4) 0; min-height: var(--tap); }
.toc .nm { font-size: var(--t-xl); font-weight: var(--fw-b); letter-spacing: var(--ls-m); line-height: 1; transition: opacity .15s; }
.toc .n { font-size: var(--t-l); font-weight: var(--fw-b); order: 2; text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: .14em; text-underline-offset: .14em; }
.toc a:hover .nm { opacity: .6; }

/* ---------- category pages ---------- */
.opener .no { position: absolute; inset-inline-start: var(--m); top: calc(var(--u) * 3); font-size: var(--t-numeral); font-weight: var(--fw-b); letter-spacing: var(--ls-xl); line-height: 1; color: var(--yellow); }
.opener h2 { position: absolute; inset-inline-start: var(--m); bottom: calc(var(--u) * 7); max-width: 40%; font-size: var(--t-display); font-weight: var(--fw-b); letter-spacing: var(--ls-l); line-height: .98; }
.opener .fig { position: absolute; inset-inline-end: calc(var(--u) * 2); top: calc(var(--u) * 4); width: 60%; height: 84%; --fh: calc(var(--u) * 48); }
.opener.circle .shape { width: calc(var(--u) * 54); top: calc(var(--u) * 7.5); }   /* a category's room scene in the cover's shape; numeral and name sit left of it */
.opener .fig .pic { width: 100%; height: 100%; object-fit: contain; }

/* ---------- about, closing ---------- */
.about { padding: var(--m); }
.about h2 { max-width: 30%; font-size: var(--t-display); font-weight: var(--fw-b); letter-spacing: var(--ls-l); line-height: .98; }
.about .body { position: absolute; inset-inline-start: calc(var(--u) * 38); inset-inline-end: var(--m); top: calc(var(--u) * 6); display: flex; flex-direction: column; gap: var(--s5); font-size: var(--t-l); line-height: 1.25; font-weight: var(--fw-m); letter-spacing: var(--ls-s); }
.closing .quote { position: absolute; inset-inline-start: var(--m); bottom: calc(var(--u) * 7); }
.closing.circle .shape { width: calc(var(--u) * 40); top: auto; bottom: calc(var(--u) * 6.4); }   /* the same shape, smaller, clear of the wordmark */
.closing .ctitle { top: calc(var(--u) * 24.5); font-size: var(--t-l); }
.closing .cyear { bottom: auto; top: calc(var(--u) * 29); font-size: var(--t-display); line-height: 1; }

/* ---------- the one control: back to the contents (screen only) ---------- */
#toc { position: fixed; inset-inline-end: 12px; bottom: 12px; min-height: var(--tap); min-width: var(--tap); padding: 0 16px; border-radius: var(--radius); background: var(--dark); color: var(--white); font-size: 13px; font-weight: var(--fw-b); z-index: 5; transition: opacity .15s; }
#toc:hover { opacity: .85; }

/* ---------- phone: each page reflows into a tall page with the same elements ---------- */
@media (max-width: 700px) {
  :root { --pw: 100vw; --gap: 14px; }
  .page { --m: 6vw; --t-xs: 3.4vw; --t-s: 3.8vw; --t-m: 4.2vw; --t-l: 6vw; --t-xl: 9.4vw; --t-cover: 30vw; --t-display: 15vw; --t-num: 8.5vw; --t-numeral: 30vw; --u: 1vw; --gut: 4vw; }
  body { padding-top: 0; }
  .page { aspect-ratio: auto; display: flex; flex-direction: column; padding: 0 var(--m) 18vw; }
  .page > * { position: static; }
  .page .head, .page .price, .page .colours, .page .facts, .page .phr, .page .pack, .page .counts, .page .quote, .page .sizes, .page .figs, .page .cells { grid-column: auto; grid-row: auto; margin: 6vw 0 0; width: 100%; justify-self: auto; align-self: auto; }
  .folio { position: absolute; inset-inline: var(--m); bottom: 5vw; }
  .pack, .single-c .pack { flex-wrap: wrap; }
  .page > .wm { position: absolute; top: 3vw; inset-inline-end: var(--m); }
  .prod, .opener, .about { padding-top: 8vw; }
  :root { --ico: 22px; --pk-x: 8vw; --pk-y: 6vw; --pk-col: 8vw; --pk-row: 5vw; }
  .cover, .opener, .toc, .closing, .about { min-height: 120vw; }
  .sw { width: var(--tap); height: var(--tap); margin-inline: -9px 0; }
  .sw i { width: 26px; }
  .sws { gap: 0; }
  .single .fig, .fam .figs, .multi .cells { order: -1; margin: 8vw -6vw 0; width: calc(100% + 12vw); }
  .multi .head { order: -2; }
  .bl.many { columns: 1; }
  .colourpage { display: flex; }
  .cgrid { grid-template-columns: repeat(2, 1fr); grid-template-rows: none; margin: 6vw 0 0; row-gap: 6vw; column-gap: 3vw; }
  .ct .stage { width: 100%; }
  .single { --fh: 78vw; }
  .single .fig { height: 82vw; }
  .pack { flex-wrap: wrap; gap: 6vw; }
  .single .stand { width: min(92%, calc(var(--fh) * var(--ar, 1.5))); }
  .counts { gap: 7vw; }
  .info { gap: 0; }
  .info > * { margin-top: 6vw; }
  .single .info { margin: 6vw 0 0; }
  .side { display: contents; }
  .single .counts { order: 3; }
  .single .quote { order: 4; }
  .btn { min-height: var(--tap); min-width: 30vw; }
  .quote { margin-top: 10vw !important; }
  .fam .figs { flex-direction: column; gap: 8vw; align-items: stretch; padding-inline: 6vw; width: 100%; margin: 6vw 0 0; }
  .mem { width: auto; flex-direction: row; align-items: flex-end; gap: 4vw; justify-content: space-between; }
  .mem .stage { width: calc(var(--w) * 190%); max-width: 74%; }
  .vl { flex-direction: column; align-items: flex-start; margin: 0; gap: 0; min-width: 22vw; }
  .multi .cells { grid-template-columns: 1fr; width: 100%; margin: 6vw 0 0; }
  .cell + .cell { border-inline-start: 0; border-top: 1px solid var(--hair); padding-top: 6vw; margin-top: 6vw; }
  .cell .stage { width: min(100%, 60vw); }
  .sizes, .sizes tbody, .sizes tr, .sizes th, .sizes td { display: block; }
  .sizes thead { display: none; }
  .sizes tr { padding: 3vw 0; border-top: 1px solid var(--hair); }
  .sizes tr:last-child { border-bottom: 1px solid var(--hair); }
  .sizes th, .sizes td { border: 0 !important; padding: .6vw 0; white-space: normal; }
  .sizes tbody th { font-size: var(--t-l); }
  .sizes td { display: flex; justify-content: space-between; }
  .sizes td::before { content: attr(data-l); color: var(--label); font-size: var(--t-xs); }
  .cover h1, .closing h2 { position: static; margin-top: 8vw; }
  .ctitle, .cyear { position: static; margin-top: 4vw; }
  .ctitle { font-size: 7vw; }
  .cyear { font-size: 34vw; line-height: .85; margin-top: 8vw; }
  .closing .cyear { font-size: 15vw; line-height: 1; }
  .shape { position: relative; inset: auto; margin-top: 10vw; align-self: flex-end; }
  .circle .shape, .closing.circle .shape, .opener.circle .shape { width: calc(100% - 4.4vw); aspect-ratio: 1; bottom: auto; top: auto; }
  .pickers { position: absolute; bottom: 8vw; inset-inline-start: var(--m); }
  .cover { padding-bottom: 40vw; }
  .toc ol { position: static; margin-top: 10vw; }
  .toc h2 { margin-top: 6vw; }
  .toc a { padding: 5vw 0; }
  .opener .no { position: static; margin-top: 4vw; }
  .opener h2 { position: static; max-width: none; margin-top: 4vw; }
  .opener .fig { position: relative; inset: auto; width: 100%; height: 74vw; margin-top: 6vw; order: 5; }
  .about h2 { max-width: none; margin-top: 8vw; }
  .about .body { position: static; margin-top: 8vw; font-size: 5.4vw; }
  .closing .quote { position: static; margin-top: 16vw !important; }
  #toc { inset-inline-end: 10px; bottom: 10px; }
}

/* a narrow desktop window: the type floors make the side column taller than its share of the page; tighten the gaps a little and take the room from the bottom margin (the folio stays clear) */
@media (min-width: 701px) and (max-width: 800px) { .single { padding-bottom: calc(var(--u) * 4.4); } .single .info, .single .quote { gap: var(--s2); } .single .pack { gap: var(--s1) var(--pk-x); } .single .price { margin: 0; } }

/* ---------- print: one catalog page per A4 landscape sheet ---------- */
@page { size: 297mm 210mm; margin: 0; }
@media print {
  :root { --pw: 297mm; --gap: 0px; }
  html, body { background: #fff; padding: 0; margin: 0; }
  * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .page { width: 297mm; height: 210mm; aspect-ratio: auto; margin: 0; break-after: page; break-inside: avoid; page-break-after: always; }
  .page:last-child { break-after: auto; page-break-after: auto; }
  #toc { display: none !important; }
  .qo { display: flex; flex-direction: column; gap: var(--s1); }
  .btn, .btn.alt { display: block; min-width: 0; min-height: 0; padding: 0; border: 0; background: none; color: var(--ink); font-size: var(--t-m); font-weight: var(--fw); text-align: start; }
  .pv { display: inline; margin-inline-start: .3em; }
  html { scroll-behavior: auto; }
}
