/* ================================================================
   J&M Connections — concept rebuild stylesheet
   jnmc.css v1.0 — plain CSS, no build step, no framework.
   Design system per docs/jnmconnections-redesign-design.md (Delia, JNM Product Lead)
   ================================================================ */

/* ================================================================
   TOKENS
   ================================================================ */
:root {
  /* Color */
  --navy:        #14233B;
  --navy-deep:   #0D1826;
  --graphite:    #2E3A46;
  --cyan:        #1791A8;
  --cyan-deep:   #116679;
  --orange:      #E2661D;
  --orange-deep: #B84E12;
  --cloud:       #F5F7F9;
  --white:       #FFFFFF;
  --steel-mist:  #D7DEE5;
  --slate-mist:  #6B7684;
  --success:     #1F7A4D;
  --error:       #B3261E;

  /* JNM chrome colors (distinct layer, never used in J&M content) */
  --jnm-amber:   #F5A623;
  --jnm-navy:    #1B2A4A;

  --font-heading: 'IBM Plex Sans', 'Helvetica Neue', Arial, sans-serif;
  --font-body:    'Inter', system-ui, -apple-system, sans-serif;

  --space-xs:  0.5rem;
  --space-sm:  1rem;
  --space-md:  1.5rem;
  --space-lg:  2rem;
  --space-xl:  3rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;

  --container-max: 1200px;
  --container-pad: 1.25rem;

  --transition: 200ms ease;
}

@media (min-width: 1024px) {
  :root { --container-pad: 2rem; }
}

/* ================================================================
   RESET & BASE
   ================================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--graphite);
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
ul { list-style: none; }
a { color: inherit; text-decoration: none; }

a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible, summary:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 3px;
}

/* Skip link */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--navy);
  color: var(--white);
  padding: 0.75rem 1.25rem;
  z-index: 1000;
  border-radius: 0 0 var(--radius-sm) 0;
  font-weight: 600;
}
.skip-link:focus {
  left: 0;
}

/* ================================================================
   TYPOGRAPHY
   ================================================================ */
h1, h2, h3, h4 { font-family: var(--font-heading); line-height: 1.2; color: var(--navy); }
h1 { font-size: clamp(1.875rem, 4vw, 2.75rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 3vw, 2.125rem); font-weight: 700; }
h3 { font-size: 1.375rem; font-weight: 600; }
h4 { font-size: 1.0625rem; font-weight: 600; }
.display { font-size: clamp(2.25rem, 5vw, 3.5rem); font-weight: 700; line-height: 1.15; }

p { margin-bottom: 0; }
.lead { font-size: 1.125rem; line-height: 1.65; }
.small { font-size: 0.875rem; }
.label-ui { font-family: var(--font-body); font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.02em; }

.text-cyan   { color: var(--cyan); }
.text-white  { color: var(--white); }
.text-mist   { color: var(--slate-mist); }
.text-navy   { color: var(--navy); }
.text-center { text-align: center; }

/* ================================================================
   LAYOUT
   ================================================================ */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.section { padding-block: var(--space-3xl); }
.section-cloud { background-color: var(--cloud); }
.section-white { background-color: var(--white); }
.section-navy  { background: var(--navy); }

.section-eyebrow {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: var(--space-sm);
}

.section-header { margin-bottom: var(--space-2xl); max-width: 760px; }
.section-header h2 { margin-bottom: var(--space-md); }
.section-intro { font-size: 1.125rem; color: var(--slate-mist); }
.text-center .section-header { margin-inline: auto; }

/* ================================================================
   BUTTONS
   ================================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 0.8125rem 1.625rem;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background var(--transition), color var(--transition),
              border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: 0.65; cursor: not-allowed; transform: none; }

.btn-primary {
  background-color: var(--orange);
  color: var(--navy);
  border-color: var(--orange);
}
.btn-primary:hover { background-color: var(--orange-deep); border-color: var(--orange-deep); color: var(--white); }

.btn-outline-white {
  background-color: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.55);
}
.btn-outline-white:hover { background-color: rgba(255,255,255,0.12); border-color: var(--white); }

.btn-outline-navy {
  background-color: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline-navy:hover { background-color: var(--navy); color: var(--white); }

.btn-secondary {
  background: var(--white);
  color: var(--cyan);
  border-color: var(--steel-mist);
}
.btn-secondary:hover { border-color: var(--cyan); }

.btn-lg { font-size: 1rem; padding: 0.9375rem 2rem; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--space-sm); }

.link-arrow { color: var(--cyan); font-weight: 600; display: inline-flex; align-items: center; gap: 0.375rem; }
.link-arrow .arrow { transition: transform var(--transition); display: inline-block; }
.link-arrow:hover .arrow { transform: translateX(2px); }

/* ================================================================
   JNM PREVIEW CHROME — notice bar
   ================================================================ */
