/* ==========================================================================
   Qualvent Consult — Base Styles
   Loaded after _variables.css. Keep this file for global/reset/layout rules.
   Page-specific styles can move into their own files under assets/css/pages/
   as templates get built out in Phase 4.
   ========================================================================== */

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--qv-font-body);
  font-size: var(--qv-fs-body);
  line-height: var(--qv-lh-body);
  color: var(--qv-color-text);
  background: var(--qv-color-bg);
}

h1, h2, h3, h4 {
  font-family: var(--qv-font-display);
  line-height: var(--qv-lh-heading);
  color: var(--qv-color-text);
  margin: 0 0 var(--qv-space-4);
}

h1 { font-size: var(--qv-fs-h1); }
h2 { font-size: var(--qv-fs-h2); }
h3 { font-size: var(--qv-fs-h3); }

p { margin: 0 0 var(--qv-space-4); }

a {
  color: var(--qv-color-primary);
  text-decoration: none;
}
a:hover { text-decoration: underline; }

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

.qv-container {
  max-width: var(--qv-container-max);
  margin-inline: auto;
  padding-inline: var(--qv-space-6);
}

.qv-section {
  padding-block: var(--qv-space-24);
}

.qv-btn {
  display: inline-block;
  padding: var(--qv-space-3) var(--qv-space-6);
  border-radius: var(--qv-radius-sm);
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.15s ease, transform 0.1s ease;
}

.qv-btn--primary {
  background: var(--qv-color-accent);
  color: var(--qv-color-white);
}
.qv-btn--primary:hover {
  background: var(--qv-color-orange-dark);
  text-decoration: none;
}

.qv-btn--outline {
  background: transparent;
  color: var(--qv-color-primary);
  border: 2px solid var(--qv-color-primary);
}
.qv-btn--outline:hover {
  background: var(--qv-color-blue-light);
  text-decoration: none;
}

/* --- Site header --- */
.qv-site-header {
  background: var(--qv-color-white);
  border-bottom: 1px solid var(--qv-color-border);
  position: sticky;
  top: 0;
  z-index: 50;
}
.qv-site-header__inner {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--qv-space-6);
  padding-block: var(--qv-space-3);
  max-width: 1400px;
  margin-inline: auto;
  padding-inline: var(--qv-space-8);
}
.qv-site-header__logo {
  flex-shrink: 0;
}
.qv-site-header__logo img {
  max-height: 68px;
  width: auto;
  display: block;
}
.qv-site-header__logo img {
  max-height: 68px;
  width: auto;
  display: block;
}
.qv-site-header__logo-fallback {
  font-family: var(--qv-font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--qv-color-primary);
}
.qv-primary-nav {
  flex: 1;
  display: flex;
  justify-content: flex-start;
  margin-left: var(--qv-space-12);
}
.qv-primary-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: nowrap;
  gap: var(--qv-space-2);
  margin: 0;
  padding: 0;
}
.qv-primary-nav li {
  white-space: nowrap;
}
.qv-primary-nav a {
  display: inline-block;
  white-space: nowrap;
  color: var(--qv-color-text);
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  padding: var(--qv-space-2) var(--qv-space-3);
  border-radius: 999px;
  border: 1px solid transparent;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.qv-primary-nav a:hover {
  background: var(--qv-color-orange-light);
  border-color: var(--qv-color-orange-light);
  color: var(--qv-color-orange-dark);
}
.qv-primary-nav .current-menu-item a {
  background: var(--qv-color-primary);
  border-color: var(--qv-color-primary);
  color: var(--qv-color-white);
}
.qv-site-header__cta {
  white-space: nowrap;
  flex-shrink: 0;
}

/* --- Site footer --- */
.qv-site-footer {
  background: linear-gradient(135deg, var(--qv-color-navy-deep) 0%, var(--qv-color-blue) 60%, #2d2f6e 100%);
  color: rgba(255, 255, 255, 0.85);
  border-top: 3px solid var(--qv-color-accent);
}
.qv-site-footer__top {
  display: grid;
  grid-template-columns: 1.3fr 1fr 0.8fr 1.2fr;
  gap: var(--qv-space-8);
  padding-block: var(--qv-space-16);
}
.qv-footer-explore {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--qv-space-3);
}
.qv-footer-explore li {
  list-style: none;
  margin: 0;
  padding: 0;
}
.qv-footer-col--brand img {
  max-height: 48px;
  width: auto;
  margin-bottom: var(--qv-space-4);
}
.qv-site-footer__logo-fallback {
  display: block;
  font-family: var(--qv-font-display);
  font-size: 1.375rem;
  font-weight: 800;
  color: var(--qv-color-white);
  margin-bottom: var(--qv-space-4);
}
.qv-footer-col__tagline {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 30ch;
}
.qv-footer-col__heading {
  font-family: var(--qv-font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--qv-color-accent);
  margin-bottom: var(--qv-space-4);
}
.qv-site-footer p,
.qv-site-footer ul {
  font-size: var(--qv-fs-small);
  margin: 0;
}
.qv-site-footer a {
  color: rgba(255, 255, 255, 0.95);
  text-decoration: none;
  transition: color 0.15s ease;
}
.qv-site-footer a:hover {
  color: var(--qv-color-accent);
}

.qv-footer-contact-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--qv-space-4);
}
.qv-footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--qv-space-3);
}
.qv-footer-contact-list svg {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-top: 2px;
  color: var(--qv-color-accent);
}

