/*
Theme Name: Meiborg
Theme URI: https://meiborg.com
Author: Position Global
Author URI: https://position.global
Description: Custom WordPress theme for Meiborg Enterprises — parent brand for a family of specialized transportation, logistics, and fleet-services companies. Built for SEO-driven logistics and transportation services.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: Proprietary
License URI: https://meiborg.com
Text Domain: meiborg
Tags: custom-menu, custom-logo, featured-images, full-width-template, theme-options
*/

/* ══════════════════════════════════════════════════════════════ */
/* RESET & TOKENS                                                */
/* ══════════════════════════════════════════════════════════════ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --brand-1: #222222;
  --brand-2: #ffda00;       /* yellow */
  --brand-2-light: #ffe445;  /* lighter yellow for gradients */
  --brand-3: #0033a1;        /* aqua / brand navy */
  --brand-4: #cccccc;
  --brand-5: #666666;
  --white: #ffffff;
  --off-white: #f3f6fa;
  --text: #222222;
  --text-light: rgba(255,255,255,0.75);
  --transition: 0.3s ease-in-out;
  --radius-pill: 40px;
  --font-body: 'Archivo', helvetica, -apple-system, arial, sans-serif;
  --max-width: 1400px;
  --section-pad: clamp(60px, 8vw, 120px);

  /* ── Theme-aware tokens (dark mode = default) ── */
  --bg-body: #111111;
  --bg-surface: #1a1a1a;
  --bg-surface-alt: #151515;
  --bg-surface-hover: #222222;
  --text-heading: #ffffff;
  --text-body: #dddddd;
  --text-secondary: #bbbbbb;
  --text-muted: #888888;
  --border-subtle: rgba(255,255,255,0.08);
  --card-border: rgba(255,255,255,0.06);
  --shadow-color: rgba(0,0,0,0.4);
  --scrolled-header-bg: rgba(20,20,20,0.97);
  --scrolled-header-border: rgba(255,255,255,0.06);
  --scrolled-header-shadow: rgba(0,0,0,0.3);
  --scrolled-link-color: #ffffff;
  --scrolled-link-hover: var(--brand-3);
  --input-bg: #1a1a1a;
  --input-border: rgba(255,255,255,0.12);
  --dropdown-bg: rgba(30,30,30,0.97);
  --dropdown-text: #e0e0e0;
  --dropdown-hover-bg: rgba(255,255,255,0.06);
  --marquee-opacity: 0.12;
  --logo-filter-scrolled: brightness(0) invert(1);
  --nav-open-bg: #1a1a1a;
  --nav-open-link: #ffffff;
  --faq-border: rgba(255,255,255,0.08);
  --faq-text: #ffffff;
  --faq-body: #dddddd;
  --feature-number-color: rgba(255,255,255,0.04);
  --divider-color: rgba(255,255,255,0.08);
  --blockquote-bg: #1a1a1a;
  --off-white-resolved: #151515;
}

/* ── Light mode overrides ── */
[data-theme="light"] {
  --bg-body: #ffffff;
  --bg-surface: #ffffff;
  --bg-surface-alt: #f3f6fa;
  --bg-surface-hover: #f3f6fa;
  --text-heading: #111111;
  --text-body: #1a1a1a;
  --text-secondary: #2a2a2a;
  --text-muted: #444444;
  --border-subtle: rgba(17,17,17,0.12);
  --card-border: rgba(17,17,17,0.12);
  --shadow-color: rgba(17,17,17,0.1);
  --scrolled-header-bg: rgba(255,255,255,0.97);
  --scrolled-header-border: rgba(17,17,17,0.08);
  --scrolled-header-shadow: rgba(17,17,17,0.1);
  --scrolled-link-color: #111111;
  --scrolled-link-hover: var(--brand-3);
  --input-bg: #ffffff;
  --input-border: rgba(17,17,17,0.2);
  --dropdown-bg: rgba(255,255,255,0.97);
  --dropdown-text: #111111;
  --dropdown-hover-bg: #f3f6fa;
  --marquee-opacity: 0.08;
  --logo-filter-scrolled: none;
  --nav-open-bg: #ffffff;
  --nav-open-link: #111111;
  --faq-border: rgba(17,17,17,0.14);
  --faq-text: #111111;
  --faq-body: #1a1a1a;
  --feature-number-color: rgba(17,17,17,0.06);
  --divider-color: rgba(17,17,17,0.14);
  --blockquote-bg: #f3f6fa;
  --off-white-resolved: #f3f6fa;
}

/* ── Light mode: kill scroll-in fades and tighten body-copy contrast ── */
[data-theme="light"] .anim,
[data-theme="light"] .anim-left,
[data-theme="light"] .anim-right,
[data-theme="light"] .anim-scale {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

/* Light-mode text overrides — force dark, legible body copy.
 * Several rules hardcode --brand-4 (#cccccc, a mid-grey intended for dark
 * backgrounds). That's near-invisible on white, so we re-route those to the
 * theme-aware --text-body token here.
 */
[data-theme="light"] .two-col-body p,
[data-theme="light"] .news-featured-body p,
[data-theme="light"] .content-media-text p,
[data-theme="light"] .entry-content p { color: var(--text-body); }

[data-theme="light"] .section-pre { color: #333333; }
[data-theme="light"] .section-subtitle { color: var(--text-body); }
[data-theme="light"] .lead-text { color: var(--text-body); }
[data-theme="light"] .big-number-label { color: var(--text-secondary); }
[data-theme="light"] .pull-quote cite { color: var(--text-secondary); }
[data-theme="light"] .content-media-text .section-pre { color: var(--text-secondary); }
/* Breadcrumbs live on the dark page-hero overlay regardless of theme,
 * so they stay light in both modes. No light-mode override needed. */

/* Card body copy and meta text */
[data-theme="light"] .card p,
[data-theme="light"] .brand-card p,
[data-theme="light"] .blog-card p { color: var(--text-body); }
[data-theme="light"] .blog-date { color: var(--text-secondary); }
[data-theme="light"] .card-link { color: var(--text-body); }

/* Font weight bump — 300 on white is whispery. Nudge body copy up. */
[data-theme="light"] .two-col-body p,
[data-theme="light"] .news-featured-body p,
[data-theme="light"] .content-media-text p,
[data-theme="light"] .entry-content p,
[data-theme="light"] .card p,
[data-theme="light"] .brand-card p,
[data-theme="light"] .blog-card p,
[data-theme="light"] .lead-text,
[data-theme="light"] .section-subtitle { font-weight: 400; }

/* ══════════════════════════════════════════════════════════════ */
/* LIGHT MODE: FLIP DARK SECTIONS                                  */
/* Inverts intentionally-dark panels (testimonials, logos band,    */
/* footer, .section-dark/navy, service tile grid) to a light       */
/* surface with dark type. The CTA band is image-driven, so it     */
/* keeps its dark overlay for legibility over the photo.           */
/* ══════════════════════════════════════════════════════════════ */

/* Section backgrounds */
[data-theme="light"] .section-dark,
[data-theme="light"] .section-navy,
[data-theme="light"] .footer,
[data-theme="light"] .logos-band,
[data-theme="light"] .service-grid-section {
  background: var(--bg-surface-alt);
  color: var(--text-body);
}

/* Section-level heading/body text inside flipped sections */
[data-theme="light"] .section-dark .section-title,
[data-theme="light"] .section-navy .section-title,
[data-theme="light"] .section-dark .two-col h2,
[data-theme="light"] .section-navy .two-col h2 { color: var(--text-heading) !important; }

[data-theme="light"] .section-dark .section-subtitle,
[data-theme="light"] .section-navy .section-subtitle { color: var(--text-body) !important; }

[data-theme="light"] .section-dark .section-pre,
[data-theme="light"] .section-navy .section-pre { color: var(--brand-2); }

[data-theme="light"] .section-dark .two-col-body p,
[data-theme="light"] .section-navy .two-col-body p { color: var(--text-body); }

/* Logos band — darken label, reinvert logos so they read on white */
[data-theme="light"] .logos-band-label { color: var(--text-secondary); }
/* Manufacturer logos render white for dark backgrounds. In light mode,
 * strip color + darken so they show as a soft gray silhouette. */
[data-theme="light"] .logos-grid img { filter: brightness(0); opacity: 0.4; }
[data-theme="light"] .logos-grid img:hover { opacity: 0.75; }

/* Testimonial cards — flip from translucent-white to translucent-black */
[data-theme="light"] .testimonial-card {
  background: var(--bg-surface);
  border-color: var(--card-border);
  box-shadow: 0 4px 14px var(--shadow-color);
}
[data-theme="light"] .testimonial-card-quote { color: var(--text-body); }
[data-theme="light"] .testimonial-card-author { color: var(--text-heading); }
[data-theme="light"] .testimonial-source { color: var(--text-muted); }

/* Service tiles grid background — the individual tiles keep their
 * image overlays, but the grid's surrounding area becomes light. */
[data-theme="light"] .service-grid-section { background: var(--bg-surface-alt); }

/* Footer */
[data-theme="light"] .footer p,
[data-theme="light"] .footer a { color: var(--text-body); }
[data-theme="light"] .footer h4 { color: var(--text-muted); }
[data-theme="light"] .footer a:hover { color: var(--brand-2); }
[data-theme="light"] .footer-contact a { color: var(--text-heading); }
[data-theme="light"] .footer-bottom {
  border-top-color: var(--border-subtle);
  color: var(--text-muted);
}

/* Stats band — numbers lose the teal glow halo when on a light bg */
[data-theme="light"] .stat-number {
  color: var(--text-heading);
  text-shadow: none;
}
[data-theme="light"] .stat-label { color: var(--text-secondary); }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--text-body);
  background:
    radial-gradient(circle, rgba(255,255,255,0.12) 1px, transparent 1px) 0 0 / 28px 28px,
    var(--bg-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background 0.4s ease, color 0.4s ease;
}
[data-theme="light"] body {
  background:
    radial-gradient(circle, rgba(0,0,0,0.08) 1px, transparent 1px) 0 0 / 28px 28px,
    var(--bg-body);
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* ══════════════════════════════════════════════════════════════ */
/* BUTTONS                                                        */
/* ══════════════════════════════════════════════════════════════ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 32px; font-family: var(--font-body);
  font-size: 14px; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase; border: none;
  cursor: pointer; text-decoration: none;
  position: relative; z-index: 0; overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}
/* Animated gradient shimmer inside the button */
.btn::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.15) 25%, transparent 50%);
  background-size: 200% 100%;
  z-index: 1; opacity: 0;
  transition: opacity 0.3s ease;
  animation: btnShimmer 3s ease-in-out infinite;
  pointer-events: none;
}
.btn:hover::before { opacity: 1; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
@keyframes btnShimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand-2) 0%, var(--brand-2-light) 50%, var(--brand-2) 100%);
  background-size: 200% 100%;
  color: var(--brand-1);
  animation: btnGradient 6s ease infinite;
}
.btn-primary:hover { filter: brightness(1.05); }
@keyframes btnGradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.btn-secondary { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.45); }
.btn-secondary:hover { border-color: var(--white); background: rgba(255,255,255,0.08); }
.btn-secondary::before {
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.1) 25%, transparent 50%);
  background-size: 200% 100%;
}

.btn-dark {
  background: linear-gradient(135deg, var(--text-heading) 0%, var(--text-secondary) 50%, var(--text-heading) 100%);
  background-size: 200% 100%;
  color: var(--bg-body);
  animation: btnGradient 6s ease infinite;
}
.btn-dark:hover { filter: brightness(1.2); }

.btn-outline-dark { background: transparent; color: var(--text-heading); border: 2px solid var(--text-heading); }
.btn-outline-dark:hover { background: var(--text-heading); color: var(--bg-body); }
.btn-outline-dark::before {
  background: linear-gradient(90deg, transparent 0%, rgba(34,34,34,0.08) 25%, transparent 50%);
  background-size: 200% 100%;
}

.btn-sm { padding: 10px 22px; font-size: 12px; }

/* ══════════════════════════════════════════════════════════════ */
/* HEADER / NAV                                                   */
/* ══════════════════════════════════════════════════════════════ */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: transparent; padding: 0 48px;
  border-bottom: 1px solid transparent;
  transition: background 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}
.header.scrolled {
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  background: var(--scrolled-header-bg);
  border-bottom-color: var(--scrolled-header-border);
  box-shadow: 0 2px 20px var(--scrolled-header-shadow);
}
.header.scrolled .header-inner { height: 64px; }
.header.scrolled .nav-logo img { height: 32px; }
.header.scrolled .nav-link { padding-top: 20px; padding-bottom: 20px; }
.header-inner {
  max-width: var(--max-width); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 80px; transition: height 0.4s ease;
}
.nav-logo img { height: 40px; width: auto; transition: height 0.4s ease; }
.nav-links { display: flex; align-items: center; gap: 0; }
.nav-link {
  font-size: 15px; font-weight: 600; color: var(--white);
  padding: 28px 14px; letter-spacing: 0.3px;
  transition: color 0.4s ease;
}
.nav-link:hover, .nav-link.active { color: var(--brand-2); }
.header.scrolled .nav-link { color: var(--scrolled-link-color); }
.header.scrolled .nav-link:hover, .header.scrolled .nav-link.active { color: var(--scrolled-link-hover); }
.nav-right { display: flex; align-items: center; gap: 10px; padding-left: 16px; border-left: 1px solid rgba(255,255,255,0.2); transition: border-color 0.4s ease; }
.header.scrolled .nav-right { border-left-color: var(--border-subtle); }
.header .btn-outline-dark { color: var(--white); border-color: var(--white); }
.header .btn-outline-dark:hover { background: var(--white); color: var(--brand-1); border-color: var(--white); }
.header .btn-outline-dark::before {
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.12) 25%, transparent 50%);
  background-size: 200% 100%;
}
.header.scrolled .btn-outline-dark { color: var(--scrolled-link-color); border-color: var(--scrolled-link-color); }
.header.scrolled .btn-outline-dark:hover { background: var(--scrolled-link-color); color: var(--bg-body); border-color: var(--scrolled-link-color); }
.nav-dropdown {
  display: none; position: absolute; top: calc(100% + 8px); left: 0;
  background: var(--dropdown-bg); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  min-width: 240px; box-shadow: 0 12px 40px var(--shadow-color);
  padding: 12px 0; z-index: 200; border-radius: 4px;
  transition: background 0.4s ease;
}
.nav-dropdown:hover { background: var(--dropdown-bg); }
.nav-item:hover .nav-dropdown { display: block; }
.nav-dropdown a {
  display: block; padding: 10px 24px; font-size: 14px;
  font-weight: 500; color: var(--dropdown-text);
  transition: background var(--transition), color var(--transition);
}
.nav-dropdown a:hover { background: var(--dropdown-hover-bg); color: var(--brand-2); }

/* Mobile menu toggle */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--white); margin: 5px 0; transition: all 0.3s; }
.header.scrolled .nav-toggle span { background: var(--scrolled-link-color); }

/* Hamburger → X animation when the slideout is open */
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Submenu toggle button (injected by JS for every parent nav item).
 * Hidden on desktop — the dropdown opens on hover there. Styled and
 * positioned inside the mobile @media block below. */
.nav-submenu-toggle { display: none; }

/* Desktop CTA wrapper (Drive for Us + Track). Hidden on mobile via the
 * @media block below, where the buttons surface inside the slideout. */
.nav-desktop-ctas { display: flex; align-items: center; gap: 10px; }
/* Mobile-only CTA block lives inside the nav-links slideout; hidden on desktop. */
.nav-mobile-ctas { display: none; }

/* ══════════════════════════════════════════════════════════════ */
/* HERO                                                           */
/* ══════════════════════════════════════════════════════════════ */
.hero {
  position: relative; min-height: 90vh; display: flex; align-items: center;
  padding: clamp(100px, 10vw, 140px) 48px clamp(80px, 8vw, 120px);
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center center;
}
.hero-video {
  position: absolute; top: 50%; left: 50%;
  min-width: 100%; min-height: 100%;
  width: auto; height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
}
.hero-bg::after {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(to bottom, rgba(17,17,17,0.15) 0%, rgba(17,17,17,0.4) 40%, rgba(17,17,17,0.85) 100%),
    linear-gradient(135deg, rgba(34,34,34,0.5) 0%, transparent 60%);
}
@keyframes heroZoom { 0% { transform: scale(1); } 100% { transform: scale(1.08); } }

/* Animated clouds — REMOVED per client request (May 2026).
 * Markup was deleted from front-page.php. Styles kept commented in case the
 * effect needs to be revived later; safe to delete entirely.
 *
 * .hero-clouds { position: absolute; inset: 0; z-index: 1; overflow: hidden; pointer-events: none; }
 * .cloud { position: absolute; width: 200%; height: 100%; background-repeat: repeat-x; background-size: 50% auto; filter: blur(40px); opacity: 0; animation-fill-mode: forwards; }
 * .cloud-1 { top: -5%; background-image:
 *     radial-gradient(circle 220px at 8% 40%, rgba(17,17,17,0.70) 0%, transparent 100%),
 *     radial-gradient(circle 300px at 30% 35%, rgba(17,17,17,0.60) 0%, transparent 100%),
 *     radial-gradient(circle 180px at 55% 45%, rgba(17,17,17,0.65) 0%, transparent 100%),
 *     radial-gradient(circle 260px at 80% 38%, rgba(17,17,17,0.55) 0%, transparent 100%);
 *   animation: cloudDrift1 60s linear infinite, cloudFadeIn 3s ease forwards;
 * }
 * .cloud-2 { top: 25%; background-image:
 *     radial-gradient(circle 280px at 12% 50%, rgba(17,17,17,0.55) 0%, transparent 100%),
 *     radial-gradient(circle 340px at 40% 42%, rgba(17,17,17,0.50) 0%, transparent 100%),
 *     radial-gradient(circle 200px at 65% 48%, rgba(17,17,17,0.58) 0%, transparent 100%),
 *     radial-gradient(circle 310px at 88% 44%, rgba(17,17,17,0.45) 0%, transparent 100%);
 *   animation: cloudDrift2 80s linear infinite, cloudFadeIn 4s ease forwards;
 * }
 * .cloud-3 { top: 50%; background-image:
 *     radial-gradient(circle 240px at 18% 50%, rgba(17,17,17,0.50) 0%, transparent 100%),
 *     radial-gradient(circle 300px at 48% 45%, rgba(17,17,17,0.55) 0%, transparent 100%),
 *     radial-gradient(circle 210px at 72% 50%, rgba(17,17,17,0.42) 0%, transparent 100%);
 *   animation: cloudDrift3 100s linear infinite, cloudFadeIn 5s ease forwards;
 * }
 * @keyframes cloudDrift1 { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
 * @keyframes cloudDrift2 { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
 * @keyframes cloudDrift3 { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
 * @keyframes cloudFadeIn { 0% { opacity: 0; } 100% { opacity: 1; } }
 */
