/* ==========================================================================
   Plus One MD block kit, final ("the order mark", seat C + B's phone tabs)
   Load after styles.css. Live tokens only (--ink, --teal, --paper, --line,
   Fraunces + Hanken Grotesk). One class set per copy block marker:
     .mk            order mark glyph (SVG sprite at the top of <body>)
     .bk-strip      hero glance strip (province tiles that jump to a table row)
     .bk-answer     ANSWER (+ .bk-checked note)
     .bk-cta        CTA row
     .bk-vs         TABLE with a blank first header (two-way comparison)
     .bk-lines      TABLE with two columns
     .bk-tablebox   TABLE with 3+ columns; [data-bk-tabs] adds phone province tabs
     .bk-nums       BIG-NUMBER
     .bk-steps      STEPS
     .bk-icons      ICON-ROW
     .bk-faq        FAQ (live .faq-item accordion, main.js)
     .bk-end        closing CTA section (H2 ending in a full stop + CTA)
   Phones: nothing scrolls sideways and every cell's words stay in the DOM.
   ========================================================================== */

/* ---------- Order mark ---------- */
.mk { display: inline-block; width: 1.5rem; height: 1.5rem; flex: none; vertical-align: middle; }
.mk--change { width: 3.25rem; }
.mk--lg { width: 2.25rem; height: 2.25rem; }
.bk-i { width: 1.1rem; height: 1.1rem; flex: none; color: var(--teal); }

/* Screen-reader only, properly clipped (used for table heads on phones) */
.bk-sr, .bk-table thead.bk-sr-m {
  position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important;
  overflow: hidden !important; clip: rect(0 0 0 0) !important; clip-path: inset(50%) !important; white-space: nowrap !important; border: 0 !important;
}

/* ---------- Hero ---------- */
.bk-hero .wrap-s { padding-top: 2.6rem; padding-bottom: 2.4rem; }
.bk-hero h1 { margin: 1.1rem 0 0; }
@media (max-width: 39.99em) { .bk-hero h1.display-xl { font-size: 2.2rem; } .bk-hero .wrap-s { padding-top: 2rem; } }

/* ---------- Strip ---------- */
.bk-strip { margin: 1.6rem 0 0; }
.bk-strip-label { display: flex; align-items: center; gap: 0.45rem; margin: 0 0 0.55rem; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); }
.bk-strip-row { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(var(--n, 6), 1fr); gap: 0.5rem; }
.bk-strip-row a {
  display: flex; flex-direction: column; align-items: center; gap: 0.4rem; height: 100%;
  min-height: 5.6rem; padding: 0.85rem 0.4rem 0.7rem;
  background: var(--white); border: 1px solid var(--line-soft); border-radius: 14px;
  text-decoration: none; color: var(--ink); text-align: center; font-size: 0.86rem; font-weight: 700; line-height: 1.2;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.bk-strip-row a:hover { border-color: var(--teal); transform: translateY(-2px); box-shadow: var(--shadow-card); }
.bk-strip-row a:focus-visible { outline: 2px solid var(--teal-deep); outline-offset: 2px; }
.bk-strip-row small { display: block; font-size: 0.76rem; font-weight: 600; color: var(--teal-deep); line-height: 1.3; }
.bk-strip-row .is-dir { background: var(--paper-deep); }
.bk-key { display: flex; flex-wrap: wrap; gap: 0.4rem 1.4rem; margin-top: 0.75rem; font-size: 0.82rem; font-weight: 600; color: var(--ink-soft); }
.bk-key span { display: inline-flex; align-items: center; gap: 0.45rem; }
.bk-key .mk { width: 1.15rem; height: 1.15rem; }
@media (max-width: 39.99em) {
  .bk-strip-row { grid-template-columns: repeat(3, 1fr); gap: 0.45rem; }
  .bk-strip-row a { min-height: 4.9rem; font-size: 0.8rem; padding: 0.65rem 0.3rem 0.55rem; }
  .bk-strip-row small { font-size: 0.72rem; }
}

/* ---------- CTA row (never wraps a label on a phone) ---------- */
.bk-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.8rem 1.2rem; margin: 1.5rem 0 0; }
.bk-cta .btn-glow { font-size: 1.02rem; padding: 1.1rem 2rem; }
/* QA V-007: the white label needs 4.5:1 on every pixel behind it. The light end of the glow
   gradient was --teal-bright (2.98:1); it starts at --teal (4.77:1) instead, the same pair as
   the primary button's hover. */
