/* Home light overrides. Loaded only by index.html.
   Includes index #contact info band (.contact-sec) — not css/pages/contact.css. */

/* Enterprise impact — light default */
body.page-home:not(.dark-theme) .enterprise-impact {
  position: relative;
  background: var(--section-band);
  padding-top: 0;
  padding-bottom: var(--section-pad-y);
  border-top: none;
  border-bottom: none;
}

body.page-home:not(.dark-theme) .impact-item {
  position: relative;
  padding-top: 32px;
  border-top: 1px solid rgba(15, 23, 42, 0.15);
  transition: border-color 0.35s ease;
}

body.page-home:not(.dark-theme) .impact-item:hover {
  border-top-color: var(--cyan-primary);
}

body.page-home:not(.dark-theme) .impact-num {
  font-family: var(--font-display);
  font-size: clamp(64px, 7vw, 96px);
  font-weight: 300;
  color: #0b162c;
  line-height: 1;
  margin-bottom: 16px;
  letter-spacing: -0.04em;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

body.page-home:not(.dark-theme) .impact-item:hover .impact-num {
  transform: translateY(-4px);
}

body.page-home:not(.dark-theme) .impact-num span {
  text-shadow: none;
  transition: color 0.35s ease;
}

body.page-home:not(.dark-theme) .impact-item:hover .impact-num span {
  color: var(--blue-deep);
}

body.page-home:not(.dark-theme) .impact-label {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: #475569;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 500;
}

body.page-home:not(.dark-theme) .impact-grid-full {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

@media (max-width: 1024px) {
  body.page-home:not(.dark-theme) .impact-grid-full {
    grid-template-columns: repeat(2, 1fr);
    gap: 60px 40px;
  }
}

@media (max-width: 600px) {
  body.page-home:not(.dark-theme) .impact-grid-full {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  body.page-home:not(.dark-theme) .impact-item {
    text-align: center;
  }
}

/* Home — section eyebrows (one spec; no glow on light theme) */
body.page-home:not(.dark-theme) .home-section-head .eyebrow,
body.page-home:not(.dark-theme) .who-copy > .eyebrow,
body.page-home:not(.dark-theme) .contact-sec-head .eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  color: var(--cyan-primary) !important;
  text-shadow: none !important;
}

body.page-home:not(.dark-theme) .home-section-head .eyebrow::before,
body.page-home:not(.dark-theme) .who-copy > .eyebrow::before,
body.page-home:not(.dark-theme) .contact-sec-head .eyebrow::before {
  content: "";
  width: 26px;
  height: 1.5px;
  background: var(--cyan-primary) !important;
  box-shadow: none !important;
}

/* Dark-band eyebrows on index (#investors, #news, etc.) */
body.page-home:not(.dark-theme) .block.dark .home-section-head .eyebrow.on-light,
body.page-home:not(.dark-theme) .block.dark .section-head .eyebrow.on-light {
  color: var(--cyan-primary) !important;
  text-shadow: none !important;
}

body.page-home:not(.dark-theme) .block.dark .home-section-head .eyebrow.on-light::before,
body.page-home:not(.dark-theme) .block.dark .section-head .eyebrow.on-light::before {
  background: var(--cyan-primary) !important;
  box-shadow: none !important;
}

body.page-home .home-section-head {
  max-width: 800px;
}

body.page-home:not(.dark-theme) .link-arrow:hover {
  color: var(--blue-deep);
  text-shadow: none;
}

/* Home header chrome → css/site-header.css */

/* Home — sectors showcase (light surfaces) */
body.page-home:not(.dark-theme) .home-markets {
  background: #ffffff;
  border-top: none;
  border-bottom: none;
}

body.page-home:not(.dark-theme) .home-markets .hm-nav {
  border-left-color: rgba(15, 23, 42, 0.08);
}

body.page-home:not(.dark-theme) .home-markets {
  --hm-line: color-mix(in srgb, var(--text-muted) 38%, var(--white));
}

body.page-home:not(.dark-theme) .home-markets .hm-display {
  background:
    linear-gradient(var(--hm-line), var(--hm-line)) right top / calc(100% - var(--hm-chamfer)) 1px no-repeat,
    #e2e8f0;
}

body.page-home:not(.dark-theme) .home-markets .hm-panel-overlay {
  background: linear-gradient(0deg, rgba(11, 22, 44, 0.9) 0%, rgba(11, 22, 44, 0.2) 60%, transparent 100%);
}

@media (max-width: 1024px) {
  body.page-home:not(.dark-theme) .home-markets .hm-nav {
    border-bottom-color: rgba(15, 23, 42, 0.08);
  }
}

@media (max-width: 640px) {
  body.page-home:not(.dark-theme) .home-markets .hm-display {
    background: #e2e8f0;
    border-color: rgba(15, 23, 42, 0.08);
  }
}

/* Who we are */
body.page-home:not(.dark-theme) #who {
  background: #ffffff !important;
  padding: 0 !important;
  border-top: none !important;
  border-bottom: none !important;
}

body.page-home:not(.dark-theme) .who-grid {
  display: grid !important;
  grid-template-columns: 1fr !important;
  align-items: stretch !important;
  gap: 0 !important;
}

body.page-home:not(.dark-theme) #who > .wrap.who-grid:has(.who-media) {
  max-width: 100% !important;
  padding: 0 !important;
}

