:root {
  --ink: #0b0c0d;
  --charcoal: #1a1a1a;
  --steel: #a8a9ad;
  --cyan: #00bfff;
  --paper: #f4f5f6;
  --white: #ffffff;
  --muted: #686d72;
  --line: #d9dde0;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--charcoal);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.55;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
.wrap { width: min(var(--max), calc(100% - 36px)); margin: 0 auto; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 20; background: var(--white); padding: 10px 14px; }

.topbar { background: var(--ink); color: var(--white); border-bottom: 3px solid var(--cyan); }
.topbar-inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { text-decoration: none; display: flex; align-items: center; gap: 10px; font-weight: 900; letter-spacing: .08em; }
.brand-mark {
  width: 48px;
  height: 44px;
  flex: 0 0 auto;
  background-image: url("assets/hosie-logo.jpeg");
  background-repeat: no-repeat;
  background-size: 223px 125px;
  background-position: -79px -13px;
}
.brand small { display: block; color: var(--steel); font-size: 11px; letter-spacing: .16em; font-weight: 700; }
.nav { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.nav a { color: #eef0f1; text-decoration: none; font-size: 14px; font-weight: 700; }
.nav a:hover, .nav a:focus-visible { color: var(--cyan); }
.nav .nav-cta { background: var(--cyan); color: var(--ink); padding: 10px 14px; }

.hero { background: linear-gradient(120deg, #090a0b 0%, #1b1e20 68%, #22272a 100%); color: var(--white); border-bottom: 1px solid #30363a; }
.hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; min-height: 610px; align-items: center; gap: 56px; padding: 64px 0; }
.eyebrow { margin: 0 0 12px; color: var(--cyan); font-weight: 900; text-transform: uppercase; letter-spacing: .16em; font-size: 13px; }
h1, h2, h3 { margin-top: 0; line-height: 1.08; }
h1 { font-size: clamp(42px, 7vw, 82px); letter-spacing: -.04em; margin-bottom: 22px; }
h2 { font-size: clamp(30px, 4vw, 48px); letter-spacing: -.03em; }
h3 { font-size: 22px; }
.hero-copy { color: #d4d7d9; font-size: 19px; max-width: 650px; }
.hero-logo { background: #08090a; border: 1px solid #34383b; box-shadow: 18px 18px 0 rgba(0,191,255,.13); }
.hero-logo img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 20px; text-decoration: none; font-weight: 900; border: 2px solid var(--cyan); }
.button-primary { background: var(--cyan); color: var(--ink); }
.button-secondary { color: var(--white); background: transparent; }
.button-dark { background: var(--ink); color: var(--white); border-color: var(--ink); }
.button:hover, .button:focus-visible { transform: translateY(-2px); }

.section { padding: 82px 0; }
.section-white { background: var(--white); }
.section-dark { background: var(--charcoal); color: var(--white); }
.section-head { max-width: 760px; margin-bottom: 36px; }
.section-head p { color: var(--muted); font-size: 18px; }
.section-dark .section-head p { color: #c9cdd0; }
.category-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.category-card { background: var(--white); border: 1px solid var(--line); text-decoration: none; display: flex; flex-direction: column; min-height: 100%; transition: transform .15s ease, border-color .15s ease; }
.category-card:hover, .category-card:focus-visible { transform: translateY(-4px); border-color: var(--cyan); }
.category-image { aspect-ratio: 16/9; overflow: hidden; background: #e8ebed; }
.category-image img { width: 100%; height: 100%; object-fit: cover; }
.category-body { padding: 22px; flex: 1; }
.category-body p { color: var(--muted); margin-bottom: 0; }
.category-link { color: #007da7; font-weight: 900; margin-top: 18px; display: inline-block; }
.proof-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.proof { border-top: 3px solid var(--cyan); padding-top: 18px; }
.proof p { color: #c9cdd0; }
.watley-range { display: flex; align-items: center; justify-content: space-between; gap: 36px; }
.watley-range > div { max-width: 760px; }
.watley-range h2 { margin-bottom: 14px; }
.watley-range p:last-child { color: var(--muted); font-size: 18px; margin-bottom: 0; }
.watley-range .button { flex: 0 0 auto; }

.page-hero { background: var(--ink); color: var(--white); padding: 58px 0 48px; border-bottom: 4px solid var(--cyan); }
.page-hero h1 { font-size: clamp(38px, 6vw, 68px); margin-bottom: 14px; }
.page-hero p { color: #d2d5d7; max-width: 760px; font-size: 18px; }
.breadcrumbs { color: var(--steel); font-size: 14px; margin-bottom: 22px; }
.breadcrumbs a { color: var(--cyan); }
.category-layout { display: grid; grid-template-columns: minmax(0, 1fr) 350px; gap: 36px; align-items: start; }
.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.product-card { background: var(--white); border: 1px solid var(--line); overflow: hidden; }
.product-image { width: 100%; aspect-ratio: 4/3; object-fit: contain; background: #f1f3f4; }
.product-card-body { padding: 20px; border-top: 4px solid var(--steel); }
.product-card h3 { margin-bottom: 10px; }
.spec { color: #007da7; font-weight: 800; font-size: 14px; margin: 0 0 8px; }
.product-card p:last-child { margin-bottom: 0; color: var(--muted); }
.category-aside { position: sticky; top: 18px; background: var(--white); border: 1px solid var(--line); }
.category-aside img { width: 100%; aspect-ratio: 4/4.2; object-fit: contain; object-position: center; background: #f1f3f4; }
.aside-body { padding: 22px; }
.aside-body p { color: var(--muted); }
.yard-list { display: grid; gap: 12px; }
.yard-row { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.yard-row strong { color: #007da7; }

.contact-strip { background: var(--cyan); color: var(--ink); }
.contact-inner { padding: 52px 0; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.contact-inner h2 { margin-bottom: 8px; }
.contact-inner p { margin: 0; max-width: 680px; }
.footer { background: #08090a; color: #c8cbcd; padding: 38px 0; }
.footer-grid { display: flex; justify-content: space-between; gap: 24px; align-items: end; }
.footer a { color: var(--white); }
.footer small { display: block; color: var(--steel); margin-top: 8px; }

@media (max-width: 900px) {
  .topbar-inner { align-items: flex-start; padding: 16px 0; }
  .nav { justify-content: flex-end; }
  .hero-grid, .category-layout { grid-template-columns: 1fr; }
  .hero-grid { min-height: 0; gap: 34px; }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .category-aside { position: static; max-width: 540px; }
}

@media (max-width: 620px) {
  .wrap { width: min(100% - 24px, var(--max)); }
  .topbar-inner { display: block; }
  .nav { margin-top: 16px; justify-content: flex-start; gap: 12px 16px; }
  .nav .nav-cta { padding: 7px 10px; }
  .hero-grid, .section { padding-top: 50px; padding-bottom: 50px; }
  .category-grid, .proof-grid, .product-grid { grid-template-columns: 1fr; }
  .contact-inner, .footer-grid { display: block; }
  .watley-range { display: block; }
  .watley-range .button { margin-top: 24px; }
  .contact-inner .actions { margin-top: 22px; }
  .footer-grid > div + div { margin-top: 22px; }
}
