/* ===========================================================
   /newdesign/ — bluehouse design (draft)
   ===========================================================

   SPEC: DESIGN-bluehouse.md. Layout and every measurement below come
   from Mike's site design, BlueHouse_site_2.pdf (Illustrator, a
   2000px-wide artboard with a 1310px content column). Sizes in the
   comments are the design's pixels; the CSS reaches them at a 1440px
   viewport and scales down below that.

   SELF-CONTAINED ON PURPOSE. /newdesign/ loads only this file; the
   site pages load it between css/bluehouse-base.css and
   css/bluehouse-site.css. Tokens are namespaced --bh-*.
   =========================================================== */

/* ---------- Fonts ----------
   The design is set in Knile (headings, kickers, buttons) and Bariol
   (running text), both Atipo Foundry, self-hosted from
   assets/newdesign/fonts (Knile: webfont licence for one website).
   Knile Light, Regular and SemiBold; Bariol Regular and Bold. No
   external font service. The stacks keep system fallbacks (Rockwell,
   Georgia; system-ui) for the moment before the woff2 files load.
   The three stacks (--bh-font-display, -light, -strong) all point at
   "Knile" now; they stay separate so each role is easy to find. */

@font-face {
  font-family: "Knile";
  src: url("/assets/newdesign/fonts/knile-light.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Knile";
  src: url("/assets/newdesign/fonts/knile-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Knile";
  src: url("/assets/newdesign/fonts/knile-semibold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Bariol";
  src: url("/assets/newdesign/fonts/bariol-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Bariol";
  src: url("/assets/newdesign/fonts/bariol-bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  /* ---------- Colours: the design's vector values ---------- */
  --bh-petrol:  #004867;   /* headings, text, cards, footer */
  --bh-ruby:    #AB3A2E;   /* actions, kickers, rules, closing panel */
  --bh-linnen:  #FFF5ED;   /* hero and steps background, light card */
  --bh-sand:    #F0BA83;   /* accent on petrol and on photos */
  --bh-white:   #FFFFFF;
  --bh-petrol-soft: #7FA3B3;   /* inactive language */
  --bh-olive:   #8A8122;   /* brand colour, not used on this page */
  --bh-antraciet: #1D262B; /* brand support colour, not used on this page */
  /* Tints (Merkpresentatie 04: 80 · 60 · 40 · 20%, the colour mixed with white) */
  --bh-ruby-80: #BC6158;
  --bh-ruby-60: #CD8982;
  --bh-ruby-40: #DDB0AB;
  --bh-ruby-20: #EED8D5;
  --bh-sand-80: #F3C89C;
  --bh-sand-60: #F6D6B5;
  --bh-petrol-80: #336D85;
  --bh-olive-80: #A19A4E;

  /* ---------- Typography ---------- */
  --bh-font-display:        "Knile", Rockwell, Georgia, serif;                     /* 400 */
  --bh-font-display-light:  "Knile", Rockwell, Georgia, serif;                     /* 300 */
  --bh-font-display-strong: "Knile", Rockwell, Georgia, serif;                     /* 600 */
  --bh-font-text:           "Bariol", ui-rounded, "Segoe UI", system-ui, sans-serif;

  --bh-t-hero:    clamp(2.75rem, 6.74 * var(--bh-vu), 6.0625rem);   /* 97 */
  --bh-t-h2:      clamp(2.125rem, 5.35 * var(--bh-vu), 4.8125rem);  /* 77 */
  --bh-t-sub:     clamp(1.25rem, 2.15 * var(--bh-vu), 1.9375rem);   /* 31 */
  --bh-t-card:    clamp(1.625rem, 2.57 * var(--bh-vu), 2.3125rem);  /* 37 */
  --bh-t-panel-sub: clamp(1.1875rem, 1.8 * var(--bh-vu), 1.625rem); /* 26 */
  --bh-t-lead:    clamp(1.125rem, 1.7 * var(--bh-vu), 1.525rem);    /* 24.4 */
  --bh-t-body:    clamp(1.0625rem, 1.39 * var(--bh-vu), 1.25rem);   /* 20 */
  --bh-t-nav:     1.1625rem;                           /* 18.6 */
  --bh-t-kicker-hero: 1.375rem;                        /* 22 */
  --bh-t-kicker:  1.125rem;                            /* 18 */
  --bh-t-kicker-card: 0.9375rem;                       /* 15 */
  --bh-t-kicker-small: 0.875rem;                       /* 14 */

  /* ---------- Layout ---------- */
  /* Fit to height (OP-41): one design unit, 1vw (1440 wide = the design),
     but never more than 2vh - 4.5px: 14.4px (the design) at 945px high, a
     1080p screen at 100%, and less below that, so on a short laptop screen
     the page scales down as a whole, like the design at a smaller size. Only from 900px;
     on phones and tablets in portrait the width decides, as before. */
  --bh-vu: 1vw;
  --bh-content: 1310px;
  --bh-gutter:  clamp(20px, 4.5vw, 65px);
  --bh-gap:     clamp(24px, 4.4 * var(--bh-vu), 63px);    /* between the two cards */
  --bh-gap-3:   clamp(20px, 3.3 * var(--bh-vu), 47px);    /* between the three steps */

  /* ---------- Shape: one rounded corner, top right ---------- */
  --bh-r-hero:  60.5px;
  --bh-r-card:  60px;
  --bh-r-step:  36px;
  --bh-r-panel: 77px;
  --bh-r-cta:   79px;
  --bh-r-feature: 36px;

  /* ---------- Motion ---------- */
  --bh-ease:     cubic-bezier(0.22, 1, 0.36, 1);
  --bh-dur-fast: 200ms;
}

@media (min-width: 900px) {
  :root {
    --bh-vu: min(1vw, 2vh - 4.5px);
    --bh-content: min(1310px, 90.97 * (2vh - 4.5px));   /* 1310 = 90.97 units at 1440 */
    /* Menu and kickers scale with the page too (fixed at 1440 in the design) */
    --bh-t-nav:        clamp(0.9375rem, 1.2917 * var(--bh-vu), 1.1625rem);  /* 18.6 */
    --bh-t-kicker-hero: clamp(1rem, 1.5278 * var(--bh-vu), 1.375rem);       /* 22 */
    --bh-t-kicker:     clamp(0.875rem, 1.25 * var(--bh-vu), 1.125rem);      /* 18 */
    --bh-t-body:       clamp(1rem, 1.39 * var(--bh-vu), 1.25rem);          /* 20; 16 at least */
  }
}

@media (max-width: 759px) {
  :root {
    --bh-r-hero: 40px;
    --bh-r-card: 40px;
    --bh-r-step: 28px;
    --bh-r-panel: 44px;
    --bh-r-cta: 44px;
  }
}

@media (prefers-reduced-motion: reduce) {
  :root { --bh-dur-fast: 0ms; }
}

/* ===========================================================
   Reset
   =========================================================== */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--bh-white);
  color: var(--bh-petrol);
  font-family: var(--bh-font-text);
  font-size: var(--bh-t-body);
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: -0.007em;   /* Bariol as tracked in the design */
  /* No -webkit-font-smoothing: antialiased. On macOS that renders all
     text lighter than the design; the default smoothing matches it. */
}

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--bh-font-display);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.021em;   /* the design's Knile headings, measured */
}

p, figure { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; height: auto; }

a { color: inherit; text-decoration: none; }

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
  border-radius: 4px;
}

