/* Sign builder page: six sign types, each with its own live scene. Extends the shared .plate component from site.css. */

/* ---------- Title band on the cutting mat, with a showcase of the six types ---------- */
.bld-top { position: relative; padding-block: clamp(22px, 4vh, 44px) clamp(20px, 3vh, 34px); }
.bld-top__grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px clamp(32px, 4vw, 72px); align-items: center; }
.bld-hero__title { font-size: clamp(2.5rem, 4.9vw, 4.7rem); line-height: .98; display: flow-root; margin-bottom: clamp(12px, 1.8vh, 18px); }
.bld-hero__title .cut { display: inline-block; vertical-align: top; margin-right: .22em; }
.bld-hero__title .cut:last-child { margin-right: 0; }
.bld-hero__lede { margin: 0; color: rgba(255,255,255,.92); }

/* Showcase: the six types cycle in, each one squeegeed on like a sheet of vinyl */
.show { width: clamp(300px, 33vw, 500px); }
.show__frame { position: relative; aspect-ratio: 240 / 150; border: 2px solid var(--ink); border-radius: var(--r); overflow: clip; background: var(--galv); box-shadow: 8px 8px 0 var(--yellow); }
.show__slide { position: absolute; inset: 0; display: block; width: 100%; padding: 0; border: 0; background: var(--galv); cursor: pointer; visibility: hidden; color: var(--ink); }
.show__slide.is-on { visibility: visible; z-index: 2; }
.show__slide.is-in { visibility: visible; z-index: 3; }
.show__slide .ill { width: 100%; height: 100%; }
.show__slide:focus-visible { outline-offset: -6px; box-shadow: none; }
.show__go { position: absolute; left: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; background: var(--yellow); border: 2px solid var(--ink); border-radius: var(--r); font-weight: 700; font-size: .875rem; line-height: 1.1; box-shadow: 3px 3px 0 var(--ink); transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.show__go svg { width: 15px; height: 15px; }
.show__slide:hover .show__go { transform: translate(-1px, -1px); box-shadow: 5px 5px 0 var(--ink); }
.show__squeegee { position: absolute; z-index: 4; top: -6%; bottom: -6%; left: 0; width: 12px; background: var(--yellow); border: 2px solid var(--ink); border-radius: var(--r); transform: translateX(-30px) skewX(-6deg); pointer-events: none; }
.show__bar { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 10px 16px; margin-top: 18px; }
.show__count { margin: 0; font-family: var(--f-display); font-style: italic; font-weight: 800; font-stretch: 80%; font-size: 1.3rem; font-variant-numeric: tabular-nums; color: rgba(255,255,255,.7); white-space: nowrap; }
.show__count b { color: var(--yellow); }
.show__cap { min-width: 0; }
.show__name { display: block; font-weight: 800; line-height: 1.2; }
.show__line { display: block; font-size: .9rem; line-height: 1.35; color: rgba(255,255,255,.82); min-height: 2.7em; }
.show__nav { display: flex; gap: 8px; }
.show__btn { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 2px solid var(--white); border-radius: var(--r); background: transparent; color: var(--white); cursor: pointer; transition: background-color .2s, color .2s; }
.show__btn:hover { background: var(--yellow); color: var(--ink); border-color: var(--yellow); }
.show__btn svg { width: 18px; height: 18px; }
.show__prog { grid-column: 1 / -1; height: 4px; background: rgba(255,255,255,.18); overflow: clip; }
.show__prog i { display: block; height: 100%; background: var(--yellow); transform-origin: left; transform: scaleX(0); }
.no-js .show__nav, .no-js .show__prog, .motion-off .show__prog { display: none; }
@media (max-width: 900px) {
  .bld-top__grid { grid-template-columns: minmax(0, 1fr); }
  .show { width: min(100%, 460px); }
}

/* Small drawings: the display face for their words */
.ill__t { font-family: var(--f-display); font-style: italic; font-weight: 850; font-stretch: 72%; }
.ill__b { font-family: var(--f-body); font-weight: 700; }
.ill__sign { transform-box: fill-box; transform-origin: 50% 0; }

.bld { padding-block: clamp(10px, 1.6vh, 18px) clamp(64px, 8vw, 112px); }

/* ---------- Tool layout: type picker across the top; stage and price (sticky) left, options right ---------- */
.bld-tool { display: grid; grid-template-columns: minmax(0, 1.42fr) minmax(340px, 1fr); gap: 0 clamp(24px, 3vw, 44px); align-items: start; margin: 0; }
.bld-tool [hidden] { display: none !important; }
.bld-left { display: grid; gap: 16px; min-width: 0; }
@media (min-width: 901px) and (min-height: 700px) { .bld-left { position: sticky; top: 88px; gap: 14px; } }

/* Step one: what are you making? */
.bld-types { grid-column: 1 / -1; min-width: 0; border: 0; margin: 0 0 clamp(22px, 2.6vw, 34px); padding: 0; }
.bld-types__legend { float: left; width: 100%; padding: 0; margin: 0 0 14px; font-family: var(--f-display); font-style: italic; font-weight: 850; font-stretch: 72%; text-transform: uppercase; font-size: clamp(1.4rem, 1.9vw, 1.9rem); line-height: 1.1; color: var(--white); }
.bld-types__legend + * { clear: both; }
.bld-types__row { position: relative; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; padding-bottom: 14px; }
.bld-type { position: relative; display: block; min-width: 0; }
.bld-type input { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.bld-type__card { display: grid; grid-template-rows: auto auto 1fr; height: 100%; background: var(--white); color: var(--ink); border: 2px solid var(--ink); border-radius: var(--r); overflow: clip; box-shadow: 4px 4px 0 rgba(0,0,0,.4); transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s; }
.bld-type__ill { display: block; height: clamp(62px, 5.6vw, 88px); overflow: clip; border-bottom: 2px solid var(--ink); background: var(--galv); }
.bld-type__ill .ill { width: 100%; height: 100%; transition: transform .6s var(--ease); }
.bld-type__name { display: block; padding: 8px 10px 0; font-weight: 800; font-size: .98rem; line-height: 1.2; }
.bld-type__sub { display: block; padding: 2px 10px 10px; font-size: .875rem; line-height: 1.3; color: var(--steel); }
.bld-type:hover .bld-type__card { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 rgba(0,0,0,.45); }
.bld-type:hover .ill { transform: scale(1.06); }
.bld-type input:checked + .bld-type__card { background: var(--yellow); transform: translate(-2px, -3px); box-shadow: 6px 7px 0 var(--ink); }
.bld-type input:checked + .bld-type__card .bld-type__sub { color: #3d3a1f; }
.bld-type input:focus-visible + .bld-type__card { outline: 3px solid var(--yellow); outline-offset: 3px; box-shadow: 0 0 0 6px var(--ink); }
.bld-types__mark { position: absolute; left: 0; bottom: 0; width: 0; height: 6px; border: 2px solid var(--ink); background: repeating-linear-gradient(-45deg, var(--ink) 0 6px, var(--yellow) 6px 12px); pointer-events: none; }
.no-js .bld-types, .no-js .bld-types__mark { display: none; }

.bld-stage { position: relative; background: var(--ink); border: 2px solid var(--ink); border-radius: var(--r); }
.bld-stage__bar { display: flex; flex-wrap: wrap; align-items: center; min-height: 58px; padding: 6px 10px; }
.bld-stage__set { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: 0; padding: 0; border: 0; min-width: 0; }
.bld-stage__legend { float: left; padding: 0; margin-right: 6px; font-weight: 700; font-size: .875rem; text-transform: uppercase; letter-spacing: .06em; color: rgba(255,255,255,.86); }
.bld-stage__bar .bld-opts { gap: 6px; }

/* ---------- The stage: one scene per type, drawn at real scale (JS sets --mm, pixels per millimetre, on each scene) ---------- */
.bld-view { --mm: .9; --cx: 50%; --cy: 50%; --pwmm: 200; --phmm: 75; --px: 0; --py: 0; position: relative; height: clamp(280px, calc(100vh - 436px), 600px); overflow: clip; border-radius: 0 0 var(--r) var(--r); background: #2a302d; isolation: isolate; touch-action: pan-y; }
.scn { --mm: .1; position: absolute; inset: 0; z-index: 1; overflow: clip; display: none; visibility: hidden; opacity: 0; }
.scn.is-on { display: block; visibility: visible; opacity: 1; }
.scn > * { position: absolute; }
.pz0 { translate: calc(var(--px) * -22px) calc(var(--py) * -8px); }
.pz1 { translate: calc(var(--px) * -10px) calc(var(--py) * -4px); }
.pz2 { translate: calc(var(--px) * 8px) calc(var(--py) * 4px); }
.scn-night { inset: 0; z-index: 4; pointer-events: none; opacity: 0; background: linear-gradient(180deg, rgba(10,16,40,.9), rgba(12,18,34,.82)); mix-blend-mode: multiply; transition: opacity .9s var(--ease); }
.bld-view[data-time="night"] .scn-night { opacity: 1; }
.scn-pave { left: -30px; right: -30px; bottom: 0; height: 30px; z-index: 2; background-color: #8b908c;
  background-image: linear-gradient(180deg, rgba(255,255,255,.28) 0 3px, rgba(0,0,0,.18) 3px 5px, transparent 5px), repeating-linear-gradient(90deg, transparent 0 calc(var(--mm) * 590px), rgba(0,0,0,.22) calc(var(--mm) * 590px) calc(var(--mm) * 600px)), radial-gradient(rgba(255,255,255,.12) 1px, transparent 1.5px); background-size: auto, auto, 5px 5px; }
.scn-person { z-index: 3; fill: rgba(20,28,25,.62); height: 40px; width: auto; }
.bld-view[data-time="night"] .scn-person { fill: rgba(8,12,12,.9); }
.scn-walker { z-index: 3; left: 0; top: 0; width: 20px; height: 58px; fill: rgba(28,36,33,.7); visibility: hidden; pointer-events: none; }
.bld-view[data-time="night"] .scn-walker { fill: rgba(6,9,9,.92); }
.bld-live .scn-walker { visibility: visible; }
.bld-live .scn-walker .lg-a { animation: bld-step .62s steps(1) infinite; }
.bld-live .scn-walker .lg-b { animation: bld-step .62s steps(1) infinite reverse; }
@keyframes bld-step { 0% { opacity: 1; } 50% { opacity: 0; } }

/* Dimension lines, like a drawing: ink by day, white at night */
.dim { --dc: rgba(13,20,16,.9); z-index: 8; pointer-events: none; display: grid; place-items: center; }
.bld-view[data-time="night"] .dim { --dc: rgba(255,255,255,.85); }
.dim--x { height: 16px; border-inline: 2px solid var(--dc); background: linear-gradient(var(--dc), var(--dc)) center / 100% 2px no-repeat; }
.dim--y { width: 16px; border-block: 2px solid var(--dc); background: linear-gradient(var(--dc), var(--dc)) center / 2px 100% no-repeat; }
.dim--y span { position: absolute; right: calc(100% + 4px); top: 50%; transform: translateY(-50%); }
.dim--y.dim--r span { right: auto; left: calc(100% + 4px); }
.dim span { padding: 2px 8px; background: var(--yellow); color: var(--ink); border: 2px solid var(--ink); border-radius: var(--r); font-weight: 800; font-size: .8rem; line-height: 1.2; white-space: nowrap; font-variant-numeric: tabular-nums; }
.dim:empty, .dim[hidden] { display: none; }

.bld-readout { position: absolute; z-index: 9; top: 12px; right: 12px; padding: 6px 12px; background: var(--ink); color: var(--white); border-radius: var(--r); font-weight: 700; font-size: .95rem; font-variant-numeric: tabular-nums; box-shadow: 3px 3px 0 var(--yellow); }
.bld-view:not([data-type="plate"]) .bld-readout { top: auto; bottom: 12px; }

/* Letter styles on every sign (the view carries the chosen style) */
.bld-view[data-style="sans"] .sgn-t { font-family: var(--f-body); font-weight: 700; font-style: normal; letter-spacing: .005em; }
.bld-view[data-style="cond"] .sgn-t { font-family: var(--f-display); font-style: normal; font-weight: 800; font-stretch: 70%; text-transform: uppercase; letter-spacing: .03em; }
.bld-view[data-style="italic"] .sgn-t { font-family: var(--f-display); font-style: italic; font-weight: 850; font-stretch: 76%; text-transform: uppercase; letter-spacing: .01em; }
.bld-view[data-style="serif"] .sgn-t { font-family: Georgia, 'Times New Roman', serif; font-weight: 700; font-style: normal; letter-spacing: .01em; }
.sgn-t { display: block; white-space: pre; line-height: 1.04; }

/* Sheen that runs across a sign every few seconds */
.sheen { position: absolute; inset: 0; z-index: 5; pointer-events: none; border-radius: inherit; background: linear-gradient(100deg, rgba(255,255,255,0) 40%, rgba(255,255,255,.5) 48.5%, rgba(255,255,255,.1) 52%, rgba(255,255,255,0) 60%) no-repeat; background-size: 250% 100%; background-position: 100% 0; mix-blend-mode: soft-light; }

/* Glass reflections that drift slowly */
.glassref { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(112deg, rgba(255,255,255,0) 28%, rgba(255,255,255,.26) 34%, rgba(255,255,255,.04) 40%, rgba(255,255,255,0) 52%, rgba(255,255,255,.14) 60%, rgba(255,255,255,0) 66%); background-size: 260% 100%; background-position: 20% 0; transition: opacity .9s; }
.bld-live .glassref { animation: bld-drift 11s ease-in-out infinite alternate; }
@keyframes bld-drift { to { background-position: 80% 0; } }

/* ===== Shop sign ===== */
.sh-wall { inset: -20px; z-index: 0; background-color: #9a9d9a;
  background-image:
    url("../img/tex-noise-1.svg"), url("../img/tex-noise-2.svg"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='2400' height='1050' viewBox='0 0 2400 1050'%3E%3Crect width='2400' height='1050' fill='%23c6c8c3'/%3E%3Crect x='5' y='5' width='610' height='340' fill='%23aaaca8'/%3E%3Crect x='5' y='5' width='610' height='14' fill='%23fff' fill-opacity='.12'/%3E%3Crect x='5' y='331' width='610' height='14' fill='%23000' fill-opacity='.08'/%3E%3Crect x='625' y='5' width='750' height='340' fill='%23979a97'/%3E%3Crect x='625' y='5' width='750' height='14' fill='%23fff' fill-opacity='.12'/%3E%3Crect x='625' y='331' width='750' height='14' fill='%23000' fill-opacity='.08'/%3E%3Crect x='1385' y='5' width='460' height='340' fill='%23949794'/%3E%3Crect x='1385' y='5' width='460' height='14' fill='%23fff' fill-opacity='.12'/%3E%3Crect x='1385' y='331' width='460' height='14' fill='%23000' fill-opacity='.08'/%3E%3Crect x='1855' y='5' width='540' height='340' fill='%239fa29f'/%3E%3Crect x='1855' y='5' width='540' height='14' fill='%23fff' fill-opacity='.12'/%3E%3Crect x='1855' y='331' width='540' height='14' fill='%23000' fill-opacity='.08'/%3E%3Crect x='-245' y='355' width='540' height='340' fill='%23a7aaa6'/%3E%3Crect x='-245' y='355' width='540' height='14' fill='%23fff' fill-opacity='.12'/%3E%3Crect x='-245' y='681' width='540' height='14' fill='%23000' fill-opacity='.08'/%3E%3Crect x='305' y='355' width='690' height='340' fill='%239d9f9b'/%3E%3Crect x='305' y='355' width='690' height='14' fill='%23fff' fill-opacity='.12'/%3E%3Crect x='305' y='681' width='690' height='14' fill='%23000' fill-opacity='.08'/%3E%3Crect x='1005' y='355' width='550' height='340' fill='%23a7aaa6'/%3E%3Crect x='1005' y='355' width='550' height='14' fill='%23fff' fill-opacity='.12'/%3E%3Crect x='1005' y='681' width='550' height='14' fill='%23000' fill-opacity='.08'/%3E%3Crect x='1565' y='355' width='580' height='340' fill='%23aaaca8'/%3E%3Crect x='1565' y='355' width='580' height='14' fill='%23fff' fill-opacity='.12'/%3E%3Crect x='1565' y='681' width='580' height='14' fill='%23000' fill-opacity='.08'/%3E%3Crect x='2155' y='355' width='540' height='340' fill='%23a1a49f'/%3E%3Crect x='2155' y='355' width='540' height='14' fill='%23fff' fill-opacity='.12'/%3E%3Crect x='2155' y='681' width='540' height='14' fill='%23000' fill-opacity='.08'/%3E%3Crect x='5' y='705' width='470' height='340' fill='%239fa29f'/%3E%3Crect x='5' y='705' width='470' height='14' fill='%23fff' fill-opacity='.12'/%3E%3Crect x='5' y='1031' width='470' height='14' fill='%23000' fill-opacity='.08'/%3E%3Crect x='485' y='705' width='660' height='340' fill='%239d9f9b'/%3E%3Crect x='485' y='705' width='660' height='14' fill='%23fff' fill-opacity='.12'/%3E%3Crect x='485' y='1031' width='660' height='14' fill='%23000' fill-opacity='.08'/%3E%3Crect x='1155' y='705' width='740' height='340' fill='%23a3a5a1'/%3E%3Crect x='1155' y='705' width='740' height='14' fill='%23fff' fill-opacity='.12'/%3E%3Crect x='1155' y='1031' width='740' height='14' fill='%23000' fill-opacity='.08'/%3E%3Crect x='1905' y='705' width='490' height='340' fill='%239fa29f'/%3E%3Crect x='1905' y='705' width='490' height='14' fill='%23fff' fill-opacity='.12'/%3E%3Crect x='1905' y='1031' width='490' height='14' fill='%23000' fill-opacity='.08'/%3E%3C/svg%3E");
  background-size: 150px 150px, 180px 180px, calc(var(--mm) * 2400px) calc(var(--mm) * 1050px); background-position: 0 0, 2px 3px, var(--wallx, 50%) var(--wally, 100%); }
.sh-upper { z-index: 1; display: flex; justify-content: space-around; }
.sh-upper i { position: relative; display: block; width: calc(var(--mm) * 900px); height: 100%; background: linear-gradient(180deg, #33423f, #1d2725); border: calc(var(--mm) * 60px) solid #ecebe4; box-shadow: 0 calc(var(--mm) * 60px) 0 calc(var(--mm) * 40px) #b9bbb6; }
.sh-upper i::after { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: calc(var(--mm) * 50px); background: #ecebe4; }
.sh-front { z-index: 1; display: grid; grid-template-columns: 1fr calc(var(--mm) * 1050px) 1fr; gap: calc(var(--mm) * 100px); padding: calc(var(--mm) * 100px) calc(var(--mm) * 100px) 0; background: linear-gradient(180deg, #1f2b25, #16201b); box-shadow: inset 0 0 0 calc(var(--mm) * 25px) #0e1612; }
.sh-win, .sh-door { position: relative; overflow: clip; background: #1d2622; box-shadow: inset 0 0 0 calc(var(--mm) * 18px) #0c1310; }
.sh-win { margin-bottom: calc(var(--mm) * 560px); }
.sh-door { margin-bottom: 0; border-bottom: calc(var(--mm) * 700px) solid #1a2520; }
.sh-door::after { content: ''; position: absolute; z-index: 2; right: 12%; top: 38%; width: calc(var(--mm) * 40px); min-width: 2px; height: 26%; background: linear-gradient(90deg, #8f9796, #e3e7e6, #8f9796); border-radius: 2px; box-shadow: 0 0 0 1px rgba(0,0,0,.3); }
.sh-inside { position: absolute; inset: 0; background:
    radial-gradient(40% 18% at 30% 70%, rgba(214,170,110,.5), transparent 70%), radial-gradient(30% 14% at 72% 66%, rgba(200,150,95,.45), transparent 70%),
    repeating-linear-gradient(180deg, transparent 0 calc(var(--mm) * 620px), rgba(255,255,255,.1) calc(var(--mm) * 620px) calc(var(--mm) * 640px)),
    linear-gradient(180deg, #3b4743, #232c29); }
.sh-glows { inset: 0; z-index: 5; pointer-events: none; }
.sh-glows i { position: absolute; display: block; opacity: 0; mix-blend-mode: screen; background: radial-gradient(90% 70% at 50% 40%, rgba(255,214,140,.95), rgba(255,170,80,.55) 55%, rgba(200,120,50,.2)); transition: opacity 1s var(--ease); }
.bld-view[data-time="night"] .sh-glows i { opacity: .82; }
.bld-view[data-time="night"] .scn--shop .glassref { opacity: .25; }

.sh-fascia { --panel: #083D22; --letter: #F7F7F3; --ret: rgba(0,0,0,.45); z-index: 6; transition: filter .9s var(--ease); transform-origin: 50% 0; }
.sh-panel { position: absolute; inset: 0; display: grid; align-content: center; justify-items: center; gap: 0; padding: 0 5%; background: var(--panel); color: var(--letter); border-radius: 2px; overflow: visible; }
.sh-panel::before { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: linear-gradient(180deg, rgba(255,255,255,.14), rgba(255,255,255,0) 40%, rgba(0,0,0,.12)); }
.scn--shop[data-build="vinyl"] .sh-panel { box-shadow: inset 0 0 0 calc(var(--mm) * 20px) rgba(255,255,255,.14), 0 calc(var(--mm) * 25px) 0 #2d3431, 0 calc(var(--mm) * 40px) calc(var(--mm) * 60px) rgba(0,0,0,.4); }
.scn--shop[data-build="vinyl"] .sgn-t { text-shadow: 0 1px 0 rgba(0,0,0,.18); }
.scn--shop[data-build="printed"] .sh-panel { box-shadow: 0 calc(var(--mm) * 18px) 0 #2d3431, 0 calc(var(--mm) * 40px) calc(var(--mm) * 60px) rgba(0,0,0,.4); }
.scn--shop[data-build="printed"] .sh-panel::before { background: linear-gradient(180deg, rgba(255,255,255,.22), rgba(255,255,255,0) 30%, rgba(0,0,0,.1)), linear-gradient(115deg, rgba(255,255,255,0) 30%, rgba(255,255,255,.1) 45%, rgba(255,255,255,0) 60%); }
.scn--shop[data-build="builtup"] .sh-panel { box-shadow: 0 calc(var(--mm) * 70px) 0 var(--ret), 0 calc(var(--mm) * 70px) 0 calc(var(--mm) * 2px) rgba(0,0,0,.35), 0 calc(var(--mm) * 90px) calc(var(--mm) * 90px) rgba(0,0,0,.45); }
.scn--shop[data-build="builtup"] .sgn-t { text-shadow: .008em .012em 0 var(--lret), .016em .024em 0 var(--lret), .024em .036em 0 var(--lret), .032em .048em 0 var(--lret), .06em .1em .07em rgba(0,0,0,.45); }
.sh-l1, .sh-l2 { position: relative; z-index: 2; }
.sh-l2 { margin-top: .1em; }
.sh-panel[data-align="left"] { justify-items: start; }
.sh-panel[data-align="right"] { justify-items: end; }
.sh-wash { inset: 0; z-index: 3; pointer-events: none; opacity: 0; mix-blend-mode: screen; transition: opacity .9s var(--ease); }
.scn--shop[data-light="trough"] .sh-wash { background: linear-gradient(180deg, rgba(255,248,220,.55), rgba(255,248,220,.12) 65%, rgba(255,248,220,0)); }
.bld-view[data-time="night"] .scn--shop:not([data-light="none"]) .sh-wash { opacity: 1; }
.bld-view[data-time="night"] .scn--shop[data-light="none"] .sh-fascia { filter: brightness(.42) saturate(.65); }
.bld-view[data-time="night"] .scn--shop:not([data-light="none"]) .sh-fascia { filter: brightness(.92); }
.sh-trough { z-index: 7; border-radius: 2px; background: linear-gradient(180deg, #3b4241, #171b1a 70%, #0c0f0e); box-shadow: 0 calc(var(--mm) * 20px) calc(var(--mm) * 30px) rgba(0,0,0,.35); }
.scn--shop:not([data-light="trough"]) .sh-trough { display: none; }
.sh-trough::after { content: ''; position: absolute; left: 3%; right: 3%; bottom: -1px; height: 2px; background: #fffbe6; opacity: 0; box-shadow: 0 0 10px 3px rgba(255,244,200,.9); transition: opacity .6s; }
.bld-view[data-time="night"] .sh-trough::after { opacity: 1; }
.sh-trough__beam { position: absolute; left: 0; right: 0; top: 100%; height: 0; }
.sh-floods { inset: 0; z-index: 7; pointer-events: none; }
.scn--shop:not([data-light="flood"]) .sh-floods { display: none; }
.sh-flood { position: absolute; display: block; }
.sh-flood::before { content: ''; position: absolute; left: 50%; top: 0; width: 3px; height: 70%; margin-left: -1.5px; background: #1a1e1d; }
.sh-flood b { position: absolute; left: 50%; bottom: 0; width: 100%; height: 42%; transform: translateX(-50%) perspective(60px) rotateX(-28deg); background: linear-gradient(180deg, #3c4443, #121615); border-radius: 2px; box-shadow: 0 3px 6px rgba(0,0,0,.4); }
.sh-flood b::after { content: ''; position: absolute; left: 8%; right: 8%; bottom: 8%; height: 34%; background: #59605e; border-radius: 1px; transition: background-color .5s, box-shadow .5s; }
.bld-view[data-time="night"] .sh-flood b::after { background: #fffbe8; box-shadow: 0 0 12px 4px rgba(255,246,210,.85); }
.sh-flood i { position: absolute; left: 50%; top: 100%; width: 260%; height: 0; transform: translateX(-50%); clip-path: polygon(40% 0, 60% 0, 100% 100%, 0 100%); background: linear-gradient(180deg, rgba(255,247,215,.55), rgba(255,247,215,.05)); opacity: 0; mix-blend-mode: screen; transition: opacity .8s; }
.bld-view[data-time="night"] .sh-flood i { opacity: 1; }

/* ===== 3D built-up letters ===== */
.lw-wall { inset: -20px; z-index: 0; background-position: var(--wallx, 50%) var(--wally, 100%); }
.scn--letters[data-wall="brick"] .lw-wall { background-color: #9d4b33;
  background-image: url("../img/tex-noise-3.svg"), url("../img/tex-noise-4.svg"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='450' height='150' viewBox='0 0 450 150'%3E%3Crect width='450' height='150' fill='%23cfc1ae'/%3E%3Crect x='5' y='5' width='215' height='65' fill='%23a24e35'/%3E%3Crect x='230' y='5' width='215' height='65' fill='%23974631'/%3E%3Crect x='-107.5' y='80' width='215' height='65' fill='%23ab573b'/%3E%3Crect x='117.5' y='80' width='215' height='65' fill='%238f412d'/%3E%3Crect x='342.5' y='80' width='215' height='65' fill='%23a65239'/%3E%3C/svg%3E");
  background-size: 180px 180px, 150px 150px, calc(var(--mm) * 450px) calc(var(--mm) * 150px); }
.scn--letters[data-wall="render"] .lw-wall { background-color: #e3dccd;
  background-image: url("../img/tex-noise-3.svg"), radial-gradient(60% 40% at 30% 30%, rgba(255,255,255,.35), transparent), radial-gradient(50% 50% at 80% 70%, rgba(150,130,100,.12), transparent);
  background-size: 180px 180px, 100% 100%, 100% 100%; }
.scn--letters[data-wall="clad"] .lw-wall { background-color: #3a4144;
  background-image: linear-gradient(90deg, rgba(255,255,255,0) 30%, rgba(255,255,255,.05) 50%, rgba(255,255,255,0) 70%), repeating-linear-gradient(180deg, rgba(255,255,255,.07) 0 calc(var(--mm) * 6px), transparent calc(var(--mm) * 6px) calc(var(--mm) * 170px), #1e2325 calc(var(--mm) * 170px) calc(var(--mm) * 182px));
  background-size: 100% 100%, 100% calc(var(--mm) * 182px); }
.lw-door { z-index: 1; background: linear-gradient(180deg, #43504c, #26302d); border: calc(var(--mm) * 70px) solid #1b2220; border-bottom: 0; box-shadow: 0 0 0 calc(var(--mm) * 40px) rgba(0,0,0,.18); }
.lw-door i { position: absolute; inset: 8% 10% 40%; background: linear-gradient(120deg, rgba(255,255,255,.18) 20%, rgba(255,255,255,0) 40%), #2f3d3a; }
.lw-door::after { content: ''; position: absolute; right: 8%; top: 52%; width: 6%; height: 14%; background: #b8bfbd; border-radius: 1px; }
.lw-light { inset: -10%; z-index: 3; pointer-events: none; background: radial-gradient(40% 60% at 50% 50%, rgba(0,0,0,.16), transparent 70%); opacity: .0; }
.bld-live .scn--letters .lw-light { animation: bld-cloud 14s ease-in-out infinite; }
@keyframes bld-cloud { 0% { transform: translateX(-60%); opacity: 0; } 30% { opacity: .9; } 70% { opacity: .9; } 100% { transform: translateX(60%); opacity: 0; } }
.bld-view[data-time="night"] .lw-light { display: none; }

.l3d { --ret: #6d7578; --face: linear-gradient(#ddd, #999); --glow: #fff; z-index: 6; white-space: pre; line-height: 1; transition: filter .9s var(--ease); }
.l3d__ch { position: relative; display: inline-grid; vertical-align: baseline; }
.l3d__ch > span { grid-area: 1 / 1; display: block; }
.l3d__ch.is-space { width: .28em; }
.l3d__sh { color: rgba(0,0,0,.5); filter: blur(var(--shb, 2px)); transform: translate(calc(var(--shx, 4px) + var(--px) * -10px), calc(var(--shy, 6px) + var(--py) * -6px)); transition: opacity .9s; }
.l3d__halo { color: #fff4d6; --halo-x: 0; opacity: 0; filter: blur(var(--hb, 6px)); transform: translate(calc(var(--px) * -4px), calc(var(--py) * -3px)) scale(1.05); mix-blend-mode: screen; text-shadow: 0 0 .08em #fff1cf, 0 0 .2em rgba(255,226,160,.95), 0 0 .45em rgba(255,206,130,.8), 0 0 .9em rgba(255,190,110,.55), 0 0 1.6em rgba(255,180,100,.35); transition: opacity .9s var(--ease); }
.l3d__ext { color: var(--ret); text-shadow: var(--ext, none); }
.l3d__face { color: transparent; background: var(--face); background-size: 100% 100%; -webkit-background-clip: text; background-clip: text; transition: filter .9s var(--ease); }
.scn--letters[data-mat="steel"] .l3d { --ret: #646d70; --face: repeating-linear-gradient(90deg, rgba(255,255,255,.18) 0 1px, rgba(0,0,0,.04) 1px 3px), linear-gradient(180deg, #fbfcfc 0%, #c3c9cb 38%, #8b9496 52%, #d9dddf 70%, #f1f3f3 100%); }
.scn--letters[data-mat="brass"] .l3d { --ret: #7a5a1c; --face: repeating-linear-gradient(90deg, rgba(255,255,255,.12) 0 1px, rgba(0,0,0,.04) 1px 3px), linear-gradient(180deg, #fbe9a8 0%, #d9b14f 38%, #a77a26 54%, #e5c46a 74%, #f6dd92 100%); }
.scn--letters[data-mat="painted"] .l3d { --ret: color-mix(in srgb, var(--c) 55%, #000); --face: linear-gradient(180deg, color-mix(in srgb, var(--c) 72%, #fff) 0%, var(--c) 45%, color-mix(in srgb, var(--c) 82%, #000) 100%); }
.scn--letters[data-mat="acrylic"] .l3d { --ret: color-mix(in srgb, var(--c) 70%, #000); --face: linear-gradient(160deg, rgba(255,255,255,.55) 0 18%, rgba(255,255,255,0) 30%), linear-gradient(180deg, color-mix(in srgb, var(--c) 80%, #fff), var(--c)); }
.bld-view[data-time="night"] .l3d__sh { opacity: 0; }
.bld-view[data-time="night"] .scn--letters[data-lit="unlit"] .l3d { filter: brightness(.42) saturate(.7); }
.bld-view[data-time="night"] .scn--letters[data-lit="halo"] .l3d__halo { opacity: 1; }
.bld-view[data-time="night"] .scn--letters[data-lit="halo"] .l3d__face, .bld-view[data-time="night"] .scn--letters[data-lit="halo"] .l3d__ext { filter: brightness(.22) saturate(.6); }
.bld-view[data-time="night"] .scn--letters[data-lit="face"] .l3d__face { filter: brightness(1.35) saturate(1.2) drop-shadow(0 0 .05em var(--glow)) drop-shadow(0 0 .16em var(--glow)); }
.bld-view[data-time="night"] .scn--letters[data-lit="face"] .l3d__ext { filter: brightness(.45); }

/* ===== Projecting sign ===== */
.pj-sky { inset: 0; z-index: 0; background: linear-gradient(180deg, #a9bcc7 0%, #cdd9dc 55%, #e6ebe8 100%); }
.pj-sky::after { content: ''; position: absolute; inset: 0; opacity: .7; background: radial-gradient(30% 12% at 20% 22%, rgba(255,255,255,.75), transparent 70%), radial-gradient(26% 10% at 64% 14%, rgba(255,255,255,.6), transparent 70%), radial-gradient(34% 12% at 90% 30%, rgba(255,255,255,.55), transparent 70%); background-size: 100% 100%; }
.bld-live .pj-sky::after { animation: bld-clouds 40s linear infinite; }
@keyframes bld-clouds { from { background-position: 0 0; } to { background-position: 100vw 0; } }
.pj-town { left: -30px; right: -30px; z-index: 1; width: calc(100% + 60px); height: 34%; fill: #9eabab; }
.pj-town__win { fill: #b7c2c1; }
.pj-wall { left: -30px; top: -20px; bottom: 0; z-index: 2; background-color: #9a9d9a; box-shadow: inset -6px 0 0 #7f8380, 8px 0 18px rgba(0,0,0,.25);
  background-image: url("../img/tex-noise-1.svg"), url("../img/tex-noise-2.svg"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='2400' height='1050' viewBox='0 0 2400 1050'%3E%3Crect width='2400' height='1050' fill='%23c6c8c3'/%3E%3Crect x='5' y='5' width='610' height='340' fill='%23aaaca8'/%3E%3Crect x='5' y='5' width='610' height='14' fill='%23fff' fill-opacity='.12'/%3E%3Crect x='5' y='331' width='610' height='14' fill='%23000' fill-opacity='.08'/%3E%3Crect x='625' y='5' width='750' height='340' fill='%23979a97'/%3E%3Crect x='625' y='5' width='750' height='14' fill='%23fff' fill-opacity='.12'/%3E%3Crect x='625' y='331' width='750' height='14' fill='%23000' fill-opacity='.08'/%3E%3Crect x='1385' y='5' width='460' height='340' fill='%23949794'/%3E%3Crect x='1385' y='5' width='460' height='14' fill='%23fff' fill-opacity='.12'/%3E%3Crect x='1385' y='331' width='460' height='14' fill='%23000' fill-opacity='.08'/%3E%3Crect x='1855' y='5' width='540' height='340' fill='%239fa29f'/%3E%3Crect x='1855' y='5' width='540' height='14' fill='%23fff' fill-opacity='.12'/%3E%3Crect x='1855' y='331' width='540' height='14' fill='%23000' fill-opacity='.08'/%3E%3Crect x='-245' y='355' width='540' height='340' fill='%23a7aaa6'/%3E%3Crect x='-245' y='355' width='540' height='14' fill='%23fff' fill-opacity='.12'/%3E%3Crect x='-245' y='681' width='540' height='14' fill='%23000' fill-opacity='.08'/%3E%3Crect x='305' y='355' width='690' height='340' fill='%239d9f9b'/%3E%3Crect x='305' y='355' width='690' height='14' fill='%23fff' fill-opacity='.12'/%3E%3Crect x='305' y='681' width='690' height='14' fill='%23000' fill-opacity='.08'/%3E%3Crect x='1005' y='355' width='550' height='340' fill='%23a7aaa6'/%3E%3Crect x='1005' y='355' width='550' height='14' fill='%23fff' fill-opacity='.12'/%3E%3Crect x='1005' y='681' width='550' height='14' fill='%23000' fill-opacity='.08'/%3E%3Crect x='1565' y='355' width='580' height='340' fill='%23aaaca8'/%3E%3Crect x='1565' y='355' width='580' height='14' fill='%23fff' fill-opacity='.12'/%3E%3Crect x='1565' y='681' width='580' height='14' fill='%23000' fill-opacity='.08'/%3E%3Crect x='2155' y='355' width='540' height='340' fill='%23a1a49f'/%3E%3Crect x='2155' y='355' width='540' height='14' fill='%23fff' fill-opacity='.12'/%3E%3Crect x='2155' y='681' width='540' height='14' fill='%23000' fill-opacity='.08'/%3E%3Crect x='5' y='705' width='470' height='340' fill='%239fa29f'/%3E%3Crect x='5' y='705' width='470' height='14' fill='%23fff' fill-opacity='.12'/%3E%3Crect x='5' y='1031' width='470' height='14' fill='%23000' fill-opacity='.08'/%3E%3Crect x='485' y='705' width='660' height='340' fill='%239d9f9b'/%3E%3Crect x='485' y='705' width='660' height='14' fill='%23fff' fill-opacity='.12'/%3E%3Crect x='485' y='1031' width='660' height='14' fill='%23000' fill-opacity='.08'/%3E%3Crect x='1155' y='705' width='740' height='340' fill='%23a3a5a1'/%3E%3Crect x='1155' y='705' width='740' height='14' fill='%23fff' fill-opacity='.12'/%3E%3Crect x='1155' y='1031' width='740' height='14' fill='%23000' fill-opacity='.08'/%3E%3Crect x='1905' y='705' width='490' height='340' fill='%239fa29f'/%3E%3Crect x='1905' y='705' width='490' height='14' fill='%23fff' fill-opacity='.12'/%3E%3Crect x='1905' y='1031' width='490' height='14' fill='%23000' fill-opacity='.08'/%3E%3C/svg%3E");
  background-size: 150px 150px, 180px 180px, calc(var(--mm) * 2400px) calc(var(--mm) * 1050px); background-position: 0 0, 2px 3px, right bottom; }
.pj-wall i { position: absolute; left: 0; width: 45%; top: 8%; height: 26%; background: linear-gradient(180deg, #33423f, #1d2725); border: 6px solid #ecebe4; border-left: 0; }
.pj-bracket { z-index: 6; overflow: visible; }
.pj-bracket path, .pj-bracket rect, .pj-bracket circle { transition: fill .4s, stroke .4s; }
.pj-hang { z-index: 7; transform-origin: 50% 0; }
.pj-rod { position: absolute; top: 0; width: 3px; background: repeating-linear-gradient(180deg, #2a2e2d 0 4px, #5d6463 4px 6px); }
.pj-rod:first-child { left: 18%; } .pj-rod:nth-child(2) { right: 18%; }
.pj-sign { --panel: #083D22; --letter: #C9A13B; --edge: rgba(0,0,0,.5); position: absolute; left: 0; bottom: 0; display: grid; place-items: center; background: var(--panel); color: var(--letter); border-radius: var(--r); box-shadow: calc(var(--mm) * 18px) calc(var(--mm) * 8px) 0 var(--edge), calc(var(--mm) * 50px) calc(var(--mm) * 60px) calc(var(--mm) * 60px) rgba(0,0,0,.28); transition: filter .9s var(--ease); }
.scn--projecting[data-shape="round"] .pj-sign, .scn--projecting[data-shape="oval"] .pj-sign { border-radius: 50%; }
.pj-face { position: relative; z-index: 2; display: grid; place-items: center; align-content: center; width: 100%; height: 100%; border-radius: inherit; padding: 0 9%; }
.pj-face::before { content: ''; position: absolute; inset: 6%; border: max(1.5px, calc(var(--mm) * 12px)) solid var(--letter); border-radius: inherit; opacity: .9; }
.scn--projecting[data-shape="rect"] .pj-face::before { border-radius: 0; inset: 5%; }
.pj-sign::after { content: ''; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(180deg, rgba(255,255,255,.18), rgba(255,255,255,0) 45%, rgba(0,0,0,.14)); pointer-events: none; }
.scn--projecting[data-box="yes"] .pj-sign { box-shadow: calc(var(--mm) * 45px) calc(var(--mm) * 18px) 0 #1d2221, calc(var(--mm) * 45px) calc(var(--mm) * 18px) 0 calc(var(--mm) * 3px) #0c0f0e, calc(var(--mm) * 60px) calc(var(--mm) * 70px) calc(var(--mm) * 60px) rgba(0,0,0,.3); }
.pj-l1, .pj-l2 { position: relative; text-align: center; }
.pj-l2 { margin-top: .12em; }
.pj-glow { z-index: 6; pointer-events: none; opacity: 0; border-radius: 50%; background: radial-gradient(closest-side, rgba(255,240,200,.3), rgba(255,240,200,.08) 60%, rgba(255,240,200,0)); mix-blend-mode: screen; transition: opacity .9s var(--ease); }
.bld-view[data-time="night"] .scn--projecting[data-box="no"] .pj-sign { filter: brightness(.5) saturate(.7); }
.bld-view[data-time="night"] .scn--projecting[data-box="yes"] .pj-sign { filter: brightness(1.18) saturate(1.1); }
.bld-view[data-time="night"] .scn--projecting[data-box="yes"] .pj-glow { opacity: 1; }
.bld-view[data-time="night"] .pj-bracket { filter: brightness(.5); }

/* ===== Window lettering ===== */
.wn-wall { inset: -20px; z-index: 0; background-color: #e2dccf; background-image: url("../img/tex-noise-3.svg"), radial-gradient(60% 50% at 20% 30%, rgba(255,255,255,.3), transparent); background-size: 180px 180px, 100% 100%; }
.wn-frame { --frame: #0F3B24; z-index: 1; display: grid; grid-template-rows: 1fr auto; padding: calc(var(--mm) * 90px) calc(var(--mm) * 90px) 0; background: linear-gradient(180deg, #145031, var(--frame)); box-shadow: inset 0 0 0 calc(var(--mm) * 22px) #0a2b1a, 0 0 0 calc(var(--mm) * 30px) #cfc8b8; }
.wn-glass { position: relative; overflow: clip; box-shadow: inset 0 0 0 calc(var(--mm) * 14px) #082516; }
.wn-inside { position: absolute; inset: 0; background: linear-gradient(180deg, #45534e, #262f2c 70%, #1e2523); }
.wn-inside::after { content: ''; position: absolute; inset: 0; opacity: 0; background: radial-gradient(70% 60% at 50% 30%, #fff1d2, #f2c98d 55%, #c48c4f); transition: opacity 1s var(--ease); }
.bld-view[data-time="night"] .wn-inside::after { opacity: .92; }
.wn-shelf { position: absolute; z-index: 1; left: 6%; width: 24%; height: 3%; background: rgba(255,255,255,.18); box-shadow: 0 calc(var(--mm) * 280px) 0 rgba(255,255,255,.14); }
.wn-shelf::before { content: ''; position: absolute; left: 4%; right: 4%; bottom: 100%; height: 260%; background: radial-gradient(closest-side, #c99a5c 60%, transparent) 0 100% / 26% 100% repeat-x; opacity: .75; }
.wn-shelf:nth-child(1) { top: 40%; } .wn-shelf:nth-child(2) { left: auto; right: 6%; top: 46%; }
.wn-counter { position: absolute; z-index: 1; left: 32%; right: 32%; bottom: 0; height: 30%; background: linear-gradient(180deg, rgba(255,255,255,.2), rgba(255,255,255,.06)); }
.wn-pend { position: absolute; z-index: 1; top: 0; width: 1px; height: 14%; background: rgba(255,255,255,.35); }
.wn-pend::after { content: ''; position: absolute; left: -9px; bottom: -8px; width: 19px; height: 10px; border-radius: 10px 10px 2px 2px; background: #c9cfcc; box-shadow: 0 6px 12px 2px rgba(255,220,150,.5); }
.wn-pend:nth-of-type(4) { left: 30%; } .wn-pend:nth-of-type(5) { left: 50%; height: 18%; } .wn-pend:nth-of-type(6) { left: 70%; }
.bld-view[data-time="night"] .wn-pend::after { box-shadow: 0 6px 18px 6px rgba(255,220,150,.9); }
.wn-band { position: absolute; left: 0; right: 0; z-index: 2; display: none; background: repeating-linear-gradient(90deg, rgba(255,255,255,0) 0 calc(var(--mm) * 80px), rgba(255,255,255,.18) calc(var(--mm) * 80px) calc(var(--mm) * 84px)), rgba(236,242,240,.62); -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px); box-shadow: inset 0 1px 0 rgba(255,255,255,.5), inset 0 -1px 0 rgba(255,255,255,.4); }
.scn--window[data-band="yes"] .wn-band { display: block; }
.wn-words { position: absolute; z-index: 3; left: 0; right: 0; display: grid; justify-items: center; color: var(--vinyl, #C9A13B); }
.wn-words[data-align="left"] { justify-items: start; } .wn-words[data-align="right"] { justify-items: end; }
.wn-words .sgn-t { text-shadow: 0 0 1px rgba(0,0,0,.25); }
.wn-l2 { margin-top: .25em; }
.wn-hours { position: absolute; z-index: 3; display: none; gap: .2em; color: var(--vinyl, #C9A13B); font-size: 10px; line-height: 1.25; font-family: var(--f-body); }
.scn--window[data-hours="yes"] .wn-hours { display: grid; }
.wn-hours b { font-weight: 800; text-transform: uppercase; letter-spacing: .06em; padding-bottom: .25em; margin-bottom: .1em; border-bottom: 1px solid currentColor; }
.wn-hours span { display: flex; justify-content: space-between; gap: 1.2em; font-weight: 600; }
.wn-hours em { font-style: normal; }
.wn-vgold .wn-words, .wn-vgold .wn-hours { text-shadow: 0 1px 0 rgba(255,240,190,.4); }
.wn-ref { position: absolute; inset: 0; z-index: 4; pointer-events: none; mix-blend-mode: screen; background:
    linear-gradient(112deg, rgba(255,255,255,0) 20%, rgba(255,255,255,.22) 27%, rgba(255,255,255,.03) 33%, rgba(255,255,255,0) 48%, rgba(255,255,255,.16) 55%, rgba(255,255,255,0) 61%),
    linear-gradient(0deg, rgba(150,170,180,.18) 0 22%, transparent 22%); background-size: 240% 100%, 100% 100%; background-position: 10% 0, 0 0; transition: opacity .9s; }
.bld-live .wn-ref { animation: bld-ref 12s ease-in-out infinite alternate; }
@keyframes bld-ref { to { background-position: 90% 0, 0 0; } }
.bld-view[data-time="night"] .wn-ref { opacity: .2; }
.bld-view[data-time="night"] .wn-words, .bld-view[data-time="night"] .wn-hours { filter: drop-shadow(0 0 1px rgba(30,18,4,.9)) drop-shadow(0 1px 2px rgba(30,18,4,.55)); }
.wn-squeegee { position: absolute; z-index: 6; top: 0; bottom: 0; left: 0; width: calc(var(--mm) * 60px); min-width: 8px; background: var(--yellow); border: 2px solid var(--ink); border-radius: var(--r); opacity: 0; pointer-events: none; }
.wn-riser { position: relative; height: calc(var(--mm) * 560px); margin: calc(var(--mm) * 90px) calc(var(--mm) * -90px) 0; background: linear-gradient(180deg, #145031, #0c3720); box-shadow: inset 0 0 0 calc(var(--mm) * 60px) #0e3e25, inset 0 0 0 calc(var(--mm) * 70px) #0a2b1a; }
.wn-spill { z-index: 5; pointer-events: none; opacity: 0; transition: opacity 1s var(--ease); background: linear-gradient(180deg, rgba(255,220,160,.12), rgba(255,220,160,.28)); mix-blend-mode: screen; }
.bld-view[data-time="night"] .wn-spill { opacity: 1; }

/* ===== Van lettering ===== */
.vn-unit { left: -60px; right: -60px; top: 0; z-index: 0; background-color: #c9cfcc;
  background-image: linear-gradient(180deg, rgba(0,0,0,.12) 0 4%, transparent 4%), repeating-linear-gradient(90deg, #d3d8d5 0 calc(var(--mm) * 200px), #b6bdb9 calc(var(--mm) * 200px) calc(var(--mm) * 230px), #e1e5e3 calc(var(--mm) * 230px) calc(var(--mm) * 250px), #c9cfcc calc(var(--mm) * 250px) calc(var(--mm) * 333px)); }
.vn-door { position: absolute; bottom: 0; width: calc(var(--mm) * 4000px); height: calc(var(--mm) * 4200px); max-height: 92%; background: repeating-linear-gradient(180deg, #7d8682 0 calc(var(--mm) * 80px), #6b7470 calc(var(--mm) * 80px) calc(var(--mm) * 100px)); border: calc(var(--mm) * 80px) solid #5a625e; border-bottom: 0; transition: opacity .5s; }
.vn-door:nth-child(1) { left: 8%; } .vn-door:nth-child(2) { left: 64%; }
.scn--van[data-drive="road"] .vn-door { opacity: 0; }
.vn-road { left: -60px; right: -60px; bottom: 0; z-index: 1; background: #4d5350; background-image: radial-gradient(rgba(255,255,255,.08) 1px, transparent 1.5px); background-size: 5px 5px; }
.vn-kerb { position: absolute; left: 0; right: 0; top: 0; height: 12%; background: repeating-linear-gradient(90deg, #a9aeab 0 calc(var(--mm) * 900px), #8f9592 calc(var(--mm) * 900px) calc(var(--mm) * 915px)); box-shadow: 0 3px 0 rgba(0,0,0,.25); }
.vn-dash { position: absolute; left: 0; right: 0; bottom: 30%; height: 5%; min-height: 3px; background: repeating-linear-gradient(90deg, rgba(255,255,255,.85) 0 calc(var(--mm) * 3000px), transparent calc(var(--mm) * 3000px) calc(var(--mm) * 9000px)); }
.bld-live .scn--van[data-drive="road"] .vn-unit { animation: bld-road 1.6s linear infinite; filter: blur(1.2px); }
.bld-live .scn--van[data-drive="road"] .vn-kerb, .bld-live .scn--van[data-drive="road"] .vn-dash { animation: bld-road .9s linear infinite; }
@keyframes bld-road { from { background-position-x: 0; } to { background-position-x: calc(var(--mm) * 9000px); } }
.vn-car { z-index: 3; }
.vn-bob { position: absolute; inset: 0; }
.vn-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.vn-shadow { position: absolute; left: 4%; right: 2%; bottom: -3%; height: 8%; border-radius: 50%; background: radial-gradient(closest-side, rgba(0,0,0,.5), rgba(0,0,0,0)); z-index: -1; }
.vn-wheel { transform-box: fill-box; transform-origin: 50% 50%; }
.bld-live .scn--van[data-drive="road"] .vn-wheel, .bld-live .scn--van.is-rolling .vn-wheel { animation: bld-spin .45s linear infinite; }
.bld-live .scn--van[data-drive="road"] .vn-bob { animation: bld-bob .5s ease-in-out infinite alternate; }
@keyframes bld-spin { to { transform: rotate(-360deg); } }
@keyframes bld-bob { from { transform: translateY(0); } to { transform: translateY(-1.5px); } }
.vn-t { font-family: var(--f-body); font-weight: 700; }
.bld-view[data-style="cond"] .vn-t { font-family: var(--f-display); font-weight: 800; font-stretch: 70%; text-transform: uppercase; }
.bld-view[data-style="italic"] .vn-t { font-family: var(--f-display); font-style: italic; font-weight: 850; font-stretch: 76%; text-transform: uppercase; }
.bld-view[data-style="serif"] .vn-t { font-family: Georgia, 'Times New Roman', serif; font-weight: 700; }
.vn-t--small { font-family: var(--f-body) !important; font-style: normal !important; font-stretch: 100% !important; font-weight: 700 !important; }

/* ===== Plates and plaques: backdrops sized in millimetres so they scale with the plate ===== */
.scn--plate::after { content: ''; position: absolute; inset: 0; z-index: 3; pointer-events: none; background: radial-gradient(120% 90% at 40% 20%, rgba(255,255,255,.14), rgba(255,255,255,0) 55%), radial-gradient(140% 120% at 50% 50%, rgba(0,0,0,0) 55%, rgba(0,0,0,.22)); }
.bld-back { inset: 0; opacity: 0; transition: opacity .55s var(--ease), transform .8s var(--ease); transform: scale(1.04); }
.bld-view[data-setting="door"] .bld-back--door, .bld-view[data-setting="wall"] .bld-back--wall, .bld-view[data-setting="panel"] .bld-back--panel { opacity: 1; transform: none; }

/* Office door: light oak leaf in a painted frame on a plastered wall */
.bld-back--door { background: #ebe6dc; }
.bld-door { position: absolute; top: -40%; bottom: -40%; left: calc(var(--cx) - var(--mm) * 420px); width: calc(var(--mm) * 840px);
  background:
    repeating-linear-gradient(90deg, rgba(122,78,32,0) 0, rgba(122,78,32,.16) calc(var(--mm) * 2px), rgba(122,78,32,0) calc(var(--mm) * 6px), rgba(255,238,205,.12) calc(var(--mm) * 9px), rgba(122,78,32,0) calc(var(--mm) * 15px)),
    repeating-linear-gradient(91.2deg, rgba(110,70,28,0) 0, rgba(110,70,28,.1) calc(var(--mm) * 24px), rgba(110,70,28,0) calc(var(--mm) * 58px)),
    linear-gradient(90deg, #d8b074, #caa061 22%, #dcb67d 47%, #c99b5d 71%, #d6ad72);
  box-shadow: 0 0 0 calc(var(--mm) * 4px) #b89464, 0 0 0 calc(var(--mm) * 10px) #d9d2c3, 0 0 0 calc(var(--mm) * 75px) #f4f1ea, 0 0 0 calc(var(--mm) * 77px) #d7d0c2; }
.bld-door__lever { position: absolute; left: calc(var(--mm) * 760px); top: calc(22.222% + var(--cy) + var(--mm) * 520px); width: calc(var(--mm) * 130px); height: calc(var(--mm) * 20px); border-radius: calc(var(--mm) * 10px); background: linear-gradient(180deg, #f1f3f3, #9ea5a6 60%, #cfd4d4); box-shadow: 0 calc(var(--mm) * 6px) calc(var(--mm) * 8px) rgba(0,0,0,.3); transform: translateX(-100%); }

/* Plant room wall: painted blockwork, 440 x 215 mm blocks with 10 mm joints in stretcher bond */
.bld-back--wall { background-color: #d9d5c9;
  background-image:
    radial-gradient(rgba(0,0,0,.06) 1px, transparent 1.6px),
    radial-gradient(rgba(255,255,255,.35) 1px, transparent 1.6px),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='450' height='450' viewBox='0 0 450 450'%3E%3Crect width='450' height='450' fill='%23bdb7a8'/%3E%3Cg fill='%23dedace'%3E%3Crect x='5' y='5' width='440' height='215'/%3E%3Crect x='-220' y='230' width='440' height='215'/%3E%3Crect x='230' y='230' width='440' height='215'/%3E%3C/g%3E%3Cg fill='none' stroke='%23fff' stroke-opacity='.35' stroke-width='3'%3E%3Cpath d='M6 219V6h438M-219 444V231h438M231 444V231h438'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 7px 7px, 11px 11px, calc(var(--mm) * 450px) calc(var(--mm) * 450px);
  background-position: 0 0, 3px 5px, calc(var(--cx) - var(--mm) * 225px) calc(var(--cy) - var(--mm) * 112px); }
.bld-conduit { position: absolute; left: -2%; right: -2%; top: calc(var(--cy) - (var(--phmm) / 2 + 120) * var(--mm) * 1px); height: calc(var(--mm) * 25px); min-height: 5px; background: linear-gradient(180deg, #f5f6f5, #c5cac9 45%, #8f9695 90%); box-shadow: 0 calc(var(--mm) * 8px) calc(var(--mm) * 10px) rgba(0,0,0,.18); }
.bld-conduit::before { content: ''; position: absolute; inset: calc(var(--mm) * -5px) 0; background: repeating-linear-gradient(90deg, transparent 0 calc(var(--mm) * 380px), #aeb4b3 calc(var(--mm) * 380px) calc(var(--mm) * 400px)); background-position: var(--cx) 0; }

/* Machine panel: grey steel with a seam and two 22 mm pilot lamps for scale */
.bld-back--panel { background:
    repeating-linear-gradient(0deg, rgba(255,255,255,.08) 0 1px, rgba(0,0,0,.035) 1px 2px),
    linear-gradient(100deg, rgba(255,255,255,0) 20%, rgba(255,255,255,.16) 45%, rgba(255,255,255,0) 70%),
    linear-gradient(180deg, #a9b0b2, #8e9699 60%, #a0a7a9); }
.bld-seam { position: absolute; top: 0; bottom: 0; left: calc(var(--cx) + (var(--pwmm) / 2 + 150) * var(--mm) * 1px); width: 2px; background: rgba(0,0,0,.35); box-shadow: 1px 0 0 rgba(255,255,255,.35); }
.bld-lamp { position: absolute; width: calc(var(--mm) * 30px); min-width: 7px; aspect-ratio: 1; border-radius: 50%; left: calc(var(--cx) + (var(--pwmm) / 2 + 45) * var(--mm) * 1px); box-shadow: 0 0 0 calc(var(--mm) * 5px) #c9cecf, 0 0 0 calc(var(--mm) * 6px) #6f7678, 0 calc(var(--mm) * 5px) calc(var(--mm) * 10px) calc(var(--mm) * 5px) rgba(0,0,0,.25); }
.bld-lamp--g { top: calc(var(--cy) - var(--mm) * 40px); background: radial-gradient(circle at 38% 34%, #b9ffcf, #18a64a 45%, #0a5a26); }
.bld-lamp--r { top: calc(var(--cy) + var(--mm) * 12px); background: radial-gradient(circle at 38% 34%, #ffc7c2, #d7322b 45%, #7a1512); }

/* The plate on the stage (JS sets size and position in pixels from the real size in mm) */
.bld-anchor { z-index: 2; left: 27%; top: 28%; width: 46%; }
.scn--plate .plate { --ink-c: #111; --ink-sh: none; width: 100%; height: 100%; aspect-ratio: auto; padding: 0 7%; justify-items: center; transform-origin: 50% 50%;
  box-shadow: 0 1px 0 rgba(255,255,255,.45) inset, 0 -1px 0 rgba(0,0,0,.2) inset, calc(var(--mm) * 2px) calc(var(--mm) * 5px) calc(var(--mm) * 8px) rgba(0,0,0,.32), 0 1px 2px rgba(0,0,0,.3); }
.no-js .scn--plate .plate { aspect-ratio: 200 / 75; }
.scn--plate .plate[data-fix="adhesive"] { box-shadow: 0 1px 0 rgba(255,255,255,.45) inset, 0 -1px 0 rgba(0,0,0,.2) inset, 0 1px 2px rgba(0,0,0,.35); }
.scn--plate .plate[data-fix="standoff"] { box-shadow: 0 1px 0 rgba(255,255,255,.45) inset, 0 -1px 0 rgba(0,0,0,.2) inset, calc(var(--mm) * 10px) calc(var(--mm) * 22px) calc(var(--mm) * 26px) rgba(0,0,0,.34), calc(var(--mm) * 3px) calc(var(--mm) * 6px) calc(var(--mm) * 6px) rgba(0,0,0,.2); }
.scn--plate .plate--acrylic { box-shadow: 0 0 0 1px rgba(255,255,255,.7) inset, 0 0 0 2px rgba(0,0,0,.08), calc(var(--mm) * 3px) calc(var(--mm) * 6px) calc(var(--mm) * 10px) rgba(0,0,0,.22); }
.scn--plate .plate[data-align="left"] { justify-items: start; }
.scn--plate .plate[data-align="right"] { justify-items: end; }
.scn--plate .plate .plate__text { color: var(--ink-c); text-shadow: var(--ink-sh); letter-spacing: .01em; }
html.js .scn--plate .plate .plate__text { white-space: pre; width: max-content; overflow-wrap: normal; }
.no-js .scn--plate .plate .plate__text { font-size: clamp(1.1rem, 2.6vw, 2rem); }
.scn--plate .plate[data-align="left"] .plate__text { text-align: left; }
.scn--plate .plate[data-align="right"] .plate__text { text-align: right; }
.scn--plate .plate[data-align="center"] .plate__text { text-align: center; }
.scn--plate .plate__text.is-empty { opacity: .45; }

/* Letter styles on plates */
.plate[data-style="sans"] .plate__text { font-family: var(--f-body); font-weight: 700; font-style: normal; }
.plate[data-style="cond"] .plate__text { font-family: var(--f-display); font-style: normal; font-weight: 800; font-stretch: 70%; text-transform: uppercase; letter-spacing: .03em; }
.plate[data-style="italic"] .plate__text { font-family: var(--f-display); font-style: italic; font-weight: 850; font-stretch: 76%; text-transform: uppercase; letter-spacing: .01em; }
.plate[data-style="serif"] .plate__text { font-family: Georgia, 'Times New Roman', serif; font-weight: 700; font-style: normal; letter-spacing: .015em; }

/* Safety green laminate a shade deeper so white letters pass AA */
.scn--plate .plate--green, .bld-chip.plate--green { background: linear-gradient(180deg, #0f7a39, #0a6330); }

/* Letter colour by material and process */
.scn--plate .plate--steel, .scn--plate .plate--anod, .scn--plate .plate--white, .scn--plate .plate--yellow { --ink-c: #121516; }
.scn--plate .plate--brass { --ink-c: #1a1206; }
.scn--plate .plate--black { --ink-c: #f4f4ef; }
.scn--plate .plate--green, .scn--plate .plate--red { --ink-c: #ffffff; }
.scn--plate .plate--acrylic { --ink-c: #0f1c1d; }
.scn--plate .plate[data-proc="engrave"] { --ink-sh: 0 1px 0 rgba(255,255,255,.35), 0 -1px 0 rgba(0,0,0,.4); }
.scn--plate .plate--black[data-proc="engrave"], .scn--plate .plate--green[data-proc="engrave"], .scn--plate .plate--red[data-proc="engrave"] { --ink-sh: 0 -1px 0 rgba(0,0,0,.45), 0 1px 0 rgba(255,255,255,.12); }
.scn--plate .plate[data-proc="etch"] { --ink-sh: 0 1px 1px rgba(255,255,255,.55), 0 -1px 0 rgba(0,0,0,.35); }
.scn--plate .plate[data-proc="laser"] { --ink-sh: 0 0 .6px rgba(0,0,0,.35); }
.scn--plate .plate--steel[data-proc="laser"] { --ink-c: #2c3233; }
.scn--plate .plate--anod[data-proc="laser"] { --ink-c: #353b3d; }
.scn--plate .plate--black[data-proc="laser"], .scn--plate .plate--green[data-proc="laser"], .scn--plate .plate--red[data-proc="laser"] { --ink-sh: none; }

/* Screw holes and stand-off caps sized in mm by JS */
.scn--plate .plate[data-fix] .plate__hole { width: var(--hole, 8px); }
.scn--plate .plate .plate__hole--tl { top: var(--hin, 6px); left: var(--hin, 6px); }
.scn--plate .plate .plate__hole--tr { top: var(--hin, 6px); right: var(--hin, 6px); left: auto; }
.scn--plate .plate .plate__hole--bl { bottom: var(--hin, 6px); left: var(--hin, 6px); top: auto; }
.scn--plate .plate .plate__hole--br { bottom: var(--hin, 6px); right: var(--hin, 6px); top: auto; left: auto; }
.scn--plate .plate[data-fix="screws"] .plate__hole { background: radial-gradient(circle at 50% 50%, rgba(0,0,0,.35) 0 7%, transparent 8%), linear-gradient(45deg, transparent 44%, rgba(0,0,0,.45) 45% 55%, transparent 56%), radial-gradient(circle at 40% 35%, #f4f4f4 0 18%, #b8bebd 45%, #6b7170 80%); }

/* Material sheen on plates */
.plate__sheen { position: absolute; z-index: 4; inset: 0; pointer-events: none; background: linear-gradient(100deg, rgba(255,255,255,0) 40%, rgba(255,255,255,.6) 48.5%, rgba(255,255,255,.14) 52%, rgba(255,255,255,0) 60%) no-repeat; background-size: 250% 100%; background-position: 100% 0; mix-blend-mode: soft-light; }
.plate--black .plate__sheen, .plate--green .plate__sheen, .plate--red .plate__sheen { mix-blend-mode: screen; opacity: .6; }

/* Rulers along the bottom and side, drawn in mm by JS */
.bld-ruler { z-index: 4; display: block; background: rgba(255,255,255,.93); color: var(--ink); max-width: none; }
.bld-ruler--x { left: 52px; right: 0; bottom: 0; height: 40px; width: calc(100% - 52px); box-shadow: inset 0 2px 0 var(--ink); }
.bld-ruler--y { left: 0; top: 0; bottom: 40px; width: 52px; height: calc(100% - 40px); box-shadow: inset -2px 0 0 var(--ink); }
.bld-ruler text { font-family: var(--f-body); font-size: 14px; font-weight: 600; fill: var(--ink); font-variant-numeric: tabular-nums; }
.bld-ruler .is-end { font-weight: 800; }
.bld-ruler__corner { z-index: 5; left: 0; bottom: 0; width: 52px; height: 40px; display: grid; place-items: center; background: var(--yellow); border-top: 2px solid var(--ink); border-right: 2px solid var(--ink); font-weight: 800; font-size: .875rem; color: var(--ink); }
.no-js .bld-ruler, .no-js .bld-ruler__corner { display: none; }

/* ---------- Controls ---------- */
.bld-controls { display: grid; gap: 22px; min-width: 0; }
.bld-card { display: grid; gap: 20px; min-width: 0; background: var(--white); color: var(--ink); border-radius: var(--r); padding: clamp(18px, 2vw, 26px); box-shadow: 8px 8px 0 var(--yellow); }
.bld-group { border: 0; margin: 0; padding: 0; min-width: 0; }
.bld-label { display: block; float: left; width: 100%; padding: 0; margin: 0 0 10px; font-weight: 800; font-size: .875rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink); }
.bld-label + * { clear: both; }
.bld-label__val { font-weight: 600; text-transform: none; letter-spacing: 0; color: var(--steel); }
.bld-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 20px; }
.bld-hint { margin: 8px 0 0; font-size: .9rem; line-height: 1.45; color: var(--steel); }
.bld-hint--note:empty { display: none; }
.bld-hint--note { color: var(--ink); background: #fff6c2; border-left: 4px solid var(--yellow); padding: 6px 10px; }
.bld-card > .bld-hint--note { margin: -6px 0 0; }
.bld-link { color: var(--green-text); font-weight: 700; display: inline-block; padding: 10px 0; margin: -10px 0; }

.bld-text, .bld-input { display: block; width: 100%; padding: 12px 14px; border: 2px solid var(--ink); border-radius: var(--r); background: var(--white); color: var(--ink); font-size: 1.1rem; line-height: 1.45; }
.bld-text { min-height: 104px; resize: vertical; }
.bld-input { min-height: 50px; }
.bld-text:focus-visible, .bld-num:focus-visible, .bld-input:focus-visible { outline: 3px solid var(--green-text, #0A7030); outline-offset: 2px; box-shadow: none; }

.bld-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.bld-opts--stack { display: grid; }
.bld-opt { position: relative; display: block; }
.bld-opt input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; z-index: 1; }
.bld-opt input:disabled { cursor: not-allowed; }
.bld-opt > span { display: flex; align-items: center; gap: 9px; min-height: 44px; padding: 7px 13px; border: 2px solid var(--line); border-radius: var(--r); background: var(--white); color: var(--ink); font-weight: 600; font-size: .95rem; line-height: 1.25; transition: border-color .2s, background-color .2s, box-shadow .2s var(--ease), transform .2s var(--ease); }
.bld-opt > span svg { width: 20px; height: 18px; flex: none; }
.bld-opt small { display: block; font-size: .875rem; font-weight: 500; color: var(--steel); }
.bld-opt__name { display: block; font-weight: 700; }
.bld-opt:hover input:not(:disabled) + span { border-color: var(--ink); }
.bld-opt input:checked + span { border-color: var(--ink); background: var(--yellow); box-shadow: 3px 3px 0 var(--ink); transform: translate(-1px, -1px); }
.bld-opt input:checked + span small { color: #3d3a1f; }
.bld-opt input:focus-visible + span { outline: 3px solid var(--green-text, #0A7030); outline-offset: 3px; }
.bld-opt input:disabled + span { border-style: dashed; background: var(--galv); color: var(--steel); }
.bld-opt input:disabled + span .bld-opt__name { text-decoration: line-through; text-decoration-thickness: 1px; }
.bld-opts--stack .bld-opt > span { justify-content: space-between; flex-wrap: wrap; gap: 2px 12px; }
.bld-opts--stack .bld-opt small { display: inline; }
.bld-opt > span:has(small):not(:has(.bld-chip, .bld-vicon)) { flex-direction: column; align-items: flex-start; justify-content: center; gap: 0; }
.bld-opts--stack .bld-opt > span:has(small) { flex-direction: row; align-items: center; justify-content: space-between; gap: 2px 12px; }

/* Tick boxes */
.bld-tick { position: relative; width: 22px; height: 22px; flex: none; border: 2px solid var(--ink); border-radius: var(--r); background: var(--white); }
.bld-opt input:checked + span .bld-tick::after { content: ''; position: absolute; left: 5px; top: 1px; width: 7px; height: 12px; border: solid var(--ink); border-width: 0 3px 3px 0; transform: rotate(45deg); }

/* Setting chips on the dark stage bar */
.bld-opt--dark > span { background: transparent; color: var(--white); border-color: rgba(255,255,255,.35); }
.bld-opt--dark > span svg { width: 18px; height: 18px; }
.bld-opt--dark:hover input + span { border-color: var(--white); }
.bld-opt--dark input:checked + span { color: var(--ink); background: var(--yellow); border-color: var(--yellow); box-shadow: none; transform: none; }
.bld-opt--dark input:focus-visible + span { outline-color: var(--yellow); }

/* Colour swatches */
.bld-sws { display: flex; flex-wrap: wrap; gap: 8px; }
.bld-sw { position: relative; display: block; }
.bld-sw input { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.bld-sw > span { position: relative; display: block; width: 44px; height: 44px; border-radius: var(--r); background: var(--sw); box-shadow: inset 0 0 0 2px rgba(13,20,16,.2); transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.bld-sw > span.is-gold { background: linear-gradient(135deg, #f2d77f, #b88a2c 55%, #e7c768); }
.bld-sw > span.is-silver { background: linear-gradient(135deg, #f1f3f4, #a3aaad 55%, #d8dcdd); }
.bld-sw:hover > span { transform: translateY(-2px); }
.bld-sw input:checked + span { transform: translate(-1px, -2px); box-shadow: inset 0 0 0 2px rgba(13,20,16,.2), 0 0 0 3px var(--white), 0 0 0 5px var(--ink), 4px 5px 0 5px var(--yellow); }
.bld-sw input:checked + span::after { content: ''; position: absolute; right: -6px; bottom: -6px; width: 16px; height: 16px; background: var(--yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='%230D1410' stroke-width='2.4'/%3E%3C/svg%3E") center / 12px no-repeat; border: 2px solid var(--ink); border-radius: var(--r); }
.bld-sw input:focus-visible + span { outline: 3px solid var(--green-text); outline-offset: 7px; }

/* Sliders */
.bld-range { display: grid; grid-template-columns: 4.2rem minmax(0, 1fr) 4.6rem; align-items: center; gap: 12px; min-height: 48px; }
.bld-range label { font-weight: 600; font-size: .95rem; }
.bld-range input[type="range"] { --fill: 50%; -webkit-appearance: none; appearance: none; width: 100%; height: 44px; margin: 0; background: transparent; cursor: pointer; }
.bld-range input[type="range"]::-webkit-slider-runnable-track { height: 10px; border: 2px solid var(--ink); border-radius: var(--r); background: linear-gradient(var(--yellow), var(--yellow)) 0 0 / var(--fill) 100% no-repeat, var(--galv); }
.bld-range input[type="range"]::-moz-range-track { height: 6px; border: 2px solid var(--ink); border-radius: var(--r); background: linear-gradient(var(--yellow), var(--yellow)) 0 0 / var(--fill) 100% no-repeat, var(--galv); }
.bld-range input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 26px; height: 32px; margin-top: -13px; border: 2px solid var(--ink); border-radius: var(--r); background: linear-gradient(90deg, transparent 0 9px, var(--ink) 9px 11px, transparent 11px 13px, var(--ink) 13px 15px, transparent 15px), var(--white); box-shadow: 3px 3px 0 var(--ink); transition: transform .15s var(--ease); }
.bld-range input[type="range"]::-moz-range-thumb { width: 22px; height: 28px; border: 2px solid var(--ink); border-radius: var(--r); background: var(--white); box-shadow: 3px 3px 0 var(--ink); }
.bld-range input[type="range"]:active::-webkit-slider-thumb { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.bld-range input[type="range"]:focus-visible { outline: 3px solid var(--green-text); outline-offset: 2px; box-shadow: none; }
.bld-range output { font-family: var(--f-display); font-style: italic; font-weight: 850; font-stretch: 80%; font-size: 1.35rem; text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* Material chips reuse the plate finishes */
.bld-mats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.bld-mats--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.bld-opt--mat > span { display: block; height: 100%; padding: 7px 9px 8px; }
.bld-chip.plate { display: grid; width: 100%; height: 26px; aspect-ratio: auto; padding: 0; margin-bottom: 6px; border-radius: 2px; box-shadow: inset 0 0 0 1px rgba(0,0,0,.22); backdrop-filter: none; }
.bld-chip.plate--acrylic { background-color: #cfd8d6; background-image: linear-gradient(135deg, rgba(255,255,255,.7), rgba(215,236,238,.2)), repeating-linear-gradient(45deg, #bfc8c6 0 4px, #d7dedd 4px 8px); }
.bld-chip .plate__text { font-size: .875rem; font-weight: 700; font-family: var(--f-body); letter-spacing: 0; }
.bld-opt--mat .bld-opt__name { font-size: .9rem; line-height: 1.2; }
.bld-opt--size > span { display: block; padding: 6px 12px; }
.bld-chip3 { position: relative; display: grid; place-items: center; height: 34px; margin-bottom: 6px; border-radius: 2px; background: #b9553a; font-size: 0; font-style: normal; }
.bld-chip3::before { content: 'A'; font-family: var(--f-display); font-style: italic; font-weight: 900; font-stretch: 80%; font-size: 1.75rem; line-height: 1; color: transparent; background: var(--f); -webkit-background-clip: text; background-clip: text; filter: drop-shadow(2px 2px 0 var(--r2)); }
.bld-chip3--steel { --f: linear-gradient(180deg, #fbfcfc, #8b9496 52%, #e6e9ea); --r2: #4d5558; }
.bld-chip3--brass { --f: linear-gradient(180deg, #fbe9a8, #a77a26 54%, #f0d482); --r2: #5e4413; }
.bld-chip3--painted { --f: linear-gradient(180deg, #4bc278, #0E8F3C 50%, #0a6a2c); --r2: #063218; }
.bld-chip3--acrylic { --f: linear-gradient(160deg, #fff 0 18%, #6bd6ff 30%, #1f7fd0); --r2: #0e4a80; }
.bld-vicon { display: block; height: 28px; margin-bottom: 6px; background: no-repeat left bottom / calc(var(--vw) * 100%) calc(var(--vh) * 100%) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 40' preserveAspectRatio='none'%3E%3Cpath d='M2 34V22c0-3 2-5 5-6l10-3 9-10c1-1 2-2 4-2h64c2 0 4 2 4 4v29z' fill='%23fff' stroke='%230D1410' stroke-width='2.5'/%3E%3Cpath d='M15 16 24 6h9v10z' fill='%230D1410'/%3E%3Ccircle cx='18' cy='34' r='5.5' fill='%230D1410'/%3E%3Ccircle cx='82' cy='34' r='5.5' fill='%230D1410'/%3E%3C/svg%3E"); }

.bld-sample { display: inline-grid; place-items: center; min-width: 30px; height: 26px; font-size: 1.05rem; line-height: 1; }
.bld-sample--sans { font-family: var(--f-body); font-weight: 700; }
.bld-sample--cond { font-family: var(--f-display); font-style: normal; font-weight: 800; font-stretch: 70%; }
.bld-sample--italic { font-family: var(--f-display); font-style: italic; font-weight: 900; font-stretch: 76%; }
.bld-sample--serif { font-family: Georgia, 'Times New Roman', serif; font-weight: 700; }

/* Small drawn icons inside options */
.bld-corner { width: 20px; height: 16px; border: 2px solid currentColor; border-radius: 0; flex: none; }
.bld-corner--round { border-radius: 5px; }
.bld-fixicon { position: relative; width: 22px; height: 16px; flex: none; border: 2px solid currentColor; border-radius: 1px; }
.bld-fixicon--screws::before, .bld-fixicon--standoff::before { content: ''; position: absolute; top: 2px; left: 2px; width: 4px; height: 4px; border-radius: 50%; background: currentColor; box-shadow: 10px 0 0 currentColor, 0 6px 0 currentColor, 10px 6px 0 currentColor; }
.bld-fixicon--standoff::before { width: 5px; height: 5px; top: 1px; left: 1px; box-shadow: 11px 0 0 currentColor, 0 7px 0 currentColor, 11px 7px 0 currentColor; }
.bld-fixicon--adhesive { border-style: dashed; }
.bld-fixicon--none { border-style: solid; opacity: .7; }
.bld-licon { position: relative; width: 24px; height: 18px; flex: none; }
.bld-licon::before { content: ''; position: absolute; left: 2px; right: 2px; bottom: 0; height: 9px; border: 2px solid currentColor; }
.bld-licon--trough::after { content: ''; position: absolute; left: 0; right: 0; top: 2px; height: 4px; background: currentColor; }
.bld-licon--flood::after { content: ''; position: absolute; left: 3px; top: 0; width: 5px; height: 5px; background: currentColor; box-shadow: 13px 0 0 currentColor; }
.bld-wicon { width: 24px; height: 18px; flex: none; border: 2px solid currentColor; border-radius: 1px; }
.bld-wicon--brick { background: linear-gradient(currentColor, currentColor) 0 6px / 100% 2px no-repeat, linear-gradient(currentColor, currentColor) 9px 0 / 2px 6px no-repeat, linear-gradient(currentColor, currentColor) 4px 8px / 2px 8px no-repeat, linear-gradient(currentColor, currentColor) 14px 8px / 2px 8px no-repeat; }
.bld-wicon--render { background: radial-gradient(currentColor .8px, transparent 1.2px) 0 0 / 5px 5px; opacity: .85; }
.bld-wicon--clad { background: repeating-linear-gradient(180deg, transparent 0 3px, currentColor 3px 5px); }
.bld-shape { width: 24px; height: 18px; flex: none; border: 2px solid currentColor; }
.bld-shape--round { width: 20px; height: 20px; border-radius: 50%; }
.bld-shape--oval { border-radius: 50%; }
.bld-bicon { position: relative; width: 26px; height: 20px; flex: none; }
.bld-bicon::before { content: ''; position: absolute; left: 0; top: 0; width: 3px; height: 14px; background: currentColor; }
.bld-bicon::after { content: ''; position: absolute; left: 3px; top: 2px; right: 0; height: 3px; background: currentColor; }
.bld-bicon--scroll { background: radial-gradient(circle at 9px 10px, transparent 3px, currentColor 3.2px 5px, transparent 5.2px) no-repeat; }

.bld-dims { display: flex; align-items: end; gap: 10px; margin-top: 12px; }
.bld-dim { flex: 1; display: grid; gap: 6px; }
.bld-dim label { font-weight: 600; font-size: .92rem; }
.bld-dims__x { font-weight: 800; font-size: 1.2rem; padding-bottom: 12px; }
.bld-num { width: 100%; min-height: 48px; padding: 10px 12px; border: 2px solid var(--ink); border-radius: var(--r); background: var(--white); color: var(--ink); font-size: 1.05rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.bld-qty { display: flex; align-items: stretch; }
.bld-qty__btn { flex: none; width: 48px; min-height: 48px; border: 2px solid var(--ink); background: var(--galv); color: var(--ink); font-size: 1.4rem; font-weight: 700; line-height: 1; cursor: pointer; border-radius: var(--r) 0 0 var(--r); transition: background-color .2s; }
.bld-qty__btn:last-child { border-radius: 0 var(--r) var(--r) 0; }
.bld-qty__btn:hover { background: var(--yellow); }
.bld-qty__btn:focus-visible { outline: 3px solid var(--green-text, #0A7030); outline-offset: 2px; box-shadow: none; position: relative; z-index: 1; }
.bld-qty__input { border-radius: 0; border-inline: 0; text-align: center; min-width: 0; -moz-appearance: textfield; appearance: textfield; }
.bld-qty__input::-webkit-inner-spin-button, .bld-qty__input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }

/* ---------- Example price panel ---------- */
.bld-price { position: relative; display: grid; gap: 10px; background: var(--white); color: var(--ink); border-radius: var(--r); padding: 14px 20px 16px 30px; }
.bld-price::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 10px; border-radius: var(--r) 0 0 var(--r); background: repeating-linear-gradient(-45deg, var(--ink) 0 7px, var(--yellow) 7px 14px); }
.bld-price__head { display: flex; align-items: center; gap: 8px 16px; }
.bld-tag { flex: none; display: inline-block; padding: 5px 11px; background: var(--yellow); border: 2px solid var(--ink); border-radius: var(--r); font-weight: 800; font-size: .875rem; text-transform: uppercase; letter-spacing: .06em; line-height: 1.2; }
.bld-price__note { margin: 0; font-size: .9rem; line-height: 1.4; color: var(--steel); }
.bld-price__figs { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 6px 30px; }
.bld-fig { margin: 0; display: grid; min-width: 9rem; }
.bld-fig__label { font-size: .9rem; font-weight: 600; color: var(--steel); }
.bld-fig__val { font-family: var(--f-display); font-style: italic; font-weight: 850; font-stretch: 80%; font-size: clamp(1.7rem, 2.3vw, 2.1rem); line-height: 1.05; font-variant-numeric: tabular-nums; display: block; white-space: nowrap; }
.bld-price__small { flex: 1 1 200px; min-height: 2.8em; margin: 0 0 3px; font-size: .9rem; line-height: 1.4; color: var(--steel); }
.bld-summary { min-height: calc(2.8em + 8px); margin: 0; padding-top: 8px; border-top: 1px solid var(--line); font-weight: 700; line-height: 1.4; }
.bld-price .btn--ghost { color: var(--ink); border-color: var(--ink); box-shadow: var(--sh) var(--sh) 0 var(--ink); }
.bld-price__actions { gap: 14px 20px; }

.bld-nojs { background: var(--white); color: var(--ink); border-radius: var(--r); padding: 20px 22px; box-shadow: 8px 8px 0 var(--yellow); }
.bld-nojs .btn--ghost { color: var(--ink); }
.no-js .bld-stage__bar, .no-js .bld-price, .no-js .bld-controls, .no-js .bld-readout, .no-js .dim { display: none; }
.no-js .bld-tool { grid-template-columns: minmax(0, 1fr); }
.no-js .bld-view { border-radius: var(--r); }
.no-js .scn { display: none; }
.no-js .scn--plate { display: block; visibility: visible; opacity: 1; }

@media (max-width: 900px) {
  .bld-tool { grid-template-columns: minmax(0, 1fr); }
  .bld-left { display: contents; }
  .bld-types { order: 0; }
  .bld-stage { order: 1; }
  .bld-controls { order: 2; margin-top: 22px; }
  .bld-price { order: 3; margin-top: 22px; }
  .bld-types__row { grid-template-columns: repeat(6, 138px); overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); padding-top: 4px; padding-bottom: 16px; }
  .bld-types__row::-webkit-scrollbar { display: none; }
  .bld-type { scroll-snap-align: start; }
  .bld-type__ill { height: 60px; }
  .bld-view { height: clamp(200px, 30svh, 300px); }
  .bld-stage__legend { width: 100%; margin: 0 0 2px; }
  .bld-stage__bar { min-height: 0; padding: 6px 8px 8px; }
  .bld-stage__set { gap: 4px; }
  .bld-stage__bar .bld-opts { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding: 3px 3px 4px; margin: -3px; }
  .bld-stage__bar .bld-opt { flex: none; }
  .bld-price__head { flex-wrap: wrap; }
  .bld-readout { top: 8px; right: 8px; padding: 4px 9px; font-size: .85rem; }
  .bld-view:not([data-type="plate"]) .bld-readout { display: none; }
}
@media (max-width: 900px) and (min-height: 640px) { .bld-stage { position: sticky; top: 82px; z-index: 5; } }
@media (max-width: 560px) {
  .bld-pair { grid-template-columns: 1fr; }
  .bld-mats, .bld-mats--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bld-card { box-shadow: 6px 6px 0 var(--yellow); }
  .bld-stage__legend { display: none; }
  .bld-range { grid-template-columns: 3.6rem minmax(0, 1fr) 4.2rem; gap: 8px; }
}

/* ---------- What we make them from ---------- */
.mats { padding-block: clamp(56px, 6vw, 92px); }
.mats__grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(24px, 3vw, 48px); align-items: stretch; }
.mats__tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.mtile { display: grid; grid-template-rows: 46px 1fr; padding: 0; text-align: left; background: var(--white); color: var(--ink); border: 2px solid var(--ink); border-radius: var(--r); overflow: clip; cursor: pointer; box-shadow: 4px 4px 0 var(--ink); transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .2s; }
.mtile:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.mtile[aria-pressed="true"] { box-shadow: 6px 6px 0 var(--yellow), 6px 6px 0 2px var(--ink); }
.mtile__tex { position: relative; display: block; border-bottom: 2px solid var(--ink); }
/* Sample swatches hang on a ring through a punched hole */
.mtile__tex::after { content: ''; position: absolute; top: 10px; left: 10px; width: 12px; height: 12px; border-radius: 50%; background: var(--galv); box-shadow: inset 0 2px 3px rgba(0,0,0,.45), 0 0 0 2px rgba(0,0,0,.18); }
.mtile__body { display: block; padding: 8px 11px 11px; }
.mtile__name { display: block; font-weight: 800; font-size: .98rem; line-height: 1.22; margin-bottom: 3px; }
.mtile__line { display: block; font-size: .875rem; line-height: 1.38; color: var(--steel); }

.mats__pane { position: relative; display: flex; flex-direction: column; gap: 16px; padding: clamp(22px, 2.4vw, 32px); border-radius: var(--r); box-shadow: 10px 10px 0 var(--yellow); }
.mats__stage { flex: 1; display: grid; place-items: center; min-height: 170px; perspective: 900px; }
.mats__tilt { width: min(100%, 420px); transform-style: preserve-3d; }
.mats__tilt { container-type: inline-size; }
.mats__tilt .plate { aspect-ratio: auto; min-height: 33.333cqw; }
.mats__tilt .plate { --pw: 100%; --ps: clamp(1.3rem, 2.1vw, 2rem); }
.mats__tilt .plate .plate__text { font-family: var(--f-body); font-weight: 700; }
.mats__name { font-size: clamp(1.5rem, 2vw, 1.9rem); color: var(--yellow); margin-bottom: 6px; }
.mats__line { margin: 0; color: rgba(255,255,255,.9); }
.mats__use { padding-top: 14px; border-top: 1px solid rgba(255,255,255,.2); }
.mats__use-label { margin: 0 0 8px; font-weight: 700; font-size: .875rem; text-transform: uppercase; letter-spacing: .06em; color: rgba(255,255,255,.86); }
.mats__use-row { display: flex; flex-wrap: wrap; gap: 8px; }
.mats__chip { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 8px 12px; border: 2px solid var(--yellow); border-radius: var(--r); background: transparent; color: var(--white); font-weight: 700; font-size: .92rem; cursor: pointer; transition: background-color .2s, color .2s; }
.mats__chip svg { width: 15px; height: 15px; color: var(--yellow); transition: transform .2s var(--ease), color .2s; }
.mats__chip:hover { background: var(--yellow); color: var(--ink); }
.mats__chip:hover svg { color: var(--ink); transform: translateX(3px); }
.mats__chip[hidden] { display: none; }
@media (max-width: 1100px) { .mats__grid { grid-template-columns: 1fr; } .mats__stage { min-height: 160px; } .mats__pane { order: -1; } }
@media (max-width: 700px) {
  .mats__pane { padding: 18px; gap: 12px; }
  .mats__stage { min-height: 120px; }
  .mats__tiles { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 10px; }
  .mtile { grid-template-rows: 38px 1fr; box-shadow: 3px 3px 0 var(--ink); }
  .mtile__line { display: none; }
  .mtile__body { padding: 7px 8px 9px; }
  .mtile__name { font-size: .875rem; margin: 0; }
}
@media (max-width: 900px) { .mats__tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* CSS material textures, shared by the swatches and the preview plate */
.tex--acm { background: linear-gradient(180deg, #ffffff, #eef0ef 70%, #e2e5e4); color: #0E8F3C; }
.mtile__tex.tex--acm { background: linear-gradient(180deg, #ffffff 0 74%, #9aa09e 74% 78%, #222 78% 88%, #9aa09e 88% 92%, #f4f5f4 92%); }
.tex--acrylic { background: radial-gradient(80% 120% at 50% 40%, #ffffff, #f2f6f7 50%, #dfe8ea); color: #0E8F3C; box-shadow: inset 0 0 0 2px rgba(80,200,255,.35); }
.mtile__tex.tex--acrylic { background: linear-gradient(160deg, rgba(255,255,255,.8) 0 20%, rgba(255,255,255,0) 32%), linear-gradient(90deg, #ff5b5b 0 25%, #ffd400 25% 50%, #0e8f3c 50% 75%, #3a8dde 75%); }
.tex--vinyl { background: linear-gradient(180deg, #ffffff, #f0f2f1); color: #0E8F3C; }
.mtile__tex.tex--vinyl { background: linear-gradient(135deg, #f4f6f5 0 40%, #0E8F3C 40% 72%, #0b6e2f 72% 76%, #f4f6f5 76%); }
.tex--print { background: linear-gradient(120deg, #00a3d9, #6fc4a0 30%, #ffd400 55%, #f26a3a 80%, #c2185b); color: #fff; }
.tex--print .plate__text { text-shadow: 0 2px 6px rgba(0,0,0,.35); }
.tex--painted { background: linear-gradient(180deg, #1aa84b, #0E8F3C 55%, #0b7631); color: #fff; }
.tex--granite { background: radial-gradient(rgba(0,0,0,.55) 1px, transparent 1.6px) 0 0 / 5px 5px, radial-gradient(rgba(255,255,255,.7) 1px, transparent 1.6px) 2px 3px / 7px 7px, radial-gradient(rgba(60,60,60,.5) 1.5px, transparent 2px) 1px 1px / 9px 9px, linear-gradient(180deg, #b9bbba, #9c9fa0); color: #121414; }
.tex--traffolite { background: linear-gradient(180deg, #ffffff, #eceeed); color: #111; }
.mtile__tex.tex--traffolite { background: linear-gradient(180deg, #ffffff 0 58%, #111 58% 70%, #f4f5f4 70%); }
.tex--wood { background:
    repeating-linear-gradient(88deg, rgba(95,55,20,0) 0 5px, rgba(95,55,20,.18) 6px, rgba(95,55,20,0) 9px 14px, rgba(255,230,190,.12) 15px, rgba(95,55,20,0) 17px 23px),
    repeating-linear-gradient(91deg, rgba(90,50,18,0) 0 30px, rgba(90,50,18,.12) 42px, rgba(90,50,18,0) 60px),
    linear-gradient(90deg, #c8955a, #b88246 30%, #cf9f66 55%, #b37c40 80%, #c28f55); color: #3a220e; }
.tex--glass { background-image: linear-gradient(120deg, rgba(255,255,255,.55) 0 10%, rgba(255,255,255,.06) 13% 40%, rgba(255,255,255,.32) 42% 46%, rgba(255,255,255,.05) 48%); background-color: rgba(175,220,214,.3); color: rgba(255,255,255,.95); }
.mtile__tex.tex--glass { background-color: #4f7470; }
.tex--brass { background: linear-gradient(100deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.35) 40%, rgba(255,255,255,0) 55%), repeating-linear-gradient(0deg, rgba(255,255,255,.08) 0 1px, rgba(0,0,0,.05) 1px 2px), linear-gradient(180deg, #e8c86a, #b98b2e 55%, #d9b456); color: #1c1407; }
.tex--steel { background: linear-gradient(100deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.45) 38%, rgba(255,255,255,0) 58%), repeating-linear-gradient(0deg, rgba(255,255,255,.12) 0 1px, rgba(0,0,0,.05) 1px 2px), linear-gradient(180deg, #e3e7e8, #aab1b3 55%, #d0d5d6); color: #111; }
.tex--bronze { background: linear-gradient(100deg, rgba(255,220,170,0) 0%, rgba(255,220,170,.25) 40%, rgba(255,220,170,0) 58%), linear-gradient(180deg, #a8743a, #6e4520 58%, #8f5f2e); color: #1f1104; }
.plate.tex--glass { backdrop-filter: blur(3px); box-shadow: 0 0 0 1px rgba(255,255,255,.55) inset, 0 22px 40px -14px rgba(0,0,0,.45); }
.plate.tex--glass .plate__text { text-shadow: 0 1px 2px rgba(0,0,0,.25); }
.plate.tex--bronze .plate__text, .plate.tex--granite .plate__text { text-shadow: 0 -1px 0 rgba(0,0,0,.4), 0 1px 0 rgba(255,255,255,.15); }
.plate.tex--painted .plate__text, .plate.tex--acm .plate__text, .plate.tex--vinyl .plate__text, .plate.tex--acrylic .plate__text { font-family: var(--f-display) !important; font-style: italic; font-weight: 850 !important; font-stretch: 76%; text-transform: uppercase; }

/* ---------- Where these end up: a fixed stage beside the jobs, grouped by type ---------- */
.where { padding-block: clamp(56px, 6vw, 92px); }
.where .sec-head { margin-bottom: clamp(26px, 3vw, 40px); }
.where__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(24px, 3vw, 48px); align-items: start; }
.where__stage { position: relative; margin: 0; height: min(52vh, 520px); border-radius: var(--r); overflow: clip; background: var(--ink); box-shadow: 10px 10px 0 var(--yellow); }
.where__pics { position: absolute; inset: 0; }
.where__pics img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.where__pics .where__bg { object-fit: cover; filter: blur(22px) brightness(.55) saturate(1.1); transform: scale(1.15); }
.where__pics img:not(.is-on) { opacity: 0; }
.where__cap { position: absolute; z-index: 2; left: 14px; bottom: 18px; display: grid; gap: 4px; justify-items: start; max-width: calc(100% - 28px); }
.where__type { padding: 3px 9px; background: var(--yellow); color: var(--ink); border: 2px solid var(--ink); border-radius: var(--r); font-weight: 800; font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; }
.where__cap b { padding: 8px 12px; background: var(--white); color: var(--ink); border-radius: var(--r); font-weight: 700; font-size: 1rem; line-height: 1.3; box-shadow: 4px 4px 0 var(--ink); }
.where__prog { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; height: 5px; background: rgba(255,255,255,.25); }
.where__prog i { display: block; height: 100%; background: var(--yellow); transform-origin: left; transform: scaleX(0); }
.where__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 22px; }
.where__row { min-width: 0; }
.where__head { display: grid; gap: 0; margin-bottom: 6px; }
.where__label { font-size: clamp(1.05rem, 1.2vw, 1.2rem); line-height: 1.15; }
.where__try { justify-self: start; text-align: left; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 4px 0; border: 0; background: none; color: var(--green-text); font-weight: 700; font-size: .9rem; text-decoration: none; cursor: pointer; }
.where__try svg { width: 15px; height: 15px; transition: transform .2s var(--ease); }
.where__try:hover svg { transform: translateX(4px); }
.where__thumbs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.where__thumb { position: relative; color: var(--white); aspect-ratio: 4 / 3; min-height: 44px; padding: 0; border: 2px solid var(--ink); border-radius: var(--r); overflow: clip; background: var(--ink); cursor: pointer; transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.where__thumb img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.8); transition: transform .5s var(--ease), filter .3s; }
.where__thumb:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--ink); }
.where__thumb:hover img { transform: scale(1.08); filter: none; }
.where__thumb.is-on { box-shadow: 4px 4px 0 var(--yellow), 4px 4px 0 2px var(--ink); transform: translate(-2px, -2px); }
.where__thumb.is-on img { filter: none; }
.where__thumb.is-on::after { content: ''; position: absolute; inset: 0; box-shadow: inset 0 0 0 3px var(--yellow); }
@media (max-width: 1000px) {
  .where__grid { grid-template-columns: minmax(0, 1fr); }
  .where__stage { height: auto; aspect-ratio: 4 / 3; max-height: 62vh; width: 100%; }
}
@media (max-width: 520px) { .where__list { gap: 16px 14px; } .where__label { font-size: 1rem; } }

/* CTA band photo: keep the lit letters in view on the right */
.cta-band__img img { object-position: 70% 40%; }
