@property --ifh-angle { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
.ifh-wrap {
  --ifh-ink: #16233f; --ifh-ink-soft: #46546f; --ifh-accent: #2f6fd0; --ifh-accent-lt: #8fb6ee; --ifh-teal: #4fa39b;
  position: fixed; top: 14px; left: 0; right: 0; z-index: 2147483000;
  padding: 0 16px; pointer-events: none; margin: 0; width: auto; max-width: none;
  font-family: 'Public Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  transition: transform .5s cubic-bezier(.3,.7,.2,1);
}
body.admin-bar .ifh-wrap { top: 46px; }
@media (min-width: 783px) { body.admin-bar .ifh-wrap { top: 46px; } }
.ifh-wrap *, .ifh-wrap *::before, .ifh-wrap *::after { box-sizing: border-box; }
.ifh-wrap.is-hidden { transform: translateY(-160%); }
.ifh-wrap .ifh-bar {
  position: relative; isolation: isolate; pointer-events: auto; max-width: 1260px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 10px 12px 10px 22px; border-radius: 22px;
  background: linear-gradient(180deg, rgba(255,255,255,.84), rgba(243,246,251,.76));
  -webkit-backdrop-filter: blur(18px) saturate(150%); backdrop-filter: blur(18px) saturate(150%);
  box-shadow: 0 1px 0 rgba(255,255,255,.95) inset, 0 -1px 0 rgba(22,35,63,.06) inset, 0 2px 4px rgba(22,35,63,.05), 0 14px 30px -10px rgba(22,35,63,.22), 0 34px 60px -28px rgba(22,35,63,.28);
  transition: padding .35s ease;
}
.ifh-wrap.is-scrolled .ifh-bar { padding-top: 6px; padding-bottom: 6px; }
.ifh-wrap .ifh-bar::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; z-index: -1; pointer-events: none;
  background: conic-gradient(from var(--ifh-angle), rgba(22,35,63,.14) 0 22%, var(--ifh-teal) 34%, var(--ifh-accent) 46%, var(--ifh-accent-lt) 52%, rgba(22,35,63,.14) 66% 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  animation: ifh-spin 10s linear infinite;
}
@keyframes ifh-spin { to { --ifh-angle: 360deg; } }
.ifh-wrap .ifh-progress { position: absolute; left: 24px; right: 24px; bottom: 0; height: 2px; border-radius: 2px; overflow: hidden; background: rgba(22,35,63,.06); pointer-events: none; }
.ifh-wrap .ifh-progress i { display: block; height: 100%; width: 100%; transform-origin: left; transform: scaleX(var(--p, 0)); background: linear-gradient(90deg, var(--ifh-teal), var(--ifh-accent)); }
.ifh-wrap a.ifh-logo { display: flex; align-items: center; flex: 0 0 auto; padding: 2px 4px; background: none; box-shadow: none; border: 0; }
.ifh-wrap .ifh-logo img { height: 46px; width: auto; max-width: none; display: block; margin: 0; border: 0; border-radius: 0; box-shadow: none; transition: height .35s ease, transform .35s ease; }
.ifh-wrap.is-scrolled .ifh-logo img { height: 38px; }
.ifh-wrap .ifh-logo:hover img { transform: translateY(-1px); }
.ifh-wrap .ifh-nav { display: flex; align-items: center; gap: 10px; }
.ifh-wrap .ifh-track { position: relative; padding: 4px; border-radius: 16px; background: rgba(22,35,63,.045); box-shadow: 0 0 0 1px rgba(22,35,63,.06) inset; }
.ifh-wrap ul.ifh-list { position: relative; z-index: 1; display: flex; align-items: center; gap: 0; margin: 0; padding: 0; list-style: none; }
.ifh-wrap ul.ifh-list li { margin: 0; padding: 0; list-style: none; }
.ifh-wrap ul.ifh-list li a {
  display: block; padding: 10px 14px; border-radius: 12px; text-decoration: none; white-space: nowrap; background: none; border: 0; box-shadow: none;
  font-family: 'Source Serif 4', Georgia, 'Times New Roman', serif; font-size: 15.5px; font-weight: 500; line-height: 1.4; letter-spacing: .005em;
  color: var(--ifh-ink-soft); transition: color .2s ease;
}
.ifh-wrap ul.ifh-list li a:hover, .ifh-wrap ul.ifh-list li a:focus-visible, .ifh-wrap ul.ifh-list li a.is-active { color: var(--ifh-ink); background: none; }
.ifh-wrap ul.ifh-list li a.is-active { font-weight: 600; }
.ifh-wrap .ifh-pill {
  position: absolute; z-index: 0; top: 4px; left: 0; height: calc(100% - 8px); width: 0; border-radius: 12px; opacity: 0; pointer-events: none;
  background: linear-gradient(180deg, #ffffff, #edf2f9); box-shadow: 0 1px 0 #fff inset, 0 0 0 1px rgba(22,35,63,.08), 0 6px 12px -6px rgba(22,35,63,.25);
  transition: transform .32s cubic-bezier(.4,0,.2,1), width .32s cubic-bezier(.4,0,.2,1), opacity .2s ease;
}
.ifh-wrap .ifh-pill::after { content: ''; position: absolute; left: 24%; right: 24%; bottom: 4px; height: 2px; border-radius: 2px; background: var(--ifh-accent); }
.ifh-wrap a.ifh-cta {
  display: inline-block; padding: 12px 22px; border-radius: 14px; text-decoration: none; white-space: nowrap; border: 0;
  font-family: 'Public Sans', system-ui, sans-serif; font-size: 14.5px; font-weight: 600; line-height: 1.3; letter-spacing: .01em; color: #ffffff;
  background: linear-gradient(180deg, #243a66, #16233f);
  box-shadow: 0 1px 0 rgba(255,255,255,.18) inset, 0 0 0 1px rgba(143,182,238,.55), 0 8px 16px -8px rgba(22,35,63,.6);
  transition: transform .25s ease, box-shadow .25s ease, color .25s ease, background .25s ease;
}
.ifh-wrap a.ifh-cta:hover { transform: translateY(-2px); color: #ffffff; background: linear-gradient(180deg, #4d85dd, #2f64c0); box-shadow: 0 1px 0 rgba(255,255,255,.35) inset, 0 0 0 1px rgba(143,182,238,.8), 0 12px 20px -8px rgba(22,35,63,.5); }
.ifh-wrap a.ifh-cta.is-active { box-shadow: 0 1px 0 rgba(255,255,255,.18) inset, 0 0 0 2px var(--ifh-accent), 0 8px 16px -8px rgba(22,35,63,.6); }
.ifh-wrap a:focus-visible, .ifh-wrap button:focus-visible { outline: 2px solid var(--ifh-teal); outline-offset: 2px; }
.ifh-wrap button.ifh-burger {
  display: none; position: relative; width: 48px; height: 48px; min-width: 48px; padding: 0; margin: 0; border: 0; border-radius: 14px; cursor: pointer; flex: 0 0 auto;
  background: linear-gradient(180deg, #fff, #eef2f8); box-shadow: 0 1px 0 #fff inset, 0 0 0 1px rgba(22,35,63,.1), 0 4px 8px -4px rgba(22,35,63,.25);
}
.ifh-wrap button.ifh-burger:hover, .ifh-wrap button.ifh-burger:focus { background: linear-gradient(180deg, #fff, #e4ebf5); }
.ifh-wrap .ifh-burger span { position: absolute; left: 14px; right: 14px; height: 2px; border-radius: 2px; background: var(--ifh-ink); transition: transform .4s cubic-bezier(.6,0,.2,1), opacity .2s; }
.ifh-wrap .ifh-burger span:nth-child(1) { top: 17px; }
.ifh-wrap .ifh-burger span:nth-child(2) { top: 23px; }
.ifh-wrap .ifh-burger span:nth-child(3) { top: 29px; }
.ifh-wrap .ifh-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.ifh-wrap .ifh-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.ifh-wrap .ifh-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.ifh-wrap .ifh-panel {
  display: none; position: relative; isolation: isolate; pointer-events: none; max-width: 1260px; margin: 10px auto 0; padding: 12px; border-radius: 22px;
  background: linear-gradient(180deg, rgba(255,255,255,.95), rgba(244,247,252,.93));
  -webkit-backdrop-filter: blur(20px) saturate(150%); backdrop-filter: blur(20px) saturate(150%);
  box-shadow: 0 1px 0 #fff inset, 0 0 0 1px rgba(22,35,63,.08), 0 30px 50px -20px rgba(22,35,63,.4);
  transform-origin: top center; transform: translateY(-10px) scale(.985); opacity: 0; visibility: hidden;
  transition: transform .45s cubic-bezier(.3,.8,.2,1), opacity .3s ease, visibility 0s .45s;
  max-height: calc(100vh - 110px); max-height: calc(100dvh - 110px); overflow-y: auto;
}
.ifh-wrap .ifh-panel ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; grid-template-columns: 1fr; }
.ifh-wrap .ifh-panel li { margin: 0; padding: 0; list-style: none; }
.ifh-wrap .ifh-panel a.ifh-item {
  display: flex; align-items: center; justify-content: space-between; padding: 15px 18px; border-radius: 14px; text-decoration: none; border: 0;
  font-family: 'Source Serif 4', Georgia, serif; font-size: 17px; font-weight: 500; line-height: 1.4; color: var(--ifh-ink); background: rgba(22,35,63,.035);
  opacity: 0; transform: translateY(10px); transition: opacity .4s ease, transform .45s cubic-bezier(.3,.8,.2,1), background .2s;
  transition-delay: calc(var(--i) * 35ms + 80ms);
}
.ifh-wrap .ifh-item svg { width: 18px; height: 18px; flex: 0 0 auto; stroke: var(--ifh-accent); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s ease; }
.ifh-wrap .ifh-panel a.ifh-item:hover { background: rgba(22,35,63,.08); color: var(--ifh-ink); }
.ifh-wrap .ifh-item:hover svg { transform: translateX(4px); }
.ifh-wrap .ifh-panel a.ifh-item.is-active { background: #fff; font-weight: 600; box-shadow: 0 0 0 1px rgba(47,111,208,.4), 0 6px 12px -8px rgba(22,35,63,.3); }
.ifh-wrap .ifh-panel a.ifh-item.is-cta { font-family: 'Public Sans', sans-serif; font-size: 16px; font-weight: 600; color: #ffffff; background: linear-gradient(180deg, #243a66, #16233f); box-shadow: 0 0 0 1px rgba(143,182,238,.55); }
.ifh-wrap .ifh-item.is-cta svg { stroke: var(--ifh-accent-lt); }
.ifh-wrap.is-open .ifh-panel { transform: none; opacity: 1; visibility: visible; pointer-events: auto; transition-delay: 0s; }
.ifh-wrap.is-open .ifh-panel a.ifh-item { opacity: 1; transform: none; }
@media (max-width: 1200px) {
  .ifh-wrap .ifh-nav { display: none; }
  .ifh-wrap button.ifh-burger { display: block; }
  .ifh-wrap .ifh-panel { display: block; }
  .ifh-wrap .ifh-bar { padding: 8px 10px 8px 18px; }
}
@media (min-width: 620px) and (max-width: 1200px) {
  .ifh-wrap .ifh-panel ul { grid-template-columns: 1fr 1fr; }
  .ifh-wrap .ifh-panel li:last-child { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .ifh-wrap { top: 10px; padding: 0 10px; }
  .ifh-wrap .ifh-logo img { height: 40px; }
  .ifh-wrap.is-scrolled .ifh-logo img { height: 34px; }
}
@media (prefers-reduced-motion: reduce) {
  .ifh-wrap *, .ifh-wrap *::before, .ifh-wrap *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
}
