:root {
  --orange: #F2631A;
  --orange-dark: #b94712;
  --gold: #ffb489;
  --charcoal: #252525;
  --charcoal-2: #3c3c3c;
  --ink: #111111;
  --brand-black: #292929;
  --cream: #f8f4ec;
  --paper: #ffffff;
  --field: #3e5c37;
  --sage: #84906d;
  --line: rgba(17, 17, 17, 0.16);
  --shadow: 0 18px 45px rgba(17, 17, 17, 0.18);
  --soft-shadow: 0 18px 50px rgba(17, 17, 17, 0.12);
  --radius: 6px;
  --max: 1180px;
  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --font-display: "Anton", "Impact", "Haettenschweiler", "Arial Narrow Bold", "Arial Black", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-height: 72px;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
  scroll-padding-top: var(--header-height);
}

body {
  margin: 0;
  padding-top: var(--header-height);
  color: var(--ink);
  background: var(--cream);
  font-family: var(--font-sans);
  line-height: 1.5;
}

body.is-intro-locked {
  overflow: visible;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button,
input,
select {
  font: inherit;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
  border-radius: 3px;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--header-height);
  padding: 8px 28px;
  color: var(--paper);
  background: var(--brand-black);
  border-bottom: 4px solid var(--orange);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(14px);
  transition: background 240ms ease, box-shadow 240ms ease;
}

.site-header.is-scrolled {
  background: var(--brand-black);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.28);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: clamp(300px, 28vw, 390px);
  text-decoration: none;
}

.brand-lockup {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  gap: 1px;
  overflow: visible;
  min-height: 50px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.brand-mark {
  position: relative;
  z-index: 1;
  display: block;
  flex: 0 0 auto;
  width: 74px;
  height: auto;
  margin-left: -16px;
  margin-right: 8px;
  aspect-ratio: 380 / 258;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
}

.brand-wordmark {
  position: relative;
  z-index: 1;
  display: block;
  flex: 0 1 auto;
  width: 258px;
  max-width: none;
  height: auto;
  aspect-ratio: 1242 / 240;
  object-fit: contain;
  transform: translateY(1.5px);
  pointer-events: none;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
  font-size: 0.9rem;
  font-weight: 800;
  text-transform: uppercase;
}

.site-nav a {
  position: relative;
  text-decoration: none;
  transition: color 180ms ease, transform 180ms ease;
}

.site-nav a:not(.nav-call)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 220ms var(--ease);
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--gold);
}

.site-nav a[aria-current="page"] {
  color: var(--gold);
}

.site-nav a:not(.nav-call):hover::after,
.site-nav a:not(.nav-call):focus-visible::after,
.site-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav-call {
  padding: 10px 16px;
  color: var(--paper);
  background: var(--orange);
  border: 2px solid var(--orange);
  border-radius: 3px;
  box-shadow: 0 12px 28px rgba(232, 96, 26, 0.26);
}

.nav-call:hover,
.nav-call:focus-visible {
  color: var(--paper);
  background: var(--orange-dark);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.45);
  border-radius: var(--radius);
  transition: border-color 180ms ease, background 180ms ease;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 6px 0;
  background: var(--paper);
  transition: transform 240ms var(--ease), opacity 180ms ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.hero-scroll-stage {
  position: relative;
  height: clamp(1180px, 235vh, 2100px);
  background: var(--ink);
  overscroll-behavior: contain;
}

.hero-section {
  position: sticky;
  top: var(--header-height);
  display: grid;
  align-items: center;
  min-height: 0;
  height: calc(100svh - var(--header-height));
  overflow: hidden;
  color: var(--paper);
  background: var(--ink);
}

.hero-section::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 120px;
  background: linear-gradient(0deg, rgba(17, 17, 17, 0.48), transparent);
  pointer-events: none;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  background:
    radial-gradient(circle at 55% 42%, rgba(232, 96, 26, 0.12), transparent 34%),
    url("../assets/optimized/drone-flyover-poster-1280.webp") center / cover,
    var(--ink);
  transform: translate3d(0, var(--hero-shift, -12px), 0) scale(var(--hero-media-scale, 1.18));
  backface-visibility: hidden;
  will-change: transform;
}

.hero-media.is-hero-warming,
.hero-media.has-canvas-frame {
  background:
    radial-gradient(circle at 55% 42%, rgba(232, 96, 26, 0.12), transparent 34%),
    url("../assets/optimized/drone-flyover-poster-1280.webp") center / cover,
    var(--ink);
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 3px;
  object-fit: contain;
  object-position: center center;
  opacity: 0;
  filter: saturate(1.04) contrast(1.03);
  transform: translateZ(0);
  transition: opacity 520ms var(--ease);
  will-change: opacity;
}

.hero-video.is-active {
  opacity: 0;
}

.hero-video.is-active.is-ready {
  opacity: 1;
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transform: translateZ(0);
  transition: opacity 520ms var(--ease);
  will-change: opacity;
}

.hero-scroll-stage.uses-frame-cinematic .hero-canvas {
  opacity: 1;
}

.hero-scroll-stage.uses-frame-cinematic .hero-video {
  opacity: 0;
}

.hero-video:not(.is-ready) {
  background: var(--ink);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(17, 17, 17, 0.88), rgba(17, 17, 17, 0.54) 48%, rgba(17, 17, 17, 0.2)),
    linear-gradient(0deg, rgba(17, 17, 17, 0.36), rgba(17, 17, 17, 0.06));
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(720px, calc(100% - 48px));
  margin-left: max(24px, calc((100vw - var(--max)) / 2));
  padding: 78px 0 96px;
  opacity: var(--hero-content-opacity, 1);
  transform: translate3d(0, var(--hero-content-y, 0px), 0) scale(var(--hero-content-scale, 1));
  transform-origin: left center;
  will-change: transform, opacity;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--orange);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-inner h1,
.section-heading h2,
.auctioneer-copy h2,
.signup-copy h2,
.detail-hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0.005em;
  line-height: 0.96;
  text-transform: uppercase;
}

.hero-inner h1 {
  max-width: 690px;
  font-size: clamp(3.25rem, 7vw, 4.65rem);
  text-wrap: balance;
  text-shadow: 0 16px 28px rgba(0, 0, 0, 0.28);
}

.hero-copy {
  max-width: 640px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.16rem;
  text-shadow: 0 8px 22px rgba(0, 0, 0, 0.42);
}

.hero-actions,
.contact-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border: 2px solid currentColor;
  border-radius: var(--radius);
  font-weight: 900;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 180ms var(--ease), box-shadow 180ms ease, background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

/* Gavel intro */
.gavel-intro[hidden] {
  display: none !important;
}

.gavel-intro {
  position: fixed;
  inset: 0;
  z-index: 2200;
  color: var(--paper);
  pointer-events: none;
  touch-action: none;
  overscroll-behavior: none;
}

.gavel-intro[data-state="active"] {
  pointer-events: auto;
}

.gavel-intro-curtain,
.gavel-intro-stage {
  position: absolute;
  inset: 0;
}

.gavel-intro-curtain {
  overflow: hidden;
  background: var(--brand-black);
  will-change: opacity, transform;
}

.gavel-intro-stage {
  display: grid;
  place-items: center;
  overflow: hidden;
}

.gavel-intro-mark {
  position: relative;
  width: min(52vw, 445px);
  aspect-ratio: 445 / 334;
  opacity: 0;
  transform-origin: 50% 50%;
}

.gavel-intro-mark img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
}

.gavel-intro-letters {
  z-index: 1;
}

.gavel-intro-gavel-block {
  z-index: 2;
}

.gavel-intro-gavel {
  z-index: 3;
  transform-origin: 76% 80%;
}

.gavel-intro-flash {
  position: absolute;
  left: 39.5%;
  top: 82%;
  z-index: 4;
  width: 55%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(254, 100, 37, 0.78) 0%, rgba(254, 100, 37, 0.34) 24%, rgba(254, 100, 37, 0) 64%);
  mix-blend-mode: screen;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.5);
}

.gavel-intro-sparks {
  position: absolute;
  left: 40%;
  top: 82%;
  z-index: 5;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.gavel-intro-sparks span {
  position: absolute;
  width: 7px;
  height: 7px;
  margin: -3.5px 0 0 -3.5px;
  border-radius: 999px;
  background: var(--orange);
  box-shadow: 0 0 18px rgba(242, 107, 31, 0.8);
  opacity: 0;
  transform: translate3d(0, 0, 0) scale(0);
}

@media (max-width: 759px) {
}

.button:active {
  transform: translateY(0) scale(0.98);
  transition-duration: 80ms;
}

.button-primary {
  color: var(--paper);
  background: var(--orange);
  border-color: var(--orange);
  box-shadow: 0 16px 32px rgba(232, 96, 26, 0.28);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--orange-dark);
  border-color: var(--orange-dark);
  box-shadow: 0 20px 40px rgba(185, 71, 18, 0.32);
}

.button-secondary {
  color: var(--paper);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.8);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  color: var(--ink);
  background: var(--gold);
  border-color: var(--gold);
}

.button-plain {
  color: var(--ink);
  background: transparent;
}

.admin-shell .button-secondary,
.system-panel .button-secondary {
  color: var(--ink);
  background: #fff;
  border-color: rgba(17, 17, 17, 0.7);
  box-shadow: none;
}

.admin-shell .button-secondary:hover,
.admin-shell .button-secondary:focus-visible,
.system-panel .button-secondary:hover,
.system-panel .button-secondary:focus-visible {
  color: var(--paper);
  background: var(--ink);
  border-color: var(--ink);
}

.admin-shell .button-plain,
.system-panel .button-plain {
  color: var(--ink);
  background: #fffaf1;
  border-color: rgba(17, 17, 17, 0.7);
}

.admin-shell .button-plain:hover,
.admin-shell .button-plain:focus-visible,
.system-panel .button-plain:hover,
.system-panel .button-plain:focus-visible {
  color: var(--paper);
  background: var(--orange-dark);
  border-color: var(--orange-dark);
}

.admin-shell .button-danger,
.system-panel .button-danger {
  color: #fff;
  background: #9f2d17;
  border-color: #9f2d17;
  box-shadow: none;
}

.admin-shell .button-danger:hover,
.admin-shell .button-danger:focus-visible,
.system-panel .button-danger:hover,
.system-panel .button-danger:focus-visible {
  color: #fff;
  background: #711c0c;
  border-color: #711c0c;
}

.trust-strip {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  padding: 0 max(20px, calc((100vw - var(--max)) / 2));
  overflow: hidden;
  color: var(--paper);
  background:
    linear-gradient(180deg, #171513 0%, #22201d 58%, #151412 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(17, 17, 17, 0.72);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    inset 0 -28px 58px rgba(0, 0, 0, 0.22);
}

.trust-strip::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 92px);
  opacity: 0.42;
  pointer-events: none;
}

.trust-strip div {
  position: relative;
  min-height: 132px;
  padding: 28px clamp(22px, 3.3vw, 42px) 26px;
}

.trust-strip div + div {
  border-left: 0;
}

.trust-strip div::before {
  content: "";
  display: block;
  width: 38px;
  height: 5px;
  margin-bottom: 16px;
  background: var(--orange);
  border-radius: 999px;
}

.trust-strip strong,
.trust-strip span {
  display: block;
}

.trust-strip strong {
  color: #ffb489;
  font-family: var(--font-sans);
  font-size: clamp(1.02rem, 1.35vw, 1.18rem);
  font-weight: 950;
  letter-spacing: 0.035em;
  line-height: 1.12;
  text-transform: uppercase;
}

.trust-strip span {
  max-width: 29ch;
  margin-top: 10px;
  color: rgba(255, 247, 237, 0.84);
  font-size: clamp(1rem, 1.45vw, 1.12rem);
  font-weight: 650;
  line-height: 1.42;
}

.section {
  padding: 88px 24px;
}

.section-light {
  background: var(--cream);
}

.section-heading {
  width: min(var(--max), 100%);
  margin: 0 auto 32px;
}

.section-heading h2 {
  max-width: 780px;
  font-size: clamp(2.35rem, 5vw, 3.45rem);
  text-wrap: balance;
}

.section-heading p:not(.eyebrow) {
  max-width: 720px;
  margin: 14px 0 0;
  color: rgba(17, 17, 17, 0.72);
  font-size: 1.05rem;
}

.section-heading-inverse h2 {
  color: var(--paper);
}

.section-heading-inverse p:not(.eyebrow) {
  color: var(--gold);
}

.auction-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  width: min(var(--max), 100%);
  margin: 0 auto;
}

