/* ============================================================
   Homepage — Direction B (Rationed glass).
   Loaded AFTER site.css. Reuses the shared chrome, layout
   primitives and section heads; overrides the homepage body
   so most surfaces sit FLAT on the canvas and exactly one
   thing floats per chapter. Scoped to body.hb so the original
   homepage (index.html) is unaffected.
   ============================================================ */

/* ——— Calmer canvas: drop the busy grid, keep a faint wash ——— */
body.hb .lp-page-bg {
  background-image:
    radial-gradient(120% 58% at 50% -8%, rgba(255,255,255,0.05), transparent 56%),
    radial-gradient(64% 48% at 90% 3%, var(--champagne-glow-lo), transparent 64%),
    radial-gradient(80% 70% at 82% 110%, var(--petrol-glow-lo), transparent 62%);
}

/* ——— Header: homepage-specific sizing (taller bar, flush padding) ——— */
body.hb .lp-header__inner {
  height: 74px; padding-inline: 0;
}

/* ——— Hero: editorial copy left, image box right ——— */
body.hb .lp-hero { text-align: left; padding-top: clamp(52px, 8vw, 112px); padding-bottom: clamp(60px, 9vw, 118px); }
body.hb .lp-hero__glow { left: 26%; top: 52%; opacity: .8; }
body.hb .lp-hero .lp-eyebrow-row { margin-bottom: 30px; }
body.hb .lp-hero h1 { margin: 0; max-width: 16ch; }
body.hb .lp-hero__sub { margin: 30px 0 0; max-width: 46ch; }
body.hb .lp-hero__actions { justify-content: flex-start; margin-top: 40px; gap: 26px; }
body.hb .lp-hero__trust { justify-content: flex-start; }

body.hb .hb-hero__grid { display: grid; grid-template-columns: 1.04fr 0.96fr; gap: clamp(40px, 5vw, 84px); align-items: center; }
.hb-hero__copy { position: relative; z-index: 1; }
.hb-hero__visual { position: relative; z-index: 1; }
.hb-hero__card {
  position: relative; aspect-ratio: 4 / 3.4; border-radius: var(--radius-3xl); overflow: hidden;
  border: 1px solid var(--border-default); box-shadow: var(--shadow-lg), var(--glass-bevel);
}
.hb-hero__card image-slot { display: block; width: 100%; height: 100%; }

/* ——— Section heads: left-aligned across the page ——— */
body.hb .hb-head { max-width: 760px; }
body.hb .hb-head .lp-h2 { margin-top: 4px; }
body.hb .hb-head .lp-lead { margin-top: 20px; }
.hb-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; flex-wrap: wrap; }

/* Flat underlined link (reuses lp-shero__textlink look) ——— */
.hb-link {
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  font-family: var(--font-sans); font-weight: var(--weight-semibold); font-size: var(--text-md);
  color: var(--text-primary); text-decoration: underline; text-underline-offset: 6px;
  text-decoration-thickness: 1px; text-decoration-color: var(--border-contrast);
  transition: text-decoration-color var(--dur-fast) var(--ease-out);
}
.hb-link:hover { color: var(--text-primary); text-decoration-color: var(--champagne-300); }
.hb-link svg { width: 17px; height: 17px; transition: transform var(--dur-fast) var(--ease-out); }
.hb-link:hover svg { transform: translateX(4px); }

/* ============================================================
   SERVICES — flat hairline matrix, champagne icons, no tiles
   ============================================================ */
