:root {
  --bg: #ffffff;
  --surface: #f5f7f9;
  --surface-alt: #eef2f6;
  --dark: #141b22;
  --dark-2: #1e2833;
  --ink: #1a222b;
  --muted: #52606d;
  --line: #dce3ea;
  --red: #b31b1b;
  --red-dark: #8f1414;
  --red-soft: #fdf2f2;
  --radius: 8px;
  --radius-lg: 12px;
  --shadow-sm: 0 1px 3px rgba(16, 24, 40, 0.06);
  --shadow-md: 0 8px 24px rgba(16, 24, 40, 0.08);
  --max-w: 1180px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
}

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

a {
  color: var(--red);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px;
}

/* Preview Notice Bar */
.preview-banner {
  background: #232a32;
  color: #e2e8f0;
  font-size: 0.8125rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.preview-banner .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
}

.preview-pill {
  display: inline-block;
  background: var(--red);
  color: #fff;
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 999px;
  margin-right: 8px;
}

/* Top Utility Bar */
.topbar {
  background: var(--dark);
  color: #cbd5e1;
  font-size: 0.8125rem;
  padding: 8px 0;
}

.topbar-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px 20px;
}

.topbar a {
  color: #f8fafc;
}

.topbar-items {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  text-decoration: none;
}

.brand:hover {
  text-decoration: none;
}

.brand img {
  height: 56px;
  width: auto;
  object-fit: contain;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 8px 12px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav a {
  color: var(--ink);
  font-size: 0.9375rem;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 6px;
  white-space: nowrap;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.site-nav a:hover {
  background: var(--surface);
  text-decoration: none;
  color: var(--red);
}

.site-nav a.active {
  color: var(--red);
  font-weight: 600;
  background: var(--red-soft);
}

.site-nav a.nav-cta {
  background: var(--red);
  color: #fff;
  font-weight: 600;
  margin-left: 8px;
  padding: 9px 16px;
}

.site-nav a.nav-cta:hover {
  background: var(--red-dark);
  color: #fff;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 22px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
  text-decoration: none;
}

.btn:hover {
  text-decoration: none;
}

.btn-primary {
  background: var(--red);
  color: #fff;
}

.btn-primary:hover {
  background: var(--red-dark);
  color: #fff;
}

.btn-secondary {
  background: #fff;
  color: var(--ink);
  border-color: var(--line);
}

.btn-secondary:hover {
  background: var(--surface);
  border-color: #cbd5e1;
}

.btn-outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

/* Hero & Page Headers */
.hero {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%);
  color: #fff;
  padding: 64px 0;
  border-bottom: 4px solid var(--red);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  font-weight: 700;
  color: #fca5a5;
  margin-bottom: 12px;
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  margin: 0 0 18px;
  font-weight: 750;
  letter-spacing: -0.02em;
}

.hero p.lead {
  font-size: 1.125rem;
  color: #d8e1ea;
  margin: 0 0 28px;
  max-width: 58ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.hero-fact strong {
  display: block;
  font-size: 0.95rem;
  color: #fff;
}

.hero-fact span {
  font-size: 0.85rem;
  color: #b7c4d1;
}

.hero-visual {
  margin: 0;
  background: #10161c;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.45);
  line-height: 0;
}

.hero-visual img {
  width: 100%;
  height: auto;
  display: block;
}

.hero-visual figcaption {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 10px;
  text-align: center;
}

.page-header {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%);
  color: #fff;
  padding: 48px 0;
  border-bottom: 4px solid var(--red);
}

.page-header h1 {
  margin: 0 0 10px;
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  line-height: 1.2;
}

.page-header p {
  margin: 0;
  color: #d8e1ea;
  max-width: 65ch;
  font-size: 1.05rem;
}

/* Sections */
.section {
  padding: 64px 0;
}

.section-alt {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-header {
  max-width: 68ch;
  margin-bottom: 36px;
}

.section-header .tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--red);
  margin-bottom: 6px;
}

.section-header h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  margin: 0 0 10px;
  line-height: 1.2;
}

