/* ==========================================================================
   Z Tech Services — site styles
   Palette sampled from the 2026 logo art: #025026 forest, #8cc63f lime.
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --green:      #025026;  /* primary — 10.9:1 on white */
  --green-mid:  #04703a;  /* hover   —  6.4:1 on white */
  --green-dark: #003a17;
  --lime:       #8cc63f;  /* accent — dark grounds ONLY (2.1:1 on white) */
  --lime-soft:  #a8d65f;
  --ink:        #0b1d13;  /* nav, dark sections, footer */
  --ink-soft:   #12291b;
  --white:      #ffffff;
  --off-white:  #f3f7f4;
  --gray:       #e2ebe5;
  --text:       #23312a;
  --muted:      #5f6f66;  /* 5.5:1 on white */
  --nav-h:      70px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

img { max-width: 100%; }

/* Visible only to screen readers */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* Keyboard focus — never remove without replacing */
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: 2px;
}

.skip-link {
  position: absolute; top: -100px; left: 12px; z-index: 200;
  background: var(--green); color: #fff;
  padding: 12px 20px; border-radius: 0 0 4px 4px;
  text-decoration: none; font-weight: 600;
}
.skip-link:focus { top: 0; }

/* ─── DRAFT MARKER ───────────────────────────────────────────────────────
   Marks copy Claude drafted that Darcy has not approved. To hide sitewide
   once the copy is signed off, set this rule to `display: none`.          */
.draft-note {
  background: #fff8e1;
  border-left: 3px solid #c8912a;
  color: #6b4e12;
  font-size: 0.82rem;
  padding: 10px 16px;
  margin-bottom: 28px;
  border-radius: 2px;
}
.draft-note strong { letter-spacing: 0.04em; text-transform: uppercase; font-size: 0.75rem; }

/* ─── ANNOUNCEMENT BANNER (rotating, ~2x height, no dismiss) ─── */
.announce {
  background: linear-gradient(90deg, var(--green) 0%, var(--green-mid) 100%);
  color: #fff;
  position: relative;
  z-index: 101;
  border-bottom: 2px solid var(--lime);
  overflow: hidden;
}
.announce-track { position: relative; }
.announce-slide {
  display: none;
  min-height: 88px;                 /* ~2x the old single-line strip */
  align-items: center; justify-content: center;
  text-align: center;
  padding: 16px 32px 24px;
  font-size: 1.05rem; font-weight: 500; letter-spacing: 0.01em;
  line-height: 1.45;
}
.announce-slide.active { display: flex; }
/* With JS off, all slides stack and show (progressive enhancement). */
.no-js .announce-slide { display: flex; }

.announce .announce-tag {
  display: inline-block;
  background: var(--lime);
  color: var(--ink);
  font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 3px 10px; border-radius: 100px;
  margin-right: 12px; vertical-align: middle;
}
.announce a {
  color: #fff; font-weight: 700; white-space: nowrap;
  text-decoration: underline; text-underline-offset: 3px;
  text-decoration-color: var(--lime-soft); text-decoration-thickness: 2px;
}
.announce a:hover { color: var(--lime-soft); }

.announce-dots {
  position: absolute; bottom: 9px; left: 0; right: 0;
  display: flex; gap: 8px; justify-content: center;
}
.announce-dots:empty { display: none; }
.announce-dot {
  width: 9px; height: 9px; border-radius: 50%; padding: 0;
  background: rgba(255,255,255,0.4); border: 0; cursor: pointer;
  transition: background 0.2s;
}
.announce-dot:hover { background: rgba(255,255,255,0.7); }
.announce-dot.active { background: var(--lime); }

/* Anchor targets must clear the pinned nav, or #about lands underneath it. */
[id] { scroll-margin-top: calc(var(--nav-h) + 16px); }

/* ─── NAV ───────────────────────────────────────────────────────────────────
   Sticky rather than fixed, which does two jobs at once with no JS:

   1. The announcement banner above sits in normal flow and scrolls away. A
      *fixed* nav would stay pinned partway down the viewport, leaving a gap
      above it with page content showing through. Sticky rides up with the
      banner and then pins at top: 0 by itself — no scroll handler, and nothing
      to measure (measuring the banner is unreliable: its height changes when
      the webfont swaps in and reflows the text).

   2. The negative margin-bottom pulls the following content back up under the
      nav, so the hero image still runs beneath the translucent bar the way a
      fixed nav would. Sticky keeps its space in flow, so without this the hero
      would start below the nav instead of behind it. */
