/* Silent Intelligence Bold — Typography System v2.0. Fuente única: este archivo. */
:root{
--font-heading:'Outfit',sans-serif;--font-body:'Manrope',sans-serif;--font-accent:'IBM Plex Mono',monospace;
--weight-regular:400;--weight-medium:500;--weight-semibold:600;--weight-bold:700;--weight-extrabold:800;
--tracking-heading:-.04em;--tracking-body:-.01em;--tracking-accent:.08em;
--leading-heading:1.1;--leading-subtitle:1.3;--leading-body:1.6;--leading-accent:1.4;
--size-hero-intro:clamp(2.75rem, calc(-1rem + 7.5vw), 5rem);--weight-hero-intro:400;
--size-hero-impact:clamp(2.75rem, calc(-1rem + 7.5vw), 5rem);--weight-hero-impact:800;
--size-h1:clamp(2.375rem, calc(-0.333333rem + 5.416667vw), 4rem);--weight-h1:700;
--size-h2:clamp(1.875rem, calc(0.416667rem + 2.916667vw), 2.75rem);--weight-h2:700;
--size-h3:clamp(1.5rem, calc(1.083333rem + 0.833333vw), 1.75rem);--weight-h3:600;
--size-h4:clamp(1.25rem, calc(1.041667rem + 0.416667vw), 1.375rem);--weight-h4:500;
--size-subtitle:clamp(1.25rem, calc(0.833333rem + 0.833333vw), 1.5rem);--weight-subtitle:700;
--size-intro:clamp(1.0625rem, calc(0.958333rem + 0.208333vw), 1.125rem);--weight-intro:500;
--size-body:1rem;--weight-body:400;
--size-cta:0.875rem;--weight-cta:700;
--size-tab:clamp(0.75rem, calc(0.645833rem + 0.208333vw), 0.8125rem);--weight-tab:600;
--size-form:1rem;--weight-form:400;
--size-category:0.75rem;--weight-category:500;
--size-label:clamp(0.6875rem, calc(0.583333rem + 0.208333vw), 0.75rem);--weight-label:400;
--size-number:clamp(0.6875rem, calc(0.583333rem + 0.208333vw), 0.75rem);--weight-number:400;
--size-micro:0.6875rem;--weight-micro:400;
}
body{font-family:var(--font-body)!important;font-weight:var(--weight-body);font-size:var(--size-body);letter-spacing:var(--tracking-body);line-height:var(--leading-body)}
body :is(p,li,dd,dt,blockquote,td,th,.type-body,[data-type="body"]){font-family:var(--font-body)!important;font-weight:var(--weight-body)!important;font-size:var(--size-body)!important;letter-spacing:var(--tracking-body)!important;line-height:var(--leading-body)!important;}
body :is(h1,.type-h1,[data-type="h1"]){font-family:var(--font-heading)!important;font-weight:var(--weight-h1)!important;font-size:var(--size-h1)!important;letter-spacing:var(--tracking-heading)!important;line-height:var(--leading-heading)!important;overflow-wrap:break-word;}
body :is(h2,.type-h2,[data-type="h2"]){font-family:var(--font-heading)!important;font-weight:var(--weight-h2)!important;font-size:var(--size-h2)!important;letter-spacing:var(--tracking-heading)!important;line-height:var(--leading-heading)!important;overflow-wrap:break-word;}
body :is(h3,.type-h3,[data-type="h3"]){font-family:var(--font-heading)!important;font-weight:var(--weight-h3)!important;font-size:var(--size-h3)!important;letter-spacing:var(--tracking-heading)!important;line-height:var(--leading-heading)!important;overflow-wrap:break-word;}
body :is(h4,.type-h4,[data-type="h4"]){font-family:var(--font-heading)!important;font-weight:var(--weight-h4)!important;font-size:var(--size-h4)!important;letter-spacing:var(--tracking-heading)!important;line-height:var(--leading-heading)!important;overflow-wrap:break-word;}
body :is(h5,h6){font-family:var(--font-heading)!important;font-weight:var(--weight-h4)!important;font-size:var(--size-h4)!important;letter-spacing:var(--tracking-heading)!important;line-height:var(--leading-heading)!important;}
body :is(.type-subtitle,.subtitle,.subheading,[data-type="subtitle"],.software-benefits>div>b){font-family:var(--font-body)!important;font-weight:var(--weight-subtitle)!important;font-size:var(--size-subtitle)!important;letter-spacing:var(--tracking-body)!important;line-height:var(--leading-subtitle)!important;}
body :is(.type-intro,[data-type="intro"],.intro>p:not(.eyebrow),.portfolio-note,.quiz-layout>div:first-child>p:not(.eyebrow):not(.muted),.contact-editorial>p:not(.eyebrow)){font-family:var(--font-body)!important;font-weight:var(--weight-intro)!important;font-size:var(--size-intro)!important;letter-spacing:var(--tracking-body)!important;line-height:var(--leading-body)!important;}
body :is(.button,button,.type-cta,[data-type="cta"],.app-action,.work-card summary){font-family:var(--font-body)!important;font-weight:var(--weight-cta)!important;font-size:var(--size-cta)!important;letter-spacing:var(--tracking-body)!important;line-height:var(--leading-subtitle)!important;}
body :is(label,input,textarea,select,.type-form,[data-type="form"]){font-family:var(--font-body)!important;font-weight:var(--weight-form)!important;font-size:var(--size-form)!important;letter-spacing:var(--tracking-body)!important;line-height:var(--leading-subtitle)!important;}
body :is(.bm-tabbar a,.language-switch a,nav>a,.type-tab,[data-type="tab"]){font-family:var(--font-body)!important;font-weight:var(--weight-tab)!important;font-size:var(--size-tab)!important;letter-spacing:var(--tracking-body)!important;line-height:var(--leading-subtitle)!important;}
body :is(small,.eyebrow,.tag,.pill,.type-label,[data-type="label"],.mock-top,.phone-kicker,.app-topline>span){font-family:var(--font-accent)!important;font-weight:var(--weight-label)!important;font-size:var(--size-label)!important;letter-spacing:var(--tracking-accent)!important;line-height:var(--leading-accent)!important;text-transform:uppercase;}
body :is(.category,.categories,.type-category,[data-type="category"],.project-label>span,.service .tag,.tepeyac-kicker){font-family:var(--font-accent)!important;font-weight:var(--weight-category)!important;font-size:var(--size-category)!important;letter-spacing:var(--tracking-accent)!important;line-height:var(--leading-accent)!important;text-transform:uppercase;}
body :is(.type-number,[data-type="number"],.service-links>a>span,.quiz-card>.muted){font-family:var(--font-accent)!important;font-weight:var(--weight-number)!important;font-size:var(--size-number)!important;letter-spacing:var(--tracking-accent)!important;line-height:var(--leading-accent)!important;}
body :is(.type-micro,[data-type="micro"],.concept-label,.demo-disclosure,.device-caption>span,.bleed-caption,.cinema-bottom,.registration,footer){font-family:var(--font-accent)!important;font-weight:var(--weight-micro)!important;font-size:var(--size-micro)!important;letter-spacing:var(--tracking-accent)!important;line-height:var(--leading-accent)!important;}
body :is(.type-hero-intro,[data-type="hero-intro"],.bleed-content h1,.cinema-copy h1){font-family:var(--font-heading)!important;font-weight:var(--weight-hero-intro)!important;font-size:var(--size-hero-intro)!important;letter-spacing:var(--tracking-heading)!important;line-height:var(--leading-heading)!important;overflow-wrap:break-word;}
body :is(.type-hero-impact,[data-type="hero-impact"],.bleed-content h1 em,.bleed-content h1 strong,.cinema-copy h1 em,.cinema-copy h1 strong){font-family:var(--font-heading)!important;font-weight:var(--weight-hero-impact)!important;font-size:var(--size-hero-impact)!important;letter-spacing:var(--tracking-heading)!important;line-height:var(--leading-heading)!important;font-style:normal;}
body .contact-mark{font-family:var(--font-heading)!important;font-weight:var(--weight-hero-impact)!important;font-size:var(--size-hero-impact)!important;letter-spacing:var(--tracking-heading)!important;line-height:var(--leading-heading)!important;}
body .hero-description{font-family:var(--font-body)!important;font-weight:var(--weight-body)!important;font-size:var(--size-body)!important;letter-spacing:var(--tracking-body)!important;line-height:var(--leading-body)!important;}
body :is(.bleed-content,.portfolio-intro,.quiz-layout>div,.contact-editorial,.project-label,.device-caption,.service-editorial){min-width:0}
body :is(.work-card,.project-cover,.device-example,.device-stage,.software-benefits>div,.tepeyac-preview,.tepeyac-brandline,.tepeyac-brandline>*){min-width:0;max-width:100%}
body :is(.device-caption,.software-benefits,.tepeyac-brandline){overflow-wrap:anywhere}
@media(max-width:800px){body .device-showcase{column-gap:0}}
body :is(.app-kpis>div,.side-links>span,.app-bottom-nav>span,.app-page-title>div,.app-table-head>span){min-width:0;overflow-wrap:anywhere}
body :is(.app-kpis small,.side-links small,.app-bottom-nav small,.app-action,.app-chip){overflow-wrap:anywhere;white-space:normal}
body .app-table-card table{table-layout:fixed;width:100%}body .app-table-card :is(td,th){overflow-wrap:anywhere;padding-inline:2px}

