/* The home page as a warm bakery in the logo's colours. Bakey, the mascot from the logo, is the hero's
   art: an inline SVG, so he can bob, blink and let his sparkles twinkle while a little steam rises and
   flour drifts past. The sections below sit on cream, flour and dough, with one espresso band for the
   search results. Palette and type come from style.css; this file only adds what the home page needs. */
html:has(.bakery-page){overflow-x:hidden}
.bakery-page{position:relative;isolation:isolate;background:var(--cream);color:var(--cocoa);overflow-x:clip}
.bakery-page main,.bakery-page .footer{position:relative;z-index:1}
/* The bar behind the scrolled navigation only softens what passes under it, so it stays light over the espresso band. */
.bakery-page .lx-nav.is-scrolled:before{background:linear-gradient(#fdf6eb66,#fdf6eb1f 70%,transparent);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px)}
/* Each section paints over the trailer's fixed stage as it slides up. */
.bakery-page main>section{position:relative}

/* Hero: the words on the left, Bakey on the right. */
.bakery-page .hero{
  display:grid;grid-template-columns:minmax(0,1.16fr) minmax(0,.84fr);align-items:center;gap:clamp(16px,3.5vw,72px);
  min-height:max(640px,100svh);height:auto;max-height:none;padding:clamp(108px,15vh,150px) 6% clamp(104px,13vh,136px);
  overflow:hidden;isolation:isolate;
  background:radial-gradient(ellipse 58% 64% at 77% 50%,#ffd77d2e,transparent 72%),radial-gradient(ellipse 70% 60% at 0 0,var(--flour),transparent 70%),var(--cream);
}
.bakery-page .hero-copy{width:auto;max-width:700px;margin:0;text-align:left;pointer-events:auto}
.bakery-page .hero .eyebrow{justify-content:flex-start;gap:12px;color:var(--caramel);font-size:12px;font-weight:750;letter-spacing:.16em;margin-bottom:22px}
.bakery-page .hero .status-dot{width:8px;height:8px;background:var(--amber);box-shadow:0 0 0 5px #fbaa0c33}
.bakery-page .hero h1{font-size:clamp(44px,4.9vw,76px);font-weight:850;line-height:1.05;letter-spacing:-.035em;color:var(--cocoa);margin-bottom:24px;text-shadow:none}
/* The second line is the one with the warmth: caramel, upright, over a stroke of honey like the logo's .ai. */
.bakery-page .hero h1 em{font-style:normal;color:var(--caramel);background:linear-gradient(transparent 70%,#ffd77d9e 70%,#ffd77d9e 88%,transparent 88%);-webkit-box-decoration-break:clone;box-decoration-break:clone;padding-inline:.03em}
.bakery-page .hero-description{font-size:18px;line-height:1.7;color:var(--soft-cocoa);max-width:540px;margin:0 0 30px;text-shadow:none}
.bakery-page .hero-actions{justify-content:flex-start;flex-wrap:wrap;gap:14px 30px}
.bakery-page .hero .button{font-size:15px;min-height:54px;padding-inline:28px;box-shadow:0 10px 26px #451f0529}
.bakery-page .hero .text-link{display:inline-block;font-size:15px;font-weight:650;color:var(--cocoa);border-bottom:2px solid var(--honey);padding:6px 0}
.bakery-page .hero .text-link:hover{border-color:var(--amber)}
.bakery-page .hero-reassurance{font-size:14px;line-height:1.6;color:var(--soft-cocoa);margin:24px 0 0;max-width:520px}
.bakery-page .hero-art{position:relative;inset:auto;z-index:1;display:grid;place-items:center;min-width:0;pointer-events:none}
.bakery-page .bakey{display:block;width:min(100%,620px);height:auto;overflow:visible}
.bakery-page .hero-cue{position:absolute;left:6%;bottom:30px;z-index:3;display:grid;text-align:left;grid-template-columns:42px auto;align-items:center;gap:0 12px;font-size:14px;font-weight:700;line-height:1.35;color:var(--cocoa)}
.bakery-page .hero-cue>span{grid-row:1/3;display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:var(--flour);border:1px solid var(--crust);font-size:18px;box-shadow:0 6px 16px #451f0514;transition:transform .2s}
.bakery-page .hero-cue:hover>span{transform:translateY(3px)}
.bakery-page .hero-cue small{font-size:10px;font-weight:750;letter-spacing:.16em;color:var(--soft-cocoa)}

/* Bakey's motion: slow and small, all of it transform and opacity. */
.bakey .bakey-bob{transform-box:fill-box;transform-origin:50% 100%;animation:bakey-bob 5.2s ease-in-out infinite}
.bakey .bakey-shadow{opacity:.1;transform-box:fill-box;transform-origin:center;animation:bakey-shadow 5.2s ease-in-out infinite}
.bakey .bakey-eyes{transform-box:fill-box;transform-origin:50% 70%;animation:bakey-blink 6.4s ease-in-out infinite}
.bakey .sparkle{transform-box:fill-box;transform-origin:0 100%;animation:bakey-sparkle 2.8s ease-in-out infinite}
.bakey .sparkle:nth-child(2){animation-delay:.4s}
.bakey .sparkle:nth-child(3){animation-delay:.8s}
.bakey .steam{opacity:0;transform-box:fill-box;transform-origin:50% 100%;animation:bakey-steam 4.2s ease-out infinite}
.bakey .steam:nth-child(2){animation-delay:1.4s}
.bakey .steam:nth-child(3){animation-delay:2.8s}
.bakey .flour{opacity:0;animation:bakey-flour 8s linear infinite}
.bakey .flour:nth-child(2){animation-delay:-2.2s;animation-duration:9s}
.bakey .flour:nth-child(3){animation-delay:-4.6s}
.bakey .flour:nth-child(4){animation-delay:-1.1s;animation-duration:10s}
.bakey .flour:nth-child(5){animation-delay:-6s;animation-duration:9.5s}
.bakey .flour:nth-child(6){animation-delay:-3.4s}
@keyframes bakey-bob{0%,100%{transform:translateY(0) rotate(0)}50%{transform:translateY(-16px) rotate(-1.4deg)}}
@keyframes bakey-shadow{0%,100%{transform:scaleX(1);opacity:.11}50%{transform:scaleX(.84);opacity:.06}}
@keyframes bakey-blink{0%,88%,94%,100%{transform:none}91%{transform:scaleY(.15)}}
@keyframes bakey-sparkle{0%,100%{transform:scale(1);opacity:1}45%{transform:scale(.55);opacity:.3}}
@keyframes bakey-steam{0%{opacity:0;transform:translateY(24px) scaleY(.7)}35%{opacity:.9}100%{opacity:0;transform:translateY(-30px) scaleY(1.08)}}
@keyframes bakey-flour{0%{opacity:0;transform:translate(0,-26px)}20%{opacity:.95}75%{opacity:.8}100%{opacity:0;transform:translate(12px,44px)}}
@media(prefers-reduced-motion:reduce){
  .bakey *{animation:none!important}
  .bakey .steam{opacity:.75}
  .bakey .flour{opacity:.85}
  .bakery-page .hero-cue>span{transition:none}
}

/* Sections: cream and flour, one espresso band for the results. */
.bakery-page .section{padding-top:104px;padding-bottom:104px}
.bakery-page .results-section{background:var(--espresso);color:var(--cream);border-radius:36px 36px 0 0}
.bakery-page .results-section h2{color:var(--cream)}
.bakery-page .results-section h2 em{color:var(--honey)}
.bakery-page .results-section :focus-visible{outline-color:var(--honey)}
.bakery-page .examples-section{background:var(--flour);box-shadow:0 -1px 0 var(--crust)}
.bakery-page .included,.bakery-page .support-section,.bakery-page .faq{background:transparent}
.bakery-page .closing-section{padding-bottom:104px;background:radial-gradient(ellipse 46% 52% at 50% 48%,#ffd77d2b,transparent 72%)}

@media(max-width:1100px){
  .bakery-page .hero{grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr)}
  .bakery-page .hero-description{font-size:17px}
}
@media(max-width:760px){
  .bakery-page .hero{grid-template-columns:1fr;justify-items:center;gap:0;min-height:0;padding:96px 6% 118px;text-align:center;
    background:radial-gradient(ellipse 90% 34% at 50% 20%,#ffd77d33,transparent 72%),var(--cream)}
  .bakery-page .hero-art{order:-1;width:min(54vw,220px);margin-bottom:8px}
  .bakery-page .hero-copy{text-align:center;margin-inline:auto}
  .bakery-page .hero .eyebrow{justify-content:center;font-size:11px;letter-spacing:.13em;margin-bottom:18px}
  .bakery-page .hero h1{font-size:clamp(38px,10.6vw,56px);letter-spacing:-.03em;margin-bottom:20px}
  .bakery-page .hero-description{font-size:16px;margin:0 auto 26px}
  .bakery-page .hero-actions{flex-direction:column;justify-content:center;gap:12px}
  .bakery-page .hero .text-link{display:inline-block}
  .bakery-page .hero-reassurance{font-size:13px;margin:18px auto 0;max-width:330px}
  .bakery-page .hero-cue{left:6%;bottom:26px;font-size:13px}
  .bakery-page .section{padding-top:68px;padding-bottom:68px}
  .bakery-page .results-section{border-radius:28px 28px 0 0}
}