.qv-footer-col--cta {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--qv-radius-md);
  padding: var(--qv-space-6);
}
.qv-footer-col--cta__text,
.qv-footer-col__cta-text {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: var(--qv-space-4);
}

.qv-site-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  position: relative;
  z-index: 1;
}
.qv-site-footer__bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-block: var(--qv-space-4);
  font-size: var(--qv-fs-small);
  color: rgba(255, 255, 255, 0.7);
  flex-wrap: wrap;
  gap: var(--qv-space-2);
}

@media (max-width: 900px) {
  .qv-site-footer__top {
    grid-template-columns: 1fr;
    row-gap: var(--qv-space-10);
  }
}
@media (max-width: 560px) {
  .qv-site-footer__top {
    grid-template-columns: 1fr;
    row-gap: var(--qv-space-8);
  }
  .qv-footer-col:not(:last-child) {
    padding-bottom: var(--qv-space-8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }
  .qv-footer-col__tagline {
    max-width: none;
  }
  .qv-site-footer__bottom-inner { flex-direction: column; text-align: center; }
}

/* --- Header/footer responsive --- */
@media (max-width: 560px) {
  .qv-site-footer__top { grid-template-columns: 1fr; }
  .qv-site-footer__bottom-inner { flex-direction: column; text-align: center; }
}

/* --- Skip link (accessibility) --- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--qv-color-white);
  color: var(--qv-color-text);
  padding: var(--qv-space-2) var(--qv-space-4);
  z-index: 999;
}
.skip-link:focus { left: var(--qv-space-4); top: var(--qv-space-4); }
.qv-service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--qv-space-8);
  margin-top: var(--qv-space-8);
}
.qv-service-card {
  border: 1px solid var(--qv-color-border);
  border-radius: var(--qv-radius-md);
  padding: var(--qv-space-6);
  text-align: center;
}
.qv-service-card__icon {
  width: 64px;
  height: 64px;
  object-fit: contain;
  margin-inline: auto;
  margin-bottom: var(--qv-space-4);
}
.qv-equipment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--qv-space-8);
  margin-top: var(--qv-space-8);
}
.qv-equipment-card {
  border: 1px solid var(--qv-color-border);
  border-radius: var(--qv-radius-md);
  overflow: hidden;
  text-align: center;
  background: var(--qv-color-white);
}
.qv-equipment-card__image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}
.qv-equipment-card__body {
  padding: var(--qv-space-5);
}
.qv-equipment-card h2 {
  font-size: 1.125rem;
  margin-bottom: var(--qv-space-2);
}
.qv-equipment-card p {
  color: var(--qv-color-text-muted);
  font-size: var(--qv-fs-small);
  margin-bottom: var(--qv-space-4);
}
.qv-equipment-card .qv-btn {
  display: inline-block;
}
/* --- Project filters --- */
.qv-project-filters {
  display: flex;
  flex-wrap: wrap;
  gap: var(--qv-space-2);
  margin-block: var(--qv-space-6);
}
.qv-filter-pill {
  display: inline-block;
  padding: var(--qv-space-2) var(--qv-space-4);
  border-radius: 999px;
  border: 1px solid var(--qv-color-border);
  color: var(--qv-color-text);
  font-size: var(--qv-fs-small);
  text-decoration: none;
}
.qv-filter-pill:hover { text-decoration: none; border-color: var(--qv-color-primary); }
.qv-filter-pill.is-active {
  background: var(--qv-color-primary);
  border-color: var(--qv-color-primary);
  color: var(--qv-color-white);
}

/* --- Project grid --- */
.qv-project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--qv-space-8);
  margin-top: var(--qv-space-8);
}
.qv-project-card {
  border: 1px solid var(--qv-color-border);
  border-radius: var(--qv-radius-md);
  overflow: hidden;
}
.qv-project-card__image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.qv-project-card__image--placeholder {
  background: var(--qv-color-gray-100);
}
.qv-project-card__body {
  padding: var(--qv-space-4);
}
.qv-project-card__tag {
  display: inline-block;
  font-size: var(--qv-fs-small);
  color: var(--qv-color-accent);
  font-weight: 600;
  margin-bottom: var(--qv-space-2);
}

/* --- Single project --- */
.qv-project-client {
  color: var(--qv-color-text-muted);
  margin-bottom: var(--qv-space-6);
}
.qv-project-single__image {
  width: 100%;
  border-radius: var(--qv-radius-md);
  margin-bottom: var(--qv-space-6);
}
/* --- Client grid --- */
.qv-client-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--qv-space-8);
  margin-top: var(--qv-space-8);
}
.qv-client-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--qv-space-6);
  border: 1px solid var(--qv-color-border);
  border-radius: var(--qv-radius-md);
}
.qv-client-card__logo {
  max-height: 64px;
  width: auto;
  object-fit: contain;
  margin-bottom: var(--qv-space-4);
  filter: grayscale(100%);
  opacity: 0.8;
  transition: filter 0.15s ease, opacity 0.15s ease;
}
.qv-client-card__logo:hover {
  filter: grayscale(0%);
  opacity: 1;
}
.qv-client-card__name {
  font-weight: 600;
  margin-bottom: var(--qv-space-4);
}
.qv-client-card__quote {
  font-size: var(--qv-fs-small);
  color: var(--qv-color-text-muted);
  font-style: italic;
  margin: 0;
}
/* --- About page content --- */
.qv-about-content h2 {
  margin-top: var(--qv-space-12);
}
.qv-about-content h2:first-of-type {
  margin-top: 0;
}
.qv-about-content ul,
.qv-about-content ol {
  padding-left: var(--qv-space-6);
}

