/* ===========================================================================
   Homepage story — eight chapters, one doubt each.

   Scroll motion is pure CSS. Chapters pin with position: sticky, and reveals
   are driven by animation-timeline: view() / scroll(). There is no
   JavaScript on this page.

   Every animation lives inside @supports (animation-timeline: view()) and
   prefers-reduced-motion: no-preference. Outside those, nothing is hidden:
   the page reads as eight static chapters, in full.
   ========================================================================= */

:root { --navh: 64px; }

/* --- Chapters ----------------------------------------------------------- */

.ch {
  position: relative;
  z-index: 2;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-block: var(--s-7);
  background: var(--canvas);
}
.ch > .shell { width: 100%; }

.ch--dark  { background: var(--ink); color: var(--canvas); }
.ch--grow  { background: var(--stage-grow); }
.ch--run   { background: var(--stage-run); }
.ch--warm  { background: var(--warm-panel); }

.ch--dark .chapter__tab { background: var(--ink); color: var(--canvas); border-color: rgba(251, 248, 243,.7); }
.ch--dark .chapter__tab::before { background: var(--canvas); }
.ch--dark .chapter__line { border-color: rgba(251, 248, 243,.7); }
.ch--dark .muted { color: var(--muted); }
.ch--grow .chapter__tab,
.ch--run .chapter__tab,
.ch--warm .chapter__tab { background: transparent; }

.ch__num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
}

.ch .section-heading { margin-bottom: var(--s-3); max-width: 16ch; }
.ch .section-heading--wide { max-width: 22ch; }
.ch .story-p { font-size: 20px; line-height: 1.45; letter-spacing: -0.017em; margin: 0; max-width: 620px; }
.ch .story-p + .story-p { margin-top: var(--s-2); }

/* --- 1. Hero: pinned, and the next chapter slides over it -------------- */

.ch--hero {
  position: sticky;
  top: var(--navh);
  z-index: 1;
  min-height: calc(100svh - var(--navh));
  padding-block: clamp(3rem, 7vw, 6rem);
}
.ch--hero + .ch {
  box-shadow: none;
  border-top: 1px solid var(--rule);
}
.hero-h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(3rem, 9vw, 7.5rem);
  line-height: 0.95;
  letter-spacing: -0.035em;
  margin: 0 0 var(--s-4);
}
.hero-h1 span { display: block; }
.hero-h1 .muted { color: var(--secondary); }
.hero-lead { font-size: clamp(18px, 1.6vw, 22px); line-height: 1.45; letter-spacing: -0.017em; max-width: 660px; margin: 0 0 var(--s-5); }
.hero-note { margin-top: var(--s-3); }
.hero-scroll {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: var(--s-6);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--secondary);
}
.hero-scroll::after {
  content: "";
  width: 1px;
  height: 28px;
  background: var(--rule);
}

/* --- 2. Two leaks: one line, two gaps ---------------------------------- */

.leaks { margin-top: var(--s-6); view-timeline: --leaks block; }
.leaks__line {
  display: flex;
  align-items: center;
  height: 64px;
}
.leaks__end {
  flex: none;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--secondary);
  padding-inline: 0 14px;
  white-space: nowrap;
}
.leaks__end--r { padding-inline: 14px 0; }
.leaks__seg { flex: 1; height: 2px; background: var(--ink); }
.leaks__gap {
  position: relative;
  flex: none;
  width: clamp(72px, 12vw, 160px);
  height: 64px;
  border-inline: 1px dashed var(--rule);
}
.leaks__gap::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 7px;
  height: 7px;
  margin: -3.5px 0 0 -3.5px;
  border-radius: 50%;
  background: var(--coral);
}
.leaks__labels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-5);
  margin-top: var(--s-4);
}
.leaks__label { border-top: 1px solid var(--rule); padding-top: var(--s-2); }
.leaks__label h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.375rem; letter-spacing: -0.02em; margin: 0 0 6px; }
.leaks__label p { font-size: 16px; line-height: 1.45; margin: 0; color: var(--secondary); }

