.bm-widget,.bm-hero{--bm-progress:0;--bm-choice:var(--accent);color:var(--fg);overflow:clip}
.bm-widget [hidden],.bm-hero [hidden]{display:none!important}
.bm-widget button,.bm-hero :is(.bm-controls button,.bm-replay,.bm-motion-toggle){font:inherit;cursor:pointer;min-height:44px;padding:10px 18px;border:1px solid var(--line);border-radius:8px;background:var(--surface);color:var(--fg)}
.bm-widget button[aria-pressed=true],.bm-hero button[aria-pressed=true]{background:var(--accent);color:var(--on-accent,#fff);border-color:var(--accent)}
.bm-widget :is(a,button,input,svg):focus-visible,.bm-hero :is(a,button,[tabindex]):focus-visible{outline:3px solid var(--accent);outline-offset:5px}
.bm-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.bm-card{min-width:0;position:relative;border:1px solid var(--line);border-radius:18px;background:var(--surface);overflow:hidden;transition:opacity .3s,transform .4s}
.bm-card figure,.bm-custom-preview figure,.bm-visits figure{margin:0;aspect-ratio:4/3;overflow:hidden;background:var(--surface-2)}
.bm-card img,.bm-morphs img,.bm-custom-preview img,.bm-visits img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .6s}
.bm-card-copy{padding:24px;min-width:0;overflow-wrap:anywhere}
.bm-card-copy h3{font-size:clamp(22px,3vw,30px);line-height:1.35;margin:8px 0 14px}
.bm-card-copy small{color:var(--muted);font-weight:700;letter-spacing:.06em}
.bm-card-copy p{line-height:1.8;color:var(--fg);margin:10px 0}
.bm-card-copy strong{font-size:24px}.bm-action{display:inline-flex;color:var(--accent);font-weight:750;text-underline-offset:5px;padding-block:10px}
.bm-pick{margin:0 24px 24px;max-width:calc(100% - 48px)}
.bm-selection{padding:8px 12px;margin-top:26px;background:var(--surface-2);border-inline-start:3px solid var(--accent);border-radius:0 12px 12px 0}
.bm-controls{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:10px;margin-top:20px}
.bm-controls output{min-width:65px;text-align:center;font-variant-numeric:tabular-nums;color:var(--fg)}
.bm-hint{font-size:14px;line-height:1.8;color:var(--muted);display:block;margin:16px 0}
[data-gl-brand-motion=drag-gallery] .bm-cards{display:flex;overflow-x:auto;scroll-snap-type:x proximity;gap:24px;padding-bottom:18px;cursor:grab;overscroll-behavior-inline:contain}
[data-gl-brand-motion=drag-gallery] .bm-card{flex:0 0 min(72%,460px);scroll-snap-align:start;user-select:none}
[data-gl-brand-motion=frames][data-bm-ready] .bm-cards{display:block;max-width:1000px;margin:auto}
[data-gl-brand-motion=frames][data-bm-ready] .bm-card{display:grid;grid-template-columns:1.3fr 1fr;align-items:center;border:0;background:var(--surface-2)}
[data-gl-brand-motion=frames] figure{border-radius:30% 8% 30% 8%;margin:24px}
[data-gl-brand-motion=frames] .bm-card:nth-child(even) figure{border-radius:8% 40% 8% 40%}
[data-gl-brand-motion=hoverfocus][data-bm-focus] .bm-card{opacity:.65}
[data-gl-brand-motion=hoverfocus][data-bm-focus="0"] [data-bm-card="0"],
[data-gl-brand-motion=hoverfocus][data-bm-focus="1"] [data-bm-card="1"],
[data-gl-brand-motion=hoverfocus][data-bm-focus="2"] [data-bm-card="2"],
[data-gl-brand-motion=hoverfocus][data-bm-focus="3"] [data-bm-card="3"],
[data-gl-brand-motion=hoverfocus][data-bm-focus="4"] [data-bm-card="4"],
[data-gl-brand-motion=hoverfocus][data-bm-focus="5"] [data-bm-card="5"]{opacity:1;transform:translateY(-6px)}
[data-gl-brand-motion=hoverfocus] .bm-card:hover img,[data-gl-brand-motion=hoverfocus] .bm-card:focus-within img{transform:scale(1.07)}
[data-gl-brand-motion=magnetic] .bm-pick{transition:translate .18s ease-out}
.bm-drawing{position:relative;max-width:900px;margin:auto;color:var(--accent);background:var(--surface-2);border:1px solid var(--line);border-radius:28px}
.bm-line-art{display:block;width:100%;height:auto;max-height:450px;color:var(--accent)}
.bm-drawing .bm-replay{position:absolute;right:20px;bottom:20px}
.bm-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin-top:32px}
.bm-steps article{border-top:1px solid var(--line);padding-top:20px}.bm-steps article>b{font-size:14px;color:var(--accent)}.bm-steps .bm-card-copy{padding:8px 0}
.bm-morphs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.bm-morphs article{position:relative;isolation:isolate}
.bm-morphs figure{margin:30px 30px 0;border-radius:50%;aspect-ratio:1;overflow:hidden;position:relative;z-index:1;transition:border-radius .9s}.bm-morph{position:absolute;top:0;width:100%;fill:var(--accent-soft);stroke:var(--accent);stroke-width:1}
[data-bm-shape-state=true] .bm-morphs figure{border-radius:32% 55% 36% 52%}
.bm-crayon-tools,.bm-custom-tools{display:flex;flex-wrap:wrap;align-items:end;gap:12px;margin:24px 0}
.bm-widget fieldset{border:0;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:6px}.bm-widget legend,.bm-custom-tools label{font-size:13px;font-weight:700;margin-bottom:8px}
.bm-custom-tools label{display:grid;gap:8px;flex:1;min-width:180px}.bm-custom-tools input{min-height:44px;font:inherit;font-size:16px;border:1px solid var(--line);border-radius:8px;padding:10px 12px;background:var(--surface);color:var(--fg);width:100%}
.bm-crayon{display:block;width:100%;height:auto;aspect-ratio:800/420;border:1px solid var(--line);border-radius:18px;background:var(--surface);touch-action:none;cursor:crosshair}
.bm-crayon-guide{stroke:var(--line);fill:none;stroke-width:2;stroke-dasharray:4 12}.bm-crayon [data-bm-pen]{fill:var(--accent);stroke:var(--surface);stroke-width:2;opacity:0}.bm-crayon:focus-visible [data-bm-pen]{opacity:1}
.bm-custom-preview{display:grid;grid-template-columns:1fr 1fr;border:1px solid var(--line);border-radius:16px;overflow:hidden;background:var(--surface);align-items:center;border-top:5px solid var(--bm-choice)}
.bm-custom-preview[data-layout=stack]{grid-template-columns:1fr}.bm-custom-preview h3{color:var(--bm-choice)}.bm-custom-preview img{max-height:450px}
.bm-visits details{border-block-end:1px solid var(--line)}.bm-visits summary{display:flex;justify-content:space-between;gap:24px;cursor:pointer;padding:24px 0;font-size:clamp(20px,3vw,30px);font-weight:700;list-style:none}.bm-visits summary::-webkit-details-marker{display:none}.bm-visits details>div{display:grid;grid-template-columns:1fr 1fr;align-items:center;padding-bottom:24px;gap:24px}.bm-visits figure{border-radius:16px}
/* Hero variants share editable text, actions, photos and theme colours. */
.hero.bm-hero{position:relative;padding:clamp(70px,8vw,130px) 0;min-height:620px;background:var(--bg);isolation:isolate;--bm-x:0px;--bm-y:0px}
.bm-hero-layout{position:relative;display:grid;grid-template-columns:1.05fr 1fr;align-items:center;gap:clamp(24px,5vw,80px);z-index:1}
.bm-hero-copy{min-width:0}.bm-hero-copy h1{font-size:clamp(42px,5.8vw,88px);line-height:1.14;letter-spacing:-.045em;word-break:keep-all;overflow-wrap:anywhere;text-wrap:balance;margin:18px 0 28px;color:var(--fg)}
.bm-hero-copy .lead{font-size:clamp(16px,1.6vw,21px);line-height:1.8;max-width:36em;color:var(--muted)}.bm-hero-copy .eyebrow{color:var(--accent);font-weight:750;letter-spacing:.14em;font-size:12px}
.bm-hero-copy .hero-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:30px}.bm-hero-media{min-width:0}
.bm-hero-pictures{display:grid;gap:16px}.bm-hero-photo{margin:0;position:relative;min-width:0;overflow:hidden;border-radius:24px;background:var(--surface-2);border:1px solid var(--line)}
.bm-hero-photo img{display:block;aspect-ratio:4/3;width:100%;height:auto;object-fit:cover}.bm-hero-photo figcaption{font-size:12px;color:var(--muted);padding:12px 18px}
.bm-motion-toggle,.bm-hero .bm-replay{justify-self:start;font-size:13px!important}.bm-hero .bm-replay{margin-top:0}
.bm-hero[data-gl-brand-hero=type] .bm-hero-layout,.bm-hero[data-gl-brand-hero=calm] .bm-hero-layout,.bm-hero[data-gl-brand-hero=color] .bm-hero-layout,.bm-hero[data-gl-brand-hero=particles] .bm-hero-layout{grid-template-columns:1fr}
.bm-hero[data-gl-brand-hero=type] .bm-hero-copy{max-width:1100px}.bm-hero[data-gl-brand-hero=type] h1{font-size:clamp(54px,8.6vw,130px)}[data-bm-letter]{display:inline-block}
.bm-hero[data-gl-brand-hero=calm]{min-height:590px;border-bottom:1px solid var(--line)}.bm-hero[data-gl-brand-hero=calm] .bm-hero-copy{max-width:800px;margin:auto;text-align:center}.bm-hero[data-gl-brand-hero=calm] .hero-actions{justify-content:center}.bm-hero[data-gl-brand-hero=calm] .lead{margin-inline:auto}
.bm-hero[data-gl-brand-hero=color]::before,.bm-hero[data-gl-brand-hero=color]::after{content:'';position:absolute;width:50vw;height:50vw;max-width:650px;max-height:650px;border-radius:50%;z-index:-1;filter:blur(75px);opacity:.22;background:var(--accent);right:-8%;top:-25%;animation:bm-glow 18s ease-in-out infinite alternate;animation-play-state:paused;pointer-events:none}
.bm-hero[data-gl-brand-hero=color]::after{background:var(--accent-soft);right:35%;top:35%;animation-delay:-9s}.bm-hero[data-gl-brand-hero=color][data-bm-running]::before,.bm-hero[data-gl-brand-hero=color][data-bm-running]::after{animation-play-state:running}
.bm-hero[data-gl-brand-hero=color] .bm-hero-copy{background:var(--bg);padding:32px;border:1px solid var(--line);border-radius:24px;max-width:900px}
.bm-hero[data-gl-brand-hero=slides] .bm-hero-photo{border-radius:35% 8% 35% 8%;transition:border-radius .8s}.bm-hero[data-gl-brand-hero=slides] .bm-hero-photo:nth-child(even){border-radius:8% 35% 8% 35%}
.bm-hero[data-gl-brand-hero=deck] .bm-hero-pictures{position:relative;padding:24px}.bm-hero[data-gl-brand-hero=deck] .bm-hero-pictures:before,.bm-hero[data-gl-brand-hero=deck] .bm-hero-pictures:after{content:'';position:absolute;inset:25px;z-index:-1;background:var(--accent-soft);border:1px solid var(--line);border-radius:24px;transform:rotate(-6deg)}.bm-hero[data-gl-brand-hero=deck] .bm-hero-pictures:after{transform:rotate(6deg);background:var(--surface-2)}
.bm-hero[data-gl-brand-hero=formation]{min-height:160vh;overflow:clip visible;padding-block:40px}
.bm-hero[data-gl-brand-hero=formation] .bm-hero-layout{position:sticky;top:70px;grid-template-columns:1fr;gap:22px;min-height:70vh;padding-bottom:36px}
.bm-hero[data-gl-brand-hero=formation] .bm-hero-copy{text-align:center;max-width:940px;margin:auto}.bm-hero[data-gl-brand-hero=formation] .hero-actions{justify-content:center}.bm-hero[data-gl-brand-hero=formation] .lead{margin-inline:auto}
.bm-hero[data-gl-brand-hero=zoom] .bm-hero-pictures{width:calc(55% + var(--bm-progress)*45%);margin:auto}.bm-hero[data-gl-brand-hero=zoom] .bm-hero-photo img{max-height:45vh;aspect-ratio:2.5;object-fit:cover}
.bm-hero[data-gl-brand-hero=formation] .bm-hero-pictures{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;max-width:960px;margin:auto}.bm-hero[data-gl-brand-hero=formation] .bm-hero-photo{transform:translateY(calc((1 - var(--bm-progress))*(var(--bm-index) - 1)*50px)) rotate(calc((1 - var(--bm-progress))*(var(--bm-index) - 1)*9deg));will-change:transform}.bm-hero[data-gl-brand-hero=formation] img{aspect-ratio:1.2}
.bm-particles{position:absolute;inset:0;width:100%;height:100%;opacity:.2;transform:translate(var(--bm-x),var(--bm-y));pointer-events:none;z-index:-1;color:var(--accent)}.bm-particles circle{fill:currentColor}.bm-particles line{stroke:currentColor;stroke-width:.7}.bm-particles g{animation:bm-particle 10s ease-in-out infinite alternate;animation-delay:calc(var(--bm-index)*-.7s);animation-play-state:paused}.bm-hero[data-bm-running] .bm-particles g{animation-play-state:running}
.bm-hero-metrics{grid-column:1/-1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;border-top:1px solid var(--line);padding-top:26px}.bm-hero-metrics strong{font-size:42px;color:var(--accent)}.bm-hero-metrics strong span{font-size:16px;margin-left:6px}.bm-hero-metrics p{color:var(--muted);font-size:14px;line-height:1.6}
@keyframes bm-glow{to{transform:translate(-12%,22%) scale(1.15)}}@keyframes bm-particle{to{transform:translate(12px,-18px)}}
[data-bm-still] *{transition:none!important;animation:none!important;scroll-behavior:auto!important}[data-bm-still] .bm-pick{translate:0 0!important}[data-bm-still] .bm-particles{transform:none}
@media(max-width:900px){.bm-cards,.bm-morphs{grid-template-columns:repeat(2,minmax(0,1fr))}.bm-hero-layout{gap:28px}.bm-hero-copy h1{font-size:clamp(36px,5.8vw,64px)}}
@media(max-width:760px){.bm-cards,.bm-morphs,.bm-steps,.bm-custom-preview,.bm-visits details>div{grid-template-columns:1fr}.bm-hero-layout{grid-template-columns:1fr}.hero.bm-hero{padding-block:64px;min-height:0}.bm-hero-copy h1{font-size:clamp(38px,10vw,65px)}.bm-hero-media:empty{display:none}.bm-hero-photo img{max-height:420px}.bm-hero[data-gl-brand-hero=color] .bm-hero-copy{padding:22px}.bm-hero[data-gl-brand-hero=formation]{min-height:0;overflow:clip}.bm-hero[data-gl-brand-hero=formation] .bm-hero-layout{position:static;min-height:0}.bm-hero[data-gl-brand-hero=zoom] .bm-hero-pictures{width:100%}.bm-hero[data-gl-brand-hero=formation] .bm-hero-pictures{gap:8px}.bm-hero[data-gl-brand-hero=formation] .bm-hero-photo{transform:none;border-radius:8px}.bm-hero[data-gl-brand-hero=formation] figcaption{padding:6px;font-size:10px}.bm-hero-metrics{gap:10px}.bm-hero-metrics strong{font-size:30px}.bm-hero-metrics strong span{font-size:12px}.bm-hero-metrics p{font-size:12px}[data-gl-brand-motion=frames][data-bm-ready] .bm-card{grid-template-columns:1fr}.bm-drawing .bm-replay{position:static;margin:0 16px 16px}.bm-particles g:nth-child(even){display:none}}
@media(prefers-reduced-motion:reduce){.bm-widget *,.bm-hero *{animation:none!important;transition:none!important;scroll-behavior:auto!important}.bm-hero::before,.bm-hero::after{animation:none!important}.bm-hero[data-gl-brand-hero=zoom] .bm-hero-pictures{width:100%}.bm-hero[data-gl-brand-hero=formation] .bm-hero-photo{transform:none}.bm-pick{translate:0 0!important}}
@media print{.bm-widget [data-bm-card],.bm-hero [data-bm-card]{display:block!important}.bm-controls,.bm-pick,.bm-replay,.bm-motion-toggle,.bm-custom-tools{display:none!important}.bm-hero,.bm-hero-layout{position:static!important;min-height:0!important}.bm-hero-photo{transform:none!important}}
[data-gl-brand-motion=photo-flow]{min-height:155vh;overflow:clip visible}
[data-gl-brand-motion=photo-flow]>.container{position:sticky;top:90px;padding-bottom:36px}
[data-gl-brand-motion=photo-flow] .bm-card{transform:translateY(calc((1 - var(--bm-progress))*(var(--bm-index) - 1)*70px)) rotate(calc((1 - var(--bm-progress))*(var(--bm-index) - 1)*10deg))}
@media(max-width:760px){[data-gl-brand-motion=photo-flow]{min-height:0;overflow:clip}[data-gl-brand-motion=photo-flow]>.container{position:static}[data-gl-brand-motion=photo-flow] .bm-card{transform:none}}
[data-gl-brand-motion=photo-flow][data-bm-still] .bm-card{transform:none}