body.page-home:not(.dark-theme) .who-grid:has(.who-media) {
  grid-template-columns: 1fr 1fr !important;
}

body.page-home:not(.dark-theme) .who-media {
  grid-column: 1 / 2 !important;
  grid-row: 1 !important;
  aspect-ratio: auto !important;
  min-height: 700px !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  border: none !important;
  border-right: 1px solid rgba(15, 23, 42, 0.1) !important;
  margin: 0 !important;
  position: relative !important;
  overflow: hidden !important;
}

body.page-home:not(.dark-theme) .light-theme-video-wrap {
  display: block !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 1 !important;
}

body.page-home:not(.dark-theme) .bg-video {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

body.page-home:not(.dark-theme) .video-overlay {
  position: absolute !important;
  inset: 0 !important;
  background: linear-gradient(135deg, rgba(11, 22, 44, 0.9), rgba(11, 22, 44, 0.4)) !important;
  z-index: 2 !important;
}

body.page-home:not(.dark-theme) .play-btn {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  z-index: 3 !important;
  width: 88px !important;
  height: 88px !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.05) !important;
  backdrop-filter: blur(8px) !important;
  border: 1px solid rgba(255, 255, 255, 0.6) !important;
  color: #fff !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
}

body.page-home:not(.dark-theme) .play-btn svg {
  width: 32px !important;
  margin-left: 4px !important;
}

body.page-home:not(.dark-theme) .play-btn:hover {
  background: #ffffff !important;
  color: var(--cyan-primary) !important;
  transform: translate(-50%, -50%) scale(1.1) !important;
}

body.page-home:not(.dark-theme) .who-copy {
  grid-column: 1 / -1 !important;
  grid-row: 1 !important;
  align-self: stretch !important;
  min-height: 100% !important;
  box-sizing: border-box !important;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  padding-top: clamp(48px, 7vh, 88px) !important;
  padding-bottom: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin: 0 !important;
  transform: none !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: flex-start !important;
  text-align: left !important;
}

body.page-home:not(.dark-theme) .who-grid:has(.who-media) .who-copy {
  grid-column: 2 / 3 !important;
}

body.page-home:not(.dark-theme) .who-copy:hover {
  transform: none !important;
}

body.page-home:not(.dark-theme) .who-copy h2 {
  color: #0b162c !important;
  font-size: clamp(36px, 4vw, 52px) !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em !important;
  text-shadow: none !important;
  margin-bottom: 32px !important;
}

body.page-home:not(.dark-theme) .who-copy p {
  color: #475569 !important;
  font-size: 16.5px !important;
  line-height: 1.8 !important;
  margin-bottom: 24px !important;
  font-weight: 400 !important;
}

body.page-home:not(.dark-theme) .who-copy__groups {
  display: grid;
  gap: 20px 40px;
  margin-bottom: 24px !important;
  width: 100%;
  max-width: 56rem;
}

@media (min-width: 720px) {
  body.page-home:not(.dark-theme) .who-copy__groups {
    grid-template-columns: 1fr 1fr;
  }
}

body.page-home:not(.dark-theme) .who-copy__group-title {
  margin-bottom: 8px !important;
  color: #0b162c !important;
  font-weight: 600 !important;
}

body.page-home:not(.dark-theme) .who-copy ul {
  color: #475569 !important;
  font-size: 16.5px !important;
  line-height: 1.8 !important;
  margin: 0 !important;
  padding-left: 1.15em !important;
  list-style: disc !important;
}

body.page-home:not(.dark-theme) .who-copy li + li {
  margin-top: 6px !important;
}

body.page-home:not(.dark-theme) .who-copy .link-arrow {
  display: inline-flex !important;
  align-items: center !important;
  color: var(--cyan-primary) !important;
  font-weight: 700 !important;
  font-size: 15px !important;
  letter-spacing: 0.1em !important;
  margin-top: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  border-top: none !important;
  border-bottom: none !important;
  width: auto !important;
  max-width: 100% !important;
  transition: color 0.3s ease !important;
}

body.page-home:not(.dark-theme) .who-copy .link-arrow:hover {
  color: #0b162c !important;
}

