/* Storefront styling: a quiet, image-first wholesale look (Mulish, uppercase tracked micro type, hairlines, square corners).
   Mulish is self-hosted from storefront/fonts/ (SIL OFL, latin subset; Greek text falls back to the system sans). No font CDN, no external URL.
   Breakpoints 700 / 1000 / 1150 / 1400. Phone rules: tap targets >= 44px, no horizontal overflow, designer full screen while open (<= 800px). */
@font-face { font-family: "Mulish"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/mulish-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Mulish"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/mulish-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Mulish"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/mulish-latin-700-normal.woff2") format("woff2"); }

/* Colour tokens. Light is the default; only an explicit saved choice enables dark (html[data-theme], localStorage "theme").
   --on-ink is the text colour on an --ink surface (primary button, announcement bar): both themes invert it, so there is still one primary action per page. */
:root {
  --ink: #1c1c1c; --ink-soft: rgb(28 28 28 / 0.65); --line: rgb(221 221 221); --image: #f2f2f2; --soft: #efefef; --bg: #fff; --on-ink: #fff; --dot-line: rgb(0 0 0 / 0.15);
  --logo-filter: brightness(0); --client-filter: grayscale(1); --client-light-filter: brightness(0);
  color-scheme: light;
  --gutter: 1.25rem; --track: 0.18em;
  --announcement-height: 40px; --header-height: 76px;
  --font: "Mulish", "Segoe UI", "Helvetica Neue", Arial, system-ui, sans-serif;
}
:root[data-theme="dark"] { --ink: #ececec; --ink-soft: rgb(236 236 236 / 0.68); --line: rgb(58 58 58); --image: #1d1d1d; --soft: #1f1f1f; --bg: #121212; --on-ink: #121212; --dot-line: rgb(255 255 255 / 0.28); --logo-filter: brightness(0) invert(1); --client-filter: grayscale(1) invert(1); --client-light-filter: invert(1); color-scheme: dark; }
/* The designer draws its own light controls (designer/ is not themed), so its panel keeps the light tokens: a light surface inside a dark page. */
#designer-panel { --ink: #1c1c1c; --ink-soft: rgb(28 28 28 / 0.65); --line: rgb(221 221 221); --image: #f2f2f2; --soft: #efefef; --bg: #fff; --on-ink: #fff; --dot-line: rgb(0 0 0 / 0.15); color-scheme: light; color: var(--ink); background: var(--bg); }
@media (min-width: 801px) {
  :root[data-theme="dark"] #designer-panel { padding-inline: 16px; }
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; font: 16px/1.65 var(--font); color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
h1, h2 { font-weight: 600; text-transform: uppercase; letter-spacing: var(--track); line-height: 1.3; margin: 0; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.micro { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: var(--track); line-height: 1.6; }
.faded { color: var(--ink-soft); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.note { color: var(--ink-soft); font-size: 14px; margin: 8px 0; }

/* ---- bars and header ---- */
.announcement { height: var(--announcement-height); padding: 0 var(--gutter); display: flex; align-items: center; justify-content: center; background: var(--ink); color: var(--on-ink);
  font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: var(--track); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.site-header { position: relative; height: var(--header-height); padding: 0 var(--gutter); display: flex; align-items: center; gap: 32px; background: var(--bg); border-bottom: 1px solid var(--line); }
.brand { flex: none; display: inline-flex; align-items: center; min-height: 44px; }
.brand img { width: auto; height: 54px; filter: var(--logo-filter); }
.wordmark { display: flex; flex-direction: column; justify-content: center; min-height: 44px; font-size: 13px; font-weight: 700; line-height: 1.25; text-transform: uppercase; letter-spacing: var(--track); }
.site-menu { flex: 1; min-width: 0; display: flex; align-items: center; gap: 24px; }
.site-nav { display: flex; gap: 28px; }
.site-nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: var(--track); }
.site-nav a:hover, .site-footer a:hover { text-decoration: underline; text-underline-offset: 4px; }
.site-tools { margin-left: auto; display: flex; align-items: center; gap: 2px; }
.langs { display: inline-flex; align-items: center; margin-right: 8px; font-size: 12px; font-weight: 600; letter-spacing: var(--track); }
.lang-current { padding: 0 4px; text-decoration: underline; text-underline-offset: 5px; }
.lang-switch { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 4px; color: var(--ink-soft); }
.lang-sep { color: var(--ink-soft); }
.theme-toggle, .search-link, .basket-link, .menu-toggle { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0; border: 0; background: none; color: inherit; }
.theme-toggle[aria-pressed="true"] svg { transform: scaleX(-1); } /* the filled half flips with the theme in effect */
.menu-label, .menu-toggle { display: none; }

/* ---- page frame ---- */
main { max-width: 1600px; margin: 0 auto; padding: 0 var(--gutter) 64px; }
.crumb { margin: 20px 0 8px; color: var(--ink-soft); }
.crumb a { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; color: var(--ink); }
.collection h1, .related > h2 { font-size: 28px; }
.intro { margin: 8px 0 0; color: var(--ink-soft); }
.toolbar { display: flex; justify-content: space-between; align-items: center; min-height: 52px; margin: 28px 0 32px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* ---- product grid and card ---- */
.grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 12px; }
.card { display: flex; flex-direction: column; align-items: center; gap: 2px; text-align: center; }
.media { display: block; width: 100%; margin-bottom: 14px; background: var(--image); }
.media img, .gallery-main img, .thumb img { width: 100%; aspect-ratio: 1200 / 1732; object-fit: cover; }
.card-title { font-size: 12px; line-height: 1.5; overflow-wrap: anywhere; }
.card-meta { font-size: 13px; color: var(--ink-soft); }
.card-quote { margin-top: 4px; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: var(--track); }

/* ---- product page ---- */
.product-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
.thumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.thumb { width: 64px; height: 64px; background: var(--image); border: 1px solid transparent; cursor: pointer; }
.thumb img { height: 100%; aspect-ratio: auto; }
.thumb.is-active { border-color: var(--ink); }
.info h1 { font-size: 22px; margin: 6px 0 10px; }
.quote { margin: 0 0 24px; padding-bottom: 24px; border-bottom: 1px solid var(--line); font-size: 15px; }
.info fieldset { margin: 0 0 20px; padding: 0; border: 0; min-width: 0; }
.info legend { margin-bottom: 8px; padding: 0; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: var(--track); }
#colour-name { font-weight: 400; color: var(--ink-soft); }
.opt { position: relative; display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; margin: 0 8px 8px 0; cursor: pointer; vertical-align: top; }
.opt input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: inherit; }
.opt:has(input:focus-visible) { outline: 2px solid var(--ink); outline-offset: 2px; }
.swatch { width: 44px; border-radius: 50%; }
.swatch .dot { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--dot-line); }
.swatch:has(input:checked) { box-shadow: inset 0 0 0 1px var(--ink); }
.size { min-width: 56px; padding: 0 14px; border: 1px solid var(--line); font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: var(--track); }
.size:has(input:checked) { background: var(--ink); border-color: var(--ink); color: var(--on-ink); }
.opt.is-unavailable { opacity: 0.4; text-decoration: line-through; cursor: not-allowed; }
.accordions { margin-top: 32px; border-bottom: 1px solid var(--line); }
details { border-top: 1px solid var(--line); }
summary { display: flex; justify-content: space-between; align-items: center; min-height: 52px; cursor: pointer; list-style: none;
  font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: var(--track); }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 18px; font-weight: 400; }
details[open] summary::after { content: "\2212"; }
details p { margin: 0 0 18px; color: var(--ink-soft); font-size: 15px; }
.related { margin-top: 80px; }
.related > h2 { margin-bottom: 32px; text-align: center; }

/* ---- buttons ---- */
button { font: inherit; padding: 8px 16px; min-height: 44px; cursor: pointer; }
button:disabled { cursor: not-allowed; }
.btn { display: block; width: 100%; min-height: 47px; padding: 12px 20px; border: 1px solid var(--ink); border-radius: 0; background: var(--ink); color: var(--on-ink);
  font-size: 15px; font-weight: 600; text-transform: uppercase; letter-spacing: var(--track); }
.btn:disabled { opacity: 0.4; }
.btn-outline { padding: 0 20px; border: 1px solid var(--ink); border-radius: 0; background: var(--bg); color: var(--ink);
  font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: var(--track); }
#designer-panel { margin-top: 40px; border-top: 1px solid var(--line); padding-top: 16px; }
.designer-bar { margin-bottom: 8px; }

/* ---- wider screens ---- */
@media (min-width: 700px) {
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 20px; }
  .thumb { width: 80px; height: 80px; }
}
@media (min-width: 1000px) {
  :root { --gutter: 3rem; }
  .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 48px 24px; }
  .site-nav { justify-content: center; }
  .product-grid { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 4rem; align-items: start; margin-top: 8px; }
  .gallery-main img { width: auto; height: calc(100vh - 170px); min-height: 480px; max-width: 100%; object-fit: contain; }
  .info { position: sticky; top: 24px; padding-top: 8px; }
}
@media (min-width: 1150px) {
  .product-grid { gap: 6rem; }
}
@media (min-width: 1400px) {
  .info { max-width: 520px; }
}

/* ---- phone and narrow tablet ---- */
@media (max-width: 700px) {
  :root { --header-height: 64px; }
  .announcement { font-size: 10px; letter-spacing: 0.12em; }
  /* phone header: brand, basket and the menu button; the shop modes, language, theme and search open below it */
  .site-header { gap: 8px; }
  .brand img { height: 44px; }
  .wordmark { font-size: 12px; }
  .basket-link { margin-left: auto; }
  .menu-toggle { display: inline-flex; }
  .site-menu { position: absolute; top: 100%; left: 0; right: 0; z-index: 30; flex-direction: column; align-items: stretch; gap: 0; padding: 0 var(--gutter) 12px; background: var(--bg); border-bottom: 1px solid var(--line); }
  .js .site-menu { display: none; }
  .js .menu-open .site-menu { display: flex; }
  :root:not(.js) .site-header { height: auto; min-height: 64px; flex-wrap: wrap; }
  :root:not(.js) .site-menu { position: static; order: 3; flex-basis: 100%; padding: 0; border: 0; }
  .site-nav { flex-direction: column; gap: 0; }
  .site-nav a { min-height: 52px; border-bottom: 1px solid var(--line); font-size: 13px; }
  .site-tools { margin-left: 0; padding-top: 8px; flex-wrap: wrap; gap: 4px 12px; }
  .theme-toggle, .search-link { padding: 0 8px; }
  .menu-label { display: inline; margin-left: 8px; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: var(--track); }
  .collection h1, .related > h2 { font-size: 22px; }
  .related { margin-top: 56px; }
}

/* ---- designer on a phone: full screen while open ----
   Host-page rules only. They address the designer's root (the .dz element it mounts inside #designer-host) and its data-d hooks, so designer/ is unchanged.
   The garment view is sticky under the close bar (about 60% of the screen); the controls scroll below it. */
@media (max-width: 800px) {
  #designer-panel .designer-bar { position: sticky; top: 0; z-index: 2; height: 56px; margin: 0; padding: 6px 12px; display: flex; align-items: center; background: var(--bg); border-bottom: 1px solid var(--line); }
  #designer-panel > .note { margin: 8px 12px; }
  #designer-host .dz { gap: 12px; padding: 0 12px; }
  #designer-host .dz [data-d=view] { flex: none; position: sticky; top: 56px; z-index: 1; height: 60vh; height: 60dvh; margin: 0 -12px; }
  #designer-host .dz [data-d=panel] { overflow: visible; }
  #designer-host .dz label { min-height: 44px; }
  #designer-host .dz button, #designer-host .dz select, #designer-host .dz input[type=text] { min-height: 44px; }
  #designer-host .dz .sw { width: 44px; height: 44px; }
  #designer-host .dz input[type=range] { height: 44px; }
  #designer-host .dz input[type=color] { width: 44px; height: 44px; padding: 2px; }
  #designer-host .dz input[type=file] { width: 100%; min-height: 44px; }
}