nav {
  position: sticky; top: 0; z-index: 100;
  margin-bottom: calc(-1 * var(--nav-h));
  background: rgba(11, 29, 19, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(140, 198, 63, 0.25);
  padding: 0 40px;
  display: flex; align-items: center; justify-content: space-between;
  height: var(--nav-h);
}

.nav-logo { display: flex; align-items: center; }
.nav-logo img { height: 40px; width: auto; display: block; }

.nav-links { display: flex; gap: 30px; list-style: none; align-items: center; }

.nav-links a {
  color: rgba(255,255,255,0.82);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 0.2s;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--lime); }

.nav-cta {
  background: var(--green);
  color: #fff !important;
  padding: 9px 20px;
  border-radius: 3px;
  border: 1px solid var(--lime);
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--green-mid); color: #fff !important; }

/* Hamburger — the demo hid nav links on mobile with no way to reach them. */
.nav-toggle {
  display: none;
  background: none; border: 0; cursor: pointer;
  padding: 10px; margin-right: -10px;
}
.nav-toggle span {
  display: block; width: 24px; height: 2px;
  background: #fff; margin: 5px 0;
  transition: transform 0.25s, opacity 0.2s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── BUTTONS ─── */
.btn-primary {
  display: inline-block;
  background: var(--green);
  color: #fff;
  text-decoration: none;
  padding: 14px 32px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 3px;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s, transform 0.15s;
}
.btn-primary:hover { background: var(--green-mid); transform: translateY(-1px); }

.btn-lime {
  display: inline-block;
  background: var(--lime);
  color: var(--ink);
  text-decoration: none;
  padding: 14px 32px;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 3px;
  transition: background 0.2s, transform 0.15s;
}
.btn-lime:hover { background: var(--lime-soft); transform: translateY(-1px); }

.btn-outline {
  display: inline-block;
  border: 1.5px solid rgba(255,255,255,0.45);
  color: rgba(255,255,255,0.9);
  text-decoration: none;
  padding: 13px 32px;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 3px;
  transition: border-color 0.2s, color 0.2s;
}
.btn-outline:hover { border-color: var(--lime); color: var(--lime); }

.btn-ghost {
  display: inline-block;
  border: 1.5px solid var(--gray);
  color: var(--green);
  text-decoration: none;
  padding: 13px 28px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 3px;
  transition: border-color 0.2s, background 0.2s;
}
.btn-ghost:hover { border-color: var(--green); background: var(--off-white); }

/* ─── HERO ─── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute; inset: 0;
  background-image: url('hero-bg.jpg');
  background-size: cover;
  background-position: center;
  filter: brightness(0.5) saturate(0.8);
}

/* Overlay darkened on the left (behind the text) and lighter on the right so
   more of the board shows through while hero text keeps its contrast. */
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(11,29,19,0.82) 0%, rgba(11,29,19,0.58) 42%, rgba(2,80,38,0.28) 100%);
}

.hero-content {
  position: relative; z-index: 2;
  max-width: 780px;
  padding: 130px 80px;
}

.hero-eyebrow {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.02rem; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 16px;
}

.hero h1 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 700; line-height: 1.0;
  color: #fff; margin-bottom: 24px;
  letter-spacing: -0.01em;
}
.hero h1 span { color: var(--lime); }

.hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.82);
  max-width: 540px;
  margin-bottom: 32px;
  line-height: 1.7;
}

.hero-badges { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 36px; }

.badge {
  background: rgba(2, 80, 38, 0.45);
  border: 1px solid rgba(140, 198, 63, 0.45);
  color: rgba(255,255,255,0.9);
  font-size: 0.78rem; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 2px;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-stat-bar {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 2;
  background: rgba(2, 80, 38, 0.9);
  backdrop-filter: blur(6px);
  display: flex; justify-content: center;
  border-top: 1px solid rgba(140,198,63,0.3);
}
.stat-bar-inner { display: flex; max-width: 960px; width: 100%; }
.stat-item {
  flex: 1; padding: 22px 24px; text-align: center;
  border-right: 1px solid rgba(255,255,255,0.15);
}
.stat-item:last-child { border-right: none; }
.stat-number {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 2rem; font-weight: 700; color: #fff; line-height: 1;
}
.stat-label {
  font-size: 0.72rem; color: rgba(255,255,255,0.75);
  letter-spacing: 0.08em; text-transform: uppercase; margin-top: 4px;
}

/* ─── SECTIONS ─── */
section { padding: 90px 40px; }
.section-inner { max-width: 1100px; margin: 0 auto; }

.section-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.92rem; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--green); margin-bottom: 12px;
}

