/* Layout passport v1 applied to the transformer project. Shared gallery and
   interactions stay in project-page.css / project-birch.js; this route owns
   its content geometry. The reference page keeps its original presentation. */
body.doob-bz-project-page--system {
  --doob-project-canvas: #f0eee9;
  --bz-section-surface: #f4f2ee;
  --bz-surface-outset: calc(var(--bz-section-gap) / 2);
  --bz-page-bottom: 80px;
  --doob-passport-accent: #753a47;
  --bz-title: 44px;
  --bz-title-line: 48px;
  --bz-section: 32px;
  --bz-section-line: 40px;
  --bz-subsection: 24px;
  --bz-subsection-line: 32px;
  --bz-card: 20px;
  --bz-card-line: 28px;
  --bz-body: 16px;
  --bz-body-line: 22.4px;
  --bz-label-gap: 24px;
  --bz-title-gap: 32px;
  --bz-subsection-gap: 24px;
  --bz-media-gap: 24px;
  --bz-card-gap: 16px;
  --bz-action-gap: 32px;
  --bz-section-gap: 96px;
  --bz-group-gap: 40px;
  --bz-collection-gap: 48px;
  --bz-display-action-gap: 64px;
}
body.doob-bz-project-page--system .doob-bz-header { background: var(--doob-project-canvas); }
body.doob-bz-project-page--system .doob-bz-woocommerce { width: min(calc(100% - 80px), 1600px); padding-block: 48px var(--bz-page-bottom); }
body.doob-bz-project-page--system.woocommerce div.product { grid-template-columns: minmax(0, 1.3fr) minmax(400px, .92fr); gap: 0 64px; }
body.doob-bz-project-page--system.woocommerce div.product > .summary { max-width: 100%; padding: 12px 0 0; }
body.doob-bz-project-page--system.woocommerce div.product > .summary::before { top: -12px; left: -32px; }
.doob-bz-project-page--system .doob-bz-project-identity { margin-bottom: var(--bz-title-gap); }
.doob-bz-project-page--system .doob-bz-project-eyebrow,
.bz-kicker,
.doob-bz-project-page--system .doob-bz-project-related__heading > p,
.doob-bz-project-page--system .doob-bz-project-final-action > p {
  max-width: 100%; margin: 0 0 var(--bz-label-gap); color: var(--doob-passport-accent);
  font: 700 12px/18px Montserrat, Arial, sans-serif; letter-spacing: .12em;
}
body.doob-bz-project-page--system.woocommerce div.product .product_title {
  max-width: 18ch; margin: 0; font-size: var(--bz-title); line-height: var(--bz-title-line);
  font-weight: 700; letter-spacing: normal; text-align: left; text-wrap: balance;
}
.doob-bz-project-page--system .doob-bz-project-intro { max-width: 65ch; font-size: var(--bz-body); line-height: var(--bz-body-line); overflow-wrap: anywhere; }
.doob-bz-project-page--system .doob-bz-project-price-note { max-width: 65ch; margin: 40px 0 0; padding: 24px 0; font: 400 14px/20px Montserrat, Arial, sans-serif; }
.doob-bz-project-page--system .doob-bz-project-cta { min-height: 56px; gap: 16px; margin-top: var(--bz-action-gap); padding: 16px 24px; box-shadow: none; font: 600 16px/24px Montserrat, Arial, sans-serif; text-transform: none; }

