/* ============================================================
   Block check - the shared check-your-block component.
   Used by: index.html (#check section), approvals.html, check.html.

   EXTRACTED 2026-08-12 from check-your-block.html's page-scoped styles
   (the texted/ad landing page, which keeps its own inline copy and is
   deliberately untouched). If the checker's design changes, change it
   HERE and mirror it into check-your-block.html's <style> - the LP is
   frozen chrome-wise but shares this component's look.

   Scoping contract: every rule sits under [data-lp="check"], and the
   embed host carries that attribute on the wrapping <section
   class="blockcheck-embed" data-lp="check">. Nothing here can leak
   into a host page, and styles.css never needs to know about ck-/blk-.

   One deliberate divergence from the LP: .ck-scene drops its
   aspect-ratio. Under align-items:stretch the browser transfers the
   stretched row height back into WIDTH, blowing the column out of its
   grid track - the same bug fixed on the homepage yield calculator
   2026-08-12. min-height covers short-content hosts instead.
   ============================================================ */

/* ---------- embed host: one section, direct child of main ---------- */
.blockcheck-embed { scroll-margin-top: 90px; }
/* the money tray reveals inside the same section - give it the breathing
   room the LP's own section--tight provided */
.blockcheck-embed .ck-earn { margin-top: clamp(48px, 7vw, 96px); }

/* ---------- hero grid: pitch left, tool right (design 1b) ---------- */
[data-lp="check"] .ck-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(380px, 0.98fr);
  grid-template-areas: "intro card" "pick card" "info card";
  grid-template-rows: auto auto 1fr;
  column-gap: clamp(36px, 4.5vw, 72px); row-gap: 0;
  align-items: start;
}
[data-lp="check"] .ck-intro { grid-area: intro; }
[data-lp="check"] .ck-modelpick { grid-area: pick; }
[data-lp="check"] .ck-card { grid-area: card; }
[data-lp="check"] .ck-modelinfo { grid-area: info; }
[data-lp="check"] .ck-h1 {
  font-size: clamp(2.55rem, 4.7vw, 4.6rem);
  font-weight: 300; line-height: 1.0; letter-spacing: -0.035em; max-width: 12ch;
}
[data-lp="check"] .ck-intro .lead { max-width: 38ch; }
[data-lp="check"] .ck-tel-line { margin: clamp(18px, 2vw, 24px) 0 0; font-size: clamp(1rem, 1.2vw, 1.1rem); color: var(--ink-soft); }
[data-lp="check"] .ck-tel-line a { color: var(--clay); font-weight: 500; display: inline-block; padding: 6px 0; border-bottom: 1px solid rgba(174,27,48,0.3); transition: border-color .25s var(--ease-out); }
[data-lp="check"] .ck-tel-line a:hover { border-bottom-color: var(--clay); }

