/* LBS 2020 Electric — Site Styles
   Dark navy + electric amber | Mobile-first | Vanilla CSS */

:root {
  --navy-950: #070b14;
  --navy-900: #0b1220;
  --navy-800: #111a2e;
  --navy-700: #1a2744;
  --navy-600: #243556;
  --charcoal: #151a22;
  --amber-400: #ffc107;
  --amber-500: #f5a623;
  --amber-600: #e09500;
  --amber-glow: rgba(245, 166, 35, 0.35);
  --white: #ffffff;
  --off-white: #f6f7f9;
  --gray-100: #eef0f4;
  --gray-200: #dde1e8;
  --gray-400: #9aa3b2;
  --gray-600: #5a6475;
  --gray-800: #1f2937;
  --success: #22c55e;
  --danger: #ef4444;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(7, 11, 20, 0.12);
  --shadow-lg: 0 12px 40px rgba(7, 11, 20, 0.2);
  --font: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --max: 1120px;
  --header-h: 80px;
  --transition: 0.2s ease;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--gray-800);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--amber-600); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--amber-500); }
ul { list-style: none; }
button, input, select, textarea { font: inherit; }

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ——— Skip link ——— */
.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 1000;
  background: var(--amber-500); color: var(--navy-950); padding: 0.5rem 1rem;
  border-radius: 6px; font-weight: 600;
}
.skip-link:focus { top: 1rem; }

/* ——— Header ——— */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(11, 18, 32, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(245, 166, 35, 0.15);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; min-height: var(--header-h); padding-block: 0.5rem;
}
.logo-link {
  display: flex; align-items: center; flex-shrink: 0;
}
.logo-link img {
  height: 56px; width: auto; max-width: min(280px, 58vw);
  object-fit: contain; object-position: left center;
}
.footer-brand img {
  height: 72px; width: auto; max-width: 300px;
  object-fit: contain; object-position: left center;
}
.nav-toggle {
  display: flex; flex-direction: column; gap: 5px;
  background: transparent; border: 1px solid var(--navy-600);
  border-radius: 8px; padding: 10px; cursor: pointer;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px; background: var(--amber-400);
  transition: var(--transition);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.site-nav {
  display: none; position: absolute; left: 0; right: 0; top: 100%;
  background: var(--navy-900); border-bottom: 1px solid var(--navy-700);
  padding: 1rem;
}
.site-nav.is-open { display: block; }
.site-nav ul {
  display: flex; flex-direction: column; gap: 0.25rem;
}
.site-nav a {
  display: block; color: var(--gray-100); padding: 0.75rem 1rem;
  border-radius: 8px; font-weight: 500;
}
.site-nav a:hover, .site-nav a[aria-current="page"] {
  background: var(--navy-700); color: var(--amber-400);
}
.header-cta {
  display: none;
}
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.75rem 1.35rem; border-radius: 999px; font-weight: 650;
  border: 2px solid transparent; cursor: pointer; transition: var(--transition);
  text-align: center; line-height: 1.2;
}
.btn-primary {
  background: var(--amber-500); color: var(--navy-950); border-color: var(--amber-500);
}
.btn-primary:hover { background: var(--amber-400); color: var(--navy-950); border-color: var(--amber-400); }
.btn-outline {
  background: transparent; color: var(--white); border-color: rgba(255,255,255,0.35);
}
.btn-outline:hover { border-color: var(--amber-400); color: var(--amber-400); }
.btn-outline-dark {
  background: transparent; color: var(--navy-900); border-color: var(--navy-700);
}
.btn-outline-dark:hover { border-color: var(--amber-500); color: var(--amber-600); }
.btn-ghost {
  background: rgba(245, 166, 35, 0.12); color: var(--amber-400); border-color: transparent;
}
.btn-lg { padding: 1rem 1.75rem; font-size: 1.05rem; }
.btn-block { width: 100%; }

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .site-nav {
    display: block; position: static; background: transparent;
    border: none; padding: 0; flex: 1;
  }
  .site-nav ul {
    flex-direction: row; align-items: center; justify-content: center; gap: 0.15rem;
  }
  .site-nav a { padding: 0.5rem 0.85rem; font-size: 0.95rem; }
  .header-cta { display: flex; align-items: center; gap: 0.75rem; flex-shrink: 0; }
  .header-cta .phone-link {
    color: var(--gray-100); font-weight: 650; white-space: nowrap;
  }
  .header-cta .phone-link:hover { color: var(--amber-400); }
  .logo-link img { height: 64px; max-width: 320px; }
}

