/* ==========================================================================
   CRE Platform: site chrome (header + footer)
   Dark glass header with a gliding nav light, mega panels with a photo door,
   a scroll "threshold" line, full-screen mobile menu, footer doors and a
   spotlight wordmark. All colors come from Branding tokens.
   ========================================================================== */

@property --crc-a { syntax: '<angle>'; initial-value: 0deg; inherits: false; }

/* ---------- Topbar ---------- */
body .nx-topbar { background: var(--nx-navy); color: rgba(255, 255, 255, .62); font-size: 12.5px; letter-spacing: .02em; border-bottom: 1px solid rgba(255, 255, 255, .06); }
body .nx-topbar__inner { min-height: 36px; }
body .nx-topbar a { color: rgba(255, 255, 255, .72); transition: color .25s; }
body .nx-topbar a:hover { color: var(--nx-gold); }
body .nx-topbar .nx-hide-sm { display: inline-flex; align-items: center; gap: 10px; }
body .nx-topbar .nx-hide-sm::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--nx-gold); box-shadow: 0 0 0 0 color-mix(in srgb, var(--nx-gold) 70%, transparent); animation: crc-pulse 2.4s ease-out infinite; flex: none; }
@keyframes crc-pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--nx-gold) 60%, transparent); } 70%, 100% { box-shadow: 0 0 0 9px transparent; } }

/* ---------- Header shell ---------- */
body .nx-header {
  background: color-mix(in srgb, var(--nx-navy) 82%, transparent);
  -webkit-backdrop-filter: saturate(1.6) blur(18px); backdrop-filter: saturate(1.6) blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, .07);
  transition: background .45s ease, box-shadow .45s ease;
}
body .nx-header::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; pointer-events: none;
  background: linear-gradient(90deg, var(--nx-teal), var(--nx-gold));
  transform-origin: 0 50%; transform: scaleX(0);
}
@supports (animation-timeline: scroll()) {
  body .nx-header::after { animation: crc-progress linear both; animation-timeline: scroll(root block); }
}
@keyframes crc-progress { to { transform: scaleX(1); } }
body .nx-header.is-scrolled { background: color-mix(in srgb, var(--nx-navy) 95%, transparent); box-shadow: 0 20px 60px rgba(0, 0, 0, .32); }
body .nx-header__inner { transition: height .5s cubic-bezier(.16, 1, .3, 1); }

body .nx-header .nx-logo img { max-height: 40px; width: auto; transform-origin: 0 50%; transition: transform .5s cubic-bezier(.16, 1, .3, 1); }
body .nx-header.is-scrolled .nx-logo img { transform: scale(.88); }
body .nx-header .nx-logo:hover img { transform: scale(1.03); }

