:root {
  --orange: #e8601a;
  --orange-dark: #b94712;
  --gold: #f5c400;
  --charcoal: #252525;
  --charcoal-2: #3c3c3c;
  --ink: #111111;
  --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;
}

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: 10px 28px;
  color: var(--paper);
  background: rgba(18, 18, 18, 0.78);
  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: rgba(18, 18, 18, 0.96);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.28);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
  text-decoration: none;
}

.brand img {
  width: 64px;
  height: 48px;
  object-fit: cover;
  background: var(--paper);
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 7px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.05;
  text-transform: uppercase;
}

.brand strong {
  font-size: 1rem;
  letter-spacing: 0.01em;
}

.brand small {
  color: var(--orange);
  font-size: 0.82rem;
  font-weight: 800;
}

.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:not(.nav-call):hover::after,
.site-nav a:not(.nav-call):focus-visible::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/drone-flyover-poster.jpg") 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-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  opacity: 0;
  filter: saturate(1.04) contrast(1.03);
  transform: translateZ(0);
  transition: opacity 180ms ease;
  will-change: opacity;
}

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

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transform: translateZ(0);
  transition: opacity 180ms 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);
}

.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;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  color: var(--paper);
  background: #2c2c2c;
}

.trust-strip div {
  min-height: 112px;
  padding: 22px 24px;
  background: linear-gradient(180deg, #3b3b3b, #333333);
}

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

.trust-strip strong {
  color: var(--gold);
  font-size: 1rem;
  text-transform: uppercase;
}

.trust-strip span {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.84);
}

.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 p:not(.eyebrow),
.section-heading-inverse h2 {
  color: var(--paper);
}

.auction-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  width: min(var(--max), 100%);
  margin: 0 auto 22px;
}

.filter-button {
  min-height: 42px;
  padding: 8px 15px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid rgba(17, 17, 17, 0.22);
  border-radius: 999px;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 180ms var(--ease), background 180ms ease, color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.filter-button:hover,
.filter-button:focus-visible {
  color: var(--ink);
  background: var(--cream);
  border-color: var(--ink);
  transform: translateY(-1px);
  outline: 0;
}

.filter-button.is-active {
  color: var(--paper);
  background: var(--ink);
  border-color: var(--ink);
  box-shadow: 0 10px 22px rgba(17, 17, 17, 0.14);
  transform: translateY(0);
}

.filter-button.is-active:hover,
.filter-button.is-active:focus-visible {
  color: var(--paper);
  background: var(--ink);
  border-color: var(--ink);
}

.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 {
  position: relative;
  min-height: 150px;
  aspect-ratio: auto;
  overflow: hidden;
  background: #d9d5cd;
}

.auction-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 450ms var(--ease), filter 250ms ease;
}

.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(245, 196, 0, 0.18);
  border: 1px solid rgba(245, 196, 0, 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 {
  padding-top: 78px;
  padding-bottom: 70px;
  color: var(--paper);
  background:
    radial-gradient(circle at 28% 46%, rgba(62, 92, 55, 0.26), transparent 36%),
    linear-gradient(180deg, #172018, #111510),
    #151915;
}

.region-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.38fr) minmax(330px, 0.62fr);
  gap: 28px;
  width: min(var(--max), 100%);
  margin: 0 auto;
  align-items: start;
}

.region-map {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 560px;
  padding: clamp(12px, 2vw, 22px);
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(62, 92, 55, 0.28), rgba(17, 17, 17, 0.94)),
    #111510;
  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;
  width: min(100%, 780px);
  transform: scale(1.035);
  transform-origin: center 58%;
  filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.36));
}

.map-figure img {
  width: 100%;
  height: auto;
  opacity: 0.95;
}

#map-dots {
  position: absolute;
  inset: 0;
}

.map-reach {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 45% 52%, rgba(245, 196, 0, 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(245, 196, 0, 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%);
  color: var(--paper);
  background: transparent;
  border: 0;
  cursor: pointer;
}

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

.map-pin {
  display: block;
  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: 0 0 12px rgba(245, 196, 0, 0.72), 0 0 24px rgba(232, 96, 26, 0.62);
  animation: mapPulse 3.8s ease-in-out infinite;
  animation-delay: var(--pin-delay, 0s);
  transition: background 180ms ease, box-shadow 180ms ease, transform 180ms var(--ease);
}

.map-spot::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: -1;
  width: var(--spot-glow-size);
  height: var(--spot-glow-size);
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 196, 0, 0.42) 0 10%, rgba(232, 96, 26, 0.3) 32%, rgba(232, 96, 26, 0.12) 58%, rgba(232, 96, 26, 0) 74%);
  border: 0;
  box-shadow: 0 0 28px rgba(232, 96, 26, 0.5);
  opacity: 0.76;
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms var(--ease);
}