.section-heading {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700; color: var(--ink);
  line-height: 1.1; margin-bottom: 16px;
}

.section-sub {
  font-size: 1rem; color: var(--muted);
  max-width: 580px; line-height: 1.7; margin-bottom: 52px;
}

/* Dark-ground section variants */
.dark { background: var(--ink); }
.dark .section-heading { color: #fff; }
.dark .section-label { color: var(--lime); }
.dark .section-sub { color: rgba(255,255,255,0.65); }

/* ─── FEATURED PRODUCT (below-hero rotating showcase) ─── */
.featured-product {
  background: linear-gradient(120deg, var(--ink) 0%, var(--green-dark) 55%, var(--green) 120%);
  padding: 0;
}
.featured-product .section-inner { max-width: 1100px; }
.fp-track { position: relative; }
.fp-slide { display: none; }
.fp-slide.active { display: grid; }
.no-js .fp-slide { display: grid; }
.fp-slide {
  grid-template-columns: 1fr 42%;
  align-items: center; gap: 32px;
  min-height: 300px;
}
.fp-text { padding: 56px 0 56px 4px; }
.fp-tag {
  display: inline-block; background: var(--lime); color: var(--ink);
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 4px 12px; border-radius: 100px; margin-bottom: 16px;
}
.fp-text h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 700; color: #fff;
  line-height: 1.05; margin-bottom: 12px;
}
.fp-desc { color: rgba(255,255,255,0.8); line-height: 1.7; max-width: 420px; margin-bottom: 22px; }
.fp-link {
  font-size: 0.85rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--lime); text-decoration: none;
}
.fp-link:hover { color: var(--lime-soft); }
/* Framed product photo (lifestyle banners, not cutouts) filling the right column */
.fp-media { align-self: stretch; }
.fp-media img {
  width: 100%; height: 100%; min-height: 300px; max-height: 420px;
  object-fit: cover; border-radius: 12px; display: block;
  box-shadow: 0 16px 36px rgba(0,0,0,0.35);
}
/* Dots flow in-line BELOW the banner (not absolutely positioned — that escaped
   to the wrong place on desktop since no ancestor was positioned). */
.fp-dots {
  display: flex; gap: 8px; justify-content: center;
  padding: 4px 0 30px;
}
.fp-dots:empty { display: none; }
.fp-dot {
  width: 9px; height: 9px; border-radius: 50%; padding: 0;
  background: rgba(255,255,255,0.4); border: 0; cursor: pointer; transition: background 0.2s;
}
.fp-dot:hover { background: rgba(255,255,255,0.7); }
.fp-dot.active { background: var(--lime); }

/* ─── SERVICES / FEATURED CARDS ─── */
.services { background: var(--off-white); }

.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.services-grid.four { grid-template-columns: repeat(4, 1fr); }

.service-card { background: #fff; padding: 44px 36px; transition: box-shadow 0.2s; }
.service-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,0.08); }

.service-icon {
  width: 52px; height: 52px;
  background: var(--green); border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
}
.service-icon svg { width: 26px; height: 26px; fill: none; stroke: #fff; stroke-width: 1.8; }

.service-card h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.3rem; font-weight: 600; color: var(--ink);
  margin-bottom: 12px; letter-spacing: 0.02em;
}
.service-card p { font-size: 0.92rem; color: var(--muted); line-height: 1.7; }

/* ─── MANUFACTURER GRID ─── */
.mfr-cat { margin-bottom: 56px; }
.mfr-cat:last-child { margin-bottom: 0; }

.mfr-cat-head {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.05rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--green);
  padding-bottom: 10px; margin-bottom: 24px;
  border-bottom: 2px solid var(--gray);
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
}
.mfr-cat-head .count { color: var(--muted); font-weight: 400; letter-spacing: 0.06em; }

.mfr-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}

