/* Norwest Hamburger — zero-dependency right-side slide-out */

.nh-root {
  --nh-color-primary: #07485B;
  --nh-color-secondary: #055C5F;
  --nh-color-text: #313E5C;
  --nh-color-accent: #E6E6DB;
  --nh-panel-width: 420px;
  --nh-stagger: 60ms;
  --nh-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --nh-dur-panel: 520ms;
  --nh-dur-item: 480ms;
  --nh-z: 2147483647; /* always on top — above sticky headers, cookie bars, etc. */

  /* Left-rail system: a single shared gutter x-offset + width so the
     active-item bar and the open-submenu rail ALWAYS align and stay even.
     --nh-rail-x = how far left of the menu text the rail sits.
     --nh-rail-gap is baked into that distance (text breathing room). */
  --nh-rail-x: 18px;
  --nh-rail-w: 2px;

  display: inline-flex;
  align-items: center;
  position: relative;
}

/* ---------- toggle (hamburger button) ---------- */

.nh-root .nh-toggle {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: transparent;
  border: 0;
  /* Zero horizontal padding so the bars icon sits flush with the right edge of
     .nh-root, matching the logo's inset on the left of the nav (symmetric). */
  padding: 8px 0;
  cursor: pointer;
  color: #fff;
  font: inherit;
  line-height: 1;
  -webkit-tap-highlight-color: transparent;
}

.nh-root .nh-toggle,
.nh-root .nh-toggle:hover,
.nh-root .nh-toggle:focus,
.nh-root .nh-toggle:focus-visible,
.nh-root .nh-toggle:active {
  background: transparent !important;
  color: #fff !important;
  outline: none;
  box-shadow: none;
}

.nh-root .nh-toggle .nh-toggle__bar {
  background: #fff !important;
}

.nh-root .nh-toggle__bars {
  position: relative;
  width: 28px;
  height: 18px;
  display: inline-block;
  flex: 0 0 auto;
}

.nh-root .nh-toggle__bar {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition:
    transform 320ms var(--nh-ease),
    top 220ms var(--nh-ease) 140ms,
    opacity 160ms linear;
  transform-origin: 50% 50%;
}

/* 2-bar layout, centered within the 18px tall .nh-toggle__bars box */
.nh-root .nh-toggle__bar:nth-child(1) { top: 5px; }
.nh-root .nh-toggle__bar:nth-child(2) { top: 12px; }

/* hover nudge — bars shift in opposite directions */
.nh-root .nh-toggle:hover .nh-toggle__bar:nth-child(1),
.nh-root .nh-toggle:focus-visible .nh-toggle__bar:nth-child(1) {
  transform: translateX(-3px);
}
.nh-root .nh-toggle:hover .nh-toggle__bar:nth-child(2),
.nh-root .nh-toggle:focus-visible .nh-toggle__bar:nth-child(2) {
  transform: translateX(3px);
}

.nh-root .nh-toggle__label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* When the panel is open: spread the bars apart horizontally (no X morph —
   the panel itself has its own close X button). */
.nh-root .nh-toggle[aria-expanded="true"] .nh-toggle__bar:nth-child(1) {
  transform: translateX(-7px) !important;
}
.nh-root .nh-toggle[aria-expanded="true"] .nh-toggle__bar:nth-child(2) {
  transform: translateX(7px) !important;
}

/* ---------- backdrop ---------- */

.nh-root .nh-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(7, 30, 40, 0.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity 420ms var(--nh-ease);
  z-index: calc(var(--nh-z) - 1);
}

.nh-root .nh-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

/* ---------- panel ---------- */

.nh-root .nh-panel {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(var(--nh-panel-width), 92vw);
  background: rgba(0, 0, 0, 0.5);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
          backdrop-filter: blur(22px) saturate(140%);
  color: var(--nh-color-accent);
  transform: translate3d(100%, 0, 0);
  transition: transform var(--nh-dur-panel) var(--nh-ease);
  will-change: transform;
  z-index: var(--nh-z);
  overflow: hidden;
  box-shadow: -24px 0 60px -16px rgba(0, 0, 0, 0.45);
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}

