/* Homepage — precision in motion.
   Composition, imagery and a strong entrance carry the excitement; nothing
   moves continuously. Every animation lives under .bjc-js so an unscripted page
   shows everything at once, and every duration collapses under reduced motion. */

/* =========================================================== 1. hero */
.bjc-hero2 {
  position: relative;
  overflow: hidden;
  background: var(--bjc-warm);
  padding-block: clamp(1.5rem, 3.5vw, 3.5rem) clamp(1.25rem, 2.5vw, 2.5rem);
}
/* A faint drawing grid, fading out to the left so the headline sits on flat
   colour — architectural texture, not decoration competing with copy. */
.bjc-hero2::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(1, 32, 78, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(1, 32, 78, 0.07) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: linear-gradient(90deg, transparent 30%, #000 70%);
          mask-image: linear-gradient(90deg, transparent 30%, #000 70%);
}
.bjc-hero2__grid {
  position: relative;
  display: grid;
  gap: var(--bjc-5);
  grid-template-areas: "copy" "stage" "cta" "selector";
}
@media (min-width: 1000px) {
  .bjc-hero2__grid {
    grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
    grid-template-rows: auto auto auto;
    grid-template-areas: "copy stage" "cta stage" "selector selector";
    column-gap: clamp(2rem, 5vw, 5rem);
    row-gap: var(--bjc-5);
    align-items: end;
  }
}
@media (min-width: 1280px) {
  .bjc-hero2__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 6fr); }
}

.bjc-hero2__copy { grid-area: copy; align-self: end; }
.bjc-hero2__kicker { margin-bottom: var(--bjc-4); }
.bjc-hero2__title { margin: 0 0 var(--bjc-4); color: var(--bjc-navy); max-width: 12ch; }
.bjc-hero2__line { display: block; }
.bjc-hero2__line + .bjc-hero2__line { color: var(--bjc-teal); }
.bjc-hero2__lead { font-size: var(--bjc-text-lg); max-width: 46ch; color: var(--bjc-ink-muted); margin-bottom: 0; }
@media (min-width: 768px) { .bjc-hero2__lead { font-size: var(--bjc-text-xl); line-height: 1.5; } }

.bjc-hero2__cta { grid-area: cta; align-self: start; }
.bjc-hero2__actions { display: flex; flex-wrap: wrap; gap: var(--bjc-3); }
.bjc-hero2__actions .bjc-btn { flex: 1 1 auto; }
@media (min-width: 600px) { .bjc-hero2__actions .bjc-btn { flex: none; } }
.bjc-hero2__proof {
  display: flex; flex-wrap: wrap; gap: var(--bjc-2) var(--bjc-5);
  margin: var(--bjc-4) 0 0; padding: 0; list-style: none;
  font-family: var(--bjc-font-mono); font-size: var(--bjc-text-xs); color: var(--bjc-ink-muted);
  letter-spacing: 0.02em;
}
.bjc-hero2__proof li::before { content: "—"; margin-right: var(--bjc-2); color: var(--bjc-teal); }

/* The stage: four figures stacked, one shown. Fixed ratio so a swap never
   moves the page. */
/* Figures share one grid cell, so the stage is as tall as its tallest figure
   and the caption flows beneath the drawing instead of being pinned inside a
   fixed box — a swap still never moves the page, because every figure is
   present and sized. */