.bk-cta .btn-glow { background: linear-gradient(165deg, var(--teal), var(--teal-deep)); }
.bk-cta .text-link { font-size: 0.95rem; }
@media (max-width: 39.99em) {
  .bk-cta .btn, .bk-cta .btn-glow { width: 100%; white-space: normal; padding: 1rem 0.5rem; font-size: 0.875rem; gap: 0.35rem; letter-spacing: 0; }
}

/* ---------- ANSWER ---------- */
.bk-answer .lede { margin: 1.5rem 0 0; color: var(--ink); }
.bk-checked { display: flex; gap: 0.6rem; align-items: flex-start; margin-top: 1rem; font-size: 0.85rem; line-height: 1.55; color: var(--muted); }
.bk-checked svg { flex: none; width: 1.1rem; height: 1.1rem; margin-top: 0.15rem; color: var(--teal); }
.bk-checked a { color: var(--teal-deep); }

/* ---------- Sections ---------- */
.bk-article { padding-top: 1rem; }
.bk-h { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.55rem, 3vw, 2rem); letter-spacing: -0.012em; line-height: 1.15; margin: 3.2rem 0 1.1rem; color: var(--ink); }
.bk-sec > .bk-h:first-child { margin-top: 3.2rem; }
.bk-foot { margin: 0.8rem 0 0; font-size: 0.9rem; color: var(--muted); line-height: 1.6; }
.bk-foot a, .bk-after a { color: var(--teal-deep); }
.bk-after { margin: 1.2rem 0 0; font-size: 1.05rem; color: var(--ink); line-height: 1.6; max-width: 40em; }

/* Break-outs wider than the text column on desktop. The whole section breaks out (heading, cards and
   paragraphs in one container), so every left edge lines up (owner 2026-11-02). */
@media (min-width: 64em) {
  .bk-sec-w { position: relative; width: min(74rem, calc(100vw - 4rem)); left: 50%; transform: translateX(-50%); }
  .bk-sec-ws { position: relative; width: min(64rem, calc(100vw - 4rem)); left: 50%; transform: translateX(-50%); }
}

/* ---------- TABLE: two-way comparison ---------- */
.bk-vs { width: 100%; border-collapse: separate; border-spacing: 0; table-layout: fixed; font-size: 0.98rem; line-height: 1.45; }
.bk-vs thead th { padding: 0 0.9rem 0.9rem; text-align: left; vertical-align: bottom; }
.bk-vs thead th span { display: flex; align-items: center; gap: 0.6rem; font-family: var(--font-display); font-weight: 500; font-size: 1.25rem; line-height: 1.15; color: var(--ink); }
.bk-vs thead td:first-child { width: 24%; }
.bk-vs tbody th { padding: 0.95rem 0.9rem 0.95rem 0; text-align: left; vertical-align: top; font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); font-weight: 700; border-top: 1px solid var(--line); line-height: 1.5; }
.bk-vs tbody td { padding: 0.95rem 0.9rem; vertical-align: top; color: var(--ink); border-top: 1px solid var(--line); }
.bk-vs tbody td:nth-child(2) { background: var(--teal-wash); }
.bk-vs tbody td:nth-child(3) { background: var(--paper-deep); }
.bk-vs tbody tr:first-child td:nth-child(2) { border-top-left-radius: 12px; }
.bk-vs tbody tr:first-child td:nth-child(3) { border-top-right-radius: 12px; }
.bk-vs tbody tr:last-child td:nth-child(2) { border-bottom-left-radius: 12px; }
.bk-vs tbody tr:last-child td:nth-child(3) { border-bottom-right-radius: 12px; }
@media (max-width: 39.99em) {
  .bk-vs, .bk-vs thead, .bk-vs tbody { display: block; }
  .bk-vs thead td:first-child { display: none; }
  .bk-vs thead tr, .bk-vs tbody tr { display: grid; grid-template-columns: 1fr 1fr; column-gap: 0.5rem; }
  .bk-vs thead th { padding: 0 0.2rem 0.7rem; }
  .bk-vs thead th span { flex-direction: column; align-items: flex-start; gap: 0.35rem; font-size: 1.05rem; }
  .bk-vs tbody th { grid-column: 1 / -1; padding: 0.9rem 0 0.4rem; }
  .bk-vs tbody td { padding: 0.7rem 0.75rem; border-top: 0; border-radius: 10px; font-size: 0.92rem; }
}

