/* Blog designs (review): four archives, four single posts. Dummy content. */
.bx-switch { position: fixed; left: 50%; bottom: 12px; z-index: 60; display: flex; gap: 6px; padding: 4px; border-radius: 10px; background: rgba(4, 23, 23, .92); transform: translateX(-50%); }
.bx-switch span { display: flex; gap: 2px; }
.bx-switch a { display: grid; place-items: center; height: 28px; padding: 0 9px; border-radius: 7px; font-size: 13px; white-space: nowrap; color: var(--on-dark-muted); }
.bx-switch a:hover { color: #fff; }
.bx-switch a.is-on { background: var(--mint); color: var(--ink); }

/* ---------- shared ---------- */
.bl { padding-top: calc(var(--hdr-h) + clamp(32px, 4vw, 60px)); }
.bl + .cta, .bp-rel + .cta { margin-top: var(--sec); }
.bl__head { display: grid; gap: 16px; margin-bottom: clamp(24px, 2.6vw, 36px); }
.bl__head .lede { max-width: 56ch; }
.bp-cat { display: inline-flex; align-items: center; height: 24px; padding: 0 9px; border-radius: 6px; background: var(--tint-2); font-size: 13px; font-weight: 400; color: var(--green); width: fit-content; }
.bp-meta { display: flex; gap: 14px; font-size: 13.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.bp-meta span + span::before { content: ""; display: inline-block; width: 3px; height: 3px; border-radius: 50%; background: currentColor; margin-right: 14px; vertical-align: middle; }
.bp-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.bp-chips button { height: 36px; padding: 0 14px; border-radius: var(--r-sm); border: 1px solid var(--line-strong); font-size: 14.5px; color: var(--ink); background: #fff; transition: background-color .25s, color .25s, border-color .25s; }
.bp-chips button.is-on { background: var(--deep); border-color: var(--deep); color: var(--mint); }
.bp-chips--list { display: grid; gap: 0; border-top: 1px solid var(--line); margin-top: 8px; }
.bp-chips--list button { height: 44px; padding: 0; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; text-align: left; font-size: 15.5px; color: var(--text2); background: none; }
.bp-chips--list button.is-on { background: none; color: var(--ink); font-weight: 500; }
.bp-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 20px; }
.bp-card { display: grid; gap: 10px; align-content: start; }
.bp-card[hidden], .bp-row[hidden], .blc__row[hidden] { display: none; }
.bp-card__img { display: block; aspect-ratio: 16 / 10; border-radius: var(--r); overflow: hidden; background: var(--tint-2); margin-bottom: 6px; }
.bp-card__img img, .bla__feat-img img, .blb__big > img, .blb__small-img img, .bld__lead-img img, .bp-row__img img, .bpa__cover img, .bpb__cover img, .bpd__cover img { width: 100%; height: 100%; object-fit: cover; }
.bp-card__t { font-size: 20px; font-weight: 500; line-height: 1.25; letter-spacing: -.012em; color: var(--ink); text-wrap: balance; }
.bp-more { display: flex; justify-content: center; margin-top: clamp(32px, 4vw, 56px); }
.bla__ex { display: block; font-size: 16.5px; line-height: 1.45; color: var(--text2); max-width: 46ch; }

/* ================= A: featured split ================= */
.bla__feat { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); margin-block: clamp(24px, 2.6vw, 36px) clamp(36px, 4.4vw, 64px); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.bla__feat-text { display: grid; gap: 16px; align-content: center; justify-items: start; padding: clamp(24px, 3vw, 48px); }
.bla__feat-text .h2 { display: block; font-size: clamp(26px, 2.65vw, 40px); }
.bla__feat-img { display: block; min-height: 380px; background: var(--tint-2); }

/* ================= B: dark opener ================= */
.blb { position: relative; isolation: isolate; overflow: hidden; background: var(--ink); color: var(--on-dark); padding-bottom: clamp(40px, 4.4vw, 64px); }
.blb > .dots { z-index: -1; height: 100%; -webkit-mask-image: linear-gradient(180deg, #000 0, rgba(0, 0, 0, .25) 46%, transparent 78%); mask-image: linear-gradient(180deg, #000 0, rgba(0, 0, 0, .25) 46%, transparent 78%); }
.blb .h1 { color: #fff; }
.blb .lede { color: var(--on-dark-muted); }
.blb__top { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 12px; }
.blb__big { position: relative; display: block; min-height: 440px; border-radius: var(--r); overflow: hidden; background: var(--deep); }
.blb__big > img { position: absolute; inset: 0; }
.blb__big::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(4, 23, 23, .92) 0, rgba(4, 23, 23, .5) 38%, rgba(4, 23, 23, 0) 68%); }
.blb__big-text { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; display: grid; gap: 12px; padding: clamp(20px, 2.4vw, 36px); }
.blb__big-text b { font-size: clamp(24px, 2.4vw, 36px); font-weight: 400; line-height: 1.14; letter-spacing: -.025em; color: #fff; max-width: 20ch; }
.blb .bp-cat { background: rgba(177, 255, 169, .16); color: var(--mint); }
.blb .bp-meta { color: var(--on-dark-muted); }
.blb__side { display: grid; gap: 12px; }
.blb__small { display: grid; gap: 8px; align-content: start; padding: 12px 12px 18px; border-radius: var(--r); border: 1px solid var(--line-dark); background: rgba(8, 36, 36, .7); }
.blb__small-img { display: block; aspect-ratio: 16 / 7.4; border-radius: var(--r-sm); overflow: hidden; margin-bottom: 6px; }
.blb__small b { font-size: 18px; font-weight: 500; line-height: 1.25; color: #fff; }
.blb2 { padding-top: clamp(48px, 5vw, 76px); }
.blb2__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; margin-bottom: 28px; }

/* ================= C: index list ================= */
.blc__grid { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: clamp(32px, 7vw, 120px); align-items: start; }
.blc__side { position: sticky; top: calc(var(--row) + 32px); display: grid; gap: 16px; }
.blc__list { border-top: 1px solid var(--line-strong); }
.blc__row { display: grid; grid-template-columns: 108px minmax(0, 1fr) auto 32px; gap: 20px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line); }
.blc__date { font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; }
.blc__text { display: grid; gap: 6px; }
.blc__text b { font-size: clamp(19px, 1.6vw, 24px); font-weight: 400; line-height: 1.2; letter-spacing: -.018em; color: var(--ink); }
.blc__text span { font-size: 15px; color: var(--text2); max-width: 62ch; }
.blc__row .go { justify-self: end; color: var(--ink); }

/* ================= D: magazine ================= */
.bld__head { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 24px clamp(24px, 6vw, 112px); align-items: end; margin-bottom: clamp(28px, 3vw, 44px); }
.bld__top { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(24px, 3.4vw, 56px); align-items: start; }
.bld__lead { display: grid; gap: 14px; justify-items: start; }
.bld__lead-img { display: block; width: 100%; aspect-ratio: 16 / 10; border-radius: var(--r); overflow: hidden; background: var(--tint-2); margin-bottom: 6px; }
.bld__lead .h2 { font-size: clamp(26px, 2.65vw, 40px); }
.bld__stack { display: grid; border-top: 1px solid var(--line); }
.bp-row { display: grid; grid-template-columns: 148px minmax(0, 1fr); gap: 18px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.bp-row__img { display: block; aspect-ratio: 4 / 3; border-radius: var(--r-sm); overflow: hidden; background: var(--tint-2); }
.bp-row__text { display: grid; gap: 8px; }
.bp-row__text b { font-size: 18px; font-weight: 500; line-height: 1.25; color: var(--ink); }
.bld__band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; margin-block: clamp(40px, 5vw, 72px); padding: clamp(22px, 2.6vw, 36px); border-radius: var(--r); background: var(--ink); color: var(--on-dark-muted); }
.bld__band p { display: grid; gap: 6px; font-size: 16px; }
.bld__band b { font-size: clamp(21px, 1.86vw, 28px); font-weight: 400; letter-spacing: -.02em; color: #fff; }
.bld__sec { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 26px; }

/* ================= single posts: shared ================= */
.bp-back { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; color: var(--text2); width: fit-content; }
.bp-back .arr { transform: rotate(180deg); }
.bp-kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; }
.bp-author { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--text2); }
.bp-author img { width: 40px; height: 40px; border-radius: 10px; }
.bp-author b { display: block; font-weight: 500; font-size: 15px; color: var(--ink); }
.bp-author--center { justify-content: center; text-align: left; }
.bp-body { font-size: 18px; line-height: 1.62; color: var(--text); max-width: 680px; }
.bp-body > * + * { margin-top: 1.15em; }
.bp-body .bp-lead { font-size: 22px; line-height: 1.45; letter-spacing: -.012em; color: var(--ink); }
.bp-body h2 { font-size: clamp(24px, 2.2vw, 30px); font-weight: 400; line-height: 1.2; letter-spacing: -.022em; color: var(--ink); margin-top: 1.9em; scroll-margin-top: 140px; }
.bp-body ul { display: grid; gap: 8px; padding-left: 0; }
.bp-body ul li { position: relative; padding-left: 26px; }
.bp-body ul li::before { content: ""; position: absolute; left: 6px; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.bp-body blockquote { margin-block: 1.8em; padding: clamp(22px, 2.6vw, 36px); border-radius: var(--r); background: var(--tint); font-size: clamp(22px, 2vw, 28px); line-height: 1.3; letter-spacing: -.02em; color: var(--ink); }
.bp-fig { margin-block: 1.8em; }
.bp-fig img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r); }
.bp-fig figcaption { margin-top: 10px; font-size: 14px; color: var(--muted); }
.bp-note { padding: 20px 22px; border-radius: var(--r); border: 1px solid var(--line); font-size: 16px; }
.bp-note b { display: block; font-weight: 500; color: var(--ink); margin-bottom: 4px; }
.bp-share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 2.6em; padding-top: 22px; border-top: 1px solid var(--line); font-size: 14.5px; color: var(--muted); }
.bp-share a { display: inline-flex; align-items: center; height: 34px; padding: 0 12px; border-radius: var(--r-sm); border: 1px solid var(--line-strong); color: var(--ink); }
.bp-toc { display: grid; gap: 0; font-size: 14.5px; }
.bp-toc p { font-size: 14px; color: var(--muted); margin-bottom: 8px; }
.bp-toc a { padding: 8px 0; border-top: 1px solid var(--line); color: var(--text2); line-height: 1.3; }
.bp-rel { padding-top: var(--sec); }