.bjc-hero2__stage { grid-area: stage; display: grid; }
.bjc-hero2__figure {
  grid-area: 1 / 1; margin: 0;
  opacity: 0; visibility: hidden;
  transform: translateY(6px);
  transition: opacity var(--bjc-dur-medium) var(--bjc-ease-out),
              transform var(--bjc-dur-medium) var(--bjc-ease-out),
              visibility 0s linear var(--bjc-dur-medium);
}
.bjc-hero2__figure[data-active="true"] {
  opacity: 1; visibility: visible; transform: none;
  transition-delay: 0s, 0s, 0s;
}
/* With :has() the radio group is the source of truth — no script needed. */
.bjc-hero2:has(.bjc-segmented__input:checked) .bjc-hero2__figure,
.bjc-hero2:has(.bjc-segmented__input:checked) .bjc-hero2__panel { opacity: 0; visibility: hidden; }
.bjc-hero2:has(#bjc-need-opslag:checked)     [data-option="opslag"],
.bjc-hero2:has(#bjc-need-werkruimte:checked) [data-option="werkruimte"],
.bjc-hero2:has(#bjc-need-sanitair:checked)   [data-option="sanitair"],
.bjc-hero2:has(#bjc-need-woonunit:checked)   [data-option="woonunit"] { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }

.bjc-hero2__art { position: relative; aspect-ratio: 5 / 4; }
@media (min-width: 1000px) { .bjc-hero2__art { aspect-ratio: 6 / 5; } }
.bjc-hero2__frame {
  position: absolute; left: 0; top: 0; width: 91%; height: 80%;
  overflow: hidden; border-radius: var(--bjc-radius-xl);
  background: var(--bjc-blue-grey);
  transform: translate(calc(var(--px, 0) * 6px), calc(var(--py, 0) * 4px));
  transition: transform 600ms var(--bjc-ease-out);
}
.bjc-hero2__img { width: 100%; height: 100%; object-fit: cover; }
/* The ground: a soft ellipse under the frame, so the unit sits rather than floats. */
.bjc-hero2__art::after {
  content: ""; position: absolute; left: 6%; width: 79%; top: 78%; height: 8%;
  background: radial-gradient(ellipse at center, rgba(1, 32, 78, 0.30), rgba(1, 32, 78, 0) 70%);
  filter: blur(6px); z-index: -1;
}

/* Guides: dimension lines below and beside the frame, drawn on entry. */
.bjc-hero2__lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.bjc-hero2__guide { fill: none; stroke: var(--bjc-teal); stroke-width: 1.25; vector-effect: non-scaling-stroke; }
.bjc-hero2__guide--tick { stroke-width: 1.25; }

.bjc-hero2__callouts { position: absolute; inset: 0; margin: 0; padding: 0; list-style: none; pointer-events: none; }
.bjc-hero2__callouts .bjc-tag {
  position: absolute;
  display: inline-flex; align-items: baseline; gap: 0.5em;
  padding: 3px 9px;
  background: var(--bjc-white); color: var(--bjc-navy);
  border: 1px solid var(--bjc-line); border-radius: 3px;
  white-space: nowrap;
  box-shadow: var(--bjc-shadow-sm);
}
.bjc-hero2__callouts .bjc-tag span { font-size: 0.68rem; text-transform: uppercase; letter-spacing: var(--bjc-tracking-label); color: var(--bjc-ink-muted); }
.bjc-tag--l   { left: 45.5%; top: 86%; transform: translate(-50%, -50%); }
.bjc-tag--h   { left: 96%; top: 40%; transform: translate(-50%, -50%) rotate(-90deg); transform-origin: center; }
.bjc-tag--w   { left: 3%; top: 4%; }
.bjc-tag--sku { left: 3%; top: 71%; background: var(--bjc-navy); color: var(--bjc-white); border-color: var(--bjc-navy); }

.bjc-hero2__caption { margin: var(--bjc-2) 0 0; font-size: var(--bjc-text-sm); }
.bjc-hero2__product { display: flex; flex-wrap: wrap; gap: var(--bjc-1) var(--bjc-3); color: var(--bjc-navy); text-decoration: none; font-weight: var(--bjc-weight-medium); }
.bjc-hero2__product:hover .bjc-hero2__caption-link { text-decoration: underline; }
.bjc-hero2__caption-link { color: var(--bjc-teal-text); }
.bjc-hero2__caption small { display: block; margin-top: 2px; color: var(--bjc-ink-muted); font-size: var(--bjc-text-xs); }

/* The selector: one band under both columns. */
.bjc-hero2__selector {
  grid-area: selector; margin: 0; padding: var(--bjc-4) 0 0; border: 0;
  border-top: 1px solid var(--bjc-line);
  display: grid; gap: var(--bjc-3);
}
@media (min-width: 900px) {
  .bjc-hero2__selector { grid-template-columns: auto minmax(0, 1fr); column-gap: var(--bjc-6); align-items: center; }
  .bjc-hero2__selector > legend { float: left; width: 100%; margin: 0 0 var(--bjc-2); }
}
.bjc-hero2__selector > legend { padding: 0; margin: 0; }
.bjc-hero2__panels { display: grid; min-height: 3.2rem; }
.bjc-hero2__panel {
  grid-area: 1 / 1; opacity: 0; visibility: hidden;
  display: flex; flex-wrap: wrap; gap: var(--bjc-1) var(--bjc-4); align-items: baseline;
  transition: opacity var(--bjc-dur-medium) var(--bjc-ease-out), visibility 0s linear var(--bjc-dur-medium);
}
.bjc-hero2__panel[data-active="true"] { opacity: 1; visibility: visible; transition-delay: 0s; }
.bjc-hero2__panel p { margin: 0; color: var(--bjc-ink); }

/* Entrance — only while .is-entering, only when scripted. Overlapping delays,
   settled within ~1.4 s, nothing blocks interaction. */
@keyframes bjc-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes bjc-mask { from { clip-path: inset(0 100% 0 0 round var(--bjc-radius-xl)); } to { clip-path: inset(0 0 0 0 round var(--bjc-radius-xl)); } }
@keyframes bjc-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
.bjc-js .bjc-hero2.is-entering .bjc-hero2__kicker { animation: bjc-rise var(--bjc-dur-section) var(--bjc-ease-out) both; }
.bjc-js .bjc-hero2.is-entering .bjc-hero2__line:nth-child(1) { animation: bjc-rise var(--bjc-dur-section) var(--bjc-ease-out) 60ms both; }
.bjc-js .bjc-hero2.is-entering .bjc-hero2__line:nth-child(2) { animation: bjc-rise var(--bjc-dur-section) var(--bjc-ease-out) 140ms both; }
.bjc-js .bjc-hero2.is-entering .bjc-hero2__lead { animation: bjc-rise var(--bjc-dur-section) var(--bjc-ease-out) 220ms both; }
.bjc-js .bjc-hero2.is-entering .bjc-hero2__cta { animation: bjc-rise var(--bjc-dur-section) var(--bjc-ease-out) 320ms both; }
.bjc-js .bjc-hero2.is-entering .bjc-hero2__figure[data-active="true"] .bjc-hero2__frame { animation: bjc-mask var(--bjc-dur-mask) var(--bjc-ease-in-out) 120ms both; }
.bjc-js .bjc-hero2.is-entering .bjc-hero2__figure[data-active="true"] .bjc-hero2__guide { stroke-dasharray: 1; animation: bjc-draw 620ms var(--bjc-ease-out) 560ms both; }
.bjc-js .bjc-hero2.is-entering .bjc-hero2__figure[data-active="true"] .bjc-tag { animation: bjc-rise 420ms var(--bjc-ease-out) 820ms both; }
.bjc-js .bjc-hero2.is-entering .bjc-hero2__figure[data-active="true"] .bjc-hero2__caption { animation: bjc-rise 420ms var(--bjc-ease-out) 900ms both; }
.bjc-js .bjc-hero2.is-entering .bjc-hero2__selector { animation: bjc-rise var(--bjc-dur-section) var(--bjc-ease-out) 760ms both; }
@media (prefers-reduced-motion: reduce) {
  .bjc-js .bjc-hero2.is-entering * { animation: none !important; }
  .bjc-hero2__frame { transform: none !important; transition: none; }
}

/* Mobile hero: headline, copy, visual, actions, then the choices as a strip. */
@media (max-width: 999px) {
  .bjc-hero2__title { max-width: 14ch; }
  .bjc-hero2__art { aspect-ratio: 4 / 3; }
  .bjc-segmented { width: 100%; justify-content: flex-start; scrollbar-width: none; }
  .bjc-segmented::-webkit-scrollbar { display: none; }
  .bjc-hero2__callouts .bjc-tag { font-size: 0.72rem; }
}

/* ============================================== 2. discovery gallery */
.bjc-discover__grid {
  display: grid; gap: var(--bjc-4);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 176px;
  list-style: none; margin: 0; padding: 0;
}
.bjc-panel--lg   { grid-column: span 2; grid-row: span 2; }
.bjc-panel--tall { grid-row: span 2; }
.bjc-panel--wide { grid-column: span 2; }
@media (min-width: 900px) {
  .bjc-discover__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 212px; }
  .bjc-panel--wide { grid-column: span 4; }
}
.bjc-panel {
  position: relative; overflow: hidden;
  border-radius: var(--bjc-radius-xl);
  background: var(--bjc-graphite);
}
.bjc-panel__link { position: absolute; inset: 0; display: block; color: var(--bjc-white); text-decoration: none; }
.bjc-panel__link:focus-visible { outline-offset: -3px; }
.bjc-panel__media { position: absolute; inset: 0; display: block; }
.bjc-panel__img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--bjc-ease-out); }
.bjc-panel__link:hover .bjc-panel__img,
.bjc-panel__link:focus-visible .bjc-panel__img { transform: scale(1.04); }
.bjc-panel__art { position: absolute; inset: 12%; display: grid; place-items: center; }
.bjc-panel__art img { max-height: 100%; width: auto; }
.bjc-panel__body {
  position: absolute; inset: auto 0 0 0;
  display: grid; gap: 2px;
  padding: var(--bjc-4);
  background: linear-gradient(180deg, rgba(1, 22, 57, 0) 0%, rgba(1, 22, 57, 0.72) 55%, rgba(1, 22, 57, 0.88) 100%);
}
.bjc-panel__title { font-family: var(--bjc-font-display); font-size: var(--bjc-display-3); font-weight: var(--bjc-weight-display); letter-spacing: var(--bjc-tracking-display); line-height: 1.1; }
.bjc-panel__text { font-size: var(--bjc-text-sm); color: rgba(255, 255, 255, 0.86); max-width: 46ch; }
.bjc-panel__cta { margin-top: var(--bjc-1); font-family: var(--bjc-font-mono); font-size: var(--bjc-text-xs); letter-spacing: 0.04em; text-transform: uppercase; }
.bjc-panel__cta span { display: inline-block; transition: transform var(--bjc-dur-fast) var(--bjc-ease-out); }
.bjc-panel__link:hover .bjc-panel__cta span,
.bjc-panel__link:focus-visible .bjc-panel__cta span { transform: translateX(4px); }
.bjc-panel--sm .bjc-panel__text { display: none; }
@media (min-width: 900px) {
  .bjc-panel--wide .bjc-panel__media { right: 45%; }
  .bjc-panel--wide .bjc-panel__body { inset: 0 0 0 55%; background: var(--bjc-navy); align-content: center; padding: var(--bjc-6); }
  .bjc-panel--wide .bjc-panel__text { display: block; font-size: var(--bjc-text-base); }
}
/* Image-mask reveal on entry, per the motion vocabulary. */
.bjc-js .bjc-panel.bjc-reveal .bjc-panel__media { clip-path: inset(0 0 100% 0); transition: clip-path 680ms var(--bjc-ease-in-out); transition-delay: calc(var(--i, 0) * 80ms); }
.bjc-js .bjc-panel.bjc-reveal.is-in .bjc-panel__media { clip-path: inset(0 0 0 0); }
@media (prefers-reduced-motion: reduce) { .bjc-js .bjc-panel.bjc-reveal .bjc-panel__media { clip-path: none; transition: none; } }

/* ======================================================== 3. finder */
.bjc-finder2__head { max-width: 62ch; margin-bottom: var(--bjc-6); }
.bjc-finder2__note { color: var(--bjc-ink-muted); font-size: var(--bjc-text-sm); }
.bjc-finder2__form { display: grid; gap: var(--bjc-6); }
@media (min-width: 1000px) {
  .bjc-finder2__form { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: var(--bjc-8); }
  .bjc-finder2__result { grid-column: 2; grid-row: 1 / span 3; align-self: start; position: sticky; top: calc(var(--bjc-target) + var(--bjc-6)); }
}
.bjc-finder2__q { margin: 0; padding: 0; border: 0; }
.bjc-finder2__q > legend { display: flex; align-items: center; gap: var(--bjc-3); margin-bottom: var(--bjc-3); font-family: var(--bjc-font-display); font-weight: var(--bjc-weight-semibold); font-size: var(--bjc-text-xl); color: var(--bjc-navy); }
.bjc-finder2__num {
  display: inline-grid; place-items: center; width: 1.6em; height: 1.6em; flex: none;
  border-radius: 50%; background: var(--bjc-teal); color: var(--bjc-white);
  font-family: var(--bjc-font-mono); font-size: 0.7em;
}
.bjc-finder2__result { padding: var(--bjc-5); background: var(--bjc-white); border-radius: var(--bjc-radius-xl); border: 1px solid var(--bjc-line); }
.bjc-finder2__count { margin: 0 0 var(--bjc-3); font-family: var(--bjc-font-mono); font-size: var(--bjc-text-sm); color: var(--bjc-teal-text); letter-spacing: 0.02em; }
.bjc-finder2__matches { list-style: none; margin: 0 0 var(--bjc-4); padding: 0; display: grid; gap: var(--bjc-2); }
.bjc-match {
  display: grid; grid-template-columns: 96px 1fr; gap: var(--bjc-3); align-items: center;
  padding: var(--bjc-2); border-radius: var(--bjc-radius-lg);
  color: inherit; text-decoration: none;
  transition: background var(--bjc-dur-fast) var(--bjc-ease-out);
}
.bjc-match:hover { background: var(--bjc-neutral); }
.bjc-match img { width: 96px; height: 72px; object-fit: cover; border-radius: var(--bjc-radius); background: var(--bjc-neutral); }
.bjc-match__title { display: block; font-weight: var(--bjc-weight-medium); color: var(--bjc-navy); line-height: 1.3; }
.bjc-match__meta { display: block; font-size: var(--bjc-text-sm); color: var(--bjc-ink-muted); }
.bjc-finder2__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--bjc-3) var(--bjc-5); }