/* ===========================================================
   Bilingual contract
   Mirrors the site pages (css/bluehouse-base.css): html.lang-xx + [data-lang],
   driven by js/lang.js. Do not reimplement the JS.
   =========================================================== */

[data-lang] { display: none; }

html.lang-en [data-lang="en"],
html.lang-nl [data-lang="nl"] { display: block; }

html.lang-en span[data-lang="en"],
html.lang-nl span[data-lang="nl"] { display: inline; }

html.lang-en li[data-lang="en"],
html.lang-nl li[data-lang="nl"] { display: list-item; }

/* ===========================================================
   Layout
   =========================================================== */

.bh-container {
  position: relative;
  width: 100%;
  max-width: calc(var(--bh-content) + 2 * var(--bh-gutter));
  margin-inline: auto;
  padding-inline: var(--bh-gutter);
}

.bh-section--white  { background: var(--bh-white); }
.bh-section--linnen { background: var(--bh-linnen); }

/* Section rhythm at 1440, measured on ink against the design (top /
   bottom padding): Voor wie 74.3 / 91.3, Hoe 72 / 71.8, panel 79 / 0,
   features 80.8 (to the boxes) / 85, closing 0 / 76 */
.bh-section--who      { padding-block: clamp(48px, 5.16 * var(--bh-vu), 74.3px) clamp(56px, 6.34 * var(--bh-vu), 91.3px); }
.bh-section--how      { padding-block: clamp(48px, 5 * var(--bh-vu), 72px) clamp(56px, 4.99 * var(--bh-vu), 71.8px); }
.bh-section--usecases { padding-block: clamp(48px, 5.16 * var(--bh-vu), 74.3px) clamp(56px, 6.34 * var(--bh-vu), 91.3px); }
.bh-section--panel    { padding-top: clamp(40px, 5.49 * var(--bh-vu), 79px); }
.bh-section--features { padding-block: clamp(40px, 5.61 * var(--bh-vu), 80.8px) clamp(48px, 5.9 * var(--bh-vu), 85px); }
.bh-section--close    { padding-bottom: clamp(40px, 5.3 * var(--bh-vu), 76px); }

/* Thin ruby rules between the bands, as in the design */
.bh-header,
.bh-hero,
.bh-section--who,
.bh-section--usecases,
.bh-section--how { border-bottom: 1px solid var(--bh-ruby); }

/* ===========================================================
   Type helpers
   =========================================================== */

/* Kicker: Knile SemiBold, capitals, ruby */
.bh-kicker {
  display: block;
  margin-bottom: 5.5px;
  color: var(--bh-ruby);
  font-family: var(--bh-font-display-strong);
  font-size: var(--bh-t-kicker);
  font-weight: 600;
  letter-spacing: 0.006em;
  line-height: 1.25;
  text-transform: uppercase;
}

.bh-kicker--hero {
  margin-top: -1.2px;
  margin-bottom: 7px;
  font-size: var(--bh-t-kicker-hero);
}

.bh-h2 {
  font-size: var(--bh-t-h2);
  margin-left: -0.012em;   /* optical: the design sets big headings 0.9px left of the kicker */
}

.bh-section-head { max-width: 1260px; }

.bh-section-head p { margin-top: clamp(12px, 1.74 * var(--bh-vu), 25px); }

/* ===========================================================
   Art: U blocks over a photo or a card colour (spec section 5)
   One SVG per frame (scripts/bh_site_art.py). The photo or base
   colour sits inside the same SVG, so the shapes' blend modes mix
   with it. "slice" scales everything uniformly and crops, so radii
   and lips never stretch when a frame changes shape on mobile.
   =========================================================== */

.bh-art {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.bh-fill--petrol { fill: var(--bh-petrol); }
.bh-fill--ruby   { fill: var(--bh-ruby); }
.bh-fill--linnen { fill: var(--bh-linnen); }
.bh-fill--sand   { fill: var(--bh-sand); }
.bh-fill--ruby-80 { fill: var(--bh-ruby-80); }
.bh-fill--sand-80 { fill: var(--bh-sand-80); }
.bh-fill--petrol-80 { fill: var(--bh-petrol-80); }

.bh-blend--overlay  { mix-blend-mode: overlay; }
.bh-blend--screen   { mix-blend-mode: screen; }
.bh-blend--multiply { mix-blend-mode: multiply; }

.bh-shape {
  opacity: var(--o, 1);
  transform-box: fill-box;
}

.bh-art__photo,
.bh-art__shapes {
  transform-box: fill-box;
  transform-origin: 50% 50%;
}

/* A frame: the photo or colour block with its one rounded corner */
.bh-frame,
.bh-card,
.bh-panel,
.bh-cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

/* ===========================================================
   Scroll reveal
   Same contract as the live site: js/reveal.js (unchanged, shared)
   adds .is-revealed to .sw-reveal elements as they enter the
   viewport. The rules live here because /newdesign/ does not load
   css/bluehouse-base.css. The html.sw-js gate (set in head-newdesign) keeps
   content visible when JS is off.
   =========================================================== */

html.sw-js .sw-reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 700ms var(--bh-ease),
              transform 700ms var(--bh-ease);
}