.map-spot.is-hotspot .map-pin {
  background: var(--gold);
  border-color: var(--paper);
  box-shadow: 0 0 16px rgba(245, 196, 0, 0.82), 0 0 30px rgba(232, 96, 26, 0.82);
}

.map-spot.is-hotspot::after {
  background: radial-gradient(circle, rgba(245, 196, 0, 0.58) 0 9%, rgba(232, 96, 26, 0.38) 34%, rgba(232, 96, 26, 0.15) 62%, rgba(232, 96, 26, 0) 78%);
  box-shadow: 0 0 42px rgba(232, 96, 26, 0.74);
}

.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 {
  animation: none;
  background: var(--paper);
  box-shadow: 0 0 0 4px rgba(245, 196, 0, 0.36), 0 0 22px rgba(245, 196, 0, 0.96), 0 0 44px rgba(232, 96, 26, 0.82);
  transform: scale(1.2);
}

.map-spot:hover::after,
.map-spot:focus-visible::after,
.map-spot.is-active::after {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.16);
}

.map-label {
  position: absolute;
  left: 50%;
  top: 50%;
  min-width: max-content;
  padding: 6px 8px;
  color: var(--paper);
  background: rgba(17, 17, 17, 0.74);
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 4px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.03em;
  line-height: 1;
  pointer-events: none;
  text-transform: uppercase;
  transform: translate(var(--label-x), var(--label-y));
}

.map-legend {
  position: absolute;
  left: clamp(16px, 2.5vw, 28px);
  right: clamp(16px, 2.5vw, 28px);
  bottom: clamp(14px, 2vw, 22px);
  z-index: 6;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 11px 12px;
  background: rgba(13, 17, 13, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  backdrop-filter: blur(10px);
}

.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(245, 196, 0, 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(245, 196, 0, 0.46), rgba(232, 96, 26, 0.22) 58%, transparent 74%);
  border-radius: 999px;
}

.region-copy {
  display: grid;
  align-content: start;
  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(245, 196, 0, 0.28);
  border-left: 4px solid var(--gold);
  border-radius: 6px;
}

.city-panel {
  margin-top: 22px;
}

.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;
}

.city-panel strong {
  display: block;
  color: var(--paper);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.city-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-height: 280px;
  margin-top: 10px;
  padding-right: 6px;
  overflow-y: auto;
  scrollbar-color: rgba(245, 196, 0, 0.7) rgba(255, 255, 255, 0.1);
}

.city-chip {
  padding: 7px 8px;
  color: var(--paper);
  background: rgba(232, 96, 26, 0.2);
  border: 1px solid rgba(232, 96, 26, 0.54);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms var(--ease), box-shadow 180ms ease;
}

.city-chip:hover,
.city-chip:focus-visible,
.city-chip.is-active {
  color: var(--ink);
  background: var(--gold);
  border-color: var(--gold);
  box-shadow: 0 10px 22px rgba(245, 196, 0, 0.18);
  outline: 0;
  transform: translateY(-1px);
}

.city-chip.is-hotspot {
  border-color: rgba(245, 196, 0, 0.72);
}

.section-split {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1fr);
  gap: 44px;
  width: min(var(--max), 100%);
  margin: 0 auto;
  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;
  object-fit: cover;
  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;
}

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 {
  display: grid;
  grid-template-columns: minmax(280px, 0.42fr) minmax(0, 0.58fr);
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
  background:
    linear-gradient(90deg, rgba(248, 244, 236, 0.96), rgba(255, 255, 255, 0.92)),
    linear-gradient(180deg, rgba(62, 92, 55, 0.08), rgba(232, 96, 26, 0.05));
  border-top: 1px solid rgba(17, 17, 17, 0.12);
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
}

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

.signup-copy {
  display: grid;
  align-content: center;
  justify-self: end;
  max-width: 500px;
}

.signup-copy h2 {
  max-width: 560px;
  font-size: clamp(2.15rem, 4vw, 3.05rem);
  line-height: 0.98;
  text-wrap: balance;
}

