/* Blind Finder: the tool is the opener (night), then how it chooses (white), the range (sky), CTA, footer. */
@property --s { syntax: '<length>'; inherits: false; initial-value: 0px; }

/* ---------- the tool: one question at a time beside the live window ---------- */
.fd { position: relative; background: var(--night); color: #fff; margin-top: calc(-1 * var(--hdr)); min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-start; padding-block: calc(var(--hdr) + clamp(14px, 2.6vh, 36px)) clamp(14px, 2.4vh, 30px); overflow: clip; }
.fd__grid { position: relative; z-index: 1; display: flex; gap: clamp(28px, 3.6vw, 64px); align-items: flex-start; }
.fd__left { flex: 1 1 0; min-width: 0; }
.fd__right { flex: 1.28 1 0; min-width: 0; position: relative; }

/* light through slats falls across the dark room, drifting */
.fd__slats { position: absolute; inset: -30% -10%; pointer-events: none; z-index: 0; background: repeating-linear-gradient(166deg, rgba(255, 244, 222, 0) 0 44px, rgba(255, 244, 222, .045) 44px 62px); -webkit-mask-image: radial-gradient(ellipse 60% 70% at 72% 40%, #000 0%, rgba(0, 0, 0, .35) 55%, transparent 80%); mask-image: radial-gradient(ellipse 60% 70% at 72% 40%, #000 0%, rgba(0, 0, 0, .35) 55%, transparent 80%); }
html.motion .fd__slats { animation: fdslats 18s linear infinite; }
@keyframes fdslats { to { transform: translate3d(-62px, 0, 0); } }
/* the window's light spilling out into the page */
.fd__glow { position: absolute; z-index: 0; pointer-events: none; right: -6%; top: 2%; width: 70%; height: 92%; }
.fd__glow i { position: absolute; inset: 0; opacity: 0; transition: opacity .2s linear; }
.fd__glow .g-day { background: radial-gradient(ellipse 50% 46% at 50% 40%, rgba(255, 246, 226, .26), rgba(255, 246, 226, 0) 70%); }
.fd__glow .g-night { background: radial-gradient(ellipse 50% 46% at 56% 44%, rgba(255, 176, 92, .2), rgba(255, 176, 92, 0) 70%); }

.fd__head h1 { font-size: clamp(2.4rem, 3.9vw, 3.6rem); line-height: .98; margin-bottom: .28em; }
.fd__head h1 em { color: var(--red-soft); white-space: nowrap; }
.fd__intro { font-size: clamp(1.02rem, 1.15vw, 1.14rem); line-height: 1.5; color: rgba(255, 255, 255, .84); margin: 0 0 clamp(16px, 2.6vh, 28px); }

/* step indicator and Start again, on their own row */
.fd__nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; padding-bottom: 16px; margin-bottom: clamp(16px, 2.4vh, 24px); border-bottom: 1px solid rgba(255, 255, 255, .14); }
.fd__steps { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.fd__stepbtn { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; padding: 0 16px 0 7px; border-radius: var(--pill); border: 1.5px solid rgba(255, 255, 255, .22); background: transparent; color: #fff; font-weight: 700; font-size: .92rem; cursor: pointer; transition: background-color .3s, border-color .3s, color .3s; }
.fd__stepno { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: rgba(255, 255, 255, .12); font-variant-numeric: tabular-nums; transition: background-color .3s, color .3s; }
.fd__stepbtn[aria-current="step"] { background: #fff; border-color: #fff; color: var(--ink); }
.fd__stepbtn[aria-current="step"] .fd__stepno { background: var(--red-deep); color: #fff; }
.fd__stepbtn.is-done:not([aria-current]) .fd__stepno { background: var(--red-soft); color: var(--ink); }
.fd__stepbtn:disabled { cursor: default; color: rgba(255, 255, 255, .55); border-color: rgba(255, 255, 255, .12); }
@media (any-hover: hover) and (any-pointer: fine) { .fd__stepbtn:not(:disabled):not([aria-current]):hover { border-color: #fff; background: rgba(255, 255, 255, .08); } }
.fd__again { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px 0 13px; border-radius: var(--pill); background: rgba(255, 255, 255, .08); border: 0; cursor: pointer; font-weight: 700; font-size: .92rem; color: #fff; transition: background-color .25s; }
.fd__again:hover { background: rgba(255, 255, 255, .16); }
.fd__again svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; transition: transform .6s var(--ease); }
.fd__again:hover svg { transform: rotate(-200deg); }

/* the steps: one shows at a time, the panel keeps the tallest step's height so nothing jumps */
.fd__panel { position: relative; }
.fd__step[hidden] { display: none; }
.fd__shead { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.fd__shead h2 { font-size: clamp(1.55rem, 2.1vw, 2.05rem); line-height: 1.06; margin: 0; padding-top: 4px; }
.fd__shead h2:focus { outline: none; }
.fd__shead h2:focus-visible { outline: none; }
.fd__back { flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 4px; background: none; border: 0; cursor: pointer; font-weight: 700; font-size: .95rem; color: #fff; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .4); text-underline-offset: 5px; text-decoration-thickness: 2px; }
.fd__back:hover { text-decoration-color: #fff; }
.fd__back::before { content: ''; width: 8px; height: 8px; border: solid currentColor; border-width: 0 0 2px 2px; transform: rotate(45deg); margin-right: 2px; }
.fd__back[data-change]::before { display: none; }
.fd__snote { margin: -4px 0 16px; font-size: 1rem; line-height: 1.45; color: rgba(255, 255, 255, .8); }
.fd__snote b { color: #fff; }

/* chips: pill-shaped answers; choosing one closes it like a Venetian (white slats grow until they meet) */
.fd__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; display: inline-flex; cursor: pointer; }
.chip[hidden] { display: none; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; z-index: 1; }
.chip span { position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 9px 15px; border-radius: var(--pill); border: 1.5px solid rgba(255, 255, 255, .34); font-size: .92rem; font-weight: 600; line-height: 1.2; color: #fff; overflow: hidden; isolation: isolate; transition: border-color .3s, color .3s, transform .3s var(--ease); }
.chip span::before { content: ''; position: absolute; inset: 0; z-index: -1; --s: 0px; background: repeating-linear-gradient(180deg, #fff 0 var(--s), transparent var(--s) 7px); transition: --s .45s var(--ease); }
.chip input:checked + span { color: var(--ink); border-color: #fff; }
.chip input:checked + span::before { --s: 7px; }
.chip input:focus-visible + span { outline: 3px solid var(--red-soft); outline-offset: 3px; }
.chip input:disabled { cursor: not-allowed; }
.chip input:disabled + span { color: rgba(255, 255, 255, .5); border-color: rgba(255, 255, 255, .16); }
@media (any-hover: hover) and (any-pointer: fine) {
  .chip:hover input:not(:checked):not(:disabled) + span { border-color: #fff; background: rgba(255, 255, 255, .08); }
}
.chip input:active:not(:disabled) + span { transform: scale(.97); }
.fd__tip { display: flex; gap: 12px; align-items: flex-start; margin: 22px 0 0; font-size: .95rem; line-height: 1.45; color: rgba(255, 255, 255, .78); }
.fd__tip svg { flex: none; width: 20px; height: 20px; fill: none; stroke: var(--red-soft); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; margin-top: 1px; }
.fd__help { margin-top: 26px; padding: 16px 20px 10px; border-radius: var(--corner); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); }
.fd__help p { margin: 0 0 4px; font-size: .98rem; line-height: 1.5; color: rgba(255, 255, 255, .84); }
.fd__help .textlink { color: #fff; }
@media (min-width: 1001px) and (max-height: 740px) { .fd__help { display: none; } }
.fd__sfoot { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; margin-top: 20px; }
.fd__see { min-height: 48px; padding: .7em 1.4em; font-size: .95rem; }
.fd__sofar { margin: 0; font-size: .95rem; color: rgba(255, 255, 255, .82); }
.fd__sofar b { color: #fff; }

/* the result */
.fd__rhead { margin-bottom: 12px; }
.fd__rhead h2 { font-size: clamp(1.8rem, 2.6vw, 2.5rem); padding-top: 0; }
.fd__rfit { margin: 6px 0 0; font-size: .95rem; font-weight: 600; color: rgba(255, 255, 255, .86); }
.fd__rfit b { color: var(--red-soft); font-weight: 800; }
.fd__why { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 4px; }
.fd__why li { position: relative; padding-left: 26px; font-size: 1rem; line-height: 1.45; color: rgba(255, 255, 255, .88); }
.fd__why li::before { content: ''; position: absolute; left: 2px; top: .32em; width: 13px; height: 7px; border: solid var(--red-soft); border-width: 0 0 2.5px 2.5px; transform: rotate(-45deg); }
.fd__why li.is-note::before { width: 12px; height: 8px; border: 0; transform: none; top: .5em; background: repeating-linear-gradient(180deg, var(--red-soft) 0 2px, transparent 2px 4px); }
.fd__why b { color: #fff; font-weight: 700; margin-right: .35em; }
.fd__acts { display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; margin-bottom: 18px; }
.fd__acts .btn { min-height: 50px; }
.fd__acts .textlink { color: #fff; }
.fd__runners { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.fdr { position: relative; min-width: 0; display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 2px 12px; padding: 10px 12px; border-radius: var(--corner); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); transition: background-color .3s, border-color .3s; }
.fdr:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .22); }
.fdr__img { grid-row: 1 / 3; width: 56px; height: 56px; object-fit: cover; border-radius: 16px 0 0 0; }
.fdr__name { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 44px; margin: -8px 0 -6px; text-decoration: none; font-weight: 800; font-stretch: 78%; font-size: 1.12rem; line-height: 1.1; color: #fff; }
.fdr__name svg { flex: none; width: 16px; height: 12px; fill: none; stroke: currentColor; stroke-width: 2; transition: transform .3s var(--ease); }
.fdr__name:hover svg { transform: translateX(4px); }
.fdr__why { margin: 0; font-size: .9rem; line-height: 1.4; color: rgba(255, 255, 255, .8); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fdr__book { grid-column: 1 / -1; display: inline-flex; align-items: center; justify-content: center; min-height: 44px; margin-top: 8px; padding: 0 12px; border-radius: var(--pill); border: 1.5px solid rgba(255, 255, 255, .4); text-decoration: none; font-weight: 700; font-size: .9rem; color: #fff; transition: background-color .25s, color .25s, border-color .25s; }
.fdr__book:hover { background: #fff; color: var(--ink); border-color: #fff; }
.fd__nojs { margin: 18px 0 0; padding: 14px 16px; background: rgba(255, 255, 255, .08); color: #fff; }
html.no-js .fd__nav, html.no-js .fd__tip, html.no-js .fd__pctl, html.no-js .fd__plaque { display: none; }

/* ---------- the live window ---------- */
.fd__stage { --sh: clamp(280px, calc(100svh - var(--hdr) - 170px), 600px); --wf: .6; --wfw: .72; --cy: .47; position: relative; margin: 0; border-radius: var(--corner); background: #0e1820; box-shadow: 0 40px 90px rgba(0, 0, 0, .45), 0 0 0 1px rgba(255, 255, 255, .07); }
.fd__view { position: relative; height: var(--sh); overflow: hidden; container-type: size; border-radius: var(--corner); background: #2a2622; }
.fd__cam { position: absolute; inset: 0; transform-origin: 50% 45%; }
html.motion .fd__cam { animation: fdbreathe 9s ease-in-out infinite alternate; }
@keyframes fdbreathe { from { scale: 1; } to { scale: 1.025; } }
.fd__scene { position: absolute; inset: 0; transform-origin: 50% 46%; }
.fd__scene[hidden] { display: none; }
/* where container units are missing the photo simply covers the frame (finder.js knows which) */
.fd__img { position: absolute; left: 0; top: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }
/* the camera: the panes take --wf of the frame's height (or --wfw of its width), the photo always covers the frame
   and is never pushed past an edge. finder.js uses the same sums to draw the blinds in the panes. */
@supports (width: 1cqw) {
  .fd__scene { --ihh: calc(var(--wf) * 100cqh / var(--uh)); --ihw: calc(var(--wfw) * 100cqw / (var(--uw) * var(--a))); --ih: max(min(var(--ihh), var(--ihw)), calc(100cqw / var(--a)), 100cqh); }
  .fd__img { object-fit: fill; width: calc(var(--ih) * var(--a)); height: var(--ih);
    top: clamp(calc(100cqh - var(--ih)), calc(var(--cy) * 100cqh - var(--uy) * var(--ih)), 0px);
    left: clamp(calc(100cqw - var(--ih) * var(--a)), calc(50cqw - var(--ux) * var(--ih) * var(--a)), 0px); }
}
.fd__night { display: none; opacity: var(--night, 0); }
.fd__cam.is-night .fd__night { display: block; }
.fd__dim { position: absolute; z-index: 3; inset: 0; background: #1a120b; opacity: 0; pointer-events: none; mix-blend-mode: multiply; }
.fd__canvas { position: absolute; z-index: 4; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.fd__view::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(0deg, rgba(10, 16, 22, .3) 0%, rgba(10, 16, 22, 0) 18%); }

/* the wand beside the window: drag it to work the blind */
.fd__wand { position: absolute; z-index: 3; width: 44px; left: 0; top: 0; height: 200px; }
.fd__wand[hidden] { display: none; }
.fd__track { position: absolute; left: 21px; top: 0; bottom: 0; width: 2px; background: linear-gradient(rgba(255, 255, 255, .85), rgba(255, 255, 255, .5)); box-shadow: 0 0 0 1px rgba(0, 0, 0, .12); }
.fd__handle { position: absolute; left: 0; top: 0; width: 44px; height: 44px; border-radius: 50%; background: #fff; box-shadow: 0 8px 22px rgba(0, 0, 0, .35); cursor: grab; touch-action: none; display: grid; place-items: center; }
.fd__handle:active { cursor: grabbing; }
.fd__handle span { width: 16px; height: 9px; background: repeating-linear-gradient(180deg, var(--ink) 0 2px, transparent 2px 3.5px); }
.fd__handle:focus-visible { outline: 3px solid var(--red-soft); outline-offset: 3px; }
.fd__handle::before { content: ''; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .7); opacity: 0; }
html.motion .fd__wand:not(.is-used) .fd__handle::before { animation: fdping 2.4s var(--ease) infinite; }
@keyframes fdping { 0% { transform: scale(.8); opacity: .9; } 70%, 100% { transform: scale(1.5); opacity: 0; } }
.fd__wandtip { position: absolute; left: 52px; top: 0; font-size: .875rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #fff; text-shadow: 0 1px 8px rgba(0, 0, 0, .7); white-space: nowrap; pointer-events: none; transition: opacity .4s; }
.fd__wand.is-used .fd__wandtip { opacity: 0; }
.fd__wand.is-left .fd__wandtip { display: none; }

/* the plaque under the window: what is in it, to what scale, day or night and how much light gets in */
.fd__plaque { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: 'name ctl' 'cap cap'; align-items: center; gap: 8px 20px; padding: 12px 16px 12px 20px; }
.fd__pname { grid-area: name; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fd__pctl { grid-area: ctl; }
.fd__pname { margin: 0; font-weight: 800; font-stretch: 75%; font-size: clamp(1.3rem, 1.7vw, 1.6rem); line-height: 1.15; color: #fff; }
.fd__pill { display: block; font-size: .9rem; font-weight: 600; color: rgba(255, 255, 255, .86); }
.fd__pill b { color: var(--red-soft); font-weight: 800; }
.fd__cap { grid-area: cap; margin: 0; min-height: 4.1em; font-size: .875rem; line-height: 1.35; color: rgba(255, 255, 255, .72); }
.fd__pctl { flex: none; display: flex; align-items: center; gap: 10px; }
.fd__toggle { display: inline-flex; padding: 3px; border-radius: var(--pill); background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .16); }
.fd__toggle button { min-height: 44px; min-width: 56px; padding: 0 13px; border: 0; border-radius: var(--pill); background: transparent; color: #fff; font-weight: 700; font-size: .92rem; cursor: pointer; transition: background-color .3s, color .3s; }
.fd__toggle button[aria-pressed="true"] { background: #fff; color: var(--ink); }
.fd__toggle button:focus-visible { outline-offset: 1px; }
.fd__meter { width: 206px; display: flex; align-items: center; gap: 10px; min-height: 50px; padding: 0 16px; border-radius: var(--pill); background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .16); font-size: .9rem; font-weight: 600; }
.fd__meter > span:first-child { flex: 1 1 auto; white-space: nowrap; }
.fd__meterbar { position: relative; flex: none; width: 54px; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .2); overflow: hidden; }
.fd__meterbar b { position: absolute; inset: 0; background: linear-gradient(90deg, #ffd99a, #fff6e2); transform-origin: left; transform: scaleX(.6); }
.fd__meterval { flex: none; width: 4.4ch; text-align: right; font-variant-numeric: tabular-nums; font-weight: 800; }

/* short desktop screens */
@media (min-width: 1001px) and (max-width: 1400px) {
  .fd__right { flex-grow: 1.04; }
}
@media (min-width: 1001px) and (max-height: 820px) {
  .fd__stage { --sh: clamp(260px, calc(100svh - var(--hdr) - 190px), 560px); }
  .fd__head h1 { font-size: clamp(2.1rem, 3.2vw, 2.8rem); }
  .fd__intro { margin-bottom: 14px; }
  .fd__nav { padding-bottom: 12px; margin-bottom: 14px; }
  .fd__tip { margin-top: 16px; }
  .fd__acts { margin-bottom: 12px; }
}
@media (min-width: 1001px) and (max-height: 740px) {
  .fd { padding-block: calc(var(--hdr) + 10px) 10px; }
  .fd__stage { --sh: clamp(260px, calc(100svh - var(--hdr) - 180px), 560px); }
  .fd__head h1 { font-size: clamp(2rem, 3vw, 2.4rem); }
  .fd__intro { font-size: .98rem; margin-bottom: 10px; }
  .fd__shead { margin-bottom: 10px; }
  .fd__why { margin-bottom: 12px; }
  .fd__why li { line-height: 1.35; }
  .fd__plaque { padding-block: 8px; }
}
@media (min-width: 1001px) and (max-width: 1240px) {
  .fd__plaque { grid-template-areas: 'name name' 'ctl ctl' 'cap cap'; }
  .fd__meter { width: 196px; }
}

/* tablets and phones: the window on top, then the current question */
@media (max-width: 1000px) {
  .fd { min-height: 100svh; padding-block: calc(var(--hdr) + 18px) 40px; }
  .fd__grid { flex-direction: column; gap: 0; }
  .fd__left, .fd__right { display: contents; }
  .fd__head { order: 1; }
  .fd__stage { order: 2; --sh: clamp(210px, 27vh, 400px); --wf: .62; --wfw: .78; --cy: .42; margin-bottom: 20px; width: 100%; }
  .fd__flow { order: 3; width: 100%; }
  .fd__glow { display: none; }
  .fd__head h1 { font-size: clamp(2.1rem, 7.4vw, 3.2rem); }
  .fd__intro { margin-bottom: 14px; }
  .fd__plaque { grid-template-columns: 1fr; grid-template-areas: 'name' 'cap'; gap: 4px; padding: 10px 12px 10px 14px; }
  /* phones: Day / Night and the meter sit inside the bottom of the frame, under the window */
  .fd__pctl { position: absolute; z-index: 5; left: 8px; right: 8px; top: calc(var(--sh) - 52px); justify-content: space-between; }
  .fd__toggle, .fd__meter { background: rgba(12, 19, 26, .68); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
  .fd__toggle { padding: 0; }
}
@media (max-width: 600px) {
  .fd { padding-top: calc(var(--hdr) + 14px); }
  .fd__head h1 { font-size: clamp(2rem, 9.4vw, 2.6rem); }
  .fd__head h1 em { display: block; }
  .fd__intro { font-size: 1rem; margin-bottom: 12px; }
  .fd__stage { margin-bottom: 18px; }
  .fd__meter { width: 182px; padding: 0 12px; gap: 8px; font-size: .9rem; }
  .fd__meterbar { width: 34px; }
  .fd__toggle button { min-width: 54px; padding: 0 12px; font-size: .92rem; }
  .fd__wandtip { display: none; }
  .fd__nav { flex-wrap: nowrap; gap: 8px; padding-bottom: 12px; margin-bottom: 14px; }
  .fd__again { flex: none; width: 44px; padding: 0; justify-content: center; }
  .fd__againtxt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .fd__stepbtn { padding-right: 14px; gap: 7px; }
  /* phones: the step you are on shows its name, the others just their number (still read out) */
  .fd__stepbtn:not([aria-current]) { padding: 0 7px; }
  .fd__stepbtn:not([aria-current]) .fd__steplbl { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .fd__steps { gap: 5px; }
  .fd__runners { grid-template-columns: 1fr; }
  .fd__acts .btn { width: 100%; justify-content: center; }
}


/* ---------- how the finder chooses ---------- */
.how__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 6vw, 110px); align-items: center; }
.how__txt .lede { margin-bottom: 1em; }
.how__txt > p:not(.lede) { color: var(--ink-2); }
.how__txt .btns { margin-top: 26px; }
.how__pic { position: relative; margin: 0; }
.how__box { position: relative; padding: 40px 48px 0 0; }
.how__frame { aspect-ratio: 3 / 2; max-height: min(62vh, 600px); width: 100%; }
.how__frame img { height: 112%; }
.how__frame::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(100deg, rgba(255, 248, 230, 0) 30%, rgba(255, 248, 230, .4) 45%, rgba(255, 248, 230, 0) 60%) 0 0 / 300% 100% no-repeat; mix-blend-mode: soft-light; }
html.motion .how__frame::after { animation: howsweep 8s ease-in-out infinite alternate; }
@keyframes howsweep { from { background-position: 100% 0; } to { background-position: 0% 0; } }
.how__dim { position: absolute; overflow: visible; fill: none; stroke: var(--red-deep); stroke-width: 2; }
.how__dim path { vector-effect: non-scaling-stroke; }
.how__dim--w { left: 0; top: 12px; height: 16px; width: calc(100% - 48px); transform-origin: 0 50%; }
.how__dim--h { right: 12px; top: 40px; width: 16px; height: calc(100% - 40px); transform-origin: 50% 0; }
.how__lbl { position: absolute; font-weight: 800; font-stretch: 75%; font-size: 1rem; letter-spacing: .04em; color: var(--red-deep); background: #fff; padding: 0 10px; line-height: 1.2; }
.how__lbl--w { top: 10px; left: calc(50% - 24px); transform: translateX(-50%); }
.how__lbl--h { right: 20px; top: calc(40px + (100% - 40px) / 2); transform: translate(50%, -50%) rotate(90deg); }
.how__scan { position: absolute; width: 9px; height: 9px; background: var(--red-deep); border-radius: 50%; box-shadow: 0 0 0 4px rgba(184, 48, 58, .16); pointer-events: none; }
.how__scan--w { top: 16px; left: 0; }
.how__scan--h { right: 16px; top: 40px; }
html.motion .how__scan--w { animation: scanw 5.5s ease-in-out infinite alternate; }
html.motion .how__scan--h { animation: scanh 5.5s ease-in-out infinite alternate; animation-delay: -2.7s; }
html:not(.motion) .how__scan { display: none; }
@keyframes scanw { from { left: 0; } to { left: calc(100% - 57px); } }
@keyframes scanh { from { top: 40px; } to { top: calc(100% - 9px); } }
.how__eg { margin: 6px 0 4px; padding: 18px 20px 16px; background: var(--sky); border-radius: var(--corner); }
html.no-js .how__eg { display: none; }
html.no-js .fd__more { min-height: 0; }
.how__egq { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 0 0 12px; }
.how__egchip { display: inline-flex; align-items: center; min-height: 36px; padding: 0 16px; border-radius: var(--pill); background: var(--night); color: #fff; font-weight: 700; font-size: .95rem; }
.how__egto { font-size: .95rem; color: var(--ink-2); }
.how__bars { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; min-height: 130px; align-content: start; }
.how__bars li { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-weight: 700; font-size: .95rem; }
.how__bars i { display: flex; gap: 3px; flex: none; }
.how__bars b { display: block; width: 30px; height: 9px; background: rgba(28, 26, 25, .12); }
.how__bars b.on { background: var(--red-deep); }
@media (max-width: 600px) { .how__bars b { width: 20px; } }
.how__cap { margin-top: 16px; display: flex; gap: 12px; align-items: center; font-size: .98rem; color: var(--ink-2); min-height: 48px; }
.how__cap::before { content: ''; flex: none; width: 34px; height: 12px; background: repeating-linear-gradient(90deg, var(--oak-dark) 0 1.5px, transparent 1.5px 6px); }
@media (max-width: 900px) {
  .how__grid { grid-template-columns: 1fr; }
  .how__box { padding: 34px 38px 0 0; }
  .how__dim--w { width: calc(100% - 38px); }
  .how__lbl--w { left: calc(50% - 19px); }
}

/* ---------- the range ---------- */
.fr__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(26px, 2.6vw, 40px) clamp(18px, 1.8vw, 28px); }
.frc__link { display: flex; flex-direction: column; height: 100%; text-decoration: none; transform-style: preserve-3d; perspective: 900px; }
.frc__img { display: block; aspect-ratio: 16 / 10; flex: none; max-height: min(40vh, 340px); }
.frc__img img { position: absolute; inset: 0; transition: transform 1s var(--ease); }
html.motion .frc__img img { animation: frbreathe 10s ease-in-out infinite alternate; }
html.motion .frc:nth-child(3n+2) .frc__img img { animation-delay: -3.3s; }
html.motion .frc:nth-child(3n) .frc__img img { animation-delay: -6.6s; }
@keyframes frbreathe { from { scale: 1; } to { scale: 1.07; } }
.frc__link:hover .frc__img img { transform: scale(1.05); }
.frc__badge { position: absolute; left: 14px; top: 14px; z-index: 2; display: inline-flex; align-items: center; min-height: 32px; padding: 0 14px; border-radius: var(--pill); background: var(--red-deep); color: #fff; font-size: .875rem; font-weight: 700; box-shadow: 0 6px 18px rgba(0, 0, 0, .25); }
.frc__badge[hidden] { display: none; }
.frc__badge.is-alt { background: #fff; color: var(--ink); }
.frc__img::after { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(0deg, rgba(14, 22, 29, .78) 0%, rgba(14, 22, 29, .2) 38%, rgba(14, 22, 29, 0) 60%); }
.frc__name { position: absolute; z-index: 2; left: 20px; right: 76px; bottom: 14px; color: #fff; font-weight: 800; font-stretch: 75%; font-size: clamp(1.5rem, 1.9vw, 1.9rem); line-height: 1.05; text-shadow: 0 2px 14px rgba(0, 0, 0, .35); }
.frc__txt { display: grid; gap: 6px; padding: 14px 2px 0; }
.frc__line { color: var(--ink); font-size: 1.02rem; line-height: 1.45; font-weight: 500; }
.frc__good { display: block; font-size: .95rem; line-height: 1.45; color: var(--ink-2); padding-top: 10px; border-top: 1px solid var(--line); }
.frc__go { position: absolute; z-index: 2; right: 16px; bottom: 12px; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .7); display: grid; place-items: center; color: #fff; transition: background-color .3s, border-color .3s, color .3s, transform .4s var(--ease); }
.frc__go svg { width: 16px; height: 12px; fill: none; stroke: currentColor; stroke-width: 2; }
.frc__link:hover .frc__go { background: var(--red-deep); border-color: var(--red-deep); color: #fff; transform: rotate(-45deg); }
@media (max-width: 1000px) { .fr__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .fr__grid { grid-template-columns: 1fr; } .frc__img { max-height: none; } }

@media (prefers-reduced-motion: reduce) {
  .chip span::before { transition: none; }
}
