/* Home: welcome banner (photo on the right, white fade on the left, curved top) */
.pf-home-welcome { position: relative; isolation: isolate; box-sizing: border-box; min-height: 0; height: clamp(590px, 39.1vw, 770px); padding: 0; overflow: hidden; }
.pf-home-welcome .wp-block-cover__background { background: linear-gradient(90deg, #fff 0%, #fff 24%, rgba(255,255,255,.99) 30%, rgba(255,255,255,.94) 36%, rgba(255,255,255,.76) 43%, rgba(255,255,255,.37) 54%, rgba(255,255,255,.05) 70%, rgba(255,255,255,0) 85%) !important; opacity: 1 !important; }
.pf-home-welcome .wp-block-cover__image-background { object-fit: cover; object-position: center top; }
.pf-home-welcome::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 35px; z-index: 2; pointer-events: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='none' viewBox='0 0 1920 35'%3E%3Cpath d='M0 0 H1920 V11 C1670 3 1480 23 1240 12 C1000 1 825 7 650 24 C435 41 220 6 0 9 Z' fill='%23f4fbfd'/%3E%3C/svg%3E") 0 0 / 100% 100%; }
.pf-home-welcome .wp-block-cover__inner-container { position: relative; z-index: 3; height: 100%; display: flex; align-items: center; }
.pf-home-welcome .pf-welcome-wrap { display: flex; align-items: center; height: 100%; }
.pf-home-welcome .pf-welcome-copy { width: min(100%, 510px); padding: 46px 0 32px; }
.pf-home-welcome .pf-kicker { font-weight: 500; margin: 0 0 10px; }
.pf-home-welcome { color: var(--wp--preset--color--contrast); }
.pf-home-welcome h2 { color: var(--wp--preset--color--primary); font-size: 60px; line-height: 1.06; letter-spacing: -.8px; margin: 0; }
.pf-home-welcome .pf-together { margin: 6px 0 0 10px; width: 370px; max-width: 100%; }
.pf-home-welcome .pf-together img { display: block; width: 100%; height: auto; object-fit: contain; }
.pf-home-welcome .pf-welcome-text { font-size: 16px; font-weight: 400; line-height: 1.9; max-width: 475px; margin: 35px 0 42px; }
.pf-home-welcome .wp-block-button__link { font-size: 16px; font-weight: 500; padding: 17px 35px; min-height: 60px; gap: 12px; border-radius: 999px; }
@media (max-width: 1250px) {
  .pf-home-welcome { height: 610px; }
  .pf-home-welcome .wp-block-cover__image-background { object-position: 62% 38%; }
  .pf-home-welcome .pf-welcome-copy { width: 455px; max-width: 100%; padding: 30px 0; }
  .pf-home-welcome h2 { font-size: clamp(44px, 5.1vw, 58px); }
  .pf-home-welcome .pf-together { width: 330px; }
  .pf-home-welcome .pf-welcome-text { max-width: 420px; margin: 27px 0 32px; line-height: 1.75; }
}
@media (max-width: 800px) {
  .pf-home-welcome { height: 570px; }
  .pf-home-welcome .wp-block-cover__image-background { object-position: 65% 34%; }
  .pf-home-welcome .wp-block-cover__background { background: linear-gradient(90deg, #fff 0%, rgba(255,255,255,.98) 30%, rgba(255,255,255,.8) 55%, rgba(255,255,255,.1) 100%) !important; }
  .pf-home-welcome .pf-welcome-copy { width: min(420px, 76%); padding: 25px 0; }
  .pf-home-welcome h2 { font-size: clamp(39px, 6vw, 48px); }
  .pf-home-welcome .pf-together { width: 290px; margin-left: 4px; }
  .pf-home-welcome .pf-welcome-text { line-height: 1.65; margin: 23px 0 28px; }
  .pf-home-welcome .wp-block-button__link { padding: 13px 23px; min-height: 50px; }
}
@media (max-width: 560px) {
  .pf-home-welcome { height: auto; min-height: 610px; }
  .pf-home-welcome .wp-block-cover__image-background { object-position: 67% 31%; }
  .pf-home-welcome .wp-block-cover__background { background: linear-gradient(90deg, rgba(255,255,255,.96) 0%, rgba(255,255,255,.91) 34%, rgba(255,255,255,.72) 72%, rgba(255,255,255,.33) 100%) !important; }
  .pf-home-welcome .wp-block-cover__inner-container, .pf-home-welcome .pf-welcome-wrap { min-height: 610px; }
  .pf-home-welcome .pf-welcome-copy { width: min(360px, 94%); padding: 46px 0; }
  .pf-home-welcome h2 { font-size: clamp(35px, 10vw, 44px); }
  .pf-home-welcome .pf-together { width: 250px; }
  .pf-home-welcome .pf-welcome-text { max-width: 330px; margin: 24px 0 27px; }
}