/* --- 3. Evidence (dark) ------------------------------------------------- */

.evidence {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--s-6);
  align-items: start;
}
.bigfig {
  display: flex;
  align-items: baseline;
  gap: var(--s-3);
  margin: var(--s-5) 0 var(--s-2);
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 0.9;
}
.bigfig b { font-weight: 500; font-size: clamp(5rem, 12vw, 10rem); }
.bigfig i { font-style: normal; font-size: clamp(2.5rem, 5vw, 4.5rem); color: var(--muted); }
.bigfig__cap {
  display: grid;
  grid-template-columns: auto auto;
  justify-content: start;
  column-gap: var(--s-5);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.findings { border-top: 1px solid rgba(251, 248, 243,.35); }
.finding {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: var(--s-2);
  padding-block: var(--s-3);
  border-bottom: 1px solid rgba(251, 248, 243,.35);
}
.finding__n { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em; color: var(--muted); padding-top: 5px; }
.finding h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.375rem; line-height: 1.2; letter-spacing: -0.02em; margin: 0 0 6px; }
.finding p { font-size: 16px; line-height: 1.5; margin: 0; color: var(--panel); }
.evidence__close { margin-top: var(--s-4); font-size: 20px; line-height: 1.4; letter-spacing: -0.017em; }
.evidence__result {
  margin-top: var(--s-3);
  padding: var(--s-3);
  border: 1px solid rgba(251, 248, 243,.35);
  font-size: 16px;
  line-height: 1.5;
}
.evidence__result strong { font-weight: 500; }
.ch--dark .textlink { border-color: var(--canvas); }

/* --- 4. AI answers: the chat card -------------------------------------- */

.split-story {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--s-6);
  align-items: center;
}
.chat {
  view-timeline: --chat block;
  background: var(--canvas);
  border: 1px solid var(--rule);
  padding: var(--s-3);
}
.chat__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: var(--s-2);
  margin-bottom: var(--s-3);
  border-bottom: 1px solid var(--edge);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--secondary);
}
.chat__bar::before { content: ""; width: 7px; height: 7px; background: var(--ink); }
.chat__q {
  margin-left: auto;
  max-width: 85%;
  width: fit-content;
  padding: 12px 16px;
  background: var(--ink);
  color: var(--canvas);
  font-size: 16px;
  line-height: 1.4;
}
.chat__dots {
  display: flex;
  gap: 5px;
  padding: 18px 2px 6px;
}
.chat__dots span { width: 6px; height: 6px; border-radius: 50%; background: var(--secondary); }
.chat__a {
  max-width: 92%;
  padding: 14px 16px;
  background: var(--field);
  border: 1px solid var(--edge);
  font-size: 16px;
  line-height: 1.5;
}
.chat__a mark {
  background: var(--coral);
  color: inherit;
  padding: 0 3px;
  font-weight: 500;
}
.services-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s-3);
  margin-top: var(--s-6);
}
.svc { border-top: 1px solid var(--rule); padding-top: var(--s-2); }
.svc h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.25rem; letter-spacing: -0.02em; margin: 0 0 6px; }
.svc p { font-size: 16px; line-height: 1.45; margin: 0; }

/* --- 5. Never dropped: the thread -------------------------------------- */

.thread {
  view-timeline: --thread block;
  display: grid;
  gap: var(--s-2);
  background: var(--canvas);
  border: 1px solid var(--rule);
  padding: var(--s-3);
}
.msg { max-width: 86%; }
.msg--out { margin-left: auto; }
.msg__body {
  padding: 12px 16px;
  font-size: 16px;
  line-height: 1.45;
  background: var(--field);
  border: 1px solid var(--edge);
}
.msg--out .msg__body { background: var(--ink); color: var(--canvas); border-color: var(--ink); }
.msg__meta {
  margin-top: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--secondary);
}
.msg--out .msg__meta { text-align: right; }
.b2b {
  margin-top: var(--s-5);
  padding-top: var(--s-3);
  border-top: 1px solid var(--rule);
  max-width: 620px;
  font-size: 16px;
  line-height: 1.5;
}