.auction-card {
  display: grid;
  grid-template-columns: 98px minmax(0, 1fr) 210px;
  gap: 0;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid rgba(17, 17, 17, 0.12);
  border-left: 5px solid var(--orange);
  border-radius: 10px;
  box-shadow: 0 12px 30px rgba(17, 17, 17, 0.08);
  transition: transform 320ms var(--ease), box-shadow 320ms var(--ease), border-color 320ms ease;
}

.auction-card:hover,
.auction-card:focus-within {
  border-color: rgba(232, 96, 26, 0.36);
  box-shadow: 0 22px 54px rgba(17, 17, 17, 0.15);
  transform: translateY(-3px);
}

.auction-date-tile {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 3px;
  min-height: 150px;
  color: var(--paper);
  background: linear-gradient(180deg, var(--charcoal), #171717);
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
  text-transform: uppercase;
}

.auction-date-tile span,
.auction-date-tile small {
  font-weight: 900;
  letter-spacing: 0;
}

.auction-date-tile span {
  color: var(--orange);
  font-size: 0.86rem;
}

.auction-date-tile strong {
  font-size: 2.7rem;
  line-height: 0.96;
}

.auction-date-tile small {
  color: rgba(255, 255, 255, 0.76);
}

.auction-date-tile em {
  margin-top: 8px;
  padding: 4px 8px;
  color: var(--ink);
  background: var(--gold);
  border-radius: 999px;
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 900;
}

.auction-card-media {
  display: block;
  position: relative;
  min-height: 150px;
  aspect-ratio: auto;
  overflow: hidden;
  background: #d9d5cd;
  color: inherit;
  text-decoration: none;
}

.auction-card-media img {
  display: block;
  width: 100%;
  height: 100%;
  padding: 3px;
  object-fit: contain;
  transition: transform 450ms var(--ease), filter 250ms ease;
}

.auction-card-media iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 210px;
  border: 0;
  pointer-events: none;
}

.auction-card-media.is-sale-bill-preview {
  background: #f7f3ea;
}

.auction-card-media.is-sale-bill-preview img {
  padding: 0;
  object-fit: contain;
  object-position: center center;
}

.auction-card:hover .auction-card-media img,
.auction-card:focus-within .auction-card-media img {
  filter: saturate(1.05) contrast(1.02);
  transform: scale(1.04);
}

.auction-status {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 6px 10px;
  color: var(--paper);
  background: var(--orange);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.auction-card-body {
  display: grid;
  align-content: center;
  gap: 10px;
  padding: 22px 24px;
}

.auction-card-top {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.countdown-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 10px;
  color: var(--ink);
  background: rgba(255, 180, 137, 0.18);
  border: 1px solid rgba(255, 180, 137, 0.62);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.auction-date {
  color: var(--orange-dark);
  font-weight: 900;
  text-transform: uppercase;
}

.auction-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.55rem, 3vw, 2.1rem);
  letter-spacing: 0.005em;
  line-height: 1.02;
  text-transform: none;
}

.auction-card p {
  margin: 0;
  color: rgba(17, 17, 17, 0.72);
}

.auction-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.auction-meta span {
  padding: 5px 8px;
  background: #f4efe6;
  border: 1px solid rgba(17, 17, 17, 0.1);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.card-link {
  justify-self: start;
  color: var(--ink);
  font-weight: 900;
  text-transform: uppercase;
  text-underline-offset: 4px;
  transition: color 180ms ease;
}

.card-link:hover,
.card-link:focus-visible {
  color: var(--orange-dark);
}

.section-map {
  position: relative;
  isolation: isolate;
  padding-top: 78px;
  padding-bottom: 70px;
  overflow: hidden;
  color: var(--paper);
  background:
    linear-gradient(180deg, #171513 0%, #22201d 58%, #151412 100%);
}

.section-map::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 92px);
  opacity: 0.42;
  pointer-events: none;
}

.region-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(410px, 0.78fr);
  gap: 28px;
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto;
  align-items: stretch;
}

.region-map {
  position: relative;
  display: grid;
  place-items: stretch;
  min-height: 0;
  padding: clamp(10px, 1.6vw, 18px);
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(34, 32, 29, 0.48), rgba(17, 17, 17, 0.94)),
    #151412;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  box-shadow: inset 0 0 78px rgba(0, 0, 0, 0.34), 0 22px 54px rgba(0, 0, 0, 0.22);
}

.map-figure {
  position: relative;
  --map-total-scale: 1;
  --map-pan-x: 0%;
  --map-pan-y: 0%;
  width: 100%;
  height: auto;
  aspect-ratio: 1050 / 976;
  min-height: 0;
  transform: translate(var(--map-pan-x), var(--map-pan-y)) scale(var(--map-total-scale));
  transform-origin: center center;
  filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.36));
  transition: transform 620ms var(--ease), filter 620ms ease, opacity 220ms ease;
}

.map-figure.is-map-moving {
  will-change: transform, opacity;
}

.map-figure img {
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0.95;
  object-fit: contain;
  transition: opacity 300ms ease, filter 520ms ease;
}

#map-dots {
  position: absolute;
  inset: 0;
  z-index: 2;
  --map-marker-scale: 1;
}

.map-reach {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 45% 52%, rgba(255, 180, 137, 0.24) 0 6%, rgba(232, 96, 26, 0.25) 18%, rgba(232, 96, 26, 0.13) 34%, transparent 50%),
    radial-gradient(ellipse at 53% 59%, rgba(255, 180, 137, 0.18) 0 7%, rgba(232, 96, 26, 0.18) 22%, transparent 42%);
  mix-blend-mode: screen;
  pointer-events: none;
}

.map-spot {
  position: absolute;
  z-index: 2;
  width: var(--spot-size);
  height: var(--spot-size);
  padding: 0;
  transform: translate(-50%, -50%) scale(var(--map-marker-scale));
  transform-origin: center;
  color: var(--paper);
  background: transparent;
  border: 0;
  cursor: pointer;
  transition: opacity 180ms ease, transform 180ms var(--ease);
}

.map-spot.is-cluster {
  z-index: 4;
}

.map-spot.is-auction {
  z-index: 5;
}

.map-spot.is-muted {
  opacity: 0.38;
}

.map-spot.is-dimmed {
  opacity: 0.62;
}

.map-pin {
  display: grid;
  place-items: center;
  width: var(--spot-size);
  height: var(--spot-size);
  border-radius: 999px;
  background: var(--orange);
  border: 2px solid rgba(255, 255, 255, 0.92);
  box-shadow: none;
  color: var(--ink);
  font-size: 0.74rem;
  font-weight: 950;
  line-height: 1;
  transition: background 180ms ease, border-color 180ms ease, opacity 180ms ease;
}

.map-spot::after {
  content: none;
}

.map-spot.is-cluster .map-pin {
  background: var(--gold);
  border-color: var(--paper);
}

.map-spot.is-dimmed .map-pin {
  background: rgba(232, 96, 26, 0.76);
  border-color: rgba(255, 255, 255, 0.64);
}

.map-count {
  transform: translateY(0.5px);
}

.map-city-label {
  position: absolute;
  z-index: 6;
  min-width: max-content;
  max-width: min(210px, 34vw);
  padding: 8px 10px;
  color: var(--paper);
  background: rgba(17, 17, 17, 0.82);
  border: 1px solid rgba(255, 180, 137, 0.58);
  border-left: 4px solid var(--gold);
  border-radius: 5px;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.28);
  pointer-events: none;
  transform: translate(-50%, -100%);
}

.map-city-label strong,
.map-city-label span {
  display: block;
}

.map-city-label strong {
  font-size: 0.78rem;
  font-weight: 950;
  line-height: 1.05;
  text-transform: uppercase;
}

.map-city-label span {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.66rem;
  font-weight: 850;
  line-height: 1.15;
  text-transform: uppercase;
}

.map-spot:hover,
.map-spot:focus-visible,
.map-spot.is-active {
  z-index: 7;
  outline: 0;
}

.map-spot:hover .map-pin,
.map-spot:focus-visible .map-pin,
.map-spot.is-active .map-pin {
  background: var(--paper);
  border-color: var(--gold);
}

.map-reset {
  position: absolute;
  top: clamp(14px, 2vw, 22px);
  right: clamp(14px, 2vw, 22px);
  z-index: 8;
  padding: 8px 10px;
  color: var(--paper);
  background: rgba(17, 17, 17, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 5px;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
  cursor: pointer;
}

.map-reset:hover,
.map-reset:focus-visible {
  background: var(--orange);
}

.map-legend {
  position: absolute;
  left: 50%;
  right: auto;
  bottom: clamp(14px, 2vw, 22px);
  z-index: 6;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  width: max-content;
  max-width: calc(100% - 32px);
  padding: 11px 12px;
  background: rgba(18, 17, 16, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  backdrop-filter: blur(10px);
  transform: translateX(-50%);
}

.map-legend span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.74rem;
  font-weight: 850;
  text-transform: uppercase;
}

.map-legend i {
  display: inline-block;
  flex: 0 0 auto;
}

.legend-hotspot,
.legend-area {
  width: 13px;
  height: 13px;
  border: 2px solid var(--paper);
  border-radius: 999px;
}

.legend-hotspot {
  background: var(--gold);
  box-shadow: 0 0 14px rgba(255, 180, 137, 0.8);
}

.legend-area {
  width: 10px;
  height: 10px;
  background: var(--orange);
  box-shadow: 0 0 12px rgba(232, 96, 26, 0.78);
}

.legend-reach {
  width: 24px;
  height: 13px;
  background: radial-gradient(ellipse, rgba(255, 180, 137, 0.46), rgba(232, 96, 26, 0.22) 58%, transparent 74%);
  border-radius: 999px;
}

.legend-note {
  width: 18px;
  height: 2px;
  background: var(--gold);
}

.region-copy {
  display: grid;
  align-content: start;
  align-self: stretch;
  padding: 26px;
  background: rgba(255, 255, 255, 0.075);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.16);
}

.region-copy h3 {
  margin: 0;
  font-size: clamp(1.55rem, 2.4vw, 2rem);
  line-height: 1.05;
  text-transform: uppercase;
}

.region-copy p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.8);
}

.region-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.region-stats div {
  padding: 10px;
  background: rgba(17, 17, 17, 0.24);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 6px;
}

.region-stats strong,
.region-stats span {
  display: block;
}

.region-stats strong {
  color: var(--gold);
  font-size: 0.86rem;
  font-weight: 950;
  line-height: 1.05;
  text-transform: uppercase;
}

.region-stats span {
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.7rem;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
}

.map-detail {
  margin-top: 18px;
  padding: 16px;
  background: rgba(17, 17, 17, 0.3);
  border: 1px solid rgba(255, 180, 137, 0.28);
  border-left: 4px solid var(--gold);
  border-radius: 6px;
}

.map-detail p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.94rem;
  font-weight: 650;
  line-height: 1.4;
}

.map-detail small {
  display: block;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.72rem;
  font-weight: 850;
  line-height: 1.35;
  text-transform: uppercase;
}

.region-service-notes {
  display: grid;
  gap: 12px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.region-copy.is-showing-city-list .region-service-notes {
  display: none;
}

.region-service-notes div {
  padding: 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
}

.region-service-notes strong,
.region-service-notes span {
  display: block;
}

.region-service-notes strong {
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  line-height: 1.1;
  text-transform: uppercase;
}

.region-service-notes span {
  margin-top: 7px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.88rem;
  font-weight: 650;
  line-height: 1.42;
}

.map-detail span {
  display: block;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.map-detail > strong {
  display: block;
  margin-top: 4px;
  font-size: clamp(1.35rem, 2.1vw, 1.8rem);
  line-height: 1.04;
  text-transform: uppercase;
  overflow-wrap: anywhere;
  word-break: normal;
}

.map-detail > strong.is-long {
  font-size: clamp(1.02rem, 1.55vw, 1.34rem);
  line-height: 1.12;
}

.map-detail.is-city-list {
  padding-bottom: 12px;
}

.map-listing-list {
  display: grid;
  gap: 8px;
  max-height: min(430px, 48vh);
  margin-top: 14px;
  padding-right: 6px;
  overflow-y: auto;
  scrollbar-color: rgba(255, 180, 137, 0.72) rgba(255, 255, 255, 0.1);
}

.map-listing {
  width: 100%;
  padding: 10px 11px;
  color: var(--paper);
  text-align: left;
  background: rgba(255, 255, 255, 0.065);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 6px;
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease, opacity 180ms ease;
}

.map-listing:hover,
.map-listing:focus-visible,
.map-listing.is-active {
  background: rgba(255, 180, 137, 0.13);
  border-color: rgba(255, 180, 137, 0.66);
  outline: 0;
}

.map-listing-date,
.map-listing strong,
.map-listing em {
  display: block;
}

.map-listing-date {
  color: rgba(255, 180, 137, 0.92);
  font-size: 0.72rem;
  font-weight: 920;
  letter-spacing: 0.04em;
  line-height: 1.15;
  text-transform: uppercase;
}

.map-listing strong {
  margin-top: 4px;
  color: var(--paper);
  font-size: 0.85rem;
  font-weight: 900;
  line-height: 1.18;
}

.map-listing em {
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.82rem;
  font-style: normal;
  font-weight: 650;
  line-height: 1.34;
}

.section-split {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1fr);
  gap: 44px;
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  padding-right: 0;
  padding-left: 0;
  align-items: center;
  background: var(--cream);
}

.portrait-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(17, 17, 17, 0.22);
  border-radius: 12px;
  box-shadow: -10px 10px 0 rgba(62, 92, 55, 0.14), var(--soft-shadow);
}