.jnmc-notice-bar {
  background: var(--jnm-amber);
  color: var(--jnm-navy);
  padding: 0.625rem var(--container-pad);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.5;
  text-align: center;
}
.jnmc-notice-bar .notice-mobile { display: none; }
.jnmc-notice-cta {
  color: var(--jnm-navy);
  text-decoration: underline;
  font-weight: 700;
  margin-left: 0.375rem;
}
@media (max-width: 559px) {
  .jnmc-notice-bar .notice-desktop { display: none; }
  .jnmc-notice-bar .notice-mobile { display: inline; }
  .jnmc-notice-cta { display: block; margin: 0.375rem 0 0; }
}

/* ================================================================
   HEADER / NAV
   ================================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--steel-mist);
}
.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: var(--space-md);
}
@media (min-width: 1024px) {
  .site-header-inner { height: 72px; }
}
.site-header.is-condensed { box-shadow: 0 2px 12px rgba(20,35,59,0.08); }
.site-header.is-condensed .site-header-inner { height: 56px; }

.logo {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--navy);
  white-space: nowrap;
}
/* John's logo in the header (Mark, 2026-09-25). Height follows the header: 72px desktop bar,
   56px once condensed on scroll, shorter on phones. */
.logo-image img { display: block; height: 88px; width: auto; }
@media (min-width: 1024px) { .site-header:not(.is-condensed) .site-header-inner { height: 100px; } }
.site-header.is-condensed .logo-image img { height: 50px; }
@media (max-width: 1023px) { .logo-image img { height: 56px; } }
.logo-dot {
  display: inline-block;
  width: 0.4em;
  height: 0.4em;
  border-radius: 50%;
  background: var(--cyan);
  margin: 0 0.35em;
}

.primary-nav { display: none; }
@media (min-width: 1024px) {
  .primary-nav {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    flex: 1;
    justify-content: center;
  }
}

.nav-link {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--graphite);
  padding: 0.5rem 0.125rem;
  border-bottom: 2px solid transparent;
}
.nav-link:hover, .nav-link[aria-current="page"] { color: var(--cyan); }

.nav-item-dropdown { position: relative; }
.nav-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  background: none;
  border: none;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--graphite);
  cursor: pointer;
  padding: 0.5rem 0.125rem;
}
.nav-dropdown-trigger:hover { color: var(--cyan); }
.nav-dropdown-trigger .chevron { transition: transform var(--transition); }
.nav-dropdown-trigger[aria-expanded="true"] .chevron { transform: rotate(180deg); }

.nav-dropdown-panel {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  border: 1px solid var(--steel-mist);
  border-radius: var(--radius-md);
  box-shadow: 0 8px 24px rgba(20,35,59,0.12);
  min-width: 240px;
  padding: 0.5rem;
  margin-top: 0.5rem;
}
.nav-dropdown-panel.is-open {
  display: block;
  animation: fadeInUp 150ms ease;
}
.nav-dropdown-panel a {
  display: block;
  padding: 0.625rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--graphite);
}
.nav-dropdown-panel a:hover { background: var(--cloud); color: var(--cyan); }

.header-cta { display: none; }
@media (min-width: 1024px) { .header-cta { display: inline-flex; } }

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: none;
  border: 1px solid var(--steel-mist);
  border-radius: var(--radius-sm);
  cursor: pointer;
}
@media (min-width: 1024px) { .nav-toggle { display: none; } }

.mobile-nav-panel {
  display: none;
  position: fixed;
  inset: 0;
  top: 64px;
  background: var(--cloud);
  z-index: 99;
  overflow-y: auto;
  padding: var(--space-md);
}
.mobile-nav-panel.is-open { display: block; }
@media (min-width: 1024px) { .mobile-nav-panel { display: none !important; } }

.mobile-nav-list { display: flex; flex-direction: column; }
.mobile-nav-list > li { border-bottom: 1px solid var(--steel-mist); }
.mobile-nav-list .nav-link,
.mobile-nav-list .nav-dropdown-trigger {
  display: flex;
  width: 100%;
  justify-content: space-between;
  padding: 0.875rem 0.25rem;
  font-size: 1.0625rem;
}
.mobile-nav-list .nav-dropdown-panel {
  position: static;
  box-shadow: none;
  border: none;
  margin: 0 0 0.5rem;
  padding-left: 0.75rem;
}
.mobile-nav-cta { margin-top: var(--space-md); }

/* ================================================================
   HERO
   ================================================================ */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  position: relative;
  overflow: hidden;
  padding-block: var(--space-2xl);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  align-items: center;
  position: relative;
  z-index: 1;
}
@media (min-width: 1024px) {
  .hero { padding-block: var(--space-3xl); }
  .hero-inner { grid-template-columns: 1.1fr 0.9fr; }
}
.hero-eyebrow {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: var(--space-sm);
}
.hero-headline {
  font-family: var(--font-heading);
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--cloud);
  line-height: 1.15;
  margin-bottom: var(--space-md);
}
.hero-sub {
  font-size: 1.125rem;
  color: rgba(245,247,249,0.85);
  max-width: 540px;
  margin-bottom: var(--space-lg);
  line-height: 1.65;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--space-sm); }