/* --- Reusable alt-background section (used on About, and reusable elsewhere) --- */
.qv-section--alt {
  background: var(--qv-color-bg-alt);
}
/* --- Industries grid --- */
.qv-industry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--qv-space-8);
  margin-top: var(--qv-space-8);
}
.qv-industry-card {
  padding: var(--qv-space-6);
  border: 1px solid var(--qv-color-border);
  border-radius: var(--qv-radius-md);
}

/* --- Contact page --- */
.qv-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: var(--qv-space-12);
  margin-top: var(--qv-space-8);
  align-items: start;
}
.qv-contact-item {
  margin-bottom: var(--qv-space-6);
}
.qv-contact-item h3 {
  font-size: var(--qv-fs-body);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--qv-color-text-muted);
  margin-bottom: var(--qv-space-2);
}
.qv-contact-map iframe {
  border-radius: var(--qv-radius-md);
}
@media (max-width: 782px) {
  .qv-contact-grid {
    grid-template-columns: 1fr;
  }
}

/* --- Quote form placeholder (Phase 6 removes this) --- */
.qv-quote-form-placeholder {
  margin-top: var(--qv-space-8);
  padding: var(--qv-space-8);
  border: 2px dashed var(--qv-color-border);
  border-radius: var(--qv-radius-md);
  color: var(--qv-color-text-muted);
}
/* --- Contact Form 7 styling --- */
.qv-quote-form {
  max-width: 640px;
  margin-top: var(--qv-space-8);
}
.wpcf7-form label {
  display: block;
  font-weight: 600;
  margin-bottom: var(--qv-space-4);
}
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form select,
.wpcf7-form textarea {
  display: block;
  width: 100%;
  margin-top: var(--qv-space-2);
  padding: var(--qv-space-3);
  border: 1px solid var(--qv-color-border);
  border-radius: var(--qv-radius-sm);
  font-family: var(--qv-font-body);
  font-size: var(--qv-fs-body);
}
.wpcf7-form textarea {
  min-height: 120px;
}
.wpcf7-form input[type="submit"] {
  background: var(--qv-color-accent);
  color: var(--qv-color-white);
  border: none;
  padding: var(--qv-space-3) var(--qv-space-6);
  border-radius: var(--qv-radius-sm);
  font-weight: 600;
  cursor: pointer;
}
.wpcf7-form input[type="submit"]:hover {
  background: var(--qv-color-orange-dark);
}
.wpcf7-not-valid-tip {
  color: #c0392b;
  font-size: var(--qv-fs-small);
  font-weight: normal;
}
.wpcf7-response-output {
  margin-top: var(--qv-space-6);
  padding: var(--qv-space-4);
  border-radius: var(--qv-radius-sm);
}
/* --- Reusable page header band (all static pages) --- */
.qv-eyebrow {
  font-family: var(--qv-font-mono);
  font-size: var(--qv-fs-small);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--qv-color-accent);
  font-weight: 600;
  margin-bottom: var(--qv-space-4);
}
.qv-eyebrow--centered { text-align: center; }

.qv-page-header {
  padding-block: var(--qv-space-16) var(--qv-space-12);
  background: var(--qv-color-paper);
  background-image:
    linear-gradient(var(--qv-blueprint-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--qv-blueprint-line) 1px, transparent 1px);
  background-size: 32px 32px;
  border-bottom: 1px solid var(--qv-color-border);
}
.qv-page-header h1 {
  color: var(--qv-color-navy-deep);
  margin-bottom: 0;
}
.qv-page-header--photo h1,
.qv-page-header--photo .qv-eyebrow {
  color: var(--qv-color-white);
}
.qv-page-header--photo .qv-eyebrow {
  color: var(--qv-color-orange-light);
}
/* --- Mobile nav toggle button (hidden on desktop) --- */
.qv-nav-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  padding: 0;
  background: var(--qv-color-orange-light);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  flex-shrink: 0;
  transition: background-color 0.2s ease;
}
.qv-nav-toggle:hover {
  background: var(--qv-color-accent);
}
.qv-nav-toggle:hover .qv-nav-toggle__bar {
  background: var(--qv-color-white);
}
.qv-nav-toggle__bar {
  display: block;
  width: 20px;
  height: 2.5px;
  background: var(--qv-color-navy-deep);
  border-radius: 999px;
  transition: transform 0.25s ease, opacity 0.2s ease, width 0.2s ease, background-color 0.2s ease;
}
.qv-nav-toggle__bar:nth-child(2) {
  width: 14px;
  align-self: flex-end;
  margin-right: 13px;
}
.qv-nav-toggle.is-open {
  background: var(--qv-color-navy-deep);
}
.qv-nav-toggle.is-open .qv-nav-toggle__bar {
  background: var(--qv-color-white);
}
.qv-nav-toggle.is-open .qv-nav-toggle__bar:nth-child(1) {
  width: 20px;
  transform: translateY(7.5px) rotate(45deg);
}
.qv-nav-toggle.is-open .qv-nav-toggle__bar:nth-child(2) {
  opacity: 0;
}
.qv-nav-toggle.is-open .qv-nav-toggle__bar:nth-child(3) {
  width: 20px;
  transform: translateY(-7.5px) rotate(-45deg);
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

/* --- Mobile nav behavior --- */
@media (max-width: 900px) {
  .qv-nav-toggle {
    display: flex;
  }
  .qv-primary-nav {
    display: block;
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: min(320px, 85vw);
    background: var(--qv-color-white);
    box-shadow: -4px 0 24px rgba(0,0,0,0.15);
    padding: var(--qv-space-8) var(--qv-space-6) var(--qv-space-6);
    transform: translateX(100%);
    transition: transform 0.25s ease;
    z-index: 100;
    overflow-y: auto;
  }
  .qv-primary-nav.is-open {
    transform: translateX(0);
  }
  .qv-primary-nav ul {
    flex-direction: column;
    gap: var(--qv-space-2);
  }
  .qv-primary-nav a {
    display: block;
    width: 100%;
  }
}
/* --- Spec badge (reused: single service, single project) --- */
.qv-spec-badge {
  display: inline-block;
  font-family: var(--qv-font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--qv-color-accent);
  background: var(--qv-color-orange-light);
  border-radius: 999px;
  padding: 4px 12px;
  margin-bottom: var(--qv-space-6);
}

/* --- Single service --- */
.qv-service-single {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--qv-space-12);
  align-items: start;
}
.qv-service-single__body {
  font-size: 1.0625rem;
  line-height: var(--qv-lh-body);
}
.qv-service-single__icon {
  width: 72px;
  height: 72px;
  object-fit: contain;
  margin-bottom: var(--qv-space-6);
}
.qv-service-single__card {
  background: var(--qv-color-paper);
  border: 1px solid var(--qv-color-border);
  border-radius: var(--qv-radius-md);
  padding: var(--qv-space-6);
}
@media (max-width: 782px) {
  .qv-service-single { grid-template-columns: 1fr; }
}