.portrait-frame img,
.portrait-frame video {
  width: 100%;
  aspect-ratio: 16 / 9;
  padding: 3px;
  object-fit: contain;
  object-position: left center;
}

.portrait-frame video {
  background: var(--ink);
  pointer-events: none;
}

.video-frame {
  aspect-ratio: 16 / 9;
  background: var(--ink);
}

.video-frame video {
  height: 100%;
  transform: scale(1.04);
  transform-origin: center center;
}

.video-frame.is-crossfade-frame video.loop-video-layer {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.55s ease;
}

.video-frame.is-crossfade-frame video.loop-video-layer.is-active {
  opacity: 1;
}

.video-frame.is-crossfade-frame video.loop-video-layer.is-fading {
  opacity: 0;
}

.auctioneer-copy h2,
.signup-copy h2 {
  font-size: clamp(2.45rem, 5vw, 3.4rem);
}

.auctioneer-copy p:not(.eyebrow),
.signup-copy p {
  max-width: 680px;
  color: rgba(17, 17, 17, 0.72);
  font-size: 1.05rem;
}

.auctioneer-bio {
  display: grid;
  gap: 12px;
  max-width: 720px;
  margin-top: 24px;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.64);
  border-left: 6px solid var(--orange);
  border-radius: 0 10px 10px 0;
  box-shadow: 0 16px 34px rgba(17, 17, 17, 0.08);
}

.auctioneer-bio p {
  margin: 0;
  color: rgba(17, 17, 17, 0.78);
  font-size: 1.02rem;
  font-weight: 650;
  line-height: 1.48;
}

blockquote {
  margin: 26px 0 0;
  padding: 18px 20px;
  background: var(--paper);
  border-left: 6px solid var(--orange);
  border-radius: 0 10px 10px 0;
  box-shadow: 0 16px 34px rgba(17, 17, 17, 0.08);
  font-size: 1.14rem;
  font-weight: 900;
}