/* Section rhythm has one owner: the next section's top margin. */
.bz-specification, .bz-project-block,
.doob-bz-project-page--system .doob-bz-project-related,
.doob-bz-project-page--system .doob-bz-project-final-action { grid-column: 1 / -1; width: 100%; min-width: 0; margin-top: var(--bz-section-gap); }
.bz-specification { max-width: 1184px; justify-self: center; }
.bz-personalisation { max-width: 1040px; justify-self: center; }
/* Alternate surfaces meet halfway through the existing section gap. */
.doob-bz-project-page--system :is(.bz-specification, .doob-product-service, .doob-bz-project-final-action) { position: relative; isolation: isolate; }
.doob-bz-project-page--system :is(.bz-specification, .doob-product-service, .doob-bz-project-final-action)::before {
  content: ''; position: absolute; z-index: -1;
  inset-block: calc(-1 * var(--bz-surface-outset)); left: 50%; width: 100vw;
  transform: translateX(-50%); background: var(--bz-section-surface); pointer-events: none;
}
.doob-bz-project-page--system .doob-bz-project-final-action::before { bottom: calc(-1 * var(--bz-page-bottom)); }
.bz-specification__heading { margin-bottom: var(--bz-title-gap); }
.bz-specification__heading h2, .bz-branding-heading h2, .doob-product-service__heading,
.doob-bz-project-page--system .doob-bz-project-related__heading h2 {
  max-width: 22ch; margin: 0 auto; color: var(--doob-project-ink);
  font: 700 var(--bz-section)/var(--bz-section-line) Montserrat, Arial, sans-serif;
  letter-spacing: normal; text-align: center; text-wrap: balance;
}
/* One framed composition: four construction facts, then three project details. */
.bz-specification__list { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); row-gap: 64px; margin: 0; padding: 32px; border: 1px solid var(--doob-project-line); border-radius: 16px; }
.bz-specification__row { position: relative; grid-column: span 3; min-width: 0; padding: 0 24px; text-align: center; }
.bz-specification__row:nth-child(n+5) { grid-column: span 4; }
.bz-specification__row::before { position: absolute; inset: 8px auto 8px 0; width: 1px; background: var(--doob-project-line); content: ''; }
.bz-specification__row:first-child::before, .bz-specification__row:nth-child(3n+5)::before { display: none; }
.bz-specification__row:nth-child(n+5)::after { position: absolute; top: -32px; left: 0; right: 0; height: 1px; background: var(--doob-project-line); content: ''; }
.bz-specification dt { display: grid; justify-items: center; gap: 12px; margin: 0; color: var(--doob-project-muted); font: 400 14px/20px Montserrat, Arial, sans-serif; }
.bz-specification .doob-bz-project-passport__icon { width: 48px; height: 48px; color: var(--doob-passport-accent); }
.bz-specification dd { margin: 16px auto 0; max-width: 28ch; color: var(--doob-project-ink); font: 600 var(--bz-body)/var(--bz-body-line) Montserrat, Arial, sans-serif; overflow-wrap: anywhere; }

.bz-branding-heading { margin: 0 auto var(--bz-collection-gap); text-align: center; }
.bz-branding-heading .bz-kicker { margin-inline: auto; }
.bz-branding-heading > p:last-child { max-width: 48ch; margin: var(--bz-title-gap) auto 0; color: var(--doob-project-muted); font: 400 var(--bz-body)/var(--bz-body-line) Montserrat, Arial, sans-serif; }
.bz-branding-groups { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 32px; }
.bz-technique { display: grid; justify-items: center; align-content: start; gap: var(--bz-media-gap); min-width: 0; text-align: center; }
.bz-technique picture { display: block; width: 220px; max-width: 100%; aspect-ratio: 1; overflow: hidden; border-radius: 50%; background: var(--doob-project-paper); }
.bz-technique picture img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 57%; }
.bz-technique--laser img { transform: scale(1.9); transform-origin: 51% 56%; }
.bz-technique--silkscreen img { transform: scale(2.1); transform-origin: 24% 47%; }
.bz-technique--metalsticker img { transform: scale(1.8); transform-origin: 50% 55%; }
.bz-technique--plaque img { transform: scale(1.5); transform-origin: 50% 35%; }
.bz-technique-copy { min-width: 0; }
.bz-technique h3 { max-width: 28ch; margin: 0 auto; font: 600 var(--bz-card)/var(--bz-card-line) Montserrat, Arial, sans-serif; text-wrap: balance; }
.bz-technique-copy > p:last-child { max-width: 30ch; margin: var(--bz-card-gap) auto 0; color: var(--doob-project-muted); font: 400 14px/20px Montserrat, Arial, sans-serif; }

/* Reference dossier geometry. These short component explanations have an
   upper text measure, not the minimum width used for long editorial prose. */