/* ---- S4 basket ---- */
.basket-link { position: relative; display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; }
.icons .basket-link svg { padding: 0; }
.basket-count { position: absolute; top: 4px; right: 0; min-width: 16px; padding: 0 4px; background: var(--ink); color: var(--on-ink); font-size: 10px; font-weight: 700; line-height: 16px; text-align: center; }
.basket-count:empty { display: none; }
.add { margin: 0 0 20px; }
.add-qty { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.add-qty input, .basket-qty input { width: 88px; min-height: 44px; padding: 0 10px; border: 1px solid var(--line); border-radius: 0; background: var(--bg); color: var(--ink); font: inherit; }
#add-estimate { margin-top: 0; }
.basket h1 { font-size: 28px; }
.basket-notice:empty { display: none; }
.basket-notice { margin: 12px 0; padding: 10px 14px; border: 1px solid var(--ink); font-size: 14px; }
.basket-lines { list-style: none; margin: 24px 0 0; padding: 0; border-top: 1px solid var(--line); }
.basket-line { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 8px 16px; align-items: start; padding: 16px 0; border-bottom: 1px solid var(--line); }
.basket-line .media { grid-row: span 3; width: 72px; margin: 0; }
.basket-line .media img { aspect-ratio: 1200 / 1732; object-fit: cover; }
.basket-info p { margin: 0; }
.basket-name { font-size: 14px; font-weight: 600; overflow-wrap: anywhere; }
.basket-name a { display: inline-flex; align-items: center; min-height: 44px; }
.basket-warn { margin-top: 4px; font-size: 13px; font-weight: 600; }
.basket-line[data-status]:not([data-status="ok"]) { background: var(--soft); }
.basket-qty { display: flex; align-items: center; gap: 12px; }
.basket-line .btn-outline { justify-self: start; min-height: 44px; }
.basket-summary { margin-top: 24px; }
.basket-group, .basket-total { margin: 0 0 10px; font-size: 14px; }
.basket-total { padding-top: 12px; border-top: 1px solid var(--line); font-weight: 600; }
.basket-back { display: inline-flex; align-items: center; min-height: 44px; margin-top: 12px; }
.basket-summary .micro { margin-right: 6px; }
@media (min-width: 700px) {
  .basket-line { grid-template-columns: 72px minmax(0, 1fr) auto auto; align-items: center; }
  .basket-line .media { grid-row: auto; }
}

/* ---- S5 b2b + quote ---- */
/* one primary (black) action per page; the 3D designer is the quiet alternative */
.btn.btn-secondary { background: var(--bg); color: var(--ink); margin-bottom: 12px; }
.btn.btn-secondary:disabled { opacity: 0.4; }
.btn-outline { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; cursor: pointer; }
.site-nav { gap: 20px; }
.matrix-block h2 { margin: 0 0 4px; }
.matrix-scroll { overflow-x: auto; max-width: 100%; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.matrix { border-collapse: collapse; width: 100%; }
.matrix th, .matrix td { padding: 6px 4px; text-align: center; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: var(--track); }
.matrix thead th { border-bottom: 1px solid var(--line); }
.matrix tbody th { text-align: left; white-space: nowrap; min-width: 124px; padding-right: 8px; }
.matrix tbody th .dot { display: inline-block; width: 20px; height: 20px; margin-right: 8px; vertical-align: middle; border: 1px solid var(--dot-line); border-radius: 50%; }
.matrix-colour { vertical-align: middle; }
.matrix input.cell { width: 56px; min-width: 56px; min-height: 44px; padding: 0 4px; border: 1px solid var(--line); border-radius: 0; background: var(--bg); color: var(--ink); font: inherit; font-size: 15px; text-align: center; -moz-appearance: textfield; appearance: textfield; }
.matrix input.cell:disabled { background: var(--soft); border-style: dashed; cursor: not-allowed; }
.matrix input.cell[aria-invalid="true"] { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
#matrix-error:empty { display: none; }
.b2b-totals { margin: 16px 0 8px; }
.b2b-totals p { margin: 0 0 8px; }
.b2b-pieces { font-size: 14px; font-weight: 600; }
.b2b-tiers { margin: 12px 0; padding: 12px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 14px; }
.b2b-tiers table { width: 100%; margin: 6px 0; border-collapse: collapse; }
.b2b-tiers th, .b2b-tiers td { padding: 4px 0; text-align: left; font-weight: 400; }
.b2b-tiers td { text-align: right; }
.b2b-tiers tr.is-current th, .b2b-tiers tr.is-current td { font-weight: 700; }
.b2b-tiers .note { margin-bottom: 0; }
.artwork { margin: 24px 0 0; padding: 0; border: 0; }
.artwork legend { margin-bottom: 8px; padding: 0; }
.placement { margin: 0 0 16px; }
.placement label { display: block; }
.placement input[type=file], .quote-form input[type=text], .quote-form input[type=email], .quote-form input[type=tel], .quote-form select { display: block; width: 100%; min-height: 44px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 0; background: var(--bg); color: var(--ink); font: inherit; }
.placement .note, .file-info:empty { margin: 4px 0; }
.placement .btn-outline { margin-top: 4px; }
textarea { display: block; width: 100%; min-height: 96px; padding: 10px; border: 1px solid var(--line); border-radius: 0; background: var(--bg); color: var(--ink); font: inherit; resize: vertical; }
.notes { margin: 16px 0 0; }
.b2b .add { margin-top: 20px; }
.quote-page h1 { font-size: 28px; }
.quote-page h2.micro { margin: 24px 0 8px; }
.quote-form { max-width: 560px; }
.field { margin: 0 0 16px; }
.field > label.micro { display: block; margin-bottom: 4px; }
.field-error { margin: 4px 0 0; font-size: 13px; font-weight: 600; }
.field-error:empty { display: none; }
.field.check label { display: flex; align-items: flex-start; gap: 12px; }
.field.check input[type=checkbox] { flex: none; width: 44px; height: 44px; margin: 0; accent-color: var(--ink); }
.field.check span { padding-top: 10px; font-size: 15px; }
.field.dev { padding: 12px; border: 1px dashed var(--line); }
.quote-form .btn { margin-top: 8px; }
#quote-result:empty { display: none; }
#quote-result { margin-top: 16px; }
.quote-sent { padding: 14px; border: 1px solid var(--ink); }
.quote-sent-label { margin: 0 0 4px; font-size: 16px; font-weight: 700; }
.quote-receipt { margin: 0 0 4px; font-weight: 600; }
.quote-sent .btn-outline { margin-top: 8px; }
.quote-problems { padding-left: 18px; }
.b2b-group { margin: 24px 0 0; padding-top: 16px; border-top: 1px solid var(--line); }
.b2b-group-title { font-size: 14px; }
.b2b-group-title a { display: inline-flex; align-items: center; min-height: 44px; }
.b2b-artwork, .quote-lines { margin: 4px 0 8px; padding-left: 18px; font-size: 14px; color: var(--ink-soft); }
.b2b-group .basket-lines { margin-top: 8px; }
.basket-switch { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.basket-switch a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid var(--line); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: var(--track); }
.basket-switch a.is-current { border-color: var(--ink); background: var(--ink); color: var(--on-ink); }
.basket-continue { display: inline-flex; align-items: center; justify-content: center; width: 100%; max-width: 420px; margin-top: 20px; text-align: center; }
.basket-soon { margin-top: 16px; }
@media (max-width: 700px) {
  .site-nav { gap: 12px; }
  .site-nav a { font-size: 11px; letter-spacing: 0.1em; }
  .site-header { gap: 8px; }
}
.basket-switch a.is-current { background: var(--bg); color: var(--ink); border-color: var(--ink); box-shadow: inset 0 -3px 0 var(--ink); }
[hidden] { display: none !important; }

/* ---- S6 checkout ---- */
.checkout-page .quote-form { margin-top: 24px; }
.checkout-page .basket-lines .media { min-height: 0; }
.checkout-page .basket-line { grid-template-columns: minmax(0, 1fr); }
.choice { margin: 0 0 16px; padding: 0; border: 0; }
.choice legend { margin-bottom: 4px; padding: 0; }
.choice-opt { display: flex; align-items: center; gap: 12px; min-height: 44px; font-size: 15px; cursor: pointer; }
.choice-opt input[type=radio] { flex: none; width: 44px; height: 44px; margin: 0; accent-color: var(--ink); }
.checkout-page select { display: block; width: 100%; min-height: 44px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 0; background: var(--bg); color: var(--ink); font: inherit; }
#checkout-result:empty { display: none; }
#checkout-result { margin-top: 16px; }
.thanks-page .basket-back { margin: 12px 8px 0 0; }
.thanks-page .mock-note { padding: 10px 14px; border: 1px dashed var(--ink); color: var(--ink); }
.thanks-page .quote-sent-label { font-size: 20px; }

/* ---- home page: hero, client logos, the two shop modes, featured rows, designer, about ---- */
main.home { --clients-height: calc(27px + 2 * clamp(22px, 2.6vw, 38px)); max-width: none; padding: 0; } /* original 26px logo row + padding + 1px border; larger logos use the same total */
.home-section { max-width: 1600px; margin: 0 auto; padding: clamp(56px, 6vw, 96px) var(--gutter) 0; }
.section-head { max-width: 640px; margin-bottom: clamp(20px, 2vw, 32px); }
.section-head h2, .designer-copy h2, .about-copy h2 { font-size: clamp(20px, 1.8vw, 28px); }
.section-head p { margin: 10px 0 0; color: var(--ink-soft); }
.section-head .micro { margin-top: 6px; }

.hero { display: flex; flex-direction: column; min-height: 240px;
  height: calc(100vh - var(--announcement-height) - var(--header-height) - var(--clients-height));
  height: calc(100dvh - var(--announcement-height) - var(--header-height) - var(--clients-height)); }
.hero-track { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); flex: 1; min-height: 0; }
.hero > .carousel-controls { flex: none; } /* controls keep their natural height; photographs fill the rest */
.hero-panel { position: relative; display: block; overflow: hidden; background: var(--image); color: #fff; }
.hero-panel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 16%; }
.hero-panel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgb(0 0 0 / 0.36), rgb(0 0 0 / 0.08) 26%, rgb(0 0 0 / 0) 40%); } /* keeps the white headings readable on light studio backgrounds */
.hero-copy { position: absolute; z-index: 1; top: clamp(20px, 2.2vw, 40px); left: clamp(20px, 2.2vw, 40px); right: 20px; display: flex; flex-direction: column; gap: 10px; text-shadow: 0 1px 12px rgb(0 0 0 / 0.3); }
.hero-title { font-size: clamp(18px, 1.5vw, 28px); font-weight: 600; line-height: 1.2; text-transform: uppercase; letter-spacing: var(--track); }
.hero-text { font-size: clamp(14px, 0.95vw, 17px); }
.hero-panel:focus-visible { outline: 3px solid #fff; outline-offset: -6px; }

.carousel-controls { display: none; }
.carousel-prev, .carousel-next { width: 44px; height: 44px; padding: 0; border: 1px solid var(--line); border-radius: 0; background: var(--bg); color: var(--ink); font-size: 22px; line-height: 1; }
.carousel-prev:disabled, .carousel-next:disabled { opacity: 0.35; }
.carousel-dots { display: inline-flex; align-items: center; gap: 6px; }
.carousel-dots i { width: 6px; height: 6px; border-radius: 3px; background: var(--line); transition: width 0.2s; }
.carousel-dots i.is-current { width: 18px; background: var(--ink); }
.carousel-count { min-width: 56px; font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-align: center; }

.clients { position: relative; --logo-height: calc(26px * 4 / 3); --logo-drawn: clamp(44px, 3.6vw, 52px); padding: calc(clamp(22px, 2.6vw, 38px) - (var(--logo-height) - 26px) / 2) 0; border-bottom: 1px solid var(--line); } /* absorb the larger logos into the original whitespace */
.clients::before, .clients::after { content: ""; position: absolute; top: 0; bottom: 0; width: 5%; z-index: 1; pointer-events: none; background: linear-gradient(to right, var(--bg), transparent); }
.clients::before { left: 0; }
.clients::after { right: 0; background: linear-gradient(to left, var(--bg), transparent); }
.clients .marquee { padding: calc((var(--logo-drawn) - var(--logo-height)) / 2) 0; margin: calc((var(--logo-height) - var(--logo-drawn)) / 2) 0; } /* room for the larger logos inside the clip and the edge fade; the equal negative margin keeps the band's height */
.marquee { overflow: hidden; filter: var(--client-filter); opacity: 0.86; } /* one filter for the whole strip instead of one per logo */
.marquee-track { display: flex; width: max-content; animation: marquee 89s linear infinite; will-change: transform; backface-visibility: hidden; } /* the row grew with the larger logos: a longer loop keeps the former 80s on-screen speed (px/s) */
@media (min-width: 1300px) { .marquee-track { animation-duration: 97s; } } /* the logos keep growing up to 1444px wide */
.logos { display: flex; align-items: center; margin: 0; padding: 0; list-style: none; }
/* Each logo is drawn larger than the --logo-height row it occupies and overflows it evenly, so the band (and the hero above it) stay exactly as they were.
   Optical size: a compact mark fills the height, a long wordmark is held by the width cap instead of shrinking to a sliver. */
.logos li { flex: none; display: flex; align-items: center; height: var(--logo-height); margin-right: clamp(40px, 4.5vw, 80px); }
.logos img { width: auto; height: var(--logo-drawn); max-width: calc(var(--logo-drawn) * 2.6); object-fit: contain; } /* width/height attributes give each logo its final width before it loads */
.logos img.logo-light { filter: var(--client-light-filter); opacity: 0.93; } /* pre-filter so the strip's filter ends at the same colour; 0.93 x 0.86 = the former 0.8 */
@keyframes marquee { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-50%, 0, 0); } }

.modes { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 72px); }
.tiles, .rail-list { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(10px, 1.2vw, 20px); }
.tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.rail-list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tile { display: block; }
.tile-media { display: block; aspect-ratio: 4 / 5; overflow: hidden; background: #f2f2f2; } /* supplier shots sit on light grey or white: multiply seats both on the same grey, in both themes */
.tiles .tile-media { aspect-ratio: 1; } /* the 2x2 mode grids stay compact; the featured rows keep the portrait crop */
.tile-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 14%; mix-blend-mode: multiply; transition: transform 0.6s ease; }
.tile:hover .tile-media img { transform: scale(1.03); }
.tile-contain .tile-media img { object-fit: contain; object-position: center; padding: 10%; }
.tile-label { display: block; margin-top: 12px; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: var(--track); }
.more { display: inline-flex; align-items: center; min-height: 44px; margin-top: clamp(20px, 2vw, 28px); }

.designer-intro { margin-top: clamp(56px, 6vw, 96px); background: var(--soft); }
.designer-inner { max-width: 1600px; margin: 0 auto; padding: 0 var(--gutter); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(28px, 5vw, 96px); }
.designer-copy { max-width: 560px; padding: clamp(40px, 5vw, 80px) 0; }
.designer-copy h2 { margin: 10px 0 16px; }
.designer-copy > p:not(.micro) { color: var(--ink-soft); }
.designer-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.designer-links .btn-outline { display: inline-flex; align-items: center; min-height: 44px; }
.designer-media img { width: 100%; height: clamp(320px, 34vw, 600px); object-fit: cover; object-position: 50% 18%; }