.hero-container { position: relative; z-index: 2; max-width: var(--max-width); margin: 0 auto; width: 100%; }
.hero-container p {
	color:white;
	line-height: 1.8;
}
.hero-content { max-width: 680px; }
.hero-pre {
  font-size: 13px; font-weight: 700; letter-spacing: 4px; text-transform: uppercase;
  color: var(--brand-2); margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(2.5rem, 2rem + 3vw, 4rem); font-weight: 900;
  color: var(--white); line-height: 1.1; letter-spacing: -1px; margin-bottom: 24px;
}
.hero h1 em { font-style: normal; color: var(--brand-2); }
.hero p {
  font-size: 18px; font-weight: 300; color: var(--text-light);
  max-width: 520px; line-height: 1.7; margin-bottom: 40px;
}
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 30px; }

/* Page hero (smaller for inner pages) */
.page-hero {
  position: relative; min-height: 55vh; display: flex; align-items: center;
  padding: clamp(100px, 10vw, 160px) 48px clamp(60px, 6vw, 80px);
  overflow: hidden;
}
.page-hero .hero-bg {
  will-change: transform;
  transition: none;
}
.page-hero .hero-bg::after {
  background: linear-gradient(to right, rgba(34,34,34,0.9) 0%, rgba(34,34,34,0.7) 40%, rgba(34,34,34,0.15) 75%, transparent 100%);
}
.page-hero .hero-content { max-width: 800px; }
.page-hero h1 {
  font-size: clamp(2.25rem, 1.5rem + 3vw, 3.75rem); font-weight: 900;
  color: var(--white); line-height: 1.1; letter-spacing: -1px; margin-bottom: 20px;
}
.page-hero p {
  font-size: 18px; font-weight: 300; color: rgba(255,255,255,0.75);
  line-height: 1.7; max-width: 560px;
}
.page-hero .hero-pre {
  font-size: 13px; font-weight: 700; letter-spacing: 4px; text-transform: uppercase;
  color: var(--brand-2); margin-bottom: 20px;
  display: inline-flex; align-items: center; gap: 12px;
}
.page-hero .hero-pre::before {
  content: ''; display: block; width: 32px; height: 2px; background: var(--company-brand-color, var(--brand-2));
}
/* Hero scroll indicator */
.hero-scroll-hint {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%); z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(255,255,255,0.4); font-size: 11px; letter-spacing: 3px; text-transform: uppercase;
  animation: heroScrollBounce 2s ease-in-out infinite;
}
.hero-scroll-line {
  width: 1px; height: 40px; background: linear-gradient(180deg, rgba(255,255,255,0.4) 0%, transparent 100%);
}
/* Big solo arrow variant (used on the news archive hero) */
.hero-scroll-arrow {
  font-size: 40px;
  line-height: 1;
  color: rgba(255,255,255,0.55);
}
/* News archive: drop the scroll hint lower in the hero */
.post-type-archive-meiborg_news .hero-scroll-hint {
  bottom: 8px;
}
@keyframes heroScrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ══════════════════════════════════════════════════════════════ */
/* SERVICE PILLS BAR (replaces scrolling marquee)                 */
/* ══════════════════════════════════════════════════════════════ */
.service-pills-bar {
  padding: 28px 24px;
  background: var(--bg-surface-alt);
  position: relative;
  overflow: hidden;
}
/* Mouse-following glow element (positioned via JS) */
.pills-glow {
  position: absolute; top: 0; left: 0;
  width: 400px; height: 200px;
  background: radial-gradient(ellipse, rgba(255,218,0,0.14) 0%, rgba(0,51,161,0.06) 40%, transparent 70%);
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s ease;
  opacity: 0;
  z-index: 0;
}
.service-pills-bar:hover .pills-glow { opacity: 1; }
.service-pills-track {
  display: flex;
  flex-wrap: nowrap;
  justify-content: safe center;
  gap: 12px;
  margin: 0 auto;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
  scrollbar-width: none;        /* Firefox: hide scrollbar */
  -ms-overflow-style: none;     /* IE/Edge legacy: hide scrollbar */
  /* Soft-fade the left/right edges to signal there's more to scroll */
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 28px, #000 calc(100% - 28px), transparent 100%);
          mask-image: linear-gradient(to right, transparent 0, #000 28px, #000 calc(100% - 28px), transparent 100%);
}
.service-pills-track::-webkit-scrollbar { display: none; } /* Chrome/Safari: hide scrollbar */
.service-pill {
  display: inline-flex;
  align-items: center;
  padding: 10px 24px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-secondary);
  background: transparent;
  text-decoration: none;
  transition: border-color var(--transition), color var(--transition), background var(--transition);
  white-space: nowrap;
  flex: 0 0 auto;            /* never shrink; keeps each pill on one line */
  scroll-snap-align: start;
}
.service-pill:hover {
  border-color: var(--brand-3);
  color: var(--brand-2);
  background: rgba(0,51,161,0.08);
}
[data-theme="light"] .service-pill {
  border-color: rgba(34,34,34,0.15);
  color: var(--text-secondary);
}
[data-theme="light"] .service-pill:hover {
  border-color: var(--brand-3);
  color: var(--brand-2);
  background: rgba(0,51,161,0.06);
}
@media (max-width: 600px) {
  .service-pills-track { gap: 8px; }
  .service-pill { padding: 8px 16px; font-size: 12px; }
}

/* ══════════════════════════════════════════════════════════════ */
/* SECTIONS                                                       */
/* ══════════════════════════════════════════════════════════════ */
.section { padding: var(--section-pad) 48px; }
/* Flat gray sections get a slow, subtle moving gradient in dark mode
   (gray with a low-saturation navy drift, echoing the section-gray glow).
   Light mode is reset to flat just below. */
.section-dark, .section-navy, .service-grid-section {
  color: var(--white);
  background: var(--brand-1); /* fallback */
  background-image: linear-gradient(120deg, #1c1c1c 0%, #242424 22%, #15233f 50%, #232323 74%, #1a1a1a 100%);
  background-size: 300% 300%;
  animation: meiborg-bg-pan 22s ease-in-out infinite;
}
@keyframes meiborg-bg-pan {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
[data-theme="light"] .section-dark,
[data-theme="light"] .section-navy,
[data-theme="light"] .service-grid-section { background-image: none; animation: none; }
@media (prefers-reduced-motion: reduce) {
  .section-dark, .section-navy, .service-grid-section { animation: none; }
}
.section-gray { background: var(--bg-surface-alt); position: relative; overflow: hidden; }
/* Soft teal glow in upper-right corner of gray sections */
.section-gray::after {
  content: ''; position: absolute; top: -100px; right: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(0,51,161,0.18) 0%, transparent 70%);
  pointer-events: none; z-index: 0;
}
.section-gray > * { position: relative; z-index: 1; }
.section-accent { background: var(--brand-5); color: var(--white); }
.section-teal { background: #0A5E6A; color: var(--white); }
.container { max-width: var(--max-width); margin: 0 auto; }
.section-pre { 
  font-size: 13px; font-weight: 700; letter-spacing: 4px; text-transform: uppercase;
  color: var(--brand-5); margin-bottom: 16px;
}
.section-dark .section-pre {  color: var(--brand-2); }
.section-title {
  font-size: clamp(2rem, 1.5rem + 2vw, 3rem); font-weight: 800;
  color: var(--text-heading); line-height: 1.15; letter-spacing: -0.5px; margin-bottom: 20px;
}
.section-dark .section-title { color: var(--white); }
.section-subtitle {
  font-size: 17px; font-weight: 300; color: var(--text-secondary); max-width: 600px; line-height: 1.8;
}
.section-dark .section-subtitle { color: rgba(255,255,255,0.6); }

/* ══════════════════════════════════════════════════════════════ */
/* TWO-COLUMN CONTENT                                             */
/* ══════════════════════════════════════════════════════════════ */
.two-col { display: grid; grid-template-columns: 1fr 1.3fr; gap: 80px; align-items: start; }
.two-col.two-col-center { align-items: center; }
.two-col h2 {
  font-size: clamp(1.75rem, 1.25rem + 2vw, 2.5rem); font-weight: 800;
  color: var(--text-heading); line-height: 1.2; letter-spacing: -0.5px;
}
.section-dark .two-col h2 { color: var(--white); }
.two-col-body p {
  font-size: 18px; font-weight: 300; color: var(--brand-4); line-height: 1.85; margin-bottom: 20px;
}
.section-dark .two-col-body p { color: rgba(255,255,255,0.6); }

/* ══════════════════════════════════════════════════════════════ */
/* SERVICE TILES (SLIDER)                                         */
/* ══════════════════════════════════════════════════════════════ */
.service-grid-section { background-color: var(--brand-1); }
.service-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  padding: 60px 20px; max-width: var(--max-width); margin: 0 auto;
}
.service-tile {
  position: relative; aspect-ratio: 3/3.5; overflow: hidden; cursor: pointer;
  background: var(--brand-1); border-radius: 6px;
}
/* Teal accent bar that slides in from the left on hover */
.service-tile::before {
  content: ''; position: absolute; bottom: 0; left: 0; z-index: 3;
  width: 0; height: 3px; background: var(--brand-3);
  transition: width 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.service-tile:hover::before { width: 100%; }
.service-tile-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center bottom;
  transition: opacity var(--transition), transform 0.6s ease-out;
  opacity: 0.55;
}
.service-tile:hover .service-tile-bg { opacity: 0.35; transform: scale(1.08); }
.service-tile::after {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(0deg, var(--brand-1) 0%, rgba(34,34,34,0.3) 50%, rgba(34,34,34,0) 100%);
}
.service-tile-content {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 2; padding: 40px;
}
.service-tile h3 {
  font-size: clamp(1.25rem, 1rem + 1vw, 2rem); font-weight: 700;
  color: var(--white); line-height: 1.2; margin-bottom: 8px;
}
.service-tile p { font-size: 14px; color: rgba(255,255,255,0.6); line-height: 1.5; }
.service-tile .tile-arrow {
  display: inline-flex; margin-top: 16px; width: 32px; height: 32px;
  border: 1.5px solid rgba(255,255,255,0.3); border-radius: 50%;
  align-items: center; justify-content: center;
  color: var(--white); font-size: 14px;
  transition: border-color var(--transition), background var(--transition);
}
.service-tile:hover .tile-arrow { border-color: var(--brand-3); background: var(--brand-3); }


/* ══════════════════════════════════════════════════════════════ */
/* STATS BAND                                                     */
/* ══════════════════════════════════════════════════════════════ */
/* Force all four stats onto a single row at desktop. Switched from
 * flex+wrap (which let "Specialized Logistics Companies" drop to a
 * second line when ACF-overridden labels got long) to a fixed 4-col
 * grid. Gap tightened so the four columns reliably fit at common
 * viewport widths. Mobile reset is in the 768px @media block below. */
.stats-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(24px, 3vw, 64px);
  align-items: start;
  justify-items: center;
}
.stat { text-align: center; min-width: 0; }
.stat-number {
  font-size: clamp(2.5rem, 2rem + 3vw, 4.5rem); font-weight: 900;
  color: var(--white); line-height: 1;
  text-shadow: 0 0 20px rgba(0,51,161,0.5), 0 0 50px rgba(0,51,161,0.25), 0 0 80px rgba(0,51,161,0.1);
}
.stat-label {
  font-size: 14px; font-weight: 400; text-transform: uppercase; letter-spacing: 3px;
  color: rgba(255,255,255,0.4); margin-top: 12px;
}
.stat-star { font-size: 0.5em; color: var(--brand-2); vertical-align: super; }
.stat-unit { font-size: 0.38em; font-weight: 700; vertical-align: super; letter-spacing: 0.02em; margin-left: 0.12em; text-shadow: none; white-space: nowrap; }

/* Meiborg Supply product sections: consistent headline-left/copy-right, with a
   subtle divider so each product reads as its own band. */
.supply-product { border-top: 1px solid var(--card-border); }
.supply-product:first-of-type { border-top: none; }

/* Orbit Fuels "Meet the Owner" pull quote */
.of-owner-quote { font-size: clamp(1.35rem, 1.1rem + 1.1vw, 2rem); font-weight: 700; font-style: italic; line-height: 1.3; color: var(--brand-2); border-left: 4px solid var(--brand-2); padding-left: 24px; margin: 0; }

/* ══════════════════════════════════════════════════════════════ */
/* CARDS                                                          */
/* ══════════════════════════════════════════════════════════════ */
.card-grid { display: grid; gap: 24px; }
.card-grid-3 { grid-template-columns: repeat(3, 1fr); }
.card-grid-4 { grid-template-columns: repeat(4, 1fr); }
.card-grid-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--bg-surface); border: 1px solid var(--card-border);
  padding: 40px 32px; transition: box-shadow var(--transition), transform var(--transition), background 0.4s ease, border-color 0.4s ease;
}
.card:hover { box-shadow: 0 8px 40px var(--shadow-color); transform: translateY(-4px); }
.card-icon {
  width: 56px; height: 56px; border-radius: 50%;
  background: rgba(0,51,161,0.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; margin-bottom: 20px;
}
.card-icon img { filter: brightness(0) saturate(100%) invert(39%) sepia(90%) saturate(600%) hue-rotate(150deg) brightness(85%) contrast(90%); }
/* ── Brand Logo (used inside .brand-card on the homepage + Our Companies)
 *
 * No card background — the logo sits directly on the parent surface.
 * Uniform container size so every logo occupies the same visual footprint
 * regardless of its native aspect ratio. Dark grayscale by default; full
 * brand color on hover (smooth fade transition). */
.card-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 80px;
  margin-bottom: 24px;
  background: transparent;
  padding: 0;
}
.card-logo img {
  max-height: 100%;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  /* Dark grayscale default. Hover state restores brand color. */
  filter: grayscale(100%) brightness(0.45) contrast(1.05);
  opacity: 0.85;
  transition: filter 0.35s ease, opacity 0.35s ease;
}
.brand-card { text-align: center; }
.brand-card .card-link { display: inline-flex; }
.brand-card:hover .card-logo img {
  filter: none;
  opacity: 1;
}
.card h3 { font-size: 18px; font-weight: 700; color: var(--text-heading); margin-bottom: 10px; }
.card p { font-size: 17px; font-weight: 300; color: var(--text-secondary); line-height: 1.7; }
.card-link {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 16px;
  font-size: 14px; font-weight: 600; color: var(--brand-5); transition: color var(--transition);
}
.card-link:hover { color: var(--brand-2); }

/* SERVICE CARDS (icon-based) */
.service-card-icon {
  display: flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 10px;
  background: var(--border-subtle); color: var(--text-heading);
  margin-bottom: 16px; transition: all 0.3s ease;
}
.service-card:hover .service-card-icon { 
  background: var(--brand-1); color: var(--white);
}

/* SERVICE CARDS with background image */
.service-card-has-bg {
  position: relative; overflow: hidden; padding: 0;
  min-height: 320px; display: flex; flex-direction: column; justify-content: flex-end;
  border: none;
}
.service-card-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transition: transform 0.6s ease-out;
}
.service-card-has-bg:hover .service-card-bg { transform: scale(1.05); }
.service-card-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(34,34,34,0.92) 0%, rgba(34,34,34,0.6) 45%, rgba(34,34,34,0.1) 75%, transparent 100%);
}
.service-card-body {
  position: relative; z-index: 2; padding: 32px;
}
.service-card-has-bg h3 { color: var(--white); }
.service-card-has-bg p { color: rgba(255,255,255,0.7); }
.service-card-has-bg .card-link { color: var(--brand-2); }
.service-card-has-bg .service-card-icon {
  background: rgba(255,255,255,0.15); color: var(--white);
}
.service-card-has-bg:hover .service-card-icon {
  background: var(--brand-3); color: var(--white);
}
.service-card-has-bg:hover {
  box-shadow: 0 12px 48px rgba(0,0,0,0.4); transform: translateY(-4px);
}

/* IMAGE CARDS */
.card-img { overflow: hidden; padding: 0; border: none; }
.card-img-photo {
  aspect-ratio: 16/10; background-size: cover; background-position: center bottom;
  transition: transform 0.6s ease-out;
}
.card-img:hover .card-img-photo { transform: scale(1.05); }
.card-img-body { padding: 32px; }
.card-img-body h3 { font-size: 18px; font-weight: 700; color: var(--text-heading); margin-bottom: 10px; }
.card-img-body p { font-size: 17px; font-weight: 300; color: var(--text-secondary); line-height: 1.7; }