.mfr-card {
  background: #fff;
  border: 1px solid var(--gray);
  border-radius: 4px;
  padding: 24px 22px;
  text-decoration: none;
  display: flex; flex-direction: column;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s;
}
.mfr-card:hover {
  border-color: var(--green);
  box-shadow: 0 10px 28px rgba(0,0,0,0.09);
  transform: translateY(-2px);
}

/* Fixed, centered logo lane so every card's mark occupies the same area.
   Per-class caps (set from each logo's aspect ratio in build-pages.py) keep
   square badges and wide wordmarks at matching optical sizes. */
.mfr-logo {
  height: 60px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.mfr-logo img { width: auto; height: auto; object-fit: contain; }
.mfr-logo img.logo-square { max-height: 50px; max-width: 120px; }
.mfr-logo img.logo-std    { max-height: 44px; max-width: 150px; }
.mfr-logo img.logo-wide   { max-height: 36px; max-width: 170px; }

.mfr-card h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.15rem; font-weight: 600; color: var(--ink);
  margin-bottom: 8px; letter-spacing: 0.02em;
}
.mfr-card p {
  font-size: 0.85rem; color: var(--muted); line-height: 1.6;
  flex: 1; margin-bottom: 14px;
}
.mfr-card .more {
  font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--green);
}
.mfr-card:hover .more { color: var(--green-mid); }

/* ─── MANUFACTURER PROFILE PAGE ─── */
.page-head {
  background: var(--ink);
  padding: calc(var(--nav-h) + 60px) 40px 60px;
}
.page-head-inner { max-width: 1100px; margin: 0 auto; }

.crumbs { font-size: 0.8rem; color: rgba(255,255,255,0.5); margin-bottom: 20px; }
.crumbs a { color: var(--lime); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

.page-head h1 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 700; color: #fff; line-height: 1.1; margin-bottom: 12px;
}
.page-head .eyebrow {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.92rem; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--lime); margin-bottom: 10px;
}
.page-head p { color: rgba(255,255,255,0.7); max-width: 620px; line-height: 1.7; }
.page-head .page-head-lead {
  color: rgba(255,255,255,0.92);
  font-size: 1.15rem; line-height: 1.6; max-width: 680px; margin-top: 6px;
}
.page-head .page-head-cta { margin-top: 26px; }
.page-head .linecard-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.page-head .linecard-cta .btn-outline { border-color: rgba(255,255,255,0.5); color: #fff; }
.page-head .linecard-cta .btn-outline:hover { border-color: var(--lime); color: var(--lime); }

.profile-layout {
  display: grid; grid-template-columns: 1fr 320px;
  gap: 60px; align-items: start;
}

.profile-body h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.5rem; font-weight: 600; color: var(--ink);
  margin: 32px 0 12px; letter-spacing: 0.02em;
}
.profile-body h2:first-child { margin-top: 0; }
.profile-body p { color: var(--muted); line-height: 1.8; margin-bottom: 16px; }

/* Profile spec blocks */
.spec-section { margin-bottom: 34px; }
.spec-section:last-child { margin-bottom: 0; }

.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  background: var(--off-white);
  border: 1px solid var(--gray);
  border-radius: 100px;
  padding: 7px 15px;
  font-size: 0.85rem; font-weight: 500;
  color: var(--text);
}

.spec-list {
  list-style: none;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 10px 28px;
}
.spec-list li {
  position: relative; padding-left: 26px;
  font-size: 0.92rem; color: var(--text); line-height: 1.5;
}
.spec-list li::before {
  content: ''; position: absolute; left: 0; top: 2px;
  width: 17px; height: 17px; border-radius: 50%;
  background: var(--green);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='4 10 8.5 14.5 16 6'/%3E%3C/svg%3E");
  background-size: 12px; background-repeat: no-repeat; background-position: center;
}

.learn-link {
  font-weight: 600; color: var(--green); text-decoration: none;
  border-bottom: 1px solid var(--gray); padding-bottom: 1px;
}
.learn-link:hover { color: var(--green-mid); border-color: var(--green-mid); }