.hb-svc {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--border-subtle);
  margin-top: clamp(44px, 5.5vw, 68px);
}
.hb-svc-item {
  position: relative; padding: 40px 36px 44px;
  border-bottom: 1px solid var(--border-subtle); border-left: 1px solid var(--border-subtle);
  display: flex; flex-direction: column; gap: 15px; text-decoration: none; color: inherit;
  transition: background var(--dur-base) var(--ease-out);
}
.hb-svc-item:nth-child(3n+1) { border-left: 0; padding-left: 4px; }
.hb-svc-item:hover { background: var(--white-a-03); }
.hb-svc-ico { color: var(--champagne-300); transition: color var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out); }
.hb-svc-ico svg { width: 32px; height: 32px; }
.hb-svc-item:hover .hb-svc-ico { color: var(--champagne-200); transform: translateY(-2px); }
.hb-svc-item h3 { font-family: var(--font-display); font-weight: var(--weight-regular); font-size: clamp(21px, 2.1vw, 25px); letter-spacing: -0.01em; color: var(--text-primary); margin: 0; }
.hb-svc-item:hover h3 { color: var(--champagne-200); }
.hb-svc-item p { font-size: var(--text-base); line-height: 1.55; color: var(--text-secondary); margin: 0; max-width: 34ch; text-wrap: pretty; }
.hb-svc-arrow { position: absolute; top: 40px; right: 32px; color: var(--text-faint); opacity: 0; transform: translateX(-5px); transition: opacity var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out), color var(--dur-base) var(--ease-out); }
.hb-svc-arrow svg { width: 20px; height: 20px; }
.hb-svc-item:hover .hb-svc-arrow { opacity: 1; transform: none; color: var(--champagne-300); }
/* the 6th cell — a real intake CTA, not filler */
.hb-svc-cta { background: var(--white-a-03); }
.hb-svc-cta .hb-svc-ico { color: var(--text-primary); }
.hb-svc-cta:hover { background: var(--white-a-06); }

/* ============================================================
   HOW WE WORK — flat: italic serif numerals, hairline columns
   ============================================================ */
.hb-steps {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--border-subtle);
  margin-top: clamp(40px, 5vw, 60px);
}
.hb-step {
  padding: 42px 38px 8px 0; border-left: 1px solid var(--border-subtle);
  display: flex; flex-direction: column; gap: 16px;
}
.hb-step:first-child { border-left: 0; }
.hb-step:not(:first-child) { padding-left: 38px; }
.hb-step__top { display: flex; align-items: center; justify-content: space-between; }
.hb-step__n { font-family: var(--font-display); font-style: italic; font-weight: var(--weight-regular); font-size: clamp(46px, 5vw, 60px); line-height: 1; color: var(--champagne-300); }
.hb-step__ico { color: var(--text-faint); }
.hb-step__ico svg { width: 24px; height: 24px; }
.hb-step h3 { font-family: var(--font-display); font-weight: var(--weight-regular); font-size: var(--text-xl); letter-spacing: -0.01em; color: var(--text-primary); margin: 0; }
.hb-step p { font-size: var(--text-base); line-height: 1.55; color: var(--text-secondary); margin: 0; text-wrap: pretty; }
.hb-step__tag { margin-top: 14px; font-family: var(--font-mono); font-size: var(--text-2xs); letter-spacing: .12em; text-transform: uppercase; color: var(--champagne-300); }

/* ============================================================
   SUCCESVERHALEN — grounded editorial cards (no floating glass)
   ============================================================ */
.hb-cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: clamp(44px, 5.5vw, 64px); }
.hb-case {
  display: flex; flex-direction: column; gap: 20px; padding: 32px;
  border: 1px solid var(--border-default); border-radius: var(--radius-2xl);
  background: var(--white-a-03);
  transition: border-color var(--dur-base) var(--ease-out), background var(--dur-base) var(--ease-out);
}
.hb-case:hover { border-color: var(--border-strong); background: var(--white-a-04); }
.hb-case__top { display: flex; align-items: center; gap: 16px; }
.hb-case__photo {
  width: 64px; height: 64px; border-radius: 50%; overflow: hidden; flex: none;
  border: 1px solid var(--border-strong); box-shadow: inset 0 0 0 1px var(--border-subtle);
}
.hb-case__photo image-slot { width: 100%; height: 100%; display: block; }
.hb-case__cat { font-family: var(--font-mono); font-size: var(--text-2xs); letter-spacing: .12em; text-transform: uppercase; color: var(--champagne-300); }
.hb-case__title { font-family: var(--font-display); font-weight: var(--weight-regular); font-size: clamp(20px, 2.1vw, 24px); line-height: 1.12; letter-spacing: -0.01em; color: var(--text-primary); margin: 0; text-wrap: balance; }
.hb-case__body { font-size: var(--text-base); line-height: 1.55; color: var(--text-secondary); margin: 0; text-wrap: pretty; flex: 1; }
.hb-case__more { margin-top: 2px; display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; font-family: var(--font-sans); font-size: var(--text-sm); font-weight: var(--weight-semibold); color: var(--text-primary); }
.hb-case__more svg { width: 16px; height: 16px; transition: transform var(--dur-fast) var(--ease-out); }
.hb-case:hover .hb-case__more svg { transform: translateX(4px); }
.hb-case:hover .hb-case__more { color: var(--champagne-200); }

