/* ==========================================================================
   Home hero layouts (inc/hero.php)
   Every color and font comes from the brand tokens printed by inc/branding.php:
   --nx-teal (primary) --nx-navy (deepest) --nx-navy-2 (dark) --nx-gold (accent)
   --nx-tint (light) --nx-ink --nx-text --nx-mist --nx-font --nx-font-head
   Radius system: cards 20px, controls full pill.
   ========================================================================== */

.crh { position: relative; isolation: isolate; overflow: hidden; width: 100%; font-family: var(--nx-font); --crh-ease: cubic-bezier(.16, 1, .3, 1); --crh-pad: clamp(20px, 4vw, 64px); }
.crh *, .crh *::before, .crh *::after { box-sizing: border-box; }
.crh-inner { position: relative; z-index: 2; width: 100%; max-width: var(--nx-wrap-wide, 1440px); margin: 0 auto; padding: 0 var(--crh-pad); }
.crh-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 26px; min-width: 0; }

/* Headline with masked word reveal */
.crh-h1 { font-family: var(--nx-font-head); font-weight: 700; margin: 0; letter-spacing: -.028em; line-height: 1.06; text-wrap: balance; }
.crh-w, .crh-rot { display: inline-block; vertical-align: top; overflow: hidden; padding: .06em .02em .16em; margin: -.06em -.02em -.16em; }
.crh-w > span { display: inline-block; animation: crh-up 1s var(--crh-ease) both; animation-delay: calc(var(--i, 0) * 55ms + 120ms); }
.crh-rot { display: inline-grid; justify-items: start; transition: width .6s var(--crh-ease); }
.crh-rot__word { grid-area: 1 / 1; white-space: nowrap; transform: translateY(105%); opacity: 0; transition: transform .75s var(--crh-ease), opacity .35s ease; }
.crh-rot__word.is-on { transform: none; opacity: 1; animation: crh-up 1s var(--crh-ease) both; animation-delay: var(--rd, calc(var(--i, 0) * 55ms + 120ms)); }
.crh-rot__word.is-off { transform: translateY(-105%); opacity: 0; }

.crh-sub { margin: 0; max-width: 54ch; font-size: clamp(17px, 1.3vw, 20px); line-height: 1.55; animation: crh-fade .9s var(--crh-ease) .5s both; }

