/* OBSIDIAN · ceramic coating page only (site/css/ceramic-coating.css, owned by the ceramic page).
   Hero film · the rain test (canvas, split line) · the layers (3D model + drawing, pinned labels) · straight talk ·
   how it goes on (sticky picture) · care · questions. Everything else comes from site.css. */

/* copy that differs for a mouse and a finger */
@media (hover: none) { .cer-fine { display: none; } }
@media (hover: hover) { .cer-touch { display: none; } }

/* ---------- hero: the clip, with the bead sitting right of the words ---------- */
.cer-hero { min-height: max(700px, 100svh); }
.cer-hero .phero-media { background: #030405; }
.cer-hero .phero-media video, .cer-hero .phero-media img { position: absolute; top: -9%; left: 0; width: 170%; max-width: none; height: 116%; object-fit: cover; object-position: 50% 50%; }
.cer-hero::before {
  background:
    radial-gradient(60% 70% at 8% 88%, rgba(4, 5, 6, 0.9), transparent 70%),
    linear-gradient(90deg, rgba(4, 5, 6, 0.72), rgba(4, 5, 6, 0.1) 46%, transparent 70%),
    linear-gradient(180deg, rgba(4, 5, 6, 0.66) 0%, rgba(4, 5, 6, 0) 26%, rgba(4, 5, 6, 0) 64%, var(--bg) 100%);
}
.cer-hero .mega { font-size: clamp(40px, 8vw, 128px); text-shadow: none; } /* a big shadow gets cut square by the line masks over the bright paint */
.cer-hero .lead { max-width: 30em; }
.cer-drop { flex: none; width: 13px; height: 13px; border-radius: 50% 0 50% 50%; transform: rotate(-45deg); background: radial-gradient(circle at 60% 40%, #fff, var(--ice) 55%, #2a8fa8); box-shadow: 0 0 12px rgba(139, 233, 255, 0.7); }
@media (hover: hover) { .btn:hover .cer-drop { animation: cer-drip 0.9s var(--ease) infinite; } }
@keyframes cer-drip { 0% { transform: rotate(-45deg) translate(0, 0); } 50% { transform: rotate(-45deg) translate(-2px, 2px); } 100% { transform: rotate(-45deg) translate(0, 0); } }
/* the short list on the right: what it does, and the one thing it doesn't */
.cer-hero-pills { position: absolute; z-index: 1; right: var(--pad); bottom: calc(clamp(64px, 8vw, 124px) + 14px); display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; max-width: 42%; list-style: none; }
.cer-hero-pills .pill { color: var(--ink); background: rgba(8, 10, 12, 0.5); }
.cer-hero-pills .pill b { font-weight: 500; }
.cer-pill-no i { background: transparent; box-shadow: inset 0 0 0 1.5px var(--mute) !important; animation: none; }
.cer-pill-no b { color: var(--dim); }

/* ---------- 01 · the rain test ---------- */
.cer-rainsec .head { margin-bottom: clamp(36px, 4.4vw, 64px); }
.cer-rain {
  --split: 50%; position: relative; isolation: isolate; overflow: hidden; max-width: 1480px; margin: 0 auto; aspect-ratio: 16 / 7.4; border-radius: var(--r-lg);
  background: #050607; box-shadow: inset 0 0 0 1px var(--line), 0 50px 120px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(0, 0, 0, 0.6);
}
.cer-rain-canvas { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: pan-y; -webkit-user-select: none; user-select: none; -webkit-tap-highlight-color: transparent; }
@media (hover: hover) and (pointer: fine) { .cer-rain.is-live .cer-rain-canvas { cursor: none; } }
/* no canvas (or no script): a photo of beads on black paint */
.cer-rain-still { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.9; }
.cer-rain.is-live .cer-rain-still { display: none; }
.cer-rain:not(.is-live) .cer-rain-line, .cer-rain:not(.is-live) .cer-rain-handle, .cer-rain:not(.is-live) .cer-rain-tag { display: none; }
/* a soft glass edge, like the frames */
.cer-rain::after { content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none; border-radius: inherit; background: linear-gradient(165deg, rgba(255, 255, 255, 0.07), transparent 22%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), inset 0 0 0 1px rgba(255, 255, 255, 0.06); }
.cer-rain-tag { position: absolute; z-index: 4; top: 16px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 13px; border-radius: 999px; font: 500 12px/1 var(--mono); letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink);
  background: rgba(4, 5, 6, 0.6); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); pointer-events: none; transition: opacity 0.4s; }
.cer-rain-tag.bare { left: 16px; }
.cer-rain-tag.coat { right: 16px; color: var(--ice-hi); box-shadow: inset 0 0 0 1px rgba(139, 233, 255, 0.4), 0 0 24px rgba(139, 233, 255, 0.12); }
.cer-rain-tag.coat i { width: 7px; height: 7px; border-radius: 50%; background: var(--ice); box-shadow: 0 0 10px var(--ice); }
/* a tag fades when the line has taken its whole side away */
.cer-rain[style*="--split: 0.00%"] .cer-rain-tag.bare, .cer-rain[style*="--split: 100.00%"] .cer-rain-tag.coat { opacity: 0; }
.cer-rain-line { position: absolute; z-index: 2; top: 0; bottom: 0; left: var(--split); width: 2px; margin-left: -1px; background: #fff; pointer-events: none;
  box-shadow: 0 0 8px 1px rgba(255, 255, 255, 0.9), 0 0 34px 6px rgba(139, 233, 255, 0.5); }
.cer-rain-handle { position: absolute; z-index: 5; top: 50%; left: var(--split); width: 58px; height: 58px; margin: -29px 0 0 -29px; padding: 0; border: 0; border-radius: 50%; cursor: ew-resize; touch-action: none;
  background: rgba(4, 5, 6, 0.55) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 7l-5 5 5 5M15 7l5 5-5 5' fill='none' stroke='%23fff' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 24px no-repeat;
  box-shadow: inset 0 0 0 1.5px #fff, 0 0 26px rgba(139, 233, 255, 0.55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: box-shadow 0.3s, background-color 0.3s; }
.cer-rain-handle:hover, .cer-rain.is-dragging .cer-rain-handle { background-color: rgba(139, 233, 255, 0.22); box-shadow: inset 0 0 0 1.5px #fff, 0 0 0 6px rgba(139, 233, 255, 0.16), 0 0 34px rgba(139, 233, 255, 0.75); }
.cer-rain-handle:focus-visible { outline: 2px solid var(--ice); outline-offset: 4px; border-radius: 50%; }
/* "Drag" floats above the handle once the coat has wiped in, until the line has been moved */
.cer-hint { position: absolute; left: 50%; bottom: calc(100% + 12px); padding: 7px 12px; border-radius: 999px; font: 600 11px/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ice-ink); background: var(--ice);
  box-shadow: 0 0 22px rgba(139, 233, 255, 0.5); transform: translate(-50%, 6px); opacity: 0; transition: opacity 0.4s, transform 0.5s var(--ease); pointer-events: none; white-space: nowrap; }
.cer-rain.is-hinting:not(.is-moved) .cer-hint { opacity: 1; transform: translate(-50%, 0); }
html.motion .cer-rain.is-hinting:not(.is-moved) .cer-rain-handle { animation: cer-nudge 2.4s var(--ease-io) 0.6s infinite; }
@keyframes cer-nudge { 0%, 60%, 100% { translate: 0 0; } 70% { translate: -10px 0; } 82% { translate: 8px 0; } 92% { translate: -3px 0; } }
html.no-motion .cer-hint { display: none; }
/* under the panel: what each side does, and the controls */
.cer-rain-bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 18px 28px; max-width: 1480px; margin: 22px auto 0; }
.cer-rain-says { font-size: 16px; line-height: 1.45; color: var(--dim); max-width: 22em; }
.cer-rain-says b { color: var(--ink); font-weight: 650; }
.cer-rain-says.coat { justify-self: end; text-align: right; }
.cer-rain-says.coat b { color: var(--ice); }
.cer-rain-ctl { display: flex; gap: 8px; }
.cer-rain-btn i { width: 8px; height: 8px; border-radius: 50%; background: var(--mute); transition: background 0.3s, box-shadow 0.3s; }
.cer-rain-btn[aria-pressed="true"] i { background: var(--ice-ink); box-shadow: 0 0 0 0 rgba(3, 22, 27, 0.4); animation: pulse-ink 1.8s ease-in-out infinite; }
@keyframes pulse-ink { 0%, 100% { box-shadow: 0 0 0 0 rgba(3, 22, 27, 0.45); } 60% { box-shadow: 0 0 0 6px rgba(3, 22, 27, 0); } }
html.no-motion .cer-rain-btn i { background: var(--ice); }

/* ---------- 02 · the layers ---------- */
.cer-layers { overflow: hidden; background: radial-gradient(56% 50% at 66% 56%, rgba(139, 233, 255, 0.07), transparent 70%), radial-gradient(70% 40% at 50% 0%, rgba(206, 236, 255, 0.05), transparent 70%), var(--bg); }
.cer-layers-in { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.26fr); gap: clamp(28px, 4vw, 72px); align-items: center; }
.cer-layers-copy { display: grid; gap: 24px; justify-items: start; }
.cer-layers .display { font-size: clamp(30px, 3.7vw, 56px); }
.cer-layers-how { font: 500 13px/1.4 var(--mono); letter-spacing: 0.03em; color: var(--mute); }
.cer-stage { position: relative; width: 100%; aspect-ratio: 1.16; max-height: min(calc(100vh - 170px), 760px); justify-self: center; }
/* big screens: the section is pinned while the layers come apart, so it fits one screen */
@media (min-width: 901px) { .cer-layers { min-height: 100vh; display: grid; align-items: center; padding-block: 72px; } }
.cer-art { position: absolute; inset: 0; }
.cer-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.cer-art:not(.is-3d) .cer-canvas { visibility: hidden; }
.cer-art.is-3d .cer-svg { display: none; }
.cer-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.cer-svg .lyr { transition: opacity 0.4s; }
.cer-stage.focusing .cer-svg .lyr:not(.hot) { opacity: 0.32; }
/* the labels, pinned to the corner of each layer (the script moves them) */
.cer-tags { position: absolute; inset: 0; list-style: none; pointer-events: none; }
.cer-tags li { position: absolute; left: 0; top: 0; display: grid; gap: 4px; width: max-content; max-width: 280px; margin-top: -10px; padding: 0 6px 0 40px; pointer-events: auto; cursor: default;
  opacity: 0; transition: opacity 0.5s, filter 0.4s; will-change: transform; -webkit-tap-highlight-color: transparent; }
