/* ==========================================================================
   H Ridge Equipment — site.css (v4, dark industrial system)
   Steel navy base, brass accent, huge condensed type, ridge line signature.
   ========================================================================== */

/* ---------- Fonts (self-hosted; see assets/fonts/README.md) ---------- */
@font-face { font-family: "Barlow Condensed"; font-weight: 700; font-style: normal; font-display: swap;
  src: local("Barlow Condensed Bold"), local("BarlowCondensed-Bold"), url("../fonts/barlow-condensed-700.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 800; font-style: normal; font-display: swap;
  src: local("Barlow Condensed ExtraBold"), local("BarlowCondensed-ExtraBold"), url("../fonts/barlow-condensed-800.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 400; font-style: normal; font-display: swap;
  src: local("Barlow"), local("Barlow-Regular"), url("../fonts/barlow-400.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 500; font-style: normal; font-display: swap;
  src: local("Barlow Medium"), local("Barlow-Medium"), url("../fonts/barlow-500.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 600; font-style: normal; font-display: swap;
  src: local("Barlow SemiBold"), local("Barlow-SemiBold"), url("../fonts/barlow-600.woff2") format("woff2"); }

/* ---------- Tokens ---------- */
:root {
  --ink: #1C2430;          /* brand ink: page base */
  --ink-2: #151C26;        /* deeper band */
  --ink-3: #232C38;        /* card / input surface */
  --ink-4: #2C3644;        /* raised surface, hover */
  --brass: #C98A34;
  --brass-2: #E0A04A;      /* brass on dark text, hover */
  --brass-deep: #A96E22;
  --steel: #3D5A73;
  --steel-2: #6E8BA3;      /* steel legible on ink */
  --paper: #F5F5F1;
  --paper-2: #C9CDD3;      /* secondary text on ink, 9:1 */
  --paper-3: #8F97A3;      /* tertiary text on ink, 5.2:1 */
  --line: rgba(245, 245, 241, 0.12);
  --line-2: rgba(245, 245, 241, 0.22);
  --line-brass: rgba(201, 138, 52, 0.45);
  --danger: #E06A55;

  --font-display: "Barlow Condensed", "Barlow Semi Condensed", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Barlow", "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;

  --radius: 0;
  --skew: -10deg;
  --measure: 62ch;
  --gutter: 16px;
  --container: 1240px;
  --header-h: 60px;
  --t-fast: 140ms;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}
@media (min-width: 720px) { :root { --gutter: 32px; --header-h: 70px; } }
@media (min-width: 1100px) { :root { --gutter: 48px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html {
  background: var(--ink); color: var(--paper);
  font-family: var(--font-body); font-size: 100%; line-height: 1.6;
  -webkit-text-size-adjust: 100%; scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; min-height: 100vh; display: flex; flex-direction: column;
  overflow-x: hidden; background: var(--ink); font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased;
}
@media (min-width: 720px) { body { font-size: 1.125rem; } }
main { flex: 1 0 auto; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3, h4 {
  font-family: var(--font-display); font-weight: 800; text-transform: uppercase;
  letter-spacing: 0.005em; line-height: 0.94; margin: 0 0 0.45em; color: var(--paper); text-wrap: balance;
}
h1 { font-size: clamp(3.25rem, 9vw, 7rem); }
h2 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
h3 { font-size: clamp(1.375rem, 2.6vw, 1.75rem); font-weight: 700; letter-spacing: 0.02em; line-height: 1.05; }
h4 { font-size: 1.25rem; font-weight: 700; letter-spacing: 0.02em; }
.accent { color: var(--brass); }

p { margin: 0 0 1em; max-width: var(--measure); color: var(--paper-2); }
p:last-child { margin-bottom: 0; }
ul, ol { padding-left: 1.25em; max-width: var(--measure); color: var(--paper-2); }
li { margin-bottom: 0.35em; }
strong { font-weight: 600; color: var(--paper); }
small { font-size: 0.875rem; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }
a { color: var(--brass-2); text-decoration: underline; text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--paper); }

:focus { outline: none; }
:focus-visible { outline: 2px solid var(--brass-2); outline-offset: 3px; }
::selection { background: var(--brass); color: var(--ink); }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: absolute; top: 8px; left: 8px; z-index: 1000; transform: translateY(-200%); background: var(--brass); color: var(--ink); padding: 12px 16px; font-weight: 600; text-decoration: none; }
.skip-link:focus { transform: none; outline: 2px solid var(--paper); outline-offset: 2px; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(3.5rem, 8vw, 7rem); }
.section-tight { padding-block: clamp(2.5rem, 5vw, 4.5rem); }
.section--deep { background: var(--ink-2); }
.section-head { margin-bottom: clamp(1.75rem, 4vw, 3rem); }
.section-head p { color: var(--paper-2); font-size: 1.125rem; }
.section-head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.section-head--row h2 { margin-bottom: 0; }

/* Eyebrow label: brass dash + tracked caps (Heavy Line DNA) */
.label {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-display); font-weight: 700; font-size: 0.8125rem;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--brass-2); margin-bottom: 0.9rem;
}
.label::before { content: ""; width: 28px; height: 2px; background: var(--brass); flex: none; }
.label--plain::before { display: none; }
.lede { font-size: 1.1875rem; color: var(--paper-2); }
@media (min-width: 720px) { .lede { font-size: 1.3125rem; } }
.muted { color: var(--paper-3); }

/* ---------- Ridge line (signature) ---------- */
.ridge { display: block; width: 100%; height: 14px; color: var(--brass); overflow: visible; }
.ridge path { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linejoin: miter; stroke-linecap: square; vector-effect: non-scaling-stroke; }
.ridge--on-ink { color: var(--line-2); }
.ridge--header { color: var(--brass); }
.ridge--short { width: 110px; height: 12px; margin: 0.25rem 0 1.5rem; color: var(--brass); }
.home .ridge--header path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: ridge-draw 700ms var(--ease) 80ms forwards; }
@keyframes ridge-draw { to { stroke-dashoffset: 0; } }
.home .hero__copy > * { animation: settle 560ms var(--ease) both; }
.home .hero__copy > *:nth-child(2) { animation-delay: 80ms; }
.home .hero__copy > *:nth-child(3) { animation-delay: 140ms; }
.home .hero__copy > *:nth-child(4) { animation-delay: 200ms; }
.home .hero__copy > *:nth-child(5) { animation-delay: 260ms; }
@keyframes settle { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* Scroll reveal (IntersectionObserver adds .is-in; JS-less = visible) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 600ms var(--ease), transform 600ms var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .home .ridge--header path { animation: none; stroke-dashoffset: 0; }
  .home .hero__copy > * { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* ---------- Buttons (skewed, Heavy Line DNA) ---------- */
.btn {
  position: relative; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
  min-height: 52px; padding: 0.75em 1.75em;
  font-family: var(--font-display); font-weight: 700; font-size: 1.0625rem; letter-spacing: 0.12em; text-transform: uppercase;
  text-decoration: none; line-height: 1.1; color: var(--ink); cursor: pointer; border: 0; background: none;
  -webkit-tap-highlight-color: transparent;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--brass); transform: skewX(var(--skew));
  transition: background-color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}
.btn::after { content: "\2192"; font-family: var(--font-body); font-weight: 600; }
.btn--no-arrow::after { content: none; }
.btn:hover { color: var(--ink); }
.btn:hover::before { background: var(--brass-2); }
.btn:active::before { background: var(--brass-deep); }
.btn--primary { color: var(--ink); }
.btn--secondary { color: var(--paper); }
.btn--secondary::before { background: transparent; box-shadow: inset 0 0 0 1.5px var(--line-2); }
.btn--secondary:hover { color: var(--ink); }
.btn--secondary:hover::before { background: var(--paper); box-shadow: none; }
.btn--ink { color: var(--paper); }
.btn--ink::before { background: var(--ink-4); }
.btn--ink:hover { color: var(--paper); }
.btn--ink:hover::before { background: var(--steel); }
.btn--small { min-height: 44px; font-size: 0.9375rem; padding: 0.5em 1.25em; }
.btn--block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.5; cursor: not-allowed; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.text-link {
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.9375rem;
  text-decoration: none; color: var(--brass-2); display: inline-flex; align-items: center; gap: 0.5em; min-height: 44px;
}
.text-link:hover { color: var(--paper); }
.text-link::after { content: "\2192"; font-family: var(--font-body); }
/* Light context (paper header) */
.on-paper .btn--secondary { color: var(--ink); }
.on-paper .btn--secondary::before { box-shadow: inset 0 0 0 1.5px var(--ink); }

/* ---------- Header (paper, like Heavy Line's white bar) ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--paper); color: var(--ink); }
.site-header__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: var(--header-h); }
.site-header__logo { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.site-header__logo img { height: 32px; width: auto; }
@media (min-width: 720px) { .site-header__logo img { height: 36px; } }
.site-nav { display: none; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; align-items: center; color: var(--ink); }
.site-nav li { margin: 0; }
.site-nav a:not(.btn) {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px;
  font-family: var(--font-display); font-weight: 700; font-size: 1rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink); text-decoration: none; border-bottom: 2px solid transparent; white-space: nowrap;
  transition: color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}
.site-nav a:not(.btn):hover { color: var(--brass-deep); }
.site-nav a[aria-current="page"] { border-bottom-color: var(--brass); }
.site-nav .site-nav__phone .btn { margin-left: 14px; white-space: nowrap; }
.menu-toggle {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-width: 44px; min-height: 44px; padding: 0 4px 0 10px;
  background: none; border: 0; font-family: var(--font-display); font-weight: 700; font-size: 1rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink); cursor: pointer;
}
.menu-toggle__icon { width: 24px; height: 18px; position: relative; }
.menu-toggle__icon span { position: absolute; left: 0; width: 24px; height: 2px; background: currentColor; transition: transform var(--t-fast) var(--ease), opacity var(--t-fast) var(--ease); }
.menu-toggle__icon span:nth-child(1) { top: 0; } .menu-toggle__icon span:nth-child(2) { top: 8px; } .menu-toggle__icon span:nth-child(3) { top: 16px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__icon span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__icon span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .menu-toggle__icon span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
.mobile-menu { display: none; position: fixed; inset: var(--header-h) 0 0 0; z-index: 99; background: var(--ink); overflow-y: auto; padding: 8px var(--gutter) 32px; }
.mobile-menu[data-open="true"] { display: flex; flex-direction: column; }
.mobile-menu ul { list-style: none; margin: 0; padding: 0; }
.mobile-menu li { margin: 0; border-top: 1px solid var(--line); }
.mobile-menu li:last-of-type { border-bottom: 1px solid var(--line); }
.mobile-menu a:not(.btn) { display: flex; align-items: center; justify-content: space-between; min-height: 64px; padding: 0 4px; font-family: var(--font-display); font-weight: 800; font-size: 2rem; letter-spacing: 0.02em; text-transform: uppercase; color: var(--paper); text-decoration: none; }
.mobile-menu a:not(.btn)::after { content: "\2192"; color: var(--brass); font-family: var(--font-body); font-weight: 400; font-size: 1.25rem; }
.mobile-menu a[aria-current="page"] { color: var(--brass-2); }
.mobile-menu .btn { margin-top: 24px; min-height: 56px; font-size: 1.125rem; }
.mobile-menu__note { margin-top: 18px; color: var(--paper-3); font-size: 0.9375rem; }
body[data-menu-open="true"] { overflow: hidden; }
.no-js .menu-toggle { display: none; }
.no-js .site-nav { display: block; }
.no-js .site-nav ul { flex-wrap: wrap; }
@media (min-width: 1000px) { .site-nav { display: block; } .menu-toggle { display: none; } .mobile-menu { display: none !important; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink-2); color: var(--paper); padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; border-top: 1px solid var(--line); }
.site-footer a { color: var(--paper); }
.site-footer a:hover { color: var(--brass-2); }
.site-footer__grid { display: grid; gap: 32px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .site-footer__grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; } }
.site-footer__logo img { height: 44px; width: auto; margin-bottom: 20px; }
.site-footer p { color: var(--paper-3); max-width: 40ch; }
.site-footer h2 { font-size: 0.8125rem; letter-spacing: 0.22em; color: var(--brass-2); margin-bottom: 1rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 0; }
.site-footer li a { display: inline-flex; align-items: center; min-height: 40px; text-decoration: none; font-weight: 500; }
.site-footer li a:hover { text-decoration: underline; }
.site-footer address { font-style: normal; color: var(--paper-3); line-height: 1.7; }
.site-footer address span { display: block; }
.site-footer address a { text-decoration: none; }
.site-footer__bottom { margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: 0.875rem; color: var(--paper-3); }
.site-footer__bottom a { text-decoration: none; }
.site-footer__note { flex-basis: 100%; order: 3; font-size: 0.8125rem; color: var(--paper-3); }
@media (min-width: 900px) { .site-footer__note { flex-basis: auto; order: 0; } }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(3rem, 8vw, 7rem); }
.hero__grid { display: grid; gap: 40px; align-items: center; grid-template-columns: 1fr; }
@media (min-width: 900px) { .hero__grid { grid-template-columns: 62fr 38fr; gap: 64px; } }
.hero h1 { margin-bottom: 0.35em; max-width: 17ch; }
.hero .lede { max-width: 52ch; margin-bottom: 2rem; }
.hero__meta {
  display: flex; flex-wrap: wrap; gap: 6px 18px; margin-bottom: 1.5rem;
  font-family: var(--font-display); font-weight: 700; font-size: 0.8125rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--brass-2);
}
.hero__meta span { display: inline-flex; align-items: center; gap: 10px; }
.hero__meta span::before { content: ""; width: 6px; height: 6px; background: var(--brass); }
.hero__promise { display: block; max-width: 56ch; margin-top: 1.5rem; color: var(--paper-2); font-size: 1rem; }
.hero__promise a { color: var(--paper); font-weight: 600; }
.hero--media { position: relative; background: var(--ink-2); overflow: hidden; min-height: min(92vh, 900px); display: flex; align-items: center; padding-block: clamp(5rem, 14vw, 10rem) clamp(4rem, 10vw, 8rem); }
.hero--media .hero__media { position: absolute; inset: 0; z-index: 0; }
.hero--media .hero__media img, .hero--media .hero__media video { width: 100%; height: 100%; object-fit: cover; object-position: 68% 60%; display: block; }
.hero--media .hero__media video { position: absolute; inset: 0; opacity: 0; transition: opacity 700ms var(--ease); }
.hero--media .hero__media video[data-ready="true"] { opacity: 1; }
.hero--media .hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(21,28,38,0.94) 0%, rgba(21,28,38,0.80) 40%, rgba(21,28,38,0.28) 72%, rgba(21,28,38,0.12) 100%),
    linear-gradient(180deg, rgba(21,28,38,0.55) 0%, rgba(21,28,38,0) 35%, rgba(21,28,38,0.7) 100%);
}
.hero--media .container { position: relative; z-index: 1; }
.home .hero--media .hero__media { animation: media-in 1000ms var(--ease) both; }
@keyframes media-in { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .home .hero--media .hero__media { animation: none; } .hero--media .hero__media video { display: none; } }
@media (max-width: 899px) {
  .hero--media { min-height: 0; }
  .hero--media .hero__media img, .hero--media .hero__media video { object-position: 78% 70%; }
  .hero--media .hero__media::after { background: linear-gradient(180deg, rgba(21,28,38,0.88) 0%, rgba(21,28,38,0.82) 55%, rgba(21,28,38,0.5) 100%); }
}
.hero__scroll { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 1; font-family: var(--font-display); font-size: 0.75rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--paper-3); display: none; }
@media (min-width: 900px) { .hero__scroll { display: block; } }

/* ---------- Ticker ---------- */
.ticker { background: var(--brass); color: var(--ink); overflow: hidden; border-top: 1px solid rgba(28,36,48,0.2); border-bottom: 1px solid rgba(28,36,48,0.2); }
.ticker__track { display: flex; width: max-content; animation: ticker 40s linear infinite; }
.ticker:hover .ticker__track, .ticker:focus-within .ticker__track { animation-play-state: paused; }
.ticker ul { list-style: none; margin: 0; padding: 0; display: flex; max-width: none; color: var(--ink); }
.ticker li { margin: 0; display: inline-flex; align-items: center; gap: 22px; padding: 12px 22px 12px 0; font-family: var(--font-display); font-weight: 700; font-size: 0.9375rem; letter-spacing: 0.22em; text-transform: uppercase; white-space: nowrap; }
.ticker li::after { content: ""; width: 7px; height: 7px; background: var(--ink); transform: rotate(45deg); }
@keyframes ticker { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker__track { animation: none; flex-wrap: wrap; width: auto; } .ticker ul:last-child { display: none; } }

/* ---------- Trust / stats bar ---------- */
.trust { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--ink-2); padding-block: clamp(1.5rem, 4vw, 2.75rem); }
.trust ul { list-style: none; margin: 0; padding: 0; max-width: none; display: grid; gap: 20px 32px; grid-template-columns: 1fr; }
@media (min-width: 600px) { .trust ul { grid-template-columns: repeat(3, 1fr); } }
.trust li { margin: 0; display: flex; flex-direction: column; gap: 4px; }
.trust__value { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.75rem, 3.2vw, 2.5rem); letter-spacing: 0.01em; text-transform: uppercase; line-height: 1; color: var(--paper); }
.trust__value[data-numeric="true"] { color: var(--brass-2); font-size: clamp(2.75rem, 5vw, 4rem); }
.trust__label { font-size: 0.9375rem; color: var(--paper-3); }
@media (min-width: 600px) { .trust li { padding-left: 20px; border-left: 1px solid var(--line-2); } .trust li:first-child { padding-left: 0; border-left: 0; } }

/* ---------- Steps ---------- */
.steps { position: relative; }
.steps__ridge { height: 18px; }
.steps ol { list-style: none; margin: 0; padding: 0; max-width: none; display: grid; gap: 28px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .steps ol { grid-template-columns: repeat(3, 1fr); gap: 40px; } }
.steps li { margin: 0; padding-top: 22px; }
.steps__num { display: block; font-family: var(--font-display); font-weight: 800; font-size: clamp(3.5rem, 7vw, 5.5rem); line-height: 0.85; color: var(--brass); margin-bottom: 0.3em; font-variant-numeric: tabular-nums; }
.steps h3 { margin-bottom: 0.4em; }
.steps p { color: var(--paper-2); }

/* ---------- Category tiles ---------- */
.cat-grid { list-style: none; margin: 0; padding: 0; max-width: none; display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 480px) { .cat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .cat-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
.cat-grid li { margin: 0; }
.cat-card { position: relative; display: block; overflow: hidden; background: var(--ink-3); color: var(--paper); text-decoration: none; border: 1px solid var(--line); transition: border-color var(--t-fast) var(--ease); }
.cat-card:hover { border-color: var(--brass); color: var(--paper); }
.cat-card__img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--ink-3); }
@media (min-width: 900px) { .cat-card__img { aspect-ratio: 5 / 4; } }
.cat-card__img img { width: 100%; height: 100%; object-fit: cover; opacity: 0.88; transform: scale(1.001); transition: opacity 400ms var(--ease), transform 900ms var(--ease); }
.cat-card:hover .cat-card__img img { opacity: 1; transform: scale(1.04); }
.cat-card__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(21,28,38,0.05) 35%, rgba(21,28,38,0.92) 100%); }
.cat-card__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 20px; display: flex; flex-direction: column; gap: 2px; z-index: 1; }
.cat-card__shop { font-family: var(--font-display); font-weight: 700; font-size: 0.75rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--brass-2); }
.cat-card h3 { margin: 0; font-size: clamp(1.75rem, 3vw, 2.25rem); font-weight: 800; }
.cat-card p { color: var(--paper-2); font-size: 0.9375rem; margin: 2px 0 0; }
.cat-card__go { font-family: var(--font-display); font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.8125rem; color: var(--brass-2); margin-top: 10px; }
.cat-card svg { position: absolute; top: 14px; left: 16px; width: 34px; height: 34px; color: var(--paper); opacity: 0.85; z-index: 1; }
@media (prefers-reduced-motion: reduce) { .cat-card:hover .cat-card__img img { transform: none; } }