/* ---------- Nav with gliding light ---------- */
@media (min-width: 1025px) {
  body .nx-nav { position: relative; gap: 0; padding: 5px; border-radius: 999px; background: rgba(255, 255, 255, .035); border: 1px solid rgba(255, 255, 255, .08); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05); }
  body .nx-nav__item { position: static; }
  body .nx-nav__link { position: relative; z-index: 1; color: rgba(255, 255, 255, .78); border-radius: 999px; padding: 9px 17px; font-size: 14.5px; font-weight: 500; background: transparent !important; transition: color .3s; }
  body .nx-nav__link:hover, body .nx-nav__item:hover > .nx-nav__link, body .nx-nav__item:focus-within > .nx-nav__link, body .nx-nav__item.is-current > .nx-nav__link { color: #fff; }
  body .nx-nav__item--has-dd > .nx-nav__link::after { opacity: .45; transition: transform .35s cubic-bezier(.16, 1, .3, 1); }
  body .nx-nav__item--has-dd:hover > .nx-nav__link::after { transform: rotate(180deg); }
  .crc-glider { position: absolute; z-index: 0; top: 5px; left: 0; height: calc(100% - 10px); width: 0; border-radius: 999px; pointer-events: none; opacity: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .06)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 6px 20px rgba(0, 0, 0, .25);
    transition: transform .5s cubic-bezier(.16, 1, .3, 1), width .5s cubic-bezier(.16, 1, .3, 1), opacity .3s; }
  .crc-glider::after { content: ""; position: absolute; left: 50%; bottom: -7px; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: var(--nx-gold); box-shadow: 0 0 12px var(--nx-gold); }
  .crc-glider.is-on { opacity: 1; }

  /* Mega panel: centered under the nav */
  body .nx-dropdown {
    left: 50%; top: calc(100% + 16px); min-width: 0; width: min(780px, calc(100vw - 48px));
    display: grid; grid-template-columns: 290px minmax(0, 1fr); grid-auto-rows: min-content; column-gap: 10px; row-gap: 4px; align-content: start;
    padding: 10px; border-radius: 26px;
    background: linear-gradient(160deg, color-mix(in srgb, var(--nx-navy-2) 70%, var(--nx-navy)) 0%, var(--nx-navy) 70%);
    border: 1px solid rgba(255, 255, 255, .1); box-shadow: 0 40px 90px rgba(0, 0, 0, .5), inset 0 1px 0 rgba(255, 255, 255, .06);
    transform: translate(-50%, 12px) scale(.97); transform-origin: 50% 0;
    clip-path: inset(0 0 100% 0 round 26px);
    transition: opacity .3s ease, visibility .3s, transform .55s cubic-bezier(.16, 1, .3, 1), clip-path .55s cubic-bezier(.16, 1, .3, 1);
    counter-reset: crc-dd;
  }
  body .nx-dropdown::before { top: -18px; height: 18px; left: 0; right: 0; }
  body .nx-nav__item:hover > .nx-dropdown, body .nx-nav__item:focus-within > .nx-dropdown { transform: translate(-50%, 0) scale(1); clip-path: inset(0 0 0 0 round 26px); }
  body .nx-dropdown__link { grid-column: 2; position: relative; display: grid; grid-template-columns: 34px minmax(0, 1fr) 22px; align-items: start; column-gap: 12px; padding: 15px 16px; border-radius: 18px; counter-increment: crc-dd;
    opacity: 0; transform: translateY(8px); transition: background .3s, opacity .4s ease, transform .5s cubic-bezier(.16, 1, .3, 1); }
  body .nx-nav__item:hover .nx-dropdown__link, body .nx-nav__item:focus-within .nx-dropdown__link { opacity: 1; transform: none; }
  body .nx-dropdown__link:nth-of-type(2) { transition-delay: 0s, .05s, .05s; }
  body .nx-dropdown__link:nth-of-type(3) { transition-delay: 0s, .1s, .1s; }
  body .nx-dropdown__link:nth-of-type(4) { transition-delay: 0s, .15s, .15s; }
  body .nx-dropdown__link::before { content: counter(crc-dd, decimal-leading-zero); grid-row: 1 / span 2; font: 600 12px/1.6 var(--nx-font); letter-spacing: .08em; color: var(--nx-gold); padding-top: 3px; }
  body .nx-dropdown__link::after { content: ""; grid-column: 3; grid-row: 1; width: 18px; height: 18px; margin-top: 3px; opacity: 0; transform: translateX(-8px); transition: opacity .3s, transform .45s cubic-bezier(.16, 1, .3, 1);
    background: currentColor; color: #fff; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }
  body .nx-dropdown__link:hover { background: rgba(255, 255, 255, .06); }
  body .nx-dropdown__link:hover::after { opacity: 1; transform: none; }
  body .nx-dropdown__title { grid-column: 2; color: #fff; font-family: var(--nx-font-head); font-size: 16px; font-weight: 600; letter-spacing: -.01em; }
  body .nx-dropdown__desc { grid-column: 2; color: rgba(255, 255, 255, .58); font-size: 13.5px; line-height: 1.5; margin-top: 3px; }

  /* Photo door inside the panel (injected by chrome.js) */
  .crc-dd-door { grid-column: 1; grid-row: 1 / span 6; position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; min-height: 300px; padding: 22px; border-radius: 18px; color: #fff; text-decoration: none; isolation: isolate; }
  .crc-dd-door__img { position: absolute; inset: 0; z-index: -2; background: var(--crc-img) center / cover no-repeat; transform: scale(1.12); transition: transform 1.2s cubic-bezier(.16, 1, .3, 1); }
  .crc-dd-door::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(var(--nx-navy-rgb), .05) 0%, rgba(var(--nx-navy-rgb), .55) 45%, rgba(var(--nx-navy-rgb), .95) 100%), linear-gradient(135deg, rgba(var(--nx-teal-rgb), .45), transparent 60%); }
  .nx-nav__item:hover .crc-dd-door__img, .nx-nav__item:focus-within .crc-dd-door__img { transform: scale(1); }
  .crc-dd-door__k { font: 600 11px/1 var(--nx-font); letter-spacing: .16em; text-transform: uppercase; color: var(--nx-gold); margin-bottom: auto; }
  .crc-dd-door__name { font-family: var(--nx-font-head); font-size: 40px; font-weight: 700; line-height: .95; letter-spacing: -.035em; font-style: italic; }
  .crc-dd-door__text { margin-top: 10px; font-size: 13.5px; line-height: 1.5; color: rgba(255, 255, 255, .78); }
  .crc-dd-door__go { margin-top: 16px; display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; color: #fff; }
  .crc-dd-door__go svg { transition: transform .4s cubic-bezier(.16, 1, .3, 1); }
  .crc-dd-door:hover .crc-dd-door__go svg { transform: translateX(5px); }
}

/* ---------- Header buttons ---------- */
body .nx-header__cta { gap: 10px; }
body .nx-header__cta .nx-btn { border-radius: 999px; height: 44px; padding: 0 20px; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14.5px; transition: transform .35s cubic-bezier(.16, 1, .3, 1), background .3s, color .3s, border-color .3s; }
body .nx-header__cta .nx-btn:hover { transform: translateY(-1px); }
body .nx-header__cta .nx-btn--ghost { background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, .22); }
body .nx-header__cta .nx-btn--ghost:hover { background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .5); color: #fff; }
body .nx-header__cta .nx-btn--primary { position: relative; isolation: isolate; background: var(--nx-gold); color: var(--nx-on-accent, #1F2328); border: 0; box-shadow: 0 10px 30px color-mix(in srgb, var(--nx-gold) 32%, transparent); }
body .nx-header__cta .nx-btn--primary::before { content: ""; position: absolute; inset: -2px; z-index: -1; border-radius: inherit; padding: 2px;
  background: conic-gradient(from var(--crc-a), transparent 0 70%, #fff 82%, transparent 92%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  animation: crc-spin 4s linear infinite; opacity: .9; }
@keyframes crc-spin { to { --crc-a: 360deg; } }
body .nx-header__cta .nx-btn--primary:hover { background: #fff; color: var(--nx-ink); }
body .nx-burger { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .16); border-radius: 999px; }
body .nx-burger span { background: #fff; }

/* ---------- Mobile: full-screen menu ---------- */
@media (max-width: 1024px) {
  body .nx-header.crc-fixed { position: fixed; left: 0; right: 0; width: 100%; z-index: 9999; }
  body .nx-nav {
    position: fixed; top: var(--crc-hh, var(--nx-header-h)); left: 0; right: 0; bottom: 0; max-height: none; height: auto;
    display: flex; visibility: hidden; opacity: 0; pointer-events: none;
    padding: 18px 24px 40px; border: 0; box-shadow: none; overflow-y: auto; counter-reset: crc-m;
    background: radial-gradient(60% 40% at 100% 0%, rgba(var(--nx-teal-rgb), .35), transparent 70%), radial-gradient(50% 40% at 0% 100%, color-mix(in srgb, var(--nx-gold) 16%, transparent), transparent 70%), var(--nx-navy);
    clip-path: circle(0% at calc(100% - 46px) 0%);
    transition: clip-path .7s cubic-bezier(.7, 0, .2, 1), opacity .3s, visibility 0s .7s;
  }
  body .nx-header.is-open .nx-nav { visibility: visible; opacity: 1; pointer-events: auto; clip-path: circle(150% at calc(100% - 46px) 0%); transition: clip-path .8s cubic-bezier(.7, 0, .2, 1), opacity .2s, visibility 0s; }
  body .nx-nav__item { border-bottom: 1px solid rgba(255, 255, 255, .08); opacity: 0; transform: translateY(24px); transition: opacity .5s ease, transform .7s cubic-bezier(.16, 1, .3, 1); }
  body .nx-header.is-open .nx-nav__item { opacity: 1; transform: none; }
  body .nx-header.is-open .nx-nav__item:nth-child(1) { transition-delay: .18s; }
  body .nx-header.is-open .nx-nav__item:nth-child(2) { transition-delay: .23s; }
  body .nx-header.is-open .nx-nav__item:nth-child(3) { transition-delay: .28s; }
  body .nx-header.is-open .nx-nav__item:nth-child(4) { transition-delay: .33s; }
  body .nx-header.is-open .nx-nav__item:nth-child(5) { transition-delay: .38s; }
  body .nx-header.is-open .nx-nav__item:nth-child(6) { transition-delay: .43s; }
  body .nx-header.is-open .nx-nav__item:nth-child(7) { transition-delay: .48s; }
  body .nx-nav__item:not(.nx-nav__item--mobile) > .nx-nav__link { counter-increment: crc-m; display: flex; align-items: baseline; gap: 14px; color: #fff; padding: 18px 0; font-family: var(--nx-font-head); font-size: clamp(28px, 7.5vw, 44px); font-weight: 700; letter-spacing: -.035em; line-height: 1; background: transparent !important; }
  body .nx-nav__item:not(.nx-nav__item--mobile) > .nx-nav__link::before { content: counter(crc-m, decimal-leading-zero); font: 600 12px/1 var(--nx-font); letter-spacing: .1em; color: var(--nx-gold); transform: translateY(-1.1em); }
  body .nx-nav__item--has-dd > .nx-nav__link::after { margin-left: auto; opacity: .5; }
  body .nx-nav__item.is-open > .nx-nav__link { font-style: italic; color: var(--nx-gold); }
  body .nx-dropdown { background: transparent !important; border: 0; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; padding: 0 0 18px 40px; gap: 2px; }
  body .nx-dropdown__link { padding: 10px 0; border-radius: 0; }
  body .nx-dropdown__link:hover { background: transparent; }
  body .nx-dropdown__title { color: #fff; font-size: 17px; }
  body .nx-dropdown__desc { color: rgba(255, 255, 255, .55); }
  .crc-dd-door { display: none; }
  body .nx-nav .nx-nav__item--mobile { border-bottom: 0; padding-top: 28px; }
  body .nx-nav__item--mobile .nx-btn { height: 58px; justify-content: center; border-radius: 999px; background: var(--nx-gold); color: var(--nx-on-accent, #1F2328); border: 0; font-size: 16px; }
  .crc-glider { display: none; }
}

/* ==========================================================================
   Footer
   ========================================================================== */
body .nx-footer { position: relative; overflow: hidden; isolation: isolate; background: var(--nx-navy); color: rgba(255, 255, 255, .62); padding: clamp(64px, 7vw, 104px) clamp(20px, 3vw, 48px) 0; border-top: 1px solid rgba(255, 255, 255, .06); }
body .nx-footer::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(45% 35% at 85% 10%, rgba(var(--nx-teal-rgb), .2), transparent 70%), radial-gradient(35% 30% at 10% 70%, color-mix(in srgb, var(--nx-gold) 9%, transparent), transparent 70%); }
body .nx-footer::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px); background-size: 72px 72px;
  -webkit-mask: radial-gradient(70% 60% at 50% 40%, #000, transparent); mask: radial-gradient(70% 60% at 50% 40%, #000, transparent); }
body .nx-footer__inner { gap: clamp(56px, 6vw, 88px); }

/* Doors */
.crc-fdoors-wrap { display: flex; flex-direction: column; gap: 28px; }
.crc-fdoors__head { display: flex; align-items: center; gap: 28px; }
.crc-fdoors__title { margin: 0; font-family: var(--nx-font-head); font-size: clamp(34px, 4.4vw, 64px); font-weight: 700; line-height: 1; letter-spacing: -.04em; color: #fff; white-space: nowrap; }
.crc-fdoors__title em { font-style: italic; color: var(--nx-gold); font-weight: 600; }
.crc-fdoors__rule { flex: 1; height: 1px; background: linear-gradient(90deg, rgba(255, 255, 255, .25), transparent); transform-origin: 0 50%; transform: scaleX(0); transition: transform 1.4s cubic-bezier(.16, 1, .3, 1) .2s; }
.crc-fdoors-wrap.is-in .crc-fdoors__rule { transform: scaleX(1); }
.crc-fdoors { display: flex; gap: 12px; height: clamp(300px, 30vw, 400px); }
.crc-fdoor { position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; isolation: isolate; border-radius: 28px; color: #fff; text-decoration: none; display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(22px, 2.4vw, 34px);
  border: 1px solid rgba(255, 255, 255, .1); transition: flex-grow .9s cubic-bezier(.16, 1, .3, 1), border-color .4s, transform .9s cubic-bezier(.16, 1, .3, 1), opacity .9s ease;
  opacity: 0; transform: translateY(40px); }
.crc-fdoors-wrap.is-in .crc-fdoor { opacity: 1; transform: none; }
.crc-fdoors-wrap.is-in .crc-fdoor:nth-child(2) { transition-delay: 0s, 0s, .1s, .1s; }
.crc-fdoors-wrap.is-in .crc-fdoor:nth-child(3) { transition-delay: 0s, 0s, .2s, .2s; }
.crc-fdoor__bg { position: absolute; inset: 0; z-index: -2; background: var(--crc-img) center / cover no-repeat; transform: scale(1.15); filter: grayscale(.6) brightness(.7); transition: transform 1.4s cubic-bezier(.16, 1, .3, 1), filter .9s ease; }
.crc-fdoor::before { content: ""; position: absolute; inset: 0; z-index: -1; transition: opacity .9s ease;
  background: linear-gradient(180deg, rgba(var(--nx-navy-rgb), .2) 0%, rgba(var(--nx-navy-rgb), .92) 100%), linear-gradient(160deg, rgba(var(--nx-teal-rgb), .55), transparent 55%); }
.crc-fdoor__num { position: absolute; top: clamp(20px, 2.2vw, 30px); left: clamp(22px, 2.4vw, 34px); font: 600 13px/1 var(--nx-font); letter-spacing: .14em; color: var(--nx-gold); }
.crc-fdoor__go { position: absolute; top: clamp(16px, 1.8vw, 24px); right: clamp(16px, 1.8vw, 24px); width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; color: #fff; border: 1px solid rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .06); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  transform: rotate(-45deg); transition: transform .7s cubic-bezier(.16, 1, .3, 1), background .4s, color .4s, border-color .4s; }
.crc-fdoor__body { display: flex; flex-direction: column; gap: 12px; max-width: 460px; }
.crc-fdoor__name { font-family: var(--nx-font-head); font-size: clamp(38px, 4.6vw, 76px); font-weight: 700; line-height: .9; letter-spacing: -.045em; transition: transform .9s cubic-bezier(.16, 1, .3, 1); }
.crc-fdoor__text { font-size: 15px; line-height: 1.55; color: rgba(255, 255, 255, .8); max-height: 0; opacity: 0; overflow: hidden; transform: translateY(10px); transition: max-height .8s cubic-bezier(.16, 1, .3, 1), opacity .5s ease, transform .8s cubic-bezier(.16, 1, .3, 1); }
@media (hover: hover) and (min-width: 768px) {
  .crc-fdoors:hover .crc-fdoor { flex-grow: .8; }
  .crc-fdoors .crc-fdoor:hover, .crc-fdoors .crc-fdoor:focus-visible { flex-grow: 2.2; border-color: rgba(255, 255, 255, .25); }
  .crc-fdoor:hover .crc-fdoor__bg, .crc-fdoor:focus-visible .crc-fdoor__bg { transform: scale(1); filter: none; }
  .crc-fdoor:hover .crc-fdoor__name { font-style: italic; }
  .crc-fdoor:hover .crc-fdoor__text, .crc-fdoor:focus-visible .crc-fdoor__text { max-height: 120px; opacity: 1; transform: none; transition-delay: .15s; }
  .crc-fdoor:hover .crc-fdoor__go, .crc-fdoor:focus-visible .crc-fdoor__go { transform: none; background: var(--nx-gold); border-color: var(--nx-gold); color: var(--nx-on-accent, #1F2328); }
}
@media (max-width: 767px) {
  .crc-fdoors { flex-direction: column; height: auto; }
  .crc-fdoor { min-height: 190px; }
  .crc-fdoor__text { max-height: none; opacity: 1; transform: none; font-size: 14px; }
  .crc-fdoor__bg { filter: none; transform: none; }
  .crc-fdoors__title { white-space: normal; }
}
.crh-on--doors .crc-fdoors-wrap { display: none; }

/* Columns */
body .nx-footer__top { grid-template-columns: minmax(0, 1.7fr) repeat(4, minmax(0, 1fr)); gap: clamp(28px, 3vw, 56px); padding-top: clamp(8px, 1vw, 16px); }
body .nx-footer__brand { gap: 18px; }
body .nx-footer__brand .nx-logo img { max-height: 42px; width: auto; }
body .nx-footer__brand .nx-small { font-size: 15px; line-height: 1.65; color: rgba(255, 255, 255, .62); max-width: 36ch; }
body .nx-footer__brand a:not(.nx-logo) { position: relative; display: inline-block; align-self: flex-start; font-family: var(--nx-font-head); font-size: clamp(20px, 1.8vw, 26px); font-weight: 700; letter-spacing: -.02em; color: #fff; transition: color .3s; }
body .nx-footer__brand a:not(.nx-logo):hover { color: var(--nx-gold); }
body .nx-footer__heading { font: 600 11.5px/1 var(--nx-font) !important; letter-spacing: .16em !important; text-transform: uppercase; color: var(--nx-gold) !important; margin: 0 0 14px !important; }
body .nx-footer__col { gap: 13px; }
body .nx-footer__link { position: relative; align-self: flex-start; color: rgba(255, 255, 255, .74); font-size: 15px; transition: color .3s, transform .45s cubic-bezier(.16, 1, .3, 1); }
body .nx-footer__link::after { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 1px; background: var(--nx-gold); transform: scaleX(0); transform-origin: right; transition: transform .5s cubic-bezier(.16, 1, .3, 1); }
body .nx-footer__link:hover { color: #fff; transform: translateX(3px); }
body .nx-footer__link:hover::after { transform: scaleX(1); transform-origin: left; }
body .nx-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .1); color: rgba(255, 255, 255, .5); font-size: 13.5px; }
body .nx-footer__legal .nx-footer__link { font-size: 13.5px; color: rgba(255, 255, 255, .55); }
@media (max-width: 1180px) { body .nx-footer__top { grid-template-columns: repeat(4, minmax(0, 1fr)); } body .nx-footer__brand { grid-column: 1 / -1; } }
@media (max-width: 767px) { body .nx-footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Wordmark */
.crc-mark { position: relative; margin: clamp(-24px, -2vw, -8px) calc(-1 * clamp(20px, 3vw, 48px)) 0; padding: 0 clamp(20px, 3vw, 48px); }
.crc-mark__word { position: relative; overflow: hidden; font-family: var(--nx-font-head); font-weight: 800; font-size: var(--crc-fs, 15vw); line-height: .8; letter-spacing: -.055em; white-space: nowrap; padding-top: .06em; margin-bottom: -.1em; user-select: none; }
.crc-mark__word span span { display: inline-block; transform: translateY(105%); transition: transform 1.1s cubic-bezier(.16, 1, .3, 1); transition-delay: calc(var(--i) * 40ms); }
.crc-mark.is-in .crc-mark__word span span { transform: none; }
.crc-mark__base { display: inline-block; vertical-align: top; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .18); }
.crc-mark__lit { position: absolute; inset: 0; padding-top: inherit; display: block; color: transparent;
  background: linear-gradient(100deg, var(--nx-gold), color-mix(in srgb, var(--nx-gold) 40%, #fff), var(--nx-teal)); -webkit-background-clip: text; background-clip: text;
  -webkit-mask: radial-gradient(circle var(--crc-r, 0px) at var(--crc-x, 50%) var(--crc-y, 50%), #000 0%, rgba(0, 0, 0, .5) 45%, transparent 100%); mask: radial-gradient(circle var(--crc-r, 0px) at var(--crc-x, 50%) var(--crc-y, 50%), #000 0%, rgba(0, 0, 0, .5) 45%, transparent 100%);
  transition: --crc-r .5s; }
.crc-mark__lit span span { color: transparent; }
.crc-mark.is-idle .crc-mark__lit { animation: crc-sweep 9s ease-in-out infinite; --crc-r: 260px; }
@keyframes crc-sweep { 0%, 100% { --crc-x: 8%; } 50% { --crc-x: 92%; } }
@property --crc-x { syntax: '<length-percentage>'; initial-value: 50%; inherits: true; }
@property --crc-r { syntax: '<length>'; initial-value: 0px; inherits: true; }

/* Back to top */
.crc-top { position: absolute; z-index: 2; right: clamp(20px, 3vw, 48px); top: -18px; transform: translateY(-100%); width: 112px; height: 112px; border-radius: 50%; display: grid; place-items: center; color: #fff; text-decoration: none; }
.crc-top__ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: crc-rot 16s linear infinite; }
.crc-top__ring text { font: 600 9.5px var(--nx-font); letter-spacing: .28em; text-transform: uppercase; fill: rgba(255, 255, 255, .7); }
.crc-top__arrow { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .25); transition: background .4s, color .4s, transform .6s cubic-bezier(.16, 1, .3, 1), border-color .4s; }
.crc-top:hover .crc-top__arrow { background: var(--nx-gold); border-color: var(--nx-gold); color: var(--nx-on-accent, #1F2328); transform: translateY(-4px); }
.crc-top:hover .crc-top__ring { animation-duration: 5s; }
@keyframes crc-rot { to { transform: rotate(360deg); } }
@media (max-width: 767px) { .crc-top { width: 88px; height: 88px; } .crc-top__arrow { width: 42px; height: 42px; } }

@media (prefers-reduced-motion: reduce) {
  body .nx-header::after, .crc-top__ring, body .nx-header__cta .nx-btn--primary::before, body .nx-topbar .nx-hide-sm::before, .crc-mark.is-idle .crc-mark__lit { animation: none !important; }
  .crc-mark__word span span, .crc-fdoor, body .nx-nav__item, body .nx-dropdown__link { transform: none !important; opacity: 1 !important; transition: none !important; }
}

/* Back to top sits in the centre of the bottom bar */
body .nx-footer__bottom { align-items: center; }
body .nx-footer__bottom .crc-top { position: relative; top: auto; right: auto; transform: none; width: 96px; height: 96px; margin: -10px 0; flex: none; }
body .nx-footer__bottom .crc-top__arrow { width: 44px; height: 44px; }
@media (max-width: 767px) { body .nx-footer__bottom .crc-top { order: -1; align-self: center; margin: 0 auto 8px; } }

/* Door text stays white over photos; names scale to the door width */
body .nx-footer a.crc-fdoor, body .nx-footer a.crc-fdoor:hover, body .nx-footer a.crc-fdoor .crc-fdoor__name, body .nx-footer a.crc-fdoor .crc-fdoor__go { color: #fff !important; text-decoration: none !important; }
body .nx-footer a.crc-fdoor .crc-fdoor__text { color: rgba(255, 255, 255, .82) !important; }
body .nx-footer a.crc-fdoor:hover .crc-fdoor__go { color: var(--nx-on-accent, #1F2328) !important; }
.crc-fdoor { container-type: inline-size; }
.crc-fdoor__name { font-size: clamp(34px, 17cqi, 84px); text-shadow: 0 10px 40px rgba(0, 0, 0, .35); }
body .nx-header .crc-dd-door, body .nx-header .crc-dd-door * { text-decoration: none; }
body .nx-header .crc-dd-door__name, body .nx-header .crc-dd-door__go { color: #fff; }
body .nx-footer .crc-fdoors__title { color: #fff !important; }
body .nx-footer .crc-fdoors__title em { color: var(--nx-gold) !important; }
.crc-mark__word { line-height: .9; margin-bottom: -.14em; padding-top: .04em; }

/* Mobile header: solid (backdrop-filter would trap the fixed menu), compact actions */
@media (max-width: 1024px) {
  body .nx-header, body .nx-header.is-scrolled { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--nx-navy); }
  body .nx-header__cta .nx-btn--ghost { display: none !important; }
}
@media (max-width: 560px) {
  body .nx-header__cta .nx-btn--primary { display: none !important; }
  body .nx-header .nx-logo img { max-height: 34px; }
}
@media (max-width: 1024px) { body .nx-nav__item:not(.nx-nav__item--mobile) > .nx-nav__link { justify-content: flex-start; } }
html.crc-lock .cre-support-launcher, html.crc-lock [class*="support-launch"], html.crc-lock [class*="cre-help"] { opacity: 0; pointer-events: none; }
html.crc-lock [data-cre-support] { opacity: 0 !important; pointer-events: none !important; }
html.crc-lock .cre-sup-launch { opacity: 0 !important; pointer-events: none !important; }

/* Header keeps a fixed height when scrolled, so the page never shifts under it */
body .nx-header__inner { transition: none; }