html.sw-js .sw-reveal.is-revealed {
  opacity: 1;
  transform: none;
}

/* Same specificity as the rule above, or the transition shorthand there
   resets the delay to 0 and every staged reveal arrives at once. */
html.sw-js .sw-reveal.sw-reveal--delay-1 { transition-delay: 80ms; }
html.sw-js .sw-reveal.sw-reveal--delay-2 { transition-delay: 160ms; }
html.sw-js .sw-reveal.sw-reveal--delay-3 { transition-delay: 240ms; }
html.sw-js .sw-reveal.sw-reveal--delay-4 { transition-delay: 320ms; }

/* Shapes slide in from the edge they bleed off, after their frame,
   one after the other, so each composition assembles itself. */
html.sw-js .sw-reveal .bh-shape {
  transition: transform 1100ms var(--bh-ease),
              opacity 1100ms var(--bh-ease);
  transition-delay: 200ms;
}

html.sw-js .sw-reveal .bh-shape:nth-child(2) { transition-delay: 360ms; }

html.sw-js .sw-reveal:not(.is-revealed) .bh-shape { opacity: 0; }

html.sw-js .sw-reveal:not(.is-revealed) .bh-shape--from-left   { transform: translateX(-8%); }
html.sw-js .sw-reveal:not(.is-revealed) .bh-shape--from-right  { transform: translateX(8%); }
html.sw-js .sw-reveal:not(.is-revealed) .bh-shape--from-top    { transform: translateY(-8%); }
html.sw-js .sw-reveal:not(.is-revealed) .bh-shape--from-bottom { transform: translateY(8%); }

/* Opacity in the shorthand above would also clobber --o: restore it. */
html.sw-js .sw-reveal.is-revealed .bh-shape { opacity: var(--o, 1); }

@media (prefers-reduced-motion: reduce) {
  html.sw-js .sw-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  html.sw-js .sw-reveal .bh-shape {
    opacity: var(--o, 1);
    transform: none;
    transition: none;
  }
}

/* ===========================================================
   Header: white; logo left; NL/EN top right, nav under it
   (design: ruby rule at 183.25, nav 18.6 Knile SemiBold, lang 20 Bariol)
   =========================================================== */

.bh-header { background: var(--bh-white); }

.bh-header__row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding-block: clamp(16px, 2.53 * var(--bh-vu), 36.5px) clamp(20px, 2.66 * var(--bh-vu), 38.25px);
}

/* The lock-up's left edge is the icon itself (no padding in the SVG),
   so it lines up with the content column below at every size.
   From 600px the tagline lock-up shows (header of the design); below
   that the plain one (a <source> in the <picture>), since the tagline
   would be too small to read. */
/* Design: logo top 74.8, language baseline 55.6, nav baseline 136.8 and
   the ruby rule at 183.25. The logo sits 7px above the nav's bottom. */
.bh-logo { display: inline-flex; margin-bottom: clamp(0px, 0.49 * var(--bh-vu), 7px); }

.bh-logo img { height: clamp(48px, 4.3 * var(--bh-vu), 62px); width: auto; }

.bh-header__side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: clamp(20px, 4.27 * var(--bh-vu), 61.5px);
}

.bh-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  font-family: var(--bh-font-display-strong);
  font-size: var(--bh-t-nav);
  font-weight: 600;
  letter-spacing: 0.006em;
  line-height: 1.2;
  text-transform: uppercase;
}

.bh-nav a { transition: opacity var(--bh-dur-fast) var(--bh-ease); }
.bh-nav a:hover { opacity: 0.7; }

.bh-nav .bh-nav__login { margin-left: 12px; color: var(--bh-ruby); }

@media (max-width: 899px) {
  .bh-nav a:not(.bh-nav__login) { display: none; }
  .bh-nav .bh-nav__login { margin-left: 0; }
}

@media (max-width: 599px) {
  .bh-logo img { height: 36px; }
  .bh-nav { font-size: 0.875rem; }
  .bh-header__side { gap: 10px; }
}

/* --- Language toggle: plain text, the active one in petrol --- */

.bh-lang { display: flex; gap: 22px; }

.bh-lang button {
  padding: 0;
  color: var(--bh-petrol-soft);
  font-family: var(--bh-font-text);
  font-size: var(--bh-t-body);
  line-height: 1.2;
  transition: color var(--bh-dur-fast) var(--bh-ease);
}

.bh-lang button:hover,
.bh-lang button.is-active { color: var(--bh-petrol); }

/* ===========================================================
   Hero: linnen; text left, photo right (624.8 x 683.5)
   =========================================================== */

.bh-hero {
  padding-top: clamp(40px, 7.03 * var(--bh-vu), 101.3px);
  background: var(--bh-linnen);
}

.bh-hero__grid {
  display: grid;
  gap: 40px;
  align-items: start;
}

@media (min-width: 900px) {
  .bh-hero__grid { grid-template-columns: minmax(0, 1fr) 47.7%; column-gap: 4.7%; }
}

.bh-hero h1 {
  max-width: 10ch;
  font-size: var(--bh-t-hero);
  line-height: 0.96;
  letter-spacing: -0.03em;
  margin-left: -0.055em;   /* optical alignment, as in the design (5.3px at 97px) */
}

