/* UMRM Community — single stylesheet, no framework. */
:root {
	--ink: #1d2327;
	--ink-2: #3c434a;
	--muted: #5f6770;
	--line: #dcdcde;
	--bg: #f6f5f3;
	--card: #fff;
	--brand: #b4410f;
	--brand-dark: #8f330b;
	--steel: #1f2a33;
	--steel-2: #2c3a46;
	--ok: #15692d;
	--warn: #9a6700;
	--bad: #b32d2e;
	--radius: 10px;
	--shadow: 0 1px 2px rgba(0,0,0,.06), 0 2px 8px rgba(0,0,0,.04);
	--wrap: 1200px;
	--font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 16px/1.55 var(--font); color: var(--ink); background: var(--bg); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-dark); text-underline-offset: 2px; }
a:hover { color: var(--brand); }
:focus-visible { outline: 3px solid #2271b1; outline-offset: 2px; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; color: var(--ink); }
h1 { font-size: clamp(1.6rem, 1.2rem + 1.8vw, 2.4rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.25rem, 1.1rem + .7vw, 1.6rem); }
h3 { font-size: 1.15rem; }
.h4, h4 { font-size: 1rem; font-weight: 700; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.25em; }
table { border-collapse: collapse; width: 100%; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 100; background: #fff; padding: 8px 12px; }
.skip-link:focus { left: 8px; }
.hp { position: absolute; left: -9999px; }

.container { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.section { padding-top: 28px; padding-bottom: 28px; }
.narrow { max-width: 560px; margin-left: auto; margin-right: auto; }
.narrow-wide { max-width: 820px; margin-left: auto; margin-right: auto; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.center { text-align: center; }
.lead { font-size: 1.1rem; color: var(--ink-2); max-width: 70ch; }
.inline { display: inline; }

/* Header */
.site-header { background: var(--steel); color: #fff; position: sticky; top: 0; z-index: 50; }
.header-inner { display: flex; align-items: center; gap: 16px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; margin-right: auto; }
.brand:hover { color: #fff; }
.brand-mark { width: 36px; height: 36px; }
.brand-text { line-height: 1.1; font-size: .95rem; }
.brand-text span { display: block; opacity: .85; font-size: .8rem; }
.brand-text strong { font-size: 1.1rem; letter-spacing: .02em; }
.brand-logo { max-height: 44px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 20px; }
.nav-list { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-list a, .nav-link { color: #e9eef2; text-decoration: none; padding: 8px 10px; border-radius: 6px; font-weight: 500; display: inline-flex; align-items: center; gap: 6px; }
.nav-list a:hover, .nav-link:hover, .nav-list a[aria-current] { background: var(--steel-2); color: #fff; }
.nav-actions { display: flex; align-items: center; gap: 6px; }
.nav-toggle { display: none; background: none; border: 0; color: #fff; padding: 10px; cursor: pointer; }
.bars, .bars::before, .bars::after { display: block; width: 22px; height: 2px; background: #fff; position: relative; content: ""; }
.bars::before { position: absolute; top: -7px; }
.bars::after { position: absolute; top: 7px; }
.count { display: inline-block; min-width: 1.4em; padding: 0 .4em; border-radius: 999px; background: var(--brand); color: #fff; font-size: .75rem; line-height: 1.4em; text-align: center; font-weight: 700; }
.tab .count, .chip .count, .type-grid .count { background: #e8e5e1; color: var(--ink-2); }

@media (max-width: 960px) {
	.nav-toggle { display: block; }
	.site-nav { display: none; position: absolute; left: 0; right: 0; top: 64px; background: var(--steel); flex-direction: column; align-items: stretch; padding: 8px 16px 16px; gap: 8px; box-shadow: 0 8px 16px rgba(0,0,0,.25); }
	.site-nav.is-open { display: flex; }
	.nav-list { flex-direction: column; }
	.nav-actions { flex-wrap: wrap; }
	.nav-list a, .nav-link { padding: 12px 10px; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 10px 16px; border-radius: 8px; border: 1px solid var(--line); background: #fff; color: var(--ink); font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; line-height: 1.2; min-height: 44px; }
.btn:hover { border-color: #b7b7b7; color: var(--ink); background: #fafafa; }
.btn-primary { background: var(--brand); border-color: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); border-color: var(--brand-dark); color: #fff; }
.btn-danger { background: var(--bad); border-color: var(--bad); color: #fff; }
.btn-small { padding: 6px 12px; min-height: 36px; font-size: .9rem; }
.btn-large { padding: 14px 22px; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn-link { background: none; border-color: transparent; color: var(--brand-dark); text-decoration: underline; }
.site-header .btn-primary { margin-left: 6px; }

/* Hero */
.hero { background: linear-gradient(135deg, var(--steel) 0%, #33444f 100%); color: #fff; padding: 40px 0 34px; }
.hero h1 { color: #fff; max-width: 22ch; }
.hero .lead { color: #dfe6eb; }
.hero-search { display: flex; gap: 8px; flex-wrap: wrap; max-width: 760px; margin: 20px 0; }
.hero-search input { flex: 1 1 260px; }
.hero-search select { flex: 0 1 200px; }
.hero-stats { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 24px; color: #dfe6eb; }
.hero-stats strong { color: #fff; font-size: 1.15rem; }

/* Sections */
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.section-head h2 { margin: 0; }
.band { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; padding-left: 1.2em; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
@media (max-width: 760px) { .split { grid-template-columns: 1fr; } }
.page-head { margin-bottom: 16px; }
.head-with-action { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
@media (max-width: 640px) { .head-with-action { flex-direction: column; } }

/* Cards & grids */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.pad { padding: 16px; }
.grid { display: grid; gap: 16px; }
.grid-cards { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.grid-members { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.grid-guides { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.listing-card { overflow: hidden; display: flex; flex-direction: column; }
.card-media { position: relative; display: block; aspect-ratio: 4 / 3; background: #e8e5e1; }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.no-photo { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; color: var(--muted); font-size: .9rem; }
.no-photo-large { aspect-ratio: 4 / 3; background: #e8e5e1; border-radius: var(--radius); }
.card-body { padding: 12px 14px 14px; }
.card-title { font-size: 1.02rem; margin: 0 0 4px; }
.card-title a { color: var(--ink); text-decoration: none; }
.card-title a:hover { color: var(--brand); text-decoration: underline; }
.price { font-weight: 700; font-size: 1.1rem; margin: 0 0 2px; }
.price-large { font-size: 1.6rem; margin-bottom: 8px; }
.meta { color: var(--muted); font-size: .875rem; margin: 0; }
.is-sold .card-media img { filter: grayscale(.7); opacity: .8; }
.badge { position: static; display: inline-block; padding: 2px 8px; border-radius: 999px; background: #eef1f4; color: var(--ink-2); font-size: .75rem; font-weight: 700; vertical-align: middle; }
.card-media .badge { position: absolute; top: 10px; left: 10px; background: #fff; }
.badge-sold { background: var(--ink) !important; color: #fff !important; }
.badge-pending { background: #fff4d6 !important; color: var(--warn) !important; }
.badge-trusted { background: #e6f4ea; color: var(--ok); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink-2); font-size: .875rem; text-decoration: none; }
a.chip:hover, .chip.is-active { border-color: var(--brand); color: var(--brand-dark); }
.member-head { display: flex; gap: 12px; align-items: center; }
.member-head .card-title, .member-head p { margin: 0; }
.avatar { border-radius: 50%; object-fit: cover; flex: none; }
.avatar-initials { width: var(--s); height: var(--s); display: inline-flex; align-items: center; justify-content: center; background: hsl(var(--h) 35% 40%); color: #fff; font-weight: 700; font-size: calc(var(--s) * .38); }

/* Type tiles */
.type-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px; }
.type-grid a { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 12px 14px; background: #fff; border: 1px solid var(--line); border-radius: 8px; text-decoration: none; color: var(--ink); font-weight: 600; min-height: 48px; }
.type-grid a:hover { border-color: var(--brand); color: var(--brand-dark); }

/* Lists */
.link-list, .plain-list { list-style: none; padding: 0; margin: 0; }
.link-list li, .plain-list li { padding: 10px 0; border-bottom: 1px solid var(--line); }
.link-list li:last-child, .plain-list li:last-child { border-bottom: 0; }
.wanted-has-photo { display: grid; grid-template-columns: 120px minmax(0, 1fr); column-gap: 14px; }
.wanted-has-photo > :not(.wanted-thumb) { grid-column: 2; }
.wanted-thumb { grid-row: 1 / span 3; border-radius: 6px; overflow: hidden; align-self: start; }
.wanted-thumb img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.prose img { border-radius: 8px; margin: 8px 0; }
.gallery-main + .gallery-thumbs, .gallery-thumbs { margin-bottom: 16px; }
.wanted-list, .topic-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.topic { display: flex; gap: 16px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; }
.topic-main { flex: 1; min-width: 0; }
.topic-count { text-align: center; min-width: 64px; display: flex; flex-direction: column; }
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li::before { content: "✓ "; color: var(--ok); font-weight: 700; }

/* Tabs */
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin: 8px 0 16px; overflow-x: auto; }
.tab { padding: 10px 14px; text-decoration: none; color: var(--ink-2); border-bottom: 3px solid transparent; white-space: nowrap; font-weight: 600; }
.tab:hover { color: var(--ink); }
.tab.is-active { color: var(--brand-dark); border-bottom-color: var(--brand); }

/* Archive layout */
.layout { display: grid; grid-template-columns: 260px 1fr; gap: 24px; align-items: start; }
.layout-right { grid-template-columns: 1fr 320px; }
@media (max-width: 900px) { .layout, .layout-right { grid-template-columns: 1fr; } }
.filters { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.filters .field { margin-bottom: 12px; }
.filters-toggle { display: none; }
@media (max-width: 900px) {
	.filters-toggle { display: flex; }
	.filters-panel { display: none; margin-top: 10px; }
	.filters-panel.is-open { display: block; }
}
.alert-box { margin-top: 12px; }
.range { display: flex; align-items: center; gap: 6px; }
.range input { min-width: 0; }
.result-count { margin: 0 0 8px; }
.empty { text-align: left; }
.pagination { margin: 24px 0; }
.pagination ul, .pagination .page-numbers:not(li) { }
.pagination ul { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; }
.pagination a.page-numbers, .pagination span.page-numbers { display: inline-flex; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; padding: 0 12px; border: 1px solid var(--line); border-radius: 8px; background: #fff; text-decoration: none; }
.pagination .current { background: var(--steel); color: #fff; border-color: var(--steel); }
.breadcrumbs ol { list-style: none; padding: 0; margin: 0 0 12px; display: flex; flex-wrap: wrap; gap: 4px; font-size: .875rem; color: var(--muted); }
.breadcrumbs li + li::before { content: "›"; margin-right: 4px; }

/* Single listing */
.listing { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(300px, 1fr); grid-template-areas: "media summary" "details summary"; gap: 24px; align-items: start; }
.listing-media { grid-area: media; }
.listing-summary { grid-area: summary; position: sticky; top: 80px; display: grid; gap: 12px; }
.listing-details { grid-area: details; }
@media (max-width: 900px) {
	.listing { grid-template-columns: 1fr; grid-template-areas: "media" "summary" "details"; }
	.listing-summary { position: static; }
}
.gallery-main { margin: 0; background: #e8e5e1; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; background: #111; }
.gallery-thumbs { list-style: none; padding: 0; margin: 8px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: 6px; }
.gallery-thumbs a { display: block; border-radius: 6px; overflow: hidden; border: 2px solid transparent; }
.gallery-thumbs a[aria-current="true"] { border-color: var(--brand); }
.gallery-thumbs img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.listing-summary h1 { font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2rem); margin-bottom: 4px; }
.seller-name { font-weight: 700; margin: 0; }
.contact-box { margin-top: 12px; }
.contact-box textarea { min-height: 110px; }
.notice.notice-sold { background: var(--ink); color: #fff; border-color: var(--ink); }
.notice.notice-sold a { color: #ffd2bd; }
.facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 0; margin: 0 0 16px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; }
.facts div { padding: 10px 14px; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); }
.facts dt { font-size: .8rem; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.facts dd { margin: 0; font-weight: 600; }
.table { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.table th, .table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table thead th { background: #f0f0f1; font-size: .875rem; }
.specs th { width: 40%; color: var(--ink-2); font-weight: 600; }
.table-wrap { overflow-x: auto; }
.row-actions { display: flex; flex-wrap: wrap; gap: 6px; align-items: flex-start; }
.row-actions form { display: flex; flex-wrap: wrap; gap: 6px; }
.score { display: inline-block; min-width: 2.4em; text-align: center; padding: 2px 6px; border-radius: 6px; font-weight: 700; background: #eee; }
.score-excellent { background: #e6f4ea; color: var(--ok); }
.score-good { background: #eaf2fb; color: #1d4f91; }
.score-needs-work { background: #fff4d6; color: var(--warn); }
.score-poor { background: #fbeaea; color: var(--bad); }

/* Prose (guides, pages, descriptions) */
.prose { max-width: 72ch; }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.3em; }
.prose li { margin-bottom: .35em; }
.prose table { background: #fff; border: 1px solid var(--line); margin: 1em 0; display: block; overflow-x: auto; }
.prose th, .prose td { border-bottom: 1px solid var(--line); padding: 8px 10px; text-align: left; }
.faqs { margin-top: 32px; max-width: 72ch; }
.faq { background: #fff; border: 1px solid var(--line); border-radius: 8px; margin-bottom: 8px; }
.faq summary { cursor: pointer; padding: 14px 16px; font-weight: 600; }
.faq > div { padding: 0 16px 6px; }
.cta-box { margin-top: 24px; }
.guide-side, .profile-side { display: grid; gap: 12px; }

/* Forms */
.form { display: grid; gap: 14px; }
.form-section { font-size: 1.15rem; margin: 18px 0 0; padding-top: 14px; border-top: 1px solid var(--line); }
.field { display: grid; gap: 6px; border: 0; padding: 0; margin: 0; min-width: 0; }
label, legend { font-weight: 600; }
.optional { font-weight: 400; color: var(--muted); }
.hint { margin: 0; font-size: .85rem; color: var(--muted); }
input[type=text], input:not([type]), input[type=email], input[type=password], input[type=search], input[type=number], input[type=tel], input[type=url], select, textarea {
	width: 100%; padding: 10px 12px; border: 1px solid #8c8f94; border-radius: 8px; font: inherit; background: #fff; color: var(--ink); min-height: 44px;
}
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: #2271b1; box-shadow: 0 0 0 1px #2271b1; outline: none; }
.checks { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 6px 16px; font-weight: 400; }
.checks label, .check { font-weight: 400; display: flex; gap: 8px; align-items: flex-start; }
.checks-inline { display: flex; flex-wrap: wrap; gap: 8px 20px; }
input[type=checkbox], input[type=radio] { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--brand); flex: none; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; align-items: end; }
@media (max-width: 640px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }
.photo-grid, .photo-preview { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 8px; }
.photo-keep { display: grid; gap: 4px; font-weight: 400; font-size: .875rem; }
.photo-keep img, .photo-preview img { border-radius: 6px; aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.filter-bar input, .filter-bar select { flex: 1 1 180px; width: auto; }
.form-compact { gap: 8px; margin-top: 8px; }

/* Notices */
.notice { padding: 12px 16px; border: 1px solid var(--line); border-left: 4px solid #2271b1; background: #fff; border-radius: 8px; margin: 0 0 16px; }
.notice p:last-child, .notice ul:last-child { margin-bottom: 0; }
.notice-success { border-left-color: var(--ok); }
.notice-error { border-left-color: var(--bad); }
.notice-warning { border-left-color: #dba617; }
.notice form { display: inline; }

/* Report */
.report { margin-top: 12px; font-size: .875rem; }
.report summary { cursor: pointer; color: var(--muted); display: inline; }
.report[open] { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 10px; }

/* Messages */
.inbox { list-style: none; padding: 0; margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.inbox li + li { border-top: 1px solid var(--line); }
.inbox a { display: flex; gap: 12px; align-items: center; padding: 12px 16px; text-decoration: none; color: var(--ink); }
.inbox a:hover { background: #fafafa; }
.inbox-main { flex: 1; min-width: 0; display: grid; }
.inbox-main .small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.is-unread strong { color: var(--brand-dark); }
.thread-head { display: flex; gap: 12px; align-items: center; margin-bottom: 12px; }
.thread-head h2 { margin: 0; font-size: 1.2rem; }
.thread-head p { margin: 0; }
.thread { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 10px; max-width: 760px; }
.msg { max-width: 85%; }
.msg-body { background: #fff; border: 1px solid var(--line); border-radius: 12px 12px 12px 4px; padding: 10px 14px; overflow-wrap: anywhere; }
.msg-mine { margin-left: auto; }
.msg-mine .msg-body { background: #fdf0ea; border-color: #f2cdbd; border-radius: 12px 12px 4px 12px; }
.msg-meta { margin-top: 4px; display: flex; gap: 8px; flex-wrap: wrap; align-items: baseline; }
.msg-meta .report { margin: 0; }
.thread-context { font-size: .85rem; color: var(--muted); text-align: center; }
.reply-form { max-width: 760px; }
.thread-tools { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }

/* Profile */
.profile-head { display: grid; grid-template-columns: auto 1fr auto; gap: 20px; align-items: start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; margin-bottom: 20px; }
.profile-head h1 { margin-bottom: 4px; }
.profile-actions { display: grid; gap: 8px; justify-items: stretch; min-width: 200px; }
@media (max-width: 760px) { .profile-head { grid-template-columns: 1fr; } }
.profile-grid { display: grid; grid-template-columns: 1fr 300px; gap: 24px; }
@media (max-width: 900px) { .profile-grid { grid-template-columns: 1fr; } }
.profile-main section { margin-bottom: 28px; }
.references { list-style: none; padding: 0; }
.references li { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; margin-bottom: 8px; }
.member-card { padding: 16px; display: grid; gap: 8px; align-content: start; }
.member-card p { margin: 0; }

/* Discussion */
.topic-post { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; margin-bottom: 20px; }
.reply-head { display: flex; gap: 10px; align-items: center; margin-bottom: 10px; }
.reply-head > div { display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: baseline; }
.reply-author { font-weight: 700; color: var(--ink); text-decoration: none; }
.reply-list, .reply-list .children { list-style: none; padding: 0; margin: 0; }
.reply-list .children { margin-left: 24px; border-left: 2px solid var(--line); padding-left: 12px; }
.reply > article { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; margin-bottom: 10px; }
.reply-body p:last-child { margin-bottom: 0; }
.reply-foot { display: flex; gap: 12px; align-items: baseline; flex-wrap: wrap; font-size: .875rem; margin-top: 8px; }
.comment-respond { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; margin-top: 16px; }
.comment-form { display: grid; gap: 10px; }
.comment-form .submit { background: var(--brand); color: #fff; border: 0; border-radius: 8px; padding: 12px 18px; font: inherit; font-weight: 600; cursor: pointer; }

/* Footer */
.site-footer { background: var(--steel); color: #cfd8de; margin-top: 40px; padding: 36px 0 16px; }
.site-footer a { color: #e9eef2; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: #fff; }
.site-footer .muted { color: #aeb9c1; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 24px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-brand { color: #fff; font-weight: 700; font-size: 1.1rem; }
.footer-head { color: #fff; font-weight: 700; margin-bottom: 10px; }
.footer-bottom { border-top: 1px solid #36454f; margin-top: 24px; padding-top: 14px; }
.footer-bottom a, .site-footer p a { text-decoration: underline; }
.site-footer .btn { background: transparent; color: #fff; border-color: #6b7c88; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }
@media print { .site-header, .site-footer, .sidebar, .contact-box, .report { display: none !important; } }

/* ==== Redesign 2026-11: original orange and charcoal, white header with the original logo, home page shelves ==== */
:root {
	--ink: #1F1F1F;
	--ink-2: #3D3D3D;
	--muted: #5C6066;
	--line: #E3E6EA;
	--bg: #F5F6F7;
	--brand: #BA3726;
	--brand-dark: #8F2A1C;
	--orange: #E64C29;
	--steel: #2B2B2B;
	--steel-2: #3D3D3D;
	--wrap: 1280px;
}
h1, h2 { font-weight: 800; }

/* Header */
.site-header { background: #fff; color: var(--ink); border-bottom: 1px solid var(--line); }
.header-inner { min-height: 76px; }
.brand, .brand:hover { color: var(--ink); }
.brand-logo { height: 58px; max-height: 58px; width: auto; }
.nav-list a, .nav-link { color: var(--steel); font-weight: 600; }
.nav-list a:hover, .nav-link:hover { background: var(--bg); color: var(--brand); }
.nav-list a[aria-current] { background: transparent; color: var(--brand); }
.nav-social { display: inline-flex; align-items: center; }
.nav-toggle { color: var(--steel); }
.bars, .bars::before, .bars::after { background: var(--steel); }
.listing-summary { top: 92px; }
@media (max-width: 960px) {
	.site-nav { top: 76px; background: #fff; border-top: 1px solid var(--line); }
}
@media (max-width: 640px) {
	.header-inner { min-height: 64px; }
	.brand-logo { height: 46px; max-height: 46px; }
	.site-nav { top: 64px; }
}

/* Buttons */
.btn-outline { background: #fff; color: var(--steel); border: 2px solid var(--steel); }
.btn-outline:hover { background: var(--steel); color: #fff; border-color: var(--steel); }

/* Hero */
.hero { background: repeating-linear-gradient(115deg, rgba(255,255,255,.035) 0 2px, transparent 2px 46px), linear-gradient(135deg, #1F1F1F, #3D3D3D); border-bottom: 6px solid var(--orange); padding: 44px 0; }
.hero-inner { display: grid; gap: 28px; align-items: center; }
.hero-copy { min-width: 0; }
.hero-eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; font-size: .8125rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: #D6D8DB; }
.hero-eyebrow::before { content: ""; flex: none; width: 28px; height: 3px; background: var(--orange); }
.hero h1 { max-width: none; font-size: clamp(2rem, 1.2rem + 2.6vw, 3.1rem); letter-spacing: -.02em; line-height: 1.08; }
.hero .lead { color: #D6D8DB; max-width: 56ch; }
.hero-search { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) auto; gap: 8px; max-width: none; margin: 22px 0 18px; background: #fff; padding: 8px; border-radius: 12px; }
.hero-search input, .hero-search select { border-color: var(--line); min-width: 0; }
.hero-stats { color: #D6D8DB; }
.hero-photo { margin: 0; min-width: 0; }
.hero-photo img { display: block; width: 100%; height: auto; border-radius: 12px; box-shadow: 0 14px 34px rgba(0,0,0,.4); }
@media (min-width: 1000px) {
	.hero-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; }
}
@media (max-width: 640px) {
	.hero { padding: 32px 0; }
	.hero-search { grid-template-columns: minmax(0, 1fr); }
}

/* Equipment strip */
.browse-strip { background: #fff; border-bottom: 1px solid var(--line); }
.browse-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; padding-top: 14px; padding-bottom: 14px; }
.browse-label { margin-right: 6px; font-size: .8125rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.browse-chip { padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--bg); color: var(--steel); font-size: .9375rem; font-weight: 600; text-decoration: none; }
.browse-chip:hover { border-color: var(--orange); background: #FDEAE4; color: var(--brand); }

/* Machine shelves: five cards wide; below 1000px the row slides sideways */
.shelf { padding: 44px 0; }
.shelf-alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.shelf-head { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 8px 24px; margin-bottom: 20px; }
.shelf-head h2 { margin: 0; font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2rem); letter-spacing: -.01em; }
.shelf-head h2 span { color: var(--brand); }
.shelf-head p { margin: 0; flex: 1 1 280px; min-width: 0; color: var(--muted); }
.shelf-head a { font-weight: 700; white-space: nowrap; }
.shelf-row { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.shelf-row .listing-card { min-width: 0; box-shadow: none; }
.shelf-row .listing-card:hover { border-color: var(--steel); box-shadow: 0 8px 22px rgba(31,31,31,.12); }
.shelf-row .card-body { display: flex; flex-direction: column; flex: 1; padding: 14px 14px 16px; }
.shelf-row .meta { order: 1; min-height: 1.2em; font-size: .72rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.shelf-row .card-title { order: 2; margin: 6px 0 0; font-size: 1rem; line-height: 1.3; overflow-wrap: anywhere; }
.shelf-row .price { order: 3; margin: auto 0 0; padding-top: 10px; font-size: 1.2rem; font-weight: 800; }
.shelf-new .price { font-size: 1.05rem; color: var(--brand); }
.shelf-row .card-media .badge { border-radius: 6px; padding: 4px 9px; font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; }
.shelf-new .card-media .badge:not(.badge-sold):not(.badge-pending) { background: #1F1F1F; color: #fff; }
.shelf-featured .card-media::before, .shelf-used .card-media::before { position: absolute; top: 10px; left: 10px; z-index: 1; border-radius: 6px; padding: 4px 9px; font-size: .72rem; font-weight: 700; letter-spacing: .06em; line-height: 1.5; text-transform: uppercase; }
.shelf-featured .card-media::before { content: "Featured"; background: var(--brand); color: #fff; }
.shelf-used .card-media::before { content: "Used"; background: #fff; color: #1F1F1F; }
.shelf-featured .card-media .badge, .shelf-used .card-media .badge { left: auto; right: 10px; }
.shelf-more { display: flex; justify-content: center; margin: 26px 0 0; }
@media (max-width: 999px) {
	.shelf { padding: 32px 0; }
	.shelf-row { grid-template-columns: repeat(5, minmax(210px, 1fr)); overflow-x: auto; padding-bottom: 10px; scroll-snap-type: x proximity; }
	.shelf-row .listing-card { scroll-snap-align: start; }
}

/* Sell band */
.sell-band { background: #1F1F1F; color: #fff; border-top: 6px solid var(--orange); }
.sell-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; padding-top: 34px; padding-bottom: 34px; }
.sell-band h2 { flex: 1 1 360px; min-width: 0; margin: 0; color: #fff; font-size: clamp(1.35rem, 1rem + 1.2vw, 1.85rem); }
.sell-band p { flex: 1 1 320px; min-width: 0; margin: 0; color: #D6D8DB; }

/* Three ways in */
.ways { padding: 44px 0 8px; }
.ways-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.way { min-width: 0; border-top: 3px solid var(--steel); padding-top: 16px; }
.way h3 { margin: 0; font-size: 1.25rem; font-weight: 800; }
.way p { margin: 8px 0 0; color: var(--muted); }
.way a { display: inline-block; margin-top: 12px; font-weight: 700; }
@media (max-width: 800px) { .ways-grid { grid-template-columns: minmax(0, 1fr); } }

/* Footer */
.site-footer { color: #D6D8DB; }
.site-footer .muted { color: #C9CCD0; }
.footer-logo { display: block; height: 62px; width: auto; margin-bottom: 12px; }
.footer-bottom { border-top-color: #3D3D3D; }
.site-footer .btn { border-color: #8A8D91; }
.site-footer .social-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: #fff; font-weight: 600; text-decoration: none; }
.site-footer .social-link:hover span { text-decoration: underline; }
