/* ICG chrome for immerse pages: main-site header, footer, font and palette.
   Classes are icg- prefixed so they never collide with the template's main.css. */

@font-face {
  font-family: 'Mulish';
  src: url('font/work.ttf') format('truetype');
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --icg-ink: #203B5C;
  --icg-navy-light: #2B527A;
  --icg-pale: #DCE6EF;
  --icg-accent: #B9CDDF;
  --icg-slate: #52677D;
  --icg-line: rgba(32, 59, 92, .16);
  --icg-line-white: rgba(255, 255, 255, .18);
}

html { scroll-behavior: smooth; scroll-padding-top: 100px; }

body,
h1, h2, h3, h4, h5, h6,
input, button, select, textarea {
  font-family: 'Mulish', system-ui, -apple-system, sans-serif;
}

/* ============ Header (matches .site-header on the main site) ============ */
.icg-header { position: sticky; top: 0; z-index: 100; background: rgba(244, 246, 248, .96); backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px); }
.icg-wrap { width: 100%; max-width: 1440px; margin-inline: auto; padding-inline: clamp(24px, 5vw, 80px); }
.icg-nav-bar { display: flex; align-items: center; gap: 32px; height: 88px; }
.icg-brand { margin-right: auto; flex-shrink: 0; display: block; }
.icg-brand img { display: block; width: 149px; height: auto; }
.icg-main-nav { display: flex; align-items: center; gap: 3px; padding: 5px; background: rgba(255, 255, 255, .5); border: 1px solid rgba(32, 59, 92, .09); border-radius: 9px; box-shadow: 0 8px 20px -18px var(--icg-ink); }
.icg-nav-link { display: block; font-weight: 800; letter-spacing: .15em; font-size: 9px; text-transform: uppercase; color: var(--icg-ink); text-decoration: none; padding: 13px 20px; border-radius: 5px; position: relative; transition: background .2s; }
.icg-nav-link:hover { background: #fff; color: var(--icg-ink); }
.icg-nav-link.active { background: #fff; box-shadow: 0 3px 15px -10px var(--icg-ink); }
.icg-nav-link.active::after { content: ''; position: absolute; bottom: 4px; left: 22px; right: 22px; height: 1px; background: var(--icg-ink); }
.icg-nav-tools { display: flex; align-items: center; gap: 18px; }
.icg-button { display: inline-flex; align-items: center; justify-content: center; gap: 26px; min-height: 54px; padding: 18px 27px; font-size: 9px; font-weight: 800; letter-spacing: .18em; line-height: 1.6; text-transform: uppercase; border: 1px solid transparent; border-radius: 6px; color: #fff; background: var(--icg-ink); text-decoration: none; transition: background .25s, color .25s; }
.icg-button:hover { background: var(--icg-navy-light); color: #fff; }
.icg-button svg { width: 18px; height: 18px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .35s cubic-bezier(.19, 1, .22, 1); }
.icg-button:hover svg { transform: translateX(5px); }
.icg-menu-toggle, .icg-mobile-contact { display: none; }
.icg-progress { height: 1px; background: var(--icg-line); position: absolute; bottom: 0; left: 0; right: 0; }
.icg-progress span { display: block; height: 1px; background: var(--icg-navy-light); transform: scaleX(0); transform-origin: left; }

/* ============ Footer (matches .site-footer on the main site) ============ */
.icg-footer { background: #192f49; color: #fff; font-size: 15px; line-height: 1.75; }
.icg-footer a { color: inherit; text-decoration: none; }
.icg-footer-top { display: grid; grid-template-columns: 1.2fr .8fr 1fr; gap: 80px; padding-block: 65px 55px; border-bottom: 1px solid var(--icg-line-white); }
.icg-footer-brand img { display: block; width: 155px; height: auto; }
.icg-footer-brand p { font-size: 20px; font-weight: 300; margin: 20px 0 0; color: #fff; }
.icg-footer-brand > span { font-size: 10px; color: #aabed0; display: block; margin-top: 8px; }
.icg-eyebrow { font-size: 8px; font-weight: 800; line-height: 1.6; letter-spacing: .23em; text-transform: uppercase; color: #b8cbdc; display: block; margin-bottom: 23px; }
.icg-footer-top nav > a { display: block; font-size: 12px; color: #d8e2eb; margin-top: 9px; transition: color .2s; }
.icg-footer-top nav > a:hover { color: #fff; text-decoration: underline; text-underline-offset: 5px; }
.icg-footer-connect > a { display: block; position: relative; font-size: 30px; font-weight: 300; line-height: 1.35; padding-right: 40px; }
.icg-footer-connect svg { position: absolute; top: 5px; right: 0; width: 28px; height: 28px; color: var(--icg-accent); fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s; }
.icg-footer-connect > a:hover svg { transform: translate(3px, -3px); }
.icg-footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 75px; font-size: 8px; letter-spacing: .05em; color: #aabed0; }
.icg-footer-policies { display: flex; }
.icg-footer-policies a:hover, .icg-footer-bottom > a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.icg-footer-bottom > a { display: flex; gap: 18px; text-transform: uppercase; letter-spacing: .15em; }
.icg-footer-bottom > a > span { font-size: 16px; color: var(--icg-accent); }

/* ============ Brand recolor of the page's own buttons ============ */
.tghvh-btns .primary-button { background-color: var(--icg-ink); border-color: var(--icg-ink); color: #fff; }
.tghvh-btns .primary-button:hover { background-color: var(--icg-navy-light); }
.tghvh-btns .primary-button div { color: #fff; }
.tghvh-btns .secondary-button { border-color: rgba(185, 205, 223, .55); color: #fff; background-color: transparent; }
.tghvh-btns .secondary-button:hover { background-color: rgba(185, 205, 223, .14); }
.tghvh-btns .secondary-button div { color: #fff; }

/* ============ Responsive header/footer ============ */
@media (max-width: 1100px) {
  .icg-nav-bar { gap: 20px; }
  .icg-nav-link { padding-inline: 14px; }
  .icg-nav-cta { padding-inline: 20px; }
  .icg-footer-top { gap: 50px; }
}
@media (max-width: 850px) {
  html { scroll-padding-top: 90px; }
  .icg-nav-bar { height: 80px; }
  .icg-brand img { width: 136px; }
  .icg-nav-cta { min-height: 46px; font-size: 8px; }
  .icg-menu-toggle { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; width: 44px; height: 44px; background: transparent; border: 0; cursor: pointer; }
  .icg-menu-toggle > span { height: 1px; width: 23px; background: var(--icg-ink); transition: transform .25s; }
  .icg-menu-toggle[aria-expanded=true] > span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .icg-menu-toggle[aria-expanded=true] > span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .icg-header { position: sticky; }
  .icg-main-nav { position: absolute; top: 100%; left: 0; right: 0; display: flex; flex-direction: column; align-items: stretch; gap: 0; border: 0; border-top: 1px solid var(--icg-line); border-bottom: 1px solid var(--icg-line); border-radius: 0; padding: 16px 5vw 23px; background: #F4F7FA; box-shadow: 0 25px 30px -30px var(--icg-ink); }
  .icg-main-nav:not(.is-open) { display: none; }
  .icg-nav-link { padding: 15px; font-size: 10px; border-radius: 0; }
  .icg-nav-link.active { box-shadow: none; background: #fff; }
  .icg-nav-link.active::after { display: none; }
  .icg-mobile-contact { display: block; }
  .icg-footer-top { grid-template-columns: 1fr 1fr; gap: 45px; }
  .icg-footer-connect { grid-column: 1 / -1; }
  .icg-footer-connect > a { font-size: 26px; }
}
@media (max-width: 600px) {
  .icg-nav-bar { height: 76px; gap: 12px; }
  .icg-brand img { width: 124px; }
  .icg-nav-tools { gap: 6px; }
  .icg-nav-cta { font-size: 7px; letter-spacing: .14em; min-height: 40px; padding: 11px 13px; gap: 13px; }
  .icg-nav-cta svg { width: 14px; height: 14px; }
  .icg-menu-toggle { width: 35px; }
  .icg-footer-top { padding-block: 47px; grid-template-columns: 1fr; gap: 36px; }
  .icg-footer-brand img { width: 140px; }
  .icg-footer-brand p { margin-top: 16px; }
  .icg-eyebrow { margin-bottom: 16px; }
  .icg-footer-connect > a { font-size: 29px; max-width: 320px; }
  .icg-footer-bottom { flex-wrap: wrap; padding-block: 22px; gap: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* ============================================================
   Typography parity with the main site (assets/icg.css).
   These mirror the override layer icg.css applies on top of its
   base rules — keep them in sync if the home page changes.
   ============================================================ */

.icg-nav-link { font-size: 11.5px; letter-spacing: .09em; }
.icg-button { font-size: 12px; letter-spacing: .1em; }
.icg-nav-cta { font-size: 11.5px; letter-spacing: .1em; }

@media (max-width: 600px) {
  .icg-nav-cta { font-size: 9.75px; }
}

/* Room for the Insights and Events links on compact desktop headers. */
@media (min-width: 851px) and (max-width: 1250px) {
  .icg-nav-bar { gap: 12px; padding-inline: clamp(14px, 2vw, 28px); }
  .icg-nav-bar .icg-brand img { width: clamp(100px, 10vw, 128px); }
  .icg-main-nav { gap: 0; }
  .icg-nav-link { padding-inline: clamp(7px, .95vw, 13px); font-size: .64rem; }
  .icg-nav-link.active::after { left: 8px; right: 8px; }
  .icg-nav-cta { padding-inline: 15px; gap: 10px; font-size: .66rem; }
}

.icg-footer-bottom > span {
  display: block;
  font-size: .875rem;
  line-height: 1.45;
  letter-spacing: normal;
  color: #d5e1eb;
}

@media (max-width: 850px) {
  .icg-footer-connect > a { min-width: 50%; }
  .icg-footer-bottom {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: .3rem 1rem;
    padding-block: 1.25rem;
  }
  .icg-footer-bottom > span,
  .icg-footer-bottom > span:nth-child(2) {
    display: block;
    grid-column: 1 / -1;
  }
  .icg-footer-bottom nav,
  .icg-footer-bottom > a { margin-top: .45rem; }
}

@media (max-width: 600px) {
  .icg-footer-top nav > a { font-size: 12px; }
  .icg-footer-bottom { font-size: 8px; }
  .icg-footer-bottom > a { margin-left: auto; font-size: 7px; }
  .icg-footer-bottom > a > span { font-size: 13px; }
}

.icg-footer-policies {
  flex-wrap: wrap;
  column-gap: 1.1rem;
  color: #d8e2eb;
  font-size: .8rem;
  letter-spacing: normal;
}
.icg-footer-policies a { padding-block: .35rem; }
.icg-footer-policies a:is(:hover, :focus-visible, [aria-current="page"]) {
  text-decoration: underline;
  text-underline-offset: .22em;
}
