/* THE SECOND CHAMBERS HOME · THE SHOWCASE · master/css/master-showcase.css · 13 Oct 2026
   Rania, 13 Oct 2026: "I WANT TO SHOWCASE ALL THE REGISTERS/INSTRUMENTS, etc, that SECOND CHAMBERS PRODUCES. LIST THEM IN EACH SECTION AND
   PRESENT THEM TO MAKE IT INTERACTIVE. ADD SOME FEATURES LIKE THIS PAGE https://next-memo-market.vercel.app/". Read from the reference: a
   bento of feature cards that lift, a pill switch, counters that count up as they arrive, cards that fade in. In the home's own dress
   (master-airy.css: white and the cool pale, Inter, the 12px corner, the soft shadow, ink for the rest). Scoped to body.airy. */
body.airy {
  /* ── the two columns: the words stay at the left, the chapters scroll at the right ── */
  .sh-two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); column-gap: clamp(32px, 5vw, 80px); align-items: start; }
  .sh-sticky { position: sticky; top: 120px; }
  .sh-h2 span { display: block; }
  .sh-h2 span:first-child { font-weight: 300; }
  .sh-h2 .sh-lit { font-weight: 500; }

  /* ── the two totals, the way the reference sets its big numbers ── */
  .sh-totals { display: flex; gap: 36px; margin: 28px 0 0; padding: 22px 0; border-top: 1px solid var(--ay-line); border-bottom: 1px solid var(--ay-line); }
  .sh-totals b { display: block; font: 300 clamp(36px, 3.4vw, 52px)/1 var(--font); letter-spacing: -.035em; color: var(--ink); font-variant-numeric: tabular-nums; }
  .sh-totals span { display: block; margin-top: 8px; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--ay-grey); }

  /* ── the switch: one pill, two states; the on state ink ── */
  .sh-switch { display: inline-flex; gap: 4px; margin: 22px 0 0; padding: 4px; border: 1px solid var(--ay-line); border-radius: 999px; background: #fff; }
  .sh-sw { height: 38px; padding: 0 16px; border: 0; border-radius: 999px; background: transparent; color: var(--ink-2); font: 500 14px/1 var(--font); cursor: pointer; transition: background .2s, color .2s; }
  .sh-sw.on { background: var(--ink); color: #fff; }
  .sh-sw:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

  /* ── the chips: which pillar ── */
  .sh-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; }
  .sh-chip { height: 34px; padding: 0 14px; border: 1px solid var(--ay-line); border-radius: 999px; background: #fff; color: var(--ink-2); font: 500 13px/1 var(--font); cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
  .sh-chip:hover { border-color: var(--ink); color: var(--ink); }
  .sh-chip.on { background: var(--ay-tint); border-color: var(--ay-tint-2); color: var(--ink); }
  .sh-chip:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
  .sh-sticky .ay-fine { margin-top: 22px; }
  .sh-sticky .ay-fine .ay-more { display: inline-flex; margin-left: 6px; }

  /* ── the chapters, in the model's order; each a header and a bento of cards ── */
  .sh-chapters { display: flex; flex-direction: column; gap: clamp(30px, 3.6vw, 52px); min-width: 0; }
  .sh-chapter[hidden] { display: none; }
  .sh-ch-head { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 14px; align-items: start; margin: 0 0 16px; padding: 0 0 14px; border-bottom: 1px solid var(--ay-line); }
  .sh-ch-n { font: 500 13px/1.6 var(--font); letter-spacing: .08em; color: var(--ay-grey); padding-top: 6px; }
  .sh-ch-head h3 { margin: 0; font-size: clamp(22px, 2vw, 28px); line-height: 1.15; letter-spacing: -.02em; color: var(--ink); }
  .sh-ch-head p { margin: 6px 0 0; font-size: 14px; line-height: 1.5; color: var(--ay-grey); }
  .sh-ch-meta { padding-top: 6px; font-size: 13px; white-space: nowrap; color: var(--ay-grey); font-variant-numeric: tabular-nums; }
  .sh-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
  .sh-card { position: relative; margin: 0; list-style: none; background: #fff; border: 1px solid var(--ay-line); border-radius: var(--ay-r); box-shadow: var(--ay-shadow); transition: transform .25s, box-shadow .25s, opacity .5s; }
  .ay-paper .sh-card { box-shadow: none; }
  .sh-card:hover { transform: translateY(-3px); box-shadow: var(--ay-shadow-2); }
  .sh-card[hidden] { display: none; }
  .sh-card a { display: flex; flex-direction: column; gap: 8px; height: 100%; min-height: 196px; padding: 22px 22px 18px; text-decoration: none; color: inherit; }
  .sh-n { display: block; font: 300 clamp(30px, 2.5vw, 38px)/1 var(--font); letter-spacing: -.035em; color: var(--ink); font-variant-numeric: tabular-nums; }
  .sh-n-owed { font-size: 20px; color: var(--ay-grey); }
  .sh-card h3 { margin: 6px 0 0; padding-right: 40px; font-size: 17px; line-height: 1.25; letter-spacing: -.012em; color: var(--ink); }
  .sh-unit { margin: 0; font-size: 13.5px; line-height: 1.5; color: var(--ink-2); }
  .sh-ex { margin: auto 0 0; padding-top: 10px; border-top: 1px solid var(--ay-line); font-size: 13px; line-height: 1.45; color: var(--ink-2); }
  .sh-ex i { display: block; margin-bottom: 3px; font: 500 11px/1.4 var(--font); font-style: normal; letter-spacing: .08em; text-transform: uppercase; color: var(--ay-grey); }
  .sh-card .ay-go { position: absolute; right: 18px; top: 20px; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 999px; border: 1px solid var(--ay-line); color: var(--ink); background: #fff; }
  .sh-card:hover .ay-go .ay-arrow { transform: translateX(3px); }
  .sh-card .ay-arrow { transition: transform .25s; }
  /* the cards arrive as they scroll into view (the reference's fade); a reader who asked for reduced motion sees them at once */
  .sh-card.sh-wait { opacity: 0; transform: translateY(14px); }
  .sh-card.sh-in { opacity: 1; transform: none; }

  /* ── THE WHOLE RAIL under the instruments' window ── */
  .sh-rail-wrap { margin-top: clamp(40px, 5vw, 72px); }
  .sh-rail { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
  .sh-ri { position: relative; margin: 0; padding: 18px 18px 16px; display: flex; flex-direction: column; gap: 8px; background: #fff; border: 1px solid var(--ay-line); border-radius: var(--ay-r); transition: transform .25s, box-shadow .25s; }
  .sh-ri > svg, .sh-ri button > svg { width: 24px; height: 24px; color: var(--ink); }
  .sh-ri b { font-size: 15px; line-height: 1.25; letter-spacing: -.01em; color: var(--ink); }
  .sh-ri p { margin: 0; font-size: 13px; line-height: 1.5; color: var(--ink-2); }
  .sh-ri button { display: flex; flex-direction: column; gap: 8px; width: 100%; height: 100%; margin: 0; padding: 0; border: 0; background: transparent; text-align: left; font: inherit; color: inherit; cursor: pointer; }
  .sh-ri.is-live { border-color: var(--ay-tint-2); background: var(--ay-tint); }
  .ay-paper .sh-ri.is-live { background: #fff; }
  .sh-ri.is-live:hover { transform: translateY(-3px); box-shadow: var(--ay-shadow-2); }
  .sh-ri.is-live.on { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
  .sh-live { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 8px; font: 500 12px/1 var(--font); letter-spacing: .06em; text-transform: uppercase; color: var(--ink); }
  .sh-live .ay-arrow { width: 14px; height: 14px; transition: transform .25s; }
  .sh-ri.is-live:hover .sh-live .ay-arrow { transform: translateX(3px); }
  .sh-ri button:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; border-radius: 6px; }

  /* ── EVERY PIECE, with its switch beside the button ── */
  .sh-sechead-tools { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
  .sh-sechead-tools .sh-switch { margin: 0; }
  .sh-pieces [hidden] { display: none; }

  @media (max-width: 1024px) {
    .sh-two { grid-template-columns: minmax(0, 1fr); row-gap: 34px; }
    .sh-sticky { position: static; }
    .sh-rail { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .sh-ch-head { grid-template-columns: 36px minmax(0, 1fr); }
    .sh-ch-meta { grid-column: 2; padding-top: 0; }
  }
  @media (max-width: 640px) {
    .sh-grid { grid-template-columns: minmax(0, 1fr); }
    .sh-rail { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .sh-totals { gap: 24px; }
    .sh-card a { min-height: 0; }
  }
  @media (max-width: 420px) {
    .sh-rail { grid-template-columns: minmax(0, 1fr); }
    .sh-switch { display: flex; }
    .sh-sw { flex: 1; height: auto; min-height: 38px; padding: 9px 10px; font-size: 13px; line-height: 1.2; }
  }
  @media (prefers-reduced-motion: reduce) {
    .sh-card, .sh-ri, .sh-sw, .sh-chip, .sh-card .ay-arrow, .sh-live .ay-arrow { transition: none; }
    .sh-card.sh-wait { opacity: 1; transform: none; }
  }
}

/* THE HOLDINGS, FOUR A STEP (14 Oct 2026): the rest behind one press */
.sh-card.sh-over { display: none !important; }
.sh-more { display: block; margin: 18px auto 0; padding: 11px 20px; border-radius: 999px; border: 1px solid #0B0B0E; background: #fff; color: #0B0B0E; font: 500 14px/1.2 Inter, system-ui, sans-serif; cursor: pointer; transition: background .2s, color .2s; }
.sh-more:hover, .sh-more:focus-visible { background: #0B0B0E; color: #fff; outline: 0; }