/* ——— Hero ——— */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(245, 166, 35, 0.18), transparent 55%),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(36, 53, 86, 0.8), transparent 50%),
    linear-gradient(165deg, var(--navy-950) 0%, var(--navy-800) 45%, var(--navy-900) 100%);
  color: var(--white);
  padding: 3.5rem 0 4rem;
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.4;
  background-image:
    linear-gradient(rgba(245, 166, 35, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 166, 35, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black 40%, transparent 100%);
}
.hero-grid {
  position: relative; display: grid; gap: 2.5rem; align-items: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(245, 166, 35, 0.12); border: 1px solid rgba(245, 166, 35, 0.35);
  color: var(--amber-400); padding: 0.35rem 0.85rem; border-radius: 999px;
  font-size: 0.85rem; font-weight: 600; margin-bottom: 1.25rem;
}
.hero h1 {
  font-family: var(--font-display); font-size: clamp(2rem, 5vw, 3.15rem);
  line-height: 1.15; font-weight: 750; letter-spacing: -0.02em;
  margin-bottom: 1rem;
}
.hero h1 .accent { color: var(--amber-400); }
.hero-lead {
  font-size: 1.15rem; color: var(--gray-200); max-width: 36rem; margin-bottom: 1.75rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 2rem; }
.hero-meta {
  display: flex; flex-wrap: wrap; gap: 1.25rem 1.75rem;
  color: var(--gray-400); font-size: 0.9rem;
}
.hero-meta strong { color: var(--gray-100); display: block; font-size: 0.95rem; }
.hero-panel {
  background: linear-gradient(145deg, rgba(26, 39, 68, 0.9), rgba(17, 26, 46, 0.95));
  border: 1px solid rgba(245, 166, 35, 0.25);
  border-radius: var(--radius-lg); padding: 1.75rem;
  box-shadow: 0 0 60px var(--amber-glow);
}
.hero-panel h2 {
  font-size: 1.1rem; color: var(--amber-400); margin-bottom: 1rem;
  letter-spacing: 0.04em; text-transform: uppercase;
}
.hero-panel ul { display: grid; gap: 0.75rem; }
.hero-panel li {
  display: flex; gap: 0.75rem; align-items: flex-start;
  color: var(--gray-100); font-size: 0.95rem;
}
.hero-panel li::before {
  content: ""; flex-shrink: 0; width: 8px; height: 8px; margin-top: 0.45rem;
  border-radius: 50%; background: var(--amber-500);
  box-shadow: 0 0 8px var(--amber-glow);
}

@media (min-width: 800px) {
  .hero { padding: 5rem 0 5.5rem; }
  .hero-grid { grid-template-columns: 1.2fr 0.8fr; gap: 3rem; }
}

/* ——— Trust bar ——— */
.trust-bar {
  background: var(--navy-800); border-block: 1px solid var(--navy-700);
  padding: 1.25rem 0;
}
.trust-bar ul {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem 1.5rem;
  align-items: center;
}
.trust-bar li {
  display: flex; align-items: center; gap: 0.5rem;
  color: var(--gray-200); font-size: 0.9rem; font-weight: 550;
}
.trust-bar .mark {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 2.5rem; height: 1.75rem; padding: 0 0.4rem;
  background: var(--navy-950); border: 1px solid var(--amber-500);
  color: var(--amber-400); border-radius: 4px;
  font-size: 0.7rem; font-weight: 800; letter-spacing: 0.04em;
}
.trust-dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--amber-500);
}