.hero-photo {
  display: none;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/3;
}
.hero-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--navy);
  opacity: 0.55;
  mix-blend-mode: multiply;
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo--vivid::after { display: none; }
@media (min-width: 1024px) { .hero-photo { display: block; } }

/* Page header (non-home pages) */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  padding-block: var(--space-2xl);
}
.page-hero h1 { color: var(--cloud); margin-bottom: var(--space-sm); }
.page-hero .lead { color: rgba(245,247,249,0.85); max-width: 640px; }

/* ================================================================
   TRUST STRIP
   ================================================================ */
.trust-strip {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  padding-block: var(--space-lg);
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.trust-strip::-webkit-scrollbar { display: none; }
@media (min-width: 768px) {
  .trust-strip { flex-wrap: wrap; overflow: visible; justify-content: center; }
}
.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
  background: var(--white);
  border: 1px solid var(--steel-mist);
  border-radius: 999px;
  padding: 0.5rem 1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--navy);
  flex-shrink: 0;
}
.trust-pill svg { width: 16px; height: 16px; color: var(--navy); flex-shrink: 0; }

/* ================================================================
   SERVICE CARD
   ================================================================ */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}
@media (min-width: 560px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(4, 1fr); } }
.services-grid.services-grid-2 { grid-template-columns: 1fr; }
@media (min-width: 768px) { .services-grid.services-grid-2 { grid-template-columns: repeat(2, 1fr); } }

.service-card {
  background: var(--white);
  border: 1px solid var(--steel-mist);
  border-top: 4px solid var(--cyan);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  transition: transform var(--transition), box-shadow var(--transition);
}
.service-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(20,35,59,0.10); }
.service-icon { width: 40px; height: 40px; color: var(--cyan); margin-bottom: var(--space-sm); }
.service-card h3 { margin-bottom: 0.5rem; }
.service-card p { color: var(--slate-mist); margin-bottom: var(--space-sm); }
.service-card ul.bullets { margin: var(--space-sm) 0; }
.service-card ul.bullets li {
  font-size: 0.9375rem;
  color: var(--graphite);
  padding-left: 1.1em;
  position: relative;
  margin-bottom: 0.375rem;
}
.service-card ul.bullets li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
}

.chip-row { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-block: var(--space-sm); }
.chip {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--navy);
  background: var(--cloud);
  border: 1px solid var(--steel-mist);
  border-radius: 999px;
  padding: 0.375rem 0.875rem;
}

.capability-band {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  margin-top: var(--space-xl);
}
@media (min-width: 768px) { .capability-band { grid-template-columns: 1fr 1fr; } }
.capability-card {
  background: var(--cloud);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
}

/* ================================================================
   CASE-STUDY CARD + DETAIL
   ================================================================ */
.filter-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: var(--space-xl); }
.filter-chip {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--navy);
  background: var(--white);
  border: 1.5px solid var(--steel-mist);
  border-radius: 999px;
  padding: 0.5rem 1.125rem;
  cursor: pointer;
}
.filter-chip:hover { background: var(--cloud); }
.filter-chip.is-active { background: var(--navy); border-color: var(--navy); color: var(--white); }

.case-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}
@media (min-width: 768px) { .case-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .case-grid { grid-template-columns: repeat(3, 1fr); } }

.case-card {
  background: var(--white);
  border: 1px solid var(--steel-mist);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.case-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(20,35,59,0.10); }
.case-card[hidden] { display: none; }