.work-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: clamp(10px, 1.2vw, 20px); }
.work { display: block; }
.work-media { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: #f2f2f2; }
.work-media img { width: 100%; height: 100%; object-fit: cover; }
.work-label { display: block; margin-top: 12px; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: var(--track); }
a.work:hover .work-media img { transform: scale(1.03); }
.work-media img { transition: transform 0.6s ease; }
.about { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: stretch; gap: clamp(28px, 5vw, 96px); }
.video-placeholder { margin: 0; aspect-ratio: 16 / 9; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; padding: 24px; background: var(--ink); color: var(--on-ink); text-align: center; }
.about-video { margin: 0; aspect-ratio: 16 / 9; background: var(--ink); min-width: 0; }
.about-video video { display: block; width: 100%; height: 100%; object-fit: contain; background: var(--ink); }
.video-placeholder figcaption { max-width: 38ch; font-size: 14px; }
.video-placeholder .micro { display: block; margin-bottom: 4px; }
.play { position: relative; width: 64px; height: 64px; border: 1px solid currentColor; border-radius: 50%; opacity: 0.8; }
.play::after { content: ""; position: absolute; top: 20px; left: 26px; border-left: 17px solid currentColor; border-top: 12px solid transparent; border-bottom: 12px solid transparent; }
.about-copy { position: relative; min-height: 0; background: #1c1c1c; color: #ececec; --ink: #ececec; color-scheme: dark; }
.about-scroll { position: absolute; inset: 0; padding: clamp(24px, 3vw, 40px); overflow-y: auto; scrollbar-gutter: stable; }
.about-scroll::-webkit-scrollbar { width: 10px; }
.about-scroll::-webkit-scrollbar-track { background: #1c1c1c; }
.about-scroll::-webkit-scrollbar-thumb { background: #aaa; border: 2px solid #1c1c1c; border-radius: 5px; }
@supports not selector(::-webkit-scrollbar) { .about-scroll { scrollbar-color: #aaa #1c1c1c; } }
.about-scroll:focus-visible { outline-offset: -4px; }
.about-scroll h2 { margin-bottom: 16px; }
.about-scroll p { margin: 0; }

/* ---- site footer (every page) ---- */
.site-footer { margin-top: clamp(64px, 7vw, 120px); background: var(--soft); border-top: 1px solid var(--line); }
.footer-inner { max-width: 1600px; margin: 0 auto; padding: clamp(40px, 4vw, 64px) var(--gutter); display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.footer-logo { width: auto; height: 72px; filter: var(--logo-filter); }
.footer-brand p { max-width: 32ch; margin: 16px 0 0; color: var(--ink-soft); font-size: 14px; }
.footer-name { font-weight: 700; text-transform: uppercase; letter-spacing: var(--track); }
.footer-col h2 { margin-bottom: 10px; }
.footer-col ul { margin: 0; padding: 0; list-style: none; color: var(--ink-soft); font-size: 14px; }
.footer-col li { padding: 3px 0; }
.footer-col a { display: inline-flex; align-items: center; min-width: 44px; min-height: 32px; color: var(--ink); }
.footer-bottom { max-width: 1600px; margin: 0 auto; padding: 16px var(--gutter) 24px; border-top: 1px solid var(--line); }

/* ---- search and shop information pages ---- */
.search-page h1, .info-page h1 { font-size: 28px; margin-bottom: 20px; }
.search-form { display: flex; gap: 8px; max-width: 640px; margin-bottom: 8px; }
.search-form input { flex: 1; min-width: 0; min-height: 47px; padding: 0 14px; border: 1px solid var(--line); border-radius: 0; background: var(--bg); color: var(--ink); font: inherit; }
.search-form .btn { width: auto; flex: none; }
.search-results { margin-top: 24px; }
.result-modes { display: flex; justify-content: center; gap: 12px; margin-top: 4px; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: var(--track); }
.result-modes a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: underline; text-underline-offset: 4px; }
.info-section { max-width: 720px; padding: 20px 0; border-top: 1px solid var(--line); }
.info-section h2 { font-size: 16px; }

@media (max-width: 700px) {
  .hero { min-height: 294px; } /* 240px photograph + 54px controls on short screens; allow ordinary page scroll */
  .hero-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; }
  .hero-track::-webkit-scrollbar, .rail::-webkit-scrollbar { display: none; }
  .hero-panel { flex: 0 0 100%; scroll-snap-align: start; }
  .carousel-controls:not([hidden]) { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 10px var(--gutter) 0; }
  .modes { grid-template-columns: minmax(0, 1fr); }
  .work-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rail { margin: 0 calc(-1 * var(--gutter)); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: var(--gutter); overscroll-behavior-x: contain; scrollbar-width: none; }
  .rail-list { display: flex; width: max-content; padding: 0 var(--gutter); gap: 12px; }
  .rail-list > li { flex: 0 0 76vw; scroll-snap-align: start; }
  .designer-inner, .about { grid-template-columns: minmax(0, 1fr); }
  .video-placeholder, .about-video { width: 100%; } /* keep its text-driven minimum height from widening the phone grid */
  .about-copy { height: clamp(240px, 60vw, 320px); }
  .designer-copy { padding-bottom: 0; }
  .designer-media { padding-bottom: 32px; }
  .designer-media img { height: 360px; }
  .footer-inner { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .footer-col a { min-height: 44px; }
  .search-form { flex-direction: column; }
}
@media (min-width: 701px) and (max-width: 999px) {
  .footer-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee { overflow-x: auto; }
  .marquee-track { animation: none; }
  .logos[aria-hidden="true"] { display: none; }
  .tile-media img, .work-media img, .carousel-dots i { transition: none; }
}

/* ---- designer workspace (S5) ----
   An inline region in the page flow beneath the product (never a modal): the 3D view (sticky on desktop) on one side, four sections on the other. The ids designer-panel / designer-host / designer-close are the page contract.
   Same shop language as the pages (Mulish, uppercase tracked micro type, hairlines, square corners); the 3D stage keeps the designer's light studio grey in both themes. */
#designer-panel.workspace:not([hidden]) { display: block; margin: 40px 0 0; padding: 0; border: 1px solid var(--line); background: var(--bg); scroll-margin-top: 12px; }
/* the workspace styles every control itself (designer controls included, below), so it follows the dark theme; the older page panel keeps its light surface */
:root[data-theme="dark"] #designer-panel.workspace { --ink: #ececec; --ink-soft: rgb(236 236 236 / 0.68); --line: rgb(58 58 58); --image: #1d1d1d; --soft: #1f1f1f; --bg: #121212; --on-ink: #121212; --dot-line: rgb(255 255 255 / 0.28); color-scheme: dark; }
.ws-bar { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 60px; padding: 0 16px 0 24px; border-bottom: 1px solid var(--line); }
.ws-bar h2 { margin: 0; min-width: 0; font-size: 13px; font-weight: 600; letter-spacing: var(--track); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ws-bar button { flex: none; min-height: 44px; border-color: var(--line); }
.ws-bar button:hover { border-color: var(--ink); }
.ws-body { display: flex; align-items: flex-start; }
.ws-view { flex: 1 1 60%; min-width: 0; display: flex; flex-direction: column; position: sticky; top: 12px; height: min(72vh, 680px); min-height: 360px; }
#designer-panel.workspace #designer-host { flex: 1; min-height: 0; padding: 0; }
#designer-panel.workspace #designer-host .dz { display: block; height: 100%; padding: 0; gap: 0; }
#designer-panel.workspace #designer-host .dz [data-d=view] { position: relative; top: auto; height: 100%; min-height: 0; margin: 0; }
#designer-panel.workspace #ws-nopreview { position: absolute; inset: 0; z-index: 2; margin: 0; display: flex; align-items: center; justify-content: center; padding: 32px; text-align: center; background: var(--soft); color: var(--ink-soft); font-size: 15px; }
#designer-panel.workspace #ws-nopreview[hidden] { display: none; }
.ws-side { flex: 0 0 400px; min-width: 0; min-height: 0; display: flex; flex-direction: column; border-left: 1px solid var(--line); background: var(--bg); }

/* tabs: quiet uppercase labels, the selected one underlined */
.ws-tabs { flex: none; display: flex; border-bottom: 1px solid var(--line); }
.ws-tabs button { flex: 1 1 auto; min-height: 52px; padding: 4px 10px; border: 0; background: none; color: var(--ink-soft); font: inherit; font-size: 11px; font-weight: 600; line-height: 1.3;
  text-transform: uppercase; letter-spacing: 0.12em; cursor: pointer; text-wrap: balance; }
.ws-tabs button:hover { color: var(--ink); }
.ws-tabs button[aria-selected="true"] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--ink); }
.ws-sections { flex: 1; padding: 20px 24px 24px; }
.ws-sec[hidden] { display: none; }
.ws-sec > .note { margin: 0 0 16px; font-size: 13px; }

/* colour chips: dot, name, pieces badge; pinned above the size rows while the section scrolls */
.ws-swatches { position: sticky; top: 0; z-index: 1; display: flex; flex-wrap: wrap; gap: 8px; margin: -20px -24px 0; padding: 20px 24px 12px; background: var(--bg); }
.ws-sw { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 12px 0 10px; border: 1px solid var(--line); border-radius: 0; background: var(--bg); color: var(--ink); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; white-space: nowrap; }
.ws-sw:hover { border-color: var(--ink-soft); }
.ws-sw[aria-pressed="true"] { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.ws-sw .dot { flex: none; display: inline-block; width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--dot-line); }
.ws-sw .badge { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--ink); color: var(--on-ink); font-size: 11px; font-weight: 700; line-height: 20px; text-align: center; }
.ws-sw .badge:empty { display: none; }
#ws-strip-for { margin: 12px 0 4px; color: var(--ink-soft); }

/* size rows (workspace and product page): size on the left, a joined - [qty] + stepper on the right, hairlines between rows */
.qrow { display: flex; align-items: center; flex-wrap: wrap; min-height: 56px; padding: 6px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 96px; }
.qrow .qsize { flex: 1 1 auto; min-width: 56px; font-size: 14px; font-weight: 600; letter-spacing: 0.06em; }
.qrow .qstep { flex: none; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line); border-radius: 0; background: var(--bg); color: var(--ink); font: inherit; font-size: 18px; line-height: 1; cursor: pointer; }
.qrow .qstep:hover:not(:disabled) { position: relative; border-color: var(--ink); }
.qrow .qstep:disabled { color: var(--ink-soft); opacity: 0.45; cursor: not-allowed; }
.qrow input.qin { flex: none; width: 64px; height: 44px; margin: 0 -1px; padding: 0 6px; border: 1px solid var(--line); border-radius: 0; background: var(--bg); color: var(--ink); font: inherit; font-size: 15px; font-weight: 600; text-align: center; }
.qrow input.qin:focus-visible { position: relative; outline-offset: -2px; }
.qrow input.qin[aria-invalid="true"] { position: relative; border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.qrow input.qin:disabled { background: var(--soft); border-style: dashed; }
.qrow.is-off .qsize { color: var(--ink-soft); text-decoration: line-through; }
.qrow .qreason { flex: 1 0 100%; max-width: 100%; margin: 4px 0 2px; color: var(--ink-soft); font-size: 12px; line-height: 1.5; text-align: right; }
.qrow:has(input.qin[aria-invalid="true"]) .qreason { color: var(--ink); font-weight: 600; }
.qrow .qreason:empty { display: none; }
.qrow .qremove { min-height: 44px; margin-left: 8px; }
#setup-notice:empty, #strip-for:empty { display: none; }

/* clear: a quiet secondary action, its scope chosen inline */
.ws-clear { margin-top: 20px; }
.ws-clear button { min-height: 44px; border-color: var(--line); }
.ws-clear button:hover { border-color: var(--ink); }
#ws-clear-choice:not([hidden]) { display: flex; flex-wrap: wrap; gap: 8px; }

/* summary: rows on hairlines, like an order summary */
#ws-summary > p { margin: 0; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
#ws-summary > p:last-child { border-bottom: 0; }
.ws-summary-colour strong { font-weight: 700; }
.ws-problems { margin: 0; padding: 4px 0 8px 18px; border-bottom: 1px solid var(--line); }
.ws-problems button { min-height: 44px; padding: 8px 0; border: 0; background: none; color: inherit; font: inherit; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; text-align: left; }

/* footer: pieces and the one primary action, always visible */
.ws-foot { flex: none; padding: 16px 24px 20px; border-top: 1px solid var(--line); background: var(--bg); }
.ws-foot p { margin: 0 0 10px; }
.ws-foot #ws-total { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; }
.ws-foot #ws-hint { margin: -4px 0 10px; font-size: 13px; }
.ws-foot #ws-hint:empty, .ws-foot #ws-status:empty, .ws-foot #ws-notice:empty { display: none; }
.ws-foot #ws-notice { margin: -4px 0 10px; font-size: 13px; }
.ws-foot #ws-status { margin: 10px 0 0; font-size: 13px; }
.ws-foot .btn { width: 100%; min-height: 52px; }

/* the designer's own controls, moved into the Design section: restyled with the shop tokens (host rules only, designer/ unchanged) */
#designer-controls .dz { font: 14px/1.5 var(--font); color: var(--ink); }
#designer-controls .dz .est { color: var(--ink-soft); }
#designer-controls .dz [data-d=panel] { gap: 16px; }
#designer-controls .dz fieldset { margin: 0; padding: 14px 0 0; border: 0; border-top: 1px solid var(--line); border-radius: 0; }
#designer-controls .dz legend { padding: 0 10px 0 0; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: var(--track); }
#designer-controls .dz label { flex-wrap: wrap; gap: 10px; margin: 8px 0; font-size: 13px; }
#designer-controls .dz select, #designer-controls .dz input[type=text], #designer-controls .dz input[type=search], #designer-controls .dz input[type=number] { min-height: 40px; padding: 0 10px; border: 1px solid var(--line); border-radius: 0; background: var(--bg); color: var(--ink); font: inherit; font-size: 14px; }
#designer-controls .dz select[data-d=zone] { width: 100%; }
#designer-controls .dz input[type=text], #designer-controls .dz input[type=search] { flex: 1; min-width: 0; }
#designer-controls .dz input[type=number] { width: 100px; flex: none; padding: 0 6px; }
#designer-controls .dz input[type=range] { accent-color: var(--ink); }
#designer-controls .dz input[type=color] { width: 40px; height: 40px; padding: 2px; border: 1px solid var(--line); border-radius: 0; background: var(--bg); }
#designer-controls .dz input[type=file] { max-width: 100%; font-size: 13px; color: var(--ink-soft); }
#designer-controls .dz input[type=file]::file-selector-button { min-height: 40px; margin-right: 12px; padding: 0 14px; border: 1px solid var(--ink); border-radius: 0; background: var(--bg); color: var(--ink);
  font: inherit; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: var(--track); cursor: pointer; }
#designer-controls .dz button { min-height: 40px; padding: 0 12px; border: 1px solid var(--line); border-radius: 0; background: var(--bg); color: var(--ink); font: inherit; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; cursor: pointer; }
#designer-controls .dz button:hover:not(:disabled) { border-color: var(--ink); }
#designer-controls .dz button:disabled { opacity: 0.4; cursor: not-allowed; }
#designer-controls .dz .zero-mid { min-height: 0; } /* the 0 under a bar keeps the height set by designer/ui.js (40px, 44px on phones) */
#designer-controls .dz [data-d=tools] button[aria-pressed=true] { border-color: var(--ink); background: var(--ink); color: var(--on-ink); }
#designer-controls .dz .row { gap: 8px; }
#designer-controls .dz .hint { margin: 8px 0; color: var(--ink-soft); font-size: 12px; line-height: 1.55; }
#designer-controls .dz [data-d=warn], #designer-controls .dz [data-d=message] { border-radius: 0; }
/* Item 6: one button size per row, labels may wrap inside the button (never past it), icon buttons square, slider numbers fill their grid column. */
#designer-controls .dz .pair button, #designer-controls .dz .grid2 button, #designer-controls .dz .row.fill > button:not(.icon) { padding: 6px 10px; line-height: 1.3; }
#designer-controls .dz .icon { padding: 0; font-size: 16px; letter-spacing: 0; }
#designer-controls .dz label.slider input[type=number] { width: 100%; }
#designer-controls .dz .row.fill > label:first-child { margin: 0; flex-wrap: nowrap; }
#designer-controls .dz .row.fill { align-items: center; }

/* between 801 and 1023 px the sidebar is narrower */
@media (min-width: 801px) and (max-width: 1023px) { .ws-side { flex-basis: 340px; } .ws-tabs button { padding: 4px 6px; } }
@media (min-width: 801px) and (max-height: 520px) { .ws-sections { padding: 8px 12px; } .ws-swatches { margin: -8px -12px 0; padding: 8px 12px; } .ws-view { height: 80vh; min-height: 240px; } }

/* phone: view on top (about half the screen), tabs, the scrolling section with pinned colour chips, sticky footer */
@media (max-width: 800px) {
  #designer-panel.workspace:not([hidden]) { margin-top: 24px; }
  .ws-bar { height: 52px; padding: 0 8px 0 16px; }
  .ws-bar h2 { font-size: 12px; }
  .ws-body { flex-direction: column; align-items: stretch; }
  .ws-view { flex: 0 0 auto; position: relative; top: auto; height: 45vh; height: 45dvh; min-height: 260px; }
  .ws-side { flex: 1; width: 100%; border-left: 0; border-top: 1px solid var(--line); }
  .ws-tabs button { min-height: 48px; padding: 4px 6px; font-size: 10.5px; letter-spacing: 0.08em; }
  .ws-sections { padding: 12px 16px 16px; }
  .ws-swatches { flex-wrap: nowrap; overflow-x: auto; margin: -12px -16px 0; padding: 12px 16px 8px; scrollbar-width: none; }
  .ws-swatches::-webkit-scrollbar { display: none; }
  .ws-sw { flex: none; }
  #ws-strip-for { margin-top: 6px; }
  .qrow { min-height: 52px; padding: 4px 0; scroll-margin-top: 72px; }
  .ws-foot { padding: 8px 16px calc(8px + env(safe-area-inset-bottom)); }
  .ws-foot p { margin: 0 0 6px; }
  .ws-foot #ws-total, .ws-foot #ws-hint, .ws-foot #ws-status, .ws-foot #ws-notice { font-size: 12px; }
  .ws-foot #ws-notice { margin: -2px 0 6px; }
  .ws-foot #ws-hint { margin: -2px 0 6px; }
  .ws-foot #ws-status { margin: 6px 0 0; }
  .ws-foot .btn { min-height: 48px; }
  #designer-controls .dz { gap: 12px; }
  #designer-controls .dz label { min-height: 44px; }
  #designer-controls .dz button, #designer-controls .dz select, #designer-controls .dz input[type=text], #designer-controls .dz input[type=search], #designer-controls .dz input[type=number] { min-height: 44px; }
  #designer-controls .dz .sw { width: 44px; height: 44px; }
  #designer-controls .dz input[type=range] { height: 44px; }
  #designer-controls .dz input[type=color] { width: 44px; height: 44px; padding: 2px; }
  #designer-controls .dz input[type=file] { width: 100%; min-height: 44px; }
  #designer-controls .dz input[type=file]::file-selector-button { min-height: 44px; }
  #designer-controls .dz label.slider { row-gap: 2px; margin: 4px 0; }
}
@media (max-width: 800px) and (max-height: 600px) {
  .ws-view { height: 45vh; height: 45dvh; min-height: 200px; }
  .ws-bar { height: 48px; }
  .ws-tabs button { min-height: 44px; }
  .ws-sections { padding-top: 8px; }
  .ws-swatches { margin-top: -8px; padding-top: 8px; padding-bottom: 4px; }
  .ws-foot .btn { min-height: 44px; }
}

/* ---- Finish result card and same-page inquiry (I1) ----
   A page-flow section under the designer region (never fixed or overlaid), laid out like the product above it:
   from 1000px the result (thumbnails, summary, actions) sits in the gallery column and the inquiry form on a soft panel in the info column; one column below that.
   --danger is used only for form errors here; the error text always says what is wrong, so colour is never the only signal. */
:root { --danger: #b3261e; }
:root[data-theme="dark"] { --danger: #f2b8b5; }
.design-result { margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--line); scroll-margin-top: 12px; }
.design-result > h2 { margin: 0 0 20px; font-size: clamp(18px, 1.6vw, 24px); }
#design-result-draft { margin: 0 0 20px; padding: 12px 16px; border: 1px solid var(--ink); border-left-width: 4px; background: var(--soft); font-size: 14px; line-height: 1.55; }

/* zone previews: equal tiles on the image grey, captions in the shop's micro type */
.result-thumbs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 12px; margin: 0 0 28px; }
.result-thumbs figure { margin: 0; min-width: 0; }
.result-thumbs img { display: block; width: 100%; height: auto; background: var(--image); border: 1px solid var(--line); }
.result-thumbs figcaption { margin-top: 10px; font-size: 11px; font-weight: 600; line-height: 1.5; text-transform: uppercase; letter-spacing: var(--track); overflow-wrap: anywhere; }

/* summary: hairline rows, like the order summary in the workspace */
.result-info { border-top: 1px solid var(--line); }
.result-info h3 { margin: 0; padding: 16px 0 2px; }
.result-info > p { margin: 0; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px; line-height: 1.55; }
.result-info > h3 + p { padding-top: 8px; }
.result-info > p.note { padding: 12px 0 0; border-bottom: 0; color: var(--ink-soft); font-size: 13px; }

/* actions: two quiet outline buttons and the one primary action; the reset confirmation opens as its own strip underneath */
.result-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 24px 0 0; }
.result-actions .btn-outline { min-height: 47px; padding: 0 24px; }
.result-actions .btn-outline:hover { background: var(--soft); }
.result-actions .btn { width: auto; min-width: 240px; }
.result-actions .btn:disabled { opacity: 0.4; }
#result-reset-choice:not([hidden]) { order: 1; flex: 1 0 100%; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 12px 16px; border: 1px solid var(--line); border-left: 4px solid var(--ink); background: var(--soft); font-size: 14px; }
#result-reset-choice .btn-outline { min-height: 44px; padding: 0 18px; }
#design-result-status { margin: 14px 0 0; font-size: 13px; }
#design-result-status:empty { display: none; }

/* the inquiry form: a soft panel, fields on the page background, one aligned column */
.inquiry-form { max-width: none; margin-top: 40px; padding: 28px 24px 32px; background: var(--soft); }
.inquiry-form > h2.micro { margin: 0 0 8px; font-size: 12px; }
.inquiry-form > .intro { margin: 0 0 16px; font-size: 15px; line-height: 1.6; }
.inquiry-form > .note { margin: 0 0 24px; padding: 10px 14px; border: 1px dashed var(--ink); background: var(--bg); color: var(--ink); font-size: 13px; line-height: 1.5; } /* the test-mode notice */
.inquiry-form .field { margin: 0 0 18px; }
.inquiry-form .field > label.micro { margin-bottom: 6px; }
.inquiry-form input[type=text], .inquiry-form input[type=email], .inquiry-form input[type=tel], .inquiry-form textarea { min-height: 48px; padding: 10px 12px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); transition: border-color 0.15s; }
.inquiry-form textarea { min-height: 112px; }
.inquiry-form input:hover, .inquiry-form textarea:hover { border-color: var(--ink-soft); }
.inquiry-form input:not([type=checkbox]):focus-visible, .inquiry-form textarea:focus-visible { border-color: var(--ink); outline: 2px solid var(--ink); outline-offset: -1px; }
.inquiry-form [aria-invalid="true"]:not([type=checkbox]) { border-color: var(--danger); box-shadow: inset 0 0 0 1px var(--danger); }
.inquiry-form [aria-invalid="true"]:not([type=checkbox]):focus-visible { outline-color: var(--danger); }
.inquiry-form .field:has(> [aria-invalid="true"]) > label.micro { color: var(--danger); }
.inquiry-form .field-error { margin: 6px 0 0; color: var(--danger); font-size: 13px; }
/* checkboxes: a 22px box inside a full-row label, so the tap target stays at least 44px tall */
.inquiry-form .field.check { margin-bottom: 8px; }
.inquiry-form .field.check label { align-items: flex-start; gap: 4px; min-height: 44px; cursor: pointer; }
.inquiry-form .field.check input[type=checkbox] { width: 22px; height: 22px; margin: 11px; cursor: pointer; }
.inquiry-form .field.check input[type=checkbox][aria-invalid="true"] { outline: 2px solid var(--danger); outline-offset: 2px; }
.inquiry-form .field.check span { padding-top: 10px; font-size: 14px; line-height: 1.55; }
.inquiry-form .field.check span .faded { padding: 0; }
.inquiry-form .field.check .field-error { margin: 0 0 8px 48px; }
.inquiry-form .btn { margin-top: 16px; min-height: 52px; }
/* the send result: the mock receipt is framed as a test notice (dashed, heavy left rule); a failure keeps an error rule */
.inquiry-form #inquiry-result { margin-top: 16px; }
.inquiry-form #inquiry-result:empty { margin: 0; }
.inquiry-form .quote-sent { padding: 16px 18px; border: 1px dashed var(--ink); border-left: 4px solid var(--ink); background: var(--bg); }
.inquiry-form .quote-sent-label { font-size: 15px; line-height: 1.45; }
.inquiry-form .quote-sent .note { margin: 6px 0 0; font-size: 13px; }
.inquiry-form #inquiry-result .basket-warn { margin: 0; padding: 12px 16px; border: 1px solid var(--danger); border-left-width: 4px; background: var(--bg); font-size: 14px; line-height: 1.55; }

@media (min-width: 700px) {
  .result-thumbs { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 24px 16px; }
}
@media (min-width: 1000px) {
  /* gallery column | info column, the same split and gap as .product-grid; the trailing 1fr row absorbs the taller form so the left column keeps its spacing */
  .design-result { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); grid-template-rows: repeat(6, auto) 1fr; column-gap: 4rem; align-items: start; }
  .design-result > * { grid-column: 1; }
  .design-result > .inquiry-form { grid-column: 2; grid-row: 1 / -1; margin-top: 0; padding: 32px; }
}
@media (min-width: 1150px) { .design-result { column-gap: 6rem; } }
@media (min-width: 1400px) { .design-result > .inquiry-form { max-width: 560px; } }
@media (max-width: 700px) {
  .design-result { margin-top: 40px; padding-top: 24px; }
  .result-actions { gap: 8px; }
  .result-actions .btn-outline { flex: 1 1 0; min-width: 0; padding: 0 12px; }
  .result-actions .btn { flex: 1 0 100%; width: 100%; min-width: 0; }
  #result-reset-choice:not([hidden]) { padding: 12px; }
  #result-reset-choice .btn-outline { flex: 1 1 auto; }
  /* the form panel runs edge to edge on a phone; main's own gutter pays for the negative margin, so nothing scrolls sideways */
  .inquiry-form { margin-inline: calc(-1 * var(--gutter)); padding: 28px var(--gutter) 32px; }
}

