/* Heavy Iron Trust – theme styles */
:root {
	--hit-ink: #0f141a;
	--hit-steel: #1b232c;
	--hit-panel: #232d38;
	--hit-line: #d9d6cd;
	--hit-line-dark: #34414f;
	--hit-bone: #f3f1ec;
	--hit-paper: #ffffff;
	--hit-mute: #66727f;
	--hit-amber: #d9942b;
	--hit-amber-d: #b97a18;
	--wrap: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--hit-bone); color: var(--hit-ink); font-family: var(--hit-font-body); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
a { color: var(--hit-amber-d); }
a:hover { color: var(--hit-ink); }
h1, h2, h3, h4 { font-family: var(--hit-font-display); line-height: 1.15; margin-top: 0; }
:focus-visible { outline: 2px solid var(--hit-amber); outline-offset: 2px; }

.container { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 860px; }
.skip-link:focus { position: fixed; top: 8px; left: 8px; z-index: 1000; background: var(--hit-amber); color: var(--hit-ink); padding: .6rem 1rem; clip: auto; clip-path: none; width: auto; height: auto; margin: 0; }

/* Buttons – chamfered corners */
.btn { display: inline-block; font-family: var(--hit-font-display); font-weight: 700; font-size: .88rem; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; padding: .9rem 1.6rem; border: 0; cursor: pointer; clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px)); transition: background .15s, color .15s; line-height: 1.2; text-align: center; }
.btn--amber { background: var(--hit-amber); color: var(--hit-ink); }
.btn--amber:hover { background: #f0b856; color: var(--hit-ink); }
.btn--dark { background: var(--hit-ink); color: var(--hit-bone); }
.btn--dark:hover { background: var(--hit-steel); color: var(--hit-amber); }
.btn--ghost { background: transparent; color: var(--hit-bone); box-shadow: inset 0 0 0 2px rgba(243, 241, 236, .35); clip-path: none; }
.btn--ghost:hover { box-shadow: inset 0 0 0 2px var(--hit-amber); color: var(--hit-amber); }
.hit-btn { clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px)); }

/* Top bar */
.topbar { background: var(--hit-ink); color: #8fa0b0; font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; border-bottom: 1px solid var(--hit-line-dark); }
.topbar__inner { display: flex; justify-content: space-between; gap: 1rem; padding-top: .5rem; padding-bottom: .5rem; }
.topbar__right { color: var(--hit-amber); }

/* Header */
.site-header { background: var(--hit-steel); border-bottom: 3px solid var(--hit-amber); position: sticky; top: 0; z-index: 50; transition: box-shadow .2s; }
.site-header.is-stuck { box-shadow: 0 8px 24px rgba(0, 0, 0, .35); }
.admin-bar .site-header { top: 32px; }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding-top: .7rem; padding-bottom: .7rem; }
.brand { display: flex; align-items: center; gap: .85rem; text-decoration: none; color: var(--hit-bone); }
.brand__mark { display: block; width: 46px; height: auto; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--hit-font-display); font-weight: 700; font-size: 1.65rem; letter-spacing: .04em; text-transform: uppercase; }
.brand__name em { font-style: normal; color: var(--hit-amber); }
.brand__tag { margin-top: .35rem; font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; color: #8fa0b0; }
.custom-logo { max-height: 56px; width: auto; }

.primary-nav { display: flex; align-items: center; gap: 1.6rem; }
.nav__list { display: flex; gap: 1.6rem; list-style: none; margin: 0; padding: 0; }
.nav__list a { color: var(--hit-bone); text-decoration: none; font-family: var(--hit-font-display); font-weight: 600; font-size: .92rem; letter-spacing: .1em; text-transform: uppercase; padding: .4rem 0; border-bottom: 2px solid transparent; }
.nav__list a:hover, .nav__list .current-menu-item > a { color: var(--hit-amber); border-bottom-color: var(--hit-amber); }
.nav-toggle { display: none; background: transparent; border: 1px solid var(--hit-line-dark); width: 46px; height: 42px; cursor: pointer; position: relative; }
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 11px; right: 11px; height: 2px; background: var(--hit-bone); }
.nav-toggle__bars { top: 20px; }
.nav-toggle__bars::before { left: 0; right: 0; top: -7px; }
.nav-toggle__bars::after { left: 0; right: 0; top: 7px; }