.case-thumb {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--cloud);
}
.case-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition); }
.case-card:hover .case-thumb img { transform: scale(1.03); }
.sector-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  letter-spacing: 0.02em;
}
.sector-Education        { background: var(--cyan); color: #fff; }
.sector-Healthcare       { background: var(--navy); color: #fff; }
.sector-Retail           { background: var(--orange); color: var(--navy); }
.sector-Infrastructure   { background: var(--cyan-deep); color: #fff; }
.sector-Professional-Services { background: var(--slate-mist); color: #fff; }
.sector-Industrial       { background: var(--navy-deep); color: #fff; }

.case-body { padding: var(--space-md); }
.case-body h3 { margin-bottom: 0.375rem; }
.case-blurb {
  color: var(--slate-mist);
  font-size: 0.9375rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: var(--space-sm);
}
.case-meta { font-size: 0.8125rem; color: var(--slate-mist); margin-bottom: var(--space-sm); }
.case-view-toggle {
  background: none;
  border: none;
  color: var(--cyan);
  font-weight: 600;
  font-size: 0.9375rem;
  cursor: pointer;
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
}

.case-detail {
  border-top: 1px solid var(--steel-mist);
  padding: var(--space-md);
  background: var(--cloud);
}
.case-detail[hidden] { display: none; }
.case-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  font-size: 0.875rem;
  color: var(--slate-mist);
  margin-bottom: var(--space-sm);
}
.case-detail-meta strong { color: var(--navy); }
.case-detail p { margin-bottom: var(--space-sm); color: var(--graphite); }
.case-photo-strip {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  margin-bottom: var(--space-sm);
  padding-bottom: 0.25rem;
}
.case-photo-strip button {
  flex-shrink: 0;
  width: 120px;
  height: 90px;
  border: none;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: zoom-in;
  padding: 0;
  background: none;
}
.case-photo-strip img { width: 100%; height: 100%; object-fit: cover; }
.case-detail-cta {
  font-size: 0.9375rem;
  font-weight: 600;
  margin-top: var(--space-sm);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(13,24,38,0.92);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--space-lg);
}
.lightbox.is-open { display: flex; }
.lightbox img { max-width: 100%; max-height: 85vh; border-radius: var(--radius-sm); }
.lightbox-close {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  background: rgba(255,255,255,0.12);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 1.25rem;
  cursor: pointer;
}
.lightbox-caption {
  position: absolute;
  bottom: var(--space-md);
  left: var(--space-md);
  right: var(--space-md);
  color: rgba(255,255,255,0.75);
  font-size: 0.875rem;
  text-align: center;
}

/* ================================================================
   TESTIMONIAL BLOCK
   ================================================================ */
.testimonial-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}
@media (min-width: 768px) { .testimonial-grid { grid-template-columns: repeat(2, 1fr); } }
.testimonial-card {
  background: var(--cloud);
  border-left: 4px solid var(--navy);
  padding: var(--space-lg);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.testimonial-quote-mark { color: var(--cyan); font-size: 2.5rem; line-height: 1; font-family: Georgia, serif; margin-bottom: 0.5rem; }
.testimonial-card blockquote { font-style: italic; font-size: 1.0625rem; color: var(--graphite); margin-bottom: var(--space-sm); }
.testimonial-attribution { font-weight: 600; font-size: 0.875rem; color: var(--slate-mist); }

/* ================================================================
   CERT BADGE
   ================================================================ */
.cert-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}
@media (min-width: 768px) { .cert-grid { grid-template-columns: repeat(2, 1fr); } }
.cert-card {
  background: var(--white);
  border: 1px solid var(--steel-mist);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
}
.cert-card h4 { margin-bottom: 0.5rem; }
.cert-card p { color: var(--graphite); }
.cert-card p + p { margin-top: 0.5rem; }

/* ================================================================
   STAFF CARDS
   ================================================================ */
.staff-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}
@media (min-width: 560px) { .staff-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .staff-grid { grid-template-columns: repeat(3, 1fr); } }
.staff-card {
  background: var(--white);
  border: 1px solid var(--steel-mist);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  text-align: center;
}
.staff-avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: var(--cloud);
  border: 1px solid var(--steel-mist);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-sm);
  color: var(--slate-mist);
}
.staff-avatar svg { width: 40px; height: 40px; }
.staff-card h3 { font-size: 1.125rem; margin-bottom: 0.25rem; }
.staff-title { color: var(--slate-mist); font-size: 0.9375rem; margin-bottom: 0.5rem; }
.staff-credential {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--white);
  background: var(--cyan);
  padding: 0.25rem 0.625rem;
  border-radius: 999px;
}

/* ================================================================
   CTA BAND
   ================================================================ */
.cta-band { background: var(--navy); text-align: center; }
.cta-band h2 { color: var(--cloud); margin-bottom: var(--space-md); }
.cta-band .btn-row { justify-content: center; }

/* ================================================================
   FORMS
   ================================================================ */
.form-panel {
  background: var(--white);
  border: 1px solid var(--steel-mist);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
}
@media (min-width: 768px) { .form-panel { padding: var(--space-xl); } }

.form-section-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin: var(--space-lg) 0 var(--space-sm);
  padding-top: var(--space-md);
  border-top: 1px solid var(--steel-mist);
}
.form-section-title:first-child { margin-top: 0; padding-top: 0; border-top: none; }
.form-section-hint { color: var(--slate-mist); font-size: 0.875rem; margin-bottom: var(--space-sm); }

.form-group { display: flex; flex-direction: column; gap: 0.375rem; margin-bottom: var(--space-md); }
.form-row { display: grid; grid-template-columns: 1fr; gap: var(--space-md); }
@media (min-width: 640px) { .form-row.two-col { grid-template-columns: 1fr 1fr; } }

label { font-size: 0.875rem; font-weight: 600; color: var(--graphite); }
label .required { color: var(--orange-deep); margin-left: 2px; }
.field-hint { font-size: 0.8125rem; color: var(--slate-mist); }

input[type="text"], input[type="email"], input[type="tel"], input[type="file"],
select, textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--graphite);
  background: var(--white);
  border: 1.5px solid var(--steel-mist);
  border-radius: var(--radius-sm);
  padding: 0.75rem var(--space-sm);
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}
select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%236B7684' stroke-width='2'%3E%3Cpath d='M5 7l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  padding-right: 2.5rem;
}
textarea { min-height: 110px; resize: vertical; }
input::placeholder, textarea::placeholder { color: var(--slate-mist); }

