/* NEXROC IR — luxury cinematic header skin.
   Styling only: all existing navigation labels, links, menu data and behavior remain intact. */

@media (min-width: 1351px) {
  .nx-utility-bar {
    height: clamp(38px, 2.15vw, 54px);
    background: #f7f6f2;
    color: #383630;
    border-bottom: 1px solid rgba(35,32,26,.10);
    --nx-utility-padding: clamp(34px, 3.6vw, 92px);
  }
  .nx-utility-bar__inner {
    padding-inline: var(--nx-utility-padding);
    gap: 24px;
  }
  .nx-utility-bar__left {
    margin-left: 0;
    gap: clamp(13px, 1.15vw, 29px);
  }
  .nx-utility-bar__right {
    gap: clamp(22px, 2.35vw, 60px);
  }
  .nx-utility-bar a {
    padding: 4px 0;
    color: #666158;
    font: 500 clamp(9px, .47vw, 12px)/1.2 Arial, Helvetica, sans-serif;
    letter-spacing: .15em;
    text-decoration: none;
    text-underline-offset: 5px;
    transition: color .28s ease, opacity .28s ease;
  }
  .nx-utility-bar a:hover,
  .nx-utility-bar a:focus-visible {
    color: #111;
    text-decoration: underline;
    text-decoration-thickness: 1px;
  }
  .nx-utility-bar__left a + a::before {
    left: clamp(-17px, -0.65vw, -9px);
    color: #b4afa5;
  }

  .ir-topbar.site-header {
    --nav-h: clamp(104px, 6.15vw, 158px);
    height: var(--nav-h);
    min-height: var(--nav-h);
    background: rgba(250,249,246,.985);
    border: 0;
    border-bottom: 1px solid rgba(35,32,26,.09);
    box-shadow: 0 14px 42px rgba(15,14,12,.055);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    transition: background .65s cubic-bezier(.22,1,.36,1),
                border-color .65s cubic-bezier(.22,1,.36,1),
                box-shadow .65s cubic-bezier(.22,1,.36,1);
  }

  .ir-topbar .ir-topbar__inner {
    height: 100%;
    padding-inline: clamp(34px, 3.6vw, 92px);
    gap: clamp(18px, 2vw, 48px);
    justify-content: space-between;
  }

  .ir-topbar a.ir-topbar__home.ir-topbar__wordmark {
    width: clamp(270px, 18.8vw, 420px);
    max-width: none;
    flex: 0 0 auto;
    transform: none;
  }
  .ir-topbar .ir-topbar__logo-image {
    width: 100%;
    max-width: none;
    height: auto;
    object-fit: contain;
  }

  .ir-topbar .ir-topbar__menu-toggle.nav-toggle {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    margin: 0;
    padding: 9px;
    background: transparent;
    border: 1px solid rgba(35,32,26,.16);
    border-radius: 0;
    transform: none;
    transition: background .25s ease, border-color .25s ease;
  }
  .ir-topbar .ir-topbar__menu-toggle.nav-toggle:hover,
  .ir-topbar .ir-topbar__menu-toggle.nav-toggle[aria-expanded="true"] {
    background: #efeee9;
    border-color: rgba(35,32,26,.35);
  }
  .ir-topbar .ir-topbar__menu-toggle.nav-toggle span {
    width: 21px;
    height: 1.5px;
    flex-basis: 1.5px;
    background: #45423b;
  }

  .ir-topbar .ir-topbar__nav.primary-nav {
    display: flex;
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
    margin: 0 auto;
    padding: 0;
    justify-content: center;
    align-items: center;
    gap: clamp(17px, 1.65vw, 42px);
  }
  .ir-topbar .ir-topbar__nav.primary-nav .ir-topbar__item {
    height: var(--nav-h);
    flex: 0 0 auto;
    align-items: center;
  }
  .ir-topbar .ir-topbar__nav.primary-nav a.ir-topbar__link {
    height: var(--nav-h);
    padding: 0;
    display: inline-flex;
    align-items: center;
    color: #282720;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(15px, .92vw, 23px);
    font-weight: 500;
    letter-spacing: .105em;
    line-height: 1.1;
    text-decoration: none;
    white-space: nowrap;
    transition: color .28s ease, opacity .28s ease;
  }
  .ir-topbar .ir-topbar__nav.primary-nav a.ir-topbar__link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 100%;
    bottom: calc(50% - 22px);
    height: 1px;
    background: currentColor;
    opacity: .78;
    transition: right .35s cubic-bezier(.22,1,.36,1);
  }
  .ir-topbar .ir-topbar__nav.primary-nav .ir-topbar__item:hover > a.ir-topbar__link::after,
  .ir-topbar .ir-topbar__nav.primary-nav .ir-topbar__item:focus-within > a.ir-topbar__link::after,
  .ir-topbar .ir-topbar__nav.primary-nav a.ir-topbar__link[aria-current="page"]::after {
    right: 0;
  }
  .ir-topbar .ir-topbar__nav.primary-nav a.ir-topbar__link:hover {
    color: #777166;
  }
  .ir-topbar .ir-topbar__nav.primary-nav .ir-topbar__expand {
    color: #8a857a;
    margin-left: 1px;
  }

  .ir-topbar .ir-topbar__nav .ir-topbar__dropdown {
    top: calc(100% - 1px);
    left: -22px;
    padding: 13px 9px 15px;
    background: rgba(250,249,246,.99);
    border: 1px solid rgba(35,32,26,.10);
    border-top: 1px solid #4b473e;
    border-radius: 0;
    box-shadow: 0 26px 58px rgba(0,0,0,.14);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
  }
  .ir-topbar .ir-topbar__nav .ir-topbar__dropdown a {
    min-height: 40px;
    padding: 11px 15px;
    color: #302e28;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 17px;
    font-weight: 500;
    letter-spacing: .055em;
    line-height: 1.25;
    text-decoration: none;
  }
  .ir-topbar .ir-topbar__nav .ir-topbar__dropdown a:hover {
    color: #000;
    background: #efeee9;
  }

  .ir-topbar .ir-topbar__actions {
    flex: 0 0 auto;
    gap: clamp(10px, .85vw, 22px);
    margin: 0 0 0 auto;
  }
  .ir-topbar .ir-topbar__actions a.ir-topbar__login,
  .ir-topbar .ir-topbar__actions a.ir-topbar__home-cta {
    height: clamp(44px, 2.25vw, 56px);
    min-width: clamp(112px, 7.5vw, 150px);
    padding: 0 16px;
    border: 1px solid #171612;
    border-radius: 0;
    background: #171612;
    color: #fff;
    box-shadow: inset 0 0 0 2px #faf9f6;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(13px, .72vw, 18px);
    font-weight: 600;
    letter-spacing: .16em;
    text-decoration: none;
    transition: background .3s ease, color .3s ease, box-shadow .3s ease;
  }
  .ir-topbar .ir-topbar__actions a.ir-topbar__login:hover,
  .ir-topbar .ir-topbar__actions a.ir-topbar__home-cta:hover {
    background: #faf9f6;
    color: #171612;
    box-shadow: inset 0 0 0 2px #171612;
  }

  .ir-topbar .ir-topbar__lang-container {
    margin-left: 0;
  }
  .ir-topbar .ir-topbar__language summary {
    height: clamp(44px, 2.25vw, 56px);
    min-width: 70px;
    padding: 0 12px;
    border: 1px solid rgba(35,32,26,.18);
    border-radius: 0;
    background: transparent;
    color: #353229;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 17px;
    font-weight: 500;
    letter-spacing: .08em;
    transition: background .25s ease, border-color .25s ease;
  }
  .ir-topbar .ir-topbar__language summary:hover,
  .ir-topbar .ir-topbar__language[open] summary {
    background: #efeee9;
    border-color: rgba(35,32,26,.4);
  }
  .ir-topbar .ir-topbar__language-options {
    top: calc(100% + 10px);
    right: 0;
    width: 190px;
    padding: 8px;
    background: rgba(250,249,246,.99);
    border: 1px solid rgba(35,32,26,.12);
    box-shadow: 0 20px 48px rgba(0,0,0,.14);
  }
  .ir-topbar .ir-topbar__language-options a {
    padding: 12px 11px;
    color: #302e28;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 16px;
  }
  .ir-topbar .ir-topbar__language-options a:hover {
    background: #efeee9;
  }

  .ir-topbar .ir-topbar__hamburger-menu {
    top: calc(100% + 1px);
    background: rgba(250,249,246,.99);
    border: 1px solid rgba(35,32,26,.12);
    box-shadow: 0 22px 52px rgba(0,0,0,.15);
  }

  /* Keep the established homepage clear-header behavior, with white text over dark imagery. */
  body.home .nx-utility-bar,
  body.home .nx-utility-bar .nx-utility-bar__inner,
  body.home .ir-topbar.site-header {
    transition: background-color .65s cubic-bezier(.22,1,.36,1),
                border-color .65s cubic-bezier(.22,1,.36,1),
                box-shadow .65s cubic-bezier(.22,1,.36,1);
  }
  body.home.nx-nav-clear .nx-utility-bar,
  body.home.nx-nav-clear .ir-topbar.site-header {
    background: transparent;
    border-color: transparent;
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  body.home.nx-nav-rock-dark .nx-utility-bar,
  body.home.nx-nav-rock-dark .ir-topbar.site-header {
    color: #fff;
  }
  body.home.nx-nav-rock-dark .nx-utility-bar a,
  body.home.nx-nav-rock-dark .ir-topbar .ir-topbar__nav.primary-nav a.ir-topbar__link,
  body.home.nx-nav-rock-dark .ir-topbar .ir-topbar__language summary {
    color: #fff;
  }
  body.home.nx-nav-rock-dark .nx-utility-bar__left a + a::before {
    color: rgba(255,255,255,.5);
  }
  body.home.nx-nav-rock-dark .ir-topbar .ir-topbar__menu-toggle.nav-toggle {
    border-color: rgba(255,255,255,.45);
  }
  body.home.nx-nav-rock-dark .ir-topbar .ir-topbar__menu-toggle.nav-toggle span {
    background: #fff;
  }
  body.home.nx-nav-rock-dark .ir-topbar .ir-topbar__actions a.ir-topbar__login,
  body.home.nx-nav-rock-dark .ir-topbar .ir-topbar__actions a.ir-topbar__home-cta {
    background: rgba(0,0,0,.2);
    color: #fff;
    border-color: rgba(255,255,255,.9);
    box-shadow: inset 0 0 0 2px rgba(255,255,255,.85);
  }
  body.home.nx-nav-rock-dark .ir-topbar .ir-topbar__actions a.ir-topbar__login:hover,
  body.home.nx-nav-rock-dark .ir-topbar .ir-topbar__actions a.ir-topbar__home-cta:hover {
    background: #fff;
    color: #111;
  }
}