/* A: centred, wide cover */
.bpa__head { display: grid; justify-items: center; gap: 20px; text-align: center; }
.bpa__head .bp-back { justify-self: start; margin-bottom: 8px; }
.bpa__h { font-size: clamp(34px, 4.2vw, 64px); letter-spacing: -.04em; max-width: 19ch; }
.bpa__cover { aspect-ratio: 21 / 9; border-radius: var(--r); overflow: hidden; margin-block: clamp(28px, 3.4vw, 52px); background: var(--tint-2); }
.bpa__body { margin-inline: auto; }

/* B: left rail with contents */
.bpb__grid { display: grid; grid-template-columns: 200px minmax(0, 680px) minmax(0, 1fr); gap: clamp(32px, 6vw, 104px); align-items: start; }
.bpb__rail { position: sticky; top: calc(var(--row) + 32px); display: grid; gap: 28px; }
.bpb__main { display: grid; gap: 20px; min-width: 0; }
.bpb__h { font-size: clamp(30px, 3.1vw, 46px); letter-spacing: -.033em; }
.bpb__cover { aspect-ratio: 16 / 9; border-radius: var(--r); overflow: hidden; margin-block: 12px 16px; background: var(--tint-2); }

/* C: tinted title band, words first */
.bpc { padding-top: 0; }
.bpc__band { padding: calc(var(--hdr-h) + clamp(28px, 3.4vw, 48px)) 0 clamp(36px, 4.4vw, 64px); background-color: var(--tint); background-image: radial-gradient(rgba(7, 41, 41, .12) 1px, transparent 1.2px); background-size: 9px 9px; }
.bpc__band .wrap { display: grid; justify-items: center; gap: 20px; text-align: center; }
.bpc__band .bp-back { justify-self: start; }
.bpc__h { font-size: clamp(32px, 3.9vw, 58px); letter-spacing: -.038em; max-width: 20ch; }
.bpc__body { max-width: 760px; margin: clamp(36px, 4.4vw, 64px) auto 0; }