.bh-subhead {
  max-width: 17.6em;   /* breaks after "context", as in the design */
  margin-top: clamp(8px, 0.97 * var(--bh-vu), 14px);
  font-family: var(--bh-font-display-strong);
  font-size: var(--bh-t-sub);
  font-weight: 600;
  line-height: 1.16;
  letter-spacing: -0.007em;
  margin-left: 0.11em;     /* the design sets the subhead 3.4px in */
}

.bh-intro {
  max-width: 31em;
  margin-top: clamp(14px, 1.15 * var(--bh-vu), 16.6px);
}

.bh-hero .bh-actions { margin-top: clamp(28px, 3.36 * var(--bh-vu), 48.4px); }

.bh-frame--hero {
  aspect-ratio: 624.8 / 683.5;
  border-top-right-radius: var(--bh-r-hero);
}

@media (max-width: 899px) {
  .bh-frame--hero { aspect-ratio: 4 / 3; }
}

/* Trust strip: dots and labels at one equal spacing */
.bh-trust {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: clamp(32px, 4.92 * var(--bh-vu), 70.8px);
  padding-bottom: clamp(28px, 3.59 * var(--bh-vu), 51.7px);
  font-family: var(--bh-font-display-strong);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.081em;
  line-height: 1.2;
  text-transform: uppercase;
}

.bh-trust__dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}

@media (max-width: 899px) {
  .bh-trust {
    display: grid;
    grid-template-columns: repeat(2, auto);
    justify-content: start;
    gap: 14px 32px;
    font-size: 0.8125rem;
  }
  .bh-trust__dot { display: none; }
}

/* ===========================================================
   Buttons: fully rounded rectangles
   Hero 285 x 67.6, radius 15.5, Knile SemiBold 16
   Closing 395 x 94, radius 21.5, Knile SemiBold 22
   =========================================================== */

/* The two hero buttons and their gap fill the text column exactly in the
   design (285 + 53.5 + 285 = 623.5): the gap scales a hair under that,
   so they never wrap from rounding. */
.bh-actions { display: flex; flex-wrap: wrap; gap: 16px clamp(20px, 3.7 * var(--bh-vu), 53.5px); }

.bh-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  /* 285 wide in the design; scales with the window so both buttons stay
     on one line, in either language, down to the one-column layout */
  min-width: min(285px, 19.8 * var(--bh-vu), 100%);
  min-height: 67.6px;
  padding: 0.75rem 12px;      /* a minimum only: the text is centred in the 285 */
  border: 1px solid transparent;
  border-radius: 15.5px;
  font-family: var(--bh-font-display-strong);
  font-size: clamp(0.875rem, 1.11 * var(--bh-vu), 1rem);   /* 16 at 1440, scales with the buttons */
  font-weight: 600;
  letter-spacing: 0.006em;
  line-height: 1.2;
  text-transform: uppercase;
  transition: background var(--bh-dur-fast) var(--bh-ease),
              color var(--bh-dur-fast) var(--bh-ease),
              transform var(--bh-dur-fast) var(--bh-ease);
}

.bh-btn:hover { transform: translateY(-1px); }

