/* Home hero: slideshow banner with a white fade on the left */
.pf-home-hero { position: relative; height: 690px; overflow: hidden; }
.pf-home-hero .pf-slides { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.pf-home-hero .pf-slides figure { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 1s ease-in-out; }
.pf-home-hero .pf-slides figure.is-active { opacity: 1; }
.pf-home-hero .pf-slides img { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: center 38%; }
.pf-home-hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.92) 12%, rgba(255,255,255,.78) 27%, rgba(255,255,255,.35) 43%, transparent 64%); }
.pf-home-hero .pf-hero-inner { position: relative; z-index: 2; height: 100%; display: flex; align-items: center; }
.pf-home-hero .pf-hero-copy { width: min(100%, 550px); padding-top: 16px; }
.pf-home-hero .pf-eyebrow { font-size: 15px; font-weight: 700; letter-spacing: 3px; color: var(--wp--preset--color--primary); margin: 0 0 12px; }
.pf-home-hero h1.pf-hero-slogan { margin: 0 0 38px; font: 400 76px/1 var(--wp--preset--font-family--script); letter-spacing: -1px; position: relative; max-width: 100%; }
.pf-home-hero h1.pf-hero-slogan mark { display: block; white-space: nowrap; font-size: inherit; }
.pf-home-hero h1.pf-hero-slogan mark:first-child { padding-left: .6em; }
.pf-home-hero h1.pf-hero-slogan::after { content: ""; display: block; position: absolute; left: 1.15em; bottom: -.14em; width: 4.2em; height: .11em; border-radius: 100%; background: var(--wp--preset--color--accent); transform: rotate(-4deg); transform-origin: left center; }
.pf-home-hero .pf-hero-copy > p:not(.pf-eyebrow) { font-size: 14px; line-height: 1.7; max-width: 340px; margin: 0 0 22px; }
.pf-js .pf-home-hero h1.pf-hero-slogan { animation: pf-sloganIn .8s cubic-bezier(.2,.8,.2,1) both; }
.pf-js .pf-home-hero h1.pf-hero-slogan::after { animation: pf-swooshIn .7s .45s ease-out both; }
@keyframes pf-sloganIn { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes pf-swooshIn { from { opacity: 0; transform: rotate(-4deg) scaleX(0); } to { opacity: 1; transform: rotate(-4deg) scaleX(1); } }
@keyframes pf-dockIn { from { opacity: 0; transform: translateX(-24px); } to { opacity: 1; transform: none; } }
/* floating cookie-settings button */
.pf-home-hero .pf-dock { position: fixed; bottom: 28px; left: 20px; z-index: 60; display: grid; gap: 10px; }
.pf-home-hero .pf-dock-link { margin: 0; }
.pf-home-hero .pf-dock-link a { position: relative; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--wp--preset--color--deep-blue); color: var(--wp--preset--color--base); font-size: 0; box-shadow: 0 4px 14px rgba(0,0,0,.2); transition: transform .2s, box-shadow .2s; animation: pf-dockIn .6s cubic-bezier(.2,.8,.2,1) both; }
.pf-home-hero .pf-dock-link a::before { content: ""; width: 24px; height: 24px; background: currentColor; -webkit-mask: url(../../svg/cookie.svg) center / contain no-repeat; mask: url(../../svg/cookie.svg) center / contain no-repeat; }
.pf-home-hero .pf-dock-link a:hover, .pf-home-hero .pf-dock-link a:focus-visible { transform: translateX(4px) scale(1.08); }
.pf-home-hero .pf-dock-link a:focus-visible { outline: 3px solid var(--wp--preset--color--accent); outline-offset: 3px; }
@media (min-width: 1351px) { .pf-home-hero .pf-hero-copy { padding-top: 96px; } }
@media (min-width: 801px) and (max-width: 1350px) { .pf-home-hero .pf-hero-copy { padding-top: 70px; } }
@media (min-width: 1600px) { .pf-home-hero .pf-slides img { object-position: center 37%; } }
@media (min-width: 1101px) { .pf-home-hero .pf-hero-copy > p:not(.pf-eyebrow) { max-width: 340px; } }
@media (max-width: 800px) {
  .pf-home-hero { height: 530px; }
  .pf-home-hero .pf-slides img { object-position: 60% 32%; }
  .pf-home-hero .pf-eyebrow { font-size: 12px; }
  .pf-home-hero h1.pf-hero-slogan { font-size: min(11.5vw, 58px); margin-bottom: 30px; }
}
@media (max-width: 700px) { .pf-home-hero .pf-dock { left: 10px; bottom: 12px; } .pf-home-hero .pf-dock-link a { width: 36px; height: 36px; } .pf-home-hero .pf-dock-link a::before { width: 21px; height: 21px; } }
@media (max-width: 560px) {
  .pf-home-hero { height: 560px; }
  .pf-home-hero .pf-slides img { object-position: 61% 29%; }
  .pf-home-hero::before { background: linear-gradient(90deg, rgba(255,255,255,.96) 0%, rgba(255,255,255,.82) 45%, rgba(255,255,255,.1) 100%); }
  .pf-home-hero .pf-hero-inner { align-items: flex-start; padding-top: 160px; }
  .pf-home-hero .pf-hero-copy { padding-top: 16px; }
  .pf-home-hero .pf-eyebrow { font-size: 10px; letter-spacing: 2px; }
  .pf-home-hero h1.pf-hero-slogan { font-size: min(11.5vw, 50px); margin-bottom: 26px; }
  .pf-home-hero .pf-hero-copy > p:not(.pf-eyebrow) { font-size: 12px; max-width: 250px; }
  .pf-home-hero .pf-dock { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .pf-js .pf-home-hero h1.pf-hero-slogan, .pf-js .pf-home-hero h1.pf-hero-slogan::after, .pf-home-hero .pf-dock-link a { animation: none; }
  .pf-home-hero .pf-slides figure, .pf-home-hero .pf-dock-link a { transition: none; }
  .pf-home-hero .pf-dock-link a:hover, .pf-home-hero .pf-dock-link a:focus-visible { transform: none; }
}
