.bh /* ============================================================
   Blank — Casebook page styles
   Loaded after styles.bh-css; reuses its tokens and base components
   (.bh-wrap, .bh .bh-heading, .bh .bh-display, .bh .bh-lede, .bh .bh-btn, .bh .bh-case-tag, .bh .bh-arrow-key).
   ============================================================ */

/* ---------- hero ---------- */
.bh-cb-hero { padding: 120px 0 64px; }
.bh .bh-cb-hero .bh-wrap { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: end; }
.bh .bh-cb-hero h1 { max-width: 9em; }
.bh .bh-cb-hero .bh-lede { max-width: 560px; margin-top: 22px; }
.bh .bh-cb-proof { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.bh .bh-cb-proof div { border: 1px solid var(--line-soft); border-radius: 20px; padding: 20px 22px 18px; background: var(--paper); box-shadow: 0 24px 48px -40px rgba(20, 18, 58, 0.28); }
.bh .bh-cb-proof b { display: block; font-weight: 700; font-size: clamp(30px, 2.6vw, 38px); letter-spacing: -0.03em; line-height: 1; }
.bh .bh-cb-proof b em { font-style: normal; color: var(--violet); }
.bh .bh-cb-proof span { display: block; margin-top: 8px; font-size: 13.5px; color: var(--muted); line-height: 1.45; }

.bh /* ---------- featured ---------- */
.bh-cb-featured { padding-bottom: 72px; }
.bh .bh-cb-feature {
  position: relative;
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  background: var(--navy);
  color: #fff;
  border-radius: 32px;
  overflow: hidden;
  min-height: 460px;
  box-shadow: 0 40px 80px -48px rgba(20, 18, 58, 0.5);
}
.bh .bh-cb-feature-art { position: relative; min-height: 320px; }
.bh .bh-cb-feature-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bh .bh-cb-feature-art::after { content: ""; position: absolute; inset: -1px; background: linear-gradient(to right, transparent 50%, var(--navy) 100%); }
.bh .bh-cb-feature:hover { box-shadow: 0 48px 90px -48px rgba(64, 56, 216, 0.55); }
.bh .bh-cb-feature { transition: box-shadow 0.7s var(--ease); }
.bh .bh-cb-feature-body { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: center; gap: 18px; padding: 52px 56px 52px 32px; }
.bh .bh-cb-feature-body .bh-cb-meta { color: rgba(214, 212, 247, 0.7); }
.bh .bh-cb-feature-body h2 { font-weight: 700; font-size: clamp(28px, 2.8vw, 38px); letter-spacing: -0.025em; line-height: 1.1; }
.bh .bh-cb-feature-body p { color: rgba(214, 212, 247, 0.78); font-size: 16px; line-height: 1.65; max-width: 460px; }
.bh .bh-cb-feature-result { display: flex; align-items: center; gap: 14px; margin-top: 8px; padding-top: 18px; border-top: 1px solid rgba(176, 176, 240, 0.2); font-size: 14.5px; font-weight: 500; }
.bh .bh-cb-feature-result .bh-arrow-key { margin-left: auto; background: #fff; color: var(--violet); }
.bh .bh-cb-feature-eyebrow { position: absolute; top: 22px; left: 24px; z-index: 2; }

.bh /* ---------- filters ---------- */
.bh-cb-filters { display: flex; flex-direction: column; gap: 14px; margin-bottom: 40px; }
.bh .bh-cb-filter-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.bh .bh-cb-filter-label { font-size: 12px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); min-width: 64px; }
.bh .bh-cb-chip {
  appearance: none;
  font: inherit;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 9999px;
  padding: 8px 14px;
  transition: background-color 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s var(--ease);
}
.bh .bh-cb-chip b { font-weight: 500; font-size: 12px; color: var(--muted); }
.bh .bh-cb-chip:hover { border-color: var(--violet); }
.bh .bh-cb-chip.bh-is-on { background: var(--ink); border-color: var(--ink); color: #fff; }
.bh .bh-cb-chip.bh-is-on b { color: rgba(255, 255, 255, 0.65); }
.bh .bh-cb-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 22px; }
.bh .bh-cb-count { font-size: 14px; color: var(--muted); }
.bh .bh-cb-count b { color: var(--ink); font-weight: 600; }
.bh .bh-cb-reset { appearance: none; border: 0; background: none; font: inherit; font-size: 14px; font-weight: 500; color: var(--violet); cursor: pointer; border-bottom: 1px solid rgba(64, 56, 216, 0.3); }
.bh .bh-cb-reset[hidden] { display: none; }

.bh /* ---------- grid ---------- */
.bh-cb-list { padding-bottom: 130px; }
.bh .bh-cb-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.bh .bh-cb-card {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: 26px;
  padding: 8px;
  color: inherit;
  box-shadow: 0 24px 48px -36px rgba(20, 18, 58, 0.28);
  transition: transform 0.7s var(--ease), box-shadow 0.7s var(--ease);
}
.bh .bh-cb-card:hover { transform: translateY(-6px); box-shadow: 0 36px 68px -36px rgba(64, 56, 216, 0.38); }
.bh .bh-cb-card:hover .bh-arrow-key { transform: translate(3px, -3px); }
.bh .bh-cb-card[hidden] { display: none; }
.bh .bh-cb-art { position: relative; height: 230px; border-radius: 19px; overflow: hidden; background: var(--navy); }
.bh .bh-cb-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.bh .bh-cb-card:hover .bh-cb-art img { transform: scale(1.04); }
.bh .bh-cb-art::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to top, rgba(8, 8, 32, 0.55) 0%, rgba(8, 8, 32, 0.1) 45%, transparent 70%); }
.bh .bh-cb-art .bh-case-tag { position: absolute; top: 16px; left: 20px; z-index: 2; }
.bh .bh-cb-art .bh-cb-year { position: absolute; top: 16px; right: 20px; z-index: 2; font-size: 12px; font-weight: 500; letter-spacing: 0.06em; color: rgba(255, 255, 255, 0.85); background: rgba(12, 16, 72, 0.35); border: 1px solid rgba(255, 255, 255, 0.22); border-radius: 9999px; padding: 6px 11px; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.bh .bh-cb-body { padding: 22px 20px 18px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.bh .bh-cb-meta { display: flex; flex-wrap: wrap; gap: 6px 10px; font-size: 12px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.bh .bh-cb-meta span + span::before { content: "·"; margin-right: 10px; }
.bh .bh-cb-body h3 { font-weight: 600; font-size: 19px; letter-spacing: -0.015em; line-height: 1.3; }
.bh .bh-cb-body p { color: var(--muted); font-size: 15px; line-height: 1.6; flex: 1; }
.bh .bh-cb-foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; border-top: 1px solid var(--line-soft); padding-top: 16px; font-size: 14px; font-weight: 500; line-height: 1.45; }
.bh .bh-cb-foot .bh-arrow-key { flex: none; }
.bh .bh-cb-empty { text-align: center; padding: 56px 20px; color: var(--muted); border: 1px dashed var(--line); border-radius: 22px; }
.bh .bh-cb-empty[hidden] { display: none; }

.bh /* ---------- process band ---------- */
.bh-cb-process { padding-bottom: 130px; }
.bh .bh-cb-process-card { background: var(--bg-tint); border: 1px solid var(--line-soft); border-radius: 32px; padding: 52px 56px; }
.bh .bh-cb-process-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 36px; }
.bh .bh-cb-process-head .bh-lede { max-width: 520px; }
.bh .bh-cb-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); }
.bh .bh-cb-step { padding: 26px 28px 8px 0; border-right: 1px solid var(--line); }
.bh .bh-cb-step + .bh-cb-step { padding-left: 28px; }
.bh .bh-cb-step:last-child { border-right: 0; padding-right: 0; }
.bh .bh-cb-step .bh-idx { font-weight: 600; font-size: 13.5px; color: var(--violet); }
.bh .bh-cb-step h3 { font-weight: 600; font-size: 19px; letter-spacing: -0.015em; margin: 14px 0 10px; }
.bh .bh-cb-step p { color: var(--muted); font-size: 15px; line-height: 1.6; }