/* the inline region header: a soft bar so the region reads as one panel; on a phone the collapse button gives the title more room */
.ws-bar { background: var(--soft); }
.ws-bar button { background: var(--bg); }
@media (max-width: 800px) { .ws-bar button { padding: 0 14px; } }

@media (prefers-reduced-motion: reduce) {
  .inquiry-form input[type], .inquiry-form textarea { transition: none; }
}
.result-production { margin: 0 0 12px; padding-left: 1.1em; }

/* ---- handling and labels editor (services-ui.js) ----
   Rows sit on hairlines like the rest of the shop. An invalid row keeps its .basket-warn sentence; the heavier border is extra, not the only signal. */
.svc-panel { margin: 32px 0 0; }
.svc-list { list-style: none; margin: 8px 0 0; padding: 0; }
.svc-row { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.svc-row.is-invalid { border-bottom: 2px solid var(--danger); }
.svc-row.is-invalid .basket-warn { flex: 1 0 100%; margin: 0; color: var(--danger); }
.svc-text { flex: 1 1 12rem; min-width: 0; font-size: 14px; overflow-wrap: anywhere; }
.svc-line { margin: 0; padding: 6px 0; color: var(--ink); font-size: 14px; }
.svc-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 12px; }
/* Item 6: Add handling / Add labels as one equal-width pair; the handling-only quote request is its own full-width action below a rule. Dialog Accept/Cancel share one row. */
.svc-panel .svc-actions, #ws-services .svc-actions { display: block; }
.svc-add { display: flex; gap: 8px; }
.svc-add > .btn-outline, .svc-request > .btn-outline, .svc-row > .btn-outline { min-height: 44px; padding: 6px 14px; line-height: 1.3; text-align: center; }
.svc-add > .btn-outline { flex: 1 1 0; min-width: 0; }
.svc-request { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.svc-request > .btn-outline { width: 100%; }
.svc-row > .btn-outline { flex: none; }
.svc-dialog .svc-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.svc-dialog .svc-actions > .btn, .svc-dialog .svc-actions > .btn-outline { width: 100%; min-height: 47px; }
dialog.svc-dialog { width: 100%; max-width: min(32rem, calc(100% - 32px)); max-height: calc(100% - 32px); margin: auto; padding: 24px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); overflow: auto; }
dialog.svc-dialog::backdrop { background: rgb(0 0 0 / 0.45); }
.svc-dialog h3 { margin: 0 0 16px; font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: var(--track); }
.svc-field { display: block; margin: 0 0 14px; }
.svc-field > .micro { display: block; margin-bottom: 4px; }
.svc-field.check { display: flex; align-items: center; gap: 12px; }
.svc-field.check input[type=checkbox] { flex: none; width: 22px; height: 22px; margin: 0; accent-color: var(--ink); }
.svc-field select, .svc-field input[type=text] { width: 100%; min-height: 44px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 0; background: var(--bg); color: var(--ink); font: inherit; font-size: 16px; }
.svc-step { display: inline-flex; align-items: center; gap: 8px; }
.svc-step input[type=text] { width: 72px; text-align: center; }
.svc-step button { min-width: 44px; min-height: 44px; }
@media (max-width: 600px) {
  dialog.svc-dialog { inset: auto 0 0 0; width: 100%; max-width: 100%; max-height: 90vh; margin: 0; }
}
.ws-recovery { margin: 1rem 0; }
.ws-rec-actions { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.ws-rec-file { display: inline-flex; gap: .5rem; align-items: center; flex-wrap: wrap; }
/* B2B category strip and sort (taxonomy listings only). The strip list scrolls inside itself; the page never scrolls sideways. */
.category-strip { display: flex; margin: 8px 0 20px; }
.category-strip ul { flex: 1 1 auto; min-width: 0; display: flex; gap: 4px; margin: 0; padding: 0 32px 0 0; list-style: none; overflow-x: auto; }
/* Phone: the strip still scrolls (swipe, focus and the chevron cue are unchanged) but its scrollbar is not drawn. */
@media (max-width: 700px) {
  .category-strip ul { scrollbar-width: none; }
  .category-strip ul::-webkit-scrollbar { display: none; }
}
.category-strip li { flex: none; }
.category-strip a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border-bottom: 2px solid transparent; color: var(--ink); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: var(--track); white-space: nowrap; text-decoration: none; }
.category-strip a:hover { text-decoration: underline; text-underline-offset: 4px; }
.category-strip a[aria-current="page"] { border-bottom-color: var(--ink); font-weight: 700; }
.category-strip a:focus-visible, .sort-control select:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
/* The edge cue is its own column beside the list, never painted over a link: a chevron in the foreground colour. Hidden at the end and when nothing overflows (listing.js sets is-end). The column keeps its 24px space either way, so the scrolling list never changes width during a swipe. */
.strip-cue { display: flex; flex: none; width: 24px; align-items: center; justify-content: center; pointer-events: none; }
.strip-cue::before { content: ""; width: 8px; height: 8px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(-45deg); }
.category-strip.is-end .strip-cue { visibility: hidden; }
.sort-control { display: inline-flex; align-items: center; gap: 8px; }
.sort-control select { min-height: 44px; max-width: 100%; padding: 4px 8px; border: 1px solid var(--line); border-radius: 0; background: var(--bg); color: var(--ink); font: inherit; font-size: 16px; }
/* On a narrow phone the count and the sort control wrap onto their own rows instead of pushing the sort control out of the toolbar. */
.listing-toolbar { flex-wrap: wrap; row-gap: 8px; column-gap: 16px; }
.listing-toolbar > * { min-width: 0; max-width: 100%; }