/* Prev / Next browse nav on manufacturer profiles (own band below the profile) */
.mfr-nav-section { padding-top: 0; padding-bottom: 72px; }
.mfr-nav {
  /* Reset the site-header `nav {}` element styles that otherwise leak in here
     (sticky, fixed height, the negative margin-bottom, dark background). */
  position: static; top: auto; z-index: auto;
  height: auto; margin: 0; background: none; backdrop-filter: none;
  border-bottom: 0;
  display: flex; justify-content: space-between; gap: 16px;
  padding: 28px 0 0;
  border-top: 1px solid var(--gray);
}
.mfr-nav-link {
  display: flex; flex-direction: column; gap: 4px;
  text-decoration: none; max-width: 48%;
  padding: 12px 18px; border: 1px solid var(--gray); border-radius: 4px;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s;
}
.mfr-nav-link:hover { border-color: var(--green); box-shadow: 0 8px 22px rgba(0,0,0,0.07); transform: translateY(-1px); }
.mfr-nav-link.next { text-align: right; margin-left: auto; align-items: flex-end; }
.mfr-nav-link .dir {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted);
}
.mfr-nav-link .name {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.15rem; font-weight: 600; color: var(--ink); line-height: 1.1;
}
.mfr-nav-link:hover .name { color: var(--green); }

/* "A ZTech Solution" tag on the ZTech Bits aside */
.profile-aside .ztech-line {
  display: inline-block;
  background: var(--green); color: #fff;
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 4px 12px; border-radius: 100px; margin-bottom: 18px;
}

/* "ZTech Line" badge on the manufacturer index card */
.mfr-badge {
  display: inline-block; vertical-align: middle;
  background: var(--green); color: #fff;
  font-size: 0.6rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 3px 8px; border-radius: 100px; margin-left: 8px;
}

.profile-aside {
  background: var(--off-white);
  border: 1px solid var(--gray);
  border-radius: 4px;
  padding: 28px 26px;
  position: sticky; top: calc(var(--nav-h) + 20px);
}
.profile-aside .aside-logo {
  background: #fff; border: 1px solid var(--gray); border-radius: 3px;
  height: 96px; display: flex; align-items: center; justify-content: center;
  padding: 14px; margin-bottom: 20px;
}
.profile-aside .aside-logo img { width: auto; height: auto; object-fit: contain; }
.profile-aside .aside-logo img.logo-square { max-height: 68px; max-width: 150px; }
.profile-aside .aside-logo img.logo-std    { max-height: 58px; max-width: 200px; }
.profile-aside .aside-logo img.logo-wide   { max-height: 46px; max-width: 240px; }
.profile-aside h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 8px;
}
.profile-aside .cat { color: var(--ink); font-size: 0.95rem; margin-bottom: 22px; }
.profile-aside .btn-primary, .profile-aside .btn-ghost { display: block; text-align: center; margin-bottom: 10px; }

/* ─── COVERAGE ─── */
.coverage-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }

.states-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }

.state-chip {
  background: rgba(2, 80, 38, 0.35);
  border: 1px solid rgba(140, 198, 63, 0.3);
  color: rgba(255,255,255,0.9);
  padding: 12px 14px; font-size: 0.85rem; font-weight: 500;
  border-radius: 3px; transition: background 0.2s;
}
.state-chip:hover { background: rgba(2, 80, 38, 0.6); }
.state-chip .rep {
  display: block; font-size: 0.7rem; color: var(--lime);
  letter-spacing: 0.06em; text-transform: uppercase; margin-top: 3px;
}

.contacts-block { display: flex; flex-direction: column; gap: 20px; }

.contact-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-left: 3px solid var(--lime);
  padding: 26px 30px; border-radius: 2px;
}
.contact-card h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.2rem; font-weight: 600; color: #fff;
  letter-spacing: 0.04em; margin-bottom: 6px;
}
.contact-card .contact-territory {
  font-size: 0.78rem; color: var(--lime);
  letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 14px;
}
.contact-card a {
  color: rgba(255,255,255,0.78); text-decoration: none;
  font-size: 0.92rem; display: block; margin-bottom: 4px;
  transition: color 0.2s;
}
.contact-card a:hover { color: var(--lime); }