@media (max-width: 960px) {
  body.page-home:not(.dark-theme) .who-grid,
  body.page-home:not(.dark-theme) .who-grid:has(.who-media) {
    grid-template-columns: 1fr !important;
  }

  body.page-home:not(.dark-theme) .who-media {
    grid-column: 1 / 2 !important;
    min-height: 450px !important;
    border-right: none !important;
    border-bottom: 1px solid rgba(15, 23, 42, 0.1) !important;
  }

  body.page-home:not(.dark-theme) .who-copy {
    grid-column: 1 / -1 !important;
    grid-row: 1 !important;
    min-height: 0 !important;
    justify-content: flex-start !important;
    padding-top: 60px !important;
    padding-bottom: 0 !important;
  }

  body.page-home:not(.dark-theme) .who-grid:has(.who-media) .who-copy {
    padding-left: 24px !important;
    padding-right: 24px !important;
  }

  body.page-home:not(.dark-theme) .who-grid:has(.who-media) .who-copy {
    grid-row: 2 !important;
  }
}

/* Index #contact — info band (dark cinematic on light :root tokens) */
body.page-home .contact-sec {
  padding: var(--section-pad-y) 0;
  position: relative;
  z-index: 1;
  background: transparent !important;
  border-top: 1px solid var(--border-fine);
  overflow: hidden;
}

body.page-home .contact-sec > .wrap {
  padding-left: 36px;
  padding-right: 36px;
}

body.page-home .contact-sec::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: url("../../assets/images/backgrounds/home-contact-band.jpeg");
  background-size: cover;
  background-position: 15% center;
  background-attachment: fixed;
  filter: brightness(0.35) contrast(1.1);
}

body.page-home .contact-sec::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    180deg,
    var(--footer-bg) 0%,
    rgba(5, 10, 20, 0.2) 20%,
    rgba(5, 10, 20, 0.2) 80%,
    var(--footer-bg) 100%
  );
  pointer-events: none;
}

body.page-home .contact-shell.contact-shell--info {
  max-width: min(700px, 52vw);
  margin: 0 0 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  padding: 32px clamp(22px, 2.5vw, 36px) 28px;
  background: rgba(14, 22, 38, 0.35);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
  position: relative;
  z-index: 2;
}

body.page-home .contact-sec-head {
  max-width: none;
}

body.page-home .contact-sec-head h2 {
  font-size: clamp(22px, 2.2vw, 28px);
  color: #fff;
  margin: 10px 0 12px;
  line-height: 1.15;
}

body.page-home .contact-sec-lead {
  font-size: 13.5px;
  line-height: 1.6;
  color: #cbd5e1;
  margin: 0;
}

body.page-home .contact-info-grid {
  display: grid;
  gap: 12px;
  margin-top: 22px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body.page-home .contact-info-card {
  background: rgba(2, 4, 7, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 4px 16px 14px;
  min-height: 0;
}

body.page-home .contact-info-card--offices {
  grid-column: 1 / -1;
}

body.page-home .contact-info-card .cinfo-item {
  display: flex;
  gap: 12px;
  padding-top: 16px;
  align-items: flex-start;
  border-top: none;
}

body.page-home .contact-info-card p {
  word-break: break-word;
}

body.page-home .contact-info-card .cinfo-item p a {
  font-size: 15px;
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

body.page-home .contact-info-card .cinfo-item p a:hover {
  color: var(--cyan-primary);
}

body.page-home .office-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 20px;
}

body.page-home .contact-info-card--offices .office-block + .office-block {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

body.page-home .contact-sec-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 20px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

body.page-home .cinfo-item .ic {
  flex: none;
  width: 24px;
  height: 24px;
  background: transparent;
  border: none;
  color: var(--cyan-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  text-shadow: 0 0 10px color-mix(in srgb, var(--cyan-primary) 30%, transparent);
}

body.page-home .cinfo-item h5 {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--footer-muted);
  margin-bottom: 2px;
}

body.page-home .cinfo-item p {
  font-size: 13px;
  margin: 0;
  color: #e2e8f0;
}

body.page-home .cinfo-offices h5 {
  margin-bottom: 6px;
}

body.page-home .office-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cyan-primary);
  margin-bottom: 4px;
}

body.page-home .cinfo-offices .office-block p {
  font-size: 13.5px;
  line-height: 1.55;
  color: rgba(243, 246, 249, 0.92);
}

body.page-home:not(.dark-theme) .contact-sec {
  border-top-color: rgba(255, 255, 255, 0.08);
}

body.page-home:not(.dark-theme) .contact-sec .link-arrow {
  color: var(--cyan-primary);
}

@media (max-width: 1024px) {
  body.page-home .contact-shell.contact-shell--info {
    max-width: min(680px, 58vw);
    margin-left: auto;
    margin-right: 0;
  }
}

@media (max-width: 860px) {
  body.page-home .contact-shell.contact-shell--info {
    max-width: min(600px, 94%);
    margin-left: auto;
    margin-right: auto;
  }

  body.page-home .contact-info-grid {
    grid-template-columns: 1fr;
  }

  body.page-home .contact-info-card--offices {
    grid-column: auto;
  }

  body.page-home .office-columns {
    grid-template-columns: 1fr;
  }

  body.page-home .contact-info-card--offices .office-block + .office-block {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }
}

@media (max-width: 640px) {
  body.page-home .contact-sec > .wrap {
    padding-left: 20px;
    padding-right: 20px;
  }
}
