/* =========================================================================
   East Rand Boards: material studio
   A quiet, square, white-and-stone site where the boards are the colour.
   Logo red #ED1C24 marks the main action, the logo bars and the saw line;
   logo blue #134882 marks links and focus. Jost (the logo's Futura look) at
   light weights for display, Hanken Grotesk to read, Plex Mono for sizes.
   ========================================================================= */

@font-face { font-family: "Jost"; src: url("../fonts/jost-var.woff2") format("woff2"); font-weight: 300 900; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url("../fonts/hanken-var.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "Plex Mono"; src: url("../fonts/plexmono-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
	--erb-red: #ED1C24;   /* logo: fills, bars */
	--erb-blue: #134882;  /* logo: links, focus */
	--erb-grey: #8D8F8F;  /* logo: bars and rules only */
	--red-ui: #D3131B;    /* white on it 5.4:1 */
	--red-hover: #B30F16;
	--red-on-ink: #FF5A5F;
	--blue-ui: #134882;
	--blue-hover: #0D3462;
	--blue-50: #EEF2F7;
	--ink: #121A23;       /* blue-black from the logo blue */
	--ink-2: #39424C;
	--steel: #60666B;     /* muted text: 5.9:1 on white */
	--line: #E5E4E0;
	--line-2: #D3D2CD;
	--paper: #F5F5F2;
	--stone: #ECEBE7;
	--white: #fff;
	--err: var(--red-ui);
	--warn: #8A5A00;

	--f-display: "Jost", "Futura", "Century Gothic", system-ui, sans-serif;
	--f-body: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
	--f-mono: "Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

	--fs-hero: clamp(2.7rem, 1.5rem + 4.4vw, 5.6rem);
	--fs-h1: clamp(2.3rem, 1.6rem + 2.8vw, 4.2rem);
	--fs-h2: clamp(1.9rem, 1.35rem + 2vw, 3.2rem);
	--fs-h3: clamp(1.15rem, 1.05rem + .35vw, 1.35rem);
	--fs-lead: clamp(1.08rem, 1rem + .35vw, 1.25rem);
	--fs-sm: .9rem;

	--s-1: .25rem; --s-2: .5rem; --s-3: .75rem; --s-4: 1rem; --s-5: 1.5rem; --s-6: 2rem; --s-7: 3rem; --s-8: 5rem;
	--sec: clamp(4.5rem, 3rem + 5vw, 8.5rem);
	--gutter: clamp(16px, 4vw, 48px);
	--max: 1360px;
	--r: 0px;
	--r-lg: 2px;
	--shadow: 0 1px 2px rgb(18 26 35 / .05), 0 10px 30px -12px rgb(18 26 35 / .18);
	--shadow-lg: 0 30px 70px -24px rgb(18 26 35 / .4);
	--ease: cubic-bezier(.2, .7, .1, 1);
	--ease-in-out: cubic-bezier(.65, 0, .35, 1);
	--top: 0px;
	--hdr: 80px;
}
body.has-adminbar { --top: 32px; }
@media (max-width: 782px) { body.has-adminbar { --top: 46px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--top) + var(--hdr) + 16px); }
html, body { overflow-x: clip; }
body { margin: 0; font: 400 1rem/1.65 var(--f-body); color: var(--ink-2); background: var(--white); text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .22em; }
a:hover { color: var(--ink); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--erb-blue); outline-offset: 2px; }
::selection { background: var(--ink); color: #fff; }
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 400; line-height: 1.04; letter-spacing: -.02em; color: var(--ink); margin: 0 0 .5em; text-wrap: balance; }
p { margin: 0 0 1em; }
fieldset { border: 0; margin: 0; padding: 0; min-inline-size: 0; }
address { font-style: normal; }
.sr, .screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 8px; top: -60px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 16px; }
.skip:focus { top: calc(var(--top) + 8px); color: #fff; }
.hp { position: absolute; left: -9999px; }
.muted { color: var(--steel); }
.ico { width: 20px; height: 20px; flex: none; }
.ico--sm { width: 15px; height: 15px; }

.wrap { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.main { display: block; outline: 0; }
.h1 { font-size: var(--fs-h1); }
.h2 { font-size: var(--fs-h2); }
.h3 { font-size: var(--fs-h3); font-weight: 500; letter-spacing: -.01em; }
.tone { color: var(--steel); }
.lead { font-size: var(--fs-lead); line-height: 1.6; color: var(--ink-2); max-width: 60ch; }
.btns { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-6); }
.label { font: 500 .72rem var(--f-display); text-transform: uppercase; letter-spacing: .14em; color: var(--steel); }

/* The logo's three stacked bars. */
.bars { display: grid; gap: 2px; width: 52px; }
.bars i { display: block; height: 3px; }
.bars i:nth-child(1) { background: var(--erb-red); width: 82%; }
.bars i:nth-child(2) { background: var(--erb-blue); width: 91%; }
.bars i:nth-child(3) { background: var(--erb-grey); width: 100%; }
.bars--lg { width: 88px; gap: 3px; }
.bars--lg i { height: 6px; }

/* ---------- Buttons and links ---------- */
.btn { --bg: var(--ink); --fg: #fff; --bd: var(--bg); display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 52px; padding: .7em 1.6em; border: 1px solid var(--bd); border-radius: var(--r); background: var(--bg); color: var(--fg); font: 500 .98rem/1.15 var(--f-display); letter-spacing: .015em; text-decoration: none; white-space: nowrap; transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease); }
.btn:hover { color: var(--fg); }
.btn .ico { width: 18px; height: 18px; }
.btn--red { --bg: var(--red-ui); --bd: var(--red-ui); }
.btn--red:hover { --bg: var(--red-hover); --bd: var(--red-hover); }
.btn--ink:hover { --bg: var(--erb-blue); --bd: var(--erb-blue); }
.btn--line { --bg: transparent; --fg: var(--ink); --bd: var(--line-2); }
.btn--line:hover { --bd: var(--ink); --bg: transparent; --fg: var(--ink); }
.btn--line-light { --bg: transparent; --fg: #fff; --bd: rgb(255 255 255 / .35); }
.btn--line-light:hover { --bd: #fff; }
.btn--sm { min-height: 42px; padding: .45em 1.05em; font-size: .9rem; }
.btn--lg { min-height: 58px; font-size: 1.04rem; }
.btn--block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { --bg: var(--stone); --fg: var(--steel); --bd: var(--stone); cursor: not-allowed; }
.iconbtn { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line-2); color: var(--ink); background: #fff; transition: border-color .2s, background-color .2s; text-decoration: none; flex: none; }
.iconbtn:hover { border-color: var(--ink); color: var(--ink); }
.iconbtn[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.link-btn { font: 500 .92rem var(--f-display); color: var(--blue-ui); text-decoration: underline; text-underline-offset: .25em; }
.link-btn:hover { color: var(--ink); }
.link-more { font: 500 1rem var(--f-display); text-decoration: none; color: var(--ink); display: inline-flex; align-items: center; gap: .5em; padding-bottom: 3px; background: linear-gradient(var(--erb-red), var(--erb-red)) 0 100% / 100% 1px no-repeat; white-space: nowrap; transition: background-size .3s var(--ease); }
.link-more:hover { color: var(--ink); background-size: 40% 1px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-flex; align-items: center; gap: .45em; min-height: 38px; padding: .35em .95em; border: 1px solid var(--line-2); border-radius: 99px; background: #fff; font: 400 .9rem var(--f-display); color: var(--ink); text-decoration: none; transition: border-color .2s, background-color .2s, color .2s; white-space: nowrap; }
.chip small { font: 500 .72rem var(--f-mono); color: var(--steel); }
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip.is-on { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip.is-on small { color: #C2C8CF; }
.count { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 99px; background: var(--erb-red); color: #fff; font: 600 .72rem/1 var(--f-display); }
.count[data-zero] { background: var(--stone); color: var(--steel); }

/* ---------- Header ---------- */
.notice-bar { background: var(--ink); color: #fff; font-size: var(--fs-sm); text-align: center; padding: .55em 0; }
.hdr { position: sticky; top: var(--top); z-index: 60; background: rgb(255 255 255 / .96); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); transition: box-shadow .3s var(--ease); }
.hdr.is-scrolled { box-shadow: 0 10px 30px -22px rgb(18 26 35 / .5); }
.hdr__in { display: flex; align-items: center; gap: var(--s-6); height: var(--hdr); }
.brand { display: block; flex: none; line-height: 0; }
.brand .brand__img { width: auto; height: 34px; max-width: none; }
.hdr__bars { display: none; }
.nav { margin-left: var(--s-4); }
.nav__list { display: flex; align-items: center; gap: 0; list-style: none; margin: 0; padding: 0; }
.nav__link { position: relative; display: inline-flex; align-items: center; gap: .3em; height: var(--hdr); padding: 0 .85rem; font: 400 1rem var(--f-display); color: var(--ink); text-decoration: none; white-space: nowrap; }
.nav__link::after { content: ""; position: absolute; left: .85rem; right: .85rem; bottom: 22px; height: 1px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav__link:hover, .nav__link[aria-expanded="true"], .nav__link[aria-current="page"] { color: var(--ink); }
.nav__link:hover::after, .nav__link[aria-expanded="true"]::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); }
.nav__link[aria-current="page"]::after { background: var(--erb-red); }
.nav__link .ico { transition: transform .25s var(--ease); color: var(--steel); }
.nav__link[aria-expanded="true"] .ico { transform: rotate(180deg); }
.nav__list--wp a { display: inline-flex; align-items: center; height: var(--hdr); padding: 0 .85rem; font: 400 1rem var(--f-display); text-decoration: none; }
.hdr__actions { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.hdr__status { display: inline-flex; align-items: center; gap: .5em; margin-right: var(--s-4); font-size: .84rem; color: var(--steel); text-decoration: none; white-space: nowrap; }
.hdr__status i { width: 7px; height: 7px; border-radius: 50%; background: var(--line-2); }
.hdr__status.is-open i { background: var(--erb-blue); }
.hdr__status:hover { color: var(--ink); }
@media (max-width: 1360px) { .hdr .hdr__status { display: none; } }
.hdr__btn { display: inline-grid; place-items: center; width: 44px; height: 44px; color: var(--ink); }
.hdr__btn:hover { color: var(--ink); background: var(--paper); }
.hdr__quote { display: inline-flex; align-items: center; gap: .55em; min-height: 44px; padding: 0 1rem; margin-left: 6px; border: 1px solid var(--line-2); font: 500 .96rem var(--f-display); color: var(--ink); }
.hdr__quote:hover { border-color: var(--ink); }
.hdr__quote .ico { width: 18px; height: 18px; }
.hdr__burger { display: none; }
@media (max-width: 1180px) {
	.nav { display: none; }
	.hdr__burger { display: inline-grid; }
}
@media (max-width: 560px) {
	:root { --hdr: 64px; }
	.brand .brand__img { height: 27px; }
	.hdr__quote-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
	.hdr__quote { padding: 0 .6rem; }
	.hdr__in { gap: var(--s-3); }
}
@media (max-width: 370px) { .brand .brand__img { height: 23px; } }

/* Mega menu */
.has-dd { position: static; }
.dd { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); box-shadow: 0 40px 60px -40px rgb(18 26 35 / .35); }
.dd.is-open { animation: dd-in .3s var(--ease) both; }
@keyframes dd-in { from { opacity: 0; transform: translateY(-6px); } }
.dd__in { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: var(--s-8); padding-block: var(--s-7) var(--s-8); }
.dd__cols { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: var(--s-6) var(--s-7); }
.dd__col--wide ul { columns: 2; column-gap: var(--s-6); }
.dd__head { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: .7rem; margin-bottom: .5rem; border-bottom: 1px solid var(--ink); font: 500 1.05rem var(--f-display); color: var(--ink); text-decoration: none; }
.dd ul { list-style: none; margin: 0; padding: 0; }
.dd li a { display: flex; justify-content: space-between; gap: 1em; padding: .4rem 0; text-decoration: none; color: var(--ink-2); break-inside: avoid; }
.dd li a:hover { color: var(--ink); }
.dd li a:hover span, .dd li a:hover { text-decoration: underline; text-decoration-color: var(--line-2); }
.dd small { font: 500 .72rem var(--f-mono); color: var(--steel); }
.dd__feature { display: flex; flex-direction: column; gap: .4rem; text-decoration: none; align-self: start; }
.dd__feature strong { font: 500 1.1rem var(--f-display); color: var(--ink); }
.dd__feature span:last-child { color: var(--steel); font-size: var(--fs-sm); }
.dd__swatches { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; margin-bottom: var(--s-3); }
.dd__swatches img { aspect-ratio: 3 / 4; object-fit: cover; width: 100%; transition: transform .4s var(--ease); }
.dd__feature:hover img { transform: translateY(-3px); }

/* Mobile menu */
.mmenu { position: fixed; inset: var(--top) 0 0 0; z-index: 90; background: #fff; display: flex; flex-direction: column; overflow-y: auto; overscroll-behavior: contain; }
.mmenu.is-open { animation: mm-in .35s var(--ease) both; }
@keyframes mm-in { from { opacity: 0; transform: translateY(-8px); } }
.mmenu__top { display: flex; align-items: center; justify-content: space-between; padding: 0 var(--gutter); min-height: var(--hdr); border-bottom: 1px solid var(--line); position: sticky; top: 0; background: #fff; }
.mmenu__top .brand__img { height: 27px; }
.mmenu__nav { padding: var(--s-3) var(--gutter); flex: 1; }
.mmenu__group { border-bottom: 1px solid var(--line); }
.mmenu__group summary { display: flex; justify-content: space-between; align-items: center; min-height: 62px; font: 400 1.5rem var(--f-display); color: var(--ink); cursor: pointer; list-style: none; letter-spacing: -.01em; }
.mmenu__group summary::-webkit-details-marker { display: none; }
.mmenu__group[open] summary .ico { transform: rotate(180deg); }
.mmenu__group ul { list-style: none; margin: 0 0 var(--s-4); padding: 0; columns: 2; column-gap: var(--s-4); }
.mmenu__group li a { display: block; padding: .55rem 0; text-decoration: none; color: var(--ink-2); break-inside: avoid; min-height: 44px; }
.mmenu__links { list-style: none; padding: 0; margin: var(--s-4) 0 0; }
.mmenu__links a { display: flex; align-items: center; min-height: 54px; font: 400 1.2rem var(--f-display); color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
.mmenu__foot { padding: var(--s-5) var(--gutter) calc(var(--s-7) + 64px); background: var(--paper); font-size: var(--fs-sm); color: var(--steel); display: grid; gap: .6rem; }
.mmenu__contact { display: grid; gap: .3rem; margin: 0; }
.mmenu__contact a { color: var(--ink); font: 500 1rem var(--f-display); text-decoration: none; min-height: 32px; display: inline-flex; align-items: center; overflow-wrap: anywhere; }
.mmenu__foot .status { color: var(--ink); margin: 0; display: inline-flex; gap: .5em; align-items: center; }
.mmenu__foot p { margin: 0; }
@media (max-width: 420px) { .mmenu__group ul { columns: 1; } }

/* Search */
.sbox { width: min(780px, calc(100% - 32px)); max-width: none; margin: calc(var(--top) + 90px) auto auto; padding: 0; border: 0; box-shadow: var(--shadow-lg); background: #fff; color: var(--ink); }
.sbox::backdrop { background: rgb(18 26 35 / .5); backdrop-filter: blur(3px); }
.sbox[open] { animation: dd-in .25s var(--ease) both; }
.sbox__form { display: flex; align-items: center; gap: var(--s-3); padding: 0 var(--s-3) 0 var(--s-5); border-bottom: 1px solid var(--line); }
.sbox__form input { flex: 1; min-width: 0; height: 72px; border: 0; outline: 0; font: 300 1.4rem var(--f-display); background: none; }
.sbox__form input::-webkit-search-cancel-button { display: none; }
.sbox__results { max-height: min(62vh, 560px); overflow-y: auto; padding: var(--s-3) var(--s-5) var(--s-5); }
.sbox__hint, .sbox__empty { color: var(--steel); margin: var(--s-3) 0; }
.sbox__h { font: 500 .72rem var(--f-display); text-transform: uppercase; letter-spacing: .14em; color: var(--steel); margin: var(--s-4) 0 var(--s-2); }
.sbox__cats { display: flex; flex-wrap: wrap; gap: 6px; }
.sbox__item { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: var(--s-4); align-items: center; padding: .5rem; margin-inline: -.5rem; text-decoration: none; }
.sbox__item:hover, .sbox__item:focus-visible { background: var(--paper); color: var(--ink); }
.sbox__item img { width: 52px; height: 52px; object-fit: cover; background: var(--paper); }
.sbox__item strong { display: block; font: 500 1rem var(--f-display); color: var(--ink); }
.sbox__item small { font: 500 .74rem var(--f-mono); color: var(--steel); }
.sbox__all { display: inline-flex; margin-top: var(--s-4); }
@media (max-width: 640px) { .sbox { margin-top: calc(var(--top) + 12px); width: calc(100% - 16px); } .sbox__results { max-height: 72vh; } }

/* Dialogs */
.dlg { width: min(560px, calc(100% - 24px)); max-width: none; padding: 0; border: 0; box-shadow: var(--shadow-lg); color: var(--ink); background: #fff; }
.dlg::backdrop { background: rgb(18 26 35 / .5); }
.dlg[open] { animation: dd-in .25s var(--ease) both; }
.dlg__in { padding: var(--s-6); display: grid; gap: var(--s-4); }
.dlg__in .h3 { margin: 0; }
.dlg__in p { margin: 0; color: var(--ink-2); }
.dlg .btns { margin-top: 0; }
@media (max-width: 560px) { .dlg { width: 100%; max-height: 100%; height: 100%; margin: 0; } }

/* Quote drawer */
.drawer { position: fixed; inset: var(--top) 0 0 0; z-index: 95; }
.drawer__scrim { position: absolute; inset: 0; background: rgb(18 26 35 / .45); animation: fade .25s ease both; }
@keyframes fade { from { opacity: 0; } }
.drawer__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(460px, 100%); background: #fff; display: flex; flex-direction: column; box-shadow: var(--shadow-lg); animation: dr-in .35s var(--ease) both; }
@keyframes dr-in { from { transform: translateX(40px); opacity: 0; } }
.drawer__head { display: flex; justify-content: space-between; align-items: center; padding: var(--s-4) var(--s-5); border-bottom: 1px solid var(--line); min-height: var(--hdr); }
.drawer__head h2 { margin: 0; font-size: 1.5rem; }
.drawer__body { flex: 1; overflow-y: auto; padding: var(--s-3) var(--s-5); overscroll-behavior: contain; }
.drawer__foot { display: grid; gap: var(--s-2); padding: var(--s-4) var(--s-5) var(--s-5); border-top: 1px solid var(--line); }
.qline { display: grid; grid-template-columns: 60px minmax(0, 1fr) auto; gap: var(--s-3) var(--s-4); align-items: center; padding: var(--s-4) 0; border-bottom: 1px solid var(--line); }
.qline__img { width: 60px; height: 60px; object-fit: cover; background: var(--paper); }
.qline__name { font: 500 1rem/1.25 var(--f-display); color: var(--ink); text-decoration: none; display: block; }
.qline__meta { font: 500 .72rem var(--f-mono); color: var(--steel); margin: .25em 0 0; }
.qline__ctl { grid-column: 2 / -1; display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); }
.qline__rm { font-size: .85rem; color: var(--steel); text-decoration: underline; min-height: 36px; }
.qline__rm:hover { color: var(--red-ui); }
.dempty { text-align: center; padding: var(--s-7) var(--s-4); color: var(--steel); display: grid; justify-items: center; gap: var(--s-3); }
.dempty p { margin: 0; max-width: 40ch; }
.dcut { display: flex; gap: var(--s-3); align-items: center; padding: var(--s-4); margin: var(--s-4) 0; background: var(--paper); font-size: var(--fs-sm); }
.dcut strong { font: 500 1rem var(--f-display); color: var(--ink); display: block; }
.dcut a { margin-left: auto; }

.qty { display: inline-flex; align-items: stretch; border: 1px solid var(--line-2); background: #fff; }
.qty button { width: 42px; display: grid; place-items: center; color: var(--ink); }
.qty button:hover { background: var(--paper); }
.qty button .ico { width: 15px; height: 15px; }
.qty input { width: 54px; border: 0; text-align: center; font: 500 1rem var(--f-mono); -moz-appearance: textfield; background: none; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty--sm button { width: 34px; }
.qty--sm input { width: 44px; height: 36px; font-size: .9rem; }

/* Phone dock */
.dock { display: none; }
@media (max-width: 760px) {
	.dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; background: rgb(255 255 255 / .97); backdrop-filter: blur(8px); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); }
	.dock a, .dock button { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 58px; font: 500 .72rem var(--f-display); color: var(--ink); text-decoration: none; }
	.dock .ico { width: 20px; height: 20px; }
	.dock .count { position: absolute; top: 6px; left: calc(50% + 6px); min-width: 18px; height: 18px; font-size: .66rem; }
	body { padding-bottom: calc(58px + env(safe-area-inset-bottom)); }
}

/* Toasts */
.toasts { position: fixed; z-index: 110; left: 50%; bottom: 24px; transform: translateX(-50%); display: grid; gap: 8px; width: min(440px, calc(100% - 24px)); pointer-events: none; }
@media (max-width: 760px) { .toasts { bottom: calc(70px + env(safe-area-inset-bottom)); } }

/* ---------- Ask the counter (chat helper) ---------- */
.ask-fab { position: fixed; right: max(24px, env(safe-area-inset-right)); bottom: 24px; z-index: 58; display: inline-flex; align-items: center; gap: .6em; min-height: 52px; padding: 0 1.3rem 0 1.1rem; border: 0; background: var(--ink); color: #fff; font: 500 .95rem var(--f-display); letter-spacing: .01em; box-shadow: var(--shadow-lg); cursor: pointer; transition: opacity .3s var(--ease), transform .3s var(--ease), background-color .2s; }
.ask-fab:hover { background: var(--ink-2); }
.ask-fab .ico { width: 20px; height: 20px; }
.ask-fab.has-chat::after { content: ""; position: absolute; top: 8px; left: 30px; width: 8px; height: 8px; border-radius: 50%; background: var(--erb-red); box-shadow: 0 0 0 2px var(--ink); }
.ask-fab.is-away, .ask-on .ask-fab { opacity: 0; transform: translateY(12px); pointer-events: none; visibility: hidden; transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s .3s; }
.ask { position: fixed; right: max(24px, env(safe-area-inset-right)); bottom: 24px; z-index: 85; display: grid; grid-template-rows: auto minmax(0, 1fr) auto auto; width: min(410px, calc(100vw - 48px)); height: min(660px, calc(100svh - var(--hdr) - 48px)); background: #fff; border: 1px solid var(--line-2); box-shadow: var(--shadow-lg); }
.ask.is-open { animation: ask-in .35s var(--ease); }
@keyframes ask-in { from { opacity: 0; transform: translateY(14px); } }
.ask__head { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; gap: .9rem; padding: .9rem .6rem .9rem 1.1rem; border-bottom: 1px solid var(--line); }
.ask__bars { width: 30px; height: auto; }
.ask__title { margin: 0; font: 400 1.2rem/1.1 var(--f-display); letter-spacing: -.01em; }
.ask__sub { display: flex; align-items: center; gap: .45em; margin: .2rem 0 0; font-size: .8rem; color: var(--steel); }
.ask__sub i { width: 7px; height: 7px; border-radius: 50%; background: var(--line-2); }
.ask__sub.is-open i { background: var(--erb-blue); }
.ask__clear { min-height: 40px; padding: 0 .6rem; border: 0; background: none; font: 500 .84rem var(--f-display); color: var(--steel); cursor: pointer; }
.ask__clear:hover { color: var(--ink); }
.ask__close { display: grid; place-items: center; width: 40px; height: 40px; border: 0; background: none; color: var(--ink); cursor: pointer; }
.ask__log { display: flex; flex-direction: column; gap: .9rem; padding: 1.1rem; overflow-y: auto; overscroll-behavior: contain; scroll-behavior: smooth; }
.ask__msg { max-width: 92%; font-size: .94rem; line-height: 1.5; color: var(--ink-2); }
.ask__msg p { margin: 0; }
.ask__msg p + p { margin-top: .35rem; }
.ask__msg--bot, .ask__msg--hello { align-self: flex-start; padding: .85rem 1rem; background: var(--paper); }
.ask__msg--me { align-self: flex-end; max-width: 82%; padding: .65rem .95rem; background: var(--ink); color: #fff; }
.ask__msg--bot .ask__part { font: 500 .84rem/1.5 var(--f-mono); color: var(--ink); }
.ask__live { display: inline-flex; margin-top: .45rem !important; font: 500 .82rem var(--f-display); color: var(--ink); }
.ask__starters { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .8rem !important; }
.ask__chip { min-height: 36px; padding: .3em .85em; border: 1px solid var(--line-2); border-radius: 99px; background: #fff; font: 400 .86rem var(--f-display); color: var(--ink); cursor: pointer; transition: border-color .2s, background-color .2s; }
.ask__chip:hover { border-color: var(--ink); }
.ask__links { display: flex; flex-wrap: wrap; gap: .3rem 1.1rem; margin-top: .7rem !important; }
.ask__link { padding-bottom: 2px; font: 500 .88rem var(--f-display); color: var(--ink); text-decoration: none; background: linear-gradient(var(--erb-red), var(--erb-red)) 0 100% / 100% 1px no-repeat; }
.ask__link:hover { color: var(--red-ui); }
.ask__plan { margin-top: .8rem; min-height: 46px; width: 100%; font-size: .92rem; }
.ask__products { display: grid; gap: .55rem; margin: .8rem 0 0; padding: 0; list-style: none; }
.ask-p { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: .75rem; padding: .55rem; background: #fff; }
.ask-p__img { position: relative; display: block; width: 56px; height: 56px; background: var(--stone); overflow: hidden; }
.ask-p__img::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgb(18 26 35 / .1); }
.ask-p__img img { width: 100%; height: 100%; object-fit: cover; }
.ask-p__body { display: grid; align-content: start; gap: .1rem; min-width: 0; }
.ask-p__name { font: 500 .92rem/1.25 var(--f-display); color: var(--ink); text-decoration: none; }
.ask-p__name:hover { text-decoration: underline; text-underline-offset: .2em; }
.ask-p__meta { font: 500 .72rem var(--f-mono); color: var(--steel); }
.ask-p__acts { display: flex; flex-wrap: wrap; align-items: center; gap: .15rem .9rem; margin-top: .2rem; }
.ask-p__act { display: inline-flex; align-items: center; min-height: 32px; padding: 0; border: 0; background: none; font: 500 .82rem var(--f-display); color: var(--blue-ui); text-decoration: none; cursor: pointer; }
.ask-p__act:hover { color: var(--ink); text-decoration: underline; text-underline-offset: .2em; }
.ask__msg--wait p { display: flex; gap: 5px; padding: .3rem 0; }
.ask__msg--wait i { width: 6px; height: 6px; border-radius: 50%; background: var(--steel); animation: ask-dot 1s infinite ease-in-out; }
.ask__msg--wait i:nth-child(3) { animation-delay: .15s; }
.ask__msg--wait i:nth-child(4) { animation-delay: .3s; }
@keyframes ask-dot { 50% { opacity: .25; } }
.ask__form { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: .5rem; padding: .6rem .6rem .6rem 1.1rem; border-top: 1px solid var(--line); }
.ask__form textarea { width: 100%; min-height: 44px; max-height: 140px; padding: .65rem 0; border: 0; background: none; font: 400 1rem/1.45 var(--f-body); color: var(--ink); resize: none; }
.ask__form textarea:focus { outline: none; }
.ask__form:focus-within { box-shadow: inset 0 2px 0 var(--erb-blue); }
.ask__send { display: grid; place-items: center; width: 44px; height: 44px; border: 0; background: var(--red-ui); color: #fff; cursor: pointer; transition: background-color .2s; }
.ask__send:hover { background: var(--red-hover); }
.ask__note { margin: 0; padding: 0 1.1rem .75rem; font-size: .74rem; line-height: 1.4; color: var(--steel); }
@media (max-width: 760px) {
	.ask-fab { display: none; }
	.ask { inset: var(--top) 0 0 0; right: 0; bottom: 0; width: auto; height: auto; border: 0; box-shadow: none; padding-bottom: env(safe-area-inset-bottom); }
	.ask-on, .ask-on body { overflow: hidden; }
	.ask__head { padding-left: max(16px, env(safe-area-inset-left)); }
	.ask__log { padding-inline: 16px; }
	.ask__msg { max-width: 96%; }
}
.toast { pointer-events: auto; display: flex; align-items: center; gap: var(--s-3); padding: .85rem 1rem; background: var(--ink); color: #fff; box-shadow: var(--shadow-lg); animation: toast-in .35s var(--ease) both; }
.toast.is-out { animation: toast-out .25s ease both; }
@keyframes toast-in { from { opacity: 0; transform: translateY(12px); } }
@keyframes toast-out { to { opacity: 0; transform: translateY(8px); } }
.toast img { width: 40px; height: 40px; object-fit: cover; flex: none; }
.toast__txt { flex: 1; min-width: 0; font-size: var(--fs-sm); line-height: 1.35; color: #D5DAE0; }
.toast__txt strong { display: block; font: 500 .98rem var(--f-display); color: #fff; }
.toast a, .toast button { color: #fff; font: 500 .9rem var(--f-display); text-decoration: underline; white-space: nowrap; min-height: 36px; display: inline-flex; align-items: center; }
.toast a:hover, .toast button:hover { color: var(--red-on-ink); }

/* ---------- Sections ---------- */
.sec { padding-block: var(--sec); }
.sec--paper { background: var(--paper); }
.sec--ink { background: var(--ink); color: #C9CFD6; }
.sec--ink h2, .sec--ink h3 { color: #fff; }
.sec--ink .tone { color: #9BA5B0; }
.sec__head { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--s-6); margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.5rem); }
.sec__head .h2 { margin: 0; max-width: 22ch; }
@media (max-width: 760px) { .sec__head { flex-direction: column; align-items: flex-start; } }

.phead { padding-block: clamp(2rem, 1.4rem + 2.5vw, 4rem) clamp(2rem, 1.4rem + 2vw, 3.2rem); border-bottom: 1px solid var(--line); }
.phead__title { font-size: var(--fs-h1); margin: .45em 0 .35em; max-width: 20ch; }
.phead__intro { font-size: var(--fs-lead); color: var(--ink-2); max-width: 64ch; margin: 0; }
.phead__bars { margin-top: var(--s-6); }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: .45em; font-size: .84rem; color: var(--steel); }
.crumbs a { color: var(--steel); text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.crumbs__sep { color: var(--line-2); }

/* ---------- Home: intro ---------- */
.intro { border-bottom: 1px solid var(--line); }
.intro__in { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 6rem); align-items: end; padding-block: clamp(3.5rem, 2.5rem + 4vw, 6.5rem); }
.intro__lead { font: 300 clamp(1.55rem, 1.1rem + 1.5vw, 2.45rem)/1.28 var(--f-display); letter-spacing: -.015em; color: var(--ink); margin: 0; max-width: 30ch; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; margin: 0; }
.facts div { padding: var(--s-4) 0; border-top: 1px solid var(--line); }
.facts div:nth-child(odd) { padding-right: var(--s-5); }
.facts dt { font-size: .82rem; color: var(--steel); }
.facts dd { margin: .2rem 0 0; font: 400 1.45rem/1.2 var(--f-display); color: var(--ink); letter-spacing: -.01em; }
@media (max-width: 900px) { .intro__in { grid-template-columns: 1fr; } }

/* ---------- Home: decor library (sample chips) ---------- */
.lib__ranges { display: flex; flex-wrap: wrap; gap: .25rem 1.4rem; }
.lib__ranges a { font: 400 1rem var(--f-display); color: var(--ink); text-decoration: none; display: inline-flex; align-items: baseline; gap: .35em; padding: .3rem 0; border-bottom: 1px solid transparent; }
.lib__ranges a:hover { border-bottom-color: var(--ink); }
.lib__ranges small { font: 500 .7rem var(--f-mono); color: var(--steel); }
.lib__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(1.4rem, 1rem + 1.4vw, 2.6rem) clamp(.8rem, .5rem + 1vw, 1.6rem); }
@media (max-width: 1100px) { .lib__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 700px) { .lib__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.chip-card { display: grid; gap: .3rem; text-decoration: none; }
.chip-card__face { position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; background: var(--stone); box-shadow: 0 1px 0 rgb(18 26 35 / .06), inset 0 0 0 1px rgb(18 26 35 / .06); transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.chip-card__face img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
/* The punched hole of a showroom sample chip. */
.chip-card__face::after { content: ""; position: absolute; top: 9px; left: 50%; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: #fff; box-shadow: inset 0 1px 2px rgb(18 26 35 / .35); }
.chip-card__name { margin-top: .55rem; font: 500 1rem/1.25 var(--f-display); color: var(--ink); }
.chip-card__meta { font: 500 .7rem var(--f-mono); color: var(--steel); }
.chip-card:hover .chip-card__face { transform: translateY(-6px); box-shadow: 0 18px 30px -18px rgb(18 26 35 / .55), inset 0 0 0 1px rgb(18 26 35 / .06); }
.chip-card:hover .chip-card__face img { transform: scale(1.05); }

/* ---------- Home: catalogue index ---------- */
.index__cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-7) clamp(1.5rem, 3vw, 3rem); }
@media (max-width: 1000px) { .index__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .index__cols { grid-template-columns: 1fr; } }
.index__col h3 { font-size: 1.35rem; padding-bottom: .8rem; margin-bottom: .4rem; border-bottom: 1px solid var(--ink); }
.index__col h3 a { text-decoration: none; }
.index__col ul { list-style: none; margin: 0; padding: 0; }
.index__col li a { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink-2); transition: color .2s, padding .3s var(--ease); }
.index__col li a small { font: 500 .72rem var(--f-mono); color: var(--steel); }
.index__col li a:hover { color: var(--ink); padding-left: .4rem; }

/* ---------- Catalogue cards ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(46%, 230px), 1fr)); gap: var(--s-7) var(--s-5); }
.card { position: relative; display: flex; flex-direction: column; min-width: 0; }
.card__media { position: relative; aspect-ratio: 1; background: #fff; box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.card--decor .card__media { background: var(--stone); box-shadow: inset 0 0 0 1px rgb(18 26 35 / .06); }
.card__img-link { display: block; width: 100%; height: 100%; }
.card__img { width: 100%; height: 100%; object-fit: contain; padding: 8%; transition: transform .9s var(--ease); }
.card--decor .card__img { object-fit: cover; padding: 0; }
.card__ph { display: grid; place-items: center; height: 100%; }
.card__flag { position: absolute; top: 12px; left: 12px; padding: .3em .65em; background: var(--red-ui); color: #fff; font: 500 .72rem var(--f-display); letter-spacing: .03em; }
.card__tools { position: absolute; right: 10px; bottom: 10px; z-index: 2; display: flex; gap: 6px; }
.card__tool { display: inline-flex; align-items: center; justify-content: center; gap: .35em; min-width: 40px; height: 40px; padding: 0 .75rem; background: #fff; color: var(--ink); text-decoration: none; font: 500 .84rem var(--f-display); box-shadow: 0 1px 3px rgb(18 26 35 / .16); transition: background-color .2s, color .2s; }
.card__tool:hover { background: var(--ink); color: #fff; }
.card__tool .ico { width: 17px; height: 17px; }
.card__add.is-added { background: var(--erb-blue); color: #fff; }
.card__body { display: flex; flex-direction: column; gap: .2rem; padding-top: var(--s-4); }
.card__title { font: 500 1.02rem/1.3 var(--f-display); letter-spacing: -.005em; margin: 0; }
.card__title a { text-decoration: none; }
.card__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card__meta { font: 500 .7rem/1.45 var(--f-mono); color: var(--steel); margin: 0; }
.card__price { font-weight: 600; margin: 0; color: var(--ink); }
.card:hover .card__img { transform: scale(1.04); }
.card:hover .card__title a { text-decoration: underline; text-decoration-color: var(--line-2); }
@media (max-width: 480px) { .card__add-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } .card__tool { padding: 0; } }

.rail { position: relative; }
.rail__track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, calc((100% - 3 * var(--s-5)) / 4)); gap: var(--s-5); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-block: 4px; }
.rail__track::-webkit-scrollbar { display: none; }
.rail__item { scroll-snap-align: start; }
.rail__ui { display: flex; justify-content: flex-end; gap: 6px; margin-top: var(--s-5); }
@media (max-width: 900px) { .rail__track { grid-auto-columns: minmax(200px, 44%); } }
@media (max-width: 520px) { .rail__track { grid-auto-columns: 72%; } }

/* ---------- Cut list story ---------- */
.cutstory__in { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(2.5rem, 6vw, 7rem); align-items: center; }
@media (max-width: 960px) { .cutstory__in { grid-template-columns: 1fr; } }
.notation { margin: var(--s-6) 0 0; padding: var(--s-5) 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.notation figcaption { font: 500 .72rem var(--f-display); text-transform: uppercase; letter-spacing: .14em; color: var(--steel); margin-bottom: var(--s-3); }
.notation__line { font: 500 clamp(1.02rem, .9rem + .6vw, 1.35rem)/1.5 var(--f-mono); color: var(--ink); margin: 0; overflow-wrap: anywhere; }
.notation__line--lg { padding: var(--s-5); background: var(--paper); margin: var(--s-5) 0 var(--s-3); }
.notation__q, .notation__h { color: var(--red-ui); }
.notation__l, .notation__w { color: var(--blue-ui); }
.notation__e { background: var(--blue-50); padding: 0 .25em; }
.notation__sep { color: var(--line-2); }
.notation__key { font-size: .86rem; color: var(--steel); margin: var(--s-3) 0 0; max-width: 56ch; }
.sheetdemo { margin: 0; padding: clamp(1.2rem, 3vw, 2.5rem); background: var(--paper); }
.sheetdemo svg { width: 100%; height: auto; overflow: visible; }
.sheetdemo__board { fill: #fff; stroke: var(--ink); stroke-width: 4; }
.sheetdemo__part rect { fill: #E7DED1; stroke: #fff; stroke-width: 4; }
.sheetdemo__part:nth-child(odd) rect { fill: #DFD4C4; }
.sheetdemo__part text { font: 500 60px var(--f-display); fill: var(--ink); text-anchor: middle; }
.sheetdemo__part .sheetdemo__mm { font: 500 44px var(--f-mono); fill: var(--steel); }
.sheetdemo__cuts path { fill: none; stroke: var(--red-ui); stroke-width: 6; stroke-dasharray: 1; stroke-dashoffset: 1; }
.sheetdemo__dims path { stroke: var(--steel); stroke-width: 3; fill: none; }
.sheetdemo__dims text { font: 500 50px var(--f-mono); fill: var(--steel); text-anchor: middle; }
.sheetdemo figcaption { font-size: .86rem; color: var(--steel); margin-top: var(--s-4); }
.sheetdemo__part { opacity: 0; transform: translateY(12px); transition: opacity .6s var(--ease) calc(var(--i) * 70ms), transform .6s var(--ease) calc(var(--i) * 70ms); }
.is-in .sheetdemo__part { opacity: 1; transform: none; }
.is-in .sheetdemo__cuts path { stroke-dashoffset: 0; transition: stroke-dashoffset .8s var(--ease-in-out) calc(900ms + var(--c) * 110ms); }

/* ---------- Workshop band ---------- */
.workshop { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.workshop__img { margin: 0; background: #fff; display: grid; align-content: center; padding: clamp(1.5rem, 4vw, 4rem); border-right: 1px solid var(--line); }
.workshop__img figcaption { font-size: .78rem; color: var(--steel); text-align: right; }
.workshop__copy { padding: clamp(2.5rem, 2rem + 4vw, 6rem) var(--gutter); background: var(--paper); display: grid; align-content: center; gap: var(--s-5); }
.workshop__copy p { max-width: 50ch; margin: 0; }
.workshop__copy .h2 { margin: 0; }
.workshop__copy .link-more { justify-self: start; }
@media (max-width: 900px) { .workshop { grid-template-columns: 1fr; } .workshop__img { border-right: 0; border-bottom: 1px solid var(--line); } }

/* ---------- Steps (a real sequence) ---------- */
.steps__list { list-style: none; margin: var(--s-7) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-6); }
.steps__list li { border-top: 1px solid var(--ink); padding-top: var(--s-5); }
.steps__n { display: block; font: 300 2.6rem/1 var(--f-display); color: var(--steel); margin-bottom: var(--s-5); }
.steps__list li:first-child { border-top-color: var(--erb-red); }
.steps__list h3 { font-size: 1.2rem; font-weight: 500; }
.steps__list p { margin: 0; }
@media (max-width: 900px) { .steps__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps__list { grid-template-columns: 1fr; } }

/* ---------- Hardware list (category pages fallback) ---------- */
.hwlist { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 0 var(--s-6); }
.hwlist a { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; align-items: center; gap: var(--s-4); padding: var(--s-3) 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.hwlist__img img { width: 52px; height: 52px; object-fit: contain; }
.hwlist__name { font: 500 1rem var(--f-display); color: var(--ink); }
.hwlist__n { font: 500 .72rem var(--f-mono); color: var(--steel); }

/* ---------- Visit ---------- */
.visit { border-top: 1px solid var(--line); }
.visit__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(2rem, 6vw, 7rem); align-items: stretch; }
@media (max-width: 900px) { .visit__in { grid-template-columns: 1fr; } }
.visit__addr { font: 400 1.35rem/1.4 var(--f-display); color: var(--ink); margin: var(--s-6) 0 var(--s-4); }
.visit__note { color: var(--steel); font-size: var(--fs-sm); margin: var(--s-3) 0 0; }
.visit__map { position: relative; min-height: 380px; background: var(--paper); overflow: hidden; }
.visit__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.visit__map-ph { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: var(--s-3); text-align: center; padding: var(--s-5);
	background: linear-gradient(90deg, transparent 49.7%, rgb(18 26 35 / .06) 50%, transparent 50.3%) 0 0 / 96px 96px, linear-gradient(0deg, transparent 49.7%, rgb(18 26 35 / .06) 50%, transparent 50.3%) 0 0 / 96px 96px, var(--paper); }
.visit__map-ph p { font: 400 1.05rem var(--f-display); color: var(--ink); max-width: 28ch; margin: 0; }
.visit__map-ph small { color: var(--steel); }
.visit__pin { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--red-ui); color: #fff; }
.status { display: inline-flex; align-items: center; gap: .5em; }
.visit .status { margin: 0; color: var(--ink); }
.visit .status .ico { color: var(--steel); }
.visit .status.is-open .ico { color: var(--erb-blue); }
.hours { margin: var(--s-3) 0 0; display: grid; font-size: var(--fs-sm); }
.hours div { display: flex; justify-content: space-between; gap: var(--s-4); padding: .35rem 0; }
.hours dd { margin: 0; font-family: var(--f-mono); font-size: .8rem; text-align: right; }
.hours--lg { max-width: 480px; font-size: 1rem; }
.hours--lg div { border-bottom: 1px solid var(--line); padding: .65rem 0; }
.hours--lg .is-closed dd { color: var(--steel); }

/* ---------- FAQ ---------- */
.faqt { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 6vw, 7rem); }
@media (max-width: 900px) { .faqt { grid-template-columns: 1fr; } }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item:first-child { border-top: 1px solid var(--line); }
.faq__item summary { display: flex; justify-content: space-between; align-items: center; gap: var(--s-4); padding: var(--s-5) 0; min-height: 64px; font: 400 1.15rem/1.35 var(--f-display); color: var(--ink); cursor: pointer; list-style: none; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__ico { transition: transform .35s var(--ease); color: var(--steel); }
.faq__item[open] .faq__ico { transform: rotate(45deg); }
.faq__a { padding-bottom: var(--s-5); max-width: 68ch; }
.faq .link-more { margin-top: var(--s-6); }
.faqpage { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: var(--s-8); padding-block: var(--s-7) var(--sec); align-items: start; }
.faqpage__ask { position: sticky; top: calc(var(--top) + var(--hdr) + 24px); display: grid; gap: var(--s-3); }
.faqpage__ask p { margin: 0 0 var(--s-2); color: var(--steel); }
@media (max-width: 900px) { .faqpage { grid-template-columns: 1fr; } .faqpage__ask { position: static; } }

/* ---------- Panels and forms ---------- */
.panel { background: #fff; border: 1px solid var(--line); padding: clamp(1.2rem, .9rem + 1.3vw, 2.2rem); }
.panel__head { display: flex; justify-content: space-between; align-items: center; gap: var(--s-4); margin-bottom: var(--s-5); }
.panel__head .h3 { margin: 0; }
.form { display: grid; gap: var(--s-5); }
.form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-5) var(--s-4); }
@media (max-width: 560px) { .form__grid { grid-template-columns: 1fr; } }
.field { display: grid; gap: .45rem; min-width: 0; }
.field label, .field legend { font: 500 .9rem var(--f-display); color: var(--ink); }
.opt { font: 400 .78rem var(--f-body); color: var(--steel); }
input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input[type="search"], input[type="date"], select, textarea {
	width: 100%; min-height: 50px; padding: .65rem .85rem; border: 1px solid var(--line-2); border-radius: 0; background: #fff; color: var(--ink); transition: border-color .2s, box-shadow .2s; }
textarea { min-height: 120px; resize: vertical; }
select { appearance: none; padding-right: 2.4rem; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23121A23' stroke-width='1.7' stroke-linecap='round'%3E%3Cpath d='m6.5 9.5 5.5 5.5 5.5-5.5'/%3E%3C/svg%3E") no-repeat right .75rem center / 15px; }
input:hover, select:hover, textarea:hover { border-color: var(--steel); }
input:focus, select:focus, textarea:focus { outline: 0; border-color: var(--erb-blue); box-shadow: 0 0 0 3px rgb(19 72 130 / .15); }
input[type="file"] { min-height: 50px; padding: .55rem; border: 1px dashed var(--line-2); width: 100%; background: var(--paper); font-size: var(--fs-sm); }
input[type="file"]::file-selector-button { margin-right: .8rem; padding: .45rem .9rem; border: 0; background: var(--ink); color: #fff; font: 500 .85rem var(--f-display); cursor: pointer; }
.field.is-err input, .field.is-err select, .field.is-err textarea, input.is-err { border-color: var(--err); }
.field__err { color: var(--err); font-size: .84rem; margin: 0; }
.hint { font-size: .82rem; color: var(--steel); margin: 0; }
.radios { display: flex; flex-wrap: wrap; gap: 6px; }
.radio { position: relative; }
.radio input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.radio span { display: inline-flex; align-items: center; min-height: 44px; padding: .4rem 1rem; border: 1px solid var(--line-2); font: 400 .92rem var(--f-display); color: var(--ink); cursor: pointer; transition: border-color .2s, background-color .2s; }
.radio input:checked + span { border-color: var(--ink); background: var(--ink); color: #fff; }
.radio input:focus-visible + span { outline: 2px solid var(--erb-blue); outline-offset: 2px; }
.check { display: flex; gap: .7rem; align-items: flex-start; font-size: .92rem; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: .1rem 0 0; accent-color: var(--ink); flex: none; }
.field--check { align-content: end; padding-bottom: .8rem; }
.form__msg { margin: 0; font-size: .95rem; }
.form__msg:empty { display: none; }
.form__msg.is-ok { padding: var(--s-4); background: var(--blue-50); border-left: 3px solid var(--erb-blue); color: var(--ink); }
.form__msg.is-err { padding: var(--s-4); background: #FDEDED; border-left: 3px solid var(--red-ui); color: #8F0D13; }
.form__msg.is-warn { padding: var(--s-4); background: #FFF4E0; border-left: 3px solid var(--warn); color: var(--ink); }
.btn.is-busy { position: relative; color: transparent !important; pointer-events: none; }
.btn.is-busy::after { content: ""; position: absolute; width: 18px; height: 18px; border: 2px solid rgb(255 255 255 / .4); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Catalogue pages ---------- */
.catstrip { display: flex; gap: 0 1.6rem; overflow-x: auto; margin-top: var(--s-6); padding-bottom: 2px; scrollbar-width: thin; border-bottom: 1px solid var(--line); }
.catstrip a { flex: none; display: inline-flex; align-items: center; min-height: 46px; font: 400 .98rem var(--f-display); color: var(--steel); text-decoration: none; white-space: nowrap; border-bottom: 1px solid transparent; margin-bottom: -1px; }
.catstrip a:hover { color: var(--ink); }
.catstrip a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--erb-red); }
.phead--shop .phead__bars { display: none; }
.shop { padding-block: var(--s-6) var(--sec); }
.shop__try { display: flex; align-items: center; gap: var(--s-4); padding: var(--s-4) 0; margin-bottom: var(--s-5); text-decoration: none; color: var(--ink-2); border-bottom: 1px solid var(--line); }
.shop__try .ico { color: var(--erb-blue); width: 24px; height: 24px; }
.shop__try strong { font: 500 1rem var(--f-display); color: var(--ink); }
.shop__try:hover { color: var(--ink); }
.shop__bar { display: flex; justify-content: space-between; align-items: center; gap: var(--s-4); flex-wrap: wrap; margin-bottom: var(--s-7); }
.shop__sort { display: flex; align-items: center; gap: var(--s-4); margin-left: auto; }
.shop__count { margin: 0; color: var(--steel); font-size: var(--fs-sm); white-space: nowrap; }
.woocommerce-ordering { margin: 0; }
.woocommerce-ordering select { min-height: 42px; width: auto; font-size: .9rem; border-color: var(--line); }
.pager ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; list-style: none; padding: 0; margin: var(--s-8) 0 0; }
.pager a, .pager span { display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 .6em; border: 1px solid var(--line); font: 400 .95rem var(--f-display); color: var(--ink); text-decoration: none; }
.pager .current { background: var(--ink); color: #fff; border-color: var(--ink); }
.pager a:hover { border-color: var(--ink); }
.empty { text-align: center; padding: var(--s-8) var(--s-4); display: grid; justify-items: center; gap: var(--s-3); }
.empty p { color: var(--steel); max-width: 52ch; }
.empty .btns { justify-content: center; margin-top: 0; }

/* ---------- Product page ---------- */
.pdp { padding-block: var(--s-5) var(--s-8); }
.pdp__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 6rem); margin-top: var(--s-6); align-items: start; }
@media (max-width: 900px) { .pdp__grid { grid-template-columns: 1fr; } }
.pdp__media { position: sticky; top: calc(var(--top) + var(--hdr) + 24px); }
@media (max-width: 900px) { .pdp__media { position: static; } }
.pdp__main { margin: 0; background: #fff; aspect-ratio: 1; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.pdp__main--decor { background: var(--avg, var(--stone)); box-shadow: none; aspect-ratio: 4 / 5; }
.pdp__img { width: 100%; height: 100%; object-fit: contain; padding: 6%; }
.pdp__main--decor .pdp__img { object-fit: cover; padding: 0; }
.pdp__thumbs { display: flex; gap: 8px; margin-top: var(--s-3); flex-wrap: wrap; }
.pdp__thumb { width: 72px; height: 72px; padding: 0; border: 1px solid var(--line); }
.pdp__thumb img { width: 100%; height: 100%; object-fit: cover; }
.pdp__thumb.is-on { border-color: var(--ink); }
.pdp__note { display: flex; gap: .5rem; align-items: flex-start; margin: var(--s-3) 0 0; font-size: .82rem; color: var(--steel); }
.pdp__note .ico { width: 16px; height: 16px; margin-top: .15rem; }
.pdp__line { margin: 0 0 var(--s-3); font: 500 .72rem var(--f-display); text-transform: uppercase; letter-spacing: .14em; color: var(--steel); }
.pdp__title { font-size: clamp(2.1rem, 1.5rem + 2.2vw, 3.4rem); margin: 0 0 var(--s-5); }
.pdp__special { display: inline-block; padding: .3em .7em; background: var(--red-ui); color: #fff; font: 500 .88rem var(--f-display); }
.boarddim { margin: var(--s-4) 0 var(--s-6); max-width: 420px; }
.boarddim svg { width: 100%; height: auto; overflow: visible; }
.boarddim__face { fill: var(--stone); stroke: var(--ink); stroke-width: .8; }
.boarddim__grain path { fill: none; stroke: rgb(255 255 255 / .22); stroke-width: 1; }
.boarddim__edge { fill: #A6A9A9; }
.boarddim__line { stroke: var(--steel); stroke-width: .8; fill: none; }
.boarddim text { font: 500 10.5px var(--f-mono); fill: var(--ink); text-anchor: middle; }
.boarddim .boarddim__t { text-anchor: start; font-size: 9px; fill: var(--steel); }
.boarddim figcaption { font: 500 .8rem var(--f-mono); color: var(--steel); margin-top: var(--s-2); }
.pdp__buy { display: grid; gap: var(--s-4); padding: var(--s-5) 0; border-top: 1px solid var(--line); }
.pdp__row { display: flex; gap: var(--s-3); flex-wrap: wrap; }
.pdp__row .qty input { height: 56px; }
.pdp__add { flex: 1; min-height: 58px; min-width: 200px; }
.pdp__more { display: grid; margin: 0 0 var(--s-6); border-top: 1px solid var(--line); }
.pdp__act { display: flex; align-items: center; gap: var(--s-4); padding: var(--s-4) 0; border-bottom: 1px solid var(--line); text-decoration: none; transition: padding .3s var(--ease); }
.pdp__act .ico { width: 22px; height: 22px; color: var(--steel); }
.pdp__act strong { display: block; font: 500 1rem var(--f-display); color: var(--ink); }
.pdp__act small { color: var(--steel); }
.pdp__act:hover { padding-left: .4rem; }
.pdp__act:hover .ico { color: var(--erb-blue); }
.specs { margin: var(--s-5) 0; display: grid; }
.specs div { display: grid; grid-template-columns: 9.5rem minmax(0, 1fr); gap: var(--s-4); padding: .7rem 0; border-bottom: 1px solid var(--line); }
.specs dt { color: var(--steel); font-size: var(--fs-sm); }
.specs dd { margin: 0; color: var(--ink); }
.pdp__desc { margin-top: var(--s-6); }
.pdp__terms { display: flex; gap: .5rem; align-items: center; color: var(--steel); font-size: var(--fs-sm); margin-top: var(--s-5); }
.pdp__terms .ico { width: 16px; height: 16px; }

/* ---------- Quote page ---------- */
.quote { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 470px); gap: var(--s-7); padding-block: var(--s-7) var(--sec); align-items: start; }
.quote__list { display: grid; gap: var(--s-6); min-width: 0; }
.quote__form { position: sticky; top: calc(var(--top) + var(--hdr) + 24px); background: var(--paper); border-color: var(--paper); }
@media (max-width: 1000px) { .quote { grid-template-columns: 1fr; } .quote__form { position: static; } }
.qtable .qline { grid-template-columns: 72px minmax(0, 1fr) auto auto; }
.qtable .qline__img { width: 72px; height: 72px; }
.qtable .qline__ctl { grid-column: auto; }
@media (max-width: 640px) { .qtable .qline { grid-template-columns: 60px minmax(0, 1fr); } .qtable .qline__img { width: 60px; height: 60px; } .qtable .qline__ctl { grid-column: 2; } }

/* ---------- Other pages ---------- */
.visnotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-7); }
@media (max-width: 900px) { .visnotes { grid-template-columns: 1fr; } }
.visnotes > div { border-top: 1px solid var(--ink); padding-top: var(--s-5); }
.about__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 7rem); align-items: start; }
@media (max-width: 900px) { .about__in { grid-template-columns: 1fr; } }
.about__img { margin: 0; }
.about__img img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; }
.who { list-style: none; padding: 0; margin: var(--s-7) 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-6); }
.who li { display: grid; gap: .6rem; padding-top: var(--s-5); border-top: 1px solid var(--ink); align-content: start; }
.who strong { font: 400 1.35rem var(--f-display); color: var(--ink); }
@media (max-width: 800px) { .who { grid-template-columns: 1fr; } }
.contact { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: var(--s-7); padding-block: var(--s-7) 0; align-items: start; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }
.contact__ways { list-style: none; margin: 0; padding: 0; display: grid; border-top: 1px solid var(--line); }
.contact__ways a { display: flex; align-items: center; gap: var(--s-4); padding: var(--s-5) 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.contact__ways a:hover strong { text-decoration: underline; text-decoration-color: var(--line-2); }
.contact__ways .ico { width: 24px; height: 24px; color: var(--steel); }
.contact__ways small { display: block; color: var(--steel); font-size: .8rem; }
.contact__ways strong { font: 400 1.25rem var(--f-display); color: var(--ink); overflow-wrap: anywhere; }

.svc-hero { position: relative; padding-block: var(--s-6) var(--s-8); border-bottom: 1px solid var(--line); }
.svc-hero__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.svc-hero h1 { margin-top: var(--s-5); }
.svc-hero__img { margin: 0; }
.svc-hero__img img { width: 100%; }
.svc-hero__img figcaption { font-size: .78rem; color: var(--steel); text-align: right; }
.svc-hero__bars { display: none; }
@media (max-width: 900px) { .svc-hero__in { grid-template-columns: 1fr; } }
.svc-rows { display: grid; margin-top: var(--s-7); }
.svc-row { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: var(--s-5); padding: var(--s-6) 0; border-top: 1px solid var(--line); }
.svc-row__ico { color: var(--steel); }
.svc-row__ico .ico { width: 40px; height: 40px; stroke-width: 1.2; }
.svc-row h3 { font-size: 1.4rem; }
.svc-row p { max-width: 66ch; }
.svc-edges { list-style: none; padding: 0; margin: var(--s-4) 0 0; display: grid; border-top: 1px solid var(--line); max-width: 760px; }
.svc-edges li { display: flex; flex-wrap: wrap; gap: .3rem 1.2rem; padding: .7rem 0; border-bottom: 1px solid var(--line); }
.svc-edges strong { font: 500 .95rem var(--f-mono); color: var(--ink); min-width: 9ch; }
.svc-edges span { color: var(--steel); }
.leadtimes dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-6); margin: var(--s-7) 0; }
.leadtimes dl div { padding-top: var(--s-4); border-top: 1px solid rgb(255 255 255 / .25); }
.leadtimes dt { color: #9BA5B0; font-size: var(--fs-sm); }
.leadtimes dd { margin: .4rem 0 0; font: 300 1.8rem/1.15 var(--f-display); color: #fff; }
.leadtimes p { margin: 0; }
@media (max-width: 760px) { .leadtimes dl { grid-template-columns: 1fr; } }
.send { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
@media (max-width: 900px) { .send { grid-template-columns: 1fr; } }
.send__ways { list-style: none; padding: 0; margin: 0; display: grid; border-top: 1px solid var(--line); }
.send__ways a { display: flex; align-items: center; gap: var(--s-4); padding: var(--s-4) 0; border-bottom: 1px solid var(--line); text-decoration: none; transition: padding .3s var(--ease); }
.send__ways a:hover { padding-left: .4rem; }
.send__ways .ico { width: 22px; height: 22px; color: var(--steel); }
.send__ways strong { display: block; font: 500 1.02rem var(--f-display); color: var(--ink); }
.send__ways small { color: var(--steel); overflow-wrap: anywhere; }
.homag { max-width: 78ch; }

.nf { padding-block: var(--sec); }
.nf__in { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
@media (max-width: 900px) { .nf__in { grid-template-columns: 1fr; } }
.nf__board { fill: var(--stone); stroke: var(--ink); stroke-width: 1.5; }
.nf__off { fill: #fff; stroke: var(--line-2); stroke-width: 1.5; }
.nf__cut { stroke: var(--red-ui); stroke-width: 2; fill: none; }
.nf__art text { font: 300 54px var(--f-display); fill: var(--ink); text-anchor: middle; }
.nf__search { display: flex; gap: 8px; margin-top: var(--s-6); max-width: 560px; }
.nf__search input { flex: 1; }

.pg { padding-block: var(--s-7) var(--sec); }
.prose { max-width: 72ch; }
.prose--wide { max-width: none; }
.prose > * { margin-block: 0; }
.prose > * + * { margin-top: 1em; }
.prose h2 { font-size: 1.6rem; margin-top: 2em; }
.prose h3 { font-size: 1.25rem; font-weight: 500; margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .35em; }
.prose a { color: var(--blue-ui); }
.prose a:hover { color: var(--ink); }
.prose .lead { font-size: var(--fs-lead); }
.prose__updated { color: var(--steel); font-size: var(--fs-sm); }
.prose__hero { margin-bottom: var(--s-6); }
.posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: var(--s-7); }
.post-card__date { font: 500 .74rem var(--f-mono); color: var(--steel); margin: var(--s-3) 0 .2rem; }
.post-card__title { font-size: 1.35rem; }
.post-card__title a { text-decoration: none; }

/* ---------- Footer ---------- */
.ftr { background: var(--ink); color: #B9C1CA; }
.ftr__cta { border-bottom: 1px solid rgb(255 255 255 / .1); }
.ftr__cta-in { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--s-6); flex-wrap: wrap; padding-block: clamp(3.5rem, 2.5rem + 4vw, 6.5rem); }
.ftr__cta-title { color: #fff; font-size: var(--fs-h2); margin: 0; max-width: 18ch; font-weight: 300; }
.ftr__cta-title span { color: #8E99A5; }
.ftr__cta-btns { display: flex; flex-wrap: wrap; gap: var(--s-3); }
.ftr__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(4, minmax(0, 1fr)); gap: var(--s-7) var(--s-6); padding-block: var(--s-8); }
@media (max-width: 1100px) { .ftr__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ftr__brand { grid-column: 1 / -1; } }
@media (max-width: 560px) { .ftr__grid { grid-template-columns: minmax(0, 1fr); } }
.ftr__logo { display: inline-block; line-height: 0; }
.ftr .ftr__logo-img { width: 210px; max-width: 100%; height: auto; }
.ftr__brand p { max-width: 38ch; margin-top: var(--s-5); }
.ftr__social { display: flex; gap: 6px; }
.ftr__social a { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid rgb(255 255 255 / .2); color: #fff; }
.ftr__social a:hover { border-color: #fff; }
.ftr__h { color: #fff; font: 500 .95rem var(--f-display); letter-spacing: .01em; margin-bottom: var(--s-4); }
.ftr ul { list-style: none; margin: 0; padding: 0; }
.ftr__col li a { display: inline-block; padding: .3rem 0; text-decoration: none; }
.ftr a { color: #D7DCE2; }
.ftr a:hover { color: #fff; text-decoration: underline; text-decoration-color: rgb(255 255 255 / .4); }
.ftr a.btn, .ftr a.btn:hover { color: var(--fg); text-decoration: none; }
.ftr__contact a { display: inline-flex; align-items: center; gap: .55em; padding: .35rem 0; overflow-wrap: anywhere; text-decoration: none; }
.ftr__contact .ico { width: 16px; height: 16px; color: #8E99A5; }
.ftr__note { font-size: .84rem; margin-top: var(--s-4); color: #9BA5B0; }
.ftr address { line-height: 1.65; }
.ftr__link { display: inline-block; margin: .5rem 0 var(--s-3); }
.ftr .status { margin: var(--s-3) 0 var(--s-2); color: #fff; }
.ftr .status .ico { width: 16px; height: 16px; color: #8E99A5; }
.ftr .status.is-open .ico { color: #7FB0E8; }
.ftr .hours div { display: grid; gap: .1rem; }
.ftr .hours dt { color: #9BA5B0; }
.ftr .hours dd { color: #fff; text-align: left; }
.ftr__base { border-top: 1px solid rgb(255 255 255 / .1); font-size: .84rem; }
.ftr__base-in { display: flex; justify-content: space-between; align-items: center; gap: var(--s-4); flex-wrap: wrap; padding-block: var(--s-5); }
.ftr__base p { margin: 0; }
.ftr__legal { display: flex; flex-wrap: wrap; gap: .3rem var(--s-5); }
.ftr__legal a { display: inline-block; padding: .3rem 0; }

/* ---------- Motion ---------- */
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--i, 0) * 45ms); }
.js .reveal.is-in { opacity: 1; transform: none; }
html:not(.js) .sheetdemo__part { opacity: 1; transform: none; }
html:not(.js) .sheetdemo__cuts path { stroke-dashoffset: 0; }
@media (prefers-reduced-motion: reduce) {
	.js .reveal { transform: none; transition: opacity .4s ease; }
	.sheetdemo__part { transform: none; }
	.is-in .sheetdemo__cuts path { transition: none; }
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
	.card:hover .card__img, .chip-card:hover .chip-card__face, .chip-card:hover .chip-card__face img { transform: none; }
}

/* ---------- Print ---------- */
@media print {
	.hdr, .ftr, .dock, .toasts, .ask, .ask-fab, .mmenu, .drawer, .sbox, .notice-bar { display: none !important; }
	body { padding: 0; }
	a { text-decoration: none; }
}