input:focus, select:focus, textarea:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(23,145,168,0.15);
  outline: none;
}
input.is-invalid, select.is-invalid, textarea.is-invalid {
  border-color: var(--error);
}
input.is-invalid:focus, select.is-invalid:focus, textarea.is-invalid:focus {
  box-shadow: 0 0 0 3px rgba(179,38,30,0.15);
}

.field-error {
  display: none;
  align-items: center;
  gap: 0.375rem;
  color: var(--error);
  font-size: 0.8125rem;
  font-weight: 600;
}
.field-error.is-visible { display: flex; }
.field-error svg { width: 14px; height: 14px; flex-shrink: 0; }

.form-error-summary {
  display: none;
  align-items: center;
  gap: 0.5rem;
  background: rgba(179,38,30,0.08);
  border: 1px solid var(--error);
  color: var(--error);
  border-radius: var(--radius-sm);
  padding: 0.875rem 1rem;
  font-weight: 600;
  font-size: 0.9375rem;
  margin-bottom: var(--space-md);
}
.form-error-summary.is-visible { display: flex; }

/* Off-screen for sighted users AND (with aria-hidden="true") for screen readers -- the honeypot
   spam-trap fields on the three lead forms (api/WebsiteLeads.cs). */
/* input.visually-hidden: must out-rank input[type="text"] (width:100% + padding),
   or the honeypot field stretches past the right edge and the page scrolls sideways. */
.visually-hidden,
input.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* Plain-text failure notice on the three lead forms: shown only when the fetch() POST to
   api/WebsiteLeads.cs fails outright (network, 5xx, 429) -- never in place of a real success. */
.form-submit-error {
  margin-top: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid #b91c1c;
  background: #fef2f2;
  color: #7f1d1d;
  font-size: 0.9375rem;
}

/* Choice chip groups (radio/checkbox toggle buttons) */
.choice-chip-group { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.choice-chip { position: relative; }
.choice-chip input {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
.choice-chip label {
  display: inline-flex;
  align-items: center;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--graphite);
  background: var(--white);
  border: 1.5px solid var(--steel-mist);
  border-radius: 999px;
  padding: 0.5rem 1rem;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.choice-chip input:checked + label {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}
.choice-chip input:focus-visible + label {
  outline: 3px solid var(--cyan);
  outline-offset: 2px;
}

/* File upload dropzone */
.dropzone {
  border: 2px dashed var(--steel-mist);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  text-align: center;
  color: var(--slate-mist);
  position: relative;
  transition: border-color var(--transition), background var(--transition);
}
.dropzone:hover, .dropzone.is-dragover { border-color: var(--cyan); background: rgba(23,145,168,0.04); }
.dropzone svg { width: 32px; height: 32px; margin: 0 auto var(--space-xs); color: var(--cyan); }
.dropzone input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}
.dropzone-browse { color: var(--cyan); font-weight: 600; text-decoration: underline; }
.file-chip-list { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: var(--space-sm); }
.file-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--cloud);
  border: 1px solid var(--steel-mist);
  border-radius: 999px;
  padding: 0.375rem 0.5rem 0.375rem 0.875rem;
  font-size: 0.8125rem;
  color: var(--graphite);
}
.file-chip button {
  background: none;
  border: none;
  color: var(--slate-mist);
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
  padding: 0.125rem;
}
.file-chip button:hover { color: var(--error); }

.form-fine-print { font-size: 0.8125rem; color: var(--slate-mist); line-height: 1.5; margin-top: var(--space-sm); }

.form-success {
  display: none;
  text-align: center;
  padding: var(--space-xl) var(--space-md);
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
}
.form-success.is-visible { display: flex; }
/* jnmc.js reveals the thank-you panel with `hidden = false` (not .is-visible), and this class
   rule out-ranks the browser's [hidden] rule -- so the panel stayed display:none and a visitor
   saw an empty card after a successful send. Show it whenever it is not [hidden]. */
.form-success:not([hidden]) { display: flex; }
.form-success h3 { margin-top: var(--space-xs); }
.form-success p { color: var(--slate-mist); max-width: 420px; }
.form-success .ref-code {
  font-family: 'Courier New', monospace;
  font-size: 0.9375rem;
  background: var(--cloud);
  border-radius: var(--radius-sm);
  padding: 0.5rem 1rem;
  color: var(--navy);
  font-weight: 600;
}

.spinner {
  display: inline-block;
  width: 16px; height: 16px;
  border: 2px solid rgba(20,35,59,0.3);
  border-top-color: var(--navy);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ================================================================
   CONTACT PAGE SPECIFICS
   ================================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
}
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
.contact-item { display: flex; gap: var(--space-sm); margin-bottom: var(--space-md); }
.contact-item svg { width: 20px; height: 20px; color: var(--cyan); flex-shrink: 0; margin-top: 2px; }
.contact-item a { color: var(--cyan); font-weight: 600; }
.contact-item a:hover { text-decoration: underline; }
.map-embed { border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--steel-mist); margin-top: var(--space-md); }
.map-embed iframe { width: 100%; height: 320px; border: 0; display: block; }
.needs-john-flag {
  background: #FFF7EC;
  border: 1px solid var(--orange);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  font-size: 0.9375rem;
  color: var(--graphite);
  margin-top: var(--space-md);
}
.needs-john-flag strong { color: var(--orange-deep); }

