/*
 * Intermediance Auctions : compléments de la plateforme à la base graphique
 * (assets/brand/intermediance-base.css, servie sous static/brand/).
 * Même esprit que la charte : sobre, filets fins, rouge réservé à l'action principale.
 */

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* Sélecteur de langue (FR / NL / EN) dans l'en-tête */
.language-menu { position: relative; }
.language-menu__current { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 6px 12px; border: 1px solid rgba(0, 128, 137, 0.26); border-radius: var(--radius-pill); background: var(--color-white); color: var(--color-teal-deep); font-size: 0.86rem; font-weight: 750; cursor: pointer; list-style: none; }
.language-menu__current::-webkit-details-marker { display: none; }
.language-menu__current::after { content: ""; width: 7px; height: 7px; margin-left: 2px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform 150ms ease; }
.language-menu[open] .language-menu__current::after { transform: translateY(2px) rotate(225deg); }
.language-menu__current:hover { border-color: var(--color-teal); }
.language-menu__current:focus-visible, .language-menu__option:focus-visible { outline: 2px solid var(--color-teal); outline-offset: 2px; }
.language-menu__flag { display: block; width: 20px; height: 14px; object-fit: cover; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08); }
.language-menu__panel { position: absolute; right: 0; top: calc(100% + 8px); z-index: 20; display: grid; min-width: 180px; padding: 6px; border-radius: var(--radius); background: var(--color-white); box-shadow: var(--shadow); }
.language-menu__option { display: flex; align-items: center; gap: 12px; min-height: 42px; padding: 8px 12px; border: 0; border-radius: 6px; background: transparent; color: var(--color-ink); font: inherit; font-size: 0.95rem; text-align: left; cursor: pointer; }
.language-menu__option:hover { background: var(--color-soft); color: var(--color-teal-deep); }
.language-menu__option.is-active { font-weight: 750; color: var(--color-teal-deep); }
.language-menu__option.is-active::after { content: "✓"; margin-left: auto; color: var(--color-teal); }
@media (prefers-reduced-motion: reduce) { .language-menu__current::after { transition: none; } }

/* Mise en page des pages de contenu et des formulaires */
.narrow { max-width: 760px; }
.small { font-size: 0.92rem; color: var(--color-muted); }
.link { color: var(--color-teal); text-decoration: underline; text-underline-offset: 3px; }
.h3 { font-size: 1.2rem; margin-bottom: 12px; }
.panel { padding: 24px; margin-block: 20px; }
.plain-list { list-style: none; padding: 0; margin: 0; }
.plain-list li { padding: 6px 0; border-bottom: 1px solid var(--color-line); }

.form-stack { display: grid; gap: 18px; margin-top: 28px; }
.form-grid { display: grid; gap: 18px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.form-grid--3 { grid-template-columns: 1fr 2fr 1fr; }
.form-section { display: grid; gap: 18px; border: 1px solid var(--color-line); border-radius: var(--radius); padding: 20px; margin: 0; }
.form-section legend { padding: 0 6px; font-weight: 750; color: var(--color-teal-deep); }
.field-help { color: var(--color-muted); font-weight: 500; }
.field-error { margin: 0; color: var(--color-red-dark); font-weight: 650; font-size: 0.9rem; }
.has-error input, .has-error select, .has-error textarea { border-color: rgba(237, 72, 46, 0.55); }
.field--check label { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; }
.field--check input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--color-teal); }
.field--choices { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; }
.field--choices legend { font-weight: 750; margin-bottom: 6px; }
.choice { display: flex; gap: 10px; align-items: center; font-weight: 600; }
.choice input { width: 18px; height: 18px; accent-color: var(--color-teal); }

.alert { padding: 14px 18px; border-radius: var(--radius); background: var(--color-hero); margin-block: 12px; }
.alert--error { background: rgba(237, 72, 46, 0.1); color: var(--color-red-dark); }
.alert--success { background: rgba(0, 128, 137, 0.1); color: var(--color-teal-deep); }

.prose { max-width: 70ch; }
.prose h2 { font-size: 1.35rem; margin-top: 32px; }
.prose blockquote { margin: 0 0 24px; padding: 12px 18px; border-left: 3px solid var(--color-red); background: var(--color-soft); }