/* ==================================================== 4. collection */
.bjc-collection__grid { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: var(--bjc-5); }
.bjc-collection__more { margin-top: var(--bjc-6); text-align: center; }

/* ============================================= 5. dimensional story */
.bjc-dims { background: var(--bjc-white); }
.bjc-dims__grid { display: grid; gap: var(--bjc-6); }
@media (min-width: 1000px) { .bjc-dims__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); column-gap: var(--bjc-8); align-items: center; } }
.bjc-dims__modes { display: flex; flex-wrap: wrap; gap: var(--bjc-2); margin: var(--bjc-5) 0 var(--bjc-4); }
.bjc-mode {
  min-height: var(--bjc-target); padding: 0 var(--bjc-4);
  border: 1px solid var(--bjc-line-strong); border-radius: 999px;
  background: var(--bjc-white); color: var(--bjc-navy);
  font: inherit; font-weight: var(--bjc-weight-medium); cursor: pointer;
  transition: background var(--bjc-dur-fast) var(--bjc-ease-out), color var(--bjc-dur-fast) var(--bjc-ease-out), border-color var(--bjc-dur-fast) var(--bjc-ease-out);
}
.bjc-mode:hover { border-color: var(--bjc-navy); }
.bjc-mode[aria-pressed="true"] { background: var(--bjc-navy); border-color: var(--bjc-navy); color: var(--bjc-white); }
.bjc-dims__explain { min-height: 4.5rem; }
.bjc-dims__explain p { margin: 0 0 var(--bjc-4); font-size: var(--bjc-text-lg); }
.bjc-dims__explain strong { color: var(--bjc-navy); }
.bjc-dims__table { margin-top: var(--bjc-4); }
.bjc-dims__table tr.is-active th, .bjc-dims__table tr.is-active td { color: var(--bjc-teal-text); font-weight: var(--bjc-weight-semibold); }
.bjc-dims__links { display: flex; flex-wrap: wrap; gap: var(--bjc-2) var(--bjc-5); margin-top: var(--bjc-4); }
.bjc-dims__figure { margin: 0; padding: var(--bjc-5); background: var(--bjc-blue-grey); border-radius: var(--bjc-radius-xl); }
.bjc-dims__svg { width: 100%; height: auto; display: block; }
.bjc-dims__svg rect, .bjc-dims__svg path { fill: none; stroke: var(--bjc-navy); stroke-width: 1.4; vector-effect: non-scaling-stroke; transition: stroke var(--bjc-dur-medium) var(--bjc-ease-out), opacity var(--bjc-dur-medium) var(--bjc-ease-out); }
.bjc-dims__measure { stroke: var(--bjc-teal); }
.bjc-dims__ext, .bjc-dims__int, .bjc-dims__door, .bjc-dims__front-ext { opacity: 0.45; }
.bjc-dims__figure[data-mode="ext"]  .bjc-dims__ext,
.bjc-dims__figure[data-mode="ext"]  .bjc-dims__front-ext,
.bjc-dims__figure[data-mode="int"]  .bjc-dims__int,
.bjc-dims__figure[data-mode="door"] .bjc-dims__door { opacity: 1; }
.bjc-dims__figure[data-mode="ext"]  .bjc-dims__ext rect,
.bjc-dims__figure[data-mode="ext"]  .bjc-dims__front-ext,
.bjc-dims__figure[data-mode="int"]  .bjc-dims__int rect,
.bjc-dims__figure[data-mode="door"] .bjc-dims__door { stroke: var(--bjc-teal); stroke-width: 2.4; }
.bjc-dims__label { font-family: var(--bjc-font-mono); font-size: 3.1px; fill: var(--bjc-navy); text-anchor: middle; opacity: 0; transition: opacity var(--bjc-dur-medium) var(--bjc-ease-out); }
.bjc-dims__figure[data-mode="ext"]  .bjc-dims__label--ext,
.bjc-dims__figure[data-mode="int"]  .bjc-dims__label--int,
.bjc-dims__figure[data-mode="door"] .bjc-dims__label--door { opacity: 1; }
/* The rendered elevations behind the lines (D18), the label plates over them,
   and the two small view captions. The render dims slightly when a region is
   emphasised so the teal outline stays the loudest thing in the frame. */