/* Reference studies: separate the stationary guide from the animated foreground. */
.bm-line-base{opacity:.19}.bm-line-animated{opacity:1}
.bm-martha-logo .bm-line-base{fill:currentColor;fill-opacity:.08}
.bm-hero[data-gl-brand-hero=line] .bm-hero-art{padding:clamp(28px,5vw,64px);border:1px solid var(--line);border-radius:28px;background:var(--surface-2);color:var(--accent)}
.bm-martha-logo{max-height:480px;overflow:visible}
.bm-intro-stage{position:relative;overflow:hidden;border-radius:22px;isolation:isolate}
.bm-intro-stage .bm-hero-photo{border:0;border-radius:0}
.bm-intro-stage img{aspect-ratio:1.2}.bm-intro-stage figcaption{display:none}
.bm-intro-cover{position:absolute;inset:0;background:var(--accent);transform:scaleY(0);transform-origin:top;pointer-events:none}
.bm-intro-tracks{display:grid;gap:10px;padding:24px 0}
.bm-intro-track{position:relative;height:30px;border-bottom:1px solid var(--line)}
.bm-intro-shape{display:block;position:absolute;left:0;top:0;width:28px;height:28px;background:var(--accent)}
.bm-intro-circle{border-radius:50%}.bm-intro-triangle{clip-path:polygon(50% 0,100% 100%,0 100%)}
.bm-intro-base{left:auto;right:0;opacity:.18}
.bm-hero[data-gl-brand-hero=intro] h1{font-size:clamp(36px,4.8vw,72px)}
.bm-hero[data-gl-brand-hero=type] .bm-hero-copy{max-width:none}
.bm-hero[data-gl-brand-hero=type] h1{font-size:clamp(48px,8vw,120px);line-height:1.28;overflow:visible}
.bm-hero[data-gl-brand-hero=type] .bm-hero-layout{gap:24px}
.bm-hero[data-gl-brand-hero=type] .bm-hero-media{display:none}
/* Photo grows from zero space inside live typography, with no opacity fade. */
.hero.bm-hero[data-gl-brand-hero=zoom]{--bm-progress:1;min-height:185svh;overflow:clip visible;padding-block:32px}
.hero.bm-hero[data-gl-brand-hero=zoom][data-bm-ready]{--bm-progress:0}
.bm-hero[data-gl-brand-hero=zoom] .bm-hero-layout{position:sticky;top:64px;grid-template-columns:1fr;gap:22px;min-height:65svh;max-width:1400px;padding-bottom:40px}
.bm-hero[data-gl-brand-hero=zoom] .bm-hero-copy{max-width:none;text-align:left;margin:0}
.bm-hero[data-gl-brand-hero=zoom] h1{font-family:Georgia,'Noto Serif KR',serif;font-size:clamp(42px,6.6vw,100px);line-height:1.18;font-weight:500;letter-spacing:-.055em;text-wrap:initial;margin:28px 0 40px}
.bm-expand-line{display:block}.bm-expand-row{display:flex;align-items:center;justify-content:flex-start;gap:calc(.08em + var(--bm-progress)*.1em);white-space:nowrap}
.bm-inline-photo{display:inline-block;flex-shrink:0;width:calc(var(--bm-progress)*min(34vw,490px));height:calc(var(--bm-progress)*min(23vw,330px));min-width:0;overflow:hidden;border-radius:calc(var(--bm-progress)*60px);background:var(--surface-2)}
.bm-inline-photo img{display:block;width:min(34vw,490px);height:min(23vw,330px);max-width:none;object-fit:cover;transform:scale(calc(1.35 - var(--bm-progress)*.35));transform-origin:center}
.bm-expand-tail{display:inline-block;transform:skewX(calc(var(--bm-progress)*-8deg));transform-origin:left center}
.bm-hero[data-gl-brand-hero=zoom] .bm-hero-media{display:none}
.bm-hero[data-gl-brand-hero=zoom] .hero-actions{justify-content:flex-start}.bm-hero[data-gl-brand-hero=zoom] .lead{margin-inline:0}
@media(max-width:760px){
 .bm-hero[data-gl-brand-hero=type] h1{font-size:clamp(38px,10vw,65px)}
 .hero.bm-hero[data-gl-brand-hero=zoom]{min-height:165svh;overflow:clip visible;padding-block:24px}
 .bm-hero[data-gl-brand-hero=zoom] .bm-hero-layout{top:24px;min-height:65svh;padding-bottom:24px;position:sticky}
 .bm-hero[data-gl-brand-hero=zoom] h1{font-size:clamp(24px,7.2vw,54px);line-height:1.25}
 .bm-inline-photo{width:calc(var(--bm-progress)*28vw);height:calc(var(--bm-progress)*35vw);border-radius:calc(var(--bm-progress)*24px)}
 .bm-inline-photo img{width:28vw;height:35vw}
}
@media(prefers-reduced-motion:reduce){
 .hero.bm-hero[data-gl-brand-hero=zoom]{min-height:0}.bm-hero[data-gl-brand-hero=zoom] .bm-hero-layout{position:static}
}
@media print{.hero.bm-hero[data-gl-brand-hero=zoom]{--bm-progress:1!important;min-height:0!important}.bm-hero[data-gl-brand-hero=zoom] .bm-hero-layout{position:static}}

