/* Common Hour Auction Co. One idea per screen, big photographs, type that gets out of the way. */
@font-face { font-family: "Inter Tight"; src: url(/fonts/inter-tight.woff2) format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Tight fallback"; src: local("Helvetica Neue"), local("Arial"), local("Roboto"); size-adjust: 95%; ascent-override: 98%; descent-override: 24%; }

:root {
  --black: #000;
  --ink: #1d1d1f;
  --mist: #f5f5f7;
  --white: #fff;
  --gray: #6e6e73;
  --gray-dark: #a1a1a6;
  --line: #d2d2d7;
  --line-dark: #333336;
  --bid: #c0301f;
  --bid-bright: #ff6a55;
  --sans: "Inter Tight", "Tight fallback", -apple-system, "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --pad: clamp(20px, 5vw, 44px);
  --r-l: clamp(20px, 2.4vw, 30px);
  --sec: clamp(72px, 11vw, 150px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; background: var(--white); color: var(--ink); font: 400 17px/1.47 var(--sans); letter-spacing: -0.012em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
h1, h2, h3 { font-weight: 600; letter-spacing: -0.028em; line-height: 1.06; text-wrap: balance; }
h3 { font-size: 1.3rem; line-height: 1.2; letter-spacing: -0.02em; }
p + p { margin-top: 1em; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid #0a84ff; outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: 12px; top: -80px; background: var(--white); color: var(--ink); padding: 10px 16px; border-radius: 12px; z-index: 60; }
.skip:focus { top: 8px; }
.wrap { width: 100%; max-width: 1120px; margin-inline: auto; padding-inline: var(--pad); }
.wrap-wide { width: 100%; max-width: 1480px; margin-inline: auto; padding-inline: var(--pad); }
.measure { max-width: 40rem; }
.center { text-align: center; }
.center .measure { margin-inline: auto; }

.dark { background: var(--black); color: var(--mist); }
.mist { background: var(--mist); }
.sec { padding-block: var(--sec); }
.h-xl { font-size: clamp(3rem, 10.5vw, 7.5rem); line-height: 1; letter-spacing: -0.04em; }
.h-l { font-size: clamp(2.4rem, 6.6vw, 4.75rem); letter-spacing: -0.034em; }
.h-m { font-size: clamp(1.85rem, 4.2vw, 3rem); }
.sub { font-size: clamp(1.2rem, 2.3vw, 1.6rem); line-height: 1.3; font-weight: 500; letter-spacing: -0.02em; }
.quiet { color: var(--gray); }
.dark .quiet { color: var(--gray-dark); }

/* Bar */
.bar { position: sticky; top: 0; z-index: 40; height: 52px; background: rgba(0, 0, 0, 0.76); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); color: var(--mist); }
.bar-row { display: flex; align-items: center; height: 52px; gap: 8px; }
.brand { margin-right: auto; display: block; }
.brand img { width: 118px; height: auto; }
.bar-links { display: none; gap: 26px; font-size: 13px; margin-right: 22px; }
.bar-links a { text-decoration: none; opacity: 0.86; padding-block: 14px; transition: opacity 0.2s; }
.bar-links a:hover { opacity: 1; }
@media (min-width: 960px) { .bar-links { display: flex; } .menu { display: none; } }
.bar-cta { font-size: 13px; font-weight: 500; background: var(--bid); color: #fff; min-height: 32px; padding: 6px 15px; border-radius: 980px; text-decoration: none; display: inline-flex; align-items: center; transition: transform 0.25s var(--ease), background 0.2s; }
.bar-cta:hover { background: #d43a28; transform: scale(1.04); }
.bar-cta:active { transform: scale(0.96); }
.menu { margin-left: 4px; }
.menu summary { list-style: none; cursor: pointer; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; }
.menu summary::-webkit-details-marker { display: none; }
.menu-icon, .menu-icon::before { display: block; width: 18px; height: 1.5px; background: currentColor; transition: transform 0.3s var(--ease); }
.menu-icon { transform: translateY(-3.5px); }
.menu-icon::before { content: ""; transform: translateY(7px); }
.menu[open] .menu-icon { transform: rotate(45deg); }
.menu[open] .menu-icon::before { transform: rotate(-90deg); }
.menu nav { position: fixed; inset: 52px 0 0; background: var(--black); padding: 20px var(--pad) 48px; overflow-y: auto; animation: drop 0.4s var(--ease) both; }
@keyframes drop { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: none; } }
.menu nav a { display: block; font-size: 1.75rem; font-weight: 600; letter-spacing: -0.03em; padding-block: 8px; text-decoration: none; }
.menu nav .menu-small a { font-size: 1.05rem; font-weight: 400; letter-spacing: -0.01em; color: var(--gray-dark); padding-block: 9px; }
.menu-small { margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--line-dark); }

/* Pills */
.pill { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 11px 24px; border: 0; border-radius: 980px; background: var(--bid); color: #fff; font: 500 1.0625rem var(--sans); letter-spacing: -0.012em; text-decoration: none; cursor: pointer; transition: transform 0.3s var(--ease), background 0.2s, box-shadow 0.3s; }
.pill:hover { background: #d43a28; transform: scale(1.03); }
.pill:active { transform: scale(0.97); }
.pill-ghost { background: transparent; color: var(--bid); box-shadow: inset 0 0 0 1.5px currentColor; }
.pill-ghost:hover { background: rgba(192, 48, 31, 0.08); }
.dark .pill-ghost, .hero .pill-ghost, .hero-img .pill-ghost { color: var(--mist); }
.dark .pill-ghost:hover, .hero .pill-ghost:hover, .hero-img .pill-ghost:hover { background: rgba(255, 255, 255, 0.12); }
.pill-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.center .pill-row, .hero .pill-row { justify-content: center; }
/* Hero buttons never reflow when the web font arrives: stacked on phones, one row above that. */
.hero .pill-row { flex-wrap: nowrap; }
@media (max-width: 520px) { .hero .pill-row { flex-direction: column; align-items: center; } }
.go { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; color: var(--bid); text-decoration: none; padding-block: 11px; }
.dark .go, .panel-dark .go { color: var(--bid-bright); }
.go::after { content: ""; width: 7px; height: 7px; border-right: 1.75px solid; border-top: 1.75px solid; transform: rotate(45deg); transition: transform 0.3s var(--ease); }
.go:hover { text-decoration: underline; text-underline-offset: 3px; }
.go:hover::after { transform: translateX(3px) rotate(45deg); }

/* Reveal on scroll */
.motion [data-reveal] { opacity: 0; transform: translateY(28px) scale(0.985); transition: opacity 0.9s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
.motion [data-reveal].in { opacity: 1; transform: none; }

/* Home hero: headline above, the gavel rising out of black */
.hero { position: relative; background: var(--black); color: var(--mist); text-align: center; overflow: hidden; padding-top: clamp(48px, 9vh, 100px); }
.hero h1 span { display: block; white-space: nowrap; } /* Two fixed lines, so a late font cannot move the page */
.hero .sub { color: var(--gray-dark); margin-top: 14px; }
.hero-stage { position: relative; margin-top: clamp(0px, 2vw, 24px); }
.hero-stage img { width: 100%; min-width: 760px; max-width: 1700px; margin-inline: auto; left: 50%; position: relative; translate: -50% 0; transform: scale(calc(0.96 + var(--p, 0) * 0.34)); transform-origin: 40% 60%; will-change: transform; }
.motion .hero h1, .motion .hero .sub, .motion .hero .pill-row { animation: rise 1.2s var(--ease) both; }
.motion .hero .sub { animation-delay: 0.08s; }
.motion .hero .pill-row { animation-delay: 0.16s; }
@keyframes rise { from { transform: translateY(18px); } to { transform: none; } }

/* Bid. Sell. Sold. */
.beat { position: relative; min-height: 86svh; display: grid; align-content: center; overflow: hidden; background: var(--black); color: #fff; text-align: center; padding: 48px var(--pad); isolation: isolate; }
.beat img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.beat::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, 0.38); z-index: -1; }
.beat-word { font-size: clamp(5.5rem, 28vw, 22rem); font-weight: 700; line-height: 0.92; letter-spacing: -0.055em; }
.beat-line { font-size: clamp(1.3rem, 3vw, 2.2rem); font-weight: 500; letter-spacing: -0.024em; margin-top: 12px; }
.motion .beats.staged { height: 420svh; background: var(--black); }
.motion .beats.staged .beats-stage { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.motion .beats.staged .beat { position: absolute; inset: 0; min-height: 0; opacity: var(--o, 0); visibility: var(--v, hidden); will-change: opacity; }
.motion .beats.staged .beat img { transform: scale(var(--s, 1.12)); will-change: transform; }
.motion .beats.staged .beat-word { transform: translateY(var(--y, 0)) scale(var(--w, 1)); will-change: transform; }
.beat.hit .beat-word { animation: slam 0.5s cubic-bezier(0.2, 1.4, 0.4, 1) both; }
@keyframes slam { 0% { transform: scale(1.5); opacity: 0.2; } 60% { transform: scale(0.96); opacity: 1; } 100% { transform: scale(1); } }
.beat.hit { animation: shake 0.28s linear; }
@keyframes shake { 25% { translate: 0 3px; } 50% { translate: 0 -2px; } 75% { translate: 0 1px; } }

/* Rail of tiles */
.rail-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: clamp(24px, 3.4vw, 40px); }
.rail-btns { display: none; gap: 10px; flex: none; }
@media (min-width: 760px) { .rail-btns { display: flex; } }
.rail-btn { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--mist); cursor: pointer; display: grid; place-items: center; transition: transform 0.3s var(--ease), background 0.2s; }
.rail-btn:hover { background: #e8e8ed; transform: scale(1.08); }
.dark .rail-btn { background: #1d1d1f; color: var(--mist); }
.rail-btn svg { width: 16px; height: 16px; }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: min(78vw, 400px); gap: clamp(12px, 1.6vw, 20px); overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: max(var(--pad), calc((100vw - 1120px) / 2 + var(--pad))); padding-inline: max(var(--pad), calc((100vw - 1120px) / 2 + var(--pad))); padding-block: 8px 20px; scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
.tile { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: var(--r-l); overflow: hidden; background: #111; color: #fff; text-decoration: none; isolation: isolate; transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease); }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.4s var(--ease); }
.tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0) 46%, rgba(0, 0, 0, 0) 62%, rgba(0, 0, 0, 0.62) 100%); }
.tile:hover { transform: translateY(-4px) scale(1.012); box-shadow: 0 24px 48px rgba(0, 0, 0, 0.22); }
.tile:hover img { transform: scale(1.07); }
.tile-copy { position: absolute; inset: 0; padding: clamp(20px, 2.4vw, 28px); display: flex; flex-direction: column; justify-content: space-between; }
.tile-title { font-size: clamp(1.55rem, 2.6vw, 2rem); font-weight: 600; letter-spacing: -0.028em; line-height: 1.08; }
.tile-note { font-size: 0.95rem; line-height: 1.3; font-weight: 500; }

/* Word by word */
.words { font-size: clamp(2.1rem, 6.2vw, 4.75rem); font-weight: 600; line-height: 1.1; letter-spacing: -0.034em; max-width: 19ch; }
.motion .words.live span[aria-hidden] { color: rgba(245, 245, 247, var(--a, 0.16)); transition: color 0.12s linear; }
.by { margin-top: 26px; color: var(--gray-dark); font-size: 1.1rem; }

/* Try the hammer */
.hammer { position: relative; max-width: 760px; margin: clamp(32px, 5vw, 56px) auto 0; background: #111113; border-radius: clamp(24px, 3vw, 36px); padding: clamp(22px, 4vw, 44px); text-align: center; overflow: hidden; isolation: isolate; }
.hammer-lot { color: var(--gray-dark); font-size: 0.98rem; }
.hammer-price { font-size: clamp(3.6rem, 13vw, 7rem); font-weight: 600; letter-spacing: -0.045em; line-height: 1; font-variant-numeric: tabular-nums; margin-top: 6px; transition: color 0.2s; }
.hammer-price.tick { animation: tick 0.32s var(--ease); }
@keyframes tick { 0% { transform: scale(1.09); } 100% { transform: none; } }
.hammer-state { min-height: 1.6em; margin-top: 6px; font-weight: 500; font-size: 1.1rem; color: var(--gray-dark); }
.hammer[data-lead="you"] .hammer-state { color: #30d158; }
.hammer[data-lead="them"] .hammer-state { color: var(--bid-bright); }
.hammer-ring { width: min(190px, 46vw); margin: 18px auto 0; position: relative; }
.hammer-ring svg { width: 100%; height: auto; transform: rotate(-90deg); }
.hammer-ring circle { fill: none; stroke-width: 7; }
.hammer-ring .track { stroke: #2c2c2e; }
.hammer-ring .arc { stroke: var(--bid-bright); stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: var(--off, 0); transition: stroke 0.2s; }
.hammer[data-low] .arc { stroke: #ffd60a; }
.hammer-bid { position: absolute; inset: 11%; border-radius: 50%; border: 0; background: var(--bid); color: #fff; font-size: clamp(1.5rem, 5vw, 2rem); font-weight: 600; letter-spacing: -0.02em; cursor: pointer; transition: transform 0.2s var(--ease), background 0.2s, box-shadow 0.3s; box-shadow: 0 0 0 0 rgba(255, 106, 85, 0.5); -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.hammer-bid:hover { background: #d43a28; }
.hammer-bid:active { transform: scale(0.93); }
.hammer[data-state="live"] .hammer-bid { animation: glow 1.8s ease-out infinite; }
@keyframes glow { 0% { box-shadow: 0 0 0 0 rgba(255, 106, 85, 0.5); } 100% { box-shadow: 0 0 0 26px rgba(255, 106, 85, 0); } }
.hammer-note { margin-top: 18px; color: var(--gray-dark); font-size: 0.93rem; max-width: 34rem; margin-inline: auto; }
.hammer-sold { position: absolute; inset: 0; z-index: 2; display: grid; align-content: center; justify-items: center; gap: 8px; background: #111113; opacity: 0; visibility: hidden; padding: 24px; transition: opacity 0.25s; }
.hammer[data-state="done"] .hammer-sold { opacity: 1; visibility: visible; }
.hammer-gavel { width: min(200px, 44vw); transform-origin: 97% 36%; }
.hammer[data-state="done"] .hammer-gavel { animation: strike 0.5s cubic-bezier(0.5, 0, 0.3, 1.6) both; }
@keyframes strike { 0% { transform: rotate(-34deg); } 62% { transform: rotate(5deg); } 100% { transform: rotate(0); } }
.hammer-word { font-size: clamp(3.2rem, 11vw, 5.5rem); font-weight: 700; letter-spacing: -0.05em; line-height: 1; }
.hammer[data-state="done"] .hammer-word { animation: slam 0.5s 0.14s cubic-bezier(0.2, 1.4, 0.4, 1) both; }
.hammer-result { color: var(--gray-dark); max-width: 30rem; }

/* Story steps */
.story { display: grid; gap: 36px; }
.story-num { display: none; }
.story-list { counter-reset: s; }
.story-step { counter-increment: s; padding-block: 22px; border-top: 1px solid var(--line); }
.story-step:first-child { border-top: 0; }
.story-step::before { content: counter(s); display: block; font-size: 2.6rem; font-weight: 600; letter-spacing: -0.04em; line-height: 1; color: var(--bid); margin-bottom: 10px; }
.story-step h3 { font-size: clamp(1.5rem, 2.8vw, 2.1rem); letter-spacing: -0.03em; margin-bottom: 8px; }
.story-step p { color: var(--gray); }
@media (min-width: 900px) {
  .story { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 72px; align-items: start; }
  .story-num { display: block; position: sticky; top: 16vh; font-size: clamp(14rem, 30vw, 26rem); font-weight: 700; letter-spacing: -0.06em; line-height: 0.85; color: var(--bid); font-variant-numeric: tabular-nums; }
  .story-num span { display: inline-block; }
  .story-num.flip span { animation: flip 0.5s var(--ease); }
  @keyframes flip { from { opacity: 0; transform: translateY(16%); } to { opacity: 1; transform: none; } }
  .story-step { min-height: 46vh; display: flex; flex-direction: column; justify-content: center; border-top: 0; transition: opacity 0.4s; }
  .story-step::before { display: none; }
  .motion .story-step:not(.on) { opacity: 0.28; }
  .story-step h3 { font-size: clamp(2rem, 3.4vw, 2.8rem); }
  .story-step p { font-size: 1.2rem; line-height: 1.4; }
}

/* Town map */
.map-wrap { display: grid; gap: 24px; margin-top: clamp(28px, 4vw, 48px); }
@media (min-width: 900px) { .map-wrap { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); align-items: center; gap: 48px; } }
.map { position: relative; aspect-ratio: 1 / 1; border-radius: var(--r-l); overflow: hidden; background: radial-gradient(120% 90% at 50% 40%, #16161a 0%, #050505 100%); }
.map-dots { position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, 0.13) 1px, transparent 1.4px); background-size: 16px 16px; }
.pin { position: absolute; translate: -50% -50%; width: 44px; height: 44px; border: 0; background: none; padding: 0; cursor: pointer; display: grid; place-items: center; }
.pin i { width: 12px; height: 12px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.5); transition: transform 0.35s var(--ease), background 0.2s; }
.pin:hover i { transform: scale(1.5); }
.pin[aria-pressed="true"] i { background: var(--bid-bright); transform: scale(1.6); animation: ping 1.8s ease-out infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(255, 106, 85, 0.6); } 100% { box-shadow: 0 0 0 22px rgba(255, 106, 85, 0); } }
.pin b { position: absolute; top: 34px; left: 50%; translate: -50% 0; white-space: nowrap; font-size: clamp(0.72rem, 1.5vw, 0.88rem); font-weight: 500; color: #d8d8dd; }
.pin[aria-pressed="true"] b { color: #fff; font-weight: 600; }
.map-card { min-height: 12rem; }
.map-card h3 { font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -0.034em; }
.map-card p { color: var(--gray-dark); margin-top: 10px; font-size: 1.1rem; }

/* Bento */
.bento { display: grid; gap: clamp(12px, 1.6vw, 20px); grid-template-columns: repeat(6, minmax(0, 1fr)); margin-top: clamp(28px, 4vw, 48px); }
.cell { grid-column: span 6; background: var(--mist); border-radius: var(--r-l); padding: clamp(24px, 3vw, 36px); text-decoration: none; color: var(--ink); display: flex; flex-direction: column; gap: 8px; min-height: 240px; position: relative; overflow: hidden; transition: transform 0.6s var(--ease); }
a.cell:hover { transform: scale(1.012); }
.cell-big { font-size: clamp(3rem, 6.4vw, 5rem); font-weight: 600; letter-spacing: -0.045em; line-height: 1; }
.cell h3 { font-size: 1.45rem; }
.cell p { color: var(--gray); }
.cell-dark { background: #111113; color: var(--mist); }
.cell-dark p { color: var(--gray-dark); }
.cell-red { background: var(--bid); color: #fff; }
.cell-red p { color: #fff; }
.cell-photo { color: #fff; isolation: isolate; justify-content: flex-end; min-height: 320px; }
.cell-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cell-photo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, 0.72) 100%); }
.cell-photo p { color: #fff; }
@media (min-width: 760px) { .cell-2 { grid-column: span 2; } .cell-3 { grid-column: span 3; } .cell-4 { grid-column: span 4; } }

/* Full bleed split */
.bleed { position: relative; min-height: 86svh; display: grid; align-content: end; color: #fff; overflow: hidden; isolation: isolate; padding-block: var(--sec) clamp(36px, 6vw, 72px); }
.bleed img { position: absolute; inset: 0; width: 100%; height: 112%; top: -6%; object-fit: cover; z-index: -2; transform: translateY(calc((var(--p, 0.5) - 0.5) * -7%)); will-change: transform; }
.bleed::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0, 0, 0, 0.08) 30%, rgba(0, 0, 0, 0.78) 100%); }

/* Inner page hero */
.page-top { padding-block: clamp(36px, 6vw, 72px) clamp(32px, 5vw, 56px); }
.hero-img { position: relative; min-height: min(88svh, 860px); display: grid; align-content: end; color: #fff; overflow: hidden; isolation: isolate; background: var(--black); padding-block: 96px clamp(32px, 5vw, 64px); }
.hero-img > picture img, .hero-img > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero-img::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0, 0, 0, 0.28) 0%, rgba(0, 0, 0, 0.1) 34%, rgba(0, 0, 0, 0.82) 100%); }
.hero-img .crumbs { position: absolute; top: 8px; left: max(var(--pad), calc((100% - 1120px) / 2 + var(--pad))); right: var(--pad); }
.hero-img .crumbs ol, .hero-img .crumbs a { color: #f5f5f7; }
.dark .crumbs ol { color: var(--gray-dark); }
.lead { font-size: clamp(1.4rem, 3vw, 2.15rem); line-height: 1.24; font-weight: 500; letter-spacing: -0.024em; max-width: 34em; }
.lead-sm { font-size: clamp(1.15rem, 2vw, 1.4rem); line-height: 1.34; font-weight: 500; letter-spacing: -0.018em; margin-top: 16px; max-width: 36em; }

/* Crumbs */
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 0 6px; font-size: 0.82rem; color: var(--gray); }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: 0.6; }
.crumbs a { display: inline-block; padding-block: 12px; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

/* Local nav */
.subnav { position: sticky; top: 52px; z-index: 30; background: rgba(255, 255, 255, 0.82); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid rgba(0, 0, 0, 0.08); }
.subnav-row { display: flex; align-items: center; gap: 22px; height: 52px; overflow-x: auto; scrollbar-width: none; font-size: 0.82rem; }
.subnav-row::-webkit-scrollbar { display: none; }
.subnav b { font-size: 1.05rem; font-weight: 600; letter-spacing: -0.02em; margin-right: auto; white-space: nowrap; }
.subnav a:not(.bar-cta) { text-decoration: none; white-space: nowrap; color: var(--ink); padding-block: 12px; }
.subnav a:not(.bar-cta):hover { color: var(--bid); }
.subnav .bar-cta { flex: none; }
.subnav-links { display: none; gap: 22px; }
@media (min-width: 700px) { .subnav-links { display: flex; } }

/* Steps as cards */
.cards { list-style: none; counter-reset: c; }
.card { counter-increment: c; background: var(--mist); border-radius: var(--r-l); padding: clamp(24px, 3vw, 32px); display: flex; flex-direction: column; min-height: 280px; }
.dark .card { background: #111113; }
.card::before { content: counter(c); font-size: 3.6rem; font-weight: 600; letter-spacing: -0.05em; line-height: 1; color: var(--bid); margin-bottom: auto; padding-bottom: 28px; }
.dark .card::before { color: var(--bid-bright); }
.card h3 { font-size: 1.4rem; margin-bottom: 6px; }
.card p { color: var(--gray); }
.dark .card p { color: var(--gray-dark); }

/* Two tiles */
.pair { display: grid; gap: clamp(12px, 1.6vw, 20px); }
@media (min-width: 800px) { .pair { grid-template-columns: 1fr 1fr; } }
.panel { background: var(--mist); border-radius: var(--r-l); padding: clamp(24px, 3.4vw, 40px); }
.panel-dark { background: #111113; color: var(--mist); }
.panel h3 { font-size: 1.75rem; letter-spacing: -0.03em; margin-bottom: 14px; }
.ticks li { position: relative; padding: 9px 0 9px 26px; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 15px; width: 12px; height: 6px; border-left: 2px solid var(--bid); border-bottom: 2px solid var(--bid); transform: rotate(-45deg); }
.panel-dark .ticks li::before { border-color: var(--bid-bright); }

/* Fee line */
.fees-block { max-width: 44rem; }
.fee-line { font-weight: 600; margin-top: 10px; }
.foot-legal .fee-line { font-weight: 400; }

/* FAQ */
.faqs { max-width: 52rem; margin-inline: auto; }
.faq { border-bottom: 1px solid var(--line); }
.dark .faq { border-color: var(--line-dark); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-block: 20px; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary > * { font-size: clamp(1.15rem, 2vw, 1.4rem); font-weight: 600; letter-spacing: -0.022em; line-height: 1.22; }
.faq summary::after { content: ""; flex: none; width: 22px; height: 22px; background: linear-gradient(currentColor, currentColor) center / 16px 1.75px no-repeat, linear-gradient(currentColor, currentColor) center / 1.75px 16px no-repeat; transition: transform 0.45s var(--ease); }
.faq[open] summary::after { transform: rotate(135deg); }
.faq-a { padding-bottom: 24px; color: var(--gray); max-width: 44rem; animation: open 0.5s var(--ease) both; }
.dark .faq-a { color: var(--gray-dark); }
@keyframes open { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.faq-group { margin-bottom: clamp(36px, 5vw, 64px); scroll-margin-top: 120px; }
.faq-group > h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); margin-bottom: 8px; max-width: 52rem; margin-inline: auto; }
.faq-tools { position: sticky; top: 60px; z-index: 20; display: grid; gap: 10px; max-width: 52rem; margin: 0 auto clamp(28px, 4vw, 44px); padding: 10px; background: rgba(255, 255, 255, 0.86); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); border-radius: 22px; }
.faq-tools input { border-radius: 980px; background: var(--mist); border: 0; padding-inline: 20px; }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-block: 2px; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; display: inline-flex; align-items: center; min-height: 36px; padding: 6px 15px; border-radius: 980px; background: var(--mist); color: var(--ink); text-decoration: none; font-size: 0.9rem; transition: background 0.2s, transform 0.25s var(--ease); }
.chip:hover { background: #e8e8ed; transform: scale(1.04); }
.faq-none { text-align: center; color: var(--gray); }

/* Definitions */
.defs { display: grid; gap: 12px; }
@media (min-width: 760px) { .defs { grid-template-columns: 1fr 1fr; } }
.defs > div { background: var(--mist); border-radius: 22px; padding: 22px 24px; }
.defs dt { font-weight: 600; font-size: 1.15rem; letter-spacing: -0.02em; }
.defs dd { color: var(--gray); margin-top: 4px; }
.prose { max-width: 42rem; }
.prose h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-top: 2em; margin-bottom: 0.5em; }
.prose ul { list-style: disc; padding-left: 1.2em; margin-block: 1em; }
.prose li { padding-block: 3px; }
.prose a, .section-link a { color: var(--bid); }
.info-sec { padding-top: clamp(48px, 7vw, 88px); }
.info-sec > h2 { font-size: clamp(1.9rem, 4vw, 3rem); max-width: 42rem; margin-bottom: 16px; }
.info-sec .rail { margin-inline: calc(var(--pad) * -1); padding-inline: var(--pad); scroll-padding-inline: var(--pad); }

/* Town and link lists */
.link-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.link-pills a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 18px; border-radius: 980px; background: var(--mist); color: var(--ink); text-decoration: none; transition: background 0.2s, transform 0.25s var(--ease); }
.dark .link-pills a { background: #1d1d1f; color: var(--mist); }
.link-pills a:hover { background: #e8e8ed; transform: scale(1.03); }
.dark .link-pills a:hover { background: #2c2c2e; }
.row-list li { border-top: 1px solid var(--line); }
.row-list a { display: block; padding-block: 20px; text-decoration: none; }
.row-list a b { display: block; font-size: clamp(1.3rem, 2.4vw, 1.75rem); font-weight: 600; letter-spacing: -0.026em; }
.row-list a:hover b { color: var(--bid); }
.row-list span { color: var(--gray); }

/* Forms */
.form-card { background: var(--mist); border-radius: clamp(24px, 3vw, 36px); padding: clamp(24px, 4vw, 48px); max-width: 44rem; margin-inline: auto; }
.dark .form-card { background: #111113; }
.form-card h2 { font-size: clamp(1.9rem, 4vw, 2.75rem); margin-bottom: 18px; }
.form-grid { display: grid; gap: 0 14px; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } }
.field { margin-bottom: 14px; border: 0; padding: 0; }
.field label, .field legend { display: block; font-size: 0.92rem; font-weight: 500; margin-bottom: 5px; padding: 0; }
.opt, .hint { color: var(--gray); font-weight: 400; }
.dark .opt, .dark .hint { color: var(--gray-dark); }
.hint { font-size: 0.9rem; margin-bottom: 6px; }
input[type="text"], input[type="email"], input[type="tel"], input[type="search"], input[type="number"], input[type="url"], input[type="date"], input[type="datetime-local"], select, textarea {
  width: 100%; min-height: 50px; padding: 13px 15px; border: 1px solid #86868b; border-radius: 14px; background: var(--white); color: var(--ink); font: 400 1rem var(--sans); letter-spacing: -0.01em; transition: border-color 0.2s, box-shadow 0.2s;
}
input:focus, textarea:focus, select:focus { outline: none; border-color: #0a84ff; box-shadow: 0 0 0 4px rgba(10, 132, 255, 0.25); }
textarea { resize: vertical; }
.hp, .vh { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ts-slot:not(:empty) { margin-bottom: 14px; min-height: 65px; }
.form-note { font-size: 0.93rem; color: var(--gray); margin-top: 8px; }
.dark .form-note { color: var(--gray-dark); }
.signup-row { display: grid; gap: 10px; max-width: 30rem; margin-inline: auto; }
@media (min-width: 620px) { .signup-row { grid-template-columns: 1fr auto; align-items: end; } .signup-row .field { margin: 0; } }

/* Sell chooser */
.chooser { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 18px; }
@media (min-width: 720px) { .chooser { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.choice { position: relative; display: block; aspect-ratio: 1 / 1; border-radius: 20px; overflow: hidden; background: #111; color: #fff; cursor: pointer; isolation: isolate; transition: transform 0.35s var(--ease); }
.choice img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1s var(--ease); }
.choice::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 40%, rgba(0, 0, 0, 0.74) 100%); }
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choice span { position: absolute; left: 14px; right: 14px; bottom: 12px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; }
.choice:hover { transform: scale(1.02); }
.choice:hover img { transform: scale(1.06); }
.choice:has(input:checked) { box-shadow: 0 0 0 3px var(--bid); }
.choice:has(input:focus-visible) { outline: 3px solid #0a84ff; outline-offset: 3px; }
.choice i { position: absolute; top: 12px; right: 12px; width: 26px; height: 26px; border-radius: 50%; background: var(--bid); display: grid; place-items: center; transform: scale(0); transition: transform 0.35s cubic-bezier(0.2, 1.6, 0.4, 1); }
.choice i::after { content: ""; width: 11px; height: 5px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg) translate(1px, -1px); }
.choice:has(input:checked) i { transform: scale(1); }
.drop { display: block; border: 1.5px dashed #86868b; border-radius: 20px; padding: 26px 18px; text-align: center; cursor: pointer; transition: border-color 0.2s, background 0.2s; }
.drop:hover, .drop.over { border-color: var(--bid); background: rgba(192, 48, 31, 0.05); }
.drop b { display: block; font-size: 1.1rem; font-weight: 600; }
.drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: 8px; margin-top: 10px; }
.thumbs img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; }
.motion .thumbs img { animation: pop 0.4s cubic-bezier(0.2, 1.5, 0.4, 1) both; }
@keyframes pop { from { transform: scale(0.6); opacity: 0; } to { transform: none; opacity: 1; } }

/* Auctions */
.auctions { display: grid; gap: clamp(12px, 1.6vw, 20px); }
@media (min-width: 800px) { .auctions { grid-template-columns: 1fr 1fr; } }
.auction-tile { aspect-ratio: 4 / 3; }
.no-photo { width: 100%; height: 100%; min-height: 200px; display: grid; place-items: center; background: #1d1d1f; color: var(--gray-dark); }
.empty-box { text-align: center; }
.count { display: flex; gap: clamp(14px, 3vw, 30px); margin-top: 18px; font-variant-numeric: tabular-nums; }
.count div { text-align: center; }
.count b { display: block; font-size: clamp(2.2rem, 6vw, 3.75rem); font-weight: 600; letter-spacing: -0.04em; line-height: 1; }
.count span { font-size: 0.8rem; opacity: 0.85; }
.status { font-weight: 600; color: var(--bid-bright); }
.lot-grid { display: grid; gap: clamp(12px, 1.6vw, 20px); grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
.lot-tile a { display: block; text-decoration: none; color: inherit; }
.lot-tile-pic { display: block; aspect-ratio: 1 / 1; border-radius: var(--r-l); overflow: hidden; background: var(--mist); }
.lot-tile-pic img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.lot-tile a:hover img { transform: scale(1.06); }
.lot-tile-num { display: block; color: var(--gray); font-size: 0.9rem; margin-top: 12px; }
.lot-tile-title { font-size: 1.25rem; font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; }
.lot-tile-price { display: block; color: var(--gray); margin-top: 2px; }

/* Lot */
.lot-top { display: grid; gap: 24px clamp(32px, 5vw, 64px); padding-bottom: var(--sec); }
@media (min-width: 960px) { .lot-top { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: start; } .lot-side { position: sticky; top: 76px; } }
.lot-photos { display: grid; grid-auto-flow: column; grid-auto-columns: 100%; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: var(--r-l); }
.lot-photos::-webkit-scrollbar { display: none; }
.lot-photos > * { scroll-snap-align: start; aspect-ratio: 1 / 1; border-radius: var(--r-l); overflow: hidden; background: var(--mist); }
.lot-photos img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 960px) { .lot-photos { grid-auto-flow: row; grid-auto-columns: auto; overflow: visible; } }
.lot-no { color: var(--gray); font-weight: 500; }
.lot-side h1 { font-size: clamp(2rem, 4.4vw, 3.25rem); letter-spacing: -0.034em; margin-top: 4px; }
.price { font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 600; letter-spacing: -0.034em; line-height: 1.1; }
.price-label { color: var(--gray); margin-top: 18px; }
.sold-mark { color: var(--bid); font-weight: 600; margin-top: 18px; }
.buy { position: sticky; bottom: 0; z-index: 25; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px var(--pad); background: rgba(255, 255, 255, 0.86); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); border-top: 1px solid rgba(0, 0, 0, 0.08); font-size: 0.95rem; }
.buy b { font-weight: 600; }
@media (min-width: 960px) { .buy { display: none; } }
.specs { display: grid; gap: 0 clamp(24px, 4vw, 48px); }
@media (min-width: 760px) { .specs { grid-template-columns: 1fr 1fr; } }
.specs div { padding-block: 16px; border-top: 1px solid var(--line); }
.specs dt { color: var(--gray); font-size: 0.9rem; }
.specs dd { font-size: 1.1rem; font-weight: 500; letter-spacing: -0.016em; }
.facts { display: grid; grid-template-columns: minmax(7rem, auto) minmax(0, 1fr); gap: 0 16px; margin-top: 20px; }
.facts dt, .facts dd { padding-block: 10px; border-top: 1px solid var(--line); }
.dark .facts dt, .dark .facts dd { border-color: var(--line-dark); }
.facts dt { color: var(--gray); }
.dark .facts dt { color: var(--gray-dark); }
.hint-line { color: var(--gray); font-size: 0.93rem; margin-top: 16px; }

/* Sort and pager */
.toolbar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.toolbar a[aria-current] { background: var(--ink); color: #fff; }
.pager { display: flex; gap: 12px; margin-top: 32px; }

/* Share */
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 14px; margin-top: 22px; }
.share-head { flex-basis: 100%; color: var(--gray); font-size: 0.9rem; }
.dark .share-head { color: var(--gray-dark); }
.share a, .share button { display: inline-flex; align-items: center; min-height: 44px; font-size: 0.95rem; color: var(--bid); background: none; border: 0; padding: 0 2px; cursor: pointer; text-decoration: none; }
.dark .share a, .dark .share button { color: var(--bid-bright); }
.share a:hover, .share button:hover { text-decoration: underline; }
.share-status { color: var(--gray); font-size: 0.9rem; }

/* Thanks */
.thanks { min-height: 72svh; display: grid; place-items: center; text-align: center; }
.check { width: 84px; height: 84px; border-radius: 50%; background: var(--bid); display: grid; place-items: center; margin: 0 auto 26px; }
.check::after { content: ""; width: 34px; height: 16px; border-left: 4px solid #fff; border-bottom: 4px solid #fff; transform: rotate(-45deg) translate(3px, -4px); }
.motion .check { animation: pop 0.6s cubic-bezier(0.2, 1.6, 0.4, 1) both; }

/* Footer */
.foot { background: var(--mist); color: var(--gray); font-size: 0.8rem; line-height: 1.5; padding-block: 44px 28px; }
.foot a { color: inherit; text-decoration: none; }
.foot a:hover { color: var(--ink); text-decoration: underline; }
.foot-grid { display: grid; gap: 28px 32px; grid-template-columns: repeat(2, minmax(0, 1fr)); padding-bottom: 28px; border-bottom: 1px solid var(--line); }
@media (min-width: 860px) { .foot-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.foot-id { grid-column: 1 / -1; }
@media (min-width: 860px) { .foot-id { grid-column: auto; } }
.foot-name { font-size: 1.05rem; font-weight: 600; color: var(--ink); letter-spacing: -0.02em; margin-bottom: 6px; }
.foot-head { color: var(--ink); font-weight: 600; margin-bottom: 6px; }
.foot-nav a { display: inline-block; padding-block: 5px; }
.foot-id a { display: inline-block; padding-block: 4px; }
.foot-legal { padding-top: 18px; }
.foot-legal p + p { margin-top: 6px; }
.eho { display: flex; align-items: center; gap: 7px; }

/* Admin */
.admin { max-width: 780px; margin: 0 auto; padding: 16px 16px 72px; }
.admin h1 { font-size: 2rem; margin: 12px 0 16px; }
.admin h2 { font-size: 1.35rem; margin: 26px 0 10px; }
.admin-bar { display: flex; gap: 16px; align-items: center; border-bottom: 1px solid var(--line); padding-block: 4px; flex-wrap: wrap; }
.admin-bar a, .admin-bar button { min-height: 44px; display: inline-flex; align-items: center; background: none; border: 0; color: var(--bid); cursor: pointer; padding: 0; text-decoration: none; }
.admin-bar form { margin-left: auto; }
.admin-list li { padding-block: 12px; border-top: 1px solid var(--line); }
.admin-list a { font-size: 1.1rem; font-weight: 500; color: var(--ink); }
.admin-meta { color: var(--gray); font-size: 0.93rem; }
.admin-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-block: 14px; }
.admin-check { display: flex; gap: 10px; align-items: flex-start; padding-block: 8px; font-weight: 400; }
.admin-check input { width: 24px; height: 24px; flex: none; margin-top: 1px; accent-color: var(--bid); }
.admin-thumbs { display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); margin-block: 10px; }
.admin-thumbs img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; }
.admin-flash { background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 12px; margin-block: 12px; }
.admin .form { max-width: 100%; }
.kit-grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.kit-grid canvas { width: 100%; height: auto; background: var(--line); border-radius: 14px; }

@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; }
}
@media print { .bar, .foot, .share, form, .subnav, .buy { display: none; } }