.bh-btn--primary { background: var(--bh-ruby); color: var(--bh-linnen); }
.bh-btn--primary:hover { background: #93301F; }

.bh-btn--secondary {
  background: var(--bh-white);
  border-color: var(--bh-petrol);
  color: var(--bh-petrol);
}
.bh-btn--secondary:hover { background: var(--bh-linnen); }

/* On the ruby closing panel */
.bh-cta .bh-btn {
  min-width: min(395px, 100%);
  min-height: clamp(64px, 6.52 * var(--bh-vu), 93.9px);
  border-radius: 21.5px;
  font-size: clamp(1rem, 1.55 * var(--bh-vu), 1.3875rem);
}

.bh-btn--outline {
  background: var(--bh-ruby);
  border: 1.4px solid var(--bh-white);
  color: var(--bh-linnen);
}
.bh-btn--outline:hover { background: #93301F; }

.bh-btn--white { background: var(--bh-white); color: var(--bh-ruby); }
.bh-btn--white:hover { background: var(--bh-linnen); }

/* ===========================================================
   Voor wie: two cards, 623.5 x 427, top-right radius 60
   Petrol card: two petrol U blocks, Screen 20%
   Linnen card: two linnen U blocks, Multiply
   =========================================================== */

.bh-duo {
  display: grid;
  gap: var(--bh-gap);
}

@media (min-width: 900px) {
  .bh-duo { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.bh-section--who .bh-duo { margin-top: clamp(28px, 3.37 * var(--bh-vu), 48.5px); }

.bh-card {
  display: flex;
  min-height: 0;
  border-top-right-radius: var(--bh-r-card);
}

@media (min-width: 900px) {
  .bh-card { aspect-ratio: 623.5 / 427; }
}

/* The language block fills the card: the link sits at the bottom */
.bh-card > [data-lang] {
  flex: 1;
  flex-direction: column;
  padding: clamp(28px, 3.09 * var(--bh-vu), 44.5px) clamp(20px, 2 * var(--bh-vu), 28px) clamp(20px, 1.54 * var(--bh-vu), 22.2px) clamp(24px, 3.41 * var(--bh-vu), 49px);
}

html.lang-en .bh-card > [data-lang="en"],
html.lang-nl .bh-card > [data-lang="nl"] { display: flex; }

.bh-card__kicker {
  font-family: var(--bh-font-display-strong);
  font-size: var(--bh-t-kicker-card);
  font-weight: 600;
  letter-spacing: 0.006em;
  line-height: 1.2;
  text-transform: uppercase;
}

.bh-card h3 {   /* one sentence per line, as in the design (<br> in the source) */
  margin-top: 3.5px;
  font-family: var(--bh-font-display-light);
  font-size: var(--bh-t-card);
  font-weight: 300;
  line-height: 1.03;
  letter-spacing: -0.013em;
  margin-left: -0.081em;   /* optical, as in the design (3px at 37px) */
}

.bh-card p,
.bh-card__link { margin-left: 0.14em; }   /* the design sets text 2.8px in from the kicker */

.bh-card p {
  max-width: 21em;
  margin-top: clamp(18px, 1.85 * var(--bh-vu), 26.7px);
}

.bh-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  margin-top: auto;
  padding-top: 32px;
  font-weight: 700;
}

.bh-card__link::after {
  content: "";
  width: 11px;
  height: 11px;
  background: currentColor;
  -webkit-mask: url("/assets/newdesign/icons/arrow.svg") center / contain no-repeat;
          mask: url("/assets/newdesign/icons/arrow.svg") center / contain no-repeat;
  transition: transform var(--bh-dur-fast) var(--bh-ease);
}

.bh-card__link:hover::after { transform: translate(2px, -2px); }

.bh-card--petrol { color: var(--bh-white); }
.bh-card--petrol .bh-card__kicker,
.bh-card--petrol .bh-card__link { color: var(--bh-sand); }

.bh-card--linnen { color: var(--bh-petrol); }
.bh-card--linnen .bh-card__kicker,
.bh-card--linnen .bh-card__link { color: var(--bh-ruby); }

/* ===========================================================
   Hoe het werkt: three cards; photo 404.9 x 259.2 with a
   top-right radius of 36, white text block 219.8 under it
   =========================================================== */

.bh-steps {
  display: grid;
  gap: var(--bh-gap-3);
  margin-top: clamp(28px, 2.63 * var(--bh-vu), 37.9px);
}

@media (min-width: 760px) {
  .bh-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.bh-frame--step {
  aspect-ratio: 404.9 / 259.2;
  border-top-right-radius: var(--bh-r-step);
  container-type: inline-size;
}

/* The step word, Knile Regular 63.7 on a 404.9 card: 15.7% of the
   card's width, so it keeps its size relative to the photo. */
.bh-step__word {
  position: absolute;
  left: 3.7%;
  bottom: 7.44%;   /* baseline 29.8 above the photo's bottom edge, as in the design */
  color: var(--bh-white);
  font-family: var(--bh-font-display);
  font-size: 15.7cqi;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.014em;
  text-transform: uppercase;
  white-space: nowrap;
}

.bh-step__word > span { display: inline-block; }

.bh-step__body {
  min-height: clamp(180px, 15.3 * var(--bh-vu), 220px);
  padding: clamp(22px, 2.51 * var(--bh-vu), 36.2px) clamp(18px, 1.7 * var(--bh-vu), 24px) 24px;
  background: var(--bh-white);
}

.bh-step__label {
  display: block;
  color: var(--bh-ruby);
  font-family: var(--bh-font-display-strong);
  font-size: var(--bh-t-kicker-small);
  font-weight: 600;
  letter-spacing: 0.006em;
  line-height: 1.2;
  text-transform: uppercase;
}

.bh-step p { margin-top: 7.5px; }

/* ===========================================================
   Wat is Bluehouse panel: photo 1308.6 x 750, top-right radius 77;
   a petrol and a sand U block in Overlay; sand title, linnen text
   =========================================================== */

.bh-panel {
  display: flex;
  min-height: 0;
  border-top-right-radius: var(--bh-r-panel);
  color: var(--bh-linnen);
}

@media (min-width: 900px) {
  .bh-panel { aspect-ratio: 1308.6 / 750; }
  .bh-panel__text p:not(.bh-panel__sub) { max-width: 30em; }
}

.bh-panel__text {
  max-width: 780px;
  padding: clamp(32px, 3.94 * var(--bh-vu), 56.7px) clamp(24px, 4.5 * var(--bh-vu), 65px) clamp(32px, 3.4 * var(--bh-vu), 49px) clamp(24px, 4.56 * var(--bh-vu), 65.7px);
}

.bh-panel .bh-h2 {
  margin-left: -0.112em;   /* optical, as in the design (8.6px at 77px) */
  color: var(--bh-sand);
}

.bh-panel__sub {
  max-width: 22em;
  margin-top: clamp(8px, 1.25 * var(--bh-vu), 18px);
  color: var(--bh-sand);
  font-family: var(--bh-font-display-strong);
  font-size: var(--bh-t-panel-sub);
  font-weight: 600;
  line-height: 1.42;
  letter-spacing: -0.009em;
  margin-left: -0.104em;   /* 2.7px left of the text column, as in the design */
}

.bh-panel__text p + p { margin-top: 1.55em; }
.bh-panel__text .bh-panel__sub + p { margin-top: clamp(12px, 1.22 * var(--bh-vu), 17.5px); }

.bh-panel strong { font-weight: 700; }

@media (max-width: 899px) {
  /* Keep the text readable where the photo shows through */
  .bh-panel::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(to bottom, rgba(0, 72, 103, 0.55), rgba(0, 72, 103, 0.35));
  }
}

/* ===========================================================
   Features: heading left; three outlined boxes right
   (623.5 x 135.7, 1px petrol, top-right radius 36, 39.4 apart)
   =========================================================== */

.bh-duo--features { align-items: start; }

/* The boxes start 13.5px above the kicker's capitals in the design. The
   heading moves down by relative offset, so the boxes alone set the
   section's height (whatever the length of the intro). */
.bh-features__head { position: relative; top: clamp(0px, 0.85 * var(--bh-vu), 12.2px); }

.bh-features__intro {
  max-width: 30em;
  margin-top: clamp(20px, 2.77 * var(--bh-vu), 39.9px);
}

.bh-features {
  display: grid;
  gap: clamp(20px, 2.7 * var(--bh-vu), 39px);
}

.bh-feature {
  position: relative;
  min-height: 136px;
  padding: 29.5px 24px 20px 72.6px;
  border: 1px solid var(--bh-petrol);
  border-top-right-radius: var(--bh-r-feature);
}

.bh-feature > img {
  position: absolute;
  top: 19.8px;
  left: 22.9px;
  width: 29px;
  height: 29px;
}

.bh-feature h3 {
  color: var(--bh-ruby);
  font-family: var(--bh-font-display-strong);
  font-size: var(--bh-t-kicker-small);
  font-weight: 600;
  letter-spacing: 0.006em;
  line-height: 1.2;
  text-transform: uppercase;
}

.bh-feature p { margin-top: 4px; }

@media (max-width: 599px) {
  .bh-feature { padding-left: 64px; }
  .bh-feature > img { left: 18px; }
}

/* ===========================================================
   Passend bij jou: two plans side by side (homepage only, not in
   Mike's site design). Per plan a petrol title, an olive
   description and a petrol card. On wide screens the plans share
   their rows (subgrid), so titles, texts and cards line up.
   =========================================================== */

.bh-section--plans {
  padding-block: clamp(40px, 5.61 * var(--bh-vu), 80.8px) clamp(48px, 5.9 * var(--bh-vu), 85px);
  border-top: 1px solid var(--bh-ruby);
}

.bh-plans {
  display: grid;
  gap: clamp(40px, 5 * var(--bh-vu), 56px) var(--bh-gap);
  margin-top: clamp(20px, 2.4 * var(--bh-vu), 34px);
}

.bh-plan {
  display: grid;
  grid-template-rows: auto auto 1fr;
  align-content: start;
}

@media (min-width: 900px) {
  .bh-plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  @supports (grid-template-rows: subgrid) {
    .bh-plans { grid-template-rows: auto auto 1fr; }
    .bh-plan { grid-row: span 3; grid-template-rows: subgrid; row-gap: 0; }
  }
}

.bh-plan__title {
  padding-bottom: clamp(12px, 1.2 * var(--bh-vu), 17px);
  border-bottom: 1px solid var(--bh-petrol);
  color: var(--bh-petrol);
  font-family: var(--bh-font-display-light);
  font-size: var(--bh-t-card);
  font-weight: 300;
  line-height: 1.03;
  letter-spacing: -0.013em;
}

.bh-plan__desc {
  max-width: 30em;
  margin-block: clamp(14px, 1.5 * var(--bh-vu), 21px) clamp(22px, 2.4 * var(--bh-vu), 34px);
  color: var(--bh-olive);
  font-size: var(--bh-t-lead);
  line-height: 1.35;
}

.bh-plan__card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 2.6 * var(--bh-vu), 37px) clamp(22px, 2.6 * var(--bh-vu), 37px) clamp(24px, 2.4 * var(--bh-vu), 34px);
  border-top-right-radius: var(--bh-r-feature);
  color: var(--bh-white);
}

.bh-plan__list li {
  position: relative;
  padding-left: 1.5em;
  font-size: var(--bh-t-body);
  line-height: 1.4;
}

.bh-plan__list li + li { margin-top: 8px; }

/* A small linnen block with the top-right corner, the shape language
   in miniature, as the bullet */
.bh-plan__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 0.62em;
  height: 0.62em;
  border-top-right-radius: 0.22em;
  background: var(--bh-linnen);
}

