/* =================================================================
   NashComm homepage (2026 layout)
   Loaded only by /index.htm. Shared tokens and buttons live in custom.css.
   ================================================================= */
.nc-home {
  --nc-navy: #13293d;
  --nc-black: #0b0f14;
  --nc-pale: #e9f1f8;
  --nc-gray: #f4f6f8;
  color: var(--nc-text);
}
body:has(.nc-home) #content { background: #fff; }
body:has(.nc-home) .content-wrap { overflow: visible; }
.nc-home h1, .nc-home h2, .nc-home h3 { font-family: "Inter", sans-serif; }

/* ---------- Type helpers ---------- */
.nc-home .nc-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--nc-blue);
  margin: 0 0 14px;
  line-height: 1.5;
}
.nc-home .nc-eyebrow-light { color: #7cc1f2; }
.nc-h2 {
  font-size: clamp(30px, 3.6vw, 46px);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--nc-ink);
  margin: 0 0 18px;
  max-width: 18ch;
}
.nc-sub { font-size: 16px; line-height: 1.7; max-width: 62ch; margin: 0; }
.nc-section { padding: 96px 0; }
.nc-section p { line-height: 1.7; }

.nc-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 15px;
  color: var(--nc-blue);
  text-decoration: none;
  white-space: nowrap;
}
.nc-link:hover { color: var(--nc-blue-dark); }
.nc-link-light { color: #fff; }
.nc-link-light:hover { color: #7cc1f2; }
.nc-arrow { display: inline-block; font-weight: 700; transition: transform .2s ease; }
a:hover .nc-arrow { transform: translate(2px, -2px); }
.nc-arrow-blue { color: var(--nc-blue); }
.nc-arrow-red { color: var(--nc-red); }
.nc-btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }
.nc-num { font-size: 13px; color: var(--nc-blue); font-weight: 500; }

/* Section heading row: title left, aside/link right */
.nc-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  margin-bottom: 44px;
}
.nc-head-aside { max-width: 400px; font-size: 16px; margin: 0; }