/* Back-office : sobre, dense, mêmes couleurs que le cadre */
.backoffice-bar { background: var(--color-teal-deep); color: var(--color-white); }
.backoffice-bar__inner { display: flex; gap: 24px; align-items: center; min-height: 48px; flex-wrap: wrap; }
.backoffice-bar a { color: var(--color-white); margin-right: 16px; font-weight: 600; }
.section--tight { padding: 32px 0 64px; }
.h2 { font-size: 1.8rem; }
.data-table { width: 100%; border-collapse: collapse; margin-block: 8px 32px; font-size: 0.95rem; }
.data-table th, .data-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--color-line); vertical-align: top; }
.data-table td:first-child { min-width: 160px; }
.data-table th { color: var(--color-muted); font-weight: 700; font-size: 0.85rem; text-transform: uppercase; }
.review-grid { display: grid; gap: 32px; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); }
.doc-gallery { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.doc-gallery figure { margin: 0; }
.doc-gallery img { border: 1px solid var(--color-line); border-radius: var(--radius); width: 100%; height: 240px; object-fit: contain; background: var(--color-soft); }
.facts { display: grid; grid-template-columns: max-content 1fr; gap: 8px 16px; }
.facts dt { color: var(--color-muted); font-weight: 700; }
.facts dd { margin: 0; }
@media (max-width: 760px) { .review-grid { grid-template-columns: 1fr; } .data-table { display: block; overflow-x: auto; } }

@media print {
  .site-header, .site-footer, .no-print { display: none; }
}

/* Footer: same structure and styles as www.intermediance.be (src/styles.css, .site-footer). */
.site-footer { padding-block: 0; }
.footer__cta { border-bottom: 1px solid var(--color-line); background: var(--color-white); }
.footer__cta-inner { display: flex; justify-content: space-between; gap: 30px; align-items: center; padding-block: 30px; }
.footer__cta-inner > div { display: grid; gap: 5px; }
.site-footer .footer__cta p, .site-footer .footer__cta h2 { margin: 0; padding: 0; border: 0; }
.site-footer .footer__cta p { color: var(--color-teal); font-size: 0.82rem; font-weight: 760; letter-spacing: 0.04em; text-transform: uppercase; }
.site-footer .footer__cta h2 { font-size: clamp(1.55rem, 2.4vw, 2.25rem); color: var(--color-ink); text-transform: none; }
.footer__main { display: grid; grid-template-columns: minmax(230px, 1.25fr) repeat(3, minmax(0, 1fr)); gap: 36px; padding-block: 48px 42px; }
.footer__brand img { display: block; width: 190px; height: auto; }
.footer__brand > p { max-width: 34ch; margin: 24px 0; color: var(--color-muted); line-height: 1.55; }
.footer__brand address { display: grid; gap: 8px; color: var(--color-muted); font-style: normal; line-height: 1.5; }
.footer__brand address a { width: fit-content; color: var(--color-teal-deep); font-weight: 720; }
.footer__social { display: inline-flex; margin-top: 20px; color: var(--color-teal-deep); }
.footer__social:hover, .footer__social:focus-visible { color: var(--color-red); }
.footer__column--direct h2 { border-bottom-color: var(--color-red); color: var(--color-red); }
.footer__column a { display: flex; justify-content: space-between; gap: 14px; align-items: center; min-height: 46px; padding-block: 11px; border-bottom: 1px solid rgba(64, 64, 65, 0.1); color: var(--color-ink); line-height: 1.3; }
.footer__column a::after { content: "→"; flex: 0 0 auto; color: var(--color-red); transition: transform 150ms ease; }
.footer__column a:hover, .footer__bottom a:hover { color: var(--color-red); }
.footer__column a:hover::after, .footer__column a:focus-visible::after { transform: translateX(4px); }
.footer__bottom { display: flex; justify-content: space-between; gap: 30px; padding-block: 22px 40px; border-top: 1px solid var(--color-line); font-size: 0.88rem; }
.footer__bottom p { margin: 0; }
.footer__bottom nav { display: flex; flex-wrap: wrap; gap: 18px; align-content: flex-start; justify-content: flex-end; }
@media (max-width: 1180px) {
  .footer__main { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .footer__cta-inner, .footer__bottom { flex-direction: column; align-items: flex-start; }
  .footer__main { grid-template-columns: 1fr; }
  .footer__bottom nav { justify-content: flex-start; }
}
@media (prefers-reduced-motion: reduce) { .footer__column a::after { transition: none; } }

@media (max-width: 760px) {
  .form-grid, .form-grid--3 { grid-template-columns: 1fr; }
}

/* ---------------------------------------------------------------------------
 * Pages publiques et blocs. Les composants d'enchère (prix, compte à rebours,
 * statuts, panneau) gardent la charte INTERMEDIANCE sur toutes les ventes ;
 * seuls les blocs de contenu peuvent utiliser --sale-accent.
 * ------------------------------------------------------------------------- */
.breadcrumb a { color: var(--color-teal); }
.sale-list { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); margin-bottom: 48px; }
.sale-list__item h3 { margin-bottom: 8px; }
.sale-list__item:hover h3 { color: var(--color-teal); }
.sale-summary { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-end; margin-bottom: 32px; }

.block-hero__inner { display: grid; gap: 32px; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); align-items: center; }
.block-hero__inner > :only-child { grid-column: 1 / -1; }
.block-hero__image { border-radius: var(--radius); box-shadow: var(--shadow); }
.block-hero .kicker { color: var(--sale-accent); }
.block-cause__inner { display: grid; gap: 32px; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); align-items: center; }
.block-cause__image { border-radius: var(--radius); }
.block-logos__list { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 32px; align-items: center; }
.block-logos__list img { max-height: 64px; width: auto; }
.block-video video { width: 100%; border-radius: var(--radius); background: #000; }
.block-gallery__grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); margin-block: 16px 24px; }
.block-gallery__grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.block-gallery__grid a:first-child { grid-column: 1 / -1; }
.block-gallery__grid a:first-child img { aspect-ratio: auto; max-height: 560px; object-fit: contain; background: var(--color-soft); }
.block-cta .shell { display: flex; flex-wrap: wrap; gap: 14px; }