.bjc-dims__render { opacity: 0.96; transition: opacity var(--bjc-dur-medium) var(--bjc-ease-out); }
.bjc-dims__svg rect.bjc-dims__plate { fill: rgba(255, 255, 255, 0.9); stroke: none; opacity: 0; transition: opacity var(--bjc-dur-medium) var(--bjc-ease-out); }
.bjc-dims__figure[data-mode="int"]  rect.bjc-dims__plate.bjc-dims__label--int,
.bjc-dims__figure[data-mode="door"] rect.bjc-dims__plate.bjc-dims__label--door { opacity: 1; }
.bjc-dims__figure[data-mode="int"] .bjc-dims__render, .bjc-dims__figure[data-mode="door"] .bjc-dims__render { opacity: 0.55; }
.bjc-dims__caption { font-family: var(--bjc-font-mono); font-size: 2.6px; fill: var(--bjc-ink-muted); text-anchor: middle; letter-spacing: 0.1px; }
.bjc-dims__measure--front { opacity: 0.5; }
.bjc-dims__figure figcaption { margin-top: var(--bjc-3); font-size: var(--bjc-text-xs); color: var(--bjc-ink-muted); }

/* ======================================================= 6. journey */
.bjc-journey { background: var(--bjc-white); }
.bjc-journey__steps {
  position: relative; list-style: none; margin: var(--bjc-6) 0 0; padding: 0;
  display: grid; gap: var(--bjc-6);
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.bjc-journey__steps::before {
  content: ""; position: absolute; left: 0; right: 0; top: 1.05rem; height: 2px;
  background: var(--bjc-line);
  transform-origin: left; transition: transform 900ms var(--bjc-ease-in-out);
}
.bjc-js .bjc-journey__steps::before { transform: scaleX(0); }
.bjc-js .bjc-journey__steps.is-in::before { transform: scaleX(1); }
@media (prefers-reduced-motion: reduce) { .bjc-js .bjc-journey__steps::before { transform: none; transition: none; } }
.bjc-journey__step { position: relative; padding-top: var(--bjc-6); }
.bjc-journey__num {
  position: absolute; top: 0; left: 0;
  display: inline-block; padding: 0 var(--bjc-2) 0 0;
  background: var(--bjc-white);
  font-family: var(--bjc-font-mono); font-size: var(--bjc-text-lg); color: var(--bjc-teal-text); line-height: 2.1rem;
}
.bjc-journey__step h3 { font-size: var(--bjc-text-xl); }
.bjc-journey__band {
  display: grid; gap: var(--bjc-6);
  margin-top: var(--bjc-7); padding: var(--bjc-6);
  background: var(--bjc-blue-grey); border-radius: var(--bjc-radius-xl);
}
@media (min-width: 900px) { .bjc-journey__band { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); align-items: start; } }
.bjc-journey__amount { margin: 0; font-family: var(--bjc-font-display); font-size: var(--bjc-display-2); line-height: 1.05; color: var(--bjc-navy); letter-spacing: var(--bjc-tracking-display); }
.bjc-journey__amount strong { font-weight: var(--bjc-weight-display); }
.bjc-journey__net { margin: var(--bjc-2) 0 0; font-family: var(--bjc-font-mono); color: var(--bjc-ink-muted); }
.bjc-journey__scope p:last-child { margin-bottom: 0; }