/* --- Single project --- */
.qv-project-single__meta {
  display: flex;
  align-items: center;
  gap: var(--qv-space-4);
  flex-wrap: wrap;
}
.qv-project-single__client {
  font-size: var(--qv-fs-small);
  color: var(--qv-color-text-muted);
}
.qv-project-single__image {
  width: 100%;
  border-radius: var(--qv-radius-md);
  margin-block: var(--qv-space-6);
}
.qv-project-single__summary {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--qv-color-navy-deep);
  border-left: 3px solid var(--qv-color-accent);
  padding-left: var(--qv-space-4);
  margin-bottom: var(--qv-space-8);
}
.qv-project-single__body {
  font-size: 1.0625rem;
}
.qv-project-single__footer {
  display: flex;
  justify-content: space-between;
  gap: var(--qv-space-4);
  margin-top: var(--qv-space-12);
  padding-top: var(--qv-space-8);
  border-top: 1px solid var(--qv-color-border);
  flex-wrap: wrap;
}
/* --- Hero video --- */
.qv-hero-video-wrap {
  border-radius: var(--qv-radius-lg);
  overflow: hidden;
  box-shadow: var(--qv-shadow-md);
  aspect-ratio: 4 / 3;
}
.qv-hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Save bandwidth/data on small screens: show poster only, no autoplay video */
@media (max-width: 640px) {
  .qv-hero-video-wrap video {
    display: none;
  }
  .qv-hero-video-wrap {
    background-size: cover;
    background-position: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .qv-hero-video { display: none; }
}
/* --- Hero image (replaces blueprint graphic when set) --- */
.qv-hero-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--qv-radius-lg);
  box-shadow: var(--qv-shadow-md);
}
/* --- Mobile header: logo left, hamburger right --- */
@media (max-width: 900px) {
  .qv-site-header__inner {
    justify-content: flex-start;
  }
  .qv-nav-toggle {
    margin-left: auto;
  }
}
/* --- CTA button inside nav (desktop: inline; mobile: stacked in slide-out panel) --- */
.qv-site-header__cta {
  margin-left: var(--qv-space-4);
}
@media (max-width: 900px) {
  .qv-primary-nav {
    flex-direction: column;
    gap: var(--qv-space-6);
  }
  .qv-site-header__cta {
    margin-left: 0;
    margin-top: var(--qv-space-4);
    text-align: center;
  }
}
/* ==========================================================================
   Card polish — shadows, hover lift, icon backdrops
   Applies to Service, Equipment, Project, and Client cards site-wide.
   ========================================================================== */

.qv-service-card,
.qv-equipment-card,
.qv-project-card,
.qv-client-card,
.qv-industry-card {
  box-shadow: var(--qv-shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.qv-service-card:hover,
.qv-equipment-card:hover,
.qv-project-card:hover,
.qv-client-card:hover,
.qv-industry-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--qv-shadow-md);
  border-color: var(--qv-color-accent);
}

/* --- Service card icon: give it a colored circular backdrop --- */
.qv-service-card__icon {
  background: var(--qv-color-orange-light);
  border-radius: 50%;
  padding: var(--qv-space-4);
  box-sizing: content-box;
}

/* --- Project card image: subtle zoom on hover (image itself, not the whole card) --- */
.qv-project-card {
  overflow: hidden;
}
.qv-project-card__image {
  transition: transform 0.35s ease;
}
.qv-project-card:hover .qv-project-card__image {
  transform: scale(1.06);
}

/* --- Client card logo: soften the grayscale-to-color hover, add lift already covered above --- */
.qv-client-card__logo {
  transition: filter 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}