/* ---------- TABLE: two columns ---------- */
.bk-lines { width: 100%; border-collapse: collapse; }
.bk-lines thead th { text-align: left; padding: 0 1rem 0.6rem 0; font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 700; color: var(--ink-soft); border-bottom: 2px solid var(--ink); }
.bk-lines tbody th, .bk-lines tbody td { text-align: left; vertical-align: top; padding: 1rem 1rem 1rem 0; border-bottom: 1px solid var(--line); }
.bk-lines tbody th { width: 34%; font-weight: 500; }
.bk-lines td { color: var(--ink); line-height: 1.55; }
.bk-lines td a { color: var(--teal-deep); font-weight: 600; }
.bk-prov { display: flex; align-items: center; gap: 0.6rem; font-family: var(--font-display); font-weight: 500; font-size: 1.1rem; line-height: 1.2; color: var(--ink); }
@media (max-width: 39.99em) {
  .bk-lines, .bk-lines tbody, .bk-lines tr, .bk-lines th, .bk-lines td { display: block; width: auto !important; }
  .bk-lines thead tr { display: flex; gap: 0.4rem; border-bottom: 2px solid var(--ink); }
  .bk-lines thead th { border: 0; padding: 0 0 0.5rem; }
  .bk-lines thead th + th::before { content: "/ "; }
  .bk-lines tbody th { padding: 0.9rem 0 0.3rem; border: 0; }
  .bk-lines tbody td { padding: 0 0 0.9rem; }
}

/* ---------- TABLE: 3+ columns (desktop table, phone cards or province tabs) ---------- */
.bk-tablebox { margin: 0; }
.bk-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; line-height: 1.45; }
.bk-table thead th {
  position: sticky; top: 4.25rem; z-index: 2; background: var(--paper);
  padding: 0.8rem; text-align: left; vertical-align: bottom;
  font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); font-weight: 700;
  border-bottom: 2px solid var(--ink);
}
@media (min-width: 64em) { .bk-table thead th { top: 5rem; } }
.bk-th { display: inline-flex; align-items: center; gap: 0.4rem; }
.bk-th .bk-i { width: 0.95rem; height: 0.95rem; }
.bk-table tbody th, .bk-table tbody td { padding: 1rem 0.8rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); color: var(--ink-soft); }
.bk-table tbody th { color: var(--ink); width: 15%; }
.bk-table td.bk-key-cell { color: var(--ink); font-weight: 600; }
.bk-table td a { color: var(--teal-deep); }
.bk-table tbody tr { scroll-margin-top: 6rem; transition: background .3s ease; }
.bk-table tbody tr:target { background: var(--teal-wash); }
.bk-chip { display: inline-block; padding: 0.3rem 0.6rem; border-radius: 8px; background: var(--white); border: 1px solid var(--line); font-size: 0.82rem; font-weight: 600; color: var(--ink); line-height: 1.35; }
.bk-src { display: inline-block; font-size: 0.74rem; font-weight: 800; letter-spacing: 0.08em; color: var(--teal-deep); background: var(--teal-wash); border-radius: 6px; padding: 0.25rem 0.5rem; line-height: 1.3; }
.bk-lbl { display: none; }
.bk-tabs { display: none; }