/* Safari/older browsers without backdrop-filter — fall back to opaque primary */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .nh-root .nh-panel {
    background: var(--nh-color-primary);
  }
}

.nh-root .nh-panel.is-open {
  transform: translate3d(0, 0, 0);
}

.nh-root .nh-panel__inner {
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 180px 36px 48px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

/* ---------- close button ---------- */

.nh-root .nh-close {
  position: absolute;
  top: 80px;
  right: 22px;
  width: 44px;
  height: 44px;
  background: transparent !important;
  border: 0;
  cursor: pointer;
  color: #fff !important;
  border-radius: 50%;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  transition: background-color 200ms ease, transform 200ms var(--nh-ease);
  z-index: 10;
  opacity: 1 !important;
  visibility: visible !important;
}

.nh-root .nh-close .nh-close__icon::before,
.nh-root .nh-close .nh-close__icon::after {
  background: #fff !important;
}

.nh-root .nh-close:hover,
.nh-root .nh-close:focus,
.nh-root .nh-close:focus-visible,
.nh-root .nh-close:active {
  background: transparent !important;
  color: #fff;
  outline: none;
  box-shadow: none;
}

.nh-root .nh-close__icon {
  position: relative;
  width: 20px !important;
  height: 20px !important;
  min-width: 20px;
  display: inline-block !important;
  flex: 0 0 auto;
}

.nh-root .nh-close__icon::before,
.nh-root .nh-close__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}

.nh-root .nh-close__icon::before { transform: rotate(45deg) !important; }
.nh-root .nh-close__icon::after  { transform: rotate(-45deg) !important; }

/* ---------- search ---------- */

.nh-root .nh-search {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 14px;
  margin-bottom: 22px;
  border-bottom: 1px solid rgba(230, 230, 219, 0.22);
  opacity: 0;
  transform: translate3d(40px, 0, 0);
  transition:
    opacity var(--nh-dur-item) var(--nh-ease) 120ms,
    transform var(--nh-dur-item) var(--nh-ease) 120ms,
    border-color 280ms ease;
}

.nh-root .nh-panel.is-open .nh-search {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.nh-root .nh-search:focus-within {
  border-bottom-color: var(--nh-color-accent);
}

.nh-root .nh-search__label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  color: var(--nh-color-accent);
  opacity: 0.78;
  transition: opacity 240ms ease, transform 360ms var(--nh-ease);
}

.nh-root .nh-search:focus-within .nh-search__label {
  opacity: 1;
  transform: rotate(-6deg);
}

.nh-root .nh-search__icon {
  width: 20px;
  height: 20px;
}

.nh-root .nh-search__input {
  flex: 1 1 auto;
  min-width: 0;
  background: transparent;
  border: 0;
  outline: 0;
  color: var(--nh-color-accent);
  font-family: "Poppins", system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  padding: 10px 0;
  caret-color: var(--nh-color-accent);
}

.nh-root .nh-search__input::placeholder {
  color: rgba(230, 230, 219, 0.55);
  font-style: italic;
}

.nh-root .nh-search__input::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; }

.nh-root .nh-search__submit {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  color: var(--nh-color-accent);
  cursor: pointer;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translate3d(-8px, 0, 0);
  transition:
    opacity 260ms ease,
    transform 320ms var(--nh-ease),
    background-color 220ms ease;
  pointer-events: none;
}

.nh-root .nh-search:focus-within .nh-search__submit,
.nh-root .nh-search__input:not(:placeholder-shown) ~ .nh-search__submit {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  pointer-events: auto;
}

.nh-root .nh-search__submit:hover,
.nh-root .nh-search__submit:focus-visible {
  background: rgba(255, 255, 255, 0.08);
}

