/* Hand-drawn bakery crew footer inspired by the supplied doodle reference. */
.site-footer {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 72px max(24px, 5vw) 20px;
  background: #0b0b0b;
  color: #f6f2e9;
}

.site-footer .footer-top {
  display: grid;
  grid-template-columns: 1.05fr .82fr .95fr .8fr;
  gap: clamp(22px, 4vw, 58px);
  width: min(1360px, 100%);
  margin: 0 auto;
}

.site-footer .footer-intro { max-width: 290px; }
.site-footer .footer-brand { display: inline-flex; align-items: flex-start; gap: 5px; color: #f6f2e9; font-family: Bunch, Arial, sans-serif; font-size: 37px; line-height: 1; letter-spacing: -2px; text-decoration: none; }
.site-footer .footer-brand > span { color: #ffc84a; font-family: Arial, sans-serif; font-size: 15px; transform: translateY(-2px); }
.site-footer .footer-intro p { max-width: 260px; margin: 22px 0 24px; color: #cac7c0; font-size: 14px; line-height: 1.75; }
.site-footer .footer-social { display: inline-flex; flex-direction: column; gap: 7px; color: #cac7c0; font-size: 10px; letter-spacing: 1.4px; text-decoration: none; }
.site-footer .footer-social span { color: #ffc84a; font-size: 12px; letter-spacing: .3px; }
.site-footer .footer-social:hover span { color: #fff6e8; }

.site-footer .footer-column { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding-top: 5px; }
.site-footer .footer-column h2 { margin: 0 0 7px; color: #a9a59d; font-family: Gilroy, Arial, sans-serif; font-size: 10px; font-weight: 700; line-height: 1.4; letter-spacing: 1.5px; }
.site-footer .footer-column a,.site-footer .footer-column > span { color: #f6f2e9; font-size: 13px; line-height: 1.5; text-decoration: none; }
.site-footer .footer-column a:hover { color: #ffc84a; text-decoration: underline; text-underline-offset: 4px; }

.footer-world { width: min(1440px, 100%); margin: 48px auto 0; text-align: center; }
.footer-doodle-stage { position: relative; min-height: clamp(280px, 31vw, 410px); }
.footer-doodle-caption { position: absolute; top: 7px; left: 0; z-index: 2; max-width: 100%; color: #c3a98c; font-size: 9px; letter-spacing: 1.35px; text-align: left; }
.footer-word { position: absolute; right: 0; bottom: 25px; left: 0; display: flex; justify-content: center; color: #f5f1e8; font-family: Bunch, Arial, sans-serif; font-size: clamp(110px, 19.7vw, 276px); line-height: .84; letter-spacing: -.075em; white-space: nowrap; text-shadow: 0 0 1px #fff8e8, 0 2px 0 #d5d0c7; }
.footer-word span { background: repeating-linear-gradient(180deg,#f5f1e8 0 5px,#cbc6be 5px 6px,#f5f1e8 6px 11px,transparent 11px 12px,#f5f1e8 12px 19px); background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.footer-word span { display: inline-block; transform-origin: 50% 100%; }
.footer-ground { position: absolute; right: 0; bottom: 4px; left: 0; width: 100%; height: 44px; overflow: visible; }
.footer-ground-line { fill: none; stroke: #e8e3d8; stroke-width: 2.2; stroke-linecap: round; }
.footer-ground-grass { fill: none; stroke: #bdb8ae; stroke-width: 1.7; stroke-linecap: round; }
.footer-crew { position: absolute; inset: 0; pointer-events: none; }
.footer-character { position: absolute; z-index: 3; display: block; width: 148px; height: 148px; padding: 0; border: 0; background: transparent; color: inherit; cursor: pointer; pointer-events: auto; filter: drop-shadow(0 8px 3px #20171135); }
.footer-character svg { width: 100%; height: 100%; overflow: visible; }
.footer-character-loaf { top: 95px; left: 37%; }
.footer-character-baguette { top: 30px; left: 54%; width: 172px; height: 130px; }
.footer-character-roll { top: 126px; left: 69%; width: 116px; height: 116px; }
.character-shadow { fill: none; opacity: 0; }
.character-body { fill: #0b0b0b; stroke: #f5f1e8; stroke-width: 3; stroke-linejoin: round; stroke-dasharray: 36 1.1; }
.character-body-roll { fill: #0b0b0b; }
.character-score { fill: none; stroke: #d8d3ca; stroke-width: 4; stroke-linecap: round; stroke-dasharray: 22 1.4; }
.character-eye { fill: #f5f1e8; }
.character-pupil { fill: #0b0b0b; transition: transform .12s ease-out; }
.character-smile,.character-limb { fill: none; stroke: #f5f1e8; stroke-width: 3.5; stroke-linecap: round; stroke-dasharray: 14 1; }
.character-cheek { fill: none; stroke: #ff8a4c; stroke-width: 3; stroke-linecap: round; }
.character-chip { fill: #ff8a4c; stroke: #f5f1e8; stroke-width: 1; }
.footer-character:hover { filter: drop-shadow(0 10px 4px #20171155); }
.footer-character:focus-visible,.footer-actions a:focus-visible,.footer-bottom a:focus-visible { outline: 2px dashed #f0c995; outline-offset: 5px; border-radius: 5px; }
.footer-speech { position: absolute; z-index: 5; top: 43%; left: 50%; max-width: min(320px, 80vw); padding: 9px 14px; transform: translate(-50%, -100%); border: 1px solid #e8e3d8; border-radius: 12px; background: #151515; color: #f6f2e9; font-size: 13px; line-height: 1.45; box-shadow: 0 5px 16px #0009; }
.footer-speech:empty { display: none; }
.footer-doodle-sparks span { position: absolute; z-index: 1; color: #ffc84a; font-family: Georgia, serif; pointer-events: none; }
.footer-doodle-sparks span:nth-child(1) { top: 45px; left: 18%; font-size: 28px; }
.footer-doodle-sparks span:nth-child(2) { top: 112px; right: 15%; font-size: 34px; }
.footer-doodle-sparks span:nth-child(3) { top: 165px; left: 23%; font-size: 20px; letter-spacing: 5px; }
.footer-doodle-sparks span:nth-child(4) { top: 210px; right: 23%; font-size: 20px; }
.footer-doodle-sparks span:nth-child(5) { top: 30px; right: 33%; font-size: 17px; }
.footer-tagline { margin: 4px auto 22px; color: #d7d3cc; font-size: 14px; line-height: 1.6; }
.site-footer .footer-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }
.site-footer .footer-actions .cta { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; border: 1px solid #f5f1e8; border-radius: 6px; background: #f5f1e8; box-shadow: none; color: #111; font-size: 11px; letter-spacing: .35px; text-decoration: none; }
.site-footer .footer-actions .cta:hover { transform: translateY(-1px); background: #ffc84a; border-color:#ffc84a; }
.site-footer .footer-actions .footer-whatsapp { border-color: #79756d; background: transparent; color: #f6f2e9; }
.site-footer .footer-actions .footer-whatsapp:hover { background: #ffffff12; color: #fff6e8; }

.footer-bottom { display: flex; width: min(1440px, 100%); align-items: center; justify-content: space-between; gap: 18px; margin: 36px auto 0; padding-top: 17px; border-top: 1px solid #f4f0e433; color: #c4c0b8; font-size: 10px; line-height: 1.7; }
.footer-bottom-links { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; }
.footer-bottom a { color: #f5f1e8; text-underline-offset: 3px; }
.footer-address { width: min(1440px, 100%); margin: 0 auto 12px; color: #d7d3cc; font-size: 14px; text-align: left; }
.footer-address a { color: inherit; text-decoration: none; }
.footer-address a:hover,.footer-credits a:hover { color: #fff6e8; text-decoration: underline; text-underline-offset: 3px; }
.footer-credits { width: min(1440px, 100%); margin: 10px auto 0; color: #c4c0b8; font-size: 10px; line-height: 1.7; }
.footer-credits a { color: #f5f1e8; text-underline-offset: 3px; }
.footer-totop { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.visually-hidden { 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; border: 0 !important; }

.footer-word span { opacity: 1; }
.footer-doodle-stage[data-play="1"] .footer-word span { animation: footer-letter-stamp .55s cubic-bezier(.2,.8,.3,1) both; }
.footer-doodle-stage[data-play="1"] .footer-word span:nth-child(1) { animation-delay: .12s; }
.footer-doodle-stage[data-play="1"] .footer-word span:nth-child(2) { animation-delay: .2s; }
.footer-doodle-stage[data-play="1"] .footer-word span:nth-child(3) { animation-delay: .28s; }
.footer-doodle-stage[data-play="1"] .footer-word span:nth-child(4) { animation-delay: .36s; }
.footer-doodle-stage[data-play="1"] .footer-word span:nth-child(5) { animation-delay: .44s; }
.footer-doodle-stage[data-play="1"] .footer-word span:nth-child(6) { animation-delay: .52s; }
.footer-doodle-stage[data-play="1"] .footer-word span:nth-child(7) { animation-delay: .6s; }
.footer-character-loaf { animation: footer-float 3.8s ease-in-out infinite; }
.footer-character-baguette { animation: footer-swing 4.5s ease-in-out infinite; }
.footer-character-roll { animation: footer-float 3.4s ease-in-out .3s infinite; }
.footer-character.is-hopping { animation: footer-hop .55s cubic-bezier(.2,.8,.3,1); }
.footer-doodle-sparks span { animation: footer-spark-drift 4.1s ease-in-out infinite; }
.footer-doodle-sparks span:nth-child(2n) { animation-direction: reverse; animation-duration: 5s; }
.footer-doodle-stage[data-play="1"] .footer-ground-line { stroke-dasharray: 1400; stroke-dashoffset: 1400; animation: footer-draw 1.4s ease-out .2s forwards; }

@keyframes footer-letter-stamp { 0% { opacity: 0; transform: translateY(.55em) rotate(3deg) scale(.8); } 65% { opacity: 1; transform: translateY(-.05em) rotate(-1deg) scale(1.04); } 100% { opacity: 1; transform: none; } }
@keyframes footer-float { 0%,100% { translate: 0 0; rotate: -2deg; } 50% { translate: 0 -7px; rotate: 2deg; } }
@keyframes footer-swing { 0%,100% { rotate: -2deg; } 50% { rotate: 2.5deg; } }
@keyframes footer-hop { 0% { transform: scale(1,.85) translateY(0); } 42% { transform: scale(.95,1.08) translateY(-25px); } 72% { transform: scale(1.08,.92) translateY(0); } 100% { transform: none; } }
@keyframes footer-spark-drift { 0%,100% { translate: 0 0; rotate: -8deg; opacity: .7; } 50% { translate: 0 -7px; rotate: 12deg; opacity: 1; } }
@keyframes footer-draw { to { stroke-dashoffset: 0; } }

@media (max-width: 950px) {
  .site-footer .footer-top { grid-template-columns: 1fr 1fr; gap: 34px 28px; }
  .site-footer .footer-intro { grid-column: 1 / -1; max-width: 520px; }
  .site-footer .footer-intro p { max-width: 440px; }
  .footer-character-loaf { left: 30%; }
  .footer-character-baguette { left: 51%; }
  .footer-character-roll { left: 70%; }
}

@media (max-width: 600px) {
  .site-footer { padding: 48px 20px 18px; }
  .site-footer .footer-top { grid-template-columns: 1fr 1fr; gap: 27px 17px; }
  .site-footer .footer-intro { grid-column: 1 / -1; }
  .site-footer .footer-brand { font-size: 33px; }
  .site-footer .footer-intro p { max-width: 310px; margin: 15px 0 18px; font-size: 13px; }
  .site-footer .footer-column { gap: 11px; }
  .site-footer .footer-column h2 { margin-bottom: 4px; font-size: 9px; letter-spacing: 1px; }
  .site-footer .footer-column a,.site-footer .footer-column > span { font-size: 11px; }
  .footer-world { margin-top: 36px; }
  .footer-doodle-stage { min-height: 210px; }
  .footer-doodle-caption { top: 0; max-width: 255px; font-size: 7px; letter-spacing: .8px; line-height: 1.6; }
  .footer-word { bottom: 23px; font-size: 16.5vw; letter-spacing: -.08em; }
  .footer-ground { bottom: 0; height: 33px; }
  .footer-character-loaf { top: 71px; left: 25%; width: 83px; height: 83px; }
  .footer-character-baguette { top: 32px; left: 47%; width: 105px; height: 78px; }
  .footer-character-roll { top: 92px; left: 66%; width: 68px; height: 68px; }
  .footer-doodle-sparks span:nth-child(1) { top: 43px; left: 5%; font-size: 19px; }
  .footer-doodle-sparks span:nth-child(2) { top: 68px; right: 4%; font-size: 22px; }
  .footer-doodle-sparks span:nth-child(3) { top: 113px; left: 2%; font-size: 15px; }
  .footer-doodle-sparks span:nth-child(4) { top: 145px; right: 4%; font-size: 17px; }
  .footer-doodle-sparks span:nth-child(5) { top: 24px; right: 27%; font-size: 14px; }
  .footer-speech { top: 40%; font-size: 11px; }
  .footer-tagline { margin: 2px auto 16px; font-size: 12px; }
  .footer-address { margin-bottom: 10px; font-size: 12px; }
  .site-footer .footer-actions { gap: 8px; }
  .site-footer .footer-actions .cta { min-height: 44px; padding: 11px 13px; font-size: 9px; letter-spacing: 0; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 8px; margin-top: 27px; padding-top: 13px; font-size: 9px; }
  .footer-bottom-links { width: 100%; justify-content: space-between; gap: 12px; }
  .footer-credits { margin-top: 9px; font-size: 9px; }
}

@media (max-width: 360px) {
  .site-footer { padding-right: 16px; padding-left: 16px; }
  .site-footer .footer-actions { align-items: stretch; flex-direction: column; }
  .footer-word { font-size: 15.8vw; }
}

@media (prefers-reduced-motion: reduce) {
  .footer-character,.footer-doodle-sparks span,.footer-word span { animation: none !important; transition: none !important; }
  .footer-doodle-stage[data-play="1"] .footer-ground-line { stroke-dashoffset: 0; animation: none; }
  .site-footer .footer-actions .cta { transition: none; }
}
