/* BACON's original restaurant identity: Anton, ink registration, food and tiled space. */
@font-face{font-family:BaconAnton;src:url('/demos/bacon/assets/anton.ttf') format('truetype');font-display:swap}
.bacon-native{position:absolute;inset:0;isolation:isolate;overflow:hidden;color:#213c49;container-type:inline-size}
.bacon-surface,.bacon-surface picture,.bacon-surface img,.bacon-surface canvas{position:absolute;inset:0;width:100%;height:100%}
.bacon-surface{z-index:-1;background:#fff1d8}
.bacon-surface img{object-fit:cover}
.bacon-canvas{opacity:0;transition:opacity .35s}
.bacon-canvas.ready{opacity:1}
.bacon-register{position:absolute;top:6%;left:5%;right:5%;display:flex;align-items:center;justify-content:space-between;z-index:2}
.bacon-wordmark{font:400 44px/1 BaconAnton,Impact,sans-serif;letter-spacing:-.045em;transform:rotate(-3deg);text-shadow:2px 2px #fff1d8,4px 4px #fa6baa}
.bacon-wordmark sup{font:10px DM,sans-serif;vertical-align:top;margin-left:4px}
.bacon-register>span:last-child{font:8px/1.6 DM,sans-serif;font-weight:700;letter-spacing:.09em;text-align:right}
.bacon-copy{position:absolute;top:25%;left:5%;width:49%;z-index:2;transform:rotate(-3deg)}
.bacon-kicker{font:700 8px/1.3 DM,sans-serif;letter-spacing:.1em}
.bacon-title,.reel .scene-bacon .bacon-title{font:400 8.4cqw/1.04 BaconAnton,Impact,sans-serif;letter-spacing:-.02em;text-transform:uppercase;max-width:none;padding:0;margin:14px 0 0;text-shadow:1px 1px #fff1d8}
.bacon-title>span,.bacon-title>em,.reel .scene-bacon .bacon-title>span,.reel .scene-bacon .bacon-title>em{display:block;font:inherit;letter-spacing:inherit;white-space:nowrap}
.bacon-title .bacon-wrong,.reel .scene-bacon .bacon-title .bacon-wrong{font-size:1.33em;color:#fa6baa;text-shadow:3px 3px #fff1d8,6px 5px #213c49;letter-spacing:-.03em;margin-left:6%}
.bacon-title>em,.reel .scene-bacon .bacon-title>em{font-size:.79em;margin-top:4px}
.bacon-arabic,.reel .scene-bacon .bacon-arabic{font:800 25px/1.4 DM,Arial,sans-serif;text-align:left;width:max-content;max-width:none;margin:22px 0 0;display:block;color:#213c49}
.bacon-description,.reel .scene-bacon .bacon-description{font:12px/1.5 DM,sans-serif;color:#213c49;margin:8px 0 0;display:block}
.bacon-seal{position:absolute;right:7%;top:22%;width:95px;aspect-ratio:1;display:grid;place-content:center;background:#f5c45f;clip-path:polygon(50% 0,60% 17%,79% 6%,79% 28%,100% 29%,88% 47%,100% 63%,80% 69%,81% 91%,61% 84%,50% 100%,40% 83%,20% 94%,21% 71%,0 68%,12% 50%,0 33%,21% 29%,20% 8%,41% 17%);font:400 18px/1 BaconAnton,sans-serif;text-align:center;transform:rotate(12deg);z-index:3}
.bacon-product{position:absolute;left:65%;bottom:24%;font:700 11px/1.6 DM,sans-serif;letter-spacing:.02em;transform:rotate(-5deg);color:#213c49;background:#fff1d8;padding:8px 14px;box-shadow:3px 3px #213c49;z-index:2}
.bacon-product small{font-size:7px;letter-spacing:.08em}
.bacon-ticker{position:absolute;bottom:7%;left:-2%;width:104%;overflow:hidden;background:#213c49;color:#fff1d8;border-block:1px solid #fff1d8;padding:10px 0;transform:rotate(-2deg);z-index:3}
.bacon-ticker>span{display:block;width:max-content;font:400 21px/1 BaconAnton,sans-serif;letter-spacing:.025em;animation:bacon-ticker 24s linear infinite}
@keyframes bacon-ticker{to{transform:translateX(-50%)}}
.reel .reel-copy.scene-bacon,.reel .reel-copy.scene-bacon.active{inset:0;width:100%;height:100%;max-width:none;transform:none;transition:opacity .35s;pointer-events:none}
.reel[data-scene="9"]{--reel-ink:#213c49}
.reel[data-scene="9"] .reel-label{display:none}
.reel .scene-bacon .bacon-copy{top:21%;width:49%}
.reel .scene-bacon .bacon-ticker{bottom:18%;padding:8px 0}
.reel .scene-bacon .bacon-arabic{margin-top:15px}
.reel .scene-bacon .bacon-description{display:none}
.reel .scene-bacon .bacon-product{bottom:27%}
[data-world=bacon]{--world-bg:#fff1d8;--world-ink:#213c49;--world-accent:#fa6baa}
[data-world=bacon] .story-identity::before,[data-world=bacon] .story-identity::after{display:none}
[data-world=bacon] .bacon-copy{top:22%}
[data-world=bacon] .bacon-description{display:none}
[data-world=bacon] .bacon-product{bottom:20%}
.case-world[data-world=bacon]>a{z-index:5;background:#213c49;color:#fff1d8;padding:12px 18px}
.case-world[data-world=bacon] .bacon-ticker{bottom:13%}
.scene-bacon.active .bacon-copy,[data-world=bacon][data-chapter=identity] .bacon-copy,.case-world[data-world=bacon] .bacon-copy{animation:bacon-type-enter .7s cubic-bezier(.2,.7,.2,1) both}
.scene-bacon.active .bacon-seal,[data-world=bacon][data-chapter=identity] .bacon-seal{animation:bacon-seal-enter .8s .1s cubic-bezier(.2,.7,.2,1) both}
@keyframes bacon-type-enter{from{opacity:0;transform:translate(-28px,12px) rotate(-6deg)}to{opacity:1;transform:translate(0,0) rotate(-3deg)}}
@keyframes bacon-seal-enter{from{opacity:0;transform:scale(.7) rotate(-25deg)}to{opacity:1;transform:scale(1) rotate(12deg)}}
@media(min-width:761px){
 [data-world=bacon][data-chapter=thinking] .bacon-register>span:last-child{display:none}
 [data-world=bacon][data-chapter=thinking] .bacon-copy{top:23%;width:63%}
 [data-world=bacon][data-chapter=thinking] .bacon-title{font-size:10cqw}
 [data-world=bacon][data-chapter=thinking] .bacon-kicker{font-size:6px}
 [data-world=bacon][data-chapter=thinking] .bacon-seal{width:65px;font-size:13px;top:15%;right:5%}
 [data-world=bacon][data-chapter=thinking] .bacon-product{left:auto;right:5%;bottom:18%;font-size:9px}
 [data-world=bacon][data-chapter=thinking] .bacon-arabic{font-size:20px}
}
@media(min-width:761px) and (max-height:800px){
 .reel .scene-bacon .bacon-title{font-size:7.3cqw}
 .reel .scene-bacon .bacon-arabic{display:none}
 .reel .scene-bacon .bacon-copy{top:23%}
}
@media(max-width:760px){
 .bacon-register{top:5%;left:7%;right:7%}
 .bacon-wordmark{font-size:33px}
 .bacon-register>span:last-child{font-size:6px;max-width:52%}
 .bacon-copy,.reel .scene-bacon .bacon-copy,[data-world=bacon] .bacon-copy{top:15%;left:7%;width:86%;transform:rotate(-3deg)}
 .bacon-kicker{font-size:6px}
 .bacon-title,.reel .scene-bacon .bacon-title{font-size:13.5cqw;line-height:1;margin-top:10px}
 .bacon-title .bacon-wrong,.reel .scene-bacon .bacon-title .bacon-wrong{font-size:1.26em;margin-left:15%}
 .bacon-title>em,.reel .scene-bacon .bacon-title>em{font-size:1em}
 .bacon-arabic,.reel .scene-bacon .bacon-arabic,.bacon-description{display:none}
 .bacon-seal{top:42%;right:5%;width:65px;font-size:13px}
 .bacon-product,.reel .scene-bacon .bacon-product,[data-world=bacon] .bacon-product{left:auto;right:9%;bottom:26%;font-size:9px;padding:5px 9px}
 .bacon-product small{font-size:6px}
 .bacon-ticker,.reel .scene-bacon .bacon-ticker{bottom:20%;padding:8px 0}
 .bacon-ticker>span{font-size:17px}
 [data-world=bacon] .bacon-ticker{bottom:9%}
 [data-world=bacon] .bacon-product{bottom:21%}
 .case-world[data-world=bacon] .bacon-ticker{bottom:15%}
 [data-world=bacon][data-chapter=thinking] .bacon-register,[data-world=bacon][data-chapter=thinking] .bacon-ticker,[data-world=bacon][data-chapter=thinking] .bacon-seal,[data-world=bacon][data-chapter=thinking] .bacon-product{display:none}
 [data-world=bacon][data-chapter=thinking] .bacon-copy{top:17%;left:5%;width:55%}
 [data-world=bacon][data-chapter=thinking] .bacon-title{font-size:8.5cqw}
 [data-world=bacon][data-chapter=thinking] .bacon-kicker{font-size:5px}
 .reel[data-scene="9"] .reel-project{bottom:130px}
}
.motion-off .bacon-native *{animation:none!important;transition:none!important}
.scene-bacon:not(.active) .bacon-native *{animation-play-state:paused!important}
@media(prefers-reduced-motion:reduce){.bacon-native *{animation:none!important;transition:none!important}}