.section-signup {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(280px, 0.42fr) minmax(0, 0.58fr);
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
  padding-right: max(24px, calc((100vw - var(--max)) / 2));
  padding-left: max(24px, calc((100vw - var(--max)) / 2));
  overflow: hidden;
  color: var(--paper);
  background:
    linear-gradient(112deg, #171513 0 43%, rgba(232, 96, 26, 0.96) 43% 100%),
    linear-gradient(180deg, #24211d, #151412);
  border-top: 6px solid var(--orange);
  border-bottom: 1px solid rgba(17, 17, 17, 0.34);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    inset 0 44px 90px rgba(0, 0, 0, 0.3);
}

.section-signup::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(135deg, transparent 0 60%, rgba(255, 255, 255, 0.16) 60% 60.6%, transparent 60.6%),
    radial-gradient(ellipse at 22% 45%, rgba(255, 255, 255, 0.06), transparent 45%);
  opacity: 0.9;
  pointer-events: none;
}

.signup-copy,
.signup-form {
  width: 100%;
}

.signup-copy {
  display: grid;
  align-content: center;
  justify-self: end;
  max-width: 520px;
  padding-left: clamp(20px, 2vw, 28px);
  border-left: 7px solid var(--orange);
}

.signup-copy h2 {
  max-width: 560px;
  font-family: var(--font-sans);
  font-size: clamp(2rem, 4vw, 3.12rem);
  font-weight: 950;
  letter-spacing: 0;
  line-height: 1.02;
  color: #fff7ed;
  text-transform: none;
  text-wrap: balance;
  text-shadow: 0 16px 34px rgba(0, 0, 0, 0.36);
}

.signup-copy h2 span {
  display: block;
  color: #ffb489;
}

.signup-copy p:not(.eyebrow) {
  max-width: 540px;
  margin: 22px 0 0;
  color: rgba(255, 247, 237, 0.82);
  font-size: clamp(1.04rem, 1.7vw, 1.18rem);
  font-weight: 650;
  line-height: 1.5;
}

.section-signup .signup-copy .eyebrow {
  color: #ffb489;
  font-weight: 900;
}

.signup-form {
  position: relative;
  justify-self: start;
  max-width: 690px;
  padding: clamp(22px, 3vw, 32px);
  overflow: hidden;
  color: var(--ink);
  background:
    linear-gradient(180deg, #fffaf0 0%, #f6eadc 100%),
    var(--cream);
  border: 1px solid rgba(17, 17, 17, 0.22);
  border-radius: 8px;
  box-shadow:
    0 34px 72px rgba(0, 0, 0, 0.38),
    0 8px 0 rgba(17, 17, 17, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.signup-form::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, var(--orange), #171513);
}

.signup-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.signup-form-header {
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(17, 17, 17, 0.16);
}

.signup-form-header .eyebrow {
  margin-bottom: 8px;
  color: var(--orange-dark);
  font-weight: 900;
}

.signup-form-header h3 {
  margin: 0;
  max-width: 620px;
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: clamp(1.4rem, 2.2vw, 1.8rem);
  font-weight: 950;
  letter-spacing: 0;
  line-height: 1.08;
  text-transform: none;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.signup-form label,
.signup-form legend {
  color: rgba(17, 17, 17, 0.84);
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.signup-form input,
.signup-form select {
  color: var(--ink);
  background: #fffdf7;
  border: 1px solid rgba(17, 17, 17, 0.26);
  box-shadow:
    inset 0 1px 2px rgba(17, 17, 17, 0.08),
    0 9px 18px rgba(17, 17, 17, 0.12);
  font-weight: 800;
}

.signup-form input::placeholder {
  color: rgba(17, 17, 17, 0.48);
}

.signup-form input:focus,
.signup-form select:focus {
  background: var(--paper);
  border-color: var(--orange);
  box-shadow:
    0 0 0 4px rgba(232, 96, 26, 0.18),
    0 12px 24px rgba(17, 17, 17, 0.14);
}

input,
select {
  width: 100%;
  min-height: 50px;
  margin-top: 7px;
  padding: 11px 13px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid rgba(17, 17, 17, 0.2);
  border-radius: 6px;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

input:focus,
select:focus {
  outline: 3px solid rgba(232, 96, 26, 0.24);
  border-color: var(--orange);
  box-shadow: 0 0 0 1px rgba(232, 96, 26, 0.16);
}

fieldset {
  margin: 22px 0 0;
  padding: 0;
  border: 0;
}

.signup-form legend {
  margin-bottom: 10px;
}

.choice-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.choice-row label {
  position: relative;
  display: flex;
  gap: 10px;
  align-items: center;
  min-height: 50px;
  padding: 12px 13px;
  color: var(--ink);
  background: #fffdf7;
  border: 1px solid rgba(17, 17, 17, 0.2);
  border-radius: 6px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    0 8px 17px rgba(17, 17, 17, 0.1);
  letter-spacing: 0;
  text-transform: none;
  cursor: pointer;
  transition: transform 180ms var(--ease), border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.choice-row label:hover {
  border-color: rgba(232, 96, 26, 0.42);
  box-shadow: 0 12px 26px rgba(17, 17, 17, 0.08);
  transform: translateY(-1px);
}

.choice-row label:has(input:checked) {
  color: var(--ink);
  background: linear-gradient(135deg, rgba(232, 96, 26, 0.18), #fff7eb);
  border-color: var(--orange);
  box-shadow:
    inset 4px 0 0 var(--orange),
    0 14px 26px rgba(232, 96, 26, 0.16);
}

.choice-row input {
  flex: 0 0 auto;
  width: 19px;
  min-height: 19px;
  margin: 0;
  background: var(--paper);
  box-shadow: none;
  accent-color: var(--orange);
}

.choice-row input:focus-visible {
  outline: 3px solid rgba(232, 96, 26, 0.26);
  outline-offset: 3px;
}

.form-actions {
  display: grid;
  gap: 12px;
  align-items: start;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(17, 17, 17, 0.1);
}

.form-actions .button {
  width: min(100%, 240px);
}

.form-status {
  min-height: 24px;
  margin: 0;
  font-weight: 800;
}

.form-status.is-error {
  color: #a51d1d;
}

.form-status.is-success {
  color: #24572a;
}

.site-footer {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: var(--paper);
  background: var(--brand-black);
  border-top: 3px solid var(--orange);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: none;
  opacity: 0;
  pointer-events: none;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(260px, 0.34fr) minmax(0, 0.66fr);
  gap: clamp(28px, 5vw, 56px);
  align-items: start;
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  padding: 42px 0;
}

.footer-brand {
  display: grid;
  gap: 14px;
  align-items: center;
  justify-items: center;
  padding-top: 6px;
  text-align: center;
}

.footer-logo-frame {
  display: block;
  width: min(420px, 100%);
  aspect-ratio: 1194 / 485;
  overflow: visible;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.site-footer .footer-logo {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 100%;
  aspect-ratio: 1194 / 485;
  object-fit: contain;
  object-position: center;
  border-radius: 0;
}

.site-footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.98rem;
  font-weight: 650;
}

.footer-contact {
  display: grid;
  gap: 12px;
  justify-self: start;
  width: min(100%, 760px);
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-style: normal;
}

.footer-kicker {
  color: var(--orange);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer-address {
  font-size: 1.05rem;
  font-weight: 700;
}

.footer-phone-list {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  margin-top: 4px;
}

.footer-phone {
  display: grid;
  gap: 2px;
  grid-column: span 2;
  min-height: 76px;
  padding: 10px 12px;
  color: var(--paper);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  transition: transform 180ms var(--ease), border-color 180ms ease, background 180ms ease;
}

.footer-phone:hover {
  transform: translateY(-2px);
  background: rgba(232, 96, 26, 0.14);
  border-color: rgba(232, 96, 26, 0.52);
}

.footer-phone span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-phone strong {
  color: var(--paper);
  font-size: 0.96rem;
  line-height: 1.18;
  overflow-wrap: anywhere;
}

.footer-phone[href^="mailto:"] strong {
  font-size: clamp(0.76rem, 2.1vw, 0.96rem);
  white-space: normal;
}

.footer-phone em {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 750;
  line-height: 1.22;
}

.footer-subhead {
  grid-column: 1 / -1;
  margin-top: 2px;
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-phone-primary {
  grid-column: span 2;
}

.footer-phone-wide {
  grid-column: span 4;
}

.auction-detail {
  background: var(--cream);
}

.contact-page {
  background: var(--cream);
}

.contact-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.68fr);
  gap: clamp(30px, 5vw, 64px);
  align-items: start;
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  padding: clamp(58px, 8vw, 96px) 0 56px;
}

.contact-hero-copy {
  padding-top: 10px;
}

.contact-hero h1 {
  max-width: 760px;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6.4vw, 5.1rem);
  font-weight: 400;
  letter-spacing: 0.005em;
  line-height: 0.96;
  text-transform: uppercase;
  text-wrap: balance;
}

.contact-hero-copy p:not(.eyebrow) {
  max-width: 680px;
  margin: 22px 0 0;
  color: rgba(17, 17, 17, 0.72);
  font-size: clamp(1.04rem, 1.5vw, 1.18rem);
  line-height: 1.55;
}

.contact-primary {
  display: grid;
  gap: 12px;
  padding: 18px;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 8px;
  box-shadow: 12px 12px 0 rgba(232, 96, 26, 0.18), 0 20px 44px rgba(17, 17, 17, 0.1);
}

.contact-method {
  display: grid;
  gap: 6px;
  padding: 18px;
  color: var(--ink);
  text-decoration: none;
  background: #fffaf0;
  border: 1px solid rgba(17, 17, 17, 0.16);
  border-left: 5px solid var(--orange);
  border-radius: 6px;
  transition: transform 180ms var(--ease), border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.contact-method:hover,
.contact-method:focus-visible {
  background: var(--paper);
  border-color: rgba(232, 96, 26, 0.5);
  box-shadow: 0 12px 24px rgba(17, 17, 17, 0.1);
  transform: translateY(-2px);
}

.contact-method.is-primary {
  color: var(--paper);
  background: linear-gradient(180deg, var(--charcoal), #171717);
  border-color: var(--ink);
  border-left-color: var(--orange);
}

.contact-method span,
.contact-info-item span {
  color: var(--orange-dark);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.contact-method.is-primary span {
  color: var(--gold);
}

.contact-method strong {
  font-size: clamp(1.16rem, 2vw, 1.42rem);
  line-height: 1.16;
  overflow-wrap: anywhere;
}

.contact-method[href^="mailto:"] strong {
  font-size: clamp(0.94rem, 1.55vw, 1.18rem);
  white-space: normal;
}

.contact-method em {
  color: rgba(17, 17, 17, 0.66);
  font-size: 0.95rem;
  font-style: normal;
  font-weight: 700;
  line-height: 1.35;
}

.contact-method.is-primary em {
  color: rgba(255, 255, 255, 0.78);
}

.contact-associates {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto 34px;
}

.contact-section-heading {
  display: grid;
  gap: 6px;
  margin-bottom: 16px;
}

.contact-section-heading h2 {
  max-width: 720px;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4.5vw, 3.55rem);
  font-weight: 400;
  line-height: 0.98;
  text-transform: uppercase;
  text-wrap: balance;
}

.associate-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.associate-card {
  display: grid;
  gap: 7px;
  min-height: 138px;
  align-content: start;
  padding: 20px;
  color: var(--ink);
  text-decoration: none;
  background: var(--paper);
  border: 1px solid rgba(17, 17, 17, 0.16);
  border-top: 5px solid var(--orange);
  border-radius: 8px;
  box-shadow: 0 14px 30px rgba(17, 17, 17, 0.08);
  transition: transform 180ms var(--ease), border-color 180ms ease, box-shadow 180ms ease;
}

.associate-card:hover,
.associate-card:focus-visible {
  border-color: rgba(232, 96, 26, 0.48);
  box-shadow: 0 18px 34px rgba(17, 17, 17, 0.12);
  transform: translateY(-2px);
}

.associate-card span {
  color: var(--orange-dark);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.associate-card strong {
  font-size: clamp(1.12rem, 2vw, 1.36rem);
  line-height: 1.16;
}

.associate-card em {
  color: rgba(17, 17, 17, 0.62);
  font-size: 0.95rem;
  font-style: normal;
  font-weight: 750;
}

.contact-info-band {
  display: grid;
  grid-template-columns: 0.7fr 0.9fr 1.1fr;
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto 34px;
  overflow: hidden;
  color: var(--paper);
  background:
    linear-gradient(180deg, #171513 0%, #22201d 58%, #151412 100%);
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(17, 17, 17, 0.16);
}

.contact-info-item {
  display: grid;
  gap: 9px;
  align-content: start;
  min-height: 142px;
  padding: 26px;
}

.contact-info-item + .contact-info-item {
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.contact-info-item span {
  color: var(--gold);
}

.contact-info-item strong {
  font-size: clamp(1rem, 1.8vw, 1.22rem);
  line-height: 1.34;
}

.detail-loading,
.detail-hero,
.detail-tracts,
.not-found {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}

.detail-loading,
.not-found {
  min-height: 420px;
  padding: 90px 0;
}

/* ---------- Detail hero: copy left, sale bill right ---------- */

.detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 520px);
  gap: clamp(28px, 4vw, 56px);
  padding: 64px 0 64px;
  align-items: start;
}

.detail-copy {
  align-self: start;
  padding-top: 6px;
}

.detail-hero h1 {
  font-size: clamp(2.6rem, 5.4vw, 4.4rem);
  margin: 8px 0 0;
}

.detail-copy p:not(.eyebrow) {
  max-width: 56ch;
  margin: 18px 0 0;
  color: rgba(17, 17, 17, 0.74);
  font-size: 1.08rem;
  line-height: 1.55;
}

.detail-sale-bill {
  position: relative;
  display: grid;
  gap: clamp(14px, 1.8vw, 20px);
  align-self: start;
  align-content: start;
  justify-self: center;
  width: min(100%, 500px);
  height: fit-content;
  overflow: visible;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.detail-sale-bill:hover,
.detail-sale-bill:focus-within {
  box-shadow: none;
}

.sale-bill-button {
  display: grid;
  gap: 10px;
  width: 100%;
  min-height: clamp(220px, 28vw, 360px);
  padding: clamp(24px, 4vw, 42px);
  color: inherit;
  background: linear-gradient(180deg, #fff 0%, var(--cream) 100%);
  border: 0;
  text-decoration: none;
  align-content: center;
}

.sale-bill-preview-button {
  display: block;
  width: 100%;
  min-height: clamp(300px, 34vw, 470px);
  aspect-ratio: 3 / 4;
  padding: 0;
  overflow: hidden;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  cursor: zoom-in;
}

.sale-bill-preview-button.is-pdf-preview {
  min-height: clamp(300px, 34vw, 470px);
  aspect-ratio: 3 / 4;
  background: transparent;
  cursor: zoom-in;
}

.sale-bill-preview-button.is-pdf-preview iframe {
  display: block;
  width: 100%;
  min-height: 100%;
  border: 0;
  pointer-events: none;
}

.sale-bill-preview-button.is-converting-pdf,
.auction-card-media.is-converting-pdf {
  display: grid;
  place-items: center;
  color: rgba(17, 17, 17, 0.68);
  background: #f7f3ea;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-align: center;
  text-transform: uppercase;
}

.auction-card-media.is-converting-pdf {
  min-height: 100%;
  padding: 18px;
}

.detail-sale-bill .sale-bill-preview-button.is-converting-pdf {
  min-height: clamp(300px, 34vw, 520px);
  aspect-ratio: 3 / 4;
}

.detail-sale-bill .sale-bill-preview-button::after {
  content: none;
}

.detail-sale-bill .sale-bill-preview-button {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.detail-sale-bill .sale-bill-preview-button:not(.is-pdf-preview) {
  min-height: 0;
  aspect-ratio: auto;
}

.detail-sale-bill .sale-bill-preview-button:hover,
.detail-sale-bill .sale-bill-preview-button:focus-visible {
  filter: none;
  box-shadow: none;
  transform: none;
}

.detail-sale-bill .sale-bill-preview-button img {
  height: auto;
  padding: 0;
}

.detail-sale-bill .sale-bill-preview-button:hover img,
.detail-sale-bill .sale-bill-preview-button:focus-visible img {
  transform: none;
}

.detail-sale-bill .sale-bill-preview-button .sale-bill-pdf-viewer {
  display: block;
  height: 100%;
  min-height: 0;
  background: transparent;
}

.detail-sale-bill .sale-bill-preview-button .pdf-canvas-stage {
  height: 100%;
  min-height: 0;
  padding: 0;
  background: transparent;
}

.detail-sale-bill .sale-bill-preview-button .pdf-canvas-stage canvas {
  box-shadow: none;
}

.detail-sale-bill .sale-bill-preview-button .pdf-viewer-status {
  display: none;
}

.sale-bill-pdf-viewer {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  width: 100%;
  min-height: clamp(520px, 68vh, 820px);
  background: #171717;
}

.pdf-canvas-stage {
  position: relative;
  display: grid;
  min-height: clamp(470px, 62vh, 760px);
  padding: 12px;
  overflow: hidden;
  place-items: center;
  background: #242424;
}

.pdf-canvas-stage canvas {
  display: block;
  max-width: 100%;
  max-height: 100%;
  background: #fff;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.34);
}

.pdf-viewer-status {
  position: absolute;
  right: 12px;
  bottom: 12px;
  max-width: calc(100% - 24px);
  padding: 7px 9px;
  color: var(--paper);
  background: rgba(17, 17, 17, 0.84);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1.25;
  text-transform: uppercase;
}

.sale-bill-pdf-viewer.is-loading canvas {
  opacity: 0.34;
}

.sale-bill-pdf-viewer iframe {
  display: block;
  width: 100%;
  min-height: clamp(470px, 62vh, 760px);
  border: 0;
  background: #f7f3ea;
  pointer-events: auto;
}

.pdf-viewer-controls {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 8px;
  align-items: center;
  padding: 10px;
  background: rgba(17, 17, 17, 0.9);
}

.pdf-viewer-controls span {
  color: var(--paper);
  font-size: 0.78rem;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
}

.pdf-viewer-controls .button {
  min-height: 36px;
  padding: 8px 10px;
  font-size: 0.72rem;
}

.sale-bill-pdf-viewer.is-native-fallback .pdf-canvas-stage {
  padding: 0;
}

.detail-sale-bill img {
  display: block;
  width: 100%;
  height: auto;
  min-height: 0;
  max-height: none;
  object-fit: contain;
  object-position: center;
}

.sale-bill-link span {
  color: var(--orange);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.sale-bill-link strong {
  max-width: 8ch;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 400;
  line-height: 0.96;
  text-transform: uppercase;
}

.sale-bill-link small {
  max-width: 28ch;
  color: rgba(17, 17, 17, 0.62);
  font-size: 0.82rem;
  font-weight: 800;
  word-break: break-word;
}

.sale-bill-empty {
  display: grid;
  place-items: center;
  aspect-ratio: 3 / 4;
  padding: 28px 18px;
  color: rgba(17, 17, 17, 0.6);
  background: var(--cream);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
}

/* ---------- Facts grid ---------- */

.detail-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 10px;
  margin-top: 28px;
}

.fact {
  padding: 14px 16px;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  transition: transform 220ms var(--ease), box-shadow 220ms ease;
}

.fact:hover {
  transform: translateY(-2px);
  box-shadow: 4px 4px 0 var(--orange);
}

.fact span,
.fact strong {
  display: block;
}

.fact span {
  color: var(--orange-dark);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.fact strong {
  margin-top: 6px;
  font-size: 0.98rem;
  line-height: 1.2;
}

.detail-contact-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  margin-top: 22px;
  padding: 18px;
  background: #fffaf0;
  border: 1px solid rgba(17, 17, 17, 0.14);
  border-left: 5px solid var(--orange);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(17, 17, 17, 0.08);
}

.detail-sale-bill .detail-contact-cta {
  display: grid;
  grid-template-columns: 1fr;
  justify-content: stretch;
  margin-top: 0;
  padding: clamp(16px, 2vw, 20px);
}

.detail-sale-bill .detail-contact-cta .button {
  width: fit-content;
  max-width: 100%;
}

.detail-contact-cta .eyebrow {
  margin-bottom: 6px;
  color: var(--orange-dark);
}

.detail-contact-cta strong {
  display: block;
  font-size: 1.05rem;
  line-height: 1.25;
}

/* ---------- Additional info: nested in left column under facts ---------- */

.detail-additional {
  margin-top: 24px;
  padding: clamp(22px, 2.6vw, 30px);
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: 0 14px 32px rgba(17, 17, 17, 0.08);
}

.additional-header {
  display: grid;
  gap: 4px;
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(17, 17, 17, 0.12);
}

.additional-header h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.55rem, 2.6vw, 2.05rem);
  letter-spacing: 0.005em;
  line-height: 1.02;
  text-transform: uppercase;
}

.additional-grid {
  display: grid;
  gap: 0;
}

.additional-item {
  padding: 0;
  border-top: 0;
}

.additional-item:first-child {
  padding-top: 0;
  border-top: 0;
}

.additional-item:last-child {
  padding-bottom: 0;
}

.additional-item h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange-dark);
}

.additional-item p {
  margin: 0;
  color: rgba(17, 17, 17, 0.78);
  font-size: 0.96rem;
  line-height: 1.6;
}

.additional-item a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--orange);
  text-underline-offset: 3px;
  transition: color 200ms ease, text-decoration-color 200ms ease;
}

.additional-item a:hover,
.additional-item a:focus-visible {
  color: var(--orange-dark);
  text-decoration-color: var(--orange-dark);
}

/* ---------- Photo galleries ---------- */

.detail-tracts {
  display: grid;
  gap: clamp(56px, 7vw, 96px);
  padding-bottom: clamp(56px, 8vw, 96px);
}

.tract-section {
  display: grid;
  gap: 28px;
}

.tract-header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 16px 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(17, 17, 17, 0.14);
}

.tract-header .eyebrow {
  margin: 0;
  color: var(--orange);
}

.tract-header h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.85rem, 4vw, 2.8rem);
  letter-spacing: 0.005em;
  line-height: 1;
  text-transform: uppercase;
}

.tract-count {
  margin-left: auto;
  padding: 6px 10px;
  background: rgba(255, 180, 137, 0.18);
  border: 1px solid rgba(255, 180, 137, 0.56);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(17, 17, 17, 0.72);
}

.tract-review {
  padding: 6px 10px;
  background: rgba(245, 196, 0, 0.22);
  border: 1px solid rgba(17, 17, 17, 0.16);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(17, 17, 17, 0.72);
}

.tract-summary {
  margin: -8px 0 0;
  max-width: 70ch;
  color: rgba(17, 17, 17, 0.72);
  font-size: 1rem;
  line-height: 1.55;
}

/* ---------- Gallery board + lightbox ---------- */

.photo-gallery {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(220px, 0.6fr);
  gap: 14px;
  align-items: start;
  margin-top: 2px;
}

.photo-gallery.is-single-gallery {
  grid-template-columns: minmax(0, 820px);
}

.photo-gallery.is-pair-gallery .gallery-thumbs {
  grid-template-columns: 1fr;
}

.photo-gallery.is-pair-gallery .gallery-thumb {
  height: 100%;
  min-height: 240px;
  aspect-ratio: auto;
}

.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  max-height: clamp(300px, 34vw, 470px);
  overflow-y: auto;
  padding-right: 4px;
  overscroll-behavior: contain;
}

.gallery-photo {
  position: relative;
  display: block;
  width: 100%;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  color: var(--paper);
  background: #151515;
  border: 0;
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(17, 17, 17, 0.14);
  cursor: zoom-in;
  transition: transform 260ms var(--ease), box-shadow 260ms ease, filter 260ms ease;
}

.gallery-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent 54%, rgba(0, 0, 0, 0.38));
  opacity: 0.82;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.gallery-feature {
  min-height: clamp(300px, 34vw, 470px);
  aspect-ratio: 16 / 10;
}

.gallery-thumb {
  min-height: 136px;
  aspect-ratio: 4 / 3;
}

.gallery-photo img {
  display: block;
  width: 100%;
  height: 100%;
  padding: 3px;
  object-fit: contain;
  transition: transform 420ms var(--ease), filter 260ms ease;
}

.gallery-photo.is-unresolved-photo {
  display: grid;
  place-items: center;
  min-height: 180px;
  padding: 18px;
  color: var(--paper);
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.gallery-photo.is-unresolved-photo::after {
  opacity: 0.28;
}

.gallery-photo-fallback {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 6px;
  max-width: min(100%, 420px);
  overflow-wrap: anywhere;
}

.gallery-photo-fallback strong {
  font-size: 0.82rem;
  line-height: 1.1;
  text-transform: uppercase;
}

.gallery-photo-fallback span,
.gallery-photo-fallback small {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.72rem;
  line-height: 1.25;
}

.gallery-photo.is-document-photo {
  background: #f1eadf;
}

.gallery-photo.is-document-photo img {
  padding: 8px;
  object-fit: contain;
}

.gallery-photo-index {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 2;
  min-width: 48px;
  padding: 5px 8px;
  color: var(--paper);
  background: rgba(17, 17, 17, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 900;
  line-height: 1;
  text-align: center;
}

.admin-photo-review-tile {
  position: relative;
  min-width: 0;
}

.admin-photo-review-tile .gallery-photo {
  height: 100%;
}

.admin-photo-delete {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 3;
  min-height: 34px;
  padding: 7px 10px;
  color: #fff;
  background: #9f2d17;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 6px;
  box-shadow: 0 10px 22px rgba(17, 17, 17, 0.22);
  font-size: 0.7rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  cursor: pointer;
}

.admin-photo-delete:hover,
.admin-photo-delete:focus-visible {
  background: #711c0c;
  outline: 2px solid rgba(255, 255, 255, 0.86);
  outline-offset: 1px;
}

.gallery-photo:hover,
.gallery-photo:focus-visible {
  outline: 0;
  filter: saturate(1.04) contrast(1.02);
  box-shadow: 0 26px 58px rgba(17, 17, 17, 0.22);
  transform: translateY(-3px);
}

.gallery-photo:hover::after,
.gallery-photo:focus-visible::after {
  opacity: 0.52;
}

.gallery-photo:hover img,
.gallery-photo:focus-visible img {
  transform: scale(1.035);
}

body.has-lightbox {
  overflow: hidden;
}

.detail-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2200;
  display: none;
  place-items: center;
  padding: 18px;
}

.detail-lightbox.is-open {
  display: grid;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  padding: 0;
  background: rgba(12, 12, 12, 0.9);
  border: 0;
  cursor: zoom-out;
}

.lightbox-panel {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 12px;
  width: min(1120px, calc(100vw - 36px));
  height: auto;
  max-height: calc(100svh - 36px);
  color: var(--paper);
}

.lightbox-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 12px;
  align-items: center;
}

.lightbox-title,
.lightbox-count {
  margin: 0;
  font-weight: 900;
  text-transform: uppercase;
}

.lightbox-title {
  color: rgba(255, 255, 255, 0.9);
}

.lightbox-count {
  color: var(--gold);
  font-size: 0.82rem;
}

.lightbox-close,
.lightbox-nav {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: var(--paper);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  cursor: pointer;
  transition: transform 180ms var(--ease), background 180ms ease, border-color 180ms ease;
}

.lightbox-close:hover,
.lightbox-close:focus-visible,
.lightbox-nav:hover,
.lightbox-nav:focus-visible {
  background: var(--orange);
  border-color: var(--orange);
  outline: 0;
  transform: translateY(-1px);
}

.lightbox-frame {
  position: relative;
  display: grid;
  place-items: center;
  height: 76svh;
  max-height: 760px;
  min-height: 0;
  overflow: hidden;
  background: #090909;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.46);
}

.lightbox-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.lightbox-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: #f7f3ea;
}

.detail-lightbox.is-scroll-gallery {
  padding: 16px;
  place-items: stretch center;
}

.detail-lightbox.is-scroll-gallery .lightbox-panel {
  width: min(1040px, calc(100vw - 32px));
  height: calc(100svh - 32px);
  max-height: none;
}

.detail-lightbox.is-scroll-gallery .lightbox-frame {
  height: auto;
  max-height: none;
  overflow-y: auto;
  place-items: start center;
  padding: 0 8px 24px;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  overscroll-behavior: contain;
}

.lightbox-sale-bill-stack {
  display: grid;
  gap: 18px;
  width: min(960px, 100%);
  margin: 0 auto;
}

.detail-lightbox.is-scroll-gallery .lightbox-sale-bill-page {
  display: block;
  position: static;
  inset: auto;
  width: 100%;
  height: auto;
  object-fit: initial;
  background: transparent;
}

.detail-lightbox.is-scroll-gallery .lightbox-nav {
  display: none;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 50px;
  height: 50px;
  transform: translateY(-50%);
}

.lightbox-nav:hover,
.lightbox-nav:focus-visible {
  transform: translateY(calc(-50% - 1px));
}

.lightbox-nav:disabled {
  opacity: 0;
  pointer-events: none;
}

.lightbox-prev {
  left: 14px;
}

.lightbox-next {
  right: 14px;
}

@media (max-width: 760px) {
  .photo-gallery {
    grid-template-columns: 1fr;
  }

  .gallery-thumbs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-height: none;
    overflow: visible;
    padding-right: 0;
  }

  .gallery-feature {
    min-height: 240px;
  }

  .gallery-thumb {
    min-height: 120px;
  }

  .lightbox-panel {
    width: calc(100vw - 24px);
    height: auto;
    max-height: calc(100svh - 24px);
  }

  .lightbox-frame {
    height: 78svh;
  }

  .detail-lightbox.is-scroll-gallery {
    padding: 12px;
  }

  .detail-lightbox.is-scroll-gallery .lightbox-panel {
    width: calc(100vw - 24px);
    height: calc(100svh - 24px);
  }

  .detail-lightbox.is-scroll-gallery .lightbox-frame {
    height: auto;
    padding: 0 0 18px;
  }

  .lightbox-toolbar {
    grid-template-columns: minmax(0, 1fr) auto auto;
  }

  .lightbox-title {
    font-size: 0.88rem;
  }

  .lightbox-nav {
    width: 44px;
    height: 44px;
  }
}