.nh-root .nh-search__arrow {
  position: relative;
  width: 14px;
  height: 10px;
}

.nh-root .nh-search__arrow::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 4px;
  height: 2px;
  background: currentColor;
  transform: translateY(-50%);
  border-radius: 2px;
}

.nh-root .nh-search__arrow::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  width: 7px;
  height: 7px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: translateY(-50%) rotate(45deg);
}

/* ---------- menu ---------- */

.nh-root .nh-nav {
  margin-top: 12px;
}

.nh-root .nh-nav ul,
.nh-root .nh-nav li {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nh-root .nh-menu > li {
  position: relative;
  padding: 6px 0;
  opacity: 0;
  transform: translate3d(40px, 0, 0);
  transition:
    opacity var(--nh-dur-item) var(--nh-ease),
    transform var(--nh-dur-item) var(--nh-ease);
  transition-delay: calc(var(--i, 0) * var(--nh-stagger) + 200ms);
}

.nh-root .nh-panel.is-open .nh-menu > li {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.nh-root .nh-menu > li > a {
  color: var(--nh-color-accent);
  text-decoration: none;
  display: block;
  width: 100%;
  position: relative;
  font-family: "DM Serif Display", Georgia, serif;
  font-size: clamp(1.5rem, 2.4vw, 2.1rem);
  font-weight: 400;
  line-height: 1.15;
  padding: 6px 36px 6px 6px;
  margin-left: -6px;
  border-radius: 8px;
  background: transparent;
  transition: color 240ms ease, background-color 240ms ease, padding-left 280ms var(--nh-ease);
}

.nh-root .nh-menu > li > a::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 14px;
  width: 10px;
  height: 10px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: translateY(-50%) rotate(45deg) translate(-8px, 0);
  opacity: 0;
  transition: opacity 220ms ease, transform 340ms var(--nh-ease);
  pointer-events: none;
}

.nh-root .nh-menu > li > a:hover,
.nh-root .nh-menu > li > a:focus-visible {
  color: #fff;
  background: transparent;
  padding-left: 12px;
}

.nh-root .nh-menu > li > a:hover::after,
.nh-root .nh-menu > li > a:focus-visible::after {
  opacity: 1;
  transform: translateY(-50%) rotate(45deg) translate(0, 0);
}

/* parents-with-children: the caret sits to the right; nudge the link's arrow to clear it */
.nh-root .nh-menu .menu-item-has-children > a {
  padding-right: 12px;
}

.nh-root .nh-menu .menu-item-has-children > a::after {
  display: none;
}

.nh-root .nh-menu .current-menu-item > a,
.nh-root .nh-menu .current-menu-ancestor > a {
  color: #fff;
}

/* ---------- per-item description (WP "Description" field) ---------- */

.nh-root .nh-menu .nh-mi-desc {
  display: block;
  margin: 4px 0 8px;
  padding: 0 6px;
  font-family: "Poppins", system-ui, sans-serif;
  font-size: 0.82rem;
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: 0.01em;
  color: rgba(230, 230, 219, 0.72);
}

/* For top-level parent items, the description lives inside the expandable
   block — only visible once the section is open. */
.nh-root .nh-menu > li.menu-item-has-children > .nh-mi-desc {
  max-height: 0;
  overflow: hidden;
  margin: 0;
  opacity: 0;
  transition:
    max-height 380ms var(--nh-ease),
    opacity 260ms ease 80ms,
    margin 380ms var(--nh-ease);
}

.nh-root .nh-menu > li.menu-item-has-children.is-expanded > .nh-mi-desc {
  max-height: 200px;
  margin: 6px 0 12px;
  opacity: 1;
}

/* Submenu items can also carry descriptions — show them inline. */
.nh-root .nh-menu .sub-menu .nh-mi-desc {
  font-size: 0.78rem;
  color: rgba(230, 230, 219, 0.6);
  margin: 2px 0 6px;
  padding-left: 14px;
}

/* submenus */

.nh-root .nh-panel .nh-menu .sub-menu {
  display: block;
  width: 100%;
  max-height: 0;
  overflow: hidden;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  position: relative;
  transition: max-height 420ms var(--nh-ease);
}

/* Continuous left rail for an OPEN submenu — lives in the shared gutter so it
   lines up exactly with the active-item bar (same x, same width). Only drawn
   once the parent is expanded, so it tracks "which menus are open". */
.nh-root .nh-menu li.is-expanded > .sub-menu::before {
  content: "";
  position: absolute;
  left: calc(-1 * var(--nh-rail-x));
  top: 6px;
  bottom: 6px;
  width: var(--nh-rail-w);
  background: rgba(230, 230, 219, 0.45);
  border-radius: var(--nh-rail-w);
  pointer-events: none;
}

.nh-root .nh-menu li.is-expanded > .sub-menu {
  max-height: 1400px;
}

.nh-root .nh-menu .sub-menu > li {
  padding: 2px 0;
  margin-left: 0;
  border-left: 0;
  opacity: 0;
  transform: translate3d(20px, 0, 0);
  transition:
    opacity 360ms var(--nh-ease),
    transform 360ms var(--nh-ease);
  transition-delay: calc(var(--i, 0) * 50ms);
}

.nh-root .nh-menu li.is-expanded > .sub-menu > li {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.nh-root .nh-menu .sub-menu a {
  display: block;
  width: 100%;
  position: relative;
  font-family: "Poppins", system-ui, sans-serif;
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: none;
  color: rgba(230, 230, 219, 0.78);
  padding: 8px 28px 8px 10px;
  border-radius: 6px;
  transition: color 220ms ease, background-color 220ms ease, padding-left 280ms var(--nh-ease);
}

.nh-root .nh-menu .sub-menu a::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 10px;
  width: 8px;
  height: 8px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: translateY(-50%) rotate(45deg) translate(-6px, 0);
  opacity: 0;
  transition: opacity 220ms ease, transform 320ms var(--nh-ease);
  pointer-events: none;
}

/* full-width hover ribbon — kill the underline ::after that the top-level menu uses */
.nh-root .nh-menu .sub-menu a::before {
  content: none;
}

.nh-root .nh-menu .sub-menu a:hover,
.nh-root .nh-menu .sub-menu a:focus-visible {
  color: #fff;
  background: transparent;
  padding-left: 16px;
}

.nh-root .nh-menu .sub-menu a:hover::after,
.nh-root .nh-menu .sub-menu a:focus-visible::after {
  opacity: 1;
  transform: translateY(-50%) rotate(45deg) translate(0, 0);
}

/* submenu caret toggle (injected by JS) */

.nh-root .nh-menu .menu-item-has-children {
  position: relative;
  display: block;
}

.nh-root .nh-menu .menu-item-has-children > .nh-caret {
  position: absolute;
  /* `top` is set by JS to lock the caret to the link's vertical centre, so it
     doesn't drift when the submenu expands and the <li> grows. */
  right: 4px;
  transform: translateY(-50%);
  z-index: 2;
}

.nh-root .nh-menu .menu-item-has-children > .sub-menu {
  display: block;
}

.nh-root .nh-menu .nh-caret {
  flex: 0 0 auto;
  background: transparent;
  border: 0;
  color: var(--nh-color-accent);
  cursor: pointer;
  padding: 10px 8px;
  margin-left: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  transition: background-color 220ms ease, transform 320ms var(--nh-ease);
}

.nh-root .nh-menu .nh-caret:hover,
.nh-root .nh-menu .nh-caret:focus-visible {
  background: rgba(255, 255, 255, 0.08);
}

.nh-root .nh-menu .nh-caret::before {
  content: "";
  width: 10px;
  height: 10px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform 320ms var(--nh-ease);
}

.nh-root .nh-menu .is-expanded > .nh-caret::before {
  transform: rotate(225deg) translate(-2px, -2px);
}

/* ---------- focus rings ---------- */
/* Per request: no visible focus outlines on desktop or mobile — make them
   transparent (also clears UA outlines/box-shadows on links, buttons, inputs). */

.nh-root :focus,
.nh-root :focus-visible,
.nh-root a:focus,
.nh-root a:focus-visible,
.nh-root button:focus,
.nh-root button:focus-visible,
.nh-root input:focus,
.nh-root input:focus-visible {
  outline: 2px solid transparent !important;
  outline-offset: 0 !important;
  box-shadow: none !important;
}

.nh-root .nh-toggle:focus-visible,
.nh-root .nh-close:focus-visible {
  outline: 2px solid transparent !important;
  outline-offset: 0 !important;
  box-shadow: none !important;
}

/* ---------- current-page indicator ---------- */

.nh-root .nh-menu .current-menu-item > a {
  color: #fff !important;
}

.nh-root .nh-menu > li.current-menu-item > a::after,
.nh-root .nh-menu > li.current-menu-ancestor > a::after {
  opacity: 1 !important;
  transform: translateY(-50%) rotate(45deg) translate(0, 0) !important;
}

.nh-root .nh-menu > li.current-menu-item,
.nh-root .nh-menu > li.current-menu-ancestor {
  position: relative;
}

.nh-root .nh-menu > li.current-menu-item::before,
.nh-root .nh-menu > li.current-menu-ancestor::before {
  content: "";
  position: absolute;
  left: calc(-1 * var(--nh-rail-x));
  top: 14px;
  bottom: 14px;
  width: var(--nh-rail-w);
  background: #fff;
  border-radius: var(--nh-rail-w);
  pointer-events: none;
}

.nh-root .nh-menu .sub-menu .current-menu-item > a {
  color: #fff !important;
}

.nh-root .nh-menu .sub-menu .current-menu-item > a::after {
  opacity: 1 !important;
  transform: translateY(-50%) rotate(45deg) translate(0, 0) !important;
}

/* ---------- social row (top-left, vertically aligned with the close X) ---------- */

.nh-root .nh-social {
  position: absolute;
  top: 80px;
  left: 36px;
  height: 44px;
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 0;
  padding: 0;
  border: 0;
  z-index: 10;
  opacity: 0;
  transform: translate3d(-12px, 0, 0);
  transition:
    opacity var(--nh-dur-item) var(--nh-ease) 200ms,
    transform var(--nh-dur-item) var(--nh-ease) 200ms;
}

.nh-root .nh-panel.is-open .nh-social {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

/* Fade socials out as the panel content scrolls down, so they don't overlap
   the search field once it scrolls into the top band. */
.nh-root .nh-panel.is-scrolled .nh-social {
  opacity: 0;
  transform: translate3d(-8px, -4px, 0);
  pointer-events: none;
  transition:
    opacity 280ms ease,
    transform 320ms var(--nh-ease);
}

.nh-root .nh-social__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  color: rgba(230, 230, 219, 0.7);
  transition: color 240ms ease, transform 320ms var(--nh-ease);
}

.nh-root .nh-social__link svg {
  width: 100%;
  height: 100%;
  display: block;
}

.nh-root .nh-social__link:hover,
.nh-root .nh-social__link:focus-visible {
  color: #fff;
  transform: translateY(-2px);
}

/* scroll lock — added to <html> when any panel is open */

html.nh-locked {
  overflow: hidden;
}

/* reduced motion */

@media (prefers-reduced-motion: reduce) {
  .nh-root .nh-panel,
  .nh-root .nh-backdrop,
  .nh-root .nh-toggle__bar,
  .nh-root .nh-menu > li,
  .nh-root .nh-menu .sub-menu,
  .nh-root .nh-menu .sub-menu > li,
  .nh-root .nh-close,
  .nh-root .nh-menu a::after,
  .nh-root .nh-recent__item,
  .nh-root .nh-recent__img,
  .nh-root .nh-team__tile,
  .nh-root .nh-team__img,
  .nh-root .nh-team__name {
    transition-duration: 1ms !important;
    transition-delay: 0ms !important;
  }
}

/* ---------- meet the team ---------- */

.nh-root .nh-team {
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid rgba(230, 230, 219, 0.18);
}

.nh-root .nh-team__heading {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  font-family: "Poppins", system-ui, sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(230, 230, 219, 0.7);
  text-decoration: none;
  transition: color 220ms ease, gap 280ms var(--nh-ease);
}

.nh-root .nh-team__heading:hover,
.nh-root .nh-team__heading:focus-visible {
  color: #fff;
  gap: 12px;
}

.nh-root .nh-team__heading-arrow {
  position: relative;
  width: 8px;
  height: 8px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
}

.nh-root .nh-team__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.nh-root .nh-team__tile {
  opacity: 0;
  transform: translate3d(0, 12px, 0);
  transition:
    opacity var(--nh-dur-item) var(--nh-ease),
    transform var(--nh-dur-item) var(--nh-ease);
  transition-delay: calc(var(--ti, 1) * var(--nh-stagger) + 260ms);
}

.nh-root .nh-panel.is-open .nh-team__tile {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.nh-root .nh-team__link {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: opacity 280ms ease, transform 320ms var(--nh-ease);
}

/* Crossfade state used during pool-cycle swaps */
.nh-root .nh-team__link.is-swapping {
  opacity: 0;
  transform: scale(0.96);
}

.nh-root .nh-team__media {
  display: block;
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.05);
}

.nh-root .nh-team__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(20%);
  transform: scale(1);
  transition: transform 600ms var(--nh-ease), filter 320ms ease;
}