/* ---------- model selector - the hero owns it (Carlo 2026-08-11) ---------- */
[data-lp="check"] .ck-models { display: flex; flex-wrap: wrap; gap: 9px; margin-top: clamp(24px, 3vw, 34px); padding-top: clamp(20px, 2.4vw, 28px); border-top: 1px solid var(--line); }
[data-lp="check"] .ck-model-pill {
  padding: 10px 18px; border-radius: var(--r-btn, 14px); cursor: pointer;
  font-family: inherit; font-size: 0.92rem; font-weight: 500; letter-spacing: -0.01em;
  background: #fff; border: 1px solid var(--line); color: var(--ink);
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .18s var(--ease-out);
}
[data-lp="check"] .ck-model-pill:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) {
  [data-lp="check"] .ck-model-pill:not(.is-on):hover { border-color: rgba(20,17,11,0.32); }
}
[data-lp="check"] .ck-model-pill.is-on { background: var(--clay); border-color: var(--clay); color: #fff; }
[data-lp="check"] .ck-models--earn { margin-top: 16px; padding-top: 0; border-top: none; }

/* ---------- the price anchor - a real target through to the model page ---------- */
[data-lp="check"] .ck-anchor {
  display: flex; align-items: center; gap: clamp(16px, 1.8vw, 24px);
  margin-top: clamp(16px, 2vw, 22px); max-width: 620px;
  padding: 12px 16px 12px 12px;
  background: var(--paper); color: var(--ink); text-decoration: none;
  border: 1px solid var(--line); border-radius: var(--r);
  transition: border-color 180ms cubic-bezier(0.23, 1, 0.32, 1),
              box-shadow   180ms cubic-bezier(0.23, 1, 0.32, 1),
              transform    140ms cubic-bezier(0.23, 1, 0.32, 1);
}
[data-lp="check"] .ck-anchor__imgwrap { position: relative; flex: none; }
[data-lp="check"] .ck-anchor img { width: clamp(104px, 11vw, 148px); height: auto; display: block; border-radius: 8px; background: var(--paper-2); }
[data-lp="check"] .ck-anchor__body { display: block; min-width: 0; }
[data-lp="check"] .ck-anchor__model { display: block; margin: 0; font-size: 0.875rem; font-weight: 500; letter-spacing: 0.13em; text-transform: uppercase; color: var(--ink-soft); }
[data-lp="check"] .ck-anchor__price { display: block; margin: 7px 0 0; font-size: clamp(1.14rem, 1.6vw, 1.42rem); font-weight: 300; letter-spacing: -0.022em; color: var(--ink); }
[data-lp="check"] .ck-anchor__price strong { font-weight: 500; }
[data-lp="check"] .ck-anchor__arrow {
  flex: none; width: 20px; height: 20px; margin-left: auto; color: rgba(20,17,11,0.5);
  transition: transform 180ms cubic-bezier(0.23, 1, 0.32, 1), color 180ms ease;
}
@media (hover: hover) and (pointer: fine) {
  [data-lp="check"] .ck-anchor:hover {
    border-color: rgba(20,17,11,0.30);
    box-shadow: 0 12px 26px -18px rgba(20,17,11,0.45);
  }
  [data-lp="check"] .ck-anchor:hover .ck-anchor__arrow { transform: translateX(4px); color: var(--clay); }
}
[data-lp="check"] .ck-anchor:active { transform: scale(0.994); }
[data-lp="check"] .ck-anchor:focus-visible { outline: 2px solid var(--clay); outline-offset: 3px; }
[data-lp="check"] .ck-samerules { margin: 12px 0 0; font-size: 0.92rem; line-height: 1.55; color: var(--ink-soft); max-width: 44ch; }
[data-lp="check"] .ck-sitenote { margin: 12px 0 0; font-size: 1rem; line-height: 1.55; color: var(--ink-soft); max-width: 48ch; }
/* Swap = state change, not an entrance: quick fade, transform-free. */
[data-lp="check"] .ck-swap { animation: ck-swap-in 220ms ease-out; }
@keyframes ck-swap-in { from { opacity: 0; } to { opacity: 1; } }

/* ---------- the checker card (right column on desktop) ---------- */
[data-lp="check"] .ck-card {
  background: #fff; border: 1px solid var(--line); border-radius: 20px;
  padding: clamp(24px, 2.6vw, 34px);
  box-shadow: 0 1px 3px rgba(20,17,11,0.10), 0 30px 70px -40px rgba(20,17,11,0.30);
}
/* THE SMALL GREY LINES ARE GONE (2026-09-03, Carlo: "these small text on the
   desktop - just get rid of them or put them in proper text"). Every note in
   this file - sitenote, freeline, basis, studio-note, fine - was 0.80-0.84rem
   at 62% ink. All are now 1rem at --ink-soft. The words are unchanged; several
   carry ACL substantiation, so the fix is legibility, never deletion.
   Do not shrink these back. If a line feels long, cut words, not points. */

/* Every control in this file took --r-btn on 2026-09-03 when the square-button
   system went site-wide. The bars and dots below keep 999px on purpose - a
   progress track and a pulse dot are geometry, not controls. */
[data-lp="check"] .blk-field { position: relative; z-index: 5; }
[data-lp="check"] .blk-input-wrap { position: relative; }
/* attention beacon: a slow clay ping radiating off the input until the
   visitor engages (focus or first keystroke kills it for good) */
[data-lp="check"] .blk-input-wrap::after {
  /* Follows the FIELD's shape (Carlo, 2026-09-03: "it has an animation where
     it fires off some red effect - that one's still stuck on the kind of round
     shape, fix it so it follows the shape of the thing now"). It was 999px
     from when the field was a pill; the field is a --r-btn rounded rectangle
     now, so a capsule-shaped ping radiating off a rectangular box left a
     visible mismatch at the four corners on every pulse. Falls back to 14px
     for anything that loads this file without the token. */
  content: ""; position: absolute; inset: 0; border-radius: var(--r-btn, 14px);
  pointer-events: none; animation: ck-ping 2.8s cubic-bezier(.22,1,.36,1) 1.2s infinite;
}
@keyframes ck-ping {
  0% { box-shadow: 0 0 0 0 rgba(174,27,48,0.30); }
  55% { box-shadow: 0 0 0 13px rgba(174,27,48,0); }
  100% { box-shadow: 0 0 0 0 rgba(174,27,48,0); }
}
[data-lp="check"] .blk-input-wrap:focus-within::after,
[data-lp="check"] .blk-input-wrap.ck-touched::after { animation: none; box-shadow: none; }
[data-lp="check"] .blk-search-ico { position: absolute; left: 22px; top: 50%; transform: translateY(-50%); width: 21px; height: 21px; color: rgba(20,17,11,0.45); pointer-events: none; transition: color .2s ease, transform .2s var(--ease-out); }
[data-lp="check"] .blk-input-wrap:focus-within .blk-search-ico { color: var(--clay); transform: translateY(-50%) scale(1.1); }
[data-lp="check"] .blk-input {
  width: 100%; height: clamp(58px, 6vw, 64px); border-radius: var(--r-btn, 14px);
  border: 1px solid var(--line); background: var(--paper-2);
  padding: 0 24px 0 56px; font-family: inherit;
  font-size: clamp(1.02rem, 1.3vw, 1.12rem); color: var(--ink); outline: none;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
[data-lp="check"] .blk-input::placeholder { color: rgba(20,17,11,0.45); }
[data-lp="check"] .blk-input:focus { border-color: var(--clay); background: #fff; box-shadow: 0 0 0 4px rgba(174,27,48,0.10); }
[data-lp="check"] .blk-drop { position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 40; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 20px 50px -20px rgba(20,17,11,.35); overflow: hidden; }
[data-lp="check"] .blk-drop[hidden] { display: none; }
[data-lp="check"] .blk-opt { display: block; width: 100%; text-align: left; padding: 15px 20px; border: none; border-top: 1px solid var(--line); background: none; font-family: inherit; font-size: 1rem; line-height: 1.4; color: var(--ink-soft); cursor: pointer; }
[data-lp="check"] .blk-opt:first-child { border-top: none; }
[data-lp="check"] .blk-opt:hover, [data-lp="check"] .blk-opt.blk-opt--active { background: rgba(174,27,48,.06); color: var(--ink); }
[data-lp="check"] .blk-opt--suburb { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
[data-lp="check"] .blk-opt-tag { flex: none; font-size: 0.875rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--clay); }
[data-lp="check"] .blk-hint { margin: 14px 2px 0; font-size: 0.92rem; line-height: 1.5; color: var(--ink-soft); }
[data-lp="check"] .blk-freeline { margin: 14px 2px 0; font-size: 1rem; line-height: 1.5; color: var(--ink-soft); }
/* Visible search action (v2 2026-08-11): non-technical visitors type the
   whole address and look for a button - the dropdown alone wasn't enough. */
[data-lp="check"] .blk-search-btn { margin-top: 12px; width: 100%; justify-content: center; }
[data-lp="check"] .blk-manual-toggle { background: none; border: none; padding: 6px 0; margin-top: 8px; font-family: inherit; font-size: 0.95rem; color: var(--clay); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
[data-lp="check"] .blk-manual { margin-top: 14px; padding: 20px 22px; border: 1px solid var(--line); border-radius: 16px; background: var(--paper-2); }
[data-lp="check"] .blk-manual[hidden] { display: none; }
[data-lp="check"] .blk-manual-label { display: block; font-size: 0.92rem; color: var(--ink-soft); margin-bottom: 10px; }
[data-lp="check"] .blk-manual-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
[data-lp="check"] .blk-num { height: 50px; width: 190px; max-width: 100%; border-radius: var(--r-btn, 14px); border: 1px solid var(--line); background: #fff; padding: 0 20px; font-family: inherit; font-size: 1.02rem; color: var(--ink); outline: none; transition: border-color .2s ease, box-shadow .2s ease; }
[data-lp="check"] .blk-num:focus { border-color: var(--clay); box-shadow: 0 0 0 4px rgba(174,27,48,0.10); }

/* loading - the staged read of the records (design state 02) */
@keyframes blk-pulse { 0%,100% { opacity:.4; } 50% { opacity:1; } }
[data-lp="check"] .blk-loading { margin-top: 20px; padding: 20px 22px; border: 1px solid var(--line); border-radius: 16px; background: var(--paper-2); }
[data-lp="check"] .blk-loading[hidden] { display: none; }
[data-lp="check"] .blk-loading-top { display: flex; align-items: center; gap: 12px; font-size: 1rem; color: var(--ink-soft); }
[data-lp="check"] .blk-pulse-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--clay); animation: blk-pulse 1.2s ease-in-out infinite; flex: none; }
[data-lp="check"] .blk-load-lines { margin-top: 0; display: grid; gap: 9px; }
[data-lp="check"] .blk-load-lines:not(:empty) { margin-top: 14px; }
[data-lp="check"] .blk-load-line { display: flex; align-items: center; gap: 10px; font-size: 0.875rem; color: var(--ink-soft); animation: ck-rise .4s var(--ease-out) both; }
[data-lp="check"] .blk-load-line::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); flex: none; }
@keyframes ck-rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* verdict */
[data-lp="check"] .blk-result { margin-top: 20px; border: 1px solid var(--line); border-left-width: 4px; border-radius: 16px; padding: clamp(22px, 2.4vw, 28px) clamp(20px, 2.2vw, 24px); background: #fff; animation: ck-rise .55s var(--ease-out) both; }
[data-lp="check"] .blk-result[hidden] { display: none; }
[data-lp="check"] .blk-result--eligible { border-color: rgba(63,122,67,0.45); border-left-color: #3F7A43; background: rgba(63,122,67,0.05); }
[data-lp="check"] .blk-result--warn { border-color: rgba(184,146,79,0.5); border-left-color: var(--gold); background: rgba(184,146,79,0.06); }
[data-lp="check"] .blk-result--small { border-color: rgba(174,27,48,0.38); border-left-color: var(--clay); background: rgba(174,27,48,0.05); }
[data-lp="check"] .blk-result--neutral { border-color: var(--line); border-left-color: rgba(20,17,11,0.4); background: var(--paper-2); }
[data-lp="check"] .blk-result-top { display: flex; gap: 14px; align-items: flex-start; }
[data-lp="check"] .blk-result-ico { width: 26px; height: 26px; flex: none; margin-top: 2px; }
[data-lp="check"] .blk-result--eligible .blk-result-ico { color: #3F7A43; }
[data-lp="check"] .blk-result--warn .blk-result-ico { color: var(--gold); }
[data-lp="check"] .blk-result--small .blk-result-ico { color: var(--clay); }
[data-lp="check"] .blk-result--neutral .blk-result-ico { color: rgba(20,17,11,0.55); }
[data-lp="check"] .blk-result-h { font-size: clamp(1.4rem, 1.9vw, 1.62rem); font-weight: 300; letter-spacing: -0.02em; line-height: 1.12; }
[data-lp="check"] .blk-result--eligible .blk-result-h { color: #2f5c32; }
[data-lp="check"] .blk-result-body { margin: 13px 0 0; font-size: clamp(1rem, 1.2vw, 1.08rem); line-height: 1.6; color: var(--ink-soft); max-width: 56ch; }
[data-lp="check"] .blk-result-list { margin: 13px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
[data-lp="check"] .blk-result-list li { position: relative; padding-left: 20px; font-size: clamp(0.98rem, 1.15vw, 1.05rem); line-height: 1.55; color: var(--ink-soft); max-width: 58ch; }
[data-lp="check"] .blk-result-list li::before { content: ""; position: absolute; left: 2px; top: 0.62em; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
[data-lp="check"] .blk-meta { margin: 16px 0 0; font-family: ui-monospace,monospace; font-size: 0.875rem; letter-spacing: 0.01em; color: var(--ink-soft); }
[data-lp="check"] .blk-result-cta { margin-top: 20px; }
[data-lp="check"] .blk-disclaimer { margin: 15px 0 0; font-size: 0.875rem; line-height: 1.5; color: var(--ink-soft); max-width: 60ch; }

/* Below the split point the card chrome dissolves - the tool sits on the page
   (design 1a). The hero left column stacks above it. */
@media (max-width: 1019px) {
  [data-lp="check"] .ck-grid {
    grid-template-columns: 1fr;
    grid-template-areas: "intro" "pick" "card" "info";
    grid-template-rows: auto;
    row-gap: 0;
  }
  [data-lp="check"] .ck-card { background: none; border: none; border-radius: 0; padding: 0; box-shadow: none; margin-top: 22px; }
  [data-lp="check"] .ck-models { margin-top: 22px; padding-top: 0; border-top: none; }
  [data-lp="check"] .ck-modelinfo { margin-top: 28px; }
}
@media (max-width: 640px) {
  [data-lp="check"] .blk-manual-row { flex-direction: column; align-items: stretch; }
  [data-lp="check"] .blk-num { width: 100%; }
  [data-lp="check"] .blk-result-cta .btn { width: 100%; justify-content: center; }
  [data-lp="check"] .ck-anchor img { width: 92px; }
}

/* ---------- the money: the yield tray ----------
   CHANGED 2026-08-12 (Carlo): the tray is on the page from the start,
   carrying the typical NSW figures, so someone who can't be bothered
   checking their block still sees what a backyard earns. It keeps ONE
   entrance - it rises in on first scroll into view and the weekly figure
   counts up once; a suburb, model or verdict after that cross-fades.
   The .ck-anim gate is added by JS, so no-JS and reduced-motion visitors
   just see the panel (same idiom as .ck-stages on the LP). */
[data-lp="check"] .ck-earn[hidden] { display: none; }

/* ---------- the gate (index + approvals, 2026-08-22) ----------
   On those two pages the money sits behind a press. The button occupies the
   slot the tray will open into, so opening it pushes nothing around above the
   fold - the gate removes itself and the tray rises into the same place. It
   is shipped hidden and un-hidden by JS, so a no-JS visitor never meets a
   button that cannot do anything. */
[data-lp="check"] .ck-earn-gate[hidden] { display: none; }
[data-lp="check"] .ck-earn-gate {
  margin-top: clamp(48px, 7vw, 96px);
  display: flex; justify-content: center;
}
[data-lp="check"] .ck-earn-gate .wrap { display: flex; justify-content: center; }
[data-lp="check"] .ck-earn-gate__btn svg { width: 18px; height: 18px; }
@media (max-width: 640px) {
  [data-lp="check"] .ck-earn-gate__btn { width: 100%; justify-content: center; }
}
/* the verdict cue and pickSuburb both scroll here - clear the sticky header */
[data-lp="check"] .ck-earn { scroll-margin-top: 90px; }
[data-lp="check"] .ck-earn.ck-anim {
  opacity: 0; transform: translateY(18px);
  transition: opacity .5s var(--ease-out), transform .5s var(--ease-out);
}
[data-lp="check"] .ck-earn.ck-anim.in { opacity: 1; transform: none; }

/* ---------- the tray's own suburb field ----------
   The money answers a place, so the place is askable right here. Smaller
   than the checker's input and without its ping - one attention magnet per
   section, and this one is the second question, not the first. */
[data-lp="check"] .ck-subfield { position: relative; z-index: 6; margin-top: clamp(18px, 2.2vw, 26px); max-width: 430px; }
[data-lp="check"] .ck-sub-label { display: block; font-size: 0.875rem; font-weight: 500; letter-spacing: 0.13em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 10px; }
[data-lp="check"] .ck-sub-wrap { position: relative; }
[data-lp="check"] .ck-sub-ico { position: absolute; left: 19px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: rgba(20,17,11,0.45); pointer-events: none; transition: color .2s ease; }
[data-lp="check"] .ck-sub-wrap:focus-within .ck-sub-ico { color: var(--clay); }
[data-lp="check"] .ck-sub-input {
  width: 100%; height: 52px; border-radius: var(--r-btn, 14px);
  border: 1px solid var(--line); background: #fff;
  padding: 0 20px 0 48px; font-family: inherit;
  font-size: 1rem; color: var(--ink); outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
[data-lp="check"] .ck-sub-input::placeholder { color: rgba(20,17,11,0.45); }
[data-lp="check"] .ck-sub-input:focus { border-color: var(--clay); box-shadow: 0 0 0 4px rgba(174,27,48,0.10); }
[data-lp="check"] .ck-sub-drop { position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 40; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 18px 44px -22px rgba(20,17,11,0.45); overflow: hidden; }
[data-lp="check"] .ck-sub-drop[hidden] { display: none; }
[data-lp="check"] .ck-sub-opt { display: flex; justify-content: space-between; align-items: center; gap: 12px; width: 100%; text-align: left; padding: 13px 18px; border: none; border-top: 1px solid var(--line); background: none; font-family: inherit; font-size: 0.98rem; line-height: 1.4; color: var(--ink-soft); cursor: pointer; }
[data-lp="check"] .ck-sub-opt:first-child { border-top: none; }
[data-lp="check"] .ck-sub-opt:hover, [data-lp="check"] .ck-sub-opt--active { background: rgba(174,27,48,0.06); color: var(--ink); }
[data-lp="check"] .ck-sub-pc { flex: none; font-size: 0.875rem; color: rgba(20,17,11,0.5); font-variant-numeric: tabular-nums; }
[data-lp="check"] .ck-sub-note { margin: 12px 2px 0; font-size: 1rem; line-height: 1.5; color: var(--ink-soft); }
[data-lp="check"] .ck-basis { margin: 14px 0 0; font-size: 1rem; line-height: 1.55; color: var(--ink-soft); max-width: 54ch; }
[data-lp="check"] .ck-earn .wrap { max-width: none; padding-inline: clamp(12px, 1.8vw, 20px); }
[data-lp="check"] .ck-earn-panel {
  border-radius: 20px; background: var(--paper-2); border: 1px solid var(--line);
  padding: clamp(26px, 3.6vw, 56px); max-width: 1800px; margin-inline: auto;
  display: grid; grid-template-columns: minmax(0, 0.72fr) minmax(320px, 1.28fr);
  gap: clamp(28px, 3.6vw, 56px); align-items: stretch;
}
/* headline row: the close control sits beside the headline rather than over the
   render, so it is reachable the moment the tray opens (the panel is ~1000px
   tall - a control at the bottom would mean scrolling the whole thing to shut
   it). Shipped hidden; JS shows it only where there is a gate to close back to. */
[data-lp="check"] .ck-earn-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
[data-lp="check"] .ck-earn-close[hidden] { display: none; }
[data-lp="check"] .ck-earn-close {
  flex: none; display: inline-flex; align-items: center; gap: 6px;
  margin-top: 6px; padding: 7px 13px 7px 10px;
  border: 1px solid var(--line); border-radius: var(--r-btn, 14px); background: transparent;
  font: inherit; font-size: 0.875rem; font-weight: 500; color: var(--ink-soft);
  cursor: pointer; transition: color 160ms ease, border-color 160ms ease, background 160ms ease;
}
[data-lp="check"] .ck-earn-close svg { width: 14px; height: 14px; }
[data-lp="check"] .ck-earn-close:hover { color: var(--clay); border-color: rgba(174,27,48,0.35); background: rgba(174,27,48,0.05); }
[data-lp="check"] .ck-earn-close:focus-visible { outline: 2px solid var(--clay); outline-offset: 2px; }

[data-lp="check"] .ck-earn-h { margin: 0; font-size: clamp(1.9rem, 3vw, 2.9rem); font-weight: 300; line-height: 1.04; letter-spacing: -0.03em; }
[data-lp="check"] .ck-big-wrap { margin-top: clamp(18px, 2.2vw, 28px); }
[data-lp="check"] .ck-big {
  display: block; font-size: clamp(3.2rem, 6.5vw, 5.6rem); font-weight: 300;
  letter-spacing: -0.045em; line-height: 0.95; color: var(--clay);
  font-variant-numeric: tabular-nums;
}
[data-lp="check"] .ck-big-unit { display: block; margin-top: 12px; font-size: clamp(1.1rem, 1.5vw, 1.4rem); letter-spacing: -0.02em; color: var(--ink); }
[data-lp="check"] .ck-studio-note { display: none; margin: 12px 0 0; font-size: 1rem; line-height: 1.5; color: var(--ink-soft); max-width: 48ch; }
[data-lp="check"] .ck-studio-note.is-on { display: block; }
/* Stacked full-width stat cards (Carlo 2026-08-11) */
[data-lp="check"] .ck-stats { display: grid; grid-template-columns: 1fr; gap: 12px; margin-top: clamp(20px, 2.6vw, 30px); }
[data-lp="check"] .ck-stat { padding: clamp(18px, 2vw, 26px) clamp(18px, 2.2vw, 28px); border-radius: 16px; background: #fff; border: 1px solid var(--line); min-width: 0; }
[data-lp="check"] .ck-stat--yield { background: rgba(174,27,48,0.06); border-color: rgba(174,27,48,0.24); }
[data-lp="check"] .ck-stat__k { font-size: 0.875rem; font-weight: 500; letter-spacing: 0.13em; text-transform: uppercase; color: var(--ink-soft); }
[data-lp="check"] .ck-stat--yield .ck-stat__k { color: var(--clay); }
[data-lp="check"] .ck-stat__v { margin-top: 12px; font-size: clamp(1.9rem, 2.9vw, 3rem); font-weight: 300; letter-spacing: -0.03em; line-height: 1; white-space: nowrap; font-variant-numeric: tabular-nums; }
[data-lp="check"] .ck-stat--yield .ck-stat__v { color: var(--clay); font-size: clamp(2.1rem, 3.3vw, 3.4rem); }
[data-lp="check"] .ck-stat__s { margin-top: 8px; font-size: 0.875rem; line-height: 1.4; color: var(--ink-soft); }
[data-lp="check"] .is-updating { animation: ck-val-in 190ms cubic-bezier(.2,.7,.2,1); }
@keyframes ck-val-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }
/* the left column distributes: CTA sinks to the bottom of the tray */
[data-lp="check"] .ck-earn-left { display: flex; flex-direction: column; }
[data-lp="check"] .ck-earn-left .ck-earn-cta { margin-top: auto; padding-top: clamp(20px, 2.6vw, 26px); }

/* bars + fine print - the calculator's honesty machinery, kept */
[data-lp="check"] .ck-bars { margin-top: clamp(20px, 2.6vw, 26px); max-width: 560px; display: flex; flex-direction: column; gap: 13px; }
[data-lp="check"] .ck-bar__lbl { display: block; margin-bottom: 7px; font-size: 0.875rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-soft); }
[data-lp="check"] .ck-bar__track { display: block; height: 7px; border-radius: 999px; background: rgba(20,17,11,0.08); overflow: hidden; }
[data-lp="check"] .ck-bar__fill { display: block; height: 100%; border-radius: 999px; width: 0; transform: scaleX(0); transform-origin: left center; transition: transform .6s var(--ease-out) 120ms; }
[data-lp="check"] .ck-bar__fill.is-in { transform: scaleX(1); }
[data-lp="check"] .ck-bar__fill--rivela { background: var(--clay); }
[data-lp="check"] .ck-bar__fill--house { background: rgba(20,17,11,0.32); }
[data-lp="check"] .ck-fine { margin: 18px 0 0; font-size: 1rem; line-height: 1.55; color: var(--ink-soft); max-width: 56ch; }
[data-lp="check"] .ck-earn-cta { margin-top: clamp(20px, 2.6vw, 26px); display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
[data-lp="check"] .ck-earn-cta__aside { font-size: 1rem; color: var(--ink-soft); }

/* the verdict's "next beat" pointer - the arrow bobs so the eye reads
   "below this fold"; dies under reduced-motion */
[data-lp="check"] #blk-earn-cue svg { animation: ck-bob 1.6s var(--ease-in-out, ease-in-out) infinite; }
@keyframes ck-bob { 0%, 100% { transform: translateY(-1px); } 50% { transform: translateY(3px); } }
@media (prefers-reduced-motion: reduce) { [data-lp="check"] #blk-earn-cue svg { animation: none; } }

/* the scene - which home the numbers belong to. NO aspect-ratio here (see
   header comment): height comes from the left column via stretch. */
[data-lp="check"] .ck-scene { position: relative; border-radius: 18px; overflow: hidden; min-height: clamp(420px, 34vw, 640px); background: var(--sand); border: 1px solid var(--line); }
[data-lp="check"] .ck-scene img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
[data-lp="check"] .ck-scene::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,5,4,0.32) 0%, rgba(10,5,4,0) 40%); }
[data-lp="check"] .ck-scene-chip {
  position: absolute; left: 20px; bottom: 20px; z-index: 2;
  display: inline-flex; flex-direction: column; gap: 3px; padding: 13px 18px;
  border-radius: 14px; background: rgba(255,255,255,0.72);
  border: 1px solid rgba(255,255,255,0.6); backdrop-filter: blur(10px);
}
[data-lp="check"] .ck-scene-chip__k { font-size: 0.875rem; font-weight: 500; letter-spacing: 0.13em; text-transform: uppercase; color: var(--clay); }
[data-lp="check"] .ck-scene-chip__v { font-size: 1.05rem; font-weight: 500; letter-spacing: -0.01em; color: var(--ink); }
@media (max-width: 940px) {
  [data-lp="check"] .ck-earn-panel { grid-template-columns: 1fr; }
  /* single column: width-driven, so the aspect-ratio is safe here */
  [data-lp="check"] .ck-scene { min-height: 0; aspect-ratio: 16 / 10; order: -1; }
}

@media (prefers-reduced-motion: reduce) {
  [data-lp="check"] .blk-input-wrap::after { animation: none; }
  [data-lp="check"] .blk-search-ico { transition: none; }
  [data-lp="check"] .blk-pulse-dot { animation: none; opacity: .7; }
  [data-lp="check"] .blk-load-line { animation: none; }
  [data-lp="check"] .blk-result { animation: none; }
  [data-lp="check"] .ck-swap { animation: none; }
  [data-lp="check"] .ck-earn.ck-anim { transition: none; }
  [data-lp="check"] .ck-sub-ico { transition: none; }
  [data-lp="check"] .ck-sub-input { transition: none; }
  [data-lp="check"] .ck-anchor { transition: none; }
  [data-lp="check"] .ck-anchor__arrow { transition: none; }
  [data-lp="check"] .ck-anchor:active { transform: none; }
  [data-lp="check"] .ck-bar__fill { transition: none; }
  [data-lp="check"] .is-updating { animation: none; }
  [data-lp="check"] .ck-tel-line a { transition: none; }
}

/* ===== To-scale footprint viz (blk-scale) - inside eligible verdicts,
   2026-08-13. Lot = dashed survey outline; home = clay, settling in. ===== */
[data-lp="check"] .blk-scale { margin: 18px 0 4px; max-width: 380px; }
[data-lp="check"] .blk-scale svg { display: block; width: 100%; height: auto; }
[data-lp="check"] .blk-scale__lot { fill: rgba(20,17,11,0.03); stroke: rgba(20,17,11,0.35); stroke-width: 1.5; stroke-dasharray: 5 4; }
[data-lp="check"] .blk-scale__home { fill: var(--clay, #AE1B30); transform-box: fill-box; transform-origin: center; animation: blk-scale-in .55s cubic-bezier(0.23,1,0.32,1) .35s both; }
@keyframes blk-scale-in { from { opacity: 0; transform: scale(0.7); } to { opacity: 1; transform: none; } }
[data-lp="check"] .blk-scale__cap { margin: 10px 0 0; font-size: 0.875rem; line-height: 1.5; color: var(--ink-soft); }
[data-lp="check"] .blk-scale__cap strong { color: var(--clay, #AE1B30); font-weight: 500; }
@media (prefers-reduced-motion: reduce) {
  [data-lp="check"] .blk-scale__home { animation: none; }
}