/* ══════════════════════════════════════════════════════════════ */
/* BRAND CARDS (Our Companies + Homepage logo grid)               */
/* ══════════════════════════════════════════════════════════════ */
.brand-card {
  background: var(--bg-surface);
  border: 1px solid var(--card-border);
  padding: 40px 32px;
  text-align: center;
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}
.brand-card:hover {
  box-shadow: 0 12px 48px var(--shadow-color);
  transform: translateY(-6px);
  border-color: var(--brand-3);
}
.brand-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 12px;
  text-align: center;
}
.brand-card p {
  font-size: 16px;
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 20px;
  text-align: center;
}
.brand-card .card-link {
  color: var(--brand-2);
  margin-top: auto;
}
/* Make every brand card the same height in the grid so logos align row-to-row. */
.companies-grid .brand-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* ══════════════════════════════════════════════════════════════ */
/* SPLIT SECTION                                                  */
/* ══════════════════════════════════════════════════════════════ */
.split {
  display: grid; grid-template-columns: 1fr 1fr; min-height: 500px; position: relative;
  /* Full viewport width; text column handles its own outer indent */
}
/* Subtle teal glow behind the split section */
.split::before {
  content: ''; position: absolute; top: 50%; left: 50%;
  width: 600px; height: 600px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(0,51,161,0.2) 0%, transparent 70%);
  pointer-events: none; z-index: 0;
}
.split-img {
  position: relative; overflow: hidden;
  background-size: contain; background-position: center;
	background-repeat:no-repeat;
  /* Image on the LEFT → hard inside (right) edge, fade outside (left) edge */
  -webkit-mask-image: linear-gradient(to left, #000 0%, #000 60%, transparent 100%);
          mask-image: linear-gradient(to left, #000 0%, #000 60%, transparent 100%);
}
.split-img::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(34,34,34,0) 60%, rgba(34,34,34,0.05) 100%);
}
.split-text {
  /* Text on the RIGHT → outside padding pins right edge to the max-width gutter */
  padding-block: clamp(40px, 5vw, 80px);
  padding-inline-start: clamp(40px, 5vw, 80px);
  padding-inline-end: max(clamp(40px, 5vw, 80px), calc((100vw - var(--max-width)) / 2 + clamp(24px, 2vw, 40px)));
  display: flex; flex-direction: column; justify-content: center;
}
.split-text h2 {
  font-size: clamp(1.5rem, 1rem + 2vw, 2.25rem); font-weight: 800;
  color: var(--text-heading); line-height: 1.2; margin-bottom: 20px;
}
.split-text p { font-size: 18px; font-weight: 300; color: var(--text-secondary); line-height: 1.8; margin-bottom: 24px; }
.split-text .btn, .two-col .btn { margin-top: 16px; align-self: flex-start; width: fit-content; }
.cta-band .btn { margin-top: 16px; }

/* ══════════════════════════════════════════════════════════════ */
/* CTA BAND                                                       */
/* ══════════════════════════════════════════════════════════════ */
.cta-band { text-align: center; padding: clamp(60px, 6vw, 100px) 48px; }
.cta-band h2 {
  font-size: clamp(1.75rem, 1.25rem + 2vw, 2.75rem); font-weight: 800;
  color: var(--white); margin-bottom: 16px; letter-spacing: -0.3px;
  max-width: 900px; margin-left: auto; margin-right: auto;
}
.cta-band p { font-size: 17px; font-weight: 300; color: rgba(255,255,255,0.6); margin-bottom: 36px; max-width: 900px; margin-left: auto; margin-right: auto; }
.cta-band .btn { margin: 0 8px; }
.cta-band-img {
  position: relative; overflow: hidden;
  background-size: cover; background-position: center bottom;
}
.cta-band-img::before {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, rgba(17,17,17,0.6) 0%, rgba(17,17,17,0.85) 100%),
    linear-gradient(135deg, rgba(0,51,161,0.12) 0%, transparent 50%);
}
.cta-band-img > * { position: relative; z-index: 1; }

/* ══════════════════════════════════════════════════════════════ */
/* BLOG/NEWS CARDS                                                */
/* ══════════════════════════════════════════════════════════════ */
.blog-card { overflow: hidden; cursor: pointer; transition: transform var(--transition); }
.blog-card:hover { transform: translateY(-4px); }
.blog-thumb {
  aspect-ratio: 16/10; background-size: cover; background-position: center bottom;
  position: relative; overflow: hidden;
}
.blog-thumb::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(34,34,34,0.3) 0%, transparent 100%);
}
.blog-body { padding: 28px 0 0; }
.blog-date { font-size: 12px; font-weight: 600; color: var(--text-muted); letter-spacing: 2px; text-transform: uppercase; margin-bottom: 8px; }
.blog-body h3 { font-size: 18px; font-weight: 700; color: var(--text-heading); line-height: 1.4; margin-bottom: 10px; }
.blog-body p { font-size: 17px; font-weight: 300; color: var(--text-secondary); line-height: 1.7; }

/* Featured News Card */
.news-featured { margin-bottom: 24px; }
.news-featured-inner {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 0;
  background: var(--bg-surface); border-radius: 16px; overflow: hidden;
  box-shadow: 0 4px 24px var(--shadow-color);
  transition: transform var(--transition), box-shadow var(--transition);
  color: inherit;
}
.news-featured-inner:hover { transform: translateY(-4px); box-shadow: 0 12px 40px var(--shadow-color); }
.news-featured-image { position: relative; overflow: hidden; min-height: 340px; }
.news-featured-image img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s ease;
}
.news-featured-inner:hover .news-featured-image img { transform: scale(1.04); }
.news-featured-body {
  padding: 48px; display: flex; flex-direction: column; justify-content: center;
}
.news-featured-body h2 {
  font-size: clamp(1.35rem, 1rem + 1.5vw, 1.75rem);
  font-weight: 800; line-height: 1.25; color: var(--text-heading);
  margin-bottom: 16px;
}
.news-featured-body p {
  font-size: 16px; font-weight: 300; color: var(--brand-4); line-height: 1.7;
  margin-bottom: 20px;
}
@media (max-width: 768px) {
  .news-featured-inner { grid-template-columns: 1fr; }
  .news-featured-image { min-height: 220px; }
  .news-featured-body { padding: 28px; }
}

/* ══════════════════════════════════════════════════════════════ */
/* MANUFACTURER LOGOS                                             */
/* ══════════════════════════════════════════════════════════════ */
.logos-band { padding: clamp(40px, 5vw, 60px) 48px; background: var(--brand-1); text-align: center; }
.logos-band-label {
  font-size: 13px; font-weight: 700; letter-spacing: 4px; text-transform: uppercase;
  color: rgba(255,255,255,0.35); margin-bottom: 32px;
}
.logos-grid {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 28px 48px; max-width: var(--max-width); margin: 0 auto;
}
.logos-grid img { height: 36px; width: auto; opacity: 0.5; transition: opacity var(--transition); filter: brightness(0) invert(1); }
.logos-grid img:hover { opacity: 1; }

/* ══════════════════════════════════════════════════════════════ */
/* TESTIMONIALS                                                   */
/* ══════════════════════════════════════════════════════════════ */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: var(--max-width); margin: 0 auto; }

/* Dot pagination — injected by JS, hidden on desktop, visible on mobile where
 * the grid becomes a horizontal swipeable slider. */
.testimonials-dots { display: none; }
.testimonial-card {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.08);
  padding: 36px 28px; display: flex; flex-direction: column; gap: 20px;
}
.testimonial-stars { color: var(--brand-2); font-size: 16px; letter-spacing: 2px; }
.testimonial-card-quote { font-size: 17px; font-weight: 300; color: rgba(255,255,255,0.75); line-height: 1.7; flex: 1; }
.testimonial-card-author { font-size: 13px; font-weight: 600; color: rgba(255,255,255,0.5); margin-bottom: 2px; }
.testimonial-source { font-size: 11px; font-weight: 400; color: rgba(255,255,255,0.3); letter-spacing: 0.5px; text-transform: uppercase; }

/* ══════════════════════════════════════════════════════════════ */
/* FAQ ACCORDION                                                  */
/* ══════════════════════════════════════════════════════════════ */
.faq-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 0; }
.faq-item { border-bottom: 1px solid var(--faq-border); }
.faq-question {
  width: 100%; background: none; border: none; cursor: pointer;
  padding: 24px 0; font-family: var(--font-body);
  font-size: 17px; font-weight: 600; color: var(--faq-text);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  text-align: left; transition: color var(--transition);
}
.faq-question:hover { color: var(--brand-2); }
.faq-arrow { font-size: 20px; color: var(--text-secondary); transition: transform 0.3s ease; flex-shrink: 0; }
.faq-item.open .faq-arrow { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.35s ease, padding 0.35s ease; padding: 0; }
.faq-item.open .faq-answer { max-height: 300px; padding: 0 0 24px; }
.faq-answer p { font-size: 17px; font-weight: 300; color: var(--faq-body); line-height: 1.8; }

/* ══════════════════════════════════════════════════════════════ */
/* FORMS                                                          */
/* ══════════════════════════════════════════════════════════════ */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field.full { grid-column: 1 / -1; }
.form-label { font-size: 12px; font-weight: 700; color: var(--text-secondary); text-transform: uppercase; letter-spacing: 2px; }
.form-input {
  padding: 14px 20px; border: 1px solid var(--input-border); border-radius: 4px;
  font-size: 16px; font-family: var(--font-body); font-weight: 300;
  background: var(--input-bg); color: var(--text-body); transition: border-color var(--transition);
}
.form-input:focus { outline: none; border-color: var(--brand-3); }
.form-textarea { min-height: 140px; resize: vertical; }
.contact-grid { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 64px; }
.contact-card { padding: 32px; background: var(--bg-surface-alt); margin-bottom: 12px; }
.contact-card h4 { font-size: 12px; font-weight: 700; color: var(--text-secondary); text-transform: uppercase; letter-spacing: 2px; margin-bottom: 8px; }
.contact-card p { font-size: 16px; color: var(--text-heading); font-weight: 400; }
.contact-card .highlight { font-size: 20px; font-weight: 700; color: var(--text-heading); }

/* ══════════════════════════════════════════════════════════════ */
/* JOB LISTINGS                                                   */
/* ══════════════════════════════════════════════════════════════ */
.job-card {
  display: flex; justify-content: space-between; align-items: center;
  padding: 28px 32px; border-bottom: 1px solid var(--border-subtle);
  transition: padding-left var(--transition), background var(--transition);
}
.job-card:hover { padding-left: 40px; background: var(--bg-surface-alt); }
.job-title { font-size: 18px; font-weight: 700; color: var(--text-heading); }
.job-meta { font-size: 14px; color: var(--text-secondary); margin-top: 4px; font-weight: 300; }
.job-apply { font-size: 14px; font-weight: 600; color: var(--text-secondary); letter-spacing: 0.5px; white-space: nowrap; }

/* ══════════════════════════════════════════════════════════════ */
/* TRACKING FORM                                                  */
/* ══════════════════════════════════════════════════════════════ */
.track-form { max-width: 520px; margin: 0 auto; text-align: center; }
.track-form .form-input {
  width: 100%; font-size: 20px; padding: 18px 24px; margin-bottom: 20px;
  text-align: center; letter-spacing: 2px; font-weight: 400;
}

/* ══════════════════════════════════════════════════════════════ */
/* BREADCRUMBS                                                    */
/* ══════════════════════════════════════════════════════════════ */
.breadcrumbs {
  font-size: 13px; font-weight: 500; color: rgba(255,255,255,0.85);
  margin-bottom: 16px;
}
.breadcrumbs a { color: rgba(255,255,255,0.8); transition: color var(--transition); }
.breadcrumbs a:hover { color: var(--white); }
.breadcrumbs .sep { margin: 0 8px; color: rgba(255,255,255,0.6); }

/* ══════════════════════════════════════════════════════════════ */
/* WORDPRESS CONTENT STYLES                                       */
/* ══════════════════════════════════════════════════════════════ */
.entry-content { max-width: 800px; margin: 0 auto; }
.entry-content p { font-size: 18px; font-weight: 300; color: var(--text-secondary); line-height: 1.85; margin-bottom: 20px; }
.entry-content h2 { font-size: clamp(1.5rem, 1rem + 1.5vw, 2rem); font-weight: 800; color: var(--text-heading); margin: 40px 0 16px; }
.entry-content h3 { font-size: 20px; font-weight: 700; color: var(--text-heading); margin: 32px 0 12px; }
.entry-content ul, .entry-content ol { margin: 0 0 20px 24px; }
.entry-content li { font-size: 16px; font-weight: 300; color: var(--text-secondary); line-height: 1.85; margin-bottom: 8px; }
.entry-content img { margin: 32px 0; }
.entry-content blockquote {
  border-left: 4px solid var(--brand-3); padding: 16px 24px; margin: 32px 0;
  background: var(--blockquote-bg); font-style: italic;
}

/* WordPress alignments */
.alignleft { float: left; margin-right: 24px; margin-bottom: 16px; }
.alignright { float: right; margin-left: 24px; margin-bottom: 16px; }
.aligncenter { display: block; margin: 0 auto; }

/* ══════════════════════════════════════════════════════════════ */
/* POST NAVIGATION                                                  */
/* ══════════════════════════════════════════════════════════════ */
.post-nav {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
  max-width: 800px; margin: 48px auto 0; padding-top: 40px;
  border-top: 1px solid var(--border-subtle);
}
.post-nav-card {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; gap: 8px;
  padding: 28px 28px; border-radius: 8px; min-height: 140px;
  background: var(--brand-1); border: none;
  text-decoration: none; transition: all 0.3s ease;
  justify-content: flex-end;
}
.post-nav-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center bottom;
  filter: grayscale(1); opacity: 0.25;
  transition: opacity 0.4s ease, transform 0.6s ease;
}
.post-nav-card:hover .post-nav-bg {
  opacity: 0.35; transform: scale(1.05);
}
.post-nav-card::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(34,34,34,0.85) 0%, rgba(34,34,34,0.3) 100%);
  z-index: 1;
}
.post-nav-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(34,34,34,0.25);
}
.post-nav-label {
  position: relative; z-index: 2;
  display: flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--brand-2);
  transition: color 0.3s ease;
}
.post-nav-label svg { transition: transform 0.3s ease; }
.post-nav-prev:hover .post-nav-label svg { transform: translateX(-3px); }
.post-nav-next:hover .post-nav-label svg { transform: translateX(3px); }
.post-nav-title {
  position: relative; z-index: 2;
  font-size: 16px; font-weight: 700; line-height: 1.4;
  color: var(--white);
}
.post-nav-next { text-align: right; }
.post-nav-next .post-nav-label { justify-content: flex-end; }
.post-nav-empty { visibility: hidden; }

/* ══════════════════════════════════════════════════════════════ */
/* FOOTER                                                         */
/* ══════════════════════════════════════════════════════════════ */
.footer { background: #000; color: var(--white); padding: 80px 48px 40px; }
.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px; max-width: var(--max-width); margin: 0 auto;
}
.footer-logo { margin-bottom: 20px; max-width: 50%; }
.footer-logo img { height: auto; max-height: 40px; width: auto; max-width: 100%; }
.footer p { font-size: 17px; font-weight: 300; color: rgba(255,255,255,0.5); line-height: 1.8; }
.footer h4 {
  font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 3px;
  color: rgba(255,255,255,0.3); margin-bottom: 20px;
}
.footer a { color: rgba(255,255,255,0.6); font-size: 17px; font-weight: 300; transition: color var(--transition); }
.footer a:hover { color: var(--brand-2); }
.footer li { margin-bottom: 12px; }
.footer-contact { margin-top: 16px; }
.footer-contact a { display: block; font-size: 16px; font-weight: 500; color: var(--white); margin-bottom: 4px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06); margin-top: 60px; padding-top: 24px;
  text-align: center; font-size: 13px; color: rgba(255,255,255,0.3);
  max-width: var(--max-width); margin-left: auto; margin-right: auto;
}

/* ══════════════════════════════════════════════════════════════ */
/* SCROLL ANIMATIONS — Waabi-inspired motion system               */
/* ══════════════════════════════════════════════════════════════ */

