/* Gyroid themes: the stylesheet for a shop with a published theme (src/theme). Iris's engine.css from
   the Gyroid themes design, ported: every colour, font, corner and space comes from the theme's custom
   properties (one <style> block per page, src/theme/engine.js); variants switch layout with data
   attributes. Container queries do the responsive work, so the builder's phone preview behaves exactly
   like a phone. Loaded only on themed pages; a shop without a theme never downloads it.
   Gyroid's own pages (shop, product, quote, cart, help) keep site.css and take the theme's tokens
   through the classic names; the bridge at the end of this file carries buttons and cards over. */

/* ==== base ================================================================================= */
.gy { container: gy / inline-size; position: relative; overflow: hidden; overflow: clip; background: var(--bg); color: var(--ink);
  font-family: var(--f-text); font-weight: var(--t-w); font-variation-settings: var(--t-fvs); font-size: var(--base); line-height: 1.58;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; color-scheme: var(--scheme); text-align: left; }
.gy *, .gy *::before, .gy *::after { box-sizing: border-box; }
.gy :is(h1, h2, h3, h4, p, ul, ol, figure, dl, dd, blockquote, details) { margin: 0; }
.gy :is(ul, ol) { padding: 0; list-style: none; }
.gy img { display: block; max-width: 100%; height: auto; }
.gy a { color: inherit; text-decoration: none; }
.gy b, .gy strong { font-weight: 600; }
.gy .gi { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.gy .g-w { --gut: clamp(16px, 4.4cqi, 56px); width: 100%; max-width: calc(1320px + var(--gut) * 2); margin-inline: auto; padding-inline: var(--gut); }
.gy .gs { padding-block: var(--sp); position: relative; }
.gy .gs + .gs:not([data-tone]):not(.gs--pay):not([data-v="band"]) { padding-top: calc(var(--sp) * .72); }
.gy .g-mono { font-family: var(--f-label); font-variant-numeric: tabular-nums; }
.gy[data-pairing="wall"] .g-mono, .gy[data-pairing="parlour"] .g-mono, .gy[data-pairing="maison"] .g-mono, .gy[data-pairing="playroom"] .g-mono, .gy[data-pairing="sprout"] .g-mono, .gy[data-pairing="counter"] .g-mono, .gy[data-pairing="warband"] .g-mono, .gy[data-pairing="marquee"] .g-mono { font-family: var(--f-text); font-style: normal; }

/* ==== type ================================================================================== */
.gy .g-h1, .gy .g-h2, .gy .g-h3 { font-family: var(--f-display); font-weight: var(--d-w); letter-spacing: var(--d-ls); line-height: var(--d-lh); text-transform: var(--d-tt); font-variation-settings: var(--d-fvs); text-wrap: balance; color: var(--ink); }
.gy .g-h1 { font-size: calc(clamp(calc(var(--base) * 2.3), calc(var(--base) * 1.05 + 4.9cqi), calc(var(--base) * 5.6)) * var(--d-scale) * var(--k)); }
.gy .gs--hero[data-v="still"] .g-hero__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.gy .g-h2 { font-size: calc(clamp(calc(var(--base) * 1.7), calc(var(--base) * 1.05 + 2.5cqi), calc(var(--base) * 3.25)) * var(--d-scale) * var(--k)); line-height: calc(var(--d-lh) + .05); }
.gy .g-h3 { font-size: calc(var(--base) * 1.45 * var(--d-scale) * var(--k)); line-height: 1.12; }
.gy[data-em="italic"] :is(.g-h1, .g-h2, .g-h3) em { font-style: italic; }
.gy[data-em="accent"] :is(.g-h1, .g-h2, .g-h3) em { font-style: normal; color: var(--accent-ink); }
.gy[data-em="pop"] :is(.g-h1, .g-h2, .g-h3) em { font-style: normal; color: var(--pop-ink); }
.gy[data-em="highlight"] :is(.g-h1, .g-h2, .g-h3) em { font-style: normal; background: var(--pop); color: var(--on-pop); padding-inline: .08em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
/* a highlighted second line would paint over the first line's descenders ("thinas"): give those headings room. Iris's fix used 1.1; measured in WebKit with descender-heavy words, 1.2 is what clears them */
.gy[data-em="highlight"] :is(.g-h1, .g-h2) { line-height: max(1.2, var(--d-lh)); }
.gy[data-em="underline"] :is(.g-h1, .g-h2, .g-h3) em { font-style: normal; text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: .085em; text-underline-offset: .12em; }
.gy[data-em="serif"] :is(.g-h1, .g-h2, .g-h3) em { font-family: var(--f-label); font-style: italic; font-weight: 400; letter-spacing: -.02em; }
.gy .g-lede { font-size: calc(var(--base) * 1.14); line-height: 1.58; color: var(--ink-2); max-width: 34em; text-wrap: pretty; }
.gy .g-kicker { font-family: var(--f-label); font-weight: var(--l-w); font-size: calc(var(--base) * var(--l-size)); letter-spacing: var(--l-ls); text-transform: var(--l-tt); font-style: var(--l-style); font-variation-settings: var(--l-fvs); color: var(--ink-2); display: inline-flex; align-items: center; gap: 10px; }
.gy .g-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); column-gap: var(--gap); align-items: end; margin-bottom: calc(var(--sp) * .5); }
.gy .g-head .g-h2 { grid-column: 1; }
.gy .g-head__aside { grid-column: 2; color: var(--ink-2); max-width: 26em; }
.gy .g-more { grid-column: 2; justify-self: start; margin-top: 12px; display: inline-flex; gap: 8px; align-items: center; font-weight: 500; font-size: calc(var(--base) * .92); border-bottom: 1px solid var(--rule-2); padding-bottom: 2px; }
.gy .g-head__aside + .g-more { grid-row: 2; }
.gy .g-sample { font-size: calc(var(--base) * .8); color: var(--ink-3); }
.gy .g-live { width: 8px; height: 8px; border-radius: 50%; background: var(--ink-3); display: inline-block; flex: none; }
.gy .g-live.is-open { background: #3E8E4E; box-shadow: 0 0 0 3px rgba(62, 142, 78, .18); }
.gy .g-dots { display: inline-flex; gap: 3px; }
.gy .g-dots i { width: 9px; height: 9px; border: 1px solid var(--ink-2); display: block; border-radius: calc(var(--r) / 3); }
.gy .g-dots i.on { background: var(--ink); border-color: var(--ink); }
.gy .g-sw { display: inline-flex; gap: 4px; }
.gy .g-sw i { width: 11px; height: 11px; border-radius: 50%; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ink) 22%, transparent); }
.gy .g-stock { display: inline-flex; align-items: center; gap: 7px; font-size: calc(var(--base) * .82); color: var(--ink-3); }
.gy .g-stock::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--rule-2); }
.gy .g-stock.is-in { color: var(--ink-2); }
.gy .g-stock.is-in::before { background: #3E8E4E; }

/* ==== buttons ================================================================================ */
.gy .g-btn { display: inline-flex; align-items: center; justify-content: center; gap: .6em; min-height: calc(var(--base) * 3); padding: 0 1.3em; border-radius: var(--r-btn);
  font-family: var(--f-btn, var(--f-text)); font-weight: 500; font-size: calc(var(--base) * .98); line-height: 1.2; border: 1.5px solid transparent; white-space: nowrap; transition: transform .15s, background-color .15s; }
.gy .g-btn .gi { width: 1.05em; height: 1.05em; stroke-width: 1.8; }
.gy .g-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.gy[data-btn="solid"] .g-btn--primary { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.gy[data-btn="solid"] .g-btn--secondary { background: transparent; color: var(--ink); border-color: var(--rule-2); }
.gy[data-btn="outline"] .g-btn--primary { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.gy[data-btn="outline"] .g-btn--secondary { background: transparent; color: var(--ink-2); border: 1px solid var(--rule-2); }
.gy[data-btn="outline"] .g-btn { font-family: var(--f-label); text-transform: var(--l-tt); letter-spacing: var(--l-ls); font-size: calc(var(--base) * .78); font-weight: var(--l-w); }
.gy[data-btn="underline"] .g-btn { min-height: 0; padding: .2em 0 .25em; border: 0; border-bottom: 1.5px solid currentColor; border-radius: 0; background: none; }
.gy[data-btn="underline"] .g-btn--primary { color: var(--ink); }
.gy[data-btn="underline"] .g-btn--secondary { color: var(--ink-2); border-bottom-color: var(--rule-2); }
.gy[data-btn="underline"] .g-actions { gap: 28px; }
.gy[data-btn="raised"] .g-btn { border: 2px solid var(--ink); box-shadow: 3px 3px 0 var(--ink); font-weight: 600; }
.gy[data-btn="raised"] .g-btn--primary { background: var(--accent); color: var(--on-accent); }
.gy[data-btn="raised"] .g-btn--secondary { background: var(--surface); color: var(--ink); }
.gy[data-hover="lift"] .g-btn:hover { transform: translateY(-2px); }
.gy[data-hover="darken"] .g-btn--primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); }

/* ==== header ================================================================================= */
.gy .g-hd { position: relative; z-index: 3; background: var(--bg); }
.gy .g-hd__in { display: flex; align-items: center; gap: 28px; min-height: 76px; }
.gy .g-logo { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); flex: none; }
.gy .g-logo__mark { width: 30px; height: 30px; display: grid; place-items: center; background: var(--accent); color: var(--on-accent); border-radius: calc(var(--r) + 1px); font-family: var(--f-display); font-size: 18px; line-height: 1; font-weight: var(--d-w); text-transform: none; }
.gy .g-logo__text { display: inline-flex; align-items: baseline; gap: 8px; }
.gy .g-logo__name { font-family: var(--f-display); font-weight: var(--d-w); font-variation-settings: var(--d-fvs); letter-spacing: var(--d-ls); text-transform: var(--d-tt); font-size: calc(var(--base) * 1.55 * var(--d-scale)); line-height: 1; }
.gy .g-logo__desc { font-family: var(--f-label); font-size: calc(var(--base) * .66); font-weight: var(--l-w); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); font-style: normal; }
.gy .g-logo__est { display: none; }
.gy .g-logo--img img { height: 38px; width: auto; }
.gy .g-nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.gy .g-nav a { padding: 8px 12px; font-size: calc(var(--base) * .92); color: var(--ink-2); position: relative; white-space: nowrap; }
.gy .g-nav a[aria-current] { color: var(--ink); }
.gy .g-nav a[aria-current]::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 1.5px; background: var(--accent); }
.gy .g-nav a.is-new { color: var(--ink); }
.gy .g-hd__act { display: flex; align-items: center; gap: 8px; }
.gy .g-cart { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border: 1px solid var(--rule-2); border-radius: var(--r-btn); font-weight: 500; font-size: calc(var(--base) * .9); color: var(--ink); }
.gy .g-cart .gi { width: 17px; height: 17px; }
.gy .g-cart__n { min-width: 20px; height: 20px; padding: 0 5px; display: inline-grid; place-items: center; border-radius: 10px; border: 1px solid var(--rule-2); font: 500 11px/1 var(--f-label); color: var(--ink-3); }
.gy .g-menu { display: none; width: 44px; height: 40px; align-items: center; justify-content: center; border: 1px solid var(--rule-2); border-radius: var(--r-btn); color: var(--ink); }
.gy .g-strip { background: var(--band); color: var(--on-band); font-size: calc(var(--base) * .8); }
.gy .g-strip__in { display: flex; align-items: center; gap: 8px 26px; min-height: 36px; flex-wrap: wrap; }
.gy .g-strip__in > span { display: inline-flex; align-items: center; gap: 8px; }
.gy .g-strip .gi { width: 14px; height: 14px; }
.gy .g-strip__r { margin-left: auto; }
.gy .g-announce { background: var(--pop); color: var(--on-pop); text-align: center; font-weight: 600; font-size: calc(var(--base) * .84); padding-block: 9px; }
.gy .g-hd__orn { display: none; }
.gy .g-search { flex: 1; display: flex; align-items: center; gap: 10px; min-width: 0; height: 44px; padding: 0 14px; background: var(--surface); color: var(--ink-3); border: 1px solid var(--rule-2); border-radius: var(--r); font-size: calc(var(--base) * .92); }
.gy .g-search span { flex: 1; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.gy .g-search kbd { font: 500 11px/1 var(--f-label); border: 1px solid var(--rule-2); border-radius: 3px; padding: 3px 6px; }

/* centred: the house layout (Market, Nest, Atelier) */
.gy .g-hd[data-v="centred"] .g-hd__in { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); grid-template-areas: ". logo act" "nav nav nav"; row-gap: 12px; padding-top: 20px; min-height: 0; }
.gy .g-hd[data-v="centred"] .g-logo { grid-area: logo; flex-direction: column; gap: 6px; }
.gy .g-hd[data-v="centred"] .g-logo__mark { display: none; }
.gy .g-hd[data-v="centred"] .g-logo__text { flex-direction: column; align-items: center; gap: 5px; }
.gy .g-hd[data-v="centred"] .g-nav { grid-area: nav; margin: 0; justify-content: center; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding-block: 6px; }
.gy .g-hd[data-v="centred"] .g-hd__act { grid-area: act; justify-self: end; }
.gy .g-hd[data-size="large"] .g-logo__name { font-size: calc(var(--base) * 2.7); letter-spacing: 0; }
.gy .g-hd[data-size="large"] .g-logo__desc { letter-spacing: .34em; font-size: calc(var(--base) * .62); }
.gy .g-hd[data-size="large"] .g-nav a { font-family: var(--f-label); text-transform: var(--l-tt); letter-spacing: var(--l-ls); font-size: calc(var(--base) * .7); font-weight: var(--l-w); color: var(--ink); }
.gy .g-hd[data-size="large"] .g-nav { border-bottom: 0; }
/* stamp logo (Market) */
.gy .g-hd[data-logo="stamp"] .g-logo { width: 116px; height: 116px; border-radius: 50%; border: 2px solid var(--ink); justify-content: center; outline: 1px solid var(--ink); outline-offset: -8px; }
.gy .g-hd[data-logo="stamp"] .g-logo__name { font-size: calc(var(--base) * 1.6); }
.gy .g-hd[data-logo="stamp"] .g-logo__desc { color: var(--pop-ink); letter-spacing: .2em; }
.gy .g-hd[data-logo="stamp"] .g-logo__est { display: block; font: 700 calc(var(--base) * .62) / 1 var(--f-label); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.gy .g-hd[data-logo="stamp"] .g-logo { flex-direction: column; gap: 4px; }
/* minimal (Gallery) */
.gy .g-hd[data-v="minimal"] .g-hd__in { min-height: 64px; gap: 18px; }
.gy .g-hd[data-v="minimal"] .g-logo__mark { display: none; }
.gy .g-hd[data-v="minimal"] .g-logo__name { font-family: var(--f-text); font-weight: 500; font-size: calc(var(--base) * 1); letter-spacing: 0; }
.gy .g-hd[data-v="minimal"] .g-logo__desc { font-family: var(--f-text); text-transform: none; letter-spacing: 0; font-size: calc(var(--base) * 1); color: var(--ink-3); font-weight: 400; }
.gy .g-hd[data-v="minimal"] .g-nav a { font-size: calc(var(--base) * .9); padding: 6px 10px; color: var(--ink); }
.gy .g-hd[data-v="minimal"] .g-nav a[aria-current]::after { display: none; }
.gy .g-hd[data-v="minimal"] .g-nav a[aria-current] { text-decoration: underline; text-underline-offset: .3em; }
.gy .g-hd[data-v="minimal"] .g-cart { border: 0; padding: 0; height: auto; }
.gy .g-hd[data-v="minimal"] .g-cart .gi { display: none; }
.gy .g-hd[data-v="minimal"] .g-cart__n { display: inline; height: auto; border: 0; min-width: 0; padding: 0; color: var(--ink); font-family: var(--f-text); font-size: inherit; }
.gy .g-hd[data-v="minimal"] .g-cart__n::before { content: '('; } .gy .g-hd[data-v="minimal"] .g-cart__n::after { content: ')'; }
/* search (Stockroom) */
.gy .g-hd[data-v="search"] { background: var(--band); color: var(--on-band); }
.gy .g-hd[data-v="search"] .g-hd__in { flex-wrap: wrap; column-gap: 20px; row-gap: 0; min-height: 0; padding-top: 14px; }
.gy .g-hd[data-v="search"] .g-logo { color: var(--on-band); }
.gy .g-hd[data-v="search"] .g-logo__desc { color: var(--band-soft); }
.gy .g-hd[data-v="search"] .g-search { order: 2; }
.gy .g-hd[data-v="search"] .g-hd__act { order: 3; }
.gy .g-hd[data-v="search"] .g-cart { color: var(--on-band); border-color: var(--band-soft); }
.gy .g-hd[data-v="search"] .g-cart__n { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.gy .g-hd[data-v="search"] .g-nav { order: 4; flex-basis: 100%; margin: 12px 0 0; padding: 0; gap: 0; border-top: 1px solid color-mix(in srgb, var(--on-band) 16%, transparent); }
.gy .g-hd[data-v="search"] .g-nav a { color: var(--band-soft); font-size: calc(var(--base) * .86); padding: 10px 14px 10px 0; margin-right: 10px; }
.gy .g-hd[data-v="search"] .g-nav a[aria-current] { color: var(--on-band); }
.gy .g-hd[data-v="search"] .g-nav a[aria-current]::after { left: 0; right: 14px; bottom: 0; height: 3px; }
.gy .g-hd[data-v="search"] .g-menu { color: var(--on-band); border-color: var(--band-soft); }
.gy .g-hd[data-v="search"] .g-strip { background: var(--bg); color: var(--ink-2); border-bottom: 1px solid var(--rule); }
.gy[data-orn="hazard"] .g-hd__orn { display: block; height: 8px; background: repeating-linear-gradient(-45deg, var(--accent) 0 12px, var(--ink) 12px 24px); }
/* marquee (Arcade) */
.gy .g-hd[data-v="marquee"] .g-hd__in { flex-direction: column; gap: 0; padding: 0; max-width: none; min-height: 0; }
.gy .g-hd[data-v="marquee"] .g-logo { width: 100%; justify-content: center; padding: 18px 16px 16px; background: var(--accent); color: var(--on-accent); border-bottom: 4px solid var(--ink); box-shadow: inset 0 -4px 0 var(--pop); }
.gy .g-hd[data-v="marquee"] .g-logo__mark { display: none; }
.gy .g-hd[data-v="marquee"] .g-logo__name { font-size: calc(var(--base) * 2.6); letter-spacing: .02em; text-transform: uppercase; text-shadow: 3px 3px 0 color-mix(in srgb, var(--on-accent) 22%, transparent); }
.gy .g-hd[data-v="marquee"] .g-logo__desc { color: var(--on-accent); letter-spacing: .3em; font-size: calc(var(--base) * .74); }
.gy .g-hd[data-v="marquee"] .g-nav { margin: 0; justify-content: center; padding: 10px 16px; width: 100%; }
.gy .g-hd[data-v="marquee"] .g-nav a { font-family: var(--f-label); text-transform: uppercase; letter-spacing: .06em; font-size: calc(var(--base) * .82); }
.gy .g-hd[data-v="marquee"] .g-nav a[aria-current]::before { content: '▶'; position: absolute; left: -2px; color: var(--pop); font-size: .8em; top: 10px; }
.gy .g-hd[data-v="marquee"] .g-nav a[aria-current]::after { display: none; }
.gy .g-hd[data-v="marquee"] .g-hd__act { position: absolute; right: var(--gut, 16px); top: 22px; }
.gy .g-hd[data-v="marquee"] .g-cart { background: var(--bg); color: var(--ink); border: 2px solid var(--ink); }
/* overlay (Backlot) */
.gy .g-hd[data-v="overlay"] { position: absolute; inset: 0 0 auto; background: transparent; }
.gy .g-hd[data-v="overlay"] .g-logo__mark { border-radius: 0; background: transparent; color: var(--accent-ink); border: 1.5px solid var(--accent-ink); }
.gy .g-hd[data-v="overlay"] .g-nav a { font-family: var(--f-label); text-transform: uppercase; letter-spacing: .1em; font-size: calc(var(--base) * .8); font-weight: 600; }
.gy .g-hd[data-v="overlay"] .g-cart { border-color: color-mix(in srgb, var(--ink) 40%, transparent); background: color-mix(in srgb, var(--bg) 50%, transparent); }
/* sign (Hardware) */
.gy .g-hd[data-v="sign"] { background: var(--accent); color: var(--on-accent); }
.gy .g-hd[data-v="sign"] .g-strip { background: var(--ink); color: var(--bg); }
.gy .g-hd[data-v="sign"] .g-hd__in { min-height: 88px; }
.gy .g-hd[data-v="sign"] .g-logo { color: var(--on-accent); gap: 14px; }
.gy .g-hd[data-v="sign"] .g-logo__mark { display: none; }
.gy .g-hd[data-v="sign"] .g-logo__text { flex-direction: column; gap: 4px; align-items: flex-start; }
.gy .g-hd[data-v="sign"] .g-logo__name { font-size: calc(var(--base) * 2.1); }
.gy .g-hd[data-v="sign"] .g-logo__desc { color: var(--on-accent); letter-spacing: .24em; }
.gy .g-hd[data-v="sign"] .g-logo__est { display: grid; place-items: center; width: 62px; height: 62px; border: 2px solid var(--on-accent); border-radius: 50%; font: 700 11px/1.05 var(--f-label); letter-spacing: .06em; text-transform: uppercase; text-align: center; padding: 6px; order: -1; }
.gy .g-hd[data-v="sign"] .g-nav a { color: var(--on-accent); font-weight: 600; }
.gy .g-hd[data-v="sign"] .g-nav a[aria-current]::after { background: var(--on-accent); height: 2px; }
.gy .g-hd[data-v="sign"] .g-cart { background: var(--bg); color: var(--ink); border: 0; font-weight: 700; }
.gy .g-hd[data-v="sign"] .g-menu { color: var(--on-accent); border-color: var(--on-accent); }
.gy .g-hd[data-v="sign"] .g-hd__orn { display: block; height: 6px; background: var(--ink); border-top: 3px solid var(--bg); }
.gy .g-hd[data-rule="double"] { border-bottom: 1px solid var(--accent-line); box-shadow: 0 3px 0 var(--bg), 0 4px 0 var(--accent-line); margin-bottom: 4px; }

/* ==== footer ================================================================================ */
.gy .g-ft { background: var(--surface-2); color: var(--ink-2); font-size: calc(var(--base) * .88); border-top: 1px solid var(--rule); }
.gy .g-ft__grid { display: grid; grid-template-columns: minmax(0, 2fr) repeat(4, minmax(0, 1fr)); gap: 32px var(--gap); padding-block: 56px 36px; }
.gy .g-ft__brand p { margin-top: 12px; max-width: 24em; }
.gy .g-ft .g-ft__h { font-family: var(--f-label); font-weight: var(--l-w); text-transform: var(--l-tt); letter-spacing: var(--l-ls); font-size: calc(var(--base) * .74); color: var(--ink); margin-bottom: 12px; font-style: var(--l-style); }
.gy .g-ft ul { display: grid; gap: 7px; }
.gy .g-ft__hours { margin-top: 12px; }
.gy .g-ft__hours li { display: flex; justify-content: space-between; gap: 10px; }
.gy .g-ft__small { font-size: calc(var(--base) * .8); color: var(--ink-3); }
.gy .g-ft__base { display: flex; flex-wrap: wrap; gap: 8px 24px; padding-block: 18px 26px; border-top: 1px solid var(--rule); font-size: calc(var(--base) * .8); color: var(--ink-3); }
.gy .g-ft__base span:last-child { margin-left: auto; }
.gy .g-ft[data-v="minimal"] { background: var(--bg); }
.gy .g-ft[data-v="minimal"] .g-ft__in { display: flex; flex-wrap: wrap; gap: 8px 32px; padding-block: 28px 36px; color: var(--ink-3); }
.gy .g-ft[data-v="centred"] { text-align: center; background: var(--bg); }
.gy .g-ft[data-v="centred"] .g-ft__in { display: grid; justify-items: center; gap: 14px; padding-block: 56px; }
.gy .g-ft[data-v="centred"] .g-ft__name { font-family: var(--f-display); font-weight: var(--d-w); font-size: calc(var(--base) * 1.9 * var(--d-scale)); color: var(--ink); letter-spacing: var(--d-ls); text-transform: var(--d-tt); font-variation-settings: var(--d-fvs); }
.gy .g-ft[data-v="centred"] .g-ft__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; color: var(--ink); }
.gy .g-ft[data-v="bigtype"] { background: var(--bg); border: 0; }
.gy .g-ft__big { font-family: var(--f-display); font-size: calc(clamp(64px, 17cqi, 240px) * var(--d-scale)); line-height: .82; text-transform: var(--d-tt); letter-spacing: var(--d-ls); color: var(--ink); padding-top: 40px; font-weight: var(--d-w); }
.gy .g-ft__row { display: flex; flex-wrap: wrap; gap: 8px 32px; padding-block: 18px 32px; border-top: 1px solid var(--rule); margin-top: 16px; font-family: var(--f-label); text-transform: var(--l-tt); letter-spacing: var(--l-ls); font-size: calc(var(--base) * .74); }
.gy .g-ft[data-v="dense"] .g-ft__grid { padding-block: 36px 24px; }

/* ==== heroes ================================================================================= */
.gy .gs--hero { padding-block: clamp(28px, 4.4cqi, 64px) clamp(44px, 6cqi, 88px); overflow: hidden; isolation: isolate; }
.gy .g-hero__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: var(--gap) clamp(24px, 4cqi, 64px); align-items: center; }
.gy .g-hero__copy { position: relative; z-index: 1; min-width: 0; }
.gy .g-hero__copy .g-h1 { margin: 18px 0 24px; max-width: 10.2em; }
.gy .g-hero__copy .g-lede { margin-bottom: 30px; }
.gy .g-facts { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--rule); max-width: 34em; font-size: calc(var(--base) * .85); color: var(--ink-2); }
.gy .g-facts li { display: inline-flex; align-items: center; gap: 9px; }
.gy .g-facts .gi { width: 15px; height: 15px; color: var(--ink-3); }
.gy .g-hero__art { position: relative; margin: 0; min-width: 0; }
.gy .g-hero__art img { width: 100%; }

