/* Canonical hero styles: base, tablet, then phone. 0.8.31 */
body.eb-site{--eb-hero-ink:#002b40;--eb-hero-text:#e6f4f7;--eb-hero-accent:#60e7e0;--eb-control-radius:10px}
#eb-home.eb-home-v8 .eb-hero{background:#002b40 url('chalkboard-reference.webp') center/100% 100% no-repeat;overflow:hidden}
#eb-home.eb-home-v8 .eb-hero-grid{display:grid;width:min(1400px,94%);grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-areas:"copy media";gap:24px;min-height:740px;padding:0;align-items:center}
#eb-home.eb-home-v8 .eb-hero-copy{grid-area:copy;min-width:0;padding:64px 48px 80px 0;z-index:2}
#eb-home.eb-home-v8 .eb-hero h1{font-size:clamp(25px,2.5vw,36px);margin:0 0 24px}
#eb-home.eb-home-v8 .eb-hero h2{font-size:clamp(42px,4.7vw,72px);line-height:1.45}
#eb-home.eb-home-v8 .eb-hero h2 span{color:var(--eb-hero-accent)}
#eb-home.eb-home-v8 .eb-hero p.eb-hero-role{font-size:17px;line-height:1.9;max-width:48ch;margin:0 0 32px;padding:0;border:0;background:none;box-shadow:none;color:var(--eb-hero-text)}
#eb-home.eb-home-v8 .eb-hero-media{grid-area:media;position:relative;padding:0;width:100%;max-width:none;align-self:end;margin:0;z-index:1;min-width:0}
#eb-home.eb-home-v8 .eb-natural-portrait{display:block;max-width:615px;width:100%;padding:0;margin:0 auto;border:0;border-radius:0;box-shadow:none;background:none;overflow:visible}
#eb-home.eb-home-v8 .eb-natural-portrait>img{display:block;width:100%;max-width:100%;height:auto;aspect-ratio:3/4;max-height:820px;object-fit:contain;object-position:center bottom;margin:0;border:0;border-radius:0;box-shadow:none;transform:none;-webkit-mask-image:linear-gradient(#000 65%,#000000f5 76%,#0009 88%,transparent);mask-image:linear-gradient(#000 65%,#000000f5 76%,#0009 88%,transparent)}
#eb-home.eb-home-v8 .eb-actions{display:flex;flex-wrap:wrap;gap:12px}
#eb-home.eb-home-v8 .eb-hero .eb-button{min-height:48px;padding:14px 16px;font-size:15px;border-radius:var(--eb-control-radius);white-space:normal;text-align:center}
#eb-home.eb-home-v8 .eb-hero .eb-button.orange{background:linear-gradient(110deg,#ff982f,#ff741d);color:#072b3c!important}
#eb-home.eb-home-v8 .eb-hero-subjects svg{width:39px;height:39px;color:#49e5f0}
#eb-home.eb-home-v8 .eb-hero-subjects strong{font-size:17px}
#eb-home.eb-home-v8 .eb-hero-subjects small{display:none}
#eb-home.eb-home-v8 .eb-hero-secondary{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:12px 24px;margin-top:24px;width:100%}
#eb-home.eb-home-v8 .eb-hero-secondary .eb-hero-join{margin:0}
#eb-home.eb-home-v8 .eb-hero :focus-visible{outline:3px solid #ffb56c;outline-offset:5px}
.eb-profile .eb-profile-hero{background:radial-gradient(ellipse at 85% 35%,#004555,transparent 68%),linear-gradient(90deg,#070a0c 20%,#012a35);overflow:hidden}
.eb-profile .eb-about-hero-art{position:relative;min-width:0;width:100%;max-width:430px;margin:auto;align-self:end}
.eb-profile .eb-about-hero-art .eb-profile-portrait{border:0;border-radius:0;background:none;box-shadow:none;overflow:visible;margin:0;max-width:430px;width:100%}
.eb-profile .eb-about-hero-art .eb-profile-portrait>img{display:block;width:100%;height:auto;max-height:560px;object-fit:contain;border-radius:0;-webkit-mask-image:linear-gradient(to right,transparent,#000 13%,#000 87%,transparent),linear-gradient(transparent,#000 10%,#000 76%,transparent);mask-image:linear-gradient(to right,transparent,#000 13%,#000 87%,transparent),linear-gradient(transparent,#000 10%,#000 76%,transparent);-webkit-mask-composite:source-in;mask-composite:intersect}
.eb-store .ebs-hero{background-color:#032e41;background-image:url('shop-science.svg'),radial-gradient(ellipse at 24% 45%,#087a87,transparent 48%);background-size:cover;background-position:center;background-repeat:no-repeat;min-height:350px;overflow:hidden;padding:32px 40px;gap:24px}
body.eb-site .eb-store .ebs-intro{flex:1;min-width:0}
.eb-store .ebs-intro h1{font-size:clamp(30px,4vw,52px);line-height:1.5}
body.eb-site .eb-store .ebs-intro p{max-width:none;width:auto;font-size:clamp(15px,1.35vw,18px);font-weight:500;line-height:1.9;color:#bce9e8;margin:12px 0 0;white-space:normal;text-wrap:pretty}
body.eb-site .eb-store .ebs-art{position:relative;isolation:isolate;box-sizing:border-box;padding:32px 40px;flex:0 1 360px;width:360px;height:auto;min-width:0;background:none}
.eb-store .ebs-art:before,.eb-store .ebs-art:after{display:none}
body.eb-site .eb-store .ebs-art .eb-shop-brain{display:block;position:relative;z-index:2;width:100%;height:auto;max-height:330px;object-fit:contain;transform:none;border:0;border-radius:0;box-shadow:none}
.eb-store .eb-science-formula{position:absolute;z-index:3;pointer-events:none;direction:ltr;white-space:nowrap;font:italic 22px Georgia,serif;color:#8af2ed}
.eb-store .eb-science-left{left:0;top:12px}
.eb-store .eb-science-right{right:0;bottom:40px;color:#ffd09c}
.eb-store .eb-science-bottom{left:8px;bottom:8px;font-size:19px}
.eb-store .eb-science-ring{position:absolute;inset:24% 0 20%;border:1px solid #67e3e399;border-radius:50%;transform:rotate(-24deg);z-index:1;pointer-events:none}
.eb-store .eb-science-ring:after{content:"";position:absolute;width:9px;height:9px;border-radius:50%;background:#ffd09c;left:12%;top:12%}
@media(min-width:761px) and (max-width:1100px){
 #eb-home.eb-home-v8 .eb-hero-grid{min-height:560px;gap:16px}
 #eb-home.eb-home-v8 .eb-hero-copy{padding:32px 8px 40px 0}
 #eb-home.eb-home-v8 .eb-hero h2{font-size:42px}
 #eb-home.eb-home-v8 .eb-hero .eb-button{font-size:14px;padding:12px}
 body.eb-site .eb-store .ebs-art{flex-basis:280px;width:280px}
}
@media(max-width:760px){
 #eb-home.eb-home-v8 .eb-hero{background-size:auto 100%;background-position:35% center}
 #eb-home.eb-home-v8 .eb-hero-grid{width:calc(100% - 32px);grid-template-columns:minmax(0,1fr);grid-template-areas:"media" "copy";min-height:0;gap:0;padding:16px 0 24px}
 #eb-home.eb-home-v8 .eb-hero-media{width:76%;max-width:310px;margin:auto;align-self:auto}
 #eb-home.eb-home-v8 .eb-natural-portrait{max-width:255px}
 #eb-home.eb-home-v8 .eb-natural-portrait>img{max-height:340px}
 #eb-home.eb-home-v8 .eb-hero-copy{padding:0;text-align:center}
 #eb-home.eb-home-v8 .eb-hero h1{font-size:23px;margin-bottom:8px}
 #eb-home.eb-home-v8 .eb-hero h2{font-size:clamp(30px,8.5vw,42px);margin-bottom:16px}
 #eb-home.eb-home-v8 .eb-hero p.eb-hero-role{font-size:15px;margin:0 auto 24px;max-width:34ch}
 #eb-home.eb-home-v8 .eb-actions{justify-content:center;gap:8px}
 #eb-home.eb-home-v8 .eb-hero .eb-actions .eb-button{font-size:14px;flex:1 1 42%;padding:12px 8px;min-height:48px}
 #eb-home.eb-home-v8 .eb-hero .eb-actions .eb-button.orange{flex-basis:100%;max-width:none}
 #eb-home.eb-home-v8 .eb-hero-subjects{margin-top:24px}
 #eb-home.eb-home-v8 .eb-hero-subjects svg{width:30px;height:30px}
 #eb-home.eb-home-v8 .eb-hero-subjects strong{font-size:14px}
 #eb-home.eb-home-v8 .eb-hero-secondary{margin-top:16px}
 .eb-profile .eb-about-hero-art{max-width:270px;order:-1}
 .eb-profile .eb-about-hero-art .eb-profile-portrait>img{max-height:350px}
 .eb-store .ebs-hero{display:flex;flex-direction:column-reverse;padding:24px 16px;gap:16px;text-align:center;min-height:0;background-position:25% top;background-size:auto 500px}
 body.eb-site .eb-store .ebs-art{flex:auto;width:min(290px,100%);padding:24px 36px}
 .eb-store .ebs-intro h1{font-size:30px}
 body.eb-site .eb-store .ebs-intro p{font-size:15px;margin:8px auto 0;text-align:center}
 .eb-store .eb-science-formula{font-size:17px}
 .eb-store .eb-science-bottom{font-size:15px}
}