.section-header p {
  margin: 0;
  color: var(--muted);
}

/* Grids & Cards */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-sm);
}

.card h3 {
  margin: 0 0 10px;
  font-size: 1.18rem;
  line-height: 1.3;
}

.card p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 0.96rem;
}

.card p:last-child {
  margin-bottom: 0;
}

.card-accent {
  border-top: 3px solid var(--red);
}

.clean-list {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.clean-list li {
  margin-bottom: 6px;
}

/* Brand chips & directories */
.brand-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 12px;
}

.brand-item {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 3px solid var(--red);
  border-radius: var(--radius);
  padding: 13px 16px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
}

.brand-item small {
  display: block;
  font-weight: 400;
  color: var(--muted);
  font-size: 0.82rem;
  margin-top: 2px;
}

a.brand-item {
  display: block;
  color: var(--ink);
  text-decoration: none;
  transition: color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}
a.brand-item:hover,
a.brand-item:focus-visible {
  color: var(--red);
  border-color: var(--red);
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
}
.brand-item a.mfr-link {
  color: inherit;
  font-weight: 600;
  text-decoration: none;
}
.brand-item a.mfr-link:hover,
.brand-item a.mfr-link:focus-visible {
  color: var(--red);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.mfr-link {
  color: inherit;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(185, 28, 28, 0.45);
  text-underline-offset: 2px;
}
.mfr-link:hover,
.mfr-link:focus-visible {
  color: var(--red);
  text-decoration-color: var(--red);
}


/* Filter bar */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.filter-btn {
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink);
  padding: 8px 15px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}

.filter-btn:hover {
  border-color: var(--red);
  color: var(--red);
}

.filter-btn.active {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

.search-input {
  width: 100%;
  max-width: 450px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 0.95rem;
  margin-bottom: 22px;
}

/* Project Cards */
.category-block {
  margin-bottom: 52px;
}

.category-block:last-child {
  margin-bottom: 0;
}

.category-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--line);
  margin-bottom: 24px;
}

.category-heading h2 {
  margin: 0;
  font-size: 1.55rem;
}

.category-heading span {
  font-size: 0.88rem;
  color: var(--muted);
  font-weight: 500;
}

.project-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.project-media {
  aspect-ratio: 16 / 10;
  background: var(--surface-alt);
  overflow: hidden;
}

.project-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-body {
  padding: 18px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.project-cat {
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--red);
  margin-bottom: 6px;
}

.project-body h3 {
  margin: 0 0 8px;
  font-size: 1.08rem;
  line-height: 1.3;
}

.project-scope {
  margin: 0 0 12px;
  font-size: 0.9rem;
  color: var(--muted);
}

.photo-credit {
  margin: 0;
  padding-top: 10px;
  border-top: 1px solid var(--surface-alt);
  font-size: 0.75rem;
  color: #64748b;
  line-height: 1.4;
}

.photo-credit a {
  color: #475569;
  text-decoration: underline;
}

.additional-box {
  margin-top: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 22px;
}

.additional-box h4 {
  margin: 0 0 10px;
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.pill-list li {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 6px 12px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
  line-height: 1.25;
  max-width: 100%;
}
.pill-list .pill-name {
  font-weight: 600;
}
.pill-list .pill-loc {
  font-size: 0.72rem;
  font-weight: 400;
  color: var(--muted);
  overflow-wrap: break-word;
}
.pill-list .pill-loc[title] {
  cursor: help;
  border-bottom: 1px dotted currentColor;
}

/* Info callouts & CTA band */
.notice-box {
  background: var(--red-soft);
  border: 1px solid #f5c2c2;
  border-left: 4px solid var(--red);
  border-radius: var(--radius);
  padding: 16px 20px;
  font-size: 0.94rem;
}

.cta-band {
  background: var(--dark);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 40px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cta-band h2 {
  margin: 0 0 8px;
  font-size: 1.6rem;
}

.cta-band p {
  margin: 0;
  color: #cbd5e1;
  max-width: 58ch;
}

/* Form */
.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-sm);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.form-field {
  margin-bottom: 16px;
}

.form-field.full {
  grid-column: 1 / -1;
}

.form-field label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 6px;
}