.cer-tags li::before { content: ""; position: absolute; left: 4px; top: 10px; width: 28px; height: 1px; background: linear-gradient(90deg, rgba(139, 233, 255, 0.9), rgba(139, 233, 255, 0.25)); transform-origin: 0 50%; transform: scaleX(0); transition: transform 0.6s var(--ease); }
.cer-tags li::after { content: ""; position: absolute; left: -3.5px; top: 6.5px; width: 8px; height: 8px; border-radius: 50%; background: var(--ice); box-shadow: 0 0 0 3px rgba(139, 233, 255, 0.16), 0 0 12px var(--ice); }
.cer-tags li.on { opacity: 1; }
.cer-tags li.on::before { transform: none; }
/* each label is a button, so a keyboard can light its layer too (Tab to it; Enter keeps it lit) */
.cer-tag-b { position: relative; display: flex; align-items: baseline; gap: 9px; margin: 0; padding: 0; border: 0; background: none; color: var(--ink); text-align: left; cursor: pointer; font: 800 15px/1.15 var(--display); font-stretch: 118%; text-transform: uppercase; letter-spacing: 0.01em; white-space: nowrap; }
.cer-tag-b::after { content: ""; position: absolute; inset: -12px -10px; }
.cer-tag-b:focus-visible { outline: 2px solid var(--ice); outline-offset: 5px; border-radius: 6px; }
.cer-tags li:focus-within { opacity: 1; }
.cer-tag-b small { font: 500 11.5px/1 var(--mono); letter-spacing: 0.04em; color: var(--ice); }
.cer-tags .ds { font-size: 14px; line-height: 1.35; color: var(--dim); max-width: 21em; opacity: 0; transform: translateY(-4px); transition: opacity 0.45s, transform 0.5s var(--ease), color 0.3s; }
.cer-stage.spread .cer-tags .ds, html.no-motion .cer-tags .ds { opacity: 1; transform: none; }
.cer-tags li[data-l="4"] .cer-tag-b { color: var(--ice-hi); text-shadow: 0 0 18px rgba(139, 233, 255, 0.4); }
.cer-stage.focusing .cer-tags li.on:not(.hot) { opacity: 0.35; }
.cer-tags li.hot .ds { color: var(--ink); }
/* phones: the names live in a legend under the picture */
.cer-legend { display: none; }
html.no-motion .cer-tags li { opacity: 1; }
html.no-motion .cer-tags li::before { transform: none; }