.bh /* ---------- CTA ---------- */
.bh-cb-cta { padding-bottom: 130px; }
.bh .bh-cb-cta-card { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; background: linear-gradient(135deg, rgba(64, 56, 216, 0.07), rgba(176, 176, 240, 0.14)); border: 1px solid rgba(64, 56, 216, 0.12); border-radius: 32px; padding: 52px 56px; }
.bh .bh-cb-cta-card h2 { max-width: 12em; }
.bh .bh-cb-cta-card p { color: var(--muted); font-size: 16.5px; line-height: 1.65; margin-top: 16px; max-width: 520px; }
.bh .bh-cb-cta-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; justify-self: end; }
.bh .bh-cb-cta-actions .bh-footer-alt { color: var(--muted); }
.bh .bh-cb-cta-actions .bh-footer-alt a { color: var(--ink); border-color: var(--line); }

.bh /* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .cb-grid { grid-template-columns: repeat(2, 1fr); }
  .cb-steps { grid-template-columns: repeat(2, 1fr); }
  .cb-step:nth-child(2) { border-right: 0; padding-right: 0; }
  .cb-step:nth-child(3) { padding-left: 0; }
  .cb-step:nth-child(n+3) { border-top: 1px solid var(--line); }
  .cb-cta-card, .cb-process-card { padding: 40px; }
  .cb-cta-card { grid-template-columns: 1fr; }
  .cb-cta-actions { justify-self: start; }
}
@media (max-width: 960px) {
  .bh .bh-cb-hero { padding: 64px 0 40px; }
  .bh .bh-cb-hero .bh-wrap { grid-template-columns: 1fr; gap: 32px; }
  .bh .bh-cb-feature { grid-template-columns: 1fr; min-height: 0; }
  .bh .bh-cb-feature-art { min-height: 260px; }
  .bh .bh-cb-feature-art::after { background: linear-gradient(to bottom, transparent 50%, var(--navy) 100%); }
  .bh .bh-cb-feature-body { padding: 8px 28px 32px; }
}

@media (max-width: 640px) {
  .bh .bh-cb-hero { padding: 44px 0 28px; }
  .bh .bh-cb-proof { grid-template-columns: 1fr 1fr; gap: 10px; }
  .bh .bh-cb-proof div { padding: 16px 16px 14px; }
  .bh .bh-cb-grid { grid-template-columns: 1fr; gap: 14px; }
  .bh .bh-cb-art { height: 200px; }
  .bh .bh-cb-filter-label { min-width: 0; width: 100%; }
  .bh .bh-cb-list, .bh .bh-cb-process, .bh .bh-cb-cta { padding-bottom: 88px; }
  .bh .bh-cb-steps { grid-template-columns: 1fr; }
  .bh .bh-cb-step { border-right: 0; padding: 22px 0 6px; border-top: 1px solid var(--line); }
  .bh .bh-cb-step + .bh-cb-step { padding-left: 0; }
  .bh .bh-cb-step:first-child { border-top: 0; }
  .bh .bh-cb-cta-card, .bh .bh-cb-process-card { padding: 30px 22px; border-radius: 24px; }
  .bh .bh-cb-feature { border-radius: 24px; }
}