.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  font-family: inherit;
  font-size: 0.96rem;
  color: var(--ink);
  background: #fff;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: 2px solid rgba(179, 27, 27, 0.25);
  border-color: var(--red);
}

.field-hint {
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 5px;
}

.form-status {
  display: none;
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: var(--radius);
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1e3a8a;
  font-size: 0.92rem;
}

.form-status.visible {
  display: block;
}

/* Table */
.hours-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.94rem;
}

.hours-table td {
  padding: 8px 0;
  border-bottom: 1px solid var(--surface-alt);
}

.hours-table td:last-child {
  text-align: right;
  font-weight: 600;
}


/* Manufacturer logo marquee (above footer) */
.mfr-marquee {
  background: #f4f5f7;
  border-top: 1px solid var(--line);
  padding: 18px 0 22px;
}
.mfr-marquee-label {
  margin: 0 0 12px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.mfr-marquee-viewport {
  overflow: hidden;
  width: 100%;
}
.mfr-marquee-track {
  display: flex;
  width: max-content;
  animation: mfr-scroll 100s linear infinite;
}
.mfr-marquee-viewport:hover .mfr-marquee-track,
.mfr-marquee-viewport:focus-within .mfr-marquee-track {
  animation-play-state: paused;
}
.mfr-marquee-set {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-right: 16px;
}
.mfr-marquee-item {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 56px;
  min-width: 96px;
  padding: 8px 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  text-decoration: none;
  color: var(--ink);
  flex: 0 0 auto;
}
.mfr-marquee-item img {
  display: block;
  height: 36px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.85;
  transition: filter 0.2s ease, opacity 0.2s ease;
}
.mfr-marquee-item:hover img,
.mfr-marquee-item:focus-visible img {
  filter: none;
  opacity: 1;
}
.mfr-marquee-item.wordmark span {
  font-weight: 700;
  font-size: 0.86rem;
  letter-spacing: 0.01em;
  white-space: nowrap;
  color: var(--ink);
}
.mfr-marquee-item.wordmark:hover span,
.mfr-marquee-item.wordmark:focus-visible span {
  color: var(--red);
}
@keyframes mfr-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .mfr-marquee-track {
    animation: none;
  }
  .mfr-marquee-viewport {
    overflow-x: auto;
  }
  .mfr-marquee-set:nth-child(2) {
    display: none;
  }
}


/* Client logo marquee (Home + Jobs Completed) — distinct from manufacturer strip */
.client-marquee {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px 0 18px;
  margin: 8px 0 32px;
}
.section-alt .client-marquee {
  margin: 32px 0 0;
}
.client-marquee-label {
  margin: 0 20px 12px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
}
.client-marquee-viewport {
  overflow: hidden;
  width: 100%;
}
.client-marquee-track {
  display: flex;
  width: max-content;
  animation: mfr-scroll 45s linear infinite;
}
.client-marquee-viewport:hover .client-marquee-track,
.client-marquee-viewport:focus-within .client-marquee-track {
  animation-play-state: paused;
}
.client-marquee-set {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-right: 12px;
}
.client-marquee-item {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 64px;
  min-width: 88px;
  padding: 8px 18px;
  background: #f8fafc;
  border-radius: 6px;
  flex: 0 0 auto;
}
.client-marquee-item img {
  display: block;
  height: 36px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.88;
  transition: filter 0.2s ease, opacity 0.2s ease;
}
.client-marquee-item:hover img {
  filter: none;
  opacity: 1;
}
@media (prefers-reduced-motion: reduce) {
  .client-marquee-track {
    animation: none;
  }
  .client-marquee-viewport {
    overflow-x: auto;
  }
  .client-marquee-set:nth-child(2) {
    display: none;
  }
}

