/* IEC Inc. — iecincglobal.com static rebuild */
:root {
  --navy: #0e2a47;
  --navy-2: #14365c;
  --gold: #b98a2f;
  --gold-soft: #e9dcc0;
  --ink: #1c2733;
  --muted: #5a6b7d;
  --bg: #ffffff;
  --bg-soft: #f6f4ef;
  --line: #e4e0d6;
  --radius: 14px;
  --max: 1120px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; border-radius: var(--radius); }
a { color: var(--navy); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 24px; gap: 16px; }
.brand { font-weight: 800; font-size: 22px; letter-spacing: .04em; color: var(--navy); text-decoration: none; display: inline-flex; align-items: center; }
.brand-logo { width: 190px; height: auto; display: block; }
.brand-logo.foot-logo { width: 200px; }

/* Big skyline banner (homepage) */
/* Footer asset logo buttons */
.asset-buttons-label { color: #fff; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; opacity: .75; margin-bottom: 12px; }
.asset-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 30px; }
.asset-buttons a { display: inline-flex; align-items: center; justify-content: center; background: #fff; border-radius: 12px; padding: 10px 18px; height: 58px; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform .15s ease, box-shadow .15s ease; }
.asset-buttons a:hover { transform: translateY(-2px); box-shadow: 0 5px 14px rgba(0,0,0,.35); }
.asset-buttons img { height: 38px; width: auto; max-width: 160px; object-fit: contain; display: block; }
.brand span { color: var(--gold); font-weight: 600; }
.site-nav { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.site-nav a { text-decoration: none; color: var(--ink); font-size: 15px; font-weight: 500; padding: 6px 2px; border-bottom: 2px solid transparent; }
.site-nav a:hover { color: var(--navy); border-bottom-color: var(--gold); }
.site-nav a.active { color: var(--navy); border-bottom-color: var(--gold); font-weight: 700; }

/* Hero */
/* Hero — default: navy gradient text hero (all pages) */
.hero { background: linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%); color: #fff; padding: 72px 0 64px; }
/* Image hero — welcome.html only: animated skyline */
.hero-image { position: relative; overflow: hidden; padding: 110px 0 120px; min-height: 82vh; display: flex; align-items: center; background: var(--navy); }
.hero-bg { position: absolute; inset: -7%; animation: hero-pan 26s ease-in-out infinite alternate; transition: opacity 2s ease; }
.hero-bg-night { background: url('assets/boston-skyline-charles-river.jpg') 50% 62%/cover no-repeat; }
.hero-bg-day { background: url('assets/boston-skyline-day.jpg') 50% 62%/cover no-repeat; opacity: 0; }
/* Day/night hero: data-hero-time is set on <html> pre-paint; no-JS default = night */
html[data-hero-time="day"] .hero-bg-day { opacity: 1; }
html[data-hero-time="day"] .hero-bg-night { opacity: 0; }
/* Photo credit follows the visible image */
.hero-credit-day { display: none; }
html[data-hero-time="day"] .hero-credit-day { display: block; }
html[data-hero-time="day"] .hero-credit-night { display: none; }
@keyframes hero-pan { from { transform: translate3d(-2.2%, 0, 0) scale(1.05); } to { transform: translate3d(2.2%, 0, 0) scale(1.05); } }
.hero-veil { position: absolute; inset: 0; background: linear-gradient(95deg, rgba(14,42,71,.92) 0%, rgba(14,42,71,.60) 44%, rgba(14,42,71,.16) 78%), linear-gradient(0deg, rgba(14,42,71,.55) 0%, rgba(14,42,71,0) 46%); }
.hero .wrap { position: relative; z-index: 1; width: 100%; }
.hero-credit { position: absolute; right: 16px; bottom: 12px; z-index: 2; margin: 0; font-size: 11px; letter-spacing: .02em; color: rgba(255,255,255,.62); }
.hero-credit a { color: rgba(255,255,255,.8); }
@media (max-width: 640px) { .hero-image { padding: 84px 0 96px; min-height: 94vh; } }
@media (prefers-reduced-motion: reduce) { .hero-bg { animation: none; } }
.hero .eyebrow { color: var(--gold-soft); text-transform: uppercase; letter-spacing: .18em; font-size: 13px; font-weight: 700; margin-bottom: 14px; }
.hero h1 { font-size: clamp(32px, 5vw, 54px); line-height: 1.12; font-weight: 800; letter-spacing: -0.01em; max-width: 20ch; margin-bottom: 18px; }
.hero p.lede { font-size: 19px; color: #dbe4ee; max-width: 62ch; margin-bottom: 26px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.chip { border: 1px solid rgba(255,255,255,.35); color: #fff; border-radius: 999px; padding: 7px 16px; font-size: 14px; font-weight: 600; }
.hero img { box-shadow: 0 24px 60px rgba(0,0,0,.35); }
.hero-video video { width: 100%; border-radius: 12px; box-shadow: 0 24px 60px rgba(0,0,0,.35); display: block; }
.hero-video-cap { margin-top: 10px; color: var(--gold-soft); font-size: 14px; letter-spacing: .02em; }
.hero .location { margin-top: 14px; color: var(--gold-soft); font-size: 15px; }
.hero .location strong { color: #fff; }

/* Sections */
.section { padding: 64px 0; }
.section.soft { background: var(--bg-soft); }
.eyebrow { text-transform: uppercase; letter-spacing: .18em; font-size: 13px; font-weight: 700; color: var(--gold); margin-bottom: 10px; }
h2 { font-size: clamp(26px, 3.4vw, 38px); line-height: 1.2; color: var(--navy); font-weight: 800; letter-spacing: -0.01em; margin-bottom: 14px; }
h3 { font-size: 20px; color: var(--navy); margin-bottom: 8px; }
.section > .wrap > p, .prose p { color: var(--muted); max-width: 70ch; margin-bottom: 14px; }
.secnum { display: inline-block; font-size: 13px; font-weight: 800; letter-spacing: .12em; color: var(--gold); border: 1px solid var(--gold-soft); border-radius: 8px; padding: 2px 10px; margin-bottom: 10px; background: #fff; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.grid-2.tight { gap: 28px; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin-top: 28px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; box-shadow: 0 2px 10px rgba(14,42,71,.05); }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 17.5px; line-height: 1.6; }
.card.first { border-top: 4px solid var(--gold); }
.asset-cards .asset-card { text-align: center; }
.asset-logo { height: 112px; display: grid; place-items: center; margin-bottom: 14px; }
.asset-logo img { max-height: 104px; max-width: 100%; width: auto; object-fit: contain; }
.subhead { font-size: 21px; font-weight: 700; color: var(--navy); margin: 36px 0 4px; }
.asset-card .asset-link { display: inline-block; margin-top: 14px; font-weight: 700; color: var(--navy); text-decoration: none; border-bottom: 2px solid var(--gold); padding-bottom: 2px; font-size: 16.5px; }
.asset-card .asset-link:hover { color: #a37c28; }
.partner-tag { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--navy); background: #eef3f6; border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px; margin-left: 8px; vertical-align: middle; white-space: nowrap; }
.partner-note { max-width: 74ch; color: var(--muted); }

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; margin-top: 28px; }
.step { border-left: 3px solid var(--gold); padding: 4px 0 4px 18px; }
.step .n { font-weight: 800; color: var(--gold); letter-spacing: .08em; font-size: 14px; }
.step h3 { margin: 4px 0 6px; }
.step p { color: var(--muted); font-size: 17px; line-height: 1.6; }

.trio { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; margin: 26px 0; }
.trio div strong { display: block; color: var(--navy); font-size: 17px; }
.trio div span { color: var(--muted); font-size: 16px; }

ul.check { list-style: none; margin: 18px 0; }
ul.check li { padding: 8px 0 8px 30px; position: relative; color: var(--ink); }
ul.check li::before { content: "✓"; position: absolute; left: 4px; color: var(--gold); font-weight: 800; }

.band { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 40px; margin-top: 8px; }
.band h2 { color: #fff; }
.band p { color: #dbe4ee; }
.band .meta { color: var(--gold-soft); font-size: 14px; margin-top: 10px; }

.btn { display: inline-block; background: var(--gold); color: #fff; font-weight: 700; text-decoration: none; padding: 13px 28px; border-radius: 10px; margin-top: 18px; border: none; cursor: pointer; font-size: 16px; }
.btn:hover { background: #a37c28; }
.btn.ghost { background: transparent; border: 1.5px solid rgba(255,255,255,.6); color: #fff; }
.btn.dark { background: var(--navy); }
.btn.dark:hover { background: var(--navy-2); }

.quote { border-left: 4px solid var(--gold); padding: 6px 0 6px 22px; font-size: 21px; font-style: italic; color: var(--navy); margin: 26px 0; max-width: 40ch; }
.leader { display: grid; grid-template-columns: 220px 1fr; gap: 32px; align-items: start; margin-top: 28px; }
.leader img { border-radius: 50%; aspect-ratio: 1; object-fit: cover; }
.leader .role { color: var(--gold); font-weight: 700; text-transform: uppercase; letter-spacing: .12em; font-size: 13px; margin-bottom: 6px; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 20px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: 15px; color: var(--navy); }
.field input, .field select, .field textarea { font: inherit; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.field textarea { min-height: 130px; resize: vertical; }
.fineprint { font-size: 13.5px; color: var(--muted); margin-top: 12px; }

.contact-lines { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; margin-top: 24px; }
.contact-lines div { background: var(--bg-soft); border-radius: var(--radius); padding: 20px; }
.contact-lines strong { display: block; color: var(--navy); margin-bottom: 4px; }
.contact-lines a { color: var(--navy); }

/* Footer */
.site-footer { background: var(--navy); color: #c8d3e0; padding: 44px 0 30px; margin-top: 20px; }
.foot-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; margin-bottom: 26px; }
.foot-grid nav { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.foot-grid nav a { color: #dbe4ee; text-decoration: none; font-size: 14.5px; }
.foot-grid nav a:hover { color: #fff; text-decoration: underline; }
.copyright { border-top: 1px solid rgba(255,255,255,.15); padding-top: 20px; font-size: 14.5px; color: #aeb9c8; }

/* Photo + content extensions */
.stats-band { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%); border-radius: var(--radius); padding: 44px 40px; color: #fff; margin-top: 8px; }
.stats-band .stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 24px; margin-top: 26px; }
.stat strong { display: block; font-size: 30px; color: var(--gold-soft); font-weight: 800; letter-spacing: -0.01em; }
.stat span { color: #dbe4ee; font-size: 14.5px; }
.band-fig { display: grid; grid-template-columns: .9fr 1.1fr; gap: 36px; align-items: center; margin-top: 26px; }
.band-fig img { box-shadow: 0 18px 44px rgba(0,0,0,.3); aspect-ratio: 16/10; object-fit: cover; width: 100%; }
.img-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 26px 0; }
.img-duo img { aspect-ratio: 16/10; object-fit: cover; width: 100%; }
.figcap { font-size: 13.5px; color: var(--muted); margin-top: 8px; }
.framed img { aspect-ratio: 16/10; object-fit: cover; width: 100%; }
.cap { font-size: 13.5px; color: var(--muted); margin-top: 8px; }
details.credits { margin-top: 18px; font-size: 13px; color: #8b96a6; }
details.credits summary { cursor: pointer; color: #aeb9c8; font-size: 13.5px; }
details.credits summary:hover { color: #fff; }
details.credits ul { list-style: none; margin-top: 10px; columns: 2; column-gap: 28px; }
details.credits li { margin-bottom: 5px; break-inside: avoid; }
details.credits a { color: #aeb9c8; }

.menu-btn{display:none;background:none;border:1px solid var(--line);border-radius:10px;padding:8px 13px;font-size:20px;line-height:1;cursor:pointer;color:var(--navy)}
@media (max-width: 860px) {
  .hero-grid, .grid-2 { grid-template-columns: 1fr; }
  .hero { padding: 52px 0 44px; }
  .section { padding: 44px 0; }
  .leader { grid-template-columns: 1fr; }
  .leader img { width: 180px; }
  .form-grid { grid-template-columns: 1fr; }
  .header-inner { padding-top: 12px; padding-bottom: 12px; }
  .menu-btn { display: inline-flex; align-items: center; margin-left: auto; }
  .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 18px 40px rgba(14,42,71,.12); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 22px 22px; max-height: 72vh; overflow: auto; }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 13px 4px; font-size: 16px; border-bottom: 1px solid var(--line); }
  .site-nav a:hover { border-bottom-color: var(--line); }
  .site-nav a.nav-cta, .site-nav a.nav-suite { margin: 12px 0 0; text-align: center; border-bottom: none; }
  .img-duo, .band-fig { grid-template-columns: 1fr; }
  details.credits ul { columns: 1; }
  .stats-band { padding: 32px 24px; }
  .band { padding: 28px 22px; }

  .nav-drop-btn { display: block; width: 100%; text-align: left; padding: 13px 4px; font-size: 16px; border: 0; border-bottom: 1px solid var(--line); cursor: default; }
  .nav-drop-btn::after { content: ""; }
  .nav-drop-menu { position: static; display: block; box-shadow: none; border: 0; border-radius: 0; padding: 0; min-width: 0; }
  .nav-drop-menu a { padding: 11px 4px 11px 22px; font-size: 15px; border-bottom: 1px solid var(--line); border-radius: 0; }
}

.copyright a { color: inherit; opacity: .72; text-decoration: none; }
.copyright a:hover { opacity: 1; text-decoration: underline; }

/* Direct-connect nav button */
.site-nav a.nav-cta { background: #2b5cab; color: #fff; font-weight: 700; padding: 10px 26px; border-radius: 8px; border-bottom: none; margin-left: 10px; }
.site-nav a.nav-cta:hover { background: #1e4a94; color: #fff; border-bottom: none; }
.site-nav a.nav-suite { background: #0d9488; color: #fff; font-weight: 700; padding: 10px 26px; border-radius: 8px; border-bottom: none; margin-left: 10px; }
.site-nav a.nav-suite:hover { background: #0a7a71; color: #fff; border-bottom: none; }




/* ---------- Header/footer redesign (2026-10-08): smooth transitions ---------- */
.site-header { transition: box-shadow .3s ease, background-color .3s ease; }
.site-header.scrolled { box-shadow: 0 8px 28px rgba(14,42,71,.12); }
.header-inner { transition: padding .3s ease; }
.site-header.scrolled .header-inner { padding-top: 9px; padding-bottom: 9px; }
.brand-logo { transition: width .3s ease; }
.site-header.scrolled .brand-logo { width: 158px; }

/* Animated underline for nav links */
.site-nav a { position: relative; border-bottom: none; transition: color .25s ease; }
.site-nav a::after { content: ""; position: absolute; left: 2px; right: 2px; bottom: 2px; height: 2px; border-radius: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left center; transition: transform .28s cubic-bezier(.4,0,.2,1); }
.site-nav a:hover::after, .site-nav a.active::after { transform: scaleX(1); }
.site-nav a:hover, .site-nav a.active { border-bottom-color: transparent; }

/* Nav buttons: lift on hover */
.site-nav a.nav-cta, .site-nav a.nav-suite { transition: background-color .25s ease, transform .25s ease, box-shadow .25s ease; }
.site-nav a.nav-cta::after, .site-nav a.nav-suite::after { display: none; }
.site-nav a.nav-cta:hover, .site-nav a.nav-suite:hover { transform: translateY(-1px); box-shadow: 0 8px 18px rgba(14,42,71,.24); }

/* Animated hamburger */
.menu-btn span { display: block; width: 22px; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .3s ease, opacity .25s ease; }
.menu-btn { flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.menu-btn.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn.open span:nth-child(2) { opacity: 0; }
.menu-btn.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Footer columns */
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 10px; }
.foot-brand p { font-size: 14.5px; max-width: 38ch; margin-top: 10px; color: #c8d3e0; }
.foot-col h4 { color: #fff; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 12px; }
.foot-col a { display: block; color: #c8d3e0; text-decoration: none; font-size: 14.5px; padding: 5px 0; transition: color .25s ease, transform .25s ease; }
.foot-col a:hover { color: #fff; transform: translateX(5px); }
.foot-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; border-top: 1px solid rgba(255,255,255,.15); padding-top: 20px; margin-top: 18px; }
.copyright { border-top: none; padding-top: 0; }
.to-top { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); background: transparent; color: #fff; font-size: 18px; line-height: 1; cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .3s ease, visibility .3s ease, transform .3s ease, background-color .25s ease, border-color .25s ease; }
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--gold); border-color: var(--gold); }

@media (max-width: 860px) {
  .site-nav { display: flex; max-height: 0; opacity: 0; visibility: hidden; transform: translateY(-10px); overflow: hidden; padding-top: 0; padding-bottom: 0; transition: max-height .4s cubic-bezier(.4,0,.2,1), opacity .3s ease, transform .3s ease, visibility 0s .4s, padding .3s ease; }
  .site-nav.open { max-height: 80vh; opacity: 1; visibility: visible; transform: none; padding: 8px 22px 22px; transition: max-height .45s cubic-bezier(.4,0,.2,1), opacity .3s ease, transform .3s ease, padding .3s ease; }
  .site-nav a { border-bottom: 1px solid var(--line); }
  .site-nav a::after { display: none; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 26px; }
  .foot-brand { grid-column: 1 / -1; }
}

/* Newsroom */
.read-link { display: inline-block; margin-top: 14px; font-weight: 700; color: var(--navy); text-decoration: none; border-bottom: 2px solid var(--gold); padding-bottom: 2px; font-size: 16.5px; }
.read-link:hover { color: #a37c28; }
.news-date { color: var(--muted); font-size: 15px; margin-bottom: 6px; }
.article-body p { font-size: 18px; line-height: 1.7; color: var(--ink, #1c2430); margin-bottom: 1.1em; max-width: 72ch; }