/* ---------- 03 · straight talk ---------- */
.cer-truth-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 1.8vw, 26px); }
.cer-truth-card { position: relative; display: grid; grid-template-rows: auto 1fr; overflow: hidden; border-radius: var(--r-lg); background: #0f1216;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), inset 0 0 0 1px var(--line), 0 30px 70px rgba(0, 0, 0, 0.45); }
.cer-truth-card.yes { box-shadow: inset 0 1px 0 rgba(214, 249, 255, 0.35), inset 0 0 0 1px rgba(139, 233, 255, 0.2), 0 30px 70px rgba(0, 0, 0, 0.45), 0 0 80px rgba(139, 233, 255, 0.05); }
.cer-truth-media { position: relative; overflow: hidden; aspect-ratio: 16 / 9; background: var(--char); }
.cer-truth-media img { width: 100%; height: 100%; object-fit: cover; }
.cer-truth-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, #0f1216 0%, rgba(15, 18, 22, 0) 45%); pointer-events: none; }
.cer-truth-card.no .cer-truth-media img { filter: saturate(0.7) brightness(0.86); }
.cer-truth-body { display: grid; gap: 20px; align-content: start; padding: clamp(24px, 2.8vw, 44px); padding-top: 6px; }
.cer-truth-body .tag { color: var(--ice); }
.cer-truth-card.no .tag { color: var(--dim); }
.cer-truth-body h3 { font-size: clamp(26px, 2.6vw, 42px); font-weight: 900; font-stretch: 125%; line-height: 0.98; }
.cer-truth-card.no h3 em { -webkit-text-stroke-color: rgba(243, 245, 247, 0.55); text-shadow: none; }
.cer-truth-body .checks, .cer-nos { gap: 14px; font-size: 17px; color: var(--dim); }
.cer-truth-body li b { color: var(--ink); font-weight: 650; }
.cer-nos { list-style: none; display: grid; }
.cer-nos li { position: relative; padding-left: 36px; line-height: 1.45; }
.cer-nos li::before { content: ""; position: absolute; left: 0; top: 0.1em; width: 22px; height: 22px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px rgba(243, 245, 247, 0.4);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M8 8l6 6M14 8l-6 6' fill='none' stroke='%23f3f5f7' stroke-opacity='.7' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% no-repeat; }

/* ---------- 04 · how it goes on: four cards, each lighting a layer ---------- */
.cer-how-row { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 1.5vw, 24px); }
.cer-how-card { position: relative; display: grid; grid-template-rows: auto auto 1fr; overflow: hidden; border-radius: var(--r-lg); background: #0e1115;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), inset 0 0 0 1px var(--line), 0 30px 70px rgba(0, 0, 0, 0.45); transition: box-shadow 0.6s; }
/* its LED: the top edge lights with the step */
.cer-how-card::before { content: ""; position: absolute; z-index: 2; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, #fff, var(--ice) 40%, rgba(139, 233, 255, 0.2));
  box-shadow: 0 0 12px var(--ice), 0 0 30px rgba(139, 233, 255, 0.45); transform: scaleX(0); transform-origin: 0 50%; transition: transform 0.9s var(--ease); }
.cer-how-card.on::before { transform: none; }
.cer-how-card.on { box-shadow: inset 0 1px 0 rgba(214, 249, 255, 0.25), inset 0 0 0 1px rgba(139, 233, 255, 0.18), 0 30px 70px rgba(0, 0, 0, 0.45), 0 0 60px rgba(139, 233, 255, 0.05); }
.cer-how-media { position: relative; overflow: hidden; aspect-ratio: 4 / 3; background: var(--char); }
.cer-how-media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.85) brightness(0.8); transform: scale(1.04); transition: filter 0.9s, transform 1.4s var(--ease); }
.cer-how-card.on .cer-how-media img { filter: none; transform: none; }
.cer-how-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, #0e1115 0%, rgba(14, 17, 21, 0) 46%); pointer-events: none; }
/* the slice of the layers, with the one this step works on */
.cer-how-slice { position: relative; display: grid; grid-template-columns: clamp(104px, 38%, 150px) minmax(0, 1fr); align-items: center; gap: 4px 12px; margin: -34px 14px 0; padding: 8px 14px 8px 8px; border-radius: 16px;
  background: rgba(10, 12, 15, 0.72); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), inset 0 0 0 1px var(--line); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.cer-sl { display: block; width: 100%; height: auto; overflow: visible; }
