/* How to order: the order builder is the opener (price list left, papyrus order slip right), then the ways to order,
   samples, delivery terms, downloads and the order form. Tokens and components from site.css. Square corners except
   the cartouche total badge, whose oval is the cartouche itself. */

.ob-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- page head: a short lapis title band ---------- */
.ob-head {
  color: var(--papyrus); overflow: clip;
  background:
    radial-gradient(ellipse 50% 90% at 88% 0%, rgba(52, 72, 156, .9) 0%, rgba(27, 42, 107, 0) 70%),
    linear-gradient(180deg, var(--night) 0%, var(--lapis) 100%);
}
.ob-head::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--gold); transform-origin: left; transform: scaleX(var(--top, 1)); }
.ob__rays { position: absolute; right: -90px; top: -250px; width: 560px; height: 560px; pointer-events: none; opacity: .55; overflow: visible; }
.ob__rays line { stroke: var(--gold); stroke-width: 1.6; stroke-linecap: round; opacity: .55; }
.ob__rays g { transform-origin: 400px 400px; transform-box: view-box; }
.ob__rays circle { fill: var(--gold); opacity: .8; filter: drop-shadow(0 0 22px rgba(246, 207, 106, .7)); }
.ob__head-in {
  position: relative; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 10px clamp(24px, 4vw, 64px);
  align-items: end; padding-top: clamp(20px, 3.6vh, 36px); padding-bottom: clamp(20px, 3.4vh, 34px);
}
.ob__title { font-size: clamp(2rem, 3.25vw, 3.35rem); line-height: 1.06; color: var(--papyrus); }
.ob__help { margin: 0 0 12px; font-size: 1.04rem; line-height: 1.5; color: rgba(236, 221, 180, .92); }
.ob__dl { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 150px auto; justify-content: start; gap: 4px 18px; }
.ob__file {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 4px 0; font-weight: 600; color: var(--papyrus); white-space: nowrap;
  text-decoration: none; background: linear-gradient(var(--gold), var(--gold)) 0 100% / 0 1px no-repeat; transition: background-size .45s var(--ease), color .3s;
}
.ob__file:hover, .ob__file:focus-visible { background-size: 100% 1px; color: #fff; }
.ob__file-tag { display: inline-grid; place-items: center; flex: none; width: 52px; height: 28px; background: var(--gold); color: var(--ink); font-size: .875rem; font-weight: 700; letter-spacing: .04em; }
.ob__file-tag--x { background: var(--faience-hi); }

/* ---------- the builder (white): the list flows in the page, the slip stays beside it ---------- */
.ob { background: var(--white); color: var(--ink); padding: clamp(22px, 3.4vh, 36px) 0 clamp(56px, 8vh, 96px); overflow: clip; }
.ob::before { /* a faint sunburst turning behind the tool */
  content: ''; position: absolute; left: -260px; bottom: -340px; width: 900px; height: 900px; pointer-events: none; opacity: .5;
  background: repeating-conic-gradient(from 0deg, rgba(216, 169, 59, .22) 0deg 1deg, transparent 1deg 9deg);
  -webkit-mask: radial-gradient(circle, #000 0 18%, transparent 60%); mask: radial-gradient(circle, #000 0 18%, transparent 60%); animation: spin 160s linear infinite;
}
.ob__tool { --stick: 86px; position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) clamp(320px, 26vw, 390px); gap: clamp(20px, 2.2vw, 30px); align-items: start; }
.ob__panel {
  position: relative; display: grid; grid-template-columns: 190px minmax(0, 1fr); align-items: start;
  background: var(--white); color: var(--ink); border: 1px solid rgba(23, 19, 14, .14); border-top: 4px solid var(--gold); box-shadow: 0 30px 60px -36px rgba(14, 22, 64, .5);
}

/* range rail (chips) */
.ob__rail { position: sticky; top: var(--stick); z-index: 3; display: flex; flex-direction: column; gap: 3px; padding: 12px 10px; background: var(--sand); border-right: 1px solid rgba(23, 19, 14, .1); }
.chip[hidden] { display: none; }
.chip {
  position: relative; isolation: isolate; display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; align-items: center; gap: 10px;
  width: 100%; min-height: 50px; padding: 5px 10px 5px 6px; border: 0; background: transparent; text-align: left; cursor: pointer;
  font-weight: 500; font-size: .98rem; line-height: 1.2; color: var(--ink); transition: color .35s var(--ease);
}
.chip::after { content: ''; position: absolute; inset: 0; z-index: -2; background: var(--papyrus); opacity: 0; transition: opacity .3s; }
.chip:hover::after { opacity: .7; }
.chip__mark { position: absolute; inset: 0; z-index: -1; background: var(--lapis); pointer-events: none; }
.chip__mark::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--gold); }
.no-js .chip.is-on, .chip.is-on:not(:has(.chip__mark)) { background: var(--lapis); }
.chip.is-on { color: var(--papyrus); }
.chip__img { width: 36px; height: 36px; display: grid; place-items: center; background: var(--white); overflow: hidden; box-shadow: inset 0 0 0 1px rgba(23, 19, 14, .08); }
.chip__img img { width: 100%; height: 100%; object-fit: cover; }
.chip__img img.is-cut { object-fit: contain; padding: 3px; }
.chip__img--mine { background: linear-gradient(var(--gold-deep), var(--gold-deep)) 9px 12px / 18px 2px no-repeat, linear-gradient(var(--gold-deep), var(--gold-deep)) 9px 18px / 18px 2px no-repeat, linear-gradient(var(--gold-deep), var(--gold-deep)) 9px 24px / 12px 2px no-repeat, var(--papyrus); }
.chip__img--all { background: radial-gradient(circle at 50% 50%, #FFE7A3 0 22%, var(--gold) 23% 30%, rgba(216, 169, 59, 0) 31%), repeating-conic-gradient(var(--gold) 0 8deg, transparent 8deg 30deg), var(--night); }
.chip__n { font-size: .9rem; font-variant-numeric: tabular-nums; color: var(--ink-2); transition: color .35s; }
.chip.is-on .chip__n { color: var(--gold); }

.ob__tip { margin: 8px 0 0; padding: 14px 8px 4px; font-size: .9rem; line-height: 1.4; color: var(--ink-2); }
.ob__tip b { display: inline-grid; place-items: center; width: 22px; height: 22px; background: var(--lapis); color: var(--papyrus); font-weight: 600; line-height: 1; }
.ob__tip-img { float: left; width: 50px; height: auto; margin: 2px 8px 2px 0; filter: drop-shadow(0 8px 8px rgba(60, 40, 0, .3)); animation: float 6s ease-in-out infinite; }

/* the list */
.ob__list { min-width: 0; }
.ob__sticky { position: sticky; top: 70px; z-index: 4; background: var(--white); }
.ob__bar { display: flex; align-items: center; gap: 16px; padding: 12px 18px; border-bottom: 1px solid rgba(23, 19, 14, .12); }
.ob__search { position: relative; flex: 1 1 auto; min-width: 0; }
.ob__search svg { position: absolute; left: 14px; top: 50%; width: 20px; height: 20px; translate: 0 -50%; fill: none; stroke: var(--lapis); stroke-width: 2.2; stroke-linecap: round; pointer-events: none; }
.ob__search input {
  width: 100%; min-height: 48px; padding: 10px 14px 10px 44px; border: 1px solid rgba(23, 19, 14, .3); border-radius: 0; background: var(--sand);
  font-size: 1rem; color: var(--ink); transition: border-color .3s, box-shadow .3s, background .3s;
}
.ob__search input::placeholder { color: #6b5f4d; }
.ob__search input:focus { outline: none; background: var(--white); border-color: var(--lapis); box-shadow: 0 0 0 3px rgba(216, 169, 59, .55); }
.ob__meta { flex: none; margin: 0; font-size: .95rem; color: var(--ink-2); white-space: nowrap; }
.ob__meta span { font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.ob__cols, .row { display: grid; grid-template-columns: 46px minmax(0, 1fr) 62px 134px; align-items: center; gap: 14px; }
.ob__cols { padding: 8px 18px; border-bottom: 1px solid rgba(23, 19, 14, .12); font-size: .875rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.ob__cols span:nth-child(3) { text-align: right; }
.ob__cols span:nth-child(4) { text-align: center; }
.ob__scroll { position: relative; }
.grp[hidden], .row[hidden] { display: none; }
.grp__head {
  position: sticky; top: var(--gh, 180px); z-index: 2; display: flex; align-items: center; gap: 12px; padding: 9px 18px;
  background: var(--white); border-bottom: 2px solid var(--gold); box-shadow: 0 6px 10px -10px rgba(23, 19, 14, .4);
  font: 600 1.06rem/1.25 var(--body); color: var(--lapis);
}
.grp__img { flex: none; width: 34px; height: 34px; background: var(--sand); overflow: hidden; }
.grp__img img { width: 100%; height: 100%; object-fit: cover; }
.grp__img img.is-cut { object-fit: contain; padding: 2px; }
.grp__from { margin-left: auto; font-weight: 400; font-size: .95rem; color: var(--ink-2); white-space: nowrap; }
.grp__rows { list-style: none; margin: 0; padding: 0; }
.row { position: relative; padding: 7px 18px; border-bottom: 1px solid rgba(23, 19, 14, .09); transition: background-color .35s var(--ease); }
.row::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--gold); transform: scaleY(0); transition: transform .4s var(--ease); }
.row:hover { background: #FBF7EC; }
.row.has-qty { background: #FFF6DC; }
.row.has-qty::before { transform: scaleY(1); }
.row__code { font-weight: 600; font-size: .95rem; color: var(--gold-deep); font-variant-numeric: tabular-nums; }
.row__desc { font-size: 1rem; line-height: 1.35; }
.row__price { font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
.qty { display: grid; grid-template-columns: 44px minmax(0, 1fr) 44px; height: 46px; border: 1px solid rgba(23, 19, 14, .28); background: var(--white); }
.qty__btn {
  position: relative; width: 44px; height: 44px; border: 0; padding: 0; background: var(--sand); cursor: pointer;
  touch-action: manipulation; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; transition: background-color .25s;
}
.qty__btn::before, .qty__btn--more::after { content: ''; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; translate: -50% -50%; background: var(--lapis); transition: background-color .25s; }
.qty__btn--more::after { width: 2px; height: 14px; }
.qty__btn:hover, .qty__btn:focus-visible { background: var(--lapis); }
.qty__btn:hover::before, .qty__btn:hover::after, .qty__btn:focus-visible::before, .qty__btn:focus-visible::after { background: var(--papyrus); }
.qty__btn:focus-visible { outline-offset: -3px; }
.qty__in {
  width: 100%; min-width: 44px; height: 44px; border: 0; border-inline: 1px solid rgba(23, 19, 14, .16); border-radius: 0; padding: 0 2px;
  background: var(--white); text-align: center; font-weight: 600; font-size: 1rem; font-variant-numeric: tabular-nums; color: var(--ink);
  -moz-appearance: textfield; appearance: textfield;
}
.qty__in::-webkit-inner-spin-button, .qty__in::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.qty__in:focus { outline: 3px solid var(--gold); outline-offset: -3px; }
.row.has-qty .qty { border-color: var(--lapis); }
.row.has-qty .qty__in { color: var(--lapis); background: #FFFBEE; }
.ob.is-empty .row.is-hint .qty__btn--more { animation: hint 2.6s var(--ease) infinite; }
@keyframes hint { 0% { box-shadow: 0 0 0 0 rgba(216, 169, 59, .85); } 70%, 100% { box-shadow: 0 0 0 14px rgba(216, 169, 59, 0); } }
.ob__none { margin: 0; padding: 28px 18px; color: var(--ink-2); }
.ob__none a { color: var(--lapis); font-weight: 600; }
.no-js .qty, .no-js .ob__rail, .no-js .ob__search { display: none; }
.no-js .ob__panel { grid-template-columns: minmax(0, 1fr); }

/* first paint: the list and slip are hidden only while the scripts are expected to show them */
html.js:not(.safe):not(.ob-go) .ob__rail, html.js:not(.safe):not(.ob-go) .ob__list, html.js:not(.safe):not(.ob-go) .slip__paper { opacity: 0; }

/* ---------- the order slip ---------- */
.slip { position: sticky; top: var(--stick); display: flex; flex-direction: column; height: min(calc(100svh - var(--stick) - 18px), 860px); min-height: 560px; filter: drop-shadow(0 26px 34px rgba(5, 10, 40, .4)); }
.slip__bar, .slip__close, .slip__shade { display: none; }
.slip__bar { min-height: 64px; padding: 10px max(16px, var(--gutter)); border: 0; border-top: 3px solid var(--gold); background: var(--night); color: var(--papyrus); text-align: left; cursor: pointer; font: inherit; }
.slip__paper {
  --edge: 12px;
  position: relative; flex: 1 1 0; min-height: 0; display: flex; flex-direction: column;
  padding: 20px 22px calc(22px + var(--edge)); background: var(--papyrus); color: var(--ink);
  -webkit-mask: linear-gradient(#000 0 0) top / 100% calc(100% - var(--edge) + 1px) no-repeat, conic-gradient(from -45deg at 50% 100%, #0000, #000 1deg 89deg, #0000 90deg) bottom / 18px var(--edge) repeat-x;
  mask: linear-gradient(#000 0 0) top / 100% calc(100% - var(--edge) + 1px) no-repeat, conic-gradient(from -45deg at 50% 100%, #0000, #000 1deg 89deg, #0000 90deg) bottom / 18px var(--edge) repeat-x;
}
.slip__paper::before { content: ''; position: absolute; inset: 0; background: url(../img/papyrus-fibre-texture-h.webp) 0 0 / 300px, url(../img/papyrus-fibre-texture.webp) 0 0 / 300px; background-blend-mode: multiply; opacity: .32; mix-blend-mode: multiply; pointer-events: none; }
.slip__paper::after { content: ''; position: absolute; inset: 8px 8px calc(8px + var(--edge)); border: 1px solid rgba(138, 100, 20, .45); pointer-events: none; }
.slip__paper > * { position: relative; z-index: 1; }
.slip__top { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.slip__title { font-size: clamp(1.5rem, 1.9vw, 1.9rem); line-height: 1; color: var(--ink); }
.slip__from { margin: 0; font-size: .9rem; line-height: 1.35; text-align: right; color: var(--ink-2); white-space: nowrap; }
.slip__rule {
  flex: none; height: 8px; margin: 12px 0 4px; transform-origin: 50% 50%;
  background:
    linear-gradient(var(--gold-deep), var(--gold-deep)) 12px 5px / calc(100% - 24px) 2px no-repeat,
    linear-gradient(var(--gold-deep), var(--gold-deep)) 0 0 / 12px 2px no-repeat,
    linear-gradient(var(--gold-deep), var(--gold-deep)) 10px 0 / 2px 7px no-repeat,
    linear-gradient(var(--gold-deep), var(--gold-deep)) 100% 0 / 12px 2px no-repeat,
    linear-gradient(var(--gold-deep), var(--gold-deep)) calc(100% - 10px) 0 / 2px 7px no-repeat;
}
.slip__lines-wrap { position: relative; flex: 1 1 0; min-height: 96px; overflow: clip; margin: 0 -10px; padding: 0 10px; }
.sl.is-folded { display: none; }
.sl-more {
  position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; min-height: 44px; margin: 4px 0 2px;
  padding: 8px 12px; border: 1px dashed rgba(27, 42, 107, .5); background: rgba(255, 252, 240, .45); color: var(--lapis); font-weight: 600; font-size: .95rem; text-align: left; cursor: pointer;
}
.sl-more[hidden] { display: none; }
.sl-more::after { content: ''; flex: none; width: 9px; height: 9px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; rotate: -45deg; }
.sl-more:hover { background: var(--lapis); color: var(--papyrus); }
.slip__lines { position: relative; z-index: 1; list-style: none; margin: 0; padding: 0; }
.slip__empty { position: relative; z-index: 1; }
/* a faint stamped cartouche on the paper, like a trade stamp (drawn, no text) */
.slip__stamp {
  position: absolute; right: 16px; bottom: 14px; width: 210px; height: 74px; border-radius: 999px; rotate: -7deg; pointer-events: none;
  border: 3px solid rgba(27, 42, 107, .14); box-shadow: inset 0 0 0 5px rgba(236, 221, 180, 0), inset 0 0 0 6px rgba(27, 42, 107, .1);
  display: grid; place-items: center; font: 30px/1 'Hiero'; color: rgba(27, 42, 107, .17); letter-spacing: .12em;
}
.slip__stamp::before { content: '\1313F\130C0\133A1\130A7\131CB\13191'; }
.slip__stamp::after { content: ''; position: absolute; right: -10px; top: 18%; bottom: 18%; width: 5px; background: rgba(27, 42, 107, .16); }
.sl, .ghost {
  position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; column-gap: 10px; row-gap: 3px; align-items: baseline;
  padding: 10px 0; border-bottom: 1px dashed rgba(23, 19, 14, .28);
}
.sl__code, .ghost__code {
  grid-row: 1 / span 2; align-self: start; justify-self: start; margin-top: 2px; padding: 1px 5px; border: 1.5px solid var(--lapis); color: var(--lapis);
  font-weight: 700; font-size: .9rem; line-height: 1.25; font-variant-numeric: tabular-nums; rotate: -4deg;
}
.sl__name, .ghost__name { position: relative; grid-column: 2; font-weight: 500; font-size: .98rem; line-height: 1.3; }
.sl__nib { position: absolute; left: 0; top: -2px; bottom: -2px; width: 2px; background: var(--gold-deep); box-shadow: 0 0 8px 1px rgba(216, 169, 59, .8); opacity: 0; pointer-events: none; }
.sl__x {
  grid-column: 3; grid-row: 1; justify-self: end; position: relative; width: 44px; height: 28px; margin: -4px -8px 0 0; border: 0; padding: 0;
  background: transparent; cursor: pointer; color: var(--ink-2);
}
.sl__x::before, .sl__x::after { content: ''; position: absolute; left: 50%; top: 50%; width: 13px; height: 2px; background: currentColor; translate: -50% -50%; rotate: 45deg; }
.sl__x::after { rotate: -45deg; }
.sl__x:hover, .sl__x:focus-visible { color: #9B2F16; }
.sl__calc, .ghost__calc { grid-column: 2; display: flex; align-items: baseline; gap: 8px; font-size: .95rem; color: var(--ink-2); font-variant-numeric: tabular-nums; white-space: nowrap; }
.sl__calc::after, .ghost__calc::after { content: ''; flex: 1; min-width: 12px; border-bottom: 2px dotted rgba(23, 19, 14, .35); translate: 0 -4px; }
.sl__total, .ghost__total { grid-column: 3; grid-row: 2; justify-self: end; font-weight: 700; font-variant-numeric: tabular-nums; }
.sl__strike { position: absolute; left: 50px; right: 0; top: 50%; height: 2px; background: #9B2F16; transform: scaleX(0); transform-origin: left; pointer-events: none; }
.slip__empty { padding: 14px 0 4px; }
.slip__empty[hidden] { display: none; }
.slip__empty-h { margin: 0 0 4px; font-weight: 600; font-size: 1.08rem; }
.slip__empty-t { margin: 0 0 10px; font-size: .98rem; color: var(--ink-2); }
.slip__plus { position: relative; display: inline-block; width: 24px; height: 24px; vertical-align: -6px; background: var(--lapis); }
.slip__plus::before, .slip__plus::after { content: ''; position: absolute; left: 50%; top: 50%; width: 10px; height: 2px; translate: -50% -50%; background: var(--papyrus); }
.slip__plus::after { width: 2px; height: 10px; }
.ghost { padding: 10px 10px; border: 1px dashed rgba(23, 19, 14, .3); background: rgba(255, 252, 240, .35); color: rgba(23, 19, 14, .7); }
.ghost__code { border-color: rgba(27, 42, 107, .6); color: rgba(27, 42, 107, .8); }
.slip__nojs { display: none; margin: 10px 0 0; font-size: .98rem; color: var(--ink-2); }
.no-js .slip__nojs { display: block; }
.no-js .ghost, .no-js .slip__empty-t, .no-js .slip__acts, .no-js .slip__sums, .no-js .slip__total { display: none; }
.slip__undo { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; margin-top: 10px; padding: 6px 14px; border: 1px solid var(--lapis); background: transparent; color: var(--lapis); font-weight: 600; cursor: pointer; }
.slip__undo:hover { background: var(--lapis); color: var(--papyrus); }
.slip__sums { flex: none; margin: 10px 0 0; padding-top: 8px; border-top: 3px double rgba(23, 19, 14, .55); }
.slip__sums div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 2px 0; }
.slip__sums dt { font-size: .98rem; }
.slip__sums dt span { font-size: .9rem; color: var(--ink-2); }
.slip__sums dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.slip__total { flex: none; display: flex; align-items: center; gap: 22px; margin-top: 12px; }
.cart {
  position: relative; flex: none; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; min-width: 190px;
  padding: 9px 30px 11px 26px; border-radius: 999px; color: var(--papyrus);
  background: radial-gradient(ellipse at 40% 30%, #2C3F8F, var(--lapis) 55%, var(--night));
  box-shadow: inset 0 0 0 3px var(--gold), inset 0 0 0 6px var(--lapis), inset 0 0 0 7px rgba(216, 169, 59, .7), 0 10px 18px -8px rgba(14, 22, 64, .7);
}
.cart::before { /* the sheen */
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(100deg, rgba(255,255,255,0) 35%, rgba(255, 236, 180, .3) 50%, rgba(255,255,255,0) 65%) 0 0 / 260% 100% no-repeat;
  animation: sheen 5.5s ease-in-out infinite;
}
.cart::after { /* the tie at the end of the cartouche */
  content: ''; position: absolute; right: -11px; top: 16%; bottom: 16%; width: 6px; background: var(--gold); box-shadow: 0 4px 8px -3px rgba(14, 22, 64, .6);
}
.cart__label { font-size: .875rem; font-weight: 500; letter-spacing: .02em; color: rgba(236, 221, 180, .9); }
.cart__val { font: 400 1.95rem/1.1 var(--display); color: #F6D37A; }
.slip__vat-note { margin: 0; font-size: .9rem; line-height: 1.35; color: var(--ink-2); }
.slip__acts { flex: none; display: flex; gap: 10px; margin-top: 16px; }
.slip__send { flex: 1 1 auto; }
.slip__send:disabled, .slip__clear:disabled { opacity: .5; cursor: not-allowed; }
.slip__send:disabled::before { display: none; }
.slip__clear { flex: none; min-height: 52px; padding: 0 20px; border: 1px solid rgba(23, 19, 14, .45); background: transparent; color: var(--ink); font-weight: 600; cursor: pointer; transition: background-color .3s, color .3s; }
.slip__clear:not(:disabled):hover, .slip__clear:focus-visible { background: var(--ink); color: var(--papyrus); }

/* the rolling total */
.odo { display: inline-flex; align-items: flex-start; height: 1.1em; overflow: clip; }
.odo__c { display: inline-block; height: 1.1em; line-height: 1.1em; }
.odo__d { display: inline-block; width: .64em; height: 1.1em; overflow: clip; text-align: center; }
.odo__reel { display: block; will-change: transform; }
.odo__reel span { display: block; height: 1.1em; line-height: 1.1em; }

/* ---------- tablets and phones: the list flows, the slip is a bottom sheet ---------- */
@media (max-width: 1099px) {
  .ob { padding-bottom: 104px; }
  .ob__head-in { grid-template-columns: 1fr; align-items: start; }
  .ob__tool { display: block; }
  .ob__panel { display: block; }
  .ob__rail { position: static; flex-direction: row; flex-wrap: wrap; gap: 6px; padding: 10px; border-right: 0; border-bottom: 1px solid rgba(23, 19, 14, .12); }
  .chip { flex: none; width: auto; grid-template-columns: auto auto; gap: 6px; min-height: 44px; padding: 6px 10px; white-space: nowrap; font-size: .94rem; }
  .chip__img, .ob__tip { display: none; }
  .ob__cols { display: none; }
  .ob__sticky { position: static; }
  .grp__head { position: static; }
  .slip { position: static; height: auto; min-height: 0; }
  html.js .slip {
    position: fixed; top: auto; left: 0; right: 0; bottom: 0; z-index: 80; height: auto; flex-direction: column-reverse; min-height: 0;
    transform: translateY(110%); transition: transform .55s var(--ease); filter: drop-shadow(0 -12px 26px rgba(5, 10, 40, .45));
  }
  html.js .slip.is-shown, html.js .slip.is-open { transform: none; }
  html.js .slip__bar {
    display: flex; align-items: center; gap: 14px; width: calc(100% - 32px); margin: 0 16px; padding-inline: 0;
    box-shadow: -16px 0 0 var(--night), 16px 0 0 var(--night), -16px -3px 0 var(--gold), 16px -3px 0 var(--gold);
  }
  html.js .slip__bar { position: relative; overflow: hidden; }
  html.js .slip__bar::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(100deg, rgba(255,255,255,0) 35%, rgba(255, 226, 150, .16) 50%, rgba(255,255,255,0) 65%) 0 0 / 260% 100% no-repeat; animation: sheen 6s ease-in-out infinite; }
  .slip__bar-l { display: flex; flex-direction: column; flex: 1 1 auto; min-width: 0; line-height: 1.25; }
  .slip__bar-l b { font-weight: 600; font-size: 1.02rem; }
  .slip__bar-n { font-size: .9rem; color: rgba(236, 221, 180, .85); }
  .slip__bar-t { display: inline-block; min-width: 5.6em; height: 1em; text-align: right; font: 400 1.5rem/1 var(--display); color: var(--gold); font-variant-numeric: tabular-nums; }
  .slip__bar-chev { width: 40px; height: 40px; flex: none; position: relative; border: 1px solid rgba(216, 169, 59, .6); }
  .slip__bar-chev::before { content: ''; position: absolute; left: 50%; top: 55%; width: 11px; height: 11px; border-left: 2px solid var(--gold); border-top: 2px solid var(--gold); translate: -50% -50%; rotate: 45deg; transition: rotate .4s var(--ease), top .4s var(--ease); }
  .slip.is-open .slip__bar-chev::before { rotate: 225deg; top: 40%; }
  html.js .slip:not(.is-open) .slip__paper { display: none; }
  html.js .slip__paper {
    --edge: 10px; flex: none; height: min(calc(100svh - 64px - 76px), 760px); padding: calc(18px + var(--edge)) var(--gutter) 18px;
    -webkit-mask: linear-gradient(#000 0 0) bottom / 100% calc(100% - var(--edge) + 1px) no-repeat, conic-gradient(from 135deg at 50% 0%, #0000, #000 1deg 89deg, #0000 90deg) top / 18px var(--edge) repeat-x;
    mask: linear-gradient(#000 0 0) bottom / 100% calc(100% - var(--edge) + 1px) no-repeat, conic-gradient(from 135deg at 50% 0%, #0000, #000 1deg 89deg, #0000 90deg) top / 18px var(--edge) repeat-x;
  }
  html.js .slip__paper::after { inset: calc(8px + var(--edge)) 8px 8px; }
  html.js .slip__close { display: block; position: relative; width: 44px; height: 44px; margin: -8px -8px 0 0; border: 1px solid rgba(23, 19, 14, .35); background: transparent; cursor: pointer; flex: none; order: 3; }
  .slip__close::before, .slip__close::after { content: ''; position: absolute; left: 50%; top: 50%; width: 16px; height: 2px; background: var(--ink); translate: -50% -50%; rotate: 45deg; }
  .slip__close::after { rotate: -45deg; }
  .slip__top { align-items: flex-start; }
  .slip__from { margin-left: auto; }
  html.js .slip__shade { display: block; position: fixed; inset: 0; z-index: 79; background: rgba(14, 22, 64, .6); opacity: 0; pointer-events: none; transition: opacity .4s var(--ease); }
  html.js .ob.sheet-open .slip__shade { opacity: 1; pointer-events: auto; }
  .no-js .slip { margin-top: 24px; }
}
@media (max-width: 760px) {
  .ob__title { font-size: clamp(1.75rem, 7.4vw, 2.4rem); }
  .ob__help { font-size: 1rem; margin-bottom: 6px; }
  .ob__dl { grid-template-columns: 132px auto; gap: 4px 12px; }
  .ob__file { gap: 8px; }
  .ob__file-tag { width: 48px; height: 26px; }
  .ob__head-in { padding-top: 16px; padding-bottom: 14px; }
  .ob__rays { width: 380px; height: 380px; right: -150px; top: -170px; }
  .ob__bar { padding: 10px 12px; flex-wrap: wrap; gap: 6px 12px; }
  .ob__meta { font-size: .9rem; }
  .grp__head { padding: 9px 12px; }
  .row {
    grid-template-columns: auto auto minmax(0, 1fr) 136px; grid-template-areas: 'desc desc desc qty' 'code price . qty';
    gap: 2px 10px; padding: 9px 12px;
  }
  .row__desc { grid-area: desc; }
  .row__code { grid-area: code; font-size: .9rem; }
  .row__code::before { content: 'Code '; font-weight: 400; color: var(--ink-2); }
  .row__price { grid-area: price; text-align: left; font-size: .95rem; }
  .row__price::after { content: ' each'; font-weight: 400; color: var(--ink-2); }
  .qty { grid-area: qty; grid-template-columns: 44px minmax(0, 1fr) 44px; align-self: center; }
  .no-js .row { grid-template-areas: 'desc desc desc desc' 'code price . .'; }
  .slip__total { gap: 16px; }
  .cart { min-width: 168px; padding-inline: 22px 26px; }
  .cart__val { font-size: 1.7rem; }
}

/* ---------- ways to order (papyrus) ---------- */
.ways { background: var(--papyrus); padding: var(--pad) 0; overflow: clip; }
.ways::before { content: ''; position: absolute; inset: 0; background: url(../img/papyrus-fibre-texture-h.webp) 0 0 / 320px, url(../img/papyrus-fibre-texture.webp) 0 0 / 320px; background-blend-mode: multiply; opacity: .24; mix-blend-mode: multiply; pointer-events: none; }
.ways .wrap { position: relative; }
.ways__head { display: grid; gap: 12px; margin-bottom: clamp(28px, 4.6vh, 50px); }
.ways__lede { margin: 0; font-size: 1.15rem; color: var(--ink-2); }
.ways__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 3.4vw, 56px); }
.way { position: relative; isolation: isolate; display: flex; flex-direction: column; gap: 10px; }
.way__stage { position: relative; height: clamp(200px, 27vh, 260px); margin: 0 14px 20px 0; }
.way__stage::after { content: ''; position: absolute; inset: 14px -14px -14px 14px; border: 1px solid var(--gold-deep); z-index: -1; pointer-events: none; }
.way__niche { position: absolute; inset: 0; overflow: hidden; background: radial-gradient(ellipse 70% 60% at 50% 22%, #34489c, rgba(27, 42, 107, 0) 72%), linear-gradient(180deg, var(--night), var(--lapis)); }
.way__niche::after { content: ''; position: absolute; left: 50%; top: 52%; width: 70%; height: 70%; translate: -50% -50%; background: radial-gradient(ellipse, rgba(255, 214, 120, .34), rgba(255, 214, 120, 0) 68%); transition: opacity .5s var(--ease); }
.way__rays {
  position: absolute; left: 50%; top: 40%; width: 760px; height: 760px; translate: -50% -50%; opacity: .5; transition: opacity .5s var(--ease);
  background: repeating-conic-gradient(from 0deg, var(--gold) 0deg .8deg, transparent .8deg 9deg);
  -webkit-mask: radial-gradient(circle, transparent 0 7%, #000 12%, #000 22%, transparent 52%); mask: radial-gradient(circle, transparent 0 7%, #000 12%, #000 22%, transparent 52%);
  animation: spin 110s linear infinite;
}
.way:hover .way__rays { opacity: .8; }
.way:hover .way__obj img { filter: drop-shadow(0 18px 16px rgba(0, 0, 0, .5)) drop-shadow(0 0 18px rgba(255, 214, 120, .45)); }
.way:nth-child(2) .way__rays { animation-direction: reverse; }
.way__tier.plinth__tier { box-shadow: 0 14px 24px -14px rgba(5, 10, 40, .9); }
.way__tier.plinth__tier::after { inset: 8px 8px 5px; }
.way__tier--1 { left: 8%; right: 8%; bottom: 0; height: 16%; }
.way__tier--2 { left: 24%; right: 24%; bottom: 16%; height: 12%; }
.way__obj { position: absolute; left: 50%; bottom: 27%; translate: -50% 0; display: block; }
.way__obj img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 14px 14px rgba(0, 0, 0, .45)); animation: float 7s ease-in-out infinite; }
.way:nth-child(2) .way__obj img { animation-delay: -2.3s; }
.way:nth-child(3) .way__obj img { animation-delay: -4.6s; }
.way__obj--paper { height: 52%; aspect-ratio: 670 / 470; }
.way__obj--tall { height: 66%; aspect-ratio: 340 / 720; }
.way__obj--sheets { height: 50%; aspect-ratio: 774 / 584; }
.way__icon { position: absolute; left: 16px; top: 16px; width: 46px; height: 46px; fill: none; stroke: var(--gold); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; z-index: 2; }
.way h3 { margin-top: 4px; }
.way p { margin: 0; color: var(--ink-2); }
.way .textlink { margin-top: auto; color: var(--lapis); align-self: flex-start; }
@media (max-width: 900px) {
  .ways__head { grid-template-columns: 1fr; }
  .ways__grid { grid-template-columns: 1fr; gap: 40px; max-width: 560px; }
  .way__stage { height: 210px; }
}

/* ---------- samples (photo band) ---------- */
.samples { background: var(--night); color: var(--papyrus); padding: var(--pad) 0; overflow: clip; }
.samples__bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.samples__bg-img { position: absolute; left: 0; top: -9%; width: 100%; height: 118%; object-fit: cover; object-position: 50% 40%; animation: pushs 18s ease-in-out infinite alternate; }
.samples__bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(14, 22, 64, .94) 0%, rgba(14, 22, 64, .84) 42%, rgba(14, 22, 64, .42) 100%), linear-gradient(0deg, rgba(14, 22, 64, .55), rgba(14, 22, 64, 0) 40%);
}
.samples__in { position: relative; display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 0 24px; align-items: center; }
.samples__h { grid-column: 1 / -1; margin-bottom: .45em; color: var(--papyrus); }
.samples__copy { align-self: start; padding-top: clamp(8px, 3vh, 36px); }
.samples__copy p { font-size: 1.15rem; color: rgba(236, 221, 180, .92); }
.samples__acts { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 28px; }
.samples__tel { padding: 8px 0; font-weight: 600; font-size: 1.1rem; color: var(--gold); text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.samples__tel:hover { color: var(--papyrus); }
.samples__show { position: relative; isolation: isolate; height: min(var(--media-cap), 500px); }
.samples__photo { position: absolute; left: 0; right: 8%; top: 6%; bottom: 18%; margin: 0; }
.samples__crop { position: absolute; inset: 0; overflow: hidden; display: block; }
.samples__img { position: absolute; left: 0; top: -9%; width: 100%; height: 118%; object-fit: cover; }
.samples__spill { position: absolute; inset: 0; pointer-events: none; z-index: 2; }
.spill { position: absolute; display: block; }
.spill img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 16px 16px rgba(0, 0, 0, .55)); animation: float 7.5s ease-in-out infinite; }
.spill--a { width: 27%; aspect-ratio: 538 / 378; left: 0; bottom: 6%; }
.spill--b { width: 11%; aspect-ratio: 353 / 720; left: 36%; bottom: -2%; }
.spill--b img { animation-delay: -2s; }
.spill--c { width: 10%; aspect-ratio: 312 / 589; right: 0; bottom: 4%; }
.spill--c img { animation-delay: -4s; }
.spill--d { width: 22%; aspect-ratio: 584 / 403; left: 52%; bottom: 0; }
.spill--d img { animation-delay: -5.5s; }
@media (max-width: 900px) {
  .samples__in { grid-template-columns: 1fr; }
  .samples__show { height: min(80vw, 400px); }
  .samples__bg::after { background: linear-gradient(180deg, rgba(14, 22, 64, .9), rgba(14, 22, 64, .7)); }
}

/* ---------- delivery and invoices (sand) ---------- */
.terms { background: var(--sand); padding: var(--pad) 0; overflow: clip; }
.terms::before { content: ''; position: absolute; right: -8%; bottom: -30%; width: 760px; height: 760px; pointer-events: none; opacity: .5;
  background: repeating-conic-gradient(from 0deg, rgba(138, 100, 20, .16) 0deg 1deg, transparent 1deg 9deg);
  -webkit-mask: radial-gradient(circle, #000 0 20%, transparent 62%); mask: radial-gradient(circle, #000 0 20%, transparent 62%); animation: spin 150s linear infinite; }
.terms__in { position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(36px, 5vw, 88px); align-items: center; }
.terms__media { position: relative; isolation: isolate; margin: 0 22px 22px 0; }
.terms__frame { margin: 0; }
.terms__crop { position: relative; display: block; overflow: hidden; height: min(var(--media-cap), 560px); }
.terms__img { position: absolute; left: 0; top: -9%; width: 100%; height: 118%; object-fit: cover; animation: pushs 16s ease-in-out infinite alternate; }
.terms__badge {
  position: absolute; right: -1px; top: 26px; z-index: 2; display: flex; flex-direction: column; padding: 14px 24px 16px;
  background: var(--lapis); color: var(--papyrus); line-height: 1.1; overflow: hidden;
}
.terms__badge::after { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(255,255,255,0) 35%, rgba(255, 226, 150, .28) 50%, rgba(255,255,255,0) 65%) 0 0 / 260% 100% no-repeat; animation: sheen 6s ease-in-out infinite; pointer-events: none; }
.terms__badge-l, .terms__badge-s { font-size: .95rem; font-weight: 500; }
.terms__badge b { font: 400 clamp(2.4rem, 3.6vw, 3.4rem)/1.05 var(--display); color: var(--gold); font-variant-numeric: tabular-nums; }
.terms__copy h2 { margin-bottom: .35em; }
.terms__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); }
.term { position: relative; display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 16px; align-items: center; padding: 13px 0 14px; }
.term::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: rgba(23, 19, 14, .16); }
.term::after { content: ''; position: absolute; left: 0; top: -1px; width: 64px; height: 3px; background: var(--gold); transform-origin: left; transform: scaleX(var(--rl, 1)); }
.term__ico { width: 46px; height: 46px; fill: none; stroke: var(--gold-deep); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.term h3 { font-size: clamp(1.1rem, 1.3vw, 1.3rem); margin-bottom: 4px; }
.term p { margin: 0; color: var(--ink-2); }
.term--trade { grid-column: 1 / -1; margin-top: 8px; padding: 16px 22px; background: var(--lapis); color: var(--papyrus); align-items: center; overflow: hidden; }
.term--trade::before { inset: 0; height: auto; background: repeating-linear-gradient(90deg, rgba(216, 169, 59, 0) 0 46px, rgba(216, 169, 59, .08) 46px 47px); }
.term--trade::after { left: 0; top: 0; bottom: 0; width: 5px; height: auto; transform-origin: top; transform: scaleY(var(--rl, 1)); }
.term--trade .term__ico { stroke: var(--gold); }
.term--trade h3 { color: var(--gold); }
.term--trade p { color: rgba(236, 221, 180, .92); }
.term--trade > * { position: relative; }
@media (max-width: 900px) {
  .terms__in { grid-template-columns: 1fr; }
  .terms__crop { height: min(62vw, 420px); }
}

/* ---------- downloads (gold band) ---------- */
.dl__acts { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: 26px; position: relative; z-index: 2; }
.dl .cta__inner { column-gap: 24px; }
.dl__sheets { position: relative; height: 330px; perspective: 1100px; }
.dl__float { position: absolute; inset: 0; animation: float 9s ease-in-out infinite; }
.sheet { position: absolute; width: min(320px, 74%); background: var(--white); color: var(--ink); box-shadow: 0 24px 40px -18px rgba(80, 50, 0, .55); }
.sheet__head { display: flex; justify-content: space-between; gap: 10px; padding: 10px 14px; font-size: .875rem; font-weight: 600; }
.sheet--p { left: 0; top: 6%; z-index: 2; }
.sheet--p .sheet__head { background: var(--lapis); color: var(--papyrus); }
.sheet--x { right: 0; top: 0; }
.sheet--x .sheet__head { background: var(--faience); color: var(--white); }
.sheet__rows { list-style: none; margin: 0; padding: 6px 14px 12px; }
.sheet__rows li { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; gap: 8px; padding: 5px 0; border-bottom: 1px solid rgba(23, 19, 14, .1); font-size: .875rem; line-height: 1.3; }
.sheet__rows li span:first-child { color: var(--gold-deep); font-weight: 600; }
.sheet__rows b { font-variant-numeric: tabular-nums; }
.sheet__grid { width: 100%; border-collapse: collapse; font-size: .875rem; }
.sheet__grid th, .sheet__grid td { border: 1px solid rgba(18, 122, 120, .3); padding: 5px 8px; text-align: left; font-weight: 400; }
.sheet__grid th { background: #E6F3F2; font-weight: 600; }
.sheet__grid td:last-child { width: 46px; }
@media (max-width: 900px) {
  .dl__sheets { display: block; height: 290px; max-width: 460px; }
}

/* ---------- send your order (faience) ---------- */
.send { background: var(--faience); color: var(--white); padding: clamp(40px, 5.4vh, 90px) 0; overflow: clip; border-top: 4px solid var(--gold); }
.send::before { content: ''; position: absolute; inset: 0; background: url(../img/papyrus-fibre-texture.webp) 0 0 / 380px; opacity: .14; mix-blend-mode: soft-light; pointer-events: none; }
.send__sun {
  position: absolute; left: -380px; bottom: -520px; width: 1100px; height: 1100px; pointer-events: none; opacity: .2;
  background: repeating-conic-gradient(from 0deg, #E8FFFD 0deg 1deg, transparent 1deg 9deg);
  -webkit-mask: radial-gradient(circle, #000 0 22%, transparent 60%); mask: radial-gradient(circle, #000 0 22%, transparent 60%);
  animation: spin 140s linear infinite;
}
.send__in { position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(30px, 4vw, 72px); align-items: start; }
.send__side h2 { margin-bottom: .4em; }
.send__lede { font-size: 1.12rem; color: rgba(255, 255, 255, .94); }
.send__recap { margin: 22px 0 6px; padding: 14px 18px; background: rgba(14, 22, 64, .3); border-left: 4px solid var(--gold); }
.send__recap[hidden] { display: none; }
.send__recap-h { margin: 0 0 2px; font-weight: 600; color: #F6D37A; font-size: .95rem; }
.send__recap-t { margin: 0; }
.send__recap-t b { font-variant-numeric: tabular-nums; }
.send__edit { display: inline-block; margin-top: 4px; padding: 8px 0; color: var(--white); font-weight: 600; text-underline-offset: 4px; }
.send__ways { margin-top: 26px; display: grid; gap: 16px; }
.send__ways p { margin: 0; display: flex; flex-direction: column; gap: 2px; padding-top: 12px; border-top: 1px solid rgba(246, 211, 122, .45); }
.send__ways span { font-weight: 600; font-size: .95rem; color: #F6D37A; }
.send__tel { display: inline-flex; align-items: center; align-self: flex-start; min-height: 44px; font: 400 clamp(1.6rem, 2.2vw, 2.1rem)/1.15 var(--display); color: var(--white); text-decoration: none; padding: 4px 0; }
.send__panel { position: relative; background: var(--papyrus); color: var(--ink); padding: clamp(22px, 2.8vw, 40px); margin: 0 18px 18px 0; }
.send__panel::before { content: ''; position: absolute; inset: 0; background: url(../img/papyrus-fibre-texture-h.webp) 0 0 / 320px, url(../img/papyrus-fibre-texture.webp) 0 0 / 320px; background-blend-mode: multiply; opacity: .2; mix-blend-mode: multiply; pointer-events: none; }
.send__panel::after { content: ''; position: absolute; inset: 18px -18px -18px 18px; border: 1px solid #F6D37A; z-index: -1; pointer-events: none; }
.send__panel .form { position: relative; scroll-margin-top: calc(var(--hh) + 30px); }
.send .field textarea { min-height: 132px; }
.send .field--file input { background: var(--white); }
.field--order textarea { font-variant-numeric: tabular-nums; }
.send__recap:not([hidden]) ~ .send__seal { display: none; }
.send__seal { width: min(250px, 70%); margin-top: 34px; filter: drop-shadow(0 20px 22px rgba(4, 40, 40, .45)); }
.send__seal img { width: 100%; height: auto; animation: float 8s ease-in-out infinite; }
@media (max-width: 1000px) {
  .send__seal { display: none; }
  .send__sun { left: auto; bottom: auto; right: -520px; top: -560px; opacity: .26; }
}
@media (max-width: 1000px) {
  .send__in { grid-template-columns: 1fr; }
}