/* ---------- Why: hairline card grid (Heavy Line "industries" DNA) ---------- */
.why { display: grid; gap: 0; grid-template-columns: 1fr; border: 1px solid var(--line); background: var(--ink-2); }
@media (min-width: 700px) { .why { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .why { grid-template-columns: repeat(4, 1fr); } }
.why__item { padding: 28px 24px 30px; border-top: 1px solid var(--line); }
.why__item:first-child { border-top: 0; }
@media (min-width: 700px) { .why__item { border-left: 1px solid var(--line); } .why__item:nth-child(-n+2) { border-top: 0; } .why__item:nth-child(2n+1) { border-left: 0; } }
@media (min-width: 1000px) { .why__item { border-top: 0; border-left: 1px solid var(--line); } .why__item:first-child { border-left: 0; } }
.why__item svg { width: 36px; height: 36px; color: var(--brass-2); margin-bottom: 18px; }
.why__item h3 { font-size: 1.375rem; margin-bottom: 0.5em; }
.why__item p { color: var(--paper-3); font-size: 1rem; }
/* legacy two-column layout used on inner pages */
.why__col > div + div { margin-top: 2rem; }
.why__rule { display: none; }

/* ---------- Photo band / side photo ---------- */
.photo-band { position: relative; margin: 0; background: var(--ink-2); overflow: hidden; }
.photo-band img { width: 100%; height: auto; display: block; max-height: 640px; object-fit: cover; object-position: center 55%; }
.photo-band figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px var(--gutter); font-family: var(--font-display); font-weight: 700; font-size: 0.875rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--paper-2); background: linear-gradient(180deg, rgba(21,28,38,0) 0%, rgba(21,28,38,0.85) 100%); }
.photo-band figcaption span { display: block; max-width: var(--container); margin-inline: auto; }
.side-photo { border: 1px solid var(--line); background: var(--ink-2); overflow: hidden; }
.side-photo img { width: 100%; height: auto; display: block; }