.nh-root .nh-team__link:hover .nh-team__img,
.nh-root .nh-team__link:focus-visible .nh-team__img {
  transform: scale(1.05);
  filter: grayscale(0);
}

/* placeholder initials when no photo */
.nh-root .nh-team__initials {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "DM Serif Display", Georgia, serif;
  font-size: 1.8rem;
  color: rgba(255, 255, 255, 0.7);
  background: linear-gradient(135deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
}

/* name overlay — fades in on hover (desktop only) */
.nh-root .nh-team__name {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 28px 10px 8px;
  font-family: "Poppins", system-ui, sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: #fff;
  text-align: center;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.7));
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 240ms ease, transform 320ms var(--nh-ease);
  pointer-events: none;
}

.nh-root .nh-team__link:hover .nh-team__name,
.nh-root .nh-team__link:focus-visible .nh-team__name {
  opacity: 1;
  transform: translateY(0);
}

@media (hover: none) {
  /* touch devices: never reveal the name overlay (no hover state to trigger it) */
  .nh-root .nh-team__name { display: none; }
}

/* ---------- recent posts ---------- */

.nh-root .nh-recent {
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid rgba(230, 230, 219, 0.18);
}

.nh-root .nh-recent__heading {
  margin: 0 0 14px;
  font-family: "Poppins", system-ui, sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(230, 230, 219, 0.7);
}