/* ——— Sections ——— */
.section { padding: 4rem 0; }
.section-alt { background: var(--off-white); }
.section-dark {
  background: var(--navy-900); color: var(--gray-100);
}
.section-dark .section-lead { color: var(--gray-400); }
.section-head {
  max-width: 40rem; margin-bottom: 2.5rem;
}
.section-head.centered { margin-inline: auto; text-align: center; }
.eyebrow {
  display: inline-block; color: var(--amber-600); font-size: 0.8rem;
  font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.section-dark .eyebrow { color: var(--amber-400); }
.section-head h2 {
  font-size: clamp(1.65rem, 3.5vw, 2.25rem); line-height: 1.2;
  letter-spacing: -0.02em; margin-bottom: 0.75rem; color: var(--navy-900);
}
.section-dark .section-head h2 { color: var(--white); }
.section-lead { color: var(--gray-600); font-size: 1.05rem; }

/* ——— Cards / grids ——— */
.grid-3 {
  display: grid; gap: 1.25rem;
  grid-template-columns: 1fr;
}
.grid-2 { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 640px) {
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 900px) {
  .grid-3 { grid-template-columns: 1fr 1fr 1fr; }
}

.card {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.card-icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: linear-gradient(135deg, rgba(245,166,35,0.2), rgba(245,166,35,0.05));
  border: 1px solid rgba(245,166,35,0.35);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem; color: var(--amber-600);
}
.card-icon svg { width: 22px; height: 22px; }
.card h3 {
  font-size: 1.15rem; margin-bottom: 0.5rem; color: var(--navy-900);
}
.card p { color: var(--gray-600); font-size: 0.95rem; }
.card a.more {
  display: inline-block; margin-top: 0.85rem; font-weight: 650; font-size: 0.9rem;
}

/* ——— Stats ——— */
.stats {
  display: grid; gap: 1rem; grid-template-columns: 1fr;
}
@media (min-width: 640px) { .stats { grid-template-columns: repeat(2, 1fr); max-width: 640px; margin-inline: auto; } }
.stat {
  text-align: center; padding: 1.75rem 1rem;
  background: var(--navy-800); border-radius: var(--radius);
  border: 1px solid var(--navy-600);
}
.stat-num {
  font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 800;
  color: var(--amber-400); letter-spacing: -0.03em; line-height: 1;
  margin-bottom: 0.35rem;
}
.stat-label { color: var(--gray-300, #d1d5db); font-size: 0.95rem; }

/* ——— Testimonials ——— */
.quote-card {
  background: var(--white); border-radius: var(--radius); padding: 1.5rem;
  border-left: 4px solid var(--amber-500); box-shadow: var(--shadow);
  height: 100%;
}
.quote-card blockquote {
  font-size: 1.02rem; color: var(--gray-800); margin-bottom: 1rem;
  quotes: """ """;
}
.quote-card blockquote::before { content: open-quote; color: var(--amber-500); font-weight: 700; }
.quote-card cite {
  display: block; font-style: normal; font-size: 0.9rem;
  color: var(--gray-600); font-weight: 600;
}

/* ——— Emergency banner ——— */
.emergency {
  background: linear-gradient(90deg, #7f1d1d, #b45309 50%, #92400e);
  color: var(--white); padding: 1.25rem 0;
}
.emergency-inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 1rem;
}
.emergency strong { display: block; font-size: 1.15rem; }
.emergency p { opacity: 0.95; font-size: 0.95rem; }

/* ——— CTA band ——— */
.cta-band {
  background:
    radial-gradient(ellipse at 20% 50%, rgba(245,166,35,0.2), transparent 50%),
    var(--navy-900);
  color: var(--white); padding: 3.5rem 0; text-align: center;
}
.cta-band h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 0.75rem; }
.cta-band p { color: var(--gray-300, #d1d5db); max-width: 32rem; margin: 0 auto 1.5rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; }

/* ——— Safety ——— */
.safety-block {
  display: grid; gap: 2rem; align-items: start;
}
@media (min-width: 800px) {
  .safety-block { grid-template-columns: 1fr 1fr; gap: 3rem; }
}
.safety-list { display: grid; gap: 1rem; }
.safety-list li {
  display: flex; gap: 0.85rem; padding: 1rem;
  background: var(--white); border-radius: var(--radius); border: 1px solid var(--gray-200);
}
.safety-list .icon-check {
  flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%;
  background: rgba(34, 197, 94, 0.15); color: var(--success);
  display: flex; align-items: center; justify-content: center; font-weight: 800;
}
.safety-list h3 { font-size: 1rem; margin-bottom: 0.2rem; }
.safety-list p { font-size: 0.9rem; color: var(--gray-600); }

/* ——— Projects placeholders ——— */
.project-card {
  background: var(--white); border: 1px dashed var(--gray-200);
  border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column;
}
.project-card.filled { border-style: solid; }
.project-thumb {
  aspect-ratio: 4/3; background:
    linear-gradient(135deg, var(--navy-800), var(--navy-700));
  display: flex; align-items: center; justify-content: center;
  color: var(--gray-400); font-size: 0.9rem; text-align: center; padding: 1rem;
  position: relative;
}
.project-thumb::after {
  content: ""; position: absolute; inset: 0; opacity: 0.15;
  background-image:
    linear-gradient(rgba(245,166,35,0.5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245,166,35,0.5) 1px, transparent 1px);
  background-size: 24px 24px;
}
.project-body { padding: 1.15rem; }
.project-body h3 { font-size: 1.05rem; margin-bottom: 0.35rem; color: var(--navy-900); }
.project-body p { font-size: 0.9rem; color: var(--gray-600); }
.project-tag {
  display: inline-block; font-size: 0.75rem; font-weight: 650;
  color: var(--amber-600); background: rgba(245,166,35,0.12);
  padding: 0.2rem 0.55rem; border-radius: 999px; margin-bottom: 0.5rem;
}

/* ——— Page hero (inner) ——— */
.page-hero {
  background:
    radial-gradient(ellipse 60% 80% at 90% 20%, rgba(245,166,35,0.15), transparent 50%),
    linear-gradient(160deg, var(--navy-950), var(--navy-800));
  color: var(--white); padding: 3rem 0 2.75rem;
}
.page-hero h1 {
  font-size: clamp(1.85rem, 4vw, 2.5rem); letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}
.page-hero p { color: var(--gray-300, #d1d5db); max-width: 36rem; font-size: 1.05rem; }
.breadcrumb {
  font-size: 0.85rem; color: var(--gray-400); margin-bottom: 0.75rem;
}
.breadcrumb a { color: var(--amber-400); }

/* ——— About ——— */
.prose { max-width: 42rem; }
.prose p + p { margin-top: 1rem; }
.prose h2 { font-size: 1.5rem; margin: 2rem 0 0.75rem; color: var(--navy-900); }
.prose h3 { font-size: 1.15rem; margin: 1.5rem 0 0.5rem; color: var(--navy-900); }
.owner-card {
  display: grid; gap: 1.5rem; padding: 1.75rem;
  background: var(--off-white); border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
}
@media (min-width: 640px) {
  .owner-card { grid-template-columns: auto 1fr; align-items: center; }
}
.owner-avatar {
  width: 96px; height: 96px; border-radius: 50%;
  background: linear-gradient(145deg, var(--navy-700), var(--navy-900));
  border: 3px solid var(--amber-500);
  display: flex; align-items: center; justify-content: center;
  color: var(--amber-400); font-weight: 800; font-size: 1.5rem;
}
.affiliation-badges {
  display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.25rem;
}
.affil-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.65rem 1rem; background: var(--navy-900); color: var(--white);
  border-radius: 8px; border: 1px solid var(--navy-600); font-weight: 650;
}
.affil-badge .mark {
  background: var(--amber-500); color: var(--navy-950);
  padding: 0.15rem 0.45rem; border-radius: 4px; font-size: 0.75rem; font-weight: 800;
}

/* ——— Contact ——— */
.contact-layout {
  display: grid; gap: 2rem;
}
@media (min-width: 800px) {
  .contact-layout { grid-template-columns: 1fr 1.1fr; gap: 2.5rem; }
}
.contact-info-card {
  background: var(--navy-900); color: var(--gray-100);
  border-radius: var(--radius-lg); padding: 1.75rem;
}
.contact-info-card h2 { color: var(--white); margin-bottom: 1.25rem; font-size: 1.35rem; }
.contact-rows { display: grid; gap: 1.15rem; }
.contact-rows dt {
  font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--amber-400); font-weight: 700; margin-bottom: 0.2rem;
}
.contact-rows dd { color: var(--gray-100); }
.contact-rows a { color: var(--white); font-weight: 650; }
.contact-rows a:hover { color: var(--amber-400); }

.form-card {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg); padding: 1.75rem; box-shadow: var(--shadow);
}
.form-card h2 { font-size: 1.35rem; margin-bottom: 0.35rem; color: var(--navy-900); }
.form-card .form-note { color: var(--gray-600); font-size: 0.9rem; margin-bottom: 1.25rem; }
.form-group { margin-bottom: 1rem; }
.form-group label {
  display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 0.35rem;
  color: var(--navy-900);
}
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 0.7rem 0.85rem; border: 1px solid var(--gray-200);
  border-radius: 8px; background: var(--off-white); color: var(--gray-800);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--amber-500);
  box-shadow: 0 0 0 3px var(--amber-glow); background: var(--white);
}
.form-group textarea { min-height: 140px; resize: vertical; }
.form-row { display: grid; gap: 1rem; }
@media (min-width: 560px) { .form-row { grid-template-columns: 1fr 1fr; } }
.form-status {
  margin-top: 0.75rem; padding: 0.75rem; border-radius: 8px; font-size: 0.9rem;
  display: none;
}
.form-status.is-visible { display: block; }
.form-status.ok { background: rgba(34,197,94,0.12); color: #166534; }
.form-status.err { background: rgba(239,68,68,0.12); color: #991b1b; }

/* ——— Services detail ——— */
.service-detail {
  display: grid; gap: 1.25rem;
}
.service-item {
  display: grid; gap: 0.5rem; padding: 1.5rem;
  background: var(--white); border-radius: var(--radius);
  border: 1px solid var(--gray-200);
}
.service-item h3 { color: var(--navy-900); font-size: 1.2rem; }
.service-item p { color: var(--gray-600); }
@media (min-width: 700px) {
  .service-item {
    grid-template-columns: 180px 1fr; gap: 1.5rem; align-items: start;
  }
  .service-item .svc-label {
    color: var(--amber-600); font-weight: 700; font-size: 0.85rem;
    text-transform: uppercase; letter-spacing: 0.04em;
  }
}

/* ——— Footer ——— */
.site-footer {
  background: var(--navy-950); color: var(--gray-400); padding: 3rem 0 1.5rem;
  border-top: 1px solid var(--navy-700);
}
.footer-grid {
  display: grid; gap: 2rem; margin-bottom: 2.5rem;
}
@media (min-width: 700px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
}
.footer-brand img { height: 72px; width: auto; max-width: 300px; margin-bottom: 0; object-fit: contain; }
.footer-brand .brand-plate {
  display: inline-block;
  background: transparent;
  padding: 0.35rem 0.5rem;
  border-radius: 0.75rem;
}
.footer-brand p { font-size: 0.95rem; max-width: 22rem; margin-bottom: 1rem; }
.footer-brand .tagline { color: var(--amber-400); font-weight: 650; font-style: italic; }
.footer-col h3 {
  color: var(--white); font-size: 0.9rem; text-transform: uppercase;
  letter-spacing: 0.06em; margin-bottom: 1rem;
}
.footer-col ul { display: grid; gap: 0.5rem; }
.footer-col a { color: var(--gray-400); }
.footer-col a:hover { color: var(--amber-400); }
.footer-affil {
  display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1rem;
}
.footer-affil span {
  border: 1px solid var(--navy-600); color: var(--amber-400);
  padding: 0.25rem 0.55rem; border-radius: 4px; font-size: 0.7rem; font-weight: 800;
}
.footer-bottom {
  display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem;
  justify-content: space-between; align-items: center;
  padding-top: 1.5rem; border-top: 1px solid var(--navy-800);
  font-size: 0.85rem;
}

/* ——— Utilities ——— */
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-0 { margin-bottom: 0; }
.text-center { text-align: center; }
.flex-gap { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* Focus visible */
:focus-visible {
  outline: 2px solid var(--amber-500); outline-offset: 3px;
}

/* Project photos */
.project-thumb img {
  width: 100%; height: 100%; object-fit: cover; position: relative; z-index: 1;
}
.project-thumb.has-photo {
  padding: 0; background: var(--navy-900);
}
.project-thumb.has-photo::after { display: none; }


/* Brand logo plate — navy-matched logo, no white box */
.brand-plate {
  display: inline-block;
  background: transparent;
  padding: 0;
  border-radius: 0;
}
.brand-plate img {
  height: auto;
  max-width: min(420px, 90vw);
}
.hero .brand-plate img {
  max-width: min(480px, 92vw);
  margin-bottom: 1.25rem;
}

/* ——— Safety manual page ——— */
.safety-layout {
  display: grid; gap: 2rem; align-items: start;
}
@media (min-width: 900px) {
  .safety-layout {
    grid-template-columns: 240px 1fr; gap: 2.5rem;
  }
}
.safety-toc {
  background: var(--navy-900); color: var(--gray-200);
  border-radius: var(--radius); padding: 1.25rem 1.15rem;
  border: 1px solid var(--navy-600);
}
@media (min-width: 900px) {
  .safety-toc {
    position: sticky; top: calc(var(--header-h) + 1rem);
    max-height: calc(100vh - var(--header-h) - 2rem);
    overflow: auto;
  }
}
.safety-toc h2 {
  color: var(--amber-400); font-size: 0.8rem; text-transform: uppercase;
  letter-spacing: 0.06em; margin-bottom: 0.85rem;
}
.safety-toc ol {
  list-style: none; display: grid; gap: 0.2rem; counter-reset: toc;
}
.safety-toc li { counter-increment: toc; }
.safety-toc a {
  display: block; color: var(--gray-200); font-size: 0.88rem;
  padding: 0.4rem 0.5rem; border-radius: 6px; line-height: 1.35;
}
.safety-toc a::before {
  content: counter(toc) ". "; color: var(--amber-500); font-weight: 700;
}
.safety-toc a:hover { background: var(--navy-700); color: var(--amber-400); }

.manual {
  max-width: 48rem;
}
.manual > .intro {
  font-size: 1.08rem; color: var(--gray-600); margin-bottom: 2rem;
  padding-bottom: 1.5rem; border-bottom: 1px solid var(--gray-200);
}
.manual-section {
  padding: 1.75rem 0; border-bottom: 1px solid var(--gray-200);
  scroll-margin-top: calc(var(--header-h) + 1rem);
}
.manual-section:last-child { border-bottom: none; }
.manual-section h2 {
  font-size: clamp(1.25rem, 2.5vw, 1.55rem); color: var(--navy-900);
  margin-bottom: 0.85rem; letter-spacing: -0.01em;
}
.manual-section h3 {
  font-size: 1.05rem; color: var(--navy-800); margin: 1.15rem 0 0.45rem;
}
.manual-section p { color: var(--gray-800); margin-bottom: 0.85rem; }
.manual-section ul, .manual-section ol {
  margin: 0.5rem 0 1rem 1.25rem; color: var(--gray-800);
}
.manual-section ul { list-style: disc; }
.manual-section ol { list-style: decimal; }
.manual-section li { margin-bottom: 0.4rem; padding-left: 0.2rem; }
.manual-section .policy-callout {
  background: var(--off-white); border-left: 4px solid var(--amber-500);
  padding: 1rem 1.15rem; border-radius: 0 var(--radius) var(--radius) 0;
  margin: 1rem 0;
}
.manual-section .policy-callout strong { color: var(--navy-900); }
.back-to-toc {
  display: inline-block; margin-top: 0.75rem; font-size: 0.85rem; font-weight: 650;
}


/* Safety TOC active + single-section main panel */
.safety-toc a.is-active {
  background: rgba(245, 166, 35, 0.18);
  color: var(--amber-400);
  font-weight: 700;
}
.manual {
  scroll-margin-top: calc(var(--header-h, 80px) + 1rem);
  min-height: 24rem;
}
.manual-section[hidden] {
  display: none !important;
}
.manual-section.is-active {
  display: block;
  animation: safetyFade 0.25s ease;
}
@keyframes safetyFade {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}
.manual > .policy-callout,
.policy-callout {
  background: var(--off-white, #f4f6f8);
  border-left: 4px solid var(--amber-500);
  padding: 1rem 1.15rem;
  border-radius: 8px;
  color: var(--gray-800);
}


/* IBEW + NECA affiliation logos */
.affil-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.25rem;
  margin: 1rem 0 0.5rem;
}
.affil-logos--center { justify-content: center; }
.affil-logos--footer {
  margin: 0.85rem 0 0.65rem;
  gap: 0.75rem 1rem;
}
.affil-logo {
  display: block;
  height: 64px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  object-position: center;
  background: #ffffff;
  border-radius: 10px;
  padding: 0.4rem 0.55rem;
  box-shadow: 0 2px 12px rgba(7, 11, 20, 0.12);
  border: 1px solid rgba(245, 166, 35, 0.25);
}
.site-footer .affil-logo {
  height: 56px;
  max-width: 120px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
  border-color: rgba(245, 166, 35, 0.35);
}
.affil-logos-note {
  width: 100%;
  font-size: 0.9rem;
  color: var(--gray-600);
  margin-top: 0.35rem;
}
.section-dark .affil-logos-note,
.site-footer .affil-logos-note {
  color: var(--gray-400);
}
@media (min-width: 700px) {
  .affil-logo { height: 72px; max-width: 160px; }
  .site-footer .affil-logo { height: 56px; max-width: 130px; }
}


/* Full-width footer affiliation bar (bottom of every page) */
.footer-affil-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.25rem 1.75rem;
  padding: 1.25rem 1rem 0.35rem;
  margin-top: 0.5rem;
  border-top: 1px solid var(--navy-800);
}
.footer-affil-bar img {
  display: block;
  height: 60px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  background: #ffffff;
  border-radius: 10px;
  padding: 0.45rem 0.65rem;
  border: 1px solid rgba(245, 166, 35, 0.35);
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.35);
}
@media (min-width: 700px) {
  .footer-affil-bar {
    gap: 1.75rem 2.25rem;
    padding: 1.5rem 1rem 0.5rem;
  }
  .footer-affil-bar img {
    height: 68px;
    max-width: 160px;
  }
}
