/* ============================================================
   EBRPHA — Shared site navigation (matches the home page nav)
   Fully self-contained + namespaced under .hnav-root so it never
   collides with the interior pages' ds-components.css nav rules.
   ============================================================ */
@font-face { font-family:"InterNav"; font-weight:400; font-display:swap; src:url("../reference/fonts/inter-400.woff2") format("woff2"); }
@font-face { font-family:"InterNav"; font-weight:500; font-display:swap; src:url("../reference/fonts/inter-500.woff2") format("woff2"); }
@font-face { font-family:"InterNav"; font-weight:600; font-display:swap; src:url("../reference/fonts/inter-600.woff2") format("woff2"); }
@font-face { font-family:"InterNav"; font-weight:700; font-display:swap; src:url("../reference/fonts/inter-700.woff2") format("woff2"); }
@font-face { font-family:"PoppinsNav"; font-weight:700; font-display:swap; src:url("../reference/fonts/poppins-700.woff2") format("woff2"); }

.hnav-root {
  --ink: #0a0a0a;
  --ink-2: #3d3d3d;
  --muted: #6b6b6b;
  --line: #e3e3e3;
  --line-2: #cfcfcf;
  --bg-2: #f4f4f4;
  --gut: clamp(1.25rem, 5vw, 4rem);
  --maxw: 1400px;
  font-family:"InterNav", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
.hnav-root *, .hnav-root *::before, .hnav-root *::after { box-sizing: border-box; }
.hnav-root a { color: inherit; text-decoration: none; }
.hnav-root button { font: inherit; cursor: pointer; }
.hnav-root ul { list-style: none; padding: 0; margin: 0; }
.hnav-root svg { display: block; }
.hnav-root h2, .hnav-root h3 { line-height: 1.1; font-weight: 700; letter-spacing: -0.01em; margin: 0; }
.hnav-root p { margin: 0; }
.hnav-root :focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

.hnav-root .wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gut); }

/* buttons */
.hnav-root .pill {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--ink); color: #fff;
  border: 1px solid var(--ink); border-radius: 0;
  padding: .8rem 1.6rem; font-weight: 700; font-size: .8rem;
  text-transform: uppercase; letter-spacing: .08em;
  transition: background .15s, color .15s;
}
.hnav-root .pill:hover { background: #fff; color: var(--ink); }

/* ============ Announcement marquee ============ */
.hnav-root .announce { position: relative; background: var(--bg-2); border-bottom: 1px solid var(--line-2); font-size: .95rem; overflow: hidden; }
.hnav-root .announce__viewport { overflow: hidden; padding-right: 3rem; }
.hnav-root .announce__track { display: flex; width: max-content; animation: hnav-marquee 34s linear infinite; }
.hnav-root .announce:hover .announce__track { animation-play-state: paused; }
.hnav-root .announce__group { display: flex; flex: none; }
.hnav-root .announce__item { display: inline-flex; align-items: center; gap: .55rem; white-space: nowrap; padding: 0 2.5rem; min-height: 3.5rem; }
.hnav-root .announce strong { font-weight: 700; }
.hnav-root .announce a { text-decoration: underline; }
.hnav-root .announce a:hover { color: var(--muted); }
.hnav-root .announce__x {
  position: absolute; right: 0; top: 0; height: 100%;
  background: linear-gradient(to right, transparent, var(--bg-2) 30%);
  border: none; width: 3.25rem; display: grid; place-items: center;
  color: var(--ink); padding-left: 1.25rem;
}
.hnav-root .announce__x:hover { color: var(--muted); }
.hnav-root .announce[hidden] { display: none; }
@keyframes hnav-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .hnav-root .announce__track { animation: none; } }