@media (max-width: 1350px) {
  .nx-utility-bar {
    background: #f7f6f2;
    border-bottom-color: rgba(35,32,26,.10);
  }
  .ir-topbar.site-header {
    background: rgba(250,249,246,.985);
    border-bottom-color: rgba(35,32,26,.10);
    box-shadow: 0 10px 28px rgba(0,0,0,.045);
  }
  .ir-topbar .ir-topbar__menu-toggle.nav-toggle {
    border: 1px solid rgba(35,32,26,.16);
    border-radius: 0;
  }
  .ir-topbar .ir-topbar__menu-toggle.nav-toggle span {
    background: #45423b;
  }
  .ir-topbar .ir-topbar__nav.primary-nav.open {
    background: #faf9f6;
  }
  .ir-topbar .ir-topbar__nav.primary-nav.open a.ir-topbar__link {
    color: #292720;
    font-family: 'Cormorant Garamond', Georgia, serif;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nx-utility-bar *,
  .ir-topbar *,
  .ir-topbar *::before,
  .ir-topbar *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
}


/* ---------------------------------------------------------------
   REFINED DESKTOP SCALE — tuned to the 2048px homepage screenshot.
   The previous pass oversized the wordmark and allowed the hamburger
   to sit beside the desktop navigation. This block corrects the
   proportions and gives each navigation zone a defined footprint.
   --------------------------------------------------------------- */
@media (min-width: 1351px) {
  .ir-topbar.site-header {
    --nav-h: clamp(88px, 5.05vw, 112px);
    height: var(--nav-h);
    min-height: var(--nav-h);
  }

  .ir-topbar .ir-topbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(16px, 1.15vw, 24px);
    padding-inline: clamp(42px, 3.35vw, 72px);
    width: 100%;
    box-sizing: border-box;
  }

  /* Logo: compact editorial signature, not a competing headline. */
  .ir-topbar a.ir-topbar__home.ir-topbar__wordmark {
    width: clamp(245px, 15.2vw, 310px);
    min-width: 0;
    flex: 0 0 clamp(245px, 15.2vw, 310px);
    margin: 0;
    display: flex;
    align-items: center;
  }
  .ir-topbar .ir-topbar__logo-image {
    display: block;
    width: 100%;
    height: auto;
    max-height: 54px;
    object-fit: contain;
  }

  /* Hamburger is strictly a tablet/mobile control. */
  .ir-topbar .ir-topbar__menu-toggle.nav-toggle {
    display: none !important;
  }

  /* Keep the five existing menu groups on one clean baseline. */
  .ir-topbar .ir-topbar__nav.primary-nav {
    display: flex !important;
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
    max-width: none;
    margin: 0;
    padding: 0;
    justify-content: center;
    align-items: center;
    gap: clamp(14px, 1.18vw, 24px);
  }
  .ir-topbar .ir-topbar__nav.primary-nav .ir-topbar__item {
    position: relative;
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    height: var(--nav-h);
    gap: 4px;
    white-space: nowrap;
  }
  .ir-topbar .ir-topbar__nav.primary-nav a.ir-topbar__link {
    height: auto;
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    padding: 0;
    font-size: clamp(14px, .86vw, 18px);
    font-weight: 500;
    letter-spacing: .095em;
    line-height: 1;
  }
  .ir-topbar .ir-topbar__nav.primary-nav .ir-topbar__expand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 15px;
    height: 30px;
    margin: 0;
    padding: 0;
    flex: 0 0 15px;
  }
  .ir-topbar .ir-topbar__nav.primary-nav .ir-topbar__expand-chevron {
    width: 10px;
    height: 10px;
  }
  .ir-topbar .ir-topbar__nav.primary-nav a.ir-topbar__link::after {
    bottom: 2px;
  }

  /* Right-hand actions are compact and aligned to the same centerline. */
  .ir-topbar .ir-topbar__actions {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: flex-end;
    gap: clamp(10px, .72vw, 15px);
    margin: 0;
    white-space: nowrap;
  }
  .ir-topbar .ir-topbar__actions a.ir-topbar__login,
  .ir-topbar .ir-topbar__actions a.ir-topbar__home-cta {
    box-sizing: border-box;
    width: clamp(112px, 7.1vw, 145px);
    min-width: 0;
    height: 48px;
    padding: 0 10px;
    font-size: 14px;
    letter-spacing: .13em;
    line-height: 1;
  }

  .ir-topbar .ir-topbar__lang-container {
    flex: 0 0 auto;
    margin: 0;
  }
  .ir-topbar .ir-topbar__language summary {
    box-sizing: border-box;
    width: 76px;
    min-width: 76px;
    height: 48px;
    padding: 0 9px;
    justify-content: center;
    font-size: 15px;
    letter-spacing: .07em;
  }

  /* Slightly smaller utility links create a quieter top line. */
  .nx-utility-bar {
    height: 42px;
  }
  .nx-utility-bar__inner {
    min-height: 42px;
    padding-inline: clamp(42px, 3.35vw, 72px);
    box-sizing: border-box;
  }
  .nx-utility-bar a {
    font-size: 10px;
    letter-spacing: .14em;
  }
}

@media (min-width: 1351px) and (max-width: 1650px) {
  .ir-topbar .ir-topbar__inner {
    padding-inline: 34px;
    gap: 13px;
  }
  .ir-topbar a.ir-topbar__home.ir-topbar__wordmark {
    width: 225px;
    flex-basis: 225px;
  }
  .ir-topbar .ir-topbar__nav.primary-nav {
    gap: 11px;
  }
  .ir-topbar .ir-topbar__nav.primary-nav a.ir-topbar__link {
    font-size: 13px;
    letter-spacing: .07em;
  }
  .ir-topbar .ir-topbar__nav.primary-nav .ir-topbar__expand {
    width: 12px;
    flex-basis: 12px;
  }
  .ir-topbar .ir-topbar__actions {
    gap: 8px;
  }
  .ir-topbar .ir-topbar__actions a.ir-topbar__login,
  .ir-topbar .ir-topbar__actions a.ir-topbar__home-cta {
    width: 100px;
    font-size: 12px;
  }
  .ir-topbar .ir-topbar__language summary {
    width: 64px;
    min-width: 64px;
  }
}