/* D: title beside the cover, sticky trial card */
.bpd__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(24px, 4.4vw, 72px); align-items: center; margin-bottom: clamp(36px, 4.4vw, 64px); }
.bpd__title { display: grid; gap: 20px; }
.bpd__h { font-size: clamp(30px, 3.3vw, 50px); letter-spacing: -.035em; }
.bpd__cover { aspect-ratio: 4 / 3; border-radius: var(--r); overflow: hidden; background: var(--tint-2); }
.bpd__grid { display: grid; grid-template-columns: minmax(0, 680px) minmax(0, 320px); gap: clamp(32px, 6vw, 104px); justify-content: space-between; align-items: start; }
.bpd__side { position: sticky; top: calc(var(--row) + 32px); display: grid; gap: 28px; }
.bpd__cta { display: grid; gap: 12px; justify-items: start; padding: 24px; border-radius: var(--r); background: var(--ink); color: var(--on-dark-muted); font-size: 15px; }
.bpd__cta b { font-size: 22px; font-weight: 400; line-height: 1.2; letter-spacing: -.02em; color: #fff; }

@media (max-width: 1040px) {
  .bp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bla__feat, .blb__top, .blc__grid, .bld__head, .bld__top, .bpb__grid, .bpd__head, .bpd__grid { grid-template-columns: minmax(0, 1fr); }
  .bla__feat-img { order: -1; min-height: 0; aspect-ratio: 16 / 9; }
  .blc__side, .bpb__rail, .bpd__side { position: static; }
  .bpb__rail .bp-toc { display: none; }
  .blb__big { min-height: 340px; }
}
@media (max-width: 640px) {
  .bp-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .blc__row { grid-template-columns: minmax(0, 1fr) 24px; gap: 8px 12px; }
  .blc__date { grid-column: 1 / -1; }
  .blc__row .bp-cat { grid-row: 3; }
  .blc__row .go { grid-row: 2; grid-column: 2; }
  .bp-row { grid-template-columns: 104px minmax(0, 1fr); }
  .bp-body { font-size: 17px; }
  .bp-body .bp-lead { font-size: 19.5px; }
  .bpa__cover { aspect-ratio: 16 / 10; }
  .bx-switch { gap: 2px; max-width: calc(100vw - 16px); overflow-x: auto; }
  .bx-switch a { padding: 0 6px; font-size: 12px; }
}

/* the riso prints keep their detail in the lower half: wide crops frame that part, not the empty sky */
.bla__feat-img img, .blb__big > img, .bpa__cover img, .bpb__cover img, .blb__small-img img, .bp-card__img img, .bp-row__img img { object-position: 50% 88%; }