.bjc-access .bjc-display-3 { margin-bottom: var(--bjc-4); }

/* ======================================================= 7. project */
.bjc-project { background: var(--bjc-navy-deep); color: var(--bjc-white); padding-block: var(--bjc-9); }
.bjc-project h2, .bjc-project h3, .bjc-project p { color: var(--bjc-white); }
.bjc-project__grid { display: grid; gap: var(--bjc-7); }
@media (min-width: 1000px) { .bjc-project__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: var(--bjc-9); align-items: center; } }
.bjc-project__lead { font-size: var(--bjc-text-xl); color: var(--bjc-on-navy-muted); max-width: 52ch; }
.bjc-project__starters { list-style: none; margin: var(--bjc-6) 0; padding: 0; max-width: 560px; }
.bjc-starter {
  display: flex; justify-content: space-between; align-items: center; gap: var(--bjc-4);
  padding: var(--bjc-4) 0; min-height: var(--bjc-target);
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--bjc-white); text-decoration: none;
  font-family: var(--bjc-font-display); font-size: var(--bjc-text-xl); font-weight: var(--bjc-weight-semibold);
  transition: padding-left var(--bjc-dur-fast) var(--bjc-ease-out), color var(--bjc-dur-fast) var(--bjc-ease-out);
}
.bjc-project__starters li:last-child .bjc-starter { border-bottom: 1px solid rgba(255, 255, 255, 0.18); }
.bjc-starter span { color: var(--bjc-teal); transition: transform var(--bjc-dur-fast) var(--bjc-ease-out); font-weight: 400; }
.bjc-starter:hover { padding-left: var(--bjc-2); color: var(--bjc-white); }
.bjc-starter:hover span { transform: translateX(4px); }
.bjc-project__note { font-size: var(--bjc-text-sm); color: var(--bjc-on-navy-muted); }
.bjc-project__figure { position: relative; margin: 0; }
.bjc-project__figure::before {
  content: ""; position: absolute; inset: 0; transform: translate(14px, 14px);
  border: 1px solid var(--bjc-teal); border-radius: var(--bjc-radius-xl); pointer-events: none;
}
.bjc-project__figure img { position: relative; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--bjc-radius-xl); }
.bjc-project__figure figcaption { margin-top: var(--bjc-3); font-size: var(--bjc-text-sm); }
.bjc-project__figure a { color: var(--bjc-on-navy-muted); }