.bh-plan__price {
  margin-top: auto;
  padding-top: clamp(22px, 2.4 * var(--bh-vu), 34px);
  color: var(--bh-linnen);
  font-family: var(--bh-font-display-strong);
  font-size: var(--bh-t-panel-sub);
  font-weight: 600;
  line-height: 1.2;
}

/* ===========================================================
   Afsluiter: ruby panel 1310 x 406.6, top-right radius 79;
   a petrol U in Multiply 10% and a ruby U in Screen 50%
   =========================================================== */

.bh-cta {
  padding: clamp(32px, 3.3 * var(--bh-vu), 47.5px) clamp(24px, 4.5 * var(--bh-vu), 65px) clamp(36px, 6.25 * var(--bh-vu), 90px);
  border-top-right-radius: var(--bh-r-cta);
  color: var(--bh-white);
}

@media (min-width: 900px) {
  .bh-cta { min-height: 406.6px; }
}

.bh-cta .bh-h2 { margin-left: 0; }   /* in line with the buttons, as in the design */

.bh-cta p {
  max-width: 48em;
  margin-left: -0.07em;    /* 1.7px left, as in the design */
  margin-top: clamp(10px, 1.35 * var(--bh-vu), 19.5px);
  font-size: var(--bh-t-lead);
  line-height: 1.3;
}

.bh-cta .bh-actions { margin-top: clamp(28px, 3.03 * var(--bh-vu), 43.7px); gap: 16px clamp(20px, 5.15 * var(--bh-vu), 74.2px); }

/* ===========================================================
   Footer: petrol; white logo, three link columns, a white rule,
   copyright and the tagline
   =========================================================== */

.bh-footer {
  padding-block: clamp(48px, 4.93 * var(--bh-vu), 71px) clamp(24px, 2.44 * var(--bh-vu), 35.1px);
  background: var(--bh-petrol);
  color: var(--bh-white);
}

.bh-footer__top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
}

.bh-footer__brand img { height: clamp(48px, 4.3 * var(--bh-vu), 62px); width: auto; }

.bh-footer__brand p {
  max-width: 17em;
  margin-top: clamp(32px, 5.73 * var(--bh-vu), 82.5px);
}

.bh-footer__cols {
  display: grid;
  /* columns 159.8 apart, the first 890 from the column edge, as in
     the design; the last one is as wide as what is left */
  grid-template-columns: 159.8px 159.8px 100.4px;
  margin-top: 26.5px;
}

.bh-footer__cols div { display: flex; flex-direction: column; gap: 15px; }

.bh-footer__cols h2 {
  margin-bottom: -1px;
  font-family: var(--bh-font-text);
  font-size: var(--bh-t-body);
  font-weight: 700;
  letter-spacing: -0.002em;
  line-height: 1.25;
}

.bh-footer__cols a { line-height: 1.25; }
.bh-footer__cols a:hover { text-decoration: underline; text-underline-offset: 3px; }

.bh-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: clamp(40px, 4.38 * var(--bh-vu), 63.1px);
  padding-top: clamp(28px, 2.56 * var(--bh-vu), 36.8px);
  border-top: 1px solid var(--bh-white);
}