/* still (Workshop) */
.gy .g-hero__orn { position: absolute; inset: 0; z-index: -1; pointer-events: none; color: var(--rule); -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,.25), #000 70%); mask-image: linear-gradient(90deg, rgba(0,0,0,.25), #000 70%); }
.gy .g-contours { width: 100%; height: 100%; }
.gy .g-contours path { fill: none; stroke: currentColor; stroke-width: 1; vector-effect: non-scaling-stroke; }
.gy[data-orn="contours"] .g-kicker::before { content: ''; width: 8px; height: 8px; background: var(--accent); }
.gy .g-callouts { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; color: var(--ink-3); }
.gy .g-callouts path { fill: none; stroke: currentColor; stroke-width: 1; vector-effect: non-scaling-stroke; }
.gy .g-callouts text { font: 500 13px var(--f-label); fill: var(--ink-2); letter-spacing: .02em; }
.gy .g-callouts .dot { fill: var(--accent); stroke: none; }
.gy:not([data-orn="contours"]) .g-callouts, .gy:not([data-orn="contours"]) .g-hero__orn { display: none; }

/* stage (Module) */
.gy .g-stage { position: relative; margin: 0; background: var(--photo); border-radius: var(--r-card); aspect-ratio: 5 / 4.4; display: grid; place-items: center; overflow: hidden; }
.gy .g-stage img { width: 64%; margin-top: -6%; }
.gy .g-stage__id { position: absolute; top: 16px; left: 18px; font: 400 calc(var(--base) * .72) var(--f-label); color: var(--ink-3); font-variation-settings: var(--l-fvs); }
.gy .g-stage__spec { position: absolute; left: 12px; right: 12px; bottom: 12px; display: flex; flex-wrap: wrap; gap: 4px 16px; align-items: center; background: var(--surface); border-radius: calc(var(--r-card) - 4px); padding: 12px 14px; font: 400 calc(var(--base) * .72)/1.3 var(--f-label); font-variation-settings: var(--l-fvs); color: var(--ink-2); }
.gy .g-stage__spec b { font-family: var(--f-text); font-weight: 600; color: var(--ink); font-size: calc(var(--base) * .92); }
.gy .g-stage__price { margin-left: auto; color: var(--ink); font-weight: 500; }
.gy .g-br { position: absolute; width: 16px; height: 16px; border: 0 solid var(--ink-3); pointer-events: none; }
.gy .g-br--tl { top: 10px; left: 10px; border-top-width: 1px; border-left-width: 1px; }
.gy .g-br--tr { top: 10px; right: 10px; border-top-width: 1px; border-right-width: 1px; }
.gy .g-br--bl { bottom: 10px; left: 10px; border-bottom-width: 1px; border-left-width: 1px; }
.gy .g-br--br { bottom: 10px; right: 10px; border-bottom-width: 1px; border-right-width: 1px; }
.gy .g-stage .g-br--bl, .gy .g-stage .g-br--br { display: none; }
.gy[data-orn="crosshair"] .g-stage::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(color-mix(in srgb, var(--ink) 16%, transparent) 1px, transparent 1.4px); background-size: 16px 16px; opacity: .55; }
.gy[data-t="module"] .g-hero__copy .g-h1 { max-width: 8.6em; }

/* board (Market) */
.gy .g-board { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; align-items: end; padding: 28px 0 10px; }
.gy .g-board__img { background: var(--photo); border-radius: var(--r-img); aspect-ratio: 3 / 4; display: grid; place-items: center; overflow: hidden; }
.gy .g-board__img img { width: 92%; }
.gy .g-board__item { position: relative; margin: 0; }
.gy .g-board__item--1 { transform: translateY(-34px); }
.gy .g-board__item .g-tag { position: absolute; top: -12px; right: 10px; }
.gy .g-tag { display: inline-grid; gap: 1px; justify-items: start; background: var(--surface); color: var(--ink); padding: 8px 12px 8px 22px; font: 700 calc(var(--base) * .82)/1.15 var(--f-label); clip-path: polygon(12px 0, 100% 0, 100% 100%, 12px 100%, 0 50%); transform: rotate(4deg); filter: drop-shadow(0 1px 1px color-mix(in srgb, var(--ink) 30%, transparent)); }
.gy .g-tag::before { content: ''; position: absolute; left: 9px; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: var(--photo); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ink) 35%, transparent); }
.gy .g-tag span { font-weight: 400; font-size: .86em; color: var(--ink-2); }
.gy .g-tag small { font-weight: 400; margin-right: 2px; }
.gy .g-stamp { position: absolute; right: -6px; bottom: -8px; width: 104px; height: 104px; border-radius: 50%; border: 2px solid var(--pop-ink); color: var(--pop-ink); display: grid; place-content: center; text-align: center; transform: rotate(-10deg); font-family: var(--f-label); text-transform: uppercase; letter-spacing: .08em; font-size: calc(var(--base) * .66); line-height: 1.2; outline: 1px solid var(--pop-ink); outline-offset: -7px; background: color-mix(in srgb, var(--bg) 70%, transparent); }
.gy .g-stamp b { font-family: var(--f-display); font-size: 1.9em; letter-spacing: 0; text-transform: none; font-weight: 400; }
.gy[data-orn="stitch"] .gs--products, .gy[data-orn="stitch"] .gs--story, .gy[data-orn="stitch"] .gs--reviews, .gy[data-orn="stitch"] .gs--quote { border-top: 2px dashed var(--accent-line); }

/* poster (Tabletop) */
.gy .gs--hero[data-v="poster"] .g-h1 { font-size: calc(clamp(calc(var(--base) * 2.8), calc(var(--base) * 1 + 8.2cqi), calc(var(--base) * 8.4)) * var(--d-scale) * var(--k)); margin: 14px 0 34px; max-width: 12em; line-height: .86; }
.gy .gs--hero[data-v="poster"] .g-hero__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; }
.gy .g-framed { position: relative; background: var(--photo); padding: 22px; border: 1px solid var(--accent-line); outline: 1px solid var(--accent-line); outline-offset: -8px; }
.gy .g-framed .g-br { border-color: var(--accent); width: 20px; height: 20px; }
.gy .g-framed .g-br--tl { top: -1px; left: -1px; border-width: 3px 0 0 3px; } .gy .g-framed .g-br--tr { top: -1px; right: -1px; border-width: 3px 3px 0 0; }
.gy .g-framed .g-br--bl { bottom: -1px; left: -1px; border-width: 0 0 3px 3px; } .gy .g-framed .g-br--br { bottom: -1px; right: -1px; border-width: 0 3px 3px 0; }
.gy .gs--hero[data-v="poster"] .g-framed { background: radial-gradient(ellipse at 50% 30%, color-mix(in srgb, var(--accent) 14%, var(--photo)) 0%, var(--photo) 70%); }

/* quiet (Gallery) */
.gy .gs--hero[data-v="quiet"] .g-hero__grid { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); align-items: end; }
.gy .gs--hero[data-v="quiet"] .g-h1 { margin: 0 0 22px; font-size: calc(clamp(calc(var(--base) * 2.1), calc(var(--base) * 1.1 + 3.5cqi), calc(var(--base) * 4.2)) * var(--k)); max-width: 11em; }
.gy .g-plinth { background: var(--photo); aspect-ratio: 4 / 3.2; display: grid; place-items: center; }
.gy .g-plinth img { width: 82%; }
.gy .g-wall { display: grid; gap: 2px; margin-top: 14px; font-size: calc(var(--base) * .86); color: var(--ink-3); }
.gy .g-wall em { font-family: var(--f-label); font-style: italic; color: var(--ink); font-size: calc(var(--base) * 1.02); }

/* banner (Toybox) */
.gy .g-panel { position: relative; display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: var(--gap); align-items: center; background: var(--photo); border: 2px solid var(--ink); border-radius: var(--r-card); padding: clamp(24px, 4.6cqi, 60px); box-shadow: 6px 6px 0 var(--ink); }
.gy .g-panel .g-h1 { margin: 12px 0 20px; }
.gy .g-panel .g-lede { color: var(--ink); }
.gy .g-sticker { position: absolute; right: 2%; top: -4%; width: 104px; height: 104px; border-radius: 50%; background: var(--pop); color: var(--on-pop); border: 2px solid var(--ink); display: grid; place-content: center; text-align: center; font: 700 calc(var(--base) * .92)/1.05 var(--f-display); transform: rotate(10deg); }
.gy[data-orn="scallop"] .g-hd { padding-bottom: 10px; }
.gy[data-orn="scallop"] .g-hd__orn { display: block; position: absolute; left: 0; right: 0; bottom: -9px; height: 18px; background: radial-gradient(circle at 12px -2px, var(--bg) 12px, transparent 13px) 0 0 / 24px 18px repeat-x; }
.gy[data-orn="scallop"] .g-announce { background: var(--ink); color: var(--bg); }

/* dropzone (Stockroom) */
.gy .gs--hero[data-v="dropzone"] { padding-block: 32px 40px; background: var(--surface); border-bottom: 1px solid var(--rule); }
.gy .gs--hero[data-v="dropzone"] .g-hero__grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); align-items: stretch; }
.gy .gs--hero[data-v="dropzone"] .g-h1 { font-size: calc(clamp(calc(var(--base) * 2.3), calc(var(--base) * 1 + 4.6cqi), calc(var(--base) * 5)) * var(--d-scale)); margin: 10px 0 16px; max-width: 12em; }
.gy .g-facts--row { border-top: 0; padding-top: 0; margin-top: 20px; }
.gy .g-drop { display: grid; grid-template-rows: 1fr auto; border: 2px dashed var(--rule-2); border-radius: var(--r-card); background: var(--bg); min-height: 220px; }
.gy .g-drop__in { display: grid; place-content: center; justify-items: center; text-align: center; gap: 8px; padding: 28px 18px; color: var(--ink-2); font-size: calc(var(--base) * .9); }
.gy .g-drop__in .gi { width: 36px; height: 36px; color: var(--ink); stroke-width: 1.3; }
.gy .g-drop__in b { color: var(--ink); font-size: calc(var(--base) * 1.08); }
.gy .g-drop__in u { text-decoration-color: var(--accent-ink); text-underline-offset: .2em; color: var(--ink); }
.gy .g-drop__foot { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; padding: 12px; border-top: 1px dashed var(--rule-2); font-size: calc(var(--base) * .8); color: var(--ink-2); }
.gy .g-drop__foot span { display: inline-flex; gap: 6px; align-items: center; }
.gy .g-drop__foot .gi { width: 14px; height: 14px; color: #3E8E4E; }
.gy[data-t="stockroom"] .g-drop { border-color: var(--ink); background: repeating-linear-gradient(-45deg, transparent 0 14px, color-mix(in srgb, var(--accent) 16%, transparent) 14px 15px), var(--bg); }

/* arch (Nest) */
.gy .g-arch { border-radius: 999px 999px var(--r-img) var(--r-img); overflow: hidden; background: var(--photo); display: grid; place-items: end center; }
.gy .gs--hero[data-v="arch"] .g-hero__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
.gy .gs--hero[data-v="arch"] .g-hero__art { order: -1; }
.gy .gs--hero[data-v="arch"] .g-arch { aspect-ratio: 4 / 5; }
.gy .gs--hero[data-v="arch"] .g-arch img { width: 100%; margin-bottom: 8%; transform: scale(1.12); transform-origin: 50% 100%; }
.gy .gs--hero[data-v="arch"] figcaption { margin-top: 12px; text-align: center; font-family: var(--f-display); font-style: italic; color: var(--ink-3); font-size: calc(var(--base) * .92); }
.gy .gs--hero[data-v="arch"] .g-h1 { font-size: calc(clamp(calc(var(--base) * 2.5), calc(var(--base) * 1 + 5.8cqi), calc(var(--base) * 6)) * var(--k)); }

/* letterbox (Backlot) */
.gy .gs--hero[data-v="letterbox"] { padding: 0 0 clamp(36px, 5cqi, 72px); }
.gy .g-frame { position: relative; background: var(--photo); aspect-ratio: 21 / 9; overflow: hidden; display: grid; }
.gy .g-frame__img { position: absolute; inset: 0; display: grid; place-items: center; background: radial-gradient(ellipse at 62% 38%, color-mix(in srgb, var(--ink) 9%, var(--photo)), var(--photo) 62%); }
.gy .g-frame__img img { width: 40%; margin: 0 0 3% 48%; }
.gy .g-frame .g-br { border-color: color-mix(in srgb, var(--ink) 55%, transparent); width: 30px; height: 30px; }
.gy .g-frame .g-br--tl { top: 96px; left: 28px; } .gy .g-frame .g-br--tr { top: 96px; right: 28px; } .gy .g-frame .g-br--bl { bottom: 28px; left: 28px; } .gy .g-frame .g-br--br { bottom: 28px; right: 28px; }
.gy .g-frame__tl, .gy .g-frame__tr { position: absolute; top: 104px; font: 600 calc(var(--base) * .72)/1 var(--f-label); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); display: inline-flex; gap: 8px; align-items: center; }
.gy .g-frame__tl { left: 44px; } .gy .g-frame__tr { right: 44px; }
.gy .g-frame__head { position: relative; align-self: end; padding-bottom: 34px; }
.gy .g-frame__head .g-h1 { font-size: calc(clamp(calc(var(--base) * 3.2), calc(var(--base) * .8 + 9.4cqi), calc(var(--base) * 9.2)) * var(--k)); max-width: 7.2em; line-height: .86; }
.gy .g-hero__under { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: var(--gap); align-items: center; padding-top: 30px; }
.gy .g-hero__under .g-lede { margin: 0; }
.gy .g-hero__under .g-actions { justify-content: flex-end; }
.gy[data-btn="solid"][data-t="backlot"] .g-btn, .gy[data-pairing="marquee"] .g-btn { font-family: var(--f-label); text-transform: uppercase; letter-spacing: .1em; font-weight: 700; font-size: calc(var(--base) * .82); }