.cer-sl .sl-edge { stroke: rgba(255, 255, 255, 0.34); stroke-width: 1; transition: stroke 0.6s; }
.cer-sl .sl-coat .sl-edge { stroke: rgba(139, 233, 255, 0.5); }
.cer-sl .sl-glow { stroke: var(--ice); stroke-width: 5; stroke-linejoin: round; opacity: 0; transition: opacity 0.6s; }
.cer-sl .sl-dirt, .cer-sl .sl-beads, .cer-sl .sl-shine { transition: opacity 0.7s, transform 0.9s var(--ease); }
.cer-how-card:not(.on) .sl-dirt { transform: translateY(5px); opacity: 0.55; }
.cer-how-card:not(.on) .sl-beads { opacity: 0; }
.cer-how-card:not(.on) .sl-shine { opacity: 0.2; }
.cer-how-card.on .sl-hot .sl-edge { stroke: var(--ice-hi); stroke-width: 1.3; }
.cer-how-card.on .sl-hot .sl-glow { opacity: 0.3; }
.cer-how-lyr { display: grid; gap: 3px; align-content: center; min-width: 0; }
.cer-how-lyr small { font: 500 10.5px/1.2 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--mute); }
.cer-how-lyr b { font: 800 13.5px/1.15 var(--display); font-stretch: 112%; white-space: nowrap; text-transform: uppercase; color: var(--dim); transition: color 0.5s, text-shadow 0.5s; }
.cer-how-card.on .cer-how-lyr b { color: var(--ink); }
.cer-how-card.on .cer-how-lyr b.coat { color: var(--ice-hi); text-shadow: 0 0 16px rgba(139, 233, 255, 0.4); }
.cer-how-lyr span { font-size: 13.5px; line-height: 1.35; color: var(--dim); }
.cer-how-body { display: grid; gap: 10px; align-content: start; padding: clamp(18px, 1.6vw, 24px) clamp(18px, 1.6vw, 24px) clamp(22px, 2vw, 30px); }
.cer-how-body .step-n { transition: color 0.5s; }
.cer-how-card.on .step-n { color: var(--ice); }
.cer-how-body h3 { font-size: clamp(20px, 1.55vw, 26px); }
.cer-how-body p { font-size: 16px; line-height: 1.5; color: var(--dim); }
html.no-motion .cer-how-card::before { transform: none; }

