/* Homepage top section: Spotlight counter (Home Sections). Motion uses only transform/opacity, so it stays smooth on phones. */
.hero.hp-spot {
	--hps-w: 320px;
	position: relative; overflow: hidden; display: flex; align-items: center;
	min-height: min(820px, 100vh); min-height: min(820px, 100svh);
	padding: calc(var(--header-h, 72px) + clamp(16px, 4vh, 44px)) 0 clamp(34px, 6vh, 60px);
	background:
		radial-gradient(ellipse 50% 62% at 74% 52%, #FBF7F1 0%, rgba(251, 247, 241, 0) 70%),
		linear-gradient(180deg, var(--sand, #F3ECE3) 0%, #EDE1D2 100%);
}
.admin-bar .hero.hp-spot { padding-top: calc(var(--header-h, 72px) + 32px + clamp(16px, 4vh, 44px)); }
.hp-spot .hps-wrap {
	position: relative; z-index: 1; width: min(var(--wrap, 1240px), 100% - 48px); margin-inline: auto;
	display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(24px, 5vw, 80px); align-items: center;
}

/* ---- words ---- */
.hp-spot .hps-copy { padding-left: clamp(0px, 3.4vw, 48px); } /* clears the floating social icons */
.hp-spot .hps-label { margin: 0 0 14px; font: 500 12px/1.2 var(--f-body, Jost, sans-serif); letter-spacing: .26em; text-transform: uppercase; color: var(--gold-deep, #8E6A2E); }
.hp-spot .hps-h1 { margin: 0; font: 400 clamp(44px, 5.8vw, 84px)/1.02 var(--f-display, Marcellus, serif); color: var(--ink, #1E1A16); }
.hp-spot .hps-br { display: none; }
.hp-spot .hps-h1 em { font-family: var(--f-accent, "Cormorant Garamond", serif); font-style: italic; font-weight: 500; color: var(--gold-deep, #8E6A2E); }
.hp-spot .hps-lead { margin: 18px 0 0; max-width: 440px; font-size: 16.5px; line-height: 1.65; color: var(--ink-soft, #5A5048); }
.hp-spot .hps-piece { margin: 26px 0 18px; transition: opacity .35s ease; }
.hp-spot .hps-piece.swap { opacity: 0; }
.hp-spot .hps-num { margin: 0 0 6px; font: 500 11px/1 var(--f-body, Jost, sans-serif); letter-spacing: .24em; text-transform: uppercase; color: var(--gold-deep, #8E6A2E); }
.hp-spot .hps-num b { font-weight: 500; }
.hp-spot .hps-name { margin: 0; font: 400 26px/1.2 var(--f-display, Marcellus, serif); color: var(--ink, #1E1A16); }
.hp-spot .hps-price { margin: 6px 0 0; font: 500 17px/1.3 var(--f-body, Jost, sans-serif); color: var(--ink, #1E1A16); }
.hp-spot .hps-price del { color: #9a9088; font-weight: 400; font-size: 14px; margin-right: 8px; }
.hp-spot .hps-price ins { text-decoration: none; color: var(--gold-deep, #8E6A2E); }
.hp-spot .hps-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.hp-spot .hps-btn {
	display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 28px; border-radius: 2px;
	font: 500 13px/1 var(--f-body, Jost, sans-serif); letter-spacing: .14em; text-transform: uppercase; text-decoration: none;
	transition: background-color .3s ease, color .3s ease, border-color .3s ease;
}
.hp-spot .hps-btn--ink { background: var(--ink, #1E1A16); color: var(--sand, #F3ECE3); border: 1px solid var(--ink, #1E1A16); }
.hp-spot .hps-btn--ink:hover { background: var(--gold-deep, #8E6A2E); border-color: var(--gold-deep, #8E6A2E); color: #fff; }
.hp-spot .hps-btn--line { border: 1px solid rgba(30, 26, 22, .45); color: var(--ink, #1E1A16); background: transparent; }
.hp-spot .hps-btn--line:hover { border-color: var(--ink, #1E1A16); color: var(--ink, #1E1A16); background: rgba(30, 26, 22, .05); }

.hp-spot .hps-thumbs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.hp-spot .hps-thumbs button {
	width: 56px; height: 56px; min-height: 0; padding: 0; margin: 0; border-radius: 50%; overflow: hidden; cursor: pointer;
	border: 2px solid transparent; outline: 1px solid rgba(30, 26, 22, .12); outline-offset: 0; background: #fff; box-shadow: none;
	transition: transform .35s cubic-bezier(.22, .61, .36, 1), border-color .35s ease, box-shadow .35s ease;
	-webkit-tap-highlight-color: transparent;
}
.hp-spot .hps-thumbs img { width: 100% !important; height: 100% !important; object-fit: cover; border-radius: 50%; }
.hp-spot .hps-thumbs button.on { border-color: var(--gold, #B08A4A); outline-color: transparent; transform: translateY(-4px); box-shadow: 0 10px 20px -8px rgba(142, 106, 46, .6); }
.hp-spot .hps-thumbs button:focus-visible { outline: 2px solid var(--gold, #B08A4A); outline-offset: 2px; }

/* ---- the spotlight ---- */
.hp-spot .hps-stage { position: relative; display: grid; place-items: center; height: calc(var(--hps-w) * 1.62); touch-action: pan-y; contain: layout; -webkit-user-select: none; user-select: none; }
.hp-spot .hps-halo {
	position: absolute; width: calc(var(--hps-w) * 1.55); aspect-ratio: 1; border-radius: 50%;
	background: radial-gradient(circle, rgba(217, 194, 154, .55) 0%, rgba(217, 194, 154, .18) 45%, rgba(217, 194, 154, 0) 70%);
	animation: hps-breathe 5s ease-in-out infinite; will-change: transform;
}
@keyframes hps-breathe { 50% { transform: scale(1.06); opacity: .85; } }
.hp-spot .hps-ring { position: absolute; width: calc(var(--hps-w) * 1.42); aspect-ratio: 1; border-radius: 50%; border: 1px dashed rgba(176, 138, 74, .42); animation: hps-spin 70s linear infinite; will-change: transform; }
.hp-spot .hps-ring::after { content: ""; position: absolute; inset: -22px; border-radius: 50%; border: 1px solid rgba(176, 138, 74, .18); }
@keyframes hps-spin { to { transform: rotate(360deg); } }
.hp-spot.is-off .hps-halo, .hp-spot.is-off .hps-ring { animation-play-state: paused !important; }

.hp-spot .hps-arch {
	position: relative; width: var(--hps-w); aspect-ratio: 3 / 4; border-radius: 999px 999px 22px 22px; overflow: hidden;
	background: var(--paper, #FAF6F0); isolation: isolate;
	box-shadow: 0 40px 70px -30px rgba(30, 26, 22, .55), 0 0 0 8px rgba(255, 255, 255, .72);
}
.hp-spot .hps-arch img {
	position: absolute; inset: 0; width: 100% !important; height: 100% !important; max-width: none; object-fit: cover;
	opacity: 0; transform: translate3d(0, 22px, 0) scale(1.07);
	transition: opacity .85s cubic-bezier(.22, .61, .36, 1), transform 1.1s cubic-bezier(.22, .61, .36, 1);
	-webkit-user-drag: none; pointer-events: none;
}
.hp-spot .hps-arch img.on { opacity: 1; transform: none; }

/* ---- tablets ---- */
@media (max-width: 1024px) {
	.hero.hp-spot { --hps-w: 280px; min-height: 0; }
}

/* ---- phones: spotlight first, words under it ---- */
@media (max-width: 760px) {
	.hero.hp-spot { --hps-w: 222px; display: block; padding: calc(var(--header-h, 62px) + 8px) 0 30px; }
	.admin-bar .hero.hp-spot { padding-top: calc(var(--header-h, 62px) + 46px + 8px); }
	.hp-spot .hps-wrap { grid-template-columns: 1fr; gap: 6px; width: min(100% - 32px, 560px); text-align: center; }
	.hp-spot .hps-copy { padding-left: 0; }
	.hp-spot .hps-stage { order: -1; height: calc(var(--hps-w) * 1.56); }
	.hp-spot .hps-ring::after { inset: -14px; }
	.hp-spot .hps-label { margin-bottom: 8px; font-size: 11px; }
	.hp-spot .hps-h1 { font-size: clamp(36px, 10.6vw, 44px); line-height: 1.04; }
	.hp-spot .hps-br { display: inline; } /* two short lines, clear of the floating social icons */
	.hp-spot .hps-lead { display: none; }
	.hp-spot .hps-piece { margin: 14px 0 16px; }
	.hp-spot .hps-name { font-size: 21px; }
	.hp-spot .hps-price { font-size: 16px; }
	.hp-spot .hps-btns { justify-content: center; }
	.hp-spot .hps-btn { flex: 1 1 140px; max-width: 210px; min-height: 48px; padding: 0 16px; font-size: 12px; }
	.hp-spot .hps-thumbs { justify-content: center; gap: 8px; margin-top: 18px; }
	.hp-spot .hps-thumbs button { width: 44px; height: 44px; }
}
@media (max-width: 360px) {
	.hero.hp-spot { --hps-w: 200px; }
	.hp-spot .hps-thumbs button { width: 40px; height: 40px; }
}

/* Phones with "reduce motion" / battery saver: the theme switches motion off; keep this section smooth. */
@media (prefers-reduced-motion: reduce) {
	.hp-spot .hps-arch img { transition-duration: .85s, 1.1s !important; }
	.hp-spot .hps-piece { transition-duration: .35s !important; }
	.hp-spot .hps-thumbs button { transition-duration: .35s, .35s, .35s !important; }
	.hp-spot .hps-halo { animation-duration: 5s !important; animation-iteration-count: infinite !important; }
	.hp-spot .hps-ring { animation-duration: 70s !important; animation-iteration-count: infinite !important; }
}