/* ================================================================
   FOOTER
   ================================================================ */
.site-footer { background: var(--navy); padding-block: var(--space-2xl) var(--space-md); }
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  padding-bottom: var(--space-xl);
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(4, 1fr); } }
.footer-col h4 { color: var(--cloud); font-size: 0.9375rem; margin-bottom: var(--space-sm); }
.footer-col p, .footer-col a { color: rgba(245,247,249,0.7); font-size: 0.9375rem; }
.footer-col ul li { margin-bottom: 0.5rem; }
.footer-col a:hover { color: var(--white); text-decoration: underline; }
.footer-logo { font-family: var(--font-heading); font-weight: 700; font-size: 1.25rem; color: var(--cloud); margin-bottom: 0.5rem; display: block; }
.footer-bottom {
  border-top: 1px solid rgba(245,247,249,0.12);
  padding-top: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
  text-align: center;
}
@media (min-width: 768px) { .footer-bottom { flex-direction: row; justify-content: space-between; text-align: left; } }
.footer-copyright { font-size: 0.8125rem; color: rgba(245,247,249,0.4); }
.footer-portal { font-size: 0.8125rem; }
.footer-portal a { color: rgba(245,247,249,0.75); text-decoration: underline; }
.footer-portal a:hover { color: var(--white); }

/* ================================================================
   UTILITY / MISC
   ================================================================ */
.pull-quote {
  font-family: var(--font-heading);
  font-size: 1.375rem;
  font-weight: 600;
  color: var(--navy);
  border-left: 4px solid var(--orange);
  padding-left: var(--space-md);
  margin-block: var(--space-lg);
  line-height: 1.5;
}
.two-col { display: grid; grid-template-columns: 1fr; gap: var(--space-2xl); align-items: start; }
@media (min-width: 900px) { .two-col { grid-template-columns: 1fr 1fr; } }
.bullets-check li {
  position: relative;
  padding-left: 1.5em;
  margin-bottom: 0.625rem;
  color: var(--graphite);
}
.bullets-check li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: 700;
}
.copy-block p + p { margin-top: var(--space-md); }

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media print {
  .jnmc-notice-bar, .site-footer, .nav-toggle { display: none; }
}

/* ================================================================
   CONTENT PAGES (industries, case studies, service areas, guides,
   FAQ, partners, downloads) -- added 2026-09-25
   ================================================================ */
@media (min-width: 1024px) {
  .services-grid.services-grid-3 { grid-template-columns: repeat(3, 1fr); }
  .services-grid.services-grid-2 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid.footer-grid-5 { grid-template-columns: 1.4fr repeat(4, 1fr); }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .footer-grid.footer-grid-5 { grid-template-columns: repeat(3, 1fr); }
}
.nav-dropdown-panel { min-width: 230px; }
.logo { flex-shrink: 0; }
.primary-nav .nav-link, .primary-nav .nav-dropdown-trigger { white-space: nowrap; }
@media (min-width: 1024px) and (max-width: 1199px) {
  .primary-nav ul { gap: 0.875rem !important; }
  .primary-nav .nav-link, .primary-nav .nav-dropdown-trigger { font-size: 0.8125rem; }
  .logo-image img { height: 64px; }
  .header-cta { padding-inline: 1rem; font-size: 0.875rem; }
}

.breadcrumb { font-size: 0.875rem; color: rgba(245,247,249,0.7); margin-bottom: var(--space-sm); }
.breadcrumb a { color: rgba(245,247,249,0.85); text-decoration: underline; text-underline-offset: 2px; }
.breadcrumb a:hover { color: var(--white); }
.guide-meta { display: block; margin-top: 0.5rem; font-size: 0.875rem; color: rgba(245,247,249,0.65); }

.prose { max-width: 760px; min-width: 0; }
.prose h2 { margin: var(--space-xl) 0 var(--space-sm); }
.prose h3 { margin: var(--space-lg) 0 0.5rem; }
.prose p + p { margin-top: var(--space-sm); }
.prose ul { list-style: disc; padding-left: 1.25em; margin: var(--space-sm) 0; }
.prose ul.bullets-check { list-style: none; padding-left: 0; }
.prose li { margin-bottom: 0.375rem; }
.prose a, .copy-block p a { color: var(--cyan-deep); text-decoration: underline; text-underline-offset: 2px; }

.guide-layout { display: grid; grid-template-columns: 1fr; gap: var(--space-2xl); align-items: start; }
@media (min-width: 1024px) { .guide-layout { grid-template-columns: minmax(0, 1fr) 300px; } .guide-aside { position: sticky; top: 120px; } }
.guide-related li { margin-bottom: 0.5rem; }