/* ---------- detail mobile ---------- */

@media (max-width: 980px) {
  .detail-hero {
    grid-template-columns: 1fr;
    padding-top: 48px;
  }

  .detail-sale-bill {
    max-width: 620px;
    margin: 0 auto;
    width: 100%;
  }

  .detail-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .additional-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 1120px) {
  .site-header {
    gap: 16px;
    padding: 8px 22px;
  }

  .brand {
    min-width: 0;
  }

  .brand-lockup {
    gap: 2px;
    min-height: 46px;
  }

  .brand-mark {
    width: clamp(61px, 7vw, 65px);
    height: auto;
  }

  .brand-wordmark {
    width: clamp(225px, 26vw, 248px);
    height: auto;
    transform: translateY(1.35px);
  }

  .nav-toggle {
    display: inline-block;
  }

  .site-nav {
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 24px 22px;
    background: rgba(41, 41, 41, 0.98);
    border-bottom: 5px solid var(--orange);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.24);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 220ms ease, transform 220ms var(--ease);
  }

  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav a {
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  .nav-call {
    margin-top: 10px;
    text-align: center;
  }

  .hero-inner h1,
  .detail-hero h1 {
    font-size: 3.05rem;
  }

  .trust-strip,
  .region-layout,
  .section-split,
  .section-signup,
  .detail-hero,
  .detail-body,
  .contact-hero,
  .contact-associates,
  .contact-info-band {
    grid-template-columns: 1fr;
  }

  .trust-strip {
    margin: 0;
    padding: 0 22px;
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.08),
      inset 0 -28px 58px rgba(0, 0, 0, 0.22);
    background:
      linear-gradient(180deg, #171513 0%, #24211d 58%, #171513 100%);
  }

  .trust-strip div {
    min-height: 0;
    padding: 24px 0;
  }

  .trust-strip div + div {
    border-top: 2px solid rgba(232, 96, 26, 0.28);
    border-left: 0;
  }

  .trust-strip span {
    max-width: 48ch;
  }

  .section-signup {
    background:
      linear-gradient(136deg, #171513 0 58%, rgba(232, 96, 26, 0.96) 58% 100%),
      linear-gradient(180deg, #24211d, #151412);
  }

  .region-layout {
    gap: 18px;
  }

  .region-map {
    min-height: 520px;
  }

  .auction-card {
    grid-template-columns: 96px minmax(0, 1fr);
  }

  .auction-card-media {
    grid-column: 1 / -1;
    min-height: 240px;
    aspect-ratio: 16 / 9;
  }

  .signup-copy,
  .signup-form {
    justify-self: stretch;
    width: 100%;
    max-width: none;
  }

  .section-split {
    width: min(var(--max), calc(100% - 48px));
  }

  .detail-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-hero {
    padding-top: 48px;
  }

  .contact-primary {
    width: min(100%, 620px);
  }

  .associate-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .contact-info-item + .contact-info-item {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    border-left: 0;
  }
}

@media (max-width: 680px) {
  .site-header {
    gap: 12px;
    padding: 8px 16px;
  }

  .brand {
    min-width: 0;
  }

  .brand-lockup {
    gap: 2px;
    min-height: 42px;
  }

  .brand-mark {
    width: clamp(48px, 11vw, 56px);
    height: auto;
  }

  .brand-wordmark {
    width: clamp(177px, 51vw, 214px);
    height: auto;
    transform: translateY(1.2px);
  }

  .hero-scroll-stage {
    height: clamp(1080px, 215vh, 1500px);
  }

  .hero-section {
    height: calc(100svh - var(--header-height));
  }

  .hero-inner {
    width: calc(100% - 32px);
    margin-left: 16px;
    padding: 52px 0 74px;
  }

  .hero-inner h1 {
    font-size: 2.55rem;
  }

  .hero-copy {
    font-size: 1rem;
  }

  .section {
    padding: 58px 16px;
  }

  .section-split {
    width: calc(100% - 32px);
    padding-right: 0;
    padding-left: 0;
  }

  .section-signup {
    padding-right: 16px;
    padding-left: 16px;
  }

  .trust-strip {
    padding: 0 16px;
  }

  .trust-strip div {
    padding: 22px 0;
  }

  .trust-strip div::before {
    width: 32px;
    height: 3px;
    margin-bottom: 13px;
  }

  #auctions {
    padding-top: 48px;
  }

  #auctions .section-heading {
    margin-bottom: 22px;
  }

  #auctions .eyebrow {
    margin-bottom: 9px;
    font-size: 0.72rem;
    letter-spacing: 0.14em;
  }

  #auctions .section-heading h2 {
    max-width: 9.4em;
    font-size: clamp(2.15rem, 12vw, 2.85rem);
    line-height: 0.98;
  }

  #auctions .section-heading p:not(.eyebrow) {
    max-width: 34ch;
    margin-top: 12px;
    font-size: 1rem;
    line-height: 1.45;
  }

  .section-heading h2,
  .auctioneer-copy h2,
  .signup-copy h2 {
    font-size: 2.2rem;
  }

  .form-grid,
  .choice-row,
  .detail-facts,
  .gallery-strip {
    grid-template-columns: 1fr;
  }

  .signup-form {
    padding: 22px 18px;
  }

  .form-actions .button {
    width: 100%;
  }

  .auction-card {
    position: relative;
    grid-template-columns: 1fr;
    gap: 0;
    overflow: hidden;
    border-top: 5px solid var(--orange);
    border-left-width: 0;
    border-radius: 12px;
    box-shadow: 0 18px 36px rgba(17, 17, 17, 0.14);
  }

  .auction-date-tile {
    order: -2;
    width: calc(100% - 32px);
    grid-template-columns: auto auto minmax(0, 1fr);
    grid-template-areas:
      "month day countdown"
      "weekday day countdown";
    column-gap: 9px;
    row-gap: 1px;
    justify-content: stretch;
    align-items: center;
    min-height: 0;
    margin: 14px 16px 0;
    padding: 10px 12px 10px 14px;
    color: var(--ink);
    background: #fffaf0;
    border: 1px solid rgba(17, 17, 17, 0.12);
    border-left: 4px solid var(--orange);
    border-radius: 9px;
    box-shadow: 0 10px 22px rgba(17, 17, 17, 0.08);
    text-align: left;
  }

  .auction-date-tile span {
    grid-area: month;
    color: var(--orange);
    font-size: 0.7rem;
    line-height: 1;
  }

  .auction-date-tile strong {
    grid-area: day;
    color: var(--ink);
    font-size: 2.08rem;
    line-height: 0.88;
  }

  .auction-date-tile small {
    grid-area: weekday;
    color: rgba(17, 17, 17, 0.62);
    font-size: 0.68rem;
    line-height: 1;
  }

  .auction-date-tile em {
    grid-area: countdown;
    justify-self: end;
    margin-top: 0;
    margin-left: auto;
    padding: 7px 10px;
    color: var(--ink);
    background: rgba(255, 180, 137, 0.5);
    border: 1px solid rgba(232, 96, 26, 0.24);
    font-size: 0.64rem;
    line-height: 1;
    white-space: nowrap;
  }

  .auction-card-media {
    order: -3;
    min-height: 0;
    aspect-ratio: auto;
    background: #d9d5cd;
  }

  .auction-card-media img {
    display: block;
    height: auto;
    padding: 4px;
    object-fit: contain;
  }

  .auction-card:hover .auction-card-media img,
  .auction-card:focus-within .auction-card-media img {
    transform: none;
  }

  .auction-card-body {
    gap: 11px;
    padding: 18px 16px 20px;
  }

  .auction-card-top {
    gap: 7px;
  }

  .auction-card-top .countdown-pill {
    display: none;
  }

  .auction-status,
  .countdown-pill {
    min-height: 26px;
    padding: 5px 9px;
    font-size: 0.68rem;
  }

  .auction-card h3 {
    font-family: var(--font-sans);
    font-size: clamp(1.45rem, 7.2vw, 1.85rem);
    font-weight: 950;
    letter-spacing: 0;
    line-height: 1.08;
  }

  .auction-card-body > .auction-date {
    display: none;
  }

  .auction-card p {
    font-size: 1rem;
    line-height: 1.45;
  }

  .auction-meta {
    gap: 6px;
  }

  .auction-meta span {
    padding: 5px 7px;
    font-size: 0.7rem;
  }

  .card-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    width: 100%;
    margin-top: 2px;
    color: var(--paper);
    background: var(--ink);
    border-radius: 6px;
    text-decoration: none;
  }

  .card-link:hover,
  .card-link:focus-visible {
    color: var(--paper);
    background: var(--orange-dark);
  }

  .region-map {
    min-height: 0;
  }

  .section-map {
    padding-top: 58px;
    padding-bottom: 54px;
  }

  .map-figure {
    --map-total-scale: 1;
    min-height: 0;
  }

  #map-dots {
    --map-marker-scale: 0.66;
  }

  .map-legend {
    position: static;
    width: auto;
    max-width: none;
    margin-top: 14px;
    transform: none;
  }

  .site-footer {
    border-top-width: 3px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    width: calc(100% - 32px);
    gap: 24px;
    padding: 32px 0;
  }

  .footer-logo-frame {
    width: min(100%, 380px);
  }

  .footer-contact {
    justify-self: stretch;
  }

  .footer-phone-list {
    grid-template-columns: 1fr;
  }

  .footer-phone,
  .footer-phone-primary,
  .footer-phone-wide,
  .footer-subhead {
    grid-column: auto;
  }

  .detail-loading,
  .detail-hero,
  .detail-tracts,
  .detail-body,
  .not-found,
  .contact-hero,
  .contact-associates,
  .contact-info-band {
    width: calc(100% - 32px);
  }

  .detail-hero h1,
  .contact-hero h1 {
    font-size: 2.65rem;
  }

  .contact-primary {
    padding: 12px;
    box-shadow: 7px 7px 0 rgba(232, 96, 26, 0.18), 0 16px 34px rgba(17, 17, 17, 0.1);
  }

  .contact-method,
  .associate-card,
  .contact-info-item {
    padding: 18px;
  }

  .associate-grid {
    grid-template-columns: 1fr;
  }

  .detail-contact-cta .button {
    width: 100%;
  }

  .gavel-intro-mark {
    width: min(76vw, 340px);
  }

  .gavel-intro-flash {
    width: 62%;
  }

  .gavel-intro-sparks {
    display: none;
  }
}