/* Announcement pill */
.crh-pill { display: inline-flex; align-items: center; gap: 10px; max-width: 100%; padding: 5px 14px 5px 5px; border-radius: 999px; font-size: 14px; font-weight: 500; line-height: 1.3; text-decoration: none; animation: crh-fade .8s var(--crh-ease) .05s both; transition: transform .3s var(--crh-ease), background .3s; }
.crh-pill strong { flex: none; padding: 4px 11px; border-radius: 999px; background: var(--nx-gold); color: var(--nx-on-accent, #1F2328); font-size: 12px; font-weight: 700; letter-spacing: .02em; }
.crh-pill span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.crh-pill .cre-icon { flex: none; width: 15px; height: 15px; transition: transform .3s var(--crh-ease); }
.crh-pill:hover .cre-icon { transform: translateX(3px); }

/* Search + buttons */
.crh-search { width: 100%; max-width: 820px; animation: crh-rise 1s var(--crh-ease) .62s both; }
.crh-ctas { display: flex; flex-wrap: wrap; gap: 12px; animation: crh-rise 1s var(--crh-ease) .62s both; }
.crh-btn { display: inline-flex; align-items: center; gap: 10px; height: 54px; padding: 0 28px; border-radius: 999px; border: 1px solid transparent; font-size: 16px; font-weight: 600; white-space: nowrap; text-decoration: none; transition: transform .3s var(--crh-ease), background .3s, border-color .3s, box-shadow .3s, color .3s; }
.crh-btn .cre-icon { width: 17px; height: 17px; transition: transform .3s var(--crh-ease); }
.crh-btn:hover { transform: translateY(-2px); }
.crh-btn:hover .cre-icon { transform: translateX(3px); }
.crh-btn:active { transform: translateY(1px) scale(.98); }
.crh-btn--p { background: var(--nx-teal); color: #fff; box-shadow: 0 12px 30px rgba(var(--nx-teal-rgb), .34); }
.crh-btn--p:hover { background: var(--nx-teal-dk, var(--nx-teal)); color: #fff; box-shadow: 0 18px 40px rgba(var(--nx-teal-rgb), .42); }
.crh-btn--g { background: rgba(var(--nx-teal-rgb), .14); border-color: var(--nx-teal); color: #fff; }
.crh-btn--g:hover { background: var(--nx-teal); color: #fff; }

/* ---------- 1. Cinematic ---------- */
.crh--cinematic { display: flex; flex-direction: column; justify-content: center; min-height: clamp(660px, calc(100dvh - var(--nx-header-h, 76px) - 38px), 960px); padding: 72px 0 120px; background: var(--nx-navy); color: #fff; }
.crh--cinematic.has-rail { padding-bottom: 236px; }
.crh-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.crh-bg__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform-origin: 62% 40%; animation: crh-kb 22s cubic-bezier(.2, .6, .2, 1) both; }
.crh-bg::after { content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(70% 90% at 0% 100%, rgba(var(--nx-teal-rgb), .38), transparent 62%),
    linear-gradient(96deg, rgba(var(--nx-navy-rgb), min(1, calc(var(--crh-ov, .7) + .2))) 0%, rgba(var(--nx-navy-rgb), var(--crh-ov, .7)) 46%, rgba(var(--nx-navy-rgb), max(.1, calc(var(--crh-ov, .7) - .38))) 100%),
    linear-gradient(0deg, rgba(var(--nx-navy-rgb), .92) 0%, rgba(var(--nx-navy-rgb), 0) 46%); }
.crh--cinematic .crh-copy { max-width: 1240px; }
.crh--cinematic .crh-h1 { font-size: clamp(40px, 5.2vw, 84px); color: #fff; }
.crh--cinematic .crh-w.is-em > span { color: var(--nx-gold); }
.crh--cinematic .crh-sub { color: var(--nx-mist); }
.crh--cinematic .crh-pill, .crh--mosaic .crh-pill { background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); color: #fff; -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.crh--cinematic .crh-pill:hover { background: rgba(255, 255, 255, .18); }
.crh--cinematic .cre-searchbar, .crh--mosaic .cre-searchbar { box-shadow: 0 28px 70px rgba(0, 0, 0, .38), 0 0 0 1px rgba(255, 255, 255, .08); }

.crh-rail { position: absolute; left: 0; right: 0; bottom: 92px; z-index: 2; overflow: hidden; padding: 6px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  animation: crh-fade 1.1s var(--crh-ease) .95s both; }
.crh-rail__track { display: flex; width: max-content; animation: crh-marq var(--crh-dur, 60s) linear infinite; }
.crh-rail__set { display: flex; gap: 14px; padding-right: 14px; }
.crh-rail:hover .crh-rail__track, .crh-rail:focus-within .crh-rail__track { animation-play-state: paused; }
.crh-li { display: flex; align-items: center; gap: 14px; width: 320px; padding: 10px 18px 10px 10px; border-radius: 18px; color: #fff; text-decoration: none;
  background: rgba(var(--nx-navy-rgb), .5); border: 1px solid rgba(255, 255, 255, .14); -webkit-backdrop-filter: blur(16px) saturate(1.3); backdrop-filter: blur(16px) saturate(1.3);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08); transition: transform .4s var(--crh-ease), background .3s, border-color .3s; }
.crh-li:hover, .crh-li:focus-visible { transform: translateY(-4px); background: rgba(var(--nx-teal-rgb), .42); border-color: rgba(var(--nx-teal-rgb), .95); }
.crh-li img { flex: none; width: 58px; height: 58px; border-radius: 12px; object-fit: cover; }
.crh-li__x { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.crh-li__t { font-size: 15px; font-weight: 600; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.crh-li__m { font-size: 13px; color: var(--nx-mist); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.crh-li__p { font-size: 13px; font-weight: 600; color: #fff; white-space: nowrap; font-variant-numeric: tabular-nums; }
.crh-li__p i, .crh-tile__p i { font-style: normal; opacity: .45; padding: 0 3px; }

/* ---------- 2. Showcase ---------- */
.crh--showcase { padding: 80px 0 148px; background: var(--nx-tint); color: var(--nx-ink); }
.crh--showcase::before { content: ""; position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(48% 62% at 80% 42%, rgba(var(--nx-teal-rgb), .24), transparent 70%), radial-gradient(34% 46% at 4% 104%, rgba(var(--nx-teal-rgb), .12), transparent 70%); }
.crh--showcase::after { content: ""; position: absolute; inset: 0; z-index: 0; background-image: radial-gradient(rgba(var(--nx-navy-rgb), .16) 1px, transparent 1.3px); background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(55% 70% at 78% 42%, #000, transparent 75%); mask-image: radial-gradient(55% 70% at 78% 42%, #000, transparent 75%); }
.crh-split { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .9fr); gap: clamp(40px, 5vw, 96px); align-items: center; }
.crh--showcase .crh-h1 { font-size: clamp(36px, 3.9vw, 62px); color: var(--nx-ink); text-wrap: pretty; }
.crh--showcase .crh-w.is-em > span { color: var(--nx-teal); }
.crh--showcase .crh-sub { color: var(--nx-text); }
.crh--showcase .crh-pill { background: #fff; border: 1px solid var(--nx-line); color: var(--nx-ink); box-shadow: 0 6px 18px rgba(var(--nx-navy-rgb), .06); }
.crh--showcase .crh-pill:hover { transform: translateY(-1px); }
.crh--showcase .cre-searchbar { box-shadow: 0 22px 54px rgba(var(--nx-navy-rgb), .14), 0 0 0 1px var(--nx-line); }
.crh--showcase .crh-btn--g { background: #fff; border-color: var(--nx-line); color: var(--nx-ink); }
.crh--showcase .crh-btn--g:hover { border-color: var(--nx-teal); color: var(--nx-teal); background: #fff; }

.crh-deck { position: relative; height: clamp(520px, 44vw, 620px); perspective: 1500px; animation: crh-rise 1.2s var(--crh-ease) .3s both; }
.crh-deck__stage { position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateX(calc(var(--ry, 0) * -7deg)) rotateY(calc(var(--rx, 0) * 9deg)); transition: transform .6s var(--crh-ease); }
.crh-dcard { position: absolute; top: 15%; left: 4%; width: min(410px, 76%); display: flex; flex-direction: column; border-radius: 20px; overflow: hidden; background: #fff; color: var(--nx-ink); text-decoration: none; opacity: 0; pointer-events: none;
  box-shadow: 0 34px 80px rgba(var(--nx-navy-rgb), .22), 0 2px 6px rgba(var(--nx-navy-rgb), .06); transform-origin: 50% 100%;
  transition: transform .8s var(--crh-ease), opacity .5s ease, box-shadow .5s ease; }
.crh-dcard[data-pos="0"] { z-index: 4; opacity: 1; pointer-events: auto; transform: translate3d(0, 0, 0) rotate(-2.5deg); }
.crh-dcard[data-pos="1"] { z-index: 3; opacity: 1; transform: translate3d(19%, -6%, -70px) rotate(4.5deg) scale(.92); }
.crh-dcard[data-pos="2"] { z-index: 2; opacity: .72; transform: translate3d(36%, -11%, -140px) rotate(10deg) scale(.84); }
.crh-dcard[data-pos="3"] { z-index: 1; opacity: 0; transform: translate3d(46%, -14%, -200px) rotate(14deg) scale(.78); }
.crh-dcard.is-out { z-index: 5; opacity: 0 !important; transform: translate3d(-62%, 10%, 40px) rotate(-15deg) !important; transition-duration: .55s; }
.crh-dcard[data-pos="0"]:hover { box-shadow: 0 44px 96px rgba(var(--nx-navy-rgb), .3), 0 0 0 2px var(--nx-teal); }
.crh-dcard__media { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--nx-navy-2); }
.crh-dcard__media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--crh-ease); }
.crh-dcard[data-pos="0"]:hover .crh-dcard__media img { transform: scale(1.05); }
.crh-dcard__body { display: flex; flex-direction: column; gap: 6px; padding: 18px 22px 22px; }
.crh-dcard__type { font-size: 12.5px; font-weight: 700; color: var(--nx-teal); }
.crh-dcard__title { font-family: var(--nx-font-head); font-size: 22px; font-weight: 700; line-height: 1.2; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.crh-dcard__loc { display: flex; align-items: center; gap: 6px; font-size: 14px; color: var(--nx-text); }
.crh-dcard__loc .cre-icon { width: 15px; height: 15px; color: var(--nx-teal); }
.crh-dcard__meta { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 10px; padding-top: 14px; border-top: 1px solid var(--nx-line); }
.crh-dcard__meta > span { display: flex; flex-direction: column; gap: 2px; }
.crh-dcard__meta small { font-size: 12px; color: var(--nx-text); }
.crh-dcard__meta b { font-size: 19px; font-weight: 700; color: var(--nx-ink); font-variant-numeric: tabular-nums; }
.crh-deck__nav { position: absolute; left: 8%; bottom: 0; z-index: 6; display: flex; gap: 8px; }
.crh-deck__nav button { width: 26px; height: 6px; padding: 0; border: 0; border-radius: 3px; background: rgba(var(--nx-navy-rgb), .18); cursor: pointer; transition: width .5s var(--crh-ease), background .3s; }
.crh-deck__nav button.is-on { width: 48px; background: var(--nx-teal); }
.crh-deck__nav button:focus-visible { outline: 2px solid var(--nx-teal); outline-offset: 3px; }

/* ---------- 3. Mosaic ---------- */
.crh--mosaic { padding: 84px 0 148px; background: var(--nx-navy); color: #fff; }
.crh--mosaic::before { content: ""; position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(44% 58% at 12% 18%, rgba(var(--nx-teal-rgb), .3), transparent 70%), radial-gradient(40% 52% at 98% 96%, color-mix(in srgb, var(--nx-gold) 20%, transparent), transparent 70%); }
.crh-split--mosaic { grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); }
.crh--mosaic .crh-h1 { font-size: clamp(36px, 4vw, 64px); color: #fff; text-wrap: pretty; }
.crh--mosaic .crh-w.is-em > span, .crh--mosaic .crh-rot { color: var(--nx-gold); }
.crh--mosaic .crh-sub { color: var(--nx-mist); }
.crh-chips { display: flex; flex-wrap: wrap; gap: 8px; animation: crh-fade .9s var(--crh-ease) .55s both; }
.crh-tchip { padding: 9px 17px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .04); color: #fff; font-size: 14px; font-weight: 500; text-decoration: none; transition: background .45s var(--crh-ease), border-color .45s, transform .3s var(--crh-ease), color .3s; }
.crh-tchip:hover { transform: translateY(-2px); border-color: rgba(255, 255, 255, .5); color: #fff; }
.crh-tchip.is-hot { background: var(--nx-teal); border-color: var(--nx-teal); color: #fff; }

.crh-mosaic { display: grid; grid-template-columns: 1.15fr 1fr 1fr; grid-template-rows: repeat(3, minmax(0, 1fr)); grid-template-areas: "a b b" "a c d" "e e d"; gap: 12px; height: clamp(500px, 44vw, 640px); }
.crh-tile { position: relative; display: block; overflow: hidden; border-radius: 20px; background: var(--nx-navy-2); color: #fff; text-decoration: none;
  transform: translate3d(calc(var(--px, 0) * var(--d, 10) * 1px), calc(var(--py, 0) * var(--d, 10) * 1px), 0); transition: transform 1s var(--crh-ease);
  animation: crh-clip 1.2s cubic-bezier(.77, 0, .18, 1) both; animation-delay: calc(var(--i, 0) * 120ms + 260ms); }
.crh-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); animation: crh-drift 18s ease-in-out infinite alternate; animation-delay: calc(var(--i, 0) * -4s); transition: filter .5s; }
.crh-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(var(--nx-navy-rgb), 0) 45%, rgba(var(--nx-navy-rgb), .9) 100%); opacity: .55; transition: opacity .5s var(--crh-ease); }
.crh-tile:hover::after, .crh-tile:focus-visible::after { opacity: 1; }
.crh-tile__cap { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; display: flex; flex-direction: column; gap: 2px; padding: 16px 18px; transform: translateY(14px); opacity: 0; transition: transform .5s var(--crh-ease), opacity .4s; }
.crh-tile__cap b { font-size: 16px; font-weight: 600; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.crh-tile__cap span { font-size: 13px; color: var(--nx-mist); }
.crh-tile__cap .crh-tile__p { color: #fff; font-weight: 600; font-variant-numeric: tabular-nums; }
.crh-tile:hover .crh-tile__cap, .crh-tile:focus-visible .crh-tile__cap { transform: none; opacity: 1; }
.crh-tile:focus-visible { outline: 2px solid var(--nx-gold); outline-offset: 3px; }
.crh-tile--count { display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; padding: 20px 22px; background: var(--nx-teal);
  background-image: radial-gradient(120% 140% at 100% 0%, rgba(255, 255, 255, .22), transparent 55%); }
.crh-tile--count::after { display: none; }
.crh-count { font-family: var(--nx-font-head); font-size: clamp(40px, 4.2vw, 64px); font-weight: 700; line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.crh-tile--count > span { font-size: 15px; color: rgba(255, 255, 255, .86); }
.crh-tile__go { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 10px; font-weight: 600; color: #fff !important; }
.crh-tile__go .cre-icon { width: 16px; height: 16px; transition: transform .35s var(--crh-ease); }
.crh-tile--count:hover .crh-tile__go .cre-icon { transform: translateX(4px); }

/* Stats band that overlaps the hero */
.crh-on .nx-stats--overlap { margin-top: -72px; }

/* Pause loops when the hero is off screen */
.crh.is-paused .crh-rail__track, .crh.is-paused .crh-tile img, .crh.is-paused .crh-bg__img { animation-play-state: paused; }

@keyframes crh-up { from { transform: translateY(108%); } to { transform: none; } }
@keyframes crh-fade { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes crh-rise { from { opacity: 0; transform: translateY(30px) scale(.985); } to { opacity: 1; transform: none; } }
@keyframes crh-kb { from { transform: scale(1.16) translate3d(1.2%, .8%, 0); } to { transform: scale(1.03); } }
@keyframes crh-marq { to { transform: translate3d(-50%, 0, 0); } }
@keyframes crh-clip { from { clip-path: inset(100% 0 0 0 round 20px); } to { clip-path: inset(0 0 0 0 round 20px); } }
@keyframes crh-drift { from { transform: scale(1.08) translate3d(0, 0, 0); } to { transform: scale(1.18) translate3d(-2%, -2%, 0); } }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .crh-split, .crh-split--mosaic { grid-template-columns: minmax(0, 1fr); }
  .crh-deck { height: 540px; max-width: 620px; width: 100%; }
  .crh-mosaic { height: 520px; }
}
@media (max-width: 767px) {
  .crh-copy { gap: 20px; }
  .crh--cinematic { min-height: 0; padding: 64px 0 110px; }
  .crh--cinematic.has-rail { padding-bottom: 214px; }
  .crh-rail { bottom: 86px; }
  .crh-li { width: 270px; }
  .crh--showcase, .crh--mosaic { padding: 56px 0 120px; }
  .crh-deck { height: 470px; }
  .crh-dcard { left: 2%; width: 80%; }
  .crh-dcard[data-pos="1"] { transform: translate3d(12%, -5%, -70px) rotate(4deg) scale(.92); }
  .crh-dcard[data-pos="2"] { transform: translate3d(22%, -9%, -140px) rotate(8deg) scale(.84); }
  .crh-deck__nav { left: 2%; }
  .crh-mosaic { height: auto; grid-template-columns: 1fr 1fr; grid-template-rows: repeat(3, 150px); grid-template-areas: "a b" "a c" "d e"; gap: 10px; }
  .crh-tile { transform: none; }
  .crh-tile__cap { opacity: 1; transform: none; padding: 12px; }
  .crh-tile__cap span:not(.crh-tile__p) { display: none; }
  .crh-tile::after { opacity: 1; }
  .crh-btn { height: 50px; padding: 0 22px; }
  .crh-pill span { white-space: normal; }
  .crh-on .nx-stats--overlap { margin-top: -60px; }
}
@media (hover: none) {
  .crh-tile__cap { opacity: 1; transform: none; }
  .crh-tile::after { opacity: 1; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .crh *, .crh *::before, .crh *::after { animation: none !important; transition-duration: .01ms !important; }
  .crh-rail { overflow-x: auto; -webkit-mask-image: none; mask-image: none; padding-left: var(--crh-pad); }
  .crh-rail__set[aria-hidden] { display: none; }
  .crh-tile, .crh-deck__stage { transform: none !important; }
}

/* Keep link text white against theme a:hover colors */
.crh-li, .crh-li:hover, .crh-li:focus, .crh-li:hover .crh-li__t, .crh-tile, .crh-tile:hover, .crh-tile:hover b, .crh-tchip:hover, .crh-dcard:hover .crh-dcard__title { color: inherit; }
.crh-li, .crh-li:hover, .crh-li:focus, .crh-tile, .crh-tile:hover, .crh-tile:focus, .crh-tchip, .crh-tchip:hover, .crh-tchip:focus { color: #fff; }
.crh-dcard, .crh-dcard:hover, .crh-dcard:focus { color: var(--nx-ink); }

/* Split layouts: give the keyword field the room */
@media (min-width: 768px) { .crh-split .cre-searchbar__field:not(.cre-searchbar__field--grow) { flex: 0 0 auto; width: 170px; } .crh-split .cre-searchbar__field--grow { flex: 1 1 auto; min-width: 0; } }

/* ==========================================================================
   Three Doors homepage (inc/home.php)
   ========================================================================== */

/* ---------- Doors hero ---------- */
.crh--doors { padding: 32px 0 72px; background: var(--nx-navy); color: #fff; }
.crh--doors::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(40% 50% at 8% 0%, rgba(var(--nx-teal-rgb), .28), transparent 70%), radial-gradient(36% 40% at 100% 100%, color-mix(in srgb, var(--nx-gold) 16%, transparent), transparent 70%); }
.crh-doors__head { margin-bottom: 24px; }
.crh--doors .crh-h1 { font-size: clamp(38px, 4.6vw, 70px); color: #fff; max-width: 1100px; }
.crh--doors .crh-w.is-em > span { color: var(--nx-gold); font-style: italic; font-weight: 400; }
.crh-doors { position: relative; z-index: 2; display: flex; gap: 12px; max-width: 1472px; margin: 0 auto; padding: 0 16px; height: clamp(440px, calc(100dvh - 320px), 640px); }
.crh-door { position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; border-radius: 26px; background: var(--nx-navy-2); color: #fff !important; text-decoration: none !important; isolation: isolate;
  transition: flex-grow .9s var(--crh-ease), box-shadow .5s ease; animation: crh-rise 1.1s var(--crh-ease) both; animation-delay: calc(var(--i, 0) * 120ms + 260ms); }
.crh-door.is-open { flex-grow: 2.5; box-shadow: 0 30px 80px rgba(0, 0, 0, .35); }
.crh-door img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; opacity: .55; transform: scale(1.08); transition: transform 1.8s var(--crh-ease), opacity .7s ease; }
.crh-door.is-open img { opacity: .78; transform: scale(1); }
.crh-door__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(var(--nx-navy-rgb), .1) 25%, rgba(var(--nx-navy-rgb), .92) 100%); }
.crh-door--brand { background: var(--nx-teal); }
.crh-door--brand .crh-door__shade { background: radial-gradient(120% 90% at 100% 0%, rgba(255, 255, 255, .2), transparent 55%), linear-gradient(180deg, transparent 40%, rgba(var(--nx-navy-rgb), .35)); }
.crh-door--brand img { opacity: .3; mix-blend-mode: luminosity; }
.crh-door__in { position: absolute; left: clamp(22px, 2.4vw, 36px); right: clamp(22px, 2.4vw, 36px); bottom: clamp(22px, 2.4vw, 36px); display: flex; flex-direction: column; gap: 16px; }
.crh-door__name { font-family: var(--nx-font-head); font-weight: 700; font-size: clamp(38px, 4.4vw, 68px); line-height: 1; letter-spacing: -.03em; white-space: nowrap; }
.crh-door__more { display: grid; grid-template-rows: 0fr; opacity: 0; transform: translateY(14px); transition: grid-template-rows .8s var(--crh-ease), opacity .5s ease, transform .7s var(--crh-ease); }
.crh-door.is-open .crh-door__more { grid-template-rows: 1fr; opacity: 1; transform: none; transition-delay: .15s; }
.crh-door__clip { overflow: hidden; display: flex; flex-direction: column; align-items: flex-start; gap: 18px; min-height: 0; }
.crh-door__text { max-width: 30em; font-size: clamp(16px, 1.25vw, 19px); line-height: 1.5; color: rgba(255, 255, 255, .88); }
.crh-door__btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; border-radius: 999px; background: var(--nx-gold); color: var(--nx-on-accent, #1F2328); font-size: 15px; font-weight: 600; white-space: nowrap; transition: transform .3s var(--crh-ease); }
.crh-door__btn .cre-icon { width: 17px; height: 17px; transition: transform .3s var(--crh-ease); }
.crh-door:hover .crh-door__btn .cre-icon, .crh-door:focus-visible .crh-door__btn .cre-icon { transform: translateX(4px); }
.crh-door--brand .crh-door__btn { background: #fff; color: var(--nx-teal); }
.crh-door:focus-visible { outline: 3px solid var(--nx-gold); outline-offset: 4px; }
.crh-on--doors .nx-stats--overlap { margin-top: 0; }

/* ---------- Shared section bits ---------- */
.crs { position: relative; width: 100%; font-family: var(--nx-font); --crh-ease: cubic-bezier(.16, 1, .3, 1); }
.crs *, .crs *::before, .crs *::after { box-sizing: border-box; }
.crs-wrap { width: 100%; max-width: var(--nx-wrap-wide, 1440px); margin: 0 auto; padding: 0 clamp(20px, 4vw, 64px); }
.crs-h2 { margin: 0; font-family: var(--nx-font-head); font-weight: 700; font-size: clamp(34px, 3.8vw, 56px); line-height: 1.08; letter-spacing: -.025em; text-wrap: balance; }
.crs-h2 em, .crs-close__text em { font-style: italic; font-weight: 400; color: var(--nx-gold); }
.crs-lead { margin: 0; max-width: 34em; font-size: clamp(16px, 1.25vw, 19px); line-height: 1.55; }
[data-crs-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s ease, transform 1s var(--crh-ease); transition-delay: calc(var(--i, 0) * 90ms); }
[data-crs-reveal].is-in, .no-js [data-crs-reveal] { opacity: 1; transform: none; }

/* ---------- Four moves ---------- */
.crs-flow { padding: clamp(80px, 9vw, 128px) 0; background: var(--nx-tint); color: var(--nx-ink); }
.crs-flow .crs-h2 em { color: var(--nx-teal); }
.crs-flow__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 5vw, 88px); align-items: start; }
.crs-flow__intro { position: sticky; top: calc(var(--cre-top, var(--nx-header-h, 76px)) + 40px); display: flex; flex-direction: column; gap: 20px; }
.crs-flow__intro .crs-lead { color: var(--nx-text); }
.crs-flow__steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; counter-reset: none; }
.crs-step { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 22px; align-items: start; padding: clamp(24px, 2.4vw, 34px); border-radius: 22px; background: #fff; box-shadow: 0 1px 0 var(--nx-line); transition: transform .5s var(--crh-ease), box-shadow .5s ease; }
.crs-step:hover { transform: translateX(6px); box-shadow: 0 18px 44px rgba(var(--nx-navy-rgb), .08); }
.crs-step__n { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--nx-blue-soft, #E7F1F2); color: var(--nx-teal-dk, var(--nx-teal)); font-family: var(--nx-font-head); font-size: 24px; font-weight: 700; }
.crs-step:nth-child(even) .crs-step__n { background: color-mix(in srgb, var(--nx-gold) 24%, #fff); color: color-mix(in srgb, var(--nx-gold) 50%, #1F2328); }
.crs-step__body { display: flex; flex-direction: column; gap: 8px; padding-top: 4px; }
.crs-step__body b { font-size: clamp(19px, 1.5vw, 22px); font-weight: 600; color: var(--nx-ink); }
.crs-step__body span { font-size: 16px; line-height: 1.55; color: var(--nx-text); }

/* ---------- Listing strip ---------- */
.crs-strip { padding: clamp(80px, 8vw, 112px) 0 clamp(56px, 6vw, 80px); background: var(--nx-navy); color: #fff; overflow: hidden; }
.crs-strip__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 32px; }
.crs-strip__tools { display: flex; align-items: center; gap: 10px; }
.crs-link { margin-right: 10px; font-weight: 600; color: var(--nx-gold) !important; text-decoration: none !important; }
.crs-link:hover { color: #fff !important; }
.crs-arrow { display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); background: transparent; color: #fff; cursor: pointer; transition: background .3s, border-color .3s, transform .3s var(--crh-ease); }
.crs-arrow:hover { background: var(--nx-teal); border-color: var(--nx-teal); }
.crs-arrow:active { transform: scale(.94); }
.crs-arrow:disabled { opacity: .35; cursor: default; background: transparent; border-color: rgba(255, 255, 255, .25); }
.crs-arrow .cre-icon { width: 20px; height: 20px; }
.crs-strip__track { list-style: none; margin: 0; display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; overscroll-behavior-x: contain;
  padding: 6px max(clamp(20px, 4vw, 64px), calc((100vw - var(--nx-wrap-wide, 1440px)) / 2 + clamp(20px, 4vw, 64px))) 24px; scrollbar-width: none; cursor: grab; }
.crs-strip__track::-webkit-scrollbar { display: none; }
.crs-strip__track.is-drag { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; }
.crs-strip__track > li { flex: 0 0 clamp(280px, 26vw, 360px); scroll-snap-align: start; }
.crs-card { display: flex; flex-direction: column; height: 100%; border-radius: 22px; overflow: hidden; background: var(--nx-navy-2); color: #fff !important; text-decoration: none !important; transition: transform .5s var(--crh-ease), box-shadow .5s ease; }
.crs-card:hover, .crs-card:focus-visible { transform: translateY(-6px); box-shadow: 0 26px 60px rgba(0, 0, 0, .4); }
.crs-card:focus-visible { outline: 2px solid var(--nx-gold); outline-offset: 3px; }
.crs-card img, .crs-card__type { display: block; width: 100%; aspect-ratio: 16 / 11; object-fit: cover; pointer-events: none; }
.crs-card__type { display: flex; align-items: flex-end; padding: 22px; background: var(--nx-navy-3, #35393E); font-family: var(--nx-font-head); font-size: clamp(26px, 2.4vw, 34px); line-height: 1.05; color: var(--nx-gold); }
.crs-card__body { display: flex; flex-direction: column; gap: 6px; padding: 20px 22px 24px; }
.crs-card__body b { font-size: 18px; font-weight: 600; line-height: 1.3; }
.crs-card__body > span { font-size: 14px; color: var(--nx-mist); }
.crs-card__body .crs-card__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; padding-top: 6px; font-size: 17px; font-weight: 700; color: #fff; font-variant-numeric: tabular-nums; }
.crs-card__price i { font-style: normal; font-size: 13px; font-weight: 600; color: var(--nx-gold); }

/* ---------- Closing band ---------- */
.crs-close { padding: clamp(40px, 5vw, 72px) 0 clamp(96px, 10vw, 140px); background: var(--nx-navy); color: #fff; }
.crs-close .crs-wrap { display: flex; flex-direction: column; gap: 36px; }
.crs-close__text { margin: 0; max-width: 18em; font-family: var(--nx-font-head); font-weight: 700; font-size: clamp(36px, 4.6vw, 68px); line-height: 1.1; letter-spacing: -.03em; }
.crs-close__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.crs-btn--accent { background: var(--nx-gold); color: var(--nx-on-accent, #1F2328) !important; }
.crs-btn--accent:hover { background: #fff; color: var(--nx-ink) !important; }
.crs-btn--line { border-color: rgba(255, 255, 255, .35); color: #fff !important; }
.crs-btn--line:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }

@media (max-width: 900px) {
  .crh-doors { flex-direction: column; height: auto; }
  .crh-door { flex: none; min-height: 340px; }
  .crh-door.is-open { flex-grow: 0; }
  .crh-door .crh-door__more { grid-template-rows: 1fr; opacity: 1; transform: none; }
  .crh-door img { opacity: .7; transform: none; }
  .crs-flow__grid { grid-template-columns: minmax(0, 1fr); }
  .crs-flow__intro { position: static; }
  .crs-step { grid-template-columns: 52px minmax(0, 1fr); gap: 16px; }
  .crs-step__n { width: 48px; height: 48px; font-size: 20px; }
  .crs-arrow { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .crh-door, .crh-door img, .crh-door__more, [data-crs-reveal], .crs-step, .crs-card { transition: none !important; animation: none !important; }
  [data-crs-reveal] { opacity: 1; transform: none; }
}

/* Dark sections: beat theme heading colors and list resets */
.crs-strip .crs-h2, .crs-close .crs-close__text, .crh--doors .crh-h1 { color: #fff !important; }
.crs-flow .crs-h2 { color: var(--nx-ink) !important; }
.crs-strip ul.crs-strip__track { margin: 0 !important; padding: 6px max(clamp(20px, 4vw, 64px), calc((100vw - var(--nx-wrap-wide, 1440px)) / 2 + clamp(20px, 4vw, 64px))) 24px !important; }
.crs-flow ol.crs-flow__steps { margin: 0 !important; padding: 0 !important; }
.crs-strip__track > li, .crs-flow__steps > li { margin: 0 !important; }
.crs-strip ul.crs-strip__track { scroll-padding-inline: max(clamp(20px, 4vw, 64px), calc((100vw - var(--nx-wrap-wide, 1440px)) / 2 + clamp(20px, 4vw, 64px))); }
.crs-strip + .crs-close, .crs-close { padding-top: 0; }