.doob-product-service, .doob-product-service * { box-sizing: border-box; }
.doob-product-service { grid-column: 1 / -1; width: min(1184px, 100%); margin: var(--bz-section-gap) auto 0; }
.doob-product-service__heading { margin-bottom: var(--bz-title-gap); }
.doob-product-service__tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0 0 24px; border-bottom: 1px solid var(--doob-project-line); }
.doob-product-service__tab { min-height: 56px; margin: 0 0 -1px; padding: 12px 16px; border: 0; border-bottom: 2px solid transparent; color: var(--doob-project-muted); background: transparent; text-align: center; cursor: pointer; }
.doob-product-service__tab.is-active, .doob-product-service__tab:hover { color: var(--doob-project-ink); }
.doob-product-service__tab.is-active { border-bottom-color: var(--doob-project-ink); }
.doob-product-service__tab > strong, .doob-product-service__mobile-toggle > strong { font: 600 16px/24px Montserrat, Arial, sans-serif; }
.doob-product-service__tab:focus-visible { border-bottom-color: var(--doob-project-focus); box-shadow: inset 0 -2px var(--doob-project-focus); outline: none; }
.doob-product-service__mobile-toggle:focus-visible { border-color: var(--doob-project-focus); box-shadow: inset 0 0 0 1px var(--doob-project-focus); outline: none; }
.doob-product-service__files { border: 1px solid var(--doob-project-line); border-radius: 10px; }
.doob-product-service__file { position: relative; }
.doob-product-service__mobile-toggle { display: none; }
.doob-product-service__sheet { padding: 40px 48px; }
.doob-product-service__sheet[hidden] { display: none; }
.doob-product-service__columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; }
.doob-product-service__column { display: grid; grid-template-columns: 104px minmax(0, 1fr); align-items: start; gap: 24px; min-width: 0; padding-right: 48px; }
.doob-product-service__column + .doob-product-service__column { padding-right: 0; padding-left: 48px; border-left: 1px solid var(--doob-project-line); }
.doob-product-service__copy { min-width: 0; }
.doob-product-service__icon { display: block; width: 104px; }
.doob-product-service__icon img { display: block; width: 100%; height: auto; }
.doob-product-service__column h3 { max-width: 28ch; margin: 0 0 var(--bz-card-gap); color: var(--doob-project-ink); font: 600 var(--bz-card)/var(--bz-card-line) Montserrat, Arial, sans-serif; text-wrap: balance; }
.doob-product-service__column p { max-width: 55ch; margin: 0; color: var(--doob-project-muted); font: 400 var(--bz-body)/var(--bz-body-line) Montserrat, Arial, sans-serif; overflow-wrap: anywhere; }

.doob-bz-project-page--system .doob-bz-project-related { width: calc(100vw - 80px); justify-self: center; }
.doob-bz-project-page--system .doob-bz-project-related__heading { display: block; margin-bottom: var(--bz-collection-gap); padding: 0; border: 0; text-align: center; }
.doob-bz-project-page--system .doob-bz-project-related__heading > p { margin-inline: auto; }
.doob-bz-project-page--system .doob-bz-project-related__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 24px; }
.doob-bz-project-page--system .doob-bz-project-related__card:last-child { grid-column: auto; width: auto; }
.doob-bz-project-page--system .doob-bz-project-related__media { aspect-ratio: 1; }
body.doob-bz-project-page--system.woocommerce div.product .doob-bz-project-related__image { display: block; width: 100%; height: 100%; margin: 0; object-fit: cover; }
.doob-bz-project-page--system .doob-bz-project-related__body { padding: 12px 0 0; text-align: center; }
.doob-bz-project-page--system .doob-bz-project-related__body h3 { max-width: 28ch; margin: 0 auto; font: 400 var(--bz-body)/var(--bz-body-line) Montserrat, Arial, sans-serif; text-wrap: balance; }
.doob-bz-project-page--system .doob-bz-project-final-action { padding-top: 48px; border-top: 0; }
.doob-bz-project-page--system .doob-bz-project-final-action__title { max-width: 20ch; margin: 0 auto; color: var(--doob-project-ink); font: 540 clamp(34px, 4vw, 58px)/1.03 Montserrat, Arial, sans-serif; letter-spacing: -.035em; text-align: center; text-wrap: balance; }
.doob-bz-project-page--system .doob-bz-project-final-action .doob-bz-project-cta { width: auto; min-width: min(100%, 360px); max-width: 100%; margin-top: var(--bz-display-action-gap); padding-inline: 48px; }