/* ========================================================= 8. story */
.bjc-story__grid { display: grid; gap: var(--bjc-7); }
@media (min-width: 1000px) { .bjc-story__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: var(--bjc-9); align-items: start; } }
.bjc-story__copy p { font-size: var(--bjc-text-lg); }
.bjc-story__aside { display: grid; gap: var(--bjc-4); padding: var(--bjc-5); background: var(--bjc-white); border: 1px solid var(--bjc-line); border-radius: var(--bjc-radius-xl); }
.bjc-story__media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--bjc-radius-lg); }
.bjc-story__aside p { margin-bottom: 0; font-size: var(--bjc-text-base); }
.bjc-story__address { padding-top: var(--bjc-3); border-top: 1px solid var(--bjc-line); font-family: var(--bjc-font-mono); font-size: var(--bjc-text-sm); }

/* ======================================================== 9. guides */
.bjc-guides__list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--bjc-4); grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.bjc-guide__link {
  display: grid; gap: var(--bjc-3); height: 100%;
  padding: var(--bjc-5);
  border: 1px solid var(--bjc-line); border-radius: var(--bjc-radius-xl);
  color: inherit; text-decoration: none;
  transition: border-color var(--bjc-dur-fast) var(--bjc-ease-out), transform var(--bjc-dur-fast) var(--bjc-ease-out);
}
.bjc-guide__link:hover { border-color: var(--bjc-navy); transform: translateY(-2px); box-shadow: var(--bjc-shadow-lg); }
.bjc-guide__glyph svg { width: 56px; height: 56px; fill: none; stroke: var(--bjc-teal); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
/* Pictured guides: the render bleeds to the card's edge above the title. */
.bjc-guide__link--pictured { padding: 0; overflow: hidden; grid-template-rows: auto 1fr auto auto; }
.bjc-guide__link--pictured > :not(.bjc-guide__media) { margin-inline: var(--bjc-5); }
.bjc-guide__link--pictured .bjc-guide__title { margin-top: var(--bjc-4); }
.bjc-guide__link--pictured .bjc-guide__more { margin-bottom: var(--bjc-5); }
.bjc-guide__media { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--bjc-blue-grey); }
.bjc-guide__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--bjc-ease-out); }
.bjc-guide__link:hover .bjc-guide__media img { transform: scale(1.03); }
.bjc-guide__title { font-family: var(--bjc-font-display); font-size: var(--bjc-display-3); font-weight: var(--bjc-weight-display); letter-spacing: var(--bjc-tracking-display); line-height: 1.12; color: var(--bjc-navy); }
.bjc-guide__lead { color: var(--bjc-ink-muted); }
.bjc-guide__more { margin-top: auto; font-weight: var(--bjc-weight-medium); color: var(--bjc-teal-text); }