.nh-root .nh-recent__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.nh-root .nh-recent__item {
  opacity: 0;
  transform: translate3d(40px, 0, 0);
  transition:
    opacity var(--nh-dur-item) var(--nh-ease),
    transform var(--nh-dur-item) var(--nh-ease);
  transition-delay: calc(var(--ri, 1) * var(--nh-stagger) + 380ms);
}

.nh-root .nh-panel.is-open .nh-recent__item {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.nh-root .nh-recent__link {
  display: block;
  color: var(--nh-color-accent);
  text-decoration: none;
  transition: color 220ms ease, transform 320ms var(--nh-ease);
}

.nh-root .nh-recent__link:hover,
.nh-root .nh-recent__link:focus-visible {
  color: #fff;
  transform: translate3d(2px, 0, 0);
}

.nh-root .nh-recent__media {
  display: block;
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 0;
  margin-bottom: 12px;
  background: rgba(255, 255, 255, 0.04);
}

.nh-root .nh-recent__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, 0.45));
  pointer-events: none;
}

.nh-root .nh-recent__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.0);
  transition: transform 800ms var(--nh-ease);
}

.nh-root .nh-recent__link:hover .nh-recent__img,
.nh-root .nh-recent__link:focus-visible .nh-recent__img {
  transform: scale(1.04);
}

