/* home-hero */
.pf-home-hero { position: relative; overflow: hidden; padding: 2.5rem var(--pf-gutter) 4rem; }
.pf-home-hero .pf-home-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.5rem; align-items: center; }
.pf-home-hero .pf-home-hero__grid > * { margin: 0; }
.pf-home-hero .pf-home-hero__copy { display: flex; flex-direction: column; gap: 1.5rem; }
.pf-home-hero .pf-home-hero__copy > * { margin: 0; }

.pf-home-hero .pf-home-hero__badge { align-self: flex-start; display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.375rem 1rem; border: 1px solid var(--wp--preset--color--sky-200); border-radius: 9999px; background: color-mix(in srgb, var(--wp--preset--color--base) 70%, transparent); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); color: var(--wp--preset--color--sky-800); font-size: 0.75rem; line-height: 1rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05); }
.pf-home-hero .pf-home-hero__badge::before { content: ""; flex: none; width: 0.5rem; height: 0.5rem; border-radius: 9999px; background: var(--wp--preset--color--primary); animation: pf-hero-ping 1s cubic-bezier(0, 0, 0.2, 1) infinite; }
@keyframes pf-hero-ping { 75%, 100% { transform: scale(2); opacity: 0; } }

.pf-home-hero .pf-home-hero__title { font-size: 2.25rem; line-height: 1.12; font-weight: 800; letter-spacing: -0.025em; color: var(--wp--preset--color--contrast); }
.pf-home-hero .pf-gradient-text { color: transparent; background-image: linear-gradient(to right, var(--wp--preset--color--primary), var(--wp--preset--color--sky-600)); -webkit-background-clip: text; background-clip: text; }
.pf-home-hero .pf-home-hero__lead { max-width: 36rem; font-size: 1rem; line-height: 1.625; color: var(--wp--preset--color--slate-600); }

.pf-home-hero .pf-home-hero__ctawrap { padding-top: 0.5rem; }
.pf-home-hero .pf-home-hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
.pf-home-hero .pf-home-hero__cta .wp-block-button__link { display: flex; align-items: center; gap: 0.5rem; padding: 1rem 1.75rem; border-radius: 1rem; color: var(--wp--preset--color--base); font-size: 0.875rem; line-height: 1.25rem; font-weight: 700; transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1); }
.pf-home-hero .pf-home-hero__cta .wp-block-button__link:hover { transform: translateY(-0.25rem); color: var(--wp--preset--color--base); }
.pf-home-hero .pf-btn-orange .wp-block-button__link { background: linear-gradient(to right, var(--wp--preset--color--primary), var(--wp--preset--color--accent)); box-shadow: 0 10px 15px -3px rgba(249, 115, 22, 0.25), 0 4px 6px -4px rgba(249, 115, 22, 0.25); }
.pf-home-hero .pf-btn-orange .wp-block-button__link:hover { background: linear-gradient(to right, var(--wp--preset--color--accent), var(--wp--preset--color--orange-700)); }
.pf-home-hero .pf-btn-arrow .wp-block-button__link::after { content: ""; width: 1.25rem; height: 1.25rem; background: currentColor; -webkit-mask: url("../../svg/arrow-right.svg") center / contain no-repeat; mask: url("../../svg/arrow-right.svg") center / contain no-repeat; }
.pf-home-hero .pf-btn-sky .wp-block-button__link { background: var(--wp--preset--color--secondary); box-shadow: 0 10px 15px -3px rgba(14, 165, 233, 0.25), 0 4px 6px -4px rgba(14, 165, 233, 0.25); }
.pf-home-hero .pf-btn-sky .wp-block-button__link:hover { background: var(--wp--preset--color--sky-600); }

