/* ==========================================================
   Zeek Engineering Inc. — site styles
   Plain CSS, no frameworks. Edit the variables below to retheme.
   ========================================================== */
:root {
  --steel-900: #11161c;
  --steel-800: #1a2129;
  --steel-700: #252e38;
  --steel-500: #5b6774;
  --steel-200: #d5dbe1;
  --steel-100: #eef1f4;
  --paper: #fafbfc;
  --orange: #f26b1d;
  --orange-dark: #cf5610;
  --ink: #1b2026;
  --muted: #5d6873;
  --radius: 6px;
  --max: 1160px;
  --head: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
}
img, svg { max-width: 100%; display: block; }
a { color: var(--orange-dark); }
h1, h2, h3 {
  font-family: var(--head);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0.01em;
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); text-transform: uppercase; }
h2 { font-size: clamp(2rem, 4vw, 2.8rem); text-transform: uppercase; }
h3 { font-size: 1.5rem; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 22px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; background: #fff; padding: 8px 12px; z-index: 100; }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--steel-900);
  color: var(--steel-200);
  font-size: 0.85rem;
}
.topbar .wrap {
  display: flex; flex-wrap: wrap; gap: 6px 22px;
  justify-content: space-between; padding-top: 7px; padding-bottom: 7px;
}
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { color: var(--orange); }

/* ---------- Header / nav ---------- */
.site-header {
  background: var(--steel-800);
  position: sticky; top: 0; z-index: 50;
  border-bottom: 3px solid var(--orange);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 70px; gap: 20px;
}
.brand {
  display: flex; align-items: center; gap: 12px;
  color: #fff; text-decoration: none;
}
.brand svg { width: 42px; height: 42px; flex: none; }
.brand-name {
  font-family: var(--head); font-weight: 700; font-size: 1.6rem;
  text-transform: uppercase; letter-spacing: 0.04em; line-height: 1;
}
.brand-name small {
  display: block; font-size: 0.7rem; letter-spacing: 0.22em;
  color: var(--steel-200); font-weight: 600; margin-top: 3px;
}

.nav-toggle { display: none; }
.nav-btn { display: none; }
.main-nav ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; align-items: center; gap: 4px;
}
.main-nav a {
  display: block; padding: 10px 10px; white-space: nowrap;
  color: var(--steel-100); text-decoration: none;
  font-family: var(--head); font-size: 1.1rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.04em;
  border-radius: var(--radius);
}
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--orange); }
.main-nav a.nav-shop {
  background: var(--orange); color: #fff; margin-left: 8px;
}
.main-nav a.nav-shop:hover { background: var(--orange-dark); color: #fff; }

@media (max-width: 1180px) {
  .nav-btn {
    display: flex; flex-direction: column; gap: 5px; cursor: pointer;
    padding: 10px; border-radius: var(--radius);
  }
  .nav-btn span { width: 26px; height: 3px; background: #fff; border-radius: 2px; }
  .main-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--steel-800); border-bottom: 3px solid var(--orange);
    display: none;
  }
  .nav-toggle:checked ~ .main-nav { display: block; }
  .main-nav ul { flex-direction: column; align-items: stretch; padding: 10px 22px 18px; }
  .main-nav a.nav-shop { margin: 8px 0 0; text-align: center; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; padding: 14px 26px;
  font-family: var(--head); font-size: 1.2rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.06em;
  text-decoration: none; border-radius: var(--radius);
  border: 2px solid transparent; cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-dark); }
.btn-ghost { border-color: rgba(255,255,255,0.6); color: #fff; }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,0.08); }
.btn-dark { background: var(--steel-800); color: #fff; }
.btn-dark:hover { background: var(--steel-900); }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: #fff; overflow: hidden;
  background:
    linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px) 0 0 / 32px 32px,
    linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px) 0 0 / 32px 32px,
    radial-gradient(ellipse at 80% 20%, #2c3a48 0%, var(--steel-900) 65%);
}
.hero .wrap { padding-top: 96px; padding-bottom: 104px; position: relative; z-index: 1; }
.hero .eyebrow { color: var(--orange); }
.hero h1 { max-width: 14ch; }
.hero h1 span { color: var(--orange); }
.hero p.lead { font-size: 1.2rem; max-width: 52ch; color: var(--steel-200); }
.hero .actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-gear {
  position: absolute; right: -120px; top: 50%; transform: translateY(-50%);
  width: 560px; height: 560px; opacity: 0.09; color: #fff;
}
.page-hero .wrap { padding-top: 70px; padding-bottom: 70px; }
.page-hero h1 { max-width: none; font-size: clamp(2.4rem, 5vw, 3.6rem); }

