/* CDS Header â€” fixed, borderless, with the scroll hairline */
.cds-frame { position: fixed; inset: 0; z-index: 9990; pointer-events: none; }
.cds-frame::before { content: ''; position: absolute; inset: var(--cds-frame); border-radius: 18px; box-shadow: 0 0 0 60px var(--cds-light); }
.admin-bar .cds-frame { top: 32px; }

.cds-header {
  --cds-h-fg: var(--cds-light);
  position: fixed; z-index: 9995; top: var(--cds-frame); left: var(--cds-frame); right: var(--cds-frame);
  height: var(--cds-header-h);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 0 calc(var(--cds-gutter) - var(--cds-frame) + 8px);
  color: var(--cds-h-fg); font-family: var(--cds-mono); pointer-events: none;
}
.admin-bar .cds-header { top: calc(var(--cds-frame) + 32px); }
.cds-header > * { pointer-events: auto; }
.cds-header::before {
  content: ''; position: absolute; inset: -10px 0 -40px; z-index: -1; pointer-events: none; border-radius: 18px 18px 0 0;
  background: linear-gradient(var(--cds-veil, var(--cds-navy)) 35%, transparent); opacity: 0; transition: opacity 0.5s;
}
.cds-header.is-scrolled::before { opacity: 0.92; }
html.cds-menu-open .cds-header::before { opacity: 0; }

.cds-header__brand { justify-self: start; display: inline-flex; color: inherit; }
.cds-header__brand .cds-mark { width: 56px; height: 56px; display: block; object-fit: contain; }
.cds-header__brand img.cds-mark { width: auto; height: 42px; max-width: 280px; }
.cds-header__brand .cds-mark polygon { transition: transform 0.6s var(--cds-ease-spring); }
.cds-header__brand:hover .m-slash { transform: translateX(3px); }
.cds-header__brand:hover .m-over, .cds-header__brand:hover .m-under, .cds-header__brand:hover .m-crease { transform: translateX(-2px); }

.cds-header__ticker {
  justify-self: center; display: flex; align-items: center; margin: 0;
  font-size: 0.75rem; font-weight: 400; text-transform: uppercase; letter-spacing: 0.06em; line-height: 1.25;
  transition: opacity 0.45s var(--cds-ease-out), transform 0.6s var(--cds-ease-out);
}
.cds-header__ticker > span:first-child { margin-right: 0.6em; }
.cds-ticker { display: inline-block; height: 1.25em; overflow: hidden; }
.cds-ticker__in { display: block; transition: transform 0.8s var(--cds-ease-io); }
.cds-ticker__in b { display: block; height: 1.25em; font-weight: 500; white-space: nowrap; }
.cds-header.is-scrolled .cds-header__ticker { opacity: 0; transform: translateY(-8px); pointer-events: none; }

.cds-header__rule {
  position: absolute; top: 50%; height: 11px; margin-top: -5.5px; pointer-events: none;
  left: calc(var(--cds-gutter) - var(--cds-frame) + 8px + 56px + 24px);
  right: calc(var(--cds-gutter) - var(--cds-frame) + 8px + 52px + 24px);
}
/* with the full lockup (about 250px wide at 42px tall) the hairline starts after it */
.cds-header:has(.cds-header__brand img.cds-mark) .cds-header__rule { left: calc(var(--cds-gutter) - var(--cds-frame) + 8px + 250px + 32px); }
.cds-header__rule::before { content: ''; position: absolute; left: 6px; right: 6px; top: 5px; height: 1px; background: currentColor; opacity: 0.55; transform: scaleX(0); transform-origin: left; transition: transform 0.9s var(--cds-ease-io); }
.cds-header__rule::after {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 5.5px 5.5px, transparent 3.2px, currentColor 3.6px 5px, transparent 5.5px) left / 11px 11px no-repeat,
    radial-gradient(circle at 5.5px 5.5px, transparent 3.2px, var(--cds-red) 3.6px 5px, transparent 5.5px) right / 11px 11px no-repeat;
  opacity: 0; transition: opacity 0.4s 0.5s;
}
.cds-header.is-scrolled .cds-header__rule::before { transform: scaleX(1); }
.cds-header.is-scrolled .cds-header__rule::after { opacity: 1; }
html.cds-menu-open .cds-header__rule { opacity: 0; }