.anim { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.anim.visible { opacity: 1; transform: none; }
.anim-left { opacity: 0; transform: translateX(-30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.anim-left.visible { opacity: 1; transform: none; }
.anim-right { opacity: 0; transform: translateX(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.anim-right.visible { opacity: 1; transform: none; }
.anim-scale { opacity: 0; transform: scale(0.97); transition: opacity 0.6s ease, transform 0.6s ease; }
.anim-scale.visible { opacity: 1; transform: none; }
.anim-delay-1 { transition-delay: 0.1s; }
.anim-delay-2 { transition-delay: 0.2s; }
.anim-delay-3 { transition-delay: 0.3s; }
.anim-delay-4 { transition-delay: 0.4s; }

/* ══════════════════════════════════════════════════════════════ */
/* INTERIOR PAGE ENHANCEMENTS                                     */
/* ══════════════════════════════════════════════════════════════ */

/* Accent line decoration */
.accent-line { width: 48px; height: 3px; background: var(--brand-3); margin-bottom: 24px; }
.accent-line-light { width: 48px; height: 3px; background: rgba(255,255,255,0.3); margin-bottom: 24px; }

/* Lead paragraph (first large paragraph) */
.lead-text {
  font-size: clamp(1.1rem, 0.9rem + 0.8vw, 1.35rem); font-weight: 300;
  color: var(--text-secondary); line-height: 1.8; max-width: 720px;
}

/* Big number / stat inline */
.big-number { 
  font-size: clamp(3rem, 2rem + 4vw, 5rem); font-weight: 900;
  color: var(--text-heading); line-height: 1; letter-spacing: -2px;
}
.big-number-label {
  font-size: 13px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase;
  color: var(--text-secondary); margin-top: 8px;
}

/* Pull quote */
.pull-quote {
  position: relative; padding: 40px 0 40px 32px; margin: 48px 0;
  border-left: 3px solid var(--brand-3);
}
.pull-quote p {
  font-size: clamp(1.25rem, 1rem + 1vw, 1.6rem); font-weight: 600;
  color: var(--text-heading); line-height: 1.5; letter-spacing: -0.3px;
}
.pull-quote cite {
  display: block; margin-top: 16px; font-size: 14px; font-weight: 400;
  color: var(--text-secondary); font-style: normal; letter-spacing: 0.5px;
}

/* Full-bleed image band */
.image-band {
  position: relative; min-height: 45vh; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.image-band-bg {
  position: absolute; inset: 0; background-size: cover; background-position: center bottom;
  background-attachment: fixed;
}
.image-band-bg::after {
  content: ''; position: absolute; inset: 0;
  background: rgba(34,34,34,0.6);
}
.image-band-content {
  position: relative; z-index: 2; text-align: center;
  max-width: 800px; padding: 60px 48px;
}
.image-band-content h2 {
  font-size: clamp(1.75rem, 1.25rem + 2vw, 2.75rem); font-weight: 800;
  color: var(--white); line-height: 1.2; margin-bottom: 16px;
}
.image-band-content p { font-size: 17px; color: rgba(255,255,255,0.7); line-height: 1.7; }

/* Feature row (icon + text) */
.feature-row {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px;
  padding: 48px 0;
  position: relative;
}

/* Scroll-linked connector line. JS sets --scroll-progress (0 → 1) on the
 * .feature-row as the user scrolls through the section, and the line's
 * scaleX tracks that value directly — so the line physically follows the
 * scroll wheel instead of playing once on view. */
.feature-row { --scroll-progress: 0; }
.feature-row::before {
  content: '';
  position: absolute;
  top: 14px;
  left: 6px;
  right: 6px;
  height: 1px;
  background: linear-gradient(to right,
    transparent 0%,
    var(--divider-color) 6%,
    var(--divider-color) 94%,
    transparent 100%);
  transform: scaleX(var(--scroll-progress));
  transform-origin: left center;
  z-index: 0;
  pointer-events: none;
}

.feature-item {
  position: relative;
  padding-left: 0;
  padding-top: 36px;
}
/* Yellow dot anchored to the connecting line above each item */
.feature-item::before {
  content: '';
  position: absolute;
  top: 9px;
  left: 0;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--brand-2);
  box-shadow: 0 0 0 0 rgba(255, 218, 0, 0);
  opacity: 0;
  transform: scale(0.25);
  transition: opacity 0.35s ease, transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.6s ease;
  z-index: 1;
  pointer-events: none;
}
/* JS toggles .lit on each feature-item when scroll progress crosses its threshold */
.feature-item.lit::before {
  opacity: 1;
  transform: scale(1);
  box-shadow: 0 0 0 5px rgba(255, 218, 0, 0.15);
  animation: dotLightPulse 0.7s ease-out;
}
@keyframes dotLightPulse {
  0%   { box-shadow: 0 0 0 0 rgba(255, 218, 0, 0.6); }
  45%  { box-shadow: 0 0 0 14px rgba(255, 218, 0, 0.2); }
  100% { box-shadow: 0 0 0 5px rgba(255, 218, 0, 0.15); }
}
/* Reduced motion: skip the pulse, just show the final state */
@media (prefers-reduced-motion: reduce) {
  .feature-row { --scroll-progress: 1; }
  .feature-item::before { transition: none; }
  .feature-item.lit::before { animation: none; }
}

.feature-number {
  font-size: 64px; font-weight: 900; color: var(--feature-number-color);
  line-height: 1; margin-bottom: -20px; position: relative; z-index: 0;
}
.feature-item h4 {
  font-size: 18px; font-weight: 700; color: var(--text-heading); margin-bottom: 10px;
  position: relative; z-index: 1;
}
.feature-item p {
  font-size: 17px; font-weight: 300; color: var(--text-secondary); line-height: 1.7;
}

/* Animated stats counter */
.stat-number[data-count] {
  transition: none;
}

/* Staggered image grid */
.image-mosaic {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  max-width: 600px;
}
.image-mosaic-item {
  overflow: hidden; border-radius: 4px;
}
.image-mosaic-item:nth-child(2) { margin-top: 40px; }
.image-mosaic-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s ease;
}
.image-mosaic-item:hover img { transform: scale(1.05); }

/* Horizontal divider with text */
.divider-text {
  display: flex; align-items: center; gap: 20px; margin: 64px 0;
}
.divider-text::before, .divider-text::after {
  content: ''; flex: 1; height: 1px; background: var(--divider-color);
}
.divider-text span {
  font-size: 12px; font-weight: 700; letter-spacing: 4px; text-transform: uppercase;
  color: var(--text-secondary); white-space: nowrap;
}

/* Inline highlight text */
.text-highlight {
  background: linear-gradient(180deg, transparent 60%, rgba(255,218,0,0.3) 60%);
  padding: 0 4px;
}

/* Two-col with image (enhanced split) — contained within page max-width by default */
.content-media {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0; align-items: stretch;
  min-height: 480px;
  background: transparent !important;
  /* Global: sit inside the page content wrapper, no full-bleed overflow */
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: clamp(24px, 4vw, 60px);
}
.content-media-text {
  padding-block: clamp(32px, 4vw, 64px);
  padding-inline: clamp(24px, 3vw, 48px);
  display: flex; flex-direction: column; justify-content: center;
  background: var(--bg-surface);
  min-width: 0; /* allow text to wrap inside grid column */
}
.content-media.reverse .content-media-text {
  padding-inline: clamp(24px, 3vw, 48px);
}
.content-media-text .section-pre { color: var(--text-muted); }
.content-media-text h2 {
  font-size: clamp(1.5rem, 1rem + 2vw, 2.25rem); font-weight: 800;
  color: var(--text-heading); line-height: 1.2; margin-bottom: 20px;
}
.content-media-text p {
  font-size: 16px; font-weight: 300; color: var(--brand-4); line-height: 1.8; margin-bottom: 20px;
}
.content-media-img {
  position: relative; overflow: hidden;
  background-size: cover; background-position: center;
  min-width: 0;
}
/* Contained variant retained as alias for backward compatibility */
.content-media.content-media-contained {
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: clamp(24px, 4vw, 60px);
}
.content-media.content-media-contained .content-media-text,
.content-media.content-media-contained.reverse .content-media-text {
  padding-block: clamp(32px, 4vw, 64px);
  padding-inline: clamp(24px, 3vw, 48px);
}
.content-media.content-media-contained .content-media-img,
.content-media.content-media-contained.reverse .content-media-img {
  -webkit-mask-image: none;
          mask-image: none;
}

/* ══════════════════════════════════════════════════════════════ */
/* HELP-WANTED SIGN (modern animated border around a content-media) */
/* ══════════════════════════════════════════════════════════════ */
@property --hw-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}
.content-media.help-wanted-sign {
  position: relative;
  isolation: isolate;
  border-radius: 8px;
  overflow: hidden;
  background: transparent !important;
  box-shadow: 0 0 0 1px rgba(255, 218, 0, 0.12), 0 20px 60px rgba(255, 218, 0, 0.08);
  /* Kill the default .content-media inner gutter so the photo and text
   * background sit flush against the animated yellow border. */
  padding-inline: 0;
  max-width: none;
}
/* Reset the full-bleed content-media overrides inside a help-wanted sign */
.content-media.help-wanted-sign .content-media-text {
  padding-block: clamp(40px, 5vw, 80px);
  padding-inline: clamp(40px, 5vw, 80px);
  background: var(--bg-surface);
}

/* Keep the help-wanted sign dark in both themes — the yellow border +
 * light copy on near-black is the intended look regardless of site theme. */
[data-theme="light"] .content-media.help-wanted-sign .content-media-text {
  background: #1a1a1a;
}
[data-theme="light"] .content-media.help-wanted-sign .content-media-text h2 {
  color: #ffffff;
}
[data-theme="light"] .content-media.help-wanted-sign .content-media-text p {
  color: rgba(255,255,255,0.75);
  font-weight: 300;
}
[data-theme="light"] .content-media.help-wanted-sign .content-media-text .section-pre,
[data-theme="light"] .content-media.help-wanted-sign .content-media-text .help-wanted-pre {
  color: var(--brand-2);
}
.content-media.help-wanted-sign .content-media-img {
  -webkit-mask-image: none;
          mask-image: none;
}
/* Animated conic-gradient running around the edge */
.content-media.help-wanted-sign::before {
  content: '';
  position: absolute;
  inset: 0;
  padding: 3px;
  border-radius: inherit;
  background: conic-gradient(from var(--hw-angle),
    #ffda00 0deg,
    #ffda00 40deg,
    rgba(255, 218, 0, 0) 110deg,
    rgba(255, 218, 0, 0) 180deg,
    #ffda00 230deg,
    #ffda00 270deg,
    rgba(255, 218, 0, 0) 340deg,
    #ffda00 360deg);
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
          mask-composite: exclude;
  animation: hwRotate 5s linear infinite;
  pointer-events: none;
  z-index: 3;
}
/* Outer soft glow that pulses in sync */
.content-media.help-wanted-sign::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  box-shadow: 0 0 24px 2px rgba(255, 218, 0, 0.35);
  opacity: 0.5;
  pointer-events: none;
  z-index: -1;
  animation: hwPulse 2.4s ease-in-out infinite;
}
@keyframes hwRotate {
  to { --hw-angle: 360deg; }
}
@keyframes hwPulse {
  0%, 100% { opacity: 0.35; }
  50%      { opacity: 0.7; }
}
/* Fallback for browsers that don't support @property (border animates via filter) */
@supports not (background: linear-gradient(in oklch, red, blue)) {
  @keyframes hwRotate {
    from { filter: hue-rotate(-12deg); }
    to   { filter: hue-rotate(12deg); }
  }
  .content-media.help-wanted-sign::before { animation-duration: 3s; animation-direction: alternate; }
}
/* "NOW HIRING"-style status pre-heading with blinking dot */
.content-media.help-wanted-sign .help-wanted-pre,
.content-media.help-wanted-sign .section-pre {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #ffda00;
  font-weight: 700;
  letter-spacing: 3px;
}
.content-media.help-wanted-sign .help-wanted-pre::before,
.content-media.help-wanted-sign .section-pre::before {
  content: '';
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ffda00;
  box-shadow: 0 0 12px #ffda00, 0 0 4px #fff6a3 inset;
  animation: hwBlink 1.4s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes hwBlink {
  0%, 100% { opacity: 1; transform: scale(1); }
  45%      { opacity: 0.25; transform: scale(0.7); }
  55%      { opacity: 0.25; transform: scale(0.7); }
}
/* Heading pops a touch brighter against the sign */
.content-media.help-wanted-sign h2 {
  color: #ffffff;
}
/* Respect users who don't want motion */
@media (prefers-reduced-motion: reduce) {
  .content-media.help-wanted-sign::before,
  .content-media.help-wanted-sign::after,
  .content-media.help-wanted-sign .help-wanted-pre::before,
  .content-media.help-wanted-sign .section-pre::before {
    animation: none;
  }
}
.content-media-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s ease;
}
.content-media:hover .content-media-img img { transform: scale(1.03); }
.content-media.reverse { direction: rtl; }
.content-media.reverse > * { direction: ltr; }

/* Interior section with large background number */
.section-numbered { position: relative; overflow: hidden; }
.section-bg-number { display: none; }
.section-numbered > .container { position: relative; z-index: 1; }

/* Animated link hover with underline */
.animated-link {
  position: relative; display: inline-block; font-weight: 600; color: var(--text-secondary);
}
.animated-link::after {
  content: ''; position: absolute; bottom: -2px; left: 0; width: 0; height: 2px;
  background: var(--brand-3); transition: width 0.3s ease;
}
.animated-link:hover::after { width: 100%; }

/* Process steps (vertical) */
.process-steps { position: relative; padding-left: 48px; }
.process-steps::before {
  content: ''; position: absolute; left: 15px; top: 0; bottom: 0;
  width: 2px; background: var(--border-subtle);
}
.process-step {
  position: relative; padding-bottom: 48px;
}
.process-step:last-child { padding-bottom: 0; }
.process-step-dot {
  position: absolute; left: -48px; top: 4px; width: 32px; height: 32px;
  border-radius: 50%; background: var(--bg-surface); border: 2px solid var(--brand-3);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; color: var(--brand-2); z-index: 1;
}
.process-step h4 {
  font-size: 18px; font-weight: 700; color: var(--text-heading); margin-bottom: 8px;
}
.process-step p {
  font-size: 17px; font-weight: 300; color: var(--text-secondary); line-height: 1.7;
}

/* Scroll progress bar */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 200;
  background: transparent;
}
.scroll-progress-bar {
  height: 100%; width: 0; background: linear-gradient(90deg, var(--brand-3), var(--brand-5));
  transition: width 0.1s linear;
}

/* ══════════════════════════════════════════════════════════════ */
/* TEAM SLIDER                                                     */
/* ══════════════════════════════════════════════════════════════ */
.team-slider {
  background: var(--brand-1);
  padding: clamp(40px, 4vw, 60px) 0;
  overflow: hidden;
}
.team-slider-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(24px, 4vw, 60px);
}
.team-slider-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: clamp(32px, 4vw, 48px);
}
.team-slider-header .accent-line {
  background: var(--brand-3);
}
.team-slider-heading {
  color: var(--white);
  font-family: 'Archivo', var(--font-body);
  font-weight: 800;
  font-size: clamp(32px, 4vw, 52px);
  margin: 8px 0 0;
}
.team-slider-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
.team-slider-pips {
  display: flex;
  gap: 8px;
  align-items: center;
}
.team-pip {
  width: 24px;
  height: 3px;
  background: rgba(255,255,255,0.2);
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.4s ease;
}
.team-pip-active {
  width: 40px;
  background: var(--brand-3);
}
.team-pip:hover:not(.team-pip-active) {
  background: rgba(255,255,255,0.4);
}
.team-slider-arrows {
  display: flex;
  gap: 8px;
}
.team-arrow {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.3);
  background: transparent;
  color: rgba(255,255,255,0.7);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.3s ease;
}
.team-arrow:hover:not(:disabled) {
  border-color: var(--white);
  color: var(--white);
  background: rgba(255,255,255,0.08);
}
.team-arrow:disabled {
  opacity: 0.2;
  cursor: default;
}

/* Slider track */
.team-slider-track {
  position: relative;
  min-height: 400px;
}

/* Card layout */
.team-card {
  display: none;
  /* Smaller portrait on desktop so the section is shorter and the
     nav arrows stay in view. Photo column capped; text takes the rest. */
  grid-template-columns: minmax(0, 380px) 1fr;
  gap: clamp(32px, 4vw, 60px);
  align-items: center;
  opacity: 0;
  transition: opacity 0.5s ease;
}
.team-card-active {
  display: grid;
  opacity: 1;
}
.team-card-exit {
  display: grid;
  opacity: 0;
  position: absolute;
  top: 0; left: 0; right: 0;
}
.team-card-enter {
  display: grid;
  opacity: 0;
}

/* Photo */
.team-card-photo {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  position: relative;
  /* Photo sits on the LEFT of the slider → hard inside (right) edge, fade outside (left) edge */
  -webkit-mask-image: linear-gradient(to left, #000 0%, #000 55%, transparent 100%);
          mask-image: linear-gradient(to left, #000 0%, #000 55%, transparent 100%);
}
.team-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Content side */
.team-card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(20px, 2.5vw, 32px);
}
.team-card-quote {
  color: rgba(255,255,255,0.85);
  font-size: clamp(15px, 1.2vw, 18px);
  font-style: italic;
  font-weight: 300;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  border: none;
  max-width: 560px;
}
.team-card-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.team-card-name {
  color: var(--white);
  font-family: 'Archivo Black', var(--font-body);
  font-size: clamp(20px, 2vw, 28px);
  margin: 0;
}
.team-card-title {
  color: var(--brand-2);
  font-size: clamp(14px, 1.2vw, 16px);
  font-weight: 500;
  letter-spacing: 0.02em;
  margin: 0 0 8px;
}
.team-card-contact {
  display: flex;
  gap: 12px;
  margin-top: 4px;
}
.team-contact-icon {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.6);
  transition: all 0.3s ease;
  text-decoration: none;
}
.team-contact-icon:hover {
  border-color: var(--brand-3);
  color: var(--brand-2);
  background: rgba(0,51,161,0.1);
}