/* ---- supplier-range (quote-only) product page and cards ---- */
.media img.cover { object-fit: cover; object-position: 50% 22%; } /* one portrait frame for every supplier cover; the full photograph stays in the product gallery */
.quote-only .gallery-main img { width: 100%; height: auto; max-height: 70vh; aspect-ratio: 1 / 1; object-fit: contain; background: var(--image); }
.quote-only .qo-thumbs { flex-wrap: nowrap; overflow-x: auto; }
.quote-only .thumb { flex: none; padding: 0; min-height: 0; }
.quote-only .thumb img { object-fit: cover; }
.qo-more { margin-top: 8px; }
.quote-only .info > .btn { display: block; text-align: center; text-decoration: none; margin: 12px 0 20px; }
.quote-only details p { white-space: pre-line; }
.qo-block { margin: 20px 0 0; }
.qo-list { margin: 8px 0 0; padding-left: 20px; }
.qo-colours { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 8px 0 0; padding: 0; max-height: 10.5rem; overflow-y: auto; }
.qo-colour { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 4px 10px; border: 1px solid var(--line); border-radius: 0; background: var(--bg); color: var(--ink); font-size: 13px; }
.qo-colour.is-static { border-style: dashed; }
.qo-colour[aria-pressed="true"] { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.qo-dot { flex: none; width: 20px; height: 20px; border-radius: 50%; border: 1px solid var(--dot-line); }
@media (min-width: 1000px) { .quote-only .gallery-main img { height: auto; max-height: calc(100vh - 170px); min-height: 0; } }

/* Owner page (C09): phone-first list and detail, 16px gutter from .quote-page, controls at least 44px */
.owner-page { overflow-wrap: anywhere; }
.owner-list, .owner-files { list-style: none; margin: 0 0 16px; padding: 0; }
.owner-row, .owner-file { padding: 12px 0; border-bottom: 1px solid var(--line); }
.owner-row-title { margin: 0 0 4px; }
.owner-bar { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0; }
.owner-page .btn-outline, .owner-page .btn { min-height: 44px; }
.owner-page .owner-file .btn-outline { margin-top: 8px; }

/* C11: gallery video, compact product information */
.quote-only .gallery-main { position: relative; background: var(--image); }
.gallery-video { width: 100%; aspect-ratio: 1 / 1; max-height: 70vh; background: #000; position: relative; }
.gallery-video[hidden], .quote-only .gallery-main img[hidden] { display: none; }
.gallery-video video, .gallery-video iframe { display: block; width: 100%; height: 100%; border: 0; object-fit: contain; background: #000; }
.video-play { position: relative; display: block; width: 100%; height: 100%; padding: 0; border: 0; background: #000; cursor: pointer; }
.video-play img { width: 100%; height: 100%; object-fit: contain; opacity: .8; }
.play-badge { position: absolute; inset: 50% auto auto 50%; transform: translate(-50%, -50%); width: 44px; height: 44px; border-radius: 50%; background: rgba(0,0,0,.65); color: #fff; font-size: 16px; line-height: 44px; text-align: center; pointer-events: none; }
.thumb.is-video { position: relative; }
.thumb.is-video .play-badge { width: 26px; height: 26px; font-size: 10px; line-height: 26px; }
.gallery-note { margin: 8px 0 0; font-size: 13px; }
.product-summary { margin: 0 0 10px; color: var(--ink-soft); font-size: 15px; line-height: 1.5; }
.feature-list { margin: 0 0 18px; padding-left: 20px; color: var(--ink-soft); font-size: 15px; }
.feature-list li { margin: 0 0 4px; }
.size-row { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 8px 0 0; padding: 0; }
.size-row li { min-width: 40px; padding: 6px 10px; border: 1px solid var(--line); font-size: 13px; text-align: center; }
.size-table { margin-top: 8px; overflow-x: auto; max-width: 100%; }
.size-chart .size-table { margin-bottom: 18px; }
.size-table table { border-collapse: collapse; font-size: 13px; white-space: nowrap; }
.size-table th, .size-table td { padding: 6px 10px; border: 1px solid var(--line); text-align: center; }
.size-table tbody th { text-align: left; font-weight: 600; position: sticky; left: 0; background: var(--bg); }
.size-table thead th { font-weight: 600; background: var(--image); }
@media (min-width: 1000px) { .gallery-video { max-height: calc(100vh - 170px); } }
.gallery-video:has(video), .gallery-video video { background: var(--image); } /* native video letterboxes on the same panel colour as photos; the YouTube frame keeps black */

/* C12: supplier-range B2B quote page. Gallery and details above; the tier table sits in the right column (DTF Center layout, this shop's monochrome style); the build steps 01-03 follow full width. */
.b2b-quote .b2b-tiers-box:empty { display: none; }
.b2b-tiers-box { margin: 16px 0 12px; }
.b2b-tiers-box .b2b-tiers { margin: 0; padding: 0; border: 1px solid var(--line); font-size: 14px; }
.b2b-tiers-box .b2b-tiers > .micro { display: block; padding: 12px 16px 8px; }
.b2b-tiers-box .b2b-tiers > .micro:first-child { margin-top: 0; }
.b2b-tiers-box .b2b-tiers table { margin: 0; border-top: 1px solid var(--line); }
.b2b-tiers-box .b2b-tiers th, .b2b-tiers-box .b2b-tiers td { padding: 9px 16px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.b2b-tiers-box .b2b-tiers thead th { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: var(--track); color: var(--ink-soft); }
.b2b-tiers-box .b2b-tiers thead th:nth-child(2) { text-align: right; }
.b2b-tiers-box .b2b-tiers tbody th { white-space: nowrap; }
.b2b-tiers-box .b2b-tiers .tier-price { font-weight: 700; white-space: nowrap; }
.b2b-tiers-box .b2b-tiers .tier-off { width: 1%; padding-left: 0; text-align: right; }
.b2b-tiers-box .b2b-tiers tr.is-current th, .b2b-tiers-box .b2b-tiers tr.is-current td { background: var(--soft); font-weight: 700; }
.b2b-tiers-box .b2b-tiers tr.is-current th::before { content: "\25B8"; margin-right: 6px; }
.badge { display: inline-block; padding: 1px 8px; border: 1px solid var(--ink); font-size: 12px; font-weight: 700; white-space: nowrap; }
.b2b-tiers-box .b2b-tiers .note { margin: 0; padding: 8px 16px; }
.b2b-tiers-box .b2b-tiers .note:last-child { padding-bottom: 12px; }
.b2b-build { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); max-width: 1000px; }
.step-no { display: inline-block; margin-right: 8px; padding: 0 8px; border: 1px solid var(--ink); }
.b2b-build .matrix-block > h2, .b2b-build .artwork legend, .b2b-build .notes > label { margin-top: 24px; }
.b2b-build .matrix-block > h2:first-child { margin-top: 0; }
.b2b-build .placement { max-width: 520px; }
.b2b-build .notes textarea { display: block; width: 100%; max-width: 520px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 0; background: var(--bg); color: var(--ink); font: inherit; }
.b2b-build .add { max-width: 520px; }
/* a tall colour list scrolls inside its own box with the size row and the colour column kept in view */
.b2b-quote .matrix-scroll { max-height: min(68vh, 560px); overflow: auto; overscroll-behavior: contain; }
.b2b-quote .matrix thead th { position: sticky; top: 0; z-index: 2; background: var(--bg); box-shadow: inset 0 -1px 0 var(--line); border-bottom: 0; }
.b2b-quote .matrix tbody th { position: sticky; left: 0; z-index: 1; background: var(--bg); box-shadow: inset -1px 0 0 var(--line); }
.b2b-quote .matrix thead th:first-child { left: 0; z-index: 3; }
.b2b-quote .matrix tbody th .dot { background-size: cover; }
.b2b-quote .matrix tbody th { cursor: pointer; }
/* C12 R1: the pinned colour column is bounded and wraps its label, so a long Hi-Vis colour name never leaves less than one whole quantity cell */
.b2b-quote .matrix tbody th { white-space: normal; min-width: 108px; width: 124px; max-width: 124px; overflow-wrap: break-word; line-height: 1.3; }
.b2b-quote .matrix tbody th .dot { flex: none; }
.b2b-quote .matrix thead th:first-child { min-width: 108px; width: 124px; max-width: 124px; }
@media (min-width: 700px) { .b2b-quote .matrix tbody th, .b2b-quote .matrix thead th:first-child { width: 160px; max-width: 160px; } }
.b2b-quote .gallery-col { min-width: 0; }

/* ==== Redesign layer ====
   Everything is scoped to html.rd (set by the page shell) so the layer can be switched off.
   Direction: editorial fashion house. A display serif carries the voice, a geometric sans does the work,
   the page stays black / white / bone, and motion is slow and deliberate. */

/* Syne (display) and Manrope (text), SIL OFL, self-hosted from storefront/fonts/ as variable files in two subsets (Greek, Latin). No font CDN. */
@font-face { font-family: "Syne"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("fonts/syne-greek.woff2") format("woff2"); unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF; }
@font-face { font-family: "Syne"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("fonts/syne-latin.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: "Manrope"; font-style: normal; font-weight: 200 800; font-display: swap; src: url("fonts/manrope-greek.woff2") format("woff2"); unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 200 800; font-display: swap; src: url("fonts/manrope-latin.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; }


:root.rd {
  --display: "Syne", "Manrope", "Segoe UI", sans-serif;
  --display-weight: 700; --display-case: uppercase; --display-track: 0; --display-scale: 0.74; --display-lh: 1.02;
  --font: "Manrope", "Segoe UI", system-ui, sans-serif;
  --track: 0.16em;
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
  --soft: #f5f3ef; --line: rgb(20 20 20 / 0.14); --ink: #121212;
  --field-line: rgb(20 20 20 / 0.28);
  --announcement-height: 34px;
  interpolate-size: allow-keywords;
}
:root.rd[data-theme="dark"] { --soft: #1a1917; --line: rgb(255 255 255 / 0.16); --ink: #efede8; --bg: #0f0f0f; --field-line: rgb(255 255 255 / 0.34); }

.rd body { font-size: 15.5px; line-height: 1.7; font-feature-settings: "ss01", "cv11"; text-rendering: optimizeLegibility; }
.rd ::selection { background: var(--ink); color: var(--on-ink); }
.rd h1, .rd h2 { font-family: var(--display); font-weight: var(--display-weight); text-transform: var(--display-case); letter-spacing: var(--display-track); line-height: var(--display-lh); text-wrap: balance; }
.rd .micro, .rd .footer-col h2 { font-family: var(--font); font-weight: 600; letter-spacing: var(--track); text-transform: uppercase; line-height: 1.6; }
.rd :focus-visible { outline: 1.5px solid var(--ink); outline-offset: 3px; }

/* ---------- announcement + header ---------- */
.rd .announcement { font-size: 10.5px; font-weight: 500; letter-spacing: 0.22em; }
.rd .site-header { gap: clamp(20px, 3vw, 48px); border-bottom-color: transparent; box-shadow: 0 1px 0 var(--line); transition: height 0.4s var(--ease), background-color 0.3s; }
.rd body:has(main.home, main.collection) .site-header { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--bg) 84%, transparent); -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4); }
.rd .brand img { transition: height 0.4s var(--ease); }
.rd .site-header.is-scrolled { height: 60px; }
.rd .site-header.is-scrolled .brand img { height: 42px; }
.rd .site-nav { gap: clamp(16px, 2.2vw, 36px); align-items: center; }
.rd .site-nav > a, .rd .nav-drop { position: relative; display: inline-flex; align-items: center; gap: 7px; min-height: 44px; padding: 0; border: 0; background: none; color: inherit; font: 600 11.5px/1 var(--font); letter-spacing: var(--track); text-transform: uppercase; white-space: nowrap; }
.rd .site-nav > a::after, .rd .nav-drop::after { content: ""; position: absolute; left: 0; right: 0; bottom: 11px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform 0.45s var(--ease); }
.rd .site-nav > a:hover, .rd .site-footer a:hover { text-decoration: none; }
.rd .site-nav > a:hover::after, .rd .nav-group:hover .nav-drop::after, .rd .nav-drop[aria-expanded="true"]::after { transform: scaleX(1); transform-origin: left; }
.rd .nav-drop svg { transition: transform 0.35s var(--ease); }
.rd .nav-group { position: relative; }
.rd .nav-panel { position: absolute; top: 100%; left: -28px; z-index: 50; min-width: 300px; padding: 14px 28px 20px; background: var(--bg); box-shadow: 0 0 0 1px var(--line), 0 30px 60px -30px rgb(0 0 0 / 0.35); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity 0.3s, transform 0.4s var(--ease), visibility 0.3s; }
.rd .nav-group:hover .nav-panel, .rd .nav-group:focus-within .nav-panel, .rd .nav-drop[aria-expanded="true"] + .nav-panel { opacity: 1; visibility: visible; transform: none; }
.rd .nav-group:hover .nav-drop svg, .rd .nav-drop[aria-expanded="true"] svg { transform: rotate(180deg); }
.rd .nav-panel a { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; padding: 11px 0; border-bottom: 1px solid var(--line); transition: padding 0.4s var(--ease); }
.rd .nav-panel a:last-child { border-bottom: 0; }
.rd .nav-panel a span { font: var(--display-weight) calc(24px * var(--display-scale)) / 1.2 var(--display); letter-spacing: var(--display-track); text-transform: var(--display-case); }
.rd .nav-panel a span { white-space: nowrap; }
.rd .nav-panel a small { font-size: 11px; color: var(--ink-soft); letter-spacing: 0.04em; white-space: nowrap; }
.rd .nav-panel a:hover { padding-left: 10px; }
.rd .langs { font-size: 11.5px; }
.rd .theme-toggle, .rd .search-link, .rd .basket-link, .rd .menu-toggle { border-radius: 50%; transition: background-color 0.25s; }
.rd .theme-toggle:hover, .rd .search-link:hover, .rd .basket-link:hover { background: var(--soft); }
.rd .basket-count:not(:empty) { font-size: 10px; font-weight: 700; }

/* ---------- hero ---------- */
.rd .hero-panel { color: #fff; }
.rd .hero-panel::after { background: rgb(0 0 0 / 0.3); transition: background-color 0.6s; }
.rd .hero-panel img { transition: transform 1.6s var(--ease); animation: rd-hero-img 1.8s var(--ease) both; }
.rd .hero-panel { animation: rd-hero-panel 1.1s var(--ease) both; }
.rd .hero-panel:nth-child(2) { animation-delay: 0.12s; }
.rd .hero-panel:nth-child(3) { animation-delay: 0.24s; }
.rd .hero-copy { inset: 0; padding: clamp(20px, 2.4vw, 44px); gap: 0; align-items: center; justify-content: center; text-align: center; text-shadow: 0 1px 30px rgb(0 0 0 / 0.35); }
.rd .hero-index { font: 600 11px/1 var(--font); letter-spacing: var(--track); opacity: 0.8; margin-bottom: 14px; }
.rd .hero-title { font: var(--display-weight) calc(clamp(38px, 4.1vw, 76px) * var(--display-scale)) / 0.98 var(--display); letter-spacing: var(--display-track); text-transform: var(--display-case); }
.rd .hero-text { margin-top: 12px; max-width: 30ch; font-size: clamp(13.5px, 0.95vw, 16px); line-height: 1.5; opacity: 0.88; }
.rd .hero-cta { display: inline-flex; align-items: center; gap: 12px; margin-top: 20px; font: 600 11px/1 var(--font); letter-spacing: var(--track); text-transform: uppercase; }
.rd .hero-cta { padding-bottom: 8px; background: linear-gradient(currentColor, currentColor) no-repeat 50% 100% / 28px 1px; transition: background-size 0.5s var(--ease); }
.rd .hero-panel:hover .hero-cta { background-size: 100% 1px; }
.rd .hero-panel:hover img { transform: scale(1.045); }
.rd .hero-copy > * { animation: rd-rise 1s var(--ease) both; animation-delay: 0.55s; }
.rd .hero-copy > :nth-child(2) { animation-delay: 0.63s; }
.rd .hero-copy > :nth-child(3) { animation-delay: 0.71s; }
.rd .hero-copy > :nth-child(4) { animation-delay: 0.79s; }
@media (min-width: 701px) and (hover: hover) {
  .rd .hero-track { display: flex; }
  .rd .hero-panel { flex: 1 1 0; min-width: 0; transition: flex-grow 0.9s var(--ease); }
  .rd .hero-track:hover .hero-panel:hover { flex-grow: 1.45; }
  .rd .hero-track:hover .hero-panel:not(:hover)::after { background: rgb(0 0 0 / 0.5); }
  .rd .hero-track:hover .hero-panel:hover::after { background: rgb(0 0 0 / 0.2); }
}
@keyframes rd-hero-img { from { transform: scale(1.12); } }
@keyframes rd-hero-panel { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0); } }
@keyframes rd-rise { from { opacity: 0; transform: translateY(22px); } }

/* ---------- client logos ---------- */
.rd .clients { border-bottom: 1px solid var(--line); }
@media (hover: hover) and (pointer: fine) { .rd .marquee:hover .marquee-track { animation-play-state: paused; } }
.rd .logos img { transition: opacity 0.3s, filter 0.3s; }
.rd .logos img:hover { opacity: 1; }

/* ---------- home sections ---------- */
.rd main.home { counter-reset: sec; }
.rd .home-section { padding-top: clamp(72px, 9vw, 150px); }
.rd .section-head { max-width: 760px; margin-bottom: clamp(24px, 2.6vw, 44px); counter-increment: sec; }
.rd .section-head h2, .rd .about-copy h2 { font-size: calc(clamp(38px, 5vw, 84px) * var(--display-scale)); }
.rd .section-head p { margin-top: 16px; max-width: 46ch; font-size: 16px; }
.rd .more { position: relative; padding: 0; border: 0; background: none; gap: 12px; font-size: 11.5px; }
.rd .more::after { content: "\2192"; font-size: 15px; letter-spacing: 0; transition: transform 0.45s var(--ease); }
.rd .more::before { content: ""; position: absolute; left: 0; right: 0; bottom: 8px; height: 1px; background: currentColor; transform-origin: left; transition: transform 0.45s var(--ease); }
.rd .more:hover::after { transform: translateX(6px); }
.rd .more:hover::before { transform: scaleX(0); transform-origin: right; }
@media (min-width: 701px) {
  .rd .mode, .rd .featured, .rd .portfolio { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 24px; align-items: end; }
  .rd .mode > *, .rd .featured > *, .rd .portfolio > * { grid-column: 1 / -1; min-width: 0; }
  .rd .mode > .section-head, .rd .featured > .section-head { grid-column: 1; }
  .rd .mode > .more, .rd .featured > .more { grid-column: 2; grid-row: 1; margin: 0 0 clamp(24px, 2.6vw, 44px); }
  .rd .modes { gap: clamp(32px, 5vw, 96px); }
  .rd .mode + .mode { position: relative; }
  .rd .mode + .mode::before { content: ""; position: absolute; top: 0; bottom: 0; left: calc(clamp(32px, 5vw, 96px) / -2); width: 1px; background: var(--line); }
}

/* tiles and cards: image loads in softly, label with a travelling arrow */
.rd .tile-media, .rd .media, .rd .work-media { position: relative; overflow: hidden; }
.rd .tile-media img, .rd .media img { transition: transform 1.2s var(--ease), opacity 0.7s; }
.rd .tile:hover .tile-media img, .rd .card:hover .media img { transform: scale(1.05); }
.rd.js-rd img.rd-img { opacity: 0; }
.rd.js-rd img.rd-img.is-loaded { opacity: 1; }
.rd.js-rd .rd-wait::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(100deg, transparent 30%, rgb(255 255 255 / 0.55) 50%, transparent 70%) 0 0 / 250% 100%; animation: rd-shimmer 1.4s linear infinite; pointer-events: none; }
@keyframes rd-shimmer { from { background-position: 120% 0; } to { background-position: -130% 0; } }
.rd .tile-label { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 14px; padding-bottom: 12px; border-bottom: 1px solid var(--line); font-size: 11.5px; transition: border-color 0.4s; }
.rd .tile-label::after { content: "\2192"; font-size: 14px; letter-spacing: 0; opacity: 0; transform: translateX(-8px); transition: opacity 0.35s, transform 0.45s var(--ease); }
.rd .tile:hover .tile-label { border-color: var(--ink); }
.rd .tile:hover .tile-label::after { opacity: 1; transform: none; }
.rd .card-title { font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.rd .card { gap: 4px; }
.rd .collection h1 { font-size: calc(clamp(40px, 5vw, 80px) * var(--display-scale)); margin-top: 12px; }
.rd .related > h2 { font-size: calc(clamp(30px, 3.4vw, 52px) * var(--display-scale)); }
.rd .info h1 { font-size: calc(clamp(30px, 2.8vw, 44px) * var(--display-scale)); margin: 8px 0 14px; }
.rd .crumb { font-size: 10.5px; }

/* carousel controls (phone) */
.rd .carousel-prev, .rd .carousel-next { border-radius: 50%; border-color: var(--field-line); transition: background-color 0.25s, color 0.25s, border-color 0.25s; }
.rd .carousel-prev:not(:disabled):active, .rd .carousel-next:not(:disabled):active { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.rd .carousel-dots i { width: 14px; height: 1.5px; border-radius: 0; transition: width 0.4s var(--ease), background-color 0.3s; }
.rd .carousel-dots i.is-current { width: 34px; }

/* ---------- 3D designer band ---------- */
.rd .designer-intro { margin-top: clamp(80px, 9vw, 150px); background: #0e0e0e; color: #f1efea; --ink: #f1efea; --ink-soft: rgb(241 239 234 / 0.62); --bg: #0e0e0e; --on-ink: #0e0e0e; --line: rgb(255 255 255 / 0.16); overflow: hidden; }
.rd .designer-copy { padding: clamp(64px, 8vw, 140px) 0; }
.rd .designer-copy h2 { font-size: calc(clamp(44px, 6vw, 104px) * var(--display-scale)); margin: 18px 0 24px; }
.rd .designer-copy h2 em { font-style: italic; font-weight: 300; }
.rd .designer-copy > p:not(.micro) { max-width: 44ch; font-size: 16px; }
.rd .designer-links { margin-top: 36px; gap: 14px; }
.rd .designer-art { position: relative; align-self: stretch; display: grid; place-items: center; min-height: 320px; }
.rd .designer-art svg { width: min(100%, 560px); height: auto; overflow: visible; }
.rd .designer-art .tee { fill: none; stroke: currentColor; stroke-width: 1.2; stroke-linejoin: round; stroke-dasharray: 1600; stroke-dashoffset: 1600; }
.rd .designer-art.in .tee { animation: rd-draw 2.6s var(--ease) forwards; }
.rd .designer-art .zone { fill: none; stroke: currentColor; stroke-width: 1; stroke-dasharray: 5 6; animation: rd-march 1.6s linear infinite; opacity: 0.7; }
.rd .designer-art .handle { fill: #0e0e0e; stroke: currentColor; stroke-width: 1; }
.rd .designer-art .art { opacity: 0; transform-box: fill-box; transform-origin: center; }
.rd .designer-art.in .art { animation: rd-art 9s 1.6s var(--ease) infinite; }
.rd .designer-art.in .art.b { animation-delay: 4.6s; }
.rd .designer-art .orbit { fill: none; stroke: currentColor; stroke-width: 1; opacity: 0.35; stroke-dasharray: 2 7; }
.rd .designer-art text { fill: currentColor; font-family: var(--display); }
.rd .designer-art .tag { font: 600 9px var(--font); letter-spacing: 0.2em; opacity: 0.55; }
@keyframes rd-draw { to { stroke-dashoffset: 0; } }
@keyframes rd-march { to { stroke-dashoffset: -22; } }
@keyframes rd-art { 0% { opacity: 0; transform: scale(0.82) rotate(-6deg); } 8%, 30% { opacity: 1; transform: none; } 38%, 100% { opacity: 0; transform: scale(1.06); } }

/* ---------- about ---------- */
.rd .about { align-items: center; }
.rd .about-video { overflow: hidden; }
.rd .about-copy { background: none; color: inherit; --ink: inherit; color-scheme: inherit; }
.rd .about-scroll { position: static; padding: 0; overflow: visible; }
.rd .about-scroll h2 { margin-bottom: 28px; }
.rd .about-scroll p { font: 400 clamp(17px, 1.4vw, 21px) / 1.6 var(--font); }

/* ---------- portfolio: editorial grid + lightbox ---------- */
.rd .work-list { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(8px, 0.9vw, 16px); grid-auto-flow: dense; }
.rd .work { position: relative; display: block; width: 100%; height: 100%; min-height: 0; padding: 0; border: 0; background: none; color: #fff; text-align: left; cursor: zoom-in; overflow: hidden; }
.rd .work-media { aspect-ratio: 4 / 3; height: 100%; }
.rd .work-media img { transition: transform 1.4s var(--ease), opacity 0.7s, filter 0.6s; }
.rd .work::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgb(0 0 0 / 0.6), rgb(0 0 0 / 0) 46%); opacity: 0.85; transition: opacity 0.5s; pointer-events: none; }
.rd .work-label { position: absolute; z-index: 2; left: 18px; right: 18px; bottom: 16px; margin: 0; display: flex; align-items: baseline; gap: 12px; font-size: 11px; transform: translateY(6px); transition: transform 0.5s var(--ease); }
.rd .work-label::after { content: "+"; margin-left: auto; font: 300 22px/0.6 var(--font); letter-spacing: 0; opacity: 0; transform: rotate(-90deg); transition: opacity 0.4s, transform 0.6s var(--ease); }
.rd .work:hover .work-media img, .rd .work:focus-visible .work-media img { transform: scale(1.06); }
.rd .work:hover .work-label, .rd .work:focus-visible .work-label { transform: none; }
.rd .work:hover .work-label::after { opacity: 1; transform: none; }
.rd .work-list:has(.work:hover) .work:not(:hover) .work-media img { filter: grayscale(0.85) brightness(0.8); }
@media (min-width: 701px) {
  .rd .work-list > li:nth-child(1) { grid-column: span 2; grid-row: span 2; }
  .rd .work-list > li:nth-child(8) { grid-column: 3 / span 2; grid-row: 3 / span 2; }
  .rd .work-list > li:nth-child(11), .rd .work-list > li:nth-child(12) { grid-column: span 2; }
  .rd .work-list > li:nth-child(1) .work-media, .rd .work-list > li:nth-child(8) .work-media { aspect-ratio: auto; }
  .rd .work-list > li:nth-child(11) .work-media, .rd .work-list > li:nth-child(12) .work-media { aspect-ratio: 8 / 3; }
}
@media (max-width: 700px) {
  .rd .work-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rd .work-list > li:nth-child(5n + 1) { grid-column: span 2; }
  .rd .work-label { left: 12px; right: 12px; bottom: 10px; font-size: 10px; transform: none; }
}

.rd .lb { width: 100vw; max-width: none; height: 100vh; height: 100dvh; max-height: none; margin: 0; padding: 0; border: 0; background: #0b0b0b; color: #f1efea; overflow: hidden; }
.rd .lb::backdrop { background: #0b0b0b; }
.rd .lb[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; animation: rd-lb-in 0.45s var(--ease); }
@keyframes rd-lb-in { from { opacity: 0; transform: scale(1.02); } }
.rd .lb-bar { display: flex; align-items: center; gap: 20px; padding: 14px clamp(16px, 3vw, 40px); font: 600 11px/1 var(--font); letter-spacing: var(--track); text-transform: uppercase; }
.rd .lb-count b { font: 400 22px/1 var(--display); letter-spacing: 0; margin-right: 6px; }
.rd .lb-count { opacity: 0.9; }
.rd .lb-bar .sp { flex: 1; }
.rd .lb button { min-height: 44px; min-width: 44px; padding: 0 6px; border: 0; background: none; color: inherit; font: inherit; letter-spacing: inherit; text-transform: inherit; opacity: 0.75; transition: opacity 0.25s; }
.rd .lb button:hover { opacity: 1; }
.rd .lb :focus-visible { outline-color: #f1efea; }
.rd .lb-stage:focus { outline: 0; }
.rd .lb-stage { position: relative; display: grid; place-items: center; min-height: 0; padding: 0 clamp(8px, 6vw, 96px); touch-action: pan-y; }
.rd .lb-stage img { position: absolute; top: 0; left: clamp(8px, 6vw, 96px); width: calc(100% - 2 * clamp(8px, 6vw, 96px)); height: 100%; max-width: none; object-fit: contain; transition: opacity 0.45s, transform 0.7s var(--ease); user-select: none; -webkit-user-drag: none; }
.rd .lb-stage img.out { opacity: 0; transform: translateX(calc(var(--dir, 1) * -28px)); transition-duration: 0.2s; }
.rd .lb-stage img.pre { opacity: 0; transform: translateX(calc(var(--dir, 1) * 28px)); transition: none; }
.rd .lb-nav { position: absolute; top: 50%; translate: 0 -50%; width: 56px; height: 56px; border: 1px solid rgb(255 255 255 / 0.25) !important; border-radius: 50%; font-size: 18px !important; letter-spacing: 0 !important; background: rgb(11 11 11 / 0.4) !important; transition: background-color 0.3s, color 0.3s, opacity 0.25s; }
.rd .lb-nav:hover { background: #f1efea !important; color: #0b0b0b; }
.rd .lb-prev { left: clamp(8px, 2vw, 32px); }
.rd .lb-next { right: clamp(8px, 2vw, 32px); }
.rd .lb-foot { padding: 14px clamp(16px, 3vw, 40px) 18px; }
.rd .lb-cap { margin: 0 0 14px; font: var(--display-weight) calc(clamp(22px, 2.4vw, 34px) * var(--display-scale)) / 1.1 var(--display); letter-spacing: var(--display-track); text-transform: var(--display-case); }
.rd .lb-thumbs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.rd .lb-thumbs::-webkit-scrollbar { display: none; }
.rd .lb-thumbs button { flex: none; width: 72px; min-width: 72px; height: 54px; min-height: 0; padding: 0; opacity: 0.38; position: relative; }
.rd .lb-thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.rd .lb-thumbs button[aria-current="true"] { opacity: 1; }
.rd .lb-thumbs button[aria-current="true"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -5px; height: 1px; background: currentColor; }
.rd .lb-progress { position: absolute; left: 0; top: 0; height: 1px; width: 100%; background: #f1efea; transform: scaleX(0); transform-origin: left; }
.rd .lb.playing .lb-progress { animation: rd-progress var(--slide, 4s) linear forwards; }
@keyframes rd-progress { to { transform: scaleX(1); } }
@media (max-width: 700px) { .rd .lb-nav { display: none; } .rd .lb-thumbs button { width: 56px; min-width: 56px; height: 42px; } }

/* ---------- footer ---------- */
.rd .site-footer { position: relative; overflow: hidden; margin-top: clamp(80px, 9vw, 150px); border: 0; background: #0e0e0e; color: #f1efea; --ink: #f1efea; --ink-soft: rgb(241 239 234 / 0.58); --line: rgb(255 255 255 / 0.14); --logo-filter: brightness(0) invert(1); }
.rd .designer-intro + .site-footer, .rd main:not(.home) + .site-footer { margin-top: clamp(64px, 7vw, 120px); }
.rd .footer-inner { padding-top: clamp(40px, 4vw, 64px); padding-bottom: clamp(24px, 3vw, 40px); }
.rd .footer-col h2 { margin-bottom: 16px; color: var(--ink-soft); font-size: 10.5px; }
.rd .footer-col ul { font-size: 14.5px; color: var(--ink); }
.rd .footer-col a { background: linear-gradient(currentColor, currentColor) no-repeat 0 78% / 0 1px; transition: background-size 0.45s var(--ease); min-width: 0; }
.rd .footer-col a:hover { background-size: 100% 1px; }
.rd .footer-brand p { font: 300 calc(22px * var(--display-scale)) / 1.35 var(--display); color: var(--ink); max-width: 24ch; }
/* the name fills the width on one line: 100cqw divided by its width in em; the small surplus keeps the ink off the edge. The line box is about the height of the capitals. */
.rd .footer-bottom { max-width: none; margin: 0 var(--gutter); padding: 0 0 calc(22px + env(safe-area-inset-bottom, 0px)); border: 0; container-type: inline-size; }
.rd .footer-copy { margin: 0 0 clamp(14px, 1.4vw, 24px); font: 500 12px/1.4 var(--font); color: var(--ink-soft); }
.rd .footer-wordmark { margin: 0; font: 800 calc(100cqw / (var(--one) + 0.06))/0.72 "Syne", var(--font); letter-spacing: -0.035em; text-transform: uppercase; white-space: nowrap; color: #f1efea; }
.rd .wordmark-probe { position: absolute; visibility: hidden; width: max-content; }
@media (max-width: 700px) { /* a phone is too narrow for this wide face: the same single line, twice as tall, so it keeps its weight */
  .rd .footer-bottom { margin: 0 12px; padding-bottom: calc(30px + env(safe-area-inset-bottom, 0px)); }
  .rd .footer-copy { margin-left: 8px; }
  .rd .footer-wordmark { margin-top: calc(0.72em + 16px); transform: scaleY(2); transform-origin: 0 100%; }
}

/* ---------- buttons ---------- */
.rd .btn, .rd .btn-outline { position: relative; border-radius: 0; font-size: 11.5px; letter-spacing: var(--track); transition: color 0.45s var(--ease), background-size 0.45s var(--ease), border-color 0.3s, opacity 0.3s; }
.rd .btn { min-height: 54px; background: linear-gradient(var(--ink), var(--ink)) no-repeat 0 0 / 100% 100% transparent; }
.rd .btn:not(:disabled):hover { background-size: 100% 0; color: var(--ink); }
.rd .btn-outline:not(.more) { min-height: 48px; padding: 0 26px; background: linear-gradient(var(--ink), var(--ink)) no-repeat 0 100% / 100% 0 transparent; }
.rd .btn-outline:not(.more, :disabled):hover { background-size: 100% 100%; color: var(--on-ink); }
.rd a.btn-outline:not(.more) { display: inline-flex; align-items: center; }
.rd .btn.btn-secondary { background: linear-gradient(var(--ink), var(--ink)) no-repeat 0 100% / 100% 0 transparent; color: var(--ink); }
.rd .btn.btn-secondary:not(:disabled):hover { background-size: 100% 100%; color: var(--on-ink); }
.rd .btn:active, .rd .btn-outline:active { transform: translateY(1px); }

/* ---------- form controls: one quiet, modern family ---------- */
.rd :is(main, dialog, #designer-controls, #designer-host) :is(input[type=text], input[type=email], input[type=tel], input[type=search], input[type=number]:not(.qin, .cell), select, textarea) {
  min-height: 50px; padding: 0 14px; border: 1px solid var(--field-line); border-radius: 2px; background-color: var(--bg); color: var(--ink); font: inherit; font-size: 15px;
  transition: border-color 0.25s, box-shadow 0.25s, background-color 0.25s; }
.rd :is(main, dialog, #designer-controls) textarea { padding: 14px; line-height: 1.6; }
.rd :is(main, dialog, #designer-controls, #designer-host) :is(input, select, textarea):not([type=checkbox], [type=radio], [type=range], [type=file], [type=color]):hover { border-color: var(--ink-soft); }
.rd :is(main, dialog, #designer-controls, #designer-host) :is(input, select, textarea):not([type=checkbox], [type=radio], [type=range], [type=file], [type=color]):focus-visible { outline: 0; border-color: var(--ink); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ink) 12%, transparent); }
.rd :is(main, dialog, #designer-controls, #designer-host) select { appearance: none; -webkit-appearance: none; padding-right: 42px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23888' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 15px center; }
.rd ::placeholder { color: var(--ink-soft); opacity: 0.7; }
.rd :is(main, dialog) input[type=checkbox], .rd :is(main, dialog) input[type=radio] { appearance: none; -webkit-appearance: none; display: inline-grid; place-content: center; flex: none; width: 22px; height: 22px; margin: 11px; border: 1.5px solid var(--field-line); border-radius: 2px; background: var(--bg); cursor: pointer; transition: background-color 0.2s, border-color 0.2s; }
.rd :is(main, dialog) input[type=radio] { border-radius: 50%; }
.rd :is(main, dialog) :is(input[type=checkbox], input[type=radio])::before { content: ""; width: 12px; height: 12px; background: var(--on-ink); clip-path: polygon(12% 52%, 0 66%, 38% 100%, 100% 22%, 86% 10%, 37% 70%); transform: scale(0); transition: transform 0.25s var(--ease); }
.rd :is(main, dialog) input[type=radio]::before { width: 8px; height: 8px; border-radius: 50%; clip-path: none; }
.rd :is(main, dialog) :is(input[type=checkbox], input[type=radio]):checked { background: var(--ink); border-color: var(--ink); }
.rd :is(main, dialog) :is(input[type=checkbox], input[type=radio]):checked::before { transform: scale(1); }
.rd .opt input { margin: 0; width: 100%; height: 100%; border: 0; }
.rd .opt input::before { display: none; }
.rd input[type=range] { -webkit-appearance: none; appearance: none; height: 28px; background: none; cursor: pointer; }
.rd input[type=range]::-webkit-slider-runnable-track { height: 2px; background: var(--field-line); }
.rd input[type=range]::-moz-range-track { height: 2px; background: var(--field-line); }
.rd input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; margin-top: -8px; border: 0; border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 4px var(--bg); transition: transform 0.2s; }
.rd input[type=range]::-moz-range-thumb { width: 18px; height: 18px; border: 0; border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 4px var(--bg); }
.rd input[type=range]:active::-webkit-slider-thumb { transform: scale(1.2); }
.rd input[type=file]::file-selector-button { min-height: 44px; margin-right: 14px; padding: 0 18px; border: 1px solid var(--ink); border-radius: 0; background: var(--bg); color: var(--ink); font: 600 11px var(--font); letter-spacing: var(--track); text-transform: uppercase; cursor: pointer; transition: background-color 0.3s, color 0.3s; }
.rd input[type=file]::file-selector-button:hover { background: var(--ink); color: var(--on-ink); }
.rd label, .rd legend { letter-spacing: 0.02em; }

/* option chips, swatches, accordions */
.rd .size { min-width: 54px; min-height: 46px; border-color: var(--field-line); border-radius: 2px; font-size: 12px; letter-spacing: 0.1em; transition: background-color 0.25s, border-color 0.25s, color 0.25s; }
.rd .size:hover { border-color: var(--ink); }
.rd .swatch .dot { transition: transform 0.3s var(--ease); }
.rd .swatch:hover .dot { transform: scale(1.1); }
.rd .swatch:has(input:checked) { box-shadow: inset 0 0 0 1.5px var(--ink); }
.rd .swatch:has(input:checked) .dot { transform: scale(0.86); }
.rd .thumb { transition: border-color 0.25s, opacity 0.25s; opacity: 0.7; }
.rd .thumb:hover, .rd .thumb.is-active { opacity: 1; }
.rd summary { min-height: 58px; font-size: 11.5px; transition: padding 0.4s var(--ease); }
.rd summary:hover { padding-left: 6px; }
.rd summary::after { content: ""; width: 11px; height: 11px; background: linear-gradient(currentColor, currentColor) center / 100% 1px no-repeat, linear-gradient(currentColor, currentColor) center / 1px 100% no-repeat; transition: transform 0.5s var(--ease); }
.rd details[open] summary::after { content: ""; transform: rotate(135deg); }
.rd details::details-content { block-size: 0; overflow: clip; transition: block-size 0.5s var(--ease), content-visibility 0.5s allow-discrete; }
.rd details[open]::details-content { block-size: auto; }
.rd .toolbar { border-color: var(--line); }
.rd .sort-control select { min-height: 44px; border-color: transparent; font-size: 13px; font-weight: 600; }

/* ---------- scroll reveal ---------- */
.rd.js-rd .rv { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 1.1s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
.rd.js-rd .rv.in { opacity: 1; transform: none; }
.rd.js-rd .section-head.rv h2 { clip-path: inset(0 0 100% 0); transform: translateY(0.35em); transition: clip-path 1s var(--ease) 0.1s, transform 1s var(--ease) 0.1s; }
.rd.js-rd .section-head.rv.in h2 { clip-path: inset(-0.2em 0 -0.25em 0); transform: none; }

/* ---------- phone ---------- */
@media (max-width: 700px) {
  .rd .site-header.is-scrolled { height: 56px; }
  .rd .announcement { font-size: 9px; letter-spacing: 0.1em; }
  .rd .site-menu { padding: 8px var(--gutter) 28px; height: calc(100dvh - 100%); overflow-y: auto; border: 0; }
  .rd.js .menu-open .site-menu { animation: rd-menu 0.5s var(--ease); }
  @keyframes rd-menu { from { opacity: 0; transform: translateY(-10px); } }
  .rd .site-nav { align-items: stretch; gap: 0; }
  .rd .site-nav > a, .rd .nav-drop { min-height: 62px; width: 100%; justify-content: space-between; border-bottom: 1px solid var(--line); font: var(--display-weight) calc(30px * var(--display-scale)) / 1 var(--display); letter-spacing: var(--display-track); text-transform: var(--display-case); }
  .rd .site-nav > a::after, .rd .nav-drop::after { display: none; }
  .rd .nav-panel { position: static; min-width: 0; padding: 0 0 0 16px; box-shadow: none; opacity: 1; visibility: visible; transform: none; overflow: hidden; max-height: 0; transition: max-height 0.5s var(--ease); }
  .rd .nav-drop[aria-expanded="true"] + .nav-panel { max-height: 400px; }
  .rd .nav-group:hover .nav-drop svg { transform: none; }
  .rd .nav-drop[aria-expanded="true"] svg { transform: rotate(180deg); }
  .rd .nav-panel a span { font-size: calc(21px * var(--display-scale)); }
  .rd .site-tools { padding-top: 20px; }
  .rd .hero-title { font-size: calc(clamp(40px, 12vw, 60px) * var(--display-scale)); }
  .rd .home-section { padding-top: 76px; }
  .rd .more { margin-top: 18px; }
  .rd .rail-list > li { flex-basis: 72vw; }
  .rd .designer-art { min-height: 0; padding: 0 0 56px; }
  .rd .designer-art svg { width: 78%; }
  .rd .about-copy { height: auto; }
  .rd .footer-brand p { font-size: calc(20px * var(--display-scale)); }
}

@media (prefers-reduced-motion: reduce) {
  .rd *, .rd *::before, .rd *::after { animation-duration: 0.01s !important; animation-iteration-count: 1 !important; transition-duration: 0.01s !important; }
  .rd.js-rd .rv, .rd.js-rd .section-head.rv h2 { opacity: 1; transform: none; clip-path: none; }
  .rd .designer-art .tee { stroke-dashoffset: 0; }
  .rd .designer-art .art.a { opacity: 1; }
}

/* the two shop modes share one line of title so their grids start level */
.rd .mode .section-head h2 { font-size: calc(clamp(34px, 3.6vw, 60px) * var(--display-scale)); white-space: nowrap; }
@media (max-width: 700px) { .rd .mode .section-head h2 { white-space: normal; } }


/* ==== 3D designer workspace ==== */
.rd .ws-bar h2 { font: 700 13px/1.2 var(--font); letter-spacing: var(--track); text-transform: uppercase; }
.rd .ws-bar h2:focus { outline: 0; }
.rd #designer-panel.workspace:not([hidden]) { border-color: var(--line); }
.rd #designer-host .dz [data-d=view] { background: radial-gradient(120% 90% at 50% 40%, #f4f3f1, #e2e0dc); }
.rd #designer-host .dz [data-d=overlay] .o { stroke: #111; stroke-width: 1.25; }
.rd #designer-host .dz [data-d=overlay] .h { fill: #fff; stroke-width: 1.5; }
.rd #designer-host .dz [data-d=view]:focus-visible { outline: 1.5px solid #111; outline-offset: -2px; }
.rd .ws-tabs button { font-size: 10.5px; letter-spacing: 0.14em; transition: color 0.25s, box-shadow 0.3s; }
.rd #designer-controls .dz { font-family: var(--font); color: var(--ink); }
.rd #designer-controls .dz fieldset { border: 0; border-radius: 0; padding: 0; }
.rd #designer-controls .dz button { border-radius: 0; transition: background-color 0.25s, color 0.25s, border-color 0.25s; }
.rd #designer-controls .dz button:not(:disabled):hover { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.rd #designer-controls .dz .font-sample { border-radius: 0; border-style: solid; border-color: var(--line); }
.rd .ws-sw { border-color: var(--field-line); border-radius: 2px; transition: border-color 0.25s, box-shadow 0.25s; }
.rd .qrow button { transition: background-color 0.2s, color 0.2s; }

/* the dock: layer, position, size, rotation and the quick actions sit inside the garment frame, so every change is seen as it is made */
.ws-dock { flex: none; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 8px 6px; padding: 10px 12px 12px; background: var(--bg); border-top: 1px solid var(--line); font: 600 11px/1 var(--font); }
.ws-dock[hidden] { display: none; }
.ws-dock > .ws-seg { grid-column: 1 / 11; grid-row: 1; }
.ws-dock-modes { grid-column: 1 / -1; grid-row: 2; display: flex; gap: 6px; }
.ws-dock-slider { grid-column: 1 / -1; grid-row: 3; }
.ws-dock [data-d=tools] { display: contents; }
.ws-dock-modes button { flex: 1 1 auto; min-width: 0; min-height: 38px; padding: 0 6px; border: 1px solid var(--field-line); border-radius: 2px; background: none; color: var(--ink); font: inherit; font-size: 10.5px; letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap; }
.ws-dock-modes button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--on-ink); }
.ws-dock label.slider { display: none; margin: 0; }
.ws-dock label.slider.on { display: grid; grid-template-columns: minmax(0, 1fr) auto 60px; align-items: center; gap: 10px; min-height: 44px; }
.ws-dock label.slider > span:first-child { display: none; }
.ws-dock .track { display: contents; }
.ws-dock label.slider input[type=range] { width: 100%; height: 44px; margin: 0; }
.ws-dock label.slider input[type=number] { width: 60px; min-height: 40px !important; padding: 0 2px !important; border: 0 !important; border-bottom: 1px solid var(--field-line) !important; border-radius: 0 !important; background: none; color: var(--ink); text-align: center; font: 600 13px var(--font) !important; }
.ws-dock .zero-mid { min-width: 40px; min-height: 40px; padding: 0; border: 1px solid var(--field-line); border-radius: 50%; background: none; color: var(--ink); font: inherit; }
.ws-dock [data-d=tools] > button { grid-row: 4; grid-column: span 2; display: grid; justify-items: center; align-content: center; gap: 5px; min-width: 0; min-height: 52px; padding: 0 2px; overflow: hidden; border: 1px solid var(--field-line); border-radius: 2px; background: var(--bg); color: var(--ink); font-size: 0; }
.ws-dock [data-d=tools] > button::before { font: 400 18px/1 var(--font); }
.ws-dock [data-d=tools] > button::after { max-width: 100%; overflow: hidden; font: 600 clamp(7px, 2.05vw, 8.5px)/1 var(--font); letter-spacing: 0; text-transform: uppercase; color: var(--ink-soft); }
.ws-dock [data-d=tools] > button:disabled, .ws-dock .zero-mid:disabled { opacity: 0.35; }
.ws-dock [data-d=tools] > button[aria-pressed="true"], .ws-dock [data-d=tools] > button:active:not(:disabled) { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.ws-dock [data-d=tools] > button[aria-pressed="true"]::after, .ws-dock [data-d=tools] > button:active:not(:disabled)::after { color: inherit; }
.ws-dock [data-d=reduce] { order: 1; } .ws-dock [data-d=enlarge] { order: 2; } .ws-dock [data-d=flipX] { order: 3; } .ws-dock [data-d=flipY] { order: 4; } .ws-dock [data-d=resetScale] { order: 5; }
.ws-dock [data-d=reduce]::before { content: "\2212"; } .ws-dock [data-d=reduce]::after { content: "Σμίκρυνση"; }
.ws-dock [data-d=enlarge]::before { content: "+"; } .ws-dock [data-d=enlarge]::after { content: "Μεγέθυνση"; }
.ws-dock [data-d=flipX]::before { content: "\21C4"; } .ws-dock [data-d=flipX]::after { content: "Οριζόντια"; }
.ws-dock [data-d=flipY]::before { content: "\21C5"; } .ws-dock [data-d=flipY]::after { content: "Κάθετα"; }
.ws-dock [data-d=resetScale]::before { content: "1:1"; font-size: 13px !important; font-weight: 700 !important; } .ws-dock [data-d=resetScale]::after { content: "Αρχικό"; }
:lang(en) .ws-dock [data-d=reduce]::after { content: "Smaller"; } :lang(en) .ws-dock [data-d=enlarge]::after { content: "Larger"; } :lang(en) .ws-dock [data-d=flipX]::after { content: "Flip H"; } :lang(en) .ws-dock [data-d=flipY]::after { content: "Flip V"; } :lang(en) .ws-dock [data-d=resetScale]::after { content: "Reset"; }
.ws-dock [data-d=tools] > [data-d=remove] { grid-row: 1; grid-column: 11 / -1; min-height: 40px; }
.ws-dock [data-d=remove]::before { content: "\2715"; font-size: 14px !important; }
.ws-dock [data-d=remove]::after { content: none !important; }
.ws-dock [data-d=tools] [hidden] { display: none; }
.ws-dock [data-d=confirm] { grid-row: 1; grid-column: 1 / -1; z-index: 1; display: flex; align-items: center; gap: 8px; padding-left: 4px; background: var(--bg); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; }
.ws-dock [data-d=confirm] > span { flex: 1; }
.ws-dock [data-d=confirm] button { flex: 0 0 84px; min-height: 40px; padding: 0 4px; border: 1px solid var(--ink); border-radius: 2px; background: var(--bg); color: var(--ink); font: inherit; text-transform: inherit; }
.ws-dock [data-d=confirm] [data-d=removeYes] { background: var(--ink); color: var(--on-ink); }

/* image / text switch (replaces the small "edit" select) */
.ws-seg { display: flex; min-height: 40px; border: 1px solid var(--field-line); border-radius: 2px; }
.ws-seg button { flex: 1 1 0; min-height: 0; padding: 0 8px; border: 0; border-radius: 0; background: none; color: var(--ink-soft); font: 600 10.5px/1 var(--font); letter-spacing: 0.1em; text-transform: uppercase; }
.ws-seg button[aria-pressed="true"] { background: var(--ink); color: var(--on-ink); }
.rd #designer-controls .dz .ws-seg { margin: 12px 0 4px; }
.rd #designer-controls .dz .ws-seg button:hover { background: none; color: var(--ink); }
.rd #designer-controls .dz .ws-seg button[aria-pressed="true"]:hover { background: var(--ink); color: var(--on-ink); }
.rd #designer-controls .dz label:has(> [data-d=layer]) { display: none; }

/* designer panel: captions above full-width controls, no cramped inline selects, no number spinners */
.rd input[type=number] { -moz-appearance: textfield; appearance: textfield; }
.rd input[type=number]::-webkit-outer-spin-button, .rd input[type=number]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.rd #designer-controls .dz [data-d=panel] { gap: 22px; }
.rd #designer-controls .dz legend { margin-bottom: 10px; padding: 0; font: 700 11px/1.4 var(--font); letter-spacing: var(--track); text-transform: uppercase; }
.rd #designer-controls .dz label:not(.slider) { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; margin: 12px 0 0; font: 600 10.5px/1.4 var(--font); letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); }
.rd #designer-controls .dz label:not(.slider) :is(select, input[type=text], input[type=search], input[type=number]) { width: 100%; flex: none; font: 400 15px var(--font); letter-spacing: 0; text-transform: none; color: var(--ink); }
.rd #designer-controls .dz label:has(> input[type=checkbox]) { display: flex; align-items: center; text-transform: none; letter-spacing: 0; font-size: 14px; font-weight: 400; color: var(--ink); }
.rd #designer-controls .dz .row.fill { align-items: end; gap: 8px; margin-top: 8px; }
.rd #designer-controls .dz .row.fill > label:first-child { margin: 0; }
.rd #designer-controls .dz .row.fill > button { min-height: 50px; }
.rd #designer-controls .dz .row.fill > input[type=color] { width: 50px; height: 50px; padding: 3px; border: 1px solid var(--field-line); border-radius: 2px; background: var(--bg); }
.rd #designer-controls .dz .pair { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 8px; }
.rd #designer-controls .dz [data-d=fileChoose] { min-height: 56px; border: 1px dashed var(--ink); background: var(--soft); color: var(--ink); font: 700 11px var(--font); letter-spacing: var(--track); text-transform: uppercase; }
.rd #designer-controls .dz [data-d=fileChoose]::before { content: "+"; margin-right: 10px; font: 400 18px/0 var(--font); vertical-align: -1px; }
.rd #designer-controls .dz :is([data-d=removeArt], [data-d=removeText]) { border: 1px solid var(--field-line); background: none; color: var(--ink); font: 600 10.5px var(--font); letter-spacing: 0.08em; text-transform: uppercase; }
.rd #designer-controls .dz :is([data-d=removeArt], [data-d=removeText]):disabled { opacity: 0.35; }
.rd #designer-controls .dz .file-name { font-size: 13px; color: var(--ink-soft); }
.rd #designer-controls .dz .icon { width: 50px; min-width: 50px; min-height: 50px; border: 1px solid var(--field-line); background: none; color: var(--ink); font-size: 17px; }
.rd #designer-controls .dz label.slider { grid-template-columns: 5.5rem minmax(0, 1fr) 72px; font: 600 10.5px/1.3 var(--font); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); }
.rd #designer-controls .dz label.slider input[type=number] { text-align: center; padding: 0 4px; }
.rd #designer-controls .dz [data-d=tools] button { min-height: 46px; border: 1px solid var(--field-line); background: none; color: var(--ink); font: 600 10.5px var(--font); letter-spacing: 0.08em; text-transform: uppercase; }
.rd #designer-controls .dz [data-d=tools] button[aria-pressed="true"] { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }

/* owner decision 2026-11-13: static test / indicative disclaimers are not shown (storefront/site.js marks them .rd-quiet); outcome messages stay */
.rd .rd-quiet, .rd #ws-family-note, .rd #designer-controls .dz .est, .rd #designer-controls .dz [data-d=note] { display: none !important; }

/* B2B product page: every colour photograph under the main image */
.rd .rd-colour-photos { display: flex; gap: 8px; margin-top: 12px; overflow-x: auto; scroll-behavior: smooth; scrollbar-width: none; }
.rd .rd-colour-photos::-webkit-scrollbar { display: none; }
.rd .rd-colour-photos button { flex: 0 0 76px; }
.rd .rd-colour-photos button { position: relative; min-height: 0; padding: 0; border: 0; background: var(--image); aspect-ratio: 4 / 5; overflow: hidden; opacity: 0.72; transition: opacity 0.25s, box-shadow 0.25s; }
.rd .rd-colour-photos button img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.rd .rd-colour-photos button:hover, .rd .rd-colour-photos button[aria-pressed="true"] { opacity: 1; }
.rd .rd-colour-photos button[aria-pressed="true"] { box-shadow: inset 0 0 0 1.5px var(--ink); }
.rd .rd-colour-name { margin: 10px 0 0; font: 600 11px/1.4 var(--font); letter-spacing: var(--track); text-transform: uppercase; color: var(--ink-soft); }
@media (max-width: 700px) { .rd .rd-colour-photos { margin-right: calc(-1 * var(--gutter)); } .rd .rd-colour-photos button { flex-basis: 64px; } }

@media (max-width: 800px) {
  /* phone order: bar, tabs, the tall garment frame with its dock, then the open section */
  .rd .ws-side { display: contents; }
  .rd .ws-tabs { order: -2; position: sticky; top: 0; z-index: 3; background: var(--bg); }
  .rd .ws-view { order: -1; height: 80vh; height: 80dvh; min-height: 480px; border-bottom: 1px solid var(--line); }
  .rd .ws-view:not(:has(.ws-dock:not([hidden]))) { height: 62vh; height: 62dvh; min-height: 360px; }
  .rd .ws-sections { border-top: 0; }
  .rd .ws-tabs button { min-height: 50px; }
  .rd #designer-controls .dz .hint:not([data-d]) { display: none; }
  .rd #ws-family-note { order: 3; margin: 0; padding: 6px 12px; font-size: 10.5px; line-height: 1.35; border-top: 1px solid var(--line); }
}

.rd #designer-host .dz [data-d=overlay] { overflow: hidden; }


/* gallery arrows on the product photograph (click or tap); the strip under it is one row */
.rd .gallery-main { position: relative; }
.rd .rd-gal-nav { position: absolute; top: 50%; z-index: 2; translate: 0 -50%; width: 46px; height: 46px; min-height: 0; padding: 0; border: 0; border-radius: 50%; background: color-mix(in srgb, var(--bg) 86%, transparent); color: var(--ink); font: 400 18px/1 var(--font); box-shadow: 0 2px 14px rgb(0 0 0 / 0.12); transition: background-color 0.25s, color 0.25s, transform 0.25s; }
.rd .rd-gal-nav:hover { background: var(--ink); color: var(--on-ink); }
.rd .rd-gal-nav:active { transform: scale(0.94); }
.rd .rd-gal-prev { left: 12px; } .rd .rd-gal-next { right: 12px; }
.rd #main-image { transition: opacity 0.25s; }
.rd #main-image.rd-swap { opacity: 0; }

/* header: the menu sits in the middle of the bar, not against the logo */
@media (min-width: 701px) { .rd .site-nav { flex: 1; justify-content: center; } .rd .site-tools { margin-left: 0; } }
@media (min-width: 701px) and (max-width: 1279px) { .rd .site-header { gap: 18px; } .rd .site-nav { gap: clamp(13px, 1.5vw, 20px); } .rd .site-nav > a, .rd .nav-drop { font-size: 11px; letter-spacing: 0.06em; } }
@media (min-width: 1020px) and (max-width: 1099px) { .rd .site-header { gap: 10px; padding-inline: 1.5rem; } .rd .site-tools { gap: 8px; } }
@media (min-width: 701px) and (max-width: 1019px) { /* two rows: the menu has its own */
  .rd .site-header, .rd .site-header.is-scrolled { height: auto; flex-wrap: wrap; row-gap: 0; padding-block: 6px 0; }
  .rd .site-menu { display: contents; }
  .rd .site-nav { order: 9; flex: 1 0 100%; gap: 20px; }
  .rd .site-tools { margin-left: auto; }
}
@media (min-width: 1500px) { .rd .site-nav { position: absolute; left: 50%; translate: -50% 0; flex: none; } .rd .site-tools { margin-left: auto; } }

/* hero: the text block keeps one width, so titles never re-wrap while the panels grow and shrink */
@media (min-width: 701px) and (hover: hover) {
  .rd .hero-copy { inset: 0 auto 0 50%; width: 26vw; translate: -50% 0; padding-inline: 0; }
}

/* instant search: opens over the header, results as you type */
.rd .site-header { z-index: 40; }
.rd-search { position: absolute; inset: 0; z-index: 60; display: flex; align-items: center; gap: 12px; padding: 0 var(--gutter); background: var(--bg); animation: rd-search-in 0.3s var(--ease); }
.rd-search[hidden] { display: none; }
@keyframes rd-search-in { from { opacity: 0; transform: translateY(-8px); } }
.rd-search svg { flex: none; }
.rd-search input { flex: 1; min-width: 0; height: 100%; padding: 0; border: 0; outline: 0; background: none; color: var(--ink); font: 500 clamp(17px, 1.6vw, 22px) var(--font); }
.rd-search input::-webkit-search-cancel-button { display: none; }
.rd-search-close { flex: none; min-width: 44px; min-height: 44px; padding: 0 4px; border: 0; background: none; color: var(--ink); font: 600 11px var(--font); letter-spacing: var(--track); text-transform: uppercase; }
.rd-search-list { position: absolute; top: 100%; left: 0; right: 0; max-height: min(70vh, 560px); overflow-y: auto; margin: 0; padding: 6px var(--gutter) 14px; list-style: none; background: var(--bg); border-top: 1px solid var(--line); box-shadow: 0 30px 50px -30px rgb(0 0 0 / 0.35); }
.rd-search-list:empty { display: none; }
.rd-search-list a { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 8px; border-bottom: 1px solid var(--line); }
.rd-search-list li:last-child a { border-bottom: 0; }
.rd-search-list a[aria-selected="true"], .rd-search-list a:hover { background: var(--soft); }
.rd-search-list img { width: 52px; height: 64px; object-fit: cover; object-position: 50% 15%; background: var(--image); }
.rd-search-list b { display: block; font: 700 13px/1.3 var(--font); letter-spacing: 0.06em; text-transform: uppercase; }
.rd-search-list small { display: block; margin-top: 3px; font-size: 12px; color: var(--ink-soft); }
.rd-search-list mark { background: none; color: inherit; box-shadow: inset 0 -0.55em 0 color-mix(in srgb, var(--ink) 14%, transparent); }
.rd-search-list .go { font-size: 16px; color: var(--ink-soft); }
.rd-search-list .none { padding: 18px 8px; color: var(--ink-soft); font-size: 14px; }
.rd-search-open { display: none; }
@media (max-width: 700px) {
  .rd-search-open { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; margin-left: auto; padding: 0; border: 0; border-radius: 50%; background: none; color: inherit; }
  .rd .rd-search-open + .basket-link { margin-left: 0; }
  .rd .site-menu .search-link { display: none; }
}
.rd .rd-search input:focus-visible { outline: 0; }

/* product pages: photo strip and colour row scroll inside their own box; arrows stay readable on any photograph and in both themes */
.rd .rd-colour-photos, .rd .rd-swatch-row { position: relative; }
.rd .rd-gal-nav { border: 1px solid rgb(0 0 0 / 0.12); background: #fff; color: #111; }
.rd .rd-gal-nav:hover { background: #111; color: #fff; }
@media (min-width: 1000px) { .rd main.product:not(.quote-only) .gallery-main { width: fit-content; max-width: 100%; } }
.rd .rd-swatch-wrap { display: flex; align-items: center; gap: 4px; margin-bottom: 8px; }
.rd .rd-swatch-row { flex: 1; min-width: 0; display: flex; gap: 4px; padding: 3px 2px; overflow-x: auto; scrollbar-width: none; }
.rd .rd-swatch-row::-webkit-scrollbar { display: none; }
.rd .rd-swatch-row .opt { flex: none; margin: 0; }
.rd .rd-swatch-nav { flex: none; width: 36px; height: 36px; min-height: 0; padding: 0; border: 1px solid var(--field-line); border-radius: 50%; background: none; color: var(--ink); font: 400 14px/1 var(--font); transition: background-color 0.25s, color 0.25s, border-color 0.25s; }
.rd .rd-swatch-nav:hover { background: var(--ink); border-color: var(--ink); color: var(--on-ink); }
.rd #qo-thumbs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
.rd #qo-thumbs::-webkit-scrollbar { display: none; }
.rd #qo-thumbs .thumb { flex: none; }
.rd .qin::placeholder { color: var(--ink); opacity: 1; } /* an untouched size reads 0, the same as one stepped back to 0 */

/* product pages below the two-column layout: the title and its brand / code line sit right under the trail, above the photograph (the info box dissolves so its parts can be ordered) */
@media (max-width: 999px) {
  .rd main.product .product-grid { display: flex; flex-direction: column; gap: 0; }
  .rd main.product .product-grid > :not(.info) { margin-bottom: 24px; }
  .rd main.product .info { display: contents; }
  .rd main.product .info > h1 { order: -3; margin: 0 0 6px; font-size: calc(clamp(26px, 7vw, 34px) * var(--display-scale)); }
  .rd main.product .info > .micro:first-child { order: -2; margin: 0 0 10px; }
  .rd main.product .info > .retail-price { order: -2; margin: 0 0 18px; }
  .rd main.product .info:not(:has(> .retail-price)) > .micro:first-child { margin-bottom: 18px; }
  .rd main.product .info > #size-group { margin-top: 22px; }
  .rd main.product .crumb { margin-bottom: 2px; }
  /* the colour choice sits right under the photographs: pick a colour, its photographs show above */
  .rd main.product .product-grid > .gallery { order: -1; margin-bottom: 14px; }
  .rd main.product .info > #colour-group { order: -1; margin-bottom: 22px; }
}

/* retail price under the product title */
.rd .retail-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin: 0 0 16px; }
.rd .retail-price .amount { font: 700 clamp(22px, 2vw, 28px)/1.1 var(--font); letter-spacing: -0.01em; }
.rd .retail-price .note { margin: 0; font-size: 12.5px; }

/* L01: centre action in the phone dock (the X / Y rows are gone; position is set by dragging on the garment) */
.ws-dock [data-d=centre] { order: 5; } .ws-dock [data-d=resetScale] { order: 6; }
.ws-dock [data-d=centre]::before { content: "\2295"; } .ws-dock [data-d=centre]::after { content: "Κέντρο"; }
:lang(en) .ws-dock [data-d=centre]::after { content: "Centre"; }
.rd #designer-controls .dz .grid2 [data-d=remove] { grid-column: 1 / -1; }

/* L01: footer logo sits a little higher; the slogan under it */
.rd .footer-logo { margin-top: -14px; }
.rd .footer-brand .footer-slogan { margin: 14px 0 0; font: 700 12px/1.3 "Syne", var(--font); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink); }

/* L01: printing and embroidery, text-led */
.rd .services .section-head { margin-bottom: clamp(20px, 2.4vw, 36px); }
.rd .service-list { list-style: none; margin: 0 0 clamp(24px, 2.6vw, 40px); padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 56px); }
.rd .service-list li { padding-top: 18px; border-top: 1px solid var(--ink); }
.rd .service-list h3 { margin: 0 0 10px; font: 700 13px/1.3 var(--font); letter-spacing: var(--track); text-transform: uppercase; }
.rd .service-list p { margin: 0; max-width: 38ch; color: var(--ink-soft); }
@media (max-width: 700px) { .rd .service-list { grid-template-columns: minmax(0, 1fr); gap: 22px; } }
/* L01: six tools in two rows of three on the phone dock, so every caption fits */
.ws-dock [data-d=tools] > button:not([data-d=remove]) { grid-row: auto; grid-column: span 4; }
.rd .footer-brand .footer-slogan { max-width: none; }
.rd #designer-controls .dz .ws-seg button[aria-pressed="true"] { background: var(--ink); color: var(--on-ink); } /* the selected layer reads as selected in the desktop panel too */

/* supplier catalogues: cover grid and full-screen viewer */
.rd .catalogues .intro { max-width: 56ch; }
.cat-groups { --cols: 2; --gap: 16px; display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); gap: clamp(48px, 5vw, 88px) var(--gap); margin-top: clamp(28px, 3.4vw, 56px); }
.cat-group { grid-column: 1 / -1; display: grid; grid-template-columns: subgrid; align-content: start; }
.cat-small { grid-column: span var(--n); }
.cat-head { grid-column: 1 / -1; margin-bottom: 20px; padding-top: 14px; border-top: 1px solid var(--ink); }
.rd .cat-head h2 { margin: 0; font-size: calc(clamp(24px, 2.2vw, 36px) * var(--display-scale)); }
.cat-grid { grid-column: 1 / -1; display: grid; grid-template-columns: subgrid; gap: 32px var(--gap); margin: 0; padding: 0; list-style: none; }
.cat-card { display: block; }
.cat-book { position: relative; display: block; aspect-ratio: 2 / 3; perspective: 900px; }
.cat-book img { display: block; width: 100%; height: 100%; object-fit: cover; background: var(--image); transform-origin: left center; transition: transform 0.45s var(--ease); }
.cat-book::after { content: ""; position: absolute; inset: 0 auto 0 0; width: 9%; background: linear-gradient(to right, rgb(0 0 0 / 0.26), rgb(0 0 0 / 0.04) 42%, rgb(255 255 255 / 0.2) 56%, transparent); opacity: 0.6; pointer-events: none; transform-origin: left; transition: transform 0.45s var(--ease); }
.cat-name { display: block; margin-top: 14px; font-size: 15px; font-weight: 600; line-height: 1.35; overflow-wrap: anywhere; }
.cat-open { position: relative; display: inline-block; margin-top: 6px; padding-bottom: 4px; color: var(--ink-soft); font-size: 10px; }
.cat-open::after { content: ""; position: absolute; inset: auto 0 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform 0.45s var(--ease); }
.cat-card:focus-visible .cat-open::after { transform: none; }
@media (hover: hover) {
  .cat-card:hover .cat-open { color: var(--ink); }
  .cat-card:hover .cat-open::after { transform: none; }
  .cat-card:hover .cat-book img { transform: translateY(-4px) rotateY(-9deg); }
  .cat-card:hover .cat-book::after { transform: translateY(-4px) scaleX(1.5); }
}
@media (min-width: 700px) { .cat-groups { --cols: 3; --gap: 20px; } .cat-grid { row-gap: 44px; } }
@media (min-width: 1000px) { .cat-groups { --cols: 4; --gap: clamp(24px, 2.6vw, 44px); } .cat-grid { row-gap: 56px; } }
@media (min-width: 1500px) { .cat-groups { --cols: 5; } }
.cat-lock, .cat-lock body { overflow: hidden; }
.cat-viewer { width: 100vw; max-width: none; height: 100vh; height: 100dvh; max-height: none; margin: 0; padding: env(safe-area-inset-top, 0px) env(safe-area-inset-right, 0px) env(safe-area-inset-bottom, 0px) env(safe-area-inset-left, 0px); border: 0; overflow: hidden; background: #0b0b0b; color: #f1efea; }
.cat-viewer[open] { display: grid; grid-template-rows: auto minmax(0, 1fr); }
.cat-viewer::backdrop { background: #0b0b0b; }
.cat-bar { display: flex; align-items: center; gap: 12px; padding: 2px 8px 2px clamp(16px, 2vw, 32px); border-bottom: 1px solid rgb(255 255 255 / 0.14); }
.cat-bar strong { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 700 13px/1.2 var(--display); letter-spacing: 0.04em; text-transform: uppercase; }
.cat-tab, .cat-close { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 44px; min-height: 44px; padding: 0 8px; border: 0; background: none; color: inherit; font: 500 12px/1 var(--font); opacity: 0.8; cursor: pointer; }
.cat-close { font-size: 28px; font-weight: 300; }
.cat-tab:hover, .cat-close:hover { opacity: 1; }
.cat-viewer :focus-visible { outline: 2px solid #f1efea; outline-offset: -4px; }
.cat-stage { position: relative; min-height: 0; }
.cat-stage iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; opacity: 0; transition: opacity 0.4s; }
.cat-stage.is-loaded iframe { opacity: 1; }
.cat-stage p { position: absolute; inset: 0; display: grid; place-items: center; margin: 0; opacity: 0.6; pointer-events: none; }
@media (max-width: 700px) { .cat-tab > span:first-child { display: none; } .cat-tab { font-size: 18px; } }
@media (prefers-reduced-motion: reduce) { .cat-book img, .cat-book::after, .cat-open::after, .cat-stage iframe { transition: none; } .cat-card:hover .cat-book img, .cat-card:hover .cat-book::after { transform: none; } }