/* ---------- 05 · care ---------- */
@media (min-width: 901px) { .cer-care-in { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); } }
.cer-care-head { position: sticky; top: calc(var(--hdr-h) + 30px); gap: 24px; }
.cer-care .lead a { white-space: nowrap; }
.cer-care .display { font-size: clamp(32px, 4vw, 60px); }

/* ---------- 06 · questions ---------- */
@media (min-width: 901px) { .cer-faq-in { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); } }
.cer-faq-side { position: sticky; top: calc(var(--hdr-h) + 30px); gap: 24px; }
.cer-slot { width: 100%; min-height: 0; margin-top: 18px; padding: 30px 26px; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .cer-how-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cer-hero-pills { display: none; }
  .cer-tags .ds { display: none; }
  .cer-tags li { margin-top: -9px; }
}
@media (max-width: 900px) {
  .cer-rain { aspect-ratio: 4 / 3.4; }
  .cer-rain-bar { grid-template-columns: 1fr 1fr; }
  .cer-rain-ctl { grid-column: 1 / -1; grid-row: 1; justify-content: center; }
  .cer-rain-says.coat { justify-self: start; text-align: left; }
  .cer-layers-in { grid-template-columns: minmax(0, 1fr); }
  .cer-stage { aspect-ratio: 1 / 0.92; max-height: none; }
  .cer-truth-grid { grid-template-columns: minmax(0, 1fr); }
  .cer-faq-side, .cer-care-head { position: static; }
}
@media (max-width: 900px) {
  /* tablets and phones: the clip sits in the top of the hero, the words under it */
  .cer-hero { min-height: max(720px, 100svh); padding-top: 0; }
  /* the clip fades out at its own bottom edge, so it never shows a seam as it drifts */
  .cer-hero .phero-media video, .cer-hero .phero-media img { top: 0; width: 100%; height: 50%; object-position: 50% 50%;
    -webkit-mask-image: linear-gradient(180deg, #000 58%, transparent 97%); mask-image: linear-gradient(180deg, #000 58%, transparent 97%); }
  .cer-hero::before { background: linear-gradient(180deg, rgba(4, 5, 6, 0.55) 0%, rgba(4, 5, 6, 0) 22%); }
}
@media (max-width: 720px) {
  .cer-hero .wrap { gap: 22px; }
  .cer-hero .mega { font-size: 12.6vw; }
  .cer-rain { aspect-ratio: 4 / 5; margin-inline: calc(var(--pad) * -1); border-radius: 0; }
  .cer-rain-tag { top: 12px; padding: 7px 11px; font-size: 11px; }
  .cer-rain-tag.bare { left: 12px; }
  .cer-rain-tag.coat { right: 12px; }
  .cer-rain-says { font-size: 15px; }
  .cer-rain-bar { gap: 14px 16px; margin-top: 18px; }
  .cer-rain-ctl .chip { flex: 1; justify-content: center; }
  .cer-rain-ctl { width: 100%; }
  .cer-stage { justify-self: stretch; margin-inline: calc(var(--pad) * -1); width: auto; aspect-ratio: 1 / 1.02; }
  .cer-tags .nm { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; } /* names sit in the legend; the button keeps its name */
  .cer-tag-b small { font-size: 12px; font-weight: 600; }
  .cer-tags li { padding-left: 24px; }
  .cer-tags li::before { width: 14px; }
  .cer-legend { display: grid; gap: 2px; list-style: none; margin-top: 6px; }
  .cer-legend li { display: grid; grid-template-columns: 30px 1fr; align-items: baseline; gap: 2px 8px; padding: 11px 12px; border-radius: 14px; transition: background 0.3s, opacity 0.3s; -webkit-tap-highlight-color: transparent; }
  .cer-legend small { grid-row: 1 / span 2; font: 600 12px/1.4 var(--mono); color: var(--ice); }
  .cer-legend b { font: 800 15px/1.2 var(--display); font-stretch: 118%; text-transform: uppercase; }
  .cer-legend span { grid-column: 2; font-size: 15px; line-height: 1.4; color: var(--dim); }
  .cer-legend li[data-l="4"] b { color: var(--ice-hi); }
  .cer-legend li.hot { background: rgba(139, 233, 255, 0.08); box-shadow: inset 0 0 0 1px rgba(139, 233, 255, 0.3); }
  .cer-layers.focusing .cer-legend li:not(.hot) { opacity: 0.5; }
  .cer-truth-body .checks, .cer-nos { font-size: 16.5px; }
  /* the steps: a row to swipe through */
  .cer-how-row { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 84%; gap: 12px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--pad); margin-inline: calc(var(--pad) * -1); padding: 0 var(--pad) 8px; scrollbar-width: none; }
  .cer-how-row::-webkit-scrollbar { display: none; }
  .cer-how-card { scroll-snap-align: start; }
  .cer-how-body p { font-size: 16.5px; }
}