.pf-home-hero .pf-home-hero__metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; max-width: 32rem; padding-top: 1rem; border-top: 1px solid color-mix(in srgb, var(--wp--preset--color--slate-200) 80%, transparent); }
.pf-home-hero .pf-metric > * { margin: 0; }
.pf-home-hero .pf-metric-num { font-size: 1.5rem; line-height: 2rem; font-weight: 800; }
.pf-home-hero .pf-metric-orange { color: var(--wp--preset--color--accent); }
.pf-home-hero .pf-metric-sky { color: var(--wp--preset--color--sky-600); }
.pf-home-hero .pf-metric-slate { color: var(--wp--preset--color--slate-800); }
.pf-home-hero .pf-metric-label { margin-top: 0.125rem; font-size: 0.75rem; line-height: 1rem; font-weight: 500; color: var(--wp--preset--color--muted); }

/* visual column */
.pf-home-hero .pf-home-hero__visual { position: relative; perspective: 1400px; transform-style: preserve-3d; }
.pf-home-hero .pf-home-hero__card { padding: 1rem; border: 1px solid color-mix(in srgb, var(--wp--preset--color--base) 60%, transparent); border-radius: 2rem; background: color-mix(in srgb, var(--wp--preset--color--base) 80%, transparent); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); box-shadow: 0 25px 50px -15px rgba(12, 74, 110, 0.08); }
.pf-home-hero .pf-home-hero__slides { position: relative; width: 100%; height: 420px; overflow: hidden; border-radius: 1.5rem; background: var(--wp--preset--color--contrast); transform-style: preserve-3d; }
.pf-home-hero .pf-home-hero__slides::after { content: ""; position: absolute; inset: 0; z-index: 20; pointer-events: none; background: linear-gradient(to top, rgba(8, 47, 73, 0.4), transparent); }
.pf-home-hero .pf-slide { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; -webkit-backface-visibility: hidden; backface-visibility: hidden; transform-style: preserve-3d; transition: transform 1.2s cubic-bezier(0.25, 1, 0.5, 1), opacity 1.2s ease; }
.pf-home-hero .pf-slide:first-child { opacity: 1; }
.pf-home-hero .pf-home-hero__slides.is-ready .pf-slide:first-child { opacity: 0; }
.pf-home-hero .pf-slide img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pf-home-hero .pf-slide:nth-child(1) img { object-position: 70% 40%; }
.pf-home-hero .pf-slide:nth-child(2) img { object-position: 50% 50%; }
.pf-home-hero .pf-slide:nth-child(3) img { object-position: 50% 55%; }
.pf-home-hero .pf-slide:nth-child(4) img { object-position: 50% 40%; }
.pf-home-hero .pf-home-hero__dots { display: flex; align-items: center; justify-content: center; gap: 0.5rem; margin-top: 1rem; }
.pf-home-hero .pf-dot { width: 0.75rem; height: 0.75rem; padding: 0; border: 0; border-radius: 9999px; background: var(--wp--preset--color--slate-300); cursor: pointer; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); }
.pf-home-hero .pf-dot:hover { background: var(--wp--preset--color--slate-400); }
.pf-home-hero .pf-dot.is-active { width: 1.5rem; background: var(--wp--preset--color--primary); }
.pf-home-hero .pf-home-hero__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem; margin-top: 0.75rem; padding: 0 0.5rem; }
.pf-home-hero .pf-home-hero__avatars { display: flex; }
.pf-home-hero .pf-avatar { display: flex; align-items: center; justify-content: center; width: 2rem; height: 2rem; margin: 0; border-radius: 9999px; box-shadow: 0 0 0 2px var(--wp--preset--color--base); color: var(--wp--preset--color--base); font-size: 0.75rem; line-height: 1rem; font-weight: 700; }
.pf-home-hero .pf-avatar + .pf-avatar { margin-left: -0.5rem; }
.pf-home-hero .pf-avatar-orange { background: var(--wp--preset--color--primary); }
.pf-home-hero .pf-avatar-sky { background: var(--wp--preset--color--secondary); }
.pf-home-hero .pf-avatar-accent { background: var(--wp--preset--color--accent); }
.pf-home-hero .pf-home-hero__call .wp-block-button__link { padding: 0; border-radius: 0; background: none; box-shadow: none; color: var(--wp--preset--color--sky-600); font-size: 0.75rem; line-height: 1rem; font-weight: 700; transition: color 0.15s cubic-bezier(0.4, 0, 0.2, 1); }
.pf-home-hero .pf-home-hero__call .wp-block-button__link:hover { color: var(--wp--preset--color--accent); background: none; }
.pf-home-hero .pf-home-hero__float { display: none; align-items: center; gap: 0.75rem; position: absolute; bottom: -1.25rem; left: -1.25rem; z-index: 20; padding: 0.875rem 1.25rem; border: 1px solid var(--wp--preset--color--orange-100); border-radius: 1rem; background: color-mix(in srgb, var(--wp--preset--color--base) 90%, transparent); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 12px 35px -5px rgba(14, 165, 233, 0.1), 0 4px 15px -2px rgba(249, 115, 22, 0.08); animation: pf-hero-levitate 4.8s ease-in-out infinite; }
@keyframes pf-hero-levitate { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-12px) rotate(1deg); } }
.pf-home-hero .pf-badge-icon { display: flex; align-items: center; justify-content: center; flex: none; width: 2.75rem; height: 2.75rem; border-radius: 0.75rem; background: var(--wp--preset--color--orange-100); color: var(--wp--preset--color--accent); }
.pf-home-hero .pf-icon-heart::before { content: ""; width: 1.5rem; height: 1.5rem; background: currentColor; -webkit-mask: url("../../svg/heart.svg") center / contain no-repeat; mask: url("../../svg/heart.svg") center / contain no-repeat; }
.pf-home-hero .pf-float-text > * { margin: 0; }
.pf-home-hero .pf-float-label { font-size: 0.75rem; line-height: 1rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--wp--preset--color--accent); }
.pf-home-hero .pf-float-title { font-size: 0.875rem; line-height: 1.25rem; font-weight: 700; color: var(--wp--preset--color--slate-800); }