.qv-client-card:hover .qv-client-card__logo {
  transform: scale(1.05);
}

/* --- Equipment card image: subtle zoom, matching project cards --- */
.qv-equipment-card {
  overflow: hidden;
}
.qv-equipment-card__image {
  transition: transform 0.35s ease;
}
.qv-equipment-card:hover .qv-equipment-card__image {
  transform: scale(1.05);
}

/* --- Section background rhythm: subtle blueprint-grid texture on alt sections,
   echoing the hero, instead of flat gray --- */
.qv-section--alt {
  background-color: var(--qv-color-bg-alt);
  background-image:
    linear-gradient(var(--qv-blueprint-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--qv-blueprint-line) 1px, transparent 1px);
  background-size: 32px 32px;
}

/* --- Respect reduced motion --- */
@media (prefers-reduced-motion: reduce) {
  .qv-service-card,
  .qv-equipment-card,
  .qv-project-card,
  .qv-client-card,
  .qv-industry-card,
  .qv-project-card__image,
  .qv-equipment-card__image,
  .qv-client-card__logo {
    transition: none;
  }
  .qv-service-card:hover,
  .qv-equipment-card:hover,
  .qv-project-card:hover,
  .qv-client-card:hover,
  .qv-industry-card:hover {
    transform: none;
  }
}
/* ==========================================================================
   Readability — cap line length for body text so paragraphs don't stretch
   edge-to-edge on wide screens. ~65-75 characters per line is the sweet
   spot for comfortable reading.
   ========================================================================== */

.qv-about-content > p,
.qv-about-content > ul,
.qv-about-content > ol,
.qv-service-single__body > p,
.qv-project-single__body > p,
.qv-contact-item p,
.qv-value-item p,
.qv-industry-card p {
  max-width: 65ch;
}

/* Generic content areas (page.php fallback, single blog posts) */
.qv-section > .qv-container > p {
  max-width: 65ch;
}

/* Intro paragraphs on Services/Equipment/Industries pages: centered, readable width */
.qv-section--intro > .qv-container > p {
  max-width: none;
  text-align: left;
  text-align-last: left;
  font-size: 1.0625rem;
  color: var(--qv-color-text-muted);
}

/* Section intro paragraphs directly under a heading, site-wide */
.qv-section p:first-of-type {
  max-width: 65ch;
}
/* --- 404 page --- */
.qv-404 {
  text-align: center;
  padding-block: var(--qv-space-24);
}
.qv-404__inner {
  max-width: 560px;
}
.qv-404__figure {
  margin-bottom: var(--qv-space-8);
}
.qv-404__svg {
  width: 140px;
  height: auto;
  stroke: var(--qv-color-border);
}
.qv-404 h1 {
  margin-bottom: var(--qv-space-4);
}
.qv-404__sub {
  color: var(--qv-color-text-muted);
  max-width: 50ch;
  margin-inline: auto;
  margin-bottom: var(--qv-space-8);
}
.qv-404__actions {
  display: flex;
  gap: var(--qv-space-4);
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: var(--qv-space-16);
}
.qv-404__links nav {
  display: flex;
  gap: var(--qv-space-6);
  justify-content: center;
  flex-wrap: wrap;
}
.qv-404__links nav a {
  font-weight: 600;
}
/* --- Contact icons --- */
.qv-contact-item__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--qv-color-orange-light);
  color: var(--qv-color-accent);
  margin-bottom: var(--qv-space-3);
}
.qv-contact-item__icon svg {
  width: 20px;
  height: 20px;
}

/* --- Industry icons --- */
.qv-industry-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--qv-radius-md);
  background: var(--qv-color-blue-light);
  color: var(--qv-color-primary);
  margin-bottom: var(--qv-space-4);
}
.qv-industry-card__icon svg {
  width: 24px;
  height: 24px;
}
/* --- Blog listing --- */
.qv-blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--qv-space-8);
}
.qv-blog-card {
  border: 1px solid var(--qv-color-border);
  border-radius: var(--qv-radius-md);
  overflow: hidden;
  box-shadow: var(--qv-shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.qv-blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--qv-shadow-md);
  border-color: var(--qv-color-accent);
}
.qv-blog-card__image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.qv-blog-card__image--placeholder {
  background: var(--qv-color-gray-100);
}
.qv-blog-card__body {
  padding: var(--qv-space-6);
}
.qv-blog-card__date {
  font-family: var(--qv-font-mono);
  font-size: var(--qv-fs-small);
  color: var(--qv-color-text-muted);
}
.qv-blog-card h2 {
  font-size: 1.25rem;
  margin-block: var(--qv-space-2) var(--qv-space-3);
}
.qv-blog-card p {
  color: var(--qv-color-text-muted);
  font-size: var(--qv-fs-small);
}
.qv-blog-card__link {
  font-weight: 600;
  font-size: var(--qv-fs-small);
}
.qv-blog-pagination {
  margin-top: var(--qv-space-12);
  display: flex;
  justify-content: center;
  gap: var(--qv-space-2);
}
.qv-blog-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid var(--qv-color-border);
  color: var(--qv-color-text);
  text-decoration: none;
  padding-inline: var(--qv-space-3);
}
.qv-blog-pagination .page-numbers.current {
  background: var(--qv-color-primary);
  border-color: var(--qv-color-primary);
  color: var(--qv-color-white);
}