.data-table-wrap { overflow-x: auto; margin: var(--space-md) 0; -webkit-overflow-scrolling: touch; }
.data-table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; min-width: 520px; }
.data-table th, .data-table td { border-bottom: 1px solid var(--steel-mist); padding: 0.625rem 0.75rem; text-align: left; vertical-align: top; }
.data-table thead th { background: var(--cloud); color: var(--navy); font-family: var(--font-heading); }
.data-table tbody th { color: var(--navy); font-weight: 600; }

.faq-list { max-width: 820px; }
.faq-group-title { margin: var(--space-xl) 0 var(--space-sm); }
.faq-group-title:first-child { margin-top: 0; }
.faq-item { border: 1px solid var(--steel-mist); border-radius: var(--radius-md); background: var(--white); margin-bottom: 0.75rem; }
.faq-item summary { cursor: pointer; padding: 1rem 1.25rem; font-weight: 600; color: var(--navy); list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; color: var(--cyan); font-size: 1.25rem; line-height: 1.2; flex-shrink: 0; }
.faq-item[open] summary::after { content: '\2212'; }
.faq-answer { padding: 0 1.25rem 1.25rem; }
.faq-answer p + p { margin-top: 0.5rem; }
.faq-answer a { color: var(--cyan-deep); text-decoration: underline; text-underline-offset: 2px; }

.photo-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.5rem; }
@media (min-width: 768px) { .photo-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .photo-grid { grid-template-columns: repeat(4, 1fr); } }
.photo-grid button { border: 0; padding: 0; background: var(--cloud); cursor: zoom-in; border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 4 / 3; }
.photo-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition); }
.photo-grid button:hover img { transform: scale(1.04); }

.fact-list { background: var(--cloud); border-radius: var(--radius-md); padding: var(--space-lg); display: grid; gap: var(--space-sm); }
.fact-list dt { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--slate-mist); }
.fact-list dd { color: var(--navy); font-weight: 600; }

.partner-status { font-size: 0.8125rem; font-weight: 600; color: var(--success); }
.download-card h3 { margin-bottom: 0.5rem; }
.download-card .download-meta { font-size: 0.875rem; color: var(--slate-mist); margin: var(--space-sm) 0; }

/* ================================================================
   BID REQUEST -- STEPPED WIZARD (MC #3496)
   docs/jnmconnections/2026-09-25-bid-request-stepped-design.md
   Reuses the FORMS tokens/components above (form-panel, form-group,
   choice-chip, dropzone, field-error, btn) -- only the progress nav,
   step-panel visibility, service tiles, resume banner and review-step
   layout are new.
   ================================================================ */

/* Progress nav */
.bid-progress-wrap { margin-bottom: var(--space-md); }
.bid-progress-nav ol { list-style: none; display: flex; gap: 0.4rem; }
.bid-progress-nav li { flex: 1; text-align: center; position: relative; }
.bid-progress-track {
  position: absolute; top: 14px; left: -50%; width: 100%; height: 3px;
  background: var(--steel-mist); z-index: 0;
}
.bid-progress-nav li:first-child .bid-progress-track { display: none; }
.bid-progress-nav li.is-done .bid-progress-track,
.bid-progress-nav li.is-current .bid-progress-track { background: var(--cyan); }
.bid-step-dot-btn {
  position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center;
  gap: 0.4rem; background: none; border: 0; cursor: default; width: 100%; padding: 0;
  font-family: var(--font-body);
}
.bid-step-dot {
  width: 30px; height: 30px; border-radius: 50%; background: var(--white);
  border: 2.5px solid var(--steel-mist); color: var(--slate-mist); font-weight: 700;
  font-size: 0.8125rem; display: flex; align-items: center; justify-content: center;
}
.bid-progress-nav li.is-current .bid-step-dot {
  border-color: var(--cyan); color: var(--cyan); box-shadow: 0 0 0 4px rgba(23,145,168,0.12);
}
.bid-progress-nav li.is-done .bid-step-dot { border-color: var(--cyan); background: var(--cyan); color: var(--white); }
.bid-step-label { font-size: 0.6875rem; font-weight: 600; color: var(--slate-mist); line-height: 1.2; }
.bid-progress-nav li.is-current .bid-step-label { color: var(--navy); }
.bid-progress-nav li.is-done .bid-step-label { color: var(--cyan-deep); }
.bid-step-dot-btn.is-clickable { cursor: pointer; }
.bid-step-dot-btn.is-clickable:hover .bid-step-dot { border-color: var(--cyan-deep); }
.bid-progress-text { text-align: center; font-size: 0.8125rem; font-weight: 600; color: var(--cyan-deep); margin-top: 0.75rem; }

/* Resume banner (draft is localStorage-only -- see the copy itself, not this layout, for that) */
.bid-resume-banner { margin-bottom: var(--space-md); }
.bid-resume-banner-inner {
  background: #EAF6F8; border: 1px solid var(--cyan); border-radius: var(--radius-md);
  padding: 1rem 1.25rem; display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem;
  justify-content: space-between;
}
.bid-resume-banner-inner p { font-size: 0.9375rem; color: var(--navy); font-weight: 500; }
.bid-resume-banner-actions { display: flex; gap: 0.5rem; flex-wrap: wrap; }

