/* ============================================================
   ALL ELECTRIC SALES — stylesheet
   Look matched to the Webador site (2026-09-30): white page,
   DM Serif Display headings, Lato body, Franklin-style nav,
   #202020 ink, AES teal (#1d5b7a) for links and accents.

   Token names are historical ROLES from the old dark theme, kept
   so the inline styles in pages/ still resolve correctly:
     --white  = strongest ink (headings, emphasis)  — NOT a white colour
     --black / --card-1 / --card-2 = surfaces, lightest to faintest
     --red    = accent (now AES teal)
   ============================================================ */

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

:root {
  --black:    #ffffff;
  --black-bg: #ffffff;
  --card-1:   #ffffff;
  --card-2:   #f4f4f2;
  --border:   #e3e3e3;
  --text:     #202020;
  --muted:    #5a5a5a;
  --white:    #202020;
  --red:      #1d5b7a;
  --red-dk:   #164760;
  --on-dark:  #ffffff;
  --radius:   0;
  --shadow:   0 2px 16px rgba(0,0,0,.06);
  --shadow-lg:0 8px 32px rgba(0,0,0,.12);
}

html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: 'Lato', sans-serif; color: var(--text); background: var(--black); overflow-x: hidden; line-height: 1.6; font-size: 15px; }

/* ── TYPOGRAPHY ── */
h1,h2,h3,h4,h5 { font-family: 'DM Serif Display', serif; font-weight: 700; letter-spacing: -.01em; line-height: 1.15; color: var(--white); }
a { color: var(--red); text-decoration: none; }
a:hover { color: var(--red-dk); text-decoration: underline; }
.btn:hover, .nav a:hover, .partner-tile:hover, .download-card:hover, .footer a:hover { text-decoration: none; }
p { line-height: 1.75; }

/* ── UTILITY ── */
.container { max-width: 1160px; margin: 0 auto; padding: 0 2rem; }
.section-label {
  font-family: 'Libre Franklin', sans-serif; font-size: .75rem;
  font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--red); margin-bottom: .5rem; display: block;
}
.section-title {
  font-size: clamp(1.8rem,4vw,2.4rem); font-weight: 700;
  color: var(--white); margin-bottom: .8rem;
}
.section-lead { font-size: 1.05rem; color: var(--muted); max-width: 640px; margin-bottom: 2.5rem; }
/* Inner-page title band: the live site uses a flat light-grey band with a
   bold serif title (team, quotes). Add .photo for the greyscale skyline
   banner it uses on line card / warehouse / resources. */