@media (min-width: 640px) {
	.pf-home-hero .pf-home-hero__title { font-size: 3rem; line-height: 1; }
	.pf-home-hero .pf-home-hero__lead { font-size: 1.125rem; line-height: 1.75rem; }
	.pf-home-hero .pf-home-hero__cta .wp-block-button__link { font-size: 1rem; line-height: 1.5rem; }
	.pf-home-hero .pf-metric-num { font-size: 1.875rem; line-height: 2.25rem; }
	.pf-home-hero .pf-home-hero__card { padding: 1.25rem; }
	.pf-home-hero .pf-home-hero__float { display: flex; }
}
@media (min-width: 1024px) {
	.pf-home-hero { padding-top: 4rem; padding-bottom: 6rem; }
	.pf-home-hero .pf-home-hero__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 3rem; }
	.pf-home-hero .pf-home-hero__copy, .pf-home-hero .pf-home-hero__visual { grid-column: span 6; }
	.pf-home-hero .pf-home-hero__title { font-size: 54px; line-height: 1; }
}

/* scroll animations from the design */
.pf-js .pf-home-hero .pf-curtain { clip-path: inset(0 0 100% 0); transform: translateY(36px); transition-property: clip-path, transform, opacity; transition-duration: 0.95s, 0.95s, 0.75s; transition-timing-function: cubic-bezier(0.16, 1, 0.3, 1), cubic-bezier(0.16, 1, 0.3, 1), ease; }
.pf-js .pf-home-hero .pf-curtain.is-visible { clip-path: inset(0 0 0% 0); transform: translateY(0); opacity: 1; }

.pf-js .pf-home-hero .pf-elastic { transform: scale(0.82) translateY(35px); transition-property: transform, opacity; transition-duration: 0.9s, 0.7s; transition-timing-function: cubic-bezier(0.34, 1.56, 0.64, 1), ease; }
.pf-js .pf-home-hero .pf-elastic.is-visible { transform: scale(1) translateY(0); opacity: 1; }

@media (prefers-reduced-motion: reduce) {
	.pf-js .pf-home-hero [class*="pf-reveal"] { clip-path: none !important; transform: none !important; opacity: 1 !important; }
}
