/* Built by Zhen Design System v1.0 / v3.0.2.34
   Existing values, additive scope. Homepage and independent FYF UI do not import this file. */
:root {
 --bbz-color-ink: var(--ink);
 --bbz-color-muted: var(--muted);
 --bbz-color-paper: var(--paper);
 --bbz-color-panel: var(--panel);
 --bbz-color-line: var(--hairline);
 --bbz-content-max: var(--max);
 --bbz-radius-media: var(--radius);
 --bbz-radius-control: 999px;
 --bbz-text-support: 13px;
 --bbz-text-metadata: 12px;
 --bbz-text-control: 14px;
 --bbz-text-organization: 15px;
 --bbz-leading-support: 1.5;
 --bbz-space-inline: 12px;
 --bbz-space-component: 16px;
 --bbz-space-editorial: 24px;
 --bbz-focus-width: 2px;
 --bbz-focus-offset: 4px;
 --bbz-control-duration: 0.2s;
}
/* Supporting roles: display headlines, body reading widths and Hero geometry stay typed. */
.bbz-shell-page:not(.fyf-final-page) :is(.project-meta span,.commercial-meta span,.evidence-signal-kicker) {
 font-size: var(--bbz-text-metadata); line-height: var(--bbz-leading-support);
}
.bbz-shell-page:not(.fyf-final-page) :is(figcaption,.small-note,.form-helper,.evidence-signal-meta) {
 font-size: var(--bbz-text-support); line-height: var(--bbz-leading-support);
}
.bbz-shell-page:not(.fyf-final-page) :is(.button,.text-link,.card-inline-link,.credential-link) {
 line-height: var(--bbz-leading-support);
}
.bbz-shell-page:not(.fyf-final-page) .button { font-size: var(--bbz-text-control); }
.bbz-shell-page.contact-page-unified .inquiry-form-panel label { font-size: var(--bbz-text-control); }
html[lang="zh-Hant"] .bbz-shell-page:not(.fyf-final-page) :is(figcaption,.small-note,.form-helper,.evidence-signal-meta,.project-meta span,.commercial-meta span,.evidence-signal-kicker) { line-height: 1.75; }
/* Reuse the established ink focus recipe without changing hover or validation colors. */
.bbz-shell-page :is(.site-header a,.site-footer a,.button,.text-link,.card-inline-link,.credential-link,.evidence-org-card-open,.evidence-signal-strip a,input,select,textarea,[data-lightbox-src]):focus-visible {
 outline: var(--bbz-focus-width) solid var(--bbz-color-ink); outline-offset: var(--bbz-focus-offset);
}
.bbz-shell-page .button:active { transform: translateY(0); }
/* Shared information tracks. Logos keep their own optical sizes and unmodified source pixels. */
.bbz-shell-page .evidence-org-card.evidence-org-card-open {
 display: grid; grid-template-rows: 156px 45px 1fr; align-content: start; row-gap: 8px;
}
.bbz-shell-page .evidence-org-card-open .evidence-logo-stage { margin: 0; }
.bbz-shell-page .evidence-org-label {
 display: flex; align-items: flex-start; justify-content: center; margin: 0;
 font-size: var(--bbz-text-organization); line-height: 1.5; font-weight: 600; text-align: center;
}
.bbz-shell-page .evidence-org-meta.evidence-org-meta-open { align-self: start; margin: 0; line-height: 1.5; }
html[lang="zh-Hant"] .bbz-shell-page .evidence-org-meta.evidence-org-meta-open { line-height: 1.75; }
@media(max-width:540px) {
 .bbz-shell-page .evidence-org-card.evidence-org-card-open { grid-template-rows: 132px 45px 1fr; }
}
/* Full-width mobile menu rows keep the existing inset focus offset to avoid viewport clipping. */
@media(max-width:860px) {
 .bbz-shell-page .site-header .site-nav a:focus-visible { outline-offset: -4px; }
}
/* Optional future-case recipes. Existing project Hero selectors never match these. */
.bbz-case-hero { display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,1fr); gap: clamp(32px,6vw,78px); align-items: center; }
.bbz-case-hero figure { margin: 0; overflow: hidden; border-radius: var(--bbz-radius-media); background: var(--paper-deep); }
.bbz-case-hero img { display:block; width:100%; height:auto; object-fit:contain; }
.bbz-case-hero[data-hero-type="portrait"] img { aspect-ratio: 4 / 5.35; }
.bbz-case-hero[data-hero-type="landscape"] { grid-template-columns:1fr; }
.bbz-case-hero[data-hero-type="landscape"] img { aspect-ratio: 1280 / 853; }
.bbz-case-hero[data-hero-type="digital"] img { aspect-ratio: 16 / 10; }
.bbz-case-hero[data-hero-type="family"] img { aspect-ratio: 4 / 3; }
.bbz-case-hero[data-hero-type="research"] img { aspect-ratio: 4 / 3; }
@media(max-width:860px) { .bbz-case-hero { grid-template-columns: 1fr; } }
@media(prefers-reduced-motion:reduce) { .bbz-shell-page .button { transition: none; } }