/* ============================================================
   FAQ — flat hairline accordion (reuses .lp-faq grid + intro)
   ============================================================ */
.hb-faq__list { display: flex; flex-direction: column; border-top: 1px solid var(--border-subtle); }
.hb-faq__item { border-bottom: 1px solid var(--border-subtle); }
.hb-faq__q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 26px 4px; background: transparent; border: 0; cursor: pointer; text-align: left;
  font-family: var(--font-display); font-weight: var(--weight-regular);
  font-size: clamp(17px, 1.7vw, 21px); line-height: 1.3; letter-spacing: -0.005em; color: var(--text-primary);
  transition: color var(--dur-fast) var(--ease-out);
}
.hb-faq__q:hover { color: var(--champagne-100, var(--text-primary)); }
.hb-faq__icon {
  flex: none; width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: var(--text-secondary); border: 1px solid var(--border-strong); background: transparent;
  transition: transform var(--dur-base) var(--ease-spring), color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out);
}
.hb-faq__icon svg { width: 18px; height: 18px; }
.hb-faq__item.is-open .hb-faq__icon { transform: rotate(135deg); color: var(--champagne-300); border-color: var(--accent-ring); }
.hb-faq__a { overflow: hidden; max-height: 0; transition: max-height var(--dur-base) var(--ease-out); }
.hb-faq__a p { margin: 0; padding: 0 56px 28px 4px; font-family: var(--font-sans); font-size: var(--text-md); line-height: 1.6; color: var(--text-secondary); text-wrap: pretty; }

/* ============================================================
   FINAL CTA — keep left? no, centered closing moment, flat
   ============================================================ */
body.hb .lp-cta .lp-hero__actions { gap: 26px; }