/* Homepage "Why ZTech" — split heading / body on the dark ground */
.why-layout { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; align-items: start; }
.why-layout .section-heading { color: #fff; margin-bottom: 0; }
.why-layout .section-label { color: var(--lime); }
.why-body p { color: rgba(255,255,255,0.72); line-height: 1.8; margin-bottom: 18px; }
.dark .promise-list li { color: rgba(255,255,255,0.85); }

/* Homepage coverage on a light ground (side-by-side rep cards) */
.coverage-section { background: var(--off-white); }
.contacts-block-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.contact-card.light {
  background: #fff;
  border: 1px solid var(--gray);
  border-left: 3px solid var(--green);
}
.contact-card.light h3 { color: var(--ink); }
.contact-card.light .contact-territory { color: var(--green); }
.contact-card.light a { color: var(--muted); }
.contact-card.light a:hover { color: var(--green); }

/* Coverage: territory map + rep cards side by side */
.coverage-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.coverage-map img { width: 100%; height: auto; display: block; }
.coverage-reps { display: flex; flex-direction: column; gap: 18px; }

/* Color key square next to each rep name */
.rep-key {
  display: inline-block; width: 14px; height: 14px; border-radius: 3px;
  margin-right: 9px; vertical-align: -1px; flex-shrink: 0;
}
.rep-key.tom { background: #F9730C; }
.rep-key.jon { background: #8C1026; }
.contact-card.light h3 { display: flex; align-items: center; }

/* ─── EVENTS ─── */
.events-section { background: var(--white); }
.events-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.event-card {
  display: flex; flex-direction: column;
  border: 1px solid var(--gray); border-radius: 6px; overflow: hidden;
  text-decoration: none; background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s;
}
.event-card:hover { border-color: var(--green); box-shadow: 0 10px 28px rgba(0,0,0,0.09); transform: translateY(-2px); }
/* contain (not cover) so wide branded banners never crop their text; the dark
   ground blends with the banners' own dark backgrounds. */
.event-banner { aspect-ratio: 16 / 7; background: var(--ink); overflow: hidden; }
.event-banner img { width: 100%; height: 100%; object-fit: contain; display: block; }
.event-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.event-date {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.82rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--green); margin-bottom: 6px;
}
.event-card h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.25rem; font-weight: 600; color: var(--ink); line-height: 1.15; margin-bottom: 8px;
}
.event-venue { font-size: 0.88rem; color: var(--muted); line-height: 1.5; flex: 1; margin-bottom: 14px; }
.event-link { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--green); }
.event-card:hover .event-link { color: var(--green-mid); }

/* ─── ABOUT ─── */
.about-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-image { position: relative; }
.about-image img {
  width: 100%; height: 360px; object-fit: cover;
  border-radius: 4px; display: block;
}
.about-image::before {
  content: ''; position: absolute;
  top: -14px; left: -14px; right: 14px; bottom: 14px;
  border: 2px solid var(--green); border-radius: 4px; z-index: -1;
}
.about-badge {
  position: absolute; bottom: -18px; right: -18px;
  background: var(--green); color: #fff;
  padding: 18px 22px; text-align: center; border-radius: 4px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}
.about-badge .num {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 2.2rem; font-weight: 700; line-height: 1;
}
.about-badge .lbl {
  font-size: 0.72rem; letter-spacing: 0.08em;
  text-transform: uppercase; opacity: 0.9; margin-top: 2px;
}
.about-text h2 { margin-bottom: 20px; }
.about-text p { font-size: 0.97rem; color: var(--muted); line-height: 1.8; margin-bottom: 20px; }

.promise-list { list-style: none; margin-top: 28px; }
.promise-list li {
  display: flex; gap: 14px; font-size: 0.92rem; color: var(--text);
  margin-bottom: 14px; align-items: flex-start;
}
.promise-list li::before {
  content: ''; flex-shrink: 0;
  width: 20px; height: 20px;
  background: var(--green); border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='4 10 8.5 14.5 16 6'/%3E%3C/svg%3E");
  background-size: 14px; background-repeat: no-repeat; background-position: center;
  margin-top: 2px;
}

/* ─── LINE CARD DOWNLOAD ─── */
.linecard-strip { background: var(--off-white); }
.linecard-box {
  display: flex; align-items: center; gap: 32px;
  background: #fff; border: 1px solid var(--gray);
  border-left: 4px solid var(--lime);
  border-radius: 4px; padding: 32px 36px;
}
.linecard-box .lc-icon {
  flex-shrink: 0; width: 52px; height: 52px;
  background: var(--green); border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
}
.linecard-box .lc-icon svg { width: 26px; height: 26px; stroke: #fff; fill: none; stroke-width: 1.8; }
.linecard-box .lc-text { flex: 1; }
.linecard-box h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.3rem; font-weight: 600; color: var(--ink); margin-bottom: 4px;
}
.linecard-box p { font-size: 0.9rem; color: var(--muted); }