.eyebrow {
  display: inline-block; font-family: var(--head); font-weight: 700;
  font-size: 1rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--orange-dark); margin-bottom: 10px;
}

/* ---------- Sections ---------- */
section { padding: 84px 0; }
.section-alt { background: var(--steel-100); }
.section-dark { background: var(--steel-800); color: var(--steel-100); }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head p { color: var(--muted); font-size: 1.1rem; }
.section-dark .section-head p { color: var(--steel-200); }

/* ---------- Shop band ---------- */
.shop-band { background: var(--orange); color: #fff; padding: 0; }
.shop-band .wrap {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 18px; padding-top: 30px; padding-bottom: 30px;
}
.shop-band h2 { margin: 0; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.shop-band p { margin: 4px 0 0; opacity: 0.95; }

/* ---------- Service cards ---------- */
.grid {
  display: grid; gap: 22px;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}
@media (min-width: 900px) { .grid { grid-template-columns: repeat(3, 1fr); } }
.card {
  background: #fff; border: 1px solid var(--steel-200);
  border-radius: var(--radius); padding: 28px 26px;
  display: flex; flex-direction: column;
  transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(17,22,28,0.1); border-color: var(--orange); }
.card .icon {
  width: 54px; height: 54px; border-radius: var(--radius);
  background: var(--steel-800); color: var(--orange);
  display: grid; place-items: center; margin-bottom: 18px;
}
.card .icon svg { width: 30px; height: 30px; }
.card h3 { text-transform: uppercase; }
.card p { color: var(--muted); font-size: 0.97rem; flex: 1; }
.card .more {
  font-family: var(--head); font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.06em; text-decoration: none; margin-top: 6px;
}
.card .more::after { content: " →"; }
.card.featured { border-top: 4px solid var(--orange); }

/* ---------- Split / about ---------- */
.split {
  display: grid; gap: 48px; align-items: center;
  grid-template-columns: 1.1fr 0.9fr;
}
@media (max-width: 880px) { .split { grid-template-columns: 1fr; } }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 28px; }
.stat {
  background: var(--steel-800); color: #fff; border-radius: var(--radius);
  padding: 18px; text-align: center;
}
.stat b { display: block; font-family: var(--head); font-size: 2.2rem; color: var(--orange); line-height: 1; }
.stat span { font-size: 0.85rem; color: var(--steel-200); }
.panel {
  background: var(--steel-800); color: var(--steel-100);
  border-radius: var(--radius); padding: 34px;
  border-left: 5px solid var(--orange);
}
.panel h3 { color: #fff; text-transform: uppercase; }
.panel ul { margin: 0; padding-left: 1.1em; }
.panel li { margin-bottom: 6px; }

/* ---------- Checklist / model list ---------- */
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { padding-left: 30px; position: relative; margin-bottom: 10px; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 0.45em;
  width: 16px; height: 16px; border-radius: 3px; background: var(--orange);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/100% no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/100% no-repeat;
}
.models {
  display: grid; gap: 10px;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  list-style: none; padding: 0; margin: 0;
}
.models li {
  background: #fff; border: 1px solid var(--steel-200); border-radius: var(--radius);
  padding: 12px 16px; font-weight: 600; font-size: 0.95rem;
}
.models li small { display: block; color: var(--muted); font-weight: 500; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; }

/* ---------- Spec table ---------- */
.spec { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; }
.spec th, .spec td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--steel-200); }
.spec th { background: var(--steel-800); color: #fff; font-family: var(--head); text-transform: uppercase; letter-spacing: 0.06em; font-size: 1.05rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: 40px; grid-template-columns: 0.9fr 1.1fr; }
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-list { list-style: none; padding: 0; margin: 0 0 24px; }
.contact-list li { display: flex; gap: 14px; margin-bottom: 18px; }
.contact-list svg { width: 24px; height: 24px; color: var(--orange); flex: none; margin-top: 3px; }
.contact-list a { color: #fff; }
.contact-list strong { display: block; color: #fff; font-family: var(--head); text-transform: uppercase; letter-spacing: 0.06em; font-size: 1.05rem; }
form.contact-form { background: #fff; color: var(--ink); border-radius: var(--radius); padding: 30px; }
.contact-form label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 6px; }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%; padding: 12px 14px; margin-bottom: 18px;
  border: 1px solid var(--steel-200); border-radius: var(--radius);
  font: inherit; background: var(--paper);
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  outline: 2px solid var(--orange); border-color: var(--orange);
}
.contact-form textarea { min-height: 130px; resize: vertical; }
.contact-form .row { display: grid; gap: 0 16px; grid-template-columns: 1fr 1fr; }
@media (max-width: 560px) { .contact-form .row { grid-template-columns: 1fr; } }
.contact-form .btn { width: 100%; }

/* ---------- Footer ---------- */
.site-footer { background: var(--steel-900); color: var(--steel-200); padding: 54px 0 26px; font-size: 0.95rem; }
.footer-grid { display: grid; gap: 34px; grid-template-columns: 1.4fr 1fr 1fr 1fr; }
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 {
  font-family: var(--head); color: #fff; text-transform: uppercase;
  letter-spacing: 0.1em; font-size: 1.1rem; margin: 0 0 12px;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 7px; }
.site-footer a { color: var(--steel-200); text-decoration: none; }
.site-footer a:hover { color: var(--orange); }
.footer-bottom {
  border-top: 1px solid var(--steel-700); margin-top: 38px; padding-top: 20px;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: 0.85rem;
}
.brand-name small { white-space: nowrap; }
@media (min-width: 900px) { .grid.grid-4 { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Breadcrumbs ---------- */
.crumbs { background: var(--steel-100); border-bottom: 1px solid var(--steel-200); font-size: 0.88rem; }
.crumbs ol { list-style: none; margin: 0; padding: 12px 0; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--steel-500); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--orange-dark); }
.crumbs [aria-current] { color: var(--ink); font-weight: 600; }

/* ---------- Prose ---------- */
.prose h3 { margin-top: 28px; text-transform: uppercase; }
.panel .btn { margin-top: 8px; }
.panel p { color: var(--steel-200); }

/* ---------- Linked model tiles ---------- */
.models li:has(a) { padding: 0; }
.models li a { display: block; padding: 12px 16px; color: var(--ink); text-decoration: none; border-radius: var(--radius); }
.models li a:hover { background: var(--steel-800); color: #fff; }
.models li a:hover small { color: var(--orange); }

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 900px; }
.faq details { background: #fff; border: 1px solid var(--steel-200); border-radius: var(--radius); margin-bottom: 10px; }
.faq summary { cursor: pointer; padding: 16px 20px; font-weight: 600; list-style: none; position: relative; padding-right: 48px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); color: var(--orange); font-size: 1.5rem; font-weight: 700; }
.faq details[open] summary::after { content: "\2013"; }
.faq details p { padding: 0 20px 18px; margin: 0; color: var(--muted); }

/* ---------- Pill links ---------- */
.pill-links { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.pill-links a { display: inline-block; padding: 10px 18px; border: 1px solid var(--steel-200); border-radius: 999px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: 0.95rem; background: #fff; }
.pill-links a:hover { border-color: var(--orange); color: var(--orange-dark); }
.pill-links.dark a { background: transparent; color: #fff; border-color: var(--steel-500); }
.pill-links.dark a:hover { border-color: var(--orange); color: var(--orange); }

/* ---------- Trademark note ---------- */
.tm-note { font-size: 0.8rem; color: var(--steel-500); margin: 34px 0 0; max-width: 900px; }

/* ---------- Gallery ---------- */
.gallery { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.gallery figure { margin: 0; background: #fff; border: 1px solid var(--steel-200); border-radius: var(--radius); overflow: hidden; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--steel-100); }
.gallery figcaption { padding: 10px 14px; font-size: 0.88rem; color: var(--muted); }

/* ---------- Numbered steps (numbering head page) ---------- */
.nh-steps { counter-reset: n; list-style: none; padding: 0; margin: 0; }
.nh-steps li { counter-increment: n; position: relative; padding: 0 0 18px 52px; }
.nh-steps li::before { content: counter(n); position: absolute; left: 0; top: 0; width: 36px; height: 36px; border-radius: 50%;
  background: var(--orange); color: #fff; display: grid; place-items: center; font-family: var(--head); font-weight: 700; font-size: 1.2rem; }
.panel a { color: #fff; }