.nh-root .nh-recent__body {
  display: block;
}

.nh-root .nh-recent__date {
  display: block;
  font-family: "Poppins", system-ui, sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(230, 230, 219, 0.6);
  margin-bottom: 6px;
}

.nh-root .nh-recent__title {
  display: block;
  font-family: "DM Serif Display", Georgia, serif;
  font-size: 1.15rem;
  line-height: 1.25;
  font-weight: 400;
  margin-bottom: 6px;
}

.nh-root .nh-recent__author {
  display: block;
  font-family: "Poppins", system-ui, sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: rgba(230, 230, 219, 0.7);
}

.nh-root .nh-recent__item--featured .nh-recent__title {
  font-size: 1.4rem;
  line-height: 1.18;
}


.nh-root .nh-recent__tags {
  display: block;
  margin-top: 8px;
  font-family: "Poppins", system-ui, sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(230, 230, 219, 0.55);
}

.nh-root .nh-recent__tag {
  display: inline;
  padding: 0;
  border: 0;
  background: transparent;
}

.nh-root .nh-recent__tag + .nh-recent__tag::before {
  content: " · ";
  color: rgba(230, 230, 219, 0.35);
  margin: 0 4px;
}

.nh-root .nh-recent__item--compact {
  padding-top: 14px;
  border-top: 1px solid rgba(230, 230, 219, 0.12);
}