/* ─── CTA STRIP ─── */
.cta-strip { background: var(--green-dark); padding: 70px 40px; text-align: center; }
.cta-strip h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700; color: #fff; margin-bottom: 12px;
}
.cta-strip p { color: rgba(255,255,255,0.75); font-size: 1rem; margin-bottom: 30px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ─── FORM ─── */
.form-layout { display: grid; grid-template-columns: 1fr 340px; gap: 60px; align-items: start; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; }
.field.full { grid-column: 1 / -1; }

.field label {
  font-size: 0.82rem; font-weight: 600; color: var(--ink);
  letter-spacing: 0.04em; margin-bottom: 6px;
}
.field .req { color: #b3261e; margin-left: 2px; }
.field .hint { font-size: 0.78rem; color: var(--muted); font-weight: 400; margin-top: 5px; }

.field input, .field select, .field textarea {
  font-family: inherit; font-size: 0.95rem; color: var(--text);
  padding: 12px 14px;
  border: 1px solid var(--gray); border-radius: 3px;
  background: #fff; transition: border-color 0.2s;
  width: 100%;
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--muted); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--green); }
.field textarea { resize: vertical; min-height: 140px; }
.field select { cursor: pointer; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none' stroke='%235f6f66' stroke-width='1.6'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 12px;
  padding-right: 38px;
}

/* Honeypot — bots fill it, humans never see it */
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

.routing-note {
  background: var(--off-white);
  border-left: 3px solid var(--lime);
  padding: 14px 18px; border-radius: 2px;
  font-size: 0.85rem; color: var(--muted);
  margin-top: 6px;
}
.routing-note strong { color: var(--ink); }

.form-aside {
  background: var(--off-white); border: 1px solid var(--gray);
  border-radius: 4px; padding: 30px 28px;
}
.form-aside h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.2rem; font-weight: 600; color: var(--ink); margin-bottom: 14px;
}
.form-aside p { font-size: 0.88rem; color: var(--muted); line-height: 1.7; margin-bottom: 18px; }
.form-aside .rep-block { padding-top: 18px; border-top: 1px solid var(--gray); margin-top: 18px; }
.form-aside .rep-block h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1rem; color: var(--ink); margin-bottom: 2px;
}
.form-aside .rep-block .terr {
  font-size: 0.75rem; color: var(--green); font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 8px;
}
.form-aside .rep-block a { display: block; font-size: 0.86rem; color: var(--muted); text-decoration: none; }
.form-aside .rep-block a:hover { color: var(--green); }

.form-aside .help-list { list-style: none; margin-bottom: 4px; }
.form-aside .help-list li {
  font-size: 0.86rem; color: var(--muted); line-height: 1.55;
  padding-left: 16px; position: relative; margin-bottom: 10px;
}
.form-aside .help-list li::before {
  content: ''; position: absolute; left: 0; top: 8px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--green);
}
.form-aside .help-list strong { color: var(--ink); font-weight: 600; }

.form-aside .aside-closing { padding-top: 18px; border-top: 1px solid var(--gray); margin-top: 18px; }
.form-aside .aside-closing h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1rem; color: var(--ink); margin-bottom: 4px;
}
.form-aside .aside-closing p { margin-bottom: 0; }

.hint-inline { font-weight: 400; color: var(--muted); font-size: 0.78rem; }

.alert { padding: 14px 18px; border-radius: 3px; margin-bottom: 24px; font-size: 0.9rem; }
.alert-ok  { background: #e8f5ec; border-left: 3px solid var(--green); color: #14532d; }
.alert-err { background: #fdecea; border-left: 3px solid #b3261e; color: #7f1d1d; }
.alert ul { margin: 8px 0 0 18px; }

/* ─── FOOTER ─── */
footer {
  background: var(--ink);
  padding: 60px 40px 36px;
  border-top: 1px solid rgba(140,198,63,0.2);
}
.footer-inner {
  max-width: 1100px; margin: 0 auto 48px;
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 48px;
}
.footer-brand img { height: 52px; width: auto; margin-bottom: 16px; display: block; }
.footer-brand p { font-size: 0.85rem; color: rgba(255,255,255,0.5); line-height: 1.7; max-width: 280px; }

.footer-col h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.85rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--lime); margin-bottom: 18px;
}
.footer-col p, .footer-col a {
  font-size: 0.85rem; color: rgba(255,255,255,0.55);
  text-decoration: none; display: block;
  margin-bottom: 8px; line-height: 1.6; transition: color 0.2s;
}
.footer-col a:hover { color: var(--lime); }