/* stack (Grove) */
.gy .gs--hero[data-v="stack"] .g-h1 { font-size: calc(clamp(calc(var(--base) * 2.6), calc(var(--base) * .9 + 7.2cqi), calc(var(--base) * 7.4)) * var(--k)); max-width: 11em; margin: 0 0 34px; }
.gy .g-hero__row { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--gap); align-items: end; margin-bottom: 44px; }
.gy .g-hero__row .g-lede { margin-bottom: 26px; }
.gy .g-hero__row .g-facts { margin: 0; flex-direction: column; gap: 10px; border-top: 0; border-left: 1px solid var(--rule); padding: 0 0 0 18px; }
.gy .g-hero__tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.gy .g-hero__tiles figure { margin: 0; }
.gy .g-tile { background: var(--photo); border-radius: var(--r-img); aspect-ratio: 1; display: grid; place-items: center; overflow: hidden; }
.gy .g-tile img { width: 78%; }
.gy .g-hero__tiles figcaption { display: flex; justify-content: space-between; gap: 10px; margin-top: 10px; font-size: calc(var(--base) * .86); color: var(--ink-3); }
.gy .g-hero__tiles figcaption b { color: var(--ink); font-weight: 600; }
.gy[data-orn="grain"] { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.2 0 0 0 0 0.25 0 0 0 0 0.2 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* screen (Arcade) */
.gy .g-crt { background: var(--surface); padding: clamp(10px, 1.8cqi, 22px); border: 3px solid var(--ink); border-radius: 22px; box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px color-mix(in srgb, var(--ink) 30%, transparent); }
.gy .g-crt__screen { position: relative; background: #070A1C; border-radius: 14px; overflow: hidden; padding: clamp(14px, 3cqi, 40px); }
.gy .g-crt__screen::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(0deg, rgba(0, 0, 0, .28) 0 1px, transparent 1px 3px); }
.gy .g-crt__hud { display: flex; justify-content: space-between; gap: 12px; font: 500 calc(var(--base) * .8)/1 var(--f-label); text-transform: uppercase; letter-spacing: .06em; color: var(--pop); margin-bottom: 18px; }
.gy .g-crt__hud span { display: inline-flex; gap: 8px; align-items: center; }
.gy .g-crt__hud span:nth-child(2) { color: #F4F1E8; }
.gy .g-crt__body { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 20px; align-items: center; }
.gy .g-crt .g-h1 { color: #F4F1E8; margin: 0 0 18px; }
.gy .g-crt .g-h1 em { color: var(--accent); }
.gy .g-crt .g-lede { color: #C9CCE0; }
.gy .g-menu-list { display: grid; gap: 10px; margin-top: 22px; font: 600 calc(var(--base) * 1.05)/1.2 var(--f-label); text-transform: uppercase; letter-spacing: .03em; color: #F4F1E8; }
.gy .g-menu-list li { padding-left: 26px; position: relative; }
.gy .g-menu-list li.on { color: var(--accent); }
.gy .g-menu-list li.on::before { content: '▶'; position: absolute; left: 0; animation: gy-blink 1s steps(2, start) infinite; }
@keyframes gy-blink { to { visibility: hidden; } }
@media (prefers-reduced-motion: reduce) { .gy .g-menu-list li.on::before { animation: none; } }

/* editorial (Atelier) */
.gy .g-hero__centre { text-align: center; display: grid; justify-items: center; }
.gy .g-hero__centre .g-h1 { margin: 22px 0 26px; max-width: 11em; font-size: calc(clamp(calc(var(--base) * 2.6), calc(var(--base) * 1 + 6.4cqi), calc(var(--base) * 6.6)) * var(--k)); }
.gy .g-hero__centre .g-lede { margin: 0 auto 34px; max-width: 30em; }
.gy .g-hero__centre .g-actions { justify-content: center; }
.gy .g-hero__wide { margin: clamp(40px, 6cqi, 80px) 0 0; }
.gy .g-hero__wide img { width: 100%; aspect-ratio: 16 / 7; object-fit: contain; background: var(--photo); padding: 3% 12%; }

/* pegboard (Hardware) */
.gy .g-peg { position: relative; margin: 0; background: radial-gradient(circle, color-mix(in srgb, var(--ink) 30%, var(--photo)) 2.4px, transparent 3px) 0 0 / 26px 26px, color-mix(in srgb, var(--pop) 18%, #D8C3A0); border: 2px solid var(--ink); aspect-ratio: 5 / 4; display: grid; place-items: center; }
.gy .g-peg img { width: 86%; }
.gy .g-shelftag { display: grid; background: var(--pop); color: var(--on-pop); padding: 8px 12px; border: 1px solid color-mix(in srgb, var(--ink) 30%, transparent); font-size: calc(var(--base) * .78); line-height: 1.25; }
.gy .g-peg .g-shelftag { position: absolute; left: -2px; bottom: 18px; }
.gy .g-shelftag b { font: 700 calc(var(--base) * 1.5)/1 var(--f-display); }

/* ==== product grids & cards ================================================================= */
.gy .g-grid { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: calc(var(--gap) * 1.6) var(--gap); }
.gy .g-grid[data-cols="4"] { --cols: 4; } .gy .g-grid[data-cols="3"] { --cols: 3; } .gy .g-grid[data-cols="2"] { --cols: 2; }
.gy .g-card { display: flex; flex-direction: column; color: var(--ink); min-width: 0; position: relative; }
.gy .g-card__img { position: relative; background: var(--photo); border-radius: var(--r-img); aspect-ratio: 4 / 5; overflow: hidden; display: grid; place-items: center; }
.gy .g-card__img img { width: 100%; height: 100%; object-fit: cover; }
.gy .g-card__body { padding-top: 14px; display: grid; gap: 6px; }
.gy .g-card__row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.gy .g-card__name { font-size: calc(var(--base) * 1); font-weight: 500; line-height: 1.3; font-family: var(--f-text); }
.gy .g-card__price { font-variant-numeric: tabular-nums; white-space: nowrap; font-weight: 500; }
.gy .g-card__price small { font-weight: 400; font-size: .82em; color: var(--ink-3); margin-right: 2px; }
.gy .g-card__meta { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: calc(var(--base) * .82); color: var(--ink-3); }

/* spec (Module, Stockroom) */
.gy[data-card="spec"] .g-card__img { aspect-ratio: 1; }
.gy[data-card="spec"] .g-card__img img { width: 84%; height: auto; }
.gy .g-card__sku { position: absolute; top: 12px; left: 14px; font: 400 calc(var(--base) * .7) var(--f-label); font-variation-settings: var(--l-fvs); color: var(--ink-3); }
.gy .g-card__spec { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); margin: 4px 0 2px; }
.gy .g-card__spec div { padding: 7px 0; }
.gy .g-card__spec div + div { border-left: 1px solid var(--rule); padding-left: 10px; }
.gy .g-card__spec dt { font: 400 calc(var(--base) * .64) var(--f-label); color: var(--ink-3); font-variation-settings: var(--l-fvs); }
.gy .g-card__spec dd { font: 400 calc(var(--base) * .74) var(--f-label); font-variation-settings: var(--l-fvs); }
.gy[data-card="spec"] .g-card__name { font-weight: 600; }

/* tag (Market) */
.gy[data-card="tag"] .g-card__img { aspect-ratio: 1; }
.gy .gs--hero[data-v="board"] .g-hero__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.gy[data-card="tag"] .g-card__img img { width: 86%; height: auto; }
.gy[data-card="tag"] .g-card__img .g-tag { position: absolute; top: 14px; right: 12px; }
.gy[data-card="tag"] .g-card__name { font-family: var(--f-display); font-size: calc(var(--base) * 1.3); font-weight: 400; }
.gy[data-card="tag"] .g-card__meta { font-family: var(--f-label); font-weight: 400; }

/* framed (Tabletop) */
.gy[data-card="framed"] .g-card__img { aspect-ratio: 4 / 4.4; padding: 18px; }
.gy[data-card="framed"] .g-card__img img { object-fit: contain; }
.gy[data-card="framed"] .g-card__body { text-align: center; justify-items: center; padding-top: 18px; }
.gy[data-card="framed"] .g-card__name { font-family: var(--f-display); font-size: calc(var(--base) * 1.7); font-weight: var(--d-w); line-height: 1; }
.gy .g-card__stats { font-family: var(--f-label); letter-spacing: .06em; color: var(--ink-3); font-size: calc(var(--base) * .84); }
.gy[data-card="framed"] .g-card__price { color: var(--accent-ink); font-family: var(--f-label); font-size: calc(var(--base) * 1.05); letter-spacing: .04em; }

/* label (Gallery) */
.gy[data-card="label"] .g-card__img { aspect-ratio: 4 / 5; }
.gy[data-card="label"] .g-card__img img { width: 82%; height: auto; }
.gy[data-card="label"] .g-card__body { padding-top: 16px; gap: 1px; margin: 0; font-size: calc(var(--base) * .86); color: var(--ink-3); }
.gy[data-card="label"] .g-card__price { color: var(--ink); font-weight: 400; margin-top: 6px; }
.gy .g-grid[data-v="staggered"] { column-gap: clamp(20px, 5cqi, 72px); row-gap: 64px; }
.gy .g-grid[data-v="staggered"] .g-card:nth-child(3n + 2) { margin-top: 96px; }
.gy .g-grid[data-v="staggered"] .g-card:nth-child(3n + 3) { margin-top: 32px; }

/* sticker (Toybox) */
.gy[data-card="sticker"] .g-card { background: var(--surface); border: 2px solid var(--ink); border-radius: var(--r-card); overflow: hidden; box-shadow: 4px 4px 0 var(--ink); }
.gy[data-card="sticker"] .g-card__img { border-radius: 0; border-bottom: 2px solid var(--ink); aspect-ratio: 1; }
.gy[data-card="sticker"] .g-card[data-i="0"] .g-card__img { background: #CFEAF7; }
.gy[data-card="sticker"] .g-card[data-i="1"] .g-card__img { background: #FFE3A3; }
.gy[data-card="sticker"] .g-card[data-i="2"] .g-card__img { background: #CDEDD5; }
.gy[data-card="sticker"] .g-card[data-i="3"] .g-card__img { background: #FFD5C9; }
.gy[data-card="sticker"] .g-card__img img { width: 84%; height: auto; }
.gy[data-card="sticker"] .g-card__body { padding: 14px 16px 16px; }
.gy[data-card="sticker"] .g-card__name { font-family: var(--f-display); font-weight: 600; font-size: calc(var(--base) * 1.14); }
.gy[data-card="sticker"] .g-card__price { font-weight: 800; font-size: calc(var(--base) * 1.1); }
.gy .g-add { width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: var(--on-accent); display: grid; place-items: center; border: 2px solid var(--ink); }
.gy .g-add .gi { width: 16px; height: 16px; stroke-width: 2.4; }

/* arch (Nest) */
.gy[data-card="arch"] .g-card__img { aspect-ratio: 3 / 4; place-items: end center; border-radius: 999px 999px var(--r-img) var(--r-img); }
.gy[data-card="arch"] .g-card__img img { width: 84%; height: auto; margin-bottom: 10%; }
.gy[data-card="arch"] .g-card__body { justify-items: center; text-align: center; padding-top: 18px; }
.gy[data-card="arch"] .g-card__name { font-family: var(--f-display); font-size: calc(var(--base) * 1.35); font-weight: var(--d-w); font-variation-settings: var(--d-fvs); }
.gy[data-card="arch"] .g-card__price { color: var(--ink-2); font-weight: 400; }

/* poster (Backlot) */
.gy[data-card="poster"] .g-card__img { aspect-ratio: 4 / 5; border: 1px solid var(--rule); background: radial-gradient(ellipse at 50% 35%, color-mix(in srgb, var(--ink) 9%, var(--photo)), var(--photo) 70%); }
.gy[data-card="poster"] .g-card__img img { width: 90%; height: auto; }
.gy[data-card="poster"] .g-card__img .g-card__name { position: absolute; left: 18px; bottom: 14px; right: 18px; font-family: var(--f-display); font-size: calc(var(--base) * 2.3); line-height: .9; text-transform: uppercase; font-weight: 400; letter-spacing: .01em; }
.gy[data-card="poster"] .g-card__img .g-card__price { position: absolute; top: 14px; right: 16px; color: var(--accent-ink); font-family: var(--f-label); font-weight: 700; letter-spacing: .08em; }
.gy[data-card="poster"] .g-card__body { display: flex; justify-content: space-between; font-family: var(--f-label); text-transform: uppercase; letter-spacing: .1em; font-size: calc(var(--base) * .72); color: var(--ink-3); padding-top: 12px; }

/* tile (Grove) */
.gy[data-card="tile"] .g-card__img { aspect-ratio: 1; }
.gy[data-card="tile"] .g-card__img img { width: 80%; height: auto; }
.gy[data-card="tile"] .g-card__name { font-weight: 600; font-size: calc(var(--base) * 1.08); }
.gy[data-card="tile"] .g-card__meta { justify-content: flex-start; gap: 6px; color: var(--accent-ink); }
.gy[data-card="tile"] .g-card__meta .gi { width: 14px; height: 14px; }

/* window (Arcade) */
.gy[data-card="window"] .g-card { background: var(--surface); border: 3px solid #F4F1E8; border-radius: 8px; padding: 10px; box-shadow: 0 0 0 3px var(--bg), 0 0 0 4px color-mix(in srgb, #F4F1E8 35%, transparent); }
.gy[data-card="window"] .g-card__img { border-radius: 3px; aspect-ratio: 1; background: #0B0F28; }
.gy[data-card="window"] .g-card__img img { width: 82%; height: auto; image-rendering: auto; }
.gy[data-card="window"] .g-card__body { padding: 12px 4px 4px; }
.gy[data-card="window"] .g-card__name { font-family: var(--f-display); font-size: calc(var(--base) * 1.1); font-weight: 600; }
.gy[data-card="window"] .g-card__price { color: var(--pop); font-family: var(--f-label); font-size: calc(var(--base) * 1.2); }

/* luxe (Atelier) */
.gy[data-card="luxe"] .g-card__img { aspect-ratio: 3 / 4; }
.gy[data-card="luxe"] .g-card__img img { width: 72%; height: auto; }
.gy[data-card="luxe"] .g-card__body { justify-items: center; text-align: center; padding-top: 22px; gap: 4px; }
.gy[data-card="luxe"] .g-card__name { font-family: var(--f-display); font-weight: 400; font-size: calc(var(--base) * 1.3); font-variation-settings: var(--d-fvs); }
.gy[data-card="luxe"] .g-card__price { font-weight: 300; color: var(--ink-2); font-size: calc(var(--base) * .9); letter-spacing: .04em; }
.gy[data-card="luxe"] .g-grid { column-gap: clamp(20px, 4cqi, 64px); }

/* shelf (Hardware) */
.gy[data-card="shelf"] .g-card__img { aspect-ratio: 1; border: 1px solid var(--rule-2); background: var(--surface); }
.gy[data-card="shelf"] .g-card__img img { width: 84%; height: auto; }
.gy[data-card="shelf"] .g-card__body { padding-top: 0; gap: 8px; }
.gy[data-card="shelf"] .g-shelftag { border-top: 0; }
.gy .g-shelftag__name { font-weight: 600; font-size: calc(var(--base) * .92); color: var(--on-pop); }
.gy .g-shelftag__row { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.gy .g-shelftag__row span { font: 500 calc(var(--base) * .74) var(--f-label); letter-spacing: .06em; }
.gy .g-shelftag__row small { font-size: .5em; font-weight: 700; text-transform: uppercase; margin-right: 3px; }

/* ==== product table (Stockroom) and hi-score list (Arcade) ================================== */
.gy .g-table { border-top: 2px solid var(--ink); font-size: calc(var(--base) * .9); }
.gy .g-table__head, .gy .g-table__row { display: grid; grid-template-columns: 56px 86px minmax(0, 2.4fr) minmax(0, 1.4fr) minmax(0, 1.1fr) 90px 88px; gap: 14px; align-items: center; }
.gy .g-table__head { padding: 10px 0; font: 500 calc(var(--base) * .72) var(--f-label); color: var(--ink-3); border-bottom: 1px solid var(--rule-2); }
.gy .g-table__head span:first-child { grid-column: 2; }
.gy .g-table__head span:nth-child(5) { text-align: right; }
.gy[data-strip="1"] .gs--hero .g-facts:not(.g-facts--keep) { display: none; }
.gy .g-table__row { padding: 8px 0; border-bottom: 1px solid var(--rule); }
.gy .g-table__img { width: 56px; height: 56px; background: var(--photo); display: grid; place-items: center; border-radius: var(--r); }
.gy .g-table__img img { width: 88%; }
.gy .g-table__name { display: grid; line-height: 1.3; } .gy .g-table__name small { color: var(--ink-3); font-size: .85em; }
.gy .g-table__size { font-size: calc(var(--base) * .78); color: var(--ink-2); }
.gy .g-table__price { font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
.gy .g-table__price small { font-weight: 400; color: var(--ink-3); margin-right: 3px; }
.gy .g-table__add .g-btn { min-height: 34px; padding: 0 12px; font-size: calc(var(--base) * .84); width: 100%; }
.gy .g-hiscore { display: grid; gap: 4px; max-width: 760px; margin: 0 auto; font: 400 calc(var(--base) * 1.05)/1.2 var(--f-label); text-transform: uppercase; letter-spacing: .02em; }
.gy[data-pairing="pixel"] { font-variant-ligatures: none; }
.gy .g-hiscore li { display: grid; grid-template-columns: 64px minmax(0, auto) 1fr auto; gap: 14px; align-items: baseline; padding: 8px 0; }
.gy .g-hiscore li:nth-child(1) { color: var(--pop); } .gy .g-hiscore li:nth-child(2) { color: var(--accent); }
.gy .g-hiscore__dots { border-bottom: 3px dotted color-mix(in srgb, currentColor 45%, transparent); transform: translateY(-5px); }
.gy .gs--products[data-v="hiscore"] .g-head { display: block; text-align: center; }
.gy .gs--products[data-v="hiscore"] .g-head .g-more { display: none; }
.gy .gs--products[data-v="hiscore"] .g-head__aside { margin: 8px auto 0; font-family: var(--f-label); text-transform: uppercase; letter-spacing: .08em; color: var(--pop); }
.gy .gs--products[data-v="hiscore"] + .gs--products { padding-top: 0; }
.gy .g-empty { display: grid; gap: 6px; place-items: center; text-align: center; padding: 48px 20px; border: 1.5px dashed var(--rule-2); border-radius: var(--r-card); color: var(--ink-2); }
.gy .g-empty b { color: var(--ink); font-size: calc(var(--base) * 1.1); }

/* ==== routes (Workshop) & quote blocks ======================================================== */
.gy .g-routes { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
.gy .g-routes.is-single { grid-template-columns: 1fr; }
.gy .g-route { display: flex; flex-direction: column; align-items: flex-start; gap: 0; background: var(--surface); border: 1px solid var(--rule); border-radius: var(--r-card); padding: clamp(22px, 3cqi, 40px); }
.gy .g-route__head { display: flex; justify-content: space-between; width: 100%; }
.gy .g-route__n { font: 400 calc(var(--base) * .72) var(--f-label); color: var(--ink-3); }
.gy .g-route .g-h2 { margin: 10px 0 14px; font-size: calc(clamp(calc(var(--base) * 1.6), calc(var(--base) + 1.6cqi), calc(var(--base) * 2.5)) * var(--d-scale)); }
.gy .g-route p { color: var(--ink-2); max-width: 30em; }
.gy .g-route__vis { margin: 26px 0 28px; width: 100%; flex: 1; display: flex; align-items: flex-end; }
.gy .g-readout { width: 100%; border: 1px solid var(--rule); background: var(--bg); border-radius: var(--r); font: 400 calc(var(--base) * .78)/1.4 var(--f-label); font-variation-settings: var(--l-fvs); color: var(--ink); }
.gy .g-readout__file { display: flex; justify-content: space-between; gap: 12px; padding: 11px 14px; border-bottom: 1px solid var(--rule); }
.gy .g-readout__file span { color: var(--ink-2); }
.gy .g-readout dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gy .g-readout dl div { padding: 10px 14px; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.gy .g-readout dl div:last-child { border-right: 0; }
.gy .g-readout dt { color: var(--ink-3); font-size: .86em; }
.gy .g-readout__total { display: flex; justify-content: space-between; align-items: baseline; padding: 12px 14px; color: var(--ink-2); }
.gy .g-readout__total strong { font: var(--d-w) calc(var(--base) * 1.8)/1 var(--f-display); color: var(--ink); letter-spacing: -.01em; font-variant-numeric: lining-nums tabular-nums; }
.gy .g-shelf { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.gy .g-shelf figure { margin: 0; }
.gy .g-shelf .g-card__img img { width: 92%; height: auto; }
.gy .g-shelf figcaption { display: flex; justify-content: space-between; gap: 6px; font-size: calc(var(--base) * .8); margin-top: 8px; color: var(--ink-2); }
.gy .g-qpanel__tool { display: grid; gap: 10px; align-content: start; }
.gy .g-qpanel__eg { font: 400 calc(var(--base) * .7) var(--f-label); font-variation-settings: var(--l-fvs); color: var(--ink-3); margin-top: 6px; }
.gy .g-qpanel { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--gap); align-items: stretch; background: var(--surface); border-radius: var(--r-card); padding: clamp(20px, 3cqi, 36px); border: 1px solid var(--rule); }
.gy .g-qpanel__copy { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.gy .g-qpanel__copy p { color: var(--ink-2); }
.gy .g-qpanel .g-readout { align-self: end; }
.gy .g-note { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: var(--gap); align-items: center; background: var(--surface); padding: clamp(22px, 3.4cqi, 44px); border: 1px solid var(--rule); border-radius: var(--r-card); }
.gy .g-note .g-h2 { margin-bottom: 12px; } .gy .g-note p { color: var(--ink-2); margin-bottom: 22px; }
.gy .g-slate { border: 1px solid var(--rule-2); }
.gy .g-slate__bar { display: grid; grid-template-columns: repeat(3, 1fr); background: repeating-linear-gradient(-45deg, var(--ink) 0 18px, var(--bg) 18px 36px); }
.gy .g-slate__bar span { background: var(--bg); margin: 8px 0; padding: 6px 14px; font: 600 calc(var(--base) * .72) var(--f-label); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.gy .g-slate__bar span:first-child { margin-left: 8px; } .gy .g-slate__bar span:last-child { margin-right: 8px; }
.gy .g-slate__body { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: var(--gap); padding: clamp(20px, 3cqi, 40px); align-items: center; }
.gy .g-slate__body .g-h2 { margin-bottom: 12px; } .gy .g-slate__body p { color: var(--ink-2); margin-bottom: 20px; }

/* ==== steps ================================================================================= */
.gy .g-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); position: relative; }
.gy .g-step__n { font: 400 calc(var(--base) * .74) var(--f-label); color: var(--ink-3); display: block; }
.gy .g-step__t { font-size: calc(var(--base) * 1.02); font-weight: 600; margin: 8px 0 8px; font-family: var(--f-text); line-height: 1.3; }
.gy .g-step p { color: var(--ink-2); font-size: calc(var(--base) * .92); }
.gy .gs--steps[data-v="line"] .g-steps::before { content: ''; position: absolute; left: 0; right: 0; top: 6px; height: 1px; background: var(--rule-2); }
.gy .gs--steps[data-v="line"] .g-step { padding-top: 34px; position: relative; }
.gy .gs--steps[data-v="line"] .g-step::before { content: ''; position: absolute; top: 0; left: 0; width: 13px; height: 13px; border-radius: 50%; border: 1.5px solid var(--ink); background: var(--bg); }
.gy .gs--steps[data-v="line"] .g-step:last-child::before { background: var(--accent); border-color: var(--accent); }
.gy .gs--steps[data-v="cards"] .g-step { background: var(--surface); border-radius: var(--r-card); padding: var(--pad); border: 1px solid var(--rule); }
.gy .gs--steps[data-v="cards"] .g-step__n { font-size: calc(var(--base) * 1.9); color: var(--accent-ink); font-family: var(--f-display); font-weight: var(--d-w); letter-spacing: -.03em; font-variation-settings: var(--d-fvs); line-height: 1; }
.gy .gs--steps[data-v="bubbles"] .g-step { text-align: center; }
.gy .gs--steps[data-v="bubbles"] .g-step__n { width: 64px; height: 64px; border-radius: 50%; border: 2px solid var(--ink); margin: 0 auto 6px; display: grid; place-items: center; font: 700 calc(var(--base) * 1.4)/1 var(--f-display); color: var(--ink); box-shadow: 3px 3px 0 var(--ink); }
.gy .gs--steps[data-v="bubbles"] .g-step:nth-child(1) .g-step__n { background: #CFEAF7; } .gy .gs--steps[data-v="bubbles"] .g-step:nth-child(2) .g-step__n { background: #FFE3A3; } .gy .gs--steps[data-v="bubbles"] .g-step:nth-child(3) .g-step__n { background: #CDEDD5; } .gy .gs--steps[data-v="bubbles"] .g-step:nth-child(4) .g-step__n { background: #FFD5C9; }
.gy .gs--steps[data-v="inline"] .g-steps { gap: 0; border: 1px solid var(--rule-2); background: var(--surface); }
.gy .gs--steps[data-v="inline"] .g-step { padding: var(--pad); border-right: 1px solid var(--rule-2); }
.gy .gs--steps[data-v="inline"] .g-step:last-child { border-right: 0; }
.gy .gs--steps[data-v="inline"] .g-step__n { font-family: var(--f-display); font-size: calc(var(--base) * 2.2); line-height: 1; color: var(--ink); font-weight: var(--d-w); }
.gy .gs--steps[data-v="inline"] .g-head { margin-bottom: 22px; }
.gy .gs--steps[data-v="scroll"] .g-step__n, .gy .gs--steps[data-v="soft"] .g-step__n { font-family: var(--f-display); font-size: calc(var(--base) * 2.6); line-height: 1; color: var(--accent-ink); font-weight: var(--d-w); font-variation-settings: var(--d-fvs); }
.gy .gs--steps[data-v="soft"] .g-step__n { font-style: italic; font-weight: 300; }
.gy .gs--steps[data-v="soft"] .g-steps { gap: clamp(20px, 4cqi, 56px); }
.gy .gs--steps[data-v="levels"] .g-step { border: 3px solid #F4F1E8; border-radius: 8px; padding: 16px; background: var(--surface); }
.gy .gs--steps[data-v="levels"] .g-step__n { font-family: var(--f-display); text-transform: uppercase; color: var(--pop); font-size: calc(var(--base) * .9); letter-spacing: .06em; }
.gy .gs--steps[data-v="levels"] .g-step__t { font-family: var(--f-display); font-weight: 600; }
.gy .gs--steps[data-v="levels"] .g-head, .gy .gs--steps[data-v="bubbles"] .g-head { text-align: center; display: block; } .gy .gs--steps[data-v="levels"] .g-head__aside, .gy .gs--steps[data-v="bubbles"] .g-head__aside { margin: 12px auto 0; }
.gy .gs--steps[data-v="levels"] .g-head .g-h2, .gy .gs--steps[data-v="bubbles"] .g-head .g-h2 { max-width: 16em; margin-inline: auto; }
/* tone: band */
.gy [data-tone="band"] { background: var(--band); color: var(--on-band); }
.gy [data-tone="band"] :is(.g-h2, .g-step__t, .g-step__n, h3) { color: var(--on-band); }
.gy [data-tone="band"] :is(p, .g-head__aside) { color: var(--band-soft); }
.gy [data-tone="band"] .g-step__n { color: var(--band-accent); }
.gy[data-t="tabletop"] [data-tone="band"] .g-step__n { color: color-mix(in srgb, var(--on-band) 78%, #6B3F10); }

/* ==== pay band ================================================================================ */
.gy .gs--pay { background: var(--band); color: var(--on-band); }
.gy .g-pay { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--gap) clamp(28px, 5cqi, 80px); align-items: start; }
.gy .gs--pay .g-kicker { color: var(--band-soft); }
.gy .gs--pay .g-h2 { color: var(--on-band); margin: 14px 0 18px; }
.gy .gs--pay .g-h2 em { color: var(--band-accent) !important; background: none !important; }
.gy .g-pay__head p { color: var(--band-soft); max-width: 28em; }
.gy .g-pay__list { border-top: 1px solid color-mix(in srgb, var(--on-band) 18%, transparent); }
.gy .g-pay__list li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 18px; padding: 20px 0; border-bottom: 1px solid color-mix(in srgb, var(--on-band) 18%, transparent); }
.gy .g-pay__list .gi { width: 24px; height: 24px; color: var(--band-accent); margin-top: 2px; }
.gy .g-pay__list h3 { font-size: calc(var(--base) * 1.02); font-weight: 600; margin-bottom: 4px; color: var(--on-band); }
.gy .g-pay__list p { color: var(--band-soft); font-size: calc(var(--base) * .92); }

/* ==== materials ============================================================================== */
.gy .g-mtable { border-top: 1.5px solid var(--ink); }
.gy .g-mtable__head, .gy .g-mtable__row { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 3.2fr) repeat(3, minmax(0, 1fr)) minmax(0, .9fr); gap: 20px; align-items: center; }
.gy .g-mtable__head { padding: 12px 0; font: 400 calc(var(--base) * .7) var(--f-label); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); border-bottom: 1px solid var(--rule); font-variation-settings: var(--l-fvs); }
.gy .g-mtable__head span:last-child, .gy .g-mtable__row span:last-child { text-align: right; }
.gy .g-mtable__row { padding: 18px 0; border-bottom: 1px solid var(--rule); }
.gy .g-mtable__row b { display: block; font-family: var(--f-display); font-weight: var(--d-w); font-size: calc(var(--base) * 1.55 * var(--d-scale)); line-height: 1; letter-spacing: var(--d-ls); font-variation-settings: var(--d-fvs); text-transform: var(--d-tt); }
.gy .g-mtable__row small { color: var(--ink-3); font-size: calc(var(--base) * .8); }
.gy .g-mtable__d { color: var(--ink-2); font-size: calc(var(--base) * .92); }
.gy .g-mats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.gy .g-mat { background: var(--surface); border-radius: var(--r-card); padding: var(--pad); display: grid; gap: 10px; align-content: start; position: relative; }
.gy .g-mat h3 { font-family: var(--f-display); font-weight: var(--d-w); font-size: calc(var(--base) * 2.2); line-height: 1; letter-spacing: var(--d-ls); font-variation-settings: var(--d-fvs); }
.gy .g-mat__full { color: var(--ink-3); font-size: calc(var(--base) * .82); margin-top: -4px; }
.gy .g-mat p { color: var(--ink-2); font-size: calc(var(--base) * .92); }
.gy .g-mat dl { display: grid; gap: 6px; border-top: 1px solid var(--rule); padding-top: 12px; margin-top: 4px; font-size: calc(var(--base) * .84); }
.gy .g-mat dl div { display: flex; justify-content: space-between; align-items: center; }
.gy .g-mat__price { position: absolute; top: var(--pad); right: var(--pad); font-weight: 600; color: var(--accent-ink); }

/* ==== reviews, story, printers, visit ====================================================== */
.gy .g-quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.gy .g-quote blockquote { font-family: var(--f-display); font-weight: var(--d-w); font-variation-settings: var(--d-fvs); font-size: calc(var(--base) * 1.22 * var(--d-scale)); line-height: 1.3; letter-spacing: calc(var(--d-ls) / 3); text-transform: none; }
.gy[data-pairing="marquee"] .g-quote blockquote, .gy[data-pairing="stockroom"] .g-quote blockquote, .gy[data-pairing="pixel"] .g-quote blockquote, .gy[data-pairing="warband"] .g-quote blockquote { font-family: var(--f-text); font-weight: 400; font-size: calc(var(--base) * 1.1); }
.gy .g-quote figcaption { display: grid; margin-top: 14px; font-size: calc(var(--base) * .84); color: var(--ink-3); }
.gy .g-quote figcaption b { color: var(--ink); font-weight: 600; }
.gy .gs--reviews[data-v="quotes"] .g-quote { border-top: 1px solid var(--rule-2); padding-top: 18px; }
.gy .gs--reviews[data-v="cards"] .g-quote { background: var(--surface); padding: var(--pad); border-radius: var(--r-card); border: 1px solid var(--rule); }
.gy[data-t="market"] .gs--reviews .g-quote blockquote { font-family: var(--f-label); font-weight: 400; font-size: calc(var(--base) * .98); line-height: 1.5; }
.gy[data-t="toybox"] .gs--reviews .g-quote { border: 2px solid var(--ink); box-shadow: 4px 4px 0 var(--ink); }
.gy .g-single { max-width: 50em; margin: 0 auto; text-align: center; display: grid; gap: 18px; justify-items: center; }
.gy .g-single blockquote { font-family: var(--f-display); font-style: italic; font-weight: calc(var(--d-w) - 40); font-size: calc(clamp(calc(var(--base) * 1.5), calc(var(--base) + 1.9cqi), calc(var(--base) * 2.5)) * var(--d-scale)); line-height: 1.25; font-variation-settings: var(--d-fvs); text-wrap: balance; }
.gy .g-single figcaption { color: var(--ink-3); font-size: calc(var(--base) * .9); }
.gy .g-letter { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--gap) clamp(28px, 5cqi, 80px); }
.gy .g-letter__body { display: grid; gap: 14px; color: var(--ink-2); max-width: 34em; }
.gy .g-sign { font-family: var(--f-display); color: var(--ink); font-size: calc(var(--base) * 1.4); transform: rotate(-2deg); transform-origin: left; }
.gy .g-statement { max-width: 44em; }
.gy .g-statement p { font-size: calc(clamp(calc(var(--base) * 1.3), calc(var(--base) + 1.5cqi), calc(var(--base) * 2)) * var(--k)); font-weight: 300; line-height: 1.35; margin-bottom: 26px; letter-spacing: -.01em; }
.gy .g-printers { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.gy .g-printer { background: var(--surface); border-radius: var(--r-card); padding: 16px; display: grid; gap: 4px; align-content: start; font-size: calc(var(--base) * .76); color: var(--ink-3); }
.gy .g-printer h3 { font-size: calc(var(--base) * 1.2); font-weight: 600; color: var(--ink); margin-top: 8px; }
.gy .g-printer p { color: var(--ink-2); font-size: calc(var(--base) * .82); margin-top: 6px; }
.gy .g-printer__st { display: inline-flex; gap: 6px; align-items: center; font: 400 calc(var(--base) * .68) var(--f-label); font-variation-settings: var(--l-fvs); color: var(--ink-2); }
.gy .g-printer__st::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--ink-3); }
.gy .g-printer__st[data-st="printing"]::before { background: var(--accent); }
.gy .g-printer__st[data-st="maintenance"]::before { background: #B07A12; }
.gy .g-visit { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: var(--gap); align-items: start; background: var(--surface); border: 2px solid var(--ink); padding: clamp(22px, 3.4cqi, 44px); }
.gy .g-visit .g-h2 { margin-bottom: 14px; }
.gy .g-visit p { color: var(--ink-2); max-width: 32em; }
.gy .g-visit__addr { display: flex; gap: 10px; align-items: center; margin-top: 12px; color: var(--ink) !important; font-weight: 500; }
.gy .g-hours { border-top: 2px solid var(--ink); }
.gy .g-hours li { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px solid var(--rule-2); font-variant-numeric: tabular-nums; }

/* ==== library extras (builder, AI themes) ================================================== */
.gy .g-faq { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: var(--gap); }
.gy .g-faq__i { border-bottom: 1px solid var(--rule); padding: 16px 0; }
.gy .g-faq__i summary { display: flex; justify-content: space-between; gap: 16px; font-weight: 600; list-style: none; cursor: pointer; }
.gy .g-faq__i summary::-webkit-details-marker { display: none; }
.gy .g-faq__i p { color: var(--ink-2); margin-top: 10px; max-width: 40em; }
.gy .g-banner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px 40px; background: var(--accent-wash); color: var(--on-wash); padding: clamp(22px, 3.6cqi, 48px); border-radius: var(--r-card); }
.gy .g-banner .g-h2 { color: var(--on-wash); margin-bottom: 8px; } .gy .g-banner p { color: var(--on-wash); max-width: 34em; }
.gy .g-count { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 36px; background: var(--band); color: var(--on-band); padding: 26px clamp(20px, 3cqi, 40px); border-radius: var(--r-card); }
.gy .g-count p { color: var(--band-soft); font-weight: 500; }
.gy .g-count__n { display: flex; gap: 22px; }
.gy .g-count__n span { display: grid; justify-items: center; font-size: calc(var(--base) * .74); color: var(--band-soft); text-transform: uppercase; letter-spacing: .08em; }
.gy .g-count__n b { font: var(--d-w) calc(var(--base) * 2.8)/1 var(--f-display); color: var(--on-band); font-variant-numeric: tabular-nums; letter-spacing: 0; }
.gy .gs--countdown { padding-block: calc(var(--sp) * .5); }
.gy .g-video { position: relative; aspect-ratio: 16 / 9; background: var(--band); border-radius: var(--r-card); overflow: hidden; display: grid; place-items: center; }
.gy .g-video img { width: 56%; opacity: .92; }
.gy .g-video__play { position: absolute; width: 76px; height: 76px; border-radius: 50%; background: var(--accent); color: var(--on-accent); display: grid; place-items: center; }
.gy .g-video__play .gi { width: 30px; height: 30px; fill: currentColor; stroke: none; margin-left: 5px; }
.gy .g-video__cap { position: absolute; left: 20px; bottom: 16px; color: var(--on-band); font-size: calc(var(--base) * .84); }
.gy .g-gallery { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.gy .g-gallery .g-card__img { aspect-ratio: 1; } .gy .g-gallery .g-card__img img { width: 86%; height: auto; }
.gy .g-it { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--gap) clamp(28px, 5cqi, 72px); align-items: center; }
.gy .g-it .g-card__img { aspect-ratio: 5 / 4; } .gy .g-it .g-card__img img { width: 60%; height: auto; }
.gy .g-it .g-h2 { margin-bottom: 16px; } .gy .g-it p { color: var(--ink-2); margin-bottom: 22px; }
.gy .g-contact { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: var(--gap); }
.gy .g-contact__card { background: var(--surface); border-radius: var(--r-card); padding: var(--pad); display: grid; gap: 12px; align-content: start; border: 1px solid var(--rule); }
.gy .g-contact__card p { display: flex; gap: 10px; align-items: center; color: var(--ink-2); }
.gy .g-map { position: relative; min-height: 220px; border-radius: var(--r-card); background: linear-gradient(90deg, transparent 49%, var(--rule) 49% 51%, transparent 51%) 0 0 / 90px 90px, linear-gradient(0deg, transparent 49%, var(--rule) 49% 51%, transparent 51%) 0 0 / 70px 70px, var(--surface-2); border: 1px solid var(--rule); }
.gy .g-map i { position: absolute; left: 46%; top: 42%; width: 18px; height: 18px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--accent); border: 2px solid var(--surface); }
.gy .gs--custom { padding: 0; }

/* ==== per-section styling from the builder (tokens remapped inside the section) =============== */
.gy .gs[data-bgk="panel"] { --bg: var(--surface); background: var(--surface); }
.gy .gs[data-bgk="band"] { --bg: var(--band); --surface: color-mix(in srgb, var(--on-band) 8%, var(--band)); --surface-2: color-mix(in srgb, var(--on-band) 12%, var(--band)); --ink: var(--on-band); --ink-2: var(--band-soft); --ink-3: var(--band-soft); --rule: color-mix(in srgb, var(--on-band) 18%, transparent); --rule-2: color-mix(in srgb, var(--on-band) 40%, transparent); --accent-ink: var(--band-accent); background: var(--band); color: var(--on-band); }
.gy .gs[data-bgk="accent"] { --bg: var(--accent); --surface: color-mix(in srgb, var(--on-accent) 10%, var(--accent)); --ink: var(--on-accent); --ink-2: var(--on-accent); --ink-3: var(--on-accent); --rule: color-mix(in srgb, var(--on-accent) 24%, transparent); --rule-2: color-mix(in srgb, var(--on-accent) 50%, transparent); --accent-ink: var(--on-accent); background: var(--accent); color: var(--on-accent); }
.gy .gs[data-bgk="accent"] .g-btn--primary { background: var(--on-accent) !important; color: var(--accent) !important; border-color: var(--on-accent) !important; }
.gy .gs[data-bgk="pattern"] { background-image: radial-gradient(color-mix(in srgb, var(--ink) 14%, transparent) 1.2px, transparent 1.6px); background-size: 18px 18px; }
.gy .gs[data-space="snug"] { padding-block: calc(var(--sp) * .55); } .gy .gs[data-space="airy"] { padding-block: calc(var(--sp) * 1.35); }
.gy .gs[data-border="line"] { border-block: 1px solid var(--rule); } .gy .gs[data-border="frame"] { outline: 1px solid var(--rule-2); outline-offset: -14px; }
.gy .gs[data-shadow="soft"] :is(.g-card__img, .g-route, .g-qpanel, .g-panel, .g-note, .g-readout, .g-drop) { box-shadow: 0 16px 34px -18px rgba(0, 0, 0, .38); }
.gy .gs[data-shadow="hard"] :is(.g-card__img, .g-route, .g-qpanel, .g-panel, .g-note, .g-readout, .g-drop) { box-shadow: 4px 4px 0 var(--ink); }
.gy .gs[data-motion="rise"] { animation: gy-rise .6s cubic-bezier(.2, .7, .2, 1) both; } .gy .gs[data-motion="fade"] { animation: gy-fade .6s ease both; }
@keyframes gy-fade { from { opacity: .001; } to { opacity: 1; } }

/* ==== motion (builder setting; subtle, and off for reduced motion) ========================= */
.gy[data-motion="rise"] .gs { animation: gy-rise .6s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes gy-rise { from { transform: translateY(14px); } to { transform: none; } }
@media (prefers-reduced-motion: reduce) { .gy[data-motion] .gs { animation: none; } }

/* ==== tablet ================================================================================= */
@container gy (max-width: 1060px) {
  .gy .g-nav a { padding: 8px 9px; }
  .gy .g-printers { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .gy .g-table__head, .gy .g-table__row { grid-template-columns: 52px 76px minmax(0, 2.4fr) minmax(0, 1.2fr) 84px 80px; }
  .gy .g-table__size, .gy .g-table__head span:nth-child(4) { display: none; }
  .gy .g-qpanel { grid-template-columns: 1fr 1fr; } .gy .g-qpanel__copy { grid-column: 1 / -1; }
  .gy .g-ft__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .gy .g-ft__brand { grid-column: 1 / -1; }
}
@container gy (max-width: 900px) {
  .gy .g-nav { display: none; }
  .gy .g-menu { display: inline-flex; }
  .gy .g-cart__l { display: none; }
  .gy .g-hd[data-v="centred"] .g-nav, .gy .g-hd[data-v="marquee"] .g-nav { display: none; }
  .gy .g-hd[data-v="centred"] .g-hd__in { grid-template-areas: "menu logo act"; padding-block: 14px; }
  .gy .g-hd[data-v="centred"] .g-menu { grid-area: menu; } .gy .g-hd[data-v="centred"] .g-hd__act { display: contents; } .gy .g-hd[data-v="centred"] .g-cart { grid-area: act; justify-self: end; }
  .gy .g-hd[data-v="search"] .g-nav { display: none; }
  .gy .g-hd[data-v="search"] .g-hd__in { padding-bottom: 14px; }
  .gy .g-hd[data-v="marquee"] .g-hd__act { top: 14px; right: 12px; } .gy .g-hd[data-v="marquee"] .g-menu { display: none; }
  .gy .g-hero__grid, .gy .gs--hero[data-v="still"] .g-hero__grid, .gy .gs--hero[data-v="board"] .g-hero__grid, .gy .gs--hero[data-v="poster"] .g-hero__grid, .gy .gs--hero[data-v="quiet"] .g-hero__grid, .gy .gs--hero[data-v="arch"] .g-hero__grid, .gy .gs--hero[data-v="dropzone"] .g-hero__grid, .gy .g-panel, .gy .g-crt__body, .gy .g-hero__under, .gy .g-hero__row { grid-template-columns: minmax(0, 1fr); }
  .gy .g-hero__under .g-actions { justify-content: flex-start; }
  .gy .g-callouts { display: none; }
  .gy .g-head { grid-template-columns: minmax(0, 1fr); row-gap: 12px; }
  .gy .g-head .g-h2, .gy .g-head__aside, .gy .g-more { grid-column: 1; grid-row: auto; }
  .gy .g-grid[data-cols="4"], .gy .g-grid[data-cols="3"] { --cols: 2; }
  .gy .g-grid[data-v="staggered"] .g-card:nth-child(n) { margin-top: 0; }
  .gy .g-grid[data-v="staggered"] .g-card:nth-child(2n) { margin-top: 48px; }
  .gy .g-routes, .gy .g-pay, .gy .g-letter, .gy .g-note, .gy .g-slate__body, .gy .g-visit, .gy .g-faq, .gy .g-it, .gy .g-contact { grid-template-columns: minmax(0, 1fr); }
  .gy .g-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }
  .gy .gs--steps[data-v="line"] .g-steps::before { display: none; }
  .gy .gs--steps[data-v="inline"] .g-step { border-bottom: 1px solid var(--rule-2); }
  .gy .g-quotes, .gy .g-mats { grid-template-columns: minmax(0, 1fr); }
  .gy .g-mtable__head { display: none; }
  .gy .g-mtable__row { grid-template-columns: repeat(3, minmax(0, 1fr)) auto; row-gap: 10px; }
  .gy .g-mtable__row > span:first-child, .gy .g-mtable__row .g-mtable__d { grid-column: 1 / -1; }
  .gy .g-mtable__row > span:nth-child(3)::before { content: 'Strength '; } .gy .g-mtable__row > span:nth-child(4)::before { content: 'Heat '; } .gy .g-mtable__row > span:nth-child(5)::before { content: 'Outdoors '; }
  .gy .g-mtable__row > span:nth-child(n+3) { font-size: calc(var(--base) * .74); color: var(--ink-3); display: grid; gap: 4px; }
  .gy .g-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .gy .g-frame { aspect-ratio: 4 / 3.6; }
  .gy .g-frame__img img { width: 74%; margin: 0 0 8%; }
  .gy .g-frame .g-br--tl, .gy .g-frame .g-br--tr { top: 76px; } .gy .g-frame__tl, .gy .g-frame__tr { top: 84px; }
  .gy .g-frame__tr { display: none; }
  .gy .g-ft__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ==== phone (360–640) ======================================================================= */
@container gy (max-width: 640px) {
  .gy { font-size: max(16px, var(--base)); }
  .gy .is-hide-phone { display: none; }
  .gy .g-hd__in { min-height: 64px; gap: 12px; }
  .gy .g-logo__name { font-size: calc(var(--base) * 1.4 * var(--d-scale)); }
  .gy .g-logo__desc { display: none; }
  .gy .g-cart { padding: 0 11px; }
  .gy .g-strip__in { gap: 4px 16px; min-height: 32px; padding-block: 6px; }
  .gy .g-strip__in > span:nth-child(n+3) { display: none; }
  .gy .g-hd[data-logo="stamp"] .g-logo { width: 86px; height: 86px; }
  .gy .g-hd[data-logo="stamp"] .g-logo__name { font-size: calc(var(--base) * 1.2); }
  .gy .gs--hero[data-v="arch"] .g-arch img { transform: none; }
  .gy .g-hd[data-logo="stamp"] .g-logo__desc { display: block; font-size: 9px; }
  .gy .g-hd[data-size="large"] .g-logo__name { font-size: calc(var(--base) * 1.9); }
  .gy .g-hd[data-size="large"] .g-logo__desc { display: block; }
  .gy .g-hd[data-v="marquee"] .g-logo { padding: 16px 64px 14px 16px; justify-content: flex-start; }
  .gy .g-hd[data-v="marquee"] .g-logo__name { font-size: calc(var(--base) * 1.9); }
  .gy .g-hd[data-v="marquee"] .g-hd__act { top: 16px; right: 12px; }
  .gy .g-hd[data-v="sign"] .g-hd__in { min-height: 72px; }
  .gy .g-hd[data-v="sign"] .g-logo__est { width: 48px; height: 48px; font-size: 9px; }
  .gy .g-hd[data-v="sign"] .g-logo__name { font-size: calc(var(--base) * 1.6); }
  .gy .g-hd[data-v="search"] .g-search { order: 5; flex-basis: 100%; margin-top: 12px; }
  .gy .g-hd[data-v="search"] .g-search kbd { display: none; }
  .gy .g-hd[data-v="overlay"] .g-logo__desc { display: none; }
  .gy .g-hero__copy .g-h1 { margin: 14px 0 18px; }
  .gy .g-lede { font-size: calc(var(--base) * 1.04); }
  .gy .g-actions { flex-direction: column; align-items: stretch; }
  .gy[data-btn="underline"] .g-actions { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 18px 24px; }
  .gy .g-actions .g-btn { width: 100%; }
  .gy[data-btn="underline"] .g-actions .g-btn { width: auto; }
  .gy .g-facts { flex-direction: column; gap: 10px; }
  .gy .g-board { gap: 8px; padding-top: 18px; }
  .gy .g-board__item--1 { transform: translateY(-16px); }
  .gy .g-board .g-tag { transform: rotate(3deg) scale(.82); transform-origin: top right; right: 0; }
  .gy .g-board .g-tag span { display: none; }
  .gy .g-stamp { width: 78px; height: 78px; right: -4px; bottom: -14px; font-size: 8.5px; }
  .gy .g-panel { box-shadow: 4px 4px 0 var(--ink); padding: 22px 18px; }
  .gy .g-sticker { width: 76px; height: 76px; font-size: 13px; top: -10px; right: -2px; }
  .gy .g-frame { aspect-ratio: auto; min-height: 340px; }
  .gy .g-frame__img { position: relative; inset: auto; padding-top: 96px; }
  .gy .g-frame__img img { width: 80%; margin: 0; }
  .gy .g-frame .g-br--tl { top: 66px; left: 14px; } .gy .g-frame .g-br--tr { top: 66px; right: 14px; } .gy .g-frame .g-br--bl { bottom: 14px; left: 14px; } .gy .g-frame .g-br--br { bottom: 14px; right: 14px; }
  .gy .g-frame__tl { top: 74px; left: 24px; font-size: 10px; }
  .gy .g-frame__head { position: relative; padding: 0 16px 22px; }
  .gy .g-hero__tiles { gap: 8px; }
  .gy .g-hero__tiles figcaption { flex-direction: column; gap: 0; font-size: 12px; }
  .gy .g-hero__tiles figcaption span { display: none; }
  .gy .g-hero__row .g-facts { border-left: 0; padding-left: 0; border-top: 1px solid var(--rule); padding-top: 16px; }
  .gy .g-crt__hud span:nth-child(3) { display: none; }
  .gy .g-hero__wide img { padding: 4%; aspect-ratio: 4 / 3; }
  .gy .g-peg { aspect-ratio: 1; }
  .gy .g-grid[data-cols="4"], .gy .g-grid[data-cols="3"], .gy .g-grid[data-cols="2"] { --cols: 2; gap: 26px 12px; }
  .gy[data-card="luxe"] .g-grid, .gy[data-card="poster"] .g-grid, .gy[data-card="framed"] .g-grid, .gy[data-card="arch"] .g-grid { --cols: 1; }
  .gy[data-card="arch"] .g-grid .g-card__img { aspect-ratio: 4 / 4.4; }
  .gy[data-card="framed"] .g-card__img, .gy[data-card="poster"] .g-card__img, .gy[data-card="luxe"] .g-card__img { aspect-ratio: 4 / 3.6; }
  .gy[data-card="framed"] .g-card__img img, .gy[data-card="poster"] .g-card__img img, .gy[data-card="luxe"] .g-card__img img { width: 62%; }
  .gy .g-card__row { flex-direction: column; gap: 2px; }
  .gy .g-card__meta .g-sw { display: none; }
  .gy .g-card__spec { grid-template-columns: 1fr; } .gy .g-card__spec div + div { border-left: 0; padding-left: 0; border-top: 1px solid var(--rule); }
  .gy[data-card="sticker"] .g-card__body { padding: 10px 10px 12px; }
  .gy[data-card="sticker"] .g-card__row { flex-direction: row; align-items: center; }
  .gy[data-card="window"] .g-card__row { flex-direction: column; }
  .gy[data-card="window"] .g-card { padding: 6px; }
  .gy .g-grid[data-v="staggered"] .g-card:nth-child(2n) { margin-top: 36px; }
  .gy .g-table__head { display: none; }
  .gy .g-table__row { grid-template-columns: 52px minmax(0, 1fr) auto; grid-template-areas: "img name price" "img sku add"; row-gap: 2px; column-gap: 12px; padding: 10px 0; }
  .gy .g-table__img { grid-area: img; width: 52px; height: 52px; }
  .gy .g-table__row > .g-mono:not(.g-table__size) { grid-area: sku; font-size: 12px; color: var(--ink-3); align-self: start; }
  .gy .g-table__name { grid-area: name; } .gy .g-table__name small { display: none; }
  .gy .g-table__row .g-stock, .gy .g-table__size { display: none; }
  .gy .g-table__price { grid-area: price; } .gy .g-table__add { grid-area: add; }
  .gy .g-table__add .g-btn { min-height: 30px; padding: 0 10px; }
  .gy .g-hiscore { font-size: calc(var(--base) * .95); }
  .gy .g-hiscore li { grid-template-columns: 40px minmax(0, 1fr) auto; }
  .gy .g-hiscore__dots { display: none; }
  .gy .g-routes .g-route { padding: 20px 18px; }
  .gy .g-readout dl { grid-template-columns: minmax(0, 1fr); } .gy .g-readout dl div { border-right: 0; display: flex; justify-content: space-between; }
  .gy .g-readout__file { flex-direction: column; gap: 2px; }
  .gy .g-shelf figcaption { flex-direction: column; font-size: 12px; }
  .gy .g-qpanel { grid-template-columns: minmax(0, 1fr); }
  .gy .g-steps { grid-template-columns: minmax(0, 1fr); row-gap: 22px; }
  .gy .gs--steps[data-v="inline"] .g-step { border-right: 0; }
  .gy .gs--steps[data-v="bubbles"] .g-step { display: grid; grid-template-columns: 56px minmax(0, 1fr); column-gap: 14px; text-align: left; }
  .gy .gs--steps[data-v="bubbles"] .g-step__n { width: 52px; height: 52px; grid-row: span 2; margin: 0; }
  .gy .g-slate__bar span:nth-child(3) { display: none; } .gy .g-slate__bar { grid-template-columns: 1fr 1fr; }
  .gy .g-printers { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .gy .g-mtable__row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .gy .g-mtable__row > span:last-child { grid-column: 1 / -1; text-align: left; }
  .gy .g-count__n b { font-size: calc(var(--base) * 2); }
  .gy .g-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gy .g-ft__grid { grid-template-columns: minmax(0, 1fr); padding-block: 40px 24px; }
  .gy .g-ft__grid > div:nth-child(2), .gy .g-ft__grid > div:nth-child(3), .gy .g-ft__grid > div:nth-child(4) { display: none; }
  .gy .g-ft__base span:last-child { margin-left: 0; }
}

/* ==== production: what the mockup didn't need ================================================== */
body.is-themed { background: var(--bg); color: var(--ink); }
.gy-chrome { position: relative; z-index: 30; }
.gy a:focus-visible, .gy button:focus-visible, .gy summary:focus-visible, .gy input:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.gy .g-menu { background: none; font: inherit; cursor: pointer; padding: 0; }
.gy .g-menu[aria-expanded="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.gy .g-search input { flex: 1; min-width: 0; height: 100%; padding: 0; border: 0; background: none; font: inherit; color: var(--ink); }
.gy .g-search input::placeholder { color: var(--ink-3); opacity: 1; }
.gy .g-search input:focus { outline: none; }
.gy .g-search:focus-within { outline: 2px solid var(--focus); outline-offset: 2px; }
.gy .g-logo__img { height: 32px; width: auto; }
.gy .g-nav a:hover, .gy .g-ft a:hover { color: var(--ink); }
.gy .g-ft a:hover { text-decoration: underline; text-underline-offset: .2em; }
.gy .g-ft__links { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.gy .g-ft[data-v="minimal"] .g-ft__links { padding-block: 0 28px; color: var(--ink-2); }
.gy .g-ft[data-v="bigtype"] .g-ft__links { padding-bottom: 18px; }
.gy .g-ft[data-v="bigtype"] .g-ft__base { padding-inline: 0; }
.gy .g-ft__base .gi { width: 14px; height: 14px; vertical-align: -2px; }
.gy .g-noimg { width: 100%; height: 100%; display: grid; place-items: center; color: var(--ink-3); }
.gy .g-noimg .gi { width: 34%; height: auto; stroke-width: 1.1; }
.gy .g-stage__link { display: contents; }
.gy .g-board__img, .gy .g-tile { color: inherit; }
.gy .g-table__name a { color: inherit; }
.gy .g-table__name a:hover, .gy .g-rich a, .gy .g-visit a { text-decoration: underline; text-underline-offset: .2em; }
.gy .g-table__add .g-btn { white-space: nowrap; }
.gy .g-hiscore li { display: block; padding: 0; }
.gy .g-hiscore li > a { display: grid; grid-template-columns: 64px minmax(0, auto) 1fr auto; gap: 14px; align-items: baseline; padding: 8px 0; }
.gy .g-hiscore li > a:hover .g-hiscore__name { text-decoration: underline; }
.gy .g-menu-list a:hover { text-decoration: underline; }
.gy .g-drop__in { color: inherit; }
.gy .g-drop.is-over { outline: 2px solid var(--accent); outline-offset: 4px; }
.gy .g-drop.is-busy .g-drop__in b::after { content: ' …'; }
.gy .g-mtable__note { margin-top: 14px; }
.gy .g-visit__addr a { color: inherit; }
.gy .g-contact__card a { color: inherit; text-decoration: underline; text-underline-offset: .2em; }
.gy .g-it[data-side="right"] > :first-child { order: 2; }
.gy .g-rich { display: grid; gap: .9em; color: var(--ink-2); max-width: 40em; }
.gy .g-rich a { color: var(--accent-ink); }
.gy .g-text .g-h2 { margin-bottom: 22px; }
.gy .g-text[data-v="narrow"] { max-width: calc(760px + var(--gut) * 2); }
.gy .g-text[data-v="wide"] .g-rich { max-width: 64em; }
.gy .g-letter__body .g-more { margin-top: 6px; }
.gy .g-work { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); }
.gy .g-workitem .g-card__img { aspect-ratio: 4 / 5; }
.gy .g-workitem h3 { font-family: var(--f-display); font-weight: var(--d-w); font-variation-settings: var(--d-fvs); letter-spacing: var(--d-ls); font-size: calc(var(--base) * 1.3 * var(--d-scale)); line-height: 1.15; margin: 16px 0 8px; }
.gy .g-workitem p { color: var(--ink-2); font-size: calc(var(--base) * .9); }
.gy .g-workitem__spec { margin-top: 10px; font-size: calc(var(--base) * .74); color: var(--ink-3); }
.gy .g-faq__i summary .gi { transition: transform .2s; }
.gy .g-faq__i[open] summary .gi { transform: rotate(180deg); }
.gy .g-empty { display: grid; gap: 6px; justify-items: center; text-align: center; padding: 40px 20px; border: 1.5px dashed var(--rule-2); border-radius: var(--r-card); color: var(--ink-2); }
.gy .g-empty b { color: var(--ink); }
@media (prefers-reduced-motion: reduce) {
  .gy .g-btn, .gy .g-faq__i summary .gi { transition: none; }
  .gy[data-hover="lift"] .g-btn:hover { transform: none; }
}
@container gy (min-width: 641px) { .gy .is-hide-desktop { display: none; } }
@container gy (max-width: 900px) {
  .gy .g-hd__act { margin-left: auto; }
  .gy .g-hd[data-v="marquee"] .g-menu { display: inline-flex; }
  .gy .g-work { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@container gy (max-width: 640px) {
  /* Phones keep every footer link: the columns fold into two. */
  .gy .g-ft__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gy .g-ft__grid > div:nth-child(n) { display: block; }
  .gy .g-ft__brand { grid-column: 1 / -1; }
  .gy .g-hiscore li > a { grid-template-columns: 40px minmax(0, 1fr) auto; }
  .gy .g-work { grid-template-columns: minmax(0, 1fr); }
  .gy .g-ft__base span:last-child { margin-left: 0; }
}

/* ==== the bridge: Gyroid's own pages (site.css) in the theme ================================== */
/* The dark panels on the tracking page, the material picker and the calculators are drawn in the
   theme's band, whose text contrast the engine guarantees, instead of the classic fixed greys. */
html[data-t] :is(.order-number, .picker__answer, .calc__results, .demo-bar) { background: var(--band); color: var(--on-band); }
html[data-t] :is(.order-number .label, .order-number p, .picker__answer .eyebrow, .picker__answer p, .calc__results .muted, .result-big .label, .result-list dt, .result-sub h3) { color: var(--band-soft); }
html[data-t] :is(.order-number a, .calc__results a, .demo-bar a, .demo-bar a:hover, .demo-bar b) { color: var(--on-band); }
html[data-t] :is(.result-list div, .result-sub) { border-color: color-mix(in srgb, var(--on-band) 18%, transparent); }
html[data-t] .demo-bar :focus-visible { outline-color: var(--on-band); }
html[data-t] .picker__answer .btn:hover { background: var(--bg); }
html[data-t] .skip-link { background: var(--ink); color: var(--bg); }
html[data-dark="true"] .toggle input:checked + span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='%23111111' stroke-width='2.6'/%3E%3C/svg%3E"); }
html[data-dark="true"] .input:focus, html[data-dark="true"] .textarea:focus { box-shadow: 0 0 0 3px color-mix(in srgb, var(--ink) 18%, transparent); }
/* Buttons follow the theme's button style. */
html[data-btn="outline"] .btn--accent { --btn-bg: transparent; --btn-fg: var(--ink); --btn-border: var(--ink); }
html[data-btn="outline"] .btn--accent:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
html[data-btn="raised"] .btn { border-width: 2px; border-color: var(--ink); box-shadow: 3px 3px 0 var(--ink); font-weight: 600; }
html[data-btn="raised"] .btn:active { box-shadow: 1px 1px 0 var(--ink); transform: translate(2px, 2px); }
html[data-corners="soft"] :is(.btn, .input, .textarea, .field select) { border-radius: var(--r-btn); }
html[data-corners="round"] :is(.btn, .input, .textarea, .field select) { border-radius: var(--r-btn); }
html:is([data-corners="soft"], [data-corners="round"]) :is(.product-card__media, .product-card img, .gallery__main, .panel, .card, .route, .readout) { border-radius: var(--r-card); }
/* Headings take the pairing's display metrics. */
html[data-t] :is(.display, .h1, .h2, .h3) { font-weight: var(--d-w); letter-spacing: var(--d-ls); text-transform: var(--d-tt); font-variation-settings: var(--d-fvs); }
html[data-t] .eyebrow { font-family: var(--f-label); }
/* Status colours are moved to read on the theme's page (engine.js); the light chips they sit on in
   a few places keep their classic dark ink. */
html[data-dark="true"] :is(.check-item.is-ok .check-item__icon, .sent__icon, .notice--ok svg) { color: #37623F; }
html[data-dark="true"] :is(.check-item.is-warn .check-item__icon, .notice--warn svg, .food-callout svg) { color: #8A5A0C; }
html[data-dark="true"] :is(.check-item.is-danger .check-item__icon, .notice--danger svg, .timeline__step.is-cancelled .timeline__dot) { color: #A32A1C; }

/* ==== the builder's canvas (the preview frame with ?edit=1) ===================================== */
body.is-editing [data-sid], body.is-editing #gy-header, body.is-editing #gy-footer { cursor: pointer; }
body.is-editing [data-hl] { outline: 2px dashed rgba(31, 79, 140, .75); outline-offset: -2px; }
body.is-editing [data-selected] { outline: 3px solid #1F4F8C; outline-offset: -3px; }
body.is-editing .g-empty { background: repeating-linear-gradient(-45deg, transparent 0 10px, color-mix(in srgb, var(--ink) 4%, transparent) 10px 11px); }

/* ==== class names theme packages use (THEME-SPEC.txt): Gyroid's buttons and type under them ======= */
.btn--primary { --btn-bg: var(--accent); --btn-border: var(--accent); --btn-fg: var(--on-accent); }
.btn--primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: var(--on-accent); }
.btn--secondary { --btn-bg: transparent; --btn-fg: var(--ink); --btn-border: var(--rule-2); }
.btn--secondary:hover { background: var(--surface); border-color: var(--ink); color: var(--ink); }
.gs--custom .actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.gs--custom :is(.h1, .h2) { font-family: var(--f-display); font-weight: var(--d-w); letter-spacing: var(--d-ls); line-height: var(--d-lh); text-transform: var(--d-tt); color: var(--ink); }
.gs--custom .h1 { font-size: calc(clamp(calc(var(--base) * 2.3), calc(var(--base) * 1.05 + 4.9cqi), calc(var(--base) * 5.2)) * var(--d-scale)); }
.gs--custom .h2 { font-size: calc(clamp(calc(var(--base) * 1.7), calc(var(--base) * 1.05 + 2.5cqi), calc(var(--base) * 3)) * var(--d-scale)); }
.gs--custom .gq-panel { display: grid; gap: 10px; justify-items: start; }
.gs--custom .gq-button { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: var(--r-btn); background: var(--accent); color: var(--on-accent); font-weight: 600; }
.gs--custom .gq-note { color: var(--ink-2); font-size: calc(var(--base) * .9); }
.gy a.btn, .gy a.btn:hover { color: var(--btn-fg); }
.gy .g-logo__mark--studio { background: none; color: currentColor; width: 32px; height: 32px; }
.gy .g-logo__mark--studio svg { width: 100%; height: 100%; }
.gy .g-logo__icon { width: 36px; height: 36px; border-radius: calc(var(--r) + 2px); object-fit: cover; flex: none; }

/* ==== any length of name ==========================================================================
   Owners name their own shops (Shop style), up to 60 characters. The logo shrinks and wraps instead
   of pushing the cart and menu off the header, in every layout; long names are set a size smaller. */
.gy .g-logo { flex: 0 1 auto; min-width: 0; max-width: 100%; }
.gy .g-logo__text { min-width: 0; flex-wrap: wrap; row-gap: 2px; }
.gy .g-logo__name { min-width: 0; overflow-wrap: anywhere; }
.gy .g-hd__act, .gy .g-cart, .gy .g-menu, .gy .g-logo__mark, .gy .g-logo__img, .gy .g-logo__est { flex: none; }
.gy .g-logo[data-len="l"] .g-logo__name { font-size: calc(var(--base) * 1.22 * var(--d-scale)); line-height: 1.04; }
.gy .g-logo[data-len="xl"] .g-logo__name { font-size: calc(var(--base) * 1.02 * var(--d-scale)); line-height: 1.1; }
.gy .g-hd[data-size="large"] .g-logo[data-len="l"] .g-logo__name { font-size: calc(var(--base) * 1.9); }
.gy .g-hd[data-size="large"] .g-logo[data-len="xl"] .g-logo__name { font-size: calc(var(--base) * 1.35); }
.gy .g-hd[data-v="marquee"] .g-logo[data-len="l"] .g-logo__name { font-size: calc(var(--base) * 1.8); }
.gy .g-hd[data-v="marquee"] .g-logo[data-len="xl"] .g-logo__name { font-size: calc(var(--base) * 1.3); }
.gy .g-hd[data-v="sign"] .g-logo[data-len="l"] .g-logo__name { font-size: calc(var(--base) * 1.5); }
.gy .g-hd[data-v="sign"] .g-logo[data-len="xl"] .g-logo__name { font-size: calc(var(--base) * 1.15); }
.gy .g-hd[data-v="minimal"] .g-logo__name { font-size: calc(var(--base) * 1); }
.gy .g-hd[data-v="centred"] .g-hd__in { grid-template-columns: minmax(0, 1fr) minmax(0, auto) minmax(max-content, 1fr); }
.gy .g-hd[data-v="centred"] .g-logo__text { text-align: center; }
.gy .g-ft__big { overflow-wrap: anywhere; }
.gy .g-ft__big[data-len="l"] { font-size: calc(clamp(40px, 9cqi, 150px) * var(--d-scale)); line-height: .9; }
.gy .g-ft__big[data-len="xl"] { font-size: calc(clamp(30px, 6cqi, 100px) * var(--d-scale)); line-height: .95; }
.gy .g-ft__name { overflow-wrap: anywhere; }
.gy .g-ft__name[data-len="xl"] { font-size: calc(var(--base) * 1.35 * var(--d-scale)); }
.gy .g-frame__tl { max-width: calc(50% - 44px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: block; }
.gy .g-crt__hud span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gy .g-crt__hud span:nth-child(2) { flex: 0 1 auto; }
@container gy (max-width: 900px) {
  .gy .g-hd[data-v="centred"] .g-hd__in { grid-template-columns: auto minmax(0, 1fr) auto; }
  .gy .g-hd[data-v="marquee"] .g-logo { padding-right: 140px; }
}
@container gy (max-width: 640px) {
  .gy .g-logo[data-len="l"] .g-logo__name { font-size: calc(var(--base) * 1.1 * var(--d-scale)); }
  .gy .g-logo[data-len="xl"] .g-logo__name { font-size: calc(var(--base) * .95 * var(--d-scale)); }
  .gy .g-hd[data-v="marquee"] .g-logo { padding-right: 136px; }
  .gy .g-frame__tl { max-width: calc(100% - 48px); }
}

/* The overlay header (Backlot) sits on the hero when a page starts with one, and is an ordinary header
   everywhere else, so it never covers a Gyroid page's title. (It lives in its own wrapper, which
   would otherwise clip it away.) */
.gy .g-hd[data-v="overlay"] { position: relative; }
body:has(#main > .gy-page > .gs--hero:first-child) .gy-chrome:has(.g-hd[data-v="overlay"]) { height: 0; overflow: visible; }
body:has(#main > .gy-page > .gs--hero:first-child) .gy .g-hd[data-v="overlay"] { position: absolute; inset: 0 0 auto; }

/* ==== layouts (29 September): one page structure per template ==================================
   Every template used to be the same page in different clothes. These are the pieces that let each
   one open differently: new hero compositions, the shop's facts as their own section, three product
   layouts, and three header shapes. Colours come only from the derived tokens, so the contrast
   engine's guarantees hold here too. Desktop rules first; tablet and phone rules close the block. */

/* phones: a hero with one main action and a plain second link, not two stacked buttons */
.gy .g-link2 { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; color: var(--ink); border-bottom: 1px solid var(--rule-2); padding-bottom: 2px; }

/* ---- header: rail (Gallery). A sidebar on wide screens; one quiet line on a phone ---------------- */
.gy .g-hd__facts { display: none; }
@container gy (min-width: 901px) {
  .gy .g-hd[data-v="rail"] .g-hd__in { flex-direction: column; align-items: stretch; gap: 26px; min-height: 100vh; max-width: none; padding: 30px 26px 30px; }
  .gy .g-hd[data-v="rail"] .g-nav { flex-direction: column; align-items: flex-start; gap: 0; margin: 0; }
  .gy .g-hd[data-v="rail"] .g-nav a { padding: 5px 0; font-size: calc(var(--base) * .95); color: var(--ink); }
  .gy .g-hd[data-v="rail"] .g-nav a[aria-current]::after { display: none; }
  .gy .g-hd[data-v="rail"] .g-hd__act { order: 3; }
  .gy .g-hd[data-v="rail"] .g-hd__facts { display: grid; gap: 9px; order: 4; margin-top: auto; padding-top: 18px; border-top: 1px solid var(--rule); font-size: calc(var(--base) * .8); color: var(--ink-2); line-height: 1.4; }
  .gy .g-hd[data-v="rail"] .g-hd__facts li { display: grid; grid-template-columns: 16px minmax(0, 1fr); gap: 8px; align-items: start; }
  .gy .g-hd[data-v="rail"] .g-hd__facts .gi { width: 14px; height: 14px; margin-top: 2px; color: var(--ink-3); }
  .gy .g-hd[data-v="rail"] .g-hd__facts .g-live { margin: 5px 0 0 3px; }
}
.gy .g-hd[data-v="rail"] .g-logo__mark { display: none; }
.gy .g-hd[data-v="rail"] .g-logo__text { flex-direction: column; gap: 2px; }
.gy .g-hd[data-v="rail"] .g-logo__name { font-family: var(--f-text); font-weight: 500; font-size: calc(var(--base) * 1.08); letter-spacing: 0; }
.gy .g-hd[data-v="rail"] .g-logo__desc { font-family: var(--f-label); font-style: italic; text-transform: none; letter-spacing: 0; font-size: calc(var(--base) * .92); color: var(--ink-3); font-weight: 400; }
.gy .g-hd[data-v="rail"] .g-cart { border: 0; padding: 0; height: auto; }
.gy .g-hd[data-v="rail"] .g-cart .gi { display: none; }
.gy .g-hd[data-v="rail"] .g-cart__n { display: inline; height: auto; border: 0; min-width: 0; padding: 0; color: var(--ink); font-family: var(--f-text); font-size: inherit; }
.gy .g-hd[data-v="rail"] .g-cart__n::before { content: '('; } .gy .g-hd[data-v="rail"] .g-cart__n::after { content: ')'; }

/* ---- header: hud (Arcade). The shop's status as a game's status line ---------------------------- */
.gy .g-hd[data-v="hud"] { background: var(--bg); border-bottom: 3px solid var(--accent); box-shadow: 0 3px 0 var(--pop); margin-bottom: 3px; }
.gy .g-hd[data-v="hud"] .g-hd__in { min-height: 64px; gap: 22px; }
.gy .g-hd[data-v="hud"] .g-logo__mark, .gy .g-hd[data-v="hud"] .g-logo__desc { display: none; }
.gy .g-hd[data-v="hud"] .g-logo__name { font-size: calc(var(--base) * 1.5); text-transform: uppercase; letter-spacing: .03em; }
.gy .g-hud { display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 0; min-width: 0; font: 400 calc(var(--base) * .7)/1.3 var(--f-label); text-transform: uppercase; letter-spacing: .05em; color: var(--pop-ink); }
/* the status line gives way before a short name does (a long one still wraps; see the long-name rules) */
.gy .g-hd[data-v="hud"] .g-logo[data-len="m"] { flex-shrink: 0; }
.gy .g-hud span { display: inline-flex; align-items: center; gap: 8px; }
.gy .g-hud span + span::before { content: '·'; margin-right: 10px; color: var(--ink-3); }
.gy .g-hd[data-v="hud"] .g-nav a { font-family: var(--f-label); text-transform: uppercase; letter-spacing: .04em; font-size: calc(var(--base) * .74); }
.gy .g-hd[data-v="hud"] .g-nav a[aria-current]::after { display: none; }
.gy .g-hd[data-v="hud"] .g-nav a[aria-current] { color: var(--pop-ink); }
.gy .g-hd[data-v="hud"] .g-cart { border: 2px solid var(--ink); border-radius: 4px; font-family: var(--f-label); text-transform: uppercase; font-size: calc(var(--base) * .72); }

/* ---- header: tab bar on phones (Toybox) ------------------------------------------------------------ */
.gy.g-tabbar { display: none; }

/* ---- facts: the shop's open hours, address and cash rule, as their own section ------------------- */
.gy .gs--facts { padding-block: clamp(18px, 2.6cqi, 32px); }
.gy .g-hourlist { display: grid; gap: 0; font-variant-numeric: tabular-nums; }
.gy .g-hourlist li { display: flex; justify-content: space-between; gap: 18px; padding: 5px 0; border-bottom: 1px dashed var(--rule-2); font-size: calc(var(--base) * .86); }
.gy .g-fstrip { display: flex; flex-wrap: wrap; gap: 8px 28px; font-size: calc(var(--base) * .86); color: var(--ink-2); }
.gy .g-fstrip li { display: inline-flex; align-items: center; gap: 9px; }
.gy .g-fstrip .gi { width: 15px; height: 15px; color: var(--ink-3); }
/* board: the chalkboard by the stall (Market) */
.gy .gs--hero + .gs--facts[data-v="board"] { padding-top: 0; }
.gy .g-chalk { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 16px 44px; align-items: center; background: radial-gradient(ellipse at 18% 20%, color-mix(in srgb, var(--on-band) 7%, var(--band)), var(--band) 62%); color: var(--on-band); border: 9px solid color-mix(in srgb, var(--photo) 58%, var(--ink)); border-radius: 5px; padding: clamp(18px, 2.4cqi, 28px) clamp(18px, 3cqi, 36px); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--on-band) 14%, transparent), 0 14px 26px -18px rgba(0, 0, 0, .55); }
.gy .g-chalk__h { display: flex; align-items: center; gap: 12px; font-family: var(--f-display); font-size: calc(clamp(calc(var(--base) * 1.45), calc(var(--base) + 1.4cqi), calc(var(--base) * 2.1)) * var(--d-scale)); line-height: 1.1; margin-bottom: 10px; }
.gy .g-chalk__l { display: flex; gap: 10px; align-items: flex-start; font-family: var(--f-label); font-size: calc(var(--base) * .86); color: var(--band-soft); margin-top: 6px; }
.gy .g-chalk__l .gi { width: 15px; height: 15px; margin-top: 3px; color: var(--band-accent); }
.gy .g-chalk .g-hourlist li { border-bottom-color: color-mix(in srgb, var(--on-band) 28%, transparent); font-family: var(--f-label); color: var(--on-band); }
/* plaque: an engraved plate under the showcase (Tabletop) */
.gy .g-plaque { position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 26px; width: fit-content; max-width: 100%; margin: 0 auto; padding: 13px 34px; border: 1px solid var(--accent-line); outline: 1px solid var(--accent-line); outline-offset: 4px; font-family: var(--f-label); font-weight: var(--l-w); letter-spacing: .06em; font-size: calc(var(--base) * .9); color: var(--ink-2); text-align: center; background: color-mix(in srgb, var(--accent) 5%, var(--bg)); }
.gy .g-plaque::before, .gy .g-plaque::after { content: ''; position: absolute; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: var(--accent-line); }
.gy .g-plaque::before { left: 11px; } .gy .g-plaque::after { right: 11px; }
/* ticker: a line that runs under the header (Toybox) */
.gy .gs--facts[data-v="ticker"] { padding: 0; background: var(--band); color: var(--on-band); overflow: hidden; }
.gy .g-ticker__track { display: flex; width: max-content; margin: 0; padding-block: 9px; font: 600 calc(var(--base) * .86)/1.2 var(--f-display); white-space: nowrap; animation: gy-tick 42s linear infinite; }
.gy .g-ticker__run { display: flex; align-items: center; gap: 18px; padding-right: 18px; }
.gy .g-ticker__run i { font-style: normal; color: var(--band-accent); }
@keyframes gy-tick { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .gy .g-ticker__track { animation: none; width: auto; white-space: normal; justify-content: center; } .gy .g-ticker__run { flex-wrap: wrap; justify-content: center; padding-inline: 16px; } .gy .g-ticker__run + .g-ticker__run { display: none; } }
/* billing: the credits under a film poster (Backlot) */
.gy .gs--facts[data-v="billing"] { padding-block: clamp(18px, 2.4cqi, 30px) clamp(24px, 3cqi, 40px); border-bottom: 1px solid var(--rule); }
.gy .g-billing { display: grid; justify-items: center; gap: 4px; text-align: center; text-transform: uppercase; color: var(--ink); font-family: var(--f-display); line-height: 1; }
.gy .g-billing i { font-family: var(--f-label); font-style: normal; font-size: calc(var(--base) * .62); letter-spacing: .14em; color: var(--ink-3); vertical-align: .32em; margin-inline: 4px; }
.gy .g-billing__top { font-size: calc(var(--base) * 1.35); letter-spacing: .04em; }
.gy .g-billing__names { font-size: calc(clamp(calc(var(--base) * 1.5), calc(var(--base) + 1.6cqi), calc(var(--base) * 2.4))); letter-spacing: .03em; }
.gy .g-billing__names b { font-weight: 400; }
.gy .g-billing__fine { display: flex; flex-wrap: wrap; justify-content: center; gap: 2px 14px; margin-top: 8px; font: 600 calc(var(--base) * .72)/1.3 var(--f-label); letter-spacing: .12em; color: var(--ink-2); }
.gy .g-billing__fine span + span::before { content: '·'; margin-right: 14px; color: var(--accent-ink); }
/* sign: the sign on the door, with the week's hours (Hardware) */
.gy .gs--facts[data-v="sign"] { padding-block: clamp(22px, 3cqi, 40px) 0; }
.gy .g-door { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 20px clamp(24px, 4cqi, 56px); align-items: start; }
.gy .g-door__hang { display: none; }
.gy .g-door__sign { position: relative; margin: 34px 0 6px 6px; min-width: 170px; max-width: 220px; background: var(--surface); color: var(--accent-ink); border: 3px solid var(--accent-ink); border-radius: 10px; box-shadow: inset 0 0 0 4px var(--surface), inset 0 0 0 5px var(--accent-ink), 0 10px 16px -10px rgba(0, 0, 0, .45); padding: 16px 22px 14px; text-align: center; transform: rotate(-2.5deg); transform-origin: 50% -30px; display: grid; gap: 2px; }
.gy .g-door__sign::before { content: ''; position: absolute; left: 50%; top: -32px; width: 64%; height: 30px; transform: translateX(-50%); background: linear-gradient(to top right, transparent calc(50% - 1px), var(--ink-2) calc(50% - .5px), var(--ink-2) calc(50% + .5px), transparent calc(50% + 1px)) left / 50% 100% no-repeat, linear-gradient(to top left, transparent calc(50% - 1px), var(--ink-2) calc(50% - .5px), var(--ink-2) calc(50% + .5px), transparent calc(50% + 1px)) right / 50% 100% no-repeat; }
.gy .g-door__sign::after { content: ''; position: absolute; left: 50%; top: -37px; width: 9px; height: 9px; margin-left: -4.5px; border-radius: 50%; background: var(--ink-2); }
.gy .g-door__sign b { font: 700 calc(var(--base) * 2.5)/1 var(--f-display); text-transform: uppercase; letter-spacing: .05em; }
.gy .g-door__sign small { font-weight: 600; font-size: calc(var(--base) * .9); color: var(--ink-2); }
.gy .g-door__info { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 4px 32px; align-content: start; }
.gy .g-door__h { grid-column: 1 / -1; font-family: var(--f-label); font-weight: var(--l-w); text-transform: var(--l-tt); letter-spacing: var(--l-ls); font-size: calc(var(--base) * var(--l-size)); color: var(--ink-2); margin-bottom: 4px; }
.gy .g-door__info .g-hourlist { grid-row: span 3; }
.gy .g-door__l { display: flex; gap: 10px; align-items: flex-start; font-size: calc(var(--base) * .88); color: var(--ink); padding-top: 5px; }
.gy .g-door__l .gi { width: 16px; height: 16px; margin-top: 2px; color: var(--accent-ink); }
/* stamp: a round rubber stamp that overlaps the field above it (Grove) */
.gy .gs--hero + .gs--facts[data-v="stamp"] { margin-top: calc(-1 * clamp(58px, 6.4cqi, 80px)); padding: 0; position: relative; z-index: 2; pointer-events: none; }
.gy .g-stampw { display: flex; }
.gy .g-rstamp { position: relative; width: clamp(116px, 12cqi, 156px); aspect-ratio: 1; transform: rotate(-9deg); color: var(--accent-ink); }
.gy .g-rstamp svg { width: 100%; height: 100%; display: block; overflow: visible; }
.gy .g-rstamp circle { fill: none; stroke: currentColor; stroke-width: 2.4; }
.gy .g-rstamp circle:first-of-type { fill: var(--surface); stroke-width: 3.2; }
.gy .g-rstamp text { fill: currentColor; font: 700 14.5px var(--f-label); letter-spacing: .06em; }
.gy .g-rstamp__c { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; line-height: 1.02; }
.gy .g-rstamp__c b { font: var(--d-w) calc(var(--base) * 1.3)/1 var(--f-display); letter-spacing: var(--d-ls); }
.gy .g-rstamp__c span { font-size: calc(var(--base) * .74); font-weight: 600; }

/* ---- hero: tool (Module). The quote tool, split screen --------------------------------------------- */
.gy .gs--hero[data-v="tool"] { padding-block: clamp(20px, 3cqi, 40px) clamp(36px, 5cqi, 72px); }
.gy .g-tool { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); grid-template-areas: "view head" "view form"; grid-template-rows: auto 1fr; gap: 18px clamp(24px, 3.2cqi, 44px); align-items: start; }
.gy .g-tool__head { grid-area: head; }
.gy .g-tool__head .g-h1 { font-size: calc(clamp(calc(var(--base) * 1.95), calc(var(--base) * .9 + 2.4cqi), calc(var(--base) * 3.1)) * var(--d-scale) * var(--k)); margin: 0 0 10px; max-width: 12em; }
.gy .g-tool__lede { color: var(--ink-2); font-size: calc(var(--base) * .92); max-width: 34em; }
.gy .g-tool__view { grid-area: view; display: grid; gap: 10px; }
.gy .g-tool__stage { position: relative; background: var(--photo); border: 1px solid var(--rule); border-radius: var(--r-card); aspect-ratio: 16 / 12.4; overflow: hidden; display: grid; place-items: center; }
.gy[data-orn="crosshair"] .g-tool__stage::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(color-mix(in srgb, var(--ink) 16%, transparent) 1px, transparent 1.4px); background-size: 16px 16px; opacity: .5; }
.gy .g-tool__stage > img { position: relative; width: 58%; margin-top: 4%; }
.gy .g-tool__file { position: absolute; top: 14px; left: 14px; z-index: 1; display: grid; background: var(--surface); border: 1px solid var(--rule); border-radius: var(--r); padding: 7px 11px; font-size: calc(var(--base) * .84); line-height: 1.3; }
.gy .g-tool__file span { font: 400 calc(var(--base) * .68) var(--f-label); color: var(--ink-3); font-variation-settings: var(--l-fvs); }
.gy .g-tool__eg { position: absolute; top: 14px; right: 14px; z-index: 1; font: 400 calc(var(--base) * .68) var(--f-label); color: var(--ink-2); background: var(--surface); border: 1px solid var(--rule); border-radius: var(--r); padding: 4px 8px; font-variation-settings: var(--l-fvs); }
.gy .g-tool__dims { position: absolute; left: 14px; bottom: 14px; display: flex; background: var(--surface); border: 1px solid var(--rule); border-radius: var(--r); font: 400 calc(var(--base) * .72) var(--f-label); color: var(--ink-3); font-variation-settings: var(--l-fvs); }
.gy .g-tool__dims span { padding: 6px 10px; } .gy .g-tool__dims span + span { border-left: 1px solid var(--rule); } .gy .g-tool__dims b { color: var(--ink); font-weight: 500; }
.gy .g-tool__drop { display: flex; align-items: center; gap: 14px; padding: 13px 16px; border: 1.5px dashed var(--rule-2); border-radius: var(--r-card); background: var(--surface); color: var(--ink-2); font-size: calc(var(--base) * .86); }
.gy .g-tool__drop .gi { width: 26px; height: 26px; color: var(--accent-ink); stroke-width: 1.4; }
.gy .g-tool__drop span { display: grid; } .gy .g-tool__drop b { color: var(--ink); font-size: calc(var(--base) * 1); }
.gy .g-tool__form { grid-area: form; display: grid; gap: 16px; background: var(--surface); border: 1px solid var(--rule); border-radius: var(--r-card); padding: clamp(16px, 1.8cqi, 22px); }
.gy .g-tool__lab { display: flex; justify-content: space-between; gap: 10px; font-weight: 600; font-size: calc(var(--base) * .84); margin-bottom: 8px; }
.gy .g-tool__lab u, .gy .g-tool__lab span { font-weight: 400; color: var(--ink-2); text-underline-offset: .2em; }
.gy .g-tool__mats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.gy .g-tool__mat { display: grid; gap: 1px; padding: 7px 8px; border: 1px solid var(--rule-2); border-radius: var(--r); font-size: calc(var(--base) * .82); }
.gy .g-tool__mat small { font: 400 calc(var(--base) * .66) var(--f-label); color: var(--ink-3); font-variation-settings: var(--l-fvs); }
.gy .g-tool__mat.on { border: 2px solid var(--ink); padding: 6px 7px; }
.gy .g-tool__row--split { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; }
.gy .g-tool__row .g-swatch { width: 26px; height: 26px; }
.gy .g-tool__row .g-qty { height: 38px; grid-template-columns: 34px 38px 34px; }
.gy .g-tool__est { background: var(--surface-2); border-radius: var(--r); padding: 14px 16px; display: grid; gap: 8px; }
.gy .g-tool__total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; color: var(--ink-2); font-size: calc(var(--base) * .88); }
.gy .g-tool__total strong { font: var(--d-w) calc(var(--base) * 2.3)/1 var(--f-display); color: var(--ink); letter-spacing: -.01em; font-variant-numeric: lining-nums tabular-nums; font-variation-settings: var(--d-fvs); }
.gy .g-tool__est dl { display: grid; gap: 3px; font-size: calc(var(--base) * .78); color: var(--ink-2); }
.gy .g-tool__est dl div { display: flex; justify-content: space-between; gap: 10px; } .gy .g-tool__est dd { font-variant-numeric: tabular-nums; }
.gy .g-tool__form .g-actions .g-btn { width: 100%; }
.gy .g-tool__note { font-size: calc(var(--base) * .76); color: var(--ink-3); }

/* ---- hero: stall (Market). Products on a plank under an awning -------------------------------------- */
.gy .gs--hero[data-v="stall"] { padding: 0 0 clamp(28px, 4cqi, 60px); overflow: visible; }
.gy .g-awning { height: 32px; background: repeating-linear-gradient(90deg, var(--pop) 0 30px, var(--surface) 30px 60px); -webkit-mask: linear-gradient(#000 0 0) top / 100% 17px no-repeat, radial-gradient(circle 15px at 15px 17px, #000 98%, transparent 100%) 0 0 / 30px 32px repeat-x; mask: linear-gradient(#000 0 0) top / 100% 17px no-repeat, radial-gradient(circle 15px at 15px 17px, #000 98%, transparent 100%) 0 0 / 30px 32px repeat-x; filter: drop-shadow(0 2px 1px rgba(0, 0, 0, .12)); }
.gy .g-stall { --gut: clamp(16px, 4.4cqi, 56px); }
.gy .g-stall__shelf { position: relative; padding-top: clamp(22px, 3cqi, 40px); }
.gy .g-stall__row { display: flex; align-items: flex-end; gap: clamp(10px, 2.2cqi, 34px); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-inline: max(var(--gut), calc((100cqi - 1320px) / 2)); scroll-padding-inline: max(var(--gut), calc((100cqi - 1320px) / 2)); }
.gy .g-stall__row::-webkit-scrollbar { display: none; }
.gy .g-stall__shelf::after { content: ''; display: block; height: 15px; background: linear-gradient(color-mix(in srgb, var(--photo) 78%, var(--surface)) 0 3px, color-mix(in srgb, var(--photo) 62%, var(--ink)) 3px 100%); box-shadow: 0 10px 14px -10px rgba(0, 0, 0, .45); }
.gy .g-stall__item { position: relative; flex: 0 0 clamp(120px, 14.4cqi, 196px); scroll-snap-align: start; color: var(--ink); }
.gy .g-stall__img { display: block; overflow: hidden; }
.gy .g-stall__img img { width: 100%; margin-bottom: calc((var(--floor) - 100) * 1.25%); }
.gy .g-stall__item:nth-child(2n) .g-stall__img img { width: 88%; margin-inline: auto; margin-bottom: calc((var(--floor) - 100) * 1.1%); }
.gy .g-stall__item .g-tag { position: absolute; top: 4%; right: -4px; z-index: 1; }
.gy .g-stall__item--still { flex-basis: clamp(300px, 46cqi, 620px); }
.gy .g-stall__item--still .g-stall__img img { margin-bottom: calc((var(--floor) - 100) * .75%); }
.gy .g-stall__words { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 14px clamp(28px, 4cqi, 64px); align-items: end; padding-top: clamp(26px, 3.6cqi, 52px); }
.gy .g-stall__words .g-h1 { font-size: calc(clamp(calc(var(--base) * 2.1), calc(var(--base) + 3.4cqi), calc(var(--base) * 4.4)) * var(--d-scale) * var(--k)); max-width: 11em; }
.gy .g-stall__words .g-lede { font-size: calc(var(--base) * 1.02); margin-bottom: 18px; }

/* ---- hero: showcase (Tabletop). One piece under a spotlight --------------------------------------- */
.gy .gs--hero[data-v="showcase"] { padding: 0; }
.gy .g-show { position: relative; padding-block: clamp(26px, 4cqi, 60px) clamp(30px, 4.4cqi, 64px); background: radial-gradient(ellipse 34% 62% at 50% 44%, color-mix(in srgb, var(--accent) 17%, var(--photo)) 0%, var(--photo) 58%, var(--bg) 100%); }
.gy .g-show::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: conic-gradient(from 162deg at 50% -8%, transparent 0deg, color-mix(in srgb, var(--ink) 7%, transparent) 18deg, transparent 36deg); }
.gy .g-show__in { position: relative; display: grid; grid-template-columns: minmax(0, 3.2fr) minmax(0, 5fr) minmax(0, 3.4fr); grid-template-areas: "copy stage card"; gap: clamp(20px, 3cqi, 48px); align-items: center; }
.gy .g-show__copy { grid-area: copy; }
.gy .g-show__copy .g-h1 { font-size: calc(clamp(calc(var(--base) * 1.7), calc(var(--base) + 2.1cqi), calc(var(--base) * 3)) * var(--d-scale)); margin-bottom: 16px; }
.gy .g-show__lede { color: var(--ink-2); font-size: calc(var(--base) * .94); margin-bottom: 18px; }
.gy .g-show__stage { grid-area: stage; position: relative; margin: 0; aspect-ratio: 1; display: grid; place-items: center; border: 1px solid var(--accent-line); outline: 1px solid var(--accent-line); outline-offset: -10px; }
.gy .g-show__stage::after { content: ''; position: absolute; left: 20%; right: 20%; bottom: 13%; height: 12%; background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 30%, transparent), transparent); pointer-events: none; }
.gy .g-show__stage img { position: relative; z-index: 1; width: 96%; }
.gy .g-show__stage .g-br { border-color: var(--accent); width: 22px; height: 22px; }
.gy .g-show__stage .g-br--tl { top: -1px; left: -1px; border-width: 3px 0 0 3px; } .gy .g-show__stage .g-br--tr { top: -1px; right: -1px; border-width: 3px 3px 0 0; }
.gy .g-show__stage .g-br--bl { bottom: -1px; left: -1px; border-width: 0 0 3px 3px; } .gy .g-show__stage .g-br--br { bottom: -1px; right: -1px; border-width: 0 3px 3px 0; }
.gy .g-show__card { grid-area: card; display: grid; gap: 10px; }
.gy .g-show__cat { font-family: var(--f-label); font-weight: var(--l-w); letter-spacing: var(--l-ls); font-size: calc(var(--base) * .86); color: var(--ink-2); }
.gy .g-show__name { font-family: var(--f-display); font-weight: var(--d-w); font-size: calc(clamp(calc(var(--base) * 2.5), calc(var(--base) + 3.4cqi), calc(var(--base) * 4.2)) * var(--d-scale)); line-height: .92; color: var(--accent-ink); letter-spacing: var(--d-ls); }
.gy .g-show__sum { color: var(--ink-2); font-size: calc(var(--base) * .94); }
.gy .g-show__stats { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--accent-line); margin-top: 4px; }
.gy .g-show__stats div { padding: 8px 0; border-bottom: 1px solid var(--accent-line); }
.gy .g-show__stats div:nth-child(2n) { padding-left: 12px; border-left: 1px solid var(--accent-line); }
.gy .g-show__stats dt { font-family: var(--f-label); letter-spacing: .06em; font-size: calc(var(--base) * .78); color: var(--ink-3); }
.gy .g-show__stats dd { font-size: calc(var(--base) * .92); }
.gy .g-show__buy { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 6px; }
.gy .g-show__price { font: var(--d-w) calc(var(--base) * 1.9)/1 var(--f-display); color: var(--accent-ink); white-space: nowrap; }
.gy .g-show__price small { font: 400 calc(var(--base) * .8) var(--f-text); color: var(--ink-3); margin-right: 4px; }

/* ---- hero: bleed (Gallery). The picture edge to edge, the words a wall label under it --------------- */
.gy .gs--hero[data-v="bleed"] { padding: 0 0 clamp(36px, 5cqi, 80px); }
.gy .g-bleed { margin: 0; }
.gy .g-bleed__img { position: relative; aspect-ratio: 16 / 9.4; overflow: hidden; background: linear-gradient(var(--photo) 0 63%, color-mix(in srgb, var(--photo) 91%, var(--ink)) 63% 100%); }
.gy .g-bleed__img img { position: absolute; width: 104%; left: -2%; bottom: -12%; }
.gy .g-bleed__cap { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 16px; padding-top: 14px; font-size: calc(var(--base) * .84); color: var(--ink-3); }
.gy .g-bleed__cap em { font-family: var(--f-label); font-style: italic; font-size: calc(var(--base) * 1.02); color: var(--ink); }
.gy .g-bleed__words { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 14px clamp(24px, 4cqi, 64px); padding-top: clamp(26px, 3.4cqi, 44px); align-items: start; }
.gy .g-bleed__words .g-h1 { font-size: calc(clamp(calc(var(--base) * 1.55), calc(var(--base) + 1.6cqi), calc(var(--base) * 2.4)) * var(--k)); font-weight: 300; max-width: 14em; line-height: 1.08; }
.gy .g-bleed__words p { color: var(--ink-2); font-size: calc(var(--base) * .94); max-width: 34em; margin-bottom: 18px; }

/* ---- hero: carousel (Toybox). Big sticker cards, one at a time ------------------------------------- */
.gy .gs--hero[data-v="carousel"] { padding-block: clamp(22px, 3.2cqi, 48px) clamp(34px, 4.4cqi, 64px); }
.gy .g-car__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: clamp(16px, 2.2cqi, 28px); }
.gy .g-car__head .g-h1 { font-size: calc(clamp(calc(var(--base) * 2), calc(var(--base) + 3cqi), calc(var(--base) * 3.8)) * var(--d-scale) * var(--k)); max-width: 12em; }
.gy .g-car__nav { display: flex; gap: 12px; flex: none; }
.gy .g-car__btn { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; background: var(--surface); color: var(--ink); border: 2px solid var(--ink); box-shadow: 3px 3px 0 var(--ink); }
.gy .g-car__btn .gi { width: 22px; height: 22px; stroke-width: 2.2; }
.gy .g-car { --gut: clamp(16px, 4.4cqi, 56px); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-block: 4px 12px; }
.gy .g-car::-webkit-scrollbar { display: none; }
.gy .g-car__track { display: flex; gap: clamp(14px, 1.8cqi, 24px); width: max-content; padding-inline: max(var(--gut), calc((100cqi - 1320px) / 2)); }
.gy .g-car__slide { flex: 0 0 clamp(250px, 27cqi, 360px); scroll-snap-align: start; scroll-margin-left: var(--gut); display: flex; flex-direction: column; background: var(--surface); color: var(--ink); border: 2px solid var(--ink); border-radius: var(--r-card); overflow: hidden; box-shadow: 5px 5px 0 var(--ink); }
.gy .g-car__img { display: grid; place-items: center; aspect-ratio: 1; border-bottom: 2px solid var(--ink); background: #CFEAF7; }
.gy .g-car__slide[data-i="1"] .g-car__img { background: #FFE3A3; } .gy .g-car__slide[data-i="2"] .g-car__img { background: #CDEDD5; } .gy .g-car__slide[data-i="3"] .g-car__img { background: #FFD5C9; }
.gy .g-car__img img { width: 86%; }
.gy .g-car__body { display: grid; gap: 4px; padding: 14px 16px 16px; }
.gy .g-car__name { font: 600 calc(var(--base) * 1.3)/1.15 var(--f-display); }
.gy .g-car__row { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.gy .g-car__price { font-weight: 800; font-size: calc(var(--base) * 1.15); }
.gy .g-car__price small { font-weight: 500; font-size: .76em; color: var(--ink-3); margin-right: 3px; }
.gy .g-car__stock { font-size: calc(var(--base) * .82); color: var(--ink-2); }
.gy .g-car__foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 16px; }
.gy .g-car__dots { display: flex; gap: 8px; }
.gy .g-car__dots i { width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--ink); }
.gy .g-car__dots i.on { background: var(--ink); width: 26px; border-radius: 6px; }

/* ---- hero: room (Nest). Shop the picture -------------------------------------------------------------- */
.gy .g-room { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 5.6fr); grid-template-areas: "art head" "art list" "art rest"; grid-template-rows: auto auto 1fr; gap: 0 clamp(28px, 5cqi, 88px); align-items: start; }
.gy .g-room__head { grid-area: head; padding-top: clamp(8px, 3cqi, 48px); }
.gy .g-room__head .g-h1 { font-size: calc(clamp(calc(var(--base) * 2.1), calc(var(--base) + 3.2cqi), calc(var(--base) * 4)) * var(--k)); margin-bottom: clamp(20px, 2.6cqi, 36px); max-width: 10em; }
.gy .g-room__art { grid-area: art; margin: 0; }
.gy .g-room__arch { position: relative; aspect-ratio: 4 / 5; border-radius: 999px 999px var(--r-img) var(--r-img); overflow: hidden; background: linear-gradient(var(--photo) 0 70%, color-mix(in srgb, var(--photo) 90%, var(--ink)) 70% 100%); }
.gy .g-room__stage { position: absolute; left: -20%; width: 140%; bottom: 1%; aspect-ratio: 4 / 3; }
.gy .g-room__stage img { width: 100%; }
.gy .g-pin { position: absolute; transform: translate(-50%, -50%); width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); color: var(--ink); border: 1px solid var(--ink); font: 600 13px/1 var(--f-text); box-shadow: 0 0 0 4px color-mix(in srgb, var(--surface) 45%, transparent), 0 3px 8px -3px rgba(0, 0, 0, .5); }
.gy .g-room__list { grid-area: list; }
.gy .g-room__lab { font-family: var(--f-label); font-weight: var(--l-w); letter-spacing: var(--l-ls); font-size: calc(var(--base) * .84); color: var(--ink-3); margin-bottom: 6px; }
.gy .g-room__list ol { border-top: 1px solid var(--rule-2); }
.gy .g-room__list a { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--rule); color: var(--ink); }
.gy .g-room__n { width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--ink); display: grid; place-items: center; font: 600 12px/1 var(--f-text); }
.gy .g-room__name { font-family: var(--f-display); font-size: calc(var(--base) * 1.14); font-variation-settings: var(--d-fvs); }
.gy .g-room__price { color: var(--ink-2); font-variant-numeric: tabular-nums; }
.gy .g-room__price small { color: var(--ink-3); margin-right: 3px; }
.gy .g-room__rest { grid-area: rest; padding-top: 22px; }
.gy .g-room__rest .g-lede { margin-bottom: 22px; font-size: calc(var(--base) * 1); }

/* ---- hero: feature (Backlot). A film poster: the title on the picture ------------------------------ */
.gy .gs--hero[data-v="feature"] { padding: 0; }
.gy .g-feat { position: relative; min-height: clamp(560px, 54cqi, 720px); display: grid; align-items: end; overflow: hidden; background: radial-gradient(ellipse 50% 62% at 68% 42%, color-mix(in srgb, var(--ink) 11%, var(--photo)), var(--photo) 58%, var(--bg) 100%); }
.gy .g-feat__img { position: absolute; right: 1%; top: 13%; width: 56%; }
.gy .g-feat::after { content: ''; position: absolute; inset: 46% 0 0; background: linear-gradient(transparent, color-mix(in srgb, var(--bg) 88%, transparent)); pointer-events: none; }
.gy .g-feat .g-br { border-color: color-mix(in srgb, var(--ink) 55%, transparent); width: 28px; height: 28px; z-index: 1; }
.gy .g-feat .g-br--tl { top: 88px; left: 26px; } .gy .g-feat .g-br--tr { top: 88px; right: 26px; } .gy .g-feat .g-br--bl { bottom: 22px; left: 26px; } .gy .g-feat .g-br--br { bottom: 22px; right: 26px; }
.gy .g-feat__in { position: relative; z-index: 2; padding-block: 120px clamp(34px, 4.6cqi, 60px); }
.gy .g-feat__in .g-h1 { font-size: calc(clamp(calc(var(--base) * 4), calc(var(--base) + 8.6cqi), calc(var(--base) * 9.6)) * var(--k)); line-height: .84; max-width: 6.4em; margin-bottom: 26px; }
.gy .g-feat__in .g-actions { gap: 12px; }

/* ---- hero: story (Grove). The maker's story on a field of the shop's colour ----------------------- */
.gy .gs--hero[data-v="story"] { padding: 0 0 clamp(52px, 6cqi, 88px); overflow: visible; --page-ink: var(--ink); --page-ink-2: var(--ink-2); }
.gy .g-sfield { background: var(--band); color: var(--on-band); padding-top: clamp(36px, 6.4cqi, 100px); --ink: var(--on-band); --ink-2: var(--band-soft); --ink-3: var(--band-soft); --rule: color-mix(in srgb, var(--on-band) 20%, transparent); --rule-2: color-mix(in srgb, var(--on-band) 46%, transparent); --accent: var(--on-band); --on-accent: var(--band); --accent-hover: color-mix(in srgb, var(--on-band) 88%, var(--band)); --accent-ink: var(--band-accent); }
.gy .g-sfield__in { display: grid; grid-template-columns: minmax(0, 6.4fr) minmax(0, 5fr); gap: 28px clamp(28px, 5cqi, 80px); align-items: end; }
.gy .g-sfield__words { padding-bottom: clamp(40px, 5cqi, 80px); }
.gy .g-sfield .g-h1 { color: var(--on-band); font-size: calc(clamp(calc(var(--base) * 2.6), calc(var(--base) + 5.4cqi), calc(var(--base) * 6.2)) * var(--k)); margin-bottom: clamp(18px, 2.4cqi, 30px); max-width: 9.6em; }
.gy[data-em="accent"] .g-sfield .g-h1 em { color: var(--band-accent); }
.gy .g-sfield__text { color: var(--band-soft); font-size: calc(var(--base) * 1.1); max-width: 30em; margin-bottom: 26px; }
.gy .g-sfield__sill { display: flex; justify-content: flex-end; align-items: flex-end; gap: clamp(10px, 2cqi, 28px); }
.gy .g-sfield__piece { position: relative; flex: 0 1 33%; min-width: 0; display: block; }
.gy .g-sfield__piece img { width: 100%; margin-bottom: calc((var(--floor) - 100) * 1.25%); }
.gy .g-sfield__piece { overflow: visible; }
.gy .g-sfield__piece span { position: absolute; top: calc(100% + 10px); left: 0; right: 0; text-align: center; font-size: calc(var(--base) * .8); color: var(--page-ink-2); }

/* ---- hero: title (Arcade). A title screen ------------------------------------------------------------ */
.gy .g-title { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 22px clamp(24px, 4cqi, 64px); align-items: center; }
.gy .g-title__logo { margin: 0 0 6px; color: #F4F1E8; }
.gy .g-title__logo span { display: block; font: 700 calc(clamp(calc(var(--base) * 3.3), calc(var(--base) + 6.6cqi), calc(var(--base) * 7.4))) / .92 var(--f-display); text-transform: uppercase; letter-spacing: .02em; text-shadow: .06em .06em 0 var(--accent), .12em .12em 0 color-mix(in srgb, var(--pop) 70%, transparent); }
.gy .g-title__logo small { display: block; margin-top: 12px; font: 400 calc(var(--base) * .8) var(--f-label); letter-spacing: .5em; text-transform: uppercase; color: var(--pop); }
.gy .g-title .g-h1 { font: 400 calc(var(--base) * 1.14)/1.35 var(--f-text); letter-spacing: 0; text-transform: none; color: #C9CCE0; margin: 16px 0 6px; }
.gy .g-title .g-h1 em { color: var(--accent); font-style: normal; }
.gy .g-title .g-menu-list { margin-top: 18px; }
.gy .g-title__scores { border: 2px solid color-mix(in srgb, #F4F1E8 28%, transparent); border-radius: 6px; padding: 16px 18px 10px; }
.gy .g-title__st { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font: 400 calc(var(--base) * .86) var(--f-label); text-transform: uppercase; letter-spacing: .08em; color: var(--pop); margin-bottom: 8px; }
.gy .g-title__st small { font: 400 calc(var(--base) * .72) var(--f-text); letter-spacing: 0; text-transform: none; color: #C9CCE0; }
.gy .g-title .g-hiscore { color: #F4F1E8; font-size: calc(var(--base) * .8); max-width: none; }
.gy .g-title .g-hiscore li { padding: 6px 0; grid-template-columns: 46px minmax(0, auto) 1fr auto; }
.gy .g-title__foot { grid-column: 1 / -1; text-align: center; font: 400 calc(var(--base) * .66) var(--f-label); text-transform: uppercase; letter-spacing: .12em; color: #8B90B8; margin-top: 4px; }

/* ---- hero: diptych (Atelier). Two pieces with the words between them --------------------------------- */
.gy .gs--hero[data-v="diptych"] { padding-block: clamp(24px, 4cqi, 64px) clamp(56px, 7cqi, 120px); }
.gy .g-dip { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 3.3fr) minmax(0, 4fr); grid-template-areas: "a words b"; gap: clamp(20px, 3.6cqi, 60px); align-items: center; }
.gy .g-dip__fig { margin: 0; }
.gy .g-dip__fig--a { grid-area: a; margin-bottom: 14%; } .gy .g-dip__fig--b { grid-area: b; margin-top: 14%; }
.gy .g-dip__img { display: grid; place-items: center; aspect-ratio: 3 / 4.3; background: var(--photo); overflow: hidden; }
.gy .g-dip__img img { width: 80%; }
.gy .g-dip__fig figcaption { display: grid; justify-items: center; gap: 2px; padding-top: 16px; text-align: center; }
.gy .g-dip__fig figcaption span:first-child { font-family: var(--f-display); font-size: calc(var(--base) * 1.2); }
.gy .g-dip__fig figcaption span:last-child { font-size: calc(var(--base) * .84); color: var(--ink-2); letter-spacing: .04em; }
.gy .g-dip__words { grid-area: words; display: grid; justify-items: center; text-align: center; gap: 0; }
.gy .g-dip__words .g-h1 { font-size: calc(clamp(calc(var(--base) * 2), calc(var(--base) + 1.7cqi), calc(var(--base) * 2.75)) * var(--k)); margin-bottom: 22px; max-width: 9em; }
.gy .g-dip__words p { color: var(--ink-2); font-size: calc(var(--base) * .96); max-width: 22em; margin-bottom: 26px; }
.gy .g-dip__words .g-actions { justify-content: center; }
.gy .g-dip--still { grid-template-columns: minmax(0, 6fr) minmax(0, 4fr); grid-template-areas: "a words"; }
.gy .g-dip--still .g-dip__fig--a { margin: 0; } .gy .g-dip--still .g-dip__img { aspect-ratio: 4 / 3.4; } .gy .g-dip--still .g-dip__img img { width: 96%; }

/* ---- hero: aisles (Hardware). The aisle directory ---------------------------------------------------- */
.gy .gs--hero[data-v="aisles"] { padding-block: clamp(26px, 3.4cqi, 52px) clamp(36px, 5cqi, 72px); }
.gy .g-aisles { display: grid; grid-template-columns: minmax(0, 4.3fr) minmax(0, 7fr); grid-template-areas: "head list"; gap: 26px clamp(28px, 4cqi, 64px); align-items: start; }
.gy .g-aisles__head { grid-area: head; }
.gy .g-aisles__head .g-h1 { font-size: calc(clamp(calc(var(--base) * 2.1), calc(var(--base) + 3cqi), calc(var(--base) * 4)) * var(--d-scale) * var(--k)); margin-bottom: 18px; }
.gy .g-aisles__head .g-lede { font-size: calc(var(--base) * 1); }
.gy .g-aisles__list { grid-area: list; display: grid; grid-template-columns: 1fr 1fr; gap: 22px 12px; padding-top: 14px; }
.gy .g-aisle { position: relative; display: grid; grid-template-columns: 50px minmax(0, 1fr); grid-template-areas: "n t" "n peg"; gap: 6px 14px; align-items: center; min-height: 100%; padding: 12px 14px; background: var(--ink); color: var(--bg); border-radius: 3px; }
.gy .g-aisle::before { content: ''; position: absolute; left: 22%; right: 22%; top: -14px; height: 14px; border-inline: 2px solid var(--ink-3); }
.gy .g-aisle__n { grid-area: n; align-self: start; width: 50px; height: 50px; display: grid; place-items: center; background: var(--pop); color: var(--on-pop); font: 700 calc(var(--base) * 1.8)/1 var(--f-display); border-radius: 2px; }
.gy .g-aisle__t { grid-area: t; display: grid; gap: 2px; }
.gy .g-aisle__t b { font: 700 calc(var(--base) * 1.12)/1.15 var(--f-display); }
.gy .g-aisle__t small { font-size: calc(var(--base) * .8); color: var(--bg); }
.gy .g-aisle__peg { grid-area: peg; display: flex; gap: 6px; }
.gy .g-aisle__peg span { width: 36px; height: 36px; display: grid; place-items: center; background: var(--surface); border-radius: 2px; overflow: hidden; }
.gy .g-aisle__peg img { width: 94%; }
.gy .g-aisle--counter { background: var(--accent); color: var(--on-accent); }
.gy .g-aisle--counter .g-aisle__n { background: var(--on-accent); color: var(--accent); }
.gy .g-aisle--counter .g-aisle__t small { color: var(--on-accent); }
.gy .g-aisle--counter > .gi { grid-area: peg; width: 22px; height: 22px; }

/* ---- products: catalogue (Stockroom). Category index and the parts table, no hero ----------------- */
.gy .gs--products[data-v="catalogue"] { padding-block: clamp(18px, 2.6cqi, 36px) var(--sp); }
.gy .g-cat { display: grid; grid-template-columns: 224px minmax(0, 1fr); gap: 20px clamp(24px, 3cqi, 44px); align-items: start; }
.gy .g-cat--empty { grid-template-columns: minmax(0, 1fr); }
.gy .g-cat__lab { font: 500 calc(var(--base) * .72) var(--f-label); color: var(--ink-3); margin-bottom: 8px; }
.gy .g-cat__index { border-top: 2px solid var(--ink); }
.gy .g-cat__index li a { display: flex; justify-content: space-between; gap: 10px; padding: 9px 2px; border-bottom: 1px solid var(--rule); font-size: calc(var(--base) * .92); color: var(--ink); }
.gy .g-cat__index li b { font: 500 calc(var(--base) * .76) var(--f-label); color: var(--ink-3); }
.gy .g-cat__index li.on a { font-weight: 600; box-shadow: inset 3px 0 0 var(--accent); padding-left: 10px; }
.gy .g-cat__custom { margin-top: 22px; padding: 14px; background: var(--surface); border: 1px solid var(--rule-2); font-size: calc(var(--base) * .86); color: var(--ink-2); display: grid; gap: 6px; }
.gy .g-cat__custom b { color: var(--ink); }
.gy .g-cat__custom .g-more { margin-top: 4px; }
.gy .g-cat__bar { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; margin-bottom: 12px; }
.gy .g-cat__h { font-family: var(--f-display); font-weight: var(--d-w); text-transform: var(--d-tt); letter-spacing: var(--d-ls); font-size: calc(var(--base) * 2.2 * var(--d-scale)); line-height: 1; }
.gy .g-cat__meta { color: var(--ink-3); font-size: calc(var(--base) * .86); }
.gy .g-cat__sort { margin-left: auto; display: inline-flex; gap: 6px; align-items: center; font-size: calc(var(--base) * .86); color: var(--ink-2); border: 1px solid var(--rule-2); padding: 5px 10px; background: var(--surface); }
.gy .g-cat__sort .gi { width: 14px; height: 14px; }
.gy .g-cat__tabs { display: none; }
.gy .g-cat .g-table__head, .gy .g-cat .g-table__row { grid-template-columns: 52px 72px minmax(0, 2.2fr) minmax(0, 1.5fr) minmax(0, 1fr) 84px 84px; }
.gy .g-cat__all { margin-top: 16px; }
.gy .g-cat--empty .g-drop { min-height: 240px; }

/* ---- products: list (Grove). Each piece with its material passport -------------------------------- */
.gy .g-plist { border-top: 1px solid var(--rule-2); }
.gy .g-prow { display: grid; grid-template-columns: 92px minmax(0, 2.2fr) minmax(0, 1fr) 84px 22px; gap: 22px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--rule); color: var(--ink); }
.gy .g-prow__img { width: 92px; aspect-ratio: 1; background: var(--photo); border-radius: var(--r-img); display: grid; place-items: center; overflow: hidden; }
.gy .g-prow__img img { width: 84%; }
.gy .g-prow__main { display: grid; gap: 4px; min-width: 0; }
.gy .g-prow__name { font-weight: 600; font-size: calc(var(--base) * 1.12); }
.gy .g-prow__pass { display: flex; align-items: center; gap: 7px; font-size: calc(var(--base) * .86); color: var(--accent-ink); }
.gy .g-prow__pass .gi { width: 15px; height: 15px; }
.gy .g-prow__price { font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
.gy .g-prow__price small { font-weight: 400; color: var(--ink-3); margin-right: 3px; }
.gy .g-prow > .gi { color: var(--ink-3); }

/* ---- products: single (Atelier). One piece at a time, very large ----------------------------------- */
.gy .g-singles { display: grid; gap: clamp(56px, 8cqi, 128px); }
.gy .g-one { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 6cqi, 96px); align-items: center; color: var(--ink); }
.gy .g-one[data-side="r"] .g-one__img { order: 2; }
.gy .g-one__img { display: grid; place-items: center; aspect-ratio: 4 / 4.4; background: var(--photo); overflow: hidden; }
.gy .g-one__img img { width: 62%; }
.gy .g-one__txt { display: grid; gap: 12px; justify-items: start; }
.gy .g-one__name { font-family: var(--f-display); font-weight: 400; font-size: calc(clamp(calc(var(--base) * 1.9), calc(var(--base) + 2.2cqi), calc(var(--base) * 3)) * var(--k)); line-height: 1.02; }
.gy .g-one__sum { color: var(--ink-2); max-width: 24em; }
.gy .g-one__price { font-weight: 300; letter-spacing: .04em; color: var(--ink-2); }
.gy .g-one__go { font-family: var(--f-label); font-weight: var(--l-w); text-transform: var(--l-tt); letter-spacing: var(--l-ls); font-size: calc(var(--base) * .72); border-bottom: 1px solid var(--ink); padding-bottom: 3px; margin-top: 8px; }
.gy .gs--products[data-v="single"] .g-head { display: block; text-align: center; margin-bottom: clamp(36px, 5cqi, 72px); }
.gy .gs--products[data-v="single"] .g-head .g-more { display: none; }

/* ---- quote: line (Gallery, Stockroom). One quiet line ---------------------------------------------- */
.gy .gs--quote[data-v="line"] { padding-block: clamp(24px, 3cqi, 44px); }
.gy .g-qline { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 36px; padding-block: 18px; border-block: 1px solid var(--rule-2); }
.gy .g-qline__t { display: grid; gap: 2px; max-width: 40em; color: var(--ink-2); }
.gy .g-qline__t b { color: var(--ink); font-weight: 600; font-size: calc(var(--base) * 1.08); }
.gy .g-qline__drop { display: inline-flex; align-items: center; gap: 12px; padding: 12px 18px; border: 1.5px dashed var(--rule-2); border-radius: var(--r-card); color: var(--ink-2); font-size: calc(var(--base) * .92); }
.gy .g-qline__drop b { color: var(--ink); }
.gy .g-qline__drop .gi { width: 22px; height: 22px; color: var(--ink); }
.gy .gs--quote[data-v="line"][data-bgk="band"] .g-qline { border-block-color: transparent; }

/* ---- visit: centred (Atelier) --------------------------------------------------------------------- */
.gy .g-visitc { max-width: 34em; margin-inline: auto; display: grid; justify-items: center; gap: 16px; text-align: center; color: var(--ink-2); }
.gy .g-visitc .g-h2 { margin-bottom: 4px; }
.gy .g-visitc__addr { color: var(--ink); line-height: 1.5; }
.gy .g-visitc__hours { width: min(100%, 22em); border-top: 1px solid var(--rule); }
.gy .g-visitc__hours li { display: flex; justify-content: space-between; gap: 24px; padding: 7px 0; border-bottom: 1px solid var(--rule); font-variant-numeric: tabular-nums; }
.gy .g-visitc__cash { font-family: var(--f-label); font-weight: var(--l-w); text-transform: var(--l-tt); letter-spacing: var(--l-ls); font-size: calc(var(--base) * .7); color: var(--ink-2); }
.gy[data-t="nest"] .g-visit { border: 0; background: var(--surface); border-radius: var(--r-card); }
.gy[data-t="nest"] .g-hours { border-top-width: 1px; }

/* ---- tablet ----------------------------------------------------------------------------------------- */
@container gy (max-width: 900px) {
  .gy .g-tool { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "view" "form"; }
  .gy .g-show__in { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "copy copy" "stage card"; }
  .gy .g-stall__words, .gy .g-bleed__words, .gy .g-sfield__in, .gy .g-title { grid-template-columns: minmax(0, 1fr); }
  .gy .g-room { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "head head" "art list" "rest rest"; }
  .gy .g-dip { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "words words" "a b"; }
  .gy .g-dip__words { margin-bottom: 16px; }
  .gy .g-aisles { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "list"; }
  .gy .g-cat { grid-template-columns: minmax(0, 1fr); }
  .gy .g-cat__side { display: none; }
  .gy .g-cat__tabs { display: block; overflow-x: auto; scrollbar-width: none; margin: 0 0 12px; border-bottom: 1px solid var(--rule-2); }
  .gy .g-cat__tablist { display: flex; width: max-content; }
  .gy .g-cat__tablist a { display: flex; gap: 6px; padding: 9px 12px 8px; font-size: calc(var(--base) * .86); color: var(--ink-2); white-space: nowrap; }
  .gy .g-cat__tablist b { font-weight: 400; color: var(--ink-3); }
  .gy .g-cat__tablist li.on a { color: var(--ink); font-weight: 600; box-shadow: inset 0 -3px 0 var(--accent); }
  .gy .g-cat .g-table__head, .gy .g-cat .g-table__row { grid-template-columns: 52px 72px minmax(0, 2.4fr) minmax(0, 1.2fr) 84px 80px; }
  .gy .g-cat .g-table__size, .gy .g-cat .g-table__head span:nth-child(4) { display: none; }
  .gy .g-feat__img { width: 74%; right: -6%; top: 14%; }
  .gy .g-door__info { grid-template-columns: minmax(0, 1fr); }
  .gy .g-door__info .g-hourlist { grid-row: auto; }
}

/* ---- phone (360–640) ---------------------------------------------------------------------------------- */
@container gy (max-width: 640px) {
  /* one main button and a plain second link, not two stacked slabs */
  .gy .gs--hero:is([data-v="stall"], [data-v="room"], [data-v="story"], [data-v="diptych"], [data-v="showcase"], [data-v="aisles"]) .g-actions { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 12px 22px; }
  .gy .gs--hero:is([data-v="stall"], [data-v="room"], [data-v="story"], [data-v="diptych"], [data-v="showcase"], [data-v="aisles"]) .g-actions .g-btn { width: auto; }
  .gy .gs--hero:is([data-v="stall"], [data-v="room"], [data-v="story"], [data-v="diptych"], [data-v="showcase"], [data-v="aisles"]) .g-actions .g-btn--secondary { min-height: 0; padding: 0 0 2px; border: 0; border-bottom: 1px solid currentColor; border-radius: 0; background: none; box-shadow: none; }

  /* rail: one quiet line on a phone */
  .gy .g-hd[data-v="rail"] .g-hd__in { min-height: 58px; }
  .gy .g-hd[data-v="rail"] .g-logo__desc { display: none; }
  .gy .g-hd[data-v="rail"] .g-menu { border: 0; width: auto; padding: 0 0 0 6px; }

  /* hud: the status gets its own line */
  .gy .g-hd[data-v="hud"] .g-hd__in { flex-wrap: wrap; row-gap: 0; min-height: 0; padding-bottom: 10px; }
  .gy .g-hud { order: -1; flex-basis: 100%; padding: 8px 0 9px; margin-bottom: 8px; border-bottom: 1px dashed color-mix(in srgb, var(--ink) 25%, transparent); font-size: 10.5px; }
  .gy .g-hud span:nth-child(2) { display: none; }
  .gy .g-hd[data-v="hud"] .g-logo__name { font-size: calc(var(--base) * 1.3); }

  /* tab bar: the header keeps just the name; the actions move to the bottom of the screen */
  .gy .g-hd[data-tabbar="1"] .g-hd__in { justify-content: center; min-height: 58px; }
  .gy .g-hd[data-tabbar="1"] .g-hd__act { display: none; }

  /* facts */
  .gy .g-chalk { grid-template-columns: minmax(0, 1fr); border-width: 7px; }
  .gy .g-plaque { flex-direction: column; gap: 3px; padding: 12px 28px; width: auto; font-size: calc(var(--base) * .84); }
  .gy .g-billing__top { font-size: calc(var(--base) * 1.1); }
  .gy .g-billing__names { font-size: calc(var(--base) * 1.4); line-height: 1.08; }
  .gy .g-billing__fine { font-size: 10.5px; gap: 2px 10px; }
  .gy .g-billing__fine span + span::before { margin-right: 10px; }
  .gy .g-door { grid-template-columns: auto minmax(0, 1fr); gap: 14px 18px; }
  .gy .g-door__sign { min-width: 0; max-width: 38cqi; margin: 30px 0 4px 2px; padding: 12px 14px 11px; }
  .gy .g-door__sign b { font-size: calc(var(--base) * 1.75); }
  .gy .g-door__sign small { font-size: calc(var(--base) * .8); }
  .gy .g-door__info .g-hourlist li { font-size: calc(var(--base) * .8); padding: 3px 0; gap: 10px; }
  .gy .g-door__l { font-size: calc(var(--base) * .8); padding-top: 3px; }
  .gy .g-door__l:last-child { display: none; }
  .gy .g-door__h { margin-bottom: 0; }

  /* tool */
  .gy .g-tool { gap: 12px; }
  .gy .g-tool__head .g-h1 { font-size: calc(var(--base) * 1.9 * var(--d-scale)); margin-bottom: 8px; }
  .gy .g-tool__lede { font-size: calc(var(--base) * .88); }
  .gy .g-tool__stage { aspect-ratio: 1 / .78; }
  .gy .g-tool__stage > img { width: 64%; margin-top: 8%; }
  .gy .g-tool__drop { padding: 11px 14px; }
  .gy .g-tool__drop small { display: none; }
  .gy .g-tool__form { padding: 14px; gap: 14px; }
  .gy .g-tool__est { order: -1; }
  .gy .g-tool__form .g-actions { order: -1; }
  .gy .g-tool__mats { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; }
  .gy .g-tool__mat { padding: 6px 5px; font-size: calc(var(--base) * .76); } .gy .g-tool__mat.on { padding: 5px 4px; }
  .gy .g-tool__mat small { font-size: 10px; }

  /* stall */
  .gy .g-awning { height: 26px; -webkit-mask-size: 100% 13px, 24px 26px; mask-size: 100% 13px, 24px 26px; -webkit-mask-image: linear-gradient(#000 0 0), radial-gradient(circle 12px at 12px 13px, #000 98%, transparent 100%); mask-image: linear-gradient(#000 0 0), radial-gradient(circle 12px at 12px 13px, #000 98%, transparent 100%); background: repeating-linear-gradient(90deg, var(--pop) 0 24px, var(--surface) 24px 48px); }
  .gy .g-stall__item { flex-basis: 40cqi; }
  .gy .g-stall__item--still { flex-basis: 88cqi; }
  .gy .g-stall__item .g-tag { transform: rotate(3deg) scale(.86); transform-origin: top right; right: -2px; }
  .gy .g-stall__words .g-h1 { font-size: calc(var(--base) * 2.05 * var(--d-scale)); }
  .gy .g-stall__words .g-lede { font-size: calc(var(--base) * .95); }

  /* showcase */
  .gy .g-show { padding-block: 18px 28px; background: radial-gradient(ellipse 80% 44% at 50% 40%, color-mix(in srgb, var(--accent) 17%, var(--photo)) 0%, var(--photo) 60%, var(--bg) 100%); }
  .gy .g-show__in { grid-template-columns: minmax(0, 1fr); grid-template-areas: "copy" "stage" "card"; gap: 16px; }
  .gy .g-show__copy { text-align: center; }
  .gy .g-show__copy .g-h1 { font-size: calc(var(--base) * 1.6 * var(--d-scale)); margin: 0; }
  .gy .g-show__lede, .gy .g-show__copy .g-more { display: none; }
  .gy .g-show__stage { aspect-ratio: 1 / .9; }
  .gy .g-show__stage img { width: 88%; }
  .gy .g-show__card { gap: 8px; }
  .gy .g-show__name { font-size: calc(var(--base) * 2.7 * var(--d-scale)); }
  .gy .g-show__sum { display: none; }

  /* bleed */
  .gy .g-bleed__img { aspect-ratio: 4 / 4.6; }
  .gy .g-bleed__img img { width: 128%; left: -14%; bottom: -5%; }
  .gy .g-bleed__words .g-h1 { font-size: calc(var(--base) * 1.5); }
  .gy .g-bleed__words { padding-top: 22px; gap: 10px; }

  /* carousel */
  .gy .g-car__nav { display: none; }
  .gy .g-car__head .g-h1 { font-size: calc(var(--base) * 1.95 * var(--d-scale)); }
  .gy .g-car__slide { flex-basis: 74cqi; box-shadow: 4px 4px 0 var(--ink); }
  .gy .g-car__body { padding: 12px 14px 14px; }

  /* room */
  .gy .g-room { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "art" "list" "rest"; }
  .gy .g-room__head { padding-top: 0; text-align: center; }
  .gy .g-room__head .g-h1 { font-size: calc(var(--base) * 1.7); margin: 0 auto 16px; }
  .gy .g-room__arch { aspect-ratio: 4 / 4.5; }
  .gy .g-room__list { padding-top: 18px; }
  .gy .g-room__list a { padding: 8px 0; }
  .gy .g-pin { width: 25px; height: 25px; font-size: 12px; }

  /* feature */
  .gy .g-feat { min-height: 0; display: block; padding-top: 70px; background: radial-gradient(ellipse 90% 38% at 55% 26%, color-mix(in srgb, var(--ink) 11%, var(--photo)), var(--photo) 62%, var(--bg) 100%); }
  .gy .g-feat__img { position: relative; right: auto; top: auto; width: 124%; margin: 0 0 -26% -8%; }
  .gy .g-feat .g-br--tl, .gy .g-feat .g-br--tr { top: 66px; } .gy .g-feat .g-br--tl, .gy .g-feat .g-br--bl { left: 12px; } .gy .g-feat .g-br--tr, .gy .g-feat .g-br--br { right: 12px; } .gy .g-feat .g-br--bl, .gy .g-feat .g-br--br { bottom: 12px; }
  .gy .g-feat__in { padding-block: 0 30px; }
  .gy .g-feat__in .g-h1 { font-size: calc(var(--base) * 4.3); margin-bottom: 20px; }
  .gy .g-feat::after { inset: 40% 0 0; }

  /* story */
  .gy .gs--hero[data-v="story"] { padding-bottom: 64px; }
  .gy .g-sfield { padding-top: 30px; }
  .gy .g-sfield__words { padding-bottom: 8px; }
  .gy .g-sfield .g-h1 { font-size: calc(var(--base) * 2.75); }
  .gy .g-sfield__text { font-size: calc(var(--base) * .98); margin-bottom: 20px; }
  .gy .g-sfield__sill { width: 66%; margin-left: auto; gap: 10px; }
  .gy .g-sfield__piece { flex-basis: 50%; }
  .gy .g-sfield__piece:nth-child(3) { display: none; }
  .gy .g-sfield__piece span { font-size: 12px; }
  .gy .gs--hero + .gs--facts[data-v="stamp"] { margin-top: -118px; }

  /* title */
  .gy .g-title { text-align: center; gap: 18px; }
  .gy .g-title__logo small { letter-spacing: .36em; }
  .gy .g-title .g-h1 { font-size: calc(var(--base) * .98); }
  .gy .g-title .g-menu-list { display: inline-grid; text-align: left; font-size: calc(var(--base) * .9); gap: 8px; margin-top: 14px; }
  .gy .g-title__scores { padding: 12px 12px 6px; text-align: left; }
  .gy .g-title .g-hiscore { font-size: calc(var(--base) * .8); }
  .gy .g-title .g-hiscore li { grid-template-columns: 38px minmax(0, 1fr) auto; padding: 4px 0; }

  /* diptych */
  .gy .g-dip { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "head head" "a b" "rest rest"; gap: 0 14px; }
  .gy .g-dip__words { display: contents; }
  .gy .g-dip__words .g-h1 { grid-area: head; text-align: center; font-size: calc(var(--base) * 1.75); margin: 0 auto 22px; max-width: 10em; }
  .gy .g-dip__words p, .gy .g-dip__words .g-actions { grid-column: 1 / -1; text-align: center; margin-inline: auto; }
  .gy .g-dip__words p { margin-top: 26px; margin-bottom: 18px; font-size: calc(var(--base) * .92); }
  .gy .g-dip__fig--a { margin-bottom: 0; } .gy .g-dip__fig--b { margin-top: 36px; }
  .gy .g-dip__fig figcaption { padding-top: 10px; }
  .gy .g-dip__fig figcaption span:first-child { font-size: calc(var(--base) * 1); }
  .gy .g-dip--still { grid-template-areas: "head head" "a a" "rest rest"; }

  /* aisles */
  .gy .g-aisles { grid-template-areas: "head" "list"; gap: 14px; }
  .gy .g-aisles__head .g-h1 { font-size: calc(var(--base) * 2 * var(--d-scale)); margin-bottom: 0; }
  .gy .g-aisles__head .g-lede { display: none; }
  .gy .g-aisles__list { grid-template-columns: minmax(0, 1fr); gap: 16px; padding-top: 8px; }
  .gy .g-aisle { grid-template-columns: 42px minmax(0, 1fr) auto; grid-template-areas: "n t peg"; padding: 9px 10px; gap: 12px; }
  .gy .g-aisle::before { top: -12px; height: 12px; left: 30%; right: 30%; }
  .gy .g-aisle__n { width: 42px; height: 42px; font-size: calc(var(--base) * 1.5); align-self: center; }
  .gy .g-aisle__t b { font-size: calc(var(--base) * 1); }
  .gy .g-aisle__t small { font-size: 12.5px; }
  .gy .g-aisle__peg span { width: 30px; height: 30px; }
  .gy .g-aisle__peg span:nth-child(3) { display: none; }

  /* catalogue */
  .gy .g-cat__bar { margin-bottom: 4px; }
  .gy .g-cat__h { font-size: calc(var(--base) * 1.9 * var(--d-scale)); }
  .gy .g-cat__sort { display: none; }
  .gy .g-cat .g-table__row { grid-template-columns: 52px minmax(0, 1fr) auto; grid-template-areas: "img name price" "img sku add"; }

  /* list */
  .gy .g-prow { grid-template-columns: 64px minmax(0, 1fr) auto; grid-template-areas: "img main price" "img main stock"; gap: 2px 14px; padding: 12px 0; }
  .gy .g-prow__img { grid-area: img; width: 64px; }
  .gy .g-prow__main { grid-area: main; }
  .gy .g-prow__price { grid-area: price; }
  .gy .g-prow .g-stock { grid-area: stock; justify-self: end; font-size: 12px; }
  .gy .g-prow > .gi { display: none; }
  .gy .g-prow__name { font-size: calc(var(--base) * 1); }
  .gy .g-prow__pass { font-size: 12.5px; align-items: flex-start; }
  .gy .g-prow__pass .gi { margin-top: 1px; }

  /* single */
  .gy .g-one { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .gy .g-one[data-side="r"] .g-one__img { order: 0; }
  .gy .g-one__txt { justify-items: center; text-align: center; }

  /* quote line */
  .gy .g-qline { gap: 14px; }
  .gy .g-qline__drop { width: 100%; justify-content: center; }
}

/* ---- production pieces around the layouts --------------------------------------------------------- */
/* The rail header (Gallery) beside the page on wide screens. Header, main and footer each have their
   own .gy container in production, so the shell is the grid and the container the header measures. */
@media (min-width: 901px) {
  .g-shell[data-shell="rail"] { container: gy / inline-size; display: grid; grid-template-columns: 236px minmax(0, 1fr); align-items: start; }
  .g-shell[data-shell="rail"] > #gy-header { grid-column: 1; grid-row: 1 / span 3; position: sticky; top: 0; align-self: start; min-height: 100vh; container-type: normal; border-right: 1px solid var(--rule); }
  .g-shell[data-shell="rail"] > main, .g-shell[data-shell="rail"] > #gy-footer { grid-column: 2; min-width: 0; }
}
/* The tab bar (Toybox): a fixed bar on phones. It is its own .gy element, so it answers to the screen. */
.gy.g-tabbar button { display: grid; justify-items: center; gap: 2px; padding: 7px 2px 6px; border: 0; border-radius: 14px; background: none; color: inherit; font: 600 11.5px/1.1 var(--f-display); cursor: pointer; }
@media (max-width: 640px) {
  .gy.g-tabbar { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); position: fixed; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); z-index: 20; overflow: visible; padding: 6px; background: var(--surface); color: var(--ink); border: 2px solid var(--ink); border-radius: 20px; box-shadow: 3px 3px 0 var(--ink); }
  .gy.g-tabbar a { position: relative; display: grid; justify-items: center; gap: 2px; padding: 7px 2px 6px; border-radius: 14px; font: 600 11.5px/1.1 var(--f-display); color: var(--ink); text-decoration: none; }
  .gy.g-tabbar a[aria-current] { background: var(--pop); color: var(--on-pop); }
  .gy.g-tabbar .gi { width: 22px; height: 22px; stroke-width: 1.9; }
  .gy.g-tabbar .g-tabbar__n { position: absolute; top: 3px; left: 54%; min-width: 18px; height: 18px; padding: 0 4px; display: grid; place-items: center; border-radius: 9px; background: var(--accent); color: var(--on-accent); font: 700 10.5px/1 var(--f-text); }
  body:has(#gy-tabbar) #gy-footer .g-ft { padding-bottom: 96px; }
}
/* Pieces that stand on a line (the stall, the sill) need a cut-out; a photo sits there as a tile. */
.gy .g-stall__item.is-photo .g-stall__img, .gy .g-sfield__piece.is-photo img { aspect-ratio: 1; border-radius: var(--r-img); background: var(--photo); object-fit: cover; }
.gy .g-stall__item.is-photo .g-stall__img img { height: 100%; object-fit: cover; }
/* The quote tool's controls are real buttons. */
.gy .g-swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.gy .g-swatch { width: 30px; height: 30px; padding: 0; border: 0; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ink) 20%, transparent); cursor: pointer; }
.gy .g-swatch.on { outline: 2px solid var(--ink); outline-offset: 2px; }
.gy .g-qty { display: inline-grid; grid-template-columns: 40px 44px 40px; align-items: center; height: calc(var(--base) * 3); border: 1px solid var(--rule-2); border-radius: var(--r-btn); background: var(--surface); }
.gy .g-qty button { display: grid; place-items: center; height: 100%; padding: 0; border: 0; background: none; color: var(--ink); cursor: pointer; }
.gy .g-qty button:disabled { color: var(--ink-3); cursor: default; }
.gy .g-qty .gi { width: 15px; height: 15px; }
.gy .g-qty b { text-align: center; font-weight: 500; border-inline: 1px solid var(--rule); height: 100%; display: grid; place-items: center; font-variant-numeric: tabular-nums; }
.gy button.g-tool__mat { background: var(--surface); color: var(--ink); text-align: left; font: inherit; font-size: calc(var(--base) * .82); cursor: pointer; }
.gy .g-tool__lab a { font-weight: 400; color: var(--ink-2); text-decoration: underline; text-underline-offset: .2em; }
.gy .g-tool__dropwrap, .gy .g-qline__dropwrap { display: grid; }
.gy .g-tool__dropwrap.is-over .g-tool__drop, .gy .g-qline__dropwrap.is-over .g-qline__drop { border-color: var(--accent-ink); background: var(--accent-wash); color: var(--on-wash); }
.gy .g-car__btn { cursor: pointer; }
.gy .g-car__btn:disabled { opacity: .4; cursor: default; }
@container gy (max-width: 640px) {
  .gy .g-tool__mats { grid-template-columns: repeat(auto-fit, minmax(58px, 1fr)); }
}

/* Highlighted headings keep their room in every layout, even one that sets its own tighter lines
   (a poster's or a film title's): the highlight would cover the line above's descenders again. */
.gy[data-em="highlight"] .gs :is(.g-h1, .g-h2):has(> em) { line-height: max(1.2, var(--d-lh)); }

/* ==== The owner's own buttons and panels ============================================================
   styles.buttons soft | glass | bold, and the optional styles.panels and styles.shadow. Unset, none
   of this applies and every template keeps its own look. Glass frosting is only ever as clear as
   --glass-a / --glass-acc-a allow: the engine works those out (theme-color.js glassAlpha) so text on
   glass reads over anything behind it, black or white. Without color-mix() glass falls back to solid. */
.gy[data-btn="soft"] .g-btn { border-color: transparent; }
.gy[data-btn="soft"] .g-btn--primary { background: var(--accent-wash); color: var(--on-wash); }
.gy[data-btn="soft"] .g-btn--secondary { background: var(--surface); color: var(--ink); }
.gy[data-btn="soft"][data-hover] .g-btn--primary:hover { background: var(--accent-wash); border-color: var(--on-wash); }
.gy[data-btn="bold"] .g-btn { border: 2px solid var(--ink); font-weight: 800; text-transform: uppercase; letter-spacing: .06em; box-shadow: 4px 4px 0 var(--ink); }
.gy[data-btn="bold"] .g-btn--primary { background: var(--accent); color: var(--on-accent); }
.gy[data-btn="bold"] .g-btn--secondary { background: var(--ink); color: var(--bg); }
.gy[data-btn="bold"] .g-btn:active { box-shadow: 1px 1px 0 var(--ink); transform: translate(3px, 3px); }
.gy[data-btn="glass"] .g-btn { border: 1px solid rgba(255, 255, 255, .45); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55), 0 8px 22px -12px rgba(0, 0, 0, .45); }
.gy[data-btn="glass"] .g-btn--primary { background: var(--accent); color: var(--on-accent); }
.gy[data-btn="glass"] .g-btn--secondary { background: var(--surface); color: var(--ink); }
@supports (background: color-mix(in srgb, red 50%, transparent)) {
  .gy[data-btn="glass"] .g-btn { -webkit-backdrop-filter: blur(12px) saturate(1.4); backdrop-filter: blur(12px) saturate(1.4); }
  .gy[data-btn="glass"] .g-btn--primary { background: color-mix(in srgb, var(--accent) calc(var(--glass-acc-a, 1) * 100%), transparent); }
  .gy[data-btn="glass"] .g-btn--secondary { background: color-mix(in srgb, var(--surface) calc(var(--glass-a, 1) * 100%), transparent); }
}

/* Panels: the quote panel, the two ways to order, notes, material and printer cards, the visit and
   contact cards, step and review cards. Product cards keep their own style (styles.cards). */
.gy[data-shadow="none"] :is(.g-route, .g-qpanel, .g-note, .g-mat, .g-printer, .g-visit, .g-contact__card, .gs--steps[data-v="cards"] .g-step, .gs--reviews[data-v="cards"] .g-quote, .g-btn) { box-shadow: none; }
.gy[data-shadow="soft"] :is(.g-route, .g-qpanel, .g-note, .g-mat, .g-printer, .g-visit, .g-contact__card, .gs--steps[data-v="cards"] .g-step, .gs--reviews[data-v="cards"] .g-quote) { box-shadow: 0 1px 2px rgba(0, 0, 0, .06), 0 10px 26px -14px rgba(0, 0, 0, .22); }
.gy[data-shadow="lifted"] :is(.g-route, .g-qpanel, .g-note, .g-mat, .g-printer, .g-visit, .g-contact__card, .gs--steps[data-v="cards"] .g-step, .gs--reviews[data-v="cards"] .g-quote) { box-shadow: 0 2px 4px rgba(0, 0, 0, .08), 0 22px 44px -18px rgba(0, 0, 0, .34); }
.gy[data-shadow="soft"] .g-btn { box-shadow: 0 6px 16px -10px rgba(0, 0, 0, .35); }
.gy[data-shadow="lifted"] .g-btn { box-shadow: 0 12px 24px -12px rgba(0, 0, 0, .45); }
.gy[data-panel] :is(.g-route, .g-qpanel, .g-note, .g-mat, .g-printer, .g-visit, .g-contact__card, .gs--steps[data-v="cards"] .g-step, .gs--reviews[data-v="cards"] .g-quote) { border-radius: var(--r-card); color: var(--ink); }
.gy[data-panel="solid"] :is(.g-route, .g-qpanel, .g-note, .g-mat, .g-printer, .g-visit, .g-contact__card, .gs--steps[data-v="cards"] .g-step, .gs--reviews[data-v="cards"] .g-quote) { background: var(--surface); border: 1px solid var(--rule); }
.gy[data-panel="outline"] :is(.g-route, .g-qpanel, .g-note, .g-mat, .g-printer, .g-visit, .g-contact__card, .gs--steps[data-v="cards"] .g-step, .gs--reviews[data-v="cards"] .g-quote) { background: transparent; border: 1.5px solid var(--rule-2); box-shadow: none; }
.gy[data-panel="soft"] :is(.g-route, .g-qpanel, .g-note, .g-mat, .g-printer, .g-visit, .g-contact__card, .gs--steps[data-v="cards"] .g-step, .gs--reviews[data-v="cards"] .g-quote) { background: var(--surface); border: 1px solid transparent; }
.gy[data-panel="soft"]:not([data-shadow]) :is(.g-route, .g-qpanel, .g-note, .g-mat, .g-printer, .g-visit, .g-contact__card, .gs--steps[data-v="cards"] .g-step, .gs--reviews[data-v="cards"] .g-quote) { box-shadow: 0 1px 2px rgba(0, 0, 0, .05), 0 12px 30px -16px rgba(0, 0, 0, .2); }
.gy[data-panel="bold"] :is(.g-route, .g-qpanel, .g-note, .g-mat, .g-printer, .g-visit, .g-contact__card, .gs--steps[data-v="cards"] .g-step, .gs--reviews[data-v="cards"] .g-quote) { background: var(--surface); border: 2px solid var(--ink); box-shadow: 6px 6px 0 var(--ink); }
.gy[data-panel="glass"] :is(.g-route, .g-qpanel, .g-note, .g-mat, .g-printer, .g-visit, .g-contact__card, .gs--steps[data-v="cards"] .g-step, .gs--reviews[data-v="cards"] .g-quote) { background: var(--surface); border: 1px solid rgba(255, 255, 255, .4); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 14px 34px -18px rgba(0, 0, 0, .35); }
@supports (background: color-mix(in srgb, red 50%, transparent)) {
  .gy[data-panel="glass"] :is(.g-route, .g-qpanel, .g-note, .g-mat, .g-printer, .g-visit, .g-contact__card, .gs--steps[data-v="cards"] .g-step, .gs--reviews[data-v="cards"] .g-quote) { background: color-mix(in srgb, var(--surface) calc(var(--glass-a, 1) * 100%), transparent); -webkit-backdrop-filter: blur(16px) saturate(1.3); backdrop-filter: blur(16px) saturate(1.3); }
}
@media (prefers-reduced-motion: reduce) { .gy[data-btn="bold"] .g-btn:active { transform: none; } }

/* ==== Component styles (Shop style → Styles; src/theme/components.js) ===================================
   Buttons, second buttons, panels, inputs, small labels, pictures and the header, styled once for the
   shop (attributes on the page) or for one section (the same attributes on the section, with its own
   custom properties inline). The engine works out every colour, so these rules only place them. None
   of this applies unless a component is set: a theme without them draws exactly as before. */
.gy[data-cb][data-cb] .g-btn.g-btn--primary, .gy .gs[data-cb][data-cb] .g-btn.g-btn--primary {
  --b-bg: var(--cb-bg); --b-fg: var(--cb-fg); --b-bc: var(--cb-bc); --b-bw: var(--cb-bw); --b-r: var(--cb-r); --b-sh: var(--cb-sh); --b-hsh: var(--cb-hsh); --b-h: var(--cb-h);
  --b-px: var(--cb-px); --b-py: var(--cb-py); --b-fs: var(--cb-fs); --b-ff: var(--cb-ff); --b-fw: var(--cb-fw); --b-tt: var(--cb-tt); --b-ls: var(--cb-ls);
  --b-hbg: var(--cb-hbg); --b-hfg: var(--cb-hfg); --b-hbc: var(--cb-hbc); --b-ht: var(--cb-ht); --b-bf: var(--cb-bf); }
.gy[data-cb2][data-cb2] .g-btn.g-btn--secondary, .gy .gs[data-cb2][data-cb2] .g-btn.g-btn--secondary {
  --b-bg: var(--cb2-bg); --b-fg: var(--cb2-fg); --b-bc: var(--cb2-bc); --b-bw: var(--cb2-bw); --b-r: var(--cb2-r); --b-sh: var(--cb2-sh); --b-hsh: var(--cb2-hsh); --b-h: var(--cb2-h);
  --b-px: var(--cb2-px); --b-py: var(--cb2-py); --b-fs: var(--cb2-fs); --b-ff: var(--cb2-ff); --b-fw: var(--cb2-fw); --b-tt: var(--cb2-tt); --b-ls: var(--cb2-ls);
  --b-hbg: var(--cb2-hbg); --b-hfg: var(--cb2-hfg); --b-hbc: var(--cb2-hbc); --b-ht: var(--cb2-ht); --b-bf: var(--cb2-bf); }
.gy[data-cb][data-cb] .g-btn.g-btn--primary, .gy .gs[data-cb][data-cb] .g-btn.g-btn--primary,
.gy[data-cb2][data-cb2] .g-btn.g-btn--secondary, .gy .gs[data-cb2][data-cb2] .g-btn.g-btn--secondary {
  background: var(--b-bg); color: var(--b-fg); border: var(--b-bw) solid var(--b-bc); border-radius: var(--b-r); box-shadow: var(--b-sh);
  min-height: var(--b-h); padding: var(--b-py) var(--b-px); font-family: var(--b-ff); font-weight: var(--b-fw); font-size: var(--b-fs);
  text-transform: var(--b-tt); letter-spacing: var(--b-ls); -webkit-backdrop-filter: var(--b-bf); backdrop-filter: var(--b-bf);
  transition: transform .18s cubic-bezier(.2, .7, .2, 1), background-color .15s, box-shadow .18s, color .15s, border-color .15s; }
.gy[data-cb][data-cb] .g-btn.g-btn--primary:hover, .gy .gs[data-cb][data-cb] .g-btn.g-btn--primary:hover,
.gy[data-cb2][data-cb2] .g-btn.g-btn--secondary:hover, .gy .gs[data-cb2][data-cb2] .g-btn.g-btn--secondary:hover {
  background: var(--b-hbg); color: var(--b-hfg); border-color: var(--b-hbc); box-shadow: var(--b-hsh); transform: var(--b-ht); }
.gy[data-cb][data-cb] .g-btn.g-btn--primary:active, .gy .gs[data-cb][data-cb] .g-btn.g-btn--primary:active,
.gy[data-cb2][data-cb2] .g-btn.g-btn--secondary:active, .gy .gs[data-cb2][data-cb2] .g-btn.g-btn--secondary:active { transform: translateY(1px); box-shadow: none; }
.gy[data-cbi="none"] .g-btn--primary .gi, .gy .gs[data-cbi="none"] .g-btn--primary .gi, .gy[data-cb2i="none"] .g-btn--secondary .gi, .gy .gs[data-cb2i="none"] .g-btn--secondary .gi { display: none; }
/* An accent section keeps its main button inverted, so it never disappears into the background. */
.gy .gs[data-bgk="accent"] .g-btn.g-btn--primary { --b-hbg: var(--on-accent); --b-hfg: var(--accent); }
@media (prefers-reduced-motion: reduce) {
  .gy[data-cb] .g-btn, .gy[data-cb2] .g-btn, .gy .gs[data-cb] .g-btn, .gy .gs[data-cb2] .g-btn { transition: none; }
  .gy[data-cb][data-cb] .g-btn.g-btn--primary:hover, .gy .gs[data-cb][data-cb] .g-btn.g-btn--primary:hover,
  .gy[data-cb2][data-cb2] .g-btn.g-btn--secondary:hover, .gy .gs[data-cb2][data-cb2] .g-btn.g-btn--secondary:hover { transform: none; }
}

/* Panels: the quote panel, the two ways to order, notes, material and printer cards, visit and contact
   cards, step and review cards. */
.gy[data-cp][data-cp] :is(.g-route, .g-qpanel, .g-note, .g-mat, .g-printer, .g-visit, .g-contact__card, .gs--steps[data-v="cards"] .g-step, .gs--reviews[data-v="cards"] .g-quote),
.gy .gs[data-cp][data-cp] :is(.g-route, .g-qpanel, .g-note, .g-mat, .g-printer, .g-visit, .g-contact__card, .g-step, .g-quote) {
  background: var(--cp-bg); border: var(--cp-bw) solid var(--cp-bc); border-radius: var(--cp-r); box-shadow: var(--cp-sh); color: var(--ink);
  -webkit-backdrop-filter: var(--cp-bf); backdrop-filter: var(--cp-bf); }
.gy .gs:is([data-bgk="band"], [data-bgk="accent"], [style]) { --cp-g2: var(--surface-2); }
@supports (background: color-mix(in srgb, red 50%, transparent)) {
  .gy[data-cp="glass"][data-cp] :is(.g-route, .g-qpanel, .g-note, .g-mat, .g-printer, .g-visit, .g-contact__card, .gs--steps[data-v="cards"] .g-step, .gs--reviews[data-v="cards"] .g-quote),
  .gy .gs[data-cp="glass"][data-cp] :is(.g-route, .g-qpanel, .g-note, .g-mat, .g-printer, .g-visit, .g-contact__card, .g-step, .g-quote) { background: color-mix(in srgb, var(--surface) calc(var(--cp-a, 1) * 100%), transparent); }
  html[data-ci="glass"] :is(.input, .textarea, .field select), .gy[data-ci="glass"] .g-search { background-color: color-mix(in srgb, var(--surface) calc(var(--ci-a, 1) * 100%), transparent); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
  .gy[data-chf="glass"] .g-hd { background: color-mix(in srgb, var(--bg) calc(var(--ch-a, 1) * 100%), transparent); -webkit-backdrop-filter: blur(18px) saturate(1.3); backdrop-filter: blur(18px) saturate(1.3); }
}

/* Boxes you type in: the shop's search, and the forms on the quote, order and contact pages. */
html[data-ci] :is(.input, .textarea, .field select), .gy[data-ci] .g-search { background-color: var(--ci-bg); border: var(--ci-bw) solid var(--ci-bc); border-radius: var(--ci-r); }
html[data-ci] :is(.input, .field select), .gy[data-ci] .g-search { min-height: var(--ci-h); }
html[data-ci="line"] :is(.input, .textarea, .field select), .gy[data-ci="line"] .g-search { border-width: 0 0 var(--ci-bw); border-radius: 0; padding-inline: 2px; }
html[data-ci="filled"] :is(.input, .textarea, .field select), .gy[data-ci="filled"] .g-search { border-color: transparent transparent var(--rule-2); }

/* Small labels: the line above a heading, a product's code and stock on a carousel. */
.gy[data-cg] :is(.g-kicker, .g-stage__id, .g-car__stock) { padding: .3em .7em; border-radius: var(--cg-r, 2px); line-height: 1.2; }
.gy[data-cg="soft"] :is(.g-kicker, .g-stage__id, .g-car__stock) { background: var(--accent-wash); color: var(--on-wash); }
.gy[data-cg="solid"] :is(.g-kicker, .g-stage__id, .g-car__stock) { background: var(--accent); color: var(--on-accent); }
.gy[data-cg="outline"] :is(.g-kicker, .g-stage__id, .g-car__stock) { background: transparent; box-shadow: inset 0 0 0 1px currentColor; }
.gy[data-cg="ink"] :is(.g-kicker, .g-stage__id, .g-car__stock) { background: var(--ink); color: var(--bg); }
.gy[data-cgc="caps"] :is(.g-kicker, .g-stage__id, .g-car__stock) { text-transform: uppercase; letter-spacing: .1em; }
.gy[data-cgc="sentence"] :is(.g-kicker, .g-stage__id, .g-car__stock) { text-transform: none; letter-spacing: normal; }

/* Pictures: corners, shadow, frame and colour, for the whole shop or one section. */
:is(.gy[data-cmr][data-cmr], .gy .gs[data-cmr][data-cmr]) :is(.g-card__img, .gs--hero picture img, .g-gallery a, .g-it .g-card__img) { border-radius: var(--cm-r); overflow: hidden; }
:is(.gy[data-cms][data-cms], .gy .gs[data-cms][data-cms]) :is(.g-card__img, .g-gallery a, .g-it .g-card__img) { box-shadow: var(--cm-sh); }
:is(.gy[data-cmf="line"], .gy .gs[data-cmf="line"]) :is(.g-card__img, .g-gallery a) { box-shadow: 0 0 0 1px var(--rule-2); }
:is(.gy[data-cmf="thick"], .gy .gs[data-cmf="thick"]) :is(.g-card__img, .g-gallery a) { box-shadow: 0 0 0 5px var(--ink); }
:is(.gy[data-cmf="mat"], .gy .gs[data-cmf="mat"]) :is(.g-card__img, .g-gallery a) { outline: 10px solid var(--surface); outline-offset: -10px; box-shadow: 0 0 0 1px var(--rule); }
:is(.gy[data-cmx="mono"], .gy .gs[data-cmx="mono"]) :is(.g-card__img, .g-gallery a, .gs--hero picture) img { filter: grayscale(1) contrast(1.05); }
:is(.gy[data-cmx="warm"], .gy .gs[data-cmx="warm"]) :is(.g-card__img, .g-gallery a, .gs--hero picture) img { filter: sepia(.28) saturate(1.15); }
:is(.gy[data-cmx="cool"], .gy .gs[data-cmx="cool"]) :is(.g-card__img, .g-gallery a, .gs--hero picture) img { filter: saturate(.85) hue-rotate(-12deg) brightness(1.03); }

/* The header: its fill (with tokens remapped so its words read), border, shadow, letters, stickiness. */
.gy[data-chf="panel"] .g-hd { background: var(--surface); }
.gy[data-chf="ink"] .g-hd { --bg: var(--band); --surface: color-mix(in srgb, var(--on-band) 8%, var(--band)); --ink: var(--on-band); --ink-2: var(--band-soft); --ink-3: var(--band-soft); --rule: color-mix(in srgb, var(--on-band) 18%, transparent); --rule-2: color-mix(in srgb, var(--on-band) 40%, transparent); --accent-ink: var(--band-accent); --focus: var(--on-band); background: var(--band); color: var(--on-band); }
.gy[data-chf="accent"] .g-hd { --bg: var(--accent); --surface: color-mix(in srgb, var(--on-accent) 10%, var(--accent)); --ink: var(--on-accent); --ink-2: var(--on-accent); --ink-3: var(--on-accent); --rule: color-mix(in srgb, var(--on-accent) 24%, transparent); --rule-2: color-mix(in srgb, var(--on-accent) 50%, transparent); --accent-ink: var(--on-accent); --focus: var(--on-accent); background: var(--accent); color: var(--on-accent); }
.gy:is([data-chf="ink"], [data-chf="accent"]) .g-hd .g-cart__n { background: var(--ink); color: var(--bg); }
.gy[data-chb="line"] .g-hd { border-bottom: 1px solid var(--rule-2); }
.gy[data-chb="heavy"] .g-hd { border-bottom: 3px solid var(--ink); }
.gy[data-chs="soft"] .g-hd { box-shadow: 0 10px 24px -18px rgba(0, 0, 0, .45); }
.gy[data-chc="caps"] .g-hd .g-nav a { text-transform: uppercase; letter-spacing: .09em; font-size: .86em; }
.gy[data-chn="display"] .g-hd .g-nav a { font-family: var(--f-display); }
.gy[data-chn="label"] .g-hd .g-nav a { font-family: var(--f-label); }
html[data-chk="sticky"] body > #gy-header { position: sticky; top: 0; z-index: 30; }

/* Colour roles: headings in their own colour, only where they sit on the page, a panel or a product
   stage (the three it's checked against). Anything that paints its own fill (a strip, a band, a banner,
   a section with its own colours) hands its headings its own text colour instead; rules that colour a
   heading on purpose win outright (:where keeps this rule the weakest). */
.gy[data-hc] :where(.g-h1, .g-h2) { color: var(--head-ink, inherit); }
.gy :is([data-tone="band"], .gs--pay, .g-banner, .g-count, .g-sfield, .g-strip, .g-announce, .g-aisle--counter, .gs--facts[data-v="ticker"], .gs[data-bgk], .g-video, .g-shelftag, .g-sticker) { --head-ink: currentColor; }

/* Content width, for the whole shop or one section. */
.gy[data-width="narrow"] .g-w, .gy .gs[data-width="narrow"] .g-w { max-width: calc(940px + var(--gut) * 2); }
.gy[data-width="wide"] .g-w, .gy .gs[data-width="wide"] .g-w { max-width: calc(1600px + var(--gut) * 2); }
.gy .gs[data-width="regular"] .g-w { max-width: calc(1320px + var(--gut) * 2); }
.gy .gs[data-width="full"] .g-w { max-width: none; }

/* Space above and below: two more steps either side of snug and airy. */
.gy .gs[data-space="flush"] { padding-block: 0; }
.gy .gs[data-space="vast"] { padding-block: calc(var(--sp) * 1.8); }

/* A picture behind a section (its veil is in the section's own style). */
.gy .gs[data-bgimg] { background-repeat: no-repeat; }

/* Shapes along a section's top edge: the page's own colour cuts into the section's (a hero or a picture
   section clips anything drawn outside itself, so the shape is drawn inside, from the top). */
.gy .gs[data-divider]::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: clamp(14px, 2.6cqi, 36px); background: var(--div-fill, var(--bg)); pointer-events: none; z-index: 1;
  -webkit-mask: linear-gradient(#000 0 0), var(--div-mask) 0 0 / 100% 100% no-repeat; mask: linear-gradient(#000 0 0), var(--div-mask) 0 0 / 100% 100% no-repeat;
  -webkit-mask-composite: xor; mask-composite: exclude; }
.gy .gs[data-divider="wave"] { --div-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 40' preserveAspectRatio='none'%3E%3Cpath d='M0 40V22C150 2 300 2 450 20s300 18 450 0 300-18 300 0v20z'/%3E%3C/svg%3E"); }
.gy .gs[data-divider="slant"] { --div-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 40' preserveAspectRatio='none'%3E%3Cpath d='M0 40L1200 0v40z'/%3E%3C/svg%3E"); }
.gy .gs[data-divider="curve"] { --div-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 40' preserveAspectRatio='none'%3E%3Cpath d='M0 40Q600-36 1200 40z'/%3E%3C/svg%3E"); }
.gy .gs:is([data-divider="zigzag"], [data-divider="scallop"])::before { height: 14px; -webkit-mask-size: auto, 28px 14px; mask-size: auto, 28px 14px; -webkit-mask-repeat: no-repeat, repeat-x; mask-repeat: no-repeat, repeat-x; }
.gy .gs[data-divider="zigzag"] { --div-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 14'%3E%3Cpath d='M0 14L14 0l14 14z'/%3E%3C/svg%3E"); }
.gy .gs[data-divider="scallop"] { --div-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 14'%3E%3Cpath d='M0 14a14 14 0 0 1 28 0z'/%3E%3C/svg%3E"); }

/* More ways in as you scroll: zoom, slide and come into focus. All off for anyone who asks for less motion. */
@keyframes gy-zoom { from { transform: scale(.965); opacity: .001; } to { transform: none; opacity: 1; } }
@keyframes gy-slide { from { transform: translateX(-22px); opacity: .001; } to { transform: none; opacity: 1; } }
@keyframes gy-focus { from { filter: blur(6px); opacity: .001; } to { filter: none; opacity: 1; } }
.gy[data-motion="fade"] .gs { animation: gy-fade .6s ease both; }
.gy[data-motion="zoom"] .gs, .gy .gs[data-motion="zoom"] { animation: gy-zoom .7s cubic-bezier(.2, .7, .2, 1) both; }
.gy[data-motion="slide"] .gs, .gy .gs[data-motion="slide"] { animation: gy-slide .65s cubic-bezier(.2, .7, .2, 1) both; }
.gy[data-motion="focus"] .gs, .gy .gs[data-motion="focus"] { animation: gy-focus .7s ease both; }
@supports (animation-timeline: view()) {
  .gy:is([data-motion="zoom"], [data-motion="slide"], [data-motion="focus"]) .gs:not(:first-child), .gy .gs:is([data-motion="zoom"], [data-motion="slide"], [data-motion="focus"]):not(:first-child) { animation-timeline: view(); animation-range: entry 0% entry 42%; }
}
@media (prefers-reduced-motion: reduce) { .gy .gs[data-motion], .gy[data-motion] .gs { animation: none; } }

/* The film-poster opening on a phone: the picture sits above the words and fades into the page behind
   them, so a long headline never runs through the prints. */
@container gy (max-width: 640px) {
  .gy .g-feat__img { margin-bottom: -14%; }
  .gy .g-feat__in { padding-top: 56px; background: linear-gradient(to bottom, transparent 0, var(--bg) 56px); }
  .gy .g-feat::after { display: none; }
}