/* Black Market(ing) — tokens globales y componentes */
:root:root{
 --color-bone:#EEE8DC;--color-coal:#222222;--color-lime:#C1FF72;
 --color-soft:#E3FFB5;--color-gray:#454545;--color-deep:#141414;
 --rgb-bone:238 232 220;--rgb-coal:34 34 34;--rgb-lime:193 255 114;
 --rgb-soft:227 255 181;--rgb-gray:69 69 69;--rgb-deep:20 20 20;
 --brand-bone:var(--color-bone);--brand-coal:var(--color-coal);--brand-lime:var(--color-lime);
 --brand-soft:var(--color-soft);--brand-gray:var(--color-gray);--brand-deep:var(--color-deep);
 --bone:var(--color-bone);--ink:var(--color-coal);--lime:var(--color-lime);--line:var(--color-gray);
 --space-1:.25rem;--space-2:.5rem;--space-3:.75rem;--space-4:1rem;--space-5:1.25rem;
 --space-6:1.5rem;--space-8:2rem;--space-10:2.5rem;--space-12:3rem;
 --space-16:4rem;--space-20:5rem;--space-24:6rem;
 --layout-max:74rem;--layout-text:44rem;--layout-form:42rem;
 --layout-gutter:clamp(1.25rem,4vw,3rem);--layout-section:clamp(3rem,6vw,6rem);
 --layout-gap:clamp(1.5rem,3vw,2.5rem);--radius-control:.875rem;--radius-card:1rem;
 --background:var(--color-bone);--foreground:var(--color-coal);
 --card:var(--color-bone);--card-foreground:var(--color-coal);
 --primary:var(--color-coal);--primary-foreground:var(--color-bone);
 --secondary:var(--color-soft);--secondary-foreground:var(--color-coal);
 --accent:var(--color-lime);--accent-foreground:var(--color-coal);
 --muted:var(--color-bone);--muted-foreground:var(--color-gray);
 --border:var(--color-gray);--input:var(--color-gray);--ring:var(--color-lime);
 --font-sans:var(--font-body);--font-mono:var(--font-accent);
}
body{
 --surface:var(--color-bone);--text:var(--color-coal);--text-muted:var(--color-gray);
 --control-surface:var(--color-bone);--control-text:var(--color-coal);
 --shadow-dark:rgb(var(--rgb-deep)/.14);--shadow-light:rgb(var(--rgb-bone)/.85);
 background:var(--color-bone)!important;color:var(--color-coal)!important;margin:0;
}
body :is(.bleed-hero,.feature-split,.feature-copy,.contact-editorial,.portfolio-intro,.quiz-layout>div:first-child,.dark,footer,[data-theme=dark]){
 --surface:var(--color-deep);--text:var(--color-bone);--text-muted:var(--color-bone);
 --control-surface:var(--color-coal);--control-text:var(--color-bone);
 --shadow-dark:rgb(var(--rgb-deep)/.55);--shadow-light:rgb(var(--rgb-bone)/.06);
 background:var(--surface)!important;color:var(--text)!important;
}
body :is(header,form,.quiz-card,.visual-work,.short-services,.language-switch,.bm-tabbar,[data-theme=light]){
 --surface:var(--color-bone);--text:var(--color-coal);--text-muted:var(--color-gray);
 --control-surface:var(--color-bone);--control-text:var(--color-coal);
 --shadow-dark:rgb(var(--rgb-deep)/.14);--shadow-light:rgb(var(--rgb-bone)/.85);
 background:var(--surface)!important;color:var(--text)!important;
}
body main{text-align:center;min-width:0}
body main img{display:block;max-width:100%;margin-inline:auto}
body .ds-stack{display:flex;flex-direction:column;align-items:center;gap:var(--space-6)}
body .ds-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--layout-gap)}
body .ds-card{background:var(--surface);color:var(--text);padding:var(--space-8);border-radius:var(--radius-card);min-width:0}
body main :is(h1,h2,h3,h4,h5,h6,p,li,label,figcaption,summary,.eyebrow,.tag,.muted,.project-label span){color:var(--text)!important}
body main :is(.muted,figcaption,.seo-context){color:var(--text-muted)!important}
body main :is(h1,h2,h3,h4,p){margin-block:0 var(--space-6)}
body main :is(p,.intro,.portfolio-note,.hero-description){max-width:var(--layout-text)!important;margin-inline:auto!important}
body main :is(h1,h2,h3,h4){text-wrap:balance;overflow-wrap:break-word}
body :is(.wrap,.ds-container){width:min(100%,var(--layout-max))!important;max-width:var(--layout-max)!important;margin-inline:auto!important;padding:var(--layout-section) var(--layout-gutter)!important;box-sizing:border-box}
body :is(.bm-header-stack,.bm-header-stack>header){position:relative!important;inset:auto!important}
body header{padding-inline:var(--layout-gutter)!important;gap:var(--space-4)!important}
body header .logo{min-width:0;flex:0 1 auto;padding:0!important}
body header .logo img{width:clamp(7.5rem,20vw,13.125rem)!important;height:auto;max-width:100%}
body .bm-top-banner{background:var(--color-bone)!important;color:var(--color-coal)!important}
body .bleed-hero{
 display:grid!important;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr)!important;
 align-items:center!important;justify-items:center;gap:var(--layout-gap);
 min-height:0!important;padding:var(--layout-section) var(--layout-gutter)!important;
}
body .bleed-content{grid-column:1;grid-row:1;width:100%;max-width:44rem!important;padding:0!important;justify-self:center;text-align:center}
body .bleed-content h1{max-width:100%!important;text-shadow:none!important}
body .bleed-content h1 em{color:var(--color-lime)!important}
body .bleed-art{grid-column:2;grid-row:1;position:relative!important;inset:auto!important;width:100%;max-width:34rem;background:var(--color-deep)!important;padding:0!important;justify-self:center}
body .bleed-art:after{display:none!important}
body .hero-collage-image{position:relative!important;inset:auto!important;display:block;width:100%!important;height:auto!important;max-height:36rem;object-fit:contain!important;object-position:center!important;padding:0!important;margin:auto}
body .bleed-caption{grid-column:1/-1;position:relative!important;inset:auto!important;display:flex;justify-content:center!important;align-items:center;flex-wrap:wrap;gap:var(--space-6);margin-top:var(--space-6);width:100%}
body .bleed-caption>span{max-width:100%!important}
body :is(.editorial-heading,.section-head,.portfolio-intro,.service-editorial){display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:var(--space-4);text-align:center}
body :is(.editorial-heading,.section-head,.portfolio-intro){margin-bottom:var(--layout-gap)!important}
body .portfolio-intro{padding:var(--space-10) var(--space-6);border-radius:var(--radius-card)}
body :is(.editorial-heading h2,.section-head h2,.portfolio-intro h1){margin:0!important;max-width:100%}
body .eyebrow{justify-content:center!important}
body :is(.work-grid,.portfolio-bento,.home-bento){display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:var(--space-12) var(--layout-gap)!important;align-items:start}
body :is(.work-grid,.portfolio-bento,.home-bento)>.work-card:nth-child(n){grid-column:auto!important;grid-row:auto!important;margin:0!important;min-width:0;display:block}
body :is(.work-grid,.portfolio-bento)>.software-card:nth-child(n){grid-column:1/-1!important}
body .work-card .project-cover{display:grid!important;place-items:center;width:100%!important;height:auto!important;min-height:0!important;aspect-ratio:3/2;margin:0!important;padding:var(--space-4)!important;box-sizing:border-box;background:var(--color-bone)!important;overflow:hidden}
body .work-card .project-cover>img{width:100%!important;height:100%!important;min-height:0!important;max-height:100%!important;object-fit:contain!important;object-position:center!important}
body .work-card .project-cover>.concept{width:100%!important;height:100%!important;min-height:0!important}
body .tepeyac-preview{width:100%;height:100%;min-height:0;grid-template-rows:minmax(0,1fr) auto}
body .tepeyac-brandline{--text:var(--color-bone);--text-muted:var(--color-bone);background:var(--color-coal);color:var(--text);gap:var(--space-4);padding:var(--space-3)}
body .project-label{display:flex!important;flex-direction:column!important;align-items:center!important;gap:var(--space-3)!important;min-height:0!important;margin-top:var(--space-6)!important;text-align:center}
body .work-card :is(h3,summary){margin-inline:auto!important}
body .work-card details{text-align:center;padding-top:var(--space-4)}
body .project-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--space-6);margin-top:var(--space-6)}
body .project-gallery figure{margin:0;min-width:0}
body .project-gallery :is(img,video){display:block;width:100%!important;height:auto!important;max-width:100%;aspect-ratio:3/2;object-fit:contain!important;object-position:center}
body .feature-split{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;align-items:center;gap:var(--layout-gap);min-height:0!important;padding:var(--space-12) var(--layout-gutter)}
body .feature-visual{display:grid;place-items:center;width:100%;max-width:34rem;margin:auto;min-height:0!important;height:auto!important}
body .feature-visual>img{display:block;width:100%!important;height:auto!important;max-height:30rem;object-fit:contain!important}
body .feature-copy{align-items:center!important;padding:var(--space-6)!important;text-align:center}
body .feature-copy h2{margin:var(--space-4) 0 var(--space-6)!important}
body .service-links{width:100%;max-width:var(--layout-text);margin:auto}
body .service-links a{justify-content:center;gap:var(--space-4);padding-block:var(--space-6)}
body :is(.quiz-layout,.contact){display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:var(--layout-gap)!important;align-items:start!important}
body :is(.quiz-layout>div:first-child,.contact-editorial){width:100%;max-width:var(--layout-text);margin-inline:auto!important;padding:var(--space-10) var(--space-6)!important;box-sizing:border-box;border-radius:var(--radius-card);min-height:0!important;align-items:center!important;justify-content:center!important;text-align:center}
body .contact-mark{position:static!important;transform:none!important;margin:0 0 var(--space-6)!important;color:var(--color-lime)!important}
body :is(.quiz-card,.contact>form){width:100%;max-width:var(--layout-form);margin-inline:auto!important;padding:var(--space-8)!important;box-sizing:border-box;text-align:center;border:1px solid var(--color-gray)}
body .quiz-card .option{width:100%;margin-block:var(--space-4)!important;justify-content:center!important;text-align:center!important;white-space:normal}
body .quiz-card :is(.button,.back){display:flex;width:fit-content;margin:var(--space-4) auto!important}
body .quiz-card .progress{margin-bottom:var(--space-6)}
body label{margin-bottom:var(--space-6)!important;text-align:center}
body :is(input,textarea,select){box-sizing:border-box;color:var(--control-text)!important;background:var(--control-surface)!important;border-color:var(--color-gray)!important;text-align:center;max-width:100%}
body :is(input,textarea)::placeholder{color:var(--text-muted)!important;opacity:1}
body .software-case{max-width:100%;margin-inline:auto;text-align:center}
body .device-showcase{gap:var(--layout-gap)!important;column-gap:var(--space-6)!important}
body .device-stage{display:flex!important;align-items:center;justify-content:center;min-height:0!important;height:auto!important;padding:var(--space-8) var(--space-4)!important;background:var(--color-bone)!important}
body .desktop-example .device-stage{display:block!important}
body .laptop-shell{width:100%;max-width:100%;min-width:0;margin-inline:auto;box-sizing:border-box}
body .laptop-base{width:100%;max-width:100%;margin-inline:0!important;box-sizing:border-box}
body .device-caption{text-align:center;margin-top:var(--space-6);padding:0}
body .device-caption>span{display:block;margin-bottom:var(--space-3)}
body :is(.tablet-shell,.phone-shell){margin-inline:auto!important}
body .software-benefits{gap:var(--space-6);text-align:center;margin-block:var(--space-10)}
body :is(.tepeyac-mini-gallery,.tepeyac-case){gap:var(--space-6);margin-top:var(--space-6)}
body footer{justify-content:center!important;align-items:center;gap:var(--space-6);padding:var(--space-8) var(--layout-gutter)!important;text-align:center}
body :is(.button,button,.work-card summary){--control-padding:var(--space-3) var(--space-6);--control-height:3rem}
body .bm-tabbar a{--control-padding:var(--space-2) var(--space-3);--control-height:4rem}
body .language-switch a{--control-padding:var(--space-2) var(--space-3);--control-height:2.75rem}
body .bm-whatsapp{--control-padding:0;--control-radius:50%}
body :is(.button,button,.language-switch a,.bm-tabbar a,.bm-whatsapp,.work-card summary){background:var(--control-surface)!important;color:var(--control-text)!important;border-radius:var(--control-radius,var(--radius-control))!important;border-color:rgb(var(--rgb-gray)/.25)!important;box-shadow:var(--space-1) var(--space-1) var(--space-3) var(--shadow-dark),calc(-1*var(--space-1)) calc(-1*var(--space-1)) var(--space-3) var(--shadow-light),inset 1px 1px 1px rgb(var(--rgb-bone)/.18)!important;max-width:100%;white-space:normal}
body :is(.button.lime,.bm-whatsapp,.language-switch a[aria-current=true],.bm-tabbar a[aria-current=page]){background:linear-gradient(145deg,var(--color-soft),var(--color-lime))!important;color:var(--color-coal)!important}
body :is(.button,button,.language-switch a,.bm-tabbar a,.work-card summary):not(:disabled):hover{box-shadow:var(--space-2) var(--space-2) var(--space-4) var(--shadow-dark),calc(-1*var(--space-1)) calc(-1*var(--space-1)) var(--space-3) var(--shadow-light)!important}
body :is(.button,button,.language-switch a,.bm-tabbar a,.bm-whatsapp,.work-card summary):not(:disabled):active{box-shadow:inset var(--space-1) var(--space-1) var(--space-2) var(--shadow-dark),inset calc(-1*var(--space-1)) calc(-1*var(--space-1)) var(--space-2) var(--shadow-light)!important}
body :is(a,button,input,textarea,select,summary):focus-visible{outline:3px solid var(--text)!important;outline-offset:var(--space-1)}
body .bm-whatsapp{border-radius:50%!important}
@media(max-width:900px){
 body :is(.bleed-hero,.feature-split){grid-template-columns:minmax(0,1fr)!important}
 body .bleed-content{grid-column:1;grid-row:1}
 body .bleed-art{grid-column:1;grid-row:2;max-width:30rem}
 body .bleed-caption{grid-row:3}
 body .hero-collage-image{max-height:28rem}
 body :is(.work-grid,.portfolio-bento,.home-bento,.ds-grid){grid-template-columns:minmax(0,1fr)!important}
 body .device-showcase{column-gap:0!important}
 body .device-example{grid-column:1/-1!important}
}
@media(max-width:1200px){body footer{padding-bottom:var(--space-24)!important}}
@media(max-width:600px){
 body .bm-tabbar a{--control-padding:var(--space-2) var(--space-1)}
 body .project-gallery{grid-template-columns:minmax(0,1fr)}
 body :is(.quiz-card,.contact>form,.quiz-layout>div:first-child,.contact-editorial){padding:var(--space-6) var(--space-4)!important}
 body .hero-collage-image{max-height:24rem}
 body .software-benefits{grid-template-columns:minmax(0,1fr)}
}

