/* Home page and the pieces other pages share (headings, heroes, motion states, snaps). */

:root {
	/* Framer springs sampled to linear(): stiffness 100 / damping 30 / mass 2 (≈1.45s) and 200 / 30 / 1 (≈0.77s). */
	--spring-slow: linear(0, .0295, .0968, .1782, .2695, .3597, .4446, .5188, .5883, .6496, .7028, .7468, .7865, .8203, .849, .8722, .8929, .9103, .9249, .9367, .947, .9557, .963, .9688, .974, .9783, .9819, .9847, .9873, .9894, .9911, .9926, .9938, .9948, .9957, .9964, .997, .9975, .9979, .9983, 1);
	--spring-quick: linear(0, .036, .1067, .202, .2938, .3909, .4733, .5541, .6194, .6813, .7341, .7754, .8136, .8432, .8702, .8911, .9101, .9246, .9378, .9479, .9571, .9647, .9704, .9757, .9796, .9832, .986, .988, .9899, .9915, .9928, .9939, .9948, .9956, .9963, .9969, .9974, .9978, .9982, .9985, 1);
	--ease-framer: cubic-bezier(.44, 0, .56, 1);
	--shadow-card: rgba(0, 0, 0, .05) 0 .8px 2.4px -.63px, rgba(0, 0, 0, .05) 0 2.4px 7.2px -1.25px, rgba(0, 0, 0, .05) 0 6.4px 19.1px -1.88px, rgba(0, 0, 0, .05) 0 20px 60px -2.5px;
}

/* Header logo + name ------------------------------------------------------ */
.site-logo { display: flex; align-items: center; gap: 10px; width: auto; top: 40px; }
.site-logo img { width: 32px; height: 32px; object-fit: contain; }
.site-logo__name { font: 500 24px/28.8px var(--font-display); color: var(--ink); white-space: nowrap; }
.site-header--post .site-logo { top: 57px; }
.site-header--inverse .site-logo__name { color: var(--white); }
.btn--outline { background: var(--white); color: var(--ink); }
.btn--light { gap: 10px; }
@media (max-width: 809.98px) {
	.site-logo { top: 14px; left: 20px; }
	.site-logo__name { display: none; }
	.site-header--post .site-logo { top: 14px; left: 34px; }
}

/* Section headings: bold lead sentence, muted remainder ------------------- */
.section-heading {
	max-width: 600px; margin: 0 auto; text-align: center;
	font: 500 32px/35.2px var(--font-display); letter-spacing: -.2px; color: var(--gray-500);
}
.section-heading__lead { color: var(--ink); }
.section-heading--on-dark { color: var(--gray-400); }
.section-heading--on-dark .section-heading__lead { color: var(--white); }
.section-heading--left { margin: 0; text-align: left; max-width: 500px; }
.section-heading--sm { max-width: 480px; }
@media (max-width: 809.98px) {
	.section-heading { max-width: 310px; font-size: 22px; line-height: 26.4px; }
	.section-heading--left { max-width: none; }
}

.page-hero { padding: 180px var(--gutter) 0; text-align: center; }
.page-hero__title { font: 500 64px/76.8px var(--font-display); letter-spacing: -1.5px; }
.page-hero__lede { max-width: 500px; margin: 20px auto 0; color: var(--gray-400); font: 500 18px/23.4px var(--font-display); letter-spacing: .1px; }
@media (max-width: 809.98px) {
	.page-hero { padding-top: 180px; }
	.page-hero__title { font-size: 34px; line-height: 37.4px; letter-spacing: 0; }
	.page-hero__lede { max-width: 280px; font-size: 16px; line-height: 22.4px; }
}

/* Motion states. main.js adds .js to <html>; without it nothing is hidden. */
.js [data-appear]:not(.is-in), .js [data-reveal]:not(.is-in) { opacity: 0; }
.js [data-appear].is-in, .js [data-reveal].is-in { opacity: 1; transform: none; }

/* Snap visuals: fixed-size fragments, scaled to their box by main.js. */
.snap { transform-origin: 0 0; transform: scale(var(--snap-scale, 1)); pointer-events: none; }
.snap > * { transform: none !important; }
.snap p, .snap ul, .snap li { margin: 0; padding: 0; list-style: none; }
.snap--m { display: none; }
@media (max-width: 809.98px) { .snap--d { display: none; } .snap--m { display: block; } }