/* ---------- Hero ---------- */
.nc-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--nc-ink);
  min-height: 640px;
}
.nc-hero-copy {
  display: flex;
  justify-content: flex-end;
  padding: 90px 48px 48px 24px;
}
.nc-hero-inner {
  width: 100%;
  max-width: 600px;
  display: flex;
  flex-direction: column;
}
.nc-hero h1 {
  color: #fff;
  font-size: clamp(42px, 5.4vw, 76px);
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: -.025em;
  margin: 0 0 28px;
}
.nc-hero h1 span { color: var(--nc-red); display: block; }
.nc-hero-lead { color: #cbd5e1; font-size: 18px; line-height: 1.7; max-width: 480px; margin: 0 0 34px; }
.nc-hero-meta {
  margin-top: auto;
  padding-top: 26px;
  border-top: 1px solid rgba(255,255,255,.14);
  display: flex;
  align-items: center;
  gap: 18px;
  color: #cbd5e1;
  font-size: 13px;
}
.nc-hero-copy .nc-btn-row { margin-bottom: 60px; }
.nc-since { font-size: 10px; text-transform: uppercase; letter-spacing: .14em; color: #7cc1f2; line-height: 1.2; }
.nc-since strong { font-size: 18px; letter-spacing: 0; color: #fff; }
.nc-hero-media { position: relative; overflow: hidden; }
.nc-hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 40% center; }
.nc-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11,15,20,.85) 0%, rgba(11,15,20,.25) 32%, rgba(11,15,20,0) 55%);
}
.nc-hero-caption { position: absolute; left: 40px; right: 40px; bottom: 44px; z-index: 1; color: #fff; }
.nc-hero-caption p { margin: 0 0 8px; font-size: 14px; color: #e2e8f0; }
.nc-hero-caption h2 { color: #fff; font-size: 24px; font-weight: 700; margin: 0; line-height: 1.3; }

/* Quick paths under hero */
.nc-paths {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--nc-line);
}
.nc-path {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 34px 26px 34px 0;
  color: var(--nc-ink);
  text-decoration: none;
}
.nc-path + .nc-path { border-left: 1px solid var(--nc-line); padding-left: 26px; }
.nc-path-text { flex: 1; }
.nc-path strong { display: block; font-size: 17px; color: var(--nc-ink); }
.nc-path small { display: block; font-size: 13px; color: var(--nc-text); margin-top: 3px; }
.nc-path:hover strong { color: var(--nc-blue); }

/* ---------- Solution cards ---------- */
.nc-cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.nc-card { display: block; text-decoration: none; color: var(--nc-text); }
.nc-card-img { aspect-ratio: 395 / 255; overflow: hidden; margin-bottom: 26px; background: var(--nc-gray); }
.nc-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.nc-card:hover .nc-card-img img { transform: scale(1.04); }
.nc-home .nc-card .nc-eyebrow { font-size: 11px; margin-bottom: 8px; }
.nc-card h3 {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 22px;
  font-weight: 700;
  color: var(--nc-ink);
  margin: 0 0 14px;
}
.nc-card:hover h3 { color: var(--nc-blue); }
.nc-card p { font-size: 15px; margin: 0; }

/* ---------- Navy ecosystem ---------- */
.nc-navy { background: var(--nc-navy); color: #cbd5e1; }
.nc-navy .nc-h2 { color: #fff; }
.nc-split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.nc-split-copy p { font-size: 17px; margin-bottom: 28px; max-width: 520px; }
.nc-boxes { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.nc-box {
  display: block;
  padding: 26px 24px;
  border: 1px solid rgba(255,255,255,.22);
  color: #fff;
  text-decoration: none;
  transition: background-color .2s ease, border-color .2s ease;
}
.nc-box:hover { background: rgba(255,255,255,.06); border-color: #7cc1f2; color: #fff; }
.nc-box strong { display: block; font-size: 17px; margin-bottom: 10px; line-height: 1.35; }
.nc-box small { font-size: 13px; color: #cbd5e1; }
.nc-eco-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  margin-top: 64px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.12);
}
.nc-eco {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 26px 14px 22px;
  background: var(--nc-navy);
  text-align: center;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  text-decoration: none;
  transition: background-color .2s ease;
}
.nc-eco:hover { background: #1b3954; color: #fff; }
.nc-eco img { width: 100%; max-width: 150px; aspect-ratio: 4 / 3; object-fit: contain; background: #fff; border-radius: 3px; }

/* ---------- Black "why us" ---------- */
.nc-black { background: var(--nc-black); color: #cbd5e1; }
.nc-black .nc-h2 { color: #fff; }
.nc-roots { display: grid; grid-template-columns: 230px 1fr 310px; gap: 48px; align-items: center; }
.nc-badge {
  aspect-ratio: 1;
  border: 2px solid #7cc1f2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  background: radial-gradient(circle at 30% 20%, rgba(0,116,200,.35), transparent 60%);
}
.nc-badge-year { font-size: 64px; font-weight: 800; letter-spacing: -.03em; line-height: 1; margin: 6px 0; }
.nc-badge-small { font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: #7cc1f2; }
.nc-roots-copy p { font-size: 15px; margin-bottom: 16px; }
.nc-roots-copy .nc-link { margin-top: 8px; }
.nc-roots-img { margin: 0; }
.nc-roots-img img { width: 100%; display: block; }
.nc-roots-img figcaption { font-size: 12px; color: #94a3b8; margin-top: 10px; }

/* ---------- Services list ---------- */
.nc-services { display: grid; grid-template-columns: 5fr 6fr; gap: 56px; align-items: start; }
.nc-services-img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--nc-gray); position: sticky; top: 110px; }
.nc-services-img img { width: 100%; height: 100%; object-fit: cover; }
.nc-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--nc-line); }
.nc-list li { border-bottom: 1px solid var(--nc-line); }
.nc-list a { display: flex; gap: 22px; padding: 24px 0; color: var(--nc-text); text-decoration: none; }
.nc-list a > span:nth-child(2) { flex: 1; }
.nc-list .nc-num { padding-top: 5px; }
.nc-list strong { display: block; color: var(--nc-ink); font-size: 20px; font-weight: 700; margin-bottom: 6px; }
.nc-list small { display: block; font-size: 15px; line-height: 1.6; }
.nc-list a:hover strong { color: var(--nc-blue); }

/* ---------- Pale duo ---------- */
.nc-pale { background: var(--nc-pale); }
.nc-duo { display: grid; grid-template-columns: 1fr 1fr; align-items: center; }
.nc-duo-left { padding-right: 70px; }
.nc-duo-left p { font-size: 17px; max-width: 500px; margin-bottom: 30px; }
.nc-duo-right { padding-left: 40px; border-left: 1px solid #b9cfe2; }
.nc-duo-img { aspect-ratio: 529 / 246; overflow: hidden; margin-bottom: 28px; background: #fff; }
.nc-duo-img img { width: 100%; height: 100%; object-fit: cover; object-position: 75% center; }
.nc-duo-right h3 { font-size: 30px; font-weight: 800; letter-spacing: -.015em; line-height: 1.2; color: var(--nc-ink); margin: 0 0 16px; }
.nc-duo-right p { font-size: 16px; margin-bottom: 18px; }

/* ---------- Products ---------- */
.nc-products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.nc-product { display: flex; flex-direction: column; text-decoration: none; color: var(--nc-text); }
.nc-product-img {
  position: relative;
  height: 215px;
  background: var(--nc-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  padding: 18px;
}
.nc-product-img img { max-height: 100%; max-width: 100%; object-fit: contain; transition: transform .4s ease; }
.nc-product:hover .nc-product-img img { transform: translateY(-4px); }
.nc-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--nc-red);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 5px 9px;
  border-radius: 3px;
}
.nc-product small { font-size: 13px; line-height: 1.5; min-height: 3em; display: block; }
.nc-product h3 { font-size: 19px; font-weight: 700; color: var(--nc-ink); margin: 10px 0 16px; }
.nc-product .nc-link { margin-top: auto; font-size: 14px; }
.nc-product:hover h3 { color: var(--nc-blue); }

/* ---------- Industries ---------- */
.nc-gray { background: var(--nc-gray); }
.nc-gray .nc-h2 { max-width: 22ch; }
.nc-industries { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px 30px; }
.nc-ind { text-decoration: none; color: var(--nc-ink); }
.nc-ind-img { aspect-ratio: 288 / 261; overflow: hidden; margin-bottom: 16px; background: #dde3e8; }
.nc-ind-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.nc-ind:hover .nc-ind-img img { transform: scale(1.05); }
.nc-ind > span { display: flex; justify-content: space-between; font-size: 18px; font-weight: 700; }
.nc-ind:hover > span { color: var(--nc-blue); }

/* ---------- Blue CTA + offices ---------- */
.nc-blue { background: var(--nc-blue); color: #e6f1fa; }
.nc-blue .nc-h2 { color: #fff; max-width: 16ch; }
.nc-home .nc-blue .nc-eyebrow-light { color: #cfe6f7; }
.nc-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; margin-bottom: 64px; }
.nc-cta p { font-size: 16px; margin-bottom: 26px; }
.nc-cta .nc-small { font-size: 13px; margin: 18px 0 0; }
.nc-cta .nc-small a { color: #fff; }
.nc-cta .nc-small a:hover { text-decoration: underline; }
.nc-offices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.nc-office { border: 1px solid rgba(255,255,255,.4); padding: 30px; display: flex; flex-direction: column; }
.nc-office h3 { color: #fff; font-size: 24px; font-weight: 700; margin: 0 0 16px; }
.nc-office p { color: #fff; font-size: 16px; line-height: 1.75; margin: 0 0 6px; }
.nc-office .nc-hours { font-size: 13px; color: #cfe6f7; margin-bottom: 22px; }
.nc-office-foot { margin-top: auto; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.nc-office-foot a { color: #fff; font-weight: 700; font-size: 15px; }
.nc-office-foot a:hover { color: #cfe6f7; }

/* ---------- Responsive ---------- */
@media (max-width: 1199.98px) {
  .nc-roots { grid-template-columns: 180px 1fr 260px; gap: 36px; }
  .nc-badge-year { font-size: 50px; }
  .nc-eco-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 991.98px) {
  .nc-section { padding: 72px 0; }
  .nc-hero { grid-template-columns: 1fr; min-height: 0; }
  .nc-hero-copy { padding: 64px 24px 40px; justify-content: flex-start; }
  .nc-hero-inner { max-width: 720px; margin: 0 auto; }
  .nc-hero-copy .nc-btn-row { margin-bottom: 40px; }
  .nc-hero-media { aspect-ratio: 16 / 10; }
  .nc-hero-caption { left: 24px; right: 24px; bottom: 24px; }
  .nc-paths { grid-template-columns: 1fr; }
  .nc-path, .nc-path + .nc-path { padding: 22px 0; border-left: 0; }
  .nc-path + .nc-path { border-top: 1px solid var(--nc-line); }
  .nc-head { flex-direction: column; align-items: flex-start; gap: 18px; margin-bottom: 34px; }
  .nc-cards-3 { grid-template-columns: 1fr 1fr; }
  .nc-split { grid-template-columns: 1fr; gap: 40px; }
  .nc-roots { grid-template-columns: 1fr; }
  .nc-badge { width: 180px; }
  .nc-roots-img { max-width: 420px; }
  .nc-services { grid-template-columns: 1fr; gap: 36px; }
  .nc-services-img { aspect-ratio: 16 / 8; position: static; }
  .nc-duo { grid-template-columns: 1fr; gap: 48px; }
  .nc-duo-left { padding-right: 0; }
  .nc-duo-right { padding-left: 0; border-left: 0; padding-top: 48px; border-top: 1px solid #b9cfe2; }
  .nc-products { grid-template-columns: 1fr 1fr; gap: 36px 22px; }
  .nc-industries { grid-template-columns: repeat(2, 1fr); gap: 30px 20px; }
  .nc-cta { grid-template-columns: 1fr; gap: 20px; margin-bottom: 44px; }
  .nc-offices { grid-template-columns: 1fr; gap: 18px; }
  .nc-eco-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 575.98px) {
  .nc-section { padding: 56px 0; }
  .nc-hero-lead { font-size: 16px; }
  .nc-cards-3 { grid-template-columns: 1fr; gap: 40px; }
  .nc-boxes { grid-template-columns: 1fr; gap: 12px; }
  .nc-eco-grid { grid-template-columns: repeat(2, 1fr); margin-top: 44px; }
  .nc-products { grid-template-columns: 1fr; }
  .nc-industries { gap: 24px 14px; }
  .nc-ind > span { font-size: 15px; }
  .nc-list strong { font-size: 18px; }
  .nc-office { padding: 24px; }
  .nc-btn { font-size: 14px; padding: 13px 18px; }
}
@media (max-width: 991.98px) {
  .nc-hero-media::after { background: linear-gradient(to top, rgba(11,15,20,.9) 0%, rgba(11,15,20,.45) 45%, rgba(11,15,20,0) 75%); }
  .nc-hero-caption h2 { font-size: 20px; }
}