.cds-header__actions { justify-self: end; display: flex; align-items: center; gap: 10px; }
.cds-menu-btn {
  width: 52px; height: 56px; padding: 0; border: 0 !important; border-radius: 10px; background: none !important;
  color: inherit !important; cursor: pointer; display: grid; place-items: center;
}
.cds-menu-btn:hover, .cds-menu-btn:focus { background: none !important; color: inherit !important; }

.cds-faders { position: relative; display: flex; gap: 10px; height: 44px; align-items: center; }
.cds-faders i { position: relative; display: block; width: 2px; border-radius: 2px; background: currentColor; transition: height 0.5s var(--cds-ease-out), transform 0.55s var(--cds-ease-spring); }
.cds-faders i:first-child { height: 44px; }
.cds-faders i:last-child { height: 30px; }
.cds-faders i::after {
  content: ''; position: absolute; left: 50%; width: 9px; height: 9px; margin-left: -4.5px; border-radius: 50%;
  border: 1.6px solid currentColor; background: var(--cds-navy); transition: top 0.55s var(--cds-ease-spring), border-color 0.3s, opacity 0.3s;
}
.cds-faders i:first-child::after { top: -2px; }
.cds-faders i:last-child::after { top: calc(100% - 7px); }
.cds-menu-btn:hover .cds-faders i:first-child::after { top: calc(100% - 7px); border-color: var(--cds-red); }
.cds-menu-btn:hover .cds-faders i:last-child::after { top: -2px; border-color: var(--cds-red); }
.cds-menu-btn[aria-expanded='true'] .cds-faders i { height: 34px; }
.cds-menu-btn[aria-expanded='true'] .cds-faders i:first-child { transform: translateX(6px) rotate(45deg); }
.cds-menu-btn[aria-expanded='true'] .cds-faders i:last-child { transform: translateX(-6px) rotate(-45deg); }
.cds-menu-btn[aria-expanded='true'] .cds-faders i::after { opacity: 0; }

/* full-screen menu */
.cds-menu {
  position: fixed; z-index: 9993; inset: var(--cds-frame); border-radius: 18px;
  background: var(--cds-deep); color: var(--cds-light); font-family: var(--cds-mono);
  display: flex; align-items: flex-end; overflow-y: auto;
  padding: calc(var(--cds-header-h) + 3vh) var(--cds-gutter) calc(var(--cds-gutter) + 1vh);
  clip-path: polygon(100% 0%, 130% 0%, 100% 100%, 70% 100%);
  transition: clip-path 0.8s var(--cds-ease-io);
}
.cds-menu[hidden] { display: none; }
.cds-menu.is-open { clip-path: polygon(-30% 0%, 130% 0%, 100% 100%, -60% 100%); }
.cds-menu__inner { width: 100%; display: grid; grid-template-columns: 1.6fr 1fr; gap: 6vw; align-items: end; }
.cds-menu__list { list-style: none; margin: 0; padding: 0; }
.cds-menu__list a {
  display: flex; align-items: flex-start; gap: 1rem; text-decoration: none; color: inherit;
  font-family: var(--cds-font); font-size: clamp(3.4rem, 1rem + 8vw, 9rem); font-weight: 900; font-stretch: 62%; text-transform: uppercase; line-height: 0.92;
  transition: color 0.3s, transform 0.5s var(--cds-ease-out);
}
.cds-menu__list a:hover, .cds-menu__list a:focus-visible { color: var(--cds-red); transform: translateX(14px); }
.cds-menu__n { font-family: var(--cds-mono); font-size: 0.75rem; font-weight: 400; letter-spacing: 0.06em; color: rgba(238, 238, 242, 0.6); padding-top: 0.9em; }
.cds-menu__label { display: flex; align-items: center; color: rgba(238, 238, 242, 0.6); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase; margin: 0 0 1rem; }
.cds-menu__aside p { margin: 0.4rem 0 0; font-size: 1.15rem; }