@media (max-width: 47.99em) {
  .bk-tablebox { scroll-margin-top: 5rem; }
  .bk-table, .bk-table tbody { display: block; }
  .bk-table thead { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
  .bk-table tbody tr {
    display: grid; grid-template-columns: 1fr auto; column-gap: 0.8rem;
    margin: 0 0 0.9rem; padding: 1rem 1rem 0.5rem;
    background: var(--white); border: 1px solid var(--line-soft); border-radius: 16px; box-shadow: var(--shadow-card);
  }
  .bk-table tbody tr:target { background: var(--white); }
  .bk-table tbody th, .bk-table tbody td { display: block; padding: 0; border: 0; width: auto; }
  .bk-table tbody th { grid-column: 1; grid-row: 1; align-self: center; }
  .bk-table td.c-src { grid-column: 2; grid-row: 1; align-self: center; text-align: right; }
  .bk-table td.c-date { grid-column: 1 / -1; grid-row: 2; margin: 0.7rem 0 0.1rem; }
  .bk-table td.c-f { grid-column: 1 / -1; padding: 0.7rem 0 0.6rem; border-top: 1px solid var(--line-soft); margin-top: 0.5rem; font-size: 0.97rem; color: var(--ink); }
  .bk-lbl { display: flex; align-items: center; gap: 0.4rem; margin-bottom: 0.3rem; font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 700; color: var(--muted); line-height: 1.3; }
  .bk-lbl .bk-i { width: 1rem; height: 1rem; }
  .c-src .bk-lbl { justify-content: flex-end; margin-bottom: 0.25rem; }
  .c-date .bk-lbl { display: inline-flex; margin: 0 0.4rem 0 0; vertical-align: -0.15rem; }
  .bk-prov { font-size: 1.3rem; }

  /* Province tabs: only once blocks.js has run (.is-tabbed). Without JS the tabs are jump links and every card shows. */
  [data-bk-tabs] .bk-tabs { display: grid; grid-template-columns: repeat(var(--c, 3), 1fr); gap: 0.45rem; margin: 0 0 0.8rem; }
  .bk-tab {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.3rem;
    min-height: 3.4rem; padding: 0.5rem 0.35rem; text-align: center; text-decoration: none;
    font-size: 0.8rem; font-weight: 700; line-height: 1.2; color: var(--ink);
    background: var(--white); border: 1px solid var(--line); border-radius: 12px;
  }
  .bk-tab .mk { width: 1.25rem; height: 1.25rem; }
  .bk-tab .mk--change { width: 2.7rem; }
  .bk-tab[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
  .bk-tab:focus-visible { outline: 2px solid var(--teal-deep); outline-offset: 2px; }
  .is-tabbed tbody tr { display: none; }
  .is-tabbed tbody tr.is-on { display: grid; animation: bkIn .25s ease; }
}
@keyframes bkIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .is-tabbed tbody tr.is-on { animation: none; } }

/* ---------- BIG-NUMBER ---------- */
.bk-nums { display: grid; grid-template-columns: repeat(var(--n, 3), 1fr); gap: 1rem; }
.bk-num { background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 1.5rem 1.4rem 1.4rem; box-shadow: var(--shadow-card); display: flex; flex-direction: column; }
.bk-num b { display: block; font-family: var(--font-display); font-weight: 500; font-size: clamp(2.6rem, 5vw, 3.4rem); line-height: 1; letter-spacing: -0.03em; color: var(--ink); }
.bk-num b.is-date { font-size: clamp(1.8rem, 3.2vw, 2.2rem); line-height: 1.05; }
.bk-num p { margin: 0.7rem 0 0; color: var(--ink-soft); font-size: 0.95rem; line-height: 1.45; }
.bk-viz { margin-top: auto; padding-top: 1.1rem; display: flex; align-items: center; gap: 0.3rem; flex-wrap: wrap; }
.bk-viz .mk { width: 1.6rem; height: 1.6rem; }
.bk-viz .mk--change { width: 3.5rem; }
.bk-year { flex: 1; height: 0.55rem; border-radius: 99px; background: var(--teal); position: relative; }
.bk-year::after { content: ""; position: absolute; right: -2px; top: -0.35rem; width: 3px; height: 1.25rem; background: var(--ink); border-radius: 2px; }
@media (max-width: 47.99em) {
  .bk-nums { grid-template-columns: 1fr; gap: 0.75rem; }
  .bk-num { display: grid; grid-template-columns: minmax(6.2rem, auto) 1fr; column-gap: 1rem; align-items: center; padding: 1.1rem; }
  .bk-num b { grid-column: 1; grid-row: 1 / span 2; font-size: 2.15rem; white-space: nowrap; }
  .bk-num b.is-date { font-size: 1.4rem; white-space: normal; }
  .bk-num p { grid-column: 2; margin: 0; }
  .bk-viz { grid-column: 2; padding-top: 0.55rem; }
}

/* ---------- STEPS ---------- */
.bk-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(var(--n, 2), 1fr); gap: 1rem; counter-reset: bkstep; }
.bk-steps li { counter-increment: bkstep; position: relative; margin: 0; padding: 1.3rem 1.25rem 1.2rem; background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--radius); }
.bk-steps li::before { content: counter(bkstep); display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 99px; background: var(--ink); color: #fff; font-family: var(--font-display); font-size: 1.15rem; margin-bottom: 0.9rem; }
.bk-steps li strong { display: block; font-family: var(--font-display); font-weight: 500; font-size: 1.18rem; line-height: 1.2; color: var(--ink); margin-bottom: 0.35rem; }
.bk-steps li span { display: block; color: var(--ink-soft); line-height: 1.5; font-size: 0.95rem; }
.bk-steps li + li::after { content: ""; position: absolute; left: -1rem; top: 2.5rem; width: 1rem; height: 2px; background: var(--teal); }
@media (min-width: 40em) and (max-width: 63.99em) { .bk-steps { grid-template-columns: repeat(2, 1fr); } .bk-steps li + li::after { display: none; } }
@media (max-width: 39.99em) {
  .bk-steps { grid-template-columns: 1fr; gap: 0.8rem; }
  .bk-steps li { display: grid; grid-template-columns: 2.4rem 1fr; column-gap: 0.9rem; padding: 1rem 1.1rem; }
  .bk-steps li::before { grid-row: 1 / span 2; margin: 0; }
  .bk-steps li + li::after { left: 2.25rem; top: -0.8rem; width: 2px; height: 0.8rem; }
}

/* ---------- ICON-ROW ---------- */
.bk-icons { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(var(--n, 3), 1fr); gap: 1rem; }
.bk-icons li { margin: 0; padding: 1.3rem 1.2rem; background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--radius); }
.bk-ico { display: grid; place-items: center; width: 2.9rem; height: 2.9rem; border-radius: 14px; background: var(--teal-wash); color: var(--teal-deep); margin-bottom: 0.9rem; }
.bk-ico .bk-i, .bk-ico .mk { display: block; width: 1.5rem; height: 1.5rem; color: var(--teal-deep); }
.bk-icons strong { display: block; font-family: var(--font-display); font-weight: 500; font-size: 1.18rem; color: var(--ink); margin-bottom: 0.3rem; }
.bk-icons li > span:not(.bk-ico) { display: block; color: var(--ink-soft); font-size: 0.93rem; line-height: 1.5; }
.bk-icons a { color: var(--teal-deep); }
@media (min-width: 40em) and (max-width: 63.99em) { .bk-icons { grid-template-columns: repeat(min(var(--n, 3), 3), 1fr); } }
@media (max-width: 47.99em) {
  .bk-icons { grid-template-columns: 1fr; gap: 0.6rem; }
  .bk-icons li { display: grid; grid-template-columns: 2.9rem 1fr; column-gap: 0.9rem; padding: 1rem; }
  .bk-ico { grid-row: 1 / span 2; margin: 0; }
}