@media (max-width: 380px) {
  .site-header {
    gap: 10px;
    padding-inline: 12px;
  }

  .brand-lockup {
    min-height: 38px;
  }

  .brand-mark {
    width: 44px;
    height: auto;
  }

  .brand-wordmark {
    width: 171px;
    height: auto;
    transform: translateY(1px);
  }

  .nav-toggle {
    width: 40px;
    height: 40px;
    padding: 8px;
  }
}

@media (max-width: 480px) {
  #map-dots {
    --map-marker-scale: 0.58;
  }

  .auction-date-tile {
    grid-template-columns: auto auto minmax(0, 1fr);
  }

  .auction-date-tile em {
    justify-self: end;
    margin-left: 0;
  }
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 720ms var(--ease), transform 720ms var(--ease);
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal-on-scroll {
    opacity: 1;
    transform: none;
  }

  .hero-scroll-stage {
    height: auto;
    min-height: calc(100svh - var(--header-height));
    background: var(--ink);
  }

  .hero-section {
    position: relative;
    top: 0;
  }

  .hero-media {
    transform: translateZ(0) scale(1.08);
  }

  .hero-inner {
    opacity: 1;
    transform: none;
  }

  .gavel-intro-flash,
  .gavel-intro-sparks {
    display: none;
  }
}

.system-page,
.admin-shell {
  min-height: 100svh;
  padding: 32px;
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(232, 96, 26, 0.12), transparent 34%),
    var(--cream);
}

.system-panel,
.admin-panel {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 28px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--soft-shadow);
}

.system-panel {
  max-width: 720px;
  margin-top: 8vh;
}

.system-panel h1,
.admin-panel h1,
.admin-topbar h1 {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  line-height: 0.96;
  text-transform: uppercase;
}

.system-actions,
.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.approval-summary {
  display: grid;
  gap: 14px;
  margin: 24px 0;
}