.bh-footer__tagline {
  position: relative;
  display: block;
  top: -2.5px;   /* the design sets it 4px above the copyright's capitals */
  width: clamp(200px, 20.2 * var(--bh-vu), 292px);
  height: auto;
}

@media (max-width: 599px) {
  .bh-footer__cols { grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; gap: 12px; }
}

/* ===========================================================
   Hover (pointer devices only, never under reduced motion)

   Step cards: the step word replays a staggered blur reveal, letter
   by letter, while the photo eases in and the shapes drift up, so
   the card gains depth. The letter motion follows the "Texts reveal"
   transition from transitions.dev (12px rise, 3px blur, 40ms
   stagger, cubic-bezier(0.22, 1, 0.36, 1), which is also --bh-ease),
   rewritten for this page rather than pasted: no library, no script.

   Hover is decoration only: nothing is hidden behind it, so touch
   and keyboard users miss nothing.
   =========================================================== */

@keyframes bh-letter-reveal {
  0%   { opacity: 1; transform: none; filter: blur(0); }
  35%  { opacity: 0; transform: translateY(-12px); filter: blur(3px); }
  36%  { opacity: 0; transform: translateY(12px); filter: blur(3px); }
  100% { opacity: 1; transform: none; filter: blur(0); }
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .bh-frame--step .bh-art__photo,
  .bh-frame--step .bh-art__shapes {
    transition: transform 900ms var(--bh-ease);
  }

  .bh-step:hover .bh-art__photo { transform: scale(1.06); }
  .bh-step:hover .bh-art__shapes { transform: translateY(-4%); }

  .bh-step:hover .bh-step__word > span {
    animation: bh-letter-reveal 640ms var(--bh-ease) both;
    animation-delay: calc(var(--i) * 40ms);
  }
}

/* ===========================================================
   Preview banner
   Marks this page as an unfinished draft for the reviewers.
   Delete this block (and the .nd-preview-bar div in
   _src/newdesign/index.html) when the design goes live.
   =========================================================== */

.nd-preview-bar {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 6px var(--bh-gutter);
  background: var(--bh-antraciet);
  color: var(--bh-linnen);
  font-size: 0.75rem;
  letter-spacing: 0.006em;
}