/* ══════════════════════════════════════════════════════════════ */
/* RESPONSIVE                                                     */
/* ══════════════════════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .card-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .split-img {
    min-height: 350px;
    /* Stacked: image on top, text below → fade only the bottom (outside) edge */
    -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 70%, transparent 100%);
            mask-image: linear-gradient(to bottom, #000 0%, #000 70%, transparent 100%);
  }
  .split-text {
    padding-inline-start: clamp(24px, 5vw, 40px);
    padding-inline-end: clamp(24px, 5vw, 40px);
  }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .content-media { grid-template-columns: 1fr; }
  .content-media-img {
    min-height: 350px;
    /* Stacked: image below text → fade only the bottom (outside) edge */
    -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 70%, transparent 100%);
            mask-image: linear-gradient(to bottom, #000 0%, #000 70%, transparent 100%);
  }
  .content-media-text,
  .content-media.reverse .content-media-text {
    padding-inline-start: clamp(24px, 5vw, 40px);
    padding-inline-end: clamp(24px, 5vw, 40px);
  }
  .content-media.reverse { direction: ltr; }
  .feature-row { grid-template-columns: 1fr 1fr; }
  .image-band { padding: 0; }
  .image-band-bg { background-attachment: scroll; }
}
@media (max-width: 900px) {
  .team-card { grid-template-columns: 1fr; gap: 24px; }
  .team-card-photo { aspect-ratio: 3 / 2; max-height: 320px; }

  /* On small screens the card stacks tall (photo + long quote), which
     leaves the prev/next arrows stranded up in the header. Reorder so
     the heading stays on top, the card next, and the nav (pips +
     arrows) drops directly below the card — reachable without
     scrolling back up. CSS-only; the slider JS is untouched. */
  .team-slider-inner { display: flex; flex-direction: column; }
  .team-slider-header { display: contents; }
  .team-slider-header > div:first-child { order: 0; margin-bottom: 24px; }
  .team-slider-track { order: 1; min-height: auto; }
  .team-slider-nav { order: 2; justify-content: center; margin-top: 28px; }

  /* Tablet: drop to 2x2 so the long stat labels don't get crushed
   * into four narrow columns. Stacks to 1col at 768px (below). */
  .stats-band { grid-template-columns: repeat(2, 1fr); gap: 40px; }
}
@media (max-width: 600px) {
  /* Make the whole team card more compact on phones: smaller photo,
     smaller quote text, and tighter spacing, so it takes up less room
     and the arrows below are easy to reach. */
  .team-slider { padding: 40px 0; }
  .team-card { gap: 16px; }
  .team-card-photo { max-height: 200px; }
  .team-card-content { gap: 14px; }
  .team-card-quote { font-size: 14px; line-height: 1.6; }
  .team-card-name { font-size: 20px; }
  .team-card-title { font-size: 13px; }
}
@media (max-width: 768px) {
  .header { padding: 0 16px; }

  /* Logo: capped at half the header width on mobile */
  .nav-logo { max-width: 50%; }
  .nav-logo img { max-width: 100%; height: auto; max-height: 52px; width: auto; }
  .header.scrolled .nav-logo img { max-height: 42px; }

  /* Right-side cluster: theme toggle + hamburger. Drive/Track live inside the slideout. */
  .nav-right {
    border: none;
    padding: 0;
    margin-left: auto;
    gap: 6px;
    flex-shrink: 0;
  }
  .nav-desktop-ctas { display: none; }
  .nav-toggle { display: block; }

  /* Full-viewport yellow slideout with black bold text. Slides down from
   * under the header with a gentle ease. Uses 100dvh so iOS Safari's
   * dynamic address bar doesn't leave a gap at the bottom. */
  .nav-links {
    display: flex !important;
    flex-direction: column;
    align-items: stretch;
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    bottom: 0;
    height: calc(100vh - 80px);
    height: calc(100dvh - 80px);
    background: var(--brand-2); /* Meiborg yellow */
    color: var(--brand-1);      /* near-black */
    padding: 28px 24px 32px;
    gap: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
                opacity 0.25s ease,
                visibility 0s linear 0.25s;
    z-index: 99;
  }
  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
                opacity 0.3s ease,
                visibility 0s linear 0s;
  }
  .header.scrolled .nav-links {
    top: 64px;
    height: calc(100vh - 64px);
    height: calc(100dvh - 64px);
  }

  /* Left-aligned top-level items, large bold black text */
  .nav-links .nav-item {
    width: 100%;
    position: static !important;
    border-bottom: 1px solid rgba(34,34,34,0.15);
  }
  .nav-links .nav-link {
    display: block;
    width: 100%;
    font-size: 26px;
    font-weight: 800;
    color: var(--brand-1) !important;
    padding: 18px 0;
    text-align: left;
    letter-spacing: -0.2px;
  }
  .header.scrolled .nav-links .nav-link { padding: 18px 0; }

  /* Give the parent link room so the toggle button doesn't overlap text */
  .nav-item.has-children > .nav-link { padding-right: 52px; }

  /* Submenu toggle button — JS injects one next to every parent link. Tap
   * this to open/close the submenu; tap the link itself to navigate to the
   * parent page (e.g. /services/). */
  .nav-submenu-toggle {
    position: absolute;
    top: 8px;
    right: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    padding: 0;
    color: var(--brand-1);
    font-size: 24px;
    font-weight: 700;
    font-family: inherit;
    line-height: 1;
    cursor: pointer;
    z-index: 2;
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  }
  .nav-item.has-children.open > .nav-submenu-toggle {
    transform: rotate(45deg);
  }

  /* Submenu — collapsed, animates open on parent tap */
  .nav-dropdown {
    display: block !important;
    position: static;
    background: transparent;
    box-shadow: none;
    padding: 0;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, opacity 0.25s ease, padding 0.25s ease;
  }
  .nav-item.open .nav-dropdown {
    max-height: 1000px;
    opacity: 1;
    padding: 4px 0 16px 16px;
  }
  .nav-dropdown a {
    display: block;
    font-size: 18px;
    font-weight: 600;
    color: var(--brand-1) !important;
    text-align: left;
    padding: 12px 0;
    border-bottom: 1px solid rgba(34,34,34,0.12);
  }
  .nav-dropdown a:last-child { border-bottom: none; }
  /* Auto-injected "[Parent] Overview" link — slightly heavier + teal accent
   * so it reads as the canonical way to reach the parent page. */
  .nav-dropdown .nav-overview-link {
    font-weight: 700;
    color: var(--brand-2) !important;
  }

  /* Drive for Us + Track — pinned to the bottom of the slideout as
   * full-width buttons. Styled for contrast against the yellow background. */
  .nav-mobile-ctas {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: auto;
    padding-top: 32px;
  }
  .nav-mobile-ctas .btn {
    width: 100%;
    padding: 18px 24px;
    font-size: 14px;
  }
  /* Outline button on yellow → dark gray outline + dark gray text.
   * Extra .header prefix is needed to beat the header's default white-on-
   * transparent .btn-outline-dark rule. */
  .header .nav-mobile-ctas .btn-outline-dark {
    background: transparent;
    color: #333333;
    border: 2px solid #333333;
  }
  .header .nav-mobile-ctas .btn-outline-dark:hover {
    background: #333333;
    color: var(--brand-2);
    border-color: #333333;
  }
  /* Primary button on yellow → flip to solid black so it doesn't disappear. */
  .nav-mobile-ctas .btn-primary {
    background: var(--brand-1);
    color: var(--brand-2);
    animation: none;
  }
  .nav-mobile-ctas .btn-primary:hover {
    filter: brightness(1.15);
  }

  /* Lock body scroll while menu is open (JS toggles .nav-open on <body>) */
  body.nav-open { overflow: hidden; }
  .hero, .page-hero { padding-left: 24px; padding-right: 24px; }
  .section { padding-left: 24px; padding-right: 24px; }
  .service-grid { grid-template-columns: 1fr; }
  .post-nav { grid-template-columns: 1fr; }
  /* On desktop the empty card is visibility:hidden to reserve grid space;
   * on mobile the stacked layout makes that empty space dead weight. */
  .post-nav-empty { display: none; }
  .post-nav-next { text-align: left; }
  .post-nav-next .post-nav-label { justify-content: flex-start; }
  .service-tile { aspect-ratio: 3/2.5; }
  .card-grid-3, .card-grid-4, .card-grid-2 { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; gap: 32px; }
  .form-grid { grid-template-columns: 1fr; }
  /* On phones: stack to a single column. Between phone and desktop
   * (601-900px), keep 2x2 — handled by the 900px breakpoint above
   * if needed. For now the 768px rule collapses straight to 1col. */
  .stats-band { grid-template-columns: 1fr; gap: 32px; }
  .footer { padding: 48px 24px 24px; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-band { padding-left: 24px; padding-right: 24px; }
  .logos-band { padding-left: 24px; padding-right: 24px; }
  .logos-grid { gap: 20px 32px; }
  .logos-grid img { height: 28px; }
  /* Horizontal swipeable slider on mobile — one card at a time, with a
   * peek of the next card so users know they can swipe. Native scroll-snap
   * locks each card into place. */
  .testimonials-grid {
    display: flex !important;
    grid-template-columns: none;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 16px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scroll-padding-left: 24px;
    /* Full-bleed behavior so cards can reach the screen edges */
    margin-left: -24px;
    margin-right: -24px;
    padding: 4px 24px 16px;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .testimonials-grid::-webkit-scrollbar { display: none; }
  .testimonials-grid > .testimonial-card {
    flex: 0 0 85%;
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }

  /* Dot pagination for the slider */
  .testimonials-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 4px 0 0;
    padding: 0;
  }
  .testimonials-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: background 0.3s ease, width 0.3s ease, border-radius 0.3s ease;
  }
  .testimonials-dot.active {
    background: var(--brand-2);
    width: 26px;
    border-radius: 4px;
  }
  [data-theme="light"] .testimonials-dot { background: rgba(17,17,17,0.18); }
  [data-theme="light"] .testimonials-dot.active { background: var(--brand-3); }
  .faq-question { font-size: 15px; }
  .feature-row { grid-template-columns: 1fr; gap: 32px; }
  /* Connector line + dots only make sense on the multi-column layout. */
  .feature-row::before,
  .feature-item::before { display: none; }
  .feature-item { padding-top: 0; }
  .image-mosaic { grid-template-columns: 1fr; }
  .image-mosaic-item:nth-child(2) { margin-top: 0; }
  .process-steps { padding-left: 40px; }
  .hero-scroll-hint { display: none; }
}
/* Logo: never filter — keep original colors in all states */

/* ══════════════════════════════════════════════════════════════ */
/* THEME TOGGLE                                                    */
/* ══════════════════════════════════════════════════════════════ */
.theme-toggle {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  background: transparent; border: 1.5px solid rgba(255,255,255,0.25);
  color: rgba(255,255,255,0.7);
  cursor: pointer; transition: all 0.3s ease;
  position: relative; overflow: hidden; flex-shrink: 0;
}
.theme-toggle:hover {
  border-color: rgba(255,255,255,0.5);
  color: #ffffff;
  background: rgba(255,255,255,0.06);
}
.header.scrolled .theme-toggle {
  border-color: var(--border-subtle);
  color: var(--scrolled-link-color);
}
.header.scrolled .theme-toggle:hover {
  border-color: var(--text-secondary);
  background: var(--border-subtle);
}

/* Icon visibility — dark mode shows sun (to switch to light), light shows moon */
.theme-icon { transition: opacity 0.3s ease, transform 0.3s ease; position: absolute; }
.theme-icon-sun { opacity: 1; transform: rotate(0deg); }
.theme-icon-moon { opacity: 0; transform: rotate(-90deg); }
[data-theme="light"] .theme-icon-sun { opacity: 0; transform: rotate(90deg); }
[data-theme="light"] .theme-icon-moon { opacity: 1; transform: rotate(0deg); }

/* Smooth theme transition */
html { transition: none; }
html.theme-transitioning,
html.theme-transitioning *,
html.theme-transitioning *::before,
html.theme-transitioning *::after {
  transition-duration: 0.4s !important;
  transition-timing-function: ease !important;
}
/* ══════════════════════════════════════════════════════════════ */
/* ADDITIONS                                                  */
/* ══════════════════════════════════════════════════════════════ */
.entry-content ul {
  padding-left: 1.2em;
}

.entry-content li {
	list-style-type: "—";  /* Em dash */
  padding-inline-start: 1.5em;
}
/* ══════════════════════════════════════════════════════════════ */
/* ASSET TRUCKING — DRIVER RECRUITMENT (template-asset-trucking-drivers.php) */
/* ══════════════════════════════════════════════════════════════ */

