/* auction.dad-look.com - a saleroom with one lot: burgundy walls, gold, and a gavel that never comes down */
body { margin: 0; background: #3b0f17; color: #f6efe2; font-family: Helvetica, Arial, sans-serif; }
[hidden] { display: none !important; }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 3px solid #e9c46a; outline-offset: 3px; }

/* Top */
.au-top { max-width: 1100px; margin: 0 auto; padding: 22px 24px; display: flex; justify-content: space-between; align-items: center; gap: 16px; border-bottom: 1px solid rgba(233, 196, 106, 0.3); }
.au-house { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: 18px; letter-spacing: 0.18em; text-transform: uppercase; color: #e9c46a; }
.au-live { margin: 0; flex: none; white-space: nowrap; display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 900; letter-spacing: 0.15em; text-transform: uppercase; }
.au-dot { width: 10px; height: 10px; border-radius: 50%; background: #ff5a4f; }

/* The lot: the book on an easel, the podium beside it */
.au-room { max-width: 1100px; margin: 0 auto; padding: 40px 24px 0; display: flex; flex-direction: column; gap: 56px; }
.au-lot { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: 48px; align-items: start; }
.au-easel { position: relative; aspect-ratio: 476 / 528; overflow: hidden; border: 14px solid #8a6a2a; outline: 3px solid #e9c46a; box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), inset 0 0 0 2px #5a3f12; background: #111111; }
.au-easel img { position: absolute; left: -98.7%; top: -44.7%; width: 252.1%; height: auto; }
.au-tag { position: absolute; left: 14px; bottom: 14px; padding: 6px 12px; background: #f6efe2; color: #3b0f17; font-family: Georgia, serif; font-weight: 700; font-size: 15px; }
.au-podium { min-width: 0; }
.au-kicker { margin: 0; font-size: 13px; font-weight: 900; letter-spacing: 0.2em; text-transform: uppercase; color: #e9c46a; }
.au-podium h1 { margin: 10px 0 24px; font-family: Georgia, serif; font-size: 40px; line-height: 1.15; }
.au-label { margin: 0; font-size: 14px; letter-spacing: 0.15em; text-transform: uppercase; color: #d9c6b0; }
.au-bid { margin: 2px 0 8px; font-family: Georgia, serif; font-size: clamp(56px, 12vw, 96px); line-height: 1; font-weight: 700; color: #ffffff; }
.au-reserve { margin: 0 0 14px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 15px; color: #d9c6b0; }
.au-reserve span { padding: 3px 10px; border: 2px solid #ff8a80; color: #ff8a80; font-size: 12px; font-weight: 900; letter-spacing: 0.1em; text-transform: uppercase; }
.au-meter { height: 14px; border-radius: 7px; background: rgba(0, 0, 0, 0.35); overflow: hidden; }
.au-meter span { display: block; width: var(--p); height: 100%; border-radius: 7px; background: #e9c46a; }
.au-gap { margin: 8px 0 26px; font-size: 15px; color: #d9c6b0; }

/* The auctioneer */
.au-auctioneer { display: flex; align-items: center; gap: 14px; }
.au-gavel { flex: none; width: 70px; height: 70px; }
.au-gavel-head { transform-origin: 22px 66px; transform-box: view-box; }
.au-speech { position: relative; margin: 0; padding: 14px 20px; min-height: 28px; background: #f6efe2; color: #3b0f17; border-radius: 14px; font-family: Georgia, serif; font-size: 22px; font-style: italic; line-height: 1.3; }
.au-speech::before { content: ""; position: absolute; left: -10px; top: 50%; margin-top: -8px; border: 8px solid transparent; border-right: 10px solid #f6efe2; border-left: 0; }
.au-timer { margin: 14px 0 26px; font-size: 15px; color: #d9c6b0; }
.au-timer strong { color: #ffffff; font-variant-numeric: tabular-nums; }

.au-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.au-paddle { display: inline-flex; align-items: center; gap: 12px; min-height: 56px; padding: 0 24px 0 10px; border-radius: 999px; background: #e9c46a; color: #3b0f17; font-size: 18px; font-weight: 900; text-decoration: none; }
.au-paddle:hover { background: #f3d68a; }
.au-paddle-board { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; background: #ffffff; color: #3b0f17; font-family: Georgia, serif; font-size: 20px; }
.au-button { min-height: 56px; padding: 0 22px; border: 2px solid #e9c46a; border-radius: 999px; background: none; color: #e9c46a; font: inherit; font-size: 17px; font-weight: 900; cursor: pointer; }
.au-button:hover { background: rgba(233, 196, 106, 0.12); }
.au-status { margin: 12px 0 0; font-size: 15px; font-weight: 700; color: #e9c46a; }
.au-status:empty { display: none; }
.au-small { margin: 12px 0 0; font-size: 13px; line-height: 1.5; color: #bfa58e; }

/* Bid history and catalogue */
.au-history, .au-catalogue { padding: 30px; background: #f6efe2; color: #2a1a12; box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35); }
.au-history h2, .au-catalogue h2 { margin: 0; font-family: Georgia, serif; font-size: 30px; color: #3b0f17; }
.au-intro { margin: 6px 0 18px; color: #6b5444; }
.au-empty { margin: 0; font-family: Georgia, serif; font-size: 22px; font-style: italic; }
.au-history ol { margin: 0; padding: 0; list-style: none; }
.au-history li { display: grid; grid-template-columns: 110px 1fr auto; gap: 12px; align-items: baseline; padding: 12px 4px; border-bottom: 1px solid #ddd0bd; }
.au-paddle-no { font-size: 13px; font-weight: 900; letter-spacing: 0.08em; text-transform: uppercase; color: #8a6a2a; }
.au-when { color: #6b5444; font-size: 15px; }
.au-amount { font-family: Georgia, serif; font-size: 20px; font-weight: 700; font-variant-numeric: tabular-nums; }
.au-top-bid { background: #fff7df; }
.au-top-bid .au-amount { color: #3b0f17; }
.au-history .au-small, .au-catalogue .au-small { color: #6b5444; }
.au-catalogue dl { margin: 16px 0 0; }
.au-catalogue dl div { display: grid; grid-template-columns: 180px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid #ddd0bd; }
.au-catalogue dt { font-size: 13px; font-weight: 900; letter-spacing: 0.08em; text-transform: uppercase; color: #8a6a2a; padding-top: 3px; }
.au-catalogue dd { margin: 0; font-family: Georgia, serif; font-size: 18px; line-height: 1.4; }
.au-room-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.au-room-stats p { margin: 0; padding: 20px; border: 1px solid rgba(233, 196, 106, 0.35); text-align: center; color: #d9c6b0; line-height: 1.4; }
.au-room-stats strong { display: block; font-family: Georgia, serif; font-size: 40px; color: #e9c46a; }

/* Bottom */
.au-bottom { max-width: 1100px; margin: 0 auto; padding: 64px 24px 48px; display: flex; flex-direction: column; gap: 28px; }
.au-cta { background: #f6efe2; color: #3b0f17; padding: 40px 24px; display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.au-cta h2 { margin: 0; font-family: Georgia, serif; font-size: 40px; line-height: 1.15; }
.au-cta p { margin: 0; max-width: 560px; font-size: 17px; line-height: 1.5; color: #2a1a12; }
.au-cta-button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; box-sizing: border-box; width: 100%; max-width: 560px; min-height: 72px; padding: 18px 24px; border-radius: 999px; background: #ec6e6a; color: #ffffff; font-size: 21px; font-weight: 900; text-transform: uppercase; text-decoration: none; }
.au-cta-button:hover { background: #d95450; }
.au-cta-arrow { display: inline-block; }
.au-share { min-height: 48px; padding: 0 22px; border: 2px solid #3b0f17; border-radius: 999px; background: none; color: #3b0f17; font: inherit; font-size: 16px; font-weight: 900; cursor: pointer; }
.au-share:hover { background: #3b0f17; color: #ffffff; }
.au-status-dark { color: #2e7d32; }
.au-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; line-height: 1.5; color: #bfa58e; border-top: 1px solid rgba(233, 196, 106, 0.3); padding-top: 14px; }

@media (max-width: 860px) {
	.au-lot { grid-template-columns: minmax(0, 1fr); gap: 32px; }
	.au-easel { max-width: 340px; width: 100%; margin: 0 auto; box-sizing: border-box; }
}
@media (max-width: 600px) {
	.au-top { padding: 16px; }
	.au-house { font-size: 14px; letter-spacing: 0.1em; }
	.au-room { padding: 28px 16px 0; gap: 44px; }
	.au-podium h1 { font-size: 30px; }
	.au-speech { font-size: 19px; }
	.au-gavel { width: 56px; height: 56px; }
	.au-paddle, .au-button { width: 100%; justify-content: center; }
	.au-history, .au-catalogue { padding: 22px 16px; }
	.au-history li { grid-template-columns: 1fr auto; }
	.au-when { grid-column: 1; grid-row: 2; font-size: 13px; }
	.au-amount { grid-row: 1 / 3; grid-column: 2; align-self: center; }
	.au-catalogue dl div { grid-template-columns: 1fr; gap: 2px; }
	.au-room-stats { grid-template-columns: 1fr; }
	.au-bottom { padding: 48px 16px 40px; }
	.au-cta h2 { font-size: 30px; }
	.au-cta-button { font-size: 18px; min-height: 64px; }
}

/* Animations - only with JavaScript and when the visitor allows motion */
@media (prefers-reduced-motion: no-preference) {
	.au-dot { animation: au-blink 1.4s ease-in-out infinite; }
	.js .au-easel { animation: au-unveil 1s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
	.js .au-podium > * { animation: au-rise 0.5s ease both; }
	.js .au-podium > *:nth-child(2) { animation-delay: 0.1s; }
	.js .au-podium > *:nth-child(3) { animation-delay: 0.2s; }
	.js .au-podium > *:nth-child(4) { animation-delay: 0.3s; }
	.js .au-podium > *:nth-child(n+5) { animation-delay: 0.4s; }
	.js .au-meter span { animation: au-fill 1.4s 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
	.au-gavel.is-lifting .au-gavel-head { animation: au-lift 1.2s ease-in-out; }
	.au-gavel.is-banging .au-gavel-head { animation: au-hold 1.4s ease-in-out; }
	.au-speech.is-new { animation: au-pop 0.35s ease; }
	.au-paddle .au-paddle-board { transition: transform 0.2s ease; }
	.au-paddle:hover .au-paddle-board { transform: translateY(-6px) rotate(-8deg); }
	.au-paddle.is-raised .au-paddle-board { animation: au-raise 0.5s ease forwards; }
	.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.5s ease, transform 0.5s ease; }
	.js .reveal.is-in { opacity: 1; transform: none; }
	.au-cta-button { animation: au-glow 2.2s ease-in-out infinite; transition: transform 0.15s ease; }
	.au-cta-button:hover { transform: scale(1.02); }
	.au-cta-arrow { animation: au-nudge 1.1s ease-in-out infinite; }
}

@keyframes au-blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }
@keyframes au-unveil { from { opacity: 0; transform: scale(0.94); filter: brightness(0.2); } to { opacity: 1; transform: none; filter: none; } }
@keyframes au-rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes au-fill { from { width: 0; } }
/* The gavel lifts as if to strike, then thinks better of it. When banged, it stops just short. */
@keyframes au-lift { 0%, 100% { transform: none; } 40%, 60% { transform: rotate(-28deg); } }
@keyframes au-hold { 0% { transform: none; } 25%, 55% { transform: rotate(-35deg); } 70% { transform: rotate(-8deg); } 100% { transform: none; } }
@keyframes au-pop { from { transform: scale(0.94); opacity: 0.4; } to { transform: none; opacity: 1; } }
@keyframes au-raise { to { transform: translateY(-14px) rotate(-10deg); } }
@keyframes au-glow { 0%, 100% { box-shadow: 0 0 0 0 rgba(236, 110, 106, 0.5); } 50% { box-shadow: 0 0 0 12px rgba(236, 110, 106, 0); } }
@keyframes au-nudge { 0%, 100% { transform: none; } 50% { transform: translateX(8px); } }