/* ============ Navbar ============ */
.hnav-root .nav { position: sticky; top: 0; z-index: 900; display: block; background: #fff; border-bottom: 1px solid var(--line-2); padding-inline: 0; min-height: 0; }
.hnav-root .nav__in { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 4.75rem; }
.hnav-root .logo { font-family:"PoppinsNav", sans-serif; font-weight: 700; font-size: 1.6rem; letter-spacing: -0.02em; border-bottom: 3px solid var(--ink); line-height: .95; padding-bottom: 1px; }
.hnav-root .nav__links { display: flex; align-items: center; gap: .25rem; }
.hnav-root .nav__dd { position: static; }
.hnav-root .nav__dd-toggle {
  display: inline-flex; align-items: center; gap: .35rem;
  background: transparent; border: none; color: var(--ink);
  padding: .65rem .9rem; font-size: 1.05rem; border-radius: 0;
}
.hnav-root .nav__dd-toggle:hover { background: var(--bg-2); }
.hnav-root .nav__dd-toggle .caret { width: 1.05em; height: 1.05em; transition: transform .2s; }
.hnav-root .nav__dd[data-open="true"] .nav__dd-toggle .caret { transform: rotate(180deg); }
.hnav-root .nav__right { display: flex; align-items: center; gap: 1rem; }
.hnav-root .icon-btn { background: transparent; border: none; width: 2.5rem; height: 2.5rem; display: grid; place-items: center; border-radius: 0; color: var(--ink); }
.hnav-root .icon-btn:hover { background: var(--bg-2); }
.hnav-root .icon-btn svg { width: 1.5rem; height: 1.5rem; }

/* mega panel */
.hnav-root .nav__panel {
  position: absolute; top: calc(100% + 1px); left: 0; right: 0;
  transform: translateY(-8px);
  background: #fff; border: 1px solid var(--line-2);
  box-shadow: 0 30px 60px -28px rgba(0,0,0,.35);
  padding: 2.5rem; display: block;
  opacity: 0; visibility: hidden; transition: opacity .16s, transform .16s, visibility .16s;
  z-index: 950;
}
.hnav-root .nav__dd[data-open="true"] .nav__panel { opacity: 1; visibility: visible; transform: translateY(0); }
.hnav-root .mega { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 3rem; }
.hnav-root .mega__intro { max-width: 24rem; }
.hnav-root .mega__intro h2 { font-size: 2rem; margin-bottom: .9rem; }
.hnav-root .mega__intro p { color: var(--ink-2); margin-bottom: 1.5rem; }
.hnav-root .mega__col h3 { font-size: 1.15rem; margin-bottom: 1rem; }
.hnav-root .mega__list { border-left: 1px solid var(--line-2); }
.hnav-root .mega__list li a { display: block; padding: .55rem 0 .55rem 1.1rem; font-size: 1.05rem; color: var(--ink-2); border-left: 2px solid transparent; margin-left: -1px; transition: color .12s, border-color .12s, padding .12s; }
.hnav-root .mega__list li a:hover { color: var(--ink); border-left-color: var(--ink); padding-left: 1.35rem; }

/* hamburger */
.hnav-root .burger { display: none; flex-direction: column; gap: 5px; width: 2.75rem; height: 2.75rem; align-items: center; justify-content: center; background: transparent; border: none; }
.hnav-root .burger span { width: 1.5rem; height: 2px; background: var(--ink); transition: transform .25s, opacity .2s; }
.hnav-root .nav[data-mobile-open="true"] .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hnav-root .nav[data-mobile-open="true"] .burger span:nth-child(2) { opacity: 0; }
.hnav-root .nav[data-mobile-open="true"] .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============ Responsive ============ */
@media (max-width: 980px) {
  .hnav-root .burger { display: flex; }
  .hnav-root .nav__right .pill { display: none; }
  .hnav-root .nav__links {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line-2);
    padding: .5rem var(--gut) 1.5rem;
    max-height: calc(100dvh - 4.75rem); overflow-y: auto;
    transform: translateY(-120%); transition: transform .3s;
  }
  .hnav-root .nav[data-mobile-open="true"] .nav__links { transform: translateY(0); }
  .hnav-root .nav__dd-toggle { width: 100%; justify-content: space-between; padding: .9rem .25rem; border-bottom: 1px solid var(--line); }
  .hnav-root .nav__panel {
    position: static; transform: none; width: 100%; opacity: 1; visibility: visible;
    box-shadow: none; border: none; padding: .5rem 0 1rem .5rem; display: none;
  }
  .hnav-root .nav__dd[data-open="true"] .nav__panel { display: block; }
  .hnav-root .mega { grid-template-columns: 1fr; gap: 1.5rem; }
}

/* ============================================================
   Shared site FOOTER (exact match to the home page footer)
   Namespaced under .hfoot-root to avoid colliding with
   ds-components.css footer rules on the interior pages.
   ============================================================ */
.hfoot-root {
  --ink: #0a0a0a;
  --footer-bg: #262320;
  --footer-ink: #ffffff;
  --footer-muted: #a6a29d;
  --footer-line: #45413c;
  --line: #e3e3e3;
  --gut: clamp(1.25rem, 5vw, 4rem);
  --maxw: 1400px;
  font-family:"InterNav", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
.hfoot-root *, .hfoot-root *::before, .hfoot-root *::after { box-sizing: border-box; }
.hfoot-root a { color: inherit; text-decoration: none; }
.hfoot-root ul { list-style: none; padding: 0; margin: 0; }
.hfoot-root h4 { line-height: 1.1; letter-spacing: -0.01em; margin: 0; }
.hfoot-root p { margin: 0; }
.hfoot-root .wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gut); }
.hfoot-root .logo { font-family:"PoppinsNav", sans-serif; font-weight: 700; font-size: 1.6rem; letter-spacing: -0.02em; border-bottom: 3px solid var(--ink); line-height: .95; padding-bottom: 1px; }
.hfoot-root .footer { background: var(--footer-bg); color: var(--footer-ink); }
.hfoot-root .footer__in { padding-block: 4rem 2rem; }
.hfoot-root .footer__grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 2.5rem; padding-bottom: 3rem; }
.hfoot-root .footer__brand .logo { color: #fff; border-bottom-color: #fff; display: inline-block; margin-bottom: 1.25rem; }
.hfoot-root .footer__brand address { font-style: normal; color: var(--footer-muted); font-size: .95rem; line-height: 1.7; }
.hfoot-root .footer__brand a { color: var(--footer-muted); text-decoration: underline; }
.hfoot-root .footer__brand a:hover { color: #fff; }
.hfoot-root .footer__col h4 { font-size: 1rem; font-weight: 700; margin-bottom: 1rem; }
.hfoot-root .footer__col li { padding-block: .4rem; }
.hfoot-root .footer__col a { color: var(--footer-muted); font-size: .95rem; }
.hfoot-root .footer__col a:hover { color: #fff; }
.hfoot-root .footer__rule { height: 1px; background: var(--footer-line); }
.hfoot-root .footer__bottom { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; padding-top: 1.75rem; font-size: .9rem; color: var(--footer-muted); }
.hfoot-root .footer__legal { display: flex; gap: 1.5rem; }
.hfoot-root .footer__legal a:hover { color: #fff; }
@media (max-width: 1080px) {
  .hfoot-root .footer__grid { grid-template-columns: 1fr 1fr 1fr; }
  .hfoot-root .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .hfoot-root .footer__grid { grid-template-columns: 1fr 1fr; }
}