/* Region pills — flowing list of state names */
.region-pills {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  max-width: 900px;
}
.region-pill {
  display: inline-block;
  padding: 10px 22px;
  border-radius: 999px;
  background: var(--bg-card, #fff);
  color: var(--text-heading, #111);
  font-weight: 700;
  letter-spacing: 0.02em;
  font-size: 15px;
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}
.region-pill:hover {
  background: var(--brand-2, #ffd23f);
  color: var(--text-heading, #111);
  transform: translateY(-2px);
}
[data-theme="dark"] .region-pill {
  background: rgba(255,255,255,0.05);
  color: #fff;
  border-color: rgba(255,255,255,0.12);
}

/* Driver category sections — extends .content-media */
.driver-category .driver-card {
  align-items: stretch;
}
.driver-category .content-media-img {
  min-height: 380px;
  border-radius: 8px;
}
.driver-category .content-media-text h2 {
  margin-bottom: 12px;
}
.driver-category .driver-benefits {
  margin-top: 24px;
}
.driver-category .driver-benefits-secondary {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(0,0,0,0.08);
}
[data-theme="dark"] .driver-category .driver-benefits-secondary {
  border-top-color: rgba(255,255,255,0.1);
}
.driver-benefits-heading {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 10px;
  color: var(--brand-2, #ffda00);
}
.driver-benefits-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 24px;
}
.driver-benefits-list li {
  position: relative;
  padding-left: 22px;
  line-height: 1.5;
  font-size: 15px;
}
.driver-benefits-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 12px;
  height: 2px;
  background: var(--brand-2, #ffd23f);
}

@media (max-width: 700px) {
  .driver-benefits-list {
    grid-template-columns: 1fr;
  }
  .driver-category .content-media-img {
    min-height: 240px;
  }
  .region-pill {
    font-size: 14px;
    padding: 8px 16px;
  }
}

/* Nested (3rd-tier) menu items flattened into the parent dropdown.
   Indented + small leading dash so the hierarchy is readable. */
.nav-dropdown a.nav-sublink {
  padding-left: 40px;
  font-size: 13px;
  opacity: 0.85;
  position: relative;
}
.nav-dropdown a.nav-sublink::before {
  content: "";
  position: absolute;
  left: 24px;
  top: 50%;
  width: 8px;
  height: 1px;
  background: currentColor;
  opacity: 0.5;
}

/* ═══════════════════════════════════════════════════════════════════════
 * MEIBORG ENTERPRISES SUB-SITE
 * ═══════════════════════════════════════════════════════════════════════
 * Header tweaks for the dedicated sub-site nav. The base .header rules
 * already give us layout/spacing — we only need the visual deltas here:
 * an icon-only "M" button and the slim "Meiborg ↗" arrow button.
 */
.header-meiborg-enterprises .nav-logo img {
  height: 57px;
  width: auto;
}

/* Yellow "MEIBORG" back-to-main-site button.
 * Holds the Meiborg M icon, the label, and the right-arrow in a single
 * pill. Icon is large enough to read as a brand badge but not so tall
 * that the button overflows the header on tighter viewport widths. */
.header-meiborg-enterprises .me-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-left: 10px;
  padding-right: 14px;
  line-height: 1;
  /* Don't let nav width push the button past the header edge. */
  flex-shrink: 0;
  white-space: nowrap;
}
.header-meiborg-enterprises .me-back-btn .me-back-m-icon {
  display: block;
  height: 36px;
  width: 36px;
  flex-shrink: 0;
  object-fit: contain;
}
.header-meiborg-enterprises .me-back-btn .me-back-label {
  font-weight: 700;
}
.header-meiborg-enterprises .me-back-btn svg {
  display: block;
}

/* Detail-page (service / repair / manufacturer) light decorations */
.me-faq-list { display: grid; gap: 16px; }
.me-faq-item {
  border: 1px solid var(--border, rgba(255,255,255,0.1));
  border-radius: 8px;
  padding: 20px 24px;
}
.me-faq-item h3 { margin: 0 0 8px; font-size: 18px; }
.me-faq-item p { margin: 0; opacity: 0.85; }
.me-related-tile {
  display: flex;
  flex-direction: column;
  padding: 24px;
  border: 1px solid var(--border, rgba(255,255,255,0.1));
  border-radius: 12px;
  text-decoration: none !important;
  transition: transform 160ms ease, border-color 160ms ease;
}
.me-related-tile:hover { transform: translateY(-2px); border-color: var(--accent, #f3b71b); }
.me-related-tile h3 { margin: 0 0 6px; font-size: 18px; }
.me-related-tile p { margin: 0; font-size: 14px; opacity: 0.8; }

/* ──────────────────────────────────────────────────────────────────────
 * MEIBORG ENTERPRISES — MEGA MENU
 * ──────────────────────────────────────────────────────────────────────
 * Sub-site nav uses .nav-dropdown.nav-mega for items with many children
 * (Services, Repairs, Manufacturers). Reuses the existing dropdown
 * background, colors, and link styling — only the panel width and
 * layout grid are different.
 */
.header-meiborg-enterprises .nav-dropdown.nav-mega {
  /* Wider panel that opens flush with the trigger but extends across
     several columns. Caps at viewport width minus a little breathing room. */
  min-width: 0;
  width: max-content;
  max-width: min(900px, calc(100vw - 48px));
  padding: 18px 18px 12px;
}
.header-meiborg-enterprises .nav-dropdown.nav-mega .nav-mega-grid {
  display: grid;
  gap: 2px 24px;
  /* min-width:0 on tracks lets long labels wrap instead of forcing the
     column wider, which is what was clipping the next column. */
}
.header-meiborg-enterprises .nav-dropdown.nav-mega-cols-2 .nav-mega-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.header-meiborg-enterprises .nav-dropdown.nav-mega-cols-3 .nav-mega-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.header-meiborg-enterprises .nav-dropdown.nav-mega .nav-mega-col {
  display: flex;
  flex-direction: column;
  min-width: 0; /* allow children to wrap inside the column */
}
.header-meiborg-enterprises .nav-dropdown.nav-mega a.nav-dropdown-link {
  padding: 8px 10px;
  font-size: 13.5px;
  line-height: 1.3;
  border-radius: 4px;
  /* Wrap long labels to the next line so adjacent columns can't clip them. */
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
  hyphens: auto;
}
.header-meiborg-enterprises .nav-dropdown.nav-mega a.nav-dropdown-link:hover {
  background: var(--dropdown-hover-bg, rgba(255,255,255,0.06));
}
.header-meiborg-enterprises .nav-dropdown.nav-mega .nav-mega-footer {
  display: block;
  margin: 12px -8px -4px;
  padding: 12px 18px;
  border-top: 1px solid var(--border, rgba(255,255,255,0.12));
  font-weight: 700;
  font-size: 13px;
  text-align: right;
  color: var(--brand-2, #f3b71b) !important;
}

/* Mobile: collapse the mega-grid back to a single accordion column.
   Shares the breakpoint used by the rest of the mobile nav. */
@media (max-width: 1024px) {
  .header-meiborg-enterprises .nav-dropdown.nav-mega {
    width: auto;
    max-width: none;
    padding: 0;
  }
  .header-meiborg-enterprises .nav-dropdown.nav-mega .nav-mega-grid {
    display: block;
    gap: 0;
  }
  .header-meiborg-enterprises .nav-dropdown.nav-mega .nav-mega-col {
    display: contents;
  }
  .header-meiborg-enterprises .nav-dropdown.nav-mega .nav-mega-footer {
    margin: 0;
    text-align: left;
    border-top: 1px solid rgba(34,34,34,0.12);
  }
}

/* ──────────────────────────────────────────────────────────────────────
 * MEIBORG ENTERPRISES — SERVICE-CARD BACKGROUNDS
 * ──────────────────────────────────────────────────────────────────────
 * The manufacturer / repair / service detail pages were imported with
 * their original OG images as featured images. Those are often big SVG
 * logos that — at the default `background-size: cover` — flood the card
 * and fight the text on top.
 *
 * On Meiborg Enterprises pages we want the image to read as a quiet
 * watermark motif: contained, knocked back, and blended with the dark
 * gradient so the white headline + body always wins.
 */
.meiborg-enterprises-subsite .service-card-bg-watermark {
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center center;
  opacity: 0.18;
  filter: grayscale(0.4);
  transition: opacity 0.4s ease, transform 0.6s ease-out;
}

/* Accent rules turn white on the sub-site — the default blue (var(--brand-3))
 * disappears against the dark backdrops on these pages. */
.meiborg-enterprises-subsite .accent-line,
.meiborg-enterprises-subsite .page-hero .hero-pre::before,
.meiborg-enterprises-subsite .team-slider-header .accent-line {
  background: var(--white, #fff);
}
.meiborg-enterprises-subsite .accent-line-light {
  background: rgba(255, 255, 255, 0.6);
}

/* Page hero — special-case for SVG-logo featured images.
 * Manufacturer (and a few repair) detail pages were imported with their
 * original OG SVGs as featured images. At full-bleed `cover` they spill
 * past the headline. The PHP template tags those heroes with
 * `.hero-bg-watermark`; we render them as a centered, contained, knocked-
 * back watermark. Photo heroes (services overview, home, etc.) keep the
 * default full-bleed cover treatment. */
.meiborg-enterprises-subsite .page-hero:has(.hero-bg-watermark) {
  background-color: #141414;
}
.meiborg-enterprises-subsite .page-hero .hero-bg.hero-bg-watermark {
  max-width: 80vw;
  left: 0;
  right: 0;
  margin-inline: auto;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center center;
  opacity: 0.4;
}
/* Soften the inherited overlay on watermark heroes only. The default
 * .page-hero gradient still applies on photo heroes. */
.meiborg-enterprises-subsite .page-hero .hero-bg.hero-bg-watermark::after {
  background: linear-gradient(
    to right,
    rgba(20,20,20,0.55) 0%,
    rgba(20,20,20,0.2)  55%,
    transparent         100%
  );
}
.meiborg-enterprises-subsite .service-card-has-bg:hover .service-card-bg-watermark {
  opacity: 0.28;
  transform: scale(1.04);
}

/* Stronger gradient overlay scoped to watermark cards. Photo cards keep
 * the parent theme's softer gradient so the imagery still reads. */
.meiborg-enterprises-subsite .service-card-bg-watermark::after {
  background: linear-gradient(
    to top,
    rgba(20,20,20,0.96) 0%,
    rgba(20,20,20,0.78) 35%,
    rgba(20,20,20,0.55) 65%,
    rgba(20,20,20,0.35) 100%
  );
}

/* ──────────────────────────────────────────────────────────────────────
 * MEIBORG ENTERPRISES — FOOTER
 * ──────────────────────────────────────────────────────────────────────
 * The four-column .footer-grid markup is reused as-is so all spacing,
 * type, and link colors come from the existing footer CSS. We only need
 * the deltas: a slightly larger footer logo so the Enterprises lockup
 * reads at the same weight as the main-site one, and a new bottom-bar
 * row that places the "Company / News / Contact / Back to Meiborg"
 * links above the copyright line.
 */
.footer-meiborg-enterprises .footer-logo img {
  height: 64px;
  width: auto;
}
.footer-meiborg-enterprises .footer-me-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}
.footer-meiborg-enterprises .footer-me-bottom-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px 14px;
  font-size: 13px;
}
.footer-meiborg-enterprises .footer-me-bottom-links a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition: color var(--transition, 200ms ease);
}
.footer-meiborg-enterprises .footer-me-bottom-links a:hover {
  color: var(--brand-2, #f3b71b);
}
.footer-meiborg-enterprises .footer-me-sep {
  opacity: 0.4;
}
.footer-meiborg-enterprises .footer-me-copy {
  font-size: 12px;
  opacity: 0.6;
}

/* ──────────────────────────────────────────────────────────────────────
 * MEIBORG ENTERPRISES — NAV HOVER COLOR
 * ──────────────────────────────────────────────────────────────────────
 * The main site sets `--scrolled-link-hover: var(--brand-3)` (navy) so
 * nav-link hover/active turns blue once the header scrolls onto a dark
 * backdrop. On the Meiborg Enterprises sub-site we keep yellow (brand-2)
 * for both states so it never disappears against the dark sub-site theme.
 */
.meiborg-enterprises-subsite {
  --scrolled-link-hover: var(--brand-2);
}
.meiborg-enterprises-subsite .header.scrolled .nav-link:hover,
.meiborg-enterprises-subsite .header.scrolled .nav-link.active {
  color: var(--brand-2);
}
.meiborg-enterprises-subsite .nav-dropdown a:hover,
.meiborg-enterprises-subsite .nav-dropdown a.nav-dropdown-link:hover {
  color: var(--brand-2);
}

/* ──────────────────────────────────────────────────────────────────────
 * MEIBORG ENTERPRISES — CARDS WITH BACKGROUND IMAGES
 * ──────────────────────────────────────────────────────────────────────
 * At rest: photo only, no text overlay.
 * On hover/focus: a near-opaque white panel covers the card and
 * reveals the title + excerpt + "Learn More →" in dark type.
 * Touch devices (no hover) keep the photo visible always with the
 * text panel anchored at the bottom — a tap then navigates as normal.
 */

/* Body padding/typography refinements that apply in all states. */
.meiborg-enterprises-subsite .service-card-has-bg .service-card-body {
  padding: 24px;
}
.meiborg-enterprises-subsite .service-card-has-bg .service-card-body h3,
.meiborg-enterprises-subsite .service-card-has-bg .service-card-body p,
.meiborg-enterprises-subsite .service-card-has-bg .service-card-body .card-link {
  color: #1a1a1a !important;
}
.meiborg-enterprises-subsite .service-card-has-bg .service-card-body .card-link {
  color: var(--brand-2, #f3b71b) !important;
  font-weight: 700;
}

@media (hover: hover) {
  /* Hide the bottom gradient overlay normally drawn over the photo —
     the photo should read cleanly at rest. */
  .meiborg-enterprises-subsite .service-card-has-bg .service-card-bg::after {
    background: linear-gradient(to top, rgba(0,0,0,0.18) 0%, transparent 50%);
    transition: opacity 0.3s ease;
  }
  /* Body panel: positioned to fill the card, hidden at rest. */
  .meiborg-enterprises-subsite .service-card-has-bg .service-card-body {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: rgba(255, 255, 255, 0.95);
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.25s ease, transform 0.3s ease;
    pointer-events: none;
  }
  .meiborg-enterprises-subsite .service-card-has-bg:hover .service-card-body,
  .meiborg-enterprises-subsite .service-card-has-bg:focus-within .service-card-body {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  /* Fade out the photo overlay on hover too so the white panel is clean. */
  .meiborg-enterprises-subsite .service-card-has-bg:hover .service-card-bg::after,
  .meiborg-enterprises-subsite .service-card-has-bg:focus-within .service-card-bg::after {
    opacity: 0;
  }
}

/* Touch / no-hover fallback: keep the body visible anchored at the
   bottom of the card so users still see context before tapping. */
@media (hover: none) {
  .meiborg-enterprises-subsite .service-card-has-bg .service-card-body {
    background: rgba(255, 255, 255, 0.92);
  }
}

/* ──────────────────────────────────────────────────────────────────────
 * MEIBORG ENTERPRISES — REVIEWS PAGE TIGHTENING
 * ──────────────────────────────────────────────────────────────────────
 * The default rhythm is 60–120px top/bottom on every .section, which
 * stacks to ~240px of air between the testimonials grid and the yellow
 * "Read More on Google" callout. On this single page that gap reads as
 * empty space. Halve the offending paddings; the rest of the site keeps
 * its standard rhythm.
 */
body.me-reviews-page section.section-navy {
  padding-bottom: clamp(32px, 4vw, 56px);
}
body.me-reviews-page section.section:has(.reviews-cta-sign) {
  padding-top: clamp(32px, 4vw, 56px);
}

/* ──────────────────────────────────────────────────────────────────────
 * MEIBORG ENTERPRISES — WATERMARK CARDS IN LIGHT MODE
 * ──────────────────────────────────────────────────────────────────────
 * On the dark theme the manufacturer SVGs sit on dark cards with a
 * dark gradient overlay, which reads correctly. In light mode the
 * same overlay covers the dark logos against a light card and they
 * effectively vanish. These overrides bump the logo opacity AND
 * swap the dark overlay for a light-tinted gradient that still lifts
 * the title region but lets the logo show through.
 */
[data-theme="light"] .meiborg-enterprises-subsite .service-card-bg-watermark {
  /* The imported manufacturer SVGs are all fill:#ffffff (designed for
   * the original dark-theme site). On a light card they're invisible
   * regardless of opacity. invert(1) flips pure white to pure black,
   * which then reads cleanly at moderate opacity. */
  opacity: 0.45;
  filter: invert(1);
}
[data-theme="light"] .meiborg-enterprises-subsite .service-card-bg-watermark::after {
  background: linear-gradient(
    to top,
    rgba(245, 245, 247, 0.92) 0%,
    rgba(245, 245, 247, 0.55) 35%,
    rgba(245, 245, 247, 0.15) 65%,
    transparent              100%
  );
}
[data-theme="light"] .meiborg-enterprises-subsite .service-card-has-bg:hover .service-card-bg-watermark {
  opacity: 0.65;
}
.wp-block-separator {
    margin: 40px auto;
    opacity: .3;
}

/* ══════════════════════════════════════════════════════════════ */
/* SINGLE POST LAYOUT (single.php — blog + News & PR articles)   */
/* ══════════════════════════════════════════════════════════════ */
/* Two-column layout: article body on the left, widgetized       */
/* sidebar on the right. Sidebar collapses below the article on  */
/* narrow viewports so mobile reading order stays content-first. */
.blog-post-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 56px;
    align-items: start;
}
.blog-post-main { min-width: 0; }

/* Sidebar shell: brand-blue tinted gradient that fades to transparent
 * down the column. Subtle wash, not a solid block — gives visual
 * separation from the article body without competing with content.
 * Border + radius + padding turn it into a contained card. The
 * gradient color uses --brand-3 (#0033a1) via rgba so it reads
 * correctly in both dark and light theme modes. */
.blog-post-sidebar {
    position: sticky;
    top: 100px;
    padding: 32px 28px;
    border-radius: 12px;
    border: 1px solid var(--border-subtle, rgba(0,0,0,0.08));
    background-image: linear-gradient(
        180deg,
        rgba(0, 51, 161, 0.22) 0%,
        rgba(0, 51, 161, 0.08) 45%,
        rgba(0, 51, 161, 0.00) 100%
    );
}

.blog-sidebar-widget { margin-bottom: 36px; }
.blog-sidebar-widget:last-child { margin-bottom: 0; }
.blog-sidebar-title {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-subtle, rgba(0,0,0,0.10));
    color: var(--text-heading, inherit);
}
.blog-sidebar-widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.blog-sidebar-widget li { margin-bottom: 14px; }
.blog-sidebar-widget li:last-child { margin-bottom: 0; }
.blog-sidebar-widget a { text-decoration: none; color: inherit; }
.blog-sidebar-widget a:hover { color: var(--brand-2); }

/* Latest Posts: each row is a 64px square thumb + title/date stack.
 * Anchor wraps the whole row so the hit area is the full card. */
.blog-sidebar-recent li { margin-bottom: 16px; }
.blog-sidebar-recent-item {
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 14px;
    align-items: center;
}
.blog-sidebar-recent-thumb {
    display: block;
    width: 64px;
    height: 64px;
    border-radius: 8px;
    background-size: cover;
    background-position: center;
    background-color: rgba(0, 51, 161, 0.15);
    flex-shrink: 0;
}
.blog-sidebar-recent-body {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}
.blog-sidebar-recent-title {
    font-size: 0.92rem;
    font-weight: 600;
    line-height: 1.3;
    color: var(--text-heading, inherit);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.blog-sidebar-recent-date {
    font-size: 0.75rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-muted, rgba(0,0,0,0.5));
}
.blog-sidebar-recent-item:hover .blog-sidebar-recent-title { color: var(--brand-2); }

/* Topics: pill row. Targets both:
 *   1. Our custom fallback markup (.blog-sidebar-tags)
 *   2. WP's core Tag Cloud widget output (.blog-post-sidebar .tagcloud)
 *      — core uses inline font-size to size tags by popularity; we
 *      override with !important so every pill renders the same. */
.blog-sidebar-tags,
.blog-post-sidebar .tagcloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    line-height: 1.4;
}
.blog-sidebar-tags li { margin: 0; }
.blog-sidebar-tags a,
.blog-post-sidebar .tagcloud a,
.blog-post-sidebar .tagcloud .tag-cloud-link {
    display: inline-block;
    padding: 5px 12px;
    background: rgba(0, 51, 161, 0.10);
    border-radius: 999px;
    font-size: 0.8rem !important; /* beats core's inline font-size */
    font-weight: 500;
    color: var(--text-body, inherit);
    text-decoration: none;
    transition: background 0.15s ease, color 0.15s ease;
}
.blog-sidebar-tags a:hover,
.blog-post-sidebar .tagcloud a:hover,
.blog-post-sidebar .tagcloud .tag-cloud-link:hover {
    background: var(--brand-2);
    /* Dark text on yellow — white-on-yellow fails WCAG contrast. */
    color: var(--brand-1);
}

/* Contact block */
.blog-sidebar-contact { margin: 12px 0 16px; line-height: 1.6; }
.blog-sidebar-contact a {
    display: inline-block;
    font-weight: 500;
}

@media (max-width: 900px) {
    .blog-post-layout {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    .blog-post-sidebar {
        position: static;
    }
}

/* ══════════════════════════════════════════════════════════════ */
/* NEWS PAGINATION BAND (archive-meiborg_news.php)               */
/* ══════════════════════════════════════════════════════════════ */
/* Full-bleed dark band sitting between the news grid and the    */
/* CTA band. Three-column layout: Previous on the left, numbered */
/* circles centered, Next on the right. Numbers use brand yellow */
/* (#ffda00) — outlined for inactive, filled for current page.   */
.news-pagination-band {
    width: 100%;
    padding: 36px clamp(20px, 4vw, 60px);
    background: #111;
    color: #fff;
}
.news-pagination-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 24px;
}
.news-pagination-prev { justify-self: start; }
.news-pagination-next { justify-self: end; }
.news-pagination-spacer { display: inline-block; width: 1px; height: 1px; }

/* Numbered circles (middle column). paginate_links() emits a
 * series of <a class="page-numbers"> and one <span class="page-numbers
 * current"> for the active page, plus a <span class="page-numbers dots">
 * for ellipses. */
.news-pagination-numbers {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.news-pagination-numbers .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--brand-2);
    color: var(--brand-2);
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
    line-height: 1;
}
.news-pagination-numbers a.page-numbers:hover {
    background: var(--brand-2);
    color: var(--brand-1);
    transform: translateY(-1px);
}
.news-pagination-numbers .page-numbers.current {
    background: var(--brand-2);
    color: var(--brand-1);
    cursor: default;
}
/* Ellipsis: stripped of the circle treatment so "1 ... 8 9 10" doesn't
 * look like the ellipsis itself is a clickable page. */
.news-pagination-numbers .page-numbers.dots {
    border: none;
    width: auto;
    height: auto;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 2px;
}

/* Prev / Next buttons (left + right columns). Text + arrow combos. */
.news-pagination-prev a,
.news-pagination-next a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    letter-spacing: 0.02em;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.news-pagination-prev a:hover,
.news-pagination-next a:hover {
    background: var(--brand-2);
    border-color: var(--brand-2);
    color: var(--brand-1);
}
.news-pag-arrow {
    font-size: 1.1em;
    line-height: 1;
}
.news-pag-label { line-height: 1; }

/* Light theme: keep the band dark for visual contrast against the
 * white article grid above and the dark CTA band below. */
[data-theme="light"] .news-pagination-band {
    background: #111;
    color: #fff;
}

@media (max-width: 700px) {
    .news-pagination-band { padding: 24px 16px; }
    .news-pagination-inner {
        grid-template-columns: 1fr;
        gap: 20px;
        text-align: center;
        justify-items: center;
    }
    .news-pagination-prev,
    .news-pagination-next { justify-self: center; }
    /* On phones the prev/next labels eat too much width — drop them
     * and keep just the arrow inside a smaller pill. */
    .news-pag-label { display: none; }
    .news-pagination-prev a,
    .news-pagination-next a { padding: 10px 16px; }
    .news-pagination-numbers .page-numbers {
        width: 36px;
        height: 36px;
        font-size: 0.85rem;
    }
}

/* ══════════════════════════════════════════════════════════════ */
/* ORBIT FUELS SUB-SITE                                          */
/* ══════════════════════════════════════════════════════════════ */
/* Scoped under .orbit-fuels-subsite so styling only affects the */
/* sub-site pages and doesn't leak into the main Meiborg site.   */
/*                                                                */
/* Design intent: dark navy/purple surfaces throughout with white */
/* primary text and orange accents. All text/background combos   */
/* below pass WCAG AA contrast (4.5:1 for normal text, 3:1 for   */
/* large headings). Orange is reserved for headings, eyebrows,   */
/* and large UI elements where it sits above the 3:1 threshold;  */
/* never on small body text where it'd fail.                     */
/*                                                                */
/* Brand colors from Orbit_Fuels_Logo.svg:                       */
/*   #fc8212  orange   — primary accent                          */
/*   #15095e  navy     — primary surface                         */
.orbit-fuels-subsite {
    --of-orange: #fc8212;
    --of-orange-hover: #ffa44d;
    --of-navy: #15095e;
    --of-navy-deep: #0e0640;     /* darker navy for nested sections */
    --of-navy-surface: #1f1075;   /* lighter navy for cards/inputs */
    --of-text: rgba(255, 255, 255, 0.92);
    --of-text-muted: rgba(255, 255, 255, 0.68);
    --of-border: rgba(255, 255, 255, 0.12);
}

/* Override the global brand tokens so components throughout the
 * theme pick up Orbit colors without needing every selector
 * re-declared. */
.orbit-fuels-subsite {
    --brand-2: var(--of-orange);
    --brand-2-light: var(--of-orange-hover);
    --brand-3: var(--of-navy);
}

/* Body */
.orbit-fuels-subsite {
    background: var(--of-navy);
    color: var(--of-text);
    /* Generous default for the subsite — base inherits ~1.4 which felt
     * cramped on dark surfaces. 1.65 reads cleanly without looking sparse. */
    line-height: 1.65;
}

/* Typography */
.orbit-fuels-subsite h1,
.orbit-fuels-subsite h2,
.orbit-fuels-subsite h3,
.orbit-fuels-subsite h4,
.orbit-fuels-subsite h5 {
    color: #fff;
    line-height: 1.25;
}
.orbit-fuels-subsite h1 { line-height: 1.15; }
.orbit-fuels-subsite h1 em,
.orbit-fuels-subsite h2 em,
.orbit-fuels-subsite h3 em { color: var(--of-orange); font-style: normal; font-weight: inherit; }
.orbit-fuels-subsite p {
    color: var(--of-text);
    line-height: 1.7;
    margin-bottom: 1em;
}
.orbit-fuels-subsite p:last-child { margin-bottom: 0; }
.orbit-fuels-subsite li { line-height: 1.7; }
.orbit-fuels-subsite .section-pre {
    color: var(--of-orange);
    letter-spacing: 0.18em;
    font-weight: 700;
}
.orbit-fuels-subsite a { color: var(--of-orange); }
.orbit-fuels-subsite a:hover { color: var(--of-orange-hover); }

/* Section backgrounds — most sections inherit the body navy; the
 * .section-gray helper class on the Services section gets a slightly
 * lighter navy variant so the grid pops without breaking the dark
 * surface intent. */
.orbit-fuels-subsite .section { background: transparent; }
.orbit-fuels-subsite .of-services-section.section-gray { background: var(--of-navy-deep); }
.orbit-fuels-subsite .of-process-section.section-dark { background: var(--of-navy-deep); }
.orbit-fuels-subsite .of-stats-section { background: var(--of-navy); }

/* Header */
.header-orbit-fuels {
    background: rgba(14, 6, 64, 0.92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--of-border);
}
.header-orbit-fuels .nav-link { color: #fff; font-weight: 600; }
.header-orbit-fuels .nav-link:hover,
.header-orbit-fuels .nav-link.active { color: var(--of-orange); }

/* Logo — sized up for visual weight on the dark navy header. Uses
 * a fixed height (not max-height) so the SVG always renders at 80px
 * regardless of its intrinsic dimensions. Container height grows
 * with it so the header doesn't crop the artwork. */
.header-orbit-fuels { min-height: 96px; }
.header-orbit-fuels .header-inner { min-height: 96px; }
.header-orbit-fuels .nav-logo img {
    height: 80px;
    width: auto;
    display: block;
}

/* Scrolled state: the global rule shrinks the logo to 32px in a 64px
 * header. On Orbit we keep the logo at the full 80px because the
 * Orbit_Fuels_Logo.svg loses too much detail at 32px. The
 * .header-inner height is unlocked back to 96px to fit. Selector is
 * doubled-up (.header.scrolled.header-orbit-fuels) so it beats the
 * global .header.scrolled rule on specificity. */
.header.scrolled.header-orbit-fuels .header-inner {
    height: auto;
    min-height: 96px;
}
.header.scrolled.header-orbit-fuels .nav-logo img {
    height: 80px;
}

/* Request a Quote button — orange-filled primary CTA. */
.of-quote-btn {
    background: var(--of-orange);
    color: #fff;
    border-color: var(--of-orange);
    white-space: nowrap;
}
.of-quote-btn:hover {
    background: var(--of-orange-hover);
    border-color: var(--of-orange-hover);
    color: var(--of-navy);
}

/* "Back to Meiborg" button — ghost style on the Orbit header. The
 * default .btn-primary fill was reading as a second orange CTA next
 * to "Request a Quote" and was getting truncated when the orange
 * crashed into the surrounding pill. Strip the fill, give it a
 * transparent surface with a thin white border, ensure the label
 * never wraps, and let hover bring the orange back in. */
.orbit-fuels-subsite .of-back-btn,
.orbit-fuels-subsite .of-back-btn.btn-primary {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    white-space: nowrap;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.orbit-fuels-subsite .of-back-btn:hover,
.orbit-fuels-subsite .of-back-btn.btn-primary:hover {
    background: var(--of-orange);
    border-color: var(--of-orange);
    color: var(--of-navy);
}
/* Keep the Meiborg M-icon at its original SVG colors (brand yellow +
 * black) so it reads as the Meiborg mark, not a generic white glyph. */
.orbit-fuels-subsite .of-back-btn .me-back-m-icon {
    height: 20px;
    width: auto;
}

/* Buttons */
.orbit-fuels-subsite .btn-primary {
    background: var(--of-orange);
    border-color: var(--of-orange);
    color: #fff;
}
.orbit-fuels-subsite .btn-primary:hover {
    background: var(--of-orange-hover);
    border-color: var(--of-orange-hover);
    color: var(--of-navy);
}
.orbit-fuels-subsite .btn-secondary,
.orbit-fuels-subsite .btn-outline-dark {
    background: transparent;
    border: 2px solid var(--of-orange);
    color: var(--of-orange);
}
.orbit-fuels-subsite .btn-secondary:hover,
.orbit-fuels-subsite .btn-outline-dark:hover {
    background: var(--of-orange);
    color: var(--of-navy);
}

/* Hero — kept dark-friendly. Existing template handles structure. */
.orbit-fuels-subsite .hero h1 { color: #fff; }
.orbit-fuels-subsite .hero p { color: rgba(255, 255, 255, 0.92); }
.orbit-fuels-subsite .hero-pre { color: var(--of-orange); }
.orbit-fuels-subsite .hero-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(14, 6, 64, 0.45) 0%, rgba(14, 6, 64, 0.85) 100%);
    z-index: 1;
    pointer-events: none;
}
.orbit-fuels-subsite .hero-container { position: relative; z-index: 2; }

/* Intro section */
.of-intro h2 { font-size: clamp(1.75rem, 1.5rem + 1.5vw, 2.5rem); line-height: 1.2; }
.orbit-fuels-subsite .two-col-body p { color: var(--of-text); }

/* Services cards (landing + services page).
 * Dark surface card with a subtle border. Hover lifts the card and
 * brings the orange accent up — same interaction as the main site. */
.of-service-cards .of-service-card,
.of-service-cards-large .of-service-card-large {
    background: var(--of-navy-surface);
    border: 1px solid var(--of-border);
    border-radius: 12px;
    padding: 28px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.of-service-cards .of-service-card:hover,
.of-service-cards-large .of-service-card-large:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
    border-color: var(--of-orange);
}
.of-service-cards .of-service-card h3,
.of-service-cards-large .of-service-card-large h3 {
    color: #fff;
    margin-bottom: 12px;
    font-size: 1.15rem;
}
.of-service-cards .of-service-card p,
.of-service-cards-large .of-service-card-large p { color: var(--of-text-muted); }
.of-service-cards-large .of-service-card-large { padding: 36px; }
.of-service-cards-large .of-service-card-large h3 { font-size: 1.4rem; }

/* Why-choose cards (no card surface — text only on body navy) */
.of-why-cards .of-why-card { text-align: center; padding: 32px 24px; }
.of-why-cards .of-why-card h3 { color: #fff; margin-bottom: 12px; }
.of-why-cards .of-why-card p { color: var(--of-text-muted); }

/* Process band */
.of-process-section h2,
.of-process-section h3 { color: #fff; }
.of-process-section h2 em { color: var(--of-orange); }
.of-process-section p { color: var(--of-text-muted); }
.of-process-steps .of-process-step { text-align: center; }
.of-process-num {
    display: inline-block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--of-orange);
    margin-bottom: 16px;
    letter-spacing: 0.02em;
}

/* Stats: orange glow on white numbers against navy */
.orbit-fuels-subsite .stat-number {
    color: #fff;
    text-shadow:
        0 0 20px rgba(252, 130, 18, 0.55),
        0 0 50px rgba(252, 130, 18, 0.3);
}
.orbit-fuels-subsite .stat-label { color: var(--of-text-muted); }

/* CTA accent band */
.of-cta-section.section-accent {
    background: var(--of-orange);
    color: var(--of-navy);
}
.of-cta-section h2 { color: var(--of-navy); }
.of-cta-section p { color: rgba(21, 9, 94, 0.85); }
.of-cta-section .btn-primary {
    background: var(--of-navy);
    color: #fff;
    border-color: var(--of-navy);
}
.of-cta-section .btn-primary:hover {
    background: #fff;
    color: var(--of-navy);
    border-color: #fff;
}

/* Page hero (about, services, contact) */
.of-page-hero { min-height: 42vh; }
.of-page-hero-default {
    background: linear-gradient(135deg, var(--of-navy-deep) 0%, var(--of-navy) 60%, var(--of-navy-surface) 100%);
}
.of-page-hero h1 { color: #fff; }
.of-page-hero p { color: var(--of-text); }
.of-page-hero .breadcrumbs,
.of-page-hero .breadcrumbs a { color: var(--of-text-muted); }
.of-page-hero .breadcrumbs a:hover { color: var(--of-orange); }

/* About content */
.of-about-content { max-width: 100%; margin: 0 auto; color: var(--of-text); }
.of-about-content h2,
.of-about-content h3 { color: #fff; }
.of-about-content blockquote {
    border-left: 4px solid var(--of-orange);
    margin: 24px 0;
    color: #fff;
    background: var(--of-navy-surface);
    padding: 20px 24px;
    border-radius: 4px;
    font-style: italic;
}
.of-about-content ul li { margin-bottom: 8px; color: var(--of-text); }

/* Contact section */
.of-contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
    gap: 56px;
    align-items: start;
}
.of-contact-info h2 { margin-bottom: 16px; }
.of-contact-info p { color: var(--of-text); }
.of-contact-detail-list {
    list-style: none;
    padding: 0;
    margin: 32px 0 0;
    color: var(--of-text);
}
.of-contact-detail-list li {
    padding: 14px 0;
    border-bottom: 1px solid var(--of-border);
}
.of-contact-detail-list strong {
    display: block;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--of-orange);
    margin-bottom: 6px;
}
.of-contact-detail-list a { color: #fff; }
.of-contact-detail-list a:hover { color: var(--of-orange); }

/* Form */
.of-contact-form {
    background: var(--of-navy-surface);
    padding: 32px;
    border-radius: 12px;
    border: 1px solid var(--of-border);
}
.of-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 24px;
}
.of-form-field--full { grid-column: 1 / -1; }
.of-form-field label {
    display: block;
    margin-bottom: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #fff;
}
.of-form-field input,
.of-form-field select,
.of-form-field textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--of-border);
    border-radius: 6px;
    background: var(--of-navy-deep);
    color: #fff;
    font: inherit;
    font-size: 0.95rem;
}
.of-form-field input::placeholder,
.of-form-field textarea::placeholder { color: rgba(255, 255, 255, 0.4); }
.of-form-field input:focus,
.of-form-field select:focus,
.of-form-field textarea:focus {
    border-color: var(--of-orange);
    outline: 2px solid rgba(252, 130, 18, 0.25);
    outline-offset: 0;
}

/* Contact notices */
.of-contact-notice {
    padding: 16px 20px;
    border-radius: 8px;
    margin-bottom: 32px;
    font-weight: 500;
}
.of-contact-notice--success {
    background: rgba(252, 130, 18, 0.15);
    color: #fff;
    border-left: 4px solid var(--of-orange);
}
.of-contact-notice--error {
    background: rgba(220, 50, 50, 0.15);
    color: #fff;
    border-left: 4px solid #ff5a5a;
}

@media (max-width: 800px) {
    .of-contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .of-form-grid { grid-template-columns: 1fr; }
}

/* Footer */
.footer-orbit-fuels {
    background: var(--of-navy-deep);
    color: var(--of-text);
    padding: 64px 32px 24px;
    border-top: 1px solid var(--of-border);
}
.footer-orbit-fuels .footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 56px;
    max-width: var(--max-width);
    margin: 0 auto;
}
.footer-orbit-fuels h4 {
    color: #fff;
    margin-bottom: 16px;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.footer-orbit-fuels p { color: var(--of-text-muted); line-height: 1.6; }
.footer-orbit-fuels a { color: #fff; }
.footer-orbit-fuels a:hover { color: var(--of-orange); }
.footer-orbit-fuels ul { list-style: none; padding: 0; margin: 0; }
.footer-orbit-fuels ul li { margin-bottom: 8px; }
.footer-orbit-fuels .footer-logo img { max-height: 64px; margin-bottom: 16px; }
.footer-orbit-fuels .footer-contact-list li {
    margin-bottom: 14px;
    color: var(--of-text);
}
.footer-orbit-fuels .footer-contact-list strong {
    display: block;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--of-orange);
    margin-bottom: 4px;
}
/* The contact list markup uses a <br> right after each <strong> label
 * for line breaks in the address block, but combined with the block-
 * level strong and the subsite's 1.7 line-height it creates a tall
 * empty line under each orange label. Hide that first BR so the
 * value sits tight under its label; the remaining BRs between address
 * lines still render. Same fix applied to the contact page detail
 * list below. */
.footer-orbit-fuels .footer-contact-list strong + br,
.of-contact-detail-list strong + br {
    display: none;
}
.footer-orbit-fuels .footer-bottom {
    max-width: var(--max-width);
    margin: 48px auto 0;
    padding-top: 24px;
    border-top: 1px solid var(--of-border);
    text-align: center;
    color: var(--of-text-muted);
    font-size: 0.85rem;
}

@media (max-width: 800px) {
    .footer-orbit-fuels .footer-grid { grid-template-columns: 1fr; gap: 40px; }
    .footer-orbit-fuels { padding: 48px 24px 24px; }
}

/* ══════════════════════════════════════════════════════════════ */
/* SILVER ARROW EXPRESS SUB-SITE                                 */
/* ══════════════════════════════════════════════════════════════ */
/* Pure monochrome treatment: black, silver, white. No third      */
/* accent color, by design. Cinematic / "Landman" aesthetic that  */
/* leans on contrast and typography rather than chroma. Every     */
/* text/background pair below passes WCAG AA (white-on-near-black */
/* is ~17:1, silver-on-near-black is ~9:1). Scoped under          */
/* .silver-arrow-express-subsite so it does not leak elsewhere.   */
.silver-arrow-express-subsite {
    --sae-black: #0a0a0a;           /* body background */
    --sae-charcoal: #141414;         /* surfaces, cards */
    --sae-graphite: #1f1f1f;         /* nested surfaces */
    --sae-silver: #c8ccd0;           /* accent — silver/grey from the logo */
    --sae-silver-bright: #e5e7ea;    /* hover accent */
    --sae-border: rgba(255, 255, 255, 0.10);
    --sae-text: rgba(255, 255, 255, 0.92);
    --sae-text-muted: rgba(255, 255, 255, 0.6);
}

/* Override global brand tokens so theme components pick up SAE
 * monochrome without needing every selector re-declared. */
.silver-arrow-express-subsite {
    --brand-2: var(--sae-silver);
    --brand-2-light: var(--sae-silver-bright);
    --brand-3: var(--sae-charcoal);
}

/* Body */
.silver-arrow-express-subsite {
    background: var(--sae-black);
    color: var(--sae-text);
    line-height: 1.65;
}

/* Typography */
.silver-arrow-express-subsite h1,
.silver-arrow-express-subsite h2,
.silver-arrow-express-subsite h3,
.silver-arrow-express-subsite h4,
.silver-arrow-express-subsite h5 {
    color: #fff;
    line-height: 1.2;
    /* Slight letter-spacing + uppercase on display headings for the
     * cinematic feel without becoming a yelling site. */
    letter-spacing: -0.005em;
}
.silver-arrow-express-subsite h1 { line-height: 1.1; }
.silver-arrow-express-subsite h1 em,
.silver-arrow-express-subsite h2 em,
.silver-arrow-express-subsite h3 em {
    color: var(--sae-silver);
    font-style: italic;
    font-weight: inherit;
}
.silver-arrow-express-subsite p {
    color: var(--sae-text);
    line-height: 1.7;
    margin-bottom: 1em;
}
.silver-arrow-express-subsite p:last-child { margin-bottom: 0; }
.silver-arrow-express-subsite li { line-height: 1.7; }
.silver-arrow-express-subsite .section-pre {
    color: var(--sae-silver);
    letter-spacing: 0.18em;
    font-weight: 700;
    text-transform: uppercase;
}
.silver-arrow-express-subsite a { color: var(--sae-silver-bright); }
.silver-arrow-express-subsite a:hover { color: #fff; }

/* Section backgrounds */
.silver-arrow-express-subsite .section { background: transparent; }
.silver-arrow-express-subsite .sae-fleet-section.section-dark { background: var(--sae-charcoal); }
.silver-arrow-express-subsite .sae-why-section.section-darker { background: #050505; }
.silver-arrow-express-subsite .sae-services-section { background: var(--sae-black); }
.silver-arrow-express-subsite .sae-stats-section { background: var(--sae-charcoal); }

/* Header */
.header-silver-arrow-express {
    background: rgba(10, 10, 10, 0.92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--sae-border);
    min-height: 96px;
}
.header-silver-arrow-express .header-inner { min-height: 96px; }
.header-silver-arrow-express .nav-link {
    color: #fff;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-size: 0.85rem;
}
.header-silver-arrow-express .nav-link:hover,
.header-silver-arrow-express .nav-link.active { color: var(--sae-silver); }
.header-silver-arrow-express .nav-logo img {
    height: 60px;
    width: auto;
    display: block;
}
.header.scrolled.header-silver-arrow-express .header-inner {
    height: auto;
    min-height: 96px;
}
.header.scrolled.header-silver-arrow-express .nav-logo img { height: 60px; }

/* 24/7 Dispatch button in header */
.sae-dispatch-btn {
    background: transparent;
    border: 1px solid var(--sae-silver);
    color: var(--sae-silver);
    white-space: nowrap;
}
.sae-dispatch-btn:hover {
    background: var(--sae-silver);
    color: var(--sae-black);
    border-color: var(--sae-silver);
}

/* "Back to Meiborg" — ghost button, same pattern as Orbit. */
.silver-arrow-express-subsite .sae-back-btn,
.silver-arrow-express-subsite .sae-back-btn.btn-primary {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    white-space: nowrap;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.silver-arrow-express-subsite .sae-back-btn:hover,
.silver-arrow-express-subsite .sae-back-btn.btn-primary:hover {
    background: var(--sae-silver);
    border-color: var(--sae-silver);
    color: var(--sae-black);
}
.silver-arrow-express-subsite .sae-back-btn .me-back-m-icon {
    height: 20px;
    width: auto;
}

/* Buttons */
.silver-arrow-express-subsite .btn-primary {
    background: var(--sae-silver);
    border-color: var(--sae-silver);
    color: var(--sae-black);
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.silver-arrow-express-subsite .btn-primary:hover {
    background: #fff;
    border-color: #fff;
    color: var(--sae-black);
}
.silver-arrow-express-subsite .btn-secondary,
.silver-arrow-express-subsite .btn-outline-dark,
.silver-arrow-express-subsite .btn-outline-light {
    background: transparent;
    border: 2px solid var(--sae-silver);
    color: var(--sae-silver);
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.silver-arrow-express-subsite .btn-secondary:hover,
.silver-arrow-express-subsite .btn-outline-dark:hover,
.silver-arrow-express-subsite .btn-outline-light:hover {
    background: var(--sae-silver);
    color: var(--sae-black);
}

/* Hero — page-hero pattern (matches Meiborg Enterprises). All layout,
 * sizing, container width, and content centering comes from the global
 * .page-hero rules. Only color tokens are overridden here so the rest
 * of the dark monochrome palette flows through. */
.silver-arrow-express-subsite .page-hero h1 { color: #fff; }
.silver-arrow-express-subsite .page-hero p { color: rgba(255, 255, 255, 0.92); }
.silver-arrow-express-subsite .page-hero .hero-pre { color: var(--sae-silver); }

/* Intro */
.sae-intro h2 { font-size: clamp(1.75rem, 1.5rem + 1.5vw, 2.75rem); line-height: 1.15; }

/* Fleet showcase band */
.sae-fleet-band { max-width: 820px; margin: 0 auto; }
.sae-fleet-section h2 em { color: var(--sae-silver); font-style: normal; }
.sae-fleet-lead {
    font-size: clamp(1rem, 0.9rem + 0.5vw, 1.25rem);
    color: var(--sae-silver);
    margin: 16px 0;
    font-weight: 600;
    letter-spacing: 0.02em;
}
.sae-fleet-rule {
    width: 80px;
    height: 2px;
    background: var(--sae-silver);
    margin: 32px auto;
    opacity: 0.6;
}
.sae-fleet-sub { color: var(--sae-text-muted); max-width: 640px; margin: 0 auto; }

/* Services cards (landing) */
.sae-service-cards .sae-service-card {
    background: var(--sae-charcoal);
    border: 1px solid var(--sae-border);
    border-radius: 4px; /* squarer corners for industrial feel */
    padding: 28px;
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.sae-service-cards .sae-service-card:hover {
    transform: translateY(-2px);
    border-color: var(--sae-silver);
    background: var(--sae-graphite);
}
.sae-service-cards .sae-service-card h3 {
    color: #fff;
    margin-bottom: 12px;
    font-size: 1.05rem;
    letter-spacing: 0.02em;
}
.sae-service-cards .sae-service-card p { color: var(--sae-text-muted); }

/* Services overview "deep" layout on the Services page */
.sae-services-deep { display: flex; flex-direction: column; gap: 0; }
.sae-deep-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
    gap: 48px;
    padding: 40px 0;
    border-top: 1px solid var(--sae-border);
    align-items: start;
}
.sae-deep-row:last-child { border-bottom: 1px solid var(--sae-border); }
.sae-deep-row-head h3 {
    color: #fff;
    font-size: 1.4rem;
    margin-bottom: 8px;
}
.sae-deep-row-lead {
    color: var(--sae-silver);
    font-weight: 600;
    letter-spacing: 0.02em;
}
.sae-deep-row-body p { color: var(--sae-text); }
@media (max-width: 800px) {
    .sae-deep-row { grid-template-columns: 1fr; gap: 16px; }
}

/* Why-choose — numbered carded tiles (silver accent, matches services) */
.sae-why-cards { counter-reset: sae-why; }
.sae-why-cards .sae-why-card {
    position: relative;
    text-align: left;
    padding: 30px 26px 26px;
    background: var(--sae-charcoal);
    border: 1px solid var(--sae-border);
    border-top: 3px solid var(--sae-silver);
    border-radius: 4px;
    transition: transform 0.2s ease, background 0.2s ease;
}
.sae-why-cards .sae-why-card:hover { transform: translateY(-2px); background: var(--sae-graphite); }
.sae-why-cards .sae-why-card::before {
    counter-increment: sae-why;
    content: counter(sae-why, decimal-leading-zero);
    display: block;
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    color: var(--sae-silver);
    margin-bottom: 14px;
}
.sae-why-cards .sae-why-card h3 { color: #fff; margin-bottom: 12px; }
.sae-why-cards .sae-why-card p { color: var(--sae-text-muted); }

/* Full-bleed Fleet photo band */
.sae-fleet-band-img .section-pre { color: var(--sae-silver); }
.sae-fleet-band-img h2 { color: #fff; }
.sae-fleet-band-img h2 em { color: var(--sae-silver); font-style: normal; }
.sae-fleet-band-img .sae-fleet-lead { color: var(--sae-silver); font-weight: 600; letter-spacing: 0.02em; margin: 16px 0 0; }
.sae-fleet-band-img .sae-fleet-sub { color: rgba(255,255,255,0.82); max-width: 640px; margin: 12px auto 0; }

/* Distinct section band (services) so it separates from its dark neighbors */
.sae-band-alt {
    background: var(--sae-charcoal);
    border-top: 1px solid var(--sae-border);
    border-bottom: 1px solid var(--sae-border);
}

/* 24/7 Dispatch CTA band — loud, framed in silver as the primary call-now moment */
.sae-dispatch-band {
    background: var(--sae-graphite);
    border-top: 3px solid var(--sae-silver);
    border-bottom: 3px solid var(--sae-silver);
}
.sae-dispatch-band .section-pre { color: var(--sae-silver); }
.sae-dispatch-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 48px;
    align-items: center;
}
.sae-dispatch-cta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
}
.sae-phone-link {
    display: inline-block;
    font-size: clamp(2.25rem, 1.5rem + 3vw, 3.5rem);
    font-weight: 900;
    color: var(--sae-silver);
    letter-spacing: 0.01em;
    line-height: 1;
    text-decoration: none;
}
.sae-phone-link:hover { color: var(--sae-silver-bright); }
@media (max-width: 800px) {
    .sae-dispatch-inner { grid-template-columns: 1fr; gap: 32px; }
    .sae-dispatch-cta { align-items: stretch; }
}

/* Stats — silver glow on white numbers */
.silver-arrow-express-subsite .stat-number {
    color: #fff;
    text-shadow:
        0 0 18px rgba(200, 204, 208, 0.45),
        0 0 48px rgba(200, 204, 208, 0.2);
}
.silver-arrow-express-subsite .stat-label { color: var(--sae-text-muted); }

/* Closing CTA */
.sae-closing-cta.section-accent {
    background: var(--sae-silver);
    color: var(--sae-black);
}
.sae-closing-cta h2,
.sae-closing-cta p { color: var(--sae-black); }
.sae-closing-cta .btn-primary {
    background: var(--sae-black);
    color: #fff;
    border-color: var(--sae-black);
}
.sae-closing-cta .btn-primary:hover {
    background: #fff;
    color: var(--sae-black);
    border-color: #fff;
}
.sae-closing-cta .btn-outline-light {
    background: transparent;
    border-color: var(--sae-black);
    color: var(--sae-black);
}
.sae-closing-cta .btn-outline-light:hover {
    background: var(--sae-black);
    color: #fff;
}
.sae-closing-buttons {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

/* Page hero (about, services, contact) */
.sae-page-hero { min-height: 42vh; }
.sae-page-hero-default {
    background: linear-gradient(135deg, var(--sae-black) 0%, var(--sae-charcoal) 60%, var(--sae-graphite) 100%);
}
.sae-page-hero h1 { color: #fff; }
.sae-page-hero p { color: var(--sae-text); }
.sae-page-hero .breadcrumbs,
.sae-page-hero .breadcrumbs a { color: var(--sae-text-muted); }
.sae-page-hero .breadcrumbs a:hover { color: var(--sae-silver); }

/* About content */
.sae-about-content { max-width: 100%; margin: 0 auto; color: var(--sae-text); }
.sae-about-content h2,
.sae-about-content h3 { color: #fff; }
.sae-about-content blockquote {
    border-left: 4px solid var(--sae-silver);
    margin: 32px 0;
    color: #fff;
    background: var(--sae-charcoal);
    padding: 20px 24px;
    border-radius: 2px;
    font-style: italic;
}
.sae-about-content ul li { margin-bottom: 10px; color: var(--sae-text); }
.sae-about-content ul li strong { color: #fff; }

/* Contact section */
.sae-contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
    gap: 56px;
    align-items: start;
}
.sae-contact-info h2 { margin-bottom: 16px; }
.sae-contact-info p { color: var(--sae-text); }
.sae-contact-detail-list {
    list-style: none;
    padding: 0;
    margin: 32px 0 0;
    color: var(--sae-text);
}
.sae-contact-detail-list li {
    padding: 14px 0;
    border-bottom: 1px solid var(--sae-border);
}
.sae-contact-detail-list strong {
    display: block;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--sae-silver);
    margin-bottom: 6px;
}
.sae-contact-detail-list a { color: #fff; }
.sae-contact-detail-list a:hover { color: var(--sae-silver); }
/* Same BR-after-strong tweak we used for Orbit, applied here too. */
.sae-contact-detail-list strong + br { display: none; }

/* Form */
.sae-contact-form {
    background: var(--sae-charcoal);
    padding: 32px;
    border-radius: 4px;
    border: 1px solid var(--sae-border);
}
.sae-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 24px;
}
.sae-form-field--full { grid-column: 1 / -1; }
.sae-form-field label {
    display: block;
    margin-bottom: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #fff;
    letter-spacing: 0.02em;
}
.sae-form-field input,
.sae-form-field select,
.sae-form-field textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--sae-border);
    border-radius: 3px;
    background: var(--sae-black);
    color: #fff;
    font: inherit;
    font-size: 0.95rem;
}
.sae-form-field input::placeholder,
.sae-form-field textarea::placeholder { color: rgba(255, 255, 255, 0.35); }
.sae-form-field input:focus,
.sae-form-field select:focus,
.sae-form-field textarea:focus {
    border-color: var(--sae-silver);
    outline: 2px solid rgba(200, 204, 208, 0.2);
    outline-offset: 0;
}
.sae-contact-notice {
    padding: 16px 20px;
    border-radius: 4px;
    margin-bottom: 32px;
    font-weight: 500;
}
.sae-contact-notice--success {
    background: rgba(200, 204, 208, 0.12);
    color: #fff;
    border-left: 4px solid var(--sae-silver);
}
.sae-contact-notice--error {
    background: rgba(220, 50, 50, 0.15);
    color: #fff;
    border-left: 4px solid #ff5a5a;
}

@media (max-width: 800px) {
    .sae-contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .sae-form-grid { grid-template-columns: 1fr; }
}

/* Footer */
.footer-silver-arrow-express {
    background: #050505;
    color: var(--sae-text);
    padding: 64px 32px 24px;
    border-top: 1px solid var(--sae-border);
}
.footer-silver-arrow-express .footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 56px;
    max-width: var(--max-width);
    margin: 0 auto;
}
.footer-silver-arrow-express h4 {
    color: #fff;
    margin-bottom: 16px;
    font-size: 0.9rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.footer-silver-arrow-express p { color: var(--sae-text-muted); line-height: 1.65; }
.footer-silver-arrow-express a { color: #fff; }
.footer-silver-arrow-express a:hover { color: var(--sae-silver); }
.footer-silver-arrow-express ul { list-style: none; padding: 0; margin: 0; }
.footer-silver-arrow-express ul li { margin-bottom: 8px; }
.footer-silver-arrow-express .footer-logo img { height: 64px; margin-bottom: 16px; }
.footer-silver-arrow-express .sae-tagline {
    color: var(--sae-silver);
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-size: 0.95rem;
    margin-bottom: 8px;
}
.footer-silver-arrow-express .footer-contact-list li {
    margin-bottom: 14px;
    color: var(--sae-text);
}
.footer-silver-arrow-express .footer-contact-list strong {
    display: block;
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--sae-silver);
    margin-bottom: 4px;
}
.footer-silver-arrow-express .footer-contact-list strong + br { display: none; }
.footer-silver-arrow-express .footer-bottom {
    max-width: var(--max-width);
    margin: 48px auto 0;
    padding-top: 24px;
    border-top: 1px solid var(--sae-border);
    text-align: center;
    color: var(--sae-text-muted);
    font-size: 0.85rem;
}

@media (max-width: 800px) {
    .footer-silver-arrow-express .footer-grid { grid-template-columns: 1fr; gap: 40px; }
    .footer-silver-arrow-express { padding: 48px 24px 24px; }
}

/* ══════════════════════════════════════════════════════════════ */
/* CLASSIC VERTICAL TIMELINE (template-parts/timeline.php)       */
/* ══════════════════════════════════════════════════════════════ */
/* Replaces the previous arc/speedometer timeline. Vertical spine */
/* down the center, entries alternate left/right on desktop, all */
/* on the right of a left-aligned spine on mobile. Each entry is */
/* a card containing year, title, description, and an optional   */
/* logo or photo. Logo images render contained on a neutral tile;*/
/* photos fill the frame for visual weight.                      */
.meiborg-timeline {
    padding: clamp(64px, 8vw, 120px) 0;
    background: var(--bg-body, transparent);
}
.meiborg-timeline-intro {
    max-width: 720px;
    margin: 0 auto clamp(48px, 6vw, 80px);
    text-align: center;
}
.meiborg-timeline-intro h2 { margin: 8px 0 16px; }
.meiborg-timeline-intro p { color: var(--text-secondary, inherit); }
.meiborg-timeline-intro .section-pre {
    display: inline-block;
    margin-bottom: 8px;
}

/* List + spine */
.meiborg-timeline-list {
    position: relative;
    list-style: none;
    padding: 0;
    margin: 0 auto;
    max-width: 1100px;
}
.meiborg-timeline-list::before {
    /* Vertical spine. Solid line in the brand muted tone so it
     * reads on both light and dark theme without re-declaring. */
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: var(--divider-color, rgba(0, 0, 0, 0.12));
    transform: translateX(-50%);
}

/* Entry */
.meiborg-timeline-entry {
    position: relative;
    width: 50%;
    padding: 32px 56px 32px 0;  /* default = left entry */
    box-sizing: border-box;
}
.meiborg-timeline-entry--right {
    margin-left: 50%;
    padding: 32px 0 32px 56px;
}

/* Marker dot on the spine */
.meiborg-timeline-marker {
    position: absolute;
    top: 48px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--brand-2, #ffda00);
    border: 3px solid var(--bg-body, #fff);
    box-shadow: 0 0 0 1px var(--divider-color, rgba(0, 0, 0, 0.12));
    z-index: 2;
}
.meiborg-timeline-entry--left .meiborg-timeline-marker { right: -8px; }
.meiborg-timeline-entry--right .meiborg-timeline-marker { left: -8px; }

/* Card */
.meiborg-timeline-card {
    background: var(--bg-surface, #fff);
    border: 1px solid var(--card-border, rgba(0, 0, 0, 0.08));
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 16px var(--shadow-color, rgba(0, 0, 0, 0.06));
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.meiborg-timeline-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px var(--shadow-color, rgba(0, 0, 0, 0.12));
    border-color: var(--brand-2, #ffda00);
}

/* Media — two treatments by class modifier */
.meiborg-timeline-media {
    width: 100%;
    overflow: hidden;
    background: var(--bg-surface-alt, #f3f6fa);
    display: flex;
    align-items: center;
    justify-content: center;
}
.meiborg-timeline-media--photo {
    aspect-ratio: 16 / 10;
}
.meiborg-timeline-media--photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.meiborg-timeline-media--logo {
    padding: 32px;
    min-height: 140px;
}
.meiborg-timeline-media--logo img {
    max-width: 70%;
    max-height: 120px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

/* Body */
.meiborg-timeline-body { padding: 28px; }
.meiborg-timeline-year {
    font-size: clamp(1.5rem, 1.2rem + 1vw, 2.25rem);
    font-weight: 900;
    line-height: 1;
    color: var(--brand-2, #ffda00);
    letter-spacing: 0.02em;
    margin-bottom: 8px;
}
.meiborg-timeline-title {
    font-size: 1.2rem;
    line-height: 1.3;
    margin: 0 0 10px;
    color: var(--text-heading, inherit);
}
.meiborg-timeline-desc {
    color: var(--text-body, inherit);
    line-height: 1.6;
    margin: 0;
}

/* Mobile: single column, spine slides to the left, all entries
 * stack on the right of the spine. */
@media (max-width: 900px) {
    .meiborg-timeline-list::before { left: 16px; }
    .meiborg-timeline-entry,
    .meiborg-timeline-entry--right {
        width: 100%;
        margin-left: 0;
        padding: 24px 0 24px 48px;
    }
    .meiborg-timeline-entry--left .meiborg-timeline-marker,
    .meiborg-timeline-entry--right .meiborg-timeline-marker {
        left: 8px;
        right: auto;
    }
    .meiborg-timeline-media--logo { min-height: 120px; padding: 24px; }
    .meiborg-timeline-media--logo img { max-height: 100px; }
}