.bm-hero-controls{position:absolute;right:0;top:-62px;display:flex;gap:8px;flex-wrap:wrap;z-index:3}
.bm-hero-controls button{margin:0!important}
@media(max-width:760px){.bm-hero-controls{position:static;grid-column:1/-1;justify-content:flex-end}.bm-hero[data-gl-brand-hero=zoom] .bm-hero-controls{position:absolute;top:-18px}.bm-hero[data-gl-brand-hero=zoom] .bm-hero-copy{padding-top:32px}}

.bm-hero[data-gl-brand-hero=slides] .bm-hero-pictures{position:relative}
.bm-frame-wipe{position:absolute;inset:0;z-index:2;background:var(--accent);clip-path:inset(0% 0% 100% 0%);pointer-events:none}
.bm-hero[data-gl-brand-hero=slides] .bm-hero-photo{border-radius:0}
.bm-hero[data-gl-brand-hero=deck] .bm-hero-layout{grid-template-columns:1fr;gap:32px}
.bm-hero[data-gl-brand-hero=deck] .bm-hero-copy{max-width:850px}
.bm-hero[data-gl-brand-hero=deck] h1{font-size:clamp(38px,4.5vw,64px)}
.bm-hero[data-gl-brand-hero=deck] .bm-hero-pictures{position:relative;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));padding:0;gap:18px}
.bm-hero[data-gl-brand-hero=deck] .bm-hero-pictures:before,.bm-hero[data-gl-brand-hero=deck] .bm-hero-pictures:after{display:none}
.bm-hero[data-gl-brand-hero=deck] .bm-hero-photo{overflow:hidden;border-radius:8px;transform-origin:center;will-change:transform}
.bm-hero[data-gl-brand-hero=deck] img{aspect-ratio:1.2}
.bm-hero[data-gl-brand-hero=formation] h1{font-size:clamp(32px,3.7vw,52px);margin:12px 0}
.bm-hero[data-gl-brand-hero=formation] .bm-hero-layout{gap:16px;min-height:0}
.bm-hero[data-gl-brand-hero=formation] .hero-actions{margin-top:16px}
.bm-hero[data-gl-brand-hero=formation] .bm-hero-pictures{position:relative;max-width:860px;gap:10px}
.bm-hero[data-gl-brand-hero=formation] .bm-hero-photo{transform:translate(calc((1 - var(--bm-progress))*var(--bm-origin-x,0px)),calc((1 - var(--bm-progress))*var(--bm-origin-y,0px))) rotate(calc((1 - var(--bm-progress))*(var(--bm-index) - 2.5)*8deg)) scale(calc(.75 + var(--bm-progress)*.25));border-radius:8px}
.bm-hero[data-gl-brand-hero=formation] img{height:18svh;min-height:100px;aspect-ratio:1.7}
.bm-hero[data-gl-brand-hero=formation] figcaption{display:none}
.bm-particles{opacity:.7}.bm-particles g{opacity:.25;transition:opacity .35s,translate .35s}
[data-bm-still] .bm-particles g{translate:0 0!important;opacity:.25!important}
@media(max-width:760px){.bm-hero[data-gl-brand-hero=deck] .bm-hero-pictures{gap:8px}.bm-hero[data-gl-brand-hero=deck] figcaption{font-size:10px;padding:8px}.bm-hero[data-gl-brand-hero=formation] .bm-hero-photo{transform:none}}
/* Reference corrections: bold ink, inline expansion and dual view. */
.bm-martha-logo .bm-line-base{fill:currentColor;fill-opacity:1;opacity:.17}
.bm-morphs figure{margin:0;border-radius:0!important;aspect-ratio:1}
.bm-morphs .bm-card-copy{position:relative}.bm-morphs .bm-morph{pointer-events:none}
[data-gl-brand-motion=drag-gallery] .bm-cards::after{content:'';flex:0 0 var(--bm-tail,0px)}
[data-gl-brand-motion=dualview] .bm-cards{display:block;margin-top:22px;cursor:grab}
[data-gl-brand-motion=dualview] .bm-card{display:grid;grid-template-columns:1.2fr 1fr;align-items:center;overflow:hidden}
[data-gl-brand-motion=dualview][data-bm-overview] .bm-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}
[data-gl-brand-motion=dualview][data-bm-overview] .bm-card{display:block;opacity:.6}
[data-gl-brand-motion=dualview][data-bm-overview] [data-bm-current]{opacity:1;border-color:var(--accent)}
[data-gl-brand-motion=photo-flow]{min-height:0;overflow:clip}
[data-gl-brand-motion=photo-flow]>.container{position:static}
[data-gl-brand-motion=photo-flow] .bm-inline-list{display:flex;flex-wrap:wrap;align-items:center;gap:30px}
[data-gl-brand-motion=photo-flow] .bm-card{transform:none;border:0;overflow:visible;flex:1 1 28%;background:transparent}
[data-gl-brand-motion=photo-flow] [data-bm-expand]{display:flex;align-items:center;gap:18px;text-align:left;background:none;border:0;padding:0;width:100%;font-size:clamp(22px,3vw,44px)}
[data-gl-brand-motion=photo-flow] [data-bm-expand] figure{width:100px;height:80px;flex-shrink:0;transition:width .7s,height .7s}
[data-gl-brand-motion=photo-flow] [data-bm-expanded]{flex-basis:100%}
[data-gl-brand-motion=photo-flow] [data-bm-expanded] [data-bm-expand] figure{width:45%;height:350px}
.bm-inline-detail{padding:18px;background:var(--surface);border-top:1px solid var(--line)}
.bm-crayon:hover [data-bm-pen],.bm-crayon:focus-visible [data-bm-pen]{opacity:1}.bm-crayon{cursor:none}
[data-gl-brand-motion=hoverfocus] .bm-card{border-radius:0}
[data-gl-brand-motion=hoverfocus] figure{clip-path:inset(0);transition:clip-path .65s,transform .65s}
[data-gl-brand-motion=hoverfocus] .bm-card:is(:hover,:focus-within) figure{clip-path:inset(8% 12% round 42% 42% 4% 4%);transform:rotate(-3deg)}
/* Full-scene timeline with an independent readable copy layer. */
.hero.bm-hero[data-gl-brand-hero=intro]{overflow:hidden;min-height:680px}
.bm-hero[data-gl-brand-hero=intro] .bm-hero-layout{position:static;display:block}
.bm-hero[data-gl-brand-hero=intro] .bm-hero-media{position:absolute;inset:0;z-index:-1}
.bm-hero[data-gl-brand-hero=intro] .bm-intro-stage{position:absolute;inset:0;border-radius:0}
.bm-hero[data-gl-brand-hero=intro] .bm-hero-photo{height:100%;border-radius:0}
.bm-hero[data-gl-brand-hero=intro] .bm-hero-pictures{height:100%}
.bm-hero[data-gl-brand-hero=intro] .bm-hero-photo img{width:100%;height:100%;object-fit:cover;aspect-ratio:auto;opacity:.4}
.bm-hero[data-gl-brand-hero=intro] .bm-hero-media::after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,var(--bg),transparent);pointer-events:none}
.bm-hero[data-gl-brand-hero=intro] .bm-intro-tracks{position:absolute;inset:12% 5%;opacity:.3;align-content:space-around;z-index:1}
.bm-hero[data-gl-brand-hero=intro] .bm-hero-copy{max-width:850px;padding:35px;background:color-mix(in srgb,var(--bg) 85%,transparent);border-radius:18px}
.bm-hero[data-gl-brand-hero=intro] .bm-hero-controls{top:20px;right:4%}
.bm-hero[data-gl-brand-hero=color]::before,.bm-hero[data-gl-brand-hero=color]::after{opacity:.7;width:75vw;height:75vw;max-width:1000px;max-height:1000px;filter:blur(65px)}
.bm-hero[data-gl-brand-hero=color]::after{background:var(--accent-hover,var(--accent));top:20%;right:30%}
.bm-hero[data-gl-brand-hero=color] .bm-hero-copy{background:color-mix(in srgb,var(--bg) 84%,transparent);backdrop-filter:blur(8px)}
@media(max-width:760px){[data-gl-brand-motion=dualview] .bm-card{grid-template-columns:1fr}[data-gl-brand-motion=dualview][data-bm-overview] .bm-cards{grid-template-columns:1fr}.bm-inline-list{gap:20px!important}[data-gl-brand-motion=photo-flow] .bm-card{flex-basis:100%}[data-gl-brand-motion=photo-flow] [data-bm-expanded] [data-bm-expand]{flex-direction:column;align-items:stretch}[data-gl-brand-motion=photo-flow] [data-bm-expanded] [data-bm-expand] figure{width:100%;height:240px}.bm-hero[data-gl-brand-hero=intro] .bm-hero-copy{padding:22px}}
.bm-frame-stage{position:relative;overflow:hidden;border-radius:24px}.bm-frame-stage>.bm-frame-wipe{inset:0}
@media(prefers-reduced-motion:reduce){.bm-crayon{cursor:crosshair}.bm-crayon [data-bm-pen]{display:none}.bm-hero[data-gl-brand-hero=intro] .bm-intro-cover{transform:scaleY(0)!important}}
[data-gl-brand-motion=magnetic] .bm-card{box-shadow:0 0 0 calc(var(--bm-proximity,0)*4px) var(--accent);transition:box-shadow .3s}
[data-gl-brand-motion=magnetic] .bm-card-copy{opacity:calc(.6 + var(--bm-proximity,0)*.4);transition:opacity .3s}
/* Anime drawable normalizes caps to butt; the logo needs the original rounded pen tip. */
.bm-martha-logo [data-bm-ink-step]{stroke-linecap:round!important;stroke-linejoin:round!important}