/* =================================================== 10. faq, close */
.bjc-faq { background: var(--bjc-warm); }
.bjc-faq__grid { display: grid; gap: var(--bjc-6); }
@media (min-width: 1000px) { .bjc-faq__grid { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); column-gap: var(--bjc-8); align-items: start; } .bjc-faq__head { position: sticky; top: 96px; } }

.bjc-close { padding-block: var(--bjc-9); }
.bjc-close__inner { text-align: center; max-width: 760px; margin-inline: auto; }
.bjc-close__inner h2 { margin-inline: auto; }
.bjc-close__text { margin-inline: auto; font-size: var(--bjc-text-xl); color: var(--bjc-ink-muted); }
.bjc-close__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--bjc-3); margin-top: var(--bjc-5); }
.bjc-close__contact { margin: var(--bjc-6) auto 0; font-family: var(--bjc-font-mono); font-size: var(--bjc-text-sm); color: var(--bjc-ink-muted); }

/* A frame with no photograph shows the record's type mark instead — flat, on
   the technical surface, sized to the frame, and captioned as a drawing. */
.bjc-hero2__frame--mark { display: grid; place-items: center; padding: 12%; background: var(--bjc-blue-grey); }
.bjc-hero2__frame--mark .bjc-mark { max-width: 100%; max-height: 100%; width: auto; }
