/* Vanguard Equipment — site styles
   Palette echoes the product brochures: Cat-style yellow, near-black, steel grey. */

:root {
  --yellow: #F5B800;
  --yellow-dark: #D99E00;
  --black: #121212;
  --ink: #1F1F1F;
  --ink-2: #3D3D3D;
  --muted: #6B6B6B;
  --line: #E3E3E3;
  --bg: #FFFFFF;
  --bg-alt: #F5F5F3;
  --bg-dark: #161616;
  --radius: 6px;
  --shadow: 0 6px 24px rgba(0,0,0,.08);
  --font-head: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --container: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font-body); font-size: 16px; line-height: 1.6;
  color: var(--ink); background: var(--bg);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 2px; }
address { font-style: normal; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.05; margin: 0 0 .5rem; text-transform: uppercase; letter-spacing: .01em; }
h1 { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); font-weight: 700; }
h3 { font-size: 1.45rem; font-weight: 700; }
h4 { font-size: 1.05rem; font-weight: 700; letter-spacing: .04em; }
p { margin: 0 0 1rem; }
.small { font-size: .85rem; color: var(--muted); }
.container { width: min(var(--container), 100% - 2.5rem); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 0; background: var(--yellow); padding: .5rem 1rem; z-index: 100; }
.skip:focus { left: 0; }

.kicker {
  font-family: var(--font-head); text-transform: uppercase; letter-spacing: .12em;
  font-weight: 700; font-size: .85rem; color: var(--yellow-dark); margin: 0 0 .5rem;
}
.lead { font-size: 1.15rem; color: var(--ink-2); max-width: 62ch; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  background: var(--yellow); color: var(--black); font-weight: 600; font-size: .95rem;
  padding: .8rem 1.4rem; border: 2px solid var(--yellow); border-radius: var(--radius);
  cursor: pointer; transition: background .15s, border-color .15s, transform .15s;
  font-family: var(--font-body);
}
.btn:hover { background: var(--yellow-dark); border-color: var(--yellow-dark); text-decoration: none; transform: translateY(-1px); }
.btn-outline { background: transparent; color: inherit; border-color: currentColor; }
.btn-outline:hover { background: rgba(0,0,0,.06); border-color: currentColor; }
.btn-sm { padding: .5rem .95rem; font-size: .85rem; }
.btn-block { width: 100%; }
.link-arrow { font-weight: 600; }
.link-arrow::after { content: " \2192"; color: var(--yellow-dark); }
.link-pdf { font-size: .85rem; font-weight: 600; color: var(--ink-2); }
.link-pdf::before { content: ""; display: inline-block; width: .7em; height: .85em; margin-right: .4em; vertical-align: -.1em;
  background: linear-gradient(var(--yellow-dark), var(--yellow-dark)) 0 0/100% 100% no-repeat; clip-path: polygon(0 0, 65% 0, 100% 30%, 100% 100%, 0 100%); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--black); color: #fff; border-bottom: 4px solid var(--yellow); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 72px; }