/* ---------- FAQ ---------- */
.bk-faq { border-top: 1px solid var(--line); }
.bk-faq .faq-q { font-size: 1.08rem; text-align: left; color: var(--ink); }
.bk-faq .faq-a p { margin: 0; }
.bk-disclaim { margin-top: 1.6rem; }

/* ---------- Closing CTA ---------- */
.bk-end { background: var(--ink); color: #F4F1EA; border-radius: var(--radius); padding: 2.2rem 2rem; margin: 3.4rem 0 1rem; position: relative; overflow: hidden; }
.bk-end > * { position: relative; }
.bk-end h2 { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.6rem, 3vw, 2.1rem); line-height: 1.12; margin: 0 0 0.7rem; color: #F4F1EA; }
.bk-end p { color: rgba(244, 241, 234, 0.82); margin: 0 0 1.5rem; max-width: 34em; }
.bk-end .bk-cta { margin: 0; }
.bk-end .text-link { color: #8FD6CB; text-decoration-color: rgba(143, 214, 203, 0.5); }
.bk-end > .mk-bg { position: absolute; right: -3.2rem; bottom: -3.2rem; width: 10rem; height: 10rem; opacity: 0.12; }
@media (max-width: 39.99em) { .bk-end { padding: 1.8rem 1.3rem; } }

/* ---------- Sources ---------- */
.bk-sources-wrap h2 { margin-top: 2.6rem; }
.bk-sources { font-size: 0.86rem; }
.bk-sources li { margin-bottom: 0.35rem; }