/* --- 6. Own money: odometer and ranked list ---------------------------- */

.money {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: var(--s-6);
  align-items: end;
  margin-top: var(--s-5);
}
.odo {
  view-timeline: --odo block;
  display: flex;
  align-items: flex-start;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(5.5rem, 15vw, 13rem);
  line-height: 1;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}
.odo__col { display: block; width: 0.6em; height: 1em; overflow: hidden; text-align: center; }
.odo__strip {
  display: flex;
  flex-direction: column;
  transform: translateY(calc(var(--d) * -1em));
}
.odo__strip span { display: block; height: 1em; }
.odo__sep { display: block; width: 0.26em; text-align: center; }
.odo__cap {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-top: var(--s-2);
}
.stats-line {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-3);
  margin-top: var(--s-4);
}
.stat { border-top: 1px solid var(--rule); padding-top: var(--s-2); }
.stat b { display: block; font-family: var(--font-display); font-weight: 500; font-size: clamp(1.75rem, 3vw, 2.5rem); letter-spacing: -0.03em; line-height: 1; }
.stat span { display: block; margin-top: 8px; font-size: 14px; line-height: 1.4; color: var(--secondary); }

.rank { border-top: 1px solid var(--rule); }
.rank__row {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  gap: var(--s-2);
  align-items: baseline;
  padding: 14px 12px;
  border-bottom: 1px solid var(--rule);
  font-size: 16px;
}
.rank__row b { font-family: var(--font-mono); font-weight: 400; font-size: 12px; letter-spacing: 0.06em; color: var(--secondary); }
.rank__row em { font-style: normal; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; }
.rank__row--mine { background: var(--stage-run); }
.rank__row--dim { color: var(--secondary); }
.rank__note { font-size: 14px; line-height: 1.45; color: var(--secondary); margin: var(--s-2) 0 0; }
.money__close { margin-top: var(--s-6); font-size: 20px; line-height: 1.45; letter-spacing: -0.017em; max-width: 680px; }

/* --- 7. Who you'd be hiring: stacking cards ---------------------------- */

.hiring {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: var(--s-6);
  align-items: start;
}
.hiring__intro { position: sticky; top: calc(var(--navh) + var(--s-6)); }
.signature {
  margin-top: var(--s-5);
  padding-top: var(--s-3);
  border-top: 1px solid var(--rule);
}
.signature__name { font-family: var(--font-display); font-weight: 500; font-size: 1.75rem; letter-spacing: -0.025em; margin: 0; }
.signature__role { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--secondary); margin: 6px 0 0; }

.stack { display: grid; gap: var(--s-3); padding-bottom: var(--s-6); }
.stack__card {
  position: sticky;
  top: calc(var(--navh) + var(--s-5) + var(--i) * 22px);
  min-height: 260px;
  padding: var(--s-4);
  background: var(--canvas);
  border: 1px solid var(--rule);
}
.stack__card .ch__num { color: var(--secondary); }
.stack__card h3 { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.6rem, 2.6vw, 2.25rem); line-height: 1.05; letter-spacing: -0.025em; margin: var(--s-2) 0 var(--s-2); }
.stack__card p { font-size: 17px; line-height: 1.5; margin: 0; }

/* --- 8. Closing --------------------------------------------------------- */

.ch--close .section-heading { max-width: 14ch; font-size: clamp(2.75rem, 7vw, 6rem); }
.ch--close .story-p { margin-bottom: var(--s-5); }

/* --- Scroll progress ---------------------------------------------------- */

