/* ============================================================
   Angus Measurement Services - spec site
   Palette:  ink #111318 · steel #2C333D · slate #5B6672
             angus red #B4141E · red-dark #8E0F17
             paper #F5F6F8 · line #DDE1E6 · white #FFFFFF
   Type:     Archivo (display, condensed-industrial weights)
             Inter (body)
   Signature: gauge tick-mark rule + Angus-red precision accents
   ============================================================ */

:root {
  --ink: #111318;
  --steel: #2c333d;
  --slate: #5b6672;
  --red: #b4141e;
  --red-dark: #8e0f17;
  --paper: #f5f6f8;
  --line: #dde1e6;
  --white: #ffffff;
  --maxw: 1160px;
  --pad: clamp(1.1rem, 4vw, 2.5rem);
  --r: 6px;
  --shadow: 0 12px 34px rgba(17, 19, 24, 0.14);
  --shadow-sm: 0 4px 14px rgba(17, 19, 24, 0.1);
  --font-display: "Archivo", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 82px; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--red-dark); }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-inline: var(--pad); }

.sr-only, .skip-link {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link:focus {
  position: fixed; top: 10px; left: 10px; width: auto; height: auto;
  clip: auto; z-index: 200; background: var(--ink); color: #fff;
  padding: .6rem 1rem; border-radius: var(--r);
}

/* ---- Type scale ---- */
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.08; margin: 0 0 .5em; letter-spacing: -0.01em; }

.section-title {
  font-size: clamp(1.65rem, 4vw, 2.6rem);
  font-weight: 800;
  color: var(--ink);
}
.section-title.center { text-align: center; }
.section-lead {
  font-size: clamp(1.02rem, 2.2vw, 1.2rem);
  color: var(--slate);
  max-width: 58ch;
  margin: 0 0 2rem;
}
.center .section-lead, .section-title.center + .section-lead { margin-inline: auto; }
.micro { font-size: .82rem; color: var(--slate); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--font-display);
  font-weight: 700; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--red); margin: 0 0 1rem;
}
.tick {
  width: 34px; height: 12px; display: inline-block;
  background-image: repeating-linear-gradient(90deg, var(--red) 0 2px, transparent 2px 7px);
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .5rem; font-family: var(--font-display); font-weight: 700;
  text-decoration: none; border-radius: var(--r); border: 2px solid transparent;
  padding: .7rem 1.15rem; line-height: 1.05; cursor: pointer;
  transition: transform .12s ease, background .18s ease, color .18s ease, border-color .18s ease;
}
.btn:active { transform: translateY(1px); }
.btn-lg { padding: .95rem 1.5rem; font-size: 1.05rem; }
.btn-block { width: 100%; }

.btn-call {
  background: var(--red); color: #fff; flex-direction: column; gap: .05rem; text-align: center;
}
.btn-call:hover { background: var(--red-dark); }
.btn-call .call-label { font-size: .68rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; opacity: .9; }
.btn-call .call-number { font-size: 1.12rem; letter-spacing: .01em; }
.btn-lg.btn-call .call-number { font-size: 1.35rem; }

.btn-ghost {
  background: transparent; color: #fff; border-color: rgba(255,255,255,.55);
}
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.1); }

/* ============================================================
   Header
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; gap: 1.2rem;
  min-height: 68px; padding-block: .5rem;
}
.brand { display: flex; align-items: center; margin-right: auto; }
.brand img { width: clamp(180px, 34vw, 280px); height: auto; }

.main-nav { display: flex; align-items: center; }
.nav-menu {
  list-style: none; display: flex; gap: 1.35rem; margin: 0; padding: 0;
}
.nav-menu a {
  font-family: var(--font-display); font-weight: 600; font-size: .92rem;
  color: var(--steel); text-decoration: none; padding: .35rem 0;
  border-bottom: 2px solid transparent;
}
.nav-menu a:hover { color: var(--red); border-bottom-color: var(--red); }

.header-call { padding: .5rem .9rem; }
.header-call .call-number { font-size: 1rem; }

.nav-toggle {
  display: none; width: 44px; height: 40px; background: none; border: 0;
  cursor: pointer; position: relative;
}
.nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after {
  content: ""; position: absolute; left: 9px; width: 26px; height: 2.5px;
  background: var(--ink); transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle-bar { top: 19px; }
.nav-toggle-bar::before { top: -8px; }
.nav-toggle-bar::after { top: 8px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after { transform: translateY(-8px) rotate(-45deg); }

/* ============================================================
   Hero
   ============================================================ */