.signup-copy p:not(.eyebrow) {
  max-width: 540px;
  margin: 20px 0 0;
  font-size: 1.08rem;
}

.signup-form {
  position: relative;
  justify-self: start;
  max-width: 690px;
  padding: clamp(22px, 3vw, 32px);
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 244, 236, 0.84)),
    var(--paper);
  border: 1px solid rgba(17, 17, 17, 0.14);
  border-radius: 8px;
  box-shadow: 0 18px 38px rgba(17, 17, 17, 0.1);
}

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

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

.signup-form-header .eyebrow {
  margin-bottom: 8px;
}

.signup-form-header h3 {
  margin: 0;
  font-size: clamp(1.28rem, 2vw, 1.55rem);
  line-height: 1.12;
  text-transform: uppercase;
}

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

.signup-form label,
.signup-form legend {
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

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;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(17, 17, 17, 0.16);
  border-radius: 6px;
  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.16), rgba(245, 196, 0, 0.12));
  border-color: var(--orange);
  box-shadow: inset 4px 0 0 var(--orange), 0 12px 24px rgba(232, 96, 26, 0.12);
}

.choice-row input {
  flex: 0 0 auto;
  width: 19px;
  min-height: 19px;
  margin: 0;
  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 {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  padding: 34px max(24px, calc((100vw - var(--max)) / 2));
  color: var(--paper);
  background: var(--ink);
  border-top: 4px solid var(--orange);
}

.site-footer img {
  width: 116px;
  margin-bottom: 10px;
  background: var(--paper);
  border-radius: 7px;
}

.site-footer p,
.site-footer address {
  margin: 0;
}

.site-footer a {
  color: var(--gold);
}

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

.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, 1fr) minmax(300px, 430px);
  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;
  align-self: start;
  height: fit-content;
  overflow: hidden;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: 12px 12px 0 rgba(232, 96, 26, 0.2);
  transform: rotate(0deg);
  transition: transform 320ms var(--ease), box-shadow 320ms ease;
}

.detail-sale-bill:hover,
.detail-sale-bill:focus-within {
  transform: rotate(-0.6deg) translateY(-3px);
  box-shadow: 14px 14px 0 rgba(232, 96, 26, 0.26);
}

.sale-bill-button {
  display: block;
  width: 100%;
  padding: 0;
  color: inherit;
  background: transparent;
  border: 0;
  cursor: zoom-in;
}

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

.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;
}

/* ---------- 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(245, 196, 0, 0.18);
  border: 1px solid rgba(245, 196, 0, 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-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%;
  object-fit: cover;
  transition: transform 420ms var(--ease), filter 260ms ease;
}

.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;
}

.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-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;
  }

  .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: 480px;
    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: 980px) {
  .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(23, 23, 23, 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 {
    grid-template-columns: 1fr;
  }

  .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;
  }

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

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

  .brand {
    min-width: 0;
  }

  .brand img {
    width: 54px;
    height: 42px;
  }

  .brand strong {
    font-size: 0.9rem;
  }

  .brand small {
    font-size: 0.72rem;
  }

  .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-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 {
    grid-template-columns: 1fr;
    border-left-width: 4px;
  }

  .auction-date-tile {
    grid-template-columns: repeat(4, auto);
    justify-content: start;
    align-items: center;
    min-height: 0;
    padding: 14px 16px;
    text-align: left;
  }

  .auction-date-tile strong {
    font-size: 2rem;
  }

  .auction-date-tile em {
    margin-top: 0;
  }

  .auction-card-media {
    min-height: 170px;
    order: 2;
  }

  .region-map {
    min-height: 380px;
    padding: 14px;
  }

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

  .map-figure {
    transform: scale(1.01);
  }

  .map-label {
    padding: 5px 7px;
    font-size: 0.64rem;
  }

  .map-legend {
    position: static;
    margin-top: 14px;
  }

  .city-chip {
    font-size: 0.72rem;
  }

  .site-footer {
    flex-direction: column;
    padding: 30px 16px;
  }

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

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

.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);
}

@keyframes mapPulse {
  0%,
  100% {
    opacity: 0.82;
    transform: scale(0.96);
  }

  50% {
    opacity: 1;
    transform: scale(1.05);
  }
}

@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;
  }

  .map-pin {
    animation: none !important;
  }

  .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;
  }
}

.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;
}

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

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

.draft-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;
}

.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-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);
}

.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;
}

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

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

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

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

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

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