/* Footer */
.site-footer {
  background: var(--dark);
  color: #cbd5e1;
  padding: 52px 0 28px;
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 36px;
}

.footer-logo-wrap {
  display: inline-block;
  background: #fff;
  padding: 8px 12px;
  border-radius: 6px;
  margin-bottom: 14px;
}

.footer-logo-wrap img {
  height: 44px;
  width: auto;
}

.site-footer h4 {
  color: #fff;
  margin: 0 0 12px;
  font-size: 0.95rem;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li {
  margin-bottom: 7px;
}

.site-footer a {
  color: #cbd5e1;
}

.site-footer a:hover {
  color: #fff;
}

.footer-bottom {
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 20px;
  font-size: 0.82rem;
  color: #94a3b8;
}

/* Responsive */
@media (max-width: 960px) {
  .hero-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  /* Mobile header: centered, larger logo; menu stays tappable on the right */
  .header-inner {
    position: relative;
    justify-content: center;
    min-height: 96px;
  }
  .brand {
    position: relative;
    z-index: 1;
  }
  .brand img {
    height: 72px; /* 29% larger than the 56px desktop logo */
    max-width: calc(100vw - 128px);
  }
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 44px;
    height: 44px;
    padding: 0;
    background: #fff;
  }
  .nav-toggle-label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
  .nav-toggle-bars,
  .nav-toggle-bars::before,
  .nav-toggle-bars::after {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--ink);
    border-radius: 1px;
  }
  .nav-toggle-bars {
    position: relative;
  }
  .nav-toggle-bars::before,
  .nav-toggle-bars::after {
    content: "";
    position: absolute;
    left: 0;
  }
  .nav-toggle-bars::before { top: -6px; }
  .nav-toggle-bars::after { top: 6px; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    flex-direction: column;
    align-items: stretch;
    padding: 12px 20px 18px;
    gap: 4px;
  }
  .site-nav.open {
    display: flex;
  }
  .site-nav a.nav-cta {
    margin-left: 0;
    margin-top: 8px;
    text-align: center;
  }
}

@media (max-width: 640px) {
  .hero {
    padding: 44px 0;
  }
  .section {
    padding: 44px 0;
  }
  .hero-facts,
  .grid-2,
  .grid-3,
  .grid-4,
  .form-grid {
    grid-template-columns: 1fr;
  }
  .cta-band {
    padding: 28px 22px;
  }
  .topbar {
    display: none;
  }
}


/* ---- Revision: jobs completed, logo cards, logo wall ---- */
.project-media.logo-card {
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 26px 34px;
  border-bottom: 1px solid var(--line);
}
.project-media.logo-card img {
  width: auto;
  height: auto;
  max-width: 78%;
  max-height: 72%;
  object-fit: contain;
}
.project-body h3 { margin-bottom: 0; }
.logo-wall {
  list-style: none;
  margin: 0 0 36px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 12px;
}
.logo-wall li {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 14px;
}
.logo-wall img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}
.section-alt .logo-wall { margin: 32px 0 0; }
.legal-note {
  margin-top: 36px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 0.8rem;
  color: var(--muted);
}
.legal-note p { margin: 0 0 10px; }
.legal-note summary { cursor: pointer; font-weight: 600; color: #475569; }
.legal-note ul { margin: 10px 0 0; padding-left: 18px; }
.legal-note li { margin-bottom: 4px; }
.photo-credit-line {
  margin: 18px 0 0;
  font-size: 0.75rem;
  color: #64748b;
  line-height: 1.5;
}
.photo-credit-line a { color: #475569; text-decoration: underline; }

/* Who we serve band */
.serve-band {
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
}
.serve-band .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
}
.serve-title {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red);
}
.serve-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
}
.serve-list a {
  display: inline-block;
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 600;
  background: var(--surface);
}
.serve-list a:hover { border-color: var(--red); color: var(--red); text-decoration: none; background: #fff; }
.serve-list .serve-more {
  display: inline-block;
  padding: 7px 14px;
  border: 1px dashed #c5ced6;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
  background: #fff;
}

/* FAQ */
.faq { max-width: 860px; }
.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 10px;
  padding: 0 18px;
}
.faq summary {
  cursor: pointer;
  font-weight: 600;
  padding: 15px 0;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 14px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--red); font-size: 1.25rem; line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: 0 0 16px; color: var(--muted); }