/* ---------- Bands ---------- */
.band-ink { background: var(--ink-2); color: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band-media { position: relative; overflow: hidden; background: var(--ink-2); }
.band-media__img { position: absolute; inset: 0; z-index: 0; }
.band-media__img img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.band-media__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(21,28,38,0.95) 0%, rgba(21,28,38,0.82) 55%, rgba(21,28,38,0.5) 100%); }
.band-media > .container { position: relative; z-index: 1; }
.cta__grid { display: grid; gap: 28px; align-items: end; grid-template-columns: 1fr; }
@media (min-width: 900px) { .cta__grid { grid-template-columns: 1.4fr 1fr; gap: 48px; } }
.cta__actions { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
@media (min-width: 900px) { .cta__actions { align-items: flex-end; text-align: right; } }
.cta__promise { font-size: 0.9375rem; color: var(--paper-3); }
.cta--center { text-align: center; }
.cta--center .label, .cta--center h2, .cta--center p { margin-inline: auto; }
.cta--center .label { justify-content: center; }
.cta--center .btn-row { justify-content: center; margin-top: 1.75rem; }
.cta--center h2 { max-width: 22ch; }

/* ---------- Proof ---------- */
.proof__placeholder { border: 1px dashed var(--line-2); padding: 24px; color: var(--paper-3); max-width: var(--measure); }

/* ---------- FAQ ---------- */
.faq { max-width: 800px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; padding: 16px 4px 16px 0; font-family: var(--font-display); font-weight: 700; font-size: 1.375rem; letter-spacing: 0.02em; text-transform: uppercase; line-height: 1.1; color: var(--paper); transition: color var(--t-fast) var(--ease); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 30px; height: 30px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--brass); color: var(--brass-2); font-family: var(--font-body); font-weight: 400; font-size: 1.375rem; line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq summary:hover { color: var(--brass-2); }
.faq summary:focus-visible { outline-offset: -2px; }
.faq details > div { padding: 0 46px 22px 0; color: var(--paper-2); }
.placeholder-note { display: inline-block; background: rgba(201,138,52,0.14); border-left: 3px solid var(--brass); padding: 2px 8px; color: var(--paper); font-size: 0.9375rem; }

/* ---------- Inventory ---------- */
.filters { display: grid; gap: 12px; grid-template-columns: 1fr; padding: 18px; border: 1px solid var(--line); background: var(--ink-2); margin-bottom: 24px; }
@media (min-width: 600px) { .filters { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .filters { grid-template-columns: repeat(5, 1fr) auto; align-items: end; } }
.filters__actions { display: flex; gap: 8px; align-items: end; }
.filters .field { margin: 0; }
.results-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 16px; margin-bottom: 18px; color: var(--paper-3); font-family: var(--font-display); font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.8125rem; }
.unit-grid { list-style: none; margin: 0; padding: 0; max-width: none; display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 600px) { .unit-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .unit-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.unit-grid li { margin: 0; }
.unit-card { display: flex; flex-direction: column; height: 100%; border: 1px solid var(--line); background: var(--ink-3); color: var(--paper); text-decoration: none; transition: border-color var(--t-fast) var(--ease), transform 300ms var(--ease); }
.unit-card:hover { border-color: var(--brass); color: var(--paper); }
.unit-card__media { position: relative; aspect-ratio: 4 / 3; background: var(--ink-2); overflow: hidden; border-bottom: 1px solid var(--line); }
.unit-card__media img { width: 100%; height: 100%; object-fit: cover; }
.unit-card__media--empty { display: grid; place-items: center; color: var(--paper-3); font-family: var(--font-display); letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.8125rem; }
.unit-card__body { padding: 18px 18px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.unit-card__cat { font-family: var(--font-display); font-weight: 700; font-size: 0.75rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--brass-2); }
.unit-card h3 { margin: 0; font-size: 1.5rem; font-weight: 800; }
.unit-card__price { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; letter-spacing: 0.01em; color: var(--brass-2); }
.unit-card__specs { display: flex; flex-wrap: wrap; gap: 4px 14px; color: var(--paper-3); font-size: 0.9375rem; margin: 0; padding: 0; list-style: none; max-width: none; }
.unit-card__specs li { margin: 0; }
.unit-card__foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); }
.status { display: inline-block; padding: 4px 9px; font-family: var(--font-display); font-weight: 700; font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase; background: var(--brass); color: var(--ink); }
.status--pending { background: var(--steel); color: var(--paper); }
.status--sold { background: var(--ink-4); color: var(--paper-2); }
.empty-state { border: 1px solid var(--line); background: var(--ink-2); padding: clamp(24px, 5vw, 48px); display: grid; gap: 18px; align-items: center; grid-template-columns: 1fr; }
@media (min-width: 800px) { .empty-state { grid-template-columns: 1fr auto; gap: 32px; } }
.empty-state h2, .empty-state h3 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); margin-bottom: 0.3em; }
.empty-state p { color: var(--paper-2); }
.empty-state .btn-row { flex-direction: column; align-items: stretch; }
@media (min-width: 480px) { .empty-state .btn-row { flex-direction: row; } }