/* Hero -------------------------------------------------------------------- */
.hero { padding: 180px var(--gutter) 80px; }
.hero__inner { max-width: 1120px; margin: 0 auto; }
.hero__title { font: 500 64px/76.8px var(--font-display); letter-spacing: -1.5px; }
.hero__line { display: block; }
.hero__line--switch { display: flex; gap: .26em; }
.rotator { position: relative; display: block; height: 76.8px; overflow: hidden; }
.rotator__track { display: flex; flex-direction: column; will-change: transform; }
.rotator__word {
	display: block; height: 80px; padding-right: 4px; white-space: nowrap;
	-webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
}
.rotator__word--warm { background-image: linear-gradient(105deg, #4a0ffc 0%, #fc00fc 25.55%, #ff7383 56.99%, #ff9203 77.36%, #ffa6a6 100%); }
.rotator__word--cool { background-image: linear-gradient(105deg, #ca61ff 9.76%, #30a9ff 79.16%); }
.hero__lede { max-width: 500px; margin-top: 24px; color: var(--gray-400); font: 500 18px/23.4px var(--font-display); letter-spacing: .1px; }
.status-pill { display: flex; align-items: center; gap: 6px; margin-top: 24px; color: var(--gray-600); font: 500 14px/21px var(--font-display); letter-spacing: .1px; }
.status-pill svg { color: var(--gray-400); }
.status-pill__dot { position: relative; width: 12px; height: 12px; margin-right: 4px; flex: none; }
.status-pill__dot::before, .status-pill__dot span { content: ""; position: absolute; inset: 0; border-radius: 3px; background: #09e884; }
.status-pill__dot span { animation: pulse-dot 1.8s linear infinite; }
@keyframes pulse-dot {
	0% { opacity: 1; transform: rotate(0) scale(1); }
	44.4%, 100% { opacity: 0; transform: rotate(360deg) scale(1.5); }
}
.hero__actions { display: flex; gap: 10px; margin-top: 24px; }
@media (max-width: 809.98px) {
	.hero { padding: 140px 20px 80px; }
	.hero__title { font-size: 34px; line-height: 37.4px; letter-spacing: 0; }
	.rotator { height: 37.4px; }
	.rotator__word { height: 40px; }
	.hero__lede { max-width: 280px; font-size: 16px; line-height: 22.4px; }
}

/* Works ticker ------------------------------------------------------------ */
.works { overflow: hidden; }
.works__viewport { height: 600px; }
.works__track { display: flex; gap: 30px; width: max-content; will-change: transform; }
.work-sample { flex: none; }
.work-sample a { display: flex; flex-direction: column; gap: 20px; }
.work-sample--wide { width: 880px; }
.work-sample--narrow { width: 250px; }
.work-sample__image { display: block; height: 550px; border-radius: 18px; overflow: hidden; background: var(--soft); }
.work-sample__image img { width: 100%; height: 100%; object-fit: cover; }
.work-sample__info { display: flex; align-items: center; gap: 10px; height: 24px; color: var(--gray-500); font: 500 14px/21px var(--font-display); letter-spacing: .1px; }
.work-sample__info img { width: 24px; height: 24px; border-radius: 6px; }
@media (max-width: 809.98px) {
}

/* Logo ticker ------------------------------------------------------------- */
.logos { padding: 160px 0 100px; text-align: center; }
.logos__label { color: var(--gray-400); font: 500 14px/21px var(--font-display); letter-spacing: .1px; }
.logos__viewport {
	display: flex; align-items: center; height: 80px; margin-top: 20px; overflow: hidden;
	-webkit-mask-image: linear-gradient(to right, transparent 0, #000 20%, #000 80%, transparent 100%);
	mask-image: linear-gradient(to right, transparent 0, #000 20%, #000 80%, transparent 100%);
}
.logos__track { display: flex; gap: 60px; width: max-content; will-change: transform; }
.logos__track li { flex: none; width: 120px; height: 30px; }
.logos__track img { width: 100%; height: 100%; object-fit: contain; }
@media (max-width: 809.98px) { .logos { padding: 100px 0; } }

/* Process: sticky stacking cards ------------------------------------------ */
.process {
	padding: 160px 40px 20px;
	background: linear-gradient(152deg, #000 5.45%, #5528fa 15.66%, #3b55ff 26.44%, #0569ff 35.62%, #9152ff 45.42%, #ff1cfb 56.01%, #ffbf18 66%, #fff 80%);
}
.process__stack { display: flex; flex-direction: column; align-items: center; gap: 100px; max-width: 1200px; margin: 131px auto 0; }
.step {
	position: sticky; display: flex; justify-content: space-between; width: 100%; min-height: 570px;
	padding: 40px; border-radius: 32px; background: var(--white);
	transform-origin: 50% 0; will-change: transform;
}
.step[data-step="0"] { top: 126px; }
.step[data-step="1"] { top: 176px; }
.step[data-step="2"] { top: 226px; }
.step[data-step="3"] { top: 276px; }
.step__text { display: flex; flex-direction: column; gap: 20px; width: 540px; flex: none; }
.step__label { display: flex; align-items: center; gap: 8px; height: 32px; color: var(--gray-500); font: 500 18px/23.4px var(--font-display); letter-spacing: .1px; }
.step__label svg { width: 16px; height: 20px; }
.step__title { max-width: 432px; font: 500 48px/57.6px var(--font-display); letter-spacing: -1.3px; }
.step__body { max-width: 432px; color: var(--gray-400); font: 500 16px/24px var(--font-body); }
.step__cta { align-self: flex-start; }
.step__visual { position: relative; width: 580px; height: 490px; flex: none; overflow: hidden; border-radius: 20px; }
.step__visual-link { display: block; width: 100%; height: 100%; }
.process__spacer { height: 752px; }
@media (max-width: 1199.98px) {
	.step { flex-direction: column; gap: 28px; min-height: 0; }
	.step__text { width: 100%; }
	.step__visual { width: 580px; max-width: 100%; align-self: center; }
}
@media (min-width: 810px) and (max-width: 1199.98px) {
	.home .footer-card { padding-top: 128px; }
}
@media (max-width: 809.98px) {
	.process { padding: 80px 20px 20px; }
	.process__stack { gap: 60px; margin-top: 308px; }
	.step { padding: 20px; }
	.step[data-step="0"] { top: 80px; }
	.step[data-step="1"] { top: 100px; }
	.step[data-step="2"] { top: 120px; }
	.step[data-step="3"] { top: 140px; }
	.step__text { gap: 16px; }
	.step__label { font-size: 16px; line-height: 22.4px; }
	.step__title { font-size: 36px; line-height: 43.2px; letter-spacing: -.6px; }
	.step__body { font-size: 15px; line-height: 21px; }
	.step__visual { height: 350px; }
	.step--approval .step__visual { height: 466px; }
	.process__spacer { height: 292px; }
}

/* Bento ------------------------------------------------------------------- */
.bento { padding: 120px 40px 160px; background: radial-gradient(50% 35.3% at 50% 50%, #fafafa 0%, #fff 100%); }
.bento__grid { display: flex; flex-wrap: wrap; gap: 40px; max-width: 1200px; margin: 100px auto 0; }
.bento-card { position: relative; height: 475px; border-radius: 32px; background: var(--white); overflow: hidden; }
.bento-1, .bento-4 { width: calc((100% - 40px) * .32184); }
.bento-2, .bento-3 { width: calc((100% - 40px) * .67816); }
.bento-card__visual { position: absolute; inset: 0; }
.bento-card__text { position: absolute; left: 40px; right: 40px; bottom: 40px; text-align: center; }
.bento-2 .bento-card__text, .bento-3 .bento-card__text { left: 50%; right: auto; width: 400px; transform: translateX(-50%); }
.bento-1 .bento-card__text { text-align: left; }
.bento-card__title { font: 500 24px/28.8px var(--font-display); }
.bento-card__body { margin-top: 20px; color: var(--gray-500); font: 500 16px/24px var(--font-body); }
.bento-1 [data-k] { transition: transform .77s var(--spring-quick), top .77s var(--spring-quick), left .77s var(--spring-quick), width .77s var(--spring-quick), height .77s var(--spring-quick), background-color .4s ease; }
@media (max-width: 809.98px) {
	.bento { padding: 80px 20px 100px; }
	.bento__grid { flex-direction: column; gap: 20px; margin-top: 107px; }
	.bento-card, .bento-1, .bento-2, .bento-3, .bento-4 { width: 100%; height: 350px; }
	.bento-card__text, .bento-2 .bento-card__text, .bento-3 .bento-card__text { left: 20px; right: 20px; width: auto; transform: none; }
	.bento-card__title { font-size: 22px; line-height: 26.4px; letter-spacing: -.2px; }
	.bento-card__body { font-size: 15px; line-height: 21px; }
}

/* Services ---------------------------------------------------------------- */
.services { padding: 160px 40px; background: var(--ink); }
.services__list { display: grid; grid-template-columns: repeat(4, 255px); justify-content: center; gap: 60px; max-width: 1200px; margin: 140px auto 0; }
.service { position: relative; min-height: 227px; }
.service__icon { position: relative; height: 92px; }
.service__title { color: var(--white); font: 500 24px/28.8px var(--font-display); }
.service__body { margin-top: 10px; color: var(--gray-400); font: 500 16px/24px var(--font-body); }
@media (max-width: 1199.98px) { .services__list { grid-template-columns: repeat(2, 255px); } }
@media (max-width: 809.98px) {
	.services { padding: 80px 20px 120px; }
	.services__list { grid-template-columns: repeat(2, minmax(0, 165px)); gap: 20px; margin-top: 107px; }
	.service { min-height: 250px; }
	.service__icon { height: 113px; }
	.service__title { font-size: 16px; line-height: 22.4px; }
	.service__body { margin-top: 8px; font-size: 14px; line-height: 19.6px; }
}

/* Footer CTA (home only) -------------------------------------------------- */
.home .site-footer { margin-top: 138px; padding: 36px; }
.home .footer-card { max-width: 1368px; }
.footer-cta {
	position: absolute; top: 23px; left: 50%; z-index: 2; transform: translateX(-50%);
	display: flex; align-items: center; gap: 40px; padding: 12px 12px 12px 40px;
	border-radius: 100px; background: var(--ink); white-space: nowrap;
}
.js .footer-cta[data-reveal].is-in { transform: translateX(-50%); }
.footer-cta p { color: var(--white); font: 500 14px/21px var(--font-display); letter-spacing: .1px; }
@media (max-width: 809.98px) {
	.home .site-footer { margin-top: 137px; padding: 20px; }
	.home .footer-card { padding-top: 199px; }
	.footer-cta { top: 20px; gap: 16px; padding: 8px 8px 8px 20px; }
	.footer-cta p { display: none; }
	.footer-cta { padding: 0; background: transparent; }
}

/* "15 Min Call" glow: layers breathe with the Framer tween, mirrored. */
.snap [data-n="Outer Glow"], .snap [data-n="Inner Glow"], .snap [data-n="Focus Ring"] { animation: glow-half 2s var(--ease-framer) infinite alternate; }
.snap [data-n="Button"] { animation: glow-button 2s var(--ease-framer) infinite alternate; }
@keyframes glow-half { to { opacity: .5; } }
@keyframes glow-button { to { opacity: .6; } }

/* Bento 4: the checklist rows start off-canvas in the captured Framer state; they slide in when the card reveals. */
.bento-4 [data-n="Checkbox"], .bento-4 [data-n="Check list"] { transition: transform 1.45s var(--spring-slow), opacity .6s var(--ease-framer); }
.bento-4.is-in [data-n="Checkbox"], .bento-4.is-in [data-n="Check list"],
html:not(.js) .bento-4 [data-n="Checkbox"], html:not(.js) .bento-4 [data-n="Check list"] { opacity: 1 !important; transform: none !important; }
.bento-4.is-in [data-n="Check list"]:nth-of-type(2) { transition-delay: .15s; }
.bento-4.is-in [data-n="Check list"]:nth-of-type(3) { transition-delay: .3s; }
.bento-4.is-in [data-n="Check list"]:nth-of-type(4) { transition-delay: .45s; }