@media (width <= 1100px) {
  .bz-specification__list { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 48px; padding: 24px; }
  .bz-specification__row, .bz-specification__row:nth-child(n+5) { grid-column: auto; }
  .bz-specification__row:nth-child(odd)::before { display: none; }
  .bz-specification__row:nth-child(even)::before { display: block; }
  .bz-specification__row:nth-child(n+3)::after { position: absolute; top: -24px; left: 0; right: 0; height: 1px; background: var(--doob-project-line); content: ''; }
  .bz-specification__row:last-child:nth-child(odd) { grid-column: 1 / -1; }
}

/* Restore the reference first-screen width and composition boundaries. */
@media (959px < width <= 1100px) {
  body.doob-bz-project-page--system.woocommerce div.product { grid-template-columns: minmax(0, 1.2fr) minmax(360px, .9fr); gap: 0 48px; }
  body.doob-bz-project-page--system.woocommerce div.product > .summary::before { left: -24px; }
}
@media (width <= 959px) {
  body.doob-bz-project-page--system { --bz-display-action-gap: 48px; --bz-page-bottom: 64px; }
  body.doob-bz-project-page--system { --bz-title: 36px; --bz-title-line: 40px; --bz-section: 28px; --bz-section-line: 36px; --bz-subsection: 20px; --bz-subsection-line: 28px; --bz-card: 18px; --bz-card-line: 24px; --bz-section-gap: 80px; }
  body.doob-bz-project-page--system .doob-bz-woocommerce { width: min(calc(100% - 48px), 760px); padding-block: 40px var(--bz-page-bottom); }
  body.doob-bz-project-page--system.woocommerce div.product { grid-template-columns: minmax(0, 1fr); gap: 0; }
  body.doob-bz-project-page--system.woocommerce div.product > .summary { grid-column: 1; grid-row: 2; max-width: 100%; justify-self: center; margin-top: 48px; padding: 0 16px; }
  body.doob-bz-project-page--system.woocommerce div.product > .summary::before { display: none; }
  body.doob-bz-project-page--system.woocommerce div.product .product_title { margin-inline: auto; text-align: center; }
  .doob-bz-project-page--system .doob-bz-project-eyebrow { margin-inline: auto; text-align: center; }
  .bz-branding-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .doob-product-service__sheet { padding: 32px 40px; }
  .doob-product-service__columns { grid-template-columns: minmax(0, 1fr); gap: var(--bz-group-gap); }
  .doob-product-service__column { padding: 0; }
  .doob-product-service__column + .doob-product-service__column { position: relative; padding: 0; border-left: 0; }
  .doob-product-service__column + .doob-product-service__column::before { position: absolute; top: calc(var(--bz-group-gap) / -2); left: 0; right: 0; height: 1px; background: var(--doob-project-line); content: ''; }
  .doob-bz-project-page--system .doob-bz-project-related { width: calc(100vw - 48px); }
  .doob-bz-project-page--system .doob-bz-project-related__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .doob-bz-project-page--system .doob-bz-project-final-action { padding-top: 40px; }
  .doob-bz-project-page--system .doob-bz-project-final-action .doob-bz-project-cta { padding-inline: 32px; }
}
@media (width <= 640px) {
  body.doob-bz-project-page--system { --bz-display-action-gap: 40px; --bz-page-bottom: 48px; }
  body.doob-bz-project-page--system { --bz-title: 30px; --bz-title-line: 34px; --bz-section: 26px; --bz-section-line: 30px; --bz-body: 14px; --bz-body-line: 19.6px; --bz-label-gap: 16px; --bz-title-gap: 24px; --bz-subsection-gap: 16px; --bz-media-gap: 16px; --bz-card-gap: 12px; --bz-action-gap: 24px; --bz-group-gap: 32px; --bz-collection-gap: 32px; }
  body.doob-bz-project-page--system .doob-bz-woocommerce { width: calc(100% - 48px); padding-block: 0 var(--bz-page-bottom); }
  body.doob-bz-project-page--system.woocommerce div.product > .summary { margin-top: 32px; padding: 0 8px; }
  .doob-bz-project-page--system .doob-bz-project-price-note { margin-top: 32px; padding-block: 16px; }
  .doob-bz-project-page--system .doob-bz-project-cta { padding-inline: 16px; }
  .bz-specification__list { grid-template-columns: minmax(0, 1fr); row-gap: 32px; padding: 24px 16px; }
  .bz-specification__row { padding: 0 0 0 48px; text-align: left; }
  .bz-specification__row:nth-child(n)::before { display: none; }
  .bz-specification__row:nth-child(n+2)::after { position: absolute; top: -16px; left: 0; right: 0; height: 1px; background: var(--doob-project-line); content: ''; }
  .bz-specification dt { display: block; }
  .bz-specification .doob-bz-project-passport__icon { position: absolute; top: 50%; left: 0; width: 32px; height: 32px; transform: translateY(-50%); }
  .bz-specification dd { max-width: none; margin: 8px 0 0; }
  .bz-branding-heading > p:last-child { padding-inline: 8px; }
  .bz-branding-groups { gap: 32px 16px; }
  .bz-technique picture { width: 160px; }
  .doob-product-service__tabs { display: none; }
  .doob-product-service__files { display: grid; gap: 16px; border: 0; }
  .doob-product-service__mobile-toggle { display: grid; grid-template-columns: minmax(0, 1fr) 24px; align-items: center; gap: 12px; width: 100%; min-height: 64px; margin: 0; padding: 16px; border: 1px solid var(--doob-project-line); border-radius: 10px; color: var(--doob-project-ink); background: transparent; text-align: left; cursor: pointer; }
  .doob-product-service__file.is-active .doob-product-service__mobile-toggle { border-bottom-color: transparent; border-radius: 10px 10px 0 0; }
  .doob-product-service__mobile-toggle i { position: relative; width: 24px; height: 24px; }
  .doob-product-service__mobile-toggle i::before, .doob-product-service__mobile-toggle i::after { position: absolute; top: 11px; left: 5px; width: 14px; height: 2px; background: currentColor; content: ''; }
  .doob-product-service__mobile-toggle i::after { transform: rotate(90deg); }
  .doob-product-service__mobile-toggle[aria-expanded='true'] i::after { transform: rotate(0deg); }
  .doob-product-service__sheet { padding: 24px 16px 32px; border: 1px solid var(--doob-project-line); border-top: 0; border-radius: 0 0 10px 10px; }
  .doob-product-service__column { grid-template-columns: 64px minmax(0, 1fr); gap: 16px; padding: 0; }
  .doob-product-service__icon { width: 64px; }
  .doob-bz-project-page--system .doob-bz-project-final-action { padding-top: 32px; }
  .doob-bz-project-page--system .doob-bz-project-final-action__title { font-size: 32px; line-height: 34px; }
  .doob-bz-project-page--system .doob-bz-project-final-action .doob-bz-project-cta { padding-inline: 24px; }
  .doob-bz-project-page--system .doob-bz-project-related__grid { gap: 32px 16px; }
}
/* Two card titles no longer fit at the typography's minimum readable size. */
@media (width <= 420px) {
  .bz-branding-groups, .doob-bz-project-page--system .doob-bz-project-related__grid { grid-template-columns: minmax(0, 1fr); }
  .bz-technique { width: min(100%, 288px); justify-self: center; }
}
@media (forced-colors: active) {
  .doob-product-service__tab:focus-visible, .doob-product-service__mobile-toggle:focus-visible { outline: 2px solid Highlight; outline-offset: -4px; }
}