.approval-summary div {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.approval-summary dt {
  color: var(--charcoal-2);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.approval-summary dd {
  margin: 4px 0 0;
  font-weight: 700;
}

.admin-login {
  display: grid;
  min-height: calc(100svh - 64px);
  place-items: center;
}

.admin-panel-narrow {
  max-width: 460px;
}

.admin-form {
  display: grid;
  gap: 16px;
}

.admin-preview-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 14px;
  background: rgba(62, 92, 55, 0.1);
  border: 1px solid rgba(62, 92, 55, 0.28);
  border-radius: var(--radius);
}

.admin-preview-panel[hidden] {
  display: none;
}

.admin-preview-panel strong,
.admin-preview-panel span {
  display: block;
}

.admin-preview-panel strong {
  font-size: 0.88rem;
}

.admin-preview-panel span {
  margin-top: 2px;
  color: var(--charcoal-2);
  font-size: 0.82rem;
  line-height: 1.35;
}

.admin-form label,
.admin-editor-label {
  display: grid;
  gap: 8px;
  color: var(--charcoal);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.admin-form input,
.admin-json-editor {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.admin-form input {
  min-height: 46px;
  padding: 10px 12px;
}

.admin-app {
  display: grid;
  gap: 22px;
}

.admin-topbar,
.admin-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.admin-topbar h1,
.admin-panel h2,
.admin-panel h3 {
  margin: 0;
}

.admin-mode-badge {
  display: inline-flex;
  align-items: center;
  margin-left: 10px;
  padding: 7px 9px 6px;
  color: var(--paper);
  background: var(--field);
  border-radius: 3px;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  vertical-align: middle;
}

.mobile-draft-count {
  display: none;
}

.admin-layout {
  display: grid;
  grid-template-columns: minmax(250px, 340px) minmax(0, 1fr);
  gap: 20px;
  width: min(100%, 1480px);
  margin: 0 auto;
}

.admin-side-rail {
  display: grid;
  align-content: start;
  gap: 16px;
}

.admin-intake-panel {
  width: 100%;
}

.admin-list-panel,
.admin-detail-panel,
.admin-maintenance,
.admin-current-listings {
  width: 100%;
}

.draft-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.intake-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.current-listing-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.draft-list-item {
  display: grid;
  gap: 4px;
  width: 100%;
  padding: 14px;
  text-align: left;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 5px solid var(--field);
  border-radius: var(--radius);
  cursor: pointer;
}

.intake-list-item {
  display: grid;
  gap: 8px;
  padding: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 5px solid var(--field);
  border-radius: var(--radius);
}

.current-listing-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 5px solid var(--field);
  border-radius: var(--radius);
}

.current-listing-item > div:first-child {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.current-listing-item strong,
.current-listing-item span,
.current-listing-item small {
  overflow-wrap: anywhere;
}

.current-listing-item span,
.current-listing-item small {
  color: var(--charcoal-2);
}

.current-listing-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.current-listing-actions .button {
  min-height: 38px;
  padding: 8px 10px;
  font-size: 0.76rem;
}

.intake-list-item.is-failed,
.intake-list-item.needs-admin {
  border-left-color: var(--orange);
}

.intake-list-item strong,
.intake-list-item span,
.intake-list-item small {
  overflow-wrap: anywhere;
}

.intake-list-item span,
.intake-list-item small {
  color: var(--charcoal-2);
}

.intake-list-item form {
  display: grid;
  gap: 8px;
}

.intake-list-item input,
.intake-list-item select {
  width: 100%;
  min-height: 38px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.intake-item-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.intake-item-actions .button {
  min-height: 38px;
  padding: 8px 10px;
  font-size: 0.76rem;
}

.intake-email-actions {
  display: grid;
  gap: 7px;
  margin-top: 2px;
}

.intake-email-review {
  display: grid;
  gap: 0;
  background: #fffaf1;
  border: 1px solid rgba(17, 17, 17, 0.14);
  border-radius: 8px;
}

.intake-email-review summary {
  display: grid;
  gap: 3px;
  padding: 10px 12px;
  cursor: pointer;
}

.intake-email-review summary::marker {
  color: var(--orange);
}

.intake-email-review summary span {
  font-weight: 900;
  color: var(--ink);
}

.intake-email-review summary small {
  color: var(--charcoal-2);
}

.intake-email-body {
  display: grid;
  gap: 10px;
  padding: 0 12px 12px;
}

.intake-email-body p {
  max-height: 260px;
  margin: 0;
  padding: 10px;
  overflow: auto;
  color: var(--ink);
  white-space: pre-wrap;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.intake-email-row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.intake-email-actions .button,
.intake-email-row-actions .button {
  justify-content: flex-start;
  min-height: 36px;
  padding: 8px 10px;
  overflow-wrap: anywhere;
  text-align: left;
  white-space: normal;
}

.batch-merge-panel {
  display: grid;
  gap: 12px;
  margin-top: 16px;
  padding: 14px;
  background: #fffaf0;
  border: 1px solid rgba(232, 96, 26, 0.34);
  border-radius: var(--radius);
  box-shadow: 0 12px 28px rgba(61, 45, 35, 0.1);
}

.batch-merge-panel[hidden] {
  display: none;
}

.batch-merge-header,
.batch-merge-source,
.batch-target-card {
  display: grid;
  gap: 5px;
}

.batch-merge-header {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
}

.batch-merge-header h3 {
  margin: 2px 0 0;
  font-size: 1.1rem;
  line-height: 1.15;
}

.batch-merge-source {
  padding: 11px;
  background: #fff;
  border: 1px solid rgba(61, 45, 35, 0.16);
  border-left: 4px solid var(--field);
  border-radius: 6px;
}

.batch-merge-source span,
.batch-merge-source small,
.batch-target-card span,
.batch-target-card small {
  color: var(--charcoal-2);
  font-size: 0.78rem;
  font-weight: 750;
  line-height: 1.35;
}

.batch-target-list {
  display: grid;
  gap: 8px;
}

.batch-target-card {
  width: 100%;
  padding: 11px;
  color: var(--ink);
  text-align: left;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  cursor: pointer;
}

.batch-target-card:hover,
.batch-target-card:focus-visible {
  border-color: var(--orange);
  outline: 2px solid rgba(232, 96, 26, 0.22);
  outline-offset: 1px;
}

.draft-list-item.needs-review {
  border-left-color: var(--orange);
}

.draft-list-item strong,
.draft-list-item span,
.draft-list-item small {
  overflow-wrap: anywhere;
}

.draft-list-item span,
.draft-list-item small {
  color: var(--charcoal-2);
}

.admin-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  gap: 18px;
  margin-top: 18px;
}

.admin-review-workspace {
  display: grid;
  gap: 16px;
  margin-top: 18px;
}

@media (min-width: 981px) {
  .admin-review-workspace {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 390px);
    align-items: start;
  }

  .admin-site-mockup {
    grid-column: 1;
    grid-row: 1;
  }

  .ai-review-panel {
    position: sticky;
    top: 18px;
    grid-column: 2;
    grid-row: 1;
    max-height: calc(100svh - 36px);
    overflow: auto;
  }

  .admin-source-email,
  .admin-source-files,
  .validation-review,
  .admin-hidden-details,
  .admin-advanced {
    grid-column: 1 / -1;
  }
}

.listing-review,
.email-review,
.validation-review,
.admin-advanced {
  padding: 18px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.listing-review-heading {
  margin-bottom: 14px;
}

.listing-review-heading h3 {
  margin: 2px 0 0;
}

.listing-summary dl,
.email-context dl {
  display: grid;
  gap: 12px;
  margin: 0;
}

.listing-summary div,
.email-context div {
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(61, 45, 35, 0.14);
}

.listing-summary dt,
.email-context dt {
  color: var(--charcoal-2);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.listing-summary dd,
.email-context dd {
  margin: 4px 0 0;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 750;
  line-height: 1.42;
}

.email-body {
  margin-top: 16px;
  padding: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.email-body strong {
  display: block;
  margin-bottom: 8px;
  color: var(--charcoal);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.email-body small {
  display: block;
  margin: -2px 0 10px;
  color: var(--charcoal-2);
  font-weight: 700;
}

.email-body p {
  max-height: 220px;
  overflow: auto;
  margin: 0;
  white-space: pre-wrap;
}

.email-attachment-summary {
  display: grid;
  gap: 8px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(61, 45, 35, 0.14);
}

.email-attachment-summary div {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding-bottom: 0;
  border-bottom: 0;
}

.email-attachment-summary a {
  padding: 5px 7px;
  color: var(--ink);
  text-decoration: none;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 800;
}

.validation-list ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 20px;
}

.validation-ok {
  margin: 0;
  color: var(--field);
  font-weight: 900;
}

.admin-advanced summary {
  cursor: pointer;
  font-weight: 900;
  text-transform: uppercase;
}

.admin-advanced .button {
  margin-top: 12px;
}

.draft-list-item.is-active {
  border-color: var(--orange);
  box-shadow: 0 0 0 2px rgba(232, 96, 26, 0.18);
}

.admin-site-mockup {
  padding: 18px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.mockup-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}

.mockup-toolbar h3 {
  margin: 2px 0 0;
}

.mockup-toolbar span {
  flex: 0 0 auto;
  padding: 7px 9px;
  color: var(--paper);
  background: var(--ink);
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.preview-mode-toggle {
  display: inline-flex;
  flex: 0 0 auto;
  gap: 0;
  padding: 3px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: inset 0 0 0 1px rgba(61, 45, 35, 0.04);
}

.preview-mode-toggle button {
  min-height: 36px;
  padding: 8px 11px;
  color: var(--charcoal);
  background: transparent;
  border: 0;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1.1;
  text-transform: uppercase;
  cursor: pointer;
}

.preview-mode-toggle button:hover,
.preview-mode-toggle button:focus-visible {
  color: var(--ink);
  outline: 2px solid rgba(232, 96, 26, 0.22);
  outline-offset: 1px;
}

.preview-mode-toggle button.is-active {
  color: var(--paper);
  background: var(--ink);
}

.mockup-phone {
  overflow: hidden;
  width: min(100%, 430px);
  margin: 0 auto;
  background: var(--cream);
  border: 10px solid var(--ink);
  border-radius: 28px;
  box-shadow: 0 24px 60px rgba(17, 17, 17, 0.22);
}

.mockup-phone .admin-mock-header {
  position: static;
  min-height: 58px;
  padding: 8px 12px;
  box-shadow: none;
}

.mockup-phone .brand {
  min-width: 0;
}

.mockup-phone .brand-lockup {
  min-height: 38px;
}

.mockup-phone .brand-mark {
  width: 50px;
  height: auto;
}

.mockup-phone .brand-wordmark {
  width: 189px;
  height: auto;
  transform: translateY(1.1px);
}

.mockup-phone .nav-toggle {
  display: inline-block;
}

.admin-listing-mockup {
  min-height: 560px;
  padding-top: 0;
}

.admin-listing-mockup .detail-hero,
.admin-listing-mockup .detail-tracts {
  width: 100%;
  margin: 0;
}

.admin-listing-mockup .detail-hero {
  grid-template-columns: 1fr;
  gap: 22px;
  padding: 28px 16px;
}

.admin-listing-mockup .detail-hero h1 {
  font-size: 2.2rem;
}

.admin-listing-mockup .detail-copy p:not(.eyebrow) {
  font-size: 0.98rem;
  line-height: 1.48;
}

.admin-listing-mockup .detail-sale-bill {
  width: 100%;
  max-width: 330px;
  margin: 0 auto;
  box-shadow: none;
}

.admin-listing-mockup .detail-sale-bill .detail-contact-cta {
  padding: 14px;
}

.admin-listing-mockup .detail-sale-bill .detail-contact-cta .button {
  width: 100%;
}

.admin-listing-mockup .detail-facts {
  grid-template-columns: 1fr;
}

.admin-listing-mockup .detail-additional {
  padding: 18px;
}

.admin-listing-mockup .detail-tracts {
  padding: 0 16px 28px;
}

.admin-listing-mockup .tract-section {
  padding: 18px;
}

.admin-listing-mockup .photo-gallery,
.admin-listing-mockup .gallery-thumbs {
  grid-template-columns: 1fr;
}

.mockup-phone.is-desktop-preview {
  width: 100%;
  max-width: 1080px;
  border: 1px solid rgba(61, 45, 35, 0.26);
  border-radius: 12px;
}

.mockup-phone.is-desktop-preview .nav-toggle {
  display: none;
}

.admin-listing-mockup.is-desktop-preview .detail-hero {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.46fr);
  gap: 34px;
  padding: 42px 34px;
}

.admin-listing-mockup.is-desktop-preview .detail-hero h1 {
  font-size: clamp(2.6rem, 4.2vw, 4.2rem);
}

.admin-listing-mockup.is-desktop-preview .detail-sale-bill {
  max-width: 520px;
}

.admin-listing-mockup.is-desktop-preview .detail-facts {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-listing-mockup.is-desktop-preview .detail-tracts {
  padding: 0 34px 40px;
}

.admin-listing-mockup.is-desktop-preview .photo-gallery,
.admin-listing-mockup.is-desktop-preview .gallery-thumbs {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.admin-listing-mockup [data-edit-path] {
  border-radius: 4px;
  outline: 2px solid transparent;
  outline-offset: 2px;
  cursor: text;
  transition: background 160ms ease, outline-color 160ms ease;
}

.admin-listing-mockup [data-edit-path]:hover,
.admin-listing-mockup [data-edit-path]:focus {
  background: rgba(255, 180, 137, 0.18);
  outline-color: rgba(232, 96, 26, 0.48);
}

.ai-review-panel,
.mobile-review-dock .ai-review-inner {
  padding: 16px;
  background: #fffaf0;
  border: 1px solid rgba(232, 96, 26, 0.26);
  border-radius: var(--radius);
}

.ai-review-inner {
  display: grid;
  gap: 12px;
}

.ai-review-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}

.ai-review-heading h3 {
  margin: 2px 0 0;
}

.ai-empty,
.ai-applied-note,
.ai-working-note {
  margin: 0;
  padding: 12px;
  background: #fff;
  border: 1px solid rgba(61, 45, 35, 0.14);
  border-radius: 6px;
}

.ai-working-note {
  color: #075323;
  font-weight: 900;
}

.ai-applied-note {
  display: grid;
  gap: 9px;
}

.ai-applied-note > strong {
  color: var(--field);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.ai-applied-note ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ai-applied-note li {
  display: grid;
  gap: 3px;
  padding-top: 8px;
  border-top: 1px solid rgba(61, 45, 35, 0.12);
}

.ai-applied-note li strong {
  color: var(--ink);
  font-size: 0.86rem;
}

.ai-applied-note li span,
.ai-applied-note small {
  color: var(--charcoal-2);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.ai-fix-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: start;
  padding: 13px;
  background: #fff;
  border: 1px solid rgba(61, 45, 35, 0.16);
  border-left: 5px solid var(--orange);
  border-radius: 7px;
}

.ai-fix-card.is-selected {
  background: #fff6e7;
  border-color: rgba(232, 96, 26, 0.42);
  box-shadow: 0 0 0 2px rgba(232, 96, 26, 0.12);
}

.ai-fix-card strong,
.ai-fix-card span,
.ai-fix-card small {
  display: block;
}

.ai-fix-card span {
  margin-top: 4px;
  color: var(--orange-dark);
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
}

.ai-fix-card small {
  margin-top: 7px;
  color: var(--charcoal-2);
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.38;
}

.ai-fix-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.ai-fix-actions .button {
  min-height: 38px;
  padding: 8px 10px;
  font-size: 0.74rem;
}

.ai-select-button.is-selected {
  color: #fff;
  background: var(--charcoal);
  border-color: var(--charcoal);
}

.ai-fix-confirm-bar {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  background: #fff;
  border: 1px solid rgba(61, 45, 35, 0.14);
  border-radius: 6px;
}

.ai-fix-confirm-bar span {
  color: var(--charcoal-2);
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

.ai-fix-confirm-bar .button {
  min-height: 38px;
  padding: 8px 12px;
  font-size: 0.76rem;
}

.ai-custom-request {
  display: grid;
  gap: 8px;
  padding: 12px;
  background: #fff;
  border: 1px solid rgba(61, 45, 35, 0.14);
  border-radius: 6px;
}

.ai-custom-request label {
  color: var(--charcoal);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.ai-custom-request textarea {
  width: 100%;
  min-height: 82px;
  resize: vertical;
  padding: 10px 11px;
  color: var(--charcoal);
  background: #fffdf8;
  border: 1px solid rgba(61, 45, 35, 0.2);
  border-radius: 6px;
  font: inherit;
  line-height: 1.35;
}

.ai-custom-request textarea:focus {
  outline: 2px solid rgba(232, 96, 26, 0.32);
  outline-offset: 2px;
}

.ai-custom-request .button {
  justify-self: end;
  min-height: 38px;
  padding: 8px 12px;
  font-size: 0.76rem;
}

.mobile-review-dock {
  display: none;
}

.hidden-detail-list dl {
  display: grid;
  gap: 10px;
  margin: 0;
}

.hidden-detail-list div {
  display: grid;
  gap: 4px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(61, 45, 35, 0.14);
}

.hidden-detail-list dt {
  color: var(--charcoal-2);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hidden-detail-list dd {
  margin: 0;
  color: var(--ink);
  font-weight: 800;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.email-review summary,
.validation-review summary,
.admin-advanced summary {
  cursor: pointer;
  font-weight: 900;
  text-transform: uppercase;
}

.email-review[open] summary,
.validation-review[open] summary,
.admin-advanced[open] summary {
  margin-bottom: 14px;
}

.admin-json-editor {
  min-height: 620px;
  padding: 14px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.86rem;
  line-height: 1.5;
  resize: vertical;
}

.admin-side {
  display: grid;
  align-content: start;
  gap: 16px;
}

.admin-side section,
.admin-empty {
  padding: 16px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.admin-side pre,
.admin-maintenance pre {
  overflow: auto;
  max-width: 100%;
  margin: 12px 0 0;
  padding: 12px;
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--radius);
}

.admin-maintenance > summary {
  list-style: none;
  cursor: pointer;
}

.admin-maintenance > summary::-webkit-details-marker {
  display: none;
}

.system-tools-summary {
  color: var(--charcoal-2);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.system-tools-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: start;
  margin-top: 16px;
}

.system-tool-copy {
  display: grid;
  gap: 8px;
}

.system-tool-copy p {
  margin: 0;
  color: var(--charcoal-2);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.42;
}

.system-tool-copy strong {
  color: var(--ink);
}

.attachment-list {
  display: grid;
  gap: 8px;
}

.attachment-item {
  display: grid;
  gap: 3px;
  padding: 10px;
  text-decoration: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.attachment-item span {
  color: var(--charcoal-2);
  font-size: 0.82rem;
}

.admin-email-summary {
  display: grid;
  gap: 16px;
  width: min(100%, 1480px);
  border-left: 5px solid var(--field);
}

.email-summary-strip,
.email-list-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1px;
  overflow: hidden;
  background: rgba(17, 17, 17, 0.1);
  border: 1px solid rgba(17, 17, 17, 0.1);
  border-radius: 8px;
}

.email-summary-strip div,
.email-list-metrics div {
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 16px;
  background: #fff;
}

.email-summary-strip span,
.email-list-metrics span {
  color: var(--charcoal-2);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.email-summary-strip strong,
.email-list-metrics strong {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 3rem);
  font-weight: 400;
  line-height: 0.95;
  text-transform: uppercase;
}

.email-list-shell {
  padding: 24px;
  background:
    linear-gradient(135deg, rgba(62, 92, 55, 0.16), transparent 36%),
    var(--cream);
}

.email-list-app {
  display: grid;
  gap: 18px;
  width: min(100%, 1580px);
  margin: 0 auto;
}

.email-list-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 5px solid var(--orange);
  border-radius: var(--radius);
  box-shadow: var(--soft-shadow);
}

.email-list-topbar h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(3rem, 5vw, 5.2rem);
  font-weight: 400;
  line-height: 0.9;
  text-transform: uppercase;
}

.email-list-workspace {
  display: grid;
  gap: 14px;
  min-height: 0;
  padding: 18px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--soft-shadow);
}

.email-list-toolbar {
  display: grid;
  grid-template-columns: minmax(260px, 1.2fr) minmax(150px, 0.7fr) minmax(170px, 0.8fr) minmax(180px, 0.8fr) auto auto;
  gap: 10px;
  align-items: flex-end;
}

.email-list-toolbar label {
  display: grid;
  gap: 7px;
  color: var(--charcoal);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.email-list-toolbar input,
.email-list-toolbar select {
  min-height: 42px;
  padding: 9px 11px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.email-list-table-shell {
  max-height: calc(100svh - 330px);
  min-height: 420px;
  overflow: auto;
  border: 1px solid rgba(17, 17, 17, 0.12);
  border-radius: 8px;
}

.email-list-table {
  width: 100%;
  min-width: 1240px;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.86rem;
}

.email-list-table th,
.email-list-table td {
  padding: 12px 13px;
  border-bottom: 1px solid rgba(17, 17, 17, 0.1);
  text-align: left;
  vertical-align: top;
}

.email-list-table th {
  position: sticky;
  top: 0;
  z-index: 1;
  color: var(--charcoal);
  background: #fffaf0;
  border-bottom-color: rgba(232, 96, 26, 0.28);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.email-list-table tbody tr {
  background: #fff;
}

.email-list-table tbody tr:hover {
  background: rgba(255, 180, 137, 0.1);
}

.email-list-table strong {
  display: block;
  max-width: 22ch;
  overflow-wrap: anywhere;
}

.email-status-badge,
.email-interest-list span {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  padding: 5px 7px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.email-status-badge {
  color: #fff;
  background: var(--charcoal);
}

.email-status-badge.is-active {
  background: var(--field);
}

.email-status-badge.is-pending {
  color: var(--ink);
  background: var(--gold);
}

.email-status-badge.is-unsubscribed,
.email-status-badge.needs-attention {
  background: var(--orange-dark);
}

.email-interest-list {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  max-width: 260px;
}

.email-interest-list span {
  color: var(--charcoal);
  background: #f7f3ea;
  border: 1px solid rgba(17, 17, 17, 0.1);
}

.email-row-actions {
  display: flex;
  flex-wrap: nowrap;
  gap: 6px;
}

.email-row-actions .button {
  min-height: 34px;
  padding: 7px 9px;
  font-size: 0.68rem;
  white-space: nowrap;
}

.email-list-mobile-note {
  display: none;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

@media (max-width: 980px) {
  .admin-layout,
  .admin-grid {
    grid-template-columns: 1fr;
  }

  .admin-side-rail {
    grid-template-columns: 1fr;
  }

  .current-listing-item {
    grid-template-columns: 1fr;
  }

  .current-listing-actions {
    justify-content: flex-start;
  }

  .admin-topbar,
  .admin-panel-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-preview-panel {
    grid-template-columns: 1fr;
  }

  .email-list-toolbar {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .system-page,
  .admin-shell {
    padding: 16px;
  }

  .system-panel,
  .admin-panel {
    padding: 20px;
  }

  .desktop-admin-only {
    display: none !important;
  }

  .email-list-login {
    display: none;
  }

  .email-list-mobile-note {
    display: grid;
  }
}

@media (max-width: 640px) {
  .admin-shell {
    padding: 0;
    background: var(--cream);
  }

  .admin-app {
    gap: 10px;
  }

  .admin-topbar {
    position: sticky;
    top: 0;
    z-index: 20;
    flex-direction: row;
    align-items: flex-start;
    padding: calc(4px + env(safe-area-inset-top)) 10px 6px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
  }

  .admin-topbar > div:first-child {
    display: grid;
    gap: 1px;
    min-width: 0;
  }

  .admin-topbar .eyebrow {
    display: none;
  }

  .admin-topbar h1 {
    margin-bottom: 0;
    font-size: 1.16rem;
    line-height: 1;
    overflow-wrap: anywhere;
  }

  .mobile-draft-count {
    display: inline-block;
    color: var(--charcoal-2);
    font-size: 0.68rem;
    font-weight: 900;
    line-height: 1.1;
    text-transform: uppercase;
  }

  .admin-mode-badge {
    margin-left: 4px;
    padding: 4px 5px 3px;
    font-size: 0.55rem;
  }

  .admin-topbar .admin-actions {
    flex: 0 0 auto;
    flex-wrap: nowrap;
    gap: 0;
  }

  .admin-topbar .admin-actions a,
  .admin-topbar #admin-logout {
    display: none;
  }

  .admin-topbar #refresh-drafts {
    min-height: 30px;
    padding: 6px 9px;
    border-radius: 5px;
    font-size: 0.68rem;
    line-height: 1;
  }

  .admin-layout {
    display: block;
    width: 100%;
  }

  .admin-list-panel,
  .admin-side-rail,
  .admin-maintenance,
  .admin-current-listings,
  .admin-source-email,
  .admin-source-files,
  .validation-review,
  .admin-advanced,
  .ai-review-panel,
  #save-draft {
    display: none;
  }

  .admin-detail-panel {
    min-height: calc(100svh - 43px);
    padding: 8px 10px 128px;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  #draft-detail > .admin-panel-header {
    gap: 6px;
  }

  #draft-detail > .admin-panel-header > div:first-child {
    max-width: 100%;
  }

  #draft-status-label {
    margin-bottom: 1px;
    font-size: 0.62rem;
  }

  #draft-title {
    font-size: 1.02rem;
    line-height: 1.12;
  }

  #draft-detail > .admin-panel-header .admin-actions {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 30;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 250, 241, 0.96);
    border-top: 1px solid var(--line);
    box-shadow: 0 -12px 28px rgba(61, 45, 35, 0.14);
  }

  #draft-detail > .admin-panel-header .admin-actions .button {
    width: 100%;
    min-height: 48px;
    justify-content: center;
  }

  .admin-review-workspace {
    gap: 8px;
    margin-top: 8px;
  }

  .admin-site-mockup {
    padding: 0;
    background: var(--paper);
    border: 0;
  }

  .mockup-toolbar {
    display: none;
  }

  .mockup-toolbar span {
    display: none;
  }

  .mockup-phone {
    width: 100%;
    border-width: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .admin-listing-mockup .detail-hero {
    padding: 16px 10px;
  }

  .admin-listing-mockup .detail-hero h1 {
    font-size: 1.78rem;
  }

  .admin-listing-mockup .detail-tracts {
    padding: 0 10px 20px;
  }

  .admin-listing-mockup [data-edit-path] {
    pointer-events: none;
  }

  .mobile-review-dock:not(:empty) {
    position: fixed;
    right: 0;
    bottom: calc(92px + env(safe-area-inset-bottom));
    left: 0;
    z-index: 29;
    display: block;
    max-height: min(60svh, 520px);
    padding: 0 12px 8px;
    overflow: visible;
    pointer-events: none;
  }

  .mobile-ai-sheet {
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
    pointer-events: auto;
  }

  .mobile-ai-sheet summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-height: 42px;
    padding: 9px 12px;
    color: var(--paper);
    list-style: none;
    background: var(--ink);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    box-shadow: 0 -8px 24px rgba(17, 17, 17, 0.18);
    cursor: pointer;
  }

  .mobile-ai-sheet summary::-webkit-details-marker {
    display: none;
  }

  .mobile-ai-sheet summary span,
  .mobile-ai-sheet summary small {
    display: block;
    line-height: 1;
  }

  .mobile-ai-sheet summary span {
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
  }

  .mobile-ai-sheet summary small {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.68rem;
    font-weight: 800;
    text-align: right;
    text-transform: uppercase;
  }

  .mobile-ai-sheet[open] {
    overflow: hidden;
    background: rgba(255, 250, 241, 0.99);
    border: 1px solid var(--line);
    border-radius: 10px;
    box-shadow: 0 -16px 34px rgba(61, 45, 35, 0.2);
  }

  .mobile-ai-sheet[open] summary {
    border-radius: 9px 9px 0 0;
    box-shadow: none;
  }

  .mobile-review-dock .ai-review-inner {
    max-height: calc(min(60svh, 520px) - 42px);
    padding: 10px;
    overflow: auto;
    background: #fffaf0;
    border: 0;
    border-radius: 0 0 9px 9px;
  }

  .mobile-review-dock .ai-review-heading h3 {
    font-size: 1rem;
  }

  .mobile-review-dock .ai-fix-card {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 10px;
  }

  .mobile-review-dock .ai-fix-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-content: stretch;
  }

  .mobile-review-dock .ai-fix-actions .button {
    justify-content: center;
    width: 100%;
  }

  .mobile-review-dock .ai-fix-confirm-bar {
    display: grid;
    grid-template-columns: 1fr;
  }

  .mobile-review-dock .ai-fix-confirm-bar .button {
    justify-content: center;
    width: 100%;
  }

  .mobile-review-dock .ai-custom-request .button {
    justify-self: stretch;
    justify-content: center;
    width: 100%;
  }

  .email-context dd {
    font-size: 0.96rem;
  }

  .email-body p {
    max-height: 280px;
  }
}
