/* Extend Lotwell's existing hero, palette and system typography. */
.lw-carousel { position: relative; background: var(--lw-cream, #F5F1E9); }
.lw-carousel [hidden] { display: none !important; }
.lw-carousel__slides { display: grid; }
.lw-carousel__slide { grid-area: 1 / 1; min-width: 0; }
.lw-carousel:not(.is-enhanced) .lw-carousel__slide:not(:first-child) { visibility: hidden; }
.lw-carousel.is-enhanced .lw-carousel__slide { visibility: visible; }
.lw-carousel .lw-hero { min-height: 660px; height: 100%; }
.lw-carousel .lw-hero__panel { padding-block: 72px 112px; }
.lw-carousel .lw-hero--lot { background: var(--lw-ink, #1A1A1A); }
.lw-carousel .lw-hero--lot::after { background: linear-gradient(90deg, rgba(14, 14, 14, .94), rgba(14, 14, 14, .85) 36%, rgba(14, 14, 14, .30) 74%, rgba(14, 14, 14, .10)); }
.lw-hero-lot__photos { position: absolute; inset: 0; z-index: -2; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3px; overflow: hidden; }
.lw-hero-lot__photos img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.lw-hero--lot .lw-hero__panel { max-width: 730px; }
.lw-hero--lot h2 { margin: 0 0 1.3rem; color: #fff; font-size: clamp(2rem, 4.1vw, 3.55rem); font-weight: 800; line-height: 1.08; text-wrap: balance; }
.lw-hero--lot .lw-eyebrow { color: #F5B8BB; }
.lw-carousel .lw-hero--lot .lw-lede { color: #fff; opacity: 1; font-size: clamp(1.15rem, 2vw, 1.5rem); }
.lw-hero--lot .lw-hero__note { color: #E9E3D6; max-width: 48ch; }
.lw-hero-lot__date { margin: 0 0 1.9rem; color: #fff; font-size: clamp(1rem, 1.6vw, 1.2rem); line-height: 1.65; }
.lw-hero-lot__date time { font-weight: 700; }
.lw-carousel__controls { position: absolute; bottom: 22px; inset-inline: 0; z-index: 2; }
.lw-carousel__navigation { display: inline-flex; align-items: center; gap: 8px; padding: 6px 10px; border: 1px solid var(--lw-line, #E4DED2); border-radius: 999px; background: var(--lw-cream, #F5F1E9); color: var(--lw-ink, #1A1A1A); box-shadow: 0 2px 12px #0000000d; }
.lw-carousel__navigation button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--lw-ink, #1A1A1A); cursor: pointer; line-height: 1; }
.lw-carousel__navigation button:hover { background: var(--lw-sand, #EFE9DC); }
.lw-carousel__navigation button:focus-visible,
.lw-carousel a:focus-visible { outline: 3px solid var(--lw-red, #C1272D); outline-offset: 4px; }
.lw-carousel__arrow { font-size: 1.5rem; }
.lw-carousel__dots { display: flex; gap: 0; }
.lw-carousel__dot::after { content: ''; display: block; width: 8px; height: 8px; border: 1px solid var(--lw-muted, #5B564E); border-radius: 50%; }
.lw-carousel__dot[aria-current="true"]::after { background: var(--lw-red, #C1272D); border-color: var(--lw-red, #C1272D); width: 20px; border-radius: 4px; }
.lw-carousel__counter { min-width: 40px; font-size: .8rem; font-variant-numeric: tabular-nums; }
.lw-carousel__navigation .lw-carousel__pause { border-left: 1px solid var(--lw-line, #E4DED2); border-radius: 0; padding-inline: 12px; font-size: .8rem; font-weight: 700; }
.lw-home-intro { max-width: 78ch; line-height: 1.75; color: var(--lw-muted, #5B564E); }
.lw-home-account { display: inline-block; margin-top: .5rem; }
@media (max-width: 900px) {
	.lw-carousel .lw-hero { min-height: 700px; }
	.lw-carousel .lw-hero--lot::after { background: linear-gradient(90deg, rgba(14,14,14,.88), rgba(14,14,14,.55)); }
}
@media (max-width: 560px) {
	.lw-carousel .lw-hero { min-height: 750px; }
	.lw-carousel .lw-hero__panel { padding-block: 46px 112px; }
	.lw-hero--lot h2 { font-size: clamp(1.95rem, 8.4vw, 2.6rem); }
	.lw-hero-lot__photos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.lw-hero-lot__photos img:last-child { display: none; }
	.lw-carousel__navigation { gap: 0; width: 100%; justify-content: center; padding-inline: 4px; }
	.lw-carousel__counter { display: none; }
	.lw-carousel__navigation .lw-carousel__pause { padding-inline: 8px; font-size: .72rem; }
}
@media (prefers-reduced-motion: no-preference) {
	.lw-carousel.is-enhanced .lw-carousel__slide:not([hidden]) { animation: lw-hero-enter .35s ease-out; }
	@keyframes lw-hero-enter { from { opacity: .65; } to { opacity: 1; } }
}
@media (max-width: 360px) {
	.lw-carousel .lw-hero { min-height: 820px; }
	.lw-carousel .lw-hero__panel { padding-bottom: 150px; }
	.lw-carousel__navigation { flex-wrap: wrap; border-radius: 20px; }
	.lw-carousel__navigation .lw-carousel__pause { flex-basis: 100%; border-left: 0; border-top: 1px solid var(--lw-line, #E4DED2); margin-top: 2px; }
}
