/* ==========================================================
   T1 round 3 · story that follows the shopper's choices
   Builds on t1.css (tiles, scrim, laptop + phone frames).
   One state (color, size, pad) drives every story option.
   ========================================================== */

:root { --deep: #5E2C1E; --mid: #D58A63; }
::selection { background: #E9D3C6; color: var(--rv-ink); }

/* ---------- page chrome ---------- */
.r3 .ctx-head h1 { max-width: 15ch; text-wrap: balance; }
.ctx-toggle label.is-pick span::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; margin-left: 8px; opacity: .55; }
.ctx-toggle input:checked + span::after { opacity: .9; }

.statebar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; padding: 12px 16px; background: var(--c-paper); border: 1px solid var(--c-line); border-radius: 8px; margin: 0 0 20px; }
.statebar .lab { font-family: var(--f-mono); font-size: 11px; color: var(--c-muted); text-transform: uppercase; letter-spacing: .04em; }
.statebar .grp { display: flex; align-items: center; gap: 8px; }
.statebar select { height: 32px; border: 1px solid var(--c-line); border-radius: 999px; padding: 0 28px 0 12px; font: 500 12px var(--f-sans); color: var(--c-ink); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0h10L5 6z' fill='%231F1A17'/%3E%3C/svg%3E") no-repeat right 11px center; appearance: none; }
.chip { min-height: 32px; padding: 0 12px; border: 1px solid var(--c-line); border-radius: 999px; background: #fff; font-size: 12px; font-weight: 500; color: var(--c-ink); display: inline-flex; align-items: center; gap: 7px; cursor: pointer; }
.chip:hover { border-color: var(--c-ink); }
.chip[aria-pressed="true"] { background: var(--c-pick); border-color: var(--c-pick); color: #fff; }
.chip i { width: 14px; height: 14px; border-radius: 50%; background-size: cover; box-shadow: 0 0 0 1px rgba(0,0,0,.12); }
.chip:focus-visible, .statebar select:focus-visible { outline: 2px solid var(--c-test); outline-offset: 2px; }

.r3-lede { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; align-items: start; }
.r3-lede p { font-size: 16px; max-width: 64ch; margin: 0 0 14px; text-wrap: pretty; }
.ref-note { background: var(--c-paper); border: 1px solid var(--c-line); border-radius: 8px; padding: 18px 20px; font-size: 14px; }
.ref-note h3 { font-size: 14px; font-weight: 600; margin: 0 0 6px; }
.ref-note p { margin: 0 0 12px; font-size: 14px; }
.ref-note p:last-child { margin: 0; }
@media (max-width: 1100px) { .r3-lede { grid-template-columns: minmax(0, 1fr); gap: 20px; } }

.iter .letter { font-size: 13px; color: var(--c-ink); font-weight: 600; }
.iter-surface--slide { display: grid; place-items: center; background: #F2EEE8; padding: 24px 16px; }
.t1-surface .t1-col { max-width: 400px; }

/* ---------- story text: one scale, multiplied by --tz under the 200% stress ---------- */
.st, .pc { --tz: 1; }
html[data-stress="zoom"] :is(.st, .pc) { --tz: 2; }
.st-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 0 0 12px; font-size: calc(18px * var(--tz)); line-height: 28px; font-weight: 400; color: var(--rv-ink); }   /* same as the buy box's section rows (See … in Real Life) */
.mp-buy .st-head { font-size: calc(16px * var(--tz)); line-height: 24px; }

/* tiles grow with their text: the photo clips itself, the tile doesn't */
.r3 .fb { overflow: clip; border-radius: 0; }   /* clip, not hidden: the tile still grows with its text, and its gradient can't spill out */
.fb-media { position: absolute; inset: 0; overflow: hidden; z-index: 0; background: var(--deep); }
.fb-media .fb-img { position: absolute; inset: 0; }
.fb-media .fb-split { position: absolute; inset: 0; }
.st .fb-h { font-size: calc(21px * var(--tz)); line-height: 1.12; }
.st .fb-s { font-size: calc(13px * var(--tz)); line-height: 1.4; }
.st .fb-t { display: block; font-size: calc(13px * var(--tz)); line-height: 1.45; }
.st .fb-body { padding: 14px 16px 15px; gap: 4px; }

/* slow images: the deep tone stands in until the photo arrives */
html[data-stress="slow"] .st-img { visibility: hidden; }

/* three lights in one tile */
.fb-split3 { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px; background: #fff; }
.fb-split3 .fb-img { position: relative; }
.lt3-labs { position: absolute; left: 0; right: 0; top: 8px; z-index: 4; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px; pointer-events: none; }
.lt3-labs > span, .lt3-lab { justify-self: start; margin-left: 8px; font-size: calc(11px * var(--tz)); line-height: 1.3; font-weight: 600; letter-spacing: .03em; background: #fff; color: var(--rv-ink); padding: 3px 7px; }
.lt3-lab { position: absolute; z-index: 4; margin: 0; }

/* ---------- live drawings ---------- */
.uf { display: block; width: 100%; max-width: 260px; height: auto; color: var(--rv-ink); overflow: visible; }
.uf text { font: 500 11px var(--f-sans); fill: currentColor; }
.uf--dark { color: #fff; }
.uf .uf-floor { fill: #C8B59A; }

/* colorway picker: the story hands the choice back to the buy box */

/* ---------- A′ · rows ---------- */
.ra { border-top: 1px solid #E5E7EB; }
.ra:last-of-type { border-bottom: 1px solid #E5E7EB; }
.ra > summary { list-style: none; display: grid; grid-template-columns: 64px minmax(0, 1fr) 16px; gap: 14px; align-items: center; padding: 10px 0; cursor: pointer; }
.ra > summary::-webkit-details-marker { display: none; }
.ra > summary:focus-visible { outline: 2px solid var(--rv-plum); outline-offset: 2px; }
.ra-th { position: relative; width: 64px; height: 64px; overflow: hidden; background: var(--deep); }
.ra-th img { width: 100%; height: 100%; object-fit: cover; }
.ra-th .half { position: absolute; top: 0; bottom: 0; width: 50%; object-fit: cover; }
.ra-th .half + .half { left: 50%; border-left: 1px solid #fff; }
.ra-t { display: block; font-size: calc(14px * var(--tz)); font-weight: 600; line-height: 1.3; }
.ra-s { display: block; font-size: calc(13px * var(--tz)); color: var(--rv-muted); line-height: 1.4; }
.ra-chev { width: 16px; height: 16px; transform: rotate(90deg); transition: transform .25s; color: var(--rv-ink); }
.ra[open] .ra-chev { transform: rotate(-90deg); }
.ra-body { padding: 2px 0 18px; display: grid; gap: 10px; }
.ra-big { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--deep); }
.ra-big > img { width: 100%; height: 100%; object-fit: cover; }
.ra-big--3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px; background: #fff; aspect-ratio: 16 / 7; }
.ra-big--3 img { width: 100%; height: 100%; object-fit: cover; }
.ra-big--3 .lt3-lab { top: 6px; }
.ra-body p { margin: 0; font-size: calc(13.5px * var(--tz)); line-height: 1.5; }
.ra-label { background: var(--rv-plum); color: #F6F3EB; padding: 18px 20px; position: relative; }
.ra-label::before { content: ""; position: absolute; inset: 6px; border: 1px dashed rgba(246, 243, 235, .5); pointer-events: none; }
.ra-label b { display: block; font-family: var(--f-serif); font-weight: 400; font-size: calc(22px * var(--tz)); line-height: 1.15; margin-bottom: 4px; }
.ra-label span { font-size: calc(12.5px * var(--tz)); }

/* ---------- F′ · stack with rhythm ---------- */
.fs-list { display: grid; gap: 8px; }
.fs { min-height: 132px; }
.fs--weave { min-height: 164px; }
.fs--light { min-height: 116px; }
.fs--label { min-height: 128px; }
.fs .fb-more { margin-top: -4px; overflow: clip; }   /* cancels the body's 4px gap, so a closed-height block adds nothing */
.fb-more-in { padding-top: 12px; }
.fs .fb-more .uf { margin: 10px 0 4px; }

/* ---------- J′ · rail, cards reveal inside themselves ---------- */
.jr-track { display: grid; grid-auto-flow: column; grid-auto-columns: 64%; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.jr-track::-webkit-scrollbar { display: none; }
.jr { aspect-ratio: 4 / 5; scroll-snap-align: start; }
.jr .fb-h { font-size: calc(20px * var(--tz)); }
.jr .fb-s { font-size: calc(12.5px * var(--tz)); }
.jr-cue { position: absolute; top: 10px; right: 10px; z-index: 3; width: 30px; height: 30px; border-radius: 50%; background: #fff; color: var(--rv-ink); display: grid; place-items: center; box-shadow: 0 4px 12px -4px rgba(0,0,0,.35); pointer-events: none; }
.jr-cue svg { width: 12px; height: 12px; }
.jr-panel { position: absolute; left: 0; right: 0; bottom: 0; max-height: 100%; overflow-y: auto; z-index: 5; background: #fff; color: var(--rv-ink); padding: 14px 14px 16px; display: grid; gap: 8px; align-content: start; transform: translateY(100%); visibility: hidden; transition: transform .4s cubic-bezier(.16, 1, .3, 1), visibility 0s .4s; box-shadow: 0 -10px 24px -16px rgba(0,0,0,.4); }
.jr.is-open .jr-panel { transform: none; visibility: visible; transition: transform .4s cubic-bezier(.16, 1, .3, 1); }
.jr-panel:focus { outline: none; }
.jr-panel:focus-visible { outline: 2px solid var(--rv-plum); outline-offset: -2px; }
.jr-ph { display: flex; justify-content: space-between; align-items: start; gap: 8px; }
.jr-ph .fb-t { font-family: var(--f-serif); font-size: calc(18px * var(--tz)); line-height: 1.15; color: var(--rv-plum); }
.jr-x { flex: none; width: 28px; height: 28px; border: 1px solid var(--rv-line); border-radius: 50%; background: #fff; display: grid; place-items: center; color: var(--rv-ink); cursor: pointer; }
.jr-x svg { width: 12px; height: 12px; }
.jr-x:focus-visible { outline: 2px solid var(--rv-plum); outline-offset: 2px; }
.jr-panel .fb-t { font-size: calc(12.5px * var(--tz)); line-height: 1.45; }
.jr-panel .uf { max-width: 100%; }
.jr-panel .lt3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px; }
.jr-panel .lt3 img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.jr-panel .lt3 span { font-size: 10.5px; font-weight: 600; display: block; margin-top: 2px; }



/* ---------- M · placards on the photos ---------- */
.pc { position: absolute; right: 20px; bottom: 20px; z-index: 3; width: 300px; max-width: calc(100% - 40px); background: #fff; color: var(--rv-ink); box-shadow: 0 14px 30px -18px rgba(35, 28, 27, .55), 0 1px 0 rgba(35, 28, 27, .06); }
.pc > summary { list-style: none; display: grid; grid-template-columns: minmax(0, 1fr) 26px; gap: 12px; align-items: start; padding: 13px 14px 14px 16px; cursor: pointer; }
.pc > summary::-webkit-details-marker { display: none; }
.pc > summary:focus-visible { outline: 2px solid var(--rv-plum); outline-offset: 2px; }
.pc-h { display: block; font-family: var(--f-serif); font-size: calc(19px * var(--tz)); line-height: 1.15; color: var(--rv-plum); }
.pc-s { display: block; margin-top: 3px; font-size: calc(13px * var(--tz)); line-height: 1.4; }
.pc-cue { width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--rv-line); display: grid; place-items: center; transition: transform .25s; }
.pc-cue svg { width: 11px; height: 11px; }
.pc[open] .pc-cue { transform: rotate(45deg); }
.pc-more { padding: 0 16px 16px; display: grid; gap: 8px; border-top: 1px solid var(--rv-line); padding-top: 12px; margin: 0 14px 0 16px; padding-left: 0; padding-right: 0; }
.pc-more p { margin: 0; font-size: calc(13px * var(--tz)); line-height: 1.45; }
.pc-more .uf { max-width: 240px; margin-top: 2px; }
.pc--mob { right: 12px; bottom: 12px; width: 268px; max-width: calc(100% - 24px); }
.pc--mob > summary { padding: 11px 12px 12px 14px; grid-template-columns: minmax(0, 1fr) 24px; }
.pc--mob .pc-h { font-size: calc(16px * var(--tz)); }
.pc--mob .pc-s { font-size: calc(12.5px * var(--tz)); }
.pc--mob .pc-cue { width: 24px; height: 24px; }
.pc--mob .pc-more { margin: 0 12px 0 14px; padding-bottom: 14px; max-height: 260px; overflow-y: auto; }
.pc--mob .pc-more p { font-size: calc(12.5px * var(--tz)); }


/* ---------- interactive buy box in the frames ---------- */
.lp-sw, .mp-sw { align-items: center; }
.swr { position: relative; display: inline-grid; flex: none; }
.swr input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.swr span { width: 32px; height: 32px; border-radius: 50%; background-size: cover; background-position: center; box-shadow: 0 0 0 1px var(--rv-line); }
.mp-sw .swr span { width: 30px; height: 30px; }
.swr input:checked + span { outline: 1px solid var(--rv-plum); outline-offset: 3px; }
.swr input:focus-visible + span { outline: 2px solid var(--c-test); outline-offset: 3px; }
.selectn { appearance: none; width: 100%; height: 49px; margin-top: 12px; border: 1px solid var(--rv-plum); border-radius: 0; padding: 0 36px 0 13px; font: 300 15px var(--f-sans); color: var(--rv-ink); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0h10L5 6z' fill='%23231C1B'/%3E%3C/svg%3E") no-repeat right 14px center; cursor: pointer; }
.mp-buy .selectn { margin-top: 8px; }
.selectn:focus-visible { outline: 2px solid var(--c-test); outline-offset: 2px; }
.padb { height: 46px; border: 1px solid #EDE7D9; display: flex; align-items: center; gap: 8px; padding: 0 10px; white-space: nowrap; font-size: 12px; background: #fff; color: var(--rv-ink); text-align: left; cursor: pointer; width: 100%; }
.padb i { width: 16px; height: 16px; border-radius: 50%; border: 1px solid #BDB5AC; flex: none; }
.padb b { margin-left: auto; font-weight: 400; }
.padb[aria-pressed="true"] { border-color: var(--rv-plum); }
.padb[aria-pressed="true"] i { background: var(--rv-plum); border-color: var(--rv-plum); box-shadow: inset 0 0 0 3px #fff; }
.padb:focus-visible { outline: 2px solid var(--c-test); outline-offset: 2px; }
.lp-pads .padb { width: 183px; }

/* gallery in the frames */
.lp-thumbs .th-plate { width: 90px; height: 113px; object-fit: cover; }
.lp-gallery .rv-badge { z-index: 2; }

/* phone carousel: 100% slides + progress bar, as live */
.mp-car { position: relative; margin-top: 13px; }
.mp-track { display: grid; grid-auto-flow: column; grid-auto-columns: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.mp-track::-webkit-scrollbar { display: none; }
.mp-slide { position: relative; width: 390px; height: 488px; scroll-snap-align: start; scroll-snap-stop: always; overflow: hidden; background: var(--rv-sand); }
.mp-slide > img { width: 100%; height: 100%; object-fit: cover; }
.mp-slide .rv-badge { z-index: 2; }
.mp-prog { position: relative; height: 3px; background: var(--rv-line); margin: 10px 16px 0; }
.mp-prog span { position: absolute; top: 0; bottom: 0; left: 0; background: var(--rv-plum); }
.mp-count { position: absolute; left: 12px; top: 12px; z-index: 2; background: rgba(255,255,255,.92); color: var(--rv-ink); font-size: 11px; font-weight: 600; padding: 3px 8px; border-radius: 999px; }
.ctx-mob .mp-vir { margin-top: 12px; }
.slide-solo { width: 390px; height: 488px; position: relative; overflow: hidden; background: var(--rv-sand); box-shadow: 0 12px 30px -18px rgba(0,0,0,.35); }
.slide-solo > img { width: 100%; height: 100%; object-fit: cover; }

/* readouts */
.ctx-read > span.r-gal:not(:empty) { color: #24456B; border-color: #B9C6D6; background: #EEF2F7; }

/* hardening */
.tests .try { margin-top: 8px; }
.tests code, .code { white-space: nowrap; font-family: var(--f-mono); font-size: 12px; background: var(--c-soft); padding: 1px 5px; border-radius: 3px; }
.limits td:nth-child(2) { font-family: var(--f-mono); white-space: nowrap; }
.harden-wrap { display: grid; gap: 24px; }

@media (prefers-reduced-motion: reduce) {
  .jr-panel, .jr.is-open .jr-panel { transition: none; }
  .pc-cue, .ra-chev { transition: none; }
}

/* slide wrappers paint sand; the story surfaces keep their own grounds */
/* an open rail card is its panel: the closed text underneath steps out of view and out of the audit */
.jr.is-open > .jr-labs { visibility: hidden; }

/* laptop placards ride the bottom of the visible part of their photo, so the
   hero's shows on the first screen and each one stays in view while its photo does */
.lp-gallery .rv-media:has(> .pc) { overflow: clip; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-end; }
.lp-gallery .rv-media:has(> .pc) > img { position: absolute; inset: 0; }
.lp-gallery .pc--desk { position: sticky; right: auto; bottom: 20px; margin: 0 20px 20px 0; }
.st-head .rv-arrows button { width: 30px; height: 30px; color: var(--rv-ink); cursor: pointer; }
.st-head .rv-arrows svg { width: 14px; height: 14px; }
.st-head .rv-arrows button:focus-visible { outline: 2px solid var(--rv-plum); outline-offset: 2px; }
.iter { min-width: 0; }

/* the light tile's tags sit in the tile's flow, so big text grows the tile instead of running into them */
.fs--light .lt3-labs { position: relative; top: auto; padding-top: 8px; margin-bottom: auto; }
.fs--light { justify-content: flex-start; }
.fs--light > .fb-body { margin-top: auto; }

/* rail cards: tags in flow at the top, the open cue bottom-right as on the stack */
.jr-labs { position: relative; z-index: 4; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 10px 0 0; margin-bottom: auto; pointer-events: none; }
.jr-labs .fb-split-lab { position: static; justify-self: start; margin-left: 10px; }
.jr:has(> .jr-labs) { justify-content: flex-start; }
.jr > .fb-body { margin-top: auto; padding-right: 46px; }
.iter-notes .js-audit { display: inline-flex; flex-wrap: wrap; gap: 6px; min-width: 0; }
.iter-notes { grid-template-columns: minmax(0, 1fr); }

/* narrow screens: the review page itself must not scroll sideways */
@media (max-width: 700px) {
  .ctx-read > span:not(.lab):not(.audit):not(:empty), .audit .ok, .audit .bad, .audit .h { white-space: normal; }
  .statebar { padding: 12px; }
}
@media (max-width: 460px) {
  .ctx-phone { zoom: .86; }
  .r3 .book { padding-left: 16px; padding-right: 16px; }
}
.statebar .grp { flex-wrap: wrap; }
@media (max-width: 460px) { .iter-surface--slide .slide-solo { zoom: .78; } .iter-surface--slide { padding: 16px 8px; } }

/* the country in the maker story */
.ctry { font-weight: 600; }
.fb:has(> .fb-media[hidden]) > .fb-layer { display: none; }


/* laptop presets */
.ctx-presets { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.ctx-presets > span { font-family: var(--f-mono); font-size: 11px; color: var(--c-muted); text-transform: uppercase; letter-spacing: .04em; margin-right: 4px; }
.ctx-presets button { min-height: 32px; padding: 0 12px; border: 1px solid var(--c-pick); border-radius: 999px; background: var(--c-paper); font-size: 12px; font-weight: 500; color: var(--c-ink); cursor: pointer; }
.ctx-presets button:hover { background: #fff; }
.ctx-presets button:focus-visible { outline: 2px solid var(--c-test); outline-offset: 2px; }

/* ---------- version dock: sticks to the bottom of the screen while the frames are in view ---------- */
.r3 .book { --gutter: 32px; }
@media (max-width: 460px) { .r3 .book { --gutter: 16px; } }
.r3-desc { margin: 0 2px 18px; }
.dock { position: sticky; bottom: 0; z-index: 45; margin: 32px calc(var(--gutter) * -1) 0; padding: 10px var(--gutter) 12px; background: rgba(251, 250, 247, .95); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-top: 1px solid var(--c-line); box-shadow: 0 -14px 30px -22px rgba(31, 26, 23, .5); }
.dock-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; }
.dock-grp { display: flex; align-items: center; flex-wrap: nowrap; gap: 6px; }
.dock .ctx-toggle legend { float: left; margin: 0 6px 0 0; padding: 0; line-height: 32px; font-family: var(--f-mono); font-size: 11px; color: var(--c-muted); text-transform: uppercase; letter-spacing: .04em; }
.dock .ctx-toggle span { min-height: 32px; padding: 0 12px; font-size: 12px; }
@media (max-width: 760px) {
  .dock { padding-top: 8px; padding-bottom: 10px; }
  .dock-row { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; gap: 8px 20px; }
  .dock-row::-webkit-scrollbar { display: none; }
  .dock-grp { flex: none; }
}

/* ---------- first-screen marker: ticks in the margins, nothing drawn across the design ---------- */
.ctx-deskrow { position: relative; }
.r3 .ctx-page .fold { display: none; }
.fold-mark { position: absolute; left: calc(var(--gutter) * -1); right: calc(var(--gutter) * -1); height: 0; z-index: 2; pointer-events: none; }
.fold-mark[hidden] { display: none; }
.fold-mark::before, .fold-mark::after { content: ""; position: absolute; top: -1px; width: calc(var(--gutter) - 8px); border-top: 2px solid var(--c-test); }
.fold-mark::before { left: 4px; }
.fold-mark::after { right: 4px; }
.fold-mark span { position: absolute; left: 4px; bottom: 4px; font: 500 10px/1 var(--f-mono); color: var(--c-test); }

/* ---------- open/close: while a section animates shut, its marker turns back straight away ---------- */
.ra.is-closing .ra-chev { transform: rotate(90deg); }
.pc.is-closing .pc-cue, .fb.is-closing .fb-cue { transform: none; }

/* ---------- design view: the chosen device fills the window; tags, notes and the rest of the book step out ---------- */
body:not([data-show="notes"]) :is(.book-bar, .ctx-head, .r3-desc, .ctx-read, .ctx-mobnotes, .fold-mark) { display: none !important; }
body:not([data-show="notes"]) main > section:not(#context) { display: none; }
body:not([data-show="notes"]) .book { max-width: none; padding: 0 0 var(--dock-h, 64px); }
body:not([data-show="notes"]) .ctx { padding-top: 0; }
body:not([data-show="notes"]) .ctx-deskrow { margin: 0; padding: var(--stage-pad, 16px) 0; }
body:not([data-show="notes"]) .ctx-scale { margin: 0 auto; border-radius: 0; box-shadow: 0 1px 2px rgba(31, 26, 23, .08), 0 28px 60px -34px rgba(31, 26, 23, .4); }
body[data-show="phone"] .ctx-deskrow, body[data-show="laptop"] .ctx-mobrow { display: none; }
body[data-show="phone"] .ctx-mobrow { display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; margin: 0; padding: 16px 0; }
body[data-show="phone"] .ctx-phone { zoom: var(--phone-z, 1); }
body:not([data-show="notes"]) .dock { position: fixed; left: 0; right: 0; bottom: 0; margin: 0; padding-inline: 24px; }

/* ======================================================================
   15 Oct: story as a section row, light in the carousel, swatch, pads
   ====================================================================== */

/* ---------- Get to Know Ondu: a section row like Details and Reviews ---------- */
.r3 .lp-buy .t1-variant, .r3 .mp-buy .t1-variant { padding: 32px 0 0; }
.r3 .t1-slot:has(> .r3-variant:not([hidden])) + .lp-acc--open,
.r3 .t1-slot:has(> .r3-variant:not([hidden])) + .mp-acc--open { margin-top: 0; }
.st-row { display: flex; width: 100%; min-height: 60px; justify-content: space-between; align-items: center; gap: 12px; margin: 0; padding: 0; border: 0; border-top: 1px solid #E5E7EB; background: none; color: var(--rv-ink); font: 400 calc(18px * var(--tz)) / 28px var(--f-sans); text-align: left; cursor: pointer; }
.mp-buy .st-row { min-height: 56px; font-size: calc(16px * var(--tz)); line-height: 24px; }
.st-row:focus-visible { outline: 2px solid var(--rv-plum); outline-offset: 2px; }
.st-row .caret { flex: none; transition: transform .3s cubic-bezier(.25, 1, .5, 1); }
.st-panel { overflow: clip; }
.st-panel-in { padding-bottom: 23px; }
.st-panel .ra:first-of-type { border-top: 0; }
.jr-foot { display: flex; align-items: center; gap: 12px; margin-top: 12px; }
.jr-foot .rv-prog { flex: 1; margin: 0; }
.jr-foot .rv-arrows button { width: 30px; height: 30px; color: var(--rv-ink); cursor: pointer; }
.jr-foot .rv-arrows svg { width: 14px; height: 14px; }
.jr-foot .rv-arrows button:focus-visible { outline: 2px solid var(--rv-plum); outline-offset: 2px; }


/* ---------- In Your Light, part 1: compare sun and overcast ---------- */
.lts { position: relative; overflow: hidden; touch-action: pan-y; cursor: ew-resize; user-select: none; -webkit-user-select: none; background: var(--deep); }
.lts > img.lts-a, .lts-b, .lts-b img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lts-b { clip-path: inset(0 0 0 var(--x, 50%)); }
.lts-line { position: absolute; top: 0; bottom: 0; left: var(--x, 50%); width: 0; z-index: 2; }
.lts-line::before { content: ""; position: absolute; top: 0; bottom: 0; left: -1px; width: 2px; background: #fff; box-shadow: 0 0 0 1px rgba(35, 28, 27, .1); }
.lts-knob { position: absolute; top: 50%; left: 0; width: 44px; height: 44px; margin: -22px 0 0 -22px; padding: 0; border: 0; border-radius: 50%; background: #fff; color: var(--rv-ink); display: grid; place-items: center; box-shadow: 0 8px 20px -8px rgba(0, 0, 0, .5); cursor: grab; touch-action: none; }
.lts-knob:active { cursor: grabbing; }
.lts-knob svg { width: 18px; height: 18px; }
.lts-knob:focus-visible { outline: 3px solid var(--rv-plum); outline-offset: 2px; }
.lts-lab { position: absolute; top: 16px; z-index: 2; background: #fff; color: var(--rv-ink); font-size: 12px; font-weight: 600; padding: 4px 9px; }
.lts-lab.l { left: 16px; }
.lts-lab.r { right: 16px; }
.mp-slide.lts { touch-action: auto; cursor: auto; }
.mp-slide .lts-lab { top: 12px; }
.mp-slide .lts-lab.l { left: 12px; }
.mp-slide .lts-lab.r { right: 12px; }

/* part 2: three strips of one patch; tap one and it opens to the full image */
.lp-gallery .rv-media.lst, .lp-gallery .rv-media.lst:has(> .pc), .mp-slide.lst { display: grid; grid-template-columns: minmax(0, 1fr); align-items: stretch; justify-items: stretch; justify-content: stretch; gap: 6px; padding: 0; background: #fff; }
.lst { grid-template-rows: repeat(3, minmax(0, 1fr)); }
.lst[data-open="0"] { grid-template-rows: minmax(0, 1fr) 46px 46px; }
.lst[data-open="1"] { grid-template-rows: 46px minmax(0, 1fr) 46px; }
.lst[data-open="2"] { grid-template-rows: 46px 46px minmax(0, 1fr); }
.lst-s { position: relative; min-height: 0; margin: 0; padding: 0; border: 0; overflow: hidden; background: var(--deep); cursor: zoom-in; }
.lst-s[aria-expanded="true"] { cursor: zoom-out; }
.lst-s img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lst-s .lt3-lab { left: 12px; top: 12px; }
.lst-s:focus-visible { outline: 3px solid var(--rv-plum); outline-offset: -3px; }
.lp-gallery .lst .pc--desk { position: absolute; right: 20px; bottom: 20px; margin: 0; }

/* part 3: a day of light on film. Two copies of the film share the frame (one runs the day backwards),
   so a change of time always plays rather than jumps. The controls are smoked glass over the rug:
   the bottom of every frame is the dark rug, so white text holds its contrast from morning to night. */
.ltf { position: relative; overflow: hidden; background: #1E1A17; }
.ltf-v { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; }
.ltf-v.is-on { opacity: 1; }
.ltf-test, .ltf-ctl { -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4); background: rgba(22, 18, 16, .42); color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16); }
.ltf-test { position: absolute; left: 16px; top: 16px; z-index: 2; font-size: 12px; line-height: 16px; font-weight: 600; padding: 4px 10px; border-radius: 999px; }
.lp-gallery .ltf .pc--desk { position: absolute; top: 16px; right: 16px; bottom: auto; margin: 0; }
.mp-slide.ltf .ltf-test, .slide-solo.ltf .ltf-test { left: 12px; top: 12px; }
.mp-slide.ltf .pc--mob { top: 46px; bottom: auto; }

.ltf-ctl { --sky: 34px; position: absolute; left: 16px; right: 16px; bottom: 16px; z-index: 3; padding: 12px 8px 8px; border-radius: 14px; }
.ltf-cap { margin: 0; display: flex; align-items: baseline; flex-wrap: wrap; gap: 2px 10px; padding: 0 8px 6px; }
.ltf-cap b { font-family: var(--f-serif); font-weight: 400; font-size: 18px; line-height: 1.2; color: #fff; }
.ltf-cap span { font-size: 12.5px; line-height: 1.4; color: rgba(255, 255, 255, .86); }
.mp-slide.ltf .ltf-cap, .slide-solo.ltf .ltf-cap { padding: 0 6px 4px; gap: 0 8px; }
.mp-slide.ltf .ltf-cap b, .slide-solo.ltf .ltf-cap b { font-size: 15px; }
.mp-slide.ltf .ltf-cap span, .slide-solo.ltf .ltf-cap span { font-size: 11px; }
/* the sky: a dotted path for the sun, a horizon, and the sun or moon riding it as the film plays */
.ltf-sky { position: relative; height: var(--sky); margin: 0 0 4px; overflow: hidden; }
.ltf-path { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.ltf-path path { fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; opacity: .9; vector-effect: non-scaling-stroke; }
.ltf-path line { stroke: rgba(255, 255, 255, .22); stroke-width: 1; vector-effect: non-scaling-stroke; }
/* the marker: a disc in the colour of the light at that moment, turning into the moon after dusk */
.ltf-orb { position: absolute; left: calc(var(--sx, .3) * 100%); top: 0; width: 14px; height: 14px; margin-left: -7px; transform: translateY(calc(var(--sy, 6px) - 7px)); pointer-events: none; }
.ltf-sun { position: absolute; inset: 0; border-radius: 50%; background: var(--tc, #FFF4DE) padding-box; border: 2px solid rgba(255, 255, 255, .34); opacity: calc(1 - var(--night, 0)); }
.ltf-moon { position: absolute; inset: -1px; width: 16px; height: 16px; color: var(--tc, #8FA9E6); opacity: var(--night, 0); transform: rotate(-18deg); }
.ltf-stops { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 2px; }
.ltf-stops button { display: grid; justify-items: center; gap: 3px; min-height: 48px; padding: 6px 2px 5px; border: 0; border-radius: 9px; background: transparent; color: rgba(255, 255, 255, .86); font: 600 11.5px/1.15 var(--f-sans); cursor: pointer; transition: background-color .25s, color .25s; }
.ltf-stops button svg { width: 20px; height: 20px; color: var(--tc, currentColor); }
.ltf-stops button[aria-pressed="true"] svg { color: var(--rv-plum); }
.ltf-stops button:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.ltf-stops button[aria-pressed="true"] { background: rgba(255, 255, 255, .94); color: var(--rv-plum); }
.ltf-stops button:focus-visible { outline: 2px solid #fff; outline-offset: 1px; }
/* the nod a time of day gets as the film passes through it */
.ltf-stops button.is-pass svg { animation: ltf-nod .5s cubic-bezier(.25, 1, .5, 1); }
@keyframes ltf-nod { 0% { transform: translateY(0) scale(1); } 35% { transform: translateY(-3px) scale(1.16); } 100% { transform: none; } }
.mp-slide.ltf .ltf-ctl, .slide-solo.ltf .ltf-ctl { --sky: 26px; left: 10px; right: 10px; bottom: 10px; padding: 8px 4px 5px; border-radius: 12px; }
.mp-slide.ltf .ltf-stops button, .slide-solo.ltf .ltf-stops button { min-height: 42px; padding: 5px 0 4px; font-size: 10.5px; border-radius: 8px; }
.mp-slide.ltf .ltf-stops button svg, .slide-solo.ltf .ltf-stops button svg { width: 17px; height: 17px; }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .ltf-test, .ltf-ctl { background: rgba(22, 18, 16, .78); } }
@media (prefers-reduced-motion: reduce) { .ltf-stops button.is-pass svg { animation: none; } .ltf-stops button { transition: none; } }

/* ---------- swatch: a callout box, or a toggle that makes the swatch the purchase ---------- */
.r3 .sw-co, .r3 .sw-tg { display: none; }
.r3 .ctx[data-swatch="callout"] .sw-co { display: grid; }
.r3 .ctx[data-swatch="toggle"] .sw-tg { display: flex; }
.sw-co { grid-template-columns: 46px minmax(0, 1fr); gap: 4px 12px; align-items: center; margin-top: 16px; padding: 10px 12px 11px; background: var(--rv-cream); }
.sw-co-img { width: 46px; height: 46px; object-fit: cover; }
.sw-co-tx { display: block; font-size: 12px; line-height: 1.45; color: var(--rv-ink); }
.sw-co-tx b, .sw-co-tx > span { display: inline; }
.sw-co-tx b { font-size: 13px; font-weight: 600; }
.sw-get { display: inline; border: 0; background: none; padding: 0; margin-left: 2px; font: 600 12px var(--f-sans); color: var(--rv-ink); text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
.sw-tg { align-items: center; gap: 12px; margin-top: 16px; padding: 10px 12px; border: 1px solid var(--rv-line); }
.sw-tg-tx { display: grid; flex: 1; gap: 1px; font-size: 12px; line-height: 1.4; color: var(--rv-ink); }
.sw-tg-tx b { font-size: 13px; font-weight: 600; }
.sw-switch { position: relative; flex: none; width: 40px; height: 24px; padding: 0; border: 0; border-radius: 999px; background: #B8AFA4; cursor: pointer; }
.sw-switch i { position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: transform .25s cubic-bezier(.25, 1, .5, 1); }
.sw-switch[aria-checked="true"] { background: var(--rv-plum); }
.sw-switch[aria-checked="true"] i { transform: translateX(16px); }
.sw-switch:focus-visible, .sw-get:focus-visible { outline: 2px solid var(--c-test); outline-offset: 2px; }

.r3 .pad .pad-tip { position: absolute; right: -6px; bottom: calc(100% + 8px); z-index: 40; width: 264px; display: grid; gap: 8px; padding: 10px; background: #fff; border: 0 none; box-shadow: 0 1px 3px rgba(31, 26, 23, .18), 0 6px 12px -6px rgba(31, 26, 23, .32); color: var(--rv-ink); font-size: 12px; line-height: 1.45; text-align: left; opacity: 0; visibility: hidden; transform: translateY(4px); transition: opacity .16s, transform .16s, visibility 0s .16s; pointer-events: none; }
.r3 .lp-pads .pad:first-child .pad-tip { left: -6px; right: auto; }
.r3 .pad .pad-i:hover + .pad-tip, .r3 .pad .pad-i:focus-visible + .pad-tip, .r3 .pad.is-tip .pad-tip { opacity: 1; visibility: visible; transform: none; transition: opacity .16s, transform .16s; }
.r3 .pad.tip-off .pad-tip { opacity: 0; visibility: hidden; }
.r3 .pad .pad-tip-img { position: relative; display: block; }
.r3 .pad .pad-tip-img img { display: block; width: 100%; height: auto; }
.r3 .pad .pad-tip-img em { position: absolute; top: 6px; font-style: normal; font-size: 10.5px; font-weight: 600; background: #fff; padding: 2px 6px; }
.r3 .pad .pad-tip-img em.l { left: 6px; }
.r3 .pad .pad-tip-img em.r { right: 6px; }
.r3 .pad .pad-tip-tx, .r3 .pad .pad-tip-ft { display: block; }
.r3 .pad .pad-tip b { margin: 0; font-weight: 600; }
.r3 .pad .pad-tip-ft { color: var(--rv-muted); }
@media (prefers-reduced-motion: reduce) { .r3 .pad .pad-tip, .sw-switch i, .st-row .caret { transition: none; } }

/* ---------- dock menus ---------- */
.dock-sel { display: inline-flex; align-items: center; gap: 6px; flex: none; }
.dock-sel > span { font-family: var(--f-mono); font-size: 11px; color: var(--c-muted); text-transform: uppercase; letter-spacing: .04em; }
.dock-sel select { height: 32px; padding: 0 28px 0 12px; border: 1px solid var(--c-line); border-radius: 999px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0h10L5 6z' fill='%231F1A17'/%3E%3C/svg%3E") no-repeat right 11px center; appearance: none; font: 500 12px var(--f-sans); color: var(--c-ink); cursor: pointer; }
.dock-sel select:hover { border-color: var(--c-ink); }
.dock-sel select:focus-visible { outline: 2px solid var(--c-test); outline-offset: 2px; }

/* the audit's off-screen copies */
.audit-host { position: fixed; left: -12000px; top: 0; pointer-events: none; }
/* design view: the laptop sits in the middle of the space above the dock */
body[data-show="laptop"] .ctx-deskrow { min-height: calc(100vh - var(--dock-h, 64px)); display: flex; flex-direction: column; justify-content: center; }
/* sticky bars and the dock: a hairline edge is enough; no extra shadow */
.r3 .lp-stk--bot, .r3 .lp-stk--top, .r3 .mp-sticky, .r3 .dock { box-shadow: none; }

/* ==========================================================
   15 Oct, second pass · buy box rhythm, live ship lines, pad tiles, trust tags
   One vertical scale for the buy box: 8 between a label and its control,
   24 between groups, 16 around Add to Cart. The phone uses the same steps.
   ========================================================== */
.r3 .lp-buy, .r3 .mp-buy { --in: 12px; --grp: 24px; }
.r3 .mp-buy { --in: 10px; --grp: 24px; }
.r3 .lp-buy .lp-desc { margin-top: 20px; }
.r3 .lp-buy .lp-lbl--color, .r3 .ctx-mob .mp-lbl--color { margin-top: var(--grp); }
.r3 .lp-sw, .r3 .mp-sw { margin-top: var(--in); }
.r3 .sw-co, .r3 .sw-tg { margin-top: 16px; }
.buy-rugonly { display: flow-root; }
.r3 .lp-buy .lp-lbl--size, .r3 .ctx-mob .mp-lbl--size { margin-top: var(--grp); }
.r3 .selectn, .r3 .mp-buy .selectn { margin-top: var(--in); }
.r3 .lp-buy .lp-lbl--pad, .r3 .ctx-mob .mp-lbl--pad { margin-top: var(--grp); justify-content: space-between; gap: 6px; }
.r3 .lp-lbl--pad u, .r3 .mp-lbl--pad u { color: var(--rv-ink); }
.r3 .lp-atc.js-atc { margin-top: var(--grp); }
.r3 .buy-rugonly + .bx-band { margin-top: var(--grp); }

/* rug pads: two rows. The pad's edge on top, then a checkbox, the name and the price */
.r3 .lp-pads, .r3 .mp-pads { margin-top: var(--in); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.r3 .lp-pads span, .r3 .mp-pads span { height: auto; border: 0; padding: 0; gap: 0; font-size: inherit; }
.r3 .pad { position: relative; min-width: 0; display: grid; }   /* both tiles take the taller one's height */
.r3 .pad .padb { width: 100%; height: 100%; display: grid; grid-template-rows: auto 1fr; padding: 0; border: 1px solid #E3DED7; background: #fff; white-space: normal; text-align: left; transition: border-color .15s; }
.r3 .pad .padb:hover { border-color: #BDB5AC; }
.r3 .pad .padb { position: relative; }
.r3 .pad .padb[aria-pressed="true"] { border-color: var(--rv-plum); }
/* the selected ring is drawn above the photo, so the picture can't cover it */
.r3 .pad .padb[aria-pressed="true"]::after { content: ""; position: absolute; inset: -1px; border: 2px solid var(--rv-plum); pointer-events: none; z-index: 1; }
.r3 .pad .pad-img { display: block; aspect-ratio: 2 / 1; overflow: hidden; background: #EDE9E3; }
.r3 .pad .pad-img img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }   /* side profile beside the ruler */
.r3 .pad .pad-row { display: grid; grid-template-columns: 16px minmax(0, 1fr) auto; align-items: center; gap: 6px; padding: 10px 10px 11px; }
/* phone tiles are narrower: the price goes under the name, so both tiles read the same */
.r3 .mp-pads .pad-row { grid-template-columns: 16px minmax(0, 1fr); grid-template-rows: auto auto; align-items: start; column-gap: 8px; row-gap: 2px; }
.r3 .mp-pads .pad-cb { grid-row: 1 / span 2; }
.r3 .mp-pads .pad-p { grid-column: 2; }
.r3 .pad .pad-cb { width: 16px; height: 16px; margin-top: 0; border: 1px solid #A9A097; display: grid; place-items: center; background: #fff; color: #fff; }
.r3 .pad .pad-cb svg { width: 12px; height: 12px; opacity: 0; }
.r3 .pad .padb[aria-pressed="true"] .pad-cb { background: var(--rv-plum); border-color: var(--rv-plum); }
.r3 .pad .padb[aria-pressed="true"] .pad-cb svg { opacity: 1; }
.r3 .pad .pad-n { display: block; font-size: 12px; line-height: 16px; color: var(--rv-ink); }
.r3 .pad .pad-p { display: block; margin: 0; font-weight: 600; font-size: 12px; line-height: 16px; color: var(--rv-ink); }
.r3 .pad .pad-img { position: relative; }
.r3 .pad .pad-tag { position: absolute; top: 8px; left: 8px; padding: 3px 7px; background: var(--rv-plum); color: #fff; font-size: 11px; line-height: 14px; font-weight: 600; letter-spacing: .02em; }
.r3 .pad .pad-i { position: absolute; top: 6px; right: 6px; z-index: 2; width: 26px; height: 26px; padding: 0; border: 0; border-radius: 50%; background: #fff; color: var(--rv-ink); display: grid; place-items: center; cursor: help; }
.r3 .pad .pad-i svg { width: 16px; height: 16px; }
.r3 .pad .pad-i:hover, .r3 .pad.is-tip .pad-i { background: var(--rv-cream); }
.r3 .pad .pad-i:focus-visible { outline: 2px solid var(--c-test); outline-offset: 1px; }
.r3 .pad .pad-tip { bottom: auto; top: 38px; transform: translateY(-4px); }
.r3 .pad .padb:focus-visible { outline: 2px solid var(--c-test); outline-offset: 2px; }

/* around Add to Cart, as live for Shell: a parchment band, "Ships free in 2 days" in 14px plum with an
   info mark, 8px above the button; Shop Pay installments 12px below it */
.r3 .bx-band { margin: 0; padding: 8px 0; display: flex; justify-content: center; align-items: center; gap: 8px; background: #F5F2EF; font-size: 14px; line-height: 20px; color: var(--rv-plum); }
.r3 .bx-band svg { width: 16px; height: 16px; flex: none; }
.r3 .bx-band + .js-atc { margin-top: 8px; }
.r3 .bx-band[hidden] + .js-atc, .r3 .ctx[data-trust="details"] .bx-band + .js-atc, .r3 .ctx[data-swmode="1"] .bx-band + .js-atc { margin-top: var(--grp); }
.r3 .bx-pay { margin: 12px 0 0; display: flex; justify-content: center; align-items: center; gap: 4px; font-size: 12px; line-height: 16px; color: var(--rv-ink); }
.r3 .bx-pay img { height: 12px; width: auto; transform: translateY(1px); }
[data-stock][hidden], [data-need][hidden], .r3 .sw-co[hidden], .r3 .sw-tg[hidden] { display: none !important; }
.r3 .ctx[data-swmode="1"] .bx-band { display: none; }

/* trust tags: icon on top, words below, three equal columns split by hairlines */
.tt3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: var(--grp); }
.tt { display: grid; justify-items: center; align-content: start; gap: 6px; padding: 2px 6px; text-align: center; color: var(--rv-ink); }
.tt svg { width: 24px; height: 24px; }
.tt-l { font-size: 13px; line-height: 16px; font-weight: 500; }
.tt-d { display: none; margin-top: -3px; font-size: 12px; line-height: 15px; color: var(--rv-muted); text-wrap: balance; }
.mp-buy .tt svg { width: 22px; height: 22px; }
.mp-buy .tt-l { font-size: 12px; line-height: 15px; }
.mp-buy .tt-d { font-size: 11px; line-height: 14px; }
/* "with details": each tag carries its fact, and the ship date moves into Free Shipping */
.r3 .ctx[data-trust="details"] .tt-d { display: block; }
.r3 .ctx[data-trust="details"] .bx-band { display: none; }

.r3 .ctx-mob .mp-desc { margin-top: var(--grp); }
.r3 .lp-buy .t1-variant, .r3 .mp-buy .t1-variant { padding-top: 28px; }

/* The Design and Woven in Turkey now read like The Weave: one photo, words on the gradient */
.fs--design, .fs--maker { min-height: 164px; }
.cwt { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.cwt-b { min-height: 28px; padding: 0 11px; border: 1px solid var(--rv-line); background: #fff; color: var(--rv-ink); font: 500 calc(12px * var(--tz, 1)) var(--f-sans); cursor: pointer; }
.cwt-b[aria-pressed="true"] { background: var(--rv-plum); border-color: var(--rv-plum); color: #fff; }
.cwt-b:focus-visible { outline: 2px solid var(--c-test); outline-offset: 2px; }
.fs .cwt-b { border-color: rgba(255, 255, 255, .6); background: transparent; color: #fff; }
.fs .cwt-b[aria-pressed="true"] { background: #fff; border-color: #fff; color: var(--rv-plum); }
.fb-hit ~ .fb-body .cwt-b { pointer-events: auto; }
.ra-th > img { width: 100%; height: 100%; object-fit: cover; }


@media (prefers-reduced-motion: reduce) { .r3 .pad .padb, .ltf-ctl button { transition: none; } }

/* ==========================================================
   Photo annotations. Badges (Bestseller) live at the top-left; one annotation per photo lives at the
   bottom-left, white on smoked glass with a faint white rim, like the film controls. Size and detail.
   ========================================================== */
.r3 .rv-media .rv-badge { top: 16px; bottom: auto; left: 16px; }
.r3 .mp-slide .rv-badge, .r3 .slide-solo .rv-badge { top: 12px; bottom: auto; left: 12px; }
.an { --tz: 1; position: absolute; left: 16px; bottom: 16px; z-index: 2; max-width: calc(100% - 32px); display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px 5px 10px; border: 1px solid rgba(255, 255, 255, .26); border-radius: 15px; background: rgba(20, 16, 14, .55); -webkit-backdrop-filter: blur(12px) saturate(1.3); backdrop-filter: blur(12px) saturate(1.3); color: #fff; font: 500 calc(12.5px * var(--tz)) / 1.3 var(--f-sans); letter-spacing: .01em; font-variant-numeric: tabular-nums; pointer-events: none; }
html[data-stress="zoom"] .an { --tz: 2; }
.an svg { flex: none; width: 15px; height: 15px; color: #fff; opacity: .8; }
.an-tx { min-width: 0; }
.mp-slide .an, .slide-solo .an { left: 12px; bottom: 12px; max-width: calc(100% - 24px); padding: 4px 10px 4px 8px; gap: 5px; font-size: calc(11.5px * var(--tz)); }
.mp-slide .an svg, .slide-solo .an svg { width: 13px; height: 13px; }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .an { background: rgba(20, 16, 14, .78); } }
/* the size menu, handed over by the annotation */
.selectn.is-cue { animation: sel-cue 1.1s cubic-bezier(.25, 1, .5, 1); }
@keyframes sel-cue { 0%, 40% { box-shadow: 0 0 0 4px rgba(60, 30, 33, .22); } 100% { box-shadow: 0 0 0 0 rgba(60, 30, 33, 0); } }
@media (prefers-reduced-motion: reduce) { .selectn.is-cue { animation: none; } }

/* ==========================================================
   Story tiles: no expanded state. Each carries one link that leads somewhere useful; the whole tile
   follows it. Heading names a fact (Carved in Relief, The Sandwave Collection, Woven in Turkey).
   ========================================================== */
.fb.has-link { cursor: pointer; }
.fb-link { align-self: flex-start; display: inline-flex; align-items: center; gap: 3px; margin-top: 8px; padding: 2px 0; border: 0; background: none; color: #fff; font: 600 calc(13px * var(--tz, 1)) / 1.3 var(--f-sans); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; cursor: pointer; }
.fb-link svg { width: 13px; height: 13px; transition: transform .25s cubic-bezier(.25, 1, .5, 1); }
.fb.has-link:hover .fb-link { text-decoration-thickness: 2px; }
.fb.has-link:hover .fb-link svg { transform: translateX(3px); }
.fb-link:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.jr .fb-link { font-size: calc(12.5px * var(--tz, 1)); margin-top: 6px; }
@media (prefers-reduced-motion: reduce) { .fb-link svg { transition: none; } }

/* ==========================================================
   How Shell is made: a five-step timeline that plays through on its own (6 s a step, bars fill like a
   short film) until you tap. It opens inside the frame you're looking at.
   ========================================================== */
.pm { position: absolute; left: 0; top: 0; z-index: 60; display: grid; place-items: center; background: rgba(28, 20, 18, .55); animation: pm-in .28s cubic-bezier(.25, 1, .5, 1); }
.pm--desk { width: 1440px; height: 900px; transform-origin: 0 0; }
.pm--mob { inset: 0; align-items: end; }
.pm--page { position: fixed; inset: 0; padding: 24px; }
.pm.is-out { animation: pm-out .2s ease-in forwards; }
@keyframes pm-in { from { opacity: 0; } }
@keyframes pm-out { to { opacity: 0; } }
.pm-card { display: grid; grid-template-columns: 520px 440px; width: 960px; height: 600px; background: #fff; color: var(--rv-ink); box-shadow: 0 24px 60px -20px rgba(20, 14, 12, .5); animation: pm-rise .36s cubic-bezier(.25, 1, .5, 1); }
@keyframes pm-rise { from { transform: translateY(16px); } }
.pm-media { position: relative; overflow: hidden; background: var(--rv-sand); }
.pm-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.04); transition: opacity .6s ease, transform 6s linear; }
.pm-media img.is-on { opacity: 1; transform: none; }
.pm-side { display: grid; grid-template-rows: auto auto 1fr auto; padding: 32px 36px 28px; min-height: 0; }
.pm-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.pm-title { margin: 0; font-family: var(--f-serif); font-weight: 400; font-size: 30px; line-height: 1.1; color: var(--rv-plum); }
.pm-x { width: 36px; height: 36px; margin-right: -8px; padding: 0; border: 0; border-radius: 50%; background: none; color: var(--rv-ink); display: grid; place-items: center; cursor: pointer; }
.pm-x svg { width: 20px; height: 20px; }
.pm-x:hover { background: var(--rv-cream); }
.pm-x:focus-visible, .pm-steps button:focus-visible, .pm-nav button:focus-visible { outline: 2px solid var(--c-test); outline-offset: 2px; }
/* the timeline: five bars with their names under them; done bars are full, the running one fills */
.pm-steps { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.pm-steps button { width: 100%; display: grid; gap: 8px; padding: 6px 0; border: 0; background: none; color: var(--rv-muted); font: 600 12px/1.2 var(--f-sans); text-align: left; cursor: pointer; }
.pm-bar { display: block; height: 3px; background: var(--rv-line); overflow: hidden; }
.pm-bar i { display: block; height: 100%; width: 0; background: var(--rv-plum); }
.pm-steps button.is-done .pm-bar i, .pm-steps button[aria-current="step"] .pm-bar i { width: 100%; }
.pm-steps button.is-run .pm-bar i { width: 0; animation: pm-fill 6s linear forwards; }
@keyframes pm-fill { to { width: 100%; } }
.pm-steps button[aria-current="step"], .pm-steps button:hover { color: var(--rv-ink); }
.pm-body { align-self: center; padding: 8px 0; }
.pm-h { margin: 0 0 10px; font-family: var(--f-serif); font-weight: 400; font-size: 24px; line-height: 1.15; color: var(--rv-ink); }
.pm-t { margin: 0; max-width: 40ch; font-size: 15px; line-height: 1.6; color: var(--rv-ink); }
.pm-nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 16px; border-top: 1px solid var(--rv-line); }
.pm-nav button { display: inline-flex; align-items: center; gap: 4px; min-height: 40px; padding: 0 14px; border: 1px solid var(--rv-plum); background: #fff; color: var(--rv-plum); font: 600 13px var(--f-sans); cursor: pointer; }
.pm-nav .pm-next { background: var(--rv-plum); color: #fff; }
.pm-nav button svg { width: 14px; height: 14px; }
.pm-nav button:disabled { opacity: .35; cursor: default; }
.pm-count { font-size: 12.5px; color: var(--rv-muted); font-variant-numeric: tabular-nums; }
/* phone: a sheet from the bottom, photo on top */
.pm--mob .pm-card { grid-template-columns: minmax(0, 1fr); grid-template-rows: 46% minmax(0, 1fr); width: 100%; height: 92%; border-radius: 16px 16px 0 0; overflow: hidden; animation-name: pm-sheet; }
@keyframes pm-sheet { from { transform: translateY(40px); } }
.pm--mob .pm-side { padding: 18px 20px 20px; }
.pm--mob .pm-title { font-size: 22px; }
.pm--mob .pm-steps { margin-top: 16px; gap: 4px; }
.pm--mob .pm-steps button { font-size: 10.5px; gap: 6px; }
.pm--mob .pm-body { align-self: start; padding-top: 22px; }
.pm--mob .pm-h { font-size: 20px; }
.pm--mob .pm-t { font-size: 14px; line-height: 1.55; }
.pm--page .pm-card { width: min(960px, 100%); height: min(600px, calc(100vh - 48px)); grid-template-columns: minmax(0, 52fr) minmax(0, 44fr); }
@media (max-width: 760px) { .pm--page .pm-card { grid-template-columns: minmax(0, 1fr); grid-template-rows: 40% minmax(0, 1fr); } }
@media (prefers-reduced-motion: reduce) { .pm, .pm.is-out, .pm-card { animation: none; } .pm-media img { transition: none; transform: none; } .pm-steps button.is-run .pm-bar i { animation: none; width: 100%; } }

/* ==========================================================
   Laptop: the gallery and thumbnails start level with the title, the breadcrumb sits tighter, and the
   column grows leftwards to the header's 64 px edge (main photo 655 → 712 wide). The buy box stays put.
   ========================================================== */
.r3 .lp-crumb { width: 1243px; margin: 12px 0 0 calc((100% - 1186px) / 2 - 57px); }   /* 12 above, 12 below */
.r3 .lp-pdp { width: 1243px; margin: 12px 0 0 calc((100% - 1186px) / 2 - 57px); grid-template-columns: 90px 712px 381px; }
.r3 .lp-thumbs, .r3 .lp-gallery { padding-top: 0; }
.r3 .lp-gallery .rv-media { width: 712px; height: 890px; }
.r3 .lp-stk .in { width: 1243px; margin: 0 0 0 calc((100% - 1186px) / 2 - 57px); }

/* ==========================================================
   Phone, measured against the live Shell page at 390 × 844 (15 Oct): title row with the ship chip,
   wishlist heart, Bestseller and Forbes badges, then one row under the carousel with the photo
   navigation on the left and View in Your Room on the right.
   ========================================================== */
.mp-info { position: relative; }
.ctx-mob .mp-titlerow { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; margin-top: 8px; padding: 0 16px; }   /* live runs these together; 8px lets the breadcrumb breathe */
.ctx-mob .mp-titlerow .mp-title { padding: 0; max-width: none; }
.ctx-mob .mp-titlerow .mp-ship { flex: none; display: inline-flex; align-items: center; gap: 6px; margin-bottom: -2px; padding: 6px 6px 6px 12px; background: #F5F2EF; color: var(--rv-plum); font-size: 10px; font-weight: 400; line-height: 14px; text-align: left; white-space: nowrap; }
.ctx-mob .mp-titlerow .mp-ship svg { width: 14px; height: 14px; }
.ctx-mob .mp-sale svg { width: 12px; height: 12px; margin-left: 2px; vertical-align: -2px; }
.mp-wish { position: absolute; right: 16px; top: 89px; width: 20px; height: 20px; padding: 0; border: 0; background: none; color: var(--rv-ink); cursor: pointer; }
.mp-wish svg { width: 20px; height: 20px; }
.ctx-mob .mp-rev u { text-underline-offset: 2px; }
.r3 .mp-slide .rv-badge, .r3 .slide-solo .rv-badge { top: 8px; left: 8px; padding: 6px 10px 4px; border-radius: 12px; background: rgb(228, 217, 199); color: #000; font-size: 16px; line-height: 16px; }
.mp-slide > img.rv-forbes { position: absolute; inset: auto 12px 12px auto; z-index: 2; width: 65px; height: 65px; object-fit: contain; }
.mp-nav { display: flex; align-items: center; gap: 12px; margin: 16px 0 12px; padding: 0 16px; }
.mp-dots, .mp-thumbwrap { flex: 1; min-width: 0; }
.mp-thumbwrap { position: relative; }
.mp-dots { display: flex; justify-content: center; gap: 8px; }
.mp-dots button { width: 8px; height: 8px; padding: 0; border: 1px solid var(--rv-plum); border-radius: 50%; background: transparent; cursor: pointer; }
.mp-dots button.is-on { background: var(--rv-plum); }
/* thumbnails: the photo you're on is full strength in a plum ring; the rest sit back until you reach them */
.mp-thumbs { display: flex; gap: 8px; padding: 4px; overflow-x: auto; scrollbar-width: none; overscroll-behavior-x: contain; }
.mp-thumbs::-webkit-scrollbar { display: none; }
.mp-thumbs.fade-r { -webkit-mask-image: linear-gradient(to right, #000 84%, transparent); mask-image: linear-gradient(to right, #000 84%, transparent); }
.mp-thumbs.fade-l { -webkit-mask-image: linear-gradient(to right, transparent, #000 16%); mask-image: linear-gradient(to right, transparent, #000 16%); }
.mp-thumbs.fade-l.fade-r { -webkit-mask-image: linear-gradient(to right, transparent, #000 14%, #000 86%, transparent); mask-image: linear-gradient(to right, transparent, #000 14%, #000 86%, transparent); }
.mp-thumbs button { flex: none; width: 40px; height: 50px; padding: 0; border: 0; background: var(--rv-sand); opacity: .5; cursor: pointer; transition: opacity .2s; }
.mp-thumbs button:hover { opacity: .8; }
.mp-thumbs img { display: block; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.mp-thumbs button.is-on { opacity: 1; outline: 2px solid var(--rv-plum); outline-offset: 2px; }
.mp-thumbs.is-drag { cursor: grabbing; }
.ctx:not([data-pnav="dots"]) .mp-nav { margin-top: 8px; }
@media (prefers-reduced-motion: reduce) { .mp-thumbs button { transition: none; } }
.mp-dots button:focus-visible, .mp-thumbs button:focus-visible, .mp-vir:focus-visible, .mp-wish:focus-visible { outline: 2px solid var(--c-test); outline-offset: 2px; }
.ctx:not([data-pnav="dots"]) .mp-dots, .ctx[data-pnav="dots"] .mp-thumbwrap { display: none; }
/* more thumbnails that way: a small round arrow over the faded end; tap it to page along */
.mp-tarrow { position: absolute; top: 50%; z-index: 2; width: 26px; height: 26px; margin-top: -13px; padding: 0; border: 1px solid var(--rv-line); border-radius: 50%; background: #fff; color: var(--rv-ink); display: grid; place-items: center; box-shadow: 0 2px 6px -2px rgba(20, 14, 12, .3); cursor: pointer; opacity: 0; visibility: hidden; transition: opacity .2s, visibility 0s .2s; }
.mp-tarrow svg { width: 14px; height: 14px; }
.mp-tarrow--l { left: -2px; }
.mp-tarrow--r { right: -2px; }
.mp-thumbwrap.has-l .mp-tarrow--l, .mp-thumbwrap.has-r .mp-tarrow--r { opacity: 1; visibility: visible; transition: opacity .2s; }
.mp-tarrow:focus-visible { outline: 2px solid var(--c-test); outline-offset: 2px; }
/* thumbnails mode: View in Your Room moves onto the photo (top-right), so the thumbnails get the row;
   in dots mode it stays beside the dots, as live */
.mp-vir2 { position: absolute; top: 8px; right: 8px; z-index: 3; display: none; align-items: center; gap: 6px; padding: 5px 11px 5px 9px; border: 1px solid rgba(255, 255, 255, .26); border-radius: 999px; background: rgba(20, 16, 14, .55); -webkit-backdrop-filter: blur(12px) saturate(1.3); backdrop-filter: blur(12px) saturate(1.3); color: #fff; font: 600 12px/1.3 var(--f-sans); cursor: pointer; }
.mp-vir2 svg { width: 15px; height: 15px; }
.mp-vir2:hover { background: rgba(20, 16, 14, .7); }
.mp-vir2:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.ctx:not([data-pnav="dots"]) .mp-vir2 { display: inline-flex; }
.r3 .ctx:not([data-pnav="dots"]) .ctx-mob .mp-vir { display: none; }
@media (prefers-reduced-motion: reduce) { .mp-tarrow { transition: none; } }
.r3 .ctx-mob .mp-vir { flex: none; display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 0; border: 0; background: none; color: #000; font: 600 8px/12px var(--f-sans); text-align: left; cursor: pointer; }
.mp-vir svg { width: 16px; height: 16px; }
/* the buy box below follows live's steps: 12 from a label to its control, 8 from the pads to the button */
.r3 .mp-buy { --in: 12px; }
.r3 .mp-buy .bx-band { display: none; }
.r3 .ctx-mob .mp-buy .mp-atc.js-atc { margin-top: 8px; }
.r3 .ctx-mob .mp-desc { margin-top: 32px; }
/* swiping with a mouse */
.mp-track, .jr-track, .mp-thumbs { cursor: grab; }
.mp-track.is-drag, .jr-track.is-drag { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; user-select: none; -webkit-user-select: none; }
.mp-track img, .jr-track img { -webkit-user-drag: none; }

/* film: the glass takes a whisper of the light's colour too (11%), over the same smoked base */
.ltf-ctl { background: linear-gradient(color-mix(in srgb, var(--tc, #FFF4DE) 11%, transparent), color-mix(in srgb, var(--tc, #FFF4DE) 11%, transparent)), rgba(22, 18, 16, .46); }

/* ==========================================================
   Laptop gallery parity with live: thumbnails sit at 70% until their photo is in view (then a plum
   frame), photos show a zoom cursor and open a full-screen viewer, Bestseller and Forbes badges as live.
   ========================================================== */
.r3 .lp-thumbs img { opacity: .7; outline: 1px solid transparent; outline-offset: 4px; cursor: pointer; transition: opacity .2s, outline-color .2s; }
.r3 .lp-thumbs img:hover { opacity: 1; }
.r3 .lp-thumbs img.is-on { opacity: 1; outline-color: var(--rv-plum); }
.r3 .lp-gallery > .rv-media:has(> img.st-img) { cursor: zoom-in; }
.r3 .rv-media .rv-badge { padding: 6px 10px 4px; border-radius: 12px; background: rgb(228, 217, 199); color: #000; font-size: 16px; line-height: 16px; }
.r3 .rv-media > img.rv-forbes { position: absolute; inset: auto 12px 12px auto; z-index: 2; width: 96px; height: 96px; object-fit: contain; }

/* the viewer: white, every photo stacked large with the thumbnails beside them; a click zooms 2× */
.gv { position: absolute; left: 0; top: 0; z-index: 70; width: 1440px; height: 900px; transform-origin: 0 0; background: #fff; animation: pm-in .2s ease-out; }
.gv-scroll { position: absolute; inset: 0; overflow-y: auto; overscroll-behavior: contain; }
.gv-grid { display: grid; grid-template-columns: 100px 640px; justify-content: center; column-gap: 64px; padding: 48px 0 64px; }
.gv-thumbs { position: sticky; top: 48px; align-self: start; display: grid; gap: 12px; max-height: 804px; overflow-y: auto; scrollbar-width: none; }
.gv-thumbs button { display: block; padding: 4px; border: 1px solid transparent; background: none; opacity: .7; cursor: pointer; transition: opacity .2s, border-color .2s; }
.gv-thumbs button:hover { opacity: 1; }
.gv-thumbs button.is-on { opacity: 1; border-color: var(--rv-plum); }
.gv-thumbs img { display: block; width: 90px; height: 113px; object-fit: cover; }
.gv-main { display: grid; gap: 24px; }
.gv-fig { margin: 0; width: 640px; height: 800px; overflow: hidden; background: var(--rv-sand); cursor: zoom-in; }
.gv-fig img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .35s cubic-bezier(.25, 1, .5, 1); }
.gv-fig.is-zoom { cursor: zoom-out; }
.gv-fig.is-zoom img { transform: scale(2); }
.gv-x { position: absolute; top: 24px; right: 24px; z-index: 2; width: 40px; height: 40px; padding: 8px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .8); color: var(--rv-ink); cursor: pointer; transition: background-color .2s; }
.gv-x:hover { background: var(--rv-cream); }
.gv-x svg { width: 24px; height: 24px; }
.gv-x:focus-visible, .gv-thumbs button:focus-visible { outline: 2px solid var(--c-test); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .gv { animation: none; } .gv-fig img, .r3 .lp-thumbs img, .gv-thumbs button { transition: none; } }

/* the tested pad line (4.4% → 7.5% pad clicks): “You DO need a rug pad”, bold */
.r3 .pad-line { font-weight: 600; color: var(--rv-plum); }
.r3 .pad-line b { font-weight: 700; letter-spacing: .02em; }
/* phone: the breadcrumb sits closer to the header */
.r3 .ctx-mob .mp-crumb { margin-top: 12px; }
/* phone, thumbnails mode: the row stays tight so Color lands at the fold like live (colors above the
   fold won +21.9%); the dots row keeps live's own spacing */
.r3 .ctx:not([data-pnav="dots"]) .mp-nav { margin: 6px 0 0; }
.r3 .ctx:not([data-pnav="dots"]) .ctx-mob .mp-lbl--color { margin-top: 12px; }
.mp-thumbs button { width: 36px; height: 45px; }

/* ==========================================================
   Phone chrome: iPhone Safari's status bar (47) and bottom bar (133) around a 664 px viewport, the
   height Safari gives a page on a 390 × 844 iPhone with its bars showing. The first screen is what's
   between them.
   ========================================================== */
.ios-status { position: absolute; top: 0; left: 0; right: 0; z-index: 40; height: 47px; display: flex; align-items: center; justify-content: space-between; padding: 14px 28px 0 36px; background: #fff; color: #000; font: 600 16px/1 -apple-system, "SF Pro Text", system-ui, sans-serif; }
.ios-ic { display: inline-flex; align-items: center; gap: 6px; }
.ios-ic svg { fill: currentColor; }
.phone-screen > .ctx-mob.mock-viewport { position: absolute; top: 47px; left: 0; height: 664px; }
.ios-bar { position: absolute; left: 0; right: 0; bottom: 0; z-index: 40; height: 133px; padding: 8px 12px 0; background: rgba(246, 246, 246, .94); -webkit-backdrop-filter: blur(20px) saturate(1.6); backdrop-filter: blur(20px) saturate(1.6); border-top: .5px solid rgba(0, 0, 0, .2); color: #000; font-family: -apple-system, "SF Pro Text", system-ui, sans-serif; }
.ios-url { height: 44px; display: flex; align-items: center; justify-content: space-between; padding: 0 14px; border-radius: 12px; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .08); }
.ios-aa { font-size: 15px; font-weight: 600; letter-spacing: -.01em; }
.ios-dom { display: inline-flex; align-items: center; gap: 5px; font-size: 16px; }
.ios-dom svg { fill: rgba(60, 60, 67, .6); color: rgba(60, 60, 67, .6); }
.ios-url > svg { color: #000; }
.ios-tools { height: 44px; margin-top: 4px; display: flex; align-items: center; justify-content: space-around; color: #007AFF; }
.ios-tools svg { width: 26px; height: 26px; }
.ios-tools svg.off { color: #C7C7CC; }
.ios-home { position: absolute; left: 50%; bottom: 8px; width: 134px; height: 5px; margin-left: -67px; border-radius: 3px; background: #000; }
.r3 .phone-screen > .mp-sticky { bottom: 133px; }
.pm--mob { inset: 47px 0 133px; }

/* ==========================================================
   Concept book 2.2 to 2.11, built into round 3 (15 Oct)
   ========================================================== */
/* the loupe: hover (or press and hold on a phone) to look closer */
.lens { position: absolute; z-index: 3; left: 0; top: 0; width: 160px; height: 160px; border: 2px solid #fff; border-radius: 50%; background-color: transparent; background-repeat: no-repeat; box-shadow: 0 10px 24px -10px rgba(20, 14, 12, .6); opacity: 0; pointer-events: none; transition: opacity .15s; }
.lens.is-on { opacity: 1; }
/* the first tile opens again: thickness and the loupe */
.fs--weave .fb-media { overflow: hidden; }
.fb-hint { opacity: .85; }
.jr-loupe { position: relative; display: block; height: 120px; margin: 4px 0 10px; overflow: hidden; background: var(--deep); touch-action: none; }
.jr-loupe > img { width: 100%; height: 100%; object-fit: cover; }
.jr-loupe .lens { width: 110px; height: 110px; }


.sc { display: block; width: 100%; height: auto; }
.sc-room { fill: #fff; stroke: #B8AFA4; stroke-width: 1.5; }
.sc-table { fill: #fff; stroke: #6B625D; stroke-width: 1; }
.sc-sofa { fill: #CFC7BC; stroke: #6B625D; stroke-width: 1; }
.sc-rug { stroke: rgba(35, 28, 27, .45); stroke-width: 1; }
.sc-lab { font: 600 13px var(--f-sans); fill: var(--rv-ink); }
.r3 .ctx[data-swmode="1"] .sz-link, .r3 .ctx[data-swmode="1"] .sz-panel, .r3 .ctx[data-swmode="1"] .bx-pay { display: none; }

/* 2.10 A: bigger real-life tiles with a progress line */
.r3 .lp-ugc.ugc { display: grid; grid-auto-flow: column; grid-auto-columns: 42%; gap: 8px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; margin-right: 0; }
.r3 .lp-ugc.ugc::-webkit-scrollbar { display: none; }
.r3 .ugc img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; scroll-snap-align: start; -webkit-user-drag: none; }
.r3 .mp-ugc.ugc { grid-auto-columns: 40%; margin-right: -24px; padding-right: 24px; }
.ugc-prog { position: relative; height: 2px; margin-top: 12px; background: var(--rv-line); }
.ugc-prog span { position: absolute; top: 0; bottom: 0; left: 0; background: var(--rv-plum); }
.ugc.is-drag { scroll-snap-type: none; cursor: grabbing; }

/* 2.8 B: rhythm stack, detail shots paired */
.r3 .lp-gallery .rv-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.r3 .lp-gallery .rv-pair .rv-media { width: auto; height: auto; aspect-ratio: 4 / 5; }
.r3 .lp-gallery .rv-pair .rv-badge { top: 12px; left: 12px; }

/* ---------- below the fold ---------- */
.lp-below { width: 1243px; margin: 24px 0 0 calc((100% - 1186px) / 2 - 57px); padding-bottom: 96px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 96px; }
.mp-below { margin-top: 40px; padding-bottom: 140px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 56px; }
.mp-below > .bf, .lp-below > .bf { min-width: 0; }
.bf { color: var(--rv-ink); }
.bf-h { margin: 0; font-family: var(--f-serif); font-weight: 400; font-size: 34px; line-height: 1.12; color: var(--rv-plum); text-wrap: balance; }
.bf-h--c, .bf-p--c { text-align: center; margin-inline: auto; }
.bf-p { margin: 0; font-size: 15px; line-height: 1.6; max-width: 52ch; }
.bf-p + .bf-p { margin-top: 12px; }
.bf-link { display: inline-flex; align-items: center; gap: 4px; margin-top: 16px; color: var(--rv-ink); font-size: 14px; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.bf-link svg { width: 14px; height: 14px; }
.bf img { display: block; }
/* Up close: the rug's own surface as the material of the block (2.2 D with A's specs, and 2.9) */
.bf-tex { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); min-height: 560px; }
.bf-tex-media { position: relative; overflow: hidden; background: var(--deep); cursor: zoom-in; touch-action: none; }
.bf-tex-media > img { width: 100%; height: 100%; object-fit: cover; }
.bf-tex-media .lens { width: 200px; height: 200px; }
.bf-hint { position: absolute; left: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px 5px 10px; border: 1px solid rgba(255, 255, 255, .26); border-radius: 999px; background: rgba(20, 16, 14, .55); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); color: #fff; font-size: 12.5px; font-weight: 500; transition: opacity .2s; }
.bf-hint svg { width: 14px; height: 14px; }
.lens.is-on ~ .bf-hint { opacity: 0; }
.bf-thick { margin: 0; display: grid; gap: 8px; }
.bf-thick figcaption { font-size: 13px; color: var(--rv-muted); }
.bf-specs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 16px; }
.bf-specs li { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.bf-specs svg { flex: none; width: 14px; height: 14px; color: var(--rv-plum); }
/* Sandwave Collection, as live */
.bf-coll { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.bf-coll-media { position: relative; }
.bf-coll-media img { width: 100%; height: auto; aspect-ratio: 1485 / 1029; object-fit: cover; }
.bf-play { position: absolute; left: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .9); font-size: 13px; font-weight: 600; }
.bf-play svg { width: 14px; height: 14px; }
.bf-coll-tx { display: grid; gap: 20px; }
.bf-attr { list-style: none; margin: 4px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 16px; }
.bf-attr li { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.bf-attr svg { flex: none; width: 14px; height: 14px; color: var(--rv-plum); }
/* Real Rugs, Similar Items, reviews and help: live's own sections */
.bf-real .bf-p { margin-top: 12px; }
.bf .bf-p--c { margin-inline: auto; }
.mp-below .bf .bf-p--c { margin-inline: 0; }
.bf-feat { list-style: none; margin: 36px 0 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.bf-feat li { display: grid; align-content: start; gap: 6px; font-size: 13px; line-height: 1.45; }
.bf-feat img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; margin-bottom: 6px; }
.bf-feat b { font-size: 15px; font-weight: 600; }
.bf-sim .bf-h, .bf-reviews .bf-h { margin-bottom: 24px; }
.bf-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.bf-cards li { display: grid; align-content: start; gap: 4px; font-size: 14px; }
.bf-card-img { position: relative; display: block; margin-bottom: 8px; }
.bf-card-img img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.bf-tag { position: absolute; left: 10px; top: 10px; padding: 4px 9px 3px; border-radius: 12px; background: rgb(228, 217, 199); font-size: 12px; }
.bf-stars { display: inline-flex; gap: 1px; vertical-align: -1px; }
.bf-stars svg { width: 12px; height: 12px; color: var(--rv-ink); }
.bf-rev { font-size: 12px; color: var(--rv-muted); }
.bf-cards b { font-weight: 400; font-size: 15px; }
.bf-price { font-size: 14px; }
.bf-reviews .bf-p { display: flex; align-items: center; gap: 8px; font-size: 16px; }
.bf-help { display: grid; border-top: 1px solid var(--rv-line); }
.bf-help a { display: flex; justify-content: space-between; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--rv-line); color: var(--rv-ink); font-size: 14px; text-decoration: none; }
.bf-help svg { width: 14px; height: 14px; }
/* phone: one column, rows of cards swipe */
.mp-below .bf { padding: 0 24px; }
.mp-below .bf-h { font-size: 26px; }
.mp-below .bf-p { font-size: 14px; }
.mp-below .bf-tex { grid-template-columns: minmax(0, 1fr); min-height: 0; padding: 0; }
.mp-below .bf-tex-media { height: 300px; }
.mp-below .bf-tex-media .lens { width: 140px; height: 140px; }
.mp-below .bf-coll { grid-template-columns: minmax(0, 1fr); gap: 20px; }
.mp-below .bf-coll-media { margin: 0 -24px; }
.mp-below .bf-attr { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mp-below .bf-feat, .mp-below .bf-cards { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 62%; overflow-x: auto; scrollbar-width: none; margin-right: -24px; padding-right: 24px; }
.mp-below .bf-feat::-webkit-scrollbar, .mp-below .bf-cards::-webkit-scrollbar { display: none; }
.mp-below .bf-h--c, .mp-below .bf-p--c { text-align: left; margin-inline: 0; }
@media (prefers-reduced-motion: reduce) { .lens, .bf-hint { transition: none; } }
.r3 .ctx-read { font-size: 12px; }

/* full-page view: the browser window plays the laptop's screen. Native sticky has nothing to scroll
   against here, so the header, buy column and thumbnails follow the window by transform instead,
   and the Add to Cart bar rides the bottom of the window. The transforms are scroll-driven
   keyframes (written by followKeys in t1r3.js), so the compositor moves them with the scroll. */
.ctx-page:not(.is-screen) .lp-top, .ctx-page:not(.is-screen) .js-buy, .ctx-page:not(.is-screen) .lp-thumbs { position: relative; top: auto !important; will-change: transform; }
.ctx-page:not(.is-screen) .lp-top { z-index: 30; }
.ctx-page:not(.is-screen) .lp-botpin.is-follow { position: absolute; left: 0; right: 0; top: 0; bottom: auto; height: 0; z-index: 35; }
.ctx-page:not(.is-screen) .lp-botpin.is-follow .lp-stk--bot { display: block; }

/* ==========================================================
   15 Oct, later: a calmer buy box, the pile in section, and the vintage story as a film
   ========================================================== */
/* T8 cut: live's own chips at live's size (t1.css); the Color label already names the pick */
/* T9, folded into Rug Size Guide: it opens the plan under the menu, on the swatch callout's cream */
.lp-lbl .sz-link, .mp-lbl .sz-link { display: inline-flex; align-items: center; gap: 6px; padding: 0; border: 0; background: none; color: inherit; font: inherit; cursor: pointer; }
.sz-link .sz-l { text-decoration: underline; text-underline-offset: 2px; }
.sz-chev { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s cubic-bezier(.25, 1, .5, 1); }
.sz-link[aria-expanded="true"] .sz-chev { transform: rotate(180deg); }
@media (prefers-reduced-motion: reduce) { .sz-chev { transition: none; } }
.sz-link:focus-visible { outline: 2px solid var(--c-test); outline-offset: 2px; }
.sz-panel { overflow: clip; }
.sz-in { display: grid; grid-template-columns: 116px minmax(0, 1fr); gap: 14px; align-items: center; margin-top: 10px; padding: 12px 14px 12px 12px; background: var(--rv-cream); }
.sz-in p { margin: 0; font-size: 12px; line-height: 1.5; color: var(--rv-ink); text-wrap: pretty; }
.sz-in p b { display: block; margin-bottom: 2px; font-weight: 600; }
.sz-in p a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.mp-buy .sz-in { grid-template-columns: 104px minmax(0, 1fr); }
/* Washer Guide rides with the Machine Washable tag */
.tt3 .tt-go { display: block; margin-top: 1px; font-size: 12px; color: var(--rv-ink); }
.tt3 .tt-go u { text-underline-offset: 2px; }

/* the + clears the words on the tile that opens */
.st .fb:has(> .fb-cue) .fb-body { padding-right: 56px; }

/* 2.2 B: the pile in section, engraved, with two dimension marks */
.rl { display: block; width: 100%; max-width: 312px; height: auto; overflow: visible; color: var(--rv-ink); }
.rl-pile path { fill: none; stroke: currentColor; stroke-width: .75; stroke-linecap: round; }
.rl-pile .rl-body { fill: currentColor; stroke: none; opacity: .1; }
.rl-pile .rl-t0 { opacity: .95; }
.rl-pile .rl-t1 { opacity: .7; }
.rl-pile .rl-t2 { opacity: .45; }
.rl-back { fill: none; stroke: currentColor; stroke-width: 1.6; }
.rl-ext { fill: none; stroke: currentColor; stroke-width: .8; stroke-dasharray: 2 3; opacity: .6; }
.rl-dim path { fill: none; stroke: currentColor; stroke-width: 1; }
.rl text { font: 500 12.5px var(--f-sans); font-variant-numeric: tabular-nums; letter-spacing: .02em; fill: currentColor; }
.rl--light .rl-pile { color: color-mix(in srgb, var(--mid) 62%, var(--rv-ink)); }
.rl--dark { color: #fff; }
.fs .fb-more .rl { max-width: 268px; margin: 2px 0 10px; }
.bf-thick .rl { max-width: 360px; }

/* The story film, after Onyx's story block: Revival's story or the making of Shell, one chapter at a
   time. The rail under it shows where you are and jumps; the ring names the chapters, is the pause
   button and turns while the film plays. */
.lp-below > .bf-vin { width: 1440px; margin-left: calc(57px - (1440px - 1186px) / 2); }
.bf-vin { --vin-ink: #F6F3EB; --vin-shade: 30, 25, 21; position: relative; isolation: isolate; height: 880px; overflow: clip; background: #221D19; color: var(--vin-ink); touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.bf-vin ::selection { background: rgba(246, 243, 235, .3); color: #fff; }
.vin-media { position: absolute; inset: 0; z-index: -1; }
.vin-v { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .9s cubic-bezier(.16, 1, .3, 1); }
.vin-v.is-on { opacity: 1; }
.vin-still { overflow: hidden; }
.vin-amb { position: absolute; inset: -6%; width: 112%; height: 112%; object-fit: cover; filter: blur(40px) saturate(1.25) brightness(.68); }
.vin-plate { position: absolute; left: 708px; top: 216px; width: 400px; height: 500px; overflow: hidden; background: #221D19; box-shadow: 0 28px 56px -24px rgba(0, 0, 0, .6); transform: translateY(18px) scale(.985); transition: transform 1.2s cubic-bezier(.16, 1, .3, 1); }
.vin-still.is-on .vin-plate { transform: none; }
.vin-plate img { display: block; width: 100%; height: 100%; object-fit: cover; }
.vin-still.is-on .vin-plate img { animation: vin-drift 8s cubic-bezier(.33, 0, .67, 1) both; }
.bf-vin:not(.is-run) .vin-still img { animation-play-state: paused; }
@keyframes vin-drift { from { transform: scale(1.02); } to { transform: scale(1.1); } }
.vin-stand { grid-area: 2 / 3; align-self: end; justify-self: end; margin: 0 0 48px; padding: 5px 11px; border-radius: 999px; background: rgba(var(--vin-shade), .7); font-size: 12px; line-height: 16px; letter-spacing: .01em; color: rgba(246, 243, 235, .92); white-space: nowrap; }
.vin-wash { position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(var(--vin-shade), .86) 0%, rgba(var(--vin-shade), .64) 30%, rgba(var(--vin-shade), .1) 62%, rgba(var(--vin-shade), 0) 100%),
  linear-gradient(0deg, rgba(var(--vin-shade), .88) 0, rgba(var(--vin-shade), .5) 150px, rgba(var(--vin-shade), 0) 320px),
  linear-gradient(180deg, rgba(var(--vin-shade), .4) 0, rgba(var(--vin-shade), 0) 220px); }
.vin-in { position: relative; height: 100%; display: grid; grid-template-columns: 540px minmax(0, 1fr) 216px; grid-template-rows: auto minmax(0, 1fr) auto; grid-template-areas: "lead . ring" "step . ." "rail rail rail"; column-gap: 40px; padding: 84px 64px 0; }
.vin-lead { grid-area: lead; }
.vin-h { margin: 0; font-family: var(--f-serif); font-weight: 400; font-size: 80px; line-height: 1; letter-spacing: -.02em; color: var(--vin-ink); white-space: nowrap; }
.vin-h .w { display: inline-block; white-space: nowrap; }
.vin-h .c { display: inline-block; overflow: clip; padding-bottom: .16em; margin-bottom: -.16em; vertical-align: top; }
.vin-h .c > span { display: inline-block; transition: transform 1.1s cubic-bezier(.16, 1, .3, 1) calc(var(--i) * 34ms); }
.bf-vin.is-armed:not(.is-in) .vin-h .c > span { transform: translateY(112%); }
.vin-p { margin: 28px 0 0; max-width: 44ch; font-size: 17px; line-height: 1.6; color: rgba(246, 243, 235, .9); text-wrap: pretty; }
.vin-links { display: flex; flex-wrap: wrap; gap: 12px 32px; margin: 30px 0 0; }
.vin-links a { color: var(--vin-ink); font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 7px; }
.vin-links a:hover { text-decoration-thickness: 2px; }
.vin-links a:focus-visible, .vin-sb:focus-visible { outline: 2px solid var(--vin-ink); outline-offset: 6px; }
.vin-step { grid-area: step; align-self: end; max-width: 540px; padding-bottom: 44px; }
.vin-copy { transition: opacity .22s ease-out, transform .22s ease-out; }
.vin-copy.is-swap { opacity: 0; transform: translateY(6px); }
.vin-nav { display: flex; align-items: center; gap: 18px; margin: 0 0 14px; }
.vin-arrows { display: inline-flex; gap: 8px; }
.vin-arr { display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 1px solid rgba(246, 243, 235, .5); border-radius: 50%; background: none; color: var(--vin-ink); cursor: pointer; transition: background-color .2s, border-color .2s; }
.vin-arr svg { width: 16px; height: 16px; }
.vin-arr:hover { border-color: var(--vin-ink); background: rgba(246, 243, 235, .12); }
.vin-arr:focus-visible { outline: 2px solid var(--vin-ink); outline-offset: 3px; }
.vin-n { margin: 0; font-size: 13px; letter-spacing: .08em; font-variant-numeric: tabular-nums; color: rgba(246, 243, 235, .92); }
.vin-cur { color: var(--vin-ink); font-weight: 600; }
.vin-t { margin: 0 0 12px; font-family: var(--f-serif); font-weight: 400; font-size: 38px; line-height: 1.08; letter-spacing: -.01em; }
.vin-tx { margin: 0; font-size: 15px; line-height: 1.6; color: rgba(246, 243, 235, .88); text-wrap: pretty; }
.vin-ring { grid-area: ring; justify-self: end; position: relative; width: 232px; height: 232px; padding: 0; border: 0; border-radius: 50%; background: radial-gradient(circle closest-side, rgba(var(--vin-shade), .64) 0%, rgba(var(--vin-shade), .64) 88%, rgba(var(--vin-shade), 0) 100%); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); color: var(--vin-ink); cursor: pointer; }
.vin-ring:focus-visible { outline: 2px solid var(--vin-ink); outline-offset: 4px; }
.vin-ring-tx { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; animation: vin-turn 56s linear infinite; }
.vin-ring-tx text { font: 500 15px var(--f-sans); font-variant-caps: all-small-caps; fill: currentColor; }
.vin-ring-tx tspan { fill-opacity: .8; transition: fill-opacity .4s; }
.vin-ring-tx tspan.is-on { fill-opacity: 1; font-weight: 700; }
.bf-vin.is-paused .vin-ring-tx, .bf-vin:not(.is-in) .vin-ring-tx { animation-play-state: paused; }
@keyframes vin-turn { to { transform: rotate(1turn); } }
.vin-pp { position: absolute; left: 50%; top: 50%; width: 48px; height: 48px; margin: -24px 0 0 -24px; display: grid; place-items: center; transition: transform .25s cubic-bezier(.16, 1, .3, 1); }
.vin-pp svg { grid-area: 1 / 1; width: 26px; height: 26px; }
.vin-pp svg:last-child, .bf-vin.is-paused .vin-pp svg:first-child { display: none; }
.bf-vin.is-paused .vin-pp svg:last-child { display: block; }
.vin-ring:hover .vin-pp { transform: scale(1.12); }
/* the film as a control: an arrow follows the pointer over the picture */
.bf-vin.is-zone { cursor: none; }
.vin-cursor { position: absolute; left: 0; top: 0; z-index: 3; width: 76px; height: 76px; margin: -38px 0 0 -38px; display: grid; place-items: center; border: 1px solid rgba(246, 243, 235, .7); border-radius: 50%; background: rgba(20, 16, 14, .32); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: var(--vin-ink); pointer-events: none; opacity: 0; scale: .8; transition: opacity .2s, scale .25s cubic-bezier(.16, 1, .3, 1); }
.vin-cursor svg { grid-area: 1 / 1; width: 22px; height: 22px; }
.vin-cursor[data-dir="next"] svg:first-child, .vin-cursor:not([data-dir="next"]) svg:last-child { display: none; }
.bf-vin.is-zone .vin-cursor { opacity: 1; scale: 1; }
.vin-rail { grid-area: rail; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(var(--n, 5), minmax(0, 1fr)); column-gap: 20px; }
.vin-sb { display: grid; justify-items: start; gap: 6px; width: 100%; padding: 14px 0 34px; border: 0; background: none; color: var(--vin-ink); font: inherit; text-align: left; cursor: pointer; opacity: .8; transition: opacity .2s; }
.vin-sb:hover, .vin-sb[aria-current="step"] { opacity: 1; }
.vin-bar { position: relative; width: 100%; height: 2px; margin-bottom: 8px; background: rgba(246, 243, 235, .3); overflow: hidden; }
.vin-bar i { position: absolute; inset: 0; transform-origin: left; transform: scaleX(var(--p, 0)); background: var(--vin-ink); }
.vin-sn { font-size: 12px; letter-spacing: .08em; font-variant-numeric: tabular-nums; }
.vin-sl { font-size: 14px; font-weight: 500; line-height: 1.3; }
/* phone: the ring sits beside the heading, the rail keeps its numbers */
.mp-below .bf.bf-vin { padding: 0; height: auto; }
.mp-below .vin-wash { background: linear-gradient(180deg, rgba(var(--vin-shade), .8) 0%, rgba(var(--vin-shade), .72) 48%, rgba(var(--vin-shade), .74) 58%, rgba(var(--vin-shade), .9) 100%); }
.mp-below .vin-in { grid-template-columns: minmax(0, 1fr) 196px; grid-template-rows: none; grid-template-areas: "head head" "intro intro" "links links" "nav ring" "copy copy" "stand stand" "rail rail"; column-gap: 12px; padding: 28px 24px 0; }
.mp-below .vin-lead, .mp-below .vin-step { display: contents; }
.mp-below .vin-nav { grid-area: nav; align-self: end; flex-direction: column; align-items: flex-start; gap: 12px; margin: 0 0 14px; }
.mp-below .vin-copy { grid-area: copy; padding-bottom: 18px; }
.mp-below .vin-h { grid-area: head; font-size: 42px; line-height: 1.04; }
.mp-below .vin-p { grid-area: intro; margin-top: 16px; font-size: 14px; line-height: 1.55; }
.mp-below .vin-links { grid-area: links; gap: 10px 24px; margin-top: 16px; }
.mp-below .vin-links a { font-size: 12px; text-underline-offset: 6px; }
.mp-below .vin-ring { width: 196px; height: 196px; margin: 4px 0 6px; }
.mp-below .vin-pp svg { width: 22px; height: 22px; }
.mp-below .vin-n { font-size: 12px; }
.mp-below .vin-arr { width: 44px; height: 44px; }
.mp-below .vin-t { margin-bottom: 8px; font-size: 26px; }
.mp-below .vin-tx { font-size: 14px; line-height: 1.55; }
.mp-below .vin-rail { column-gap: 6px; }
.mp-below .vin-sb { padding: 12px 0 26px; }
.mp-below .vin-sn { display: none; }
.mp-below .vin-sl { font-size: 12px; line-height: 16px; white-space: nowrap; }
.mp-below .vin-amb { display: none; }
.mp-below .vin-plate { inset: 0; width: auto; height: auto; box-shadow: none; transform: none; transition: none; }
.mp-below .vin-stand { grid-area: stand; justify-self: start; margin: 0 0 14px; }
@media (prefers-reduced-motion: reduce) {
  .vin-v, .vin-copy, .vin-h .c > span, .vin-cursor, .vin-plate { transition: none; }
  .vin-still img { animation: none !important; }
  .vin-ring-tx { animation: none; }
}

/* phone: the colours ride above the photo, so they're on the first screen as on a laptop
   (colors above the fold won +21.9%). The photo moves down by one row. */
.ctx-mob .mp-colorrow { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 10px; padding: 4px 16px; }
.r3 .ctx .ctx-mob .mp-colorrow .mp-lbl--color { margin: 0; }
.r3 .ctx .ctx-mob .mp-colorrow .mp-sw { margin: 0; gap: 18px; }
.r3 .ctx-mob .mp-colorrow + .mp-car { margin-top: 10px; }
.r3 .ctx-mob .mp-buy > .sw-co:first-child { margin-top: 20px; }

/* J′ weave card opens in place: the subtitle gives way to the pile drawing and the thickness line,
   the photo dims to the colorway's deep tone, and + turns to ×. The card keeps its size. */
.jr .jr-swap, .jr .fb-more { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .42s cubic-bezier(.16, 1, .3, 1), opacity .3s ease-out; }
.jr .jr-swap-in, .jr .fb-more > .fb-more-in { min-height: 0; overflow: hidden; }
.jr .fb-more { grid-template-rows: 0fr; opacity: 0; }
.jr.is-open .fb-more { grid-template-rows: 1fr; opacity: 1; }
.jr.is-open .jr-swap { grid-template-rows: 0fr; opacity: 0; }
.jr .fb-more-in { padding-top: 8px; }
.st .jr:has(> .fb-cue) .fb-body { padding-right: 16px; }   /* the words clear the + on their own, so the drawing can use the card's width */
.jr .jr-swap-in .fb-s, .jr .fb-more .fb-t { padding-right: 40px; }
.jr .fb-more .rl { max-width: none; margin: 2px 0 10px; }
.jr .rl text { font-size: 17px; }
.jr .fb-media::after { content: ""; position: absolute; inset: 0; background: color-mix(in srgb, var(--deep) 50%, #120D0C); opacity: 0; transition: opacity .42s ease-out; }
.jr.is-open .fb-media::after { opacity: .55; }
@media (prefers-reduced-motion: reduce) { .jr .jr-swap, .jr .fb-more, .jr .fb-media::after { transition: none; } }
.audit-host *, .audit-host *::after { transition: none !important; }

/* Up close, split like the homepage hero: the close-up fills the left half to the middle of the
   screen, the colorway's own film fills the right half, and the words sit in a cream card over it */
.lp-below > .bf.bf-tex { width: 1440px; margin-left: calc(57px - (1440px - 1186px) / 2); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); height: 820px; min-height: 0; padding: 0; }
.lp-below > .bf-tex .bf-tex-media > img { position: absolute; inset: 0; }
.bf-tex-film { position: relative; overflow: clip; background: var(--deep); }
.bf-tex-v { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bf-tex-pp { position: absolute; top: 16px; right: 16px; z-index: 2; display: grid; place-items: center; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 50%; background: rgba(246, 243, 235, .88); color: var(--rv-ink); cursor: pointer; }
.bf-tex-pp svg { grid-area: 1 / 1; width: 14px; height: 14px; }
.bf-tex-pp svg:last-child, .bf-tex-film.is-paused .bf-tex-pp svg:first-child { display: none; }
.bf-tex-film.is-paused .bf-tex-pp svg:last-child { display: block; }
.bf-tex-pp:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.bf-tex-card { position: absolute; right: 28px; bottom: 28px; z-index: 1; width: 460px; display: grid; gap: 16px; padding: 24px; background: var(--rv-cream); color: var(--rv-ink); }
.bf-tex .bf-h { font-size: 30px; }
.bf-tex .bf-p { font-size: 15px; line-height: 1.5; }
.bf-tex .bf-thick { gap: 6px; }
.bf-tex .bf-thick .rl { max-width: 360px; }
.bf-tex .bf-thick figcaption { color: var(--rv-muted); }
.bf-tex .bf-specs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 16px; }
.bf-btn { display: flex; align-items: center; justify-content: center; height: 56px; margin-top: 4px; padding: 0 20px; border: 1px solid var(--rv-ink); background: none; color: var(--rv-ink); font: 400 17px/1 var(--f-sans); white-space: nowrap; cursor: pointer; transition: background-color .2s, color .2s; }
.bf-tex .bf-btn { width: 100%; margin: 4px 0 0; text-decoration: none; }
.bf-btn:hover, .bf-tex .bf-btn:hover { background: var(--rv-ink); color: var(--rv-cream); }
.bf-btn:focus-visible { outline: 2px solid var(--rv-plum); outline-offset: 3px; }
/* phone: the close-up first, then the film with the card lifted over its lower part */
.mp-below .bf.bf-tex { display: block; min-height: 0; padding: 0; }
.mp-below .bf-tex-media { height: auto; aspect-ratio: 4 / 5; }
.mp-below .bf-tex-film { padding: 300px 16px 0; background: none; }
.mp-below .bf-tex-v { height: 420px; }
.mp-below .bf-tex-card { position: relative; right: auto; bottom: auto; width: auto; padding: 20px; }
.mp-below .bf-tex .bf-h { font-size: 26px; }
.mp-below .bf-tex .bf-specs { grid-template-columns: minmax(0, 1fr); }

/* T8, back: each colorway's own pattern at 44 px with its name under it (laptop) */
.r3 .lp-sw { gap: 16px; align-items: flex-start; }
.r3 .lp-sw .swr { display: grid; justify-items: center; gap: 6px; }
.r3 .lp-sw .swr span { width: 44px; height: 44px; }
.r3 .lp-sw .swr-n { display: block; font-size: 11px; line-height: 14px; font-weight: 400; color: var(--rv-ink); white-space: nowrap; }
.r3 .lp-sw .swr input:checked ~ .swr-n { font-weight: 600; }
/* phone: the color row above the photo, three ways to compare (dock: Phone colors); the Color
   title sits over each */
/* pills: each crop and name in one pill, the pick outlined */
.r3 .ctx .ctx-mob .mp-colorrow { margin-top: 12px; padding: 0 16px; }
.r3 .ctx .ctx-mob .mp-colorrow .mp-sw { margin: 0; }
.mp-colorrow .mp-sw::-webkit-scrollbar { display: none; }
.r3 .mp-colorrow .swr input:checked + span { outline: none; }
.mp-colorrow .swr:has(input:focus-visible) { outline: 2px solid var(--c-test); outline-offset: 2px; }
.mp-colorrow .swr-n { font-size: 12.5px; font-weight: 400; color: var(--rv-ink); white-space: nowrap; }
.mp-colorrow .swr input:checked ~ .swr-n { font-weight: 600; }
.r3 .ctx[data-msw="pills"] .ctx-mob .mp-colorrow .mp-sw { width: 100%; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.ctx[data-msw="pills"] .mp-colorrow .swr { flex: none; display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 13px 0 5px; border: 1px solid var(--rv-line); border-radius: 999px; background: #fff; transition: border-color .2s; }
.r3 .ctx[data-msw="pills"] .mp-colorrow .swr span { width: 28px; height: 28px; box-shadow: none; }
.ctx[data-msw="pills"] .mp-colorrow .swr:has(input:checked) { border-color: var(--rv-plum); box-shadow: inset 0 0 0 1px var(--rv-plum); }
/* names under: the laptop's T8 row, smaller */
.r3 .ctx[data-msw="under"] .ctx-mob .mp-colorrow .mp-sw { gap: 18px; align-items: flex-start; }
.ctx[data-msw="under"] .mp-colorrow .swr { display: grid; justify-items: center; gap: 5px; }
.r3 .ctx[data-msw="under"] .mp-colorrow .swr span { width: 38px; height: 38px; }
.r3 .ctx[data-msw="under"] .mp-colorrow .swr input:checked + span { outline: 1px solid var(--rv-plum); outline-offset: 3px; }
.ctx[data-msw="under"] .mp-colorrow .swr-n { font-size: 11.5px; }
/* segmented: one track, three equal cells, the pick lifted onto white */
.r3 .ctx[data-msw="seg"] .ctx-mob .mp-colorrow .mp-sw { width: 100%; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3px; padding: 3px; border-radius: 12px; background: var(--rv-cream); }
.ctx[data-msw="seg"] .mp-colorrow .swr { display: flex; align-items: center; justify-content: center; gap: 6px; height: 40px; border-radius: 9px; transition: background-color .2s, box-shadow .2s; }
.r3 .ctx[data-msw="seg"] .mp-colorrow .swr span { width: 22px; height: 22px; }
.ctx[data-msw="seg"] .mp-colorrow .swr:has(input:checked) { background: #fff; box-shadow: 0 1px 3px rgba(35, 28, 27, .14); }

/* Up close: three ways to place the words over the film (dock: Up close) */
.r3 .ctx[data-upc="seam"] :is(.lp-below, .mp-below) .bf-tex-film { overflow: visible; }
.r3 .ctx[data-upc="seam"] .lp-below .bf-tex-v { clip-path: inset(0); }
.r3 .ctx[data-upc="seam"] .lp-below .bf-tex-card { right: auto; left: -230px; bottom: auto; top: 50%; transform: translateY(-50%); box-shadow: 0 24px 48px -24px rgba(20, 14, 12, .45); }
/* panel: three columns, close-up, film, words; the panel takes its own column instead of covering the film */
.r3 .ctx[data-upc="panel"] .lp-below > .bf.bf-tex { position: relative; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 420px; }
.r3 .ctx[data-upc="panel"] .lp-below .bf-tex-film { display: contents; }
.r3 .ctx[data-upc="panel"] .lp-below .bf-tex-v { position: static; width: 100%; height: 100%; }
.r3 .ctx[data-upc="panel"] .lp-below .bf-tex-card { position: static; width: auto; height: 100%; align-content: center; padding: 48px 40px; }
.r3 .ctx[data-upc="panel"] .lp-below .bf-tex-pp { right: 436px; }
.r3 .ctx:is([data-upc="seam"], [data-upc="panel"]) .mp-below .bf-tex-film { display: flex; flex-direction: column; padding: 0; }
.r3 .ctx:is([data-upc="seam"], [data-upc="panel"]) .mp-below .bf-tex-v { position: relative; order: 2; }
.r3 .ctx:is([data-upc="seam"], [data-upc="panel"]) .mp-below .bf-tex-card { order: 1; }
.r3 .ctx[data-upc="seam"] .mp-below .bf-tex-card { margin: -140px 16px 16px; box-shadow: 0 18px 36px -20px rgba(20, 14, 12, .4); }
.r3 .ctx[data-upc="seam"] .mp-below .bf-tex-pp { top: auto; bottom: 372px; }
.r3 .ctx[data-upc="panel"] .mp-below .bf-tex-card { order: 3; }
.r3 .ctx[data-upc="panel"] .mp-below .bf-tex-pp { top: 16px; }

/* pile height, structured: the measure, then where it sits on Low, Medium, High */
.mtr { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: end; gap: 4px 28px; padding: 14px 0; border-top: 1px solid rgba(35, 28, 27, .14); border-bottom: 1px solid rgba(35, 28, 27, .14); }
.mtr-l { grid-column: 1; font-size: 12px; color: var(--rv-muted); }
.mtr-v { grid-column: 1; font: 600 22px/1.1 var(--f-sans); font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.mtr-scale { grid-column: 2; grid-row: 1 / span 2; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px 4px; }
.mtr-scale i { height: 4px; border-radius: 2px; background: rgba(35, 28, 27, .14); }
.mtr-scale i.on { background: var(--rv-plum); }
.mtr-scale span { font-size: 12px; color: var(--rv-muted); text-align: center; }
.mtr-scale span.on { color: var(--rv-ink); font-weight: 600; }

/* tidy (16 Oct): one rhythm through the color group, 12 inside a group and 24 between groups. The
   swatches sit on a fixed pitch with their names flush left, so the label, the first swatch, the
   callout and the size menu all share one left edge; the callout's photo and words share a top edge. */
.r3 .lp-sw { display: grid; grid-auto-flow: column; grid-auto-columns: 56px; gap: 12px; justify-content: start; }
.r3 .lp-sw .swr { justify-items: start; }
.r3 .sw-co { margin-top: var(--in); padding: 12px; align-items: start; }
.r3 .sw-co .sw-get { margin-left: 0; }
.r3 .ctx-mob .mp-buy > .sw-co:first-child { margin-top: var(--grp); }
/* the ship band leads with a truck so it reads as shipping at a glance */
.r3 .bx-band .bx-ic { width: 18px; height: 18px; }
.r3 .ctx[data-upc="panel"] .lp-below .bf-tex .bf-specs { grid-template-columns: minmax(0, 1fr); }

/* the color header: the title quiet, the pick in ink and weight, so the two read apart (both frames) */
.r3 :is(.lp-lbl--color, .mp-lbl--color) > span { color: var(--rv-muted); }
.r3 :is(.lp-lbl--color, .mp-lbl--color) [data-b="color"] { margin-left: 2px; font-size: 13px; font-weight: 600; color: var(--rv-ink); }
/* phone: the title stacks over the row */
.r3 .ctx .ctx-mob .mp-colorrow { display: grid; gap: 8px; }
/* the swatch link sits on the paragraph's own line height and baseline (a button's "normal" line
   height made its line taller than the lines above) */
.r3 .sw-co .sw-get { line-height: inherit; vertical-align: baseline; }
.r3 .sw-co-tx { line-height: 18px; }   /* a fixed line, so the 13 px lead and the 12 px lines share one pitch */

/* tidy, round 2 (16 Oct) */
/* laptop: the callout sits 24 below the swatch names, as it sits 24 below the thumbnails on the phone */
.r3 .lp-buy .sw-co { margin-top: var(--grp); }
/* the callout's swatch matches its three lines of words (54 px) and centers on them */
.r3 .sw-co { grid-template-columns: 54px minmax(0, 1fr); align-items: center; }
.r3 .sw-co .sw-co-img { width: 54px; height: 54px; }
/* phone color row: more room above it, the title closer to its swatches, and one full-width column */
.r3 .ctx .ctx-mob .mp-colorrow { margin-top: 20px; gap: 6px; grid-template-columns: minmax(0, 1fr); justify-content: stretch; }
/* crops, no names: the title names the pick, so the names go (kept for screen readers) and the title gets a little more air */
.r3 .ctx[data-msw="under"] .ctx-mob .mp-colorrow { gap: 10px; }
.ctx[data-msw="under"] .mp-colorrow .swr-n { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.r3 .ctx[data-msw="under"] .ctx-mob .mp-colorrow .mp-sw { gap: 16px; }
.r3 .ctx[data-msw="under"] .mp-colorrow .swr span { width: 40px; height: 40px; }
/* phone: the reviews ride under the Ships chip on the price line, so the info block loses a row */
.r3 .ctx-mob .mp-info .mp-rev { position: absolute; right: 16px; margin: 0; padding: 0; }
.r3 .ctx-mob .mp-info .mp-rev { top: 56px; }   /* centered on the price line */
.r3 .ctx-mob .mp-wish { top: 77px; }           /* centered on the sale line */
/* crops, no names: a little more air between the swatches and the photo */
.r3 .ctx[data-msw="under"] .ctx-mob .mp-colorrow + .mp-car { margin-top: 16px; }
/* phone: rating and the wishlist heart share the price line, right of the price, so the heart's place
   doesn't depend on there being a sale line */
.r3 .ctx-mob .mp-info .mp-rev { right: 48px; }
.r3 .ctx-mob .mp-wish { top: 54px; }

/* ==========================================================
   Tests & options (19 Oct): the concept split into tests. Each test shows live's version of its
   area or the concept's; a row's hover outlines its area, and Outline test areas tags them all.
   ========================================================== */
.dock-btn { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 12px 0 14px; border: 1px solid var(--c-line); border-radius: 999px; background: #fff; font: 600 12px var(--f-sans); color: var(--c-ink); cursor: pointer; flex: none; }
.dock-btn:hover { border-color: var(--c-ink); }
.dock-btn[aria-expanded="true"] { background: var(--c-ink); border-color: var(--c-ink); color: #fff; }
.dock-btn svg { width: 12px; height: 12px; transform: rotate(-90deg); transition: transform .2s; }
.dock-btn[aria-expanded="true"] svg { transform: rotate(90deg); }
.dock-btn:focus-visible { outline: 2px solid var(--c-test); outline-offset: 2px; }
.dock-n { font: 500 11px var(--f-mono); opacity: .72; }
.tp { position: absolute; left: 16px; bottom: calc(100% + 10px); width: min(440px, calc(100vw - 32px)); max-height: min(74vh, 720px); overflow: auto; overscroll-behavior: contain; padding: 16px 14px 14px 16px; background: #fff; border-radius: 14px; box-shadow: 0 1px 3px rgba(31, 26, 23, .12), 0 16px 36px -14px rgba(31, 26, 23, .32); color: var(--c-ink); }
.tp-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: -6px; }
.tp-h { margin: 0; font: 600 15px var(--f-sans); }
.tp-sum { margin-left: 6px; font: 400 12px var(--f-sans); color: var(--c-muted); }
.tp-x { display: grid; place-items: center; width: 28px; height: 28px; padding: 0; border: 0; border-radius: 50%; background: none; color: var(--c-ink); cursor: pointer; }
.tp-x svg { width: 14px; height: 14px; }
.tp-x:hover { background: var(--c-paper); }
.tp-sub { margin: 18px 0 6px; font: 500 11px var(--f-mono); letter-spacing: .04em; text-transform: uppercase; color: var(--c-muted); }
.tp-group ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.tp-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 4px 4px 4px 0; border-radius: 8px; transition: background-color .15s; }
.tp-row:hover, .tp-row:focus-within { background: var(--c-paper); }
.tp-go { display: grid; grid-template-columns: 38px minmax(0, 1fr); align-items: start; gap: 6px; padding: 5px 0 5px 8px; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.tp-id { font: 600 11px/20px var(--f-mono); color: var(--c-test); }
.tp-tx b { font-size: 13px; line-height: 20px; font-weight: 600; }
.tp-dev { display: inline-block; margin-left: 6px; padding: 0 7px; border: 1px solid var(--c-line); border-radius: 999px; font-size: 11px; line-height: 17px; color: var(--c-muted); vertical-align: 1px; }
.tp-live { display: block; font-size: 12px; line-height: 16px; color: var(--c-muted); }
.tp-row.is-live .tp-tx b { color: var(--c-muted); }
.tp-seg { display: inline-grid; grid-auto-flow: column; padding: 2px; border: 1px solid var(--c-line); border-radius: 999px; background: var(--c-paper); }
.tp-seg button { height: 24px; padding: 0 10px; border: 0; border-radius: 999px; background: none; font: 500 12px var(--f-sans); color: var(--c-muted); cursor: pointer; }
.tp-seg button[aria-pressed="true"] { background: #fff; color: var(--c-ink); box-shadow: 0 1px 2px rgba(31, 26, 23, .16); }
.tp-seg button[data-tset="test"][aria-pressed="true"] { background: var(--c-test); color: #fff; }
.tp-go:focus-visible, .tp-seg button:focus-visible, .tp-x:focus-visible { outline: 2px solid var(--c-test); outline-offset: 2px; }
.tp-opts { display: grid; gap: 8px; margin-top: 8px; padding-top: 2px; border-top: 1px solid var(--c-line); }
.tp-opts .tp-sub { margin-top: 14px; }
.tp-opts .dock-sel { justify-content: space-between; }
@media (prefers-reduced-motion: reduce) { .dock-btn svg, .tp-row { transition: none; } }

/* the outline and its tag */
.t-rel { position: relative; }
body.t-outline [data-t], [data-t].is-t-on { outline: 2px dashed var(--c-test); outline-offset: -2px; }
[data-t].is-t-on { outline-style: solid; }
/* the tag sits just above its outline, in the gap between areas, so it never covers the area; photos
   crop anything outside them, so on gallery media it sits inside the top-left corner */
body.t-outline [data-t]::after, [data-t].is-t-on::after { content: attr(data-tname); position: absolute; left: 0; bottom: calc(100% + 3px); z-index: 60; padding: 2px 8px; border-radius: 4px; background: var(--c-test); color: #fff; font: 600 11px/16px var(--f-mono); white-space: nowrap; pointer-events: none; }
body.t-outline :is(.ltf, .rv-media, .mp-slide)[data-t]::after, :is(.ltf, .rv-media, .mp-slide)[data-t].is-t-on::after { top: 8px; bottom: auto; left: 8px; }

/* live's version of each area (Live in the panel) */
.ctx[data-t1="live"] .t1-slot, .ctx[data-t10="live"] .bf-vin, .ctx[data-t11="live"] .bf-tex { display: none; }
.r3 .ctx[data-t6="live"] .ugc.ugc { grid-auto-columns: 98px; overflow: hidden; scroll-snap-type: none; }
.r3 .ctx[data-t6="live"] .ugc img { width: 98px; height: 150px; aspect-ratio: auto; }
.ctx[data-t6="live"] .ugc-prog { display: none; }
.ctx[data-t7="live"] :is(.pad-img, .pad-i, .pad-tip) { display: none; }
.r3 .ctx[data-t7="live"] .pad-line { font-weight: 400; color: var(--rv-ink); }
.r3 .ctx[data-t7="live"] .pad-line b { font-weight: 400; letter-spacing: 0; text-transform: lowercase; }
.r3 .ctx[data-t8="live"] .lp-sw { display: flex; gap: 12px; }
.r3 .ctx[data-t8="live"] .lp-sw .swr span { width: 32px; height: 32px; }
.ctx[data-t8="live"] .lp-sw .swr-n { display: none; }
.r3 .ctx[data-t8="live"] .ctx-mob .mp-colorrow .mp-sw { gap: 20px; }
.r3 .ctx[data-t8="live"] .ctx-mob .mp-colorrow .swr span { width: 30px; height: 30px; }
.sz-links { display: inline-flex; align-items: center; gap: 4px; }
.sz-wg { display: none; }
.ctx[data-t9="live"] .sz-wg { display: inline; }
.ctx[data-t9="live"] :is(.sz-chev, .sz-panel, .tt-go) { display: none !important; }
.r3 .ctx[data-t12="live"] .ctx-mob .mp-buy > .mp-colorrow { margin-top: 12px; padding: 0; }
.tt3 .tt--live { display: none; }
.ctx[data-t15="live"] .tt3 .tt--live { display: grid; }
.ctx[data-t15="live"] :is(.tt3 .tt--new, .bx-band .bx-ic) { display: none; }
.r3 .ctx[data-t15="live"] .ctx-mob .mp-info .mp-rev { position: static; margin-top: 10px; padding: 0 16px; }
.r3 .ctx[data-t15="live"] .ctx-mob .mp-rev .sr-only { position: static; width: auto; height: auto; overflow: visible; clip: auto; text-transform: capitalize; }
.r3 .ctx[data-t15="live"] .ctx-mob .mp-wish { top: 89px; }
/* Outline tests: a switch on the bar */
.dock-sw { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 10px 0 14px; border: 1px solid var(--c-line); border-radius: 999px; background: #fff; font: 600 12px var(--f-sans); color: var(--c-ink); cursor: pointer; flex: none; }
.dock-sw:hover { border-color: var(--c-ink); }
.dock-sw i { position: relative; width: 28px; height: 16px; border-radius: 999px; background: var(--c-line); transition: background-color .2s; }
.dock-sw i::after { content: ""; position: absolute; top: 2px; left: 2px; width: 12px; height: 12px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(31, 26, 23, .25); transition: transform .2s cubic-bezier(.25, 1, .5, 1); }
.dock-sw[aria-checked="true"] i { background: var(--c-test); }
.dock-sw[aria-checked="true"] i::after { transform: translateX(12px); }
.dock-sw:focus-visible { outline: 2px solid var(--c-test); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .dock-sw i, .dock-sw i::after { transition: none; } }
/* laptop swatches: names centered under each crop; the row shifts by half the spare column so the
   first crop still starts on the shared left edge */
.r3 .ctx:not([data-t8="live"]) .lp-sw { grid-auto-columns: 60px; gap: 8px; margin-left: -8px; }
.r3 .ctx:not([data-t8="live"]) .lp-sw .swr { justify-items: center; }

/* Color swatches: lay-flat rugs. Each colorway's whole rug from above stands in for the round crop;
   the photo is zoomed past its white margin so the rug fills the tile */
.r3 .ctx[data-sws="flat"]:not([data-t8="live"]) .swr span { border-radius: 2px; background-size: 114%; background-position: 50% 50%; box-shadow: 0 1px 2px rgba(35, 28, 27, .22); }
.r3 .ctx[data-sws="flat"]:not([data-t8="live"]) .lp-sw .swr span { width: 40px; height: 50px; }
.r3 .ctx[data-sws="flat"]:not([data-t8="live"]) .swr input:checked + span { outline: 1px solid var(--rv-plum); outline-offset: 3px; }
.r3 .ctx[data-sws="flat"]:not([data-t8="live"]) .ctx-mob .mp-colorrow .swr span { width: 22px; height: 28px; }
.r3 .ctx[data-sws="flat"][data-msw="under"]:not([data-t8="live"]) .ctx-mob .mp-colorrow .swr span { width: 34px; height: 42px; }
.r3 .ctx[data-sws="flat"][data-msw="seg"]:not([data-t8="live"]) .ctx-mob .mp-colorrow .swr span { width: 20px; height: 25px; }
.r3 .ctx[data-sws="flat"][data-msw="pills"]:not([data-t8="live"]) .ctx-mob .mp-colorrow .swr input:checked + span { outline: none; }
.r3 .ctx[data-sws="flat"]:not([data-t8="live"]) .lp-sw { margin-left: -10px; }   /* 40 px tiles in 60 px columns: the first rug still starts on the shared edge */

/* In Your Light on the phone (20 Oct): each time of day is a photo of the room at that hour with its
   name under it, after Joon by Loloi's See rug color in a new light, so the five read as choices to
   tap. The sun's path stays on the laptop, where there's room for it. */
:is(.mp-slide, .slide-solo).ltf .ltf-sky { display: none; }
:is(.mp-slide, .slide-solo).ltf .ltf-cap { padding: 0 6px 8px; }
:is(.mp-slide, .slide-solo).ltf .ltf-stops { gap: 6px; padding: 0 2px 2px; }
:is(.mp-slide, .slide-solo).ltf .ltf-stops button { gap: 5px; min-height: 0; padding: 0; border-radius: 0; background: none; color: rgba(255, 255, 255, .9); font-size: 10.5px; font-weight: 500; }
:is(.mp-slide, .slide-solo).ltf .ltf-stops button svg { display: none; }
:is(.mp-slide, .slide-solo).ltf .ltf-stops button:hover { background: none; color: #fff; }
:is(.mp-slide, .slide-solo).ltf .ltf-stops button[aria-pressed="true"] { background: none; color: #fff; font-weight: 700; }
.ltf-th { display: block; width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: 6px; outline: 1px solid rgba(255, 255, 255, .3); outline-offset: -1px; transition: outline-color .2s, outline-offset .2s; }
.ltf-stops button[aria-pressed="true"] .ltf-th { outline: 2px solid #fff; outline-offset: 2px; }
.ltf-stops button:focus-visible { outline-offset: 3px; }

/* T16 (20 Oct): live's own reviews and the real-life photos, moved up to sit under the buy box,
   after Taylor Stitch, where proof comes before the details */
.mp-proof { margin-top: 32px; }
.mp-proof-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.mp-proof-h { display: flex; align-items: center; gap: 8px; margin: 0; font: 600 16px/24px var(--f-sans); color: var(--rv-ink); }
.mp-proof-h .s { display: inline-flex; gap: 1px; }
.mp-proof-h .s svg { width: 14px; height: 14px; }
.mp-proof-n { font-weight: 400; font-size: 13px; color: var(--rv-muted); }
.mp-proof-all { padding: 0; border: 0; background: none; color: var(--rv-ink); font: 600 12px/16px var(--f-sans); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.mp-proof-all:focus-visible { outline: 2px solid var(--c-test); outline-offset: 3px; }
.mp-revs { list-style: none; display: grid; grid-auto-flow: column; grid-auto-columns: 268px; gap: 10px; margin: 14px -16px 0; padding: 0 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 16px; scrollbar-width: none; overscroll-behavior-x: contain; cursor: grab; }
.mp-revs::-webkit-scrollbar { display: none; }
.mp-rv { display: grid; align-content: start; gap: 6px; padding: 14px 14px 12px; background: #F5F2EF; scroll-snap-align: start; }
.mp-rv .s { display: inline-flex; gap: 1px; color: var(--rv-ink); }
.mp-rv .s svg { width: 12px; height: 12px; }
.mp-rv-t { font-size: 13px; line-height: 18px; font-weight: 600; color: var(--rv-ink); }
.mp-rv-x { margin: 0; font-size: 12px; line-height: 18px; color: var(--rv-ink); display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; line-clamp: 4; overflow: hidden; }
.mp-rv-by { display: flex; flex-wrap: wrap; gap: 0 8px; margin: 4px 0 0; font-size: 11px; line-height: 16px; color: var(--rv-muted); }
.mp-rv-by span:first-child { font-weight: 600; color: var(--rv-ink); }
.mp-proof > .mp-acc { margin-top: 24px; }
.ctx[data-t16="live"] .mp-proof { display: none; }

/* Elevated phone layout (20 Oct), after Disturbia's compressed header and JAXXON's product page:
   a 52 px header, the photo first at 500 px (three quarters of Safari's first screen), thumbnails
   riding on the photo, then title and price on one line, the rating, and the sale line. The promo
   bar and the ship chip go: the sale line and the band above Add to Cart already say both. */
.r3 .ctx[data-mlay="lift"] .ctx-mob .mp-promo { display: none; }
.r3 .ctx[data-mlay="lift"] .ctx-mob .mp-head { height: 52px; }
.r3 .ctx[data-mlay="lift"] .ctx-mob .mp-head .rv-logo { font-size: 24px; }
/* After Onyx: no header bar and no divider, the whole way down. The page runs up under the status
   bar (as Safari does on iOS 26), and the logo, icons and status bar float over it. Over the photo
   their ink follows the slide (headTone in t1r3.js), with a soft scrim; over the story film they go
   white; everywhere else they sit on a white fade with a little blur under it, never an edge. */
.r3 .ctx[data-mlay="lift"] .phone-screen > .ctx-mob.mock-viewport { top: 0; height: 711px; }
.r3 .ctx[data-mlay="lift"] .ios-status { background: transparent; transition: color .25s ease-out; }
.r3 .ctx[data-mlay="lift"] .phone-screen:is([data-sb="dark"], [data-sb="film"]) .ios-status { color: #fff; }
.r3 .ctx[data-mlay="lift"] .ctx-mob .mp-top { --hs: linear-gradient(180deg, rgba(255, 255, 255, .5), rgba(255, 255, 255, 0)); padding-top: 47px; background: transparent; }
.r3 .ctx[data-mlay="lift"] .ctx-mob .mp-top::before, .r3 .ctx[data-mlay="lift"] .ctx-mob .mp-top::after { content: ""; position: absolute; left: 0; right: 0; top: 0; z-index: -1; height: calc(100% + 40px); pointer-events: none; }
.r3 .ctx[data-mlay="lift"] .ctx-mob .mp-top::before { background: var(--hs); transition: opacity .25s; }
.r3 .ctx[data-mlay="lift"] .ctx-mob .mp-top[data-tone="dark"] { --hs: linear-gradient(180deg, rgba(20, 16, 14, .4), rgba(20, 16, 14, 0)); }
.r3 .ctx[data-mlay="lift"] .ctx-mob .mp-top[data-tone="page"] { --hs: linear-gradient(180deg, rgba(255, 255, 255, .96) 0, rgba(255, 255, 255, .88) 62%, rgba(255, 255, 255, 0) 100%); }
.r3 .ctx[data-mlay="lift"] .ctx-mob .mp-top[data-tone="film"] { --hs: linear-gradient(180deg, rgba(30, 25, 21, .96) 0, rgba(30, 25, 21, .88) 62%, rgba(30, 25, 21, 0) 100%); }
.r3 .ctx[data-mlay="lift"] .ctx-mob .mp-top:is([data-tone="page"], [data-tone="film"])::after { -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent); mask-image: linear-gradient(180deg, #000 55%, transparent); }
.r3 .ctx[data-mlay="lift"] .ctx-mob .mp-head { position: relative; height: 52px; border-bottom: 0; transition: color .25s ease-out; }
/* a rule under the header keeps it reading as the header while it floats. It runs on the page's
   16 px gutter, the same edges as the logo, the menu icon, the thumbnails, the colors and the title
   and price, and sits 14 px under the logo, as the logo sits 14 px under the top of the header. It
   takes the header's ink, so it's white over dark photos and the film. */
.r3 .ctx[data-mlay="lift"] .ctx-mob .mp-head::after { content: ""; position: absolute; left: 16px; right: 16px; bottom: 0; height: 1px; background: currentColor; opacity: .16; transition: opacity .25s ease-out; }
.r3 .ctx[data-mlay="lift"] .ctx-mob .mp-top:is([data-tone="dark"], [data-tone="film"]) .mp-head::after { opacity: .4; }
.r3 .ctx[data-mlay="lift"] .ctx-mob .mp-head .rv-logo { transition: color .25s ease-out; }
.r3 .ctx[data-mlay="lift"] .ctx-mob .mp-top:is([data-tone="dark"], [data-tone="film"]) :is(.mp-head, .rv-logo) { color: #fff; }
/* white ink keeps a soft shadow, for photos that are light in one corner and dark in the other */
.r3 .ctx[data-mlay="lift"] .ctx-mob .mp-top[data-tone="dark"] .mp-head > *, .r3 .ctx[data-mlay="lift"] .phone-screen[data-sb="dark"] .ios-status > * { filter: drop-shadow(0 1px 6px rgba(0, 0, 0, .28)); }
/* the photo runs from the top of the screen and takes most of it: 590 of Safari's 711 px */
.r3 .ctx[data-mlay="lift"] .ctx-mob .mp-car { margin-top: -99px; }
.r3 .ctx[data-mlay="lift"] .ctx-mob .mp-slide { --nav: 8px; height: 590px; }
.r3 .ctx[data-mlay="lift"] .ctx-mob .mp-slide .rv-badge { top: 107px; }
.r3 .ctx[data-mlay="lift"] .ctx-mob .mp-vir2 { top: 107px; }
.r3 .ctx[data-mlay="lift"] .ctx-mob .mp-slide.ltf .ltf-test { top: 109px; }
/* thumbnails under the photo */
.r3 .ctx[data-mlay="lift"] .ctx-mob .mp-nav { margin: 6px 0 0; }
.r3 .ctx[data-mlay="lift"] .ctx-mob .mp-nav .mp-vir { display: none; }
.r3 .ctx[data-mlay="lift"] .ctx-mob .mp-vir2 { display: inline-flex; }
.r3 .ctx[data-mlay="lift"][data-pnav="dots"] .ctx-mob .mp-nav { margin: 12px 0 4px; }
.r3 .ctx[data-mlay="lift"] .ctx-mob .mp-slide .an { bottom: calc(var(--nav) + 4px); }
.r3 .ctx[data-mlay="lift"] .ctx-mob .mp-slide > img.rv-forbes { bottom: calc(var(--nav) + 4px); width: 58px; height: 58px; }
/* colors above the photo (T12), quieter: the title and the pick on the left, three crops on the right */
.r3 .ctx[data-mlay="lift"][data-msw] .ctx-mob > .rv > .mp-colorrow { display: flex; justify-content: space-between; align-items: center; height: 52px; margin: 0; padding: 0 16px; }
.r3 .ctx[data-mlay="lift"][data-msw] .ctx-mob > .rv > .mp-colorrow .mp-sw { width: auto; gap: 14px; margin: 0; padding: 0; overflow: visible; background: none; }
.r3 .ctx[data-mlay="lift"][data-msw] .ctx-mob > .rv > .mp-colorrow .swr { display: block; height: auto; padding: 0; border: 0; border-radius: 50%; background: none; box-shadow: none; }
.r3 .ctx[data-mlay="lift"][data-msw] .ctx-mob > .rv > .mp-colorrow .swr span { display: block; width: 30px; height: 30px; box-shadow: 0 0 0 1px var(--rv-line); }
.r3 .ctx[data-mlay="lift"][data-msw] .ctx-mob > .rv > .mp-colorrow .swr input:checked + span { outline: 1.5px solid var(--rv-plum); outline-offset: 3px; }
.r3 .ctx[data-mlay="lift"][data-msw] .ctx-mob > .rv > .mp-colorrow .swr-n { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
/* title and price, the rating and the heart, the sale line */
.r3 .ctx[data-mlay="lift"] .ctx-mob .mp-info { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "title price" "rev wish" "sale sale"; align-items: center; column-gap: 12px; padding: 14px 16px 0; }
.r3 .ctx[data-mlay="lift"] .ctx-mob .mp-crumb, .r3 .ctx[data-mlay="lift"] .ctx-mob .mp-titlerow .mp-ship { display: none; }
.r3 .ctx[data-mlay="lift"] .ctx-mob .mp-titlerow { display: contents; }
.r3 .ctx[data-mlay="lift"] .ctx-mob .mp-titlerow .mp-title { grid-area: title; margin: 0; font-size: 20px; line-height: 26px; }
.r3 .ctx[data-mlay="lift"] .ctx-mob .mp-price { grid-area: price; margin: 0; padding: 0; font-size: 18px; line-height: 26px; font-weight: 600; }
.r3 .ctx[data-mlay="lift"] .ctx-mob .mp-info .mp-rev { grid-area: rev; position: static; margin: 6px 0 0; padding: 0; }
.r3 .ctx[data-mlay="lift"] .ctx-mob .mp-wish { grid-area: wish; position: static; justify-self: end; margin-top: 6px; }
.r3 .ctx[data-mlay="lift"] .ctx-mob .mp-sale { grid-area: sale; margin: 8px 0 0; padding: 0; }
/* the buy box: one rhythm, and the ship band shows once, above Add to Cart */
.r3 .ctx[data-mlay="lift"] .ctx-mob .mp-buy { --grp: 20px; }
.r3 .ctx[data-mlay="lift"] .ctx-mob .mp-buy > .sw-co:first-child, .r3 .ctx[data-mlay="lift"] .ctx-mob .mp-buy > .mp-colorrow:first-child { margin-top: 18px; }
.r3 .ctx[data-mlay="lift"] .ctx-mob .mp-buy .bx-band { display: flex; }
.r3 .ctx[data-mlay="lift"][data-swmode="1"] .ctx-mob .mp-buy .bx-band { display: none; }
.r3 .ctx[data-mlay="lift"] .ctx-mob .sw-co { grid-template-columns: 44px minmax(0, 1fr); padding: 10px 12px; }
.r3 .ctx[data-mlay="lift"] .ctx-mob .sw-co .sw-co-img { width: 44px; height: 44px; }

/* the day in one play (20 Oct): a play button over the day-to-night film runs it from morning to
   night; it steps aside while the day plays and comes back at night */
.ltf-play { position: absolute; left: 50%; top: 38%; z-index: 3; width: 64px; height: 64px; margin: -32px 0 0 -32px; display: grid; place-items: center; padding: 0; border: 1px solid rgba(255, 255, 255, .34); border-radius: 50%; background: rgba(22, 18, 16, .42); -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4); color: #fff; cursor: pointer; box-shadow: 0 10px 28px -10px rgba(0, 0, 0, .45); transition: opacity .3s ease-out, transform .3s cubic-bezier(.16, 1, .3, 1), background-color .2s; }
.ltf-play svg { width: 26px; height: 26px; margin-left: 3px; }
.ltf-play:hover { background: rgba(22, 18, 16, .58); }
.ltf-play:active { transform: scale(.94); }
.ltf-play:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.ltf.is-playing .ltf-play { opacity: 0; transform: scale(.86); pointer-events: none; }
:is(.mp-slide, .slide-solo).ltf .ltf-play { top: 44%; width: 56px; height: 56px; margin: -28px 0 0 -28px; }
.r3 .ctx[data-mlay="lift"] .ctx-mob .mp-slide.ltf .ltf-play { top: 46%; }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .ltf-play { background: rgba(22, 18, 16, .72); } }
@media (prefers-reduced-motion: reduce) { .ltf-play { transition: none; } }
/* an iPhone's scrollbar overlays the page and fades; the desktop one took 19 px off the phone's width */
.phone-screen > .ctx-mob.mock-viewport { scrollbar-width: none; }
.phone-screen > .ctx-mob.mock-viewport::-webkit-scrollbar { display: none; }