/* BM SHARED PROJECT LAYOUT START */
:root{--project-max:44rem;--project-gap:clamp(3rem,6vw,6rem);--project-caption-gap:1.5rem}
body[data-lang][data-page] :is(.work-grid,.home-bento,.portfolio-bento){
 display:grid!important;grid-template-columns:minmax(0,1fr)!important;
 justify-items:center!important;gap:var(--project-gap)!important;
}
body[data-lang][data-page] :is(.work-grid,.home-bento,.portfolio-bento)>.work-card:nth-child(n){
 grid-column:1/-1!important;grid-row:auto!important;width:100%!important;
 max-width:var(--project-max)!important;min-width:0;margin:0 auto!important;display:block!important;
}
body[data-lang][data-page] .work-card .project-cover{
 display:block!important;width:100%!important;height:auto!important;min-height:0!important;
 max-height:none!important;aspect-ratio:auto!important;padding:0!important;margin:0 auto!important;
}
body[data-lang][data-page] :is(.work-grid,.home-bento,.portfolio-bento) .work-card:nth-child(n) .project-cover>img,
body[data-lang][data-page] .tepeyac-preview>img{
 display:block;width:100%!important;height:auto!important;min-height:0!important;
 max-height:none!important;object-fit:contain!important;object-position:center!important;margin:0 auto!important;
}
body[data-lang][data-page] .tepeyac-preview{display:block!important;width:100%!important;height:auto!important}
body[data-lang][data-page] .project-label{
 display:flex!important;flex-direction:column!important;align-items:center!important;
 width:100%!important;min-height:0!important;gap:.75rem!important;
 margin:var(--project-caption-gap) auto 0!important;text-align:center!important;
}
body[data-lang][data-page] .project-label :is(h3,span){max-width:100%;margin-inline:auto!important;text-align:center!important}
body[data-lang][data-page] .feature-split{
 display:grid!important;grid-template-columns:minmax(0,1fr)!important;justify-items:center!important;
 gap:var(--project-caption-gap)!important;min-height:0!important;
}
body[data-lang][data-page] :is(.feature-visual,.feature-copy){
 width:100%!important;max-width:var(--project-max)!important;margin-inline:auto!important;
 min-height:0!important;height:auto!important;align-items:center!important;text-align:center!important;
}
body[data-lang][data-page] .feature-visual{padding:0!important}
body[data-lang][data-page] .feature-visual>img{
 width:100%!important;height:auto!important;max-height:none!important;
 object-fit:contain!important;object-position:center!important;margin-inline:auto!important;
}
/* BM SHARED PROJECT LAYOUT END */