/* ——— Responsive ——— */
@media (max-width: 980px) {
  .hb-svc { grid-template-columns: 1fr 1fr; }
  .hb-svc-item:nth-child(3n+1) { border-left: 1px solid var(--border-subtle); padding-left: 36px; }
  .hb-svc-item:nth-child(2n+1) { border-left: 0; padding-left: 4px; }
  .hb-steps { grid-template-columns: 1fr; }
  .hb-step { border-left: 0; border-top: 1px solid var(--border-subtle); padding: 32px 0 8px; }
  .hb-step:first-child { border-top: 0; padding-top: 4px; }
  .hb-cases { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .hb-svc { grid-template-columns: 1fr; }
  .hb-svc-item, .hb-svc-item:nth-child(3n+1), .hb-svc-item:nth-child(2n+1) { border-left: 0; padding-left: 4px; }
}

/* ============================================================
   WAAROM LEADPIXEL — alternate treatments (Tweakable)
   Default 'split': statement + visual on the left, reasons stacked
   on the right. Distinct silhouette from the Services grid above
   and the timeline below.
   ============================================================ */
.hb-why { display: grid; grid-template-columns: 1.12fr 0.88fr; gap: clamp(36px, 4.5vw, 76px); align-items: start; }
.hb-why__lead { max-width: none; }
.hb-why__lead .lp-h2 { margin-top: 4px; }
.hb-why__copy { margin: 20px 0 0; max-width: 36ch; font-size: var(--text-md); line-height: 1.6; color: var(--text-secondary); text-wrap: pretty; }
.hb-why__visual {
  position: relative; margin-top: 34px; aspect-ratio: 4 / 3.1; border-radius: var(--radius-2xl);
  overflow: hidden; border: 1px solid var(--border-default); box-shadow: var(--glass-bevel), var(--shadow-md);
}
.hb-why__visual image-slot { width: 100%; height: 100%; display: block; }
.hb-why__badge {
  position: absolute; left: 16px; bottom: 16px; z-index: 2; display: inline-flex; align-items: center; gap: 9px;
  padding: 9px 15px; border-radius: var(--radius-full);
  background: var(--glass-tint-strong); backdrop-filter: blur(16px) saturate(160%); -webkit-backdrop-filter: blur(16px) saturate(160%);
  border: 1px solid var(--border-default); box-shadow: var(--glass-bevel);
  font-family: var(--font-mono); font-size: var(--text-2xs); letter-spacing: .12em; text-transform: uppercase; color: var(--text-secondary);
}
.hb-why__badge .lp-dot { background: var(--champagne-400); }
.hb-why__list { display: flex; flex-direction: column; border-top: 1px solid var(--border-subtle); }
.hb-why__item { padding: 26px 0 28px; border-bottom: 1px solid var(--border-subtle); display: flex; flex-direction: column; gap: 10px; }
.hb-why__n { font-family: var(--font-mono); font-size: var(--text-2xs); letter-spacing: .2em; text-transform: uppercase; color: var(--champagne-300); }
.hb-why__item h3 { font-family: var(--font-display); font-weight: var(--weight-regular); font-size: clamp(21px, 2.1vw, 26px); letter-spacing: -0.01em; color: var(--text-primary); margin: 0; }
.hb-why__item p { font-size: var(--text-base); line-height: 1.55; color: var(--text-secondary); margin: 0; text-wrap: pretty; }

/* —— 'band': one tight statement on the left, three inline points divided by hairlines —— */
.hb-band {
  display: grid; grid-template-columns: minmax(260px, 0.85fr) 1.5fr; gap: clamp(32px, 4vw, 64px);
  align-items: center; padding: clamp(34px, 4vw, 54px) 0;
  border-top: 1px solid var(--border-subtle); border-bottom: 1px solid var(--border-subtle);
}
.hb-band__lead .lp-h2 { margin-top: 4px; }
.hb-band__points { display: grid; grid-template-columns: repeat(3, 1fr); }
.hb-band__pt { padding: 2px 28px; border-left: 1px solid var(--border-subtle); display: flex; flex-direction: column; gap: 9px; }
.hb-band__pt:first-child { border-left: 0; padding-left: 0; }
.hb-band__n { font-family: var(--font-mono); font-size: var(--text-2xs); letter-spacing: .2em; text-transform: uppercase; color: var(--champagne-300); }
.hb-band__pt h3 { font-family: var(--font-display); font-weight: var(--weight-regular); font-size: clamp(19px, 1.9vw, 23px); letter-spacing: -0.01em; color: var(--text-primary); margin: 0; }
.hb-band__pt p { font-size: var(--text-sm); line-height: 1.5; color: var(--text-secondary); margin: 0; text-wrap: pretty; }

/* ============================================================
   HOE WE WERKEN — timeline treatments (Tweakable)
   Default 'timeline': numbered glass nodes on a connecting rail —
   a sequence that LOOKS like a sequence.
   ============================================================ */
.hb-tl__node {
  width: 56px; height: 56px; flex: none; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-style: italic; font-weight: var(--weight-regular); font-size: 26px; line-height: 1; color: var(--champagne-300);
  background: var(--glass-tint-strong); backdrop-filter: blur(16px) saturate(160%); -webkit-backdrop-filter: blur(16px) saturate(160%);
  border: 1px solid var(--accent-ring); box-shadow: var(--glass-bevel);
}
.hb-tl__tag { font-family: var(--font-mono); font-size: var(--text-2xs); letter-spacing: .12em; text-transform: uppercase; color: var(--champagne-300); }

/* horizontal */
.hb-timeline { --tl-gap: clamp(24px, 3vw, 44px); position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--tl-gap); margin-top: clamp(48px, 6vw, 76px); }
.hb-tl { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.hb-tl:not(:last-child)::after {
  content: ""; position: absolute; top: 27px; left: 56px; width: calc(100% + var(--tl-gap) - 56px); height: 1px; z-index: 0;
  background: linear-gradient(90deg, var(--champagne-400), var(--border-strong) 55%, var(--border-subtle));
}
.hb-tl__txt { display: flex; flex-direction: column; gap: 12px; }
.hb-tl h3 { font-family: var(--font-display); font-weight: var(--weight-regular); font-size: var(--text-xl); letter-spacing: -0.01em; color: var(--text-primary); margin: 0; }
.hb-tl p { font-size: var(--text-base); line-height: 1.55; color: var(--text-secondary); margin: 0; max-width: 34ch; text-wrap: pretty; }

/* vertical */
.hb-vtimeline { position: relative; display: flex; flex-direction: column; margin-top: clamp(40px, 5vw, 60px); }
.hb-vt { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 26px; padding-bottom: 38px; }
.hb-vt:last-child { padding-bottom: 0; }
.hb-vt:not(:last-child)::after {
  content: ""; position: absolute; left: 27px; top: 60px; bottom: 4px; width: 1px; z-index: 0;
  background: linear-gradient(180deg, var(--champagne-400), var(--border-subtle));
}
.hb-vt__body { display: flex; flex-direction: column; gap: 10px; padding-top: 5px; }
.hb-vt__body h3 { font-family: var(--font-display); font-weight: var(--weight-regular); font-size: var(--text-xl); letter-spacing: -0.01em; color: var(--text-primary); margin: 0; }
.hb-vt__body p { font-size: var(--text-base); line-height: 1.55; color: var(--text-secondary); margin: 0; max-width: 48ch; text-wrap: pretty; }

/* —— Responsive: new treatments —— */
@media (max-width: 980px) {
  body.hb .hb-hero__grid { grid-template-columns: 1fr; gap: 44px; }
  body.hb .lp-hero h1 { max-width: none; }
  .hb-hero__visual { max-width: 560px; }
  .hb-why { grid-template-columns: 1fr; gap: 40px; }
  .hb-why__lead { max-width: none; }
  .hb-why__visual { max-width: 460px; }
  .hb-band { grid-template-columns: 1fr; gap: 28px; }
  .hb-band__points { grid-template-columns: 1fr; }
  .hb-band__pt { border-left: 0; padding: 22px 0 0; border-top: 1px solid var(--border-subtle); }
  .hb-band__pt:first-child { border-top: 0; padding-top: 0; }
  .hb-timeline { grid-template-columns: 1fr; gap: 0; }
  .hb-tl { flex-direction: row; align-items: flex-start; gap: 22px; padding-bottom: 34px; }
  .hb-tl:not(:last-child)::after { top: 56px; left: 27px; width: 1px; height: calc(100% - 56px); background: linear-gradient(180deg, var(--champagne-400), var(--border-subtle)); }
  .hb-tl p { max-width: 52ch; }
}

/* ============================================================
   LARGE-SCREEN RETUNE  (>= 1440px)  — homepage-specific overrides.
   Pairs with the block of the same name in site.css; these handle
   selectors unique to Homepage B (and the hero padding, which is
   re-specified here because body.hb .lp-hero out-specifies .lp-hero).
   ============================================================ */
@media (min-width: 1440px) {
  body.hb .lp-hero { padding-top: 90px; padding-bottom: 94px; }
  .hb-svc { margin-top: 54px; }
  .hb-svc-item h3 { font-size: 21px; }
  .hb-steps { margin-top: 48px; }
  .hb-step__n { font-size: 51px; }
  .hb-cases { margin-top: 52px; }
  .hb-case__title { font-size: 20px; }
  .hb-faq__q { font-size: 18px; }
  /* new treatments */
  .hb-why__item h3 { font-size: 23px; }
  .hb-band__pt h3 { font-size: 21px; }
  .hb-tl h3, .hb-vt__body h3 { font-size: 23px; }
  .hb-tl__node { width: 52px; height: 52px; font-size: 24px; }
  .hb-tl:not(:last-child)::after { top: 25px; }
}
