/* ---------- Home: curved photo hero ---------- */
.hero.hero-curve{
	position:relative;padding:0;overflow:hidden;background:var(--bg);
	container-type:size;
	height:clamp(620px, calc(100svh - var(--hc-top, 150px)), 880px);
	/* Band shape, read by hero-curve.js. */
	--hc-speed:5;--hc-tile:25;--hc-aspect:1.5;--hc-gap:6;--hc-axis:54;--hc-curve:78;--hc-fade:11;
}
.hc-band{position:absolute;inset:0;pointer-events:none;opacity:0;transition:opacity .6s ease}
.hero-curve.hc-ready .hc-band{opacity:1}
/* Shown only if the script can't run: three flat photos on the row. */
.hc-still{position:absolute;left:0;right:0;top:calc(var(--hc-axis)*1%);transform:translateY(-50%);display:flex;justify-content:center;gap:16px;padding:0 var(--gut);pointer-events:none}
.hc-still img{width:min(30%,360px);aspect-ratio:3/2;object-fit:cover;border-radius:var(--r-sm)}
.hero-curve.hc-ready .hc-still{display:none}
.hc-tile{position:absolute;transform-style:preserve-3d;will-change:transform}
.hero-curve.hc-off .hc-tile{animation-play-state:paused}
.hc-slice{position:absolute;top:0;overflow:hidden;background:var(--sand-2)}
.hc-slice.l{border-radius:var(--r-sm) 0 0 var(--r-sm)}
.hc-slice.r{border-radius:0 var(--r-sm) var(--r-sm) 0}
.hc-slice img{position:absolute;top:0;max-width:none;object-fit:cover}

.hc-in{
	position:relative;z-index:2;height:100%;
	display:flex;flex-direction:column;align-items:center;justify-content:space-between;
	text-align:center;padding-top:clamp(28px,4.2cqh,52px);padding-bottom:clamp(28px,4.6cqh,56px);
}
.hc-top,.hc-bot{display:flex;flex-direction:column;align-items:center}
.hero-curve .eyebrow{margin:0 0 14px}
.hero-curve .eyebrow::after{content:"";width:28px;height:2px;background:var(--gold);flex:none}
.hero-curve h1{font-size:clamp(38px,5.4vw,72px);line-height:1.08;letter-spacing:-.025em;margin:0;text-wrap:balance}
.hero-curve h1 .greet{display:inline;color:var(--accent);font-style:italic;font-weight:600;padding:0}
.hero-curve .lede{margin:0 auto 26px;max-width:62ch;text-wrap:pretty}
.hero-curve .ctas{display:flex;flex-wrap:wrap;justify-content:center;gap:12px}
.hero-curve .ctas .btn{flex:0 0 auto}
.hero-curve .btn-line{background:rgba(255,255,255,.88)}
.hero-curve .btn-line:hover{background:var(--ink)}

@media (min-width:601px) and (max-height:820px){
	.hero.hero-curve{height:clamp(540px, calc(100svh - var(--hc-top, 150px)), 880px);--hc-tile:23;--hc-axis:53}
	.hero-curve h1{font-size:clamp(36px,4.6vw,60px)}
	.hero-curve .eyebrow{margin-bottom:10px}
	.hero-curve .lede{margin-bottom:20px}
}
@media (max-width:900px){
	.hero-curve{--hc-curve:68;--hc-axis:50}
}
@media (max-width:600px){
	.hero.hero-curve{height:clamp(620px, calc(100svh - var(--hc-top, 120px)), 760px);--hc-curve:58;--hc-axis:43;--hc-fade:8}
	.hero-curve .eyebrow{display:none}
	.hero-curve h1{font-size:clamp(32px,9vw,38px)}
	.hero-curve .lede{font-size:18px;margin-bottom:20px}
	.hero-curve .ctas{flex-direction:column;width:100%;max-width:340px}
	.hero-curve .ctas .btn{width:100%}
}
@media (prefers-reduced-motion:reduce){
	.hc-band{transition:none}
}