.footer-bottom {
  max-width: 1100px; margin: 0 auto;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
/* 0.35 alpha measured 3.2:1 against --ink and failed WCAG AA; 0.55 clears it. */
.footer-bottom p { font-size: 0.78rem; color: rgba(255,255,255,0.55); }

/* ─── RESPONSIVE ─── */
@media (max-width: 980px) {
  .profile-layout { grid-template-columns: 1fr; gap: 40px; }
  .profile-aside { position: static; }
  .form-layout { grid-template-columns: 1fr; gap: 40px; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 36px; }
  .services-grid.four { grid-template-columns: repeat(2, 1fr); }
  .why-layout { grid-template-columns: 1fr; gap: 24px; }
  .coverage-grid { grid-template-columns: 1fr; gap: 32px; }
  .coverage-map { max-width: 520px; margin: 0 auto; }
  .events-grid { grid-template-columns: 1fr; gap: 20px; max-width: 520px; margin: 0 auto; }
  /* Featured product stacks: text over a centered image */
  .fp-slide { grid-template-columns: 1fr; gap: 0; min-height: 0; text-align: center; }
  .fp-text { padding: 44px 24px 8px; }
  .fp-desc { margin-left: auto; margin-right: auto; }
  .fp-media { min-height: 0; }
  .fp-media img { min-height: 0; height: 220px; max-height: 240px; border-radius: 10px; }
  .fp-dots { padding: 14px 0 26px; }
}

@media (max-width: 900px) {
  nav { padding: 0 24px; }
  .nav-logo img { height: 32px; }
  .nav-toggle { display: block; }
  .nav-links {
    /* Absolute against the fixed nav (not the viewport) so the panel rides
       along as the nav slides up past the announcement banner. */
    position: absolute; top: 100%; left: 0; right: 0;
    /* Opaque, not rgba: the parent nav's backdrop-filter makes a stacking
       context, and page content ghosts through anything translucent here. */
    background: var(--ink);
    flex-direction: column; align-items: stretch;
    gap: 0; padding: 8px 24px 24px;
    border-bottom: 1px solid rgba(140,198,63,0.25);
    transform: translateY(-8px);
    opacity: 0; pointer-events: none;
    transition: opacity 0.2s, transform 0.2s;
    max-height: calc(100vh - var(--nav-h)); overflow-y: auto;
  }
  .nav-links.open { opacity: 1; transform: none; pointer-events: auto; }
  .nav-links li { border-bottom: 1px solid rgba(255,255,255,0.07); }
  .nav-links li:last-child { border-bottom: 0; padding-top: 14px; }
  .nav-links a { display: block; padding: 15px 0; font-size: 0.95rem; }
  .nav-cta { text-align: center; padding: 13px 20px; }

  .hero-content { padding: 112px 32px 96px; }
  .services-grid, .services-grid.four { grid-template-columns: 1fr; }
  .coverage-layout { grid-template-columns: 1fr; gap: 40px; }
  .contacts-block-row { grid-template-columns: 1fr; }
  .about-layout { grid-template-columns: 1fr; gap: 60px; }
  .stat-bar-inner { flex-wrap: wrap; }
  .stat-item { min-width: 50%; border-right: none; border-bottom: 1px solid rgba(255,255,255,0.12); }
  .linecard-box { flex-direction: column; align-items: flex-start; gap: 20px; }
}

@media (max-width: 600px) {
  section { padding: 64px 24px; }
  .page-head { padding: calc(var(--nav-h) + 40px) 24px 44px; }
  .hero-content { padding: 100px 24px 84px; }
  .mfr-nav { gap: 10px; }
  .mfr-nav-link { padding: 10px 12px; }
  .mfr-nav-link .name { font-size: 1rem; }
  .states-grid { grid-template-columns: 1fr; }
  .spec-list { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .about-image::before { display: none; }
  .about-badge { position: relative; bottom: auto; right: auto; display: inline-block; margin-top: 16px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .cta-actions { flex-direction: column; }
  .cta-actions a { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