.nd-preview-bar button {
  color: var(--bh-petrol-soft);
  font-size: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.nd-preview-bar button:hover { color: var(--bh-linnen); }

.nd-preview-bar.is-hidden { display: none; }

/* ===========================================================
   Case page (/cases/power-bi-assistent/, designer brief).
   Not in Mike's site design: built from the system's parts. The
   brief's clay accent is ruby, its mono labels are Knile SemiBold
   capitals. No cards, no shadows; white and linnen bands come from
   the site rhythm (bluehouse-site.css).
   =========================================================== */

.bh-case-section { padding-block: clamp(48px, 6 * var(--bh-vu), 88px); }
.bh-case-intro   { padding-top: clamp(32px, 4.5 * var(--bh-vu), 64px); }

/* Text column: 760 (brief), left on the 1310 grid like the reading column */
.bh-case-narrow > * { max-width: 760px; }

.bh-case-crumbs ol { display: flex; flex-wrap: wrap; gap: 0 0.5em; font-size: 0.9375rem; }
.bh-case-crumbs li + li::before { content: "/"; margin-right: 0.5em; color: var(--bh-petrol-soft); }
.bh-case-crumbs { margin-bottom: clamp(28px, 3.5 * var(--bh-vu), 48px); color: var(--bh-petrol-80); }

.bh-case-intro__grid { display: grid; gap: clamp(32px, 4 * var(--bh-vu), 48px); align-items: start; }
@media (min-width: 1000px) {
  .bh-case-intro__grid { grid-template-columns: minmax(0, 55fr) minmax(0, 45fr); column-gap: 4.7%; }
}

.bh-case-h1 {
  max-width: 15ch;
  font-size: clamp(2.375rem, 4.6 * var(--bh-vu), 4.125rem);   /* 66 at 1440 */
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin-left: -0.03em;
}

.bh-case-rule {
  display: block;
  width: 80px;
  height: 1px;
  margin-block: clamp(24px, 2.8 * var(--bh-vu), 36px);
  background: var(--bh-ruby);
}

.bh-case-intro__copy p { max-width: 34em; }
.bh-case-intro__copy p + p { margin-top: 1em; }

/* Asset A: the dashboard screenshot, 4:3, one rounded corner */
.bh-case-shot {
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border-top-right-radius: var(--bh-r-card);
}
.bh-case-shot img { width: 100%; height: 100%; object-fit: cover; }
.bh-case-shot--placeholder {
  display: grid;
  place-items: center;
  padding: 24px;
  background: var(--bh-petrol);
  color: var(--bh-linnen);
  font-family: var(--bh-font-display-strong);
  font-size: var(--bh-t-kicker-card);
  font-weight: 600;
  letter-spacing: 0.006em;
  text-align: center;
  text-transform: uppercase;
}

.bh-case-h2 {
  margin-bottom: clamp(20px, 2.4 * var(--bh-vu), 32px);
  font-size: clamp(2rem, 3.6 * var(--bh-vu), 3.25rem);   /* 52 at 1440 */
  margin-left: -0.012em;
}

.bh-case-lede {
  font-family: var(--bh-font-display-strong);
  font-size: var(--bh-t-sub);
  font-weight: 600;
  line-height: 1.16;
  letter-spacing: -0.007em;
}
.bh-case-body { margin-top: clamp(14px, 1.5 * var(--bh-vu), 20px); }

/* Small labels: Knile SemiBold capitals, muted petrol */
.bh-case-label {
  display: block;
  color: var(--bh-petrol-80);
  font-family: var(--bh-font-display-strong);
  font-size: var(--bh-t-kicker-small);
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.25;
  text-transform: uppercase;
}

/* Before / after: two values, a ruby arrow between, caption below */
.bh-case-ba {
  margin-top: clamp(36px, 4.5 * var(--bh-vu), 60px);
  padding-block: clamp(24px, 3 * var(--bh-vu), 36px);
  border-block: 1px solid var(--bh-ruby);
}
.bh-case-ba__values {
  display: flex;
  align-items: flex-end;
  gap: clamp(20px, 3 * var(--bh-vu), 40px);
}
.bh-case-ba__value {
  display: block;
  margin-top: 8px;
  font-family: var(--bh-font-display);
  font-size: clamp(2.125rem, 3.6 * var(--bh-vu), 3.25rem);   /* 52: the row fits the 760 column */
  line-height: 1;
  letter-spacing: -0.025em;
  white-space: nowrap;
}
.bh-case-ba__arrow::before {
  content: "\2192";
  display: block;
  color: var(--bh-ruby);
  font-family: var(--bh-font-display);
  font-size: clamp(2rem, 3.6 * var(--bh-vu), 3.25rem);
  line-height: 1.1;
}
.bh-case-ba__caption {
  margin-top: clamp(16px, 2 * var(--bh-vu), 24px);
  color: var(--bh-petrol-80);
}
@media (max-width: 599px) {
  .bh-case-ba__values { flex-direction: column; align-items: flex-start; gap: 12px; }
  .bh-case-ba__arrow::before { transform: rotate(90deg); }
}

/* How it works: three steps, ruby numbers; arrows between on wide
   screens, a thin vertical connector when stacked */
.bh-case-steps { display: grid; gap: 0; }
.bh-case-step { position: relative; }
.bh-case-step__num {
  display: block;
  color: var(--bh-ruby);
  font-family: var(--bh-font-display-strong);
  font-size: var(--bh-t-kicker);
  font-weight: 600;
  letter-spacing: 0.04em;
}
.bh-case-step h3 {
  margin-top: 10px;
  font-family: var(--bh-font-display-strong);
  font-size: clamp(1.25rem, 1.75 * var(--bh-vu), 1.5rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.007em;
}
.bh-case-step p { margin-top: 10px; max-width: 30em; }

@media (max-width: 899px) {
  .bh-case-step:not(:last-child)::after {
    content: "";
    display: block;
    width: 1px;
    height: 40px;
    margin: 24px 0 24px 0.7em;
    background: var(--bh-ruby);
  }
}
@media (min-width: 900px) {
  .bh-case-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: clamp(48px, 5 * var(--bh-vu), 72px); }
  .bh-case-step:not(:last-child)::after {
    content: "\2192";
    position: absolute;
    top: -0.1em;
    right: calc(clamp(48px, 5 * var(--bh-vu), 72px) / -2 - 0.5em);
    width: 1em;
    color: var(--bh-ruby);
    font-family: var(--bh-font-display);
    font-size: var(--bh-t-kicker-hero);
    text-align: center;
  }
}

/* Quote: thin ruby rule left, one step up from body, no glyph */
.bh-case-quote {
  padding-left: clamp(20px, 2.4 * var(--bh-vu), 32px);
  border-left: 1px solid var(--bh-ruby);
}
.bh-case-quote blockquote { margin: 0; }
.bh-case-quote blockquote p { font-size: var(--bh-t-lead); line-height: 1.4; }
.bh-case-quote figcaption { margin-top: clamp(18px, 2 * var(--bh-vu), 26px); }
.bh-case-quote__name { display: block; font-weight: 700; }
.bh-case-quote .bh-case-label { margin-top: 4px; }

/* CTA: question line, the primary button, a text link below */
.bh-case-cta__question { font-size: var(--bh-t-lead); font-weight: 700; line-height: 1.3; }
.bh-case-cta .bh-actions { margin-top: clamp(20px, 2.4 * var(--bh-vu), 32px); }
.bh-case-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  font-size: 1.0625rem;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--bh-ruby);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
.bh-case-link::after {   /* external: the site's arrow, as on the card links */
  content: "";
  width: 10px;
  height: 10px;
  background: var(--bh-ruby);
  -webkit-mask: url("/assets/newdesign/icons/arrow.svg") center / contain no-repeat;
          mask: url("/assets/newdesign/icons/arrow.svg") center / contain no-repeat;
}

/* Case page, app case (/cases/app-for-process/): three kinds,
   the footnote under the steps, the proof figure, the access line */
.bh-case-kinds { display: grid; gap: clamp(36px, 4 * var(--bh-vu), 48px); }
@media (min-width: 900px) {
  .bh-case-kinds { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: clamp(48px, 5 * var(--bh-vu), 72px); }
}
.bh-case-kind h3 {
  margin-top: 10px;
  font-family: var(--bh-font-display-strong);
  font-size: clamp(1.25rem, 1.75 * var(--bh-vu), 1.5rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.007em;
}
.bh-case-kind p { margin-top: 10px; max-width: 30em; }
.bh-case-kind__practice,
.bh-case-note {
  color: var(--bh-petrol-80);
  font-size: 0.9em;
  line-height: 1.45;
}
.bh-case-kind__practice { font-style: italic; }
.bh-case-note { max-width: 760px; margin-top: clamp(36px, 4 * var(--bh-vu), 52px); }

.bh-case-figure { margin-bottom: clamp(24px, 3 * var(--bh-vu), 36px); }
.bh-case-figure__value {
  font-family: var(--bh-font-display);
  font-size: clamp(2.5rem, 5 * var(--bh-vu), 4.5rem);
  line-height: 1;
  letter-spacing: -0.025em;
}
.bh-case-figure__caption { margin-top: 12px; color: var(--bh-petrol-80); }
.bh-case-access { margin-top: clamp(28px, 3.5 * var(--bh-vu), 44px); }

.bh-case-link--internal::after { transform: rotate(45deg); }   /* same-tab: arrow points right */
.bh-case-kind .bh-case-step__num { text-transform: uppercase; font-size: var(--bh-t-kicker-small); }
/* A real screenshot: square corners (the radius clipped its header) and a
   hairline frame, since the app's off-white melts into the white band */
.bh-case-shot--img { border-radius: 0; border: 1px solid var(--bh-petrol-soft); }