/* Unit detail */
.unit-detail { display: grid; gap: 32px; grid-template-columns: 1fr; }
@media (min-width: 960px) { .unit-detail { grid-template-columns: 7fr 5fr; gap: 48px; align-items: start; } }
.unit-detail__aside { position: sticky; top: calc(var(--header-h) + 24px); }
@media (max-width: 959px) { .unit-detail__aside { position: static; order: -1; } }
.gallery { display: grid; gap: 8px; }
.gallery__main { aspect-ratio: 4 / 3; background: var(--ink-2); border: 1px solid var(--line); overflow: hidden; }
.gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: 8px; list-style: none; margin: 0; padding: 0; max-width: none; }
.gallery__thumbs li { margin: 0; }
.gallery__thumbs button { display: block; width: 100%; aspect-ratio: 4 / 3; padding: 0; border: 2px solid transparent; background: var(--ink-2); cursor: pointer; overflow: hidden; }
.gallery__thumbs button[aria-current="true"] { border-color: var(--brass); }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.gallery__empty { aspect-ratio: 4 / 3; border: 1px solid var(--line); display: grid; place-items: center; color: var(--paper-3); text-align: center; padding: 24px; }
.spec-table { width: 100%; border-collapse: collapse; margin: 0 0 1.5rem; font-size: 1rem; }
.spec-table th, .spec-table td { text-align: left; padding: 12px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec-table th { width: 38%; color: var(--paper-3); font-weight: 500; font-family: var(--font-display); letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.8125rem; }
.spec-table td { font-weight: 500; color: var(--paper); }
@media (max-width: 480px) { .spec-table, .spec-table tbody, .spec-table tr, .spec-table th, .spec-table td { display: block; width: 100%; } .spec-table tr { padding: 8px 0; border-bottom: 1px solid var(--line); } .spec-table th, .spec-table td { border: 0; padding: 2px 0; } }
.price-block { display: flex; flex-direction: column; gap: 4px; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 20px; }
.price-block__value { font-family: var(--font-display); font-weight: 800; font-size: 2.75rem; letter-spacing: 0.01em; line-height: 1; color: var(--brass-2); }
.price-block__note { color: var(--paper-3); font-size: 0.9375rem; }
.aside-box { border: 1px solid var(--line); background: var(--ink-2); padding: 22px; }
.aside-box + .aside-box { margin-top: 16px; }
.aside-box h2 { font-size: 1.5rem; margin-bottom: 0.5rem; }
.aside-box p { color: var(--paper-2); font-size: 1rem; }
.crosssell { border-top: 1px solid var(--line); margin-top: 32px; padding-top: 24px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }

/* ---------- Forms (dark) ---------- */
.form { max-width: 760px; }
.form fieldset { border: 0; padding: 0; margin: 0 0 2.25rem; min-width: 0; }
.form legend { font-family: var(--font-display); font-weight: 800; font-size: 1.75rem; letter-spacing: 0.02em; text-transform: uppercase; padding: 0; margin-bottom: 1rem; width: 100%; border-bottom: 1px solid var(--line-2); padding-bottom: 0.4rem; color: var(--paper); }
.form-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 600px) { .form-grid { grid-template-columns: repeat(2, 1fr); } .form-grid .span-2 { grid-column: span 2; } }
.field { display: flex; flex-direction: column; gap: 6px; margin: 0; }
.field label, .field .field__label { font-family: var(--font-display); font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.8125rem; color: var(--paper-2); }
.field .optional { color: var(--paper-3); font-weight: 500; letter-spacing: 0.06em; text-transform: none; }
.field__hint { color: var(--paper-3); font-size: 0.9375rem; margin: 0; }
input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input[type="search"], select, textarea {
  width: 100%; min-height: 50px; padding: 10px 14px; font: inherit; color: var(--paper);
  background: var(--ink-3); border: 1.5px solid var(--line-2); border-radius: 0; transition: border-color var(--t-fast) var(--ease);
}
input::placeholder, textarea::placeholder { color: var(--paper-3); }
select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'><path d='M1 1l6 6 6-6' fill='none' stroke='%23E0A04A' stroke-width='1.5'/></svg>"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
select option { background: var(--ink-3); color: var(--paper); }
textarea { min-height: 130px; resize: vertical; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--brass-2); outline-offset: 1px; border-color: var(--brass); }
input[aria-invalid="true"], select[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: var(--danger); border-width: 2px; }
.field__error { color: var(--danger); font-size: 0.9375rem; font-weight: 500; margin: 0; display: none; }
.field__error:not(:empty) { display: block; }
.field__error::before { content: "\26A0  "; }
.check { display: flex; gap: 12px; align-items: flex-start; }
.check input { width: 22px; height: 22px; margin: 2px 0 0; flex: none; accent-color: var(--brass); }
.check label { font-family: var(--font-body); font-weight: 400; letter-spacing: 0; text-transform: none; font-size: 1rem; color: var(--paper-2); }
.radio-group { display: flex; flex-wrap: wrap; gap: 8px; }
.radio-group label { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 14px 0 10px; border: 1.5px solid var(--line-2); cursor: pointer; font-family: var(--font-body); font-weight: 500; letter-spacing: 0; text-transform: none; font-size: 1rem; color: var(--paper); }
.radio-group input { width: 18px; height: 18px; margin: 0; accent-color: var(--brass); }
.radio-group label:has(input:checked) { border-color: var(--brass); background: rgba(201,138,52,0.12); }
.form-summary { border: 2px solid var(--danger); padding: 16px; margin-bottom: 24px; background: rgba(224,106,85,0.1); }
.form-summary h2 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.form-summary ul { margin: 0; }
.form-summary a { color: var(--paper); }
.form-status { margin-top: 16px; }
.form-status--error { border: 1px solid var(--danger); background: rgba(224,106,85,0.1); padding: 16px; }
.form-status--error h2 { font-size: 1.25rem; }
.form__submit { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.form__submit .muted { font-size: 0.9375rem; }
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* Photo uploader */
.uploader { display: grid; gap: 12px; }
.dropzone { border: 1.5px dashed var(--line-2); padding: 22px; text-align: center; background: var(--ink-3); display: flex; flex-direction: column; align-items: center; gap: 10px; transition: border-color var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease); }
.dropzone[data-drag="true"] { border-color: var(--brass); border-style: solid; background: rgba(201,138,52,0.08); }
.dropzone p { margin: 0; color: var(--paper-3); font-size: 0.9375rem; }
.dropzone svg { width: 36px; height: 36px; color: var(--brass-2); }
.dropzone__actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.photo-list { list-style: none; margin: 0; padding: 0; max-width: none; display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
.photo-list:empty { display: none; }
.photo-list li { margin: 0; border: 1px solid var(--line); background: var(--ink-3); display: flex; flex-direction: column; }
.photo-list figure { margin: 0; aspect-ratio: 4 / 3; background: var(--ink-2); overflow: hidden; position: relative; }
.photo-list img { width: 100%; height: 100%; object-fit: cover; }
.photo-list figcaption { position: absolute; left: 6px; top: 6px; background: var(--brass); color: var(--ink); font-family: var(--font-display); font-weight: 700; font-size: 0.75rem; padding: 2px 7px; }
.photo-list__meta { padding: 6px 8px; font-size: 0.75rem; color: var(--paper-3); display: flex; justify-content: space-between; gap: 6px; }
.photo-list__meta .err { color: var(--danger); font-weight: 500; }
.photo-list__ctrl { display: flex; border-top: 1px solid var(--line); }
.photo-list__ctrl button { flex: 1; min-height: 44px; background: none; border: 0; border-right: 1px solid var(--line); font: inherit; font-size: 0.875rem; font-weight: 500; color: var(--brass-2); cursor: pointer; }
.photo-list__ctrl button:last-child { border-right: 0; }
.photo-list__ctrl button:hover { background: var(--ink-4); color: var(--paper); }
.photo-list__ctrl button[disabled] { opacity: 0.35; cursor: default; }
.photo-fallback { display: grid; gap: 8px; }
.js .photo-fallback { display: none; }
.progress { display: grid; gap: 6px; }
.progress__bar { height: 8px; background: var(--ink-3); border: 1px solid var(--line); }
.progress__bar > span { display: block; height: 100%; width: 0; background: var(--brass); transition: width 120ms linear; }
.progress__text { font-size: 0.875rem; color: var(--paper-3); }

/* ---------- Page bits ---------- */
.page-head { padding-block: clamp(3rem, 7vw, 6rem) clamp(1.5rem, 3vw, 2.5rem); }
.page-head h1 { margin-bottom: 0.3em; }
.page-head .lede { max-width: 56ch; }
.two-col { display: grid; gap: 32px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .two-col { grid-template-columns: 7fr 5fr; gap: 64px; align-items: start; } .two-col--even { grid-template-columns: 5fr 7fr; align-items: end; } }
.prose h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); margin-top: 2.5rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.75rem; }
.checklist { list-style: none; padding: 0; margin: 0 0 1.5rem; max-width: var(--measure); }
.checklist li { display: flex; gap: 14px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid var(--line); margin: 0; }
.checklist li::before { content: ""; flex: none; width: 10px; height: 10px; margin-top: 0.55em; background: var(--brass); transform: rotate(45deg); }
.checklist strong { display: block; font-family: var(--font-display); font-size: 1.25rem; letter-spacing: 0.02em; text-transform: uppercase; }
.checklist span { color: var(--paper-3); font-size: 1rem; }
.client-note { border: 1px dashed var(--line-brass); padding: 16px 20px; margin: 1.5rem 0; background: rgba(201,138,52,0.06); }
.client-note .label { margin-bottom: 0.35rem; }
.client-note p { color: var(--paper-3); font-size: 1rem; }
.callout { border-left: 3px solid var(--brass); padding: 4px 0 4px 20px; margin: 1.5rem 0; max-width: var(--measure); }
.callout p { margin: 0; color: var(--paper); }
.info-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.info-list li { margin: 0; padding-bottom: 16px; border-bottom: 1px solid var(--line); color: var(--paper); }
.info-list .label { display: flex; margin-bottom: 6px; }
.info-list a { text-decoration: none; font-weight: 500; }
.centered { text-align: center; }
.centered p, .centered h1, .centered h2 { margin-inline: auto; }
.centered .label { justify-content: center; }
.simple-page { padding-block: clamp(4rem, 10vw, 8rem); }
.simple-page .btn-row { justify-content: center; margin-top: 1.75rem; }

@media print { .site-header, .site-footer, .menu-toggle, .mobile-menu, .btn, .ticker { display: none !important; } html, body { background: #fff; color: #000; } }