/* --- Single blog post --- */
.qv-blog-single {
  max-width: 760px;
}
.qv-blog-single h1 {
  margin-bottom: var(--qv-space-6);
}
.qv-blog-single__image {
  width: 100%;
  border-radius: var(--qv-radius-md);
  margin-bottom: var(--qv-space-8);
}
.qv-blog-single__body {
  font-size: 1.0625rem;
}
.qv-blog-single__body p {
  max-width: none; /* container already constrains width via qv-blog-single */
}
.qv-blog-single__footer {
  display: flex;
  justify-content: space-between;
  gap: var(--qv-space-4);
  margin-top: var(--qv-space-12);
  padding-top: var(--qv-space-8);
  border-top: 1px solid var(--qv-color-border);
  flex-wrap: wrap;
}
/* ==========================================================================
   Section dividers — subtle blueprint dimension-line motif between
   consecutive sections, echoing the hero's technical drawing style.
   Skips the first section on a page (right under the header) and
   sections with their own distinct background (alt/grid, dark bands),
   where an extra line would look cluttered rather than intentional.
   ========================================================================== */

.qv-section:not(:first-child):not(.qv-section--alt) {
  position: relative;
  border-top: 1px solid var(--qv-blueprint-line);
}
.qv-section:not(:first-child):not(.qv-section--alt)::before,
.qv-section:not(:first-child):not(.qv-section--alt)::after {
  content: '';
  position: absolute;
  top: -4px;
  width: 1px;
  height: 8px;
  background: var(--qv-color-accent);
}
.qv-section:not(:first-child):not(.qv-section--alt)::before {
  left: var(--qv-space-6);
}
.qv-section:not(:first-child):not(.qv-section--alt)::after {
  right: var(--qv-space-6);
}
/* --- Quote page layout --- */
.qv-quote-layout {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: var(--qv-space-12);
  align-items: start;
}
.qv-quote-form-card {
  background: var(--qv-color-white);
  border: 1px solid var(--qv-color-border);
  border-radius: var(--qv-radius-lg);
  box-shadow: var(--qv-shadow-sm);
  padding: var(--qv-space-8);
  margin-top: var(--qv-space-6);
}
.qv-quote-sidebar-card {
  background: var(--qv-color-paper);
  border: 1px solid var(--qv-color-border);
  border-radius: var(--qv-radius-lg);
  padding: var(--qv-space-6);
  margin-bottom: var(--qv-space-6);
}
.qv-quote-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--qv-space-5);
}
.qv-quote-steps li {
  display: flex;
  gap: var(--qv-space-4);
  align-items: flex-start;
}
.qv-quote-steps__num {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--qv-color-navy-deep);
  color: var(--qv-color-white);
  font-family: var(--qv-font-mono);
  font-size: 0.8125rem;
  font-weight: 600;
}
.qv-quote-steps h4 {
  font-size: 0.9375rem;
  margin-bottom: 2px;
}
.qv-quote-steps p {
  font-size: var(--qv-fs-small);
  color: var(--qv-color-text-muted);
  margin: 0;
}
@media (max-width: 900px) {
  .qv-quote-layout {
    grid-template-columns: 1fr;
  }
}