.nh-root .nh-recent__item--compact:first-of-type {
  border-top: 0;
  padding-top: 0;
}

/* ---------- mobile: fullscreen panel ---------- */

@media (max-width: 767px) {
  .nh-root .nh-panel {
    width: 100vw;
    width: 100dvw;
    max-width: none;
    /* Full-height, accounting for mobile browser chrome via dvh. */
    height: 100vh;
    height: 100dvh;
    top: 0;
    right: 0;
    bottom: 0;
    box-shadow: none;
    border-left: 0;
    /* Keep the heavy blur but lean opaque on mobile for legibility + perf. */
    background: rgba(0, 0, 0, 0.62);
    /* Trap scroll/rubber-banding inside the panel so the page behind stays put. */
    overscroll-behavior: contain;
  }
  .nh-root .nh-panel__inner {
    padding: 160px 26px 40px;
    padding-top: max(160px, env(safe-area-inset-top, 0px) + 120px);
    padding-bottom: max(40px, env(safe-area-inset-bottom, 0px) + 24px);
    padding-left: max(26px, env(safe-area-inset-left, 0px) + 26px);
    padding-right: max(26px, env(safe-area-inset-right, 0px) + 26px);
    overscroll-behavior: contain;
  }
  .nh-root .nh-close {
    top: max(56px, env(safe-area-inset-top, 0px) + 46px);
    right: 18px;
  }
  .nh-root .nh-social {
    top: max(56px, env(safe-area-inset-top, 0px) + 46px);
    left: 26px;
  }
  .nh-root .nh-menu a {
    font-size: clamp(1.75rem, 8vw, 2.6rem);
  }
  .nh-root .nh-recent__item--featured .nh-recent__title {
    font-size: 1.5rem;
  }
  /* heavier punch on stagger so it reads on a bigger surface */
  .nh-root .nh-menu > li {
    transform: translate3d(60px, 0, 0);
  }
  .nh-root .nh-recent__item {
    transform: translate3d(60px, 0, 0);
  }
  .nh-root .nh-search {
    transform: translate3d(60px, 0, 0);
  }
}