/* Hero */
.hero { position: relative; overflow: hidden; color: var(--hit-bone); background: linear-gradient(180deg, #0f141a 0%, #151c24 100%); padding: 96px 0 130px; }
.hero::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(45deg, rgba(255, 255, 255, .025) 0 2px, transparent 2px 16px); pointer-events: none; }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 8px; background: repeating-linear-gradient(-45deg, var(--hit-amber) 0 14px, var(--hit-ink) 14px 28px); }
.hero__gear { position: absolute; right: -140px; top: 50%; width: 760px; max-width: none; transform: translateY(-50%); opacity: .13; pointer-events: none; }
.hero__inner { position: relative; z-index: 1; }
.hero__title { font-size: clamp(2.6rem, 6.4vw, 5rem); text-transform: uppercase; letter-spacing: .01em; margin: .3rem 0 1.2rem; }
.hero__title span { color: var(--hit-amber); }
.hero__lead { max-width: 620px; font-size: 1.15rem; color: #b7c3cf; margin: 0 0 2.2rem; }
.hero__search { max-width: 980px; background: rgba(255, 255, 255, .05); border: 1px solid var(--hit-line-dark); border-left: 4px solid var(--hit-amber); padding: 1rem; }
.hero__search--compact { margin-top: 1.6rem; }

.eyebrow { display: flex; align-items: center; gap: .8rem; margin: 0 0 .6rem; font-family: var(--hit-font-display); font-weight: 700; font-size: .8rem; letter-spacing: .22em; text-transform: uppercase; color: var(--hit-amber-d); }
.eyebrow::before { content: ""; width: 34px; height: 2px; background: currentColor; }
.eyebrow--light { color: var(--hit-amber); }

.stats-wrap { position: relative; z-index: 2; margin-top: -48px; }

/* Sections */
.section { padding: 80px 0; }
.section--tight { padding: 56px 0; }
.section--alt { background: #e9e6df; }
.section--dark { background: var(--hit-steel); color: var(--hit-bone); position: relative; }
.section-head { margin-bottom: 2.2rem; max-width: 720px; }
.section-title { font-size: clamp(1.9rem, 3.6vw, 2.8rem); text-transform: uppercase; letter-spacing: .01em; margin: 0 0 .5rem; }
.section-sub { margin: 0; color: var(--hit-mute); }
.section--dark .section-sub { color: #9fb0c0; }
.section-more { margin: 2.2rem 0 0; text-align: center; }

/* Recommended */
.featured { position: relative; background: linear-gradient(135deg, #1b232c, #0f141a); color: var(--hit-bone); border: 1px solid var(--hit-line-dark); border-left: 6px solid var(--hit-amber); padding: 3.2rem 2.4rem 2.4rem; }
.featured__flag { position: absolute; top: 0; left: 0; background: var(--hit-amber); color: var(--hit-ink); font-family: var(--hit-font-display); font-weight: 700; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; padding: .45rem 1.1rem; }
.featured__body { display: flex; flex-direction: column; gap: 1.2rem; }
.featured__id { display: flex; gap: 1.4rem; align-items: center; }
.featured__mono, .featured__logo { flex: 0 0 88px; width: 88px; height: 88px; display: flex; align-items: center; justify-content: center; background: var(--hit-amber); color: var(--hit-ink); font-family: var(--hit-font-display); font-weight: 700; font-size: 2rem; overflow: hidden; }
.featured__logo img { width: 100%; height: 100%; object-fit: cover; }
.featured__name { font-size: clamp(1.8rem, 3.4vw, 2.6rem); text-transform: uppercase; margin: 0; }
.featured__loc { margin: .2rem 0 0; color: #9fb0c0; }
.featured__rating { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem; margin-top: .6rem; color: #b7c3cf; }
.featured__rating strong { font-size: 1.5rem; color: var(--hit-bone); font-family: var(--hit-font-display); }
.featured .hit-stars__bg { color: #3a4755; }
.featured__text { margin: 0; max-width: 720px; color: #b7c3cf; }
.featured__chips { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; margin: 0; padding: 0; }
.featured__chips li { font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; border: 1px solid var(--hit-line-dark); padding: .2rem .6rem; color: #9fb0c0; }
.featured__actions { display: flex; flex-wrap: wrap; gap: .8rem; }

/* Equipment types */
.type-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1px; background: var(--hit-line-dark); border: 1px solid var(--hit-line-dark); }
.type-grid a { display: flex; flex-direction: column; gap: .2rem; padding: 1.3rem 1.4rem; background: var(--hit-steel); text-decoration: none; color: var(--hit-bone); height: 100%; transition: background .15s; }
.type-grid a:hover { background: var(--hit-panel); }
.type-grid a:hover .type-grid__name { color: var(--hit-amber); }
.type-grid__name { font-family: var(--hit-font-display); font-weight: 700; font-size: 1.15rem; text-transform: uppercase; letter-spacing: .03em; }
.type-grid__count { font-size: .78rem; color: #8fa0b0; letter-spacing: .06em; text-transform: uppercase; }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; counter-reset: s; }
.steps li { background: var(--hit-paper); border: 1px solid var(--hit-line); border-top: 4px solid var(--hit-steel); padding: 2rem 1.8rem; }
.steps__n { display: block; font-family: var(--hit-font-display); font-weight: 700; font-size: 3.4rem; line-height: 1; color: transparent; -webkit-text-stroke: 2px var(--hit-amber); margin-bottom: 1rem; }
.steps h3 { font-size: 1.35rem; text-transform: uppercase; margin-bottom: .5rem; }
.steps p { margin: 0; color: var(--hit-mute); }

.review-cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }

/* CTA */
.cta { background: var(--hit-amber); color: var(--hit-ink); }
.cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding-top: 3rem; padding-bottom: 3rem; }
.cta h2 { margin: 0 0 .3rem; font-size: clamp(1.5rem, 3vw, 2.2rem); text-transform: uppercase; }
.cta p { margin: 0; }

/* Inner page heroes */
.page-hero { background: linear-gradient(180deg, #0f141a, #1b232c); color: var(--hit-bone); padding: 64px 0 56px; border-bottom: 4px solid var(--hit-amber); position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(45deg, rgba(255, 255, 255, .025) 0 2px, transparent 2px 16px); pointer-events: none; }
.page-hero .container { position: relative; }
.page-hero--slim { padding: 44px 0 38px; }
.page-hero__title { font-size: clamp(2rem, 5vw, 3.4rem); text-transform: uppercase; margin: 0; }
.page-hero__text { max-width: 640px; color: #b7c3cf; margin: .8rem 0 0; }

/* Search form inside dark panels */
.hero__search .hit-search { grid-template-columns: 1.4fr 1fr 1fr auto; }
.hero__search .hit-input { background: #fff; border: 0; padding: .95rem 1rem; }

/* Toolbar */
.toolbar { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; margin-bottom: 1.6rem; padding-bottom: 1rem; border-bottom: 1px solid var(--hit-line); }
.toolbar__count { margin: 0; font-weight: 600; }
.toolbar__sort { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; font-size: .85rem; color: var(--hit-mute); }
.toolbar__sort a { padding: .35rem .8rem; border: 1px solid var(--hit-line); background: var(--hit-paper); color: var(--hit-ink); text-decoration: none; }
.toolbar__sort a:hover, .toolbar__sort a.is-active { background: var(--hit-steel); color: var(--hit-amber); border-color: var(--hit-steel); }

.navigation.pagination { margin-top: 2.4rem; }
.nav-links { display: flex; gap: .4rem; flex-wrap: wrap; }
.nav-links .page-numbers { padding: .5rem .9rem; border: 1px solid var(--hit-line); background: var(--hit-paper); text-decoration: none; color: var(--hit-ink); }
.nav-links .page-numbers.current, .nav-links a.page-numbers:hover { background: var(--hit-steel); color: var(--hit-amber); border-color: var(--hit-steel); }

/* Empty state */
.empty-state { background: var(--hit-paper); border: 1px dashed #b9b6ac; padding: 3rem 1.5rem; text-align: center; }
.empty-state h3 { font-size: 1.5rem; text-transform: uppercase; margin-bottom: .4rem; }
.empty-state p { color: var(--hit-mute); margin: 0 0 1.3rem; }

/* Dealer page */
.dealer-hero { background: linear-gradient(180deg, #0f141a, #1b232c); color: var(--hit-bone); padding: 28px 0 44px; border-bottom: 4px solid var(--hit-amber); }
.crumbs { display: flex; flex-wrap: wrap; gap: .5rem; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; color: #8fa0b0; margin-bottom: 1.6rem; }
.crumbs a { color: #b7c3cf; text-decoration: none; }
.crumbs a:hover { color: var(--hit-amber); }
.dealer-hero__row { display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; }
.dealer-hero__id { display: flex; gap: 1.5rem; align-items: center; }
.dealer-hero__name { font-size: clamp(2rem, 4.6vw, 3.4rem); text-transform: uppercase; margin: 0; }
.dealer-hero__loc { margin: .2rem 0 0; color: #9fb0c0; }
.dealer-hero__rating { display: flex; align-items: center; flex-wrap: wrap; gap: .7rem; margin-top: .7rem; color: #b7c3cf; }
.dealer-hero__rating strong { color: var(--hit-bone); font-size: 1.6rem; font-family: var(--hit-font-display); }
.dealer-hero .hit-stars__bg { color: #3a4755; }

.dealer-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 2.2rem; padding-top: 44px; padding-bottom: 80px; align-items: start; }
.dealer-main { display: grid; gap: 2rem; min-width: 0; }
.panel { background: var(--hit-paper); border: 1px solid var(--hit-line); padding: 1.8rem; }
.panel--plain { background: transparent; border: 0; padding: 0; }
.panel__title { font-size: 1.5rem; text-transform: uppercase; margin: 0 0 1.1rem; padding-bottom: .6rem; border-bottom: 2px solid var(--hit-ink); }
.dealer-side { position: sticky; top: 110px; display: grid; gap: 1.2rem; }
.side-card { background: var(--hit-paper); border: 1px solid var(--hit-line); border-top: 4px solid var(--hit-steel); padding: 1.5rem; }
.side-card__title { font-size: 1.1rem; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 1rem; }
.side-card--amber { background: var(--hit-amber); border-color: var(--hit-amber); border-top-color: var(--hit-ink); }
.side-card--amber p { margin: 0 0 1rem; }
.side-card__empty { color: var(--hit-mute); font-size: .9rem; margin: 0; }
.info { margin: 0; }
.info dt { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--hit-mute); margin-top: .9rem; font-weight: 700; }
.info dt:first-child { margin-top: 0; }
.info dd { margin: .15rem 0 0; word-break: break-word; }

/* Content */
.entry > :first-child { margin-top: 0; }
.entry > :last-child { margin-bottom: 0; }
.post-item { padding: 1.6rem 0; border-bottom: 1px solid var(--hit-line); }
.post-item__title { font-size: 1.6rem; margin: 0 0 .2rem; }
.post-item__title a { color: var(--hit-ink); text-decoration: none; }
.post-item__title a:hover { color: var(--hit-amber-d); }
.post-item__meta { margin: 0 0 .6rem; color: var(--hit-mute); font-size: .85rem; }

/* Footer */
.site-footer { background: var(--hit-ink); color: #9fb0c0; border-top: 4px solid var(--hit-amber); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 2.5rem; padding-top: 60px; padding-bottom: 50px; }
.footer-brand__logo { width: 100%; max-width: 320px; height: auto; margin-bottom: 1rem; }
.footer-brand p { margin: 0; font-size: .92rem; max-width: 340px; }
.footer-title { font-size: .85rem; letter-spacing: .2em; text-transform: uppercase; color: var(--hit-amber); margin: 0 0 1rem; }
.footer-links, .footer-notes { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; font-size: .92rem; }
.footer-links a { color: #c8d2dc; text-decoration: none; }
.footer-links a:hover { color: var(--hit-amber); }
.footer-notes li { padding-left: 1rem; position: relative; }
.footer-notes li::before { content: ""; position: absolute; left: 0; top: .6em; width: 5px; height: 5px; background: var(--hit-amber); }
.footer-bar { border-top: 1px solid var(--hit-line-dark); font-size: .78rem; }
.footer-bar__inner { display: flex; justify-content: space-between; gap: 1.5rem; padding-top: 1.2rem; padding-bottom: 1.2rem; flex-wrap: wrap; }

/* Responsive */
@media (max-width: 1000px) {
	.dealer-layout { grid-template-columns: 1fr; }
	.dealer-side { position: static; }
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.hero__search .hit-search { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
	.nav-toggle { display: block; }
	.primary-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 1rem; background: var(--hit-steel); padding: 1.2rem 24px 1.6rem; border-bottom: 3px solid var(--hit-amber); }
	.primary-nav.is-open { display: flex; }
	.nav__list { flex-direction: column; gap: .4rem; }
	.nav__list a { display: block; padding: .7rem 0; border-bottom: 1px solid var(--hit-line-dark); }
	.site-header { position: relative; }
	.steps { grid-template-columns: 1fr; }
	.review-cols { grid-template-columns: 1fr; }
	.hero { padding: 64px 0 100px; }
	.hero__gear { width: 520px; right: -200px; }
	.cta__inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 600px) {
	.topbar__right { display: none; }
	.container { padding: 0 18px; }
	.section { padding: 56px 0; }
	.featured { padding: 3rem 1.3rem 1.6rem; }
	.featured__id, .dealer-hero__id { flex-direction: column; align-items: flex-start; }
	.footer-grid { grid-template-columns: 1fr; }
	.hero__search .hit-search { grid-template-columns: 1fr; }
	.brand__tag { display: none; }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	* { transition: none !important; }
}