.brand { display: inline-flex; flex-direction: column; line-height: 1; }
.brand:hover { text-decoration: none; }
.brand-mark { font-family: var(--font-head); font-weight: 800; font-size: 1.75rem; letter-spacing: .06em; color: var(--yellow); }
.brand-sub { font-family: var(--font-head); font-weight: 600; font-size: .8rem; letter-spacing: .28em; color: #fff; margin-top: .15rem; }
.site-nav { display: flex; align-items: center; gap: 1.6rem; }
.site-nav > a:not(.btn) { font-weight: 500; font-size: .95rem; color: #E8E8E8; padding: .4rem 0; border-bottom: 2px solid transparent; }
.site-nav > a:not(.btn):hover, .site-nav > a.active { color: #fff; border-bottom-color: var(--yellow); text-decoration: none; }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; height: 3px; background: #fff; margin: 6px 0; transition: transform .2s, opacity .2s; }
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .site-nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--black); flex-direction: column; align-items: stretch; gap: 0; padding: .5rem 1.25rem 1.25rem; display: none; border-bottom: 4px solid var(--yellow); }
  .site-nav.open { display: flex; }
  .site-nav > a:not(.btn) { padding: .9rem 0; border-bottom: 1px solid #2c2c2c; }
  .site-nav .btn { margin-top: 1rem; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }
}

/* Hero (home) */
.hero {
  position: relative; color: #fff; min-height: 78vh; display: flex; align-items: center;
  background: #222 center 40%/cover no-repeat; isolation: isolate;
}
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,10,10,.88) 0%, rgba(10,10,10,.65) 45%, rgba(10,10,10,.15) 100%); z-index: -1; }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 8px; background: var(--yellow); }
.hero-inner { padding: 6rem 0; max-width: 760px; }
.hero .kicker { color: var(--yellow); }
.hero h1 span { color: var(--yellow); }
.hero .lead { color: #E6E6E6; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.hero .btn-outline { color: #fff; }
.hero .btn-outline:hover { background: rgba(255,255,255,.12); }

.stats-band { background: var(--black); color: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stats-grid > div { padding: 1.6rem 1rem; border-left: 1px solid #333; display: flex; flex-direction: column; }
.stats-grid > div:first-child { border-left: 0; }
.stats-grid strong { font-family: var(--font-head); font-size: 2.2rem; color: var(--yellow); line-height: 1; }
.stats-grid span { font-size: .85rem; color: #C9C9C9; margin-top: .35rem; }
@media (max-width: 760px) { .stats-grid { grid-template-columns: 1fr 1fr; } .stats-grid > div:nth-child(3) { border-left: 0; } }

/* Sections */
.section { padding: 4.5rem 0; }
.section-alt { background: var(--bg-alt); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 2rem; flex-wrap: wrap; }
.split { display: grid; grid-template-columns: 5fr 7fr; gap: 3rem; align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 1.5rem; } }
.prose p { max-width: 70ch; }
.grid { display: grid; gap: 1.5rem; }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1000px) { .cards-3, .cols-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .cards-3, .cols-3, .cols-2 { grid-template-columns: 1fr; } }

/* Cards */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card-media { aspect-ratio: 4/3; overflow: hidden; background: #eee; display: block; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.card:hover .card-media img { transform: scale(1.04); }
.card-body { padding: 1.25rem 1.4rem 1.4rem; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { margin-bottom: .4rem; }
.card-body p { color: var(--ink-2); font-size: .95rem; flex: 1; }
.mini-stats { list-style: none; padding: 0; margin: .25rem 0 1rem; display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.mini-stats li { display: flex; flex-direction: column; border-left: 3px solid var(--yellow); padding-left: .6rem; }
.mini-stats span { font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.mini-stats strong { font-size: .9rem; }
.card-actions { display: flex; align-items: center; justify-content: space-between; gap: .75rem; flex-wrap: wrap; }

/* Feature band */
.feature-band { position: relative; color: #fff; background: #222 center/cover no-repeat; padding: 6rem 0; isolation: isolate; }
.feature-band::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,10,10,.85), rgba(10,10,10,.35)); z-index: -1; }
.feature-inner { max-width: 640px; }
.feature-band .kicker { color: var(--yellow); }
.feature-band p { color: #E6E6E6; }

/* Panels */
.panel { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--yellow); border-radius: var(--radius); padding: 1.6rem; }
.panel-dark { background: var(--bg-dark); color: #fff; border-color: var(--bg-dark); }
.panel-dark .kicker { color: var(--yellow); }
.panel-dark .small { color: #BDBDBD; }
.panel h3 { margin-bottom: .75rem; }

/* Page hero */
.page-hero { position: relative; color: #fff; background: #222 center/cover no-repeat; padding: 5rem 0 4rem; isolation: isolate; border-bottom: 8px solid var(--yellow); }
.page-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,10,10,.9), rgba(10,10,10,.5)); z-index: -1; }
.page-hero .kicker { color: var(--yellow); }
.page-hero .lead { color: #E6E6E6; }

/* Download lists */
.dl-list { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: .75rem; }
.dl-grid { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 760px) { .dl-grid { grid-template-columns: 1fr; } }
.dl-item { display: grid; grid-template-columns: 56px 1fr auto; gap: 1rem; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: .75rem 1rem; }
.dl-item img { width: 56px; height: 72px; object-fit: cover; object-position: top; border: 1px solid var(--line); background: #eee; }
.dl-item div { display: flex; flex-direction: column; min-width: 0; }
.dl-item strong { font-size: .95rem; }

/* Product hero */
.product-hero { background: var(--black); color: #fff; padding: 3rem 0 0; }
.product-hero-grid { display: grid; grid-template-columns: 6fr 6fr; gap: 3rem; align-items: center; padding-bottom: 3rem; }
@media (max-width: 900px) { .product-hero-grid { grid-template-columns: 1fr; gap: 1.5rem; } }
.crumbs { font-size: .85rem; color: #B5B5B5; margin-bottom: 1.25rem; }
.crumbs a { color: #D8D8D8; }
.product-hero .kicker { color: var(--yellow); }
.product-hero .lead { color: #E6E6E6; }
.product-hero .btn-outline { color: #fff; }
.base-machines { font-size: .9rem; color: #D8D8D8; border-left: 3px solid var(--yellow); padding-left: .75rem; }
.product-hero-media { border-radius: var(--radius); overflow: hidden; background: #2a2a2a; aspect-ratio: 5/4; }
.product-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.key-stats { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--yellow); color: var(--black); border-radius: var(--radius) var(--radius) 0 0; transform: translateY(1px); }
.key-stats > div { padding: 1.1rem 1.25rem; border-left: 1px solid rgba(0,0,0,.15); display: flex; flex-direction: column; }
.key-stats > div:first-child { border-left: 0; }
.key-stats span { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 600; opacity: .8; }
.key-stats strong { font-family: var(--font-head); font-size: 1.35rem; line-height: 1.1; margin-top: .2rem; }
@media (max-width: 760px) { .key-stats { grid-template-columns: 1fr 1fr; } .key-stats > div:nth-child(3) { border-left: 0; } .key-stats > div:nth-child(n+3) { border-top: 1px solid rgba(0,0,0,.15); } }

/* Product layout */
.product-layout { display: grid; grid-template-columns: 240px 1fr; gap: 3rem; padding: 3.5rem 0; align-items: start; }
.product-layout > *, .grid > *, .split > * { min-width: 0; }
@media (max-width: 900px) { .product-layout { grid-template-columns: 1fr; gap: 2rem; } .product-side { order: 2; } }
.product-side { position: sticky; top: 92px; display: flex; flex-direction: column; gap: 1.25rem; }
@media (max-width: 900px) { .product-side { position: static; } }
.side-nav { display: flex; flex-direction: column; border-left: 2px solid var(--line); }
.side-nav a { padding: .5rem 1rem; font-size: .9rem; color: var(--ink-2); border-left: 2px solid transparent; margin-left: -2px; }
.side-nav a:hover, .side-nav a.active { border-left-color: var(--yellow); color: var(--black); text-decoration: none; font-weight: 600; }
.side-card { background: var(--bg-alt); border-radius: var(--radius); padding: 1.25rem; }
.side-card h4 { margin-bottom: .5rem; }
.product-main > section, .feature-section { margin-bottom: 3rem; }
.product-main h2 { padding-top: .5rem; border-top: 4px solid var(--yellow); display: inline-block; margin-bottom: 1rem; }
.feature-section h2 { font-size: 1.6rem; border-top-width: 3px; }
.checks { list-style: none; padding: 0; margin: 0 0 1rem; max-width: 76ch; }
.checks li { position: relative; padding-left: 1.6rem; margin-bottom: .55rem; }
.checks li::before { content: ""; position: absolute; left: 0; top: .5em; width: .75rem; height: .75rem; background: var(--yellow); clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); transform: rotate(45deg) scale(.8); }
.feature-cols { gap: 1.25rem 2rem; }
.feature-cols h4 { color: var(--black); margin-bottom: .3rem; }
.feature-cols p { font-size: .95rem; color: var(--ink-2); }
.inline-fig { margin: 1.5rem 0; }
.inline-fig figcaption { font-size: .85rem; color: var(--muted); margin-top: .4rem; }

/* Spec tables */
.spec-block { margin-bottom: 2rem; }
.spec-block h3 { font-size: 1.2rem; margin-bottom: .6rem; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); -webkit-overflow-scrolling: touch; }
table.spec { width: 100%; border-collapse: collapse; font-size: .9rem; min-width: 480px; }
table.spec th, table.spec td { padding: .6rem .8rem; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
table.spec thead th { background: var(--black); color: #fff; font-weight: 600; font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; white-space: nowrap; }
table.spec tbody th { font-weight: 500; color: var(--ink); background: var(--bg-alt); width: 38%; }
table.spec tbody tr:last-child td, table.spec tbody tr:last-child th { border-bottom: 0; }
table.spec tbody tr:hover td { background: #FFFBEB; }
.table-note { margin-top: .5rem; }

/* Galleries */
.gal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .9rem; }
.gal-grid-lg { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .gal-grid-lg { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .gal-grid, .gal-grid-lg { grid-template-columns: repeat(2, 1fr); } }
.gal-item { position: relative; display: block; aspect-ratio: 4/3; overflow: hidden; border-radius: var(--radius); background: #eee; }
.gal-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gal-item:hover img { transform: scale(1.05); }
.gal-item span { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.4rem .75rem .6rem; font-size: .8rem; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,.75)); }

.disclaimer { border-top: 1px solid var(--line); padding-top: 1rem; }
.prev-next { display: flex; justify-content: space-between; gap: 1rem; padding: 0 0 3rem; }
.prev-next a { display: flex; flex-direction: column; padding: 1rem 1.25rem; border: 1px solid var(--line); border-radius: var(--radius); flex: 1; }
.prev-next a.right { text-align: right; }
.prev-next a:hover { border-color: var(--yellow); text-decoration: none; }

/* Manuals */
.jump-nav { display: flex; flex-wrap: wrap; gap: .5rem; padding: 1.5rem 0 0; }
.jump-nav a { font-size: .85rem; font-weight: 600; padding: .45rem .9rem; border: 1px solid var(--line); border-radius: 999px; }
.jump-nav a:hover { border-color: var(--yellow); background: #FFFBEB; text-decoration: none; }
.manual-group { padding: 2.5rem 0; }
.manual-group + .manual-group { border-top: 1px solid var(--line); }
.manual-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
@media (max-width: 1000px) { .manual-list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .manual-list { grid-template-columns: 1fr; } }
.manual-item { display: grid; grid-template-columns: 96px 1fr; gap: 1rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem; }
.manual-thumb img { width: 96px; height: 124px; object-fit: cover; object-position: top; border: 1px solid var(--line); box-shadow: 0 2px 6px rgba(0,0,0,.08); }
.manual-body { display: flex; flex-direction: column; gap: .25rem; }
.manual-body h3 { font-size: 1.05rem; text-transform: none; font-family: var(--font-body); font-weight: 600; line-height: 1.3; }
.manual-body .btn { align-self: flex-start; margin-top: auto; }
.doc-no { font-family: var(--font-head); font-weight: 700; color: var(--yellow-dark); letter-spacing: .06em; margin: 0; font-size: .95rem; }

/* Video */
.video-wrap { position: relative; aspect-ratio: 16/9; background: #000; border-radius: var(--radius); overflow: hidden; }
.video-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Contact */
.contact-lines { list-style: none; padding: 0; margin: 1rem 0 0; }
.contact-lines li { display: flex; gap: 1rem; padding: .45rem 0; border-top: 1px solid rgba(127,127,127,.2); font-size: .95rem; }
.contact-lines a { white-space: nowrap; }
.contact-lines span { min-width: 90px; font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); padding-top: .2rem; }
.panel-dark .contact-lines span { color: #BDBDBD; }
.quote-form { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; }
.quote-form label { display: flex; flex-direction: column; gap: .35rem; font-size: .85rem; font-weight: 600; }
.quote-form .full { grid-column: 1 / -1; }
.quote-form input, .quote-form select, .quote-form textarea { font: inherit; font-weight: 400; padding: .65rem .8rem; border: 1px solid #CFCFCF; border-radius: var(--radius); background: #fff; }
.quote-form input:focus, .quote-form select:focus, .quote-form textarea:focus { outline: 2px solid var(--yellow); outline-offset: 1px; border-color: var(--yellow-dark); }
@media (max-width: 640px) { .quote-form { grid-template-columns: 1fr; } }
.map-wrap iframe { display: block; width: 100%; height: 380px; border: 0; filter: grayscale(.2); }

/* Footer */
.site-footer { background: var(--black); color: #D8D8D8; padding: 3.5rem 0 1.5rem; margin-top: 0; border-top: 8px solid var(--yellow); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: #fff; margin: 0 0 .6rem; }
.site-footer h4 + h4, .site-footer address + h4, .site-footer ul + h4, .site-footer p + h4 { margin-top: 1.4rem; }
.site-footer .small { color: #9A9A9A; }
.footer-tag { color: var(--yellow); font-weight: 600; margin-top: 1rem; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { padding: .2rem 0; font-size: .92rem; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid #2E2E2E; font-size: .85rem; }

@media print {
  .site-header, .site-footer, .hero-actions, .prev-next, .side-card, .nav-toggle { display: none !important; }
  .product-layout { grid-template-columns: 1fr; }
  a { text-decoration: none; }
}