/* --- Contact Form 7 field polish --- */
.qv-quote-form-card .wpcf7-form {
  display: grid;
  gap: var(--qv-space-5);
}
.qv-quote-form-card label {
  display: block;
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--qv-color-navy-deep);
}
.qv-quote-form-card input[type="text"],
.qv-quote-form-card input[type="email"],
.qv-quote-form-card input[type="tel"],
.qv-quote-form-card select,
.qv-quote-form-card textarea {
  display: block;
  width: 100%;
  margin-top: var(--qv-space-2);
  padding: var(--qv-space-3) var(--qv-space-4);
  border: 1px solid var(--qv-color-border);
  border-radius: var(--qv-radius-sm);
  font-family: var(--qv-font-body);
  font-size: var(--qv-fs-body);
  background: var(--qv-color-white);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.qv-quote-form-card input:focus,
.qv-quote-form-card select:focus,
.qv-quote-form-card textarea:focus {
  outline: none;
  border-color: var(--qv-color-primary);
  box-shadow: 0 0 0 3px var(--qv-color-blue-light);
}
.qv-quote-form-card textarea {
  min-height: 130px;
  resize: vertical;
}
.qv-quote-form-card input[type="file"] {
  margin-top: var(--qv-space-2);
  font-size: var(--qv-fs-small);
}
.qv-quote-form-card input[type="submit"] {
  justify-self: start;
  background: var(--qv-color-accent);
  color: var(--qv-color-white);
  border: none;
  padding: var(--qv-space-3) var(--qv-space-8);
  border-radius: var(--qv-radius-sm);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.15s ease, transform 0.1s ease;
}
.qv-quote-form-card input[type="submit"]:hover {
  background: var(--qv-color-orange-dark);
}
.qv-quote-form-card input[type="submit"]:active {
  transform: translateY(1px);
}
.qv-quote-form-card .wpcf7-not-valid-tip {
  color: #c0392b;
  font-size: var(--qv-fs-small);
  font-weight: normal;
  margin-top: var(--qv-space-1);
}
.qv-quote-form-card .wpcf7-response-output {
  margin: 0;
  padding: var(--qv-space-4);
  border-radius: var(--qv-radius-sm);
  font-size: var(--qv-fs-small);
}
.qv-footer-logo {
  max-height: 48px;
  width: auto;
  margin-bottom: var(--qv-space-4);
}
/* --- Equipment carousel (replaces grid on page-equipment.php) --- */
.qv-equipment-carousel-wrap {
  position: relative;
  margin-top: var(--qv-space-8);
}
.qv-equipment-carousel {
  display: flex;
  gap: var(--qv-space-6);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: var(--qv-space-4);
  scrollbar-width: none; /* Firefox */
}
.qv-equipment-carousel::-webkit-scrollbar {
  display: none; /* Chrome/Safari/Edge */
}
.qv-equipment-carousel .qv-equipment-card {
  flex: 0 0 clamp(220px, 22vw, 280px);
  scroll-snap-align: start;
}
.qv-equipment-carousel .qv-equipment-card__image {
  aspect-ratio: 4 / 3;
}

.qv-carousel-arrow {
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--qv-color-white);
  border: 1px solid var(--qv-color-border);
  box-shadow: var(--qv-shadow-md);
  color: var(--qv-color-navy-deep);
  font-size: 1.125rem;
  cursor: pointer;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.qv-carousel-arrow:hover {
  background: var(--qv-color-accent);
  color: var(--qv-color-white);
  border-color: var(--qv-color-accent);
}
.qv-carousel-arrow--prev { left: -22px; }
.qv-carousel-arrow--next { right: -22px; }

@media (max-width: 768px) {
  .qv-carousel-arrow { display: none; } /* touch swipe is the primary interaction on mobile */
}
/* --- Services page: full detail rows --- */
.qv-service-row {
  border-top: none; /* overrides the global section-divider line for these stacked rows */
}
.qv-service-row:nth-child(even) {
  background: var(--qv-color-paper);
}
.qv-service-row__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--qv-space-12);
  align-items: center;
}
.qv-service-row--reverse .qv-service-row__inner {
  direction: rtl;
}
.qv-service-row--reverse .qv-service-row__content,
.qv-service-row--reverse .qv-service-row__figure {
  direction: ltr;
}
.qv-service-row__content h2 {
  margin-top: var(--qv-space-3);
  margin-bottom: var(--qv-space-4);
}
.qv-service-row__short {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--qv-color-navy-deep);
  margin-bottom: var(--qv-space-4);
}
.qv-service-row__full {
  color: var(--qv-color-text-muted);
  margin-bottom: var(--qv-space-6);
  max-width: 55ch;
}
.qv-service-row__image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--qv-radius-lg);
  box-shadow: var(--qv-shadow-md);
}
.qv-service-row__image--placeholder {
  background: var(--qv-color-gray-100);
}
.qv-service-row__icon-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 3;
  background: var(--qv-color-blue-light);
  border-radius: var(--qv-radius-lg);
}
.qv-service-row__icon-fallback img {
  width: 96px;
  height: 96px;
  object-fit: contain;
}

@media (max-width: 900px) {
  .qv-service-row__inner {
    grid-template-columns: 1fr;
  }
  .qv-service-row--reverse .qv-service-row__inner {
    direction: ltr;
  }
  .qv-service-row--reverse .qv-service-row__figure {
    order: -1;
  }
}
/* Tighten the gap between the page-header band and the first content section right after it */
.qv-page-header + .qv-section {
  padding-top: var(--qv-space-8);
}
/* --- Services quick-jump nav --- */
.qv-service-jumpnav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--qv-color-white);
  border-bottom: 1px solid var(--qv-color-border);
  box-shadow: var(--qv-shadow-sm);
}
.qv-service-jumpnav__inner {
  display: flex;
  gap: var(--qv-space-2);
  overflow-x: auto;
  padding-block: var(--qv-space-3);
  scrollbar-width: none;
}
.qv-service-jumpnav__inner::-webkit-scrollbar {
  display: none;
}
.qv-service-jumpnav__link {
  flex-shrink: 0;
  white-space: nowrap;
  padding: var(--qv-space-2) var(--qv-space-4);
  border-radius: 999px;
  border: 1px solid var(--qv-color-border);
  color: var(--qv-color-text);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.qv-service-jumpnav__link:hover {
  background: var(--qv-color-orange-light);
  border-color: var(--qv-color-orange-light);
  color: var(--qv-color-orange-dark);
  text-decoration: none;
}

/* Offset anchored sections so they don't land underneath the sticky header + jumpnav */
.qv-service-row {
  scroll-margin-top: 140px;
}
/* --- Blueprint corner-tick frame on service row images --- */
.qv-service-row__figure {
  position: relative;
}
.qv-service-row__figure::before,
.qv-service-row__figure::after,
.qv-service-row__figure .qv-corner-tick {
  content: '';
  position: absolute;
  width: 24px;
  height: 24px;
  border: 2px solid var(--qv-color-accent);
  z-index: 2;
  pointer-events: none;
}
.qv-service-row__figure::before {
  top: -8px;
  left: -8px;
  border-right: none;
  border-bottom: none;
}
.qv-service-row__figure::after {
  bottom: -8px;
  right: -8px;
  border-left: none;
  border-top: none;
}
/* --- "What this includes" bullet list --- */
.qv-service-row__includes {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--qv-space-6);
  display: flex;
  flex-direction: column;
  gap: var(--qv-space-2);
}
.qv-service-row__includes li {
  position: relative;
  padding-left: var(--qv-space-6);
  color: var(--qv-color-text-muted);
  font-size: 0.9375rem;
}
.qv-service-row__includes li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 8px;
  height: 8px;
  background: var(--qv-color-accent);
  border-radius: 2px;
  transform: rotate(45deg);
}
/* --- Industries: reuse the service-row layout, add icon accents --- */
.qv-industry-row__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--qv-radius-sm);
  background: var(--qv-color-blue-light);
  color: var(--qv-color-primary);
  margin-bottom: var(--qv-space-3);
}
.qv-industry-row__icon svg {
  width: 22px;
  height: 22px;
}
.qv-industry-row__icon-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 3;
  background: var(--qv-color-blue-light);
  color: var(--qv-color-primary);
  border-radius: var(--qv-radius-lg);
}
.qv-industry-row__icon-fallback svg {
  width: 96px;
  height: 96px;
}
/* --- Intro section above quick-jump nav: tighter padding, and no bottom
   padding at all if it's immediately followed by the sticky jump nav --- */