/* Step panels -- visibility is class-driven (never the `hidden` attribute), so it can't collide
   with .form-group's own `display: flex` the way [hidden] would (see cablingTypeGroup below). */
.bid-step { display: none; }
.bid-step.is-active { display: block; animation: bidStepFadeIn 0.25s ease; }
@keyframes bidStepFadeIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }
.bid-step h2 { font-family: var(--font-heading); color: var(--navy); font-size: 1.375rem; font-weight: 700; margin-bottom: 0.35rem; }
.bid-step-intro { color: var(--slate-mist); font-size: 0.9375rem; margin-bottom: var(--space-md); }

/* A .form-group carries `display:flex` (author origin), which otherwise beats the UA's
   `[hidden]{display:none}` -- #cablingTypeGroup toggles the hidden ATTRIBUTE at runtime, so it
   needs this attribute-selector override to actually disappear. */
.form-group[hidden] { display: none; }

/* Service tiles (Step 1) */
.tile-group { display: grid; grid-template-columns: 1fr; gap: 0.75rem; }
@media (min-width: 560px) { .tile-group { grid-template-columns: 1fr 1fr; } }
@media (min-width: 860px) { .tile-group { grid-template-columns: repeat(3, 1fr); } }
.tile { position: relative; }
.tile input {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.tile label {
  display: flex; flex-direction: column; gap: 0.6rem; align-items: flex-start;
  border: 1.5px solid var(--steel-mist); background: var(--white); border-radius: var(--radius-md);
  padding: 1rem 1.1rem; cursor: pointer; height: 100%; transition: all 0.15s ease;
}
.tile label svg { width: 26px; height: 26px; color: var(--cyan); }
.tile label .tile-title { font-weight: 600; font-size: 0.9375rem; color: var(--navy); }
.tile input:checked + label { border-color: var(--cyan); background: #EAF6F8; }
.tile input:checked + label svg { color: var(--cyan-deep); }
.tile input:focus-visible + label { outline: 3px solid var(--cyan); outline-offset: 2px; }
.tile.is-unsure label { border-style: dashed; }
.tile.is-unsure label .tile-title { color: var(--slate-mist); }
.tile.is-unsure input:checked + label { border-color: var(--slate-mist); background: var(--cloud); }
.tile.is-unsure input:checked + label .tile-title { color: var(--graphite); }

.bid-reassure-note {
  display: none; background: var(--cloud); border-left: 3px solid var(--cyan);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0; padding: 0.75rem 1rem;
  font-size: 0.875rem; color: var(--navy); margin-top: var(--space-sm);
}
.bid-reassure-note.is-visible { display: block; }

/* "Not sure" chip de-emphasis -- still a fully valid, still-required answer, just visually
   softer so a nervous visitor recognizes it as a real out, not a dead end. */
.choice-chip.is-escape-hatch label { border-style: dashed; color: var(--slate-mist); }
.choice-chip.is-escape-hatch input:checked + label { background: var(--slate-mist); border-color: var(--slate-mist); color: var(--white); }

/* Step nav (desktop/tablet Back/Next; hidden under 640px in favor of the sticky mobile bar) */
.bid-step-nav { display: flex; justify-content: space-between; gap: 1rem; margin-top: var(--space-lg); padding-top: var(--space-md); border-top: 1px solid var(--steel-mist); }
.bid-step-nav .spacer { flex: 1; }

/* Review step */
.bid-review-group { border: 1px solid var(--steel-mist); border-radius: var(--radius-md); padding: 1.1rem 1.25rem; margin-bottom: var(--space-sm); }
.bid-review-group-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.6rem; }
.bid-review-group-head h3 { font-family: var(--font-heading); font-size: 0.9375rem; color: var(--navy); }
.bid-review-edit { font-size: 0.8125rem; font-weight: 600; color: var(--cyan); background: none; border: 0; cursor: pointer; text-decoration: underline; }
.bid-review-row { display: flex; gap: 0.5rem; font-size: 0.875rem; padding: 0.25rem 0; }
.bid-review-row dt { color: var(--slate-mist); min-width: 170px; flex-shrink: 0; }
.bid-review-row dd { color: var(--graphite); font-weight: 500; }
.bid-review-row dd.is-na { color: var(--slate-mist); font-style: italic; font-weight: 400; }

/* Sticky mobile Back/Next bar -- keeps both actions in thumb reach without scrolling to the
   bottom of a step on small viewports. */
.bid-mobile-nav { display: none; }
@media (max-width: 639px) {
  .bid-step-nav { display: none; }
  .bid-mobile-nav {
    display: flex; position: fixed; bottom: 0; left: 0; right: 0; background: var(--white);
    border-top: 1px solid var(--steel-mist); padding: 0.75rem 1.25rem; gap: 0.75rem;
    box-shadow: 0 -4px 12px rgba(20,35,59,0.08); z-index: 40;
  }
  .bid-mobile-nav .btn { flex: 1; }
  #bidForm { padding-bottom: 4.5rem; } /* keep step content clear of the fixed bar */
}
