/* Auction Edition — deliberately scoped; standard Brief articles are unaffected. */
.rgbm-auction-edition { --ae-accent: rgb(var(--color-cognac)); --ae-header-bottom: 130px; }
.rgbm-auction-edition .enq-dock { display: none; }
.ae { overflow: clip; }
.ae-wrap { width: min(1440px, calc(100% - 2 * var(--gutter))); margin-inline: auto; }
.ae a { text-underline-offset: .22em; }
.ae a:focus-visible, .ae button:focus-visible, .ae summary:focus-visible { outline: 3px solid var(--ae-accent); outline-offset: 5px; }
.ae-progress { position: fixed; top: var(--ae-header-bottom); left: 0; right: 0; height: 3px; z-index: 39; background: rgb(var(--color-hairline)); pointer-events: none; }
.ae-progress[hidden] { display: none; }
.ae-progress span { display: block; height: 100%; width: 100%; background: #db0503; transform: scaleX(0); transform-origin: left; }
.ae-opening { padding-top: clamp(1rem, 2.5vw, 2rem); }
.ae-breadcrumb { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; color: rgb(var(--color-muted)); font: .69rem/1.6 var(--font-mono); letter-spacing: .09em; text-transform: uppercase; }
.ae-breadcrumb a { color: rgb(var(--color-ink)); text-decoration: none; padding-block: .4rem; }
.ae-breadcrumb > span { padding-block: .4rem; }
.ae-opening__grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(2rem, 4vw, 4rem); align-items: center; padding-block: 2.5rem 2rem; }
.ae-kicker { margin: 0; font: 500 .66rem/1.7 var(--font-mono); letter-spacing: .11em; text-transform: uppercase; color: rgb(var(--color-muted)); }
.ae-opening__copy > .ae-kicker { display: flex; align-items: center; gap: .75rem; margin-bottom: 1.25rem; }
.ae-kicker > span:empty { width: 30px; height: 2px; background: #db0503; }
.ae-title-main { display: block; font: 800 clamp(3.7rem, 6.3vw, 6.6rem)/.9 var(--font-sport); letter-spacing: -.015em; }
.ae-title-main > span { color: var(--ae-accent); }
.ae-title-sub { display: block; margin-top: 1.1rem; font: 600 clamp(1.25rem, 1.7vw, 1.7rem)/1.1 var(--font-sport); max-width: 29ch; }
.ae-dek { font-size: clamp(.95rem, 1.1vw, 1.075rem); line-height: 1.65; color: rgb(var(--color-ink-soft)); max-width: 52ch; margin: 1.25rem 0; }
.ae-byline { display: flex; align-items: center; gap: .75rem; font-size: .78rem; }
.ae-byline__mark { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid rgb(var(--color-hairline-strong)); border-left: 3px solid #db0503; font: 800 1rem var(--font-sport); }
.ae-byline strong { display: block; }
.ae-byline div > span { display: block; color: rgb(var(--color-muted)); margin-top: .1rem; font-size: .7rem; }
.ae-meta { display: flex; flex-wrap: wrap; gap: 1.25rem; font: .65rem/1.7 var(--font-mono); color: rgb(var(--color-muted)); margin: .9rem 0 1.1rem; }
.ae-start { font: 600 1rem var(--font-sport); text-transform: uppercase; letter-spacing: .06em; display: inline-flex; gap: 1.5rem; align-items: center; padding: .5rem 0; text-decoration: none; }
.ae-start span { color: var(--ae-accent); font-size: 1.2rem; }
.ae-photo { margin: 0; min-width: 0; }
.ae-photo__frame { position: relative; overflow: hidden; background: #17130f; }
.ae-photo__frame::before { content: ''; position: absolute; left: 0; top: 0; width: 64px; height: 3px; z-index: 1; background: #db0503; }
.ae-photo img { display: block; width: 100%; height: auto; }
.ae-photo figcaption { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .4rem 1rem; padding-top: .75rem; color: rgb(var(--color-muted)); font: .62rem/1.6 var(--font-mono); }
.ae-photo figcaption span:first-child { color: rgb(var(--color-ink-soft)); }
.ae-photo figcaption span:last-child { font: .59rem/1.6 var(--font-body); }
.ae-location { display: flex; justify-content: space-between; gap: 1rem; padding: 1rem 0; border-block: 1px solid rgb(var(--color-hairline)); color: rgb(var(--color-muted)); font: .65rem/1.7 var(--font-mono); letter-spacing: .05em; text-transform: uppercase; }
.ae-reading { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: clamp(2rem, 4vw, 4.5rem); padding-block: 3.5rem 0; scroll-margin-top: calc(var(--ae-header-bottom) + 20px); }
.ae-rail { min-width: 0; }
.ae-rail nav { position: sticky; top: calc(var(--ae-header-bottom) + 36px); }
.ae-rail ol, .ae-mobile-nav ol { list-style: none; padding: 0; margin: 1rem 0 0; }
.ae-rail li a { display: flex; align-items: baseline; gap: .65rem; padding: .75rem .25rem; border-bottom: 1px solid rgb(var(--color-hairline)); font-size: .71rem; color: rgb(var(--color-muted)); text-decoration: none; transition: color .2s; }
.ae-rail li a span, .ae-mobile-nav a span { font: .6rem var(--font-mono); color: var(--ae-accent); }
.ae-rail li a[aria-current], .ae-rail li a:hover { color: rgb(var(--color-ink)); }
.ae-rail li a[aria-current] { border-bottom-color: var(--ae-accent); font-weight: 600; }
.ae-rail__back { display: inline-block; margin-top: 1.25rem; padding-block: .5rem; font-size: .66rem; color: rgb(var(--color-muted)); text-decoration: none; }
.ae-mobile-nav { display: none; }
.ae-story { min-width: 0; }
.ae-prose { max-width: 690px; margin-inline: auto; color: rgb(var(--color-ink-soft)); font-size: 1.05rem; line-height: 1.85; overflow-wrap: break-word; }
.ae-prose p { margin: 0 0 1.4rem; }
.ae-prose a { color: var(--ae-accent); text-decoration-thickness: 1px; }
.ae-intro p:first-child { font-size: 1.22rem; line-height: 1.7; color: rgb(var(--color-ink)); }
.ae-intro p:first-child::first-letter { float: left; font: 800 4.5rem/.82 var(--font-sport); color: var(--ae-accent); margin: .1em .1em 0 0; }
.ae-chapter { padding-block: clamp(2.5rem, 5vw, 4rem); border-top: 1px solid rgb(var(--color-hairline)); margin-top: 1.5rem; scroll-margin-top: calc(var(--ae-header-bottom) + 28px); }
.ae-chapter__heading { display: flex; align-items: flex-start; gap: 1.25rem; max-width: 860px; margin: 0 auto 2.25rem; position: relative; }
.ae-chapter__heading::after { content: ''; position: absolute; left: 0; bottom: -.85rem; height: 2px; width: 48px; background: #db0503; }
.ae-chapter__number { font: 600 clamp(2.5rem, 4vw, 4rem)/.9 var(--font-sport); color: var(--ae-accent); }
.ae-chapter h2 { font: 600 clamp(1.7rem, 2.7vw, 2.65rem)/1.02 var(--font-sport); text-wrap: balance; max-width: 24ch; margin-top: .35rem; }
.ae-snapshot { background: rgb(var(--color-surface)); border-top: 3px solid #db0503; padding: clamp(1.3rem, 3vw, 2.5rem); margin-bottom: 2.5rem; }
.ae-snapshot dl { display: grid; grid-template-columns: 1.2fr 1fr .8fr; gap: 1.5rem; margin: 1.5rem 0; }
.ae-snapshot dl > div { display: flex; flex-direction: column-reverse; border-right: 1px solid rgb(var(--color-hairline-strong)); padding-right: 1rem; }
.ae-snapshot dl > div:last-child { border: 0; }
.ae-snapshot dt { font: .67rem/1.6 var(--font-mono); color: rgb(var(--color-muted)); margin-top: .5rem; }
.ae-snapshot dd { margin: 0; }
.ae-figure { font: 800 clamp(3.3rem, 5vw, 5rem)/1 var(--font-sport); color: rgb(var(--color-ink)); letter-spacing: -.03em; }
.ae-figure > span { font-size: .65em; color: var(--ae-accent); }
.ae-source { font-size: .67rem; line-height: 1.7; color: rgb(var(--color-muted)); margin: 0; max-width: 80ch; }
.ae-source a, .ae-tracking a, .ae-lot a, .ae-porsche a { color: var(--ae-accent); }
.ae-tracking { max-width: 690px; margin: 2rem auto 0; padding: 1.25rem 1.5rem; border-left: 2px solid var(--ae-accent); background: rgb(var(--color-surface)); }
.ae-tracking strong { display: block; font: 600 1.7rem var(--font-sport); margin-top: .3rem; }
.ae-tracking p { font-size: .78rem; line-height: 1.75; color: rgb(var(--color-ink-soft)); margin: .5rem 0; }
.ae-tracking a { font-size: .71rem; }
.ae-lots { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); margin: 0 0 2.5rem; gap: 1rem; }
.ae-lot { padding: 1.4rem 1.25rem; background: rgb(var(--color-surface)); border-top: 2px solid rgb(var(--color-hairline-strong)); transition: border-color .2s, background-color .2s; }
.ae-lot h3 { font: 600 1.35rem/1.1 var(--font-sport); min-height: 2.3em; margin-top: .6rem; }
.ae-lot p { font: 800 clamp(2rem, 3vw, 2.9rem)/1 var(--font-sport); margin: .9rem 0 .75rem; }
.ae-lot > span:last-child, .ae-lot > a { font: .65rem/1.6 var(--font-mono); color: rgb(var(--color-muted)); }
.ae-lot > a { color: var(--ae-accent); }
.ae-prose .wp-block-table { margin: 1.8rem 0 !important; overflow: visible !important; }
.ae-prose table { font-size: .88rem !important; line-height: 1.55 !important; }
.ae-prose table caption { font: 600 1.3rem var(--font-sport) !important; text-transform: uppercase; }
.ae-prose th, .ae-prose td { padding: 1rem .65rem !important; }
.ae-prose tbody tr:nth-child(odd) { background: rgb(var(--color-surface)); }
.ae-prose td:last-child { color: rgb(var(--color-ink)); font-weight: 600; }
.ae-quote { margin: 3rem auto 0; padding: 1rem 0 1rem 2rem; max-width: 800px; border-left: 3px solid #db0503; }
.ae-quote p { font: 600 clamp(2rem, 3.2vw, 3rem)/1.12 var(--font-sport); text-transform: uppercase; margin: 0; text-wrap: balance; }
.ae-quote cite { display: block; margin-top: 1rem; color: rgb(var(--color-muted)); font: .65rem/1.7 var(--font-mono); }
.ae-pickup-layout { display: grid; grid-template-columns: 1.08fr 1fr; gap: clamp(1.5rem,3vw,3rem); align-items: start; }
.ae-pickup-visual { position: sticky; top: calc(var(--ae-header-bottom) + 32px); }
.ae-visual-note { font: 600 clamp(1.5rem,2.2vw,2.2rem)/1.05 var(--font-sport); text-transform: uppercase; margin: 1.3rem 0 0; color: rgb(var(--color-muted)); }
.ae-pickup-layout .ae-prose { font-size: .96rem; }
.ae-chapter--4 > .ae-photo { margin-bottom: 2.5rem; }
.ae-porsche-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin-bottom: 2.5rem; }
.ae-porsche { padding: clamp(1.5rem,3vw,2.3rem); border: 1px solid rgb(var(--color-hairline-strong)); border-top: 3px solid var(--ae-accent); }
.ae-porsche--bid { border-top-color: rgb(var(--color-muted)); background: rgb(var(--color-surface)); }
.ae-status { display: inline-block; color: rgb(var(--color-ink)); border: 1px solid rgb(var(--color-hairline-strong)); padding: .35rem .55rem; margin-bottom: 1.3rem; font: .59rem/1.4 var(--font-mono); text-transform: uppercase; letter-spacing: .05em; }
.ae-status--sold { background: rgb(var(--color-ink)); color: rgb(var(--color-canvas)); border-color: rgb(var(--color-ink)); }
.ae-porsche h3 { font: 600 1.8rem/1.05 var(--font-sport); min-height: 2.1em; margin: .45rem 0 1rem; }
.ae-porsche__price { font: 800 clamp(2.8rem,4vw,4rem)/1 var(--font-sport); margin: 0 0 1rem; }
.ae-porsche__price span { display: block; margin-top: .55rem; font: .64rem/1.6 var(--font-mono); color: rgb(var(--color-muted)); }
.ae-porsche > p:not(.ae-kicker):not(.ae-porsche__price) { font-size: .78rem; line-height: 1.75; color: rgb(var(--color-ink-soft)); }
.ae-porsche > a { display: inline-block; padding: .4rem 0; font-size: .72rem; }
.ae-takeaways { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; margin-top: 2.5rem; }
.ae-takeaways > div { border-top: 2px solid #db0503; padding-top: 1.1rem; }
.ae-takeaways h3 { font: 600 1.5rem/1.1 var(--font-sport); margin: .6rem 0; }
.ae-takeaways p { font-size: .8rem; line-height: 1.8; color: rgb(var(--color-ink-soft)); margin: 0; }
.ae-ending { border-top: 1px solid rgb(var(--color-hairline)); }
.ae-contact { display: flex; justify-content: space-between; align-items: center; gap: 2rem; padding-block: 3rem; }
.ae-contact h2 { font: 600 clamp(2.2rem,4vw,4rem)/1 var(--font-sport); margin-top: .6rem; }
.ae-contact p:not(.ae-kicker) { margin: .9rem 0 0; font-size: .9rem; color: rgb(var(--color-ink-soft)); }
.ae-contact__links { display: flex; flex-direction: column; gap: 1rem; align-items: center; flex-shrink: 0; }
.ae-button { display: flex; justify-content: space-between; align-items: center; gap: 2.5rem; min-height: 50px; background: #db0503; color: #fff !important; padding: 1rem 1.75rem; text-decoration: none; font: 600 1.2rem var(--font-sport); text-transform: uppercase; letter-spacing: .04em; }
.ae-contact__links > a:last-child { font-size: .75rem; color: var(--ae-accent); padding: .4rem; }
.ae-share { display: flex; align-items: center; flex-wrap: wrap; gap: 1.5rem; border-block: 1px solid rgb(var(--color-hairline)); padding-block: 1.5rem; }
.ae-share .article-share__list { flex-wrap: wrap; }
.ae-share .article-share__btn { min-height: 44px; }
.ae-share .article-share__status:empty { display: none; }
.ae-endnote { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; font: .66rem/1.7 var(--font-mono); padding-block: 1.5rem 3rem; color: rgb(var(--color-muted)); }
.ae-endnote a { color: rgb(var(--color-ink)); }
@keyframes ae-chapter-line { from { width: 0; } to { width: 48px; } }
@keyframes ae-number-in { from { transform: translateY(8px); opacity: .3; } to { transform: none; opacity: 1; } }
@keyframes ae-hero-pan { from { transform: scale(1.012) translateX(-.3%); } to { transform: scale(1.025) translateX(.3%); } }
@media (prefers-reduced-motion: no-preference) {
  .ae-entered::after { animation: ae-chapter-line .65s ease-out both; }
  .ae-entered .ae-chapter__number { animation: ae-number-in .55s ease-out both; }
}
@media (hover: hover) and (min-width: 1100px) and (prefers-reduced-motion: no-preference) {
  .ae-photo--auction-hall img { animation: ae-hero-pan 16s ease-out both; }
  .ae-lot:hover { border-top-color: var(--ae-accent); background: rgb(var(--color-surface-deep)); }
}
@media (max-width: 1150px) {
  .ae-title-main { font-size: clamp(3.7rem, 7vw, 5rem); }
  .ae-reading { grid-template-columns: 145px minmax(0,1fr); gap: 2rem; }
  .ae-rail li a { font-size: .65rem; }
  .ae-pickup-layout { grid-template-columns: 1fr; }
  .ae-pickup-visual { position: static; max-width: 690px; width: 100%; margin: 0 auto 1.5rem; }
  .ae-visual-note { display: none; }
  .ae-pickup-layout .ae-prose { font-size: 1.05rem; }
  .ae-snapshot dl { gap: 1rem; }
  .ae-figure { font-size: 3.3rem; }
}
@media (max-width: 900px) {
  .ae-rail { display: none; }
  .ae-reading { display: block; padding-top: 2rem; }
  .ae-mobile-nav { display: block; margin-bottom: 2rem; border-block: 1px solid rgb(var(--color-hairline-strong)); }
  .ae-mobile-nav summary { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; min-height: 54px; padding: .8rem .25rem; cursor: pointer; font: 600 1.1rem var(--font-sport); text-transform: uppercase; }
  .ae-mobile-nav summary::before { content: '+'; color: var(--ae-accent); font: 400 1.1rem var(--font-mono); margin-right: .5rem; }
  .ae-mobile-nav[open] summary::before { content: '−'; }
  .ae-mobile-nav summary > span { margin-left: auto; max-width: 50%; text-align: right; color: rgb(var(--color-muted)); font: .62rem/1.5 var(--font-mono); text-transform: none; }
  .ae-mobile-nav ol { margin: 0 0 1rem; }
  .ae-mobile-nav a { display: flex; gap: 1rem; align-items: center; font-size: .8rem; min-height: 44px; text-decoration: none; padding: .6rem; }
  .ae-mobile-nav a[aria-current] { background: rgb(var(--color-surface)); }
  .ae-opening__grid { gap: 1.5rem; }
  .ae-title-main { font-size: 3.7rem; }
  .ae-title-sub { font-size: 1.3rem; }
  .ae-dek { font-size: .87rem; }
  .ae-location { font-size: .58rem; }
  .ae-location span:last-child { display: none; }
}
@media (max-width: 760px) {
  .ae-wrap { width: calc(100% - 40px); }
  .ae-opening { padding-top: .65rem; }
  .ae-breadcrumb { font-size: .6rem; gap: .5rem; }
  .ae-opening__grid { grid-template-columns: 1fr; padding-block: 1.7rem 1.25rem; gap: 1.4rem; }
  .ae-opening__copy > .ae-kicker { margin-bottom: 1rem; font-size: .6rem; }
  .ae-title-main { font-size: clamp(3.2rem, 13.5vw, 5.5rem); max-width: 12ch; }
  .ae-title-sub { font-size: clamp(1.2rem,5vw,1.7rem); max-width: 31ch; margin-top: .8rem; }
  .ae-dek { font-size: .91rem; line-height: 1.7; margin: 1rem 0; }
  .ae-byline { font-size: .74rem; }
  .ae-meta { font-size: .6rem; margin-bottom: .6rem; }
  .ae-start { font-size: .9rem; }
  .ae-photo figcaption { font-size: .59rem; gap: .3rem; }
  .ae-photo figcaption span:last-child { font-size: .58rem; }
  .ae-location { flex-wrap: wrap; gap: .4rem; font-size: .54rem; padding-block: .8rem; }
  .ae-reading { padding-top: 1.4rem; }
  .ae-prose { font-size: .99rem; line-height: 1.85; }
  .ae-intro p:first-child { font-size: 1.08rem; line-height: 1.75; }
  .ae-intro p:first-child::first-letter { font-size: 3.8rem; }
  .ae-chapter { padding-block: 2.2rem; margin-top: .5rem; }
  .ae-chapter__heading { gap: .9rem; margin-bottom: 2rem; }
  .ae-chapter__number { font-size: 2.7rem; }
  .ae-chapter h2 { font-size: 1.85rem; }
  .ae-chapter__heading .ae-kicker { font-size: .57rem; }
  .ae-snapshot { padding: 1.2rem; margin-bottom: 2rem; }
  .ae-snapshot > .ae-kicker { font-size: .59rem; }
  .ae-snapshot dl { grid-template-columns: 1fr 1fr; gap: 1.2rem; }
  .ae-snapshot dl > div:first-child { grid-column: 1/-1; border: 0; padding-bottom: 1rem; border-bottom: 1px solid rgb(var(--color-hairline-strong)); }
  .ae-snapshot dl > div:first-child .ae-figure { font-size: 4.7rem; }
  .ae-snapshot dt { font-size: .6rem; }
  .ae-figure { font-size: clamp(2.7rem,10vw,3.5rem); }
  .ae-source { font-size: .64rem; }
  .ae-tracking { padding: 1.1rem; }
  .ae-lots { grid-template-columns: 1fr; gap: .7rem; margin-bottom: 2rem; }
  .ae-lot { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: .2rem .8rem; padding: 1rem 1.1rem; }
  .ae-lot > .ae-kicker { grid-column: 1; font-size: .59rem; }
  .ae-lot h3 { grid-column: 1; min-height: 0; font-size: 1.4rem; margin: .25rem 0 0; }
  .ae-lot p { grid-column: 2; grid-row: 1/3; align-self: center; font-size: 2rem; margin: 0; }
  .ae-lot > span:last-child, .ae-lot > a { grid-column: 1/-1; padding-top: .3rem; font-size: .59rem; }
  .ae-prose table, .ae-prose tbody { display: block; width: 100% !important; }
  .ae-prose table caption { display: block; margin-bottom: 1rem !important; font-size: 1.25rem !important; }
  .ae-prose thead { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; }
  .ae-prose tbody tr { display: block; padding: .9rem 1rem; border: 1px solid rgb(var(--color-hairline)); border-left: 2px solid #db0503; margin-bottom: .7rem; background: rgb(var(--color-surface)); }
  .ae-prose tbody td { display: block; width: auto !important; padding: 0 !important; border: 0 !important; font-size: .85rem; line-height: 1.65; }
  .ae-prose tbody td:last-child { font: 600 1.7rem/1.2 var(--font-sport); margin-top: .4rem; }
  .ae-quote { padding: .5rem 0 .5rem 1.2rem; margin-top: 2rem; }
  .ae-quote p { font-size: 2rem; }
  .ae-quote cite { font-size: .6rem; }
  .ae-pickup-layout { gap: .5rem; }
  .ae-pickup-layout .ae-prose { font-size: .99rem; }
  .ae-chapter--4 > .ae-photo { margin-bottom: 2rem; }
  .ae-porsche-grid { grid-template-columns: 1fr; gap: 1rem; }
  .ae-porsche { padding: 1.5rem; }
  .ae-porsche h3 { min-height: 0; font-size: 1.9rem; }
  .ae-porsche__price { font-size: 3.7rem; }
  .ae-takeaways { grid-template-columns: 1fr; gap: 1.5rem; }
  .ae-contact { display: block; padding-block: 2.2rem; }
  .ae-contact h2 { font-size: 2.7rem; }
  .ae-contact p:not(.ae-kicker) { font-size: .85rem; }
  .ae-contact__links { align-items: stretch; margin-top: 1.5rem; }
  .ae-contact__links > a:last-child { align-self: center; }
  .ae-share { gap: .9rem; }
  .ae-share > .ae-kicker { width: 100%; }
  .ae-endnote { display: block; }
  .ae-endnote a { display: block; margin-top: .75rem; padding: .5rem 0; }
}
@media (prefers-reduced-motion: reduce) {
  html:has(body.rgbm-auction-edition) { scroll-behavior: auto; }
  .ae *, .ae *::before, .ae *::after { animation: none !important; transition: none !important; }
}
@media print {
  .ae-rail, .ae-mobile-nav, .ae-progress, .ae-start, .ae-contact, .ae-share { display: none !important; }
  .ae-reading, .ae-opening__grid, .ae-pickup-layout { display: block; }
  .ae-pickup-visual { position: static; }
  .ae-prose { max-width: none; }
  .ae-photo { break-inside: avoid; }
  .ae-prose a { color: inherit; }
}