.progress { display: none; }

/* --- Motion (only where supported, only if wanted) ---------------------- */

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {

    @keyframes rise   { from { opacity: 0; transform: translateY(32px); } to { opacity: 1; transform: none; } }
    @keyframes fadein { from { opacity: 0; } to { opacity: 1; } }
    @keyframes blink  { 0% { opacity: 0; } 20% { opacity: 1; } 80% { opacity: 1; } 100% { opacity: 0; } }
    @keyframes heroOut { to { opacity: 0.18; transform: translateY(-40px) scale(0.97); } }
    @keyframes grow   { from { transform: scaleX(0); } to { transform: scaleX(1); } }
    @keyframes gapOpen { from { width: 0; border-color: transparent; } }
    @keyframes roll   { from { transform: translateY(0); } }

    /* Thin progress line across the top of the window. */
    .progress {
      display: block;
      position: fixed;
      inset: 0 0 auto 0;
      height: 2px;
      z-index: 1100;
      background: var(--ink);
      transform-origin: 0 50%;
      animation: grow linear both;
      animation-timeline: scroll(root);
    }

    /* Generic reveal, with four stagger steps. */
    .rv  { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% cover 20%; }
    .rv2 { animation-range: entry 8% cover 24%; }
    .rv3 { animation-range: entry 16% cover 28%; }
    .rv4 { animation-range: entry 24% cover 32%; }

    /* 1. The hero dims and lifts while chapter 2 slides over it. */
    .ch--hero .shell {
      animation: heroOut linear both;
      animation-timeline: scroll(root);
      animation-range: 0 90vh;
    }

    /* 2. The two gaps open in the line. */
    .leaks__gap { animation: gapOpen linear both; animation-timeline: --leaks; animation-range: cover 22% cover 44%; }
    .leaks__gap::before { animation: fadein linear both; animation-timeline: --leaks; animation-range: cover 40% cover 48%; }
    .leaks__label { animation: rise linear both; animation-timeline: --leaks; animation-range: cover 36% cover 50%; }
    .leaks__label + .leaks__label { animation-range: cover 42% cover 56%; }

    /* 4. Question, typing, answer. */
    .chat__q    { animation: rise linear both; animation-timeline: --chat; animation-range: cover 27% cover 34%; }
    .chat__dots { animation: blink linear both; animation-timeline: --chat; animation-range: cover 32% cover 46%; }
    .chat__a    { animation: rise linear both; animation-timeline: --chat; animation-range: cover 44% cover 52%; }

    /* 5. Enquiry, instant reply, the follow-up two days later. */
    .msg:nth-child(1) { animation: rise linear both; animation-timeline: --thread; animation-range: cover 28% cover 34%; }
    .msg:nth-child(2) { animation: rise linear both; animation-timeline: --thread; animation-range: cover 37% cover 43%; }
    .msg:nth-child(3) { animation: rise linear both; animation-timeline: --thread; animation-range: cover 46% cover 53%; }

    /* 6. Odometer roll-up (unused since the Nov 2026 review). */
    .odo__strip { animation: roll linear both; animation-timeline: --odo; animation-range: cover 12% cover 42%; }
    .odo__col:nth-of-type(2) .odo__strip { animation-range: cover 14% cover 44%; }
    .odo__col:nth-of-type(3) .odo__strip { animation-range: cover 16% cover 46%; }
    .odo__col:nth-of-type(4) .odo__strip { animation-range: cover 18% cover 48%; }
  }
}

/* --- Narrow ------------------------------------------------------------- */