.page-hero {
  position: relative; background: #f1f1f1; border-bottom: 1px solid #dcdcdc;
  padding: 3.2rem 2rem 3rem; text-align: center;
}
.page-hero > * { position: relative; }
.page-hero h1 { font-size: clamp(1.9rem,4vw,2.4rem); font-weight: 700; color: #202020; }
.page-hero p  { font-size: .98rem; color: #202020; margin: .8rem auto 0; max-width: 900px; }
.page-hero .section-label { color: var(--red); }
.page-hero.photo {
  background: #111 url('/images/stock-skyline.jpg') center 40% / cover no-repeat;
  padding: 9rem 2rem 7rem; border-bottom: none;
}
.page-hero.photo::before { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,.4); }
.page-hero.photo h1, .page-hero.photo p { color: #fff; }
.page-hero.photo .section-label { color: rgba(255,255,255,.85); }
.page-section { padding: 5rem 2rem; }
.page-section.alt { background: var(--card-2); }
.page-section.dark { background: var(--black); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.page-section.dark .section-title { color: var(--white); }
.page-section.dark .section-lead  { color: var(--muted); }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .6rem 1.2rem;
  font-family: 'Lato', sans-serif; font-weight: 400;
  font-size: .95rem; letter-spacing: 0; text-transform: none;
  border-radius: 5px; cursor: pointer; border: 1.6px solid transparent;
  transition: background .15s, color .15s, border-color .15s;
  text-decoration: none;
}
.btn-primary  { background: var(--red); color: var(--on-dark); border-color: var(--red); }
.btn-primary:hover { background: var(--red-dk); border-color: var(--red-dk); color: var(--on-dark); }
.btn-navy     { background: var(--red); color: var(--on-dark); border-color: var(--red); }
.btn-navy:hover { background: var(--red-dk); border-color: var(--red-dk); color: var(--on-dark); }
.btn-outline  { background: #fff; color: var(--red); border-color: var(--red); }
.btn-outline:hover { background: var(--red); color: var(--on-dark); }
.btn-outline-white { background: transparent; color: var(--on-dark); border-color: rgba(255,255,255,.7); }
.btn-outline-white:hover { background: var(--on-dark); border-color: var(--on-dark); color: #202020; }
.btn-sm       { padding: .45rem 1rem; font-size: .88rem; }

/* ── NAV ── */
.nav {
  position: sticky; top: 0; z-index: 200;
  background: #ffffff;
  border-bottom: 1px solid #ececec;
}
.nav-inner {
  max-width: 1280px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 2rem; height: 72px; gap: 1rem;
}
.nav-logo {
  font-family: 'DM Serif Display', serif; font-size: 1.65rem; font-weight: 400;
  color: #202020; text-decoration: none; white-space: nowrap;
  text-transform: uppercase; letter-spacing: -.01em;
}
.nav-logo:hover { color: #202020; }
.nav-logo span { color: #202020; }
.nav-links { display: flex; gap: .1rem; list-style: none; align-items: center; margin-left: auto; }
/* Live site: Franklin Gothic, uppercase, regular weight; the current page
   gets a thin black box rather than a colour change. */
.nav-links > li > a, .nav-links > li > span {
  display: block; padding: .4rem .55rem;
  font-family: 'Libre Franklin', sans-serif; font-size: .88rem; font-weight: 400;
  text-transform: uppercase; letter-spacing: .01em;
  color: #202020; text-decoration: none; cursor: pointer;
  border: 1.6px solid transparent; transition: border-color .15s;
  white-space: nowrap;
}
.nav-links > li > a:hover, .nav-links > li > span:hover { color: #202020; border-color: #cfcfcf; }
.nav-links > li > a.active { color: #202020; border-color: #202020; }
.nav-dropdown { position: relative; }
.nav-dropdown:hover .nav-dropdown-menu { display: block; }
.nav-dropdown-menu {
  display: none; position: absolute; top: calc(100% + 1px); left: 0;
  background: #ffffff; border: 1px solid #e0e0e0;
  border-radius: 2px; min-width: 190px;
  list-style: none; overflow: hidden;
  box-shadow: 0 6px 20px rgba(0,0,0,.12);
}
.nav-dropdown-menu li a {
  display: block; padding: .6rem 1.2rem;
  font-family: 'Libre Franklin', sans-serif; font-size: .85rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  color: #444; transition: background .1s, color .1s;
}
.nav-dropdown-menu li a:hover { background: #f5f5f5; color: var(--red); }
.nav-hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: .4rem;
}
.nav-hamburger span { width: 24px; height: 2px; background: #222; border-radius: 2px; display: block; transition: .2s; }
.nav-mobile {
  display: none; flex-direction: column;
  background: #ffffff; padding: 1rem 2rem 1.5rem;
  border-top: 1px solid #e0e0e0;
}
.nav-mobile a {
  padding: .55rem 0; font-family: 'Libre Franklin', sans-serif;
  font-size: 1rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: #333; border-bottom: 1px solid #f0f0f0;
}
.nav-mobile a.sub { padding-left: 1.2rem; color: #777; font-size: .88rem; }
.nav-mobile a:hover { color: var(--red); }
.nav-mobile .btn { margin-top: 16px; display: inline-flex; }
.nav-mobile.open { display: flex; }

/* ── FOOTER ──
   Live layout: a centred row of four icon blocks (Address / Phone / Email /
   Connect) in AES teal, then a thin bottom bar with Admin + the AES mark. */
.footer { background: #ffffff; padding: 4rem 2rem 1.5rem; border-top: 1px solid var(--border); }
.footer-icons {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem;
  max-width: 1160px; margin: 0 auto; padding-bottom: 3rem; text-align: center;
}
.footer-icon svg { width: 26px; height: 26px; fill: var(--red); margin-bottom: .6rem; }
.footer-icon h4 { font-family: 'Lato', sans-serif; font-size: .95rem; font-weight: 700; color: #202020; margin-bottom: .7rem; }
.footer-icon p { font-size: .9rem; color: #202020; line-height: 1.8; }
.footer-icon a { color: var(--red); }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: .3rem 1.2rem; max-width: 1160px; margin: 0 auto 2rem; font-size: .88rem; }
.footer-links a { color: #202020; }
.footer-links a:hover { color: var(--red); }
.footer-bottom { max-width: 1160px; margin: 0 auto; padding-top: 1.2rem; border-top: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.footer-bottom p { font-size: .8rem; color: #202020; }
.footer-bottom a { color: var(--red); font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; }
.footer-bottom img { height: 26px; width: auto; display: block; }

/* ── CARDS ── */
.card {
  background: var(--card-1); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  transition: border-color .2s;
}
.card:hover { border-color: var(--muted); }

/* ── GRID LAYOUTS ── */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.5rem; }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fit,minmax(260px,1fr)); gap: 2rem; }

/* ── HOME: HERO ── */
/* Live site: full-height greyscale Chicago skyline (Pexels 1687089, free for
   commercial use) with a scroll-down chevron. */
.hero {
  min-height: 100vh;
  background-color: #1a1a1a;
  background-image: url('/images/stock-skyline.jpg');
  background-size: cover;
  background-position: center 53%;
  filter: grayscale(1);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 5rem 2rem 4rem;
  position: relative; overflow: hidden;
}
.hero::before {
  content:''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,.12) 0%, rgba(0,0,0,0) 30%, rgba(0,0,0,.12) 100%);
}
.hero > .hero-scroll {
  position: absolute; bottom: 1.4rem; left: 50%; transform: translateX(-50%);
  color: #fff; opacity: .85; animation: bob 2s ease-in-out infinite;
}
.hero-scroll svg { width: 34px; height: 34px; stroke: currentColor; fill: none; stroke-width: 2; }
@keyframes bob { 0%,100% { transform: translate(-50%,0) } 50% { transform: translate(-50%,6px) } }
.hero > * { position: relative; z-index: 1; }
.hero-eyebrow {
  display: inline-block;
  background: transparent; color: rgba(255,255,255,.85);
  font-family: 'Libre Franklin', sans-serif; font-weight: 700; font-size: .75rem;
  letter-spacing: .18em; text-transform: uppercase; font-variant: small-caps;
  padding: .3rem 1rem; border: 1px solid rgba(255,255,255,.4); border-radius: 2px;
  margin-bottom: 1.8rem;
  animation: fadeDown .6s ease both;
}
.hero h1 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(3.5rem,10vw,7rem); font-weight: 700; color: var(--white);
  line-height: .95; letter-spacing: .01em;
  animation: fadeDown .7s .1s ease both;
}
.hero h1 em { color: var(--white); font-style: normal; display: block; }
.hero-sub {
  font-size: clamp(1rem,2.5vw,1.15rem); font-weight: 300;
  color: rgba(255,255,255,.65); max-width: 560px; margin: 1.6rem auto 2.6rem;
  animation: fadeDown .7s .2s ease both;
}
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; animation: fadeDown .7s .3s ease both; }
.hero-stats {
  display: flex; gap: 0; margin-top: 5rem; flex-wrap: wrap; justify-content: center;
  border-top: 1px solid rgba(255,255,255,.2);
  padding-top: 2rem; width: 100%; max-width: 700px;
  animation: fadeDown .7s .4s ease both;
}
.hero-stat { text-align: center; flex: 1; padding: 0 2rem; border-right: 1px solid rgba(255,255,255,.15); }
.hero-stat:last-child { border-right: none; }
.hero-stat strong { display: block; font-family: 'DM Serif Display', serif; font-size: 2.4rem; font-weight: 700; color: var(--white); line-height: 1; }
.hero-stat span { font-size: .75rem; color: rgba(255,255,255,.45); letter-spacing: .1em; text-transform: uppercase; font-family: 'Libre Franklin', sans-serif; }

/* ── HOME: NEWS CAROUSEL ── */
.carousel-wrap { overflow-x: auto; padding-bottom: 1rem; scroll-snap-type: x mandatory; display: flex; gap: 1.5rem; scrollbar-width: thin; scrollbar-color: var(--border) transparent; }
.carousel-wrap::-webkit-scrollbar { height: 4px; }
.carousel-wrap::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }
.news-card { flex: 0 0 300px; scroll-snap-align: start; overflow: hidden; background: var(--card-1); border: 1px solid var(--border); transition: border-color .2s; }
.news-card:hover { border-color: var(--muted); }
.news-card-thumb { height: 160px; display: flex; align-items: center; justify-content: center; font-size: 2.2rem; background: var(--card-2); border-bottom: 1px solid var(--border); color: var(--muted); }
.news-card-body { padding: 1.2rem 1.4rem; }
.news-card-tag { font-family: 'Libre Franklin', sans-serif; font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--red); margin-bottom: .4rem; }
.news-card-title { font-family: 'Libre Franklin', sans-serif; font-size: 1.05rem; font-weight: 700; color: var(--text); line-height: 1.4; }

/* ── HOME: ABOUT ── */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.about-img-wrap { border: 1px solid var(--border); overflow: hidden; }
.about-img-placeholder { height: 400px; background: var(--card-1); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .6rem; border: none; }
.about-img-placeholder .pl-logo { font-family:'DM Serif Display',serif; font-size:3rem; font-weight:700; color:var(--white); }
.about-img-placeholder .pl-sub { font-size:.85rem; letter-spacing:.14em; text-transform:uppercase; color:var(--muted); font-family:'Libre Franklin',sans-serif; }
.about-tag { display:inline-block; background:var(--card-2); color:var(--text); font-family:'Libre Franklin',sans-serif; font-size:.75rem; font-weight:700; letter-spacing:.1em; text-transform:uppercase; padding:.25rem .8rem; border-radius:2px; margin-bottom:.4rem; border: 1px solid var(--border); }

/* ── VALUES ── */
.value-card { background:var(--card-1); border:1px solid var(--border); border-radius:2px; padding:2rem 1.6rem; transition:border-color .2s; }
.value-card:hover { border-color: var(--muted); }
.value-icon { font-size:1.6rem; margin-bottom:1rem; }
.value-card h3 { font-size:1.1rem; font-weight:700; color:var(--white); text-transform:uppercase; letter-spacing:.04em; margin-bottom:.5rem; font-family:'Libre Franklin',sans-serif; }
.value-card p { font-size:.9rem; color:var(--muted); line-height:1.65; }

/* ── VIDEO ── */
.video-wrap { overflow:hidden; position:relative; padding-bottom:56.25%; height:0; border:1px solid var(--border); }
.video-wrap iframe { position:absolute; top:0; left:0; width:100%; height:100%; border:none; }

/* ── PARTNERS ── */
.partners-grid { display:flex; flex-wrap:wrap; gap:1px; background: var(--border); border: 1px solid var(--border); }
.partner-tile { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:.5rem; padding:1.4rem 1.8rem; background:var(--card-1); text-align:center; transition:background .15s; text-decoration:none; flex:1; min-width:160px; }
.partner-tile:hover { background: var(--card-2); }
.partner-tile-icon { font-size:1.4rem; color: var(--muted); }
.partner-tile-name { font-family:'Libre Franklin',sans-serif; font-size:.9rem; font-weight:700; letter-spacing:.06em; text-transform:uppercase; color:var(--text); }
.partner-tile-sub { font-size:.75rem; color:var(--muted); font-family:'Libre Franklin',sans-serif; letter-spacing:.06em; text-transform:uppercase; }

/* ── TEAM ── */
.team-card { background:var(--card-1); border:1px solid var(--border); overflow:hidden; }
.team-card-photo { height:260px; display:flex; align-items:center; justify-content:center; font-size:4rem; background:var(--card-2); border-bottom:1px solid var(--border); color:var(--muted); }
.team-card-body { padding:1.8rem 2rem; }
.team-card-body h3 { font-size:1.6rem; font-weight:700; color:var(--white); }
.team-card-body .role { font-family:'Libre Franklin',sans-serif; font-size:.78rem; font-weight:700; letter-spacing:.14em; text-transform:uppercase; color:var(--red); margin:.2rem 0 1rem; }
.team-card-body p { font-size:.93rem; color:var(--muted); line-height:1.75; margin-bottom:1.2rem; }

/* ── LINE CARD ── */
.linecard-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(260px,1fr)); gap:0; border:1px solid var(--border); }
.linecard-item { background:var(--card-1); border:1px solid var(--border); padding:2rem 1.5rem; display:flex; flex-direction:column; align-items:flex-start; gap:.6rem; transition:background .15s; margin: -1px 0 0 -1px; }
.linecard-item:hover { background: var(--card-2); }
.linecard-icon { font-size:1.6rem; color: var(--muted); }
.linecard-item h3 { font-size:1.2rem; font-weight:700; color:var(--white); }
.linecard-item p  { font-size:.88rem; color:var(--muted); line-height:1.65; }
.linecard-item a  { font-family:'Libre Franklin',sans-serif; font-size:.82rem; font-weight:700; letter-spacing:.08em; text-transform:uppercase; color:var(--red); margin-top:auto; }
.linecard-item a:hover { color:var(--white); }

/* ── WAREHOUSE ── */
.warehouse-feature { display:grid; grid-template-columns:1.2fr 1fr; gap:4rem; align-items:center; }
.warehouse-feature.reverse { grid-template-columns:1fr 1.2fr; }
.warehouse-feature.reverse .wf-img { order:2; }
.wf-img { border:1px solid var(--border); overflow:hidden; }
.wf-placeholder { height:320px; display:flex; align-items:center; justify-content:center; font-size:3.5rem; background:var(--card-1); color:var(--muted); }

/* ── REBATES ── */
.rebate-card { background:var(--card-1); padding:2.5rem; border-left:3px solid var(--red); border-top:1px solid var(--border); border-right:1px solid var(--border); border-bottom:1px solid var(--border); margin-bottom:1.5rem; }
.rebate-card h3 { font-size:1.3rem; font-weight:700; color:var(--white); margin-bottom:.8rem; }
.rebate-card p { color:var(--muted); font-size:.95rem; line-height:1.75; margin-bottom:1.2rem; }

/* ── ROI CALCULATOR ── */
.calc-wrapper { display:grid; grid-template-columns:1fr 1fr; gap:2rem; align-items:start; }
.calc-panel { background:var(--card-1); border:1px solid var(--border); overflow:hidden; }
.calc-panel-header { background:var(--black); padding:16px 24px; display:flex; align-items:center; gap:12px; border-bottom:1px solid var(--border); }
.calc-panel-header h3 { color:var(--white); font-size:1rem; margin:0; font-family:'Libre Franklin',sans-serif; font-weight:700; letter-spacing:.06em; text-transform:uppercase; }
.calc-panel-header .ph-icon { width:28px; height:28px; background:rgba(192,57,43,.15); border:1px solid rgba(192,57,43,.3); border-radius:3px; display:flex; align-items:center; justify-content:center; font-size:.85rem; }
.calc-panel-body { padding:24px; }
.input-row { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.input-group { margin-bottom:14px; }
.input-group label { display:flex; justify-content:space-between; align-items:center; font-size:.75rem; font-weight:700; text-transform:uppercase; letter-spacing:.08em; color:var(--muted); margin-bottom:6px; font-family:'Libre Franklin',sans-serif; }
.input-group label .hint { font-size:.72rem; font-weight:400; text-transform:none; letter-spacing:0; color:#4a4744; }
.input-group input, .input-group select { width:100%; padding:9px 12px; border:1px solid var(--border); border-radius:var(--radius); font-size:.93rem; color:var(--text); transition:border-color .15s; outline:none; background:var(--card-1); font-family:'Lato',sans-serif; }
.input-group input:focus, .input-group select:focus { border-color:var(--muted); }
.divider { border:none; border-top:1px solid var(--border); margin:18px 0; }
.result-grid { display:grid; grid-template-columns:1fr 1fr; gap:8px; }
.result-box { background:var(--card-2); border:1px solid var(--border); padding:14px 16px; }
.result-box.highlight { background:var(--black); border:1px solid var(--border); }
.result-box label { font-size:.7rem; font-weight:700; letter-spacing:.1em; text-transform:uppercase; color:var(--muted); display:block; margin-bottom:4px; font-family:'Libre Franklin',sans-serif; }
.result-box.highlight label { color:var(--muted); }
.result-box .val { font-family:'Libre Franklin',sans-serif; font-size:1.6rem; font-weight:700; color:var(--text); line-height:1; }
.result-box.highlight .val { color:var(--white); }
.result-box .val.positive { color:#4ade80; }
.result-box .val.warning { color:#fb923c; }
.result-full { background:var(--card-2); border:1px solid var(--border); padding:14px 16px; margin-top:8px; }
.result-full label { font-size:.7rem; font-weight:700; letter-spacing:.1em; text-transform:uppercase; color:var(--muted); display:block; margin-bottom:4px; font-family:'Libre Franklin',sans-serif; }
.result-bar-wrap { height:4px; background:var(--border); overflow:hidden; margin-top:10px; }
.result-bar { height:100%; background: var(--red); transition:width .6s ease; }
.calc-note { font-size:.78rem; color:var(--muted); margin-top:16px; line-height:1.6; }
.calc-note a { color: var(--red); }
.calc-note a:hover { color: var(--text); }

/* ── REBATE OPTIMIZER ── */
.rebate-optimizer { background:var(--card-1); border:1px solid var(--border); overflow:hidden; }
.ro-header { background:var(--black); padding:18px 28px; display:flex; align-items:center; gap:12px; border-bottom:1px solid var(--border); }
.ro-header h3 { color:var(--white); font-size:1rem; margin:0; flex:1; font-family:'Libre Franklin',sans-serif; font-weight:700; letter-spacing:.06em; text-transform:uppercase; }
.ro-header .ro-total { font-family:'Libre Franklin',sans-serif; font-size:.82rem; font-weight:700; letter-spacing:.08em; text-transform:uppercase; color:var(--muted); }
.ro-header .ro-total strong { color:var(--white); font-size:1rem; }
.ro-body { padding:20px 24px; }
.ro-inputs { display:grid; grid-template-columns:repeat(3,1fr); gap:12px; margin-bottom:16px; }
.ro-table-wrap { overflow-x:auto; border:1px solid var(--border); }
.ro-table { width:100%; border-collapse:collapse; font-size:.88rem; }
.ro-table thead th { background:var(--black); color:var(--muted); font-family:'Libre Franklin',sans-serif; font-size:.72rem; letter-spacing:.12em; text-transform:uppercase; padding:10px 12px; text-align:left; white-space:nowrap; border-bottom:1px solid var(--border); }
.ro-table tbody tr { border-bottom:1px solid var(--border); }
.ro-table tbody tr:last-child { border-bottom:none; }
.ro-table tbody td { padding:8px 10px; }
.ro-table input, .ro-table select { width:100%; border:1px solid var(--border); border-radius:2px; padding:5px 8px; font-size:.85rem; font-family:'Lato',sans-serif; outline:none; background:var(--card-1); color:var(--text); }
.ro-table input:focus, .ro-table select:focus { border-color:var(--muted); }
.ro-table .td-result { font-family:'Libre Franklin',sans-serif; font-size:1rem; font-weight:700; color:var(--text); }
.ro-table .remove-btn { background:none; border:none; color:var(--muted); cursor:pointer; font-size:1rem; padding:2px 6px; border-radius:2px; transition:color .15s; }
.ro-table .remove-btn:hover { color:#ef4444; }
.ro-footer { display:flex; align-items:center; justify-content:space-between; padding:16px 24px; background:var(--black); border-top:1px solid var(--border); flex-wrap:wrap; gap:12px; }
.ro-total-row { display:flex; gap:2rem; flex-wrap:wrap; }
.ro-total-item label { font-size:.7rem; font-weight:700; letter-spacing:.1em; text-transform:uppercase; color:var(--muted); display:block; margin-bottom:2px; font-family:'Libre Franklin',sans-serif; }
.ro-total-item .val { font-family:'Libre Franklin',sans-serif; font-size:1.3rem; font-weight:700; color:var(--text); }
.ro-total-item .val.green { color:#4ade80; }

/* ── CONTACT ── */
.contact-grid { display:grid; grid-template-columns:1.2fr 1fr; gap:4rem; align-items:start; }
.contact-form-wrap { background:var(--card-1); border:1px solid var(--border); padding:2.5rem; }
.contact-form-wrap h3 { font-size:1.6rem; font-weight:700; color:var(--white); margin-bottom:1.5rem; }
.form-row { display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.form-group { margin-bottom:16px; }
.form-group label { display:block; font-size:.75rem; font-weight:700; letter-spacing:.1em; text-transform:uppercase; color:var(--muted); margin-bottom:6px; font-family:'Libre Franklin',sans-serif; }
.form-group input, .form-group select, .form-group textarea { width:100%; padding:11px 14px; border:1px solid var(--border); border-radius:var(--radius); font-size:.95rem; color:var(--text); font-family:'Lato',sans-serif; outline:none; transition:border-color .15s; background:var(--card-1); resize:vertical; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color:var(--muted); }
.form-success { display:none; background:rgba(74,222,128,.08); border:1px solid rgba(74,222,128,.3); padding:1rem 1.2rem; color:#4ade80; font-weight:600; font-size:.95rem; margin-top:1rem; }
.contact-info-card { background:var(--black); border:1px solid var(--border); padding:2.5rem; }
.contact-info-card h3 { font-size:1.4rem; font-weight:700; color:var(--white); margin-bottom:1.8rem; }
.contact-info-item { display:flex; gap:1rem; margin-bottom:1.6rem; }
.contact-info-icon { width:36px; height:36px; background:rgba(192,57,43,.1); border:1px solid rgba(192,57,43,.25); border-radius:2px; display:flex; align-items:center; justify-content:center; font-size:1rem; flex-shrink:0; }
.contact-info-text h4 { font-family:'Libre Franklin',sans-serif; font-size:.72rem; font-weight:700; letter-spacing:.14em; text-transform:uppercase; color:var(--red); margin-bottom:.3rem; }
.contact-info-text p, .contact-info-text a { font-size:.93rem; color:var(--muted); text-decoration:none; line-height:1.6; }
.contact-info-text a:hover { color:var(--text); }

/* ── CTA STRIP ── */
.cta-strip {
  background: var(--black); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  padding: 3.5rem 2rem; text-align: center;
}

/* ── ANIMATIONS ── */
@keyframes fadeDown { from{opacity:0;transform:translateY(-14px)} to{opacity:1;transform:translateY(0)} }

/* ── RESPONSIVE ── */
@media(max-width:1024px) {
  .calc-wrapper { grid-template-columns:1fr; }
  .ro-inputs { grid-template-columns:1fr 1fr; }
}
@media(max-width:900px) {
  .about-grid, .grid-2, .warehouse-feature, .warehouse-feature.reverse, .contact-grid { grid-template-columns:1fr; }
  .warehouse-feature.reverse .wf-img { order:0; }
}
@media(max-width:768px) {
  .nav-links { display:none; }
  .nav-hamburger { display:flex; }
  .footer-grid { grid-template-columns:1fr 1fr; }
  .grid-3, .grid-4 { grid-template-columns:1fr 1fr; }
  .ro-inputs { grid-template-columns:1fr; }
  .result-grid { grid-template-columns:1fr; }
  .form-row { grid-template-columns:1fr; }
  .hero-stats { gap:0; }
}
@media(max-width:540px) {
  .footer-grid { grid-template-columns:1fr; }
  .grid-3, .grid-4 { grid-template-columns:1fr; }
  .hero-stat { min-width: 50%; border-right: none; border-bottom: 1px solid rgba(255,255,255,.1); padding: 1rem; }
}

/* ==========================================================================
   Added during the Webador migration — warehouse, resources hub, line card
   logos, real form handling. Appended to style.css.
   ========================================================================== */

/* --- Honeypot: must be invisible to humans, reachable by bots ------------- */
.hp-field { position: absolute; left: -9999px; top: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* --- Form helpers -------------------------------------------------------- */
.field-hint { display: block; font-size: .78rem; color: var(--muted); margin-top: 6px; line-height: 1.5; }
.form-group input[type="file"] { padding: 9px 12px; font-size: .88rem; cursor: pointer; }
.form-group input[type="file"]::file-selector-button {
  background: var(--card-2); color: var(--text); border: 1px solid var(--border);
  border-radius: 2px; padding: 5px 12px; margin-right: 12px; cursor: pointer;
  font-family: 'Libre Franklin', sans-serif; font-size: .78rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
}
.form-group input[type="file"]::file-selector-button:hover { border-color: var(--muted); color: var(--white); }

/* --- Stat row (warehouse key numbers) ------------------------------------ */
.stat-row {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--border); border: 1px solid var(--border);
}
.stat-block { background: var(--card-1); padding: 1.8rem 1.2rem; text-align: center; }
.stat-block strong {
  display: block; font-family: 'DM Serif Display', serif; font-size: 2.2rem;
  font-weight: 700; color: var(--white); line-height: 1.1;
}
.stat-block span {
  display: block; margin-top: .4rem; font-family: 'Libre Franklin', sans-serif;
  font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted);
}

/* --- Warehouse feature image --------------------------------------------- */
.wf-img img { display: block; width: 100%; height: 100%; max-height: 420px; object-fit: cover; }

/* --- Download cards (stock list) ----------------------------------------- */
.download-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; }
.download-card {
  display: flex; align-items: center; gap: 1.2rem; padding: 1.5rem 1.6rem;
  background: var(--card-1); border: 1px solid var(--border); text-decoration: none;
  transition: border-color .15s, background .15s;
}
.download-card:hover { border-color: var(--red); background: var(--card-2); }
.dl-icon {
  width: 46px; height: 46px; flex-shrink: 0; display: flex; align-items: center;
  justify-content: center; font-size: 1.4rem; background: rgba(192,57,43,.1);
  border: 1px solid rgba(192,57,43,.25); border-radius: 2px;
}
.dl-body { flex: 1; min-width: 0; }
.dl-title { font-family: 'Libre Franklin', sans-serif; font-size: 1.1rem; font-weight: 700; color: var(--white); line-height: 1.25; }
.dl-meta { font-size: .8rem; color: var(--muted); margin-top: .2rem; }
.dl-action {
  flex-shrink: 0; font-family: 'Libre Franklin', sans-serif; font-size: .8rem;
  font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--red);
}
.download-card:hover .dl-action { color: var(--white); }

/* --- Photo strip --------------------------------------------------------- */
.photo-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1px; background: var(--border); border: 1px solid var(--border); }
.photo-strip img { display: block; width: 100%; height: 220px; object-fit: cover; background: var(--card-1); }

/* --- Line card logo plate ------------------------------------------------ */
.lc-logo {
  width: 100%; height: 76px; display: flex; align-items: center; justify-content: flex-start;
  margin-bottom: .4rem;
}
.lc-logo img { max-height: 56px; max-width: 170px; object-fit: contain; }

/* --- Service cards (resources hub) --------------------------------------- */
.service-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 1.5rem; }
.service-card {
  background: var(--card-1); border: 1px solid var(--border); padding: 2.2rem 2rem;
  display: flex; flex-direction: column; transition: border-color .2s;
}
.service-card:hover { border-color: var(--muted); }
.service-icon { font-size: 1.8rem; margin-bottom: 1rem; }
.service-card h3 {
  font-family: 'Libre Franklin', sans-serif; font-size: 1.5rem; font-weight: 700;
  color: var(--white); letter-spacing: .02em; margin-bottom: .7rem;
}
.service-card p { font-size: .93rem; color: var(--muted); line-height: 1.75; margin-bottom: 1.6rem; }
.service-links { display: flex; gap: .7rem; flex-wrap: wrap; margin-top: auto; }

/* --- Role line ----------------------------------------------------------- */
.role-line {
  font-family: 'Libre Franklin', sans-serif; font-size: .76rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--red);
  margin: -1.3rem 0 1.5rem;
}

/* --- Responsive ---------------------------------------------------------- */
@media (max-width: 900px) {
  .stat-row { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .stat-row { grid-template-columns: 1fr; }
  .stat-block { padding: 1.4rem 1rem; }
  .download-card { flex-wrap: wrap; }
  .service-card { padding: 1.8rem 1.5rem; }
  .photo-strip img { height: 180px; }
}

/* --- Real logo assets (replacing emoji placeholders, 2026-09-14) ----------
   Partner marks are a mix: most are opaque white JPG/PNG, ORE Lighting is a
   transparent PNG with dark grey type that disappears on the #181818 card.
   The white plate makes every mark legible and keeps the row visually even —
   it is not decoration, it is what stops a logo vanishing on the dark theme. */
.partner-tile-icon {
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 52px;
}
.partner-tile-icon img {
  max-height: 40px; max-width: 120px; object-fit: contain;
  background: #fff; border-radius: 2px; padding: 5px 8px;
}

.lc-logo img { background: #fff; border-radius: 2px; padding: 6px 10px; }

/* News carousel thumbs. Same reasoning as the partner tiles: airey-thompson
   and topstar are dark-on-transparent marks and vanish on the #181818 card.
   contain (not cover) because these are logos and boxed product shots — a
   crop would cut the mark. The ComEd card is still an emoji on purpose. */
.news-card-thumb img {
  max-height: 124px; max-width: 78%; object-fit: contain;
  background: #fff; border-radius: 2px; padding: 8px 12px;
}

.about-img-placeholder img {
  max-width: 68%; max-height: 62%; object-fit: contain;
}

@media (max-width: 560px) {
  .partner-tile-icon { height: 44px; }
  .partner-tile-icon img { max-height: 34px; max-width: 104px; }
}

/* --- Team card cell number ----------------------------------------------- */
.team-cell {
  font-family: 'Libre Franklin', sans-serif; font-size: .82rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; color: var(--muted);
  margin: -.8rem 0 1.3rem;
}
.team-cell a { color: var(--white); }
.team-cell a:hover { color: var(--red); }

/* ==========================================================================
   Webador-matched home layout (2026-09-30)
   ========================================================================== */
.container.narrow { max-width: 900px; }

/* --- News slideshow: one slide at a time, arrows at the edges, caption
       bar on the image — the live site's fotorama look without the library. */
.slideshow { position: relative; max-width: 900px; margin: 2rem auto 0; }
.slides { position: relative; aspect-ratio: 16 / 10; background: #fff; overflow: hidden; }
.slide {
  position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity .6s ease;
  display: flex; align-items: center; justify-content: center; padding: 1.5rem 4rem 3.5rem;
}
.slide.active { opacity: 1; }
.slide img { width: 100%; height: 100%; object-fit: contain; }
.slide figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: .8rem 1.2rem;
  background: rgba(0,0,0,.55); color: #fff; font-size: .95rem; text-align: left;
}
.slide-nav {
  position: absolute; top: 45%; transform: translateY(-50%);
  background: none; border: none; cursor: pointer; padding: .5rem; color: #9a9a9a;
}
.slide-nav:hover { color: #202020; }
.slide-nav svg { width: 30px; height: 30px; stroke: currentColor; fill: none; stroke-width: 1.8; }
.slide-nav.prev { left: -3rem; }
.slide-nav.next { right: -3rem; }
.slide-dots { display: flex; justify-content: center; gap: .5rem; margin-top: 1rem; }
.slide-dots button { width: 9px; height: 9px; border-radius: 50%; border: 1px solid #202020; background: transparent; cursor: pointer; padding: 0; }
.slide-dots button.active { background: #202020; }

/* --- Split rows: bordered white text card beside an image (About / Core Values) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.split-card { border: 1px solid var(--border); padding: 2.5rem 2.4rem; background: #fff; }
.split-card p { font-size: .98rem; line-height: 1.8; }
.split-ctas { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 1.6rem; }
.split-media img { display: block; width: 100%; height: 100%; max-height: 380px; object-fit: cover; }
.split-logo { display: flex; align-items: center; justify-content: center; min-height: 280px; }
.split-logo img { width: auto; max-width: 70%; max-height: 220px; object-fit: contain; }

/* --- Partner logos: continuous marquee, pauses on hover */
.logo-band { border-top: 1px solid var(--border); overflow: hidden; }
.logo-marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.logo-track { display: flex; gap: 4rem; width: max-content; animation: marquee 40s linear infinite; align-items: center; }
.logo-marquee:hover .logo-track { animation-play-state: paused; }
.logo-track img { height: 70px; width: auto; max-width: 200px; object-fit: contain; filter: grayscale(1); opacity: .75; transition: filter .2s, opacity .2s; }
.logo-track a:hover img { filter: none; opacity: 1; }
@keyframes marquee { to { transform: translateX(-50%); } }

.cta-strip { background: var(--card-2); border-top: 1px solid var(--border); border-bottom: none; }

@media (prefers-reduced-motion: reduce) {
  .logo-track, .hero-scroll { animation: none; }
  .slide { transition: none; }
}
@media (max-width: 1060px) {
  .slide-nav.prev { left: 0; } .slide-nav.next { right: 0; }
}
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 1.5rem; }
  .split.reverse .split-media { order: 2; }
  .footer-icons { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-inner { height: 68px; }
  .nav-logo { font-size: 1.3rem; }
  .hero { min-height: 100svh; }
  .slide { padding: 1rem 2.5rem 3.2rem; }
  .split-card { padding: 1.8rem 1.5rem; }
  .logo-track img { height: 52px; }
}
@media (max-width: 540px) {
  .footer-icons { grid-template-columns: 1fr; gap: 1.6rem; }
}

/* Teal strip under the team page (live layout) */
.teal-band { background: var(--red); height: 76px; }

/* --- Line card: centred 3-up grid, big logo, name, teal button (live layout) */
.lc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3.5rem 2.5rem; }
.lc-card { display: flex; flex-direction: column; align-items: center; text-align: center; }
.lc-card-logo { height: 150px; width: 100%; display: flex; align-items: center; justify-content: center; margin-bottom: 1.2rem; }
.lc-card-logo img { max-height: 140px; max-width: 280px; width: auto; object-fit: contain; }
.lc-card h3 { font-size: 1.35rem; margin-bottom: .5rem; }
.lc-card p { font-size: .88rem; color: var(--muted); line-height: 1.65; max-width: 300px; margin-bottom: 1rem; }
.lc-card .btn { margin-top: auto; }
/* .night = the live site's night skyline; falls back to the day shot until that photo is added */
.page-hero.photo.night { padding: 0; height: 460px; }
.page-hero.photo.night::before { background: rgba(0,0,0,.1); }
@media (max-width: 900px) { .lc-grid { grid-template-columns: 1fr 1fr; } .page-hero.photo.night { height: 280px; } }
@media (max-width: 560px) { .lc-grid { grid-template-columns: 1fr; } .lc-card-logo { height: 110px; } .lc-card-logo img { max-height: 100px; } }

/* --- Photos + PDFs recovered from Webador (2026-09-30) -------------------- */
.page-hero.photo.night { background-image: url('/images/stock-skyline-night.jpg'); background-position: center 60%; filter: grayscale(1); }
.service-photo { margin: -2.2rem -2rem 1.4rem; aspect-ratio: 1 / 1; overflow: hidden; background: #fff; }
.service-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.service-photo.logo { display: flex; align-items: center; justify-content: center; border-bottom: 1px solid var(--border); }
.service-photo.logo img { width: 78%; height: auto; object-fit: contain; }
.service-grid { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.pdf-embed { margin-top: 1.4rem; border: 1px solid var(--border); background: #333; }
.pdf-embed object { display: block; width: 100%; height: 720px; }
.pdf-embed p { padding: 1.2rem; background: #fff; }
.pdf-link { margin-top: .6rem; font-size: .9rem; }
@media (max-width: 768px) { .pdf-embed object { height: 480px; } }
.service-card h3 { font-family: 'DM Serif Display', serif; font-weight: 700; letter-spacing: -.01em; }

/* --- Home: header floats transparent over the skyline (live behaviour),
       turns solid white once you scroll past the photo (.nav-solid via JS). */
.nav.over-hero { position: fixed; left: 0; right: 0; background: transparent; border-bottom-color: transparent; transition: background .25s, border-color .25s, box-shadow .25s; }
.nav.over-hero.nav-solid { background: #fff; border-bottom-color: #ececec; box-shadow: 0 1px 10px rgba(0,0,0,.06); }
.nav.over-hero:not(.nav-solid) .nav-links > li > a,
.nav.over-hero:not(.nav-solid) .nav-links > li > span { font-weight: 500; }
.nav.over-hero + .nav-mobile.open { position: fixed; top: 72px; left: 0; right: 0; z-index: 199; }

/* --- Team page: Jeff | logo | Jim on one line ------------------------------ */
.team-trio-grid { display: grid; grid-template-columns: 1fr minmax(160px, 260px) 1fr; gap: 3rem; align-items: center; max-width: 1240px; }
.team-bio h2 { font-size: 1.8rem; margin-bottom: .5rem; }
.team-bio p { font-size: .95rem; line-height: 1.85; margin-bottom: 1.2rem; }
.team-bio .team-cell { margin: 0 0 .8rem; color: var(--muted); }
.team-bio .team-cell a { color: var(--red); }
.team-trio-logo { display: flex; align-items: center; justify-content: center; }
.team-trio-logo img { width: 100%; height: auto; }
@media (max-width: 900px) {
  .team-trio-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .team-trio-logo { order: -1; }
  .team-trio-logo img { max-width: 200px; }
}
.team-bio.right { text-align: right; }
@media (max-width: 900px) { .team-bio.right { text-align: left; } }
/* Line card: a lone card on the last row of the 3-up grid sits in the middle column */
.lc-card:last-child:nth-child(3n+1) { grid-column: 2; }
@media (max-width: 900px) { .lc-card:last-child:nth-child(3n+1) { grid-column: auto; } }

/* --- Icons: thin teal line icons replace the old emoji (2026-09-30) ------- */
.ico { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; display: block; }
.contact-info-icon, .dl-icon { background: transparent; border: 1.5px solid var(--red); border-radius: 50%; color: var(--red); }
.contact-info-icon { width: 38px; height: 38px; }
.dl-icon .ico { width: 22px; height: 22px; }
.big-icon { color: var(--red); display: flex; justify-content: center; margin-bottom: 1rem; }
.big-icon .ico { width: 56px; height: 56px; stroke-width: 1.3; }

/* ==========================================================================
   "Lights on" home hero (preview branch). Night skyline, dark; scrolling
   brightens it as the lights come on.
   Custom properties are written by js/lights-on.js.
   ========================================================================== */
.lights { position: relative; height: 200vh; background: #050505; }
.lights-stage {
  position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden;
  --lit: 0; --copy: 1; --cue: 1;
}
/* --zoom: slow film-opening drift, 1.08 → 1 over ~20s, set by lights-on.js */
.lights-layer { position: absolute; inset: 0; background-size: cover; background-position: center 62%; transform: scale(var(--zoom, 1)); transform-origin: 50% 50%; will-change: transform; }
.night-dim { background-image: url('/images/stock-skyline-night.jpg'); filter: grayscale(1) brightness(.22) contrast(1.15); }
/* same photo at full brightness, faded in with scroll: the lights come on */
.night-lit { background-image: url('/images/stock-skyline-night.jpg'); filter: grayscale(1) brightness(1.1) contrast(1.05); opacity: var(--lit); }

.lights-copy {
  position: absolute; left: 0; right: 0; top: 50%; transform: translateY(calc(-50% - (1 - var(--copy)) * 40px));
  text-align: center; color: #fff; padding: 0 1.5rem; opacity: var(--copy); pointer-events: none;
}
.lights-eyebrow { font-family: 'Libre Franklin', sans-serif; font-size: .78rem; letter-spacing: .32em; text-transform: uppercase; color: rgba(255,255,255,.7); margin-bottom: 1.2rem; }
.lights-copy h1 { font-size: clamp(3rem, 9vw, 7.5rem); color: #fff; line-height: .95; letter-spacing: -.02em; text-shadow: 0 2px 30px rgba(0,0,0,.6); }
.lights-sub { max-width: 560px; margin: 1.4rem auto 0; font-size: 1.05rem; line-height: 1.7; color: rgba(255,255,255,.78); }
.lights-cue {
  position: absolute; left: 50%; bottom: 1.6rem; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: .3rem;
  color: rgba(255,255,255,.8); font-family: 'Libre Franklin', sans-serif; font-size: .72rem;
  letter-spacing: .24em; text-transform: uppercase; opacity: var(--cue); text-decoration: none;
}
.lights-cue:hover { color: #fff; text-decoration: none; }
.lights-cue svg { width: 28px; height: 28px; stroke: currentColor; fill: none; stroke-width: 1.8; animation: cueBob 2s ease-in-out infinite; }
@keyframes cueBob { 0%,100% { transform: translateY(0) } 50% { transform: translateY(6px) } }

/* header while the stage is dark: white type, white active box */
.nav.over-hero.on-dark:not(.nav-solid) .nav-logo,
.nav.over-hero.on-dark:not(.nav-solid) .nav-links > li > a,
.nav.over-hero.on-dark:not(.nav-solid) .nav-links > li > span { color: #fff; }
.nav.over-hero.on-dark:not(.nav-solid) .nav-links > li > a.active { border-color: #fff; }
.nav.over-hero.on-dark:not(.nav-solid) .nav-links > li > a:hover,
.nav.over-hero.on-dark:not(.nav-solid) .nav-links > li > span:hover { border-color: rgba(255,255,255,.5); }
.nav.over-hero.on-dark:not(.nav-solid) .nav-hamburger span { background: #fff; }
.nav .nav-logo, .nav .nav-links > li > a, .nav .nav-links > li > span { transition: color .3s, border-color .3s; }

@media (max-width: 768px) {
  .lights { height: 180vh; }
  .lights-layer { background-position: 38% 62%; }
  .lights-sub { font-size: .95rem; }
}
@media (prefers-reduced-motion: reduce) { .lights-cue svg { animation: none; } }

/* --- Count-up stats band under the hero (preview) -------------------------- */
.stat-band { background: #fff; border-bottom: 1px solid var(--border); padding: 3.2rem 2rem; }
.stat-band-grid { max-width: 1160px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); }
.stat-band-item { text-align: center; padding: .4rem 1rem; border-right: 1px solid var(--border); }
.stat-band-item:last-child { border-right: none; }
.stat-band-item strong { display: block; font-family: 'DM Serif Display', serif; font-size: clamp(2.4rem, 5vw, 3.6rem); line-height: 1; color: #202020; font-variant-numeric: tabular-nums; }
.stat-band-item span { display: block; margin-top: .6rem; font-family: 'Libre Franklin', sans-serif; font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--red); }
.stat-band-item .fade-word { opacity: 0; transform: translateY(10px); transition: opacity .8s ease, transform .8s ease; }
.stat-band-item .fade-word.in { opacity: 1; transform: none; }
@media (max-width: 760px) {
  .stat-band-grid { grid-template-columns: 1fr 1fr; row-gap: 1.8rem; }
  .stat-band-item:nth-child(2) { border-right: none; }
}

/* --- Line card: logos grey until hovered (mouse devices only) ------------- */
@media (hover: hover) {
  .lc-card-logo img { filter: grayscale(1); opacity: .72; transition: filter .35s ease, opacity .35s ease, transform .35s ease; }
  .lc-card:hover .lc-card-logo img { filter: none; opacity: 1; transform: scale(1.04); }
}
.lights-cue { text-align: center; white-space: nowrap; }
@media (max-width: 480px) { .lights-cue { letter-spacing: .14em; font-size: .66rem; } }

/* AES logo: grey until the cursor is over it (mouse devices only), same idea
   as the line card logos. Touch devices always show it in colour. */
@media (hover: hover) {
  img[src$="logo-mark.png"] { filter: grayscale(1); opacity: .75; transition: filter .35s ease, opacity .35s ease, transform .35s ease; }
  img[src$="logo-mark.png"]:hover,
  :is(.split-media, .team-trio-logo, .footer-bottom):hover img[src$="logo-mark.png"] { filter: none; opacity: 1; transform: scale(1.03); }
}
