/* Index pages: All ranges (rx-), Colours and finishes (cx-), All styles (sx-). Shared opener bits: ix-.
 * Design plan: _work/design-plan.md (drawn to measure, 8px surfaces, 3px buttons). Site plan: _work/site-plan.md. */
.wf .ix-copy, .wf .rx-pans, .wf .cx-fan, .wf .sx-stack { visibility: hidden; }

/* ---------- shared opener type ---------- */
.ix-crumb { font-size: .9rem; color: var(--muted-d); margin-bottom: 14px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; }
.ix-crumb a { display: inline-flex; align-items: center; min-height: 44px; margin: -12px 0; color: var(--silver-hi); text-decoration: none; }
.ix-crumb a:hover { color: var(--oak-hi); }
.ix-crumb [aria-current] { color: var(--oak-hi); }
.ix-h { font-size: clamp(2.3rem, 3.7vw, 4rem); line-height: 1.03; color: #fff; }
.ix-h em { color: var(--oak-hi); }
.ix-lede { font-size: clamp(1.04rem, 1.15vw, 1.16rem); line-height: 1.6; color: var(--silver-hi); margin: 0 0 22px; }
.js .ix-in { opacity: 0; transform: translate3d(0, 18px, 0); }
.no-js .ix-in, .rm .ix-in, .reveal-safe .ix-in:not(.is-in) { opacity: 1; transform: none; }
.ix-light .ix-crumb { color: var(--muted); }
.ix-light .ix-crumb a { color: var(--text); }
.ix-light .ix-crumb a:hover, .ix-light .ix-crumb [aria-current] { color: var(--oak-deep); }
.ix-light .ix-h { color: var(--text); }
.ix-light .ix-h em { color: var(--oak-deep); }
.ix-light .ix-lede { color: var(--muted); }

/* =====================================================================
   ALL RANGES
   ===================================================================== */
.rx-open { padding: calc(var(--hdr) + clamp(20px, 2.4vw, 36px)) 0 clamp(28px, 3vw, 44px); overflow: clip; isolation: isolate; }
.rx-open__top { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 72px); align-items: end; }
.rx-open__side .ix-lede { margin-bottom: 18px; }
.rx-scale { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: clamp(18px, 2.2vw, 30px) 0 12px; padding-top: 12px; font-size: .875rem; font-weight: 600; color: var(--silver); font-variant-numeric: tabular-nums; }
.rx-scale span:nth-child(3) { color: var(--muted-d); font-weight: 500; }
.rx-scale__l { position: absolute; left: 0; right: 0; top: 0; height: 9px; border-left: 1px solid var(--oak-hi); border-right: 1px solid var(--oak-hi); }
.rx-scale__l::before { content: ''; position: absolute; left: 0; right: 0; top: 4px; height: 1px; background: var(--oak-hi); transform-origin: left; transform: scaleX(var(--d, 1)); }
.rx-scale__l::after { content: ''; position: absolute; right: -1px; top: 0; width: 7px; height: 9px; border-top: 1px solid var(--oak-hi); transform: rotate(35deg) translate(-1px, 2px); transform-origin: right top; opacity: 0; }