@media (max-width: 960px) {
  .evidence, .split-story, .money, .hiring { grid-template-columns: 1fr; gap: var(--s-5); }
  .hiring__intro { position: static; }
  .services-row { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  /* Pinning a tall hero on a phone hides the button. Let it scroll. */
  .ch--hero { position: relative; top: 0; min-height: 0; }
  .ch--hero + .ch { box-shadow: none; }
  .ch { min-height: 0; padding-block: var(--s-6); }
  .stack__card { position: static; min-height: 0; }
  .leaks__labels, .stats-line { grid-template-columns: 1fr; gap: var(--s-3); }
  .leaks__end { display: none; }
  .ch .story-p { font-size: 18px; }

  @supports (animation-timeline: view()) {
    .ch--hero .shell { animation: none; }
  }
}

/* --- 8. Which one: the service chooser ---------------------------------- */
/* Pure CSS. Seven radio inputs sit before the frame; each :checked input
   shows its preview and marks its option. No JavaScript. */

.ch--chooser {
  background: var(--ink);
  color: var(--panel);
}
.ch--chooser .chapter__tab { background: var(--ink); color: var(--panel); border-color: rgba(251, 248, 243,.55); }
.ch--chooser .chapter__tab::before { background: var(--panel); }
.ch--chooser .chapter__line { border-color: rgba(251, 248, 243,.55); }
.ch--chooser .story-p { color: rgba(251, 248, 243,.72); }

.chooser__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--s-5);
  align-items: end;
  margin-bottom: var(--s-5);
}
.chooser__head .section-heading { margin: 0; }

.glass {
  background: rgba(251, 248, 243, 0.06);
  border: 1px solid rgba(251, 248, 243, 0.1);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  backdrop-filter: blur(20px) saturate(140%);
  box-shadow: inset 0 1px 0 rgba(251, 248, 243, 0.08), 0 10px 30px rgba(28, 22, 18, 0.25);
}

.chooser__frame {
  display: grid;
  grid-template-columns: minmax(260px, 360px) minmax(0, 1fr);
  gap: 12px;
  padding: 12px;
  border-radius: 18px;
}

.chooser__chat {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 18px 16px;
  border-radius: 14px;
  border: 1px solid rgba(251, 248, 243, 0.1);
  background: rgba(28, 22, 18, 0.6);
}
.chooser__who { display: flex; align-items: center; gap: 10px; padding-bottom: 12px; border-bottom: 1px solid rgba(251, 248, 243,.08); }
.chooser__dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--coral);
  flex: none;
}
.chooser__name { margin: 0; font-size: 14px; font-weight: 500; color: var(--paper); }
.chooser__role { margin: 2px 0 0; font-size: 11.5px; color: rgba(251, 248, 243,.45); }

.bubble {
  margin: 0;
  max-width: 90%;
  padding: 10px 14px;
  border-radius: 16px;
  font-size: 14px;
  line-height: 1.5;
}
.bubble--me { background: rgba(251, 248, 243,.05); border: 1px solid rgba(251, 248, 243,.06); color: rgba(251, 248, 243,.78); border-bottom-left-radius: 4px; }