.block-countdown__value { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; margin: 0; font-variant-numeric: tabular-nums; }
.block-amount__value { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; margin: 0; color: var(--color-teal-deep); }

.lot-grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.lot-card { display: flex; flex-direction: column; }
.lot-card__media { display: block; aspect-ratio: 4 / 3; background: var(--color-soft); }
.lot-card__media img { width: 100%; height: 100%; object-fit: cover; }
.lot-card__placeholder { display: grid; place-items: center; height: 100%; font-size: 3rem; font-weight: 800; color: var(--color-line); }
.lot-card__body { padding: 18px 20px 22px; }
.lot-card__body h3 { font-size: 1.1rem; margin-bottom: 10px; }
.lot-live__price { margin: 10px 0 4px; display: flex; flex-direction: column; }
.lot-live__price strong { font-size: 1.6rem; font-variant-numeric: tabular-nums; }
[data-countdown] { font-variant-numeric: tabular-nums; font-weight: 750; }
[data-countdown].is-final { color: var(--color-red); }

.lot-layout { display: grid; gap: 40px; grid-template-columns: minmax(0, 3fr) minmax(320px, 2fr); align-items: start; }
.lot-layout__side { position: sticky; top: 104px; display: grid; gap: 20px; }
.lot-title { font-size: clamp(1.9rem, 3.6vw, 3rem); }
.bid-panel { padding: 24px; display: grid; gap: 8px; }
.bid-panel__status { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.bid-panel__label { margin: 8px 0 0; color: var(--color-muted); font-weight: 700; }
.bid-panel__price { margin: 0; font-size: clamp(2.2rem, 5vw, 3rem); font-weight: 800; line-height: 1.1; font-variant-numeric: tabular-nums; }
.bid-panel__countdown { display: grid; gap: 2px; padding: 12px 14px; background: var(--color-soft); border-radius: var(--radius-field); }
.bid-panel__countdown strong { font-size: 1.5rem; }
.bid-panel__position { margin: 4px 0; padding: 10px 14px; border-radius: var(--radius-field); font-weight: 700; display: grid; }
.bid-panel__position.is-leading { background: rgba(0, 128, 137, 0.1); color: var(--color-teal-deep); }
.bid-panel__position.is-outbid { background: rgba(237, 72, 46, 0.1); color: var(--color-red-dark); }
.bid-panel__form { margin-top: 8px; }
.bid-panel__note { margin-top: 8px; }
.confirm-box { border-left: 4px solid var(--color-red); }

/* Page de projection (événements) */
.projection { background: var(--color-hero); min-height: 100vh; }
.projection__header { display: grid; grid-template-columns: auto 1fr auto; gap: 40px; align-items: center; padding: 32px 48px 0; }
.projection__logo { width: 220px; }
.projection__header h1 { margin: 0; font-size: clamp(2rem, 4vw, 3.6rem); }
.projection__qr { text-align: center; font-weight: 750; color: var(--color-teal-deep); }
.projection__qr svg { width: 180px; height: 180px; background: var(--color-white); padding: 8px; border-radius: var(--radius); }
.projection__main { padding: 32px 48px; display: grid; gap: 32px; }
.projection .lot-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }

@media (max-width: 900px) {
  .lot-layout, .block-hero__inner, .block-cause__inner { grid-template-columns: 1fr; }
  .lot-layout__side { position: static; }
}

/* Home page: sections linking to the classic INTERMEDIANCE website. */
.home-service__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.home-service__grid--media { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
.home-service__text h2 { margin: 8px 0 18px; font-size: clamp(1.7rem, 2.8vw, 2.4rem); line-height: 1.15; }
.home-service__text > p:not(.kicker) { max-width: 52ch; color: var(--color-ink); line-height: 1.6; }
.home-service__cases { list-style: none; margin: 0; padding: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.home-service__cases li { display: grid; gap: 6px; color: var(--color-muted); line-height: 1.5; }
.home-service__cases strong { color: var(--color-teal-deep); }
.home-service__image { display: block; width: 100%; height: auto; border-radius: var(--radius); }
.home-service__uses { color: var(--color-teal-deep) !important; font-weight: 720; }
@media (max-width: 900px) {
  .home-service__grid, .home-service__grid--media { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 520px) { .home-service__cases { grid-template-columns: 1fr; } }

/* Home hero: same pattern as the classic site's page heroes (title left, photo
   right, floating fact card), the card carrying live data from the engine. */
.home-hero { padding: 64px 0 72px; overflow: hidden; }
.home-hero__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 64px; align-items: center; }
.home-hero h1 { margin: 10px 0 22px; font-size: clamp(2.5rem, 5vw, 4.4rem); line-height: 1.04; letter-spacing: -0.02em; max-width: 13ch; }
.home-hero .lead { margin: 0 0 30px; max-width: 34em; }
.home-hero__media { position: relative; margin: 0; padding-bottom: 48px; }
.home-hero__media img { display: block; width: 100%; max-height: 560px; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.home-hero__card { position: absolute; left: -40px; bottom: 0; width: min(330px, 90%); display: grid; gap: 12px; padding: 22px 24px; border-radius: var(--radius); background: var(--color-white); box-shadow: var(--shadow); color: var(--color-ink); text-decoration: none; transition: transform 150ms ease, box-shadow 150ms ease; }
.home-hero__card:hover, .home-hero__card:focus-visible { transform: translateY(-3px); box-shadow: var(--shadow-hover), var(--shadow); }
.home-hero__card .badge { justify-self: start; }
.home-hero__card-title { font-size: 1.15rem; line-height: 1.25; }
.home-hero__card dl { margin: 0; display: grid; }
.home-hero__card dl > div { display: flex; justify-content: space-between; gap: 16px; padding-block: 8px; border-top: 1px solid var(--color-line); font-size: 0.9rem; }
.home-hero__card dt { color: var(--color-muted); }
.home-hero__card dd { margin: 0; font-weight: 720; text-align: right; white-space: nowrap; }
.home-hero__card-link { color: var(--color-red); font-weight: 750; font-size: 0.92rem; }
.home-hero__card-link::after { content: " →"; }
@media (max-width: 1100px) { .home-hero__card { left: 16px; } }
@media (max-width: 900px) {
  .home-hero { padding: 40px 0 48px; }
  .home-hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .home-hero__media img { max-height: 380px; }
}
@media (max-width: 620px) {
  .home-hero__media { padding-bottom: 0; }
  .home-hero__media img { max-height: 260px; }
  .home-hero__card { position: relative; left: auto; bottom: auto; width: auto; margin: -40px 12px 0; }
}
@media (prefers-reduced-motion: reduce) { .home-hero__card { transition: none; } }

/* Header on mobile: burger menu, same pattern as www.intermediance.be (CSS
   only; the checkbox stays keyboard-focusable, its focus shows on the label). */
.nav-toggle, .nav-toggle-label { display: none; }
.nav a { white-space: nowrap; }
@media (max-width: 1024px) {
  .header-shell { flex-wrap: wrap; gap: 0 6px; min-height: 68px; padding-block: 10px; }
  .header-shell .brand { margin-right: auto; }
  .header-shell .brand img { width: 140px; height: auto; }
  .language-menu__current { min-height: 40px; padding: 6px 10px; }
  .language-switcher { order: 2; }
  .nav-toggle { display: block; position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
  .nav-toggle-label { order: 3; display: grid; gap: 5px; width: 44px; height: 44px; padding: 13px 10px; cursor: pointer; border-radius: var(--radius); }
  .nav-toggle:focus-visible ~ .nav-toggle-label { outline: 2px solid var(--color-teal); outline-offset: 2px; }
  .nav-toggle-label span[aria-hidden] { height: 2px; background: var(--color-ink); transition: transform 160ms ease, opacity 160ms ease; }
  .nav-toggle:checked ~ .nav-toggle-label span[aria-hidden]:nth-of-type(2) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle:checked ~ .nav-toggle-label span[aria-hidden]:nth-of-type(3) { opacity: 0; }
  .nav-toggle:checked ~ .nav-toggle-label span[aria-hidden]:nth-of-type(4) { transform: translateY(-7px) rotate(-45deg); }
  .header-shell .nav { order: 4; display: none; width: 100%; padding: 6px 0 14px; }
  .nav-toggle:checked ~ .nav { display: grid; max-height: calc(100dvh - 68px); overflow-y: auto; overscroll-behavior: contain; }
  .header-shell .nav a { display: flex; justify-content: space-between; align-items: center; min-height: 52px; padding: 0; border-top: 1px solid var(--color-line); font-size: 1.05rem; }
  .header-shell .nav a::after { content: "→"; color: var(--color-red); }
}
@media (max-width: 1024px) and (prefers-reduced-motion: reduce) { .nav-toggle-label span[aria-hidden] { transition: none; } }

/* Content block: carousel of the lots of a sale (arrows on either side, no visible scrollbar) */
.lot-carousel { display: grid; grid-template-columns: 46px minmax(0, 1fr) 46px; gap: 14px; align-items: center; }
.lot-carousel__track {
  --gap: 20px;
  display: grid; grid-auto-flow: column; align-items: start; gap: var(--gap);
  grid-auto-columns: calc((100% - (var(--per-view) - 1) * var(--gap)) / var(--per-view));
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
}
.lot-carousel__track::-webkit-scrollbar { display: none; }
.lot-carousel__track:focus-visible { outline: 0; box-shadow: var(--focus-ring); border-radius: var(--radius); }
.lot-carousel__item { scroll-snap-align: start; display: grid; align-content: start; gap: 12px; color: var(--color-ink); text-decoration: none; }
.lot-carousel__item img, .lot-carousel__placeholder { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; border-radius: var(--radius); background: var(--color-white); border: 1px solid var(--color-line); }
.lot-carousel__placeholder { display: grid; place-items: center; font-size: 3rem; font-weight: 800; color: var(--color-line); }
.lot-carousel__item:hover img, .lot-carousel__item:focus-visible img { box-shadow: var(--shadow-hover); }
.lot-carousel__caption { display: grid; gap: 2px; font-weight: 700; }
.lot-carousel__number { color: var(--color-muted); font-size: 0.85rem; font-weight: 600; }
.lot-carousel__button { width: 46px; height: 46px; border-radius: 50%; border: 2px solid rgba(0, 128, 137, 0.26); background: var(--color-white); color: var(--color-teal-deep); font-size: 1.1rem; cursor: pointer; }
.lot-carousel__button:hover:not(:disabled), .lot-carousel__button:focus-visible { border-color: var(--color-teal); outline: 0; }
.lot-carousel__button:disabled { opacity: 0.35; cursor: default; }
@media (max-width: 860px) { .lot-carousel--multi .lot-carousel__track { --per-view: 2; } }
@media (max-width: 620px) {
  .lot-carousel { grid-template-columns: 38px minmax(0, 1fr) 38px; gap: 8px; }
  .lot-carousel__button { width: 38px; height: 38px; }
  .lot-carousel--multi .lot-carousel__track { --per-view: 1; }
}

/* Engine and content block: one full-width section per lot, in two halves that swap sides from
   one lot to the next. The visual half shows the lot photo in parallax under a veil, with the
   work on top; its inner edge is cut on a slant so that the alternation does not look like a
   chequerboard. The text half carries the live card (status, price, closing) from the engine.
   Performance: the photo is its own layer, blurred once and moved by a scroll-driven animation
   run by the compositor (no fixed background, no backdrop-filter). */
.lot-feature { --slant: 7vw; display: grid; grid-template-columns: minmax(0, 11fr) minmax(0, 9fr); min-height: clamp(500px, 62vh, 680px); background: var(--color-white); }
.lot-feature--reverse { grid-template-columns: minmax(0, 9fr) minmax(0, 11fr); background: var(--color-hero); }
/* On the light blue of the site, the light blue badges would vanish: they turn white there. */
.lot-feature--reverse .badge:not(.badge--live):not(.badge--extended):not(.badge--closed) { background: var(--color-white); }
.lot-feature__visual {
  position: relative; isolation: isolate; display: grid; place-items: center;
  padding: 56px calc(var(--slant) + 40px) 56px 48px;
  overflow: clip; /* not "hidden": that would make it a scroll container and freeze the view() timeline */
  clip-path: polygon(0 0, 100% 0, calc(100% - var(--slant)) 100%, 0 100%);
  background: #26292b;
}
.lot-feature--reverse .lot-feature__visual {
  order: 2; padding: 56px 48px 56px calc(var(--slant) + 40px);
  clip-path: polygon(0 0, 100% 0, 100% 100%, var(--slant) 100%);
}
.lot-feature__bg {
  position: absolute; inset: -18% -2%; z-index: -2;
  background: var(--feature-image, none) center / cover no-repeat;
  filter: blur(3px); transform: translateZ(0);
}
@supports (animation-timeline: view()) {
  .lot-feature__bg { animation: lot-feature-parallax linear both; animation-timeline: view(); animation-range: cover; will-change: transform; }
}
@keyframes lot-feature-parallax { from { transform: translateY(-12%); } to { transform: translateY(12%); } }
.lot-feature__visual::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(25, 30, 32, 0.6); }
.lot-feature--reverse .lot-feature__visual::before { background: rgba(18, 111, 117, 0.55); }
.lot-feature__media { display: grid; place-items: center; width: 100%; height: 100%; max-height: 560px; }
.lot-feature__media img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 4px; box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45); }
.lot-feature__placeholder { display: grid; place-items: center; width: 100%; aspect-ratio: 4 / 3; font-size: 4rem; font-weight: 800; color: rgba(255, 255, 255, 0.45); border: 1px dashed rgba(255, 255, 255, 0.45); border-radius: var(--radius); }
.lot-feature__text { display: flex; flex-direction: column; justify-content: center; padding: 56px clamp(24px, 6vw, 96px) 56px clamp(24px, 3vw, 48px); max-width: 640px; }
.lot-feature--reverse .lot-feature__text { justify-self: end; padding: 56px clamp(24px, 3vw, 48px) 56px clamp(24px, 6vw, 96px); }
.lot-feature__text h2 { font-size: clamp(1.6rem, 2.6vw, 2.4rem); margin-bottom: 12px; }
.lot-feature__text h2 a { color: inherit; text-decoration: none; }
.lot-feature__text .button { align-self: flex-start; margin-top: 22px; }
.lot-live__closing { margin: 6px 0 0; color: var(--color-muted); }
@media (max-width: 860px) {
  .lot-feature, .lot-feature--reverse { grid-template-columns: 1fr; min-height: 0; }
  .lot-feature__visual, .lot-feature--reverse .lot-feature__visual {
    order: 0; min-height: 62vw; padding: 36px 24px calc(var(--slant) + 28px);
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--slant)), 0 100%);
  }
  .lot-feature--reverse .lot-feature__visual { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 calc(100% - var(--slant))); }
  .lot-feature__media { max-height: 56vh; }
  .lot-feature__text, .lot-feature--reverse .lot-feature__text { justify-self: stretch; max-width: none; padding: 20px 24px 48px; }
}
