/* ---------- Why Handsy Pretty ---------- */
.hpstory {
	padding: clamp(56px, 8vw, 110px) 0 clamp(48px, 6vw, 84px);
	font-family: var(--f-body, "Jost", Arial, sans-serif);
	color: var(--ink, #1E1A16);
	overflow: hidden;
}
.hpstory-wrap {
	width: min(1100px, 100% - 48px);
	margin-inline: auto;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
	gap: clamp(32px, 6vw, 88px);
	align-items: center;
}

/* collage: gift box behind, hand with watch in front */
.hpstory-collage { position: relative; aspect-ratio: 1 / 1.02; max-width: 520px; width: 100%; justify-self: center; }
.hpstory-ph { position: absolute; display: block; overflow: hidden; box-shadow: 0 22px 50px rgba(30, 26, 22, .18); background: var(--paper, #FAF6F0); }
.hpstory-ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hpstory-ph--back { right: 0; top: 0; width: 58%; aspect-ratio: 1; border-radius: 4px; }
.hpstory-ph--front { left: 0; bottom: 0; width: 58%; aspect-ratio: 4 / 5; border-radius: 4px; border: 6px solid #fff; }
.hpstory-badge {
	position: absolute; right: 6%; bottom: 8%; z-index: 3;
	display: inline-flex; align-items: center; gap: 8px;
	padding: 10px 16px 10px 12px; border-radius: 999px;
	background: rgba(250, 246, 240, .95); box-shadow: 0 10px 24px rgba(30, 26, 22, .14);
	font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
}
.hpstory-badge svg { width: 18px; height: 18px; fill: var(--gold, #B08A4A); animation: hpstory-beat 1.8s ease-in-out infinite; }
@keyframes hpstory-beat { 0%, 100% { transform: scale(1); } 15% { transform: scale(1.22); } 30% { transform: scale(1); } 45% { transform: scale(1.14); } }

.hpstory-copy { text-align: left; }
.hpstory-label { margin: 0 0 12px; font-size: 12px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-deep, #8E6A2E); }
.hpstory-title { margin: 0; font-family: var(--f-display, "Marcellus", serif); font-weight: 400; font-size: clamp(2rem, 3.6vw, 3.1rem); line-height: 1.1; color: var(--ink, #1E1A16); }
.hpstory-line { display: block; width: 56px; height: 1px; margin: 18px 0 22px; background: var(--gold, #B08A4A); }
.hpstory-p { margin: 0 0 14px; font-size: 16.5px; line-height: 1.75; color: var(--ink-soft, #5A5048); }
.hpstory-p:nth-of-type(3) { color: var(--ink, #1E1A16); }
.hpstory-sign { display: flex; flex-direction: column; gap: 2px; margin: 22px 0 26px; }
.hpstory-name { font-family: var(--f-accent, "Cormorant Garamond", Georgia, serif); font-style: italic; font-size: 34px; line-height: 1; color: var(--gold-deep, #8E6A2E); }
.hpstory-role { font-size: 11px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-soft, #5A5048); }
.hpstory-btn {
	display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 28px;
	background: var(--ink, #1E1A16); color: var(--sand, #F3ECE3) !important; border-radius: 2px;
	font-size: 13px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; text-decoration: none !important;
	transition: background-color .3s;
}
.hpstory-btn::after { content: "→"; font-size: 15px; letter-spacing: 0; transition: transform .3s; }

.hpstory-pillars {
	list-style: none; margin: clamp(44px, 6vw, 72px) auto 0; padding: 26px 0 0;
	width: min(1100px, 100% - 48px);
	display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px;
	border-top: 1px solid rgba(30, 26, 22, .12);
}
.hpstory-pillars li { display: grid; grid-template-columns: 40px 1fr; grid-template-rows: auto auto; column-gap: 14px; align-items: center; }
.hpstory-pillars svg { grid-row: span 2; width: 34px; height: 34px; fill: none; stroke: var(--gold, #B08A4A); stroke-width: 1.4; stroke-linejoin: round; }
.hpstory-pillars li:first-child svg { fill: rgba(176, 138, 74, .18); }
.hpstory-pillars strong { font-weight: 500; font-size: 15px; }
.hpstory-pillars span { font-size: 13px; color: var(--ink-soft, #5A5048); line-height: 1.45; }

/* ---------- scroll animations (story.js adds .is-in) ---------- */
.hpstory.is-armed .hpstory-in { opacity: 0; transform: translateY(18px); transition: opacity .8s cubic-bezier(.22, .61, .36, 1), transform .8s cubic-bezier(.22, .61, .36, 1); }
.hpstory.is-armed .hpstory-ph--back { opacity: 0; transform: translate(30px, -16px) rotate(4deg); transition: opacity 1s, transform 1.2s cubic-bezier(.22, .61, .36, 1); }
.hpstory.is-armed .hpstory-ph--front { opacity: 0; transform: translate(-30px, 20px) rotate(-4deg); transition: opacity 1s .15s, transform 1.2s .15s cubic-bezier(.22, .61, .36, 1); }
.hpstory.is-armed .hpstory-badge { opacity: 0; transform: scale(.8); transition: opacity .6s .6s, transform .6s .6s cubic-bezier(.22, .61, .36, 1); }
.hpstory.is-in .hpstory-in { opacity: 1; transform: none; }
.hpstory.is-in .hpstory-ph--back { opacity: 1; transform: translate(0, var(--hpstory-pb, 0px)) rotate(2deg); }
.hpstory.is-in .hpstory-ph--front { opacity: 1; transform: translate(0, var(--hpstory-pf, 0px)) rotate(-2deg); }
.hpstory.is-in .hpstory-badge { opacity: 1; transform: none; }
/* after the entrance, follow the scroll parallax without lag */
.hpstory.is-settled .hpstory-ph--back, .hpstory.is-settled .hpstory-ph--front { transition: none; }

@media (hover: hover) and (pointer: fine) {
	.hpstory-btn:hover { background: var(--emerald, #1F3D33); }
	.hpstory-btn:hover::after { transform: translateX(4px); }
}

@media (min-width: 641px) and (max-width: 1400px) {
	body:has(.hprs-social) .hpstory-wrap, body:has(.hprs-social) .hpstory-pillars { width: min(1100px, 100% - 150px); }
}
@media (max-width: 860px) {
	.hpstory-wrap { grid-template-columns: 1fr; }
	.hpstory-copy { text-align: center; }
	.hpstory-line { margin-inline: auto; }
	.hpstory-sign { align-items: center; }
	.hpstory-collage { max-width: 420px; }
}
@media (max-width: 640px) {
	.hpstory { padding: 48px 0 44px; }
	.hpstory-wrap, .hpstory-pillars { width: calc(100% - 40px); }
	body:has(.hprs-social:not(.hprs-no-mobile)) .hpstory-wrap, body:has(.hprs-social:not(.hprs-no-mobile)) .hpstory-pillars { width: calc(100% - 72px); }
	.hpstory-collage { max-width: 320px; }
	.hpstory-title { font-size: 1.9rem; }
	.hpstory-p { font-size: 15px; line-height: 1.7; }
	.hpstory-name { font-size: 30px; }
	.hpstory-pillars { grid-template-columns: 1fr; gap: 16px; text-align: left; }
	.hpstory-badge { font-size: 10.5px; padding: 8px 12px 8px 10px; }
}