.chooser__opts { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.opt {
  max-width: 92%;
  padding: 9px 14px;
  border-radius: 16px;
  border-bottom-right-radius: 4px;
  font-size: 14px;
  line-height: 1.4;
  color: rgba(251, 248, 243,.8);
  background: rgba(251, 248, 243,.08);
  border: 1px solid rgba(251, 248, 243,.1);
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.opt:hover { background: rgba(251, 248, 243,.14); color: var(--paper); }

.chooser__preview {
  position: relative;
  min-height: 460px;
  padding: clamp(22px, 3vw, 40px);
  border-radius: 14px;
  background:
    rgba(251, 248, 243, 0.03);
  border: 1px solid rgba(251, 248, 243,.08);
}

.pv { display: none; }
.pv__side {
  display: inline-block;
  margin: 0 0 14px;
  padding: 4px 10px;
  border: 1px solid rgba(251, 248, 243,.3);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(251, 248, 243,.75);
}
.pv__title {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.9rem, 3.4vw, 3rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: var(--paper);
}
.pv__answer { margin: 0 0 var(--s-4); max-width: 640px; font-size: 18px; line-height: 1.5; color: rgba(251, 248, 243,.8); }
.pv__grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4); padding-top: var(--s-3); border-top: 1px solid rgba(251, 248, 243,.12); }
.pv__k, .pv__grid .pv__k { margin: 0 0 8px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: rgba(251, 248, 243,.5); }
.pv__grid p { margin: 0; font-size: 15px; line-height: 1.5; color: rgba(251, 248, 243,.82); }
.pv__grid ul { display: grid; gap: 6px; font-size: 15px; line-height: 1.45; color: rgba(251, 248, 243,.82); }
.pv__grid li { position: relative; padding-left: 14px; }
.pv__grid li::before { content: ""; position: absolute; left: 0; top: .7em; width: 6px; height: 1px; background: rgba(251, 248, 243,.7); }
.pv__go { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: var(--s-4); }
.pill-btn {
  display: inline-flex;
  align-items: center;
  height: 46px;
  padding: 0 26px;
  border-radius: 999px;
  background: var(--coral);
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: background .2s;
}
.pill-btn:hover { background: var(--coral); }
.pv__link { font-size: 14px; color: rgba(251, 248, 243,.8); text-decoration: none; border-bottom: 1px solid rgba(251, 248, 243,.5); padding-bottom: 2px; }
.pv__link:hover { color: var(--paper); border-color: var(--paper); }

.chooser__foot { margin: var(--s-3) 0 0; font-size: 15px; color: rgba(251, 248, 243,.6); }

/* One rule per option: show its preview and mark its bubble. */
#svc-1:checked ~ .chooser__frame .pv-1,
#svc-2:checked ~ .chooser__frame .pv-2,
#svc-3:checked ~ .chooser__frame .pv-3,
#svc-4:checked ~ .chooser__frame .pv-4,
#svc-5:checked ~ .chooser__frame .pv-5,
#svc-6:checked ~ .chooser__frame .pv-6,
#svc-7:checked ~ .chooser__frame .pv-7 { display: block; }

#svc-1:checked ~ .chooser__frame label[for="svc-1"],
#svc-2:checked ~ .chooser__frame label[for="svc-2"],
#svc-3:checked ~ .chooser__frame label[for="svc-3"],
#svc-4:checked ~ .chooser__frame label[for="svc-4"],
#svc-5:checked ~ .chooser__frame label[for="svc-5"],
#svc-6:checked ~ .chooser__frame label[for="svc-6"],
#svc-7:checked ~ .chooser__frame label[for="svc-7"] {
  background: rgba(251, 248, 243,.9);
  color: var(--ink);
  border-color: var(--paper);
}

#svc-1:focus-visible ~ .chooser__frame label[for="svc-1"],
#svc-2:focus-visible ~ .chooser__frame label[for="svc-2"],
#svc-3:focus-visible ~ .chooser__frame label[for="svc-3"],
#svc-4:focus-visible ~ .chooser__frame label[for="svc-4"],
#svc-5:focus-visible ~ .chooser__frame label[for="svc-5"],
#svc-6:focus-visible ~ .chooser__frame label[for="svc-6"],
#svc-7:focus-visible ~ .chooser__frame label[for="svc-7"] {
  outline: 2px solid var(--coral);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: no-preference) {
  @keyframes pv-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
  .pv { animation: pv-in .5s cubic-bezier(.22, 1, .36, 1) both; }
}

@media (max-width: 960px) {
  .chooser__head { grid-template-columns: 1fr; gap: var(--s-3); }
  .chooser__frame { grid-template-columns: 1fr; }
  .chooser__opts { flex-direction: row; flex-wrap: wrap; justify-content: flex-start; align-items: stretch; }
  .opt { max-width: none; border-bottom-right-radius: 16px; }
  .chooser__preview { min-height: 0; }
  .pv__grid { grid-template-columns: 1fr; }
}