@media (max-width: 1100px) { .cds-header__ticker, .cds-header__rule { display: none; } .cds-header { grid-template-columns: 1fr auto; } }
@media (max-width: 767px) { .cds-menu__inner { grid-template-columns: 1fr; } .cds-menu__aside { display: none; } }

/* two logo files: the light-lettered one over dark sections, the navy-lettered one over light */
.cds-header__brand .cds-mark--light { display: none; }
body.cds-on-light .cds-header__brand:has(.cds-mark--light) .cds-mark--dark { display: none; }
body.cds-on-light .cds-header__brand .cds-mark--light { display: block; }
body.cds-on-light .cds-header, body.cds-on-light .cds-header__ticker, body.cds-on-light .cds-menu-btn { color: #1D2145 !important; }
body.cds-on-light .cds-header__rule::before { opacity: 0.35; }

/* ==========================================================================
   Menu v2: an ink curtain drops over the page with a live wave on its top edge,
   then slides down to reveal a light panel of giant condensed links.
   ========================================================================== */
.cds-mnu { position: fixed; inset: 0; z-index: 9992; pointer-events: none; }
.cds-mnu[hidden] { display: none; }
.cds-mnu.is-live { pointer-events: auto; }
.cds-mnu__panel { position: absolute; top: 0; left: 0; right: 0; height: 62vh; border-radius: 0; background: #F4FBF8; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: clamp(1.6rem, 5vh, 3rem); padding: calc(var(--cds-header-h, 92px) + 1rem) 3vw 2rem; visibility: hidden; }
.cds-mnu.is-panel .cds-mnu__panel { visibility: visible; }
.admin-bar .cds-mnu__panel { top: 32px; }
.cds-mnu__links { display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 0 0.55em; max-width: 1500px; font-family: var(--cds-font); font-weight: 700; font-stretch: 62%; text-transform: uppercase; line-height: 1; font-size: clamp(2.6rem, 1rem + 4.6vw, 6.6rem); letter-spacing: -0.01em; }
.cds-mlink { position: relative; display: inline-flex; align-items: baseline; color: #0E2B28 !important; text-decoration: none !important; overflow: hidden; padding: 0.06em 0 0.04em; }
.cds-mlink > span, .cds-mlink::before { display: inline-block; transform: translateY(-115%); transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1), clip-path 0.5s cubic-bezier(1, 0, 0, 1); transition-delay: calc(var(--i) * 0.05s), 0s; }
.cds-mlink > span { clip-path: inset(0); }
.cds-mlink::before { content: attr(data-t); position: absolute; left: 0; top: 0.06em; color: #287A74; clip-path: inset(0 0 0 100%); }
.cds-mlink > i { display: inline-block; width: 0.13em; height: 0.13em; margin-left: 0.08em; border-radius: 50%; background: #55A9A0; transform: translateY(-500%); transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1), background 0.3s; transition-delay: calc(var(--i) * 0.05s + 0.05s); }
.cds-mnu.is-in .cds-mlink > span, .cds-mnu.is-in .cds-mlink::before { transform: none; transition-delay: calc(0.15s + var(--i) * 0.06s), 0s; }
.cds-mnu.is-in .cds-mlink > i { transform: none; transition-delay: calc(0.22s + var(--i) * 0.06s), 0s; }
.cds-mlink:hover > span, .cds-mlink:focus-visible > span { clip-path: inset(0 100% 0 0); }
.cds-mlink:hover::before, .cds-mlink:focus-visible::before { clip-path: inset(0); transition-delay: 0s, 0.08s; }
.cds-mlink:hover > i { background: #FFF8B0; }
.cds-mlink[aria-current='page'] { color: #287A74 !important; }
.cds-mlink:focus-visible { outline: none; }
.cds-mnu__sub { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.4rem 2rem; overflow: hidden; }
.cds-mnu__sub a { display: inline-block; font-family: var(--cds-mono); font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(14, 43, 40, 0.7) !important; text-decoration: none !important; transform: translateY(-120%); transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), color 0.3s; }
.cds-mnu.is-in .cds-mnu__sub a { transform: none; transition-delay: 0.45s, 0s; }
.cds-mnu__sub a:hover { color: #287A74 !important; }
.cds-mnu__curtain { position: absolute; left: var(--cds-frame, 10px); right: var(--cds-frame, 10px); top: 0; height: calc(100vh + 120px); background: #0E2B28; border-radius: 0 0 18px 18px; transform: translateY(-110%); will-change: transform; }
.cds-mnu__wave { position: absolute; left: 0; bottom: 100%; width: 100%; height: 90px; margin-bottom: -1px; display: block; overflow: visible; }
.cds-mnu__wave path { fill: #0E2B28; }
html.cds-menu-open .cds-header__nav { opacity: 0; pointer-events: none; transition: opacity 0.3s; }
html.cds-menu-open .cds-header { color: #0E2B28 !important; }
.cds-menu { display: none !important; }
@media (max-width: 767px) {
  .cds-mnu__panel { height: 78vh; }
  .cds-mnu__links { flex-direction: column; align-items: center; font-size: clamp(2.4rem, 11vw, 4rem); }
}
@media (prefers-reduced-motion: reduce) { .cds-mlink > span, .cds-mlink::before, .cds-mlink > i, .cds-mnu__sub a { transition: none !important; } }

/* the visible part of the curtain carries a quiet call to action */
.cds-mnu__cta { position: absolute; left: 0; right: 0; top: 0; height: calc(100vh - 62vh - 10px); display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 0 clamp(1.4rem, 5vw, 5rem); color: #F4FBF8; opacity: 0; transform: translateY(24px); transition: opacity 0.5s, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.cds-mnu.is-in .cds-mnu__cta { opacity: 1; transform: none; transition-delay: 0.5s; }
.cds-mnu__big { margin: 0; font-family: var(--cds-font); font-size: clamp(1.8rem, 1rem + 2.4vw, 3.6rem); font-weight: 500; letter-spacing: -0.045em; line-height: 1.02; }
.cds-mnu__big em { font-family: 'Instrument Serif', 'Times New Roman', serif; font-style: italic; font-weight: 400; letter-spacing: -0.02em; color: #AEEED3; font-size: 1.12em; }
.cds-mnu__pill { flex: none; display: inline-flex; align-items: center; gap: 0.9rem; padding: 0.5rem 0.5rem 0.5rem 1.5rem; border-radius: 999px; background: #AEEED3; color: #0E2B28 !important; font-family: var(--cds-font); font-weight: 600; text-decoration: none !important; transition: background 0.3s, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1); }
.cds-mnu__pill i { display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%; background: #0E2B28; color: #AEEED3; font-style: normal; transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1); }
.cds-mnu__pill:hover { background: #FFF8B0; transform: translateY(-2px); }
.cds-mnu__pill:hover i { transform: rotate(-45deg); }
@media (max-width: 767px) { .cds-mnu__cta { flex-direction: column; justify-content: center; align-items: flex-start; height: calc(100vh - 78vh - 10px); } .cds-mnu__big { font-size: 1.5rem; } }

/* close icon: the two faders fold into one horizontal "o—o" slider */
.cds-faders { transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1); }
.cds-menu-btn[aria-expanded='true'] .cds-faders { transform: rotate(90deg); }
.cds-menu-btn[aria-expanded='true'] .cds-faders i { height: 30px; }
.cds-menu-btn[aria-expanded='true'] .cds-faders i:first-child { transform: translateX(6px); }
.cds-menu-btn[aria-expanded='true'] .cds-faders i:last-child { transform: translateX(-6px); }
.cds-menu-btn[aria-expanded='true'] .cds-faders i::after { opacity: 1; }
.cds-menu-btn[aria-expanded='true'] .cds-faders i:first-child::after { top: -4px; }
.cds-menu-btn[aria-expanded='true'] .cds-faders i:last-child::after { top: calc(100% - 5px); }
.cds-menu-btn[aria-expanded='true']:hover .cds-faders { transform: rotate(90deg) scale(1.08); }