/* BM EXPANDED PORTFOLIO START */
:root{--case-logo-size:clamp(8rem,18vw,12rem);--case-cover-height:clamp(12rem,25vw,18rem)}
body[data-lang][data-page] .work-card>.case-logo-cover{
 display:grid!important;place-items:center!important;min-height:var(--case-cover-height)!important;
 height:auto!important;aspect-ratio:auto!important;padding:var(--space-8,2rem)!important;
 background:var(--color-bone,#EEE8DC)!important;border:1px solid color-mix(in srgb,var(--color-coal,#222222) 12%,transparent);
 border-radius:var(--space-4,1rem);text-decoration:none;isolation:isolate;
}
body[data-lang][data-page] .case-brand-mark{
 display:flex;align-items:center;justify-content:center;box-sizing:border-box;
 width:100%;max-width:20rem;min-width:0;height:var(--case-logo-size);margin-inline:auto;
}
body[data-lang][data-page] .case-brand-mark>:is(img,svg){
 display:block!important;width:auto!important;height:auto!important;max-width:100%!important;max-height:100%!important;
 min-height:0!important;object-fit:contain!important;object-position:center!important;aspect-ratio:auto!important;margin:0!important;
}
body[data-lang][data-page] .case-reference-mark{width:100%!important;height:100%!important;max-width:16rem!important;overflow:hidden}
body[data-lang][data-page] .case-brand-mark-dark{background:var(--color-coal,#222222);border-radius:var(--space-4,1rem);padding:var(--space-6,1.5rem)}
body[data-lang][data-page] .case-logistics-mark{display:flex;flex-direction:column;align-items:center;gap:var(--space-4,1rem);width:100%;min-width:0}
body[data-lang][data-page] .case-logistics-mark>img{width:100%!important;height:auto!important;max-width:100%!important;object-fit:contain!important;margin:0!important}
body[data-lang][data-page] .case-logistics-mark>span{font-family:var(--font-accent);font-size:var(--size-category,.75rem);letter-spacing:var(--tracking-accent,.08em)}
body[data-lang][data-page] .case-logo-cover:focus-visible{outline:3px solid var(--color-coal,#222222);outline-offset:6px}
body[data-lang][data-page] .work-card>.case-detail{scroll-margin-top:7rem;border-top:0!important;margin-top:var(--space-6,1.5rem)!important}
body[data-lang][data-page] .case-detail>summary{
 display:list-item!important;list-style-position:inside;text-align:center;cursor:pointer;width:fit-content;
 max-width:100%;margin-inline:auto;padding:var(--space-3,.75rem) var(--space-6,1.5rem);
 border-radius:var(--space-4,1rem);background:var(--color-bone,#EEE8DC);color:var(--color-coal,#222222);
 box-shadow:5px 5px 12px color-mix(in srgb,var(--color-coal,#222222) 12%,transparent),-5px -5px 12px color-mix(in srgb,var(--color-bone,#EEE8DC) 85%,white);
 font:var(--weight-cta,700) var(--size-cta,.875rem)/1.3 var(--font-body);
}
body[data-lang][data-page] .case-detail>summary:focus-visible{outline:3px solid var(--color-coal,#222222);outline-offset:4px}
body[data-lang][data-page] .case-detail>summary:active{box-shadow:inset 3px 3px 7px color-mix(in srgb,var(--color-coal,#222222) 13%,transparent),inset -3px -3px 7px color-mix(in srgb,var(--color-bone,#EEE8DC) 85%,white)}
body[data-lang][data-page] .case-detail>:not(summary){margin-top:var(--space-8,2rem)}
body[data-lang][data-page] .case-detail>p{max-width:var(--measure-text,44rem);margin-inline:auto}
body[data-lang][data-page] .case-visual,.case-support-figure{width:100%;max-width:var(--project-max,62rem);margin-inline:auto}
body[data-lang][data-page] .case-visual figcaption,.case-support-figure figcaption{margin-top:var(--space-3,.75rem);color:var(--color-gray,#454545);text-align:center}
body[data-lang][data-page] .case-browser{border:1px solid color-mix(in srgb,var(--color-coal,#222222) 18%,transparent);border-radius:var(--space-4,1rem);overflow:hidden;box-shadow:0 16px 40px color-mix(in srgb,var(--color-coal,#222222) 8%,transparent);background:var(--color-bone,#EEE8DC)}
body[data-lang][data-page] .case-browser-bar{display:flex;align-items:center;justify-content:space-between;gap:var(--space-3,.75rem);padding:var(--space-3,.75rem) var(--space-5,1.25rem);background:var(--color-coal,#222222);color:var(--color-bone,#EEE8DC);font-family:var(--font-accent);font-size:var(--size-micro,.6875rem);overflow-wrap:anywhere}
body[data-lang][data-page] .case-site-hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;gap:var(--space-6,1.5rem);padding:var(--space-8,2rem)}
body[data-lang][data-page] .case-site-copy{display:flex;flex-direction:column;align-items:center;gap:var(--space-5,1.25rem);text-align:center;min-width:0}
body[data-lang][data-page] .case-site-copy .case-brand-mark{height:clamp(5rem,10vw,8rem);max-width:12rem}
body[data-lang][data-page] :is(.case-site-copy,.case-parcel-web)>strong{font-family:var(--font-heading);font-weight:var(--weight-bold,700);font-size:var(--size-h2,2.75rem);line-height:var(--leading-heading,1.1);letter-spacing:var(--tracking-heading,-.04em);color:var(--color-coal,#222222)}
body[data-lang][data-page] .case-ui-cta{display:inline-block;background:var(--color-lime,#C1FF72);color:var(--color-coal,#222222);border-radius:var(--space-3,.75rem);padding:var(--space-3,.75rem) var(--space-5,1.25rem);font-weight:var(--weight-cta,700)}
body[data-lang][data-page] .case-site-hero>.case-pizza{width:100%!important;height:auto!important;aspect-ratio:1!important;object-fit:cover!important;margin:0!important;border-radius:var(--space-3,.75rem)}
body[data-lang][data-page] .case-parcel-web{display:flex;flex-direction:column;align-items:center;gap:var(--space-6,1.5rem);padding:var(--space-8,2rem);text-align:center}
body[data-lang][data-page] .case-shipping-steps{display:flex;flex-wrap:wrap;justify-content:center;gap:var(--space-3,.75rem)}
body[data-lang][data-page] .case-shipping-steps>span{background:var(--color-soft-lime,#E3FFB5);color:var(--color-coal,#222222);border-radius:var(--space-3,.75rem);padding:var(--space-3,.75rem) var(--space-5,1.25rem)}
body[data-lang][data-page] .case-identity-board{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr);align-items:center;gap:var(--space-8,2rem);padding:var(--space-8,2rem);background:var(--color-deep,#141414);border-radius:var(--space-4,1rem)}
body[data-lang][data-page] :is(.case-stationery-sheet,.case-stationery-card){display:flex;flex-direction:column;align-items:center;gap:var(--space-6,1.5rem);padding:var(--space-6,1.5rem);background:var(--color-bone,#EEE8DC);color:var(--color-coal,#222222);min-width:0;box-shadow:0 14px 30px color-mix(in srgb,var(--color-deep,#141414) 20%,transparent)}
body[data-lang][data-page] .case-stationery-sheet{aspect-ratio:3/4;justify-content:flex-start}
body[data-lang][data-page] .case-stationery-card{aspect-ratio:1.6;justify-content:center}
body[data-lang][data-page] :is(.case-stationery-sheet,.case-stationery-card)>span:not(.case-brand-mark){font-family:var(--font-accent);font-size:var(--size-micro,.6875rem);letter-spacing:var(--tracking-accent,.08em);text-align:center}
body[data-lang][data-page] .case-stationery-card .case-brand-mark{height:clamp(5rem,12vw,9rem)}
body[data-lang][data-page] .case-stationery-lines{display:grid;gap:var(--space-4,1rem);width:85%;margin-top:auto;margin-bottom:var(--space-8,2rem)}
body[data-lang][data-page] .case-stationery-lines i{height:1px;background:var(--color-gray,#454545);opacity:.35}
body[data-lang][data-page] .case-deliverables{max-width:44rem;margin-inline:auto}
body[data-lang][data-page] .case-deliverables>ul{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--space-4,1rem);list-style:none;padding:0;margin:var(--space-5,1.25rem) 0 0}
body[data-lang][data-page] .case-deliverables li{padding:var(--space-5,1.25rem);border:1px solid color-mix(in srgb,var(--color-coal,#222222) 14%,transparent);border-radius:var(--space-3,.75rem);text-align:center;overflow-wrap:anywhere}
body[data-lang][data-page] .case-vault{max-width:44rem;margin-inline:auto;padding:var(--space-8,2rem);background:var(--color-coal,#222222);color:var(--color-bone,#EEE8DC);border-radius:var(--space-4,1rem)}
body[data-lang][data-page] .case-vault .eyebrow{color:var(--color-lime,#C1FF72)!important;display:block}
body[data-lang][data-page] .case-vault strong{display:block;margin:var(--space-4,1rem) 0 var(--space-6,1.5rem);font-family:var(--font-heading);font-size:var(--size-h3,1.75rem);font-weight:var(--weight-semibold,600);line-height:var(--leading-heading,1.1);letter-spacing:var(--tracking-heading,-.04em);color:var(--color-bone,#EEE8DC)}
body[data-lang][data-page] .case-vault-row{display:flex;justify-content:space-between;flex-wrap:wrap;gap:var(--space-3,.75rem);padding:var(--space-4,1rem) 0;border-top:1px solid color-mix(in srgb,var(--color-bone,#EEE8DC) 20%,transparent)}
body[data-lang][data-page] .case-vault-row>span{color:var(--color-bone,#EEE8DC)!important}
body[data-lang][data-page] .case-outcome{max-width:44rem;margin-inline:auto;padding:var(--space-6,1.5rem);border-inline-start:3px solid var(--color-lime,#C1FF72)}
body[data-lang][data-page] .case-outcome>p{margin-top:var(--space-4,1rem)}
body[data-lang][data-page] .case-site-link{text-align:center}
@media(max-width:600px){
 body[data-lang][data-page] .case-site-hero{grid-template-columns:minmax(0,1fr);padding:var(--space-5,1.25rem)}
 body[data-lang][data-page] .case-site-hero>.case-pizza{max-height:18rem!important}
 body[data-lang][data-page] .case-identity-board{grid-template-columns:minmax(0,1fr);padding:var(--space-5,1.25rem)}
 body[data-lang][data-page] .case-stationery-sheet{width:100%;max-width:20rem;margin-inline:auto;box-sizing:border-box}
 body[data-lang][data-page] .case-stationery-card{width:100%;max-width:20rem;margin-inline:auto;box-sizing:border-box}
 body[data-lang][data-page] .case-deliverables>ul{grid-template-columns:minmax(0,1fr)}
 body[data-lang][data-page] .case-vault{padding:var(--space-5,1.25rem)}
}
/* BM EXPANDED PORTFOLIO END */

/* BM LOGISTICS MOSTACHON START */
:root{--mostachon-visual-gap:var(--space-8,2rem);--mostachon-tile-height:clamp(15rem,30vw,24rem)}
body[data-lang][data-page] .case-brand-mark[data-brand-logo="saas"]{max-width:32rem}
body[data-lang][data-page] .mostachon-web-layout{
 display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;
 gap:var(--space-8,2rem);padding:var(--space-8,2rem);background:var(--color-bone,#EEE8DC);color:var(--color-coal,#222222);
}
body[data-lang][data-page] .mostachon-web-copy{display:flex;flex-direction:column;align-items:center;gap:var(--space-5,1.25rem);min-width:0;text-align:center}
body[data-lang][data-page] .mostachon-web-copy>.case-brand-mark{height:clamp(6rem,12vw,9rem);max-width:12rem}
body[data-lang][data-page] .mostachon-web-copy>strong{font-family:var(--font-heading)!important;font-size:var(--size-h2)!important;font-weight:var(--weight-bold,700)!important;letter-spacing:var(--tracking-heading,-.04em)!important;line-height:var(--leading-heading,1.1)!important;color:var(--color-coal,#222222)}
body[data-lang][data-page] .mostachon-web-layout>img{display:block;width:100%!important;max-width:100%;height:auto!important;object-fit:contain!important;margin:0!important;border-radius:var(--space-3,.75rem)}
body[data-lang][data-page] .mostachon-visual-story{display:grid;gap:var(--mostachon-visual-gap);width:100%;max-width:var(--project-max,62rem);margin-inline:auto}
body[data-lang][data-page] :is(.mostachon-identity-row,.mostachon-origin-row){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--space-6,1.5rem);align-items:start}
body[data-lang][data-page] .mostachon-visual-story figure{width:100%;min-width:0;margin:0!important}
body[data-lang][data-page] .mostachon-visual-story figcaption{max-width:100%;margin-top:var(--space-3,.75rem);text-align:center;color:var(--color-gray,#454545);font-family:var(--font-body)}
body[data-lang][data-page] :is(.mostachon-identity-plate,.mostachon-label-viewport){display:grid;place-items:center;box-sizing:border-box;height:var(--mostachon-tile-height);min-width:0;border-radius:var(--space-4,1rem);overflow:hidden;background:var(--color-bone,#EEE8DC)}
body[data-lang][data-page] .mostachon-identity-plate{padding:var(--space-8,2rem);border:1px solid color-mix(in srgb,var(--color-coal,#222222) 14%,transparent)}
body[data-lang][data-page] .mostachon-identity-plate>img{display:block;width:100%!important;height:100%!important;min-height:0!important;max-height:100%;object-fit:contain!important;margin:0!important}
body[data-lang][data-page] .mostachon-label-viewport>img{display:block;width:100%!important;height:100%!important;min-height:0!important;max-height:none;object-fit:cover!important;object-position:center 72%!important;margin:0!important}
body[data-lang][data-page] .mostachon-restaurant-tile>img{display:block;width:100%!important;height:auto!important;object-fit:contain!important;margin:0!important;border-radius:var(--space-4,1rem)}
body[data-lang][data-page] .mostachon-origin-row img{display:block;width:100%!important;height:auto!important;aspect-ratio:4/3;object-fit:cover!important;object-position:center!important;margin:0!important;border-radius:var(--space-4,1rem)}
@media(max-width:600px){
 body[data-lang][data-page] .mostachon-web-layout{grid-template-columns:minmax(0,1fr);gap:var(--space-6,1.5rem);padding:var(--space-5,1.25rem)}
 body[data-lang][data-page] :is(.mostachon-identity-row,.mostachon-origin-row){grid-template-columns:minmax(0,1fr)}
 body[data-lang][data-page] .mostachon-identity-plate{padding:var(--space-6,1.5rem)}
}
/* BM LOGISTICS MOSTACHON END */

/* BM BALANCED PROJECT COVERS START */
:root{
 --project-cover-max:36rem;
 --project-cover-height:clamp(16rem,calc(38vw + 6rem),25rem);
 --hero-cover-max:28rem;
 --hero-cover-height:clamp(16rem,38vw,30rem);
}
body[data-lang][data-page] :is(.home-bento,.portfolio-bento)>.work-card:nth-child(n) .project-cover{
 width:100%!important;max-width:var(--project-cover-max)!important;
 box-sizing:border-box;margin-inline:auto!important;height:auto!important;min-height:0!important;
}
body[data-lang][data-page] :is(.home-bento,.portfolio-bento)>.work-card:nth-child(n) .project-cover:not(.case-logo-cover){
 display:flex!important;align-items:center;justify-content:center;
 max-height:none!important;aspect-ratio:auto!important;padding:0!important;
}
body[data-lang][data-page] :is(.home-bento,.portfolio-bento)>.work-card:nth-child(n) .project-cover:not(.case-logo-cover)>img{
 display:block!important;width:auto!important;max-width:100%!important;
 height:auto!important;min-height:0!important;max-height:var(--project-cover-height)!important;
 object-fit:contain!important;object-position:center!important;margin-inline:auto!important;
}
body[data-lang][data-page] :is(.home-bento,.portfolio-bento)>.work-card:nth-child(n) .case-logo-cover{
 --case-logo-size:clamp(5rem,9vw,7.5rem);
 --case-cover-height:clamp(9rem,14vw,12rem);
 display:grid!important;place-items:center!important;
 min-height:var(--case-cover-height)!important;max-height:none!important;
 padding:clamp(1rem,2vw,1.5rem)!important;
}
body[data-lang][data-page] :is(.home-bento,.portfolio-bento)>.work-card:nth-child(n) .project-cover>.tepeyac-preview{
 display:flex!important;flex-direction:column;align-items:center;
 width:auto!important;max-width:100%!important;height:auto!important;min-height:0!important;
 margin-inline:auto!important;
}
body[data-lang][data-page] :is(.home-bento,.portfolio-bento)>.work-card:nth-child(n) .project-cover>.tepeyac-preview>img{
 display:block!important;width:auto!important;max-width:100%!important;
 height:auto!important;min-height:0!important;
 max-height:calc(var(--project-cover-height) - 4rem)!important;
 object-fit:contain!important;object-position:center!important;margin-inline:auto!important;
}
body[data-lang][data-page] :is(.home-bento,.portfolio-bento)>.work-card:nth-child(n) .tepeyac-preview>.tepeyac-brandline{
 box-sizing:border-box;width:100%;padding:var(--space-3,.75rem) var(--space-5,1.25rem)!important;
 gap:var(--space-4,1rem);min-width:0;
}
body[data-lang][data-page] :is(.home-bento,.portfolio-bento)>.work-card:nth-child(n) .tepeyac-brandline>img{
 width:auto!important;max-width:8rem!important;height:auto!important;max-height:2.5rem!important;object-fit:contain!important;
}
body[data-lang][data-page] :is(.home-bento,.portfolio-bento)>.work-card:nth-child(n) .project-cover>.concept{
 width:100%!important;max-width:100%!important;height:var(--project-cover-height)!important;
 min-height:0!important;max-height:var(--project-cover-height)!important;box-sizing:border-box;
}
body[data-lang][data-page="0"] .bleed-art{
 width:100%!important;max-width:var(--hero-cover-max)!important;margin-inline:auto!important;
}
body[data-lang][data-page="0"] .hero-collage-image{
 width:auto!important;max-width:100%!important;height:auto!important;
 max-height:var(--hero-cover-height)!important;object-fit:contain!important;margin-inline:auto!important;
}
/* BM BALANCED PROJECT COVERS END */

/* BM ALL BRANDS HERO START */
body[data-lang][data-page="0"] .bleed-art.collage-hero{
 width:100%!important;max-width:var(--hero-cover-max,28rem)!important;
 margin-inline:auto!important;padding:0!important;
}
body[data-lang][data-page="0"] .bleed-art.collage-hero:after{display:none!important}
body[data-lang][data-page="0"] .bm-hero-collage{
 display:block;width:100%;max-width:100%;min-width:0;margin:0 auto;
}
body[data-lang][data-page="0"] .bm-hero-collage>.hero-collage-image{
 position:relative!important;inset:auto!important;display:block;
 width:100%!important;max-width:100%!important;height:auto!important;
 max-height:var(--hero-cover-height,30rem)!important;
 object-fit:contain!important;object-position:center!important;
 padding:0!important;margin:0 auto!important;border:0;
}
/* BM ALL BRANDS HERO END */

/* BM RUTA MARKET STYLES START */
body[data-lang][data-page] .case-site-capture{
 display:block;width:100%;max-width:100%;height:auto;object-fit:contain;
 margin-inline:auto;border:1px solid color-mix(in srgb,var(--color-coal,#222222) 12%,transparent);
 border-radius:var(--space-4,1rem);box-sizing:border-box;
}
body[data-lang][data-page] .case-capture-figure{max-width:var(--project-max,44rem);margin-inline:auto}
body[data-lang][data-page] .case-market-workflows{
 display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--space-6,1.5rem);
 width:100%;max-width:var(--project-max,44rem);margin-inline:auto;
}
body[data-lang][data-page] .case-market-flow{
 min-width:0;padding:var(--space-6,1.5rem);border:1px solid color-mix(in srgb,var(--color-coal,#222222) 14%,transparent);
 border-radius:var(--space-4,1rem);background:var(--color-bone,#EEE8DC);color:var(--color-coal,#222222);
}
body[data-lang][data-page] .case-market-flow>ol{padding-inline-start:var(--space-6,1.5rem);margin-top:var(--space-5,1.25rem);text-align:start}
body[data-lang][data-page] .case-market-flow li+li{margin-top:var(--space-3,.75rem)}
@media(max-width:600px){body[data-lang][data-page] .case-market-workflows{grid-template-columns:minmax(0,1fr)}}
/* BM RUTA MARKET STYLES END */

/* BM COMPANY JOURNEY SYSTEM START */
:root:root{
 --journey-tile-height:11.5rem;--journey-path-gap:var(--space-8);
 --journey-shadow:var(--space-2) var(--space-2) var(--space-5) rgb(var(--rgb-deep)/.10),calc(-1*var(--space-2)) calc(-1*var(--space-2)) var(--space-5) rgb(var(--rgb-bone)/.85);
}
body[data-lang][data-page="0"] .company-journey{scroll-margin-top:var(--space-20);padding-top:var(--space-12)!important}
body .journey-intro{max-width:56rem;margin:0 auto var(--space-10);text-align:center}
body .journey-intro .eyebrow{margin-bottom:var(--space-5)}
body .journey-intro :is(h1,h2){margin:0 0 var(--space-6)}
body .journey-intro h2>span{display:block}
body .journey-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start;gap:var(--space-8);text-align:center}
body .journey-board{border:1px solid rgb(var(--rgb-gray)/.2);border-radius:var(--space-6);padding:var(--space-6);margin:0;min-width:0;background:var(--color-bone);box-shadow:inset 1px 1px 0 rgb(var(--rgb-bone)/.85),var(--journey-shadow)}
body .journey-board-heading{display:flex;justify-content:space-between;align-items:center;gap:var(--space-4);padding-bottom:var(--space-6);border-bottom:1px solid rgb(var(--rgb-gray)/.2);color:var(--color-gray)}
body .journey-track{position:relative;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-areas:"one two" "four three" "five five";gap:var(--journey-path-gap);margin-top:var(--space-8)}
body .journey-route{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;color:var(--color-gray)}
body .journey-route path{fill:none;stroke:currentColor;stroke-width:1;stroke-dasharray:1 1.5;vector-effect:non-scaling-stroke}
body .journey-station{position:relative;min-width:0;display:flex}
body .journey-station-1{grid-area:one}body .journey-station-2{grid-area:two}body .journey-station-3{grid-area:three}body .journey-station-4{grid-area:four}
body .journey-station-5{grid-area:five;width:calc((100% - var(--journey-path-gap))/2);justify-self:center}
body .journey-tile{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:var(--space-2);box-sizing:border-box;width:100%;min-height:var(--journey-tile-height);margin:0;padding:var(--space-4);border:1px solid rgb(var(--rgb-gray)/.2);border-radius:var(--radius-card);background:var(--color-bone);cursor:pointer;box-shadow:var(--journey-shadow);transition:background .2s,box-shadow .2s;overflow-wrap:anywhere;color:var(--color-coal)!important}
body .journey-tile-top{display:flex;align-items:center;justify-content:space-between;align-self:stretch;gap:var(--space-2)}
body .journey-selected{display:inline-flex;align-items:center;gap:var(--space-2);min-height:var(--space-6);visibility:hidden;white-space:nowrap}
body .journey-logo{display:grid;place-items:center;width:100%;height:3.5rem;max-width:10rem;padding:var(--space-2);box-sizing:border-box}
body .journey-logo-dark{background:var(--color-coal);border-radius:var(--space-2)}
body .journey-logo img{width:100%!important;height:100%!important;max-height:100%!important;min-height:0!important;object-fit:contain!important}
body .journey-tile-name{max-width:100%;text-align:center}
body .journey-stage{color:var(--color-gray)}
body .journey-choice:checked+.journey-tile{background:var(--color-soft);border-color:var(--color-coal);box-shadow:inset 3px 3px 8px rgb(var(--rgb-deep)/.12),inset -3px -3px 8px rgb(var(--rgb-bone)/.7)}
body .journey-choice:checked+.journey-tile .journey-selected{visibility:visible}
body .journey-choice:focus-visible+.journey-tile{outline:3px solid var(--color-coal);outline-offset:var(--space-1)}
body .journey-tile:hover{border-color:var(--color-coal)}
body .journey-instruction{margin:var(--space-6) 0 0!important;max-width:100%!important}
body .journey-pawn{position:relative;display:inline-block;flex:0 0 var(--space-4);width:var(--space-4);height:var(--space-6);pointer-events:none;filter:drop-shadow(0 2px 1px rgb(var(--rgb-deep)/.18))}
body .journey-pawn::before{content:"";position:absolute;left:var(--space-1);top:0;width:var(--space-2);height:var(--space-2);border-radius:50%;background:var(--color-coal)}
body .journey-pawn::after{content:"";position:absolute;left:0;bottom:0;width:100%;height:var(--space-4);background:var(--color-coal);clip-path:polygon(35% 0,65% 0,100% 100%,0 100%);border-radius:2px}
body .journey-reader{scroll-margin-top:var(--space-20);padding:var(--space-8);border-radius:var(--space-6);min-width:0;box-sizing:border-box}
body .journey-story{display:none;flex-direction:column;align-items:center;min-width:0}
body .journey-layout:has(#journey-mostachon:checked) .journey-story-1,
body .journey-layout:has(#journey-tepeyac:checked) .journey-story-2,
body .journey-layout:has(#journey-saas:checked) .journey-story-3,
body .journey-layout:has(#journey-storm:checked) .journey-story-4,
body .journey-layout:has(#journey-capy:checked) .journey-story-5{display:flex}
body .journey-story-top{display:flex;justify-content:space-between;align-items:center;width:100%;gap:var(--space-4);margin-bottom:var(--space-5);color:var(--color-soft)}
body .journey-story-top>.type-number{white-space:nowrap;flex-shrink:0}
body .journey-story h2{margin-bottom:var(--space-4);max-width:100%}
body .journey-story>p{margin-bottom:var(--space-5)}
body .journey-visual{width:100%;margin:0 0 var(--space-5);min-width:0}
body .journey-visual img{display:block;width:100%;height:10rem;object-fit:contain;object-position:center;background:var(--color-bone);border-radius:var(--space-2);padding:var(--space-2);box-sizing:border-box}
body .journey-visual figcaption{margin-top:var(--space-2);color:var(--color-bone)!important}
body .journey-lesson{border-top:1px solid rgb(var(--rgb-bone)/.25);padding-top:var(--space-4);width:100%}
body .journey-lesson>span{display:block;color:var(--color-lime);margin-bottom:var(--space-2)}
body .journey-lesson>p{margin-bottom:var(--space-5)}
body .journey-case-link{display:inline-flex;align-items:center;justify-content:center;gap:var(--space-3);min-height:2.75rem;color:var(--color-lime);text-underline-offset:var(--space-2);text-decoration-thickness:1px}
body .journey-controls{display:flex;justify-content:space-between;gap:var(--space-4);margin-top:var(--space-5);padding-top:var(--space-5);border-top:1px solid rgb(var(--rgb-bone)/.25)}
body .journey-controls[hidden]{display:none}
body .journey-controls button{display:inline-flex;align-items:center;justify-content:center;gap:var(--space-2);min-height:2.75rem;min-width:0;padding:var(--space-3) var(--space-4);border:1px solid transparent;cursor:pointer}
body .journey-controls button:disabled{opacity:.45;cursor:default}
body .journey-next{display:grid;grid-template-columns:repeat(2,max-content);align-items:center;justify-content:center;justify-items:center;gap:var(--space-5) var(--space-6);margin-top:var(--space-10)}
body .journey-next>p{grid-column:1/-1;margin-bottom:0}
body .journey-all-cases{display:inline-flex;align-items:center;justify-content:center;gap:var(--space-2);min-height:2.75rem;color:var(--color-coal);text-underline-offset:var(--space-2)}
body .journey-sr-only,body input.journey-choice{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;clip-path:inset(50%)!important;border:0!important;min-height:0!important}
body[data-lang][data-page="1"] .case-story{list-style:none;margin:var(--space-8) 0 0;padding:0;text-align:center;display:grid;gap:var(--space-6)}
body[data-lang][data-page="1"] .case-story>li{display:grid;grid-template-columns:var(--space-8) minmax(0,1fr);gap:var(--space-4);padding-top:var(--space-6);border-top:1px solid rgb(var(--rgb-gray)/.25);min-width:0}
body[data-lang][data-page="1"] .case-story-number{display:grid;place-items:center;align-self:start;width:var(--space-8);height:var(--space-8);border:1px solid rgb(var(--rgb-gray)/.25);border-radius:50%;background:var(--color-soft);color:var(--color-coal)}
body[data-lang][data-page="1"] .case-story h4{margin-bottom:var(--space-3)}
body[data-lang][data-page="1"] .case-story p{margin-bottom:0;max-width:100%!important}
@media(max-width:900px){
 body .journey-layout{grid-template-columns:minmax(0,1fr);max-width:38rem;margin-inline:auto}
 body .journey-intro{margin-bottom:var(--space-8)}
 body .journey-reader{scroll-margin-top:var(--space-20);padding:var(--space-6)}
}
@media(max-width:480px){
 :root:root{--journey-path-gap:var(--space-5);--journey-tile-height:10.5rem}
 body .journey-board{padding:var(--space-4)}
 body .journey-track{margin-top:var(--space-6)}
 body .journey-tile{padding:var(--space-3);gap:var(--space-2)}
 body .journey-logo{height:3rem;padding:var(--space-1)}
 body .journey-reader{scroll-margin-top:var(--space-20);padding:var(--space-5)}
 body .journey-story-top{gap:var(--space-2)}
 body .journey-next{grid-template-columns:minmax(0,1fr);gap:var(--space-4)}
 body[data-lang][data-page="1"] .case-story>li{grid-template-columns:minmax(0,1fr);justify-items:center;gap:var(--space-3)}
}
@media(max-width:360px){body .journey-tile{padding:var(--space-2)}}
@media(prefers-reduced-motion:reduce){body .journey-pawn,body .journey-tile{transition:none}}
@media print{body .journey-story{display:block!important;break-inside:avoid}body .journey-controls{display:none!important}}
/* BM COMPANY JOURNEY SYSTEM END */

/* BM PORTFOLIO VISUAL CONSISTENCY START */
:root:root{
 --case-logo-width:18rem;--case-logo-height:7.5rem;
 --case-media-width:var(--project-cover-max,36rem);
 --case-media-height:clamp(18rem,45vw,26rem);
 --case-media-gap:var(--space-8);--case-media-caption-gap:var(--space-3);
 --case-support-padding:var(--space-8);--case-support-radius:var(--radius-card);
 --case-support-shadow:var(--space-1) var(--space-1) var(--space-4) rgb(var(--rgb-deep)/.10),calc(-1*var(--space-1)) calc(-1*var(--space-1)) var(--space-4) rgb(var(--rgb-bone)/.8);
}
/* A common transparent canvas keeps the original proportions of every mark. */
body[data-lang][data-page] .case-brand-mark:has(>img[data-normalized-logo]){
 display:flex;align-items:center;justify-content:center;width:100%;
 max-width:var(--case-logo-width)!important;height:var(--case-logo-height)!important;
 min-width:0;box-sizing:border-box;margin-inline:auto;
}
body[data-lang][data-page] .case-brand-mark>img[data-normalized-logo]{
 width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;
 min-height:0!important;object-fit:contain!important;object-position:center!important;aspect-ratio:12/5!important;
}
body[data-lang][data-page] .case-brand-mark-dark:has(>img[data-normalized-logo]){
 padding:0!important;background:var(--color-coal);border-radius:var(--radius-card);
}
/* Preserve the board layout; only its logo source and shared display box change. */
body[data-lang][data-page="0"] .journey-logo img{aspect-ratio:12/5!important}
/* The gallery belongs to the open case, never to the page's project layout. */
body[data-lang][data-page="1"] .case-detail .project-gallery{
 display:grid!important;grid-template-columns:minmax(0,1fr)!important;
 justify-items:center;align-items:start;gap:var(--case-media-gap)!important;
 width:100%!important;max-width:var(--case-media-width)!important;
 padding:0!important;margin:var(--space-8) auto 0!important;overflow:visible;
}
body[data-lang][data-page="1"] .case-detail .project-gallery>figure{
 display:grid;justify-items:center;align-content:start;gap:var(--case-media-caption-gap);
 width:100%!important;max-width:100%!important;min-width:0;
 margin:0!important;padding:0!important;box-sizing:border-box;
}
body[data-lang][data-page="1"] .case-detail .project-gallery>figure>:is(img,video){
 display:block;width:100%!important;max-width:100%!important;
 height:var(--case-media-height)!important;min-height:0!important;max-height:var(--case-media-height)!important;
 aspect-ratio:auto!important;object-fit:contain!important;object-position:center!important;
 margin:0 auto!important;padding:0!important;box-sizing:border-box;
}
body[data-lang][data-page="1"] .case-detail .project-gallery>figure>figcaption{
 width:100%;max-width:var(--layout-text);margin:0!important;text-align:center;
 font-family:var(--font-body)!important;font-size:var(--size-body)!important;
 font-weight:var(--weight-body)!important;letter-spacing:var(--tracking-body)!important;line-height:var(--leading-body)!important;
 color:var(--text-muted)!important;overflow-wrap:break-word;
}
/* Existing illustrative components share the same material and type tokens. */
body[data-lang][data-page="1"] .case-detail :is(.case-browser,.case-identity-board,.case-vault,.case-market-flow){
 box-sizing:border-box;max-width:100%;min-width:0;
 border-radius:var(--case-support-radius);box-shadow:var(--case-support-shadow);
}
body[data-lang][data-page="1"] .case-detail :is(.case-site-hero,.case-parcel-web,.case-identity-board,.case-vault,.mostachon-web-layout){
 gap:var(--space-6);padding:var(--case-support-padding);
}
body[data-lang][data-page="1"] .case-detail :is(.case-site-copy,.case-parcel-web,.mostachon-web-copy)>strong{
 font-family:var(--font-heading)!important;font-weight:var(--weight-h2)!important;
 font-size:var(--size-h2)!important;letter-spacing:var(--tracking-heading)!important;line-height:var(--leading-heading)!important;
}
body[data-lang][data-page="1"] .case-detail :is(.case-browser-bar,.case-stationery-sheet>span:not(.case-brand-mark),.case-stationery-card>span:not(.case-brand-mark)){
 font-family:var(--font-accent)!important;font-size:var(--size-label)!important;
 font-weight:var(--weight-label)!important;letter-spacing:var(--tracking-accent)!important;line-height:var(--leading-accent)!important;
}
body[data-lang][data-page="1"] .case-detail :is(.case-site-copy,.case-parcel-web,.mostachon-web-copy)>.case-ui-cta{
 background:var(--color-lime);color:var(--color-coal);
 font-family:var(--font-body);font-weight:var(--weight-cta);font-size:var(--size-cta);
 letter-spacing:var(--tracking-body);line-height:var(--leading-subtitle);border-radius:var(--radius-control);
}
@media(max-width:600px){:root:root{--case-support-padding:var(--space-5);--case-logo-width:16rem;--case-logo-height:6.666667rem}}
/* BM PORTFOLIO VISUAL CONSISTENCY END */