.hero { position: relative; color: #fff; overflow: hidden; background: var(--ink); }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; opacity: .5; }
.hero-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(10,11,14,.94) 0%, rgba(10,11,14,.78) 45%, rgba(10,11,14,.35) 100%),
    linear-gradient(180deg, rgba(10,11,14,.4), rgba(10,11,14,.6));
}
.hero-inner { position: relative; padding-block: clamp(3.5rem, 10vw, 7rem); max-width: 760px; }
.hero .eyebrow { color: #ff5560; }
.hero .tick { background-image: repeating-linear-gradient(90deg, #ff5560 0 2px, transparent 2px 7px); }
.hero h1 {
  font-size: clamp(2.15rem, 6.2vw, 4rem);
  font-weight: 900; letter-spacing: -0.02em; margin-bottom: .5em;
  text-wrap: balance;
}
.hero-sub {
  font-size: clamp(1.05rem, 2.4vw, 1.35rem);
  color: #d4d8de; max-width: 60ch; margin: 0 0 2rem;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: .9rem; align-items: stretch; }
.hero-tag {
  margin-top: 2.2rem; font-family: var(--font-display); font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase; font-size: .8rem; color: #9aa2ac;
}

/* ============================================================
   Stats strip
   ============================================================ */
.stats { background: var(--ink); border-top: 3px solid var(--red); }
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: rgba(255,255,255,.08);
}
.stat { background: var(--ink); padding: 1.6rem var(--pad); text-align: center; }
.stat-num {
  display: block; font-family: var(--font-display); font-weight: 800;
  font-size: clamp(1.6rem, 4vw, 2.3rem); color: #fff; line-height: 1;
}
.stat-unit { font-size: .5em; font-weight: 600; color: #9aa2ac; letter-spacing: .02em; }
.stat-label { display: block; margin-top: .5rem; font-size: .82rem; color: #9aa2ac; letter-spacing: .02em; }

/* ============================================================
   Sections
   ============================================================ */
.section { padding-block: clamp(3.2rem, 8vw, 6rem); }
.pillars { padding-block: clamp(3.2rem, 8vw, 5.5rem); background: var(--paper); }

.grid-2 { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.grid-2.reverse .section-figure { order: -1; }

.feature-list { list-style: none; margin: 1.4rem 0; padding: 0; display: grid; gap: .55rem; }
.feature-list.two-col { grid-template-columns: 1fr 1fr; column-gap: 1.4rem; }
.feature-list li {
  position: relative; padding-left: 1.7rem; color: var(--steel); font-weight: 500;
}
.feature-list li::before {
  content: ""; position: absolute; left: 0; top: .55em;
  width: 11px; height: 11px; background: var(--red);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}

.section-figure figure { margin: 0; }
.section-figure img { border-radius: var(--r); box-shadow: var(--shadow); width: 100%; }
figcaption {
  margin-top: .6rem; font-size: .8rem; color: var(--slate);
  font-family: var(--font-display); font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
}

/* Pillars */
.pillar-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; margin-top: 2rem; }
.pillar {
  display: flex; flex-direction: column; gap: .5rem; text-decoration: none;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  padding: 1.4rem 1.3rem 1.5rem; color: var(--ink);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
  border-top: 3px solid var(--red);
}
.pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.pillar-kicker { font-family: var(--font-display); font-weight: 800; color: var(--line); font-size: 1.4rem; }
.pillar h3 { font-size: 1.2rem; margin: 0; }
.pillar p { color: var(--slate); font-size: .92rem; margin: 0; flex-grow: 1; }
.pillar-go {
  font-family: var(--font-display); font-weight: 700; font-size: .85rem; color: var(--red);
  margin-top: .4rem;
}
.pillar-go::after { content: " →"; }

/* Field service */
.field { background: var(--steel); color: #eef0f3; }
.field .section-title { color: #fff; }
.field .section-lead { color: #c3c9d1; }
.field .eyebrow { color: #ff5560; }
.field .tick { background-image: repeating-linear-gradient(90deg, #ff5560 0 2px, transparent 2px 7px); }
.chip-grid { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 2.2rem; }
.chip {
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16);
  color: #eef0f3; padding: .5rem .9rem; border-radius: 999px; font-size: .88rem; font-weight: 500;
}
.safety-note {
  background: rgba(180,20,30,.14); border: 1px solid rgba(255,85,96,.4);
  border-left: 4px solid var(--red); border-radius: var(--r); padding: 1.3rem 1.5rem;
}
.safety-note h3 { color: #fff; font-size: 1.15rem; }
.safety-note p { margin: 0; color: #d6dae0; }

/* Proving */
.proving { background: var(--paper); }
.quote-card {
  background: var(--ink); color: #fff; border-radius: var(--r);
  padding: 2.4rem 2rem; box-shadow: var(--shadow); border-left: 5px solid var(--red);
}
.quote { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.3rem, 3vw, 1.7rem); line-height: 1.25; margin: 0 0 1rem; }
.quote-attr { font-size: .82rem; color: #9aa2ac; letter-spacing: .05em; text-transform: uppercase; margin: 0; }

/* Products */
.products-layout { display: grid; grid-template-columns: 300px 1fr; gap: clamp(1.5rem, 4vw, 3rem); margin-top: 2rem; align-items: start; }
.product-feature img { border-radius: var(--r); box-shadow: var(--shadow-sm); border: 1px solid var(--line); background: #fff; }
.product-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.product-block h3 { font-size: 1.15rem; padding-bottom: .5rem; border-bottom: 2px solid var(--red); display: inline-block; }
.brand-list { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; gap: .9rem; }
.brand-list li { color: var(--slate); font-size: .92rem; line-height: 1.45; }
.brand-list strong { color: var(--ink); }
.confirm-flag {
  font-family: var(--font-body); font-size: .58rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--red-dark); background: #fbe3e4;
  border: 1px dashed var(--red); border-radius: 3px; padding: .1rem .35rem; vertical-align: middle;
}

/* Why */
.why { background: #fff; }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; margin: 2.2rem 0 2.6rem; }
.why-item {
  padding: 1.6rem 1.5rem; background: var(--paper); border-radius: var(--r);
  border-top: 3px solid var(--red);
}
.why-item h3 { font-size: 1.2rem; }
.why-item p { color: var(--slate); margin: 0; }
.mission {
  margin: 0 auto; max-width: 74ch; text-align: center; border: 0; padding: 2rem 0 0;
  font-family: var(--font-display); font-weight: 500; font-size: clamp(1.1rem, 2.4vw, 1.45rem);
  color: var(--steel); line-height: 1.4; position: relative;
}
.mission::before {
  content: ""; display: block; width: 54px; height: 12px; margin: 0 auto 1.4rem;
  background-image: repeating-linear-gradient(90deg, var(--red) 0 2px, transparent 2px 7px);
}

/* Locations */
.locations { background: var(--paper); }
.loc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; margin-top: 2rem; }
.loc-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow-sm); }
.loc-card img { width: 100%; height: 220px; object-fit: cover; }
.loc-map-slot {
  height: 220px; display: flex; align-items: center; justify-content: center; text-align: center;
  background: repeating-linear-gradient(45deg, #e9ecf0 0 12px, #eef1f4 12px 24px);
  color: var(--slate); font-family: var(--font-display); font-weight: 600; font-size: .95rem;
  border-bottom: 1px solid var(--line);
}
.loc-body { padding: 1.4rem 1.5rem 1.6rem; }
.loc-body h3 { font-size: 1.25rem; }
.loc-addr { margin: 0 0 .4rem; color: var(--steel); }
.loc-lines { margin: .8rem 0 0; }
.loc-lines a { font-family: var(--font-display); font-weight: 700; color: var(--red-dark); text-decoration: none; font-size: 1.05rem; }
.loc-lines a:hover { text-decoration: underline; }
.serves { text-align: center; margin-top: 2rem; color: var(--slate); font-weight: 500; }

/* Contact */
.contact { background: var(--ink); color: #eef0f3; }
.contact .section-title { color: #fff; }
.contact .section-lead { color: #c3c9d1; }
.contact-lines { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: 1.1rem; }
.contact-lines li {
  display: flex; flex-direction: column; gap: .1rem;
  padding-bottom: 1.1rem; border-bottom: 1px solid rgba(255,255,255,.12);
}
.cl-label { font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; color: #9aa2ac; }
.cl-num { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; color: #fff; text-decoration: none; }
.cl-num.sm { font-size: 1.1rem; font-weight: 700; }
.cl-num:hover { color: #ff5560; }

.contact-form-wrap { }
.inquiry-form {
  background: #fff; color: var(--ink); border-radius: var(--r);
  padding: clamp(1.4rem, 4vw, 2.2rem); box-shadow: var(--shadow); border-top: 4px solid var(--red);
}
.form-intro { margin: 0 0 1.2rem; color: var(--slate); font-size: .95rem; }
.inquiry-form label {
  display: block; font-family: var(--font-display); font-weight: 600; font-size: .85rem;
  color: var(--steel); margin-bottom: 1rem;
}
.inquiry-form input, .inquiry-form textarea {
  width: 100%; margin-top: .35rem; padding: .7rem .8rem; font: inherit;
  border: 1px solid var(--line); border-radius: var(--r); background: var(--paper); color: var(--ink);
}
.inquiry-form input:focus, .inquiry-form textarea:focus {
  outline: 2px solid var(--red); outline-offset: 1px; background: #fff;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-row label { margin-bottom: 1rem; }
.form-fallback { margin: 1rem 0 0; font-size: .85rem; color: var(--slate); text-align: center; }

/* ============================================================
   Footer
   ============================================================ */
.site-footer { background: #0b0c0f; color: #aeb4bd; }
.footer-inner { display: grid; grid-template-columns: 1.3fr 2fr; gap: 2.5rem; padding-block: 3rem; }
.footer-brand img { width: 240px; height: auto; background: #fff; padding: .7rem .9rem; border-radius: 8px; margin-bottom: .9rem; }
.footer-tag { font-size: .85rem; color: #7d838c; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.footer-cols h4 { color: #fff; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: .6rem; }
.footer-cols p { font-size: .9rem; line-height: 1.6; margin: 0; }
.footer-cols a { color: #ff5560; text-decoration: none; font-weight: 600; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-block: 1.2rem; }
.footer-bottom p { font-size: .8rem; color: #6b717a; margin: 0; }

/* ============================================================
   Sticky mobile call bar
   ============================================================ */
.sticky-call {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
  display: none; align-items: center; justify-content: center; gap: .5rem;
  background: var(--red); color: #fff; text-decoration: none;
  font-family: var(--font-display); font-weight: 800; font-size: 1.1rem;
  padding: .95rem; box-shadow: 0 -4px 18px rgba(0,0,0,.28);
}
.sticky-call-icon {
  width: 18px; height: 18px; background: #fff;
  -webkit-mask: no-repeat center/contain; mask: no-repeat center/contain;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8a15.5 15.5 0 006.6 6.6l2.2-2.2a1 1 0 011-.24 11.4 11.4 0 003.6.58 1 1 0 011 1V20a1 1 0 01-1 1A17 17 0 013 4a1 1 0 011-1h3.5a1 1 0 011 1 11.4 11.4 0 00.58 3.6 1 1 0 01-.24 1z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8a15.5 15.5 0 006.6 6.6l2.2-2.2a1 1 0 011-.24 11.4 11.4 0 003.6.58 1 1 0 011 1V20a1 1 0 01-1 1A17 17 0 013 4a1 1 0 011-1h3.5a1 1 0 011 1 11.4 11.4 0 00.58 3.6 1 1 0 01-.24 1z'/%3E%3C/svg%3E");
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 900px) {
  .grid-2, .footer-inner { grid-template-columns: 1fr; }
  .grid-2.reverse .section-figure { order: 0; }
  .pillar-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .products-layout { grid-template-columns: 1fr; }
  .product-feature { max-width: 260px; }
  .why-grid { grid-template-columns: 1fr; }
  .loc-grid { grid-template-columns: 1fr; }

  .nav-toggle { display: block; }
  .main-nav { position: relative; }
  .nav-menu {
    position: absolute; top: calc(100% + 12px); right: 0; flex-direction: column;
    background: #fff; border: 1px solid var(--line); border-radius: var(--r);
    box-shadow: var(--shadow); padding: .6rem; gap: 0; min-width: 200px;
    display: none;
  }
  .nav-menu.open { display: flex; }
  .nav-menu li { width: 100%; }
  .nav-menu a { display: block; padding: .7rem .8rem; border-bottom: 1px solid var(--line); }
  .nav-menu li:last-child a { border-bottom: 0; }
}

@media (max-width: 640px) {
  .header-call { display: none; }
  .sticky-call { display: flex; }
  body { padding-bottom: 60px; }
  .feature-list.two-col { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr; }
  .hero-cta .btn { width: 100%; }
}

@media (max-width: 420px) {
  .pillar-grid, .stats-grid, .product-cols { grid-template-columns: 1fr; }
}

/* ============================================================
   Multi-page components (sub-pages)
   ============================================================ */

/* Active nav state */
.nav-menu a[aria-current="page"] { color: var(--red); border-bottom-color: var(--red); }

/* Sub-page banner */
.subhero { position: relative; background: var(--ink); color: #fff; overflow: hidden; }
.subhero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--red);
}
.subhero-inner { padding-block: clamp(2.4rem, 6vw, 4rem); }
.subhero h1 {
  font-size: clamp(1.9rem, 5vw, 3rem); font-weight: 900; letter-spacing: -0.02em; margin: 0 0 .4rem;
  max-width: 22ch;
}
.subhero p { color: #c3c9d1; max-width: 62ch; font-size: clamp(1rem, 2.2vw, 1.18rem); margin: 0; }
.subhero .eyebrow { color: #ff5560; }
.subhero .tick { background-image: repeating-linear-gradient(90deg, #ff5560 0 2px, transparent 2px 7px); }

/* Breadcrumb */
.breadcrumb { background: var(--paper); border-bottom: 1px solid var(--line); }
.breadcrumb ol {
  list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; padding: .8rem 0;
  font-size: .85rem; color: var(--slate);
}
.breadcrumb a { color: var(--slate); text-decoration: none; }
.breadcrumb a:hover { color: var(--red); }
.breadcrumb li + li::before { content: "/"; margin-right: .5rem; color: var(--line); }
.breadcrumb [aria-current="page"] { color: var(--ink); font-weight: 600; }

/* In-page section sub-nav (sticky) */
.subnav { position: sticky; top: 67px; z-index: 40; background: #fff; border-bottom: 1px solid var(--line); }
.subnav ul {
  list-style: none; display: flex; flex-wrap: wrap; gap: .3rem; margin: 0; padding: .5rem 0; overflow-x: auto;
}
.subnav a {
  display: inline-block; white-space: nowrap; font-family: var(--font-display); font-weight: 600;
  font-size: .85rem; color: var(--steel); text-decoration: none; padding: .4rem .8rem; border-radius: 999px;
}
.subnav a:hover { background: var(--paper); color: var(--red); }

/* Product / partner sections */
.prod-section { padding-block: clamp(2.6rem, 6vw, 4.5rem); border-bottom: 1px solid var(--line); scroll-margin-top: 120px; }
.prod-section:nth-of-type(even) { background: var(--paper); }
.prod-head { display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; margin-bottom: .4rem; }
.prod-head img.brand-logo { height: 46px; width: auto; background: #fff; padding: .4rem .6rem; border-radius: 6px; border: 1px solid var(--line); }
.prod-section > .wrap > p.lead { color: var(--slate); max-width: 65ch; font-size: 1.05rem; margin: .3rem 0 1.6rem; }

/* Product card grid */
.prod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; margin-top: 1.6rem; }
.prod-card {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
  border-radius: var(--r); overflow: hidden; border-top: 3px solid var(--red);
}
.prod-card .prod-img { aspect-ratio: 4 / 3; background: #f0f2f5; overflow: hidden; }
.prod-card .prod-img img { width: 100%; height: 100%; object-fit: cover; }
.prod-card .prod-body { padding: 1.1rem 1.2rem 1.3rem; display: flex; flex-direction: column; flex-grow: 1; }
.prod-card h3 { font-size: 1.12rem; margin: 0 0 .4rem; }
.prod-card p { color: var(--slate); font-size: .92rem; margin: 0 0 .8rem; flex-grow: 1; }

/* Partner row (logo + copy + links/downloads) */
.partner { display: grid; grid-template-columns: 300px 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.partner.reverse .partner-media { order: 2; }
.partner-media img { width: 100%; border-radius: var(--r); border: 1px solid var(--line); background: #fff; }
.partner-media .brand-logo-lg { max-width: 220px; margin-bottom: 1rem; border: 0; }
.partner-links { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.2rem; }

/* External link button */
.btn-ext {
  background: var(--ink); color: #fff; padding: .6rem 1rem; font-size: .9rem; border-radius: var(--r);
}
.btn-ext:hover { background: var(--red-dark); }
.btn-ext::after { content: " \2197"; }
.btn-line { background: transparent; color: var(--red-dark); border: 2px solid var(--red); padding: .55rem 1rem; font-size: .9rem; }
.btn-line:hover { background: var(--red); color: #fff; }

/* Download lists */
.dl-wrap { margin-top: 1.4rem; }
.dl-group + .dl-group { margin-top: 1.8rem; }
.dl-group h3 { font-size: 1.1rem; padding-bottom: .4rem; border-bottom: 2px solid var(--red); display: inline-block; margin-bottom: 1rem; }
.dl-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: .55rem 1.4rem; }
.dl-list.one-col { grid-template-columns: 1fr; }
.dl-list a {
  display: flex; align-items: center; gap: .6rem; padding: .55rem .2rem; text-decoration: none;
  color: var(--ink); font-weight: 500; border-bottom: 1px solid var(--line);
}
.dl-list a:hover { color: var(--red-dark); }
.dl-list a::before {
  content: ""; flex: 0 0 auto; width: 20px; height: 20px; background: var(--red);
  -webkit-mask: no-repeat center/contain; mask: no-repeat center/contain;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 3v10.6l3.3-3.3 1.4 1.4L12 17.4 6.3 11.7l1.4-1.4L11 13.6V3zM5 19h14v2H5z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 3v10.6l3.3-3.3 1.4 1.4L12 17.4 6.3 11.7l1.4-1.4L11 13.6V3zM5 19h14v2H5z'/%3E%3C/svg%3E");
}
.dl-list a.ext::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M14 3h7v7h-2V6.4l-9.3 9.3-1.4-1.4L17.6 5H14zM5 5h5v2H7v10h10v-3h2v5H5z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M14 3h7v7h-2V6.4l-9.3 9.3-1.4-1.4L17.6 5H14zM5 5h5v2H7v10h10v-3h2v5H5z'/%3E%3C/svg%3E");
}
.dl-note { font-size: .82rem; color: var(--slate); margin-top: 1.2rem; }

/* Systems detail rows reuse .grid-2; add spec chips */
.spec-row { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1.2rem 0; }
.spec { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: .45rem .95rem; font-size: .88rem; font-weight: 600; color: var(--steel); }
.spec strong { color: var(--red-dark); }

/* Contact band (home) */
.cta-band { background: var(--red); color: #fff; text-align: center; padding-block: clamp(2.6rem, 6vw, 4rem); }
.cta-band h2 { color: #fff; font-size: clamp(1.6rem, 4vw, 2.4rem); margin-bottom: .5rem; }
.cta-band p { color: #ffe1e3; max-width: 55ch; margin: 0 auto 1.6rem; }
.cta-band .btn-call { background: #fff; color: var(--red-dark); }
.cta-band .btn-call:hover { background: var(--ink); color: #fff; }

@media (max-width: 900px) {
  .prod-grid { grid-template-columns: 1fr 1fr; }
  .partner { grid-template-columns: 1fr; }
  .partner.reverse .partner-media { order: 0; }
  .partner-media { max-width: 320px; }
  .dl-list { grid-template-columns: 1fr; }
  .subnav { top: 59px; }
}
@media (max-width: 560px) {
  .prod-grid { grid-template-columns: 1fr; }
}

/* ---- Motion & focus ---- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--red); outline-offset: 2px; border-radius: 3px;
}