.rx-pans { list-style: none; margin: 0; padding: 0; display: flex; gap: clamp(8px, .8vw, 12px); height: clamp(300px, 39vh, 420px); --ow: 640px; }
.rx-pan { position: relative; flex: 1 1 0; min-width: 0; border-radius: var(--r); overflow: hidden; background: var(--graphite-3); cursor: pointer; transition: flex-grow .9s var(--ease); isolation: isolate; border: 1px solid rgba(183, 192, 198, .18); }
.rx-pan.is-open { flex-grow: 4.6; cursor: default; }
.rx-pan__ph { position: absolute; top: 0; bottom: 0; left: 50%; width: max(100%, var(--ow)); transform: translateX(-50%); z-index: -2; }
.rx-pan__ph img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; transform: scale(1.04); transition: transform 1.4s var(--ease), filter .9s var(--ease); filter: saturate(.8) brightness(.9); }
.rx-pan.is-open .rx-pan__ph img { transform: scale(1); filter: none; }
.rx-pan__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20, 24, 27, .25) 0%, rgba(20, 24, 27, .1) 35%, rgba(20, 24, 27, .88) 100%); transition: background .9s var(--ease); }
.rx-pan:not(.is-open) .rx-pan__shade { background: linear-gradient(180deg, rgba(20, 24, 27, .55), rgba(20, 24, 27, .78)); }
.rx-pan__spine { position: absolute; left: 50%; bottom: 18px; writing-mode: vertical-rl; transform: translateX(-50%) rotate(180deg); display: flex; align-items: center; gap: 12px; white-space: nowrap; transition: opacity .45s var(--ease); }
.rx-pan__spine b { font: 400 clamp(1.4rem, 1.8vw, 1.9rem)/1 var(--f-d); color: #fff; }
.rx-pan__spine span { font-size: .9rem; font-weight: 600; color: var(--oak-hi); font-variant-numeric: tabular-nums; }
.rx-pan.is-open .rx-pan__spine { opacity: 0; }
.rx-pan:not(.is-open):hover .rx-pan__spine b { color: var(--oak-hi); }
.rx-pan__body { position: absolute; left: clamp(10px, 1.2vw, 16px); bottom: clamp(10px, 1.2vw, 16px); width: min(calc(100% - 20px), 520px); padding: clamp(16px, 1.7vw, 24px); color: var(--silver-hi); background: rgba(28, 33, 37, .88); border: 1px solid rgba(183, 192, 198, .26); border-radius: calc(var(--r) - 2px); backdrop-filter: blur(6px); opacity: 0; transform: translateY(16px); transition: opacity .5s var(--ease), transform .7s var(--ease); pointer-events: none; }
.rx-pan.is-open .rx-pan__body { opacity: 1; transform: none; transition-delay: .35s; pointer-events: auto; }
.rx-pan__body p { margin: 0; }
.rx-pan__t { font: 400 clamp(1.9rem, 2.6vw, 2.7rem)/1 var(--f-d); color: #fff; margin-bottom: 8px !important; }
.rx-pan__m { font-size: .875rem; font-weight: 600; font-stretch: 80%; letter-spacing: .1em; text-transform: uppercase; color: var(--oak-hi); margin-bottom: 8px !important; }
.rx-pan__s { font-size: 1rem; line-height: 1.5; color: var(--silver-hi); margin-bottom: 10px !important; max-width: 46ch; }
.rx-pan__p { color: var(--muted-d); font-size: .95rem; }
.rx-pan__p b { font: 400 1.35rem/1.2 var(--f-d); color: #fff; font-variant-numeric: lining-nums; }
.rx-pan__a { color: var(--oak-hi); margin-top: 4px; }
.rx-pan__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--oak); transform: scaleX(0); transform-origin: left; }
.rx-pan:focus-within { outline: 2px solid var(--oak); outline-offset: 3px; }
.rm .rx-pan, .rm .rx-pan * { transition: none !important; }
@media (max-width: 1000px) { .rx-open__top { grid-template-columns: 1fr; gap: 6px; } }
@media (max-width: 760px) {
  .rx-pans { flex-direction: column; height: 560px; }
  .rx-pan.is-open { flex-grow: 5.4; }
  .rx-pan__ph { left: 0; top: 50%; bottom: auto; width: 100%; height: max(100%, 300px); transform: translateY(-50%); }
  .rx-pan__spine { writing-mode: horizontal-tb; transform: translateY(50%); left: 18px; bottom: 50%; }
  .rx-pan__s { display: none; }
  .rx-pan__body { padding: 14px; left: 8px; bottom: 8px; width: calc(100% - 16px); }
  .rx-bud__axis span::after { height: calc(5 * 66px); }
  .rx-scale span:nth-child(3) { display: none; }
  .rx-open .btns { flex-direction: column; align-items: stretch; }
}

/* ---------- matrix ---------- */
.rx-pick { display: none; }
.rx-tw { position: relative; background: rgba(255, 255, 255, .86); border: 1px solid rgba(21, 48, 74, .14); border-radius: var(--r); box-shadow: 0 30px 60px rgba(21, 48, 74, .08); overflow: clip; }
.rx-tbl { width: 100%; border-collapse: collapse; table-layout: fixed; position: relative; z-index: 1; }
.rx-tbl th, .rx-tbl td { padding: 13px 16px; text-align: left; vertical-align: top; font-size: .97rem; line-height: 1.4; border-top: 1px solid rgba(21, 48, 74, .1); }
.rx-tbl thead th, .rx-tbl thead td { border-top: 0; vertical-align: bottom; padding-top: 18px; padding-bottom: 16px; }
.rx-tbl__corner { width: 19%; }
.rx-tbl tbody th { font-weight: 600; color: var(--muted); font-size: .92rem; }
.rx-th { display: block; text-decoration: none; color: var(--text); }
.rx-th b { display: block; font: 400 clamp(1.35rem, 1.7vw, 1.75rem)/1.1 var(--f-d); transition: color .3s; }
.rx-th small { display: block; margin-top: 4px; font-size: .875rem; font-weight: 600; color: var(--oak-deep); font-variant-numeric: tabular-nums; }
.rx-th:hover b, .rx-th:focus-visible b { color: var(--oak-deep); }
.rx-th__chips { display: flex; margin-bottom: 12px; height: 34px; }
.rx-th__chips i { width: 18px; height: 34px; margin-right: -4px; border-radius: 3px; background-size: cover; box-shadow: 0 2px 5px rgba(21, 48, 74, .2), inset 0 0 0 1px rgba(21, 48, 74, .12); transform-origin: 50% 100%; }
.rx-n { font: 400 1.35rem/1 var(--f-d); font-variant-numeric: lining-nums; }
.rx-yn { display: inline-grid; place-items: center; width: 24px; height: 24px; margin-right: 8px; vertical-align: -6px; border: 1.3px solid var(--oak-deep); border-radius: var(--rb); }
.rx-yn svg { width: 14px; height: 14px; } .rx-yn path { fill: none; stroke: var(--oak-deep); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.is-n { color: var(--muted); }
.is-n .rx-yn { border-color: rgba(75, 85, 92, .45); } .is-n .rx-yn path { stroke: var(--muted); }
.rx-hl { position: absolute; top: 0; bottom: 0; left: 0; width: 0; z-index: 0; background: linear-gradient(180deg, rgba(181, 129, 79, .16), rgba(181, 129, 79, .05)); border-left: 1px solid rgba(181, 129, 79, .45); border-right: 1px solid rgba(181, 129, 79, .45); pointer-events: none; opacity: 0; }
.rx-hl::before { content: ''; position: absolute; left: -1px; right: -1px; top: 0; height: 3px; background: var(--oak); }

/* budget line along the price bands */
.rx-bud { margin-top: clamp(28px, 3.4vw, 48px); background: var(--graphite); color: var(--silver-hi); border-radius: var(--r); padding: clamp(20px, 2.6vw, 36px); position: relative; overflow: clip; isolation: isolate; }
.rx-bud::before { content: ''; position: absolute; inset: 0; z-index: -1; opacity: .7; background-image: linear-gradient(rgba(183, 192, 198, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(183, 192, 198, .07) 1px, transparent 1px); background-size: 48px 48px; }
.rx-bud__hd { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 10px 40px; align-items: center; margin-bottom: 26px; }
.rx-bud__hd h3 { color: #fff; }
.rx-bud__hd h3 em { color: var(--oak-hi); }
.rx-bud__ctl label { display: block; font-size: .95rem; font-weight: 600; margin-bottom: 6px; }
.rx-bud__ctl label b { font: 400 1.5rem/1 var(--f-d); color: var(--oak-hi); font-variant-numeric: tabular-nums lining-nums; margin-left: 4px; }
.rx-bud__say { grid-column: 1 / -1; margin: 0; color: var(--muted-d); min-height: 1.6em; }
.rx-bud__say b { color: #fff; font-weight: 600; }
input[type=range][data-bud-in] { -webkit-appearance: none; appearance: none; width: 100%; height: 44px; background: transparent; cursor: pointer; }
input[type=range][data-bud-in]::-webkit-slider-runnable-track { height: 3px; background: linear-gradient(90deg, var(--oak) var(--p, 50%), rgba(183, 192, 198, .3) var(--p, 50%)); border-radius: 2px; }
input[type=range][data-bud-in]::-moz-range-track { height: 3px; background: rgba(183, 192, 198, .3); border-radius: 2px; }
input[type=range][data-bud-in]::-moz-range-progress { height: 3px; background: var(--oak); }
input[type=range][data-bud-in]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; margin-top: -11.5px; border-radius: var(--rb); background: var(--oak); border: 2px solid var(--graphite); box-shadow: 0 0 0 1px var(--oak); }
input[type=range][data-bud-in]::-moz-range-thumb { width: 22px; height: 22px; border-radius: var(--rb); background: var(--oak); border: 2px solid var(--graphite); }
.rx-bud__chart { position: relative; --nw: 130px; padding-bottom: 6px; }
.rx-bud__axis { position: relative; height: 24px; margin-left: var(--nw); margin-right: 140px; }
.rx-bud__axis span { position: absolute; left: var(--x); transform: translateX(-50%); font-size: .875rem; font-weight: 600; color: var(--silver); font-variant-numeric: tabular-nums; }
.rx-bud__axis span::after { content: ''; position: absolute; left: 50%; top: 24px; width: 1px; height: calc(5 * 44px); background: rgba(183, 192, 198, .16); }
.rx-bud__rows { list-style: none; margin: 0; padding: 0; }
.rx-bud__row { display: grid; grid-template-columns: var(--nw) minmax(0, 1fr) 140px; align-items: center; height: 44px; border-top: 1px solid rgba(183, 192, 198, .14); transition: opacity .4s; }
.rx-bud__name { font: 400 1.3rem/1 var(--f-d); color: #fff; text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
.rx-bud__name:hover { color: var(--oak-hi); }
.rx-bud__track { position: relative; grid-column: 2 / 4; height: 44px; margin-right: 140px; }
.rx-bud__band { position: absolute; left: var(--a); width: calc(var(--b) - var(--a)); top: 50%; height: 12px; margin-top: -6px; background: rgba(183, 192, 198, .38); border-radius: 2px; overflow: hidden; transition: background .4s, height .4s, margin .4s; }
.rx-bud__band i { position: absolute; inset: 0; background: var(--oak); transform: scaleX(var(--f, 0)); transform-origin: left; }
.rx-bud__lab { background: var(--graphite); padding: 1px 6px; border-radius: 3px; z-index: 1; position: absolute; left: calc(var(--b) + 12px); top: 50%; transform: translateY(-50%); white-space: nowrap; font-size: .92rem; font-weight: 600; color: var(--muted-d); font-variant-numeric: tabular-nums; transition: color .4s; }
.rx-bud__row.is-in .rx-bud__band { height: 16px; margin-top: -8px; }
.rx-bud__row.is-in .rx-bud__lab, .rx-bud__row.is-in .rx-bud__name { color: var(--oak-hi); }
.rx-bud__row.is-out { opacity: .55; }
.rx-bud__line { position: absolute; top: 18px; bottom: 0; left: calc(var(--nw) + (100% - var(--nw) - 140px) * var(--x) / 100); width: 0; pointer-events: none; z-index: 2; }
.rx-bud__line i { position: absolute; top: 0; bottom: 0; left: -1px; width: 2px; background: var(--oak-hi); box-shadow: 0 0 12px rgba(201, 150, 104, .7); }
.rx-bud__line i::before { content: ''; position: absolute; left: -5px; top: -2px; width: 12px; height: 12px; background: var(--oak-hi); transform: rotate(45deg); border-radius: 1px; }
.rx-bud__note { margin: 18px 0 0; color: var(--muted-d); font-size: .95rem; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 18px; }
.rx-bud__note .link { color: var(--oak-hi); }
@media (max-width: 760px) {
  .rx-pick { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
  .rx-pick button { min-height: 44px; padding: 0 14px; border: 1px solid rgba(26, 31, 35, .25); border-radius: var(--rb); background: rgba(255, 255, 255, .7); font-weight: 500; transition: background .3s, color .3s; }
  .rx-pick button[aria-pressed="true"] { background: var(--graphite); color: #fff; border-color: var(--graphite); }
  .js .rx-tbl [data-col] { display: none; }
  .js .rx-tbl[data-col-on="seattle"] [data-col="seattle"], .js .rx-tbl[data-col-on="hollywood"] [data-col="hollywood"], .js .rx-tbl[data-col-on="boston"] [data-col="boston"],
  .js .rx-tbl[data-col-on="georgia"] [data-col="georgia"], .js .rx-tbl[data-col-on="montana"] [data-col="montana"] { display: table-cell; }
  .rx-tbl__corner { width: 40%; }
  .no-js .rx-tw { overflow-x: auto; } .no-js .rx-tbl { width: 820px; }
  .rx-hl { display: none; }
  .rx-bud__hd { grid-template-columns: 1fr; }
  .rx-bud__chart { --nw: 92px; }
  .rx-bud__axis { margin-right: 0; }
  .rx-bud__track { margin-right: 0; }
  .rx-bud__row { grid-template-columns: var(--nw) minmax(0, 1fr); height: auto; padding: 4px 0 22px; }
  .rx-bud__name { font-size: 1.1rem; }
  .rx-bud__lab { left: var(--a, 0); top: auto; bottom: -16px; transform: none; font-size: .875rem; }
  .rx-bud__line { left: calc(var(--nw) + (100% - var(--nw)) * var(--x) / 100); }
}

/* ---------- colours teaser ---------- */
.rx-col__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 88px); align-items: center; }
.rx-col__txt h2 { margin-bottom: 16px; }
.rx-col, .rx-pm { padding: clamp(56px, 5.4vw, 84px) 0; }
.rx-col__list { list-style: none; margin: 20px 0 24px; padding: 0; border-top: 1px solid rgba(183, 205, 225, .2); }
.rx-col__list li { display: grid; grid-template-columns: 120px 1fr; gap: 14px; padding: 8px 0; border-bottom: 1px solid rgba(183, 205, 225, .2); font-size: .97rem; color: var(--muted-d); }
.rx-col__list b { font: 400 1.2rem/1.3 var(--f-d); color: #fff; }
.rx-col__strip { display: grid; gap: 18px; overflow: clip; margin-right: calc(var(--gut) * -1); padding: 26px 0; transform: rotate(-4deg); -webkit-mask: linear-gradient(90deg, transparent, #000 10%, #000 88%, transparent); mask: linear-gradient(90deg, transparent, #000 10%, #000 88%, transparent); }
.rx-col__row { display: flex; gap: 12px; width: max-content; }
.rx-chip { flex: none; width: 92px; height: 168px; border-radius: 4px; background-size: cover; background-position: center; position: relative; display: flex; flex-direction: column; justify-content: flex-end; padding: 10px 9px; box-shadow: 0 14px 28px rgba(6, 18, 30, .45), inset 0 0 0 1px rgba(255, 255, 255, .12); transition: transform .5s var(--ease); }
.rx-chip::after { content: ''; position: absolute; left: 50%; top: 12px; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: rgba(21, 48, 74, .55); box-shadow: inset 0 1px 2px rgba(0, 0, 0, .5); }
.rx-chip b, .rx-chip em { position: relative; z-index: 1; display: block; background: rgba(247, 247, 244, .92); color: var(--text); font-style: normal; padding: 0 5px; }
.rx-chip b { font-size: .875rem; font-weight: 700; padding-top: 4px; border-radius: 2px 2px 0 0; font-variant-numeric: tabular-nums; }
.rx-chip em { font-size: .8rem; line-height: 1.25; padding-bottom: 5px; border-radius: 0 0 2px 2px; }
.rx-chip:hover { transform: translateY(-10px); }
@media (max-width: 900px) { .rx-col__grid { grid-template-columns: minmax(0, 1fr); } .rx-col__strip { margin-left: calc(var(--gut) * -1); } }
@media (max-width: 560px) { .rx-col__list li { grid-template-columns: 1fr; gap: 0; } .rx-chip { width: 78px; height: 140px; } }

/* ---------- Power Motion ---------- */
.rx-pm__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 88px); align-items: center; }
.rx-pm__media { position: relative; padding-bottom: clamp(60px, 6vw, 96px); }
.rx-pm__ph { margin-right: clamp(10px, 2vw, 28px); }
.rx-pm__ph .ph { aspect-ratio: 3 / 2; }
.rx-pm__rc { position: absolute; right: 0; bottom: 0; width: min(82%, 440px); display: grid; grid-template-columns: 136px 1fr; gap: 18px; align-items: center; background: var(--graphite); color: var(--silver-hi); border-radius: var(--r); padding: 16px; box-shadow: 0 30px 60px rgba(21, 48, 74, .3); z-index: 2; }
.rx-pm__draw svg { width: 100%; height: auto; }
.pm-fr { fill: rgba(227, 232, 235, .05); stroke: var(--silver-hi); stroke-width: 1.4; }
.pm-bl { fill: var(--silver); }
.pm-rod { stroke: var(--oak-hi); stroke-width: 2; stroke-linecap: round; }
.rx-pm__read { margin: 0 0 10px; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 2px 10px; }
.rx-pm__read b { white-space: nowrap; font: 400 1.2rem/1 var(--f-d); color: #fff; font-variant-numeric: tabular-nums lining-nums; }
.rx-pm__keys { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.rx-pm__keys button { min-height: 44px; border: 1px solid rgba(183, 192, 198, .35); border-radius: var(--rb); background: rgba(255, 255, 255, .04); color: var(--silver-hi); font-weight: 600; font-variant-numeric: tabular-nums; transition: background .3s, color .3s, border-color .3s; }
.rx-pm__keys button:hover { border-color: var(--oak-hi); }
.rx-pm__keys button[aria-pressed="true"] { background: var(--oak); border-color: var(--oak); color: var(--graphite); }
.rx-pm__txt h2 { margin-bottom: 20px; }
.rx-pm__list { list-style: none; margin: 18px 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 26px; }
.rx-pm__list li { position: relative; padding-top: 14px; border-top: 1px solid rgba(21, 48, 74, .2); }
.rx-pm__list li::before { content: ''; position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: var(--oak-deep); transform: scaleX(var(--bw, 1)); transform-origin: left; }
.rx-pm__list b { display: block; font: 400 1.22rem/1.2 var(--f-d); margin-bottom: 4px; }
.rx-pm__list span { display: block; font-size: .95rem; line-height: 1.5; color: var(--muted); }
.rx-pm__note { color: var(--muted); font-size: .97rem; }
@media (max-width: 900px) { .rx-pm__grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .rx-pm__list { grid-template-columns: 1fr; } .rx-pm__rc { position: relative; right: auto; width: 100%; margin-top: -40px; grid-template-columns: 90px 1fr; } .rx-pm__media { padding-bottom: 0; } .rx-pm__ph { margin-right: 0; } }

/* =====================================================================
   COLOURS AND FINISHES
   ===================================================================== */
.cx-open { padding: calc(var(--hdr) + clamp(20px, 2.4vw, 36px)) 0 clamp(24px, 3vw, 44px); overflow: clip; isolation: isolate; }
.cx-open__grid { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: clamp(24px, 3vw, 56px); align-items: center; }
.cx-open .ix-h { margin-bottom: .38em; }
.cx-facts { list-style: none; margin: 0 0 24px; padding: 14px 0 0; border-top: 1px solid rgba(183, 192, 198, .2); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.cx-facts b { display: block; font: 400 clamp(1.5rem, 1.9vw, 2rem)/1 var(--f-d); color: #fff; font-variant-numeric: lining-nums tabular-nums; margin-bottom: 4px; }
.cx-facts span { font-size: .9rem; color: var(--muted-d); line-height: 1.3; display: block; }

/* the fan deck: blades pivot on one pin, like the sample deck we bring to your home */
.cx-fan { --R: min(29vw, 350px); --bw: calc(var(--R) * .13); position: relative; height: calc(var(--R) + 96px); min-height: 300px; }
.cx-blade { position: absolute; left: 50%; bottom: 74px; width: var(--bw); height: var(--R); margin-left: calc(var(--bw) / -2); transform-origin: 50% calc(100% - var(--bw) * .5);
  transform: rotate(var(--a)); z-index: var(--z); display: flex; flex-direction: column; border-radius: 4px; background: #F7F7F4; box-shadow: -3px 3px 10px rgba(0, 0, 0, .32), inset 0 0 0 1px rgba(21, 48, 74, .14); overflow: hidden; }
.cx-blade__c { display: block; flex: 0 0 60%; background-size: cover; background-position: center; box-shadow: inset 0 -1px 0 rgba(21, 48, 74, .2); }
.cx-blade__l { flex: 1; writing-mode: vertical-rl; transform: rotate(180deg); padding: 8px 0; display: flex; align-items: center; justify-content: flex-end; gap: 4px; font-size: calc(var(--bw) * .27); line-height: 1; color: var(--muted); white-space: nowrap; overflow: hidden; }
.cx-blade__l b { color: var(--text); font-weight: 700; font-variant-numeric: tabular-nums; }
.cx-blade::after { content: ''; position: absolute; left: 50%; bottom: calc(var(--bw) * .5); width: 9px; height: 9px; margin: 0 0 -4.5px -4.5px; border-radius: 50%; background: var(--graphite); box-shadow: inset 0 1px 2px rgba(0, 0, 0, .6); }
.cx-fan__pin { position: absolute; left: 50%; bottom: calc(74px + var(--bw) * .5); width: 22px; height: 22px; margin: 0 0 -11px -11px; border-radius: 50%; z-index: 60; background: radial-gradient(circle at 35% 35%, #fff, var(--silver) 45%, #6F7A82); box-shadow: 0 3px 8px rgba(0, 0, 0, .5); }
.cx-fan__read { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); z-index: 61; display: flex; align-items: center; gap: 12px; padding: 9px 16px 9px 9px; background: rgba(28, 33, 37, .94); border: 1px solid rgba(183, 192, 198, .3); border-radius: var(--r); white-space: nowrap; min-width: 250px; }
.cx-fan__read b { display: block; font: 400 1.15rem/1.15 var(--f-d); color: #fff; }
.cx-fan__chip { width: 38px; height: 38px; border-radius: 4px; background-size: cover; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2); flex: none; }
@media (max-width: 1000px) {
  .cx-open__grid { grid-template-columns: 1fr; }
  .cx-fan { --R: min(44vw, 300px); }
}
@media (max-width: 560px) {
  .cx-fan { --R: 41vw; min-height: 0; margin: 4px -6px 0; }
  .cx-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cx-open .btns { flex-direction: column; align-items: stretch; }
  .cx-fan__read { min-width: 230px; }
}

/* swatch wall */
.cx-wall__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 300px); gap: clamp(24px, 3.4vw, 56px); align-items: start; }
.cx-filters { display: grid; gap: 8px; margin-bottom: 16px; }
.cx-wall { padding: clamp(52px, 4vw, 72px) 0; }
.cx-wall .sec__head { margin-bottom: clamp(20px, 2.2vw, 32px); }
.cx-fg { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.cx-fg .k { color: var(--muted); width: 64px; }
.cx-fg button, .cx-pick__tabs button, .cx-light__tabs button, .sx-fil button, .sx-q__opts button { min-height: 44px; padding: 0 15px; border: 1px solid rgba(26, 31, 35, .22); border-radius: var(--rb); background: rgba(255, 255, 255, .72); font-weight: 500; font-size: .97rem; transition: background .3s, color .3s, border-color .3s; }
.cx-fg button:hover, .sx-fil button:hover { border-color: var(--graphite); }
.cx-fg button[aria-pressed="true"], .sx-fil button[aria-pressed="true"] { background: var(--graphite); color: #fff; border-color: var(--graphite); }
.cx-count { margin: 4px 0 0; color: var(--muted); font-size: .97rem; }
.cx-count b { font: 400 1.5rem/1 var(--f-d); color: var(--oak-deep); font-variant-numeric: tabular-nums lining-nums; margin-right: 4px; }
.cx-sws { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(74px, 1fr)); gap: 10px 8px; position: relative; }
.cx-swi.is-hidden { display: none; }
@media (min-width: 1200px) { .cx-sws { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 10px 7px; } }
.cx-sw { width: 100%; display: block; padding: 0; border: 0; background: none; text-align: left; color: var(--text); text-decoration: none; cursor: pointer; }
.cx-sw__c { display: block; aspect-ratio: 1 / .78; border-radius: 6px; background-size: cover; background-position: center; box-shadow: 0 8px 18px rgba(21, 48, 74, .1), inset 0 0 0 1px rgba(21, 48, 74, .14); transition: transform .5s var(--ease), box-shadow .5s var(--ease); position: relative; }
.cx-sw__c::after { content: ''; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(160deg, rgba(255, 255, 255, .35), transparent 40%); pointer-events: none; }
.cx-sw__t { display: block; padding: 5px 1px 0; font-size: .76rem; line-height: 1.22; }
.cx-sw__t b { display: block; font-weight: 700; font-variant-numeric: tabular-nums; }
.cx-sw__t span { color: var(--muted); }
.cx-sw:hover .cx-sw__c, .cx-sw:focus-visible .cx-sw__c { transform: translateY(-5px) rotate(-2deg); box-shadow: 0 16px 28px rgba(21, 48, 74, .2), inset 0 0 0 1px rgba(21, 48, 74, .14); }
.cx-sw[aria-pressed="true"] .cx-sw__c { box-shadow: 0 0 0 3px var(--paper), 0 0 0 5px var(--oak-deep), 0 16px 28px rgba(21, 48, 74, .2); }
.cx-sw[aria-pressed="true"] .cx-sw__t b { color: var(--oak-deep); }
.cx-sw--custom .cx-sw__c { background: conic-gradient(from 200deg, #B03A2E, #D9A441, #6E8B3D, #2F6E8F, #4B3A7A, #B03A2E); }
.cx-sw--custom .cx-sw__c i { position: absolute; inset: 22%; border-radius: 4px; background: var(--paper); box-shadow: inset 0 0 0 1px rgba(21, 48, 74, .14); }
.cx-empty { margin: 8px 0 0; padding: 18px; border: 1px dashed rgba(21, 48, 74, .3); border-radius: var(--r); color: var(--muted); background: rgba(255, 255, 255, .6); }
.cx-empty__go { border: 0; background: none; padding: 0; color: var(--oak-deep); font-weight: 600; text-decoration: underline; min-height: 44px; }

.cx-pv { position: sticky; top: calc(var(--hdr) + 18px); }
.cx-pv__sheet { background: var(--graphite); color: var(--silver-hi); border-radius: var(--r); padding: 18px; box-shadow: 0 30px 60px rgba(21, 48, 74, .2); position: relative; overflow: clip; isolation: isolate; }
.cx-pv__sheet::before { content: ''; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(183, 192, 198, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(183, 192, 198, .07) 1px, transparent 1px); background-size: 24px 24px; }
.cx-pv__draw { display: grid; place-items: center; padding: 6px 0 16px; }
.cx-pv__draw svg { width: min(100%, 210px); height: auto; max-height: min(36vh, 290px); overflow: visible; filter: drop-shadow(0 18px 24px rgba(0, 0, 0, .45)); }
.pv-fr { stroke: rgba(0, 0, 0, .25); stroke-width: 1; }
.pv-st { stroke: rgba(0, 0, 0, .22); stroke-width: 1; }
.pv-in { fill: url(#cxSky); }
.pv-lv rect { stroke: rgba(0, 0, 0, .18); stroke-width: .6; }
.pv-sh { fill: url(#cxBlade); }
.pv-rod { stroke: rgba(0, 0, 0, .25); stroke-width: .6; }
.cx-pv__info { display: grid; grid-template-columns: 54px 1fr; gap: 6px 14px; align-items: center; border-top: 1px solid rgba(183, 192, 198, .2); padding-top: 14px; }
.cx-pv__chip { width: 54px; height: 54px; border-radius: 5px; background-size: cover; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2); }
.cx-pv__code { margin: 0; }
.cx-pv__code b { display: block; font: 400 1.4rem/1.15 var(--f-d); color: #fff; }
.cx-pv__in { grid-column: 1 / -1; margin: 6px 0 0; font-size: .875rem; font-weight: 600; color: var(--silver); }
.cx-pv__rs { grid-column: 1 / -1; list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.cx-pv__rs a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px; border-radius: var(--rb); text-decoration: none; font-size: .92rem; font-weight: 600; border: 1px solid rgba(183, 192, 198, .3); transition: background .3s, color .3s, opacity .3s; }
.cx-pv__rs .is-on a { background: var(--oak); border-color: var(--oak); color: var(--graphite); }
.cx-pv__rs .is-off a { color: var(--muted-d); opacity: .5; text-decoration: line-through; pointer-events: none; }
.cx-pv__note { margin: 12px 2px 0; font-size: .92rem; color: var(--muted); }
@media (max-width: 900px) {
  .cx-wall__grid { grid-template-columns: 1fr; }
  .cx-pv { position: relative; top: auto; order: -1; }
  .cx-pv__sheet { display: grid; grid-template-columns: 120px 1fr; gap: 16px; align-items: center; padding: 14px; }
  .cx-pv__draw { padding: 0; }
  .cx-pv__info { border-top: 0; padding-top: 0; grid-template-columns: 1fr; }
  .cx-pv__chip { display: none; }
  .cx-fg .k { width: 100%; }
  .cx-sws { grid-template-columns: repeat(auto-fill, minmax(62px, 1fr)); gap: 8px 6px; }
  .cx-sw__t { font-size: .75rem; }
  .cx-card { width: 21%; left: 74%; }
  .cx-card__l { font-size: .7rem; padding: 0 5px; }
}

/* custom colour: a picker run over their coloured jobs */
.cx-custom__grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(32px, 5vw, 88px); align-items: center; }
.cx-custom__txt h2 { margin-bottom: 20px; }
.cx-custom__rs { list-style: none; margin: 24px 0 14px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.cx-custom__rs li { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 12px 0 8px; border: 1px solid rgba(183, 205, 225, .3); border-radius: var(--rb); font-weight: 600; }
.cx-custom__rs svg { width: 18px; height: 18px; } .cx-custom__rs path { fill: none; stroke: var(--oak-hi); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.cx-custom__rs .is-off { color: var(--muted-d); border-style: dashed; } .cx-custom__rs .is-off path { stroke: var(--muted-d); }
.cx-custom__note { color: var(--muted-d); margin-bottom: 26px; }
.cx-pick__stage .ph { aspect-ratio: 3 / 2.1; cursor: crosshair; }
.cx-pick__pic { position: absolute; inset: 0; }
.cx-pick__pic[hidden] { display: none; }
.cx-pick__pic img { width: 100%; height: 100%; object-fit: cover; }
.cx-loupe { position: absolute; left: 0; top: 0; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, .35), 0 10px 26px rgba(0, 0, 0, .45); z-index: 3; pointer-events: none; opacity: 0; background: var(--pc, transparent); transition: opacity .4s; }
.cx-loupe.is-on { opacity: 1; }
.cx-loupe i { position: absolute; left: 50%; top: 50%; width: 10px; height: 10px; margin: -5px; border: 1.5px solid #fff; border-radius: 50%; box-shadow: 0 0 0 1px rgba(0, 0, 0, .3); }
.cx-pick__bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px 24px; margin-top: 22px; }
.cx-pick__tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.cx-pick__tabs button { background: transparent; color: var(--silver-hi); border-color: rgba(183, 205, 225, .35); }
.cx-pick__tabs button[aria-pressed="true"] { background: var(--oak); border-color: var(--oak); color: var(--graphite); }
.cx-pick__out { display: flex; align-items: center; gap: 12px; }
.cx-pick__chip { width: 64px; height: 44px; border-radius: 4px; background-color: var(--pc, rgba(255, 255, 255, .08)); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); background-image: repeating-linear-gradient(180deg, rgba(255, 255, 255, .2) 0 2px, transparent 2px 8px, rgba(0, 0, 0, .18) 8px 9px); transition: background-color .25s; }
.cx-pick__out b { display: block; font: 400 1.15rem/1.2 var(--f-d); color: #fff; font-variant-numeric: tabular-nums; }
@media (max-width: 900px) { .cx-custom__grid { grid-template-columns: 1fr; } }

/* choosing in your own light */
.cx-light__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 5vw, 88px); align-items: center; }
.cx-room { position: relative; aspect-ratio: 1200 / 829; width: min(100%, calc(var(--media-cap) * 1.447)); border-radius: var(--r); overflow: hidden; box-shadow: 0 30px 60px rgba(21, 48, 74, .16); isolation: isolate; background: var(--mist); }
.cx-room__ph, .cx-room__ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cx-card { position: absolute; left: 77%; top: 15%; width: 15%; height: 56%; z-index: 2; display: flex; flex-direction: column; background: #F7F7F4; border-radius: 4px; transform: rotate(-7deg); box-shadow: -6px 14px 24px rgba(30, 30, 30, .3), inset 0 0 0 1px rgba(21, 48, 74, .12); overflow: hidden; }
.cx-card__c { flex: 0 0 72%; background-size: cover; background-position: center; display: block; }
.cx-card__l { flex: 1; display: flex; align-items: center; padding: 0 8px; font-size: clamp(.7rem, .9vw, .875rem); font-weight: 700; line-height: 1.2; color: var(--text); }
.cx-card::after { content: ''; position: absolute; left: 50%; top: 5%; width: 8px; height: 8px; margin-left: -4px; border-radius: 50%; background: var(--graphite); box-shadow: inset 0 1px 2px rgba(0, 0, 0, .6); }
.cx-card__l { border-top: 1px solid rgba(21, 48, 74, .16); }
.cx-room__stripes { position: absolute; left: -10%; top: -10%; width: 120%; height: 120%; z-index: 3; pointer-events: none; transform: skewY(var(--sk, -14deg)) translateX(var(--sx, 0%)); opacity: var(--so, .5);
  background: repeating-linear-gradient(180deg, rgba(255, 244, 220, .55) 0 16px, rgba(60, 50, 40, .12) 16px 27px); -webkit-mask: radial-gradient(ellipse 60% 55% at var(--mx, 70%) 45%, #000 20%, transparent 70%); mask: radial-gradient(ellipse 60% 55% at var(--mx, 70%) 45%, #000 20%, transparent 70%); mix-blend-mode: soft-light; }
.cx-room__tint { position: absolute; inset: 0; z-index: 4; pointer-events: none; background: var(--tint, rgba(150, 180, 220, .14)); mix-blend-mode: multiply; transition: background 1.4s var(--ease); }
.cx-room__tag { position: absolute; left: 14px; bottom: 14px; z-index: 5; padding: 8px 12px; background: rgba(28, 33, 37, .9); color: #fff; border-radius: calc(var(--r) - 3px); }
.cx-room__tag b { display: block; font: 400 1.15rem/1.15 var(--f-d); }
.cx-light__tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; position: relative; z-index: 2; }
.cx-light__tabs button { background: #fff; }
.cx-light__tabs button[aria-pressed="true"] { background: var(--graphite); color: #fff; border-color: var(--graphite); }
.cx-light__txt h2 { margin-bottom: 18px; }
.cx-tips { list-style: none; margin: 26px 0 0; padding: 0; counter-reset: tip; display: grid; gap: 0; border-top: 1px solid rgba(21, 48, 74, .18); }
.cx-tips li { counter-increment: tip; display: grid; grid-template-columns: 44px 1fr; gap: 2px 16px; padding: 16px 0; border-bottom: 1px solid rgba(21, 48, 74, .18); }
.cx-tips li::before { content: counter(tip); grid-row: span 2; display: grid; place-items: center; width: 36px; height: 36px; border: 1.3px solid var(--oak-deep); border-radius: var(--rb); color: var(--oak-deep); font-weight: 600; font-variant-numeric: tabular-nums; }
.cx-tips b { font: 400 1.3rem/1.2 var(--f-d); }
.cx-tips span { color: var(--muted); }
@media (max-width: 900px) { .cx-light__grid { grid-template-columns: 1fr; } }

/* =====================================================================
   ALL STYLES
   ===================================================================== */
.sx-open { padding: calc(var(--hdr) + clamp(24px, 3vw, 48px)) 0 clamp(36px, 4vw, 60px); overflow: clip; isolation: isolate; }
.sx-open__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 3vw, 52px); align-items: center; }
.sx-open .ix-h { font-size: clamp(2.5rem, 4.3vw, 4.6rem); margin-bottom: .36em; }
.sx-open .ix-lede { color: var(--muted); }
.sx-facts { list-style: none; margin: 28px 0 0; padding: 16px 0 0; border-top: 1px solid rgba(21, 48, 74, .18); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.sx-facts b { display: block; font: 400 clamp(1.8rem, 2.4vw, 2.5rem)/1 var(--f-d); color: var(--oak-deep); font-variant-numeric: lining-nums; margin-bottom: 4px; }
.sx-facts span { font-size: .92rem; color: var(--muted); line-height: 1.35; display: block; }

.sx-stack { position: relative; height: clamp(340px, 50vh, 500px); perspective: 1200px; }
.sx-card { position: absolute; left: 2%; right: 9%; top: 3%; bottom: 19%; margin: 0; background: #fff; padding: 10px 10px 0; border-radius: var(--r); box-shadow: 0 24px 50px rgba(21, 48, 74, .22), 0 0 0 1px rgba(21, 48, 74, .06);
  transform: translate(calc(var(--i, 0) * 4%), calc(var(--i, 0) * 2.2%)) rotate(calc(var(--i, 0) * 2.6deg - 3deg)); z-index: calc(10 - var(--i, 0)); display: flex; flex-direction: column; }
.sx-card:nth-child(1) { --i: 0; } .sx-card:nth-child(2) { --i: 1; } .sx-card:nth-child(3) { --i: 2; } .sx-card:nth-child(4) { --i: 3; } .sx-card:nth-child(5) { --i: 4; }
.sx-card__ph { flex: 1; min-height: 0; border-radius: calc(var(--r) - 4px); overflow: hidden; background: var(--mist); }
.sx-card__ph img { width: 100%; height: 100%; object-fit: cover; }
.sx-card figcaption { display: flex; align-items: center; gap: 12px; padding: 11px 6px 12px; }
.sx-card figcaption b { font: 400 1.2rem/1.1 var(--f-d); color: var(--text); flex: 1; }
.sx-card figcaption .k { color: var(--oak-deep); }
.sx-card__ic { width: 34px; height: 34px; flex: none; }
.sx-card__ic svg { width: 100%; height: 100%; } .sx-card__ic path { fill: none; stroke: var(--oak-deep); stroke-width: 3.2; stroke-linejoin: round; }
.sx-stack__tk { position: absolute; width: 24px; height: 24px; border: 0 solid var(--oak-deep); z-index: 20; pointer-events: none; }
.sx-stack__tk--tl { left: -2%; top: -2%; border-width: 1.5px 0 0 1.5px; }
.sx-stack__tk--br { right: 0; bottom: 0; border-width: 0 1.5px 1.5px 0; }
.sx-stack__dim { position: absolute; left: 4%; right: 12%; bottom: 0; height: 22px; z-index: 20; display: flex; justify-content: center; }
.sx-stack__dim i { position: absolute; left: 0; right: 0; top: 4px; height: 9px; border-left: 1px solid var(--oak-deep); border-right: 1px solid var(--oak-deep); }
.sx-stack__dim i::before { content: ''; position: absolute; left: 0; right: 0; top: 4px; height: 1px; background: var(--oak-deep); transform: scaleX(var(--d, 1)); }
.sx-stack__dim span { position: relative; top: -4px; padding: 0 10px; background: var(--mist); font-size: .875rem; font-weight: 600; color: var(--oak-deep); }
@media (max-width: 900px) {
  .sx-open__grid { grid-template-columns: 1fr; }
  .sx-stack { height: 330px; }
}
@media (max-width: 560px) {
  .sx-open .btns { flex-direction: column; align-items: stretch; }
  .sx-stack { height: 300px; margin-top: 8px; }
  .sx-card { left: 2%; right: 8%; }
  .sx-facts span { font-size: .875rem; }
}

/* grid of styles */
.sx-fil { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 26px; }
.sx-fil small { font-size: .875rem; font-weight: 600; opacity: .65; margin-left: 4px; font-variant-numeric: tabular-nums; }
.sx-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2vw, 28px); position: relative; }
.sx-item.is-hidden { display: none; }
.sx-c { position: relative; display: block; text-decoration: none; color: var(--text); background: rgba(255, 255, 255, .78); border: 1px solid rgba(21, 48, 74, .12); border-radius: var(--r); padding: 10px; height: 100%; transition: box-shadow .5s var(--ease), border-color .4s, transform .5s var(--ease); }
.sx-c:hover, .sx-c:focus-visible { box-shadow: 0 24px 48px rgba(21, 48, 74, .14); border-color: rgba(126, 85, 48, .45); transform: translateY(-4px); }
.sx-c__ph { display: block; aspect-ratio: 16 / 9.5; border-radius: calc(var(--r) - 4px); overflow: hidden; background: var(--mist); }
.sx-c__ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.sx-c:hover .sx-c__ph img, .sx-c:focus-visible .sx-c__ph img { transform: scale(1.07); }
.sx-c__ic { position: absolute; right: 20px; top: calc((100% - 20px) * 0 + 20px); width: 54px; height: 54px; padding: 6px; background: rgba(247, 247, 244, .95); border-radius: calc(var(--r) - 3px); box-shadow: 0 8px 18px rgba(21, 48, 74, .2); }
.sx-c__ic svg { width: 100%; height: 100%; } .sx-c__ic path { fill: none; stroke: var(--oak-deep); stroke-width: 3.2; stroke-linejoin: round; }
.sx-c__dim { display: block; height: 9px; margin: 14px 6px 0; position: relative; }
.sx-c__dim::before { content: ''; position: absolute; left: 0; right: 0; top: 4px; height: 1px; background: var(--oak-deep); transform: scaleX(.14); transform-origin: left; transition: transform .8s var(--ease); }
.sx-c__dim::after { content: ''; position: absolute; left: 0; top: 0; width: 1px; height: 9px; background: var(--oak-deep); }
.sx-c:hover .sx-c__dim::before, .sx-c:focus-visible .sx-c__dim::before { transform: scaleX(1); }
.sx-c__t { display: block; padding: 10px 6px 8px; }
.sx-c__t .k { color: var(--oak-deep); margin-bottom: 4px; }
.sx-c__t b { display: block; font: 400 clamp(1.35rem, 1.6vw, 1.65rem)/1.12 var(--f-d); margin-bottom: 6px; transition: color .3s; }
.sx-c:hover .sx-c__t b { color: var(--oak-deep); }
.sx-c__l { display: block; font-size: .95rem; line-height: 1.5; color: var(--muted); }
@media (max-width: 1100px) { .sx-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .sx-list { grid-template-columns: 1fr; gap: 14px; }
  .sx-c { display: grid; grid-template-columns: 38% 1fr; gap: 12px; align-items: start; }
  .sx-c__ph { aspect-ratio: 1; }
  .sx-c__ic { width: 40px; height: 40px; right: auto; left: calc(38% - 34px); top: 16px; padding: 4px; }
  .sx-c__dim { display: none; }
  .sx-c__t { padding: 2px 2px 4px; }
  .sx-c__l { font-size: .9rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
}

/* style finder */
.sx-fd__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 5vw, 88px); align-items: center; }
.sx-fd__q h2 { margin-bottom: 26px; }
.sx-steps { list-style: none; margin: 0 0 22px; padding: 0; display: flex; gap: 0; counter-reset: st; }
.sx-steps li { counter-increment: st; flex: 1; position: relative; padding-top: 14px; font-size: .9rem; font-weight: 600; color: var(--muted-d); }
.sx-steps li::before { content: counter(st) '. '; color: var(--silver); }
.sx-steps li i { position: absolute; left: 0; right: 6px; top: 0; height: 3px; background: rgba(183, 205, 225, .2); overflow: hidden; border-radius: 2px; }
.sx-steps li i::after { content: ''; position: absolute; inset: 0; background: var(--oak); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease); }
.sx-steps li.is-on, .sx-steps li.is-done { color: #fff; }
.sx-steps li.is-on i::after { transform: scaleX(.5); }
.sx-steps li.is-done i::after { transform: scaleX(1); }
.sx-q__t { font: 400 clamp(1.4rem, 1.9vw, 1.9rem)/1.2 var(--f-d); color: #fff; margin: 0 0 16px; }
.sx-q__opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.sx-q__opts button { text-align: left; background: rgba(255, 255, 255, .05); color: var(--silver-hi); border-color: rgba(183, 205, 225, .35); min-height: 52px; padding: 10px 16px; line-height: 1.3; position: relative; overflow: hidden; }
.sx-q__opts button::after { content: ''; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--oak-hi); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.sx-q__opts button:hover, .sx-q__opts button:focus-visible { border-color: var(--oak-hi); color: #fff; }
.sx-q__opts button:hover::after, .sx-q__opts button:focus-visible::after { transform: scaleX(1); }
.sx-q__back { margin-top: 16px; border: 0; background: none; color: var(--oak-hi); font-weight: 600; text-decoration: underline; min-height: 44px; padding: 0; }
.sx-q__no { color: var(--muted-d); }
.sx-sheet { background-color: rgba(10, 26, 41, .55); border: 1px solid rgba(183, 205, 225, .3); border-radius: var(--r); box-shadow: 0 40px 80px rgba(6, 18, 30, .35); }
.sx-sheet__hd { display: flex; justify-content: space-between; align-items: center; padding: 12px 18px; border-bottom: 1px solid rgba(183, 205, 225, .2); }
.sx-sheet__rd { font-size: .875rem; font-weight: 600; color: var(--oak-hi); }
.sx-sheet__dw { padding: clamp(16px, 2vw, 28px); display: grid; place-items: center; }
.sx-sheet__dw svg { width: min(100%, 300px); height: auto; max-height: min(34vh, 300px); overflow: visible; }
.sx-dw { fill: rgba(227, 232, 235, .05); stroke: var(--silver-hi); stroke-width: 1.6; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.sx-dim { fill: none; stroke: var(--oak-hi); stroke-width: 1.1; vector-effect: non-scaling-stroke; }
.sx-res { padding: 0 18px 18px; border-top: 1px solid rgba(183, 205, 225, .2); }
.sx-res__n { margin: 14px 0 6px; }
.sx-res__n b { display: block; font: 400 clamp(1.5rem, 2vw, 2rem)/1.1 var(--f-d); color: #fff; }
.sx-res__l { color: var(--muted-d); font-size: .97rem; margin-bottom: 8px; }
.sx-res__r { color: var(--silver-hi); font-size: .97rem; margin-bottom: 16px; }
.sx-res__r a { color: var(--oak-hi); font-weight: 600; }
@media (max-width: 900px) { .sx-fd__grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .sx-q__opts { grid-template-columns: 1fr; } .sx-res .btns { flex-direction: column; align-items: stretch; } }
.sx-stack.is-live .sx-card { transform: none; }

/* short laptop screens: the wall still fits one screen (names on one line, tighter spacing) */
@media (min-width: 1000px) and (max-height: 820px) {
  .cx-wall { padding: 40px 0; }
  .cx-wall .sec__head { margin-bottom: 18px; }
  .cx-filters { gap: 6px; margin-bottom: 12px; }
  .cx-sw__t span { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .cx-sw__c { aspect-ratio: 1 / .64; }
  .cx-fg button { min-height: 44px; padding: 0 12px; }
  .cx-pv__draw svg { max-height: 200px; }
  .cx-pv__draw { padding-bottom: 10px; }
}