/* Form checkboxes */
.field-label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 8px; }
.check-row { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.check { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; font-size: 0.92rem; }
.check input { width: auto; margin: 0; }

/* Mobile sticky quote button */
.sticky-quote { display: none; }

@media (max-width: 960px) {
  .logo-wall { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .logo-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sticky-quote {
    display: block;
    position: fixed;
    left: 12px; right: 12px; bottom: 72px;
    z-index: 60;
    background: var(--red);
    color: #fff;
    text-align: center;
    font-weight: 700;
    padding: 13px 16px;
    border-radius: var(--radius);
    box-shadow: 0 8px 22px rgba(0,0,0,0.3);
  }
  .sticky-quote:hover { color: #fff; text-decoration: none; }
  body { padding-bottom: 140px; }
}

.project-body { justify-content: flex-start; }

.credits-list { max-width: 800px; margin: 12px 0 0; padding-left: 22px; }
.credits-list li { margin-bottom: 8px; color: var(--muted); line-height: 1.5; }
.footer-bottom a { color: #94a3b8; text-decoration: underline; }
.footer-bottom a:hover { color: #fff; }


/* What Customers Say */
.testimonial-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}
.testimonial-card blockquote {
  margin: 0;
  padding: 0;
  border: 0;
}
.testimonial-card blockquote::before {
  content: "\201C";
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.4rem;
  line-height: 0.8;
  color: var(--red);
  font-weight: 700;
  margin-bottom: 8px;
}
.testimonial-card blockquote p {
  margin: 0;
  color: var(--ink);
  font-size: 1.05rem;
  line-height: 1.5;
}
.testimonial-stars {
  margin: 0;
  color: #c4a035;
  font-size: 1.05rem;
  letter-spacing: 0.12em;
  line-height: 1;
}
.testimonial-card .testimonial-attr {
  margin: auto 0 0;
  padding-top: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
  overflow-wrap: break-word;
}

.page-header-actions {
  margin: 18px 0 0;
}
.page-header-actions .btn {
  margin-top: 2px;
}
.testimonials-cta {
  margin: 24px 0 0;
  font-size: 0.98rem;
  font-weight: 600;
}
.field-label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 6px;
}
.file-fields {
  display: grid;
  gap: 10px;
}
.file-fields label {
  display: grid;
  gap: 4px;
  font-weight: 600;
  font-size: 0.86rem;
  margin: 0;
}
.form-field input[type="file"] {
  padding: 8px 10px;
  background: var(--surface);
  max-width: 100%;
}
.rating-fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}
.rating-fieldset legend {
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 8px;
  padding: 0;
}
.rating-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
}

/* About page */
.about-hero-line {
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  font-weight: 600;
  color: #fff;
  max-width: 40ch;
  margin: 0 0 12px !important;
  line-height: 1.35;
}
.about-intro {
  max-width: 72ch;
}
.about-intro p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 1.05rem;
}
.about-intro p:last-child {
  margin-bottom: 0;
}
.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.stat-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px 22px;
  box-shadow: var(--shadow-sm);
  border-top: 3px solid var(--red);
}
.stat-value {
  font-size: clamp(2rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--dark);
  line-height: 1.1;
  margin-bottom: 8px;
}
.stat-label {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.45;
}
.about-note {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 75ch;
}
.about-industries {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.about-industries a {
  display: inline-block;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 8px 14px;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink);
  text-decoration: none;
}
.about-industries a:hover {
  border-color: var(--red);
  color: var(--red);
  text-decoration: none;
}
.about-role {
  margin: -4px 0 12px;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--red);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
@media (max-width: 960px) {
  .stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .stat-grid {
    grid-template-columns: 1fr;
  }
}