.qv-section--intro {
  padding-top: var(--qv-space-8);
  padding-bottom: var(--qv-space-4);
}
/* Small helper used on Clients/Contact/Quote pages when there IS intro copy */
.qv-section--intro-inline {
  margin-bottom: var(--qv-space-8);
}
/* --- Equipment row: two buttons side by side (spec sheet + quote) --- */
.qv-service-row__actions {
  display: flex;
  gap: var(--qv-space-3);
  flex-wrap: wrap;
}
/* --- About page: two-column layout with values sidebar --- */
.qv-about-layout__inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: var(--qv-space-12);
  align-items: start;
}
.qv-about-layout__aside {
  position: sticky;
  top: 100px;
}

.qv-values-card {
  background: linear-gradient(150deg, var(--qv-color-navy-deep) 0%, var(--qv-color-blue) 100%);
  border-radius: var(--qv-radius-lg);
  padding: var(--qv-space-8);
  color: rgba(255, 255, 255, 0.9);
  box-shadow: var(--qv-shadow-md);
}
.qv-values-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--qv-space-6);
}
.qv-values-list li {
  display: flex;
  gap: var(--qv-space-4);
}
.qv-values-list__icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(247, 146, 28, 0.18);
  color: var(--qv-color-accent);
}
.qv-values-list__icon svg {
  width: 20px;
  height: 20px;
}
.qv-values-list h4 {
  color: var(--qv-color-white);
  font-size: 1rem;
  margin-bottom: var(--qv-space-1);
}
.qv-values-list p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.65);
  margin: 0;
}

@media (max-width: 900px) {
  .qv-about-layout__inner {
    grid-template-columns: 1fr;
  }
  .qv-about-layout__aside {
    position: static;
  }
}
.qv-service-row__subtitle {
  font-family: var(--qv-font-mono);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--qv-color-accent);
  text-transform: uppercase;
  margin-bottom: var(--qv-space-2);
}
.qv-service-row__includes-label {
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--qv-color-navy-deep);
  margin-bottom: var(--qv-space-2);
}
.qv-site-footer .menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--qv-space-3);
}
/* --- Icons inside nav links (visible in mobile slide-out menu) --- */
.qv-nav-icon {
  display: none; /* hidden on desktop pill nav, only shows in mobile drawer */
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  margin-right: var(--qv-space-3);
  color: var(--qv-color-accent);
  flex-shrink: 0;
}
.qv-nav-icon svg {
  width: 100%;
  height: 100%;
}

@media (max-width: 900px) {
  .qv-nav-icon {
    display: inline-flex;
  }
  .qv-primary-nav a {
    display: flex;
    align-items: center;
    padding: var(--qv-space-4) var(--qv-space-4);
    border-radius: var(--qv-radius-md);
    font-size: 1.0625rem;
  }
  .qv-primary-nav a:hover,
  .qv-primary-nav .current-menu-item a {
    background: var(--qv-color-orange-light);
    color: var(--qv-color-orange-dark);
  }
  .qv-primary-nav .current-menu-item a .qv-nav-icon,
  .qv-primary-nav a:hover .qv-nav-icon {
    color: var(--qv-color-orange-dark);
  }
  .qv-primary-nav ul {
    gap: var(--qv-space-1);
  }
  .qv-primary-nav li:not(:last-child) {
    border-bottom: 1px solid var(--qv-color-border);
    padding-bottom: var(--qv-space-1);
  }
}
/* --- Scroll-reveal: sections fade + rise into view --- */
.qv-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.qv-reveal--visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Hero: slow Ken Burns zoom on the photo background --- */
.qv-hero--photo {
  animation: qv-hero-kenburns 24s ease-in-out infinite alternate;
}
@keyframes qv-hero-kenburns {
  0%   { background-size: 100%; }
  100% { background-size: 112%; }
}
@media (prefers-reduced-motion: reduce) {
  .qv-hero--photo { animation: none; }
}
.qv-nav-close {
  display: none;
}
@media (max-width: 900px) {
  .qv-nav-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin-bottom: var(--qv-space-4);
    margin-left: auto;
    background: var(--qv-color-gray-100);
    border: none;
    border-radius: 50%;
    color: var(--qv-color-navy-deep);
    cursor: pointer;
  }
  .qv-nav-close svg {
    width: 18px;
    height: 18px;
  }
  .qv-nav-close:hover {
    background: var(--qv-color-orange-light);
    color: var(--qv-color-orange-dark);
  }
}
.qv-project-single__meta .qv-spec-badge {
  margin-bottom: 0;
}